oidc-spa 8.6.12 → 8.6.14

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 (433) hide show
  1. package/core/createOidc.js +1 -1
  2. package/core/tokenExfiltrationDefense.js +4 -0
  3. package/core/tokenExfiltrationDefense.js.map +1 -1
  4. package/esm/angular.d.ts +4 -4
  5. package/esm/{angular.js → angular.mjs} +19 -14
  6. package/esm/angular.mjs.map +1 -0
  7. package/esm/backend.d.ts +1 -1
  8. package/esm/{backend.js → backend.mjs} +5 -5
  9. package/esm/backend.mjs.map +1 -0
  10. package/esm/core/{AuthResponse.js → AuthResponse.mjs} +2 -2
  11. package/esm/core/AuthResponse.mjs.map +1 -0
  12. package/esm/core/{BASE_URL.js → BASE_URL.mjs} +1 -1
  13. package/esm/core/BASE_URL.mjs.map +1 -0
  14. package/esm/core/Oidc.d.ts +1 -1
  15. package/esm/core/Oidc.mjs +2 -0
  16. package/esm/core/Oidc.mjs.map +1 -0
  17. package/esm/core/{OidcInitializationError.js → OidcInitializationError.mjs} +1 -1
  18. package/esm/core/OidcInitializationError.mjs.map +1 -0
  19. package/esm/core/OidcMetadata.d.ts +1 -1
  20. package/esm/core/{OidcMetadata.js → OidcMetadata.mjs} +3 -3
  21. package/esm/core/OidcMetadata.mjs.map +1 -0
  22. package/esm/core/{StateData.js → StateData.mjs} +4 -4
  23. package/esm/core/StateData.mjs.map +1 -0
  24. package/esm/core/{StateDataCookie.js → StateDataCookie.mjs} +3 -3
  25. package/esm/core/StateDataCookie.mjs.map +1 -0
  26. package/esm/core/{configId.js → configId.mjs} +1 -1
  27. package/esm/core/configId.mjs.map +1 -0
  28. package/esm/core/createOidc.d.ts +2 -2
  29. package/esm/core/{createOidc.js → createOidc.mjs} +46 -46
  30. package/esm/core/createOidc.mjs.map +1 -0
  31. package/esm/core/{desiredPostLoginRedirectUrl.js → desiredPostLoginRedirectUrl.mjs} +1 -1
  32. package/esm/core/desiredPostLoginRedirectUrl.mjs.map +1 -0
  33. package/esm/core/diagnostic.d.ts +1 -1
  34. package/esm/core/{diagnostic.js → diagnostic.mjs} +7 -7
  35. package/esm/core/diagnostic.mjs.map +1 -0
  36. package/esm/core/earlyInit.d.ts +3 -3
  37. package/esm/core/{earlyInit.js → earlyInit.mjs} +9 -9
  38. package/esm/core/earlyInit.mjs.map +1 -0
  39. package/esm/core/evtIsUserActive.d.ts +1 -1
  40. package/esm/core/{evtIsUserActive.js → evtIsUserActive.mjs} +5 -5
  41. package/esm/core/evtIsUserActive.mjs.map +1 -0
  42. package/esm/core/{homeAndRedirectUri.js → homeAndRedirectUri.mjs} +3 -3
  43. package/esm/core/homeAndRedirectUri.mjs.map +1 -0
  44. package/esm/core/index.d.ts +3 -3
  45. package/esm/core/index.mjs +3 -0
  46. package/esm/core/index.mjs.map +1 -0
  47. package/esm/core/instancesThatCantUseIframes.d.ts +1 -1
  48. package/esm/core/{instancesThatCantUseIframes.js → instancesThatCantUseIframes.mjs} +2 -2
  49. package/esm/core/instancesThatCantUseIframes.mjs.map +1 -0
  50. package/esm/core/isNewBrowserSession.d.ts +1 -1
  51. package/esm/core/{isNewBrowserSession.js → isNewBrowserSession.mjs} +1 -1
  52. package/esm/core/isNewBrowserSession.mjs.map +1 -0
  53. package/esm/core/loginOrGoToAuthServer.d.ts +2 -2
  54. package/esm/core/{loginOrGoToAuthServer.js → loginOrGoToAuthServer.mjs} +9 -9
  55. package/esm/core/loginOrGoToAuthServer.mjs.map +1 -0
  56. package/esm/core/{loginPropagationToOtherTabs.js → loginPropagationToOtherTabs.mjs} +3 -3
  57. package/esm/core/loginPropagationToOtherTabs.mjs.map +1 -0
  58. package/esm/core/loginSilent.d.ts +2 -2
  59. package/esm/core/{loginSilent.js → loginSilent.mjs} +11 -11
  60. package/esm/core/loginSilent.mjs.map +1 -0
  61. package/esm/core/{logoutPropagationToOtherTabs.js → logoutPropagationToOtherTabs.mjs} +3 -3
  62. package/esm/core/logoutPropagationToOtherTabs.mjs.map +1 -0
  63. package/esm/core/oidcClientTsUserToTokens.d.ts +2 -2
  64. package/esm/core/{oidcClientTsUserToTokens.js → oidcClientTsUserToTokens.mjs} +7 -7
  65. package/esm/core/oidcClientTsUserToTokens.mjs.map +1 -0
  66. package/esm/core/{ongoingLoginOrRefreshProcesses.js → ongoingLoginOrRefreshProcesses.mjs} +4 -4
  67. package/esm/core/ongoingLoginOrRefreshProcesses.mjs.map +1 -0
  68. package/esm/core/{persistedAuthState.js → persistedAuthState.mjs} +4 -4
  69. package/esm/core/persistedAuthState.mjs.map +1 -0
  70. package/esm/core/{prShouldLoadApp.js → prShouldLoadApp.mjs} +2 -2
  71. package/esm/core/prShouldLoadApp.mjs.map +1 -0
  72. package/esm/core/{tokenExfiltrationDefense.js → tokenExfiltrationDefense.mjs} +9 -5
  73. package/esm/core/tokenExfiltrationDefense.mjs.map +1 -0
  74. package/esm/core/{tokenExfiltrationDefense_legacy.js → tokenExfiltrationDefense_legacy.mjs} +2 -2
  75. package/esm/core/tokenExfiltrationDefense_legacy.mjs.map +1 -0
  76. package/esm/core/{tokenPlaceholderSubstitution.js → tokenPlaceholderSubstitution.mjs} +2 -2
  77. package/esm/core/tokenPlaceholderSubstitution.mjs.map +1 -0
  78. package/esm/entrypoint.d.ts +1 -1
  79. package/esm/entrypoint.mjs +2 -0
  80. package/esm/entrypoint.mjs.map +1 -0
  81. package/esm/index.d.ts +1 -1
  82. package/esm/index.mjs +2 -0
  83. package/esm/index.mjs.map +1 -0
  84. package/esm/keycloak/index.d.ts +3 -3
  85. package/esm/keycloak/index.mjs +3 -0
  86. package/esm/keycloak/index.mjs.map +1 -0
  87. package/esm/keycloak/{isKeycloak.js → isKeycloak.mjs} +1 -1
  88. package/esm/keycloak/isKeycloak.mjs.map +1 -0
  89. package/esm/keycloak/keycloak-js/Keycloak.d.ts +2 -2
  90. package/esm/keycloak/keycloak-js/{Keycloak.js → Keycloak.mjs} +20 -15
  91. package/esm/keycloak/keycloak-js/Keycloak.mjs.map +1 -0
  92. package/esm/keycloak/keycloak-js/index.d.ts +2 -2
  93. package/esm/keycloak/keycloak-js/index.mjs +2 -0
  94. package/esm/keycloak/keycloak-js/index.mjs.map +1 -0
  95. package/esm/keycloak/keycloak-js/types.mjs +2 -0
  96. package/esm/keycloak/keycloak-js/types.mjs.map +1 -0
  97. package/esm/keycloak/{keycloakIssuerUriParsed.js → keycloakIssuerUriParsed.mjs} +3 -3
  98. package/esm/keycloak/keycloakIssuerUriParsed.mjs.map +1 -0
  99. package/esm/keycloak/keycloakUtils.d.ts +1 -1
  100. package/esm/keycloak/{keycloakUtils.js → keycloakUtils.mjs} +4 -4
  101. package/esm/keycloak/keycloakUtils.mjs.map +1 -0
  102. package/esm/keycloak-js.d.ts +1 -1
  103. package/esm/keycloak-js.mjs +2 -0
  104. package/esm/keycloak-js.mjs.map +1 -0
  105. package/esm/mock/index.d.ts +1 -1
  106. package/esm/mock/index.mjs +2 -0
  107. package/esm/mock/index.mjs.map +1 -0
  108. package/esm/mock/oidc.d.ts +1 -1
  109. package/esm/mock/{oidc.js → oidc.mjs} +8 -8
  110. package/esm/mock/oidc.mjs.map +1 -0
  111. package/esm/mock/react.d.ts +8 -8
  112. package/esm/mock/{react.js → react.mjs} +3 -3
  113. package/esm/mock/react.mjs.map +1 -0
  114. package/esm/react/index.d.ts +1 -1
  115. package/esm/react/index.mjs +2 -0
  116. package/esm/react/index.mjs.map +1 -0
  117. package/esm/react/react.d.ts +2 -2
  118. package/esm/react/{react.js → react.mjs} +7 -7
  119. package/esm/react/react.mjs.map +1 -0
  120. package/esm/react-spa/apiBuilder.d.ts +3 -3
  121. package/esm/react-spa/{apiBuilder.js → apiBuilder.mjs} +2 -2
  122. package/esm/react-spa/apiBuilder.mjs.map +1 -0
  123. package/esm/react-spa/createOidcSpaApi.d.ts +3 -3
  124. package/esm/react-spa/{createOidcSpaApi.js → createOidcSpaApi.mjs} +12 -12
  125. package/esm/react-spa/createOidcSpaApi.mjs.map +1 -0
  126. package/esm/react-spa/index.d.ts +2 -2
  127. package/esm/react-spa/index.mjs +3 -0
  128. package/esm/react-spa/index.mjs.map +1 -0
  129. package/esm/react-spa/types.d.ts +2 -2
  130. package/esm/react-spa/types.mjs +2 -0
  131. package/esm/react-spa/types.mjs.map +1 -0
  132. package/esm/tanstack-start/react/accessTokenValidation_rfc9068.d.ts +3 -3
  133. package/esm/tanstack-start/react/{accessTokenValidation_rfc9068.js → accessTokenValidation_rfc9068.mjs} +4 -4
  134. package/esm/tanstack-start/react/accessTokenValidation_rfc9068.mjs.map +1 -0
  135. package/esm/tanstack-start/react/apiBuilder.d.ts +4 -4
  136. package/esm/tanstack-start/react/{apiBuilder.js → apiBuilder.mjs} +4 -4
  137. package/esm/tanstack-start/react/apiBuilder.mjs.map +1 -0
  138. package/esm/tanstack-start/react/createOidcSpaApi.d.ts +3 -3
  139. package/esm/tanstack-start/react/{createOidcSpaApi.js → createOidcSpaApi.mjs} +15 -15
  140. package/esm/tanstack-start/react/createOidcSpaApi.mjs.map +1 -0
  141. package/esm/tanstack-start/react/{disableSsrIfLoginEnforced.js → disableSsrIfLoginEnforced.mjs} +1 -1
  142. package/esm/tanstack-start/react/disableSsrIfLoginEnforced.mjs.map +1 -0
  143. package/esm/tanstack-start/react/index.d.ts +4 -4
  144. package/esm/tanstack-start/react/{index.js → index.mjs} +4 -4
  145. package/esm/tanstack-start/react/index.mjs.map +1 -0
  146. package/esm/tanstack-start/react/types.d.ts +4 -4
  147. package/esm/tanstack-start/react/types.mjs +2 -0
  148. package/esm/tanstack-start/react/types.mjs.map +1 -0
  149. package/esm/tanstack-start/react/{withOidcSpaServerEntry.js → withOidcSpaServerEntry.mjs} +2 -2
  150. package/esm/tanstack-start/react/withOidcSpaServerEntry.mjs.map +1 -0
  151. package/esm/tools/ConcreteClass.mjs +2 -0
  152. package/esm/tools/ConcreteClass.mjs.map +1 -0
  153. package/esm/tools/{Deferred.js → Deferred.mjs} +1 -1
  154. package/esm/tools/Deferred.mjs.map +1 -0
  155. package/esm/tools/{Evt.js → Evt.mjs} +2 -2
  156. package/esm/tools/Evt.mjs.map +1 -0
  157. package/esm/tools/GetterOrDirectValue.mjs +2 -0
  158. package/esm/tools/GetterOrDirectValue.mjs.map +1 -0
  159. package/esm/tools/{INFINITY_TIME.js → INFINITY_TIME.mjs} +1 -1
  160. package/esm/tools/INFINITY_TIME.mjs.map +1 -0
  161. package/esm/tools/MaybeAsync.mjs +2 -0
  162. package/esm/tools/MaybeAsync.mjs.map +1 -0
  163. package/esm/tools/ReadonlyBehaviorSubject.mjs +2 -0
  164. package/esm/tools/ReadonlyBehaviorSubject.mjs.map +1 -0
  165. package/esm/tools/{StatefulEvt.js → StatefulEvt.mjs} +1 -1
  166. package/esm/tools/StatefulEvt.mjs.map +1 -0
  167. package/esm/tools/ValueOrAsyncGetter.mjs +2 -0
  168. package/esm/tools/ValueOrAsyncGetter.mjs.map +1 -0
  169. package/esm/tools/ZodSchemaLike.mjs +2 -0
  170. package/esm/tools/ZodSchemaLike.mjs.map +1 -0
  171. package/esm/tools/{base64.js → base64.mjs} +1 -1
  172. package/esm/tools/base64.mjs.map +1 -0
  173. package/esm/tools/{createObjectThatThrowsIfAccessed.js → createObjectThatThrowsIfAccessed.mjs} +1 -1
  174. package/esm/tools/createObjectThatThrowsIfAccessed.mjs.map +1 -0
  175. package/esm/tools/{decodeJwt.js → decodeJwt.mjs} +1 -1
  176. package/esm/tools/decodeJwt.mjs.map +1 -0
  177. package/esm/tools/{ensureNonBlankPaint.js → ensureNonBlankPaint.mjs} +1 -1
  178. package/esm/tools/ensureNonBlankPaint.mjs.map +1 -0
  179. package/esm/tools/{generateUrlSafeRandom.js → generateUrlSafeRandom.mjs} +1 -1
  180. package/esm/tools/generateUrlSafeRandom.mjs.map +1 -0
  181. package/esm/tools/{getBaseHref.js → getBaseHref.mjs} +1 -1
  182. package/esm/tools/getBaseHref.mjs.map +1 -0
  183. package/esm/tools/{getDownlinkAndRtt.js → getDownlinkAndRtt.mjs} +2 -2
  184. package/esm/tools/getDownlinkAndRtt.mjs.map +1 -0
  185. package/esm/tools/{getIsOnline.js → getIsOnline.mjs} +2 -2
  186. package/esm/tools/getIsOnline.mjs.map +1 -0
  187. package/esm/tools/{getIsValidRemoteJson.js → getIsValidRemoteJson.mjs} +1 -1
  188. package/esm/tools/getIsValidRemoteJson.mjs.map +1 -0
  189. package/esm/tools/{getPrUserInteraction.js → getPrUserInteraction.mjs} +2 -2
  190. package/esm/tools/getPrUserInteraction.mjs.map +1 -0
  191. package/esm/tools/getThisCodebaseRootDirPath_esm.mjs +18 -0
  192. package/esm/tools/getThisCodebaseRootDirPath_esm.mjs.map +1 -0
  193. package/esm/tools/{getUserEnvironmentInfo.js → getUserEnvironmentInfo.mjs} +1 -1
  194. package/esm/tools/getUserEnvironmentInfo.mjs.map +1 -0
  195. package/esm/tools/{haveSharedParentDomain.js → haveSharedParentDomain.mjs} +1 -1
  196. package/esm/tools/haveSharedParentDomain.mjs.map +1 -0
  197. package/esm/tools/{isBrowser.js → isBrowser.mjs} +1 -1
  198. package/esm/tools/isBrowser.mjs.map +1 -0
  199. package/esm/tools/{isDev.js → isDev.mjs} +1 -1
  200. package/esm/tools/isDev.mjs.map +1 -0
  201. package/esm/tools/{isDomain.js → isDomain.mjs} +1 -1
  202. package/esm/tools/isDomain.mjs.map +1 -0
  203. package/esm/tools/{isHostnameAuthorized.js → isHostnameAuthorized.mjs} +3 -3
  204. package/esm/tools/isHostnameAuthorized.mjs.map +1 -0
  205. package/esm/tools/{isLikelyDevServer.js → isLikelyDevServer.mjs} +2 -2
  206. package/esm/tools/isLikelyDevServer.mjs.map +1 -0
  207. package/esm/tools/{lazySessionStorage.js → lazySessionStorage.mjs} +2 -2
  208. package/esm/tools/lazySessionStorage.mjs.map +1 -0
  209. package/esm/tools/{parseKeycloakIssuerUri.js → parseKeycloakIssuerUri.mjs} +2 -2
  210. package/esm/tools/parseKeycloakIssuerUri.mjs.map +1 -0
  211. package/esm/tools/{readExpirationTimeInJwt.js → readExpirationTimeInJwt.mjs} +4 -4
  212. package/esm/tools/readExpirationTimeInJwt.mjs.map +1 -0
  213. package/esm/tools/{startCountdown.js → startCountdown.mjs} +1 -1
  214. package/esm/tools/startCountdown.mjs.map +1 -0
  215. package/esm/tools/{subscribeToUserInteraction.js → subscribeToUserInteraction.mjs} +2 -2
  216. package/esm/tools/subscribeToUserInteraction.mjs.map +1 -0
  217. package/esm/tools/{toFullyQualifiedUrl.js → toFullyQualifiedUrl.mjs} +1 -1
  218. package/esm/tools/toFullyQualifiedUrl.mjs.map +1 -0
  219. package/esm/tools/{toHumanReadableDuration.js → toHumanReadableDuration.mjs} +1 -1
  220. package/esm/tools/toHumanReadableDuration.mjs.map +1 -0
  221. package/esm/tools/tsafe/Equals.d.ts +2 -2
  222. package/esm/tools/tsafe/{Equals.js → Equals.mjs} +1 -1
  223. package/esm/tools/tsafe/Equals.mjs.map +1 -0
  224. package/esm/tools/tsafe/Param0.d.ts +5 -2
  225. package/esm/tools/tsafe/Param0.mjs +2 -0
  226. package/esm/tools/tsafe/Param0.mjs.map +1 -0
  227. package/esm/tools/tsafe/Parameters.mjs +2 -0
  228. package/esm/tools/tsafe/Parameters.mjs.map +1 -0
  229. package/esm/tools/tsafe/{Reflect.js → Reflect.mjs} +1 -1
  230. package/esm/tools/tsafe/Reflect.mjs.map +1 -0
  231. package/esm/tools/tsafe/assert.d.ts +1 -1
  232. package/esm/tools/tsafe/{assert.js → assert.mjs} +1 -1
  233. package/esm/tools/tsafe/assert.mjs.map +1 -0
  234. package/esm/tools/tsafe/{id.js → id.mjs} +1 -1
  235. package/esm/tools/tsafe/id.mjs.map +1 -0
  236. package/esm/tools/tsafe/{isAmong.js → isAmong.mjs} +1 -1
  237. package/esm/tools/tsafe/isAmong.mjs.map +1 -0
  238. package/esm/tools/tsafe/{noUndefined.js → noUndefined.mjs} +1 -1
  239. package/esm/tools/tsafe/noUndefined.mjs.map +1 -0
  240. package/esm/tools/tsafe/tools/StrictEquals.mjs +2 -0
  241. package/esm/tools/tsafe/tools/StrictEquals.mjs.map +1 -0
  242. package/esm/tools/tsafe/tools/Unite.mjs +2 -0
  243. package/esm/tools/tsafe/tools/Unite.mjs.map +1 -0
  244. package/esm/tools/tsafe/{typeGuard.js → typeGuard.mjs} +1 -1
  245. package/esm/tools/tsafe/typeGuard.mjs.map +1 -0
  246. package/esm/tools/tsafe/{uncapitalize.js → uncapitalize.mjs} +1 -1
  247. package/esm/tools/tsafe/uncapitalize.mjs.map +1 -0
  248. package/esm/tools/{urlSearchParams.js → urlSearchParams.mjs} +1 -1
  249. package/esm/tools/urlSearchParams.mjs.map +1 -0
  250. package/esm/tools/{wildcardsMatch.js → wildcardsMatch.mjs} +1 -1
  251. package/esm/tools/wildcardsMatch.mjs.map +1 -0
  252. package/esm/vendor/build-runtime/babel.mjs +44590 -0
  253. package/esm/vendor/build-runtime/magic-string.mjs +1075 -0
  254. package/{vite-plugin → esm/vite-plugin}/handleClientEntrypoint.d.ts +2 -2
  255. package/{vite-plugin/handleClientEntrypoint.js → esm/vite-plugin/handleClientEntrypoint.mjs} +26 -62
  256. package/esm/vite-plugin/handleClientEntrypoint.mjs.map +1 -0
  257. package/{vite-plugin → esm/vite-plugin}/handleServerEntrypoint.d.ts +1 -1
  258. package/{vite-plugin/handleServerEntrypoint.js → esm/vite-plugin/handleServerEntrypoint.mjs} +13 -49
  259. package/esm/vite-plugin/handleServerEntrypoint.mjs.map +1 -0
  260. package/esm/vite-plugin/index.d.ts +1 -0
  261. package/esm/vite-plugin/index.mjs +2 -0
  262. package/esm/vite-plugin/index.mjs.map +1 -0
  263. package/{vite-plugin → esm/vite-plugin}/manageOptimizedDeps.d.ts +1 -1
  264. package/esm/vite-plugin/manageOptimizedDeps.mjs +52 -0
  265. package/esm/vite-plugin/manageOptimizedDeps.mjs.map +1 -0
  266. package/{vite-plugin/projectType.js → esm/vite-plugin/projectType.mjs} +2 -5
  267. package/esm/vite-plugin/projectType.mjs.map +1 -0
  268. package/{vite-plugin/transformTanstackRouterCreateFileRoute.js → esm/vite-plugin/transformTanstackRouterCreateFileRoute.mjs} +14 -17
  269. package/esm/vite-plugin/transformTanstackRouterCreateFileRoute.mjs.map +1 -0
  270. package/esm/vite-plugin/utils.mjs +50 -0
  271. package/esm/vite-plugin/utils.mjs.map +1 -0
  272. package/{vite-plugin → esm/vite-plugin}/vite-plugin.d.ts +1 -1
  273. package/{vite-plugin/vite-plugin.js → esm/vite-plugin/vite-plugin.mjs} +17 -20
  274. package/esm/vite-plugin/vite-plugin.mjs.map +1 -0
  275. package/package.json +48 -34
  276. package/src/core/tokenExfiltrationDefense.ts +5 -0
  277. package/src/tools/{getThisCodebaseRootDirPath_cjs.ts → getThisCodebaseRootDirPath_esm.ts} +3 -1
  278. package/src/vite-plugin/manageOptimizedDeps.ts +3 -1
  279. package/src/vite-plugin/utils.ts +2 -0
  280. package/esm/angular.js.map +0 -1
  281. package/esm/backend.js.map +0 -1
  282. package/esm/core/AuthResponse.js.map +0 -1
  283. package/esm/core/BASE_URL.js.map +0 -1
  284. package/esm/core/Oidc.js +0 -2
  285. package/esm/core/Oidc.js.map +0 -1
  286. package/esm/core/OidcInitializationError.js.map +0 -1
  287. package/esm/core/OidcMetadata.js.map +0 -1
  288. package/esm/core/StateData.js.map +0 -1
  289. package/esm/core/StateDataCookie.js.map +0 -1
  290. package/esm/core/configId.js.map +0 -1
  291. package/esm/core/createOidc.js.map +0 -1
  292. package/esm/core/desiredPostLoginRedirectUrl.js.map +0 -1
  293. package/esm/core/diagnostic.js.map +0 -1
  294. package/esm/core/earlyInit.js.map +0 -1
  295. package/esm/core/evtIsUserActive.js.map +0 -1
  296. package/esm/core/homeAndRedirectUri.js.map +0 -1
  297. package/esm/core/index.js +0 -3
  298. package/esm/core/index.js.map +0 -1
  299. package/esm/core/instancesThatCantUseIframes.js.map +0 -1
  300. package/esm/core/isNewBrowserSession.js.map +0 -1
  301. package/esm/core/loginOrGoToAuthServer.js.map +0 -1
  302. package/esm/core/loginPropagationToOtherTabs.js.map +0 -1
  303. package/esm/core/loginSilent.js.map +0 -1
  304. package/esm/core/logoutPropagationToOtherTabs.js.map +0 -1
  305. package/esm/core/oidcClientTsUserToTokens.js.map +0 -1
  306. package/esm/core/ongoingLoginOrRefreshProcesses.js.map +0 -1
  307. package/esm/core/persistedAuthState.js.map +0 -1
  308. package/esm/core/prShouldLoadApp.js.map +0 -1
  309. package/esm/core/tokenExfiltrationDefense.js.map +0 -1
  310. package/esm/core/tokenExfiltrationDefense_legacy.js.map +0 -1
  311. package/esm/core/tokenPlaceholderSubstitution.js.map +0 -1
  312. package/esm/entrypoint.js +0 -2
  313. package/esm/entrypoint.js.map +0 -1
  314. package/esm/index.js +0 -2
  315. package/esm/index.js.map +0 -1
  316. package/esm/keycloak/index.js +0 -3
  317. package/esm/keycloak/index.js.map +0 -1
  318. package/esm/keycloak/isKeycloak.js.map +0 -1
  319. package/esm/keycloak/keycloak-js/Keycloak.js.map +0 -1
  320. package/esm/keycloak/keycloak-js/index.js +0 -2
  321. package/esm/keycloak/keycloak-js/index.js.map +0 -1
  322. package/esm/keycloak/keycloak-js/types.js +0 -2
  323. package/esm/keycloak/keycloak-js/types.js.map +0 -1
  324. package/esm/keycloak/keycloakIssuerUriParsed.js.map +0 -1
  325. package/esm/keycloak/keycloakUtils.js.map +0 -1
  326. package/esm/keycloak-js.js +0 -2
  327. package/esm/keycloak-js.js.map +0 -1
  328. package/esm/mock/index.js +0 -2
  329. package/esm/mock/index.js.map +0 -1
  330. package/esm/mock/oidc.js.map +0 -1
  331. package/esm/mock/react.js.map +0 -1
  332. package/esm/react/index.js +0 -2
  333. package/esm/react/index.js.map +0 -1
  334. package/esm/react/react.js.map +0 -1
  335. package/esm/react-spa/apiBuilder.js.map +0 -1
  336. package/esm/react-spa/createOidcSpaApi.js.map +0 -1
  337. package/esm/react-spa/index.js +0 -3
  338. package/esm/react-spa/index.js.map +0 -1
  339. package/esm/react-spa/types.js +0 -2
  340. package/esm/react-spa/types.js.map +0 -1
  341. package/esm/tanstack-start/react/accessTokenValidation_rfc9068.js.map +0 -1
  342. package/esm/tanstack-start/react/apiBuilder.js.map +0 -1
  343. package/esm/tanstack-start/react/createOidcSpaApi.js.map +0 -1
  344. package/esm/tanstack-start/react/disableSsrIfLoginEnforced.js.map +0 -1
  345. package/esm/tanstack-start/react/index.js.map +0 -1
  346. package/esm/tanstack-start/react/types.js +0 -2
  347. package/esm/tanstack-start/react/types.js.map +0 -1
  348. package/esm/tanstack-start/react/withOidcSpaServerEntry.js.map +0 -1
  349. package/esm/tools/ConcreteClass.js +0 -2
  350. package/esm/tools/ConcreteClass.js.map +0 -1
  351. package/esm/tools/Deferred.js.map +0 -1
  352. package/esm/tools/Evt.js.map +0 -1
  353. package/esm/tools/GetterOrDirectValue.js +0 -2
  354. package/esm/tools/GetterOrDirectValue.js.map +0 -1
  355. package/esm/tools/INFINITY_TIME.js.map +0 -1
  356. package/esm/tools/MaybeAsync.js +0 -2
  357. package/esm/tools/MaybeAsync.js.map +0 -1
  358. package/esm/tools/ReadonlyBehaviorSubject.js +0 -2
  359. package/esm/tools/ReadonlyBehaviorSubject.js.map +0 -1
  360. package/esm/tools/StatefulEvt.js.map +0 -1
  361. package/esm/tools/ValueOrAsyncGetter.js +0 -2
  362. package/esm/tools/ValueOrAsyncGetter.js.map +0 -1
  363. package/esm/tools/ZodSchemaLike.js +0 -2
  364. package/esm/tools/ZodSchemaLike.js.map +0 -1
  365. package/esm/tools/base64.js.map +0 -1
  366. package/esm/tools/createObjectThatThrowsIfAccessed.js.map +0 -1
  367. package/esm/tools/decodeJwt.js.map +0 -1
  368. package/esm/tools/ensureNonBlankPaint.js.map +0 -1
  369. package/esm/tools/generateUrlSafeRandom.js.map +0 -1
  370. package/esm/tools/getBaseHref.js.map +0 -1
  371. package/esm/tools/getDownlinkAndRtt.js.map +0 -1
  372. package/esm/tools/getIsOnline.js.map +0 -1
  373. package/esm/tools/getIsValidRemoteJson.js.map +0 -1
  374. package/esm/tools/getPrUserInteraction.js.map +0 -1
  375. package/esm/tools/getUserEnvironmentInfo.js.map +0 -1
  376. package/esm/tools/haveSharedParentDomain.js.map +0 -1
  377. package/esm/tools/isBrowser.js.map +0 -1
  378. package/esm/tools/isDev.js.map +0 -1
  379. package/esm/tools/isDomain.js.map +0 -1
  380. package/esm/tools/isHostnameAuthorized.js.map +0 -1
  381. package/esm/tools/isLikelyDevServer.js.map +0 -1
  382. package/esm/tools/lazySessionStorage.js.map +0 -1
  383. package/esm/tools/parseKeycloakIssuerUri.js.map +0 -1
  384. package/esm/tools/readExpirationTimeInJwt.js.map +0 -1
  385. package/esm/tools/startCountdown.js.map +0 -1
  386. package/esm/tools/subscribeToUserInteraction.js.map +0 -1
  387. package/esm/tools/toFullyQualifiedUrl.js.map +0 -1
  388. package/esm/tools/toHumanReadableDuration.js.map +0 -1
  389. package/esm/tools/tsafe/Equals.js.map +0 -1
  390. package/esm/tools/tsafe/Param0.js +0 -2
  391. package/esm/tools/tsafe/Param0.js.map +0 -1
  392. package/esm/tools/tsafe/Parameters.js +0 -2
  393. package/esm/tools/tsafe/Parameters.js.map +0 -1
  394. package/esm/tools/tsafe/Reflect.js.map +0 -1
  395. package/esm/tools/tsafe/assert.js.map +0 -1
  396. package/esm/tools/tsafe/id.js.map +0 -1
  397. package/esm/tools/tsafe/isAmong.js.map +0 -1
  398. package/esm/tools/tsafe/noUndefined.js.map +0 -1
  399. package/esm/tools/tsafe/tools/StrictEquals.js +0 -2
  400. package/esm/tools/tsafe/tools/StrictEquals.js.map +0 -1
  401. package/esm/tools/tsafe/tools/Unite.js +0 -2
  402. package/esm/tools/tsafe/tools/Unite.js.map +0 -1
  403. package/esm/tools/tsafe/typeGuard.js.map +0 -1
  404. package/esm/tools/tsafe/uncapitalize.js.map +0 -1
  405. package/esm/tools/urlSearchParams.js.map +0 -1
  406. package/esm/tools/wildcardsMatch.js.map +0 -1
  407. package/tools/getThisCodebaseRootDirPath_cjs.js +0 -53
  408. package/tools/getThisCodebaseRootDirPath_cjs.js.map +0 -1
  409. package/vendor/build-runtime/babel.js +0 -3
  410. package/vendor/build-runtime/magic-string.js +0 -2
  411. package/vite-plugin/handleClientEntrypoint.js.map +0 -1
  412. package/vite-plugin/handleServerEntrypoint.js.map +0 -1
  413. package/vite-plugin/index.d.ts +0 -1
  414. package/vite-plugin/index.js +0 -6
  415. package/vite-plugin/index.js.map +0 -1
  416. package/vite-plugin/manageOptimizedDeps.js +0 -86
  417. package/vite-plugin/manageOptimizedDeps.js.map +0 -1
  418. package/vite-plugin/projectType.js.map +0 -1
  419. package/vite-plugin/transformTanstackRouterCreateFileRoute.js.map +0 -1
  420. package/vite-plugin/utils.js +0 -88
  421. package/vite-plugin/utils.js.map +0 -1
  422. package/vite-plugin/vite-plugin.js.map +0 -1
  423. /package/{tools/getThisCodebaseRootDirPath_cjs.d.ts → esm/tools/getThisCodebaseRootDirPath_esm.d.ts} +0 -0
  424. /package/esm/vendor/backend/{evt.js → evt.mjs} +0 -0
  425. /package/esm/vendor/backend/{jose.js → jose.mjs} +0 -0
  426. /package/esm/vendor/backend/{tsafe.js → tsafe.mjs} +0 -0
  427. /package/esm/vendor/backend/{zod.js → zod.mjs} +0 -0
  428. /package/{vendor → esm/vendor}/build-runtime/babel.d.ts +0 -0
  429. /package/{vendor → esm/vendor}/build-runtime/magic-string.d.ts +0 -0
  430. /package/esm/vendor/frontend/{oidc-client-ts.js → oidc-client-ts.mjs} +0 -0
  431. /package/{vite-plugin → esm/vite-plugin}/projectType.d.ts +0 -0
  432. /package/{vite-plugin → esm/vite-plugin}/transformTanstackRouterCreateFileRoute.d.ts +0 -0
  433. /package/{vite-plugin → esm/vite-plugin}/utils.d.ts +0 -0
@@ -1,3 +0,0 @@
1
- /*! For license information please see index.js.LICENSE.txt */
2
- (()=>{var e={1105:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),s=0;s<r.length;s++)"default"!==r[s]&&i(t,e,r[s]);return a(t,e),t}),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.babelTraverse=t.babelTypes=t.babelGenerate=t.babelParser=void 0,t.babelParser=s(r(3526));var l=o(r(1086));t.babelGenerate=l.default,t.babelTypes=s(r(7078));var u=o(r(5203));t.babelTraverse=u.default},9199:e=>{var t=process||{},r=t.argv||[],n=t.env||{},i=!(n.NO_COLOR||r.includes("--no-color"))&&(!!n.FORCE_COLOR||r.includes("--color")||"win32"===t.platform||(t.stdout||{}).isTTY&&"dumb"!==n.TERM||!!n.CI),a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return function(n){var i=""+n,a=i.indexOf(t,e.length);return~a?e+s(i,t,r,a)+t:e+i+t}},s=function(e,t,r,n){var i="",a=0;do{i+=e.substring(a,n)+r,a=n+t.length,n=e.indexOf(t,a)}while(~n);return i+e.substring(a)},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=e?a:function(){return String};return{isColorSupported:e,reset:t("",""),bold:t("","",""),dim:t("","",""),italic:t("",""),underline:t("",""),inverse:t("",""),hidden:t("",""),strikethrough:t("",""),black:t("",""),red:t("",""),green:t("",""),yellow:t("",""),blue:t("",""),magenta:t("",""),cyan:t("",""),white:t("",""),gray:t("",""),bgBlack:t("",""),bgRed:t("",""),bgGreen:t("",""),bgYellow:t("",""),bgBlue:t("",""),bgMagenta:t("",""),bgCyan:t("",""),bgWhite:t("",""),blackBright:t("",""),redBright:t("",""),greenBright:t("",""),yellowBright:t("",""),blueBright:t("",""),magentaBright:t("",""),cyanBright:t("",""),whiteBright:t("",""),bgBlackBright:t("",""),bgRedBright:t("",""),bgGreenBright:t("",""),bgYellowBright:t("",""),bgBlueBright:t("",""),bgMagentaBright:t("",""),bgCyanBright:t("",""),bgWhiteBright:t("","")}};e.exports=o(),e.exports.createColors=o},6656:function(e,t,r){var n,i;function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,o(n.key),n)}}function s(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:t+""}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}e=r.nmd(e),function(a,s){function o(e){return"default"in e.exports?e.exports.default:e.exports}"object"===c(t)?(s(e,r(3979),r(8491)),e.exports=o(e)):(n=[e,r(3979),r(8491)],i=function(e){s.apply(this,arguments),e.exports=o(e)}.apply(t,n),void 0===i||(e.exports=i))}(0,(function(e,t,r){"use strict";var n,i=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,h=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,f=function(e,t){return function(){return t||(0,e[p(e)[0]])((t={exports:{}}).exports,t),t.exports}},y=function(e,t,r,n){if(t&&"object"===c(t)||"function"==typeof t){var i,s=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw a}}}}(p(t));try{var l=function(){var s=i.value;d.call(e,s)||s===r||a(e,s,{get:function(){return t[s]},enumerable:!(n=o(t,s))||n.enumerable})};for(s.s();!(i=s.n()).done;)l()}catch(e){s.e(e)}finally{s.f()}}return e},m=function(e,t,r){return r=null!=e?i(h(e)):{},y(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)},v=f({"umd:@jridgewell/sourcemap-codec":function(e,r){r.exports=t}}),g=f({"umd:@jridgewell/trace-mapping":function(e,t){t.exports=r}}),T={};!function(e,t){for(var r in t)a(e,r,{get:t[r],enumerable:!0})}(T,{GenMapping:function(){return N},addMapping:function(){return _},addSegment:function(){return D},allMappings:function(){return K},fromMap:function(){return U},maybeAddMapping:function(){return M},maybeAddSegment:function(){return L},setIgnore:function(){return j},setSourceContent:function(){return F},toDecodedMap:function(){return B},toEncodedMap:function(){return R}}),e.exports=(n=T,y(a({},"__esModule",{value:!0}),n));var b=s((function e(){l(this,e),this._indexes={__proto__:null},this.array=[]}));function S(e,t){return e._indexes[t]}function x(e,t){var r=S(e,t);if(void 0!==r)return r;var n=e,i=n.array,a=n._indexes,s=i.push(t);return a[t]=s-1}var E=m(v()),P=m(g()),A=0,k=1,w=2,C=3,I=4,O=-1,N=s((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.file,n=t.sourceRoot;l(this,e),this._names=new b,this._sources=new b,this._sourcesContent=[],this._mappings=[],this.file=r,this.sourceRoot=n,this._ignoreList=new b}));function D(e,t,r,n,i,a,s,o){return V(!1,e,t,r,n,i,a,s,o)}function _(e,t){return Y(!1,e,t)}var L=function(e,t,r,n,i,a,s,o){return V(!0,e,t,r,n,i,a,s,o)},M=function(e,t){return Y(!0,e,t)};function F(e,t,r){var n=e,i=n._sources;n._sourcesContent[x(i,t)]=r}function j(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=e,i=n._sources,a=n._sourcesContent,s=n._ignoreList,o=x(i,t);o===a.length&&(a[o]=null),r?x(s,o):function(e,t){var r=S(e,t);if(void 0!==r){for(var n=e,i=n.array,a=n._indexes,s=r+1;s<i.length;s++){var o=i[s];i[s-1]=o,a[o]--}a[t]=void 0,i.pop()}}(s,o)}function B(e){var t=e,r=t._mappings,n=t._sources,i=t._sourcesContent,a=t._names,s=t._ignoreList;return function(e){for(var t=e.length,r=t,n=r-1;n>=0&&!(e[n].length>0);r=n,n--);r<t&&(e.length=r)}(r),{version:3,file:e.file||void 0,names:a.array,sourceRoot:e.sourceRoot||void 0,sources:n.array,sourcesContent:i,mappings:r,ignoreList:s.array}}function R(e){var t=B(e);return Object.assign({},t,{mappings:(0,E.encode)(t.mappings)})}function U(e){var t=new P.TraceMap(e),r=new N({file:t.file,sourceRoot:t.sourceRoot});return W(r._names,t.names),W(r._sources,t.sources),r._sourcesContent=t.sourcesContent||t.sources.map((function(){return null})),r._mappings=(0,P.decodedMappings)(t),t.ignoreList&&W(r._ignoreList,t.ignoreList),r}function K(e){for(var t=[],r=e,n=r._mappings,i=r._sources,a=r._names,s=0;s<n.length;s++)for(var o=n[s],l=0;l<o.length;l++){var u=o[l],c={line:s+1,column:u[A]},p=void 0,h=void 0,d=void 0;1!==u.length&&(p=i.array[u[k]],h={line:u[w]+1,column:u[C]},5===u.length&&(d=a.array[u[I]])),t.push({generated:c,source:p,original:h,name:d})}return t}function V(e,t,r,n,i,a,s,o,l){var u=t,c=u._mappings,p=u._sources,h=u._sourcesContent,d=u._names,f=function(e,t){for(var r=e.length;r<=t;r++)e[r]=[];return e[t]}(c,r),y=function(e,t){for(var r=e.length,n=r-1;n>=0&&!(t>=e[n][A]);r=n--);return r}(f,n);if(!i){if(e&&function(e,t){return 0===t||1===e[t-1].length}(f,y))return;return q(f,y,[n])}var m=x(p,i),v=o?x(d,o):O;if(m===h.length&&(h[m]=null!=l?l:null),!e||!function(e,t,r,n,i,a){if(0===t)return!1;var s=e[t-1];return 1!==s.length&&r===s[k]&&n===s[w]&&i===s[C]&&a===(5===s.length?s[I]:O)}(f,y,m,a,s,v))return q(f,y,o?[n,m,a,s,v]:[n,m,a,s])}function q(e,t,r){for(var n=e.length;n>t;n--)e[n]=e[n-1];e[t]=r}function W(e,t){for(var r=0;r<t.length;r++)x(e,t[r])}function Y(e,t,r){var n=r.generated,i=r.source,a=r.original,s=r.name,o=r.content;return i?V(e,t,n.line-1,n.column,i,a.line-1,a.column,s,o):V(e,t,n.line-1,n.column,null,null,null,null,null)}}))},3979:function(e,t,r){var n;function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,o(n.key),n)}}function s(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:t+""}function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw a}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}e=r.nmd(e),function(r,i){function a(e){return"default"in e.exports?e.exports.default:e.exports}"object"===c(t)?(i(e),e.exports=a(e)):(n=function(e){i.apply(this,arguments),e.exports=a(e)}.apply(t,[e]),void 0===n||(e.exports=n))}(0,(function(e){"use strict";var t,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,u={};!function(e,t){for(var n in t)r(e,n,{get:t[n],enumerable:!0})}(u,{decode:function(){return N},decodeGeneratedRanges:function(){return w},decodeOriginalScopes:function(){return P},encode:function(){return L},encodeGeneratedRanges:function(){return C},encodeOriginalScopes:function(){return A}}),e.exports=(t=u,function(e,t,i,s){if(t&&"object"===c(t)||"function"==typeof t){var u,p=l(a(t));try{var h=function(){var i=u.value;o.call(e,i)||undefined===i||r(e,i,{get:function(){return t[i]},enumerable:!(s=n(t,i))||s.enumerable})};for(p.s();!(u=p.n()).done;)h()}catch(e){p.e(e)}finally{p.f()}}return e}(r({},"__esModule",{value:!0}),t));for(var p=",".charCodeAt(0),h=";".charCodeAt(0),d=new Uint8Array(64),f=new Uint8Array(128),y=0;y<64;y++){var m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(y);d[y]=m,f[m]=y}function v(e,t){var r=0,n=0,i=0;do{var a=e.next();r|=(31&(i=f[a]))<<n,n+=5}while(32&i);var s=1&r;return r>>>=1,s&&(r=-2147483648|-r),t+r}function g(e,t,r){var n=t-r;n=n<0?-n<<1|1:n<<1;do{var i=31&n;(n>>>=5)>0&&(i|=32),e.write(d[i])}while(n>0);return t}function T(e,t){return!(e.pos>=t)&&e.peek()!==p}var b="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:function(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},S=function(){return s((function e(){i(this,e),this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}),[{key:"write",value:function(e){var t=this.buffer;t[this.pos++]=e,16384===this.pos&&(this.out+=b.decode(t),this.pos=0)}},{key:"flush",value:function(){var e=this.buffer,t=this.out,r=this.pos;return r>0?t+b.decode(e.subarray(0,r)):t}}])}(),x=function(){return s((function e(t){i(this,e),this.pos=0,this.buffer=t}),[{key:"next",value:function(){return this.buffer.charCodeAt(this.pos++)}},{key:"peek",value:function(){return this.buffer.charCodeAt(this.pos)}},{key:"indexOf",value:function(e){var t=this.buffer,r=this.pos,n=t.indexOf(e,r);return-1===n?t.length:n}}])}(),E=[];function P(e){for(var t=e.length,r=new x(e),n=[],i=[],a=0;r.pos<t;r.pos++){a=v(r,a);var s=v(r,0);if(T(r,t)){var o=v(r,0),l=1&v(r,0)?[a,s,0,0,o,v(r,0)]:[a,s,0,0,o],u=E;if(T(r,t)){u=[];do{var c=v(r,0);u.push(c)}while(T(r,t))}l.vars=u,n.push(l),i.push(l)}else{var p=i.pop();p[2]=a,p[3]=s}}return n}function A(e){for(var t=new S,r=0;r<e.length;)r=k(e,r,t,[0]);return t.flush()}function k(e,t,r,n){var i=e[t],a=i[0],s=i[1],o=i[2],u=i[3],c=i[4],h=i.vars;t>0&&r.write(p),n[0]=g(r,a,n[0]),g(r,s,0),g(r,c,0),g(r,6===i.length?1:0,0),6===i.length&&g(r,i[5],0);var d,f=l(h);try{for(f.s();!(d=f.n()).done;)g(r,d.value,0)}catch(e){f.e(e)}finally{f.f()}for(t++;t<e.length;){var y=e[t],m=y[0],v=y[1];if(m>o||m===o&&v>=u)break;t=k(e,t,r,n)}return r.write(p),n[0]=g(r,o,n[0]),g(r,u,0),t}function w(e){var t=e.length,r=new x(e),n=[],i=[],a=0,s=0,o=0,l=0,u=0,c=0,p=0,h=0;do{for(var d=r.indexOf(";"),f=0;r.pos<d;r.pos++)if(f=v(r,f),T(r,d)){var y=v(r,0),m=2&y,g=4&y,b=null,S=E,P=void 0;if(1&y){var A=v(r,s);o=v(r,s===A?o:0),s=A,P=[a,f,0,0,A,o]}else P=[a,f,0,0];if(P.isScope=!!g,m){var k=u,w=l===(l=v(r,l));b=[l,u=v(r,w?u:0),c=v(r,w&&k===u?c:0)]}if(P.callsite=b,T(r,d)){S=[];do{p=a,h=f;var C=v(r,0),I=void 0;if(C<-1){I=[[v(r,0)]];for(var O=-1;O>C;O--){var N=p;p=v(r,p),h=v(r,p===N?h:0);var D=v(r,0);I.push([D,p,h])}}else I=[[C]];S.push(I)}while(T(r,d))}P.bindings=S,n.push(P),i.push(P)}else{var _=i.pop();_[2]=a,_[3]=f}a++,r.pos=d+1}while(r.pos<t);return n}function C(e){if(0===e.length)return"";for(var t=new S,r=0;r<e.length;)r=I(e,r,t,[0,0,0,0,0,0,0]);return t.flush()}function I(e,t,r,n){var i=e[t],a=i[0],s=i[1],o=i[2],u=i[3],c=i.isScope,h=i.callsite,d=i.bindings;if(n[0]<a?(O(r,n[0],a),n[0]=a,n[1]=0):t>0&&r.write(p),n[1]=g(r,i[1],n[1]),g(r,(6===i.length?1:0)|(h?2:0)|(c?4:0),0),6===i.length){var f=i[4],y=i[5];f!==n[2]&&(n[3]=0),n[2]=g(r,f,n[2]),n[3]=g(r,y,n[3])}if(h){var m=i.callsite,v=m[0],T=m[1],b=m[2];v!==n[4]?(n[5]=0,n[6]=0):T!==n[5]&&(n[6]=0),n[4]=g(r,v,n[4]),n[5]=g(r,T,n[5]),n[6]=g(r,b,n[6])}if(d){var S,x=l(d);try{for(x.s();!(S=x.n()).done;){var E=S.value;E.length>1&&g(r,-E.length,0),g(r,E[0][0],0);for(var P=a,A=s,k=1;k<E.length;k++){var w=E[k];P=g(r,w[1],P),A=g(r,w[2],A),g(r,w[0],0)}}}catch(e){x.e(e)}finally{x.f()}}for(t++;t<e.length;){var C=e[t],N=C[0],D=C[1];if(N>o||N===o&&D>=u)break;t=I(e,t,r,n)}return n[0]<o?(O(r,n[0],o),n[0]=o,n[1]=0):r.write(p),n[1]=g(r,u,n[1]),t}function O(e,t,r){do{e.write(h)}while(++t<r)}function N(e){var t=e.length,r=new x(e),n=[],i=0,a=0,s=0,o=0,l=0;do{var u=r.indexOf(";"),c=[],p=!0,h=0;for(i=0;r.pos<u;){var d=void 0;(i=v(r,i))<h&&(p=!1),h=i,T(r,u)?(a=v(r,a),s=v(r,s),o=v(r,o),d=T(r,u)?[i,a,s,o,l=v(r,l)]:[i,a,s,o]):d=[i],c.push(d),r.pos++}p||D(c),n.push(c),r.pos=u+1}while(r.pos<=t);return n}function D(e){e.sort(_)}function _(e,t){return e[0]-t[0]}function L(e){for(var t=new S,r=0,n=0,i=0,a=0,s=0;s<e.length;s++){var o=e[s];if(s>0&&t.write(h),0!==o.length)for(var l=0,u=0;u<o.length;u++){var c=o[u];u>0&&t.write(p),l=g(t,c[0],l),1!==c.length&&(r=g(t,c[1],r),n=g(t,c[2],n),i=g(t,c[3],i),4!==c.length&&(a=g(t,c[4],a)))}}return t.flush()}}))},8491:function(e,t,r){var n,i,a,s;function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function l(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:t+""}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}s=function(e,t,r){"use strict";function n(e,t){return t&&!t.endsWith("/")&&(t+="/"),r(e,t)}var i=0,a=1,s=2,o=3,u=4;function c(e,t){for(var r=t;r<e.length;r++)if(!p(e[r]))return r;return e.length}function p(e){for(var t=1;t<e.length;t++)if(e[t][i]<e[t-1][i])return!1;return!0}function h(e,t){return t||(e=e.slice()),e.sort(d)}function d(e,t){return e[i]-t[i]}var f=!1;function y(e,t,r){for(var n=r+1;n<e.length&&e[n][i]===t;r=n++);return r}function m(e,t,r){for(var n=r-1;n>=0&&e[n][i]===t;r=n--);return r}function v(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function g(e,t,r,n){var a=r.lastKey,s=r.lastNeedle,o=r.lastIndex,l=0,u=e.length-1;if(n===a){if(t===s)return f=-1!==o&&e[o][i]===t,o;t>=s?l=-1===o?0:o:u=o}return r.lastKey=n,r.lastNeedle=t,r.lastIndex=function(e,t,r,n){for(;r<=n;){var a=r+(n-r>>1),s=e[a][i]-t;if(0===s)return f=!0,a;s<0?r=a+1:n=a-1}return f=!1,r-1}(e,t,l,u)}function T(e,t,r){for(var n=e.length;n>t;n--)e[n]=e[n-1];e[t]=r}function b(){return{__proto__:null}}function S(e){return"string"==typeof e?JSON.parse(e):e}function x(e,t,r,n,i,a,s,o,l,u,c){for(var p=e.sections,h=0;h<p.length;h++){var d=p[h],f=d.map,y=d.offset,m=u,v=c;if(h+1<p.length){var g=p[h+1].offset;(m=Math.min(u,o+g.line))===u?v=Math.min(c,l+g.column):m<u&&(v=l+g.column)}E(f,t,r,n,i,a,s,o+y.line,l+y.column,m,v)}}function E(e,t,r,n,l,c,p,h,d,f,y){var m=S(e);if("sections"in m)return x.apply(void 0,arguments);var v=new I(m,t),g=n.length,T=c.length,b=N(v),E=v.resolvedSources,k=v.sourcesContent,w=v.ignoreList;if(P(n,E),P(c,v.names),k)P(l,k);else for(var C=0;C<E.length;C++)l.push(null);if(w)for(var O=0;O<w.length;O++)p.push(w[O]+g);for(var D=0;D<b.length;D++){var _=h+D;if(_>f)return;for(var L=A(r,_),M=0===D?d:0,F=b[D],j=0;j<F.length;j++){var B=F[j],R=M+B[i];if(_===f&&R>=y)return;if(1!==B.length){var U=g+B[a],K=B[s],V=B[o];L.push(4===B.length?[R,U,K,V]:[R,U,K,V,T+B[u]])}else L.push([R])}}}function P(e,t){for(var r=0;r<t.length;r++)e.push(t[r])}function A(e,t){for(var r=e.length;r<=t;r++)e[r]=[];return e[t]}var k="`line` must be greater than 0 (lines start at line 1)",w="`column` must be greater than or equal to 0 (columns start at column 0)",C=-1,I=l((function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var i="string"==typeof t;if(!i&&t._decodedMemo)return t;var a=i?JSON.parse(t):t,s=a.version,o=a.file,l=a.names,u=a.sourceRoot,p=a.sources,d=a.sourcesContent;this.version=s,this.file=o,this.names=l||[],this.sourceRoot=u,this.sources=p,this.sourcesContent=d,this.ignoreList=a.ignoreList||a.x_google_ignoreList||void 0;var f=n(u||"",function(e){if(!e)return"";var t=e.lastIndexOf("/");return e.slice(0,t+1)}(r));this.resolvedSources=p.map((function(e){return n(e||"",f)}));var y=a.mappings;"string"==typeof y?(this._encoded=y,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){var r=c(e,0);if(r===e.length)return e;t||(e=e.slice());for(var n=r;n<e.length;n=c(e,n+1))e[n]=h(e[n],t);return e}(y,i)),this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}));function O(e){var r,n;return null!==(r=(n=e)._encoded)&&void 0!==r?r:n._encoded=t.encode(e._decoded)}function N(e){var r;return(r=e)._decoded||(r._decoded=t.decode(e._encoded))}function D(e,t){var r=e.sources,n=e.resolvedSources,i=r.indexOf(t);return-1===i&&(i=n.indexOf(t)),i}function _(e,t){var r=new I(L(e,[]),t);return r._decoded=e.mappings,r}function L(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function M(e,t,r,n){return{source:e,line:t,column:r,name:n}}function F(e,t){return{line:e,column:t}}function j(e,t,r,n,i){var a=g(e,n,t,r);return f?a=(i===C?y:m)(e,n,a):i===C&&a++,-1===a||a===e.length?-1:a}function B(e,t,r,n,l,u){var c;if(--r<0)throw new Error(k);if(n<0)throw new Error(w);var p=e.sources,h=e.resolvedSources,d=p.indexOf(t);if(-1===d&&(d=h.indexOf(t)),-1===d)return u?[]:F(null,null);var S=(c=e)._bySources||(c._bySources=function(e,t){for(var r=t.map(b),n=0;n<e.length;n++)for(var l=e[n],u=0;u<l.length;u++){var c=l[u];if(1!==c.length){var p=c[a],h=c[s],d=c[o],f=r[p],m=f[h]||(f[h]=[]),v=t[p],S=y(m,d,g(m,d,v,h));v.lastIndex=++S,T(m,S,[d,n,c[i]])}}return r}(N(e),e._bySourceMemos=p.map(v))),x=S[d][r];if(null==x)return u?[]:F(null,null);var E=e._bySourceMemos[d];if(u)return function(e,t,r,n,a){var s=j(e,t,r,n,1);if(f||a!==C||s++,-1===s||s===e.length)return[];var o=f?n:e[s][i];f||(s=m(e,o,s));for(var l=y(e,o,s),u=[];s<=l;s++){var c=e[s];u.push(F(c[1]+1,c[2]))}return u}(x,E,r,n,l);var P=j(x,E,r,n,l);if(-1===P)return F(null,null);var A=x[P];return F(A[1]+1,A[2])}e.AnyMap=function(e,t){var r=S(e);if(!("sections"in r))return new I(r,t);var n=[],i=[],a=[],s=[],o=[];return x(r,t,n,i,a,s,o,0,0,1/0,1/0),_({version:3,file:r.file,names:s,sources:i,sourcesContent:a,mappings:n,ignoreList:o})},e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=C,e.TraceMap=I,e.allGeneratedPositionsFor=function(e,t){return B(e,t.source,t.line,t.column,t.bias||C,!0)},e.decodedMap=function(e){return L(e,N(e))},e.decodedMappings=N,e.eachMapping=function(e,t){for(var r=N(e),n=e.names,i=e.resolvedSources,a=0;a<r.length;a++)for(var s=r[a],o=0;o<s.length;o++){var l=s[o],u=a+1,c=l[0],p=null,h=null,d=null,f=null;1!==l.length&&(p=i[l[1]],h=l[2]+1,d=l[3]),5===l.length&&(f=n[l[4]]),t({generatedLine:u,generatedColumn:c,source:p,originalLine:h,originalColumn:d,name:f})}},e.encodedMap=function(e){return L(e,O(e))},e.encodedMappings=O,e.generatedPositionFor=function(e,t){return B(e,t.source,t.line,t.column,t.bias||1,!1)},e.isIgnored=function(e,t){var r=e.ignoreList;if(null==r)return!1;var n=D(e,t);return-1!==n&&r.includes(n)},e.originalPositionFor=function(e,t){var r=t.line,n=t.column,i=t.bias;if(--r<0)throw new Error(k);if(n<0)throw new Error(w);var l=N(e);if(r>=l.length)return M(null,null,null,null);var c=l[r],p=j(c,e._decodedMemo,r,n,i||1);if(-1===p)return M(null,null,null,null);var h=c[p];if(1===h.length)return M(null,null,null,null);var d=e.names;return M(e.resolvedSources[h[a]],h[s]+1,h[o],5===h.length?d[h[u]]:null)},e.presortedDecodedMap=_,e.sourceContentFor=function(e,t){var r=e.sourcesContent;if(null==r)return null;var n=D(e,t);return-1===n?null:r[n]},e.traceSegment=function(e,t,r){var n=N(e);if(t>=n.length)return null;var i=n[t],a=j(i,e._decodedMemo,t,r,1);return-1===a?null:i[a]}},"object"===c(t)?s(t,r(4975),r(9334)):(i=[t,r(4975),r(9334)],void 0===(a="function"==typeof(n=s)?n.apply(t,i):n)||(e.exports=a))},4975:function(e,t){var r,n,i,a;function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e){var t=function(e){if("object"!=h(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==h(t)?t:t+""}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}a=function(e){"use strict";for(var t=",".charCodeAt(0),r=";".charCodeAt(0),n=new Uint8Array(64),i=new Uint8Array(128),a=0;a<64;a++){var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(a);n[a]=o,i[o]=a}function u(e,t){var r=0,n=0,a=0;do{var s=e.next();r|=(31&(a=i[s]))<<n,n+=5}while(32&a);var o=1&r;return r>>>=1,o&&(r=-2147483648|-r),t+r}function p(e,t,r){var i=t-r;i=i<0?-i<<1|1:i<<1;do{var a=31&i;(i>>>=5)>0&&(a|=32),e.write(n[a])}while(i>0);return t}function h(e,r){return!(e.pos>=r)&&e.peek()!==t}var d="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:function(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},f=function(){return c((function e(){l(this,e),this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}),[{key:"write",value:function(e){var t=this.buffer;t[this.pos++]=e,16384===this.pos&&(this.out+=d.decode(t),this.pos=0)}},{key:"flush",value:function(){var e=this.buffer,t=this.out,r=this.pos;return r>0?t+d.decode(e.subarray(0,r)):t}}])}(),y=function(){return c((function e(t){l(this,e),this.pos=0,this.buffer=t}),[{key:"next",value:function(){return this.buffer.charCodeAt(this.pos++)}},{key:"peek",value:function(){return this.buffer.charCodeAt(this.pos)}},{key:"indexOf",value:function(e){var t=this.buffer,r=this.pos,n=t.indexOf(e,r);return-1===n?t.length:n}}])}(),m=[];function v(e,r,n,i){var a=e[r],o=a[0],l=a[1],u=a[2],c=a[3],h=a[4],d=a.vars;r>0&&n.write(t),i[0]=p(n,o,i[0]),p(n,l,0),p(n,h,0),p(n,6===a.length?1:0,0),6===a.length&&p(n,a[5],0);var f,y=s(d);try{for(y.s();!(f=y.n()).done;)p(n,f.value,0)}catch(e){y.e(e)}finally{y.f()}for(r++;r<e.length;){var m=e[r],g=m[0],T=m[1];if(g>u||g===u&&T>=c)break;r=v(e,r,n,i)}return n.write(t),i[0]=p(n,u,i[0]),p(n,c,0),r}function g(e,r,n,i){var a=e[r],o=a[0],l=a[1],u=a[2],c=a[3],h=a.isScope,d=a.callsite,f=a.bindings;if(i[0]<o?(T(n,i[0],o),i[0]=o,i[1]=0):r>0&&n.write(t),i[1]=p(n,a[1],i[1]),p(n,(6===a.length?1:0)|(d?2:0)|(h?4:0),0),6===a.length){var y=a[4],m=a[5];y!==i[2]&&(i[3]=0),i[2]=p(n,y,i[2]),i[3]=p(n,m,i[3])}if(d){var v=a.callsite,b=v[0],S=v[1],x=v[2];b!==i[4]?(i[5]=0,i[6]=0):S!==i[5]&&(i[6]=0),i[4]=p(n,b,i[4]),i[5]=p(n,S,i[5]),i[6]=p(n,x,i[6])}if(f){var E,P=s(f);try{for(P.s();!(E=P.n()).done;){var A=E.value;A.length>1&&p(n,-A.length,0),p(n,A[0][0],0);for(var k=o,w=l,C=1;C<A.length;C++){var I=A[C];k=p(n,I[1],k),w=p(n,I[2],w),p(n,I[0],0)}}}catch(e){P.e(e)}finally{P.f()}}for(r++;r<e.length;){var O=e[r],N=O[0],D=O[1];if(N>u||N===u&&D>=c)break;r=g(e,r,n,i)}return i[0]<u?(T(n,i[0],u),i[0]=u,i[1]=0):n.write(t),i[1]=p(n,c,i[1]),r}function T(e,t,n){do{e.write(r)}while(++t<n)}function b(e){e.sort(S)}function S(e,t){return e[0]-t[0]}e.decode=function(e){var t=e.length,r=new y(e),n=[],i=0,a=0,s=0,o=0,l=0;do{var c=r.indexOf(";"),p=[],d=!0,f=0;for(i=0;r.pos<c;){var m=void 0;(i=u(r,i))<f&&(d=!1),f=i,h(r,c)?(a=u(r,a),s=u(r,s),o=u(r,o),m=h(r,c)?[i,a,s,o,l=u(r,l)]:[i,a,s,o]):m=[i],p.push(m),r.pos++}d||b(p),n.push(p),r.pos=c+1}while(r.pos<=t);return n},e.decodeGeneratedRanges=function(e){var t=e.length,r=new y(e),n=[],i=[],a=0,s=0,o=0,l=0,c=0,p=0,d=0,f=0;do{for(var v=r.indexOf(";"),g=0;r.pos<v;r.pos++)if(g=u(r,g),h(r,v)){var T=u(r,0),b=2&T,S=4&T,x=null,E=m,P=void 0;if(1&T){var A=u(r,s);o=u(r,s===A?o:0),s=A,P=[a,g,0,0,A,o]}else P=[a,g,0,0];if(P.isScope=!!S,b){var k=c,w=l===(l=u(r,l));x=[l,c=u(r,w?c:0),p=u(r,w&&k===c?p:0)]}if(P.callsite=x,h(r,v)){E=[];do{d=a,f=g;var C=u(r,0),I=void 0;if(C<-1){I=[[u(r,0)]];for(var O=-1;O>C;O--){var N=d;d=u(r,d),f=u(r,d===N?f:0);var D=u(r,0);I.push([D,d,f])}}else I=[[C]];E.push(I)}while(h(r,v))}P.bindings=E,n.push(P),i.push(P)}else{var _=i.pop();_[2]=a,_[3]=g}a++,r.pos=v+1}while(r.pos<t);return n},e.decodeOriginalScopes=function(e){for(var t=e.length,r=new y(e),n=[],i=[],a=0;r.pos<t;r.pos++){a=u(r,a);var s=u(r,0);if(h(r,t)){var o=u(r,0),l=1&u(r,0)?[a,s,0,0,o,u(r,0)]:[a,s,0,0,o],c=m;if(h(r,t)){c=[];do{var p=u(r,0);c.push(p)}while(h(r,t))}l.vars=c,n.push(l),i.push(l)}else{var d=i.pop();d[2]=a,d[3]=s}}return n},e.encode=function(e){for(var n=new f,i=0,a=0,s=0,o=0,l=0;l<e.length;l++){var u=e[l];if(l>0&&n.write(r),0!==u.length)for(var c=0,h=0;h<u.length;h++){var d=u[h];h>0&&n.write(t),c=p(n,d[0],c),1!==d.length&&(i=p(n,d[1],i),a=p(n,d[2],a),s=p(n,d[3],s),4!==d.length&&(o=p(n,d[4],o)))}}return n.flush()},e.encodeGeneratedRanges=function(e){if(0===e.length)return"";for(var t=new f,r=0;r<e.length;)r=g(e,r,t,[0,0,0,0,0,0,0]);return t.flush()},e.encodeOriginalScopes=function(e){for(var t=new f,r=0;r<e.length;)r=v(e,r,t,[0]);return t.flush()},Object.defineProperty(e,"__esModule",{value:!0})},"object"===h(t)?a(t):(n=[t],void 0===(i="function"==typeof(r=a)?r.apply(t,n):r)||(e.exports=i))},5114:function(e,t,r){var n,i;function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,o(n.key),n)}}function s(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}e=r.nmd(e),function(a,s){function o(e){return"default"in e.exports?e.exports.default:e.exports}"object"===u(t)?(s(e,r(9334),r(7052)),e.exports=o(e)):(n=[e,r(9334),r(7052)],i=function(e){s.apply(this,arguments),e.exports=o(e)}.apply(t,n),void 0===i||(e.exports=i))}(0,(function(e,t,r){"use strict";var n,i=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,p=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,d=function(e,t){return function(){return t||(0,e[c(e)[0]])((t={exports:{}}).exports,t),t.exports}},f=function(e,t,r,n){if(t&&"object"===u(t)||"function"==typeof t){var i,s=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw a}}}}(c(t));try{var p=function(){var s=i.value;h.call(e,s)||s===r||a(e,s,{get:function(){return t[s]},enumerable:!(n=o(t,s))||n.enumerable})};for(s.s();!(i=s.n()).done;)p()}catch(e){s.e(e)}finally{s.f()}}return e},y=function(e,t,r){return r=null!=e?i(p(e)):{},f(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)},m=d({"umd:@jridgewell/sourcemap-codec":function(e,t){t.exports=r}}),v=d({"umd:@jridgewell/resolve-uri":function(e,r){r.exports=t}}),g={};!function(e,t){for(var r in t)a(e,r,{get:t[r],enumerable:!0})}(g,{AnyMap:function(){return j},FlattenMap:function(){return j},GREATEST_LOWER_BOUND:function(){return Y},LEAST_UPPER_BOUND:function(){return W},TraceMap:function(){return J},allGeneratedPositionsFor:function(){return Q},decodedMap:function(){return ie},decodedMappings:function(){return H},eachMapping:function(){return Z},encodedMap:function(){return ae},encodedMappings:function(){return X},generatedPositionFor:function(){return $},isIgnored:function(){return re},originalPositionFor:function(){return G},presortedDecodedMap:function(){return ne},sourceContentFor:function(){return te},traceSegment:function(){return z}}),e.exports=(n=g,f(a({},"__esModule",{value:!0}),n));var T=y(m()),b=y(v()),S=0,x=1,E=2,P=3,A=4,k=1,w=2;function C(e,t){for(var r=t;r<e.length;r++)if(!I(e[r]))return r;return e.length}function I(e){for(var t=1;t<e.length;t++)if(e[t][S]<e[t-1][S])return!1;return!0}function O(e,t){return t||(e=e.slice()),e.sort(N)}function N(e,t){return e[S]-t[S]}var D=!1;function _(e,t,r){for(var n=r+1;n<e.length&&e[n][S]===t;r=n++);return r}function L(e,t,r){for(var n=r-1;n>=0&&e[n][S]===t;r=n--);return r}function M(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function F(e){return"string"==typeof e?JSON.parse(e):e}var j=function(e,t){var r=F(e);if(!("sections"in r))return new J(r,t);var n=[],i=[],a=[],s=[],o=[];return B(r,t,n,i,a,s,o,0,0,1/0,1/0),ne({version:3,file:r.file,names:s,sources:i,sourcesContent:a,mappings:n,ignoreList:o})};function B(e,t,r,n,i,a,s,o,l,u,c){for(var p=e.sections,h=0;h<p.length;h++){var d=p[h],f=d.map,y=d.offset,m=u,v=c;if(h+1<p.length){var g=p[h+1].offset;(m=Math.min(u,o+g.line))===u?v=Math.min(c,l+g.column):m<u&&(v=l+g.column)}R(f,t,r,n,i,a,s,o+y.line,l+y.column,m,v)}}function R(e,t,r,n,i,a,s,o,l,u,c){var p=F(e);if("sections"in p)return B.apply(void 0,arguments);var h=new J(p,t),d=n.length,f=a.length,y=H(h),m=h.resolvedSources,v=h.sourcesContent,g=h.ignoreList;if(U(n,m),U(a,h.names),v)U(i,v);else for(var T=0;T<m.length;T++)i.push(null);if(g)for(var b=0;b<g.length;b++)s.push(g[b]+d);for(var k=0;k<y.length;k++){var w=o+k;if(w>u)return;for(var C=K(r,w),I=0===k?l:0,O=y[k],N=0;N<O.length;N++){var D=O[N],_=I+D[S];if(w===u&&_>=c)return;if(1!==D.length){var L=d+D[x],M=D[E],j=D[P];C.push(4===D.length?[_,L,M,j]:[_,L,M,j,f+D[A]])}else C.push([_])}}}function U(e,t){for(var r=0;r<t.length;r++)e.push(t[r])}function K(e,t){for(var r=e.length;r<=t;r++)e[r]=[];return e[t]}var V="`line` must be greater than 0 (lines start at line 1)",q="`column` must be greater than or equal to 0 (columns start at column 0)",W=-1,Y=1,J=s((function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n="string"==typeof t;if(!n&&t._decodedMemo)return t;var i=F(t),a=i.version,s=i.file,o=i.names,l=i.sourceRoot,u=i.sources,c=i.sourcesContent;this.version=a,this.file=s,this.names=o||[],this.sourceRoot=l,this.sources=u,this.sourcesContent=c,this.ignoreList=i.ignoreList||i.x_google_ignoreList||void 0;var p=function(e,t){var r=function(e){if(!e)return"";var t=e.lastIndexOf("/");return e.slice(0,t+1)}(e),n=t?t+"/":"";return function(e){return(0,b.default)(n+(e||""),r)}}(r,l);this.resolvedSources=u.map(p);var h=i.mappings;if("string"==typeof h)this._encoded=h,this._decoded=void 0;else{if(!Array.isArray(h))throw i.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error("invalid source map: ".concat(JSON.stringify(i)));this._encoded=void 0,this._decoded=function(e,t){var r=C(e,0);if(r===e.length)return e;t||(e=e.slice());for(var n=r;n<e.length;n=C(e,n+1))e[n]=O(e[n],t);return e}(h,n)}this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}));function X(e){var t,r;return null!=(r=(t=e)._encoded)?r:t._encoded=(0,T.encode)(e._decoded)}function H(e){var t;return(t=e)._decoded||(t._decoded=(0,T.decode)(e._encoded))}function z(e,t,r){var n=H(e);if(t>=n.length)return null;var i=n[t],a=ue(i,e._decodedMemo,t,r,Y);return-1===a?null:i[a]}function G(e,t){var r=t.line,n=t.column,i=t.bias;if(--r<0)throw new Error(V);if(n<0)throw new Error(q);var a=H(e);if(r>=a.length)return oe(null,null,null,null);var s=a[r],o=ue(s,e._decodedMemo,r,n,i||Y);if(-1===o)return oe(null,null,null,null);var l=s[o];if(1===l.length)return oe(null,null,null,null);var u=e.names;return oe(e.resolvedSources[l[x]],l[E]+1,l[P],5===l.length?u[l[A]]:null)}function $(e,t){return ce(e,t.source,t.line,t.column,t.bias||Y,!1)}function Q(e,t){return ce(e,t.source,t.line,t.column,t.bias||W,!0)}function Z(e,t){for(var r=H(e),n=e.names,i=e.resolvedSources,a=0;a<r.length;a++)for(var s=r[a],o=0;o<s.length;o++){var l=s[o],u=a+1,c=l[0],p=null,h=null,d=null,f=null;1!==l.length&&(p=i[l[1]],h=l[2]+1,d=l[3]),5===l.length&&(f=n[l[4]]),t({generatedLine:u,generatedColumn:c,source:p,originalLine:h,originalColumn:d,name:f})}}function ee(e,t){var r=e.sources,n=e.resolvedSources,i=r.indexOf(t);return-1===i&&(i=n.indexOf(t)),i}function te(e,t){var r=e.sourcesContent;if(null==r)return null;var n=ee(e,t);return-1===n?null:r[n]}function re(e,t){var r=e.ignoreList;if(null==r)return!1;var n=ee(e,t);return-1!==n&&r.includes(n)}function ne(e,t){var r=new J(se(e,[]),t);return r._decoded=e.mappings,r}function ie(e){return se(e,H(e))}function ae(e){return se(e,X(e))}function se(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function oe(e,t,r,n){return{source:e,line:t,column:r,name:n}}function le(e,t){return{line:e,column:t}}function ue(e,t,r,n,i){var a=function(e,t,r,n){var i=r.lastKey,a=r.lastNeedle,s=r.lastIndex,o=0,l=e.length-1;if(n===i){if(t===a)return D=-1!==s&&e[s][S]===t,s;t>=a?o=-1===s?0:s:l=s}return r.lastKey=n,r.lastNeedle=t,r.lastIndex=function(e,t,r,n){for(;r<=n;){var i=r+(n-r>>1),a=e[i][S]-t;if(0===a)return D=!0,i;a<0?r=i+1:n=i-1}return D=!1,r-1}(e,t,o,l)}(e,n,t,r);return D?a=(i===W?_:L)(e,n,a):i===W&&a++,-1===a||a===e.length?-1:a}function ce(e,t,r,n,i,a){var s,o;if(--r<0)throw new Error(V);if(n<0)throw new Error(q);var l=e.sources,u=e.resolvedSources,c=l.indexOf(t);if(-1===c&&(c=u.indexOf(t)),-1===c)return a?[]:le(null,null);var p=(s=e)._bySourceMemos||(s._bySourceMemos=l.map(M)),h=(o=e)._bySources||(o._bySources=function(e,t){for(var r=t.map((function(){return[]})),n=0;n<e.length;n++)for(var i=e[n],a=0;a<i.length;a++){var s=i[a];if(1!==s.length){var o=s[x],l=s[E],u=s[P],c=r[o];(c[l]||(c[l]=[])).push([u,n,s[S]])}}for(var p=0;p<r.length;p++)for(var h=r[p],d=0;d<h.length;d++){var f=h[d];f&&f.sort(N)}return r}(H(e),p)),d=h[c][r];if(null==d)return a?[]:le(null,null);var f=p[c];if(a)return function(e,t,r,n,i){var a=ue(e,t,r,n,Y);if(D||i!==W||a++,-1===a||a===e.length)return[];var s=D?n:e[a][S];D||(a=L(e,s,a));for(var o=_(e,s,a),l=[];a<=o;a++){var u=e[a];l.push(le(u[k]+1,u[w]))}return l}(d,f,r,n,i);var y=ue(d,f,r,n,i);if(-1===y)return le(null,null);var m=d[y];return le(m[k]+1,m[w])}}))},9334:function(e,t,r){var n,i,a;function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}a=function(){"use strict";var e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function n(e){return e.startsWith("/")}function i(e){return/^[.?#]/.test(e)}function a(e){var r=t.exec(e);return s(r[1],r[2]||"",r[3],r[4]||"",r[5]||"/",r[6]||"",r[7]||"")}function s(e,t,r,n,i,a,s){return{scheme:e,user:t,host:r,port:n,path:i,query:a,hash:s,type:7}}function o(t){if(function(e){return e.startsWith("//")}(t)){var i=a("http:"+t);return i.scheme="",i.type=6,i}if(n(t)){var o=a("http://foo.com"+t);return o.scheme="",o.host="",o.type=5,o}if(function(e){return e.startsWith("file:")}(t))return function(e){var t=r.exec(e),i=t[2];return s("file:","",t[1]||"","",n(i)?i:"/"+i,t[3]||"",t[4]||"")}(t);if(function(t){return e.test(t)}(t))return a(t);var l=a("http://foo.com/"+t);return l.scheme="",l.host="",l.type=t?t.startsWith("?")?3:t.startsWith("#")?2:4:1,l}function l(e,t){for(var r=t<=4,n=e.path.split("/"),i=1,a=0,s=!1,o=1;o<n.length;o++){var l=n[o];l?(s=!1,"."!==l&&(".."!==l?(n[i++]=l,a++):a?(s=!0,a--,i--):r&&(n[i++]=l))):s=!0}for(var u="",c=1;c<i;c++)u+="/"+n[c];(!u||s&&!u.endsWith("/.."))&&(u+="/"),e.path=u}return function(e,t){if(!e&&!t)return"";var r=o(e),n=r.type;if(t&&7!==n){var a=o(t),s=a.type;switch(n){case 1:r.hash=a.hash;case 2:r.query=a.query;case 3:case 4:!function(e,t){l(t,t.type),"/"===e.path?e.path=t.path:e.path=function(e){if(e.endsWith("/.."))return e;var t=e.lastIndexOf("/");return e.slice(0,t+1)}(t.path)+e.path}(r,a);case 5:r.user=a.user,r.host=a.host,r.port=a.port;case 6:r.scheme=a.scheme}s>n&&(n=s)}l(r,n);var u=r.query+r.hash;switch(n){case 2:case 3:return u;case 4:var c=r.path.slice(1);return c?i(t||e)&&!i(c)?"./"+c+u:c+u:u||".";case 5:return r.path+u;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+u}}},"object"===s(t)?e.exports=a():void 0===(i="function"==typeof(n=a)?n.call(t,r,t,e):n)||(e.exports=i)},7052:function(e,t){var r,n,i,a;function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e){var t=function(e){if("object"!=h(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==h(t)?t:t+""}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}a=function(e){"use strict";for(var t=",".charCodeAt(0),r=";".charCodeAt(0),n=new Uint8Array(64),i=new Uint8Array(128),a=0;a<64;a++){var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(a);n[a]=o,i[o]=a}function u(e,t){var r=0,n=0,a=0;do{var s=e.next();r|=(31&(a=i[s]))<<n,n+=5}while(32&a);var o=1&r;return r>>>=1,o&&(r=-2147483648|-r),t+r}function p(e,t,r){var i=t-r;i=i<0?-i<<1|1:i<<1;do{var a=31&i;(i>>>=5)>0&&(a|=32),e.write(n[a])}while(i>0);return t}function h(e,r){return!(e.pos>=r)&&e.peek()!==t}var d="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:function(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},f=function(){return c((function e(){l(this,e),this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}),[{key:"write",value:function(e){var t=this.buffer;t[this.pos++]=e,16384===this.pos&&(this.out+=d.decode(t),this.pos=0)}},{key:"flush",value:function(){var e=this.buffer,t=this.out,r=this.pos;return r>0?t+d.decode(e.subarray(0,r)):t}}])}(),y=function(){return c((function e(t){l(this,e),this.pos=0,this.buffer=t}),[{key:"next",value:function(){return this.buffer.charCodeAt(this.pos++)}},{key:"peek",value:function(){return this.buffer.charCodeAt(this.pos)}},{key:"indexOf",value:function(e){var t=this.buffer,r=this.pos,n=t.indexOf(e,r);return-1===n?t.length:n}}])}(),m=[];function v(e,r,n,i){var a=e[r],o=a[0],l=a[1],u=a[2],c=a[3],h=a[4],d=a.vars;r>0&&n.write(t),i[0]=p(n,o,i[0]),p(n,l,0),p(n,h,0),p(n,6===a.length?1:0,0),6===a.length&&p(n,a[5],0);var f,y=s(d);try{for(y.s();!(f=y.n()).done;)p(n,f.value,0)}catch(e){y.e(e)}finally{y.f()}for(r++;r<e.length;){var m=e[r],g=m[0],T=m[1];if(g>u||g===u&&T>=c)break;r=v(e,r,n,i)}return n.write(t),i[0]=p(n,u,i[0]),p(n,c,0),r}function g(e,r,n,i){var a=e[r],o=a[0],l=a[1],u=a[2],c=a[3],h=a.isScope,d=a.callsite,f=a.bindings;if(i[0]<o?(T(n,i[0],o),i[0]=o,i[1]=0):r>0&&n.write(t),i[1]=p(n,a[1],i[1]),p(n,(6===a.length?1:0)|(d?2:0)|(h?4:0),0),6===a.length){var y=a[4],m=a[5];y!==i[2]&&(i[3]=0),i[2]=p(n,y,i[2]),i[3]=p(n,m,i[3])}if(d){var v=a.callsite,b=v[0],S=v[1],x=v[2];b!==i[4]?(i[5]=0,i[6]=0):S!==i[5]&&(i[6]=0),i[4]=p(n,b,i[4]),i[5]=p(n,S,i[5]),i[6]=p(n,x,i[6])}if(f){var E,P=s(f);try{for(P.s();!(E=P.n()).done;){var A=E.value;A.length>1&&p(n,-A.length,0),p(n,A[0][0],0);for(var k=o,w=l,C=1;C<A.length;C++){var I=A[C];k=p(n,I[1],k),w=p(n,I[2],w),p(n,I[0],0)}}}catch(e){P.e(e)}finally{P.f()}}for(r++;r<e.length;){var O=e[r],N=O[0],D=O[1];if(N>u||N===u&&D>=c)break;r=g(e,r,n,i)}return i[0]<u?(T(n,i[0],u),i[0]=u,i[1]=0):n.write(t),i[1]=p(n,c,i[1]),r}function T(e,t,n){do{e.write(r)}while(++t<n)}function b(e){e.sort(S)}function S(e,t){return e[0]-t[0]}e.decode=function(e){var t=e.length,r=new y(e),n=[],i=0,a=0,s=0,o=0,l=0;do{var c=r.indexOf(";"),p=[],d=!0,f=0;for(i=0;r.pos<c;){var m=void 0;(i=u(r,i))<f&&(d=!1),f=i,h(r,c)?(a=u(r,a),s=u(r,s),o=u(r,o),m=h(r,c)?[i,a,s,o,l=u(r,l)]:[i,a,s,o]):m=[i],p.push(m),r.pos++}d||b(p),n.push(p),r.pos=c+1}while(r.pos<=t);return n},e.decodeGeneratedRanges=function(e){var t=e.length,r=new y(e),n=[],i=[],a=0,s=0,o=0,l=0,c=0,p=0,d=0,f=0;do{for(var v=r.indexOf(";"),g=0;r.pos<v;r.pos++)if(g=u(r,g),h(r,v)){var T=u(r,0),b=2&T,S=4&T,x=null,E=m,P=void 0;if(1&T){var A=u(r,s);o=u(r,s===A?o:0),s=A,P=[a,g,0,0,A,o]}else P=[a,g,0,0];if(P.isScope=!!S,b){var k=c,w=l===(l=u(r,l));x=[l,c=u(r,w?c:0),p=u(r,w&&k===c?p:0)]}if(P.callsite=x,h(r,v)){E=[];do{d=a,f=g;var C=u(r,0),I=void 0;if(C<-1){I=[[u(r,0)]];for(var O=-1;O>C;O--){var N=d;d=u(r,d),f=u(r,d===N?f:0);var D=u(r,0);I.push([D,d,f])}}else I=[[C]];E.push(I)}while(h(r,v))}P.bindings=E,n.push(P),i.push(P)}else{var _=i.pop();_[2]=a,_[3]=g}a++,r.pos=v+1}while(r.pos<t);return n},e.decodeOriginalScopes=function(e){for(var t=e.length,r=new y(e),n=[],i=[],a=0;r.pos<t;r.pos++){a=u(r,a);var s=u(r,0);if(h(r,t)){var o=u(r,0),l=1&u(r,0)?[a,s,0,0,o,u(r,0)]:[a,s,0,0,o],c=m;if(h(r,t)){c=[];do{var p=u(r,0);c.push(p)}while(h(r,t))}l.vars=c,n.push(l),i.push(l)}else{var d=i.pop();d[2]=a,d[3]=s}}return n},e.encode=function(e){for(var n=new f,i=0,a=0,s=0,o=0,l=0;l<e.length;l++){var u=e[l];if(l>0&&n.write(r),0!==u.length)for(var c=0,h=0;h<u.length;h++){var d=u[h];h>0&&n.write(t),c=p(n,d[0],c),1!==d.length&&(i=p(n,d[1],i),a=p(n,d[2],a),s=p(n,d[3],s),4!==d.length&&(o=p(n,d[4],o)))}}return n.flush()},e.encodeGeneratedRanges=function(e){if(0===e.length)return"";for(var t=new f,r=0;r<e.length;)r=g(e,r,t,[0,0,0,0,0,0,0]);return t.flush()},e.encodeOriginalScopes=function(e){for(var t=new f,r=0;r<e.length;)r=v(e,r,t,[0]);return t.flush()},Object.defineProperty(e,"__esModule",{value:!0})},"object"===h(t)?a(t):(n=[t],void 0===(i="function"==typeof(r=a)?r.apply(t,n):r)||(e.exports=i))},1227:(e,t,r)=>{var n;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(i=n))})),t.splice(i,0,r)}},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));var e},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(n=!1,function(){n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=r(8630)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},8630:(e,t,r)=>{function n(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}e.exports=function(e){function t(e){var r,n,a,s=null;function o(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(o.enabled){var a=o,s=Number(new Date),l=s-(r||s);a.diff=l,a.prev=r,a.curr=s,r=s,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");var u=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return"%";u++;var i=t.formatters[r];if("function"==typeof i){var s=n[u];e=i.call(a,s),n.splice(u,1),u--}return e})),t.formatArgs.call(a,n),(a.log||t.log).apply(a,n)}}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=i,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:function(){return null!==s?s:(n!==t.namespaces&&(n=t.namespaces,a=t.enabled(e)),a)},set:function(e){s=e}}),"function"==typeof t.init&&t.init(o),o}function i(e,r){var n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){var e=[].concat(n(t.names.map(a)),n(t.skips.map(a).map((function(e){return"-"+e})))).join(",");return t.enable(""),e},t.enable=function(e){var r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(r=0;r<i;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;var r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(9527),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((function(r){t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){for(var r=0,n=0;n<e.length;n++)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},103:(e,t,r)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(1227):e.exports=r(4519)},4519:(e,t,r)=>{var n=r(2018),i=r(9023);t.init=function(e){e.inspectOpts={};for(var r=Object.keys(t.inspectOpts),n=0;n<r.length;n++)e.inspectOpts[r[n]]=t.inspectOpts[r[n]]},t.log=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return process.stderr.write(i.formatWithOptions.apply(i,[t.inspectOpts].concat(r))+"\n")},t.formatArgs=function(r){var n=this.namespace;if(this.useColors){var i=this.color,a="[3"+(i<8?i:"8;5;"+i),s=" ".concat(a,";1m").concat(n," ");r[0]=s+r[0].split("\n").join("\n"+s),r.push(a+"m+"+e.exports.humanize(this.diff)+"")}else r[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+n+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)},t.destroy=i.deprecate((function(){}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{var a=r(8377);a&&(a.stderr||a).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((function(e){return/^debug_/i.test(e)})).reduce((function(e,t){var r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()})),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e}),{}),e.exports=r(8630)(t);var s=e.exports.formatters;s.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},6482:e=>{"use strict";e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:process.argv,r=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return-1!==n&&(-1===i||n<i)}},4333:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},8321:e=>{"use strict";var t={},r=t.hasOwnProperty,n=function(e,t){for(var n in e)r.call(e,n)&&t(n,e[n])},i=function(e){return"\\u"+("0000"+e).slice(-4)},a=function(e,t){var r=e.toString(16);return t?r:r.toUpperCase()},s=t.toString,o=Array.isArray,l=function(e){return"bigint"==typeof e},u={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},c=/[\\\b\f\n\r\t]/,p=/[0-9]/,h=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,d=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,f=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,y=function(e,t){var r,m,v=function(){k=A,++t.indentLevel,A=t.indent.repeat(t.indentLevel)},g={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},T=t&&t.json;T&&(g.quotes="double",g.wrap=!0),r=g,t=(m=t)?(n(m,(function(e,t){r[e]=t})),r):r,"single"!=t.quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");var b,S,x="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",E=t.compact,P=t.lowercaseHex,A=t.indent.repeat(t.indentLevel),k="",w=t.__inline1__,C=t.__inline2__,I=E?"":"\n",O=!0,N="binary"==t.numbers,D="octal"==t.numbers,_="decimal"==t.numbers,L="hexadecimal"==t.numbers;if(T&&e&&"function"==typeof e.toJSON&&(e=e.toJSON()),"string"!=typeof(S=e)&&"[object String]"!=s.call(S)){if(function(e){return"[object Map]"==s.call(e)}(e))return 0==e.size?"new Map()":(E||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+y(Array.from(e),t)+")");if(function(e){return"[object Set]"==s.call(e)}(e))return 0==e.size?"new Set()":"new Set("+y(Array.from(e),t)+")";if(function(e){return"function"==typeof Buffer&&Buffer.isBuffer(e)}(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+y(Array.from(e),t)+")";if(o(e))return b=[],t.wrap=!0,w&&(t.__inline1__=!1,t.__inline2__=!0),C||v(),function(e,t){for(var r=e.length,n=-1;++n<r;)t(e[n])}(e,(function(e){O=!1,C&&(t.__inline2__=!1),b.push((E||C?"":A)+y(e,t))})),O?"[]":C?"["+b.join(", ")+"]":"["+I+b.join(","+I)+I+(E?"":k)+"]";if(function(e){return"number"==typeof e||"[object Number]"==s.call(e)}(e)||l(e)){if(T)return JSON.stringify(Number(e));var M;if(_)M=String(e);else if(L){var F=e.toString(16);P||(F=F.toUpperCase()),M="0x"+F}else N?M="0b"+e.toString(2):D&&(M="0o"+e.toString(8));return l(e)?M+"n":M}return l(e)?T?JSON.stringify(Number(e)):e+"n":function(e){return"[object Object]"==s.call(e)}(e)?(b=[],t.wrap=!0,v(),n(e,(function(e,r){O=!1,b.push((E?"":A)+y(e,t)+":"+(E?"":" ")+y(r,t))})),O?"{}":"{"+I+b.join(","+I)+I+(E?"":k)+"}"):T?JSON.stringify(e)||"null":String(e)}var j=t.escapeEverything?d:f;return b=e.replace(j,(function(e,r,n,s,o,l){if(r){if(t.minimal)return r;var d=r.charCodeAt(0),f=r.charCodeAt(1);return t.es6?"\\u{"+a(1024*(d-55296)+f-56320+65536,P)+"}":i(a(d,P))+i(a(f,P))}if(n)return i(a(n.charCodeAt(0),P));if("\0"==e&&!T&&!p.test(l.charAt(o+1)))return"\\0";if(s)return s==x||t.escapeEverything?"\\"+s:s;if(c.test(e))return u[e];if(t.minimal&&!h.test(e))return e;var y=a(e.charCodeAt(0),P);return T||y.length>2?i(y):"\\x"+("00"+y).slice(-2)})),"`"==x&&(b=b.replace(/\$\{/g,"\\${")),t.isScriptContext&&(b=b.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,T?"\\u003C!--":"\\x3C!--")),t.wrap&&(b=x+b+x),b};y.version="3.0.2",e.exports=y},9527:e=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}var r=1e3,n=60*r,i=60*n,a=24*i,s=7*a;function o(e,t,r,n){var i=t>=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,l){l=l||{};var u,c,p=t(e);if("string"===p&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var o=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return o*s;case"days":case"day":case"d":return o*a;case"hours":case"hour":case"hrs":case"hr":case"h":return o*i;case"minutes":case"minute":case"mins":case"min":case"m":return o*n;case"seconds":case"second":case"secs":case"sec":case"s":return o*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(e);if("number"===p&&isFinite(e))return l.long?(u=e,(c=Math.abs(u))>=a?o(u,c,a,"day"):c>=i?o(u,c,i,"hour"):c>=n?o(u,c,n,"minute"):c>=r?o(u,c,r,"second"):u+" ms"):function(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+"d":t>=i?Math.round(e/i)+"h":t>=n?Math.round(e/n)+"m":t>=r?Math.round(e/r)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},8377:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s,o=r(857),l=r(2018),u=r(6482),c=process.env;function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.streamIsTTY,n=t.sniffFlags,i=void 0===n||n,a=function(){if("FORCE_COLOR"in c)return"true"===c.FORCE_COLOR?1:"false"===c.FORCE_COLOR?0:0===c.FORCE_COLOR.length?1:Math.min(Number.parseInt(c.FORCE_COLOR,10),3)}();void 0!==a&&(s=a);var l=i?s:a;if(0===l)return 0;if(i){if(u("color=16m")||u("color=full")||u("color=truecolor"))return 3;if(u("color=256"))return 2}if(e&&!r&&void 0===l)return 0;var p=l||0;if("dumb"===c.TERM)return p;if("win32"===process.platform){var h=o.release().split(".");return Number(h[0])>=10&&Number(h[2])>=10586?Number(h[2])>=14931?3:2:1}if("CI"in c)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((function(e){return e in c}))||"codeship"===c.CI_NAME?1:p;if("TEAMCITY_VERSION"in c)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(c.TEAMCITY_VERSION)?1:0;if("truecolor"===c.COLORTERM)return 3;if("TERM_PROGRAM"in c){var d=Number.parseInt((c.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(c.TERM_PROGRAM){case"iTerm.app":return d>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(c.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(c.TERM)||"COLORTERM"in c?1:p}(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({streamIsTTY:e&&e.isTTY},t));return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(r)}u("no-color")||u("no-colors")||u("color=false")||u("color=never")?s=0:(u("color")||u("colors")||u("color=true")||u("color=always"))&&(s=1),e.exports={supportsColor:p,stdout:p({isTTY:l.isatty(1)}),stderr:p({isTTY:l.isatty(2)})}},857:e=>{"use strict";e.exports=require("os")},2018:e=>{"use strict";e.exports=require("tty")},9023:e=>{"use strict";e.exports=require("util")},1600:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(){i=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,s=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function h(e,t,r,n){var i=t&&t.prototype instanceof T?t:T,a=Object.create(i.prototype),o=new D(n||[]);return s(a,"_invoke",{value:C(e,r,o)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var f="suspendedStart",y="suspendedYield",m="executing",v="completed",g={};function T(){}function b(){}function S(){}var x={};p(x,l,(function(){return this}));var E=Object.getPrototypeOf,P=E&&E(E(_([])));P&&P!==r&&n.call(P,l)&&(x=P);var A=S.prototype=T.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(i,s,o,l){var u=d(e[i],e,s);if("throw"!==u.type){var c=u.arg,p=c.value;return p&&"object"==a(p)&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,o,l)}),(function(e){r("throw",e,o,l)})):t.resolve(p).then((function(e){c.value=e,o(c)}),(function(e){return r("throw",e,o,l)}))}l(u.arg)}var i;s(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,i){r(e,n,t,i)}))}return i=i?i.then(a,a):a()}})}function C(t,r,n){var i=f;return function(a,s){if(i===m)throw Error("Generator is already running");if(i===v){if("throw"===a)throw s;return{value:e,done:!0}}for(n.method=a,n.arg=s;;){var o=n.delegate;if(o){var l=I(o,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=m;var u=d(t,r,n);if("normal"===u.type){if(i=n.done?v:y,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=v,n.method="throw",n.arg=u.arg)}}}function I(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,I(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=d(i,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var s=a.arg;return s?s.done?(r[t.resultName]=s.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):s:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function _(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,s=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return s.next=s}}throw new TypeError(a(t)+" is not iterable")}return b.prototype=S,s(A,"constructor",{value:S,configurable:!0}),s(S,"constructor",{value:b,configurable:!0}),b.displayName=p(S,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,p(e,c,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},k(w.prototype),p(w.prototype,u,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var s=new w(h(e,r,n,i),a);return t.isGeneratorFunction(r)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},k(A),p(A,c,"Generator"),p(A,l,(function(){return this})),p(A,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=_,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(n,i){return o.type="throw",o.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var s=this.tryEntries[a],o=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var l=n.call(s,"catchLoc"),u=n.call(s,"finallyLoc");if(l&&u){if(this.prev<s.catchLoc)return i(s.catchLoc,!0);if(this.prev<s.finallyLoc)return i(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return i(s.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return i(s.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=e,s.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),N(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;N(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:_(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}Object.defineProperty(t,"__esModule",{value:!0});var s=r(9199),o=r(4333),l=r(7590),u=function(e,t){return function(r){return e(t(r))}};function c(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:u(u(e.white,e.bgRed),e.bold),gutter:e.gray,marker:u(e.red,e.bold),message:u(e.red,e.bold),reset:e.reset}}var p=c(s.createColors(!0)),h=c(s.createColors(!1));function d(e){return e?p:h}var f,y=new Set(["as","async","from","get","of","set"]),m=/\r\n|[\n\r\u2028\u2029]/,v=/^[()[\]{}]$/,g=/^[a-z][\w-]*$/i,T=function(e,t,r){if("name"===e.type){if(l.isKeyword(e.value)||l.isStrictReservedWord(e.value,!0)||y.has(e.value))return"keyword";if(g.test(e.value)&&("<"===r[t-1]||"</"===r.slice(t-2,t)))return"jsxIdentifier";if(e.value[0]!==e.value[0].toLowerCase())return"capitalized"}return"punctuator"===e.type&&v.test(e.value)?"bracket":"invalid"!==e.type||"@"!==e.value&&"#"!==e.value?e.type:"punctuator"};function b(e){if(""===e)return"";var t,r=d(!0),i="",a=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}(f(e));try{var s=function(){var e=t.value,n=e.type,a=e.value;i+=n in r?a.split(m).map((function(e){return r[n](e)})).join("\n"):a};for(a.s();!(t=a.n()).done;)s()}catch(e){a.e(e)}finally{a.f()}return i}f=i().mark((function e(t){var r,n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=o.default.exec(t))){e.next=6;break}return n=o.matchToToken(r),e.next=4,{type:T(n,r.index,t),value:n.value};case 4:e.next=0;break;case 6:case"end":return e.stop()}}),e)}));var S=!1,x=/\r\n|[\n\r\u2028\u2029]/;function E(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.forceColor||("object"!==("undefined"==typeof process?"undefined":a(process))||"0"!==process.env.FORCE_COLOR&&"false"!==process.env.FORCE_COLOR)&&s.isColorSupported&&r.highlightCode,i=d(n),o=function(e,t,r){var n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),a=r||{},s=a.linesAbove,o=void 0===s?2:s,l=a.linesBelow,u=void 0===l?3:l,c=n.line,p=n.column,h=i.line,d=i.column,f=Math.max(c-(o+1),0),y=Math.min(t.length,h+u);-1===c&&(f=0),-1===h&&(y=t.length);var m=h-c,v={};if(m)for(var g=0;g<=m;g++){var T=g+c;if(p)if(0===g){var b=t[T-1].length;v[T]=[p,b-p+1]}else if(g===m)v[T]=[0,d];else{var S=t[T-g].length;v[T]=[0,S]}else v[T]=!0}else v[c]=p===d?!p||[p,0]:[p,d-p];return{start:f,end:y,markerLines:v}}(t,e.split(x),r),l=o.start,u=o.end,c=o.markerLines,p=t.start&&"number"==typeof t.start.column,h=String(u).length,f=(n?b(e):e).split(x,u).slice(l,u).map((function(e,t){var n=l+1+t,a=" ".concat(n).slice(-h),s=" ".concat(a," |"),o=c[n],u=!c[n+1];if(o){var p="";if(Array.isArray(o)){var d=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," "),f=o[1]||1;p=["\n ",i.gutter(s.replace(/\d/g," "))," ",d,i.marker("^").repeat(f)].join(""),u&&r.message&&(p+=" "+i.message(r.message))}return[i.marker(">"),i.gutter(s),e.length>0?" ".concat(e):"",p].join("")}return" ".concat(i.gutter(s)).concat(e.length>0?" ".concat(e):"")})).join("\n");return r.message&&!p&&(f="".concat(" ".repeat(h+1)).concat(r.message,"\n").concat(f)),n?i.reset(f):f}t.codeFrameColumns=E,t.default=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!S){S=!0;var i="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";process.emitWarning?process.emitWarning(i,"DeprecationWarning"):(new Error(i).name="DeprecationWarning",console.warn(new Error(i)))}return E(e,{start:{column:r=Math.max(r,0),line:t}},n)},t.highlight=b},6203:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierChar=c,t.isIdentifierName=function(e){for(var t=!0,r=0;r<e.length;r++){var n=e.charCodeAt(r);if(55296==(64512&n)&&r+1<e.length){var i=e.charCodeAt(++r);56320==(64512&i)&&(n=65536+((1023&n)<<10)+(1023&i))}if(t){if(t=!1,!u(n))return!1}else if(!c(n))return!1}return!t},t.isIdentifierStart=u;var r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",n="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",i=new RegExp("["+r+"]"),a=new RegExp("["+r+n+"]");r=n=null;var s=[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],o=[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];function l(e,t){for(var r=65536,n=0,i=t.length;n<i;n+=2){if((r+=t[n])>e)return!1;if((r+=t[n+1])>=e)return!0}return!1}function u(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):l(e,s)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):l(e,s)||l(e,o))))}},7590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var n=r(6203),i=r(5501)},5501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyword=function(e){return r.has(e)},t.isReservedWord=a,t.isStrictBindOnlyReservedWord=o,t.isStrictBindReservedWord=function(e,t){return s(e,t)||o(e)},t.isStrictReservedWord=s;var r=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),n=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),i=new Set(["eval","arguments"]);function a(e,t){return t&&"await"===e||"enum"===e}function s(e,t){return a(e,t)||n.has(e)}function o(e){return i.has(e)}},2318:(e,t)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=t,this._indentChar=r;for(var n=0;n<64;n++)this._fastIndentations.push(r.repeat(n));this._allocQueue()},(t=[{key:"_allocQueue",value:function(){for(var e=this._queue,t=0;t<16;t++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}},{key:"_pushQueue",value:function(e,t,r,n,i){var a=this._queueCursor;a===this._queue.length&&this._allocQueue();var s=this._queue[a];s.char=e,s.repeat=t,s.line=r,s.column=n,s.filename=i,this._queueCursor++}},{key:"_popQueue",value:function(){if(0===this._queueCursor)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}},{key:"get",value:function(){this._flush();var e=this._map,t={code:(this._buf+this._str).trimRight(),decodedMap:null==e?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){var r=e?e.get():null;return t.map=r,r},set map(e){Object.defineProperty(t,"map",{value:e,writable:!0})},get rawMappings(){var r=null==e?void 0:e.getRawMappings();return t.rawMappings=r,r},set rawMappings(e){Object.defineProperty(t,"rawMappings",{value:e,writable:!0})}};return t}},{key:"append",value:function(e,t){this._flush(),this._append(e,this._sourcePosition,t)}},{key:"appendChar",value:function(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}},{key:"queue",value:function(e){if(10===e)for(;0!==this._queueCursor;){var t=this._queue[this._queueCursor-1].char;if(32!==t&&9!==t)break;this._queueCursor--}var r=this._sourcePosition;this._pushQueue(e,1,r.line,r.column,r.filename)}},{key:"queueIndentation",value:function(e){0!==e&&this._pushQueue(-1,e,void 0,void 0,void 0)}},{key:"_flush",value:function(){for(var e=this._queueCursor,t=this._queue,r=0;r<e;r++){var n=t[r];this._appendChar(n.char,n.repeat,n)}this._queueCursor=0}},{key:"_appendChar",value:function(e,t,r){if(this._last=e,-1===e){var n=this._fastIndentations[t];this._str+=void 0!==n?n:t>1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0)}},{key:"_append",value:function(e,t,r){var n=e.length,i=this._position;if(this._last=e.charCodeAt(n-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,r||this._map){var a=t.column,s=t.identifierName,o=t.identifierNamePos,l=t.filename,u=t.line;null==s&&null==o||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);var c=e.indexOf("\n"),p=0;for(0!==c&&this._mark(u,a,s,o,l);-1!==c;)i.line++,i.column=0,(p=c+1)<n&&void 0!==u&&this._mark(++u,0,null,null,l),c=e.indexOf("\n",p);i.column+=n-p}else i.column+=n}},{key:"_mark",value:function(e,t,r,n,i){var a;null==(a=this._map)||a.mark(this._position,e,t,r,n,i)}},{key:"removeTrailingNewline",value:function(){var e=this._queueCursor;0!==e&&10===this._queue[e-1].char&&this._queueCursor--}},{key:"removeLastSemicolon",value:function(){var e=this._queueCursor;0!==e&&59===this._queue[e-1].char&&this._queueCursor--}},{key:"getLastChar",value:function(){var e=this._queueCursor;return 0!==e?this._queue[e-1].char:this._last}},{key:"getNewlineCount",value:function(){var e=this._queueCursor,t=0;if(0===e)return 10===this._last?1:0;for(var r=e-1;r>=0&&10===this._queue[r].char;r--)t++;return t===e&&10===this._last?t+1:t}},{key:"endsWithCharAndNewline",value:function(){var e=this._queue,t=this._queueCursor;if(0!==t){if(10!==e[t-1].char)return;return t>1?e[t-2].char:this._last}}},{key:"hasContent",value:function(){return 0!==this._queueCursor||!!this._last}},{key:"exactSource",value:function(e,t){if(this._map){this.source("start",e);var r=e.identifierName,n=this._sourcePosition;r&&(this._canMarkIdName=!1,n.identifierName=r),t(),r&&(this._canMarkIdName=!0,n.identifierName=void 0,n.identifierNamePos=void 0),this.source("end",e)}else t()}},{key:"source",value:function(e,t){this._map&&this._normalizePosition(e,t,0)}},{key:"sourceWithOffset",value:function(e,t,r){this._map&&this._normalizePosition(e,t,r)}},{key:"_normalizePosition",value:function(e,t,r){var n=t[e],i=this._sourcePosition;n&&(i.line=n.line,i.column=Math.max(n.column+r,0),i.filename=t.filename)}},{key:"getCurrentColumn",value:function(){for(var e=this._queue,t=this._queueCursor,r=-1,n=0,i=0;i<t;i++){var a=e[i];10===a.char&&(r=n),n+=a.repeat}return-1===r?this._position.column+n:n-1-r}},{key:"getCurrentLine",value:function(){for(var e=0,t=this._queue,r=0;r<this._queueCursor;r++)10===t[r].char&&e++;return this._position.line+e}}])&&n(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();t.default=a},4752:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatement=function(e){var t;this.tokenChar(123);var r=this.enterDelimited(),n=null==(t=e.directives)?void 0:t.length;if(n){var i,a=e.body.length?2:1;this.printSequence(e.directives,!0,a),null!=(i=e.directives[n-1].trailingComments)&&i.length||this.newline(a)}this.printSequence(e.body,!0),r(),this.rightBrace(e)},t.Directive=function(e){this.print(e.value),this.semicolon()},t.DirectiveLiteral=function(e){var t=this.getPossibleRaw(e);if(this.format.minified||void 0===t){var i=e.value;if(n.test(i)){if(r.test(i))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token("'".concat(i,"'"))}else this.token('"'.concat(i,'"'))}else this.token(t)},t.File=function(e){e.program&&this.print(e.program.interpreter),this.print(e.program)},t.InterpreterDirective=function(e){this.token("#!".concat(e.value)),this.newline(1,!0)},t.Placeholder=function(e){this.token("%%"),this.print(e.name),this.token("%%"),"Statement"===e.expectedNode&&this.semicolon()},t.Program=function(e){var t;this.noIndentInnerCommentsHere(),this.printInnerComments();var r=null==(t=e.directives)?void 0:t.length;if(r){var n,i=e.body.length?2:1;this.printSequence(e.directives,void 0,i),null!=(n=e.directives[r-1].trailingComments)&&n.length||this.newline(i)}this.printSequence(e.body)};var r=/(?:^|[^\\])(?:\\\\)*'/,n=/(?:^|[^\\])(?:\\\\)*"/},4297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClassAccessorProperty=function(e){var t;this.printJoin(e.decorators);var r=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key),this.tokenChar(93)):(this._variance(e),this.print(e.key)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.ClassBody=function(e){if(this.tokenChar(123),0===e.body.length)this.tokenChar(125);else{this.newline();var t=function(e,t){if(!e.tokenMap||null==t.start||null==t.end)return null;var r=e.tokenMap.getIndexes(t);if(!r)return null;var n=1,i=0,a=0,s=function(){for(;a<t.body.length&&null==t.body[a].start;)a++};return s(),function(o){a<=o&&(a=o+1,s());for(var l,u=a===t.body.length?t.end:t.body[a].start;n<r.length&&e.tokenMap.matchesOriginal(l=e._tokens[r[n]],";")&&l.start<u;)e.token(";",void 0,i++),n++}}(this,e);null==t||t(-1);var r=this.enterDelimited();this.printJoin(e.body,!0,!0,t,!0),r(),this.endsWith(10)||this.newline(),this.rightBrace(e)}},t.ClassExpression=t.ClassDeclaration=function(e,t){(i(t)||a(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id)),this.print(e.typeParameters),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass),this.print(e.superTypeParameters)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements)),this.space(),this.print(e.body)},t.ClassMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body)},t.ClassPrivateMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body)},t.ClassPrivateProperty=function(e){this.printJoin(e.decorators),this.tsPrintClassMemberModifiers(e),this.print(e.key),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.ClassProperty=function(e){if(this.printJoin(e.decorators),!e.static&&!this.format.preserveFormat){var t,r=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;r&&this.catchUp(r)}this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key),this.tokenChar(93)):(this._variance(e),this.print(e.key)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.StaticBlock=function(e){this.word("static"),this.space(),this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,!0),this.rightBrace(e))},t._classMethodHead=function(e){if(this.printJoin(e.decorators),!this.format.preserveFormat){var t,r=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;r&&this.catchUp(r)}this.tsPrintClassMemberModifiers(e),this._methodHead(e)};var n=r(7078),i=n.isExportDefaultDeclaration,a=n.isExportNamedDeclaration},6452:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDeprecatedGenerators=function(e){Object.assign(e.prototype,{Noop:function(){},TSExpressionWithTypeArguments:function(e){this.print(e.expression),this.print(e.typeParameters)},DecimalLiteral:function(e){var t=this.getPossibleRaw(e);this.format.minified||void 0===t?this.word(e.value+"m"):this.word(t)}})}},7238:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=function(e){this.print(e.left),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):(this.token(e.operator),this._endsWithDiv="/"===e.operator),this.space(),this.print(e.right)},t.AssignmentPattern=function(e){this.print(e.left),("Identifier"===e.left.type||u(e.left))&&(e.left.optional&&this.tokenChar(63),this.print(e.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(e.right)},t.AwaitExpression=function(e){this.word("await"),this.space(),this.print(e.argument)},t.BindExpression=function(e){this.print(e.object),this.token("::"),this.print(e.callee)},t.CallExpression=function(e){this.print(e.callee),this.print(e.typeArguments),this.print(e.typeParameters),this.tokenChar(40);var t=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),t(),this.rightParens(e)},t.ConditionalExpression=function(e){this.print(e.test),this.space(),this.tokenChar(63),this.space(),this.print(e.consequent),this.space(),this.tokenChar(58),this.space(),this.print(e.alternate)},t.Decorator=function(e){this.tokenChar(64),this.print(e.expression),this.newline()},t.DoExpression=function(e){e.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(e.body)},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.tokenContext|=i.TokenContext.expressionStatement,this.print(e.expression),this.semicolon()},t.Import=function(){this.word("import")},t.MemberExpression=function(e){if(this.print(e.object),!e.computed&&o(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");var t=e.computed;if(s(e.property)&&"number"==typeof e.property.value&&(t=!0),t){var r=this.enterDelimited();this.tokenChar(91),this.print(e.property),this.tokenChar(93),r()}else this.tokenChar(46),this.print(e.property)},t.MetaProperty=function(e){this.print(e.meta),this.tokenChar(46),this.print(e.property)},t.ModuleExpression=function(e){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();var t=e.body;(t.body.length||t.directives.length)&&this.newline(),this.print(t),this.dedent(),this.rightBrace(e)},t.NewExpression=function(e,t){if(this.word("new"),this.space(),this.print(e.callee),(!this.format.minified||0!==e.arguments.length||e.optional||a(t,{callee:e})||o(t)||l(t))&&(this.print(e.typeArguments),this.print(e.typeParameters),e.optional&&this.token("?."),0!==e.arguments.length||!this.tokenMap||this.tokenMap.endMatches(e,")"))){this.tokenChar(40);var r=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),r(),this.rightParens(e)}},t.OptionalCallExpression=function(e){this.print(e.callee),this.print(e.typeParameters),e.optional&&this.token("?."),this.print(e.typeArguments),this.tokenChar(40);var t=this.enterDelimited();this.printList(e.arguments),t(),this.rightParens(e)},t.OptionalMemberExpression=function(e){var t=e.computed,r=e.optional,n=e.property;if(this.print(e.object),!t&&o(n))throw new TypeError("Got a MemberExpression for MemberExpression property");s(n)&&"number"==typeof n.value&&(t=!0),r&&this.token("?."),t?(this.tokenChar(91),this.print(n),this.tokenChar(93)):(r||this.tokenChar(46),this.print(n))},t.ParenthesizedExpression=function(e){this.tokenChar(40);var t=this.enterDelimited();this.print(e.expression),t(),this.rightParens(e)},t.PrivateName=function(e){this.tokenChar(35),this.print(e.id)},t.SequenceExpression=function(e){this.printList(e.expressions)},t.Super=function(){this.word("super")},t.ThisExpression=function(){this.word("this")},t.UnaryExpression=function(e){var t=e.operator;"void"===t||"delete"===t||"typeof"===t||"throw"===t?(this.word(t),this.space()):this.token(t),this.print(e.argument)},t.UpdateExpression=function(e){e.prefix?(this.token(e.operator),this.print(e.argument)):(this.print(e.argument,!0),this.token(e.operator))},t.V8IntrinsicIdentifier=function(e){this.tokenChar(37),this.word(e.name)},t.YieldExpression=function(e){e.delegate?(this.word("yield",!0),this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument))):e.argument?(this.word("yield",!0),this.space(),this.print(e.argument)):this.word("yield")},t._shouldPrintDecoratorsBeforeExport=function(e){return"boolean"==typeof this.format.decoratorsBeforeExport?this.format.decoratorsBeforeExport:"number"==typeof e.start&&e.start===e.declaration.start};var n=r(7078),i=r(4827),a=n.isCallExpression,s=n.isLiteral,o=n.isMemberExpression,l=n.isNewExpression,u=n.isPattern},7837:(e,t,r)=>{"use strict";function n(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.AnyTypeAnnotation=function(){this.word("any")},t.ArrayTypeAnnotation=function(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)},t.BooleanLiteralTypeAnnotation=function(e){this.word(e.value?"true":"false")},t.BooleanTypeAnnotation=function(){this.word("boolean")},t.DeclareClass=function(e,t){c(t)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(e)},t.DeclareExportAllDeclaration=function(e){this.word("declare"),this.space(),o.ExportAllDeclaration.call(this,e)},t.DeclareExportDeclaration=function(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space()),y.call(this,e)},t.DeclareFunction=function(e,t){c(t)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(e.id),this.print(e.id.typeAnnotation.typeAnnotation),e.predicate&&(this.space(),this.print(e.predicate)),this.semicolon()},t.DeclareInterface=function(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)},t.DeclareModule=function(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id),this.space(),this.print(e.body)},t.DeclareModuleExports=function(e){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(e.typeAnnotation)},t.DeclareOpaqueType=function(e,t){c(t)||(this.word("declare"),this.space()),this.OpaqueType(e)},t.DeclareTypeAlias=function(e){this.word("declare"),this.space(),this.TypeAlias(e)},t.DeclareVariable=function(e,t){c(t)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(e.id),this.print(e.id.typeAnnotation),this.semicolon()},t.DeclaredPredicate=function(e){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(e.value),this.tokenChar(41)},t.EmptyTypeAnnotation=function(){this.word("empty")},t.EnumBooleanBody=function(e){h(this,"boolean",e.explicitType),d(this,e)},t.EnumBooleanMember=function(e){f(this,e)},t.EnumDeclaration=function(e){var t=e.id,r=e.body;this.word("enum"),this.space(),this.print(t),this.print(r)},t.EnumDefaultedMember=function(e){var t=e.id;this.print(t),this.tokenChar(44)},t.EnumNumberBody=function(e){h(this,"number",e.explicitType),d(this,e)},t.EnumNumberMember=function(e){f(this,e)},t.EnumStringBody=function(e){h(this,"string",e.explicitType),d(this,e)},t.EnumStringMember=function(e){f(this,e)},t.EnumSymbolBody=function(e){h(this,"symbol",!0),d(this,e)},t.ExistsTypeAnnotation=function(){this.tokenChar(42)},t.FunctionTypeAnnotation=function(e,t){this.print(e.typeParameters),this.tokenChar(40),e.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(e.this.typeAnnotation),(e.params.length||e.rest)&&(this.tokenChar(44),this.space())),this.printList(e.params),e.rest&&(e.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(e.rest)),this.tokenChar(41);var r=null==t?void 0:t.type;null!=r&&("ObjectTypeCallProperty"===r||"ObjectTypeInternalSlot"===r||"DeclareFunction"===r||"ObjectTypeProperty"===r&&t.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(e.returnType)},t.FunctionTypeParam=function(e){this.print(e.name),e.optional&&this.tokenChar(63),e.name&&(this.tokenChar(58),this.space()),this.print(e.typeAnnotation)},t.IndexedAccessType=function(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},t.InterfaceDeclaration=function(e){this.word("interface"),this.space(),this._interfaceish(e)},t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=function(e){this.print(e.id),this.print(e.typeParameters,!0)},t.InterfaceTypeAnnotation=function(e){var t;this.word("interface"),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends)),this.space(),this.print(e.body)},t.IntersectionTypeAnnotation=function(e){this.printJoin(e.types,void 0,void 0,m)},t.MixedTypeAnnotation=function(){this.word("mixed")},t.NullLiteralTypeAnnotation=function(){this.word("null")},t.NullableTypeAnnotation=function(e){this.tokenChar(63),this.print(e.typeAnnotation)},Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return u.NumericLiteral}}),t.NumberTypeAnnotation=function(){this.word("number")},t.ObjectTypeAnnotation=function(e){var t=this;e.exact?this.token("{|"):this.tokenChar(123);var r=[].concat(n(e.properties),n(e.callProperties||[]),n(e.indexers||[]),n(e.internalSlots||[]));r.length&&(this.newline(),this.space(),this.printJoin(r,!0,!0,void 0,void 0,(function(e){if(e&&!r[0])return 1}),(function(){(1!==r.length||e.inexact)&&(t.tokenChar(44),t.space())})),this.space()),e.inexact&&(this.indent(),this.token("..."),r.length&&this.newline(),this.dedent()),e.exact?this.token("|}"):this.tokenChar(125)},t.ObjectTypeCallProperty=function(e){e.static&&(this.word("static"),this.space()),this.print(e.value)},t.ObjectTypeIndexer=function(e){e.static&&(this.word("static"),this.space()),this._variance(e),this.tokenChar(91),e.id&&(this.print(e.id),this.tokenChar(58),this.space()),this.print(e.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(e.value)},t.ObjectTypeInternalSlot=function(e){e.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(e.id),this.tokenChar(93),this.tokenChar(93),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value)},t.ObjectTypeProperty=function(e){e.proto&&(this.word("proto"),this.space()),e.static&&(this.word("static"),this.space()),"get"!==e.kind&&"set"!==e.kind||(this.word(e.kind),this.space()),this._variance(e),this.print(e.key),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value)},t.ObjectTypeSpreadProperty=function(e){this.token("..."),this.print(e.argument)},t.OpaqueType=function(e){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(e.id),this.print(e.typeParameters),e.supertype&&(this.tokenChar(58),this.space(),this.print(e.supertype)),e.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(e.impltype)),this.semicolon()},t.OptionalIndexedAccessType=function(e){this.print(e.objectType),e.optional&&this.token("?."),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.QualifiedTypeIdentifier=function(e){this.print(e.qualification),this.tokenChar(46),this.print(e.id)},Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return u.StringLiteral}}),t.StringTypeAnnotation=function(){this.word("string")},t.SymbolTypeAnnotation=function(){this.word("symbol")},t.ThisTypeAnnotation=function(){this.word("this")},t.TupleTypeAnnotation=function(e){this.tokenChar(91),this.printList(e.types),this.tokenChar(93)},t.TypeAlias=function(e){this.word("type"),this.space(),this.print(e.id),this.print(e.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(e.right),this.semicolon()},t.TypeAnnotation=function(e,t){this.tokenChar(58),this.space(),"ArrowFunctionExpression"===t.type?this.tokenContext|=l.TokenContext.arrowFlowReturnType:e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t.TypeCastExpression=function(e){this.tokenChar(40),this.print(e.expression),this.print(e.typeAnnotation),this.tokenChar(41)},t.TypeParameter=function(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default))},t.TypeParameterDeclaration=t.TypeParameterInstantiation=function(e){this.tokenChar(60),this.printList(e.params),this.tokenChar(62)},t.TypeofTypeAnnotation=function(e){this.word("typeof"),this.space(),this.print(e.argument)},t.UnionTypeAnnotation=function(e){this.printJoin(e.types,void 0,void 0,v)},t.Variance=function(e){"plus"===e.kind?this.tokenChar(43):this.tokenChar(45)},t.VoidTypeAnnotation=function(){this.word("void")},t._interfaceish=function(e){var t,r,n;(this.print(e.id),this.print(e.typeParameters),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends)),"DeclareClass"===e.type)&&(null!=(r=e.mixins)&&r.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins)),null!=(n=e.implements)&&n.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements)));this.space(),this.print(e.body)},t._variance=function(e){var t,r=null==(t=e.variance)?void 0:t.kind;null!=r&&("plus"===r?this.tokenChar(43):"minus"===r&&this.tokenChar(45))};var s=r(7078),o=r(7560),l=r(4827),u=r(8796),c=s.isDeclareExportDeclaration,p=s.isStatement;function h(e,t,r){r&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function d(e,t){var r=t.members;e.token("{"),e.indent(),e.newline();var n,a=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=i(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==t.return||t.return()}finally{if(o)throw a}}}}(r);try{for(a.s();!(n=a.n()).done;){var s=n.value;e.print(s),e.newline()}}catch(e){a.e(e)}finally{a.f()}t.hasUnknownMembers&&(e.token("..."),e.newline()),e.dedent(),e.token("}")}function f(e,t){e.print(t.id),e.space(),e.token("="),e.space(),e.print(t.init),e.token(",")}function y(e){if(e.declaration){var t=e.declaration;this.print(t),p(t)||this.semicolon()}else this.tokenChar(123),e.specifiers.length&&(this.space(),this.printList(e.specifiers),this.space()),this.tokenChar(125),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source)),this.semicolon()}function m(e){this.space(),this.token("&",!1,e),this.space()}function v(e){this.space(),this.token("|",!1,e),this.space()}},5941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1172);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var i=r(7238);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r(6283);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=r(4297);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var o=r(2415);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var l=r(7560);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var u=r(8796);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var c=r(7837);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var p=r(4752);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var h=r(2404);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var d=r(4694);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}))},2404:(e,t)=>{"use strict";function r(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(){this.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.JSXAttribute=function(e){this.print(e.name),e.value&&(this.tokenChar(61),this.print(e.value))},t.JSXClosingElement=function(e){this.tokenChar(60),this.tokenChar(47),this.print(e.name),this.tokenChar(62)},t.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},t.JSXElement=function(e){var t=e.openingElement;if(this.print(t),!t.selfClosing){this.indent();var n,i=r(e.children);try{for(i.s();!(n=i.n()).done;){var a=n.value;this.print(a)}}catch(e){i.e(e)}finally{i.f()}this.dedent(),this.print(e.closingElement)}},t.JSXEmptyExpression=function(){this.printInnerComments()},t.JSXExpressionContainer=function(e){this.tokenChar(123),this.print(e.expression),this.rightBrace(e)},t.JSXFragment=function(e){this.print(e.openingFragment),this.indent();var t,n=r(e.children);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.print(i)}}catch(e){n.e(e)}finally{n.f()}this.dedent(),this.print(e.closingFragment)},t.JSXIdentifier=function(e){this.word(e.name)},t.JSXMemberExpression=function(e){this.print(e.object),this.tokenChar(46),this.print(e.property)},t.JSXNamespacedName=function(e){this.print(e.namespace),this.tokenChar(58),this.print(e.name)},t.JSXOpeningElement=function(e){this.tokenChar(60),this.print(e.name),e.typeArguments&&this.print(e.typeArguments),this.print(e.typeParameters),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,void 0,void 0,i)),e.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)},t.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},t.JSXSpreadAttribute=function(e){this.tokenChar(123),this.token("..."),this.print(e.argument),this.rightBrace(e)},t.JSXSpreadChild=function(e){this.tokenChar(123),this.token("..."),this.print(e.expression),this.rightBrace(e)},t.JSXText=function(e){var t=this.getPossibleRaw(e);void 0!==t?this.token(t,!0):this.token(e.value,!0)}},2415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){e.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(e)?this._params(e,void 0,t):this.print(e.params[0],!0),this._predicate(e,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=i.TokenContext.arrowBody,this.print(e.body)},t.FunctionDeclaration=t.FunctionExpression=function(e,t){this._functionHead(e,t),this.space(),this.print(e.body)},t._functionHead=function(e,t){e.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),e.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),e.id&&this.print(e.id),this._params(e,e.id,t),"TSDeclareFunction"!==e.type&&this._predicate(e)},t._methodHead=function(e){var t=e.kind,r=e.key;"get"!==t&&"set"!==t||(this.word(t),this.space()),e.async&&(this.word("async",!0),this.space()),"method"!==t&&"init"!==t||e.generator&&this.tokenChar(42),e.computed?(this.tokenChar(91),this.print(r),this.tokenChar(93)):this.print(r),e.optional&&this.tokenChar(63),this._params(e,e.computed&&"StringLiteral"!==e.key.type?void 0:e.key,void 0)},t._param=function(e){this.printJoin(e.decorators),this.print(e),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t._parameters=function(e,t){for(var r=this.enterDelimited(),n=this.shouldPrintTrailingComma(t),i=e.length,a=0;a<i;a++)this._param(e[a]),(n||a<i-1)&&(this.token(",",null,a),this.space());this.token(t),r()},t._params=function(e,t,r){this.print(e.typeParameters);var n=s.call(this,t,r);n&&this.sourceIdentifierName(n.name,n.pos),this.tokenChar(40),this._parameters(e.params,")");var i="ArrowFunctionExpression"===e.type;this.print(e.returnType,i),this._noLineTerminator=i},t._predicate=function(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,t))},t._shouldPrintArrowParamsParens=function(e){var t,r;if(1!==e.params.length)return!0;if(e.typeParameters||e.returnType||e.predicate)return!0;var n=e.params[0];if(!a(n)||n.typeAnnotation||n.optional||null!=(t=n.leadingComments)&&t.length||null!=(r=n.trailingComments)&&r.length)return!0;if(this.tokenMap){if(null==e.loc)return!0;if(null!==this.tokenMap.findMatching(e,"("))return!0;var i=this.tokenMap.findMatching(e,"=>");return null==(null==i?void 0:i.loc)||i.loc.start.line!==e.loc.start.line}return!!this.format.retainLines};var n=r(7078),i=r(4827),a=n.isIdentifier;function s(e,t){var r=e;if(!r&&t){var n=t.type;"VariableDeclarator"===n?r=t.id:"AssignmentExpression"===n||"AssignmentPattern"===n?r=t.left:"ObjectProperty"===n||"ClassProperty"===n?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==n&&"ClassAccessorProperty"!==n||(r=t.key)}if(r){var i,a,s;if("Identifier"===r.type)i={pos:null==(a=r.loc)?void 0:a.start,name:(null==(s=r.loc)?void 0:s.identifierName)||r.name};else if("PrivateName"===r.type){var o;i={pos:null==(o=r.loc)?void 0:o.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var l;i={pos:null==(l=r.loc)?void 0:l.start,name:r.value}}return i}}},7560:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExportAllDeclaration=function(e){var t,r;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,!1)):this.print(e.source),this.semicolon()},t.ExportDefaultDeclaration=function(e){h(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=i.TokenContext.exportDefault;var t=e.declaration;this.print(t),c(t)||this.semicolon()},t.ExportDefaultSpecifier=function(e){this.print(e.exported)},t.ExportNamedDeclaration=function(e){if(h(this,e),this.word("export"),this.space(),e.declaration){var t=e.declaration;this.print(t),c(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());for(var r=e.specifiers.slice(0),n=!1;;){var i=r[0];if(!s(i)&&!o(i))break;n=!0,this.print(r.shift()),r.length&&(this.tokenChar(44),this.space())}var a,l,u=!1;(r.length||!r.length&&!n)&&(u=!0,this.tokenChar(123),r.length&&(this.space(),this.printList(r,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),e.source&&(this.space(),this.word("from"),this.space(),null!=(a=e.attributes)&&a.length||null!=(l=e.assertions)&&l.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,u)):this.print(e.source)),this.semicolon()}},t.ExportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported)},t.ExportSpecifier=function(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported))},t.ImportAttribute=function(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)},t.ImportDeclaration=function(e){var t,r;this.word("import"),this.space();var n="type"===e.importKind||"typeof"===e.importKind;n?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());for(var i=e.specifiers.slice(0),a=!!i.length;a;){var s=i[0];if(!l(s)&&!u(s))break;this.print(i.shift()),i.length&&(this.tokenChar(44),this.space())}var o=!1;i.length?(o=!0,this.tokenChar(123),this.space(),this.printList(i,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):n&&!a&&(o=!0,this.tokenChar(123),this.tokenChar(125)),(a||n)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,o)):this.print(e.source),this.semicolon()},t.ImportDefaultSpecifier=function(e){this.print(e.local)},t.ImportExpression=function(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40);var t=this.shouldPrintTrailingComma(")");this.print(e.source),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options)),t&&this.tokenChar(44),this.rightParens(e)},t.ImportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local)},t.ImportSpecifier=function(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local))},t._printAttributes=function(e,t){var r,n=this.format.importAttributesKeyword,i=e.attributes,a=e.assertions;i&&!n&&e.extra&&(e.extra.deprecatedAssertSyntax||e.extra.deprecatedWithLegacySyntax)&&!p&&(p=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));var s="assert"===n||!n&&a;if(this.word(s?"assert":"with"),this.space(),s||"with-legacy"!==n&&(n||null==(r=e.extra)||!r.deprecatedWithLegacySyntax)){var o=t?1:0;this.token("{",null,o),this.space(),this.printList(i||a,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,o)}else this.printList(i||a)};var n=r(7078),i=r(4827),a=n.isClassDeclaration,s=n.isExportDefaultSpecifier,o=n.isExportNamespaceSpecifier,l=n.isImportDefaultSpecifier,u=n.isImportNamespaceSpecifier,c=n.isStatement,p=!1;function h(e,t){a(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators)}},6283:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=function(e){this.word("break"),p(this,e.label)},t.CatchClause=function(e){this.word("catch"),this.space(),e.param&&(this.tokenChar(40),this.print(e.param),this.print(e.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(e.body)},t.ContinueStatement=function(e){this.word("continue"),p(this,e.label)},t.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},t.DoWhileStatement=function(e){this.word("do"),this.space(),this.print(e.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.semicolon()},t.ForOfStatement=t.ForInStatement=void 0,t.ForStatement=function(e){this.word("for"),this.space(),this.tokenChar(40);var t=this.enterForStatementInit();this.print(e.init),t(),this.tokenChar(59),e.test&&(this.space(),this.print(e.test)),this.token(";",!1,1),e.update&&(this.space(),this.print(e.update)),this.tokenChar(41),this.printBlock(e)},t.IfStatement=function(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.space();var t=e.alternate&&o(u(e.consequent));t&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(e.consequent),t&&(this.dedent(),this.newline(),this.tokenChar(125)),e.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate))},t.LabeledStatement=function(e){this.print(e.label),this.tokenChar(58),this.space(),this.print(e.body)},t.ReturnStatement=function(e){this.word("return"),p(this,e.argument)},t.SwitchCase=function(e){e.test?(this.word("case"),this.space(),this.print(e.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),e.consequent.length&&(this.newline(),this.printSequence(e.consequent,!0))},t.SwitchStatement=function(e){this.word("switch"),this.space(),this.tokenChar(40),this.print(e.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(e.cases,!0,void 0,(function(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1})),this.rightBrace(e)},t.ThrowStatement=function(e){this.word("throw"),p(this,e.argument)},t.TryStatement=function(e){this.word("try"),this.space(),this.print(e.block),this.space(),e.handlers?this.print(e.handlers[0]):this.print(e.handler),e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer))},t.VariableDeclaration=function(e,t){e.declare&&(this.word("declare"),this.space());var r=e.kind;"await using"===r?(this.word("await"),this.space(),this.word("using",!0)):this.word(r,"using"===r),this.space();var i=!1;if(!a(t)){var o,l=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}(e.declarations);try{for(l.s();!(o=l.n()).done;)o.value.init&&(i=!0)}catch(e){l.e(e)}finally{l.f()}}if(this.printList(e.declarations,void 0,void 0,e.declarations.length>1,i?function(e){this.token(",",!1,e),this.newline()}:void 0),a(t))if(s(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()},t.VariableDeclarator=function(e){this.print(e.id),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init))},t.WhileStatement=function(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.printBlock(e)},t.WithStatement=function(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object),this.tokenChar(41),this.printBlock(e)};var i=r(7078),a=i.isFor,s=i.isForStatement,o=i.isIfStatement,l=i.isStatement;function u(e){var t=e.body;return!1===l(t)?e:u(t)}function c(e){this.word("for"),this.space();var t="ForOfStatement"===e.type;t&&e.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);var r=this.enterForXStatementInit(t);this.print(e.left),null==r||r(),this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right),this.tokenChar(41),this.printBlock(e)}function p(e,t){t&&(e.space(),e.printTerminatorless(t)),e.semicolon()}t.ForInStatement=c,t.ForOfStatement=c},1172:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaggedTemplateExpression=function(e){this.print(e.tag),this.print(e.typeParameters),this.print(e.quasi)},t.TemplateElement=function(){throw new Error("TemplateElement printing is handled in TemplateLiteral")},t.TemplateLiteral=function(e){this._printTemplate(e,e.expressions)},t._printTemplate=function(e,t){for(var r=e.quasis,n="`",i=0;i<r.length-1;i++)if(n+=r[i].value.raw,this.token(n+"${",!0),this.print(t[i]),n="}",this.tokenMap){var a=this.tokenMap.findMatching(e,"}",i);a&&this._catchUpTo(a.loc.start)}n+=r[r.length-1].value.raw,this.token(n+"`",!0)}},8796:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentPlaceholder=function(){this.tokenChar(63)},t.ArrayPattern=t.ArrayExpression=function(e){var t=e.elements,r=t.length;this.tokenChar(91);for(var n=this.enterDelimited(),i=0;i<t.length;i++){var a=t[i];a?(i>0&&this.space(),this.print(a),(i<r-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,i)):this.token(",",!1,i)}n(),this.tokenChar(93)},t.BigIntLiteral=function(e){var t=this.getPossibleRaw(e);this.format.minified||void 0===t?this.word(e.value+"n"):this.word(t)},t.BooleanLiteral=function(e){this.word(e.value?"true":"false")},t.Identifier=function(e){var t;this.sourceIdentifierName((null==(t=e.loc)?void 0:t.identifierName)||e.name),this.word(this.tokenMap?this._getRawIdentifier(e):e.name)},t.NullLiteral=function(){this.word("null")},t.NumericLiteral=function(e){var t=this.getPossibleRaw(e),r=this.format.jsescOption,n=e.value,a=n+"";r.numbers?this.number(i(n,r),n):null==t?this.number(a,n):this.format.minified?this.number(t.length<a.length?t:a,n):this.number(t,n)},t.ObjectPattern=t.ObjectExpression=function(e){var t=e.properties;if(this.tokenChar(123),t.length){var r=this.enterDelimited();this.space(),this.printList(t,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),r()}this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)},t.ObjectMethod=function(e){this.printJoin(e.decorators),this._methodHead(e),this.space(),this.print(e.body)},t.ObjectProperty=function(e){if(this.printJoin(e.decorators),e.computed)this.tokenChar(91),this.print(e.key),this.tokenChar(93);else{if(a(e.value)&&s(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value);if(this.print(e.key),e.shorthand&&s(e.key)&&s(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value)},t.PipelineBareFunction=function(e){this.print(e.callee)},t.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},t.PipelineTopicExpression=function(e){this.print(e.expression)},t.RecordExpression=function(e){var t,r,n=e.properties;if("bar"===this.format.recordAndTupleSyntaxType)t="{|",r="|}";else{if("hash"!==this.format.recordAndTupleSyntaxType&&null!=this.format.recordAndTupleSyntaxType)throw new Error('The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" ('.concat(JSON.stringify(this.format.recordAndTupleSyntaxType)," received)."));t="#{",r="}"}this.token(t),n.length&&(this.space(),this.printList(n,this.shouldPrintTrailingComma(r),!0,!0),this.space()),this.token(r)},t.RegExpLiteral=function(e){this.word("/".concat(e.pattern,"/").concat(e.flags))},t.SpreadElement=t.RestElement=function(e){this.token("..."),this.print(e.argument)},t.StringLiteral=function(e){var t=this.getPossibleRaw(e);if(this.format.minified||void 0===t){var r=i(e.value,this.format.jsescOption);this.token(r)}else this.token(t)},t.TopicReference=function(){var e=this.format.topicToken;if(!u.has(e)){var t=JSON.stringify(e),r=Array.from(u,(function(e){return JSON.stringify(e)}));throw new Error('The "topicToken" generator option must be one of '+"".concat(r.join(", ")," (").concat(t," received instead)."))}this.token(e)},t.TupleExpression=function(e){var t,r,n=e.elements,i=n.length;if("bar"===this.format.recordAndTupleSyntaxType)t="[|",r="|]";else{if("hash"!==this.format.recordAndTupleSyntaxType)throw new Error("".concat(this.format.recordAndTupleSyntaxType," is not a valid recordAndTuple syntax type"));t="#[",r="]"}this.token(t);for(var a=0;a<n.length;a++){var s=n[a];s&&(a>0&&this.space(),this.print(s),(a<i-1||this.shouldPrintTrailingComma(r))&&this.token(",",!1,a))}this.token(r)},t.VoidPattern=function(){this.word("void")},t._getRawIdentifier=function(e){if(e===o)return l;o=e;var t=e.name,r=this.tokenMap.find(e,(function(e){return e.value===t}));return l=r?this._originalCode.slice(r.start,r.end):e.name};var n=r(7078),i=r(8321),a=n.isAssignmentPattern,s=n.isIdentifier,o=null,l="",u=new Set(["^^","@@","^","%","#"])},4694:(e,t)=>{"use strict";function r(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){e.tokenMap&&t.start&&t.end?e.tokenMap.endMatches(t,",")?e.token(","):e.tokenMap.endMatches(t,";")&&e.semicolon():e.semicolon()}function a(e,t,r){var n,i=0;null!=(n=e.tokenMap)&&n.startMatches(t,r)&&(i=1,e.token(r)),e.printJoin(t.types,void 0,void 0,(function(e){this.space(),this.token(r,null,e+i),this.space()}))}function s(e,t){!0!==t&&e.token(t)}function o(e){var t=this;l(this,e,(function(){var r;return t.printList(e.members,null==(r=t.shouldPrintTrailingComma("}"))||r,!0,!0)}))}function l(e,t,r){e.token("{");var n=e.enterDelimited();r(),n(),e.rightBrace(t)}function u(e,t,n){var i,a,s=new Set,o=r(n);try{for(o.s();!(a=o.n()).done;){var l=a.value;l&&s.add(l)}}catch(e){o.e(e)}finally{o.f()}null==(i=e.tokenMap)||i.find(t,(function(t){if(s.has(t.value))return e.token(t.value),e.space(),s.delete(t.value),0===s.size}));var u,c=r(s);try{for(c.s();!(u=c.n()).done;){var p=u.value;e.word(p),e.space()}}catch(e){c.e(e)}finally{c.f()}}Object.defineProperty(t,"__esModule",{value:!0}),t.TSAnyKeyword=function(){this.word("any")},t.TSArrayType=function(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)},t.TSSatisfiesExpression=t.TSAsExpression=function(e){var t=e.type,r=e.expression,n=e.typeAnnotation;this.print(r,!0),this.space(),this.word("TSAsExpression"===t?"as":"satisfies"),this.space(),this.print(n)},t.TSBigIntKeyword=function(){this.word("bigint")},t.TSBooleanKeyword=function(){this.word("boolean")},t.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e),i(this,e)},t.TSInterfaceHeritage=t.TSClassImplements=function(e){this.print(e.expression),this.print(e.typeArguments)},t.TSConditionalType=function(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(e.trueType),this.space(),this.tokenChar(58),this.space(),this.print(e.falseType)},t.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),i(this,e)},t.TSConstructorType=function(e){e.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},t.TSDeclareFunction=function(e,t){e.declare&&(this.word("declare"),this.space()),this._functionHead(e,t),this.semicolon()},t.TSDeclareMethod=function(e){this._classMethodHead(e),this.semicolon()},t.TSEnumBody=o,t.TSEnumDeclaration=function(e){var t=e.declare,r=e.const,n=e.id;t&&(this.word("declare"),this.space()),r&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(n),this.space(),o.call(this,e)},t.TSEnumMember=function(e){var t=e.id,r=e.initializer;this.print(t),r&&(this.space(),this.tokenChar(61),this.space(),this.print(r))},t.TSExportAssignment=function(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression),this.semicolon()},t.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression),this.tokenChar(41)},t.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(e)},t.TSImportEqualsDeclaration=function(e){var t=e.id,r=e.moduleReference;e.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(t),this.space(),this.tokenChar(61),this.space(),this.print(r),this.semicolon()},t.TSImportType=function(e){var t=e.argument,r=e.qualifier,n=e.options;this.word("import"),this.tokenChar(40),this.print(t),n&&(this.tokenChar(44),this.print(n)),this.tokenChar(41),r&&(this.tokenChar(46),this.print(r));var i=e.typeParameters;i&&this.print(i)},t.TSIndexSignature=function(e){var t=e.readonly;e.static&&(this.word("static"),this.space()),t&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(e.parameters,"]"),this.print(e.typeAnnotation),i(this,e)},t.TSIndexedAccessType=function(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.TSInferType=function(e){this.word("infer"),this.print(e.typeParameter)},t.TSInstantiationExpression=function(e){this.print(e.expression),this.print(e.typeParameters)},t.TSInterfaceBody=function(e){var t=this;l(this,e,(function(){return t.printJoin(e.body,!0,!0)}))},t.TSInterfaceDeclaration=function(e){var t=e.declare,r=e.id,n=e.typeParameters,i=e.extends,a=e.body;t&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(r),this.print(n),null!=i&&i.length&&(this.space(),this.word("extends"),this.space(),this.printList(i)),this.space(),this.print(a)},t.TSIntersectionType=function(e){a(this,e,"&")},t.TSIntrinsicKeyword=function(){this.word("intrinsic")},t.TSLiteralType=function(e){this.print(e.literal)},t.TSMappedType=function(e){var t=e.nameType,r=e.optional,n=e.readonly,i=e.typeAnnotation;this.tokenChar(123);var a=this.enterDelimited();this.space(),n&&(s(this,n),this.word("readonly"),this.space()),this.tokenChar(91),this.word(e.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(e.typeParameter.constraint),t&&(this.space(),this.word("as"),this.space(),this.print(t)),this.tokenChar(93),r&&(s(this,r),this.tokenChar(63)),i&&(this.tokenChar(58),this.space(),this.print(i)),this.space(),a(),this.tokenChar(125)},t.TSMethodSignature=function(e){var t=e.kind;"set"!==t&&"get"!==t||(this.word(t),this.space()),this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),i(this,e)},t.TSModuleBlock=function(e){var t=this;l(this,e,(function(){return t.printSequence(e.body,!0)}))},t.TSModuleDeclaration=function(e){var t=e.declare,r=e.id,n=e.kind;if(t&&(this.word("declare"),this.space()),e.global||(this.word(null!=n?n:"Identifier"===r.type?"namespace":"module"),this.space()),this.print(r),e.body){for(var i=e.body;"TSModuleDeclaration"===i.type;)this.tokenChar(46),this.print(i.id),i=i.body;this.space(),this.print(i)}else this.semicolon()},t.TSNamedTupleMember=function(e){this.print(e.label),e.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(e.elementType)},t.TSNamespaceExportDeclaration=function(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id),this.semicolon()},t.TSNeverKeyword=function(){this.word("never")},t.TSNonNullExpression=function(e){this.print(e.expression),this.tokenChar(33)},t.TSNullKeyword=function(){this.word("null")},t.TSNumberKeyword=function(){this.word("number")},t.TSObjectKeyword=function(){this.word("object")},t.TSOptionalType=function(e){this.print(e.typeAnnotation),this.tokenChar(63)},t.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space()),e.readonly&&(this.word("readonly"),this.space()),this._param(e.parameter)},t.TSParenthesizedType=function(e){this.tokenChar(40),this.print(e.typeAnnotation),this.tokenChar(41)},t.TSPropertySignature=function(e){e.readonly&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation),i(this,e)},t.TSQualifiedName=function(e){this.print(e.left),this.tokenChar(46),this.print(e.right)},t.TSRestType=function(e){this.token("..."),this.print(e.typeAnnotation)},t.TSStringKeyword=function(){this.word("string")},t.TSSymbolKeyword=function(){this.word("symbol")},t.TSTemplateLiteralType=function(e){this._printTemplate(e,e.types)},t.TSThisType=function(){this.word("this")},t.TSTupleType=function(e){this.tokenChar(91),this.printList(e.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)},t.TSTypeAliasDeclaration=function(e){var t=e.declare,r=e.id,n=e.typeParameters,i=e.typeAnnotation;t&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(r),this.print(n),this.space(),this.tokenChar(61),this.space(),this.print(i),this.semicolon()},t.TSTypeAnnotation=function(e,t){this.token("TSFunctionType"!==t.type&&"TSConstructorType"!==t.type||t.typeAnnotation!==e?":":"=>"),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t.TSTypeAssertion=function(e){var t=e.typeAnnotation,r=e.expression;this.tokenChar(60),this.print(t),this.tokenChar(62),this.space(),this.print(r)},t.TSTypeLiteral=function(e){var t=this;l(this,e,(function(){return t.printJoin(e.members,!0,!0)}))},t.TSTypeOperator=function(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation)},t.TSTypeParameter=function(e){e.const&&(this.word("const"),this.space()),e.in&&(this.word("in"),this.space()),e.out&&(this.word("out"),this.space()),this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint)),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default))},t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=function(e,t){var r=this;this.tokenChar(60);var n="ArrowFunctionExpression"===t.type&&1===e.params.length;this.tokenMap&&null!=e.start&&null!=e.end&&(n&&(n=!!this.tokenMap.find(e,(function(e){return r.tokenMap.matchesOriginal(e,",")}))),n||(n=this.shouldPrintTrailingComma(">"))),this.printList(e.params,n),this.tokenChar(62)},t.TSTypePredicate=function(e){e.asserts&&(this.word("asserts"),this.space()),this.print(e.parameterName),e.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation))},t.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName);var t=e.typeParameters;t&&this.print(t)},t.TSTypeReference=function(e){var t=e.typeParameters;this.print(e.typeName,!!t),this.print(t)},t.TSUndefinedKeyword=function(){this.word("undefined")},t.TSUnionType=function(e){a(this,e,"|")},t.TSUnknownKeyword=function(){this.word("unknown")},t.TSVoidKeyword=function(){this.word("void")},t.tsPrintClassMemberModifiers=function(e){var t="ClassPrivateProperty"===e.type,r="ClassAccessorProperty"===e.type||"ClassProperty"===e.type;u(this,e,[r&&e.declare&&"declare",!t&&e.accessibility]),e.static&&(this.word("static"),this.space()),u(this,e,[!t&&e.abstract&&"abstract",!t&&e.override&&"override",(r||t)&&e.readonly&&"readonly"])},t.tsPrintFunctionOrConstructorType=function(e){var t=e.typeParameters,r=e.parameters;this.print(t),this.tokenChar(40),this._parameters(r,")"),this.space();var n=e.typeAnnotation;this.print(n)},t.tsPrintPropertyOrMethodName=function(e){e.computed&&this.tokenChar(91),this.print(e.key),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)},t.tsPrintSignatureDeclarationBase=function(e){var t=e.typeParameters,r=e.parameters;this.print(t),this.tokenChar(40),this._parameters(r,")");var n=e.typeAnnotation;this.print(n)}},1086:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.generate=u;var s=r(9242),o=r(3538);function l(e,t,r){if(t.experimental_preserveFormat){if("string"!=typeof e)throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!t.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(t.compact&&"auto"!==t.compact)throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(t.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(t.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(r.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attached the token of the input code. Make sure to enable the `tokens: true` parser option.")}var n,i={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,preserveFormat:t.experimental_preserveFormat,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};i.decoratorsBeforeExport=t.decoratorsBeforeExport,i.jsescOption.json=t.jsonCompatibleStrings,i.recordAndTupleSyntaxType=null!=(n=t.recordAndTupleSyntaxType)?n:"hash",i.minified?(i.compact=!0,i.shouldPrintComment=i.shouldPrintComment||function(){return i.comments}):i.shouldPrintComment=i.shouldPrintComment||function(e){return i.comments||e.includes("@license")||e.includes("@preserve")},"auto"===i.compact&&(i.compact="string"==typeof e&&e.length>5e5,i.compact&&console.error("[BABEL] Note: The code generator has deoptimised the styling of "+"".concat(t.filename," as it exceeds the max of ","500KB","."))),(i.compact||i.preserveFormat)&&(i.indent.adjustMultilineComment=!1);var a=i.auxiliaryCommentBefore,s=i.auxiliaryCommentAfter,o=i.shouldPrintComment;return a&&!o(a)&&(i.auxiliaryCommentBefore=void 0),s&&!o(s)&&(i.auxiliaryCommentAfter=void 0),i}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=l(r,t,e),i=t.sourceMaps?new s.default(t,r):null;return new o.default(n,i,e.tokens,"string"==typeof r?r:null).generate(e)}t.CodeGenerator=function(){return e=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=t,this._format=l(n,r,t),this._map=r.sourceMaps?new s.default(r,n):null},(t=[{key:"generate",value:function(){return new o.default(this._format,this._map).generate(this._ast)}}])&&i(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),t.default=u},4827:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.TokenContext=void 0,t.isLastChild=function(e,t){for(var r=u[e.type],n=r.length-1;n>=0;n--){var i=e[r[n]];if(i===t)return!0;if(Array.isArray(i)){for(var a=i.length-1;a>=0&&null===i[a];)a--;return a>=0&&i[a]===t}if(i)return!1}return!1},t.needsParens=function(e,t,r,n){var i;return!!t&&(!(!f(t)||t.callee!==e||!T(e))||(p(t)?!(S(e)||c(e)&&S(e.callee)||y(e)):null==(i=v.get(e.type))?void 0:i(e,t,r,n)))},t.needsWhitespace=b,t.needsWhitespaceAfter=function(e,t){return b(e,t,2)},t.needsWhitespaceBefore=function(e,t){return b(e,t,1)};var a=r(7478),s=r(6063),o=r(7078),l=o.FLIPPED_ALIAS_KEYS,u=o.VISITOR_KEYS,c=o.isCallExpression,p=o.isDecorator,h=o.isExpressionStatement,d=o.isMemberExpression,f=o.isNewExpression,y=o.isParenthesizedExpression;function m(e){var t=new Map;function r(e,r){var n=t.get(e);t.set(e,n?function(e,t,i,a){var s;return null!=(s=n(e,t,i,a))?s:r(e,t,i,a)}:r)}for(var i=0,a=Object.keys(e);i<a.length;i++){var s=a[i],o=l[s];if(o){var u,c=n(o);try{for(c.s();!(u=c.n()).done;)r(u.value,e[s])}catch(e){c.e(e)}finally{c.f()}}else r(s,e[s])}return t}t.TokenContext={normal:0,expressionStatement:1,arrowBody:2,exportDefault:4,arrowFlowReturnType:8,forInitHead:16,forInHead:32,forOfHead:64,forInOrInitHeadAccumulate:128,forInOrInitHeadAccumulatePassThroughMask:128};var v=m(s),g=m(a.nodes);function T(e){return!!c(e)||d(e)&&T(e.object)}function b(e,t,r){var n;if(!e)return!1;h(e)&&(e=e.expression);var i=null==(n=g.get(e.type))?void 0:n(e,t);return"number"==typeof i&&!!(i&r)}function S(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&"Identifier"===e.property.type&&S(e.object);default:return!1}}},6063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AssignmentExpression=function(e,t,r){return!(!b(r)||!p(e.left))||E(e,t)},t.Binary=S,t.BinaryExpression=function(e,t,r){return"in"===e.operator&&Boolean(r&i.TokenContext.forInOrInitHeadAccumulate)},t.ClassExpression=function(e,t,r){return Boolean(r&(i.TokenContext.expressionStatement|i.TokenContext.exportDefault))},t.ArrowFunctionExpression=t.ConditionalExpression=E,t.DoExpression=function(e,t,r){return!e.async&&Boolean(r&i.TokenContext.expressionStatement)},t.FunctionExpression=function(e,t,r){return Boolean(r&(i.TokenContext.expressionStatement|i.TokenContext.exportDefault))},t.FunctionTypeAnnotation=function(e,t,r){var n=t.type;return"UnionTypeAnnotation"===n||"IntersectionTypeAnnotation"===n||"ArrayTypeAnnotation"===n||Boolean(r&i.TokenContext.arrowFlowReturnType)},t.Identifier=function(e,t,r,n){var a,s=t.type;if(null!=(a=e.extra)&&a.parenthesized&&"AssignmentExpression"===s&&t.left===e){var o=t.right.type;if(("FunctionExpression"===o||"ClassExpression"===o)&&null==t.right.id)return!0}return(!n||n(e)===e.name)&&("let"===e.name?!!((c(t,{object:e,computed:!0})||h(t,{object:e,computed:!0,optional:!1}))&&r&(i.TokenContext.expressionStatement|i.TokenContext.forInitHead|i.TokenContext.forInHead))||Boolean(r&i.TokenContext.forOfHead):"async"===e.name&&l(t,{left:e,await:!1}))},t.LogicalExpression=function(e,t){var r=t.type;if(v(r))return!0;if("LogicalExpression"!==r)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}},t.NullableTypeAnnotation=function(e,t){return a(t)},t.ObjectExpression=function(e,t,r){return b(r)},t.OptionalIndexedAccessType=function(e,t){return u(t)&&t.objectType===e},t.OptionalCallExpression=t.OptionalMemberExpression=function(e,t){return o(t)&&t.callee===e||c(t)&&t.object===e},t.SequenceExpression=function(e,t){var r=t.type;return!("SequenceExpression"===r||"ParenthesizedExpression"===r||"MemberExpression"===r&&t.property===e||"OptionalMemberExpression"===r&&t.property===e||"TemplateLiteral"===r)&&("ClassDeclaration"===r||("ForOfStatement"===r?t.right===e:"ExportDefaultDeclaration"===r||!f(t)))},t.TSSatisfiesExpression=t.TSAsExpression=function(e,t){return("AssignmentExpression"===t.type||"AssignmentPattern"===t.type)&&t.left===e||("BinaryExpression"===t.type&&("|"===t.operator||"&"===t.operator)&&e===t.left||S(e,t))},t.TSConditionalType=function(e,t){var r=t.type;return"TSArrayType"===r||"TSIndexedAccessType"===r&&t.objectType===e||"TSOptionalType"===r||"TSTypeOperator"===r||"TSTypeParameter"===r||(("TSIntersectionType"===r||"TSUnionType"===r)&&t.types[0]===e||"TSConditionalType"===r&&(t.checkType===e||t.extendsType===e))},t.TSConstructorType=t.TSFunctionType=function(e,t){var r=t.type;return"TSIntersectionType"===r||"TSUnionType"===r||"TSTypeOperator"===r||"TSOptionalType"===r||"TSArrayType"===r||"TSIndexedAccessType"===r&&t.objectType===e||"TSConditionalType"===r&&(t.checkType===e||t.extendsType===e)},t.TSInferType=function(e,t){var r=t.type;return"TSArrayType"===r||"TSIndexedAccessType"===r&&t.objectType===e||"TSOptionalType"===r||!(!e.typeParameter.constraint||"TSIntersectionType"!==r&&"TSUnionType"!==r||t.types[0]!==e)},t.TSInstantiationExpression=function(e,t){var r=t.type;return("CallExpression"===r||"OptionalCallExpression"===r||"NewExpression"===r||"TSInstantiationExpression"===r)&&!!t.typeParameters},t.TSIntersectionType=function(e,t){var r=t.type;return"TSTypeOperator"===r||"TSArrayType"===r||"TSIndexedAccessType"===r&&t.objectType===e||"TSOptionalType"===r},t.UnaryLike=t.TSTypeAssertion=x,t.TSTypeOperator=function(e,t){var r=t.type;return"TSArrayType"===r||"TSIndexedAccessType"===r&&t.objectType===e||"TSOptionalType"===r},t.TSUnionType=function(e,t){var r=t.type;return"TSIntersectionType"===r||"TSTypeOperator"===r||"TSArrayType"===r||"TSIndexedAccessType"===r&&t.objectType===e||"TSOptionalType"===r},t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=function(e,t){var r=t.type;return"ArrayTypeAnnotation"===r||"NullableTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"UnionTypeAnnotation"===r},t.UpdateExpression=function(e,t){return T(e,t)||g(e,t)},t.AwaitExpression=t.YieldExpression=function(e,t){var r=t.type;return"BinaryExpression"===r||"LogicalExpression"===r||"UnaryExpression"===r||"SpreadElement"===r||T(e,t)||"AwaitExpression"===r&&d(e)||"ConditionalExpression"===r&&e===t.test||g(e,t)||v(r)};var n=r(7078),i=r(4827),a=n.isArrayTypeAnnotation,s=n.isBinaryExpression,o=n.isCallExpression,l=n.isForOfStatement,u=n.isIndexedAccessType,c=n.isMemberExpression,p=n.isObjectPattern,h=n.isOptionalMemberExpression,d=n.isYieldExpression,f=n.isStatement,y=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function m(e,t){return"BinaryExpression"===t||"LogicalExpression"===t?y.get(e.operator):"TSAsExpression"===t||"TSSatisfiesExpression"===t?y.get("in"):void 0}function v(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}var g=function(e,t){var r=t.type;return("ClassDeclaration"===r||"ClassExpression"===r)&&t.superClass===e},T=function(e,t){var r=t.type;return("MemberExpression"===r||"OptionalMemberExpression"===r)&&t.object===e||("CallExpression"===r||"OptionalCallExpression"===r||"NewExpression"===r)&&t.callee===e||"TaggedTemplateExpression"===r&&t.tag===e||"TSNonNullExpression"===r};function b(e){return Boolean(e&(i.TokenContext.expressionStatement|i.TokenContext.arrowBody))}function S(e,t){var r=t.type;if("BinaryExpression"===e.type&&"**"===e.operator&&"BinaryExpression"===r&&"**"===t.operator)return t.left===e;if(g(e,t))return!0;if(T(e,t)||"UnaryExpression"===r||"SpreadElement"===r||"AwaitExpression"===r)return!0;var n=m(t,r);if(null!=n){var i=m(e,e.type);if(n===i&&"BinaryExpression"===r&&t.right===e||n>i)return!0}}function x(e,t){return T(e,t)||s(t)&&"**"===t.operator&&t.left===e||g(e,t)}function E(e,t){var r=t.type;return!!("UnaryExpression"===r||"SpreadElement"===r||"BinaryExpression"===r||"LogicalExpression"===r||"ConditionalExpression"===r&&t.test===e||"AwaitExpression"===r||v(r))||x(e,t)}},7478:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.nodes=void 0;var i=r(7078),a=i.FLIPPED_ALIAS_KEYS,s=i.isArrayExpression,o=i.isAssignmentExpression,l=i.isBinary,u=i.isBlockStatement,c=i.isCallExpression,p=i.isFunction,h=i.isIdentifier,d=i.isLiteral,f=i.isMemberExpression,y=i.isObjectExpression,m=i.isOptionalCallExpression,v=i.isOptionalMemberExpression,g=i.isStringLiteral;function T(e,t){return e?(f(e)||v(e)?(T(e.object,t),e.computed&&T(e.property,t)):l(e)||o(e)?(T(e.left,t),T(e.right,t)):c(e)||m(e)?(t.hasCall=!0,T(e.callee,t)):p(e)?t.hasFunction=!0:h(e)&&(t.hasHelper=t.hasHelper||e.callee&&S(e.callee)),t):t}function b(e){return T(e,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function S(e){return!!e&&(f(e)?S(e.object)||S(e.property):h(e)?"require"===e.name||95===e.name.charCodeAt(0):c(e)?S(e.callee):!(!l(e)&&!o(e))&&(h(e.left)&&S(e.left)||S(e.right)))}function x(e){return d(e)||y(e)||s(e)||h(e)||f(e)}var E=t.nodes={AssignmentExpression:function(e){var t=b(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction)return t.hasFunction?3:2},SwitchCase:function(e,t){return(e.consequent.length||t.cases[0]===e?1:0)|(e.consequent.length||t.cases[t.cases.length-1]!==e?0:2)},LogicalExpression:function(e){if(p(e.left)||p(e.right))return 2},Literal:function(e){if(g(e)&&"use strict"===e.value)return 2},CallExpression:function(e){if(p(e.callee)||S(e))return 3},OptionalCallExpression:function(e){if(p(e.callee))return 3},VariableDeclaration:function(e){for(var t=0;t<e.declarations.length;t++){var r=e.declarations[t],n=S(r.id)&&!x(r.init);if(!n&&r.init){var i=b(r.init);n=S(r.init)&&i.hasCall||i.hasFunction}if(n)return 3}},IfStatement:function(e){if(u(e.consequent))return 3}};E.ObjectProperty=E.ObjectTypeProperty=E.ObjectMethod=function(e,t){if(t.properties[0]===e)return 1},E.ObjectTypeCallProperty=function(e,t){var r;if(t.callProperties[0]===e&&(null==(r=t.properties)||!r.length))return 1},E.ObjectTypeIndexer=function(e,t){var r,n;if(!(t.indexers[0]!==e||null!=(r=t.properties)&&r.length||null!=(n=t.callProperties)&&n.length))return 1},E.ObjectTypeInternalSlot=function(e,t){var r,n,i;if(!(t.internalSlots[0]!==e||null!=(r=t.properties)&&r.length||null!=(n=t.callProperties)&&n.length||null!=(i=t.indexers)&&i.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach((function(e){var t,r,i=(r=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}(t,r)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=i[0],o=i[1];[s].concat(a[s]||[]).forEach((function(e){var t=o?3:0;E[e]=function(){return t}}))}))},3538:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(2318),o=r(4827),l=o,u=r(7078),c=r(3488),p=r(5941),h=r(6452),d=u.isExpression,f=u.isFunction,y=u.isStatement,m=u.isClassBody,v=u.isTSInterfaceBody,g=u.isTSEnumMember,T=/e/i,b=/\.0+$/,S=/[\n\r\u2028\u2029]/,x=/[\n\r\u2028\u2029]|\*\//;function E(e){return"CommentLine"===e.type||S.test(e.value)}var P=l.needsParens,A=function(){return e=function e(t,r,n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.tokenContext=o.TokenContext.normal,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=t,this._tokens=n,this._originalCode=i,this._indentRepeat=t.indent.style.length,this._inputMap=null==r?void 0:r._inputMap,this._buf=new s.default(r,t.indent.style[0])},t=[{key:"enterForStatementInit",value:function(){var e=this;return this.tokenContext|=o.TokenContext.forInitHead|o.TokenContext.forInOrInitHeadAccumulate,function(){return e.tokenContext=o.TokenContext.normal}}},{key:"enterForXStatementInit",value:function(e){var t=this;return e?(this.tokenContext|=o.TokenContext.forOfHead,null):(this.tokenContext|=o.TokenContext.forInHead|o.TokenContext.forInOrInitHeadAccumulate,function(){return t.tokenContext=o.TokenContext.normal})}},{key:"enterDelimited",value:function(){var e=this,t=this.tokenContext,r=this._noLineTerminatorAfterNode;return t&o.TokenContext.forInOrInitHeadAccumulate||null!==r?(this._noLineTerminatorAfterNode=null,this.tokenContext=o.TokenContext.normal,function(){e._noLineTerminatorAfterNode=r,e.tokenContext=t}):function(){}}},{key:"generate",value:function(e){return this.format.preserveFormat&&(this.tokenMap=new c.TokenMap(e,this._tokens,this._originalCode)),this.print(e),this._maybeAddAuxComment(),this._buf.get()}},{key:"indent",value:function(){var e=this.format;e.preserveFormat||e.compact||e.concise||this._indent++}},{key:"dedent",value:function(){var e=this.format;e.preserveFormat||e.compact||e.concise||this._indent--}},{key:"semicolon",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._maybeAddAuxComment(),e)return this._appendChar(59),void(this._noLineTerminator=!1);if(this.tokenMap){var t=this._currentNode;if(null!=t.start&&null!=t.end){if(!this.tokenMap.endMatches(t,";"))return void(this._printSemicolonBeforeNextNode=this._buf.getCurrentLine());var r=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[r[r.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}},{key:"rightBrace",value:function(e){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}},{key:"rightParens",value:function(e){this.sourceWithOffset("end",e.loc,-1),this.tokenChar(41)}},{key:"space",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.format;if(!t.compact&&!t.preserveFormat)if(e)this._space();else if(this._buf.hasContent()){var r=this.getLastChar();32!==r&&10!==r&&this._space()}}},{key:"word",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.tokenContext&=o.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e),(this._endsWithWord||this._endsWithDiv&&47===e.charCodeAt(0))&&this._space(),this._append(e,!1),this._endsWithWord=!0,this._noLineTerminator=t}},{key:"number",value:function(e,t){this.word(e),this._endsWithInteger=Number.isInteger(t)&&!function(e){if(e.length>2&&48===e.charCodeAt(0)){var t=e.charCodeAt(1);return 98===t||111===t||120===t}return!1}(e)&&!T.test(e)&&!b.test(e)&&46!==e.charCodeAt(e.length-1)}},{key:"token",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.tokenContext&=o.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e,r),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e,r);var n=this.getLastChar(),i=e.charCodeAt(0);(33===n&&("--"===e||61===i)||43===i&&43===n||45===i&&45===n||46===i&&this._endsWithInteger)&&this._space(),this._append(e,t),this._noLineTerminator=!1}},{key:"tokenChar",value:function(e){this.tokenContext&=o.TokenContext.forInOrInitHeadAccumulatePassThroughMask;var t=String.fromCharCode(e);this._maybePrintInnerComments(t),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(t);var r=this.getLastChar();(43===e&&43===r||45===e&&45===r||46===e&&this._endsWithInteger)&&this._space(),this._appendChar(e),this._noLineTerminator=!1}},{key:"newline",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(!(e<=0)){if(!(arguments.length>1?arguments[1]:void 0)){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}e>2&&(e=2),e-=this._buf.getNewlineCount();for(var t=0;t<e;t++)this._newline()}}},{key:"endsWith",value:function(e){return this.getLastChar()===e}},{key:"getLastChar",value:function(){return this._buf.getLastChar()}},{key:"endsWithCharAndNewline",value:function(){return this._buf.endsWithCharAndNewline()}},{key:"removeTrailingNewline",value:function(){this._buf.removeTrailingNewline()}},{key:"exactSource",value:function(e,t){e?(this._catchUp("start",e),this._buf.exactSource(e,t)):t()}},{key:"source",value:function(e,t){t&&(this._catchUp(e,t),this._buf.source(e,t))}},{key:"sourceWithOffset",value:function(e,t,r){t&&!this.format.preserveFormat&&(this._catchUp(e,t),this._buf.sourceWithOffset(e,t,r))}},{key:"sourceIdentifierName",value:function(e,t){if(this._buf._canMarkIdName){var r=this._buf._sourcePosition;r.identifierNamePos=t,r.identifierName=e}}},{key:"_space",value:function(){this._queue(32)}},{key:"_newline",value:function(){this._queue(10)}},{key:"_catchUpToCurrentToken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=this.tokenMap.findMatching(this._currentNode,e,t);r&&this._catchUpTo(r.loc.start),-1!==this._printSemicolonBeforeNextToken&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine()&&(this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1),this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}},{key:"_append",value:function(e,t){this._maybeIndent(e.charCodeAt(0)),this._buf.append(e,t),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}},{key:"_appendChar",value:function(e){this._maybeIndent(e),this._buf.appendChar(e),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}},{key:"_queue",value:function(e){this._maybeIndent(e),this._buf.queue(e),this._endsWithWord=!1,this._endsWithInteger=!1}},{key:"_maybeIndent",value:function(e){this._indent&&10!==e&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}},{key:"_shouldIndent",value:function(e){if(this._indent&&10!==e&&this.endsWith(10))return!0}},{key:"catchUp",value:function(e){if(this.format.retainLines)for(var t=e-this._buf.getCurrentLine(),r=0;r<t;r++)this._newline()}},{key:"_catchUp",value:function(e,t){var r=this.format;if(r.preserveFormat){var n=null==t?void 0:t[e];null!=n&&this._catchUpTo(n)}else r.retainLines&&null!=t&&t[e]&&this.catchUp(t[e].line)}},{key:"_catchUpTo",value:function(e){var t=e.line,r=e.column,n=e.index,i=t-this._buf.getCurrentLine();if(!(i>0&&this._noLineTerminator)){for(var a=0;a<i;a++)this._newline();var s=i>0?r:r-this._buf.getCurrentColumn();if(s>0){var o=this._originalCode?this._originalCode.slice(n-s,n).replace(/(?:[\0-\x08\n\r-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g," "):" ".repeat(s);this._append(o,!1)}}}},{key:"_getIndent",value:function(){return this._indentRepeat*this._indent}},{key:"printTerminatorless",value:function(e){this._noLineTerminator=!0,this.print(e)}},{key:"print",value:function(e,t,r){var n,i,a;if(e){this._endsWithInnerRaw=!1;var s=e.type,u=this.format,c=u.concise;e._compact&&(u.concise=!0);var p=this[s];if(void 0===p)throw new ReferenceError("unknown node of type ".concat(JSON.stringify(s)," with constructor ").concat(JSON.stringify(e.constructor.name)));var h=this._currentNode;this._currentNode=e,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);var f=this._insideAux;this._insideAux=null==e.loc,this._maybeAddAuxComment(this._insideAux&&!f);var y=null==(n=e.extra)?void 0:n.parenthesized,m=y&&u.preserveFormat||y&&u.retainFunctionParens&&"FunctionExpression"===s||P(e,h,this.tokenContext,u.preserveFormat?this._boundGetRawIdentifier:void 0);if(!m&&y&&null!=(i=e.leadingComments)&&i.length&&"CommentBlock"===e.leadingComments[0].type)switch(null==h?void 0:h.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(h.callee!==e)break;default:m=!0}var v,g,T,b=!1;!m&&this._noLineTerminator&&(null!=(a=e.leadingComments)&&a.some(E)||this.format.retainLines&&e.loc&&e.loc.start.line>this._buf.getCurrentLine())&&(m=!0,b=!0),m||(t||(t=h&&this._noLineTerminatorAfterNode===h&&l.isLastChild(h,e)),t&&(null!=(T=e.trailingComments)&&T.some(E)?d(e)&&(m=!0):(v=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=e))),m&&(this.tokenChar(40),b&&this.indent(),this._endsWithInnerRaw=!1,this.tokenContext&o.TokenContext.forInOrInitHeadAccumulate&&(g=this.tokenContext,this.tokenContext=o.TokenContext.normal),v=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(e,h);var S="Program"===s||"File"===s?null:e.loc;this.exactSource(S,p.bind(this,e,h)),m?(this._printTrailingComments(e,h),b&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=t,g&&(this.tokenContext=g)):t&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e,h)):this._printTrailingComments(e,h,r),this._currentNode=h,u.concise=c,this._insideAux=f,void 0!==v&&(this._noLineTerminatorAfterNode=v),this._endsWithInnerRaw=!1}}},{key:"_maybeAddAuxComment",value:function(e){e&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}},{key:"_printAuxBeforeComment",value:function(){if(!this._printAuxAfterOnNextUserNode){this._printAuxAfterOnNextUserNode=!0;var e=this.format.auxiliaryCommentBefore;e&&this._printComment({type:"CommentBlock",value:e},0)}}},{key:"_printAuxAfterComment",value:function(){if(this._printAuxAfterOnNextUserNode){this._printAuxAfterOnNextUserNode=!1;var e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e},0)}}},{key:"getPossibleRaw",value:function(e){var t=e.extra;if(null!=(null==t?void 0:t.raw)&&null!=t.rawValue&&e.value===t.rawValue)return t.raw}},{key:"printJoin",value:function(e,t,r,n,i,a,s,o){if(null!=e&&e.length){if(null==r&&this.format.retainLines){var l,u=null==(l=e[0].loc)?void 0:l.start.line;null!=u&&u!==this._buf.getCurrentLine()&&(r=!0)}r&&this.indent();for(var c={addNewlines:a,nextNodeStartLine:0},p=null==n?void 0:n.bind(this),h=e.length,d=0;d<h;d++){var f,y=e[d];if(y&&(t&&this._printNewline(0===d,c),this.print(y,void 0,o||0),null==s||s(y,d),null!=p&&(d<h-1?p(d,!1):i&&p(d,!0)),t))if(null!=(f=y.trailingComments)&&f.length||(this._lastCommentLine=0),d+1===h)this.newline(1);else{var m,v=e[d+1];c.nextNodeStartLine=(null==(m=v.loc)?void 0:m.start.line)||0,this._printNewline(!0,c)}}r&&this.dedent()}}},{key:"printAndIndentOnComments",value:function(e){var t=e.leadingComments&&e.leadingComments.length>0;t&&this.indent(),this.print(e),t&&this.dedent()}},{key:"printBlock",value:function(e){var t=e.body;"EmptyStatement"!==t.type&&this.space(),this.print(t)}},{key:"_printTrailingComments",value:function(e,t,r){var n=e.innerComments,i=e.trailingComments;null!=n&&n.length&&this._printComments(2,n,e,t,r),null!=i&&i.length&&this._printComments(2,i,e,t,r)}},{key:"_printLeadingComments",value:function(e,t){var r=e.leadingComments;null!=r&&r.length&&this._printComments(0,r,e,t)}},{key:"_maybePrintInnerComments",value:function(e,t){var r;this._endsWithInnerRaw&&this.printInnerComments(null==(r=this.tokenMap)?void 0:r.findMatching(this._currentNode,e,t)),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}},{key:"printInnerComments",value:function(e){var t=this._currentNode,r=t.innerComments;if(null!=r&&r.length){var n=this.endsWith(32),i=this._indentInnerComments,a=this._printedComments.size;i&&this.indent(),this._printComments(1,r,t,void 0,void 0,e),n&&a!==this._printedComments.size&&this.space(),i&&this.dedent()}}},{key:"noIndentInnerCommentsHere",value:function(){this._indentInnerComments=!1}},{key:"printSequence",value:function(e,t,r,n){this.printJoin(e,!0,null!=t&&t,void 0,void 0,n,void 0,r)}},{key:"printList",value:function(e,t,r,n,i,a){this.printJoin(e,r,n,null!=i?i:k,t,void 0,a)}},{key:"shouldPrintTrailingComma",value:function(e){var t=this;if(!this.tokenMap)return null;var r=this.tokenMap.findLastIndex(this._currentNode,(function(r){return t.tokenMap.matchesOriginal(r,e)}));return r<=0?null:this.tokenMap.matchesOriginal(this._tokens[r-1],",")}},{key:"_printNewline",value:function(e,t){var r=this.format;if(!r.retainLines&&!r.compact)if(r.concise)this.space();else if(e){var n=t.nextNodeStartLine,i=this._lastCommentLine;if(n>0&&i>0){var a=n-i;if(a>=0)return void this.newline(a||1)}this._buf.hasContent()&&this.newline(1)}}},{key:"_shouldPrintComment",value:function(e,t){if(e.ignore)return 0;if(this._printedComments.has(e))return 0;if(this._noLineTerminator&&x.test(e.value))return 2;if(t&&this.tokenMap){var r=this.tokenMap.find(this._currentNode,(function(t){return t.value===e.value}));if(r&&r.start>t.start)return 2}return this._printedComments.add(e),this.format.shouldPrintComment(e.value)?1:0}},{key:"_printComment",value:function(e,t){var r=this._noLineTerminator,n="CommentBlock"===e.type,i=n&&1!==t&&!this._noLineTerminator;i&&this._buf.hasContent()&&2!==t&&this.newline(1);var a,s=this.getLastChar();if(91!==s&&123!==s&&40!==s&&this.space(),n){if(a="/*".concat(e.value,"*/"),this.format.indent.adjustMultilineComment){var o,l=null==(o=e.loc)?void 0:o.start.column;if(l){var u=new RegExp("\\n\\s{1,"+l+"}","g");a=a.replace(u,"\n")}if(this.format.concise)a=a.replace(/\n(?!$)/g,"\n");else{var c=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(c+=this._getIndent()),a=a.replace(/\n(?!$)/g,"\n".concat(" ".repeat(c)))}}}else a=r?"/*".concat(e.value,"*/"):"//".concat(e.value);if(this._endsWithDiv&&this._space(),this.tokenMap){var p=this._printSemicolonBeforeNextToken,h=this._printSemicolonBeforeNextNode;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",e.loc),this._append(a,n),this._printSemicolonBeforeNextNode=h,this._printSemicolonBeforeNextToken=p}else this.source("start",e.loc),this._append(a,n);n||r||this.newline(1,!0),i&&3!==t&&this.newline(1)}},{key:"_printComments",value:function(e,t,r,n){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,s=r.loc,o=t.length,l=!!s,u=l?s.start.line:0,c=l?s.end.line:0,p=0,h=0,d=this._noLineTerminator?function(){}:this.newline.bind(this),T=0;T<o;T++){var b=t[T],x=this._shouldPrintComment(b,a);if(2===x){l=!1;break}if(l&&b.loc&&1===x){var E=b.loc.start.line,P=b.loc.end.line;if(0===e){var A=0;0===T?!this._buf.hasContent()||"CommentLine"!==b.type&&E===P||(A=h=1):A=E-p,p=P,d(A),this._printComment(b,1),T+1===o&&(d(Math.max(u-p,h)),p=u)}else if(1===e){var k=E-(0===T?u:p);p=P,d(k),this._printComment(b,1),T+1===o&&(d(Math.min(1,c-p)),p=c)}else{var w=E-(0===T?c-i:p);p=P,d(w),this._printComment(b,1)}}else{if(l=!1,1!==x)continue;if(1===o){var C=b.loc?b.loc.start.line===b.loc.end.line:!S.test(b.value),I=C&&!y(r)&&!m(n)&&!v(n)&&!g(r);0===e?this._printComment(b,I&&"ObjectExpression"!==r.type||C&&f(n,{body:r})?1:0):I&&2===e?this._printComment(b,1):this._printComment(b,0)}else 1!==e||"ObjectExpression"===r.type&&r.properties.length>1||"ClassBody"===r.type||"TSInterfaceBody"===r.type?this._printComment(b,0):this._printComment(b,0===T?2:T===o-1?3:0)}}2===e&&l&&p&&(this._lastCommentLine=p)}}],t&&i(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function k(e,t){this.token(",",!1,e),t||this.space()}Object.assign(A.prototype,p),(0,h.addDeprecatedGenerators)(A),t.default=A},9242:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(6656),o=r(5114),l=function(){return e=function e(t,r){var i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;var a=this._map=new s.GenMapping({sourceRoot:t.sourceRoot});if(this._sourceFileName=null==(i=t.sourceFileName)?void 0:i.replace(/\\/g,"/"),this._rawMappings=void 0,t.inputSourceMap){this._inputMap=new o.TraceMap(t.inputSourceMap);var l=this._inputMap.resolvedSources;if(l.length)for(var u=0;u<l.length;u++){var c;(0,s.setSourceContent)(a,l[u],null==(c=this._inputMap.sourcesContent)?void 0:c[u])}}if("string"!=typeof r||t.inputSourceMap){if("object"===n(r))for(var p=0,h=Object.keys(r);p<h.length;p++){var d=h[p];(0,s.setSourceContent)(a,d.replace(/\\/g,"/"),r[d])}}else(0,s.setSourceContent)(a,this._sourceFileName,r)},(t=[{key:"get",value:function(){return(0,s.toEncodedMap)(this._map)}},{key:"getDecoded",value:function(){return(0,s.toDecodedMap)(this._map)}},{key:"getRawMappings",value:function(){return this._rawMappings||(this._rawMappings=(0,s.allMappings)(this._map))}},{key:"mark",value:function(e,t,r,n,i,a){var l,u;if(this._rawMappings=void 0,null!=t)if(this._inputMap){if(!(u=(0,o.originalPositionFor)(this._inputMap,{line:t,column:r})).name&&i){var c=(0,o.originalPositionFor)(this._inputMap,i);c.name&&(n=c.name)}}else u={source:(null==a?void 0:a.replace(/\\/g,"/"))||this._sourceFileName,line:t,column:r};(0,s.maybeAddMapping)(this._map,{name:n,generated:e,source:null==(l=u)?void 0:l.source,original:u})}}])&&i(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();t.default=l},3488:(e,t,r)=>{"use strict";function n(){n=function(){return t};var e,t={},r=Object.prototype,i=r.hasOwnProperty,s=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function h(e,t,r,n){var i=t&&t.prototype instanceof T?t:T,a=Object.create(i.prototype),o=new D(n||[]);return s(a,"_invoke",{value:C(e,r,o)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var f="suspendedStart",y="suspendedYield",m="executing",v="completed",g={};function T(){}function b(){}function S(){}var x={};p(x,l,(function(){return this}));var E=Object.getPrototypeOf,P=E&&E(E(_([])));P&&P!==r&&i.call(P,l)&&(x=P);var A=S.prototype=T.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,s,o,l){var u=d(e[n],e,s);if("throw"!==u.type){var c=u.arg,p=c.value;return p&&"object"==a(p)&&i.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,o,l)}),(function(e){r("throw",e,o,l)})):t.resolve(p).then((function(e){c.value=e,o(c)}),(function(e){return r("throw",e,o,l)}))}l(u.arg)}var n;s(this,"_invoke",{value:function(e,i){function a(){return new t((function(t,n){r(e,i,t,n)}))}return n=n?n.then(a,a):a()}})}function C(t,r,n){var i=f;return function(a,s){if(i===m)throw Error("Generator is already running");if(i===v){if("throw"===a)throw s;return{value:e,done:!0}}for(n.method=a,n.arg=s;;){var o=n.delegate;if(o){var l=I(o,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=m;var u=d(t,r,n);if("normal"===u.type){if(i=n.done?v:y,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=v,n.method="throw",n.arg=u.arg)}}}function I(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,I(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=d(i,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var s=a.arg;return s?s.done?(r[t.resultName]=s.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):s:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function _(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,s=function r(){for(;++n<t.length;)if(i.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return s.next=s}}throw new TypeError(a(t)+" is not iterable")}return b.prototype=S,s(A,"constructor",{value:S,configurable:!0}),s(S,"constructor",{value:b,configurable:!0}),b.displayName=p(S,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,p(e,c,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},k(w.prototype),p(w.prototype,u,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var s=new w(h(e,r,n,i),a);return t.isGeneratorFunction(r)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},k(A),p(A,c,"Generator"),p(A,l,(function(){return this})),p(A,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=_,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,i){return o.type="throw",o.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var s=this.tryEntries[a],o=s.completion;if("root"===s.tryLoc)return n("end");if(s.tryLoc<=this.prev){var l=i.call(s,"catchLoc"),u=i.call(s,"finallyLoc");if(l&&u){if(this.prev<s.catchLoc)return n(s.catchLoc,!0);if(this.prev<s.finallyLoc)return n(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return n(s.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return n(s.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=e,s.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),N(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;N(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:_(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var i=n().mark(f);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function u(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}Object.defineProperty(t,"__esModule",{value:!0}),t.TokenMap=void 0;var c=r(7078),p=c.traverseFast,h=c.VISITOR_KEYS,d=function(){return e=function e(t,r,n){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=r,this._source=n,p(t,(function(e){var t=i._getTokensIndexesOfNode(e);t.length>0&&i._nodesToTokenIndexes.set(e,t)})),this._tokensCache=null},t=[{key:"has",value:function(e){return this._nodesToTokenIndexes.has(e)}},{key:"getIndexes",value:function(e){return this._nodesToTokenIndexes.get(e)}},{key:"find",value:function(e,t){var r=this._nodesToTokenIndexes.get(e);if(r)for(var n=0;n<r.length;n++){var i=r[n],a=this._tokens[i];if(t(a,i))return a}return null}},{key:"findLastIndex",value:function(e,t){var r=this._nodesToTokenIndexes.get(e);if(r)for(var n=r.length-1;n>=0;n--){var i=r[n];if(t(this._tokens[i],i))return i}return-1}},{key:"findMatching",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=this._nodesToTokenIndexes.get(e);if(n){var i=0,a=r;if(a>1){var s=this._nodesOccurrencesCountCache.get(e);s&&s.test===t&&s.count<a&&(i=s.i+1,r-=s.count+1)}for(;i<n.length;i++){var o=this._tokens[n[i]];if(this.matchesOriginal(o,t)){if(0===r)return a>0&&this._nodesOccurrencesCountCache.set(e,{test:t,count:a,i}),o;r--}}}return null}},{key:"matchesOriginal",value:function(e,t){return e.end-e.start===t.length&&(null!=e.value?e.value===t:this._source.startsWith(t,e.start))}},{key:"startMatches",value:function(e,t){var r=this._nodesToTokenIndexes.get(e);if(!r)return!1;var n=this._tokens[r[0]];return n.start===e.start&&this.matchesOriginal(n,t)}},{key:"endMatches",value:function(e,t){var r=this._nodesToTokenIndexes.get(e);if(!r)return!1;var n=this._tokens[r[r.length-1]];return n.end===e.end&&this.matchesOriginal(n,t)}},{key:"_getTokensIndexesOfNode",value:function(e){if(null==e.start||null==e.end)return[];var t=this._findTokensOfNode(e,0,this._tokens.length-1),r=t.first,n=t.last,i=r,a=f(e);"ExportNamedDeclaration"!==e.type&&"ExportDefaultDeclaration"!==e.type||!e.declaration||"ClassDeclaration"!==e.declaration.type||a.next();var o,l=[],u=s(a);try{for(u.s();!(o=u.n()).done;){var c=o.value;if(null!=c&&null!=c.start&&null!=c.end){for(var p=this._findTokensOfNode(c,i,n),h=p.first,d=i;d<h;d++)l.push(d);i=p.last+1}}}catch(e){u.e(e)}finally{u.f()}for(var y=i;y<=n;y++)l.push(y);return l}},{key:"_findTokensOfNode",value:function(e,t,r){var n=this._tokensCache.get(e);if(n)return n;var i=this._findFirstTokenOfNode(e.start,t,r),a=this._findLastTokenOfNode(e.end,i,r);return this._tokensCache.set(e,{first:i,last:a}),{first:i,last:a}}},{key:"_findFirstTokenOfNode",value:function(e,t,r){for(;t<=r;){var n=r+t>>1;if(e<this._tokens[n].start)r=n-1;else{if(!(e>this._tokens[n].start))return n;t=n+1}}return t}},{key:"_findLastTokenOfNode",value:function(e,t,r){for(;t<=r;){var n=r+t>>1;if(e<this._tokens[n].end)r=n-1;else{if(!(e>this._tokens[n].end))return n;t=n+1}}return r}}],t&&l(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function f(e){var t,r,a,o,l,u;return n().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if("TemplateLiteral"!==e.type){n.next=13;break}return n.next=3,e.quasis[0];case 3:t=1;case 4:if(!(t<e.quasis.length)){n.next=12;break}return n.next=7,e.expressions[t-1];case 7:return n.next=9,e.quasis[t];case 9:t++,n.next=4;break;case 12:return n.abrupt("return");case 13:r=h[e.type],a=s(r),n.prev=15,a.s();case 17:if((o=a.n()).done){n.next=30;break}if(l=o.value,u=e[l]){n.next=22;break}return n.abrupt("continue",28);case 22:if(!Array.isArray(u)){n.next=26;break}return n.delegateYield(u,"t0",24);case 24:n.next=28;break;case 26:return n.next=28,u;case 28:n.next=17;break;case 30:n.next=35;break;case 32:n.prev=32,n.t1=n.catch(15),a.e(n.t1);case 35:return n.prev=35,a.f(),n.finish(35);case 38:case"end":return n.stop()}}),i,null,[[15,32,35,38]])}t.TokenMap=d},8979:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readCodePoint=u,t.readInt=l,t.readStringContents=function(e,t,r,n,i,o){for(var l=r,u=n,c=i,p="",h=null,d=r,f=t.length;;){if(r>=f){o.unterminated(l,u,c),p+=t.slice(d,r);break}var y=t.charCodeAt(r);if(a(e,y,t,r)){p+=t.slice(d,r);break}if(92===y){p+=t.slice(d,r);var m=s(t,r,n,i,"template"===e,o);null!==m.ch||h?p+=m.ch:h={pos:r,lineStart:n,curLine:i},r=m.pos,n=m.lineStart,i=m.curLine,d=r}else 8232===y||8233===y?(++i,n=++r):10===y||13===y?"template"===e?(p+=t.slice(d,r)+"\n",++r,13===y&&10===t.charCodeAt(r)&&++r,++i,d=n=r):o.unterminated(l,u,c):++r}return{pos:r,str:p,firstInvalidLoc:h,lineStart:n,curLine:i,containsInvalid:!!h}};var r=function(e){return e>=48&&e<=57},n={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},i={bin:function(e){return 48===e||49===e},oct:function(e){return e>=48&&e<=55},dec:function(e){return e>=48&&e<=57},hex:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}};function a(e,t,r,n){return"template"===e?96===t||36===t&&123===r.charCodeAt(n+1):t===("double"===e?34:39)}function s(e,t,r,n,i,a){var s=!i;t++;var l=function(e){return{pos:t,ch:e,lineStart:r,curLine:n}},c=e.charCodeAt(t++);switch(c){case 110:return l("\n");case 114:return l("\r");case 120:var p,h=o(e,t,r,n,2,!1,s,a);return p=h.code,t=h.pos,l(null===p?null:String.fromCharCode(p));case 117:var d,f=u(e,t,r,n,s,a);return d=f.code,t=f.pos,l(null===d?null:String.fromCodePoint(d));case 116:return l("\t");case 98:return l("\b");case 118:return l("\v");case 102:return l("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++n;case 8232:case 8233:return l("");case 56:case 57:if(i)return l(null);a.strictNumericEscape(t-1,r,n);default:if(c>=48&&c<=55){var y=t-1,m=/^[0-7]+/.exec(e.slice(y,t+2))[0],v=parseInt(m,8);v>255&&(m=m.slice(0,-1),v=parseInt(m,8)),t+=m.length-1;var g=e.charCodeAt(t);if("0"!==m||56===g||57===g){if(i)return l(null);a.strictNumericEscape(y,r,n)}return l(String.fromCharCode(v))}return l(String.fromCharCode(c))}}function o(e,t,r,n,i,a,s,o){var u,c=t,p=l(e,t,r,n,16,i,a,!1,o,!s);return u=p.n,t=p.pos,null===u&&(s?o.invalidEscapeSequence(c,r,n):t=c-1),{code:u,pos:t}}function l(e,t,a,s,o,l,u,c,p,h){for(var d=t,f=16===o?n.hex:n.decBinOct,y=16===o?i.hex:10===o?i.dec:8===o?i.oct:i.bin,m=!1,v=0,g=0,T=null==l?1/0:l;g<T;++g){var b=e.charCodeAt(t),S=void 0;if(95!==b||"bail"===c){if((S=b>=97?b-97+10:b>=65?b-65+10:r(b)?b-48:1/0)>=o){if(S<=9&&h)return{n:null,pos:t};if(S<=9&&p.invalidDigit(t,a,s,o))S=0;else{if(!u)break;S=0,m=!0}}++t,v=v*o+S}else{var x=e.charCodeAt(t-1),E=e.charCodeAt(t+1);if(c){if(Number.isNaN(E)||!y(E)||f.has(x)||f.has(E)){if(h)return{n:null,pos:t};p.unexpectedNumericSeparator(t,a,s)}}else{if(h)return{n:null,pos:t};p.numericSeparatorInEscapeSequence(t,a,s)}++t}}return t===d||null!=l&&t-d!==l||m?{n:null,pos:t}:{n:v,pos:t}}function u(e,t,r,n,i,a){var s;if(123===e.charCodeAt(t)){var l=o(e,++t,r,n,e.indexOf("}",t)-t,!0,i,a);if(s=l.code,t=l.pos,++t,null!==s&&s>1114111){if(!i)return{code:null,pos:t};a.invalidCodePoint(t,r,n)}}else{var u=o(e,t,r,n,4,!1,i,a);s=u.code,t=u.pos}return{code:s,pos:t}}},3526:(e,t)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var n,i,a,s,o;function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=p(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw a}}}}function u(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||p(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}(e,t)||p(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t,n){return t=v(t),function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,f()?Reflect.construct(t,n||[],v(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}function y(e,t,r,n){var i=m(v(1&n?e.prototype:e),t,r);return 2&n?function(e){return i.apply(r,e)}:i}function m(){return m="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},m.apply(null,arguments)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}function T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}function b(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,E(n.key),n)}}function x(e,t,r){return t&&S(e.prototype,t),r&&S(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function E(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var A=x((function e(t,r,n){P(this,e),this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=r,this.index=n})),k=x((function e(t,r){P(this,e),this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=r}));function w(e,t){var r=e.line,n=e.column,i=e.index;return new A(r,n+t,i+t)}var C="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",I={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:C},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:C}},O={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},N=function(e){return"UpdateExpression"===e.type?O.UpdateExpression["".concat(e.prefix)]:O[e.type]},D={AccessorIsGenerator:function(e){var t=e.kind;return"A ".concat(t,"ter cannot be a generator.")},ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:function(e){var t=e.kind;return"Missing initializer in ".concat(t," declaration.")},DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:function(e){var t=e.exportName;return"`".concat(t,"` has already been exported. Exported identifiers must be unique.")},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:function(e){var t=e.localName,r=e.exportName;return"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '".concat(t,"' as '").concat(r,"' } from 'some-module'`?")},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:function(e){var t=e.type;return"'".concat("ForInStatement"===t?"for-in":"for-of","' loop variable declaration may not have an initializer.")},ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:function(e){var t=e.type;return"Unsyntactic ".concat("BreakStatement"===t?"break":"continue",".")},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:function(e){var t=e.importName;return'A string literal cannot be used as an imported binding.\n- Did you mean `import { "'.concat(t,'" as foo }`?')},ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverDiscardElement:"'void' must be followed by an expression when not used in a binding position.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:function(e){var t=e.radix;return"Expected number in radix ".concat(t,".")},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:function(e){var t=e.reservedWord;return"Escape sequence in keyword ".concat(t,".")},InvalidIdentifier:function(e){var t=e.identifierName;return"Invalid identifier ".concat(t,".")},InvalidLhs:function(e){var t=e.ancestor;return"Invalid left-hand side in ".concat(N(t),".")},InvalidLhsBinding:function(e){var t=e.ancestor;return"Binding invalid left-hand side in ".concat(N(t),".")},InvalidLhsOptionalChaining:function(e){var t=e.ancestor;return"Invalid optional chaining in the left-hand side of ".concat(N(t),".")},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:function(e){var t=e.unexpected;return"Unexpected character '".concat(t,"'.")},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:function(e){var t=e.identifierName;return"Private name #".concat(t," is not defined.")},InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:function(e){var t=e.labelName;return"Label '".concat(t,"' is already declared.")},LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:function(e){var t=e.missingPlugin;return"This experimental syntax requires enabling the parser plugin: ".concat(t.map((function(e){return JSON.stringify(e)})).join(", "),".")},MissingOneOfPlugins:function(e){var t=e.missingPlugin;return"This experimental syntax requires enabling one of the following parser plugin(s): ".concat(t.map((function(e){return JSON.stringify(e)})).join(", "),".")},MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:function(e){var t=e.key;return'Duplicate key "'.concat(t,'" is not allowed in module attributes.')},ModuleExportNameHasLoneSurrogate:function(e){var t=e.surrogateCharCode;return"An export name cannot include a lone surrogate, found '\\u".concat(t.toString(16),"'.")},ModuleExportUndefined:function(e){var t=e.localName;return"Export '".concat(t,"' is not defined.")},MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:function(e){var t=e.identifierName;return"Private names are only allowed in property accesses (`obj.#".concat(t,"`) or in `in` expressions (`#").concat(t," in obj`).")},PrivateNameRedeclaration:function(e){var t=e.identifierName;return"Duplicate private name #".concat(t,".")},RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:function(e){var t=e.keyword;return"Unexpected keyword '".concat(t,"'.")},UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:function(e){var t=e.reservedWord;return"Unexpected reserved word '".concat(t,"'.")},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:function(e){var t=e.expected,r=e.unexpected;return"Unexpected token".concat(r?" '".concat(r,"'."):"").concat(t?', expected "'.concat(t,'"'):"")},UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",UnexpectedVoidPattern:"Unexpected void binding.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:function(e){var t=e.target,r=e.onlyValidPropertyName;return"The only valid meta property for ".concat(t," is ").concat(t,".").concat(r,".")},UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:function(e){var t=e.identifierName;return"Identifier '".concat(t,"' has already been declared.")},VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:"A void binding may not have an initializer.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",YieldNotInGeneratorFunction:"'yield' is only allowed within generator functions.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},_={ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:function(e){var t=e.unexpected;return"Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character `".concat(String.fromCodePoint(t),"`.")}},L=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),M=Object.assign({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:function(e){var t=e.token;return"Invalid topic token ".concat(t,". In order to use ").concat(t,' as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "').concat(t,'" }.')},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:function(e){var t=e.type;return"Hack-style pipe body cannot be an unparenthesized ".concat(N({type:t}),"; please wrap it in parentheses.")}},{PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'}),F=["message"];function j(e,t,r){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:r})}function B(e,t){if(Array.isArray(e))return function(t){return B(t,e[0])};for(var r={},n=function(){var n=a[i],s=e[n],o="string"==typeof s?{message:function(){return s}}:"function"==typeof s?{message:s}:s,l=o.message,u=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(o,F),c="string"==typeof l?function(){return l}:l;r[n]=function(e){var t=e.toMessage,r=e.code,n=e.reasonCode,i=e.syntaxPlugin,a="MissingPlugin"===n||"MissingOneOfPlugins"===n,s={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};return s[n]&&(n=s[n]),function e(s,o){var l=new SyntaxError;return l.code=r,l.reasonCode=n,l.loc=s,l.pos=s.index,l.syntaxPlugin=i,a&&(l.missingPlugin=o.missingPlugin),j(l,"clone",(function(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null!=(t=r.loc)?t:s,i=n.line,a=n.column,l=n.index;return e(new A(i,a,l),Object.assign({},o,r.details))})),j(l,"details",o),Object.defineProperty(l,"message",{configurable:!0,get:function(){var e="".concat(t(o)," (").concat(s.line,":").concat(s.column,")");return this.message=e,e},set:function(e){Object.defineProperty(this,"message",{value:e,writable:!0})}}),l}}(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:n,toMessage:c},t?{syntaxPlugin:t}:{},u))},i=0,a=Object.keys(e);i<a.length;i++)n();return r}var R=Object.assign({},B(I),B(D),B({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:function(e){var t=e.referenceName;return"Assigning to '".concat(t,"' in strict mode.")},StrictEvalArgumentsBinding:function(e){var t=e.bindingName;return"Binding '".concat(t,"' in strict mode.")},StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."}),B(_),B(n||(n=b(["pipelineOperator"])))(M)),U=Object.defineProperty,K=function(e,t){e&&U(e,t,{enumerable:!1,value:e[t]})};function V(e){return K(e.loc.start,"index"),K(e.loc.end,"index"),e}var q=x((function e(t,r){P(this,e),this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!r})),W={brace:new q("{"),j_oTag:new q("<tag"),j_cTag:new q("</tag"),j_expr:new q("<tag>...</tag>",!0)};W.template=new q("`",!0);var Y=!0,J=!0,X=!0,H=!0,z=!0,G=x((function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};P(this,e),this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.rightAssociative=!!r.rightAssociative,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=null!=r.binop?r.binop:null,this.updateContext=null})),$=new Map;function Q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.keyword=e;var r=oe(e,t);return $.set(e,r),r}function Z(e,t){return oe(e,{beforeExpr:Y,binop:t})}var ee=-1,te=[],re=[],ne=[],ie=[],ae=[],se=[];function oe(e){var t,r,n,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return++ee,re.push(e),ne.push(null!=(t=a.binop)?t:-1),ie.push(null!=(r=a.beforeExpr)&&r),ae.push(null!=(n=a.startsExpr)&&n),se.push(null!=(i=a.prefix)&&i),te.push(new G(e,a)),ee}function le(e){var t,r,n,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return++ee,$.set(e,ee),re.push(e),ne.push(null!=(t=a.binop)?t:-1),ie.push(null!=(r=a.beforeExpr)&&r),ae.push(null!=(n=a.startsExpr)&&n),se.push(null!=(i=a.prefix)&&i),te.push(new G("name",a)),ee}var ue={bracketL:oe("[",{beforeExpr:Y,startsExpr:J}),bracketHashL:oe("#[",{beforeExpr:Y,startsExpr:J}),bracketBarL:oe("[|",{beforeExpr:Y,startsExpr:J}),bracketR:oe("]"),bracketBarR:oe("|]"),braceL:oe("{",{beforeExpr:Y,startsExpr:J}),braceBarL:oe("{|",{beforeExpr:Y,startsExpr:J}),braceHashL:oe("#{",{beforeExpr:Y,startsExpr:J}),braceR:oe("}"),braceBarR:oe("|}"),parenL:oe("(",{beforeExpr:Y,startsExpr:J}),parenR:oe(")"),comma:oe(",",{beforeExpr:Y}),semi:oe(";",{beforeExpr:Y}),colon:oe(":",{beforeExpr:Y}),doubleColon:oe("::",{beforeExpr:Y}),dot:oe("."),question:oe("?",{beforeExpr:Y}),questionDot:oe("?."),arrow:oe("=>",{beforeExpr:Y}),template:oe("template"),ellipsis:oe("...",{beforeExpr:Y}),backQuote:oe("`",{startsExpr:J}),dollarBraceL:oe("${",{beforeExpr:Y,startsExpr:J}),templateTail:oe("...`",{startsExpr:J}),templateNonTail:oe("...${",{beforeExpr:Y,startsExpr:J}),at:oe("@"),hash:oe("#",{startsExpr:J}),interpreterDirective:oe("#!..."),eq:oe("=",{beforeExpr:Y,isAssign:H}),assign:oe("_=",{beforeExpr:Y,isAssign:H}),slashAssign:oe("_=",{beforeExpr:Y,isAssign:H}),xorAssign:oe("_=",{beforeExpr:Y,isAssign:H}),moduloAssign:oe("_=",{beforeExpr:Y,isAssign:H}),incDec:oe("++/--",{prefix:z,postfix:!0,startsExpr:J}),bang:oe("!",{beforeExpr:Y,prefix:z,startsExpr:J}),tilde:oe("~",{beforeExpr:Y,prefix:z,startsExpr:J}),doubleCaret:oe("^^",{startsExpr:J}),doubleAt:oe("@@",{startsExpr:J}),pipeline:Z("|>",0),nullishCoalescing:Z("??",1),logicalOR:Z("||",1),logicalAND:Z("&&",2),bitwiseOR:Z("|",3),bitwiseXOR:Z("^",4),bitwiseAND:Z("&",5),equality:Z("==/!=/===/!==",6),lt:Z("</>/<=/>=",7),gt:Z("</>/<=/>=",7),relational:Z("</>/<=/>=",7),bitShift:Z("<</>>/>>>",8),bitShiftL:Z("<</>>/>>>",8),bitShiftR:Z("<</>>/>>>",8),plusMin:oe("+/-",{beforeExpr:Y,binop:9,prefix:z,startsExpr:J}),modulo:oe("%",{binop:10,startsExpr:J}),star:oe("*",{binop:10}),slash:Z("/",10),exponent:oe("**",{beforeExpr:Y,binop:11,rightAssociative:!0}),_in:Q("in",{beforeExpr:Y,binop:7}),_instanceof:Q("instanceof",{beforeExpr:Y,binop:7}),_break:Q("break"),_case:Q("case",{beforeExpr:Y}),_catch:Q("catch"),_continue:Q("continue"),_debugger:Q("debugger"),_default:Q("default",{beforeExpr:Y}),_else:Q("else",{beforeExpr:Y}),_finally:Q("finally"),_function:Q("function",{startsExpr:J}),_if:Q("if"),_return:Q("return",{beforeExpr:Y}),_switch:Q("switch"),_throw:Q("throw",{beforeExpr:Y,prefix:z,startsExpr:J}),_try:Q("try"),_var:Q("var"),_const:Q("const"),_with:Q("with"),_new:Q("new",{beforeExpr:Y,startsExpr:J}),_this:Q("this",{startsExpr:J}),_super:Q("super",{startsExpr:J}),_class:Q("class",{startsExpr:J}),_extends:Q("extends",{beforeExpr:Y}),_export:Q("export"),_import:Q("import",{startsExpr:J}),_null:Q("null",{startsExpr:J}),_true:Q("true",{startsExpr:J}),_false:Q("false",{startsExpr:J}),_typeof:Q("typeof",{beforeExpr:Y,prefix:z,startsExpr:J}),_void:Q("void",{beforeExpr:Y,prefix:z,startsExpr:J}),_delete:Q("delete",{beforeExpr:Y,prefix:z,startsExpr:J}),_do:Q("do",{isLoop:X,beforeExpr:Y}),_for:Q("for",{isLoop:X}),_while:Q("while",{isLoop:X}),_as:le("as",{startsExpr:J}),_assert:le("assert",{startsExpr:J}),_async:le("async",{startsExpr:J}),_await:le("await",{startsExpr:J}),_defer:le("defer",{startsExpr:J}),_from:le("from",{startsExpr:J}),_get:le("get",{startsExpr:J}),_let:le("let",{startsExpr:J}),_meta:le("meta",{startsExpr:J}),_of:le("of",{startsExpr:J}),_sent:le("sent",{startsExpr:J}),_set:le("set",{startsExpr:J}),_source:le("source",{startsExpr:J}),_static:le("static",{startsExpr:J}),_using:le("using",{startsExpr:J}),_yield:le("yield",{startsExpr:J}),_asserts:le("asserts",{startsExpr:J}),_checks:le("checks",{startsExpr:J}),_exports:le("exports",{startsExpr:J}),_global:le("global",{startsExpr:J}),_implements:le("implements",{startsExpr:J}),_intrinsic:le("intrinsic",{startsExpr:J}),_infer:le("infer",{startsExpr:J}),_is:le("is",{startsExpr:J}),_mixins:le("mixins",{startsExpr:J}),_proto:le("proto",{startsExpr:J}),_require:le("require",{startsExpr:J}),_satisfies:le("satisfies",{startsExpr:J}),_keyof:le("keyof",{startsExpr:J}),_readonly:le("readonly",{startsExpr:J}),_unique:le("unique",{startsExpr:J}),_abstract:le("abstract",{startsExpr:J}),_declare:le("declare",{startsExpr:J}),_enum:le("enum",{startsExpr:J}),_module:le("module",{startsExpr:J}),_namespace:le("namespace",{startsExpr:J}),_interface:le("interface",{startsExpr:J}),_type:le("type",{startsExpr:J}),_opaque:le("opaque",{startsExpr:J}),name:oe("name",{startsExpr:J}),placeholder:oe("%%",{startsExpr:J}),string:oe("string",{startsExpr:J}),num:oe("num",{startsExpr:J}),bigint:oe("bigint",{startsExpr:J}),decimal:oe("decimal",{startsExpr:J}),regexp:oe("regexp",{startsExpr:J}),privateName:oe("#name",{startsExpr:J}),eof:oe("eof"),jsxName:oe("jsxName"),jsxText:oe("jsxText",{beforeExpr:Y}),jsxTagStart:oe("jsxTagStart",{startsExpr:J}),jsxTagEnd:oe("jsxTagEnd")};function ce(e){return e>=93&&e<=133}function pe(e){return e>=58&&e<=133}function he(e){return e>=58&&e<=137}function de(e){return ae[e]}function fe(e){return e>=129&&e<=131}function ye(e){return e>=58&&e<=92}function me(e){return re[e]}function ve(e){return ne[e]}function ge(e){return e>=24&&e<=25}function Te(e){return te[e]}te[8].updateContext=function(e){e.pop()},te[5].updateContext=te[7].updateContext=te[23].updateContext=function(e){e.push(W.brace)},te[22].updateContext=function(e){e[e.length-1]===W.template?e.pop():e.push(W.template)},te[143].updateContext=function(e){e.push(W.j_expr,W.j_oTag)};var be="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Se="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",xe=new RegExp("["+be+"]"),Ee=new RegExp("["+be+Se+"]");be=Se=null;var Pe=[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],Ae=[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];function ke(e,t){for(var r=65536,n=0,i=t.length;n<i;n+=2){if((r+=t[n])>e)return!1;if((r+=t[n+1])>=e)return!0}return!1}function we(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&xe.test(String.fromCharCode(e)):ke(e,Pe)))}function Ce(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ee.test(String.fromCharCode(e)):ke(e,Pe)||ke(e,Ae))))}var Ie=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),Oe=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),Ne=new Set(["eval","arguments"]);function De(e,t){return t&&"await"===e||"enum"===e}function _e(e,t){return De(e,t)||Oe.has(e)}function Le(e){return Ne.has(e)}function Me(e,t){return _e(e,t)||Le(e)}var Fe=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]),je=x((function e(t){P(this,e),this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=t})),Be=function(){return x((function e(t,r){P(this,e),this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=r}),[{key:"inTopLevel",get:function(){return(1&this.currentScope().flags)>0}},{key:"inFunction",get:function(){return(2&this.currentVarScopeFlags())>0}},{key:"allowSuper",get:function(){return(16&this.currentThisScopeFlags())>0}},{key:"allowDirectSuper",get:function(){return(32&this.currentThisScopeFlags())>0}},{key:"allowNewTarget",get:function(){return(512&this.currentThisScopeFlags())>0}},{key:"inClass",get:function(){return(64&this.currentThisScopeFlags())>0}},{key:"inClassAndNotInNonArrowFunction",get:function(){var e=this.currentThisScopeFlags();return(64&e)>0&&!(2&e)}},{key:"inStaticBlock",get:function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(128&t)return!0;if(1731&t)return!1}}},{key:"inNonArrowFunction",get:function(){return(2&this.currentThisScopeFlags())>0}},{key:"inBareCaseStatement",get:function(){return(256&this.currentScope().flags)>0}},{key:"treatFunctionsAsVar",get:function(){return this.treatFunctionsAsVarInScope(this.currentScope())}},{key:"createScope",value:function(e){return new je(e)}},{key:"enter",value:function(e){this.scopeStack.push(this.createScope(e))}},{key:"exit",value:function(){return this.scopeStack.pop().flags}},{key:"treatFunctionsAsVarInScope",value:function(e){return!!(130&e.flags||!this.parser.inModule&&1&e.flags)}},{key:"declareName",value:function(e,t,r){var n=this.currentScope();if(8&t||16&t){this.checkRedeclarationInScope(n,e,t,r);var i=n.names.get(e)||0;16&t?i|=4:(n.firstLexicalName||(n.firstLexicalName=e),i|=2),n.names.set(e,i),8&t&&this.maybeExportDefined(n,e)}else if(4&t)for(var a=this.scopeStack.length-1;a>=0&&(n=this.scopeStack[a],this.checkRedeclarationInScope(n,e,t,r),n.names.set(e,1|(n.names.get(e)||0)),this.maybeExportDefined(n,e),!(1667&n.flags));--a);this.parser.inModule&&1&n.flags&&this.undefinedExports.delete(e)}},{key:"maybeExportDefined",value:function(e,t){this.parser.inModule&&1&e.flags&&this.undefinedExports.delete(t)}},{key:"checkRedeclarationInScope",value:function(e,t,r,n){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(R.VarRedeclaration,n,{identifierName:t})}},{key:"isRedeclaredInScope",value:function(e,t,r){if(!(1&r))return!1;if(8&r)return e.names.has(t);var n=e.names.get(t);return 16&r?(2&n)>0||!this.treatFunctionsAsVarInScope(e)&&(1&n)>0:(2&n)>0&&!(8&e.flags&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(4&n)>0}},{key:"checkLocalExport",value:function(e){var t=e.name;this.scopeStack[0].names.has(t)||this.undefinedExports.set(t,e.loc.start)}},{key:"currentScope",value:function(){return this.scopeStack[this.scopeStack.length-1]}},{key:"currentVarScopeFlags",value:function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(1667&t)return t}}},{key:"currentThisScopeFlags",value:function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(1731&t&&!(4&t))return t}}}])}(),Re=function(e){function t(){var e;P(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=d(this,t,[].concat(n))).declareFunctions=new Set,e}return g(t,e),x(t)}(je),Ue=function(e){function t(){return P(this,t),d(this,t,arguments)}return g(t,e),x(t,[{key:"createScope",value:function(e){return new Re(e)}},{key:"declareName",value:function(e,r,n){var i=this.currentScope();if(2048&r)return this.checkRedeclarationInScope(i,e,r,n),this.maybeExportDefined(i,e),void i.declareFunctions.add(e);y(t,"declareName",this,3)([e,r,n])}},{key:"isRedeclaredInScope",value:function(e,r,n){if(y(t,"isRedeclaredInScope",this,3)([e,r,n]))return!0;if(2048&n&&!e.declareFunctions.has(r)){var i=e.names.get(r);return(4&i)>0||(2&i)>0}return!1}},{key:"checkLocalExport",value:function(e){this.scopeStack[0].declareFunctions.has(e.name)||y(t,"checkLocalExport",this,3)([e])}}])}(Be),Ke=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Ve=B(i||(i=b(["flow"])))({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:function(e){var t=e.reservedType;return"Cannot overwrite reserved type ".concat(t,".")},DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:function(e){var t=e.memberName,r=e.enumName;return"Boolean enum members need to be initialized. Use either `".concat(t," = true,` or `").concat(t," = false,` in enum `").concat(r,"`.")},EnumDuplicateMemberName:function(e){var t=e.memberName,r=e.enumName;return"Enum member names need to be unique, but the name `".concat(t,"` has already been used before in enum `").concat(r,"`.")},EnumInconsistentMemberValues:function(e){var t=e.enumName;return"Enum `".concat(t,"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.")},EnumInvalidExplicitType:function(e){var t=e.invalidEnumType,r=e.enumName;return"Enum type `".concat(t,"` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `").concat(r,"`.")},EnumInvalidExplicitTypeUnknownSupplied:function(e){var t=e.enumName;return"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `".concat(t,"`.")},EnumInvalidMemberInitializerPrimaryType:function(e){var t=e.enumName,r=e.memberName,n=e.explicitType;return"Enum `".concat(t,"` has type `").concat(n,"`, so the initializer of `").concat(r,"` needs to be a ").concat(n," literal.")},EnumInvalidMemberInitializerSymbolType:function(e){var t=e.enumName,r=e.memberName;return"Symbol enum members cannot be initialized. Use `".concat(r,",` in enum `").concat(t,"`.")},EnumInvalidMemberInitializerUnknownType:function(e){var t=e.enumName,r=e.memberName;return"The enum member initializer for `".concat(r,"` needs to be a literal (either a boolean, number, or string) in enum `").concat(t,"`.")},EnumInvalidMemberName:function(e){var t=e.enumName,r=e.memberName,n=e.suggestion;return"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `".concat(r,"`, consider using `").concat(n,"`, in enum `").concat(t,"`.")},EnumNumberMemberNotInitialized:function(e){var t=e.enumName,r=e.memberName;return"Number enum members need to be initialized, e.g. `".concat(r," = 1` in enum `").concat(t,"`.")},EnumStringMemberInconsistentlyInitialized:function(e){var t=e.enumName;return"String enum members need to consistently either all use initializers, or use no initializers, in enum `".concat(t,"`.")},GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:function(e){var t=e.reservedType;return"Unexpected reserved type ".concat(t,".")},UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:function(e){var t=e.unsupportedExportKind,r=e.suggestion;return"`declare export ".concat(t,"` is not supported. Use `").concat(r,"` instead.")},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function qe(e){return"type"===e.importKind||"typeof"===e.importKind}var We={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},Ye=/\*?\s*@((?:no)?flow)\b/,Je={__proto__:null,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:"♦"},Xe=new RegExp(/\r\n|[\r\n\u2028\u2029]/.source,"g");function He(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function ze(e,t,r){for(var n=t;n<r;n++)if(He(e.charCodeAt(n)))return!0;return!1}var Ge=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,$e=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function Qe(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var Ze=B(a||(a=b(["jsx"])))({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:function(e){var t=e.openingTagName;return"Expected corresponding JSX closing tag for <".concat(t,">.")},MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:function(e){var t=e.unexpected,r=e.HTMLEntity;return"Unexpected token `".concat(t,"`. Did you mean `").concat(r,"` or `{'").concat(t,"'}`?")},UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function et(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function tt(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return tt(e.object)+"."+tt(e.property);throw new Error("Node had unexpected type: "+e.type)}var rt=function(e){function t(){var e;P(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=d(this,t,[].concat(n))).tsNames=new Map,e}return g(t,e),x(t)}(je),nt=function(e){function t(){var e;P(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=d(this,t,[].concat(n))).importsStack=[],e}return g(t,e),x(t,[{key:"createScope",value:function(e){return this.importsStack.push(new Set),new rt(e)}},{key:"enter",value:function(e){1024===e&&this.importsStack.push(new Set),y(t,"enter",this,3)([e])}},{key:"exit",value:function(){var e=y(t,"exit",this,3)([]);return 1024===e&&this.importsStack.pop(),e}},{key:"hasImport",value:function(e,t){var r=this.importsStack.length;if(this.importsStack[r-1].has(e))return!0;if(!t&&r>1)for(var n=0;n<r-1;n++)if(this.importsStack[n].has(e))return!0;return!1}},{key:"declareName",value:function(e,r,n){if(4096&r)return this.hasImport(e,!0)&&this.parser.raise(R.VarRedeclaration,n,{identifierName:e}),void this.importsStack[this.importsStack.length-1].add(e);var i=this.currentScope(),a=i.tsNames.get(e)||0;if(1024&r)return this.maybeExportDefined(i,e),void i.tsNames.set(e,16|a);y(t,"declareName",this,3)([e,r,n]),2&r&&(1&r||(this.checkRedeclarationInScope(i,e,r,n),this.maybeExportDefined(i,e)),a|=1),256&r&&(a|=2),512&r&&(a|=4),128&r&&(a|=8),a&&i.tsNames.set(e,a)}},{key:"isRedeclaredInScope",value:function(e,r,n){var i=e.tsNames.get(r);return(2&i)>0?!(256&n)||!!(512&n)!=(4&i)>0:128&n&&(8&i)>0?!!(2&e.names.get(r))&&!!(1&n):!!(2&n&&(1&i)>0)||y(t,"isRedeclaredInScope",this,3)([e,r,n])}},{key:"checkLocalExport",value:function(e){var r=e.name;if(!this.hasImport(r)){for(var n=this.scopeStack.length-1;n>=0;n--){var i=this.scopeStack[n].tsNames.get(r);if((1&i)>0||(16&i)>0)return}y(t,"checkLocalExport",this,3)([e])}}}])}(Be),it=function(){return x((function e(){P(this,e),this.stacks=[]}),[{key:"enter",value:function(e){this.stacks.push(e)}},{key:"exit",value:function(){this.stacks.pop()}},{key:"currentFlags",value:function(){return this.stacks[this.stacks.length-1]}},{key:"hasAwait",get:function(){return(2&this.currentFlags())>0}},{key:"hasYield",get:function(){return(1&this.currentFlags())>0}},{key:"hasReturn",get:function(){return(4&this.currentFlags())>0}},{key:"hasIn",get:function(){return(8&this.currentFlags())>0}}])}();function at(e,t){return(e?2:0)|(t?1:0)}function st(e,t){var r;void 0===e.trailingComments?e.trailingComments=t:(r=e.trailingComments).unshift.apply(r,u(t))}function ot(e,t){var r;void 0===e.innerComments?e.innerComments=t:(r=e.innerComments).unshift.apply(r,u(t))}function lt(e,t,r){for(var n=null,i=t.length;null===n&&i>0;)n=t[--i];null===n||n.start>r.start?ot(e,r.comments):st(n,r.comments)}var ut=function(e){function t(){return P(this,t),d(this,t,arguments)}return g(t,e),x(t,[{key:"addComment",value:function(e){this.filename&&(e.loc.filename=this.filename);var t=this.state.commentsLen;this.comments.length!==t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++}},{key:"processComment",value:function(e){var t=this.state.commentStack,r=t.length;if(0!==r){var n=r-1,i=t[n];i.start===e.end&&(i.leadingNode=e,n--);for(var a=e.start;n>=0;n--){var s=t[n],o=s.end;if(!(o>a)){o===a&&(s.trailingNode=e);break}s.containingNode=e,this.finalizeComment(s),t.splice(n,1)}}}},{key:"finalizeComment",value:function(e){var t,r=e.comments;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&st(e.leadingNode,r),null!==e.trailingNode&&function(e,t){var r;void 0===e.leadingComments?e.leadingComments=t:(r=e.leadingComments).unshift.apply(r,u(t))}(e.trailingNode,r);else{var n=e.containingNode,i=e.start;if(44===this.input.charCodeAt(this.offsetToSourcePos(i)-1))switch(n.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":lt(n,n.properties,e);break;case"CallExpression":case"OptionalCallExpression":lt(n,n.arguments,e);break;case"ImportExpression":lt(n,[n.source,null!=(t=n.options)?t:null],e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":lt(n,n.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":lt(n,n.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":lt(n,n.specifiers,e);break;case"TSEnumDeclaration":case"TSEnumBody":lt(n,n.members,e);break;default:ot(n,r)}else ot(n,r)}}},{key:"finalizeRemainingComments",value:function(){for(var e=this.state.commentStack,t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}},{key:"resetPreviousNodeTrailingComments",value:function(e){var t=this.state.commentStack,r=t.length;if(0!==r){var n=t[r-1];n.leadingNode===e&&(n.leadingNode=null)}}},{key:"takeSurroundingComments",value:function(e,t,r){var n=this.state.commentStack,i=n.length;if(0!==i)for(var a=i-1;a>=0;a--){var s=n[a],o=s.end;if(s.start===r)s.leadingNode=e;else if(o===t)s.trailingNode=e;else if(o<t)break}}}])}(function(){return x((function e(){P(this,e),this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}),[{key:"sourceToOffsetPos",value:function(e){return e+this.startIndex}},{key:"offsetToSourcePos",value:function(e){return e-this.startIndex}},{key:"hasPlugin",value:function(e){if("string"==typeof e)return this.plugins.has(e);var t=c(e,2),r=t[0],n=t[1];if(!this.hasPlugin(r))return!1;for(var i=this.plugins.get(r),a=0,s=Object.keys(n);a<s.length;a++){var o=s[a];if((null==i?void 0:i[o])!==n[o])return!1}return!0}},{key:"getPluginOption",value:function(e,t){var r;return null==(r=this.plugins.get(e))?void 0:r[t]}}])}()),ct=function(){function e(){P(this,e),this.flags=1024,this.startIndex=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[W.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}return x(e,[{key:"strict",get:function(){return(1&this.flags)>0},set:function(e){e?this.flags|=1:this.flags&=-2}},{key:"init",value:function(e){var t=e.strictMode,r=e.sourceType,n=e.startIndex,i=e.startLine,a=e.startColumn;this.strict=!1!==t&&(!0===t||"module"===r),this.startIndex=n,this.curLine=i,this.lineStart=-a,this.startLoc=this.endLoc=new A(i,a,n)}},{key:"maybeInArrowParameters",get:function(){return(2&this.flags)>0},set:function(e){e?this.flags|=2:this.flags&=-3}},{key:"inType",get:function(){return(4&this.flags)>0},set:function(e){e?this.flags|=4:this.flags&=-5}},{key:"noAnonFunctionType",get:function(){return(8&this.flags)>0},set:function(e){e?this.flags|=8:this.flags&=-9}},{key:"hasFlowComment",get:function(){return(16&this.flags)>0},set:function(e){e?this.flags|=16:this.flags&=-17}},{key:"isAmbientContext",get:function(){return(32&this.flags)>0},set:function(e){e?this.flags|=32:this.flags&=-33}},{key:"inAbstractClass",get:function(){return(64&this.flags)>0},set:function(e){e?this.flags|=64:this.flags&=-65}},{key:"inDisallowConditionalTypesContext",get:function(){return(128&this.flags)>0},set:function(e){e?this.flags|=128:this.flags&=-129}},{key:"soloAwait",get:function(){return(256&this.flags)>0},set:function(e){e?this.flags|=256:this.flags&=-257}},{key:"inFSharpPipelineDirectBody",get:function(){return(512&this.flags)>0},set:function(e){e?this.flags|=512:this.flags&=-513}},{key:"canStartJSXElement",get:function(){return(1024&this.flags)>0},set:function(e){e?this.flags|=1024:this.flags&=-1025}},{key:"containsEsc",get:function(){return(2048&this.flags)>0},set:function(e){e?this.flags|=2048:this.flags&=-2049}},{key:"hasTopLevelAwait",get:function(){return(4096&this.flags)>0},set:function(e){e?this.flags|=4096:this.flags&=-4097}},{key:"curPosition",value:function(){return new A(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}},{key:"clone",value:function(){var t=new e;return t.flags=this.flags,t.startIndex=this.startIndex,t.curLine=this.curLine,t.lineStart=this.lineStart,t.startLoc=this.startLoc,t.endLoc=this.endLoc,t.errors=this.errors.slice(),t.potentialArrowAt=this.potentialArrowAt,t.noArrowAt=this.noArrowAt.slice(),t.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),t.topicContext=this.topicContext,t.labels=this.labels.slice(),t.commentsLen=this.commentsLen,t.commentStack=this.commentStack.slice(),t.pos=this.pos,t.type=this.type,t.value=this.value,t.start=this.start,t.end=this.end,t.lastTokEndLoc=this.lastTokEndLoc,t.lastTokStartLoc=this.lastTokStartLoc,t.context=this.context.slice(),t.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,t.strictErrors=this.strictErrors,t.tokensLength=this.tokensLength,t}}])}(),pt=function(e){return e>=48&&e<=57},ht={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},dt={bin:function(e){return 48===e||49===e},oct:function(e){return e>=48&&e<=55},dec:function(e){return e>=48&&e<=57},hex:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}};function ft(e,t,r,n,i,a){for(var s=r,o=n,l=i,u="",c=null,p=r,h=t.length;;){if(r>=h){a.unterminated(s,o,l),u+=t.slice(p,r);break}var d=t.charCodeAt(r);if(yt(e,d,t,r)){u+=t.slice(p,r);break}if(92===d){u+=t.slice(p,r);var f=mt(t,r,n,i,"template"===e,a);null!==f.ch||c?u+=f.ch:c={pos:r,lineStart:n,curLine:i},r=f.pos,n=f.lineStart,i=f.curLine,p=r}else 8232===d||8233===d?(++i,n=++r):10===d||13===d?"template"===e?(u+=t.slice(p,r)+"\n",++r,13===d&&10===t.charCodeAt(r)&&++r,++i,p=n=r):a.unterminated(s,o,l):++r}return{pos:r,str:u,firstInvalidLoc:c,lineStart:n,curLine:i,containsInvalid:!!c}}function yt(e,t,r,n){return"template"===e?96===t||36===t&&123===r.charCodeAt(n+1):t===("double"===e?34:39)}function mt(e,t,r,n,i,a){var s=!i;t++;var o=function(e){return{pos:t,ch:e,lineStart:r,curLine:n}},l=e.charCodeAt(t++);switch(l){case 110:return o("\n");case 114:return o("\r");case 120:var u,c=vt(e,t,r,n,2,!1,s,a);return u=c.code,t=c.pos,o(null===u?null:String.fromCharCode(u));case 117:var p,h=Tt(e,t,r,n,s,a);return p=h.code,t=h.pos,o(null===p?null:String.fromCodePoint(p));case 116:return o("\t");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++n;case 8232:case 8233:return o("");case 56:case 57:if(i)return o(null);a.strictNumericEscape(t-1,r,n);default:if(l>=48&&l<=55){var d=t-1,f=/^[0-7]+/.exec(e.slice(d,t+2))[0],y=parseInt(f,8);y>255&&(f=f.slice(0,-1),y=parseInt(f,8)),t+=f.length-1;var m=e.charCodeAt(t);if("0"!==f||56===m||57===m){if(i)return o(null);a.strictNumericEscape(d,r,n)}return o(String.fromCharCode(y))}return o(String.fromCharCode(l))}}function vt(e,t,r,n,i,a,s,o){var l,u=t,c=gt(e,t,r,n,16,i,a,!1,o,!s);return l=c.n,t=c.pos,null===l&&(s?o.invalidEscapeSequence(u,r,n):t=u-1),{code:l,pos:t}}function gt(e,t,r,n,i,a,s,o,l,u){for(var c=t,p=16===i?ht.hex:ht.decBinOct,h=16===i?dt.hex:10===i?dt.dec:8===i?dt.oct:dt.bin,d=!1,f=0,y=0,m=null==a?1/0:a;y<m;++y){var v=e.charCodeAt(t),g=void 0;if(95!==v||"bail"===o){if((g=v>=97?v-97+10:v>=65?v-65+10:pt(v)?v-48:1/0)>=i){if(g<=9&&u)return{n:null,pos:t};if(g<=9&&l.invalidDigit(t,r,n,i))g=0;else{if(!s)break;g=0,d=!0}}++t,f=f*i+g}else{var T=e.charCodeAt(t-1),b=e.charCodeAt(t+1);if(o){if(Number.isNaN(b)||!h(b)||p.has(T)||p.has(b)){if(u)return{n:null,pos:t};l.unexpectedNumericSeparator(t,r,n)}}else{if(u)return{n:null,pos:t};l.numericSeparatorInEscapeSequence(t,r,n)}++t}}return t===c||null!=a&&t-c!==a||d?{n:null,pos:t}:{n:f,pos:t}}function Tt(e,t,r,n,i,a){var s;if(123===e.charCodeAt(t)){var o=vt(e,++t,r,n,e.indexOf("}",t)-t,!0,i,a);if(s=o.code,t=o.pos,++t,null!==s&&s>1114111){if(!i)return{code:null,pos:t};a.invalidCodePoint(t,r,n)}}else{var l=vt(e,t,r,n,4,!1,i,a);s=l.code,t=l.pos}return{code:s,pos:t}}function bt(e,t,r){return new A(r,e-t,e)}var St=new Set([103,109,115,105,121,117,100,118]),xt=x((function e(t){P(this,e);var r=t.startIndex||0;this.type=t.type,this.value=t.value,this.start=r+t.start,this.end=r+t.end,this.loc=new k(t.startLoc,t.endLoc)})),Et=function(e){function t(e,r){var n;return P(this,t),(n=d(this,t)).isLookahead=void 0,n.tokens=[],n.errorHandlers_readInt={invalidDigit:function(e,t,r,i){return!!(2048&n.optionFlags)&&(n.raise(R.InvalidDigit,bt(e,t,r),{radix:i}),!0)},numericSeparatorInEscapeSequence:n.errorBuilder(R.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:n.errorBuilder(R.UnexpectedNumericSeparator)},n.errorHandlers_readCodePoint=Object.assign({},n.errorHandlers_readInt,{invalidEscapeSequence:n.errorBuilder(R.InvalidEscapeSequence),invalidCodePoint:n.errorBuilder(R.InvalidCodePoint)}),n.errorHandlers_readStringContents_string=Object.assign({},n.errorHandlers_readCodePoint,{strictNumericEscape:function(e,t,r){n.recordStrictModeErrors(R.StrictNumericEscape,bt(e,t,r))},unterminated:function(e,t,r){throw n.raise(R.UnterminatedString,bt(e-1,t,r))}}),n.errorHandlers_readStringContents_template=Object.assign({},n.errorHandlers_readCodePoint,{strictNumericEscape:n.errorBuilder(R.StrictNumericEscape),unterminated:function(e,t,r){throw n.raise(R.UnterminatedTemplate,bt(e,t,r))}}),n.state=new ct,n.state.init(e),n.input=r,n.length=r.length,n.comments=[],n.isLookahead=!1,n}return g(t,e),x(t,[{key:"pushToken",value:function(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}},{key:"next",value:function(){this.checkKeywordEscapes(),256&this.optionFlags&&this.pushToken(new xt(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}},{key:"eat",value:function(e){return!!this.match(e)&&(this.next(),!0)}},{key:"match",value:function(e){return this.state.type===e}},{key:"createLookaheadState",value:function(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}},{key:"lookahead",value:function(){var e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;var t=this.state;return this.state=e,t}},{key:"nextTokenStart",value:function(){return this.nextTokenStartSince(this.state.pos)}},{key:"nextTokenStartSince",value:function(e){return Ge.lastIndex=e,Ge.test(this.input)?Ge.lastIndex:e}},{key:"lookaheadCharCode",value:function(){return this.lookaheadCharCodeSince(this.state.pos)}},{key:"lookaheadCharCodeSince",value:function(e){return this.input.charCodeAt(this.nextTokenStartSince(e))}},{key:"nextTokenInLineStart",value:function(){return this.nextTokenInLineStartSince(this.state.pos)}},{key:"nextTokenInLineStartSince",value:function(e){return $e.lastIndex=e,$e.test(this.input)?$e.lastIndex:e}},{key:"lookaheadInLineCharCode",value:function(){return this.input.charCodeAt(this.nextTokenInLineStart())}},{key:"codePointAtPos",value:function(e){var t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){var r=this.input.charCodeAt(e);56320==(64512&r)&&(t=65536+((1023&t)<<10)+(1023&r))}return t}},{key:"setStrict",value:function(e){var t=this;this.state.strict=e,e&&(this.state.strictErrors.forEach((function(e){var r=c(e,2),n=r[0],i=r[1];return t.raise(n,i)})),this.state.strictErrors.clear())}},{key:"curContext",value:function(){return this.state.context[this.state.context.length-1]}},{key:"nextToken",value:function(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(140):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}},{key:"skipBlockComment",value:function(e){var t;this.isLookahead||(t=this.state.curPosition());var r=this.state.pos,n=this.input.indexOf(e,r+2);if(-1===n)throw this.raise(R.UnterminatedComment,this.state.curPosition());for(this.state.pos=n+e.length,Xe.lastIndex=r+2;Xe.test(this.input)&&Xe.lastIndex<=n;)++this.state.curLine,this.state.lineStart=Xe.lastIndex;if(!this.isLookahead){var i={type:"CommentBlock",value:this.input.slice(r+2,n),start:this.sourceToOffsetPos(r),end:this.sourceToOffsetPos(n+e.length),loc:new k(t,this.state.curPosition())};return 256&this.optionFlags&&this.pushToken(i),i}}},{key:"skipLineComment",value:function(e){var t,r=this.state.pos;this.isLookahead||(t=this.state.curPosition());var n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!He(n)&&++this.state.pos<this.length;)n=this.input.charCodeAt(this.state.pos);if(!this.isLookahead){var i=this.state.pos,a={type:"CommentLine",value:this.input.slice(r+e,i),start:this.sourceToOffsetPos(r),end:this.sourceToOffsetPos(i),loc:new k(t,this.state.curPosition())};return 256&this.optionFlags&&this.pushToken(a),a}}},{key:"skipSpace",value:function(){var e=this.state.pos,t=4096&this.optionFlags?[]:null;e:for(;this.state.pos<this.length;){var r=this.input.charCodeAt(this.state.pos);switch(r){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:var n=this.skipBlockComment("*/");void 0!==n&&(this.addComment(n),null==t||t.push(n));break;case 47:var i=this.skipLineComment(2);void 0!==i&&(this.addComment(i),null==t||t.push(i));break;default:break e}break;default:if(Qe(r))++this.state.pos;else if(45===r&&!this.inModule&&8192&this.optionFlags){var a=this.state.pos;if(45!==this.input.charCodeAt(a+1)||62!==this.input.charCodeAt(a+2)||!(0===e||this.state.lineStart>e))break e;var s=this.skipLineComment(3);void 0!==s&&(this.addComment(s),null==t||t.push(s))}else{if(60!==r||this.inModule||!(8192&this.optionFlags))break e;var o=this.state.pos;if(33!==this.input.charCodeAt(o+1)||45!==this.input.charCodeAt(o+2)||45!==this.input.charCodeAt(o+3))break e;var l=this.skipLineComment(4);void 0!==l&&(this.addComment(l),null==t||t.push(l))}}}if((null==t?void 0:t.length)>0){var u=this.state.pos,c={start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(u),comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(c)}}},{key:"finishToken",value:function(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();var r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(r)}},{key:"replaceToken",value:function(e){this.state.type=e,this.updateContext()}},{key:"readToken_numberSign",value:function(){if(0!==this.state.pos||!this.readToken_interpreter()){var e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(R.UnexpectedDigitAfterHash,this.state.curPosition());if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?R.RecordExpressionHashIncorrectStartSyntaxType:R.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else we(t)?(++this.state.pos,this.finishToken(139,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}}},{key:"readToken_dot",value:function(){var e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}},{key:"readToken_slash",value:function(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}},{key:"readToken_interpreter",value:function(){if(0!==this.state.pos||this.length<2)return!1;var e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;var t=this.state.pos;for(this.state.pos+=1;!He(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);var r=this.input.slice(t+2,this.state.pos);return this.finishToken(28,r),!0}},{key:"readToken_mult_modulo",value:function(e){var t=42===e?55:54,r=1,n=this.input.charCodeAt(this.state.pos+1);42===e&&42===n&&(r++,n=this.input.charCodeAt(this.state.pos+2),t=57),61!==n||this.state.inType||(r++,t=37===e?33:30),this.finishOp(t,r)}},{key:"readToken_pipe_amp",value:function(e){var t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(R.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(R.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?43:45,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===e?41:42,2)}},{key:"readToken_caret",value:function(){var e=this.input.charCodeAt(this.state.pos+1);61!==e||this.state.inType?94===e&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),94===this.input.codePointAt(this.state.pos)&&this.unexpected()):this.finishOp(44,1):this.finishOp(32,2)}},{key:"readToken_atSign",value:function(){64===this.input.charCodeAt(this.state.pos+1)&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}},{key:"readToken_plus_min",value:function(e){var t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}},{key:"readToken_lt",value:function(){var e=this.state.pos,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(30,3):void this.finishOp(51,2);61!==t?this.finishOp(47,1):this.finishOp(49,2)}},{key:"readToken_gt",value:function(){var e=this.state.pos,t=this.input.charCodeAt(e+1);if(62===t){var r=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+r)?void this.finishOp(30,r+1):void this.finishOp(52,r)}61!==t?this.finishOp(48,1):this.finishOp(49,2)}},{key:"readToken_eq_excl",value:function(e){var t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===e?29:35,1);this.finishOp(46,61===this.input.charCodeAt(this.state.pos+2)?3:2)}},{key:"readToken_question",value:function(){var e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63===e?61===t?this.finishOp(30,3):this.finishOp(40,2):46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}},{key:"getTokenFromCode",value:function(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(R.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(R.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:var t=this.input.charCodeAt(this.state.pos+1);if(120===t||88===t)return void this.readRadixNumber(16);if(111===t||79===t)return void this.readRadixNumber(8);if(98===t||66===t)return void this.readRadixNumber(2);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(we(e))return void this.readWord(e)}throw this.raise(R.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(e)})}},{key:"finishOp",value:function(e,t){var r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}},{key:"readRegexp",value:function(){for(var e,t,r=this.state.startLoc,n=this.state.start+1,i=this.state.pos;;++i){if(i>=this.length)throw this.raise(R.UnterminatedRegExp,w(r,1));var a=this.input.charCodeAt(i);if(He(a))throw this.raise(R.UnterminatedRegExp,w(r,1));if(e)e=!1;else{if(91===a)t=!0;else if(93===a&&t)t=!1;else if(47===a&&!t)break;e=92===a}}var s=this.input.slice(n,i);++i;for(var o="",l=function(){return w(r,i+2-n)};i<this.length;){var u=this.codePointAtPos(i),c=String.fromCharCode(u);if(St.has(u))118===u?o.includes("u")&&this.raise(R.IncompatibleRegExpUVFlags,l()):117===u&&o.includes("v")&&this.raise(R.IncompatibleRegExpUVFlags,l()),o.includes(c)&&this.raise(R.DuplicateRegExpFlags,l());else{if(!Ce(u)&&92!==u)break;this.raise(R.MalformedRegExpFlags,l())}++i,o+=c}this.state.pos=i,this.finishToken(138,{pattern:s,flags:o})}},{key:"readInt",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=gt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,r,n,this.errorHandlers_readInt,!1),a=i.n,s=i.pos;return this.state.pos=s,a}},{key:"readRadixNumber",value:function(e){var t=this.state.pos,r=this.state.curPosition(),n=!1;this.state.pos+=2;var i=this.readInt(e);null==i&&this.raise(R.InvalidDigit,w(r,2),{radix:e});var a=this.input.charCodeAt(this.state.pos);if(110===a)++this.state.pos,n=!0;else if(109===a)throw this.raise(R.InvalidDecimal,r);if(we(this.codePointAtPos(this.state.pos)))throw this.raise(R.NumberIdentifier,this.state.curPosition());if(n){var s=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,s)}else this.finishToken(135,i)}},{key:"readNumber",value:function(e){var t=this.state.pos,r=this.state.curPosition(),n=!1,i=!1,a=!1,s=!1;e||null!==this.readInt(10)||this.raise(R.InvalidNumber,this.state.curPosition());var o=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(o){var l=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(R.StrictOctalLiteral,r),!this.state.strict){var u=l.indexOf("_");u>0&&this.raise(R.ZeroDigitNumericSeparator,w(r,u))}s=o&&!/[89]/.test(l)}var c=this.input.charCodeAt(this.state.pos);if(46!==c||s||(++this.state.pos,this.readInt(10),n=!0,c=this.input.charCodeAt(this.state.pos)),69!==c&&101!==c||s||(43!==(c=this.input.charCodeAt(++this.state.pos))&&45!==c||++this.state.pos,null===this.readInt(10)&&this.raise(R.InvalidOrMissingExponent,r),n=!0,a=!0,c=this.input.charCodeAt(this.state.pos)),110===c&&((n||o)&&this.raise(R.InvalidBigIntLiteral,r),++this.state.pos,i=!0),109===c){this.expectPlugin("decimal",this.state.curPosition()),(a||o)&&this.raise(R.InvalidDecimal,r),++this.state.pos;var p=!0}if(we(this.codePointAtPos(this.state.pos)))throw this.raise(R.NumberIdentifier,this.state.curPosition());var h=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)this.finishToken(136,h);else if(p)this.finishToken(137,h);else{var d=s?parseInt(h,8):parseFloat(h);this.finishToken(135,d)}}},{key:"readCodePoint",value:function(e){var t=Tt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint),r=t.code,n=t.pos;return this.state.pos=n,r}},{key:"readString",value:function(e){var t=ft(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string),r=t.str,n=t.pos,i=t.curLine,a=t.lineStart;this.state.pos=n+1,this.state.lineStart=a,this.state.curLine=i,this.finishToken(134,r)}},{key:"readTemplateContinuation",value:function(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}},{key:"readTemplateToken",value:function(){var e=this.input[this.state.pos],t=ft("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template),r=t.str,n=t.firstInvalidLoc,i=t.pos,a=t.curLine,s=t.lineStart;this.state.pos=i+1,this.state.lineStart=s,this.state.curLine=a,n&&(this.state.firstInvalidTemplateEscapePos=new A(n.curLine,n.pos-n.lineStart,this.sourceToOffsetPos(n.pos))),96===this.input.codePointAt(i)?this.finishToken(24,n?null:e+r+"`"):(this.state.pos++,this.finishToken(25,n?null:e+r+"${"))}},{key:"recordStrictModeErrors",value:function(e,t){var r=t.index;this.state.strict&&!this.state.strictErrors.has(r)?this.raise(e,t):this.state.strictErrors.set(r,[e,t])}},{key:"readWord1",value:function(e){this.state.containsEsc=!1;var t="",r=this.state.pos,n=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){var i=this.codePointAtPos(this.state.pos);if(Ce(i))this.state.pos+=i<=65535?1:2;else{if(92!==i)break;this.state.containsEsc=!0,t+=this.input.slice(n,this.state.pos);var a=this.state.curPosition(),s=this.state.pos===r?we:Ce;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(R.MissingUnicodeEscape,this.state.curPosition()),n=this.state.pos-1;continue}++this.state.pos;var o=this.readCodePoint(!0);null!==o&&(s(o)||this.raise(R.EscapedCharNotAnIdentifier,a),t+=String.fromCodePoint(o)),n=this.state.pos}}return t+this.input.slice(n,this.state.pos)}},{key:"readWord",value:function(e){var t=this.readWord1(e),r=$.get(t);void 0!==r?this.finishToken(r,me(r)):this.finishToken(132,t)}},{key:"checkKeywordEscapes",value:function(){var e=this.state.type;ye(e)&&this.state.containsEsc&&this.raise(R.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:me(e)})}},{key:"raise",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=e(t instanceof A?t:t.loc.start,r);if(!(2048&this.optionFlags))throw n;return this.isLookahead||this.state.errors.push(n),n}},{key:"raiseOverwrite",value:function(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t instanceof A?t:t.loc.start,i=n.index,a=this.state.errors,s=a.length-1;s>=0;s--){var o=a[s];if(o.loc.index===i)return a[s]=e(n,r);if(o.loc.index<i)break}return this.raise(e,t,r)}},{key:"updateContext",value:function(e){}},{key:"unexpected",value:function(e,t){throw this.raise(R.UnexpectedToken,null!=e?e:this.state.startLoc,{expected:t?me(t):null})}},{key:"expectPlugin",value:function(e,t){if(this.hasPlugin(e))return!0;throw this.raise(R.MissingPlugin,null!=t?t:this.state.startLoc,{missingPlugin:[e]})}},{key:"expectOnePlugin",value:function(e){var t=this;if(!e.some((function(e){return t.hasPlugin(e)})))throw this.raise(R.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:e})}},{key:"errorBuilder",value:function(e){var t=this;return function(r,n,i){t.raise(e,bt(r,n,i))}}}])}(ut),Pt=x((function e(){P(this,e),this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map})),At=function(){return x((function e(t){P(this,e),this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}),[{key:"current",value:function(){return this.stack[this.stack.length-1]}},{key:"enter",value:function(){this.stack.push(new Pt)}},{key:"exit",value:function(){for(var e=this.stack.pop(),t=this.current(),r=0,n=Array.from(e.undefinedPrivateNames);r<n.length;r++){var i=c(n[r],2),a=i[0],s=i[1];t?t.undefinedPrivateNames.has(a)||t.undefinedPrivateNames.set(a,s):this.parser.raise(R.InvalidPrivateFieldResolution,s,{identifierName:a})}}},{key:"declarePrivateName",value:function(e,t,r){var n=this.current(),i=n.privateNames,a=n.loneAccessors,s=n.undefinedPrivateNames,o=i.has(e);if(3&t){var l=o&&a.get(e);l?(o=(3&l)==(3&t)||(4&l)!=(4&t))||a.delete(e):o||a.set(e,t)}o&&this.parser.raise(R.PrivateNameRedeclaration,r,{identifierName:e}),i.add(e),s.delete(e)}},{key:"usePrivateName",value:function(e,t){var r,n,i=l(this.stack);try{for(i.s();!(n=i.n()).done;)if((r=n.value).privateNames.has(e))return}catch(e){i.e(e)}finally{i.f()}r?r.undefinedPrivateNames.set(e,t):this.parser.raise(R.InvalidPrivateFieldResolution,t,{identifierName:e})}}])}(),kt=function(){return x((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;P(this,e),this.type=t}),[{key:"canBeArrowParameterDeclaration",value:function(){return 2===this.type||1===this.type}},{key:"isCertainlyParameterDeclaration",value:function(){return 3===this.type}}])}(),wt=function(e){function t(e){var r;return P(this,t),(r=d(this,t,[e])).declarationErrors=new Map,r}return g(t,e),x(t,[{key:"recordDeclarationError",value:function(e,t){var r=t.index;this.declarationErrors.set(r,[e,t])}},{key:"clearDeclarationError",value:function(e){this.declarationErrors.delete(e)}},{key:"iterateErrors",value:function(e){this.declarationErrors.forEach(e)}}])}(kt),Ct=function(){return x((function e(t){P(this,e),this.parser=void 0,this.stack=[new kt],this.parser=t}),[{key:"enter",value:function(e){this.stack.push(e)}},{key:"exit",value:function(){this.stack.pop()}},{key:"recordParameterInitializerError",value:function(e,t){for(var r=t.loc.start,n=this.stack,i=n.length-1,a=n[i];!a.isCertainlyParameterDeclaration();){if(!a.canBeArrowParameterDeclaration())return;a.recordDeclarationError(e,r),a=n[--i]}this.parser.raise(e,r)}},{key:"recordArrowParameterBindingError",value:function(e,t){var r=this.stack,n=r[r.length-1],i=t.loc.start;if(n.isCertainlyParameterDeclaration())this.parser.raise(e,i);else{if(!n.canBeArrowParameterDeclaration())return;n.recordDeclarationError(e,i)}}},{key:"recordAsyncArrowParametersError",value:function(e){for(var t=this.stack,r=t.length-1,n=t[r];n.canBeArrowParameterDeclaration();)2===n.type&&n.recordDeclarationError(R.AwaitBindingIdentifier,e),n=t[--r]}},{key:"validateAsPattern",value:function(){var e=this,t=this.stack,r=t[t.length-1];r.canBeArrowParameterDeclaration()&&r.iterateErrors((function(r){var n=c(r,2),i=n[0],a=n[1];e.parser.raise(i,a);for(var s=t.length-2,o=t[s];o.canBeArrowParameterDeclaration();)o.clearDeclarationError(a.index),o=t[--s]}))}}])}();function It(){return new kt}var Ot=function(e){function t(){return P(this,t),d(this,t,arguments)}return g(t,e),x(t,[{key:"addExtra",value:function(e,t,r){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e){var i=e.extra;null==i&&(i={},e.extra=i),n?i[t]=r:Object.defineProperty(i,t,{enumerable:n,value:r})}}},{key:"isContextual",value:function(e){return this.state.type===e&&!this.state.containsEsc}},{key:"isUnparsedContextual",value:function(e,t){if(this.input.startsWith(t,e)){var r=this.input.charCodeAt(e+t.length);return!(Ce(r)||55296==(64512&r))}return!1}},{key:"isLookaheadContextual",value:function(e){var t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}},{key:"eatContextual",value:function(e){return!!this.isContextual(e)&&(this.next(),!0)}},{key:"expectContextual",value:function(e,t){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,this.state.startLoc);this.unexpected(null,e)}}},{key:"canInsertSemicolon",value:function(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}},{key:"hasPrecedingLineBreak",value:function(){return ze(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}},{key:"hasFollowingLineBreak",value:function(){return ze(this.input,this.state.end,this.nextTokenStart())}},{key:"isLineTerminator",value:function(){return this.eat(13)||this.canInsertSemicolon()}},{key:"semicolon",value:function(){(arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.eat(13):this.isLineTerminator())||this.raise(R.MissingSemicolon,this.state.lastTokEndLoc)}},{key:"expect",value:function(e,t){this.eat(e)||this.unexpected(t,e)}},{key:"tryParse",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.clone(),r={node:null};try{var n=e((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;throw r.node=e,r}));if(this.state.errors.length>t.errors.length){var i=this.state;return this.state=t,this.state.tokensLength=i.tokensLength,{node:n,error:i.errors[t.errors.length],thrown:!1,aborted:!1,failState:i}}return{node:n,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){var a=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:a};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:a};throw e}}},{key:"checkExpressionErrors",value:function(e,t){if(!e)return!1;var r=e.shorthandAssignLoc,n=e.doubleProtoLoc,i=e.privateKeyLoc,a=e.optionalParametersLoc,s=e.voidPatternLoc;if(!t)return!!(r||n||a||i||s);null!=r&&this.raise(R.InvalidCoverInitializedName,r),null!=n&&this.raise(R.DuplicateProto,n),null!=i&&this.raise(R.UnexpectedPrivateField,i),null!=a&&this.unexpected(a),null!=s&&this.raise(R.InvalidCoverDiscardElement,s)}},{key:"isLiteralPropertyName",value:function(){return he(this.state.type)}},{key:"isPrivateName",value:function(e){return"PrivateName"===e.type}},{key:"getPrivateNameSV",value:function(e){return e.id.name}},{key:"hasPropertyAsPrivateName",value:function(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}},{key:"isObjectProperty",value:function(e){return"ObjectProperty"===e.type}},{key:"isObjectMethod",value:function(e){return"ObjectMethod"===e.type}},{key:"initializeScopes",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"module"===this.options.sourceType,r=this.state.labels;this.state.labels=[];var n=this.exportedIdentifiers;this.exportedIdentifiers=new Set;var i=this.inModule;this.inModule=t;var a=this.scope,s=this.getScopeHandler();this.scope=new s(this,t);var o=this.prodParam;this.prodParam=new it;var l=this.classScope;this.classScope=new At(this);var u=this.expressionScope;return this.expressionScope=new Ct(this),function(){e.state.labels=r,e.exportedIdentifiers=n,e.inModule=i,e.scope=a,e.prodParam=o,e.classScope=l,e.expressionScope=u}}},{key:"enterInitialScopes",value:function(){var e=0;(this.inModule||1&this.optionFlags)&&(e|=2),32&this.optionFlags&&(e|=1);var t=!this.inModule&&"commonjs"===this.options.sourceType;(t||2&this.optionFlags)&&(e|=4),this.prodParam.enter(e);var r=t?514:1;4&this.optionFlags&&(r|=512),this.scope.enter(r)}},{key:"checkDestructuringPrivate",value:function(e){var t=e.privateKeyLoc;null!==t&&this.expectPlugin("destructuringPrivate",t)}}])}(Et),Nt=x((function e(){P(this,e),this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null})),Dt=x((function e(t,r,n){P(this,e),this.type="",this.start=r,this.end=0,this.loc=new k(n),128&(null==t?void 0:t.optionFlags)&&(this.range=[r,0]),null!=t&&t.filename&&(this.loc.filename=t.filename)})),_t=Dt.prototype;_t.__clone=function(){for(var e=new Dt(void 0,this.start,this.loc.start),t=Object.keys(this),r=0,n=t.length;r<n;r++){var i=t[r];"leadingComments"!==i&&"trailingComments"!==i&&"innerComments"!==i&&(e[i]=this[i])}return e};var Lt=function(e){return"ParenthesizedExpression"===e.type?Lt(e.expression):e},Mt=function(e){function t(){return P(this,t),d(this,t,arguments)}return g(t,e),x(t,[{key:"toAssignable",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=void 0;switch(("ParenthesizedExpression"===e.type||null!=(t=e.extra)&&t.parenthesized)&&(i=Lt(e),n?"Identifier"===i.type?this.expressionScope.recordArrowParameterBindingError(R.InvalidParenthesizedAssignment,e):"MemberExpression"===i.type||this.isOptionalMemberExpression(i)||this.raise(R.InvalidParenthesizedAssignment,e):this.raise(R.InvalidParenthesizedAssignment,e)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":break;case"ObjectExpression":this.castNodeTo(e,"ObjectPattern");for(var a=0,s=e.properties.length,o=s-1;a<s;a++){var l,u=e.properties[a],c=a===o;this.toAssignableObjectExpressionProp(u,c,n),c&&"RestElement"===u.type&&null!=(l=e.extra)&&l.trailingCommaLoc&&this.raise(R.RestTrailingComma,e.extra.trailingCommaLoc)}break;case"ObjectProperty":var p=e.key,h=e.value;this.isPrivateName(p)&&this.classScope.usePrivateName(this.getPrivateNameSV(p),p.loc.start),this.toAssignable(h,n);break;case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":this.castNodeTo(e,"ArrayPattern"),this.toAssignableList(e.elements,null==(r=e.extra)?void 0:r.trailingCommaLoc,n);break;case"AssignmentExpression":"="!==e.operator&&this.raise(R.MissingEqInAssignment,e.left.loc.end),this.castNodeTo(e,"AssignmentPattern"),delete e.operator,"VoidPattern"===e.left.type&&this.raise(R.VoidPatternInitializer,e.left),this.toAssignable(e.left,n);break;case"ParenthesizedExpression":this.toAssignable(i,n)}}},{key:"toAssignableObjectExpressionProp",value:function(e,t,r){if("ObjectMethod"===e.type)this.raise("get"===e.kind||"set"===e.kind?R.PatternHasAccessor:R.PatternHasMethod,e.key);else if("SpreadElement"===e.type){this.castNodeTo(e,"RestElement");var n=e.argument;this.checkToRestConversion(n,!1),this.toAssignable(n,r),t||this.raise(R.RestTrailingComma,e)}else this.toAssignable(e,r)}},{key:"toAssignableList",value:function(e,t,r){for(var n=e.length-1,i=0;i<=n;i++){var a=e[i];a&&(this.toAssignableListItem(e,i,r),"RestElement"===a.type&&(i<n?this.raise(R.RestTrailingComma,a):t&&this.raise(R.RestTrailingComma,t)))}}},{key:"toAssignableListItem",value:function(e,t,r){var n=e[t];if("SpreadElement"===n.type){this.castNodeTo(n,"RestElement");var i=n.argument;this.checkToRestConversion(i,!0),this.toAssignable(i,r)}else this.toAssignable(n,r)}},{key:"isAssignable",value:function(e,t){var r=this;switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":return!0;case"ObjectExpression":var n=e.properties.length-1;return e.properties.every((function(e,t){return"ObjectMethod"!==e.type&&(t===n||"SpreadElement"!==e.type)&&r.isAssignable(e)}));case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((function(e){return null===e||r.isAssignable(e)}));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}},{key:"toReferencedList",value:function(e,t){return e}},{key:"toReferencedListDeep",value:function(e,t){this.toReferencedList(e,t);var r,n=l(e);try{for(n.s();!(r=n.n()).done;){var i=r.value;"ArrayExpression"===(null==i?void 0:i.type)&&this.toReferencedListDeep(i.elements)}}catch(e){n.e(e)}finally{n.f()}}},{key:"parseSpread",value:function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,"SpreadElement")}},{key:"parseRestBinding",value:function(){var e=this.startNode();this.next();var t=this.parseBindingAtom();return"VoidPattern"===t.type&&this.raise(R.UnexpectedVoidPattern,t),e.argument=t,this.finishNode(e,"RestElement")}},{key:"parseBindingAtom",value:function(){switch(this.state.type){case 0:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,"ArrayPattern");case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}},{key:"parseBindingList",value:function(e,t,r){for(var n=1&r,i=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(12),n&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){var s=this.parseRestBinding();if((this.hasPlugin("flow")||2&r)&&(s=this.parseFunctionParamType(s)),i.push(s),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{var o=[];if(2&r)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(R.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)o.push(this.parseDecorator());i.push(this.parseBindingElement(r,o))}}return i}},{key:"parseBindingRestProperty",value:function(e){return this.next(),this.hasPlugin("discardBinding")&&this.match(88)?(e.argument=this.parseVoidPattern(null),this.raise(R.UnexpectedVoidPattern,e.argument)):e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}},{key:"parseBindingProperty",value:function(){var e=this.state,t=e.type,r=e.startLoc;if(21===t)return this.parseBindingRestProperty(this.startNode());var n=this.startNode();return 139===t?(this.expectPlugin("destructuringPrivate",r),this.classScope.usePrivateName(this.state.value,r),n.key=this.parsePrivateName()):this.parsePropertyName(n),n.method=!1,this.parseObjPropValue(n,r,!1,!1,!0,!1)}},{key:"parseBindingElement",value:function(e,t){var r=this.parseMaybeDefault();return(this.hasPlugin("flow")||2&e)&&this.parseFunctionParamType(r),t.length&&(r.decorators=t,this.resetStartLocationFromNode(r,t[0])),this.parseMaybeDefault(r.loc.start,r)}},{key:"parseFunctionParamType",value:function(e){return e}},{key:"parseMaybeDefault",value:function(e,t){if(null!=e||(e=this.state.startLoc),t=null!=t?t:this.parseBindingAtom(),!this.eat(29))return t;var r=this.startNodeAt(e);return"VoidPattern"===t.type&&this.raise(R.VoidPatternInitializer,t),r.left=t,r.right=this.parseMaybeAssignAllowIn(),this.finishNode(r,"AssignmentPattern")}},{key:"isValidLVal",value:function(e,t,r){switch(e){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties";case"VoidPattern":return!0}return!1}},{key:"isOptionalMemberExpression",value:function(e){return"OptionalMemberExpression"===e.type}},{key:"checkLVal",value:function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:64,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=e.type;if(!this.isObjectMethod(e)){var u=this.isOptionalMemberExpression(e);if(u||"MemberExpression"===o)return u&&(this.expectPlugin("optionalChainingAssign",e.loc.start),"AssignmentExpression"!==t.type&&this.raise(R.InvalidLhsOptionalChaining,e,{ancestor:t})),void(64!==n&&this.raise(R.InvalidPropertyBindingPattern,e));if("Identifier"!==o){"VoidPattern"===o&&"CatchClause"===t.type&&this.raise(R.VoidPatternCatchClauseParam,e);var p=this.isValidLVal(o,!(s||null!=(r=e.extra)&&r.parenthesized)&&"AssignmentExpression"===t.type,n);if(!0!==p)if(!1!==p){var h,d;if("string"==typeof p)h=p,d="ParenthesizedExpression"===o;else{var f=c(p,2);h=f[0],d=f[1]}var y="ArrayPattern"===o||"ObjectPattern"===o?{type:o}:t,m=e[h];if(Array.isArray(m)){var v,g=l(m);try{for(g.s();!(v=g.n()).done;){var T=v.value;T&&this.checkLVal(T,y,n,i,a,d)}}catch(e){g.e(e)}finally{g.f()}}else m&&this.checkLVal(m,y,n,i,a,d)}else{var b=64===n?R.InvalidLhs:R.InvalidLhsBinding;this.raise(b,e,{ancestor:t})}}else{this.checkIdentifier(e,n,a);var S=e.name;i&&(i.has(S)?this.raise(R.ParamDupe,e):i.add(S))}}}},{key:"checkIdentifier",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.state.strict&&(r?Me(e.name,this.inModule):Le(e.name))&&(64===t?this.raise(R.StrictEvalArguments,e,{referenceName:e.name}):this.raise(R.StrictEvalArgumentsBinding,e,{bindingName:e.name})),8192&t&&"let"===e.name&&this.raise(R.LetInLexicalBinding,e),64&t||this.declareNameFromIdentifier(e,t)}},{key:"declareNameFromIdentifier",value:function(e,t){this.scope.declareName(e.name,t,e.loc.start)}},{key:"checkToRestConversion",value:function(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(R.InvalidRestAssignmentPattern,e)}}},{key:"checkCommaAfterRest",value:function(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?R.RestTrailingComma:R.ElementAfterRest,this.state.startLoc),!0)}}])}(function(e){function t(){return P(this,t),d(this,t,arguments)}return g(t,e),x(t,[{key:"startNode",value:function(){var e=this.state.startLoc;return new Dt(this,e.index,e)}},{key:"startNodeAt",value:function(e){return new Dt(this,e.index,e)}},{key:"startNodeAtNode",value:function(e){return this.startNodeAt(e.loc.start)}},{key:"finishNode",value:function(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}},{key:"finishNodeAt",value:function(e,t,r){return e.type=t,e.end=r.index,e.loc.end=r,128&this.optionFlags&&(e.range[1]=r.index),4096&this.optionFlags&&this.processComment(e),e}},{key:"resetStartLocation",value:function(e,t){e.start=t.index,e.loc.start=t,128&this.optionFlags&&(e.range[0]=t.index)}},{key:"resetEndLocation",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;e.end=t.index,e.loc.end=t,128&this.optionFlags&&(e.range[1]=t.index)}},{key:"resetStartLocationFromNode",value:function(e,t){this.resetStartLocation(e,t.loc.start)}},{key:"castNodeTo",value:function(e,t){return e.type=t,e}},{key:"cloneIdentifier",value:function(e){var t=e.type,r=e.start,n=e.end,i=e.loc,a=e.range,s=e.name,o=Object.create(_t);return o.type=t,o.start=r,o.end=n,o.loc=i,o.range=a,o.name=s,e.extra&&(o.extra=e.extra),o}},{key:"cloneStringLiteral",value:function(e){var t=e.type,r=e.start,n=e.end,i=e.loc,a=e.range,s=e.extra,o=Object.create(_t);return o.type=t,o.start=r,o.end=n,o.loc=i,o.range=a,o.extra=s,o.value=e.value,o}}])}(Ot));function Ft(e){if(!e)throw new Error("Assert fail")}var jt=B(s||(s=b(["typescript"])))({AbstractMethodHasImplementation:function(e){var t=e.methodName;return"Method '".concat(t,"' cannot have an implementation because it is marked abstract.")},AbstractPropertyHasInitializer:function(e){var t=e.propertyName;return"Property '".concat(t,"' cannot have an initializer because it is marked abstract.")},AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:function(e){var t=e.kind;return"'declare' is not allowed in ".concat(t,"ters.")},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:function(e){var t=e.modifier;return"Accessibility modifier already seen: '".concat(t,"'.")},DuplicateModifier:function(e){var t=e.modifier;return"Duplicate modifier: '".concat(t,"'.")},EmptyHeritageClauseType:function(e){var t=e.token;return"'".concat(t,"' list cannot be empty.")},EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:function(e){var t=e.modifiers;return"'".concat(t[0],"' modifier cannot be used with '").concat(t[1],"' modifier.")},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:function(e){var t=e.modifier;return"Index signatures cannot have an accessibility modifier ('".concat(t,"').")},IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidHeritageClauseType:function(e){var t=e.token;return"'".concat(t,"' list can only include identifiers or qualified-names with optional type arguments.")},InvalidModifierOnAwaitUsingDeclaration:function(e){return"'".concat(e,"' modifier cannot appear on an await using declaration.")},InvalidModifierOnTypeMember:function(e){var t=e.modifier;return"'".concat(t,"' modifier cannot appear on a type member.")},InvalidModifierOnTypeParameter:function(e){var t=e.modifier;return"'".concat(t,"' modifier cannot appear on a type parameter.")},InvalidModifierOnTypeParameterPositions:function(e){var t=e.modifier;return"'".concat(t,"' modifier can only appear on a type parameter of a class, interface or type alias.")},InvalidModifierOnUsingDeclaration:function(e){return"'".concat(e,"' modifier cannot appear on a using declaration.")},InvalidModifiersOrder:function(e){var t=e.orderedModifiers;return"'".concat(t[0],"' modifier must precede '").concat(t[1],"' modifier.")},InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifier:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:function(e){var t=e.modifier;return"Private elements cannot have an accessibility modifier ('".concat(t,"').")},ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:function(e){var t=e.typeParameterName;return"Single type parameter ".concat(t," should have a trailing comma. Example usage: <").concat(t,",>.")},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:function(e){var t=e.type;return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ".concat(t,".")},UsingDeclarationInAmbientContext:function(e){return"'".concat(e,"' declarations are not allowed in ambient contexts.")}});function Bt(e){return"private"===e||"public"===e||"protected"===e}function Rt(e){return"in"===e||"out"===e}function Ut(e){if("MemberExpression"!==e.type)return!1;var t=e.computed,r=e.property;return(!t||"StringLiteral"===r.type||!("TemplateLiteral"!==r.type||r.expressions.length>0))&&qt(e.object)}function Kt(e,t){var r,n=e.type;if(null!=(r=e.extra)&&r.parenthesized)return!1;if(t){if("Literal"===n){var i=e.value;if("string"==typeof i||"boolean"==typeof i)return!0}}else if("StringLiteral"===n||"BooleanLiteral"===n)return!0;return!(!Vt(e,t)&&!function(e,t){if("UnaryExpression"===e.type){var r=e.operator,n=e.argument;if("-"===r&&Vt(n,t))return!0}return!1}(e,t))||"TemplateLiteral"===n&&0===e.expressions.length||!!Ut(e)}function Vt(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function qt(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&qt(e.object)}var Wt=B(o||(o=b(["placeholders"])))({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),Yt=["minimal","fsharp","hack","smart"],Jt=["^^","@@","^","%","#"],Xt={estree:function(e){return function(e){function t(){return P(this,t),d(this,t,arguments)}return g(t,e),x(t,[{key:"parse",value:function(){var e=V(y(t,"parse",this,3)([]));return 256&this.optionFlags&&(e.tokens=e.tokens.map(V)),e}},{key:"parseRegExpLiteral",value:function(e){var t=e.pattern,r=e.flags,n=null;try{n=new RegExp(t,r)}catch(e){}var i=this.estreeParseLiteral(n);return i.regex={pattern:t,flags:r},i}},{key:"parseBigIntLiteral",value:function(e){var t;try{t=BigInt(e)}catch(e){t=null}var r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}},{key:"parseDecimalLiteral",value:function(e){var t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}},{key:"estreeParseLiteral",value:function(e){return this.parseLiteral(e,"Literal")}},{key:"parseStringLiteral",value:function(e){return this.estreeParseLiteral(e)}},{key:"parseNumericLiteral",value:function(e){return this.estreeParseLiteral(e)}},{key:"parseNullLiteral",value:function(){return this.estreeParseLiteral(null)}},{key:"parseBooleanLiteral",value:function(e){return this.estreeParseLiteral(e)}},{key:"estreeParseChainExpression",value:function(e,t){var r=this.startNodeAtNode(e);return r.expression=e,this.finishNodeAt(r,"ChainExpression",t)}},{key:"directiveToStmt",value:function(e){var t=e.value;delete e.value,this.castNodeTo(t,"Literal"),t.raw=t.extra.raw,t.value=t.extra.expressionValue;var r=this.castNodeTo(e,"ExpressionStatement");return r.expression=t,r.directive=t.extra.rawValue,delete t.extra,r}},{key:"fillOptionalPropertiesForTSESLint",value:function(e){}},{key:"cloneEstreeStringLiteral",value:function(e){var t=e.start,r=e.end,n=e.loc,i=e.range,a=e.raw,s=e.value,o=Object.create(e.constructor.prototype);return o.type="Literal",o.start=t,o.end=r,o.loc=n,o.range=i,o.raw=a,o.value=s,o}},{key:"initFunction",value:function(e,r){y(t,"initFunction",this,3)([e,r]),e.expression=!1}},{key:"checkDeclaration",value:function(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):y(t,"checkDeclaration",this,3)([e])}},{key:"getObjectOrClassMethodParams",value:function(e){return e.value.params}},{key:"isValidDirective",value:function(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}},{key:"parseBlockBody",value:function(e,r,n,i,a){var s=this;y(t,"parseBlockBody",this,3)([e,r,n,i,a]);var o=e.directives.map((function(e){return s.directiveToStmt(e)}));e.body=o.concat(e.body),delete e.directives}},{key:"parsePrivateName",value:function(){var e=y(t,"parsePrivateName",this,3)([]);return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}},{key:"convertPrivateNameToPrivateIdentifier",value:function(e){var r=y(t,"getPrivateNameSV",this,3)([e]);return delete e.id,e.name=r,this.castNodeTo(e,"PrivateIdentifier")}},{key:"isPrivateName",value:function(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:y(t,"isPrivateName",this,3)([e])}},{key:"getPrivateNameSV",value:function(e){return this.getPluginOption("estree","classFeatures")?e.name:y(t,"getPrivateNameSV",this,3)([e])}},{key:"parseLiteral",value:function(e,r){var n=y(t,"parseLiteral",this,3)([e,r]);return n.raw=n.extra.raw,delete n.extra,n}},{key:"parseFunctionBody",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];y(t,"parseFunctionBody",this,3)([e,r,n]),e.expression="BlockStatement"!==e.body.type}},{key:"parseMethod",value:function(e,r,n,i,a,s){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],l=this.startNode();l.kind=e.kind,delete(l=y(t,"parseMethod",this,3)([l,r,n,i,a,s,o])).kind;var u=e.typeParameters;u&&(delete e.typeParameters,l.typeParameters=u,this.resetStartLocationFromNode(l,u));var c=this.castNodeTo(l,"FunctionExpression");return e.value=c,"ClassPrivateMethod"===s&&(e.computed=!1),"ObjectMethod"===s?("method"===e.kind&&(e.kind="init"),e.shorthand=!1,this.finishNode(e,"Property")):this.finishNode(e,"MethodDefinition")}},{key:"nameIsConstructor",value:function(e){return"Literal"===e.type?"constructor"===e.value:y(t,"nameIsConstructor",this,3)([e])}},{key:"parseClassProperty",value:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=y(t,"parseClassProperty",this,3)(r);return this.getPluginOption("estree","classFeatures")?(this.castNodeTo(i,"PropertyDefinition"),i):i}},{key:"parseClassPrivateProperty",value:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=y(t,"parseClassPrivateProperty",this,3)(r);return this.getPluginOption("estree","classFeatures")?(this.castNodeTo(i,"PropertyDefinition"),i.computed=!1,i):i}},{key:"parseClassAccessorProperty",value:function(e){var r=y(t,"parseClassAccessorProperty",this,3)([e]);return this.getPluginOption("estree","classFeatures")?(r.abstract&&this.hasPlugin("typescript")?(delete r.abstract,this.castNodeTo(r,"TSAbstractAccessorProperty")):this.castNodeTo(r,"AccessorProperty"),r):r}},{key:"parseObjectProperty",value:function(e,r,n,i){var a=y(t,"parseObjectProperty",this,3)([e,r,n,i]);return a&&(a.kind="init",this.castNodeTo(a,"Property")),a}},{key:"finishObjectProperty",value:function(e){return e.kind="init",this.finishNode(e,"Property")}},{key:"isValidLVal",value:function(e,r,n){return"Property"===e?"value":y(t,"isValidLVal",this,3)([e,r,n])}},{key:"isAssignable",value:function(e,r){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,r):y(t,"isAssignable",this,3)([e,r])}},{key:"toAssignable",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null!=e&&this.isObjectProperty(e)){var n=e.key,i=e.value;this.isPrivateName(n)&&this.classScope.usePrivateName(this.getPrivateNameSV(n),n.loc.start),this.toAssignable(i,r)}else y(t,"toAssignable",this,3)([e,r])}},{key:"toAssignableObjectExpressionProp",value:function(e,r,n){"Property"!==e.type||"get"!==e.kind&&"set"!==e.kind?"Property"===e.type&&e.method?this.raise(R.PatternHasMethod,e.key):y(t,"toAssignableObjectExpressionProp",this,3)([e,r,n]):this.raise(R.PatternHasAccessor,e.key)}},{key:"finishCallExpression",value:function(e,r){var n,i,a=y(t,"finishCallExpression",this,3)([e,r]);return"Import"===a.callee.type?(this.castNodeTo(a,"ImportExpression"),a.source=a.arguments[0],a.options=null!=(n=a.arguments[1])?n:null,a.attributes=null!=(i=a.arguments[1])?i:null,delete a.arguments,delete a.callee):"OptionalCallExpression"===a.type?this.castNodeTo(a,"CallExpression"):a.optional=!1,a}},{key:"toReferencedArguments",value:function(e){"ImportExpression"!==e.type&&y(t,"toReferencedArguments",this,3)([e])}},{key:"parseExport",value:function(e,r){var n=this.state.lastTokStartLoc,i=y(t,"parseExport",this,3)([e,r]);switch(i.type){case"ExportAllDeclaration":i.exported=null;break;case"ExportNamedDeclaration":1===i.specifiers.length&&"ExportNamespaceSpecifier"===i.specifiers[0].type&&(this.castNodeTo(i,"ExportAllDeclaration"),i.exported=i.specifiers[0].exported,delete i.specifiers);case"ExportDefaultDeclaration":var a,s=i.declaration;"ClassDeclaration"===(null==s?void 0:s.type)&&(null==(a=s.decorators)?void 0:a.length)>0&&s.start===i.start&&this.resetStartLocation(i,n)}return i}},{key:"stopParseSubscript",value:function(e,r){var n=y(t,"stopParseSubscript",this,3)([e,r]);return r.optionalChainMember?this.estreeParseChainExpression(n,e.loc.end):n}},{key:"parseMember",value:function(e,r,n,i,a){var s=y(t,"parseMember",this,3)([e,r,n,i,a]);return"OptionalMemberExpression"===s.type?this.castNodeTo(s,"MemberExpression"):s.optional=!1,s}},{key:"isOptionalMemberExpression",value:function(e){return"ChainExpression"===e.type?"MemberExpression"===e.expression.type:y(t,"isOptionalMemberExpression",this,3)([e])}},{key:"hasPropertyAsPrivateName",value:function(e){return"ChainExpression"===e.type&&(e=e.expression),y(t,"hasPropertyAsPrivateName",this,3)([e])}},{key:"isObjectProperty",value:function(e){return"Property"===e.type&&"init"===e.kind&&!e.method}},{key:"isObjectMethod",value:function(e){return"Property"===e.type&&(e.method||"get"===e.kind||"set"===e.kind)}},{key:"castNodeTo",value:function(e,r){var n=y(t,"castNodeTo",this,3)([e,r]);return this.fillOptionalPropertiesForTSESLint(n),n}},{key:"cloneIdentifier",value:function(e){var r=y(t,"cloneIdentifier",this,3)([e]);return this.fillOptionalPropertiesForTSESLint(r),r}},{key:"cloneStringLiteral",value:function(e){return"Literal"===e.type?this.cloneEstreeStringLiteral(e):y(t,"cloneStringLiteral",this,3)([e])}},{key:"finishNodeAt",value:function(e,r,n){return V(y(t,"finishNodeAt",this,3)([e,r,n]))}},{key:"finishNode",value:function(e,r){var n=y(t,"finishNode",this,3)([e,r]);return this.fillOptionalPropertiesForTSESLint(n),n}},{key:"resetStartLocation",value:function(e,r){y(t,"resetStartLocation",this,3)([e,r]),V(e)}},{key:"resetEndLocation",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;y(t,"resetEndLocation",this,3)([e,r]),V(e)}}])}(e)},jsx:function(e){return function(e){function t(){return P(this,t),d(this,t,arguments)}return g(t,e),x(t,[{key:"jsxReadToken",value:function(){for(var e="",r=this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(Ze.UnterminatedJsxContent,this.state.startLoc);var n=this.input.charCodeAt(this.state.pos);switch(n){case 60:case 123:return this.state.pos===this.state.start?void(60===n&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):y(t,"getTokenFromCode",this,3)([n])):(e+=this.input.slice(r,this.state.pos),void this.finishToken(142,e));case 38:e+=this.input.slice(r,this.state.pos),e+=this.jsxReadEntity(),r=this.state.pos;break;default:He(n)?(e+=this.input.slice(r,this.state.pos),e+=this.jsxReadNewLine(!0),r=this.state.pos):++this.state.pos}}}},{key:"jsxReadNewLine",value:function(e){var t,r=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===r&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,t}},{key:"jsxReadString",value:function(e){for(var t="",r=++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(R.UnterminatedString,this.state.startLoc);var n=this.input.charCodeAt(this.state.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):He(n)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}t+=this.input.slice(r,this.state.pos++),this.finishToken(134,t)}},{key:"jsxReadEntity",value:function(){var e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;var t=10;120===this.codePointAtPos(this.state.pos)&&(t=16,++this.state.pos);var r=this.readInt(t,void 0,!1,"bail");if(null!==r&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(r)}else{for(var n=0,i=!1;n++<10&&this.state.pos<this.length&&!(i=59===this.codePointAtPos(this.state.pos));)++this.state.pos;if(i){var a=this.input.slice(e,this.state.pos),s=Je[a];if(++this.state.pos,s)return s}}return this.state.pos=e,"&"}},{key:"jsxReadWord",value:function(){var e,t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(Ce(e)||45===e);this.finishToken(141,this.input.slice(t,this.state.pos))}},{key:"jsxParseIdentifier",value:function(){var e=this.startNode();return this.match(141)?e.name=this.state.value:ye(this.state.type)?e.name=me(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}},{key:"jsxParseNamespacedName",value:function(){var e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;var r=this.startNodeAt(e);return r.namespace=t,r.name=this.jsxParseIdentifier(),this.finishNode(r,"JSXNamespacedName")}},{key:"jsxParseElementName",value:function(){var e=this.state.startLoc,t=this.jsxParseNamespacedName();if("JSXNamespacedName"===t.type)return t;for(;this.eat(16);){var r=this.startNodeAt(e);r.object=t,r.property=this.jsxParseIdentifier(),t=this.finishNode(r,"JSXMemberExpression")}return t}},{key:"jsxParseAttributeValue",value:function(){var e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(W.brace),this.next(),"JSXEmptyExpression"===(e=this.jsxParseExpressionContainer(e,W.j_oTag)).expression.type&&this.raise(Ze.AttributeIsEmpty,e),e;case 143:case 134:return this.parseExprAtom();default:throw this.raise(Ze.UnsupportedJsxValue,this.state.startLoc)}}},{key:"jsxParseEmptyExpression",value:function(){var e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}},{key:"jsxParseSpreadChild",value:function(e){return this.next(),e.expression=this.parseExpression(),this.setContext(W.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}},{key:"jsxParseExpressionContainer",value:function(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{var r=this.parseExpression();e.expression=r}return this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}},{key:"jsxParseAttribute",value:function(){var e=this.startNode();return this.match(5)?(this.setContext(W.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(W.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}},{key:"jsxParseOpeningElementAt",value:function(e){var t=this.startNodeAt(e);return this.eat(144)?this.finishNode(t,"JSXOpeningFragment"):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}},{key:"jsxParseOpeningElementAfterName",value:function(e){for(var t=[];!this.match(56)&&!this.match(144);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(144),this.finishNode(e,"JSXOpeningElement")}},{key:"jsxParseClosingElementAt",value:function(e){var t=this.startNodeAt(e);return this.eat(144)?this.finishNode(t,"JSXClosingFragment"):(t.name=this.jsxParseElementName(),this.expect(144),this.finishNode(t,"JSXClosingElement"))}},{key:"jsxParseElementAt",value:function(e){var t=this.startNodeAt(e),r=[],n=this.jsxParseOpeningElementAt(e),i=null;if(!n.selfClosing){e:for(;;)switch(this.state.type){case 143:if(e=this.state.startLoc,this.next(),this.eat(56)){i=this.jsxParseClosingElementAt(e);break e}r.push(this.jsxParseElementAt(e));break;case 142:r.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:var a=this.startNode();this.setContext(W.brace),this.next(),this.match(21)?r.push(this.jsxParseSpreadChild(a)):r.push(this.jsxParseExpressionContainer(a,W.j_expr));break;default:this.unexpected()}et(n)&&!et(i)&&null!==i?this.raise(Ze.MissingClosingTagFragment,i):!et(n)&&et(i)?this.raise(Ze.MissingClosingTagElement,i,{openingTagName:tt(n.name)}):et(n)||et(i)||tt(i.name)!==tt(n.name)&&this.raise(Ze.MissingClosingTagElement,i,{openingTagName:tt(n.name)})}if(et(n)?(t.openingFragment=n,t.closingFragment=i):(t.openingElement=n,t.closingElement=i),t.children=r,this.match(47))throw this.raise(Ze.UnwrappedAdjacentJSXElements,this.state.startLoc);return et(n)?this.finishNode(t,"JSXFragment"):this.finishNode(t,"JSXElement")}},{key:"jsxParseElement",value:function(){var e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}},{key:"setContext",value:function(e){var t=this.state.context;t[t.length-1]=e}},{key:"parseExprAtom",value:function(e){return this.match(143)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(143),this.jsxParseElement()):y(t,"parseExprAtom",this,3)([e])}},{key:"skipSpace",value:function(){this.curContext().preserveSpace||y(t,"skipSpace",this,3)([])}},{key:"getTokenFromCode",value:function(e){var r=this.curContext();if(r!==W.j_expr){if(r===W.j_oTag||r===W.j_cTag){if(we(e))return void this.jsxReadWord();if(62===e)return++this.state.pos,void this.finishToken(144);if((34===e||39===e)&&r===W.j_oTag)return void this.jsxReadString(e)}if(60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1))return++this.state.pos,void this.finishToken(143);y(t,"getTokenFromCode",this,3)([e])}else this.jsxReadToken()}},{key:"updateContext",value:function(e){var t=this.state,r=t.context,n=t.type;if(56===n&&143===e)r.splice(-2,2,W.j_cTag),this.state.canStartJSXElement=!1;else if(143===n)r.push(W.j_oTag);else if(144===n){var i=r[r.length-1];i===W.j_oTag&&56===e||i===W.j_cTag?(r.pop(),this.state.canStartJSXElement=r[r.length-1]===W.j_expr):(this.setContext(W.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=ie[n]}}])}(e)},flow:function(e){return function(e){function t(){var e;P(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=d(this,t,[].concat(n))).flowPragma=void 0,e}return g(t,e),x(t,[{key:"getScopeHandler",value:function(){return Ue}},{key:"shouldParseTypes",value:function(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}},{key:"finishToken",value:function(e,r){134!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),y(t,"finishToken",this,3)([e,r])}},{key:"addComment",value:function(e){if(void 0===this.flowPragma){var r=Ye.exec(e.value);if(r)if("flow"===r[1])this.flowPragma="flow";else{if("noflow"!==r[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}y(t,"addComment",this,3)([e])}},{key:"flowParseTypeInitialiser",value:function(e){var t=this.state.inType;this.state.inType=!0,this.expect(e||14);var r=this.flowParseType();return this.state.inType=t,r}},{key:"flowParsePredicate",value:function(){var e=this.startNode(),r=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>r.index+1&&this.raise(Ve.UnexpectedSpaceBetweenModuloChecks,r),this.eat(10)?(e.value=y(t,"parseExpression",this,3)([]),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}},{key:"flowParseTypeAndPredicateInitialiser",value:function(){var e=this.state.inType;this.state.inType=!0,this.expect(14);var t=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[t,r]}},{key:"flowParseDeclareClass",value:function(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}},{key:"flowParseDeclareFunction",value:function(e){this.next();var t=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);var i=this.flowParseFunctionTypeParams();r.params=i.params,r.rest=i.rest,r.this=i._this,this.expect(11);var a=c(this.flowParseTypeAndPredicateInitialiser(),2);return r.returnType=a[0],e.predicate=a[1],n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}},{key:"flowParseDeclare",value:function(e,t){return this.match(80)?this.flowParseDeclareClass(e):this.match(68)?this.flowParseDeclareFunction(e):this.match(74)?this.flowParseDeclareVariable(e):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Ve.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e)):this.isContextual(130)?this.flowParseDeclareTypeAlias(e):this.isContextual(131)?this.flowParseDeclareOpaqueType(e):this.isContextual(129)?this.flowParseDeclareInterface(e):this.match(82)?this.flowParseDeclareExportDeclaration(e,t):void this.unexpected()}},{key:"flowParseDeclareVariable",value:function(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}},{key:"flowParseDeclareModule",value:function(e){var r=this;this.scope.enter(0),this.match(134)?e.id=y(t,"parseExprAtom",this,3)([]):e.id=this.parseIdentifier();var n=e.body=this.startNode(),i=n.body=[];for(this.expect(5);!this.match(8);){var a=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(Ve.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),y(t,"parseImport",this,3)([a])):(this.expectContextual(125,Ve.UnsupportedStatementInDeclareModule),a=this.flowParseDeclare(a,!0)),i.push(a)}this.scope.exit(),this.expect(8),this.finishNode(n,"BlockStatement");var s=null,o=!1;return i.forEach((function(e){!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(o&&r.raise(Ve.DuplicateDeclareModuleExports,e),"ES"===s&&r.raise(Ve.AmbiguousDeclareModuleKind,e),s="CommonJS",o=!0):("CommonJS"===s&&r.raise(Ve.AmbiguousDeclareModuleKind,e),s="ES")})),e.kind=s||"CommonJS",this.finishNode(e,"DeclareModule")}},{key:"flowParseDeclareExportDeclaration",value:function(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!t){var r=this.state.value;throw this.raise(Ve.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:r,suggestion:We[r]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?"ExportNamedDeclaration"===(e=this.parseExport(e,null)).type?(e.default=!1,delete e.exportKind,this.castNodeTo(e,"DeclareExportDeclaration")):this.castNodeTo(e,"DeclareExportAllDeclaration"):void this.unexpected()}},{key:"flowParseDeclareModuleExports",value:function(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}},{key:"flowParseDeclareTypeAlias",value:function(e){this.next();var t=this.flowParseTypeAlias(e);return this.castNodeTo(t,"DeclareTypeAlias"),t}},{key:"flowParseDeclareOpaqueType",value:function(e){this.next();var t=this.flowParseOpaqueType(e,!0);return this.castNodeTo(t,"DeclareOpaqueType"),t}},{key:"flowParseDeclareInterface",value:function(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}},{key:"flowParseInterfaceish",value:function(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(t){if(e.implements=[],e.mixins=[],this.eatContextual(117))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(113))do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}},{key:"flowParseInterfaceExtends",value:function(){var e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}},{key:"flowParseInterface",value:function(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}},{key:"checkNotUnderscore",value:function(e){"_"===e&&this.raise(Ve.UnexpectedReservedUnderscore,this.state.startLoc)}},{key:"checkReservedType",value:function(e,t,r){Ke.has(e)&&this.raise(r?Ve.AssignReservedType:Ve.UnexpectedReservedType,t,{reservedType:e})}},{key:"flowParseRestrictedIdentifier",value:function(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}},{key:"flowParseTypeAlias",value:function(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}},{key:"flowParseOpaqueType",value:function(e,t){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}},{key:"flowParseTypeParameter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.state.startLoc,r=this.startNode(),n=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return r.name=i.name,r.variance=n,r.bound=i.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(Ve.MissingTypeParamDefault,t),this.finishNode(r,"TypeParameter")}},{key:"flowParseTypeParameterDeclaration",value:function(){var e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();var r=!1;do{var n=this.flowParseTypeParameter(r);t.params.push(n),n.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}},{key:"flowInTopLevelContext",value:function(e){if(this.curContext()===W.brace)return e();var t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}},{key:"flowParseTypeParameterInstantiationInExpression",value:function(){if(47===this.reScan_lt())return this.flowParseTypeParameterInstantiation()}},{key:"flowParseTypeParameterInstantiation",value:function(){var e=this,t=this.startNode(),r=this.state.inType;return this.state.inType=!0,t.params=[],this.flowInTopLevelContext((function(){e.expect(47);var r=e.state.noAnonFunctionType;for(e.state.noAnonFunctionType=!1;!e.match(48);)t.params.push(e.flowParseType()),e.match(48)||e.expect(12);e.state.noAnonFunctionType=r})),this.state.inType=r,this.state.inType||this.curContext()!==W.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(t,"TypeParameterInstantiation")}},{key:"flowParseTypeParameterInstantiationCallOrNew",value:function(){if(47===this.reScan_lt()){var e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}}},{key:"flowParseInterfaceType",value:function(){var e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}},{key:"flowParseObjectPropertyKey",value:function(){return this.match(135)||this.match(134)?y(t,"parseExprAtom",this,3)([]):this.parseIdentifier(!0)}},{key:"flowParseObjectTypeIndexer",value:function(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}},{key:"flowParseObjectTypeInternalSlot",value:function(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}},{key:"flowParseObjectTypeMethodish",value:function(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}},{key:"flowParseObjectTypeCallProperty",value:function(e,t){var r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}},{key:"flowParseObjectType",value:function(e){var t=e.allowStatic,r=e.allowExact,n=e.allowSpread,i=e.allowProto,a=e.allowInexact,s=this.state.inType;this.state.inType=!0;var o,l,u=this.startNode();u.callProperties=[],u.properties=[],u.indexers=[],u.internalSlots=[];var c=!1;for(r&&this.match(6)?(this.expect(6),o=9,l=!0):(this.expect(5),o=8,l=!1),u.exact=l;!this.match(o);){var p=!1,h=null,d=null,f=this.startNode();if(i&&this.isContextual(118)){var y=this.lookahead();14!==y.type&&17!==y.type&&(this.next(),h=this.state.startLoc,t=!1)}if(t&&this.isContextual(106)){var m=this.lookahead();14!==m.type&&17!==m.type&&(this.next(),p=!0)}var v=this.flowParseVariance();if(this.eat(0))null!=h&&this.unexpected(h),this.eat(0)?(v&&this.unexpected(v.loc.start),u.internalSlots.push(this.flowParseObjectTypeInternalSlot(f,p))):u.indexers.push(this.flowParseObjectTypeIndexer(f,p,v));else if(this.match(10)||this.match(47))null!=h&&this.unexpected(h),v&&this.unexpected(v.loc.start),u.callProperties.push(this.flowParseObjectTypeCallProperty(f,p));else{var g="init";(this.isContextual(99)||this.isContextual(104))&&he(this.lookahead().type)&&(g=this.state.value,this.next());var T=this.flowParseObjectTypeProperty(f,p,h,v,g,n,null!=a?a:!l);null===T?(c=!0,d=this.state.lastTokStartLoc):u.properties.push(T)}this.flowObjectTypeSemicolon(),!d||this.match(8)||this.match(9)||this.raise(Ve.UnexpectedExplicitInexactInObject,d)}this.expect(o),n&&(u.inexact=c);var b=this.finishNode(u,"ObjectTypeAnnotation");return this.state.inType=s,b}},{key:"flowParseObjectTypeProperty",value:function(e,t,r,n,i,a,s){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(a?s||this.raise(Ve.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Ve.InexactInsideNonObject,this.state.lastTokStartLoc),n&&this.raise(Ve.InexactVariance,n),null):(a||this.raise(Ve.UnexpectedSpreadType,this.state.lastTokStartLoc),null!=r&&this.unexpected(r),n&&this.raise(Ve.SpreadVariance,n),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=i;var o=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),n&&this.unexpected(n.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),"get"!==i&&"set"!==i||this.flowCheckGetterSetterParams(e),!a&&"constructor"===e.key.name&&e.value.this&&this.raise(Ve.ThisParamBannedInConstructor,e.value.this)):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=o,this.finishNode(e,"ObjectTypeProperty")}},{key:"flowCheckGetterSetterParams",value:function(e){var t="get"===e.kind?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Ve.GetterMayNotHaveThisParam:Ve.SetterMayNotHaveThisParam,e.value.this),r!==t&&this.raise("get"===e.kind?R.BadGetterArity:R.BadSetterArity,e),"set"===e.kind&&e.value.rest&&this.raise(R.BadSetterRestParameter,e)}},{key:"flowObjectTypeSemicolon",value:function(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}},{key:"flowParseQualifiedTypeIdentifier",value:function(e,t){null!=e||(e=this.state.startLoc);for(var r=t||this.flowParseRestrictedIdentifier(!0);this.eat(16);){var n=this.startNodeAt(e);n.qualification=r,n.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(n,"QualifiedTypeIdentifier")}return r}},{key:"flowParseGenericType",value:function(e,t){var r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}},{key:"flowParseTypeofType",value:function(){var e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}},{key:"flowParseTupleType",value:function(){var e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}},{key:"flowParseFunctionTypeParam",value:function(e){var t=null,r=!1,n=null,i=this.startNode(),a=this.lookahead(),s=78===this.state.type;return 14===a.type||17===a.type?(s&&!e&&this.raise(Ve.ThisParamMustBeFirst,i),t=this.parseIdentifier(s),this.eat(17)&&(r=!0,s&&this.raise(Ve.ThisParamMayNotBeOptional,i)),n=this.flowParseTypeInitialiser()):n=this.flowParseType(),i.name=t,i.optional=r,i.typeAnnotation=n,this.finishNode(i,"FunctionTypeParam")}},{key:"reinterpretTypeAsFunctionTypeParam",value:function(e){var t=this.startNodeAt(e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}},{key:"flowParseFunctionTypeParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=null,r=null;for(this.match(78)&&((r=this.flowParseFunctionTypeParam(!0)).name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:r}}},{key:"flowIdentToTypeAnnotation",value:function(e,t,r){switch(r.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,r)}}},{key:"flowParsePrimaryType",value:function(){var e,r,n=this.state.startLoc,i=this.startNode(),a=!1,s=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,r=this.flowParseTupleType(),this.state.noAnonFunctionType=s,r;case 47:var o=this.startNode();return o.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),e=this.flowParseFunctionTypeParams(),o.params=e.params,o.rest=e.rest,o.this=e._this,this.expect(11),this.expect(19),o.returnType=this.flowParseType(),this.finishNode(o,"FunctionTypeAnnotation");case 10:var l=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(ce(this.state.type)||this.match(78)){var u=this.lookahead().type;a=17!==u&&14!==u}else a=!0;if(a){if(this.state.noAnonFunctionType=!1,r=this.flowParseType(),this.state.noAnonFunctionType=s,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),r;this.eat(12)}return e=r?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(r)]):this.flowParseFunctionTypeParams(),l.params=e.params,l.rest=e.rest,l.this=e._this,this.expect(11),this.expect(19),l.returnType=this.flowParseType(),l.typeParameters=null,this.finishNode(l,"FunctionTypeAnnotation");case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return i.value=this.match(85),this.next(),this.finishNode(i,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",i);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",i);throw this.raise(Ve.UnexpectedSubtractionOperand,this.state.startLoc)}return void this.unexpected();case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(i,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(i,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(i,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(i,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(ye(this.state.type)){var c=me(this.state.type);return this.next(),y(t,"createIdentifier",this,3)([i,c])}if(ce(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(n,i,this.parseIdentifier())}this.unexpected()}},{key:"flowParsePostfixType",value:function(){for(var e=this.state.startLoc,t=this.flowParsePrimaryType(),r=!1;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){var n=this.startNodeAt(e),i=this.eat(18);r=r||i,this.expect(0),!i&&this.match(3)?(n.elementType=t,this.next(),t=this.finishNode(n,"ArrayTypeAnnotation")):(n.objectType=t,n.indexType=this.flowParseType(),this.expect(3),r?(n.optional=i,t=this.finishNode(n,"OptionalIndexedAccessType")):t=this.finishNode(n,"IndexedAccessType"))}return t}},{key:"flowParsePrefixType",value:function(){var e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}},{key:"flowParseAnonFunctionWithoutParens",value:function(){var e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){var t=this.startNodeAt(e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}},{key:"flowParseIntersectionType",value:function(){var e=this.startNode();this.eat(45);var t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}},{key:"flowParseUnionType",value:function(){var e=this.startNode();this.eat(43);var t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}},{key:"flowParseType",value:function(){var e=this.state.inType;this.state.inType=!0;var t=this.flowParseUnionType();return this.state.inType=e,t}},{key:"flowParseTypeOrImplicitInstantiation",value:function(){if(132===this.state.type&&"_"===this.state.value){var e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}return this.flowParseType()}},{key:"flowParseTypeAnnotation",value:function(){var e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}},{key:"flowParseTypeAnnotatableIdentifier",value:function(e){var t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}},{key:"typeCastToParameter",value:function(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}},{key:"flowParseVariance",value:function(){var e=null;return this.match(53)?(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")):e}},{key:"parseFunctionBody",value:function(e,r){var n=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r?this.forwardNoArrowParamsConversionAt(e,(function(){return y(t,"parseFunctionBody",n,3)([e,!0,i])})):y(t,"parseFunctionBody",this,3)([e,!1,i])}},{key:"parseFunctionBodyAndFinish",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.match(14)){var i=this.startNode(),a=c(this.flowParseTypeAndPredicateInitialiser(),2);i.typeAnnotation=a[0],e.predicate=a[1],e.returnType=i.typeAnnotation?this.finishNode(i,"TypeAnnotation"):null}return y(t,"parseFunctionBodyAndFinish",this,3)([e,r,n])}},{key:"parseStatementLike",value:function(e){if(this.state.strict&&this.isContextual(129)){if(pe(this.lookahead().type)){var r=this.startNode();return this.next(),this.flowParseInterface(r)}}else if(this.isContextual(126)){var n=this.startNode();return this.next(),this.flowParseEnumDeclaration(n)}var i=y(t,"parseStatementLike",this,3)([e]);return void 0!==this.flowPragma||this.isValidDirective(i)||(this.flowPragma=null),i}},{key:"parseExpressionStatement",value:function(e,r,n){if("Identifier"===r.type)if("declare"===r.name){if(this.match(80)||ce(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(ce(this.state.type)){if("interface"===r.name)return this.flowParseInterface(e);if("type"===r.name)return this.flowParseTypeAlias(e);if("opaque"===r.name)return this.flowParseOpaqueType(e,!1)}return y(t,"parseExpressionStatement",this,3)([e,r,n])}},{key:"shouldParseExportDeclaration",value:function(){var e=this.state.type;return 126===e||fe(e)?!this.state.containsEsc:y(t,"shouldParseExportDeclaration",this,3)([])}},{key:"isExportDefaultSpecifier",value:function(){var e=this.state.type;return 126===e||fe(e)?this.state.containsEsc:y(t,"isExportDefaultSpecifier",this,3)([])}},{key:"parseExportDefaultExpression",value:function(){if(this.isContextual(126)){var e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return y(t,"parseExportDefaultExpression",this,3)([])}},{key:"parseConditional",value:function(e,t,r){var n=this;if(!this.match(17))return e;if(this.state.maybeInArrowParameters){var i=this.lookaheadCharCode();if(44===i||61===i||58===i||41===i)return this.setOptionalParametersError(r),e}this.expect(17);var a=this.state.clone(),s=this.state.noArrowAt,o=this.startNodeAt(t),l=this.tryParseConditionalConsequent(),p=l.consequent,h=l.failed,d=c(this.getArrowLikeExpressions(p),2),f=d[0],y=d[1];if(h||y.length>0){var m=u(s);if(y.length>0){this.state=a,this.state.noArrowAt=m;for(var v=0;v<y.length;v++)m.push(y[v].start);var g=this.tryParseConditionalConsequent();p=g.consequent,h=g.failed;var T=c(this.getArrowLikeExpressions(p),2);f=T[0],y=T[1]}if(h&&f.length>1&&this.raise(Ve.AmbiguousConditionalArrow,a.startLoc),h&&1===f.length){this.state=a,m.push(f[0].start),this.state.noArrowAt=m;var b=this.tryParseConditionalConsequent();p=b.consequent,h=b.failed}}return this.getArrowLikeExpressions(p,!0),this.state.noArrowAt=s,this.expect(14),o.test=e,o.consequent=p,o.alternate=this.forwardNoArrowParamsConversionAt(o,(function(){return n.parseMaybeAssign(void 0,void 0)})),this.finishNode(o,"ConditionalExpression")}},{key:"tryParseConditionalConsequent",value:function(){this.state.noArrowParamsConversionAt.push(this.state.start);var e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}},{key:"getArrowLikeExpressions",value:function(e,t){for(var r=this,n=[e],i=[];0!==n.length;){var a=n.pop();"ArrowFunctionExpression"===a.type&&"BlockStatement"!==a.body.type?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):i.push(a),n.push(a.body)):"ConditionalExpression"===a.type&&(n.push(a.consequent),n.push(a.alternate))}return t?(i.forEach((function(e){return r.finishArrowValidation(e)})),[i,[]]):function(e,t){for(var r=[],n=[],i=0;i<e.length;i++)(t(e[i])?r:n).push(e[i]);return[r,n]}(i,(function(e){return e.params.every((function(e){return r.isAssignable(e,!0)}))}))}},{key:"finishArrowValidation",value:function(e){var r;this.toAssignableList(e.params,null==(r=e.extra)?void 0:r.trailingCommaLoc,!1),this.scope.enter(518),y(t,"checkParams",this,3)([e,!1,!0]),this.scope.exit()}},{key:"forwardNoArrowParamsConversionAt",value:function(e,t){var r;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r}},{key:"parseParenItem",value:function(e,r){var n=y(t,"parseParenItem",this,3)([e,r]);if(this.eat(17)&&(n.optional=!0,this.resetEndLocation(e)),this.match(14)){var i=this.startNodeAt(r);return i.expression=n,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return n}},{key:"assertModuleNodeAllowed",value:function(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||y(t,"assertModuleNodeAllowed",this,3)([e])}},{key:"parseExportDeclaration",value:function(e){if(this.isContextual(130)){e.exportKind="type";var r=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),y(t,"parseExportFrom",this,3)([e]),null):this.flowParseTypeAlias(r)}if(this.isContextual(131)){e.exportKind="type";var n=this.startNode();return this.next(),this.flowParseOpaqueType(n,!1)}if(this.isContextual(129)){e.exportKind="type";var i=this.startNode();return this.next(),this.flowParseInterface(i)}if(this.isContextual(126)){e.exportKind="value";var a=this.startNode();return this.next(),this.flowParseEnumDeclaration(a)}return y(t,"parseExportDeclaration",this,3)([e])}},{key:"eatExportStar",value:function(e){return!!y(t,"eatExportStar",this,3)([e])||!(!this.isContextual(130)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}},{key:"maybeParseExportNamespaceSpecifier",value:function(e){var r=this.state.startLoc,n=y(t,"maybeParseExportNamespaceSpecifier",this,3)([e]);return n&&"type"===e.exportKind&&this.unexpected(r),n}},{key:"parseClassId",value:function(e,r,n){y(t,"parseClassId",this,3)([e,r,n]),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}},{key:"parseClassMember",value:function(e,r,n){var i=this.state.startLoc;if(this.isContextual(125)){if(y(t,"parseClassMemberFromModifier",this,3)([e,r]))return;r.declare=!0}y(t,"parseClassMember",this,3)([e,r,n]),r.declare&&("ClassProperty"!==r.type&&"ClassPrivateProperty"!==r.type&&"PropertyDefinition"!==r.type?this.raise(Ve.DeclareClassElement,i):r.value&&this.raise(Ve.DeclareClassFieldInitializer,r.value))}},{key:"isIterator",value:function(e){return"iterator"===e||"asyncIterator"===e}},{key:"readIterator",value:function(){var e=y(t,"readWord1",this,3)([]),r="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(R.InvalidIdentifier,this.state.curPosition(),{identifierName:r}),this.finishToken(132,r)}},{key:"getTokenFromCode",value:function(e){var r=this.input.charCodeAt(this.state.pos+1);123===e&&124===r?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===r?this.finishOp(18,2):this.finishOp(17,1):function(e,t,r){return 64===e&&64===t&&we(r)}(e,r,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):y(t,"getTokenFromCode",this,3)([e]):this.finishOp(62===e?48:47,1)}},{key:"isAssignable",value:function(e,r){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,r):y(t,"isAssignable",this,3)([e,r])}},{key:"toAssignable",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r||"AssignmentExpression"!==e.type||"TypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left)),y(t,"toAssignable",this,3)([e,r])}},{key:"toAssignableList",value:function(e,r,n){for(var i=0;i<e.length;i++){var a=e[i];"TypeCastExpression"===(null==a?void 0:a.type)&&(e[i]=this.typeCastToParameter(a))}y(t,"toAssignableList",this,3)([e,r,n])}},{key:"toReferencedList",value:function(e,t){for(var r=0;r<e.length;r++){var n,i=e[r];!i||"TypeCastExpression"!==i.type||null!=(n=i.extra)&&n.parenthesized||!(e.length>1)&&t||this.raise(Ve.TypeCastInPattern,i.typeAnnotation)}return e}},{key:"parseArrayLike",value:function(e,r,n,i){var a=y(t,"parseArrayLike",this,3)([e,r,n,i]);return r&&!this.state.maybeInArrowParameters&&this.toReferencedList(a.elements),a}},{key:"isValidLVal",value:function(e,r,n){return"TypeCastExpression"===e||y(t,"isValidLVal",this,3)([e,r,n])}},{key:"parseClassProperty",value:function(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),y(t,"parseClassProperty",this,3)([e])}},{key:"parseClassPrivateProperty",value:function(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),y(t,"parseClassPrivateProperty",this,3)([e])}},{key:"isClassMethod",value:function(){return this.match(47)||y(t,"isClassMethod",this,3)([])}},{key:"isClassProperty",value:function(){return this.match(14)||y(t,"isClassProperty",this,3)([])}},{key:"isNonstaticConstructor",value:function(e){return!this.match(14)&&y(t,"isNonstaticConstructor",this,3)([e])}},{key:"pushClassMethod",value:function(e,r,n,i,a,s){if(r.variance&&this.unexpected(r.variance.loc.start),delete r.variance,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),y(t,"pushClassMethod",this,3)([e,r,n,i,a,s]),r.params&&a){var o=r.params;o.length>0&&this.isThisParam(o[0])&&this.raise(Ve.ThisParamBannedInConstructor,r)}else if("MethodDefinition"===r.type&&a&&r.value.params){var l=r.value.params;l.length>0&&this.isThisParam(l[0])&&this.raise(Ve.ThisParamBannedInConstructor,r)}}},{key:"pushClassPrivateMethod",value:function(e,r,n,i){r.variance&&this.unexpected(r.variance.loc.start),delete r.variance,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),y(t,"pushClassPrivateMethod",this,3)([e,r,n,i])}},{key:"parseClassSuper",value:function(e){if(y(t,"parseClassSuper",this,3)([e]),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();var r=e.implements=[];do{var n=this.startNode();n.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?n.typeParameters=this.flowParseTypeParameterInstantiation():n.typeParameters=null,r.push(this.finishNode(n,"ClassImplements"))}while(this.eat(12))}}},{key:"checkGetterSetterParams",value:function(e){y(t,"checkGetterSetterParams",this,3)([e]);var r=this.getObjectOrClassMethodParams(e);if(r.length>0){var n=r[0];this.isThisParam(n)&&"get"===e.kind?this.raise(Ve.GetterMayNotHaveThisParam,n):this.isThisParam(n)&&this.raise(Ve.SetterMayNotHaveThisParam,n)}}},{key:"parsePropertyNamePrefixOperator",value:function(e){e.variance=this.flowParseVariance()}},{key:"parseObjPropValue",value:function(e,r,n,i,a,s,o){var l;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!s&&(l=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());var u=y(t,"parseObjPropValue",this,3)([e,r,n,i,a,s,o]);return l&&((u.value||u).typeParameters=l),u}},{key:"parseFunctionParamType",value:function(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Ve.PatternIsOptional,e),this.isThisParam(e)&&this.raise(Ve.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Ve.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(Ve.ThisParamNoDefault,e),this.resetEndLocation(e),e}},{key:"parseMaybeDefault",value:function(e,r){var n=y(t,"parseMaybeDefault",this,3)([e,r]);return"AssignmentPattern"===n.type&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(Ve.TypeBeforeInitializer,n.typeAnnotation),n}},{key:"checkImportReflection",value:function(e){y(t,"checkImportReflection",this,3)([e]),e.module&&"value"!==e.importKind&&this.raise(Ve.ImportReflectionHasImportType,e.specifiers[0].loc.start)}},{key:"parseImportSpecifierLocal",value:function(e,t,r){t.local=qe(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}},{key:"isPotentialImportPhase",value:function(e){if(y(t,"isPotentialImportPhase",this,3)([e]))return!0;if(this.isContextual(130)){if(!e)return!0;var r=this.lookaheadCharCode();return 123===r||42===r}return!e&&this.isContextual(87)}},{key:"applyImportPhase",value:function(e,r,n,i){if(y(t,"applyImportPhase",this,3)([e,r,n,i]),r){if(!n&&this.match(65))return;e.exportKind="type"===n?n:"value"}else"type"===n&&this.match(55)&&this.unexpected(),e.importKind="type"===n||"typeof"===n?n:"value"}},{key:"parseImportSpecifier",value:function(e,t,r,n,i){var a=e.imported,s=null;"Identifier"===a.type&&("type"===a.name?s="type":"typeof"===a.name&&(s="typeof"));var o=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){var l=this.parseIdentifier(!0);null===s||pe(this.state.type)?(e.imported=a,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=l,e.importKind=s,e.local=this.cloneIdentifier(l))}else{if(null!==s&&pe(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=s;else{if(t)throw this.raise(R.ImportBindingIsString,e,{importName:a.value});e.imported=a,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(o=!0,e.local=this.cloneIdentifier(e.imported))}var u=qe(e);return r&&u&&this.raise(Ve.ImportTypeShorthandOnlyInPureImport,e),(r||u)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),!o||r||u||this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}},{key:"parseBindingAtom",value:function(){return 78===this.state.type?this.parseIdentifier(!0):y(t,"parseBindingAtom",this,3)([])}},{key:"parseFunctionParams",value:function(e,r){var n=e.kind;"get"!==n&&"set"!==n&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),y(t,"parseFunctionParams",this,3)([e,r])}},{key:"parseVarId",value:function(e,r){y(t,"parseVarId",this,3)([e,r]),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}},{key:"parseAsyncArrowFromCallExpression",value:function(e,r){if(this.match(14)){var n=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=n}return y(t,"parseAsyncArrowFromCallExpression",this,3)([e,r])}},{key:"shouldParseAsyncArrow",value:function(){return this.match(14)||y(t,"shouldParseAsyncArrow",this,3)([])}},{key:"parseMaybeAssign",value:function(e,r){var n,i,a=this,s=null;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(s=this.state.clone(),!(i=this.tryParse((function(){return y(t,"parseMaybeAssign",a,3)([e,r])}),s)).error)return i.node;var o=this.state.context,l=o[o.length-1];l!==W.j_oTag&&l!==W.j_expr||o.pop()}if(null!=(n=i)&&n.error||this.match(47)){var u,c,p;s=s||this.state.clone();var h=this.tryParse((function(n){var i;p=a.flowParseTypeParameterDeclaration();var s=a.forwardNoArrowParamsConversionAt(p,(function(){var n=y(t,"parseMaybeAssign",a,3)([e,r]);return a.resetStartLocationFromNode(n,p),n}));null!=(i=s.extra)&&i.parenthesized&&n();var o=a.maybeUnwrapTypeCastExpression(s);return"ArrowFunctionExpression"!==o.type&&n(),o.typeParameters=p,a.resetStartLocationFromNode(o,p),s}),s),d=null;if(h.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(h.node).type){if(!h.error&&!h.aborted)return h.node.async&&this.raise(Ve.UnexpectedTypeParameterBeforeAsyncArrowFunction,p),h.node;d=h.node}if(null!=(u=i)&&u.node)return this.state=i.failState,i.node;if(d)return this.state=h.failState,d;if(null!=(c=i)&&c.thrown)throw i.error;if(h.thrown)throw h.error;throw this.raise(Ve.UnexpectedTokenAfterTypeParameter,p)}return y(t,"parseMaybeAssign",this,3)([e,r])}},{key:"parseArrow",value:function(e){var r=this;if(this.match(14)){var n=this.tryParse((function(){var t=r.state.noAnonFunctionType;r.state.noAnonFunctionType=!0;var n=r.startNode(),i=c(r.flowParseTypeAndPredicateInitialiser(),2);return n.typeAnnotation=i[0],e.predicate=i[1],r.state.noAnonFunctionType=t,r.canInsertSemicolon()&&r.unexpected(),r.match(19)||r.unexpected(),n}));if(n.thrown)return null;n.error&&(this.state=n.failState),e.returnType=n.node.typeAnnotation?this.finishNode(n.node,"TypeAnnotation"):null}return y(t,"parseArrow",this,3)([e])}},{key:"shouldParseArrow",value:function(e){return this.match(14)||y(t,"shouldParseArrow",this,3)([e])}},{key:"setArrowFunctionParameters",value:function(e,r){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?e.params=r:y(t,"setArrowFunctionParameters",this,3)([e,r])}},{key:"checkParams",value:function(e,r,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!n||!this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))){for(var a=0;a<e.params.length;a++)this.isThisParam(e.params[a])&&a>0&&this.raise(Ve.ThisParamMustBeFirst,e.params[a]);y(t,"checkParams",this,3)([e,r,n,i])}}},{key:"parseParenAndDistinguishExpression",value:function(e){return y(t,"parseParenAndDistinguishExpression",this,3)([e&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start))])}},{key:"parseSubscripts",value:function(e,r,n){var i=this;if("Identifier"===e.type&&"async"===e.name&&this.state.noArrowAt.includes(r.index)){this.next();var a=this.startNodeAt(r);a.callee=e,a.arguments=y(t,"parseCallExpressionArguments",this,3)([]),e=this.finishNode(a,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){var s=this.state.clone(),o=this.tryParse((function(e){return i.parseAsyncArrowWithTypeParameters(r)||e()}),s);if(!o.error&&!o.aborted)return o.node;var l=this.tryParse((function(){return y(t,"parseSubscripts",i,3)([e,r,n])}),s);if(l.node&&!l.error)return l.node;if(o.node)return this.state=o.failState,o.node;if(l.node)return this.state=l.failState,l.node;throw o.error||l.error}return y(t,"parseSubscripts",this,3)([e,r,n])}},{key:"parseSubscript",value:function(e,r,n,i){var a=this;if(this.match(18)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,n)return i.stop=!0,e;this.next();var s=this.startNodeAt(r);return s.callee=e,s.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),s.arguments=this.parseCallExpressionArguments(),s.optional=!0,this.finishCallExpression(s,!0)}if(!n&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){var o=this.startNodeAt(r);o.callee=e;var l=this.tryParse((function(){return o.typeArguments=a.flowParseTypeParameterInstantiationCallOrNew(),a.expect(10),o.arguments=y(t,"parseCallExpressionArguments",a,3)([]),i.optionalChainMember&&(o.optional=!1),a.finishCallExpression(o,i.optionalChainMember)}));if(l.node)return l.error&&(this.state=l.failState),l.node}return y(t,"parseSubscript",this,3)([e,r,n,i])}},{key:"parseNewCallee",value:function(e){var r=this;y(t,"parseNewCallee",this,3)([e]);var n=null;this.shouldParseTypes()&&this.match(47)&&(n=this.tryParse((function(){return r.flowParseTypeParameterInstantiationCallOrNew()})).node),e.typeArguments=n}},{key:"parseAsyncArrowWithTypeParameters",value:function(e){var r=this.startNodeAt(e);if(this.parseFunctionParams(r,!1),this.parseArrow(r))return y(t,"parseArrowExpression",this,3)([r,void 0,!0])}},{key:"readToken_mult_modulo",value:function(e){var r=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===r&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();y(t,"readToken_mult_modulo",this,3)([e])}},{key:"readToken_pipe_amp",value:function(e){var r=this.input.charCodeAt(this.state.pos+1);124!==e||125!==r?y(t,"readToken_pipe_amp",this,3)([e]):this.finishOp(9,2)}},{key:"parseTopLevel",value:function(e,r){var n=y(t,"parseTopLevel",this,3)([e,r]);return this.state.hasFlowComment&&this.raise(Ve.UnterminatedFlowComment,this.state.curPosition()),n}},{key:"skipBlockComment",value:function(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return y(t,"skipBlockComment",this,3)([this.state.hasFlowComment?"*-/":"*/"]);if(this.state.hasFlowComment)throw this.raise(Ve.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();var e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0)}},{key:"skipFlowComment",value:function(){for(var e=this.state.pos,t=2;[32,9].includes(this.input.charCodeAt(e+t));)t++;var r=this.input.charCodeAt(t+e),n=this.input.charCodeAt(t+e+1);return 58===r&&58===n?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==n&&t}},{key:"hasFlowCommentCompletion",value:function(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(R.UnterminatedComment,this.state.curPosition())}},{key:"flowEnumErrorBooleanMemberNotInitialized",value:function(e,t){var r=t.enumName,n=t.memberName;this.raise(Ve.EnumBooleanMemberNotInitialized,e,{memberName:n,enumName:r})}},{key:"flowEnumErrorInvalidMemberInitializer",value:function(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Ve.EnumInvalidMemberInitializerSymbolType:Ve.EnumInvalidMemberInitializerPrimaryType:Ve.EnumInvalidMemberInitializerUnknownType,e,t)}},{key:"flowEnumErrorNumberMemberNotInitialized",value:function(e,t){this.raise(Ve.EnumNumberMemberNotInitialized,e,t)}},{key:"flowEnumErrorStringMemberInconsistentlyInitialized",value:function(e,t){this.raise(Ve.EnumStringMemberInconsistentlyInitialized,e,t)}},{key:"flowEnumMemberInit",value:function(){var e=this,t=this.state.startLoc,r=function(){return e.match(12)||e.match(8)};switch(this.state.type){case 135:var n=this.parseNumericLiteral(this.state.value);return r()?{type:"number",loc:n.loc.start,value:n}:{type:"invalid",loc:t};case 134:var i=this.parseStringLiteral(this.state.value);return r()?{type:"string",loc:i.loc.start,value:i}:{type:"invalid",loc:t};case 85:case 86:var a=this.parseBooleanLiteral(this.match(85));return r()?{type:"boolean",loc:a.loc.start,value:a}:{type:"invalid",loc:t};default:return{type:"invalid",loc:t}}}},{key:"flowEnumMemberRaw",value:function(){var e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}},{key:"flowEnumCheckExplicitTypeMismatch",value:function(e,t,r){var n=t.explicitType;null!==n&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}},{key:"flowEnumMembers",value:function(e){for(var t=e.enumName,r=e.explicitType,n=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;!this.match(8);){if(this.eat(21)){a=!0;break}var s=this.startNode(),o=this.flowEnumMemberRaw(),l=o.id,u=o.init,c=l.name;if(""!==c){/^[a-z]/.test(c)&&this.raise(Ve.EnumInvalidMemberName,l,{memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:t}),n.has(c)&&this.raise(Ve.EnumDuplicateMemberName,l,{memberName:c,enumName:t}),n.add(c);var p={enumName:t,explicitType:r,memberName:c};switch(s.id=l,u.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(u.loc,p,"boolean"),s.init=u.value,i.booleanMembers.push(this.finishNode(s,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(u.loc,p,"number"),s.init=u.value,i.numberMembers.push(this.finishNode(s,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(u.loc,p,"string"),s.init=u.value,i.stringMembers.push(this.finishNode(s,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(u.loc,p);case"none":switch(r){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(u.loc,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(u.loc,p);break;default:i.defaultedMembers.push(this.finishNode(s,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}}return{members:i,hasUnknownMembers:a}}},{key:"flowEnumStringMembers",value:function(e,t,r){var n=r.enumName;if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){var i,a=l(e);try{for(a.s();!(i=a.n()).done;){var s=i.value;this.flowEnumErrorStringMemberInconsistentlyInitialized(s,{enumName:n})}}catch(e){a.e(e)}finally{a.f()}return t}var o,u=l(t);try{for(u.s();!(o=u.n()).done;){var c=o.value;this.flowEnumErrorStringMemberInconsistentlyInitialized(c,{enumName:n})}}catch(e){u.e(e)}finally{u.f()}return e}},{key:"flowEnumParseExplicitType",value:function(e){var t=e.enumName;if(!this.eatContextual(102))return null;if(!ce(this.state.type))throw this.raise(Ve.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:t});var r=this.state.value;return this.next(),"boolean"!==r&&"number"!==r&&"string"!==r&&"symbol"!==r&&this.raise(Ve.EnumInvalidExplicitType,this.state.startLoc,{enumName:t,invalidEnumType:r}),r}},{key:"flowEnumBody",value:function(e,t){var r=this,n=t.name,i=t.loc.start,a=this.flowEnumParseExplicitType({enumName:n});this.expect(5);var s=this.flowEnumMembers({enumName:n,explicitType:a}),o=s.members,u=s.hasUnknownMembers;switch(e.hasUnknownMembers=u,a){case"boolean":return e.explicitType=!0,e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:n}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=o.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:var c=function(){return e.members=[],r.expect(8),r.finishNode(e,"EnumStringBody")};e.explicitType=!1;var p=o.booleanMembers.length,h=o.numberMembers.length,d=o.stringMembers.length,f=o.defaultedMembers.length;if(p||h||d||f){if(p||h){if(!h&&!d&&p>=f){var y,m=l(o.defaultedMembers);try{for(m.s();!(y=m.n()).done;){var v=y.value;this.flowEnumErrorBooleanMemberNotInitialized(v.loc.start,{enumName:n,memberName:v.id.name})}}catch(e){m.e(e)}finally{m.f()}return e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!p&&!d&&h>=f){var g,T=l(o.defaultedMembers);try{for(T.s();!(g=T.n()).done;){var b=g.value;this.flowEnumErrorNumberMemberNotInitialized(b.loc.start,{enumName:n,memberName:b.id.name})}}catch(e){T.e(e)}finally{T.f()}return e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Ve.EnumInconsistentMemberValues,i,{enumName:n}),c()}return e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:n}),this.expect(8),this.finishNode(e,"EnumStringBody")}return c()}}},{key:"flowParseEnumDeclaration",value:function(e){var t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}},{key:"jsxParseOpeningElementAfterName",value:function(e){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(e.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),y(t,"jsxParseOpeningElementAfterName",this,3)([e])}},{key:"isLookaheadToken_lt",value:function(){var e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){var t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}},{key:"reScan_lt_gt",value:function(){var e=this.state.type;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}},{key:"reScan_lt",value:function(){var e=this.state.type;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}},{key:"maybeUnwrapTypeCastExpression",value:function(e){return"TypeCastExpression"===e.type?e.expression:e}}])}(e)},typescript:function(e){return function(e){function t(){var e;P(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=d(this,t,[].concat(n))).tsParseInOutModifiers=e.tsParseModifiers.bind(e,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:jt.InvalidModifierOnTypeParameter}),e.tsParseConstModifier=e.tsParseModifiers.bind(e,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:jt.InvalidModifierOnTypeParameterPositions}),e.tsParseInOutConstModifiers=e.tsParseModifiers.bind(e,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:jt.InvalidModifierOnTypeParameter}),e}return g(t,e),x(t,[{key:"getScopeHandler",value:function(){return nt}},{key:"tsIsIdentifier",value:function(){return ce(this.state.type)}},{key:"tsTokenCanFollowModifier",value:function(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}},{key:"tsNextTokenOnSameLineAndCanFollowModifier",value:function(){return this.next(),!this.hasPrecedingLineBreak()&&this.tsTokenCanFollowModifier()}},{key:"tsNextTokenCanFollowModifier",value:function(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}},{key:"tsParseModifier",value:function(e,t,r){if(ce(this.state.type)||58===this.state.type||75===this.state.type){var n=this.state.value;if(e.includes(n)){if(r&&this.match(106))return;if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return n}}}},{key:"tsParseModifiers",value:function(e,t){for(var r=this,n=e.allowedModifiers,i=e.disallowedModifiers,a=e.stopOnStartOfClassStaticBlock,s=e.errorTemplate,o=void 0===s?jt.InvalidModifierOnTypeMember:s,l=function(e,n,i,a){n===i&&t[a]&&r.raise(jt.InvalidModifiersOrder,e,{orderedModifiers:[i,a]})},u=function(e,n,i,a){(t[i]&&n===a||t[a]&&n===i)&&r.raise(jt.IncompatibleModifiers,e,{modifiers:[i,a]})};;){var c=this.state.startLoc,p=this.tsParseModifier(n.concat(null!=i?i:[]),a,t.static);if(!p)break;Bt(p)?t.accessibility?this.raise(jt.DuplicateAccessibilityModifier,c,{modifier:p}):(l(c,p,p,"override"),l(c,p,p,"static"),l(c,p,p,"readonly"),t.accessibility=p):Rt(p)?(t[p]&&this.raise(jt.DuplicateModifier,c,{modifier:p}),t[p]=!0,l(c,p,"in","out")):(hasOwnProperty.call(t,p)?this.raise(jt.DuplicateModifier,c,{modifier:p}):(l(c,p,"static","readonly"),l(c,p,"static","override"),l(c,p,"override","readonly"),l(c,p,"abstract","override"),u(c,p,"declare","override"),u(c,p,"static","abstract")),t[p]=!0),null!=i&&i.includes(p)&&this.raise(o,c,{modifier:p})}}},{key:"tsIsListTerminator",value:function(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}},{key:"tsParseList",value:function(e,t){for(var r=[];!this.tsIsListTerminator(e);)r.push(t());return r}},{key:"tsParseDelimitedList",value:function(e,t,r){return function(e){if(null==e)throw new Error("Unexpected ".concat(e," value."));return e}(this.tsParseDelimitedListWorker(e,t,!0,r))}},{key:"tsParseDelimitedListWorker",value:function(e,t,r,n){for(var i=[],a=-1;!this.tsIsListTerminator(e);){a=-1;var s=t();if(null==s)return;if(i.push(s),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}a=this.state.lastTokStartLoc.index}return n&&(n.value=a),i}},{key:"tsParseBracketedList",value:function(e,t,r,n,i){n||(r?this.expect(0):this.expect(47));var a=this.tsParseDelimitedList(e,t,i);return r?this.expect(3):this.expect(48),a}},{key:"tsParseImportType",value:function(){var e=this.startNode();return this.expect(83),this.expect(10),this.match(134)?e.argument=this.parseStringLiteral(this.state.value):(this.raise(jt.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=y(t,"parseExprAtom",this,3)([])),this.eat(12)?e.options=this.tsParseImportTypeOptions():e.options=null,this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(3)),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}},{key:"tsParseImportTypeOptions",value:function(){var e=this.startNode();this.expect(5);var t=this.startNode();return this.isContextual(76)?(t.method=!1,t.key=this.parseIdentifier(!0),t.computed=!1,t.shorthand=!1):this.unexpected(null,76),this.expect(14),t.value=this.tsParseImportTypeWithPropertyValue(),e.properties=[this.finishObjectProperty(t)],this.eat(12),this.expect(8),this.finishNode(e,"ObjectExpression")}},{key:"tsParseImportTypeWithPropertyValue",value:function(){var e=this.startNode(),r=[];for(this.expect(5);!this.match(8);){var n=this.state.type;ce(n)||134===n?r.push(y(t,"parsePropertyDefinition",this,3)([null])):this.unexpected(),this.eat(12)}return e.properties=r,this.next(),this.finishNode(e,"ObjectExpression")}},{key:"tsParseEntityName",value:function(e){var t;if(1&e&&this.match(78))if(2&e)t=this.parseIdentifier(!0);else{var r=this.startNode();this.next(),t=this.finishNode(r,"ThisExpression")}else t=this.parseIdentifier(!!(1&e));for(;this.eat(16);){var n=this.startNodeAtNode(t);n.left=t,n.right=this.parseIdentifier(!!(1&e)),t=this.finishNode(n,"TSQualifiedName")}return t}},{key:"tsParseTypeReference",value:function(){var e=this.startNode();return e.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}},{key:"tsParseThisTypePredicate",value:function(e){this.next();var t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}},{key:"tsParseThisTypeNode",value:function(){var e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}},{key:"tsParseTypeQuery",value:function(){var e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}},{key:"tsParseTypeParameter",value:function(e){var t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,"TSTypeParameter")}},{key:"tsTryParseTypeParameters",value:function(e){if(this.match(47))return this.tsParseTypeParameters(e)}},{key:"tsParseTypeParameters",value:function(e){var t=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();var r={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),0===t.params.length&&this.raise(jt.EmptyTypeParameters,t),-1!==r.value&&this.addExtra(t,"trailingComma",r.value),this.finishNode(t,"TSTypeParameterDeclaration")}},{key:"tsFillSignature",value:function(e,t){var r=19===e;t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}},{key:"tsParseBindingListForSignature",value:function(){var e,r=y(t,"parseBindingList",this,3)([11,41,2]),n=l(r);try{for(n.s();!(e=n.n()).done;){var i=e.value,a=i.type;"AssignmentPattern"!==a&&"TSParameterProperty"!==a||this.raise(jt.UnsupportedSignatureParameterKind,i,{type:a})}}catch(e){n.e(e)}finally{n.f()}return r}},{key:"tsParseTypeMemberSemicolon",value:function(){this.eat(12)||this.isLineTerminator()||this.expect(13)}},{key:"tsParseSignatureMember",value:function(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}},{key:"tsIsUnambiguouslyIndexSignature",value:function(){return this.next(),!!ce(this.state.type)&&(this.next(),this.match(14))}},{key:"tsTryParseIndexSignature",value:function(e){if(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))){this.expect(0);var t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];var r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}}},{key:"tsParsePropertyOrMethodSignature",value:function(e,t){if(this.eat(17)&&(e.optional=!0),this.match(10)||this.match(47)){t&&this.raise(jt.ReadonlyForMethodSignature,e);var r=e;r.kind&&this.match(47)&&this.raise(jt.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();var n="parameters",i="typeAnnotation";if("get"===r.kind)r[n].length>0&&(this.raise(R.BadGetterArity,this.state.curPosition()),this.isThisParam(r[n][0])&&this.raise(jt.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if("set"===r.kind){if(1!==r[n].length)this.raise(R.BadSetterArity,this.state.curPosition());else{var a=r[n][0];this.isThisParam(a)&&this.raise(jt.AccessorCannotDeclareThisParameter,this.state.curPosition()),"Identifier"===a.type&&a.optional&&this.raise(jt.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),"RestElement"===a.type&&this.raise(jt.SetAccessorCannotHaveRestParameter,this.state.curPosition())}r[i]&&this.raise(jt.SetAccessorCannotHaveReturnType,r[i])}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}var s=e;t&&(s.readonly=!0);var o=this.tsTryParseTypeAnnotation();return o&&(s.typeAnnotation=o),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSPropertySignature")}},{key:"tsParseTypeMember",value:function(){var e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){var r=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(r,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e),this.tsTryParseIndexSignature(e)||(y(t,"parsePropertyName",this,3)([e]),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,y(t,"parsePropertyName",this,3)([e]),this.match(10)||this.match(47)||this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}},{key:"tsParseTypeLiteral",value:function(){var e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}},{key:"tsParseObjectTypeMembers",value:function(){this.expect(5);var e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}},{key:"tsIsStartOfMappedType",value:function(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}},{key:"tsParseMappedType",value:function(){var e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);var t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(t,"TSTypeParameter"),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}},{key:"tsParseTupleType",value:function(){var e=this,t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var r=!1;return t.elementTypes.forEach((function(t){var n=t.type;!r||"TSRestType"===n||"TSOptionalType"===n||"TSNamedTupleMember"===n&&t.optional||e.raise(jt.OptionalTypeBeforeRequired,t),r||(r="TSNamedTupleMember"===n&&t.optional||"TSOptionalType"===n)})),this.finishNode(t,"TSTupleType")}},{key:"tsParseTupleElementType",value:function(){var e,t,r,n,i,a=this.state.startLoc,s=this.eat(21),o=this.state.startLoc,l=pe(this.state.type)?this.lookaheadCharCode():null;if(58===l)e=!0,r=!1,t=this.parseIdentifier(!0),this.expect(14),n=this.tsParseType();else if(63===l){r=!0;var u=this.state.value,c=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(e=!0,t=this.createIdentifier(this.startNodeAt(o),u),this.expect(17),this.expect(14),n=this.tsParseType()):(e=!1,n=c,this.expect(17))}else n=this.tsParseType(),r=this.eat(17),e=this.eat(14);if(e)t?((i=this.startNodeAt(o)).optional=r,i.label=t,i.elementType=n,this.eat(17)&&(i.optional=!0,this.raise(jt.TupleOptionalAfterType,this.state.lastTokStartLoc))):((i=this.startNodeAt(o)).optional=r,this.raise(jt.InvalidTupleMemberLabel,n),i.label=n,i.elementType=this.tsParseType()),n=this.finishNode(i,"TSNamedTupleMember");else if(r){var p=this.startNodeAt(o);p.typeAnnotation=n,n=this.finishNode(p,"TSOptionalType")}if(s){var h=this.startNodeAt(a);h.typeAnnotation=n,n=this.finishNode(h,"TSRestType")}return n}},{key:"tsParseParenthesizedType",value:function(){var e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}},{key:"tsParseFunctionOrConstructorType",value:function(e,t){var r=this,n=this.startNode();return"TSConstructorType"===e&&(n.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((function(){return r.tsFillSignature(19,n)})),this.finishNode(n,e)}},{key:"tsParseLiteralTypeNode",value:function(){var e=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:e.literal=y(t,"parseExprAtom",this,3)([]);break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}},{key:"tsParseTemplateLiteralType",value:function(){var e=this.startNode();return e.literal=y(t,"parseTemplate",this,3)([!1]),this.finishNode(e,"TSLiteralType")}},{key:"parseTemplateSubstitution",value:function(){return this.state.inType?this.tsParseType():y(t,"parseTemplateSubstitution",this,3)([])}},{key:"tsParseThisTypeOrThisTypePredicate",value:function(){var e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}},{key:"tsParseNonArrayType",value:function(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){var e=this.startNode(),t=this.lookahead();return 135!==t.type&&136!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:var r=this.state.type;if(ce(r)||88===r||84===r){var n=88===r?"TSVoidKeyword":84===r?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(void 0!==n&&46!==this.lookaheadCharCode()){var i=this.startNode();return this.next(),this.finishNode(i,n)}return this.tsParseTypeReference()}}this.unexpected()}},{key:"tsParseArrayTypeOrHigher",value:function(){for(var e=this.state.startLoc,t=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){var r=this.startNodeAt(e);r.elementType=t,this.expect(3),t=this.finishNode(r,"TSArrayType")}else{var n=this.startNodeAt(e);n.objectType=t,n.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(n,"TSIndexedAccessType")}return t}},{key:"tsParseTypeOperator",value:function(){var e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}},{key:"tsCheckTypeAnnotationForReadOnly",value:function(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(jt.UnexpectedReadonly,e)}}},{key:"tsParseInferType",value:function(){var e=this,t=this.startNode();this.expectContextual(115);var r=this.startNode();return r.name=this.tsParseTypeParameterName(),r.constraint=this.tsTryParse((function(){return e.tsParseConstraintForInferType()})),t.typeParameter=this.finishNode(r,"TSTypeParameter"),this.finishNode(t,"TSInferType")}},{key:"tsParseConstraintForInferType",value:function(){var e=this;if(this.eat(81)){var t=this.tsInDisallowConditionalTypesContext((function(){return e.tsParseType()}));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return t}}},{key:"tsParseTypeOperatorOrHigher",value:function(){var e,t=this;return(e=this.state.type)>=121&&e<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((function(){return t.tsParseArrayTypeOrHigher()}))}},{key:"tsParseUnionOrIntersectionType",value:function(e,t,r){var n=this.startNode(),i=this.eat(r),a=[];do{a.push(t())}while(this.eat(r));return 1!==a.length||i?(n.types=a,this.finishNode(n,e)):a[0]}},{key:"tsParseIntersectionTypeOrHigher",value:function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}},{key:"tsParseUnionTypeOrHigher",value:function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}},{key:"tsIsStartOfFunctionType",value:function(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}},{key:"tsSkipParameterStart",value:function(){if(ce(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){var e=this.state.errors,r=e.length;try{return this.parseObjectLike(8,!0),e.length===r}catch(e){return!1}}if(this.match(0)){this.next();var n=this.state.errors,i=n.length;try{return y(t,"parseBindingList",this,3)([3,93,1]),n.length===i}catch(e){return!1}}return!1}},{key:"tsIsUnambiguouslyStartOfFunctionType",value:function(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1}},{key:"tsParseTypeOrTypePredicateAnnotation",value:function(e){var t=this;return this.tsInType((function(){var r=t.startNode();t.expect(e);var n=t.startNode(),i=!!t.tsTryParse(t.tsParseTypePredicateAsserts.bind(t));if(i&&t.match(78)){var a=t.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===a.type?(n.parameterName=a,n.asserts=!0,n.typeAnnotation=null,a=t.finishNode(n,"TSTypePredicate")):(t.resetStartLocationFromNode(a,n),a.asserts=!0),r.typeAnnotation=a,t.finishNode(r,"TSTypeAnnotation")}var s=t.tsIsIdentifier()&&t.tsTryParse(t.tsParseTypePredicatePrefix.bind(t));if(!s)return i?(n.parameterName=t.parseIdentifier(),n.asserts=i,n.typeAnnotation=null,r.typeAnnotation=t.finishNode(n,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")):t.tsParseTypeAnnotation(!1,r);var o=t.tsParseTypeAnnotation(!1);return n.parameterName=s,n.typeAnnotation=o,n.asserts=i,r.typeAnnotation=t.finishNode(n,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")}))}},{key:"tsTryParseTypeOrTypePredicateAnnotation",value:function(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}},{key:"tsTryParseTypeAnnotation",value:function(){if(this.match(14))return this.tsParseTypeAnnotation()}},{key:"tsTryParseType",value:function(){return this.tsEatThenParseType(14)}},{key:"tsParseTypePredicatePrefix",value:function(){var e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}},{key:"tsParseTypePredicateAsserts",value:function(){if(109!==this.state.type)return!1;var e=this.state.containsEsc;return this.next(),!(!ce(this.state.type)&&!this.match(78)||(e&&this.raise(R.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),0))}},{key:"tsParseTypeAnnotation",value:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.startNode();return this.tsInType((function(){t&&e.expect(14),r.typeAnnotation=e.tsParseType()})),this.finishNode(r,"TSTypeAnnotation")}},{key:"tsParseType",value:function(){var e=this;Ft(this.state.inType);var t=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return t;var r=this.startNodeAtNode(t);return r.checkType=t,r.extendsType=this.tsInDisallowConditionalTypesContext((function(){return e.tsParseNonConditionalType()})),this.expect(17),r.trueType=this.tsInAllowConditionalTypesContext((function(){return e.tsParseType()})),this.expect(14),r.falseType=this.tsInAllowConditionalTypesContext((function(){return e.tsParseType()})),this.finishNode(r,"TSConditionalType")}},{key:"isAbstractConstructorSignature",value:function(){return this.isContextual(124)&&this.isLookaheadContextual("new")}},{key:"tsParseNonConditionalType",value:function(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}},{key:"tsParseTypeAssertion",value:function(){var e=this;this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(jt.ReservedTypeAssertion,this.state.startLoc);var t=this.startNode();return t.typeAnnotation=this.tsInType((function(){return e.next(),e.match(75)?e.tsParseTypeReference():e.tsParseType()})),this.expect(48),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")}},{key:"tsParseHeritageClause",value:function(e){var t=this,r=this.state.startLoc,n=this.tsParseDelimitedList("HeritageClauseElement",(function(){var e=t.startNode();return e.expression=t.tsParseEntityName(3),t.match(47)&&(e.typeParameters=t.tsParseTypeArguments()),t.finishNode(e,"TSExpressionWithTypeArguments")}));return n.length||this.raise(jt.EmptyHeritageClauseType,r,{token:e}),n}},{key:"tsParseInterfaceDeclaration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),ce(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(jt.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));var r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}},{key:"tsParseTypeAliasDeclaration",value:function(e){var t=this;return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType((function(){if(e.typeParameters=t.tsTryParseTypeParameters(t.tsParseInOutModifiers),t.expect(29),t.isContextual(114)&&46!==t.lookaheadCharCode()){var r=t.startNode();return t.next(),t.finishNode(r,"TSIntrinsicKeyword")}return t.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}},{key:"tsInTopLevelContext",value:function(e){if(this.curContext()===W.brace)return e();var t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}},{key:"tsInType",value:function(e){var t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}},{key:"tsInDisallowConditionalTypesContext",value:function(e){var t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}},{key:"tsInAllowConditionalTypesContext",value:function(e){var t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}},{key:"tsEatThenParseType",value:function(e){if(this.match(e))return this.tsNextThenParseType()}},{key:"tsExpectThenParseType",value:function(e){var t=this;return this.tsInType((function(){return t.expect(e),t.tsParseType()}))}},{key:"tsNextThenParseType",value:function(){var e=this;return this.tsInType((function(){return e.next(),e.tsParseType()}))}},{key:"tsParseEnumMember",value:function(){var e=this.startNode();return e.id=this.match(134)?y(t,"parseStringLiteral",this,3)([this.state.value]):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=y(t,"parseMaybeAssignAllowIn",this,3)([])),this.finishNode(e,"TSEnumMember")}},{key:"tsParseEnumDeclaration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}},{key:"tsParseEnumBody",value:function(){var e=this.startNode();return this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumBody")}},{key:"tsParseModuleBlock",value:function(){var e=this.startNode();return this.scope.enter(0),this.expect(5),y(t,"parseBlockOrModuleBlockBody",this,3)([e.body=[],void 0,!0,8]),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}},{key:"tsParseModuleOrNamespaceDeclaration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,1024),this.eat(16)){var r=this.startNode();this.tsParseModuleOrNamespaceDeclaration(r,!0),e.body=r}else this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}},{key:"tsParseAmbientExternalModuleDeclaration",value:function(e){return this.isContextual(112)?(e.kind="global",e.global=!0,e.id=this.parseIdentifier()):this.match(134)?(e.kind="module",e.id=y(t,"parseStringLiteral",this,3)([this.state.value])):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}},{key:"tsParseImportEqualsDeclaration",value:function(e,t,r){e.isExport=r||!1,e.id=t||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);var n=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==n.type&&this.raise(jt.ImportAliasHasImportType,n),e.moduleReference=n,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}},{key:"tsIsExternalModuleReference",value:function(){return this.isContextual(119)&&40===this.lookaheadCharCode()}},{key:"tsParseModuleReference",value:function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}},{key:"tsParseExternalModuleReference",value:function(){var e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),e.expression=y(t,"parseExprAtom",this,3)([]),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}},{key:"tsLookAhead",value:function(e){var t=this.state.clone(),r=e();return this.state=t,r}},{key:"tsTryParseAndCatch",value:function(e){var t=this.tryParse((function(t){return e()||t()}));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}},{key:"tsTryParse",value:function(e){var t=this.state.clone(),r=e();if(void 0!==r&&!1!==r)return r;this.state=t}},{key:"tsTryParseDeclare",value:function(e){var r=this;if(!this.isLineTerminator()){var n=this.state.type;return this.tsInAmbientContext((function(){switch(n){case 68:return e.declare=!0,y(t,"parseFunctionStatement",r,3)([e,!1,!1]);case 80:return e.declare=!0,r.parseClass(e,!0,!1);case 126:return r.tsParseEnumDeclaration(e,{declare:!0});case 112:return r.tsParseAmbientExternalModuleDeclaration(e);case 100:if(r.state.containsEsc)return;case 75:case 74:return r.match(75)&&r.isLookaheadContextual("enum")?(r.expect(75),r.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,r.parseVarStatement(e,r.state.value,!0));case 107:if(r.isUsing())return r.raise(jt.InvalidModifierOnUsingDeclaration,r.state.startLoc,"declare"),e.declare=!0,r.parseVarStatement(e,"using",!0);break;case 96:if(r.isAwaitUsing())return r.raise(jt.InvalidModifierOnAwaitUsingDeclaration,r.state.startLoc,"declare"),e.declare=!0,r.next(),r.parseVarStatement(e,"await using",!0);break;case 129:var i=r.tsParseInterfaceDeclaration(e,{declare:!0});if(i)return i;default:if(ce(n))return r.tsParseDeclaration(e,r.state.value,!0,null)}}))}}},{key:"tsTryParseExportDeclaration",value:function(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}},{key:"tsParseExpressionStatement",value:function(e,t,r){switch(t.name){case"declare":var n=this.tsTryParseDeclare(e);return n&&(n.declare=!0),n;case"global":if(this.match(5)){this.scope.enter(1024),this.prodParam.enter(0);var i=e;return i.kind="global",e.global=!0,i.id=t,i.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(i,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1,r)}}},{key:"tsParseDeclaration",value:function(e,t,r,n){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||ce(this.state.type)))return this.tsParseAbstractDeclaration(e,n);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(ce(this.state.type))return e.kind="module",this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&ce(this.state.type))return e.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&ce(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}},{key:"tsCheckLineTerminator",value:function(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}},{key:"tsTryParseGenericAsyncArrowFunction",value:function(e){var r=this;if(this.match(47)){var n=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;var i=this.tsTryParseAndCatch((function(){var n=r.startNodeAt(e);return n.typeParameters=r.tsParseTypeParameters(r.tsParseConstModifier),y(t,"parseFunctionParams",r,3)([n]),n.returnType=r.tsTryParseTypeOrTypePredicateAnnotation(),r.expect(19),n}));if(this.state.maybeInArrowParameters=n,i)return y(t,"parseArrowExpression",this,3)([i,null,!0])}}},{key:"tsParseTypeArgumentsInExpression",value:function(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}},{key:"tsParseTypeArguments",value:function(){var e=this,t=this.startNode();return t.params=this.tsInType((function(){return e.tsInTopLevelContext((function(){return e.expect(47),e.tsParseDelimitedList("TypeParametersOrArguments",e.tsParseType.bind(e))}))})),0===t.params.length?this.raise(jt.EmptyTypeArguments,t):this.state.inType||this.curContext()!==W.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(t,"TSTypeParameterInstantiation")}},{key:"tsIsDeclarationStart",value:function(){return(e=this.state.type)>=124&&e<=130;var e}},{key:"isExportDefaultSpecifier",value:function(){return!this.tsIsDeclarationStart()&&y(t,"isExportDefaultSpecifier",this,3)([])}},{key:"parseBindingElement",value:function(e,t){var r=t.length?t[0].loc.start:this.state.startLoc,n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);var i=n.accessibility,a=n.override,s=n.readonly;4&e||!(i||s||a)||this.raise(jt.UnexpectedParameterModifier,r);var o=this.parseMaybeDefault();2&e&&this.parseFunctionParamType(o);var l=this.parseMaybeDefault(o.loc.start,o);if(i||s||a){var u=this.startNodeAt(r);return t.length&&(u.decorators=t),i&&(u.accessibility=i),s&&(u.readonly=s),a&&(u.override=a),"Identifier"!==l.type&&"AssignmentPattern"!==l.type&&this.raise(jt.UnsupportedParameterPropertyKind,u),u.parameter=l,this.finishNode(u,"TSParameterProperty")}return t.length&&(o.decorators=t),l}},{key:"isSimpleParameter",value:function(e){return"TSParameterProperty"===e.type&&y(t,"isSimpleParameter",this,3)([e.parameter])||y(t,"isSimpleParameter",this,3)([e])}},{key:"tsDisallowOptionalPattern",value:function(e){var t,r=l(e.params);try{for(r.s();!(t=r.n()).done;){var n=t.value;"Identifier"!==n.type&&n.optional&&!this.state.isAmbientContext&&this.raise(jt.PatternIsOptional,n)}}catch(e){r.e(e)}finally{r.f()}}},{key:"setArrowFunctionParameters",value:function(e,r,n){y(t,"setArrowFunctionParameters",this,3)([e,r,n]),this.tsDisallowOptionalPattern(e)}},{key:"parseFunctionBodyAndFinish",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));var i="FunctionDeclaration"===r?"TSDeclareFunction":"ClassMethod"===r||"ClassPrivateMethod"===r?"TSDeclareMethod":void 0;return i&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,i):"TSDeclareFunction"===i&&this.state.isAmbientContext&&(this.raise(jt.DeclareFunctionHasImplementation,e),e.declare)?y(t,"parseFunctionBodyAndFinish",this,3)([e,i,n]):(this.tsDisallowOptionalPattern(e),y(t,"parseFunctionBodyAndFinish",this,3)([e,r,n]))}},{key:"registerFunctionStatementId",value:function(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):y(t,"registerFunctionStatementId",this,3)([e])}},{key:"tsCheckForInvalidTypeCasts",value:function(e){var t=this;e.forEach((function(e){"TSTypeCastExpression"===(null==e?void 0:e.type)&&t.raise(jt.UnexpectedTypeAnnotation,e.typeAnnotation)}))}},{key:"toReferencedList",value:function(e,t){return this.tsCheckForInvalidTypeCasts(e),e}},{key:"parseArrayLike",value:function(e,r,n,i){var a=y(t,"parseArrayLike",this,3)([e,r,n,i]);return"ArrayExpression"===a.type&&this.tsCheckForInvalidTypeCasts(a.elements),a}},{key:"parseSubscript",value:function(e,r,n,i){var a=this;if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();var s=this.startNodeAt(r);return s.expression=e,this.finishNode(s,"TSNonNullExpression")}var o=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(n)return i.stop=!0,e;i.optionalChainMember=o=!0,this.next()}if(this.match(47)||this.match(51)){var l,u=this.tsTryParseAndCatch((function(){if(!n&&a.atPossibleAsyncArrow(e)){var s=a.tsTryParseGenericAsyncArrowFunction(r);if(s)return i.stop=!0,s}var u=a.tsParseTypeArgumentsInExpression();if(u)if(!o||a.match(10)){if(ge(a.state.type)){var c=y(t,"parseTaggedTemplateExpression",a,3)([e,r,i]);return c.typeParameters=u,c}if(!n&&a.eat(10)){var p=a.startNodeAt(r);return p.callee=e,p.arguments=a.parseCallExpressionArguments(),a.tsCheckForInvalidTypeCasts(p.arguments),p.typeParameters=u,i.optionalChainMember&&(p.optional=o),a.finishCallExpression(p,i.optionalChainMember)}var h=a.state.type;if(48!==h&&52!==h&&(10===h||!de(h)||a.hasPrecedingLineBreak())){var d=a.startNodeAt(r);return d.expression=e,d.typeParameters=u,a.finishNode(d,"TSInstantiationExpression")}}else l=a.state.curPosition()}));if(l&&this.unexpected(l,10),u)return"TSInstantiationExpression"===u.type&&((this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(jt.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),this.match(16)||this.match(18)||(u.expression=y(t,"stopParseSubscript",this,3)([e,i]))),u}return y(t,"parseSubscript",this,3)([e,r,n,i])}},{key:"parseNewCallee",value:function(e){var r;y(t,"parseNewCallee",this,3)([e]);var n=e.callee;"TSInstantiationExpression"!==n.type||null!=(r=n.extra)&&r.parenthesized||(e.typeParameters=n.typeParameters,e.callee=n.expression)}},{key:"parseExprOp",value:function(e,r,n){var i,a=this;if(ve(58)>n&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(i=this.isContextual(120)))){var s=this.startNodeAt(r);return s.expression=e,s.typeAnnotation=this.tsInType((function(){return a.next(),a.match(75)?(i&&a.raise(R.UnexpectedKeyword,a.state.startLoc,{keyword:"const"}),a.tsParseTypeReference()):a.tsParseType()})),this.finishNode(s,i?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(s,r,n)}return y(t,"parseExprOp",this,3)([e,r,n])}},{key:"checkReservedWord",value:function(e,r,n,i){this.state.isAmbientContext||y(t,"checkReservedWord",this,3)([e,r,n,i])}},{key:"checkImportReflection",value:function(e){y(t,"checkImportReflection",this,3)([e]),e.module&&"value"!==e.importKind&&this.raise(jt.ImportReflectionHasImportType,e.specifiers[0].loc.start)}},{key:"checkDuplicateExports",value:function(){}},{key:"isPotentialImportPhase",value:function(e){if(y(t,"isPotentialImportPhase",this,3)([e]))return!0;if(this.isContextual(130)){var r=this.lookaheadCharCode();return e?123===r||42===r:61!==r}return!e&&this.isContextual(87)}},{key:"applyImportPhase",value:function(e,r,n,i){y(t,"applyImportPhase",this,3)([e,r,n,i]),r?e.exportKind="type"===n?"type":"value":e.importKind="type"===n||"typeof"===n?n:"value"}},{key:"parseImport",value:function(e){if(this.match(134))return e.importKind="value",y(t,"parseImport",this,3)([e]);var r;if(ce(this.state.type)&&61===this.lookaheadCharCode())return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){var n=this.parseMaybeImportPhase(e,!1);if(61===this.lookaheadCharCode())return this.tsParseImportEqualsDeclaration(e,n);r=y(t,"parseImportSpecifiersAndAfter",this,3)([e,n])}else r=y(t,"parseImport",this,3)([e]);return"type"===r.importKind&&r.specifiers.length>1&&"ImportDefaultSpecifier"===r.specifiers[0].type&&this.raise(jt.TypeImportCannotSpecifyDefaultAndNamed,r),r}},{key:"parseExport",value:function(e,r){if(this.match(83)){var n=e;this.next();var i=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?i=this.parseMaybeImportPhase(n,!1):n.importKind="value",this.tsParseImportEqualsDeclaration(n,i,!0)}if(this.eat(29)){var a=e;return a.expression=y(t,"parseExpression",this,3)([]),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(a,"TSExportAssignment")}if(this.eatContextual(93)){var s=e;return this.expectContextual(128),s.id=this.parseIdentifier(),this.semicolon(),this.finishNode(s,"TSNamespaceExportDeclaration")}return y(t,"parseExport",this,3)([e,r])}},{key:"isAbstractClass",value:function(){return this.isContextual(124)&&this.isLookaheadContextual("class")}},{key:"parseExportDefaultExpression",value:function(){if(this.isAbstractClass()){var e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){var r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return y(t,"parseExportDefaultExpression",this,3)([])}},{key:"parseVarStatement",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.state.isAmbientContext,a=y(t,"parseVarStatement",this,3)([e,r,n||i]);if(!i)return a;if(!e.declare&&("using"===r||"await using"===r))return this.raiseOverwrite(jt.UsingDeclarationInAmbientContext,e,r),a;var s,o=l(a.declarations);try{for(o.s();!(s=o.n()).done;){var u=s.value,c=u.id,p=u.init;p&&("var"===r||"let"===r||c.typeAnnotation?this.raise(jt.InitializerNotAllowedInAmbientContext,p):Kt(p,this.hasPlugin("estree"))||this.raise(jt.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,p))}}catch(e){o.e(e)}finally{o.f()}return a}},{key:"parseStatementContent",value:function(e,r){if(this.match(75)&&this.isLookaheadContextual("enum")){var n=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(n,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){var i=this.tsParseInterfaceDeclaration(this.startNode());if(i)return i}return y(t,"parseStatementContent",this,3)([e,r])}},{key:"parseAccessModifier",value:function(){return this.tsParseModifier(["public","protected","private"])}},{key:"tsHasSomeModifiers",value:function(e,t){return t.some((function(t){return Bt(t)?e.accessibility===t:!!e[t]}))}},{key:"tsIsStartOfStaticBlocks",value:function(){return this.isContextual(106)&&123===this.lookaheadCharCode()}},{key:"parseClassMember",value:function(e,r,n){var i=this,a=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:a,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:jt.InvalidModifierOnTypeParameterPositions},r);var s=function(){i.tsIsStartOfStaticBlocks()?(i.next(),i.next(),i.tsHasSomeModifiers(r,a)&&i.raise(jt.StaticBlockCannotHaveModifier,i.state.curPosition()),y(t,"parseClassStaticBlock",i,3)([e,r])):i.parseClassMemberWithIsStatic(e,r,n,!!r.static)};r.declare?this.tsInAmbientContext(s):s()}},{key:"parseClassMemberWithIsStatic",value:function(e,r,n,i){var a=this.tsTryParseIndexSignature(r);if(a)return e.body.push(a),r.abstract&&this.raise(jt.IndexSignatureHasAbstract,r),r.accessibility&&this.raise(jt.IndexSignatureHasAccessibility,r,{modifier:r.accessibility}),r.declare&&this.raise(jt.IndexSignatureHasDeclare,r),void(r.override&&this.raise(jt.IndexSignatureHasOverride,r));!this.state.inAbstractClass&&r.abstract&&this.raise(jt.NonAbstractClassHasAbstractMethod,r),r.override&&(n.hadSuperClass||this.raise(jt.OverrideNotInSubClass,r)),y(t,"parseClassMemberWithIsStatic",this,3)([e,r,n,i])}},{key:"parsePostMemberNameModifiers",value:function(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(jt.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(jt.ClassMethodHasDeclare,e)}},{key:"parseExpressionStatement",value:function(e,r,n){return("Identifier"===r.type?this.tsParseExpressionStatement(e,r,n):void 0)||y(t,"parseExpressionStatement",this,3)([e,r,n])}},{key:"shouldParseExportDeclaration",value:function(){return!!this.tsIsDeclarationStart()||y(t,"shouldParseExportDeclaration",this,3)([])}},{key:"parseConditional",value:function(e,r,n){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){var i=this.lookaheadCharCode();if(44===i||61===i||58===i||41===i)return this.setOptionalParametersError(n),e}return y(t,"parseConditional",this,3)([e,r,n])}},{key:"parseParenItem",value:function(e,r){var n=y(t,"parseParenItem",this,3)([e,r]);if(this.eat(17)&&(n.optional=!0,this.resetEndLocation(e)),this.match(14)){var i=this.startNodeAt(r);return i.expression=e,i.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(i,"TSTypeCastExpression")}return e}},{key:"parseExportDeclaration",value:function(e){var r=this;if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext((function(){return r.parseExportDeclaration(e)}));var n=this.state.startLoc,i=this.eatContextual(125);if(i&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(jt.ExpectedAmbientAfterExportDeclare,this.state.startLoc);var a=ce(this.state.type)&&this.tsTryParseExportDeclaration()||y(t,"parseExportDeclaration",this,3)([e]);return a?(("TSInterfaceDeclaration"===a.type||"TSTypeAliasDeclaration"===a.type||i)&&(e.exportKind="type"),i&&"TSImportEqualsDeclaration"!==a.type&&(this.resetStartLocation(a,n),a.declare=!0),a):null}},{key:"parseClassId",value:function(e,r,n,i){if(r&&!n||!this.isContextual(113)){y(t,"parseClassId",this,3)([e,r,n,e.declare?1024:8331]);var a=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);a&&(e.typeParameters=a)}}},{key:"parseClassPropertyAnnotation",value:function(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));var t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}},{key:"parseClassProperty",value:function(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&(!e.readonly||e.typeAnnotation)&&this.match(29)&&this.raise(jt.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){var r=e.key;this.raise(jt.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:"Identifier"!==r.type||e.computed?"[".concat(this.input.slice(this.offsetToSourcePos(r.start),this.offsetToSourcePos(r.end)),"]"):r.name})}return y(t,"parseClassProperty",this,3)([e])}},{key:"parseClassPrivateProperty",value:function(e){return e.abstract&&this.raise(jt.PrivateElementHasAbstract,e),e.accessibility&&this.raise(jt.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),y(t,"parseClassPrivateProperty",this,3)([e])}},{key:"parseClassAccessorProperty",value:function(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(jt.AccessorCannotBeOptional,e),y(t,"parseClassAccessorProperty",this,3)([e])}},{key:"pushClassMethod",value:function(e,r,n,i,a,s){var o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&a&&this.raise(jt.ConstructorHasTypeParameters,o);var l=r.declare,u=void 0!==l&&l,c=r.kind;!u||"get"!==c&&"set"!==c||this.raise(jt.DeclareAccessor,r,{kind:c}),o&&(r.typeParameters=o),y(t,"pushClassMethod",this,3)([e,r,n,i,a,s])}},{key:"pushClassPrivateMethod",value:function(e,r,n,i){var a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(r.typeParameters=a),y(t,"pushClassPrivateMethod",this,3)([e,r,n,i])}},{key:"declareClassPrivateMethodInScope",value:function(e,r){"TSDeclareMethod"!==e.type&&("MethodDefinition"===e.type&&null==e.value.body||y(t,"declareClassPrivateMethodInScope",this,3)([e,r]))}},{key:"parseClassSuper",value:function(e){y(t,"parseClassSuper",this,3)([e]),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}},{key:"parseObjPropValue",value:function(e,r,n,i,a,s,o){var l=this.tsTryParseTypeParameters(this.tsParseConstModifier);return l&&(e.typeParameters=l),y(t,"parseObjPropValue",this,3)([e,r,n,i,a,s,o])}},{key:"parseFunctionParams",value:function(e,r){var n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(e.typeParameters=n),y(t,"parseFunctionParams",this,3)([e,r])}},{key:"parseVarId",value:function(e,r){y(t,"parseVarId",this,3)([e,r]),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);var n=this.tsTryParseTypeAnnotation();n&&(e.id.typeAnnotation=n,this.resetEndLocation(e.id))}},{key:"parseAsyncArrowFromCallExpression",value:function(e,r){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),y(t,"parseAsyncArrowFromCallExpression",this,3)([e,r])}},{key:"parseMaybeAssign",value:function(e,r){var n,i,a,s,o,l,u,c,p,h=this;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(l=this.state.clone(),!(u=this.tryParse((function(){return y(t,"parseMaybeAssign",h,3)([e,r])}),l)).error)return u.node;var d=this.state.context,f=d[d.length-1];f!==W.j_oTag&&f!==W.j_expr||d.pop()}if(!(null!=(n=u)&&n.error||this.match(47)))return y(t,"parseMaybeAssign",this,3)([e,r]);l&&l!==this.state||(l=this.state.clone());var m=this.tryParse((function(n){var i,a;p=h.tsParseTypeParameters(h.tsParseConstModifier);var s=y(t,"parseMaybeAssign",h,3)([e,r]);return("ArrowFunctionExpression"!==s.type||null!=(i=s.extra)&&i.parenthesized)&&n(),0!==(null==(a=p)?void 0:a.params.length)&&h.resetStartLocationFromNode(s,p),s.typeParameters=p,s}),l);if(!m.error&&!m.aborted)return p&&this.reportReservedArrowTypeParam(p),m.node;if(!u&&(Ft(!this.hasPlugin("jsx")),!(c=this.tryParse((function(){return y(t,"parseMaybeAssign",h,3)([e,r])}),l)).error))return c.node;if(null!=(i=u)&&i.node)return this.state=u.failState,u.node;if(m.node)return this.state=m.failState,p&&this.reportReservedArrowTypeParam(p),m.node;if(null!=(a=c)&&a.node)return this.state=c.failState,c.node;throw(null==(s=u)?void 0:s.error)||m.error||(null==(o=c)?void 0:o.error)}},{key:"reportReservedArrowTypeParam",value:function(e){var t;1!==e.params.length||e.params[0].constraint||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(jt.ReservedArrowTypeParam,e)}},{key:"parseMaybeUnary",value:function(e,r){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():y(t,"parseMaybeUnary",this,3)([e,r])}},{key:"parseArrow",value:function(e){var r=this;if(this.match(14)){var n=this.tryParse((function(e){var t=r.tsParseTypeOrTypePredicateAnnotation(14);return!r.canInsertSemicolon()&&r.match(19)||e(),t}));if(n.aborted)return;n.thrown||(n.error&&(this.state=n.failState),e.returnType=n.node)}return y(t,"parseArrow",this,3)([e])}},{key:"parseFunctionParamType",value:function(e){this.eat(17)&&(e.optional=!0);var t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}},{key:"isAssignable",value:function(e,r){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,r);case"TSParameterProperty":return!0;default:return y(t,"isAssignable",this,3)([e,r])}}},{key:"toAssignable",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,r);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":r?this.expressionScope.recordArrowParameterBindingError(jt.UnexpectedTypeCastInParameter,e):this.raise(jt.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,r);break;case"AssignmentExpression":r||"TSTypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left));default:y(t,"toAssignable",this,3)([e,r])}}},{key:"toAssignableParenthesizedExpression",value:function(e,r){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,r);break;default:y(t,"toAssignable",this,3)([e,r])}}},{key:"checkToRestConversion",value:function(e,r){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:y(t,"checkToRestConversion",this,3)([e,r])}}},{key:"isValidLVal",value:function(e,r,n){switch(e){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(64!==n||!r)&&["expression",!0];default:return y(t,"isValidLVal",this,3)([e,r,n])}}},{key:"parseBindingAtom",value:function(){return 78===this.state.type?this.parseIdentifier(!0):y(t,"parseBindingAtom",this,3)([])}},{key:"parseMaybeDecoratorArguments",value:function(e,r){if(this.match(47)||this.match(51)){var n=this.tsParseTypeArgumentsInExpression();if(this.match(10)){var i=y(t,"parseMaybeDecoratorArguments",this,3)([e,r]);return i.typeParameters=n,i}this.unexpected(null,10)}return y(t,"parseMaybeDecoratorArguments",this,3)([e,r])}},{key:"checkCommaAfterRest",value:function(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):y(t,"checkCommaAfterRest",this,3)([e])}},{key:"isClassMethod",value:function(){return this.match(47)||y(t,"isClassMethod",this,3)([])}},{key:"isClassProperty",value:function(){return this.match(35)||this.match(14)||y(t,"isClassProperty",this,3)([])}},{key:"parseMaybeDefault",value:function(e,r){var n=y(t,"parseMaybeDefault",this,3)([e,r]);return"AssignmentPattern"===n.type&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(jt.TypeAnnotationAfterAssign,n.typeAnnotation),n}},{key:"getTokenFromCode",value:function(e){if(this.state.inType){if(62===e)return void this.finishOp(48,1);if(60===e)return void this.finishOp(47,1)}y(t,"getTokenFromCode",this,3)([e])}},{key:"reScan_lt_gt",value:function(){var e=this.state.type;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}},{key:"reScan_lt",value:function(){var e=this.state.type;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}},{key:"toAssignableListItem",value:function(e,r,n){var i=e[r];"TSTypeCastExpression"===i.type&&(e[r]=this.typeCastToParameter(i)),y(t,"toAssignableListItem",this,3)([e,r,n])}},{key:"typeCastToParameter",value:function(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}},{key:"shouldParseArrow",value:function(e){var r=this;return this.match(14)?e.every((function(e){return r.isAssignable(e,!0)})):y(t,"shouldParseArrow",this,3)([e])}},{key:"shouldParseAsyncArrow",value:function(){return this.match(14)||y(t,"shouldParseAsyncArrow",this,3)([])}},{key:"canHaveLeadingDecorator",value:function(){return y(t,"canHaveLeadingDecorator",this,3)([])||this.isAbstractClass()}},{key:"jsxParseOpeningElementAfterName",value:function(e){var r=this;if(this.match(47)||this.match(51)){var n=this.tsTryParseAndCatch((function(){return r.tsParseTypeArgumentsInExpression()}));n&&(e.typeParameters=n)}return y(t,"jsxParseOpeningElementAfterName",this,3)([e])}},{key:"getGetterSetterExpectedParamCount",value:function(e){var r=y(t,"getGetterSetterExpectedParamCount",this,3)([e]),n=this.getObjectOrClassMethodParams(e)[0];return n&&this.isThisParam(n)?r+1:r}},{key:"parseCatchClauseParam",value:function(){var e=y(t,"parseCatchClauseParam",this,3)([]),r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r,this.resetEndLocation(e)),e}},{key:"tsInAmbientContext",value:function(e){var t=this.state,r=t.isAmbientContext,n=t.strict;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=r,this.state.strict=n}}},{key:"parseClass",value:function(e,r,n){var i=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return y(t,"parseClass",this,3)([e,r,n])}finally{this.state.inAbstractClass=i}}},{key:"tsParseAbstractDeclaration",value:function(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(jt.NonClassMethodPropertyHasAbstractModifier,e),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}},{key:"parseMethod",value:function(e,r,n,i,a,s,o){var l=y(t,"parseMethod",this,3)([e,r,n,i,a,s,o]);if((l.abstract||"TSAbstractMethodDefinition"===l.type)&&(this.hasPlugin("estree")?l.value:l).body){var u=l.key;this.raise(jt.AbstractMethodHasImplementation,l,{methodName:"Identifier"!==u.type||l.computed?"[".concat(this.input.slice(this.offsetToSourcePos(u.start),this.offsetToSourcePos(u.end)),"]"):u.name})}return l}},{key:"tsParseTypeParameterName",value:function(){return this.parseIdentifier().name}},{key:"shouldParseAsAmbientContext",value:function(){return!!this.getPluginOption("typescript","dts")}},{key:"parse",value:function(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),y(t,"parse",this,3)([])}},{key:"getExpression",value:function(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),y(t,"getExpression",this,3)([])}},{key:"parseExportSpecifier",value:function(e,r,n,i){return!r&&i?(this.parseTypeOnlyImportExportSpecifier(e,!1,n),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",y(t,"parseExportSpecifier",this,3)([e,r,n,i]))}},{key:"parseImportSpecifier",value:function(e,r,n,i,a){return!r&&i?(this.parseTypeOnlyImportExportSpecifier(e,!0,n),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",y(t,"parseImportSpecifier",this,3)([e,r,n,i,n?4098:4096]))}},{key:"parseTypeOnlyImportExportSpecifier",value:function(e,t,r){var n,i=t?"imported":"local",a=t?"local":"exported",s=e[i],o=!1,l=!0,u=s.loc.start;if(this.isContextual(93)){var c=this.parseIdentifier();if(this.isContextual(93)){var p=this.parseIdentifier();pe(this.state.type)?(o=!0,s=c,n=t?this.parseIdentifier():this.parseModuleExportName(),l=!1):(n=p,l=!1)}else pe(this.state.type)?(l=!1,n=t?this.parseIdentifier():this.parseModuleExportName()):(o=!0,s=c)}else pe(this.state.type)&&(o=!0,t?(s=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(s.name,s.loc.start,!0,!0)):s=this.parseModuleExportName());o&&r&&this.raise(t?jt.TypeModifierIsUsedInTypeImports:jt.TypeModifierIsUsedInTypeExports,u),e[i]=s,e[a]=n,e[t?"importKind":"exportKind"]=o?"type":"value",l&&this.eatContextual(93)&&(e[a]=t?this.parseIdentifier():this.parseModuleExportName()),e[a]||(e[a]=this.cloneIdentifier(e[i])),t&&this.checkIdentifier(e[a],o?4098:4096)}},{key:"fillOptionalPropertiesForTSESLint",value:function(e){switch(e.type){case"ExpressionStatement":return void(null!=e.directive||(e.directive=void 0));case"RestElement":e.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":return null!=e.decorators||(e.decorators=[]),null!=e.optional||(e.optional=!1),void(null!=e.typeAnnotation||(e.typeAnnotation=void 0));case"TSParameterProperty":return null!=e.accessibility||(e.accessibility=void 0),null!=e.decorators||(e.decorators=[]),null!=e.override||(e.override=!1),null!=e.readonly||(e.readonly=!1),void(null!=e.static||(e.static=!1));case"TSEmptyBodyFunctionExpression":e.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":return null!=e.declare||(e.declare=!1),null!=e.returnType||(e.returnType=void 0),void(null!=e.typeParameters||(e.typeParameters=void 0));case"Property":return void(null!=e.optional||(e.optional=!1));case"TSMethodSignature":case"TSPropertySignature":null!=e.optional||(e.optional=!1);case"TSIndexSignature":return null!=e.accessibility||(e.accessibility=void 0),null!=e.readonly||(e.readonly=!1),void(null!=e.static||(e.static=!1));case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":null!=e.declare||(e.declare=!1),null!=e.definite||(e.definite=!1),null!=e.readonly||(e.readonly=!1),null!=e.typeAnnotation||(e.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":return null!=e.accessibility||(e.accessibility=void 0),null!=e.decorators||(e.decorators=[]),null!=e.override||(e.override=!1),void(null!=e.optional||(e.optional=!1));case"ClassExpression":null!=e.id||(e.id=null);case"ClassDeclaration":return null!=e.abstract||(e.abstract=!1),null!=e.declare||(e.declare=!1),null!=e.decorators||(e.decorators=[]),null!=e.implements||(e.implements=[]),null!=e.superTypeArguments||(e.superTypeArguments=void 0),void(null!=e.typeParameters||(e.typeParameters=void 0));case"TSTypeAliasDeclaration":case"VariableDeclaration":return void(null!=e.declare||(e.declare=!1));case"VariableDeclarator":return void(null!=e.definite||(e.definite=!1));case"TSEnumDeclaration":return null!=e.const||(e.const=!1),void(null!=e.declare||(e.declare=!1));case"TSEnumMember":return void(null!=e.computed||(e.computed=!1));case"TSImportType":return null!=e.qualifier||(e.qualifier=null),void(null!=e.options||(e.options=null));case"TSInterfaceDeclaration":return null!=e.declare||(e.declare=!1),void(null!=e.extends||(e.extends=[]));case"TSMappedType":return null!=e.optional||(e.optional=!1),void(null!=e.readonly||(e.readonly=void 0));case"TSModuleDeclaration":return null!=e.declare||(e.declare=!1),void(null!=e.global||(e.global="global"===e.kind));case"TSTypeParameter":return null!=e.const||(e.const=!1),null!=e.in||(e.in=!1),void(null!=e.out||(e.out=!1))}}}])}(e)},v8intrinsic:function(e){return function(e){function t(){return P(this,t),d(this,t,arguments)}return g(t,e),x(t,[{key:"parseV8Intrinsic",value:function(){if(this.match(54)){var e=this.state.startLoc,t=this.startNode();if(this.next(),ce(this.state.type)){var r=this.parseIdentifierName(),n=this.createIdentifier(t,r);if(this.castNodeTo(n,"V8IntrinsicIdentifier"),this.match(10))return n}this.unexpected(e)}}},{key:"parseExprAtom",value:function(e){return this.parseV8Intrinsic()||y(t,"parseExprAtom",this,3)([e])}}])}(e)},placeholders:function(e){return function(e){function t(){return P(this,t),d(this,t,arguments)}return g(t,e),x(t,[{key:"parsePlaceholder",value:function(e){if(this.match(133)){var r=this.startNode();return this.next(),this.assertNoSpace(),r.name=y(t,"parseIdentifier",this,3)([!0]),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(r,e)}}},{key:"finishPlaceholder",value:function(e,t){var r=e;return r.expectedNode&&r.type||(r=this.finishNode(r,"Placeholder")),r.expectedNode=t,r}},{key:"getTokenFromCode",value:function(e){37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(133,2):y(t,"getTokenFromCode",this,3)([e])}},{key:"parseExprAtom",value:function(e){return this.parsePlaceholder("Expression")||y(t,"parseExprAtom",this,3)([e])}},{key:"parseIdentifier",value:function(e){return this.parsePlaceholder("Identifier")||y(t,"parseIdentifier",this,3)([e])}},{key:"checkReservedWord",value:function(e,r,n,i){void 0!==e&&y(t,"checkReservedWord",this,3)([e,r,n,i])}},{key:"cloneIdentifier",value:function(e){var r=y(t,"cloneIdentifier",this,3)([e]);return"Placeholder"===r.type&&(r.expectedNode=e.expectedNode),r}},{key:"cloneStringLiteral",value:function(e){return"Placeholder"===e.type?this.cloneIdentifier(e):y(t,"cloneStringLiteral",this,3)([e])}},{key:"parseBindingAtom",value:function(){return this.parsePlaceholder("Pattern")||y(t,"parseBindingAtom",this,3)([])}},{key:"isValidLVal",value:function(e,r,n){return"Placeholder"===e||y(t,"isValidLVal",this,3)([e,r,n])}},{key:"toAssignable",value:function(e,r){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":y(t,"toAssignable",this,3)([e,r])}},{key:"chStartsBindingIdentifier",value:function(e,r){if(y(t,"chStartsBindingIdentifier",this,3)([e,r]))return!0;var n=this.nextTokenStart();return 37===this.input.charCodeAt(n)&&37===this.input.charCodeAt(n+1)}},{key:"verifyBreakContinue",value:function(e,r){e.label&&"Placeholder"===e.label.type||y(t,"verifyBreakContinue",this,3)([e,r])}},{key:"parseExpressionStatement",value:function(e,r){var n;if("Placeholder"!==r.type||null!=(n=r.extra)&&n.parenthesized)return y(t,"parseExpressionStatement",this,3)([e,r]);if(this.match(14)){var i=e;return i.label=this.finishPlaceholder(r,"Identifier"),this.next(),i.body=y(t,"parseStatementOrSloppyAnnexBFunctionDeclaration",this,3)([]),this.finishNode(i,"LabeledStatement")}this.semicolon();var a=e;return a.name=r.name,this.finishPlaceholder(a,"Statement")}},{key:"parseBlock",value:function(e,r,n){return this.parsePlaceholder("BlockStatement")||y(t,"parseBlock",this,3)([e,r,n])}},{key:"parseFunctionId",value:function(e){return this.parsePlaceholder("Identifier")||y(t,"parseFunctionId",this,3)([e])}},{key:"parseClass",value:function(e,r,n){var i=r?"ClassDeclaration":"ClassExpression";this.next();var a=this.state.strict,s=this.parsePlaceholder("Identifier");if(s){if(!(this.match(81)||this.match(133)||this.match(5))){if(n||!r)return e.id=null,e.body=this.finishPlaceholder(s,"ClassBody"),this.finishNode(e,i);throw this.raise(Wt.ClassNameIsRequired,this.state.startLoc)}e.id=s}else this.parseClassId(e,r,n);return y(t,"parseClassSuper",this,3)([e]),e.body=this.parsePlaceholder("ClassBody")||y(t,"parseClassBody",this,3)([!!e.superClass,a]),this.finishNode(e,i)}},{key:"parseExport",value:function(e,r){var n=this.parsePlaceholder("Identifier");if(!n)return y(t,"parseExport",this,3)([e,r]);var i=e;if(!this.isContextual(98)&&!this.match(12))return i.specifiers=[],i.source=null,i.declaration=this.finishPlaceholder(n,"Declaration"),this.finishNode(i,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");var a=this.startNode();return a.exported=n,i.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],y(t,"parseExport",this,3)([i,r])}},{key:"isExportDefaultSpecifier",value:function(){if(this.match(65)){var e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(me(133),this.nextTokenStartSince(e+4)))return!0}return y(t,"isExportDefaultSpecifier",this,3)([])}},{key:"maybeParseExportDefaultSpecifier",value:function(e,r){var n;return!(null==(n=e.specifiers)||!n.length)||y(t,"maybeParseExportDefaultSpecifier",this,3)([e,r])}},{key:"checkExport",value:function(e){var r=e.specifiers;null!=r&&r.length&&(e.specifiers=r.filter((function(e){return"Placeholder"===e.exported.type}))),y(t,"checkExport",this,3)([e]),e.specifiers=r}},{key:"parseImport",value:function(e){var r=this.parsePlaceholder("Identifier");if(!r)return y(t,"parseImport",this,3)([e]);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(r,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");var n=this.startNodeAtNode(r);return n.local=r,e.specifiers.push(this.finishNode(n,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}},{key:"parseImportSource",value:function(){return this.parsePlaceholder("StringLiteral")||y(t,"parseImportSource",this,3)([])}},{key:"assertNoSpace",value:function(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(Wt.UnexpectedSpace,this.state.lastTokEndLoc)}}])}(e)}},Ht=Object.keys(Xt),zt=function(e){function t(){return P(this,t),d(this,t,arguments)}return g(t,e),x(t,[{key:"checkProto",value:function(e,t,r,n){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return r;var i=e.key;return"__proto__"===("Identifier"===i.type?i.name:i.value)?t?(this.raise(R.RecordNoProto,i),!0):(r&&(n?null===n.doubleProtoLoc&&(n.doubleProtoLoc=i.loc.start):this.raise(R.DuplicateProto,i)),!0):r}},{key:"shouldExitDescending",value:function(e,t){return"ArrowFunctionExpression"===e.type&&this.offsetToSourcePos(e.start)===t}},{key:"getExpression",value:function(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(R.ParseExpressionEmptyInput,this.state.startLoc);var e=this.parseExpression();if(!this.match(140))throw this.raise(R.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),e.comments=this.comments,e.errors=this.state.errors,256&this.optionFlags&&(e.tokens=this.tokens),e}},{key:"parseExpression",value:function(e,t){var r=this;return e?this.disallowInAnd((function(){return r.parseExpressionBase(t)})):this.allowInAnd((function(){return r.parseExpressionBase(t)}))}},{key:"parseExpressionBase",value:function(e){var t=this.state.startLoc,r=this.parseMaybeAssign(e);if(this.match(12)){var n=this.startNodeAt(t);for(n.expressions=[r];this.eat(12);)n.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(n.expressions),this.finishNode(n,"SequenceExpression")}return r}},{key:"parseMaybeAssignDisallowIn",value:function(e,t){var r=this;return this.disallowInAnd((function(){return r.parseMaybeAssign(e,t)}))}},{key:"parseMaybeAssignAllowIn",value:function(e,t){var r=this;return this.allowInAnd((function(){return r.parseMaybeAssign(e,t)}))}},{key:"setOptionalParametersError",value:function(e){e.optionalParametersLoc=this.state.startLoc}},{key:"parseMaybeAssign",value:function(e,t){var r,n=this.state.startLoc,i=this.isContextual(108);if(i&&this.prodParam.hasYield){this.next();var a=this.parseYield(n);return t&&(a=t.call(this,a,n)),a}e?r=!1:(e=new Nt,r=!0);var s=this.state.type;(10===s||ce(s))&&(this.state.potentialArrowAt=this.state.start);var o,l=this.parseMaybeConditional(e);if(t&&(l=t.call(this,l,n)),(o=this.state.type)>=29&&o<=33){var u=this.startNodeAt(n),c=this.state.value;if(u.operator=c,this.match(29)){this.toAssignable(l,!0),u.left=l;var p=n.index;null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=p&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=p&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=p&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null),null!=e.voidPatternLoc&&e.voidPatternLoc.index>=p&&(e.voidPatternLoc=null)}else u.left=l;return this.next(),u.right=this.parseMaybeAssign(),this.checkLVal(l,this.finishNode(u,"AssignmentExpression")),u}if(r&&this.checkExpressionErrors(e,!0),i){var h=this.state.type;if((this.hasPlugin("v8intrinsic")?de(h):de(h)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(R.YieldNotInGeneratorFunction,n),this.parseYield(n)}return l}},{key:"parseMaybeConditional",value:function(e){var t=this.state.startLoc,r=this.state.potentialArrowAt,n=this.parseExprOps(e);return this.shouldExitDescending(n,r)?n:this.parseConditional(n,t,e)}},{key:"parseConditional",value:function(e,t,r){if(this.eat(17)){var n=this.startNodeAt(t);return n.test=e,n.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),n.alternate=this.parseMaybeAssign(),this.finishNode(n,"ConditionalExpression")}return e}},{key:"parseMaybeUnaryOrPrivate",value:function(e){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(e)}},{key:"parseExprOps",value:function(e){var t=this.state.startLoc,r=this.state.potentialArrowAt,n=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(n,r)?n:this.parseExprOp(n,t,-1)}},{key:"parseExprOp",value:function(e,t,r){if(this.isPrivateName(e)){var n=this.getPrivateNameSV(e);(r>=ve(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(R.PrivateInExpectedIn,e,{identifierName:n}),this.classScope.usePrivateName(n,e.loc.start)}var i,a=this.state.type;if((i=a)>=39&&i<=59&&(this.prodParam.hasIn||!this.match(58))){var s=ve(a);if(s>r){if(39===a){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}var o=this.startNodeAt(t);o.left=e,o.operator=this.state.value;var l=41===a||42===a,u=40===a;if(u&&(s=ve(42)),this.next(),39===a&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(R.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);o.right=this.parseExprOpRightExpr(a,s);var c=this.finishNode(o,l||u?"LogicalExpression":"BinaryExpression"),p=this.state.type;if(u&&(41===p||42===p)||l&&40===p)throw this.raise(R.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,t,r)}}return e}},{key:"parseExprOpRightExpr",value:function(e,t){var r=this,n=this.state.startLoc;if(39===e){switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((function(){return r.parseHackPipeBody()}));case"fsharp":return this.withSoloAwaitPermittingContext((function(){return r.parseFSharpPipelineBody(t)}))}if("smart"===this.getPluginOption("pipelineOperator","proposal"))return this.withTopicBindingContext((function(){if(r.prodParam.hasYield&&r.isContextual(108))throw r.raise(R.PipeBodyIsTighter,r.state.startLoc);return r.parseSmartPipelineBodyInStyle(r.parseExprOpBaseRightExpr(e,t),n)}))}return this.parseExprOpBaseRightExpr(e,t)}},{key:"parseExprOpBaseRightExpr",value:function(e,t){var r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,57===e?t-1:t)}},{key:"parseHackPipeBody",value:function(){var e,t=this.state.startLoc,r=this.parseMaybeAssign();return!L.has(r.type)||null!=(e=r.extra)&&e.parenthesized||this.raise(R.PipeUnparenthesizedBody,t,{type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(R.PipeTopicUnused,t),r}},{key:"checkExponentialAfterUnary",value:function(e){this.match(57)&&this.raise(R.UnexpectedTokenUnaryExponentiation,e.argument)}},{key:"parseMaybeUnary",value:function(e,t){var r=this.state.startLoc,n=this.isContextual(96);if(n&&this.recordAwaitIfAllowed()){this.next();var i=this.parseAwait(r);return t||this.checkExponentialAfterUnary(i),i}var a,s=this.match(34),o=this.startNode();if(a=this.state.type,se[a]){o.operator=this.state.value,o.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");var l=this.match(89);if(this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&l){var u=o.argument;"Identifier"===u.type?this.raise(R.StrictDelete,o):this.hasPropertyAsPrivateName(u)&&this.raise(R.DeletePrivateField,o)}if(!s)return t||this.checkExponentialAfterUnary(o),this.finishNode(o,"UnaryExpression")}var c=this.parseUpdate(o,s,e);if(n){var p=this.state.type;if((this.hasPlugin("v8intrinsic")?de(p):de(p)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(R.AwaitNotInAsyncContext,r),this.parseAwait(r)}return c}},{key:"parseUpdate",value:function(e,t,r){if(t){var n=e;return this.checkLVal(n.argument,this.finishNode(n,"UpdateExpression")),e}var i=this.state.startLoc,a=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return a;for(;34===this.state.type&&!this.canInsertSemicolon();){var s=this.startNodeAt(i);s.operator=this.state.value,s.prefix=!1,s.argument=a,this.next(),this.checkLVal(a,a=this.finishNode(s,"UpdateExpression"))}return a}},{key:"parseExprSubscripts",value:function(e){var t=this.state.startLoc,r=this.state.potentialArrowAt,n=this.parseExprAtom(e);return this.shouldExitDescending(n,r)?n:this.parseSubscripts(n,t)}},{key:"parseSubscripts",value:function(e,t,r){var n={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,n),n.maybeAsyncArrow=!1}while(!n.stop);return e}},{key:"parseSubscript",value:function(e,t,r,n){var i=this.state.type;if(!r&&15===i)return this.parseBind(e,t,r,n);if(ge(i))return this.parseTaggedTemplateExpression(e,t,n);var a=!1;if(18===i){if(r&&(this.raise(R.OptionalChainingNoNew,this.state.startLoc),40===this.lookaheadCharCode()))return this.stopParseSubscript(e,n);n.optionalChainMember=a=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,n,a);var s=this.eat(0);return s||a||this.eat(16)?this.parseMember(e,t,n,s,a):this.stopParseSubscript(e,n)}},{key:"stopParseSubscript",value:function(e,t){return t.stop=!0,e}},{key:"parseMember",value:function(e,t,r,n,i){var a=this.startNodeAt(t);return a.object=e,a.computed=n,n?(a.property=this.parseExpression(),this.expect(3)):this.match(139)?("Super"===e.type&&this.raise(R.SuperPrivateField,t),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),r.optionalChainMember?(a.optional=i,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}},{key:"parseBind",value:function(e,t,r,n){var i=this.startNodeAt(t);return i.object=e,this.next(),i.callee=this.parseNoCallExpr(),n.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r)}},{key:"parseCoverCallAndAsyncArrowHead",value:function(e,t,r,n){var i=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();var s=this.startNodeAt(t);s.callee=e;var o=r.maybeAsyncArrow,l=r.optionalChainMember;o&&(this.expressionScope.enter(new wt(2)),a=new Nt),l&&(s.optional=n),s.arguments=n?this.parseCallExpressionArguments():this.parseCallExpressionArguments("Super"!==e.type,s,a);var u=this.finishCallExpression(s,l);return o&&this.shouldParseAsyncArrow()&&!n?(r.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),u=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),u)):(o&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(u)),this.state.maybeInArrowParameters=i,u}},{key:"toReferencedArguments",value:function(e,t){this.toReferencedListDeep(e.arguments,t)}},{key:"parseTaggedTemplateExpression",value:function(e,t,r){var n=this.startNodeAt(t);return n.tag=e,n.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(R.OptionalChainingNoTemplate,t),this.finishNode(n,"TaggedTemplateExpression")}},{key:"atPossibleAsyncArrow",value:function(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.offsetToSourcePos(e.start)===this.state.potentialArrowAt}},{key:"finishCallExpression",value:function(e,t){if("Import"===e.callee.type)if(0===e.arguments.length||e.arguments.length>2)this.raise(R.ImportCallArity,e);else{var r,n=l(e.arguments);try{for(n.s();!(r=n.n()).done;){var i=r.value;"SpreadElement"===i.type&&this.raise(R.ImportCallSpreadArgument,i)}}catch(e){n.e(e)}finally{n.f()}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}},{key:"parseCallExpressionArguments",value:function(e,t,r){var n=[],i=!0,a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(i)i=!1;else if(this.expect(12),this.match(11)){t&&this.addTrailingCommaExtraToNode(t),this.next();break}n.push(this.parseExprListItem(11,!1,r,e))}return this.state.inFSharpPipelineDirectBody=a,n}},{key:"shouldParseAsyncArrow",value:function(){return this.match(19)&&!this.canInsertSemicolon()}},{key:"parseAsyncArrowFromCallExpression",value:function(e,t){var r;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(r=t.extra)?void 0:r.trailingCommaLoc),t.innerComments&&ot(e,t.innerComments),t.callee.trailingComments&&ot(e,t.callee.trailingComments),e}},{key:"parseNoCallExpr",value:function(){var e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}},{key:"parseExprAtom",value:function(e){var t,r=null,n=this.state.type;switch(n){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(t):this.match(10)?512&this.optionFlags?this.parseImportCall(t):this.finishNode(t,"Import"):(this.raise(R.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:var i=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(i);case 0:return this.parseArrayLike(3,!0,!1,e);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:r=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(r,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:t=this.startNode(),this.next(),t.object=null;var a=t.callee=this.parseNoCallExpr();if("MemberExpression"===a.type)return this.finishNode(t,"BindExpression");throw this.raise(R.UnsupportedBind,a);case 139:return this.raise(R.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:var s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.parseTopicReference(s);this.unexpected();break;case 47:var o=this.input.codePointAt(this.nextTokenStart());we(o)||62===o?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break;default:if(137===n)return this.parseDecimalLiteral(this.state.value);if(2===n||1===n)return this.parseArrayLike(2===this.state.type?4:3,!1,!0);if(6===n||7===n)return this.parseObjectLike(6===this.state.type?9:8,!1,!0);if(ce(n)){if(this.isContextual(127)&&123===this.lookaheadInLineCharCode())return this.parseModuleExpression();var l=this.state.potentialArrowAt===this.state.start,u=this.state.containsEsc,c=this.parseIdentifier();if(!u&&"async"===c.name&&!this.canInsertSemicolon()){var p=this.state.type;if(68===p)return this.resetPreviousNodeTrailingComments(c),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(c));if(ce(p))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(c)):c;if(90===p)return this.resetPreviousNodeTrailingComments(c),this.parseDo(this.startNodeAtNode(c),!0)}return l&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(c),[c],!1)):c}this.unexpected()}}},{key:"parseTopicReferenceThenEqualsSign",value:function(e,t){var r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=w(this.state.endLoc,-1),this.parseTopicReference(r);this.unexpected()}},{key:"parseTopicReference",value:function(e){var t=this.startNode(),r=this.state.startLoc,n=this.state.type;return this.next(),this.finishTopicReference(t,r,e,n)}},{key:"finishTopicReference",value:function(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n))return"hack"===r?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(R.PipeTopicUnbound,t),this.registerTopicReference(),this.finishNode(e,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(R.PrimaryTopicNotAllowed,t),this.registerTopicReference(),this.finishNode(e,"PipelinePrimaryTopicReference"));throw this.raise(R.PipeTopicUnconfiguredToken,t,{token:me(n)})}},{key:"testTopicReferenceConfiguration",value:function(e,t,r){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:me(r)}]);case"smart":return 27===r;default:throw this.raise(R.PipeTopicRequiresHackPipes,t)}}},{key:"parseAsyncArrowUnaryFunction",value:function(e){this.prodParam.enter(at(!0,this.prodParam.hasYield));var t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(R.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(e,t,!0)}},{key:"parseDo",value:function(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();var r=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=r,this.finishNode(e,"DoExpression")}},{key:"parseSuper",value:function(){var e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||16&this.optionFlags?this.scope.allowSuper||16&this.optionFlags||this.raise(R.UnexpectedSuper,e):this.raise(R.SuperNotAllowed,e),this.match(10)||this.match(0)||this.match(16)||this.raise(R.UnsupportedSuper,e),this.finishNode(e,"Super")}},{key:"parsePrivateName",value:function(){var e=this.startNode(),t=this.startNodeAt(w(this.state.startLoc,1)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,"PrivateName")}},{key:"parseFunctionOrFunctionSent",value:function(){var e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){var t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}},{key:"parseMetaProperty",value:function(e,t,r){e.meta=t;var n=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||n)&&this.raise(R.UnsupportedMetaProperty,e.property,{target:t.name,onlyValidPropertyName:r}),this.finishNode(e,"MetaProperty")}},{key:"parseImportMetaPropertyOrPhaseCall",value:function(e){if(this.next(),this.isContextual(105)||this.isContextual(97)){var t=this.isContextual(105);return this.expectPlugin(t?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),e.phase=t?"source":"defer",this.parseImportCall(e)}var r=this.createIdentifierAt(this.startNodeAtNode(e),"import",this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(R.ImportMetaOutsideModule,r),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,r,"meta")}},{key:"parseLiteralAtNode",value:function(e,t,r){return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(this.offsetToSourcePos(r.start),this.state.end)),r.value=e,this.next(),this.finishNode(r,t)}},{key:"parseLiteral",value:function(e,t){var r=this.startNode();return this.parseLiteralAtNode(e,t,r)}},{key:"parseStringLiteral",value:function(e){return this.parseLiteral(e,"StringLiteral")}},{key:"parseNumericLiteral",value:function(e){return this.parseLiteral(e,"NumericLiteral")}},{key:"parseBigIntLiteral",value:function(e){return this.parseLiteral(e,"BigIntLiteral")}},{key:"parseDecimalLiteral",value:function(e){return this.parseLiteral(e,"DecimalLiteral")}},{key:"parseRegExpLiteral",value:function(e){var t=this.startNode();return this.addExtra(t,"raw",this.input.slice(this.offsetToSourcePos(t.start),this.state.end)),t.pattern=e.pattern,t.flags=e.flags,this.next(),this.finishNode(t,"RegExpLiteral")}},{key:"parseBooleanLiteral",value:function(e){var t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}},{key:"parseNullLiteral",value:function(){var e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}},{key:"parseParenAndDistinguishExpression",value:function(e){var t,r=this.state.startLoc;this.next(),this.expressionScope.enter(new wt(1));var n=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;for(var a,s,o=this.state.startLoc,l=[],u=new Nt,c=!0;!this.match(11);){if(c)c=!1;else if(this.expect(12,null===u.optionalParametersLoc?null:u.optionalParametersLoc),this.match(11)){s=this.state.startLoc;break}if(this.match(21)){var p=this.state.startLoc;if(a=this.state.startLoc,l.push(this.parseParenItem(this.parseRestBinding(),p)),!this.checkCommaAfterRest(41))break}else l.push(this.parseMaybeAssignAllowInOrVoidPattern(11,u,this.parseParenItem))}var h=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=n,this.state.inFSharpPipelineDirectBody=i;var d=this.startNodeAt(r);return e&&this.shouldParseArrow(l)&&(d=this.parseArrow(d))?(this.checkDestructuringPrivate(u),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(d,l,!1),d):(this.expressionScope.exit(),l.length||this.unexpected(this.state.lastTokStartLoc),s&&this.unexpected(s),a&&this.unexpected(a),this.checkExpressionErrors(u,!0),this.toReferencedListDeep(l,!0),l.length>1?((t=this.startNodeAt(o)).expressions=l,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,h)):t=l[0],this.wrapParenthesis(r,t))}},{key:"wrapParenthesis",value:function(e,t){if(!(1024&this.optionFlags))return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;var r=this.startNodeAt(e);return r.expression=t,this.finishNode(r,"ParenthesizedExpression")}},{key:"shouldParseArrow",value:function(e){return!this.canInsertSemicolon()}},{key:"parseArrow",value:function(e){if(this.eat(19))return e}},{key:"parseParenItem",value:function(e,t){return e}},{key:"parseNewOrNewTarget",value:function(){var e=this.startNode();if(this.next(),this.match(16)){var t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();var r=this.parseMetaProperty(e,t,"target");return this.scope.allowNewTarget||this.raise(R.UnexpectedNewTarget,r),r}return this.parseNew(e)}},{key:"parseNew",value:function(e){if(this.parseNewCallee(e),this.eat(10)){var t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}},{key:"parseNewCallee",value:function(e){var t=this.match(83),r=this.parseNoCallExpr();e.callee=r,!t||"Import"!==r.type&&"ImportExpression"!==r.type||this.raise(R.ImportCallNotNewExpression,r)}},{key:"parseTemplateElement",value:function(e){var t=this.state,r=t.start,n=t.startLoc,i=t.end,a=t.value,s=r+1,o=this.startNodeAt(w(n,1));null===a&&(e||this.raise(R.InvalidEscapeSequenceTemplate,w(this.state.firstInvalidTemplateEscapePos,1)));var l=this.match(24),u=l?-1:-2,c=i+u;o.value={raw:this.input.slice(s,c).replace(/\r\n?/g,"\n"),cooked:null===a?null:a.slice(1,u)},o.tail=l,this.next();var p=this.finishNode(o,"TemplateElement");return this.resetEndLocation(p,w(this.state.lastTokEndLoc,u)),p}},{key:"parseTemplate",value:function(e){for(var t=this.startNode(),r=this.parseTemplateElement(e),n=[r],i=[];!r.tail;)i.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),n.push(r=this.parseTemplateElement(e));return t.expressions=i,t.quasis=n,this.finishNode(t,"TemplateLiteral")}},{key:"parseTemplateSubstitution",value:function(){return this.parseExpression()}},{key:"parseObjectLike",value:function(e,t,r,n){r&&this.expectPlugin("recordAndTuple");var i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var a=!1,s=!0,o=this.startNode();for(o.properties=[],this.next();!this.match(e);){if(s)s=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(o);break}var l=void 0;t?l=this.parseBindingProperty():(l=this.parsePropertyDefinition(n),a=this.checkProto(l,r,a,n)),r&&!this.isObjectProperty(l)&&"SpreadElement"!==l.type&&this.raise(R.InvalidRecordProperty,l),l.shorthand&&this.addExtra(l,"shorthand",!0),o.properties.push(l)}this.next(),this.state.inFSharpPipelineDirectBody=i;var u="ObjectExpression";return t?u="ObjectPattern":r&&(u="RecordExpression"),this.finishNode(o,u)}},{key:"addTrailingCommaExtraToNode",value:function(e){this.addExtra(e,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}},{key:"maybeAsyncOrAccessorProp",value:function(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}},{key:"parsePropertyDefinition",value:function(e){var t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(R.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)t.push(this.parseDecorator());var r,n=this.startNode(),i=!1,a=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(n.decorators=t,t=[]),n.method=!1,e&&(r=this.state.startLoc);var s=this.eat(55);this.parsePropertyNamePrefixOperator(n);var o=this.state.containsEsc;if(this.parsePropertyName(n,e),!s&&!o&&this.maybeAsyncOrAccessorProp(n)){var l=n.key,u=l.name;"async"!==u||this.hasPrecedingLineBreak()||(i=!0,this.resetPreviousNodeTrailingComments(l),s=this.eat(55),this.parsePropertyName(n)),"get"!==u&&"set"!==u||(a=!0,this.resetPreviousNodeTrailingComments(l),n.kind=u,this.match(55)&&(s=!0,this.raise(R.AccessorIsGenerator,this.state.curPosition(),{kind:u}),this.next()),this.parsePropertyName(n))}return this.parseObjPropValue(n,r,s,i,!1,a,e)}},{key:"getGetterSetterExpectedParamCount",value:function(e){return"get"===e.kind?0:1}},{key:"getObjectOrClassMethodParams",value:function(e){return e.params}},{key:"checkGetterSetterParams",value:function(e){var t,r=this.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e);n.length!==r&&this.raise("get"===e.kind?R.BadGetterArity:R.BadSetterArity,e),"set"===e.kind&&"RestElement"===(null==(t=n[n.length-1])?void 0:t.type)&&this.raise(R.BadSetterRestParameter,e)}},{key:"parseObjectMethod",value:function(e,t,r,n,i){if(i){var a=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(a),a}if(r||t||this.match(10))return n&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")}},{key:"parseObjectProperty",value:function(e,t,r,n){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,n),this.finishObjectProperty(e);if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),r)e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key));else if(this.match(29)){var i=this.state.startLoc;null!=n?null===n.shorthandAssignLoc&&(n.shorthandAssignLoc=i):this.raise(R.InvalidCoverInitializedName,i),e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key))}else e.value=this.cloneIdentifier(e.key);return e.shorthand=!0,this.finishObjectProperty(e)}}},{key:"finishObjectProperty",value:function(e){return this.finishNode(e,"ObjectProperty")}},{key:"parseObjPropValue",value:function(e,t,r,n,i,a,s){var o=this.parseObjectMethod(e,r,n,i,a)||this.parseObjectProperty(e,t,i,s);return o||this.unexpected(),o}},{key:"parsePropertyName",value:function(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{var r,n=this.state,i=n.type,a=n.value;if(pe(i))r=this.parseIdentifier(!0);else switch(i){case 135:r=this.parseNumericLiteral(a);break;case 134:r=this.parseStringLiteral(a);break;case 136:r=this.parseBigIntLiteral(a);break;case 139:var s=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=s):this.raise(R.UnexpectedPrivateField,s),r=this.parsePrivateName();break;default:if(137===i){r=this.parseDecimalLiteral(a);break}this.unexpected()}e.key=r,139!==i&&(e.computed=!1)}}},{key:"initFunction",value:function(e,t){e.id=null,e.generator=!1,e.async=t}},{key:"parseMethod",value:function(e,t,r,n,i,a){var s=arguments.length>6&&void 0!==arguments[6]&&arguments[6];this.initFunction(e,r),e.generator=t,this.scope.enter(530|(s?576:0)|(i?32:0)),this.prodParam.enter(at(r,e.generator)),this.parseFunctionParams(e,n);var o=this.parseFunctionBodyAndFinish(e,a,!0);return this.prodParam.exit(),this.scope.exit(),o}},{key:"parseArrayLike",value:function(e,t,r,n){r&&this.expectPlugin("recordAndTuple");var i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var a=this.startNode();return this.next(),a.elements=this.parseExprList(e,!r,n,a),this.state.inFSharpPipelineDirectBody=i,this.finishNode(a,r?"TupleExpression":"ArrayExpression")}},{key:"parseArrowExpression",value:function(e,t,r,n){this.scope.enter(518);var i=at(r,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(e,r);var a=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,n)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(e,"ArrowFunctionExpression")}},{key:"setArrowFunctionParameters",value:function(e,t,r){this.toAssignableList(t,r,!1),e.params=t}},{key:"parseFunctionBodyAndFinish",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}},{key:"parseFunctionBody",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t&&!this.match(5);if(this.expressionScope.enter(It()),i)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{var a=this.state.strict,s=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,(function(i){var s=!r.isSimpleParamList(e.params);i&&s&&r.raise(R.IllegalLanguageModeDirective,"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end);var o=!a&&r.state.strict;r.checkParams(e,!(r.state.strict||t||n||s),t,o),r.state.strict&&e.id&&r.checkIdentifier(e.id,65,o)})),this.prodParam.exit(),this.state.labels=s}this.expressionScope.exit()}},{key:"isSimpleParameter",value:function(e){return"Identifier"===e.type}},{key:"isSimpleParamList",value:function(e){for(var t=0,r=e.length;t<r;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}},{key:"checkParams",value:function(e,t,r){var n,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=!t&&new Set,s={type:"FormalParameters"},o=l(e.params);try{for(o.s();!(n=o.n()).done;){var u=n.value;this.checkLVal(u,s,5,a,i)}}catch(e){o.e(e)}finally{o.f()}}},{key:"parseExprList",value:function(e,t,r,n){for(var i=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){n&&this.addTrailingCommaExtraToNode(n),this.next();break}i.push(this.parseExprListItem(e,t,r))}return i}},{key:"parseExprListItem",value:function(e,t,r,n){var i;if(this.match(12))t||this.raise(R.UnexpectedToken,this.state.curPosition(),{unexpected:","}),i=null;else if(this.match(21)){var a=this.state.startLoc;i=this.parseParenItem(this.parseSpread(r),a)}else if(this.match(17)){this.expectPlugin("partialApplication"),n||this.raise(R.UnexpectedArgumentPlaceholder,this.state.startLoc);var s=this.startNode();this.next(),i=this.finishNode(s,"ArgumentPlaceholder")}else i=this.parseMaybeAssignAllowInOrVoidPattern(e,r,this.parseParenItem);return i}},{key:"parseIdentifier",value:function(e){var t=this.startNode(),r=this.parseIdentifierName(e);return this.createIdentifier(t,r)}},{key:"createIdentifier",value:function(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}},{key:"createIdentifierAt",value:function(e,t,r){return e.name=t,e.loc.identifierName=t,this.finishNodeAt(e,"Identifier",r)}},{key:"parseIdentifierName",value:function(e){var t,r=this.state,n=r.startLoc,i=r.type;pe(i)?t=this.state.value:this.unexpected();var a=i<=92;return e?a&&this.replaceToken(132):this.checkReservedWord(t,n,a,!1),this.next(),t}},{key:"checkReservedWord",value:function(e,t,r,n){if(!(e.length>10)&&function(e){return Fe.has(e)}(e))if(r&&function(e){return Ie.has(e)}(e))this.raise(R.UnexpectedKeyword,t,{keyword:e});else if((this.state.strict?n?Me:_e:De)(e,this.inModule))this.raise(R.UnexpectedReservedWord,t,{reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(R.YieldBindingIdentifier,t)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(R.AwaitBindingIdentifier,t);if(this.scope.inStaticBlock)return void this.raise(R.AwaitBindingIdentifierInStaticBlock,t);this.expressionScope.recordAsyncArrowParametersError(t)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(R.ArgumentsInClass,t)}},{key:"recordAwaitIfAllowed",value:function(){var e=this.prodParam.hasAwait;return e&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),e}},{key:"parseAwait",value:function(e){var t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(R.AwaitExpressionFormalParameter,t),this.eat(55)&&this.raise(R.ObsoleteAwaitStar,t),this.scope.inFunction||1&this.optionFlags||(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}},{key:"isAmbiguousPrefixOrIdentifier",value:function(){if(this.hasPrecedingLineBreak())return!0;var e=this.state.type;return 53===e||10===e||0===e||ge(e)||102===e&&!this.state.containsEsc||138===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}},{key:"parseYield",value:function(e){var t=this.startNodeAt(e);this.expressionScope.recordParameterInitializerError(R.YieldInParameter,t);var r=!1,n=null;if(!this.hasPrecedingLineBreak())switch(r=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!r)break;default:n=this.parseMaybeAssign()}return t.delegate=r,t.argument=n,this.finishNode(t,"YieldExpression")}},{key:"parseImportCall",value:function(e){if(this.next(),e.source=this.parseMaybeAssignAllowIn(),e.options=null,this.eat(12))if(this.match(11))this.addTrailingCommaExtraToNode(e.source);else if(e.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(e.options),!this.match(11))){do{this.parseMaybeAssignAllowIn()}while(this.eat(12)&&!this.match(11));this.raise(R.ImportCallArity,e)}return this.expect(11),this.finishNode(e,"ImportExpression")}},{key:"checkPipelineAtInfixOperator",value:function(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(R.PipelineHeadSequenceExpression,t)}},{key:"parseSmartPipelineBodyInStyle",value:function(e,t){if(this.isSimpleReference(e)){var r=this.startNodeAt(t);return r.callee=e,this.finishNode(r,"PipelineBareFunction")}var n=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),n.expression=e,this.finishNode(n,"PipelineTopicExpression")}},{key:"isSimpleReference",value:function(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}},{key:"checkSmartPipeTopicBodyEarlyErrors",value:function(e){if(this.match(19))throw this.raise(R.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(R.PipelineTopicUnused,e)}},{key:"withTopicBindingContext",value:function(e){var t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}},{key:"withSmartMixTopicForbiddingContext",value:function(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();var t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}},{key:"withSoloAwaitPermittingContext",value:function(e){var t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}},{key:"allowInAnd",value:function(e){var t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}},{key:"disallowInAnd",value:function(e){var t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(-9&t);try{return e()}finally{this.prodParam.exit()}}return e()}},{key:"registerTopicReference",value:function(){this.state.topicContext.maxTopicIndex=0}},{key:"topicReferenceIsAllowedInCurrentContext",value:function(){return this.state.topicContext.maxNumOfResolvableTopics>=1}},{key:"topicReferenceWasUsedInCurrentContext",value:function(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}},{key:"parseFSharpPipelineBody",value:function(e){var t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;var r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;var n=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=r,n}},{key:"parseModuleExpression",value:function(){this.expectPlugin("moduleBlocks");var e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);var t=this.startNodeAt(this.state.endLoc);this.next();var r=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{r()}return this.finishNode(e,"ModuleExpression")}},{key:"parseVoidPattern",value:function(e){this.expectPlugin("discardBinding");var t=this.startNode();return null!=e&&(e.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(t,"VoidPattern")}},{key:"parseMaybeAssignAllowInOrVoidPattern",value:function(e,t,r){if(null!=t&&this.match(88)){var n=this.lookaheadCharCode();if(44===n||n===(3===e?93:8===e?125:41)||61===n)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(t))}return this.parseMaybeAssignAllowIn(t,r)}},{key:"parsePropertyNamePrefixOperator",value:function(e){}}])}(Mt),Gt={kind:1},$t={kind:2},Qt=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Zt=new RegExp("in(?:stanceof)?","y"),er=function(e){function t(e,r,n){var i;P(this,t),(i=d(this,t,[e=function(e){var t={sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};if(null==e)return t;if(null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];null!=e[i]&&(t[i]=e[i])}if(1===t.startLine)null==e.startIndex&&t.startColumn>0?t.startIndex=t.startColumn:null==e.startColumn&&t.startIndex>0&&(t.startColumn=t.startIndex);else if((null==e.startColumn||null==e.startIndex)&&null!=e.startIndex)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if("commonjs"===t.sourceType){if(null!=e.allowAwaitOutsideFunction)throw new Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(null!=e.allowReturnOutsideFunction)throw new Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(null!=e.allowNewTargetOutsideFunction)throw new Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return t}(e),r])).options=e,i.initializeScopes(),i.plugins=n,i.filename=e.sourceFilename,i.startIndex=e.startIndex;var a=0;return e.allowAwaitOutsideFunction&&(a|=1),e.allowReturnOutsideFunction&&(a|=2),e.allowImportExportEverywhere&&(a|=8),e.allowSuperOutsideMethod&&(a|=16),e.allowUndeclaredExports&&(a|=64),e.allowNewTargetOutsideFunction&&(a|=4),e.allowYieldOutsideFunction&&(a|=32),e.ranges&&(a|=128),e.tokens&&(a|=256),e.createImportExpressions&&(a|=512),e.createParenthesizedExpressions&&(a|=1024),e.errorRecovery&&(a|=2048),e.attachComment&&(a|=4096),e.annexB&&(a|=8192),i.optionFlags=a,i}return g(t,e),x(t,[{key:"getScopeHandler",value:function(){return Be}},{key:"parse",value:function(){this.enterInitialScopes();var e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e.comments.length=this.state.commentsLen,e}}])}(function(e){function t(){return P(this,t),d(this,t,arguments)}return g(t,e),x(t,[{key:"parseTopLevel",value:function(e,t){return e.program=this.parseProgram(t,140,"module"===this.options.sourceType?"module":"script"),e.comments=this.comments,256&this.optionFlags&&(e.tokens=function(e,t,r){for(var n=0;n<e.length;n++){var i=e[n],a=i.type;if("number"==typeof a){if(139===a){var s=i.loc,o=i.start,l=i.value,u=i.end,c=o+1,p=w(s.start,1);e.splice(n,1,new xt({type:Te(27),value:"#",start:o,end:c,startLoc:s.start,endLoc:p}),new xt({type:Te(132),value:l,start:c,end:u,startLoc:p,endLoc:s.end})),n++;continue}if(ge(a)){var h,d=i.loc,f=i.start,y=i.value,m=i.end,v=f+1,g=w(d.start,1);h=96===t.charCodeAt(f-r)?new xt({type:Te(22),value:"`",start:f,end:v,startLoc:d.start,endLoc:g}):new xt({type:Te(8),value:"}",start:f,end:v,startLoc:d.start,endLoc:g});var T=void 0,b=void 0,S=void 0,x=void 0;24===a?(b=m-1,S=w(d.end,-1),T=null===y?null:y.slice(1,-1),x=new xt({type:Te(22),value:"`",start:b,end:m,startLoc:S,endLoc:d.end})):(b=m-2,S=w(d.end,-2),T=null===y?null:y.slice(1,-2),x=new xt({type:Te(23),value:"${",start:b,end:m,startLoc:S,endLoc:d.end})),e.splice(n,1,h,new xt({type:Te(20),value:T,start:v,end:b,startLoc:g,endLoc:S}),x),n+=2;continue}i.type=Te(a)}}return e}(this.tokens,this.input,this.startIndex)),this.finishNode(e,"File")}},{key:"parseProgram",value:function(e,t,r){if(e.sourceType=r,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule){if(!(64&this.optionFlags)&&this.scope.undefinedExports.size>0)for(var n=0,i=Array.from(this.scope.undefinedExports);n<i.length;n++){var a=c(i[n],2),s=a[0],o=a[1];this.raise(R.ModuleExportUndefined,o,{localName:s})}this.addExtra(e,"topLevelAwait",this.state.hasTopLevelAwait)}return 140===t?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",w(this.state.startLoc,-1))}},{key:"stmtToDirective",value:function(e){var t=this.castNodeTo(e,"Directive"),r=this.castNodeTo(e.expression,"DirectiveLiteral"),n=r.value,i=this.input.slice(this.offsetToSourcePos(r.start),this.offsetToSourcePos(r.end)),a=r.value=i.slice(1,-1);return this.addExtra(r,"raw",i),this.addExtra(r,"rawValue",a),this.addExtra(r,"expressionValue",n),t.value=r,delete e.expression,t}},{key:"parseInterpreterDirective",value:function(){if(!this.match(28))return null;var e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}},{key:"isLet",value:function(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}},{key:"isUsing",value:function(){if(!this.isContextual(107))return!1;var e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}},{key:"isForUsing",value:function(){if(!this.isContextual(107))return!1;var e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);if(this.isUnparsedContextual(e,"of")){var r=this.lookaheadCharCodeSince(e+2);if(61!==r&&58!==r&&59!==r)return!1}return!(!this.chStartsBindingIdentifier(t,e)&&!this.isUnparsedContextual(e,"void"))}},{key:"isAwaitUsing",value:function(){if(!this.isContextual(96))return!1;var e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,"using")){e=this.nextTokenInLineStartSince(e+5);var t=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(t,e))return!0}return!1}},{key:"chStartsBindingIdentifier",value:function(e,t){if(we(e)){if(Zt.lastIndex=t,Zt.test(this.input)){var r=this.codePointAtPos(Zt.lastIndex);if(!Ce(r)&&92!==r)return!1}return!0}return 92===e}},{key:"chStartsBindingPattern",value:function(e){return 91===e||123===e}},{key:"hasFollowingBindingAtom",value:function(){var e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}},{key:"hasInLineFollowingBindingIdentifierOrBrace",value:function(){var e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return 123===t||this.chStartsBindingIdentifier(t,e)}},{key:"allowsUsing",value:function(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}},{key:"parseModuleItem",value:function(){return this.parseStatementLike(15)}},{key:"parseStatementListItem",value:function(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}},{key:"parseStatementOrSloppyAnnexBFunctionDeclaration",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}},{key:"parseStatement",value:function(){return this.parseStatementLike(0)}},{key:"parseStatementLike",value:function(e){var t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}},{key:"parseStatementContent",value:function(e,t){var r=this.state.type,n=this.startNode(),i=!!(2&e),a=!!(4&e),s=1&e;switch(r){case 60:return this.parseBreakContinueStatement(n,!0);case 63:return this.parseBreakContinueStatement(n,!1);case 64:return this.parseDebuggerStatement(n);case 90:return this.parseDoWhileStatement(n);case 91:return this.parseForStatement(n);case 68:if(46===this.lookaheadCharCode())break;return a||this.raise(this.state.strict?R.StrictFunction:this.options.annexB?R.SloppyFunctionAnnexB:R.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(n,!1,!i&&a);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,n),!0);case 69:return this.parseIfStatement(n);case 70:return this.parseReturnStatement(n);case 71:return this.parseSwitchStatement(n);case 72:return this.parseThrowStatement(n);case 73:return this.parseTryStatement(n);case 96:if(this.isAwaitUsing())return this.allowsUsing()?i?this.recordAwaitIfAllowed()||this.raise(R.AwaitUsingNotInAsyncContext,n):this.raise(R.UnexpectedLexicalDeclaration,n):this.raise(R.UnexpectedUsingDeclaration,n),this.next(),this.parseVarStatement(n,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?i||this.raise(R.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(R.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(n,"using");case 100:if(this.state.containsEsc)break;var o=this.nextTokenStart(),l=this.codePointAtPos(o);if(91!==l){if(!i&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(l,o)&&123!==l)break}case 75:i||this.raise(R.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:var u=this.state.value;return this.parseVarStatement(n,u);case 92:return this.parseWhileStatement(n);case 76:return this.parseWithStatement(n);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(n);case 83:var c=this.lookaheadCharCode();if(40===c||46===c)break;case 82:var p;return 8&this.optionFlags||s||this.raise(R.UnexpectedImportExport,this.state.startLoc),this.next(),p=83===r?this.parseImport(n):this.parseExport(n,t),this.assertModuleNodeAllowed(p),p;default:if(this.isAsyncFunction())return i||this.raise(R.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(n,!0,!i&&a)}var h=this.state.value,d=this.parseExpression();return ce(r)&&"Identifier"===d.type&&this.eat(14)?this.parseLabeledStatement(n,h,d,e):this.parseExpressionStatement(n,d,t)}},{key:"assertModuleNodeAllowed",value:function(e){8&this.optionFlags||this.inModule||this.raise(R.ImportOutsideModule,e)}},{key:"decoratorsEnabledBeforeExport",value:function(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}},{key:"maybeTakeDecorators",value:function(e,t,r){var n,i;e&&(null!=(n=t.decorators)&&n.length?("boolean"!=typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(R.DecoratorsBeforeAfterExport,t.decorators[0]),(i=t.decorators).unshift.apply(i,u(e))):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),r&&this.resetStartLocationFromNode(r,t));return t}},{key:"canHaveLeadingDecorator",value:function(){return this.match(80)}},{key:"parseDecorators",value:function(e){var t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(R.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(R.UnexpectedLeadingDecorator,this.state.startLoc);return t}},{key:"parseDecorator",value:function(){this.expectOnePlugin(["decorators","decorators-legacy"]);var e=this.startNode();if(this.next(),this.hasPlugin("decorators")){var t,r=this.state.startLoc;if(this.match(10)){var n=this.state.startLoc;this.next(),t=this.parseExpression(),this.expect(11),t=this.wrapParenthesis(n,t);var i=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(t,n),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==t&&this.raise(R.DecoratorArgumentsOutsideParentheses,i)}else{for(t=this.parseIdentifier(!1);this.eat(16);){var a=this.startNodeAt(r);a.object=t,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),a.computed=!1,t=this.finishNode(a,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(t,r)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}},{key:"parseMaybeDecoratorArguments",value:function(e,t){if(this.eat(10)){var r=this.startNodeAt(t);return r.callee=e,r.arguments=this.parseCallExpressionArguments(),this.toReferencedList(r.arguments),this.finishNode(r,"CallExpression")}return e}},{key:"parseBreakContinueStatement",value:function(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}},{key:"verifyBreakContinue",value:function(e,t){var r;for(r=0;r<this.state.labels.length;++r){var n=this.state.labels[r];if(null==e.label||n.name===e.label.name){if(null!=n.kind&&(t||1===n.kind))break;if(e.label&&t)break}}if(r===this.state.labels.length){var i=t?"BreakStatement":"ContinueStatement";this.raise(R.IllegalBreakContinue,e,{type:i})}}},{key:"parseDebuggerStatement",value:function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}},{key:"parseHeaderExpression",value:function(){this.expect(10);var e=this.parseExpression();return this.expect(11),e}},{key:"parseDoWhileStatement",value:function(e){var t=this;return this.next(),this.state.labels.push(Gt),e.body=this.withSmartMixTopicForbiddingContext((function(){return t.parseStatement()})),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}},{key:"parseForStatement",value:function(e){this.next(),this.state.labels.push(Gt);var t=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(t=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);var r=this.isContextual(100),n=this.isAwaitUsing(),i=n||this.isForUsing(),a=r&&this.hasFollowingBindingAtom()||i;if(this.match(74)||this.match(75)||a){var s,o=this.startNode();n?(s="await using",this.recordAwaitIfAllowed()||this.raise(R.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):s=this.state.value,this.next(),this.parseVar(o,!0,s);var l=this.finishNode(o,"VariableDeclaration"),u=this.match(58);return u&&i&&this.raise(R.ForInUsing,l),(u||this.isContextual(102))&&1===l.declarations.length?this.parseForIn(e,l,t):(null!==t&&this.unexpected(t),this.parseFor(e,l))}var c=this.isContextual(95),p=new Nt,h=this.parseExpression(!0,p),d=this.isContextual(102);if(d&&(r&&this.raise(R.ForOfLet,h),null===t&&c&&"Identifier"===h.type&&this.raise(R.ForOfAsync,h)),d||this.match(58)){this.checkDestructuringPrivate(p),this.toAssignable(h,!0);var f=d?"ForOfStatement":"ForInStatement";return this.checkLVal(h,{type:f}),this.parseForIn(e,h,t)}return this.checkExpressionErrors(p,!0),null!==t&&this.unexpected(t),this.parseFor(e,h)}},{key:"parseFunctionStatement",value:function(e,t,r){return this.next(),this.parseFunction(e,1|(r?2:0)|(t?8:0))}},{key:"parseIfStatement",value:function(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}},{key:"parseReturnStatement",value:function(e){return this.prodParam.hasReturn||this.raise(R.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}},{key:"parseSwitchStatement",value:function(e){this.next(),e.discriminant=this.parseHeaderExpression();var t,r,n=e.cases=[];for(this.expect(5),this.state.labels.push($t),this.scope.enter(256);!this.match(8);)if(this.match(61)||this.match(65)){var i=this.match(61);t&&this.finishNode(t,"SwitchCase"),n.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raise(R.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),r=!0,t.test=null),this.expect(14)}else t?t.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}},{key:"parseThrowStatement",value:function(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(R.NewlineAfterThrow,this.state.lastTokEndLoc),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}},{key:"parseCatchClauseParam",value:function(){var e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===e.type?8:0),this.checkLVal(e,{type:"CatchClause"},9),e}},{key:"parseTryStatement",value:function(e){var t=this;if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){var r=this.startNode();this.next(),this.match(10)?(this.expect(10),r.param=this.parseCatchClauseParam(),this.expect(11)):(r.param=null,this.scope.enter(0)),r.body=this.withSmartMixTopicForbiddingContext((function(){return t.parseBlock(!1,!1)})),this.scope.exit(),e.handler=this.finishNode(r,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,e.handler||e.finalizer||this.raise(R.NoCatchOrFinally,e),this.finishNode(e,"TryStatement")}},{key:"parseVarStatement",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")}},{key:"parseWhileStatement",value:function(e){var t=this;return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(Gt),e.body=this.withSmartMixTopicForbiddingContext((function(){return t.parseStatement()})),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}},{key:"parseWithStatement",value:function(e){var t=this;return this.state.strict&&this.raise(R.StrictWith,this.state.startLoc),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((function(){return t.parseStatement()})),this.finishNode(e,"WithStatement")}},{key:"parseEmptyStatement",value:function(e){return this.next(),this.finishNode(e,"EmptyStatement")}},{key:"parseLabeledStatement",value:function(e,t,r,n){var i,a=l(this.state.labels);try{for(a.s();!(i=a.n()).done;)i.value.name===t&&this.raise(R.LabelRedeclaration,r,{labelName:t})}catch(e){a.e(e)}finally{a.f()}for(var s,o=(s=this.state.type)>=90&&s<=92?1:this.match(71)?2:null,u=this.state.labels.length-1;u>=0;u--){var c=this.state.labels[u];if(c.statementStart!==e.start)break;c.statementStart=this.sourceToOffsetPos(this.state.start),c.kind=o}return this.state.labels.push({name:t,kind:o,statementStart:this.sourceToOffsetPos(this.state.start)}),e.body=8&n?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}},{key:"parseExpressionStatement",value:function(e,t,r){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}},{key:"parseBlock",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0,n=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(n,e,!1,8,r),t&&this.scope.exit(),this.finishNode(n,"BlockStatement")}},{key:"isValidDirective",value:function(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}},{key:"parseBlockBody",value:function(e,t,r,n,i){var a=e.body=[],s=e.directives=[];this.parseBlockOrModuleBlockBody(a,t?s:void 0,r,n,i)}},{key:"parseBlockOrModuleBlockBody",value:function(e,t,r,n,i){for(var a=this.state.strict,s=!1,o=!1;!this.match(n);){var l=r?this.parseModuleItem():this.parseStatementListItem();if(t&&!o){if(this.isValidDirective(l)){var u=this.stmtToDirective(l);t.push(u),s||"use strict"!==u.value.value||(s=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}e.push(l)}null==i||i.call(this,s),a||this.setStrict(!1),this.next()}},{key:"parseFor",value:function(e,t){var r=this;return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((function(){return r.parseStatement()})),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}},{key:"parseForIn",value:function(e,t,r){var n=this,i=this.match(58);return this.next(),i?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"!==t.type||null==t.declarations[0].init||i&&this.options.annexB&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(R.ForInOfLoopInitializer,t,{type:i?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(R.InvalidLhs,t,{ancestor:{type:"ForStatement"}}),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((function(){return n.parseStatement()})),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")}},{key:"parseVar",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.declarations=[];for(e.kind=r;;){var a=this.startNode();if(this.parseVarId(a,r),a.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==a.init||n||("Identifier"===a.id.type||t&&(this.match(58)||this.isContextual(102))?"const"!==r&&"using"!==r&&"await using"!==r||this.match(58)||this.isContextual(102)||this.raise(R.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:r}):this.raise(R.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),i.push(this.finishNode(a,"VariableDeclarator")),!this.eat(12))break}return e}},{key:"parseVarId",value:function(e,t){var r=this.parseBindingAtom();"using"===t||"await using"===t?"ArrayPattern"!==r.type&&"ObjectPattern"!==r.type||this.raise(R.UsingDeclarationHasBindingPattern,r.loc.start):"VoidPattern"===r.type&&this.raise(R.UnexpectedVoidPattern,r.loc.start),this.checkLVal(r,{type:"VariableDeclarator"},"var"===t?5:8201),e.id=r}},{key:"parseAsyncFunctionExpression",value:function(e){return this.parseFunction(e,8)}},{key:"parseFunction",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=2&r,i=!!(1&r),a=i&&!(4&r),s=!!(8&r);this.initFunction(e,s),this.match(55)&&(n&&this.raise(R.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),i&&(e.id=this.parseFunctionId(a));var o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(at(s,e.generator)),i||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((function(){t.parseFunctionBodyAndFinish(e,i?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),i&&!n&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}},{key:"parseFunctionId",value:function(e){return e||ce(this.state.type)?this.parseIdentifier():null}},{key:"parseFunctionParams",value:function(e,t){this.expect(10),this.expressionScope.enter(new kt(3)),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}},{key:"registerFunctionStatementId",value:function(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:8201:17,e.id.loc.start)}},{key:"parseClass",value:function(e,t,r){this.next();var n=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,n),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}},{key:"isClassProperty",value:function(){return this.match(29)||this.match(13)||this.match(8)}},{key:"isClassMethod",value:function(){return this.match(10)}},{key:"nameIsConstructor",value:function(e){return"Identifier"===e.type&&"constructor"===e.name||"StringLiteral"===e.type&&"constructor"===e.value}},{key:"isNonstaticConstructor",value:function(e){return!e.computed&&!e.static&&this.nameIsConstructor(e.key)}},{key:"parseClassBody",value:function(e,t){var r=this;this.classScope.enter();var n={hadConstructor:!1,hadSuperClass:e},i=[],a=this.startNode();if(a.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((function(){for(;!r.match(8);)if(r.eat(13)){if(i.length>0)throw r.raise(R.DecoratorSemicolon,r.state.lastTokEndLoc)}else if(r.match(26))i.push(r.parseDecorator());else{var e=r.startNode();i.length&&(e.decorators=i,r.resetStartLocationFromNode(e,i[0]),i=[]),r.parseClassMember(a,e,n),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&r.raise(R.DecoratorConstructor,e)}})),this.state.strict=t,this.next(),i.length)throw this.raise(R.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(a,"ClassBody")}},{key:"parseClassMemberFromModifier",value:function(e,t){var r=this.parseIdentifier(!0);if(this.isClassMethod()){var n=t;return n.kind="method",n.computed=!1,n.key=r,n.static=!1,this.pushClassMethod(e,n,!1,!1,!1,!1),!0}if(this.isClassProperty()){var i=t;return i.computed=!1,i.key=r,i.static=!1,e.body.push(this.parseClassProperty(i)),!0}return this.resetPreviousNodeTrailingComments(r),!1}},{key:"parseClassMember",value:function(e,t,r){var n=this.isContextual(106);if(n){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,n)}},{key:"parseClassMemberWithIsStatic",value:function(e,t,r,n){var i=t,a=t,s=t,o=t,l=t,u=i,c=i;if(t.static=n,this.parsePropertyNamePrefixOperator(t),this.eat(55)){u.kind="method";var p=this.match(139);return this.parseClassElementName(u),this.parsePostMemberNameModifiers(u),p?void this.pushClassPrivateMethod(e,a,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(R.ConstructorIsGenerator,i.key),void this.pushClassMethod(e,i,!0,!1,!1,!1))}var h=!this.state.containsEsc&&ce(this.state.type),d=this.parseClassElementName(t),f=h?d.name:null,y=this.isPrivateName(d),m=this.state.startLoc;if(this.parsePostMemberNameModifiers(c),this.isClassMethod()){if(u.kind="method",y)return void this.pushClassPrivateMethod(e,a,!1,!1);var v=this.isNonstaticConstructor(i),g=!1;v&&(i.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(R.DuplicateConstructor,d),v&&this.hasPlugin("typescript")&&t.override&&this.raise(R.OverrideOnConstructor,d),r.hadConstructor=!0,g=r.hadSuperClass),this.pushClassMethod(e,i,!1,!1,v,g)}else if(this.isClassProperty())y?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,s);else if("async"!==f||this.isLineTerminator())if("get"!==f&&"set"!==f||this.match(55)&&this.isLineTerminator())if("accessor"!==f||this.isLineTerminator())this.isLineTerminator()?y?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,s):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);var T=this.match(139);this.parseClassElementName(s),this.pushClassAccessorProperty(e,l,T)}else{this.resetPreviousNodeTrailingComments(d),u.kind=f;var b=this.match(139);this.parseClassElementName(i),b?this.pushClassPrivateMethod(e,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(R.ConstructorIsAccessor,i.key),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}else{this.resetPreviousNodeTrailingComments(d);var S=this.eat(55);c.optional&&this.unexpected(m),u.kind="method";var x=this.match(139);this.parseClassElementName(u),this.parsePostMemberNameModifiers(c),x?this.pushClassPrivateMethod(e,a,S,!0):(this.isNonstaticConstructor(i)&&this.raise(R.ConstructorIsAsync,i.key),this.pushClassMethod(e,i,S,!0,!1,!1))}}},{key:"parseClassElementName",value:function(e){var t=this.state,r=t.type,n=t.value;if(132!==r&&134!==r||!e.static||"prototype"!==n||this.raise(R.StaticPrototype,this.state.startLoc),139===r){"constructor"===n&&this.raise(R.ConstructorClassPrivateField,this.state.startLoc);var i=this.parsePrivateName();return e.key=i,i}return this.parsePropertyName(e),e.key}},{key:"parseClassStaticBlock",value:function(e,t){var r;this.scope.enter(720);var n=this.state.labels;this.state.labels=[],this.prodParam.enter(0);var i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=n,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(R.DecoratorStaticBlock,t)}},{key:"pushClassProperty",value:function(e,t){!t.computed&&this.nameIsConstructor(t.key)&&this.raise(R.ConstructorClassField,t.key),e.body.push(this.parseClassProperty(t))}},{key:"pushClassPrivateProperty",value:function(e,t){var r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}},{key:"pushClassAccessorProperty",value:function(e,t,r){r||t.computed||!this.nameIsConstructor(t.key)||this.raise(R.ConstructorClassField,t.key);var n=this.parseClassAccessorProperty(t);e.body.push(n),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),0,n.key.loc.start)}},{key:"pushClassMethod",value:function(e,t,r,n,i,a){e.body.push(this.parseMethod(t,r,n,i,a,"ClassMethod",!0))}},{key:"pushClassPrivateMethod",value:function(e,t,r,n){var i=this.parseMethod(t,r,n,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);var a="get"===i.kind?i.static?6:2:"set"===i.kind?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,a)}},{key:"declareClassPrivateMethodInScope",value:function(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}},{key:"parsePostMemberNameModifiers",value:function(e){}},{key:"parseClassPrivateProperty",value:function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}},{key:"parseClassProperty",value:function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}},{key:"parseClassAccessorProperty",value:function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}},{key:"parseInitializer",value:function(e){this.scope.enter(592),this.expressionScope.enter(It()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}},{key:"parseClassId",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:8331;if(ce(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,n);else{if(!r&&t)throw this.raise(R.MissingClassName,this.state.startLoc);e.id=null}}},{key:"parseClassSuper",value:function(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}},{key:"parseExport",value:function(e,t){var r=this.parseMaybeImportPhase(e,!0),n=this.maybeParseExportDefaultSpecifier(e,r),i=!n||this.eat(12),a=i&&this.eatExportStar(e),s=a&&this.maybeParseExportNamespaceSpecifier(e),o=i&&(!s||this.eat(12)),l=n||a;if(a&&!s){if(n&&this.unexpected(),t)throw this.raise(R.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.sawUnambiguousESM=!0,this.finishNode(e,"ExportAllDeclaration")}var u,c=this.maybeParseExportNamedSpecifiers(e);if(n&&i&&!a&&!c&&this.unexpected(null,5),s&&o&&this.unexpected(null,98),l||c){if(u=!1,t)throw this.raise(R.UnsupportedDecoratorExport,e);this.parseExportFrom(e,l)}else u=this.maybeParseExportDeclaration(e);if(l||c||u){var p,h=e;if(this.checkExport(h,!0,!1,!!h.source),"ClassDeclaration"===(null==(p=h.declaration)?void 0:p.type))this.maybeTakeDecorators(t,h.declaration,h);else if(t)throw this.raise(R.UnsupportedDecoratorExport,e);return this.sawUnambiguousESM=!0,this.finishNode(h,"ExportNamedDeclaration")}if(this.eat(65)){var d=e,f=this.parseExportDefaultExpression();if(d.declaration=f,"ClassDeclaration"===f.type)this.maybeTakeDecorators(t,f,d);else if(t)throw this.raise(R.UnsupportedDecoratorExport,e);return this.checkExport(d,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(d,"ExportDefaultDeclaration")}this.unexpected(null,5)}},{key:"eatExportStar",value:function(e){return this.eat(55)}},{key:"maybeParseExportDefaultSpecifier",value:function(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",null==t?void 0:t.loc.start);var r=t||this.parseIdentifier(!0),n=this.startNodeAtNode(r);return n.exported=r,e.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")],!0}return!1}},{key:"maybeParseExportNamespaceSpecifier",value:function(e){if(this.isContextual(93)){var t;null!=(t=e).specifiers||(t.specifiers=[]);var r=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),r.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(r,"ExportNamespaceSpecifier")),!0}return!1}},{key:"maybeParseExportNamedSpecifiers",value:function(e){if(this.match(5)){var t,r=e;r.specifiers||(r.specifiers=[]);var n="type"===r.exportKind;return(t=r.specifiers).push.apply(t,u(this.parseExportSpecifiers(n))),r.source=null,this.hasPlugin("importAssertions")?r.assertions=[]:r.attributes=[],r.declaration=null,!0}return!1}},{key:"maybeParseExportDeclaration",value:function(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")?e.assertions=[]:e.attributes=[],e.declaration=this.parseExportDeclaration(e),!0)}},{key:"isAsyncFunction",value:function(){if(!this.isContextual(95))return!1;var e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")}},{key:"parseExportDefaultExpression",value:function(){var e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(R.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(R.UnsupportedDefaultExport,this.state.startLoc);var t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}},{key:"parseExportDeclaration",value:function(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}},{key:"isExportDefaultSpecifier",value:function(){var e=this.state.type;if(ce(e)){if(95===e&&!this.state.containsEsc||100===e)return!1;if((130===e||129===e)&&!this.state.containsEsc){var t=this.nextTokenStart(),r=this.input.charCodeAt(t);if(123===r||this.chStartsBindingIdentifier(r,t)&&!this.input.startsWith("from",t))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;var n=this.nextTokenStart(),i=this.isUnparsedContextual(n,"from");if(44===this.input.charCodeAt(n)||ce(this.state.type)&&i)return!0;if(this.match(65)&&i){var a=this.input.charCodeAt(this.nextTokenStartSince(n+4));return 34===a||39===a}return!1}},{key:"parseExportFrom",value:function(e,t){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):t&&this.unexpected(),this.semicolon()}},{key:"shouldParseExportDeclaration",value:function(){var e=this.state.type;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(R.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()||this.isAwaitUsing()?(this.raise(R.UsingDeclarationExport,this.state.startLoc),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}},{key:"checkExport",value:function(e,t,r,n){var i;if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var a,s=e.declaration;"Identifier"!==s.type||"from"!==s.name||s.end-s.start!=4||null!=(a=s.extra)&&a.parenthesized||this.raise(R.ExportDefaultFromAsIdentifier,s)}}else if(null!=(i=e.specifiers)&&i.length){var o,u=l(e.specifiers);try{for(u.s();!(o=u.n()).done;){var c=o.value,p=c.exported,h="Identifier"===p.type?p.name:p.value;if(this.checkDuplicateExports(c,h),!n&&c.local){var d=c.local;"Identifier"!==d.type?this.raise(R.ExportBindingIsString,c,{localName:d.value,exportName:h}):(this.checkReservedWord(d.name,d.loc.start,!0,!1),this.scope.checkLocalExport(d))}}}catch(e){u.e(e)}finally{u.f()}}else if(e.declaration){var f=e.declaration;if("FunctionDeclaration"===f.type||"ClassDeclaration"===f.type){var y=f.id;if(!y)throw new Error("Assertion failure");this.checkDuplicateExports(e,y.name)}else if("VariableDeclaration"===f.type){var m,v=l(f.declarations);try{for(v.s();!(m=v.n()).done;){var g=m.value;this.checkDeclaration(g.id)}}catch(e){v.e(e)}finally{v.f()}}}}},{key:"checkDeclaration",value:function(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type){var t,r=l(e.properties);try{for(r.s();!(t=r.n()).done;){var n=t.value;this.checkDeclaration(n)}}catch(e){r.e(e)}finally{r.f()}}else if("ArrayPattern"===e.type){var i,a=l(e.elements);try{for(a.s();!(i=a.n()).done;){var s=i.value;s&&this.checkDeclaration(s)}}catch(e){a.e(e)}finally{a.f()}}else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}},{key:"checkDuplicateExports",value:function(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(R.DuplicateDefaultExport,e):this.raise(R.DuplicateExport,e,{exportName:t})),this.exportedIdentifiers.add(t)}},{key:"parseExportSpecifiers",value:function(e){var t=[],r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;var n=this.isContextual(130),i=this.match(134),a=this.startNode();a.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(a,i,e,n))}return t}},{key:"parseExportSpecifier",value:function(e,t,r,n){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=this.cloneStringLiteral(e.local):e.exported||(e.exported=this.cloneIdentifier(e.local)),this.finishNode(e,"ExportSpecifier")}},{key:"parseModuleExportName",value:function(){if(this.match(134)){var e=this.parseStringLiteral(this.state.value),t=Qt.exec(e.value);return t&&this.raise(R.ModuleExportNameHasLoneSurrogate,e,{surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}},{key:"isJSONModuleImport",value:function(e){return null!=e.assertions&&e.assertions.some((function(e){var t=e.key;return"json"===e.value.value&&("Identifier"===t.type?"type"===t.name:"type"===t.value)}))}},{key:"checkImportReflection",value:function(e){var t=e.specifiers,r=1===t.length?t[0].type:null;if("source"===e.phase)"ImportDefaultSpecifier"!==r&&this.raise(R.SourcePhaseImportRequiresDefault,t[0].loc.start);else if("defer"===e.phase)"ImportNamespaceSpecifier"!==r&&this.raise(R.DeferImportRequiresNamespace,t[0].loc.start);else if(e.module){var n;"ImportDefaultSpecifier"!==r&&this.raise(R.ImportReflectionNotBinding,t[0].loc.start),(null==(n=e.assertions)?void 0:n.length)>0&&this.raise(R.ImportReflectionHasAssertion,t[0].loc.start)}}},{key:"checkJSONModuleImport",value:function(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){var t=e.specifiers;if(null!=t){var r=t.find((function(e){var t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value}));void 0!==r&&this.raise(R.ImportJSONBindingNotDefault,r.loc.start)}}}},{key:"isPotentialImportPhase",value:function(e){return!e&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}},{key:"applyImportPhase",value:function(e,t,r,n){t||("module"===r?(this.expectPlugin("importReflection",n),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1),"source"===r?(this.expectPlugin("sourcePhaseImports",n),e.phase="source"):"defer"===r?(this.expectPlugin("deferredImportEvaluation",n),e.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(e.phase=null))}},{key:"parseMaybeImportPhase",value:function(e,t){if(!this.isPotentialImportPhase(t))return this.applyImportPhase(e,t,null),null;var r=this.startNode(),n=this.parseIdentifierName(!0),i=this.state.type;return(pe(i)?98!==i||102===this.lookaheadCharCode():12!==i)?(this.applyImportPhase(e,t,n,r.loc.start),null):(this.applyImportPhase(e,t,null),this.createIdentifier(r,n))}},{key:"isPrecedingIdImportPhase",value:function(e){var t=this.state.type;return ce(t)?98!==t||102===this.lookaheadCharCode():12!==t}},{key:"parseImport",value:function(e){return this.match(134)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))}},{key:"parseImportSpecifiersAndAfter",value:function(e,t){e.specifiers=[];var r=!this.maybeParseDefaultImportSpecifier(e,t)||this.eat(12),n=r&&this.maybeParseStarImportSpecifier(e);return r&&!n&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)}},{key:"parseImportSourceAndAttributes",value:function(e){return null!=e.specifiers||(e.specifiers=[]),e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(e,"ImportDeclaration")}},{key:"parseImportSource",value:function(){return this.match(134)||this.unexpected(),this.parseExprAtom()}},{key:"parseImportSpecifierLocal",value:function(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}},{key:"finishImportSpecifier",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8201;return this.checkLVal(e.local,{type:t},r),this.finishNode(e,t)}},{key:"parseImportAttributes",value:function(){this.expect(5);var e=[],t=new Set;do{if(this.match(8))break;var r=this.startNode(),n=this.state.value;if(t.has(n)&&this.raise(R.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:n}),t.add(n),this.match(134)?r.key=this.parseStringLiteral(n):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(R.ModuleAttributeInvalidValue,this.state.startLoc);r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return this.expect(8),e}},{key:"parseModuleAttributes",value:function(){var e=[],t=new Set;do{var r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(R.ModuleAttributeDifferentFromType,r.key),t.has(r.key.name)&&this.raise(R.ModuleAttributesWithDuplicateKeys,r.key,{key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(134))throw this.raise(R.ModuleAttributeInvalidValue,this.state.startLoc);r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return e}},{key:"maybeParseImportAttributes",value:function(e){var t,r=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&40===this.lookaheadCharCode())return;this.next(),this.hasPlugin("moduleAttributes")?(t=this.parseModuleAttributes(),this.addExtra(e,"deprecatedWithLegacySyntax",!0)):t=this.parseImportAttributes(),r=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(this.hasPlugin("deprecatedImportAssert")||this.hasPlugin("importAssertions")||this.raise(R.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(e,"deprecatedAssertSyntax",!0),this.next(),t=this.parseImportAttributes()):t=[];!r&&this.hasPlugin("importAssertions")?e.assertions=t:e.attributes=t}},{key:"maybeParseDefaultImportSpecifier",value:function(e,t){if(t){var r=this.startNodeAtNode(t);return r.local=t,e.specifiers.push(this.finishImportSpecifier(r,"ImportDefaultSpecifier")),!0}return!!pe(this.state.type)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}},{key:"maybeParseStarImportSpecifier",value:function(e){if(this.match(55)){var t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}},{key:"parseNamedImportSpecifiers",value:function(e){var t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(R.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}var r=this.startNode(),n=this.match(134),i=this.isContextual(130);r.imported=this.parseModuleExportName();var a=this.parseImportSpecifier(r,n,"type"===e.importKind||"typeof"===e.importKind,i,void 0);e.specifiers.push(a)}}},{key:"parseImportSpecifier",value:function(e,t,r,n,i){if(this.eatContextual(93))e.local=this.parseIdentifier();else{var a=e.imported;if(t)throw this.raise(R.ImportBindingIsString,e,{importName:a.value});this.checkReservedWord(a.name,e.loc.start,!0,!0),e.local||(e.local=this.cloneIdentifier(a))}return this.finishImportSpecifier(e,"ImportSpecifier",i)}},{key:"isThisParam",value:function(e){return"Identifier"===e.type&&"this"===e.name}}])}(zt)),tr=function(e){for(var t={},r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];t[i]=Te(e[i])}return t}(ue);function rr(e,t){var r=er,n=new Map;if(null!=e&&e.plugins){var i,a=l(e.plugins);try{for(a.s();!(i=a.n()).done;){var s=i.value,o=void 0,u=void 0;if("string"==typeof s)o=s;else{var p=c(s,2);o=p[0],u=p[1]}n.has(o)||n.set(o,u||{})}}catch(e){a.e(e)}finally{a.f()}!function(e){if(e.has("decorators")){if(e.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");var t=e.get("decorators").decoratorsBeforeExport;if(null!=t&&"boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");var r=e.get("decorators").allowCallParenthesized;if(null!=r&&"boolean"!=typeof r)throw new Error("'allowCallParenthesized' must be a boolean.")}if(e.has("flow")&&e.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(e.has("placeholders")&&e.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(e.has("pipelineOperator")){var n,i=e.get("pipelineOperator").proposal;if(!Yt.includes(i)){var a=Yt.map((function(e){return'"'.concat(e,'"')})).join(", ");throw new Error('"pipelineOperator" requires "proposal" option whose value must be one of: '.concat(a,"."))}if("hack"===i){if(e.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(e.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");var s,o=e.get("pipelineOperator").topicToken;if(!Jt.includes(o)){var l=Jt.map((function(e){return'"'.concat(e,'"')})).join(", ");throw new Error('"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: '.concat(l,"."))}if("#"===o&&"hash"===(null==(s=e.get("recordAndTuple"))?void 0:s.syntaxType))throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `'.concat(JSON.stringify(["recordAndTuple",e.get("recordAndTuple")]),"`."))}else if("smart"===i&&"hash"===(null==(n=e.get("recordAndTuple"))?void 0:n.syntaxType))throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `'.concat(JSON.stringify(["recordAndTuple",e.get("recordAndTuple")]),"`."))}if(e.has("moduleAttributes")){if(e.has("deprecatedImportAssert")||e.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if("may-2020"!==e.get("moduleAttributes").version)throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(e.has("importAssertions")&&e.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!e.has("deprecatedImportAssert")&&e.has("importAttributes")&&e.get("importAttributes").deprecatedAssertSyntax&&e.set("deprecatedImportAssert",{}),e.has("recordAndTuple")){var u=e.get("recordAndTuple").syntaxType;if(null!=u){var c=["hash","bar"];if(!c.includes(u))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+c.map((function(e){return"'".concat(e,"'")})).join(", "))}}if(e.has("asyncDoExpressions")&&!e.has("doExpressions")){var p=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw p.missingPlugins="doExpressions",p}if(e.has("optionalChainingAssign")&&"2023-07"!==e.get("optionalChainingAssign").version)throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");if(e.has("discardBinding")&&"void"!==e.get("discardBinding").syntaxType)throw new Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.")}(n),r=function(e){var t,r=[],n=l(Ht);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.has(i)&&r.push(i)}}catch(e){n.e(e)}finally{n.f()}var a=r.join("|"),s=nr.get(a);if(!s){s=er;var o,u=l(r);try{for(u.s();!(o=u.n()).done;){var c=o.value;s=Xt[c](s)}}catch(e){u.e(e)}finally{u.f()}nr.set(a,s)}return s}(n)}return new r(e,t,n)}var nr=new Map;t.parse=function(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return rr(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";var n=rr(t,e),i=n.parse();if(n.sawUnambiguousESM)return i;if(n.ambiguousScriptDifferentAst)try{return t.sourceType="script",rr(t,e).parse()}catch(e){}else i.program.sourceType="script";return i}catch(r){try{return t.sourceType="script",rr(t,e).parse()}catch(e){}throw r}},t.parseExpression=function(e,t){var r=rr(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()},t.tokTypes=tr},1725:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clear=function(){n(),i()},t.clearPath=n,t.clearScope=i,t.getCachedPaths=function(e){var t=e.parent;return e.parentPath,r.get(t)},t.getOrCreateCachedPaths=function(e,t){var n=r.get(e);return n||r.set(e,n=new Map),n},t.scope=t.path=void 0;var r=t.path=new WeakMap;function n(){t.path=r=new WeakMap}function i(){t.scope=new WeakMap}t.scope=new WeakMap},2456:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(1251),l=r(7078),u=r(9512),c=l.VISITOR_KEYS,p=function(){return e=function e(t,r,n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.queue=null,this.priorityQueue=null,this.parentPath=i,this.scope=t,this.state=n,this.opts=r},(t=[{key:"shouldVisit",value:function(e){var t=this.opts;if(t.enter||t.exit)return!0;if(t[e.type])return!0;var r=c[e.type];if(null==r||!r.length)return!1;var n,a=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}(r);try{for(a.s();!(n=a.n()).done;)if(e[n.value])return!0}catch(e){a.e(e)}finally{a.f()}return!1}},{key:"create",value:function(e,t,r,n){return o.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:n})}},{key:"maybeQueue",value:function(e,t){this.queue&&(t?this.queue.push(e):this.priorityQueue.push(e))}},{key:"visitMultiple",value:function(e,t,r){if(0===e.length)return!1;for(var n=[],i=0;i<e.length;i++){var a=e[i];a&&this.shouldVisit(a)&&n.push(this.create(t,e,i,r))}return this.visitQueue(n)}},{key:"visitSingle",value:function(e,t){return!!this.shouldVisit(e[t])&&this.visitQueue([this.create(e,e,t)])}},{key:"visitQueue",value:function(e){this.queue=e,this.priorityQueue=[];for(var t=new WeakSet,r=!1,n=0;n<e.length;){var i=e[n];if(n++,u.resync.call(i),0!==i.contexts.length&&i.contexts[i.contexts.length-1]===this||u.pushContext.call(i,this),null!==i.key){var a=i.node;if(!t.has(a)){if(a&&t.add(a),i.visit()){r=!0;break}if(this.priorityQueue.length&&(r=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,r))break}}}for(var s=0;s<n;s++)u.popContext.call(e[s]);return this.queue=null,r}},{key:"visit",value:function(e,t){var r=e[t];return!!r&&(Array.isArray(r)?this.visitMultiple(r,e,t):this.visitSingle(e,t))}}])&&a(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();t.default=p},5660:(e,t)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"getCode",value:function(){}},{key:"getScope",value:function(){}},{key:"addHelper",value:function(){throw new Error("Helpers are not supported by the default hub.")}},{key:"buildError",value:function(e,t){return new(arguments.length>2&&void 0!==arguments[2]?arguments[2]:TypeError)(t)}}],t&&n(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();t.default=a},5203:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"NodePath",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return l.default}}),t.visitors=t.default=void 0,r(9512);var n=r(9928);t.visitors=n;var i=r(7078),a=r(1725),s=r(6922),o=r(1251),l=r(2300),u=r(5660),c=i.VISITOR_KEYS,p=i.removeProperties,h=i.traverseFast;function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0;if(e){if(!t.noScope&&!r&&"Program"!==e.type&&"File"!==e.type)throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+"Instead of that you tried to traverse a ".concat(e.type," node without ")+"passing scope and parentPath.");if(!a&&o)throw new Error("visitSelf can only be used when providing a NodePath.");c[e.type]&&(n.explode(t),(0,s.traverseNode)(e,t,r,i,a,null,o))}}t.default=d,d.visitors=n,d.verify=n.verify,d.explode=n.explode,d.cheap=function(e,t){h(e,t)},d.node=function(e,t,r,n,i,a){(0,s.traverseNode)(e,t,r,n,i,a)},d.clearNode=function(e,t){p(e,t)},d.removeProperties=function(e,t){return h(e,d.clearNode,t),e},d.hasType=function(e,t,r){return(null==r||!r.includes(e.type))&&(e.type===t||h(e,(function(e){return null!=r&&r.includes(e.type)?h.skip:e.type===t?h.stop:void 0})))},d.cache=a},9250:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.find=function(e){var t=this;do{if(e(t))return t}while(t=t.parentPath);return null},t.findParent=function(e){for(var t=this;t=t.parentPath;)if(e(t))return t;return null},t.getAncestry=function(){var e=this,t=[];do{t.push(e)}while(e=e.parentPath);return t},t.getDeepestCommonAncestorFrom=function(e,t){var r=this;if(!e.length)return this;if(1===e.length)return e[0];var i,a,s=1/0,o=e.map((function(e){var t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==r);return t.length<s&&(s=t.length),t})),l=o[0];e:for(var u=0;u<s;u++){var c,p=l[u],h=n(o);try{for(h.s();!(c=h.n()).done;)if(c.value[u]!==p)break e}catch(e){h.e(e)}finally{h.f()}i=u,a=p}if(a)return t?t(a,i,o):a;throw new Error("Couldn't find intersection")},t.getEarliestCommonAncestorFrom=function(e){return this.getDeepestCommonAncestorFrom(e,(function(e,t,r){var i,s,o=a[e.type],l=n(r);try{for(l.s();!(s=l.n()).done;){var u=s.value[t+1];i?(u.listKey&&i.listKey===u.listKey&&u.key<i.key||o.indexOf(i.parentKey)>o.indexOf(u.parentKey))&&(i=u):i=u}}catch(e){l.e(e)}finally{l.f()}return i}))},t.getFunctionParent=function(){return this.findParent((function(e){return e.isFunction()}))},t.getStatementParent=function(){var e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e},t.inType=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(;e;){if(r.includes(e.node.type))return!0;e=e.parentPath}return!1},t.isAncestor=function(e){return e.isDescendant(this)},t.isDescendant=function(e){return!!this.findParent((function(t){return t===e}))};var a=r(7078).VISITOR_KEYS},2805:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addComment=function(e,t,r){i(this.node,e,t,r)},t.addComments=function(e,t){a(this.node,e,t)},t.shareCommentsWithSiblings=function(){if("string"!=typeof this.key){var e=this.node;if(e){var t=e.trailingComments,r=e.leadingComments;if(t||r){var n=this.getSibling(this.key-1),i=this.getSibling(this.key+1),a=Boolean(n.node),o=Boolean(i.node);a&&(r&&n.addComments("trailing",s(r,n.node.trailingComments)),t&&!o&&n.addComments("trailing",t)),o&&(t&&i.addComments("leading",s(t,i.node.leadingComments)),r&&!a&&i.addComments("leading",r))}}}};var n=r(7078),i=n.addComment,a=n.addComments;function s(e,t){if(null==t||!t.length)return e;var r=new Set(t);return e.filter((function(e){return!r.has(e)}))}},9512:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t._call=p,t._getQueueContexts=function(){for(var e=this,t=this.contexts;!t.length&&(e=e.parentPath);)t=e.contexts;return t},t._resyncKey=m,t._resyncList=v,t._resyncParent=y,t._resyncRemoved=function(){null!=this.key&&this.container&&this.container[this.key]===this.node||l._markRemoved.call(this)},t.call=c,t.isDenylisted=h,t.popContext=function(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)},t.pushContext=function(e){this.contexts.push(e),this.setContext(e)},t.requeue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this;if(!e.removed){var t,r=i(this.contexts);try{for(r.s();!(t=r.n()).done;)t.value.maybeQueue(e)}catch(e){r.e(e)}finally{r.f()}}},t.requeueComputedKeyAndDecorators=function(){var e=this.context,t=this.node;if(!u.isPrivate(t)&&t.computed&&e.maybeQueue(this.get("key")),t.decorators){var r,n=i(this.get("decorators"));try{for(n.s();!(r=n.n()).done;){var a=r.value;e.maybeQueue(a)}}catch(e){n.e(e)}finally{n.f()}}},t.resync=function(){this.removed||(y.call(this),v.call(this),m.call(this))},t.setContext=function(e){return null!=this.skipKeys&&(this.skipKeys={}),this._traverseFlags=0,e&&(this.context=e,this.state=e.state,this.opts=e.opts),f.call(this),this},t.setKey=g,t.setScope=f,t.setup=function(e,t,r,n){this.listKey=r,this.container=t,this.parentPath=e||this.parentPath,g.call(this,n)},t.skip=function(){this.shouldSkip=!0},t.skipKey=function(e){null==this.skipKeys&&(this.skipKeys={}),this.skipKeys[e]=!0},t.stop=function(){this._traverseFlags|=o.SHOULD_SKIP|o.SHOULD_STOP},t.visit=function(){var e,t;if(!this.node)return!1;if(this.isDenylisted())return!1;if(null!=(e=(t=this.opts).shouldSkip)&&e.call(t,this))return!1;var r=this.context;return this.shouldSkip||c.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(d(this,r),this.debug("Recursing into..."),this.shouldStop=(0,s.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),d(this,r),c.call(this,"exit"),this.shouldStop)};var s=r(6922),o=r(1251),l=r(4439),u=r(7078);function c(e){var t,r=this.opts;return this.debug(e),!(!this.node||!p.call(this,r[e]))||!!this.node&&p.call(this,null==(t=r[this.node.type])?void 0:t[e])}function p(e){if(!e)return!1;var t,r=i(e);try{for(r.s();!(t=r.n()).done;){var a=t.value;if(a){var s=this.node;if(!s)return!0;var o=a.call(this.state,this,this.state);if(o&&"object"===n(o)&&"function"==typeof o.then)throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(o)throw new Error("Unexpected return value from visitor method ".concat(a));if(this.node!==s)return!0;if(this._traverseFlags>0)return!0}}}catch(e){r.e(e)}finally{r.f()}return!1}function h(){var e,t=null!=(e=this.opts.denylist)?e:this.opts.blacklist;return null==t?void 0:t.includes(this.node.type)}function d(e,t){e.context!==t&&(e.context=t,e.state=t.state,e.opts=t.opts)}function f(){var e,t;if(null==(e=this.opts)||!e.noScope){var r,n=this.parentPath;for((("key"===this.key||"decorators"===this.listKey)&&n.isMethod()||"discriminant"===this.key&&n.isSwitchStatement())&&(n=n.parentPath);n&&!r;){var i;if(null!=(i=n.opts)&&i.noScope)return;r=n.scope,n=n.parentPath}this.scope=this.getScope(r),null==(t=this.scope)||t.init()}}function y(){this.parentPath&&(this.parent=this.parentPath.node)}function m(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(var e=0;e<this.container.length;e++)if(this.container[e]===this.node)return void g.call(this,e)}else for(var t=0,r=Object.keys(this.container);t<r.length;t++){var n=r[t];if(this.container[n]===this.node)return void g.call(this,n)}this.key=null}}function v(){if(this.parent&&this.inList){var e=this.parent[this.listKey];this.container!==e&&(this.container=e||null)}}function g(e){var t;this.key=e,this.node=this.container[this.key],this.type=null==(t=this.node)?void 0:t.type}t.isBlacklisted=h},2679:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.arrowFunctionToExpression=function(){var e,t=arguments,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.allowInsertArrow,i=void 0===n||n,a=r.allowInsertArrowWithRest,s=void 0===a?i:a,o=r.noNewArrows,l=void 0===o?!(null==(e=t[0])?void 0:e.specCompliant):o;if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");var u,c=this;l||(c=null!=(u=c.ensureFunctionName(!1))?u:c);var p=Y(c,l,i,s),d=p.thisBinding,m=p.fnPath;if(m.ensureBlock(),m.node.type="FunctionExpression",!l){var v=d?null:m.scope.generateUidIdentifier("arrowCheckId");return v&&m.parentPath.scope.push({id:v,init:E([])}),m.get("body").unshiftContainer("body",f(h(this.hub.addHelper("newArrowCheck"),[O(),y(v?v.name:d)]))),m.replaceWith(h(b(m.node,y("bind")),[v?y(v.name):O()])),m.get("callee.object")}return m},t.ensureBlock=function(){var e=this.get("body"),t=e.node;if(Array.isArray(e))throw new Error("Can't convert array path to a block statement");if(!t)throw new Error("Can't convert node without a body");if(e.isBlockStatement())return t;var r,n,i=[],a="body";e.isStatement()?(n="body",r=0,i.push(e.node)):(a+=".body.0",this.isFunction()?(r="argument",i.push(A(e.node))):(r="expression",i.push(f(e.node)))),this.node.body=p(i);var s=this.get(a);return o.setup.call(e,s,n?s.node[n]:s.node,n,r),this.node},t.ensureFunctionName=function(e){if(this.node.id)return this;var t=j(this.node,this.parent);if(null==t)return this;var r=t.name;if(!e&&/[\uD800-\uDFFF]/.test(r))return null;if(r.startsWith("get ")||r.startsWith("set "))return null;r=_(r.replace(/[/ ]/g,"_"));var i=y(r);q(i,t.originalNode);var s,o,l={needsRename:!1,name:r},u=this.scope,c=u.getOwnBinding(r);if(c?"param"===c.kind&&(l.needsRename=!0):(u.parent.hasBinding(r)||u.hasGlobal(r))&&this.traverse(G,l),!l.needsRename)return this.node.id=i,u.getProgramParent().references[i.name]=!0,this;if(u.hasBinding(i.name)&&!u.hasGlobal(i.name))return u.rename(i.name),this.node.id=i,u.getProgramParent().references[i.name]=!0,this;if(!L(this.node))return null;for(var p=u.generateUidIdentifier(i.name),h=[],d=0,f=(void 0,-1===(o=(s=this.node).params.findIndex((function(e){return M(e)||F(e)})))?s.params.length:o);d<f;d++)h.push(u.generateUidIdentifier("x"));var m,v,g=a.default.expression.ast(n||(m=["\n (function (",") {\n function ","(",") {\n return ",".apply(this, arguments);\n }\n\n ",".toString = function () {\n return ",".toString();\n }\n\n return ",";\n })(",")\n "],v||(v=m.slice(0)),n=Object.freeze(Object.defineProperties(m,{raw:{value:Object.freeze(v)}}))),p,i,h,B(p),B(i),B(p),B(i),N(this.node));return this.replaceWith(g)[0].get("arguments.0")},t.splitExportDeclaration=function(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");var e=this.get("declaration");if(this.isExportDefaultDeclaration()){var t=e.isFunctionDeclaration()||e.isClassDeclaration(),r=e.isFunctionExpression()||e.isClassExpression(),n=e.isScope()?e.scope.parent:e.scope,i=e.node.id,a=!1;i?r&&n.hasBinding(i.name)&&(a=!0,i=n.generateUidIdentifier(i.name)):(a=!0,i=n.generateUidIdentifier("default"),(t||r)&&(e.node.id=B(i)));var s=t?e.node:R("var",[U(B(i),e.node)]),o=K(null,[V(B(i),y("default"))]);return this.insertAfter(o),this.replaceWith(s),a&&n.registerDeclaration(this),this}if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");var l=e.getOuterBindingIdentifiers(),u=Object.keys(l).map((function(e){return V(y(e),y(e))})),c=K(null,u);return this.insertAfter(c),this.replaceWith(e.node),this},t.toComputedKey=function(){var e;if(this.isMemberExpression())e=this.node.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");e=this.node.key}return this.node.computed||m(e)&&(e=C(e.name)),e},t.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");Y(this)};var i=r(7078),a=r(6794),s=r(9928),o=r(9512),l=i.arrowFunctionExpression,u=i.assignmentExpression,c=i.binaryExpression,p=i.blockStatement,h=i.callExpression,d=i.conditionalExpression,f=i.expressionStatement,y=i.identifier,m=i.isIdentifier,v=i.jsxIdentifier,g=i.logicalExpression,T=i.LOGICAL_OPERATORS,b=i.memberExpression,S=i.metaProperty,x=i.numericLiteral,E=i.objectExpression,P=i.restElement,A=i.returnStatement,k=i.sequenceExpression,w=i.spreadElement,C=i.stringLiteral,I=i.super,O=i.thisExpression,N=i.toExpression,D=i.unaryExpression,_=i.toBindingIdentifierName,L=i.isFunction,M=i.isAssignmentPattern,F=i.isRestElement,j=i.getFunctionName,B=i.cloneNode,R=i.variableDeclaration,U=i.variableDeclarator,K=i.exportNamedDeclaration,V=i.exportSpecifier,q=i.inherits;t.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};var W=(0,s.environmentVisitor)({CallExpression:function(e,t){var r=t.allSuperCalls;e.get("callee").isSuper()&&r.push(e)}});function Y(e){var t,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=e.findParent((function(e){return e.isArrowFunctionExpression()?(null!=t||(t=e),!1):e.isFunction()||e.isProgram()||e.isClassProperty({static:!1})||e.isClassPrivateProperty({static:!1})})),s=a.isClassMethod({kind:"constructor"});if(a.isClassProperty()||a.isClassPrivateProperty())if(t)a=t;else{if(!n)throw e.buildCodeFrameError("Unable to transform arrow inside class property");e.replaceWith(h(l([],N(e.node)),[])),a=e.get("callee"),e=a.get("body")}var o,p=function(e){var t=[],r=[],n=[],i=[],a=[];return e.traverse(z,{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:a}),{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:a}}(e),f=p.thisPaths,m=p.argumentsPaths,E=p.newTargetPaths,A=p.superProps,_=p.superCalls;if(s&&_.length>0){if(!n)throw _[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!i)throw _[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");var L=[];a.traverse(W,{allSuperCalls:L});var M=function(e){return H(e,"supercall",(function(){var t=e.scope.generateUidIdentifier("args");return l([P(t)],h(I(),[w(y(t.name))]))}))}(a);L.forEach((function(e){var t=y(M);t.loc=e.node.callee.loc,e.get("callee").replaceWith(t)}))}if(m.length>0){var F=H(a,"arguments",(function(){var e=function(){return y("arguments")};return a.scope.path.isProgram()?d(c("===",D("typeof",e()),C("undefined")),a.scope.buildUndefinedNode(),e()):e()}));m.forEach((function(e){var t=y(F);t.loc=e.node.loc,e.replaceWith(t)}))}if(E.length>0){var j=H(a,"newtarget",(function(){return S(y("new"),y("target"))}));E.forEach((function(e){var t=y(j);t.loc=e.node.loc,e.replaceWith(t)}))}if(A.length>0){if(!n)throw A[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");A.reduce((function(e,t){return e.concat(function(e){if(e.parentPath.isAssignmentExpression()&&"="!==e.parentPath.node.operator){var t=e.parentPath,r=t.node.operator.slice(0,-1),n=t.node.right,i=function(e){return T.includes(e)}(r);if(e.node.computed){var a=e.scope.generateDeclaredUidIdentifier("tmp"),s=e.node.object,o=e.node.property;t.get("left").replaceWith(b(s,u("=",a,o),!0)),t.get("right").replaceWith(v(i?"=":r,b(s,y(a.name),!0),n))}else{var l=e.node.object,p=e.node.property;t.get("left").replaceWith(b(l,p)),t.get("right").replaceWith(v(i?"=":r,b(l,y(p.name)),n))}return i?t.replaceWith(g(r,t.node.left,t.node.right)):t.node.operator="=",[t.get("left"),t.get("right").get("left")]}if(e.parentPath.isUpdateExpression()){var h=e.parentPath,d=e.scope.generateDeclaredUidIdentifier("tmp"),f=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null,m=[u("=",d,b(e.node.object,f?u("=",f,e.node.property):e.node.property,e.node.computed)),u("=",b(e.node.object,f?y(f.name):e.node.property,e.node.computed),c(e.parentPath.node.operator[0],y(d.name),x(1)))];return e.parentPath.node.prefix||m.push(y(d.name)),h.replaceWith(k(m)),[h.get("expressions.0.right"),h.get("expressions.1.left")]}return[e];function v(e,t,r){return"="===e?u("=",t,r):c(e,t,r)}}(t))}),[]).forEach((function(e){var t=e.node.computed?"":e.get("property").node.name,r=e.parentPath,n=r.isAssignmentExpression({left:e.node}),i=r.isCallExpression({callee:e.node}),s=r.isTaggedTemplateExpression({tag:e.node}),o=function(e,t,r){return H(e,"superprop_".concat(t?"set":"get",":").concat(r||""),(function(){var n,i=[];if(r)n=b(I(),y(r));else{var a=e.scope.generateUidIdentifier("prop");i.unshift(a),n=b(I(),y(a.name),!0)}if(t){var s=e.scope.generateUidIdentifier("value");i.push(s),n=u("=",n,y(s.name))}return l(i,n)}))}(a,n,t),c=[];if(e.node.computed&&c.push(e.get("property").node),n){var p=r.node.right;c.push(p)}var d=h(y(o),c);i?(r.unshiftContainer("arguments",O()),e.replaceWith(b(d,y("call"))),f.push(r.get("arguments.0"))):n?r.replaceWith(d):s?(e.replaceWith(h(b(d,y("bind"),!1),[O()])),f.push(e.get("arguments.0"))):e.replaceWith(d)}))}return(f.length>0||!r)&&(o=function(e,t){return H(e,"this",(function(r){if(!t||!J(e))return O();e.traverse(X,{supers:new WeakSet,thisBinding:r})}))}(a,s),(r||s&&J(a))&&(f.forEach((function(e){var t=e.isJSX()?v(o):y(o);t.loc=e.node.loc,e.replaceWith(t)})),r||(o=null))),{thisBinding:o,fnPath:e}}function J(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}var X=(0,s.environmentVisitor)({CallExpression:function(e,t){var r=t.supers,n=t.thisBinding;e.get("callee").isSuper()&&(r.has(e.node)||(r.add(e.node),e.replaceWithMultiple([e.node,u("=",y(n),y("this"))])))}});function H(e,t,r){var n="binding:"+t,i=e.getData(n);if(!i){var a=e.scope.generateUidIdentifier(t);i=a.name,e.setData(n,i),e.scope.push({id:a,init:r(i)})}return i}var z=(0,s.environmentVisitor)({ThisExpression:function(e,t){t.thisPaths.push(e)},JSXIdentifier:function(e,t){var r=t.thisPaths;"this"===e.node.name&&(e.parentPath.isJSXMemberExpression({object:e.node})||e.parentPath.isJSXOpeningElement({name:e.node}))&&r.push(e)},CallExpression:function(e,t){var r=t.superCalls;e.get("callee").isSuper()&&r.push(e)},MemberExpression:function(e,t){var r=t.superProps;e.get("object").isSuper()&&r.push(e)},Identifier:function(e,t){var r=t.argumentsPaths;if(e.isReferencedIdentifier({name:"arguments"})){var n=e.scope;do{if(n.hasOwnBinding("arguments"))return void n.rename("arguments");if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break}while(n=n.parent);r.push(e)}},MetaProperty:function(e,t){var r=t.newTargetPaths;e.get("meta").isIdentifier({name:"new"})&&e.get("property").isIdentifier({name:"target"})&&r.push(e)}}),G={"ReferencedIdentifier|BindingIdentifier":function(e,t){e.node.name===t.name&&(t.needsRename=!0,e.stop())},Scope:function(e,t){e.scope.hasOwnBinding(t.name)&&e.skip()}}},2589:(e,t)=>{"use strict";function r(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.evaluate=function(){var e={confident:!0,deoptPath:null,seen:new Map},t=p(this,e);return e.confident||(t=void 0),{confident:e.confident,deopt:e.deoptPath,value:t}},t.evaluateTruthy=function(){var e=this.evaluate();if(e.confident)return!!e.value};var a=["Number","String","Math"],s=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],o=["random"];function l(e){return a.includes(e)}function u(e,t){t.confident&&(t.deoptPath=e,t.confident=!1)}var c=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function p(e,t){var n=e.node,a=t.seen;if(a.has(n)){var d=a.get(n);return d.resolved?d.value:void u(e,t)}var f={resolved:!1};a.set(n,f);var y=function(e,t){if(t.confident){if(e.isSequenceExpression()){var n=e.get("expressions");return p(n[n.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral())return e.node.value;if(e.isNullLiteral())return null;if(e.isTemplateLiteral())return h(e,e.node.quasis,t);if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){var a=e.get("tag.object"),d=a.node.name,f=e.get("tag.property");if(a.isIdentifier()&&"String"===d&&!e.scope.getBinding(d)&&f.isIdentifier()&&"raw"===f.node.name)return h(e,e.node.quasi.quasis,t,!0)}if(e.isConditionalExpression()){var y=p(e.get("test"),t);if(!t.confident)return;return p(y?e.get("consequent"):e.get("alternate"),t)}if(e.isExpressionWrapper())return p(e.get("expression"),t);if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){var m=e.get("property"),v=e.get("object");if(v.isLiteral()){var g=v.node.value,T=i(g),b=null;if(e.node.computed){if(b=p(m,t),!t.confident)return}else m.isIdentifier()&&(b=m.node.name);if(!("number"!==T&&"string"!==T||null==b||"number"!=typeof b&&"string"!=typeof b))return g[b]}}if(e.isReferencedIdentifier()){var S=e.scope.getBinding(e.node.name);if(S){if(S.constantViolations.length>0||e.node.start<S.path.node.end)return void u(S.path,t);var x=S.path.scope;if("var"===S.kind&&x!==S.scope)for(var E=!x.path.parentPath.isBlockStatement(),P=x.parent;P;P=P.parent){var A;if(P===e.scope){if(E)return void u(S.path,t);break}null!=(A=P.path.parentPath)&&A.isBlockStatement()&&(E=!0)}if(S.hasValue)return S.value}var k=e.node.name;if(c.has(k))return S?void u(S.path,t):c.get(k);var w=e.resolve();if(w===e)return void u(e,t);var C=p(w,t);return"object"===i(C)&&null!==C&&S.references>1?void u(w,t):C}if(e.isUnaryExpression({prefix:!0})){if("void"===e.node.operator)return;var I=e.get("argument");if("typeof"===e.node.operator&&(I.isFunction()||I.isClass()))return"function";var O=p(I,t);if(!t.confident)return;switch(e.node.operator){case"!":return!O;case"+":return+O;case"-":return-O;case"~":return~O;case"typeof":return i(O)}}if(e.isArrayExpression()){var N,D=[],_=r(e.get("elements"));try{for(_.s();!(N=_.n()).done;){var L=N.value.evaluate();if(!L.confident)return void u(L.deopt,t);D.push(L.value)}}catch(e){_.e(e)}finally{_.f()}return D}if(e.isObjectExpression()){var M,F={},j=r(e.get("properties"));try{for(j.s();!(M=j.n()).done;){var B=M.value;if(B.isObjectMethod()||B.isSpreadElement())return void u(B,t);var R=B.get("key"),U=void 0;if(B.node.computed){if(!(U=R.evaluate()).confident)return void u(U.deopt,t);U=U.value}else U=R.isIdentifier()?R.node.name:R.node.value;var K=B.get("value").evaluate();if(!K.confident)return void u(K.deopt,t);K=K.value,F[U]=K}}catch(e){j.e(e)}finally{j.f()}return F}if(e.isLogicalExpression()){var V=t.confident,q=p(e.get("left"),t),W=t.confident;t.confident=V;var Y=p(e.get("right"),t),J=t.confident;switch(e.node.operator){case"||":if(t.confident=W&&(!!q||J),!t.confident)return;return q||Y;case"&&":if(t.confident=W&&(!q||J),!t.confident)return;return q&&Y;case"??":if(t.confident=W&&(null!=q||J),!t.confident)return;return null!=q?q:Y}}if(e.isBinaryExpression()){var X=p(e.get("left"),t);if(!t.confident)return;var H=p(e.get("right"),t);if(!t.confident)return;switch(e.node.operator){case"-":return X-H;case"+":return X+H;case"/":return X/H;case"*":return X*H;case"%":return X%H;case"**":return Math.pow(X,H);case"<":return X<H;case">":return X>H;case"<=":return X<=H;case">=":return X>=H;case"==":return X==H;case"!=":return X!=H;case"===":return X===H;case"!==":return X!==H;case"|":return X|H;case"&":return X&H;case"^":return X^H;case"<<":return X<<H;case">>":return X>>H;case">>>":return X>>>H}}if(e.isCallExpression()){var z,G,$=e.get("callee");if($.isIdentifier()&&!e.scope.getBinding($.node.name)&&(l($.node.name)||function(e){return s.includes(e)}($.node.name))&&(G=global[$.node.name]),$.isMemberExpression()){var Q=$.get("object"),Z=$.get("property");if(Q.isIdentifier()&&Z.isIdentifier()&&l(Q.node.name)&&!function(e){return o.includes(e)}(Z.node.name)){z=global[Q.node.name];var ee=Z.node.name;hasOwnProperty.call(z,ee)&&(G=z[ee])}if(Q.isLiteral()&&Z.isIdentifier()){var te=i(Q.node.value);"string"!==te&&"number"!==te||(G=(z=Q.node.value)[Z.node.name])}}if(G){var re=e.get("arguments").map((function(e){return p(e,t)}));if(!t.confident)return;return G.apply(z,re)}}u(e,t)}}(e,t);return t.confident&&(f.resolved=!0,f.value=y),y}function h(e,t,n){var i,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s="",o=0,l=e.isTemplateLiteral()?e.get("expressions"):e.get("quasi.expressions"),u=r(t);try{for(u.s();!(i=u.n()).done;){var c=i.value;if(!n.confident)break;s+=a?c.value.raw:c.value.cooked;var h=l[o++];h&&(s+=String(p(h,n)))}}catch(e){u.e(e)}finally{u.f()}if(n.confident)return s}},1719:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=a(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function i(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t._getKey=S,t._getPattern=x,t.get=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];!0===t&&(t=this.context);var r=e.split(".");return 1===r.length?S.call(this,e,t):x.call(this,r,t)},t.getAllNextSiblings=function(){for(var e=this.key,t=this.getSibling(++e),r=[];t.node;)r.push(t),t=this.getSibling(++e);return r},t.getAllPrevSiblings=function(){for(var e=this.key,t=this.getSibling(--e),r=[];t.node;)r.push(t),t=this.getSibling(--e);return r},t.getAssignmentIdentifiers=function(){return u(this.node)},t.getBindingIdentifierPaths=function(){for(var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[this],n=Object.create(null);r.length;){var a=r.shift();if(a&&a.node){var s=c.keys[a.node.type];if(a.isIdentifier())e?(n[a.node.name]=n[a.node.name]||[]).push(a):n[a.node.name]=a;else if(a.isExportDeclaration()){var o=a.get("declaration");o.isDeclaration()&&r.push(o)}else{if(t){if(a.isFunctionDeclaration()){r.push(a.get("id"));continue}if(a.isFunctionExpression())continue}if(s)for(var l=0;l<s.length;l++){var u=s[l],p=a.get(u);Array.isArray(p)?r.push.apply(r,i(p)):p.node&&r.push(p)}}}}return n},t.getBindingIdentifiers=function(e){return c(this.node,e)},t.getCompletionRecords=function(){return b(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1,shouldPreserveBreak:arguments.length>0&&void 0!==arguments[0]&&arguments[0]}).map((function(e){return e.path}))},t.getNextSibling=function(){return this.getSibling(this.key+1)},t.getOpposite=function(){return"left"===this.key?this.getSibling("right"):"right"===this.key?this.getSibling("left"):null},t.getOuterBindingIdentifierPaths=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.getBindingIdentifierPaths(e,!0)},t.getOuterBindingIdentifiers=function(e){return p(this.node,e)},t.getPrevSibling=function(){return this.getSibling(this.key-1)},t.getSibling=function(e){return o.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)};var o=r(1251),l=r(7078),u=l.getAssignmentIdentifiers,c=l.getBindingIdentifiers,p=l.getOuterBindingIdentifiers,h=l.numericLiteral,d=l.unaryExpression,f=0,y=1;function m(e,t,r){return e&&t.push.apply(t,i(b(e,r))),t}function v(e){e.forEach((function(e){e.type=y}))}function g(e,t){e.forEach((function(e){e.path.isBreakStatement({label:null})&&(t?e.path.replaceWith(d("void",h(0))):e.path.remove())}))}function T(e,t){var r=[];if(t.canHaveBreak)for(var n=[],a=0;a<e.length;a++){var s=e[a],o=Object.assign({},t,{inCaseClause:!1});s.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)?o.shouldPopulateBreak=!0:o.shouldPopulateBreak=!1;var l=b(s,o);if(l.length>0&&l.every((function(e){return e.type===y}))){n.length>0&&l.every((function(e){return e.path.isBreakStatement({label:null})}))?(v(n),r.push.apply(r,i(n)),n.some((function(e){return e.path.isDeclaration()}))&&(r.push.apply(r,i(l)),t.shouldPreserveBreak||g(l,!0)),t.shouldPreserveBreak||g(l,!1)):(r.push.apply(r,i(l)),t.shouldPopulateBreak||t.shouldPreserveBreak||g(l,!0));break}if(a===e.length-1)r.push.apply(r,i(l));else{n=[];for(var u=0;u<l.length;u++){var c=l[u];c.type===y&&r.push(c),c.type===f&&n.push(c)}}}else if(e.length)for(var p=e.length-1;p>=0;p--){var h=b(e[p],t);if(h.length>1||1===h.length&&!h[0].path.isVariableDeclaration()&&!h[0].path.isEmptyStatement()){r.push.apply(r,i(h));break}}return r}function b(e,t){var r=[];if(e.isIfStatement())r=m(e.get("consequent"),r,t),r=m(e.get("alternate"),r,t);else{if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement())return m(e.get("body"),r,t);if(e.isProgram()||e.isBlockStatement())return T(e.get("body"),t);if(e.isFunction())return b(e.get("body"),t);if(e.isTryStatement())r=m(e.get("block"),r,t),r=m(e.get("handler"),r,t);else{if(e.isCatchClause())return m(e.get("body"),r,t);if(e.isSwitchStatement())return function(e,t,r){for(var a=[],s=0;s<e.length;s++){var o,l=[],u=[],c=n(b(e[s],r));try{for(c.s();!(o=c.n()).done;){var p=o.value;p.type===f&&l.push(p),p.type===y&&u.push(p)}}catch(e){c.e(e)}finally{c.f()}l.length&&(a=l),t.push.apply(t,u)}return t.push.apply(t,i(a)),t}(e.get("cases"),r,t);if(e.isSwitchCase())return T(e.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0,shouldPreserveBreak:t.shouldPreserveBreak});e.isBreakStatement()?r.push(function(e){return{type:y,path:e}}(e)):r.push(function(e){return{type:f,path:e}}(e))}}return r}function S(e,t){var r=this,n=this.node,i=n[e];return Array.isArray(i)?i.map((function(a,s){return o.default.get({listKey:e,parentPath:r,parent:n,container:i,key:s}).setContext(t)})):o.default.get({parentPath:this,parent:n,container:n,key:e}).setContext(t)}function x(e,t){var r,i=this,a=n(e);try{for(a.s();!(r=a.n()).done;){var s=r.value;i="."===s?i.parentPath:Array.isArray(i)?i[s]:i.get(s,t)}}catch(e){a.e(e)}finally{a.f()}return i}},1251:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var o=r(7736),l=r(103),u=r(5203),c=r(2300),p=r(7078),h=p,d=r(1725),f=r(1086),y=r(9250),m=r(5795),v=r(9971),g=r(2589),T=r(2679),b=r(3060),S=r(9512),x=S,E=r(4439),P=r(6699),A=r(1719),k=r(2805),w=r(6719),C=p.validate,I=l("babel"),O=(t.REMOVED=1,t.SHOULD_STOP=2,t.SHOULD_SKIP=4,t.default=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this._store=null,this.parent=r,this.hub=t,this.data=null,this.context=null,this.scope=null}return function(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"removed",get:function(){return(1&this._traverseFlags)>0},set:function(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}},{key:"shouldStop",get:function(){return(2&this._traverseFlags)>0},set:function(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}},{key:"shouldSkip",get:function(){return(4&this._traverseFlags)>0},set:function(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}},{key:"getScope",value:function(e){return this.isScope()?new c.default(this):e}},{key:"setData",value:function(e,t){return null==this.data&&(this.data=Object.create(null)),this.data[e]=t}},{key:"getData",value:function(e,t){null==this.data&&(this.data=Object.create(null));var r=this.data[e];return void 0===r&&void 0!==t&&(r=this.data[e]=t),r}},{key:"hasNode",value:function(){return null!=this.node}},{key:"buildCodeFrameError",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:SyntaxError;return this.hub.buildError(this.node,e,t)}},{key:"traverse",value:function(e,t){(0,u.default)(this.node,e,this.scope,t,this)}},{key:"set",value:function(e,t){C(this.node,e,t),this.node[e]=t}},{key:"getPathLocation",value:function(){var e=[],t=this;do{var r=t.key;t.inList&&(r="".concat(t.listKey,"[").concat(r,"]")),e.unshift(r)}while(t=t.parentPath);return e.join(".")}},{key:"debug",value:function(e){I.enabled&&I("".concat(this.getPathLocation()," ").concat(this.type,": ").concat(e))}},{key:"toString",value:function(){return(0,f.default)(this.node).code}},{key:"inList",get:function(){return!!this.listKey},set:function(e){e||(this.listKey=null)}},{key:"parentKey",get:function(){return this.listKey||this.key}}],[{key:"get",value:function(t){var r=t.hub,n=t.parentPath,i=t.parent,a=t.container,s=t.listKey,o=t.key;if(!r&&n&&(r=n.hub),!i)throw new Error("To get a node path the parent needs to exist");var l=a[o],u=d.getOrCreateCachedPaths(i,n),c=u.get(l);return c||(c=new e(r,i),l&&u.set(l,c)),S.setup.call(c,n,a,s,o),c}}])}()),N={findParent:y.findParent,find:y.find,getFunctionParent:y.getFunctionParent,getStatementParent:y.getStatementParent,getEarliestCommonAncestorFrom:y.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:y.getDeepestCommonAncestorFrom,getAncestry:y.getAncestry,isAncestor:y.isAncestor,isDescendant:y.isDescendant,inType:y.inType,getTypeAnnotation:m.getTypeAnnotation,isBaseType:m.isBaseType,couldBeBaseType:m.couldBeBaseType,baseTypeStrictlyMatches:m.baseTypeStrictlyMatches,isGenericType:m.isGenericType,replaceWithMultiple:v.replaceWithMultiple,replaceWithSourceString:v.replaceWithSourceString,replaceWith:v.replaceWith,replaceExpressionWithStatements:v.replaceExpressionWithStatements,replaceInline:v.replaceInline,evaluateTruthy:g.evaluateTruthy,evaluate:g.evaluate,toComputedKey:T.toComputedKey,ensureBlock:T.ensureBlock,unwrapFunctionEnvironment:T.unwrapFunctionEnvironment,arrowFunctionToExpression:T.arrowFunctionToExpression,splitExportDeclaration:T.splitExportDeclaration,ensureFunctionName:T.ensureFunctionName,matchesPattern:b.matchesPattern,isStatic:b.isStatic,isNodeType:b.isNodeType,canHaveVariableDeclarationOrExpression:b.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:b.canSwapBetweenExpressionAndStatement,isCompletionRecord:b.isCompletionRecord,isStatementOrBlock:b.isStatementOrBlock,referencesImport:b.referencesImport,getSource:b.getSource,willIMaybeExecuteBefore:b.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:b._guessExecutionStatusRelativeTo,resolve:b.resolve,isConstantExpression:b.isConstantExpression,isInStrictMode:b.isInStrictMode,isDenylisted:x.isDenylisted,visit:x.visit,skip:x.skip,skipKey:x.skipKey,stop:x.stop,setContext:x.setContext,requeue:x.requeue,requeueComputedKeyAndDecorators:x.requeueComputedKeyAndDecorators,remove:E.remove,insertBefore:P.insertBefore,insertAfter:P.insertAfter,unshiftContainer:P.unshiftContainer,pushContainer:P.pushContainer,getOpposite:A.getOpposite,getCompletionRecords:A.getCompletionRecords,getSibling:A.getSibling,getPrevSibling:A.getPrevSibling,getNextSibling:A.getNextSibling,getAllNextSiblings:A.getAllNextSiblings,getAllPrevSiblings:A.getAllPrevSiblings,get:A.get,getAssignmentIdentifiers:A.getAssignmentIdentifiers,getBindingIdentifiers:A.getBindingIdentifiers,getOuterBindingIdentifiers:A.getOuterBindingIdentifiers,getBindingIdentifierPaths:A.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:A.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:k.shareCommentsWithSiblings,addComment:k.addComment,addComments:k.addComments};Object.assign(O.prototype,N),O.prototype.arrowFunctionToShadowed=T[String("arrowFunctionToShadowed")],Object.assign(O.prototype,{has:b[String("has")],is:b[String("is")],isnt:b[String("isnt")],equals:b[String("equals")],hoist:P[String("hoist")],updateSiblingKeys:P.updateSiblingKeys,call:x.call,isBlacklisted:x[String("isBlacklisted")],setScope:x.setScope,resync:x.resync,popContext:x.popContext,pushContext:x.pushContext,setup:x.setup,setKey:x.setKey}),O.prototype._guessExecutionStatusRelativeToDifferentFunctions=b._guessExecutionStatusRelativeTo,O.prototype._guessExecutionStatusRelativeToDifferentFunctions=b._guessExecutionStatusRelativeTo,Object.assign(O.prototype,{_getTypeAnnotation:m._getTypeAnnotation,_replaceWith:v._replaceWith,_resolve:b._resolve,_call:x._call,_resyncParent:x._resyncParent,_resyncKey:x._resyncKey,_resyncList:x._resyncList,_resyncRemoved:x._resyncRemoved,_getQueueContexts:x._getQueueContexts,_removeFromScope:E._removeFromScope,_callRemovalHooks:E._callRemovalHooks,_remove:E._remove,_markRemoved:E._markRemoved,_assertUnremoved:E._assertUnremoved,_containerInsert:P._containerInsert,_containerInsertBefore:P._containerInsertBefore,_containerInsertAfter:P._containerInsertAfter,_verifyNodeList:P._verifyNodeList,_getKey:A._getKey,_getPattern:A._getPattern});var D,_=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==t.return||t.return()}finally{if(o)throw a}}}}(h.TYPES);try{var L=function(){var e=D.value,t="is".concat(e),r=h[t];O.prototype[t]=function(e){return r(this.node,e)},O.prototype["assert".concat(e)]=function(t){if(!r(this.node,t))throw new TypeError("Expected node path of type ".concat(e))}};for(_.s();!(D=_.n()).done;)L()}catch(e){_.e(e)}finally{_.f()}Object.assign(O.prototype,w);for(var M=0,F=Object.keys(o);M<F.length;M++){var j=F[M];"_"!==j[0]&&(h.TYPES.includes(j)||h.TYPES.push(j))}},5795:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t._getTypeAnnotation=w,t.baseTypeStrictlyMatches=function(e){var t=this.getTypeAnnotation(),r=e.getTypeAnnotation();return!(o(t)||!p(t))&&r.type===t.type},t.couldBeBaseType=function(e){var t=this.getTypeAnnotation();if(o(t))return!0;if(x(t)){var r,i=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}(t.types);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(o(a)||C(e,a,!0))return!0}}catch(e){i.e(e)}finally{i.f()}return!1}return C(e,t,!0)},t.getTypeAnnotation=function(){var e=this.getData("typeAnnotation");return null!=e||(e=w.call(this)||s(),(S(e)||g(e))&&(e=e.typeAnnotation),this.setData("typeAnnotation",e)),e},t.isBaseType=function(e,t){return C(e,this.getTypeAnnotation(),t)},t.isGenericType=function(e){var t=this.getTypeAnnotation();return!("Array"!==e||!(v(t)||l(t)||b(t)))||(h(t)&&d(t.id,{name:e})||T(t)&&d(t.typeName,{name:e}))};var i=r(4299),a=r(7078),s=a.anyTypeAnnotation,o=a.isAnyTypeAnnotation,l=a.isArrayTypeAnnotation,u=a.isBooleanTypeAnnotation,c=a.isEmptyTypeAnnotation,p=a.isFlowBaseAnnotation,h=a.isGenericTypeAnnotation,d=a.isIdentifier,f=a.isMixedTypeAnnotation,y=a.isNumberTypeAnnotation,m=a.isStringTypeAnnotation,v=a.isTSArrayType,g=a.isTSTypeAnnotation,T=a.isTSTypeReference,b=a.isTupleTypeAnnotation,S=a.isTypeAnnotation,x=a.isUnionTypeAnnotation,E=a.isVoidTypeAnnotation,P=a.stringTypeAnnotation,A=a.voidTypeAnnotation,k=new WeakSet;function w(){var e=this.node;if(e){if(e.typeAnnotation)return e.typeAnnotation;if(!k.has(e)){k.add(e);try{var t,r=i[e.type];if(r)return r.call(this,e);if(null!=(t=r=i[this.parentPath.type])&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{k.delete(e)}}}else if("init"===this.key&&this.parentPath.isVariableDeclarator()){var n=this.parentPath.parentPath,a=n.parentPath;return"left"===n.key&&a.isForInStatement()?P():"left"===n.key&&a.isForOfStatement()?s():A()}}function C(e,t,r){if("string"===e)return m(t);if("number"===e)return y(t);if("boolean"===e)return u(t);if("any"===e)return o(t);if("mixed"===e)return f(t);if("empty"===e)return c(t);if("void"===e)return E(t);if(r)return!1;throw new Error("Unknown base type ".concat(e))}},9288:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(this.isReferenced()){var t=this.scope.getBinding(e.name);return t?t.identifier.typeAnnotation?t.identifier.typeAnnotation:function(e,t,r){var i=[],s=[],o=c(e,t,s),l=h(e,t,r);if(l){var u=c(e,l.ifStatement);o=o.filter((function(e){return!u.includes(e)})),i.push(l.typeAnnotation)}if(o.length){var p;(p=o).push.apply(p,s);var d,f=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}(o);try{for(f.s();!(d=f.n()).done;){var y=d.value;i.push(y.getTypeAnnotation())}}catch(e){f.e(e)}finally{f.f()}}if(i.length)return(0,a.createUnionType)(i)}(t,this,e.name):"undefined"===e.name?u():"NaN"===e.name||"Infinity"===e.name?l():void e.name}};var i=r(7078),a=r(4891),s=i.BOOLEAN_NUMBER_BINARY_OPERATORS,o=i.createTypeAnnotationBasedOnTypeof,l=i.numberTypeAnnotation,u=i.voidTypeAnnotation;function c(e,t,r){var n=e.constantViolations.slice();return n.unshift(e.path),n.filter((function(e){var n=(e=e.resolve())._guessExecutionStatusRelativeTo(t);return r&&"unknown"===n&&r.push(e),"before"===n}))}function p(e,t){var r,n,i,a=t.node.operator,u=t.get("right").resolve(),c=t.get("left").resolve();if(c.isIdentifier({name:e})?r=u:u.isIdentifier({name:e})&&(r=c),r)return"==="===a?r.getTypeAnnotation():s.includes(a)?l():void 0;if(("==="===a||"=="===a)&&(c.isUnaryExpression({operator:"typeof"})?(n=c,i=u):u.isUnaryExpression({operator:"typeof"})&&(n=u,i=c),n&&n.get("argument").isIdentifier({name:e})&&(i=i.resolve()).isLiteral())){var p=i.node.value;if("string"==typeof p)return o(p)}}function h(e,t,r){var n=function(e,t,r){for(var n;n=t.parentPath;){if(n.isIfStatement()||n.isConditionalExpression()){if("test"===t.key)return;return n}if(n.isFunction()&&n.parentPath.scope.getBinding(r)!==e)return;t=n}}(e,t,r);if(n){for(var i=[n.get("test")],s=[],o=0;o<i.length;o++){var l=i[o];if(l.isLogicalExpression())"&&"===l.node.operator&&(i.push(l.get("left")),i.push(l.get("right")));else if(l.isBinaryExpression()){var u=p(r,l);u&&s.push(u)}}return s.length?{typeAnnotation:(0,a.createUnionType)(s),ifStatement:n}:h(e,n,r)}}},4299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayExpression=k,t.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},t.BinaryExpression=function(e){var t=e.operator;if(l.includes(t))return g();if(s.includes(t))return d();if("+"===t){var r=this.get("right"),n=this.get("left");return n.isBaseType("number")&&r.isBaseType("number")?g():n.isBaseType("string")||r.isBaseType("string")?T():S([T(),g()])}},t.BooleanLiteral=function(){return d()},t.CallExpression=function(){var e=this.node.callee;return I(e)?h(T()):C(e)||O(e)||E(e,{name:"Array"})?h(p()):N(e)?h(b([T(),p()])):D(this.get("callee"))},t.ConditionalExpression=function(){var e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,a.createUnionType)(e)},t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=function(){return y(m("Function"))},Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return i.default}}),t.LogicalExpression=function(){var e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,a.createUnionType)(e)},t.NewExpression=function(e){if("Identifier"===e.callee.type)return y(e.callee)},t.NullLiteral=function(){return v()},t.NumericLiteral=function(){return g()},t.ObjectExpression=function(){return y(m("Object"))},t.ParenthesizedExpression=function(){return this.get("expression").getTypeAnnotation()},t.RegExpLiteral=function(){return y(m("RegExp"))},t.RestElement=w,t.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},t.StringLiteral=function(){return T()},t.TSAsExpression=A,t.TSNonNullExpression=function(){return this.get("expression").getTypeAnnotation()},t.TaggedTemplateExpression=function(){return D(this.get("tag"))},t.TemplateLiteral=function(){return T()},t.TypeCastExpression=P,t.UnaryExpression=function(e){var t=e.operator;return"void"===t?x():u.includes(t)?g():c.includes(t)?T():o.includes(t)?d():void 0},t.UpdateExpression=function(e){var t=e.operator;if("++"===t||"--"===t)return g()},t.VariableDeclarator=function(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()};var n=r(7078),i=r(9288),a=r(4891),s=n.BOOLEAN_BINARY_OPERATORS,o=n.BOOLEAN_UNARY_OPERATORS,l=n.NUMBER_BINARY_OPERATORS,u=n.NUMBER_UNARY_OPERATORS,c=n.STRING_UNARY_OPERATORS,p=n.anyTypeAnnotation,h=n.arrayTypeAnnotation,d=n.booleanTypeAnnotation,f=n.buildMatchMemberExpression,y=n.genericTypeAnnotation,m=n.identifier,v=n.nullLiteralTypeAnnotation,g=n.numberTypeAnnotation,T=n.stringTypeAnnotation,b=n.tupleTypeAnnotation,S=n.unionTypeAnnotation,x=n.voidTypeAnnotation,E=n.isIdentifier;function P(e){return e.typeAnnotation}function A(e){return e.typeAnnotation}function k(){return y(m("Array"))}function w(){return k()}P.validParent=!0,A.validParent=!0,w.validParent=!0;var C=f("Array.from"),I=f("Object.keys"),O=f("Object.values"),N=f("Object.entries");function D(e){if((e=e.resolve()).isFunction()){var t=e.node;if(t.async)return t.generator?y(m("AsyncIterator")):y(m("Promise"));if(t.generator)return y(m("Iterator"));if(e.node.returnType)return e.node.returnType}}},4891:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUnionType=function(e){return e.every((function(e){return o(e)}))?i?i(e):s(e):e.every((function(e){return l(e)}))&&a?a(e):void 0};var n=r(7078),i=n.createFlowUnionType,a=n.createTSUnionType,s=n.createUnionTypeAnnotation,o=n.isFlowType,l=n.isTSType},3060:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t._guessExecutionStatusRelativeTo=function(e){return T(this,e,new Map)},t._resolve=b,t.canHaveVariableDeclarationOrExpression=function(){return("init"===this.key||"left"===this.key)&&this.parentPath.isFor()},t.canSwapBetweenExpressionAndStatement=function(e){return!("body"!==this.key||!this.parentPath.isArrowFunctionExpression())&&(this.isExpression()?l(e):!!this.isBlockStatement()&&u(e))},t.getSource=function(){var e=this.node;if(e.end){var t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""},t.isCompletionRecord=function(e){var t=this,r=!0;do{var n=t,i=n.type,a=n.container;if(!r&&(t.isFunction()||"StaticBlock"===i))return!!e;if(r=!1,Array.isArray(a)&&t.key!==a.length-1)return!1}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return!0},t.isConstantExpression=function(){if(this.isIdentifier()){var e=this.scope.getBinding(this.node.name);return!!e&&e.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every((function(e){return e.isConstantExpression()})));if(this.isUnaryExpression())return"void"===this.node.operator&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){var t=this.node.operator;return"in"!==t&&"instanceof"!==t&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):!!this.isCallExpression()&&(1===this.node.arguments.length&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral())},t.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find((function(e){if(e.isProgram({sourceType:"module"}))return!0;if(e.isClass())return!0;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement())return!1;var t;if(e.isFunction())t=e.node.body;else{if(!e.isProgram())return!1;t=e.node}var r,i=n(t.directives);try{for(i.s();!(r=i.n()).done;)if("use strict"===r.value.value.value)return!0}catch(e){i.e(e)}finally{i.f()}}))},t.isNodeType=function(e){return d(this.type,e)},t.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!l(this.container)&&s.includes(this.key)},t.isStatic=function(){return this.scope.isStatic(this.node)},t.matchesPattern=function(e,t){return f(this.node,e,t)},t.referencesImport=function(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?h(this.node.property,{value:t}):this.node.property.name===t)){var r=this.get("object");return r.isReferencedIdentifier()&&r.referencesImport(e,"*")}return!1}var n=this.scope.getBinding(this.node.name);if(!n||"module"!==n.kind)return!1;var i=n.path,a=i.parentPath;return!!a.isImportDeclaration()&&(a.node.source.value===e&&(!t||(!(!i.isImportDefaultSpecifier()||"default"!==t)||(!(!i.isImportNamespaceSpecifier()||"*"!==t)||!(!i.isImportSpecifier()||!c(i.node.imported,{name:t}))))))},t.resolve=function(e,t){return b.call(this,e,t)||this},t.willIMaybeExecuteBefore=function(e){return"after"!==this._guessExecutionStatusRelativeTo(e)};var a=r(7078),s=a.STATEMENT_OR_BLOCK_KEYS,o=a.VISITOR_KEYS,l=a.isBlockStatement,u=a.isExpression,c=a.isIdentifier,p=a.isLiteral,h=a.isStringLiteral,d=a.isType,f=a.matchesPattern;function y(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function m(e,t){switch(e){case"LogicalExpression":case"AssignmentPattern":return"right"===t;case"ConditionalExpression":case"IfStatement":return"consequent"===t||"alternate"===t;case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return"body"===t;case"ForStatement":return"body"===t||"update"===t;case"SwitchStatement":return"cases"===t;case"TryStatement":return"handler"===t;case"OptionalMemberExpression":return"property"===t;case"OptionalCallExpression":return"arguments"===t;default:return!1}}function v(e,t){for(var r=0;r<t;r++){var n=e[r];if(m(n.parent.type,n.parentKey))return!0}return!1}t.has=function(e){var t,r=null==(t=this.node)?void 0:t[e];return r&&Array.isArray(r)?!!r.length:!!r},t.is=t.has,t.isnt=function(e){return!this.has(e)},t.equals=function(e,t){return this.node[e]===t};var g=Symbol();function T(e,t,r){var i={this:y(e),target:y(t)};if(i.target.node!==i.this.node)return function(e,t,r){var i,a=r.get(e.node);if(a){if(i=a.get(t.node))return i===g?"unknown":i}else r.set(e.node,a=new Map);a.set(t.node,g);var s=function(e,t,r){if(!t.isFunctionDeclaration())return"before"===T(e,t,r)?"before":"unknown";if(t.parentPath.isExportDeclaration())return"unknown";var i=t.scope.getBinding(t.node.id.name);if(!i.references)return"before";var a,s,o=n(i.referencePaths);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!l.find((function(e){return e.node===t.node}))){if("callee"!==l.key||!l.parentPath.isCallExpression())return"unknown";var u=T(e,l,r);if(a&&a!==u)return"unknown";a=u}}}catch(e){o.e(e)}finally{o.f()}return a}(e,t,r);return a.set(t.node,s),s}(e,i.target,r);var a,s={target:t.getAncestry(),this:e.getAncestry()};if(s.target.includes(e))return"after";if(s.this.includes(t))return"before";for(var l={target:0,this:0};!a&&l.this<s.this.length;){var u=s.this[l.this];l.target=s.target.indexOf(u),l.target>=0?a=u:l.this++}if(!a)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(v(s.this,l.this-1)||v(s.target,l.target-1))return"unknown";var c={this:s.this[l.this-1],target:s.target[l.target-1]};if(c.target.listKey&&c.this.listKey&&c.target.container===c.this.container)return c.target.key>c.this.key?"before":"after";var p=o[a.type],h=p.indexOf(c.this.parentKey);return p.indexOf(c.target.parentKey)>h?"before":"after"}function b(e,t){var r;if(null==(r=t)||!r.includes(this))if((t=t||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){var i=this.scope.getBinding(this.node.name);if(!i)return;if(!i.constant)return;if("module"===i.kind)return;if(i.path!==this){var a=i.path.resolve(e,t);if(this.find((function(e){return e.node===a.node})))return;return a}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);if(e&&this.isMemberExpression()){var s=this.toComputedKey();if(!p(s))return;var o=s.value,l=this.get("object").resolve(e,t);if(l.isObjectExpression()){var u,c=n(l.get("properties"));try{for(c.s();!(u=c.n()).done;){var h=u.value;if(h.isProperty()){var d=h.get("key"),f=h.isnt("computed")&&d.isIdentifier({name:o});if(f=f||d.isLiteral({value:o}))return h.get("value").resolve(e,t)}}}catch(e){c.e(e)}finally{c.f()}}else if(l.isArrayExpression()&&!isNaN(+o)){var y=l.get("elements")[o];if(y)return y.resolve(e,t)}}}}},831:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=o(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function o(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(7078),c=u,p=u.react,h=c.cloneNode,d=c.jsxExpressionContainer,f=c.variableDeclaration,y=c.variableDeclarator,m={ReferencedIdentifier:function(e,t){if(!e.isJSXIdentifier()||!p.isCompatTag(e.node.name)||e.parentPath.isJSXMemberExpression()){if("this"===e.node.name){var r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression())break}while(r=r.parent);r&&t.breakOnScopePaths.push(r.path)}var n=e.scope.getBinding(e.node.name);if(n){var i,a=s(n.constantViolations);try{for(a.s();!(i=a.n()).done;)if(i.value.scope!==n.path.scope)return t.mutableBinding=!0,void e.stop()}catch(e){a.e(e)}finally{a.f()}n===t.scope.getBinding(e.node.name)&&(t.bindings[e.node.name]=n)}}}},v=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=r,this.path=t,this.attachAfter=!1},(t=[{key:"isCompatibleScope",value:function(e){for(var t=0,r=Object.keys(this.bindings);t<r.length;t++){var n=r[t],i=this.bindings[n];if(!e.bindingIdentifierEquals(n,i.identifier))return!1}return!0}},{key:"getCompatibleScopes",value:function(){var e=this.path.scope;do{if(!this.isCompatibleScope(e))break;if(this.scopes.push(e),this.breakOnScopePaths.includes(e.path))break}while(e=e.parent)}},{key:"getAttachmentPath",value:function(){var e=this._getAttachmentPath();if(e){var t=e.scope;if(t.path===e&&(t=e.scope.parent),t.path.isProgram()||t.path.isFunction())for(var r=0,n=Object.keys(this.bindings);r<n.length;r++){var i=n[r];if(t.hasOwnBinding(i)){var a=this.bindings[i];if("param"!==a.kind&&"params"!==a.path.parentKey&&this.getAttachmentParentForPath(a.path).key>=e.key){this.attachAfter=!0,e=a.path;var o,l=s(a.constantViolations);try{for(l.s();!(o=l.n()).done;){var u=o.value;this.getAttachmentParentForPath(u).key>e.key&&(e=u)}}catch(e){l.e(e)}finally{l.f()}}}}return e}}},{key:"_getAttachmentPath",value:function(){var e=this.scopes.pop();if(e)if(e.path.isFunction()){if(!this.hasOwnParamBindings(e))return this.getNextScopeAttachmentParent();if(this.scope===e)return;for(var t=e.path.get("body").get("body"),r=0;r<t.length;r++)if(!t[r].node._blockHoist)return t[r]}else if(e.path.isProgram())return this.getNextScopeAttachmentParent()}},{key:"getNextScopeAttachmentParent",value:function(){var e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}},{key:"getAttachmentParentForPath",value:function(e){do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())return e}while(e=e.parentPath)}},{key:"hasOwnParamBindings",value:function(e){for(var t=0,r=Object.keys(this.bindings);t<r.length;t++){var n=r[t];if(e.hasOwnBinding(n)){var i=this.bindings[n];if("param"===i.kind&&i.constant)return!0}}return!1}},{key:"run",value:function(){if(this.path.traverse(m,this),!this.mutableBinding){this.getCompatibleScopes();var e=this.getAttachmentPath();if(e&&e.getFunctionParent()!==this.path.getFunctionParent()){var t=e.scope.generateUidIdentifier("ref"),r=y(t,this.path.node),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e[this.attachAfter?"insertAfter":"insertBefore"]([e.isVariableDeclarator()?r:f("var",[r])]),1)[0],i=this.path.parentPath;return i.isJSXElement()&&this.path.container===i.node.children&&(t=d(t)),this.path.replaceWith(h(t)),n.isVariableDeclarator()?n.get("init"):n.get("declarations.0.init")}}}}])&&i(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();t.default=v},8914:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hooks=void 0,t.hooks=[function(e,t){if("test"===e.key&&(t.isWhile()||t.isSwitchCase())||"declaration"===e.key&&t.isExportDeclaration()||"body"===e.key&&t.isLabeledStatement()||"declarations"===e.listKey&&t.isVariableDeclaration()&&1===t.node.declarations.length||"expression"===e.key&&t.isExpressionStatement())return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&1===t.node.expressions.length)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return"left"===e.key?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&"consequent"===e.key||"body"===e.key&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]},6719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBindingIdentifier=function(){var e=this.node,t=this.parent,r=this.parentPath.parent;return p(e)&&i(e,t,r)},t.isBlockScoped=function(){return a(this.node)},t.isExpression=function(){return this.isIdentifier()?this.isReferencedIdentifier():o(this.node)},t.isFlow=function(){var e=this.node;return!(!l(e)&&(h(e)?"type"!==e.importKind&&"typeof"!==e.importKind:s(e)?"type"!==e.exportKind:!d(e)||"type"!==e.importKind&&"typeof"!==e.importKind))},t.isForAwaitStatement=function(){return P(this.node,{await:!0})},t.isGenerated=function(){return!this.isUser()},t.isPure=function(e){return this.scope.isPure(this.node,e)},t.isReferenced=function(){return g(this.node,this.parent)},t.isReferencedIdentifier=function(e){var t=this.node,r=this.parent;if(!p(t,e)&&!y(r,e)){if(!f(t,e))return!1;if(A(t.name))return!1}return g(t,r,this.parentPath.parent)},t.isReferencedMemberExpression=function(){var e=this.node,t=this.parent;return m(e)&&g(e,t)},t.isRestProperty=function(){var e;return v(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectPattern())},t.isScope=function(){return T(this.node,this.parent)},t.isSpreadProperty=function(){var e;return v(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectExpression())},t.isStatement=function(){var e=this.node,t=this.parent;if(b(e)){if(x(e)){if(c(t,{left:e}))return!1;if(u(t,{init:e}))return!1}return!0}return!1},t.isUser=function(){return this.node&&!!this.node.loc},t.isVar=function(){return S(this.node)};var n=r(7078),i=n.isBinding,a=n.isBlockScoped,s=n.isExportDeclaration,o=n.isExpression,l=n.isFlow,u=n.isForStatement,c=n.isForXStatement,p=n.isIdentifier,h=n.isImportDeclaration,d=n.isImportSpecifier,f=n.isJSXIdentifier,y=n.isJSXMemberExpression,m=n.isMemberExpression,v=n.isRestElement,g=n.isReferenced,T=n.isScope,b=n.isStatement,S=n.isVar,x=n.isVariableDeclaration,E=n.react,P=n.isForOfStatement,A=E.isCompatTag;t.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},t.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},7736:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0,t.ReferencedIdentifier=["Identifier","JSXIdentifier"],t.ReferencedMemberExpression=["MemberExpression"],t.BindingIdentifier=["Identifier"],t.Statement=["Statement"],t.Expression=["Expression"],t.Scope=["Scopable","Pattern"],t.Referenced=null,t.BlockScoped=null,t.Var=["VariableDeclaration"],t.User=null,t.Generated=null,t.Pure=null,t.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],t.RestProperty=["RestElement"],t.SpreadProperty=["RestElement"],t.ExistentialTypeParam=["ExistsTypeAnnotation"],t.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],t.ForAwaitStatement=["ForOfStatement"]},6699:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=s(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw a}}}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t._containerInsert=I,t._containerInsertAfter=N,t._containerInsertBefore=O,t._verifyNodeList=M,t.insertAfter=function(e){if(p._assertUnremoved.call(this),this.isSequenceExpression())return D(this.get("expressions")).insertAfter(e);var t=M.call(this,e),r=this.parentPath,n=this.parent;if(r.isExpressionStatement()||r.isLabeledStatement()||E(n)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertAfter(t.map((function(e){return P(e)?b(e):e})));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&"init"===this.key){var i=this;if(i.node){var s=i.node,o=this.scope;if(o.path.isPattern())return y(s),i.replaceWith(g(f([],s),[])),i.get("callee.body").insertAfter(t),[i];if(_(i))t.unshift(s);else if(x(s)&&w(s.callee))t.unshift(s),t.push(C());else if(function(e,t){if(!S(e)||!A(e.left))return!1;var r=t.getBlockParent();return r.hasOwnBinding(e.left.name)&&r.getOwnBinding(e.left.name).constantViolations.length<=1}(s,o))t.unshift(s),t.push(T(s.left));else if(o.isPure(s,!0))t.push(s);else{r.isMethod({computed:!0,key:s})&&(o=o.parent);var l=o.generateDeclaredUidIdentifier();t.unshift(b(m("=",T(l),s))),t.push(b(T(l)))}}return this.replaceExpressionWithStatements(t)}if(Array.isArray(this.container))return N.call(this,t);if(this.isStatementOrBlock()){var u=this.node,c=u&&(!this.isExpressionStatement()||null!=u.expression);return a(this.replaceWith(v(c?[u]:[])),1)[0].pushContainer("body",t)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.insertBefore=function(e){p._assertUnremoved.call(this);var t=M.call(this,e),r=this.parentPath,n=this.parent;if(r.isExpressionStatement()||r.isLabeledStatement()||E(n)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertBefore(t);if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&"init"===this.key)return this.node&&t.push(this.node),this.replaceExpressionWithStatements(t);if(Array.isArray(this.container))return O.call(this,t);if(this.isStatementOrBlock()){var i=this.node,s=i&&(!this.isExpressionStatement()||null!=i.expression);return a(this.replaceWith(v(s?[i]:[])),1)[0].unshiftContainer("body",t)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.pushContainer=function(e,t){p._assertUnremoved.call(this);var r=M.call(this,t),n=this.node[e];return u.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:n.length}).setContext(this.context).replaceWithMultiple(r)},t.unshiftContainer=function(e,t){p._assertUnremoved.call(this);var r=M.call(this,t),n=this.node[e],i=u.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:0}).setContext(this.context);return O.call(i,r)},t.updateSiblingKeys=L;var l=r(1725),u=r(1251),c=r(9512),p=r(4439),h=r(7078),d=r(831),f=h.arrowFunctionExpression,y=h.assertExpression,m=h.assignmentExpression,v=h.blockStatement,g=h.callExpression,T=h.cloneNode,b=h.expressionStatement,S=h.isAssignmentExpression,x=h.isCallExpression,E=h.isExportNamedDeclaration,P=h.isExpression,A=h.isIdentifier,k=h.isSequenceExpression,w=h.isSuper,C=h.thisExpression;function I(e,t){var r;L.call(this,e,t.length);var n,a=[];(r=this.container).splice.apply(r,[e,0].concat(function(e){if(Array.isArray(e))return o(e)}(n=t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||s(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));for(var l=0;l<t.length;l++){var u,p=e+l,h=this.getSibling(p);a.push(h),null!=(u=this.context)&&u.queue&&c.pushContext.call(h,this.context)}for(var d=c._getQueueContexts.call(this),f=0,y=a;f<y.length;f++){var m=y[f];c.setScope.call(m),m.debug("Inserted.");var v,g=i(d);try{for(g.s();!(v=g.n()).done;)v.value.maybeQueue(m,!0)}catch(e){g.e(e)}finally{g.f()}}return a}function O(e){return I.call(this,this.key,e)}function N(e){return I.call(this,this.key+1,e)}var D=function(e){return e[e.length-1]};function _(e){return k(e.parent)&&(D(e.parent.expressions)!==e.node||_(e.parentPath))}function L(e,t){if(this.parent){var r=(0,l.getCachedPaths)(this);if(r){var n,s=i(r);try{for(s.s();!(n=s.n()).done;){var o=a(n.value,2)[1];"number"==typeof o.key&&o.container===this.container&&o.key>=e&&(o.key+=t)}}catch(e){s.e(e)}finally{s.f()}}}}function M(e){if(!e)return[];Array.isArray(e)||(e=[e]);for(var t=0;t<e.length;t++){var r=e[t],i=void 0;if(r?"object"!==n(r)?i="contains a non-object node":r.type?r instanceof u.default&&(i="has a NodePath when it expected a raw object"):i="without a type":i="has falsy node",i){var a=Array.isArray(r)?"array":n(r);throw new Error("Node list ".concat(i," with the index of ").concat(t," and type of ").concat(a))}}return e}t.hoist=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.scope;return new d.default(this,e).run()}},4439:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t._assertUnremoved=m,t._callRemovalHooks=d,t._markRemoved=y,t._remove=f,t._removeFromScope=h,t.remove=function(){var e;m.call(this),c.resync.call(this),d.call(this)||(null!=(e=this.opts)&&e.noScope||h.call(this),this.shareCommentsWithSiblings(),f.call(this)),y.call(this)};var i=r(8914),a=r(1725),s=r(9971),o=r(1251),l=r(7078),u=r(6699),c=r(9512),p=l.getBindingIdentifiers;function h(){var e=this,t=p(this.node,!1,!1,!0);Object.keys(t).forEach((function(t){return e.scope.removeBinding(t)}))}function d(){if(this.parentPath){var e,t=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}(i.hooks);try{for(t.s();!(e=t.n()).done;)if((0,e.value)(this,this.parentPath))return!0}catch(e){t.e(e)}finally{t.f()}}}function f(){Array.isArray(this.container)?(this.container.splice(this.key,1),u.updateSiblingKeys.call(this,this.key,-1)):s._replaceWith.call(this,null)}function y(){var e;this._traverseFlags|=o.SHOULD_SKIP|o.REMOVED,this.parent&&(null==(e=(0,a.getCachedPaths)(this))||e.delete(this.node)),this.node=null}function m(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}},9971:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t._replaceWith=K,t.replaceExpressionWithStatements=function(e){var t=this;h.resync.call(this);var r=[],i=V(e,r);if(i){var a,o=n(r);try{for(o.s();!(a=o.n()).done;){var l=a.value;this.scope.push({id:l})}}catch(e){o.e(e)}finally{o.f()}return this.replaceWith(i)[0].get("expressions")}var u=this.getFunctionParent(),c=null==u?void 0:u.node.async,p=null==u?void 0:u.node.generator,g=f([],v(e));this.replaceWith(T(g,[]));var S=this.get("callee");S.get("body").scope.hoistVariables((function(e){return t.scope.push({id:e})}));var x,E=n(S.getCompletionRecords());try{for(E.s();!(x=E.n()).done;){var A=x.value;if(A.isExpressionStatement()){var k=A.findParent((function(e){return e.isLoop()}));if(k){var w=k.getData("expressionReplacementReturnUid");w?w=P(w.name):(w=S.scope.generateDeclaredUidIdentifier("ret"),S.get("body").pushContainer("body",j(b(w))),k.setData("expressionReplacementReturnUid",w)),A.get("expression").replaceWith(y("=",b(w),A.node.expression))}else A.replaceWith(j(A.node.expression))}}}catch(e){E.e(e)}finally{E.f()}S.arrowFunctionToExpression();var C=S,I=c&&s.default.hasType(this.get("callee.body").node,"AwaitExpression",d),O=p&&s.default.hasType(this.get("callee.body").node,"YieldExpression",d);return I&&(C.set("async",!0),O||this.replaceWith(m(this.node))),O&&(C.set("generator",!0),this.replaceWith(U(this.node,!0))),C.get("body.body")},t.replaceInline=function(e){if(h.resync.call(this),Array.isArray(e)){if(Array.isArray(this.container)){e=u._verifyNodeList.call(this,e);var t=u._containerInsertAfter.call(this,e);return this.remove(),t}return this.replaceWithMultiple(e)}return this.replaceWith(e)},t.replaceWith=function(e){if(h.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");var t=e instanceof o.default?e.node:e;if(!t)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===t)return[this];if(this.isProgram()&&!_(t))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(t))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"==typeof t)throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");var r="";if(this.isNodeType("Statement")&&O(t)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(t)||this.parentPath.isExportDefaultDeclaration()||(t=x(t),r="expression")),this.isNodeType("Expression")&&L(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);var n=this.node;return n&&(w(t,n),F(n)),K.call(this,t),this.type=t.type,h.setScope.call(this),this.requeue(),[r?this.get(r):this]},t.replaceWithMultiple=function(e){var t;h.resync.call(this);var r=u._verifyNodeList.call(this,e);A(r[0],this.node),k(r[r.length-1],this.node),null==(t=(0,l.getCachedPaths)(this))||t.delete(this.node),this.node=this.container[this.key]=null;var n=this.insertAfter(e);return this.node?this.requeue():this.remove(),n},t.replaceWithSourceString=function(e){var t;h.resync.call(this);try{e="(".concat(e,")"),t=(0,c.parse)(e)}catch(t){var r=t.loc;throw r&&(t.message+=" - make sure this is an expression.\n"+(0,a.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}}),t.code="BABEL_REPLACE_SOURCE_ERROR"),t}var n=t.program.body[0].expression;return s.default.removeProperties(n),this.replaceWith(n)};var a=r(1600),s=r(5203),o=r(1251),l=r(1725),u=r(6699),c=r(3526),p=r(7078),h=r(9512),d=p.FUNCTION_TYPES,f=p.arrowFunctionExpression,y=p.assignmentExpression,m=p.awaitExpression,v=p.blockStatement,g=p.buildUndefinedNode,T=p.callExpression,b=p.cloneNode,S=p.conditionalExpression,x=p.expressionStatement,E=p.getBindingIdentifiers,P=p.identifier,A=p.inheritLeadingComments,k=p.inheritTrailingComments,w=p.inheritsComments,C=p.isBlockStatement,I=p.isEmptyStatement,O=p.isExpression,N=p.isExpressionStatement,D=p.isIfStatement,_=p.isProgram,L=p.isStatement,M=p.isVariableDeclaration,F=p.removeComments,j=p.returnStatement,B=p.sequenceExpression,R=p.validate,U=p.yieldExpression;function K(e){var t;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?R(this.parent,this.key,[e]):R(this.parent,this.key,e),this.debug("Replace with ".concat(null==e?void 0:e.type)),null==(t=(0,l.getCachedPaths)(this))||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e}function V(e,t){var r,i=[],a=!0,s=n(e);try{for(s.s();!(r=s.n()).done;){var o=r.value;if(I(o)||(a=!1),O(o))i.push(o);else if(N(o))i.push(o.expression);else if(M(o)){if("var"!==o.kind)return;var l,u=n(o.declarations);try{for(u.s();!(l=u.n()).done;){for(var c=l.value,p=E(c),h=0,d=Object.keys(p);h<d.length;h++){var f=d[h];t.push(b(p[f]))}c.init&&i.push(y("=",c.id,c.init))}}catch(e){u.e(e)}finally{u.f()}a=!0}else if(D(o)){var m=o.consequent?V([o.consequent],t):g(),v=o.alternate?V([o.alternate],t):g();if(!m||!v)return;i.push(S(o.test,m,v))}else if(C(o)){var T=V(o.body,t);if(!T)return;i.push(T)}else{if(!I(o))return;0===e.indexOf(o)&&(a=!0)}}}catch(e){s.e(e)}finally{s.f()}return a&&i.push(g()),1===i.length?i[0]:B(i)}},6049:(e,t)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){return e=function e(t){var r=t.identifier,n=t.scope,i=t.path,a=t.kind;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=r,this.scope=n,this.path=i,this.kind=a,"var"!==a&&"hoisted"!==a||!function(e){for(var t=!e.isVariableDeclarator()||e.node.init,r=e.parentPath,n=e.key;r;r=(i=r).parentPath,n=i.key,i){var i;if(r.isFunctionParent())return!1;if("left"===n&&r.isForXStatement()||t&&"body"===n&&r.isLoop())return!0}return!1}(i)||this.reassign(i),this.clearValue()},(t=[{key:"deoptValue",value:function(){this.clearValue(),this.hasDeoptedValue=!0}},{key:"setValue",value:function(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}},{key:"clearValue",value:function(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}},{key:"reassign",value:function(e){this.constant=!1,this.constantViolations.includes(e)||this.constantViolations.push(e)}},{key:"reference",value:function(e){this.referencePaths.includes(e)||(this.referenced=!0,this.references++,this.referencePaths.push(e))}},{key:"dereference",value:function(){this.references--,this.referenced=!!this.references}}])&&n(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();t.default=a},2300:(e,t,r)=>{"use strict";function n(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw a}}}}function l(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=r(6200),p=r(5203),h=r(6049),d=r(7078),f=d,y=r(1725),m=r(120),v=r(9961),g=d.assignmentExpression,T=d.callExpression,b=d.cloneNode,S=d.getBindingIdentifiers,x=d.identifier,E=d.isArrayExpression,P=d.isBinary,A=d.isCallExpression,k=d.isClass,w=d.isClassBody,C=d.isClassDeclaration,I=d.isExportAllDeclaration,O=d.isExportDefaultDeclaration,N=d.isExportNamedDeclaration,D=d.isFunctionDeclaration,_=d.isIdentifier,L=d.isImportDeclaration,M=d.isLiteral,F=d.isMemberExpression,j=d.isMethod,B=d.isModuleSpecifier,R=d.isNullLiteral,U=d.isObjectExpression,K=d.isProperty,V=d.isPureish,q=d.isRegExpLiteral,W=d.isSuper,Y=d.isTaggedTemplateExpression,J=d.isTemplateLiteral,X=d.isThisExpression,H=d.isUnaryExpression,z=d.isVariableDeclaration,G=d.expressionStatement,$=d.matchesPattern,Q=d.memberExpression,Z=d.numericLiteral,ee=d.toIdentifier,te=d.variableDeclaration,re=d.variableDeclarator,ne=d.isRecordExpression,ie=d.isTupleExpression,ae=d.isObjectProperty,se=d.isTopicReference,oe=d.isMetaProperty,le=d.isPrivateName,ue=d.isExportDeclaration,ce=d.buildUndefinedNode,pe=d.sequenceExpression;function he(e,t){switch(null==e?void 0:e.type){default:var r;if(L(e)||ue(e))if((I(e)||N(e)||L(e))&&e.source)he(e.source,t);else if((N(e)||L(e))&&null!=(r=e.specifiers)&&r.length){var n,i=o(e.specifiers);try{for(i.s();!(n=i.n()).done;)he(n.value,t)}catch(e){i.e(e)}finally{i.f()}}else(O(e)||N(e))&&e.declaration&&he(e.declaration,t);else B(e)?he(e.local,t):!M(e)||R(e)||q(e)||J(e)||t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":he(e.object,t),he(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":he(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":var a,s=o(e.properties);try{for(s.s();!(a=s.n()).done;)he(a.value,t)}catch(e){s.e(e)}finally{s.f()}break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":he(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":he(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":case"ImportExpression":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),he(e.argument,t);break;case"AwaitExpression":t.push("await"),he(e.argument,t);break;case"AssignmentExpression":he(e.left,t);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":he(e.id,t);break;case"ParenthesizedExpression":he(e.expression,t);break;case"MetaProperty":he(e.meta,t),he(e.property,t);break;case"JSXElement":he(e.openingElement,t);break;case"JSXOpeningElement":he(e.name,t);break;case"JSXFragment":he(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":he(e.namespace,t),he(e.name,t)}}function de(e){e.references=Object.create(null),e.uids=Object.create(null),e.bindings=Object.create(null),e.globals=Object.create(null)}var fe,ye=Symbol.for("should not be considered a local binding"),me={ForStatement:function(e){var t=e.get("init");if(t.isVar()){var r=e.scope;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",t)}},Declaration:function(e){e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration:function(e){e.scope.getBlockParent().registerDeclaration(e)},TSImportEqualsDeclaration:function(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier:function(e,t){f.isTSQualifiedName(e.parent)&&e.parent.right===e.node||e.parentPath.isTSImportEqualsDeclaration()||t.references.push(e)},ForXStatement:function(e,t){var r=e.get("left");if(r.isPattern()||r.isIdentifier())t.constantViolations.push(e);else if(r.isVar()){var n=e.scope;(n.getFunctionParent()||n.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit:function(e){var t=e.node,r=e.scope;if(!I(t)){var n=t.declaration;if(C(n)||D(n)){var i=n.id;if(!i)return;var a=r.getBinding(i.name);null==a||a.reference(e)}else if(z(n)){var s,l=o(n.declarations);try{for(l.s();!(s=l.n()).done;)for(var u=s.value,c=0,p=Object.keys(S(u));c<p.length;c++){var h=p[c],d=r.getBinding(h);null==d||d.reference(e)}}catch(e){l.e(e)}finally{l.f()}}}}},LabeledStatement:function(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression:function(e,t){t.assignments.push(e)},UpdateExpression:function(e,t){t.constantViolations.push(e)},UnaryExpression:function(e,t){"delete"===e.node.operator&&t.constantViolations.push(e)},BlockScoped:function(e){var t=e.scope;if(t.path===e&&(t=t.parent),t.getBlockParent().registerDeclaration(e),e.isClassDeclaration()&&e.node.id){var r=e.node.id.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause:function(e){e.scope.registerBinding("let",e)},Function:function(e){var t,r=o(e.get("params"));try{for(r.s();!(t=r.n()).done;){var n=t.value;e.scope.registerBinding("param",n)}}catch(e){r.e(e)}finally{r.f()}e.isFunctionExpression()&&e.node.id&&!e.node.id[ye]&&e.scope.registerBinding("local",e.get("id"),e)},ClassExpression:function(e){e.node.id&&!e.node.id[ye]&&e.scope.registerBinding("local",e.get("id"),e)},TSTypeAnnotation:function(e){e.skip()}},ve=0,ge=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=void 0,this.bindings=void 0,this.referencesSet=void 0,this.globals=void 0,this.uidsSet=void 0,this.data=void 0,this.crawling=void 0;var r=t.node,n=y.scope.get(r);if((null==n?void 0:n.path)===t)return n;y.scope.set(r,this),this.uid=ve++,this.block=r,this.path=t,this.labels=new Map,this.inited=!1,Object.defineProperties(this,{references:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)},uids:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)}})}return t=e,r=[{key:"parent",get:function(){var e,t,r=this.path;do{var n,i="key"===r.key||"decorators"===r.listKey;r=r.parentPath,i&&r.isMethod()&&(r=r.parentPath),null!=(n=r)&&n.isScope()&&(t=r)}while(r&&!t);return null==(e=t)?void 0:e.scope}},{key:"references",get:function(){throw new Error("Scope#references is not available in Babel 8. Use Scope#referencesSet instead.")}},{key:"uids",get:function(){throw new Error("Scope#uids is not available in Babel 8. Use Scope#uidsSet instead.")}},{key:"generateDeclaredUidIdentifier",value:function(e){var t=this.generateUidIdentifier(e);return this.push({id:t}),b(t)}},{key:"generateUidIdentifier",value:function(e){return x(this.generateUid(e))}},{key:"generateUid",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"temp";t=ee(t).replace(/^_+/,"").replace(/\d+$/g,"");var r=0;do{e="_".concat(t),r>=11?e+=r-1:r>=9?e+=r-9:r>=1&&(e+=r+1),r++}while(this.hasLabel(e)||this.hasBinding(e)||this.hasGlobal(e)||this.hasReference(e));var n=this.getProgramParent();return n.references[e]=!0,n.uids[e]=!0,e}},{key:"generateUidBasedOnNode",value:function(e,t){var r=[];he(e,r);var n=r.join("$");return n=n.replace(/^_/,"")||t||"ref",this.generateUid(n.slice(0,20))}},{key:"generateUidIdentifierBasedOnNode",value:function(e,t){return x(this.generateUidBasedOnNode(e,t))}},{key:"isStatic",value:function(e){if(X(e)||W(e)||se(e))return!0;if(_(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1}},{key:"maybeGenerateMemoised",value:function(e,t){if(this.isStatic(e))return null;var r=this.generateUidIdentifierBasedOnNode(e);return t?r:(this.push({id:r}),b(r))}},{key:"checkBlockScopedCollisions",value:function(e,t,r,n){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.path.hub.buildError(n,'Duplicate declaration "'.concat(r,'"'),TypeError)}},{key:"rename",value:function(e,t){var r=this.getBinding(e);r&&(t||(t=this.generateUidIdentifier(e).name),new c.default(r,e,t).rename(arguments[2]))}},{key:"dump",value:function(){var e="-".repeat(60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var r=0,n=Object.keys(t.bindings);r<n.length;r++){var i=n[r],a=t.bindings[i];console.log(" -",i,{constant:a.constant,references:a.references,violations:a.constantViolations.length,kind:a.kind})}}while(t=t.parent);console.log(e)}},{key:"hasLabel",value:function(e){return!!this.getLabel(e)}},{key:"getLabel",value:function(e){return this.labels.get(e)}},{key:"registerLabel",value:function(e){this.labels.set(e.node.label.name,e)}},{key:"registerDeclaration",value:function(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration()){var t,r=e.get("declarations"),n=e.node.kind,i=o(r);try{for(i.s();!(t=i.n()).done;){var a=t.value;this.registerBinding("using"===n||"await using"===n?"const":n,a)}}catch(e){i.e(e)}finally{i.f()}}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){var s,l="type"===e.node.importKind||"typeof"===e.node.importKind,u=o(e.get("specifiers"));try{for(u.s();!(s=u.n()).done;){var c=s.value,p=l||c.isImportSpecifier()&&("type"===c.node.importKind||"typeof"===c.node.importKind);this.registerBinding(p?"unknown":"module",c)}}catch(e){u.e(e)}finally{u.f()}}else if(e.isExportDeclaration()){var h=e.get("declaration");(h.isClassDeclaration()||h.isFunctionDeclaration()||h.isVariableDeclaration())&&this.registerDeclaration(h)}else this.registerBinding("unknown",e)}},{key:"buildUndefinedNode",value:function(){return ce()}},{key:"registerConstantViolation",value:function(e){for(var t=e.getAssignmentIdentifiers(),r=0,n=Object.keys(t);r<n.length;r++){var i,a=n[r];null==(i=this.getBinding(a))||i.reassign(e)}}},{key:"registerBinding",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){var n,i=o(t.get("declarations"));try{for(i.s();!(n=i.n()).done;){var a=n.value;this.registerBinding(e,a)}}catch(e){i.e(e)}finally{i.f()}}else for(var s=this.getProgramParent(),l=t.getOuterBindingIdentifiers(!0),u=0,c=Object.keys(l);u<c.length;u++){var p=c[u];s.references[p]=!0;var d,f=o(l[p]);try{for(f.s();!(d=f.n()).done;){var y=d.value,m=this.getOwnBinding(p);if(m){if(m.identifier===y)continue;this.checkBlockScopedCollisions(m,e,p,y)}m?m.reassign(r):this.bindings[p]=new h.default({identifier:y,scope:this,path:r,kind:e})}}catch(e){f.e(e)}finally{f.f()}}}},{key:"addGlobal",value:function(e){this.globals[e.name]=e}},{key:"hasUid",value:function(e){var t=this;do{if(t.uids[e])return!0}while(t=t.parent);return!1}},{key:"hasGlobal",value:function(e){var t=this;do{if(t.globals[e])return!0}while(t=t.parent);return!1}},{key:"hasReference",value:function(e){return!!this.getProgramParent().references[e]}},{key:"isPure",value:function(e,t){if(_(e)){var r=this.getBinding(e.name);return!!r&&(!t||r.constant)}if(X(e)||oe(e)||se(e)||le(e))return!0;var n,i,a;if(k(e))return!(e.superClass&&!this.isPure(e.superClass,t))&&!((null==(n=e.decorators)?void 0:n.length)>0)&&this.isPure(e.body,t);if(w(e)){var s,l=o(e.body);try{for(l.s();!(s=l.n()).done;){var u=s.value;if(!this.isPure(u,t))return!1}}catch(e){l.e(e)}finally{l.f()}return!0}if(P(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(E(e)||ie(e)){var c,p=o(e.elements);try{for(p.s();!(c=p.n()).done;){var h=c.value;if(null!==h&&!this.isPure(h,t))return!1}}catch(e){p.e(e)}finally{p.f()}return!0}if(U(e)||ne(e)){var d,y=o(e.properties);try{for(y.s();!(d=y.n()).done;){var m=d.value;if(!this.isPure(m,t))return!1}}catch(e){y.e(e)}finally{y.f()}return!0}if(j(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(i=e.decorators)?void 0:i.length)>0);if(K(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(a=e.decorators)?void 0:a.length)>0||(ae(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));if(H(e))return this.isPure(e.argument,t);if(J(e)){var v,g=o(e.expressions);try{for(g.s();!(v=g.n()).done;){var T=v.value;if(!this.isPure(T,t))return!1}}catch(e){g.e(e)}finally{g.f()}return!0}return Y(e)?$(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(e.quasi,t):F(e)?!e.computed&&_(e.object)&&"Symbol"===e.object.name&&_(e.property)&&"for"!==e.property.name&&!this.hasBinding("Symbol",{noGlobals:!0}):A(e)?$(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&1===e.arguments.length&&f.isStringLiteral(e.arguments[0]):V(e)}},{key:"setData",value:function(e,t){return this.data[e]=t}},{key:"getData",value:function(e){var t=this;do{var r=t.data[e];if(null!=r)return r}while(t=t.parent)}},{key:"removeData",value:function(e){var t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)}},{key:"init",value:function(){this.inited||(this.inited=!0,this.crawl())}},{key:"crawl",value:function(){var e=this.path;de(this),this.data=Object.create(null);var t=this;do{if(t.crawling)return;if(t.path.isProgram())break}while(t=t.parent);var r=t,n={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,fe||(fe=p.default.visitors.merge([{Scope:function(e){de(e.scope)}},me])),"Program"!==e.type){var i,a=o(fe.enter);try{for(a.s();!(i=a.n()).done;)i.value.call(n,e,n)}catch(e){a.e(e)}finally{a.f()}var s=fe[e.type];if(s){var l,u=o(s.enter);try{for(u.s();!(l=u.n()).done;)l.value.call(n,e,n)}catch(e){u.e(e)}finally{u.f()}}}e.traverse(fe,n),this.crawling=!1;var c,h=o(n.assignments);try{for(h.s();!(c=h.n()).done;){for(var d=c.value,f=d.getAssignmentIdentifiers(),y=0,m=Object.keys(f);y<m.length;y++){var v=m[y];d.scope.getBinding(v)||r.addGlobal(f[v])}d.scope.registerConstantViolation(d)}}catch(e){h.e(e)}finally{h.f()}var g,T=o(n.references);try{for(T.s();!(g=T.n()).done;){var b=g.value,S=b.scope.getBinding(b.node.name);S?S.reference(b):r.addGlobal(b.node)}}catch(e){T.e(e)}finally{T.f()}var x,E=o(n.constantViolations);try{for(E.s();!(x=E.n()).done;){var P=x.value;P.scope.registerConstantViolation(P)}}catch(e){E.e(e)}finally{E.f()}}},{key:"push",value:function(e){var t=this.path;t.isPattern()?t=this.getPatternParent().path:t.isBlockStatement()||t.isProgram()||(t=this.getBlockParent().path),t.isSwitchStatement()&&(t=(this.getFunctionParent()||this.getProgramParent()).path);var r=e.init,n=e.unique,i=e.kind,a=void 0===i?"var":i,s=e.id;if(!r&&!n&&("var"===a||"let"===a)&&t.isFunction()&&!t.node.name&&A(t.parent,{callee:t.node})&&t.parent.arguments.length<=t.node.params.length&&_(s))return t.pushContainer("params",s),void t.scope.registerBinding("param",t.get("params")[t.node.params.length-1]);(t.isLoop()||t.isCatchClause()||t.isFunction())&&(t.ensureBlock(),t=t.get("body"));var o,u,c=null==e._blockHoist?2:e._blockHoist,p="declaration:".concat(a,":").concat(c),h=!n&&t.getData(p);if(!h){var d=te(a,[]);d._blockHoist=c,h=(o=t.unshiftContainer("body",[d]),u=1,function(e){if(Array.isArray(e))return e}(o)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}(o,u)||l(o,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],n||t.setData(p,h)}var f=re(s,r),y=h.node.declarations.push(f);t.scope.registerBinding(a,h.get("declarations")[y-1])}},{key:"getProgramParent",value:function(){var e=this;do{if(e.path.isProgram())return e}while(e=e.parent);throw new Error("Couldn't find a Program")}},{key:"getFunctionParent",value:function(){var e=this;do{if(e.path.isFunctionParent())return e}while(e=e.parent);return null}},{key:"getBlockParent",value:function(){var e=this;do{if(e.path.isBlockParent())return e}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}},{key:"getPatternParent",value:function(){var e=this;do{if(!e.path.isPattern())return e.getBlockParent()}while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}},{key:"getAllBindings",value:function(){var e=Object.create(null),t=this;do{for(var r=0,n=Object.keys(t.bindings);r<n.length;r++){var i=n[r];i in e==0&&(e[i]=t.bindings[i])}t=t.parent}while(t);return e}},{key:"bindingIdentifierEquals",value:function(e,t){return this.getBindingIdentifier(e)===t}},{key:"getBinding",value:function(e){var t,r=this;do{var n,i=r.getOwnBinding(e);if(i){if(null==(n=t)||!n.isPattern()||"param"===i.kind||"local"===i.kind)return i}else if(!i&&"arguments"===e&&r.path.isFunction()&&!r.path.isArrowFunctionExpression())break;t=r.path}while(r=r.parent)}},{key:"getOwnBinding",value:function(e){return this.bindings[e]}},{key:"getBindingIdentifier",value:function(e){var t;return null==(t=this.getBinding(e))?void 0:t.identifier}},{key:"getOwnBindingIdentifier",value:function(e){var t=this.bindings[e];return null==t?void 0:t.identifier}},{key:"hasOwnBinding",value:function(e){return!!this.getOwnBinding(e)}},{key:"hasBinding",value:function(t,r){if(!t)return!1;var n,a,s;"object"===i(r)?(n=r.noGlobals,a=r.noUids,s=r.upToScope):"boolean"==typeof r&&(n=r);var o=this;do{if(s===o)break;if(o.hasOwnBinding(t))return!0}while(o=o.parent);return!(a||!this.hasUid(t))||!(n||!e.globals.includes(t))||!(n||!e.contextVariables.includes(t))}},{key:"parentHasBinding",value:function(e,t){var r;return null==(r=this.parent)?void 0:r.hasBinding(e,t)}},{key:"moveBindingTo",value:function(e,t){var r=this.getBinding(e);r&&(r.scope.removeOwnBinding(e),r.scope=t,t.bindings[e]=r)}},{key:"removeOwnBinding",value:function(e){delete this.bindings[e]}},{key:"removeBinding",value:function(e){var t;null==(t=this.getBinding(e))||t.scope.removeOwnBinding(e);var r=this;do{r.uids[e]&&(r.uids[e]=!1)}while(r=r.parent)}},{key:"hoistVariables",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(t){return e.push({id:t})};this.crawl();for(var r=new Set,n=0,i=Object.keys(this.bindings);n<i.length;n++){var a=i[n],s=this.bindings[a];if(s){var l=s.path;if(l.isVariableDeclarator()){var u=l.parent,c=l.parentPath;if("var"===u.kind&&!r.has(u)){r.add(l.parent);var p,h=void 0,d=[],f=o(u.declarations);try{for(f.s();!(p=f.n()).done;){var y=p.value;null!=h||(h=y.id),y.init&&d.push(g("=",y.id,y.init));for(var m=Object.keys(S(y,!1,!0,!0)),v=0,T=m;v<T.length;v++){var b=T[v];t(x(b),null!=y.init)}}}catch(e){f.e(e)}finally{f.f()}if(c.parentPath.isFor({left:u}))c.replaceWith(h);else if(0===d.length)c.remove();else{var E=1===d.length?d[0]:pe(d);c.parentPath.isForStatement({init:u})?c.replaceWith(E):c.replaceWith(G(E))}}}}}}}],r&&a(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r}();t.default=ge,ge.globals=[].concat(n(m),n(v)),ge.contextVariables=["arguments","undefined","Infinity","NaN"],ge.prototype._renameFromMap=function(e,t,r,n){e[t]&&(e[r]=n,e[t]=null)},ge.prototype.traverse=function(e,t,r){(0,p.default)(e,t,this,r,this.path)},ge.prototype._generateUid=function(e,t){var r=e;return t>1&&(r+=t),"_".concat(r)},ge.prototype.toArray=function(e,t,r){if(_(e)){var n=this.getBinding(e.name);if(null!=n&&n.constant&&n.path.isGenericType("Array"))return e}if(E(e))return e;if(_(e,{name:"arguments"}))return T(Q(Q(Q(x("Array"),x("prototype")),x("slice")),x("call")),[e]);var i,a=[e];return!0===t?i="toConsumableArray":"number"==typeof t?(a.push(Z(t)),i="slicedToArray"):i="toArray",r&&(a.unshift(this.path.hub.addHelper(i)),i="maybeArrayLike"),T(this.path.hub.addHelper(i),a)},ge.prototype.getAllBindingsOfKind=function(){for(var e=Object.create(null),t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(var i=0,a=r;i<a.length;i++){var s=a[i],o=this;do{for(var l=0,u=Object.keys(o.bindings);l<u.length;l++){var c=u[l],p=o.bindings[c];p.kind===s&&(e[c]=p)}o=o.parent}while(o)}return e},Object.defineProperties(ge.prototype,{parentBlock:{configurable:!0,enumerable:!0,get:function(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get:function(){return this.path.hub}}})},6200:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(7078),o=s,l=r(6922),u=r(9928),c=r(9512),p=o.getAssignmentIdentifiers,h={ReferencedIdentifier:function(e,t){var r=e.node;r.name===t.oldName&&(r.name=t.newName)},Scope:function(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():c.requeueComputedKeyAndDecorators.call(e)))},ObjectProperty:function(e,t){var r,n=e.node,i=e.scope,a=n.key.name;!n.shorthand||a!==t.oldName&&a!==t.newName||i.getBindingIdentifier(a)!==t.binding.identifier||(n.shorthand=!1,null!=(r=n.extra)&&r.shorthand&&(n.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator":function(e,t){if(!e.isVariableDeclaration()){var r=e.isAssignmentExpression()?p(e.node):e.getOuterBindingIdentifiers();for(var n in r)n===t.oldName&&(r[n].name=t.newName)}}},d=function(){return e=function e(t,r,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.newName=n,this.oldName=r,this.binding=t},t=[{key:"maybeConvertFromExportDeclaration",value:function(e){var t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){var r=t.node.declaration;if(s.isDeclaration(r)&&!r.id)return}t.isExportAllDeclaration()||t.splitExportDeclaration()}}},{key:"maybeConvertFromClassFunctionDeclaration",value:function(e){return e}},{key:"maybeConvertFromClassFunctionExpression",value:function(e){return e}},{key:"rename",value:function(){var e=this.binding,t=this.oldName,r=this.newName,n=e.scope,i=e.path,a=i.find((function(e){return e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()}));a&&a.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(a);var o=arguments[0]||n.block,c={discriminant:!0};s.isMethod(o)&&(o.computed&&(c.key=!0),s.isObjectMethod(o)||(c.decorators=!0)),(0,l.traverseNode)(o,(0,u.explode)(h),n,this,n.path,c),arguments[0]||(n.removeOwnBinding(t),n.bindings[r]=e,this.binding.identifier.name=r),a&&(this.maybeConvertFromClassFunctionDeclaration(i),this.maybeConvertFromClassFunctionExpression(i))}}],t&&i(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();t.default=d},6922:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.traverseNode=function(e,t,r,a,o,l,u){var c=s[e.type];if(!c)return!1;var p=new i.default(r,t,a,o);if(u)return(null==l||!l[o.parentKey])&&p.visitQueue([o]);var h,d=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}(c);try{for(d.s();!(h=d.n()).done;){var f=h.value;if((null==l||!l[f])&&p.visit(e,f))return!0}}catch(e){d.e(e)}finally{d.f()}return!1};var i=r(2456),a=(r(1251),r(7078)),s=(r(9512),a.VISITOR_KEYS)},9928:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.environmentVisitor=function(e){return b([k,e])},t.explode=v,t.isExplodedVisitor=m,t.merge=b,t.verify=g;var s=r(7736),o=r(6719),l=r(7078),u=r(9512),c=l.DEPRECATED_KEYS,p=l.DEPRECATED_ALIASES,h=l.FLIPPED_ALIAS_KEYS,d=l.TYPES,f=l.__internal__deprecationWarning;function y(e){return e in s}function m(e){return null==e?void 0:e._exploded}function v(e){if(m(e))return e;e._exploded=!0;for(var t=0,r=Object.keys(e);t<r.length;t++){var n=r[t];if(!P(n)){var a=n.split("|");if(1!==a.length){var o=e[n];delete e[n];var l,u=i(a);try{for(u.s();!(l=u.n()).done;)e[l.value]=o}catch(e){u.e(e)}finally{u.f()}}}}g(e),delete e.__esModule,function(e){for(var t=0,r=Object.keys(e);t<r.length;t++){var n=r[t];if(!P(n)){var i=e[n];"function"==typeof i&&(e[n]={enter:i})}}}(e),x(e);for(var d=0,v=Object.keys(e);d<v.length;d++){var T=v[d];if(!P(T)&&y(T)){for(var b=e[T],S=0,k=Object.keys(b);S<k.length;S++){var w=k[S];b[w]=E(T,b[w])}delete e[T];var C=s[T];if(null!==C){var I,O=i(C);try{for(O.s();!(I=O.n()).done;){var N=I.value;e[N]?A(e[N],b):e[N]=b}}catch(e){O.e(e)}finally{O.f()}}else A(e,b)}}for(var D=0,_=Object.keys(e);D<_.length;D++){var L=_[D];if(!P(L)){var M=h[L];if(L in c){var F=c[L];f(L,F,"Visitor "),M=[F]}else if(L in p){var j=p[L];f(L,j,"Visitor "),M=h[j]}if(M){var B=e[L];delete e[L];var R,U=i(M);try{for(U.s();!(R=U.n()).done;){var K=R.value,V=e[K];V?A(V,B):e[K]=Object.assign({},B)}}catch(e){U.e(e)}finally{U.f()}}}}for(var q=0,W=Object.keys(e);q<W.length;q++){var Y=W[q];P(Y)||x(e[Y])}return e}function g(e){if(!e._verified){if("function"==typeof e)throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(var t=0,r=Object.keys(e);t<r.length;t++){var i=r[t];if("enter"!==i&&"exit"!==i||T(i,e[i]),!P(i)){if(!d.includes(i))throw new Error("You gave us a visitor for the node type ".concat(i," but it's not a valid type in @babel/traverse ","7.28.4"));var a=e[i];if("object"===n(a))for(var s=0,o=Object.keys(a);s<o.length;s++){var l=o[s];if("enter"!==l&&"exit"!==l)throw new Error("You passed `traverse()` a visitor object with the property "+"".concat(i," that has the invalid property ").concat(l));T("".concat(i,".").concat(l),a[l])}}}e._verified=!0}}function T(e,t){var r,a=i([].concat(t));try{for(a.s();!(r=a.n()).done;){var s=r.value;if("function"!=typeof s)throw new TypeError("Non-function found defined in ".concat(e," with type ").concat(n(s)))}}catch(e){a.e(e)}finally{a.f()}}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n={_verified:!0,_exploded:!0};Object.defineProperty(n,"_exploded",{enumerable:!1}),Object.defineProperty(n,"_verified",{enumerable:!1});for(var i=0;i<e.length;i++){var a=v(e[i]),s=t[i],o=a;(s||r)&&(o=S(o,s,r)),A(n,o);for(var l=0,u=Object.keys(a);l<u.length;l++){var c=u[l];if(!P(c)){var p=a[c];(s||r)&&(p=S(p,s,r)),A(n[c]||(n[c]={}),p)}}}return n}function S(e,t,r){for(var n={},i=function(){var i=s[a],o=e[i];if(!Array.isArray(o))return 1;o=o.map((function(e){var n=e;return t&&(n=function(r){e.call(t,r,t)}),r&&(n=r(null==t?void 0:t.key,i,n)),n!==e&&(n.toString=function(){return e.toString()}),n})),n[i]=o},a=0,s=["enter","exit"];a<s.length;a++)i();return n}function x(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function E(e,t){var r="is".concat(e),n=o[r],i=function(e){if(n.call(e))return t.apply(this,arguments)};return i.toString=function(){return t.toString()},i}function P(e){return"_"===e[0]||"enter"===e||"exit"===e||"shouldSkip"===e||"denylist"===e||"noScope"===e||"skipKeys"===e||"blacklist"===e}function A(e,t){for(var r=0,n=["enter","exit"];r<n.length;r++){var i=n[r];t[i]&&(e[i]=[].concat(e[i]||[],t[i]))}}var k={FunctionParent:function(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():u.requeueComputedKeyAndDecorators.call(e)))},Property:function(e){e.isObjectProperty()||(e.skip(),e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():u.requeueComputedKeyAndDecorators.call(e))}}},5509:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){var u=new WeakMap,c=new WeakMap,p=r||(0,i.validate)(null);return Object.assign((function(r){for(var o=arguments.length,c=new Array(o>1?o-1:0),h=1;h<o;h++)c[h-1]=arguments[h];if("string"==typeof r){if(c.length>1)throw new Error("Unexpected extra params.");return l((0,a.default)(t,r,(0,i.merge)(p,(0,i.validate)(c[0]))))}if(Array.isArray(r)){var d=u.get(r);return d||(d=(0,s.default)(t,r,p),u.set(r,d)),l(d(c))}if("object"===n(r)&&r){if(c.length>0)throw new Error("Unexpected extra params.");return e(t,(0,i.merge)(p,(0,i.validate)(r)))}throw new Error("Unexpected template param ".concat(n(r)))}),{ast:function(e){for(var r=arguments.length,l=new Array(r>1?r-1:0),u=1;u<r;u++)l[u-1]=arguments[u];if("string"==typeof e){if(l.length>1)throw new Error("Unexpected extra params.");return(0,a.default)(t,e,(0,i.merge)((0,i.merge)(p,(0,i.validate)(l[0])),o))()}if(Array.isArray(e)){var h=c.get(e);return h||(h=(0,s.default)(t,e,(0,i.merge)(p,o)),c.set(e,h)),h(l)()}throw new Error("Unexpected template param ".concat(n(e)))}})};var i=r(2564),a=r(8913),s=r(9413),o=(0,i.validate)({placeholderPattern:!1});function l(e){var t="";try{throw new Error}catch(e){e.stack&&(t=e.stack.split("\n").slice(3).join("\n"))}return function(r){try{return e(r)}catch(e){throw e.stack+="\n =============\n".concat(t),e}}}},7139:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=void 0;var i=r(7078).assertExpressionStatement;function a(e){return{code:function(e){return"/* @babel/template */;\n".concat(e)},validate:function(){},unwrap:function(t){return e(t.program.body.slice(1))}}}t.smart=a((function(e){return e.length>1?e:e[0]})),t.statements=a((function(e){return e})),t.statement=a((function(e){if(0===e.length)throw new Error("Found nothing to return.");if(e.length>1)throw new Error("Found multiple statements but wanted one");return e[0]}));var s=t.expression={code:function(e){return"(\n".concat(e,"\n)")},validate:function(e){if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(0===s.unwrap(e).start)throw new Error("Parse result included parens.")},unwrap:function(e){var t,r,a=(t=e.program.body,r=1,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}(t,r)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return i(a),a.expression}};t.program={code:function(e){return e},validate:function(){},unwrap:function(e){return e.program}}},6794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=t.default=void 0;var n=r(7139),i=r(5509),a=t.smart=(0,i.default)(n.smart),s=t.statement=(0,i.default)(n.statement),o=t.statements=(0,i.default)(n.statements),l=t.expression=(0,i.default)(n.expression),u=t.program=(0,i.default)(n.program);t.default=Object.assign(a.bind(void 0),{smart:a,statement:s,statements:o,expression:l,program:u,ast:a.ast})},9413:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var s=function(e,t,r){var n="BABEL_TPL$",a=t.join("");do{n="$$"+n}while(a.includes(n));var s=function(e,t){for(var r=[],n=e[0],i=1;i<e.length;i++){var a="".concat(t).concat(i-1);r.push(a),n+=a+e[i]}return{names:r,code:n}}(t,n),o=s.names,l=s.code;return{metadata:(0,i.default)(e,e.code(l),{parser:r.parser,placeholderWhitelist:new Set(o.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders}),names:o}}(e,t,r),o=s.metadata,l=s.names;return function(t){var r={};return t.forEach((function(e,t){r[l[t]]=e})),function(t){var i=(0,n.normalizeReplacements)(t);return i&&Object.keys(i).forEach((function(e){if(hasOwnProperty.call(r,e))throw new Error("Unexpected replacement overlap.")})),e.unwrap((0,a.default)(o,i?Object.assign(i,r):r))}}};var n=r(2564),i=r(2441),a=r(9422)},2564:(e,t)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.merge=function(e,t){var r=t.placeholderWhitelist,n=void 0===r?e.placeholderWhitelist:r,i=t.placeholderPattern,a=void 0===i?e.placeholderPattern:i,s=t.preserveComments,o=void 0===s?e.preserveComments:s,l=t.syntacticPlaceholders,u=void 0===l?e.syntacticPlaceholders:l;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:n,placeholderPattern:a,preserveComments:o,syntacticPlaceholders:u}},t.normalizeReplacements=function(e){if(Array.isArray(e))return e.reduce((function(e,t,r){return e["$"+r]=t,e}),{});if("object"===r(e)||null==e)return e||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},t.validate=function(e){if(null!=e&&"object"!==r(e))throw new Error("Unknown template options.");var t=e||{},i=t.placeholderWhitelist,a=t.placeholderPattern,s=t.preserveComments,o=t.syntacticPlaceholders,l=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(t,n);if(null!=i&&!(i instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=a&&!(a instanceof RegExp)&&!1!==a)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=s&&"boolean"!=typeof s)throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=o&&"boolean"!=typeof o)throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===o&&(null!=i||null!=a))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:l,placeholderWhitelist:i||void 0,placeholderPattern:null==a?void 0:a,preserveComments:null==s?void 0:s,syntacticPlaceholders:null==o?void 0:o}};var n=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},2441:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=r.placeholderWhitelist,s=r.placeholderPattern,o=r.preserveComments,l=r.syntacticPlaceholders,u=function(e,t,r){var n=(t.plugins||[]).slice();!1!==r&&n.push("placeholders"),t=Object.assign({allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowYieldOutsideFunction:!0,sourceType:"module"},t,{plugins:n});try{return(0,i.parse)(e,t)}catch(t){var s=t.loc;throw s&&(t.message+="\n"+(0,a.codeFrameColumns)(e,{start:s}),t.code="BABEL_TEMPLATE_PARSE_ERROR"),t}}(t,r.parser,l);y(u,{preserveComments:o}),e.validate(u);var c={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:n,placeholderPattern:s,syntacticPlaceholders:l};return m(u,g,c),Object.assign({ast:u},c.syntactic.placeholders.length?c.syntactic:c.legacy)};var n=r(7078),i=r(3526),a=r(1600),s=n.isCallExpression,o=n.isExpressionStatement,l=n.isFunction,u=n.isIdentifier,c=n.isJSXIdentifier,p=n.isNewExpression,h=n.isPlaceholder,d=n.isStatement,f=n.isStringLiteral,y=n.removePropertiesDeep,m=n.traverse,v=/^[_$A-Z0-9]+$/;function g(e,t,r){var n,i,a=r.syntactic.placeholders.length>0;if(h(e)){if(!1===r.syntacticPlaceholders)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");i=e.name.name,a=!0}else{if(a||r.syntacticPlaceholders)return;if(u(e)||c(e))i=e.name;else{if(!f(e))return;i=e.value}}if(a&&(null!=r.placeholderPattern||null!=r.placeholderWhitelist))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(a||!1!==r.placeholderPattern&&(r.placeholderPattern||v).test(i)||null!=(n=r.placeholderWhitelist)&&n.has(i)){var y,m=(t=t.slice())[t.length-1],g=m.node,T=m.key;f(e)||h(e,{expectedNode:"StringLiteral"})?y="string":p(g)&&"arguments"===T||s(g)&&"arguments"===T||l(g)&&"params"===T?y="param":o(g)&&!h(e)?(y="statement",t=t.slice(0,-1)):y=d(e)&&h(e)?"statement":"other";var b=a?r.syntactic:r.legacy,S=b.placeholders,x=b.placeholderNames;S.push({name:i,type:y,resolve:function(e){return function(e,t){for(var r=e,n=0;n<t.length-1;n++){var i=t[n],a=i.key,s=i.index;r=void 0===s?r[a]:r[a][s]}var o=t[t.length-1];return{parent:r,key:o.key,index:o.index}}(e,t)},isDuplicate:x.has(i)}),x.add(i)}}},9422:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=o(e.ast);return t&&(e.placeholders.forEach((function(e){if(!hasOwnProperty.call(t,e.name)){var r=e.name;throw new Error('Error: No substitution given for "'.concat(r,"\". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['").concat(r,"'])}\n - { placeholderPattern: /^").concat(r,"$/ }"))}})),Object.keys(t).forEach((function(t){if(!e.placeholderNames.has(t))throw new Error('Unknown substitution "'.concat(t,'" given'))}))),e.placeholders.slice().reverse().forEach((function(e){try{var a;!function(e,t,r){e.isDuplicate&&(Array.isArray(r)?r=r.map((function(e){return o(e)})):"object"===i(r)&&(r=o(r)));var a,y=e.resolve(t),m=y.parent,v=y.key,g=y.index;if("string"===e.type){if("string"==typeof r&&(r=d(r)),!r||!h(r))throw new Error("Expected string substitution")}else if("statement"===e.type)void 0===g?r?Array.isArray(r)?r=s(r):"string"==typeof r?r=u(c(r)):p(r)||(r=u(r)):r=l():r&&!Array.isArray(r)&&("string"==typeof r&&(r=c(r)),p(r)||(r=u(r)));else if("param"===e.type){if("string"==typeof r&&(r=c(r)),void 0===g)throw new Error("Assertion failure.")}else if("string"==typeof r&&(r=c(r)),Array.isArray(r))throw new Error("Cannot replace single expression with an array.");function T(e,t,r){var n=e[t];e[t]=r,"Identifier"!==n.type&&"Placeholder"!==n.type||(n.typeAnnotation&&(r.typeAnnotation=n.typeAnnotation),n.optional&&(r.optional=n.optional),n.decorators&&(r.decorators=n.decorators))}if(void 0===g)f(m,v,r),T(m,v,r);else{var b=m[v].slice();"statement"===e.type||"param"===e.type?null==r?b.splice(g,1):Array.isArray(r)?b.splice.apply(b,[g,1].concat(function(e){if(Array.isArray(e))return n(e)}(a=r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):T(b,g,r):T(b,g,r),f(m,v,b),m[v]=b}}(e,r,null!=(a=t&&t[e.name])?a:null)}catch(t){throw t.message='@babel/template placeholder "'.concat(e.name,'": ').concat(t.message),t}})),r};var a=r(7078),s=a.blockStatement,o=a.cloneNode,l=a.emptyStatement,u=a.expressionStatement,c=a.identifier,p=a.isStatement,h=a.isStringLiteral,d=a.stringLiteral,f=a.validate},8913:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var s;return t=e.code(t),function(o){var l=(0,n.normalizeReplacements)(o);return s||(s=(0,i.default)(e,t,r)),e.unwrap((0,a.default)(s,l))}};var n=r(2564),i=r(2441),a=r(9422)},3166:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(0,n.default)(e)){var t,r=null!=(t=null==e?void 0:e.type)?t:JSON.stringify(e);throw new TypeError('Not a valid node of type "'.concat(r,'"'))}};var n=r(4318)},2912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertAccessor=function(e,t){a("Accessor",e,t)},t.assertAnyTypeAnnotation=function(e,t){a("AnyTypeAnnotation",e,t)},t.assertArgumentPlaceholder=function(e,t){a("ArgumentPlaceholder",e,t)},t.assertArrayExpression=function(e,t){a("ArrayExpression",e,t)},t.assertArrayPattern=function(e,t){a("ArrayPattern",e,t)},t.assertArrayTypeAnnotation=function(e,t){a("ArrayTypeAnnotation",e,t)},t.assertArrowFunctionExpression=function(e,t){a("ArrowFunctionExpression",e,t)},t.assertAssignmentExpression=function(e,t){a("AssignmentExpression",e,t)},t.assertAssignmentPattern=function(e,t){a("AssignmentPattern",e,t)},t.assertAwaitExpression=function(e,t){a("AwaitExpression",e,t)},t.assertBigIntLiteral=function(e,t){a("BigIntLiteral",e,t)},t.assertBinary=function(e,t){a("Binary",e,t)},t.assertBinaryExpression=function(e,t){a("BinaryExpression",e,t)},t.assertBindExpression=function(e,t){a("BindExpression",e,t)},t.assertBlock=function(e,t){a("Block",e,t)},t.assertBlockParent=function(e,t){a("BlockParent",e,t)},t.assertBlockStatement=function(e,t){a("BlockStatement",e,t)},t.assertBooleanLiteral=function(e,t){a("BooleanLiteral",e,t)},t.assertBooleanLiteralTypeAnnotation=function(e,t){a("BooleanLiteralTypeAnnotation",e,t)},t.assertBooleanTypeAnnotation=function(e,t){a("BooleanTypeAnnotation",e,t)},t.assertBreakStatement=function(e,t){a("BreakStatement",e,t)},t.assertCallExpression=function(e,t){a("CallExpression",e,t)},t.assertCatchClause=function(e,t){a("CatchClause",e,t)},t.assertClass=function(e,t){a("Class",e,t)},t.assertClassAccessorProperty=function(e,t){a("ClassAccessorProperty",e,t)},t.assertClassBody=function(e,t){a("ClassBody",e,t)},t.assertClassDeclaration=function(e,t){a("ClassDeclaration",e,t)},t.assertClassExpression=function(e,t){a("ClassExpression",e,t)},t.assertClassImplements=function(e,t){a("ClassImplements",e,t)},t.assertClassMethod=function(e,t){a("ClassMethod",e,t)},t.assertClassPrivateMethod=function(e,t){a("ClassPrivateMethod",e,t)},t.assertClassPrivateProperty=function(e,t){a("ClassPrivateProperty",e,t)},t.assertClassProperty=function(e,t){a("ClassProperty",e,t)},t.assertCompletionStatement=function(e,t){a("CompletionStatement",e,t)},t.assertConditional=function(e,t){a("Conditional",e,t)},t.assertConditionalExpression=function(e,t){a("ConditionalExpression",e,t)},t.assertContinueStatement=function(e,t){a("ContinueStatement",e,t)},t.assertDebuggerStatement=function(e,t){a("DebuggerStatement",e,t)},t.assertDecimalLiteral=function(e,t){a("DecimalLiteral",e,t)},t.assertDeclaration=function(e,t){a("Declaration",e,t)},t.assertDeclareClass=function(e,t){a("DeclareClass",e,t)},t.assertDeclareExportAllDeclaration=function(e,t){a("DeclareExportAllDeclaration",e,t)},t.assertDeclareExportDeclaration=function(e,t){a("DeclareExportDeclaration",e,t)},t.assertDeclareFunction=function(e,t){a("DeclareFunction",e,t)},t.assertDeclareInterface=function(e,t){a("DeclareInterface",e,t)},t.assertDeclareModule=function(e,t){a("DeclareModule",e,t)},t.assertDeclareModuleExports=function(e,t){a("DeclareModuleExports",e,t)},t.assertDeclareOpaqueType=function(e,t){a("DeclareOpaqueType",e,t)},t.assertDeclareTypeAlias=function(e,t){a("DeclareTypeAlias",e,t)},t.assertDeclareVariable=function(e,t){a("DeclareVariable",e,t)},t.assertDeclaredPredicate=function(e,t){a("DeclaredPredicate",e,t)},t.assertDecorator=function(e,t){a("Decorator",e,t)},t.assertDirective=function(e,t){a("Directive",e,t)},t.assertDirectiveLiteral=function(e,t){a("DirectiveLiteral",e,t)},t.assertDoExpression=function(e,t){a("DoExpression",e,t)},t.assertDoWhileStatement=function(e,t){a("DoWhileStatement",e,t)},t.assertEmptyStatement=function(e,t){a("EmptyStatement",e,t)},t.assertEmptyTypeAnnotation=function(e,t){a("EmptyTypeAnnotation",e,t)},t.assertEnumBody=function(e,t){a("EnumBody",e,t)},t.assertEnumBooleanBody=function(e,t){a("EnumBooleanBody",e,t)},t.assertEnumBooleanMember=function(e,t){a("EnumBooleanMember",e,t)},t.assertEnumDeclaration=function(e,t){a("EnumDeclaration",e,t)},t.assertEnumDefaultedMember=function(e,t){a("EnumDefaultedMember",e,t)},t.assertEnumMember=function(e,t){a("EnumMember",e,t)},t.assertEnumNumberBody=function(e,t){a("EnumNumberBody",e,t)},t.assertEnumNumberMember=function(e,t){a("EnumNumberMember",e,t)},t.assertEnumStringBody=function(e,t){a("EnumStringBody",e,t)},t.assertEnumStringMember=function(e,t){a("EnumStringMember",e,t)},t.assertEnumSymbolBody=function(e,t){a("EnumSymbolBody",e,t)},t.assertExistsTypeAnnotation=function(e,t){a("ExistsTypeAnnotation",e,t)},t.assertExportAllDeclaration=function(e,t){a("ExportAllDeclaration",e,t)},t.assertExportDeclaration=function(e,t){a("ExportDeclaration",e,t)},t.assertExportDefaultDeclaration=function(e,t){a("ExportDefaultDeclaration",e,t)},t.assertExportDefaultSpecifier=function(e,t){a("ExportDefaultSpecifier",e,t)},t.assertExportNamedDeclaration=function(e,t){a("ExportNamedDeclaration",e,t)},t.assertExportNamespaceSpecifier=function(e,t){a("ExportNamespaceSpecifier",e,t)},t.assertExportSpecifier=function(e,t){a("ExportSpecifier",e,t)},t.assertExpression=function(e,t){a("Expression",e,t)},t.assertExpressionStatement=function(e,t){a("ExpressionStatement",e,t)},t.assertExpressionWrapper=function(e,t){a("ExpressionWrapper",e,t)},t.assertFile=function(e,t){a("File",e,t)},t.assertFlow=function(e,t){a("Flow",e,t)},t.assertFlowBaseAnnotation=function(e,t){a("FlowBaseAnnotation",e,t)},t.assertFlowDeclaration=function(e,t){a("FlowDeclaration",e,t)},t.assertFlowPredicate=function(e,t){a("FlowPredicate",e,t)},t.assertFlowType=function(e,t){a("FlowType",e,t)},t.assertFor=function(e,t){a("For",e,t)},t.assertForInStatement=function(e,t){a("ForInStatement",e,t)},t.assertForOfStatement=function(e,t){a("ForOfStatement",e,t)},t.assertForStatement=function(e,t){a("ForStatement",e,t)},t.assertForXStatement=function(e,t){a("ForXStatement",e,t)},t.assertFunction=function(e,t){a("Function",e,t)},t.assertFunctionDeclaration=function(e,t){a("FunctionDeclaration",e,t)},t.assertFunctionExpression=function(e,t){a("FunctionExpression",e,t)},t.assertFunctionParameter=function(e,t){a("FunctionParameter",e,t)},t.assertFunctionParent=function(e,t){a("FunctionParent",e,t)},t.assertFunctionTypeAnnotation=function(e,t){a("FunctionTypeAnnotation",e,t)},t.assertFunctionTypeParam=function(e,t){a("FunctionTypeParam",e,t)},t.assertGenericTypeAnnotation=function(e,t){a("GenericTypeAnnotation",e,t)},t.assertIdentifier=function(e,t){a("Identifier",e,t)},t.assertIfStatement=function(e,t){a("IfStatement",e,t)},t.assertImmutable=function(e,t){a("Immutable",e,t)},t.assertImport=function(e,t){a("Import",e,t)},t.assertImportAttribute=function(e,t){a("ImportAttribute",e,t)},t.assertImportDeclaration=function(e,t){a("ImportDeclaration",e,t)},t.assertImportDefaultSpecifier=function(e,t){a("ImportDefaultSpecifier",e,t)},t.assertImportExpression=function(e,t){a("ImportExpression",e,t)},t.assertImportNamespaceSpecifier=function(e,t){a("ImportNamespaceSpecifier",e,t)},t.assertImportOrExportDeclaration=function(e,t){a("ImportOrExportDeclaration",e,t)},t.assertImportSpecifier=function(e,t){a("ImportSpecifier",e,t)},t.assertIndexedAccessType=function(e,t){a("IndexedAccessType",e,t)},t.assertInferredPredicate=function(e,t){a("InferredPredicate",e,t)},t.assertInterfaceDeclaration=function(e,t){a("InterfaceDeclaration",e,t)},t.assertInterfaceExtends=function(e,t){a("InterfaceExtends",e,t)},t.assertInterfaceTypeAnnotation=function(e,t){a("InterfaceTypeAnnotation",e,t)},t.assertInterpreterDirective=function(e,t){a("InterpreterDirective",e,t)},t.assertIntersectionTypeAnnotation=function(e,t){a("IntersectionTypeAnnotation",e,t)},t.assertJSX=function(e,t){a("JSX",e,t)},t.assertJSXAttribute=function(e,t){a("JSXAttribute",e,t)},t.assertJSXClosingElement=function(e,t){a("JSXClosingElement",e,t)},t.assertJSXClosingFragment=function(e,t){a("JSXClosingFragment",e,t)},t.assertJSXElement=function(e,t){a("JSXElement",e,t)},t.assertJSXEmptyExpression=function(e,t){a("JSXEmptyExpression",e,t)},t.assertJSXExpressionContainer=function(e,t){a("JSXExpressionContainer",e,t)},t.assertJSXFragment=function(e,t){a("JSXFragment",e,t)},t.assertJSXIdentifier=function(e,t){a("JSXIdentifier",e,t)},t.assertJSXMemberExpression=function(e,t){a("JSXMemberExpression",e,t)},t.assertJSXNamespacedName=function(e,t){a("JSXNamespacedName",e,t)},t.assertJSXOpeningElement=function(e,t){a("JSXOpeningElement",e,t)},t.assertJSXOpeningFragment=function(e,t){a("JSXOpeningFragment",e,t)},t.assertJSXSpreadAttribute=function(e,t){a("JSXSpreadAttribute",e,t)},t.assertJSXSpreadChild=function(e,t){a("JSXSpreadChild",e,t)},t.assertJSXText=function(e,t){a("JSXText",e,t)},t.assertLVal=function(e,t){a("LVal",e,t)},t.assertLabeledStatement=function(e,t){a("LabeledStatement",e,t)},t.assertLiteral=function(e,t){a("Literal",e,t)},t.assertLogicalExpression=function(e,t){a("LogicalExpression",e,t)},t.assertLoop=function(e,t){a("Loop",e,t)},t.assertMemberExpression=function(e,t){a("MemberExpression",e,t)},t.assertMetaProperty=function(e,t){a("MetaProperty",e,t)},t.assertMethod=function(e,t){a("Method",e,t)},t.assertMiscellaneous=function(e,t){a("Miscellaneous",e,t)},t.assertMixedTypeAnnotation=function(e,t){a("MixedTypeAnnotation",e,t)},t.assertModuleDeclaration=function(e,t){(0,i.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),a("ModuleDeclaration",e,t)},t.assertModuleExpression=function(e,t){a("ModuleExpression",e,t)},t.assertModuleSpecifier=function(e,t){a("ModuleSpecifier",e,t)},t.assertNewExpression=function(e,t){a("NewExpression",e,t)},t.assertNoop=function(e,t){a("Noop",e,t)},t.assertNullLiteral=function(e,t){a("NullLiteral",e,t)},t.assertNullLiteralTypeAnnotation=function(e,t){a("NullLiteralTypeAnnotation",e,t)},t.assertNullableTypeAnnotation=function(e,t){a("NullableTypeAnnotation",e,t)},t.assertNumberLiteral=function(e,t){(0,i.default)("assertNumberLiteral","assertNumericLiteral"),a("NumberLiteral",e,t)},t.assertNumberLiteralTypeAnnotation=function(e,t){a("NumberLiteralTypeAnnotation",e,t)},t.assertNumberTypeAnnotation=function(e,t){a("NumberTypeAnnotation",e,t)},t.assertNumericLiteral=function(e,t){a("NumericLiteral",e,t)},t.assertObjectExpression=function(e,t){a("ObjectExpression",e,t)},t.assertObjectMember=function(e,t){a("ObjectMember",e,t)},t.assertObjectMethod=function(e,t){a("ObjectMethod",e,t)},t.assertObjectPattern=function(e,t){a("ObjectPattern",e,t)},t.assertObjectProperty=function(e,t){a("ObjectProperty",e,t)},t.assertObjectTypeAnnotation=function(e,t){a("ObjectTypeAnnotation",e,t)},t.assertObjectTypeCallProperty=function(e,t){a("ObjectTypeCallProperty",e,t)},t.assertObjectTypeIndexer=function(e,t){a("ObjectTypeIndexer",e,t)},t.assertObjectTypeInternalSlot=function(e,t){a("ObjectTypeInternalSlot",e,t)},t.assertObjectTypeProperty=function(e,t){a("ObjectTypeProperty",e,t)},t.assertObjectTypeSpreadProperty=function(e,t){a("ObjectTypeSpreadProperty",e,t)},t.assertOpaqueType=function(e,t){a("OpaqueType",e,t)},t.assertOptionalCallExpression=function(e,t){a("OptionalCallExpression",e,t)},t.assertOptionalIndexedAccessType=function(e,t){a("OptionalIndexedAccessType",e,t)},t.assertOptionalMemberExpression=function(e,t){a("OptionalMemberExpression",e,t)},t.assertParenthesizedExpression=function(e,t){a("ParenthesizedExpression",e,t)},t.assertPattern=function(e,t){a("Pattern",e,t)},t.assertPatternLike=function(e,t){a("PatternLike",e,t)},t.assertPipelineBareFunction=function(e,t){a("PipelineBareFunction",e,t)},t.assertPipelinePrimaryTopicReference=function(e,t){a("PipelinePrimaryTopicReference",e,t)},t.assertPipelineTopicExpression=function(e,t){a("PipelineTopicExpression",e,t)},t.assertPlaceholder=function(e,t){a("Placeholder",e,t)},t.assertPrivate=function(e,t){a("Private",e,t)},t.assertPrivateName=function(e,t){a("PrivateName",e,t)},t.assertProgram=function(e,t){a("Program",e,t)},t.assertProperty=function(e,t){a("Property",e,t)},t.assertPureish=function(e,t){a("Pureish",e,t)},t.assertQualifiedTypeIdentifier=function(e,t){a("QualifiedTypeIdentifier",e,t)},t.assertRecordExpression=function(e,t){a("RecordExpression",e,t)},t.assertRegExpLiteral=function(e,t){a("RegExpLiteral",e,t)},t.assertRegexLiteral=function(e,t){(0,i.default)("assertRegexLiteral","assertRegExpLiteral"),a("RegexLiteral",e,t)},t.assertRestElement=function(e,t){a("RestElement",e,t)},t.assertRestProperty=function(e,t){(0,i.default)("assertRestProperty","assertRestElement"),a("RestProperty",e,t)},t.assertReturnStatement=function(e,t){a("ReturnStatement",e,t)},t.assertScopable=function(e,t){a("Scopable",e,t)},t.assertSequenceExpression=function(e,t){a("SequenceExpression",e,t)},t.assertSpreadElement=function(e,t){a("SpreadElement",e,t)},t.assertSpreadProperty=function(e,t){(0,i.default)("assertSpreadProperty","assertSpreadElement"),a("SpreadProperty",e,t)},t.assertStandardized=function(e,t){a("Standardized",e,t)},t.assertStatement=function(e,t){a("Statement",e,t)},t.assertStaticBlock=function(e,t){a("StaticBlock",e,t)},t.assertStringLiteral=function(e,t){a("StringLiteral",e,t)},t.assertStringLiteralTypeAnnotation=function(e,t){a("StringLiteralTypeAnnotation",e,t)},t.assertStringTypeAnnotation=function(e,t){a("StringTypeAnnotation",e,t)},t.assertSuper=function(e,t){a("Super",e,t)},t.assertSwitchCase=function(e,t){a("SwitchCase",e,t)},t.assertSwitchStatement=function(e,t){a("SwitchStatement",e,t)},t.assertSymbolTypeAnnotation=function(e,t){a("SymbolTypeAnnotation",e,t)},t.assertTSAnyKeyword=function(e,t){a("TSAnyKeyword",e,t)},t.assertTSArrayType=function(e,t){a("TSArrayType",e,t)},t.assertTSAsExpression=function(e,t){a("TSAsExpression",e,t)},t.assertTSBaseType=function(e,t){a("TSBaseType",e,t)},t.assertTSBigIntKeyword=function(e,t){a("TSBigIntKeyword",e,t)},t.assertTSBooleanKeyword=function(e,t){a("TSBooleanKeyword",e,t)},t.assertTSCallSignatureDeclaration=function(e,t){a("TSCallSignatureDeclaration",e,t)},t.assertTSConditionalType=function(e,t){a("TSConditionalType",e,t)},t.assertTSConstructSignatureDeclaration=function(e,t){a("TSConstructSignatureDeclaration",e,t)},t.assertTSConstructorType=function(e,t){a("TSConstructorType",e,t)},t.assertTSDeclareFunction=function(e,t){a("TSDeclareFunction",e,t)},t.assertTSDeclareMethod=function(e,t){a("TSDeclareMethod",e,t)},t.assertTSEntityName=function(e,t){a("TSEntityName",e,t)},t.assertTSEnumBody=function(e,t){a("TSEnumBody",e,t)},t.assertTSEnumDeclaration=function(e,t){a("TSEnumDeclaration",e,t)},t.assertTSEnumMember=function(e,t){a("TSEnumMember",e,t)},t.assertTSExportAssignment=function(e,t){a("TSExportAssignment",e,t)},t.assertTSExpressionWithTypeArguments=function(e,t){a("TSExpressionWithTypeArguments",e,t)},t.assertTSExternalModuleReference=function(e,t){a("TSExternalModuleReference",e,t)},t.assertTSFunctionType=function(e,t){a("TSFunctionType",e,t)},t.assertTSImportEqualsDeclaration=function(e,t){a("TSImportEqualsDeclaration",e,t)},t.assertTSImportType=function(e,t){a("TSImportType",e,t)},t.assertTSIndexSignature=function(e,t){a("TSIndexSignature",e,t)},t.assertTSIndexedAccessType=function(e,t){a("TSIndexedAccessType",e,t)},t.assertTSInferType=function(e,t){a("TSInferType",e,t)},t.assertTSInstantiationExpression=function(e,t){a("TSInstantiationExpression",e,t)},t.assertTSInterfaceBody=function(e,t){a("TSInterfaceBody",e,t)},t.assertTSInterfaceDeclaration=function(e,t){a("TSInterfaceDeclaration",e,t)},t.assertTSIntersectionType=function(e,t){a("TSIntersectionType",e,t)},t.assertTSIntrinsicKeyword=function(e,t){a("TSIntrinsicKeyword",e,t)},t.assertTSLiteralType=function(e,t){a("TSLiteralType",e,t)},t.assertTSMappedType=function(e,t){a("TSMappedType",e,t)},t.assertTSMethodSignature=function(e,t){a("TSMethodSignature",e,t)},t.assertTSModuleBlock=function(e,t){a("TSModuleBlock",e,t)},t.assertTSModuleDeclaration=function(e,t){a("TSModuleDeclaration",e,t)},t.assertTSNamedTupleMember=function(e,t){a("TSNamedTupleMember",e,t)},t.assertTSNamespaceExportDeclaration=function(e,t){a("TSNamespaceExportDeclaration",e,t)},t.assertTSNeverKeyword=function(e,t){a("TSNeverKeyword",e,t)},t.assertTSNonNullExpression=function(e,t){a("TSNonNullExpression",e,t)},t.assertTSNullKeyword=function(e,t){a("TSNullKeyword",e,t)},t.assertTSNumberKeyword=function(e,t){a("TSNumberKeyword",e,t)},t.assertTSObjectKeyword=function(e,t){a("TSObjectKeyword",e,t)},t.assertTSOptionalType=function(e,t){a("TSOptionalType",e,t)},t.assertTSParameterProperty=function(e,t){a("TSParameterProperty",e,t)},t.assertTSParenthesizedType=function(e,t){a("TSParenthesizedType",e,t)},t.assertTSPropertySignature=function(e,t){a("TSPropertySignature",e,t)},t.assertTSQualifiedName=function(e,t){a("TSQualifiedName",e,t)},t.assertTSRestType=function(e,t){a("TSRestType",e,t)},t.assertTSSatisfiesExpression=function(e,t){a("TSSatisfiesExpression",e,t)},t.assertTSStringKeyword=function(e,t){a("TSStringKeyword",e,t)},t.assertTSSymbolKeyword=function(e,t){a("TSSymbolKeyword",e,t)},t.assertTSTemplateLiteralType=function(e,t){a("TSTemplateLiteralType",e,t)},t.assertTSThisType=function(e,t){a("TSThisType",e,t)},t.assertTSTupleType=function(e,t){a("TSTupleType",e,t)},t.assertTSType=function(e,t){a("TSType",e,t)},t.assertTSTypeAliasDeclaration=function(e,t){a("TSTypeAliasDeclaration",e,t)},t.assertTSTypeAnnotation=function(e,t){a("TSTypeAnnotation",e,t)},t.assertTSTypeAssertion=function(e,t){a("TSTypeAssertion",e,t)},t.assertTSTypeElement=function(e,t){a("TSTypeElement",e,t)},t.assertTSTypeLiteral=function(e,t){a("TSTypeLiteral",e,t)},t.assertTSTypeOperator=function(e,t){a("TSTypeOperator",e,t)},t.assertTSTypeParameter=function(e,t){a("TSTypeParameter",e,t)},t.assertTSTypeParameterDeclaration=function(e,t){a("TSTypeParameterDeclaration",e,t)},t.assertTSTypeParameterInstantiation=function(e,t){a("TSTypeParameterInstantiation",e,t)},t.assertTSTypePredicate=function(e,t){a("TSTypePredicate",e,t)},t.assertTSTypeQuery=function(e,t){a("TSTypeQuery",e,t)},t.assertTSTypeReference=function(e,t){a("TSTypeReference",e,t)},t.assertTSUndefinedKeyword=function(e,t){a("TSUndefinedKeyword",e,t)},t.assertTSUnionType=function(e,t){a("TSUnionType",e,t)},t.assertTSUnknownKeyword=function(e,t){a("TSUnknownKeyword",e,t)},t.assertTSVoidKeyword=function(e,t){a("TSVoidKeyword",e,t)},t.assertTaggedTemplateExpression=function(e,t){a("TaggedTemplateExpression",e,t)},t.assertTemplateElement=function(e,t){a("TemplateElement",e,t)},t.assertTemplateLiteral=function(e,t){a("TemplateLiteral",e,t)},t.assertTerminatorless=function(e,t){a("Terminatorless",e,t)},t.assertThisExpression=function(e,t){a("ThisExpression",e,t)},t.assertThisTypeAnnotation=function(e,t){a("ThisTypeAnnotation",e,t)},t.assertThrowStatement=function(e,t){a("ThrowStatement",e,t)},t.assertTopicReference=function(e,t){a("TopicReference",e,t)},t.assertTryStatement=function(e,t){a("TryStatement",e,t)},t.assertTupleExpression=function(e,t){a("TupleExpression",e,t)},t.assertTupleTypeAnnotation=function(e,t){a("TupleTypeAnnotation",e,t)},t.assertTypeAlias=function(e,t){a("TypeAlias",e,t)},t.assertTypeAnnotation=function(e,t){a("TypeAnnotation",e,t)},t.assertTypeCastExpression=function(e,t){a("TypeCastExpression",e,t)},t.assertTypeParameter=function(e,t){a("TypeParameter",e,t)},t.assertTypeParameterDeclaration=function(e,t){a("TypeParameterDeclaration",e,t)},t.assertTypeParameterInstantiation=function(e,t){a("TypeParameterInstantiation",e,t)},t.assertTypeScript=function(e,t){a("TypeScript",e,t)},t.assertTypeofTypeAnnotation=function(e,t){a("TypeofTypeAnnotation",e,t)},t.assertUnaryExpression=function(e,t){a("UnaryExpression",e,t)},t.assertUnaryLike=function(e,t){a("UnaryLike",e,t)},t.assertUnionTypeAnnotation=function(e,t){a("UnionTypeAnnotation",e,t)},t.assertUpdateExpression=function(e,t){a("UpdateExpression",e,t)},t.assertUserWhitespacable=function(e,t){a("UserWhitespacable",e,t)},t.assertV8IntrinsicIdentifier=function(e,t){a("V8IntrinsicIdentifier",e,t)},t.assertVariableDeclaration=function(e,t){a("VariableDeclaration",e,t)},t.assertVariableDeclarator=function(e,t){a("VariableDeclarator",e,t)},t.assertVariance=function(e,t){a("Variance",e,t)},t.assertVoidPattern=function(e,t){a("VoidPattern",e,t)},t.assertVoidTypeAnnotation=function(e,t){a("VoidTypeAnnotation",e,t)},t.assertWhile=function(e,t){a("While",e,t)},t.assertWhileStatement=function(e,t){a("WhileStatement",e,t)},t.assertWithStatement=function(e,t){a("WithStatement",e,t)},t.assertYieldExpression=function(e,t){a("YieldExpression",e,t)};var n=r(5846),i=r(6028);function a(e,t,r){if(!(0,n.default)(e,t,r))throw new Error('Expected type "'.concat(e,'" with option ').concat(JSON.stringify(r),", ")+'but instead got "'.concat(t.type,'".'))}},1275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,i.default)(e);return 1===t.length?t[0]:(0,n.unionTypeAnnotation)(t)};var n=r(4985),i=r(7823)},1900:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(4985);t.default=function(e){switch(e){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}},4985:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5680);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var i=r(1133);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},5680:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},t.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},t.arrayExpression=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t={type:"ArrayExpression",elements:e},r=o.ArrayExpression;return s(r.elements,t,"elements",e,1),t},t.arrayPattern=function(e){var t={type:"ArrayPattern",elements:e},r=o.ArrayPattern;return s(r.elements,t,"elements",e,1),t},t.arrayTypeAnnotation=function(e){var t={type:"ArrayTypeAnnotation",elementType:e},r=o.ArrayTypeAnnotation;return s(r.elementType,t,"elementType",e,1),t},t.arrowFunctionExpression=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n={type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null},i=o.ArrowFunctionExpression;return s(i.params,n,"params",e,1),s(i.body,n,"body",t,1),s(i.async,n,"async",r),n},t.assignmentExpression=function(e,t,r){var n={type:"AssignmentExpression",operator:e,left:t,right:r},i=o.AssignmentExpression;return s(i.operator,n,"operator",e),s(i.left,n,"left",t,1),s(i.right,n,"right",r,1),n},t.assignmentPattern=function(e,t){var r={type:"AssignmentPattern",left:e,right:t},n=o.AssignmentPattern;return s(n.left,r,"left",e,1),s(n.right,r,"right",t,1),r},t.awaitExpression=function(e){var t={type:"AwaitExpression",argument:e},r=o.AwaitExpression;return s(r.argument,t,"argument",e,1),t},t.bigIntLiteral=function(e){"bigint"==typeof e&&(e=e.toString());var t={type:"BigIntLiteral",value:e},r=o.BigIntLiteral;return s(r.value,t,"value",e),t},t.binaryExpression=function(e,t,r){var n={type:"BinaryExpression",operator:e,left:t,right:r},i=o.BinaryExpression;return s(i.operator,n,"operator",e),s(i.left,n,"left",t,1),s(i.right,n,"right",r,1),n},t.bindExpression=function(e,t){var r={type:"BindExpression",object:e,callee:t},n=o.BindExpression;return s(n.object,r,"object",e,1),s(n.callee,r,"callee",t,1),r},t.blockStatement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r={type:"BlockStatement",body:e,directives:t},n=o.BlockStatement;return s(n.body,r,"body",e,1),s(n.directives,r,"directives",t,1),r},t.booleanLiteral=function(e){var t={type:"BooleanLiteral",value:e},r=o.BooleanLiteral;return s(r.value,t,"value",e),t},t.booleanLiteralTypeAnnotation=function(e){var t={type:"BooleanLiteralTypeAnnotation",value:e},r=o.BooleanLiteralTypeAnnotation;return s(r.value,t,"value",e),t},t.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},t.breakStatement=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t={type:"BreakStatement",label:e},r=o.BreakStatement;return s(r.label,t,"label",e,1),t},t.callExpression=function(e,t){var r={type:"CallExpression",callee:e,arguments:t},n=o.CallExpression;return s(n.callee,r,"callee",e,1),s(n.arguments,r,"arguments",t,1),r},t.catchClause=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r={type:"CatchClause",param:e,body:t},n=o.CatchClause;return s(n.param,r,"param",e,1),s(n.body,r,"body",t,1),r},t.classAccessorProperty=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l={type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:i,static:a},u=o.ClassAccessorProperty;return s(u.key,l,"key",e,1),s(u.value,l,"value",t,1),s(u.typeAnnotation,l,"typeAnnotation",r,1),s(u.decorators,l,"decorators",n,1),s(u.computed,l,"computed",i),s(u.static,l,"static",a),l},t.classBody=function(e){var t={type:"ClassBody",body:e},r=o.ClassBody;return s(r.body,t,"body",e,1),t},t.classDeclaration=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i={type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:n},a=o.ClassDeclaration;return s(a.id,i,"id",e,1),s(a.superClass,i,"superClass",t,1),s(a.body,i,"body",r,1),s(a.decorators,i,"decorators",n,1),i},t.classExpression=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i={type:"ClassExpression",id:e,superClass:t,body:r,decorators:n},a=o.ClassExpression;return s(a.id,i,"id",e,1),s(a.superClass,i,"superClass",t,1),s(a.body,i,"body",r,1),s(a.decorators,i,"decorators",n,1),i},t.classImplements=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"ClassImplements",id:e,typeParameters:t},n=o.ClassImplements;return s(n.id,r,"id",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.classMethod=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"method",t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],u=arguments.length>7&&void 0!==arguments[7]&&arguments[7],c={type:"ClassMethod",kind:e,key:t,params:r,body:n,computed:i,static:a,generator:l,async:u},p=o.ClassMethod;return s(p.kind,c,"kind",e),s(p.key,c,"key",t,1),s(p.params,c,"params",r,1),s(p.body,c,"body",n,1),s(p.computed,c,"computed",i),s(p.static,c,"static",a),s(p.generator,c,"generator",l),s(p.async,c,"async",u),c},t.classPrivateMethod=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"method",t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a={type:"ClassPrivateMethod",kind:e,key:t,params:r,body:n,static:i},l=o.ClassPrivateMethod;return s(l.kind,a,"kind",e),s(l.key,a,"key",t,1),s(l.params,a,"params",r,1),s(l.body,a,"body",n,1),s(l.static,a,"static",i),a},t.classPrivateProperty=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i={type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:n},a=o.ClassPrivateProperty;return s(a.key,i,"key",e,1),s(a.value,i,"value",t,1),s(a.decorators,i,"decorators",r,1),s(a.static,i,"static",n),i},t.classProperty=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l={type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:i,static:a},u=o.ClassProperty;return s(u.key,l,"key",e,1),s(u.value,l,"value",t,1),s(u.typeAnnotation,l,"typeAnnotation",r,1),s(u.decorators,l,"decorators",n,1),s(u.computed,l,"computed",i),s(u.static,l,"static",a),l},t.conditionalExpression=function(e,t,r){var n={type:"ConditionalExpression",test:e,consequent:t,alternate:r},i=o.ConditionalExpression;return s(i.test,n,"test",e,1),s(i.consequent,n,"consequent",t,1),s(i.alternate,n,"alternate",r,1),n},t.continueStatement=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t={type:"ContinueStatement",label:e},r=o.ContinueStatement;return s(r.label,t,"label",e,1),t},t.debuggerStatement=function(){return{type:"DebuggerStatement"}},t.decimalLiteral=function(e){var t={type:"DecimalLiteral",value:e},r=o.DecimalLiteral;return s(r.value,t,"value",e),t},t.declareClass=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0,i={type:"DeclareClass",id:e,typeParameters:t,extends:r,body:n},a=o.DeclareClass;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.extends,i,"extends",r,1),s(a.body,i,"body",n,1),i},t.declareExportAllDeclaration=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"DeclareExportAllDeclaration",source:e,attributes:t},n=o.DeclareExportAllDeclaration;return s(n.source,r,"source",e,1),s(n.attributes,r,"attributes",t,1),r},t.declareExportDeclaration=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i={type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r,attributes:n},a=o.DeclareExportDeclaration;return s(a.declaration,i,"declaration",e,1),s(a.specifiers,i,"specifiers",t,1),s(a.source,i,"source",r,1),s(a.attributes,i,"attributes",n,1),i},t.declareFunction=function(e){var t={type:"DeclareFunction",id:e},r=o.DeclareFunction;return s(r.id,t,"id",e,1),t},t.declareInterface=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0,i={type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:n},a=o.DeclareInterface;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.extends,i,"extends",r,1),s(a.body,i,"body",n,1),i},t.declareModule=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"DeclareModule",id:e,body:t,kind:r},i=o.DeclareModule;return s(i.id,n,"id",e,1),s(i.body,n,"body",t,1),s(i.kind,n,"kind",r),n},t.declareModuleExports=function(e){var t={type:"DeclareModuleExports",typeAnnotation:e},r=o.DeclareModuleExports;return s(r.typeAnnotation,t,"typeAnnotation",e,1),t},t.declareOpaqueType=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r},i=o.DeclareOpaqueType;return s(i.id,n,"id",e,1),s(i.typeParameters,n,"typeParameters",t,1),s(i.supertype,n,"supertype",r,1),n},t.declareTypeAlias=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0,n={type:"DeclareTypeAlias",id:e,typeParameters:t,right:r},i=o.DeclareTypeAlias;return s(i.id,n,"id",e,1),s(i.typeParameters,n,"typeParameters",t,1),s(i.right,n,"right",r,1),n},t.declareVariable=function(e){var t={type:"DeclareVariable",id:e},r=o.DeclareVariable;return s(r.id,t,"id",e,1),t},t.declaredPredicate=function(e){var t={type:"DeclaredPredicate",value:e},r=o.DeclaredPredicate;return s(r.value,t,"value",e,1),t},t.decorator=function(e){var t={type:"Decorator",expression:e},r=o.Decorator;return s(r.expression,t,"expression",e,1),t},t.directive=function(e){var t={type:"Directive",value:e},r=o.Directive;return s(r.value,t,"value",e,1),t},t.directiveLiteral=function(e){var t={type:"DirectiveLiteral",value:e},r=o.DirectiveLiteral;return s(r.value,t,"value",e),t},t.doExpression=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={type:"DoExpression",body:e,async:t},n=o.DoExpression;return s(n.body,r,"body",e,1),s(n.async,r,"async",t),r},t.doWhileStatement=function(e,t){var r={type:"DoWhileStatement",test:e,body:t},n=o.DoWhileStatement;return s(n.test,r,"test",e,1),s(n.body,r,"body",t,1),r},t.emptyStatement=function(){return{type:"EmptyStatement"}},t.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},t.enumBooleanBody=function(e){var t={type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null},r=o.EnumBooleanBody;return s(r.members,t,"members",e,1),t},t.enumBooleanMember=function(e){var t={type:"EnumBooleanMember",id:e,init:null},r=o.EnumBooleanMember;return s(r.id,t,"id",e,1),t},t.enumDeclaration=function(e,t){var r={type:"EnumDeclaration",id:e,body:t},n=o.EnumDeclaration;return s(n.id,r,"id",e,1),s(n.body,r,"body",t,1),r},t.enumDefaultedMember=function(e){var t={type:"EnumDefaultedMember",id:e},r=o.EnumDefaultedMember;return s(r.id,t,"id",e,1),t},t.enumNumberBody=function(e){var t={type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null},r=o.EnumNumberBody;return s(r.members,t,"members",e,1),t},t.enumNumberMember=function(e,t){var r={type:"EnumNumberMember",id:e,init:t},n=o.EnumNumberMember;return s(n.id,r,"id",e,1),s(n.init,r,"init",t,1),r},t.enumStringBody=function(e){var t={type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null},r=o.EnumStringBody;return s(r.members,t,"members",e,1),t},t.enumStringMember=function(e,t){var r={type:"EnumStringMember",id:e,init:t},n=o.EnumStringMember;return s(n.id,r,"id",e,1),s(n.init,r,"init",t,1),r},t.enumSymbolBody=function(e){var t={type:"EnumSymbolBody",members:e,hasUnknownMembers:null},r=o.EnumSymbolBody;return s(r.members,t,"members",e,1),t},t.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},t.exportAllDeclaration=function(e){var t={type:"ExportAllDeclaration",source:e},r=o.ExportAllDeclaration;return s(r.source,t,"source",e,1),t},t.exportDefaultDeclaration=function(e){var t={type:"ExportDefaultDeclaration",declaration:e},r=o.ExportDefaultDeclaration;return s(r.declaration,t,"declaration",e,1),t},t.exportDefaultSpecifier=function(e){var t={type:"ExportDefaultSpecifier",exported:e},r=o.ExportDefaultSpecifier;return s(r.exported,t,"exported",e,1),t},t.exportNamedDeclaration=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r},i=o.ExportNamedDeclaration;return s(i.declaration,n,"declaration",e,1),s(i.specifiers,n,"specifiers",t,1),s(i.source,n,"source",r,1),n},t.exportNamespaceSpecifier=function(e){var t={type:"ExportNamespaceSpecifier",exported:e},r=o.ExportNamespaceSpecifier;return s(r.exported,t,"exported",e,1),t},t.exportSpecifier=function(e,t){var r={type:"ExportSpecifier",local:e,exported:t},n=o.ExportSpecifier;return s(n.local,r,"local",e,1),s(n.exported,r,"exported",t,1),r},t.expressionStatement=function(e){var t={type:"ExpressionStatement",expression:e},r=o.ExpressionStatement;return s(r.expression,t,"expression",e,1),t},t.file=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"File",program:e,comments:t,tokens:r},i=o.File;return s(i.program,n,"program",e,1),s(i.comments,n,"comments",t,1),s(i.tokens,n,"tokens",r),n},t.forInStatement=function(e,t,r){var n={type:"ForInStatement",left:e,right:t,body:r},i=o.ForInStatement;return s(i.left,n,"left",e,1),s(i.right,n,"right",t,1),s(i.body,n,"body",r,1),n},t.forOfStatement=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i={type:"ForOfStatement",left:e,right:t,body:r,await:n},a=o.ForOfStatement;return s(a.left,i,"left",e,1),s(a.right,i,"right",t,1),s(a.body,i,"body",r,1),s(a.await,i,"await",n),i},t.forStatement=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0,i={type:"ForStatement",init:e,test:t,update:r,body:n},a=o.ForStatement;return s(a.init,i,"init",e,1),s(a.test,i,"test",t,1),s(a.update,i,"update",r,1),s(a.body,i,"body",n,1),i},t.functionDeclaration=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a={type:"FunctionDeclaration",id:e,params:t,body:r,generator:n,async:i},l=o.FunctionDeclaration;return s(l.id,a,"id",e,1),s(l.params,a,"params",t,1),s(l.body,a,"body",r,1),s(l.generator,a,"generator",n),s(l.async,a,"async",i),a},t.functionExpression=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a={type:"FunctionExpression",id:e,params:t,body:r,generator:n,async:i},l=o.FunctionExpression;return s(l.id,a,"id",e,1),s(l.params,a,"params",t,1),s(l.body,a,"body",r,1),s(l.generator,a,"generator",n),s(l.async,a,"async",i),a},t.functionTypeAnnotation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0,i={type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:n},a=o.FunctionTypeAnnotation;return s(a.typeParameters,i,"typeParameters",e,1),s(a.params,i,"params",t,1),s(a.rest,i,"rest",r,1),s(a.returnType,i,"returnType",n,1),i},t.functionTypeParam=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r={type:"FunctionTypeParam",name:e,typeAnnotation:t},n=o.FunctionTypeParam;return s(n.name,r,"name",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.genericTypeAnnotation=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"GenericTypeAnnotation",id:e,typeParameters:t},n=o.GenericTypeAnnotation;return s(n.id,r,"id",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.identifier=function(e){var t={type:"Identifier",name:e},r=o.Identifier;return s(r.name,t,"name",e),t},t.ifStatement=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"IfStatement",test:e,consequent:t,alternate:r},i=o.IfStatement;return s(i.test,n,"test",e,1),s(i.consequent,n,"consequent",t,1),s(i.alternate,n,"alternate",r,1),n},t.import=function(){return{type:"Import"}},t.importAttribute=function(e,t){var r={type:"ImportAttribute",key:e,value:t},n=o.ImportAttribute;return s(n.key,r,"key",e,1),s(n.value,r,"value",t,1),r},t.importDeclaration=function(e,t){var r={type:"ImportDeclaration",specifiers:e,source:t},n=o.ImportDeclaration;return s(n.specifiers,r,"specifiers",e,1),s(n.source,r,"source",t,1),r},t.importDefaultSpecifier=function(e){var t={type:"ImportDefaultSpecifier",local:e},r=o.ImportDefaultSpecifier;return s(r.local,t,"local",e,1),t},t.importExpression=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"ImportExpression",source:e,options:t},n=o.ImportExpression;return s(n.source,r,"source",e,1),s(n.options,r,"options",t,1),r},t.importNamespaceSpecifier=function(e){var t={type:"ImportNamespaceSpecifier",local:e},r=o.ImportNamespaceSpecifier;return s(r.local,t,"local",e,1),t},t.importSpecifier=function(e,t){var r={type:"ImportSpecifier",local:e,imported:t},n=o.ImportSpecifier;return s(n.local,r,"local",e,1),s(n.imported,r,"imported",t,1),r},t.indexedAccessType=function(e,t){var r={type:"IndexedAccessType",objectType:e,indexType:t},n=o.IndexedAccessType;return s(n.objectType,r,"objectType",e,1),s(n.indexType,r,"indexType",t,1),r},t.inferredPredicate=function(){return{type:"InferredPredicate"}},t.interfaceDeclaration=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0,i={type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n},a=o.InterfaceDeclaration;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.extends,i,"extends",r,1),s(a.body,i,"body",n,1),i},t.interfaceExtends=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"InterfaceExtends",id:e,typeParameters:t},n=o.InterfaceExtends;return s(n.id,r,"id",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.interfaceTypeAnnotation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r={type:"InterfaceTypeAnnotation",extends:e,body:t},n=o.InterfaceTypeAnnotation;return s(n.extends,r,"extends",e,1),s(n.body,r,"body",t,1),r},t.interpreterDirective=function(e){var t={type:"InterpreterDirective",value:e},r=o.InterpreterDirective;return s(r.value,t,"value",e),t},t.intersectionTypeAnnotation=function(e){var t={type:"IntersectionTypeAnnotation",types:e},r=o.IntersectionTypeAnnotation;return s(r.types,t,"types",e,1),t},t.jSXAttribute=t.jsxAttribute=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"JSXAttribute",name:e,value:t},n=o.JSXAttribute;return s(n.name,r,"name",e,1),s(n.value,r,"value",t,1),r},t.jSXClosingElement=t.jsxClosingElement=function(e){var t={type:"JSXClosingElement",name:e},r=o.JSXClosingElement;return s(r.name,t,"name",e,1),t},t.jSXClosingFragment=t.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},t.jSXElement=t.jsxElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i={type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:n},a=o.JSXElement;return s(a.openingElement,i,"openingElement",e,1),s(a.closingElement,i,"closingElement",t,1),s(a.children,i,"children",r,1),s(a.selfClosing,i,"selfClosing",n),i},t.jSXEmptyExpression=t.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},t.jSXExpressionContainer=t.jsxExpressionContainer=function(e){var t={type:"JSXExpressionContainer",expression:e},r=o.JSXExpressionContainer;return s(r.expression,t,"expression",e,1),t},t.jSXFragment=t.jsxFragment=function(e,t,r){var n={type:"JSXFragment",openingFragment:e,closingFragment:t,children:r},i=o.JSXFragment;return s(i.openingFragment,n,"openingFragment",e,1),s(i.closingFragment,n,"closingFragment",t,1),s(i.children,n,"children",r,1),n},t.jSXIdentifier=t.jsxIdentifier=function(e){var t={type:"JSXIdentifier",name:e},r=o.JSXIdentifier;return s(r.name,t,"name",e),t},t.jSXMemberExpression=t.jsxMemberExpression=function(e,t){var r={type:"JSXMemberExpression",object:e,property:t},n=o.JSXMemberExpression;return s(n.object,r,"object",e,1),s(n.property,r,"property",t,1),r},t.jSXNamespacedName=t.jsxNamespacedName=function(e,t){var r={type:"JSXNamespacedName",namespace:e,name:t},n=o.JSXNamespacedName;return s(n.namespace,r,"namespace",e,1),s(n.name,r,"name",t,1),r},t.jSXOpeningElement=t.jsxOpeningElement=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n={type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r},i=o.JSXOpeningElement;return s(i.name,n,"name",e,1),s(i.attributes,n,"attributes",t,1),s(i.selfClosing,n,"selfClosing",r),n},t.jSXOpeningFragment=t.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},t.jSXSpreadAttribute=t.jsxSpreadAttribute=function(e){var t={type:"JSXSpreadAttribute",argument:e},r=o.JSXSpreadAttribute;return s(r.argument,t,"argument",e,1),t},t.jSXSpreadChild=t.jsxSpreadChild=function(e){var t={type:"JSXSpreadChild",expression:e},r=o.JSXSpreadChild;return s(r.expression,t,"expression",e,1),t},t.jSXText=t.jsxText=function(e){var t={type:"JSXText",value:e},r=o.JSXText;return s(r.value,t,"value",e),t},t.labeledStatement=function(e,t){var r={type:"LabeledStatement",label:e,body:t},n=o.LabeledStatement;return s(n.label,r,"label",e,1),s(n.body,r,"body",t,1),r},t.logicalExpression=function(e,t,r){var n={type:"LogicalExpression",operator:e,left:t,right:r},i=o.LogicalExpression;return s(i.operator,n,"operator",e),s(i.left,n,"left",t,1),s(i.right,n,"right",r,1),n},t.memberExpression=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i={type:"MemberExpression",object:e,property:t,computed:r,optional:n},a=o.MemberExpression;return s(a.object,i,"object",e,1),s(a.property,i,"property",t,1),s(a.computed,i,"computed",r),s(a.optional,i,"optional",n),i},t.metaProperty=function(e,t){var r={type:"MetaProperty",meta:e,property:t},n=o.MetaProperty;return s(n.meta,r,"meta",e,1),s(n.property,r,"property",t,1),r},t.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},t.moduleExpression=function(e){var t={type:"ModuleExpression",body:e},r=o.ModuleExpression;return s(r.body,t,"body",e,1),t},t.newExpression=function(e,t){var r={type:"NewExpression",callee:e,arguments:t},n=o.NewExpression;return s(n.callee,r,"callee",e,1),s(n.arguments,r,"arguments",t,1),r},t.noop=function(){return{type:"Noop"}},t.nullLiteral=function(){return{type:"NullLiteral"}},t.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},t.nullableTypeAnnotation=function(e){var t={type:"NullableTypeAnnotation",typeAnnotation:e},r=o.NullableTypeAnnotation;return s(r.typeAnnotation,t,"typeAnnotation",e,1),t},t.numberLiteral=function(e){return(0,i.default)("NumberLiteral","NumericLiteral","The node type "),l(e)},t.numberLiteralTypeAnnotation=function(e){var t={type:"NumberLiteralTypeAnnotation",value:e},r=o.NumberLiteralTypeAnnotation;return s(r.value,t,"value",e),t},t.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},t.numericLiteral=l,t.objectExpression=function(e){var t={type:"ObjectExpression",properties:e},r=o.ObjectExpression;return s(r.properties,t,"properties",e,1),t},t.objectMethod=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"method",t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],u={type:"ObjectMethod",kind:e,key:t,params:r,body:n,computed:i,generator:a,async:l},c=o.ObjectMethod;return s(c.kind,u,"kind",e),s(c.key,u,"key",t,1),s(c.params,u,"params",r,1),s(c.body,u,"body",n,1),s(c.computed,u,"computed",i),s(c.generator,u,"generator",a),s(c.async,u,"async",l),u},t.objectPattern=function(e){var t={type:"ObjectPattern",properties:e},r=o.ObjectPattern;return s(r.properties,t,"properties",e,1),t},t.objectProperty=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a={type:"ObjectProperty",key:e,value:t,computed:r,shorthand:n,decorators:i},l=o.ObjectProperty;return s(l.key,a,"key",e,1),s(l.value,a,"value",t,1),s(l.computed,a,"computed",r),s(l.shorthand,a,"shorthand",n),s(l.decorators,a,"decorators",i,1),a},t.objectTypeAnnotation=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a={type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:n,exact:i},l=o.ObjectTypeAnnotation;return s(l.properties,a,"properties",e,1),s(l.indexers,a,"indexers",t,1),s(l.callProperties,a,"callProperties",r,1),s(l.internalSlots,a,"internalSlots",n,1),s(l.exact,a,"exact",i),a},t.objectTypeCallProperty=function(e){var t={type:"ObjectTypeCallProperty",value:e,static:null},r=o.ObjectTypeCallProperty;return s(r.value,t,"value",e,1),t},t.objectTypeIndexer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i={type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:n,static:null},a=o.ObjectTypeIndexer;return s(a.id,i,"id",e,1),s(a.key,i,"key",t,1),s(a.value,i,"value",r,1),s(a.variance,i,"variance",n,1),i},t.objectTypeInternalSlot=function(e,t,r,n,i){var a={type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:n,method:i},l=o.ObjectTypeInternalSlot;return s(l.id,a,"id",e,1),s(l.value,a,"value",t,1),s(l.optional,a,"optional",r),s(l.static,a,"static",n),s(l.method,a,"method",i),a},t.objectTypeProperty=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null},i=o.ObjectTypeProperty;return s(i.key,n,"key",e,1),s(i.value,n,"value",t,1),s(i.variance,n,"variance",r,1),n},t.objectTypeSpreadProperty=function(e){var t={type:"ObjectTypeSpreadProperty",argument:e},r=o.ObjectTypeSpreadProperty;return s(r.argument,t,"argument",e,1),t},t.opaqueType=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0,i={type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:n},a=o.OpaqueType;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.supertype,i,"supertype",r,1),s(a.impltype,i,"impltype",n,1),i},t.optionalCallExpression=function(e,t,r){var n={type:"OptionalCallExpression",callee:e,arguments:t,optional:r},i=o.OptionalCallExpression;return s(i.callee,n,"callee",e,1),s(i.arguments,n,"arguments",t,1),s(i.optional,n,"optional",r),n},t.optionalIndexedAccessType=function(e,t){var r={type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null},n=o.OptionalIndexedAccessType;return s(n.objectType,r,"objectType",e,1),s(n.indexType,r,"indexType",t,1),r},t.optionalMemberExpression=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3?arguments[3]:void 0,i={type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:n},a=o.OptionalMemberExpression;return s(a.object,i,"object",e,1),s(a.property,i,"property",t,1),s(a.computed,i,"computed",r),s(a.optional,i,"optional",n),i},t.parenthesizedExpression=function(e){var t={type:"ParenthesizedExpression",expression:e},r=o.ParenthesizedExpression;return s(r.expression,t,"expression",e,1),t},t.pipelineBareFunction=function(e){var t={type:"PipelineBareFunction",callee:e},r=o.PipelineBareFunction;return s(r.callee,t,"callee",e,1),t},t.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},t.pipelineTopicExpression=function(e){var t={type:"PipelineTopicExpression",expression:e},r=o.PipelineTopicExpression;return s(r.expression,t,"expression",e,1),t},t.placeholder=function(e,t){var r={type:"Placeholder",expectedNode:e,name:t},n=o.Placeholder;return s(n.expectedNode,r,"expectedNode",e),s(n.name,r,"name",t,1),r},t.privateName=function(e){var t={type:"PrivateName",id:e},r=o.PrivateName;return s(r.id,t,"id",e,1),t},t.program=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"script",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i={type:"Program",body:e,directives:t,sourceType:r,interpreter:n},a=o.Program;return s(a.body,i,"body",e,1),s(a.directives,i,"directives",t,1),s(a.sourceType,i,"sourceType",r),s(a.interpreter,i,"interpreter",n,1),i},t.qualifiedTypeIdentifier=function(e,t){var r={type:"QualifiedTypeIdentifier",id:e,qualification:t},n=o.QualifiedTypeIdentifier;return s(n.id,r,"id",e,1),s(n.qualification,r,"qualification",t,1),r},t.recordExpression=function(e){var t={type:"RecordExpression",properties:e},r=o.RecordExpression;return s(r.properties,t,"properties",e,1),t},t.regExpLiteral=u,t.regexLiteral=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,i.default)("RegexLiteral","RegExpLiteral","The node type "),u(e,t)},t.restElement=c,t.restProperty=function(e){return(0,i.default)("RestProperty","RestElement","The node type "),c(e)},t.returnStatement=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t={type:"ReturnStatement",argument:e},r=o.ReturnStatement;return s(r.argument,t,"argument",e,1),t},t.sequenceExpression=function(e){var t={type:"SequenceExpression",expressions:e},r=o.SequenceExpression;return s(r.expressions,t,"expressions",e,1),t},t.spreadElement=p,t.spreadProperty=function(e){return(0,i.default)("SpreadProperty","SpreadElement","The node type "),p(e)},t.staticBlock=function(e){var t={type:"StaticBlock",body:e},r=o.StaticBlock;return s(r.body,t,"body",e,1),t},t.stringLiteral=function(e){var t={type:"StringLiteral",value:e},r=o.StringLiteral;return s(r.value,t,"value",e),t},t.stringLiteralTypeAnnotation=function(e){var t={type:"StringLiteralTypeAnnotation",value:e},r=o.StringLiteralTypeAnnotation;return s(r.value,t,"value",e),t},t.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},t.super=function(){return{type:"Super"}},t.switchCase=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r={type:"SwitchCase",test:e,consequent:t},n=o.SwitchCase;return s(n.test,r,"test",e,1),s(n.consequent,r,"consequent",t,1),r},t.switchStatement=function(e,t){var r={type:"SwitchStatement",discriminant:e,cases:t},n=o.SwitchStatement;return s(n.discriminant,r,"discriminant",e,1),s(n.cases,r,"cases",t,1),r},t.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},t.taggedTemplateExpression=function(e,t){var r={type:"TaggedTemplateExpression",tag:e,quasi:t},n=o.TaggedTemplateExpression;return s(n.tag,r,"tag",e,1),s(n.quasi,r,"quasi",t,1),r},t.templateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={type:"TemplateElement",value:e,tail:t},n=o.TemplateElement;return s(n.value,r,"value",e),s(n.tail,r,"tail",t),r},t.templateLiteral=function(e,t){var r={type:"TemplateLiteral",quasis:e,expressions:t},n=o.TemplateLiteral;return s(n.quasis,r,"quasis",e,1),s(n.expressions,r,"expressions",t,1),r},t.thisExpression=function(){return{type:"ThisExpression"}},t.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},t.throwStatement=function(e){var t={type:"ThrowStatement",argument:e},r=o.ThrowStatement;return s(r.argument,t,"argument",e,1),t},t.topicReference=function(){return{type:"TopicReference"}},t.tryStatement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"TryStatement",block:e,handler:t,finalizer:r},i=o.TryStatement;return s(i.block,n,"block",e,1),s(i.handler,n,"handler",t,1),s(i.finalizer,n,"finalizer",r,1),n},t.tSAnyKeyword=t.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},t.tSArrayType=t.tsArrayType=function(e){var t={type:"TSArrayType",elementType:e},r=o.TSArrayType;return s(r.elementType,t,"elementType",e,1),t},t.tSAsExpression=t.tsAsExpression=function(e,t){var r={type:"TSAsExpression",expression:e,typeAnnotation:t},n=o.TSAsExpression;return s(n.expression,r,"expression",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.tSBigIntKeyword=t.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},t.tSBooleanKeyword=t.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r},i=o.TSCallSignatureDeclaration;return s(i.typeParameters,n,"typeParameters",e,1),s(i.parameters,n,"parameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSConditionalType=t.tsConditionalType=function(e,t,r,n){var i={type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:n},a=o.TSConditionalType;return s(a.checkType,i,"checkType",e,1),s(a.extendsType,i,"extendsType",t,1),s(a.trueType,i,"trueType",r,1),s(a.falseType,i,"falseType",n,1),i},t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r},i=o.TSConstructSignatureDeclaration;return s(i.typeParameters,n,"typeParameters",e,1),s(i.parameters,n,"parameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSConstructorType=t.tsConstructorType=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r},i=o.TSConstructorType;return s(i.typeParameters,n,"typeParameters",e,1),s(i.parameters,n,"parameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSDeclareFunction=t.tsDeclareFunction=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i={type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:n},a=o.TSDeclareFunction;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.params,i,"params",r,1),s(a.returnType,i,"returnType",n,1),i},t.tSDeclareMethod=t.tsDeclareMethod=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a={type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:n,returnType:i},l=o.TSDeclareMethod;return s(l.decorators,a,"decorators",e,1),s(l.key,a,"key",t,1),s(l.typeParameters,a,"typeParameters",r,1),s(l.params,a,"params",n,1),s(l.returnType,a,"returnType",i,1),a},t.tSEnumBody=t.tsEnumBody=function(e){var t={type:"TSEnumBody",members:e},r=o.TSEnumBody;return s(r.members,t,"members",e,1),t},t.tSEnumDeclaration=t.tsEnumDeclaration=function(e,t){var r={type:"TSEnumDeclaration",id:e,members:t},n=o.TSEnumDeclaration;return s(n.id,r,"id",e,1),s(n.members,r,"members",t,1),r},t.tSEnumMember=t.tsEnumMember=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"TSEnumMember",id:e,initializer:t},n=o.TSEnumMember;return s(n.id,r,"id",e,1),s(n.initializer,r,"initializer",t,1),r},t.tSExportAssignment=t.tsExportAssignment=function(e){var t={type:"TSExportAssignment",expression:e},r=o.TSExportAssignment;return s(r.expression,t,"expression",e,1),t},t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t},n=o.TSExpressionWithTypeArguments;return s(n.expression,r,"expression",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.tSExternalModuleReference=t.tsExternalModuleReference=function(e){var t={type:"TSExternalModuleReference",expression:e},r=o.TSExternalModuleReference;return s(r.expression,t,"expression",e,1),t},t.tSFunctionType=t.tsFunctionType=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r},i=o.TSFunctionType;return s(i.typeParameters,n,"typeParameters",e,1),s(i.parameters,n,"parameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=function(e,t){var r={type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null},n=o.TSImportEqualsDeclaration;return s(n.id,r,"id",e,1),s(n.moduleReference,r,"moduleReference",t,1),r},t.tSImportType=t.tsImportType=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"TSImportType",argument:e,qualifier:t,typeParameters:r},i=o.TSImportType;return s(i.argument,n,"argument",e,1),s(i.qualifier,n,"qualifier",t,1),s(i.typeParameters,n,"typeParameters",r,1),n},t.tSIndexSignature=t.tsIndexSignature=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"TSIndexSignature",parameters:e,typeAnnotation:t},n=o.TSIndexSignature;return s(n.parameters,r,"parameters",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.tSIndexedAccessType=t.tsIndexedAccessType=function(e,t){var r={type:"TSIndexedAccessType",objectType:e,indexType:t},n=o.TSIndexedAccessType;return s(n.objectType,r,"objectType",e,1),s(n.indexType,r,"indexType",t,1),r},t.tSInferType=t.tsInferType=function(e){var t={type:"TSInferType",typeParameter:e},r=o.TSInferType;return s(r.typeParameter,t,"typeParameter",e,1),t},t.tSInstantiationExpression=t.tsInstantiationExpression=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"TSInstantiationExpression",expression:e,typeParameters:t},n=o.TSInstantiationExpression;return s(n.expression,r,"expression",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.tSInterfaceBody=t.tsInterfaceBody=function(e){var t={type:"TSInterfaceBody",body:e},r=o.TSInterfaceBody;return s(r.body,t,"body",e,1),t},t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0,i={type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n},a=o.TSInterfaceDeclaration;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.extends,i,"extends",r,1),s(a.body,i,"body",n,1),i},t.tSIntersectionType=t.tsIntersectionType=function(e){var t={type:"TSIntersectionType",types:e},r=o.TSIntersectionType;return s(r.types,t,"types",e,1),t},t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},t.tSLiteralType=t.tsLiteralType=function(e){var t={type:"TSLiteralType",literal:e},r=o.TSLiteralType;return s(r.literal,t,"literal",e,1),t},t.tSMappedType=t.tsMappedType=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r},i=o.TSMappedType;return s(i.typeParameter,n,"typeParameter",e,1),s(i.typeAnnotation,n,"typeAnnotation",t,1),s(i.nameType,n,"nameType",r,1),n},t.tSMethodSignature=t.tsMethodSignature=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i={type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:n,kind:null},a=o.TSMethodSignature;return s(a.key,i,"key",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.parameters,i,"parameters",r,1),s(a.typeAnnotation,i,"typeAnnotation",n,1),i},t.tSModuleBlock=t.tsModuleBlock=function(e){var t={type:"TSModuleBlock",body:e},r=o.TSModuleBlock;return s(r.body,t,"body",e,1),t},t.tSModuleDeclaration=t.tsModuleDeclaration=function(e,t){var r={type:"TSModuleDeclaration",id:e,body:t,kind:null},n=o.TSModuleDeclaration;return s(n.id,r,"id",e,1),s(n.body,r,"body",t,1),r},t.tSNamedTupleMember=t.tsNamedTupleMember=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n={type:"TSNamedTupleMember",label:e,elementType:t,optional:r},i=o.TSNamedTupleMember;return s(i.label,n,"label",e,1),s(i.elementType,n,"elementType",t,1),s(i.optional,n,"optional",r),n},t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=function(e){var t={type:"TSNamespaceExportDeclaration",id:e},r=o.TSNamespaceExportDeclaration;return s(r.id,t,"id",e,1),t},t.tSNeverKeyword=t.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},t.tSNonNullExpression=t.tsNonNullExpression=function(e){var t={type:"TSNonNullExpression",expression:e},r=o.TSNonNullExpression;return s(r.expression,t,"expression",e,1),t},t.tSNullKeyword=t.tsNullKeyword=function(){return{type:"TSNullKeyword"}},t.tSNumberKeyword=t.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},t.tSObjectKeyword=t.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},t.tSOptionalType=t.tsOptionalType=function(e){var t={type:"TSOptionalType",typeAnnotation:e},r=o.TSOptionalType;return s(r.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSParameterProperty=t.tsParameterProperty=function(e){var t={type:"TSParameterProperty",parameter:e},r=o.TSParameterProperty;return s(r.parameter,t,"parameter",e,1),t},t.tSParenthesizedType=t.tsParenthesizedType=function(e){var t={type:"TSParenthesizedType",typeAnnotation:e},r=o.TSParenthesizedType;return s(r.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSPropertySignature=t.tsPropertySignature=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"TSPropertySignature",key:e,typeAnnotation:t},n=o.TSPropertySignature;return s(n.key,r,"key",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.tSQualifiedName=t.tsQualifiedName=function(e,t){var r={type:"TSQualifiedName",left:e,right:t},n=o.TSQualifiedName;return s(n.left,r,"left",e,1),s(n.right,r,"right",t,1),r},t.tSRestType=t.tsRestType=function(e){var t={type:"TSRestType",typeAnnotation:e},r=o.TSRestType;return s(r.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSSatisfiesExpression=t.tsSatisfiesExpression=function(e,t){var r={type:"TSSatisfiesExpression",expression:e,typeAnnotation:t},n=o.TSSatisfiesExpression;return s(n.expression,r,"expression",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.tSStringKeyword=t.tsStringKeyword=function(){return{type:"TSStringKeyword"}},t.tSSymbolKeyword=t.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},t.tSTemplateLiteralType=t.tsTemplateLiteralType=function(e,t){var r={type:"TSTemplateLiteralType",quasis:e,types:t},n=o.TSTemplateLiteralType;return s(n.quasis,r,"quasis",e,1),s(n.types,r,"types",t,1),r},t.tSThisType=t.tsThisType=function(){return{type:"TSThisType"}},t.tSTupleType=t.tsTupleType=function(e){var t={type:"TSTupleType",elementTypes:e},r=o.TSTupleType;return s(r.elementTypes,t,"elementTypes",e,1),t},t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0,n={type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r},i=o.TSTypeAliasDeclaration;return s(i.id,n,"id",e,1),s(i.typeParameters,n,"typeParameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSTypeAnnotation=t.tsTypeAnnotation=function(e){var t={type:"TSTypeAnnotation",typeAnnotation:e},r=o.TSTypeAnnotation;return s(r.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSTypeAssertion=t.tsTypeAssertion=function(e,t){var r={type:"TSTypeAssertion",typeAnnotation:e,expression:t},n=o.TSTypeAssertion;return s(n.typeAnnotation,r,"typeAnnotation",e,1),s(n.expression,r,"expression",t,1),r},t.tSTypeLiteral=t.tsTypeLiteral=function(e){var t={type:"TSTypeLiteral",members:e},r=o.TSTypeLiteral;return s(r.members,t,"members",e,1),t},t.tSTypeOperator=t.tsTypeOperator=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keyof",r={type:"TSTypeOperator",typeAnnotation:e,operator:t},n=o.TSTypeOperator;return s(n.typeAnnotation,r,"typeAnnotation",e,1),s(n.operator,r,"operator",t),r},t.tSTypeParameter=t.tsTypeParameter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0,n={type:"TSTypeParameter",constraint:e,default:t,name:r},i=o.TSTypeParameter;return s(i.constraint,n,"constraint",e,1),s(i.default,n,"default",t,1),s(i.name,n,"name",r),n},t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=function(e){var t={type:"TSTypeParameterDeclaration",params:e},r=o.TSTypeParameterDeclaration;return s(r.params,t,"params",e,1),t},t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=function(e){var t={type:"TSTypeParameterInstantiation",params:e},r=o.TSTypeParameterInstantiation;return s(r.params,t,"params",e,1),t},t.tSTypePredicate=t.tsTypePredicate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r},i=o.TSTypePredicate;return s(i.parameterName,n,"parameterName",e,1),s(i.typeAnnotation,n,"typeAnnotation",t,1),s(i.asserts,n,"asserts",r),n},t.tSTypeQuery=t.tsTypeQuery=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"TSTypeQuery",exprName:e,typeParameters:t},n=o.TSTypeQuery;return s(n.exprName,r,"exprName",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.tSTypeReference=t.tsTypeReference=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"TSTypeReference",typeName:e,typeParameters:t},n=o.TSTypeReference;return s(n.typeName,r,"typeName",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.tSUndefinedKeyword=t.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},t.tSUnionType=t.tsUnionType=function(e){var t={type:"TSUnionType",types:e},r=o.TSUnionType;return s(r.types,t,"types",e,1),t},t.tSUnknownKeyword=t.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},t.tSVoidKeyword=t.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},t.tupleExpression=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t={type:"TupleExpression",elements:e},r=o.TupleExpression;return s(r.elements,t,"elements",e,1),t},t.tupleTypeAnnotation=function(e){var t={type:"TupleTypeAnnotation",types:e},r=o.TupleTypeAnnotation;return s(r.types,t,"types",e,1),t},t.typeAlias=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0,n={type:"TypeAlias",id:e,typeParameters:t,right:r},i=o.TypeAlias;return s(i.id,n,"id",e,1),s(i.typeParameters,n,"typeParameters",t,1),s(i.right,n,"right",r,1),n},t.typeAnnotation=function(e){var t={type:"TypeAnnotation",typeAnnotation:e},r=o.TypeAnnotation;return s(r.typeAnnotation,t,"typeAnnotation",e,1),t},t.typeCastExpression=function(e,t){var r={type:"TypeCastExpression",expression:e,typeAnnotation:t},n=o.TypeCastExpression;return s(n.expression,r,"expression",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.typeParameter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={type:"TypeParameter",bound:e,default:t,variance:r,name:null},i=o.TypeParameter;return s(i.bound,n,"bound",e,1),s(i.default,n,"default",t,1),s(i.variance,n,"variance",r,1),n},t.typeParameterDeclaration=function(e){var t={type:"TypeParameterDeclaration",params:e},r=o.TypeParameterDeclaration;return s(r.params,t,"params",e,1),t},t.typeParameterInstantiation=function(e){var t={type:"TypeParameterInstantiation",params:e},r=o.TypeParameterInstantiation;return s(r.params,t,"params",e,1),t},t.typeofTypeAnnotation=function(e){var t={type:"TypeofTypeAnnotation",argument:e},r=o.TypeofTypeAnnotation;return s(r.argument,t,"argument",e,1),t},t.unaryExpression=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n={type:"UnaryExpression",operator:e,argument:t,prefix:r},i=o.UnaryExpression;return s(i.operator,n,"operator",e),s(i.argument,n,"argument",t,1),s(i.prefix,n,"prefix",r),n},t.unionTypeAnnotation=function(e){var t={type:"UnionTypeAnnotation",types:e},r=o.UnionTypeAnnotation;return s(r.types,t,"types",e,1),t},t.updateExpression=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n={type:"UpdateExpression",operator:e,argument:t,prefix:r},i=o.UpdateExpression;return s(i.operator,n,"operator",e),s(i.argument,n,"argument",t,1),s(i.prefix,n,"prefix",r),n},t.v8IntrinsicIdentifier=function(e){var t={type:"V8IntrinsicIdentifier",name:e},r=o.V8IntrinsicIdentifier;return s(r.name,t,"name",e),t},t.variableDeclaration=function(e,t){var r={type:"VariableDeclaration",kind:e,declarations:t},n=o.VariableDeclaration;return s(n.kind,r,"kind",e),s(n.declarations,r,"declarations",t,1),r},t.variableDeclarator=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={type:"VariableDeclarator",id:e,init:t},n=o.VariableDeclarator;return s(n.id,r,"id",e,1),s(n.init,r,"init",t,1),r},t.variance=function(e){var t={type:"Variance",kind:e},r=o.Variance;return s(r.kind,t,"kind",e),t},t.voidPattern=function(){return{type:"VoidPattern"}},t.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},t.whileStatement=function(e,t){var r={type:"WhileStatement",test:e,body:t},n=o.WhileStatement;return s(n.test,r,"test",e,1),s(n.body,r,"body",t,1),r},t.withStatement=function(e,t){var r={type:"WithStatement",object:e,body:t},n=o.WithStatement;return s(n.object,r,"object",e,1),s(n.body,r,"body",t,1),r},t.yieldExpression=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={type:"YieldExpression",argument:e,delegate:t},n=o.YieldExpression;return s(n.argument,r,"argument",e,1),s(n.delegate,r,"delegate",t),r};var n=r(3592),i=r(6028),a=r(8650),s=n.validateInternal,o=a.NODE_FIELDS;function l(e){var t={type:"NumericLiteral",value:e},r=o.NumericLiteral;return s(r.value,t,"value",e),t}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r={type:"RegExpLiteral",pattern:e,flags:t},n=o.RegExpLiteral;return s(n.pattern,r,"pattern",e),s(n.flags,r,"flags",t),r}function c(e){var t={type:"RestElement",argument:e},r=o.RestElement;return s(r.argument,t,"argument",e,1),t}function p(e){var t={type:"SpreadElement",argument:e},r=o.SpreadElement;return s(r.argument,t,"argument",e,1),t}},1133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSXIdentifier=t.JSXFragment=t.JSXExpressionContainer=t.JSXEmptyExpression=t.JSXElement=t.JSXClosingFragment=t.JSXClosingElement=t.JSXAttribute=t.IntersectionTypeAnnotation=t.InterpreterDirective=t.InterfaceTypeAnnotation=t.InterfaceExtends=t.InterfaceDeclaration=t.InferredPredicate=t.IndexedAccessType=t.ImportSpecifier=t.ImportNamespaceSpecifier=t.ImportExpression=t.ImportDefaultSpecifier=t.ImportDeclaration=t.ImportAttribute=t.Import=t.IfStatement=t.Identifier=t.GenericTypeAnnotation=t.FunctionTypeParam=t.FunctionTypeAnnotation=t.FunctionExpression=t.FunctionDeclaration=t.ForStatement=t.ForOfStatement=t.ForInStatement=t.File=t.ExpressionStatement=t.ExportSpecifier=t.ExportNamespaceSpecifier=t.ExportNamedDeclaration=t.ExportDefaultSpecifier=t.ExportDefaultDeclaration=t.ExportAllDeclaration=t.ExistsTypeAnnotation=t.EnumSymbolBody=t.EnumStringMember=t.EnumStringBody=t.EnumNumberMember=t.EnumNumberBody=t.EnumDefaultedMember=t.EnumDeclaration=t.EnumBooleanMember=t.EnumBooleanBody=t.EmptyTypeAnnotation=t.EmptyStatement=t.DoWhileStatement=t.DoExpression=t.DirectiveLiteral=t.Directive=t.Decorator=t.DeclaredPredicate=t.DeclareVariable=t.DeclareTypeAlias=t.DeclareOpaqueType=t.DeclareModuleExports=t.DeclareModule=t.DeclareInterface=t.DeclareFunction=t.DeclareExportDeclaration=t.DeclareExportAllDeclaration=t.DeclareClass=t.DecimalLiteral=t.DebuggerStatement=t.ContinueStatement=t.ConditionalExpression=t.ClassProperty=t.ClassPrivateProperty=t.ClassPrivateMethod=t.ClassMethod=t.ClassImplements=t.ClassExpression=t.ClassDeclaration=t.ClassBody=t.ClassAccessorProperty=t.CatchClause=t.CallExpression=t.BreakStatement=t.BooleanTypeAnnotation=t.BooleanLiteralTypeAnnotation=t.BooleanLiteral=t.BlockStatement=t.BindExpression=t.BinaryExpression=t.BigIntLiteral=t.AwaitExpression=t.AssignmentPattern=t.AssignmentExpression=t.ArrowFunctionExpression=t.ArrayTypeAnnotation=t.ArrayPattern=t.ArrayExpression=t.ArgumentPlaceholder=t.AnyTypeAnnotation=void 0,t.TSNumberKeyword=t.TSNullKeyword=t.TSNonNullExpression=t.TSNeverKeyword=t.TSNamespaceExportDeclaration=t.TSNamedTupleMember=t.TSModuleDeclaration=t.TSModuleBlock=t.TSMethodSignature=t.TSMappedType=t.TSLiteralType=t.TSIntrinsicKeyword=t.TSIntersectionType=t.TSInterfaceDeclaration=t.TSInterfaceBody=t.TSInstantiationExpression=t.TSInferType=t.TSIndexedAccessType=t.TSIndexSignature=t.TSImportType=t.TSImportEqualsDeclaration=t.TSFunctionType=t.TSExternalModuleReference=t.TSExpressionWithTypeArguments=t.TSExportAssignment=t.TSEnumMember=t.TSEnumDeclaration=t.TSEnumBody=t.TSDeclareMethod=t.TSDeclareFunction=t.TSConstructorType=t.TSConstructSignatureDeclaration=t.TSConditionalType=t.TSCallSignatureDeclaration=t.TSBooleanKeyword=t.TSBigIntKeyword=t.TSAsExpression=t.TSArrayType=t.TSAnyKeyword=t.SymbolTypeAnnotation=t.SwitchStatement=t.SwitchCase=t.Super=t.StringTypeAnnotation=t.StringLiteralTypeAnnotation=t.StringLiteral=t.StaticBlock=t.SpreadProperty=t.SpreadElement=t.SequenceExpression=t.ReturnStatement=t.RestProperty=t.RestElement=t.RegexLiteral=t.RegExpLiteral=t.RecordExpression=t.QualifiedTypeIdentifier=t.Program=t.PrivateName=t.Placeholder=t.PipelineTopicExpression=t.PipelinePrimaryTopicReference=t.PipelineBareFunction=t.ParenthesizedExpression=t.OptionalMemberExpression=t.OptionalIndexedAccessType=t.OptionalCallExpression=t.OpaqueType=t.ObjectTypeSpreadProperty=t.ObjectTypeProperty=t.ObjectTypeInternalSlot=t.ObjectTypeIndexer=t.ObjectTypeCallProperty=t.ObjectTypeAnnotation=t.ObjectProperty=t.ObjectPattern=t.ObjectMethod=t.ObjectExpression=t.NumericLiteral=t.NumberTypeAnnotation=t.NumberLiteralTypeAnnotation=t.NumberLiteral=t.NullableTypeAnnotation=t.NullLiteralTypeAnnotation=t.NullLiteral=t.Noop=t.NewExpression=t.ModuleExpression=t.MixedTypeAnnotation=t.MetaProperty=t.MemberExpression=t.LogicalExpression=t.LabeledStatement=t.JSXText=t.JSXSpreadChild=t.JSXSpreadAttribute=t.JSXOpeningFragment=t.JSXOpeningElement=t.JSXNamespacedName=t.JSXMemberExpression=void 0,t.YieldExpression=t.WithStatement=t.WhileStatement=t.VoidTypeAnnotation=t.VoidPattern=t.Variance=t.VariableDeclarator=t.VariableDeclaration=t.V8IntrinsicIdentifier=t.UpdateExpression=t.UnionTypeAnnotation=t.UnaryExpression=t.TypeofTypeAnnotation=t.TypeParameterInstantiation=t.TypeParameterDeclaration=t.TypeParameter=t.TypeCastExpression=t.TypeAnnotation=t.TypeAlias=t.TupleTypeAnnotation=t.TupleExpression=t.TryStatement=t.TopicReference=t.ThrowStatement=t.ThisTypeAnnotation=t.ThisExpression=t.TemplateLiteral=t.TemplateElement=t.TaggedTemplateExpression=t.TSVoidKeyword=t.TSUnknownKeyword=t.TSUnionType=t.TSUndefinedKeyword=t.TSTypeReference=t.TSTypeQuery=t.TSTypePredicate=t.TSTypeParameterInstantiation=t.TSTypeParameterDeclaration=t.TSTypeParameter=t.TSTypeOperator=t.TSTypeLiteral=t.TSTypeAssertion=t.TSTypeAnnotation=t.TSTypeAliasDeclaration=t.TSTupleType=t.TSThisType=t.TSTemplateLiteralType=t.TSSymbolKeyword=t.TSStringKeyword=t.TSSatisfiesExpression=t.TSRestType=t.TSQualifiedName=t.TSPropertySignature=t.TSParenthesizedType=t.TSParameterProperty=t.TSOptionalType=t.TSObjectKeyword=void 0;var n=r(5680);function i(e){return n[e]}r(6028),t.ArrayExpression=i("arrayExpression"),t.AssignmentExpression=i("assignmentExpression"),t.BinaryExpression=i("binaryExpression"),t.InterpreterDirective=i("interpreterDirective"),t.Directive=i("directive"),t.DirectiveLiteral=i("directiveLiteral"),t.BlockStatement=i("blockStatement"),t.BreakStatement=i("breakStatement"),t.CallExpression=i("callExpression"),t.CatchClause=i("catchClause"),t.ConditionalExpression=i("conditionalExpression"),t.ContinueStatement=i("continueStatement"),t.DebuggerStatement=i("debuggerStatement"),t.DoWhileStatement=i("doWhileStatement"),t.EmptyStatement=i("emptyStatement"),t.ExpressionStatement=i("expressionStatement"),t.File=i("file"),t.ForInStatement=i("forInStatement"),t.ForStatement=i("forStatement"),t.FunctionDeclaration=i("functionDeclaration"),t.FunctionExpression=i("functionExpression"),t.Identifier=i("identifier"),t.IfStatement=i("ifStatement"),t.LabeledStatement=i("labeledStatement"),t.StringLiteral=i("stringLiteral"),t.NumericLiteral=i("numericLiteral"),t.NullLiteral=i("nullLiteral"),t.BooleanLiteral=i("booleanLiteral"),t.RegExpLiteral=i("regExpLiteral"),t.LogicalExpression=i("logicalExpression"),t.MemberExpression=i("memberExpression"),t.NewExpression=i("newExpression"),t.Program=i("program"),t.ObjectExpression=i("objectExpression"),t.ObjectMethod=i("objectMethod"),t.ObjectProperty=i("objectProperty"),t.RestElement=i("restElement"),t.ReturnStatement=i("returnStatement"),t.SequenceExpression=i("sequenceExpression"),t.ParenthesizedExpression=i("parenthesizedExpression"),t.SwitchCase=i("switchCase"),t.SwitchStatement=i("switchStatement"),t.ThisExpression=i("thisExpression"),t.ThrowStatement=i("throwStatement"),t.TryStatement=i("tryStatement"),t.UnaryExpression=i("unaryExpression"),t.UpdateExpression=i("updateExpression"),t.VariableDeclaration=i("variableDeclaration"),t.VariableDeclarator=i("variableDeclarator"),t.WhileStatement=i("whileStatement"),t.WithStatement=i("withStatement"),t.AssignmentPattern=i("assignmentPattern"),t.ArrayPattern=i("arrayPattern"),t.ArrowFunctionExpression=i("arrowFunctionExpression"),t.ClassBody=i("classBody"),t.ClassExpression=i("classExpression"),t.ClassDeclaration=i("classDeclaration"),t.ExportAllDeclaration=i("exportAllDeclaration"),t.ExportDefaultDeclaration=i("exportDefaultDeclaration"),t.ExportNamedDeclaration=i("exportNamedDeclaration"),t.ExportSpecifier=i("exportSpecifier"),t.ForOfStatement=i("forOfStatement"),t.ImportDeclaration=i("importDeclaration"),t.ImportDefaultSpecifier=i("importDefaultSpecifier"),t.ImportNamespaceSpecifier=i("importNamespaceSpecifier"),t.ImportSpecifier=i("importSpecifier"),t.ImportExpression=i("importExpression"),t.MetaProperty=i("metaProperty"),t.ClassMethod=i("classMethod"),t.ObjectPattern=i("objectPattern"),t.SpreadElement=i("spreadElement"),t.Super=i("super"),t.TaggedTemplateExpression=i("taggedTemplateExpression"),t.TemplateElement=i("templateElement"),t.TemplateLiteral=i("templateLiteral"),t.YieldExpression=i("yieldExpression"),t.AwaitExpression=i("awaitExpression"),t.Import=i("import"),t.BigIntLiteral=i("bigIntLiteral"),t.ExportNamespaceSpecifier=i("exportNamespaceSpecifier"),t.OptionalMemberExpression=i("optionalMemberExpression"),t.OptionalCallExpression=i("optionalCallExpression"),t.ClassProperty=i("classProperty"),t.ClassAccessorProperty=i("classAccessorProperty"),t.ClassPrivateProperty=i("classPrivateProperty"),t.ClassPrivateMethod=i("classPrivateMethod"),t.PrivateName=i("privateName"),t.StaticBlock=i("staticBlock"),t.ImportAttribute=i("importAttribute"),t.AnyTypeAnnotation=i("anyTypeAnnotation"),t.ArrayTypeAnnotation=i("arrayTypeAnnotation"),t.BooleanTypeAnnotation=i("booleanTypeAnnotation"),t.BooleanLiteralTypeAnnotation=i("booleanLiteralTypeAnnotation"),t.NullLiteralTypeAnnotation=i("nullLiteralTypeAnnotation"),t.ClassImplements=i("classImplements"),t.DeclareClass=i("declareClass"),t.DeclareFunction=i("declareFunction"),t.DeclareInterface=i("declareInterface"),t.DeclareModule=i("declareModule"),t.DeclareModuleExports=i("declareModuleExports"),t.DeclareTypeAlias=i("declareTypeAlias"),t.DeclareOpaqueType=i("declareOpaqueType"),t.DeclareVariable=i("declareVariable"),t.DeclareExportDeclaration=i("declareExportDeclaration"),t.DeclareExportAllDeclaration=i("declareExportAllDeclaration"),t.DeclaredPredicate=i("declaredPredicate"),t.ExistsTypeAnnotation=i("existsTypeAnnotation"),t.FunctionTypeAnnotation=i("functionTypeAnnotation"),t.FunctionTypeParam=i("functionTypeParam"),t.GenericTypeAnnotation=i("genericTypeAnnotation"),t.InferredPredicate=i("inferredPredicate"),t.InterfaceExtends=i("interfaceExtends"),t.InterfaceDeclaration=i("interfaceDeclaration"),t.InterfaceTypeAnnotation=i("interfaceTypeAnnotation"),t.IntersectionTypeAnnotation=i("intersectionTypeAnnotation"),t.MixedTypeAnnotation=i("mixedTypeAnnotation"),t.EmptyTypeAnnotation=i("emptyTypeAnnotation"),t.NullableTypeAnnotation=i("nullableTypeAnnotation"),t.NumberLiteralTypeAnnotation=i("numberLiteralTypeAnnotation"),t.NumberTypeAnnotation=i("numberTypeAnnotation"),t.ObjectTypeAnnotation=i("objectTypeAnnotation"),t.ObjectTypeInternalSlot=i("objectTypeInternalSlot"),t.ObjectTypeCallProperty=i("objectTypeCallProperty"),t.ObjectTypeIndexer=i("objectTypeIndexer"),t.ObjectTypeProperty=i("objectTypeProperty"),t.ObjectTypeSpreadProperty=i("objectTypeSpreadProperty"),t.OpaqueType=i("opaqueType"),t.QualifiedTypeIdentifier=i("qualifiedTypeIdentifier"),t.StringLiteralTypeAnnotation=i("stringLiteralTypeAnnotation"),t.StringTypeAnnotation=i("stringTypeAnnotation"),t.SymbolTypeAnnotation=i("symbolTypeAnnotation"),t.ThisTypeAnnotation=i("thisTypeAnnotation"),t.TupleTypeAnnotation=i("tupleTypeAnnotation"),t.TypeofTypeAnnotation=i("typeofTypeAnnotation"),t.TypeAlias=i("typeAlias"),t.TypeAnnotation=i("typeAnnotation"),t.TypeCastExpression=i("typeCastExpression"),t.TypeParameter=i("typeParameter"),t.TypeParameterDeclaration=i("typeParameterDeclaration"),t.TypeParameterInstantiation=i("typeParameterInstantiation"),t.UnionTypeAnnotation=i("unionTypeAnnotation"),t.Variance=i("variance"),t.VoidTypeAnnotation=i("voidTypeAnnotation"),t.EnumDeclaration=i("enumDeclaration"),t.EnumBooleanBody=i("enumBooleanBody"),t.EnumNumberBody=i("enumNumberBody"),t.EnumStringBody=i("enumStringBody"),t.EnumSymbolBody=i("enumSymbolBody"),t.EnumBooleanMember=i("enumBooleanMember"),t.EnumNumberMember=i("enumNumberMember"),t.EnumStringMember=i("enumStringMember"),t.EnumDefaultedMember=i("enumDefaultedMember"),t.IndexedAccessType=i("indexedAccessType"),t.OptionalIndexedAccessType=i("optionalIndexedAccessType"),t.JSXAttribute=i("jsxAttribute"),t.JSXClosingElement=i("jsxClosingElement"),t.JSXElement=i("jsxElement"),t.JSXEmptyExpression=i("jsxEmptyExpression"),t.JSXExpressionContainer=i("jsxExpressionContainer"),t.JSXSpreadChild=i("jsxSpreadChild"),t.JSXIdentifier=i("jsxIdentifier"),t.JSXMemberExpression=i("jsxMemberExpression"),t.JSXNamespacedName=i("jsxNamespacedName"),t.JSXOpeningElement=i("jsxOpeningElement"),t.JSXSpreadAttribute=i("jsxSpreadAttribute"),t.JSXText=i("jsxText"),t.JSXFragment=i("jsxFragment"),t.JSXOpeningFragment=i("jsxOpeningFragment"),t.JSXClosingFragment=i("jsxClosingFragment"),t.Noop=i("noop"),t.Placeholder=i("placeholder"),t.V8IntrinsicIdentifier=i("v8IntrinsicIdentifier"),t.ArgumentPlaceholder=i("argumentPlaceholder"),t.BindExpression=i("bindExpression"),t.Decorator=i("decorator"),t.DoExpression=i("doExpression"),t.ExportDefaultSpecifier=i("exportDefaultSpecifier"),t.RecordExpression=i("recordExpression"),t.TupleExpression=i("tupleExpression"),t.DecimalLiteral=i("decimalLiteral"),t.ModuleExpression=i("moduleExpression"),t.TopicReference=i("topicReference"),t.PipelineTopicExpression=i("pipelineTopicExpression"),t.PipelineBareFunction=i("pipelineBareFunction"),t.PipelinePrimaryTopicReference=i("pipelinePrimaryTopicReference"),t.VoidPattern=i("voidPattern"),t.TSParameterProperty=i("tsParameterProperty"),t.TSDeclareFunction=i("tsDeclareFunction"),t.TSDeclareMethod=i("tsDeclareMethod"),t.TSQualifiedName=i("tsQualifiedName"),t.TSCallSignatureDeclaration=i("tsCallSignatureDeclaration"),t.TSConstructSignatureDeclaration=i("tsConstructSignatureDeclaration"),t.TSPropertySignature=i("tsPropertySignature"),t.TSMethodSignature=i("tsMethodSignature"),t.TSIndexSignature=i("tsIndexSignature"),t.TSAnyKeyword=i("tsAnyKeyword"),t.TSBooleanKeyword=i("tsBooleanKeyword"),t.TSBigIntKeyword=i("tsBigIntKeyword"),t.TSIntrinsicKeyword=i("tsIntrinsicKeyword"),t.TSNeverKeyword=i("tsNeverKeyword"),t.TSNullKeyword=i("tsNullKeyword"),t.TSNumberKeyword=i("tsNumberKeyword"),t.TSObjectKeyword=i("tsObjectKeyword"),t.TSStringKeyword=i("tsStringKeyword"),t.TSSymbolKeyword=i("tsSymbolKeyword"),t.TSUndefinedKeyword=i("tsUndefinedKeyword"),t.TSUnknownKeyword=i("tsUnknownKeyword"),t.TSVoidKeyword=i("tsVoidKeyword"),t.TSThisType=i("tsThisType"),t.TSFunctionType=i("tsFunctionType"),t.TSConstructorType=i("tsConstructorType"),t.TSTypeReference=i("tsTypeReference"),t.TSTypePredicate=i("tsTypePredicate"),t.TSTypeQuery=i("tsTypeQuery"),t.TSTypeLiteral=i("tsTypeLiteral"),t.TSArrayType=i("tsArrayType"),t.TSTupleType=i("tsTupleType"),t.TSOptionalType=i("tsOptionalType"),t.TSRestType=i("tsRestType"),t.TSNamedTupleMember=i("tsNamedTupleMember"),t.TSUnionType=i("tsUnionType"),t.TSIntersectionType=i("tsIntersectionType"),t.TSConditionalType=i("tsConditionalType"),t.TSInferType=i("tsInferType"),t.TSParenthesizedType=i("tsParenthesizedType"),t.TSTypeOperator=i("tsTypeOperator"),t.TSIndexedAccessType=i("tsIndexedAccessType"),t.TSMappedType=i("tsMappedType"),t.TSTemplateLiteralType=i("tsTemplateLiteralType"),t.TSLiteralType=i("tsLiteralType"),t.TSExpressionWithTypeArguments=i("tsExpressionWithTypeArguments"),t.TSInterfaceDeclaration=i("tsInterfaceDeclaration"),t.TSInterfaceBody=i("tsInterfaceBody"),t.TSTypeAliasDeclaration=i("tsTypeAliasDeclaration"),t.TSInstantiationExpression=i("tsInstantiationExpression"),t.TSAsExpression=i("tsAsExpression"),t.TSSatisfiesExpression=i("tsSatisfiesExpression"),t.TSTypeAssertion=i("tsTypeAssertion"),t.TSEnumBody=i("tsEnumBody"),t.TSEnumDeclaration=i("tsEnumDeclaration"),t.TSEnumMember=i("tsEnumMember"),t.TSModuleDeclaration=i("tsModuleDeclaration"),t.TSModuleBlock=i("tsModuleBlock"),t.TSImportType=i("tsImportType"),t.TSImportEqualsDeclaration=i("tsImportEqualsDeclaration"),t.TSExternalModuleReference=i("tsExternalModuleReference"),t.TSNonNullExpression=i("tsNonNullExpression"),t.TSExportAssignment=i("tsExportAssignment"),t.TSNamespaceExportDeclaration=i("tsNamespaceExportDeclaration"),t.TSTypeAnnotation=i("tsTypeAnnotation"),t.TSTypeParameterInstantiation=i("tsTypeParameterInstantiation"),t.TSTypeParameterDeclaration=i("tsTypeParameterDeclaration"),t.TSTypeParameter=i("tsTypeParameter"),t.NumberLiteral=n.numberLiteral,t.RegexLiteral=n.regexLiteral,t.RestProperty=n.restProperty,t.SpreadProperty=n.spreadProperty},5279:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildUndefinedNode=function(){return(0,n.unaryExpression)("void",(0,n.numericLiteral)(0),!0)};var n=r(4985)},7636:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],r=0;r<e.children.length;r++){var a=e.children[r];(0,n.isJSXText)(a)?(0,i.default)(a,t):((0,n.isJSXExpressionContainer)(a)&&(a=a.expression),(0,n.isJSXEmptyExpression)(a)||t.push(a))}return t};var n=r(2302),i=r(3789)},515:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.map((function(e){return(0,a.isTSTypeAnnotation)(e)?e.typeAnnotation:e})),r=(0,i.default)(t);return 1===r.length?r[0]:(0,n.tsUnionType)(r)};var n=r(4985),i=r(6918),a=r(2302)},3161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e,!1)};var n=r(5069)},7075:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e)};var n=r(5069)},6881:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e,!0,!0)};var n=r(5069)},5069:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return l(e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2],new Map)};var n=r(7356),i=r(2302),a=Function.call.bind(Object.prototype.hasOwnProperty);function s(e,t,r,n){return e&&"string"==typeof e.type?l(e,t,r,n):e}function o(e,t,r,n){return Array.isArray(e)?e.map((function(e){return s(e,t,r,n)})):s(e,t,r,n)}function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3?arguments[3]:void 0;if(!e)return e;var l=e.type,c={type:e.type};if((0,i.isIdentifier)(e))c.name=e.name,a(e,"optional")&&"boolean"==typeof e.optional&&(c.optional=e.optional),a(e,"typeAnnotation")&&(c.typeAnnotation=t?o(e.typeAnnotation,!0,r,s):e.typeAnnotation),a(e,"decorators")&&(c.decorators=t?o(e.decorators,!0,r,s):e.decorators);else{if(!a(n.NODE_FIELDS,l))throw new Error('Unknown node type: "'.concat(l,'"'));for(var p=0,h=Object.keys(n.NODE_FIELDS[l]);p<h.length;p++){var d=h[p];a(e,d)&&(c[d]=t?(0,i.isFile)(e)&&"comments"===d?u(e.comments,t,r,s):o(e[d],!0,r,s):e[d])}}return a(e,"loc")&&(c.loc=r?null:e.loc),a(e,"leadingComments")&&(c.leadingComments=u(e.leadingComments,t,r,s)),a(e,"innerComments")&&(c.innerComments=u(e.innerComments,t,r,s)),a(e,"trailingComments")&&(c.trailingComments=u(e.trailingComments,t,r,s)),a(e,"extra")&&(c.extra=Object.assign({},e.extra)),c}function u(e,t,r,n){return e&&t?e.map((function(e){var t=n.get(e);if(t)return t;var i={type:e.type,value:e.value,loc:e.loc};return r&&(i.loc=null),n.set(e,i),i})):e}},3679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e,!1,!0)};var n=r(5069)},1109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])};var n=r(2128)},2128:(e,t)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(!n||!e)return e;var i,a,s="".concat(t,"Comments");e[s]?"leading"===t?e[s]=n.concat(e[s]):(i=e[s]).push.apply(i,function(e){if(Array.isArray(e))return r(e)}(a=n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):e[s]=n;return e}},1494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)("innerComments",e,t)};var n=r(6847)},5444:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)("leadingComments",e,t)};var n=r(6847)},3160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)("trailingComments",e,t)};var n=r(6847)},6095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e,t),(0,i.default)(e,t),(0,a.default)(e,t),e};var n=r(3160),i=r(5444),a=r(1494)},3815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return n.COMMENT_KEYS.forEach((function(t){e[t]=null})),e};var n=r(6496)},6030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WHILE_TYPES=t.USERWHITESPACABLE_TYPES=t.UNARYLIKE_TYPES=t.TYPESCRIPT_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.TSENTITYNAME_TYPES=t.TSBASETYPE_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.STANDARDIZED_TYPES=t.SCOPABLE_TYPES=t.PUREISH_TYPES=t.PROPERTY_TYPES=t.PRIVATE_TYPES=t.PATTERN_TYPES=t.PATTERNLIKE_TYPES=t.OBJECTMEMBER_TYPES=t.MODULESPECIFIER_TYPES=t.MODULEDECLARATION_TYPES=t.MISCELLANEOUS_TYPES=t.METHOD_TYPES=t.LVAL_TYPES=t.LOOP_TYPES=t.LITERAL_TYPES=t.JSX_TYPES=t.IMPORTOREXPORTDECLARATION_TYPES=t.IMMUTABLE_TYPES=t.FUNCTION_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTIONPARAMETER_TYPES=t.FOR_TYPES=t.FORXSTATEMENT_TYPES=t.FLOW_TYPES=t.FLOWTYPE_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.EXPRESSION_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.EXPORTDECLARATION_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.DECLARATION_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.CLASS_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.BINARY_TYPES=t.ACCESSOR_TYPES=void 0;var n=r(7356),i=(t.STANDARDIZED_TYPES=n.FLIPPED_ALIAS_KEYS.Standardized,t.EXPRESSION_TYPES=n.FLIPPED_ALIAS_KEYS.Expression,t.BINARY_TYPES=n.FLIPPED_ALIAS_KEYS.Binary,t.SCOPABLE_TYPES=n.FLIPPED_ALIAS_KEYS.Scopable,t.BLOCKPARENT_TYPES=n.FLIPPED_ALIAS_KEYS.BlockParent,t.BLOCK_TYPES=n.FLIPPED_ALIAS_KEYS.Block,t.STATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.Statement,t.TERMINATORLESS_TYPES=n.FLIPPED_ALIAS_KEYS.Terminatorless,t.COMPLETIONSTATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.CompletionStatement,t.CONDITIONAL_TYPES=n.FLIPPED_ALIAS_KEYS.Conditional,t.LOOP_TYPES=n.FLIPPED_ALIAS_KEYS.Loop,t.WHILE_TYPES=n.FLIPPED_ALIAS_KEYS.While,t.EXPRESSIONWRAPPER_TYPES=n.FLIPPED_ALIAS_KEYS.ExpressionWrapper,t.FOR_TYPES=n.FLIPPED_ALIAS_KEYS.For,t.FORXSTATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.ForXStatement,t.FUNCTION_TYPES=n.FLIPPED_ALIAS_KEYS.Function,t.FUNCTIONPARENT_TYPES=n.FLIPPED_ALIAS_KEYS.FunctionParent,t.PUREISH_TYPES=n.FLIPPED_ALIAS_KEYS.Pureish,t.DECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.Declaration,t.FUNCTIONPARAMETER_TYPES=n.FLIPPED_ALIAS_KEYS.FunctionParameter,t.PATTERNLIKE_TYPES=n.FLIPPED_ALIAS_KEYS.PatternLike,t.LVAL_TYPES=n.FLIPPED_ALIAS_KEYS.LVal,t.TSENTITYNAME_TYPES=n.FLIPPED_ALIAS_KEYS.TSEntityName,t.LITERAL_TYPES=n.FLIPPED_ALIAS_KEYS.Literal,t.IMMUTABLE_TYPES=n.FLIPPED_ALIAS_KEYS.Immutable,t.USERWHITESPACABLE_TYPES=n.FLIPPED_ALIAS_KEYS.UserWhitespacable,t.METHOD_TYPES=n.FLIPPED_ALIAS_KEYS.Method,t.OBJECTMEMBER_TYPES=n.FLIPPED_ALIAS_KEYS.ObjectMember,t.PROPERTY_TYPES=n.FLIPPED_ALIAS_KEYS.Property,t.UNARYLIKE_TYPES=n.FLIPPED_ALIAS_KEYS.UnaryLike,t.PATTERN_TYPES=n.FLIPPED_ALIAS_KEYS.Pattern,t.CLASS_TYPES=n.FLIPPED_ALIAS_KEYS.Class,t.IMPORTOREXPORTDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration);t.EXPORTDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.ExportDeclaration,t.MODULESPECIFIER_TYPES=n.FLIPPED_ALIAS_KEYS.ModuleSpecifier,t.ACCESSOR_TYPES=n.FLIPPED_ALIAS_KEYS.Accessor,t.PRIVATE_TYPES=n.FLIPPED_ALIAS_KEYS.Private,t.FLOW_TYPES=n.FLIPPED_ALIAS_KEYS.Flow,t.FLOWTYPE_TYPES=n.FLIPPED_ALIAS_KEYS.FlowType,t.FLOWBASEANNOTATION_TYPES=n.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,t.FLOWDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.FlowDeclaration,t.FLOWPREDICATE_TYPES=n.FLIPPED_ALIAS_KEYS.FlowPredicate,t.ENUMBODY_TYPES=n.FLIPPED_ALIAS_KEYS.EnumBody,t.ENUMMEMBER_TYPES=n.FLIPPED_ALIAS_KEYS.EnumMember,t.JSX_TYPES=n.FLIPPED_ALIAS_KEYS.JSX,t.MISCELLANEOUS_TYPES=n.FLIPPED_ALIAS_KEYS.Miscellaneous,t.TYPESCRIPT_TYPES=n.FLIPPED_ALIAS_KEYS.TypeScript,t.TSTYPEELEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.TSTypeElement,t.TSTYPE_TYPES=n.FLIPPED_ALIAS_KEYS.TSType,t.TSBASETYPE_TYPES=n.FLIPPED_ALIAS_KEYS.TSBaseType,t.MODULEDECLARATION_TYPES=i},6496:(e,t)=>{"use strict";function r(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=void 0,t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],t.FLATTENABLE_KEYS=["body","expressions"],t.FOR_INIT_KEYS=["left","init"],t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];var i=t.LOGICAL_OPERATORS=["||","&&","??"],a=(t.UPDATE_OPERATORS=["++","--"],t.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="]),s=t.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],o=t.COMPARISON_BINARY_OPERATORS=[].concat(s,["in","instanceof"]),l=t.BOOLEAN_BINARY_OPERATORS=[].concat(r(o),a),u=t.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],c=(t.BINARY_OPERATORS=["+"].concat(u,r(l),["|>"]),t.ASSIGNMENT_OPERATORS=["=","+="].concat(r(u.map((function(e){return e+"="}))),r(i.map((function(e){return e+"="})))),t.BOOLEAN_UNARY_OPERATORS=["delete","!"]),p=t.NUMBER_UNARY_OPERATORS=["+","-","~"],h=t.STRING_UNARY_OPERATORS=["typeof"];t.UNARY_OPERATORS=["void","throw"].concat(c,p,h),t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},t.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),t.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")},7693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",r=(0,n.default)(e[t],e);return e[t]=r,r};var n=r(2708)},2211:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){var i,c=[],p=!0,h=n(t);try{for(h.s();!(i=h.n()).done;){var d=i.value;if((0,s.isEmptyStatement)(d)||(p=!1),(0,s.isExpression)(d))c.push(d);else if((0,s.isExpressionStatement)(d))c.push(d.expression);else if((0,s.isVariableDeclaration)(d)){if("var"!==d.kind)return;var f,y=n(d.declarations);try{for(y.s();!(f=y.n()).done;){for(var m=f.value,v=(0,a.default)(m),g=0,T=Object.keys(v);g<T.length;g++){var b=T[g];r.push({kind:d.kind,id:(0,u.default)(v[b])})}m.init&&c.push((0,o.assignmentExpression)("=",m.id,m.init))}}catch(e){y.e(e)}finally{y.f()}p=!0}else if((0,s.isIfStatement)(d)){var S=d.consequent?e([d.consequent],r):(0,l.buildUndefinedNode)(),x=d.alternate?e([d.alternate],r):(0,l.buildUndefinedNode)();if(!S||!x)return;c.push((0,o.conditionalExpression)(d.test,S,x))}else if((0,s.isBlockStatement)(d)){var E=e(d.body,r);if(!E)return;c.push(E)}else{if(!(0,s.isEmptyStatement)(d))return;0===t.indexOf(d)&&(p=!0)}}}catch(e){h.e(e)}finally{h.f()}return p&&c.push((0,l.buildUndefinedNode)()),1===c.length?c[0]:(0,o.sequenceExpression)(c)};var a=r(755),s=r(2302),o=r(4985),l=r(5279),u=r(5069)},3540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"eval"!==(e=(0,n.default)(e))&&"arguments"!==e||(e="_"+e),e};var n=r(6642)},2708:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isBlockStatement)(e))return e;var r=[];return(0,n.isEmptyStatement)(e)?r=[]:((0,n.isStatement)(e)||(e=(0,n.isFunction)(t)?(0,i.returnStatement)(e):(0,i.expressionStatement)(e)),r=[e]),(0,i.blockStatement)(r)};var n=r(2302),i=r(4985)},55:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.key||e.property;return!e.computed&&(0,n.isIdentifier)(t)&&(t=(0,i.stringLiteral)(t.name)),t};var n=r(2302),i=r(4985)},2599:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(2302);t.default=function(e){if((0,n.isExpressionStatement)(e)&&(e=e.expression),(0,n.isExpression)(e))return e;if((0,n.isClass)(e)?(e.type="ClassExpression",e.abstract=!1):(0,n.isFunction)(e)&&(e.type="FunctionExpression"),!(0,n.isExpression)(e))throw new Error("cannot turn ".concat(e.type," to an expression"));return e}},6642:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,r="",s=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}(e+="");try{for(s.s();!(t=s.n()).done;){var o=t.value;r+=(0,a.isIdentifierChar)(o.codePointAt(0))?o:"-"}}catch(e){s.e(e)}finally{s.f()}return r=(r=r.replace(/^[-0-9]+/,"")).replace(/[-\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""})),(0,i.default)(r)||(r="_".concat(r)),r||"_"};var i=r(8285),a=r(6640)},2936:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(2302),i=r(5069),a=r(9973);function s(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.key;return"method"===e.kind?s.increment()+"":(t=(0,n.isIdentifier)(r)?r.name:(0,n.isStringLiteral)(r)?JSON.stringify(r.value):JSON.stringify((0,a.default)((0,i.default)(r))),e.computed&&(t="[".concat(t,"]")),e.static&&(t="static:".concat(t)),t)}s.uid=0,s.increment=function(){return s.uid>=Number.MAX_SAFE_INTEGER?s.uid=0:s.uid++}},5150:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null!=e&&e.length){var r=[],i=(0,n.default)(e,r);if(i){for(var a=0,s=r;a<s.length;a++){var o=s[a];t.push(o)}return i}}};var n=r(2211)},3912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(2302),i=r(4985);t.default=function(e,t){if((0,n.isStatement)(e))return e;var r,a=!1;if((0,n.isClass)(e))a=!0,r="ClassDeclaration";else if((0,n.isFunction)(e))a=!0,r="FunctionDeclaration";else if((0,n.isAssignmentExpression)(e))return(0,i.expressionStatement)(e);if(a&&!e.id&&(r=!1),!r){if(t)return!1;throw new Error("cannot turn ".concat(e.type," to a statement"))}return e.type=r,e}},4542:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(8285),a=r(4985),s=(t.default=function e(t){if(void 0===t)return(0,a.identifier)("undefined");if(!0===t||!1===t)return(0,a.booleanLiteral)(t);if(null===t)return(0,a.nullLiteral)();if("string"==typeof t)return(0,a.stringLiteral)(t);var r,o;if("number"==typeof t)return Number.isFinite(t)?r=(0,a.numericLiteral)(Math.abs(t)):(o=Number.isNaN(t)?(0,a.numericLiteral)(0):(0,a.numericLiteral)(1),r=(0,a.binaryExpression)("/",o,(0,a.numericLiteral)(0))),(t<0||Object.is(t,-0))&&(r=(0,a.unaryExpression)("-",r)),r;if("bigint"==typeof t)return t<0?(0,a.unaryExpression)("-",(0,a.bigIntLiteral)(-t)):(0,a.bigIntLiteral)(t);if(function(e){return"[object RegExp]"===s(e)}(t)){var l=t.source,u=/\/([a-z]*)$/.exec(t.toString())[1];return(0,a.regExpLiteral)(l,u)}if(Array.isArray(t))return(0,a.arrayExpression)(t.map(e));if(function(e){if("object"!==n(e)||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(t)){for(var c=[],p=0,h=Object.keys(t);p<h.length;p++){var d=h[p],f=void 0,y=!1;(0,i.default)(d)?"__proto__"===d?(y=!0,f=(0,a.stringLiteral)(d)):f=(0,a.identifier)(d):f=(0,a.stringLiteral)(d),c.push((0,a.objectProperty)(f,e(t[d]),y))}return(0,a.objectExpression)(c)}throw new Error("don't know how to turn this value into a node")},Function.call.bind(Object.prototype.toString))},6936:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t,r){return(t=function(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.patternLikeCommon=t.importAttributes=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var u,c,p,h,d=r(5846),f=r(8285),y=r(6640),m=r(8979),v=r(6496),g=r(8650),T=(0,g.defineAliasedType)("Standardized");T("ArrayExpression",{fields:{elements:{validate:(0,g.arrayOf)((0,g.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),T("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign((u=g.assertOneOf.apply(void 0,s(v.ASSIGNMENT_OPERATORS)),c=(0,g.assertOneOf)("="),function(e,t,r){((0,d.default)("Pattern",e.left)?c:u)(e,t,r)}),{oneOf:v.ASSIGNMENT_OPERATORS}):(0,g.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,g.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,g.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),T("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:g.assertOneOf.apply(void 0,s(v.BINARY_OPERATORS))},left:{validate:(p=(0,g.assertNodeType)("Expression"),h=(0,g.assertNodeType)("Expression","PrivateName"),Object.assign((function(e,t,r){("in"===e.operator?h:p)(e,t,r)}),{oneOfNodeTypes:["Expression","PrivateName"]}))},right:{validate:(0,g.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),T("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,g.assertValueType)("string")}}}),T("Directive",{visitor:["value"],fields:{value:{validate:(0,g.assertNodeType)("DirectiveLiteral")}}}),T("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,g.assertValueType)("string")}}}),T("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,g.arrayOfType)("Directive"),default:[]},body:(0,g.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]}),T("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,g.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),T("CallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,g.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,g.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,g.assertNodeType)("TypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,g.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,g.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),T("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,g.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,g.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),T("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,g.assertNodeType)("Expression")},consequent:{validate:(0,g.assertNodeType)("Expression")},alternate:{validate:(0,g.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),T("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,g.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),T("DebuggerStatement",{aliases:["Statement"]}),T("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,g.assertNodeType)("Expression")},body:{validate:(0,g.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),T("EmptyStatement",{aliases:["Statement"]}),T("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,g.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),T("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,g.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.assertEach)((0,g.assertNodeType)("CommentBlock","CommentLine")):Object.assign((function(){}),{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,g.assertEach)(Object.assign((function(){}),{type:"any"})),optional:!0}}}),T("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,g.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,g.assertNodeType)("Expression")},body:{validate:(0,g.assertNodeType)("Statement")}}}),T("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,g.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,g.assertNodeType)("Expression"),optional:!0},update:{validate:(0,g.assertNodeType)("Expression"),optional:!0},body:{validate:(0,g.assertNodeType)("Statement")}}});var b=function(){return{params:(0,g.validateArrayOfType)("FunctionParameter"),generator:{default:!1},async:{default:!1}}};t.functionCommon=b;var S=function(){return{returnType:{validate:(0,g.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,g.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}}};t.functionTypeAnnotationCommon=S;var x=function(){return Object.assign({},b(),{declare:{validate:(0,g.assertValueType)("boolean"),optional:!0},id:{validate:(0,g.assertNodeType)("Identifier"),optional:!0}})};t.functionDeclarationCommon=x,T("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},x(),S(),{body:{validate:(0,g.assertNodeType)("BlockStatement")},predicate:{validate:(0,g.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){var e=(0,g.assertNodeType)("Identifier");return function(t,r,n){(0,d.default)("ExportDefaultDeclaration",t)||e(n,"id",n.id)}}():void 0}),T("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},b(),S(),{id:{validate:(0,g.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,g.assertNodeType)("BlockStatement")},predicate:{validate:(0,g.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});var E,P,A,k,w,C,I=function(){return{typeAnnotation:{validate:(0,g.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,g.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,g.arrayOfType)("Decorator"),optional:!0}}};t.patternLikeCommon=I,T("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","FunctionParameter","PatternLike","LVal","TSEntityName"],fields:Object.assign({},I(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.chain)((0,g.assertValueType)("string"),Object.assign((function(e,t,r){if(!(0,f.default)(r,!1))throw new TypeError('"'.concat(r,'" is not a valid identifier name'))}),{type:"string"})):(0,g.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t,r){var n=/\.(\w+)$/.exec(t.toString());if(n){var i=a(n,2)[1],s={computed:!1};if("property"===i){if((0,d.default)("MemberExpression",e,s))return;if((0,d.default)("OptionalMemberExpression",e,s))return}else if("key"===i){if((0,d.default)("Property",e,s))return;if((0,d.default)("Method",e,s))return}else if("exported"===i){if((0,d.default)("ExportSpecifier",e))return}else if("imported"===i){if((0,d.default)("ImportSpecifier",e,{imported:r}))return}else if("meta"===i&&(0,d.default)("MetaProperty",e,{meta:r}))return;if(((0,y.isKeyword)(r.name)||(0,y.isReservedWord)(r.name,!1))&&"this"!==r.name)throw new TypeError('"'.concat(r.name,'" is not a valid identifier'))}}:void 0}),T("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,g.assertNodeType)("Expression")},consequent:{validate:(0,g.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,g.assertNodeType)("Statement")}}}),T("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,g.assertNodeType)("Identifier")},body:{validate:(0,g.assertNodeType)("Statement")}}}),T("StringLiteral",{builder:["value"],fields:{value:{validate:(0,g.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),T("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,g.chain)((0,g.assertValueType)("number"),Object.assign((function(e,t,r){(1/r<0||!Number.isFinite(r))&&new Error("NumericLiterals must be non-negative finite numbers. "+"You can use t.valueToNode(".concat(r,") instead."))}),{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),T("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),T("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,g.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),T("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,g.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.chain)((0,g.assertValueType)("string"),Object.assign((function(e,t,r){var n=/[^dgimsuvy]/.exec(r);if(n)throw new TypeError('"'.concat(n[0],'" is not a valid RegExp flag'))}),{type:"string"})):(0,g.assertValueType)("string"),default:""}}}),T("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:g.assertOneOf.apply(void 0,s(v.LOGICAL_OPERATORS))},left:{validate:(0,g.assertNodeType)("Expression")},right:{validate:(0,g.assertNodeType)("Expression")}}}),T("MemberExpression",{builder:["object","property","computed"].concat(s(process.env.BABEL_TYPES_8_BREAKING?[]:["optional"])),visitor:["object","property"],aliases:["Expression","LVal","PatternLike"],fields:Object.assign({object:{validate:(0,g.assertNodeType)("Expression","Super")},property:{validate:(E=(0,g.assertNodeType)("Identifier","PrivateName"),P=(0,g.assertNodeType)("Expression"),A=function(e,t,r){(e.computed?P:E)(e,t,r)},A.oneOfNodeTypes=["Expression","Identifier","PrivateName"],A)},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,g.assertValueType)("boolean"),optional:!0}})}),T("NewExpression",{inherits:"CallExpression"}),T("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,g.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,g.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,g.arrayOfType)("Directive"),default:[]},body:(0,g.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]}),T("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,g.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}}),T("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},b(),S(),{kind:Object.assign({validate:(0,g.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){var e=(0,g.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,g.assertNodeType)("Expression"),r=function(r,n,i){(r.computed?t:e)(r,n,i)};return r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],r}()},decorators:{validate:(0,g.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,g.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),T("ObjectProperty",{builder:["key","value","computed","shorthand"].concat(s(process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"])),fields:{computed:{default:!1},key:{validate:function(){var e=(0,g.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),t=(0,g.assertNodeType)("Expression");return Object.assign((function(r,n,i){(r.computed?t:e)(r,n,i)}),{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,g.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.chain)((0,g.assertValueType)("boolean"),Object.assign((function(e,t,r){if(r){if(e.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,d.default)("Identifier",e.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),{type:"boolean"})):(0,g.assertValueType)("boolean"),default:!1},decorators:{validate:(0,g.arrayOfType)("Decorator"),optional:!0}},visitor:["decorators","key","value"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){var e=(0,g.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),t=(0,g.assertNodeType)("Expression");return function(r,n,i){((0,d.default)("ObjectPattern",r)?e:t)(i,"value",i.value)}}():void 0}),T("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["FunctionParameter","PatternLike","LVal"],deprecatedAlias:"RestProperty",fields:Object.assign({},I(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,g.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression","RestElement","AssignmentPattern")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t){var r=/(\w+)\[(\d+)\]/.exec(t.toString());if(!r)throw new Error("Internal Babel error: malformed key.");var n=a(r,3),i=n[1],s=n[2];if(e[i].length>+s+1)throw new TypeError("RestElement must be last element of ".concat(i))}:void 0}),T("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,g.assertNodeType)("Expression"),optional:!0}}}),T("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,g.validateArrayOfType)("Expression")},aliases:["Expression"]}),T("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,g.assertNodeType)("Expression")}}}),T("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,g.assertNodeType)("Expression"),optional:!0},consequent:(0,g.validateArrayOfType)("Statement")}}),T("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,g.assertNodeType)("Expression")},cases:(0,g.validateArrayOfType)("SwitchCase")}}),T("ThisExpression",{aliases:["Expression"]}),T("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,g.assertNodeType)("Expression")}}}),T("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.chain)((0,g.assertNodeType)("BlockStatement"),Object.assign((function(e){if(!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")}),{oneOfNodeTypes:["BlockStatement"]})):(0,g.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,g.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,g.assertNodeType)("BlockStatement")}}}),T("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,g.assertNodeType)("Expression")},operator:{validate:g.assertOneOf.apply(void 0,s(v.UNARY_OPERATORS))}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),T("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.assertNodeType)("Identifier","MemberExpression"):(0,g.assertNodeType)("Expression")},operator:{validate:g.assertOneOf.apply(void 0,s(v.UPDATE_OPERATORS))}},visitor:["argument"],aliases:["Expression"]}),T("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,g.assertValueType)("boolean"),optional:!0},kind:{validate:(0,g.assertOneOf)("var","let","const","using","await using")},declarations:(0,g.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(k=(0,g.assertNodeType)("Identifier","Placeholder"),w=(0,g.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder"),C=(0,g.assertNodeType)("Identifier","VoidPattern","Placeholder"),function(e,t,r){var n=r.kind,i=r.declarations,a=(0,d.default)("ForXStatement",e,{left:r});if(a&&1!==i.length)throw new TypeError("Exactly one VariableDeclarator is required in the VariableDeclaration of a ".concat(e.type));var s,l=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=o(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(s)throw i}}}}(i);try{for(l.s();!(s=l.n()).done;){var u=s.value;"const"===n||"let"===n||"var"===n?a||u.init?w(u,"id",u.id):k(u,"id",u.id):C(u,"id",u.id)}}catch(e){l.e(e)}finally{l.f()}}):void 0}),T("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","VoidPattern"):(0,g.assertNodeType)("LVal","VoidPattern")},definite:{optional:!0,validate:(0,g.assertValueType)("boolean")},init:{optional:!0,validate:(0,g.assertNodeType)("Expression")}}}),T("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,g.assertNodeType)("Expression")},body:{validate:(0,g.assertNodeType)("Statement")}}}),T("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,g.assertNodeType)("Expression")},body:{validate:(0,g.assertNodeType)("Statement")}}}),T("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},I(),{left:{validate:(0,g.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,g.assertNodeType)("Expression")},decorators:{validate:(0,g.arrayOfType)("Decorator"),optional:!0}})}),T("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},I(),{elements:{validate:(0,g.chain)((0,g.assertValueType)("array"),(0,g.assertEach)((0,g.assertNodeOrValueType)("null","PatternLike")))}})}),T("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},b(),S(),{expression:{validate:(0,g.assertValueType)("boolean")},body:{validate:(0,g.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,g.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),T("ClassBody",{visitor:["body"],fields:{body:(0,g.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),T("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:i(i(i(i({id:{validate:(0,g.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,g.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,g.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,g.assertNodeType)("Expression")}},"superTypeParameters",{validate:(0,g.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}),"implements",{validate:(0,g.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0}),"decorators",{validate:(0,g.arrayOfType)("Decorator"),optional:!0}),"mixins",{validate:(0,g.assertNodeType)("InterfaceExtends"),optional:!0})}),T("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:i(i(i(i(i(i({id:{validate:(0,g.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,g.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,g.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,g.assertNodeType)("Expression")}},"superTypeParameters",{validate:(0,g.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}),"implements",{validate:(0,g.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0}),"decorators",{validate:(0,g.arrayOfType)("Decorator"),optional:!0}),"mixins",{validate:(0,g.assertNodeType)("InterfaceExtends"),optional:!0}),"declare",{validate:(0,g.assertValueType)("boolean"),optional:!0}),"abstract",{validate:(0,g.assertValueType)("boolean"),optional:!0}),validate:process.env.BABEL_TYPES_8_BREAKING?function(){var e=(0,g.assertNodeType)("Identifier");return function(t,r,n){(0,d.default)("ExportDefaultDeclaration",t)||e(n,"id",n.id)}}():void 0});var O,N,D=t.importAttributes={attributes:{optional:!0,validate:(0,g.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,g.arrayOfType)("ImportAttribute")}};T("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,g.assertNodeType)("StringLiteral")},exportKind:(0,g.validateOptional)((0,g.assertOneOf)("type","value"))},D)}),T("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,g.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,g.validateOptional)((0,g.assertOneOf)("value"))}}),T("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.chain)((0,g.assertNodeType)("Declaration"),Object.assign((function(e,t,r){if(r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(r&&e.source)throw new TypeError("Cannot export a declaration from a source")}),{oneOfNodeTypes:["Declaration"]})):(0,g.assertNodeType)("Declaration")}},D,{specifiers:{default:[],validate:(0,g.arrayOf)((O=(0,g.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),N=(0,g.assertNodeType)("ExportSpecifier"),process.env.BABEL_TYPES_8_BREAKING?Object.assign((function(e,t,r){(e.source?O:N)(e,t,r)}),{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):O))},source:{validate:(0,g.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,g.validateOptional)((0,g.assertOneOf)("type","value"))})}),T("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,g.assertNodeType)("Identifier")},exported:{validate:(0,g.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,g.assertOneOf)("type","value"),optional:!0}}}),T("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,g.assertNodeType)("VariableDeclaration","LVal");var e=(0,g.assertNodeType)("VariableDeclaration"),t=(0,g.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign((function(r,n,i){(0,d.default)("VariableDeclaration",i)?e(r,n,i):t(r,n,i)}),{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:(0,g.assertNodeType)("Expression")},body:{validate:(0,g.assertNodeType)("Statement")},await:{default:!1}}}),T("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},D,{module:{optional:!0,validate:(0,g.assertValueType)("boolean")},phase:{default:null,validate:(0,g.assertOneOf)("source","defer")},specifiers:(0,g.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,g.assertNodeType)("StringLiteral")},importKind:{validate:(0,g.assertOneOf)("type","typeof","value"),optional:!0}})}),T("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,g.assertNodeType)("Identifier")}}}),T("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,g.assertNodeType)("Identifier")}}}),T("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,g.assertNodeType)("Identifier")},imported:{validate:(0,g.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,g.assertOneOf)("type","typeof","value"),optional:!0}}}),T("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,g.assertOneOf)("source","defer")},source:{validate:(0,g.assertNodeType)("Expression")},options:{validate:(0,g.assertNodeType)("Expression"),optional:!0}}}),T("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.chain)((0,g.assertNodeType)("Identifier"),Object.assign((function(e,t,r){var n;switch(r.name){case"function":n="sent";break;case"new":n="target";break;case"import":n="meta"}if(!(0,d.default)("Identifier",e.property,{name:n}))throw new TypeError("Unrecognised MetaProperty")}),{oneOfNodeTypes:["Identifier"]})):(0,g.assertNodeType)("Identifier")},property:{validate:(0,g.assertNodeType)("Identifier")}}});var _=function(){return{abstract:{validate:(0,g.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,g.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,g.assertValueType)("boolean"),optional:!0},key:{validate:(0,g.chain)(function(){var e=(0,g.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,g.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}(),(0,g.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}};t.classMethodOrPropertyCommon=_;var L=function(){return Object.assign({},b(),_(),{params:(0,g.validateArrayOfType)("FunctionParameter","TSParameterProperty"),kind:{validate:(0,g.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,g.chain)((0,g.assertValueType)("string"),(0,g.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,g.arrayOfType)("Decorator"),optional:!0}})};t.classMethodOrDeclareMethodCommon=L,T("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},L(),S(),{body:{validate:(0,g.assertNodeType)("BlockStatement")}})}),T("ObjectPattern",{visitor:["decorators","properties","typeAnnotation"],builder:["properties"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},I(),{properties:(0,g.validateArrayOfType)("RestElement","ObjectProperty")})}),T("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,g.assertNodeType)("Expression")}}}),T("Super",{aliases:["Expression"]}),T("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:i({tag:{validate:(0,g.assertNodeType)("Expression")},quasi:{validate:(0,g.assertNodeType)("TemplateLiteral")}},"typeParameters",{validate:(0,g.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0})}),T("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,g.chain)((0,g.assertShape)({raw:{validate:(0,g.assertValueType)("string")},cooked:{validate:(0,g.assertValueType)("string"),optional:!0}}),(function(e){var t=e.value.raw,r=!1,n=function(){throw new Error("Internal @babel/types error.")},i=(0,m.readStringContents)("template",t,0,0,0,{unterminated:function(){r=!0},strictNumericEscape:n,invalidEscapeSequence:n,numericSeparatorInEscapeSequence:n,unexpectedNumericSeparator:n,invalidDigit:n,invalidCodePoint:n}),a=i.str,s=i.firstInvalidLoc;if(!r)throw new Error("Invalid raw");e.value.cooked=s?null:a}))},tail:{default:!1}}}),T("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,g.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,g.chain)((0,g.assertValueType)("array"),(0,g.assertEach)((0,g.assertNodeType)("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError("Number of ".concat(e.type," quasis should be exactly one more than the number of expressions.\nExpected ").concat(r.length+1," quasis but got ").concat(e.quasis.length))}))}}}),T("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.chain)((0,g.assertValueType)("boolean"),Object.assign((function(e,t,r){if(r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}),{type:"boolean"})):(0,g.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,g.assertNodeType)("Expression")}}}),T("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,g.assertNodeType)("Expression")}}}),T("Import",{aliases:["Expression"]}),T("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,g.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),T("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,g.assertNodeType)("Identifier")}}}),T("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,g.assertNodeType)("Expression")},property:{validate:function(){var e=(0,g.assertNodeType)("Identifier"),t=(0,g.assertNodeType)("Expression");return Object.assign((function(r,n,i){(r.computed?t:e)(r,n,i)}),{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.chain)((0,g.assertValueType)("boolean"),(0,g.assertOptionalChainStart)()):(0,g.assertValueType)("boolean")}}}),T("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,g.assertNodeType)("Expression")},arguments:(0,g.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,g.chain)((0,g.assertValueType)("boolean"),(0,g.assertOptionalChainStart)()):(0,g.assertValueType)("boolean")},typeArguments:{validate:(0,g.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,g.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),T("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},_(),{value:{validate:(0,g.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,g.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,g.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,g.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,g.assertValueType)("boolean"),optional:!0},declare:{validate:(0,g.assertValueType)("boolean"),optional:!0},variance:{validate:(0,g.assertNodeType)("Variance"),optional:!0}})}),T("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},_(),{key:{validate:(0,g.chain)(function(){var e=(0,g.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=(0,g.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}(),(0,g.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,g.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,g.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,g.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,g.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,g.assertValueType)("boolean"),optional:!0},declare:{validate:(0,g.assertValueType)("boolean"),optional:!0},variance:{validate:(0,g.assertNodeType)("Variance"),optional:!0}})}),T("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,g.assertNodeType)("PrivateName")},value:{validate:(0,g.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,g.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,g.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,g.assertValueType)("boolean"),default:!1},readonly:{validate:(0,g.assertValueType)("boolean"),optional:!0},optional:{validate:(0,g.assertValueType)("boolean"),optional:!0},definite:{validate:(0,g.assertValueType)("boolean"),optional:!0},variance:{validate:(0,g.assertNodeType)("Variance"),optional:!0}}}),T("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},L(),S(),{kind:{validate:(0,g.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,g.assertNodeType)("PrivateName")},body:{validate:(0,g.assertNodeType)("BlockStatement")}})}),T("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,g.assertNodeType)("Identifier")}}}),T("StaticBlock",{visitor:["body"],fields:{body:(0,g.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]}),T("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,g.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,g.assertNodeType)("StringLiteral")}}})},1791:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEPRECATED_ALIASES=void 0,t.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},1741:(e,t,r)=>{"use strict";var n=r(8650);(0,n.default)("ArgumentPlaceholder",{}),(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}:{object:{validate:Object.assign((function(){}),{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign((function(){}),{oneOfNodeTypes:["Expression"]})}}}),(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:!1}}}),(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,n.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]}),(0,n.default)("TopicReference",{aliases:["Expression"]}),(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,n.default)("VoidPattern",{aliases:["Pattern","PatternLike","FunctionParameter"]})},8259:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var i=r(6936),a=r(8650),s=(0,a.defineAliasedType)("Flow"),o=function(e){var t,r="DeclareClass"===e;s(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends"].concat((t=r?["mixins","implements"]:[],function(e){if(Array.isArray(e))return n(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),["body"]),aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),extends:(0,a.validateOptional)((0,a.arrayOfType)("InterfaceExtends"))},r?{mixins:(0,a.validateOptional)((0,a.arrayOfType)("InterfaceExtends")),implements:(0,a.validateOptional)((0,a.arrayOfType)("ClassImplements"))}:{},{body:(0,a.validateType)("ObjectTypeAnnotation")})})};s("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,a.validateType)("FlowType")}}),s("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,a.validate)((0,a.assertValueType)("boolean"))}}),s("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterInstantiation")}}),o("DeclareClass"),s("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),predicate:(0,a.validateOptionalType)("DeclaredPredicate")}}),o("DeclareInterface"),s("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier","StringLiteral"),body:(0,a.validateType)("BlockStatement"),kind:(0,a.validateOptional)((0,a.assertOneOf)("CommonJS","ES"))}}),s("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,a.validateType)("TypeAnnotation")}}),s("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),right:(0,a.validateType)("FlowType")}}),s("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,a.validateOptionalType)("FlowType"),impltype:(0,a.validateOptionalType)("FlowType")}}),s("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier")}}),s("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,a.validateOptionalType)("Flow"),specifiers:(0,a.validateOptional)((0,a.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,a.validateOptionalType)("StringLiteral"),default:(0,a.validateOptional)((0,a.assertValueType)("boolean"))},i.importAttributes)}),s("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,a.validateType)("StringLiteral"),exportKind:(0,a.validateOptional)((0,a.assertOneOf)("type","value"))},i.importAttributes)}),s("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,a.validateType)("Flow")}}),s("ExistsTypeAnnotation",{aliases:["FlowType"]}),s("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),params:(0,a.validateArrayOfType)("FunctionTypeParam"),rest:(0,a.validateOptionalType)("FunctionTypeParam"),this:(0,a.validateOptionalType)("FunctionTypeParam"),returnType:(0,a.validateType)("FlowType")}}),s("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,a.validateOptionalType)("Identifier"),typeAnnotation:(0,a.validateType)("FlowType"),optional:(0,a.validateOptional)((0,a.assertValueType)("boolean"))}}),s("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,a.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterInstantiation")}}),s("InferredPredicate",{aliases:["FlowPredicate"]}),s("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,a.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterInstantiation")}}),o("InterfaceDeclaration"),s("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,a.validateOptional)((0,a.arrayOfType)("InterfaceExtends")),body:(0,a.validateType)("ObjectTypeAnnotation")}}),s("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,a.validate)((0,a.arrayOfType)("FlowType"))}}),s("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,a.validateType)("FlowType")}}),s("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,a.validate)((0,a.assertValueType)("number"))}}),s("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,a.validate)((0,a.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,a.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,a.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,a.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,a.assertValueType)("boolean"),default:!1},inexact:(0,a.validateOptional)((0,a.assertValueType)("boolean"))}}),s("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,a.validateType)("Identifier"),value:(0,a.validateType)("FlowType"),optional:(0,a.validate)((0,a.assertValueType)("boolean")),static:(0,a.validate)((0,a.assertValueType)("boolean")),method:(0,a.validate)((0,a.assertValueType)("boolean"))}}),s("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,a.validateType)("FlowType"),static:(0,a.validate)((0,a.assertValueType)("boolean"))}}),s("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,a.validateOptionalType)("Identifier"),key:(0,a.validateType)("FlowType"),value:(0,a.validateType)("FlowType"),static:(0,a.validate)((0,a.assertValueType)("boolean")),variance:(0,a.validateOptionalType)("Variance")}}),s("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,a.validateType)("Identifier","StringLiteral"),value:(0,a.validateType)("FlowType"),kind:(0,a.validate)((0,a.assertOneOf)("init","get","set")),static:(0,a.validate)((0,a.assertValueType)("boolean")),proto:(0,a.validate)((0,a.assertValueType)("boolean")),optional:(0,a.validate)((0,a.assertValueType)("boolean")),variance:(0,a.validateOptionalType)("Variance"),method:(0,a.validate)((0,a.assertValueType)("boolean"))}}),s("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,a.validateType)("FlowType")}}),s("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,a.validateOptionalType)("FlowType"),impltype:(0,a.validateType)("FlowType")}}),s("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,a.validateType)("Identifier"),qualification:(0,a.validateType)("Identifier","QualifiedTypeIdentifier")}}),s("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,a.validate)((0,a.assertValueType)("string"))}}),s("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,a.validate)((0,a.arrayOfType)("FlowType"))}}),s("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,a.validateType)("FlowType")}}),s("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),right:(0,a.validateType)("FlowType")}}),s("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,a.validateType)("FlowType")}}),s("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,a.validateType)("Expression"),typeAnnotation:(0,a.validateType)("TypeAnnotation")}}),s("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,a.validate)((0,a.assertValueType)("string")),bound:(0,a.validateOptionalType)("TypeAnnotation"),default:(0,a.validateOptionalType)("FlowType"),variance:(0,a.validateOptionalType)("Variance")}}),s("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,a.validate)((0,a.arrayOfType)("TypeParameter"))}}),s("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,a.validate)((0,a.arrayOfType)("FlowType"))}}),s("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,a.validate)((0,a.arrayOfType)("FlowType"))}}),s("Variance",{builder:["kind"],fields:{kind:(0,a.validate)((0,a.assertOneOf)("minus","plus"))}}),s("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,a.validateType)("Identifier"),body:(0,a.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),s("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,a.validate)((0,a.assertValueType)("boolean")),members:(0,a.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,a.validate)((0,a.assertValueType)("boolean"))}}),s("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,a.validate)((0,a.assertValueType)("boolean")),members:(0,a.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,a.validate)((0,a.assertValueType)("boolean"))}}),s("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,a.validate)((0,a.assertValueType)("boolean")),members:(0,a.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,a.validate)((0,a.assertValueType)("boolean"))}}),s("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,a.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,a.validate)((0,a.assertValueType)("boolean"))}}),s("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,a.validateType)("Identifier"),init:(0,a.validateType)("BooleanLiteral")}}),s("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,a.validateType)("Identifier"),init:(0,a.validateType)("NumericLiteral")}}),s("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,a.validateType)("Identifier"),init:(0,a.validateType)("StringLiteral")}}),s("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,a.validateType)("Identifier")}}),s("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,a.validateType)("FlowType"),indexType:(0,a.validateType)("FlowType")}}),s("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,a.validateType)("FlowType"),indexType:(0,a.validateType)("FlowType"),optional:(0,a.validate)((0,a.assertValueType)("boolean"))}})},7356:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return a.ALIAS_KEYS}}),Object.defineProperty(t,"BUILDER_KEYS",{enumerable:!0,get:function(){return a.BUILDER_KEYS}}),Object.defineProperty(t,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return o.DEPRECATED_ALIASES}}),Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return a.DEPRECATED_KEYS}}),Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return a.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,"NODE_FIELDS",{enumerable:!0,get:function(){return a.NODE_FIELDS}}),Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return a.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(t,"PLACEHOLDERS",{enumerable:!0,get:function(){return s.PLACEHOLDERS}}),Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return s.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0,Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return a.VISITOR_KEYS}}),r(6936),r(8259),r(1354),r(4211),r(1741),r(204);var a=r(8650),s=r(4897),o=r(1791);Object.keys(o.DEPRECATED_ALIASES).forEach((function(e){a.FLIPPED_ALIAS_KEYS[e]=a.FLIPPED_ALIAS_KEYS[o.DEPRECATED_ALIASES[e]]}));var l,u=n(a.allExpandedTypes);try{for(u.s();!(l=u.n()).done;){var c,p=l.value,h=p.types,d=p.set,f=n(h);try{for(f.s();!(c=f.n()).done;){var y=c.value,m=a.FLIPPED_ALIAS_KEYS[y];m?m.forEach(d.add,d):d.add(y)}}catch(e){f.e(e)}finally{f.f()}}}catch(e){u.e(e)}finally{u.f()}t.TYPES=[].concat(Object.keys(a.VISITOR_KEYS),Object.keys(a.FLIPPED_ALIAS_KEYS),Object.keys(a.DEPRECATED_KEYS))},1354:(e,t,r)=>{"use strict";var n=r(8650),i=(0,n.defineAliasedType)("JSX");i("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),i("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),i("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,n.assertNodeType)("JSXClosingElement")},children:(0,n.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:!0}})}),i("JSXEmptyExpression",{}),i("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}}),i("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),i("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}}),i("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),i("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),i("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,n.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,n.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),i("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),i("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}}),i("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:(0,n.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),i("JSXOpeningFragment",{aliases:["Immutable"]}),i("JSXClosingFragment",{aliases:["Immutable"]})},4211:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var i,a=r(8650),s=r(4897),o=r(6936),l=(0,a.defineAliasedType)("Miscellaneous");l("Noop",{visitor:[]}),l("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,a.assertNodeType)("Identifier")},expectedNode:{validate:a.assertOneOf.apply(void 0,(i=s.PLACEHOLDERS,function(e){if(Array.isArray(e))return n(e)}(i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))}},(0,o.patternLikeCommon)())}),l("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,a.assertValueType)("string")}}})},4897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;for(var n=r(8650),i=t.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],a=t.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]},s=0,o=i;s<o.length;s++){var l=o[s],u=n.ALIAS_KEYS[l];null!=u&&u.length&&(a[l]=u)}var c=t.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(a).forEach((function(e){a[e].forEach((function(t){hasOwnProperty.call(c,t)||(c[t]=[]),c[t].push(e)}))}))},204:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t,r){return(t=function(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(8650),s=r(6936),o=r(5846),l=(0,a.defineAliasedType)("TypeScript"),u=(0,a.assertValueType)("boolean"),c=function(){return{returnType:{validate:(0,a.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,a.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}}};l("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,a.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,a.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,a.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,a.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,a.arrayOfType)("Decorator"),optional:!0}}}),l("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,s.functionDeclarationCommon)(),c())}),l("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,s.classMethodOrDeclareMethodCommon)(),c())}),l("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,a.validateType)("TSEntityName"),right:(0,a.validateType)("Identifier")}});var p=function(){return i(i({typeParameters:(0,a.validateOptionalType)("TSTypeParameterDeclaration")},"parameters",(0,a.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement")),"typeAnnotation",(0,a.validateOptionalType)("TSTypeAnnotation"))},h={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:p()};l("TSCallSignatureDeclaration",h),l("TSConstructSignatureDeclaration",h);var d=function(){return{key:(0,a.validateType)("Expression"),computed:{default:!1},optional:(0,a.validateOptional)(u)}};l("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},d(),{readonly:(0,a.validateOptional)(u),typeAnnotation:(0,a.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,a.assertOneOf)("get","set")}})}),l("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},p(),d(),{kind:{validate:(0,a.assertOneOf)("method","get","set")}})}),l("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,a.validateOptional)(u),static:(0,a.validateOptional)(u),parameters:(0,a.validateArrayOfType)("Identifier"),typeAnnotation:(0,a.validateOptionalType)("TSTypeAnnotation")}});for(var f=0,y=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];f<y.length;f++)l(y[f],{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});l("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var m={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};l("TSFunctionType",Object.assign({},m,{fields:p()})),l("TSConstructorType",Object.assign({},m,{fields:Object.assign({},p(),{abstract:(0,a.validateOptional)(u)})})),l("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:i({typeName:(0,a.validateType)("TSEntityName")},"typeParameters",(0,a.validateOptionalType)("TSTypeParameterInstantiation"))}),l("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,a.validateType)("Identifier","TSThisType"),typeAnnotation:(0,a.validateOptionalType)("TSTypeAnnotation"),asserts:(0,a.validateOptional)(u)}}),l("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:i({exprName:(0,a.validateType)("TSEntityName","TSImportType")},"typeParameters",(0,a.validateOptionalType)("TSTypeParameterInstantiation"))}),l("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,a.validateArrayOfType)("TSTypeElement")}}),l("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,a.validateType)("TSType")}}),l("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,a.validateArrayOfType)("TSType","TSNamedTupleMember")}}),l("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,a.validateType)("TSType")}}),l("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,a.validateType)("TSType")}}),l("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,a.validateType)("Identifier"),optional:{validate:u,default:!1},elementType:(0,a.validateType)("TSType")}});var v={aliases:["TSType"],visitor:["types"],fields:{types:(0,a.validateArrayOfType)("TSType")}};l("TSUnionType",v),l("TSIntersectionType",v),l("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,a.validateType)("TSType"),extendsType:(0,a.validateType)("TSType"),trueType:(0,a.validateType)("TSType"),falseType:(0,a.validateType)("TSType")}}),l("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,a.validateType)("TSTypeParameter")}}),l("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,a.validateType)("TSType")}}),l("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],builder:["typeAnnotation","operator"],fields:{operator:{validate:(0,a.assertValueType)("string"),default:"keyof"},typeAnnotation:(0,a.validateType)("TSType")}}),l("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,a.validateType)("TSType"),indexType:(0,a.validateType)("TSType")}}),l("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,a.validateType)("TSTypeParameter")},{readonly:(0,a.validateOptional)((0,a.assertOneOf)(!0,!1,"+","-")),optional:(0,a.validateOptional)((0,a.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,a.validateOptionalType)("TSType"),nameType:(0,a.validateOptionalType)("TSType")})}),l("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,a.validateArrayOfType)("TemplateElement"),types:{validate:(0,a.chain)((0,a.assertValueType)("array"),(0,a.assertEach)((0,a.assertNodeType)("TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError("Number of ".concat(e.type," quasis should be exactly one more than the number of types.\nExpected ").concat(r.length+1," quasis but got ").concat(e.quasis.length))}))}}}),l("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){var e=(0,a.assertNodeType)("NumericLiteral","BigIntLiteral"),t=(0,a.assertOneOf)("-"),r=(0,a.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function n(n,i,a){(0,o.default)("UnaryExpression",a)?(t(a,"operator",a.operator),e(a,"argument",a.argument)):r(n,i,a)}return n.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],n}()}}}),l("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,a.validateType)("TSEntityName"),typeParameters:(0,a.validateOptionalType)("TSTypeParameterInstantiation")}}),l("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,a.validateOptional)(u),id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,a.validateOptional)((0,a.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,a.validateType)("TSInterfaceBody")}}),l("TSInterfaceBody",{visitor:["body"],fields:{body:(0,a.validateArrayOfType)("TSTypeElement")}}),l("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,a.validateOptional)(u),id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,a.validateType)("TSType")}}),l("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:i({expression:(0,a.validateType)("Expression")},"typeParameters",(0,a.validateOptionalType)("TSTypeParameterInstantiation"))});var g={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,a.validateType)("Expression"),typeAnnotation:(0,a.validateType)("TSType")}};l("TSAsExpression",g),l("TSSatisfiesExpression",g),l("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,a.validateType)("TSType"),expression:(0,a.validateType)("Expression")}}),l("TSEnumBody",{visitor:["members"],fields:{members:(0,a.validateArrayOfType)("TSEnumMember")}}),l("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,a.validateOptional)(u),const:(0,a.validateOptional)(u),id:(0,a.validateType)("Identifier"),members:(0,a.validateArrayOfType)("TSEnumMember"),initializer:(0,a.validateOptionalType)("Expression"),body:(0,a.validateOptionalType)("TSEnumBody")}}),l("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,a.validateType)("Identifier","StringLiteral"),initializer:(0,a.validateOptionalType)("Expression")}}),l("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,a.assertOneOf)("global","module","namespace")},declare:(0,a.validateOptional)(u)},{global:(0,a.validateOptional)(u)},{id:(0,a.validateType)("Identifier","StringLiteral"),body:(0,a.validateType)("TSModuleBlock","TSModuleDeclaration")})}),l("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,a.validateArrayOfType)("Statement")}}),l("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:i(i({argument:(0,a.validateType)("StringLiteral"),qualifier:(0,a.validateOptionalType)("TSEntityName")},"typeParameters",(0,a.validateOptionalType)("TSTypeParameterInstantiation")),"options",{validate:(0,a.assertNodeType)("ObjectExpression"),optional:!0})}),l("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,a.validate)(u)},{id:(0,a.validateType)("Identifier"),moduleReference:(0,a.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,a.assertOneOf)("type","value"),optional:!0}})}),l("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,a.validateType)("StringLiteral")}}),l("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,a.validateType)("Expression")}}),l("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,a.validateType)("Expression")}}),l("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,a.validateType)("Identifier")}}),l("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,a.assertNodeType)("TSType")}}}),l("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,a.validateArrayOfType)("TSType")}}),l("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,a.validateArrayOfType)("TSTypeParameter")}}),l("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,a.assertValueType)("string")},in:{validate:(0,a.assertValueType)("boolean"),optional:!0},out:{validate:(0,a.assertValueType)("boolean"),optional:!0},const:{validate:(0,a.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,a.assertNodeType)("TSType"),optional:!0},default:{validate:(0,a.assertNodeType)("TSType"),optional:!0}}})},8650:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function i(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.allExpandedTypes=t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0,t.arrayOf=g,t.arrayOfType=T,t.assertEach=b,t.assertNodeOrValueType=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];function i(e,r,i){var a,s=m(i),u=n(t);try{for(u.s();!(a=u.n()).done;){var c=a.value;if(s===c||(0,o.default)(c,i))return void(0,l.validateChild)(e,r,i)}}catch(e){u.e(e)}finally{u.f()}throw new TypeError("Property ".concat(r," of ").concat(e.type," expected node to be of a type ").concat(JSON.stringify(t)," but instead got ").concat(JSON.stringify(null==i?void 0:i.type)))}return i.oneOfNodeOrValueTypes=t,i},t.assertNodeType=x,t.assertOneOf=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];function n(e,r,n){if(!t.includes(n))throw new TypeError("Property ".concat(r," expected value to be one of ").concat(JSON.stringify(t)," but got ").concat(JSON.stringify(n)))}return n.oneOf=t,n},t.assertOptionalChainStart=function(){return function(e){for(var t,r=e;e;){var n=r.type;if("OptionalCallExpression"!==n){if("OptionalMemberExpression"!==n)break;if(r.optional)return;r=r.object}else{if(r.optional)return;r=r.callee}}throw new TypeError("Non-optional ".concat(e.type," must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ").concat(null==(t=r)?void 0:t.type))}},t.assertShape=function(e){var t=Object.keys(e);function r(r,i,a){var s,o=[],u=n(t);try{for(u.s();!(s=u.n()).done;){var c=s.value;try{(0,l.validateField)(r,c,a[c],e[c])}catch(e){if(e instanceof TypeError){o.push(e.message);continue}throw e}}}catch(e){u.e(e)}finally{u.f()}if(o.length)throw new TypeError("Property ".concat(i," of ").concat(r.type," expected to have the following:\n").concat(o.join("\n")))}return r.shapeOf=e,r},t.assertValueType=E,t.chain=P,t.default=C,t.defineAliasedType=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){var r,n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=s.aliases;o||(s.inherits&&(o=null==(n=w[s.inherits].aliases)?void 0:n.slice()),null!=o||(o=[]),s.aliases=o);var l,u=t.filter((function(e){return!o.includes(e)}));(r=o).unshift.apply(r,function(e){if(Array.isArray(e))return a(e)}(l=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||i(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),C(e,s)}},t.validate=v,t.validateArrayOfType=function(){return v(T.apply(void 0,arguments))},t.validateOptional=function(e){return{validate:e,optional:!0}},t.validateOptionalType=function(){return{validate:x.apply(void 0,arguments),optional:!0}},t.validateType=function(){return v(x.apply(void 0,arguments))};var o=r(5846),l=r(3592),u=t.VISITOR_KEYS={},c=t.ALIAS_KEYS={},p=t.FLIPPED_ALIAS_KEYS={},h=t.NODE_FIELDS={},d=t.BUILDER_KEYS={},f=t.DEPRECATED_KEYS={},y=t.NODE_PARENT_VALIDATIONS={};function m(e){return Array.isArray(e)?"array":null===e?"null":s(e)}function v(e){return{validate:e}}function g(e){return P(E("array"),b(e))}function T(){return g(x.apply(void 0,arguments))}function b(e){var t=process.env.BABEL_TYPES_8_BREAKING?l.validateChild:function(){};function r(r,n,i){if(Array.isArray(i))for(var a=0,s={toString:function(){return"".concat(n,"[").concat(a,"]")}};a<i.length;a++){var o=i[a];e(r,s,o),t(r,s,o)}}return r.each=e,r}var S=t.allExpandedTypes=[];function x(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=new Set;function a(e,r,a){var s=null==a?void 0:a.type;if(null!=s){if(i.has(s))return void(0,l.validateChild)(e,r,a);if("Placeholder"===s){var u,c=n(t);try{for(c.s();!(u=c.n()).done;){var p=u.value;if((0,o.default)(p,a))return void(0,l.validateChild)(e,r,a)}}catch(e){c.e(e)}finally{c.f()}}}throw new TypeError("Property ".concat(r," of ").concat(e.type," expected node to be of a type ").concat(JSON.stringify(t)," but instead got ").concat(JSON.stringify(s)))}return S.push({types:t,set:i}),a.oneOfNodeTypes=t,a}function E(e){function t(t,r,n){if(m(n)!==e)throw new TypeError("Property ".concat(r," expected type of ").concat(e," but got ").concat(m(n)))}return t.type=e,t}function P(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];function i(){var e,r=n(t);try{for(r.s();!(e=r.n()).done;)e.value.apply(void 0,arguments)}catch(e){r.e(e)}finally{r.f()}}if(i.chainOf=t,t.length>=2&&"type"in t[0]&&"array"===t[0].type&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return i}var A=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),k=new Set(["default","optional","deprecated","validate"]),w={};function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.inherits&&w[t.inherits]||{},i=t.fields;if(!i&&(i={},r.fields)){var a,o=n(Object.getOwnPropertyNames(r.fields));try{for(o.s();!(a=o.n()).done;){var l=a.value,v=r.fields[l],g=v.default;if(Array.isArray(g)?g.length>0:g&&"object"===s(g))throw new Error("field defaults can only be primitives or empty arrays currently");i[l]={default:Array.isArray(g)?[]:g,optional:v.optional,deprecated:v.deprecated,validate:v.validate}}}catch(e){o.e(e)}finally{o.f()}}for(var T=t.visitor||r.visitor||[],b=t.aliases||r.aliases||[],S=t.builder||r.builder||t.visitor||[],x=0,P=Object.keys(t);x<P.length;x++){var C=P[x];if(!A.has(C))throw new Error('Unknown type option "'.concat(C,'" on ').concat(e))}t.deprecatedAlias&&(f[t.deprecatedAlias]=e);var I,O=n(T.concat(S));try{for(O.s();!(I=O.n()).done;){var N=I.value;i[N]=i[N]||{}}}catch(e){O.e(e)}finally{O.f()}for(var D=0,_=Object.keys(i);D<_.length;D++){var L=_[D],M=i[L];void 0===M.default||S.includes(L)||(M.optional=!0),void 0===M.default?M.default=null:M.validate||null==M.default||(M.validate=E(m(M.default)));for(var F=0,j=Object.keys(M);F<j.length;F++){var B=j[F];if(!k.has(B))throw new Error('Unknown field key "'.concat(B,'" on ').concat(e,".").concat(L))}}u[e]=t.visitor=T,d[e]=t.builder=S,h[e]=t.fields=i,c[e]=t.aliases=b,b.forEach((function(t){p[t]=p[t]||[],p[t].push(e)})),t.validate&&(y[e]=t.validate),w[e]=t}},7078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(t,"__internal__deprecationWarning",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(t,"addComment",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"addComments",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"appendToMemberExpression",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"cloneNode",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"cloneWithoutLoc",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"createFlowUnionType",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"createTSUnionType",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"ensureBlock",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"getFunctionName",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"inheritInnerComments",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"inheritLeadingComments",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"inheritTrailingComments",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"inheritsComments",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"isPlaceholderType",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,"isType",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(t,"isValidES3Identifier",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(t,"matchesPattern",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(t,"prependToMemberExpression",{enumerable:!0,get:function(){return U.default}}),t.react=void 0,Object.defineProperty(t,"removeComments",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"removeProperties",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"removePropertiesDeep",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"shallowEqual",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"traverseFast",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return F.default}});var i=r(7924),a=r(8986),s=r(7636),o=r(3166),l=r(2912);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var u=r(1900),c=r(1275),p=r(515),h=r(5279);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var d=r(4985);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var f=r(5069),y=r(3161),m=r(7075),v=r(6881),g=r(3679),T=r(1109),b=r(2128),S=r(1494),x=r(5444),E=r(6095),P=r(3160),A=r(3815),k=r(6030);Object.keys(k).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===k[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return k[e]}}))}));var w=r(6496);Object.keys(w).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===w[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}}))}));var C=r(7693),I=r(3540),O=r(2708),N=r(55),D=r(2599),_=r(6642),L=r(2936),M=r(3912),F=r(4542),j=r(7356);Object.keys(j).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===j[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return j[e]}}))}));var B=r(3551),R=r(8322),U=r(1025),K=r(6059),V=r(9973),q=r(7823),W=r(6681),Y=r(755),J=r(866),X=r(7815),H=r(5915);Object.keys(H).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===H[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return H[e]}}))}));var z=r(3557),G=r(9066),$=r(5846),Q=r(5581),Z=r(4209),ee=r(9764),te=r(5277),re=r(4318),ne=r(5005),ie=r(7141),ae=r(261),se=r(9752),oe=r(8871),le=r(6942),ue=r(5170),ce=r(8285),pe=r(2937),he=r(5435),de=r(3592),fe=r(9715),ye=r(2302);Object.keys(ye).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===ye[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ye[e]}}))}));var me=r(6028),ve=r(5150);t.react={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default},t.toSequenceExpression=ve.default,process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")},3551:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.object=(0,n.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e};var n=r(4985)},7823:(e,t,r)=>{"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=s(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw a}}}}function a(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){for(var r=Array.from(t),s=new Map,o=new Map,c=new Set,p=[],h=0;h<r.length;h++){var d=r[h];if(d&&!p.includes(d)){if((0,l.isAnyTypeAnnotation)(d))return[d];if((0,l.isFlowBaseAnnotation)(d))o.set(d.type,d);else if((0,l.isUnionTypeAnnotation)(d))c.has(d.types)||(r.push.apply(r,a(d.types)),c.add(d.types));else if((0,l.isGenericTypeAnnotation)(d)){var f=u(d.id);if(s.has(f)){var y,m=s.get(f);m.typeParameters?d.typeParameters&&((y=m.typeParameters.params).push.apply(y,a(d.typeParameters.params)),m.typeParameters.params=e(m.typeParameters.params)):m=d.typeParameters}else s.set(f,d)}else p.push(d)}}var v,g=i(o);try{for(g.s();!(v=g.n()).done;){var T=n(v.value,2)[1];p.push(T)}}catch(e){g.e(e)}finally{g.f()}var b,S=i(s);try{for(S.s();!(b=S.n()).done;){var x=n(b.value,2)[1];p.push(x)}}catch(e){S.e(e)}finally{S.f()}return p};var l=r(2302);function u(e){return(0,l.isIdentifier)(e)?e.name:"".concat(e.id.name,".").concat(u(e.qualification))}},8322:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!t)return e;var r,i=n(a.INHERIT_KEYS.optional);try{for(i.s();!(r=i.n()).done;){var o=r.value;null==e[o]&&(e[o]=t[o])}}catch(e){i.e(e)}finally{i.f()}for(var l=0,u=Object.keys(t);l<u.length;l++){var c=u[l];"_"===c[0]&&"__clone"!==c&&(e[c]=t[c])}var p,h=n(a.INHERIT_KEYS.force);try{for(h.s();!(p=h.n()).done;){var d=p.value;e[d]=t[d]}}catch(e){h.e(e)}finally{h.f()}return(0,s.default)(e,t),e};var a=r(6496),s=r(6095)},1025:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.isSuper)(e.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return e.object=(0,n.memberExpression)(t,e.object),e};var n=r(4985),i=r(7078)},6059:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function i(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,r=n((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).preserveComments?l:u);try{for(r.s();!(t=r.n()).done;){var i=t.value;null!=e[i]&&(e[i]=void 0)}}catch(e){r.e(e)}finally{r.f()}for(var a=0,s=Object.keys(e);a<s.length;a++){var o=s[a];"_"===o[0]&&null!=e[o]&&(e[o]=void 0)}var c,p=n(Object.getOwnPropertySymbols(e));try{for(p.s();!(c=p.n()).done;)e[c.value]=null}catch(e){p.e(e)}finally{p.f()}};var s,o=r(6496),l=["tokens","start","end","loc","raw","rawValue"],u=[].concat(function(e){if(Array.isArray(e))return a(e)}(s=o.COMMENT_KEYS)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||i(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),["comments"],l)},9973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e,i.default,t),e};var n=r(3557),i=r(6059)},6918:(e,t,r)=>{"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=s(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw a}}}}function a(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){for(var r=Array.from(t),s=new Map,o=new Map,c=new Set,p=[],h=0;h<r.length;h++){var d=r[h];if(d&&!p.includes(d)){if((0,l.isTSAnyKeyword)(d))return[d];if((0,l.isTSBaseType)(d))o.set(d.type,d);else if((0,l.isTSUnionType)(d))c.has(d.types)||(r.push.apply(r,a(d.types)),c.add(d.types));else{var f="typeParameters";if((0,l.isTSTypeReference)(d)&&d[f]){var y=d[f],m=u(d.typeName);if(s.has(m)){var v,g=s.get(m),T=g[f];T?((v=T.params).push.apply(v,a(y.params)),T.params=e(T.params)):g=y}else s.set(m,d)}else p.push(d)}}}var b,S=i(o);try{for(S.s();!(b=S.n()).done;){var x=n(b.value,2)[1];p.push(x)}}catch(e){S.e(e)}finally{S.f()}var E,P=i(s);try{for(P.s();!(E=P.n()).done;){var A=n(E.value,2)[1];p.push(A)}}catch(e){P.e(e)}finally{P.f()}return p};var l=r(2302);function u(e){return(0,l.isIdentifier)(e)?e.name:(0,l.isThisExpression)(e)?"this":"".concat(e.right.name,".").concat(u(e.left))}},6681:(e,t)=>{"use strict";function r(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[].concat(e),n=Object.create(null);t.length;){var i=t.pop();if(i)switch(i.type){case"ArrayPattern":t.push.apply(t,r(i.elements));break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":t.push(i.left);break;case"ObjectPattern":t.push.apply(t,r(i.properties));break;case"ObjectProperty":t.push(i.value);break;case"RestElement":case"UpdateExpression":t.push(i.argument);break;case"UnaryExpression":"delete"===i.operator&&t.push(i.argument);break;case"Identifier":n[i.name]=i}}return n}},755:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var i=r(2302);function a(e,t,r,s){for(var o=[].concat(e),l=Object.create(null);o.length;){var u=o.shift();if(u&&(!s||!((0,i.isAssignmentExpression)(u)||(0,i.isUnaryExpression)(u)||(0,i.isUpdateExpression)(u))))if((0,i.isIdentifier)(u))t?(l[u.name]=l[u.name]||[]).push(u):l[u.name]=u;else if(!(0,i.isExportDeclaration)(u)||(0,i.isExportAllDeclaration)(u)){if(r){if((0,i.isFunctionDeclaration)(u)){o.push(u.id);continue}if((0,i.isFunctionExpression)(u))continue}var c=a.keys[u.type];if(c)for(var p=0;p<c.length;p++){var h=u[c[p]];h&&(Array.isArray(h)?o.push.apply(o,function(e){if(Array.isArray(e))return n(e)}(d=h)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(d)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(d)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):o.push(h))}}else(0,i.isDeclaration)(u.declaration)&&o.push(u.declaration)}var d;return l}a.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},7815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("id"in e&&e.id)return{name:e.id.name,originalNode:e.id};var r,a="";if((0,n.isObjectProperty)(t,{value:e})?r=i(t):(0,n.isObjectMethod)(e)||(0,n.isClassMethod)(e)?(r=i(e),"get"===e.kind?a="get ":"set"===e.kind&&(a="set ")):(0,n.isVariableDeclarator)(t,{init:e})?r=t.id:(0,n.isAssignmentExpression)(t,{operator:"=",right:e})&&(r=t.left),!r)return null;var s=(0,n.isLiteral)(r)?function(e){return(0,n.isNullLiteral)(e)?"null":(0,n.isRegExpLiteral)(e)?"/".concat(e.pattern,"/").concat(e.flags):(0,n.isTemplateLiteral)(e)?e.quasis.map((function(e){return e.value.raw})).join(""):void 0!==e.value?String(e.value):null}(r):(0,n.isIdentifier)(r)?r.name:(0,n.isPrivateName)(r)?r.id.name:null;return null==s?null:{name:a+s,originalNode:r}};var n=r(2302);function i(e){if(!e.computed||(0,n.isLiteral)(e.key))return e.key}},866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(755);t.default=function(e,t){return(0,n.default)(e,t,!0)}},5915:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){"function"==typeof t&&(t={enter:t});var n=t;a(e,n.enter,n.exit,r,[])};var i=r(7356);function a(e,t,r,s,o){var l=i.VISITOR_KEYS[e.type];if(l){t&&t(e,o,s);var u,c=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}(l);try{for(c.s();!(u=c.n()).done;){var p=u.value,h=e[p];if(Array.isArray(h))for(var d=0;d<h.length;d++){var f=h[d];f&&(o.push({node:e,key:p,index:d}),a(f,t,r,s,o),o.pop())}else h&&(o.push({node:e,key:p}),a(h,t,r,s,o),o.pop())}}catch(e){c.e(e)}finally{c.f()}r&&r(e,o,s)}}},3557:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var a=r(7356),s=Symbol(),o=Symbol();function l(e,t,r){if(!e)return!1;var i=a.VISITOR_KEYS[e.type];if(!i)return!1;var u=t(e,r=r||{});if(void 0!==u)switch(u){case s:return!1;case o:return!0}var c,p=n(i);try{for(p.s();!(c=p.n()).done;){var h=e[c.value];if(h)if(Array.isArray(h)){var d,f=n(h);try{for(f.s();!(d=f.n()).done;)if(l(d.value,t,r))return!0}catch(e){f.e(e)}finally{f.f()}}else if(l(h,t,r))return!0}}catch(e){p.e(e)}finally{p.f()}return!1}l.skip=s,l.stop=o},6028:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e;if(!r.has(i)){r.add(i);var a=function(){var e,t=Error.stackTraceLimit,r=Error.prepareStackTrace;if(Error.stackTraceLimit=4,Error.prepareStackTrace=function(t,r){e=r},(new Error).stack,Error.stackTraceLimit=t,Error.prepareStackTrace=r,!e)return{internal:!1,trace:""};var n=e.slice(2,4);return{internal:/[\\/]@babel[\\/]/.test(n[1].getFileName()),trace:n.map((function(e){return" at ".concat(e)})).join("\n")}}(),s=a.internal,o=a.trace;s||console.warn("".concat(n,"`").concat(e,"` has been deprecated, please migrate to `").concat(t,"`\n").concat(o))}};var r=new Set},6847:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){t&&r&&(t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean))))}},3789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var r=e.value.split(/\r\n|\n|\r/),a=0,s=0;s<r.length;s++)/[^ \t]/.exec(r[s])&&(a=s);for(var o="",l=0;l<r.length;l++){var u=r[l],c=0===l,p=l===r.length-1,h=l===a,d=u.replace(/\t/g," ");c||(d=d.replace(/^ +/,"")),p||(d=d.replace(/ +$/,"")),d&&(h||(d+=" "),o+=d)}o&&t.push((0,i.inherits)((0,n.stringLiteral)(o),e))};var n=r(4985),i=r(7078)},9066:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];if(e[i]!==t[i])return!1}return!0}},9715:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e.split(".");return function(e){return(0,n.default)(e,r,t)}};var n=r(5435)},2302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAccessor=function(e,t){return!!e&&("ClassAccessorProperty"===e.type&&(null==t||(0,n.default)(e,t)))},t.isAnyTypeAnnotation=function(e,t){return!!e&&"AnyTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isArgumentPlaceholder=function(e,t){return!!e&&"ArgumentPlaceholder"===e.type&&(null==t||(0,n.default)(e,t))},t.isArrayExpression=function(e,t){return!!e&&"ArrayExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isArrayPattern=function(e,t){return!!e&&"ArrayPattern"===e.type&&(null==t||(0,n.default)(e,t))},t.isArrayTypeAnnotation=function(e,t){return!!e&&"ArrayTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isArrowFunctionExpression=function(e,t){return!!e&&"ArrowFunctionExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isAssignmentExpression=function(e,t){return!!e&&"AssignmentExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isAssignmentPattern=function(e,t){return!!e&&"AssignmentPattern"===e.type&&(null==t||(0,n.default)(e,t))},t.isAwaitExpression=function(e,t){return!!e&&"AwaitExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isBigIntLiteral=function(e,t){return!!e&&"BigIntLiteral"===e.type&&(null==t||(0,n.default)(e,t))},t.isBinary=function(e,t){if(!e)return!1;switch(e.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isBinaryExpression=function(e,t){return!!e&&"BinaryExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isBindExpression=function(e,t){return!!e&&"BindExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isBlock=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if("BlockStatement"===e.expectedNode)break;default:return!1}return null==t||(0,n.default)(e,t)},t.isBlockParent=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if("BlockStatement"===e.expectedNode)break;default:return!1}return null==t||(0,n.default)(e,t)},t.isBlockStatement=function(e,t){return!!e&&"BlockStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isBooleanLiteral=function(e,t){return!!e&&"BooleanLiteral"===e.type&&(null==t||(0,n.default)(e,t))},t.isBooleanLiteralTypeAnnotation=function(e,t){return!!e&&"BooleanLiteralTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isBooleanTypeAnnotation=function(e,t){return!!e&&"BooleanTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isBreakStatement=function(e,t){return!!e&&"BreakStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isCallExpression=function(e,t){return!!e&&"CallExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isCatchClause=function(e,t){return!!e&&"CatchClause"===e.type&&(null==t||(0,n.default)(e,t))},t.isClass=function(e,t){if(!e)return!1;switch(e.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isClassAccessorProperty=function(e,t){return!!e&&"ClassAccessorProperty"===e.type&&(null==t||(0,n.default)(e,t))},t.isClassBody=function(e,t){return!!e&&"ClassBody"===e.type&&(null==t||(0,n.default)(e,t))},t.isClassDeclaration=function(e,t){return!!e&&"ClassDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isClassExpression=function(e,t){return!!e&&"ClassExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isClassImplements=function(e,t){return!!e&&"ClassImplements"===e.type&&(null==t||(0,n.default)(e,t))},t.isClassMethod=function(e,t){return!!e&&"ClassMethod"===e.type&&(null==t||(0,n.default)(e,t))},t.isClassPrivateMethod=function(e,t){return!!e&&"ClassPrivateMethod"===e.type&&(null==t||(0,n.default)(e,t))},t.isClassPrivateProperty=function(e,t){return!!e&&"ClassPrivateProperty"===e.type&&(null==t||(0,n.default)(e,t))},t.isClassProperty=function(e,t){return!!e&&"ClassProperty"===e.type&&(null==t||(0,n.default)(e,t))},t.isCompletionStatement=function(e,t){if(!e)return!1;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isConditional=function(e,t){if(!e)return!1;switch(e.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isConditionalExpression=function(e,t){return!!e&&"ConditionalExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isContinueStatement=function(e,t){return!!e&&"ContinueStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isDebuggerStatement=function(e,t){return!!e&&"DebuggerStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isDecimalLiteral=function(e,t){return!!e&&"DecimalLiteral"===e.type&&(null==t||(0,n.default)(e,t))},t.isDeclaration=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":break;case"Placeholder":if("Declaration"===e.expectedNode)break;default:return!1}return null==t||(0,n.default)(e,t)},t.isDeclareClass=function(e,t){return!!e&&"DeclareClass"===e.type&&(null==t||(0,n.default)(e,t))},t.isDeclareExportAllDeclaration=function(e,t){return!!e&&"DeclareExportAllDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isDeclareExportDeclaration=function(e,t){return!!e&&"DeclareExportDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isDeclareFunction=function(e,t){return!!e&&"DeclareFunction"===e.type&&(null==t||(0,n.default)(e,t))},t.isDeclareInterface=function(e,t){return!!e&&"DeclareInterface"===e.type&&(null==t||(0,n.default)(e,t))},t.isDeclareModule=function(e,t){return!!e&&"DeclareModule"===e.type&&(null==t||(0,n.default)(e,t))},t.isDeclareModuleExports=function(e,t){return!!e&&"DeclareModuleExports"===e.type&&(null==t||(0,n.default)(e,t))},t.isDeclareOpaqueType=function(e,t){return!!e&&"DeclareOpaqueType"===e.type&&(null==t||(0,n.default)(e,t))},t.isDeclareTypeAlias=function(e,t){return!!e&&"DeclareTypeAlias"===e.type&&(null==t||(0,n.default)(e,t))},t.isDeclareVariable=function(e,t){return!!e&&"DeclareVariable"===e.type&&(null==t||(0,n.default)(e,t))},t.isDeclaredPredicate=function(e,t){return!!e&&"DeclaredPredicate"===e.type&&(null==t||(0,n.default)(e,t))},t.isDecorator=function(e,t){return!!e&&"Decorator"===e.type&&(null==t||(0,n.default)(e,t))},t.isDirective=function(e,t){return!!e&&"Directive"===e.type&&(null==t||(0,n.default)(e,t))},t.isDirectiveLiteral=function(e,t){return!!e&&"DirectiveLiteral"===e.type&&(null==t||(0,n.default)(e,t))},t.isDoExpression=function(e,t){return!!e&&"DoExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isDoWhileStatement=function(e,t){return!!e&&"DoWhileStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isEmptyStatement=function(e,t){return!!e&&"EmptyStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isEmptyTypeAnnotation=function(e,t){return!!e&&"EmptyTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isEnumBody=function(e,t){if(!e)return!1;switch(e.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isEnumBooleanBody=function(e,t){return!!e&&"EnumBooleanBody"===e.type&&(null==t||(0,n.default)(e,t))},t.isEnumBooleanMember=function(e,t){return!!e&&"EnumBooleanMember"===e.type&&(null==t||(0,n.default)(e,t))},t.isEnumDeclaration=function(e,t){return!!e&&"EnumDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isEnumDefaultedMember=function(e,t){return!!e&&"EnumDefaultedMember"===e.type&&(null==t||(0,n.default)(e,t))},t.isEnumMember=function(e,t){if(!e)return!1;switch(e.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isEnumNumberBody=function(e,t){return!!e&&"EnumNumberBody"===e.type&&(null==t||(0,n.default)(e,t))},t.isEnumNumberMember=function(e,t){return!!e&&"EnumNumberMember"===e.type&&(null==t||(0,n.default)(e,t))},t.isEnumStringBody=function(e,t){return!!e&&"EnumStringBody"===e.type&&(null==t||(0,n.default)(e,t))},t.isEnumStringMember=function(e,t){return!!e&&"EnumStringMember"===e.type&&(null==t||(0,n.default)(e,t))},t.isEnumSymbolBody=function(e,t){return!!e&&"EnumSymbolBody"===e.type&&(null==t||(0,n.default)(e,t))},t.isExistsTypeAnnotation=function(e,t){return!!e&&"ExistsTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isExportAllDeclaration=function(e,t){return!!e&&"ExportAllDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isExportDeclaration=function(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isExportDefaultDeclaration=function(e,t){return!!e&&"ExportDefaultDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isExportDefaultSpecifier=function(e,t){return!!e&&"ExportDefaultSpecifier"===e.type&&(null==t||(0,n.default)(e,t))},t.isExportNamedDeclaration=function(e,t){return!!e&&"ExportNamedDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isExportNamespaceSpecifier=function(e,t){return!!e&&"ExportNamespaceSpecifier"===e.type&&(null==t||(0,n.default)(e,t))},t.isExportSpecifier=function(e,t){return!!e&&"ExportSpecifier"===e.type&&(null==t||(0,n.default)(e,t))},t.isExpression=function(e,t){if(!e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return null==t||(0,n.default)(e,t)},t.isExpressionStatement=function(e,t){return!!e&&"ExpressionStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isExpressionWrapper=function(e,t){if(!e)return!1;switch(e.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isFile=function(e,t){return!!e&&"File"===e.type&&(null==t||(0,n.default)(e,t))},t.isFlow=function(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isFlowBaseAnnotation=function(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isFlowDeclaration=function(e,t){if(!e)return!1;switch(e.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isFlowPredicate=function(e,t){if(!e)return!1;switch(e.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isFlowType=function(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isFor=function(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isForInStatement=function(e,t){return!!e&&"ForInStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isForOfStatement=function(e,t){return!!e&&"ForOfStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isForStatement=function(e,t){return!!e&&"ForStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isForXStatement=function(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isFunction=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isFunctionDeclaration=function(e,t){return!!e&&"FunctionDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isFunctionExpression=function(e,t){return!!e&&"FunctionExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isFunctionParameter=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if("Identifier"===e.expectedNode)break;default:return!1}return null==t||(0,n.default)(e,t)},t.isFunctionParent=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isFunctionTypeAnnotation=function(e,t){return!!e&&"FunctionTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isFunctionTypeParam=function(e,t){return!!e&&"FunctionTypeParam"===e.type&&(null==t||(0,n.default)(e,t))},t.isGenericTypeAnnotation=function(e,t){return!!e&&"GenericTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isIdentifier=function(e,t){return!!e&&"Identifier"===e.type&&(null==t||(0,n.default)(e,t))},t.isIfStatement=function(e,t){return!!e&&"IfStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isImmutable=function(e,t){if(!e)return!1;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if("StringLiteral"===e.expectedNode)break;default:return!1}return null==t||(0,n.default)(e,t)},t.isImport=function(e,t){return!!e&&"Import"===e.type&&(null==t||(0,n.default)(e,t))},t.isImportAttribute=function(e,t){return!!e&&"ImportAttribute"===e.type&&(null==t||(0,n.default)(e,t))},t.isImportDeclaration=function(e,t){return!!e&&"ImportDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isImportDefaultSpecifier=function(e,t){return!!e&&"ImportDefaultSpecifier"===e.type&&(null==t||(0,n.default)(e,t))},t.isImportExpression=function(e,t){return!!e&&"ImportExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isImportNamespaceSpecifier=function(e,t){return!!e&&"ImportNamespaceSpecifier"===e.type&&(null==t||(0,n.default)(e,t))},t.isImportOrExportDeclaration=a,t.isImportSpecifier=function(e,t){return!!e&&"ImportSpecifier"===e.type&&(null==t||(0,n.default)(e,t))},t.isIndexedAccessType=function(e,t){return!!e&&"IndexedAccessType"===e.type&&(null==t||(0,n.default)(e,t))},t.isInferredPredicate=function(e,t){return!!e&&"InferredPredicate"===e.type&&(null==t||(0,n.default)(e,t))},t.isInterfaceDeclaration=function(e,t){return!!e&&"InterfaceDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isInterfaceExtends=function(e,t){return!!e&&"InterfaceExtends"===e.type&&(null==t||(0,n.default)(e,t))},t.isInterfaceTypeAnnotation=function(e,t){return!!e&&"InterfaceTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isInterpreterDirective=function(e,t){return!!e&&"InterpreterDirective"===e.type&&(null==t||(0,n.default)(e,t))},t.isIntersectionTypeAnnotation=function(e,t){return!!e&&"IntersectionTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSX=function(e,t){if(!e)return!1;switch(e.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isJSXAttribute=function(e,t){return!!e&&"JSXAttribute"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXClosingElement=function(e,t){return!!e&&"JSXClosingElement"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXClosingFragment=function(e,t){return!!e&&"JSXClosingFragment"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXElement=function(e,t){return!!e&&"JSXElement"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXEmptyExpression=function(e,t){return!!e&&"JSXEmptyExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXExpressionContainer=function(e,t){return!!e&&"JSXExpressionContainer"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXFragment=function(e,t){return!!e&&"JSXFragment"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXIdentifier=function(e,t){return!!e&&"JSXIdentifier"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXMemberExpression=function(e,t){return!!e&&"JSXMemberExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXNamespacedName=function(e,t){return!!e&&"JSXNamespacedName"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXOpeningElement=function(e,t){return!!e&&"JSXOpeningElement"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXOpeningFragment=function(e,t){return!!e&&"JSXOpeningFragment"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXSpreadAttribute=function(e,t){return!!e&&"JSXSpreadAttribute"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXSpreadChild=function(e,t){return!!e&&"JSXSpreadChild"===e.type&&(null==t||(0,n.default)(e,t))},t.isJSXText=function(e,t){return!!e&&"JSXText"===e.type&&(null==t||(0,n.default)(e,t))},t.isLVal=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return null==t||(0,n.default)(e,t)},t.isLabeledStatement=function(e,t){return!!e&&"LabeledStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isLiteral=function(e,t){if(!e)return!1;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if("StringLiteral"===e.expectedNode)break;default:return!1}return null==t||(0,n.default)(e,t)},t.isLogicalExpression=function(e,t){return!!e&&"LogicalExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isLoop=function(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isMemberExpression=function(e,t){return!!e&&"MemberExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isMetaProperty=function(e,t){return!!e&&"MetaProperty"===e.type&&(null==t||(0,n.default)(e,t))},t.isMethod=function(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isMiscellaneous=function(e,t){if(!e)return!1;switch(e.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isMixedTypeAnnotation=function(e,t){return!!e&&"MixedTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isModuleDeclaration=function(e,t){return(0,i.default)("isModuleDeclaration","isImportOrExportDeclaration"),a(e,t)},t.isModuleExpression=function(e,t){return!!e&&"ModuleExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isModuleSpecifier=function(e,t){if(!e)return!1;switch(e.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isNewExpression=function(e,t){return!!e&&"NewExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isNoop=function(e,t){return!!e&&"Noop"===e.type&&(null==t||(0,n.default)(e,t))},t.isNullLiteral=function(e,t){return!!e&&"NullLiteral"===e.type&&(null==t||(0,n.default)(e,t))},t.isNullLiteralTypeAnnotation=function(e,t){return!!e&&"NullLiteralTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isNullableTypeAnnotation=function(e,t){return!!e&&"NullableTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isNumberLiteral=function(e,t){return(0,i.default)("isNumberLiteral","isNumericLiteral"),!!e&&"NumberLiteral"===e.type&&(null==t||(0,n.default)(e,t))},t.isNumberLiteralTypeAnnotation=function(e,t){return!!e&&"NumberLiteralTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isNumberTypeAnnotation=function(e,t){return!!e&&"NumberTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isNumericLiteral=function(e,t){return!!e&&"NumericLiteral"===e.type&&(null==t||(0,n.default)(e,t))},t.isObjectExpression=function(e,t){return!!e&&"ObjectExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isObjectMember=function(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isObjectMethod=function(e,t){return!!e&&"ObjectMethod"===e.type&&(null==t||(0,n.default)(e,t))},t.isObjectPattern=function(e,t){return!!e&&"ObjectPattern"===e.type&&(null==t||(0,n.default)(e,t))},t.isObjectProperty=function(e,t){return!!e&&"ObjectProperty"===e.type&&(null==t||(0,n.default)(e,t))},t.isObjectTypeAnnotation=function(e,t){return!!e&&"ObjectTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isObjectTypeCallProperty=function(e,t){return!!e&&"ObjectTypeCallProperty"===e.type&&(null==t||(0,n.default)(e,t))},t.isObjectTypeIndexer=function(e,t){return!!e&&"ObjectTypeIndexer"===e.type&&(null==t||(0,n.default)(e,t))},t.isObjectTypeInternalSlot=function(e,t){return!!e&&"ObjectTypeInternalSlot"===e.type&&(null==t||(0,n.default)(e,t))},t.isObjectTypeProperty=function(e,t){return!!e&&"ObjectTypeProperty"===e.type&&(null==t||(0,n.default)(e,t))},t.isObjectTypeSpreadProperty=function(e,t){return!!e&&"ObjectTypeSpreadProperty"===e.type&&(null==t||(0,n.default)(e,t))},t.isOpaqueType=function(e,t){return!!e&&"OpaqueType"===e.type&&(null==t||(0,n.default)(e,t))},t.isOptionalCallExpression=function(e,t){return!!e&&"OptionalCallExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isOptionalIndexedAccessType=function(e,t){return!!e&&"OptionalIndexedAccessType"===e.type&&(null==t||(0,n.default)(e,t))},t.isOptionalMemberExpression=function(e,t){return!!e&&"OptionalMemberExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isParenthesizedExpression=function(e,t){return!!e&&"ParenthesizedExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isPattern=function(e,t){if(!e)return!1;switch(e.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if("Pattern"===e.expectedNode)break;default:return!1}return null==t||(0,n.default)(e,t)},t.isPatternLike=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return null==t||(0,n.default)(e,t)},t.isPipelineBareFunction=function(e,t){return!!e&&"PipelineBareFunction"===e.type&&(null==t||(0,n.default)(e,t))},t.isPipelinePrimaryTopicReference=function(e,t){return!!e&&"PipelinePrimaryTopicReference"===e.type&&(null==t||(0,n.default)(e,t))},t.isPipelineTopicExpression=function(e,t){return!!e&&"PipelineTopicExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isPlaceholder=function(e,t){return!!e&&"Placeholder"===e.type&&(null==t||(0,n.default)(e,t))},t.isPrivate=function(e,t){if(!e)return!1;switch(e.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isPrivateName=function(e,t){return!!e&&"PrivateName"===e.type&&(null==t||(0,n.default)(e,t))},t.isProgram=function(e,t){return!!e&&"Program"===e.type&&(null==t||(0,n.default)(e,t))},t.isProperty=function(e,t){if(!e)return!1;switch(e.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isPureish=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if("StringLiteral"===e.expectedNode)break;default:return!1}return null==t||(0,n.default)(e,t)},t.isQualifiedTypeIdentifier=function(e,t){return!!e&&"QualifiedTypeIdentifier"===e.type&&(null==t||(0,n.default)(e,t))},t.isRecordExpression=function(e,t){return!!e&&"RecordExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isRegExpLiteral=function(e,t){return!!e&&"RegExpLiteral"===e.type&&(null==t||(0,n.default)(e,t))},t.isRegexLiteral=function(e,t){return(0,i.default)("isRegexLiteral","isRegExpLiteral"),!!e&&"RegexLiteral"===e.type&&(null==t||(0,n.default)(e,t))},t.isRestElement=function(e,t){return!!e&&"RestElement"===e.type&&(null==t||(0,n.default)(e,t))},t.isRestProperty=function(e,t){return(0,i.default)("isRestProperty","isRestElement"),!!e&&"RestProperty"===e.type&&(null==t||(0,n.default)(e,t))},t.isReturnStatement=function(e,t){return!!e&&"ReturnStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isScopable=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if("BlockStatement"===e.expectedNode)break;default:return!1}return null==t||(0,n.default)(e,t)},t.isSequenceExpression=function(e,t){return!!e&&"SequenceExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isSpreadElement=function(e,t){return!!e&&"SpreadElement"===e.type&&(null==t||(0,n.default)(e,t))},t.isSpreadProperty=function(e,t){return(0,i.default)("isSpreadProperty","isSpreadElement"),!!e&&"SpreadProperty"===e.type&&(null==t||(0,n.default)(e,t))},t.isStandardized=function(e,t){if(!e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":case"ImportAttribute":break;case"Placeholder":switch(e.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return null==t||(0,n.default)(e,t)},t.isStatement=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(e.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return null==t||(0,n.default)(e,t)},t.isStaticBlock=function(e,t){return!!e&&"StaticBlock"===e.type&&(null==t||(0,n.default)(e,t))},t.isStringLiteral=function(e,t){return!!e&&"StringLiteral"===e.type&&(null==t||(0,n.default)(e,t))},t.isStringLiteralTypeAnnotation=function(e,t){return!!e&&"StringLiteralTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isStringTypeAnnotation=function(e,t){return!!e&&"StringTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isSuper=function(e,t){return!!e&&"Super"===e.type&&(null==t||(0,n.default)(e,t))},t.isSwitchCase=function(e,t){return!!e&&"SwitchCase"===e.type&&(null==t||(0,n.default)(e,t))},t.isSwitchStatement=function(e,t){return!!e&&"SwitchStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isSymbolTypeAnnotation=function(e,t){return!!e&&"SymbolTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSAnyKeyword=function(e,t){return!!e&&"TSAnyKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSArrayType=function(e,t){return!!e&&"TSArrayType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSAsExpression=function(e,t){return!!e&&"TSAsExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSBaseType=function(e,t){if(!e)return!1;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSTemplateLiteralType":case"TSLiteralType":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isTSBigIntKeyword=function(e,t){return!!e&&"TSBigIntKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSBooleanKeyword=function(e,t){return!!e&&"TSBooleanKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSCallSignatureDeclaration=function(e,t){return!!e&&"TSCallSignatureDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSConditionalType=function(e,t){return!!e&&"TSConditionalType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSConstructSignatureDeclaration=function(e,t){return!!e&&"TSConstructSignatureDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSConstructorType=function(e,t){return!!e&&"TSConstructorType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSDeclareFunction=function(e,t){return!!e&&"TSDeclareFunction"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSDeclareMethod=function(e,t){return!!e&&"TSDeclareMethod"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSEntityName=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if("Identifier"===e.expectedNode)break;default:return!1}return null==t||(0,n.default)(e,t)},t.isTSEnumBody=function(e,t){return!!e&&"TSEnumBody"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSEnumDeclaration=function(e,t){return!!e&&"TSEnumDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSEnumMember=function(e,t){return!!e&&"TSEnumMember"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSExportAssignment=function(e,t){return!!e&&"TSExportAssignment"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSExpressionWithTypeArguments=function(e,t){return!!e&&"TSExpressionWithTypeArguments"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSExternalModuleReference=function(e,t){return!!e&&"TSExternalModuleReference"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSFunctionType=function(e,t){return!!e&&"TSFunctionType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSImportEqualsDeclaration=function(e,t){return!!e&&"TSImportEqualsDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSImportType=function(e,t){return!!e&&"TSImportType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSIndexSignature=function(e,t){return!!e&&"TSIndexSignature"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSIndexedAccessType=function(e,t){return!!e&&"TSIndexedAccessType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSInferType=function(e,t){return!!e&&"TSInferType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSInstantiationExpression=function(e,t){return!!e&&"TSInstantiationExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSInterfaceBody=function(e,t){return!!e&&"TSInterfaceBody"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSInterfaceDeclaration=function(e,t){return!!e&&"TSInterfaceDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSIntersectionType=function(e,t){return!!e&&"TSIntersectionType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSIntrinsicKeyword=function(e,t){return!!e&&"TSIntrinsicKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSLiteralType=function(e,t){return!!e&&"TSLiteralType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSMappedType=function(e,t){return!!e&&"TSMappedType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSMethodSignature=function(e,t){return!!e&&"TSMethodSignature"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSModuleBlock=function(e,t){return!!e&&"TSModuleBlock"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSModuleDeclaration=function(e,t){return!!e&&"TSModuleDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSNamedTupleMember=function(e,t){return!!e&&"TSNamedTupleMember"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSNamespaceExportDeclaration=function(e,t){return!!e&&"TSNamespaceExportDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSNeverKeyword=function(e,t){return!!e&&"TSNeverKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSNonNullExpression=function(e,t){return!!e&&"TSNonNullExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSNullKeyword=function(e,t){return!!e&&"TSNullKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSNumberKeyword=function(e,t){return!!e&&"TSNumberKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSObjectKeyword=function(e,t){return!!e&&"TSObjectKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSOptionalType=function(e,t){return!!e&&"TSOptionalType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSParameterProperty=function(e,t){return!!e&&"TSParameterProperty"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSParenthesizedType=function(e,t){return!!e&&"TSParenthesizedType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSPropertySignature=function(e,t){return!!e&&"TSPropertySignature"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSQualifiedName=function(e,t){return!!e&&"TSQualifiedName"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSRestType=function(e,t){return!!e&&"TSRestType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSSatisfiesExpression=function(e,t){return!!e&&"TSSatisfiesExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSStringKeyword=function(e,t){return!!e&&"TSStringKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSSymbolKeyword=function(e,t){return!!e&&"TSSymbolKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSTemplateLiteralType=function(e,t){return!!e&&"TSTemplateLiteralType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSThisType=function(e,t){return!!e&&"TSThisType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSTupleType=function(e,t){return!!e&&"TSTupleType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSType=function(e,t){if(!e)return!1;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isTSTypeAliasDeclaration=function(e,t){return!!e&&"TSTypeAliasDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSTypeAnnotation=function(e,t){return!!e&&"TSTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSTypeAssertion=function(e,t){return!!e&&"TSTypeAssertion"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSTypeElement=function(e,t){if(!e)return!1;switch(e.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isTSTypeLiteral=function(e,t){return!!e&&"TSTypeLiteral"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSTypeOperator=function(e,t){return!!e&&"TSTypeOperator"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSTypeParameter=function(e,t){return!!e&&"TSTypeParameter"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSTypeParameterDeclaration=function(e,t){return!!e&&"TSTypeParameterDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSTypeParameterInstantiation=function(e,t){return!!e&&"TSTypeParameterInstantiation"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSTypePredicate=function(e,t){return!!e&&"TSTypePredicate"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSTypeQuery=function(e,t){return!!e&&"TSTypeQuery"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSTypeReference=function(e,t){return!!e&&"TSTypeReference"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSUndefinedKeyword=function(e,t){return!!e&&"TSUndefinedKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSUnionType=function(e,t){return!!e&&"TSUnionType"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSUnknownKeyword=function(e,t){return!!e&&"TSUnknownKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTSVoidKeyword=function(e,t){return!!e&&"TSVoidKeyword"===e.type&&(null==t||(0,n.default)(e,t))},t.isTaggedTemplateExpression=function(e,t){return!!e&&"TaggedTemplateExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isTemplateElement=function(e,t){return!!e&&"TemplateElement"===e.type&&(null==t||(0,n.default)(e,t))},t.isTemplateLiteral=function(e,t){return!!e&&"TemplateLiteral"===e.type&&(null==t||(0,n.default)(e,t))},t.isTerminatorless=function(e,t){if(!e)return!1;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isThisExpression=function(e,t){return!!e&&"ThisExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isThisTypeAnnotation=function(e,t){return!!e&&"ThisTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isThrowStatement=function(e,t){return!!e&&"ThrowStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isTopicReference=function(e,t){return!!e&&"TopicReference"===e.type&&(null==t||(0,n.default)(e,t))},t.isTryStatement=function(e,t){return!!e&&"TryStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isTupleExpression=function(e,t){return!!e&&"TupleExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isTupleTypeAnnotation=function(e,t){return!!e&&"TupleTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isTypeAlias=function(e,t){return!!e&&"TypeAlias"===e.type&&(null==t||(0,n.default)(e,t))},t.isTypeAnnotation=function(e,t){return!!e&&"TypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isTypeCastExpression=function(e,t){return!!e&&"TypeCastExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isTypeParameter=function(e,t){return!!e&&"TypeParameter"===e.type&&(null==t||(0,n.default)(e,t))},t.isTypeParameterDeclaration=function(e,t){return!!e&&"TypeParameterDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isTypeParameterInstantiation=function(e,t){return!!e&&"TypeParameterInstantiation"===e.type&&(null==t||(0,n.default)(e,t))},t.isTypeScript=function(e,t){if(!e)return!1;switch(e.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumBody":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isTypeofTypeAnnotation=function(e,t){return!!e&&"TypeofTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isUnaryExpression=function(e,t){return!!e&&"UnaryExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isUnaryLike=function(e,t){if(!e)return!1;switch(e.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isUnionTypeAnnotation=function(e,t){return!!e&&"UnionTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isUpdateExpression=function(e,t){return!!e&&"UpdateExpression"===e.type&&(null==t||(0,n.default)(e,t))},t.isUserWhitespacable=function(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isV8IntrinsicIdentifier=function(e,t){return!!e&&"V8IntrinsicIdentifier"===e.type&&(null==t||(0,n.default)(e,t))},t.isVariableDeclaration=function(e,t){return!!e&&"VariableDeclaration"===e.type&&(null==t||(0,n.default)(e,t))},t.isVariableDeclarator=function(e,t){return!!e&&"VariableDeclarator"===e.type&&(null==t||(0,n.default)(e,t))},t.isVariance=function(e,t){return!!e&&"Variance"===e.type&&(null==t||(0,n.default)(e,t))},t.isVoidPattern=function(e,t){return!!e&&"VoidPattern"===e.type&&(null==t||(0,n.default)(e,t))},t.isVoidTypeAnnotation=function(e,t){return!!e&&"VoidTypeAnnotation"===e.type&&(null==t||(0,n.default)(e,t))},t.isWhile=function(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return null==t||(0,n.default)(e,t)},t.isWhileStatement=function(e,t){return!!e&&"WhileStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isWithStatement=function(e,t){return!!e&&"WithStatement"===e.type&&(null==t||(0,n.default)(e,t))},t.isYieldExpression=function(e,t){return!!e&&"YieldExpression"===e.type&&(null==t||(0,n.default)(e,t))};var n=r(9066),i=r(6028);function a(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return null==t||(0,n.default)(e,t)}},5846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return!!t&&((0,i.default)(t.type,e)?void 0===r||(0,n.default)(t,r):!r&&"Placeholder"===t.type&&e in s.FLIPPED_ALIAS_KEYS&&(0,a.default)(t.expectedNode,e))};var n=r(9066),i=r(6942),a=r(7141),s=r(7356)},5581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(r&&"Identifier"===e.type&&"ObjectProperty"===t.type&&"ObjectExpression"===r.type)return!1;var i=n.default.keys[t.type];if(i)for(var a=0;a<i.length;a++){var s=t[i[a]];if(Array.isArray(s)){if(s.includes(e))return!0}else if(s===e)return!0}return!1};var n=r(755)},4209:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)};var n=r(2302),i=r(5277)},9764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!(0,n.default)(e.type,"Immutable")||!!(0,i.isIdentifier)(e)&&"undefined"===e.name};var n=r(6942),i=r(2302)},5277:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e)&&("var"!==e.kind||e[i])};var n=r(2302),i=Symbol.for("var used to be block scoped")},4318:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!(!e||!n.VISITOR_KEYS[e.type])};var n=r(7356)},5005:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){if("object"!==n(t)||"object"!==n(r)||null==t||null==r)return t===r;if(t.type!==r.type)return!1;for(var a=Object.keys(i.NODE_FIELDS[t.type]||t.type),s=i.VISITOR_KEYS[t.type],o=0,l=a;o<l.length;o++){var u=l[o],c=t[u],p=r[u];if(n(c)!==n(p))return!1;if(null!=c||null!=p){if(null==c||null==p)return!1;if(Array.isArray(c)){if(!Array.isArray(p))return!1;if(c.length!==p.length)return!1;for(var h=0;h<c.length;h++)if(!e(c[h],p[h]))return!1}else if("object"!==n(c)||null!=s&&s.includes(u)){if(!e(c,p))return!1}else for(var d=0,f=Object.keys(c);d<f.length;d++){var y=f[d];if(c[y]!==p[y])return!1}}}return!0};var i=r(7356)},7141:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var r=n.PLACEHOLDERS_ALIAS[e];return!(null==r||!r.includes(t))};var n=r(7356)},261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e&&!!t.computed;case"ObjectProperty":return t.key===e?!!t.computed:!r||"ObjectPattern"!==r.type;case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":return t.key!==e||!!t.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"ExportSpecifier":return(null==r||!r.source)&&t.local===e;case"TSEnumMember":return t.id!==e}return!0}},9752:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(!(0,n.isBlockStatement)(e)||!(0,n.isFunction)(t)&&!(0,n.isCatchClause)(t))&&(!(!(0,n.isPattern)(e)||!(0,n.isFunction)(t)&&!(0,n.isCatchClause)(t))||(0,n.isScopable)(e))};var n=r(2302)},8871:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})};var n=r(2302)},6942:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;if(null==e)return!1;if(n.ALIAS_KEYS[t])return!1;var r=n.FLIPPED_ALIAS_KEYS[t];return!(null==r||!r.includes(e))};var n=r(7356)},5170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e)&&!i.has(e)};var n=r(8285),i=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},8285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e&&((!(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])||!(0,n.isKeyword)(e)&&!(0,n.isStrictReservedWord)(e,!0))&&(0,n.isIdentifierName)(e))};var n=r(6640)},2937:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i]};var n=r(2302),i=Symbol.for("var used to be block scoped")},5435:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!i(e))return!1;var a,s=Array.isArray(t)?t:t.split("."),o=[];for(a=e;i(a);a=null!=(l=a.object)?l:a.meta){var l;o.push(a.property)}if(o.push(a),o.length<s.length)return!1;if(!r&&o.length>s.length)return!1;for(var u=0,c=o.length-1;u<s.length;u++,c--){var p=o[c],h=void 0;if((0,n.isIdentifier)(p))h=p.name;else if((0,n.isStringLiteral)(p))h=p.value;else if((0,n.isThisExpression)(p))h="this";else if((0,n.isSuper)(p))h="super";else{if(!(0,n.isPrivateName)(p))return!1;h="#"+p.id.name}if(s[u]!==h)return!1}return!0};var n=r(2302);function i(e){return(0,n.isMemberExpression)(e)||(0,n.isMetaProperty)(e)}},8986:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!e&&/^[a-z]/.test(e)}},7924:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(9715).default)("React.Component");t.default=n},3592:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(e){var s=n.NODE_FIELDS[e.type];if(s)i(e,t,r,s[t]),a(e,t,r)}},t.validateChild=a,t.validateField=i,t.validateInternal=function(e,t,r,i,a){if(null!=e&&e.validate&&(!e.optional||null!=i)&&(e.validate(t,r,i),a)){var s,o=i.type;if(null==o)return;null==(s=n.NODE_PARENT_VALIDATIONS[o])||s.call(n.NODE_PARENT_VALIDATIONS,t,r,i)}};var n=r(7356);function i(e,t,r,n){null!=n&&n.validate&&(n.optional&&null==r||n.validate(e,t,r))}function a(e,t,r){var i,a=null==r?void 0:r.type;null!=a&&(null==(i=n.NODE_PARENT_VALIDATIONS[a])||i.call(n.NODE_PARENT_VALIDATIONS,e,t,r))}},9033:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierChar=c,t.isIdentifierName=function(e){for(var t=!0,r=0;r<e.length;r++){var n=e.charCodeAt(r);if(55296==(64512&n)&&r+1<e.length){var i=e.charCodeAt(++r);56320==(64512&i)&&(n=65536+((1023&n)<<10)+(1023&i))}if(t){if(t=!1,!u(n))return!1}else if(!c(n))return!1}return!t},t.isIdentifierStart=u;var r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",n="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",i=new RegExp("["+r+"]"),a=new RegExp("["+r+n+"]");r=n=null;var s=[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],o=[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];function l(e,t){for(var r=65536,n=0,i=t.length;n<i;n+=2){if((r+=t[n])>e)return!1;if((r+=t[n+1])>=e)return!0}return!1}function u(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):l(e,s)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):l(e,s)||l(e,o))))}},6640:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var n=r(9033),i=r(707)},707:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyword=function(e){return r.has(e)},t.isReservedWord=a,t.isStrictBindOnlyReservedWord=o,t.isStrictBindReservedWord=function(e,t){return s(e,t)||o(e)},t.isStrictReservedWord=s;var r=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),n=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),i=new Set(["eval","arguments"]);function a(e,t){return t&&"await"===e||"enum"===e}function s(e,t){return a(e,t)||n.has(e)}function o(e){return i.has(e)}},120:e=>{"use strict";e.exports=JSON.parse('["decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","globalThis","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"]')},9961:e=>{"use strict";e.exports=JSON.parse('["AggregateError","Array","ArrayBuffer","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","Error","EvalError","FinalizationRegistry","Float16Array","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","Intl","Iterator","JSON","Map","Math","NaN","Number","Object","Promise","Proxy","RangeError","ReferenceError","Reflect","RegExp","Set","SharedArrayBuffer","String","Symbol","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError","WeakMap","WeakRef","WeakSet"]')}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var a=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n=r(1105);module.exports=n})();
3
- exports.__oidcSpaBundle = true;