e1a6728042
modified: README.md modified: docker-compose.yaml renamed: rest_api/api/Dockerfile -> serv_rest_api/api/Dockerfile renamed: rest_api/api/bin/api.exe -> serv_rest_api/api/bin/api.exe renamed: rest_api/api/cmd/main.go -> serv_rest_api/api/cmd/main.go renamed: rest_api/api/go.mod -> serv_rest_api/api/go.mod renamed: rest_api/api/go.sum -> serv_rest_api/api/go.sum renamed: rest_api/api/src/configs/APIserver.go -> serv_rest_api/api/src/configs/APIserver.go renamed: rest_api/api/src/configs/DBconfig.go -> serv_rest_api/api/src/configs/DBconfig.go renamed: rest_api/api/src/initializers/PGQL_DB.go -> serv_rest_api/api/src/initializers/PGQL_DB.go renamed: rest_api/api/src/initializers/Routing.go -> serv_rest_api/api/src/initializers/Routing.go renamed: rest_api/api/src/models/Contacts.go -> serv_rest_api/api/src/models/Contacts.go renamed: rest_api/api/src/models/Essence.go -> serv_rest_api/api/src/models/Essence.go renamed: rest_api/api/src/models/Point.go -> serv_rest_api/api/src/models/Point.go renamed: rest_api/api/src/models/authDataStructs.go -> serv_rest_api/api/src/models/authDataStructs.go renamed: rest_api/api/src/models/user.go -> serv_rest_api/api/src/models/user.go renamed: rest_api/api/src/rt/admin/users.go -> serv_rest_api/api/src/rt/admin/users.go renamed: rest_api/api/src/rt/auth/Login.go -> serv_rest_api/api/src/rt/auth/Login.go renamed: rest_api/api/src/rt/auth/Registr.go -> serv_rest_api/api/src/rt/auth/Registr.go renamed: rest_api/api/src/rt/auth/authAdminMiddlware.go -> serv_rest_api/api/src/rt/auth/authAdminMiddlware.go renamed: rest_api/api/src/rt/auth/authMiddleware.go -> serv_rest_api/api/src/rt/auth/authMiddleware.go renamed: rest_api/api/src/rt/auth/auth_test.go -> serv_rest_api/api/src/rt/auth/auth_test.go renamed: rest_api/api/src/rt/prf/AuthUserMiddleWare.go -> serv_rest_api/api/src/rt/prf/AuthUserMiddleWare.go renamed: rest_api/api/src/rt/prf/profile.go -> serv_rest_api/api/src/rt/prf/profile.go renamed: rest_api/api/src/rt/srch/search.go -> serv_rest_api/api/src/rt/srch/search.go renamed: rest_api/api/src/storages/psql/psql.go -> serv_rest_api/api/src/storages/psql/psql.go renamed: rest_api/docker-compose.yml -> serv_rest_api/docker-compose.yml new file: serv_spa/docker-compose.yml renamed: spa/Dockerfile -> serv_spa/spa/Dockerfile renamed: spa/app/assets/bage_logo.png -> serv_spa/spa/app/assets/bage_logo.png renamed: spa/app/index.html -> serv_spa/spa/app/index.html renamed: spa/app/styles/mainStyle.css -> serv_spa/spa/app/styles/mainStyle.css renamed: spa/vue/README.md -> serv_spa/spa/vue/README.md renamed: spa/vue/advices.txt -> serv_spa/spa/vue/advices.txt renamed: spa/vue/dist/assets/AboutView-B7yELX4Y.js -> serv_spa/spa/vue/dist/assets/AboutView-B7yELX4Y.js renamed: spa/vue/dist/assets/AboutView-C1FaiPPz.css -> serv_spa/spa/vue/dist/assets/AboutView-C1FaiPPz.css renamed: spa/vue/dist/assets/FeetbackView-CXGcB7N7.js -> serv_spa/spa/vue/dist/assets/FeetbackView-CXGcB7N7.js renamed: spa/vue/dist/assets/FeetbackView-Csl9V8Bc.css -> serv_spa/spa/vue/dist/assets/FeetbackView-Csl9V8Bc.css renamed: spa/vue/dist/assets/HomeView-C0JCTEr_.css -> serv_spa/spa/vue/dist/assets/HomeView-C0JCTEr_.css renamed: spa/vue/dist/assets/HomeView-zKlroz3N.js -> serv_spa/spa/vue/dist/assets/HomeView-zKlroz3N.js renamed: spa/vue/dist/assets/LogInView-CCzg48Go.js -> serv_spa/spa/vue/dist/assets/LogInView-CCzg48Go.js renamed: spa/vue/dist/assets/LogInView-Co-3gSCv.css -> serv_spa/spa/vue/dist/assets/LogInView-Co-3gSCv.css renamed: spa/vue/dist/assets/OpenSans-Italic-Cv5d4RQ-.woff -> serv_spa/spa/vue/dist/assets/OpenSans-Italic-Cv5d4RQ-.woff renamed: spa/vue/dist/assets/OpenSans-Italic-DNMplG0v.woff2 -> serv_spa/spa/vue/dist/assets/OpenSans-Italic-DNMplG0v.woff2 renamed: spa/vue/dist/assets/OpenSans-Regular-BT0WUJf-.woff2 -> serv_spa/spa/vue/dist/assets/OpenSans-Regular-BT0WUJf-.woff2 renamed: spa/vue/dist/assets/OpenSans-Regular-C74AleX8.woff -> serv_spa/spa/vue/dist/assets/OpenSans-Regular-C74AleX8.woff renamed: spa/vue/dist/assets/ProfileView-BuVzjMSP.js -> serv_spa/spa/vue/dist/assets/ProfileView-BuVzjMSP.js renamed: spa/vue/dist/assets/ProfileView-COXJamv9.css -> serv_spa/spa/vue/dist/assets/ProfileView-COXJamv9.css renamed: spa/vue/dist/assets/RegistrationView-C0Di_tAT.js -> serv_spa/spa/vue/dist/assets/RegistrationView-C0Di_tAT.js renamed: spa/vue/dist/assets/RegistrationView-D_FgJHPY.css -> serv_spa/spa/vue/dist/assets/RegistrationView-D_FgJHPY.css renamed: spa/vue/dist/assets/RestObjectView-CuQAHRrm.js -> serv_spa/spa/vue/dist/assets/RestObjectView-CuQAHRrm.js renamed: spa/vue/dist/assets/RestObjectView-DU_QDLXy.css -> serv_spa/spa/vue/dist/assets/RestObjectView-DU_QDLXy.css renamed: spa/vue/dist/assets/ResultsView-C1CSY9zD.js -> serv_spa/spa/vue/dist/assets/ResultsView-C1CSY9zD.js renamed: spa/vue/dist/assets/ResultsView-ijT9kjlC.css -> serv_spa/spa/vue/dist/assets/ResultsView-ijT9kjlC.css renamed: spa/vue/dist/assets/Roboto-Italic-DS1crIJz.woff2 -> serv_spa/spa/vue/dist/assets/Roboto-Italic-DS1crIJz.woff2 renamed: spa/vue/dist/assets/Roboto-Italic-uZr_9iaA.woff -> serv_spa/spa/vue/dist/assets/Roboto-Italic-uZr_9iaA.woff renamed: spa/vue/dist/assets/Roboto-Regular-jtJqKL8A.woff2 -> serv_spa/spa/vue/dist/assets/Roboto-Regular-jtJqKL8A.woff2 renamed: spa/vue/dist/assets/Roboto-Regular-n8vMMKqC.woff -> serv_spa/spa/vue/dist/assets/Roboto-Regular-n8vMMKqC.woff renamed: spa/vue/dist/assets/SettingsView-BlE1G-Ym.js -> serv_spa/spa/vue/dist/assets/SettingsView-BlE1G-Ym.js renamed: spa/vue/dist/assets/SettingsView-FlTPuBSa.css -> serv_spa/spa/vue/dist/assets/SettingsView-FlTPuBSa.css renamed: spa/vue/dist/assets/SupportView-B_EO3gSX.js -> serv_spa/spa/vue/dist/assets/SupportView-B_EO3gSX.js renamed: spa/vue/dist/assets/SupportView-DF9LsVNx.css -> serv_spa/spa/vue/dist/assets/SupportView-DF9LsVNx.css renamed: spa/vue/dist/assets/YalArbaLogo300-BGWtRO6S.png -> serv_spa/spa/vue/dist/assets/YalArbaLogo300-BGWtRO6S.png renamed: spa/vue/dist/assets/footerB-DAi6c01a.js -> serv_spa/spa/vue/dist/assets/footerB-DAi6c01a.js renamed: spa/vue/dist/assets/footerB-D_GT2umv.css -> serv_spa/spa/vue/dist/assets/footerB-D_GT2umv.css renamed: spa/vue/dist/assets/hinted-OpenSans-Italic-BD2qe0ib.ttf -> serv_spa/spa/vue/dist/assets/hinted-OpenSans-Italic-BD2qe0ib.ttf renamed: spa/vue/dist/assets/hinted-OpenSans-Regular-DZwYhniE.ttf -> serv_spa/spa/vue/dist/assets/hinted-OpenSans-Regular-DZwYhniE.ttf renamed: spa/vue/dist/assets/hinted-Roboto-Italic-CDlkg4IH.ttf -> serv_spa/spa/vue/dist/assets/hinted-Roboto-Italic-CDlkg4IH.ttf renamed: spa/vue/dist/assets/hinted-Roboto-Regular-CFXqJ5DR.ttf -> serv_spa/spa/vue/dist/assets/hinted-Roboto-Regular-CFXqJ5DR.ttf renamed: spa/vue/dist/assets/index-B44ZMC8Y.css -> serv_spa/spa/vue/dist/assets/index-B44ZMC8Y.css renamed: spa/vue/dist/assets/index-DccGIixi.js -> serv_spa/spa/vue/dist/assets/index-DccGIixi.js renamed: spa/vue/dist/assets/logo150x150-De-v7fGb.png -> serv_spa/spa/vue/dist/assets/logo150x150-De-v7fGb.png renamed: spa/vue/dist/assets/photo_2025-01-25_05-57-24-BwgIchq6.jpg -> serv_spa/spa/vue/dist/assets/photo_2025-01-25_05-57-24-BwgIchq6.jpg renamed: spa/vue/dist/assets/restObject-CcS1cBol.jpg -> serv_spa/spa/vue/dist/assets/restObject-CcS1cBol.jpg renamed: spa/vue/dist/assets/searchLine-3vDx-8Ye.js -> serv_spa/spa/vue/dist/assets/searchLine-3vDx-8Ye.js renamed: spa/vue/dist/assets/searchLine-Bqe_ccJt.css -> serv_spa/spa/vue/dist/assets/searchLine-Bqe_ccJt.css renamed: spa/vue/dist/index.html -> serv_spa/spa/vue/dist/index.html renamed: spa/vue/index.html -> serv_spa/spa/vue/index.html renamed: spa/vue/jsconfig.json -> serv_spa/spa/vue/jsconfig.json renamed: spa/vue/package-lock.json -> serv_spa/spa/vue/package-lock.json renamed: spa/vue/package.json -> serv_spa/spa/vue/package.json renamed: spa/vue/src/App.vue -> serv_spa/spa/vue/src/App.vue renamed: spa/vue/src/assets/colors.css -> serv_spa/spa/vue/src/assets/colors.css renamed: spa/vue/src/assets/fonts.css -> serv_spa/spa/vue/src/assets/fonts.css renamed: spa/vue/src/assets/fonts/Open_Sans/OFL.txt -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/OFL.txt renamed: spa/vue/src/assets/fonts/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/OpenSans-Italic.woff -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/OpenSans-Italic.woff renamed: spa/vue/src/assets/fonts/Open_Sans/OpenSans-Italic.woff2 -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/OpenSans-Italic.woff2 renamed: spa/vue/src/assets/fonts/Open_Sans/OpenSans-Regular.woff -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/OpenSans-Regular.woff renamed: spa/vue/src/assets/fonts/Open_Sans/OpenSans-Regular.woff2 -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/OpenSans-Regular.woff2 renamed: spa/vue/src/assets/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/README.txt -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/README.txt renamed: spa/vue/src/assets/fonts/Open_Sans/hinted-OpenSans-Italic.eot -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/hinted-OpenSans-Italic.eot renamed: spa/vue/src/assets/fonts/Open_Sans/hinted-OpenSans-Italic.svg -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/hinted-OpenSans-Italic.svg renamed: spa/vue/src/assets/fonts/Open_Sans/hinted-OpenSans-Italic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/hinted-OpenSans-Italic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/hinted-OpenSans-Regular.eot -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/hinted-OpenSans-Regular.eot renamed: spa/vue/src/assets/fonts/Open_Sans/hinted-OpenSans-Regular.svg -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/hinted-OpenSans-Regular.svg renamed: spa/vue/src/assets/fonts/Open_Sans/hinted-OpenSans-Regular.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/hinted-OpenSans-Regular.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-Bold.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-Bold.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-BoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-BoldItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-ExtraBold.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-ExtraBold.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-ExtraBoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-ExtraBoldItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-Italic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-Italic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-Light.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-Light.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-LightItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-LightItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-Medium.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-Medium.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-MediumItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-MediumItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-Regular.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-Regular.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-SemiBold.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-SemiBold.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-SemiBoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans-SemiBoldItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-Bold.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-Bold.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-BoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-BoldItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-ExtraBold.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-ExtraBold.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-ExtraBoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-ExtraBoldItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-Italic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-Italic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-Light.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-Light.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-LightItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-LightItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-Medium.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-Medium.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-MediumItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-MediumItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-Regular.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-Regular.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-SemiBold.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-SemiBold.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-SemiBoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_Condensed-SemiBoldItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-Bold.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-Bold.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-BoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-BoldItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-ExtraBold.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-ExtraBold.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-ExtraBoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-ExtraBoldItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-Italic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-Italic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-Light.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-Light.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-LightItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-LightItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-Medium.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-Medium.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-MediumItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-MediumItalic.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-Regular.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-Regular.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-SemiBold.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-SemiBold.ttf renamed: spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-SemiBoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Open_Sans/static/OpenSans_SemiCondensed-SemiBoldItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/OFL.txt -> serv_spa/spa/vue/src/assets/fonts/Roboto/OFL.txt renamed: spa/vue/src/assets/fonts/Roboto/README.txt -> serv_spa/spa/vue/src/assets/fonts/Roboto/README.txt renamed: spa/vue/src/assets/fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf renamed: spa/vue/src/assets/fonts/Roboto/Roboto-Italic.woff -> serv_spa/spa/vue/src/assets/fonts/Roboto/Roboto-Italic.woff renamed: spa/vue/src/assets/fonts/Roboto/Roboto-Italic.woff2 -> serv_spa/spa/vue/src/assets/fonts/Roboto/Roboto-Italic.woff2 renamed: spa/vue/src/assets/fonts/Roboto/Roboto-Regular.woff -> serv_spa/spa/vue/src/assets/fonts/Roboto/Roboto-Regular.woff renamed: spa/vue/src/assets/fonts/Roboto/Roboto-Regular.woff2 -> serv_spa/spa/vue/src/assets/fonts/Roboto/Roboto-Regular.woff2 renamed: spa/vue/src/assets/fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf renamed: spa/vue/src/assets/fonts/Roboto/hinted-Roboto-Italic.eot -> serv_spa/spa/vue/src/assets/fonts/Roboto/hinted-Roboto-Italic.eot renamed: spa/vue/src/assets/fonts/Roboto/hinted-Roboto-Italic.svg -> serv_spa/spa/vue/src/assets/fonts/Roboto/hinted-Roboto-Italic.svg renamed: spa/vue/src/assets/fonts/Roboto/hinted-Roboto-Italic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/hinted-Roboto-Italic.ttf renamed: spa/vue/src/assets/fonts/Roboto/hinted-Roboto-Regular.eot -> serv_spa/spa/vue/src/assets/fonts/Roboto/hinted-Roboto-Regular.eot renamed: spa/vue/src/assets/fonts/Roboto/hinted-Roboto-Regular.svg -> serv_spa/spa/vue/src/assets/fonts/Roboto/hinted-Roboto-Regular.svg renamed: spa/vue/src/assets/fonts/Roboto/hinted-Roboto-Regular.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/hinted-Roboto-Regular.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-Black.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-Black.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-BlackItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-BlackItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-Bold.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-Bold.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-BoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-BoldItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-ExtraBold.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-ExtraBold.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-ExtraBoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-ExtraBoldItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-ExtraLight.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-ExtraLight.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-ExtraLightItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-ExtraLightItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-Italic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-Italic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-Light.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-Light.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-LightItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-LightItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-Medium.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-Medium.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-MediumItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-MediumItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-Regular.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-Regular.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-SemiBold.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-SemiBold.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-SemiBoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-SemiBoldItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-Thin.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-Thin.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto-ThinItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto-ThinItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Black.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Black.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-BlackItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-BlackItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Bold.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Bold.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-BoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-BoldItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-ExtraBold.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-ExtraBold.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-ExtraBoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-ExtraBoldItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-ExtraLight.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-ExtraLight.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-ExtraLightItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-ExtraLightItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Italic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Italic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Light.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Light.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-LightItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-LightItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Medium.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Medium.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-MediumItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-MediumItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Regular.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Regular.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-SemiBold.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-SemiBold.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-SemiBoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-SemiBoldItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Thin.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-Thin.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-ThinItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_Condensed-ThinItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Black.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Black.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-BlackItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-BlackItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Bold.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Bold.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-BoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-BoldItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-ExtraBold.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-ExtraBold.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-ExtraBoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-ExtraBoldItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-ExtraLight.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-ExtraLight.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-ExtraLightItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-ExtraLightItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Italic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Italic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Light.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Light.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-LightItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-LightItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Medium.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Medium.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-MediumItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-MediumItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Regular.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Regular.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-SemiBold.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-SemiBold.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-SemiBoldItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-SemiBoldItalic.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Thin.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-Thin.ttf renamed: spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-ThinItalic.ttf -> serv_spa/spa/vue/src/assets/fonts/Roboto/static/Roboto_SemiCondensed-ThinItalic.ttf renamed: spa/vue/src/assets/linksStyle.css -> serv_spa/spa/vue/src/assets/linksStyle.css renamed: spa/vue/src/assets/main.css -> serv_spa/spa/vue/src/assets/main.css renamed: spa/vue/src/auth/axios.js -> serv_spa/spa/vue/src/auth/axios.js renamed: spa/vue/src/auth/services/auth.service.js -> serv_spa/spa/vue/src/auth/services/auth.service.js renamed: spa/vue/src/auth/services/authService.js -> serv_spa/spa/vue/src/auth/services/authService.js renamed: spa/vue/src/auth/stores/auth.store.js -> serv_spa/spa/vue/src/auth/stores/auth.store.js renamed: spa/vue/src/auth/stores/store.js -> serv_spa/spa/vue/src/auth/stores/store.js renamed: spa/vue/src/auth/vueauth/auth.js -> serv_spa/spa/vue/src/auth/vueauth/auth.js renamed: spa/vue/src/auth/watch.js -> serv_spa/spa/vue/src/auth/watch.js renamed: spa/vue/src/components/about/about.vue -> serv_spa/spa/vue/src/components/about/about.vue renamed: spa/vue/src/components/about/commits.vue -> serv_spa/spa/vue/src/components/about/commits.vue renamed: spa/vue/src/components/about/developers.vue -> serv_spa/spa/vue/src/components/about/developers.vue renamed: spa/vue/src/components/about/filosofy.vue -> serv_spa/spa/vue/src/components/about/filosofy.vue renamed: spa/vue/src/components/feetback/feetback.vue -> serv_spa/spa/vue/src/components/feetback/feetback.vue renamed: spa/vue/src/components/footerB/footerB.vue -> serv_spa/spa/vue/src/components/footerB/footerB.vue renamed: spa/vue/src/components/header/darkThemeToggle.vue -> serv_spa/spa/vue/src/components/header/darkThemeToggle.vue renamed: spa/vue/src/components/header/fullHeader.vue -> serv_spa/spa/vue/src/components/header/fullHeader.vue renamed: spa/vue/src/components/header/headerMemu.vue -> serv_spa/spa/vue/src/components/header/headerMemu.vue renamed: spa/vue/src/components/header/logo-rl-about.vue -> serv_spa/spa/vue/src/components/header/logo-rl-about.vue renamed: spa/vue/src/components/header/toggleMenu.vue -> serv_spa/spa/vue/src/components/header/toggleMenu.vue renamed: spa/vue/src/components/images/YalArbaLogo300.png -> serv_spa/spa/vue/src/components/images/YalArbaLogo300.png renamed: spa/vue/src/components/images/icons/arrow_back_24dp_E8EAED_FILL0_wght400_GRAD0_opsz24.svg -> serv_spa/spa/vue/src/components/images/icons/arrow_back_24dp_E8EAED_FILL0_wght400_GRAD0_opsz24.svg renamed: spa/vue/src/components/images/icons/arrow_forward_24dp_E8EAED_FILL0_wght400_GRAD0_opsz24.svg -> serv_spa/spa/vue/src/components/images/icons/arrow_forward_24dp_E8EAED_FILL0_wght400_GRAD0_opsz24.svg renamed: spa/vue/src/components/images/icons/close_24dp_E8EAED_FILL0_wght400_GRAD0_opsz24.svg -> serv_spa/spa/vue/src/components/images/icons/close_24dp_E8EAED_FILL0_wght400_GRAD0_opsz24.svg renamed: spa/vue/src/components/images/icons/home_24dp_E8EAED_FILL0_wght400_GRAD0_opsz24.svg -> serv_spa/spa/vue/src/components/images/icons/home_24dp_E8EAED_FILL0_wght400_GRAD0_opsz24.svg renamed: spa/vue/src/components/images/icons/menu_24dp_E8EAED_FILL0_wght400_GRAD0_opsz24.svg -> serv_spa/spa/vue/src/components/images/icons/menu_24dp_E8EAED_FILL0_wght400_GRAD0_opsz24.svg renamed: spa/vue/src/components/images/logo150x150.png -> serv_spa/spa/vue/src/components/images/logo150x150.png renamed: spa/vue/src/components/images/photo_2025-01-25_05-57-24.jpg -> serv_spa/spa/vue/src/components/images/photo_2025-01-25_05-57-24.jpg renamed: spa/vue/src/components/images/restObject.jpg -> serv_spa/spa/vue/src/components/images/restObject.jpg renamed: spa/vue/src/components/inout/inout.vue -> serv_spa/spa/vue/src/components/inout/inout.vue renamed: spa/vue/src/components/inout/registration.vue -> serv_spa/spa/vue/src/components/inout/registration.vue renamed: spa/vue/src/components/profile/profile.vue -> serv_spa/spa/vue/src/components/profile/profile.vue renamed: spa/vue/src/components/profile/profileEdit.vue -> serv_spa/spa/vue/src/components/profile/profileEdit.vue renamed: spa/vue/src/components/restObject/restObject.vue -> serv_spa/spa/vue/src/components/restObject/restObject.vue renamed: spa/vue/src/components/restObject/restObjectEdit.vue -> serv_spa/spa/vue/src/components/restObject/restObjectEdit.vue renamed: spa/vue/src/components/restObject/restOjbectAdd.vue -> serv_spa/spa/vue/src/components/restObject/restOjbectAdd.vue renamed: spa/vue/src/components/saerch_results/results.vue -> serv_spa/spa/vue/src/components/saerch_results/results.vue renamed: spa/vue/src/components/searchLine/searchLine.vue -> serv_spa/spa/vue/src/components/searchLine/searchLine.vue renamed: spa/vue/src/components/settings.vue -> serv_spa/spa/vue/src/components/settings.vue renamed: spa/vue/src/components/support.vue -> serv_spa/spa/vue/src/components/support.vue renamed: spa/vue/src/locales/bak.json -> serv_spa/spa/vue/src/locales/bak.json renamed: spa/vue/src/locales/en.json -> serv_spa/spa/vue/src/locales/en.json renamed: spa/vue/src/locales/i18n.js -> serv_spa/spa/vue/src/locales/i18n.js renamed: spa/vue/src/locales/langToggle.vue -> serv_spa/spa/vue/src/locales/langToggle.vue renamed: spa/vue/src/locales/languages.json -> serv_spa/spa/vue/src/locales/languages.json renamed: spa/vue/src/locales/ru.json -> serv_spa/spa/vue/src/locales/ru.json renamed: spa/vue/src/locales/tat.json -> serv_spa/spa/vue/src/locales/tat.json renamed: spa/vue/src/main.js -> serv_spa/spa/vue/src/main.js renamed: spa/vue/src/router/index.js -> serv_spa/spa/vue/src/router/index.js renamed: spa/vue/src/views/AboutView.vue -> serv_spa/spa/vue/src/views/AboutView.vue renamed: spa/vue/src/views/FeetbackView.vue -> serv_spa/spa/vue/src/views/FeetbackView.vue renamed: spa/vue/src/views/FilosofyView.vue -> serv_spa/spa/vue/src/views/FilosofyView.vue renamed: spa/vue/src/views/HomeView.vue -> serv_spa/spa/vue/src/views/HomeView.vue renamed: spa/vue/src/views/LogInView.vue -> serv_spa/spa/vue/src/views/LogInView.vue renamed: spa/vue/src/views/ProfileView.vue -> serv_spa/spa/vue/src/views/ProfileView.vue renamed: spa/vue/src/views/RegistrationView.vue -> serv_spa/spa/vue/src/views/RegistrationView.vue renamed: spa/vue/src/views/RestObjectView.vue -> serv_spa/spa/vue/src/views/RestObjectView.vue renamed: spa/vue/src/views/ResultsView.vue -> serv_spa/spa/vue/src/views/ResultsView.vue renamed: spa/vue/src/views/SettingsView.vue -> serv_spa/spa/vue/src/views/SettingsView.vue renamed: spa/vue/src/views/SupportView.vue -> serv_spa/spa/vue/src/views/SupportView.vue renamed: spa/vue/tailwind.config.js -> serv_spa/spa/vue/tailwind.config.js renamed: spa/vue/vite.config.js -> serv_spa/spa/vue/vite.config.js deleted: spa/vue/Makefile divite spa service
64 lines
510 KiB
JavaScript
64 lines
510 KiB
JavaScript
import{_ as Uc,F as qc,a as jc}from"./footerB-DAi6c01a.js";import{u as $c,o as yo,c as go,b as Re,t as Gt,w as xr,v as Pr,f as Vc,a as wr,F as zc}from"./index-DccGIixi.js";/**
|
||
* @vue/compiler-sfc v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function ut(t){const s=Object.create(null);for(const n of t.split(","))s[n]=1;return n=>n in s}const bs=()=>!1,xo=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Un=Object.assign,Hc=Object.prototype.hasOwnProperty,Wc=(t,s)=>Hc.call(t,s),Gc=Array.isArray,Fe=t=>typeof t=="string",Po=t=>typeof t=="symbol",wo=t=>t!==null&&typeof t=="object",qn=ut(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kc=ut("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Li=t=>{const s=Object.create(null);return n=>s[n]||(s[n]=t(n))},Jc=/-(\w)/g,Ze=Li(t=>t.replace(Jc,(s,n)=>n?n.toUpperCase():"")),Hs=Li(t=>t.charAt(0).toUpperCase()+t.slice(1)),Yc=Li(t=>t?`on${Hs(t)}`:""),Xc=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function jn(t){return Xc.test(t)?`__props.${t}`:`__props[${JSON.stringify(t)}]`}const Qc={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},Zc={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},eu="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",So=ut(eu),tu=/;(?![^(]*\))/g,su=/:([^]+)/,ru=/\/\*[^]*?\*\//g;function iu(t){const s={};return t.replace(ru,"").split(tu).forEach(n=>{if(n){const o=n.split(su);o.length>1&&(s[o[0].trim()]=o[1].trim())}}),s}const _s=Symbol("Fragment"),Xt=Symbol("Teleport"),Mi=Symbol("Suspense"),Rs=Symbol("KeepAlive"),bo=Symbol("BaseTransition"),Ut=Symbol("openBlock"),Ao=Symbol("createBlock"),To=Symbol("createElementBlock"),Eo=Symbol("createVNode"),vo=Symbol("createElementVNode"),_i=Symbol("createCommentVNode"),Co=Symbol("createTextVNode"),nu=Symbol("createStaticVNode"),pi=Symbol("resolveComponent"),Ri=Symbol("resolveDynamicComponent"),Io=Symbol("resolveDirective"),au=Symbol("resolveFilter"),No=Symbol("withDirectives"),Di=Symbol("renderList"),ko=Symbol("renderSlot"),Oo=Symbol("createSlots"),Bi=Symbol("toDisplayString"),Ds=Symbol("mergeProps"),Fi=Symbol("normalizeClass"),Ui=Symbol("normalizeStyle"),Zt=Symbol("normalizeProps"),as=Symbol("guardReactiveProps"),qi=Symbol("toHandlers"),fi=Symbol("camelize"),ou=Symbol("capitalize"),di=Symbol("toHandlerKey"),Lo=Symbol("setBlockTracking"),lu=Symbol("pushScopeId"),hu=Symbol("popScopeId"),Mo=Symbol("withCtx"),Bs=Symbol("unref"),Fs=Symbol("isRef"),ji=Symbol("withMemo"),_o=Symbol("isMemoSame"),cu={[_s]:"Fragment",[Xt]:"Teleport",[Mi]:"Suspense",[Rs]:"KeepAlive",[bo]:"BaseTransition",[Ut]:"openBlock",[Ao]:"createBlock",[To]:"createElementBlock",[Eo]:"createVNode",[vo]:"createElementVNode",[_i]:"createCommentVNode",[Co]:"createTextVNode",[nu]:"createStaticVNode",[pi]:"resolveComponent",[Ri]:"resolveDynamicComponent",[Io]:"resolveDirective",[au]:"resolveFilter",[No]:"withDirectives",[Di]:"renderList",[ko]:"renderSlot",[Oo]:"createSlots",[Bi]:"toDisplayString",[Ds]:"mergeProps",[Fi]:"normalizeClass",[Ui]:"normalizeStyle",[Zt]:"normalizeProps",[as]:"guardReactiveProps",[qi]:"toHandlers",[fi]:"camelize",[ou]:"capitalize",[di]:"toHandlerKey",[Lo]:"setBlockTracking",[lu]:"pushScopeId",[hu]:"popScopeId",[Mo]:"withCtx",[Bs]:"unref",[Fs]:"isRef",[ji]:"withMemo",[_o]:"isMemoSame"};function Ro(t){Object.getOwnPropertySymbols(t).forEach(s=>{cu[s]=t[s]})}const je={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Us(t,s,n,o,l,u,c,f=!1,p=!1,x=!1,g=je){return t&&(f?(t.helper(Ut),t.helper(ts(t.inSSR,x))):t.helper(es(t.inSSR,x)),c&&t.helper(No)),{type:13,tag:s,props:n,children:o,patchFlag:l,dynamicProps:u,directives:c,isBlock:f,disableTracking:p,isComponent:x,loc:g}}function Ws(t,s=je){return{type:17,loc:s,elements:t}}function Be(t,s=je){return{type:15,loc:s,properties:t}}function ce(t,s){return{type:16,loc:je,key:Fe(t)?X(t,!0):t,value:s}}function X(t,s=!1,n=je,o=0){return{type:4,loc:n,content:t,isStatic:s,constType:s?3:o}}function Ce(t,s=je){return{type:8,loc:s,children:t}}function de(t,s=[],n=je){return{type:14,loc:n,callee:t,arguments:s}}function qt(t,s=void 0,n=!1,o=!1,l=je){return{type:18,params:t,returns:s,newline:n,isSlot:o,loc:l}}function mi(t,s,n,o=!0){return{type:19,test:t,consequent:s,alternate:n,newline:o,loc:je}}function uu(t){return{type:21,body:t,loc:je}}function es(t,s){return t||s?Eo:vo}function ts(t,s){return t||s?Ao:To}function Do(t,{helper:s,removeHelper:n,inSSR:o}){t.isBlock||(t.isBlock=!0,n(es(o,t.isComponent)),s(Ut),s(ts(o,t.isComponent)))}var Bo=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),pu=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0))),Sr;const fu=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),yi=(Sr=String.fromCodePoint)!==null&&Sr!==void 0?Sr:function(t){let s="";return t>65535&&(t-=65536,s+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),s+=String.fromCharCode(t),s};function du(t){var s;return t>=55296&&t<=57343||t>1114111?65533:(s=fu.get(t))!==null&&s!==void 0?s:t}var xe;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(xe||(xe={}));const mu=32;var ht;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(ht||(ht={}));function gi(t){return t>=xe.ZERO&&t<=xe.NINE}function yu(t){return t>=xe.UPPER_A&&t<=xe.UPPER_F||t>=xe.LOWER_A&&t<=xe.LOWER_F}function gu(t){return t>=xe.UPPER_A&&t<=xe.UPPER_Z||t>=xe.LOWER_A&&t<=xe.LOWER_Z||gi(t)}function xu(t){return t===xe.EQUALS||gu(t)}var ge;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(ge||(ge={}));var Ve;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Ve||(Ve={}));class Fo{constructor(s,n,o){this.decodeTree=s,this.emitCodePoint=n,this.errors=o,this.state=ge.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ve.Strict}startEntity(s){this.decodeMode=s,this.state=ge.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(s,n){switch(this.state){case ge.EntityStart:return s.charCodeAt(n)===xe.NUM?(this.state=ge.NumericStart,this.consumed+=1,this.stateNumericStart(s,n+1)):(this.state=ge.NamedEntity,this.stateNamedEntity(s,n));case ge.NumericStart:return this.stateNumericStart(s,n);case ge.NumericDecimal:return this.stateNumericDecimal(s,n);case ge.NumericHex:return this.stateNumericHex(s,n);case ge.NamedEntity:return this.stateNamedEntity(s,n)}}stateNumericStart(s,n){return n>=s.length?-1:(s.charCodeAt(n)|mu)===xe.LOWER_X?(this.state=ge.NumericHex,this.consumed+=1,this.stateNumericHex(s,n+1)):(this.state=ge.NumericDecimal,this.stateNumericDecimal(s,n))}addToNumericResult(s,n,o,l){if(n!==o){const u=o-n;this.result=this.result*Math.pow(l,u)+parseInt(s.substr(n,u),l),this.consumed+=u}}stateNumericHex(s,n){const o=n;for(;n<s.length;){const l=s.charCodeAt(n);if(gi(l)||yu(l))n+=1;else return this.addToNumericResult(s,o,n,16),this.emitNumericEntity(l,3)}return this.addToNumericResult(s,o,n,16),-1}stateNumericDecimal(s,n){const o=n;for(;n<s.length;){const l=s.charCodeAt(n);if(gi(l))n+=1;else return this.addToNumericResult(s,o,n,10),this.emitNumericEntity(l,2)}return this.addToNumericResult(s,o,n,10),-1}emitNumericEntity(s,n){var o;if(this.consumed<=n)return(o=this.errors)===null||o===void 0||o.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(s===xe.SEMI)this.consumed+=1;else if(this.decodeMode===Ve.Strict)return 0;return this.emitCodePoint(du(this.result),this.consumed),this.errors&&(s!==xe.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(s,n){const{decodeTree:o}=this;let l=o[this.treeIndex],u=(l&ht.VALUE_LENGTH)>>14;for(;n<s.length;n++,this.excess++){const c=s.charCodeAt(n);if(this.treeIndex=Pu(o,l,this.treeIndex+Math.max(1,u),c),this.treeIndex<0)return this.result===0||this.decodeMode===Ve.Attribute&&(u===0||xu(c))?0:this.emitNotTerminatedNamedEntity();if(l=o[this.treeIndex],u=(l&ht.VALUE_LENGTH)>>14,u!==0){if(c===xe.SEMI)return this.emitNamedEntityData(this.treeIndex,u,this.consumed+this.excess);this.decodeMode!==Ve.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var s;const{result:n,decodeTree:o}=this,l=(o[n]&ht.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,l,this.consumed),(s=this.errors)===null||s===void 0||s.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(s,n,o){const{decodeTree:l}=this;return this.emitCodePoint(n===1?l[s]&~ht.VALUE_LENGTH:l[s+1],o),n===3&&this.emitCodePoint(l[s+2],o),o}end(){var s;switch(this.state){case ge.NamedEntity:return this.result!==0&&(this.decodeMode!==Ve.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ge.NumericDecimal:return this.emitNumericEntity(0,2);case ge.NumericHex:return this.emitNumericEntity(0,3);case ge.NumericStart:return(s=this.errors)===null||s===void 0||s.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ge.EntityStart:return 0}}}function Uo(t){let s="";const n=new Fo(t,o=>s+=yi(o));return function(l,u){let c=0,f=0;for(;(f=l.indexOf("&",f))>=0;){s+=l.slice(c,f),n.startEntity(u);const x=n.write(l,f+1);if(x<0){c=f+n.end();break}c=f+x,f=x===0?c+1:c}const p=s+l.slice(c);return s="",p}}function Pu(t,s,n,o){const l=(s&ht.BRANCH_LENGTH)>>7,u=s&ht.JUMP_TABLE;if(l===0)return u!==0&&o===u?n:-1;if(u){const p=o-u;return p<0||p>=l?-1:t[n+p]-1}let c=n,f=c+l-1;for(;c<=f;){const p=c+f>>>1,x=t[p];if(x<o)c=p+1;else if(x>o)f=p-1;else return t[p+l]}return-1}const wu=Uo(Bo);Uo(pu);function Su(t,s=Ve.Legacy){return wu(t,s)}const $n=new Uint8Array([123,123]),Vn=new Uint8Array([125,125]);function zn(t){return t>=97&&t<=122||t>=65&&t<=90}function Me(t){return t===32||t===10||t===9||t===12||t===13}function it(t){return t===47||t===62||Me(t)}function qo(t){const s=new Uint8Array(t.length);for(let n=0;n<t.length;n++)s[n]=t.charCodeAt(n);return s}const we={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class bu{constructor(s,n){this.stack=s,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=$n,this.delimiterClose=Vn,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new Fo(Bo,(o,l)=>this.emitCodePoint(o,l))}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=$n,this.delimiterClose=Vn}getPos(s){let n=1,o=s+1;for(let l=this.newlines.length-1;l>=0;l--){const u=this.newlines[l];if(s>u){n=l+2,o=s-u;break}}return{column:o,line:n,offset:s}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(s){s===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):s===38?this.startEntity():!this.inVPre&&s===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(s))}stateInterpolationOpen(s){if(s===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(s)):(this.state=1,this.stateText(s))}stateInterpolation(s){s===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(s))}stateInterpolationClose(s){s===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(s))}stateSpecialStartSequence(s){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?it(s):(s|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(s)}stateInRCDATA(s){if(this.sequenceIndex===this.currentSequence.length){if(s===62||Me(s)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const o=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=o}this.sectionStart=n+2,this.stateInClosingTagName(s),this.inRCDATA=!1;return}this.sequenceIndex=0}(s|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===we.TitleEnd||this.currentSequence===we.TextareaEnd&&!this.inSFCRoot?s===38?this.startEntity():!this.inVPre&&s===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(s)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(s===60)}stateCDATASequence(s){s===we.Cdata[this.sequenceIndex]?++this.sequenceIndex===we.Cdata.length&&(this.state=28,this.currentSequence=we.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(s))}fastForwardTo(s){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===s)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(s){s===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===we.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):s!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(s,n){this.enterRCDATA(s,n),this.state=31}enterRCDATA(s,n){this.inRCDATA=!0,this.currentSequence=s,this.sequenceIndex=n}stateBeforeTagName(s){s===33?(this.state=22,this.sectionStart=this.index+1):s===63?(this.state=24,this.sectionStart=this.index+1):zn(s)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:s===116?this.state=30:this.state=s===115?29:6):s===47?this.state=8:(this.state=1,this.stateText(s))}stateInTagName(s){it(s)&&this.handleTagName(s)}stateInSFCRootTagName(s){if(it(s)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(qo("</"+n),0),this.handleTagName(s)}}handleTagName(s){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(s)}stateBeforeClosingTagName(s){Me(s)||(s===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=zn(s)?9:27,this.sectionStart=this.index))}stateInClosingTagName(s){(s===62||Me(s))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(s))}stateAfterClosingTagName(s){s===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(s){s===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):s===47?(this.state=7,this.peek()!==62&&this.cbs.onerr(22,this.index)):s===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Me(s)||(s===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(s))}handleAttrStart(s){s===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):s===46||s===58||s===64||s===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(s){s===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Me(s)||(this.state=11,this.stateBeforeAttrName(s))}stateInAttrName(s){s===61||it(s)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(s)):(s===34||s===39||s===60)&&this.cbs.onerr(17,this.index)}stateInDirName(s){s===61||it(s)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(s)):s===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):s===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(s){s===61||it(s)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(s)):s===91?this.state=15:s===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(s){s===93?this.state=14:(s===61||it(s))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(s),this.cbs.onerr(27,this.index))}stateInDirModifier(s){s===61||it(s)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(s)):s===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(s){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(s)}stateAfterAttrName(s){s===61?this.state=18:s===47||s===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(s)):Me(s)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(s))}stateBeforeAttrValue(s){s===34?(this.state=19,this.sectionStart=this.index+1):s===39?(this.state=20,this.sectionStart=this.index+1):Me(s)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(s))}handleInAttrValue(s,n){s===n?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11):s===38&&this.startEntity()}stateInAttrValueDoubleQuotes(s){this.handleInAttrValue(s,34)}stateInAttrValueSingleQuotes(s){this.handleInAttrValue(s,39)}stateInAttrValueNoQuotes(s){Me(s)||s===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(s)):s===34||s===39||s===60||s===61||s===96?this.cbs.onerr(18,this.index):s===38&&this.startEntity()}stateBeforeDeclaration(s){s===91?(this.state=26,this.sequenceIndex=0):this.state=s===45?25:23}stateInDeclaration(s){(s===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(s){(s===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(s){s===45?(this.state=28,this.currentSequence=we.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(s){(s===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(s){s===we.ScriptEnd[3]?this.startSpecial(we.ScriptEnd,4):s===we.StyleEnd[3]?this.startSpecial(we.StyleEnd,4):(this.state=6,this.stateInTagName(s))}stateBeforeSpecialT(s){s===we.TitleEnd[3]?this.startSpecial(we.TitleEnd,4):s===we.TextareaEnd[3]?this.startSpecial(we.TextareaEnd,4):(this.state=6,this.stateInTagName(s))}startEntity(){this.baseState=this.state,this.state=33,this.entityStart=this.index,this.entityDecoder.startEntity(this.baseState===1||this.baseState===32?Ve.Legacy:Ve.Attribute)}stateInEntity(){{const s=this.entityDecoder.write(this.buffer,this.index);s>=0?(this.state=this.baseState,s===0&&(this.index=this.entityStart)):this.index=this.buffer.length-1}}parse(s){for(this.buffer=s;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.state===33&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const s=this.buffer.length;this.sectionStart>=s||(this.state===28?this.currentSequence===we.CdataEnd?this.cbs.oncdata(this.sectionStart,s):this.cbs.oncomment(this.sectionStart,s):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,s))}emitCodePoint(s,n){this.baseState!==1&&this.baseState!==32?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+n,this.index=this.sectionStart-1,this.cbs.onattribentity(yi(s),this.entityStart,this.sectionStart)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+n,this.index=this.sectionStart-1,this.cbs.ontextentity(yi(s),this.entityStart,this.sectionStart))}}function Au(t){throw t}function Tu(t){console.warn(`[Vue warn] ${t.message}`)}function ae(t,s,n,o){const l=(n||jo)[t]+(o||""),u=new SyntaxError(String(l));return u.code=t,u.loc=s,u}const jo={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",52:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
||
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",51:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',53:""};function Eu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function $i(t){if(t.__esModule)return t;var s=t.default;if(typeof s=="function"){var n=function o(){return this instanceof o?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};n.prototype=s.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(o){var l=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,l.get?l:{enumerable:!0,get:function(){return t[o]}})}),n}var Nt={},Hn;function vu(){if(Hn)return Nt;Hn=1,Object.defineProperty(Nt,"__esModule",{value:!0});function t(m,r){if(m==null)return{};var e={};for(var i in m)if({}.hasOwnProperty.call(m,i)){if(r.includes(i))continue;e[i]=m[i]}return e}class s{constructor(r,e,i){this.line=void 0,this.column=void 0,this.index=void 0,this.line=r,this.column=e,this.index=i}}class n{constructor(r,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=r,this.end=e}}function o(m,r){const{line:e,column:i,index:a}=m;return new s(e,i+r,a+r)}const l="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var u={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:l},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:l}};const c={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"},f=m=>m.type==="UpdateExpression"?c.UpdateExpression[`${m.prefix}`]:c[m.type];var p={AccessorIsGenerator:({kind:m})=>`A ${m}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.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",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:({kind:m})=>`Missing initializer in ${m} 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:({exportName:m})=>`\`${m}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:m})=>`'import.${m}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:m,exportName:r})=>`A string literal cannot be used as an exported binding without \`from\`.
|
||
- Did you mean \`export { '${m}' as '${r}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:m})=>`'${m==="ForInStatement"?"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:({type:m})=>`Unsyntactic ${m==="BreakStatement"?"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 `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:m})=>`A string literal cannot be used as an imported binding.
|
||
- Did you mean \`import { "${m}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:m})=>`\`import()\` requires exactly ${m===1?"one argument":"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.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:m})=>`Expected number in radix ${m}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:m})=>`Escape sequence in keyword ${m}.`,InvalidIdentifier:({identifierName:m})=>`Invalid identifier ${m}.`,InvalidLhs:({ancestor:m})=>`Invalid left-hand side in ${f(m)}.`,InvalidLhsBinding:({ancestor:m})=>`Binding invalid left-hand side in ${f(m)}.`,InvalidLhsOptionalChaining:({ancestor:m})=>`Invalid optional chaining in the left-hand side of ${f(m)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:m})=>`Unexpected character '${m}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:m})=>`Private name #${m} 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:({labelName:m})=>`Label '${m}' 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:({missingPlugin:m})=>`This experimental syntax requires enabling the parser plugin: ${m.map(r=>JSON.stringify(r)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:m})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${m.map(r=>JSON.stringify(r)).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:({key:m})=>`Duplicate key "${m}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:m})=>`An export name cannot include a lone surrogate, found '\\u${m.toString(16)}'.`,ModuleExportUndefined:({localName:m})=>`Export '${m}' 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:({identifierName:m})=>`Private names are only allowed in property accesses (\`obj.#${m}\`) or in \`in\` expressions (\`#${m} in obj\`).`,PrivateNameRedeclaration:({identifierName:m})=>`Duplicate private name #${m}.`,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:({keyword:m})=>`Unexpected keyword '${m}'.`,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:({reservedWord:m})=>`Unexpected reserved word '${m}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:m,unexpected:r})=>`Unexpected token${r?` '${r}'.`:""}${m?`, expected "${m}"`:""}`,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`.",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:({target:m,onlyValidPropertyName:r})=>`The only valid meta property for ${m} is ${m}.${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:({identifierName:m})=>`Identifier '${m}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},x={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:m})=>`Assigning to '${m}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:m})=>`Binding '${m}' 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."};const g=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var S={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:({token:m})=>`Invalid topic token ${m}. In order to use ${m} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${m}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:m})=>`Hack-style pipe body cannot be an unparenthesized ${f({type:m})}; 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.'};const w=["message"];function P(m,r,e){Object.defineProperty(m,r,{enumerable:!1,configurable:!0,value:e})}function T({toMessage:m,code:r,reasonCode:e,syntaxPlugin:i}){const a=e==="MissingPlugin"||e==="MissingOneOfPlugins";return function h(y,b){const v=new SyntaxError;return v.code=r,v.reasonCode=e,v.loc=y,v.pos=y.index,v.syntaxPlugin=i,a&&(v.missingPlugin=b.missingPlugin),P(v,"clone",function(C={}){var q;const{line:$,column:V,index:W}=(q=C.loc)!=null?q:y;return h(new s($,V,W),Object.assign({},b,C.details))}),P(v,"details",b),Object.defineProperty(v,"message",{configurable:!0,get(){const I=`${m(b)} (${y.line}:${y.column})`;return this.message=I,I},set(I){Object.defineProperty(this,"message",{value:I,writable:!0})}}),v}}function A(m,r){if(Array.isArray(m))return i=>A(i,m[0]);const e={};for(const i of Object.keys(m)){const a=m[i],h=typeof a=="string"?{message:()=>a}:typeof a=="function"?{message:a}:a,{message:y}=h,b=t(h,w),v=typeof y=="string"?()=>y:y;e[i]=T(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:i,toMessage:v},r?{syntaxPlugin:r}:{},b))}return e}const d=Object.assign({},A(u),A(p),A(x),A`pipelineOperator`(S)),{defineProperty:N}=Object,k=(m,r)=>{m&&N(m,r,{enumerable:!1,value:m[r]})};function L(m){return k(m.loc.start,"index"),k(m.loc.end,"index"),m}var U=m=>class extends m{parse(){const e=L(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(L)),e}parseRegExpLiteral({pattern:e,flags:i}){let a=null;try{a=new RegExp(e,i)}catch{}const h=this.estreeParseLiteral(a);return h.regex={pattern:e,flags:i},h}parseBigIntLiteral(e){let i;try{i=BigInt(e)}catch{i=null}const a=this.estreeParseLiteral(i);return a.bigint=String(a.value||e),a}parseDecimalLiteral(e){const a=this.estreeParseLiteral(null);return a.decimal=String(a.value||e),a}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const i=e.value;delete e.value,i.type="Literal",i.raw=i.extra.raw,i.value=i.extra.expressionValue;const a=e;return a.type="ExpressionStatement",a.expression=i,a.directive=i.extra.rawValue,delete i.extra,a}initFunction(e,i){super.initFunction(e,i),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var i;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((i=e.expression.extra)!=null&&i.parenthesized)}parseBlockBody(e,i,a,h,y){super.parseBlockBody(e,i,a,h,y);const b=e.directives.map(v=>this.directiveToStmt(v));e.body=b.concat(e.body),delete e.directives}pushClassMethod(e,i,a,h,y,b){this.parseMethod(i,a,h,y,b,"ClassMethod",!0),i.typeParameters&&(i.value.typeParameters=i.typeParameters,delete i.typeParameters),e.body.push(i)}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const i=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=i,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,i){const a=super.parseLiteral(e,i);return a.raw=a.extra.raw,delete a.extra,a}parseFunctionBody(e,i,a=!1){super.parseFunctionBody(e,i,a),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,i,a,h,y,b,v=!1){let I=this.startNode();return I.kind=e.kind,I=super.parseMethod(I,i,a,h,y,b,v),I.type="FunctionExpression",delete I.kind,e.value=I,b==="ClassPrivateMethod"&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}nameIsConstructor(e){return e.type==="Literal"?e.value==="constructor":super.nameIsConstructor(e)}parseClassProperty(...e){const i=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&(i.type="PropertyDefinition"),i}parseClassPrivateProperty(...e){const i=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(i.type="PropertyDefinition",i.computed=!1),i}parseObjectMethod(e,i,a,h,y){const b=super.parseObjectMethod(e,i,a,h,y);return b&&(b.type="Property",b.kind==="method"&&(b.kind="init"),b.shorthand=!1),b}parseObjectProperty(e,i,a,h){const y=super.parseObjectProperty(e,i,a,h);return y&&(y.kind="init",y.type="Property"),y}isValidLVal(e,i,a){return e==="Property"?"value":super.isValidLVal(e,i,a)}isAssignable(e,i){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,i):super.isAssignable(e,i)}toAssignable(e,i=!1){if(e!=null&&this.isObjectProperty(e)){const{key:a,value:h}=e;this.isPrivateName(a)&&this.classScope.usePrivateName(this.getPrivateNameSV(a),a.loc.start),this.toAssignable(h,i)}else super.toAssignable(e,i)}toAssignableObjectExpressionProp(e,i,a){e.type==="Property"&&(e.kind==="get"||e.kind==="set")?this.raise(d.PatternHasAccessor,e.key):e.type==="Property"&&e.method?this.raise(d.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,i,a)}finishCallExpression(e,i){const a=super.finishCallExpression(e,i);if(a.callee.type==="Import"){if(a.type="ImportExpression",a.source=a.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var h,y;a.options=(h=a.arguments[1])!=null?h:null,a.attributes=(y=a.arguments[1])!=null?y:null}delete a.arguments,delete a.callee}return a}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e,i){const a=this.state.lastTokStartLoc,h=super.parseExport(e,i);switch(h.type){case"ExportAllDeclaration":h.exported=null;break;case"ExportNamedDeclaration":h.specifiers.length===1&&h.specifiers[0].type==="ExportNamespaceSpecifier"&&(h.type="ExportAllDeclaration",h.exported=h.specifiers[0].exported,delete h.specifiers);case"ExportDefaultDeclaration":{var y;const{declaration:b}=h;(b==null?void 0:b.type)==="ClassDeclaration"&&((y=b.decorators)==null?void 0:y.length)>0&&b.start===h.start&&this.resetStartLocation(h,a)}break}return h}parseSubscript(e,i,a,h){const y=super.parseSubscript(e,i,a,h);if(h.optionalChainMember){if((y.type==="OptionalMemberExpression"||y.type==="OptionalCallExpression")&&(y.type=y.type.substring(8)),h.stop){const b=this.startNodeAtNode(y);return b.expression=y,this.finishNode(b,"ChainExpression")}}else(y.type==="MemberExpression"||y.type==="CallExpression")&&(y.optional=!1);return y}isOptionalMemberExpression(e){return e.type==="ChainExpression"?e.expression.type==="MemberExpression":super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.type==="Property"&&(e.method||e.kind==="get"||e.kind==="set")}finishNodeAt(e,i,a){return L(super.finishNodeAt(e,i,a))}resetStartLocation(e,i){super.resetStartLocation(e,i),L(e)}resetEndLocation(e,i=this.state.lastTokEndLoc){super.resetEndLocation(e,i),L(e)}};class _{constructor(r,e){this.token=void 0,this.preserveSpace=void 0,this.token=r,this.preserveSpace=!!e}}const M={brace:new _("{"),j_oTag:new _("<tag"),j_cTag:new _("</tag"),j_expr:new _("<tag>...</tag>",!0)};M.template=new _("`",!0);const R=!0,E=!0,O=!0,D=!0,B=!0,z=!0;class J{constructor(r,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=r,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}}const Q=new Map;function F(m,r={}){r.keyword=m;const e=G(m,r);return Q.set(m,e),e}function te(m,r){return G(m,{beforeExpr:R,binop:r})}let ee=-1;const oe=[],ke=[],ye=[],$e=[],Et=[],Y=[];function G(m,r={}){var e,i,a,h;return++ee,ke.push(m),ye.push((e=r.binop)!=null?e:-1),$e.push((i=r.beforeExpr)!=null?i:!1),Et.push((a=r.startsExpr)!=null?a:!1),Y.push((h=r.prefix)!=null?h:!1),oe.push(new J(m,r)),ee}function Z(m,r={}){var e,i,a,h;return++ee,Q.set(m,ee),ke.push(m),ye.push((e=r.binop)!=null?e:-1),$e.push((i=r.beforeExpr)!=null?i:!1),Et.push((a=r.startsExpr)!=null?a:!1),Y.push((h=r.prefix)!=null?h:!1),oe.push(new J("name",r)),ee}const sr={bracketL:G("[",{beforeExpr:R,startsExpr:E}),bracketHashL:G("#[",{beforeExpr:R,startsExpr:E}),bracketBarL:G("[|",{beforeExpr:R,startsExpr:E}),bracketR:G("]"),bracketBarR:G("|]"),braceL:G("{",{beforeExpr:R,startsExpr:E}),braceBarL:G("{|",{beforeExpr:R,startsExpr:E}),braceHashL:G("#{",{beforeExpr:R,startsExpr:E}),braceR:G("}"),braceBarR:G("|}"),parenL:G("(",{beforeExpr:R,startsExpr:E}),parenR:G(")"),comma:G(",",{beforeExpr:R}),semi:G(";",{beforeExpr:R}),colon:G(":",{beforeExpr:R}),doubleColon:G("::",{beforeExpr:R}),dot:G("."),question:G("?",{beforeExpr:R}),questionDot:G("?."),arrow:G("=>",{beforeExpr:R}),template:G("template"),ellipsis:G("...",{beforeExpr:R}),backQuote:G("`",{startsExpr:E}),dollarBraceL:G("${",{beforeExpr:R,startsExpr:E}),templateTail:G("...`",{startsExpr:E}),templateNonTail:G("...${",{beforeExpr:R,startsExpr:E}),at:G("@"),hash:G("#",{startsExpr:E}),interpreterDirective:G("#!..."),eq:G("=",{beforeExpr:R,isAssign:D}),assign:G("_=",{beforeExpr:R,isAssign:D}),slashAssign:G("_=",{beforeExpr:R,isAssign:D}),xorAssign:G("_=",{beforeExpr:R,isAssign:D}),moduloAssign:G("_=",{beforeExpr:R,isAssign:D}),incDec:G("++/--",{prefix:B,postfix:z,startsExpr:E}),bang:G("!",{beforeExpr:R,prefix:B,startsExpr:E}),tilde:G("~",{beforeExpr:R,prefix:B,startsExpr:E}),doubleCaret:G("^^",{startsExpr:E}),doubleAt:G("@@",{startsExpr:E}),pipeline:te("|>",0),nullishCoalescing:te("??",1),logicalOR:te("||",1),logicalAND:te("&&",2),bitwiseOR:te("|",3),bitwiseXOR:te("^",4),bitwiseAND:te("&",5),equality:te("==/!=/===/!==",6),lt:te("</>/<=/>=",7),gt:te("</>/<=/>=",7),relational:te("</>/<=/>=",7),bitShift:te("<</>>/>>>",8),bitShiftL:te("<</>>/>>>",8),bitShiftR:te("<</>>/>>>",8),plusMin:G("+/-",{beforeExpr:R,binop:9,prefix:B,startsExpr:E}),modulo:G("%",{binop:10,startsExpr:E}),star:G("*",{binop:10}),slash:te("/",10),exponent:G("**",{beforeExpr:R,binop:11,rightAssociative:!0}),_in:F("in",{beforeExpr:R,binop:7}),_instanceof:F("instanceof",{beforeExpr:R,binop:7}),_break:F("break"),_case:F("case",{beforeExpr:R}),_catch:F("catch"),_continue:F("continue"),_debugger:F("debugger"),_default:F("default",{beforeExpr:R}),_else:F("else",{beforeExpr:R}),_finally:F("finally"),_function:F("function",{startsExpr:E}),_if:F("if"),_return:F("return",{beforeExpr:R}),_switch:F("switch"),_throw:F("throw",{beforeExpr:R,prefix:B,startsExpr:E}),_try:F("try"),_var:F("var"),_const:F("const"),_with:F("with"),_new:F("new",{beforeExpr:R,startsExpr:E}),_this:F("this",{startsExpr:E}),_super:F("super",{startsExpr:E}),_class:F("class",{startsExpr:E}),_extends:F("extends",{beforeExpr:R}),_export:F("export"),_import:F("import",{startsExpr:E}),_null:F("null",{startsExpr:E}),_true:F("true",{startsExpr:E}),_false:F("false",{startsExpr:E}),_typeof:F("typeof",{beforeExpr:R,prefix:B,startsExpr:E}),_void:F("void",{beforeExpr:R,prefix:B,startsExpr:E}),_delete:F("delete",{beforeExpr:R,prefix:B,startsExpr:E}),_do:F("do",{isLoop:O,beforeExpr:R}),_for:F("for",{isLoop:O}),_while:F("while",{isLoop:O}),_as:Z("as",{startsExpr:E}),_assert:Z("assert",{startsExpr:E}),_async:Z("async",{startsExpr:E}),_await:Z("await",{startsExpr:E}),_defer:Z("defer",{startsExpr:E}),_from:Z("from",{startsExpr:E}),_get:Z("get",{startsExpr:E}),_let:Z("let",{startsExpr:E}),_meta:Z("meta",{startsExpr:E}),_of:Z("of",{startsExpr:E}),_sent:Z("sent",{startsExpr:E}),_set:Z("set",{startsExpr:E}),_source:Z("source",{startsExpr:E}),_static:Z("static",{startsExpr:E}),_using:Z("using",{startsExpr:E}),_yield:Z("yield",{startsExpr:E}),_asserts:Z("asserts",{startsExpr:E}),_checks:Z("checks",{startsExpr:E}),_exports:Z("exports",{startsExpr:E}),_global:Z("global",{startsExpr:E}),_implements:Z("implements",{startsExpr:E}),_intrinsic:Z("intrinsic",{startsExpr:E}),_infer:Z("infer",{startsExpr:E}),_is:Z("is",{startsExpr:E}),_mixins:Z("mixins",{startsExpr:E}),_proto:Z("proto",{startsExpr:E}),_require:Z("require",{startsExpr:E}),_satisfies:Z("satisfies",{startsExpr:E}),_keyof:Z("keyof",{startsExpr:E}),_readonly:Z("readonly",{startsExpr:E}),_unique:Z("unique",{startsExpr:E}),_abstract:Z("abstract",{startsExpr:E}),_declare:Z("declare",{startsExpr:E}),_enum:Z("enum",{startsExpr:E}),_module:Z("module",{startsExpr:E}),_namespace:Z("namespace",{startsExpr:E}),_interface:Z("interface",{startsExpr:E}),_type:Z("type",{startsExpr:E}),_opaque:Z("opaque",{startsExpr:E}),name:G("name",{startsExpr:E}),string:G("string",{startsExpr:E}),num:G("num",{startsExpr:E}),bigint:G("bigint",{startsExpr:E}),decimal:G("decimal",{startsExpr:E}),regexp:G("regexp",{startsExpr:E}),privateName:G("#name",{startsExpr:E}),eof:G("eof"),jsxName:G("jsxName"),jsxText:G("jsxText",{beforeExpr:!0}),jsxTagStart:G("jsxTagStart",{startsExpr:!0}),jsxTagEnd:G("jsxTagEnd"),placeholder:G("%%",{startsExpr:!0})};function se(m){return m>=93&&m<=132}function rr(m){return m<=92}function Oe(m){return m>=58&&m<=132}function us(m){return m>=58&&m<=136}function et(m){return $e[m]}function pt(m){return Et[m]}function ps(m){return m>=29&&m<=33}function pn(m){return m>=129&&m<=131}function wh(m){return m>=90&&m<=92}function ir(m){return m>=58&&m<=92}function Sh(m){return m>=39&&m<=59}function bh(m){return m===34}function Ah(m){return Y[m]}function Th(m){return m>=121&&m<=123}function Eh(m){return m>=124&&m<=130}function tt(m){return ke[m]}function fs(m){return ye[m]}function vh(m){return m===57}function ds(m){return m>=24&&m<=25}function Ge(m){return oe[m]}oe[8].updateContext=m=>{m.pop()},oe[5].updateContext=oe[7].updateContext=oe[23].updateContext=m=>{m.push(M.brace)},oe[22].updateContext=m=>{m[m.length-1]===M.template?m.pop():m.push(M.template)},oe[142].updateContext=m=>{m.push(M.j_expr,M.j_oTag)};let nr="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",fn="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const Ch=new RegExp("["+nr+"]"),Ih=new RegExp("["+nr+fn+"]");nr=fn=null;const dn=[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,68,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,349,41,7,1,79,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,159,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,264,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,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,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,757,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],Nh=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239];function ar(m,r){let e=65536;for(let i=0,a=r.length;i<a;i+=2){if(e+=r[i],e>m)return!1;if(e+=r[i+1],e>=m)return!0}return!1}function Ke(m){return m<65?m===36:m<=90?!0:m<97?m===95:m<=122?!0:m<=65535?m>=170&&Ch.test(String.fromCharCode(m)):ar(m,dn)}function vt(m){return m<48?m===36:m<58?!0:m<65?!1:m<=90?!0:m<97?m===95:m<=122?!0:m<=65535?m>=170&&Ih.test(String.fromCharCode(m)):ar(m,dn)||ar(m,Nh)}const or={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},kh=new Set(or.keyword),Oh=new Set(or.strict),Lh=new Set(or.strictBind);function mn(m,r){return r&&m==="await"||m==="enum"}function yn(m,r){return mn(m,r)||Oh.has(m)}function gn(m){return Lh.has(m)}function xn(m,r){return yn(m,r)||gn(m)}function Mh(m){return kh.has(m)}function _h(m,r,e){return m===64&&r===64&&Ke(e)}const Rh=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"]);function Dh(m){return Rh.has(m)}class lr{constructor(r){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=r}}class hr{constructor(r,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=r,this.inModule=e}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){const r=this.currentThisScopeFlags();return(r&64)>0&&(r&2)===0}get inStaticBlock(){for(let r=this.scopeStack.length-1;;r--){const{flags:e}=this.scopeStack[r];if(e&128)return!0;if(e&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(r){return new lr(r)}enter(r){this.scopeStack.push(this.createScope(r))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(r){return!!(r.flags&130||!this.parser.inModule&&r.flags&1)}declareName(r,e,i){let a=this.currentScope();if(e&8||e&16){this.checkRedeclarationInScope(a,r,e,i);let h=a.names.get(r)||0;e&16?h=h|4:(a.firstLexicalName||(a.firstLexicalName=r),h=h|2),a.names.set(r,h),e&8&&this.maybeExportDefined(a,r)}else if(e&4)for(let h=this.scopeStack.length-1;h>=0&&(a=this.scopeStack[h],this.checkRedeclarationInScope(a,r,e,i),a.names.set(r,(a.names.get(r)||0)|1),this.maybeExportDefined(a,r),!(a.flags&387));--h);this.parser.inModule&&a.flags&1&&this.undefinedExports.delete(r)}maybeExportDefined(r,e){this.parser.inModule&&r.flags&1&&this.undefinedExports.delete(e)}checkRedeclarationInScope(r,e,i,a){this.isRedeclaredInScope(r,e,i)&&this.parser.raise(d.VarRedeclaration,a,{identifierName:e})}isRedeclaredInScope(r,e,i){if(!(i&1))return!1;if(i&8)return r.names.has(e);const a=r.names.get(e);return i&16?(a&2)>0||!this.treatFunctionsAsVarInScope(r)&&(a&1)>0:(a&2)>0&&!(r.flags&8&&r.firstLexicalName===e)||!this.treatFunctionsAsVarInScope(r)&&(a&4)>0}checkLocalExport(r){const{name:e}=r;this.scopeStack[0].names.has(e)||this.undefinedExports.set(e,r.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let r=this.scopeStack.length-1;;r--){const{flags:e}=this.scopeStack[r];if(e&387)return e}}currentThisScopeFlags(){for(let r=this.scopeStack.length-1;;r--){const{flags:e}=this.scopeStack[r];if(e&451&&!(e&4))return e}}}class Bh extends lr{constructor(...r){super(...r),this.declareFunctions=new Set}}class Fh extends hr{createScope(r){return new Bh(r)}declareName(r,e,i){const a=this.currentScope();if(e&2048){this.checkRedeclarationInScope(a,r,e,i),this.maybeExportDefined(a,r),a.declareFunctions.add(r);return}super.declareName(r,e,i)}isRedeclaredInScope(r,e,i){if(super.isRedeclaredInScope(r,e,i))return!0;if(i&2048&&!r.declareFunctions.has(e)){const a=r.names.get(e);return(a&4)>0||(a&2)>0}return!1}checkLocalExport(r){this.scopeStack[0].declareFunctions.has(r.name)||super.checkLocalExport(r)}}class Uh{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(r){if(typeof r=="string")return this.plugins.has(r);{const[e,i]=r;if(!this.hasPlugin(e))return!1;const a=this.plugins.get(e);for(const h of Object.keys(i))if((a==null?void 0:a[h])!==i[h])return!1;return!0}}getPluginOption(r,e){var i;return(i=this.plugins.get(r))==null?void 0:i[e]}}function Pn(m,r){m.trailingComments===void 0?m.trailingComments=r:m.trailingComments.unshift(...r)}function qh(m,r){m.leadingComments===void 0?m.leadingComments=r:m.leadingComments.unshift(...r)}function $t(m,r){m.innerComments===void 0?m.innerComments=r:m.innerComments.unshift(...r)}function Vt(m,r,e){let i=null,a=r.length;for(;i===null&&a>0;)i=r[--a];i===null||i.start>e.start?$t(m,e.comments):Pn(i,e.comments)}class jh extends Uh{addComment(r){this.filename&&(r.loc.filename=this.filename);const{commentsLen:e}=this.state;this.comments.length!==e&&(this.comments.length=e),this.comments.push(r),this.state.commentsLen++}processComment(r){const{commentStack:e}=this.state,i=e.length;if(i===0)return;let a=i-1;const h=e[a];h.start===r.end&&(h.leadingNode=r,a--);const{start:y}=r;for(;a>=0;a--){const b=e[a],v=b.end;if(v>y)b.containingNode=r,this.finalizeComment(b),e.splice(a,1);else{v===y&&(b.trailingNode=r);break}}}finalizeComment(r){const{comments:e}=r;if(r.leadingNode!==null||r.trailingNode!==null)r.leadingNode!==null&&Pn(r.leadingNode,e),r.trailingNode!==null&&qh(r.trailingNode,e);else{const{containingNode:i,start:a}=r;if(this.input.charCodeAt(a-1)===44)switch(i.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Vt(i,i.properties,r);break;case"CallExpression":case"OptionalCallExpression":Vt(i,i.arguments,r);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Vt(i,i.params,r);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Vt(i,i.elements,r);break;case"ExportNamedDeclaration":case"ImportDeclaration":Vt(i,i.specifiers,r);break;default:$t(i,e)}else $t(i,e)}}finalizeRemainingComments(){const{commentStack:r}=this.state;for(let e=r.length-1;e>=0;e--)this.finalizeComment(r[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(r){const{commentStack:e}=this.state,{length:i}=e;if(i===0)return;const a=e[i-1];a.leadingNode===r&&(a.leadingNode=null)}resetPreviousIdentifierLeadingComments(r){const{commentStack:e}=this.state,{length:i}=e;i!==0&&(e[i-1].trailingNode===r?e[i-1].trailingNode=null:i>=2&&e[i-2].trailingNode===r&&(e[i-2].trailingNode=null))}takeSurroundingComments(r,e,i){const{commentStack:a}=this.state,h=a.length;if(h===0)return;let y=h-1;for(;y>=0;y--){const b=a[y],v=b.end;if(b.start===i)b.leadingNode=r;else if(v===e)b.trailingNode=r;else if(v<e)break}}}const $h=/\r\n|[\r\n\u2028\u2029]/,ms=new RegExp($h.source,"g");function Ct(m){switch(m){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function wn(m,r,e){for(let i=r;i<e;i++)if(Ct(m.charCodeAt(i)))return!0;return!1}const cr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ur=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function Vh(m){switch(m){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}}class pr{constructor(){this.flags=1024,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=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[M.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(r){r?this.flags|=1:this.flags&=-2}init({strictMode:r,sourceType:e,startLine:i,startColumn:a}){this.strict=r===!1?!1:r===!0?!0:e==="module",this.curLine=i,this.lineStart=-a,this.startLoc=this.endLoc=new s(i,a,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(r){r?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(r){r?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(r){r?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(r){r?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(r){r?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(r){r?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(r){r?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(r){r?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(r){r?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(r){r?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(r){r?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(r){r?this.flags|=4096:this.flags&=-4097}curPosition(){return new s(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const r=new pr;return r.flags=this.flags,r.curLine=this.curLine,r.lineStart=this.lineStart,r.startLoc=this.startLoc,r.endLoc=this.endLoc,r.errors=this.errors.slice(),r.potentialArrowAt=this.potentialArrowAt,r.noArrowAt=this.noArrowAt.slice(),r.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),r.topicContext=this.topicContext,r.labels=this.labels.slice(),r.commentsLen=this.commentsLen,r.commentStack=this.commentStack.slice(),r.pos=this.pos,r.type=this.type,r.value=this.value,r.start=this.start,r.end=this.end,r.lastTokEndLoc=this.lastTokEndLoc,r.lastTokStartLoc=this.lastTokStartLoc,r.context=this.context.slice(),r.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,r.strictErrors=this.strictErrors,r.tokensLength=this.tokensLength,r}}var zh=function(r){return r>=48&&r<=57};const Sn={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},ys={bin:m=>m===48||m===49,oct:m=>m>=48&&m<=55,dec:m=>m>=48&&m<=57,hex:m=>m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102};function bn(m,r,e,i,a,h){const y=e,b=i,v=a;let I="",C=null,q=e;const{length:$}=r;for(;;){if(e>=$){h.unterminated(y,b,v),I+=r.slice(q,e);break}const V=r.charCodeAt(e);if(Hh(m,V,r,e)){I+=r.slice(q,e);break}if(V===92){I+=r.slice(q,e);const W=Wh(r,e,i,a,m==="template",h);W.ch===null&&!C?C={pos:e,lineStart:i,curLine:a}:I+=W.ch,{pos:e,lineStart:i,curLine:a}=W,q=e}else V===8232||V===8233?(++e,++a,i=e):V===10||V===13?m==="template"?(I+=r.slice(q,e)+`
|
||
`,++e,V===13&&r.charCodeAt(e)===10&&++e,++a,q=i=e):h.unterminated(y,b,v):++e}return{pos:e,str:I,firstInvalidLoc:C,lineStart:i,curLine:a,containsInvalid:!!C}}function Hh(m,r,e,i){return m==="template"?r===96||r===36&&e.charCodeAt(i+1)===123:r===(m==="double"?34:39)}function Wh(m,r,e,i,a,h){const y=!a;r++;const b=I=>({pos:r,ch:I,lineStart:e,curLine:i}),v=m.charCodeAt(r++);switch(v){case 110:return b(`
|
||
`);case 114:return b("\r");case 120:{let I;return{code:I,pos:r}=fr(m,r,e,i,2,!1,y,h),b(I===null?null:String.fromCharCode(I))}case 117:{let I;return{code:I,pos:r}=Tn(m,r,e,i,y,h),b(I===null?null:String.fromCodePoint(I))}case 116:return b(" ");case 98:return b("\b");case 118:return b("\v");case 102:return b("\f");case 13:m.charCodeAt(r)===10&&++r;case 10:e=r,++i;case 8232:case 8233:return b("");case 56:case 57:if(a)return b(null);h.strictNumericEscape(r-1,e,i);default:if(v>=48&&v<=55){const I=r-1;let q=/^[0-7]+/.exec(m.slice(I,r+2))[0],$=parseInt(q,8);$>255&&(q=q.slice(0,-1),$=parseInt(q,8)),r+=q.length-1;const V=m.charCodeAt(r);if(q!=="0"||V===56||V===57){if(a)return b(null);h.strictNumericEscape(I,e,i)}return b(String.fromCharCode($))}return b(String.fromCharCode(v))}}function fr(m,r,e,i,a,h,y,b){const v=r;let I;return{n:I,pos:r}=An(m,r,e,i,16,a,h,!1,b,!y),I===null&&(y?b.invalidEscapeSequence(v,e,i):r=v-1),{code:I,pos:r}}function An(m,r,e,i,a,h,y,b,v,I){const C=r,q=a===16?Sn.hex:Sn.decBinOct,$=a===16?ys.hex:a===10?ys.dec:a===8?ys.oct:ys.bin;let V=!1,W=0;for(let ie=0,Ee=h??1/0;ie<Ee;++ie){const re=m.charCodeAt(r);let le;if(re===95&&b!=="bail"){const Ss=m.charCodeAt(r-1),Wt=m.charCodeAt(r+1);if(b){if(Number.isNaN(Wt)||!$(Wt)||q.has(Ss)||q.has(Wt)){if(I)return{n:null,pos:r};v.unexpectedNumericSeparator(r,e,i)}}else{if(I)return{n:null,pos:r};v.numericSeparatorInEscapeSequence(r,e,i)}++r;continue}if(re>=97?le=re-97+10:re>=65?le=re-65+10:zh(re)?le=re-48:le=1/0,le>=a){if(le<=9&&I)return{n:null,pos:r};if(le<=9&&v.invalidDigit(r,e,i,a))le=0;else if(y)le=0,V=!0;else break}++r,W=W*a+le}return r===C||h!=null&&r-C!==h||V?{n:null,pos:r}:{n:W,pos:r}}function Tn(m,r,e,i,a,h){const y=m.charCodeAt(r);let b;if(y===123){if(++r,{code:b,pos:r}=fr(m,r,e,i,m.indexOf("}",r)-r,!0,a,h),++r,b!==null&&b>1114111)if(a)h.invalidCodePoint(r,e,i);else return{code:null,pos:r}}else({code:b,pos:r}=fr(m,r,e,i,4,!1,a,h));return{code:b,pos:r}}function zt(m,r,e){return new s(e,m-r,m)}const Gh=new Set([103,109,115,105,121,117,100,118]);class st{constructor(r){this.type=r.type,this.value=r.value,this.start=r.start,this.end=r.end,this.loc=new n(r.startLoc,r.endLoc)}}class Kh extends jh{constructor(r,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(i,a,h,y)=>this.options.errorRecovery?(this.raise(d.InvalidDigit,zt(i,a,h),{radix:y}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(d.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(d.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(d.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(d.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(i,a,h)=>{this.recordStrictModeErrors(d.StrictNumericEscape,zt(i,a,h))},unterminated:(i,a,h)=>{throw this.raise(d.UnterminatedString,zt(i-1,a,h))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(d.StrictNumericEscape),unterminated:(i,a,h)=>{throw this.raise(d.UnterminatedTemplate,zt(i,a,h))}}),this.state=new pr,this.state.init(r),this.input=e,this.length=e.length,this.comments=[],this.isLookahead=!1}pushToken(r){this.tokens.length=this.state.tokensLength,this.tokens.push(r),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new st(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(r){return this.match(r)?(this.next(),!0):!1}match(r){return this.state.type===r}createLookaheadState(r){return{pos:r.pos,value:null,type:r.type,start:r.start,end:r.end,context:[this.curContext()],inType:r.inType,startLoc:r.startLoc,lastTokEndLoc:r.lastTokEndLoc,curLine:r.curLine,lineStart:r.lineStart,curPosition:r.curPosition}}lookahead(){const r=this.state;this.state=this.createLookaheadState(r),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const e=this.state;return this.state=r,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(r){return cr.lastIndex=r,cr.test(this.input)?cr.lastIndex:r}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(r){return ur.lastIndex=r,ur.test(this.input)?ur.lastIndex:r}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(r){let e=this.input.charCodeAt(r);if((e&64512)===55296&&++r<this.input.length){const i=this.input.charCodeAt(r);(i&64512)===56320&&(e=65536+((e&1023)<<10)+(i&1023))}return e}setStrict(r){this.state.strict=r,r&&(this.state.strictErrors.forEach(([e,i])=>this.raise(e,i)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(139);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(r){let e;this.isLookahead||(e=this.state.curPosition());const i=this.state.pos,a=this.input.indexOf(r,i+2);if(a===-1)throw this.raise(d.UnterminatedComment,this.state.curPosition());for(this.state.pos=a+r.length,ms.lastIndex=i+2;ms.test(this.input)&&ms.lastIndex<=a;)++this.state.curLine,this.state.lineStart=ms.lastIndex;if(this.isLookahead)return;const h={type:"CommentBlock",value:this.input.slice(i+2,a),start:i,end:a+r.length,loc:new n(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(h),h}skipLineComment(r){const e=this.state.pos;let i;this.isLookahead||(i=this.state.curPosition());let a=this.input.charCodeAt(this.state.pos+=r);if(this.state.pos<this.length)for(;!Ct(a)&&++this.state.pos<this.length;)a=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const h=this.state.pos,b={type:"CommentLine",value:this.input.slice(e+r,h),start:e,end:h,loc:new n(i,this.state.curPosition())};return this.options.tokens&&this.pushToken(b),b}skipSpace(){const r=this.state.pos,e=[];e:for(;this.state.pos<this.length;){const i=this.input.charCodeAt(this.state.pos);switch(i){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++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:{const a=this.skipBlockComment("*/");a!==void 0&&(this.addComment(a),this.options.attachComment&&e.push(a));break}case 47:{const a=this.skipLineComment(2);a!==void 0&&(this.addComment(a),this.options.attachComment&&e.push(a));break}default:break e}break;default:if(Vh(i))++this.state.pos;else if(i===45&&!this.inModule&&this.options.annexB){const a=this.state.pos;if(this.input.charCodeAt(a+1)===45&&this.input.charCodeAt(a+2)===62&&(r===0||this.state.lineStart>r)){const h=this.skipLineComment(3);h!==void 0&&(this.addComment(h),this.options.attachComment&&e.push(h))}else break e}else if(i===60&&!this.inModule&&this.options.annexB){const a=this.state.pos;if(this.input.charCodeAt(a+1)===33&&this.input.charCodeAt(a+2)===45&&this.input.charCodeAt(a+3)===45){const h=this.skipLineComment(4);h!==void 0&&(this.addComment(h),this.options.attachComment&&e.push(h))}else break e}else break e}}if(e.length>0){const i=this.state.pos,a={start:r,end:i,comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(a)}}finishToken(r,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const i=this.state.type;this.state.type=r,this.state.value=e,this.isLookahead||this.updateContext(i)}replaceToken(r){this.state.type=r,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const r=this.state.pos+1,e=this.codePointAtPos(r);if(e>=48&&e<=57)throw this.raise(d.UnexpectedDigitAfterHash,this.state.curPosition());if(e===123||e===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(e===123?d.RecordExpressionHashIncorrectStartSyntaxType:d.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else Ke(e)?(++this.state.pos,this.finishToken(138,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const r=this.input.charCodeAt(this.state.pos+1);if(r>=48&&r<=57){this.readNumber(!0);return}r===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let r=this.input.charCodeAt(this.state.pos+1);if(r!==33)return!1;const e=this.state.pos;for(this.state.pos+=1;!Ct(r)&&++this.state.pos<this.length;)r=this.input.charCodeAt(this.state.pos);const i=this.input.slice(e+2,this.state.pos);return this.finishToken(28,i),!0}readToken_mult_modulo(r){let e=r===42?55:54,i=1,a=this.input.charCodeAt(this.state.pos+1);r===42&&a===42&&(i++,a=this.input.charCodeAt(this.state.pos+2),e=57),a===61&&!this.state.inType&&(i++,e=r===37?33:30),this.finishOp(e,i)}readToken_pipe_amp(r){const e=this.input.charCodeAt(this.state.pos+1);if(e===r){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(r===124?41:42,2);return}if(r===124){if(e===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&e===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(d.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&e===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(d.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(e===61){this.finishOp(30,2);return}this.finishOp(r===124?43:45,1)}readToken_caret(){const r=this.input.charCodeAt(this.state.pos+1);r===61&&!this.state.inType?this.finishOp(32,2):r===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(r){const e=this.input.charCodeAt(this.state.pos+1);if(e===r){this.finishOp(34,2);return}e===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){const{pos:r}=this.state,e=this.input.charCodeAt(r+1);if(e===60){if(this.input.charCodeAt(r+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(e===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){const{pos:r}=this.state,e=this.input.charCodeAt(r+1);if(e===62){const i=this.input.charCodeAt(r+2)===62?3:2;if(this.input.charCodeAt(r+i)===61){this.finishOp(30,i+1);return}this.finishOp(52,i);return}if(e===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(r){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(r===61&&e===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(r===61?29:35,1)}readToken_question(){const r=this.input.charCodeAt(this.state.pos+1),e=this.input.charCodeAt(this.state.pos+2);r===63?e===61?this.finishOp(30,3):this.finishOp(40,2):r===46&&!(e>=48&&e<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(r){switch(r){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(d.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(d.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(r);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(r);return;case 124:case 38:this.readToken_pipe_amp(r);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(r);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(r);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(Ke(r)){this.readWord(r);return}}throw this.raise(d.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(r)})}finishOp(r,e){const i=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(r,i)}readRegexp(){const r=this.state.startLoc,e=this.state.start+1;let i,a,{pos:h}=this.state;for(;;++h){if(h>=this.length)throw this.raise(d.UnterminatedRegExp,o(r,1));const I=this.input.charCodeAt(h);if(Ct(I))throw this.raise(d.UnterminatedRegExp,o(r,1));if(i)i=!1;else{if(I===91)a=!0;else if(I===93&&a)a=!1;else if(I===47&&!a)break;i=I===92}}const y=this.input.slice(e,h);++h;let b="";const v=()=>o(r,h+2-e);for(;h<this.length;){const I=this.codePointAtPos(h),C=String.fromCharCode(I);if(Gh.has(I))I===118?b.includes("u")&&this.raise(d.IncompatibleRegExpUVFlags,v()):I===117&&b.includes("v")&&this.raise(d.IncompatibleRegExpUVFlags,v()),b.includes(C)&&this.raise(d.DuplicateRegExpFlags,v());else if(vt(I)||I===92)this.raise(d.MalformedRegExpFlags,v());else break;++h,b+=C}this.state.pos=h,this.finishToken(137,{pattern:y,flags:b})}readInt(r,e,i=!1,a=!0){const{n:h,pos:y}=An(this.input,this.state.pos,this.state.lineStart,this.state.curLine,r,e,i,a,this.errorHandlers_readInt,!1);return this.state.pos=y,h}readRadixNumber(r){const e=this.state.curPosition();let i=!1;this.state.pos+=2;const a=this.readInt(r);a==null&&this.raise(d.InvalidDigit,o(e,2),{radix:r});const h=this.input.charCodeAt(this.state.pos);if(h===110)++this.state.pos,i=!0;else if(h===109)throw this.raise(d.InvalidDecimal,e);if(Ke(this.codePointAtPos(this.state.pos)))throw this.raise(d.NumberIdentifier,this.state.curPosition());if(i){const y=this.input.slice(e.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,y);return}this.finishToken(134,a)}readNumber(r){const e=this.state.pos,i=this.state.curPosition();let a=!1,h=!1,y=!1,b=!1,v=!1;!r&&this.readInt(10)===null&&this.raise(d.InvalidNumber,this.state.curPosition());const I=this.state.pos-e>=2&&this.input.charCodeAt(e)===48;if(I){const V=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(d.StrictOctalLiteral,i),!this.state.strict){const W=V.indexOf("_");W>0&&this.raise(d.ZeroDigitNumericSeparator,o(i,W))}v=I&&!/[89]/.test(V)}let C=this.input.charCodeAt(this.state.pos);if(C===46&&!v&&(++this.state.pos,this.readInt(10),a=!0,C=this.input.charCodeAt(this.state.pos)),(C===69||C===101)&&!v&&(C=this.input.charCodeAt(++this.state.pos),(C===43||C===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(d.InvalidOrMissingExponent,i),a=!0,b=!0,C=this.input.charCodeAt(this.state.pos)),C===110&&((a||I)&&this.raise(d.InvalidBigIntLiteral,i),++this.state.pos,h=!0),C===109&&(this.expectPlugin("decimal",this.state.curPosition()),(b||I)&&this.raise(d.InvalidDecimal,i),++this.state.pos,y=!0),Ke(this.codePointAtPos(this.state.pos)))throw this.raise(d.NumberIdentifier,this.state.curPosition());const q=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(h){this.finishToken(135,q);return}if(y){this.finishToken(136,q);return}const $=v?parseInt(q,8):parseFloat(q);this.finishToken(134,$)}readCodePoint(r){const{code:e,pos:i}=Tn(this.input,this.state.pos,this.state.lineStart,this.state.curLine,r,this.errorHandlers_readCodePoint);return this.state.pos=i,e}readString(r){const{str:e,pos:i,curLine:a,lineStart:h}=bn(r===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=i+1,this.state.lineStart=h,this.state.curLine=a,this.finishToken(133,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const r=this.input[this.state.pos],{str:e,firstInvalidLoc:i,pos:a,curLine:h,lineStart:y}=bn("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=a+1,this.state.lineStart=y,this.state.curLine=h,i&&(this.state.firstInvalidTemplateEscapePos=new s(i.curLine,i.pos-i.lineStart,i.pos)),this.input.codePointAt(a)===96?this.finishToken(24,i?null:r+e+"`"):(this.state.pos++,this.finishToken(25,i?null:r+e+"${"))}recordStrictModeErrors(r,e){const i=e.index;this.state.strict&&!this.state.strictErrors.has(i)?this.raise(r,e):this.state.strictErrors.set(i,[r,e])}readWord1(r){this.state.containsEsc=!1;let e="";const i=this.state.pos;let a=this.state.pos;for(r!==void 0&&(this.state.pos+=r<=65535?1:2);this.state.pos<this.length;){const h=this.codePointAtPos(this.state.pos);if(vt(h))this.state.pos+=h<=65535?1:2;else if(h===92){this.state.containsEsc=!0,e+=this.input.slice(a,this.state.pos);const y=this.state.curPosition(),b=this.state.pos===i?Ke:vt;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(d.MissingUnicodeEscape,this.state.curPosition()),a=this.state.pos-1;continue}++this.state.pos;const v=this.readCodePoint(!0);v!==null&&(b(v)||this.raise(d.EscapedCharNotAnIdentifier,y),e+=String.fromCodePoint(v)),a=this.state.pos}else break}return e+this.input.slice(a,this.state.pos)}readWord(r){const e=this.readWord1(r),i=Q.get(e);i!==void 0?this.finishToken(i,tt(i)):this.finishToken(132,e)}checkKeywordEscapes(){const{type:r}=this.state;ir(r)&&this.state.containsEsc&&this.raise(d.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:tt(r)})}raise(r,e,i={}){const a=e instanceof s?e:e.loc.start,h=r(a,i);if(!this.options.errorRecovery)throw h;return this.isLookahead||this.state.errors.push(h),h}raiseOverwrite(r,e,i={}){const a=e instanceof s?e:e.loc.start,h=a.index,y=this.state.errors;for(let b=y.length-1;b>=0;b--){const v=y[b];if(v.loc.index===h)return y[b]=r(a,i);if(v.loc.index<h)break}return this.raise(r,e,i)}updateContext(r){}unexpected(r,e){throw this.raise(d.UnexpectedToken,r??this.state.startLoc,{expected:e?tt(e):null})}expectPlugin(r,e){if(this.hasPlugin(r))return!0;throw this.raise(d.MissingPlugin,e??this.state.startLoc,{missingPlugin:[r]})}expectOnePlugin(r){if(!r.some(e=>this.hasPlugin(e)))throw this.raise(d.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:r})}errorBuilder(r){return(e,i,a)=>{this.raise(r,zt(e,i,a))}}}class Jh{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Yh{constructor(r){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=r}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Jh)}exit(){const r=this.stack.pop(),e=this.current();for(const[i,a]of Array.from(r.undefinedPrivateNames))e?e.undefinedPrivateNames.has(i)||e.undefinedPrivateNames.set(i,a):this.parser.raise(d.InvalidPrivateFieldResolution,a,{identifierName:i})}declarePrivateName(r,e,i){const{privateNames:a,loneAccessors:h,undefinedPrivateNames:y}=this.current();let b=a.has(r);if(e&3){const v=b&&h.get(r);if(v){const I=v&4,C=e&4,q=v&3,$=e&3;b=q===$||I!==C,b||h.delete(r)}else b||h.set(r,e)}b&&this.parser.raise(d.PrivateNameRedeclaration,i,{identifierName:r}),a.add(r),y.delete(r)}usePrivateName(r,e){let i;for(i of this.stack)if(i.privateNames.has(r))return;i?i.undefinedPrivateNames.set(r,e):this.parser.raise(d.InvalidPrivateFieldResolution,e,{identifierName:r})}}class gs{constructor(r=0){this.type=r}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class En extends gs{constructor(r){super(r),this.declarationErrors=new Map}recordDeclarationError(r,e){const i=e.index;this.declarationErrors.set(i,[r,e])}clearDeclarationError(r){this.declarationErrors.delete(r)}iterateErrors(r){this.declarationErrors.forEach(r)}}class Xh{constructor(r){this.parser=void 0,this.stack=[new gs],this.parser=r}enter(r){this.stack.push(r)}exit(){this.stack.pop()}recordParameterInitializerError(r,e){const i=e.loc.start,{stack:a}=this;let h=a.length-1,y=a[h];for(;!y.isCertainlyParameterDeclaration();){if(y.canBeArrowParameterDeclaration())y.recordDeclarationError(r,i);else return;y=a[--h]}this.parser.raise(r,i)}recordArrowParameterBindingError(r,e){const{stack:i}=this,a=i[i.length-1],h=e.loc.start;if(a.isCertainlyParameterDeclaration())this.parser.raise(r,h);else if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(r,h);else return}recordAsyncArrowParametersError(r){const{stack:e}=this;let i=e.length-1,a=e[i];for(;a.canBeArrowParameterDeclaration();)a.type===2&&a.recordDeclarationError(d.AwaitBindingIdentifier,r),a=e[--i]}validateAsPattern(){const{stack:r}=this,e=r[r.length-1];e.canBeArrowParameterDeclaration()&&e.iterateErrors(([i,a])=>{this.parser.raise(i,a);let h=r.length-2,y=r[h];for(;y.canBeArrowParameterDeclaration();)y.clearDeclarationError(a.index),y=r[--h]})}}function Qh(){return new gs(3)}function Zh(){return new En(1)}function ec(){return new En(2)}function vn(){return new gs}class tc{constructor(){this.stacks=[]}enter(r){this.stacks.push(r)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function xs(m,r){return(m?2:0)|(r?1:0)}class sc extends Kh{addExtra(r,e,i,a=!0){if(!r)return;let{extra:h}=r;h==null&&(h={},r.extra=h),a?h[e]=i:Object.defineProperty(h,e,{enumerable:a,value:i})}isContextual(r){return this.state.type===r&&!this.state.containsEsc}isUnparsedContextual(r,e){const i=r+e.length;if(this.input.slice(r,i)===e){const a=this.input.charCodeAt(i);return!(vt(a)||(a&64512)===55296)}return!1}isLookaheadContextual(r){const e=this.nextTokenStart();return this.isUnparsedContextual(e,r)}eatContextual(r){return this.isContextual(r)?(this.next(),!0):!1}expectContextual(r,e){if(!this.eatContextual(r)){if(e!=null)throw this.raise(e,this.state.startLoc);this.unexpected(null,r)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return wn(this.input,this.state.lastTokEndLoc.index,this.state.start)}hasFollowingLineBreak(){return wn(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(r=!0){(r?this.isLineTerminator():this.eat(13))||this.raise(d.MissingSemicolon,this.state.lastTokEndLoc)}expect(r,e){this.eat(r)||this.unexpected(e,r)}tryParse(r,e=this.state.clone()){const i={node:null};try{const a=r((h=null)=>{throw i.node=h,i});if(this.state.errors.length>e.errors.length){const h=this.state;return this.state=e,this.state.tokensLength=h.tokensLength,{node:a,error:h.errors[e.errors.length],thrown:!1,aborted:!1,failState:h}}return{node:a,error:null,thrown:!1,aborted:!1,failState:null}}catch(a){const h=this.state;if(this.state=e,a instanceof SyntaxError)return{node:null,error:a,thrown:!0,aborted:!1,failState:h};if(a===i)return{node:i.node,error:null,thrown:!1,aborted:!0,failState:h};throw a}}checkExpressionErrors(r,e){if(!r)return!1;const{shorthandAssignLoc:i,doubleProtoLoc:a,privateKeyLoc:h,optionalParametersLoc:y}=r,b=!!i||!!a||!!y||!!h;if(!e)return b;i!=null&&this.raise(d.InvalidCoverInitializedName,i),a!=null&&this.raise(d.DuplicateProto,a),h!=null&&this.raise(d.UnexpectedPrivateField,h),y!=null&&this.unexpected(y)}isLiteralPropertyName(){return us(this.state.type)}isPrivateName(r){return r.type==="PrivateName"}getPrivateNameSV(r){return r.id.name}hasPropertyAsPrivateName(r){return(r.type==="MemberExpression"||r.type==="OptionalMemberExpression")&&this.isPrivateName(r.property)}isObjectProperty(r){return r.type==="ObjectProperty"}isObjectMethod(r){return r.type==="ObjectMethod"}initializeScopes(r=this.options.sourceType==="module"){const e=this.state.labels;this.state.labels=[];const i=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const a=this.inModule;this.inModule=r;const h=this.scope,y=this.getScopeHandler();this.scope=new y(this,r);const b=this.prodParam;this.prodParam=new tc;const v=this.classScope;this.classScope=new Yh(this);const I=this.expressionScope;return this.expressionScope=new Xh(this),()=>{this.state.labels=e,this.exportedIdentifiers=i,this.inModule=a,this.scope=h,this.prodParam=b,this.classScope=v,this.expressionScope=I}}enterInitialScopes(){let r=0;this.inModule&&(r|=2),this.scope.enter(1),this.prodParam.enter(r)}checkDestructuringPrivate(r){const{privateKeyLoc:e}=r;e!==null&&this.expectPlugin("destructuringPrivate",e)}}class Ps{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class ws{constructor(r,e,i){this.type="",this.start=e,this.end=0,this.loc=new n(i),r!=null&&r.options.ranges&&(this.range=[e,0]),r!=null&&r.filename&&(this.loc.filename=r.filename)}}const dr=ws.prototype;dr.__clone=function(){const m=new ws(void 0,this.start,this.loc.start),r=Object.keys(this);for(let e=0,i=r.length;e<i;e++){const a=r[e];a!=="leadingComments"&&a!=="trailingComments"&&a!=="innerComments"&&(m[a]=this[a])}return m};function rc(m){return Je(m)}function Je(m){const{type:r,start:e,end:i,loc:a,range:h,extra:y,name:b}=m,v=Object.create(dr);return v.type=r,v.start=e,v.end=i,v.loc=a,v.range=h,v.extra=y,v.name=b,r==="Placeholder"&&(v.expectedNode=m.expectedNode),v}function ic(m){const{type:r,start:e,end:i,loc:a,range:h,extra:y}=m;if(r==="Placeholder")return rc(m);const b=Object.create(dr);return b.type=r,b.start=e,b.end=i,b.loc=a,b.range=h,m.raw!==void 0?b.raw=m.raw:b.extra=y,b.value=m.value,b}class nc extends sc{startNode(){const r=this.state.startLoc;return new ws(this,r.index,r)}startNodeAt(r){return new ws(this,r.index,r)}startNodeAtNode(r){return this.startNodeAt(r.loc.start)}finishNode(r,e){return this.finishNodeAt(r,e,this.state.lastTokEndLoc)}finishNodeAt(r,e,i){return r.type=e,r.end=i.index,r.loc.end=i,this.options.ranges&&(r.range[1]=i.index),this.options.attachComment&&this.processComment(r),r}resetStartLocation(r,e){r.start=e.index,r.loc.start=e,this.options.ranges&&(r.range[0]=e.index)}resetEndLocation(r,e=this.state.lastTokEndLoc){r.end=e.index,r.loc.end=e,this.options.ranges&&(r.range[1]=e.index)}resetStartLocationFromNode(r,e){this.resetStartLocation(r,e.loc.start)}}const ac=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),K=A`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:({reservedType:m})=>`Cannot overwrite reserved type ${m}.`,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:({memberName:m,enumName:r})=>`Boolean enum members need to be initialized. Use either \`${m} = true,\` or \`${m} = false,\` in enum \`${r}\`.`,EnumDuplicateMemberName:({memberName:m,enumName:r})=>`Enum member names need to be unique, but the name \`${m}\` has already been used before in enum \`${r}\`.`,EnumInconsistentMemberValues:({enumName:m})=>`Enum \`${m}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:m,enumName:r})=>`Enum type \`${m}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${r}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:m})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${m}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:m,memberName:r,explicitType:e})=>`Enum \`${m}\` has type \`${e}\`, so the initializer of \`${r}\` needs to be a ${e} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:m,memberName:r})=>`Symbol enum members cannot be initialized. Use \`${r},\` in enum \`${m}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:m,memberName:r})=>`The enum member initializer for \`${r}\` needs to be a literal (either a boolean, number, or string) in enum \`${m}\`.`,EnumInvalidMemberName:({enumName:m,memberName:r,suggestion:e})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${r}\`, consider using \`${e}\`, in enum \`${m}\`.`,EnumNumberMemberNotInitialized:({enumName:m,memberName:r})=>`Number enum members need to be initialized, e.g. \`${r} = 1\` in enum \`${m}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:m})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${m}\`.`,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:({reservedType:m})=>`Unexpected reserved type ${m}.`,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:({unsupportedExportKind:m,suggestion:r})=>`\`declare export ${m}\` is not supported. Use \`${r}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function oc(m){return m.type==="DeclareExportAllDeclaration"||m.type==="DeclareExportDeclaration"&&(!m.declaration||m.declaration.type!=="TypeAlias"&&m.declaration.type!=="InterfaceDeclaration")}function Cn(m){return m.importKind==="type"||m.importKind==="typeof"}const lc={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function hc(m,r){const e=[],i=[];for(let a=0;a<m.length;a++)(r(m[a],a,m)?e:i).push(m[a]);return[e,i]}const cc=/\*?\s*@((?:no)?flow)\b/;var uc=m=>class extends m{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Fh}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,i){e!==133&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,i)}addComment(e){if(this.flowPragma===void 0){const i=cc.exec(e.value);if(i)if(i[1]==="flow")this.flowPragma="flow";else if(i[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(e)}flowParseTypeInitialiser(e){const i=this.state.inType;this.state.inType=!0,this.expect(e||14);const a=this.flowParseType();return this.state.inType=i,a}flowParsePredicate(){const e=this.startNode(),i=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>i.index+1&&this.raise(K.UnexpectedSpaceBetweenModuloChecks,i),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let i=null,a=null;return this.match(54)?(this.state.inType=e,a=this.flowParsePredicate()):(i=this.flowParseType(),this.state.inType=e,this.match(54)&&(a=this.flowParsePredicate())),[i,a]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const i=e.id=this.parseIdentifier(),a=this.startNode(),h=this.startNode();this.match(47)?a.typeParameters=this.flowParseTypeParameterDeclaration():a.typeParameters=null,this.expect(10);const y=this.flowParseFunctionTypeParams();return a.params=y.params,a.rest=y.rest,a.this=y._this,this.expect(11),[a.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),h.typeAnnotation=this.finishNode(a,"FunctionTypeAnnotation"),i.typeAnnotation=this.finishNode(h,"TypeAnnotation"),this.resetEndLocation(i),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,i){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(i&&this.raise(K.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,i);this.unexpected()}flowParseDeclareVariable(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")}flowParseDeclareModule(e){this.scope.enter(0),this.match(133)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();const i=e.body=this.startNode(),a=i.body=[];for(this.expect(5);!this.match(8);){let b=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(K.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(b)):(this.expectContextual(125,K.UnsupportedStatementInDeclareModule),b=this.flowParseDeclare(b,!0)),a.push(b)}this.scope.exit(),this.expect(8),this.finishNode(i,"BlockStatement");let h=null,y=!1;return a.forEach(b=>{oc(b)?(h==="CommonJS"&&this.raise(K.AmbiguousDeclareModuleKind,b),h="ES"):b.type==="DeclareModuleExports"&&(y&&this.raise(K.DuplicateDeclareModuleExports,b),h==="ES"&&this.raise(K.AmbiguousDeclareModuleKind,b),h="CommonJS",y=!0)}),e.kind=h||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,i){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))&&!i){const a=this.state.value;throw this.raise(K.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:a,suggestion:lc[a]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type==="ExportNamedDeclaration"&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();const i=this.flowParseTypeAlias(e);return i.type="DeclareTypeAlias",i}flowParseDeclareOpaqueType(e){this.next();const i=this.flowParseOpaqueType(e,!0);return i.type="DeclareOpaqueType",i}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,i){if(e.id=this.flowParseRestrictedIdentifier(!i,!0),this.scope.declareName(e.id.name,i?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(!i&&this.eat(12));if(i){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:i,allowExact:!1,allowSpread:!1,allowProto:i,allowInexact:!1})}flowParseInterfaceExtends(){const e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(K.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,i,a){ac.has(e)&&this.raise(a?K.AssignReservedType:K.UnexpectedReservedType,i,{reservedType:e})}flowParseRestrictedIdentifier(e,i){return this.checkReservedType(this.state.value,this.state.startLoc,i),this.parseIdentifier(e)}flowParseTypeAlias(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")}flowParseOpaqueType(e,i){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,i||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const i=this.state.startLoc,a=this.startNode(),h=this.flowParseVariance(),y=this.flowParseTypeAnnotatableIdentifier();return a.name=y.name,a.variance=h,a.bound=y.typeAnnotation,this.match(29)?(this.eat(29),a.default=this.flowParseType()):e&&this.raise(K.MissingTypeParamDefault,i),this.finishNode(a,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,i=this.startNode();i.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let a=!1;do{const h=this.flowParseTypeParameter(a);i.params.push(h),h.default&&(a=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(i,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode(),i=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);const a=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=a,this.expect(48),this.state.inType=i,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode(),i=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=i,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const 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")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,i,a){return e.static=i,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=a,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,i){return e.static=i,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")}flowParseObjectTypeMethodish(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")}flowParseObjectTypeCallProperty(e,i){const a=this.startNode();return e.static=i,e.value=this.flowParseObjectTypeMethodish(a),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:i,allowSpread:a,allowProto:h,allowInexact:y}){const b=this.state.inType;this.state.inType=!0;const v=this.startNode();v.callProperties=[],v.properties=[],v.indexers=[],v.internalSlots=[];let I,C,q=!1;for(i&&this.match(6)?(this.expect(6),I=9,C=!0):(this.expect(5),I=8,C=!1),v.exact=C;!this.match(I);){let V=!1,W=null,ie=null;const Ee=this.startNode();if(h&&this.isContextual(118)){const le=this.lookahead();le.type!==14&&le.type!==17&&(this.next(),W=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){const le=this.lookahead();le.type!==14&&le.type!==17&&(this.next(),V=!0)}const re=this.flowParseVariance();if(this.eat(0))W!=null&&this.unexpected(W),this.eat(0)?(re&&this.unexpected(re.loc.start),v.internalSlots.push(this.flowParseObjectTypeInternalSlot(Ee,V))):v.indexers.push(this.flowParseObjectTypeIndexer(Ee,V,re));else if(this.match(10)||this.match(47))W!=null&&this.unexpected(W),re&&this.unexpected(re.loc.start),v.callProperties.push(this.flowParseObjectTypeCallProperty(Ee,V));else{let le="init";if(this.isContextual(99)||this.isContextual(104)){const Wt=this.lookahead();us(Wt.type)&&(le=this.state.value,this.next())}const Ss=this.flowParseObjectTypeProperty(Ee,V,W,re,le,a,y??!C);Ss===null?(q=!0,ie=this.state.lastTokStartLoc):v.properties.push(Ss)}this.flowObjectTypeSemicolon(),ie&&!this.match(8)&&!this.match(9)&&this.raise(K.UnexpectedExplicitInexactInObject,ie)}this.expect(I),a&&(v.inexact=q);const $=this.finishNode(v,"ObjectTypeAnnotation");return this.state.inType=b,$}flowParseObjectTypeProperty(e,i,a,h,y,b,v){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(b?v||this.raise(K.InexactInsideExact,this.state.lastTokStartLoc):this.raise(K.InexactInsideNonObject,this.state.lastTokStartLoc),h&&this.raise(K.InexactVariance,h),null):(b||this.raise(K.UnexpectedSpreadType,this.state.lastTokStartLoc),a!=null&&this.unexpected(a),h&&this.raise(K.SpreadVariance,h),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=i,e.proto=a!=null,e.kind=y;let I=!1;return this.match(47)||this.match(10)?(e.method=!0,a!=null&&this.unexpected(a),h&&this.unexpected(h.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(y==="get"||y==="set")&&this.flowCheckGetterSetterParams(e),!b&&e.key.name==="constructor"&&e.value.this&&this.raise(K.ThisParamBannedInConstructor,e.value.this)):(y!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&(I=!0),e.value=this.flowParseTypeInitialiser(),e.variance=h),e.optional=I,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const i=e.kind==="get"?0:1,a=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind==="get"?K.GetterMayNotHaveThisParam:K.SetterMayNotHaveThisParam,e.value.this),a!==i&&this.raise(e.kind==="get"?d.BadGetterArity:d.BadSetterArity,e),e.kind==="set"&&e.value.rest&&this.raise(d.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,i){var a;(a=e)!=null||(e=this.state.startLoc);let h=i||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const y=this.startNodeAt(e);y.qualification=h,y.id=this.flowParseRestrictedIdentifier(!0),h=this.finishNode(y,"QualifiedTypeIdentifier")}return h}flowParseGenericType(e,i){const a=this.startNodeAt(e);return a.typeParameters=null,a.id=this.flowParseQualifiedTypeIdentifier(e,i),this.match(47)&&(a.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(a,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const 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")}flowParseFunctionTypeParam(e){let i=null,a=!1,h=null;const y=this.startNode(),b=this.lookahead(),v=this.state.type===78;return b.type===14||b.type===17?(v&&!e&&this.raise(K.ThisParamMustBeFirst,y),i=this.parseIdentifier(v),this.eat(17)&&(a=!0,v&&this.raise(K.ThisParamMayNotBeOptional,y)),h=this.flowParseTypeInitialiser()):h=this.flowParseType(),y.name=i,y.optional=a,y.typeAnnotation=h,this.finishNode(y,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const i=this.startNodeAt(e.loc.start);return i.name=null,i.optional=!1,i.typeAnnotation=e,this.finishNode(i,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let i=null,a=null;for(this.match(78)&&(a=this.flowParseFunctionTypeParam(!0),a.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)&&(i=this.flowParseFunctionTypeParam(!1)),{params:e,rest:i,_this:a}}flowIdentToTypeAnnotation(e,i,a){switch(a.name){case"any":return this.finishNode(i,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(i,"BooleanTypeAnnotation");case"mixed":return this.finishNode(i,"MixedTypeAnnotation");case"empty":return this.finishNode(i,"EmptyTypeAnnotation");case"number":return this.finishNode(i,"NumberTypeAnnotation");case"string":return this.finishNode(i,"StringTypeAnnotation");case"symbol":return this.finishNode(i,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(a.name),this.flowParseGenericType(e,a)}}flowParsePrimaryType(){const e=this.state.startLoc,i=this.startNode();let a,h,y=!1;const b=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,h=this.flowParseTupleType(),this.state.noAnonFunctionType=b,h;case 47:{const v=this.startNode();return v.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),a=this.flowParseFunctionTypeParams(),v.params=a.params,v.rest=a.rest,v.this=a._this,this.expect(11),this.expect(19),v.returnType=this.flowParseType(),this.finishNode(v,"FunctionTypeAnnotation")}case 10:{const v=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(se(this.state.type)||this.match(78)){const I=this.lookahead().type;y=I!==17&&I!==14}else y=!0;if(y){if(this.state.noAnonFunctionType=!1,h=this.flowParseType(),this.state.noAnonFunctionType=b,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),h;this.eat(12)}return h?a=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(h)]):a=this.flowParseFunctionTypeParams(),v.params=a.params,v.rest=a.rest,v.this=a._this,this.expect(11),this.expect(19),v.returnType=this.flowParseType(),v.typeParameters=null,this.finishNode(v,"FunctionTypeAnnotation")}case 133: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(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",i);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",i);throw this.raise(K.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135: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(ir(this.state.type)){const v=tt(this.state.type);return this.next(),super.createIdentifier(i,v)}else if(se(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,i,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const e=this.state.startLoc;let i=this.flowParsePrimaryType(),a=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const h=this.startNodeAt(e),y=this.eat(18);a=a||y,this.expect(0),!y&&this.match(3)?(h.elementType=i,this.next(),i=this.finishNode(h,"ArrayTypeAnnotation")):(h.objectType=i,h.indexType=this.flowParseType(),this.expect(3),a?(h.optional=y,i=this.finishNode(h,"OptionalIndexedAccessType")):i=this.finishNode(h,"IndexedAccessType"))}return i}flowParsePrefixType(){const e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const i=this.startNodeAt(e.loc.start);return i.params=[this.reinterpretTypeAsFunctionTypeParam(e)],i.rest=null,i.this=null,i.returnType=this.flowParseType(),i.typeParameters=null,this.finishNode(i,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(45);const i=this.flowParseAnonFunctionWithoutParens();for(e.types=[i];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return e.types.length===1?i:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(43);const i=this.flowParseIntersectionType();for(e.types=[i];this.eat(43);)e.types.push(this.flowParseIntersectionType());return e.types.length===1?i:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=!0;const i=this.flowParseUnionType();return this.state.inType=e,i}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){const e=this.state.startLoc,i=this.parseIdentifier();return this.flowParseGenericType(e,i)}else return this.flowParseType()}flowParseTypeAnnotation(){const e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const i=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(i.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(i)),i}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let 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}parseFunctionBody(e,i,a=!1){if(i){this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,a));return}super.parseFunctionBody(e,!1,a)}parseFunctionBodyAndFinish(e,i,a=!1){if(this.match(14)){const h=this.startNode();[h.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=h.typeAnnotation?this.finishNode(h,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,i,a)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){const a=this.lookahead();if(Oe(a.type)){const h=this.startNode();return this.next(),this.flowParseInterface(h)}}else if(this.shouldParseEnums()&&this.isContextual(126)){const a=this.startNode();return this.next(),this.flowParseEnumDeclaration(a)}const i=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(i)&&(this.flowPragma=null),i}parseExpressionStatement(e,i,a){if(i.type==="Identifier"){if(i.name==="declare"){if(this.match(80)||se(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(se(this.state.type)){if(i.name==="interface")return this.flowParseInterface(e);if(i.name==="type")return this.flowParseTypeAlias(e);if(i.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,i,a)}shouldParseExportDeclaration(){const{type:e}=this.state;return pn(e)||this.shouldParseEnums()&&e===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return pn(e)||this.shouldParseEnums()&&e===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,i,a){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const $=this.lookaheadCharCode();if($===44||$===61||$===58||$===41)return this.setOptionalParametersError(a),e}this.expect(17);const h=this.state.clone(),y=this.state.noArrowAt,b=this.startNodeAt(i);let{consequent:v,failed:I}=this.tryParseConditionalConsequent(),[C,q]=this.getArrowLikeExpressions(v);if(I||q.length>0){const $=[...y];if(q.length>0){this.state=h,this.state.noArrowAt=$;for(let V=0;V<q.length;V++)$.push(q[V].start);({consequent:v,failed:I}=this.tryParseConditionalConsequent()),[C,q]=this.getArrowLikeExpressions(v)}I&&C.length>1&&this.raise(K.AmbiguousConditionalArrow,h.startLoc),I&&C.length===1&&(this.state=h,$.push(C[0].start),this.state.noArrowAt=$,{consequent:v,failed:I}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(v,!0),this.state.noArrowAt=y,this.expect(14),b.test=e,b.consequent=v,b.alternate=this.forwardNoArrowParamsConversionAt(b,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(b,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),i=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:i}}getArrowLikeExpressions(e,i){const a=[e],h=[];for(;a.length!==0;){const y=a.pop();y.type==="ArrowFunctionExpression"&&y.body.type!=="BlockStatement"?(y.typeParameters||!y.returnType?this.finishArrowValidation(y):h.push(y),a.push(y.body)):y.type==="ConditionalExpression"&&(a.push(y.consequent),a.push(y.alternate))}return i?(h.forEach(y=>this.finishArrowValidation(y)),[h,[]]):hc(h,y=>y.params.every(b=>this.isAssignable(b,!0)))}finishArrowValidation(e){var i;this.toAssignableList(e.params,(i=e.extra)==null?void 0:i.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,i){let a;return this.state.noArrowParamsConversionAt.includes(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),a=i(),this.state.noArrowParamsConversionAt.pop()):a=i(),a}parseParenItem(e,i){const a=super.parseParenItem(e,i);if(this.eat(17)&&(a.optional=!0,this.resetEndLocation(e)),this.match(14)){const h=this.startNodeAt(i);return h.expression=a,h.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(h,"TypeCastExpression")}return a}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";const i=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(i)}else if(this.isContextual(131)){e.exportKind="type";const i=this.startNode();return this.next(),this.flowParseOpaqueType(i,!1)}else if(this.isContextual(129)){e.exportKind="type";const i=this.startNode();return this.next(),this.flowParseInterface(i)}else if(this.shouldParseEnums()&&this.isContextual(126)){e.exportKind="value";const i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){const{startLoc:i}=this.state,a=super.maybeParseExportNamespaceSpecifier(e);return a&&e.exportKind==="type"&&this.unexpected(i),a}parseClassId(e,i,a){super.parseClassId(e,i,a),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,i,a){const{startLoc:h}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,i))return;i.declare=!0}super.parseClassMember(e,i,a),i.declare&&(i.type!=="ClassProperty"&&i.type!=="ClassPrivateProperty"&&i.type!=="PropertyDefinition"?this.raise(K.DeclareClassElement,h):i.value&&this.raise(K.DeclareClassFieldInitializer,i.value))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1(),i="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(d.InvalidIdentifier,this.state.curPosition(),{identifierName:i}),this.finishToken(132,i)}getTokenFromCode(e){const i=this.input.charCodeAt(this.state.pos+1);e===123&&i===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?i===46?this.finishOp(18,2):this.finishOp(17,1):_h(e,i,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,i){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,i):super.isAssignable(e,i)}toAssignable(e,i=!1){!i&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,i)}toAssignableList(e,i,a){for(let h=0;h<e.length;h++){const y=e[h];(y==null?void 0:y.type)==="TypeCastExpression"&&(e[h]=this.typeCastToParameter(y))}super.toAssignableList(e,i,a)}toReferencedList(e,i){for(let h=0;h<e.length;h++){var a;const y=e[h];y&&y.type==="TypeCastExpression"&&!((a=y.extra)!=null&&a.parenthesized)&&(e.length>1||!i)&&this.raise(K.TypeCastInPattern,y.typeAnnotation)}return e}parseArrayLike(e,i,a,h){const y=super.parseArrayLike(e,i,a,h);return i&&!this.state.maybeInArrowParameters&&this.toReferencedList(y.elements),y}isValidLVal(e,i,a){return e==="TypeCastExpression"||super.isValidLVal(e,i,a)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,i,a,h,y,b){if(i.variance&&this.unexpected(i.variance.loc.start),delete i.variance,this.match(47)&&(i.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,i,a,h,y,b),i.params&&y){const v=i.params;v.length>0&&this.isThisParam(v[0])&&this.raise(K.ThisParamBannedInConstructor,i)}else if(i.type==="MethodDefinition"&&y&&i.value.params){const v=i.value.params;v.length>0&&this.isThisParam(v[0])&&this.raise(K.ThisParamBannedInConstructor,i)}}pushClassPrivateMethod(e,i,a,h){i.variance&&this.unexpected(i.variance.loc.start),delete i.variance,this.match(47)&&(i.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,i,a,h)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();const i=e.implements=[];do{const a=this.startNode();a.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?a.typeParameters=this.flowParseTypeParameterInstantiation():a.typeParameters=null,i.push(this.finishNode(a,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const i=this.getObjectOrClassMethodParams(e);if(i.length>0){const a=i[0];this.isThisParam(a)&&e.kind==="get"?this.raise(K.GetterMayNotHaveThisParam,a):this.isThisParam(a)&&this.raise(K.SetterMayNotHaveThisParam,a)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,i,a,h,y,b,v){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let I;this.match(47)&&!b&&(I=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const C=super.parseObjPropValue(e,i,a,h,y,b,v);return I&&((C.value||C).typeParameters=I),C}parseAssignableListItemTypes(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(K.PatternIsOptional,e),this.isThisParam(e)&&this.raise(K.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(K.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(K.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,i){const a=super.parseMaybeDefault(e,i);return a.type==="AssignmentPattern"&&a.typeAnnotation&&a.right.start<a.typeAnnotation.start&&this.raise(K.TypeBeforeInitializer,a.typeAnnotation),a}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(K.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,i,a){i.local=Cn(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(i,a))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;const i=this.lookaheadCharCode();return i===123||i===42}return!e&&this.isContextual(87)}applyImportPhase(e,i,a,h){if(super.applyImportPhase(e,i,a,h),i){if(!a&&this.match(65))return;e.exportKind=a==="type"?a:"value"}else a==="type"&&this.match(55)&&this.unexpected(),e.importKind=a==="type"||a==="typeof"?a:"value"}parseImportSpecifier(e,i,a,h,y){const b=e.imported;let v=null;b.type==="Identifier"&&(b.name==="type"?v="type":b.name==="typeof"&&(v="typeof"));let I=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const q=this.parseIdentifier(!0);v!==null&&!Oe(this.state.type)?(e.imported=q,e.importKind=v,e.local=Je(q)):(e.imported=b,e.importKind=null,e.local=this.parseIdentifier())}else{if(v!==null&&Oe(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=v;else{if(i)throw this.raise(d.ImportBindingIsString,e,{importName:b.value});e.imported=b,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(I=!0,e.local=Je(e.imported))}const C=Cn(e);return a&&C&&this.raise(K.ImportTypeShorthandOnlyInPureImport,e),(a||C)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),I&&!a&&!C&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(e,i){const a=e.kind;a!=="get"&&a!=="set"&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,i)}parseVarId(e,i){super.parseVarId(e,i),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,i){if(this.match(14)){const a=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=a}return super.parseAsyncArrowFromCallExpression(e,i)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,i){var a;let h=null,y;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(h=this.state.clone(),y=this.tryParse(()=>super.parseMaybeAssign(e,i),h),!y.error)return y.node;const{context:I}=this.state,C=I[I.length-1];(C===M.j_oTag||C===M.j_expr)&&I.pop()}if((a=y)!=null&&a.error||this.match(47)){var b,v;h=h||this.state.clone();let I;const C=this.tryParse($=>{var V;I=this.flowParseTypeParameterDeclaration();const W=this.forwardNoArrowParamsConversionAt(I,()=>{const Ee=super.parseMaybeAssign(e,i);return this.resetStartLocationFromNode(Ee,I),Ee});(V=W.extra)!=null&&V.parenthesized&&$();const ie=this.maybeUnwrapTypeCastExpression(W);return ie.type!=="ArrowFunctionExpression"&&$(),ie.typeParameters=I,this.resetStartLocationFromNode(ie,I),W},h);let q=null;if(C.node&&this.maybeUnwrapTypeCastExpression(C.node).type==="ArrowFunctionExpression"){if(!C.error&&!C.aborted)return C.node.async&&this.raise(K.UnexpectedTypeParameterBeforeAsyncArrowFunction,I),C.node;q=C.node}if((b=y)!=null&&b.node)return this.state=y.failState,y.node;if(q)return this.state=C.failState,q;throw(v=y)!=null&&v.thrown?y.error:C.thrown?C.error:this.raise(K.UnexpectedTokenAfterTypeParameter,I)}return super.parseMaybeAssign(e,i)}parseArrow(e){if(this.match(14)){const i=this.tryParse(()=>{const a=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const h=this.startNode();return[h.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=a,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),h});if(i.thrown)return null;i.error&&(this.state=i.failState),e.returnType=i.node.typeAnnotation?this.finishNode(i.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,i){this.state.noArrowParamsConversionAt.includes(e.start)?e.params=i:super.setArrowFunctionParameters(e,i)}checkParams(e,i,a,h=!0){if(!(a&&this.state.noArrowParamsConversionAt.includes(e.start))){for(let y=0;y<e.params.length;y++)this.isThisParam(e.params[y])&&y>0&&this.raise(K.ThisParamMustBeFirst,e.params[y]);super.checkParams(e,i,a,h)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.state.start))}parseSubscripts(e,i,a){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.includes(i.index)){this.next();const h=this.startNodeAt(i);h.callee=e,h.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(h,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){const h=this.state.clone(),y=this.tryParse(v=>this.parseAsyncArrowWithTypeParameters(i)||v(),h);if(!y.error&&!y.aborted)return y.node;const b=this.tryParse(()=>super.parseSubscripts(e,i,a),h);if(b.node&&!b.error)return b.node;if(y.node)return this.state=y.failState,y.node;if(b.node)return this.state=b.failState,b.node;throw y.error||b.error}return super.parseSubscripts(e,i,a)}parseSubscript(e,i,a,h){if(this.match(18)&&this.isLookaheadToken_lt()){if(h.optionalChainMember=!0,a)return h.stop=!0,e;this.next();const y=this.startNodeAt(i);return y.callee=e,y.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),y.arguments=this.parseCallExpressionArguments(11,!1),y.optional=!0,this.finishCallExpression(y,!0)}else if(!a&&this.shouldParseTypes()&&this.match(47)){const y=this.startNodeAt(i);y.callee=e;const b=this.tryParse(()=>(y.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),y.arguments=super.parseCallExpressionArguments(11,!1),h.optionalChainMember&&(y.optional=!1),this.finishCallExpression(y,h.optionalChainMember)));if(b.node)return b.error&&(this.state=b.failState),b.node}return super.parseSubscript(e,i,a,h)}parseNewCallee(e){super.parseNewCallee(e);let i=null;this.shouldParseTypes()&&this.match(47)&&(i=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=i}parseAsyncArrowWithTypeParameters(e){const i=this.startNodeAt(e);if(this.parseFunctionParams(i,!1),!!this.parseArrow(i))return super.parseArrowExpression(i,void 0,!0)}readToken_mult_modulo(e){const i=this.input.charCodeAt(this.state.pos+1);if(e===42&&i===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const i=this.input.charCodeAt(this.state.pos+1);if(e===124&&i===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,i){const a=super.parseTopLevel(e,i);return this.state.hasFlowComment&&this.raise(K.UnterminatedFlowComment,this.state.curPosition()),a}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(K.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:e}=this.state;let i=2;for(;[32,9].includes(this.input.charCodeAt(e+i));)i++;const a=this.input.charCodeAt(i+e),h=this.input.charCodeAt(i+e+1);return a===58&&h===58?i+2:this.input.slice(i+e,i+e+12)==="flow-include"?i+12:a===58&&h!==58?i:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(d.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:i,memberName:a}){this.raise(K.EnumBooleanMemberNotInitialized,e,{memberName:a,enumName:i})}flowEnumErrorInvalidMemberInitializer(e,i){return this.raise(i.explicitType?i.explicitType==="symbol"?K.EnumInvalidMemberInitializerSymbolType:K.EnumInvalidMemberInitializerPrimaryType:K.EnumInvalidMemberInitializerUnknownType,e,i)}flowEnumErrorNumberMemberNotInitialized(e,i){this.raise(K.EnumNumberMemberNotInitialized,e,i)}flowEnumErrorStringMemberInconsistentlyInitialized(e,i){this.raise(K.EnumStringMemberInconsistentlyInitialized,e,i)}flowEnumMemberInit(){const e=this.state.startLoc,i=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const a=this.parseNumericLiteral(this.state.value);return i()?{type:"number",loc:a.loc.start,value:a}:{type:"invalid",loc:e}}case 133:{const a=this.parseStringLiteral(this.state.value);return i()?{type:"string",loc:a.loc.start,value:a}:{type:"invalid",loc:e}}case 85:case 86:{const a=this.parseBooleanLiteral(this.match(85));return i()?{type:"boolean",loc:a.loc.start,value:a}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc,i=this.parseIdentifier(!0),a=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:i,init:a}}flowEnumCheckExplicitTypeMismatch(e,i,a){const{explicitType:h}=i;h!==null&&h!==a&&this.flowEnumErrorInvalidMemberInitializer(e,i)}flowEnumMembers({enumName:e,explicitType:i}){const a=new Set,h={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let y=!1;for(;!this.match(8);){if(this.eat(21)){y=!0;break}const b=this.startNode(),{id:v,init:I}=this.flowEnumMemberRaw(),C=v.name;if(C==="")continue;/^[a-z]/.test(C)&&this.raise(K.EnumInvalidMemberName,v,{memberName:C,suggestion:C[0].toUpperCase()+C.slice(1),enumName:e}),a.has(C)&&this.raise(K.EnumDuplicateMemberName,v,{memberName:C,enumName:e}),a.add(C);const q={enumName:e,explicitType:i,memberName:C};switch(b.id=v,I.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(I.loc,q,"boolean"),b.init=I.value,h.booleanMembers.push(this.finishNode(b,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(I.loc,q,"number"),b.init=I.value,h.numberMembers.push(this.finishNode(b,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(I.loc,q,"string"),b.init=I.value,h.stringMembers.push(this.finishNode(b,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(I.loc,q);case"none":switch(i){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(I.loc,q);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(I.loc,q);break;default:h.defaultedMembers.push(this.finishNode(b,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:h,hasUnknownMembers:y}}flowEnumStringMembers(e,i,{enumName:a}){if(e.length===0)return i;if(i.length===0)return e;if(i.length>e.length){for(const h of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(h,{enumName:a});return i}else{for(const h of i)this.flowEnumErrorStringMemberInconsistentlyInitialized(h,{enumName:a});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!se(this.state.type))throw this.raise(K.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});const{value:i}=this.state;return this.next(),i!=="boolean"&&i!=="number"&&i!=="string"&&i!=="symbol"&&this.raise(K.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:i}),i}flowEnumBody(e,i){const a=i.name,h=i.loc.start,y=this.flowEnumParseExplicitType({enumName:a});this.expect(5);const{members:b,hasUnknownMembers:v}=this.flowEnumMembers({enumName:a,explicitType:y});switch(e.hasUnknownMembers=v,y){case"boolean":return e.explicitType=!0,e.members=b.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=b.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(b.stringMembers,b.defaultedMembers,{enumName:a}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=b.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const I=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const C=b.booleanMembers.length,q=b.numberMembers.length,$=b.stringMembers.length,V=b.defaultedMembers.length;if(!C&&!q&&!$&&!V)return I();if(!C&&!q)return e.members=this.flowEnumStringMembers(b.stringMembers,b.defaultedMembers,{enumName:a}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!q&&!$&&C>=V){for(const W of b.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(W.loc.start,{enumName:a,memberName:W.id.name});return e.members=b.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!C&&!$&&q>=V){for(const W of b.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(W.loc.start,{enumName:a,memberName:W.id.name});return e.members=b.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.raise(K.EnumInconsistentMemberValues,h,{enumName:a}),I()}}}flowParseEnumDeclaration(e){const i=this.parseIdentifier();return e.id=i,e.body=this.flowEnumBody(this.startNode(),i),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const i=this.input.charCodeAt(e+1);return i!==60&&i!==61}return!1}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}};const pc={__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:"♦"},ft=A`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:m})=>`Expected corresponding JSX closing tag for <${m}>.`,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:({unexpected:m,HTMLEntity:r})=>`Unexpected token \`${m}\`. Did you mean \`${r}\` or \`{'${m}'}\`?`,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 rt(m){return m?m.type==="JSXOpeningFragment"||m.type==="JSXClosingFragment":!1}function It(m){if(m.type==="JSXIdentifier")return m.name;if(m.type==="JSXNamespacedName")return m.namespace.name+":"+m.name.name;if(m.type==="JSXMemberExpression")return It(m.object)+"."+It(m.property);throw new Error("Node had unexpected type: "+m.type)}var fc=m=>class extends m{jsxReadToken(){let e="",i=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(ft.UnterminatedJsxContent,this.state.startLoc);const a=this.input.charCodeAt(this.state.pos);switch(a){case 60:case 123:if(this.state.pos===this.state.start){a===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(a);return}e+=this.input.slice(i,this.state.pos),this.finishToken(141,e);return;case 38:e+=this.input.slice(i,this.state.pos),e+=this.jsxReadEntity(),i=this.state.pos;break;case 62:case 125:default:Ct(a)?(e+=this.input.slice(i,this.state.pos),e+=this.jsxReadNewLine(!0),i=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const i=this.input.charCodeAt(this.state.pos);let a;return++this.state.pos,i===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,a=e?`
|
||
`:`\r
|
||
`):a=String.fromCharCode(i),++this.state.curLine,this.state.lineStart=this.state.pos,a}jsxReadString(e){let i="",a=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(d.UnterminatedString,this.state.startLoc);const h=this.input.charCodeAt(this.state.pos);if(h===e)break;h===38?(i+=this.input.slice(a,this.state.pos),i+=this.jsxReadEntity(),a=this.state.pos):Ct(h)?(i+=this.input.slice(a,this.state.pos),i+=this.jsxReadNewLine(!1),a=this.state.pos):++this.state.pos}i+=this.input.slice(a,this.state.pos++),this.finishToken(133,i)}jsxReadEntity(){const e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let i=10;this.codePointAtPos(this.state.pos)===120&&(i=16,++this.state.pos);const a=this.readInt(i,void 0,!1,"bail");if(a!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(a)}else{let i=0,a=!1;for(;i++<10&&this.state.pos<this.length&&!(a=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(a){const h=this.input.slice(e,this.state.pos),y=pc[h];if(++this.state.pos,y)return y}}return this.state.pos=e,"&"}jsxReadWord(){let e;const i=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(vt(e)||e===45);this.finishToken(140,this.input.slice(i,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(140)?e.name=this.state.value:ir(this.state.type)?e.name=tt(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.startLoc,i=this.jsxParseIdentifier();if(!this.eat(14))return i;const a=this.startNodeAt(e);return a.namespace=i,a.name=this.jsxParseIdentifier(),this.finishNode(a,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.startLoc;let i=this.jsxParseNamespacedName();if(i.type==="JSXNamespacedName")return i;for(;this.eat(16);){const a=this.startNodeAt(e);a.object=i,a.property=this.jsxParseIdentifier(),i=this.finishNode(a,"JSXMemberExpression")}return i}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(M.brace),this.next(),e=this.jsxParseExpressionContainer(e,M.j_oTag),e.expression.type==="JSXEmptyExpression"&&this.raise(ft.AttributeIsEmpty,e),e;case 142:case 133:return this.parseExprAtom();default:throw this.raise(ft.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(M.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,i){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const a=this.parseExpression();e.expression=a}return this.setContext(i),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.match(5)?(this.setContext(M.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(M.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"))}jsxParseOpeningElementAt(e){const i=this.startNodeAt(e);return this.eat(143)?this.finishNode(i,"JSXOpeningFragment"):(i.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(i))}jsxParseOpeningElementAfterName(e){const i=[];for(;!this.match(56)&&!this.match(143);)i.push(this.jsxParseAttribute());return e.attributes=i,e.selfClosing=this.eat(56),this.expect(143),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){const i=this.startNodeAt(e);return this.eat(143)?this.finishNode(i,"JSXClosingFragment"):(i.name=this.jsxParseElementName(),this.expect(143),this.finishNode(i,"JSXClosingElement"))}jsxParseElementAt(e){const i=this.startNodeAt(e),a=[],h=this.jsxParseOpeningElementAt(e);let y=null;if(!h.selfClosing){e:for(;;)switch(this.state.type){case 142:if(e=this.state.startLoc,this.next(),this.eat(56)){y=this.jsxParseClosingElementAt(e);break e}a.push(this.jsxParseElementAt(e));break;case 141:a.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{const b=this.startNode();this.setContext(M.brace),this.next(),this.match(21)?a.push(this.jsxParseSpreadChild(b)):a.push(this.jsxParseExpressionContainer(b,M.j_expr));break}default:this.unexpected()}rt(h)&&!rt(y)&&y!==null?this.raise(ft.MissingClosingTagFragment,y):!rt(h)&&rt(y)?this.raise(ft.MissingClosingTagElement,y,{openingTagName:It(h.name)}):!rt(h)&&!rt(y)&&It(y.name)!==It(h.name)&&this.raise(ft.MissingClosingTagElement,y,{openingTagName:It(h.name)})}if(rt(h)?(i.openingFragment=h,i.closingFragment=y):(i.openingElement=h,i.closingElement=y),i.children=a,this.match(47))throw this.raise(ft.UnwrappedAdjacentJSXElements,this.state.startLoc);return rt(h)?this.finishNode(i,"JSXFragment"):this.finishNode(i,"JSXElement")}jsxParseElement(){const e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){const{context:i}=this.state;i[i.length-1]=e}parseExprAtom(e){return this.match(142)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){const i=this.curContext();if(i===M.j_expr){this.jsxReadToken();return}if(i===M.j_oTag||i===M.j_cTag){if(Ke(e)){this.jsxReadWord();return}if(e===62){++this.state.pos,this.finishToken(143);return}if((e===34||e===39)&&i===M.j_oTag){this.jsxReadString(e);return}}if(e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(142);return}super.getTokenFromCode(e)}updateContext(e){const{context:i,type:a}=this.state;if(a===56&&e===142)i.splice(-2,2,M.j_cTag),this.state.canStartJSXElement=!1;else if(a===142)i.push(M.j_oTag);else if(a===143){const h=i[i.length-1];h===M.j_oTag&&e===56||h===M.j_cTag?(i.pop(),this.state.canStartJSXElement=i[i.length-1]===M.j_expr):(this.setContext(M.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=et(a)}};class dc extends lr{constructor(...r){super(...r),this.tsNames=new Map}}class mc extends hr{constructor(...r){super(...r),this.importsStack=[]}createScope(r){return this.importsStack.push(new Set),new dc(r)}enter(r){r===256&&this.importsStack.push(new Set),super.enter(r)}exit(){const r=super.exit();return r===256&&this.importsStack.pop(),r}hasImport(r,e){const i=this.importsStack.length;if(this.importsStack[i-1].has(r))return!0;if(!e&&i>1){for(let a=0;a<i-1;a++)if(this.importsStack[a].has(r))return!0}return!1}declareName(r,e,i){if(e&4096){this.hasImport(r,!0)&&this.parser.raise(d.VarRedeclaration,i,{identifierName:r}),this.importsStack[this.importsStack.length-1].add(r);return}const a=this.currentScope();let h=a.tsNames.get(r)||0;if(e&1024){this.maybeExportDefined(a,r),a.tsNames.set(r,h|16);return}super.declareName(r,e,i),e&2&&(e&1||(this.checkRedeclarationInScope(a,r,e,i),this.maybeExportDefined(a,r)),h=h|1),e&256&&(h=h|2),e&512&&(h=h|4),e&128&&(h=h|8),h&&a.tsNames.set(r,h)}isRedeclaredInScope(r,e,i){const a=r.tsNames.get(e);if((a&2)>0){if(i&256){const h=!!(i&512),y=(a&4)>0;return h!==y}return!0}return i&128&&(a&8)>0?r.names.get(e)&2?!!(i&1):!1:i&2&&(a&1)>0?!0:super.isRedeclaredInScope(r,e,i)}checkLocalExport(r){const{name:e}=r;if(this.hasImport(e))return;const i=this.scopeStack.length;for(let a=i-1;a>=0;a--){const y=this.scopeStack[a].tsNames.get(e);if((y&1)>0||(y&16)>0)return}super.checkLocalExport(r)}}const In=m=>m.type==="ParenthesizedExpression"?In(m.expression):m;class yc extends nc{toAssignable(r,e=!1){var i,a;let h;switch((r.type==="ParenthesizedExpression"||(i=r.extra)!=null&&i.parenthesized)&&(h=In(r),e?h.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(d.InvalidParenthesizedAssignment,r):h.type!=="MemberExpression"&&!this.isOptionalMemberExpression(h)&&this.raise(d.InvalidParenthesizedAssignment,r):this.raise(d.InvalidParenthesizedAssignment,r)),r.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":r.type="ObjectPattern";for(let b=0,v=r.properties.length,I=v-1;b<v;b++){var y;const C=r.properties[b],q=b===I;this.toAssignableObjectExpressionProp(C,q,e),q&&C.type==="RestElement"&&(y=r.extra)!=null&&y.trailingCommaLoc&&this.raise(d.RestTrailingComma,r.extra.trailingCommaLoc)}break;case"ObjectProperty":{const{key:b,value:v}=r;this.isPrivateName(b)&&this.classScope.usePrivateName(this.getPrivateNameSV(b),b.loc.start),this.toAssignable(v,e);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":r.type="ArrayPattern",this.toAssignableList(r.elements,(a=r.extra)==null?void 0:a.trailingCommaLoc,e);break;case"AssignmentExpression":r.operator!=="="&&this.raise(d.MissingEqInAssignment,r.left.loc.end),r.type="AssignmentPattern",delete r.operator,this.toAssignable(r.left,e);break;case"ParenthesizedExpression":this.toAssignable(h,e);break}}toAssignableObjectExpressionProp(r,e,i){if(r.type==="ObjectMethod")this.raise(r.kind==="get"||r.kind==="set"?d.PatternHasAccessor:d.PatternHasMethod,r.key);else if(r.type==="SpreadElement"){r.type="RestElement";const a=r.argument;this.checkToRestConversion(a,!1),this.toAssignable(a,i),e||this.raise(d.RestTrailingComma,r)}else this.toAssignable(r,i)}toAssignableList(r,e,i){const a=r.length-1;for(let h=0;h<=a;h++){const y=r[h];if(y){if(y.type==="SpreadElement"){y.type="RestElement";const b=y.argument;this.checkToRestConversion(b,!0),this.toAssignable(b,i)}else this.toAssignable(y,i);y.type==="RestElement"&&(h<a?this.raise(d.RestTrailingComma,y):e&&this.raise(d.RestTrailingComma,e))}}}isAssignable(r,e){switch(r.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const i=r.properties.length-1;return r.properties.every((a,h)=>a.type!=="ObjectMethod"&&(h===i||a.type!=="SpreadElement")&&this.isAssignable(a))}case"ObjectProperty":return this.isAssignable(r.value);case"SpreadElement":return this.isAssignable(r.argument);case"ArrayExpression":return r.elements.every(i=>i===null||this.isAssignable(i));case"AssignmentExpression":return r.operator==="=";case"ParenthesizedExpression":return this.isAssignable(r.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(r,e){return r}toReferencedListDeep(r,e){this.toReferencedList(r,e);for(const i of r)(i==null?void 0:i.type)==="ArrayExpression"&&this.toReferencedListDeep(i.elements)}parseSpread(r){const e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(r,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){const r=this.startNode();return this.next(),r.argument=this.parseBindingAtom(),this.finishNode(r,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const r=this.startNode();return this.next(),r.elements=this.parseBindingList(3,93,1),this.finishNode(r,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(r,e,i){const a=i&1,h=[];let y=!0;for(;!this.eat(r);)if(y?y=!1:this.expect(12),a&&this.match(12))h.push(null);else{if(this.eat(r))break;if(this.match(21)){if(h.push(this.parseAssignableListItemTypes(this.parseRestBinding(),i)),!this.checkCommaAfterRest(e)){this.expect(r);break}}else{const b=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(d.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)b.push(this.parseDecorator());h.push(this.parseAssignableListItem(i,b))}}return h}parseBindingRestProperty(r){return this.next(),r.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(r,"RestElement")}parseBindingProperty(){const{type:r,startLoc:e}=this.state;if(r===21)return this.parseBindingRestProperty(this.startNode());const i=this.startNode();return r===138?(this.expectPlugin("destructuringPrivate",e),this.classScope.usePrivateName(this.state.value,e),i.key=this.parsePrivateName()):this.parsePropertyName(i),i.method=!1,this.parseObjPropValue(i,e,!1,!1,!0,!1)}parseAssignableListItem(r,e){const i=this.parseMaybeDefault();this.parseAssignableListItemTypes(i,r);const a=this.parseMaybeDefault(i.loc.start,i);return e.length&&(i.decorators=e),a}parseAssignableListItemTypes(r,e){return r}parseMaybeDefault(r,e){var i,a;if((i=r)!=null||(r=this.state.startLoc),e=(a=e)!=null?a:this.parseBindingAtom(),!this.eat(29))return e;const h=this.startNodeAt(r);return h.left=e,h.right=this.parseMaybeAssignAllowIn(),this.finishNode(h,"AssignmentPattern")}isValidLVal(r,e,i){switch(r){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(r){return r.type==="OptionalMemberExpression"}checkLVal(r,e,i=64,a=!1,h=!1,y=!1){var b;const v=r.type;if(this.isObjectMethod(r))return;const I=this.isOptionalMemberExpression(r);if(I||v==="MemberExpression"){I&&(this.expectPlugin("optionalChainingAssign",r.loc.start),e.type!=="AssignmentExpression"&&this.raise(d.InvalidLhsOptionalChaining,r,{ancestor:e})),i!==64&&this.raise(d.InvalidPropertyBindingPattern,r);return}if(v==="Identifier"){this.checkIdentifier(r,i,h);const{name:ie}=r;a&&(a.has(ie)?this.raise(d.ParamDupe,r):a.add(ie));return}const C=this.isValidLVal(v,!(y||(b=r.extra)!=null&&b.parenthesized)&&e.type==="AssignmentExpression",i);if(C===!0)return;if(C===!1){const ie=i===64?d.InvalidLhs:d.InvalidLhsBinding;this.raise(ie,r,{ancestor:e});return}let q,$;typeof C=="string"?(q=C,$=v==="ParenthesizedExpression"):[q,$]=C;const V=v==="ArrayPattern"||v==="ObjectPattern"?{type:v}:e,W=r[q];if(Array.isArray(W))for(const ie of W)ie&&this.checkLVal(ie,V,i,a,h,$);else W&&this.checkLVal(W,V,i,a,h,$)}checkIdentifier(r,e,i=!1){this.state.strict&&(i?xn(r.name,this.inModule):gn(r.name))&&(e===64?this.raise(d.StrictEvalArguments,r,{referenceName:r.name}):this.raise(d.StrictEvalArgumentsBinding,r,{bindingName:r.name})),e&8192&&r.name==="let"&&this.raise(d.LetInLexicalBinding,r),e&64||this.declareNameFromIdentifier(r,e)}declareNameFromIdentifier(r,e){this.scope.declareName(r.name,e,r.loc.start)}checkToRestConversion(r,e){switch(r.type){case"ParenthesizedExpression":this.checkToRestConversion(r.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(d.InvalidRestAssignmentPattern,r)}}checkCommaAfterRest(r){return this.match(12)?(this.raise(this.lookaheadCharCode()===r?d.RestTrailingComma:d.ElementAfterRest,this.state.startLoc),!0):!1}}function gc(m){if(m==null)throw new Error(`Unexpected ${m} value.`);return m}function Nn(m){if(!m)throw new Error("Assert fail")}const H=A`typescript`({AbstractMethodHasImplementation:({methodName:m})=>`Method '${m}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:m})=>`Property '${m}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"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:({kind:m})=>`'declare' is not allowed in ${m}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:m})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:m})=>`Duplicate modifier: '${m}'.`,EmptyHeritageClauseType:({token:m})=>`'${m}' 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:({modifiers:m})=>`'${m[0]}' modifier cannot be used with '${m[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:m})=>`Index signatures cannot have an accessibility modifier ('${m}').`,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.",InvalidModifierOnTypeMember:({modifier:m})=>`'${m}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:m})=>`'${m}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:m})=>`'${m}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:m})=>`'${m[0]}' modifier must precede '${m[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.",NonClassMethodPropertyHasAbstractModifer:"'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:({modifier:m})=>`Private elements cannot have an accessibility modifier ('${m}').`,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.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:m})=>`Single type parameter ${m} should have a trailing comma. Example usage: <${m},>.`,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:({type:m})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${m}.`});function xc(m){switch(m){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}}function kn(m){return m==="private"||m==="public"||m==="protected"}function Pc(m){return m==="in"||m==="out"}var wc=m=>class extends m{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:H.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:H.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:H.InvalidModifierOnTypeParameter})}getScopeHandler(){return mc}tsIsIdentifier(){return se(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,i){if(!se(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const a=this.state.value;if(e.includes(a)){if(i&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return a}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:i,stopOnStartOfClassStaticBlock:a,errorTemplate:h=H.InvalidModifierOnTypeMember},y){const b=(I,C,q,$)=>{C===q&&y[$]&&this.raise(H.InvalidModifiersOrder,I,{orderedModifiers:[q,$]})},v=(I,C,q,$)=>{(y[q]&&C===$||y[$]&&C===q)&&this.raise(H.IncompatibleModifiers,I,{modifiers:[q,$]})};for(;;){const{startLoc:I}=this.state,C=this.tsParseModifier(e.concat(i??[]),a);if(!C)break;kn(C)?y.accessibility?this.raise(H.DuplicateAccessibilityModifier,I,{modifier:C}):(b(I,C,C,"override"),b(I,C,C,"static"),b(I,C,C,"readonly"),y.accessibility=C):Pc(C)?(y[C]&&this.raise(H.DuplicateModifier,I,{modifier:C}),y[C]=!0,b(I,C,"in","out")):(hasOwnProperty.call(y,C)?this.raise(H.DuplicateModifier,I,{modifier:C}):(b(I,C,"static","readonly"),b(I,C,"static","override"),b(I,C,"override","readonly"),b(I,C,"abstract","override"),v(I,C,"declare","override"),v(I,C,"static","abstract")),y[C]=!0),i!=null&&i.includes(C)&&this.raise(h,I,{modifier:C})}}tsIsListTerminator(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)}}tsParseList(e,i){const a=[];for(;!this.tsIsListTerminator(e);)a.push(i());return a}tsParseDelimitedList(e,i,a){return gc(this.tsParseDelimitedListWorker(e,i,!0,a))}tsParseDelimitedListWorker(e,i,a,h){const y=[];let b=-1;for(;!this.tsIsListTerminator(e);){b=-1;const v=i();if(v==null)return;if(y.push(v),this.eat(12)){b=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;a&&this.expect(12);return}return h&&(h.value=b),y}tsParseBracketedList(e,i,a,h,y){h||(a?this.expect(0):this.expect(47));const b=this.tsParseDelimitedList(e,i,y);return a?this.expect(3):this.expect(48),b}tsParseImportType(){const e=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(H.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(e.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(e.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e=!0){let i=this.parseIdentifier(e);for(;this.eat(16);){const a=this.startNodeAtNode(i);a.left=i,a.right=this.parseIdentifier(e),i=this.finishNode(a,"TSQualifiedName")}return i}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const i=this.startNodeAtNode(e);return i.parameterName=e,i.typeAnnotation=this.tsParseTypeAnnotation(!1),i.asserts=!1,this.finishNode(i,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){const i=this.startNode();return e(i),i.name=this.tsParseTypeParameterName(),i.constraint=this.tsEatThenParseType(81),i.default=this.tsEatThenParseType(29),this.finishNode(i,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){const i=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();const a={value:-1};return i.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,a),i.params.length===0&&this.raise(H.EmptyTypeParameters,i),a.value!==-1&&this.addExtra(i,"trailingComma",a.value),this.finishNode(i,"TSTypeParameterDeclaration")}tsFillSignature(e,i){const a=e===19,h="parameters",y="typeAnnotation";i.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),i[h]=this.tsParseBindingListForSignature(),a?i[y]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(i[y]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){const e=super.parseBindingList(11,41,2);for(const i of e){const{type:a}=i;(a==="AssignmentPattern"||a==="TSParameterProperty")&&this.raise(H.UnsupportedSignatureParameterKind,i,{type:a})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,i){return this.tsFillSignature(14,i),this.tsParseTypeMemberSemicolon(),this.finishNode(i,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),se(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);const i=this.parseIdentifier();i.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(i),this.expect(3),e.parameters=[i];const a=this.tsTryParseTypeAnnotation();return a&&(e.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,i){this.eat(17)&&(e.optional=!0);const a=e;if(this.match(10)||this.match(47)){i&&this.raise(H.ReadonlyForMethodSignature,e);const h=a;h.kind&&this.match(47)&&this.raise(H.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,h),this.tsParseTypeMemberSemicolon();const y="parameters",b="typeAnnotation";if(h.kind==="get")h[y].length>0&&(this.raise(d.BadGetterArity,this.state.curPosition()),this.isThisParam(h[y][0])&&this.raise(H.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(h.kind==="set"){if(h[y].length!==1)this.raise(d.BadSetterArity,this.state.curPosition());else{const v=h[y][0];this.isThisParam(v)&&this.raise(H.AccesorCannotDeclareThisParameter,this.state.curPosition()),v.type==="Identifier"&&v.optional&&this.raise(H.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),v.type==="RestElement"&&this.raise(H.SetAccesorCannotHaveRestParameter,this.state.curPosition())}h[b]&&this.raise(H.SetAccesorCannotHaveReturnType,h[b])}else h.kind="method";return this.finishNode(h,"TSMethodSignature")}else{const h=a;i&&(h.readonly=!0);const y=this.tsTryParseTypeAnnotation();return y&&(h.typeAnnotation=y),this.tsParseTypeMemberSemicolon(),this.finishNode(h,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){const a=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(a,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);const i=this.tsTryParseIndexSignature(e);return i||(super.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();return 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),e.typeParameter=this.tsParseMappedTypeParameter(),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")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let i=!1;return e.elementTypes.forEach(a=>{const{type:h}=a;i&&h!=="TSRestType"&&h!=="TSOptionalType"&&!(h==="TSNamedTupleMember"&&a.optional)&&this.raise(H.OptionalTypeBeforeRequired,a),i||(i=h==="TSNamedTupleMember"&&a.optional||h==="TSOptionalType")}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{startLoc:e}=this.state,i=this.eat(21);let a,h,y,b;const I=Oe(this.state.type)?this.lookaheadCharCode():null;if(I===58)a=!0,y=!1,h=this.parseIdentifier(!0),this.expect(14),b=this.tsParseType();else if(I===63){y=!0;const C=this.state.startLoc,q=this.state.value,$=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(a=!0,h=this.createIdentifier(this.startNodeAt(C),q),this.expect(17),this.expect(14),b=this.tsParseType()):(a=!1,b=$,this.expect(17))}else b=this.tsParseType(),y=this.eat(17),a=this.eat(14);if(a){let C;h?(C=this.startNodeAtNode(h),C.optional=y,C.label=h,C.elementType=b,this.eat(17)&&(C.optional=!0,this.raise(H.TupleOptionalAfterType,this.state.lastTokStartLoc))):(C=this.startNodeAtNode(b),C.optional=y,this.raise(H.InvalidTupleMemberLabel,b),C.label=b,C.elementType=this.tsParseType()),b=this.finishNode(C,"TSNamedTupleMember")}else if(y){const C=this.startNodeAtNode(b);C.typeAnnotation=b,b=this.finishNode(C,"TSOptionalType")}if(i){const C=this.startNodeAt(e);C.typeAnnotation=b,b=this.finishNode(C,"TSRestType")}return b}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,i){const a=this.startNode();return e==="TSConstructorType"&&(a.abstract=!!i,i&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,a)),this.finishNode(a,e)}tsParseLiteralTypeNode(){const e=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const e=this.startNode(),i=this.lookahead();return i.type!==134&&i.type!==135&&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:{const{type:e}=this.state;if(se(e)||e===88||e===84){const i=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":xc(this.state.value);if(i!==void 0&&this.lookaheadCharCode()!==46){const a=this.startNode();return this.next(),this.finishNode(a,i)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const i=this.startNodeAtNode(e);i.elementType=e,this.expect(3),e=this.finishNode(i,"TSArrayType")}else{const i=this.startNodeAtNode(e);i.objectType=e,i.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(i,"TSIndexedAccessType")}return e}tsParseTypeOperator(){const e=this.startNode(),i=this.state.value;return this.next(),e.operator=i,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),i==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(H.UnexpectedReadonly,e)}}tsParseInferType(){const e=this.startNode();this.expectContextual(115);const i=this.startNode();return i.name=this.tsParseTypeParameterName(),i.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(i,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return Th(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,i,a){const h=this.startNode(),y=this.eat(a),b=[];do b.push(i());while(this.eat(a));return b.length===1&&!y?b[0]:(h.types=b,this.finishNode(h,e))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(se(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:e}=this.state,i=e.length;try{return this.parseObjectLike(8,!0),e.length===i}catch{return!1}}if(this.match(0)){this.next();const{errors:e}=this.state,i=e.length;try{return super.parseBindingList(3,93,1),e.length===i}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const i=this.startNode();this.expect(e);const a=this.startNode(),h=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(h&&this.match(78)){let v=this.tsParseThisTypeOrThisTypePredicate();return v.type==="TSThisType"?(a.parameterName=v,a.asserts=!0,a.typeAnnotation=null,v=this.finishNode(a,"TSTypePredicate")):(this.resetStartLocationFromNode(v,a),v.asserts=!0),i.typeAnnotation=v,this.finishNode(i,"TSTypeAnnotation")}const y=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!y)return h?(a.parameterName=this.parseIdentifier(),a.asserts=h,a.typeAnnotation=null,i.typeAnnotation=this.finishNode(a,"TSTypePredicate"),this.finishNode(i,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,i);const b=this.tsParseTypeAnnotation(!1);return a.parameterName=y,a.typeAnnotation=b,a.asserts=h,i.typeAnnotation=this.finishNode(a,"TSTypePredicate"),this.finishNode(i,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const e=this.state.containsEsc;return this.next(),!se(this.state.type)&&!this.match(78)?!1:(e&&this.raise(d.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,i=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),i.typeAnnotation=this.tsParseType()}),this.finishNode(i,"TSTypeAnnotation")}tsParseType(){Nn(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;const i=this.startNodeAtNode(e);return i.checkType=e,i.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),i.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),i.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(i,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(H.ReservedTypeAssertion,this.state.startLoc);const e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const i=this.state.startLoc,a=this.tsParseDelimitedList("HeritageClauseElement",()=>{const h=this.startNode();return h.expression=this.tsParseEntityName(),this.match(47)&&(h.typeParameters=this.tsParseTypeArguments()),this.finishNode(h,"TSExpressionWithTypeArguments")});return a.length||this.raise(H.EmptyHeritageClauseType,i,{token:e}),a}tsParseInterfaceDeclaration(e,i={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),i.declare&&(e.declare=!0),se(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(H.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));const a=this.startNode();return a.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(a,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){const i=this.startNode();return this.next(),this.finishNode(i,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const i=this.state.context;this.state.context=[i[0]];try{return e()}finally{this.state.context=i}}tsInType(e){const i=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=i}}tsInDisallowConditionalTypesContext(e){const i=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=i}}tsInAllowConditionalTypesContext(e){const i=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=i}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,i={}){return i.const&&(e.const=!0),i.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")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,i=!1){if(e.id=this.parseIdentifier(),i||this.checkIdentifier(e.id,1024),this.eat(16)){const a=this.startNode();this.tsParseModuleOrNamespaceDeclaration(a,!0),e.body=a}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.global=!0,e.id=this.parseIdentifier()):this.match(133)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,i,a){e.isExport=a||!1,e.id=i||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);const h=this.tsParseModuleReference();return e.importKind==="type"&&h.type!=="TSExternalModuleReference"&&this.raise(H.ImportAliasHasImportType,h),e.moduleReference=h,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const i=this.state.clone(),a=e();return this.state=i,a}tsTryParseAndCatch(e){const i=this.tryParse(a=>e()||a());if(!(i.aborted||!i.node))return i.error&&(this.state=i.failState),i.node}tsTryParse(e){const i=this.state.clone(),a=e();if(a!==void 0&&a!==!1)return a;this.state=i}tsTryParseDeclare(e){if(this.isLineTerminator())return;let i=this.state.type,a;return this.isContextual(100)&&(i=74,a="let"),this.tsInAmbientContext(()=>{switch(i){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(e.declare=!0,this.parseVarStatement(e,a||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 129:{const h=this.tsParseInterfaceDeclaration(e,{declare:!0});if(h)return h}default:if(se(i))return this.tsParseDeclaration(e,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,i,a){switch(i.name){case"declare":{const h=this.tsTryParseDeclare(e);return h&&(h.declare=!0),h}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const h=e;return h.global=!0,h.id=i,h.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(h,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,i.name,!1,a)}}tsParseDeclaration(e,i,a,h){switch(i){case"abstract":if(this.tsCheckLineTerminator(a)&&(this.match(80)||se(this.state.type)))return this.tsParseAbstractDeclaration(e,h);break;case"module":if(this.tsCheckLineTerminator(a)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(e);if(se(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(a)&&se(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(a)&&se(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;const i=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const a=this.tsTryParseAndCatch(()=>{const h=this.startNodeAt(e);return h.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(h),h.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),h});if(this.state.maybeInArrowParameters=i,!!a)return super.parseArrowExpression(a,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0?this.raise(H.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===M.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return Eh(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(e,i){const a=this.state.startLoc,h={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},h);const y=h.accessibility,b=h.override,v=h.readonly;!(e&4)&&(y||v||b)&&this.raise(H.UnexpectedParameterModifier,a);const I=this.parseMaybeDefault();this.parseAssignableListItemTypes(I,e);const C=this.parseMaybeDefault(I.loc.start,I);if(y||v||b){const q=this.startNodeAt(a);return i.length&&(q.decorators=i),y&&(q.accessibility=y),v&&(q.readonly=v),b&&(q.override=b),C.type!=="Identifier"&&C.type!=="AssignmentPattern"&&this.raise(H.UnsupportedParameterPropertyKind,q),q.parameter=C,this.finishNode(q,"TSParameterProperty")}return i.length&&(I.decorators=i),C}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(const i of e.params)i.type!=="Identifier"&&i.optional&&!this.state.isAmbientContext&&this.raise(H.PatternIsOptional,i)}setArrowFunctionParameters(e,i,a){super.setArrowFunctionParameters(e,i,a),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,i,a=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const h=i==="FunctionDeclaration"?"TSDeclareFunction":i==="ClassMethod"||i==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return h&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,h):h==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(H.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,h,a):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,i,a))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(i=>{(i==null?void 0:i.type)==="TSTypeCastExpression"&&this.raise(H.UnexpectedTypeAnnotation,i.typeAnnotation)})}toReferencedList(e,i){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,i,a,h){const y=super.parseArrayLike(e,i,a,h);return y.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(y.elements),y}parseSubscript(e,i,a,h){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const b=this.startNodeAt(i);return b.expression=e,this.finishNode(b,"TSNonNullExpression")}let y=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(a)return h.stop=!0,e;h.optionalChainMember=y=!0,this.next()}if(this.match(47)||this.match(51)){let b;const v=this.tsTryParseAndCatch(()=>{if(!a&&this.atPossibleAsyncArrow(e)){const $=this.tsTryParseGenericAsyncArrowFunction(i);if($)return $}const I=this.tsParseTypeArgumentsInExpression();if(!I)return;if(y&&!this.match(10)){b=this.state.curPosition();return}if(ds(this.state.type)){const $=super.parseTaggedTemplateExpression(e,i,h);return $.typeParameters=I,$}if(!a&&this.eat(10)){const $=this.startNodeAt(i);return $.callee=e,$.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts($.arguments),$.typeParameters=I,h.optionalChainMember&&($.optional=y),this.finishCallExpression($,h.optionalChainMember)}const C=this.state.type;if(C===48||C===52||C!==10&&pt(C)&&!this.hasPrecedingLineBreak())return;const q=this.startNodeAt(i);return q.expression=e,q.typeParameters=I,this.finishNode(q,"TSInstantiationExpression")});if(b&&this.unexpected(b,10),v)return v.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(H.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),v}return super.parseSubscript(e,i,a,h)}parseNewCallee(e){var i;super.parseNewCallee(e);const{callee:a}=e;a.type==="TSInstantiationExpression"&&!((i=a.extra)!=null&&i.parenthesized)&&(e.typeParameters=a.typeParameters,e.callee=a.expression)}parseExprOp(e,i,a){let h;if(fs(58)>a&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(h=this.isContextual(120)))){const y=this.startNodeAt(i);return y.expression=e,y.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(h&&this.raise(d.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(y,h?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(y,i,a)}return super.parseExprOp(e,i,a)}checkReservedWord(e,i,a,h){this.state.isAmbientContext||super.checkReservedWord(e,i,a,h)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(H.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){const i=this.lookaheadCharCode();return e?i===123||i===42:i!==61}return!e&&this.isContextual(87)}applyImportPhase(e,i,a,h){super.applyImportPhase(e,i,a,h),i?e.exportKind=a==="type"?"type":"value":e.importKind=a==="type"||a==="typeof"?a:"value"}parseImport(e){if(this.match(133))return e.importKind="value",super.parseImport(e);let i;if(se(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){const a=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,a);i=super.parseImportSpecifiersAndAfter(e,a)}else i=super.parseImport(e);return i.importKind==="type"&&i.specifiers.length>1&&i.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(H.TypeImportCannotSpecifyDefaultAndNamed,i),i}parseExport(e,i){if(this.match(83)){this.next();const a=e;let h=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?h=this.parseMaybeImportPhase(a,!1):a.importKind="value",this.tsParseImportEqualsDeclaration(a,h,!0)}else if(this.eat(29)){const a=e;return a.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(a,"TSExportAssignment")}else if(this.eatContextual(93)){const a=e;return this.expectContextual(128),a.id=this.parseIdentifier(),this.semicolon(),this.finishNode(a,"TSNamespaceExportDeclaration")}else return super.parseExport(e,i)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,i,a=!1){const{isAmbientContext:h}=this.state,y=super.parseVarStatement(e,i,a||h);if(!h)return y;for(const{id:b,init:v}of y.declarations)v&&(i!=="const"||b.typeAnnotation?this.raise(H.InitializerNotAllowedInAmbientContext,v):bc(v,this.hasPlugin("estree"))||this.raise(H.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,v));return y}parseStatementContent(e,i){if(this.match(75)&&this.isLookaheadContextual("enum")){const a=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(a,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const a=this.tsParseInterfaceDeclaration(this.startNode());if(a)return a}return super.parseStatementContent(e,i)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,i){return i.some(a=>kn(a)?e.accessibility===a:!!e[a])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,i,a){const h=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:h,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:H.InvalidModifierOnTypeParameterPositions},i);const y=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(i,h)&&this.raise(H.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,i)):this.parseClassMemberWithIsStatic(e,i,a,!!i.static)};i.declare?this.tsInAmbientContext(y):y()}parseClassMemberWithIsStatic(e,i,a,h){const y=this.tsTryParseIndexSignature(i);if(y){e.body.push(y),i.abstract&&this.raise(H.IndexSignatureHasAbstract,i),i.accessibility&&this.raise(H.IndexSignatureHasAccessibility,i,{modifier:i.accessibility}),i.declare&&this.raise(H.IndexSignatureHasDeclare,i),i.override&&this.raise(H.IndexSignatureHasOverride,i);return}!this.state.inAbstractClass&&i.abstract&&this.raise(H.NonAbstractClassHasAbstractMethod,i),i.override&&(a.hadSuperClass||this.raise(H.OverrideNotInSubClass,i)),super.parseClassMemberWithIsStatic(e,i,a,h)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(H.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(H.ClassMethodHasDeclare,e)}parseExpressionStatement(e,i,a){return(i.type==="Identifier"?this.tsParseExpressionStatement(e,i,a):void 0)||super.parseExpressionStatement(e,i,a)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,i,a){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,i,a);const h=this.tryParse(()=>super.parseConditional(e,i));return h.node?(h.error&&(this.state=h.failState),h.node):(h.error&&super.setOptionalParametersError(a,h.error),e)}parseParenItem(e,i){const a=super.parseParenItem(e,i);if(this.eat(17)&&(a.optional=!0,this.resetEndLocation(e)),this.match(14)){const h=this.startNodeAt(i);return h.expression=e,h.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(h,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));const i=this.state.startLoc,a=this.eatContextual(125);if(a&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(H.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const y=se(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return y?((y.type==="TSInterfaceDeclaration"||y.type==="TSTypeAliasDeclaration"||a)&&(e.exportKind="type"),a&&(this.resetStartLocation(y,i),y.declare=!0),y):null}parseClassId(e,i,a,h){if((!i||a)&&this.isContextual(113))return;super.parseClassId(e,i,a,e.declare?1024:8331);const y=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);y&&(e.typeParameters=y)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));const i=this.tsTryParseTypeAnnotation();i&&(e.typeAnnotation=i)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(H.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){const{key:i}=e;this.raise(H.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:i.type==="Identifier"&&!e.computed?i.name:`[${this.input.slice(i.start,i.end)}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(H.PrivateElementHasAbstract,e),e.accessibility&&this.raise(H.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(H.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,i,a,h,y,b){const v=this.tsTryParseTypeParameters(this.tsParseConstModifier);v&&y&&this.raise(H.ConstructorHasTypeParameters,v);const{declare:I=!1,kind:C}=i;I&&(C==="get"||C==="set")&&this.raise(H.DeclareAccessor,i,{kind:C}),v&&(i.typeParameters=v),super.pushClassMethod(e,i,a,h,y,b)}pushClassPrivateMethod(e,i,a,h){const y=this.tsTryParseTypeParameters(this.tsParseConstModifier);y&&(i.typeParameters=y),super.pushClassPrivateMethod(e,i,a,h)}declareClassPrivateMethodInScope(e,i){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&!hasOwnProperty.call(e.value,"body")||super.declareClassPrivateMethodInScope(e,i))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,i,a,h,y,b,v){const I=this.tsTryParseTypeParameters(this.tsParseConstModifier);return I&&(e.typeParameters=I),super.parseObjPropValue(e,i,a,h,y,b,v)}parseFunctionParams(e,i){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(e.typeParameters=a),super.parseFunctionParams(e,i)}parseVarId(e,i){super.parseVarId(e,i),e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);const a=this.tsTryParseTypeAnnotation();a&&(e.id.typeAnnotation=a,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,i){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,i)}parseMaybeAssign(e,i){var a,h,y,b,v;let I,C,q;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(I=this.state.clone(),C=this.tryParse(()=>super.parseMaybeAssign(e,i),I),!C.error)return C.node;const{context:W}=this.state,ie=W[W.length-1];(ie===M.j_oTag||ie===M.j_expr)&&W.pop()}if(!((a=C)!=null&&a.error)&&!this.match(47))return super.parseMaybeAssign(e,i);(!I||I===this.state)&&(I=this.state.clone());let $;const V=this.tryParse(W=>{var ie,Ee;$=this.tsParseTypeParameters(this.tsParseConstModifier);const re=super.parseMaybeAssign(e,i);return(re.type!=="ArrowFunctionExpression"||(ie=re.extra)!=null&&ie.parenthesized)&&W(),((Ee=$)==null?void 0:Ee.params.length)!==0&&this.resetStartLocationFromNode(re,$),re.typeParameters=$,re},I);if(!V.error&&!V.aborted)return $&&this.reportReservedArrowTypeParam($),V.node;if(!C&&(Nn(!this.hasPlugin("jsx")),q=this.tryParse(()=>super.parseMaybeAssign(e,i),I),!q.error))return q.node;if((h=C)!=null&&h.node)return this.state=C.failState,C.node;if(V.node)return this.state=V.failState,$&&this.reportReservedArrowTypeParam($),V.node;if((y=q)!=null&&y.node)return this.state=q.failState,q.node;throw((b=C)==null?void 0:b.error)||V.error||((v=q)==null?void 0:v.error)}reportReservedArrowTypeParam(e){var i;e.params.length===1&&!e.params[0].constraint&&!((i=e.extra)!=null&&i.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(H.ReservedArrowTypeParam,e)}parseMaybeUnary(e,i){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,i)}parseArrow(e){if(this.match(14)){const i=this.tryParse(a=>{const h=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&a(),h});if(i.aborted)return;i.thrown||(i.error&&(this.state=i.failState),e.returnType=i.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e,i){if(!(i&2))return e;this.eat(17)&&(e.optional=!0);const a=this.tsTryParseTypeAnnotation();return a&&(e.typeAnnotation=a),this.resetEndLocation(e),e}isAssignable(e,i){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,i);case"TSParameterProperty":return!0;default:return super.isAssignable(e,i)}}toAssignable(e,i=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,i);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":i?this.expressionScope.recordArrowParameterBindingError(H.UnexpectedTypeCastInParameter,e):this.raise(H.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,i);break;case"AssignmentExpression":!i&&e.left.type==="TSTypeCastExpression"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,i)}}toAssignableParenthesizedExpression(e,i){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,i);break;default:super.toAssignable(e,i)}}checkToRestConversion(e,i){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,i)}}isValidLVal(e,i,a){switch(e){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(a!==64||!i)&&["expression",!0];default:return super.isValidLVal(e,i,a)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const i=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const a=super.parseMaybeDecoratorArguments(e);return a.typeParameters=i,a}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,i){const a=super.parseMaybeDefault(e,i);return a.type==="AssignmentPattern"&&a.typeAnnotation&&a.right.start<a.typeAnnotation.start&&this.raise(H.TypeAnnotationAfterAssign,a.typeAnnotation),a}getTokenFromCode(e){if(this.state.inType){if(e===62){this.finishOp(48,1);return}if(e===60){this.finishOp(47,1);return}}super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;e===47?(this.state.pos-=1,this.readToken_lt()):e===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e,i,a){for(let h=0;h<e.length;h++){const y=e[h];(y==null?void 0:y.type)==="TSTypeCastExpression"&&(e[h]=this.typeCastToParameter(y))}super.toAssignableList(e,i,a)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every(i=>this.isAssignable(i,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){const i=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());i&&(e.typeParameters=i)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const i=super.getGetterSetterExpectedParamCount(e),h=this.getObjectOrClassMethodParams(e)[0];return h&&this.isThisParam(h)?i+1:i}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i,this.resetEndLocation(e)),e}tsInAmbientContext(e){const{isAmbientContext:i,strict:a}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=i,this.state.strict=a}}parseClass(e,i,a){const h=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,i,a)}finally{this.state.inAbstractClass=h}}tsParseAbstractDeclaration(e,i){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(i,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(H.NonClassMethodPropertyHasAbstractModifer,e),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,i,a,h,y,b,v){const I=super.parseMethod(e,i,a,h,y,b,v);if(I.abstract&&(this.hasPlugin("estree")?!!I.value.body:!!I.body)){const{key:q}=I;this.raise(H.AbstractMethodHasImplementation,I,{methodName:q.type==="Identifier"&&!I.computed?q.name:`[${this.input.slice(q.start,q.end)}]`})}return I}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,i,a,h){return!i&&h?(this.parseTypeOnlyImportExportSpecifier(e,!1,a),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,i,a,h))}parseImportSpecifier(e,i,a,h,y){return!i&&h?(this.parseTypeOnlyImportExportSpecifier(e,!0,a),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,i,a,h,a?4098:4096))}parseTypeOnlyImportExportSpecifier(e,i,a){const h=i?"imported":"local",y=i?"local":"exported";let b=e[h],v,I=!1,C=!0;const q=b.loc.start;if(this.isContextual(93)){const V=this.parseIdentifier();if(this.isContextual(93)){const W=this.parseIdentifier();Oe(this.state.type)?(I=!0,b=V,v=i?this.parseIdentifier():this.parseModuleExportName(),C=!1):(v=W,C=!1)}else Oe(this.state.type)?(C=!1,v=i?this.parseIdentifier():this.parseModuleExportName()):(I=!0,b=V)}else Oe(this.state.type)&&(I=!0,i?(b=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(b.name,b.loc.start,!0,!0)):b=this.parseModuleExportName());I&&a&&this.raise(i?H.TypeModifierIsUsedInTypeImports:H.TypeModifierIsUsedInTypeExports,q),e[h]=b,e[y]=v;const $=i?"importKind":"exportKind";e[$]=I?"type":"value",C&&this.eatContextual(93)&&(e[y]=i?this.parseIdentifier():this.parseModuleExportName()),e[y]||(e[y]=Je(e[h])),i&&this.checkIdentifier(e[y],I?4098:4096)}};function Sc(m){if(m.type!=="MemberExpression")return!1;const{computed:r,property:e}=m;return r&&e.type!=="StringLiteral"&&(e.type!=="TemplateLiteral"||e.expressions.length>0)?!1:Ln(m.object)}function bc(m,r){var e;const{type:i}=m;if((e=m.extra)!=null&&e.parenthesized)return!1;if(r){if(i==="Literal"){const{value:a}=m;if(typeof a=="string"||typeof a=="boolean")return!0}}else if(i==="StringLiteral"||i==="BooleanLiteral")return!0;return!!(On(m,r)||Ac(m,r)||i==="TemplateLiteral"&&m.expressions.length===0||Sc(m))}function On(m,r){return r?m.type==="Literal"&&(typeof m.value=="number"||"bigint"in m):m.type==="NumericLiteral"||m.type==="BigIntLiteral"}function Ac(m,r){if(m.type==="UnaryExpression"){const{operator:e,argument:i}=m;if(e==="-"&&On(i,r))return!0}return!1}function Ln(m){return m.type==="Identifier"?!0:m.type!=="MemberExpression"||m.computed?!1:Ln(m.object)}const Mn=A`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var Tc=m=>class extends m{parsePlaceholder(e){if(this.match(144)){const i=this.startNode();return this.next(),this.assertNoSpace(),i.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(i,e)}}finishPlaceholder(e,i){let a=e;return(!a.expectedNode||!a.type)&&(a=this.finishNode(a,"Placeholder")),a.expectedNode=i,a}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,i,a,h){e!==void 0&&super.checkReservedWord(e,i,a,h)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,i,a){return e==="Placeholder"||super.isValidLVal(e,i,a)}toAssignable(e,i){e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?e.expectedNode="Pattern":super.toAssignable(e,i)}chStartsBindingIdentifier(e,i){return!!(super.chStartsBindingIdentifier(e,i)||this.lookahead().type===144)}verifyBreakContinue(e,i){e.label&&e.label.type==="Placeholder"||super.verifyBreakContinue(e,i)}parseExpressionStatement(e,i){var a;if(i.type!=="Placeholder"||(a=i.extra)!=null&&a.parenthesized)return super.parseExpressionStatement(e,i);if(this.match(14)){const y=e;return y.label=this.finishPlaceholder(i,"Identifier"),this.next(),y.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(y,"LabeledStatement")}this.semicolon();const h=e;return h.name=i.name,this.finishPlaceholder(h,"Statement")}parseBlock(e,i,a){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,i,a)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,i,a){const h=i?"ClassDeclaration":"ClassExpression";this.next();const y=this.state.strict,b=this.parsePlaceholder("Identifier");if(b)if(this.match(81)||this.match(144)||this.match(5))e.id=b;else{if(a||!i)return e.id=null,e.body=this.finishPlaceholder(b,"ClassBody"),this.finishNode(e,h);throw this.raise(Mn.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(e,i,a);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,y),this.finishNode(e,h)}parseExport(e,i){const a=this.parsePlaceholder("Identifier");if(!a)return super.parseExport(e,i);const h=e;if(!this.isContextual(98)&&!this.match(12))return h.specifiers=[],h.source=null,h.declaration=this.finishPlaceholder(a,"Declaration"),this.finishNode(h,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const y=this.startNode();return y.exported=a,h.specifiers=[this.finishNode(y,"ExportDefaultSpecifier")],super.parseExport(h,i)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(tt(144),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,i){var a;return(a=e.specifiers)!=null&&a.length?!0:super.maybeParseExportDefaultSpecifier(e,i)}checkExport(e){const{specifiers:i}=e;i!=null&&i.length&&(e.specifiers=i.filter(a=>a.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=i}parseImport(e){const i=this.parsePlaceholder("Identifier");if(!i)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(i,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const a=this.startNodeAtNode(i);return a.local=i,e.specifiers.push(this.finishNode(a,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Mn.UnexpectedSpace,this.state.lastTokEndLoc)}},Ec=m=>class extends m{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,i=this.startNode();if(this.next(),se(this.state.type)){const a=this.parseIdentifierName(),h=this.createIdentifier(i,a);if(h.type="V8IntrinsicIdentifier",this.match(10))return h}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};const _n=["minimal","fsharp","hack","smart"],Rn=["^^","@@","^","%","#"];function vc(m){if(m.has("decorators")){if(m.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const e=m.get("decorators").decoratorsBeforeExport;if(e!=null&&typeof e!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const i=m.get("decorators").allowCallParenthesized;if(i!=null&&typeof i!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(m.has("flow")&&m.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(m.has("placeholders")&&m.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(m.has("pipelineOperator")){var r;const e=m.get("pipelineOperator").proposal;if(!_n.includes(e)){const a=_n.map(h=>`"${h}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${a}.`)}const i=((r=m.get("recordAndTuple"))==null?void 0:r.syntaxType)==="hash";if(e==="hack"){if(m.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(m.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const a=m.get("pipelineOperator").topicToken;if(!Rn.includes(a)){const h=Rn.map(y=>`"${y}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${h}.`)}if(a==="#"&&i)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",m.get("recordAndTuple")])}\`.`)}else if(e==="smart"&&i)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",m.get("recordAndTuple")])}\`.`)}if(m.has("moduleAttributes")){if(m.has("importAttributes")||m.has("importAssertions"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(m.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(m.has("importAttributes")&&m.has("importAssertions"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(m.has("recordAndTuple")){const e=m.get("recordAndTuple").syntaxType;if(e!=null){const i=["hash","bar"];if(!i.includes(e))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+i.map(a=>`'${a}'`).join(", "))}}if(m.has("asyncDoExpressions")&&!m.has("doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}if(m.has("optionalChainingAssign")&&m.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}const Dn={estree:U,jsx:fc,flow:uc,typescript:wc,v8intrinsic:Ec,placeholders:Tc},Cc=Object.keys(Dn),mr={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function Ic(m){if(m==null)return Object.assign({},mr);if(m.annexB!=null&&m.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");const r={};for(const i of Object.keys(mr)){var e;r[i]=(e=m[i])!=null?e:mr[i]}return r}class Nc extends yc{checkProto(r,e,i,a){if(r.type==="SpreadElement"||this.isObjectMethod(r)||r.computed||r.shorthand)return;const h=r.key;if((h.type==="Identifier"?h.name:h.value)==="__proto__"){if(e){this.raise(d.RecordNoProto,h);return}i.used&&(a?a.doubleProtoLoc===null&&(a.doubleProtoLoc=h.loc.start):this.raise(d.DuplicateProto,h)),i.used=!0}}shouldExitDescending(r,e){return r.type==="ArrowFunctionExpression"&&r.start===e}getExpression(){this.enterInitialScopes(),this.nextToken();const r=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),r.comments=this.comments,r.errors=this.state.errors,this.options.tokens&&(r.tokens=this.tokens),r}parseExpression(r,e){return r?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(r){const e=this.state.startLoc,i=this.parseMaybeAssign(r);if(this.match(12)){const a=this.startNodeAt(e);for(a.expressions=[i];this.eat(12);)a.expressions.push(this.parseMaybeAssign(r));return this.toReferencedList(a.expressions),this.finishNode(a,"SequenceExpression")}return i}parseMaybeAssignDisallowIn(r,e){return this.disallowInAnd(()=>this.parseMaybeAssign(r,e))}parseMaybeAssignAllowIn(r,e){return this.allowInAnd(()=>this.parseMaybeAssign(r,e))}setOptionalParametersError(r,e){var i;r.optionalParametersLoc=(i=e==null?void 0:e.loc)!=null?i:this.state.startLoc}parseMaybeAssign(r,e){const i=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let b=this.parseYield();return e&&(b=e.call(this,b,i)),b}let a;r?a=!1:(r=new Ps,a=!0);const{type:h}=this.state;(h===10||se(h))&&(this.state.potentialArrowAt=this.state.start);let y=this.parseMaybeConditional(r);if(e&&(y=e.call(this,y,i)),ps(this.state.type)){const b=this.startNodeAt(i),v=this.state.value;if(b.operator=v,this.match(29)){this.toAssignable(y,!0),b.left=y;const I=i.index;r.doubleProtoLoc!=null&&r.doubleProtoLoc.index>=I&&(r.doubleProtoLoc=null),r.shorthandAssignLoc!=null&&r.shorthandAssignLoc.index>=I&&(r.shorthandAssignLoc=null),r.privateKeyLoc!=null&&r.privateKeyLoc.index>=I&&(this.checkDestructuringPrivate(r),r.privateKeyLoc=null)}else b.left=y;return this.next(),b.right=this.parseMaybeAssign(),this.checkLVal(y,this.finishNode(b,"AssignmentExpression")),b}else a&&this.checkExpressionErrors(r,!0);return y}parseMaybeConditional(r){const e=this.state.startLoc,i=this.state.potentialArrowAt,a=this.parseExprOps(r);return this.shouldExitDescending(a,i)?a:this.parseConditional(a,e,r)}parseConditional(r,e,i){if(this.eat(17)){const a=this.startNodeAt(e);return a.test=r,a.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),a.alternate=this.parseMaybeAssign(),this.finishNode(a,"ConditionalExpression")}return r}parseMaybeUnaryOrPrivate(r){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(r)}parseExprOps(r){const e=this.state.startLoc,i=this.state.potentialArrowAt,a=this.parseMaybeUnaryOrPrivate(r);return this.shouldExitDescending(a,i)?a:this.parseExprOp(a,e,-1)}parseExprOp(r,e,i){if(this.isPrivateName(r)){const h=this.getPrivateNameSV(r);(i>=fs(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(d.PrivateInExpectedIn,r,{identifierName:h}),this.classScope.usePrivateName(h,r.loc.start)}const a=this.state.type;if(Sh(a)&&(this.prodParam.hasIn||!this.match(58))){let h=fs(a);if(h>i){if(a===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return r;this.checkPipelineAtInfixOperator(r,e)}const y=this.startNodeAt(e);y.left=r,y.operator=this.state.value;const b=a===41||a===42,v=a===40;if(v&&(h=fs(42)),this.next(),a===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(d.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);y.right=this.parseExprOpRightExpr(a,h);const I=this.finishNode(y,b||v?"LogicalExpression":"BinaryExpression"),C=this.state.type;if(v&&(C===41||C===42)||b&&C===40)throw this.raise(d.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(I,e,i)}}return r}parseExprOpRightExpr(r,e){const i=this.state.startLoc;switch(r){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(d.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(r,e),i)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}default:return this.parseExprOpBaseRightExpr(r,e)}}parseExprOpBaseRightExpr(r,e){const i=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),i,vh(r)?e-1:e)}parseHackPipeBody(){var r;const{startLoc:e}=this.state,i=this.parseMaybeAssign();return g.has(i.type)&&!((r=i.extra)!=null&&r.parenthesized)&&this.raise(d.PipeUnparenthesizedBody,e,{type:i.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(d.PipeTopicUnused,e),i}checkExponentialAfterUnary(r){this.match(57)&&this.raise(d.UnexpectedTokenUnaryExponentiation,r.argument)}parseMaybeUnary(r,e){const i=this.state.startLoc,a=this.isContextual(96);if(a&&this.recordAwaitIfAllowed()){this.next();const v=this.parseAwait(i);return e||this.checkExponentialAfterUnary(v),v}const h=this.match(34),y=this.startNode();if(Ah(this.state.type)){y.operator=this.state.value,y.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const v=this.match(89);if(this.next(),y.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(r,!0),this.state.strict&&v){const I=y.argument;I.type==="Identifier"?this.raise(d.StrictDelete,y):this.hasPropertyAsPrivateName(I)&&this.raise(d.DeletePrivateField,y)}if(!h)return e||this.checkExponentialAfterUnary(y),this.finishNode(y,"UnaryExpression")}const b=this.parseUpdate(y,h,r);if(a){const{type:v}=this.state;if((this.hasPlugin("v8intrinsic")?pt(v):pt(v)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(d.AwaitNotInAsyncContext,i),this.parseAwait(i)}return b}parseUpdate(r,e,i){if(e){const y=r;return this.checkLVal(y.argument,this.finishNode(y,"UpdateExpression")),r}const a=this.state.startLoc;let h=this.parseExprSubscripts(i);if(this.checkExpressionErrors(i,!1))return h;for(;bh(this.state.type)&&!this.canInsertSemicolon();){const y=this.startNodeAt(a);y.operator=this.state.value,y.prefix=!1,y.argument=h,this.next(),this.checkLVal(h,h=this.finishNode(y,"UpdateExpression"))}return h}parseExprSubscripts(r){const e=this.state.startLoc,i=this.state.potentialArrowAt,a=this.parseExprAtom(r);return this.shouldExitDescending(a,i)?a:this.parseSubscripts(a,e)}parseSubscripts(r,e,i){const a={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(r),stop:!1};do r=this.parseSubscript(r,e,i,a),a.maybeAsyncArrow=!1;while(!a.stop);return r}parseSubscript(r,e,i,a){const{type:h}=this.state;if(!i&&h===15)return this.parseBind(r,e,i,a);if(ds(h))return this.parseTaggedTemplateExpression(r,e,a);let y=!1;if(h===18){if(i&&(this.raise(d.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return a.stop=!0,r;a.optionalChainMember=y=!0,this.next()}if(!i&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(r,e,a,y);{const b=this.eat(0);return b||y||this.eat(16)?this.parseMember(r,e,a,b,y):(a.stop=!0,r)}}parseMember(r,e,i,a,h){const y=this.startNodeAt(e);return y.object=r,y.computed=a,a?(y.property=this.parseExpression(),this.expect(3)):this.match(138)?(r.type==="Super"&&this.raise(d.SuperPrivateField,e),this.classScope.usePrivateName(this.state.value,this.state.startLoc),y.property=this.parsePrivateName()):y.property=this.parseIdentifier(!0),i.optionalChainMember?(y.optional=h,this.finishNode(y,"OptionalMemberExpression")):this.finishNode(y,"MemberExpression")}parseBind(r,e,i,a){const h=this.startNodeAt(e);return h.object=r,this.next(),h.callee=this.parseNoCallExpr(),a.stop=!0,this.parseSubscripts(this.finishNode(h,"BindExpression"),e,i)}parseCoverCallAndAsyncArrowHead(r,e,i,a){const h=this.state.maybeInArrowParameters;let y=null;this.state.maybeInArrowParameters=!0,this.next();const b=this.startNodeAt(e);b.callee=r;const{maybeAsyncArrow:v,optionalChainMember:I}=i;v&&(this.expressionScope.enter(ec()),y=new Ps),I&&(b.optional=a),a?b.arguments=this.parseCallExpressionArguments(11):b.arguments=this.parseCallExpressionArguments(11,r.type==="Import",r.type!=="Super",b,y);let C=this.finishCallExpression(b,I);return v&&this.shouldParseAsyncArrow()&&!a?(i.stop=!0,this.checkDestructuringPrivate(y),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),C=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),C)):(v&&(this.checkExpressionErrors(y,!0),this.expressionScope.exit()),this.toReferencedArguments(C)),this.state.maybeInArrowParameters=h,C}toReferencedArguments(r,e){this.toReferencedListDeep(r.arguments,e)}parseTaggedTemplateExpression(r,e,i){const a=this.startNodeAt(e);return a.tag=r,a.quasi=this.parseTemplate(!0),i.optionalChainMember&&this.raise(d.OptionalChainingNoTemplate,e),this.finishNode(a,"TaggedTemplateExpression")}atPossibleAsyncArrow(r){return r.type==="Identifier"&&r.name==="async"&&this.state.lastTokEndLoc.index===r.end&&!this.canInsertSemicolon()&&r.end-r.start===5&&r.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(r,e){if(r.callee.type==="Import")if(r.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),r.arguments.length===0||r.arguments.length>2)this.raise(d.ImportCallArity,r,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const i of r.arguments)i.type==="SpreadElement"&&this.raise(d.ImportCallSpreadArgument,i);return this.finishNode(r,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(r,e,i,a,h){const y=[];let b=!0;const v=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(r);){if(b)b=!1;else if(this.expect(12),this.match(r)){e&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(d.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),a&&this.addTrailingCommaExtraToNode(a),this.next();break}y.push(this.parseExprListItem(!1,h,i))}return this.state.inFSharpPipelineDirectBody=v,y}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(r,e){var i;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(r,e.arguments,!0,(i=e.extra)==null?void 0:i.trailingCommaLoc),e.innerComments&&$t(r,e.innerComments),e.callee.trailingComments&&$t(r,e.callee.trailingComments),r}parseNoCallExpr(){const r=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),r,!0)}parseExprAtom(r){let e,i=null;const{type:a}=this.state;switch(a){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(e):this.match(10)?this.options.createImportExpressions?this.parseImportCall(e):this.finishNode(e,"Import"):(this.raise(d.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133: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:{const h=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(h)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,r);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,r);case 68:return this.parseFunctionOrFunctionSent();case 26:i=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(i,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;const h=e.callee=this.parseNoCallExpr();if(h.type==="MemberExpression")return this.finishNode(e,"BindExpression");throw this.raise(d.UnsupportedBind,h)}case 138:return this.raise(d.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:{const h=this.getPluginOption("pipelineOperator","proposal");if(h)return this.parseTopicReference(h);this.unexpected();break}case 47:{const h=this.input.codePointAt(this.nextTokenStart());Ke(h)||h===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(se(a)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const h=this.state.potentialArrowAt===this.state.start,y=this.state.containsEsc,b=this.parseIdentifier();if(!y&&b.name==="async"&&!this.canInsertSemicolon()){const{type:v}=this.state;if(v===68)return this.resetPreviousNodeTrailingComments(b),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(b));if(se(v))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(b)):b;if(v===90)return this.resetPreviousNodeTrailingComments(b),this.parseDo(this.startNodeAtNode(b),!0)}return h&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(b),[b],!1)):b}else this.unexpected()}}parseTopicReferenceThenEqualsSign(r,e){const i=this.getPluginOption("pipelineOperator","proposal");if(i)return this.state.type=r,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=o(this.state.endLoc,-1),this.parseTopicReference(i);this.unexpected()}parseTopicReference(r){const e=this.startNode(),i=this.state.startLoc,a=this.state.type;return this.next(),this.finishTopicReference(e,i,r,a)}finishTopicReference(r,e,i,a){if(this.testTopicReferenceConfiguration(i,e,a)){const h=i==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(i==="smart"?d.PrimaryTopicNotAllowed:d.PipeTopicUnbound,e),this.registerTopicReference(),this.finishNode(r,h)}else throw this.raise(d.PipeTopicUnconfiguredToken,e,{token:tt(a)})}testTopicReferenceConfiguration(r,e,i){switch(r){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:tt(i)}]);case"smart":return i===27;default:throw this.raise(d.PipeTopicRequiresHackPipes,e)}}parseAsyncArrowUnaryFunction(r){this.prodParam.enter(xs(!0,this.prodParam.hasYield));const e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(d.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(r,e,!0)}parseDo(r,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),r.async=e,this.next();const i=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),r.body=this.parseBlock(),this.prodParam.exit()):r.body=this.parseBlock(),this.state.labels=i,this.finishNode(r,"DoExpression")}parseSuper(){const r=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(d.SuperNotAllowed,r):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(d.UnexpectedSuper,r),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(d.UnsupportedSuper,r),this.finishNode(r,"Super")}parsePrivateName(){const r=this.startNode(),e=this.startNodeAt(o(this.state.startLoc,1)),i=this.state.value;return this.next(),r.id=this.createIdentifier(e,i),this.finishNode(r,"PrivateName")}parseFunctionOrFunctionSent(){const r=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const e=this.createIdentifier(this.startNodeAtNode(r),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(r,e,"sent")}return this.parseFunction(r)}parseMetaProperty(r,e,i){r.meta=e;const a=this.state.containsEsc;return r.property=this.parseIdentifier(!0),(r.property.name!==i||a)&&this.raise(d.UnsupportedMetaProperty,r.property,{target:e.name,onlyValidPropertyName:i}),this.finishNode(r,"MetaProperty")}parseImportMetaProperty(r){const e=this.createIdentifier(this.startNodeAtNode(r),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(d.ImportMetaOutsideModule,e),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const i=this.isContextual(105);if(i||this.unexpected(),this.expectPlugin(i?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(d.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),r.phase=i?"source":"defer",this.parseImportCall(r)}return this.parseMetaProperty(r,e,"meta")}parseLiteralAtNode(r,e,i){return this.addExtra(i,"rawValue",r),this.addExtra(i,"raw",this.input.slice(i.start,this.state.end)),i.value=r,this.next(),this.finishNode(i,e)}parseLiteral(r,e){const i=this.startNode();return this.parseLiteralAtNode(r,e,i)}parseStringLiteral(r){return this.parseLiteral(r,"StringLiteral")}parseNumericLiteral(r){return this.parseLiteral(r,"NumericLiteral")}parseBigIntLiteral(r){return this.parseLiteral(r,"BigIntLiteral")}parseDecimalLiteral(r){return this.parseLiteral(r,"DecimalLiteral")}parseRegExpLiteral(r){const e=this.startNode();return this.addExtra(e,"raw",this.input.slice(e.start,this.state.end)),e.pattern=r.pattern,e.flags=r.flags,this.next(),this.finishNode(e,"RegExpLiteral")}parseBooleanLiteral(r){const e=this.startNode();return e.value=r,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){const r=this.startNode();return this.next(),this.finishNode(r,"NullLiteral")}parseParenAndDistinguishExpression(r){const e=this.state.startLoc;let i;this.next(),this.expressionScope.enter(Zh());const a=this.state.maybeInArrowParameters,h=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const y=this.state.startLoc,b=[],v=new Ps;let I=!0,C,q;for(;!this.match(11);){if(I)I=!1;else if(this.expect(12,v.optionalParametersLoc===null?null:v.optionalParametersLoc),this.match(11)){q=this.state.startLoc;break}if(this.match(21)){const W=this.state.startLoc;if(C=this.state.startLoc,b.push(this.parseParenItem(this.parseRestBinding(),W)),!this.checkCommaAfterRest(41))break}else b.push(this.parseMaybeAssignAllowIn(v,this.parseParenItem))}const $=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=a,this.state.inFSharpPipelineDirectBody=h;let V=this.startNodeAt(e);return r&&this.shouldParseArrow(b)&&(V=this.parseArrow(V))?(this.checkDestructuringPrivate(v),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(V,b,!1),V):(this.expressionScope.exit(),b.length||this.unexpected(this.state.lastTokStartLoc),q&&this.unexpected(q),C&&this.unexpected(C),this.checkExpressionErrors(v,!0),this.toReferencedListDeep(b,!0),b.length>1?(i=this.startNodeAt(y),i.expressions=b,this.finishNode(i,"SequenceExpression"),this.resetEndLocation(i,$)):i=b[0],this.wrapParenthesis(e,i))}wrapParenthesis(r,e){if(!this.options.createParenthesizedExpressions)return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",r.index),this.takeSurroundingComments(e,r.index,this.state.lastTokEndLoc.index),e;const i=this.startNodeAt(r);return i.expression=e,this.finishNode(i,"ParenthesizedExpression")}shouldParseArrow(r){return!this.canInsertSemicolon()}parseArrow(r){if(this.eat(19))return r}parseParenItem(r,e){return r}parseNewOrNewTarget(){const r=this.startNode();if(this.next(),this.match(16)){const e=this.createIdentifier(this.startNodeAtNode(r),"new");this.next();const i=this.parseMetaProperty(r,e,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(d.UnexpectedNewTarget,i),i}return this.parseNew(r)}parseNew(r){if(this.parseNewCallee(r),this.eat(10)){const e=this.parseExprList(11);this.toReferencedList(e),r.arguments=e}else r.arguments=[];return this.finishNode(r,"NewExpression")}parseNewCallee(r){const e=this.match(83),i=this.parseNoCallExpr();r.callee=i,e&&(i.type==="Import"||i.type==="ImportExpression")&&this.raise(d.ImportCallNotNewExpression,i)}parseTemplateElement(r){const{start:e,startLoc:i,end:a,value:h}=this.state,y=e+1,b=this.startNodeAt(o(i,1));h===null&&(r||this.raise(d.InvalidEscapeSequenceTemplate,o(this.state.firstInvalidTemplateEscapePos,1)));const v=this.match(24),I=v?-1:-2,C=a+I;b.value={raw:this.input.slice(y,C).replace(/\r\n?/g,`
|
||
`),cooked:h===null?null:h.slice(1,I)},b.tail=v,this.next();const q=this.finishNode(b,"TemplateElement");return this.resetEndLocation(q,o(this.state.lastTokEndLoc,I)),q}parseTemplate(r){const e=this.startNode();let i=this.parseTemplateElement(r);const a=[i],h=[];for(;!i.tail;)h.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),a.push(i=this.parseTemplateElement(r));return e.expressions=h,e.quasis=a,this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(r,e,i,a){i&&this.expectPlugin("recordAndTuple");const h=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const y=Object.create(null);let b=!0;const v=this.startNode();for(v.properties=[],this.next();!this.match(r);){if(b)b=!1;else if(this.expect(12),this.match(r)){this.addTrailingCommaExtraToNode(v);break}let C;e?C=this.parseBindingProperty():(C=this.parsePropertyDefinition(a),this.checkProto(C,i,y,a)),i&&!this.isObjectProperty(C)&&C.type!=="SpreadElement"&&this.raise(d.InvalidRecordProperty,C),C.shorthand&&this.addExtra(C,"shorthand",!0),v.properties.push(C)}this.next(),this.state.inFSharpPipelineDirectBody=h;let I="ObjectExpression";return e?I="ObjectPattern":i&&(I="RecordExpression"),this.finishNode(v,I)}addTrailingCommaExtraToNode(r){this.addExtra(r,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(r,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(r){return!r.computed&&r.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(r){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(d.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());const i=this.startNode();let a=!1,h=!1,y;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(i.decorators=e,e=[]),i.method=!1,r&&(y=this.state.startLoc);let b=this.eat(55);this.parsePropertyNamePrefixOperator(i);const v=this.state.containsEsc;if(this.parsePropertyName(i,r),!b&&!v&&this.maybeAsyncOrAccessorProp(i)){const{key:I}=i,C=I.name;C==="async"&&!this.hasPrecedingLineBreak()&&(a=!0,this.resetPreviousNodeTrailingComments(I),b=this.eat(55),this.parsePropertyName(i)),(C==="get"||C==="set")&&(h=!0,this.resetPreviousNodeTrailingComments(I),i.kind=C,this.match(55)&&(b=!0,this.raise(d.AccessorIsGenerator,this.state.curPosition(),{kind:C}),this.next()),this.parsePropertyName(i))}return this.parseObjPropValue(i,y,b,a,!1,h,r)}getGetterSetterExpectedParamCount(r){return r.kind==="get"?0:1}getObjectOrClassMethodParams(r){return r.params}checkGetterSetterParams(r){var e;const i=this.getGetterSetterExpectedParamCount(r),a=this.getObjectOrClassMethodParams(r);a.length!==i&&this.raise(r.kind==="get"?d.BadGetterArity:d.BadSetterArity,r),r.kind==="set"&&((e=a[a.length-1])==null?void 0:e.type)==="RestElement"&&this.raise(d.BadSetterRestParameter,r)}parseObjectMethod(r,e,i,a,h){if(h){const y=this.parseMethod(r,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(y),y}if(i||e||this.match(10))return a&&this.unexpected(),r.kind="method",r.method=!0,this.parseMethod(r,e,i,!1,!1,"ObjectMethod")}parseObjectProperty(r,e,i,a){if(r.shorthand=!1,this.eat(14))return r.value=i?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(a),this.finishNode(r,"ObjectProperty");if(!r.computed&&r.key.type==="Identifier"){if(this.checkReservedWord(r.key.name,r.key.loc.start,!0,!1),i)r.value=this.parseMaybeDefault(e,Je(r.key));else if(this.match(29)){const h=this.state.startLoc;a!=null?a.shorthandAssignLoc===null&&(a.shorthandAssignLoc=h):this.raise(d.InvalidCoverInitializedName,h),r.value=this.parseMaybeDefault(e,Je(r.key))}else r.value=Je(r.key);return r.shorthand=!0,this.finishNode(r,"ObjectProperty")}}parseObjPropValue(r,e,i,a,h,y,b){const v=this.parseObjectMethod(r,i,a,h,y)||this.parseObjectProperty(r,e,h,b);return v||this.unexpected(),v}parsePropertyName(r,e){if(this.eat(0))r.computed=!0,r.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:i,value:a}=this.state;let h;if(Oe(i))h=this.parseIdentifier(!0);else switch(i){case 134:h=this.parseNumericLiteral(a);break;case 133:h=this.parseStringLiteral(a);break;case 135:h=this.parseBigIntLiteral(a);break;case 136:h=this.parseDecimalLiteral(a);break;case 138:{const y=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=y):this.raise(d.UnexpectedPrivateField,y),h=this.parsePrivateName();break}default:this.unexpected()}r.key=h,i!==138&&(r.computed=!1)}}initFunction(r,e){r.id=null,r.generator=!1,r.async=e}parseMethod(r,e,i,a,h,y,b=!1){this.initFunction(r,i),r.generator=e,this.scope.enter(18|(b?64:0)|(h?32:0)),this.prodParam.enter(xs(i,r.generator)),this.parseFunctionParams(r,a);const v=this.parseFunctionBodyAndFinish(r,y,!0);return this.prodParam.exit(),this.scope.exit(),v}parseArrayLike(r,e,i,a){i&&this.expectPlugin("recordAndTuple");const h=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const y=this.startNode();return this.next(),y.elements=this.parseExprList(r,!i,a,y),this.state.inFSharpPipelineDirectBody=h,this.finishNode(y,i?"TupleExpression":"ArrayExpression")}parseArrowExpression(r,e,i,a){this.scope.enter(6);let h=xs(i,!1);!this.match(5)&&this.prodParam.hasIn&&(h|=8),this.prodParam.enter(h),this.initFunction(r,i);const y=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(r,e,a)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(r,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=y,this.finishNode(r,"ArrowFunctionExpression")}setArrowFunctionParameters(r,e,i){this.toAssignableList(e,i,!1),r.params=e}parseFunctionBodyAndFinish(r,e,i=!1){return this.parseFunctionBody(r,!1,i),this.finishNode(r,e)}parseFunctionBody(r,e,i=!1){const a=e&&!this.match(5);if(this.expressionScope.enter(vn()),a)r.body=this.parseMaybeAssign(),this.checkParams(r,!1,e,!1);else{const h=this.state.strict,y=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),r.body=this.parseBlock(!0,!1,b=>{const v=!this.isSimpleParamList(r.params);b&&v&&this.raise(d.IllegalLanguageModeDirective,(r.kind==="method"||r.kind==="constructor")&&r.key?r.key.loc.end:r);const I=!h&&this.state.strict;this.checkParams(r,!this.state.strict&&!e&&!i&&!v,e,I),this.state.strict&&r.id&&this.checkIdentifier(r.id,65,I)}),this.prodParam.exit(),this.state.labels=y}this.expressionScope.exit()}isSimpleParameter(r){return r.type==="Identifier"}isSimpleParamList(r){for(let e=0,i=r.length;e<i;e++)if(!this.isSimpleParameter(r[e]))return!1;return!0}checkParams(r,e,i,a=!0){const h=!e&&new Set,y={type:"FormalParameters"};for(const b of r.params)this.checkLVal(b,y,5,h,a)}parseExprList(r,e,i,a){const h=[];let y=!0;for(;!this.eat(r);){if(y)y=!1;else if(this.expect(12),this.match(r)){a&&this.addTrailingCommaExtraToNode(a),this.next();break}h.push(this.parseExprListItem(e,i))}return h}parseExprListItem(r,e,i){let a;if(this.match(12))r||this.raise(d.UnexpectedToken,this.state.curPosition(),{unexpected:","}),a=null;else if(this.match(21)){const h=this.state.startLoc;a=this.parseParenItem(this.parseSpread(e),h)}else if(this.match(17)){this.expectPlugin("partialApplication"),i||this.raise(d.UnexpectedArgumentPlaceholder,this.state.startLoc);const h=this.startNode();this.next(),a=this.finishNode(h,"ArgumentPlaceholder")}else a=this.parseMaybeAssignAllowIn(e,this.parseParenItem);return a}parseIdentifier(r){const e=this.startNode(),i=this.parseIdentifierName(r);return this.createIdentifier(e,i)}createIdentifier(r,e){return r.name=e,r.loc.identifierName=e,this.finishNode(r,"Identifier")}parseIdentifierName(r){let e;const{startLoc:i,type:a}=this.state;Oe(a)?e=this.state.value:this.unexpected();const h=rr(a);return r?h&&this.replaceToken(132):this.checkReservedWord(e,i,h,!1),this.next(),e}checkReservedWord(r,e,i,a){if(r.length>10||!Dh(r))return;if(i&&Mh(r)){this.raise(d.UnexpectedKeyword,e,{keyword:r});return}if((this.state.strict?a?xn:yn:mn)(r,this.inModule)){this.raise(d.UnexpectedReservedWord,e,{reservedWord:r});return}else if(r==="yield"){if(this.prodParam.hasYield){this.raise(d.YieldBindingIdentifier,e);return}}else if(r==="await"){if(this.prodParam.hasAwait){this.raise(d.AwaitBindingIdentifier,e);return}if(this.scope.inStaticBlock){this.raise(d.AwaitBindingIdentifierInStaticBlock,e);return}this.expressionScope.recordAsyncArrowParametersError(e)}else if(r==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(d.ArgumentsInClass,e);return}}recordAwaitIfAllowed(){const r=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;return r&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),r}parseAwait(r){const e=this.startNodeAt(r);return this.expressionScope.recordParameterInitializerError(d.AwaitExpressionFormalParameter,e),this.eat(55)&&this.raise(d.ObsoleteAwaitStar,e),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:r}=this.state;return r===53||r===10||r===0||ds(r)||r===102&&!this.state.containsEsc||r===137||r===56||this.hasPlugin("v8intrinsic")&&r===54}parseYield(){const r=this.startNode();this.expressionScope.recordParameterInitializerError(d.YieldInParameter,r),this.next();let e=!1,i=null;if(!this.hasPrecedingLineBreak())switch(e=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!e)break;default:i=this.parseMaybeAssign()}return r.delegate=e,r.argument=i,this.finishNode(r,"YieldExpression")}parseImportCall(r){return this.next(),r.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(r.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(r.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(r,"ImportExpression")}checkPipelineAtInfixOperator(r,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&r.type==="SequenceExpression"&&this.raise(d.PipelineHeadSequenceExpression,e)}parseSmartPipelineBodyInStyle(r,e){if(this.isSimpleReference(r)){const i=this.startNodeAt(e);return i.callee=r,this.finishNode(i,"PipelineBareFunction")}else{const i=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),i.expression=r,this.finishNode(i,"PipelineTopicExpression")}}isSimpleReference(r){switch(r.type){case"MemberExpression":return!r.computed&&this.isSimpleReference(r.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(r){if(this.match(19))throw this.raise(d.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(d.PipelineTopicUnused,r)}withTopicBindingContext(r){const e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return r()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(r){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return r()}finally{this.state.topicContext=e}}else return r()}withSoloAwaitPermittingContext(r){const e=this.state.soloAwait;this.state.soloAwait=!0;try{return r()}finally{this.state.soloAwait=e}}allowInAnd(r){const e=this.prodParam.currentFlags();if(8&~e){this.prodParam.enter(e|8);try{return r()}finally{this.prodParam.exit()}}return r()}disallowInAnd(r){const e=this.prodParam.currentFlags();if(8&e){this.prodParam.enter(e&-9);try{return r()}finally{this.prodParam.exit()}}return r()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(r){const e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const a=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,r);return this.state.inFSharpPipelineDirectBody=i,a}parseModuleExpression(){this.expectPlugin("moduleBlocks");const r=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const e=this.startNodeAt(this.state.endLoc);this.next();const i=this.initializeScopes(!0);this.enterInitialScopes();try{r.body=this.parseProgram(e,8,"module")}finally{i()}return this.finishNode(r,"ModuleExpression")}parsePropertyNamePrefixOperator(r){}}const yr={kind:1},kc={kind:2},Oc=/[\uD800-\uDFFF]/u,gr=/in(?:stanceof)?/y;function Lc(m,r){for(let e=0;e<m.length;e++){const i=m[e],{type:a}=i;if(typeof a=="number"){{if(a===138){const{loc:h,start:y,value:b,end:v}=i,I=y+1,C=o(h.start,1);m.splice(e,1,new st({type:Ge(27),value:"#",start:y,end:I,startLoc:h.start,endLoc:C}),new st({type:Ge(132),value:b,start:I,end:v,startLoc:C,endLoc:h.end})),e++;continue}if(ds(a)){const{loc:h,start:y,value:b,end:v}=i,I=y+1,C=o(h.start,1);let q;r.charCodeAt(y)===96?q=new st({type:Ge(22),value:"`",start:y,end:I,startLoc:h.start,endLoc:C}):q=new st({type:Ge(8),value:"}",start:y,end:I,startLoc:h.start,endLoc:C});let $,V,W,ie;a===24?(V=v-1,W=o(h.end,-1),$=b===null?null:b.slice(1,-1),ie=new st({type:Ge(22),value:"`",start:V,end:v,startLoc:W,endLoc:h.end})):(V=v-2,W=o(h.end,-2),$=b===null?null:b.slice(1,-2),ie=new st({type:Ge(23),value:"${",start:V,end:v,startLoc:W,endLoc:h.end})),m.splice(e,1,q,new st({type:Ge(20),value:$,start:I,end:V,startLoc:C,endLoc:W}),ie),e+=2;continue}}i.type=Ge(a)}}return m}class Mc extends Nc{parseTopLevel(r,e){return r.program=this.parseProgram(e),r.comments=this.comments,this.options.tokens&&(r.tokens=Lc(this.tokens,this.input)),this.finishNode(r,"File")}parseProgram(r,e=139,i=this.options.sourceType){if(r.sourceType=i,r.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(r,!0,!0,e),this.inModule){if(!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[h,y]of Array.from(this.scope.undefinedExports))this.raise(d.ModuleExportUndefined,y,{localName:h});this.addExtra(r,"topLevelAwait",this.state.hasTopLevelAwait)}let a;return e===139?a=this.finishNode(r,"Program"):a=this.finishNodeAt(r,"Program",o(this.state.startLoc,-1)),a}stmtToDirective(r){const e=r;e.type="Directive",e.value=e.expression,delete e.expression;const i=e.value,a=i.value,h=this.input.slice(i.start,i.end),y=i.value=h.slice(1,-1);return this.addExtra(i,"raw",h),this.addExtra(i,"rawValue",y),this.addExtra(i,"expressionValue",a),i.type="DirectiveLiteral",e}parseInterpreterDirective(){if(!this.match(28))return null;const r=this.startNode();return r.value=this.state.value,this.next(),this.finishNode(r,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(r,e){if(Ke(r)){if(gr.lastIndex=e,gr.test(this.input)){const i=this.codePointAtPos(gr.lastIndex);if(!vt(i)&&i!==92)return!1}return!0}else return r===92}chStartsBindingPattern(r){return r===91||r===123}hasFollowingBindingAtom(){const r=this.nextTokenStart(),e=this.codePointAtPos(r);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,r)}hasInLineFollowingBindingIdentifierOrBrace(){const r=this.nextTokenInLineStart(),e=this.codePointAtPos(r);return e===123||this.chStartsBindingIdentifier(e,r)}startsUsingForOf(){const{type:r,containsEsc:e}=this.lookahead();if(r===102&&!e)return!1;if(se(r)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let r=this.nextTokenInLineStart();if(this.isUnparsedContextual(r,"using")){r=this.nextTokenInLineStartSince(r+5);const e=this.codePointAtPos(r);if(this.chStartsBindingIdentifier(e,r))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(r=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,r&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(r){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(r,e)}parseStatementContent(r,e){const i=this.state.type,a=this.startNode(),h=!!(r&2),y=!!(r&4),b=r&1;switch(i){case 60:return this.parseBreakContinueStatement(a,!0);case 63:return this.parseBreakContinueStatement(a,!1);case 64:return this.parseDebuggerStatement(a);case 90:return this.parseDoWhileStatement(a);case 91:return this.parseForStatement(a);case 68:if(this.lookaheadCharCode()===46)break;return y||this.raise(this.state.strict?d.StrictFunction:this.options.annexB?d.SloppyFunctionAnnexB:d.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(a,!1,!h&&y);case 80:return h||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,a),!0);case 69:return this.parseIfStatement(a);case 70:return this.parseReturnStatement(a);case 71:return this.parseSwitchStatement(a);case 72:return this.parseThrowStatement(a);case 73:return this.parseTryStatement(a);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?h||this.raise(d.UnexpectedLexicalDeclaration,a):this.raise(d.AwaitUsingNotInAsyncContext,a),this.next(),this.parseVarStatement(a,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(d.UnexpectedUsingDeclaration,this.state.startLoc):h||this.raise(d.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(a,"using");case 100:{if(this.state.containsEsc)break;const C=this.nextTokenStart(),q=this.codePointAtPos(C);if(q!==91&&(!h&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(q,C)&&q!==123))break}case 75:h||this.raise(d.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const C=this.state.value;return this.parseVarStatement(a,C)}case 92:return this.parseWhileStatement(a);case 76:return this.parseWithStatement(a);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(a);case 83:{const C=this.lookaheadCharCode();if(C===40||C===46)break}case 82:{!this.options.allowImportExportEverywhere&&!b&&this.raise(d.UnexpectedImportExport,this.state.startLoc),this.next();let C;return i===83?(C=this.parseImport(a),C.type==="ImportDeclaration"&&(!C.importKind||C.importKind==="value")&&(this.sawUnambiguousESM=!0)):(C=this.parseExport(a,e),(C.type==="ExportNamedDeclaration"&&(!C.exportKind||C.exportKind==="value")||C.type==="ExportAllDeclaration"&&(!C.exportKind||C.exportKind==="value")||C.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(C),C}default:if(this.isAsyncFunction())return h||this.raise(d.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(a,!0,!h&&y)}const v=this.state.value,I=this.parseExpression();return se(i)&&I.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(a,v,I,r):this.parseExpressionStatement(a,I,e)}assertModuleNodeAllowed(r){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(d.ImportOutsideModule,r)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(r,e,i){return r&&(e.decorators&&e.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(d.DecoratorsBeforeAfterExport,e.decorators[0]),e.decorators.unshift(...r)):e.decorators=r,this.resetStartLocationFromNode(e,r[0]),i&&this.resetStartLocationFromNode(i,e)),e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(r){const e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))r||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(d.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(d.UnexpectedLeadingDecorator,this.state.startLoc);return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const r=this.startNode();if(this.next(),this.hasPlugin("decorators")){const e=this.state.startLoc;let i;if(this.match(10)){const a=this.state.startLoc;this.next(),i=this.parseExpression(),this.expect(11),i=this.wrapParenthesis(a,i);const h=this.state.startLoc;r.expression=this.parseMaybeDecoratorArguments(i),this.getPluginOption("decorators","allowCallParenthesized")===!1&&r.expression!==i&&this.raise(d.DecoratorArgumentsOutsideParentheses,h)}else{for(i=this.parseIdentifier(!1);this.eat(16);){const a=this.startNodeAt(e);a.object=i,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),a.computed=!1,i=this.finishNode(a,"MemberExpression")}r.expression=this.parseMaybeDecoratorArguments(i)}}else r.expression=this.parseExprSubscripts();return this.finishNode(r,"Decorator")}parseMaybeDecoratorArguments(r){if(this.eat(10)){const e=this.startNodeAtNode(r);return e.callee=r,e.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(e.arguments),this.finishNode(e,"CallExpression")}return r}parseBreakContinueStatement(r,e){return this.next(),this.isLineTerminator()?r.label=null:(r.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(r,e),this.finishNode(r,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(r,e){let i;for(i=0;i<this.state.labels.length;++i){const a=this.state.labels[i];if((r.label==null||a.name===r.label.name)&&(a.kind!=null&&(e||a.kind===1)||r.label&&e))break}if(i===this.state.labels.length){const a=e?"BreakStatement":"ContinueStatement";this.raise(d.IllegalBreakContinue,r,{type:a})}}parseDebuggerStatement(r){return this.next(),this.semicolon(),this.finishNode(r,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const r=this.parseExpression();return this.expect(11),r}parseDoWhileStatement(r){return this.next(),this.state.labels.push(yr),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),r.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(r,"DoWhileStatement")}parseForStatement(r){this.next(),this.state.labels.push(yr);let e=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(e=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(r,null);const i=this.isContextual(100);{const v=this.isContextual(96)&&this.startsAwaitUsing(),I=v||this.isContextual(107)&&this.startsUsingForOf(),C=i&&this.hasFollowingBindingAtom()||I;if(this.match(74)||this.match(75)||C){const q=this.startNode();let $;v?($="await using",this.recordAwaitIfAllowed()||this.raise(d.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):$=this.state.value,this.next(),this.parseVar(q,!0,$);const V=this.finishNode(q,"VariableDeclaration"),W=this.match(58);return W&&I&&this.raise(d.ForInUsing,V),(W||this.isContextual(102))&&V.declarations.length===1?this.parseForIn(r,V,e):(e!==null&&this.unexpected(e),this.parseFor(r,V))}}const a=this.isContextual(95),h=new Ps,y=this.parseExpression(!0,h),b=this.isContextual(102);if(b&&(i&&this.raise(d.ForOfLet,y),e===null&&a&&y.type==="Identifier"&&this.raise(d.ForOfAsync,y)),b||this.match(58)){this.checkDestructuringPrivate(h),this.toAssignable(y,!0);const v=b?"ForOfStatement":"ForInStatement";return this.checkLVal(y,{type:v}),this.parseForIn(r,y,e)}else this.checkExpressionErrors(h,!0);return e!==null&&this.unexpected(e),this.parseFor(r,y)}parseFunctionStatement(r,e,i){return this.next(),this.parseFunction(r,1|(i?2:0)|(e?8:0))}parseIfStatement(r){return this.next(),r.test=this.parseHeaderExpression(),r.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),r.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(r,"IfStatement")}parseReturnStatement(r){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(d.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?r.argument=null:(r.argument=this.parseExpression(),this.semicolon()),this.finishNode(r,"ReturnStatement")}parseSwitchStatement(r){this.next(),r.discriminant=this.parseHeaderExpression();const e=r.cases=[];this.expect(5),this.state.labels.push(kc),this.scope.enter(0);let i;for(let a;!this.match(8);)if(this.match(61)||this.match(65)){const h=this.match(61);i&&this.finishNode(i,"SwitchCase"),e.push(i=this.startNode()),i.consequent=[],this.next(),h?i.test=this.parseExpression():(a&&this.raise(d.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),a=!0,i.test=null),this.expect(14)}else i?i.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),i&&this.finishNode(i,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(r,"SwitchStatement")}parseThrowStatement(r){return this.next(),this.hasPrecedingLineBreak()&&this.raise(d.NewlineAfterThrow,this.state.lastTokEndLoc),r.argument=this.parseExpression(),this.semicolon(),this.finishNode(r,"ThrowStatement")}parseCatchClauseParam(){const r=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&r.type==="Identifier"?8:0),this.checkLVal(r,{type:"CatchClause"},9),r}parseTryStatement(r){if(this.next(),r.block=this.parseBlock(),r.handler=null,this.match(62)){const e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(0)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),r.handler=this.finishNode(e,"CatchClause")}return r.finalizer=this.eat(67)?this.parseBlock():null,!r.handler&&!r.finalizer&&this.raise(d.NoCatchOrFinally,r),this.finishNode(r,"TryStatement")}parseVarStatement(r,e,i=!1){return this.next(),this.parseVar(r,!1,e,i),this.semicolon(),this.finishNode(r,"VariableDeclaration")}parseWhileStatement(r){return this.next(),r.test=this.parseHeaderExpression(),this.state.labels.push(yr),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(r,"WhileStatement")}parseWithStatement(r){return this.state.strict&&this.raise(d.StrictWith,this.state.startLoc),this.next(),r.object=this.parseHeaderExpression(),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(r,"WithStatement")}parseEmptyStatement(r){return this.next(),this.finishNode(r,"EmptyStatement")}parseLabeledStatement(r,e,i,a){for(const y of this.state.labels)y.name===e&&this.raise(d.LabelRedeclaration,i,{labelName:e});const h=wh(this.state.type)?1:this.match(71)?2:null;for(let y=this.state.labels.length-1;y>=0;y--){const b=this.state.labels[y];if(b.statementStart===r.start)b.statementStart=this.state.start,b.kind=h;else break}return this.state.labels.push({name:e,kind:h,statementStart:this.state.start}),r.body=a&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),r.label=i,this.finishNode(r,"LabeledStatement")}parseExpressionStatement(r,e,i){return r.expression=e,this.semicolon(),this.finishNode(r,"ExpressionStatement")}parseBlock(r=!1,e=!0,i){const a=this.startNode();return r&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(0),this.parseBlockBody(a,r,!1,8,i),e&&this.scope.exit(),this.finishNode(a,"BlockStatement")}isValidDirective(r){return r.type==="ExpressionStatement"&&r.expression.type==="StringLiteral"&&!r.expression.extra.parenthesized}parseBlockBody(r,e,i,a,h){const y=r.body=[],b=r.directives=[];this.parseBlockOrModuleBlockBody(y,e?b:void 0,i,a,h)}parseBlockOrModuleBlockBody(r,e,i,a,h){const y=this.state.strict;let b=!1,v=!1;for(;!this.match(a);){const I=i?this.parseModuleItem():this.parseStatementListItem();if(e&&!v){if(this.isValidDirective(I)){const C=this.stmtToDirective(I);e.push(C),!b&&C.value.value==="use strict"&&(b=!0,this.setStrict(!0));continue}v=!0,this.state.strictErrors.clear()}r.push(I)}h==null||h.call(this,b),y||this.setStrict(!1),this.next()}parseFor(r,e){return r.init=e,this.semicolon(!1),r.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),r.update=this.match(11)?null:this.parseExpression(),this.expect(11),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(r,"ForStatement")}parseForIn(r,e,i){const a=this.match(58);return this.next(),a?i!==null&&this.unexpected(i):r.await=i!==null,e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!a||!this.options.annexB||this.state.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(d.ForInOfLoopInitializer,e,{type:a?"ForInStatement":"ForOfStatement"}),e.type==="AssignmentPattern"&&this.raise(d.InvalidLhs,e,{ancestor:{type:"ForStatement"}}),r.left=e,r.right=a?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(r,a?"ForInStatement":"ForOfStatement")}parseVar(r,e,i,a=!1){const h=r.declarations=[];for(r.kind=i;;){const y=this.startNode();if(this.parseVarId(y,i),y.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,y.init===null&&!a&&(y.id.type!=="Identifier"&&!(e&&(this.match(58)||this.isContextual(102)))?this.raise(d.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(i==="const"||i==="using"||i==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(d.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:i})),h.push(this.finishNode(y,"VariableDeclarator")),!this.eat(12))break}return r}parseVarId(r,e){const i=this.parseBindingAtom();(e==="using"||e==="await using")&&(i.type==="ArrayPattern"||i.type==="ObjectPattern")&&this.raise(d.UsingDeclarationHasBindingPattern,i.loc.start),this.checkLVal(i,{type:"VariableDeclarator"},e==="var"?5:8201),r.id=i}parseAsyncFunctionExpression(r){return this.parseFunction(r,8)}parseFunction(r,e=0){const i=e&2,a=!!(e&1),h=a&&!(e&4),y=!!(e&8);this.initFunction(r,y),this.match(55)&&(i&&this.raise(d.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),r.generator=!0),a&&(r.id=this.parseFunctionId(h));const b=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(xs(y,r.generator)),a||(r.id=this.parseFunctionId()),this.parseFunctionParams(r,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(r,a?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),a&&!i&&this.registerFunctionStatementId(r),this.state.maybeInArrowParameters=b,r}parseFunctionId(r){return r||se(this.state.type)?this.parseIdentifier():null}parseFunctionParams(r,e){this.expect(10),this.expressionScope.enter(Qh()),r.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(r){r.id&&this.scope.declareName(r.id.name,!this.options.annexB||this.state.strict||r.generator||r.async?this.scope.treatFunctionsAsVar?5:8201:17,r.id.loc.start)}parseClass(r,e,i){this.next();const a=this.state.strict;return this.state.strict=!0,this.parseClassId(r,e,i),this.parseClassSuper(r),r.body=this.parseClassBody(!!r.superClass,a),this.finishNode(r,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(r){return r.type==="Identifier"&&r.name==="constructor"||r.type==="StringLiteral"&&r.value==="constructor"}isNonstaticConstructor(r){return!r.computed&&!r.static&&this.nameIsConstructor(r.key)}parseClassBody(r,e){this.classScope.enter();const i={hadConstructor:!1,hadSuperClass:r};let a=[];const h=this.startNode();if(h.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(a.length>0)throw this.raise(d.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){a.push(this.parseDecorator());continue}const y=this.startNode();a.length&&(y.decorators=a,this.resetStartLocationFromNode(y,a[0]),a=[]),this.parseClassMember(h,y,i),y.kind==="constructor"&&y.decorators&&y.decorators.length>0&&this.raise(d.DecoratorConstructor,y)}}),this.state.strict=e,this.next(),a.length)throw this.raise(d.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(h,"ClassBody")}parseClassMemberFromModifier(r,e){const i=this.parseIdentifier(!0);if(this.isClassMethod()){const a=e;return a.kind="method",a.computed=!1,a.key=i,a.static=!1,this.pushClassMethod(r,a,!1,!1,!1,!1),!0}else if(this.isClassProperty()){const a=e;return a.computed=!1,a.key=i,a.static=!1,r.body.push(this.parseClassProperty(a)),!0}return this.resetPreviousNodeTrailingComments(i),!1}parseClassMember(r,e,i){const a=this.isContextual(106);if(a){if(this.parseClassMemberFromModifier(r,e))return;if(this.eat(5)){this.parseClassStaticBlock(r,e);return}}this.parseClassMemberWithIsStatic(r,e,i,a)}parseClassMemberWithIsStatic(r,e,i,a){const h=e,y=e,b=e,v=e,I=e,C=h,q=h;if(e.static=a,this.parsePropertyNamePrefixOperator(e),this.eat(55)){C.kind="method";const re=this.match(138);if(this.parseClassElementName(C),re){this.pushClassPrivateMethod(r,y,!0,!1);return}this.isNonstaticConstructor(h)&&this.raise(d.ConstructorIsGenerator,h.key),this.pushClassMethod(r,h,!0,!1,!1,!1);return}const $=!this.state.containsEsc&&se(this.state.type),V=this.parseClassElementName(e),W=$?V.name:null,ie=this.isPrivateName(V),Ee=this.state.startLoc;if(this.parsePostMemberNameModifiers(q),this.isClassMethod()){if(C.kind="method",ie){this.pushClassPrivateMethod(r,y,!1,!1);return}const re=this.isNonstaticConstructor(h);let le=!1;re&&(h.kind="constructor",i.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(d.DuplicateConstructor,V),re&&this.hasPlugin("typescript")&&e.override&&this.raise(d.OverrideOnConstructor,V),i.hadConstructor=!0,le=i.hadSuperClass),this.pushClassMethod(r,h,!1,!1,re,le)}else if(this.isClassProperty())ie?this.pushClassPrivateProperty(r,v):this.pushClassProperty(r,b);else if(W==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(V);const re=this.eat(55);q.optional&&this.unexpected(Ee),C.kind="method";const le=this.match(138);this.parseClassElementName(C),this.parsePostMemberNameModifiers(q),le?this.pushClassPrivateMethod(r,y,re,!0):(this.isNonstaticConstructor(h)&&this.raise(d.ConstructorIsAsync,h.key),this.pushClassMethod(r,h,re,!0,!1,!1))}else if((W==="get"||W==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(V),C.kind=W;const re=this.match(138);this.parseClassElementName(h),re?this.pushClassPrivateMethod(r,y,!1,!1):(this.isNonstaticConstructor(h)&&this.raise(d.ConstructorIsAccessor,h.key),this.pushClassMethod(r,h,!1,!1,!1,!1)),this.checkGetterSetterParams(h)}else if(W==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(V);const re=this.match(138);this.parseClassElementName(b),this.pushClassAccessorProperty(r,I,re)}else this.isLineTerminator()?ie?this.pushClassPrivateProperty(r,v):this.pushClassProperty(r,b):this.unexpected()}parseClassElementName(r){const{type:e,value:i}=this.state;if((e===132||e===133)&&r.static&&i==="prototype"&&this.raise(d.StaticPrototype,this.state.startLoc),e===138){i==="constructor"&&this.raise(d.ConstructorClassPrivateField,this.state.startLoc);const a=this.parsePrivateName();return r.key=a,a}return this.parsePropertyName(r),r.key}parseClassStaticBlock(r,e){var i;this.scope.enter(208);const a=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const h=e.body=[];this.parseBlockOrModuleBlockBody(h,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=a,r.body.push(this.finishNode(e,"StaticBlock")),(i=e.decorators)!=null&&i.length&&this.raise(d.DecoratorStaticBlock,e)}pushClassProperty(r,e){!e.computed&&this.nameIsConstructor(e.key)&&this.raise(d.ConstructorClassField,e.key),r.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(r,e){const i=this.parseClassPrivateProperty(e);r.body.push(i),this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),0,i.key.loc.start)}pushClassAccessorProperty(r,e,i){!i&&!e.computed&&this.nameIsConstructor(e.key)&&this.raise(d.ConstructorClassField,e.key);const a=this.parseClassAccessorProperty(e);r.body.push(a),i&&this.classScope.declarePrivateName(this.getPrivateNameSV(a.key),0,a.key.loc.start)}pushClassMethod(r,e,i,a,h,y){r.body.push(this.parseMethod(e,i,a,h,y,"ClassMethod",!0))}pushClassPrivateMethod(r,e,i,a){const h=this.parseMethod(e,i,a,!1,!1,"ClassPrivateMethod",!0);r.body.push(h);const y=h.kind==="get"?h.static?6:2:h.kind==="set"?h.static?5:1:0;this.declareClassPrivateMethodInScope(h,y)}declareClassPrivateMethodInScope(r,e){this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),e,r.key.loc.start)}parsePostMemberNameModifiers(r){}parseClassPrivateProperty(r){return this.parseInitializer(r),this.semicolon(),this.finishNode(r,"ClassPrivateProperty")}parseClassProperty(r){return this.parseInitializer(r),this.semicolon(),this.finishNode(r,"ClassProperty")}parseClassAccessorProperty(r){return this.parseInitializer(r),this.semicolon(),this.finishNode(r,"ClassAccessorProperty")}parseInitializer(r){this.scope.enter(80),this.expressionScope.enter(vn()),this.prodParam.enter(0),r.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(r,e,i,a=8331){if(se(this.state.type))r.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(r.id,a);else if(i||!e)r.id=null;else throw this.raise(d.MissingClassName,this.state.startLoc)}parseClassSuper(r){r.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(r,e){const i=this.parseMaybeImportPhase(r,!0),a=this.maybeParseExportDefaultSpecifier(r,i),h=!a||this.eat(12),y=h&&this.eatExportStar(r),b=y&&this.maybeParseExportNamespaceSpecifier(r),v=h&&(!b||this.eat(12)),I=a||y;if(y&&!b){if(a&&this.unexpected(),e)throw this.raise(d.UnsupportedDecoratorExport,r);return this.parseExportFrom(r,!0),this.finishNode(r,"ExportAllDeclaration")}const C=this.maybeParseExportNamedSpecifiers(r);a&&h&&!y&&!C&&this.unexpected(null,5),b&&v&&this.unexpected(null,98);let q;if(I||C){if(q=!1,e)throw this.raise(d.UnsupportedDecoratorExport,r);this.parseExportFrom(r,I)}else q=this.maybeParseExportDeclaration(r);if(I||C||q){var $;const V=r;if(this.checkExport(V,!0,!1,!!V.source),(($=V.declaration)==null?void 0:$.type)==="ClassDeclaration")this.maybeTakeDecorators(e,V.declaration,V);else if(e)throw this.raise(d.UnsupportedDecoratorExport,r);return this.finishNode(V,"ExportNamedDeclaration")}if(this.eat(65)){const V=r,W=this.parseExportDefaultExpression();if(V.declaration=W,W.type==="ClassDeclaration")this.maybeTakeDecorators(e,W,V);else if(e)throw this.raise(d.UnsupportedDecoratorExport,r);return this.checkExport(V,!0,!0),this.finishNode(V,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(r){return this.eat(55)}maybeParseExportDefaultSpecifier(r,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",e==null?void 0:e.loc.start);const i=e||this.parseIdentifier(!0),a=this.startNodeAtNode(i);return a.exported=i,r.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(r){if(this.isContextual(93)){var e,i;(i=(e=r).specifiers)!=null||(e.specifiers=[]);const a=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),a.exported=this.parseModuleExportName(),r.specifiers.push(this.finishNode(a,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(r){if(this.match(5)){const e=r;e.specifiers||(e.specifiers=[]);const i=e.exportKind==="type";return e.specifiers.push(...this.parseExportSpecifiers(i)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(r){return this.shouldParseExportDeclaration()?(r.specifiers=[],r.source=null,this.hasPlugin("importAssertions")&&(r.assertions=[]),r.declaration=this.parseExportDeclaration(r),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;const r=this.nextTokenInLineStart();return this.isUnparsedContextual(r,"function")}parseExportDefaultExpression(){const r=this.startNode();if(this.match(68))return this.next(),this.parseFunction(r,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(r,13);if(this.match(80))return this.parseClass(r,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(d.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(d.UnsupportedDefaultExport,this.state.startLoc);const e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(r){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:r}=this.state;if(se(r)){if(r===95&&!this.state.containsEsc||r===100)return!1;if((r===130||r===129)&&!this.state.containsEsc){const{type:a}=this.lookahead();if(se(a)&&a!==98||a===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const e=this.nextTokenStart(),i=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||se(this.state.type)&&i)return!0;if(this.match(65)&&i){const a=this.input.charCodeAt(this.nextTokenStartSince(e+4));return a===34||a===39}return!1}parseExportFrom(r,e){this.eatContextual(98)?(r.source=this.parseImportSource(),this.checkExport(r),this.maybeParseImportAttributes(r),this.checkJSONModuleImport(r)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:r}=this.state;return r===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(d.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(d.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(d.UsingDeclarationExport,this.state.startLoc),!0):r===74||r===75||r===68||r===80||this.isLet()||this.isAsyncFunction()}checkExport(r,e,i,a){if(e){var h;if(i){if(this.checkDuplicateExports(r,"default"),this.hasPlugin("exportDefaultFrom")){var y;const b=r.declaration;b.type==="Identifier"&&b.name==="from"&&b.end-b.start===4&&!((y=b.extra)!=null&&y.parenthesized)&&this.raise(d.ExportDefaultFromAsIdentifier,b)}}else if((h=r.specifiers)!=null&&h.length)for(const b of r.specifiers){const{exported:v}=b,I=v.type==="Identifier"?v.name:v.value;if(this.checkDuplicateExports(b,I),!a&&b.local){const{local:C}=b;C.type!=="Identifier"?this.raise(d.ExportBindingIsString,b,{localName:C.value,exportName:I}):(this.checkReservedWord(C.name,C.loc.start,!0,!1),this.scope.checkLocalExport(C))}}else if(r.declaration){const b=r.declaration;if(b.type==="FunctionDeclaration"||b.type==="ClassDeclaration"){const{id:v}=b;if(!v)throw new Error("Assertion failure");this.checkDuplicateExports(r,v.name)}else if(b.type==="VariableDeclaration")for(const v of b.declarations)this.checkDeclaration(v.id)}}}checkDeclaration(r){if(r.type==="Identifier")this.checkDuplicateExports(r,r.name);else if(r.type==="ObjectPattern")for(const e of r.properties)this.checkDeclaration(e);else if(r.type==="ArrayPattern")for(const e of r.elements)e&&this.checkDeclaration(e);else r.type==="ObjectProperty"?this.checkDeclaration(r.value):r.type==="RestElement"?this.checkDeclaration(r.argument):r.type==="AssignmentPattern"&&this.checkDeclaration(r.left)}checkDuplicateExports(r,e){this.exportedIdentifiers.has(e)&&(e==="default"?this.raise(d.DuplicateDefaultExport,r):this.raise(d.DuplicateExport,r,{exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(r){const e=[];let i=!0;for(this.expect(5);!this.eat(8);){if(i)i=!1;else if(this.expect(12),this.eat(8))break;const a=this.isContextual(130),h=this.match(133),y=this.startNode();y.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(y,h,r,a))}return e}parseExportSpecifier(r,e,i,a){return this.eatContextual(93)?r.exported=this.parseModuleExportName():e?r.exported=ic(r.local):r.exported||(r.exported=Je(r.local)),this.finishNode(r,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const r=this.parseStringLiteral(this.state.value),e=Oc.exec(r.value);return e&&this.raise(d.ModuleExportNameHasLoneSurrogate,r,{surrogateCharCode:e[0].charCodeAt(0)}),r}return this.parseIdentifier(!0)}isJSONModuleImport(r){return r.assertions!=null?r.assertions.some(({key:e,value:i})=>i.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")):!1}checkImportReflection(r){const{specifiers:e}=r,i=e.length===1?e[0].type:null;if(r.phase==="source")i!=="ImportDefaultSpecifier"&&this.raise(d.SourcePhaseImportRequiresDefault,e[0].loc.start);else if(r.phase==="defer")i!=="ImportNamespaceSpecifier"&&this.raise(d.DeferImportRequiresNamespace,e[0].loc.start);else if(r.module){var a;i!=="ImportDefaultSpecifier"&&this.raise(d.ImportReflectionNotBinding,e[0].loc.start),((a=r.assertions)==null?void 0:a.length)>0&&this.raise(d.ImportReflectionHasAssertion,e[0].loc.start)}}checkJSONModuleImport(r){if(this.isJSONModuleImport(r)&&r.type!=="ExportAllDeclaration"){const{specifiers:e}=r;if(e!=null){const i=e.find(a=>{let h;if(a.type==="ExportSpecifier"?h=a.local:a.type==="ImportSpecifier"&&(h=a.imported),h!==void 0)return h.type==="Identifier"?h.name!=="default":h.value!=="default"});i!==void 0&&this.raise(d.ImportJSONBindingNotDefault,i.loc.start)}}}isPotentialImportPhase(r){return r?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(r,e,i,a){e||(i==="module"?(this.expectPlugin("importReflection",a),r.module=!0):this.hasPlugin("importReflection")&&(r.module=!1),i==="source"?(this.expectPlugin("sourcePhaseImports",a),r.phase="source"):i==="defer"?(this.expectPlugin("deferredImportEvaluation",a),r.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(r.phase=null))}parseMaybeImportPhase(r,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(r,e,null),null;const i=this.parseIdentifier(!0),{type:a}=this.state;return(Oe(a)?a!==98||this.lookaheadCharCode()===102:a!==12)?(this.resetPreviousIdentifierLeadingComments(i),this.applyImportPhase(r,e,i.name,i.loc.start),null):(this.applyImportPhase(r,e,null),i)}isPrecedingIdImportPhase(r){const{type:e}=this.state;return se(e)?e!==98||this.lookaheadCharCode()===102:e!==12}parseImport(r){return this.match(133)?this.parseImportSourceAndAttributes(r):this.parseImportSpecifiersAndAfter(r,this.parseMaybeImportPhase(r,!1))}parseImportSpecifiersAndAfter(r,e){r.specifiers=[];const a=!this.maybeParseDefaultImportSpecifier(r,e)||this.eat(12),h=a&&this.maybeParseStarImportSpecifier(r);return a&&!h&&this.parseNamedImportSpecifiers(r),this.expectContextual(98),this.parseImportSourceAndAttributes(r)}parseImportSourceAndAttributes(r){var e;return(e=r.specifiers)!=null||(r.specifiers=[]),r.source=this.parseImportSource(),this.maybeParseImportAttributes(r),this.checkImportReflection(r),this.checkJSONModuleImport(r),this.semicolon(),this.finishNode(r,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(r,e,i){e.local=this.parseIdentifier(),r.specifiers.push(this.finishImportSpecifier(e,i))}finishImportSpecifier(r,e,i=8201){return this.checkLVal(r.local,{type:e},i),this.finishNode(r,e)}parseImportAttributes(){this.expect(5);const r=[],e=new Set;do{if(this.match(8))break;const i=this.startNode(),a=this.state.value;if(e.has(a)&&this.raise(d.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:a}),e.add(a),this.match(133)?i.key=this.parseStringLiteral(a):i.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(d.ModuleAttributeInvalidValue,this.state.startLoc);i.value=this.parseStringLiteral(this.state.value),r.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(12));return this.expect(8),r}parseModuleAttributes(){const r=[],e=new Set;do{const i=this.startNode();if(i.key=this.parseIdentifier(!0),i.key.name!=="type"&&this.raise(d.ModuleAttributeDifferentFromType,i.key),e.has(i.key.name)&&this.raise(d.ModuleAttributesWithDuplicateKeys,i.key,{key:i.key.name}),e.add(i.key.name),this.expect(14),!this.match(133))throw this.raise(d.ModuleAttributeInvalidValue,this.state.startLoc);i.value=this.parseStringLiteral(this.state.value),r.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(12));return r}maybeParseImportAttributes(r){let e,i=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?e=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),e=this.parseImportAttributes()),i=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(d.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(r,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),e=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))e=[];else if(this.hasPlugin("moduleAttributes"))e=[];else return;!i&&this.hasPlugin("importAssertions")?r.assertions=e:r.attributes=e}maybeParseDefaultImportSpecifier(r,e){if(e){const i=this.startNodeAtNode(e);return i.local=e,r.specifiers.push(this.finishImportSpecifier(i,"ImportDefaultSpecifier")),!0}else if(Oe(this.state.type))return this.parseImportSpecifierLocal(r,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(r){if(this.match(55)){const e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(r,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(r){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(d.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const i=this.startNode(),a=this.match(133),h=this.isContextual(130);i.imported=this.parseModuleExportName();const y=this.parseImportSpecifier(i,a,r.importKind==="type"||r.importKind==="typeof",h,void 0);r.specifiers.push(y)}}parseImportSpecifier(r,e,i,a,h){if(this.eatContextual(93))r.local=this.parseIdentifier();else{const{imported:y}=r;if(e)throw this.raise(d.ImportBindingIsString,r,{importName:y.value});this.checkReservedWord(y.name,r.loc.start,!0,!0),r.local||(r.local=Je(y))}return this.finishImportSpecifier(r,"ImportSpecifier",h)}isThisParam(r){return r.type==="Identifier"&&r.name==="this"}}class Bn extends Mc{constructor(r,e,i){r=Ic(r),super(r,e),this.options=r,this.initializeScopes(),this.plugins=i,this.filename=r.sourceFilename}getScopeHandler(){return hr}parse(){this.enterInitialScopes();const r=this.startNode(),e=this.startNode();return this.nextToken(),r.errors=null,this.parseTopLevel(r,e),r.errors=this.state.errors,r.comments.length=this.state.commentsLen,r}}function _c(m,r){var e;if(((e=r)==null?void 0:e.sourceType)==="unambiguous"){r=Object.assign({},r);try{r.sourceType="module";const i=Ht(r,m),a=i.parse();if(i.sawUnambiguousESM)return a;if(i.ambiguousScriptDifferentAst)try{return r.sourceType="script",Ht(r,m).parse()}catch{}else a.program.sourceType="script";return a}catch(i){try{return r.sourceType="script",Ht(r,m).parse()}catch{}throw i}}else return Ht(r,m).parse()}function Rc(m,r){const e=Ht(r,m);return e.options.strictMode&&(e.state.strict=!0),e.getExpression()}function Dc(m){const r={};for(const e of Object.keys(m))r[e]=Ge(m[e]);return r}const Bc=Dc(sr);function Ht(m,r){let e=Bn;const i=new Map;if(m!=null&&m.plugins){for(const a of m.plugins){let h,y;typeof a=="string"?h=a:[h,y]=a,i.has(h)||i.set(h,y||{})}vc(i),e=Fc(i)}return new e(m,r,i)}const Fn=new Map;function Fc(m){const r=[];for(const a of Cc)m.has(a)&&r.push(a);const e=r.join("|");let i=Fn.get(e);if(!i){i=Bn;for(const a of r)i=Dn[a](i);Fn.set(e,i)}return i}return Nt.parse=_c,Nt.parseExpression=Rc,Nt.tokTypes=Bc,Nt}var wt=vu();class Cu{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:s=>this.replacement=s}}replace(s,n,o,l){s&&(o!==null?s[n][o]=l:s[n]=l)}remove(s,n,o){s&&(o!==null?s[n].splice(o,1):delete s[n])}}class Iu extends Cu{constructor(s,n){super(),this.enter=s,this.leave=n}visit(s,n,o,l){if(s){if(this.enter){const u=this.should_skip,c=this.should_remove,f=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,s,n,o,l),this.replacement&&(s=this.replacement,this.replace(n,o,l,s)),this.should_remove&&this.remove(n,o,l);const p=this.should_skip,x=this.should_remove;if(this.should_skip=u,this.should_remove=c,this.replacement=f,p)return s;if(x)return null}for(const u in s){const c=s[u];if(typeof c=="object")if(Array.isArray(c))for(let f=0;f<c.length;f+=1)c[f]!==null&&typeof c[f].type=="string"&&(this.visit(c[f],s,u,f)||f--);else c!==null&&typeof c.type=="string"&&this.visit(c,s,u,null)}if(this.leave){const u=this.replacement,c=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,s,n,o,l),this.replacement&&(s=this.replacement,this.replace(n,o,l,s)),this.should_remove&&this.remove(n,o,l);const f=this.should_remove;if(this.replacement=u,this.should_remove=c,f)return null}}return s}}function Nu(t,{enter:s,leave:n}){return new Iu(s,n).visit(t,null)}function ku(t,s,n=!1,o=[],l=Object.create(null)){const u=t.type==="Program"?t.body[0].type==="ExpressionStatement"&&t.body[0].expression:t;Nu(t,{enter(c,f){if(f&&o.push(f),f&&f.type.startsWith("TS")&&!Wo.includes(f.type))return this.skip();if(c.type==="Identifier"){const p=!!l[c.name],x=Ou(c,f,o);(n||x&&!p)&&s(c,f,o,x,p)}else if(c.type==="ObjectProperty"&&(f==null?void 0:f.type)==="ObjectPattern")c.inPattern=!0;else if(Ru(c))c.scopeIds?c.scopeIds.forEach(p=>xi(p,l)):Mu(c,p=>As(c,p,l));else if(c.type==="BlockStatement")c.scopeIds?c.scopeIds.forEach(p=>xi(p,l)):_u(c,p=>As(c,p,l));else if(c.type==="CatchClause"&&c.param)for(const p of Ye(c.param))As(c,p,l);else Vo(c)&&zo(c,!1,p=>As(c,p,l))},leave(c,f){if(f&&o.pop(),c!==u&&c.scopeIds)for(const p of c.scopeIds)l[p]--,l[p]===0&&delete l[p]}})}function Ou(t,s,n){if(!s)return!0;if(t.name==="arguments")return!1;if(Bu(t,s))return!0;switch(s.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return $o(s,n)}return!1}function $o(t,s){if(t&&(t.type==="ObjectProperty"||t.type==="ArrayPattern")){let n=s.length;for(;n--;){const o=s[n];if(o.type==="AssignmentExpression")return!0;if(o.type!=="ObjectProperty"&&!o.type.endsWith("Pattern"))break}}return!1}function Lu(t){let s=t.length;for(;s--;){const n=t[s];if(n.type==="NewExpression")return!0;if(n.type!=="MemberExpression")break}return!1}function Mu(t,s){for(const n of t.params)for(const o of Ye(n))s(o)}function _u(t,s){for(const n of t.body)if(n.type==="VariableDeclaration"){if(n.declare)continue;for(const o of n.declarations)for(const l of Ye(o.id))s(l)}else if(n.type==="FunctionDeclaration"||n.type==="ClassDeclaration"){if(n.declare||!n.id)continue;s(n.id)}else Vo(n)&&zo(n,!0,s)}function Vo(t){return t.type==="ForOfStatement"||t.type==="ForInStatement"||t.type==="ForStatement"}function zo(t,s,n){const o=t.type==="ForStatement"?t.init:t.left;if(o&&o.type==="VariableDeclaration"&&(o.kind==="var"?s:!s))for(const l of o.declarations)for(const u of Ye(l.id))n(u)}function Ye(t,s=[]){switch(t.type){case"Identifier":s.push(t);break;case"MemberExpression":let n=t;for(;n.type==="MemberExpression";)n=n.object;s.push(n);break;case"ObjectPattern":for(const o of t.properties)o.type==="RestElement"?Ye(o.argument,s):Ye(o.value,s);break;case"ArrayPattern":t.elements.forEach(o=>{o&&Ye(o,s)});break;case"RestElement":Ye(t.argument,s);break;case"AssignmentPattern":Ye(t.left,s);break}return s}function xi(t,s){t in s?s[t]++:s[t]=1}function As(t,s,n){const{name:o}=s;t.scopeIds&&t.scopeIds.has(o)||(xi(o,n),(t.scopeIds||(t.scopeIds=new Set)).add(o))}const Ru=t=>/Function(?:Expression|Declaration)$|Method$/.test(t.type),Ho=t=>t&&(t.type==="ObjectProperty"||t.type==="ObjectMethod")&&!t.computed,Du=(t,s)=>Ho(s)&&s.key===t;function Bu(t,s,n){switch(s.type){case"MemberExpression":case"OptionalMemberExpression":return s.property===t?!!s.computed:s.object===t;case"JSXMemberExpression":return s.object===t;case"VariableDeclarator":return s.init===t;case"ArrowFunctionExpression":return s.body===t;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return s.key===t?!!s.computed:!1;case"ObjectProperty":return s.key===t?!!s.computed:!0;case"ClassProperty":return s.key===t?!!s.computed:!0;case"ClassPrivateProperty":return s.key!==t;case"ClassDeclaration":case"ClassExpression":return s.superClass===t;case"AssignmentExpression":return s.right===t;case"AssignmentPattern":return s.right===t;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return s.local===t;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return s.key!==t;case"TSEnumMember":return s.id!==t;case"TSPropertySignature":return s.key===t?!!s.computed:!0}return!0}const Wo=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function Vi(t){return Wo.includes(t.type)?Vi(t.expression):t}const Ie=t=>t.type===4&&t.isStatic;function Go(t){switch(t){case"Teleport":case"teleport":return Xt;case"Suspense":case"suspense":return Mi;case"KeepAlive":case"keep-alive":return Rs;case"BaseTransition":case"base-transition":return bo}}const Fu=/^\d|[^\$\w\xA0-\uFFFF]/,ss=t=>!Fu.test(t),Ko=t=>t.type===4?t.content:t.loc.source,Uu=(t,s)=>{try{let n=t.ast||wt.parseExpression(Ko(t),{plugins:s.expressionPlugins?[...s.expressionPlugins,"typescript"]:["typescript"]});return n=Vi(n),n.type==="MemberExpression"||n.type==="OptionalMemberExpression"||n.type==="Identifier"&&n.name!=="undefined"}catch{return!1}},Jo=Uu,qu=(t,s)=>{try{let n=t.ast||wt.parseExpression(Ko(t),{plugins:s.expressionPlugins?[...s.expressionPlugins,"typescript"]:["typescript"]});return n.type==="Program"&&(n=n.body[0],n.type==="ExpressionStatement"&&(n=n.expression)),n=Vi(n),n.type==="FunctionExpression"||n.type==="ArrowFunctionExpression"}catch{return!1}},ju=qu;function Wn(t,s,n=s.length){return $u({offset:t.offset,line:t.line,column:t.column},s,n)}function $u(t,s,n=s.length){let o=0,l=-1;for(let u=0;u<n;u++)s.charCodeAt(u)===10&&(o++,l=u);return t.offset+=n,t.line+=o,t.column=l===-1?t.column+n:n-l,t}function ve(t,s,n=!1){for(let o=0;o<t.props.length;o++){const l=t.props[o];if(l.type===7&&(n||l.exp)&&(Fe(s)?l.name===s:s.test(l.name)))return l}}function rs(t,s,n=!1,o=!1){for(let l=0;l<t.props.length;l++){const u=t.props[l];if(u.type===6){if(n)continue;if(u.name===s&&(u.value||o))return u}else if(u.name==="bind"&&(u.exp||o)&&yt(u.arg,s))return u}}function yt(t,s){return!!(t&&Ie(t)&&t.content===s)}function Vu(t){return t.props.some(s=>s.type===7&&s.name==="bind"&&(!s.arg||s.arg.type!==4||!s.arg.isStatic))}function br(t){return t.type===5||t.type===2}function Yo(t){return t.type===7&&t.name==="slot"}function is(t){return t.type===1&&t.tagType===3}function Pi(t){return t.type===1&&t.tagType===2}const zu=new Set([Zt,as]);function Xo(t,s=[]){if(t&&!Fe(t)&&t.type===14){const n=t.callee;if(!Fe(n)&&zu.has(n))return Xo(t.arguments[0],s.concat(t))}return[t,s]}function qs(t,s,n){let o,l=t.type===13?t.props:t.arguments[2],u=[],c;if(l&&!Fe(l)&&l.type===14){const f=Xo(l);l=f[0],u=f[1],c=u[u.length-1]}if(l==null||Fe(l))o=Be([s]);else if(l.type===14){const f=l.arguments[0];!Fe(f)&&f.type===15?Gn(s,f)||f.properties.unshift(s):l.callee===qi?o=de(n.helper(Ds),[Be([s]),l]):l.arguments.unshift(Be([s])),!o&&(o=l)}else l.type===15?(Gn(s,l)||l.properties.unshift(s),o=l):(o=de(n.helper(Ds),[Be([s]),l]),c&&c.callee===as&&(c=u[u.length-2]));t.type===13?c?c.arguments[0]=o:t.props=o:c?c.arguments[0]=o:t.arguments[2]=o}function Gn(t,s){let n=!1;if(t.key.type===4){const o=t.key.content;n=s.properties.some(l=>l.key.type===4&&l.key.content===o)}return n}function wi(t,s){return`_${s}_${t.replace(/[^\w]/g,(n,o)=>n==="-"?"_":t.charCodeAt(o).toString())}`}function Le(t,s){if(!t||Object.keys(s).length===0)return!1;switch(t.type){case 1:for(let n=0;n<t.props.length;n++){const o=t.props[n];if(o.type===7&&(Le(o.arg,s)||Le(o.exp,s)))return!0}return t.children.some(n=>Le(n,s));case 11:return Le(t.source,s)?!0:t.children.some(n=>Le(n,s));case 9:return t.branches.some(n=>Le(n,s));case 10:return Le(t.condition,s)?!0:t.children.some(n=>Le(n,s));case 4:return!t.isStatic&&ss(t.content)&&!!s[t.content];case 8:return t.children.some(n=>wo(n)&&Le(n,s));case 5:case 12:return Le(t.content,s);case 2:case 3:case 20:return!1;default:return!1}}function Hu(t){return t.type===14&&t.callee===ji?t.arguments[1].returns:t}const Wu=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,Gu={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:bs,isPreTag:bs,isIgnoreNewlineTag:bs,isCustomElement:bs,onError:Au,onWarn:Tu,comments:!0,prefixIdentifiers:!1};let me=Gu,Qo=null,St="",Te=null,ne=null,Ue="",nt=-1,kt=-1,zi=0,lt=!1,Si=null;const ue=[],fe=new bu(ue,{onerr:Ae,ontext(t,s){Ts(Se(t,s),t,s)},ontextentity(t,s,n){Ts(t,s,n)},oninterpolation(t,s){if(lt)return Ts(Se(t,s),t,s);let n=t+fe.delimiterOpen.length,o=s-fe.delimiterClose.length;for(;Me(St.charCodeAt(n));)n++;for(;Me(St.charCodeAt(o-1));)o--;let l=Se(n,o);l.includes("&")&&(l=Su(l)),bi({type:5,content:Os(l,!1,pe(n,o)),loc:pe(t,s)})},onopentagname(t,s){const n=Se(t,s);Te={type:1,tag:n,ns:me.getNamespace(n,ue[0],me.ns),tagType:0,props:[],children:[],loc:pe(t-1,s),codegenNode:void 0}},onopentagend(t){Jn(t)},onclosetag(t,s){const n=Se(t,s);if(!me.isVoidTag(n)){let o=!1;for(let l=0;l<ue.length;l++)if(ue[l].tag.toLowerCase()===n.toLowerCase()){o=!0,l>0&&Ae(24,ue[0].loc.start.offset);for(let c=0;c<=l;c++){const f=ue.shift();ks(f,s,c<l)}break}o||Ae(23,Zo(t,60))}},onselfclosingtag(t){const s=Te.tag;Te.isSelfClosing=!0,Jn(t),ue[0]&&ue[0].tag===s&&ks(ue.shift(),t)},onattribname(t,s){ne={type:6,name:Se(t,s),nameLoc:pe(t,s),value:void 0,loc:pe(t)}},ondirname(t,s){const n=Se(t,s),o=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!lt&&o===""&&Ae(26,t),lt||o==="")ne={type:6,name:n,nameLoc:pe(t,s),value:void 0,loc:pe(t)};else if(ne={type:7,name:o,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[X("prop")]:[],loc:pe(t)},o==="pre"){lt=fe.inVPre=!0,Si=Te;const l=Te.props;for(let u=0;u<l.length;u++)l[u].type===7&&(l[u]=ap(l[u]))}},ondirarg(t,s){if(t===s)return;const n=Se(t,s);if(lt)ne.name+=n,gt(ne.nameLoc,s);else{const o=n[0]!=="[";ne.arg=Os(o?n:n.slice(1,-1),o,pe(t,s),o?3:0)}},ondirmodifier(t,s){const n=Se(t,s);if(lt)ne.name+="."+n,gt(ne.nameLoc,s);else if(ne.name==="slot"){const o=ne.arg;o&&(o.content+="."+n,gt(o.loc,s))}else{const o=X(n,!0,pe(t,s));ne.modifiers.push(o)}},onattribdata(t,s){Ue+=Se(t,s),nt<0&&(nt=t),kt=s},onattribentity(t,s,n){Ue+=t,nt<0&&(nt=s),kt=n},onattribnameend(t){const s=ne.loc.start.offset,n=Se(s,t);ne.type===7&&(ne.rawName=n),Te.props.some(o=>(o.type===7?o.rawName:o.name)===n)&&Ae(2,s)},onattribend(t,s){if(Te&&ne){if(gt(ne.loc,s),t!==0)if(ne.type===6)ne.name==="class"&&(Ue=el(Ue).trim()),t===1&&!Ue&&Ae(13,s),ne.value={type:2,content:Ue,loc:t===1?pe(nt,kt):pe(nt-1,kt+1)},fe.inSFCRoot&&Te.tag==="template"&&ne.name==="lang"&&Ue&&Ue!=="html"&&fe.enterRCDATA(qo("</template"),0);else{let n=0;ne.name==="for"?n=3:ne.name==="slot"?n=1:ne.name==="on"&&Ue.includes(";")&&(n=2),ne.exp=Os(Ue,!1,pe(nt,kt),0,n),ne.name==="for"&&(ne.forParseResult=Ju(ne.exp))}(ne.type!==7||ne.name!=="pre")&&Te.props.push(ne)}Ue="",nt=kt=-1},oncomment(t,s){me.comments&&bi({type:3,content:Se(t,s),loc:pe(t-4,s+3)})},onend(){const t=St.length;if(fe.state!==1)switch(fe.state){case 5:case 8:Ae(5,t);break;case 3:case 4:Ae(25,fe.sectionStart);break;case 28:fe.currentSequence===we.CdataEnd?Ae(6,t):Ae(7,t);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:Ae(9,t);break}for(let s=0;s<ue.length;s++)ks(ue[s],t-1),Ae(24,ue[s].loc.start.offset)},oncdata(t,s){ue[0].ns!==0?Ts(Se(t,s),t,s):Ae(1,t-9)},onprocessinginstruction(t){(ue[0]?ue[0].ns:me.ns)===0&&Ae(21,t-1)}}),Kn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ku=/^\(|\)$/g;function Ju(t){const s=t.loc,n=t.content,o=n.match(Wu);if(!o)return;const[,l,u]=o,c=(S,w,P=!1)=>{const T=s.start.offset+w,A=T+S.length;return Os(S,!1,pe(T,A),0,P?1:0)},f={source:c(u.trim(),n.indexOf(u,l.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let p=l.trim().replace(Ku,"").trim();const x=l.indexOf(p),g=p.match(Kn);if(g){p=p.replace(Kn,"").trim();const S=g[1].trim();let w;if(S&&(w=n.indexOf(S,x+p.length),f.key=c(S,w,!0)),g[2]){const P=g[2].trim();P&&(f.index=c(P,n.indexOf(P,f.key?w+S.length:x+p.length),!0))}}return p&&(f.value=c(p,x,!0)),f}function Se(t,s){return St.slice(t,s)}function Jn(t){fe.inSFCRoot&&(Te.innerLoc=pe(t+1,t+1)),bi(Te);const{tag:s,ns:n}=Te;n===0&&me.isPreTag(s)&&zi++,me.isVoidTag(s)?ks(Te,t):(ue.unshift(Te),(n===1||n===2)&&(fe.inXML=!0)),Te=null}function Ts(t,s,n){const o=ue[0]||Qo,l=o.children[o.children.length-1];l&&l.type===2?(l.content+=t,gt(l.loc,n)):o.children.push({type:2,content:t,loc:pe(s,n)})}function ks(t,s,n=!1){n?gt(t.loc,Zo(s,60)):gt(t.loc,Yu(s,62)+1),fe.inSFCRoot&&(t.children.length?t.innerLoc.end=Un({},t.children[t.children.length-1].loc.end):t.innerLoc.end=Un({},t.innerLoc.start),t.innerLoc.source=Se(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:o,ns:l,children:u}=t;if(lt||(o==="slot"?t.tagType=2:Qu(t)?t.tagType=3:Zu(t)&&(t.tagType=1)),fe.inRCDATA||(t.children=sp(u)),l===0&&me.isIgnoreNewlineTag(o)){const c=u[0];c&&c.type===2&&(c.content=c.content.replace(/^\r?\n/,""))}l===0&&me.isPreTag(o)&&zi--,Si===t&&(lt=fe.inVPre=!1,Si=null),fe.inXML&&(ue[0]?ue[0].ns:me.ns)===0&&(fe.inXML=!1)}function Yu(t,s){let n=t;for(;St.charCodeAt(n)!==s&&n<St.length-1;)n++;return n}function Zo(t,s){let n=t;for(;St.charCodeAt(n)!==s&&n>=0;)n--;return n}const Xu=new Set(["if","else","else-if","for","slot"]);function Qu({tag:t,props:s}){if(t==="template"){for(let n=0;n<s.length;n++)if(s[n].type===7&&Xu.has(s[n].name))return!0}return!1}function Zu({tag:t,props:s}){if(me.isCustomElement(t))return!1;if(t==="component"||ep(t.charCodeAt(0))||Go(t)||me.isBuiltInComponent&&me.isBuiltInComponent(t)||me.isNativeTag&&!me.isNativeTag(t))return!0;for(let n=0;n<s.length;n++){const o=s[n];if(o.type===6&&o.name==="is"&&o.value&&o.value.content.startsWith("vue:"))return!0}return!1}function ep(t){return t>64&&t<91}const tp=/\r\n/g;function sp(t,s){const n=me.whitespace!=="preserve";let o=!1;for(let l=0;l<t.length;l++){const u=t[l];if(u.type===2)if(zi)u.content=u.content.replace(tp,`
|
||
`);else if(rp(u.content)){const c=t[l-1]&&t[l-1].type,f=t[l+1]&&t[l+1].type;!c||!f||n&&(c===3&&(f===3||f===1)||c===1&&(f===3||f===1&&ip(u.content)))?(o=!0,t[l]=null):u.content=" "}else n&&(u.content=el(u.content))}return o?t.filter(Boolean):t}function rp(t){for(let s=0;s<t.length;s++)if(!Me(t.charCodeAt(s)))return!1;return!0}function ip(t){for(let s=0;s<t.length;s++){const n=t.charCodeAt(s);if(n===10||n===13)return!0}return!1}function el(t){let s="",n=!1;for(let o=0;o<t.length;o++)Me(t.charCodeAt(o))?n||(s+=" ",n=!0):(s+=t[o],n=!1);return s}function bi(t){(ue[0]||Qo).children.push(t)}function pe(t,s){return{start:fe.getPos(t),end:s==null?s:fe.getPos(s),source:s==null?s:Se(t,s)}}function np(t){return pe(t.start.offset,t.end.offset)}function gt(t,s){t.end=fe.getPos(s),t.source=Se(t.start.offset,s)}function ap(t){const s={type:6,name:t.rawName,nameLoc:pe(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const n=t.exp.loc;n.end.offset<t.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),s.value={type:2,content:t.exp.content,loc:n}}return s}function Os(t,s=!1,n,o=0,l=0){const u=X(t,s,n,o);if(!s&&me.prefixIdentifiers&&l!==3&&t.trim()){if(ss(t))return u.ast=null,u;try{const c=me.expressionPlugins,f={plugins:c?[...c,"typescript"]:["typescript"]};l===2?u.ast=wt.parse(` ${t} `,f).program:l===1?u.ast=wt.parseExpression(`(${t})=>{}`,f):u.ast=wt.parseExpression(`(${t})`,f)}catch(c){u.ast=!1,Ae(45,n.start.offset,c.message)}}return u}function Ae(t,s,n){me.onError(ae(t,pe(s,s),void 0,n))}function qe(t,s){const{constantCache:n}=s;switch(t.type){case 1:if(t.tagType!==0)return 0;const o=n.get(t);if(o!==void 0)return o;const l=t.codegenNode;if(l.type!==13||l.isBlock&&t.tag!=="svg"&&t.tag!=="foreignObject"&&t.tag!=="math")return 0;if(l.patchFlag===void 0){let c=3;const f=lp(t,s);if(f===0)return n.set(t,0),0;f<c&&(c=f);for(let p=0;p<t.children.length;p++){const x=qe(t.children[p],s);if(x===0)return n.set(t,0),0;x<c&&(c=x)}if(c>1)for(let p=0;p<t.props.length;p++){const x=t.props[p];if(x.type===7&&x.name==="bind"&&x.exp){const g=qe(x.exp,s);if(g===0)return n.set(t,0),0;g<c&&(c=g)}}if(l.isBlock){for(let p=0;p<t.props.length;p++)if(t.props[p].type===7)return n.set(t,0),0;s.removeHelper(Ut),s.removeHelper(ts(s.inSSR,l.isComponent)),l.isBlock=!1,s.helper(es(s.inSSR,l.isComponent))}return n.set(t,c),c}else return n.set(t,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return qe(t.content,s);case 4:return t.constType;case 8:let u=3;for(let c=0;c<t.children.length;c++){const f=t.children[c];if(Fe(f)||Po(f))continue;const p=qe(f,s);if(p===0)return 0;p<u&&(u=p)}return u;case 20:return 2;default:return 0}}const op=new Set([Fi,Ui,Zt,as]);function tl(t,s){if(t.type===14&&!Fe(t.callee)&&op.has(t.callee)){const n=t.arguments[0];if(n.type===4)return qe(n,s);if(n.type===14)return tl(n,s)}return 0}function lp(t,s){let n=3;const o=hp(t);if(o&&o.type===15){const{properties:l}=o;for(let u=0;u<l.length;u++){const{key:c,value:f}=l[u],p=qe(c,s);if(p===0)return p;p<n&&(n=p);let x;if(f.type===4?x=qe(f,s):f.type===14?x=tl(f,s):x=0,x===0)return x;x<n&&(n=x)}}return n}function hp(t){const s=t.codegenNode;if(s.type===13)return s.props}function cp(t,s){let n=0;const o=()=>{n--};for(;n<t.children.length;n++){const l=t.children[n];Fe(l)||(s.grandParent=s.parent,s.parent=t,s.childIndex=n,s.onNodeRemoved=o,Hi(l,s))}}function Hi(t,s){s.currentNode=t;const{nodeTransforms:n}=s,o=[];for(let u=0;u<n.length;u++){const c=n[u](t,s);if(c&&(Gc(c)?o.push(...c):o.push(c)),s.currentNode)t=s.currentNode;else return}switch(t.type){case 3:s.ssr||s.helper(_i);break;case 5:s.ssr||s.helper(Bi);break;case 9:for(let u=0;u<t.branches.length;u++)Hi(t.branches[u],s);break;case 10:case 11:case 1:case 0:cp(t,s);break}s.currentNode=t;let l=o.length;for(;l--;)o[l]()}function sl(t,s){const n=Fe(t)?o=>o===t:o=>t.test(o);return(o,l)=>{if(o.type===1){const{props:u}=o;if(o.tagType===3&&u.some(Yo))return;const c=[];for(let f=0;f<u.length;f++){const p=u[f];if(p.type===7&&n(p.name)){u.splice(f,1),f--;const x=s(o,p,l);x&&c.push(x)}}return c}}}const up=ut("true,false,null,this"),pp=(t,s)=>{if(t.type===5)t.content=be(t.content,s);else if(t.type===1){const n=ve(t,"memo");for(let o=0;o<t.props.length;o++){const l=t.props[o];if(l.type===7&&l.name!=="for"){const u=l.exp,c=l.arg;u&&u.type===4&&!(l.name==="on"&&c)&&!(n&&c&&c.type===4&&c.content==="key")&&(l.exp=be(u,s,l.name==="slot")),c&&c.type===4&&!c.isStatic&&(l.arg=be(c,s))}}}};function be(t,s,n=!1,o=!1,l=Object.create(s.identifiers)){if(!s.prefixIdentifiers||!t.content.trim())return t;const{inline:u,bindingMetadata:c}=s,f=(A,d,N)=>{const k=Wc(c,A)&&c[A];if(u){const L=d&&d.type==="AssignmentExpression"&&d.left===N,U=d&&d.type==="UpdateExpression"&&d.argument===N,_=d&&$o(d,S),M=d&&Lu(S),R=E=>{const O=`${s.helperString(Bs)}(${E})`;return M?`(${O})`:O};if(Yn(k)||k==="setup-reactive-const"||l[A])return A;if(k==="setup-ref")return`${A}.value`;if(k==="setup-maybe-ref")return L||U||_?`${A}.value`:R(A);if(k==="setup-let")if(L){const{right:E,operator:O}=d,D=p.slice(E.start-1,E.end-1),B=rl(be(X(D,!1),s,!1,!1,w));return`${s.helperString(Fs)}(${A})${s.isTS?` //@ts-ignore
|
||
`:""} ? ${A}.value ${O} ${B} : ${A}`}else if(U){N.start=d.start,N.end=d.end;const{prefix:E,operator:O}=d,D=E?O:"",B=E?"":O;return`${s.helperString(Fs)}(${A})${s.isTS?` //@ts-ignore
|
||
`:""} ? ${D}${A}.value${B} : ${D}${A}${B}`}else return _?A:R(A);else{if(k==="props")return jn(A);if(k==="props-aliased")return jn(c.__propsAliases[A])}}else{if(k&&k.startsWith("setup")||k==="literal-const")return`$setup.${A}`;if(k==="props-aliased")return`$props['${c.__propsAliases[A]}']`;if(k)return`$${k}.${A}`}return`_ctx.${A}`},p=t.content;let x=t.ast;if(x===!1)return t;if(x===null||!x&&ss(p)){const A=s.identifiers[p],d=So(p),N=up(p);return!n&&!A&&!N&&(!d||c[p])?(Yn(c[p])&&(t.constType=1),t.content=f(p)):A||(N?t.constType=3:t.constType=2),t}if(!x){const A=o?` ${p} `:`(${p})${n?"=>{}":""}`;try{x=wt.parseExpression(A,{sourceType:"module",plugins:s.expressionPlugins})}catch(d){return s.onError(ae(45,t.loc,void 0,d.message)),t}}const g=[],S=[],w=Object.create(s.identifiers);ku(x,(A,d,N,k,L)=>{if(Du(A,d))return;const U=k&&fp(A);U&&!L?(Ho(d)&&d.shorthand&&(A.prefix=`${A.name}: `),A.name=f(A.name,d,A),g.push(A)):(!(U&&L)&&(!d||d.type!=="CallExpression"&&d.type!=="NewExpression"&&d.type!=="MemberExpression")&&(A.isConstant=!0),g.push(A))},!0,S,w);const P=[];g.sort((A,d)=>A.start-d.start),g.forEach((A,d)=>{const N=A.start-1,k=A.end-1,L=g[d-1],U=p.slice(L?L.end-1:0,N);(U.length||A.prefix)&&P.push(U+(A.prefix||""));const _=p.slice(N,k);P.push(X(A.name,!1,{start:Wn(t.loc.start,_,N),end:Wn(t.loc.start,_,k),source:_},A.isConstant?3:0)),d===g.length-1&&k<p.length&&P.push(p.slice(k))});let T;return P.length?(T=Ce(P,t.loc),T.ast=x):(T=t,T.constType=3),T.identifiers=Object.keys(w),T}function fp(t){return!(So(t.name)||t.name==="require")}function rl(t){return Fe(t)?t:t.type===4?t.content:t.children.map(rl).join("")}function Yn(t){return t==="setup-const"||t==="literal-const"}const dp=sl(/^(if|else|else-if)$/,(t,s,n)=>mp(t,s,n,(o,l,u)=>{const c=n.parent.children;let f=c.indexOf(o),p=0;for(;f-->=0;){const x=c[f];x&&x.type===9&&(p+=x.branches.length)}return()=>{if(u)o.codegenNode=Qn(l,p,n);else{const x=gp(o.codegenNode);x.alternate=Qn(l,p+o.branches.length-1,n)}}}));function mp(t,s,n,o){if(s.name!=="else"&&(!s.exp||!s.exp.content.trim())){const l=s.exp?s.exp.loc:t.loc;n.onError(ae(28,s.loc)),s.exp=X("true",!1,l)}if(n.prefixIdentifiers&&s.exp&&(s.exp=be(s.exp,n)),s.name==="if"){const l=Xn(t,s),u={type:9,loc:np(t.loc),branches:[l]};if(n.replaceNode(u),o)return o(u,l,!0)}else{const l=n.parent.children,u=[];let c=l.indexOf(t);for(;c-->=-1;){const f=l[c];if(f&&f.type===3){n.removeNode(f),u.unshift(f);continue}if(f&&f.type===2&&!f.content.trim().length){n.removeNode(f);continue}if(f&&f.type===9){s.name==="else-if"&&f.branches[f.branches.length-1].condition===void 0&&n.onError(ae(30,t.loc)),n.removeNode();const p=Xn(t,s);u.length&&!(n.parent&&n.parent.type===1&&(n.parent.tag==="transition"||n.parent.tag==="Transition"))&&(p.children=[...u,...p.children]);{const g=p.userKey;g&&f.branches.forEach(({userKey:S})=>{yp(S,g)&&n.onError(ae(29,p.userKey.loc))})}f.branches.push(p);const x=o&&o(f,p,!1);Hi(p,n),x&&x(),n.currentNode=null}else n.onError(ae(30,t.loc));break}}}function Xn(t,s){const n=t.tagType===3;return{type:10,loc:t.loc,condition:s.name==="else"?void 0:s.exp,children:n&&!ve(t,"for")?t.children:[t],userKey:rs(t,"key"),isTemplateIf:n}}function Qn(t,s,n){return t.condition?mi(t.condition,Zn(t,s,n),de(n.helper(_i),['"v-if"',"true"])):Zn(t,s,n)}function Zn(t,s,n){const{helper:o}=n,l=ce("key",X(`${s}`,!1,je,2)),{children:u}=t,c=u[0];if(u.length!==1||c.type!==1)if(u.length===1&&c.type===11){const p=c.codegenNode;return qs(p,l,n),p}else{let p=64;return!t.isTemplateIf&&u.filter(x=>x.type!==3).length===1&&(p|=2048),Us(n,o(_s),Be([l]),u,p,void 0,void 0,!0,!1,!1,t.loc)}else{const p=c.codegenNode,x=Hu(p);return x.type===13&&Do(x,n),qs(x,l,n),p}}function yp(t,s){if(!t||t.type!==s.type)return!1;if(t.type===6){if(t.value.content!==s.value.content)return!1}else{const n=t.exp,o=s.exp;if(n.type!==o.type||n.type!==4||n.isStatic!==o.isStatic||n.content!==o.content)return!1}return!0}function gp(t){for(;;)if(t.type===19)if(t.alternate.type===19)t=t.alternate;else return t;else t.type===20&&(t=t.value)}const xp=(t,s,n)=>{const{modifiers:o,loc:l}=t,u=t.arg;let{exp:c}=t;if(c&&c.type===4&&!c.content.trim())return n.onError(ae(34,l)),{props:[ce(u,X("",!0,l))]};if(!c){if(u.type!==4||!u.isStatic)return n.onError(ae(52,u.loc)),{props:[ce(u,X("",!0,l))]};il(t,n),c=t.exp}return u.type!==4?(u.children.unshift("("),u.children.push(') || ""')):u.isStatic||(u.content=`${u.content} || ""`),o.some(f=>f.content==="camel")&&(u.type===4?u.isStatic?u.content=Ze(u.content):u.content=`${n.helperString(fi)}(${u.content})`:(u.children.unshift(`${n.helperString(fi)}(`),u.children.push(")"))),n.inSSR||(o.some(f=>f.content==="prop")&&ea(u,"."),o.some(f=>f.content==="attr")&&ea(u,"^")),{props:[ce(u,c)]}},il=(t,s)=>{const n=t.arg,o=Ze(n.content);t.exp=X(o,!1,n.loc),t.exp=be(t.exp,s)},ea=(t,s)=>{t.type===4?t.isStatic?t.content=s+t.content:t.content=`\`${s}\${${t.content}}\``:(t.children.unshift(`'${s}' + (`),t.children.push(")"))},Pp=sl("for",(t,s,n)=>{const{helper:o,removeHelper:l}=n;return wp(t,s,n,u=>{const c=de(o(Di),[u.source]),f=is(t),p=ve(t,"memo"),x=rs(t,"key",!1,!0),g=x&&x.type===7;g&&!x.exp&&il(x,n);let S=x&&(x.type===6?x.value?X(x.value.content,!0):void 0:x.exp);p&&S&&g&&(x.exp=S=be(S,n));const w=x&&S?ce("key",S):null;f&&(p&&(p.exp=be(p.exp,n)),w&&x.type!==6&&(w.value=be(w.value,n)));const P=u.source.type===4&&u.source.constType>0,T=P?64:x?128:256;return u.codegenNode=Us(n,o(_s),void 0,c,T,void 0,void 0,!0,!P,!1,t.loc),()=>{let A;const{children:d}=u;f&&t.children.some(L=>{if(L.type===1){const U=rs(L,"key");if(U)return n.onError(ae(33,U.loc)),!0}});const N=d.length!==1||d[0].type!==1,k=Pi(t)?t:f&&t.children.length===1&&Pi(t.children[0])?t.children[0]:null;if(k?(A=k.codegenNode,f&&w&&qs(A,w,n)):N?A=Us(n,o(_s),w?Be([w]):void 0,t.children,64,void 0,void 0,!0,void 0,!1):(A=d[0].codegenNode,f&&w&&qs(A,w,n),A.isBlock!==!P&&(A.isBlock?(l(Ut),l(ts(n.inSSR,A.isComponent))):l(es(n.inSSR,A.isComponent))),A.isBlock=!P,A.isBlock?(o(Ut),o(ts(n.inSSR,A.isComponent))):o(es(n.inSSR,A.isComponent))),p){const L=qt(Ai(u.parseResult,[X("_cached")]));L.body=uu([Ce(["const _memo = (",p.exp,")"]),Ce(["if (_cached",...S?[" && _cached.key === ",S]:[],` && ${n.helperString(_o)}(_cached, _memo)) return _cached`]),Ce(["const _item = ",A]),X("_item.memo = _memo"),X("return _item")]),c.arguments.push(L,X("_cache"),X(String(n.cached.length))),n.cached.push(null)}else c.arguments.push(qt(Ai(u.parseResult),A,!0))}})});function wp(t,s,n,o){if(!s.exp){n.onError(ae(31,s.loc));return}const l=s.forParseResult;if(!l){n.onError(ae(32,s.loc));return}Wi(l,n);const{addIdentifiers:u,removeIdentifiers:c,scopes:f}=n,{source:p,value:x,key:g,index:S}=l,w={type:11,loc:s.loc,source:p,valueAlias:x,keyAlias:g,objectIndexAlias:S,parseResult:l,children:is(t)?t.children:[t]};n.replaceNode(w),f.vFor++,n.prefixIdentifiers&&(x&&u(x),g&&u(g),S&&u(S));const P=o&&o(w);return()=>{f.vFor--,n.prefixIdentifiers&&(x&&c(x),g&&c(g),S&&c(S)),P&&P()}}function Wi(t,s){t.finalized||(s.prefixIdentifiers&&(t.source=be(t.source,s),t.key&&(t.key=be(t.key,s,!0)),t.index&&(t.index=be(t.index,s,!0)),t.value&&(t.value=be(t.value,s,!0))),t.finalized=!0)}function Ai({value:t,key:s,index:n},o=[]){return Sp([t,s,n,...o])}function Sp(t){let s=t.length;for(;s--&&!t[s];);return t.slice(0,s+1).map((n,o)=>n||X("_".repeat(o+1),!1))}const ta=X("undefined",!1),bp=(t,s)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const n=ve(t,"slot");if(n){const o=n.exp;return s.prefixIdentifiers&&o&&s.addIdentifiers(o),s.scopes.vSlot++,()=>{s.prefixIdentifiers&&o&&s.removeIdentifiers(o),s.scopes.vSlot--}}}},Ap=(t,s)=>{let n;if(is(t)&&t.props.some(Yo)&&(n=ve(t,"for"))){const o=n.forParseResult;if(o){Wi(o,s);const{value:l,key:u,index:c}=o,{addIdentifiers:f,removeIdentifiers:p}=s;return l&&f(l),u&&f(u),c&&f(c),()=>{l&&p(l),u&&p(u),c&&p(c)}}}},Tp=(t,s,n,o)=>qt(t,n,!1,!0,n.length?n[0].loc:o);function Ep(t,s,n=Tp){s.helper(Mo);const{children:o,loc:l}=t,u=[],c=[];let f=s.scopes.vSlot>0||s.scopes.vFor>0;!s.ssr&&s.prefixIdentifiers&&(f=Le(t,s.identifiers));const p=ve(t,"slot",!0);if(p){const{arg:d,exp:N}=p;d&&!Ie(d)&&(f=!0),u.push(ce(d||X("default",!0),n(N,void 0,o,l)))}let x=!1,g=!1;const S=[],w=new Set;let P=0;for(let d=0;d<o.length;d++){const N=o[d];let k;if(!is(N)||!(k=ve(N,"slot",!0))){N.type!==3&&S.push(N);continue}if(p){s.onError(ae(37,k.loc));break}x=!0;const{children:L,loc:U}=N,{arg:_=X("default",!0),exp:M,loc:R}=k;let E;Ie(_)?E=_?_.content:"default":f=!0;const O=ve(N,"for"),D=n(M,O,L,U);let B,z;if(B=ve(N,"if"))f=!0,c.push(mi(B.exp,Es(_,D,P++),ta));else if(z=ve(N,/^else(-if)?$/,!0)){let J=d,Q;for(;J--&&(Q=o[J],Q.type===3););if(Q&&is(Q)&&ve(Q,/^(else-)?if$/)){let F=c[c.length-1];for(;F.alternate.type===19;)F=F.alternate;F.alternate=z.exp?mi(z.exp,Es(_,D,P++),ta):Es(_,D,P++)}else s.onError(ae(30,z.loc))}else if(O){f=!0;const J=O.forParseResult;J?(Wi(J,s),c.push(de(s.helper(Di),[J.source,qt(Ai(J),Es(_,D),!0)]))):s.onError(ae(32,O.loc))}else{if(E){if(w.has(E)){s.onError(ae(38,R));continue}w.add(E),E==="default"&&(g=!0)}u.push(ce(_,D))}}if(!p){const d=(N,k)=>{const L=n(N,void 0,k,l);return ce("default",L)};x?S.length&&S.some(N=>nl(N))&&(g?s.onError(ae(39,S[0].loc)):u.push(d(void 0,S))):u.push(d(void 0,o))}const T=f?2:Ls(t.children)?3:1;let A=Be(u.concat(ce("_",X(T+` /* ${Zc[T]} */`,!1))),l);return c.length&&(A=de(s.helper(Oo),[A,Ws(c)])),{slots:A,hasDynamicSlots:f}}function Es(t,s,n){const o=[ce("name",t),ce("fn",s)];return n!=null&&o.push(ce("key",X(String(n),!0))),Be(o)}function Ls(t){for(let s=0;s<t.length;s++){const n=t[s];switch(n.type){case 1:if(n.tagType===2||Ls(n.children))return!0;break;case 9:if(Ls(n.branches))return!0;break;case 10:case 11:if(Ls(n.children))return!0;break}}return!1}function nl(t){return t.type!==2&&t.type!==12?!0:t.type===2?!!t.content.trim():nl(t.content)}const al=new WeakMap,vp=(t,s)=>function(){if(t=s.currentNode,!(t.type===1&&(t.tagType===0||t.tagType===1)))return;const{tag:o,props:l}=t,u=t.tagType===1;let c=u?Cp(t,s):`"${o}"`;const f=wo(c)&&c.callee===Ri;let p,x,g=0,S,w,P,T=f||c===Xt||c===Mi||!u&&(o==="svg"||o==="foreignObject"||o==="math");if(l.length>0){const A=ol(t,s,void 0,u,f);p=A.props,g=A.patchFlag,w=A.dynamicPropNames;const d=A.directives;P=d&&d.length?Ws(d.map(N=>Np(N,s))):void 0,A.shouldUseBlock&&(T=!0)}if(t.children.length>0)if(c===Rs&&(T=!0,g|=1024,t.children.length>1&&s.onError(ae(46,{start:t.children[0].loc.start,end:t.children[t.children.length-1].loc.end,source:""}))),u&&c!==Xt&&c!==Rs){const{slots:d,hasDynamicSlots:N}=Ep(t,s);x=d,N&&(g|=1024)}else if(t.children.length===1&&c!==Xt){const d=t.children[0],N=d.type,k=N===5||N===8;k&&qe(d,s)===0&&(g|=1),k||N===2?x=d:x=t.children}else x=t.children;w&&w.length&&(S=kp(w)),t.codegenNode=Us(s,c,p,x,g===0?void 0:g,S,P,!!T,!1,u,t.loc)};function Cp(t,s,n=!1){let{tag:o}=t;const l=Ei(o),u=rs(t,"is",!1,!0);if(u)if(l){let f;if(u.type===6?f=u.value&&X(u.value.content,!0):(f=u.exp,f||(f=X("is",!1,u.arg.loc),f=u.exp=be(f,s))),f)return de(s.helper(Ri),[f])}else u.type===6&&u.value.content.startsWith("vue:")&&(o=u.value.content.slice(4));const c=Go(o)||s.isBuiltInComponent(o);if(c)return n||s.helper(c),c;{const f=Ti(o,s);if(f)return f;const p=o.indexOf(".");if(p>0){const x=Ti(o.slice(0,p),s);if(x)return x+o.slice(p)}}return s.selfName&&Hs(Ze(o))===s.selfName?(s.helper(pi),s.components.add(o+"__self"),wi(o,"component")):(s.helper(pi),s.components.add(o),wi(o,"component"))}function Ti(t,s){const n=s.bindingMetadata;if(!n||n.__isScriptSetup===!1)return;const o=Ze(t),l=Hs(o),u=x=>{if(n[t]===x)return t;if(n[o]===x)return o;if(n[l]===x)return l},c=u("setup-const")||u("setup-reactive-const")||u("literal-const");if(c)return s.inline?c:`$setup[${JSON.stringify(c)}]`;const f=u("setup-let")||u("setup-ref")||u("setup-maybe-ref");if(f)return s.inline?`${s.helperString(Bs)}(${f})`:`$setup[${JSON.stringify(f)}]`;const p=u("props");if(p)return`${s.helperString(Bs)}(${s.inline?"__props":"$props"}[${JSON.stringify(p)}])`}function ol(t,s,n=t.props,o,l,u=!1){const{tag:c,loc:f,children:p}=t;let x=[];const g=[],S=[],w=p.length>0;let P=!1,T=0,A=!1,d=!1,N=!1,k=!1,L=!1,U=!1;const _=[],M=D=>{x.length&&(g.push(Be(sa(x),f)),x=[]),D&&g.push(D)},R=()=>{s.scopes.vFor>0&&x.push(ce(X("ref_for",!0),X("true")))},E=({key:D,value:B})=>{if(Ie(D)){const z=D.content,J=xo(z);if(J&&(!o||l)&&z.toLowerCase()!=="onclick"&&z!=="onUpdate:modelValue"&&!qn(z)&&(k=!0),J&&qn(z)&&(U=!0),J&&B.type===14&&(B=B.arguments[0]),B.type===20||(B.type===4||B.type===8)&&qe(B,s)>0)return;z==="ref"?A=!0:z==="class"?d=!0:z==="style"?N=!0:z!=="key"&&!_.includes(z)&&_.push(z),o&&(z==="class"||z==="style")&&!_.includes(z)&&_.push(z)}else L=!0};for(let D=0;D<n.length;D++){const B=n[D];if(B.type===6){const{loc:z,name:J,nameLoc:Q,value:F}=B;let te=!0;if(J==="ref"&&(A=!0,R(),F&&s.inline)){const ee=s.bindingMetadata[F.content];(ee==="setup-let"||ee==="setup-ref"||ee==="setup-maybe-ref")&&(te=!1,x.push(ce(X("ref_key",!0),X(F.content,!0,F.loc))))}if(J==="is"&&(Ei(c)||F&&F.content.startsWith("vue:")))continue;x.push(ce(X(J,!0,Q),X(F?F.content:"",te,F?F.loc:z)))}else{const{name:z,arg:J,exp:Q,loc:F,modifiers:te}=B,ee=z==="bind",oe=z==="on";if(z==="slot"){o||s.onError(ae(40,F));continue}if(z==="once"||z==="memo"||z==="is"||ee&&yt(J,"is")&&Ei(c)||oe&&u)continue;if((ee&&yt(J,"key")||oe&&w&&yt(J,"vue:before-update"))&&(P=!0),ee&&yt(J,"ref")&&R(),!J&&(ee||oe)){L=!0,Q?ee?(R(),M(),g.push(Q)):M({type:14,loc:F,callee:s.helper(qi),arguments:o?[Q]:[Q,"true"]}):s.onError(ae(ee?34:35,F));continue}ee&&te.some(ye=>ye.content==="prop")&&(T|=32);const ke=s.directiveTransforms[z];if(ke){const{props:ye,needRuntime:$e}=ke(B,t,s);!u&&ye.forEach(E),oe&&J&&!Ie(J)?M(Be(ye,f)):x.push(...ye),$e&&(S.push(B),Po($e)&&al.set(B,$e))}else Kc(z)||(S.push(B),w&&(P=!0))}}let O;if(g.length?(M(),g.length>1?O=de(s.helper(Ds),g,f):O=g[0]):x.length&&(O=Be(sa(x),f)),L?T|=16:(d&&!o&&(T|=2),N&&!o&&(T|=4),_.length&&(T|=8),k&&(T|=32)),!P&&(T===0||T===32)&&(A||U||S.length>0)&&(T|=512),!s.inSSR&&O)switch(O.type){case 15:let D=-1,B=-1,z=!1;for(let F=0;F<O.properties.length;F++){const te=O.properties[F].key;Ie(te)?te.content==="class"?D=F:te.content==="style"&&(B=F):te.isHandlerKey||(z=!0)}const J=O.properties[D],Q=O.properties[B];z?O=de(s.helper(Zt),[O]):(J&&!Ie(J.value)&&(J.value=de(s.helper(Fi),[J.value])),Q&&(N||Q.value.type===4&&Q.value.content.trim()[0]==="["||Q.value.type===17)&&(Q.value=de(s.helper(Ui),[Q.value])));break;case 14:break;default:O=de(s.helper(Zt),[de(s.helper(as),[O])]);break}return{props:O,directives:S,patchFlag:T,dynamicPropNames:_,shouldUseBlock:P}}function sa(t){const s=new Map,n=[];for(let o=0;o<t.length;o++){const l=t[o];if(l.key.type===8||!l.key.isStatic){n.push(l);continue}const u=l.key.content,c=s.get(u);c?(u==="style"||u==="class"||xo(u))&&Ip(c,l):(s.set(u,l),n.push(l))}return n}function Ip(t,s){t.value.type===17?t.value.elements.push(s.value):t.value=Ws([t.value,s.value],t.loc)}function Np(t,s){const n=[],o=al.get(t);if(o)n.push(s.helperString(o));else{const u=Ti("v-"+t.name,s);u?n.push(u):(s.helper(Io),s.directives.add(t.name),n.push(wi(t.name,"directive")))}const{loc:l}=t;if(t.exp&&n.push(t.exp),t.arg&&(t.exp||n.push("void 0"),n.push(t.arg)),Object.keys(t.modifiers).length){t.arg||(t.exp||n.push("void 0"),n.push("void 0"));const u=X("true",!1,l);n.push(Be(t.modifiers.map(c=>ce(c,u)),l))}return Ws(n,t.loc)}function kp(t){let s="[";for(let n=0,o=t.length;n<o;n++)s+=JSON.stringify(t[n]),n<o-1&&(s+=", ");return s+"]"}function Ei(t){return t==="component"||t==="Component"}const Op=(t,s)=>{if(Pi(t)){const{children:n,loc:o}=t,{slotName:l,slotProps:u}=Lp(t,s),c=[s.prefixIdentifiers?"_ctx.$slots":"$slots",l,"{}","undefined","true"];let f=2;u&&(c[2]=u,f=3),n.length&&(c[3]=qt([],n,!1,!1,o),f=4),s.scopeId&&!s.slotted&&(f=5),c.splice(f),t.codegenNode=de(s.helper(ko),c,o)}};function Lp(t,s){let n='"default"',o;const l=[];for(let u=0;u<t.props.length;u++){const c=t.props[u];if(c.type===6)c.value&&(c.name==="name"?n=JSON.stringify(c.value.content):(c.name=Ze(c.name),l.push(c)));else if(c.name==="bind"&&yt(c.arg,"name")){if(c.exp)n=c.exp;else if(c.arg&&c.arg.type===4){const f=Ze(c.arg.content);n=c.exp=X(f,!1,c.arg.loc),n=c.exp=be(c.exp,s)}}else c.name==="bind"&&c.arg&&Ie(c.arg)&&(c.arg.content=Ze(c.arg.content)),l.push(c)}if(l.length>0){const{props:u,directives:c}=ol(t,s,l,!1,!1);o=u,c.length&&s.onError(ae(36,c[0].loc))}return{slotName:n,slotProps:o}}const ll=(t,s,n,o)=>{const{loc:l,modifiers:u,arg:c}=t;!t.exp&&!u.length&&n.onError(ae(35,l));let f;if(c.type===4)if(c.isStatic){let S=c.content;S.startsWith("vnode")&&n.onError(ae(51,c.loc)),S.startsWith("vue:")&&(S=`vnode-${S.slice(4)}`);const w=s.tagType!==0||S.startsWith("vnode")||!/[A-Z]/.test(S)?Yc(Ze(S)):`on:${S}`;f=X(w,!0,c.loc)}else f=Ce([`${n.helperString(di)}(`,c,")"]);else f=c,f.children.unshift(`${n.helperString(di)}(`),f.children.push(")");let p=t.exp;p&&!p.content.trim()&&(p=void 0);let x=n.cacheHandlers&&!p&&!n.inVOnce;if(p){const S=Jo(p,n),w=!(S||ju(p,n)),P=p.content.includes(";");n.prefixIdentifiers&&(w&&n.addIdentifiers("$event"),p=t.exp=be(p,n,!1,P),w&&n.removeIdentifiers("$event"),x=n.cacheHandlers&&!n.inVOnce&&!(p.type===4&&p.constType>0)&&!(S&&s.tagType===1)&&!Le(p,n.identifiers),x&&S&&(p.type===4?p.content=`${p.content} && ${p.content}(...args)`:p.children=[...p.children," && ",...p.children,"(...args)"])),(w||x&&S)&&(p=Ce([`${w?n.isTS?"($event: any)":"$event":`${n.isTS?`
|
||
//@ts-ignore
|
||
`:""}(...args)`} => ${P?"{":"("}`,p,P?"}":")"]))}let g={props:[ce(f,p||X("() => {}",!1,l))]};return o&&(g=o(g)),x&&(g.props[0].value=n.cache(g.props[0].value)),g.props.forEach(S=>S.key.isHandlerKey=!0),g},Mp=(t,s)=>{if(t.type===0||t.type===1||t.type===11||t.type===10)return()=>{const n=t.children;let o,l=!1;for(let u=0;u<n.length;u++){const c=n[u];if(br(c)){l=!0;for(let f=u+1;f<n.length;f++){const p=n[f];if(br(p))o||(o=n[u]=Ce([c],c.loc)),o.children.push(" + ",p),n.splice(f,1),f--;else{o=void 0;break}}}}if(!(!l||n.length===1&&(t.type===0||t.type===1&&t.tagType===0&&!t.props.find(u=>u.type===7&&!s.directiveTransforms[u.name]))))for(let u=0;u<n.length;u++){const c=n[u];if(br(c)||c.type===8){const f=[];(c.type!==2||c.content!==" ")&&f.push(c),!s.ssr&&qe(c,s)===0&&f.push(`1 /* ${Qc[1]} */`),n[u]={type:12,content:c,loc:c.loc,codegenNode:de(s.helper(Co),f)}}}}},ra=new WeakSet,_p=(t,s)=>{if(t.type===1&&ve(t,"once",!0))return ra.has(t)||s.inVOnce||s.inSSR?void 0:(ra.add(t),s.inVOnce=!0,s.helper(Lo),()=>{s.inVOnce=!1;const n=s.currentNode;n.codegenNode&&(n.codegenNode=s.cache(n.codegenNode,!0,!0))})},hl=(t,s,n)=>{const{exp:o,arg:l}=t;if(!o)return n.onError(ae(41,t.loc)),Kt();const u=o.loc.source.trim(),c=o.type===4?o.content:u,f=n.bindingMetadata[u];if(f==="props"||f==="props-aliased")return n.onError(ae(44,o.loc)),Kt();const p=n.inline&&(f==="setup-let"||f==="setup-ref"||f==="setup-maybe-ref");if(!c.trim()||!Jo(o,n)&&!p)return n.onError(ae(42,o.loc)),Kt();if(n.prefixIdentifiers&&ss(c)&&n.identifiers[c])return n.onError(ae(43,o.loc)),Kt();const x=l||X("modelValue",!0),g=l?Ie(l)?`onUpdate:${Ze(l.content)}`:Ce(['"onUpdate:" + ',l]):"onUpdate:modelValue";let S;const w=n.isTS?"($event: any)":"$event";if(p)if(f==="setup-ref")S=Ce([`${w} => ((`,X(u,!1,o.loc),").value = $event)"]);else{const T=f==="setup-let"?`${u} = $event`:"null";S=Ce([`${w} => (${n.helperString(Fs)}(${u}) ? (`,X(u,!1,o.loc),`).value = $event : ${T})`])}else S=Ce([`${w} => ((`,o,") = $event)"]);const P=[ce(x,t.exp),ce(g,S)];if(n.prefixIdentifiers&&!n.inVOnce&&n.cacheHandlers&&!Le(o,n.identifiers)&&(P[1].value=n.cache(P[1].value)),t.modifiers.length&&s.tagType===1){const T=t.modifiers.map(d=>d.content).map(d=>(ss(d)?d:JSON.stringify(d))+": true").join(", "),A=l?Ie(l)?`${l.content}Modifiers`:Ce([l,' + "Modifiers"']):"modelModifiers";P.push(ce(A,X(`{ ${T} }`,!1,t.loc,2)))}return Kt(P)};function Kt(t=[]){return{props:t}}const ia=new WeakSet,Rp=(t,s)=>{if(t.type===1){const n=ve(t,"memo");return!n||ia.has(t)?void 0:(ia.add(t),()=>{const o=t.codegenNode||s.currentNode.codegenNode;o&&o.type===13&&(t.tagType!==1&&Do(o,s),t.codegenNode=de(s.helper(ji),[n.exp,qt(void 0,o),"_cache",String(s.cached.length)]),s.cached.push(null))})}};function Dp(t){return[[_p,dp,Rp,Pp,...t?[Ap,pp]:[],Op,vp,bp,Mp],{on:ll,bind:xp,model:hl}]}const Bp=()=>({props:[]}),cl=Symbol("vModelRadio"),ul=Symbol("vModelCheckbox"),pl=Symbol("vModelText"),fl=Symbol("vModelSelect"),vi=Symbol("vModelDynamic"),dl=Symbol("vOnModifiersGuard"),ml=Symbol("vOnKeysGuard"),yl=Symbol("vShow"),gl=Symbol("Transition"),Fp=Symbol("TransitionGroup");Ro({[cl]:"vModelRadio",[ul]:"vModelCheckbox",[pl]:"vModelText",[fl]:"vModelSelect",[vi]:"vModelDynamic",[dl]:"withModifiers",[ml]:"withKeys",[yl]:"vShow",[gl]:"Transition",[Fp]:"TransitionGroup"});const Up=t=>{t.type===1&&t.props.forEach((s,n)=>{s.type===6&&s.name==="style"&&s.value&&(t.props[n]={type:7,name:"bind",arg:X("style",!0,s.loc),exp:qp(s.value.content,s.loc),modifiers:[],loc:s.loc})})},qp=(t,s)=>{const n=iu(t);return X(JSON.stringify(n),!1,s,3)};function He(t,s){return ae(t,s,xl)}const xl={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},jp=(t,s,n)=>{const{exp:o,loc:l}=t;return o||n.onError(He(53,l)),s.children.length&&(n.onError(He(54,l)),s.children.length=0),{props:[ce(X("innerHTML",!0,l),o||X("",!0))]}},$p=(t,s,n)=>{const{exp:o,loc:l}=t;return o||n.onError(He(55,l)),s.children.length&&(n.onError(He(56,l)),s.children.length=0),{props:[ce(X("textContent",!0),o?qe(o,n)>0?o:de(n.helperString(Bi),[o],l):X("",!0))]}},Vp=(t,s,n)=>{const o=hl(t,s,n);if(!o.props.length||s.tagType===1)return o;t.arg&&n.onError(He(58,t.arg.loc));function l(){const f=ve(s,"bind");f&&yt(f.arg,"value")&&n.onError(He(60,f.loc))}const{tag:u}=s,c=n.isCustomElement(u);if(u==="input"||u==="textarea"||u==="select"||c){let f=pl,p=!1;if(u==="input"||c){const x=rs(s,"type");if(x){if(x.type===7)f=vi;else if(x.value)switch(x.value.content){case"radio":f=cl;break;case"checkbox":f=ul;break;case"file":p=!0,n.onError(He(59,t.loc));break;default:l();break}}else Vu(s)?f=vi:l()}else u==="select"?f=fl:l();p||(o.needRuntime=n.helper(f))}else n.onError(He(57,t.loc));return o.props=o.props.filter(f=>!(f.key.type===4&&f.key.content==="modelValue")),o},zp=ut("passive,once,capture"),Hp=ut("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Wp=ut("left,right"),Pl=ut("onkeyup,onkeydown,onkeypress"),Gp=(t,s,n,o)=>{const l=[],u=[],c=[];for(let f=0;f<s.length;f++){const p=s[f].content;zp(p)?c.push(p):Wp(p)?Ie(t)?Pl(t.content.toLowerCase())?l.push(p):u.push(p):(l.push(p),u.push(p)):Hp(p)?u.push(p):l.push(p)}return{keyModifiers:l,nonKeyModifiers:u,eventOptionModifiers:c}},na=(t,s)=>Ie(t)&&t.content.toLowerCase()==="onclick"?X(s,!0):t.type!==4?Ce(["(",t,`) === "onClick" ? "${s}" : (`,t,")"]):t,Kp=(t,s,n)=>ll(t,s,n,o=>{const{modifiers:l}=t;if(!l.length)return o;let{key:u,value:c}=o.props[0];const{keyModifiers:f,nonKeyModifiers:p,eventOptionModifiers:x}=Gp(u,l,n,t.loc);if(p.includes("right")&&(u=na(u,"onContextmenu")),p.includes("middle")&&(u=na(u,"onMouseup")),p.length&&(c=de(n.helper(dl),[c,JSON.stringify(p)])),f.length&&(!Ie(u)||Pl(u.content.toLowerCase()))&&(c=de(n.helper(ml),[c,JSON.stringify(f)])),x.length){const g=x.map(Hs).join("");u=Ie(u)?X(`${u.content}${g}`,!0):Ce(["(",u,`) + "${g}"`])}return{props:[ce(u,c)]}}),Jp=(t,s,n)=>{const{exp:o,loc:l}=t;return o||n.onError(He(61,l)),{props:[],needRuntime:n.helper(yl)}},Yp=(t,s)=>{if(t.type===1&&t.tagType===1&&s.isBuiltInComponent(t.tag)===gl)return()=>{if(!t.children.length)return;wl(t)&&s.onError(He(62,{start:t.children[0].loc.start,end:t.children[t.children.length-1].loc.end,source:""}));const o=t.children[0];if(o.type===1)for(const l of o.props)l.type===7&&l.name==="show"&&t.props.push({type:6,name:"persisted",nameLoc:t.loc,value:void 0,loc:t.loc})}};function wl(t){const s=t.children=t.children.filter(o=>o.type!==3&&!(o.type===2&&!o.content.trim())),n=s[0];return s.length!==1||n.type===11||n.type===9&&n.branches.some(wl)}function Xp(t,s){return t in aa?aa[t].has(s):s in oa?oa[s].has(t):!(t in la&&la[t].has(s)||s in ha&&ha[s].has(t))}const Ot=new Set(["h1","h2","h3","h4","h5","h6"]),dt=new Set([]),aa={head:new Set(["base","basefront","bgsound","link","meta","title","noscript","noframes","style","script","template"]),optgroup:new Set(["option"]),select:new Set(["optgroup","option","hr"]),table:new Set(["caption","colgroup","tbody","tfoot","thead"]),tr:new Set(["td","th"]),colgroup:new Set(["col"]),tbody:new Set(["tr"]),thead:new Set(["tr"]),tfoot:new Set(["tr"]),script:dt,iframe:dt,option:dt,textarea:dt,style:dt,title:dt},oa={html:dt,body:new Set(["html"]),head:new Set(["html"]),td:new Set(["tr"]),colgroup:new Set(["table"]),caption:new Set(["table"]),tbody:new Set(["table"]),tfoot:new Set(["table"]),col:new Set(["colgroup"]),th:new Set(["tr"]),thead:new Set(["table"]),tr:new Set(["tbody","thead","tfoot"]),dd:new Set(["dl","div"]),dt:new Set(["dl","div"]),figcaption:new Set(["figure"]),summary:new Set(["details"]),area:new Set(["map"])},la={p:new Set(["address","article","aside","blockquote","center","details","dialog","dir","div","dl","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","menu","ol","p","pre","section","table","ul"]),svg:new Set(["b","blockquote","br","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","hr","i","img","li","menu","meta","ol","p","pre","ruby","s","small","span","strong","sub","sup","table","u","ul","var"])},ha={a:new Set(["a"]),button:new Set(["button"]),dd:new Set(["dd","dt"]),dt:new Set(["dd","dt"]),form:new Set(["form"]),li:new Set(["li"]),h1:Ot,h2:Ot,h3:Ot,h4:Ot,h5:Ot,h6:Ot},Qp=(t,s)=>{if(t.type===1&&t.tagType===0&&s.parent&&s.parent.type===1&&s.parent.tagType===0&&!Xp(s.parent.tag,t.tag)){const n=new SyntaxError(`<${t.tag}> cannot be child of <${s.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);n.loc=t.loc,s.onWarn(n)}},Zp=[Up,Yp,Qp],ef={cloak:Bp,html:jp,text:$p,model:Vp,on:Kp,show:Jp};var bt=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};function Sl(){throw new Error("setTimeout has not been defined")}function bl(){throw new Error("clearTimeout has not been defined")}var at=Sl,ot=bl;typeof bt.setTimeout=="function"&&(at=setTimeout);typeof bt.clearTimeout=="function"&&(ot=clearTimeout);function Al(t){if(at===setTimeout)return setTimeout(t,0);if((at===Sl||!at)&&setTimeout)return at=setTimeout,setTimeout(t,0);try{return at(t,0)}catch{try{return at.call(null,t,0)}catch{return at.call(this,t,0)}}}function tf(t){if(ot===clearTimeout)return clearTimeout(t);if((ot===bl||!ot)&&clearTimeout)return ot=clearTimeout,clearTimeout(t);try{return ot(t)}catch{try{return ot.call(null,t)}catch{return ot.call(this,t)}}}var Xe=[],Dt=!1,xt,Ms=-1;function sf(){!Dt||!xt||(Dt=!1,xt.length?Xe=xt.concat(Xe):Ms=-1,Xe.length&&Tl())}function Tl(){if(!Dt){var t=Al(sf);Dt=!0;for(var s=Xe.length;s;){for(xt=Xe,Xe=[];++Ms<s;)xt&&xt[Ms].run();Ms=-1,s=Xe.length}xt=null,Dt=!1,tf(t)}}function rf(t){var s=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)s[n-1]=arguments[n];Xe.push(new El(t,s)),Xe.length===1&&!Dt&&Al(Tl)}function El(t,s){this.fun=t,this.array=s}El.prototype.run=function(){this.fun.apply(null,this.array)};var nf="browser",af="browser",of=!0,lf={},hf=[],cf="",uf={},pf={},ff={};function At(){}var df=At,mf=At,yf=At,gf=At,xf=At,Pf=At,wf=At;function Sf(t){throw new Error("process.binding is not supported")}function bf(){return"/"}function Af(t){throw new Error("process.chdir is not supported")}function Tf(){return 0}var Lt=bt.performance||{},Ef=Lt.now||Lt.mozNow||Lt.msNow||Lt.oNow||Lt.webkitNow||function(){return new Date().getTime()};function vf(t){var s=Ef.call(Lt)*.001,n=Math.floor(s),o=Math.floor(s%1*1e9);return t&&(n=n-t[0],o=o-t[1],o<0&&(n--,o+=1e9)),[n,o]}var Cf=new Date;function If(){var t=new Date,s=t-Cf;return s/1e3}var ct={nextTick:rf,title:nf,browser:of,env:lf,argv:hf,version:cf,versions:uf,on:df,addListener:mf,once:yf,off:gf,removeListener:xf,removeAllListeners:Pf,emit:wf,binding:Sf,cwd:bf,chdir:Af,umask:Tf,hrtime:vf,platform:af,release:pf,config:ff,uptime:If};function vl(t,s){for(var n=0,o=t.length-1;o>=0;o--){var l=t[o];l==="."?t.splice(o,1):l===".."?(t.splice(o,1),n++):n&&(t.splice(o,1),n--)}if(s)for(;n--;n)t.unshift("..");return t}var Nf=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Gi=function(t){return Nf.exec(t).slice(1)};function js(){for(var t="",s=!1,n=arguments.length-1;n>=-1&&!s;n--){var o=n>=0?arguments[n]:"/";if(typeof o!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!o)continue;t=o+"/"+t,s=o.charAt(0)==="/"}return t=vl(Yi(t.split("/"),function(l){return!!l}),!s).join("/"),(s?"/":"")+t||"."}function Ki(t){var s=Ji(t),n=kf(t,-1)==="/";return t=vl(Yi(t.split("/"),function(o){return!!o}),!s).join("/"),!t&&!s&&(t="."),t&&n&&(t+="/"),(s?"/":"")+t}function Ji(t){return t.charAt(0)==="/"}function Cl(){var t=Array.prototype.slice.call(arguments,0);return Ki(Yi(t,function(s,n){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))}function Il(t,s){t=js(t).substr(1),s=js(s).substr(1);function n(x){for(var g=0;g<x.length&&x[g]==="";g++);for(var S=x.length-1;S>=0&&x[S]==="";S--);return g>S?[]:x.slice(g,S-g+1)}for(var o=n(t.split("/")),l=n(s.split("/")),u=Math.min(o.length,l.length),c=u,f=0;f<u;f++)if(o[f]!==l[f]){c=f;break}for(var p=[],f=c;f<o.length;f++)p.push("..");return p=p.concat(l.slice(c)),p.join("/")}var Nl="/",kl=":";function Ol(t){var s=Gi(t),n=s[0],o=s[1];return!n&&!o?".":(o&&(o=o.substr(0,o.length-1)),n+o)}function Ll(t,s){var n=Gi(t)[2];return s&&n.substr(-1*s.length)===s&&(n=n.substr(0,n.length-s.length)),n}function Ml(t){return Gi(t)[3]}var ns={extname:Ml,basename:Ll,dirname:Ol,sep:Nl,delimiter:kl,relative:Il,join:Cl,isAbsolute:Ji,normalize:Ki,resolve:js};function Yi(t,s){if(t.filter)return t.filter(s);for(var n=[],o=0;o<t.length;o++)s(t[o],o,t)&&n.push(t[o]);return n}var kf="ab".substr(-1)==="b"?function(t,s,n){return t.substr(s,n)}:function(t,s,n){return s<0&&(s=t.length+s),t.substr(s,n)},Of=Object.freeze({__proto__:null,basename:Ll,default:ns,delimiter:kl,dirname:Ol,extname:Ml,isAbsolute:Ji,join:Cl,normalize:Ki,relative:Il,resolve:js,sep:Nl});/*! https://mths.be/punycode v1.4.1 by @mathias */var Ar=2147483647,Qt=36,_l=1,Ci=26,Lf=38,Mf=700,_f=72,Rf=128,Df="-",Bf=/[^\x20-\x7E]/,Ff=/[\x2E\u3002\uFF0E\uFF61]/g,Uf={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Tr=Qt-_l,Mt=Math.floor,Er=String.fromCharCode;function ca(t){throw new RangeError(Uf[t])}function qf(t,s){for(var n=t.length,o=[];n--;)o[n]=s(t[n]);return o}function jf(t,s){var n=t.split("@"),o="";n.length>1&&(o=n[0]+"@",t=n[1]),t=t.replace(Ff,".");var l=t.split("."),u=qf(l,s).join(".");return o+u}function $f(t){for(var s=[],n=0,o=t.length,l,u;n<o;)l=t.charCodeAt(n++),l>=55296&&l<=56319&&n<o?(u=t.charCodeAt(n++),(u&64512)==56320?s.push(((l&1023)<<10)+(u&1023)+65536):(s.push(l),n--)):s.push(l);return s}function ua(t,s){return t+22+75*(t<26)-((s!=0)<<5)}function Vf(t,s,n){var o=0;for(t=n?Mt(t/Mf):t>>1,t+=Mt(t/s);t>Tr*Ci>>1;o+=Qt)t=Mt(t/Tr);return Mt(o+(Tr+1)*t/(t+Lf))}function zf(t){var s,n,o,l,u,c,f,p,x,g,S,w=[],P,T,A,d;for(t=$f(t),P=t.length,s=Rf,n=0,u=_f,c=0;c<P;++c)S=t[c],S<128&&w.push(Er(S));for(o=l=w.length,l&&w.push(Df);o<P;){for(f=Ar,c=0;c<P;++c)S=t[c],S>=s&&S<f&&(f=S);for(T=o+1,f-s>Mt((Ar-n)/T)&&ca("overflow"),n+=(f-s)*T,s=f,c=0;c<P;++c)if(S=t[c],S<s&&++n>Ar&&ca("overflow"),S==s){for(p=n,x=Qt;g=x<=u?_l:x>=u+Ci?Ci:x-u,!(p<g);x+=Qt)d=p-g,A=Qt-g,w.push(Er(ua(g+d%A,0))),p=Mt(d/A);w.push(Er(ua(p,0))),u=Vf(n,T,o==l),n=0,++o}++n,++s}return w.join("")}function Hf(t){return jf(t,function(s){return Bf.test(s)?"xn--"+zf(s):s})}var ze=[],De=[],Wf=typeof Uint8Array<"u"?Uint8Array:Array,Xi=!1;function Rl(){Xi=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,n=t.length;s<n;++s)ze[s]=t[s],De[t.charCodeAt(s)]=s;De[45]=62,De[95]=63}function Gf(t){Xi||Rl();var s,n,o,l,u,c,f=t.length;if(f%4>0)throw new Error("Invalid string. Length must be a multiple of 4");u=t[f-2]==="="?2:t[f-1]==="="?1:0,c=new Wf(f*3/4-u),o=u>0?f-4:f;var p=0;for(s=0,n=0;s<o;s+=4,n+=3)l=De[t.charCodeAt(s)]<<18|De[t.charCodeAt(s+1)]<<12|De[t.charCodeAt(s+2)]<<6|De[t.charCodeAt(s+3)],c[p++]=l>>16&255,c[p++]=l>>8&255,c[p++]=l&255;return u===2?(l=De[t.charCodeAt(s)]<<2|De[t.charCodeAt(s+1)]>>4,c[p++]=l&255):u===1&&(l=De[t.charCodeAt(s)]<<10|De[t.charCodeAt(s+1)]<<4|De[t.charCodeAt(s+2)]>>2,c[p++]=l>>8&255,c[p++]=l&255),c}function Kf(t){return ze[t>>18&63]+ze[t>>12&63]+ze[t>>6&63]+ze[t&63]}function Jf(t,s,n){for(var o,l=[],u=s;u<n;u+=3)o=(t[u]<<16)+(t[u+1]<<8)+t[u+2],l.push(Kf(o));return l.join("")}function pa(t){Xi||Rl();for(var s,n=t.length,o=n%3,l="",u=[],c=16383,f=0,p=n-o;f<p;f+=c)u.push(Jf(t,f,f+c>p?p:f+c));return o===1?(s=t[n-1],l+=ze[s>>2],l+=ze[s<<4&63],l+="=="):o===2&&(s=(t[n-2]<<8)+t[n-1],l+=ze[s>>10],l+=ze[s>>4&63],l+=ze[s<<2&63],l+="="),u.push(l),u.join("")}function Gs(t,s,n,o,l){var u,c,f=l*8-o-1,p=(1<<f)-1,x=p>>1,g=-7,S=n?l-1:0,w=n?-1:1,P=t[s+S];for(S+=w,u=P&(1<<-g)-1,P>>=-g,g+=f;g>0;u=u*256+t[s+S],S+=w,g-=8);for(c=u&(1<<-g)-1,u>>=-g,g+=o;g>0;c=c*256+t[s+S],S+=w,g-=8);if(u===0)u=1-x;else{if(u===p)return c?NaN:(P?-1:1)*(1/0);c=c+Math.pow(2,o),u=u-x}return(P?-1:1)*c*Math.pow(2,u-o)}function Dl(t,s,n,o,l,u){var c,f,p,x=u*8-l-1,g=(1<<x)-1,S=g>>1,w=l===23?Math.pow(2,-24)-Math.pow(2,-77):0,P=o?0:u-1,T=o?1:-1,A=s<0||s===0&&1/s<0?1:0;for(s=Math.abs(s),isNaN(s)||s===1/0?(f=isNaN(s)?1:0,c=g):(c=Math.floor(Math.log(s)/Math.LN2),s*(p=Math.pow(2,-c))<1&&(c--,p*=2),c+S>=1?s+=w/p:s+=w*Math.pow(2,1-S),s*p>=2&&(c++,p/=2),c+S>=g?(f=0,c=g):c+S>=1?(f=(s*p-1)*Math.pow(2,l),c=c+S):(f=s*Math.pow(2,S-1)*Math.pow(2,l),c=0));l>=8;t[n+P]=f&255,P+=T,f/=256,l-=8);for(c=c<<l|f,x+=l;x>0;t[n+P]=c&255,P+=T,c/=256,x-=8);t[n+P-T]|=A*128}var Yf={}.toString,Bl=Array.isArray||function(t){return Yf.call(t)=="[object Array]"};/*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
||
* @license MIT
|
||
*/var Xf=50;j.TYPED_ARRAY_SUPPORT=bt.TYPED_ARRAY_SUPPORT!==void 0?bt.TYPED_ARRAY_SUPPORT:!0;$s();function $s(){return j.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Qe(t,s){if($s()<s)throw new RangeError("Invalid typed array length");return j.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(s),t.__proto__=j.prototype):(t===null&&(t=new j(s)),t.length=s),t}function j(t,s,n){if(!j.TYPED_ARRAY_SUPPORT&&!(this instanceof j))return new j(t,s,n);if(typeof t=="number"){if(typeof s=="string")throw new Error("If encoding is specified then the first argument must be a string");return Qi(this,t)}return Fl(this,t,s,n)}j.poolSize=8192;j._augment=function(t){return t.__proto__=j.prototype,t};function Fl(t,s,n,o){if(typeof s=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&s instanceof ArrayBuffer?ed(t,s,n,o):typeof s=="string"?Zf(t,s,n):td(t,s)}j.from=function(t,s,n){return Fl(null,t,s,n)};j.TYPED_ARRAY_SUPPORT&&(j.prototype.__proto__=Uint8Array.prototype,j.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&j[Symbol.species]);function Ul(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function Qf(t,s,n,o){return Ul(s),s<=0?Qe(t,s):n!==void 0?typeof o=="string"?Qe(t,s).fill(n,o):Qe(t,s).fill(n):Qe(t,s)}j.alloc=function(t,s,n){return Qf(null,t,s,n)};function Qi(t,s){if(Ul(s),t=Qe(t,s<0?0:Zi(s)|0),!j.TYPED_ARRAY_SUPPORT)for(var n=0;n<s;++n)t[n]=0;return t}j.allocUnsafe=function(t){return Qi(null,t)};j.allocUnsafeSlow=function(t){return Qi(null,t)};function Zf(t,s,n){if((typeof n!="string"||n==="")&&(n="utf8"),!j.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var o=ql(s,n)|0;t=Qe(t,o);var l=t.write(s,n);return l!==o&&(t=t.slice(0,l)),t}function Ii(t,s){var n=s.length<0?0:Zi(s.length)|0;t=Qe(t,n);for(var o=0;o<n;o+=1)t[o]=s[o]&255;return t}function ed(t,s,n,o){if(s.byteLength,n<0||s.byteLength<n)throw new RangeError("'offset' is out of bounds");if(s.byteLength<n+(o||0))throw new RangeError("'length' is out of bounds");return n===void 0&&o===void 0?s=new Uint8Array(s):o===void 0?s=new Uint8Array(s,n):s=new Uint8Array(s,n,o),j.TYPED_ARRAY_SUPPORT?(t=s,t.__proto__=j.prototype):t=Ii(t,s),t}function td(t,s){if(We(s)){var n=Zi(s.length)|0;return t=Qe(t,n),t.length===0||s.copy(t,0,0,n),t}if(s){if(typeof ArrayBuffer<"u"&&s.buffer instanceof ArrayBuffer||"length"in s)return typeof s.length!="number"||wd(s.length)?Qe(t,0):Ii(t,s);if(s.type==="Buffer"&&Bl(s.data))return Ii(t,s.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Zi(t){if(t>=$s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+$s().toString(16)+" bytes");return t|0}j.isBuffer=Sd;function We(t){return!!(t!=null&&t._isBuffer)}j.compare=function(s,n){if(!We(s)||!We(n))throw new TypeError("Arguments must be Buffers");if(s===n)return 0;for(var o=s.length,l=n.length,u=0,c=Math.min(o,l);u<c;++u)if(s[u]!==n[u]){o=s[u],l=n[u];break}return o<l?-1:l<o?1:0};j.isEncoding=function(s){switch(String(s).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};j.concat=function(s,n){if(!Bl(s))throw new TypeError('"list" argument must be an Array of Buffers');if(s.length===0)return j.alloc(0);var o;if(n===void 0)for(n=0,o=0;o<s.length;++o)n+=s[o].length;var l=j.allocUnsafe(n),u=0;for(o=0;o<s.length;++o){var c=s[o];if(!We(c))throw new TypeError('"list" argument must be an Array of Buffers');c.copy(l,u),u+=c.length}return l};function ql(t,s){if(We(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var n=t.length;if(n===0)return 0;for(var o=!1;;)switch(s){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Vs(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Gl(t).length;default:if(o)return Vs(t).length;s=(""+s).toLowerCase(),o=!0}}j.byteLength=ql;function sd(t,s,n){var o=!1;if((s===void 0||s<0)&&(s=0),s>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,s>>>=0,n<=s))return"";for(t||(t="utf8");;)switch(t){case"hex":return pd(this,s,n);case"utf8":case"utf-8":return Vl(this,s,n);case"ascii":return cd(this,s,n);case"latin1":case"binary":return ud(this,s,n);case"base64":return ld(this,s,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fd(this,s,n);default:if(o)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),o=!0}}j.prototype._isBuffer=!0;function Pt(t,s,n){var o=t[s];t[s]=t[n],t[n]=o}j.prototype.swap16=function(){var s=this.length;if(s%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<s;n+=2)Pt(this,n,n+1);return this};j.prototype.swap32=function(){var s=this.length;if(s%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<s;n+=4)Pt(this,n,n+3),Pt(this,n+1,n+2);return this};j.prototype.swap64=function(){var s=this.length;if(s%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<s;n+=8)Pt(this,n,n+7),Pt(this,n+1,n+6),Pt(this,n+2,n+5),Pt(this,n+3,n+4);return this};j.prototype.toString=function(){var s=this.length|0;return s===0?"":arguments.length===0?Vl(this,0,s):sd.apply(this,arguments)};j.prototype.equals=function(s){if(!We(s))throw new TypeError("Argument must be a Buffer");return this===s?!0:j.compare(this,s)===0};j.prototype.inspect=function(){var s="",n=Xf;return this.length>0&&(s=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(s+=" ... ")),"<Buffer "+s+">"};j.prototype.compare=function(s,n,o,l,u){if(!We(s))throw new TypeError("Argument must be a Buffer");if(n===void 0&&(n=0),o===void 0&&(o=s?s.length:0),l===void 0&&(l=0),u===void 0&&(u=this.length),n<0||o>s.length||l<0||u>this.length)throw new RangeError("out of range index");if(l>=u&&n>=o)return 0;if(l>=u)return-1;if(n>=o)return 1;if(n>>>=0,o>>>=0,l>>>=0,u>>>=0,this===s)return 0;for(var c=u-l,f=o-n,p=Math.min(c,f),x=this.slice(l,u),g=s.slice(n,o),S=0;S<p;++S)if(x[S]!==g[S]){c=x[S],f=g[S];break}return c<f?-1:f<c?1:0};function jl(t,s,n,o,l){if(t.length===0)return-1;if(typeof n=="string"?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=l?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(l)return-1;n=t.length-1}else if(n<0)if(l)n=0;else return-1;if(typeof s=="string"&&(s=j.from(s,o)),We(s))return s.length===0?-1:fa(t,s,n,o,l);if(typeof s=="number")return s=s&255,j.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?l?Uint8Array.prototype.indexOf.call(t,s,n):Uint8Array.prototype.lastIndexOf.call(t,s,n):fa(t,[s],n,o,l);throw new TypeError("val must be string, number or Buffer")}function fa(t,s,n,o,l){var u=1,c=t.length,f=s.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(t.length<2||s.length<2)return-1;u=2,c/=2,f/=2,n/=2}function p(P,T){return u===1?P[T]:P.readUInt16BE(T*u)}var x;if(l){var g=-1;for(x=n;x<c;x++)if(p(t,x)===p(s,g===-1?0:x-g)){if(g===-1&&(g=x),x-g+1===f)return g*u}else g!==-1&&(x-=x-g),g=-1}else for(n+f>c&&(n=c-f),x=n;x>=0;x--){for(var S=!0,w=0;w<f;w++)if(p(t,x+w)!==p(s,w)){S=!1;break}if(S)return x}return-1}j.prototype.includes=function(s,n,o){return this.indexOf(s,n,o)!==-1};j.prototype.indexOf=function(s,n,o){return jl(this,s,n,o,!0)};j.prototype.lastIndexOf=function(s,n,o){return jl(this,s,n,o,!1)};function rd(t,s,n,o){n=Number(n)||0;var l=t.length-n;o?(o=Number(o),o>l&&(o=l)):o=l;var u=s.length;if(u%2!==0)throw new TypeError("Invalid hex string");o>u/2&&(o=u/2);for(var c=0;c<o;++c){var f=parseInt(s.substr(c*2,2),16);if(isNaN(f))return c;t[n+c]=f}return c}function id(t,s,n,o){return Ys(Vs(s,t.length-n),t,n,o)}function $l(t,s,n,o){return Ys(xd(s),t,n,o)}function nd(t,s,n,o){return $l(t,s,n,o)}function ad(t,s,n,o){return Ys(Gl(s),t,n,o)}function od(t,s,n,o){return Ys(Pd(s,t.length-n),t,n,o)}j.prototype.write=function(s,n,o,l){if(n===void 0)l="utf8",o=this.length,n=0;else if(o===void 0&&typeof n=="string")l=n,o=this.length,n=0;else if(isFinite(n))n=n|0,isFinite(o)?(o=o|0,l===void 0&&(l="utf8")):(l=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var u=this.length-n;if((o===void 0||o>u)&&(o=u),s.length>0&&(o<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");l||(l="utf8");for(var c=!1;;)switch(l){case"hex":return rd(this,s,n,o);case"utf8":case"utf-8":return id(this,s,n,o);case"ascii":return $l(this,s,n,o);case"latin1":case"binary":return nd(this,s,n,o);case"base64":return ad(this,s,n,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return od(this,s,n,o);default:if(c)throw new TypeError("Unknown encoding: "+l);l=(""+l).toLowerCase(),c=!0}};j.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ld(t,s,n){return s===0&&n===t.length?pa(t):pa(t.slice(s,n))}function Vl(t,s,n){n=Math.min(t.length,n);for(var o=[],l=s;l<n;){var u=t[l],c=null,f=u>239?4:u>223?3:u>191?2:1;if(l+f<=n){var p,x,g,S;switch(f){case 1:u<128&&(c=u);break;case 2:p=t[l+1],(p&192)===128&&(S=(u&31)<<6|p&63,S>127&&(c=S));break;case 3:p=t[l+1],x=t[l+2],(p&192)===128&&(x&192)===128&&(S=(u&15)<<12|(p&63)<<6|x&63,S>2047&&(S<55296||S>57343)&&(c=S));break;case 4:p=t[l+1],x=t[l+2],g=t[l+3],(p&192)===128&&(x&192)===128&&(g&192)===128&&(S=(u&15)<<18|(p&63)<<12|(x&63)<<6|g&63,S>65535&&S<1114112&&(c=S))}}c===null?(c=65533,f=1):c>65535&&(c-=65536,o.push(c>>>10&1023|55296),c=56320|c&1023),o.push(c),l+=f}return hd(o)}var da=4096;function hd(t){var s=t.length;if(s<=da)return String.fromCharCode.apply(String,t);for(var n="",o=0;o<s;)n+=String.fromCharCode.apply(String,t.slice(o,o+=da));return n}function cd(t,s,n){var o="";n=Math.min(t.length,n);for(var l=s;l<n;++l)o+=String.fromCharCode(t[l]&127);return o}function ud(t,s,n){var o="";n=Math.min(t.length,n);for(var l=s;l<n;++l)o+=String.fromCharCode(t[l]);return o}function pd(t,s,n){var o=t.length;(!s||s<0)&&(s=0),(!n||n<0||n>o)&&(n=o);for(var l="",u=s;u<n;++u)l+=gd(t[u]);return l}function fd(t,s,n){for(var o=t.slice(s,n),l="",u=0;u<o.length;u+=2)l+=String.fromCharCode(o[u]+o[u+1]*256);return l}j.prototype.slice=function(s,n){var o=this.length;s=~~s,n=n===void 0?o:~~n,s<0?(s+=o,s<0&&(s=0)):s>o&&(s=o),n<0?(n+=o,n<0&&(n=0)):n>o&&(n=o),n<s&&(n=s);var l;if(j.TYPED_ARRAY_SUPPORT)l=this.subarray(s,n),l.__proto__=j.prototype;else{var u=n-s;l=new j(u,void 0);for(var c=0;c<u;++c)l[c]=this[c+s]}return l};function Pe(t,s,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+s>n)throw new RangeError("Trying to access beyond buffer length")}j.prototype.readUIntLE=function(s,n,o){s=s|0,n=n|0,o||Pe(s,n,this.length);for(var l=this[s],u=1,c=0;++c<n&&(u*=256);)l+=this[s+c]*u;return l};j.prototype.readUIntBE=function(s,n,o){s=s|0,n=n|0,o||Pe(s,n,this.length);for(var l=this[s+--n],u=1;n>0&&(u*=256);)l+=this[s+--n]*u;return l};j.prototype.readUInt8=function(s,n){return n||Pe(s,1,this.length),this[s]};j.prototype.readUInt16LE=function(s,n){return n||Pe(s,2,this.length),this[s]|this[s+1]<<8};j.prototype.readUInt16BE=function(s,n){return n||Pe(s,2,this.length),this[s]<<8|this[s+1]};j.prototype.readUInt32LE=function(s,n){return n||Pe(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+this[s+3]*16777216};j.prototype.readUInt32BE=function(s,n){return n||Pe(s,4,this.length),this[s]*16777216+(this[s+1]<<16|this[s+2]<<8|this[s+3])};j.prototype.readIntLE=function(s,n,o){s=s|0,n=n|0,o||Pe(s,n,this.length);for(var l=this[s],u=1,c=0;++c<n&&(u*=256);)l+=this[s+c]*u;return u*=128,l>=u&&(l-=Math.pow(2,8*n)),l};j.prototype.readIntBE=function(s,n,o){s=s|0,n=n|0,o||Pe(s,n,this.length);for(var l=n,u=1,c=this[s+--l];l>0&&(u*=256);)c+=this[s+--l]*u;return u*=128,c>=u&&(c-=Math.pow(2,8*n)),c};j.prototype.readInt8=function(s,n){return n||Pe(s,1,this.length),this[s]&128?(255-this[s]+1)*-1:this[s]};j.prototype.readInt16LE=function(s,n){n||Pe(s,2,this.length);var o=this[s]|this[s+1]<<8;return o&32768?o|4294901760:o};j.prototype.readInt16BE=function(s,n){n||Pe(s,2,this.length);var o=this[s+1]|this[s]<<8;return o&32768?o|4294901760:o};j.prototype.readInt32LE=function(s,n){return n||Pe(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24};j.prototype.readInt32BE=function(s,n){return n||Pe(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]};j.prototype.readFloatLE=function(s,n){return n||Pe(s,4,this.length),Gs(this,s,!0,23,4)};j.prototype.readFloatBE=function(s,n){return n||Pe(s,4,this.length),Gs(this,s,!1,23,4)};j.prototype.readDoubleLE=function(s,n){return n||Pe(s,8,this.length),Gs(this,s,!0,52,8)};j.prototype.readDoubleBE=function(s,n){return n||Pe(s,8,this.length),Gs(this,s,!1,52,8)};function Ne(t,s,n,o,l,u){if(!We(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>l||s<u)throw new RangeError('"value" argument is out of bounds');if(n+o>t.length)throw new RangeError("Index out of range")}j.prototype.writeUIntLE=function(s,n,o,l){if(s=+s,n=n|0,o=o|0,!l){var u=Math.pow(2,8*o)-1;Ne(this,s,n,o,u,0)}var c=1,f=0;for(this[n]=s&255;++f<o&&(c*=256);)this[n+f]=s/c&255;return n+o};j.prototype.writeUIntBE=function(s,n,o,l){if(s=+s,n=n|0,o=o|0,!l){var u=Math.pow(2,8*o)-1;Ne(this,s,n,o,u,0)}var c=o-1,f=1;for(this[n+c]=s&255;--c>=0&&(f*=256);)this[n+c]=s/f&255;return n+o};j.prototype.writeUInt8=function(s,n,o){return s=+s,n=n|0,o||Ne(this,s,n,1,255,0),j.TYPED_ARRAY_SUPPORT||(s=Math.floor(s)),this[n]=s&255,n+1};function Ks(t,s,n,o){s<0&&(s=65535+s+1);for(var l=0,u=Math.min(t.length-n,2);l<u;++l)t[n+l]=(s&255<<8*(o?l:1-l))>>>(o?l:1-l)*8}j.prototype.writeUInt16LE=function(s,n,o){return s=+s,n=n|0,o||Ne(this,s,n,2,65535,0),j.TYPED_ARRAY_SUPPORT?(this[n]=s&255,this[n+1]=s>>>8):Ks(this,s,n,!0),n+2};j.prototype.writeUInt16BE=function(s,n,o){return s=+s,n=n|0,o||Ne(this,s,n,2,65535,0),j.TYPED_ARRAY_SUPPORT?(this[n]=s>>>8,this[n+1]=s&255):Ks(this,s,n,!1),n+2};function Js(t,s,n,o){s<0&&(s=4294967295+s+1);for(var l=0,u=Math.min(t.length-n,4);l<u;++l)t[n+l]=s>>>(o?l:3-l)*8&255}j.prototype.writeUInt32LE=function(s,n,o){return s=+s,n=n|0,o||Ne(this,s,n,4,4294967295,0),j.TYPED_ARRAY_SUPPORT?(this[n+3]=s>>>24,this[n+2]=s>>>16,this[n+1]=s>>>8,this[n]=s&255):Js(this,s,n,!0),n+4};j.prototype.writeUInt32BE=function(s,n,o){return s=+s,n=n|0,o||Ne(this,s,n,4,4294967295,0),j.TYPED_ARRAY_SUPPORT?(this[n]=s>>>24,this[n+1]=s>>>16,this[n+2]=s>>>8,this[n+3]=s&255):Js(this,s,n,!1),n+4};j.prototype.writeIntLE=function(s,n,o,l){if(s=+s,n=n|0,!l){var u=Math.pow(2,8*o-1);Ne(this,s,n,o,u-1,-u)}var c=0,f=1,p=0;for(this[n]=s&255;++c<o&&(f*=256);)s<0&&p===0&&this[n+c-1]!==0&&(p=1),this[n+c]=(s/f>>0)-p&255;return n+o};j.prototype.writeIntBE=function(s,n,o,l){if(s=+s,n=n|0,!l){var u=Math.pow(2,8*o-1);Ne(this,s,n,o,u-1,-u)}var c=o-1,f=1,p=0;for(this[n+c]=s&255;--c>=0&&(f*=256);)s<0&&p===0&&this[n+c+1]!==0&&(p=1),this[n+c]=(s/f>>0)-p&255;return n+o};j.prototype.writeInt8=function(s,n,o){return s=+s,n=n|0,o||Ne(this,s,n,1,127,-128),j.TYPED_ARRAY_SUPPORT||(s=Math.floor(s)),s<0&&(s=255+s+1),this[n]=s&255,n+1};j.prototype.writeInt16LE=function(s,n,o){return s=+s,n=n|0,o||Ne(this,s,n,2,32767,-32768),j.TYPED_ARRAY_SUPPORT?(this[n]=s&255,this[n+1]=s>>>8):Ks(this,s,n,!0),n+2};j.prototype.writeInt16BE=function(s,n,o){return s=+s,n=n|0,o||Ne(this,s,n,2,32767,-32768),j.TYPED_ARRAY_SUPPORT?(this[n]=s>>>8,this[n+1]=s&255):Ks(this,s,n,!1),n+2};j.prototype.writeInt32LE=function(s,n,o){return s=+s,n=n|0,o||Ne(this,s,n,4,2147483647,-2147483648),j.TYPED_ARRAY_SUPPORT?(this[n]=s&255,this[n+1]=s>>>8,this[n+2]=s>>>16,this[n+3]=s>>>24):Js(this,s,n,!0),n+4};j.prototype.writeInt32BE=function(s,n,o){return s=+s,n=n|0,o||Ne(this,s,n,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),j.TYPED_ARRAY_SUPPORT?(this[n]=s>>>24,this[n+1]=s>>>16,this[n+2]=s>>>8,this[n+3]=s&255):Js(this,s,n,!1),n+4};function zl(t,s,n,o,l,u){if(n+o>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Hl(t,s,n,o,l){return l||zl(t,s,n,4),Dl(t,s,n,o,23,4),n+4}j.prototype.writeFloatLE=function(s,n,o){return Hl(this,s,n,!0,o)};j.prototype.writeFloatBE=function(s,n,o){return Hl(this,s,n,!1,o)};function Wl(t,s,n,o,l){return l||zl(t,s,n,8),Dl(t,s,n,o,52,8),n+8}j.prototype.writeDoubleLE=function(s,n,o){return Wl(this,s,n,!0,o)};j.prototype.writeDoubleBE=function(s,n,o){return Wl(this,s,n,!1,o)};j.prototype.copy=function(s,n,o,l){if(o||(o=0),!l&&l!==0&&(l=this.length),n>=s.length&&(n=s.length),n||(n=0),l>0&&l<o&&(l=o),l===o||s.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("sourceStart out of bounds");if(l<0)throw new RangeError("sourceEnd out of bounds");l>this.length&&(l=this.length),s.length-n<l-o&&(l=s.length-n+o);var u=l-o,c;if(this===s&&o<n&&n<l)for(c=u-1;c>=0;--c)s[c+n]=this[c+o];else if(u<1e3||!j.TYPED_ARRAY_SUPPORT)for(c=0;c<u;++c)s[c+n]=this[c+o];else Uint8Array.prototype.set.call(s,this.subarray(o,o+u),n);return u};j.prototype.fill=function(s,n,o,l){if(typeof s=="string"){if(typeof n=="string"?(l=n,n=0,o=this.length):typeof o=="string"&&(l=o,o=this.length),s.length===1){var u=s.charCodeAt(0);u<256&&(s=u)}if(l!==void 0&&typeof l!="string")throw new TypeError("encoding must be a string");if(typeof l=="string"&&!j.isEncoding(l))throw new TypeError("Unknown encoding: "+l)}else typeof s=="number"&&(s=s&255);if(n<0||this.length<n||this.length<o)throw new RangeError("Out of range index");if(o<=n)return this;n=n>>>0,o=o===void 0?this.length:o>>>0,s||(s=0);var c;if(typeof s=="number")for(c=n;c<o;++c)this[c]=s;else{var f=We(s)?s:Vs(new j(s,l).toString()),p=f.length;for(c=0;c<o-n;++c)this[c+n]=f[c%p]}return this};var dd=/[^+\/0-9A-Za-z-_]/g;function md(t){if(t=yd(t).replace(dd,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function yd(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function gd(t){return t<16?"0"+t.toString(16):t.toString(16)}function Vs(t,s){s=s||1/0;for(var n,o=t.length,l=null,u=[],c=0;c<o;++c){if(n=t.charCodeAt(c),n>55295&&n<57344){if(!l){if(n>56319){(s-=3)>-1&&u.push(239,191,189);continue}else if(c+1===o){(s-=3)>-1&&u.push(239,191,189);continue}l=n;continue}if(n<56320){(s-=3)>-1&&u.push(239,191,189),l=n;continue}n=(l-55296<<10|n-56320)+65536}else l&&(s-=3)>-1&&u.push(239,191,189);if(l=null,n<128){if((s-=1)<0)break;u.push(n)}else if(n<2048){if((s-=2)<0)break;u.push(n>>6|192,n&63|128)}else if(n<65536){if((s-=3)<0)break;u.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((s-=4)<0)break;u.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return u}function xd(t){for(var s=[],n=0;n<t.length;++n)s.push(t.charCodeAt(n)&255);return s}function Pd(t,s){for(var n,o,l,u=[],c=0;c<t.length&&!((s-=2)<0);++c)n=t.charCodeAt(c),o=n>>8,l=n%256,u.push(l),u.push(o);return u}function Gl(t){return Gf(md(t))}function Ys(t,s,n,o){for(var l=0;l<o&&!(l+n>=s.length||l>=t.length);++l)s[l+n]=t[l];return l}function wd(t){return t!==t}function Sd(t){return t!=null&&(!!t._isBuffer||Kl(t)||bd(t))}function Kl(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function bd(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&Kl(t.slice(0,0))}var Ad=Object.getOwnPropertyDescriptors||function(s){for(var n=Object.keys(s),o={},l=0;l<n.length;l++)o[n[l]]=Object.getOwnPropertyDescriptor(s,n[l]);return o};function Bt(t,s){var n={seen:[],stylize:Ed};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Jl(s)?n.showHidden=s:s&&Md(n,s),Rt(n.showHidden)&&(n.showHidden=!1),Rt(n.depth)&&(n.depth=2),Rt(n.colors)&&(n.colors=!1),Rt(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Td),zs(n,t,n.depth)}Bt.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};Bt.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function Td(t,s){var n=Bt.styles[s];return n?"\x1B["+Bt.colors[n][0]+"m"+t+"\x1B["+Bt.colors[n][1]+"m":t}function Ed(t,s){return t}function vd(t){var s={};return t.forEach(function(n,o){s[n]=!0}),s}function zs(t,s,n){if(t.customInspect&&s&&Nr(s.inspect)&&s.inspect!==Bt&&!(s.constructor&&s.constructor.prototype===s)){var o=s.inspect(n,t);return os(o)||(o=zs(t,o,n)),o}var l=Cd(t,s);if(l)return l;var u=Object.keys(s),c=vd(u);if(t.showHidden&&(u=Object.getOwnPropertyNames(s)),Ir(s)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return vr(s);if(u.length===0){if(Nr(s)){var f=s.name?": "+s.name:"";return t.stylize("[Function"+f+"]","special")}if(Cr(s))return t.stylize(RegExp.prototype.toString.call(s),"regexp");if(ma(s))return t.stylize(Date.prototype.toString.call(s),"date");if(Ir(s))return vr(s)}var p="",x=!1,g=["{","}"];if(kd(s)&&(x=!0,g=["[","]"]),Nr(s)){var S=s.name?": "+s.name:"";p=" [Function"+S+"]"}if(Cr(s)&&(p=" "+RegExp.prototype.toString.call(s)),ma(s)&&(p=" "+Date.prototype.toUTCString.call(s)),Ir(s)&&(p=" "+vr(s)),u.length===0&&(!x||s.length==0))return g[0]+p+g[1];if(n<0)return Cr(s)?t.stylize(RegExp.prototype.toString.call(s),"regexp"):t.stylize("[Object]","special");t.seen.push(s);var w;return x?w=Id(t,s,n,c,u):w=u.map(function(P){return Ni(t,s,n,c,P,x)}),t.seen.pop(),Nd(w,p,g)}function Cd(t,s){if(Rt(s))return t.stylize("undefined","undefined");if(os(s)){var n="'"+JSON.stringify(s).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(Ld(s))return t.stylize(""+s,"number");if(Jl(s))return t.stylize(""+s,"boolean");if(_t(s))return t.stylize("null","null")}function vr(t){return"["+Error.prototype.toString.call(t)+"]"}function Id(t,s,n,o,l){for(var u=[],c=0,f=s.length;c<f;++c)Yl(s,String(c))?u.push(Ni(t,s,n,o,String(c),!0)):u.push("");return l.forEach(function(p){p.match(/^\d+$/)||u.push(Ni(t,s,n,o,p,!0))}),u}function Ni(t,s,n,o,l,u){var c,f,p;if(p=Object.getOwnPropertyDescriptor(s,l)||{value:s[l]},p.get?p.set?f=t.stylize("[Getter/Setter]","special"):f=t.stylize("[Getter]","special"):p.set&&(f=t.stylize("[Setter]","special")),Yl(o,l)||(c="["+l+"]"),f||(t.seen.indexOf(p.value)<0?(_t(n)?f=zs(t,p.value,null):f=zs(t,p.value,n-1),f.indexOf(`
|
||
`)>-1&&(u?f=f.split(`
|
||
`).map(function(x){return" "+x}).join(`
|
||
`).substr(2):f=`
|
||
`+f.split(`
|
||
`).map(function(x){return" "+x}).join(`
|
||
`))):f=t.stylize("[Circular]","special")),Rt(c)){if(u&&l.match(/^\d+$/))return f;c=JSON.stringify(""+l),c.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(c=c.substr(1,c.length-2),c=t.stylize(c,"name")):(c=c.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),c=t.stylize(c,"string"))}return c+": "+f}function Nd(t,s,n){var o=t.reduce(function(l,u){return u.indexOf(`
|
||
`)>=0,l+u.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?n[0]+(s===""?"":s+`
|
||
`)+" "+t.join(`,
|
||
`)+" "+n[1]:n[0]+s+" "+t.join(", ")+" "+n[1]}function kd(t){return Array.isArray(t)}function Jl(t){return typeof t=="boolean"}function _t(t){return t===null}function Od(t){return t==null}function Ld(t){return typeof t=="number"}function os(t){return typeof t=="string"}function Rt(t){return t===void 0}function Cr(t){return jt(t)&&en(t)==="[object RegExp]"}function jt(t){return typeof t=="object"&&t!==null}function ma(t){return jt(t)&&en(t)==="[object Date]"}function Ir(t){return jt(t)&&(en(t)==="[object Error]"||t instanceof Error)}function Nr(t){return typeof t=="function"}function en(t){return Object.prototype.toString.call(t)}function Md(t,s){if(!s||!jt(s))return t;for(var n=Object.keys(s),o=n.length;o--;)t[n[o]]=s[n[o]];return t}function Yl(t,s){return Object.prototype.hasOwnProperty.call(t,s)}var mt=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function _d(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');if(mt&&t[mt]){var s=t[mt];if(typeof s!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(s,mt,{value:s,enumerable:!1,writable:!1,configurable:!0}),s}function s(){for(var n,o,l=new Promise(function(f,p){n=f,o=p}),u=[],c=0;c<arguments.length;c++)u.push(arguments[c]);u.push(function(f,p){f?o(f):n(p)});try{t.apply(this,u)}catch(f){o(f)}return l}return Object.setPrototypeOf(s,Object.getPrototypeOf(t)),mt&&Object.defineProperty(s,mt,{value:s,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(s,Ad(t))}_d.custom=mt;function Rd(t,s){return Object.prototype.hasOwnProperty.call(t,s)}var Xl=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function kr(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}}function Dd(t,s,n,o){return s=s||"&",n=n||"=",t===null&&(t=void 0),typeof t=="object"?ya(Bd(t),function(l){var u=encodeURIComponent(kr(l))+n;return Xl(t[l])?ya(t[l],function(c){return u+encodeURIComponent(kr(c))}).join(s):u+encodeURIComponent(kr(t[l]))}).join(s):""}function ya(t,s){if(t.map)return t.map(s);for(var n=[],o=0;o<t.length;o++)n.push(s(t[o],o));return n}var Bd=Object.keys||function(t){var s=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&s.push(n);return s};function ga(t,s,n,o){s=s||"&",n=n||"=";var l={};if(typeof t!="string"||t.length===0)return l;var u=/\+/g;t=t.split(s);var c=1e3,f=t.length;f>c&&(f=c);for(var p=0;p<f;++p){var x=t[p].replace(u,"%20"),g=x.indexOf(n),S,w,P,T;g>=0?(S=x.substr(0,g),w=x.substr(g+1)):(S=x,w=""),P=decodeURIComponent(S),T=decodeURIComponent(w),Rd(l,P)?Xl(l[P])?l[P].push(T):l[P]=[l[P],T]:l[P]=T}return l}const Ql=bt.URL,Zl=bt.URLSearchParams;var Fd={parse:ls,resolve:rh,resolveObject:ih,fileURLToPath:th,format:sh,Url:_e,URL:Ql,URLSearchParams:Zl};function _e(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var Ud=/^([a-z0-9.+-]+:)/i,qd=/:[0-9]*$/,jd=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,$d=["<",">",'"',"`"," ","\r",`
|
||
`," "],Vd=["{","}","|","\\","^","`"].concat($d),ki=["'"].concat(Vd),xa=["%","/","?",";","#"].concat(ki),Pa=["/","?","#"],zd=255,wa=/^[+a-z0-9A-Z_-]{0,63}$/,Hd=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Wd={javascript:!0,"javascript:":!0},Oi={javascript:!0,"javascript:":!0},Ft={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function ls(t,s,n){if(t&&jt(t)&&t instanceof _e)return t;var o=new _e;return o.parse(t,s,n),o}_e.prototype.parse=function(t,s,n){return eh(this,t,s,n)};function eh(t,s,n,o){if(!os(s))throw new TypeError("Parameter 'url' must be a string, not "+typeof s);var l=s.indexOf("?"),u=l!==-1&&l<s.indexOf("#")?"?":"#",c=s.split(u),f=/\\/g;c[0]=c[0].replace(f,"/"),s=c.join(u);var p=s;if(p=p.trim(),!o&&s.split("#").length===1){var x=jd.exec(p);if(x)return t.path=p,t.href=p,t.pathname=x[1],x[2]?(t.search=x[2],n?t.query=ga(t.search.substr(1)):t.query=t.search.substr(1)):n&&(t.search="",t.query={}),t}var g=Ud.exec(p);if(g){g=g[0];var S=g.toLowerCase();t.protocol=S,p=p.substr(g.length)}if(o||g||p.match(/^\/\/[^@\/]+@[^@\/]+/)){var w=p.substr(0,2)==="//";w&&!(g&&Oi[g])&&(p=p.substr(2),t.slashes=!0)}var P,T,A,d;if(!Oi[g]&&(w||g&&!Ft[g])){var N=-1;for(P=0;P<Pa.length;P++)T=p.indexOf(Pa[P]),T!==-1&&(N===-1||T<N)&&(N=T);var k,L;for(N===-1?L=p.lastIndexOf("@"):L=p.lastIndexOf("@",N),L!==-1&&(k=p.slice(0,L),p=p.slice(L+1),t.auth=decodeURIComponent(k)),N=-1,P=0;P<xa.length;P++)T=p.indexOf(xa[P]),T!==-1&&(N===-1||T<N)&&(N=T);N===-1&&(N=p.length),t.host=p.slice(0,N),p=p.slice(N),nh(t),t.hostname=t.hostname||"";var U=t.hostname[0]==="["&&t.hostname[t.hostname.length-1]==="]";if(!U){var _=t.hostname.split(/\./);for(P=0,A=_.length;P<A;P++){var M=_[P];if(M&&!M.match(wa)){for(var R="",E=0,O=M.length;E<O;E++)M.charCodeAt(E)>127?R+="x":R+=M[E];if(!R.match(wa)){var D=_.slice(0,P),B=_.slice(P+1),z=M.match(Hd);z&&(D.push(z[1]),B.unshift(z[2])),B.length&&(p="/"+B.join(".")+p),t.hostname=D.join(".");break}}}}t.hostname.length>zd?t.hostname="":t.hostname=t.hostname.toLowerCase(),U||(t.hostname=Hf(t.hostname)),d=t.port?":"+t.port:"";var J=t.hostname||"";t.host=J+d,t.href+=t.host,U&&(t.hostname=t.hostname.substr(1,t.hostname.length-2),p[0]!=="/"&&(p="/"+p))}if(!Wd[S])for(P=0,A=ki.length;P<A;P++){var Q=ki[P];if(p.indexOf(Q)!==-1){var F=encodeURIComponent(Q);F===Q&&(F=escape(Q)),p=p.split(Q).join(F)}}var te=p.indexOf("#");te!==-1&&(t.hash=p.substr(te),p=p.slice(0,te));var ee=p.indexOf("?");if(ee!==-1?(t.search=p.substr(ee),t.query=p.substr(ee+1),n&&(t.query=ga(t.query)),p=p.slice(0,ee)):n&&(t.search="",t.query={}),p&&(t.pathname=p),Ft[S]&&t.hostname&&!t.pathname&&(t.pathname="/"),t.pathname||t.search){d=t.pathname||"";var oe=t.search||"";t.path=d+oe}return t.href=tn(t),t}function th(t){if(typeof t=="string")t=new _e().parse(t);else if(!(t instanceof _e))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof t+String(t));if(t.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return Gd(t)}function Gd(t){const s=t.pathname;for(let n=0;n<s.length;n++)if(s[n]==="%"){const o=s.codePointAt(n+2)|32;if(s[n+1]==="2"&&o===102)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(s)}function sh(t){return os(t)&&(t=eh({},t)),tn(t)}function tn(t){var s=t.auth||"";s&&(s=encodeURIComponent(s),s=s.replace(/%3A/i,":"),s+="@");var n=t.protocol||"",o=t.pathname||"",l=t.hash||"",u=!1,c="";t.host?u=s+t.host:t.hostname&&(u=s+(t.hostname.indexOf(":")===-1?t.hostname:"["+this.hostname+"]"),t.port&&(u+=":"+t.port)),t.query&&jt(t.query)&&Object.keys(t.query).length&&(c=Dd(t.query));var f=t.search||c&&"?"+c||"";return n&&n.substr(-1)!==":"&&(n+=":"),t.slashes||(!n||Ft[n])&&u!==!1?(u="//"+(u||""),o&&o.charAt(0)!=="/"&&(o="/"+o)):u||(u=""),l&&l.charAt(0)!=="#"&&(l="#"+l),f&&f.charAt(0)!=="?"&&(f="?"+f),o=o.replace(/[?#]/g,function(p){return encodeURIComponent(p)}),f=f.replace("#","%23"),n+u+o+f+l}_e.prototype.format=function(){return tn(this)};function rh(t,s){return ls(t,!1,!0).resolve(s)}_e.prototype.resolve=function(t){return this.resolveObject(ls(t,!1,!0)).format()};function ih(t,s){return t?ls(t,!1,!0).resolveObject(s):s}_e.prototype.resolveObject=function(t){if(os(t)){var s=new _e;s.parse(t,!1,!0),t=s}for(var n=new _e,o=Object.keys(this),l=0;l<o.length;l++){var u=o[l];n[u]=this[u]}if(n.hash=t.hash,t.href==="")return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var c=Object.keys(t),f=0;f<c.length;f++){var p=c[f];p!=="protocol"&&(n[p]=t[p])}return Ft[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}var x;if(t.protocol&&t.protocol!==n.protocol){if(!Ft[t.protocol]){for(var g=Object.keys(t),S=0;S<g.length;S++){var w=g[S];n[w]=t[w]}return n.href=n.format(),n}if(n.protocol=t.protocol,!t.host&&!Oi[t.protocol]){for(x=(t.pathname||"").split("/");x.length&&!(t.host=x.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),x[0]!==""&&x.unshift(""),x.length<2&&x.unshift(""),n.pathname=x.join("/")}else n.pathname=t.pathname;if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var P=n.pathname||"",T=n.search||"";n.path=P+T}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var A=n.pathname&&n.pathname.charAt(0)==="/",d=t.host||t.pathname&&t.pathname.charAt(0)==="/",N=d||A||n.host&&t.pathname,k=N,L=n.pathname&&n.pathname.split("/")||[],U=n.protocol&&!Ft[n.protocol];x=t.pathname&&t.pathname.split("/")||[],U&&(n.hostname="",n.port=null,n.host&&(L[0]===""?L[0]=n.host:L.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(x[0]===""?x[0]=t.host:x.unshift(t.host)),t.host=null),N=N&&(x[0]===""||L[0]===""));var _;if(d)n.host=t.host||t.host===""?t.host:n.host,n.hostname=t.hostname||t.hostname===""?t.hostname:n.hostname,n.search=t.search,n.query=t.query,L=x;else if(x.length)L||(L=[]),L.pop(),L=L.concat(x),n.search=t.search,n.query=t.query;else if(!Od(t.search))return U&&(n.hostname=n.host=L.shift(),_=n.host&&n.host.indexOf("@")>0?n.host.split("@"):!1,_&&(n.auth=_.shift(),n.host=n.hostname=_.shift())),n.search=t.search,n.query=t.query,(!_t(n.pathname)||!_t(n.search))&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!L.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var M=L.slice(-1)[0],R=(n.host||t.host||L.length>1)&&(M==="."||M==="..")||M==="",E=0,O=L.length;O>=0;O--)M=L[O],M==="."?L.splice(O,1):M===".."?(L.splice(O,1),E++):E&&(L.splice(O,1),E--);if(!N&&!k)for(;E--;E)L.unshift("..");N&&L[0]!==""&&(!L[0]||L[0].charAt(0)!=="/")&&L.unshift(""),R&&L.join("/").substr(-1)!=="/"&&L.push("");var D=L[0]===""||L[0]&&L[0].charAt(0)==="/";return U&&(n.hostname=n.host=D?"":L.length?L.shift():"",_=n.host&&n.host.indexOf("@")>0?n.host.split("@"):!1,_&&(n.auth=_.shift(),n.host=n.hostname=_.shift())),N=N||n.host&&L.length,N&&!D&&L.unshift(""),L.length?n.pathname=L.join("/"):(n.pathname=null,n.path=null),(!_t(n.pathname)||!_t(n.search))&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n};_e.prototype.parseHost=function(){return nh(this)};function nh(t){var s=t.host,n=qd.exec(s);n&&(n=n[0],n!==":"&&(t.port=n.substr(1)),s=s.substr(0,s.length-n.length)),s&&(t.hostname=s)}var Kd=Object.freeze({__proto__:null,URL:Ql,URLSearchParams:Zl,Url:_e,default:Fd,fileURLToPath:th,format:sh,parse:ls,resolve:rh,resolveObject:ih});const Jd=Symbol("ssrInterpolate"),Yd=Symbol("ssrRenderVNode"),Xd=Symbol("ssrRenderComponent"),Qd=Symbol("ssrRenderSlot"),Zd=Symbol("ssrRenderSlotInner"),em=Symbol("ssrRenderClass"),tm=Symbol("ssrRenderStyle"),sm=Symbol("ssrRenderAttrs"),rm=Symbol("ssrRenderAttr"),im=Symbol("ssrRenderDynamicAttr"),nm=Symbol("ssrRenderList"),am=Symbol("ssrIncludeBooleanAttr"),om=Symbol("ssrLooseEqual"),lm=Symbol("ssrLooseContain"),hm=Symbol("ssrRenderDynamicModel"),cm=Symbol("ssrGetDynamicModelProps"),um=Symbol("ssrRenderTeleport"),pm=Symbol("ssrRenderSuspense"),fm=Symbol("ssrGetDirectiveProps"),dm={[Jd]:"ssrInterpolate",[Yd]:"ssrRenderVNode",[Xd]:"ssrRenderComponent",[Qd]:"ssrRenderSlot",[Zd]:"ssrRenderSlotInner",[em]:"ssrRenderClass",[tm]:"ssrRenderStyle",[sm]:"ssrRenderAttrs",[rm]:"ssrRenderAttr",[im]:"ssrRenderDynamicAttr",[nm]:"ssrRenderList",[am]:"ssrIncludeBooleanAttr",[om]:"ssrLooseEqual",[lm]:"ssrLooseContain",[hm]:"ssrRenderDynamicModel",[cm]:"ssrGetDynamicModelProps",[um]:"ssrRenderTeleport",[pm]:"ssrRenderSuspense",[fm]:"ssrGetDirectiveProps"};Ro(dm);var mm=Object.defineProperty,Sa=Object.getOwnPropertySymbols,ym=Object.prototype.hasOwnProperty,gm=Object.prototype.propertyIsEnumerable,ba=(t,s,n)=>s in t?mm(t,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[s]=n,Aa=(t,s)=>{for(var n in s||(s={}))ym.call(s,n)&&ba(t,n,s[n]);if(Sa)for(var n of Sa(s))gm.call(s,n)&&ba(t,n,s[n]);return t};const[xm,Pm]=Dp(!0);[...xm,...Zp];Aa(Aa({},Pm),ef);var wm={},Sm=Object.freeze({__proto__:null,default:wm}),bm=$i(Sm),sn=$i(Of),vs={exports:{}},Ta;function ah(){if(Ta)return vs.exports;Ta=1;let t=ct,s=t.argv,n=t.env,o=!(n.NO_COLOR||s.includes("--no-color"))&&(!!n.FORCE_COLOR||s.includes("--color")||t.platform==="win32"||(t.stdout||{}).isTTY&&n.TERM!=="dumb"||!!n.CI),l=(f,p,x=f)=>g=>{let S=""+g,w=S.indexOf(p,f.length);return~w?f+u(S,p,x,w)+p:f+S+p},u=(f,p,x,g)=>{let S="",w=0;do S+=f.substring(w,g)+x,w=g+p.length,g=f.indexOf(p,w);while(~g);return S+f.substring(w)},c=(f=o)=>{let p=f?l:()=>String;return{isColorSupported:f,reset:p("\x1B[0m","\x1B[0m"),bold:p("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:p("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:p("\x1B[3m","\x1B[23m"),underline:p("\x1B[4m","\x1B[24m"),inverse:p("\x1B[7m","\x1B[27m"),hidden:p("\x1B[8m","\x1B[28m"),strikethrough:p("\x1B[9m","\x1B[29m"),black:p("\x1B[30m","\x1B[39m"),red:p("\x1B[31m","\x1B[39m"),green:p("\x1B[32m","\x1B[39m"),yellow:p("\x1B[33m","\x1B[39m"),blue:p("\x1B[34m","\x1B[39m"),magenta:p("\x1B[35m","\x1B[39m"),cyan:p("\x1B[36m","\x1B[39m"),white:p("\x1B[37m","\x1B[39m"),gray:p("\x1B[90m","\x1B[39m"),bgBlack:p("\x1B[40m","\x1B[49m"),bgRed:p("\x1B[41m","\x1B[49m"),bgGreen:p("\x1B[42m","\x1B[49m"),bgYellow:p("\x1B[43m","\x1B[49m"),bgBlue:p("\x1B[44m","\x1B[49m"),bgMagenta:p("\x1B[45m","\x1B[49m"),bgCyan:p("\x1B[46m","\x1B[49m"),bgWhite:p("\x1B[47m","\x1B[49m"),blackBright:p("\x1B[90m","\x1B[39m"),redBright:p("\x1B[91m","\x1B[39m"),greenBright:p("\x1B[92m","\x1B[39m"),yellowBright:p("\x1B[93m","\x1B[39m"),blueBright:p("\x1B[94m","\x1B[39m"),magentaBright:p("\x1B[95m","\x1B[39m"),cyanBright:p("\x1B[96m","\x1B[39m"),whiteBright:p("\x1B[97m","\x1B[39m"),bgBlackBright:p("\x1B[100m","\x1B[49m"),bgRedBright:p("\x1B[101m","\x1B[49m"),bgGreenBright:p("\x1B[102m","\x1B[49m"),bgYellowBright:p("\x1B[103m","\x1B[49m"),bgBlueBright:p("\x1B[104m","\x1B[49m"),bgMagentaBright:p("\x1B[105m","\x1B[49m"),bgCyanBright:p("\x1B[106m","\x1B[49m"),bgWhiteBright:p("\x1B[107m","\x1B[49m")}};return vs.exports=c(),vs.exports.createColors=c,vs.exports}var Or,Ea;function oh(){if(Ea)return Or;Ea=1;const t=39,s=34,n=92,o=47,l=10,u=32,c=12,f=9,p=13,x=91,g=93,S=40,w=41,P=123,T=125,A=59,d=42,N=58,k=64,L=/[\t\n\f\r "#'()/;[\\\]{}]/g,U=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,_=/.[\r\n"'(/\\]/,M=/[\da-f]/i;return Or=function(E,O={}){let D=E.css.valueOf(),B=O.ignoreErrors,z,J,Q,F,te,ee,oe,ke,ye,$e,Et=D.length,Y=0,G=[],Z=[];function sr(){return Y}function se(et){throw E.error("Unclosed "+et,Y)}function rr(){return Z.length===0&&Y>=Et}function Oe(et){if(Z.length)return Z.pop();if(Y>=Et)return;let pt=et?et.ignoreUnclosed:!1;switch(z=D.charCodeAt(Y),z){case l:case u:case f:case p:case c:{F=Y;do F+=1,z=D.charCodeAt(F);while(z===u||z===l||z===f||z===p||z===c);ee=["space",D.slice(Y,F)],Y=F-1;break}case x:case g:case P:case T:case N:case A:case w:{let ps=String.fromCharCode(z);ee=[ps,ps,Y];break}case S:{if($e=G.length?G.pop()[1]:"",ye=D.charCodeAt(Y+1),$e==="url"&&ye!==t&&ye!==s&&ye!==u&&ye!==l&&ye!==f&&ye!==c&&ye!==p){F=Y;do{if(oe=!1,F=D.indexOf(")",F+1),F===-1)if(B||pt){F=Y;break}else se("bracket");for(ke=F;D.charCodeAt(ke-1)===n;)ke-=1,oe=!oe}while(oe);ee=["brackets",D.slice(Y,F+1),Y,F],Y=F}else F=D.indexOf(")",Y+1),J=D.slice(Y,F+1),F===-1||_.test(J)?ee=["(","(",Y]:(ee=["brackets",J,Y,F],Y=F);break}case t:case s:{te=z===t?"'":'"',F=Y;do{if(oe=!1,F=D.indexOf(te,F+1),F===-1)if(B||pt){F=Y+1;break}else se("string");for(ke=F;D.charCodeAt(ke-1)===n;)ke-=1,oe=!oe}while(oe);ee=["string",D.slice(Y,F+1),Y,F],Y=F;break}case k:{L.lastIndex=Y+1,L.test(D),L.lastIndex===0?F=D.length-1:F=L.lastIndex-2,ee=["at-word",D.slice(Y,F+1),Y,F],Y=F;break}case n:{for(F=Y,Q=!0;D.charCodeAt(F+1)===n;)F+=1,Q=!Q;if(z=D.charCodeAt(F+1),Q&&z!==o&&z!==u&&z!==l&&z!==f&&z!==p&&z!==c&&(F+=1,M.test(D.charAt(F)))){for(;M.test(D.charAt(F+1));)F+=1;D.charCodeAt(F+1)===u&&(F+=1)}ee=["word",D.slice(Y,F+1),Y,F],Y=F;break}default:{z===o&&D.charCodeAt(Y+1)===d?(F=D.indexOf("*/",Y+2)+1,F===0&&(B||pt?F=D.length:se("comment")),ee=["comment",D.slice(Y,F+1),Y,F],Y=F):(U.lastIndex=Y+1,U.test(D),U.lastIndex===0?F=D.length-1:F=U.lastIndex-2,ee=["word",D.slice(Y,F+1),Y,F],G.push(ee),Y=F);break}}return Y++,ee}function us(et){Z.push(et)}return{back:us,endOfFile:rr,nextToken:Oe,position:sr}},Or}var Lr,va;function lh(){if(va)return Lr;va=1;let t=ah(),s=oh(),n;function o(f){n=f}const l={";":t.yellow,":":t.yellow,"(":t.cyan,")":t.cyan,"[":t.yellow,"]":t.yellow,"{":t.yellow,"}":t.yellow,"at-word":t.cyan,brackets:t.cyan,call:t.cyan,class:t.yellow,comment:t.gray,hash:t.magenta,string:t.green};function u([f,p],x){if(f==="word"){if(p[0]===".")return"class";if(p[0]==="#")return"hash"}if(!x.endOfFile()){let g=x.nextToken();if(x.back(g),g[0]==="brackets"||g[0]==="(")return"call"}return f}function c(f){let p=s(new n(f),{ignoreErrors:!0}),x="";for(;!p.endOfFile();){let g=p.nextToken(),S=l[u(g,p)];S?x+=g[1].split(/\r?\n/).map(w=>S(w)).join(`
|
||
`):x+=g[1]}return x}return c.registerInput=o,Lr=c,Lr}var Mr,Ca;function rn(){if(Ca)return Mr;Ca=1;let t=ah(),s=lh();class n extends Error{constructor(l,u,c,f,p,x){super(l),this.name="CssSyntaxError",this.reason=l,p&&(this.file=p),f&&(this.source=f),x&&(this.plugin=x),typeof u<"u"&&typeof c<"u"&&(typeof u=="number"?(this.line=u,this.column=c):(this.line=u.line,this.column=u.column,this.endLine=c.line,this.endColumn=c.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,n)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(l){if(!this.source)return"";let u=this.source;l==null&&(l=t.isColorSupported);let c=P=>P,f=P=>P,p=P=>P;if(l){let{bold:P,gray:T,red:A}=t.createColors(!0);f=d=>P(A(d)),c=d=>T(d),s&&(p=d=>s(d))}let x=u.split(/\r?\n/),g=Math.max(this.line-3,0),S=Math.min(this.line+2,x.length),w=String(S).length;return x.slice(g,S).map((P,T)=>{let A=g+1+T,d=" "+(" "+A).slice(-w)+" | ";if(A===this.line){if(P.length>160){let k=20,L=Math.max(0,this.column-k),U=Math.max(this.column+k,this.endColumn+k),_=P.slice(L,U),M=c(d.replace(/\d/g," "))+P.slice(0,Math.min(this.column-1,k-1)).replace(/[^\t]/g," ");return f(">")+c(d)+p(_)+`
|
||
`+M+f("^")}let N=c(d.replace(/\d/g," "))+P.slice(0,this.column-1).replace(/[^\t]/g," ");return f(">")+c(d)+p(P)+`
|
||
`+N+f("^")}return" "+c(d)+p(P)}).join(`
|
||
`)}toString(){let l=this.showSourceCode();return l&&(l=`
|
||
|
||
`+l+`
|
||
`),this.name+": "+this.message+l}}return Mr=n,n.default=n,Mr}var _r,Ia;function hh(){if(Ia)return _r;Ia=1;const t={after:`
|
||
`,beforeClose:`
|
||
`,beforeComment:`
|
||
`,beforeDecl:`
|
||
`,beforeOpen:" ",beforeRule:`
|
||
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function s(o){return o[0].toUpperCase()+o.slice(1)}class n{constructor(l){this.builder=l}atrule(l,u){let c="@"+l.name,f=l.params?this.rawValue(l,"params"):"";if(typeof l.raws.afterName<"u"?c+=l.raws.afterName:f&&(c+=" "),l.nodes)this.block(l,c+f);else{let p=(l.raws.between||"")+(u?";":"");this.builder(c+f+p,l)}}beforeAfter(l,u){let c;l.type==="decl"?c=this.raw(l,null,"beforeDecl"):l.type==="comment"?c=this.raw(l,null,"beforeComment"):u==="before"?c=this.raw(l,null,"beforeRule"):c=this.raw(l,null,"beforeClose");let f=l.parent,p=0;for(;f&&f.type!=="root";)p+=1,f=f.parent;if(c.includes(`
|
||
`)){let x=this.raw(l,null,"indent");if(x.length)for(let g=0;g<p;g++)c+=x}return c}block(l,u){let c=this.raw(l,"between","beforeOpen");this.builder(u+c+"{",l,"start");let f;l.nodes&&l.nodes.length?(this.body(l),f=this.raw(l,"after")):f=this.raw(l,"after","emptyBody"),f&&this.builder(f),this.builder("}",l,"end")}body(l){let u=l.nodes.length-1;for(;u>0&&l.nodes[u].type==="comment";)u-=1;let c=this.raw(l,"semicolon");for(let f=0;f<l.nodes.length;f++){let p=l.nodes[f],x=this.raw(p,"before");x&&this.builder(x),this.stringify(p,u!==f||c)}}comment(l){let u=this.raw(l,"left","commentLeft"),c=this.raw(l,"right","commentRight");this.builder("/*"+u+l.text+c+"*/",l)}decl(l,u){let c=this.raw(l,"between","colon"),f=l.prop+c+this.rawValue(l,"value");l.important&&(f+=l.raws.important||" !important"),u&&(f+=";"),this.builder(f,l)}document(l){this.body(l)}raw(l,u,c){let f;if(c||(c=u),u&&(f=l.raws[u],typeof f<"u"))return f;let p=l.parent;if(c==="before"&&(!p||p.type==="root"&&p.first===l||p&&p.type==="document"))return"";if(!p)return t[c];let x=l.root();if(x.rawCache||(x.rawCache={}),typeof x.rawCache[c]<"u")return x.rawCache[c];if(c==="before"||c==="after")return this.beforeAfter(l,c);{let g="raw"+s(c);this[g]?f=this[g](x,l):x.walk(S=>{if(f=S.raws[u],typeof f<"u")return!1})}return typeof f>"u"&&(f=t[c]),x.rawCache[c]=f,f}rawBeforeClose(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length>0&&typeof c.raws.after<"u")return u=c.raws.after,u.includes(`
|
||
`)&&(u=u.replace(/[^\n]+$/,"")),!1}),u&&(u=u.replace(/\S/g,"")),u}rawBeforeComment(l,u){let c;return l.walkComments(f=>{if(typeof f.raws.before<"u")return c=f.raws.before,c.includes(`
|
||
`)&&(c=c.replace(/[^\n]+$/,"")),!1}),typeof c>"u"?c=this.raw(u,null,"beforeDecl"):c&&(c=c.replace(/\S/g,"")),c}rawBeforeDecl(l,u){let c;return l.walkDecls(f=>{if(typeof f.raws.before<"u")return c=f.raws.before,c.includes(`
|
||
`)&&(c=c.replace(/[^\n]+$/,"")),!1}),typeof c>"u"?c=this.raw(u,null,"beforeRule"):c&&(c=c.replace(/\S/g,"")),c}rawBeforeOpen(l){let u;return l.walk(c=>{if(c.type!=="decl"&&(u=c.raws.between,typeof u<"u"))return!1}),u}rawBeforeRule(l){let u;return l.walk(c=>{if(c.nodes&&(c.parent!==l||l.first!==c)&&typeof c.raws.before<"u")return u=c.raws.before,u.includes(`
|
||
`)&&(u=u.replace(/[^\n]+$/,"")),!1}),u&&(u=u.replace(/\S/g,"")),u}rawColon(l){let u;return l.walkDecls(c=>{if(typeof c.raws.between<"u")return u=c.raws.between.replace(/[^\s:]/g,""),!1}),u}rawEmptyBody(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length===0&&(u=c.raws.after,typeof u<"u"))return!1}),u}rawIndent(l){if(l.raws.indent)return l.raws.indent;let u;return l.walk(c=>{let f=c.parent;if(f&&f!==l&&f.parent&&f.parent===l&&typeof c.raws.before<"u"){let p=c.raws.before.split(`
|
||
`);return u=p[p.length-1],u=u.replace(/\S/g,""),!1}}),u}rawSemicolon(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length&&c.last.type==="decl"&&(u=c.raws.semicolon,typeof u<"u"))return!1}),u}rawValue(l,u){let c=l[u],f=l.raws[u];return f&&f.value===c?f.raw:c}root(l){this.body(l),l.raws.after&&this.builder(l.raws.after)}rule(l){this.block(l,this.rawValue(l,"selector")),l.raws.ownSemicolon&&this.builder(l.raws.ownSemicolon,l,"end")}stringify(l,u){if(!this[l.type])throw new Error("Unknown AST node type "+l.type+". Maybe you need to change PostCSS stringifier.");this[l.type](l,u)}}return _r=n,n.default=n,_r}var Rr,Na;function Xs(){if(Na)return Rr;Na=1;let t=hh();function s(n,o){new t(o).stringify(n)}return Rr=s,s.default=s,Rr}var Cs={},ka;function nn(){return ka||(ka=1,Cs.isClean=Symbol("isClean"),Cs.my=Symbol("my")),Cs}var Dr,Oa;function Qs(){if(Oa)return Dr;Oa=1;let t=rn(),s=hh(),n=Xs(),{isClean:o,my:l}=nn();function u(f,p){let x=new f.constructor;for(let g in f){if(!Object.prototype.hasOwnProperty.call(f,g)||g==="proxyCache")continue;let S=f[g],w=typeof S;g==="parent"&&w==="object"?p&&(x[g]=p):g==="source"?x[g]=S:Array.isArray(S)?x[g]=S.map(P=>u(P,x)):(w==="object"&&S!==null&&(S=u(S)),x[g]=S)}return x}class c{constructor(p={}){this.raws={},this[o]=!1,this[l]=!0;for(let x in p)if(x==="nodes"){this.nodes=[];for(let g of p[x])typeof g.clone=="function"?this.append(g.clone()):this.append(g)}else this[x]=p[x]}addToError(p){if(p.postcssNode=this,p.stack&&this.source&&/\n\s{4}at /.test(p.stack)){let x=this.source;p.stack=p.stack.replace(/\n\s{4}at /,`$&${x.input.from}:${x.start.line}:${x.start.column}$&`)}return p}after(p){return this.parent.insertAfter(this,p),this}assign(p={}){for(let x in p)this[x]=p[x];return this}before(p){return this.parent.insertBefore(this,p),this}cleanRaws(p){delete this.raws.before,delete this.raws.after,p||delete this.raws.between}clone(p={}){let x=u(this);for(let g in p)x[g]=p[g];return x}cloneAfter(p={}){let x=this.clone(p);return this.parent.insertAfter(this,x),x}cloneBefore(p={}){let x=this.clone(p);return this.parent.insertBefore(this,x),x}error(p,x={}){if(this.source){let{end:g,start:S}=this.rangeBy(x);return this.source.input.error(p,{column:S.column,line:S.line},{column:g.column,line:g.line},x)}return new t(p)}getProxyProcessor(){return{get(p,x){return x==="proxyOf"?p:x==="root"?()=>p.root().toProxy():p[x]},set(p,x,g){return p[x]===g||(p[x]=g,(x==="prop"||x==="value"||x==="name"||x==="params"||x==="important"||x==="text")&&p.markDirty()),!0}}}markClean(){this[o]=!0}markDirty(){if(this[o]){this[o]=!1;let p=this;for(;p=p.parent;)p[o]=!1}}next(){if(!this.parent)return;let p=this.parent.index(this);return this.parent.nodes[p+1]}positionBy(p,x){let g=this.source.start;if(p.index)g=this.positionInside(p.index);else if(p.word){x=this.source.input.css.slice(this.source.start.offset,this.source.end.offset);let S=x.indexOf(p.word);S!==-1&&(g=this.positionInside(S))}return g}positionInside(p){let x=this.source.start.column,g=this.source.start.line,S=this.source.start.offset,w=S+p;for(let P=S;P<w;P++)this.source.input.css[P]===`
|
||
`?(x=1,g+=1):x+=1;return{column:x,line:g}}prev(){if(!this.parent)return;let p=this.parent.index(this);return this.parent.nodes[p-1]}rangeBy(p){let x={column:this.source.start.column,line:this.source.start.line},g=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:x.column+1,line:x.line};if(p.word){let S=this.source.input.css.slice(this.source.start.offset,this.source.end.offset),w=S.indexOf(p.word);w!==-1&&(x=this.positionInside(w,S),g=this.positionInside(w+p.word.length,S))}else p.start?x={column:p.start.column,line:p.start.line}:p.index&&(x=this.positionInside(p.index)),p.end?g={column:p.end.column,line:p.end.line}:typeof p.endIndex=="number"?g=this.positionInside(p.endIndex):p.index&&(g=this.positionInside(p.index+1));return(g.line<x.line||g.line===x.line&&g.column<=x.column)&&(g={column:x.column+1,line:x.line}),{end:g,start:x}}raw(p,x){return new s().raw(this,p,x)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...p){if(this.parent){let x=this,g=!1;for(let S of p)S===this?g=!0:g?(this.parent.insertAfter(x,S),x=S):this.parent.insertBefore(x,S);g||this.remove()}return this}root(){let p=this;for(;p.parent&&p.parent.type!=="document";)p=p.parent;return p}toJSON(p,x){let g={},S=x==null;x=x||new Map;let w=0;for(let P in this){if(!Object.prototype.hasOwnProperty.call(this,P)||P==="parent"||P==="proxyCache")continue;let T=this[P];if(Array.isArray(T))g[P]=T.map(A=>typeof A=="object"&&A.toJSON?A.toJSON(null,x):A);else if(typeof T=="object"&&T.toJSON)g[P]=T.toJSON(null,x);else if(P==="source"){let A=x.get(T.input);A==null&&(A=w,x.set(T.input,w),w++),g[P]={end:T.end,inputId:A,start:T.start}}else g[P]=T}return S&&(g.inputs=[...x.keys()].map(P=>P.toJSON())),g}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(p=n){p.stringify&&(p=p.stringify);let x="";return p(this,g=>{x+=g}),x}warn(p,x,g){let S={node:this};for(let w in g)S[w]=g[w];return p.warn(x,S)}get proxyOf(){return this}}return Dr=c,c.default=c,Dr}var Br,La;function Zs(){if(La)return Br;La=1;let t=Qs();class s extends t{constructor(o){super(o),this.type="comment"}}return Br=s,s.default=s,Br}var Fr,Ma;function er(){if(Ma)return Fr;Ma=1;let t=Qs();class s extends t{constructor(o){o&&typeof o.value<"u"&&typeof o.value!="string"&&(o={...o,value:String(o.value)}),super(o),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return Fr=s,s.default=s,Fr}var Ur,_a;function Tt(){if(_a)return Ur;_a=1;let t=Zs(),s=er(),n=Qs(),{isClean:o,my:l}=nn(),u,c,f,p;function x(w){return w.map(P=>(P.nodes&&(P.nodes=x(P.nodes)),delete P.source,P))}function g(w){if(w[o]=!1,w.proxyOf.nodes)for(let P of w.proxyOf.nodes)g(P)}class S extends n{append(...P){for(let T of P){let A=this.normalize(T,this.last);for(let d of A)this.proxyOf.nodes.push(d)}return this.markDirty(),this}cleanRaws(P){if(super.cleanRaws(P),this.nodes)for(let T of this.nodes)T.cleanRaws(P)}each(P){if(!this.proxyOf.nodes)return;let T=this.getIterator(),A,d;for(;this.indexes[T]<this.proxyOf.nodes.length&&(A=this.indexes[T],d=P(this.proxyOf.nodes[A],A),d!==!1);)this.indexes[T]+=1;return delete this.indexes[T],d}every(P){return this.nodes.every(P)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let P=this.lastEach;return this.indexes[P]=0,P}getProxyProcessor(){return{get(P,T){return T==="proxyOf"?P:P[T]?T==="each"||typeof T=="string"&&T.startsWith("walk")?(...A)=>P[T](...A.map(d=>typeof d=="function"?(N,k)=>d(N.toProxy(),k):d)):T==="every"||T==="some"?A=>P[T]((d,...N)=>A(d.toProxy(),...N)):T==="root"?()=>P.root().toProxy():T==="nodes"?P.nodes.map(A=>A.toProxy()):T==="first"||T==="last"?P[T].toProxy():P[T]:P[T]},set(P,T,A){return P[T]===A||(P[T]=A,(T==="name"||T==="params"||T==="selector")&&P.markDirty()),!0}}}index(P){return typeof P=="number"?P:(P.proxyOf&&(P=P.proxyOf),this.proxyOf.nodes.indexOf(P))}insertAfter(P,T){let A=this.index(P),d=this.normalize(T,this.proxyOf.nodes[A]).reverse();A=this.index(P);for(let k of d)this.proxyOf.nodes.splice(A+1,0,k);let N;for(let k in this.indexes)N=this.indexes[k],A<N&&(this.indexes[k]=N+d.length);return this.markDirty(),this}insertBefore(P,T){let A=this.index(P),d=A===0?"prepend":!1,N=this.normalize(T,this.proxyOf.nodes[A],d).reverse();A=this.index(P);for(let L of N)this.proxyOf.nodes.splice(A,0,L);let k;for(let L in this.indexes)k=this.indexes[L],A<=k&&(this.indexes[L]=k+N.length);return this.markDirty(),this}normalize(P,T){if(typeof P=="string")P=x(c(P).nodes);else if(typeof P>"u")P=[];else if(Array.isArray(P)){P=P.slice(0);for(let d of P)d.parent&&d.parent.removeChild(d,"ignore")}else if(P.type==="root"&&this.type!=="document"){P=P.nodes.slice(0);for(let d of P)d.parent&&d.parent.removeChild(d,"ignore")}else if(P.type)P=[P];else if(P.prop){if(typeof P.value>"u")throw new Error("Value field is missed in node creation");typeof P.value!="string"&&(P.value=String(P.value)),P=[new s(P)]}else if(P.selector||P.selectors)P=[new p(P)];else if(P.name)P=[new u(P)];else if(P.text)P=[new t(P)];else throw new Error("Unknown node type in node creation");return P.map(d=>(d[l]||S.rebuild(d),d=d.proxyOf,d.parent&&d.parent.removeChild(d),d[o]&&g(d),d.raws||(d.raws={}),typeof d.raws.before>"u"&&T&&typeof T.raws.before<"u"&&(d.raws.before=T.raws.before.replace(/\S/g,"")),d.parent=this.proxyOf,d))}prepend(...P){P=P.reverse();for(let T of P){let A=this.normalize(T,this.first,"prepend").reverse();for(let d of A)this.proxyOf.nodes.unshift(d);for(let d in this.indexes)this.indexes[d]=this.indexes[d]+A.length}return this.markDirty(),this}push(P){return P.parent=this,this.proxyOf.nodes.push(P),this}removeAll(){for(let P of this.proxyOf.nodes)P.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(P){P=this.index(P),this.proxyOf.nodes[P].parent=void 0,this.proxyOf.nodes.splice(P,1);let T;for(let A in this.indexes)T=this.indexes[A],T>=P&&(this.indexes[A]=T-1);return this.markDirty(),this}replaceValues(P,T,A){return A||(A=T,T={}),this.walkDecls(d=>{T.props&&!T.props.includes(d.prop)||T.fast&&!d.value.includes(T.fast)||(d.value=d.value.replace(P,A))}),this.markDirty(),this}some(P){return this.nodes.some(P)}walk(P){return this.each((T,A)=>{let d;try{d=P(T,A)}catch(N){throw T.addToError(N)}return d!==!1&&T.walk&&(d=T.walk(P)),d})}walkAtRules(P,T){return T?P instanceof RegExp?this.walk((A,d)=>{if(A.type==="atrule"&&P.test(A.name))return T(A,d)}):this.walk((A,d)=>{if(A.type==="atrule"&&A.name===P)return T(A,d)}):(T=P,this.walk((A,d)=>{if(A.type==="atrule")return T(A,d)}))}walkComments(P){return this.walk((T,A)=>{if(T.type==="comment")return P(T,A)})}walkDecls(P,T){return T?P instanceof RegExp?this.walk((A,d)=>{if(A.type==="decl"&&P.test(A.prop))return T(A,d)}):this.walk((A,d)=>{if(A.type==="decl"&&A.prop===P)return T(A,d)}):(T=P,this.walk((A,d)=>{if(A.type==="decl")return T(A,d)}))}walkRules(P,T){return T?P instanceof RegExp?this.walk((A,d)=>{if(A.type==="rule"&&P.test(A.selector))return T(A,d)}):this.walk((A,d)=>{if(A.type==="rule"&&A.selector===P)return T(A,d)}):(T=P,this.walk((A,d)=>{if(A.type==="rule")return T(A,d)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}return S.registerParse=w=>{c=w},S.registerRule=w=>{p=w},S.registerAtRule=w=>{u=w},S.registerRoot=w=>{f=w},Ur=S,S.default=S,S.rebuild=w=>{w.type==="atrule"?Object.setPrototypeOf(w,u.prototype):w.type==="rule"?Object.setPrototypeOf(w,p.prototype):w.type==="decl"?Object.setPrototypeOf(w,s.prototype):w.type==="comment"?Object.setPrototypeOf(w,t.prototype):w.type==="root"&&Object.setPrototypeOf(w,f.prototype),w[l]=!0,w.nodes&&w.nodes.forEach(P=>{S.rebuild(P)})},Ur}var qr,Ra;function an(){if(Ra)return qr;Ra=1;let t=Tt();class s extends t{constructor(o){super(o),this.type="atrule"}append(...o){return this.proxyOf.nodes||(this.nodes=[]),super.append(...o)}prepend(...o){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...o)}}return qr=s,s.default=s,t.registerAtRule(s),qr}var jr,Da;function on(){if(Da)return jr;Da=1;let t=Tt(),s,n;class o extends t{constructor(u){super({type:"document",...u}),this.nodes||(this.nodes=[])}toResult(u={}){return new s(new n,this,u).stringify()}}return o.registerLazyResult=l=>{s=l},o.registerProcessor=l=>{n=l},jr=o,o.default=o,jr}var $r,Ba;function Am(){if(Ba)return $r;Ba=1;let t="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return $r={nanoid:(o=21)=>{let l="",u=o;for(;u--;)l+=t[Math.random()*64|0];return l},customAlphabet:(o,l=21)=>(u=l)=>{let c="",f=u;for(;f--;)c+=o[Math.random()*o.length|0];return c}},$r}var Jt={},Vr={},Is={},Ns={},Fa;function Tm(){if(Fa)return Ns;Fa=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Ns.encode=function(s){if(0<=s&&s<t.length)return t[s];throw new TypeError("Must be between 0 and 63: "+s)},Ns.decode=function(s){var n=65,o=90,l=97,u=122,c=48,f=57,p=43,x=47,g=26,S=52;return n<=s&&s<=o?s-n:l<=s&&s<=u?s-l+g:c<=s&&s<=f?s-c+S:s==p?62:s==x?63:-1},Ns}var Ua;function ch(){if(Ua)return Is;Ua=1;var t=Tm(),s=5,n=1<<s,o=n-1,l=n;function u(f){return f<0?(-f<<1)+1:(f<<1)+0}function c(f){var p=(f&1)===1,x=f>>1;return p?-x:x}return Is.encode=function(p){var x="",g,S=u(p);do g=S&o,S>>>=s,S>0&&(g|=l),x+=t.encode(g);while(S>0);return x},Is.decode=function(p,x,g){var S=p.length,w=0,P=0,T,A;do{if(x>=S)throw new Error("Expected more digits in base 64 VLQ value.");if(A=t.decode(p.charCodeAt(x++)),A===-1)throw new Error("Invalid base64 digit: "+p.charAt(x-1));T=!!(A&l),A&=o,w=w+(A<<P),P+=s}while(T);g.value=c(w),g.rest=x},Is}var zr={},qa;function hs(){return qa||(qa=1,function(t){function s(E,O,D){if(O in E)return E[O];if(arguments.length===3)return D;throw new Error('"'+O+'" is a required argument.')}t.getArg=s;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,o=/^data:.+\,.+$/;function l(E){var O=E.match(n);return O?{scheme:O[1],auth:O[2],host:O[3],port:O[4],path:O[5]}:null}t.urlParse=l;function u(E){var O="";return E.scheme&&(O+=E.scheme+":"),O+="//",E.auth&&(O+=E.auth+"@"),E.host&&(O+=E.host),E.port&&(O+=":"+E.port),E.path&&(O+=E.path),O}t.urlGenerate=u;var c=32;function f(E){var O=[];return function(D){for(var B=0;B<O.length;B++)if(O[B].input===D){var z=O[0];return O[0]=O[B],O[B]=z,O[0].result}var J=E(D);return O.unshift({input:D,result:J}),O.length>c&&O.pop(),J}}var p=f(function(O){var D=O,B=l(O);if(B){if(!B.path)return O;D=B.path}for(var z=t.isAbsolute(D),J=[],Q=0,F=0;;)if(Q=F,F=D.indexOf("/",Q),F===-1){J.push(D.slice(Q));break}else for(J.push(D.slice(Q,F));F<D.length&&D[F]==="/";)F++;for(var te,ee=0,F=J.length-1;F>=0;F--)te=J[F],te==="."?J.splice(F,1):te===".."?ee++:ee>0&&(te===""?(J.splice(F+1,ee),ee=0):(J.splice(F,2),ee--));return D=J.join("/"),D===""&&(D=z?"/":"."),B?(B.path=D,u(B)):D});t.normalize=p;function x(E,O){E===""&&(E="."),O===""&&(O=".");var D=l(O),B=l(E);if(B&&(E=B.path||"/"),D&&!D.scheme)return B&&(D.scheme=B.scheme),u(D);if(D||O.match(o))return O;if(B&&!B.host&&!B.path)return B.host=O,u(B);var z=O.charAt(0)==="/"?O:p(E.replace(/\/+$/,"")+"/"+O);return B?(B.path=z,u(B)):z}t.join=x,t.isAbsolute=function(E){return E.charAt(0)==="/"||n.test(E)};function g(E,O){E===""&&(E="."),E=E.replace(/\/$/,"");for(var D=0;O.indexOf(E+"/")!==0;){var B=E.lastIndexOf("/");if(B<0||(E=E.slice(0,B),E.match(/^([^\/]+:\/)?\/*$/)))return O;++D}return Array(D+1).join("../")+O.substr(E.length+1)}t.relative=g;var S=function(){var E=Object.create(null);return!("__proto__"in E)}();function w(E){return E}function P(E){return A(E)?"$"+E:E}t.toSetString=S?w:P;function T(E){return A(E)?E.slice(1):E}t.fromSetString=S?w:T;function A(E){if(!E)return!1;var O=E.length;if(O<9||E.charCodeAt(O-1)!==95||E.charCodeAt(O-2)!==95||E.charCodeAt(O-3)!==111||E.charCodeAt(O-4)!==116||E.charCodeAt(O-5)!==111||E.charCodeAt(O-6)!==114||E.charCodeAt(O-7)!==112||E.charCodeAt(O-8)!==95||E.charCodeAt(O-9)!==95)return!1;for(var D=O-10;D>=0;D--)if(E.charCodeAt(D)!==36)return!1;return!0}function d(E,O,D){var B=U(E.source,O.source);return B!==0||(B=E.originalLine-O.originalLine,B!==0)||(B=E.originalColumn-O.originalColumn,B!==0||D)||(B=E.generatedColumn-O.generatedColumn,B!==0)||(B=E.generatedLine-O.generatedLine,B!==0)?B:U(E.name,O.name)}t.compareByOriginalPositions=d;function N(E,O,D){var B;return B=E.originalLine-O.originalLine,B!==0||(B=E.originalColumn-O.originalColumn,B!==0||D)||(B=E.generatedColumn-O.generatedColumn,B!==0)||(B=E.generatedLine-O.generatedLine,B!==0)?B:U(E.name,O.name)}t.compareByOriginalPositionsNoSource=N;function k(E,O,D){var B=E.generatedLine-O.generatedLine;return B!==0||(B=E.generatedColumn-O.generatedColumn,B!==0||D)||(B=U(E.source,O.source),B!==0)||(B=E.originalLine-O.originalLine,B!==0)||(B=E.originalColumn-O.originalColumn,B!==0)?B:U(E.name,O.name)}t.compareByGeneratedPositionsDeflated=k;function L(E,O,D){var B=E.generatedColumn-O.generatedColumn;return B!==0||D||(B=U(E.source,O.source),B!==0)||(B=E.originalLine-O.originalLine,B!==0)||(B=E.originalColumn-O.originalColumn,B!==0)?B:U(E.name,O.name)}t.compareByGeneratedPositionsDeflatedNoLine=L;function U(E,O){return E===O?0:E===null?1:O===null?-1:E>O?1:-1}function _(E,O){var D=E.generatedLine-O.generatedLine;return D!==0||(D=E.generatedColumn-O.generatedColumn,D!==0)||(D=U(E.source,O.source),D!==0)||(D=E.originalLine-O.originalLine,D!==0)||(D=E.originalColumn-O.originalColumn,D!==0)?D:U(E.name,O.name)}t.compareByGeneratedPositionsInflated=_;function M(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=M;function R(E,O,D){if(O=O||"",E&&(E[E.length-1]!=="/"&&O[0]!=="/"&&(E+="/"),O=E+O),D){var B=l(D);if(!B)throw new Error("sourceMapURL could not be parsed");if(B.path){var z=B.path.lastIndexOf("/");z>=0&&(B.path=B.path.substring(0,z+1))}O=x(u(B),O)}return p(O)}t.computeSourceURL=R}(zr)),zr}var Hr={},ja;function uh(){if(ja)return Hr;ja=1;var t=hs(),s=Object.prototype.hasOwnProperty,n=typeof Map<"u";function o(){this._array=[],this._set=n?new Map:Object.create(null)}return o.fromArray=function(u,c){for(var f=new o,p=0,x=u.length;p<x;p++)f.add(u[p],c);return f},o.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},o.prototype.add=function(u,c){var f=n?u:t.toSetString(u),p=n?this.has(u):s.call(this._set,f),x=this._array.length;(!p||c)&&this._array.push(u),p||(n?this._set.set(u,x):this._set[f]=x)},o.prototype.has=function(u){if(n)return this._set.has(u);var c=t.toSetString(u);return s.call(this._set,c)},o.prototype.indexOf=function(u){if(n){var c=this._set.get(u);if(c>=0)return c}else{var f=t.toSetString(u);if(s.call(this._set,f))return this._set[f]}throw new Error('"'+u+'" is not in the set.')},o.prototype.at=function(u){if(u>=0&&u<this._array.length)return this._array[u];throw new Error("No element indexed by "+u)},o.prototype.toArray=function(){return this._array.slice()},Hr.ArraySet=o,Hr}var Wr={},$a;function Em(){if($a)return Wr;$a=1;var t=hs();function s(o,l){var u=o.generatedLine,c=l.generatedLine,f=o.generatedColumn,p=l.generatedColumn;return c>u||c==u&&p>=f||t.compareByGeneratedPositionsInflated(o,l)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(l,u){this._array.forEach(l,u)},n.prototype.add=function(l){s(this._last,l)?(this._last=l,this._array.push(l)):(this._sorted=!1,this._array.push(l))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Wr.MappingList=n,Wr}var Va;function ph(){if(Va)return Vr;Va=1;var t=ch(),s=hs(),n=uh().ArraySet,o=Em().MappingList;function l(u){u||(u={}),this._file=s.getArg(u,"file",null),this._sourceRoot=s.getArg(u,"sourceRoot",null),this._skipValidation=s.getArg(u,"skipValidation",!1),this._ignoreInvalidMapping=s.getArg(u,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new o,this._sourcesContents=null}return l.prototype._version=3,l.fromSourceMap=function(c,f){var p=c.sourceRoot,x=new l(Object.assign(f||{},{file:c.file,sourceRoot:p}));return c.eachMapping(function(g){var S={generated:{line:g.generatedLine,column:g.generatedColumn}};g.source!=null&&(S.source=g.source,p!=null&&(S.source=s.relative(p,S.source)),S.original={line:g.originalLine,column:g.originalColumn},g.name!=null&&(S.name=g.name)),x.addMapping(S)}),c.sources.forEach(function(g){var S=g;p!==null&&(S=s.relative(p,g)),x._sources.has(S)||x._sources.add(S);var w=c.sourceContentFor(g);w!=null&&x.setSourceContent(g,w)}),x},l.prototype.addMapping=function(c){var f=s.getArg(c,"generated"),p=s.getArg(c,"original",null),x=s.getArg(c,"source",null),g=s.getArg(c,"name",null);!this._skipValidation&&this._validateMapping(f,p,x,g)===!1||(x!=null&&(x=String(x),this._sources.has(x)||this._sources.add(x)),g!=null&&(g=String(g),this._names.has(g)||this._names.add(g)),this._mappings.add({generatedLine:f.line,generatedColumn:f.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:x,name:g}))},l.prototype.setSourceContent=function(c,f){var p=c;this._sourceRoot!=null&&(p=s.relative(this._sourceRoot,p)),f!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[s.toSetString(p)]=f):this._sourcesContents&&(delete this._sourcesContents[s.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},l.prototype.applySourceMap=function(c,f,p){var x=f;if(f==null){if(c.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);x=c.file}var g=this._sourceRoot;g!=null&&(x=s.relative(g,x));var S=new n,w=new n;this._mappings.unsortedForEach(function(P){if(P.source===x&&P.originalLine!=null){var T=c.originalPositionFor({line:P.originalLine,column:P.originalColumn});T.source!=null&&(P.source=T.source,p!=null&&(P.source=s.join(p,P.source)),g!=null&&(P.source=s.relative(g,P.source)),P.originalLine=T.line,P.originalColumn=T.column,T.name!=null&&(P.name=T.name))}var A=P.source;A!=null&&!S.has(A)&&S.add(A);var d=P.name;d!=null&&!w.has(d)&&w.add(d)},this),this._sources=S,this._names=w,c.sources.forEach(function(P){var T=c.sourceContentFor(P);T!=null&&(p!=null&&(P=s.join(p,P)),g!=null&&(P=s.relative(g,P)),this.setSourceContent(P,T))},this)},l.prototype._validateMapping=function(c,f,p,x){if(f&&typeof f.line!="number"&&typeof f.column!="number"){var g="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(g),!1;throw new Error(g)}if(!(c&&"line"in c&&"column"in c&&c.line>0&&c.column>=0&&!f&&!p&&!x)){if(c&&"line"in c&&"column"in c&&f&&"line"in f&&"column"in f&&c.line>0&&c.column>=0&&f.line>0&&f.column>=0&&p)return;var g="Invalid mapping: "+JSON.stringify({generated:c,source:p,original:f,name:x});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(g),!1;throw new Error(g)}},l.prototype._serializeMappings=function(){for(var c=0,f=1,p=0,x=0,g=0,S=0,w="",P,T,A,d,N=this._mappings.toArray(),k=0,L=N.length;k<L;k++){if(T=N[k],P="",T.generatedLine!==f)for(c=0;T.generatedLine!==f;)P+=";",f++;else if(k>0){if(!s.compareByGeneratedPositionsInflated(T,N[k-1]))continue;P+=","}P+=t.encode(T.generatedColumn-c),c=T.generatedColumn,T.source!=null&&(d=this._sources.indexOf(T.source),P+=t.encode(d-S),S=d,P+=t.encode(T.originalLine-1-x),x=T.originalLine-1,P+=t.encode(T.originalColumn-p),p=T.originalColumn,T.name!=null&&(A=this._names.indexOf(T.name),P+=t.encode(A-g),g=A)),w+=P}return w},l.prototype._generateSourcesContent=function(c,f){return c.map(function(p){if(!this._sourcesContents)return null;f!=null&&(p=s.relative(f,p));var x=s.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,x)?this._sourcesContents[x]:null},this)},l.prototype.toJSON=function(){var c={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(c.file=this._file),this._sourceRoot!=null&&(c.sourceRoot=this._sourceRoot),this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,c.sourceRoot)),c},l.prototype.toString=function(){return JSON.stringify(this.toJSON())},Vr.SourceMapGenerator=l,Vr}var Yt={},Gr={},za;function vm(){return za||(za=1,function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function s(n,o,l,u,c,f){var p=Math.floor((o-n)/2)+n,x=c(l,u[p],!0);return x===0?p:x>0?o-p>1?s(p,o,l,u,c,f):f==t.LEAST_UPPER_BOUND?o<u.length?o:-1:p:p-n>1?s(n,p,l,u,c,f):f==t.LEAST_UPPER_BOUND?p:n<0?-1:n}t.search=function(o,l,u,c){if(l.length===0)return-1;var f=s(-1,l.length,o,l,u,c||t.GREATEST_LOWER_BOUND);if(f<0)return-1;for(;f-1>=0&&u(l[f],l[f-1],!0)===0;)--f;return f}}(Gr)),Gr}var Kr={},Ha;function Cm(){if(Ha)return Kr;Ha=1;function t(o){function l(f,p,x){var g=f[p];f[p]=f[x],f[x]=g}function u(f,p){return Math.round(f+Math.random()*(p-f))}function c(f,p,x,g){if(x<g){var S=u(x,g),w=x-1;l(f,S,g);for(var P=f[g],T=x;T<g;T++)p(f[T],P,!1)<=0&&(w+=1,l(f,w,T));l(f,w+1,T);var A=w+1;c(f,p,x,A-1),c(f,p,A+1,g)}}return c}function s(o){let l=t.toString();return new Function(`return ${l}`)()(o)}let n=new WeakMap;return Kr.quickSort=function(o,l,u=0){let c=n.get(l);c===void 0&&(c=s(l),n.set(l,c)),c(o,l,u,o.length-1)},Kr}var Wa;function Im(){if(Wa)return Yt;Wa=1;var t=hs(),s=vm(),n=uh().ArraySet,o=ch(),l=Cm().quickSort;function u(S,w){var P=S;return typeof S=="string"&&(P=t.parseSourceMapInput(S)),P.sections!=null?new g(P,w):new c(P,w)}u.fromSourceMap=function(S,w){return c.fromSourceMap(S,w)},u.prototype._version=3,u.prototype.__generatedMappings=null,Object.defineProperty(u.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),u.prototype.__originalMappings=null,Object.defineProperty(u.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),u.prototype._charIsMappingSeparator=function(w,P){var T=w.charAt(P);return T===";"||T===","},u.prototype._parseMappings=function(w,P){throw new Error("Subclasses must implement _parseMappings")},u.GENERATED_ORDER=1,u.ORIGINAL_ORDER=2,u.GREATEST_LOWER_BOUND=1,u.LEAST_UPPER_BOUND=2,u.prototype.eachMapping=function(w,P,T){var A=P||null,d=T||u.GENERATED_ORDER,N;switch(d){case u.GENERATED_ORDER:N=this._generatedMappings;break;case u.ORIGINAL_ORDER:N=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var k=this.sourceRoot,L=w.bind(A),U=this._names,_=this._sources,M=this._sourceMapURL,R=0,E=N.length;R<E;R++){var O=N[R],D=O.source===null?null:_.at(O.source);D!==null&&(D=t.computeSourceURL(k,D,M)),L({source:D,generatedLine:O.generatedLine,generatedColumn:O.generatedColumn,originalLine:O.originalLine,originalColumn:O.originalColumn,name:O.name===null?null:U.at(O.name)})}},u.prototype.allGeneratedPositionsFor=function(w){var P=t.getArg(w,"line"),T={source:t.getArg(w,"source"),originalLine:P,originalColumn:t.getArg(w,"column",0)};if(T.source=this._findSourceIndex(T.source),T.source<0)return[];var A=[],d=this._findMapping(T,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,s.LEAST_UPPER_BOUND);if(d>=0){var N=this._originalMappings[d];if(w.column===void 0)for(var k=N.originalLine;N&&N.originalLine===k;)A.push({line:t.getArg(N,"generatedLine",null),column:t.getArg(N,"generatedColumn",null),lastColumn:t.getArg(N,"lastGeneratedColumn",null)}),N=this._originalMappings[++d];else for(var L=N.originalColumn;N&&N.originalLine===P&&N.originalColumn==L;)A.push({line:t.getArg(N,"generatedLine",null),column:t.getArg(N,"generatedColumn",null),lastColumn:t.getArg(N,"lastGeneratedColumn",null)}),N=this._originalMappings[++d]}return A},Yt.SourceMapConsumer=u;function c(S,w){var P=S;typeof S=="string"&&(P=t.parseSourceMapInput(S));var T=t.getArg(P,"version"),A=t.getArg(P,"sources"),d=t.getArg(P,"names",[]),N=t.getArg(P,"sourceRoot",null),k=t.getArg(P,"sourcesContent",null),L=t.getArg(P,"mappings"),U=t.getArg(P,"file",null);if(T!=this._version)throw new Error("Unsupported version: "+T);N&&(N=t.normalize(N)),A=A.map(String).map(t.normalize).map(function(_){return N&&t.isAbsolute(N)&&t.isAbsolute(_)?t.relative(N,_):_}),this._names=n.fromArray(d.map(String),!0),this._sources=n.fromArray(A,!0),this._absoluteSources=this._sources.toArray().map(function(_){return t.computeSourceURL(N,_,w)}),this.sourceRoot=N,this.sourcesContent=k,this._mappings=L,this._sourceMapURL=w,this.file=U}c.prototype=Object.create(u.prototype),c.prototype.consumer=u,c.prototype._findSourceIndex=function(S){var w=S;if(this.sourceRoot!=null&&(w=t.relative(this.sourceRoot,w)),this._sources.has(w))return this._sources.indexOf(w);var P;for(P=0;P<this._absoluteSources.length;++P)if(this._absoluteSources[P]==S)return P;return-1},c.fromSourceMap=function(w,P){var T=Object.create(c.prototype),A=T._names=n.fromArray(w._names.toArray(),!0),d=T._sources=n.fromArray(w._sources.toArray(),!0);T.sourceRoot=w._sourceRoot,T.sourcesContent=w._generateSourcesContent(T._sources.toArray(),T.sourceRoot),T.file=w._file,T._sourceMapURL=P,T._absoluteSources=T._sources.toArray().map(function(E){return t.computeSourceURL(T.sourceRoot,E,P)});for(var N=w._mappings.toArray().slice(),k=T.__generatedMappings=[],L=T.__originalMappings=[],U=0,_=N.length;U<_;U++){var M=N[U],R=new f;R.generatedLine=M.generatedLine,R.generatedColumn=M.generatedColumn,M.source&&(R.source=d.indexOf(M.source),R.originalLine=M.originalLine,R.originalColumn=M.originalColumn,M.name&&(R.name=A.indexOf(M.name)),L.push(R)),k.push(R)}return l(T.__originalMappings,t.compareByOriginalPositions),T},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function f(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const p=t.compareByGeneratedPositionsDeflatedNoLine;function x(S,w){let P=S.length,T=S.length-w;if(!(T<=1))if(T==2){let A=S[w],d=S[w+1];p(A,d)>0&&(S[w]=d,S[w+1]=A)}else if(T<20)for(let A=w;A<P;A++)for(let d=A;d>w;d--){let N=S[d-1],k=S[d];if(p(N,k)<=0)break;S[d-1]=k,S[d]=N}else l(S,p,w)}c.prototype._parseMappings=function(w,P){var T=1,A=0,d=0,N=0,k=0,L=0,U=w.length,_=0,M={},R=[],E=[],O,D,B,z;let J=0;for(;_<U;)if(w.charAt(_)===";")T++,_++,A=0,x(E,J),J=E.length;else if(w.charAt(_)===",")_++;else{for(O=new f,O.generatedLine=T,B=_;B<U&&!this._charIsMappingSeparator(w,B);B++);for(w.slice(_,B),D=[];_<B;)o.decode(w,_,M),z=M.value,_=M.rest,D.push(z);if(D.length===2)throw new Error("Found a source, but no line and column");if(D.length===3)throw new Error("Found a source and line, but no column");if(O.generatedColumn=A+D[0],A=O.generatedColumn,D.length>1&&(O.source=k+D[1],k+=D[1],O.originalLine=d+D[2],d=O.originalLine,O.originalLine+=1,O.originalColumn=N+D[3],N=O.originalColumn,D.length>4&&(O.name=L+D[4],L+=D[4])),E.push(O),typeof O.originalLine=="number"){let F=O.source;for(;R.length<=F;)R.push(null);R[F]===null&&(R[F]=[]),R[F].push(O)}}x(E,J),this.__generatedMappings=E;for(var Q=0;Q<R.length;Q++)R[Q]!=null&&l(R[Q],t.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...R)},c.prototype._findMapping=function(w,P,T,A,d,N){if(w[T]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+w[T]);if(w[A]<0)throw new TypeError("Column must be greater than or equal to 0, got "+w[A]);return s.search(w,P,d,N)},c.prototype.computeColumnSpans=function(){for(var w=0;w<this._generatedMappings.length;++w){var P=this._generatedMappings[w];if(w+1<this._generatedMappings.length){var T=this._generatedMappings[w+1];if(P.generatedLine===T.generatedLine){P.lastGeneratedColumn=T.generatedColumn-1;continue}}P.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(w){var P={generatedLine:t.getArg(w,"line"),generatedColumn:t.getArg(w,"column")},T=this._findMapping(P,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(w,"bias",u.GREATEST_LOWER_BOUND));if(T>=0){var A=this._generatedMappings[T];if(A.generatedLine===P.generatedLine){var d=t.getArg(A,"source",null);d!==null&&(d=this._sources.at(d),d=t.computeSourceURL(this.sourceRoot,d,this._sourceMapURL));var N=t.getArg(A,"name",null);return N!==null&&(N=this._names.at(N)),{source:d,line:t.getArg(A,"originalLine",null),column:t.getArg(A,"originalColumn",null),name:N}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(w){return w==null}):!1},c.prototype.sourceContentFor=function(w,P){if(!this.sourcesContent)return null;var T=this._findSourceIndex(w);if(T>=0)return this.sourcesContent[T];var A=w;this.sourceRoot!=null&&(A=t.relative(this.sourceRoot,A));var d;if(this.sourceRoot!=null&&(d=t.urlParse(this.sourceRoot))){var N=A.replace(/^file:\/\//,"");if(d.scheme=="file"&&this._sources.has(N))return this.sourcesContent[this._sources.indexOf(N)];if((!d.path||d.path=="/")&&this._sources.has("/"+A))return this.sourcesContent[this._sources.indexOf("/"+A)]}if(P)return null;throw new Error('"'+A+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(w){var P=t.getArg(w,"source");if(P=this._findSourceIndex(P),P<0)return{line:null,column:null,lastColumn:null};var T={source:P,originalLine:t.getArg(w,"line"),originalColumn:t.getArg(w,"column")},A=this._findMapping(T,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(w,"bias",u.GREATEST_LOWER_BOUND));if(A>=0){var d=this._originalMappings[A];if(d.source===T.source)return{line:t.getArg(d,"generatedLine",null),column:t.getArg(d,"generatedColumn",null),lastColumn:t.getArg(d,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Yt.BasicSourceMapConsumer=c;function g(S,w){var P=S;typeof S=="string"&&(P=t.parseSourceMapInput(S));var T=t.getArg(P,"version"),A=t.getArg(P,"sections");if(T!=this._version)throw new Error("Unsupported version: "+T);this._sources=new n,this._names=new n;var d={line:-1,column:0};this._sections=A.map(function(N){if(N.url)throw new Error("Support for url field in sections not implemented.");var k=t.getArg(N,"offset"),L=t.getArg(k,"line"),U=t.getArg(k,"column");if(L<d.line||L===d.line&&U<d.column)throw new Error("Section offsets must be ordered and non-overlapping.");return d=k,{generatedOffset:{generatedLine:L+1,generatedColumn:U+1},consumer:new u(t.getArg(N,"map"),w)}})}return g.prototype=Object.create(u.prototype),g.prototype.constructor=u,g.prototype._version=3,Object.defineProperty(g.prototype,"sources",{get:function(){for(var S=[],w=0;w<this._sections.length;w++)for(var P=0;P<this._sections[w].consumer.sources.length;P++)S.push(this._sections[w].consumer.sources[P]);return S}}),g.prototype.originalPositionFor=function(w){var P={generatedLine:t.getArg(w,"line"),generatedColumn:t.getArg(w,"column")},T=s.search(P,this._sections,function(d,N){var k=d.generatedLine-N.generatedOffset.generatedLine;return k||d.generatedColumn-N.generatedOffset.generatedColumn}),A=this._sections[T];return A?A.consumer.originalPositionFor({line:P.generatedLine-(A.generatedOffset.generatedLine-1),column:P.generatedColumn-(A.generatedOffset.generatedLine===P.generatedLine?A.generatedOffset.generatedColumn-1:0),bias:w.bias}):{source:null,line:null,column:null,name:null}},g.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(w){return w.consumer.hasContentsOfAllSources()})},g.prototype.sourceContentFor=function(w,P){for(var T=0;T<this._sections.length;T++){var A=this._sections[T],d=A.consumer.sourceContentFor(w,!0);if(d||d==="")return d}if(P)return null;throw new Error('"'+w+'" is not in the SourceMap.')},g.prototype.generatedPositionFor=function(w){for(var P=0;P<this._sections.length;P++){var T=this._sections[P];if(T.consumer._findSourceIndex(t.getArg(w,"source"))!==-1){var A=T.consumer.generatedPositionFor(w);if(A){var d={line:A.line+(T.generatedOffset.generatedLine-1),column:A.column+(T.generatedOffset.generatedLine===A.line?T.generatedOffset.generatedColumn-1:0)};return d}}}return{line:null,column:null}},g.prototype._parseMappings=function(w,P){this.__generatedMappings=[],this.__originalMappings=[];for(var T=0;T<this._sections.length;T++)for(var A=this._sections[T],d=A.consumer._generatedMappings,N=0;N<d.length;N++){var k=d[N],L=A.consumer._sources.at(k.source);L!==null&&(L=t.computeSourceURL(A.consumer.sourceRoot,L,this._sourceMapURL)),this._sources.add(L),L=this._sources.indexOf(L);var U=null;k.name&&(U=A.consumer._names.at(k.name),this._names.add(U),U=this._names.indexOf(U));var _={source:L,generatedLine:k.generatedLine+(A.generatedOffset.generatedLine-1),generatedColumn:k.generatedColumn+(A.generatedOffset.generatedLine===k.generatedLine?A.generatedOffset.generatedColumn-1:0),originalLine:k.originalLine,originalColumn:k.originalColumn,name:U};this.__generatedMappings.push(_),typeof _.originalLine=="number"&&this.__originalMappings.push(_)}l(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),l(this.__originalMappings,t.compareByOriginalPositions)},Yt.IndexedSourceMapConsumer=g,Yt}var Jr={},Ga;function Nm(){if(Ga)return Jr;Ga=1;var t=ph().SourceMapGenerator,s=hs(),n=/(\r?\n)/,o=10,l="$$$isSourceNode$$$";function u(c,f,p,x,g){this.children=[],this.sourceContents={},this.line=c??null,this.column=f??null,this.source=p??null,this.name=g??null,this[l]=!0,x!=null&&this.add(x)}return u.fromStringWithSourceMap=function(f,p,x){var g=new u,S=f.split(n),w=0,P=function(){var k=U(),L=U()||"";return k+L;function U(){return w<S.length?S[w++]:void 0}},T=1,A=0,d=null;return p.eachMapping(function(k){if(d!==null)if(T<k.generatedLine)N(d,P()),T++,A=0;else{var L=S[w]||"",U=L.substr(0,k.generatedColumn-A);S[w]=L.substr(k.generatedColumn-A),A=k.generatedColumn,N(d,U),d=k;return}for(;T<k.generatedLine;)g.add(P()),T++;if(A<k.generatedColumn){var L=S[w]||"";g.add(L.substr(0,k.generatedColumn)),S[w]=L.substr(k.generatedColumn),A=k.generatedColumn}d=k},this),w<S.length&&(d&&N(d,P()),g.add(S.splice(w).join(""))),p.sources.forEach(function(k){var L=p.sourceContentFor(k);L!=null&&(x!=null&&(k=s.join(x,k)),g.setSourceContent(k,L))}),g;function N(k,L){if(k===null||k.source===void 0)g.add(L);else{var U=x?s.join(x,k.source):k.source;g.add(new u(k.originalLine,k.originalColumn,U,L,k.name))}}},u.prototype.add=function(f){if(Array.isArray(f))f.forEach(function(p){this.add(p)},this);else if(f[l]||typeof f=="string")f&&this.children.push(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this},u.prototype.prepend=function(f){if(Array.isArray(f))for(var p=f.length-1;p>=0;p--)this.prepend(f[p]);else if(f[l]||typeof f=="string")this.children.unshift(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this},u.prototype.walk=function(f){for(var p,x=0,g=this.children.length;x<g;x++)p=this.children[x],p[l]?p.walk(f):p!==""&&f(p,{source:this.source,line:this.line,column:this.column,name:this.name})},u.prototype.join=function(f){var p,x,g=this.children.length;if(g>0){for(p=[],x=0;x<g-1;x++)p.push(this.children[x]),p.push(f);p.push(this.children[x]),this.children=p}return this},u.prototype.replaceRight=function(f,p){var x=this.children[this.children.length-1];return x[l]?x.replaceRight(f,p):typeof x=="string"?this.children[this.children.length-1]=x.replace(f,p):this.children.push("".replace(f,p)),this},u.prototype.setSourceContent=function(f,p){this.sourceContents[s.toSetString(f)]=p},u.prototype.walkSourceContents=function(f){for(var p=0,x=this.children.length;p<x;p++)this.children[p][l]&&this.children[p].walkSourceContents(f);for(var g=Object.keys(this.sourceContents),p=0,x=g.length;p<x;p++)f(s.fromSetString(g[p]),this.sourceContents[g[p]])},u.prototype.toString=function(){var f="";return this.walk(function(p){f+=p}),f},u.prototype.toStringWithSourceMap=function(f){var p={code:"",line:1,column:0},x=new t(f),g=!1,S=null,w=null,P=null,T=null;return this.walk(function(A,d){p.code+=A,d.source!==null&&d.line!==null&&d.column!==null?((S!==d.source||w!==d.line||P!==d.column||T!==d.name)&&x.addMapping({source:d.source,original:{line:d.line,column:d.column},generated:{line:p.line,column:p.column},name:d.name}),S=d.source,w=d.line,P=d.column,T=d.name,g=!0):g&&(x.addMapping({generated:{line:p.line,column:p.column}}),S=null,g=!1);for(var N=0,k=A.length;N<k;N++)A.charCodeAt(N)===o?(p.line++,p.column=0,N+1===k?(S=null,g=!1):g&&x.addMapping({source:d.source,original:{line:d.line,column:d.column},generated:{line:p.line,column:p.column},name:d.name})):p.column++}),this.walkSourceContents(function(A,d){x.setSourceContent(A,d)}),{code:p.code,map:x}},Jr.SourceNode=u,Jr}var Ka;function ln(){return Ka||(Ka=1,Jt.SourceMapGenerator=ph().SourceMapGenerator,Jt.SourceMapConsumer=Im().SourceMapConsumer,Jt.SourceNode=Nm().SourceNode),Jt}var fh=$i(Kd),Yr,Ja;function dh(){if(Ja)return Yr;Ja=1;let{existsSync:t,readFileSync:s}=bm,{dirname:n,join:o}=sn,{SourceMapConsumer:l,SourceMapGenerator:u}=ln();function c(p){return j.from(p,"base64").toString()}class f{constructor(x,g){if(g.map===!1)return;this.loadAnnotation(x),this.inline=this.startWith(this.annotation,"data:");let S=g.map?g.map.prev:void 0,w=this.loadMap(g.from,S);!this.mapFile&&g.from&&(this.mapFile=g.from),this.mapFile&&(this.root=n(this.mapFile)),w&&(this.text=w)}consumer(){return this.consumerCache||(this.consumerCache=new l(this.text)),this.consumerCache}decodeInline(x){let g=/^data:application\/json;charset=utf-?8;base64,/,S=/^data:application\/json;base64,/,w=/^data:application\/json;charset=utf-?8,/,P=/^data:application\/json,/,T=x.match(w)||x.match(P);if(T)return decodeURIComponent(x.substr(T[0].length));let A=x.match(g)||x.match(S);if(A)return c(x.substr(A[0].length));let d=x.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+d)}getAnnotationURL(x){return x.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(x){return typeof x!="object"?!1:typeof x.mappings=="string"||typeof x._mappings=="string"||Array.isArray(x.sections)}loadAnnotation(x){let g=x.match(/\/\*\s*# sourceMappingURL=/g);if(!g)return;let S=x.lastIndexOf(g.pop()),w=x.indexOf("*/",S);S>-1&&w>-1&&(this.annotation=this.getAnnotationURL(x.substring(S,w)))}loadFile(x){if(this.root=n(x),t(x))return this.mapFile=x,s(x,"utf-8").toString().trim()}loadMap(x,g){if(g===!1)return!1;if(g){if(typeof g=="string")return g;if(typeof g=="function"){let S=g(x);if(S){let w=this.loadFile(S);if(!w)throw new Error("Unable to load previous source map: "+S.toString());return w}}else{if(g instanceof l)return u.fromSourceMap(g).toString();if(g instanceof u)return g.toString();if(this.isMap(g))return JSON.stringify(g);throw new Error("Unsupported previous source map format: "+g.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let S=this.annotation;return x&&(S=o(n(x),S)),this.loadFile(S)}}}startWith(x,g){return x?x.substr(0,g.length)===g:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Yr=f,f.default=f,Yr}var Xr,Ya;function tr(){if(Ya)return Xr;Ya=1;let{nanoid:t}=Am(),{isAbsolute:s,resolve:n}=sn,{SourceMapConsumer:o,SourceMapGenerator:l}=ln(),{fileURLToPath:u,pathToFileURL:c}=fh,f=rn(),p=dh(),x=lh(),g=Symbol("fromOffsetCache"),S=!!(o&&l),w=!!(n&&s);class P{constructor(A,d={}){if(A===null||typeof A>"u"||typeof A=="object"&&!A.toString)throw new Error(`PostCSS received ${A} instead of CSS string`);if(this.css=A.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,d.from&&(!w||/^\w+:\/\//.test(d.from)||s(d.from)?this.file=d.from:this.file=n(d.from)),w&&S){let N=new p(this.css,d);if(N.text){this.map=N;let k=N.consumer().file;!this.file&&k&&(this.file=this.mapResolve(k))}}this.file||(this.id="<input css "+t(6)+">"),this.map&&(this.map.file=this.from)}error(A,d,N,k={}){let L,U,_;if(d&&typeof d=="object"){let R=d,E=N;if(typeof R.offset=="number"){let O=this.fromOffset(R.offset);d=O.line,N=O.col}else d=R.line,N=R.column;if(typeof E.offset=="number"){let O=this.fromOffset(E.offset);U=O.line,L=O.col}else U=E.line,L=E.column}else if(!N){let R=this.fromOffset(d);d=R.line,N=R.col}let M=this.origin(d,N,U,L);return M?_=new f(A,M.endLine===void 0?M.line:{column:M.column,line:M.line},M.endLine===void 0?M.column:{column:M.endColumn,line:M.endLine},M.source,M.file,k.plugin):_=new f(A,U===void 0?d:{column:N,line:d},U===void 0?N:{column:L,line:U},this.css,this.file,k.plugin),_.input={column:N,endColumn:L,endLine:U,line:d,source:this.css},this.file&&(c&&(_.input.url=c(this.file).toString()),_.input.file=this.file),_}fromOffset(A){let d,N;if(this[g])N=this[g];else{let L=this.css.split(`
|
||
`);N=new Array(L.length);let U=0;for(let _=0,M=L.length;_<M;_++)N[_]=U,U+=L[_].length+1;this[g]=N}d=N[N.length-1];let k=0;if(A>=d)k=N.length-1;else{let L=N.length-2,U;for(;k<L;)if(U=k+(L-k>>1),A<N[U])L=U-1;else if(A>=N[U+1])k=U+1;else{k=U;break}}return{col:A-N[k]+1,line:k+1}}mapResolve(A){return/^\w+:\/\//.test(A)?A:n(this.map.consumer().sourceRoot||this.map.root||".",A)}origin(A,d,N,k){if(!this.map)return!1;let L=this.map.consumer(),U=L.originalPositionFor({column:d,line:A});if(!U.source)return!1;let _;typeof N=="number"&&(_=L.originalPositionFor({column:k,line:N}));let M;s(U.source)?M=c(U.source):M=new URL(U.source,this.map.consumer().sourceRoot||c(this.map.mapFile));let R={column:U.column,endColumn:_&&_.column,endLine:_&&_.line,line:U.line,url:M.toString()};if(M.protocol==="file:")if(u)R.file=u(M);else throw new Error("file: protocol is not available in this PostCSS build");let E=L.sourceContentFor(U.source);return E&&(R.source=E),R}toJSON(){let A={};for(let d of["hasBOM","css","file","id"])this[d]!=null&&(A[d]=this[d]);return this.map&&(A.map={...this.map},A.map.consumerCache&&(A.map.consumerCache=void 0)),A}get from(){return this.file||this.id}}return Xr=P,P.default=P,x&&x.registerInput&&x.registerInput(P),Xr}var Qr,Xa;function cs(){if(Xa)return Qr;Xa=1;let t=Tt(),s,n;class o extends t{constructor(u){super(u),this.type="root",this.nodes||(this.nodes=[])}normalize(u,c,f){let p=super.normalize(u);if(c){if(f==="prepend")this.nodes.length>1?c.raws.before=this.nodes[1].raws.before:delete c.raws.before;else if(this.first!==c)for(let x of p)x.raws.before=c.raws.before}return p}removeChild(u,c){let f=this.index(u);return!c&&f===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[f].raws.before),super.removeChild(u)}toResult(u={}){return new s(new n,this,u).stringify()}}return o.registerLazyResult=l=>{s=l},o.registerProcessor=l=>{n=l},Qr=o,o.default=o,t.registerRoot(o),Qr}var Zr,Qa;function mh(){if(Qa)return Zr;Qa=1;let t={comma(s){return t.split(s,[","],!0)},space(s){let n=[" ",`
|
||
`," "];return t.split(s,n)},split(s,n,o){let l=[],u="",c=!1,f=0,p=!1,x="",g=!1;for(let S of s)g?g=!1:S==="\\"?g=!0:p?S===x&&(p=!1):S==='"'||S==="'"?(p=!0,x=S):S==="("?f+=1:S===")"?f>0&&(f-=1):f===0&&n.includes(S)&&(c=!0),c?(u!==""&&l.push(u.trim()),u="",c=!1):u+=S;return(o||u!=="")&&l.push(u.trim()),l}};return Zr=t,t.default=t,Zr}var ei,Za;function hn(){if(Za)return ei;Za=1;let t=Tt(),s=mh();class n extends t{constructor(l){super(l),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return s.comma(this.selector)}set selectors(l){let u=this.selector?this.selector.match(/,\s*/):null,c=u?u[0]:","+this.raw("between","beforeOpen");this.selector=l.join(c)}}return ei=n,n.default=n,t.registerRule(n),ei}var ti,eo;function km(){if(eo)return ti;eo=1;let t=an(),s=Zs(),n=er(),o=tr(),l=dh(),u=cs(),c=hn();function f(p,x){if(Array.isArray(p))return p.map(w=>f(w));let{inputs:g,...S}=p;if(g){x=[];for(let w of g){let P={...w,__proto__:o.prototype};P.map&&(P.map={...P.map,__proto__:l.prototype}),x.push(P)}}if(S.nodes&&(S.nodes=p.nodes.map(w=>f(w,x))),S.source){let{inputId:w,...P}=S.source;S.source=P,w!=null&&(S.source.input=x[w])}if(S.type==="root")return new u(S);if(S.type==="decl")return new n(S);if(S.type==="rule")return new c(S);if(S.type==="comment")return new s(S);if(S.type==="atrule")return new t(S);throw new Error("Unknown node type: "+p.type)}return ti=f,f.default=f,ti}var si,to;function yh(){if(to)return si;to=1;let{dirname:t,relative:s,resolve:n,sep:o}=sn,{SourceMapConsumer:l,SourceMapGenerator:u}=ln(),{pathToFileURL:c}=fh,f=tr(),p=!!(l&&u),x=!!(t&&n&&s&&o);class g{constructor(w,P,T,A){this.stringify=w,this.mapOpts=T.map||{},this.root=P,this.opts=T,this.css=A,this.originalCSS=A,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let w;this.isInline()?w="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?w=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?w=this.mapOpts.annotation(this.opts.to,this.root):w=this.outputFile()+".map";let P=`
|
||
`;this.css.includes(`\r
|
||
`)&&(P=`\r
|
||
`),this.css+=P+"/*# sourceMappingURL="+w+" */"}applyPrevMaps(){for(let w of this.previous()){let P=this.toUrl(this.path(w.file)),T=w.root||t(w.file),A;this.mapOpts.sourcesContent===!1?(A=new l(w.text),A.sourcesContent&&(A.sourcesContent=null)):A=w.consumer(),this.map.applySourceMap(A,P,this.toUrl(this.path(T)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let w;for(let P=this.root.nodes.length-1;P>=0;P--)w=this.root.nodes[P],w.type==="comment"&&w.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(P)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),x&&p&&this.isMap())return this.generateMap();{let w="";return this.stringify(this.root,P=>{w+=P}),[w]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let w=this.previous()[0].consumer();w.file=this.outputFile(),this.map=u.fromSourceMap(w,{ignoreInvalidMapping:!0})}else this.map=new u({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new u({file:this.outputFile(),ignoreInvalidMapping:!0});let w=1,P=1,T="<no source>",A={generated:{column:0,line:0},original:{column:0,line:0},source:""},d,N;this.stringify(this.root,(k,L,U)=>{if(this.css+=k,L&&U!=="end"&&(A.generated.line=w,A.generated.column=P-1,L.source&&L.source.start?(A.source=this.sourcePath(L),A.original.line=L.source.start.line,A.original.column=L.source.start.column-1,this.map.addMapping(A)):(A.source=T,A.original.line=1,A.original.column=0,this.map.addMapping(A))),N=k.match(/\n/g),N?(w+=N.length,d=k.lastIndexOf(`
|
||
`),P=k.length-d):P+=k.length,L&&U!=="start"){let _=L.parent||{raws:{}};(!(L.type==="decl"||L.type==="atrule"&&!L.nodes)||L!==_.last||_.raws.semicolon)&&(L.source&&L.source.end?(A.source=this.sourcePath(L),A.original.line=L.source.end.line,A.original.column=L.source.end.column-1,A.generated.line=w,A.generated.column=P-2,this.map.addMapping(A)):(A.source=T,A.original.line=1,A.original.column=0,A.generated.line=w,A.generated.column=P-1,this.map.addMapping(A)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(w=>w.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let w=this.mapOpts.annotation;return typeof w<"u"&&w!==!0?!1:this.previous().length?this.previous().some(P=>P.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(w=>w.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(w){if(this.mapOpts.absolute||w.charCodeAt(0)===60||/^\w+:\/\//.test(w))return w;let P=this.memoizedPaths.get(w);if(P)return P;let T=this.opts.to?t(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(T=t(n(T,this.mapOpts.annotation)));let A=s(T,w);return this.memoizedPaths.set(w,A),A}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(w=>{if(w.source&&w.source.input.map){let P=w.source.input.map;this.previousMaps.includes(P)||this.previousMaps.push(P)}});else{let w=new f(this.originalCSS,this.opts);w.map&&this.previousMaps.push(w.map)}return this.previousMaps}setSourcesContent(){let w={};if(this.root)this.root.walk(P=>{if(P.source){let T=P.source.input.from;if(T&&!w[T]){w[T]=!0;let A=this.usesFileUrls?this.toFileUrl(T):this.toUrl(this.path(T));this.map.setSourceContent(A,P.source.input.css)}}});else if(this.css){let P=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(P,this.css)}}sourcePath(w){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(w.source.input.from):this.toUrl(this.path(w.source.input.from))}toBase64(w){return j.from(w).toString("base64")}toFileUrl(w){let P=this.memoizedFileURLs.get(w);if(P)return P;if(c){let T=c(w).toString();return this.memoizedFileURLs.set(w,T),T}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(w){let P=this.memoizedURLs.get(w);if(P)return P;o==="\\"&&(w=w.replace(/\\/g,"/"));let T=encodeURI(w).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(w,T),T}}return si=g,si}var ri,so;function Om(){if(so)return ri;so=1;let t=an(),s=Zs(),n=er(),o=cs(),l=hn(),u=oh();const c={empty:!0,space:!0};function f(x){for(let g=x.length-1;g>=0;g--){let S=x[g],w=S[3]||S[2];if(w)return w}}class p{constructor(g){this.input=g,this.root=new o,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:g,start:{column:1,line:1,offset:0}}}atrule(g){let S=new t;S.name=g[1].slice(1),S.name===""&&this.unnamedAtrule(S,g),this.init(S,g[2]);let w,P,T,A=!1,d=!1,N=[],k=[];for(;!this.tokenizer.endOfFile();){if(g=this.tokenizer.nextToken(),w=g[0],w==="("||w==="["?k.push(w==="("?")":"]"):w==="{"&&k.length>0?k.push("}"):w===k[k.length-1]&&k.pop(),k.length===0)if(w===";"){S.source.end=this.getPosition(g[2]),S.source.end.offset++,this.semicolon=!0;break}else if(w==="{"){d=!0;break}else if(w==="}"){if(N.length>0){for(T=N.length-1,P=N[T];P&&P[0]==="space";)P=N[--T];P&&(S.source.end=this.getPosition(P[3]||P[2]),S.source.end.offset++)}this.end(g);break}else N.push(g);else N.push(g);if(this.tokenizer.endOfFile()){A=!0;break}}S.raws.between=this.spacesAndCommentsFromEnd(N),N.length?(S.raws.afterName=this.spacesAndCommentsFromStart(N),this.raw(S,"params",N),A&&(g=N[N.length-1],S.source.end=this.getPosition(g[3]||g[2]),S.source.end.offset++,this.spaces=S.raws.between,S.raws.between="")):(S.raws.afterName="",S.params=""),d&&(S.nodes=[],this.current=S)}checkMissedSemicolon(g){let S=this.colon(g);if(S===!1)return;let w=0,P;for(let T=S-1;T>=0&&(P=g[T],!(P[0]!=="space"&&(w+=1,w===2)));T--);throw this.input.error("Missed semicolon",P[0]==="word"?P[3]+1:P[2])}colon(g){let S=0,w,P,T;for(let[A,d]of g.entries()){if(P=d,T=P[0],T==="("&&(S+=1),T===")"&&(S-=1),S===0&&T===":")if(!w)this.doubleColon(P);else{if(w[0]==="word"&&w[1]==="progid")continue;return A}w=P}return!1}comment(g){let S=new s;this.init(S,g[2]),S.source.end=this.getPosition(g[3]||g[2]),S.source.end.offset++;let w=g[1].slice(2,-2);if(/^\s*$/.test(w))S.text="",S.raws.left=w,S.raws.right="";else{let P=w.match(/^(\s*)([^]*\S)(\s*)$/);S.text=P[2],S.raws.left=P[1],S.raws.right=P[3]}}createTokenizer(){this.tokenizer=u(this.input)}decl(g,S){let w=new n;this.init(w,g[0][2]);let P=g[g.length-1];for(P[0]===";"&&(this.semicolon=!0,g.pop()),w.source.end=this.getPosition(P[3]||P[2]||f(g)),w.source.end.offset++;g[0][0]!=="word";)g.length===1&&this.unknownWord(g),w.raws.before+=g.shift()[1];for(w.source.start=this.getPosition(g[0][2]),w.prop="";g.length;){let k=g[0][0];if(k===":"||k==="space"||k==="comment")break;w.prop+=g.shift()[1]}w.raws.between="";let T;for(;g.length;)if(T=g.shift(),T[0]===":"){w.raws.between+=T[1];break}else T[0]==="word"&&/\w/.test(T[1])&&this.unknownWord([T]),w.raws.between+=T[1];(w.prop[0]==="_"||w.prop[0]==="*")&&(w.raws.before+=w.prop[0],w.prop=w.prop.slice(1));let A=[],d;for(;g.length&&(d=g[0][0],!(d!=="space"&&d!=="comment"));)A.push(g.shift());this.precheckMissedSemicolon(g);for(let k=g.length-1;k>=0;k--){if(T=g[k],T[1].toLowerCase()==="!important"){w.important=!0;let L=this.stringFrom(g,k);L=this.spacesFromEnd(g)+L,L!==" !important"&&(w.raws.important=L);break}else if(T[1].toLowerCase()==="important"){let L=g.slice(0),U="";for(let _=k;_>0;_--){let M=L[_][0];if(U.trim().startsWith("!")&&M!=="space")break;U=L.pop()[1]+U}U.trim().startsWith("!")&&(w.important=!0,w.raws.important=U,g=L)}if(T[0]!=="space"&&T[0]!=="comment")break}g.some(k=>k[0]!=="space"&&k[0]!=="comment")&&(w.raws.between+=A.map(k=>k[1]).join(""),A=[]),this.raw(w,"value",A.concat(g),S),w.value.includes(":")&&!S&&this.checkMissedSemicolon(g)}doubleColon(g){throw this.input.error("Double colon",{offset:g[2]},{offset:g[2]+g[1].length})}emptyRule(g){let S=new l;this.init(S,g[2]),S.selector="",S.raws.between="",this.current=S}end(g){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(g[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(g)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(g){if(this.spaces+=g[1],this.current.nodes){let S=this.current.nodes[this.current.nodes.length-1];S&&S.type==="rule"&&!S.raws.ownSemicolon&&(S.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(g){let S=this.input.fromOffset(g);return{column:S.col,line:S.line,offset:g}}init(g,S){this.current.push(g),g.source={input:this.input,start:this.getPosition(S)},g.raws.before=this.spaces,this.spaces="",g.type!=="comment"&&(this.semicolon=!1)}other(g){let S=!1,w=null,P=!1,T=null,A=[],d=g[1].startsWith("--"),N=[],k=g;for(;k;){if(w=k[0],N.push(k),w==="("||w==="[")T||(T=k),A.push(w==="("?")":"]");else if(d&&P&&w==="{")T||(T=k),A.push("}");else if(A.length===0)if(w===";")if(P){this.decl(N,d);return}else break;else if(w==="{"){this.rule(N);return}else if(w==="}"){this.tokenizer.back(N.pop()),S=!0;break}else w===":"&&(P=!0);else w===A[A.length-1]&&(A.pop(),A.length===0&&(T=null));k=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(S=!0),A.length>0&&this.unclosedBracket(T),S&&P){if(!d)for(;N.length&&(k=N[N.length-1][0],!(k!=="space"&&k!=="comment"));)this.tokenizer.back(N.pop());this.decl(N,d)}else this.unknownWord(N)}parse(){let g;for(;!this.tokenizer.endOfFile();)switch(g=this.tokenizer.nextToken(),g[0]){case"space":this.spaces+=g[1];break;case";":this.freeSemicolon(g);break;case"}":this.end(g);break;case"comment":this.comment(g);break;case"at-word":this.atrule(g);break;case"{":this.emptyRule(g);break;default:this.other(g);break}this.endFile()}precheckMissedSemicolon(){}raw(g,S,w,P){let T,A,d=w.length,N="",k=!0,L,U;for(let _=0;_<d;_+=1)T=w[_],A=T[0],A==="space"&&_===d-1&&!P?k=!1:A==="comment"?(U=w[_-1]?w[_-1][0]:"empty",L=w[_+1]?w[_+1][0]:"empty",!c[U]&&!c[L]?N.slice(-1)===","?k=!1:N+=T[1]:k=!1):N+=T[1];if(!k){let _=w.reduce((M,R)=>M+R[1],"");g.raws[S]={raw:_,value:N}}g[S]=N}rule(g){g.pop();let S=new l;this.init(S,g[0][2]),S.raws.between=this.spacesAndCommentsFromEnd(g),this.raw(S,"selector",g),this.current=S}spacesAndCommentsFromEnd(g){let S,w="";for(;g.length&&(S=g[g.length-1][0],!(S!=="space"&&S!=="comment"));)w=g.pop()[1]+w;return w}spacesAndCommentsFromStart(g){let S,w="";for(;g.length&&(S=g[0][0],!(S!=="space"&&S!=="comment"));)w+=g.shift()[1];return w}spacesFromEnd(g){let S,w="";for(;g.length&&(S=g[g.length-1][0],S==="space");)w=g.pop()[1]+w;return w}stringFrom(g,S){let w="";for(let P=S;P<g.length;P++)w+=g[P][1];return g.splice(S,g.length-S),w}unclosedBlock(){let g=this.current.source.start;throw this.input.error("Unclosed block",g.line,g.column)}unclosedBracket(g){throw this.input.error("Unclosed bracket",{offset:g[2]},{offset:g[2]+1})}unexpectedClose(g){throw this.input.error("Unexpected }",{offset:g[2]},{offset:g[2]+1})}unknownWord(g){throw this.input.error("Unknown word",{offset:g[0][2]},{offset:g[0][2]+g[0][1].length})}unnamedAtrule(g,S){throw this.input.error("At-rule without name",{offset:S[2]},{offset:S[2]+S[1].length})}}return ri=p,ri}var ii,ro;function cn(){if(ro)return ii;ro=1;let t=Tt(),s=tr(),n=Om();function o(l,u){let c=new s(l,u),f=new n(c);try{f.parse()}catch(p){throw ct.env.NODE_ENV!=="production"&&p.name==="CssSyntaxError"&&u&&u.from&&(/\.scss$/i.test(u.from)?p.message+=`
|
||
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(u.from)?p.message+=`
|
||
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(u.from)&&(p.message+=`
|
||
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),p}return f.root}return ii=o,o.default=o,t.registerParse(o),ii}var ni,io;function gh(){if(io)return ni;io=1;class t{constructor(n,o={}){if(this.type="warning",this.text=n,o.node&&o.node.source){let l=o.node.rangeBy(o);this.line=l.start.line,this.column=l.start.column,this.endLine=l.end.line,this.endColumn=l.end.column}for(let l in o)this[l]=o[l]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return ni=t,t.default=t,ni}var ai,no;function un(){if(no)return ai;no=1;let t=gh();class s{constructor(o,l,u){this.processor=o,this.messages=[],this.root=l,this.opts=u,this.css=void 0,this.map=void 0}toString(){return this.css}warn(o,l={}){l.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(l.plugin=this.lastPlugin.postcssPlugin);let u=new t(o,l);return this.messages.push(u),u}warnings(){return this.messages.filter(o=>o.type==="warning")}get content(){return this.css}}return ai=s,s.default=s,ai}var oi,ao;function xh(){if(ao)return oi;ao=1;let t={};return oi=function(n){t[n]||(t[n]=!0,typeof console<"u"&&console.warn&&console.warn(n))},oi}var li,oo;function Ph(){if(oo)return li;oo=1;let t=Tt(),s=on(),n=yh(),o=cn(),l=un(),u=cs(),c=Xs(),{isClean:f,my:p}=nn(),x=xh();const g={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},S={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},w={Once:!0,postcssPlugin:!0,prepare:!0},P=0;function T(U){return typeof U=="object"&&typeof U.then=="function"}function A(U){let _=!1,M=g[U.type];return U.type==="decl"?_=U.prop.toLowerCase():U.type==="atrule"&&(_=U.name.toLowerCase()),_&&U.append?[M,M+"-"+_,P,M+"Exit",M+"Exit-"+_]:_?[M,M+"-"+_,M+"Exit",M+"Exit-"+_]:U.append?[M,P,M+"Exit"]:[M,M+"Exit"]}function d(U){let _;return U.type==="document"?_=["Document",P,"DocumentExit"]:U.type==="root"?_=["Root",P,"RootExit"]:_=A(U),{eventIndex:0,events:_,iterator:0,node:U,visitorIndex:0,visitors:[]}}function N(U){return U[f]=!1,U.nodes&&U.nodes.forEach(_=>N(_)),U}let k={};class L{constructor(_,M,R){this.stringified=!1,this.processed=!1;let E;if(typeof M=="object"&&M!==null&&(M.type==="root"||M.type==="document"))E=N(M);else if(M instanceof L||M instanceof l)E=N(M.root),M.map&&(typeof R.map>"u"&&(R.map={}),R.map.inline||(R.map.inline=!1),R.map.prev=M.map);else{let O=o;R.syntax&&(O=R.syntax.parse),R.parser&&(O=R.parser),O.parse&&(O=O.parse);try{E=O(M,R)}catch(D){this.processed=!0,this.error=D}E&&!E[p]&&t.rebuild(E)}this.result=new l(_,E,R),this.helpers={...k,postcss:k,result:this.result},this.plugins=this.processor.plugins.map(O=>typeof O=="object"&&O.prepare?{...O,...O.prepare(this.result)}:O)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(_){return this.async().catch(_)}finally(_){return this.async().then(_,_)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(_,M){let R=this.result.lastPlugin;try{if(M&&M.addToError(_),this.error=_,_.name==="CssSyntaxError"&&!_.plugin)_.plugin=R.postcssPlugin,_.setMessage();else if(R.postcssVersion&&ct.env.NODE_ENV!=="production"){let E=R.postcssPlugin,O=R.postcssVersion,D=this.result.processor.version,B=O.split("."),z=D.split(".");(B[0]!==z[0]||parseInt(B[1])>parseInt(z[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+D+", but "+E+" uses "+O+". Perhaps this is the source of the error below.")}}catch(E){console&&console.error&&console.error(E)}return _}prepareVisitors(){this.listeners={};let _=(M,R,E)=>{this.listeners[R]||(this.listeners[R]=[]),this.listeners[R].push([M,E])};for(let M of this.plugins)if(typeof M=="object")for(let R in M){if(!S[R]&&/^[A-Z]/.test(R))throw new Error(`Unknown event ${R} in ${M.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!w[R])if(typeof M[R]=="object")for(let E in M[R])E==="*"?_(M,R,M[R][E]):_(M,R+"-"+E.toLowerCase(),M[R][E]);else typeof M[R]=="function"&&_(M,R,M[R])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let _=0;_<this.plugins.length;_++){let M=this.plugins[_],R=this.runOnRoot(M);if(T(R))try{await R}catch(E){throw this.handleError(E)}}if(this.prepareVisitors(),this.hasListener){let _=this.result.root;for(;!_[f];){_[f]=!0;let M=[d(_)];for(;M.length>0;){let R=this.visitTick(M);if(T(R))try{await R}catch(E){let O=M[M.length-1].node;throw this.handleError(E,O)}}}if(this.listeners.OnceExit)for(let[M,R]of this.listeners.OnceExit){this.result.lastPlugin=M;try{if(_.type==="document"){let E=_.nodes.map(O=>R(O,this.helpers));await Promise.all(E)}else await R(_,this.helpers)}catch(E){throw this.handleError(E)}}}return this.processed=!0,this.stringify()}runOnRoot(_){this.result.lastPlugin=_;try{if(typeof _=="object"&&_.Once){if(this.result.root.type==="document"){let M=this.result.root.nodes.map(R=>_.Once(R,this.helpers));return T(M[0])?Promise.all(M):M}return _.Once(this.result.root,this.helpers)}else if(typeof _=="function")return _(this.result.root,this.result)}catch(M){throw this.handleError(M)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let _=this.result.opts,M=c;_.syntax&&(M=_.syntax.stringify),_.stringifier&&(M=_.stringifier),M.stringify&&(M=M.stringify);let E=new n(M,this.result.root,this.result.opts).generate();return this.result.css=E[0],this.result.map=E[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let _ of this.plugins){let M=this.runOnRoot(_);if(T(M))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let _=this.result.root;for(;!_[f];)_[f]=!0,this.walkSync(_);if(this.listeners.OnceExit)if(_.type==="document")for(let M of _.nodes)this.visitSync(this.listeners.OnceExit,M);else this.visitSync(this.listeners.OnceExit,_)}return this.result}then(_,M){return ct.env.NODE_ENV!=="production"&&("from"in this.opts||x("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(_,M)}toString(){return this.css}visitSync(_,M){for(let[R,E]of _){this.result.lastPlugin=R;let O;try{O=E(M,this.helpers)}catch(D){throw this.handleError(D,M.proxyOf)}if(M.type!=="root"&&M.type!=="document"&&!M.parent)return!0;if(T(O))throw this.getAsyncError()}}visitTick(_){let M=_[_.length-1],{node:R,visitors:E}=M;if(R.type!=="root"&&R.type!=="document"&&!R.parent){_.pop();return}if(E.length>0&&M.visitorIndex<E.length){let[D,B]=E[M.visitorIndex];M.visitorIndex+=1,M.visitorIndex===E.length&&(M.visitors=[],M.visitorIndex=0),this.result.lastPlugin=D;try{return B(R.toProxy(),this.helpers)}catch(z){throw this.handleError(z,R)}}if(M.iterator!==0){let D=M.iterator,B;for(;B=R.nodes[R.indexes[D]];)if(R.indexes[D]+=1,!B[f]){B[f]=!0,_.push(d(B));return}M.iterator=0,delete R.indexes[D]}let O=M.events;for(;M.eventIndex<O.length;){let D=O[M.eventIndex];if(M.eventIndex+=1,D===P){R.nodes&&R.nodes.length&&(R[f]=!0,M.iterator=R.getIterator());return}else if(this.listeners[D]){M.visitors=this.listeners[D];return}}_.pop()}walkSync(_){_[f]=!0;let M=A(_);for(let R of M)if(R===P)_.nodes&&_.each(E=>{E[f]||this.walkSync(E)});else{let E=this.listeners[R];if(E&&this.visitSync(E,_.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return L.registerPostcss=U=>{k=U},li=L,L.default=L,u.registerLazyResult(L),s.registerLazyResult(L),li}var hi,lo;function Lm(){if(lo)return hi;lo=1;let t=yh(),s=cn();const n=un();let o=Xs(),l=xh();class u{constructor(f,p,x){p=p.toString(),this.stringified=!1,this._processor=f,this._css=p,this._opts=x,this._map=void 0;let g,S=o;this.result=new n(this._processor,g,this._opts),this.result.css=p;let w=this;Object.defineProperty(this.result,"root",{get(){return w.root}});let P=new t(S,g,this._opts,p);if(P.isMap()){let[T,A]=P.generate();T&&(this.result.css=T),A&&(this.result.map=A)}else P.clearAnnotation(),this.result.css=P.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(f){return this.async().catch(f)}finally(f){return this.async().then(f,f)}sync(){if(this.error)throw this.error;return this.result}then(f,p){return ct.env.NODE_ENV!=="production"&&("from"in this._opts||l("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(f,p)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let f,p=s;try{f=p(this._css,this._opts)}catch(x){this.error=x}if(this.error)throw this.error;return this._root=f,f}get[Symbol.toStringTag](){return"NoWorkResult"}}return hi=u,u.default=u,hi}var ci,ho;function Mm(){if(ho)return ci;ho=1;let t=on(),s=Ph(),n=Lm(),o=cs();class l{constructor(c=[]){this.version="8.4.48",this.plugins=this.normalize(c)}normalize(c){let f=[];for(let p of c)if(p.postcss===!0?p=p():p.postcss&&(p=p.postcss),typeof p=="object"&&Array.isArray(p.plugins))f=f.concat(p.plugins);else if(typeof p=="object"&&p.postcssPlugin)f.push(p);else if(typeof p=="function")f.push(p);else if(typeof p=="object"&&(p.parse||p.stringify)){if(ct.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(p+" is not a PostCSS plugin");return f}process(c,f={}){return!this.plugins.length&&!f.parser&&!f.stringifier&&!f.syntax?new n(this,c,f):new s(this,c,f)}use(c){return this.plugins=this.plugins.concat(this.normalize([c])),this}}return ci=l,l.default=l,o.registerProcessor(l),t.registerProcessor(l),ci}var ui,co;function _m(){if(co)return ui;co=1;let t=an(),s=Zs(),n=Tt(),o=rn(),l=er(),u=on(),c=km(),f=tr(),p=Ph(),x=mh(),g=Qs(),S=cn(),w=Mm(),P=un(),T=cs(),A=hn(),d=Xs(),N=gh();function k(...L){return L.length===1&&Array.isArray(L[0])&&(L=L[0]),new w(L)}return k.plugin=function(U,_){let M=!1;function R(...O){console&&console.warn&&!M&&(M=!0,console.warn(U+`: postcss.plugin was deprecated. Migration guide:
|
||
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),ct.env.LANG&&ct.env.LANG.startsWith("cn")&&console.warn(U+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
||
https://www.w3ctech.com/topic/2226`));let D=_(...O);return D.postcssPlugin=U,D.postcssVersion=new w().version,D}let E;return Object.defineProperty(R,"postcss",{get(){return E||(E=R()),E}}),R.process=function(O,D,B){return k([R(B)]).process(O,D)},R},k.stringify=d,k.parse=S,k.fromJSON=c,k.list=x,k.comment=L=>new s(L),k.atRule=L=>new t(L),k.decl=L=>new l(L),k.rule=L=>new A(L),k.root=L=>new T(L),k.document=L=>new u(L),k.CssSyntaxError=o,k.Declaration=l,k.Container=n,k.Processor=w,k.Document=u,k.Comment=s,k.Warning=N,k.AtRule=t,k.Result=P,k.Input=f,k.Rule=A,k.Root=T,k.Node=g,p.registerPostcss(k),ui=k,k.default=k,ui}var Rm=_m(),he=Eu(Rm);he.stringify;he.fromJSON;he.plugin;he.parse;he.list;he.document;he.comment;he.atRule;he.rule;he.decl;he.root;he.CssSyntaxError;he.Declaration;he.Container;he.Processor;he.Document;he.Comment;he.Warning;he.AtRule;he.Result;he.Input;he.Rule;he.Root;he.Node;(ns.posix||ns).normalize;(ns.posix||ns).join;const uo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Dm=new Uint8Array(64),Bm=new Uint8Array(128);for(let t=0;t<uo.length;t++){const s=uo.charCodeAt(t);Dm[t]=s,Bm[s]=t}var Fm=Object.defineProperty,po=Object.getOwnPropertySymbols,Um=Object.prototype.hasOwnProperty,qm=Object.prototype.propertyIsEnumerable,fo=(t,s,n)=>s in t?Fm(t,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[s]=n,mo=(t,s)=>{for(var n in s||(s={}))Um.call(s,n)&&fo(t,n,s[n]);if(po)for(var n of po(s))qm.call(s,n)&&fo(t,n,s[n]);return t};mo(mo({},jo),xl);wt.parse;const jm={setup(){const{t}=$c();return{t}},data(){return{username:"",email:"",password:""}},methods:{handleSubmit(){if(!this.isValid(this.username,this.email,this.password)){alert("Пожалуйста, заполните все поля корректно.");return}this.sendRegistrationData({username:this.username,email:this.email,password:this.password}).then(()=>{this.$router.push("/login")}).catch(t=>{console.error(t),alert("Что-то пошло не так. Попробуйте еще раз."+t)})},isValid(t,s,n){return!(t.length===0||s.length===0||n.length===0||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s)||n.length<6)},async sendRegistrationData(t){console.log("Register by this data: ",t);try{if(!(await fetch("https://yalarba.ru/api/auth/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})).ok)throw new Error("Ошибка при регистрации")}catch(s){throw s}}}},$m={class:"register-form"},Vm={class:"form-name-h3"},zm={class:"form-group"},Hm={for:"username"},Wm={class:"form-group"},Gm={for:"email"},Km={class:"form-group"},Jm={for:"password"},Ym={type:"submit"};function Xm(t,s,n,o,l,u){return yo(),go("div",$m,[Re("h3",Vm,Gt(o.t("messages.inout.registration")),1),Re("form",{onSubmit:s[3]||(s[3]=Vc((...c)=>u.handleSubmit&&u.handleSubmit(...c),["prevent"]))},[Re("div",zm,[Re("label",Hm,Gt(o.t("messages.inout.name"))+": ",1),xr(Re("input",{"onUpdate:modelValue":s[0]||(s[0]=c=>l.username=c),type:"text",id:"username",required:""},null,512),[[Pr,l.username,void 0,{trim:!0}]])]),Re("div",Wm,[Re("label",Gm,Gt(o.t("messages.inout.email"))+": ",1),xr(Re("input",{"onUpdate:modelValue":s[1]||(s[1]=c=>l.email=c),type:"email",id:"email",required:""},null,512),[[Pr,l.email,void 0,{trim:!0}]])]),Re("div",Km,[Re("label",Jm,Gt(o.t("messages.inout.password"))+": ",1),xr(Re("input",{"onUpdate:modelValue":s[2]||(s[2]=c=>l.password=c),type:"password",id:"password",required:""},null,512),[[Pr,l.password,void 0,{trim:!0}]])]),Re("button",Ym,Gt(o.t("messages.inout.registrationB")),1)],32)])}const Qm=Uc(jm,[["render",Xm],["__scopeId","data-v-cf5dfe80"]]),oy={__name:"RegistrationView",setup(t){return(s,n)=>(yo(),go(zc,null,[wr(qc),wr(Qm),wr(jc)],64))}};export{oy as default};
|