From b5b4042cc74b457b94999c333ea01640a51e6c86 Mon Sep 17 00:00:00 2001 From: William Petit Date: Tue, 18 Apr 2023 17:57:16 +0200 Subject: [PATCH] feat(sdk,client): add menu to help navigation between apps --- .env.dist | 1 + Makefile | 11 +- cmd/cli/command/app/default-accounts.json | 24 +- cmd/cli/command/app/run.go | 267 +- doc/apps/client-api/README.md | 5 +- .../client-api/{edge.md => edge-client.md} | 22 +- doc/apps/client-api/edge-frame.md | 4 +- doc/apps/client-api/edge-menu.md | 27 + doc/apps/my-first-app.md | 6 +- doc/apps/server-api/blob.md | 2 +- doc/apps/server-api/fetch.md | 2 +- doc/apps/server-api/net.md | 4 +- doc/apps/server-api/rpc.md | 6 +- go.mod | 6 +- go.sum | 6 + misc/client-sdk-testsuite/src/manifest.yml | 2 +- .../src/public/index.html | 16 +- .../src/public/test/app-module.js | 12 +- .../src/public/test/auth-module.js | 6 +- .../src/public/test/client-sdk.js | 14 +- .../src/public/test/fetch-module.js | 8 +- .../src/public/test/file-module.js | 8 +- .../src/public/test/net-module.js | 16 +- .../src/public/test/rpc-module.js | 16 +- modd.conf | 9 +- package-lock.json | 120 + package.json | 3 + pkg/http/handler.go | 14 +- pkg/http/options.go | 9 + pkg/module/app/memory/repository.go | 4 + pkg/module/app/mount.go | 112 + pkg/module/app/repository.go | 2 +- pkg/module/auth/error.go | 5 +- pkg/module/auth/http/local_handler.go | 2 + .../auth/http/templates/login.html.tmpl | 2 +- pkg/module/auth/jwt.go | 36 +- pkg/module/auth/module.go | 45 +- pkg/module/auth/mount.go | 72 + pkg/module/auth/option.go | 29 +- pkg/sdk/client/dist/client.js | 21128 +++++++++++++++- pkg/sdk/client/dist/client.js.map | 8 +- pkg/sdk/client/src/components/icons/cloud.svg | 6 + pkg/sdk/client/src/components/icons/cog.svg | 6 + pkg/sdk/client/src/components/icons/home.svg | 6 + pkg/sdk/client/src/components/icons/index.ts | 9 + pkg/sdk/client/src/components/icons/link.svg | 5 + pkg/sdk/client/src/components/icons/login.svg | 6 + .../client/src/components/icons/logout.svg | 6 + pkg/sdk/client/src/components/icons/menu.svg | 6 + .../client/src/components/icons/square.svg | 5 + .../src/components/icons/user-circle.svg | 6 + pkg/sdk/client/src/components/menu-item.ts | 130 + .../client/src/components/menu-sub-item.ts | 63 + pkg/sdk/client/src/components/menu.ts | 239 + pkg/sdk/client/src/index.d.ts | 4 + pkg/sdk/client/src/index.ts | 19 +- pkg/sdk/client/src/menu-manager.ts | 144 + pkg/sdk/client/src/polyfill.ts | 4 + tsconfig.json | 7 + 59 files changed, 22276 insertions(+), 486 deletions(-) create mode 100644 .env.dist rename doc/apps/client-api/{edge.md => edge-client.md} (51%) create mode 100644 doc/apps/client-api/edge-menu.md create mode 100644 pkg/module/app/mount.go create mode 100644 pkg/module/auth/mount.go create mode 100644 pkg/sdk/client/src/components/icons/cloud.svg create mode 100644 pkg/sdk/client/src/components/icons/cog.svg create mode 100644 pkg/sdk/client/src/components/icons/home.svg create mode 100644 pkg/sdk/client/src/components/icons/index.ts create mode 100644 pkg/sdk/client/src/components/icons/link.svg create mode 100644 pkg/sdk/client/src/components/icons/login.svg create mode 100644 pkg/sdk/client/src/components/icons/logout.svg create mode 100644 pkg/sdk/client/src/components/icons/menu.svg create mode 100644 pkg/sdk/client/src/components/icons/square.svg create mode 100644 pkg/sdk/client/src/components/icons/user-circle.svg create mode 100644 pkg/sdk/client/src/components/menu-item.ts create mode 100644 pkg/sdk/client/src/components/menu-sub-item.ts create mode 100644 pkg/sdk/client/src/components/menu.ts create mode 100644 pkg/sdk/client/src/index.d.ts create mode 100644 pkg/sdk/client/src/menu-manager.ts create mode 100644 pkg/sdk/client/src/polyfill.ts create mode 100644 tsconfig.json diff --git a/.env.dist b/.env.dist new file mode 100644 index 0000000..660424e --- /dev/null +++ b/.env.dist @@ -0,0 +1 @@ +RUN_APP_ARGS="" \ No newline at end of file diff --git a/Makefile b/Makefile index 289dff7..778275d 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,9 @@ ESBUILD_VERSION ?= v0.17.5 GIT_VERSION := $(shell git describe --always) DATE_VERSION := $(shell date +%Y.%-m.%-d) FULL_VERSION := v$(DATE_VERSION)-$(GIT_VERSION)$(if $(shell git diff --stat),-dirty,) +APP_PATH ?= misc/client-sdk-testsuite/dist +RUN_APP_ARGS ?= +SHELL := bash build: build-edge-cli build-client-sdk-test-app @@ -55,12 +58,18 @@ pkg/sdk/client/dist/client.js: tools/esbuild/bin/esbuild node_modules --global-name=Edge \ --define:global=window \ --platform=browser \ - --footer:js="EdgeFrame=Edge.crossFrameMessenger;Edge=Edge.client" \ + --loader:.svg=dataurl \ --outfile=pkg/sdk/client/dist/client.js node_modules: npm ci +run-app: .env + ( set -o allexport && source .env && set +o allexport && bin/cli app run -p $(APP_PATH) $$RUN_APP_ARGS ) + +.env: + cp .env.dist .env + gitea-release: tools/yq/bin/yq tools/gitea-release/bin/gitea-release.sh build mkdir -p .gitea-release rm -rf .gitea-release/* diff --git a/cmd/cli/command/app/default-accounts.json b/cmd/cli/command/app/default-accounts.json index 39aa79d..a18e6e0 100644 --- a/cmd/cli/command/app/default-accounts.json +++ b/cmd/cli/command/app/default-accounts.json @@ -4,9 +4,9 @@ "algo": "argon2id", "password": "$argon2id$v=19$m=65536,t=3,p=2$cWOxfEyBy4EyKZR5usB2Pw$xG+Z/E2DUJP9kF0s1fhZjIuP03gFQ65dP7pHRJz7eR8", "claims": { - "arcad_entrypoint": "edge", - "arcad_role": "superadmin", - "arcad_tenant": "dev.cli", + "edge_entrypoint": "edge", + "edge_role": "superadmin", + "edge_tenant": "dev.cli", "preferred_username": "SuperAdmin", "sub": "superadmin" } @@ -16,9 +16,9 @@ "algo": "argon2id", "password": "$argon2id$v=19$m=65536,t=3,p=2$WXXc4ECnkej6WO7f0Xya6Q$UG2wcGltJcuW0cNTR85mAl65tI1kFWMMw7ADS2FMOvY", "claims": { - "arcad_entrypoint": "edge", - "arcad_role": "admin", - "arcad_tenant": "dev.cli", + "edge_entrypoint": "edge", + "edge_role": "admin", + "edge_tenant": "dev.cli", "preferred_username": "Admin", "sub": "admin" } @@ -28,9 +28,9 @@ "algo": "argon2id", "password": "$argon2id$v=19$m=65536,t=3,p=2$gkDAWCzfU23+un3x0ny+YA$L/NSPrd5iKPK/UnSCKfSz4EO+v94N3LTLky4QGJOfpI", "claims": { - "arcad_entrypoint": "edge", - "arcad_role": "superuser", - "arcad_tenant": "dev.cli", + "edge_entrypoint": "edge", + "edge_role": "superuser", + "edge_tenant": "dev.cli", "preferred_username": "SuperUser", "sub": "superuser" } @@ -40,9 +40,9 @@ "algo": "argon2id", "password": "$argon2id$v=19$m=65536,t=3,p=2$DhUm9qXUKP35Lzp5M37eZA$2+h6yDxSTHZqFZIuI7JZfFWozwrObna8a8yCgEEPlPE", "claims": { - "arcad_entrypoint": "edge", - "arcad_role": "user", - "arcad_tenant": "dev.cli", + "edge_entrypoint": "edge", + "edge_role": "user", + "edge_tenant": "dev.cli", "preferred_username": "User", "sub": "user" } diff --git a/cmd/cli/command/app/run.go b/cmd/cli/command/app/run.go index 9fe5169..a03c4a9 100644 --- a/cmd/cli/command/app/run.go +++ b/cmd/cli/command/app/run.go @@ -9,7 +9,9 @@ import ( "net/http" "os" "path/filepath" + "strconv" "strings" + "sync" "forge.cadoles.com/arcad/edge/pkg/app" "forge.cadoles.com/arcad/edge/pkg/bus" @@ -18,7 +20,7 @@ import ( "forge.cadoles.com/arcad/edge/pkg/module" appModule "forge.cadoles.com/arcad/edge/pkg/module/app" appModuleMemory "forge.cadoles.com/arcad/edge/pkg/module/app/memory" - "forge.cadoles.com/arcad/edge/pkg/module/auth" + authModule "forge.cadoles.com/arcad/edge/pkg/module/auth" authHTTP "forge.cadoles.com/arcad/edge/pkg/module/auth/http" "forge.cadoles.com/arcad/edge/pkg/module/blob" "forge.cadoles.com/arcad/edge/pkg/module/cast" @@ -29,7 +31,6 @@ import ( "gitlab.com/wpetit/goweb/logger" "forge.cadoles.com/arcad/edge/pkg/bundle" - "github.com/dop251/goja" "github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5/middleware" "github.com/lestrrat-go/jwx/v2/jwa" @@ -48,15 +49,15 @@ func RunCommand() *cli.Command { Name: "run", Usage: "Run the specified app bundle", Flags: []cli.Flag{ - &cli.StringFlag{ + &cli.StringSliceFlag{ Name: "path", Usage: "use `PATH` as app bundle (zipped bundle or directory)", Aliases: []string{"p"}, - Value: ".", + Value: cli.NewStringSlice("."), }, &cli.StringFlag{ Name: "address", - Usage: "use `ADDRESS` as http server listening address", + Usage: "use `ADDRESS` as http server base listening address", Aliases: []string{"a"}, Value: ":8080", }, @@ -83,96 +84,157 @@ func RunCommand() *cli.Command { }, Action: func(ctx *cli.Context) error { address := ctx.String("address") - path := ctx.String("path") + paths := ctx.StringSlice("path") logFormat := ctx.String("log-format") logLevel := ctx.Int("log-level") + storageFile := ctx.String("storage-file") + accountsFile := ctx.String("accounts-file") logger.SetFormat(logger.Format(logFormat)) logger.SetLevel(logger.Level(logLevel)) cmdCtx := ctx.Context - absPath, err := filepath.Abs(path) - if err != nil { - return errors.Wrapf(err, "could not resolve path '%s'", path) - } - - logger.Info(cmdCtx, "opening app bundle", logger.F("path", absPath)) - - bundle, err := bundle.FromPath(path) - if err != nil { - return errors.Wrapf(err, "could not open path '%s' as an app bundle", path) - } - - manifest, err := app.LoadManifest(bundle) - if err != nil { - return errors.Wrap(err, "could not load manifest from app bundle") - } - - if valid, err := manifest.Validate(manifestMetadataValidators...); !valid { - return errors.Wrap(err, "invalid app manifest") - } - - storageFile := injectAppID(ctx.String("storage-file"), manifest.ID) - - if err := ensureDir(storageFile); err != nil { - return errors.WithStack(err) - } - - db, err := sqlite.Open(storageFile) + host, portStr, err := net.SplitHostPort(address) if err != nil { return errors.WithStack(err) } - ds := sqlite.NewDocumentStoreWithDB(db) - bs := sqlite.NewBlobStoreWithDB(db) - bus := memory.NewBus() - - handler := appHTTP.NewHandler( - appHTTP.WithBus(bus), - appHTTP.WithServerModules(getServerModules(bus, ds, bs, manifest, address)...), - ) - if err := handler.Load(bundle); err != nil { - return errors.Wrap(err, "could not load app bundle") - } - - router := chi.NewRouter() - router.Use(middleware.Logger) - - accountsFile := injectAppID(ctx.String("accounts-file"), manifest.ID) - - accounts, err := loadLocalAccounts(accountsFile) - if err != nil { - return errors.Wrap(err, "could not load local accounts") - } - - // Add auth handler - key, err := dummyKey() + port, err := strconv.ParseUint(portStr, 10, 32) if err != nil { return errors.WithStack(err) } - router.Handle("/auth/*", authHTTP.NewLocalHandler( - jwa.HS256, key, - authHTTP.WithRoutePrefix("/auth"), - authHTTP.WithAccounts(accounts...), - )) - // Add app handler - router.Handle("/*", handler) + manifests := make([]*app.Manifest, len(paths)) + for idx, pth := range paths { + bdl, err := bundle.FromPath(pth) + if err != nil { + return errors.WithStack(err) + } - logger.Info(cmdCtx, "listening", logger.F("address", address)) + manifest, err := app.LoadManifest(bdl) + if err != nil { + return errors.WithStack(err) + } - if err := http.ListenAndServe(address, router); err != nil { - return errors.WithStack(err) + manifests[idx] = manifest } + var wg sync.WaitGroup + + for idx, p := range paths { + wg.Add(1) + + go func(path string, basePort uint64, appIndex int) { + defer wg.Done() + + port := basePort + uint64(appIndex) + address := fmt.Sprintf("%s:%d", host, port) + appsRepository := newAppRepository(host, basePort, manifests...) + + appCtx := logger.With(cmdCtx, logger.F("address", address)) + + if err := runApp(appCtx, path, address, storageFile, accountsFile, appsRepository); err != nil { + logger.Error(appCtx, "could not run app", logger.E(errors.WithStack(err))) + } + }(p, port, idx) + } + + wg.Wait() + return nil }, } } -func getServerModules(bus bus.Bus, ds storage.DocumentStore, bs storage.BlobStore, manifest *app.Manifest, address string) []app.ServerModuleFactory { +func runApp(ctx context.Context, path string, address string, storageFile string, accountsFile string, appRepository appModule.Repository) error { + absPath, err := filepath.Abs(path) + if err != nil { + return errors.Wrapf(err, "could not resolve path '%s'", path) + } + + logger.Info(ctx, "opening app bundle", logger.F("path", absPath)) + + bundle, err := bundle.FromPath(path) + if err != nil { + return errors.Wrapf(err, "could not open path '%s' as an app bundle", path) + } + + manifest, err := app.LoadManifest(bundle) + if err != nil { + return errors.Wrap(err, "could not load manifest from app bundle") + } + + if valid, err := manifest.Validate(manifestMetadataValidators...); !valid { + return errors.Wrap(err, "invalid app manifest") + } + + ctx = logger.With(ctx, logger.F("appID", manifest.ID)) + + storageFile = injectAppID(storageFile, manifest.ID) + + if err := ensureDir(storageFile); err != nil { + return errors.WithStack(err) + } + + db, err := sqlite.Open(storageFile) + if err != nil { + return errors.WithStack(err) + } + + accountsFile = injectAppID(accountsFile, manifest.ID) + + accounts, err := loadLocalAccounts(accountsFile) + if err != nil { + return errors.Wrap(err, "could not load local accounts") + } + + // Add auth handler + key, err := dummyKey() + if err != nil { + return errors.WithStack(err) + } + + ds := sqlite.NewDocumentStoreWithDB(db) + bs := sqlite.NewBlobStoreWithDB(db) + bus := memory.NewBus() + + handler := appHTTP.NewHandler( + appHTTP.WithBus(bus), + appHTTP.WithServerModules(getServerModules(bus, ds, bs, appRepository)...), + appHTTP.WithHTTPMounts( + appModule.Mount(appRepository), + authModule.Mount( + authHTTP.NewLocalHandler( + jwa.HS256, key, + authHTTP.WithRoutePrefix("/auth"), + authHTTP.WithAccounts(accounts...), + ), + authModule.WithJWT(dummyKeySet), + ), + ), + ) + if err := handler.Load(bundle); err != nil { + return errors.Wrap(err, "could not load app bundle") + } + + router := chi.NewRouter() + router.Use(middleware.Logger) + + // Add app handler + router.Handle("/*", handler) + + logger.Info(ctx, "listening", logger.F("address", address)) + + if err := http.ListenAndServe(address, router); err != nil { + return errors.WithStack(err) + } + + return nil +} + +func getServerModules(bus bus.Bus, ds storage.DocumentStore, bs storage.BlobStore, appRepository appModule.Repository) []app.ServerModuleFactory { return []app.ServerModuleFactory{ module.ContextModuleFactory(), module.ConsoleModuleFactory(), @@ -182,49 +244,10 @@ func getServerModules(bus bus.Bus, ds storage.DocumentStore, bs storage.BlobStor module.RPCModuleFactory(bus), module.StoreModuleFactory(ds), blob.ModuleFactory(bus, bs), - module.Extends( - auth.ModuleFactory( - auth.WithJWT(dummyKeySet), - ), - func(o *goja.Object) { - if err := o.Set("CLAIM_TENANT", "arcad_tenant"); err != nil { - panic(errors.New("could not set 'CLAIM_TENANT' property")) - } - - if err := o.Set("CLAIM_ENTRYPOINT", "arcad_entrypoint"); err != nil { - panic(errors.New("could not set 'CLAIM_ENTRYPOINT' property")) - } - - if err := o.Set("CLAIM_ROLE", "arcad_role"); err != nil { - panic(errors.New("could not set 'CLAIM_ROLE' property")) - } - - if err := o.Set("CLAIM_PREFERRED_USERNAME", "preferred_username"); err != nil { - panic(errors.New("could not set 'CLAIM_PREFERRED_USERNAME' property")) - } - }, + authModule.ModuleFactory( + authModule.WithJWT(dummyKeySet), ), - appModule.ModuleFactory(appModuleMemory.NewRepository( - func(ctx context.Context, id app.ID, from string) (string, error) { - addr := address - if strings.HasPrefix(addr, ":") { - addr = "0.0.0.0" + addr - } - - host, port, err := net.SplitHostPort(addr) - if err != nil { - return "", errors.WithStack(err) - } - - addr, err = findMatchingDeviceAddress(ctx, from, host) - if err != nil { - return "", errors.WithStack(err) - } - - return fmt.Sprintf("http://%s:%s", addr, port), nil - }, - manifest, - )), + appModule.ModuleFactory(appRepository), fetch.ModuleFactory(bus), } } @@ -349,3 +372,25 @@ func findMatchingDeviceAddress(ctx context.Context, from string, defaultAddr str return defaultAddr, nil } + +func newAppRepository(host string, basePort uint64, manifests ...*app.Manifest) *appModuleMemory.Repository { + return appModuleMemory.NewRepository( + func(ctx context.Context, id app.ID, from string) (string, error) { + appIndex := 0 + for i := 0; i < len(manifests); i++ { + if manifests[i].ID == id { + appIndex = i + break + } + } + + addr, err := findMatchingDeviceAddress(ctx, from, host) + if err != nil { + return "", errors.WithStack(err) + } + + return fmt.Sprintf("http://%s:%d", addr, int(basePort)+appIndex), nil + }, + manifests..., + ) +} diff --git a/doc/apps/client-api/README.md b/doc/apps/client-api/README.md index 9174744..4223896 100644 --- a/doc/apps/client-api/README.md +++ b/doc/apps/client-api/README.md @@ -10,5 +10,6 @@ Afin de pouvoir utiliser le SDK "client", vous devez inclure dans la page HTML d Vous pourrez ensuite accéder aux variables globales suivantes: -- [`Edge`](./edge.md) - Client principal d'échange avec le serveur -- [`EdgeFrame`](./edge-frame.md) \ No newline at end of file +- [`Edge.Client`](./edge-client.md) - Client principal d'échange avec le serveur +- [`Edge.Frame`](./edge-frame.md) - Utilitaire de communication avec une frame parente +- [`Edge.Menu`](./edge-menu.md) - Gestionnaire de menu \ No newline at end of file diff --git a/doc/apps/client-api/edge.md b/doc/apps/client-api/edge-client.md similarity index 51% rename from doc/apps/client-api/edge.md rename to doc/apps/client-api/edge-client.md index 8d09f7e..2ecf646 100644 --- a/doc/apps/client-api/edge.md +++ b/doc/apps/client-api/edge-client.md @@ -1,22 +1,22 @@ -# `Edge` +# `Edge.Client` ## Méthodes -### `Edge.connect(): Promise` +### `Edge.Client.connect(): Promise` > `TODO` -### `Edge.disconnect(): void` +### `Edge.Client.disconnect(): void` > `TODO` -### `Edge.send(message: Object): void` +### `Edge.Client.send(message: Object): void` > `TODO` -### `Edge.rpc(method: string, params: Object): Promise` +### `Edge.Client.rpc(method: string, params: Object): Promise` > `TODO` #### Exemple @@ -36,22 +36,22 @@ function echo(ctx, params) { **Côté client** ```js -Edge.connect().then(() => { - Edge.rpc("echo", { hello: "world!" }) +Edge.Client.connect().then(() => { + Edge.Client.rpc("echo", { hello: "world!" }) .then(result => console.log(result)) .catch(err => console.error(err)); }); ``` -### `Edge.upload(blob: Blob, metadata: Object): Promise` +### `Edge.Client.upload(blob: Blob, metadata: Object): Promise` > `TODO` -### `Edge.blobUrl(bucketName: string, blobId: string): string` +### `Edge.Client.blobUrl(bucketName: string, blobId: string): string` > `TODO` -### `Edge.externalUrl(url: string): string` +### `Edge.Client.externalUrl(url: string): string` Retourne une URL "locale" permettant d'accéder à une ressource externe, en fonction de règles propres à l'application. Voir module [`fetch`](../server-api/fetch.md). @@ -64,5 +64,5 @@ Retourne une URL "locale" permettant d'accéder à une ressource externe, en fon #### Exemple ```js -Edge.addEventListener("message", evt => console.log(evt.detail)); +Edge.Client.addEventListener("message", evt => console.log(evt.detail)); ``` \ No newline at end of file diff --git a/doc/apps/client-api/edge-frame.md b/doc/apps/client-api/edge-frame.md index 1579dd8..8f2c14b 100644 --- a/doc/apps/client-api/edge-frame.md +++ b/doc/apps/client-api/edge-frame.md @@ -1,8 +1,8 @@ -# `EdgeFrame` +# `Edge.Frame` ## Méthodes -### `EdgeFrame.addEventListener(name: string, listener: (event) => void)` +### `Edge.Frame.addEventListener(name: string, listener: (event) => void)` > `TODO` diff --git a/doc/apps/client-api/edge-menu.md b/doc/apps/client-api/edge-menu.md new file mode 100644 index 0000000..2592948 --- /dev/null +++ b/doc/apps/client-api/edge-menu.md @@ -0,0 +1,27 @@ +# `Edge.Menu` + +## Méthodes + +### `Edge.Menu.show()` + +Afficher le menu. + +### `Edge.Menu.hide()` + +Cacher le menu. + +### `setItem(name: string, label:string, options?: { iconUrl?: string, linkUrl?: string, order?: number })` + +Créer/mettre à jour l'item nommé de la section du menu associée à l'application. + +### `removeItem(name: string)` + +Supprimer l'item de la section du menu associée à l'application. + +### `setAppIconUrl(url: string)` + +Mettre à jour l'URL de l'icône de la section du menu associée à l'application. + +### `setAppTitle(title: string)` + +Mettre à jour le titre de la section du menu associée à l'application. \ No newline at end of file diff --git a/doc/apps/my-first-app.md b/doc/apps/my-first-app.md index 8777247..620d002 100644 --- a/doc/apps/my-first-app.md +++ b/doc/apps/my-first-app.md @@ -40,13 +40,13 @@ Créer le fichier `my-app/public/index.html`: diff --git a/doc/apps/server-api/blob.md b/doc/apps/server-api/blob.md index cb0eb7c..c771d7d 100644 --- a/doc/apps/server-api/blob.md +++ b/doc/apps/server-api/blob.md @@ -86,4 +86,4 @@ interface BlobInfo { ### `Metadata` -L'objet `Metadata` est un objet clé/valeur arbitraire transmis avec la requête de téléversement. Voir la méthode [`Edge.upload(blob, metadata)`](../client-api/README.md#edge-upload-blob-blob-metadata-object-promise) du SDK client. \ No newline at end of file +L'objet `Metadata` est un objet clé/valeur arbitraire transmis avec la requête de téléversement. Voir la méthode [`Edge.Client.upload(blob, metadata)`](../client-api/README.md#edge-upload-blob-blob-metadata-object-promise) du SDK client. \ No newline at end of file diff --git a/doc/apps/server-api/fetch.md b/doc/apps/server-api/fetch.md index f9d01a2..325d910 100644 --- a/doc/apps/server-api/fetch.md +++ b/doc/apps/server-api/fetch.md @@ -13,7 +13,7 @@ Pour permettre aux utilisateurs d'accéder à des ressources distantes, vous dev **Côté client** ```js // Création d'une URL "locale" permettant d'accéder à la ressource distante -var url = Edge.externalUrl("http://example.com") +var url = Edge.Client.externalUrl("http://example.com") // Vous pouvez utiliser l'URL comme attribut `src` d'une balise par exemple // ou effectuer une requête fetch() avec celle ci. diff --git a/doc/apps/server-api/net.md b/doc/apps/server-api/net.md index 41e6f1f..dbb7553 100644 --- a/doc/apps/server-api/net.md +++ b/doc/apps/server-api/net.md @@ -32,9 +32,9 @@ Aucune ```js // Les données envoyées par le serveur sont accessibles // via la propriété evt.detail. -Edge.on('message', evt => console.log(evt.detail)); +Edge.Client.on('message', evt => console.log(evt.detail)); -Edge.connect(); +Edge.Client.connect(); ``` **Côté serveur** diff --git a/doc/apps/server-api/rpc.md b/doc/apps/server-api/rpc.md index 3ae975e..9f7fca7 100644 --- a/doc/apps/server-api/rpc.md +++ b/doc/apps/server-api/rpc.md @@ -1,6 +1,6 @@ # Module `rpc` -Ce module permet de déclarer des méthodes côté serveur qui seront "invoquable" côté client via la méthode [`Edge.rpc(method: string, params: Object): Promise`](../client-api/README.md#edgerpcmethod-string-params-object-promise). +Ce module permet de déclarer des méthodes côté serveur qui seront "invoquable" côté client via la méthode [`Edge.Client.rpc(method: string, params: Object): Promise`](../client-api/README.md#edgerpcmethod-string-params-object-promise). ## Méthodes @@ -31,8 +31,8 @@ function echo(ctx, params) { **Côté client** ```js -Edge.connect().then(() => { - Edge.rpc("echo", { hello: "world!" }) +Edge.Client.connect().then(() => { + Edge.Client.rpc("echo", { hello: "world!" }) .then(result => console.log(result)) .catch(err => console.error(err)); }); diff --git a/go.mod b/go.mod index 7e24124..bfbc640 100644 --- a/go.mod +++ b/go.mod @@ -10,17 +10,21 @@ require ( require ( github.com/brutella/dnssd v1.2.6 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect + github.com/go-playground/locales v0.12.1 // indirect + github.com/go-playground/universal-translator v0.16.0 // indirect github.com/goccy/go-json v0.9.11 // indirect github.com/gogo/protobuf v0.0.0-20161014173244-50d1bd39ce4e // indirect github.com/golang-jwt/jwt v3.2.2+incompatible // indirect github.com/hashicorp/go.net v0.0.0-20151006203346-104dcad90073 // indirect github.com/hashicorp/mdns v0.0.0-20151206042412-9d85cf22f9f8 // indirect + github.com/leodido/go-urn v1.1.0 // indirect github.com/lestrrat-go/blackmagic v1.0.1 // indirect github.com/lestrrat-go/httpcc v1.0.1 // indirect github.com/lestrrat-go/httprc v1.0.4 // indirect github.com/lestrrat-go/iter v1.0.2 // indirect github.com/lestrrat-go/option v1.0.0 // indirect github.com/miekg/dns v1.1.50 // indirect + gopkg.in/go-playground/validator.v9 v9.29.1 // indirect ) require ( @@ -54,7 +58,7 @@ require ( github.com/spf13/afero v1.9.3 // indirect github.com/urfave/cli/v2 v2.24.3 github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect - gitlab.com/wpetit/goweb v0.0.0-20230206085656-dec695f0e2e9 + gitlab.com/wpetit/goweb v0.0.0-20230419082146-a94d9ed7202b go.opencensus.io v0.22.5 // indirect golang.org/x/crypto v0.7.0 // indirect golang.org/x/mod v0.8.0 // indirect diff --git a/go.sum b/go.sum index e8c9084..7b9adba 100644 --- a/go.sum +++ b/go.sum @@ -109,7 +109,9 @@ github.com/go-chi/chi/v5 v5.0.8/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITL github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-playground/locales v0.12.1 h1:2FITxuFt/xuCNP1Acdhv62OzaCiviiE4kotfhkmOqEc= github.com/go-playground/locales v0.12.1/go.mod h1:IUMDtCfWo/w/mtMfIE/IG2K+Ey3ygWanZIBtBW0W2TM= +github.com/go-playground/universal-translator v0.16.0 h1:X++omBR/4cE2MNg91AoC3rmGrCjJ8eAeUP/K/EKx4DM= github.com/go-playground/universal-translator v0.16.0/go.mod h1:1AnU7NaIRDWWzGEKwgtJRd2xk99HeFyHw3yid4rvQIY= github.com/go-sourcemap/sourcemap v2.1.3+incompatible h1:W1iEw64niKVGogNgBN3ePyLFfuisuzeidWPMPWmECqU= github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= @@ -210,6 +212,7 @@ github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NB github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/leodido/go-urn v1.1.0 h1:Sm1gr51B1kKyfD2BlRcLSiEkffoG96g6TPv6eRoEiB8= github.com/leodido/go-urn v1.1.0/go.mod h1:+cyI34gQWZcE1eQU7NVgKkkzdXDQHr1dBMtdAPozLkw= github.com/lestrrat-go/blackmagic v1.0.1 h1:lS5Zts+5HIC/8og6cGHb0uCcNCa3OUt1ygh3Qz2Fe80= github.com/lestrrat-go/blackmagic v1.0.1/go.mod h1:UrEqBzIR2U6CnzVyUtfM6oZNMt/7O7Vohk2J0OGSAtU= @@ -291,6 +294,8 @@ github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1 github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= gitlab.com/wpetit/goweb v0.0.0-20230206085656-dec695f0e2e9 h1:6JlkcdjYVQglPWYuemK2MoZAtRE4vFx85zLXflGIyI8= gitlab.com/wpetit/goweb v0.0.0-20230206085656-dec695f0e2e9/go.mod h1:3sus4zjoUv1GB7eDLL60QaPkUnXJCWBpjvbe0jWifeY= +gitlab.com/wpetit/goweb v0.0.0-20230419082146-a94d9ed7202b h1:nkvOl8TCj/mErADnwFFynjxBtC+hHsrESw6rw56JGmg= +gitlab.com/wpetit/goweb v0.0.0-20230419082146-a94d9ed7202b/go.mod h1:3sus4zjoUv1GB7eDLL60QaPkUnXJCWBpjvbe0jWifeY= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -636,6 +641,7 @@ gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE= +gopkg.in/go-playground/validator.v9 v9.29.1 h1:SvGtYmN60a5CVKTOzMSyfzWDeZRxRuGvRQyEAKbw1xc= gopkg.in/go-playground/validator.v9 v9.29.1/go.mod h1:+c9/zcJMFNgbLvly1L1V+PpxWdVbfP1avr/N00E2vyQ= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= diff --git a/misc/client-sdk-testsuite/src/manifest.yml b/misc/client-sdk-testsuite/src/manifest.yml index af5bed1..f7a88b6 100644 --- a/misc/client-sdk-testsuite/src/manifest.yml +++ b/misc/client-sdk-testsuite/src/manifest.yml @@ -9,4 +9,4 @@ tags: ["test"] metadata: paths: icon: /icon.png - minimumRole: visitor \ No newline at end of file + minimumRole: superadmin \ No newline at end of file diff --git a/misc/client-sdk-testsuite/src/public/index.html b/misc/client-sdk-testsuite/src/public/index.html index b1d9e97..0511898 100644 --- a/misc/client-sdk-testsuite/src/public/index.html +++ b/misc/client-sdk-testsuite/src/public/index.html @@ -8,7 +8,10 @@ @@ -30,6 +33,17 @@ \ No newline at end of file diff --git a/misc/client-sdk-testsuite/src/public/test/app-module.js b/misc/client-sdk-testsuite/src/public/test/app-module.js index 098db90..07deb1b 100644 --- a/misc/client-sdk-testsuite/src/public/test/app-module.js +++ b/misc/client-sdk-testsuite/src/public/test/app-module.js @@ -1,15 +1,15 @@ describe('App Module', function() { before(() => { - return Edge.connect(); + return Edge.Client.connect(); }); after(() => { - Edge.disconnect(); + Edge.Client.disconnect(); }); it('should list apps', function() { - return Edge.rpc("listApps") + return Edge.Client.rpc("listApps") .then(apps => { console.log("listApps result:", apps); chai.assert.isNotNull(apps); @@ -18,7 +18,7 @@ describe('App Module', function() { }); it('should retrieve requested app', function() { - return Edge.rpc("getApp", { appId: "edge.sdk.client.test" }) + return Edge.Client.rpc("getApp", { appId: "edge.sdk.client.test" }) .then(app => { console.log("getApp result:", app); chai.assert.isNotNull(app); @@ -27,7 +27,7 @@ describe('App Module', function() { }); it('should retrieve requested app url without from address', function() { - return Edge.rpc("getAppUrl", { appId: "edge.sdk.client.test" }) + return Edge.Client.rpc("getAppUrl", { appId: "edge.sdk.client.test" }) .then(url => { console.log("getAppUrl result:", url); chai.assert.isNotEmpty(url); @@ -35,7 +35,7 @@ describe('App Module', function() { }); it('should retrieve requested app url with from address', function() { - return Edge.rpc("getAppUrl", { appId: "edge.sdk.client.test", from: "127.0.0.2" }) + return Edge.Client.rpc("getAppUrl", { appId: "edge.sdk.client.test", from: "127.0.0.2" }) .then(url => { console.log("getAppUrl result:", url); chai.assert.isNotEmpty(url); diff --git a/misc/client-sdk-testsuite/src/public/test/auth-module.js b/misc/client-sdk-testsuite/src/public/test/auth-module.js index 6a743e2..012903b 100644 --- a/misc/client-sdk-testsuite/src/public/test/auth-module.js +++ b/misc/client-sdk-testsuite/src/public/test/auth-module.js @@ -1,15 +1,15 @@ describe('Auth Module', function() { before(() => { - return Edge.connect(); + return Edge.Client.connect(); }); after(() => { - Edge.disconnect(); + Edge.Client.disconnect(); }); it('should retrieve user informations', function() { - return Edge.rpc("getUserInfo") + return Edge.Client.rpc("getUserInfo") .then(userInfo => { console.log("getUserInfo result:", userInfo); chai.assert.property(userInfo, 'subject'); diff --git a/misc/client-sdk-testsuite/src/public/test/client-sdk.js b/misc/client-sdk-testsuite/src/public/test/client-sdk.js index 67fba54..799da88 100644 --- a/misc/client-sdk-testsuite/src/public/test/client-sdk.js +++ b/misc/client-sdk-testsuite/src/public/test/client-sdk.js @@ -1,25 +1,25 @@ -Edge.debug = true; -EdgeFrame.debug = true; +Edge.Client.debug = true; +Edge.Frame.debug = true; describe('Edge', function() { describe('#connect()', function() { after(() => { - Edge.disconnect(); + Edge.Client.disconnect(); }); it('should open the connection', function() { - return Edge.connect() + return Edge.Client.connect() .then(() => { - chai.assert.isNotNull(Edge._conn); + chai.assert.isNotNull(Edge.Client._conn); }); }); }); describe('#disconnect()', function() { it('should close the connection', function() { - Edge.disconnect(); - chai.assert.isNull(Edge._conn); + Edge.Client.disconnect(); + chai.assert.isNull(Edge.Client._conn); }); }); diff --git a/misc/client-sdk-testsuite/src/public/test/fetch-module.js b/misc/client-sdk-testsuite/src/public/test/fetch-module.js index ae77863..403a311 100644 --- a/misc/client-sdk-testsuite/src/public/test/fetch-module.js +++ b/misc/client-sdk-testsuite/src/public/test/fetch-module.js @@ -1,15 +1,15 @@ describe('Fetch Module', function () { before(() => { - return Edge.connect(); + return Edge.Client.connect(); }); after(() => { - Edge.disconnect(); + Edge.Client.disconnect(); }); it('should fetch an authorized external url', function () { - var externalUrl = Edge.externalUrl("http://example.com"); + var externalUrl = Edge.Client.externalUrl("http://example.com"); return fetch(externalUrl) .then(res => { @@ -22,7 +22,7 @@ describe('Fetch Module', function () { }); it('should not fetch an unauthorized external url', function () { - var externalUrl = Edge.externalUrl("https://google.com"); + var externalUrl = Edge.Client.externalUrl("https://google.com"); return fetch(externalUrl) .then(res => { diff --git a/misc/client-sdk-testsuite/src/public/test/file-module.js b/misc/client-sdk-testsuite/src/public/test/file-module.js index aebf29b..b612b7e 100644 --- a/misc/client-sdk-testsuite/src/public/test/file-module.js +++ b/misc/client-sdk-testsuite/src/public/test/file-module.js @@ -1,25 +1,25 @@ describe('File Module', function () { before(() => { - return Edge.connect(); + return Edge.Client.connect(); }); after(() => { - Edge.disconnect(); + Edge.Client.disconnect(); }); it('should upload then download a blob', function () { const content = JSON.stringify({ "date": new Date() }); const blob = new Blob([content], { type: "application/json" }); - return Edge.upload(blob) + return Edge.Client.upload(blob) .then(upload => upload.result()) .then(result => { chai.assert.isNotEmpty(result.blobId); chai.assert.isNotEmpty(result.bucket); - const blobUrl = Edge.blobUrl(result.bucket, result.blobId); + const blobUrl = Edge.Client.blobUrl(result.bucket, result.blobId); chai.assert.isNotEmpty(blobUrl); return fetch(blobUrl) diff --git a/misc/client-sdk-testsuite/src/public/test/net-module.js b/misc/client-sdk-testsuite/src/public/test/net-module.js index d74c13e..734d43c 100644 --- a/misc/client-sdk-testsuite/src/public/test/net-module.js +++ b/misc/client-sdk-testsuite/src/public/test/net-module.js @@ -2,11 +2,11 @@ describe('Net Module', function () { this.timeout(5000); before(() => { - return Edge.connect(); + return Edge.Client.connect(); }); after(() => { - Edge.disconnect(); + Edge.Client.disconnect(); }); it('should broadcast a message from server', function (done) { @@ -18,12 +18,12 @@ describe('Net Module', function () { chai.assert.deepEqual(message, evt.detail); - Edge.removeEventListener('message', handler); + Edge.Client.removeEventListener('message', handler); done(); }; - Edge.addEventListener("message", handler); - Edge.send(message); + Edge.Client.addEventListener("message", handler); + Edge.Client.send(message); }); it('should send a message to the server and echo back', function(done) { @@ -35,15 +35,15 @@ describe('Net Module', function () { chai.assert.equal(receivedMessage.now, now.toJSON()); - Edge.removeEventListener('message', handler); + Edge.Client.removeEventListener('message', handler); done(); } // Server should echo back message - Edge.addEventListener('message', handler); + Edge.Client.addEventListener('message', handler); // Send message to server - Edge.send({ test: 'echo', now }); + Edge.Client.send({ test: 'echo', now }); }); }); \ No newline at end of file diff --git a/misc/client-sdk-testsuite/src/public/test/rpc-module.js b/misc/client-sdk-testsuite/src/public/test/rpc-module.js index 1d5c1e9..3d88b19 100644 --- a/misc/client-sdk-testsuite/src/public/test/rpc-module.js +++ b/misc/client-sdk-testsuite/src/public/test/rpc-module.js @@ -1,17 +1,17 @@ describe('Remote Procedure Call', function () { before(() => { - return Edge.connect(); + return Edge.Client.connect(); }); after(() => { - Edge.disconnect(); + Edge.Client.disconnect(); }); it('should call the remote echo() method and resolve the returned value', function () { const foo = "bar"; - return Edge.rpc('echo', { foo }) + return Edge.Client.rpc('echo', { foo }) .then(result => { console.log(result); chai.assert.equal(result.foo, foo); @@ -19,7 +19,7 @@ describe('Remote Procedure Call', function () { }); it('should call the remote throwErrorFromClient() method and reject with an error', function () { - return Edge.rpc('throwErrorFromClient') + return Edge.Client.rpc('throwErrorFromClient') .catch(err => { // Assert that it's an "internal" error // See https://www.jsonrpc.org/specification#error_object @@ -28,7 +28,7 @@ describe('Remote Procedure Call', function () { }); it('should call an unregistered method and reject with an error', function () { - return Edge.rpc('unregisteredMethod') + return Edge.Client.rpc('unregisteredMethod') .catch(err => { // Assert that it's an "method not found" error // See https://www.jsonrpc.org/specification#error_object @@ -44,11 +44,11 @@ describe('Remote Procedure Call', function () { for (let i = 0; i <= 1000; i++) { values.push((Math.random() * 1000 | 0)); } - return Edge.rpc('reset') + return Edge.Client.rpc('reset') .then(() => { - return Promise.all(values.map(v => Edge.rpc("add", { value: v }))); + return Promise.all(values.map(v => Edge.Client.rpc("add", { value: v }))); }) - .then(() => Edge.rpc('total')) + .then(() => Edge.Client.rpc('total')) .then(remoteTotal => { const localTotal = values.reduce((t, v) => t + v); console.log("Remote total:", remoteTotal, "Local total:", localTotal); diff --git a/modd.conf b/modd.conf index 08b8a0c..5f5e28a 100644 --- a/modd.conf +++ b/modd.conf @@ -6,8 +6,11 @@ misc/client-sdk-testsuite/src/**/* modd.conf { prep: make build-sdk - prep: cd misc/client-sdk-testsuite && make dist + prep: make build-client-sdk-test-app prep: make build - prep: make GOTEST_ARGS="-short" test - daemon: bin/cli app run -p misc/client-sdk-testsuite/dist + daemon: make run-app } + +**/*.go { + prep: make GOTEST_ARGS="-short" test +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 7a1ff25..a12a3b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,14 +10,50 @@ "license": "AGPL-3.0", "dependencies": { "@types/sockjs-client": "^1.5.1", + "@webcomponents/webcomponentsjs": "^2.8.0", + "core-js": "^3.30.1", + "lit": "^2.7.2", "sockjs-client": "^1.6.1" } }, + "node_modules/@lit-labs/ssr-dom-shim": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.1.0.tgz", + "integrity": "sha512-92uQ5ARf7UXYrzaFcAX3T2rTvaS9Z1//ukV+DqjACM4c8s0ZBQd7ayJU5Dh2AFLD/Ayuyz4uMmxQec8q3U4Ong==" + }, + "node_modules/@lit/reactive-element": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-1.6.1.tgz", + "integrity": "sha512-va15kYZr7KZNNPZdxONGQzpUr+4sxVu7V/VG7a8mRfPPXUyhEYj5RzXCQmGrlP3tAh0L3HHm5AjBMFYRqlM9SA==", + "dependencies": { + "@lit-labs/ssr-dom-shim": "^1.0.0" + } + }, "node_modules/@types/sockjs-client": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/@types/sockjs-client/-/sockjs-client-1.5.1.tgz", "integrity": "sha512-bmZM6A1GPdjF0bcuIUC+50hZEMGkzMsiG9by6X9U+7IZFOiPtz7MJ9h05FSpPVxlj4i+TzzoG3ESo1FJlbLb6A==" }, + "node_modules/@types/trusted-types": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.3.tgz", + "integrity": "sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g==" + }, + "node_modules/@webcomponents/webcomponentsjs": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/@webcomponents/webcomponentsjs/-/webcomponentsjs-2.8.0.tgz", + "integrity": "sha512-loGD63sacRzOzSJgQnB9ZAhaQGkN7wl2Zuw7tsphI5Isa0irijrRo6EnJii/GgjGefIFO8AIO7UivzRhFaEk9w==" + }, + "node_modules/core-js": { + "version": "3.30.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.30.1.tgz", + "integrity": "sha512-ZNS5nbiSwDTq4hFosEDqm65izl2CWmLz0hARJMyNQBgkUZMIF51cQiMvIQKA6hvuaeWxQDP3hEedM1JZIgTldQ==", + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, "node_modules/debug": { "version": "3.2.7", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", @@ -55,6 +91,34 @@ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, + "node_modules/lit": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/lit/-/lit-2.7.2.tgz", + "integrity": "sha512-9QnZmG5mIKPRja96cpndMclLSi0Qrz2BXD6EbqNqCKMMjOWVm/BwAeXufFk2jqFsNmY07HOzU8X+8aTSVt3yrA==", + "dependencies": { + "@lit/reactive-element": "^1.6.0", + "lit-element": "^3.3.0", + "lit-html": "^2.7.0" + } + }, + "node_modules/lit-element": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-3.3.1.tgz", + "integrity": "sha512-Gl+2409uXWbf7n6cCl7Kzasm7zjT9xmdwi2BhLNi70sRKAgRkqueDu5mSIH3hPYMM0/vqBCdPXod3NbGkRA2ww==", + "dependencies": { + "@lit-labs/ssr-dom-shim": "^1.1.0", + "@lit/reactive-element": "^1.3.0", + "lit-html": "^2.7.0" + } + }, + "node_modules/lit-html": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-2.7.2.tgz", + "integrity": "sha512-ZJCfKlA2XELu5tn7XuzOziGFGvf1SeQm+ngLWoJ8bXtSkRrrR3ms6SWy+gsdxeYwySLij5xAhdd2C3EX0ftxdQ==", + "dependencies": { + "@types/trusted-types": "^2.0.2" + } + }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -139,11 +203,39 @@ } }, "dependencies": { + "@lit-labs/ssr-dom-shim": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.1.0.tgz", + "integrity": "sha512-92uQ5ARf7UXYrzaFcAX3T2rTvaS9Z1//ukV+DqjACM4c8s0ZBQd7ayJU5Dh2AFLD/Ayuyz4uMmxQec8q3U4Ong==" + }, + "@lit/reactive-element": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-1.6.1.tgz", + "integrity": "sha512-va15kYZr7KZNNPZdxONGQzpUr+4sxVu7V/VG7a8mRfPPXUyhEYj5RzXCQmGrlP3tAh0L3HHm5AjBMFYRqlM9SA==", + "requires": { + "@lit-labs/ssr-dom-shim": "^1.0.0" + } + }, "@types/sockjs-client": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/@types/sockjs-client/-/sockjs-client-1.5.1.tgz", "integrity": "sha512-bmZM6A1GPdjF0bcuIUC+50hZEMGkzMsiG9by6X9U+7IZFOiPtz7MJ9h05FSpPVxlj4i+TzzoG3ESo1FJlbLb6A==" }, + "@types/trusted-types": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.3.tgz", + "integrity": "sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g==" + }, + "@webcomponents/webcomponentsjs": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/@webcomponents/webcomponentsjs/-/webcomponentsjs-2.8.0.tgz", + "integrity": "sha512-loGD63sacRzOzSJgQnB9ZAhaQGkN7wl2Zuw7tsphI5Isa0irijrRo6EnJii/GgjGefIFO8AIO7UivzRhFaEk9w==" + }, + "core-js": { + "version": "3.30.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.30.1.tgz", + "integrity": "sha512-ZNS5nbiSwDTq4hFosEDqm65izl2CWmLz0hARJMyNQBgkUZMIF51cQiMvIQKA6hvuaeWxQDP3hEedM1JZIgTldQ==" + }, "debug": { "version": "3.2.7", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", @@ -175,6 +267,34 @@ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, + "lit": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/lit/-/lit-2.7.2.tgz", + "integrity": "sha512-9QnZmG5mIKPRja96cpndMclLSi0Qrz2BXD6EbqNqCKMMjOWVm/BwAeXufFk2jqFsNmY07HOzU8X+8aTSVt3yrA==", + "requires": { + "@lit/reactive-element": "^1.6.0", + "lit-element": "^3.3.0", + "lit-html": "^2.7.0" + } + }, + "lit-element": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-3.3.1.tgz", + "integrity": "sha512-Gl+2409uXWbf7n6cCl7Kzasm7zjT9xmdwi2BhLNi70sRKAgRkqueDu5mSIH3hPYMM0/vqBCdPXod3NbGkRA2ww==", + "requires": { + "@lit-labs/ssr-dom-shim": "^1.1.0", + "@lit/reactive-element": "^1.3.0", + "lit-html": "^2.7.0" + } + }, + "lit-html": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-2.7.2.tgz", + "integrity": "sha512-ZJCfKlA2XELu5tn7XuzOziGFGvf1SeQm+ngLWoJ8bXtSkRrrR3ms6SWy+gsdxeYwySLij5xAhdd2C3EX0ftxdQ==", + "requires": { + "@types/trusted-types": "^2.0.2" + } + }, "ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", diff --git a/package.json b/package.json index 3845639..857ce73 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,9 @@ "license": "AGPL-3.0", "dependencies": { "@types/sockjs-client": "^1.5.1", + "@webcomponents/webcomponentsjs": "^2.8.0", + "core-js": "^3.30.1", + "lit": "^2.7.2", "sockjs-client": "^1.6.1" } } diff --git a/pkg/http/handler.go b/pkg/http/handler.go index 9beb1ba..333544a 100644 --- a/pkg/http/handler.go +++ b/pkg/http/handler.go @@ -103,13 +103,19 @@ func NewHandler(funcs ...HandlerOptionFunc) *Handler { r.Get("/client.js.map", handler.handleSDKClientMap) }) - r.Route("/api/v1", func(r chi.Router) { - r.Post("/upload", handler.handleAppUpload) - r.Get("/download/{bucket}/{blobID}", handler.handleAppDownload) + r.Route("/api", func(r chi.Router) { + r.Post("/v1/upload", handler.handleAppUpload) + r.Get("/v1/download/{bucket}/{blobID}", handler.handleAppDownload) - r.Get("/fetch", handler.handleAppFetch) + r.Get("/v1/fetch", handler.handleAppFetch) }) + for _, fn := range opts.HTTPMounts { + r.Group(func(r chi.Router) { + fn(r) + }) + } + r.HandleFunc("/sock/*", handler.handleSockJS) }) diff --git a/pkg/http/options.go b/pkg/http/options.go index c335f1a..ab4d5d7 100644 --- a/pkg/http/options.go +++ b/pkg/http/options.go @@ -7,6 +7,7 @@ import ( "forge.cadoles.com/arcad/edge/pkg/app" "forge.cadoles.com/arcad/edge/pkg/bus" "forge.cadoles.com/arcad/edge/pkg/bus/memory" + "github.com/go-chi/chi/v5" "github.com/igm/sockjs-go/v3/sockjs" ) @@ -16,6 +17,7 @@ type HandlerOptions struct { ServerModuleFactories []app.ServerModuleFactory UploadMaxFileSize int64 HTTPClient *http.Client + HTTPMounts []func(r chi.Router) } func defaultHandlerOptions() *HandlerOptions { @@ -32,6 +34,7 @@ func defaultHandlerOptions() *HandlerOptions { HTTPClient: &http.Client{ Timeout: time.Second * 30, }, + HTTPMounts: make([]func(r chi.Router), 0), } } @@ -66,3 +69,9 @@ func WithHTTPClient(client *http.Client) HandlerOptionFunc { opts.HTTPClient = client } } + +func WithHTTPMounts(mounts ...func(r chi.Router)) HandlerOptionFunc { + return func(opts *HandlerOptions) { + opts.HTTPMounts = mounts + } +} diff --git a/pkg/module/app/memory/repository.go b/pkg/module/app/memory/repository.go index ef1d010..9989e06 100644 --- a/pkg/module/app/memory/repository.go +++ b/pkg/module/app/memory/repository.go @@ -44,6 +44,10 @@ func (r *Repository) List(ctx context.Context) ([]*app.Manifest, error) { } func NewRepository(getURL GetURLFunc, manifests ...*app.Manifest) *Repository { + if manifests == nil { + manifests = make([]*app.Manifest, 0) + } + return &Repository{getURL, manifests} } diff --git a/pkg/module/app/mount.go b/pkg/module/app/mount.go new file mode 100644 index 0000000..cb8426f --- /dev/null +++ b/pkg/module/app/mount.go @@ -0,0 +1,112 @@ +package app + +import ( + "net" + "net/http" + + "forge.cadoles.com/arcad/edge/pkg/app" + "github.com/go-chi/chi/v5" + "github.com/pkg/errors" + "gitlab.com/wpetit/goweb/api" + "gitlab.com/wpetit/goweb/logger" +) + +type MountFunc func(r chi.Router) + +type Handler struct { + repo Repository +} + +func (h *Handler) serveApps(w http.ResponseWriter, r *http.Request) { + manifests, err := h.repo.List(r.Context()) + if err != nil { + logger.Error(r.Context(), "could not retrieve app manifest", logger.E(errors.WithStack(err))) + api.ErrorResponse(w, http.StatusInternalServerError, api.ErrCodeUnknownError, nil) + + return + } + + api.DataResponse(w, http.StatusOK, struct { + Manifests []*app.Manifest `json:"manifests"` + }{ + Manifests: manifests, + }) +} + +func (h *Handler) serveApp(w http.ResponseWriter, r *http.Request) { + appID := app.ID(chi.URLParam(r, "appID")) + + manifest, err := h.repo.Get(r.Context(), appID) + if err != nil { + if errors.Is(err, ErrNotFound) { + api.ErrorResponse(w, http.StatusNotFound, api.ErrCodeNotFound, nil) + + return + } + + logger.Error(r.Context(), "could not retrieve app manifest", logger.E(errors.WithStack(err))) + api.ErrorResponse(w, http.StatusInternalServerError, api.ErrCodeUnknownError, nil) + + return + } + + api.DataResponse(w, http.StatusOK, struct { + Manifest *app.Manifest `json:"manifest"` + }{ + Manifest: manifest, + }) +} + +type serveAppURLRequest struct { + From string `json:"from,omitempty"` +} + +func (h *Handler) serveAppURL(w http.ResponseWriter, r *http.Request) { + ctx := r.Context() + + req := &serveAppURLRequest{} + if ok := api.Bind(w, r, req); !ok { + return + } + + appID := app.ID(chi.URLParam(r, "appID")) + + from := req.From + if from == "" { + host, _, err := net.SplitHostPort(r.RemoteAddr) + if err != nil { + logger.Warn(ctx, "could not split remote address", logger.E(errors.WithStack(err))) + } else { + from = host + } + } + + url, err := h.repo.GetURL(ctx, appID, from) + if err != nil { + if errors.Is(err, ErrNotFound) { + api.ErrorResponse(w, http.StatusNotFound, api.ErrCodeNotFound, nil) + + return + } + + logger.Error(r.Context(), "could not retrieve app url", logger.E(errors.WithStack(err))) + api.ErrorResponse(w, http.StatusInternalServerError, api.ErrCodeUnknownError, nil) + + return + } + + api.DataResponse(w, http.StatusOK, struct { + URL string `json:"url"` + }{ + URL: url, + }) +} + +func Mount(repository Repository) MountFunc { + handler := &Handler{repository} + return func(r chi.Router) { + r.Get("/api/v1/apps", handler.serveApps) + r.Get("/api/v1/apps/{appID}", handler.serveApp) + r.Post("/api/v1/apps/{appID}/url", handler.serveAppURL) + } +} diff --git a/pkg/module/app/repository.go b/pkg/module/app/repository.go index 26426c9..5833396 100644 --- a/pkg/module/app/repository.go +++ b/pkg/module/app/repository.go @@ -9,5 +9,5 @@ import ( type Repository interface { List(context.Context) ([]*app.Manifest, error) Get(context.Context, app.ID) (*app.Manifest, error) - GetURL(context.Context, app.ID, string) (string, error) + GetURL(ctx context.Context, id app.ID, from string) (string, error) } diff --git a/pkg/module/auth/error.go b/pkg/module/auth/error.go index 046dd02..96618f9 100644 --- a/pkg/module/auth/error.go +++ b/pkg/module/auth/error.go @@ -2,7 +2,4 @@ package auth import "errors" -var ( - ErrUnauthenticated = errors.New("unauthenticated") - ErrClaimNotFound = errors.New("claim not found") -) +var ErrUnauthenticated = errors.New("unauthenticated") diff --git a/pkg/module/auth/http/local_handler.go b/pkg/module/auth/http/local_handler.go index dd482f2..be7d7c1 100644 --- a/pkg/module/auth/http/local_handler.go +++ b/pkg/module/auth/http/local_handler.go @@ -110,6 +110,8 @@ func (h *LocalHandler) handleForm(w http.ResponseWriter, r *http.Request) { return } + account.Claims[auth.ClaimIssuer] = "local" + token, err := generateSignedToken(h.algo, h.key, account.Claims) if err != nil { logger.Error(ctx, "could not generate signed token", logger.E(errors.WithStack(err))) diff --git a/pkg/module/auth/http/templates/login.html.tmpl b/pkg/module/auth/http/templates/login.html.tmpl index 12ce632..aad773a 100644 --- a/pkg/module/auth/http/templates/login.html.tmpl +++ b/pkg/module/auth/http/templates/login.html.tmpl @@ -91,7 +91,7 @@
- +
diff --git a/pkg/module/auth/jwt.go b/pkg/module/auth/jwt.go index 34f0ca8..13bf306 100644 --- a/pkg/module/auth/jwt.go +++ b/pkg/module/auth/jwt.go @@ -19,10 +19,10 @@ type GetKeySetFunc func() (jwk.Set, error) func WithJWT(getKeySet GetKeySetFunc) OptionFunc { return func(o *Option) { - o.GetClaim = func(ctx context.Context, r *http.Request, claimName string) (string, error) { - claim, err := getClaim[string](r, claimName, getKeySet) + o.GetClaims = func(ctx context.Context, r *http.Request, names ...string) ([]string, error) { + claim, err := getClaims[string](r, getKeySet, names...) if err != nil { - return "", errors.WithStack(err) + return nil, errors.WithStack(err) } return claim, nil @@ -76,28 +76,34 @@ func FindToken(r *http.Request, getKeySet GetKeySetFunc) (jwt.Token, error) { return token, nil } -func getClaim[T any](r *http.Request, claimAttr string, getKeySet GetKeySetFunc) (T, error) { +func getClaims[T any](r *http.Request, getKeySet GetKeySetFunc, names ...string) ([]T, error) { token, err := FindToken(r, getKeySet) if err != nil { - return *new(T), errors.WithStack(err) + return nil, errors.WithStack(err) } ctx := r.Context() mapClaims, err := token.AsMap(ctx) if err != nil { - return *new(T), errors.WithStack(err) + return nil, errors.WithStack(err) } - rawClaim, exists := mapClaims[claimAttr] - if !exists { - return *new(T), errors.WithStack(ErrClaimNotFound) + claims := make([]T, len(names)) + + for idx, n := range names { + rawClaim, exists := mapClaims[n] + if !exists { + continue + } + + claim, ok := rawClaim.(T) + if !ok { + return nil, errors.Errorf("unexpected claim '%s' to be of type '%T', got '%T'", n, new(T), rawClaim) + } + + claims[idx] = claim } - claim, ok := rawClaim.(T) - if !ok { - return *new(T), errors.Errorf("unexpected claim '%s' to be of type '%T', got '%T'", claimAttr, new(T), rawClaim) - } - - return claim, nil + return claims, nil } diff --git a/pkg/module/auth/module.go b/pkg/module/auth/module.go index 4d8fd4d..ffa8d8e 100644 --- a/pkg/module/auth/module.go +++ b/pkg/module/auth/module.go @@ -8,15 +8,21 @@ import ( "forge.cadoles.com/arcad/edge/pkg/module/util" "github.com/dop251/goja" "github.com/pkg/errors" + "gitlab.com/wpetit/goweb/logger" ) const ( - ClaimSubject = "sub" + ClaimSubject = "sub" + ClaimIssuer = "iss" + ClaimPreferredUsername = "preferred_username" + ClaimEdgeRole = "edge_role" + ClaimEdgeTenant = "edge_tenant" + ClaimEdgeEntrypoint = "edge_entrypoint" ) type Module struct { - server *app.Server - getClaimFunc GetClaimFunc + server *app.Server + getClaims GetClaimsFunc } func (m *Module) Name() string { @@ -31,6 +37,22 @@ func (m *Module) Export(export *goja.Object) { if err := export.Set("CLAIM_SUBJECT", ClaimSubject); err != nil { panic(errors.Wrap(err, "could not set 'CLAIM_SUBJECT' property")) } + + if err := export.Set("CLAIM_TENANT", ClaimEdgeTenant); err != nil { + panic(errors.Wrap(err, "could not set 'CLAIM_TENANT' property")) + } + + if err := export.Set("CLAIM_ENTRYPOINT", ClaimEdgeEntrypoint); err != nil { + panic(errors.Wrap(err, "could not set 'CLAIM_ENTRYPOINT' property")) + } + + if err := export.Set("CLAIM_ROLE", ClaimEdgeRole); err != nil { + panic(errors.Wrap(err, "could not set 'CLAIM_ROLE' property")) + } + + if err := export.Set("CLAIM_PREFERRED_USERNAME", ClaimPreferredUsername); err != nil { + panic(errors.Wrap(err, "could not set 'CLAIM_PREFERRED_USERNAME' property")) + } } func (m *Module) getClaim(call goja.FunctionCall, rt *goja.Runtime) goja.Value { @@ -42,16 +64,21 @@ func (m *Module) getClaim(call goja.FunctionCall, rt *goja.Runtime) goja.Value { panic(rt.ToValue(errors.New("could not find http request in context"))) } - claim, err := m.getClaimFunc(ctx, req, claimName) + claim, err := m.getClaims(ctx, req, claimName) if err != nil { - if errors.Is(err, ErrUnauthenticated) || errors.Is(err, ErrClaimNotFound) { + if errors.Is(err, ErrUnauthenticated) { return nil } - panic(rt.ToValue(errors.WithStack(err))) + logger.Error(ctx, "could not retrieve claim", logger.E(errors.WithStack(err))) + return nil } - return rt.ToValue(claim) + if len(claim) == 0 || claim[0] == "" { + return nil + } + + return rt.ToValue(claim[0]) } func ModuleFactory(funcs ...OptionFunc) app.ServerModuleFactory { @@ -62,8 +89,8 @@ func ModuleFactory(funcs ...OptionFunc) app.ServerModuleFactory { return func(server *app.Server) app.ServerModule { return &Module{ - server: server, - getClaimFunc: opt.GetClaim, + server: server, + getClaims: opt.GetClaims, } } } diff --git a/pkg/module/auth/mount.go b/pkg/module/auth/mount.go new file mode 100644 index 0000000..f193150 --- /dev/null +++ b/pkg/module/auth/mount.go @@ -0,0 +1,72 @@ +package auth + +import ( + "net/http" + + "github.com/go-chi/chi/v5" + "github.com/pkg/errors" + "gitlab.com/wpetit/goweb/api" + "gitlab.com/wpetit/goweb/logger" +) + +type MountFunc func(r chi.Router) + +type Handler struct { + getClaims GetClaimsFunc + profileClaims []string +} + +func (h *Handler) serveProfile(w http.ResponseWriter, r *http.Request) { + ctx := r.Context() + + claims, err := h.getClaims(ctx, r, h.profileClaims...) + if err != nil { + if errors.Is(err, ErrUnauthenticated) { + api.ErrorResponse( + w, http.StatusUnauthorized, + api.ErrCodeUnauthorized, + nil, + ) + + return + } + + logger.Error(ctx, "could not retrieve claims", logger.E(errors.WithStack(err))) + api.ErrorResponse( + w, http.StatusInternalServerError, + api.ErrCodeUnknownError, + nil, + ) + + return + } + + profile := make(map[string]any) + + for idx, cl := range h.profileClaims { + profile[cl] = claims[idx] + } + + api.DataResponse(w, http.StatusOK, struct { + Profile map[string]any `json:"profile"` + }{ + Profile: profile, + }) +} + +func Mount(authHandler http.Handler, funcs ...OptionFunc) MountFunc { + opt := defaultOptions() + for _, fn := range funcs { + fn(opt) + } + + handler := &Handler{ + profileClaims: opt.ProfileClaims, + getClaims: opt.GetClaims, + } + + return func(r chi.Router) { + r.Get("/api/v1/profile", handler.serveProfile) + r.Handle("/auth/*", authHandler) + } +} diff --git a/pkg/module/auth/option.go b/pkg/module/auth/option.go index fe63999..a10bbdb 100644 --- a/pkg/module/auth/option.go +++ b/pkg/module/auth/option.go @@ -7,26 +7,41 @@ import ( "github.com/pkg/errors" ) -type GetClaimFunc func(ctx context.Context, r *http.Request, claimName string) (string, error) +type GetClaimsFunc func(ctx context.Context, r *http.Request, claims ...string) ([]string, error) type Option struct { - GetClaim GetClaimFunc + GetClaims GetClaimsFunc + ProfileClaims []string } type OptionFunc func(*Option) func defaultOptions() *Option { return &Option{ - GetClaim: dummyGetClaim, + GetClaims: dummyGetClaims, + ProfileClaims: []string{ + ClaimSubject, + ClaimIssuer, + ClaimEdgeEntrypoint, + ClaimEdgeRole, + ClaimPreferredUsername, + ClaimEdgeTenant, + }, } } -func dummyGetClaim(ctx context.Context, r *http.Request, claimName string) (string, error) { - return "", errors.Errorf("dummy getclaim func cannot retrieve claim '%s'", claimName) +func dummyGetClaims(ctx context.Context, r *http.Request, claims ...string) ([]string, error) { + return nil, errors.Errorf("dummy getclaim func cannot retrieve claims '%s'", claims) } -func WithGetClaim(fn GetClaimFunc) OptionFunc { +func WithGetClaims(fn GetClaimsFunc) OptionFunc { return func(o *Option) { - o.GetClaim = fn + o.GetClaims = fn + } +} + +func WithProfileClaims(claims ...string) OptionFunc { + return func(o *Option) { + o.ProfileClaims = claims } } diff --git a/pkg/sdk/client/dist/client.js b/pkg/sdk/client/dist/client.js index 9bcc555..7368977 100644 --- a/pkg/sdk/client/dist/client.js +++ b/pkg/sdk/client/dist/client.js @@ -1,10 +1,27 @@ var Edge = (() => { var __create = Object.create; var __defProp = Object.defineProperty; + var __defProps = Object.defineProperties; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; + var __getOwnPropDescs = Object.getOwnPropertyDescriptors; var __getOwnPropNames = Object.getOwnPropertyNames; + var __getOwnPropSymbols = Object.getOwnPropertySymbols; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; + var __propIsEnum = Object.prototype.propertyIsEnumerable; + var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; + var __spreadValues = (a3, b2) => { + for (var prop in b2 || (b2 = {})) + if (__hasOwnProp.call(b2, prop)) + __defNormalProp(a3, prop, b2[prop]); + if (__getOwnPropSymbols) + for (var prop of __getOwnPropSymbols(b2)) { + if (__propIsEnum.call(b2, prop)) + __defNormalProp(a3, prop, b2[prop]); + } + return a3; + }; + var __spreadProps = (a3, b2) => __defProps(a3, __getOwnPropDescs(b2)); var __commonJS = (cb, mod) => function __require() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; @@ -29,6 +46,19136 @@ var Edge = (() => { mod )); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + var __decorateClass = (decorators, target, key, kind) => { + var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target; + for (var i4 = decorators.length - 1, decorator; i4 >= 0; i4--) + if (decorator = decorators[i4]) + result = (kind ? decorator(target, key, result) : decorator(result)) || result; + if (kind && result) + __defProp(target, key, result); + return result; + }; + var __async = (__this, __arguments, generator) => { + return new Promise((resolve, reject) => { + var fulfilled = (value) => { + try { + step(generator.next(value)); + } catch (e7) { + reject(e7); + } + }; + var rejected = (value) => { + try { + step(generator.throw(value)); + } catch (e7) { + reject(e7); + } + }; + var step = (x2) => x2.done ? resolve(x2.value) : Promise.resolve(x2.value).then(fulfilled, rejected); + step((generator = generator.apply(__this, __arguments)).next()); + }); + }; + + // node_modules/core-js/internals/global.js + var require_global = __commonJS({ + "node_modules/core-js/internals/global.js"(exports, module) { + var check = function(it) { + return it && it.Math == Math && it; + }; + module.exports = // eslint-disable-next-line es/no-global-this -- safe + check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe + check(typeof self == "object" && self) || check(typeof window == "object" && window) || // eslint-disable-next-line no-new-func -- fallback + function() { + return this; + }() || Function("return this")(); + } + }); + + // node_modules/core-js/internals/fails.js + var require_fails = __commonJS({ + "node_modules/core-js/internals/fails.js"(exports, module) { + module.exports = function(exec) { + try { + return !!exec(); + } catch (error) { + return true; + } + }; + } + }); + + // node_modules/core-js/internals/descriptors.js + var require_descriptors = __commonJS({ + "node_modules/core-js/internals/descriptors.js"(exports, module) { + var fails = require_fails(); + module.exports = !fails(function() { + return Object.defineProperty({}, 1, { get: function() { + return 7; + } })[1] != 7; + }); + } + }); + + // node_modules/core-js/internals/function-bind-native.js + var require_function_bind_native = __commonJS({ + "node_modules/core-js/internals/function-bind-native.js"(exports, module) { + var fails = require_fails(); + module.exports = !fails(function() { + var test = function() { + }.bind(); + return typeof test != "function" || test.hasOwnProperty("prototype"); + }); + } + }); + + // node_modules/core-js/internals/function-call.js + var require_function_call = __commonJS({ + "node_modules/core-js/internals/function-call.js"(exports, module) { + var NATIVE_BIND = require_function_bind_native(); + var call = Function.prototype.call; + module.exports = NATIVE_BIND ? call.bind(call) : function() { + return call.apply(call, arguments); + }; + } + }); + + // node_modules/core-js/internals/object-property-is-enumerable.js + var require_object_property_is_enumerable = __commonJS({ + "node_modules/core-js/internals/object-property-is-enumerable.js"(exports) { + "use strict"; + var $propertyIsEnumerable = {}.propertyIsEnumerable; + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); + exports.f = NASHORN_BUG ? function propertyIsEnumerable(V2) { + var descriptor = getOwnPropertyDescriptor(this, V2); + return !!descriptor && descriptor.enumerable; + } : $propertyIsEnumerable; + } + }); + + // node_modules/core-js/internals/create-property-descriptor.js + var require_create_property_descriptor = __commonJS({ + "node_modules/core-js/internals/create-property-descriptor.js"(exports, module) { + module.exports = function(bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value + }; + }; + } + }); + + // node_modules/core-js/internals/function-uncurry-this.js + var require_function_uncurry_this = __commonJS({ + "node_modules/core-js/internals/function-uncurry-this.js"(exports, module) { + var NATIVE_BIND = require_function_bind_native(); + var FunctionPrototype = Function.prototype; + var call = FunctionPrototype.call; + var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); + module.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) { + return function() { + return call.apply(fn, arguments); + }; + }; + } + }); + + // node_modules/core-js/internals/classof-raw.js + var require_classof_raw = __commonJS({ + "node_modules/core-js/internals/classof-raw.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var toString = uncurryThis({}.toString); + var stringSlice = uncurryThis("".slice); + module.exports = function(it) { + return stringSlice(toString(it), 8, -1); + }; + } + }); + + // node_modules/core-js/internals/indexed-object.js + var require_indexed_object = __commonJS({ + "node_modules/core-js/internals/indexed-object.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var fails = require_fails(); + var classof = require_classof_raw(); + var $Object = Object; + var split = uncurryThis("".split); + module.exports = fails(function() { + return !$Object("z").propertyIsEnumerable(0); + }) ? function(it) { + return classof(it) == "String" ? split(it, "") : $Object(it); + } : $Object; + } + }); + + // node_modules/core-js/internals/is-null-or-undefined.js + var require_is_null_or_undefined = __commonJS({ + "node_modules/core-js/internals/is-null-or-undefined.js"(exports, module) { + module.exports = function(it) { + return it === null || it === void 0; + }; + } + }); + + // node_modules/core-js/internals/require-object-coercible.js + var require_require_object_coercible = __commonJS({ + "node_modules/core-js/internals/require-object-coercible.js"(exports, module) { + var isNullOrUndefined = require_is_null_or_undefined(); + var $TypeError = TypeError; + module.exports = function(it) { + if (isNullOrUndefined(it)) + throw $TypeError("Can't call method on " + it); + return it; + }; + } + }); + + // node_modules/core-js/internals/to-indexed-object.js + var require_to_indexed_object = __commonJS({ + "node_modules/core-js/internals/to-indexed-object.js"(exports, module) { + var IndexedObject = require_indexed_object(); + var requireObjectCoercible = require_require_object_coercible(); + module.exports = function(it) { + return IndexedObject(requireObjectCoercible(it)); + }; + } + }); + + // node_modules/core-js/internals/document-all.js + var require_document_all = __commonJS({ + "node_modules/core-js/internals/document-all.js"(exports, module) { + var documentAll = typeof document == "object" && document.all; + var IS_HTMLDDA = typeof documentAll == "undefined" && documentAll !== void 0; + module.exports = { + all: documentAll, + IS_HTMLDDA + }; + } + }); + + // node_modules/core-js/internals/is-callable.js + var require_is_callable = __commonJS({ + "node_modules/core-js/internals/is-callable.js"(exports, module) { + var $documentAll = require_document_all(); + var documentAll = $documentAll.all; + module.exports = $documentAll.IS_HTMLDDA ? function(argument) { + return typeof argument == "function" || argument === documentAll; + } : function(argument) { + return typeof argument == "function"; + }; + } + }); + + // node_modules/core-js/internals/is-object.js + var require_is_object = __commonJS({ + "node_modules/core-js/internals/is-object.js"(exports, module) { + var isCallable = require_is_callable(); + var $documentAll = require_document_all(); + var documentAll = $documentAll.all; + module.exports = $documentAll.IS_HTMLDDA ? function(it) { + return typeof it == "object" ? it !== null : isCallable(it) || it === documentAll; + } : function(it) { + return typeof it == "object" ? it !== null : isCallable(it); + }; + } + }); + + // node_modules/core-js/internals/get-built-in.js + var require_get_built_in = __commonJS({ + "node_modules/core-js/internals/get-built-in.js"(exports, module) { + var global2 = require_global(); + var isCallable = require_is_callable(); + var aFunction = function(argument) { + return isCallable(argument) ? argument : void 0; + }; + module.exports = function(namespace, method) { + return arguments.length < 2 ? aFunction(global2[namespace]) : global2[namespace] && global2[namespace][method]; + }; + } + }); + + // node_modules/core-js/internals/object-is-prototype-of.js + var require_object_is_prototype_of = __commonJS({ + "node_modules/core-js/internals/object-is-prototype-of.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + module.exports = uncurryThis({}.isPrototypeOf); + } + }); + + // node_modules/core-js/internals/engine-user-agent.js + var require_engine_user_agent = __commonJS({ + "node_modules/core-js/internals/engine-user-agent.js"(exports, module) { + module.exports = typeof navigator != "undefined" && String(navigator.userAgent) || ""; + } + }); + + // node_modules/core-js/internals/engine-v8-version.js + var require_engine_v8_version = __commonJS({ + "node_modules/core-js/internals/engine-v8-version.js"(exports, module) { + var global2 = require_global(); + var userAgent = require_engine_user_agent(); + var process2 = global2.process; + var Deno2 = global2.Deno; + var versions = process2 && process2.versions || Deno2 && Deno2.version; + var v8 = versions && versions.v8; + var match; + var version; + if (v8) { + match = v8.split("."); + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); + } + if (!version && userAgent) { + match = userAgent.match(/Edge\/(\d+)/); + if (!match || match[1] >= 74) { + match = userAgent.match(/Chrome\/(\d+)/); + if (match) + version = +match[1]; + } + } + module.exports = version; + } + }); + + // node_modules/core-js/internals/symbol-constructor-detection.js + var require_symbol_constructor_detection = __commonJS({ + "node_modules/core-js/internals/symbol-constructor-detection.js"(exports, module) { + var V8_VERSION = require_engine_v8_version(); + var fails = require_fails(); + module.exports = !!Object.getOwnPropertySymbols && !fails(function() { + var symbol = Symbol(); + return !String(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances + !Symbol.sham && V8_VERSION && V8_VERSION < 41; + }); + } + }); + + // node_modules/core-js/internals/use-symbol-as-uid.js + var require_use_symbol_as_uid = __commonJS({ + "node_modules/core-js/internals/use-symbol-as-uid.js"(exports, module) { + var NATIVE_SYMBOL = require_symbol_constructor_detection(); + module.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == "symbol"; + } + }); + + // node_modules/core-js/internals/is-symbol.js + var require_is_symbol = __commonJS({ + "node_modules/core-js/internals/is-symbol.js"(exports, module) { + var getBuiltIn = require_get_built_in(); + var isCallable = require_is_callable(); + var isPrototypeOf = require_object_is_prototype_of(); + var USE_SYMBOL_AS_UID = require_use_symbol_as_uid(); + var $Object = Object; + module.exports = USE_SYMBOL_AS_UID ? function(it) { + return typeof it == "symbol"; + } : function(it) { + var $Symbol = getBuiltIn("Symbol"); + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); + }; + } + }); + + // node_modules/core-js/internals/try-to-string.js + var require_try_to_string = __commonJS({ + "node_modules/core-js/internals/try-to-string.js"(exports, module) { + var $String = String; + module.exports = function(argument) { + try { + return $String(argument); + } catch (error) { + return "Object"; + } + }; + } + }); + + // node_modules/core-js/internals/a-callable.js + var require_a_callable = __commonJS({ + "node_modules/core-js/internals/a-callable.js"(exports, module) { + var isCallable = require_is_callable(); + var tryToString = require_try_to_string(); + var $TypeError = TypeError; + module.exports = function(argument) { + if (isCallable(argument)) + return argument; + throw $TypeError(tryToString(argument) + " is not a function"); + }; + } + }); + + // node_modules/core-js/internals/get-method.js + var require_get_method = __commonJS({ + "node_modules/core-js/internals/get-method.js"(exports, module) { + var aCallable = require_a_callable(); + var isNullOrUndefined = require_is_null_or_undefined(); + module.exports = function(V2, P2) { + var func = V2[P2]; + return isNullOrUndefined(func) ? void 0 : aCallable(func); + }; + } + }); + + // node_modules/core-js/internals/ordinary-to-primitive.js + var require_ordinary_to_primitive = __commonJS({ + "node_modules/core-js/internals/ordinary-to-primitive.js"(exports, module) { + var call = require_function_call(); + var isCallable = require_is_callable(); + var isObject = require_is_object(); + var $TypeError = TypeError; + module.exports = function(input, pref) { + var fn, val; + if (pref === "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) + return val; + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) + return val; + if (pref !== "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) + return val; + throw $TypeError("Can't convert object to primitive value"); + }; + } + }); + + // node_modules/core-js/internals/is-pure.js + var require_is_pure = __commonJS({ + "node_modules/core-js/internals/is-pure.js"(exports, module) { + module.exports = false; + } + }); + + // node_modules/core-js/internals/define-global-property.js + var require_define_global_property = __commonJS({ + "node_modules/core-js/internals/define-global-property.js"(exports, module) { + var global2 = require_global(); + var defineProperty = Object.defineProperty; + module.exports = function(key, value) { + try { + defineProperty(global2, key, { value, configurable: true, writable: true }); + } catch (error) { + global2[key] = value; + } + return value; + }; + } + }); + + // node_modules/core-js/internals/shared-store.js + var require_shared_store = __commonJS({ + "node_modules/core-js/internals/shared-store.js"(exports, module) { + var global2 = require_global(); + var defineGlobalProperty = require_define_global_property(); + var SHARED = "__core-js_shared__"; + var store = global2[SHARED] || defineGlobalProperty(SHARED, {}); + module.exports = store; + } + }); + + // node_modules/core-js/internals/shared.js + var require_shared = __commonJS({ + "node_modules/core-js/internals/shared.js"(exports, module) { + var IS_PURE = require_is_pure(); + var store = require_shared_store(); + (module.exports = function(key, value) { + return store[key] || (store[key] = value !== void 0 ? value : {}); + })("versions", []).push({ + version: "3.30.1", + mode: IS_PURE ? "pure" : "global", + copyright: "\xA9 2014-2023 Denis Pushkarev (zloirock.ru)", + license: "https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE", + source: "https://github.com/zloirock/core-js" + }); + } + }); + + // node_modules/core-js/internals/to-object.js + var require_to_object = __commonJS({ + "node_modules/core-js/internals/to-object.js"(exports, module) { + var requireObjectCoercible = require_require_object_coercible(); + var $Object = Object; + module.exports = function(argument) { + return $Object(requireObjectCoercible(argument)); + }; + } + }); + + // node_modules/core-js/internals/has-own-property.js + var require_has_own_property = __commonJS({ + "node_modules/core-js/internals/has-own-property.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var toObject = require_to_object(); + var hasOwnProperty = uncurryThis({}.hasOwnProperty); + module.exports = Object.hasOwn || function hasOwn(it, key) { + return hasOwnProperty(toObject(it), key); + }; + } + }); + + // node_modules/core-js/internals/uid.js + var require_uid = __commonJS({ + "node_modules/core-js/internals/uid.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var id = 0; + var postfix = Math.random(); + var toString = uncurryThis(1 .toString); + module.exports = function(key) { + return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString(++id + postfix, 36); + }; + } + }); + + // node_modules/core-js/internals/well-known-symbol.js + var require_well_known_symbol = __commonJS({ + "node_modules/core-js/internals/well-known-symbol.js"(exports, module) { + var global2 = require_global(); + var shared = require_shared(); + var hasOwn = require_has_own_property(); + var uid = require_uid(); + var NATIVE_SYMBOL = require_symbol_constructor_detection(); + var USE_SYMBOL_AS_UID = require_use_symbol_as_uid(); + var Symbol2 = global2.Symbol; + var WellKnownSymbolsStore = shared("wks"); + var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol2["for"] || Symbol2 : Symbol2 && Symbol2.withoutSetter || uid; + module.exports = function(name) { + if (!hasOwn(WellKnownSymbolsStore, name)) { + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol2, name) ? Symbol2[name] : createWellKnownSymbol("Symbol." + name); + } + return WellKnownSymbolsStore[name]; + }; + } + }); + + // node_modules/core-js/internals/to-primitive.js + var require_to_primitive = __commonJS({ + "node_modules/core-js/internals/to-primitive.js"(exports, module) { + var call = require_function_call(); + var isObject = require_is_object(); + var isSymbol = require_is_symbol(); + var getMethod = require_get_method(); + var ordinaryToPrimitive = require_ordinary_to_primitive(); + var wellKnownSymbol = require_well_known_symbol(); + var $TypeError = TypeError; + var TO_PRIMITIVE = wellKnownSymbol("toPrimitive"); + module.exports = function(input, pref) { + if (!isObject(input) || isSymbol(input)) + return input; + var exoticToPrim = getMethod(input, TO_PRIMITIVE); + var result; + if (exoticToPrim) { + if (pref === void 0) + pref = "default"; + result = call(exoticToPrim, input, pref); + if (!isObject(result) || isSymbol(result)) + return result; + throw $TypeError("Can't convert object to primitive value"); + } + if (pref === void 0) + pref = "number"; + return ordinaryToPrimitive(input, pref); + }; + } + }); + + // node_modules/core-js/internals/to-property-key.js + var require_to_property_key = __commonJS({ + "node_modules/core-js/internals/to-property-key.js"(exports, module) { + var toPrimitive = require_to_primitive(); + var isSymbol = require_is_symbol(); + module.exports = function(argument) { + var key = toPrimitive(argument, "string"); + return isSymbol(key) ? key : key + ""; + }; + } + }); + + // node_modules/core-js/internals/document-create-element.js + var require_document_create_element = __commonJS({ + "node_modules/core-js/internals/document-create-element.js"(exports, module) { + var global2 = require_global(); + var isObject = require_is_object(); + var document2 = global2.document; + var EXISTS = isObject(document2) && isObject(document2.createElement); + module.exports = function(it) { + return EXISTS ? document2.createElement(it) : {}; + }; + } + }); + + // node_modules/core-js/internals/ie8-dom-define.js + var require_ie8_dom_define = __commonJS({ + "node_modules/core-js/internals/ie8-dom-define.js"(exports, module) { + var DESCRIPTORS = require_descriptors(); + var fails = require_fails(); + var createElement = require_document_create_element(); + module.exports = !DESCRIPTORS && !fails(function() { + return Object.defineProperty(createElement("div"), "a", { + get: function() { + return 7; + } + }).a != 7; + }); + } + }); + + // node_modules/core-js/internals/object-get-own-property-descriptor.js + var require_object_get_own_property_descriptor = __commonJS({ + "node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports) { + var DESCRIPTORS = require_descriptors(); + var call = require_function_call(); + var propertyIsEnumerableModule = require_object_property_is_enumerable(); + var createPropertyDescriptor = require_create_property_descriptor(); + var toIndexedObject = require_to_indexed_object(); + var toPropertyKey = require_to_property_key(); + var hasOwn = require_has_own_property(); + var IE8_DOM_DEFINE = require_ie8_dom_define(); + var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P2) { + O = toIndexedObject(O); + P2 = toPropertyKey(P2); + if (IE8_DOM_DEFINE) + try { + return $getOwnPropertyDescriptor(O, P2); + } catch (error) { + } + if (hasOwn(O, P2)) + return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P2), O[P2]); + }; + } + }); + + // node_modules/core-js/internals/v8-prototype-define-bug.js + var require_v8_prototype_define_bug = __commonJS({ + "node_modules/core-js/internals/v8-prototype-define-bug.js"(exports, module) { + var DESCRIPTORS = require_descriptors(); + var fails = require_fails(); + module.exports = DESCRIPTORS && fails(function() { + return Object.defineProperty(function() { + }, "prototype", { + value: 42, + writable: false + }).prototype != 42; + }); + } + }); + + // node_modules/core-js/internals/an-object.js + var require_an_object = __commonJS({ + "node_modules/core-js/internals/an-object.js"(exports, module) { + var isObject = require_is_object(); + var $String = String; + var $TypeError = TypeError; + module.exports = function(argument) { + if (isObject(argument)) + return argument; + throw $TypeError($String(argument) + " is not an object"); + }; + } + }); + + // node_modules/core-js/internals/object-define-property.js + var require_object_define_property = __commonJS({ + "node_modules/core-js/internals/object-define-property.js"(exports) { + var DESCRIPTORS = require_descriptors(); + var IE8_DOM_DEFINE = require_ie8_dom_define(); + var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); + var anObject = require_an_object(); + var toPropertyKey = require_to_property_key(); + var $TypeError = TypeError; + var $defineProperty = Object.defineProperty; + var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var ENUMERABLE = "enumerable"; + var CONFIGURABLE = "configurable"; + var WRITABLE = "writable"; + exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P2, Attributes) { + anObject(O); + P2 = toPropertyKey(P2); + anObject(Attributes); + if (typeof O === "function" && P2 === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { + var current = $getOwnPropertyDescriptor(O, P2); + if (current && current[WRITABLE]) { + O[P2] = Attributes.value; + Attributes = { + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], + writable: false + }; + } + } + return $defineProperty(O, P2, Attributes); + } : $defineProperty : function defineProperty(O, P2, Attributes) { + anObject(O); + P2 = toPropertyKey(P2); + anObject(Attributes); + if (IE8_DOM_DEFINE) + try { + return $defineProperty(O, P2, Attributes); + } catch (error) { + } + if ("get" in Attributes || "set" in Attributes) + throw $TypeError("Accessors not supported"); + if ("value" in Attributes) + O[P2] = Attributes.value; + return O; + }; + } + }); + + // node_modules/core-js/internals/create-non-enumerable-property.js + var require_create_non_enumerable_property = __commonJS({ + "node_modules/core-js/internals/create-non-enumerable-property.js"(exports, module) { + var DESCRIPTORS = require_descriptors(); + var definePropertyModule = require_object_define_property(); + var createPropertyDescriptor = require_create_property_descriptor(); + module.exports = DESCRIPTORS ? function(object, key, value) { + return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); + } : function(object, key, value) { + object[key] = value; + return object; + }; + } + }); + + // node_modules/core-js/internals/function-name.js + var require_function_name = __commonJS({ + "node_modules/core-js/internals/function-name.js"(exports, module) { + var DESCRIPTORS = require_descriptors(); + var hasOwn = require_has_own_property(); + var FunctionPrototype = Function.prototype; + var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; + var EXISTS = hasOwn(FunctionPrototype, "name"); + var PROPER = EXISTS && function something() { + }.name === "something"; + var CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, "name").configurable); + module.exports = { + EXISTS, + PROPER, + CONFIGURABLE + }; + } + }); + + // node_modules/core-js/internals/inspect-source.js + var require_inspect_source = __commonJS({ + "node_modules/core-js/internals/inspect-source.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var isCallable = require_is_callable(); + var store = require_shared_store(); + var functionToString = uncurryThis(Function.toString); + if (!isCallable(store.inspectSource)) { + store.inspectSource = function(it) { + return functionToString(it); + }; + } + module.exports = store.inspectSource; + } + }); + + // node_modules/core-js/internals/weak-map-basic-detection.js + var require_weak_map_basic_detection = __commonJS({ + "node_modules/core-js/internals/weak-map-basic-detection.js"(exports, module) { + var global2 = require_global(); + var isCallable = require_is_callable(); + var WeakMap2 = global2.WeakMap; + module.exports = isCallable(WeakMap2) && /native code/.test(String(WeakMap2)); + } + }); + + // node_modules/core-js/internals/shared-key.js + var require_shared_key = __commonJS({ + "node_modules/core-js/internals/shared-key.js"(exports, module) { + var shared = require_shared(); + var uid = require_uid(); + var keys = shared("keys"); + module.exports = function(key) { + return keys[key] || (keys[key] = uid(key)); + }; + } + }); + + // node_modules/core-js/internals/hidden-keys.js + var require_hidden_keys = __commonJS({ + "node_modules/core-js/internals/hidden-keys.js"(exports, module) { + module.exports = {}; + } + }); + + // node_modules/core-js/internals/internal-state.js + var require_internal_state = __commonJS({ + "node_modules/core-js/internals/internal-state.js"(exports, module) { + var NATIVE_WEAK_MAP = require_weak_map_basic_detection(); + var global2 = require_global(); + var isObject = require_is_object(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var hasOwn = require_has_own_property(); + var shared = require_shared_store(); + var sharedKey = require_shared_key(); + var hiddenKeys = require_hidden_keys(); + var OBJECT_ALREADY_INITIALIZED = "Object already initialized"; + var TypeError2 = global2.TypeError; + var WeakMap2 = global2.WeakMap; + var set; + var get; + var has; + var enforce = function(it) { + return has(it) ? get(it) : set(it, {}); + }; + var getterFor = function(TYPE) { + return function(it) { + var state2; + if (!isObject(it) || (state2 = get(it)).type !== TYPE) { + throw TypeError2("Incompatible receiver, " + TYPE + " required"); + } + return state2; + }; + }; + if (NATIVE_WEAK_MAP || shared.state) { + store = shared.state || (shared.state = new WeakMap2()); + store.get = store.get; + store.has = store.has; + store.set = store.set; + set = function(it, metadata) { + if (store.has(it)) + throw TypeError2(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + store.set(it, metadata); + return metadata; + }; + get = function(it) { + return store.get(it) || {}; + }; + has = function(it) { + return store.has(it); + }; + } else { + STATE = sharedKey("state"); + hiddenKeys[STATE] = true; + set = function(it, metadata) { + if (hasOwn(it, STATE)) + throw TypeError2(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + createNonEnumerableProperty(it, STATE, metadata); + return metadata; + }; + get = function(it) { + return hasOwn(it, STATE) ? it[STATE] : {}; + }; + has = function(it) { + return hasOwn(it, STATE); + }; + } + var store; + var STATE; + module.exports = { + set, + get, + has, + enforce, + getterFor + }; + } + }); + + // node_modules/core-js/internals/make-built-in.js + var require_make_built_in = __commonJS({ + "node_modules/core-js/internals/make-built-in.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var fails = require_fails(); + var isCallable = require_is_callable(); + var hasOwn = require_has_own_property(); + var DESCRIPTORS = require_descriptors(); + var CONFIGURABLE_FUNCTION_NAME = require_function_name().CONFIGURABLE; + var inspectSource = require_inspect_source(); + var InternalStateModule = require_internal_state(); + var enforceInternalState = InternalStateModule.enforce; + var getInternalState = InternalStateModule.get; + var $String = String; + var defineProperty = Object.defineProperty; + var stringSlice = uncurryThis("".slice); + var replace = uncurryThis("".replace); + var join = uncurryThis([].join); + var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function() { + return defineProperty(function() { + }, "length", { value: 8 }).length !== 8; + }); + var TEMPLATE = String(String).split("String"); + var makeBuiltIn = module.exports = function(value, name, options) { + if (stringSlice($String(name), 0, 7) === "Symbol(") { + name = "[" + replace($String(name), /^Symbol\(([^)]*)\)/, "$1") + "]"; + } + if (options && options.getter) + name = "get " + name; + if (options && options.setter) + name = "set " + name; + if (!hasOwn(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name) { + if (DESCRIPTORS) + defineProperty(value, "name", { value: name, configurable: true }); + else + value.name = name; + } + if (CONFIGURABLE_LENGTH && options && hasOwn(options, "arity") && value.length !== options.arity) { + defineProperty(value, "length", { value: options.arity }); + } + try { + if (options && hasOwn(options, "constructor") && options.constructor) { + if (DESCRIPTORS) + defineProperty(value, "prototype", { writable: false }); + } else if (value.prototype) + value.prototype = void 0; + } catch (error) { + } + var state2 = enforceInternalState(value); + if (!hasOwn(state2, "source")) { + state2.source = join(TEMPLATE, typeof name == "string" ? name : ""); + } + return value; + }; + Function.prototype.toString = makeBuiltIn(function toString() { + return isCallable(this) && getInternalState(this).source || inspectSource(this); + }, "toString"); + } + }); + + // node_modules/core-js/internals/define-built-in.js + var require_define_built_in = __commonJS({ + "node_modules/core-js/internals/define-built-in.js"(exports, module) { + var isCallable = require_is_callable(); + var definePropertyModule = require_object_define_property(); + var makeBuiltIn = require_make_built_in(); + var defineGlobalProperty = require_define_global_property(); + module.exports = function(O, key, value, options) { + if (!options) + options = {}; + var simple = options.enumerable; + var name = options.name !== void 0 ? options.name : key; + if (isCallable(value)) + makeBuiltIn(value, name, options); + if (options.global) { + if (simple) + O[key] = value; + else + defineGlobalProperty(key, value); + } else { + try { + if (!options.unsafe) + delete O[key]; + else if (O[key]) + simple = true; + } catch (error) { + } + if (simple) + O[key] = value; + else + definePropertyModule.f(O, key, { + value, + enumerable: false, + configurable: !options.nonConfigurable, + writable: !options.nonWritable + }); + } + return O; + }; + } + }); + + // node_modules/core-js/internals/math-trunc.js + var require_math_trunc = __commonJS({ + "node_modules/core-js/internals/math-trunc.js"(exports, module) { + var ceil = Math.ceil; + var floor = Math.floor; + module.exports = Math.trunc || function trunc(x2) { + var n6 = +x2; + return (n6 > 0 ? floor : ceil)(n6); + }; + } + }); + + // node_modules/core-js/internals/to-integer-or-infinity.js + var require_to_integer_or_infinity = __commonJS({ + "node_modules/core-js/internals/to-integer-or-infinity.js"(exports, module) { + var trunc = require_math_trunc(); + module.exports = function(argument) { + var number = +argument; + return number !== number || number === 0 ? 0 : trunc(number); + }; + } + }); + + // node_modules/core-js/internals/to-absolute-index.js + var require_to_absolute_index = __commonJS({ + "node_modules/core-js/internals/to-absolute-index.js"(exports, module) { + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var max = Math.max; + var min = Math.min; + module.exports = function(index, length) { + var integer = toIntegerOrInfinity(index); + return integer < 0 ? max(integer + length, 0) : min(integer, length); + }; + } + }); + + // node_modules/core-js/internals/to-length.js + var require_to_length = __commonJS({ + "node_modules/core-js/internals/to-length.js"(exports, module) { + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var min = Math.min; + module.exports = function(argument) { + return argument > 0 ? min(toIntegerOrInfinity(argument), 9007199254740991) : 0; + }; + } + }); + + // node_modules/core-js/internals/length-of-array-like.js + var require_length_of_array_like = __commonJS({ + "node_modules/core-js/internals/length-of-array-like.js"(exports, module) { + var toLength = require_to_length(); + module.exports = function(obj) { + return toLength(obj.length); + }; + } + }); + + // node_modules/core-js/internals/array-includes.js + var require_array_includes = __commonJS({ + "node_modules/core-js/internals/array-includes.js"(exports, module) { + var toIndexedObject = require_to_indexed_object(); + var toAbsoluteIndex = require_to_absolute_index(); + var lengthOfArrayLike = require_length_of_array_like(); + var createMethod = function(IS_INCLUDES) { + return function($this, el, fromIndex) { + var O = toIndexedObject($this); + var length = lengthOfArrayLike(O); + var index = toAbsoluteIndex(fromIndex, length); + var value; + if (IS_INCLUDES && el != el) + while (length > index) { + value = O[index++]; + if (value != value) + return true; + } + else + for (; length > index; index++) { + if ((IS_INCLUDES || index in O) && O[index] === el) + return IS_INCLUDES || index || 0; + } + return !IS_INCLUDES && -1; + }; + }; + module.exports = { + // `Array.prototype.includes` method + // https://tc39.es/ecma262/#sec-array.prototype.includes + includes: createMethod(true), + // `Array.prototype.indexOf` method + // https://tc39.es/ecma262/#sec-array.prototype.indexof + indexOf: createMethod(false) + }; + } + }); + + // node_modules/core-js/internals/object-keys-internal.js + var require_object_keys_internal = __commonJS({ + "node_modules/core-js/internals/object-keys-internal.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var hasOwn = require_has_own_property(); + var toIndexedObject = require_to_indexed_object(); + var indexOf = require_array_includes().indexOf; + var hiddenKeys = require_hidden_keys(); + var push = uncurryThis([].push); + module.exports = function(object, names) { + var O = toIndexedObject(object); + var i4 = 0; + var result = []; + var key; + for (key in O) + !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); + while (names.length > i4) + if (hasOwn(O, key = names[i4++])) { + ~indexOf(result, key) || push(result, key); + } + return result; + }; + } + }); + + // node_modules/core-js/internals/enum-bug-keys.js + var require_enum_bug_keys = __commonJS({ + "node_modules/core-js/internals/enum-bug-keys.js"(exports, module) { + module.exports = [ + "constructor", + "hasOwnProperty", + "isPrototypeOf", + "propertyIsEnumerable", + "toLocaleString", + "toString", + "valueOf" + ]; + } + }); + + // node_modules/core-js/internals/object-get-own-property-names.js + var require_object_get_own_property_names = __commonJS({ + "node_modules/core-js/internals/object-get-own-property-names.js"(exports) { + var internalObjectKeys = require_object_keys_internal(); + var enumBugKeys = require_enum_bug_keys(); + var hiddenKeys = enumBugKeys.concat("length", "prototype"); + exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return internalObjectKeys(O, hiddenKeys); + }; + } + }); + + // node_modules/core-js/internals/object-get-own-property-symbols.js + var require_object_get_own_property_symbols = __commonJS({ + "node_modules/core-js/internals/object-get-own-property-symbols.js"(exports) { + exports.f = Object.getOwnPropertySymbols; + } + }); + + // node_modules/core-js/internals/own-keys.js + var require_own_keys = __commonJS({ + "node_modules/core-js/internals/own-keys.js"(exports, module) { + var getBuiltIn = require_get_built_in(); + var uncurryThis = require_function_uncurry_this(); + var getOwnPropertyNamesModule = require_object_get_own_property_names(); + var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); + var anObject = require_an_object(); + var concat = uncurryThis([].concat); + module.exports = getBuiltIn("Reflect", "ownKeys") || function ownKeys(it) { + var keys = getOwnPropertyNamesModule.f(anObject(it)); + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; + }; + } + }); + + // node_modules/core-js/internals/copy-constructor-properties.js + var require_copy_constructor_properties = __commonJS({ + "node_modules/core-js/internals/copy-constructor-properties.js"(exports, module) { + var hasOwn = require_has_own_property(); + var ownKeys = require_own_keys(); + var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); + var definePropertyModule = require_object_define_property(); + module.exports = function(target, source, exceptions) { + var keys = ownKeys(source); + var defineProperty = definePropertyModule.f; + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; + for (var i4 = 0; i4 < keys.length; i4++) { + var key = keys[i4]; + if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } + } + }; + } + }); + + // node_modules/core-js/internals/is-forced.js + var require_is_forced = __commonJS({ + "node_modules/core-js/internals/is-forced.js"(exports, module) { + var fails = require_fails(); + var isCallable = require_is_callable(); + var replacement = /#|\.prototype\./; + var isForced = function(feature, detection) { + var value = data[normalize(feature)]; + return value == POLYFILL ? true : value == NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection; + }; + var normalize = isForced.normalize = function(string) { + return String(string).replace(replacement, ".").toLowerCase(); + }; + var data = isForced.data = {}; + var NATIVE = isForced.NATIVE = "N"; + var POLYFILL = isForced.POLYFILL = "P"; + module.exports = isForced; + } + }); + + // node_modules/core-js/internals/export.js + var require_export = __commonJS({ + "node_modules/core-js/internals/export.js"(exports, module) { + var global2 = require_global(); + var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var defineBuiltIn = require_define_built_in(); + var defineGlobalProperty = require_define_global_property(); + var copyConstructorProperties = require_copy_constructor_properties(); + var isForced = require_is_forced(); + module.exports = function(options, source) { + var TARGET = options.target; + var GLOBAL = options.global; + var STATIC = options.stat; + var FORCED, target, key, targetProperty, sourceProperty, descriptor; + if (GLOBAL) { + target = global2; + } else if (STATIC) { + target = global2[TARGET] || defineGlobalProperty(TARGET, {}); + } else { + target = (global2[TARGET] || {}).prototype; + } + if (target) + for (key in source) { + sourceProperty = source[key]; + if (options.dontCallGetSet) { + descriptor = getOwnPropertyDescriptor(target, key); + targetProperty = descriptor && descriptor.value; + } else + targetProperty = target[key]; + FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced); + if (!FORCED && targetProperty !== void 0) { + if (typeof sourceProperty == typeof targetProperty) + continue; + copyConstructorProperties(sourceProperty, targetProperty); + } + if (options.sham || targetProperty && targetProperty.sham) { + createNonEnumerableProperty(sourceProperty, "sham", true); + } + defineBuiltIn(target, key, sourceProperty, options); + } + }; + } + }); + + // node_modules/core-js/internals/to-string-tag-support.js + var require_to_string_tag_support = __commonJS({ + "node_modules/core-js/internals/to-string-tag-support.js"(exports, module) { + var wellKnownSymbol = require_well_known_symbol(); + var TO_STRING_TAG = wellKnownSymbol("toStringTag"); + var test = {}; + test[TO_STRING_TAG] = "z"; + module.exports = String(test) === "[object z]"; + } + }); + + // node_modules/core-js/internals/classof.js + var require_classof = __commonJS({ + "node_modules/core-js/internals/classof.js"(exports, module) { + var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); + var isCallable = require_is_callable(); + var classofRaw = require_classof_raw(); + var wellKnownSymbol = require_well_known_symbol(); + var TO_STRING_TAG = wellKnownSymbol("toStringTag"); + var $Object = Object; + var CORRECT_ARGUMENTS = classofRaw(function() { + return arguments; + }()) == "Arguments"; + var tryGet = function(it, key) { + try { + return it[key]; + } catch (error) { + } + }; + module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) { + var O, tag, result; + return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) == "Object" && isCallable(O.callee) ? "Arguments" : result; + }; + } + }); + + // node_modules/core-js/internals/to-string.js + var require_to_string = __commonJS({ + "node_modules/core-js/internals/to-string.js"(exports, module) { + var classof = require_classof(); + var $String = String; + module.exports = function(argument) { + if (classof(argument) === "Symbol") + throw TypeError("Cannot convert a Symbol value to a string"); + return $String(argument); + }; + } + }); + + // node_modules/core-js/internals/object-keys.js + var require_object_keys = __commonJS({ + "node_modules/core-js/internals/object-keys.js"(exports, module) { + var internalObjectKeys = require_object_keys_internal(); + var enumBugKeys = require_enum_bug_keys(); + module.exports = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys); + }; + } + }); + + // node_modules/core-js/internals/object-define-properties.js + var require_object_define_properties = __commonJS({ + "node_modules/core-js/internals/object-define-properties.js"(exports) { + var DESCRIPTORS = require_descriptors(); + var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); + var definePropertyModule = require_object_define_property(); + var anObject = require_an_object(); + var toIndexedObject = require_to_indexed_object(); + var objectKeys = require_object_keys(); + exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var props = toIndexedObject(Properties); + var keys = objectKeys(Properties); + var length = keys.length; + var index = 0; + var key; + while (length > index) + definePropertyModule.f(O, key = keys[index++], props[key]); + return O; + }; + } + }); + + // node_modules/core-js/internals/html.js + var require_html = __commonJS({ + "node_modules/core-js/internals/html.js"(exports, module) { + var getBuiltIn = require_get_built_in(); + module.exports = getBuiltIn("document", "documentElement"); + } + }); + + // node_modules/core-js/internals/object-create.js + var require_object_create = __commonJS({ + "node_modules/core-js/internals/object-create.js"(exports, module) { + var anObject = require_an_object(); + var definePropertiesModule = require_object_define_properties(); + var enumBugKeys = require_enum_bug_keys(); + var hiddenKeys = require_hidden_keys(); + var html = require_html(); + var documentCreateElement = require_document_create_element(); + var sharedKey = require_shared_key(); + var GT = ">"; + var LT = "<"; + var PROTOTYPE = "prototype"; + var SCRIPT = "script"; + var IE_PROTO = sharedKey("IE_PROTO"); + var EmptyConstructor = function() { + }; + var scriptTag = function(content) { + return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT; + }; + var NullProtoObjectViaActiveX = function(activeXDocument2) { + activeXDocument2.write(scriptTag("")); + activeXDocument2.close(); + var temp = activeXDocument2.parentWindow.Object; + activeXDocument2 = null; + return temp; + }; + var NullProtoObjectViaIFrame = function() { + var iframe = documentCreateElement("iframe"); + var JS = "java" + SCRIPT + ":"; + var iframeDocument; + iframe.style.display = "none"; + html.appendChild(iframe); + iframe.src = String(JS); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(scriptTag("document.F=Object")); + iframeDocument.close(); + return iframeDocument.F; + }; + var activeXDocument; + var NullProtoObject = function() { + try { + activeXDocument = new ActiveXObject("htmlfile"); + } catch (error) { + } + NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument); + var length = enumBugKeys.length; + while (length--) + delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; + return NullProtoObject(); + }; + hiddenKeys[IE_PROTO] = true; + module.exports = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + EmptyConstructor[PROTOTYPE] = anObject(O); + result = new EmptyConstructor(); + EmptyConstructor[PROTOTYPE] = null; + result[IE_PROTO] = O; + } else + result = NullProtoObject(); + return Properties === void 0 ? result : definePropertiesModule.f(result, Properties); + }; + } + }); + + // node_modules/core-js/internals/create-property.js + var require_create_property = __commonJS({ + "node_modules/core-js/internals/create-property.js"(exports, module) { + "use strict"; + var toPropertyKey = require_to_property_key(); + var definePropertyModule = require_object_define_property(); + var createPropertyDescriptor = require_create_property_descriptor(); + module.exports = function(object, key, value) { + var propertyKey = toPropertyKey(key); + if (propertyKey in object) + definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); + else + object[propertyKey] = value; + }; + } + }); + + // node_modules/core-js/internals/array-slice-simple.js + var require_array_slice_simple = __commonJS({ + "node_modules/core-js/internals/array-slice-simple.js"(exports, module) { + var toAbsoluteIndex = require_to_absolute_index(); + var lengthOfArrayLike = require_length_of_array_like(); + var createProperty = require_create_property(); + var $Array = Array; + var max = Math.max; + module.exports = function(O, start, end) { + var length = lengthOfArrayLike(O); + var k2 = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === void 0 ? length : end, length); + var result = $Array(max(fin - k2, 0)); + for (var n6 = 0; k2 < fin; k2++, n6++) + createProperty(result, n6, O[k2]); + result.length = n6; + return result; + }; + } + }); + + // node_modules/core-js/internals/object-get-own-property-names-external.js + var require_object_get_own_property_names_external = __commonJS({ + "node_modules/core-js/internals/object-get-own-property-names-external.js"(exports, module) { + var classof = require_classof_raw(); + var toIndexedObject = require_to_indexed_object(); + var $getOwnPropertyNames = require_object_get_own_property_names().f; + var arraySlice = require_array_slice_simple(); + var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; + var getWindowNames = function(it) { + try { + return $getOwnPropertyNames(it); + } catch (error) { + return arraySlice(windowNames); + } + }; + module.exports.f = function getOwnPropertyNames(it) { + return windowNames && classof(it) == "Window" ? getWindowNames(it) : $getOwnPropertyNames(toIndexedObject(it)); + }; + } + }); + + // node_modules/core-js/internals/define-built-in-accessor.js + var require_define_built_in_accessor = __commonJS({ + "node_modules/core-js/internals/define-built-in-accessor.js"(exports, module) { + var makeBuiltIn = require_make_built_in(); + var defineProperty = require_object_define_property(); + module.exports = function(target, name, descriptor) { + if (descriptor.get) + makeBuiltIn(descriptor.get, name, { getter: true }); + if (descriptor.set) + makeBuiltIn(descriptor.set, name, { setter: true }); + return defineProperty.f(target, name, descriptor); + }; + } + }); + + // node_modules/core-js/internals/well-known-symbol-wrapped.js + var require_well_known_symbol_wrapped = __commonJS({ + "node_modules/core-js/internals/well-known-symbol-wrapped.js"(exports) { + var wellKnownSymbol = require_well_known_symbol(); + exports.f = wellKnownSymbol; + } + }); + + // node_modules/core-js/internals/path.js + var require_path = __commonJS({ + "node_modules/core-js/internals/path.js"(exports, module) { + var global2 = require_global(); + module.exports = global2; + } + }); + + // node_modules/core-js/internals/well-known-symbol-define.js + var require_well_known_symbol_define = __commonJS({ + "node_modules/core-js/internals/well-known-symbol-define.js"(exports, module) { + var path = require_path(); + var hasOwn = require_has_own_property(); + var wrappedWellKnownSymbolModule = require_well_known_symbol_wrapped(); + var defineProperty = require_object_define_property().f; + module.exports = function(NAME) { + var Symbol2 = path.Symbol || (path.Symbol = {}); + if (!hasOwn(Symbol2, NAME)) + defineProperty(Symbol2, NAME, { + value: wrappedWellKnownSymbolModule.f(NAME) + }); + }; + } + }); + + // node_modules/core-js/internals/symbol-define-to-primitive.js + var require_symbol_define_to_primitive = __commonJS({ + "node_modules/core-js/internals/symbol-define-to-primitive.js"(exports, module) { + var call = require_function_call(); + var getBuiltIn = require_get_built_in(); + var wellKnownSymbol = require_well_known_symbol(); + var defineBuiltIn = require_define_built_in(); + module.exports = function() { + var Symbol2 = getBuiltIn("Symbol"); + var SymbolPrototype = Symbol2 && Symbol2.prototype; + var valueOf = SymbolPrototype && SymbolPrototype.valueOf; + var TO_PRIMITIVE = wellKnownSymbol("toPrimitive"); + if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) { + defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function(hint) { + return call(valueOf, this); + }, { arity: 1 }); + } + }; + } + }); + + // node_modules/core-js/internals/set-to-string-tag.js + var require_set_to_string_tag = __commonJS({ + "node_modules/core-js/internals/set-to-string-tag.js"(exports, module) { + var defineProperty = require_object_define_property().f; + var hasOwn = require_has_own_property(); + var wellKnownSymbol = require_well_known_symbol(); + var TO_STRING_TAG = wellKnownSymbol("toStringTag"); + module.exports = function(target, TAG, STATIC) { + if (target && !STATIC) + target = target.prototype; + if (target && !hasOwn(target, TO_STRING_TAG)) { + defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG }); + } + }; + } + }); + + // node_modules/core-js/internals/function-uncurry-this-clause.js + var require_function_uncurry_this_clause = __commonJS({ + "node_modules/core-js/internals/function-uncurry-this-clause.js"(exports, module) { + var classofRaw = require_classof_raw(); + var uncurryThis = require_function_uncurry_this(); + module.exports = function(fn) { + if (classofRaw(fn) === "Function") + return uncurryThis(fn); + }; + } + }); + + // node_modules/core-js/internals/function-bind-context.js + var require_function_bind_context = __commonJS({ + "node_modules/core-js/internals/function-bind-context.js"(exports, module) { + var uncurryThis = require_function_uncurry_this_clause(); + var aCallable = require_a_callable(); + var NATIVE_BIND = require_function_bind_native(); + var bind = uncurryThis(uncurryThis.bind); + module.exports = function(fn, that) { + aCallable(fn); + return that === void 0 ? fn : NATIVE_BIND ? bind(fn, that) : function() { + return fn.apply(that, arguments); + }; + }; + } + }); + + // node_modules/core-js/internals/is-array.js + var require_is_array = __commonJS({ + "node_modules/core-js/internals/is-array.js"(exports, module) { + var classof = require_classof_raw(); + module.exports = Array.isArray || function isArray(argument) { + return classof(argument) == "Array"; + }; + } + }); + + // node_modules/core-js/internals/is-constructor.js + var require_is_constructor = __commonJS({ + "node_modules/core-js/internals/is-constructor.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var fails = require_fails(); + var isCallable = require_is_callable(); + var classof = require_classof(); + var getBuiltIn = require_get_built_in(); + var inspectSource = require_inspect_source(); + var noop = function() { + }; + var empty = []; + var construct = getBuiltIn("Reflect", "construct"); + var constructorRegExp = /^\s*(?:class|function)\b/; + var exec = uncurryThis(constructorRegExp.exec); + var INCORRECT_TO_STRING = !constructorRegExp.exec(noop); + var isConstructorModern = function isConstructor(argument) { + if (!isCallable(argument)) + return false; + try { + construct(noop, empty, argument); + return true; + } catch (error) { + return false; + } + }; + var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable(argument)) + return false; + switch (classof(argument)) { + case "AsyncFunction": + case "GeneratorFunction": + case "AsyncGeneratorFunction": + return false; + } + try { + return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } + }; + isConstructorLegacy.sham = true; + module.exports = !construct || fails(function() { + var called; + return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function() { + called = true; + }) || called; + }) ? isConstructorLegacy : isConstructorModern; + } + }); + + // node_modules/core-js/internals/array-species-constructor.js + var require_array_species_constructor = __commonJS({ + "node_modules/core-js/internals/array-species-constructor.js"(exports, module) { + var isArray = require_is_array(); + var isConstructor = require_is_constructor(); + var isObject = require_is_object(); + var wellKnownSymbol = require_well_known_symbol(); + var SPECIES = wellKnownSymbol("species"); + var $Array = Array; + module.exports = function(originalArray) { + var C2; + if (isArray(originalArray)) { + C2 = originalArray.constructor; + if (isConstructor(C2) && (C2 === $Array || isArray(C2.prototype))) + C2 = void 0; + else if (isObject(C2)) { + C2 = C2[SPECIES]; + if (C2 === null) + C2 = void 0; + } + } + return C2 === void 0 ? $Array : C2; + }; + } + }); + + // node_modules/core-js/internals/array-species-create.js + var require_array_species_create = __commonJS({ + "node_modules/core-js/internals/array-species-create.js"(exports, module) { + var arraySpeciesConstructor = require_array_species_constructor(); + module.exports = function(originalArray, length) { + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); + }; + } + }); + + // node_modules/core-js/internals/array-iteration.js + var require_array_iteration = __commonJS({ + "node_modules/core-js/internals/array-iteration.js"(exports, module) { + var bind = require_function_bind_context(); + var uncurryThis = require_function_uncurry_this(); + var IndexedObject = require_indexed_object(); + var toObject = require_to_object(); + var lengthOfArrayLike = require_length_of_array_like(); + var arraySpeciesCreate = require_array_species_create(); + var push = uncurryThis([].push); + var createMethod = function(TYPE) { + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var IS_FILTER_REJECT = TYPE == 7; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + return function($this, callbackfn, that, specificCreate) { + var O = toObject($this); + var self2 = IndexedObject(O); + var boundFunction = bind(callbackfn, that); + var length = lengthOfArrayLike(self2); + var index = 0; + var create = specificCreate || arraySpeciesCreate; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : void 0; + var value, result; + for (; length > index; index++) + if (NO_HOLES || index in self2) { + value = self2[index]; + result = boundFunction(value, index, O); + if (TYPE) { + if (IS_MAP) + target[index] = result; + else if (result) + switch (TYPE) { + case 3: + return true; + case 5: + return value; + case 6: + return index; + case 2: + push(target, value); + } + else + switch (TYPE) { + case 4: + return false; + case 7: + push(target, value); + } + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; + }; + }; + module.exports = { + // `Array.prototype.forEach` method + // https://tc39.es/ecma262/#sec-array.prototype.foreach + forEach: createMethod(0), + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + map: createMethod(1), + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + filter: createMethod(2), + // `Array.prototype.some` method + // https://tc39.es/ecma262/#sec-array.prototype.some + some: createMethod(3), + // `Array.prototype.every` method + // https://tc39.es/ecma262/#sec-array.prototype.every + every: createMethod(4), + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + find: createMethod(5), + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findIndex + findIndex: createMethod(6), + // `Array.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + filterReject: createMethod(7) + }; + } + }); + + // node_modules/core-js/modules/es.symbol.constructor.js + var require_es_symbol_constructor = __commonJS({ + "node_modules/core-js/modules/es.symbol.constructor.js"() { + "use strict"; + var $2 = require_export(); + var global2 = require_global(); + var call = require_function_call(); + var uncurryThis = require_function_uncurry_this(); + var IS_PURE = require_is_pure(); + var DESCRIPTORS = require_descriptors(); + var NATIVE_SYMBOL = require_symbol_constructor_detection(); + var fails = require_fails(); + var hasOwn = require_has_own_property(); + var isPrototypeOf = require_object_is_prototype_of(); + var anObject = require_an_object(); + var toIndexedObject = require_to_indexed_object(); + var toPropertyKey = require_to_property_key(); + var $toString = require_to_string(); + var createPropertyDescriptor = require_create_property_descriptor(); + var nativeObjectCreate = require_object_create(); + var objectKeys = require_object_keys(); + var getOwnPropertyNamesModule = require_object_get_own_property_names(); + var getOwnPropertyNamesExternal = require_object_get_own_property_names_external(); + var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); + var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); + var definePropertyModule = require_object_define_property(); + var definePropertiesModule = require_object_define_properties(); + var propertyIsEnumerableModule = require_object_property_is_enumerable(); + var defineBuiltIn = require_define_built_in(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var shared = require_shared(); + var sharedKey = require_shared_key(); + var hiddenKeys = require_hidden_keys(); + var uid = require_uid(); + var wellKnownSymbol = require_well_known_symbol(); + var wrappedWellKnownSymbolModule = require_well_known_symbol_wrapped(); + var defineWellKnownSymbol = require_well_known_symbol_define(); + var defineSymbolToPrimitive = require_symbol_define_to_primitive(); + var setToStringTag = require_set_to_string_tag(); + var InternalStateModule = require_internal_state(); + var $forEach = require_array_iteration().forEach; + var HIDDEN = sharedKey("hidden"); + var SYMBOL = "Symbol"; + var PROTOTYPE = "prototype"; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(SYMBOL); + var ObjectPrototype = Object[PROTOTYPE]; + var $Symbol = global2.Symbol; + var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE]; + var TypeError2 = global2.TypeError; + var QObject = global2.QObject; + var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; + var nativeDefineProperty = definePropertyModule.f; + var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; + var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; + var push = uncurryThis([].push); + var AllSymbols = shared("symbols"); + var ObjectPrototypeSymbols = shared("op-symbols"); + var WellKnownSymbolsStore = shared("wks"); + var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; + var setSymbolDescriptor = DESCRIPTORS && fails(function() { + return nativeObjectCreate(nativeDefineProperty({}, "a", { + get: function() { + return nativeDefineProperty(this, "a", { value: 7 }).a; + } + })).a != 7; + }) ? function(O, P2, Attributes) { + var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P2); + if (ObjectPrototypeDescriptor) + delete ObjectPrototype[P2]; + nativeDefineProperty(O, P2, Attributes); + if (ObjectPrototypeDescriptor && O !== ObjectPrototype) { + nativeDefineProperty(ObjectPrototype, P2, ObjectPrototypeDescriptor); + } + } : nativeDefineProperty; + var wrap = function(tag, description) { + var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype); + setInternalState(symbol, { + type: SYMBOL, + tag, + description + }); + if (!DESCRIPTORS) + symbol.description = description; + return symbol; + }; + var $defineProperty = function defineProperty(O, P2, Attributes) { + if (O === ObjectPrototype) + $defineProperty(ObjectPrototypeSymbols, P2, Attributes); + anObject(O); + var key = toPropertyKey(P2); + anObject(Attributes); + if (hasOwn(AllSymbols, key)) { + if (!Attributes.enumerable) { + if (!hasOwn(O, HIDDEN)) + nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); + O[HIDDEN][key] = true; + } else { + if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) + O[HIDDEN][key] = false; + Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); + } + return setSymbolDescriptor(O, key, Attributes); + } + return nativeDefineProperty(O, key, Attributes); + }; + var $defineProperties = function defineProperties(O, Properties) { + anObject(O); + var properties = toIndexedObject(Properties); + var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties)); + $forEach(keys, function(key) { + if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) + $defineProperty(O, key, properties[key]); + }); + return O; + }; + var $create = function create(O, Properties) { + return Properties === void 0 ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties); + }; + var $propertyIsEnumerable = function propertyIsEnumerable(V2) { + var P2 = toPropertyKey(V2); + var enumerable = call(nativePropertyIsEnumerable, this, P2); + if (this === ObjectPrototype && hasOwn(AllSymbols, P2) && !hasOwn(ObjectPrototypeSymbols, P2)) + return false; + return enumerable || !hasOwn(this, P2) || !hasOwn(AllSymbols, P2) || hasOwn(this, HIDDEN) && this[HIDDEN][P2] ? enumerable : true; + }; + var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P2) { + var it = toIndexedObject(O); + var key = toPropertyKey(P2); + if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) + return; + var descriptor = nativeGetOwnPropertyDescriptor(it, key); + if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) { + descriptor.enumerable = true; + } + return descriptor; + }; + var $getOwnPropertyNames = function getOwnPropertyNames(O) { + var names = nativeGetOwnPropertyNames(toIndexedObject(O)); + var result = []; + $forEach(names, function(key) { + if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) + push(result, key); + }); + return result; + }; + var $getOwnPropertySymbols = function(O) { + var IS_OBJECT_PROTOTYPE = O === ObjectPrototype; + var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); + var result = []; + $forEach(names, function(key) { + if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) { + push(result, AllSymbols[key]); + } + }); + return result; + }; + if (!NATIVE_SYMBOL) { + $Symbol = function Symbol2() { + if (isPrototypeOf(SymbolPrototype, this)) + throw TypeError2("Symbol is not a constructor"); + var description = !arguments.length || arguments[0] === void 0 ? void 0 : $toString(arguments[0]); + var tag = uid(description); + var setter = function(value) { + if (this === ObjectPrototype) + call(setter, ObjectPrototypeSymbols, value); + if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) + this[HIDDEN][tag] = false; + setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); + }; + if (DESCRIPTORS && USE_SETTER) + setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter }); + return wrap(tag, description); + }; + SymbolPrototype = $Symbol[PROTOTYPE]; + defineBuiltIn(SymbolPrototype, "toString", function toString() { + return getInternalState(this).tag; + }); + defineBuiltIn($Symbol, "withoutSetter", function(description) { + return wrap(uid(description), description); + }); + propertyIsEnumerableModule.f = $propertyIsEnumerable; + definePropertyModule.f = $defineProperty; + definePropertiesModule.f = $defineProperties; + getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor; + getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; + getOwnPropertySymbolsModule.f = $getOwnPropertySymbols; + wrappedWellKnownSymbolModule.f = function(name) { + return wrap(wellKnownSymbol(name), name); + }; + if (DESCRIPTORS) { + defineBuiltInAccessor(SymbolPrototype, "description", { + configurable: true, + get: function description() { + return getInternalState(this).description; + } + }); + if (!IS_PURE) { + defineBuiltIn(ObjectPrototype, "propertyIsEnumerable", $propertyIsEnumerable, { unsafe: true }); + } + } + } + $2({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { + Symbol: $Symbol + }); + $forEach(objectKeys(WellKnownSymbolsStore), function(name) { + defineWellKnownSymbol(name); + }); + $2({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { + useSetter: function() { + USE_SETTER = true; + }, + useSimple: function() { + USE_SETTER = false; + } + }); + $2({ target: "Object", stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, { + // `Object.create` method + // https://tc39.es/ecma262/#sec-object.create + create: $create, + // `Object.defineProperty` method + // https://tc39.es/ecma262/#sec-object.defineproperty + defineProperty: $defineProperty, + // `Object.defineProperties` method + // https://tc39.es/ecma262/#sec-object.defineproperties + defineProperties: $defineProperties, + // `Object.getOwnPropertyDescriptor` method + // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors + getOwnPropertyDescriptor: $getOwnPropertyDescriptor + }); + $2({ target: "Object", stat: true, forced: !NATIVE_SYMBOL }, { + // `Object.getOwnPropertyNames` method + // https://tc39.es/ecma262/#sec-object.getownpropertynames + getOwnPropertyNames: $getOwnPropertyNames + }); + defineSymbolToPrimitive(); + setToStringTag($Symbol, SYMBOL); + hiddenKeys[HIDDEN] = true; + } + }); + + // node_modules/core-js/internals/symbol-registry-detection.js + var require_symbol_registry_detection = __commonJS({ + "node_modules/core-js/internals/symbol-registry-detection.js"(exports, module) { + var NATIVE_SYMBOL = require_symbol_constructor_detection(); + module.exports = NATIVE_SYMBOL && !!Symbol["for"] && !!Symbol.keyFor; + } + }); + + // node_modules/core-js/modules/es.symbol.for.js + var require_es_symbol_for = __commonJS({ + "node_modules/core-js/modules/es.symbol.for.js"() { + var $2 = require_export(); + var getBuiltIn = require_get_built_in(); + var hasOwn = require_has_own_property(); + var toString = require_to_string(); + var shared = require_shared(); + var NATIVE_SYMBOL_REGISTRY = require_symbol_registry_detection(); + var StringToSymbolRegistry = shared("string-to-symbol-registry"); + var SymbolToStringRegistry = shared("symbol-to-string-registry"); + $2({ target: "Symbol", stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { + "for": function(key) { + var string = toString(key); + if (hasOwn(StringToSymbolRegistry, string)) + return StringToSymbolRegistry[string]; + var symbol = getBuiltIn("Symbol")(string); + StringToSymbolRegistry[string] = symbol; + SymbolToStringRegistry[symbol] = string; + return symbol; + } + }); + } + }); + + // node_modules/core-js/modules/es.symbol.key-for.js + var require_es_symbol_key_for = __commonJS({ + "node_modules/core-js/modules/es.symbol.key-for.js"() { + var $2 = require_export(); + var hasOwn = require_has_own_property(); + var isSymbol = require_is_symbol(); + var tryToString = require_try_to_string(); + var shared = require_shared(); + var NATIVE_SYMBOL_REGISTRY = require_symbol_registry_detection(); + var SymbolToStringRegistry = shared("symbol-to-string-registry"); + $2({ target: "Symbol", stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { + keyFor: function keyFor(sym) { + if (!isSymbol(sym)) + throw TypeError(tryToString(sym) + " is not a symbol"); + if (hasOwn(SymbolToStringRegistry, sym)) + return SymbolToStringRegistry[sym]; + } + }); + } + }); + + // node_modules/core-js/internals/function-apply.js + var require_function_apply = __commonJS({ + "node_modules/core-js/internals/function-apply.js"(exports, module) { + var NATIVE_BIND = require_function_bind_native(); + var FunctionPrototype = Function.prototype; + var apply = FunctionPrototype.apply; + var call = FunctionPrototype.call; + module.exports = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function() { + return call.apply(apply, arguments); + }); + } + }); + + // node_modules/core-js/internals/array-slice.js + var require_array_slice = __commonJS({ + "node_modules/core-js/internals/array-slice.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + module.exports = uncurryThis([].slice); + } + }); + + // node_modules/core-js/internals/get-json-replacer-function.js + var require_get_json_replacer_function = __commonJS({ + "node_modules/core-js/internals/get-json-replacer-function.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var isArray = require_is_array(); + var isCallable = require_is_callable(); + var classof = require_classof_raw(); + var toString = require_to_string(); + var push = uncurryThis([].push); + module.exports = function(replacer) { + if (isCallable(replacer)) + return replacer; + if (!isArray(replacer)) + return; + var rawLength = replacer.length; + var keys = []; + for (var i4 = 0; i4 < rawLength; i4++) { + var element = replacer[i4]; + if (typeof element == "string") + push(keys, element); + else if (typeof element == "number" || classof(element) == "Number" || classof(element) == "String") + push(keys, toString(element)); + } + var keysLength = keys.length; + var root = true; + return function(key, value) { + if (root) { + root = false; + return value; + } + if (isArray(this)) + return value; + for (var j2 = 0; j2 < keysLength; j2++) + if (keys[j2] === key) + return value; + }; + }; + } + }); + + // node_modules/core-js/modules/es.json.stringify.js + var require_es_json_stringify = __commonJS({ + "node_modules/core-js/modules/es.json.stringify.js"() { + var $2 = require_export(); + var getBuiltIn = require_get_built_in(); + var apply = require_function_apply(); + var call = require_function_call(); + var uncurryThis = require_function_uncurry_this(); + var fails = require_fails(); + var isCallable = require_is_callable(); + var isSymbol = require_is_symbol(); + var arraySlice = require_array_slice(); + var getReplacerFunction = require_get_json_replacer_function(); + var NATIVE_SYMBOL = require_symbol_constructor_detection(); + var $String = String; + var $stringify = getBuiltIn("JSON", "stringify"); + var exec = uncurryThis(/./.exec); + var charAt = uncurryThis("".charAt); + var charCodeAt = uncurryThis("".charCodeAt); + var replace = uncurryThis("".replace); + var numberToString = uncurryThis(1 .toString); + var tester = /[\uD800-\uDFFF]/g; + var low = /^[\uD800-\uDBFF]$/; + var hi = /^[\uDC00-\uDFFF]$/; + var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function() { + var symbol = getBuiltIn("Symbol")(); + return $stringify([symbol]) != "[null]" || $stringify({ a: symbol }) != "{}" || $stringify(Object(symbol)) != "{}"; + }); + var ILL_FORMED_UNICODE = fails(function() { + return $stringify("\uDF06\uD834") !== '"\\udf06\\ud834"' || $stringify("\uDEAD") !== '"\\udead"'; + }); + var stringifyWithSymbolsFix = function(it, replacer) { + var args = arraySlice(arguments); + var $replacer = getReplacerFunction(replacer); + if (!isCallable($replacer) && (it === void 0 || isSymbol(it))) + return; + args[1] = function(key, value) { + if (isCallable($replacer)) + value = call($replacer, this, $String(key), value); + if (!isSymbol(value)) + return value; + }; + return apply($stringify, null, args); + }; + var fixIllFormed = function(match, offset, string) { + var prev = charAt(string, offset - 1); + var next = charAt(string, offset + 1); + if (exec(low, match) && !exec(hi, next) || exec(hi, match) && !exec(low, prev)) { + return "\\u" + numberToString(charCodeAt(match, 0), 16); + } + return match; + }; + if ($stringify) { + $2({ target: "JSON", stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + stringify: function stringify(it, replacer, space) { + var args = arraySlice(arguments); + var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args); + return ILL_FORMED_UNICODE && typeof result == "string" ? replace(result, tester, fixIllFormed) : result; + } + }); + } + } + }); + + // node_modules/core-js/modules/es.object.get-own-property-symbols.js + var require_es_object_get_own_property_symbols = __commonJS({ + "node_modules/core-js/modules/es.object.get-own-property-symbols.js"() { + var $2 = require_export(); + var NATIVE_SYMBOL = require_symbol_constructor_detection(); + var fails = require_fails(); + var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); + var toObject = require_to_object(); + var FORCED = !NATIVE_SYMBOL || fails(function() { + getOwnPropertySymbolsModule.f(1); + }); + $2({ target: "Object", stat: true, forced: FORCED }, { + getOwnPropertySymbols: function getOwnPropertySymbols(it) { + var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : []; + } + }); + } + }); + + // node_modules/core-js/modules/es.symbol.js + var require_es_symbol = __commonJS({ + "node_modules/core-js/modules/es.symbol.js"() { + require_es_symbol_constructor(); + require_es_symbol_for(); + require_es_symbol_key_for(); + require_es_json_stringify(); + require_es_object_get_own_property_symbols(); + } + }); + + // node_modules/core-js/modules/es.symbol.description.js + var require_es_symbol_description = __commonJS({ + "node_modules/core-js/modules/es.symbol.description.js"() { + "use strict"; + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var global2 = require_global(); + var uncurryThis = require_function_uncurry_this(); + var hasOwn = require_has_own_property(); + var isCallable = require_is_callable(); + var isPrototypeOf = require_object_is_prototype_of(); + var toString = require_to_string(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var copyConstructorProperties = require_copy_constructor_properties(); + var NativeSymbol = global2.Symbol; + var SymbolPrototype = NativeSymbol && NativeSymbol.prototype; + if (DESCRIPTORS && isCallable(NativeSymbol) && (!("description" in SymbolPrototype) || // Safari 12 bug + NativeSymbol().description !== void 0)) { + EmptyStringDescriptionStore = {}; + SymbolWrapper = function Symbol2() { + var description = arguments.length < 1 || arguments[0] === void 0 ? void 0 : toString(arguments[0]); + var result = isPrototypeOf(SymbolPrototype, this) ? new NativeSymbol(description) : description === void 0 ? NativeSymbol() : NativeSymbol(description); + if (description === "") + EmptyStringDescriptionStore[result] = true; + return result; + }; + copyConstructorProperties(SymbolWrapper, NativeSymbol); + SymbolWrapper.prototype = SymbolPrototype; + SymbolPrototype.constructor = SymbolWrapper; + NATIVE_SYMBOL = String(NativeSymbol("test")) == "Symbol(test)"; + thisSymbolValue = uncurryThis(SymbolPrototype.valueOf); + symbolDescriptiveString = uncurryThis(SymbolPrototype.toString); + regexp = /^Symbol\((.*)\)[^)]+$/; + replace = uncurryThis("".replace); + stringSlice = uncurryThis("".slice); + defineBuiltInAccessor(SymbolPrototype, "description", { + configurable: true, + get: function description() { + var symbol = thisSymbolValue(this); + if (hasOwn(EmptyStringDescriptionStore, symbol)) + return ""; + var string = symbolDescriptiveString(symbol); + var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, "$1"); + return desc === "" ? void 0 : desc; + } + }); + $2({ global: true, constructor: true, forced: true }, { + Symbol: SymbolWrapper + }); + } + var EmptyStringDescriptionStore; + var SymbolWrapper; + var NATIVE_SYMBOL; + var thisSymbolValue; + var symbolDescriptiveString; + var regexp; + var replace; + var stringSlice; + } + }); + + // node_modules/core-js/modules/es.symbol.async-iterator.js + var require_es_symbol_async_iterator = __commonJS({ + "node_modules/core-js/modules/es.symbol.async-iterator.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + defineWellKnownSymbol("asyncIterator"); + } + }); + + // node_modules/core-js/modules/es.symbol.has-instance.js + var require_es_symbol_has_instance = __commonJS({ + "node_modules/core-js/modules/es.symbol.has-instance.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + defineWellKnownSymbol("hasInstance"); + } + }); + + // node_modules/core-js/modules/es.symbol.is-concat-spreadable.js + var require_es_symbol_is_concat_spreadable = __commonJS({ + "node_modules/core-js/modules/es.symbol.is-concat-spreadable.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + defineWellKnownSymbol("isConcatSpreadable"); + } + }); + + // node_modules/core-js/modules/es.symbol.iterator.js + var require_es_symbol_iterator = __commonJS({ + "node_modules/core-js/modules/es.symbol.iterator.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + defineWellKnownSymbol("iterator"); + } + }); + + // node_modules/core-js/modules/es.symbol.match.js + var require_es_symbol_match = __commonJS({ + "node_modules/core-js/modules/es.symbol.match.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + defineWellKnownSymbol("match"); + } + }); + + // node_modules/core-js/modules/es.symbol.match-all.js + var require_es_symbol_match_all = __commonJS({ + "node_modules/core-js/modules/es.symbol.match-all.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + defineWellKnownSymbol("matchAll"); + } + }); + + // node_modules/core-js/modules/es.symbol.replace.js + var require_es_symbol_replace = __commonJS({ + "node_modules/core-js/modules/es.symbol.replace.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + defineWellKnownSymbol("replace"); + } + }); + + // node_modules/core-js/modules/es.symbol.search.js + var require_es_symbol_search = __commonJS({ + "node_modules/core-js/modules/es.symbol.search.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + defineWellKnownSymbol("search"); + } + }); + + // node_modules/core-js/modules/es.symbol.species.js + var require_es_symbol_species = __commonJS({ + "node_modules/core-js/modules/es.symbol.species.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + defineWellKnownSymbol("species"); + } + }); + + // node_modules/core-js/modules/es.symbol.split.js + var require_es_symbol_split = __commonJS({ + "node_modules/core-js/modules/es.symbol.split.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + defineWellKnownSymbol("split"); + } + }); + + // node_modules/core-js/modules/es.symbol.to-primitive.js + var require_es_symbol_to_primitive = __commonJS({ + "node_modules/core-js/modules/es.symbol.to-primitive.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + var defineSymbolToPrimitive = require_symbol_define_to_primitive(); + defineWellKnownSymbol("toPrimitive"); + defineSymbolToPrimitive(); + } + }); + + // node_modules/core-js/modules/es.symbol.to-string-tag.js + var require_es_symbol_to_string_tag = __commonJS({ + "node_modules/core-js/modules/es.symbol.to-string-tag.js"() { + var getBuiltIn = require_get_built_in(); + var defineWellKnownSymbol = require_well_known_symbol_define(); + var setToStringTag = require_set_to_string_tag(); + defineWellKnownSymbol("toStringTag"); + setToStringTag(getBuiltIn("Symbol"), "Symbol"); + } + }); + + // node_modules/core-js/modules/es.symbol.unscopables.js + var require_es_symbol_unscopables = __commonJS({ + "node_modules/core-js/modules/es.symbol.unscopables.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + defineWellKnownSymbol("unscopables"); + } + }); + + // node_modules/core-js/internals/function-uncurry-this-accessor.js + var require_function_uncurry_this_accessor = __commonJS({ + "node_modules/core-js/internals/function-uncurry-this-accessor.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var aCallable = require_a_callable(); + module.exports = function(object, key, method) { + try { + return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); + } catch (error) { + } + }; + } + }); + + // node_modules/core-js/internals/a-possible-prototype.js + var require_a_possible_prototype = __commonJS({ + "node_modules/core-js/internals/a-possible-prototype.js"(exports, module) { + var isCallable = require_is_callable(); + var $String = String; + var $TypeError = TypeError; + module.exports = function(argument) { + if (typeof argument == "object" || isCallable(argument)) + return argument; + throw $TypeError("Can't set " + $String(argument) + " as a prototype"); + }; + } + }); + + // node_modules/core-js/internals/object-set-prototype-of.js + var require_object_set_prototype_of = __commonJS({ + "node_modules/core-js/internals/object-set-prototype-of.js"(exports, module) { + var uncurryThisAccessor = require_function_uncurry_this_accessor(); + var anObject = require_an_object(); + var aPossiblePrototype = require_a_possible_prototype(); + module.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() { + var CORRECT_SETTER = false; + var test = {}; + var setter; + try { + setter = uncurryThisAccessor(Object.prototype, "__proto__", "set"); + setter(test, []); + CORRECT_SETTER = test instanceof Array; + } catch (error) { + } + return function setPrototypeOf(O, proto) { + anObject(O); + aPossiblePrototype(proto); + if (CORRECT_SETTER) + setter(O, proto); + else + O.__proto__ = proto; + return O; + }; + }() : void 0); + } + }); + + // node_modules/core-js/internals/proxy-accessor.js + var require_proxy_accessor = __commonJS({ + "node_modules/core-js/internals/proxy-accessor.js"(exports, module) { + var defineProperty = require_object_define_property().f; + module.exports = function(Target, Source, key) { + key in Target || defineProperty(Target, key, { + configurable: true, + get: function() { + return Source[key]; + }, + set: function(it) { + Source[key] = it; + } + }); + }; + } + }); + + // node_modules/core-js/internals/inherit-if-required.js + var require_inherit_if_required = __commonJS({ + "node_modules/core-js/internals/inherit-if-required.js"(exports, module) { + var isCallable = require_is_callable(); + var isObject = require_is_object(); + var setPrototypeOf = require_object_set_prototype_of(); + module.exports = function($this, dummy, Wrapper) { + var NewTarget, NewTargetPrototype; + if ( + // it can work only with native `setPrototypeOf` + setPrototypeOf && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this + isCallable(NewTarget = dummy.constructor) && NewTarget !== Wrapper && isObject(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype + ) + setPrototypeOf($this, NewTargetPrototype); + return $this; + }; + } + }); + + // node_modules/core-js/internals/normalize-string-argument.js + var require_normalize_string_argument = __commonJS({ + "node_modules/core-js/internals/normalize-string-argument.js"(exports, module) { + var toString = require_to_string(); + module.exports = function(argument, $default) { + return argument === void 0 ? arguments.length < 2 ? "" : $default : toString(argument); + }; + } + }); + + // node_modules/core-js/internals/install-error-cause.js + var require_install_error_cause = __commonJS({ + "node_modules/core-js/internals/install-error-cause.js"(exports, module) { + var isObject = require_is_object(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + module.exports = function(O, options) { + if (isObject(options) && "cause" in options) { + createNonEnumerableProperty(O, "cause", options.cause); + } + }; + } + }); + + // node_modules/core-js/internals/error-stack-clear.js + var require_error_stack_clear = __commonJS({ + "node_modules/core-js/internals/error-stack-clear.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var $Error = Error; + var replace = uncurryThis("".replace); + var TEST = function(arg) { + return String($Error(arg).stack); + }("zxcasd"); + var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; + var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); + module.exports = function(stack, dropEntries) { + if (IS_V8_OR_CHAKRA_STACK && typeof stack == "string" && !$Error.prepareStackTrace) { + while (dropEntries--) + stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ""); + } + return stack; + }; + } + }); + + // node_modules/core-js/internals/error-stack-installable.js + var require_error_stack_installable = __commonJS({ + "node_modules/core-js/internals/error-stack-installable.js"(exports, module) { + var fails = require_fails(); + var createPropertyDescriptor = require_create_property_descriptor(); + module.exports = !fails(function() { + var error = Error("a"); + if (!("stack" in error)) + return true; + Object.defineProperty(error, "stack", createPropertyDescriptor(1, 7)); + return error.stack !== 7; + }); + } + }); + + // node_modules/core-js/internals/error-stack-install.js + var require_error_stack_install = __commonJS({ + "node_modules/core-js/internals/error-stack-install.js"(exports, module) { + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var clearErrorStack = require_error_stack_clear(); + var ERROR_STACK_INSTALLABLE = require_error_stack_installable(); + var captureStackTrace = Error.captureStackTrace; + module.exports = function(error, C2, stack, dropEntries) { + if (ERROR_STACK_INSTALLABLE) { + if (captureStackTrace) + captureStackTrace(error, C2); + else + createNonEnumerableProperty(error, "stack", clearErrorStack(stack, dropEntries)); + } + }; + } + }); + + // node_modules/core-js/internals/wrap-error-constructor-with-cause.js + var require_wrap_error_constructor_with_cause = __commonJS({ + "node_modules/core-js/internals/wrap-error-constructor-with-cause.js"(exports, module) { + "use strict"; + var getBuiltIn = require_get_built_in(); + var hasOwn = require_has_own_property(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var isPrototypeOf = require_object_is_prototype_of(); + var setPrototypeOf = require_object_set_prototype_of(); + var copyConstructorProperties = require_copy_constructor_properties(); + var proxyAccessor = require_proxy_accessor(); + var inheritIfRequired = require_inherit_if_required(); + var normalizeStringArgument = require_normalize_string_argument(); + var installErrorCause = require_install_error_cause(); + var installErrorStack = require_error_stack_install(); + var DESCRIPTORS = require_descriptors(); + var IS_PURE = require_is_pure(); + module.exports = function(FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) { + var STACK_TRACE_LIMIT = "stackTraceLimit"; + var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1; + var path = FULL_NAME.split("."); + var ERROR_NAME = path[path.length - 1]; + var OriginalError = getBuiltIn.apply(null, path); + if (!OriginalError) + return; + var OriginalErrorPrototype = OriginalError.prototype; + if (!IS_PURE && hasOwn(OriginalErrorPrototype, "cause")) + delete OriginalErrorPrototype.cause; + if (!FORCED) + return OriginalError; + var BaseError = getBuiltIn("Error"); + var WrappedError = wrapper(function(a3, b2) { + var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b2 : a3, void 0); + var result = IS_AGGREGATE_ERROR ? new OriginalError(a3) : new OriginalError(); + if (message !== void 0) + createNonEnumerableProperty(result, "message", message); + installErrorStack(result, WrappedError, result.stack, 2); + if (this && isPrototypeOf(OriginalErrorPrototype, this)) + inheritIfRequired(result, this, WrappedError); + if (arguments.length > OPTIONS_POSITION) + installErrorCause(result, arguments[OPTIONS_POSITION]); + return result; + }); + WrappedError.prototype = OriginalErrorPrototype; + if (ERROR_NAME !== "Error") { + if (setPrototypeOf) + setPrototypeOf(WrappedError, BaseError); + else + copyConstructorProperties(WrappedError, BaseError, { name: true }); + } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) { + proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT); + proxyAccessor(WrappedError, OriginalError, "prepareStackTrace"); + } + copyConstructorProperties(WrappedError, OriginalError); + if (!IS_PURE) + try { + if (OriginalErrorPrototype.name !== ERROR_NAME) { + createNonEnumerableProperty(OriginalErrorPrototype, "name", ERROR_NAME); + } + OriginalErrorPrototype.constructor = WrappedError; + } catch (error) { + } + return WrappedError; + }; + } + }); + + // node_modules/core-js/modules/es.error.cause.js + var require_es_error_cause = __commonJS({ + "node_modules/core-js/modules/es.error.cause.js"() { + var $2 = require_export(); + var global2 = require_global(); + var apply = require_function_apply(); + var wrapErrorConstructorWithCause = require_wrap_error_constructor_with_cause(); + var WEB_ASSEMBLY = "WebAssembly"; + var WebAssembly = global2[WEB_ASSEMBLY]; + var FORCED = Error("e", { cause: 7 }).cause !== 7; + var exportGlobalErrorCauseWrapper = function(ERROR_NAME, wrapper) { + var O = {}; + O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED); + $2({ global: true, constructor: true, arity: 1, forced: FORCED }, O); + }; + var exportWebAssemblyErrorCauseWrapper = function(ERROR_NAME, wrapper) { + if (WebAssembly && WebAssembly[ERROR_NAME]) { + var O = {}; + O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + "." + ERROR_NAME, wrapper, FORCED); + $2({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O); + } + }; + exportGlobalErrorCauseWrapper("Error", function(init) { + return function Error2(message) { + return apply(init, this, arguments); + }; + }); + exportGlobalErrorCauseWrapper("EvalError", function(init) { + return function EvalError(message) { + return apply(init, this, arguments); + }; + }); + exportGlobalErrorCauseWrapper("RangeError", function(init) { + return function RangeError2(message) { + return apply(init, this, arguments); + }; + }); + exportGlobalErrorCauseWrapper("ReferenceError", function(init) { + return function ReferenceError2(message) { + return apply(init, this, arguments); + }; + }); + exportGlobalErrorCauseWrapper("SyntaxError", function(init) { + return function SyntaxError2(message) { + return apply(init, this, arguments); + }; + }); + exportGlobalErrorCauseWrapper("TypeError", function(init) { + return function TypeError2(message) { + return apply(init, this, arguments); + }; + }); + exportGlobalErrorCauseWrapper("URIError", function(init) { + return function URIError(message) { + return apply(init, this, arguments); + }; + }); + exportWebAssemblyErrorCauseWrapper("CompileError", function(init) { + return function CompileError(message) { + return apply(init, this, arguments); + }; + }); + exportWebAssemblyErrorCauseWrapper("LinkError", function(init) { + return function LinkError(message) { + return apply(init, this, arguments); + }; + }); + exportWebAssemblyErrorCauseWrapper("RuntimeError", function(init) { + return function RuntimeError(message) { + return apply(init, this, arguments); + }; + }); + } + }); + + // node_modules/core-js/internals/error-to-string.js + var require_error_to_string = __commonJS({ + "node_modules/core-js/internals/error-to-string.js"(exports, module) { + "use strict"; + var DESCRIPTORS = require_descriptors(); + var fails = require_fails(); + var anObject = require_an_object(); + var create = require_object_create(); + var normalizeStringArgument = require_normalize_string_argument(); + var nativeErrorToString = Error.prototype.toString; + var INCORRECT_TO_STRING = fails(function() { + if (DESCRIPTORS) { + var object = create(Object.defineProperty({}, "name", { get: function() { + return this === object; + } })); + if (nativeErrorToString.call(object) !== "true") + return true; + } + return nativeErrorToString.call({ message: 1, name: 2 }) !== "2: 1" || nativeErrorToString.call({}) !== "Error"; + }); + module.exports = INCORRECT_TO_STRING ? function toString() { + var O = anObject(this); + var name = normalizeStringArgument(O.name, "Error"); + var message = normalizeStringArgument(O.message); + return !name ? message : !message ? name : name + ": " + message; + } : nativeErrorToString; + } + }); + + // node_modules/core-js/modules/es.error.to-string.js + var require_es_error_to_string = __commonJS({ + "node_modules/core-js/modules/es.error.to-string.js"() { + var defineBuiltIn = require_define_built_in(); + var errorToString = require_error_to_string(); + var ErrorPrototype = Error.prototype; + if (ErrorPrototype.toString !== errorToString) { + defineBuiltIn(ErrorPrototype, "toString", errorToString); + } + } + }); + + // node_modules/core-js/internals/correct-prototype-getter.js + var require_correct_prototype_getter = __commonJS({ + "node_modules/core-js/internals/correct-prototype-getter.js"(exports, module) { + var fails = require_fails(); + module.exports = !fails(function() { + function F() { + } + F.prototype.constructor = null; + return Object.getPrototypeOf(new F()) !== F.prototype; + }); + } + }); + + // node_modules/core-js/internals/object-get-prototype-of.js + var require_object_get_prototype_of = __commonJS({ + "node_modules/core-js/internals/object-get-prototype-of.js"(exports, module) { + var hasOwn = require_has_own_property(); + var isCallable = require_is_callable(); + var toObject = require_to_object(); + var sharedKey = require_shared_key(); + var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter(); + var IE_PROTO = sharedKey("IE_PROTO"); + var $Object = Object; + var ObjectPrototype = $Object.prototype; + module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O) { + var object = toObject(O); + if (hasOwn(object, IE_PROTO)) + return object[IE_PROTO]; + var constructor = object.constructor; + if (isCallable(constructor) && object instanceof constructor) { + return constructor.prototype; + } + return object instanceof $Object ? ObjectPrototype : null; + }; + } + }); + + // node_modules/core-js/internals/iterators.js + var require_iterators = __commonJS({ + "node_modules/core-js/internals/iterators.js"(exports, module) { + module.exports = {}; + } + }); + + // node_modules/core-js/internals/is-array-iterator-method.js + var require_is_array_iterator_method = __commonJS({ + "node_modules/core-js/internals/is-array-iterator-method.js"(exports, module) { + var wellKnownSymbol = require_well_known_symbol(); + var Iterators = require_iterators(); + var ITERATOR = wellKnownSymbol("iterator"); + var ArrayPrototype = Array.prototype; + module.exports = function(it) { + return it !== void 0 && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); + }; + } + }); + + // node_modules/core-js/internals/get-iterator-method.js + var require_get_iterator_method = __commonJS({ + "node_modules/core-js/internals/get-iterator-method.js"(exports, module) { + var classof = require_classof(); + var getMethod = require_get_method(); + var isNullOrUndefined = require_is_null_or_undefined(); + var Iterators = require_iterators(); + var wellKnownSymbol = require_well_known_symbol(); + var ITERATOR = wellKnownSymbol("iterator"); + module.exports = function(it) { + if (!isNullOrUndefined(it)) + return getMethod(it, ITERATOR) || getMethod(it, "@@iterator") || Iterators[classof(it)]; + }; + } + }); + + // node_modules/core-js/internals/get-iterator.js + var require_get_iterator = __commonJS({ + "node_modules/core-js/internals/get-iterator.js"(exports, module) { + var call = require_function_call(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var tryToString = require_try_to_string(); + var getIteratorMethod = require_get_iterator_method(); + var $TypeError = TypeError; + module.exports = function(argument, usingIterator) { + var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; + if (aCallable(iteratorMethod)) + return anObject(call(iteratorMethod, argument)); + throw $TypeError(tryToString(argument) + " is not iterable"); + }; + } + }); + + // node_modules/core-js/internals/iterator-close.js + var require_iterator_close = __commonJS({ + "node_modules/core-js/internals/iterator-close.js"(exports, module) { + var call = require_function_call(); + var anObject = require_an_object(); + var getMethod = require_get_method(); + module.exports = function(iterator, kind, value) { + var innerResult, innerError; + anObject(iterator); + try { + innerResult = getMethod(iterator, "return"); + if (!innerResult) { + if (kind === "throw") + throw value; + return value; + } + innerResult = call(innerResult, iterator); + } catch (error) { + innerError = true; + innerResult = error; + } + if (kind === "throw") + throw value; + if (innerError) + throw innerResult; + anObject(innerResult); + return value; + }; + } + }); + + // node_modules/core-js/internals/iterate.js + var require_iterate = __commonJS({ + "node_modules/core-js/internals/iterate.js"(exports, module) { + var bind = require_function_bind_context(); + var call = require_function_call(); + var anObject = require_an_object(); + var tryToString = require_try_to_string(); + var isArrayIteratorMethod = require_is_array_iterator_method(); + var lengthOfArrayLike = require_length_of_array_like(); + var isPrototypeOf = require_object_is_prototype_of(); + var getIterator = require_get_iterator(); + var getIteratorMethod = require_get_iterator_method(); + var iteratorClose = require_iterator_close(); + var $TypeError = TypeError; + var Result = function(stopped, result) { + this.stopped = stopped; + this.result = result; + }; + var ResultPrototype = Result.prototype; + module.exports = function(iterable, unboundFunction, options) { + var that = options && options.that; + var AS_ENTRIES = !!(options && options.AS_ENTRIES); + var IS_RECORD = !!(options && options.IS_RECORD); + var IS_ITERATOR = !!(options && options.IS_ITERATOR); + var INTERRUPTED = !!(options && options.INTERRUPTED); + var fn = bind(unboundFunction, that); + var iterator, iterFn, index, length, result, next, step; + var stop = function(condition) { + if (iterator) + iteratorClose(iterator, "normal", condition); + return new Result(true, condition); + }; + var callFn = function(value) { + if (AS_ENTRIES) { + anObject(value); + return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); + } + return INTERRUPTED ? fn(value, stop) : fn(value); + }; + if (IS_RECORD) { + iterator = iterable.iterator; + } else if (IS_ITERATOR) { + iterator = iterable; + } else { + iterFn = getIteratorMethod(iterable); + if (!iterFn) + throw $TypeError(tryToString(iterable) + " is not iterable"); + if (isArrayIteratorMethod(iterFn)) { + for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { + result = callFn(iterable[index]); + if (result && isPrototypeOf(ResultPrototype, result)) + return result; + } + return new Result(false); + } + iterator = getIterator(iterable, iterFn); + } + next = IS_RECORD ? iterable.next : iterator.next; + while (!(step = call(next, iterator)).done) { + try { + result = callFn(step.value); + } catch (error) { + iteratorClose(iterator, "throw", error); + } + if (typeof result == "object" && result && isPrototypeOf(ResultPrototype, result)) + return result; + } + return new Result(false); + }; + } + }); + + // node_modules/core-js/modules/es.aggregate-error.constructor.js + var require_es_aggregate_error_constructor = __commonJS({ + "node_modules/core-js/modules/es.aggregate-error.constructor.js"() { + "use strict"; + var $2 = require_export(); + var isPrototypeOf = require_object_is_prototype_of(); + var getPrototypeOf = require_object_get_prototype_of(); + var setPrototypeOf = require_object_set_prototype_of(); + var copyConstructorProperties = require_copy_constructor_properties(); + var create = require_object_create(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var createPropertyDescriptor = require_create_property_descriptor(); + var installErrorCause = require_install_error_cause(); + var installErrorStack = require_error_stack_install(); + var iterate = require_iterate(); + var normalizeStringArgument = require_normalize_string_argument(); + var wellKnownSymbol = require_well_known_symbol(); + var TO_STRING_TAG = wellKnownSymbol("toStringTag"); + var $Error = Error; + var push = [].push; + var $AggregateError = function AggregateError(errors, message) { + var isInstance = isPrototypeOf(AggregateErrorPrototype, this); + var that; + if (setPrototypeOf) { + that = setPrototypeOf($Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype); + } else { + that = isInstance ? this : create(AggregateErrorPrototype); + createNonEnumerableProperty(that, TO_STRING_TAG, "Error"); + } + if (message !== void 0) + createNonEnumerableProperty(that, "message", normalizeStringArgument(message)); + installErrorStack(that, $AggregateError, that.stack, 1); + if (arguments.length > 2) + installErrorCause(that, arguments[2]); + var errorsArray = []; + iterate(errors, push, { that: errorsArray }); + createNonEnumerableProperty(that, "errors", errorsArray); + return that; + }; + if (setPrototypeOf) + setPrototypeOf($AggregateError, $Error); + else + copyConstructorProperties($AggregateError, $Error, { name: true }); + var AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, { + constructor: createPropertyDescriptor(1, $AggregateError), + message: createPropertyDescriptor(1, ""), + name: createPropertyDescriptor(1, "AggregateError") + }); + $2({ global: true, constructor: true, arity: 2 }, { + AggregateError: $AggregateError + }); + } + }); + + // node_modules/core-js/modules/es.aggregate-error.js + var require_es_aggregate_error = __commonJS({ + "node_modules/core-js/modules/es.aggregate-error.js"() { + require_es_aggregate_error_constructor(); + } + }); + + // node_modules/core-js/modules/es.aggregate-error.cause.js + var require_es_aggregate_error_cause = __commonJS({ + "node_modules/core-js/modules/es.aggregate-error.cause.js"() { + var $2 = require_export(); + var getBuiltIn = require_get_built_in(); + var apply = require_function_apply(); + var fails = require_fails(); + var wrapErrorConstructorWithCause = require_wrap_error_constructor_with_cause(); + var AGGREGATE_ERROR = "AggregateError"; + var $AggregateError = getBuiltIn(AGGREGATE_ERROR); + var FORCED = !fails(function() { + return $AggregateError([1]).errors[0] !== 1; + }) && fails(function() { + return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7; + }); + $2({ global: true, constructor: true, arity: 2, forced: FORCED }, { + AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function(init) { + return function AggregateError(errors, message) { + return apply(init, this, arguments); + }; + }, FORCED, true) + }); + } + }); + + // node_modules/core-js/internals/add-to-unscopables.js + var require_add_to_unscopables = __commonJS({ + "node_modules/core-js/internals/add-to-unscopables.js"(exports, module) { + var wellKnownSymbol = require_well_known_symbol(); + var create = require_object_create(); + var defineProperty = require_object_define_property().f; + var UNSCOPABLES = wellKnownSymbol("unscopables"); + var ArrayPrototype = Array.prototype; + if (ArrayPrototype[UNSCOPABLES] == void 0) { + defineProperty(ArrayPrototype, UNSCOPABLES, { + configurable: true, + value: create(null) + }); + } + module.exports = function(key) { + ArrayPrototype[UNSCOPABLES][key] = true; + }; + } + }); + + // node_modules/core-js/modules/es.array.at.js + var require_es_array_at = __commonJS({ + "node_modules/core-js/modules/es.array.at.js"() { + "use strict"; + var $2 = require_export(); + var toObject = require_to_object(); + var lengthOfArrayLike = require_length_of_array_like(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var addToUnscopables = require_add_to_unscopables(); + $2({ target: "Array", proto: true }, { + at: function at(index) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var k2 = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return k2 < 0 || k2 >= len ? void 0 : O[k2]; + } + }); + addToUnscopables("at"); + } + }); + + // node_modules/core-js/internals/does-not-exceed-safe-integer.js + var require_does_not_exceed_safe_integer = __commonJS({ + "node_modules/core-js/internals/does-not-exceed-safe-integer.js"(exports, module) { + var $TypeError = TypeError; + var MAX_SAFE_INTEGER = 9007199254740991; + module.exports = function(it) { + if (it > MAX_SAFE_INTEGER) + throw $TypeError("Maximum allowed index exceeded"); + return it; + }; + } + }); + + // node_modules/core-js/internals/array-method-has-species-support.js + var require_array_method_has_species_support = __commonJS({ + "node_modules/core-js/internals/array-method-has-species-support.js"(exports, module) { + var fails = require_fails(); + var wellKnownSymbol = require_well_known_symbol(); + var V8_VERSION = require_engine_v8_version(); + var SPECIES = wellKnownSymbol("species"); + module.exports = function(METHOD_NAME) { + return V8_VERSION >= 51 || !fails(function() { + var array = []; + var constructor = array.constructor = {}; + constructor[SPECIES] = function() { + return { foo: 1 }; + }; + return array[METHOD_NAME](Boolean).foo !== 1; + }); + }; + } + }); + + // node_modules/core-js/modules/es.array.concat.js + var require_es_array_concat = __commonJS({ + "node_modules/core-js/modules/es.array.concat.js"() { + "use strict"; + var $2 = require_export(); + var fails = require_fails(); + var isArray = require_is_array(); + var isObject = require_is_object(); + var toObject = require_to_object(); + var lengthOfArrayLike = require_length_of_array_like(); + var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); + var createProperty = require_create_property(); + var arraySpeciesCreate = require_array_species_create(); + var arrayMethodHasSpeciesSupport = require_array_method_has_species_support(); + var wellKnownSymbol = require_well_known_symbol(); + var V8_VERSION = require_engine_v8_version(); + var IS_CONCAT_SPREADABLE = wellKnownSymbol("isConcatSpreadable"); + var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function() { + var array = []; + array[IS_CONCAT_SPREADABLE] = false; + return array.concat()[0] !== array; + }); + var isConcatSpreadable = function(O) { + if (!isObject(O)) + return false; + var spreadable = O[IS_CONCAT_SPREADABLE]; + return spreadable !== void 0 ? !!spreadable : isArray(O); + }; + var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport("concat"); + $2({ target: "Array", proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + concat: function concat(arg) { + var O = toObject(this); + var A2 = arraySpeciesCreate(O, 0); + var n6 = 0; + var i4, k2, length, len, E2; + for (i4 = -1, length = arguments.length; i4 < length; i4++) { + E2 = i4 === -1 ? O : arguments[i4]; + if (isConcatSpreadable(E2)) { + len = lengthOfArrayLike(E2); + doesNotExceedSafeInteger(n6 + len); + for (k2 = 0; k2 < len; k2++, n6++) + if (k2 in E2) + createProperty(A2, n6, E2[k2]); + } else { + doesNotExceedSafeInteger(n6 + 1); + createProperty(A2, n6++, E2); + } + } + A2.length = n6; + return A2; + } + }); + } + }); + + // node_modules/core-js/internals/delete-property-or-throw.js + var require_delete_property_or_throw = __commonJS({ + "node_modules/core-js/internals/delete-property-or-throw.js"(exports, module) { + "use strict"; + var tryToString = require_try_to_string(); + var $TypeError = TypeError; + module.exports = function(O, P2) { + if (!delete O[P2]) + throw $TypeError("Cannot delete property " + tryToString(P2) + " of " + tryToString(O)); + }; + } + }); + + // node_modules/core-js/internals/array-copy-within.js + var require_array_copy_within = __commonJS({ + "node_modules/core-js/internals/array-copy-within.js"(exports, module) { + "use strict"; + var toObject = require_to_object(); + var toAbsoluteIndex = require_to_absolute_index(); + var lengthOfArrayLike = require_length_of_array_like(); + var deletePropertyOrThrow = require_delete_property_or_throw(); + var min = Math.min; + module.exports = [].copyWithin || function copyWithin(target, start) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var to = toAbsoluteIndex(target, len); + var from = toAbsoluteIndex(start, len); + var end = arguments.length > 2 ? arguments[2] : void 0; + var count = min((end === void 0 ? len : toAbsoluteIndex(end, len)) - from, len - to); + var inc = 1; + if (from < to && to < from + count) { + inc = -1; + from += count - 1; + to += count - 1; + } + while (count-- > 0) { + if (from in O) + O[to] = O[from]; + else + deletePropertyOrThrow(O, to); + to += inc; + from += inc; + } + return O; + }; + } + }); + + // node_modules/core-js/modules/es.array.copy-within.js + var require_es_array_copy_within = __commonJS({ + "node_modules/core-js/modules/es.array.copy-within.js"() { + var $2 = require_export(); + var copyWithin = require_array_copy_within(); + var addToUnscopables = require_add_to_unscopables(); + $2({ target: "Array", proto: true }, { + copyWithin + }); + addToUnscopables("copyWithin"); + } + }); + + // node_modules/core-js/internals/array-method-is-strict.js + var require_array_method_is_strict = __commonJS({ + "node_modules/core-js/internals/array-method-is-strict.js"(exports, module) { + "use strict"; + var fails = require_fails(); + module.exports = function(METHOD_NAME, argument) { + var method = [][METHOD_NAME]; + return !!method && fails(function() { + method.call(null, argument || function() { + return 1; + }, 1); + }); + }; + } + }); + + // node_modules/core-js/modules/es.array.every.js + var require_es_array_every = __commonJS({ + "node_modules/core-js/modules/es.array.every.js"() { + "use strict"; + var $2 = require_export(); + var $every = require_array_iteration().every; + var arrayMethodIsStrict = require_array_method_is_strict(); + var STRICT_METHOD = arrayMethodIsStrict("every"); + $2({ target: "Array", proto: true, forced: !STRICT_METHOD }, { + every: function every(callbackfn) { + return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); + } + }); + } + }); + + // node_modules/core-js/internals/array-fill.js + var require_array_fill = __commonJS({ + "node_modules/core-js/internals/array-fill.js"(exports, module) { + "use strict"; + var toObject = require_to_object(); + var toAbsoluteIndex = require_to_absolute_index(); + var lengthOfArrayLike = require_length_of_array_like(); + module.exports = function fill(value) { + var O = toObject(this); + var length = lengthOfArrayLike(O); + var argumentsLength = arguments.length; + var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : void 0, length); + var end = argumentsLength > 2 ? arguments[2] : void 0; + var endPos = end === void 0 ? length : toAbsoluteIndex(end, length); + while (endPos > index) + O[index++] = value; + return O; + }; + } + }); + + // node_modules/core-js/modules/es.array.fill.js + var require_es_array_fill = __commonJS({ + "node_modules/core-js/modules/es.array.fill.js"() { + var $2 = require_export(); + var fill = require_array_fill(); + var addToUnscopables = require_add_to_unscopables(); + $2({ target: "Array", proto: true }, { + fill + }); + addToUnscopables("fill"); + } + }); + + // node_modules/core-js/modules/es.array.filter.js + var require_es_array_filter = __commonJS({ + "node_modules/core-js/modules/es.array.filter.js"() { + "use strict"; + var $2 = require_export(); + var $filter = require_array_iteration().filter; + var arrayMethodHasSpeciesSupport = require_array_method_has_species_support(); + var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("filter"); + $2({ target: "Array", proto: true, forced: !HAS_SPECIES_SUPPORT }, { + filter: function filter(callbackfn) { + return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); + } + }); + } + }); + + // node_modules/core-js/modules/es.array.find.js + var require_es_array_find = __commonJS({ + "node_modules/core-js/modules/es.array.find.js"() { + "use strict"; + var $2 = require_export(); + var $find = require_array_iteration().find; + var addToUnscopables = require_add_to_unscopables(); + var FIND = "find"; + var SKIPS_HOLES = true; + if (FIND in []) + Array(1)[FIND](function() { + SKIPS_HOLES = false; + }); + $2({ target: "Array", proto: true, forced: SKIPS_HOLES }, { + find: function find(callbackfn) { + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); + } + }); + addToUnscopables(FIND); + } + }); + + // node_modules/core-js/modules/es.array.find-index.js + var require_es_array_find_index = __commonJS({ + "node_modules/core-js/modules/es.array.find-index.js"() { + "use strict"; + var $2 = require_export(); + var $findIndex = require_array_iteration().findIndex; + var addToUnscopables = require_add_to_unscopables(); + var FIND_INDEX = "findIndex"; + var SKIPS_HOLES = true; + if (FIND_INDEX in []) + Array(1)[FIND_INDEX](function() { + SKIPS_HOLES = false; + }); + $2({ target: "Array", proto: true, forced: SKIPS_HOLES }, { + findIndex: function findIndex(callbackfn) { + return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); + } + }); + addToUnscopables(FIND_INDEX); + } + }); + + // node_modules/core-js/internals/array-iteration-from-last.js + var require_array_iteration_from_last = __commonJS({ + "node_modules/core-js/internals/array-iteration-from-last.js"(exports, module) { + var bind = require_function_bind_context(); + var IndexedObject = require_indexed_object(); + var toObject = require_to_object(); + var lengthOfArrayLike = require_length_of_array_like(); + var createMethod = function(TYPE) { + var IS_FIND_LAST_INDEX = TYPE == 1; + return function($this, callbackfn, that) { + var O = toObject($this); + var self2 = IndexedObject(O); + var boundFunction = bind(callbackfn, that); + var index = lengthOfArrayLike(self2); + var value, result; + while (index-- > 0) { + value = self2[index]; + result = boundFunction(value, index, O); + if (result) + switch (TYPE) { + case 0: + return value; + case 1: + return index; + } + } + return IS_FIND_LAST_INDEX ? -1 : void 0; + }; + }; + module.exports = { + // `Array.prototype.findLast` method + // https://github.com/tc39/proposal-array-find-from-last + findLast: createMethod(0), + // `Array.prototype.findLastIndex` method + // https://github.com/tc39/proposal-array-find-from-last + findLastIndex: createMethod(1) + }; + } + }); + + // node_modules/core-js/modules/es.array.find-last.js + var require_es_array_find_last = __commonJS({ + "node_modules/core-js/modules/es.array.find-last.js"() { + "use strict"; + var $2 = require_export(); + var $findLast = require_array_iteration_from_last().findLast; + var addToUnscopables = require_add_to_unscopables(); + $2({ target: "Array", proto: true }, { + findLast: function findLast(callbackfn) { + return $findLast(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); + } + }); + addToUnscopables("findLast"); + } + }); + + // node_modules/core-js/modules/es.array.find-last-index.js + var require_es_array_find_last_index = __commonJS({ + "node_modules/core-js/modules/es.array.find-last-index.js"() { + "use strict"; + var $2 = require_export(); + var $findLastIndex = require_array_iteration_from_last().findLastIndex; + var addToUnscopables = require_add_to_unscopables(); + $2({ target: "Array", proto: true }, { + findLastIndex: function findLastIndex(callbackfn) { + return $findLastIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); + } + }); + addToUnscopables("findLastIndex"); + } + }); + + // node_modules/core-js/internals/flatten-into-array.js + var require_flatten_into_array = __commonJS({ + "node_modules/core-js/internals/flatten-into-array.js"(exports, module) { + "use strict"; + var isArray = require_is_array(); + var lengthOfArrayLike = require_length_of_array_like(); + var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); + var bind = require_function_bind_context(); + var flattenIntoArray = function(target, original, source, sourceLen, start, depth, mapper, thisArg) { + var targetIndex = start; + var sourceIndex = 0; + var mapFn = mapper ? bind(mapper, thisArg) : false; + var element, elementLen; + while (sourceIndex < sourceLen) { + if (sourceIndex in source) { + element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; + if (depth > 0 && isArray(element)) { + elementLen = lengthOfArrayLike(element); + targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1; + } else { + doesNotExceedSafeInteger(targetIndex + 1); + target[targetIndex] = element; + } + targetIndex++; + } + sourceIndex++; + } + return targetIndex; + }; + module.exports = flattenIntoArray; + } + }); + + // node_modules/core-js/modules/es.array.flat.js + var require_es_array_flat = __commonJS({ + "node_modules/core-js/modules/es.array.flat.js"() { + "use strict"; + var $2 = require_export(); + var flattenIntoArray = require_flatten_into_array(); + var toObject = require_to_object(); + var lengthOfArrayLike = require_length_of_array_like(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var arraySpeciesCreate = require_array_species_create(); + $2({ target: "Array", proto: true }, { + flat: function flat() { + var depthArg = arguments.length ? arguments[0] : void 0; + var O = toObject(this); + var sourceLen = lengthOfArrayLike(O); + var A2 = arraySpeciesCreate(O, 0); + A2.length = flattenIntoArray(A2, O, O, sourceLen, 0, depthArg === void 0 ? 1 : toIntegerOrInfinity(depthArg)); + return A2; + } + }); + } + }); + + // node_modules/core-js/modules/es.array.flat-map.js + var require_es_array_flat_map = __commonJS({ + "node_modules/core-js/modules/es.array.flat-map.js"() { + "use strict"; + var $2 = require_export(); + var flattenIntoArray = require_flatten_into_array(); + var aCallable = require_a_callable(); + var toObject = require_to_object(); + var lengthOfArrayLike = require_length_of_array_like(); + var arraySpeciesCreate = require_array_species_create(); + $2({ target: "Array", proto: true }, { + flatMap: function flatMap(callbackfn) { + var O = toObject(this); + var sourceLen = lengthOfArrayLike(O); + var A2; + aCallable(callbackfn); + A2 = arraySpeciesCreate(O, 0); + A2.length = flattenIntoArray(A2, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : void 0); + return A2; + } + }); + } + }); + + // node_modules/core-js/internals/array-for-each.js + var require_array_for_each = __commonJS({ + "node_modules/core-js/internals/array-for-each.js"(exports, module) { + "use strict"; + var $forEach = require_array_iteration().forEach; + var arrayMethodIsStrict = require_array_method_is_strict(); + var STRICT_METHOD = arrayMethodIsStrict("forEach"); + module.exports = !STRICT_METHOD ? function forEach(callbackfn) { + return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); + } : [].forEach; + } + }); + + // node_modules/core-js/modules/es.array.for-each.js + var require_es_array_for_each = __commonJS({ + "node_modules/core-js/modules/es.array.for-each.js"() { + "use strict"; + var $2 = require_export(); + var forEach = require_array_for_each(); + $2({ target: "Array", proto: true, forced: [].forEach != forEach }, { + forEach + }); + } + }); + + // node_modules/core-js/internals/call-with-safe-iteration-closing.js + var require_call_with_safe_iteration_closing = __commonJS({ + "node_modules/core-js/internals/call-with-safe-iteration-closing.js"(exports, module) { + var anObject = require_an_object(); + var iteratorClose = require_iterator_close(); + module.exports = function(iterator, fn, value, ENTRIES) { + try { + return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); + } catch (error) { + iteratorClose(iterator, "throw", error); + } + }; + } + }); + + // node_modules/core-js/internals/array-from.js + var require_array_from = __commonJS({ + "node_modules/core-js/internals/array-from.js"(exports, module) { + "use strict"; + var bind = require_function_bind_context(); + var call = require_function_call(); + var toObject = require_to_object(); + var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); + var isArrayIteratorMethod = require_is_array_iterator_method(); + var isConstructor = require_is_constructor(); + var lengthOfArrayLike = require_length_of_array_like(); + var createProperty = require_create_property(); + var getIterator = require_get_iterator(); + var getIteratorMethod = require_get_iterator_method(); + var $Array = Array; + module.exports = function from(arrayLike) { + var O = toObject(arrayLike); + var IS_CONSTRUCTOR = isConstructor(this); + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : void 0; + var mapping = mapfn !== void 0; + if (mapping) + mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : void 0); + var iteratorMethod = getIteratorMethod(O); + var index = 0; + var length, result, step, iterator, next, value; + if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) { + iterator = getIterator(O, iteratorMethod); + next = iterator.next; + result = IS_CONSTRUCTOR ? new this() : []; + for (; !(step = call(next, iterator)).done; index++) { + value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; + createProperty(result, index, value); + } + } else { + length = lengthOfArrayLike(O); + result = IS_CONSTRUCTOR ? new this(length) : $Array(length); + for (; length > index; index++) { + value = mapping ? mapfn(O[index], index) : O[index]; + createProperty(result, index, value); + } + } + result.length = index; + return result; + }; + } + }); + + // node_modules/core-js/internals/check-correctness-of-iteration.js + var require_check_correctness_of_iteration = __commonJS({ + "node_modules/core-js/internals/check-correctness-of-iteration.js"(exports, module) { + var wellKnownSymbol = require_well_known_symbol(); + var ITERATOR = wellKnownSymbol("iterator"); + var SAFE_CLOSING = false; + try { + called = 0; + iteratorWithReturn = { + next: function() { + return { done: !!called++ }; + }, + "return": function() { + SAFE_CLOSING = true; + } + }; + iteratorWithReturn[ITERATOR] = function() { + return this; + }; + Array.from(iteratorWithReturn, function() { + throw 2; + }); + } catch (error) { + } + var called; + var iteratorWithReturn; + module.exports = function(exec, SKIP_CLOSING) { + if (!SKIP_CLOSING && !SAFE_CLOSING) + return false; + var ITERATION_SUPPORT = false; + try { + var object = {}; + object[ITERATOR] = function() { + return { + next: function() { + return { done: ITERATION_SUPPORT = true }; + } + }; + }; + exec(object); + } catch (error) { + } + return ITERATION_SUPPORT; + }; + } + }); + + // node_modules/core-js/modules/es.array.from.js + var require_es_array_from = __commonJS({ + "node_modules/core-js/modules/es.array.from.js"() { + var $2 = require_export(); + var from = require_array_from(); + var checkCorrectnessOfIteration = require_check_correctness_of_iteration(); + var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function(iterable) { + Array.from(iterable); + }); + $2({ target: "Array", stat: true, forced: INCORRECT_ITERATION }, { + from + }); + } + }); + + // node_modules/core-js/modules/es.array.includes.js + var require_es_array_includes = __commonJS({ + "node_modules/core-js/modules/es.array.includes.js"() { + "use strict"; + var $2 = require_export(); + var $includes = require_array_includes().includes; + var fails = require_fails(); + var addToUnscopables = require_add_to_unscopables(); + var BROKEN_ON_SPARSE = fails(function() { + return !Array(1).includes(); + }); + $2({ target: "Array", proto: true, forced: BROKEN_ON_SPARSE }, { + includes: function includes(el) { + return $includes(this, el, arguments.length > 1 ? arguments[1] : void 0); + } + }); + addToUnscopables("includes"); + } + }); + + // node_modules/core-js/modules/es.array.index-of.js + var require_es_array_index_of = __commonJS({ + "node_modules/core-js/modules/es.array.index-of.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this_clause(); + var $indexOf = require_array_includes().indexOf; + var arrayMethodIsStrict = require_array_method_is_strict(); + var nativeIndexOf = uncurryThis([].indexOf); + var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; + var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict("indexOf"); + $2({ target: "Array", proto: true, forced: FORCED }, { + indexOf: function indexOf(searchElement) { + var fromIndex = arguments.length > 1 ? arguments[1] : void 0; + return NEGATIVE_ZERO ? nativeIndexOf(this, searchElement, fromIndex) || 0 : $indexOf(this, searchElement, fromIndex); + } + }); + } + }); + + // node_modules/core-js/modules/es.array.is-array.js + var require_es_array_is_array = __commonJS({ + "node_modules/core-js/modules/es.array.is-array.js"() { + var $2 = require_export(); + var isArray = require_is_array(); + $2({ target: "Array", stat: true }, { + isArray + }); + } + }); + + // node_modules/core-js/internals/iterators-core.js + var require_iterators_core = __commonJS({ + "node_modules/core-js/internals/iterators-core.js"(exports, module) { + "use strict"; + var fails = require_fails(); + var isCallable = require_is_callable(); + var isObject = require_is_object(); + var create = require_object_create(); + var getPrototypeOf = require_object_get_prototype_of(); + var defineBuiltIn = require_define_built_in(); + var wellKnownSymbol = require_well_known_symbol(); + var IS_PURE = require_is_pure(); + var ITERATOR = wellKnownSymbol("iterator"); + var BUGGY_SAFARI_ITERATORS = false; + var IteratorPrototype; + var PrototypeOfArrayIteratorPrototype; + var arrayIterator; + if ([].keys) { + arrayIterator = [].keys(); + if (!("next" in arrayIterator)) + BUGGY_SAFARI_ITERATORS = true; + else { + PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); + if (PrototypeOfArrayIteratorPrototype !== Object.prototype) + IteratorPrototype = PrototypeOfArrayIteratorPrototype; + } + } + var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function() { + var test = {}; + return IteratorPrototype[ITERATOR].call(test) !== test; + }); + if (NEW_ITERATOR_PROTOTYPE) + IteratorPrototype = {}; + else if (IS_PURE) + IteratorPrototype = create(IteratorPrototype); + if (!isCallable(IteratorPrototype[ITERATOR])) { + defineBuiltIn(IteratorPrototype, ITERATOR, function() { + return this; + }); + } + module.exports = { + IteratorPrototype, + BUGGY_SAFARI_ITERATORS + }; + } + }); + + // node_modules/core-js/internals/iterator-create-constructor.js + var require_iterator_create_constructor = __commonJS({ + "node_modules/core-js/internals/iterator-create-constructor.js"(exports, module) { + "use strict"; + var IteratorPrototype = require_iterators_core().IteratorPrototype; + var create = require_object_create(); + var createPropertyDescriptor = require_create_property_descriptor(); + var setToStringTag = require_set_to_string_tag(); + var Iterators = require_iterators(); + var returnThis = function() { + return this; + }; + module.exports = function(IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { + var TO_STRING_TAG = NAME + " Iterator"; + IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); + setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); + Iterators[TO_STRING_TAG] = returnThis; + return IteratorConstructor; + }; + } + }); + + // node_modules/core-js/internals/iterator-define.js + var require_iterator_define = __commonJS({ + "node_modules/core-js/internals/iterator-define.js"(exports, module) { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var IS_PURE = require_is_pure(); + var FunctionName = require_function_name(); + var isCallable = require_is_callable(); + var createIteratorConstructor = require_iterator_create_constructor(); + var getPrototypeOf = require_object_get_prototype_of(); + var setPrototypeOf = require_object_set_prototype_of(); + var setToStringTag = require_set_to_string_tag(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var defineBuiltIn = require_define_built_in(); + var wellKnownSymbol = require_well_known_symbol(); + var Iterators = require_iterators(); + var IteratorsCore = require_iterators_core(); + var PROPER_FUNCTION_NAME = FunctionName.PROPER; + var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; + var IteratorPrototype = IteratorsCore.IteratorPrototype; + var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; + var ITERATOR = wellKnownSymbol("iterator"); + var KEYS = "keys"; + var VALUES = "values"; + var ENTRIES = "entries"; + var returnThis = function() { + return this; + }; + module.exports = function(Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { + createIteratorConstructor(IteratorConstructor, NAME, next); + var getIterationMethod = function(KIND) { + if (KIND === DEFAULT && defaultIterator) + return defaultIterator; + if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) + return IterablePrototype[KIND]; + switch (KIND) { + case KEYS: + return function keys() { + return new IteratorConstructor(this, KIND); + }; + case VALUES: + return function values() { + return new IteratorConstructor(this, KIND); + }; + case ENTRIES: + return function entries() { + return new IteratorConstructor(this, KIND); + }; + } + return function() { + return new IteratorConstructor(this); + }; + }; + var TO_STRING_TAG = NAME + " Iterator"; + var INCORRECT_VALUES_NAME = false; + var IterablePrototype = Iterable.prototype; + var nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype["@@iterator"] || DEFAULT && IterablePrototype[DEFAULT]; + var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); + var anyNativeIterator = NAME == "Array" ? IterablePrototype.entries || nativeIterator : nativeIterator; + var CurrentIteratorPrototype, methods, KEY; + if (anyNativeIterator) { + CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); + if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { + if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { + if (setPrototypeOf) { + setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); + } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { + defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis); + } + } + setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); + if (IS_PURE) + Iterators[TO_STRING_TAG] = returnThis; + } + } + if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { + if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) { + createNonEnumerableProperty(IterablePrototype, "name", VALUES); + } else { + INCORRECT_VALUES_NAME = true; + defaultIterator = function values() { + return call(nativeIterator, this); + }; + } + } + if (DEFAULT) { + methods = { + values: getIterationMethod(VALUES), + keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), + entries: getIterationMethod(ENTRIES) + }; + if (FORCED) + for (KEY in methods) { + if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { + defineBuiltIn(IterablePrototype, KEY, methods[KEY]); + } + } + else + $2({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); + } + if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { + defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT }); + } + Iterators[NAME] = defaultIterator; + return methods; + }; + } + }); + + // node_modules/core-js/internals/create-iter-result-object.js + var require_create_iter_result_object = __commonJS({ + "node_modules/core-js/internals/create-iter-result-object.js"(exports, module) { + module.exports = function(value, done) { + return { value, done }; + }; + } + }); + + // node_modules/core-js/modules/es.array.iterator.js + var require_es_array_iterator = __commonJS({ + "node_modules/core-js/modules/es.array.iterator.js"(exports, module) { + "use strict"; + var toIndexedObject = require_to_indexed_object(); + var addToUnscopables = require_add_to_unscopables(); + var Iterators = require_iterators(); + var InternalStateModule = require_internal_state(); + var defineProperty = require_object_define_property().f; + var defineIterator = require_iterator_define(); + var createIterResultObject = require_create_iter_result_object(); + var IS_PURE = require_is_pure(); + var DESCRIPTORS = require_descriptors(); + var ARRAY_ITERATOR = "Array Iterator"; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); + module.exports = defineIterator(Array, "Array", function(iterated, kind) { + setInternalState(this, { + type: ARRAY_ITERATOR, + target: toIndexedObject(iterated), + // target + index: 0, + // next index + kind + // kind + }); + }, function() { + var state2 = getInternalState(this); + var target = state2.target; + var kind = state2.kind; + var index = state2.index++; + if (!target || index >= target.length) { + state2.target = void 0; + return createIterResultObject(void 0, true); + } + if (kind == "keys") + return createIterResultObject(index, false); + if (kind == "values") + return createIterResultObject(target[index], false); + return createIterResultObject([index, target[index]], false); + }, "values"); + var values = Iterators.Arguments = Iterators.Array; + addToUnscopables("keys"); + addToUnscopables("values"); + addToUnscopables("entries"); + if (!IS_PURE && DESCRIPTORS && values.name !== "values") + try { + defineProperty(values, "name", { value: "values" }); + } catch (error) { + } + } + }); + + // node_modules/core-js/modules/es.array.join.js + var require_es_array_join = __commonJS({ + "node_modules/core-js/modules/es.array.join.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var IndexedObject = require_indexed_object(); + var toIndexedObject = require_to_indexed_object(); + var arrayMethodIsStrict = require_array_method_is_strict(); + var nativeJoin = uncurryThis([].join); + var ES3_STRINGS = IndexedObject != Object; + var FORCED = ES3_STRINGS || !arrayMethodIsStrict("join", ","); + $2({ target: "Array", proto: true, forced: FORCED }, { + join: function join(separator) { + return nativeJoin(toIndexedObject(this), separator === void 0 ? "," : separator); + } + }); + } + }); + + // node_modules/core-js/internals/array-last-index-of.js + var require_array_last_index_of = __commonJS({ + "node_modules/core-js/internals/array-last-index-of.js"(exports, module) { + "use strict"; + var apply = require_function_apply(); + var toIndexedObject = require_to_indexed_object(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var lengthOfArrayLike = require_length_of_array_like(); + var arrayMethodIsStrict = require_array_method_is_strict(); + var min = Math.min; + var $lastIndexOf = [].lastIndexOf; + var NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0; + var STRICT_METHOD = arrayMethodIsStrict("lastIndexOf"); + var FORCED = NEGATIVE_ZERO || !STRICT_METHOD; + module.exports = FORCED ? function lastIndexOf(searchElement) { + if (NEGATIVE_ZERO) + return apply($lastIndexOf, this, arguments) || 0; + var O = toIndexedObject(this); + var length = lengthOfArrayLike(O); + var index = length - 1; + if (arguments.length > 1) + index = min(index, toIntegerOrInfinity(arguments[1])); + if (index < 0) + index = length + index; + for (; index >= 0; index--) + if (index in O && O[index] === searchElement) + return index || 0; + return -1; + } : $lastIndexOf; + } + }); + + // node_modules/core-js/modules/es.array.last-index-of.js + var require_es_array_last_index_of = __commonJS({ + "node_modules/core-js/modules/es.array.last-index-of.js"() { + var $2 = require_export(); + var lastIndexOf = require_array_last_index_of(); + $2({ target: "Array", proto: true, forced: lastIndexOf !== [].lastIndexOf }, { + lastIndexOf + }); + } + }); + + // node_modules/core-js/modules/es.array.map.js + var require_es_array_map = __commonJS({ + "node_modules/core-js/modules/es.array.map.js"() { + "use strict"; + var $2 = require_export(); + var $map = require_array_iteration().map; + var arrayMethodHasSpeciesSupport = require_array_method_has_species_support(); + var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("map"); + $2({ target: "Array", proto: true, forced: !HAS_SPECIES_SUPPORT }, { + map: function map(callbackfn) { + return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); + } + }); + } + }); + + // node_modules/core-js/modules/es.array.of.js + var require_es_array_of = __commonJS({ + "node_modules/core-js/modules/es.array.of.js"() { + "use strict"; + var $2 = require_export(); + var fails = require_fails(); + var isConstructor = require_is_constructor(); + var createProperty = require_create_property(); + var $Array = Array; + var ISNT_GENERIC = fails(function() { + function F() { + } + return !($Array.of.call(F) instanceof F); + }); + $2({ target: "Array", stat: true, forced: ISNT_GENERIC }, { + of: function of() { + var index = 0; + var argumentsLength = arguments.length; + var result = new (isConstructor(this) ? this : $Array)(argumentsLength); + while (argumentsLength > index) + createProperty(result, index, arguments[index++]); + result.length = argumentsLength; + return result; + } + }); + } + }); + + // node_modules/core-js/internals/array-set-length.js + var require_array_set_length = __commonJS({ + "node_modules/core-js/internals/array-set-length.js"(exports, module) { + "use strict"; + var DESCRIPTORS = require_descriptors(); + var isArray = require_is_array(); + var $TypeError = TypeError; + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function() { + if (this !== void 0) + return true; + try { + Object.defineProperty([], "length", { writable: false }).length = 1; + } catch (error) { + return error instanceof TypeError; + } + }(); + module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function(O, length) { + if (isArray(O) && !getOwnPropertyDescriptor(O, "length").writable) { + throw $TypeError("Cannot set read only .length"); + } + return O.length = length; + } : function(O, length) { + return O.length = length; + }; + } + }); + + // node_modules/core-js/modules/es.array.push.js + var require_es_array_push = __commonJS({ + "node_modules/core-js/modules/es.array.push.js"() { + "use strict"; + var $2 = require_export(); + var toObject = require_to_object(); + var lengthOfArrayLike = require_length_of_array_like(); + var setArrayLength = require_array_set_length(); + var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); + var fails = require_fails(); + var INCORRECT_TO_LENGTH = fails(function() { + return [].push.call({ length: 4294967296 }, 1) !== 4294967297; + }); + var properErrorOnNonWritableLength = function() { + try { + Object.defineProperty([], "length", { writable: false }).push(); + } catch (error) { + return error instanceof TypeError; + } + }; + var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); + $2({ target: "Array", proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + push: function push(item) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var argCount = arguments.length; + doesNotExceedSafeInteger(len + argCount); + for (var i4 = 0; i4 < argCount; i4++) { + O[len] = arguments[i4]; + len++; + } + setArrayLength(O, len); + return len; + } + }); + } + }); + + // node_modules/core-js/internals/array-reduce.js + var require_array_reduce = __commonJS({ + "node_modules/core-js/internals/array-reduce.js"(exports, module) { + var aCallable = require_a_callable(); + var toObject = require_to_object(); + var IndexedObject = require_indexed_object(); + var lengthOfArrayLike = require_length_of_array_like(); + var $TypeError = TypeError; + var createMethod = function(IS_RIGHT) { + return function(that, callbackfn, argumentsLength, memo) { + aCallable(callbackfn); + var O = toObject(that); + var self2 = IndexedObject(O); + var length = lengthOfArrayLike(O); + var index = IS_RIGHT ? length - 1 : 0; + var i4 = IS_RIGHT ? -1 : 1; + if (argumentsLength < 2) + while (true) { + if (index in self2) { + memo = self2[index]; + index += i4; + break; + } + index += i4; + if (IS_RIGHT ? index < 0 : length <= index) { + throw $TypeError("Reduce of empty array with no initial value"); + } + } + for (; IS_RIGHT ? index >= 0 : length > index; index += i4) + if (index in self2) { + memo = callbackfn(memo, self2[index], index, O); + } + return memo; + }; + }; + module.exports = { + // `Array.prototype.reduce` method + // https://tc39.es/ecma262/#sec-array.prototype.reduce + left: createMethod(false), + // `Array.prototype.reduceRight` method + // https://tc39.es/ecma262/#sec-array.prototype.reduceright + right: createMethod(true) + }; + } + }); + + // node_modules/core-js/internals/engine-is-node.js + var require_engine_is_node = __commonJS({ + "node_modules/core-js/internals/engine-is-node.js"(exports, module) { + var classof = require_classof_raw(); + module.exports = typeof process != "undefined" && classof(process) == "process"; + } + }); + + // node_modules/core-js/modules/es.array.reduce.js + var require_es_array_reduce = __commonJS({ + "node_modules/core-js/modules/es.array.reduce.js"() { + "use strict"; + var $2 = require_export(); + var $reduce = require_array_reduce().left; + var arrayMethodIsStrict = require_array_method_is_strict(); + var CHROME_VERSION = require_engine_v8_version(); + var IS_NODE = require_engine_is_node(); + var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; + var FORCED = CHROME_BUG || !arrayMethodIsStrict("reduce"); + $2({ target: "Array", proto: true, forced: FORCED }, { + reduce: function reduce(callbackfn) { + var length = arguments.length; + return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : void 0); + } + }); + } + }); + + // node_modules/core-js/modules/es.array.reduce-right.js + var require_es_array_reduce_right = __commonJS({ + "node_modules/core-js/modules/es.array.reduce-right.js"() { + "use strict"; + var $2 = require_export(); + var $reduceRight = require_array_reduce().right; + var arrayMethodIsStrict = require_array_method_is_strict(); + var CHROME_VERSION = require_engine_v8_version(); + var IS_NODE = require_engine_is_node(); + var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; + var FORCED = CHROME_BUG || !arrayMethodIsStrict("reduceRight"); + $2({ target: "Array", proto: true, forced: FORCED }, { + reduceRight: function reduceRight(callbackfn) { + return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : void 0); + } + }); + } + }); + + // node_modules/core-js/modules/es.array.reverse.js + var require_es_array_reverse = __commonJS({ + "node_modules/core-js/modules/es.array.reverse.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var isArray = require_is_array(); + var nativeReverse = uncurryThis([].reverse); + var test = [1, 2]; + $2({ target: "Array", proto: true, forced: String(test) === String(test.reverse()) }, { + reverse: function reverse() { + if (isArray(this)) + this.length = this.length; + return nativeReverse(this); + } + }); + } + }); + + // node_modules/core-js/modules/es.array.slice.js + var require_es_array_slice = __commonJS({ + "node_modules/core-js/modules/es.array.slice.js"() { + "use strict"; + var $2 = require_export(); + var isArray = require_is_array(); + var isConstructor = require_is_constructor(); + var isObject = require_is_object(); + var toAbsoluteIndex = require_to_absolute_index(); + var lengthOfArrayLike = require_length_of_array_like(); + var toIndexedObject = require_to_indexed_object(); + var createProperty = require_create_property(); + var wellKnownSymbol = require_well_known_symbol(); + var arrayMethodHasSpeciesSupport = require_array_method_has_species_support(); + var nativeSlice = require_array_slice(); + var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("slice"); + var SPECIES = wellKnownSymbol("species"); + var $Array = Array; + var max = Math.max; + $2({ target: "Array", proto: true, forced: !HAS_SPECIES_SUPPORT }, { + slice: function slice(start, end) { + var O = toIndexedObject(this); + var length = lengthOfArrayLike(O); + var k2 = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === void 0 ? length : end, length); + var Constructor, result, n6; + if (isArray(O)) { + Constructor = O.constructor; + if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) { + Constructor = void 0; + } else if (isObject(Constructor)) { + Constructor = Constructor[SPECIES]; + if (Constructor === null) + Constructor = void 0; + } + if (Constructor === $Array || Constructor === void 0) { + return nativeSlice(O, k2, fin); + } + } + result = new (Constructor === void 0 ? $Array : Constructor)(max(fin - k2, 0)); + for (n6 = 0; k2 < fin; k2++, n6++) + if (k2 in O) + createProperty(result, n6, O[k2]); + result.length = n6; + return result; + } + }); + } + }); + + // node_modules/core-js/modules/es.array.some.js + var require_es_array_some = __commonJS({ + "node_modules/core-js/modules/es.array.some.js"() { + "use strict"; + var $2 = require_export(); + var $some = require_array_iteration().some; + var arrayMethodIsStrict = require_array_method_is_strict(); + var STRICT_METHOD = arrayMethodIsStrict("some"); + $2({ target: "Array", proto: true, forced: !STRICT_METHOD }, { + some: function some(callbackfn) { + return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); + } + }); + } + }); + + // node_modules/core-js/internals/array-sort.js + var require_array_sort = __commonJS({ + "node_modules/core-js/internals/array-sort.js"(exports, module) { + var arraySlice = require_array_slice_simple(); + var floor = Math.floor; + var mergeSort = function(array, comparefn) { + var length = array.length; + var middle = floor(length / 2); + return length < 8 ? insertionSort(array, comparefn) : merge( + array, + mergeSort(arraySlice(array, 0, middle), comparefn), + mergeSort(arraySlice(array, middle), comparefn), + comparefn + ); + }; + var insertionSort = function(array, comparefn) { + var length = array.length; + var i4 = 1; + var element, j2; + while (i4 < length) { + j2 = i4; + element = array[i4]; + while (j2 && comparefn(array[j2 - 1], element) > 0) { + array[j2] = array[--j2]; + } + if (j2 !== i4++) + array[j2] = element; + } + return array; + }; + var merge = function(array, left, right, comparefn) { + var llength = left.length; + var rlength = right.length; + var lindex = 0; + var rindex = 0; + while (lindex < llength || rindex < rlength) { + array[lindex + rindex] = lindex < llength && rindex < rlength ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] : lindex < llength ? left[lindex++] : right[rindex++]; + } + return array; + }; + module.exports = mergeSort; + } + }); + + // node_modules/core-js/internals/engine-ff-version.js + var require_engine_ff_version = __commonJS({ + "node_modules/core-js/internals/engine-ff-version.js"(exports, module) { + var userAgent = require_engine_user_agent(); + var firefox = userAgent.match(/firefox\/(\d+)/i); + module.exports = !!firefox && +firefox[1]; + } + }); + + // node_modules/core-js/internals/engine-is-ie-or-edge.js + var require_engine_is_ie_or_edge = __commonJS({ + "node_modules/core-js/internals/engine-is-ie-or-edge.js"(exports, module) { + var UA = require_engine_user_agent(); + module.exports = /MSIE|Trident/.test(UA); + } + }); + + // node_modules/core-js/internals/engine-webkit-version.js + var require_engine_webkit_version = __commonJS({ + "node_modules/core-js/internals/engine-webkit-version.js"(exports, module) { + var userAgent = require_engine_user_agent(); + var webkit = userAgent.match(/AppleWebKit\/(\d+)\./); + module.exports = !!webkit && +webkit[1]; + } + }); + + // node_modules/core-js/modules/es.array.sort.js + var require_es_array_sort = __commonJS({ + "node_modules/core-js/modules/es.array.sort.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var aCallable = require_a_callable(); + var toObject = require_to_object(); + var lengthOfArrayLike = require_length_of_array_like(); + var deletePropertyOrThrow = require_delete_property_or_throw(); + var toString = require_to_string(); + var fails = require_fails(); + var internalSort = require_array_sort(); + var arrayMethodIsStrict = require_array_method_is_strict(); + var FF = require_engine_ff_version(); + var IE_OR_EDGE = require_engine_is_ie_or_edge(); + var V8 = require_engine_v8_version(); + var WEBKIT = require_engine_webkit_version(); + var test = []; + var nativeSort = uncurryThis(test.sort); + var push = uncurryThis(test.push); + var FAILS_ON_UNDEFINED = fails(function() { + test.sort(void 0); + }); + var FAILS_ON_NULL = fails(function() { + test.sort(null); + }); + var STRICT_METHOD = arrayMethodIsStrict("sort"); + var STABLE_SORT = !fails(function() { + if (V8) + return V8 < 70; + if (FF && FF > 3) + return; + if (IE_OR_EDGE) + return true; + if (WEBKIT) + return WEBKIT < 603; + var result = ""; + var code, chr, value, index; + for (code = 65; code < 76; code++) { + chr = String.fromCharCode(code); + switch (code) { + case 66: + case 69: + case 70: + case 72: + value = 3; + break; + case 68: + case 71: + value = 4; + break; + default: + value = 2; + } + for (index = 0; index < 47; index++) { + test.push({ k: chr + index, v: value }); + } + } + test.sort(function(a3, b2) { + return b2.v - a3.v; + }); + for (index = 0; index < test.length; index++) { + chr = test[index].k.charAt(0); + if (result.charAt(result.length - 1) !== chr) + result += chr; + } + return result !== "DGBEFHACIJK"; + }); + var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT; + var getSortCompare = function(comparefn) { + return function(x2, y2) { + if (y2 === void 0) + return -1; + if (x2 === void 0) + return 1; + if (comparefn !== void 0) + return +comparefn(x2, y2) || 0; + return toString(x2) > toString(y2) ? 1 : -1; + }; + }; + $2({ target: "Array", proto: true, forced: FORCED }, { + sort: function sort(comparefn) { + if (comparefn !== void 0) + aCallable(comparefn); + var array = toObject(this); + if (STABLE_SORT) + return comparefn === void 0 ? nativeSort(array) : nativeSort(array, comparefn); + var items = []; + var arrayLength = lengthOfArrayLike(array); + var itemsLength, index; + for (index = 0; index < arrayLength; index++) { + if (index in array) + push(items, array[index]); + } + internalSort(items, getSortCompare(comparefn)); + itemsLength = lengthOfArrayLike(items); + index = 0; + while (index < itemsLength) + array[index] = items[index++]; + while (index < arrayLength) + deletePropertyOrThrow(array, index++); + return array; + } + }); + } + }); + + // node_modules/core-js/internals/set-species.js + var require_set_species = __commonJS({ + "node_modules/core-js/internals/set-species.js"(exports, module) { + "use strict"; + var getBuiltIn = require_get_built_in(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var wellKnownSymbol = require_well_known_symbol(); + var DESCRIPTORS = require_descriptors(); + var SPECIES = wellKnownSymbol("species"); + module.exports = function(CONSTRUCTOR_NAME) { + var Constructor = getBuiltIn(CONSTRUCTOR_NAME); + if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) { + defineBuiltInAccessor(Constructor, SPECIES, { + configurable: true, + get: function() { + return this; + } + }); + } + }; + } + }); + + // node_modules/core-js/modules/es.array.species.js + var require_es_array_species = __commonJS({ + "node_modules/core-js/modules/es.array.species.js"() { + var setSpecies = require_set_species(); + setSpecies("Array"); + } + }); + + // node_modules/core-js/modules/es.array.splice.js + var require_es_array_splice = __commonJS({ + "node_modules/core-js/modules/es.array.splice.js"() { + "use strict"; + var $2 = require_export(); + var toObject = require_to_object(); + var toAbsoluteIndex = require_to_absolute_index(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var lengthOfArrayLike = require_length_of_array_like(); + var setArrayLength = require_array_set_length(); + var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); + var arraySpeciesCreate = require_array_species_create(); + var createProperty = require_create_property(); + var deletePropertyOrThrow = require_delete_property_or_throw(); + var arrayMethodHasSpeciesSupport = require_array_method_has_species_support(); + var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("splice"); + var max = Math.max; + var min = Math.min; + $2({ target: "Array", proto: true, forced: !HAS_SPECIES_SUPPORT }, { + splice: function splice(start, deleteCount) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var insertCount, actualDeleteCount, A2, k2, from, to; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + insertCount = argumentsLength - 2; + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); + } + doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); + A2 = arraySpeciesCreate(O, actualDeleteCount); + for (k2 = 0; k2 < actualDeleteCount; k2++) { + from = actualStart + k2; + if (from in O) + createProperty(A2, k2, O[from]); + } + A2.length = actualDeleteCount; + if (insertCount < actualDeleteCount) { + for (k2 = actualStart; k2 < len - actualDeleteCount; k2++) { + from = k2 + actualDeleteCount; + to = k2 + insertCount; + if (from in O) + O[to] = O[from]; + else + deletePropertyOrThrow(O, to); + } + for (k2 = len; k2 > len - actualDeleteCount + insertCount; k2--) + deletePropertyOrThrow(O, k2 - 1); + } else if (insertCount > actualDeleteCount) { + for (k2 = len - actualDeleteCount; k2 > actualStart; k2--) { + from = k2 + actualDeleteCount - 1; + to = k2 + insertCount - 1; + if (from in O) + O[to] = O[from]; + else + deletePropertyOrThrow(O, to); + } + } + for (k2 = 0; k2 < insertCount; k2++) { + O[k2 + actualStart] = arguments[k2 + 2]; + } + setArrayLength(O, len - actualDeleteCount + insertCount); + return A2; + } + }); + } + }); + + // node_modules/core-js/internals/array-to-reversed.js + var require_array_to_reversed = __commonJS({ + "node_modules/core-js/internals/array-to-reversed.js"(exports, module) { + var lengthOfArrayLike = require_length_of_array_like(); + module.exports = function(O, C2) { + var len = lengthOfArrayLike(O); + var A2 = new C2(len); + var k2 = 0; + for (; k2 < len; k2++) + A2[k2] = O[len - k2 - 1]; + return A2; + }; + } + }); + + // node_modules/core-js/modules/es.array.to-reversed.js + var require_es_array_to_reversed = __commonJS({ + "node_modules/core-js/modules/es.array.to-reversed.js"() { + "use strict"; + var $2 = require_export(); + var arrayToReversed = require_array_to_reversed(); + var toIndexedObject = require_to_indexed_object(); + var addToUnscopables = require_add_to_unscopables(); + var $Array = Array; + $2({ target: "Array", proto: true }, { + toReversed: function toReversed() { + return arrayToReversed(toIndexedObject(this), $Array); + } + }); + addToUnscopables("toReversed"); + } + }); + + // node_modules/core-js/internals/array-from-constructor-and-list.js + var require_array_from_constructor_and_list = __commonJS({ + "node_modules/core-js/internals/array-from-constructor-and-list.js"(exports, module) { + var lengthOfArrayLike = require_length_of_array_like(); + module.exports = function(Constructor, list) { + var index = 0; + var length = lengthOfArrayLike(list); + var result = new Constructor(length); + while (length > index) + result[index] = list[index++]; + return result; + }; + } + }); + + // node_modules/core-js/internals/entry-virtual.js + var require_entry_virtual = __commonJS({ + "node_modules/core-js/internals/entry-virtual.js"(exports, module) { + var global2 = require_global(); + module.exports = function(CONSTRUCTOR) { + return global2[CONSTRUCTOR].prototype; + }; + } + }); + + // node_modules/core-js/modules/es.array.to-sorted.js + var require_es_array_to_sorted = __commonJS({ + "node_modules/core-js/modules/es.array.to-sorted.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var aCallable = require_a_callable(); + var toIndexedObject = require_to_indexed_object(); + var arrayFromConstructorAndList = require_array_from_constructor_and_list(); + var getVirtual = require_entry_virtual(); + var addToUnscopables = require_add_to_unscopables(); + var $Array = Array; + var sort = uncurryThis(getVirtual("Array").sort); + $2({ target: "Array", proto: true }, { + toSorted: function toSorted(compareFn) { + if (compareFn !== void 0) + aCallable(compareFn); + var O = toIndexedObject(this); + var A2 = arrayFromConstructorAndList($Array, O); + return sort(A2, compareFn); + } + }); + addToUnscopables("toSorted"); + } + }); + + // node_modules/core-js/modules/es.array.to-spliced.js + var require_es_array_to_spliced = __commonJS({ + "node_modules/core-js/modules/es.array.to-spliced.js"() { + "use strict"; + var $2 = require_export(); + var addToUnscopables = require_add_to_unscopables(); + var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); + var lengthOfArrayLike = require_length_of_array_like(); + var toAbsoluteIndex = require_to_absolute_index(); + var toIndexedObject = require_to_indexed_object(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var $Array = Array; + var max = Math.max; + var min = Math.min; + $2({ target: "Array", proto: true }, { + toSpliced: function toSpliced(start, deleteCount) { + var O = toIndexedObject(this); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var k2 = 0; + var insertCount, actualDeleteCount, newLen, A2; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + insertCount = argumentsLength - 2; + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); + } + newLen = doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); + A2 = $Array(newLen); + for (; k2 < actualStart; k2++) + A2[k2] = O[k2]; + for (; k2 < actualStart + insertCount; k2++) + A2[k2] = arguments[k2 - actualStart + 2]; + for (; k2 < newLen; k2++) + A2[k2] = O[k2 + actualDeleteCount - insertCount]; + return A2; + } + }); + addToUnscopables("toSpliced"); + } + }); + + // node_modules/core-js/modules/es.array.unscopables.flat.js + var require_es_array_unscopables_flat = __commonJS({ + "node_modules/core-js/modules/es.array.unscopables.flat.js"() { + var addToUnscopables = require_add_to_unscopables(); + addToUnscopables("flat"); + } + }); + + // node_modules/core-js/modules/es.array.unscopables.flat-map.js + var require_es_array_unscopables_flat_map = __commonJS({ + "node_modules/core-js/modules/es.array.unscopables.flat-map.js"() { + var addToUnscopables = require_add_to_unscopables(); + addToUnscopables("flatMap"); + } + }); + + // node_modules/core-js/modules/es.array.unshift.js + var require_es_array_unshift = __commonJS({ + "node_modules/core-js/modules/es.array.unshift.js"() { + "use strict"; + var $2 = require_export(); + var toObject = require_to_object(); + var lengthOfArrayLike = require_length_of_array_like(); + var setArrayLength = require_array_set_length(); + var deletePropertyOrThrow = require_delete_property_or_throw(); + var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); + var INCORRECT_RESULT = [].unshift(0) !== 1; + var properErrorOnNonWritableLength = function() { + try { + Object.defineProperty([], "length", { writable: false }).unshift(); + } catch (error) { + return error instanceof TypeError; + } + }; + var FORCED = INCORRECT_RESULT || !properErrorOnNonWritableLength(); + $2({ target: "Array", proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + unshift: function unshift(item) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var argCount = arguments.length; + if (argCount) { + doesNotExceedSafeInteger(len + argCount); + var k2 = len; + while (k2--) { + var to = k2 + argCount; + if (k2 in O) + O[to] = O[k2]; + else + deletePropertyOrThrow(O, to); + } + for (var j2 = 0; j2 < argCount; j2++) { + O[j2] = arguments[j2]; + } + } + return setArrayLength(O, len + argCount); + } + }); + } + }); + + // node_modules/core-js/internals/array-with.js + var require_array_with = __commonJS({ + "node_modules/core-js/internals/array-with.js"(exports, module) { + var lengthOfArrayLike = require_length_of_array_like(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var $RangeError = RangeError; + module.exports = function(O, C2, index, value) { + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex; + if (actualIndex >= len || actualIndex < 0) + throw $RangeError("Incorrect index"); + var A2 = new C2(len); + var k2 = 0; + for (; k2 < len; k2++) + A2[k2] = k2 === actualIndex ? value : O[k2]; + return A2; + }; + } + }); + + // node_modules/core-js/modules/es.array.with.js + var require_es_array_with = __commonJS({ + "node_modules/core-js/modules/es.array.with.js"() { + "use strict"; + var $2 = require_export(); + var arrayWith = require_array_with(); + var toIndexedObject = require_to_indexed_object(); + var $Array = Array; + $2({ target: "Array", proto: true }, { + "with": function(index, value) { + return arrayWith(toIndexedObject(this), $Array, index, value); + } + }); + } + }); + + // node_modules/core-js/internals/array-buffer-basic-detection.js + var require_array_buffer_basic_detection = __commonJS({ + "node_modules/core-js/internals/array-buffer-basic-detection.js"(exports, module) { + module.exports = typeof ArrayBuffer != "undefined" && typeof DataView != "undefined"; + } + }); + + // node_modules/core-js/internals/define-built-ins.js + var require_define_built_ins = __commonJS({ + "node_modules/core-js/internals/define-built-ins.js"(exports, module) { + var defineBuiltIn = require_define_built_in(); + module.exports = function(target, src, options) { + for (var key in src) + defineBuiltIn(target, key, src[key], options); + return target; + }; + } + }); + + // node_modules/core-js/internals/an-instance.js + var require_an_instance = __commonJS({ + "node_modules/core-js/internals/an-instance.js"(exports, module) { + var isPrototypeOf = require_object_is_prototype_of(); + var $TypeError = TypeError; + module.exports = function(it, Prototype) { + if (isPrototypeOf(Prototype, it)) + return it; + throw $TypeError("Incorrect invocation"); + }; + } + }); + + // node_modules/core-js/internals/to-index.js + var require_to_index = __commonJS({ + "node_modules/core-js/internals/to-index.js"(exports, module) { + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var toLength = require_to_length(); + var $RangeError = RangeError; + module.exports = function(it) { + if (it === void 0) + return 0; + var number = toIntegerOrInfinity(it); + var length = toLength(number); + if (number !== length) + throw $RangeError("Wrong length or index"); + return length; + }; + } + }); + + // node_modules/core-js/internals/ieee754.js + var require_ieee754 = __commonJS({ + "node_modules/core-js/internals/ieee754.js"(exports, module) { + var $Array = Array; + var abs = Math.abs; + var pow = Math.pow; + var floor = Math.floor; + var log = Math.log; + var LN2 = Math.LN2; + var pack = function(number, mantissaLength, bytes) { + var buffer = $Array(bytes); + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0; + var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; + var index = 0; + var exponent, mantissa, c3; + number = abs(number); + if (number != number || number === Infinity) { + mantissa = number != number ? 1 : 0; + exponent = eMax; + } else { + exponent = floor(log(number) / LN2); + c3 = pow(2, -exponent); + if (number * c3 < 1) { + exponent--; + c3 *= 2; + } + if (exponent + eBias >= 1) { + number += rt / c3; + } else { + number += rt * pow(2, 1 - eBias); + } + if (number * c3 >= 2) { + exponent++; + c3 /= 2; + } + if (exponent + eBias >= eMax) { + mantissa = 0; + exponent = eMax; + } else if (exponent + eBias >= 1) { + mantissa = (number * c3 - 1) * pow(2, mantissaLength); + exponent = exponent + eBias; + } else { + mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength); + exponent = 0; + } + } + while (mantissaLength >= 8) { + buffer[index++] = mantissa & 255; + mantissa /= 256; + mantissaLength -= 8; + } + exponent = exponent << mantissaLength | mantissa; + exponentLength += mantissaLength; + while (exponentLength > 0) { + buffer[index++] = exponent & 255; + exponent /= 256; + exponentLength -= 8; + } + buffer[--index] |= sign * 128; + return buffer; + }; + var unpack = function(buffer, mantissaLength) { + var bytes = buffer.length; + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var nBits = exponentLength - 7; + var index = bytes - 1; + var sign = buffer[index--]; + var exponent = sign & 127; + var mantissa; + sign >>= 7; + while (nBits > 0) { + exponent = exponent * 256 + buffer[index--]; + nBits -= 8; + } + mantissa = exponent & (1 << -nBits) - 1; + exponent >>= -nBits; + nBits += mantissaLength; + while (nBits > 0) { + mantissa = mantissa * 256 + buffer[index--]; + nBits -= 8; + } + if (exponent === 0) { + exponent = 1 - eBias; + } else if (exponent === eMax) { + return mantissa ? NaN : sign ? -Infinity : Infinity; + } else { + mantissa = mantissa + pow(2, mantissaLength); + exponent = exponent - eBias; + } + return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength); + }; + module.exports = { + pack, + unpack + }; + } + }); + + // node_modules/core-js/internals/array-buffer.js + var require_array_buffer = __commonJS({ + "node_modules/core-js/internals/array-buffer.js"(exports, module) { + "use strict"; + var global2 = require_global(); + var uncurryThis = require_function_uncurry_this(); + var DESCRIPTORS = require_descriptors(); + var NATIVE_ARRAY_BUFFER = require_array_buffer_basic_detection(); + var FunctionName = require_function_name(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var defineBuiltIns = require_define_built_ins(); + var fails = require_fails(); + var anInstance = require_an_instance(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var toLength = require_to_length(); + var toIndex = require_to_index(); + var IEEE754 = require_ieee754(); + var getPrototypeOf = require_object_get_prototype_of(); + var setPrototypeOf = require_object_set_prototype_of(); + var getOwnPropertyNames = require_object_get_own_property_names().f; + var arrayFill = require_array_fill(); + var arraySlice = require_array_slice_simple(); + var setToStringTag = require_set_to_string_tag(); + var InternalStateModule = require_internal_state(); + var PROPER_FUNCTION_NAME = FunctionName.PROPER; + var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; + var ARRAY_BUFFER = "ArrayBuffer"; + var DATA_VIEW = "DataView"; + var PROTOTYPE = "prototype"; + var WRONG_LENGTH = "Wrong length"; + var WRONG_INDEX = "Wrong index"; + var getInternalArrayBufferState = InternalStateModule.getterFor(ARRAY_BUFFER); + var getInternalDataViewState = InternalStateModule.getterFor(DATA_VIEW); + var setInternalState = InternalStateModule.set; + var NativeArrayBuffer = global2[ARRAY_BUFFER]; + var $ArrayBuffer = NativeArrayBuffer; + var ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer[PROTOTYPE]; + var $DataView = global2[DATA_VIEW]; + var DataViewPrototype = $DataView && $DataView[PROTOTYPE]; + var ObjectPrototype = Object.prototype; + var Array2 = global2.Array; + var RangeError2 = global2.RangeError; + var fill = uncurryThis(arrayFill); + var reverse = uncurryThis([].reverse); + var packIEEE754 = IEEE754.pack; + var unpackIEEE754 = IEEE754.unpack; + var packInt8 = function(number) { + return [number & 255]; + }; + var packInt16 = function(number) { + return [number & 255, number >> 8 & 255]; + }; + var packInt32 = function(number) { + return [number & 255, number >> 8 & 255, number >> 16 & 255, number >> 24 & 255]; + }; + var unpackInt32 = function(buffer) { + return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]; + }; + var packFloat32 = function(number) { + return packIEEE754(number, 23, 4); + }; + var packFloat64 = function(number) { + return packIEEE754(number, 52, 8); + }; + var addGetter = function(Constructor, key2, getInternalState) { + defineBuiltInAccessor(Constructor[PROTOTYPE], key2, { + configurable: true, + get: function() { + return getInternalState(this)[key2]; + } + }); + }; + var get = function(view, count, index, isLittleEndian) { + var intIndex = toIndex(index); + var store = getInternalDataViewState(view); + if (intIndex + count > store.byteLength) + throw RangeError2(WRONG_INDEX); + var bytes = store.bytes; + var start = intIndex + store.byteOffset; + var pack = arraySlice(bytes, start, start + count); + return isLittleEndian ? pack : reverse(pack); + }; + var set = function(view, count, index, conversion, value, isLittleEndian) { + var intIndex = toIndex(index); + var store = getInternalDataViewState(view); + if (intIndex + count > store.byteLength) + throw RangeError2(WRONG_INDEX); + var bytes = store.bytes; + var start = intIndex + store.byteOffset; + var pack = conversion(+value); + for (var i4 = 0; i4 < count; i4++) + bytes[start + i4] = pack[isLittleEndian ? i4 : count - i4 - 1]; + }; + if (!NATIVE_ARRAY_BUFFER) { + $ArrayBuffer = function ArrayBuffer2(length) { + anInstance(this, ArrayBufferPrototype); + var byteLength = toIndex(length); + setInternalState(this, { + type: ARRAY_BUFFER, + bytes: fill(Array2(byteLength), 0), + byteLength + }); + if (!DESCRIPTORS) { + this.byteLength = byteLength; + this.detached = false; + } + }; + ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE]; + $DataView = function DataView2(buffer, byteOffset, byteLength) { + anInstance(this, DataViewPrototype); + anInstance(buffer, ArrayBufferPrototype); + var bufferState = getInternalArrayBufferState(buffer); + var bufferLength = bufferState.byteLength; + var offset = toIntegerOrInfinity(byteOffset); + if (offset < 0 || offset > bufferLength) + throw RangeError2("Wrong offset"); + byteLength = byteLength === void 0 ? bufferLength - offset : toLength(byteLength); + if (offset + byteLength > bufferLength) + throw RangeError2(WRONG_LENGTH); + setInternalState(this, { + type: DATA_VIEW, + buffer, + byteLength, + byteOffset: offset, + bytes: bufferState.bytes + }); + if (!DESCRIPTORS) { + this.buffer = buffer; + this.byteLength = byteLength; + this.byteOffset = offset; + } + }; + DataViewPrototype = $DataView[PROTOTYPE]; + if (DESCRIPTORS) { + addGetter($ArrayBuffer, "byteLength", getInternalArrayBufferState); + addGetter($DataView, "buffer", getInternalDataViewState); + addGetter($DataView, "byteLength", getInternalDataViewState); + addGetter($DataView, "byteOffset", getInternalDataViewState); + } + defineBuiltIns(DataViewPrototype, { + getInt8: function getInt8(byteOffset) { + return get(this, 1, byteOffset)[0] << 24 >> 24; + }, + getUint8: function getUint8(byteOffset) { + return get(this, 1, byteOffset)[0]; + }, + getInt16: function getInt16(byteOffset) { + var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : void 0); + return (bytes[1] << 8 | bytes[0]) << 16 >> 16; + }, + getUint16: function getUint16(byteOffset) { + var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : void 0); + return bytes[1] << 8 | bytes[0]; + }, + getInt32: function getInt32(byteOffset) { + return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : void 0)); + }, + getUint32: function getUint32(byteOffset) { + return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : void 0)) >>> 0; + }, + getFloat32: function getFloat32(byteOffset) { + return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : void 0), 23); + }, + getFloat64: function getFloat64(byteOffset) { + return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : void 0), 52); + }, + setInt8: function setInt8(byteOffset, value) { + set(this, 1, byteOffset, packInt8, value); + }, + setUint8: function setUint8(byteOffset, value) { + set(this, 1, byteOffset, packInt8, value); + }, + setInt16: function setInt16(byteOffset, value) { + set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : void 0); + }, + setUint16: function setUint16(byteOffset, value) { + set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : void 0); + }, + setInt32: function setInt32(byteOffset, value) { + set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : void 0); + }, + setUint32: function setUint32(byteOffset, value) { + set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : void 0); + }, + setFloat32: function setFloat32(byteOffset, value) { + set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : void 0); + }, + setFloat64: function setFloat64(byteOffset, value) { + set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : void 0); + } + }); + } else { + INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER; + if (!fails(function() { + NativeArrayBuffer(1); + }) || !fails(function() { + new NativeArrayBuffer(-1); + }) || fails(function() { + new NativeArrayBuffer(); + new NativeArrayBuffer(1.5); + new NativeArrayBuffer(NaN); + return NativeArrayBuffer.length != 1 || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME; + })) { + $ArrayBuffer = function ArrayBuffer2(length) { + anInstance(this, ArrayBufferPrototype); + return new NativeArrayBuffer(toIndex(length)); + }; + $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype; + for (keys = getOwnPropertyNames(NativeArrayBuffer), j2 = 0; keys.length > j2; ) { + if (!((key = keys[j2++]) in $ArrayBuffer)) { + createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]); + } + } + ArrayBufferPrototype.constructor = $ArrayBuffer; + } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) { + createNonEnumerableProperty(NativeArrayBuffer, "name", ARRAY_BUFFER); + } + if (setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) { + setPrototypeOf(DataViewPrototype, ObjectPrototype); + } + testView = new $DataView(new $ArrayBuffer(2)); + $setInt8 = uncurryThis(DataViewPrototype.setInt8); + testView.setInt8(0, 2147483648); + testView.setInt8(1, 2147483649); + if (testView.getInt8(0) || !testView.getInt8(1)) + defineBuiltIns(DataViewPrototype, { + setInt8: function setInt8(byteOffset, value) { + $setInt8(this, byteOffset, value << 24 >> 24); + }, + setUint8: function setUint8(byteOffset, value) { + $setInt8(this, byteOffset, value << 24 >> 24); + } + }, { unsafe: true }); + } + var INCORRECT_ARRAY_BUFFER_NAME; + var keys; + var j2; + var key; + var testView; + var $setInt8; + setToStringTag($ArrayBuffer, ARRAY_BUFFER); + setToStringTag($DataView, DATA_VIEW); + module.exports = { + ArrayBuffer: $ArrayBuffer, + DataView: $DataView + }; + } + }); + + // node_modules/core-js/modules/es.array-buffer.constructor.js + var require_es_array_buffer_constructor = __commonJS({ + "node_modules/core-js/modules/es.array-buffer.constructor.js"() { + "use strict"; + var $2 = require_export(); + var global2 = require_global(); + var arrayBufferModule = require_array_buffer(); + var setSpecies = require_set_species(); + var ARRAY_BUFFER = "ArrayBuffer"; + var ArrayBuffer2 = arrayBufferModule[ARRAY_BUFFER]; + var NativeArrayBuffer = global2[ARRAY_BUFFER]; + $2({ global: true, constructor: true, forced: NativeArrayBuffer !== ArrayBuffer2 }, { + ArrayBuffer: ArrayBuffer2 + }); + setSpecies(ARRAY_BUFFER); + } + }); + + // node_modules/core-js/internals/array-buffer-view-core.js + var require_array_buffer_view_core = __commonJS({ + "node_modules/core-js/internals/array-buffer-view-core.js"(exports, module) { + "use strict"; + var NATIVE_ARRAY_BUFFER = require_array_buffer_basic_detection(); + var DESCRIPTORS = require_descriptors(); + var global2 = require_global(); + var isCallable = require_is_callable(); + var isObject = require_is_object(); + var hasOwn = require_has_own_property(); + var classof = require_classof(); + var tryToString = require_try_to_string(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var defineBuiltIn = require_define_built_in(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var isPrototypeOf = require_object_is_prototype_of(); + var getPrototypeOf = require_object_get_prototype_of(); + var setPrototypeOf = require_object_set_prototype_of(); + var wellKnownSymbol = require_well_known_symbol(); + var uid = require_uid(); + var InternalStateModule = require_internal_state(); + var enforceInternalState = InternalStateModule.enforce; + var getInternalState = InternalStateModule.get; + var Int8Array2 = global2.Int8Array; + var Int8ArrayPrototype = Int8Array2 && Int8Array2.prototype; + var Uint8ClampedArray2 = global2.Uint8ClampedArray; + var Uint8ClampedArrayPrototype = Uint8ClampedArray2 && Uint8ClampedArray2.prototype; + var TypedArray = Int8Array2 && getPrototypeOf(Int8Array2); + var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); + var ObjectPrototype = Object.prototype; + var TypeError2 = global2.TypeError; + var TO_STRING_TAG = wellKnownSymbol("toStringTag"); + var TYPED_ARRAY_TAG = uid("TYPED_ARRAY_TAG"); + var TYPED_ARRAY_CONSTRUCTOR = "TypedArrayConstructor"; + var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global2.opera) !== "Opera"; + var TYPED_ARRAY_TAG_REQUIRED = false; + var NAME; + var Constructor; + var Prototype; + var TypedArrayConstructorsList = { + Int8Array: 1, + Uint8Array: 1, + Uint8ClampedArray: 1, + Int16Array: 2, + Uint16Array: 2, + Int32Array: 4, + Uint32Array: 4, + Float32Array: 4, + Float64Array: 8 + }; + var BigIntArrayConstructorsList = { + BigInt64Array: 8, + BigUint64Array: 8 + }; + var isView = function isView2(it) { + if (!isObject(it)) + return false; + var klass = classof(it); + return klass === "DataView" || hasOwn(TypedArrayConstructorsList, klass) || hasOwn(BigIntArrayConstructorsList, klass); + }; + var getTypedArrayConstructor = function(it) { + var proto = getPrototypeOf(it); + if (!isObject(proto)) + return; + var state2 = getInternalState(proto); + return state2 && hasOwn(state2, TYPED_ARRAY_CONSTRUCTOR) ? state2[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto); + }; + var isTypedArray = function(it) { + if (!isObject(it)) + return false; + var klass = classof(it); + return hasOwn(TypedArrayConstructorsList, klass) || hasOwn(BigIntArrayConstructorsList, klass); + }; + var aTypedArray = function(it) { + if (isTypedArray(it)) + return it; + throw TypeError2("Target is not a typed array"); + }; + var aTypedArrayConstructor = function(C2) { + if (isCallable(C2) && (!setPrototypeOf || isPrototypeOf(TypedArray, C2))) + return C2; + throw TypeError2(tryToString(C2) + " is not a typed array constructor"); + }; + var exportTypedArrayMethod = function(KEY, property, forced, options) { + if (!DESCRIPTORS) + return; + if (forced) + for (var ARRAY in TypedArrayConstructorsList) { + var TypedArrayConstructor = global2[ARRAY]; + if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) + try { + delete TypedArrayConstructor.prototype[KEY]; + } catch (error) { + try { + TypedArrayConstructor.prototype[KEY] = property; + } catch (error2) { + } + } + } + if (!TypedArrayPrototype[KEY] || forced) { + defineBuiltIn(TypedArrayPrototype, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options); + } + }; + var exportTypedArrayStaticMethod = function(KEY, property, forced) { + var ARRAY, TypedArrayConstructor; + if (!DESCRIPTORS) + return; + if (setPrototypeOf) { + if (forced) + for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global2[ARRAY]; + if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) + try { + delete TypedArrayConstructor[KEY]; + } catch (error) { + } + } + if (!TypedArray[KEY] || forced) { + try { + return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property); + } catch (error) { + } + } else + return; + } + for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global2[ARRAY]; + if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { + defineBuiltIn(TypedArrayConstructor, KEY, property); + } + } + }; + for (NAME in TypedArrayConstructorsList) { + Constructor = global2[NAME]; + Prototype = Constructor && Constructor.prototype; + if (Prototype) + enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; + else + NATIVE_ARRAY_BUFFER_VIEWS = false; + } + for (NAME in BigIntArrayConstructorsList) { + Constructor = global2[NAME]; + Prototype = Constructor && Constructor.prototype; + if (Prototype) + enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; + } + if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) { + TypedArray = function TypedArray2() { + throw TypeError2("Incorrect invocation"); + }; + if (NATIVE_ARRAY_BUFFER_VIEWS) + for (NAME in TypedArrayConstructorsList) { + if (global2[NAME]) + setPrototypeOf(global2[NAME], TypedArray); + } + } + if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { + TypedArrayPrototype = TypedArray.prototype; + if (NATIVE_ARRAY_BUFFER_VIEWS) + for (NAME in TypedArrayConstructorsList) { + if (global2[NAME]) + setPrototypeOf(global2[NAME].prototype, TypedArrayPrototype); + } + } + if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { + setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); + } + if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) { + TYPED_ARRAY_TAG_REQUIRED = true; + defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, { + configurable: true, + get: function() { + return isObject(this) ? this[TYPED_ARRAY_TAG] : void 0; + } + }); + for (NAME in TypedArrayConstructorsList) + if (global2[NAME]) { + createNonEnumerableProperty(global2[NAME], TYPED_ARRAY_TAG, NAME); + } + } + module.exports = { + NATIVE_ARRAY_BUFFER_VIEWS, + TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG, + aTypedArray, + aTypedArrayConstructor, + exportTypedArrayMethod, + exportTypedArrayStaticMethod, + getTypedArrayConstructor, + isView, + isTypedArray, + TypedArray, + TypedArrayPrototype + }; + } + }); + + // node_modules/core-js/modules/es.array-buffer.is-view.js + var require_es_array_buffer_is_view = __commonJS({ + "node_modules/core-js/modules/es.array-buffer.is-view.js"() { + var $2 = require_export(); + var ArrayBufferViewCore = require_array_buffer_view_core(); + var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; + $2({ target: "ArrayBuffer", stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { + isView: ArrayBufferViewCore.isView + }); + } + }); + + // node_modules/core-js/internals/a-constructor.js + var require_a_constructor = __commonJS({ + "node_modules/core-js/internals/a-constructor.js"(exports, module) { + var isConstructor = require_is_constructor(); + var tryToString = require_try_to_string(); + var $TypeError = TypeError; + module.exports = function(argument) { + if (isConstructor(argument)) + return argument; + throw $TypeError(tryToString(argument) + " is not a constructor"); + }; + } + }); + + // node_modules/core-js/internals/species-constructor.js + var require_species_constructor = __commonJS({ + "node_modules/core-js/internals/species-constructor.js"(exports, module) { + var anObject = require_an_object(); + var aConstructor = require_a_constructor(); + var isNullOrUndefined = require_is_null_or_undefined(); + var wellKnownSymbol = require_well_known_symbol(); + var SPECIES = wellKnownSymbol("species"); + module.exports = function(O, defaultConstructor) { + var C2 = anObject(O).constructor; + var S3; + return C2 === void 0 || isNullOrUndefined(S3 = anObject(C2)[SPECIES]) ? defaultConstructor : aConstructor(S3); + }; + } + }); + + // node_modules/core-js/modules/es.array-buffer.slice.js + var require_es_array_buffer_slice = __commonJS({ + "node_modules/core-js/modules/es.array-buffer.slice.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this_clause(); + var fails = require_fails(); + var ArrayBufferModule = require_array_buffer(); + var anObject = require_an_object(); + var toAbsoluteIndex = require_to_absolute_index(); + var toLength = require_to_length(); + var speciesConstructor = require_species_constructor(); + var ArrayBuffer2 = ArrayBufferModule.ArrayBuffer; + var DataView2 = ArrayBufferModule.DataView; + var DataViewPrototype = DataView2.prototype; + var nativeArrayBufferSlice = uncurryThis(ArrayBuffer2.prototype.slice); + var getUint8 = uncurryThis(DataViewPrototype.getUint8); + var setUint8 = uncurryThis(DataViewPrototype.setUint8); + var INCORRECT_SLICE = fails(function() { + return !new ArrayBuffer2(2).slice(1, void 0).byteLength; + }); + $2({ target: "ArrayBuffer", proto: true, unsafe: true, forced: INCORRECT_SLICE }, { + slice: function slice(start, end) { + if (nativeArrayBufferSlice && end === void 0) { + return nativeArrayBufferSlice(anObject(this), start); + } + var length = anObject(this).byteLength; + var first = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === void 0 ? length : end, length); + var result = new (speciesConstructor(this, ArrayBuffer2))(toLength(fin - first)); + var viewSource = new DataView2(this); + var viewTarget = new DataView2(result); + var index = 0; + while (first < fin) { + setUint8(viewTarget, index++, getUint8(viewSource, first++)); + } + return result; + } + }); + } + }); + + // node_modules/core-js/modules/es.data-view.constructor.js + var require_es_data_view_constructor = __commonJS({ + "node_modules/core-js/modules/es.data-view.constructor.js"() { + var $2 = require_export(); + var ArrayBufferModule = require_array_buffer(); + var NATIVE_ARRAY_BUFFER = require_array_buffer_basic_detection(); + $2({ global: true, constructor: true, forced: !NATIVE_ARRAY_BUFFER }, { + DataView: ArrayBufferModule.DataView + }); + } + }); + + // node_modules/core-js/modules/es.data-view.js + var require_es_data_view = __commonJS({ + "node_modules/core-js/modules/es.data-view.js"() { + require_es_data_view_constructor(); + } + }); + + // node_modules/core-js/modules/es.date.get-year.js + var require_es_date_get_year = __commonJS({ + "node_modules/core-js/modules/es.date.get-year.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var fails = require_fails(); + var FORCED = fails(function() { + return (/* @__PURE__ */ new Date(16e11)).getYear() !== 120; + }); + var getFullYear = uncurryThis(Date.prototype.getFullYear); + $2({ target: "Date", proto: true, forced: FORCED }, { + getYear: function getYear() { + return getFullYear(this) - 1900; + } + }); + } + }); + + // node_modules/core-js/modules/es.date.now.js + var require_es_date_now = __commonJS({ + "node_modules/core-js/modules/es.date.now.js"() { + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var $Date = Date; + var thisTimeValue = uncurryThis($Date.prototype.getTime); + $2({ target: "Date", stat: true }, { + now: function now() { + return thisTimeValue(new $Date()); + } + }); + } + }); + + // node_modules/core-js/modules/es.date.set-year.js + var require_es_date_set_year = __commonJS({ + "node_modules/core-js/modules/es.date.set-year.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var DatePrototype = Date.prototype; + var thisTimeValue = uncurryThis(DatePrototype.getTime); + var setFullYear = uncurryThis(DatePrototype.setFullYear); + $2({ target: "Date", proto: true }, { + setYear: function setYear(year) { + thisTimeValue(this); + var yi = toIntegerOrInfinity(year); + var yyyy = 0 <= yi && yi <= 99 ? yi + 1900 : yi; + return setFullYear(this, yyyy); + } + }); + } + }); + + // node_modules/core-js/modules/es.date.to-gmt-string.js + var require_es_date_to_gmt_string = __commonJS({ + "node_modules/core-js/modules/es.date.to-gmt-string.js"() { + var $2 = require_export(); + $2({ target: "Date", proto: true }, { + toGMTString: Date.prototype.toUTCString + }); + } + }); + + // node_modules/core-js/internals/string-repeat.js + var require_string_repeat = __commonJS({ + "node_modules/core-js/internals/string-repeat.js"(exports, module) { + "use strict"; + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var toString = require_to_string(); + var requireObjectCoercible = require_require_object_coercible(); + var $RangeError = RangeError; + module.exports = function repeat(count) { + var str = toString(requireObjectCoercible(this)); + var result = ""; + var n6 = toIntegerOrInfinity(count); + if (n6 < 0 || n6 == Infinity) + throw $RangeError("Wrong number of repetitions"); + for (; n6 > 0; (n6 >>>= 1) && (str += str)) + if (n6 & 1) + result += str; + return result; + }; + } + }); + + // node_modules/core-js/internals/string-pad.js + var require_string_pad = __commonJS({ + "node_modules/core-js/internals/string-pad.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var toLength = require_to_length(); + var toString = require_to_string(); + var $repeat = require_string_repeat(); + var requireObjectCoercible = require_require_object_coercible(); + var repeat = uncurryThis($repeat); + var stringSlice = uncurryThis("".slice); + var ceil = Math.ceil; + var createMethod = function(IS_END) { + return function($this, maxLength, fillString) { + var S3 = toString(requireObjectCoercible($this)); + var intMaxLength = toLength(maxLength); + var stringLength = S3.length; + var fillStr = fillString === void 0 ? " " : toString(fillString); + var fillLen, stringFiller; + if (intMaxLength <= stringLength || fillStr == "") + return S3; + fillLen = intMaxLength - stringLength; + stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length)); + if (stringFiller.length > fillLen) + stringFiller = stringSlice(stringFiller, 0, fillLen); + return IS_END ? S3 + stringFiller : stringFiller + S3; + }; + }; + module.exports = { + // `String.prototype.padStart` method + // https://tc39.es/ecma262/#sec-string.prototype.padstart + start: createMethod(false), + // `String.prototype.padEnd` method + // https://tc39.es/ecma262/#sec-string.prototype.padend + end: createMethod(true) + }; + } + }); + + // node_modules/core-js/internals/date-to-iso-string.js + var require_date_to_iso_string = __commonJS({ + "node_modules/core-js/internals/date-to-iso-string.js"(exports, module) { + "use strict"; + var uncurryThis = require_function_uncurry_this(); + var fails = require_fails(); + var padStart = require_string_pad().start; + var $RangeError = RangeError; + var $isFinite = isFinite; + var abs = Math.abs; + var DatePrototype = Date.prototype; + var nativeDateToISOString = DatePrototype.toISOString; + var thisTimeValue = uncurryThis(DatePrototype.getTime); + var getUTCDate = uncurryThis(DatePrototype.getUTCDate); + var getUTCFullYear = uncurryThis(DatePrototype.getUTCFullYear); + var getUTCHours = uncurryThis(DatePrototype.getUTCHours); + var getUTCMilliseconds = uncurryThis(DatePrototype.getUTCMilliseconds); + var getUTCMinutes = uncurryThis(DatePrototype.getUTCMinutes); + var getUTCMonth = uncurryThis(DatePrototype.getUTCMonth); + var getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds); + module.exports = fails(function() { + return nativeDateToISOString.call(new Date(-5e13 - 1)) != "0385-07-25T07:06:39.999Z"; + }) || !fails(function() { + nativeDateToISOString.call(/* @__PURE__ */ new Date(NaN)); + }) ? function toISOString() { + if (!$isFinite(thisTimeValue(this))) + throw $RangeError("Invalid time value"); + var date = this; + var year = getUTCFullYear(date); + var milliseconds = getUTCMilliseconds(date); + var sign = year < 0 ? "-" : year > 9999 ? "+" : ""; + return sign + padStart(abs(year), sign ? 6 : 4, 0) + "-" + padStart(getUTCMonth(date) + 1, 2, 0) + "-" + padStart(getUTCDate(date), 2, 0) + "T" + padStart(getUTCHours(date), 2, 0) + ":" + padStart(getUTCMinutes(date), 2, 0) + ":" + padStart(getUTCSeconds(date), 2, 0) + "." + padStart(milliseconds, 3, 0) + "Z"; + } : nativeDateToISOString; + } + }); + + // node_modules/core-js/modules/es.date.to-iso-string.js + var require_es_date_to_iso_string = __commonJS({ + "node_modules/core-js/modules/es.date.to-iso-string.js"() { + var $2 = require_export(); + var toISOString = require_date_to_iso_string(); + $2({ target: "Date", proto: true, forced: Date.prototype.toISOString !== toISOString }, { + toISOString + }); + } + }); + + // node_modules/core-js/modules/es.date.to-json.js + var require_es_date_to_json = __commonJS({ + "node_modules/core-js/modules/es.date.to-json.js"() { + "use strict"; + var $2 = require_export(); + var fails = require_fails(); + var toObject = require_to_object(); + var toPrimitive = require_to_primitive(); + var FORCED = fails(function() { + return (/* @__PURE__ */ new Date(NaN)).toJSON() !== null || Date.prototype.toJSON.call({ toISOString: function() { + return 1; + } }) !== 1; + }); + $2({ target: "Date", proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + toJSON: function toJSON(key) { + var O = toObject(this); + var pv = toPrimitive(O, "number"); + return typeof pv == "number" && !isFinite(pv) ? null : O.toISOString(); + } + }); + } + }); + + // node_modules/core-js/internals/date-to-primitive.js + var require_date_to_primitive = __commonJS({ + "node_modules/core-js/internals/date-to-primitive.js"(exports, module) { + "use strict"; + var anObject = require_an_object(); + var ordinaryToPrimitive = require_ordinary_to_primitive(); + var $TypeError = TypeError; + module.exports = function(hint) { + anObject(this); + if (hint === "string" || hint === "default") + hint = "string"; + else if (hint !== "number") + throw $TypeError("Incorrect hint"); + return ordinaryToPrimitive(this, hint); + }; + } + }); + + // node_modules/core-js/modules/es.date.to-primitive.js + var require_es_date_to_primitive = __commonJS({ + "node_modules/core-js/modules/es.date.to-primitive.js"() { + var hasOwn = require_has_own_property(); + var defineBuiltIn = require_define_built_in(); + var dateToPrimitive = require_date_to_primitive(); + var wellKnownSymbol = require_well_known_symbol(); + var TO_PRIMITIVE = wellKnownSymbol("toPrimitive"); + var DatePrototype = Date.prototype; + if (!hasOwn(DatePrototype, TO_PRIMITIVE)) { + defineBuiltIn(DatePrototype, TO_PRIMITIVE, dateToPrimitive); + } + } + }); + + // node_modules/core-js/modules/es.date.to-string.js + var require_es_date_to_string = __commonJS({ + "node_modules/core-js/modules/es.date.to-string.js"() { + var uncurryThis = require_function_uncurry_this(); + var defineBuiltIn = require_define_built_in(); + var DatePrototype = Date.prototype; + var INVALID_DATE = "Invalid Date"; + var TO_STRING = "toString"; + var nativeDateToString = uncurryThis(DatePrototype[TO_STRING]); + var thisTimeValue = uncurryThis(DatePrototype.getTime); + if (String(/* @__PURE__ */ new Date(NaN)) != INVALID_DATE) { + defineBuiltIn(DatePrototype, TO_STRING, function toString() { + var value = thisTimeValue(this); + return value === value ? nativeDateToString(this) : INVALID_DATE; + }); + } + } + }); + + // node_modules/core-js/modules/es.escape.js + var require_es_escape = __commonJS({ + "node_modules/core-js/modules/es.escape.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var toString = require_to_string(); + var charAt = uncurryThis("".charAt); + var charCodeAt = uncurryThis("".charCodeAt); + var exec = uncurryThis(/./.exec); + var numberToString = uncurryThis(1 .toString); + var toUpperCase = uncurryThis("".toUpperCase); + var raw = /[\w*+\-./@]/; + var hex = function(code, length) { + var result = numberToString(code, 16); + while (result.length < length) + result = "0" + result; + return result; + }; + $2({ global: true }, { + escape: function escape(string) { + var str = toString(string); + var result = ""; + var length = str.length; + var index = 0; + var chr, code; + while (index < length) { + chr = charAt(str, index++); + if (exec(raw, chr)) { + result += chr; + } else { + code = charCodeAt(chr, 0); + if (code < 256) { + result += "%" + hex(code, 2); + } else { + result += "%u" + toUpperCase(hex(code, 4)); + } + } + } + return result; + } + }); + } + }); + + // node_modules/core-js/internals/function-bind.js + var require_function_bind = __commonJS({ + "node_modules/core-js/internals/function-bind.js"(exports, module) { + "use strict"; + var uncurryThis = require_function_uncurry_this(); + var aCallable = require_a_callable(); + var isObject = require_is_object(); + var hasOwn = require_has_own_property(); + var arraySlice = require_array_slice(); + var NATIVE_BIND = require_function_bind_native(); + var $Function = Function; + var concat = uncurryThis([].concat); + var join = uncurryThis([].join); + var factories = {}; + var construct = function(C2, argsLength, args) { + if (!hasOwn(factories, argsLength)) { + for (var list = [], i4 = 0; i4 < argsLength; i4++) + list[i4] = "a[" + i4 + "]"; + factories[argsLength] = $Function("C,a", "return new C(" + join(list, ",") + ")"); + } + return factories[argsLength](C2, args); + }; + module.exports = NATIVE_BIND ? $Function.bind : function bind(that) { + var F = aCallable(this); + var Prototype = F.prototype; + var partArgs = arraySlice(arguments, 1); + var boundFunction = function bound() { + var args = concat(partArgs, arraySlice(arguments)); + return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args); + }; + if (isObject(Prototype)) + boundFunction.prototype = Prototype; + return boundFunction; + }; + } + }); + + // node_modules/core-js/modules/es.function.bind.js + var require_es_function_bind = __commonJS({ + "node_modules/core-js/modules/es.function.bind.js"() { + var $2 = require_export(); + var bind = require_function_bind(); + $2({ target: "Function", proto: true, forced: Function.bind !== bind }, { + bind + }); + } + }); + + // node_modules/core-js/modules/es.function.has-instance.js + var require_es_function_has_instance = __commonJS({ + "node_modules/core-js/modules/es.function.has-instance.js"() { + "use strict"; + var isCallable = require_is_callable(); + var isObject = require_is_object(); + var definePropertyModule = require_object_define_property(); + var getPrototypeOf = require_object_get_prototype_of(); + var wellKnownSymbol = require_well_known_symbol(); + var makeBuiltIn = require_make_built_in(); + var HAS_INSTANCE = wellKnownSymbol("hasInstance"); + var FunctionPrototype = Function.prototype; + if (!(HAS_INSTANCE in FunctionPrototype)) { + definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: makeBuiltIn(function(O) { + if (!isCallable(this) || !isObject(O)) + return false; + var P2 = this.prototype; + if (!isObject(P2)) + return O instanceof this; + while (O = getPrototypeOf(O)) + if (P2 === O) + return true; + return false; + }, HAS_INSTANCE) }); + } + } + }); + + // node_modules/core-js/modules/es.function.name.js + var require_es_function_name = __commonJS({ + "node_modules/core-js/modules/es.function.name.js"() { + var DESCRIPTORS = require_descriptors(); + var FUNCTION_NAME_EXISTS = require_function_name().EXISTS; + var uncurryThis = require_function_uncurry_this(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var FunctionPrototype = Function.prototype; + var functionToString = uncurryThis(FunctionPrototype.toString); + var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/; + var regExpExec = uncurryThis(nameRE.exec); + var NAME = "name"; + if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) { + defineBuiltInAccessor(FunctionPrototype, NAME, { + configurable: true, + get: function() { + try { + return regExpExec(nameRE, functionToString(this))[1]; + } catch (error) { + return ""; + } + } + }); + } + } + }); + + // node_modules/core-js/modules/es.global-this.js + var require_es_global_this = __commonJS({ + "node_modules/core-js/modules/es.global-this.js"() { + var $2 = require_export(); + var global2 = require_global(); + $2({ global: true, forced: global2.globalThis !== global2 }, { + globalThis: global2 + }); + } + }); + + // node_modules/core-js/modules/es.json.to-string-tag.js + var require_es_json_to_string_tag = __commonJS({ + "node_modules/core-js/modules/es.json.to-string-tag.js"() { + var global2 = require_global(); + var setToStringTag = require_set_to_string_tag(); + setToStringTag(global2.JSON, "JSON", true); + } + }); + + // node_modules/core-js/internals/array-buffer-non-extensible.js + var require_array_buffer_non_extensible = __commonJS({ + "node_modules/core-js/internals/array-buffer-non-extensible.js"(exports, module) { + var fails = require_fails(); + module.exports = fails(function() { + if (typeof ArrayBuffer == "function") { + var buffer = new ArrayBuffer(8); + if (Object.isExtensible(buffer)) + Object.defineProperty(buffer, "a", { value: 8 }); + } + }); + } + }); + + // node_modules/core-js/internals/object-is-extensible.js + var require_object_is_extensible = __commonJS({ + "node_modules/core-js/internals/object-is-extensible.js"(exports, module) { + var fails = require_fails(); + var isObject = require_is_object(); + var classof = require_classof_raw(); + var ARRAY_BUFFER_NON_EXTENSIBLE = require_array_buffer_non_extensible(); + var $isExtensible = Object.isExtensible; + var FAILS_ON_PRIMITIVES = fails(function() { + $isExtensible(1); + }); + module.exports = FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE ? function isExtensible(it) { + if (!isObject(it)) + return false; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == "ArrayBuffer") + return false; + return $isExtensible ? $isExtensible(it) : true; + } : $isExtensible; + } + }); + + // node_modules/core-js/internals/freezing.js + var require_freezing = __commonJS({ + "node_modules/core-js/internals/freezing.js"(exports, module) { + var fails = require_fails(); + module.exports = !fails(function() { + return Object.isExtensible(Object.preventExtensions({})); + }); + } + }); + + // node_modules/core-js/internals/internal-metadata.js + var require_internal_metadata = __commonJS({ + "node_modules/core-js/internals/internal-metadata.js"(exports, module) { + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var hiddenKeys = require_hidden_keys(); + var isObject = require_is_object(); + var hasOwn = require_has_own_property(); + var defineProperty = require_object_define_property().f; + var getOwnPropertyNamesModule = require_object_get_own_property_names(); + var getOwnPropertyNamesExternalModule = require_object_get_own_property_names_external(); + var isExtensible = require_object_is_extensible(); + var uid = require_uid(); + var FREEZING = require_freezing(); + var REQUIRED = false; + var METADATA = uid("meta"); + var id = 0; + var setMetadata = function(it) { + defineProperty(it, METADATA, { value: { + objectID: "O" + id++, + // object ID + weakData: {} + // weak collections IDs + } }); + }; + var fastKey = function(it, create) { + if (!isObject(it)) + return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it; + if (!hasOwn(it, METADATA)) { + if (!isExtensible(it)) + return "F"; + if (!create) + return "E"; + setMetadata(it); + } + return it[METADATA].objectID; + }; + var getWeakData = function(it, create) { + if (!hasOwn(it, METADATA)) { + if (!isExtensible(it)) + return true; + if (!create) + return false; + setMetadata(it); + } + return it[METADATA].weakData; + }; + var onFreeze = function(it) { + if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) + setMetadata(it); + return it; + }; + var enable = function() { + meta.enable = function() { + }; + REQUIRED = true; + var getOwnPropertyNames = getOwnPropertyNamesModule.f; + var splice = uncurryThis([].splice); + var test = {}; + test[METADATA] = 1; + if (getOwnPropertyNames(test).length) { + getOwnPropertyNamesModule.f = function(it) { + var result = getOwnPropertyNames(it); + for (var i4 = 0, length = result.length; i4 < length; i4++) { + if (result[i4] === METADATA) { + splice(result, i4, 1); + break; + } + } + return result; + }; + $2({ target: "Object", stat: true, forced: true }, { + getOwnPropertyNames: getOwnPropertyNamesExternalModule.f + }); + } + }; + var meta = module.exports = { + enable, + fastKey, + getWeakData, + onFreeze + }; + hiddenKeys[METADATA] = true; + } + }); + + // node_modules/core-js/internals/collection.js + var require_collection = __commonJS({ + "node_modules/core-js/internals/collection.js"(exports, module) { + "use strict"; + var $2 = require_export(); + var global2 = require_global(); + var uncurryThis = require_function_uncurry_this(); + var isForced = require_is_forced(); + var defineBuiltIn = require_define_built_in(); + var InternalMetadataModule = require_internal_metadata(); + var iterate = require_iterate(); + var anInstance = require_an_instance(); + var isCallable = require_is_callable(); + var isNullOrUndefined = require_is_null_or_undefined(); + var isObject = require_is_object(); + var fails = require_fails(); + var checkCorrectnessOfIteration = require_check_correctness_of_iteration(); + var setToStringTag = require_set_to_string_tag(); + var inheritIfRequired = require_inherit_if_required(); + module.exports = function(CONSTRUCTOR_NAME, wrapper, common) { + var IS_MAP = CONSTRUCTOR_NAME.indexOf("Map") !== -1; + var IS_WEAK = CONSTRUCTOR_NAME.indexOf("Weak") !== -1; + var ADDER = IS_MAP ? "set" : "add"; + var NativeConstructor = global2[CONSTRUCTOR_NAME]; + var NativePrototype = NativeConstructor && NativeConstructor.prototype; + var Constructor = NativeConstructor; + var exported = {}; + var fixMethod = function(KEY) { + var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]); + defineBuiltIn( + NativePrototype, + KEY, + KEY == "add" ? function add(value) { + uncurriedNativeMethod(this, value === 0 ? 0 : value); + return this; + } : KEY == "delete" ? function(key) { + return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : KEY == "get" ? function get(key) { + return IS_WEAK && !isObject(key) ? void 0 : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : KEY == "has" ? function has(key) { + return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : function set(key, value) { + uncurriedNativeMethod(this, key === 0 ? 0 : key, value); + return this; + } + ); + }; + var REPLACE = isForced( + CONSTRUCTOR_NAME, + !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function() { + new NativeConstructor().entries().next(); + })) + ); + if (REPLACE) { + Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); + InternalMetadataModule.enable(); + } else if (isForced(CONSTRUCTOR_NAME, true)) { + var instance = new Constructor(); + var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; + var THROWS_ON_PRIMITIVES = fails(function() { + instance.has(1); + }); + var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function(iterable) { + new NativeConstructor(iterable); + }); + var BUGGY_ZERO = !IS_WEAK && fails(function() { + var $instance = new NativeConstructor(); + var index = 5; + while (index--) + $instance[ADDER](index, index); + return !$instance.has(-0); + }); + if (!ACCEPT_ITERABLES) { + Constructor = wrapper(function(dummy, iterable) { + anInstance(dummy, NativePrototype); + var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); + if (!isNullOrUndefined(iterable)) + iterate(iterable, that[ADDER], { that, AS_ENTRIES: IS_MAP }); + return that; + }); + Constructor.prototype = NativePrototype; + NativePrototype.constructor = Constructor; + } + if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { + fixMethod("delete"); + fixMethod("has"); + IS_MAP && fixMethod("get"); + } + if (BUGGY_ZERO || HASNT_CHAINING) + fixMethod(ADDER); + if (IS_WEAK && NativePrototype.clear) + delete NativePrototype.clear; + } + exported[CONSTRUCTOR_NAME] = Constructor; + $2({ global: true, constructor: true, forced: Constructor != NativeConstructor }, exported); + setToStringTag(Constructor, CONSTRUCTOR_NAME); + if (!IS_WEAK) + common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); + return Constructor; + }; + } + }); + + // node_modules/core-js/internals/collection-strong.js + var require_collection_strong = __commonJS({ + "node_modules/core-js/internals/collection-strong.js"(exports, module) { + "use strict"; + var create = require_object_create(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var defineBuiltIns = require_define_built_ins(); + var bind = require_function_bind_context(); + var anInstance = require_an_instance(); + var isNullOrUndefined = require_is_null_or_undefined(); + var iterate = require_iterate(); + var defineIterator = require_iterator_define(); + var createIterResultObject = require_create_iter_result_object(); + var setSpecies = require_set_species(); + var DESCRIPTORS = require_descriptors(); + var fastKey = require_internal_metadata().fastKey; + var InternalStateModule = require_internal_state(); + var setInternalState = InternalStateModule.set; + var internalStateGetterFor = InternalStateModule.getterFor; + module.exports = { + getConstructor: function(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { + var Constructor = wrapper(function(that, iterable) { + anInstance(that, Prototype); + setInternalState(that, { + type: CONSTRUCTOR_NAME, + index: create(null), + first: void 0, + last: void 0, + size: 0 + }); + if (!DESCRIPTORS) + that.size = 0; + if (!isNullOrUndefined(iterable)) + iterate(iterable, that[ADDER], { that, AS_ENTRIES: IS_MAP }); + }); + var Prototype = Constructor.prototype; + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); + var define2 = function(that, key, value) { + var state2 = getInternalState(that); + var entry = getEntry(that, key); + var previous, index; + if (entry) { + entry.value = value; + } else { + state2.last = entry = { + index: index = fastKey(key, true), + key, + value, + previous: previous = state2.last, + next: void 0, + removed: false + }; + if (!state2.first) + state2.first = entry; + if (previous) + previous.next = entry; + if (DESCRIPTORS) + state2.size++; + else + that.size++; + if (index !== "F") + state2.index[index] = entry; + } + return that; + }; + var getEntry = function(that, key) { + var state2 = getInternalState(that); + var index = fastKey(key); + var entry; + if (index !== "F") + return state2.index[index]; + for (entry = state2.first; entry; entry = entry.next) { + if (entry.key == key) + return entry; + } + }; + defineBuiltIns(Prototype, { + // `{ Map, Set }.prototype.clear()` methods + // https://tc39.es/ecma262/#sec-map.prototype.clear + // https://tc39.es/ecma262/#sec-set.prototype.clear + clear: function clear() { + var that = this; + var state2 = getInternalState(that); + var data = state2.index; + var entry = state2.first; + while (entry) { + entry.removed = true; + if (entry.previous) + entry.previous = entry.previous.next = void 0; + delete data[entry.index]; + entry = entry.next; + } + state2.first = state2.last = void 0; + if (DESCRIPTORS) + state2.size = 0; + else + that.size = 0; + }, + // `{ Map, Set }.prototype.delete(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.delete + // https://tc39.es/ecma262/#sec-set.prototype.delete + "delete": function(key) { + var that = this; + var state2 = getInternalState(that); + var entry = getEntry(that, key); + if (entry) { + var next = entry.next; + var prev = entry.previous; + delete state2.index[entry.index]; + entry.removed = true; + if (prev) + prev.next = next; + if (next) + next.previous = prev; + if (state2.first == entry) + state2.first = next; + if (state2.last == entry) + state2.last = prev; + if (DESCRIPTORS) + state2.size--; + else + that.size--; + } + return !!entry; + }, + // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods + // https://tc39.es/ecma262/#sec-map.prototype.foreach + // https://tc39.es/ecma262/#sec-set.prototype.foreach + forEach: function forEach(callbackfn) { + var state2 = getInternalState(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : void 0); + var entry; + while (entry = entry ? entry.next : state2.first) { + boundFunction(entry.value, entry.key, this); + while (entry && entry.removed) + entry = entry.previous; + } + }, + // `{ Map, Set}.prototype.has(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.has + // https://tc39.es/ecma262/#sec-set.prototype.has + has: function has(key) { + return !!getEntry(this, key); + } + }); + defineBuiltIns(Prototype, IS_MAP ? { + // `Map.prototype.get(key)` method + // https://tc39.es/ecma262/#sec-map.prototype.get + get: function get(key) { + var entry = getEntry(this, key); + return entry && entry.value; + }, + // `Map.prototype.set(key, value)` method + // https://tc39.es/ecma262/#sec-map.prototype.set + set: function set(key, value) { + return define2(this, key === 0 ? 0 : key, value); + } + } : { + // `Set.prototype.add(value)` method + // https://tc39.es/ecma262/#sec-set.prototype.add + add: function add(value) { + return define2(this, value = value === 0 ? 0 : value, value); + } + }); + if (DESCRIPTORS) + defineBuiltInAccessor(Prototype, "size", { + configurable: true, + get: function() { + return getInternalState(this).size; + } + }); + return Constructor; + }, + setStrong: function(Constructor, CONSTRUCTOR_NAME, IS_MAP) { + var ITERATOR_NAME = CONSTRUCTOR_NAME + " Iterator"; + var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); + var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); + defineIterator(Constructor, CONSTRUCTOR_NAME, function(iterated, kind) { + setInternalState(this, { + type: ITERATOR_NAME, + target: iterated, + state: getInternalCollectionState(iterated), + kind, + last: void 0 + }); + }, function() { + var state2 = getInternalIteratorState(this); + var kind = state2.kind; + var entry = state2.last; + while (entry && entry.removed) + entry = entry.previous; + if (!state2.target || !(state2.last = entry = entry ? entry.next : state2.state.first)) { + state2.target = void 0; + return createIterResultObject(void 0, true); + } + if (kind == "keys") + return createIterResultObject(entry.key, false); + if (kind == "values") + return createIterResultObject(entry.value, false); + return createIterResultObject([entry.key, entry.value], false); + }, IS_MAP ? "entries" : "values", !IS_MAP, true); + setSpecies(CONSTRUCTOR_NAME); + } + }; + } + }); + + // node_modules/core-js/modules/es.map.constructor.js + var require_es_map_constructor = __commonJS({ + "node_modules/core-js/modules/es.map.constructor.js"() { + "use strict"; + var collection = require_collection(); + var collectionStrong = require_collection_strong(); + collection("Map", function(init) { + return function Map2() { + return init(this, arguments.length ? arguments[0] : void 0); + }; + }, collectionStrong); + } + }); + + // node_modules/core-js/modules/es.map.js + var require_es_map = __commonJS({ + "node_modules/core-js/modules/es.map.js"() { + require_es_map_constructor(); + } + }); + + // node_modules/core-js/internals/math-log1p.js + var require_math_log1p = __commonJS({ + "node_modules/core-js/internals/math-log1p.js"(exports, module) { + var log = Math.log; + module.exports = Math.log1p || function log1p(x2) { + var n6 = +x2; + return n6 > -1e-8 && n6 < 1e-8 ? n6 - n6 * n6 / 2 : log(1 + n6); + }; + } + }); + + // node_modules/core-js/modules/es.math.acosh.js + var require_es_math_acosh = __commonJS({ + "node_modules/core-js/modules/es.math.acosh.js"() { + var $2 = require_export(); + var log1p = require_math_log1p(); + var $acosh = Math.acosh; + var log = Math.log; + var sqrt = Math.sqrt; + var LN2 = Math.LN2; + var FORCED = !$acosh || Math.floor($acosh(Number.MAX_VALUE)) != 710 || $acosh(Infinity) != Infinity; + $2({ target: "Math", stat: true, forced: FORCED }, { + acosh: function acosh(x2) { + var n6 = +x2; + return n6 < 1 ? NaN : n6 > 9490626562425156e-8 ? log(n6) + LN2 : log1p(n6 - 1 + sqrt(n6 - 1) * sqrt(n6 + 1)); + } + }); + } + }); + + // node_modules/core-js/modules/es.math.asinh.js + var require_es_math_asinh = __commonJS({ + "node_modules/core-js/modules/es.math.asinh.js"() { + var $2 = require_export(); + var $asinh = Math.asinh; + var log = Math.log; + var sqrt = Math.sqrt; + function asinh(x2) { + var n6 = +x2; + return !isFinite(n6) || n6 == 0 ? n6 : n6 < 0 ? -asinh(-n6) : log(n6 + sqrt(n6 * n6 + 1)); + } + var FORCED = !($asinh && 1 / $asinh(0) > 0); + $2({ target: "Math", stat: true, forced: FORCED }, { + asinh + }); + } + }); + + // node_modules/core-js/modules/es.math.atanh.js + var require_es_math_atanh = __commonJS({ + "node_modules/core-js/modules/es.math.atanh.js"() { + var $2 = require_export(); + var $atanh = Math.atanh; + var log = Math.log; + var FORCED = !($atanh && 1 / $atanh(-0) < 0); + $2({ target: "Math", stat: true, forced: FORCED }, { + atanh: function atanh(x2) { + var n6 = +x2; + return n6 == 0 ? n6 : log((1 + n6) / (1 - n6)) / 2; + } + }); + } + }); + + // node_modules/core-js/internals/math-sign.js + var require_math_sign = __commonJS({ + "node_modules/core-js/internals/math-sign.js"(exports, module) { + module.exports = Math.sign || function sign(x2) { + var n6 = +x2; + return n6 == 0 || n6 != n6 ? n6 : n6 < 0 ? -1 : 1; + }; + } + }); + + // node_modules/core-js/modules/es.math.cbrt.js + var require_es_math_cbrt = __commonJS({ + "node_modules/core-js/modules/es.math.cbrt.js"() { + var $2 = require_export(); + var sign = require_math_sign(); + var abs = Math.abs; + var pow = Math.pow; + $2({ target: "Math", stat: true }, { + cbrt: function cbrt(x2) { + var n6 = +x2; + return sign(n6) * pow(abs(n6), 1 / 3); + } + }); + } + }); + + // node_modules/core-js/modules/es.math.clz32.js + var require_es_math_clz32 = __commonJS({ + "node_modules/core-js/modules/es.math.clz32.js"() { + var $2 = require_export(); + var floor = Math.floor; + var log = Math.log; + var LOG2E = Math.LOG2E; + $2({ target: "Math", stat: true }, { + clz32: function clz32(x2) { + var n6 = x2 >>> 0; + return n6 ? 31 - floor(log(n6 + 0.5) * LOG2E) : 32; + } + }); + } + }); + + // node_modules/core-js/internals/math-expm1.js + var require_math_expm1 = __commonJS({ + "node_modules/core-js/internals/math-expm1.js"(exports, module) { + var $expm1 = Math.expm1; + var exp = Math.exp; + module.exports = !$expm1 || $expm1(10) > 22025.465794806718 || $expm1(10) < 22025.465794806718 || $expm1(-2e-17) != -2e-17 ? function expm1(x2) { + var n6 = +x2; + return n6 == 0 ? n6 : n6 > -1e-6 && n6 < 1e-6 ? n6 + n6 * n6 / 2 : exp(n6) - 1; + } : $expm1; + } + }); + + // node_modules/core-js/modules/es.math.cosh.js + var require_es_math_cosh = __commonJS({ + "node_modules/core-js/modules/es.math.cosh.js"() { + var $2 = require_export(); + var expm1 = require_math_expm1(); + var $cosh = Math.cosh; + var abs = Math.abs; + var E2 = Math.E; + var FORCED = !$cosh || $cosh(710) === Infinity; + $2({ target: "Math", stat: true, forced: FORCED }, { + cosh: function cosh(x2) { + var t4 = expm1(abs(x2) - 1) + 1; + return (t4 + 1 / (t4 * E2 * E2)) * (E2 / 2); + } + }); + } + }); + + // node_modules/core-js/modules/es.math.expm1.js + var require_es_math_expm1 = __commonJS({ + "node_modules/core-js/modules/es.math.expm1.js"() { + var $2 = require_export(); + var expm1 = require_math_expm1(); + $2({ target: "Math", stat: true, forced: expm1 != Math.expm1 }, { expm1 }); + } + }); + + // node_modules/core-js/internals/math-fround.js + var require_math_fround = __commonJS({ + "node_modules/core-js/internals/math-fround.js"(exports, module) { + var sign = require_math_sign(); + var abs = Math.abs; + var pow = Math.pow; + var EPSILON = pow(2, -52); + var EPSILON32 = pow(2, -23); + var MAX32 = pow(2, 127) * (2 - EPSILON32); + var MIN32 = pow(2, -126); + var roundTiesToEven = function(n6) { + return n6 + 1 / EPSILON - 1 / EPSILON; + }; + module.exports = Math.fround || function fround(x2) { + var n6 = +x2; + var $abs = abs(n6); + var $sign = sign(n6); + var a3, result; + if ($abs < MIN32) + return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; + a3 = (1 + EPSILON32 / EPSILON) * $abs; + result = a3 - (a3 - $abs); + if (result > MAX32 || result != result) + return $sign * Infinity; + return $sign * result; + }; + } + }); + + // node_modules/core-js/modules/es.math.fround.js + var require_es_math_fround = __commonJS({ + "node_modules/core-js/modules/es.math.fround.js"() { + var $2 = require_export(); + var fround = require_math_fround(); + $2({ target: "Math", stat: true }, { fround }); + } + }); + + // node_modules/core-js/modules/es.math.hypot.js + var require_es_math_hypot = __commonJS({ + "node_modules/core-js/modules/es.math.hypot.js"() { + var $2 = require_export(); + var $hypot = Math.hypot; + var abs = Math.abs; + var sqrt = Math.sqrt; + var FORCED = !!$hypot && $hypot(Infinity, NaN) !== Infinity; + $2({ target: "Math", stat: true, arity: 2, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + hypot: function hypot(value1, value2) { + var sum = 0; + var i4 = 0; + var aLen = arguments.length; + var larg = 0; + var arg, div; + while (i4 < aLen) { + arg = abs(arguments[i4++]); + if (larg < arg) { + div = larg / arg; + sum = sum * div * div + 1; + larg = arg; + } else if (arg > 0) { + div = arg / larg; + sum += div * div; + } else + sum += arg; + } + return larg === Infinity ? Infinity : larg * sqrt(sum); + } + }); + } + }); + + // node_modules/core-js/modules/es.math.imul.js + var require_es_math_imul = __commonJS({ + "node_modules/core-js/modules/es.math.imul.js"() { + var $2 = require_export(); + var fails = require_fails(); + var $imul = Math.imul; + var FORCED = fails(function() { + return $imul(4294967295, 5) != -5 || $imul.length != 2; + }); + $2({ target: "Math", stat: true, forced: FORCED }, { + imul: function imul(x2, y2) { + var UINT16 = 65535; + var xn = +x2; + var yn = +y2; + var xl = UINT16 & xn; + var yl = UINT16 & yn; + return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); + } + }); + } + }); + + // node_modules/core-js/internals/math-log10.js + var require_math_log10 = __commonJS({ + "node_modules/core-js/internals/math-log10.js"(exports, module) { + var log = Math.log; + var LOG10E = Math.LOG10E; + module.exports = Math.log10 || function log10(x2) { + return log(x2) * LOG10E; + }; + } + }); + + // node_modules/core-js/modules/es.math.log10.js + var require_es_math_log10 = __commonJS({ + "node_modules/core-js/modules/es.math.log10.js"() { + var $2 = require_export(); + var log10 = require_math_log10(); + $2({ target: "Math", stat: true }, { + log10 + }); + } + }); + + // node_modules/core-js/modules/es.math.log1p.js + var require_es_math_log1p = __commonJS({ + "node_modules/core-js/modules/es.math.log1p.js"() { + var $2 = require_export(); + var log1p = require_math_log1p(); + $2({ target: "Math", stat: true }, { log1p }); + } + }); + + // node_modules/core-js/modules/es.math.log2.js + var require_es_math_log2 = __commonJS({ + "node_modules/core-js/modules/es.math.log2.js"() { + var $2 = require_export(); + var log = Math.log; + var LN2 = Math.LN2; + $2({ target: "Math", stat: true }, { + log2: function log2(x2) { + return log(x2) / LN2; + } + }); + } + }); + + // node_modules/core-js/modules/es.math.sign.js + var require_es_math_sign = __commonJS({ + "node_modules/core-js/modules/es.math.sign.js"() { + var $2 = require_export(); + var sign = require_math_sign(); + $2({ target: "Math", stat: true }, { + sign + }); + } + }); + + // node_modules/core-js/modules/es.math.sinh.js + var require_es_math_sinh = __commonJS({ + "node_modules/core-js/modules/es.math.sinh.js"() { + var $2 = require_export(); + var fails = require_fails(); + var expm1 = require_math_expm1(); + var abs = Math.abs; + var exp = Math.exp; + var E2 = Math.E; + var FORCED = fails(function() { + return Math.sinh(-2e-17) != -2e-17; + }); + $2({ target: "Math", stat: true, forced: FORCED }, { + sinh: function sinh(x2) { + var n6 = +x2; + return abs(n6) < 1 ? (expm1(n6) - expm1(-n6)) / 2 : (exp(n6 - 1) - exp(-n6 - 1)) * (E2 / 2); + } + }); + } + }); + + // node_modules/core-js/modules/es.math.tanh.js + var require_es_math_tanh = __commonJS({ + "node_modules/core-js/modules/es.math.tanh.js"() { + var $2 = require_export(); + var expm1 = require_math_expm1(); + var exp = Math.exp; + $2({ target: "Math", stat: true }, { + tanh: function tanh(x2) { + var n6 = +x2; + var a3 = expm1(n6); + var b2 = expm1(-n6); + return a3 == Infinity ? 1 : b2 == Infinity ? -1 : (a3 - b2) / (exp(n6) + exp(-n6)); + } + }); + } + }); + + // node_modules/core-js/modules/es.math.to-string-tag.js + var require_es_math_to_string_tag = __commonJS({ + "node_modules/core-js/modules/es.math.to-string-tag.js"() { + var setToStringTag = require_set_to_string_tag(); + setToStringTag(Math, "Math", true); + } + }); + + // node_modules/core-js/modules/es.math.trunc.js + var require_es_math_trunc = __commonJS({ + "node_modules/core-js/modules/es.math.trunc.js"() { + var $2 = require_export(); + var trunc = require_math_trunc(); + $2({ target: "Math", stat: true }, { + trunc + }); + } + }); + + // node_modules/core-js/internals/this-number-value.js + var require_this_number_value = __commonJS({ + "node_modules/core-js/internals/this-number-value.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + module.exports = uncurryThis(1 .valueOf); + } + }); + + // node_modules/core-js/internals/whitespaces.js + var require_whitespaces = __commonJS({ + "node_modules/core-js/internals/whitespaces.js"(exports, module) { + module.exports = " \n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"; + } + }); + + // node_modules/core-js/internals/string-trim.js + var require_string_trim = __commonJS({ + "node_modules/core-js/internals/string-trim.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var requireObjectCoercible = require_require_object_coercible(); + var toString = require_to_string(); + var whitespaces = require_whitespaces(); + var replace = uncurryThis("".replace); + var ltrim = RegExp("^[" + whitespaces + "]+"); + var rtrim = RegExp("(^|[^" + whitespaces + "])[" + whitespaces + "]+$"); + var createMethod = function(TYPE) { + return function($this) { + var string = toString(requireObjectCoercible($this)); + if (TYPE & 1) + string = replace(string, ltrim, ""); + if (TYPE & 2) + string = replace(string, rtrim, "$1"); + return string; + }; + }; + module.exports = { + // `String.prototype.{ trimLeft, trimStart }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimstart + start: createMethod(1), + // `String.prototype.{ trimRight, trimEnd }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimend + end: createMethod(2), + // `String.prototype.trim` method + // https://tc39.es/ecma262/#sec-string.prototype.trim + trim: createMethod(3) + }; + } + }); + + // node_modules/core-js/modules/es.number.constructor.js + var require_es_number_constructor = __commonJS({ + "node_modules/core-js/modules/es.number.constructor.js"() { + "use strict"; + var $2 = require_export(); + var IS_PURE = require_is_pure(); + var DESCRIPTORS = require_descriptors(); + var global2 = require_global(); + var path = require_path(); + var uncurryThis = require_function_uncurry_this(); + var isForced = require_is_forced(); + var hasOwn = require_has_own_property(); + var inheritIfRequired = require_inherit_if_required(); + var isPrototypeOf = require_object_is_prototype_of(); + var isSymbol = require_is_symbol(); + var toPrimitive = require_to_primitive(); + var fails = require_fails(); + var getOwnPropertyNames = require_object_get_own_property_names().f; + var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; + var defineProperty = require_object_define_property().f; + var thisNumberValue = require_this_number_value(); + var trim = require_string_trim().trim; + var NUMBER = "Number"; + var NativeNumber = global2[NUMBER]; + var PureNumberNamespace = path[NUMBER]; + var NumberPrototype = NativeNumber.prototype; + var TypeError2 = global2.TypeError; + var stringSlice = uncurryThis("".slice); + var charCodeAt = uncurryThis("".charCodeAt); + var toNumeric = function(value) { + var primValue = toPrimitive(value, "number"); + return typeof primValue == "bigint" ? primValue : toNumber(primValue); + }; + var toNumber = function(argument) { + var it = toPrimitive(argument, "number"); + var first, third, radix, maxCode, digits, length, index, code; + if (isSymbol(it)) + throw TypeError2("Cannot convert a Symbol value to a number"); + if (typeof it == "string" && it.length > 2) { + it = trim(it); + first = charCodeAt(it, 0); + if (first === 43 || first === 45) { + third = charCodeAt(it, 2); + if (third === 88 || third === 120) + return NaN; + } else if (first === 48) { + switch (charCodeAt(it, 1)) { + case 66: + case 98: + radix = 2; + maxCode = 49; + break; + case 79: + case 111: + radix = 8; + maxCode = 55; + break; + default: + return +it; + } + digits = stringSlice(it, 2); + length = digits.length; + for (index = 0; index < length; index++) { + code = charCodeAt(digits, index); + if (code < 48 || code > maxCode) + return NaN; + } + return parseInt(digits, radix); + } + } + return +it; + }; + var FORCED = isForced(NUMBER, !NativeNumber(" 0o1") || !NativeNumber("0b1") || NativeNumber("+0x1")); + var calledWithNew = function(dummy) { + return isPrototypeOf(NumberPrototype, dummy) && fails(function() { + thisNumberValue(dummy); + }); + }; + var NumberWrapper = function Number2(value) { + var n6 = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); + return calledWithNew(this) ? inheritIfRequired(Object(n6), this, NumberWrapper) : n6; + }; + NumberWrapper.prototype = NumberPrototype; + if (FORCED && !IS_PURE) + NumberPrototype.constructor = NumberWrapper; + $2({ global: true, constructor: true, wrap: true, forced: FORCED }, { + Number: NumberWrapper + }); + var copyConstructorProperties = function(target, source) { + for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : ( + // ES3: + "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(",") + ), j2 = 0, key; keys.length > j2; j2++) { + if (hasOwn(source, key = keys[j2]) && !hasOwn(target, key)) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } + } + }; + if (IS_PURE && PureNumberNamespace) + copyConstructorProperties(path[NUMBER], PureNumberNamespace); + if (FORCED || IS_PURE) + copyConstructorProperties(path[NUMBER], NativeNumber); + } + }); + + // node_modules/core-js/modules/es.number.epsilon.js + var require_es_number_epsilon = __commonJS({ + "node_modules/core-js/modules/es.number.epsilon.js"() { + var $2 = require_export(); + $2({ target: "Number", stat: true, nonConfigurable: true, nonWritable: true }, { + EPSILON: Math.pow(2, -52) + }); + } + }); + + // node_modules/core-js/internals/number-is-finite.js + var require_number_is_finite = __commonJS({ + "node_modules/core-js/internals/number-is-finite.js"(exports, module) { + var global2 = require_global(); + var globalIsFinite = global2.isFinite; + module.exports = Number.isFinite || function isFinite2(it) { + return typeof it == "number" && globalIsFinite(it); + }; + } + }); + + // node_modules/core-js/modules/es.number.is-finite.js + var require_es_number_is_finite = __commonJS({ + "node_modules/core-js/modules/es.number.is-finite.js"() { + var $2 = require_export(); + var numberIsFinite = require_number_is_finite(); + $2({ target: "Number", stat: true }, { isFinite: numberIsFinite }); + } + }); + + // node_modules/core-js/internals/is-integral-number.js + var require_is_integral_number = __commonJS({ + "node_modules/core-js/internals/is-integral-number.js"(exports, module) { + var isObject = require_is_object(); + var floor = Math.floor; + module.exports = Number.isInteger || function isInteger(it) { + return !isObject(it) && isFinite(it) && floor(it) === it; + }; + } + }); + + // node_modules/core-js/modules/es.number.is-integer.js + var require_es_number_is_integer = __commonJS({ + "node_modules/core-js/modules/es.number.is-integer.js"() { + var $2 = require_export(); + var isIntegralNumber = require_is_integral_number(); + $2({ target: "Number", stat: true }, { + isInteger: isIntegralNumber + }); + } + }); + + // node_modules/core-js/modules/es.number.is-nan.js + var require_es_number_is_nan = __commonJS({ + "node_modules/core-js/modules/es.number.is-nan.js"() { + var $2 = require_export(); + $2({ target: "Number", stat: true }, { + isNaN: function isNaN2(number) { + return number != number; + } + }); + } + }); + + // node_modules/core-js/modules/es.number.is-safe-integer.js + var require_es_number_is_safe_integer = __commonJS({ + "node_modules/core-js/modules/es.number.is-safe-integer.js"() { + var $2 = require_export(); + var isIntegralNumber = require_is_integral_number(); + var abs = Math.abs; + $2({ target: "Number", stat: true }, { + isSafeInteger: function isSafeInteger(number) { + return isIntegralNumber(number) && abs(number) <= 9007199254740991; + } + }); + } + }); + + // node_modules/core-js/modules/es.number.max-safe-integer.js + var require_es_number_max_safe_integer = __commonJS({ + "node_modules/core-js/modules/es.number.max-safe-integer.js"() { + var $2 = require_export(); + $2({ target: "Number", stat: true, nonConfigurable: true, nonWritable: true }, { + MAX_SAFE_INTEGER: 9007199254740991 + }); + } + }); + + // node_modules/core-js/modules/es.number.min-safe-integer.js + var require_es_number_min_safe_integer = __commonJS({ + "node_modules/core-js/modules/es.number.min-safe-integer.js"() { + var $2 = require_export(); + $2({ target: "Number", stat: true, nonConfigurable: true, nonWritable: true }, { + MIN_SAFE_INTEGER: -9007199254740991 + }); + } + }); + + // node_modules/core-js/internals/number-parse-float.js + var require_number_parse_float = __commonJS({ + "node_modules/core-js/internals/number-parse-float.js"(exports, module) { + var global2 = require_global(); + var fails = require_fails(); + var uncurryThis = require_function_uncurry_this(); + var toString = require_to_string(); + var trim = require_string_trim().trim; + var whitespaces = require_whitespaces(); + var charAt = uncurryThis("".charAt); + var $parseFloat = global2.parseFloat; + var Symbol2 = global2.Symbol; + var ITERATOR = Symbol2 && Symbol2.iterator; + var FORCED = 1 / $parseFloat(whitespaces + "-0") !== -Infinity || ITERATOR && !fails(function() { + $parseFloat(Object(ITERATOR)); + }); + module.exports = FORCED ? function parseFloat2(string) { + var trimmedString = trim(toString(string)); + var result = $parseFloat(trimmedString); + return result === 0 && charAt(trimmedString, 0) == "-" ? -0 : result; + } : $parseFloat; + } + }); + + // node_modules/core-js/modules/es.number.parse-float.js + var require_es_number_parse_float = __commonJS({ + "node_modules/core-js/modules/es.number.parse-float.js"() { + var $2 = require_export(); + var parseFloat2 = require_number_parse_float(); + $2({ target: "Number", stat: true, forced: Number.parseFloat != parseFloat2 }, { + parseFloat: parseFloat2 + }); + } + }); + + // node_modules/core-js/internals/number-parse-int.js + var require_number_parse_int = __commonJS({ + "node_modules/core-js/internals/number-parse-int.js"(exports, module) { + var global2 = require_global(); + var fails = require_fails(); + var uncurryThis = require_function_uncurry_this(); + var toString = require_to_string(); + var trim = require_string_trim().trim; + var whitespaces = require_whitespaces(); + var $parseInt = global2.parseInt; + var Symbol2 = global2.Symbol; + var ITERATOR = Symbol2 && Symbol2.iterator; + var hex = /^[+-]?0x/i; + var exec = uncurryThis(hex.exec); + var FORCED = $parseInt(whitespaces + "08") !== 8 || $parseInt(whitespaces + "0x16") !== 22 || ITERATOR && !fails(function() { + $parseInt(Object(ITERATOR)); + }); + module.exports = FORCED ? function parseInt2(string, radix) { + var S3 = trim(toString(string)); + return $parseInt(S3, radix >>> 0 || (exec(hex, S3) ? 16 : 10)); + } : $parseInt; + } + }); + + // node_modules/core-js/modules/es.number.parse-int.js + var require_es_number_parse_int = __commonJS({ + "node_modules/core-js/modules/es.number.parse-int.js"() { + var $2 = require_export(); + var parseInt2 = require_number_parse_int(); + $2({ target: "Number", stat: true, forced: Number.parseInt != parseInt2 }, { + parseInt: parseInt2 + }); + } + }); + + // node_modules/core-js/modules/es.number.to-exponential.js + var require_es_number_to_exponential = __commonJS({ + "node_modules/core-js/modules/es.number.to-exponential.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var thisNumberValue = require_this_number_value(); + var $repeat = require_string_repeat(); + var log10 = require_math_log10(); + var fails = require_fails(); + var $RangeError = RangeError; + var $String = String; + var $isFinite = isFinite; + var abs = Math.abs; + var floor = Math.floor; + var pow = Math.pow; + var round = Math.round; + var nativeToExponential = uncurryThis(1 .toExponential); + var repeat = uncurryThis($repeat); + var stringSlice = uncurryThis("".slice); + var ROUNDS_PROPERLY = nativeToExponential(-69e-12, 4) === "-6.9000e-11" && nativeToExponential(1.255, 2) === "1.25e+0" && nativeToExponential(12345, 3) === "1.235e+4" && nativeToExponential(25, 0) === "3e+1"; + var throwsOnInfinityFraction = function() { + return fails(function() { + nativeToExponential(1, Infinity); + }) && fails(function() { + nativeToExponential(1, -Infinity); + }); + }; + var properNonFiniteThisCheck = function() { + return !fails(function() { + nativeToExponential(Infinity, Infinity); + nativeToExponential(NaN, Infinity); + }); + }; + var FORCED = !ROUNDS_PROPERLY || !throwsOnInfinityFraction() || !properNonFiniteThisCheck(); + $2({ target: "Number", proto: true, forced: FORCED }, { + toExponential: function toExponential(fractionDigits) { + var x2 = thisNumberValue(this); + if (fractionDigits === void 0) + return nativeToExponential(x2); + var f2 = toIntegerOrInfinity(fractionDigits); + if (!$isFinite(x2)) + return String(x2); + if (f2 < 0 || f2 > 20) + throw $RangeError("Incorrect fraction digits"); + if (ROUNDS_PROPERLY) + return nativeToExponential(x2, f2); + var s5 = ""; + var m2 = ""; + var e7 = 0; + var c3 = ""; + var d3 = ""; + if (x2 < 0) { + s5 = "-"; + x2 = -x2; + } + if (x2 === 0) { + e7 = 0; + m2 = repeat("0", f2 + 1); + } else { + var l5 = log10(x2); + e7 = floor(l5); + var n6 = 0; + var w2 = pow(10, e7 - f2); + n6 = round(x2 / w2); + if (2 * x2 >= (2 * n6 + 1) * w2) { + n6 += 1; + } + if (n6 >= pow(10, f2 + 1)) { + n6 /= 10; + e7 += 1; + } + m2 = $String(n6); + } + if (f2 !== 0) { + m2 = stringSlice(m2, 0, 1) + "." + stringSlice(m2, 1); + } + if (e7 === 0) { + c3 = "+"; + d3 = "0"; + } else { + c3 = e7 > 0 ? "+" : "-"; + d3 = $String(abs(e7)); + } + m2 += "e" + c3 + d3; + return s5 + m2; + } + }); + } + }); + + // node_modules/core-js/modules/es.number.to-fixed.js + var require_es_number_to_fixed = __commonJS({ + "node_modules/core-js/modules/es.number.to-fixed.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var thisNumberValue = require_this_number_value(); + var $repeat = require_string_repeat(); + var fails = require_fails(); + var $RangeError = RangeError; + var $String = String; + var floor = Math.floor; + var repeat = uncurryThis($repeat); + var stringSlice = uncurryThis("".slice); + var nativeToFixed = uncurryThis(1 .toFixed); + var pow = function(x2, n6, acc) { + return n6 === 0 ? acc : n6 % 2 === 1 ? pow(x2, n6 - 1, acc * x2) : pow(x2 * x2, n6 / 2, acc); + }; + var log = function(x2) { + var n6 = 0; + var x22 = x2; + while (x22 >= 4096) { + n6 += 12; + x22 /= 4096; + } + while (x22 >= 2) { + n6 += 1; + x22 /= 2; + } + return n6; + }; + var multiply = function(data, n6, c3) { + var index = -1; + var c22 = c3; + while (++index < 6) { + c22 += n6 * data[index]; + data[index] = c22 % 1e7; + c22 = floor(c22 / 1e7); + } + }; + var divide = function(data, n6) { + var index = 6; + var c3 = 0; + while (--index >= 0) { + c3 += data[index]; + data[index] = floor(c3 / n6); + c3 = c3 % n6 * 1e7; + } + }; + var dataToString = function(data) { + var index = 6; + var s5 = ""; + while (--index >= 0) { + if (s5 !== "" || index === 0 || data[index] !== 0) { + var t4 = $String(data[index]); + s5 = s5 === "" ? t4 : s5 + repeat("0", 7 - t4.length) + t4; + } + } + return s5; + }; + var FORCED = fails(function() { + return nativeToFixed(8e-5, 3) !== "0.000" || nativeToFixed(0.9, 0) !== "1" || nativeToFixed(1.255, 2) !== "1.25" || nativeToFixed(1000000000000000100, 0) !== "1000000000000000128"; + }) || !fails(function() { + nativeToFixed({}); + }); + $2({ target: "Number", proto: true, forced: FORCED }, { + toFixed: function toFixed(fractionDigits) { + var number = thisNumberValue(this); + var fractDigits = toIntegerOrInfinity(fractionDigits); + var data = [0, 0, 0, 0, 0, 0]; + var sign = ""; + var result = "0"; + var e7, z2, j2, k2; + if (fractDigits < 0 || fractDigits > 20) + throw $RangeError("Incorrect fraction digits"); + if (number != number) + return "NaN"; + if (number <= -1e21 || number >= 1e21) + return $String(number); + if (number < 0) { + sign = "-"; + number = -number; + } + if (number > 1e-21) { + e7 = log(number * pow(2, 69, 1)) - 69; + z2 = e7 < 0 ? number * pow(2, -e7, 1) : number / pow(2, e7, 1); + z2 *= 4503599627370496; + e7 = 52 - e7; + if (e7 > 0) { + multiply(data, 0, z2); + j2 = fractDigits; + while (j2 >= 7) { + multiply(data, 1e7, 0); + j2 -= 7; + } + multiply(data, pow(10, j2, 1), 0); + j2 = e7 - 1; + while (j2 >= 23) { + divide(data, 1 << 23); + j2 -= 23; + } + divide(data, 1 << j2); + multiply(data, 1, 1); + divide(data, 2); + result = dataToString(data); + } else { + multiply(data, 0, z2); + multiply(data, 1 << -e7, 0); + result = dataToString(data) + repeat("0", fractDigits); + } + } + if (fractDigits > 0) { + k2 = result.length; + result = sign + (k2 <= fractDigits ? "0." + repeat("0", fractDigits - k2) + result : stringSlice(result, 0, k2 - fractDigits) + "." + stringSlice(result, k2 - fractDigits)); + } else { + result = sign + result; + } + return result; + } + }); + } + }); + + // node_modules/core-js/modules/es.number.to-precision.js + var require_es_number_to_precision = __commonJS({ + "node_modules/core-js/modules/es.number.to-precision.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var fails = require_fails(); + var thisNumberValue = require_this_number_value(); + var nativeToPrecision = uncurryThis(1 .toPrecision); + var FORCED = fails(function() { + return nativeToPrecision(1, void 0) !== "1"; + }) || !fails(function() { + nativeToPrecision({}); + }); + $2({ target: "Number", proto: true, forced: FORCED }, { + toPrecision: function toPrecision(precision) { + return precision === void 0 ? nativeToPrecision(thisNumberValue(this)) : nativeToPrecision(thisNumberValue(this), precision); + } + }); + } + }); + + // node_modules/core-js/internals/object-assign.js + var require_object_assign = __commonJS({ + "node_modules/core-js/internals/object-assign.js"(exports, module) { + "use strict"; + var DESCRIPTORS = require_descriptors(); + var uncurryThis = require_function_uncurry_this(); + var call = require_function_call(); + var fails = require_fails(); + var objectKeys = require_object_keys(); + var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); + var propertyIsEnumerableModule = require_object_property_is_enumerable(); + var toObject = require_to_object(); + var IndexedObject = require_indexed_object(); + var $assign = Object.assign; + var defineProperty = Object.defineProperty; + var concat = uncurryThis([].concat); + module.exports = !$assign || fails(function() { + if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, "a", { + enumerable: true, + get: function() { + defineProperty(this, "b", { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) + return true; + var A2 = {}; + var B2 = {}; + var symbol = Symbol(); + var alphabet = "abcdefghijklmnopqrst"; + A2[symbol] = 7; + alphabet.split("").forEach(function(chr) { + B2[chr] = chr; + }); + return $assign({}, A2)[symbol] != 7 || objectKeys($assign({}, B2)).join("") != alphabet; + }) ? function assign(target, source) { + var T2 = toObject(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + var propertyIsEnumerable = propertyIsEnumerableModule.f; + while (argumentsLength > index) { + var S3 = IndexedObject(arguments[index++]); + var keys = getOwnPropertySymbols ? concat(objectKeys(S3), getOwnPropertySymbols(S3)) : objectKeys(S3); + var length = keys.length; + var j2 = 0; + var key; + while (length > j2) { + key = keys[j2++]; + if (!DESCRIPTORS || call(propertyIsEnumerable, S3, key)) + T2[key] = S3[key]; + } + } + return T2; + } : $assign; + } + }); + + // node_modules/core-js/modules/es.object.assign.js + var require_es_object_assign = __commonJS({ + "node_modules/core-js/modules/es.object.assign.js"() { + var $2 = require_export(); + var assign = require_object_assign(); + $2({ target: "Object", stat: true, arity: 2, forced: Object.assign !== assign }, { + assign + }); + } + }); + + // node_modules/core-js/modules/es.object.create.js + var require_es_object_create = __commonJS({ + "node_modules/core-js/modules/es.object.create.js"() { + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var create = require_object_create(); + $2({ target: "Object", stat: true, sham: !DESCRIPTORS }, { + create + }); + } + }); + + // node_modules/core-js/internals/object-prototype-accessors-forced.js + var require_object_prototype_accessors_forced = __commonJS({ + "node_modules/core-js/internals/object-prototype-accessors-forced.js"(exports, module) { + "use strict"; + var IS_PURE = require_is_pure(); + var global2 = require_global(); + var fails = require_fails(); + var WEBKIT = require_engine_webkit_version(); + module.exports = IS_PURE || !fails(function() { + if (WEBKIT && WEBKIT < 535) + return; + var key = Math.random(); + __defineSetter__.call(null, key, function() { + }); + delete global2[key]; + }); + } + }); + + // node_modules/core-js/modules/es.object.define-getter.js + var require_es_object_define_getter = __commonJS({ + "node_modules/core-js/modules/es.object.define-getter.js"() { + "use strict"; + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var FORCED = require_object_prototype_accessors_forced(); + var aCallable = require_a_callable(); + var toObject = require_to_object(); + var definePropertyModule = require_object_define_property(); + if (DESCRIPTORS) { + $2({ target: "Object", proto: true, forced: FORCED }, { + __defineGetter__: function __defineGetter__(P2, getter) { + definePropertyModule.f(toObject(this), P2, { get: aCallable(getter), enumerable: true, configurable: true }); + } + }); + } + } + }); + + // node_modules/core-js/modules/es.object.define-properties.js + var require_es_object_define_properties = __commonJS({ + "node_modules/core-js/modules/es.object.define-properties.js"() { + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var defineProperties = require_object_define_properties().f; + $2({ target: "Object", stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, { + defineProperties + }); + } + }); + + // node_modules/core-js/modules/es.object.define-property.js + var require_es_object_define_property = __commonJS({ + "node_modules/core-js/modules/es.object.define-property.js"() { + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var defineProperty = require_object_define_property().f; + $2({ target: "Object", stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, { + defineProperty + }); + } + }); + + // node_modules/core-js/modules/es.object.define-setter.js + var require_es_object_define_setter = __commonJS({ + "node_modules/core-js/modules/es.object.define-setter.js"() { + "use strict"; + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var FORCED = require_object_prototype_accessors_forced(); + var aCallable = require_a_callable(); + var toObject = require_to_object(); + var definePropertyModule = require_object_define_property(); + if (DESCRIPTORS) { + $2({ target: "Object", proto: true, forced: FORCED }, { + __defineSetter__: function __defineSetter__2(P2, setter) { + definePropertyModule.f(toObject(this), P2, { set: aCallable(setter), enumerable: true, configurable: true }); + } + }); + } + } + }); + + // node_modules/core-js/internals/object-to-array.js + var require_object_to_array = __commonJS({ + "node_modules/core-js/internals/object-to-array.js"(exports, module) { + var DESCRIPTORS = require_descriptors(); + var uncurryThis = require_function_uncurry_this(); + var objectKeys = require_object_keys(); + var toIndexedObject = require_to_indexed_object(); + var $propertyIsEnumerable = require_object_property_is_enumerable().f; + var propertyIsEnumerable = uncurryThis($propertyIsEnumerable); + var push = uncurryThis([].push); + var createMethod = function(TO_ENTRIES) { + return function(it) { + var O = toIndexedObject(it); + var keys = objectKeys(O); + var length = keys.length; + var i4 = 0; + var result = []; + var key; + while (length > i4) { + key = keys[i4++]; + if (!DESCRIPTORS || propertyIsEnumerable(O, key)) { + push(result, TO_ENTRIES ? [key, O[key]] : O[key]); + } + } + return result; + }; + }; + module.exports = { + // `Object.entries` method + // https://tc39.es/ecma262/#sec-object.entries + entries: createMethod(true), + // `Object.values` method + // https://tc39.es/ecma262/#sec-object.values + values: createMethod(false) + }; + } + }); + + // node_modules/core-js/modules/es.object.entries.js + var require_es_object_entries = __commonJS({ + "node_modules/core-js/modules/es.object.entries.js"() { + var $2 = require_export(); + var $entries = require_object_to_array().entries; + $2({ target: "Object", stat: true }, { + entries: function entries(O) { + return $entries(O); + } + }); + } + }); + + // node_modules/core-js/modules/es.object.freeze.js + var require_es_object_freeze = __commonJS({ + "node_modules/core-js/modules/es.object.freeze.js"() { + var $2 = require_export(); + var FREEZING = require_freezing(); + var fails = require_fails(); + var isObject = require_is_object(); + var onFreeze = require_internal_metadata().onFreeze; + var $freeze = Object.freeze; + var FAILS_ON_PRIMITIVES = fails(function() { + $freeze(1); + }); + $2({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { + freeze: function freeze(it) { + return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it; + } + }); + } + }); + + // node_modules/core-js/modules/es.object.from-entries.js + var require_es_object_from_entries = __commonJS({ + "node_modules/core-js/modules/es.object.from-entries.js"() { + var $2 = require_export(); + var iterate = require_iterate(); + var createProperty = require_create_property(); + $2({ target: "Object", stat: true }, { + fromEntries: function fromEntries(iterable) { + var obj = {}; + iterate(iterable, function(k2, v2) { + createProperty(obj, k2, v2); + }, { AS_ENTRIES: true }); + return obj; + } + }); + } + }); + + // node_modules/core-js/modules/es.object.get-own-property-descriptor.js + var require_es_object_get_own_property_descriptor = __commonJS({ + "node_modules/core-js/modules/es.object.get-own-property-descriptor.js"() { + var $2 = require_export(); + var fails = require_fails(); + var toIndexedObject = require_to_indexed_object(); + var nativeGetOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; + var DESCRIPTORS = require_descriptors(); + var FORCED = !DESCRIPTORS || fails(function() { + nativeGetOwnPropertyDescriptor(1); + }); + $2({ target: "Object", stat: true, forced: FORCED, sham: !DESCRIPTORS }, { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) { + return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key); + } + }); + } + }); + + // node_modules/core-js/modules/es.object.get-own-property-descriptors.js + var require_es_object_get_own_property_descriptors = __commonJS({ + "node_modules/core-js/modules/es.object.get-own-property-descriptors.js"() { + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var ownKeys = require_own_keys(); + var toIndexedObject = require_to_indexed_object(); + var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); + var createProperty = require_create_property(); + $2({ target: "Object", stat: true, sham: !DESCRIPTORS }, { + getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { + var O = toIndexedObject(object); + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; + var keys = ownKeys(O); + var result = {}; + var index = 0; + var key, descriptor; + while (keys.length > index) { + descriptor = getOwnPropertyDescriptor(O, key = keys[index++]); + if (descriptor !== void 0) + createProperty(result, key, descriptor); + } + return result; + } + }); + } + }); + + // node_modules/core-js/modules/es.object.get-own-property-names.js + var require_es_object_get_own_property_names = __commonJS({ + "node_modules/core-js/modules/es.object.get-own-property-names.js"() { + var $2 = require_export(); + var fails = require_fails(); + var getOwnPropertyNames = require_object_get_own_property_names_external().f; + var FAILS_ON_PRIMITIVES = fails(function() { + return !Object.getOwnPropertyNames(1); + }); + $2({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES }, { + getOwnPropertyNames + }); + } + }); + + // node_modules/core-js/modules/es.object.get-prototype-of.js + var require_es_object_get_prototype_of = __commonJS({ + "node_modules/core-js/modules/es.object.get-prototype-of.js"() { + var $2 = require_export(); + var fails = require_fails(); + var toObject = require_to_object(); + var nativeGetPrototypeOf = require_object_get_prototype_of(); + var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter(); + var FAILS_ON_PRIMITIVES = fails(function() { + nativeGetPrototypeOf(1); + }); + $2({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, { + getPrototypeOf: function getPrototypeOf(it) { + return nativeGetPrototypeOf(toObject(it)); + } + }); + } + }); + + // node_modules/core-js/modules/es.object.has-own.js + var require_es_object_has_own = __commonJS({ + "node_modules/core-js/modules/es.object.has-own.js"() { + var $2 = require_export(); + var hasOwn = require_has_own_property(); + $2({ target: "Object", stat: true }, { + hasOwn + }); + } + }); + + // node_modules/core-js/internals/same-value.js + var require_same_value = __commonJS({ + "node_modules/core-js/internals/same-value.js"(exports, module) { + module.exports = Object.is || function is(x2, y2) { + return x2 === y2 ? x2 !== 0 || 1 / x2 === 1 / y2 : x2 != x2 && y2 != y2; + }; + } + }); + + // node_modules/core-js/modules/es.object.is.js + var require_es_object_is = __commonJS({ + "node_modules/core-js/modules/es.object.is.js"() { + var $2 = require_export(); + var is = require_same_value(); + $2({ target: "Object", stat: true }, { + is + }); + } + }); + + // node_modules/core-js/modules/es.object.is-extensible.js + var require_es_object_is_extensible = __commonJS({ + "node_modules/core-js/modules/es.object.is-extensible.js"() { + var $2 = require_export(); + var $isExtensible = require_object_is_extensible(); + $2({ target: "Object", stat: true, forced: Object.isExtensible !== $isExtensible }, { + isExtensible: $isExtensible + }); + } + }); + + // node_modules/core-js/modules/es.object.is-frozen.js + var require_es_object_is_frozen = __commonJS({ + "node_modules/core-js/modules/es.object.is-frozen.js"() { + var $2 = require_export(); + var fails = require_fails(); + var isObject = require_is_object(); + var classof = require_classof_raw(); + var ARRAY_BUFFER_NON_EXTENSIBLE = require_array_buffer_non_extensible(); + var $isFrozen = Object.isFrozen; + var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function() { + $isFrozen(1); + }); + $2({ target: "Object", stat: true, forced: FORCED }, { + isFrozen: function isFrozen(it) { + if (!isObject(it)) + return true; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == "ArrayBuffer") + return true; + return $isFrozen ? $isFrozen(it) : false; + } + }); + } + }); + + // node_modules/core-js/modules/es.object.is-sealed.js + var require_es_object_is_sealed = __commonJS({ + "node_modules/core-js/modules/es.object.is-sealed.js"() { + var $2 = require_export(); + var fails = require_fails(); + var isObject = require_is_object(); + var classof = require_classof_raw(); + var ARRAY_BUFFER_NON_EXTENSIBLE = require_array_buffer_non_extensible(); + var $isSealed = Object.isSealed; + var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function() { + $isSealed(1); + }); + $2({ target: "Object", stat: true, forced: FORCED }, { + isSealed: function isSealed(it) { + if (!isObject(it)) + return true; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == "ArrayBuffer") + return true; + return $isSealed ? $isSealed(it) : false; + } + }); + } + }); + + // node_modules/core-js/modules/es.object.keys.js + var require_es_object_keys = __commonJS({ + "node_modules/core-js/modules/es.object.keys.js"() { + var $2 = require_export(); + var toObject = require_to_object(); + var nativeKeys = require_object_keys(); + var fails = require_fails(); + var FAILS_ON_PRIMITIVES = fails(function() { + nativeKeys(1); + }); + $2({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES }, { + keys: function keys(it) { + return nativeKeys(toObject(it)); + } + }); + } + }); + + // node_modules/core-js/modules/es.object.lookup-getter.js + var require_es_object_lookup_getter = __commonJS({ + "node_modules/core-js/modules/es.object.lookup-getter.js"() { + "use strict"; + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var FORCED = require_object_prototype_accessors_forced(); + var toObject = require_to_object(); + var toPropertyKey = require_to_property_key(); + var getPrototypeOf = require_object_get_prototype_of(); + var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; + if (DESCRIPTORS) { + $2({ target: "Object", proto: true, forced: FORCED }, { + __lookupGetter__: function __lookupGetter__(P2) { + var O = toObject(this); + var key = toPropertyKey(P2); + var desc; + do { + if (desc = getOwnPropertyDescriptor(O, key)) + return desc.get; + } while (O = getPrototypeOf(O)); + } + }); + } + } + }); + + // node_modules/core-js/modules/es.object.lookup-setter.js + var require_es_object_lookup_setter = __commonJS({ + "node_modules/core-js/modules/es.object.lookup-setter.js"() { + "use strict"; + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var FORCED = require_object_prototype_accessors_forced(); + var toObject = require_to_object(); + var toPropertyKey = require_to_property_key(); + var getPrototypeOf = require_object_get_prototype_of(); + var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; + if (DESCRIPTORS) { + $2({ target: "Object", proto: true, forced: FORCED }, { + __lookupSetter__: function __lookupSetter__(P2) { + var O = toObject(this); + var key = toPropertyKey(P2); + var desc; + do { + if (desc = getOwnPropertyDescriptor(O, key)) + return desc.set; + } while (O = getPrototypeOf(O)); + } + }); + } + } + }); + + // node_modules/core-js/modules/es.object.prevent-extensions.js + var require_es_object_prevent_extensions = __commonJS({ + "node_modules/core-js/modules/es.object.prevent-extensions.js"() { + var $2 = require_export(); + var isObject = require_is_object(); + var onFreeze = require_internal_metadata().onFreeze; + var FREEZING = require_freezing(); + var fails = require_fails(); + var $preventExtensions = Object.preventExtensions; + var FAILS_ON_PRIMITIVES = fails(function() { + $preventExtensions(1); + }); + $2({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { + preventExtensions: function preventExtensions(it) { + return $preventExtensions && isObject(it) ? $preventExtensions(onFreeze(it)) : it; + } + }); + } + }); + + // node_modules/core-js/modules/es.object.proto.js + var require_es_object_proto = __commonJS({ + "node_modules/core-js/modules/es.object.proto.js"() { + "use strict"; + var DESCRIPTORS = require_descriptors(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var isObject = require_is_object(); + var toObject = require_to_object(); + var requireObjectCoercible = require_require_object_coercible(); + var getPrototypeOf = Object.getPrototypeOf; + var setPrototypeOf = Object.setPrototypeOf; + var ObjectPrototype = Object.prototype; + var PROTO = "__proto__"; + if (DESCRIPTORS && getPrototypeOf && setPrototypeOf && !(PROTO in ObjectPrototype)) + try { + defineBuiltInAccessor(ObjectPrototype, PROTO, { + configurable: true, + get: function __proto__() { + return getPrototypeOf(toObject(this)); + }, + set: function __proto__(proto) { + var O = requireObjectCoercible(this); + if (!isObject(proto) && proto !== null || !isObject(O)) + return; + setPrototypeOf(O, proto); + } + }); + } catch (error) { + } + } + }); + + // node_modules/core-js/modules/es.object.seal.js + var require_es_object_seal = __commonJS({ + "node_modules/core-js/modules/es.object.seal.js"() { + var $2 = require_export(); + var isObject = require_is_object(); + var onFreeze = require_internal_metadata().onFreeze; + var FREEZING = require_freezing(); + var fails = require_fails(); + var $seal = Object.seal; + var FAILS_ON_PRIMITIVES = fails(function() { + $seal(1); + }); + $2({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { + seal: function seal(it) { + return $seal && isObject(it) ? $seal(onFreeze(it)) : it; + } + }); + } + }); + + // node_modules/core-js/modules/es.object.set-prototype-of.js + var require_es_object_set_prototype_of = __commonJS({ + "node_modules/core-js/modules/es.object.set-prototype-of.js"() { + var $2 = require_export(); + var setPrototypeOf = require_object_set_prototype_of(); + $2({ target: "Object", stat: true }, { + setPrototypeOf + }); + } + }); + + // node_modules/core-js/internals/object-to-string.js + var require_object_to_string = __commonJS({ + "node_modules/core-js/internals/object-to-string.js"(exports, module) { + "use strict"; + var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); + var classof = require_classof(); + module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() { + return "[object " + classof(this) + "]"; + }; + } + }); + + // node_modules/core-js/modules/es.object.to-string.js + var require_es_object_to_string = __commonJS({ + "node_modules/core-js/modules/es.object.to-string.js"() { + var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); + var defineBuiltIn = require_define_built_in(); + var toString = require_object_to_string(); + if (!TO_STRING_TAG_SUPPORT) { + defineBuiltIn(Object.prototype, "toString", toString, { unsafe: true }); + } + } + }); + + // node_modules/core-js/modules/es.object.values.js + var require_es_object_values = __commonJS({ + "node_modules/core-js/modules/es.object.values.js"() { + var $2 = require_export(); + var $values = require_object_to_array().values; + $2({ target: "Object", stat: true }, { + values: function values(O) { + return $values(O); + } + }); + } + }); + + // node_modules/core-js/modules/es.parse-float.js + var require_es_parse_float = __commonJS({ + "node_modules/core-js/modules/es.parse-float.js"() { + var $2 = require_export(); + var $parseFloat = require_number_parse_float(); + $2({ global: true, forced: parseFloat != $parseFloat }, { + parseFloat: $parseFloat + }); + } + }); + + // node_modules/core-js/modules/es.parse-int.js + var require_es_parse_int = __commonJS({ + "node_modules/core-js/modules/es.parse-int.js"() { + var $2 = require_export(); + var $parseInt = require_number_parse_int(); + $2({ global: true, forced: parseInt != $parseInt }, { + parseInt: $parseInt + }); + } + }); + + // node_modules/core-js/internals/validate-arguments-length.js + var require_validate_arguments_length = __commonJS({ + "node_modules/core-js/internals/validate-arguments-length.js"(exports, module) { + var $TypeError = TypeError; + module.exports = function(passed, required) { + if (passed < required) + throw $TypeError("Not enough arguments"); + return passed; + }; + } + }); + + // node_modules/core-js/internals/engine-is-ios.js + var require_engine_is_ios = __commonJS({ + "node_modules/core-js/internals/engine-is-ios.js"(exports, module) { + var userAgent = require_engine_user_agent(); + module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); + } + }); + + // node_modules/core-js/internals/task.js + var require_task = __commonJS({ + "node_modules/core-js/internals/task.js"(exports, module) { + var global2 = require_global(); + var apply = require_function_apply(); + var bind = require_function_bind_context(); + var isCallable = require_is_callable(); + var hasOwn = require_has_own_property(); + var fails = require_fails(); + var html = require_html(); + var arraySlice = require_array_slice(); + var createElement = require_document_create_element(); + var validateArgumentsLength = require_validate_arguments_length(); + var IS_IOS = require_engine_is_ios(); + var IS_NODE = require_engine_is_node(); + var set = global2.setImmediate; + var clear = global2.clearImmediate; + var process2 = global2.process; + var Dispatch = global2.Dispatch; + var Function2 = global2.Function; + var MessageChannel = global2.MessageChannel; + var String2 = global2.String; + var counter = 0; + var queue = {}; + var ONREADYSTATECHANGE = "onreadystatechange"; + var $location; + var defer; + var channel; + var port; + fails(function() { + $location = global2.location; + }); + var run = function(id) { + if (hasOwn(queue, id)) { + var fn = queue[id]; + delete queue[id]; + fn(); + } + }; + var runner = function(id) { + return function() { + run(id); + }; + }; + var eventListener = function(event) { + run(event.data); + }; + var globalPostMessageDefer = function(id) { + global2.postMessage(String2(id), $location.protocol + "//" + $location.host); + }; + if (!set || !clear) { + set = function setImmediate(handler) { + validateArgumentsLength(arguments.length, 1); + var fn = isCallable(handler) ? handler : Function2(handler); + var args = arraySlice(arguments, 1); + queue[++counter] = function() { + apply(fn, void 0, args); + }; + defer(counter); + return counter; + }; + clear = function clearImmediate(id) { + delete queue[id]; + }; + if (IS_NODE) { + defer = function(id) { + process2.nextTick(runner(id)); + }; + } else if (Dispatch && Dispatch.now) { + defer = function(id) { + Dispatch.now(runner(id)); + }; + } else if (MessageChannel && !IS_IOS) { + channel = new MessageChannel(); + port = channel.port2; + channel.port1.onmessage = eventListener; + defer = bind(port.postMessage, port); + } else if (global2.addEventListener && isCallable(global2.postMessage) && !global2.importScripts && $location && $location.protocol !== "file:" && !fails(globalPostMessageDefer)) { + defer = globalPostMessageDefer; + global2.addEventListener("message", eventListener, false); + } else if (ONREADYSTATECHANGE in createElement("script")) { + defer = function(id) { + html.appendChild(createElement("script"))[ONREADYSTATECHANGE] = function() { + html.removeChild(this); + run(id); + }; + }; + } else { + defer = function(id) { + setTimeout(runner(id), 0); + }; + } + } + module.exports = { + set, + clear + }; + } + }); + + // node_modules/core-js/internals/queue.js + var require_queue = __commonJS({ + "node_modules/core-js/internals/queue.js"(exports, module) { + var Queue = function() { + this.head = null; + this.tail = null; + }; + Queue.prototype = { + add: function(item) { + var entry = { item, next: null }; + var tail = this.tail; + if (tail) + tail.next = entry; + else + this.head = entry; + this.tail = entry; + }, + get: function() { + var entry = this.head; + if (entry) { + var next = this.head = entry.next; + if (next === null) + this.tail = null; + return entry.item; + } + } + }; + module.exports = Queue; + } + }); + + // node_modules/core-js/internals/engine-is-ios-pebble.js + var require_engine_is_ios_pebble = __commonJS({ + "node_modules/core-js/internals/engine-is-ios-pebble.js"(exports, module) { + var userAgent = require_engine_user_agent(); + module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != "undefined"; + } + }); + + // node_modules/core-js/internals/engine-is-webos-webkit.js + var require_engine_is_webos_webkit = __commonJS({ + "node_modules/core-js/internals/engine-is-webos-webkit.js"(exports, module) { + var userAgent = require_engine_user_agent(); + module.exports = /web0s(?!.*chrome)/i.test(userAgent); + } + }); + + // node_modules/core-js/internals/microtask.js + var require_microtask = __commonJS({ + "node_modules/core-js/internals/microtask.js"(exports, module) { + var global2 = require_global(); + var bind = require_function_bind_context(); + var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; + var macrotask = require_task().set; + var Queue = require_queue(); + var IS_IOS = require_engine_is_ios(); + var IS_IOS_PEBBLE = require_engine_is_ios_pebble(); + var IS_WEBOS_WEBKIT = require_engine_is_webos_webkit(); + var IS_NODE = require_engine_is_node(); + var MutationObserver2 = global2.MutationObserver || global2.WebKitMutationObserver; + var document2 = global2.document; + var process2 = global2.process; + var Promise2 = global2.Promise; + var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global2, "queueMicrotask"); + var microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; + var notify; + var toggle; + var node; + var promise; + var then; + if (!microtask) { + queue = new Queue(); + flush = function() { + var parent2, fn; + if (IS_NODE && (parent2 = process2.domain)) + parent2.exit(); + while (fn = queue.get()) + try { + fn(); + } catch (error) { + if (queue.head) + notify(); + throw error; + } + if (parent2) + parent2.enter(); + }; + if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver2 && document2) { + toggle = true; + node = document2.createTextNode(""); + new MutationObserver2(flush).observe(node, { characterData: true }); + notify = function() { + node.data = toggle = !toggle; + }; + } else if (!IS_IOS_PEBBLE && Promise2 && Promise2.resolve) { + promise = Promise2.resolve(void 0); + promise.constructor = Promise2; + then = bind(promise.then, promise); + notify = function() { + then(flush); + }; + } else if (IS_NODE) { + notify = function() { + process2.nextTick(flush); + }; + } else { + macrotask = bind(macrotask, global2); + notify = function() { + macrotask(flush); + }; + } + microtask = function(fn) { + if (!queue.head) + notify(); + queue.add(fn); + }; + } + var queue; + var flush; + module.exports = microtask; + } + }); + + // node_modules/core-js/internals/host-report-errors.js + var require_host_report_errors = __commonJS({ + "node_modules/core-js/internals/host-report-errors.js"(exports, module) { + module.exports = function(a3, b2) { + try { + arguments.length == 1 ? console.error(a3) : console.error(a3, b2); + } catch (error) { + } + }; + } + }); + + // node_modules/core-js/internals/perform.js + var require_perform = __commonJS({ + "node_modules/core-js/internals/perform.js"(exports, module) { + module.exports = function(exec) { + try { + return { error: false, value: exec() }; + } catch (error) { + return { error: true, value: error }; + } + }; + } + }); + + // node_modules/core-js/internals/promise-native-constructor.js + var require_promise_native_constructor = __commonJS({ + "node_modules/core-js/internals/promise-native-constructor.js"(exports, module) { + var global2 = require_global(); + module.exports = global2.Promise; + } + }); + + // node_modules/core-js/internals/engine-is-deno.js + var require_engine_is_deno = __commonJS({ + "node_modules/core-js/internals/engine-is-deno.js"(exports, module) { + module.exports = typeof Deno == "object" && Deno && typeof Deno.version == "object"; + } + }); + + // node_modules/core-js/internals/engine-is-browser.js + var require_engine_is_browser = __commonJS({ + "node_modules/core-js/internals/engine-is-browser.js"(exports, module) { + var IS_DENO = require_engine_is_deno(); + var IS_NODE = require_engine_is_node(); + module.exports = !IS_DENO && !IS_NODE && typeof window == "object" && typeof document == "object"; + } + }); + + // node_modules/core-js/internals/promise-constructor-detection.js + var require_promise_constructor_detection = __commonJS({ + "node_modules/core-js/internals/promise-constructor-detection.js"(exports, module) { + var global2 = require_global(); + var NativePromiseConstructor = require_promise_native_constructor(); + var isCallable = require_is_callable(); + var isForced = require_is_forced(); + var inspectSource = require_inspect_source(); + var wellKnownSymbol = require_well_known_symbol(); + var IS_BROWSER = require_engine_is_browser(); + var IS_DENO = require_engine_is_deno(); + var IS_PURE = require_is_pure(); + var V8_VERSION = require_engine_v8_version(); + var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + var SPECIES = wellKnownSymbol("species"); + var SUBCLASSING = false; + var NATIVE_PROMISE_REJECTION_EVENT = isCallable(global2.PromiseRejectionEvent); + var FORCED_PROMISE_CONSTRUCTOR = isForced("Promise", function() { + var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor); + var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor); + if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) + return true; + if (IS_PURE && !(NativePromisePrototype["catch"] && NativePromisePrototype["finally"])) + return true; + if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) { + var promise = new NativePromiseConstructor(function(resolve) { + resolve(1); + }); + var FakePromise = function(exec) { + exec(function() { + }, function() { + }); + }; + var constructor = promise.constructor = {}; + constructor[SPECIES] = FakePromise; + SUBCLASSING = promise.then(function() { + }) instanceof FakePromise; + if (!SUBCLASSING) + return true; + } + return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT; + }); + module.exports = { + CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR, + REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT, + SUBCLASSING + }; + } + }); + + // node_modules/core-js/internals/new-promise-capability.js + var require_new_promise_capability = __commonJS({ + "node_modules/core-js/internals/new-promise-capability.js"(exports, module) { + "use strict"; + var aCallable = require_a_callable(); + var $TypeError = TypeError; + var PromiseCapability = function(C2) { + var resolve, reject; + this.promise = new C2(function($$resolve, $$reject) { + if (resolve !== void 0 || reject !== void 0) + throw $TypeError("Bad Promise constructor"); + resolve = $$resolve; + reject = $$reject; + }); + this.resolve = aCallable(resolve); + this.reject = aCallable(reject); + }; + module.exports.f = function(C2) { + return new PromiseCapability(C2); + }; + } + }); + + // node_modules/core-js/modules/es.promise.constructor.js + var require_es_promise_constructor = __commonJS({ + "node_modules/core-js/modules/es.promise.constructor.js"() { + "use strict"; + var $2 = require_export(); + var IS_PURE = require_is_pure(); + var IS_NODE = require_engine_is_node(); + var global2 = require_global(); + var call = require_function_call(); + var defineBuiltIn = require_define_built_in(); + var setPrototypeOf = require_object_set_prototype_of(); + var setToStringTag = require_set_to_string_tag(); + var setSpecies = require_set_species(); + var aCallable = require_a_callable(); + var isCallable = require_is_callable(); + var isObject = require_is_object(); + var anInstance = require_an_instance(); + var speciesConstructor = require_species_constructor(); + var task = require_task().set; + var microtask = require_microtask(); + var hostReportErrors = require_host_report_errors(); + var perform = require_perform(); + var Queue = require_queue(); + var InternalStateModule = require_internal_state(); + var NativePromiseConstructor = require_promise_native_constructor(); + var PromiseConstructorDetection = require_promise_constructor_detection(); + var newPromiseCapabilityModule = require_new_promise_capability(); + var PROMISE = "Promise"; + var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR; + var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT; + var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING; + var getInternalPromiseState = InternalStateModule.getterFor(PROMISE); + var setInternalState = InternalStateModule.set; + var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + var PromiseConstructor = NativePromiseConstructor; + var PromisePrototype = NativePromisePrototype; + var TypeError2 = global2.TypeError; + var document2 = global2.document; + var process2 = global2.process; + var newPromiseCapability = newPromiseCapabilityModule.f; + var newGenericPromiseCapability = newPromiseCapability; + var DISPATCH_EVENT = !!(document2 && document2.createEvent && global2.dispatchEvent); + var UNHANDLED_REJECTION = "unhandledrejection"; + var REJECTION_HANDLED = "rejectionhandled"; + var PENDING = 0; + var FULFILLED = 1; + var REJECTED = 2; + var HANDLED = 1; + var UNHANDLED = 2; + var Internal; + var OwnPromiseCapability; + var PromiseWrapper; + var nativeThen; + var isThenable = function(it) { + var then; + return isObject(it) && isCallable(then = it.then) ? then : false; + }; + var callReaction = function(reaction, state2) { + var value = state2.value; + var ok = state2.state == FULFILLED; + var handler = ok ? reaction.ok : reaction.fail; + var resolve = reaction.resolve; + var reject = reaction.reject; + var domain = reaction.domain; + var result, then, exited; + try { + if (handler) { + if (!ok) { + if (state2.rejection === UNHANDLED) + onHandleUnhandled(state2); + state2.rejection = HANDLED; + } + if (handler === true) + result = value; + else { + if (domain) + domain.enter(); + result = handler(value); + if (domain) { + domain.exit(); + exited = true; + } + } + if (result === reaction.promise) { + reject(TypeError2("Promise-chain cycle")); + } else if (then = isThenable(result)) { + call(then, result, resolve, reject); + } else + resolve(result); + } else + reject(value); + } catch (error) { + if (domain && !exited) + domain.exit(); + reject(error); + } + }; + var notify = function(state2, isReject) { + if (state2.notified) + return; + state2.notified = true; + microtask(function() { + var reactions = state2.reactions; + var reaction; + while (reaction = reactions.get()) { + callReaction(reaction, state2); + } + state2.notified = false; + if (isReject && !state2.rejection) + onUnhandled(state2); + }); + }; + var dispatchEvent = function(name, promise, reason) { + var event, handler; + if (DISPATCH_EVENT) { + event = document2.createEvent("Event"); + event.promise = promise; + event.reason = reason; + event.initEvent(name, false, true); + global2.dispatchEvent(event); + } else + event = { promise, reason }; + if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global2["on" + name])) + handler(event); + else if (name === UNHANDLED_REJECTION) + hostReportErrors("Unhandled promise rejection", reason); + }; + var onUnhandled = function(state2) { + call(task, global2, function() { + var promise = state2.facade; + var value = state2.value; + var IS_UNHANDLED = isUnhandled(state2); + var result; + if (IS_UNHANDLED) { + result = perform(function() { + if (IS_NODE) { + process2.emit("unhandledRejection", value, promise); + } else + dispatchEvent(UNHANDLED_REJECTION, promise, value); + }); + state2.rejection = IS_NODE || isUnhandled(state2) ? UNHANDLED : HANDLED; + if (result.error) + throw result.value; + } + }); + }; + var isUnhandled = function(state2) { + return state2.rejection !== HANDLED && !state2.parent; + }; + var onHandleUnhandled = function(state2) { + call(task, global2, function() { + var promise = state2.facade; + if (IS_NODE) { + process2.emit("rejectionHandled", promise); + } else + dispatchEvent(REJECTION_HANDLED, promise, state2.value); + }); + }; + var bind = function(fn, state2, unwrap) { + return function(value) { + fn(state2, value, unwrap); + }; + }; + var internalReject = function(state2, value, unwrap) { + if (state2.done) + return; + state2.done = true; + if (unwrap) + state2 = unwrap; + state2.value = value; + state2.state = REJECTED; + notify(state2, true); + }; + var internalResolve = function(state2, value, unwrap) { + if (state2.done) + return; + state2.done = true; + if (unwrap) + state2 = unwrap; + try { + if (state2.facade === value) + throw TypeError2("Promise can't be resolved itself"); + var then = isThenable(value); + if (then) { + microtask(function() { + var wrapper = { done: false }; + try { + call( + then, + value, + bind(internalResolve, wrapper, state2), + bind(internalReject, wrapper, state2) + ); + } catch (error) { + internalReject(wrapper, error, state2); + } + }); + } else { + state2.value = value; + state2.state = FULFILLED; + notify(state2, false); + } + } catch (error) { + internalReject({ done: false }, error, state2); + } + }; + if (FORCED_PROMISE_CONSTRUCTOR) { + PromiseConstructor = function Promise2(executor) { + anInstance(this, PromisePrototype); + aCallable(executor); + call(Internal, this); + var state2 = getInternalPromiseState(this); + try { + executor(bind(internalResolve, state2), bind(internalReject, state2)); + } catch (error) { + internalReject(state2, error); + } + }; + PromisePrototype = PromiseConstructor.prototype; + Internal = function Promise2(executor) { + setInternalState(this, { + type: PROMISE, + done: false, + notified: false, + parent: false, + reactions: new Queue(), + rejection: false, + state: PENDING, + value: void 0 + }); + }; + Internal.prototype = defineBuiltIn(PromisePrototype, "then", function then(onFulfilled, onRejected) { + var state2 = getInternalPromiseState(this); + var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); + state2.parent = true; + reaction.ok = isCallable(onFulfilled) ? onFulfilled : true; + reaction.fail = isCallable(onRejected) && onRejected; + reaction.domain = IS_NODE ? process2.domain : void 0; + if (state2.state == PENDING) + state2.reactions.add(reaction); + else + microtask(function() { + callReaction(reaction, state2); + }); + return reaction.promise; + }); + OwnPromiseCapability = function() { + var promise = new Internal(); + var state2 = getInternalPromiseState(promise); + this.promise = promise; + this.resolve = bind(internalResolve, state2); + this.reject = bind(internalReject, state2); + }; + newPromiseCapabilityModule.f = newPromiseCapability = function(C2) { + return C2 === PromiseConstructor || C2 === PromiseWrapper ? new OwnPromiseCapability(C2) : newGenericPromiseCapability(C2); + }; + if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) { + nativeThen = NativePromisePrototype.then; + if (!NATIVE_PROMISE_SUBCLASSING) { + defineBuiltIn(NativePromisePrototype, "then", function then(onFulfilled, onRejected) { + var that = this; + return new PromiseConstructor(function(resolve, reject) { + call(nativeThen, that, resolve, reject); + }).then(onFulfilled, onRejected); + }, { unsafe: true }); + } + try { + delete NativePromisePrototype.constructor; + } catch (error) { + } + if (setPrototypeOf) { + setPrototypeOf(NativePromisePrototype, PromisePrototype); + } + } + } + $2({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { + Promise: PromiseConstructor + }); + setToStringTag(PromiseConstructor, PROMISE, false, true); + setSpecies(PROMISE); + } + }); + + // node_modules/core-js/internals/promise-statics-incorrect-iteration.js + var require_promise_statics_incorrect_iteration = __commonJS({ + "node_modules/core-js/internals/promise-statics-incorrect-iteration.js"(exports, module) { + var NativePromiseConstructor = require_promise_native_constructor(); + var checkCorrectnessOfIteration = require_check_correctness_of_iteration(); + var FORCED_PROMISE_CONSTRUCTOR = require_promise_constructor_detection().CONSTRUCTOR; + module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function(iterable) { + NativePromiseConstructor.all(iterable).then(void 0, function() { + }); + }); + } + }); + + // node_modules/core-js/modules/es.promise.all.js + var require_es_promise_all = __commonJS({ + "node_modules/core-js/modules/es.promise.all.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var aCallable = require_a_callable(); + var newPromiseCapabilityModule = require_new_promise_capability(); + var perform = require_perform(); + var iterate = require_iterate(); + var PROMISE_STATICS_INCORRECT_ITERATION = require_promise_statics_incorrect_iteration(); + $2({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + all: function all(iterable) { + var C2 = this; + var capability = newPromiseCapabilityModule.f(C2); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function() { + var $promiseResolve = aCallable(C2.resolve); + var values = []; + var counter = 0; + var remaining = 1; + iterate(iterable, function(promise) { + var index = counter++; + var alreadyCalled = false; + remaining++; + call($promiseResolve, C2, promise).then(function(value) { + if (alreadyCalled) + return; + alreadyCalled = true; + values[index] = value; + --remaining || resolve(values); + }, reject); + }); + --remaining || resolve(values); + }); + if (result.error) + reject(result.value); + return capability.promise; + } + }); + } + }); + + // node_modules/core-js/modules/es.promise.catch.js + var require_es_promise_catch = __commonJS({ + "node_modules/core-js/modules/es.promise.catch.js"() { + "use strict"; + var $2 = require_export(); + var IS_PURE = require_is_pure(); + var FORCED_PROMISE_CONSTRUCTOR = require_promise_constructor_detection().CONSTRUCTOR; + var NativePromiseConstructor = require_promise_native_constructor(); + var getBuiltIn = require_get_built_in(); + var isCallable = require_is_callable(); + var defineBuiltIn = require_define_built_in(); + var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + $2({ target: "Promise", proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, { + "catch": function(onRejected) { + return this.then(void 0, onRejected); + } + }); + if (!IS_PURE && isCallable(NativePromiseConstructor)) { + method = getBuiltIn("Promise").prototype["catch"]; + if (NativePromisePrototype["catch"] !== method) { + defineBuiltIn(NativePromisePrototype, "catch", method, { unsafe: true }); + } + } + var method; + } + }); + + // node_modules/core-js/modules/es.promise.race.js + var require_es_promise_race = __commonJS({ + "node_modules/core-js/modules/es.promise.race.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var aCallable = require_a_callable(); + var newPromiseCapabilityModule = require_new_promise_capability(); + var perform = require_perform(); + var iterate = require_iterate(); + var PROMISE_STATICS_INCORRECT_ITERATION = require_promise_statics_incorrect_iteration(); + $2({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + race: function race(iterable) { + var C2 = this; + var capability = newPromiseCapabilityModule.f(C2); + var reject = capability.reject; + var result = perform(function() { + var $promiseResolve = aCallable(C2.resolve); + iterate(iterable, function(promise) { + call($promiseResolve, C2, promise).then(capability.resolve, reject); + }); + }); + if (result.error) + reject(result.value); + return capability.promise; + } + }); + } + }); + + // node_modules/core-js/modules/es.promise.reject.js + var require_es_promise_reject = __commonJS({ + "node_modules/core-js/modules/es.promise.reject.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var newPromiseCapabilityModule = require_new_promise_capability(); + var FORCED_PROMISE_CONSTRUCTOR = require_promise_constructor_detection().CONSTRUCTOR; + $2({ target: "Promise", stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { + reject: function reject(r4) { + var capability = newPromiseCapabilityModule.f(this); + call(capability.reject, void 0, r4); + return capability.promise; + } + }); + } + }); + + // node_modules/core-js/internals/promise-resolve.js + var require_promise_resolve = __commonJS({ + "node_modules/core-js/internals/promise-resolve.js"(exports, module) { + var anObject = require_an_object(); + var isObject = require_is_object(); + var newPromiseCapability = require_new_promise_capability(); + module.exports = function(C2, x2) { + anObject(C2); + if (isObject(x2) && x2.constructor === C2) + return x2; + var promiseCapability = newPromiseCapability.f(C2); + var resolve = promiseCapability.resolve; + resolve(x2); + return promiseCapability.promise; + }; + } + }); + + // node_modules/core-js/modules/es.promise.resolve.js + var require_es_promise_resolve = __commonJS({ + "node_modules/core-js/modules/es.promise.resolve.js"() { + "use strict"; + var $2 = require_export(); + var getBuiltIn = require_get_built_in(); + var IS_PURE = require_is_pure(); + var NativePromiseConstructor = require_promise_native_constructor(); + var FORCED_PROMISE_CONSTRUCTOR = require_promise_constructor_detection().CONSTRUCTOR; + var promiseResolve = require_promise_resolve(); + var PromiseConstructorWrapper = getBuiltIn("Promise"); + var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR; + $2({ target: "Promise", stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, { + resolve: function resolve(x2) { + return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x2); + } + }); + } + }); + + // node_modules/core-js/modules/es.promise.js + var require_es_promise = __commonJS({ + "node_modules/core-js/modules/es.promise.js"() { + require_es_promise_constructor(); + require_es_promise_all(); + require_es_promise_catch(); + require_es_promise_race(); + require_es_promise_reject(); + require_es_promise_resolve(); + } + }); + + // node_modules/core-js/modules/es.promise.all-settled.js + var require_es_promise_all_settled = __commonJS({ + "node_modules/core-js/modules/es.promise.all-settled.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var aCallable = require_a_callable(); + var newPromiseCapabilityModule = require_new_promise_capability(); + var perform = require_perform(); + var iterate = require_iterate(); + var PROMISE_STATICS_INCORRECT_ITERATION = require_promise_statics_incorrect_iteration(); + $2({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + allSettled: function allSettled(iterable) { + var C2 = this; + var capability = newPromiseCapabilityModule.f(C2); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function() { + var promiseResolve = aCallable(C2.resolve); + var values = []; + var counter = 0; + var remaining = 1; + iterate(iterable, function(promise) { + var index = counter++; + var alreadyCalled = false; + remaining++; + call(promiseResolve, C2, promise).then(function(value) { + if (alreadyCalled) + return; + alreadyCalled = true; + values[index] = { status: "fulfilled", value }; + --remaining || resolve(values); + }, function(error) { + if (alreadyCalled) + return; + alreadyCalled = true; + values[index] = { status: "rejected", reason: error }; + --remaining || resolve(values); + }); + }); + --remaining || resolve(values); + }); + if (result.error) + reject(result.value); + return capability.promise; + } + }); + } + }); + + // node_modules/core-js/modules/es.promise.any.js + var require_es_promise_any = __commonJS({ + "node_modules/core-js/modules/es.promise.any.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var aCallable = require_a_callable(); + var getBuiltIn = require_get_built_in(); + var newPromiseCapabilityModule = require_new_promise_capability(); + var perform = require_perform(); + var iterate = require_iterate(); + var PROMISE_STATICS_INCORRECT_ITERATION = require_promise_statics_incorrect_iteration(); + var PROMISE_ANY_ERROR = "No one promise resolved"; + $2({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + any: function any(iterable) { + var C2 = this; + var AggregateError = getBuiltIn("AggregateError"); + var capability = newPromiseCapabilityModule.f(C2); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function() { + var promiseResolve = aCallable(C2.resolve); + var errors = []; + var counter = 0; + var remaining = 1; + var alreadyResolved = false; + iterate(iterable, function(promise) { + var index = counter++; + var alreadyRejected = false; + remaining++; + call(promiseResolve, C2, promise).then(function(value) { + if (alreadyRejected || alreadyResolved) + return; + alreadyResolved = true; + resolve(value); + }, function(error) { + if (alreadyRejected || alreadyResolved) + return; + alreadyRejected = true; + errors[index] = error; + --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); + }); + }); + --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); + }); + if (result.error) + reject(result.value); + return capability.promise; + } + }); + } + }); + + // node_modules/core-js/modules/es.promise.finally.js + var require_es_promise_finally = __commonJS({ + "node_modules/core-js/modules/es.promise.finally.js"() { + "use strict"; + var $2 = require_export(); + var IS_PURE = require_is_pure(); + var NativePromiseConstructor = require_promise_native_constructor(); + var fails = require_fails(); + var getBuiltIn = require_get_built_in(); + var isCallable = require_is_callable(); + var speciesConstructor = require_species_constructor(); + var promiseResolve = require_promise_resolve(); + var defineBuiltIn = require_define_built_in(); + var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + var NON_GENERIC = !!NativePromiseConstructor && fails(function() { + NativePromisePrototype["finally"].call({ then: function() { + } }, function() { + }); + }); + $2({ target: "Promise", proto: true, real: true, forced: NON_GENERIC }, { + "finally": function(onFinally) { + var C2 = speciesConstructor(this, getBuiltIn("Promise")); + var isFunction = isCallable(onFinally); + return this.then( + isFunction ? function(x2) { + return promiseResolve(C2, onFinally()).then(function() { + return x2; + }); + } : onFinally, + isFunction ? function(e7) { + return promiseResolve(C2, onFinally()).then(function() { + throw e7; + }); + } : onFinally + ); + } + }); + if (!IS_PURE && isCallable(NativePromiseConstructor)) { + method = getBuiltIn("Promise").prototype["finally"]; + if (NativePromisePrototype["finally"] !== method) { + defineBuiltIn(NativePromisePrototype, "finally", method, { unsafe: true }); + } + } + var method; + } + }); + + // node_modules/core-js/modules/es.reflect.apply.js + var require_es_reflect_apply = __commonJS({ + "node_modules/core-js/modules/es.reflect.apply.js"() { + var $2 = require_export(); + var functionApply = require_function_apply(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var fails = require_fails(); + var OPTIONAL_ARGUMENTS_LIST = !fails(function() { + Reflect.apply(function() { + }); + }); + $2({ target: "Reflect", stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, { + apply: function apply(target, thisArgument, argumentsList) { + return functionApply(aCallable(target), thisArgument, anObject(argumentsList)); + } + }); + } + }); + + // node_modules/core-js/modules/es.reflect.construct.js + var require_es_reflect_construct = __commonJS({ + "node_modules/core-js/modules/es.reflect.construct.js"() { + var $2 = require_export(); + var getBuiltIn = require_get_built_in(); + var apply = require_function_apply(); + var bind = require_function_bind(); + var aConstructor = require_a_constructor(); + var anObject = require_an_object(); + var isObject = require_is_object(); + var create = require_object_create(); + var fails = require_fails(); + var nativeConstruct = getBuiltIn("Reflect", "construct"); + var ObjectPrototype = Object.prototype; + var push = [].push; + var NEW_TARGET_BUG = fails(function() { + function F() { + } + return !(nativeConstruct(function() { + }, [], F) instanceof F); + }); + var ARGS_BUG = !fails(function() { + nativeConstruct(function() { + }); + }); + var FORCED = NEW_TARGET_BUG || ARGS_BUG; + $2({ target: "Reflect", stat: true, forced: FORCED, sham: FORCED }, { + construct: function construct(Target, args) { + aConstructor(Target); + anObject(args); + var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]); + if (ARGS_BUG && !NEW_TARGET_BUG) + return nativeConstruct(Target, args, newTarget); + if (Target == newTarget) { + switch (args.length) { + case 0: + return new Target(); + case 1: + return new Target(args[0]); + case 2: + return new Target(args[0], args[1]); + case 3: + return new Target(args[0], args[1], args[2]); + case 4: + return new Target(args[0], args[1], args[2], args[3]); + } + var $args = [null]; + apply(push, $args, args); + return new (apply(bind, Target, $args))(); + } + var proto = newTarget.prototype; + var instance = create(isObject(proto) ? proto : ObjectPrototype); + var result = apply(Target, instance, args); + return isObject(result) ? result : instance; + } + }); + } + }); + + // node_modules/core-js/modules/es.reflect.define-property.js + var require_es_reflect_define_property = __commonJS({ + "node_modules/core-js/modules/es.reflect.define-property.js"() { + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var anObject = require_an_object(); + var toPropertyKey = require_to_property_key(); + var definePropertyModule = require_object_define_property(); + var fails = require_fails(); + var ERROR_INSTEAD_OF_FALSE = fails(function() { + Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 }); + }); + $2({ target: "Reflect", stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, { + defineProperty: function defineProperty(target, propertyKey, attributes) { + anObject(target); + var key = toPropertyKey(propertyKey); + anObject(attributes); + try { + definePropertyModule.f(target, key, attributes); + return true; + } catch (error) { + return false; + } + } + }); + } + }); + + // node_modules/core-js/modules/es.reflect.delete-property.js + var require_es_reflect_delete_property = __commonJS({ + "node_modules/core-js/modules/es.reflect.delete-property.js"() { + var $2 = require_export(); + var anObject = require_an_object(); + var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; + $2({ target: "Reflect", stat: true }, { + deleteProperty: function deleteProperty(target, propertyKey) { + var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey); + return descriptor && !descriptor.configurable ? false : delete target[propertyKey]; + } + }); + } + }); + + // node_modules/core-js/internals/is-data-descriptor.js + var require_is_data_descriptor = __commonJS({ + "node_modules/core-js/internals/is-data-descriptor.js"(exports, module) { + var hasOwn = require_has_own_property(); + module.exports = function(descriptor) { + return descriptor !== void 0 && (hasOwn(descriptor, "value") || hasOwn(descriptor, "writable")); + }; + } + }); + + // node_modules/core-js/modules/es.reflect.get.js + var require_es_reflect_get = __commonJS({ + "node_modules/core-js/modules/es.reflect.get.js"() { + var $2 = require_export(); + var call = require_function_call(); + var isObject = require_is_object(); + var anObject = require_an_object(); + var isDataDescriptor = require_is_data_descriptor(); + var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); + var getPrototypeOf = require_object_get_prototype_of(); + function get(target, propertyKey) { + var receiver = arguments.length < 3 ? target : arguments[2]; + var descriptor, prototype; + if (anObject(target) === receiver) + return target[propertyKey]; + descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey); + if (descriptor) + return isDataDescriptor(descriptor) ? descriptor.value : descriptor.get === void 0 ? void 0 : call(descriptor.get, receiver); + if (isObject(prototype = getPrototypeOf(target))) + return get(prototype, propertyKey, receiver); + } + $2({ target: "Reflect", stat: true }, { + get + }); + } + }); + + // node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js + var require_es_reflect_get_own_property_descriptor = __commonJS({ + "node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js"() { + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var anObject = require_an_object(); + var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); + $2({ target: "Reflect", stat: true, sham: !DESCRIPTORS }, { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { + return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); + } + }); + } + }); + + // node_modules/core-js/modules/es.reflect.get-prototype-of.js + var require_es_reflect_get_prototype_of = __commonJS({ + "node_modules/core-js/modules/es.reflect.get-prototype-of.js"() { + var $2 = require_export(); + var anObject = require_an_object(); + var objectGetPrototypeOf = require_object_get_prototype_of(); + var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter(); + $2({ target: "Reflect", stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, { + getPrototypeOf: function getPrototypeOf(target) { + return objectGetPrototypeOf(anObject(target)); + } + }); + } + }); + + // node_modules/core-js/modules/es.reflect.has.js + var require_es_reflect_has = __commonJS({ + "node_modules/core-js/modules/es.reflect.has.js"() { + var $2 = require_export(); + $2({ target: "Reflect", stat: true }, { + has: function has(target, propertyKey) { + return propertyKey in target; + } + }); + } + }); + + // node_modules/core-js/modules/es.reflect.is-extensible.js + var require_es_reflect_is_extensible = __commonJS({ + "node_modules/core-js/modules/es.reflect.is-extensible.js"() { + var $2 = require_export(); + var anObject = require_an_object(); + var $isExtensible = require_object_is_extensible(); + $2({ target: "Reflect", stat: true }, { + isExtensible: function isExtensible(target) { + anObject(target); + return $isExtensible(target); + } + }); + } + }); + + // node_modules/core-js/modules/es.reflect.own-keys.js + var require_es_reflect_own_keys = __commonJS({ + "node_modules/core-js/modules/es.reflect.own-keys.js"() { + var $2 = require_export(); + var ownKeys = require_own_keys(); + $2({ target: "Reflect", stat: true }, { + ownKeys + }); + } + }); + + // node_modules/core-js/modules/es.reflect.prevent-extensions.js + var require_es_reflect_prevent_extensions = __commonJS({ + "node_modules/core-js/modules/es.reflect.prevent-extensions.js"() { + var $2 = require_export(); + var getBuiltIn = require_get_built_in(); + var anObject = require_an_object(); + var FREEZING = require_freezing(); + $2({ target: "Reflect", stat: true, sham: !FREEZING }, { + preventExtensions: function preventExtensions(target) { + anObject(target); + try { + var objectPreventExtensions = getBuiltIn("Object", "preventExtensions"); + if (objectPreventExtensions) + objectPreventExtensions(target); + return true; + } catch (error) { + return false; + } + } + }); + } + }); + + // node_modules/core-js/modules/es.reflect.set.js + var require_es_reflect_set = __commonJS({ + "node_modules/core-js/modules/es.reflect.set.js"() { + var $2 = require_export(); + var call = require_function_call(); + var anObject = require_an_object(); + var isObject = require_is_object(); + var isDataDescriptor = require_is_data_descriptor(); + var fails = require_fails(); + var definePropertyModule = require_object_define_property(); + var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); + var getPrototypeOf = require_object_get_prototype_of(); + var createPropertyDescriptor = require_create_property_descriptor(); + function set(target, propertyKey, V2) { + var receiver = arguments.length < 4 ? target : arguments[3]; + var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); + var existingDescriptor, prototype, setter; + if (!ownDescriptor) { + if (isObject(prototype = getPrototypeOf(target))) { + return set(prototype, propertyKey, V2, receiver); + } + ownDescriptor = createPropertyDescriptor(0); + } + if (isDataDescriptor(ownDescriptor)) { + if (ownDescriptor.writable === false || !isObject(receiver)) + return false; + if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) { + if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) + return false; + existingDescriptor.value = V2; + definePropertyModule.f(receiver, propertyKey, existingDescriptor); + } else + definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V2)); + } else { + setter = ownDescriptor.set; + if (setter === void 0) + return false; + call(setter, receiver, V2); + } + return true; + } + var MS_EDGE_BUG = fails(function() { + var Constructor = function() { + }; + var object = definePropertyModule.f(new Constructor(), "a", { configurable: true }); + return Reflect.set(Constructor.prototype, "a", 1, object) !== false; + }); + $2({ target: "Reflect", stat: true, forced: MS_EDGE_BUG }, { + set + }); + } + }); + + // node_modules/core-js/modules/es.reflect.set-prototype-of.js + var require_es_reflect_set_prototype_of = __commonJS({ + "node_modules/core-js/modules/es.reflect.set-prototype-of.js"() { + var $2 = require_export(); + var anObject = require_an_object(); + var aPossiblePrototype = require_a_possible_prototype(); + var objectSetPrototypeOf = require_object_set_prototype_of(); + if (objectSetPrototypeOf) + $2({ target: "Reflect", stat: true }, { + setPrototypeOf: function setPrototypeOf(target, proto) { + anObject(target); + aPossiblePrototype(proto); + try { + objectSetPrototypeOf(target, proto); + return true; + } catch (error) { + return false; + } + } + }); + } + }); + + // node_modules/core-js/modules/es.reflect.to-string-tag.js + var require_es_reflect_to_string_tag = __commonJS({ + "node_modules/core-js/modules/es.reflect.to-string-tag.js"() { + var $2 = require_export(); + var global2 = require_global(); + var setToStringTag = require_set_to_string_tag(); + $2({ global: true }, { Reflect: {} }); + setToStringTag(global2.Reflect, "Reflect", true); + } + }); + + // node_modules/core-js/internals/is-regexp.js + var require_is_regexp = __commonJS({ + "node_modules/core-js/internals/is-regexp.js"(exports, module) { + var isObject = require_is_object(); + var classof = require_classof_raw(); + var wellKnownSymbol = require_well_known_symbol(); + var MATCH = wellKnownSymbol("match"); + module.exports = function(it) { + var isRegExp; + return isObject(it) && ((isRegExp = it[MATCH]) !== void 0 ? !!isRegExp : classof(it) == "RegExp"); + }; + } + }); + + // node_modules/core-js/internals/regexp-flags.js + var require_regexp_flags = __commonJS({ + "node_modules/core-js/internals/regexp-flags.js"(exports, module) { + "use strict"; + var anObject = require_an_object(); + module.exports = function() { + var that = anObject(this); + var result = ""; + if (that.hasIndices) + result += "d"; + if (that.global) + result += "g"; + if (that.ignoreCase) + result += "i"; + if (that.multiline) + result += "m"; + if (that.dotAll) + result += "s"; + if (that.unicode) + result += "u"; + if (that.unicodeSets) + result += "v"; + if (that.sticky) + result += "y"; + return result; + }; + } + }); + + // node_modules/core-js/internals/regexp-get-flags.js + var require_regexp_get_flags = __commonJS({ + "node_modules/core-js/internals/regexp-get-flags.js"(exports, module) { + var call = require_function_call(); + var hasOwn = require_has_own_property(); + var isPrototypeOf = require_object_is_prototype_of(); + var regExpFlags = require_regexp_flags(); + var RegExpPrototype = RegExp.prototype; + module.exports = function(R2) { + var flags = R2.flags; + return flags === void 0 && !("flags" in RegExpPrototype) && !hasOwn(R2, "flags") && isPrototypeOf(RegExpPrototype, R2) ? call(regExpFlags, R2) : flags; + }; + } + }); + + // node_modules/core-js/internals/regexp-sticky-helpers.js + var require_regexp_sticky_helpers = __commonJS({ + "node_modules/core-js/internals/regexp-sticky-helpers.js"(exports, module) { + var fails = require_fails(); + var global2 = require_global(); + var $RegExp = global2.RegExp; + var UNSUPPORTED_Y = fails(function() { + var re = $RegExp("a", "y"); + re.lastIndex = 2; + return re.exec("abcd") != null; + }); + var MISSED_STICKY = UNSUPPORTED_Y || fails(function() { + return !$RegExp("a", "y").sticky; + }); + var BROKEN_CARET = UNSUPPORTED_Y || fails(function() { + var re = $RegExp("^r", "gy"); + re.lastIndex = 2; + return re.exec("str") != null; + }); + module.exports = { + BROKEN_CARET, + MISSED_STICKY, + UNSUPPORTED_Y + }; + } + }); + + // node_modules/core-js/internals/regexp-unsupported-dot-all.js + var require_regexp_unsupported_dot_all = __commonJS({ + "node_modules/core-js/internals/regexp-unsupported-dot-all.js"(exports, module) { + var fails = require_fails(); + var global2 = require_global(); + var $RegExp = global2.RegExp; + module.exports = fails(function() { + var re = $RegExp(".", "s"); + return !(re.dotAll && re.exec("\n") && re.flags === "s"); + }); + } + }); + + // node_modules/core-js/internals/regexp-unsupported-ncg.js + var require_regexp_unsupported_ncg = __commonJS({ + "node_modules/core-js/internals/regexp-unsupported-ncg.js"(exports, module) { + var fails = require_fails(); + var global2 = require_global(); + var $RegExp = global2.RegExp; + module.exports = fails(function() { + var re = $RegExp("(?b)", "g"); + return re.exec("b").groups.a !== "b" || "b".replace(re, "$c") !== "bc"; + }); + } + }); + + // node_modules/core-js/modules/es.regexp.constructor.js + var require_es_regexp_constructor = __commonJS({ + "node_modules/core-js/modules/es.regexp.constructor.js"() { + var DESCRIPTORS = require_descriptors(); + var global2 = require_global(); + var uncurryThis = require_function_uncurry_this(); + var isForced = require_is_forced(); + var inheritIfRequired = require_inherit_if_required(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var getOwnPropertyNames = require_object_get_own_property_names().f; + var isPrototypeOf = require_object_is_prototype_of(); + var isRegExp = require_is_regexp(); + var toString = require_to_string(); + var getRegExpFlags = require_regexp_get_flags(); + var stickyHelpers = require_regexp_sticky_helpers(); + var proxyAccessor = require_proxy_accessor(); + var defineBuiltIn = require_define_built_in(); + var fails = require_fails(); + var hasOwn = require_has_own_property(); + var enforceInternalState = require_internal_state().enforce; + var setSpecies = require_set_species(); + var wellKnownSymbol = require_well_known_symbol(); + var UNSUPPORTED_DOT_ALL = require_regexp_unsupported_dot_all(); + var UNSUPPORTED_NCG = require_regexp_unsupported_ncg(); + var MATCH = wellKnownSymbol("match"); + var NativeRegExp = global2.RegExp; + var RegExpPrototype = NativeRegExp.prototype; + var SyntaxError2 = global2.SyntaxError; + var exec = uncurryThis(RegExpPrototype.exec); + var charAt = uncurryThis("".charAt); + var replace = uncurryThis("".replace); + var stringIndexOf = uncurryThis("".indexOf); + var stringSlice = uncurryThis("".slice); + var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; + var re1 = /a/g; + var re2 = /a/g; + var CORRECT_NEW = new NativeRegExp(re1) !== re1; + var MISSED_STICKY = stickyHelpers.MISSED_STICKY; + var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; + var BASE_FORCED = DESCRIPTORS && (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function() { + re2[MATCH] = false; + return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, "i") != "/a/i"; + })); + var handleDotAll = function(string) { + var length = string.length; + var index2 = 0; + var result = ""; + var brackets = false; + var chr; + for (; index2 <= length; index2++) { + chr = charAt(string, index2); + if (chr === "\\") { + result += chr + charAt(string, ++index2); + continue; + } + if (!brackets && chr === ".") { + result += "[\\s\\S]"; + } else { + if (chr === "[") { + brackets = true; + } else if (chr === "]") { + brackets = false; + } + result += chr; + } + } + return result; + }; + var handleNCG = function(string) { + var length = string.length; + var index2 = 0; + var result = ""; + var named = []; + var names = {}; + var brackets = false; + var ncg = false; + var groupid = 0; + var groupname = ""; + var chr; + for (; index2 <= length; index2++) { + chr = charAt(string, index2); + if (chr === "\\") { + chr = chr + charAt(string, ++index2); + } else if (chr === "]") { + brackets = false; + } else if (!brackets) + switch (true) { + case chr === "[": + brackets = true; + break; + case chr === "(": + if (exec(IS_NCG, stringSlice(string, index2 + 1))) { + index2 += 2; + ncg = true; + } + result += chr; + groupid++; + continue; + case (chr === ">" && ncg): + if (groupname === "" || hasOwn(names, groupname)) { + throw new SyntaxError2("Invalid capture group name"); + } + names[groupname] = true; + named[named.length] = [groupname, groupid]; + ncg = false; + groupname = ""; + continue; + } + if (ncg) + groupname += chr; + else + result += chr; + } + return [result, named]; + }; + if (isForced("RegExp", BASE_FORCED)) { + RegExpWrapper = function RegExp2(pattern, flags) { + var thisIsRegExp = isPrototypeOf(RegExpPrototype, this); + var patternIsRegExp = isRegExp(pattern); + var flagsAreUndefined = flags === void 0; + var groups = []; + var rawPattern = pattern; + var rawFlags, dotAll, sticky, handled, result, state2; + if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) { + return pattern; + } + if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) { + pattern = pattern.source; + if (flagsAreUndefined) + flags = getRegExpFlags(rawPattern); + } + pattern = pattern === void 0 ? "" : toString(pattern); + flags = flags === void 0 ? "" : toString(flags); + rawPattern = pattern; + if (UNSUPPORTED_DOT_ALL && "dotAll" in re1) { + dotAll = !!flags && stringIndexOf(flags, "s") > -1; + if (dotAll) + flags = replace(flags, /s/g, ""); + } + rawFlags = flags; + if (MISSED_STICKY && "sticky" in re1) { + sticky = !!flags && stringIndexOf(flags, "y") > -1; + if (sticky && UNSUPPORTED_Y) + flags = replace(flags, /y/g, ""); + } + if (UNSUPPORTED_NCG) { + handled = handleNCG(pattern); + pattern = handled[0]; + groups = handled[1]; + } + result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper); + if (dotAll || sticky || groups.length) { + state2 = enforceInternalState(result); + if (dotAll) { + state2.dotAll = true; + state2.raw = RegExpWrapper(handleDotAll(pattern), rawFlags); + } + if (sticky) + state2.sticky = true; + if (groups.length) + state2.groups = groups; + } + if (pattern !== rawPattern) + try { + createNonEnumerableProperty(result, "source", rawPattern === "" ? "(?:)" : rawPattern); + } catch (error) { + } + return result; + }; + for (keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index; ) { + proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]); + } + RegExpPrototype.constructor = RegExpWrapper; + RegExpWrapper.prototype = RegExpPrototype; + defineBuiltIn(global2, "RegExp", RegExpWrapper, { constructor: true }); + } + var RegExpWrapper; + var keys; + var index; + setSpecies("RegExp"); + } + }); + + // node_modules/core-js/modules/es.regexp.dot-all.js + var require_es_regexp_dot_all = __commonJS({ + "node_modules/core-js/modules/es.regexp.dot-all.js"() { + var DESCRIPTORS = require_descriptors(); + var UNSUPPORTED_DOT_ALL = require_regexp_unsupported_dot_all(); + var classof = require_classof_raw(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var getInternalState = require_internal_state().get; + var RegExpPrototype = RegExp.prototype; + var $TypeError = TypeError; + if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) { + defineBuiltInAccessor(RegExpPrototype, "dotAll", { + configurable: true, + get: function dotAll() { + if (this === RegExpPrototype) + return void 0; + if (classof(this) === "RegExp") { + return !!getInternalState(this).dotAll; + } + throw $TypeError("Incompatible receiver, RegExp required"); + } + }); + } + } + }); + + // node_modules/core-js/internals/regexp-exec.js + var require_regexp_exec = __commonJS({ + "node_modules/core-js/internals/regexp-exec.js"(exports, module) { + "use strict"; + var call = require_function_call(); + var uncurryThis = require_function_uncurry_this(); + var toString = require_to_string(); + var regexpFlags = require_regexp_flags(); + var stickyHelpers = require_regexp_sticky_helpers(); + var shared = require_shared(); + var create = require_object_create(); + var getInternalState = require_internal_state().get; + var UNSUPPORTED_DOT_ALL = require_regexp_unsupported_dot_all(); + var UNSUPPORTED_NCG = require_regexp_unsupported_ncg(); + var nativeReplace = shared("native-string-replace", String.prototype.replace); + var nativeExec = RegExp.prototype.exec; + var patchedExec = nativeExec; + var charAt = uncurryThis("".charAt); + var indexOf = uncurryThis("".indexOf); + var replace = uncurryThis("".replace); + var stringSlice = uncurryThis("".slice); + var UPDATES_LAST_INDEX_WRONG = function() { + var re1 = /a/; + var re2 = /b*/g; + call(nativeExec, re1, "a"); + call(nativeExec, re2, "a"); + return re1.lastIndex !== 0 || re2.lastIndex !== 0; + }(); + var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET; + var NPCG_INCLUDED = /()??/.exec("")[1] !== void 0; + var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; + if (PATCH) { + patchedExec = function exec(string) { + var re = this; + var state2 = getInternalState(re); + var str = toString(string); + var raw = state2.raw; + var result, reCopy, lastIndex, match, i4, object, group; + if (raw) { + raw.lastIndex = re.lastIndex; + result = call(patchedExec, raw, str); + re.lastIndex = raw.lastIndex; + return result; + } + var groups = state2.groups; + var sticky = UNSUPPORTED_Y && re.sticky; + var flags = call(regexpFlags, re); + var source = re.source; + var charsAdded = 0; + var strCopy = str; + if (sticky) { + flags = replace(flags, "y", ""); + if (indexOf(flags, "g") === -1) { + flags += "g"; + } + strCopy = stringSlice(str, re.lastIndex); + if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== "\n")) { + source = "(?: " + source + ")"; + strCopy = " " + strCopy; + charsAdded++; + } + reCopy = new RegExp("^(?:" + source + ")", flags); + } + if (NPCG_INCLUDED) { + reCopy = new RegExp("^" + source + "$(?!\\s)", flags); + } + if (UPDATES_LAST_INDEX_WRONG) + lastIndex = re.lastIndex; + match = call(nativeExec, sticky ? reCopy : re, strCopy); + if (sticky) { + if (match) { + match.input = stringSlice(match.input, charsAdded); + match[0] = stringSlice(match[0], charsAdded); + match.index = re.lastIndex; + re.lastIndex += match[0].length; + } else + re.lastIndex = 0; + } else if (UPDATES_LAST_INDEX_WRONG && match) { + re.lastIndex = re.global ? match.index + match[0].length : lastIndex; + } + if (NPCG_INCLUDED && match && match.length > 1) { + call(nativeReplace, match[0], reCopy, function() { + for (i4 = 1; i4 < arguments.length - 2; i4++) { + if (arguments[i4] === void 0) + match[i4] = void 0; + } + }); + } + if (match && groups) { + match.groups = object = create(null); + for (i4 = 0; i4 < groups.length; i4++) { + group = groups[i4]; + object[group[0]] = match[group[1]]; + } + } + return match; + }; + } + module.exports = patchedExec; + } + }); + + // node_modules/core-js/modules/es.regexp.exec.js + var require_es_regexp_exec = __commonJS({ + "node_modules/core-js/modules/es.regexp.exec.js"() { + "use strict"; + var $2 = require_export(); + var exec = require_regexp_exec(); + $2({ target: "RegExp", proto: true, forced: /./.exec !== exec }, { + exec + }); + } + }); + + // node_modules/core-js/modules/es.regexp.flags.js + var require_es_regexp_flags = __commonJS({ + "node_modules/core-js/modules/es.regexp.flags.js"() { + var global2 = require_global(); + var DESCRIPTORS = require_descriptors(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var regExpFlags = require_regexp_flags(); + var fails = require_fails(); + var RegExp2 = global2.RegExp; + var RegExpPrototype = RegExp2.prototype; + var FORCED = DESCRIPTORS && fails(function() { + var INDICES_SUPPORT = true; + try { + RegExp2(".", "d"); + } catch (error) { + INDICES_SUPPORT = false; + } + var O = {}; + var calls = ""; + var expected = INDICES_SUPPORT ? "dgimsy" : "gimsy"; + var addGetter = function(key2, chr) { + Object.defineProperty(O, key2, { get: function() { + calls += chr; + return true; + } }); + }; + var pairs = { + dotAll: "s", + global: "g", + ignoreCase: "i", + multiline: "m", + sticky: "y" + }; + if (INDICES_SUPPORT) + pairs.hasIndices = "d"; + for (var key in pairs) + addGetter(key, pairs[key]); + var result = Object.getOwnPropertyDescriptor(RegExpPrototype, "flags").get.call(O); + return result !== expected || calls !== expected; + }); + if (FORCED) + defineBuiltInAccessor(RegExpPrototype, "flags", { + configurable: true, + get: regExpFlags + }); + } + }); + + // node_modules/core-js/modules/es.regexp.sticky.js + var require_es_regexp_sticky = __commonJS({ + "node_modules/core-js/modules/es.regexp.sticky.js"() { + var DESCRIPTORS = require_descriptors(); + var MISSED_STICKY = require_regexp_sticky_helpers().MISSED_STICKY; + var classof = require_classof_raw(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var getInternalState = require_internal_state().get; + var RegExpPrototype = RegExp.prototype; + var $TypeError = TypeError; + if (DESCRIPTORS && MISSED_STICKY) { + defineBuiltInAccessor(RegExpPrototype, "sticky", { + configurable: true, + get: function sticky() { + if (this === RegExpPrototype) + return; + if (classof(this) === "RegExp") { + return !!getInternalState(this).sticky; + } + throw $TypeError("Incompatible receiver, RegExp required"); + } + }); + } + } + }); + + // node_modules/core-js/modules/es.regexp.test.js + var require_es_regexp_test = __commonJS({ + "node_modules/core-js/modules/es.regexp.test.js"() { + "use strict"; + require_es_regexp_exec(); + var $2 = require_export(); + var call = require_function_call(); + var isCallable = require_is_callable(); + var anObject = require_an_object(); + var toString = require_to_string(); + var DELEGATES_TO_EXEC = function() { + var execCalled = false; + var re = /[ac]/; + re.exec = function() { + execCalled = true; + return /./.exec.apply(this, arguments); + }; + return re.test("abc") === true && execCalled; + }(); + var nativeTest = /./.test; + $2({ target: "RegExp", proto: true, forced: !DELEGATES_TO_EXEC }, { + test: function(S3) { + var R2 = anObject(this); + var string = toString(S3); + var exec = R2.exec; + if (!isCallable(exec)) + return call(nativeTest, R2, string); + var result = call(exec, R2, string); + if (result === null) + return false; + anObject(result); + return true; + } + }); + } + }); + + // node_modules/core-js/modules/es.regexp.to-string.js + var require_es_regexp_to_string = __commonJS({ + "node_modules/core-js/modules/es.regexp.to-string.js"() { + "use strict"; + var PROPER_FUNCTION_NAME = require_function_name().PROPER; + var defineBuiltIn = require_define_built_in(); + var anObject = require_an_object(); + var $toString = require_to_string(); + var fails = require_fails(); + var getRegExpFlags = require_regexp_get_flags(); + var TO_STRING = "toString"; + var RegExpPrototype = RegExp.prototype; + var nativeToString = RegExpPrototype[TO_STRING]; + var NOT_GENERIC = fails(function() { + return nativeToString.call({ source: "a", flags: "b" }) != "/a/b"; + }); + var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name != TO_STRING; + if (NOT_GENERIC || INCORRECT_NAME) { + defineBuiltIn(RegExp.prototype, TO_STRING, function toString() { + var R2 = anObject(this); + var pattern = $toString(R2.source); + var flags = $toString(getRegExpFlags(R2)); + return "/" + pattern + "/" + flags; + }, { unsafe: true }); + } + } + }); + + // node_modules/core-js/modules/es.set.constructor.js + var require_es_set_constructor = __commonJS({ + "node_modules/core-js/modules/es.set.constructor.js"() { + "use strict"; + var collection = require_collection(); + var collectionStrong = require_collection_strong(); + collection("Set", function(init) { + return function Set2() { + return init(this, arguments.length ? arguments[0] : void 0); + }; + }, collectionStrong); + } + }); + + // node_modules/core-js/modules/es.set.js + var require_es_set = __commonJS({ + "node_modules/core-js/modules/es.set.js"() { + require_es_set_constructor(); + } + }); + + // node_modules/core-js/modules/es.string.at-alternative.js + var require_es_string_at_alternative = __commonJS({ + "node_modules/core-js/modules/es.string.at-alternative.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var requireObjectCoercible = require_require_object_coercible(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var toString = require_to_string(); + var fails = require_fails(); + var charAt = uncurryThis("".charAt); + var FORCED = fails(function() { + return "\u{20BB7}".at(-2) !== "\uD842"; + }); + $2({ target: "String", proto: true, forced: FORCED }, { + at: function at(index) { + var S3 = toString(requireObjectCoercible(this)); + var len = S3.length; + var relativeIndex = toIntegerOrInfinity(index); + var k2 = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return k2 < 0 || k2 >= len ? void 0 : charAt(S3, k2); + } + }); + } + }); + + // node_modules/core-js/internals/string-multibyte.js + var require_string_multibyte = __commonJS({ + "node_modules/core-js/internals/string-multibyte.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var toString = require_to_string(); + var requireObjectCoercible = require_require_object_coercible(); + var charAt = uncurryThis("".charAt); + var charCodeAt = uncurryThis("".charCodeAt); + var stringSlice = uncurryThis("".slice); + var createMethod = function(CONVERT_TO_STRING) { + return function($this, pos) { + var S3 = toString(requireObjectCoercible($this)); + var position = toIntegerOrInfinity(pos); + var size = S3.length; + var first, second; + if (position < 0 || position >= size) + return CONVERT_TO_STRING ? "" : void 0; + first = charCodeAt(S3, position); + return first < 55296 || first > 56319 || position + 1 === size || (second = charCodeAt(S3, position + 1)) < 56320 || second > 57343 ? CONVERT_TO_STRING ? charAt(S3, position) : first : CONVERT_TO_STRING ? stringSlice(S3, position, position + 2) : (first - 55296 << 10) + (second - 56320) + 65536; + }; + }; + module.exports = { + // `String.prototype.codePointAt` method + // https://tc39.es/ecma262/#sec-string.prototype.codepointat + codeAt: createMethod(false), + // `String.prototype.at` method + // https://github.com/mathiasbynens/String.prototype.at + charAt: createMethod(true) + }; + } + }); + + // node_modules/core-js/modules/es.string.code-point-at.js + var require_es_string_code_point_at = __commonJS({ + "node_modules/core-js/modules/es.string.code-point-at.js"() { + "use strict"; + var $2 = require_export(); + var codeAt = require_string_multibyte().codeAt; + $2({ target: "String", proto: true }, { + codePointAt: function codePointAt(pos) { + return codeAt(this, pos); + } + }); + } + }); + + // node_modules/core-js/internals/not-a-regexp.js + var require_not_a_regexp = __commonJS({ + "node_modules/core-js/internals/not-a-regexp.js"(exports, module) { + var isRegExp = require_is_regexp(); + var $TypeError = TypeError; + module.exports = function(it) { + if (isRegExp(it)) { + throw $TypeError("The method doesn't accept regular expressions"); + } + return it; + }; + } + }); + + // node_modules/core-js/internals/correct-is-regexp-logic.js + var require_correct_is_regexp_logic = __commonJS({ + "node_modules/core-js/internals/correct-is-regexp-logic.js"(exports, module) { + var wellKnownSymbol = require_well_known_symbol(); + var MATCH = wellKnownSymbol("match"); + module.exports = function(METHOD_NAME) { + var regexp = /./; + try { + "/./"[METHOD_NAME](regexp); + } catch (error1) { + try { + regexp[MATCH] = false; + return "/./"[METHOD_NAME](regexp); + } catch (error2) { + } + } + return false; + }; + } + }); + + // node_modules/core-js/modules/es.string.ends-with.js + var require_es_string_ends_with = __commonJS({ + "node_modules/core-js/modules/es.string.ends-with.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this_clause(); + var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; + var toLength = require_to_length(); + var toString = require_to_string(); + var notARegExp = require_not_a_regexp(); + var requireObjectCoercible = require_require_object_coercible(); + var correctIsRegExpLogic = require_correct_is_regexp_logic(); + var IS_PURE = require_is_pure(); + var nativeEndsWith = uncurryThis("".endsWith); + var slice = uncurryThis("".slice); + var min = Math.min; + var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic("endsWith"); + var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function() { + var descriptor = getOwnPropertyDescriptor(String.prototype, "endsWith"); + return descriptor && !descriptor.writable; + }(); + $2({ target: "String", proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { + endsWith: function endsWith(searchString) { + var that = toString(requireObjectCoercible(this)); + notARegExp(searchString); + var endPosition = arguments.length > 1 ? arguments[1] : void 0; + var len = that.length; + var end = endPosition === void 0 ? len : min(toLength(endPosition), len); + var search = toString(searchString); + return nativeEndsWith ? nativeEndsWith(that, search, end) : slice(that, end - search.length, end) === search; + } + }); + } + }); + + // node_modules/core-js/modules/es.string.from-code-point.js + var require_es_string_from_code_point = __commonJS({ + "node_modules/core-js/modules/es.string.from-code-point.js"() { + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var toAbsoluteIndex = require_to_absolute_index(); + var $RangeError = RangeError; + var fromCharCode = String.fromCharCode; + var $fromCodePoint = String.fromCodePoint; + var join = uncurryThis([].join); + var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length != 1; + $2({ target: "String", stat: true, arity: 1, forced: INCORRECT_LENGTH }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + fromCodePoint: function fromCodePoint(x2) { + var elements = []; + var length = arguments.length; + var i4 = 0; + var code; + while (length > i4) { + code = +arguments[i4++]; + if (toAbsoluteIndex(code, 1114111) !== code) + throw $RangeError(code + " is not a valid code point"); + elements[i4] = code < 65536 ? fromCharCode(code) : fromCharCode(((code -= 65536) >> 10) + 55296, code % 1024 + 56320); + } + return join(elements, ""); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.includes.js + var require_es_string_includes = __commonJS({ + "node_modules/core-js/modules/es.string.includes.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var notARegExp = require_not_a_regexp(); + var requireObjectCoercible = require_require_object_coercible(); + var toString = require_to_string(); + var correctIsRegExpLogic = require_correct_is_regexp_logic(); + var stringIndexOf = uncurryThis("".indexOf); + $2({ target: "String", proto: true, forced: !correctIsRegExpLogic("includes") }, { + includes: function includes(searchString) { + return !!~stringIndexOf( + toString(requireObjectCoercible(this)), + toString(notARegExp(searchString)), + arguments.length > 1 ? arguments[1] : void 0 + ); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.iterator.js + var require_es_string_iterator = __commonJS({ + "node_modules/core-js/modules/es.string.iterator.js"() { + "use strict"; + var charAt = require_string_multibyte().charAt; + var toString = require_to_string(); + var InternalStateModule = require_internal_state(); + var defineIterator = require_iterator_define(); + var createIterResultObject = require_create_iter_result_object(); + var STRING_ITERATOR = "String Iterator"; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); + defineIterator(String, "String", function(iterated) { + setInternalState(this, { + type: STRING_ITERATOR, + string: toString(iterated), + index: 0 + }); + }, function next() { + var state2 = getInternalState(this); + var string = state2.string; + var index = state2.index; + var point; + if (index >= string.length) + return createIterResultObject(void 0, true); + point = charAt(string, index); + state2.index += point.length; + return createIterResultObject(point, false); + }); + } + }); + + // node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js + var require_fix_regexp_well_known_symbol_logic = __commonJS({ + "node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"(exports, module) { + "use strict"; + require_es_regexp_exec(); + var uncurryThis = require_function_uncurry_this_clause(); + var defineBuiltIn = require_define_built_in(); + var regexpExec = require_regexp_exec(); + var fails = require_fails(); + var wellKnownSymbol = require_well_known_symbol(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var SPECIES = wellKnownSymbol("species"); + var RegExpPrototype = RegExp.prototype; + module.exports = function(KEY, exec, FORCED, SHAM) { + var SYMBOL = wellKnownSymbol(KEY); + var DELEGATES_TO_SYMBOL = !fails(function() { + var O = {}; + O[SYMBOL] = function() { + return 7; + }; + return ""[KEY](O) != 7; + }); + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function() { + var execCalled = false; + var re = /a/; + if (KEY === "split") { + re = {}; + re.constructor = {}; + re.constructor[SPECIES] = function() { + return re; + }; + re.flags = ""; + re[SYMBOL] = /./[SYMBOL]; + } + re.exec = function() { + execCalled = true; + return null; + }; + re[SYMBOL](""); + return !execCalled; + }); + if (!DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || FORCED) { + var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]); + var methods = exec(SYMBOL, ""[KEY], function(nativeMethod, regexp, str, arg2, forceStringMethod) { + var uncurriedNativeMethod = uncurryThis(nativeMethod); + var $exec = regexp.exec; + if ($exec === regexpExec || $exec === RegExpPrototype.exec) { + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { + return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) }; + } + return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) }; + } + return { done: false }; + }); + defineBuiltIn(String.prototype, KEY, methods[0]); + defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]); + } + if (SHAM) + createNonEnumerableProperty(RegExpPrototype[SYMBOL], "sham", true); + }; + } + }); + + // node_modules/core-js/internals/advance-string-index.js + var require_advance_string_index = __commonJS({ + "node_modules/core-js/internals/advance-string-index.js"(exports, module) { + "use strict"; + var charAt = require_string_multibyte().charAt; + module.exports = function(S3, index, unicode) { + return index + (unicode ? charAt(S3, index).length : 1); + }; + } + }); + + // node_modules/core-js/internals/regexp-exec-abstract.js + var require_regexp_exec_abstract = __commonJS({ + "node_modules/core-js/internals/regexp-exec-abstract.js"(exports, module) { + var call = require_function_call(); + var anObject = require_an_object(); + var isCallable = require_is_callable(); + var classof = require_classof_raw(); + var regexpExec = require_regexp_exec(); + var $TypeError = TypeError; + module.exports = function(R2, S3) { + var exec = R2.exec; + if (isCallable(exec)) { + var result = call(exec, R2, S3); + if (result !== null) + anObject(result); + return result; + } + if (classof(R2) === "RegExp") + return call(regexpExec, R2, S3); + throw $TypeError("RegExp#exec called on incompatible receiver"); + }; + } + }); + + // node_modules/core-js/modules/es.string.match.js + var require_es_string_match = __commonJS({ + "node_modules/core-js/modules/es.string.match.js"() { + "use strict"; + var call = require_function_call(); + var fixRegExpWellKnownSymbolLogic = require_fix_regexp_well_known_symbol_logic(); + var anObject = require_an_object(); + var isNullOrUndefined = require_is_null_or_undefined(); + var toLength = require_to_length(); + var toString = require_to_string(); + var requireObjectCoercible = require_require_object_coercible(); + var getMethod = require_get_method(); + var advanceStringIndex = require_advance_string_index(); + var regExpExec = require_regexp_exec_abstract(); + fixRegExpWellKnownSymbolLogic("match", function(MATCH, nativeMatch, maybeCallNative) { + return [ + // `String.prototype.match` method + // https://tc39.es/ecma262/#sec-string.prototype.match + function match(regexp) { + var O = requireObjectCoercible(this); + var matcher = isNullOrUndefined(regexp) ? void 0 : getMethod(regexp, MATCH); + return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O)); + }, + // `RegExp.prototype[@@match]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@match + function(string) { + var rx = anObject(this); + var S3 = toString(string); + var res = maybeCallNative(nativeMatch, rx, S3); + if (res.done) + return res.value; + if (!rx.global) + return regExpExec(rx, S3); + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + var A2 = []; + var n6 = 0; + var result; + while ((result = regExpExec(rx, S3)) !== null) { + var matchStr = toString(result[0]); + A2[n6] = matchStr; + if (matchStr === "") + rx.lastIndex = advanceStringIndex(S3, toLength(rx.lastIndex), fullUnicode); + n6++; + } + return n6 === 0 ? null : A2; + } + ]; + }); + } + }); + + // node_modules/core-js/modules/es.string.match-all.js + var require_es_string_match_all = __commonJS({ + "node_modules/core-js/modules/es.string.match-all.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var uncurryThis = require_function_uncurry_this_clause(); + var createIteratorConstructor = require_iterator_create_constructor(); + var createIterResultObject = require_create_iter_result_object(); + var requireObjectCoercible = require_require_object_coercible(); + var toLength = require_to_length(); + var toString = require_to_string(); + var anObject = require_an_object(); + var isNullOrUndefined = require_is_null_or_undefined(); + var classof = require_classof_raw(); + var isRegExp = require_is_regexp(); + var getRegExpFlags = require_regexp_get_flags(); + var getMethod = require_get_method(); + var defineBuiltIn = require_define_built_in(); + var fails = require_fails(); + var wellKnownSymbol = require_well_known_symbol(); + var speciesConstructor = require_species_constructor(); + var advanceStringIndex = require_advance_string_index(); + var regExpExec = require_regexp_exec_abstract(); + var InternalStateModule = require_internal_state(); + var IS_PURE = require_is_pure(); + var MATCH_ALL = wellKnownSymbol("matchAll"); + var REGEXP_STRING = "RegExp String"; + var REGEXP_STRING_ITERATOR = REGEXP_STRING + " Iterator"; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR); + var RegExpPrototype = RegExp.prototype; + var $TypeError = TypeError; + var stringIndexOf = uncurryThis("".indexOf); + var nativeMatchAll = uncurryThis("".matchAll); + var WORKS_WITH_NON_GLOBAL_REGEX = !!nativeMatchAll && !fails(function() { + nativeMatchAll("a", /./); + }); + var $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, $global, fullUnicode) { + setInternalState(this, { + type: REGEXP_STRING_ITERATOR, + regexp, + string, + global: $global, + unicode: fullUnicode, + done: false + }); + }, REGEXP_STRING, function next() { + var state2 = getInternalState(this); + if (state2.done) + return createIterResultObject(void 0, true); + var R2 = state2.regexp; + var S3 = state2.string; + var match = regExpExec(R2, S3); + if (match === null) { + state2.done = true; + return createIterResultObject(void 0, true); + } + if (state2.global) { + if (toString(match[0]) === "") + R2.lastIndex = advanceStringIndex(S3, toLength(R2.lastIndex), state2.unicode); + return createIterResultObject(match, false); + } + state2.done = true; + return createIterResultObject(match, false); + }); + var $matchAll = function(string) { + var R2 = anObject(this); + var S3 = toString(string); + var C2 = speciesConstructor(R2, RegExp); + var flags = toString(getRegExpFlags(R2)); + var matcher, $global, fullUnicode; + matcher = new C2(C2 === RegExp ? R2.source : R2, flags); + $global = !!~stringIndexOf(flags, "g"); + fullUnicode = !!~stringIndexOf(flags, "u"); + matcher.lastIndex = toLength(R2.lastIndex); + return new $RegExpStringIterator(matcher, S3, $global, fullUnicode); + }; + $2({ target: "String", proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, { + matchAll: function matchAll(regexp) { + var O = requireObjectCoercible(this); + var flags, S3, matcher, rx; + if (!isNullOrUndefined(regexp)) { + if (isRegExp(regexp)) { + flags = toString(requireObjectCoercible(getRegExpFlags(regexp))); + if (!~stringIndexOf(flags, "g")) + throw $TypeError("`.matchAll` does not allow non-global regexes"); + } + if (WORKS_WITH_NON_GLOBAL_REGEX) + return nativeMatchAll(O, regexp); + matcher = getMethod(regexp, MATCH_ALL); + if (matcher === void 0 && IS_PURE && classof(regexp) == "RegExp") + matcher = $matchAll; + if (matcher) + return call(matcher, regexp, O); + } else if (WORKS_WITH_NON_GLOBAL_REGEX) + return nativeMatchAll(O, regexp); + S3 = toString(O); + rx = new RegExp(regexp, "g"); + return IS_PURE ? call($matchAll, rx, S3) : rx[MATCH_ALL](S3); + } + }); + IS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_ALL, $matchAll); + } + }); + + // node_modules/core-js/internals/string-pad-webkit-bug.js + var require_string_pad_webkit_bug = __commonJS({ + "node_modules/core-js/internals/string-pad-webkit-bug.js"(exports, module) { + var userAgent = require_engine_user_agent(); + module.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent); + } + }); + + // node_modules/core-js/modules/es.string.pad-end.js + var require_es_string_pad_end = __commonJS({ + "node_modules/core-js/modules/es.string.pad-end.js"() { + "use strict"; + var $2 = require_export(); + var $padEnd = require_string_pad().end; + var WEBKIT_BUG = require_string_pad_webkit_bug(); + $2({ target: "String", proto: true, forced: WEBKIT_BUG }, { + padEnd: function padEnd(maxLength) { + return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : void 0); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.pad-start.js + var require_es_string_pad_start = __commonJS({ + "node_modules/core-js/modules/es.string.pad-start.js"() { + "use strict"; + var $2 = require_export(); + var $padStart = require_string_pad().start; + var WEBKIT_BUG = require_string_pad_webkit_bug(); + $2({ target: "String", proto: true, forced: WEBKIT_BUG }, { + padStart: function padStart(maxLength) { + return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : void 0); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.raw.js + var require_es_string_raw = __commonJS({ + "node_modules/core-js/modules/es.string.raw.js"() { + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var toIndexedObject = require_to_indexed_object(); + var toObject = require_to_object(); + var toString = require_to_string(); + var lengthOfArrayLike = require_length_of_array_like(); + var push = uncurryThis([].push); + var join = uncurryThis([].join); + $2({ target: "String", stat: true }, { + raw: function raw(template) { + var rawTemplate = toIndexedObject(toObject(template).raw); + var literalSegments = lengthOfArrayLike(rawTemplate); + if (!literalSegments) + return ""; + var argumentsLength = arguments.length; + var elements = []; + var i4 = 0; + while (true) { + push(elements, toString(rawTemplate[i4++])); + if (i4 === literalSegments) + return join(elements, ""); + if (i4 < argumentsLength) + push(elements, toString(arguments[i4])); + } + } + }); + } + }); + + // node_modules/core-js/modules/es.string.repeat.js + var require_es_string_repeat = __commonJS({ + "node_modules/core-js/modules/es.string.repeat.js"() { + var $2 = require_export(); + var repeat = require_string_repeat(); + $2({ target: "String", proto: true }, { + repeat + }); + } + }); + + // node_modules/core-js/internals/get-substitution.js + var require_get_substitution = __commonJS({ + "node_modules/core-js/internals/get-substitution.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var toObject = require_to_object(); + var floor = Math.floor; + var charAt = uncurryThis("".charAt); + var replace = uncurryThis("".replace); + var stringSlice = uncurryThis("".slice); + var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; + var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; + module.exports = function(matched, str, position, captures, namedCaptures, replacement) { + var tailPos = position + matched.length; + var m2 = captures.length; + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; + if (namedCaptures !== void 0) { + namedCaptures = toObject(namedCaptures); + symbols = SUBSTITUTION_SYMBOLS; + } + return replace(replacement, symbols, function(match, ch) { + var capture; + switch (charAt(ch, 0)) { + case "$": + return "$"; + case "&": + return matched; + case "`": + return stringSlice(str, 0, position); + case "'": + return stringSlice(str, tailPos); + case "<": + capture = namedCaptures[stringSlice(ch, 1, -1)]; + break; + default: + var n6 = +ch; + if (n6 === 0) + return match; + if (n6 > m2) { + var f2 = floor(n6 / 10); + if (f2 === 0) + return match; + if (f2 <= m2) + return captures[f2 - 1] === void 0 ? charAt(ch, 1) : captures[f2 - 1] + charAt(ch, 1); + return match; + } + capture = captures[n6 - 1]; + } + return capture === void 0 ? "" : capture; + }); + }; + } + }); + + // node_modules/core-js/modules/es.string.replace.js + var require_es_string_replace = __commonJS({ + "node_modules/core-js/modules/es.string.replace.js"() { + "use strict"; + var apply = require_function_apply(); + var call = require_function_call(); + var uncurryThis = require_function_uncurry_this(); + var fixRegExpWellKnownSymbolLogic = require_fix_regexp_well_known_symbol_logic(); + var fails = require_fails(); + var anObject = require_an_object(); + var isCallable = require_is_callable(); + var isNullOrUndefined = require_is_null_or_undefined(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var toLength = require_to_length(); + var toString = require_to_string(); + var requireObjectCoercible = require_require_object_coercible(); + var advanceStringIndex = require_advance_string_index(); + var getMethod = require_get_method(); + var getSubstitution = require_get_substitution(); + var regExpExec = require_regexp_exec_abstract(); + var wellKnownSymbol = require_well_known_symbol(); + var REPLACE = wellKnownSymbol("replace"); + var max = Math.max; + var min = Math.min; + var concat = uncurryThis([].concat); + var push = uncurryThis([].push); + var stringIndexOf = uncurryThis("".indexOf); + var stringSlice = uncurryThis("".slice); + var maybeToString = function(it) { + return it === void 0 ? it : String(it); + }; + var REPLACE_KEEPS_$0 = function() { + return "a".replace(/./, "$0") === "$0"; + }(); + var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = function() { + if (/./[REPLACE]) { + return /./[REPLACE]("a", "$0") === ""; + } + return false; + }(); + var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function() { + var re = /./; + re.exec = function() { + var result = []; + result.groups = { a: "7" }; + return result; + }; + return "".replace(re, "$") !== "7"; + }); + fixRegExpWellKnownSymbolLogic("replace", function(_2, nativeReplace, maybeCallNative) { + var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? "$" : "$0"; + return [ + // `String.prototype.replace` method + // https://tc39.es/ecma262/#sec-string.prototype.replace + function replace(searchValue, replaceValue) { + var O = requireObjectCoercible(this); + var replacer = isNullOrUndefined(searchValue) ? void 0 : getMethod(searchValue, REPLACE); + return replacer ? call(replacer, searchValue, O, replaceValue) : call(nativeReplace, toString(O), searchValue, replaceValue); + }, + // `RegExp.prototype[@@replace]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace + function(string, replaceValue) { + var rx = anObject(this); + var S3 = toString(string); + if (typeof replaceValue == "string" && stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 && stringIndexOf(replaceValue, "$<") === -1) { + var res = maybeCallNative(nativeReplace, rx, S3, replaceValue); + if (res.done) + return res.value; + } + var functionalReplace = isCallable(replaceValue); + if (!functionalReplace) + replaceValue = toString(replaceValue); + var global2 = rx.global; + if (global2) { + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + } + var results = []; + while (true) { + var result = regExpExec(rx, S3); + if (result === null) + break; + push(results, result); + if (!global2) + break; + var matchStr = toString(result[0]); + if (matchStr === "") + rx.lastIndex = advanceStringIndex(S3, toLength(rx.lastIndex), fullUnicode); + } + var accumulatedResult = ""; + var nextSourcePosition = 0; + for (var i4 = 0; i4 < results.length; i4++) { + result = results[i4]; + var matched = toString(result[0]); + var position = max(min(toIntegerOrInfinity(result.index), S3.length), 0); + var captures = []; + for (var j2 = 1; j2 < result.length; j2++) + push(captures, maybeToString(result[j2])); + var namedCaptures = result.groups; + if (functionalReplace) { + var replacerArgs = concat([matched], captures, position, S3); + if (namedCaptures !== void 0) + push(replacerArgs, namedCaptures); + var replacement = toString(apply(replaceValue, void 0, replacerArgs)); + } else { + replacement = getSubstitution(matched, S3, position, captures, namedCaptures, replaceValue); + } + if (position >= nextSourcePosition) { + accumulatedResult += stringSlice(S3, nextSourcePosition, position) + replacement; + nextSourcePosition = position + matched.length; + } + } + return accumulatedResult + stringSlice(S3, nextSourcePosition); + } + ]; + }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); + } + }); + + // node_modules/core-js/modules/es.string.replace-all.js + var require_es_string_replace_all = __commonJS({ + "node_modules/core-js/modules/es.string.replace-all.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var uncurryThis = require_function_uncurry_this(); + var requireObjectCoercible = require_require_object_coercible(); + var isCallable = require_is_callable(); + var isNullOrUndefined = require_is_null_or_undefined(); + var isRegExp = require_is_regexp(); + var toString = require_to_string(); + var getMethod = require_get_method(); + var getRegExpFlags = require_regexp_get_flags(); + var getSubstitution = require_get_substitution(); + var wellKnownSymbol = require_well_known_symbol(); + var IS_PURE = require_is_pure(); + var REPLACE = wellKnownSymbol("replace"); + var $TypeError = TypeError; + var indexOf = uncurryThis("".indexOf); + var replace = uncurryThis("".replace); + var stringSlice = uncurryThis("".slice); + var max = Math.max; + var stringIndexOf = function(string, searchValue, fromIndex) { + if (fromIndex > string.length) + return -1; + if (searchValue === "") + return fromIndex; + return indexOf(string, searchValue, fromIndex); + }; + $2({ target: "String", proto: true }, { + replaceAll: function replaceAll(searchValue, replaceValue) { + var O = requireObjectCoercible(this); + var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement; + var position = 0; + var endOfLastMatch = 0; + var result = ""; + if (!isNullOrUndefined(searchValue)) { + IS_REG_EXP = isRegExp(searchValue); + if (IS_REG_EXP) { + flags = toString(requireObjectCoercible(getRegExpFlags(searchValue))); + if (!~indexOf(flags, "g")) + throw $TypeError("`.replaceAll` does not allow non-global regexes"); + } + replacer = getMethod(searchValue, REPLACE); + if (replacer) { + return call(replacer, searchValue, O, replaceValue); + } else if (IS_PURE && IS_REG_EXP) { + return replace(toString(O), searchValue, replaceValue); + } + } + string = toString(O); + searchString = toString(searchValue); + functionalReplace = isCallable(replaceValue); + if (!functionalReplace) + replaceValue = toString(replaceValue); + searchLength = searchString.length; + advanceBy = max(1, searchLength); + position = stringIndexOf(string, searchString, 0); + while (position !== -1) { + replacement = functionalReplace ? toString(replaceValue(searchString, position, string)) : getSubstitution(searchString, string, position, [], void 0, replaceValue); + result += stringSlice(string, endOfLastMatch, position) + replacement; + endOfLastMatch = position + searchLength; + position = stringIndexOf(string, searchString, position + advanceBy); + } + if (endOfLastMatch < string.length) { + result += stringSlice(string, endOfLastMatch); + } + return result; + } + }); + } + }); + + // node_modules/core-js/modules/es.string.search.js + var require_es_string_search = __commonJS({ + "node_modules/core-js/modules/es.string.search.js"() { + "use strict"; + var call = require_function_call(); + var fixRegExpWellKnownSymbolLogic = require_fix_regexp_well_known_symbol_logic(); + var anObject = require_an_object(); + var isNullOrUndefined = require_is_null_or_undefined(); + var requireObjectCoercible = require_require_object_coercible(); + var sameValue = require_same_value(); + var toString = require_to_string(); + var getMethod = require_get_method(); + var regExpExec = require_regexp_exec_abstract(); + fixRegExpWellKnownSymbolLogic("search", function(SEARCH, nativeSearch, maybeCallNative) { + return [ + // `String.prototype.search` method + // https://tc39.es/ecma262/#sec-string.prototype.search + function search(regexp) { + var O = requireObjectCoercible(this); + var searcher = isNullOrUndefined(regexp) ? void 0 : getMethod(regexp, SEARCH); + return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O)); + }, + // `RegExp.prototype[@@search]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@search + function(string) { + var rx = anObject(this); + var S3 = toString(string); + var res = maybeCallNative(nativeSearch, rx, S3); + if (res.done) + return res.value; + var previousLastIndex = rx.lastIndex; + if (!sameValue(previousLastIndex, 0)) + rx.lastIndex = 0; + var result = regExpExec(rx, S3); + if (!sameValue(rx.lastIndex, previousLastIndex)) + rx.lastIndex = previousLastIndex; + return result === null ? -1 : result.index; + } + ]; + }); + } + }); + + // node_modules/core-js/modules/es.string.split.js + var require_es_string_split = __commonJS({ + "node_modules/core-js/modules/es.string.split.js"() { + "use strict"; + var apply = require_function_apply(); + var call = require_function_call(); + var uncurryThis = require_function_uncurry_this(); + var fixRegExpWellKnownSymbolLogic = require_fix_regexp_well_known_symbol_logic(); + var anObject = require_an_object(); + var isNullOrUndefined = require_is_null_or_undefined(); + var isRegExp = require_is_regexp(); + var requireObjectCoercible = require_require_object_coercible(); + var speciesConstructor = require_species_constructor(); + var advanceStringIndex = require_advance_string_index(); + var toLength = require_to_length(); + var toString = require_to_string(); + var getMethod = require_get_method(); + var arraySlice = require_array_slice_simple(); + var callRegExpExec = require_regexp_exec_abstract(); + var regexpExec = require_regexp_exec(); + var stickyHelpers = require_regexp_sticky_helpers(); + var fails = require_fails(); + var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; + var MAX_UINT32 = 4294967295; + var min = Math.min; + var $push = [].push; + var exec = uncurryThis(/./.exec); + var push = uncurryThis($push); + var stringSlice = uncurryThis("".slice); + var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function() { + var re = /(?:)/; + var originalExec = re.exec; + re.exec = function() { + return originalExec.apply(this, arguments); + }; + var result = "ab".split(re); + return result.length !== 2 || result[0] !== "a" || result[1] !== "b"; + }); + fixRegExpWellKnownSymbolLogic("split", function(SPLIT, nativeSplit, maybeCallNative) { + var internalSplit; + if ("abbc".split(/(b)*/)[1] == "c" || // eslint-disable-next-line regexp/no-empty-group -- required for testing + "test".split(/(?:)/, -1).length != 4 || "ab".split(/(?:ab)*/).length != 2 || ".".split(/(.?)(.?)/).length != 4 || // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing + ".".split(/()()/).length > 1 || "".split(/.?/).length) { + internalSplit = function(separator, limit) { + var string = toString(requireObjectCoercible(this)); + var lim = limit === void 0 ? MAX_UINT32 : limit >>> 0; + if (lim === 0) + return []; + if (separator === void 0) + return [string]; + if (!isRegExp(separator)) { + return call(nativeSplit, string, separator, lim); + } + var output = []; + var flags = (separator.ignoreCase ? "i" : "") + (separator.multiline ? "m" : "") + (separator.unicode ? "u" : "") + (separator.sticky ? "y" : ""); + var lastLastIndex = 0; + var separatorCopy = new RegExp(separator.source, flags + "g"); + var match, lastIndex, lastLength; + while (match = call(regexpExec, separatorCopy, string)) { + lastIndex = separatorCopy.lastIndex; + if (lastIndex > lastLastIndex) { + push(output, stringSlice(string, lastLastIndex, match.index)); + if (match.length > 1 && match.index < string.length) + apply($push, output, arraySlice(match, 1)); + lastLength = match[0].length; + lastLastIndex = lastIndex; + if (output.length >= lim) + break; + } + if (separatorCopy.lastIndex === match.index) + separatorCopy.lastIndex++; + } + if (lastLastIndex === string.length) { + if (lastLength || !exec(separatorCopy, "")) + push(output, ""); + } else + push(output, stringSlice(string, lastLastIndex)); + return output.length > lim ? arraySlice(output, 0, lim) : output; + }; + } else if ("0".split(void 0, 0).length) { + internalSplit = function(separator, limit) { + return separator === void 0 && limit === 0 ? [] : call(nativeSplit, this, separator, limit); + }; + } else + internalSplit = nativeSplit; + return [ + // `String.prototype.split` method + // https://tc39.es/ecma262/#sec-string.prototype.split + function split(separator, limit) { + var O = requireObjectCoercible(this); + var splitter = isNullOrUndefined(separator) ? void 0 : getMethod(separator, SPLIT); + return splitter ? call(splitter, separator, O, limit) : call(internalSplit, toString(O), separator, limit); + }, + // `RegExp.prototype[@@split]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@split + // + // NOTE: This cannot be properly polyfilled in engines that don't support + // the 'y' flag. + function(string, limit) { + var rx = anObject(this); + var S3 = toString(string); + var res = maybeCallNative(internalSplit, rx, S3, limit, internalSplit !== nativeSplit); + if (res.done) + return res.value; + var C2 = speciesConstructor(rx, RegExp); + var unicodeMatching = rx.unicode; + var flags = (rx.ignoreCase ? "i" : "") + (rx.multiline ? "m" : "") + (rx.unicode ? "u" : "") + (UNSUPPORTED_Y ? "g" : "y"); + var splitter = new C2(UNSUPPORTED_Y ? "^(?:" + rx.source + ")" : rx, flags); + var lim = limit === void 0 ? MAX_UINT32 : limit >>> 0; + if (lim === 0) + return []; + if (S3.length === 0) + return callRegExpExec(splitter, S3) === null ? [S3] : []; + var p2 = 0; + var q = 0; + var A2 = []; + while (q < S3.length) { + splitter.lastIndex = UNSUPPORTED_Y ? 0 : q; + var z2 = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S3, q) : S3); + var e7; + if (z2 === null || (e7 = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S3.length)) === p2) { + q = advanceStringIndex(S3, q, unicodeMatching); + } else { + push(A2, stringSlice(S3, p2, q)); + if (A2.length === lim) + return A2; + for (var i4 = 1; i4 <= z2.length - 1; i4++) { + push(A2, z2[i4]); + if (A2.length === lim) + return A2; + } + q = p2 = e7; + } + } + push(A2, stringSlice(S3, p2)); + return A2; + } + ]; + }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); + } + }); + + // node_modules/core-js/modules/es.string.starts-with.js + var require_es_string_starts_with = __commonJS({ + "node_modules/core-js/modules/es.string.starts-with.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this_clause(); + var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; + var toLength = require_to_length(); + var toString = require_to_string(); + var notARegExp = require_not_a_regexp(); + var requireObjectCoercible = require_require_object_coercible(); + var correctIsRegExpLogic = require_correct_is_regexp_logic(); + var IS_PURE = require_is_pure(); + var nativeStartsWith = uncurryThis("".startsWith); + var stringSlice = uncurryThis("".slice); + var min = Math.min; + var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic("startsWith"); + var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function() { + var descriptor = getOwnPropertyDescriptor(String.prototype, "startsWith"); + return descriptor && !descriptor.writable; + }(); + $2({ target: "String", proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { + startsWith: function startsWith(searchString) { + var that = toString(requireObjectCoercible(this)); + notARegExp(searchString); + var index = toLength(min(arguments.length > 1 ? arguments[1] : void 0, that.length)); + var search = toString(searchString); + return nativeStartsWith ? nativeStartsWith(that, search, index) : stringSlice(that, index, index + search.length) === search; + } + }); + } + }); + + // node_modules/core-js/modules/es.string.substr.js + var require_es_string_substr = __commonJS({ + "node_modules/core-js/modules/es.string.substr.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var requireObjectCoercible = require_require_object_coercible(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var toString = require_to_string(); + var stringSlice = uncurryThis("".slice); + var max = Math.max; + var min = Math.min; + var FORCED = !"".substr || "ab".substr(-1) !== "b"; + $2({ target: "String", proto: true, forced: FORCED }, { + substr: function substr(start, length) { + var that = toString(requireObjectCoercible(this)); + var size = that.length; + var intStart = toIntegerOrInfinity(start); + var intLength, intEnd; + if (intStart === Infinity) + intStart = 0; + if (intStart < 0) + intStart = max(size + intStart, 0); + intLength = length === void 0 ? size : toIntegerOrInfinity(length); + if (intLength <= 0 || intLength === Infinity) + return ""; + intEnd = min(intStart + intLength, size); + return intStart >= intEnd ? "" : stringSlice(that, intStart, intEnd); + } + }); + } + }); + + // node_modules/core-js/internals/string-trim-forced.js + var require_string_trim_forced = __commonJS({ + "node_modules/core-js/internals/string-trim-forced.js"(exports, module) { + var PROPER_FUNCTION_NAME = require_function_name().PROPER; + var fails = require_fails(); + var whitespaces = require_whitespaces(); + var non = "\u200B\x85\u180E"; + module.exports = function(METHOD_NAME) { + return fails(function() { + return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() !== non || PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME; + }); + }; + } + }); + + // node_modules/core-js/modules/es.string.trim.js + var require_es_string_trim = __commonJS({ + "node_modules/core-js/modules/es.string.trim.js"() { + "use strict"; + var $2 = require_export(); + var $trim = require_string_trim().trim; + var forcedStringTrimMethod = require_string_trim_forced(); + $2({ target: "String", proto: true, forced: forcedStringTrimMethod("trim") }, { + trim: function trim() { + return $trim(this); + } + }); + } + }); + + // node_modules/core-js/internals/string-trim-end.js + var require_string_trim_end = __commonJS({ + "node_modules/core-js/internals/string-trim-end.js"(exports, module) { + "use strict"; + var $trimEnd = require_string_trim().end; + var forcedStringTrimMethod = require_string_trim_forced(); + module.exports = forcedStringTrimMethod("trimEnd") ? function trimEnd() { + return $trimEnd(this); + } : "".trimEnd; + } + }); + + // node_modules/core-js/modules/es.string.trim-right.js + var require_es_string_trim_right = __commonJS({ + "node_modules/core-js/modules/es.string.trim-right.js"() { + var $2 = require_export(); + var trimEnd = require_string_trim_end(); + $2({ target: "String", proto: true, name: "trimEnd", forced: "".trimRight !== trimEnd }, { + trimRight: trimEnd + }); + } + }); + + // node_modules/core-js/modules/es.string.trim-end.js + var require_es_string_trim_end = __commonJS({ + "node_modules/core-js/modules/es.string.trim-end.js"() { + require_es_string_trim_right(); + var $2 = require_export(); + var trimEnd = require_string_trim_end(); + $2({ target: "String", proto: true, name: "trimEnd", forced: "".trimEnd !== trimEnd }, { + trimEnd + }); + } + }); + + // node_modules/core-js/internals/string-trim-start.js + var require_string_trim_start = __commonJS({ + "node_modules/core-js/internals/string-trim-start.js"(exports, module) { + "use strict"; + var $trimStart = require_string_trim().start; + var forcedStringTrimMethod = require_string_trim_forced(); + module.exports = forcedStringTrimMethod("trimStart") ? function trimStart() { + return $trimStart(this); + } : "".trimStart; + } + }); + + // node_modules/core-js/modules/es.string.trim-left.js + var require_es_string_trim_left = __commonJS({ + "node_modules/core-js/modules/es.string.trim-left.js"() { + var $2 = require_export(); + var trimStart = require_string_trim_start(); + $2({ target: "String", proto: true, name: "trimStart", forced: "".trimLeft !== trimStart }, { + trimLeft: trimStart + }); + } + }); + + // node_modules/core-js/modules/es.string.trim-start.js + var require_es_string_trim_start = __commonJS({ + "node_modules/core-js/modules/es.string.trim-start.js"() { + require_es_string_trim_left(); + var $2 = require_export(); + var trimStart = require_string_trim_start(); + $2({ target: "String", proto: true, name: "trimStart", forced: "".trimStart !== trimStart }, { + trimStart + }); + } + }); + + // node_modules/core-js/internals/create-html.js + var require_create_html = __commonJS({ + "node_modules/core-js/internals/create-html.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var requireObjectCoercible = require_require_object_coercible(); + var toString = require_to_string(); + var quot = /"/g; + var replace = uncurryThis("".replace); + module.exports = function(string, tag, attribute, value) { + var S3 = toString(requireObjectCoercible(string)); + var p1 = "<" + tag; + if (attribute !== "") + p1 += " " + attribute + '="' + replace(toString(value), quot, """) + '"'; + return p1 + ">" + S3 + ""; + }; + } + }); + + // node_modules/core-js/internals/string-html-forced.js + var require_string_html_forced = __commonJS({ + "node_modules/core-js/internals/string-html-forced.js"(exports, module) { + var fails = require_fails(); + module.exports = function(METHOD_NAME) { + return fails(function() { + var test = ""[METHOD_NAME]('"'); + return test !== test.toLowerCase() || test.split('"').length > 3; + }); + }; + } + }); + + // node_modules/core-js/modules/es.string.anchor.js + var require_es_string_anchor = __commonJS({ + "node_modules/core-js/modules/es.string.anchor.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("anchor") }, { + anchor: function anchor(name) { + return createHTML(this, "a", "name", name); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.big.js + var require_es_string_big = __commonJS({ + "node_modules/core-js/modules/es.string.big.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("big") }, { + big: function big() { + return createHTML(this, "big", "", ""); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.blink.js + var require_es_string_blink = __commonJS({ + "node_modules/core-js/modules/es.string.blink.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("blink") }, { + blink: function blink() { + return createHTML(this, "blink", "", ""); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.bold.js + var require_es_string_bold = __commonJS({ + "node_modules/core-js/modules/es.string.bold.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("bold") }, { + bold: function bold() { + return createHTML(this, "b", "", ""); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.fixed.js + var require_es_string_fixed = __commonJS({ + "node_modules/core-js/modules/es.string.fixed.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("fixed") }, { + fixed: function fixed() { + return createHTML(this, "tt", "", ""); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.fontcolor.js + var require_es_string_fontcolor = __commonJS({ + "node_modules/core-js/modules/es.string.fontcolor.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("fontcolor") }, { + fontcolor: function fontcolor(color) { + return createHTML(this, "font", "color", color); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.fontsize.js + var require_es_string_fontsize = __commonJS({ + "node_modules/core-js/modules/es.string.fontsize.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("fontsize") }, { + fontsize: function fontsize(size) { + return createHTML(this, "font", "size", size); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.italics.js + var require_es_string_italics = __commonJS({ + "node_modules/core-js/modules/es.string.italics.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("italics") }, { + italics: function italics() { + return createHTML(this, "i", "", ""); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.link.js + var require_es_string_link = __commonJS({ + "node_modules/core-js/modules/es.string.link.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("link") }, { + link: function link(url) { + return createHTML(this, "a", "href", url); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.small.js + var require_es_string_small = __commonJS({ + "node_modules/core-js/modules/es.string.small.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("small") }, { + small: function small() { + return createHTML(this, "small", "", ""); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.strike.js + var require_es_string_strike = __commonJS({ + "node_modules/core-js/modules/es.string.strike.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("strike") }, { + strike: function strike() { + return createHTML(this, "strike", "", ""); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.sub.js + var require_es_string_sub = __commonJS({ + "node_modules/core-js/modules/es.string.sub.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("sub") }, { + sub: function sub() { + return createHTML(this, "sub", "", ""); + } + }); + } + }); + + // node_modules/core-js/modules/es.string.sup.js + var require_es_string_sup = __commonJS({ + "node_modules/core-js/modules/es.string.sup.js"() { + "use strict"; + var $2 = require_export(); + var createHTML = require_create_html(); + var forcedStringHTMLMethod = require_string_html_forced(); + $2({ target: "String", proto: true, forced: forcedStringHTMLMethod("sup") }, { + sup: function sup() { + return createHTML(this, "sup", "", ""); + } + }); + } + }); + + // node_modules/core-js/internals/typed-array-constructors-require-wrappers.js + var require_typed_array_constructors_require_wrappers = __commonJS({ + "node_modules/core-js/internals/typed-array-constructors-require-wrappers.js"(exports, module) { + var global2 = require_global(); + var fails = require_fails(); + var checkCorrectnessOfIteration = require_check_correctness_of_iteration(); + var NATIVE_ARRAY_BUFFER_VIEWS = require_array_buffer_view_core().NATIVE_ARRAY_BUFFER_VIEWS; + var ArrayBuffer2 = global2.ArrayBuffer; + var Int8Array2 = global2.Int8Array; + module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function() { + Int8Array2(1); + }) || !fails(function() { + new Int8Array2(-1); + }) || !checkCorrectnessOfIteration(function(iterable) { + new Int8Array2(); + new Int8Array2(null); + new Int8Array2(1.5); + new Int8Array2(iterable); + }, true) || fails(function() { + return new Int8Array2(new ArrayBuffer2(2), 1, void 0).length !== 1; + }); + } + }); + + // node_modules/core-js/internals/to-positive-integer.js + var require_to_positive_integer = __commonJS({ + "node_modules/core-js/internals/to-positive-integer.js"(exports, module) { + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var $RangeError = RangeError; + module.exports = function(it) { + var result = toIntegerOrInfinity(it); + if (result < 0) + throw $RangeError("The argument can't be less than 0"); + return result; + }; + } + }); + + // node_modules/core-js/internals/to-offset.js + var require_to_offset = __commonJS({ + "node_modules/core-js/internals/to-offset.js"(exports, module) { + var toPositiveInteger = require_to_positive_integer(); + var $RangeError = RangeError; + module.exports = function(it, BYTES) { + var offset = toPositiveInteger(it); + if (offset % BYTES) + throw $RangeError("Wrong offset"); + return offset; + }; + } + }); + + // node_modules/core-js/internals/is-big-int-array.js + var require_is_big_int_array = __commonJS({ + "node_modules/core-js/internals/is-big-int-array.js"(exports, module) { + var classof = require_classof(); + module.exports = function(it) { + var klass = classof(it); + return klass == "BigInt64Array" || klass == "BigUint64Array"; + }; + } + }); + + // node_modules/core-js/internals/to-big-int.js + var require_to_big_int = __commonJS({ + "node_modules/core-js/internals/to-big-int.js"(exports, module) { + var toPrimitive = require_to_primitive(); + var $TypeError = TypeError; + module.exports = function(argument) { + var prim = toPrimitive(argument, "number"); + if (typeof prim == "number") + throw $TypeError("Can't convert number to bigint"); + return BigInt(prim); + }; + } + }); + + // node_modules/core-js/internals/typed-array-from.js + var require_typed_array_from = __commonJS({ + "node_modules/core-js/internals/typed-array-from.js"(exports, module) { + var bind = require_function_bind_context(); + var call = require_function_call(); + var aConstructor = require_a_constructor(); + var toObject = require_to_object(); + var lengthOfArrayLike = require_length_of_array_like(); + var getIterator = require_get_iterator(); + var getIteratorMethod = require_get_iterator_method(); + var isArrayIteratorMethod = require_is_array_iterator_method(); + var isBigIntArray = require_is_big_int_array(); + var aTypedArrayConstructor = require_array_buffer_view_core().aTypedArrayConstructor; + var toBigInt = require_to_big_int(); + module.exports = function from(source) { + var C2 = aConstructor(this); + var O = toObject(source); + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : void 0; + var mapping = mapfn !== void 0; + var iteratorMethod = getIteratorMethod(O); + var i4, length, result, thisIsBigIntArray, value, step, iterator, next; + if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) { + iterator = getIterator(O, iteratorMethod); + next = iterator.next; + O = []; + while (!(step = call(next, iterator)).done) { + O.push(step.value); + } + } + if (mapping && argumentsLength > 2) { + mapfn = bind(mapfn, arguments[2]); + } + length = lengthOfArrayLike(O); + result = new (aTypedArrayConstructor(C2))(length); + thisIsBigIntArray = isBigIntArray(result); + for (i4 = 0; length > i4; i4++) { + value = mapping ? mapfn(O[i4], i4) : O[i4]; + result[i4] = thisIsBigIntArray ? toBigInt(value) : +value; + } + return result; + }; + } + }); + + // node_modules/core-js/internals/typed-array-constructor.js + var require_typed_array_constructor = __commonJS({ + "node_modules/core-js/internals/typed-array-constructor.js"(exports, module) { + "use strict"; + var $2 = require_export(); + var global2 = require_global(); + var call = require_function_call(); + var DESCRIPTORS = require_descriptors(); + var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require_typed_array_constructors_require_wrappers(); + var ArrayBufferViewCore = require_array_buffer_view_core(); + var ArrayBufferModule = require_array_buffer(); + var anInstance = require_an_instance(); + var createPropertyDescriptor = require_create_property_descriptor(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var isIntegralNumber = require_is_integral_number(); + var toLength = require_to_length(); + var toIndex = require_to_index(); + var toOffset = require_to_offset(); + var toPropertyKey = require_to_property_key(); + var hasOwn = require_has_own_property(); + var classof = require_classof(); + var isObject = require_is_object(); + var isSymbol = require_is_symbol(); + var create = require_object_create(); + var isPrototypeOf = require_object_is_prototype_of(); + var setPrototypeOf = require_object_set_prototype_of(); + var getOwnPropertyNames = require_object_get_own_property_names().f; + var typedArrayFrom = require_typed_array_from(); + var forEach = require_array_iteration().forEach; + var setSpecies = require_set_species(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var definePropertyModule = require_object_define_property(); + var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); + var InternalStateModule = require_internal_state(); + var inheritIfRequired = require_inherit_if_required(); + var getInternalState = InternalStateModule.get; + var setInternalState = InternalStateModule.set; + var enforceInternalState = InternalStateModule.enforce; + var nativeDefineProperty = definePropertyModule.f; + var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; + var round = Math.round; + var RangeError2 = global2.RangeError; + var ArrayBuffer2 = ArrayBufferModule.ArrayBuffer; + var ArrayBufferPrototype = ArrayBuffer2.prototype; + var DataView2 = ArrayBufferModule.DataView; + var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; + var TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG; + var TypedArray = ArrayBufferViewCore.TypedArray; + var TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype; + var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; + var isTypedArray = ArrayBufferViewCore.isTypedArray; + var BYTES_PER_ELEMENT = "BYTES_PER_ELEMENT"; + var WRONG_LENGTH = "Wrong length"; + var fromList = function(C2, list) { + aTypedArrayConstructor(C2); + var index = 0; + var length = list.length; + var result = new C2(length); + while (length > index) + result[index] = list[index++]; + return result; + }; + var addGetter = function(it, key) { + defineBuiltInAccessor(it, key, { + configurable: true, + get: function() { + return getInternalState(this)[key]; + } + }); + }; + var isArrayBuffer = function(it) { + var klass; + return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) == "ArrayBuffer" || klass == "SharedArrayBuffer"; + }; + var isTypedArrayIndex = function(target, key) { + return isTypedArray(target) && !isSymbol(key) && key in target && isIntegralNumber(+key) && key >= 0; + }; + var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) { + key = toPropertyKey(key); + return isTypedArrayIndex(target, key) ? createPropertyDescriptor(2, target[key]) : nativeGetOwnPropertyDescriptor(target, key); + }; + var wrappedDefineProperty = function defineProperty(target, key, descriptor) { + key = toPropertyKey(key); + if (isTypedArrayIndex(target, key) && isObject(descriptor) && hasOwn(descriptor, "value") && !hasOwn(descriptor, "get") && !hasOwn(descriptor, "set") && !descriptor.configurable && (!hasOwn(descriptor, "writable") || descriptor.writable) && (!hasOwn(descriptor, "enumerable") || descriptor.enumerable)) { + target[key] = descriptor.value; + return target; + } + return nativeDefineProperty(target, key, descriptor); + }; + if (DESCRIPTORS) { + if (!NATIVE_ARRAY_BUFFER_VIEWS) { + getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor; + definePropertyModule.f = wrappedDefineProperty; + addGetter(TypedArrayPrototype, "buffer"); + addGetter(TypedArrayPrototype, "byteOffset"); + addGetter(TypedArrayPrototype, "byteLength"); + addGetter(TypedArrayPrototype, "length"); + } + $2({ target: "Object", stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { + getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor, + defineProperty: wrappedDefineProperty + }); + module.exports = function(TYPE, wrapper, CLAMPED) { + var BYTES = TYPE.match(/\d+/)[0] / 8; + var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? "Clamped" : "") + "Array"; + var GETTER = "get" + TYPE; + var SETTER = "set" + TYPE; + var NativeTypedArrayConstructor = global2[CONSTRUCTOR_NAME]; + var TypedArrayConstructor = NativeTypedArrayConstructor; + var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype; + var exported = {}; + var getter = function(that, index) { + var data = getInternalState(that); + return data.view[GETTER](index * BYTES + data.byteOffset, true); + }; + var setter = function(that, index, value) { + var data = getInternalState(that); + if (CLAMPED) + value = (value = round(value)) < 0 ? 0 : value > 255 ? 255 : value & 255; + data.view[SETTER](index * BYTES + data.byteOffset, value, true); + }; + var addElement = function(that, index) { + nativeDefineProperty(that, index, { + get: function() { + return getter(this, index); + }, + set: function(value) { + return setter(this, index, value); + }, + enumerable: true + }); + }; + if (!NATIVE_ARRAY_BUFFER_VIEWS) { + TypedArrayConstructor = wrapper(function(that, data, offset, $length) { + anInstance(that, TypedArrayConstructorPrototype); + var index = 0; + var byteOffset = 0; + var buffer, byteLength, length; + if (!isObject(data)) { + length = toIndex(data); + byteLength = length * BYTES; + buffer = new ArrayBuffer2(byteLength); + } else if (isArrayBuffer(data)) { + buffer = data; + byteOffset = toOffset(offset, BYTES); + var $len = data.byteLength; + if ($length === void 0) { + if ($len % BYTES) + throw RangeError2(WRONG_LENGTH); + byteLength = $len - byteOffset; + if (byteLength < 0) + throw RangeError2(WRONG_LENGTH); + } else { + byteLength = toLength($length) * BYTES; + if (byteLength + byteOffset > $len) + throw RangeError2(WRONG_LENGTH); + } + length = byteLength / BYTES; + } else if (isTypedArray(data)) { + return fromList(TypedArrayConstructor, data); + } else { + return call(typedArrayFrom, TypedArrayConstructor, data); + } + setInternalState(that, { + buffer, + byteOffset, + byteLength, + length, + view: new DataView2(buffer) + }); + while (index < length) + addElement(that, index++); + }); + if (setPrototypeOf) + setPrototypeOf(TypedArrayConstructor, TypedArray); + TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype); + } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) { + TypedArrayConstructor = wrapper(function(dummy, data, typedArrayOffset, $length) { + anInstance(dummy, TypedArrayConstructorPrototype); + return inheritIfRequired(function() { + if (!isObject(data)) + return new NativeTypedArrayConstructor(toIndex(data)); + if (isArrayBuffer(data)) + return $length !== void 0 ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) : typedArrayOffset !== void 0 ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES)) : new NativeTypedArrayConstructor(data); + if (isTypedArray(data)) + return fromList(TypedArrayConstructor, data); + return call(typedArrayFrom, TypedArrayConstructor, data); + }(), dummy, TypedArrayConstructor); + }); + if (setPrototypeOf) + setPrototypeOf(TypedArrayConstructor, TypedArray); + forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function(key) { + if (!(key in TypedArrayConstructor)) { + createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]); + } + }); + TypedArrayConstructor.prototype = TypedArrayConstructorPrototype; + } + if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, "constructor", TypedArrayConstructor); + } + enforceInternalState(TypedArrayConstructorPrototype).TypedArrayConstructor = TypedArrayConstructor; + if (TYPED_ARRAY_TAG) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME); + } + var FORCED = TypedArrayConstructor != NativeTypedArrayConstructor; + exported[CONSTRUCTOR_NAME] = TypedArrayConstructor; + $2({ global: true, constructor: true, forced: FORCED, sham: !NATIVE_ARRAY_BUFFER_VIEWS }, exported); + if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) { + createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES); + } + if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES); + } + setSpecies(CONSTRUCTOR_NAME); + }; + } else + module.exports = function() { + }; + } + }); + + // node_modules/core-js/modules/es.typed-array.float32-array.js + var require_es_typed_array_float32_array = __commonJS({ + "node_modules/core-js/modules/es.typed-array.float32-array.js"() { + var createTypedArrayConstructor = require_typed_array_constructor(); + createTypedArrayConstructor("Float32", function(init) { + return function Float32Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.float64-array.js + var require_es_typed_array_float64_array = __commonJS({ + "node_modules/core-js/modules/es.typed-array.float64-array.js"() { + var createTypedArrayConstructor = require_typed_array_constructor(); + createTypedArrayConstructor("Float64", function(init) { + return function Float64Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.int8-array.js + var require_es_typed_array_int8_array = __commonJS({ + "node_modules/core-js/modules/es.typed-array.int8-array.js"() { + var createTypedArrayConstructor = require_typed_array_constructor(); + createTypedArrayConstructor("Int8", function(init) { + return function Int8Array2(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.int16-array.js + var require_es_typed_array_int16_array = __commonJS({ + "node_modules/core-js/modules/es.typed-array.int16-array.js"() { + var createTypedArrayConstructor = require_typed_array_constructor(); + createTypedArrayConstructor("Int16", function(init) { + return function Int16Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.int32-array.js + var require_es_typed_array_int32_array = __commonJS({ + "node_modules/core-js/modules/es.typed-array.int32-array.js"() { + var createTypedArrayConstructor = require_typed_array_constructor(); + createTypedArrayConstructor("Int32", function(init) { + return function Int32Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.uint8-array.js + var require_es_typed_array_uint8_array = __commonJS({ + "node_modules/core-js/modules/es.typed-array.uint8-array.js"() { + var createTypedArrayConstructor = require_typed_array_constructor(); + createTypedArrayConstructor("Uint8", function(init) { + return function Uint8Array2(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js + var require_es_typed_array_uint8_clamped_array = __commonJS({ + "node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js"() { + var createTypedArrayConstructor = require_typed_array_constructor(); + createTypedArrayConstructor("Uint8", function(init) { + return function Uint8ClampedArray2(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; + }, true); + } + }); + + // node_modules/core-js/modules/es.typed-array.uint16-array.js + var require_es_typed_array_uint16_array = __commonJS({ + "node_modules/core-js/modules/es.typed-array.uint16-array.js"() { + var createTypedArrayConstructor = require_typed_array_constructor(); + createTypedArrayConstructor("Uint16", function(init) { + return function Uint16Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.uint32-array.js + var require_es_typed_array_uint32_array = __commonJS({ + "node_modules/core-js/modules/es.typed-array.uint32-array.js"() { + var createTypedArrayConstructor = require_typed_array_constructor(); + createTypedArrayConstructor("Uint32", function(init) { + return function Uint32Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.at.js + var require_es_typed_array_at = __commonJS({ + "node_modules/core-js/modules/es.typed-array.at.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var lengthOfArrayLike = require_length_of_array_like(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("at", function at(index) { + var O = aTypedArray(this); + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var k2 = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return k2 < 0 || k2 >= len ? void 0 : O[k2]; + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.copy-within.js + var require_es_typed_array_copy_within = __commonJS({ + "node_modules/core-js/modules/es.typed-array.copy-within.js"() { + "use strict"; + var uncurryThis = require_function_uncurry_this(); + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $ArrayCopyWithin = require_array_copy_within(); + var u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("copyWithin", function copyWithin(target, start) { + return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : void 0); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.every.js + var require_es_typed_array_every = __commonJS({ + "node_modules/core-js/modules/es.typed-array.every.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $every = require_array_iteration().every; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("every", function every(callbackfn) { + return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.fill.js + var require_es_typed_array_fill = __commonJS({ + "node_modules/core-js/modules/es.typed-array.fill.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $fill = require_array_fill(); + var toBigInt = require_to_big_int(); + var classof = require_classof(); + var call = require_function_call(); + var uncurryThis = require_function_uncurry_this(); + var fails = require_fails(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var slice = uncurryThis("".slice); + var CONVERSION_BUG = fails(function() { + var count = 0; + new Int8Array(2).fill({ valueOf: function() { + return count++; + } }); + return count !== 1; + }); + exportTypedArrayMethod("fill", function fill(value) { + var length = arguments.length; + aTypedArray(this); + var actualValue = slice(classof(this), 0, 3) === "Big" ? toBigInt(value) : +value; + return call($fill, this, actualValue, length > 1 ? arguments[1] : void 0, length > 2 ? arguments[2] : void 0); + }, CONVERSION_BUG); + } + }); + + // node_modules/core-js/internals/typed-array-species-constructor.js + var require_typed_array_species_constructor = __commonJS({ + "node_modules/core-js/internals/typed-array-species-constructor.js"(exports, module) { + var ArrayBufferViewCore = require_array_buffer_view_core(); + var speciesConstructor = require_species_constructor(); + var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + module.exports = function(originalArray) { + return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray))); + }; + } + }); + + // node_modules/core-js/internals/typed-array-from-species-and-list.js + var require_typed_array_from_species_and_list = __commonJS({ + "node_modules/core-js/internals/typed-array-from-species-and-list.js"(exports, module) { + var arrayFromConstructorAndList = require_array_from_constructor_and_list(); + var typedArraySpeciesConstructor = require_typed_array_species_constructor(); + module.exports = function(instance, list) { + return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list); + }; + } + }); + + // node_modules/core-js/modules/es.typed-array.filter.js + var require_es_typed_array_filter = __commonJS({ + "node_modules/core-js/modules/es.typed-array.filter.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $filter = require_array_iteration().filter; + var fromSpeciesAndList = require_typed_array_from_species_and_list(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("filter", function filter(callbackfn) { + var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0); + return fromSpeciesAndList(this, list); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.find.js + var require_es_typed_array_find = __commonJS({ + "node_modules/core-js/modules/es.typed-array.find.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $find = require_array_iteration().find; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("find", function find(predicate) { + return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : void 0); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.find-index.js + var require_es_typed_array_find_index = __commonJS({ + "node_modules/core-js/modules/es.typed-array.find-index.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $findIndex = require_array_iteration().findIndex; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("findIndex", function findIndex(predicate) { + return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : void 0); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.find-last.js + var require_es_typed_array_find_last = __commonJS({ + "node_modules/core-js/modules/es.typed-array.find-last.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $findLast = require_array_iteration_from_last().findLast; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("findLast", function findLast(predicate) { + return $findLast(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : void 0); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.find-last-index.js + var require_es_typed_array_find_last_index = __commonJS({ + "node_modules/core-js/modules/es.typed-array.find-last-index.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $findLastIndex = require_array_iteration_from_last().findLastIndex; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("findLastIndex", function findLastIndex(predicate) { + return $findLastIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : void 0); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.for-each.js + var require_es_typed_array_for_each = __commonJS({ + "node_modules/core-js/modules/es.typed-array.for-each.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $forEach = require_array_iteration().forEach; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("forEach", function forEach(callbackfn) { + $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.from.js + var require_es_typed_array_from = __commonJS({ + "node_modules/core-js/modules/es.typed-array.from.js"() { + "use strict"; + var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require_typed_array_constructors_require_wrappers(); + var exportTypedArrayStaticMethod = require_array_buffer_view_core().exportTypedArrayStaticMethod; + var typedArrayFrom = require_typed_array_from(); + exportTypedArrayStaticMethod("from", typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); + } + }); + + // node_modules/core-js/modules/es.typed-array.includes.js + var require_es_typed_array_includes = __commonJS({ + "node_modules/core-js/modules/es.typed-array.includes.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $includes = require_array_includes().includes; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("includes", function includes(searchElement) { + return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : void 0); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.index-of.js + var require_es_typed_array_index_of = __commonJS({ + "node_modules/core-js/modules/es.typed-array.index-of.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $indexOf = require_array_includes().indexOf; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("indexOf", function indexOf(searchElement) { + return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : void 0); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.iterator.js + var require_es_typed_array_iterator = __commonJS({ + "node_modules/core-js/modules/es.typed-array.iterator.js"() { + "use strict"; + var global2 = require_global(); + var fails = require_fails(); + var uncurryThis = require_function_uncurry_this(); + var ArrayBufferViewCore = require_array_buffer_view_core(); + var ArrayIterators = require_es_array_iterator(); + var wellKnownSymbol = require_well_known_symbol(); + var ITERATOR = wellKnownSymbol("iterator"); + var Uint8Array2 = global2.Uint8Array; + var arrayValues = uncurryThis(ArrayIterators.values); + var arrayKeys = uncurryThis(ArrayIterators.keys); + var arrayEntries = uncurryThis(ArrayIterators.entries); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var TypedArrayPrototype = Uint8Array2 && Uint8Array2.prototype; + var GENERIC = !fails(function() { + TypedArrayPrototype[ITERATOR].call([1]); + }); + var ITERATOR_IS_VALUES = !!TypedArrayPrototype && TypedArrayPrototype.values && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values && TypedArrayPrototype.values.name === "values"; + var typedArrayValues = function values() { + return arrayValues(aTypedArray(this)); + }; + exportTypedArrayMethod("entries", function entries() { + return arrayEntries(aTypedArray(this)); + }, GENERIC); + exportTypedArrayMethod("keys", function keys() { + return arrayKeys(aTypedArray(this)); + }, GENERIC); + exportTypedArrayMethod("values", typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: "values" }); + exportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: "values" }); + } + }); + + // node_modules/core-js/modules/es.typed-array.join.js + var require_es_typed_array_join = __commonJS({ + "node_modules/core-js/modules/es.typed-array.join.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var uncurryThis = require_function_uncurry_this(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var $join = uncurryThis([].join); + exportTypedArrayMethod("join", function join(separator) { + return $join(aTypedArray(this), separator); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.last-index-of.js + var require_es_typed_array_last_index_of = __commonJS({ + "node_modules/core-js/modules/es.typed-array.last-index-of.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var apply = require_function_apply(); + var $lastIndexOf = require_array_last_index_of(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("lastIndexOf", function lastIndexOf(searchElement) { + var length = arguments.length; + return apply($lastIndexOf, aTypedArray(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.map.js + var require_es_typed_array_map = __commonJS({ + "node_modules/core-js/modules/es.typed-array.map.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $map = require_array_iteration().map; + var typedArraySpeciesConstructor = require_typed_array_species_constructor(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("map", function map(mapfn) { + return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : void 0, function(O, length) { + return new (typedArraySpeciesConstructor(O))(length); + }); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.of.js + var require_es_typed_array_of = __commonJS({ + "node_modules/core-js/modules/es.typed-array.of.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require_typed_array_constructors_require_wrappers(); + var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; + var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod; + exportTypedArrayStaticMethod("of", function of() { + var index = 0; + var length = arguments.length; + var result = new (aTypedArrayConstructor(this))(length); + while (length > index) + result[index] = arguments[index++]; + return result; + }, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); + } + }); + + // node_modules/core-js/modules/es.typed-array.reduce.js + var require_es_typed_array_reduce = __commonJS({ + "node_modules/core-js/modules/es.typed-array.reduce.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $reduce = require_array_reduce().left; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("reduce", function reduce(callbackfn) { + var length = arguments.length; + return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : void 0); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.reduce-right.js + var require_es_typed_array_reduce_right = __commonJS({ + "node_modules/core-js/modules/es.typed-array.reduce-right.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $reduceRight = require_array_reduce().right; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("reduceRight", function reduceRight(callbackfn) { + var length = arguments.length; + return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : void 0); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.reverse.js + var require_es_typed_array_reverse = __commonJS({ + "node_modules/core-js/modules/es.typed-array.reverse.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var floor = Math.floor; + exportTypedArrayMethod("reverse", function reverse() { + var that = this; + var length = aTypedArray(that).length; + var middle = floor(length / 2); + var index = 0; + var value; + while (index < middle) { + value = that[index]; + that[index++] = that[--length]; + that[length] = value; + } + return that; + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.set.js + var require_es_typed_array_set = __commonJS({ + "node_modules/core-js/modules/es.typed-array.set.js"() { + "use strict"; + var global2 = require_global(); + var call = require_function_call(); + var ArrayBufferViewCore = require_array_buffer_view_core(); + var lengthOfArrayLike = require_length_of_array_like(); + var toOffset = require_to_offset(); + var toIndexedObject = require_to_object(); + var fails = require_fails(); + var RangeError2 = global2.RangeError; + var Int8Array2 = global2.Int8Array; + var Int8ArrayPrototype = Int8Array2 && Int8Array2.prototype; + var $set = Int8ArrayPrototype && Int8ArrayPrototype.set; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails(function() { + var array = new Uint8ClampedArray(2); + call($set, array, { length: 1, 0: 3 }, 1); + return array[1] !== 3; + }); + var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function() { + var array = new Int8Array2(2); + array.set(1); + array.set("2", 1); + return array[0] !== 0 || array[1] !== 2; + }); + exportTypedArrayMethod("set", function set(arrayLike) { + aTypedArray(this); + var offset = toOffset(arguments.length > 1 ? arguments[1] : void 0, 1); + var src = toIndexedObject(arrayLike); + if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) + return call($set, this, src, offset); + var length = this.length; + var len = lengthOfArrayLike(src); + var index = 0; + if (len + offset > length) + throw RangeError2("Wrong length"); + while (index < len) + this[offset + index] = src[index++]; + }, !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG); + } + }); + + // node_modules/core-js/modules/es.typed-array.slice.js + var require_es_typed_array_slice = __commonJS({ + "node_modules/core-js/modules/es.typed-array.slice.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var typedArraySpeciesConstructor = require_typed_array_species_constructor(); + var fails = require_fails(); + var arraySlice = require_array_slice(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var FORCED = fails(function() { + new Int8Array(1).slice(); + }); + exportTypedArrayMethod("slice", function slice(start, end) { + var list = arraySlice(aTypedArray(this), start, end); + var C2 = typedArraySpeciesConstructor(this); + var index = 0; + var length = list.length; + var result = new C2(length); + while (length > index) + result[index] = list[index++]; + return result; + }, FORCED); + } + }); + + // node_modules/core-js/modules/es.typed-array.some.js + var require_es_typed_array_some = __commonJS({ + "node_modules/core-js/modules/es.typed-array.some.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var $some = require_array_iteration().some; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("some", function some(callbackfn) { + return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.sort.js + var require_es_typed_array_sort = __commonJS({ + "node_modules/core-js/modules/es.typed-array.sort.js"() { + "use strict"; + var global2 = require_global(); + var uncurryThis = require_function_uncurry_this_clause(); + var fails = require_fails(); + var aCallable = require_a_callable(); + var internalSort = require_array_sort(); + var ArrayBufferViewCore = require_array_buffer_view_core(); + var FF = require_engine_ff_version(); + var IE_OR_EDGE = require_engine_is_ie_or_edge(); + var V8 = require_engine_v8_version(); + var WEBKIT = require_engine_webkit_version(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var Uint16Array = global2.Uint16Array; + var nativeSort = Uint16Array && uncurryThis(Uint16Array.prototype.sort); + var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !(fails(function() { + nativeSort(new Uint16Array(2), null); + }) && fails(function() { + nativeSort(new Uint16Array(2), {}); + })); + var STABLE_SORT = !!nativeSort && !fails(function() { + if (V8) + return V8 < 74; + if (FF) + return FF < 67; + if (IE_OR_EDGE) + return true; + if (WEBKIT) + return WEBKIT < 602; + var array = new Uint16Array(516); + var expected = Array(516); + var index, mod; + for (index = 0; index < 516; index++) { + mod = index % 4; + array[index] = 515 - index; + expected[index] = index - 2 * mod + 3; + } + nativeSort(array, function(a3, b2) { + return (a3 / 4 | 0) - (b2 / 4 | 0); + }); + for (index = 0; index < 516; index++) { + if (array[index] !== expected[index]) + return true; + } + }); + var getSortCompare = function(comparefn) { + return function(x2, y2) { + if (comparefn !== void 0) + return +comparefn(x2, y2) || 0; + if (y2 !== y2) + return -1; + if (x2 !== x2) + return 1; + if (x2 === 0 && y2 === 0) + return 1 / x2 > 0 && 1 / y2 < 0 ? 1 : -1; + return x2 > y2; + }; + }; + exportTypedArrayMethod("sort", function sort(comparefn) { + if (comparefn !== void 0) + aCallable(comparefn); + if (STABLE_SORT) + return nativeSort(this, comparefn); + return internalSort(aTypedArray(this), getSortCompare(comparefn)); + }, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS); + } + }); + + // node_modules/core-js/modules/es.typed-array.subarray.js + var require_es_typed_array_subarray = __commonJS({ + "node_modules/core-js/modules/es.typed-array.subarray.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var toLength = require_to_length(); + var toAbsoluteIndex = require_to_absolute_index(); + var typedArraySpeciesConstructor = require_typed_array_species_constructor(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + exportTypedArrayMethod("subarray", function subarray(begin, end) { + var O = aTypedArray(this); + var length = O.length; + var beginIndex = toAbsoluteIndex(begin, length); + var C2 = typedArraySpeciesConstructor(O); + return new C2( + O.buffer, + O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, + toLength((end === void 0 ? length : toAbsoluteIndex(end, length)) - beginIndex) + ); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.to-locale-string.js + var require_es_typed_array_to_locale_string = __commonJS({ + "node_modules/core-js/modules/es.typed-array.to-locale-string.js"() { + "use strict"; + var global2 = require_global(); + var apply = require_function_apply(); + var ArrayBufferViewCore = require_array_buffer_view_core(); + var fails = require_fails(); + var arraySlice = require_array_slice(); + var Int8Array2 = global2.Int8Array; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var $toLocaleString = [].toLocaleString; + var TO_LOCALE_STRING_BUG = !!Int8Array2 && fails(function() { + $toLocaleString.call(new Int8Array2(1)); + }); + var FORCED = fails(function() { + return [1, 2].toLocaleString() != new Int8Array2([1, 2]).toLocaleString(); + }) || !fails(function() { + Int8Array2.prototype.toLocaleString.call([1, 2]); + }); + exportTypedArrayMethod("toLocaleString", function toLocaleString() { + return apply( + $toLocaleString, + TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this), + arraySlice(arguments) + ); + }, FORCED); + } + }); + + // node_modules/core-js/modules/es.typed-array.to-reversed.js + var require_es_typed_array_to_reversed = __commonJS({ + "node_modules/core-js/modules/es.typed-array.to-reversed.js"() { + "use strict"; + var arrayToReversed = require_array_to_reversed(); + var ArrayBufferViewCore = require_array_buffer_view_core(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + exportTypedArrayMethod("toReversed", function toReversed() { + return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this)); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.to-sorted.js + var require_es_typed_array_to_sorted = __commonJS({ + "node_modules/core-js/modules/es.typed-array.to-sorted.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var uncurryThis = require_function_uncurry_this(); + var aCallable = require_a_callable(); + var arrayFromConstructorAndList = require_array_from_constructor_and_list(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort); + exportTypedArrayMethod("toSorted", function toSorted(compareFn) { + if (compareFn !== void 0) + aCallable(compareFn); + var O = aTypedArray(this); + var A2 = arrayFromConstructorAndList(getTypedArrayConstructor(O), O); + return sort(A2, compareFn); + }); + } + }); + + // node_modules/core-js/modules/es.typed-array.to-string.js + var require_es_typed_array_to_string = __commonJS({ + "node_modules/core-js/modules/es.typed-array.to-string.js"() { + "use strict"; + var exportTypedArrayMethod = require_array_buffer_view_core().exportTypedArrayMethod; + var fails = require_fails(); + var global2 = require_global(); + var uncurryThis = require_function_uncurry_this(); + var Uint8Array2 = global2.Uint8Array; + var Uint8ArrayPrototype = Uint8Array2 && Uint8Array2.prototype || {}; + var arrayToString = [].toString; + var join = uncurryThis([].join); + if (fails(function() { + arrayToString.call({}); + })) { + arrayToString = function toString() { + return join(this); + }; + } + var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString; + exportTypedArrayMethod("toString", arrayToString, IS_NOT_ARRAY_METHOD); + } + }); + + // node_modules/core-js/modules/es.typed-array.with.js + var require_es_typed_array_with = __commonJS({ + "node_modules/core-js/modules/es.typed-array.with.js"() { + "use strict"; + var arrayWith = require_array_with(); + var ArrayBufferViewCore = require_array_buffer_view_core(); + var isBigIntArray = require_is_big_int_array(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var toBigInt = require_to_big_int(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var PROPER_ORDER = !!function() { + try { + new Int8Array(1)["with"](2, { valueOf: function() { + throw 8; + } }); + } catch (error) { + return error === 8; + } + }(); + exportTypedArrayMethod("with", { "with": function(index, value) { + var O = aTypedArray(this); + var relativeIndex = toIntegerOrInfinity(index); + var actualValue = isBigIntArray(O) ? toBigInt(value) : +value; + return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue); + } }["with"], !PROPER_ORDER); + } + }); + + // node_modules/core-js/modules/es.unescape.js + var require_es_unescape = __commonJS({ + "node_modules/core-js/modules/es.unescape.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var toString = require_to_string(); + var fromCharCode = String.fromCharCode; + var charAt = uncurryThis("".charAt); + var exec = uncurryThis(/./.exec); + var stringSlice = uncurryThis("".slice); + var hex2 = /^[\da-f]{2}$/i; + var hex4 = /^[\da-f]{4}$/i; + $2({ global: true }, { + unescape: function unescape2(string) { + var str = toString(string); + var result = ""; + var length = str.length; + var index = 0; + var chr, part; + while (index < length) { + chr = charAt(str, index++); + if (chr === "%") { + if (charAt(str, index) === "u") { + part = stringSlice(str, index + 1, index + 5); + if (exec(hex4, part)) { + result += fromCharCode(parseInt(part, 16)); + index += 5; + continue; + } + } else { + part = stringSlice(str, index, index + 2); + if (exec(hex2, part)) { + result += fromCharCode(parseInt(part, 16)); + index += 2; + continue; + } + } + } + result += chr; + } + return result; + } + }); + } + }); + + // node_modules/core-js/internals/collection-weak.js + var require_collection_weak = __commonJS({ + "node_modules/core-js/internals/collection-weak.js"(exports, module) { + "use strict"; + var uncurryThis = require_function_uncurry_this(); + var defineBuiltIns = require_define_built_ins(); + var getWeakData = require_internal_metadata().getWeakData; + var anInstance = require_an_instance(); + var anObject = require_an_object(); + var isNullOrUndefined = require_is_null_or_undefined(); + var isObject = require_is_object(); + var iterate = require_iterate(); + var ArrayIterationModule = require_array_iteration(); + var hasOwn = require_has_own_property(); + var InternalStateModule = require_internal_state(); + var setInternalState = InternalStateModule.set; + var internalStateGetterFor = InternalStateModule.getterFor; + var find = ArrayIterationModule.find; + var findIndex = ArrayIterationModule.findIndex; + var splice = uncurryThis([].splice); + var id = 0; + var uncaughtFrozenStore = function(state2) { + return state2.frozen || (state2.frozen = new UncaughtFrozenStore()); + }; + var UncaughtFrozenStore = function() { + this.entries = []; + }; + var findUncaughtFrozen = function(store, key) { + return find(store.entries, function(it) { + return it[0] === key; + }); + }; + UncaughtFrozenStore.prototype = { + get: function(key) { + var entry = findUncaughtFrozen(this, key); + if (entry) + return entry[1]; + }, + has: function(key) { + return !!findUncaughtFrozen(this, key); + }, + set: function(key, value) { + var entry = findUncaughtFrozen(this, key); + if (entry) + entry[1] = value; + else + this.entries.push([key, value]); + }, + "delete": function(key) { + var index = findIndex(this.entries, function(it) { + return it[0] === key; + }); + if (~index) + splice(this.entries, index, 1); + return !!~index; + } + }; + module.exports = { + getConstructor: function(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { + var Constructor = wrapper(function(that, iterable) { + anInstance(that, Prototype); + setInternalState(that, { + type: CONSTRUCTOR_NAME, + id: id++, + frozen: void 0 + }); + if (!isNullOrUndefined(iterable)) + iterate(iterable, that[ADDER], { that, AS_ENTRIES: IS_MAP }); + }); + var Prototype = Constructor.prototype; + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); + var define2 = function(that, key, value) { + var state2 = getInternalState(that); + var data = getWeakData(anObject(key), true); + if (data === true) + uncaughtFrozenStore(state2).set(key, value); + else + data[state2.id] = value; + return that; + }; + defineBuiltIns(Prototype, { + // `{ WeakMap, WeakSet }.prototype.delete(key)` methods + // https://tc39.es/ecma262/#sec-weakmap.prototype.delete + // https://tc39.es/ecma262/#sec-weakset.prototype.delete + "delete": function(key) { + var state2 = getInternalState(this); + if (!isObject(key)) + return false; + var data = getWeakData(key); + if (data === true) + return uncaughtFrozenStore(state2)["delete"](key); + return data && hasOwn(data, state2.id) && delete data[state2.id]; + }, + // `{ WeakMap, WeakSet }.prototype.has(key)` methods + // https://tc39.es/ecma262/#sec-weakmap.prototype.has + // https://tc39.es/ecma262/#sec-weakset.prototype.has + has: function has(key) { + var state2 = getInternalState(this); + if (!isObject(key)) + return false; + var data = getWeakData(key); + if (data === true) + return uncaughtFrozenStore(state2).has(key); + return data && hasOwn(data, state2.id); + } + }); + defineBuiltIns(Prototype, IS_MAP ? { + // `WeakMap.prototype.get(key)` method + // https://tc39.es/ecma262/#sec-weakmap.prototype.get + get: function get(key) { + var state2 = getInternalState(this); + if (isObject(key)) { + var data = getWeakData(key); + if (data === true) + return uncaughtFrozenStore(state2).get(key); + return data ? data[state2.id] : void 0; + } + }, + // `WeakMap.prototype.set(key, value)` method + // https://tc39.es/ecma262/#sec-weakmap.prototype.set + set: function set(key, value) { + return define2(this, key, value); + } + } : { + // `WeakSet.prototype.add(value)` method + // https://tc39.es/ecma262/#sec-weakset.prototype.add + add: function add(value) { + return define2(this, value, true); + } + }); + return Constructor; + } + }; + } + }); + + // node_modules/core-js/modules/es.weak-map.constructor.js + var require_es_weak_map_constructor = __commonJS({ + "node_modules/core-js/modules/es.weak-map.constructor.js"() { + "use strict"; + var FREEZING = require_freezing(); + var global2 = require_global(); + var uncurryThis = require_function_uncurry_this(); + var defineBuiltIns = require_define_built_ins(); + var InternalMetadataModule = require_internal_metadata(); + var collection = require_collection(); + var collectionWeak = require_collection_weak(); + var isObject = require_is_object(); + var enforceInternalState = require_internal_state().enforce; + var fails = require_fails(); + var NATIVE_WEAK_MAP = require_weak_map_basic_detection(); + var $Object = Object; + var isArray = Array.isArray; + var isExtensible = $Object.isExtensible; + var isFrozen = $Object.isFrozen; + var isSealed = $Object.isSealed; + var freeze = $Object.freeze; + var seal = $Object.seal; + var FROZEN = {}; + var SEALED = {}; + var IS_IE11 = !global2.ActiveXObject && "ActiveXObject" in global2; + var InternalWeakMap; + var wrapper = function(init) { + return function WeakMap2() { + return init(this, arguments.length ? arguments[0] : void 0); + }; + }; + var $WeakMap = collection("WeakMap", wrapper, collectionWeak); + var WeakMapPrototype = $WeakMap.prototype; + var nativeSet = uncurryThis(WeakMapPrototype.set); + var hasMSEdgeFreezingBug = function() { + return FREEZING && fails(function() { + var frozenArray = freeze([]); + nativeSet(new $WeakMap(), frozenArray, 1); + return !isFrozen(frozenArray); + }); + }; + if (NATIVE_WEAK_MAP) { + if (IS_IE11) { + InternalWeakMap = collectionWeak.getConstructor(wrapper, "WeakMap", true); + InternalMetadataModule.enable(); + nativeDelete = uncurryThis(WeakMapPrototype["delete"]); + nativeHas = uncurryThis(WeakMapPrototype.has); + nativeGet = uncurryThis(WeakMapPrototype.get); + defineBuiltIns(WeakMapPrototype, { + "delete": function(key) { + if (isObject(key) && !isExtensible(key)) { + var state2 = enforceInternalState(this); + if (!state2.frozen) + state2.frozen = new InternalWeakMap(); + return nativeDelete(this, key) || state2.frozen["delete"](key); + } + return nativeDelete(this, key); + }, + has: function has(key) { + if (isObject(key) && !isExtensible(key)) { + var state2 = enforceInternalState(this); + if (!state2.frozen) + state2.frozen = new InternalWeakMap(); + return nativeHas(this, key) || state2.frozen.has(key); + } + return nativeHas(this, key); + }, + get: function get(key) { + if (isObject(key) && !isExtensible(key)) { + var state2 = enforceInternalState(this); + if (!state2.frozen) + state2.frozen = new InternalWeakMap(); + return nativeHas(this, key) ? nativeGet(this, key) : state2.frozen.get(key); + } + return nativeGet(this, key); + }, + set: function set(key, value) { + if (isObject(key) && !isExtensible(key)) { + var state2 = enforceInternalState(this); + if (!state2.frozen) + state2.frozen = new InternalWeakMap(); + nativeHas(this, key) ? nativeSet(this, key, value) : state2.frozen.set(key, value); + } else + nativeSet(this, key, value); + return this; + } + }); + } else if (hasMSEdgeFreezingBug()) { + defineBuiltIns(WeakMapPrototype, { + set: function set(key, value) { + var arrayIntegrityLevel; + if (isArray(key)) { + if (isFrozen(key)) + arrayIntegrityLevel = FROZEN; + else if (isSealed(key)) + arrayIntegrityLevel = SEALED; + } + nativeSet(this, key, value); + if (arrayIntegrityLevel == FROZEN) + freeze(key); + if (arrayIntegrityLevel == SEALED) + seal(key); + return this; + } + }); + } + } + var nativeDelete; + var nativeHas; + var nativeGet; + } + }); + + // node_modules/core-js/modules/es.weak-map.js + var require_es_weak_map = __commonJS({ + "node_modules/core-js/modules/es.weak-map.js"() { + require_es_weak_map_constructor(); + } + }); + + // node_modules/core-js/modules/es.weak-set.constructor.js + var require_es_weak_set_constructor = __commonJS({ + "node_modules/core-js/modules/es.weak-set.constructor.js"() { + "use strict"; + var collection = require_collection(); + var collectionWeak = require_collection_weak(); + collection("WeakSet", function(init) { + return function WeakSet2() { + return init(this, arguments.length ? arguments[0] : void 0); + }; + }, collectionWeak); + } + }); + + // node_modules/core-js/modules/es.weak-set.js + var require_es_weak_set = __commonJS({ + "node_modules/core-js/modules/es.weak-set.js"() { + require_es_weak_set_constructor(); + } + }); + + // node_modules/core-js/internals/base64-map.js + var require_base64_map = __commonJS({ + "node_modules/core-js/internals/base64-map.js"(exports, module) { + var itoc = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; + var ctoi = {}; + for (index = 0; index < 66; index++) + ctoi[itoc.charAt(index)] = index; + var index; + module.exports = { + itoc, + ctoi + }; + } + }); + + // node_modules/core-js/modules/web.atob.js + var require_web_atob = __commonJS({ + "node_modules/core-js/modules/web.atob.js"() { + var $2 = require_export(); + var global2 = require_global(); + var getBuiltIn = require_get_built_in(); + var uncurryThis = require_function_uncurry_this(); + var call = require_function_call(); + var fails = require_fails(); + var toString = require_to_string(); + var hasOwn = require_has_own_property(); + var validateArgumentsLength = require_validate_arguments_length(); + var ctoi = require_base64_map().ctoi; + var disallowed = /[^\d+/a-z]/i; + var whitespaces = /[\t\n\f\r ]+/g; + var finalEq = /[=]{1,2}$/; + var $atob = getBuiltIn("atob"); + var fromCharCode = String.fromCharCode; + var charAt = uncurryThis("".charAt); + var replace = uncurryThis("".replace); + var exec = uncurryThis(disallowed.exec); + var NO_SPACES_IGNORE = fails(function() { + return $atob(" ") !== ""; + }); + var NO_ENCODING_CHECK = !fails(function() { + $atob("a"); + }); + var NO_ARG_RECEIVING_CHECK = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && !fails(function() { + $atob(); + }); + var WRONG_ARITY = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && $atob.length !== 1; + $2({ global: true, bind: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_ENCODING_CHECK || NO_ARG_RECEIVING_CHECK || WRONG_ARITY }, { + atob: function atob(data) { + validateArgumentsLength(arguments.length, 1); + if (NO_ARG_RECEIVING_CHECK || WRONG_ARITY) + return call($atob, global2, data); + var string = replace(toString(data), whitespaces, ""); + var output = ""; + var position = 0; + var bc = 0; + var chr, bs; + if (string.length % 4 == 0) { + string = replace(string, finalEq, ""); + } + if (string.length % 4 == 1 || exec(disallowed, string)) { + throw new (getBuiltIn("DOMException"))("The string is not correctly encoded", "InvalidCharacterError"); + } + while (chr = charAt(string, position++)) { + if (hasOwn(ctoi, chr)) { + bs = bc % 4 ? bs * 64 + ctoi[chr] : ctoi[chr]; + if (bc++ % 4) + output += fromCharCode(255 & bs >> (-2 * bc & 6)); + } + } + return output; + } + }); + } + }); + + // node_modules/core-js/modules/web.btoa.js + var require_web_btoa = __commonJS({ + "node_modules/core-js/modules/web.btoa.js"() { + var $2 = require_export(); + var global2 = require_global(); + var getBuiltIn = require_get_built_in(); + var uncurryThis = require_function_uncurry_this(); + var call = require_function_call(); + var fails = require_fails(); + var toString = require_to_string(); + var validateArgumentsLength = require_validate_arguments_length(); + var itoc = require_base64_map().itoc; + var $btoa = getBuiltIn("btoa"); + var charAt = uncurryThis("".charAt); + var charCodeAt = uncurryThis("".charCodeAt); + var NO_ARG_RECEIVING_CHECK = !!$btoa && !fails(function() { + $btoa(); + }); + var WRONG_ARG_CONVERSION = !!$btoa && fails(function() { + return $btoa(null) !== "bnVsbA=="; + }); + var WRONG_ARITY = !!$btoa && $btoa.length !== 1; + $2({ global: true, bind: true, enumerable: true, forced: NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY }, { + btoa: function btoa(data) { + validateArgumentsLength(arguments.length, 1); + if (NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY) + return call($btoa, global2, toString(data)); + var string = toString(data); + var output = ""; + var position = 0; + var map = itoc; + var block, charCode; + while (charAt(string, position) || (map = "=", position % 1)) { + charCode = charCodeAt(string, position += 3 / 4); + if (charCode > 255) { + throw new (getBuiltIn("DOMException"))("The string contains characters outside of the Latin1 range", "InvalidCharacterError"); + } + block = block << 8 | charCode; + output += charAt(map, 63 & block >> 8 - position % 1 * 8); + } + return output; + } + }); + } + }); + + // node_modules/core-js/internals/dom-iterables.js + var require_dom_iterables = __commonJS({ + "node_modules/core-js/internals/dom-iterables.js"(exports, module) { + module.exports = { + CSSRuleList: 0, + CSSStyleDeclaration: 0, + CSSValueList: 0, + ClientRectList: 0, + DOMRectList: 0, + DOMStringList: 0, + DOMTokenList: 1, + DataTransferItemList: 0, + FileList: 0, + HTMLAllCollection: 0, + HTMLCollection: 0, + HTMLFormElement: 0, + HTMLSelectElement: 0, + MediaList: 0, + MimeTypeArray: 0, + NamedNodeMap: 0, + NodeList: 1, + PaintRequestList: 0, + Plugin: 0, + PluginArray: 0, + SVGLengthList: 0, + SVGNumberList: 0, + SVGPathSegList: 0, + SVGPointList: 0, + SVGStringList: 0, + SVGTransformList: 0, + SourceBufferList: 0, + StyleSheetList: 0, + TextTrackCueList: 0, + TextTrackList: 0, + TouchList: 0 + }; + } + }); + + // node_modules/core-js/internals/dom-token-list-prototype.js + var require_dom_token_list_prototype = __commonJS({ + "node_modules/core-js/internals/dom-token-list-prototype.js"(exports, module) { + var documentCreateElement = require_document_create_element(); + var classList = documentCreateElement("span").classList; + var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype; + module.exports = DOMTokenListPrototype === Object.prototype ? void 0 : DOMTokenListPrototype; + } + }); + + // node_modules/core-js/modules/web.dom-collections.for-each.js + var require_web_dom_collections_for_each = __commonJS({ + "node_modules/core-js/modules/web.dom-collections.for-each.js"() { + var global2 = require_global(); + var DOMIterables = require_dom_iterables(); + var DOMTokenListPrototype = require_dom_token_list_prototype(); + var forEach = require_array_for_each(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var handlePrototype = function(CollectionPrototype) { + if (CollectionPrototype && CollectionPrototype.forEach !== forEach) + try { + createNonEnumerableProperty(CollectionPrototype, "forEach", forEach); + } catch (error) { + CollectionPrototype.forEach = forEach; + } + }; + for (COLLECTION_NAME in DOMIterables) { + if (DOMIterables[COLLECTION_NAME]) { + handlePrototype(global2[COLLECTION_NAME] && global2[COLLECTION_NAME].prototype); + } + } + var COLLECTION_NAME; + handlePrototype(DOMTokenListPrototype); + } + }); + + // node_modules/core-js/modules/web.dom-collections.iterator.js + var require_web_dom_collections_iterator = __commonJS({ + "node_modules/core-js/modules/web.dom-collections.iterator.js"() { + var global2 = require_global(); + var DOMIterables = require_dom_iterables(); + var DOMTokenListPrototype = require_dom_token_list_prototype(); + var ArrayIteratorMethods = require_es_array_iterator(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var wellKnownSymbol = require_well_known_symbol(); + var ITERATOR = wellKnownSymbol("iterator"); + var TO_STRING_TAG = wellKnownSymbol("toStringTag"); + var ArrayValues = ArrayIteratorMethods.values; + var handlePrototype = function(CollectionPrototype, COLLECTION_NAME2) { + if (CollectionPrototype) { + if (CollectionPrototype[ITERATOR] !== ArrayValues) + try { + createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); + } catch (error) { + CollectionPrototype[ITERATOR] = ArrayValues; + } + if (!CollectionPrototype[TO_STRING_TAG]) { + createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME2); + } + if (DOMIterables[COLLECTION_NAME2]) + for (var METHOD_NAME in ArrayIteratorMethods) { + if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) + try { + createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]); + } catch (error) { + CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME]; + } + } + } + }; + for (COLLECTION_NAME in DOMIterables) { + handlePrototype(global2[COLLECTION_NAME] && global2[COLLECTION_NAME].prototype, COLLECTION_NAME); + } + var COLLECTION_NAME; + handlePrototype(DOMTokenListPrototype, "DOMTokenList"); + } + }); + + // node_modules/core-js/internals/try-node-require.js + var require_try_node_require = __commonJS({ + "node_modules/core-js/internals/try-node-require.js"(exports, module) { + var IS_NODE = require_engine_is_node(); + module.exports = function(name) { + try { + if (IS_NODE) + return Function('return require("' + name + '")')(); + } catch (error) { + } + }; + } + }); + + // node_modules/core-js/internals/dom-exception-constants.js + var require_dom_exception_constants = __commonJS({ + "node_modules/core-js/internals/dom-exception-constants.js"(exports, module) { + module.exports = { + IndexSizeError: { s: "INDEX_SIZE_ERR", c: 1, m: 1 }, + DOMStringSizeError: { s: "DOMSTRING_SIZE_ERR", c: 2, m: 0 }, + HierarchyRequestError: { s: "HIERARCHY_REQUEST_ERR", c: 3, m: 1 }, + WrongDocumentError: { s: "WRONG_DOCUMENT_ERR", c: 4, m: 1 }, + InvalidCharacterError: { s: "INVALID_CHARACTER_ERR", c: 5, m: 1 }, + NoDataAllowedError: { s: "NO_DATA_ALLOWED_ERR", c: 6, m: 0 }, + NoModificationAllowedError: { s: "NO_MODIFICATION_ALLOWED_ERR", c: 7, m: 1 }, + NotFoundError: { s: "NOT_FOUND_ERR", c: 8, m: 1 }, + NotSupportedError: { s: "NOT_SUPPORTED_ERR", c: 9, m: 1 }, + InUseAttributeError: { s: "INUSE_ATTRIBUTE_ERR", c: 10, m: 1 }, + InvalidStateError: { s: "INVALID_STATE_ERR", c: 11, m: 1 }, + SyntaxError: { s: "SYNTAX_ERR", c: 12, m: 1 }, + InvalidModificationError: { s: "INVALID_MODIFICATION_ERR", c: 13, m: 1 }, + NamespaceError: { s: "NAMESPACE_ERR", c: 14, m: 1 }, + InvalidAccessError: { s: "INVALID_ACCESS_ERR", c: 15, m: 1 }, + ValidationError: { s: "VALIDATION_ERR", c: 16, m: 0 }, + TypeMismatchError: { s: "TYPE_MISMATCH_ERR", c: 17, m: 1 }, + SecurityError: { s: "SECURITY_ERR", c: 18, m: 1 }, + NetworkError: { s: "NETWORK_ERR", c: 19, m: 1 }, + AbortError: { s: "ABORT_ERR", c: 20, m: 1 }, + URLMismatchError: { s: "URL_MISMATCH_ERR", c: 21, m: 1 }, + QuotaExceededError: { s: "QUOTA_EXCEEDED_ERR", c: 22, m: 1 }, + TimeoutError: { s: "TIMEOUT_ERR", c: 23, m: 1 }, + InvalidNodeTypeError: { s: "INVALID_NODE_TYPE_ERR", c: 24, m: 1 }, + DataCloneError: { s: "DATA_CLONE_ERR", c: 25, m: 1 } + }; + } + }); + + // node_modules/core-js/modules/web.dom-exception.constructor.js + var require_web_dom_exception_constructor = __commonJS({ + "node_modules/core-js/modules/web.dom-exception.constructor.js"() { + "use strict"; + var $2 = require_export(); + var tryNodeRequire = require_try_node_require(); + var getBuiltIn = require_get_built_in(); + var fails = require_fails(); + var create = require_object_create(); + var createPropertyDescriptor = require_create_property_descriptor(); + var defineProperty = require_object_define_property().f; + var defineBuiltIn = require_define_built_in(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var hasOwn = require_has_own_property(); + var anInstance = require_an_instance(); + var anObject = require_an_object(); + var errorToString = require_error_to_string(); + var normalizeStringArgument = require_normalize_string_argument(); + var DOMExceptionConstants = require_dom_exception_constants(); + var clearErrorStack = require_error_stack_clear(); + var InternalStateModule = require_internal_state(); + var DESCRIPTORS = require_descriptors(); + var IS_PURE = require_is_pure(); + var DOM_EXCEPTION = "DOMException"; + var DATA_CLONE_ERR = "DATA_CLONE_ERR"; + var Error2 = getBuiltIn("Error"); + var NativeDOMException = getBuiltIn(DOM_EXCEPTION) || function() { + try { + var MessageChannel = getBuiltIn("MessageChannel") || tryNodeRequire("worker_threads").MessageChannel; + new MessageChannel().port1.postMessage(/* @__PURE__ */ new WeakMap()); + } catch (error) { + if (error.name == DATA_CLONE_ERR && error.code == 25) + return error.constructor; + } + }(); + var NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype; + var ErrorPrototype = Error2.prototype; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION); + var HAS_STACK = "stack" in Error2(DOM_EXCEPTION); + var codeFor = function(name) { + return hasOwn(DOMExceptionConstants, name) && DOMExceptionConstants[name].m ? DOMExceptionConstants[name].c : 0; + }; + var $DOMException = function DOMException() { + anInstance(this, DOMExceptionPrototype); + var argumentsLength = arguments.length; + var message = normalizeStringArgument(argumentsLength < 1 ? void 0 : arguments[0]); + var name = normalizeStringArgument(argumentsLength < 2 ? void 0 : arguments[1], "Error"); + var code = codeFor(name); + setInternalState(this, { + type: DOM_EXCEPTION, + name, + message, + code + }); + if (!DESCRIPTORS) { + this.name = name; + this.message = message; + this.code = code; + } + if (HAS_STACK) { + var error = Error2(message); + error.name = DOM_EXCEPTION; + defineProperty(this, "stack", createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); + } + }; + var DOMExceptionPrototype = $DOMException.prototype = create(ErrorPrototype); + var createGetterDescriptor = function(get) { + return { enumerable: true, configurable: true, get }; + }; + var getterFor = function(key2) { + return createGetterDescriptor(function() { + return getInternalState(this)[key2]; + }); + }; + if (DESCRIPTORS) { + defineBuiltInAccessor(DOMExceptionPrototype, "code", getterFor("code")); + defineBuiltInAccessor(DOMExceptionPrototype, "message", getterFor("message")); + defineBuiltInAccessor(DOMExceptionPrototype, "name", getterFor("name")); + } + defineProperty(DOMExceptionPrototype, "constructor", createPropertyDescriptor(1, $DOMException)); + var INCORRECT_CONSTRUCTOR = fails(function() { + return !(new NativeDOMException() instanceof Error2); + }); + var INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function() { + return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== "2: 1"; + }); + var INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function() { + return new NativeDOMException(1, "DataCloneError").code !== 25; + }); + var MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR || NativeDOMException[DATA_CLONE_ERR] !== 25 || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25; + var FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR; + $2({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, { + DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException + }); + var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); + var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; + if (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) { + defineBuiltIn(PolyfilledDOMExceptionPrototype, "toString", errorToString); + } + if (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) { + defineBuiltInAccessor(PolyfilledDOMExceptionPrototype, "code", createGetterDescriptor(function() { + return codeFor(anObject(this).name); + })); + } + for (key in DOMExceptionConstants) + if (hasOwn(DOMExceptionConstants, key)) { + constant = DOMExceptionConstants[key]; + constantName = constant.s; + descriptor = createPropertyDescriptor(6, constant.c); + if (!hasOwn(PolyfilledDOMException, constantName)) { + defineProperty(PolyfilledDOMException, constantName, descriptor); + } + if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) { + defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor); + } + } + var constant; + var constantName; + var descriptor; + var key; + } + }); + + // node_modules/core-js/modules/web.dom-exception.stack.js + var require_web_dom_exception_stack = __commonJS({ + "node_modules/core-js/modules/web.dom-exception.stack.js"() { + "use strict"; + var $2 = require_export(); + var global2 = require_global(); + var getBuiltIn = require_get_built_in(); + var createPropertyDescriptor = require_create_property_descriptor(); + var defineProperty = require_object_define_property().f; + var hasOwn = require_has_own_property(); + var anInstance = require_an_instance(); + var inheritIfRequired = require_inherit_if_required(); + var normalizeStringArgument = require_normalize_string_argument(); + var DOMExceptionConstants = require_dom_exception_constants(); + var clearErrorStack = require_error_stack_clear(); + var DESCRIPTORS = require_descriptors(); + var IS_PURE = require_is_pure(); + var DOM_EXCEPTION = "DOMException"; + var Error2 = getBuiltIn("Error"); + var NativeDOMException = getBuiltIn(DOM_EXCEPTION); + var $DOMException = function DOMException() { + anInstance(this, DOMExceptionPrototype); + var argumentsLength = arguments.length; + var message = normalizeStringArgument(argumentsLength < 1 ? void 0 : arguments[0]); + var name = normalizeStringArgument(argumentsLength < 2 ? void 0 : arguments[1], "Error"); + var that = new NativeDOMException(message, name); + var error = Error2(message); + error.name = DOM_EXCEPTION; + defineProperty(that, "stack", createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); + inheritIfRequired(that, this, $DOMException); + return that; + }; + var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype; + var ERROR_HAS_STACK = "stack" in Error2(DOM_EXCEPTION); + var DOM_EXCEPTION_HAS_STACK = "stack" in new NativeDOMException(1, 2); + var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global2, DOM_EXCEPTION); + var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable); + var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK; + $2({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { + // TODO: fix export logic + DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException + }); + var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); + var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; + if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { + if (!IS_PURE) { + defineProperty(PolyfilledDOMExceptionPrototype, "constructor", createPropertyDescriptor(1, PolyfilledDOMException)); + } + for (key in DOMExceptionConstants) + if (hasOwn(DOMExceptionConstants, key)) { + constant = DOMExceptionConstants[key]; + constantName = constant.s; + if (!hasOwn(PolyfilledDOMException, constantName)) { + defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); + } + } + } + var constant; + var constantName; + var key; + } + }); + + // node_modules/core-js/modules/web.dom-exception.to-string-tag.js + var require_web_dom_exception_to_string_tag = __commonJS({ + "node_modules/core-js/modules/web.dom-exception.to-string-tag.js"() { + var getBuiltIn = require_get_built_in(); + var setToStringTag = require_set_to_string_tag(); + var DOM_EXCEPTION = "DOMException"; + setToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION); + } + }); + + // node_modules/core-js/modules/web.clear-immediate.js + var require_web_clear_immediate = __commonJS({ + "node_modules/core-js/modules/web.clear-immediate.js"() { + var $2 = require_export(); + var global2 = require_global(); + var clearImmediate = require_task().clear; + $2({ global: true, bind: true, enumerable: true, forced: global2.clearImmediate !== clearImmediate }, { + clearImmediate + }); + } + }); + + // node_modules/core-js/internals/engine-is-bun.js + var require_engine_is_bun = __commonJS({ + "node_modules/core-js/internals/engine-is-bun.js"(exports, module) { + module.exports = typeof Bun == "function" && Bun && typeof Bun.version == "string"; + } + }); + + // node_modules/core-js/internals/schedulers-fix.js + var require_schedulers_fix = __commonJS({ + "node_modules/core-js/internals/schedulers-fix.js"(exports, module) { + "use strict"; + var global2 = require_global(); + var apply = require_function_apply(); + var isCallable = require_is_callable(); + var ENGINE_IS_BUN = require_engine_is_bun(); + var USER_AGENT = require_engine_user_agent(); + var arraySlice = require_array_slice(); + var validateArgumentsLength = require_validate_arguments_length(); + var Function2 = global2.Function; + var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && function() { + var version = global2.Bun.version.split("."); + return version.length < 3 || version[0] == 0 && (version[1] < 3 || version[1] == 3 && version[2] == 0); + }(); + module.exports = function(scheduler, hasTimeArg) { + var firstParamIndex = hasTimeArg ? 2 : 1; + return WRAP ? function(handler, timeout) { + var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex; + var fn = isCallable(handler) ? handler : Function2(handler); + var params = boundArgs ? arraySlice(arguments, firstParamIndex) : []; + var callback = boundArgs ? function() { + apply(fn, this, params); + } : fn; + return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback); + } : scheduler; + }; + } + }); + + // node_modules/core-js/modules/web.set-immediate.js + var require_web_set_immediate = __commonJS({ + "node_modules/core-js/modules/web.set-immediate.js"() { + var $2 = require_export(); + var global2 = require_global(); + var setTask = require_task().set; + var schedulersFix = require_schedulers_fix(); + var setImmediate = global2.setImmediate ? schedulersFix(setTask, false) : setTask; + $2({ global: true, bind: true, enumerable: true, forced: global2.setImmediate !== setImmediate }, { + setImmediate + }); + } + }); + + // node_modules/core-js/modules/web.immediate.js + var require_web_immediate = __commonJS({ + "node_modules/core-js/modules/web.immediate.js"() { + require_web_clear_immediate(); + require_web_set_immediate(); + } + }); + + // node_modules/core-js/modules/web.queue-microtask.js + var require_web_queue_microtask = __commonJS({ + "node_modules/core-js/modules/web.queue-microtask.js"() { + var $2 = require_export(); + var global2 = require_global(); + var microtask = require_microtask(); + var aCallable = require_a_callable(); + var validateArgumentsLength = require_validate_arguments_length(); + var IS_NODE = require_engine_is_node(); + var process2 = global2.process; + $2({ global: true, enumerable: true, dontCallGetSet: true }, { + queueMicrotask: function queueMicrotask(fn) { + validateArgumentsLength(arguments.length, 1); + aCallable(fn); + var domain = IS_NODE && process2.domain; + microtask(domain ? domain.bind(fn) : fn); + } + }); + } + }); + + // node_modules/core-js/modules/web.self.js + var require_web_self = __commonJS({ + "node_modules/core-js/modules/web.self.js"() { + "use strict"; + var $2 = require_export(); + var global2 = require_global(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var DESCRIPTORS = require_descriptors(); + var $TypeError = TypeError; + var defineProperty = Object.defineProperty; + var INCORRECT_VALUE = global2.self !== global2; + try { + if (DESCRIPTORS) { + descriptor = Object.getOwnPropertyDescriptor(global2, "self"); + if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) { + defineBuiltInAccessor(global2, "self", { + get: function self2() { + return global2; + }, + set: function self2(value) { + if (this !== global2) + throw $TypeError("Illegal invocation"); + defineProperty(global2, "self", { + value, + writable: true, + configurable: true, + enumerable: true + }); + }, + configurable: true, + enumerable: true + }); + } + } else + $2({ global: true, simple: true, forced: INCORRECT_VALUE }, { + self: global2 + }); + } catch (error) { + } + var descriptor; + } + }); + + // node_modules/core-js/internals/map-helpers.js + var require_map_helpers = __commonJS({ + "node_modules/core-js/internals/map-helpers.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var MapPrototype = Map.prototype; + module.exports = { + // eslint-disable-next-line es/no-map -- safe + Map, + set: uncurryThis(MapPrototype.set), + get: uncurryThis(MapPrototype.get), + has: uncurryThis(MapPrototype.has), + remove: uncurryThis(MapPrototype["delete"]), + proto: MapPrototype + }; + } + }); + + // node_modules/core-js/internals/set-helpers.js + var require_set_helpers = __commonJS({ + "node_modules/core-js/internals/set-helpers.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var SetPrototype = Set.prototype; + module.exports = { + // eslint-disable-next-line es/no-set -- safe + Set, + add: uncurryThis(SetPrototype.add), + has: uncurryThis(SetPrototype.has), + remove: uncurryThis(SetPrototype["delete"]), + proto: SetPrototype + }; + } + }); + + // node_modules/core-js/internals/structured-clone-proper-transfer.js + var require_structured_clone_proper_transfer = __commonJS({ + "node_modules/core-js/internals/structured-clone-proper-transfer.js"(exports, module) { + var global2 = require_global(); + var fails = require_fails(); + var V8 = require_engine_v8_version(); + var IS_BROWSER = require_engine_is_browser(); + var IS_DENO = require_engine_is_deno(); + var IS_NODE = require_engine_is_node(); + var structuredClone = global2.structuredClone; + module.exports = !!structuredClone && !fails(function() { + if (IS_DENO && V8 > 92 || IS_NODE && V8 > 94 || IS_BROWSER && V8 > 97) + return false; + var buffer = new ArrayBuffer(8); + var clone = structuredClone(buffer, { transfer: [buffer] }); + return buffer.byteLength != 0 || clone.byteLength != 8; + }); + } + }); + + // node_modules/core-js/modules/web.structured-clone.js + var require_web_structured_clone = __commonJS({ + "node_modules/core-js/modules/web.structured-clone.js"() { + var IS_PURE = require_is_pure(); + var $2 = require_export(); + var global2 = require_global(); + var getBuiltin = require_get_built_in(); + var uncurryThis = require_function_uncurry_this(); + var fails = require_fails(); + var uid = require_uid(); + var isCallable = require_is_callable(); + var isConstructor = require_is_constructor(); + var isNullOrUndefined = require_is_null_or_undefined(); + var isObject = require_is_object(); + var isSymbol = require_is_symbol(); + var iterate = require_iterate(); + var anObject = require_an_object(); + var classof = require_classof(); + var hasOwn = require_has_own_property(); + var createProperty = require_create_property(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var lengthOfArrayLike = require_length_of_array_like(); + var validateArgumentsLength = require_validate_arguments_length(); + var getRegExpFlags = require_regexp_get_flags(); + var MapHelpers = require_map_helpers(); + var SetHelpers = require_set_helpers(); + var ERROR_STACK_INSTALLABLE = require_error_stack_installable(); + var PROPER_TRANSFER = require_structured_clone_proper_transfer(); + var Object2 = global2.Object; + var Array2 = global2.Array; + var Date2 = global2.Date; + var Error2 = global2.Error; + var EvalError = global2.EvalError; + var RangeError2 = global2.RangeError; + var ReferenceError2 = global2.ReferenceError; + var SyntaxError2 = global2.SyntaxError; + var TypeError2 = global2.TypeError; + var URIError = global2.URIError; + var PerformanceMark = global2.PerformanceMark; + var WebAssembly = global2.WebAssembly; + var CompileError = WebAssembly && WebAssembly.CompileError || Error2; + var LinkError = WebAssembly && WebAssembly.LinkError || Error2; + var RuntimeError = WebAssembly && WebAssembly.RuntimeError || Error2; + var DOMException = getBuiltin("DOMException"); + var Map2 = MapHelpers.Map; + var mapHas = MapHelpers.has; + var mapGet = MapHelpers.get; + var mapSet = MapHelpers.set; + var Set2 = SetHelpers.Set; + var setAdd = SetHelpers.add; + var objectKeys = getBuiltin("Object", "keys"); + var push = uncurryThis([].push); + var thisBooleanValue = uncurryThis(true.valueOf); + var thisNumberValue = uncurryThis(1 .valueOf); + var thisStringValue = uncurryThis("".valueOf); + var thisTimeValue = uncurryThis(Date2.prototype.getTime); + var PERFORMANCE_MARK = uid("structuredClone"); + var DATA_CLONE_ERROR = "DataCloneError"; + var TRANSFERRING = "Transferring"; + var checkBasicSemantic = function(structuredCloneImplementation) { + return !fails(function() { + var set1 = new global2.Set([7]); + var set2 = structuredCloneImplementation(set1); + var number = structuredCloneImplementation(Object2(7)); + return set2 == set1 || !set2.has(7) || typeof number != "object" || number != 7; + }) && structuredCloneImplementation; + }; + var checkErrorsCloning = function(structuredCloneImplementation, $Error) { + return !fails(function() { + var error = new $Error(); + var test = structuredCloneImplementation({ a: error, b: error }); + return !(test && test.a === test.b && test.a instanceof $Error && test.a.stack === error.stack); + }); + }; + var checkNewErrorsCloningSemantic = function(structuredCloneImplementation) { + return !fails(function() { + var test = structuredCloneImplementation(new global2.AggregateError([1], PERFORMANCE_MARK, { cause: 3 })); + return test.name != "AggregateError" || test.errors[0] != 1 || test.message != PERFORMANCE_MARK || test.cause != 3; + }); + }; + var nativeStructuredClone = global2.structuredClone; + var FORCED_REPLACEMENT = IS_PURE || !checkErrorsCloning(nativeStructuredClone, Error2) || !checkErrorsCloning(nativeStructuredClone, DOMException) || !checkNewErrorsCloningSemantic(nativeStructuredClone); + var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function(value) { + return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail; + }); + var nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark; + var throwUncloneable = function(type) { + throw new DOMException("Uncloneable type: " + type, DATA_CLONE_ERROR); + }; + var throwUnpolyfillable = function(type, action) { + throw new DOMException((action || "Cloning") + " of " + type + " cannot be properly polyfilled in this engine", DATA_CLONE_ERROR); + }; + var createDataTransfer = function() { + var dataTransfer; + try { + dataTransfer = new global2.DataTransfer(); + } catch (error) { + try { + dataTransfer = new global2.ClipboardEvent("").clipboardData; + } catch (error2) { + } + } + return dataTransfer && dataTransfer.items && dataTransfer.files ? dataTransfer : null; + }; + var structuredCloneInternal = function(value, map) { + if (isSymbol(value)) + throwUncloneable("Symbol"); + if (!isObject(value)) + return value; + if (map) { + if (mapHas(map, value)) + return mapGet(map, value); + } else + map = new Map2(); + var type = classof(value); + var deep = false; + var C2, name, cloned, dataTransfer, i4, length, keys, key, source, target, options; + switch (type) { + case "Array": + cloned = Array2(lengthOfArrayLike(value)); + deep = true; + break; + case "Object": + cloned = {}; + deep = true; + break; + case "Map": + cloned = new Map2(); + deep = true; + break; + case "Set": + cloned = new Set2(); + deep = true; + break; + case "RegExp": + cloned = new RegExp(value.source, getRegExpFlags(value)); + break; + case "Error": + name = value.name; + switch (name) { + case "AggregateError": + cloned = getBuiltin("AggregateError")([]); + break; + case "EvalError": + cloned = EvalError(); + break; + case "RangeError": + cloned = RangeError2(); + break; + case "ReferenceError": + cloned = ReferenceError2(); + break; + case "SyntaxError": + cloned = SyntaxError2(); + break; + case "TypeError": + cloned = TypeError2(); + break; + case "URIError": + cloned = URIError(); + break; + case "CompileError": + cloned = CompileError(); + break; + case "LinkError": + cloned = LinkError(); + break; + case "RuntimeError": + cloned = RuntimeError(); + break; + default: + cloned = Error2(); + } + deep = true; + break; + case "DOMException": + cloned = new DOMException(value.message, value.name); + deep = true; + break; + case "DataView": + case "Int8Array": + case "Uint8Array": + case "Uint8ClampedArray": + case "Int16Array": + case "Uint16Array": + case "Int32Array": + case "Uint32Array": + case "Float32Array": + case "Float64Array": + case "BigInt64Array": + case "BigUint64Array": + C2 = global2[type]; + if (!isObject(C2)) + throwUnpolyfillable(type); + cloned = new C2( + // this is safe, since arraybuffer cannot have circular references + structuredCloneInternal(value.buffer, map), + value.byteOffset, + type === "DataView" ? value.byteLength : value.length + ); + break; + case "DOMQuad": + try { + cloned = new DOMQuad( + structuredCloneInternal(value.p1, map), + structuredCloneInternal(value.p2, map), + structuredCloneInternal(value.p3, map), + structuredCloneInternal(value.p4, map) + ); + } catch (error) { + if (nativeRestrictedStructuredClone) { + cloned = nativeRestrictedStructuredClone(value); + } else + throwUnpolyfillable(type); + } + break; + case "FileList": + dataTransfer = createDataTransfer(); + if (dataTransfer) { + for (i4 = 0, length = lengthOfArrayLike(value); i4 < length; i4++) { + dataTransfer.items.add(structuredCloneInternal(value[i4], map)); + } + cloned = dataTransfer.files; + } else if (nativeRestrictedStructuredClone) { + cloned = nativeRestrictedStructuredClone(value); + } else + throwUnpolyfillable(type); + break; + case "ImageData": + try { + cloned = new ImageData( + structuredCloneInternal(value.data, map), + value.width, + value.height, + { colorSpace: value.colorSpace } + ); + } catch (error) { + if (nativeRestrictedStructuredClone) { + cloned = nativeRestrictedStructuredClone(value); + } else + throwUnpolyfillable(type); + } + break; + default: + if (nativeRestrictedStructuredClone) { + cloned = nativeRestrictedStructuredClone(value); + } else + switch (type) { + case "BigInt": + cloned = Object2(value.valueOf()); + break; + case "Boolean": + cloned = Object2(thisBooleanValue(value)); + break; + case "Number": + cloned = Object2(thisNumberValue(value)); + break; + case "String": + cloned = Object2(thisStringValue(value)); + break; + case "Date": + cloned = new Date2(thisTimeValue(value)); + break; + case "ArrayBuffer": + C2 = global2.DataView; + if (!C2 && typeof value.slice != "function") + throwUnpolyfillable(type); + try { + if (typeof value.slice == "function" && !value.resizable) { + cloned = value.slice(0); + } else { + length = value.byteLength; + options = "maxByteLength" in value ? { maxByteLength: value.maxByteLength } : void 0; + cloned = new ArrayBuffer(length, options); + source = new C2(value); + target = new C2(cloned); + for (i4 = 0; i4 < length; i4++) { + target.setUint8(i4, source.getUint8(i4)); + } + } + } catch (error) { + throw new DOMException("ArrayBuffer is detached", DATA_CLONE_ERROR); + } + break; + case "SharedArrayBuffer": + cloned = value; + break; + case "Blob": + try { + cloned = value.slice(0, value.size, value.type); + } catch (error) { + throwUnpolyfillable(type); + } + break; + case "DOMPoint": + case "DOMPointReadOnly": + C2 = global2[type]; + try { + cloned = C2.fromPoint ? C2.fromPoint(value) : new C2(value.x, value.y, value.z, value.w); + } catch (error) { + throwUnpolyfillable(type); + } + break; + case "DOMRect": + case "DOMRectReadOnly": + C2 = global2[type]; + try { + cloned = C2.fromRect ? C2.fromRect(value) : new C2(value.x, value.y, value.width, value.height); + } catch (error) { + throwUnpolyfillable(type); + } + break; + case "DOMMatrix": + case "DOMMatrixReadOnly": + C2 = global2[type]; + try { + cloned = C2.fromMatrix ? C2.fromMatrix(value) : new C2(value); + } catch (error) { + throwUnpolyfillable(type); + } + break; + case "AudioData": + case "VideoFrame": + if (!isCallable(value.clone)) + throwUnpolyfillable(type); + try { + cloned = value.clone(); + } catch (error) { + throwUncloneable(type); + } + break; + case "File": + try { + cloned = new File([value], value.name, value); + } catch (error) { + throwUnpolyfillable(type); + } + break; + case "CropTarget": + case "CryptoKey": + case "FileSystemDirectoryHandle": + case "FileSystemFileHandle": + case "FileSystemHandle": + case "GPUCompilationInfo": + case "GPUCompilationMessage": + case "ImageBitmap": + case "RTCCertificate": + case "WebAssembly.Module": + throwUnpolyfillable(type); + default: + throwUncloneable(type); + } + } + mapSet(map, value, cloned); + if (deep) + switch (type) { + case "Array": + case "Object": + keys = objectKeys(value); + for (i4 = 0, length = lengthOfArrayLike(keys); i4 < length; i4++) { + key = keys[i4]; + createProperty(cloned, key, structuredCloneInternal(value[key], map)); + } + break; + case "Map": + value.forEach(function(v2, k2) { + mapSet(cloned, structuredCloneInternal(k2, map), structuredCloneInternal(v2, map)); + }); + break; + case "Set": + value.forEach(function(v2) { + setAdd(cloned, structuredCloneInternal(v2, map)); + }); + break; + case "Error": + createNonEnumerableProperty(cloned, "message", structuredCloneInternal(value.message, map)); + if (hasOwn(value, "cause")) { + createNonEnumerableProperty(cloned, "cause", structuredCloneInternal(value.cause, map)); + } + if (name == "AggregateError") { + cloned.errors = structuredCloneInternal(value.errors, map); + } + case "DOMException": + if (ERROR_STACK_INSTALLABLE) { + createNonEnumerableProperty(cloned, "stack", structuredCloneInternal(value.stack, map)); + } + } + return cloned; + }; + var tryToTransfer = function(rawTransfer, map) { + if (!isObject(rawTransfer)) + throw TypeError2("Transfer option cannot be converted to a sequence"); + var transfer = []; + iterate(rawTransfer, function(value2) { + push(transfer, anObject(value2)); + }); + var i4 = 0; + var length = lengthOfArrayLike(transfer); + var value, type, C2, transferredArray, transferred, canvas, context; + if (PROPER_TRANSFER) { + transferredArray = nativeStructuredClone(transfer, { transfer }); + while (i4 < length) + mapSet(map, transfer[i4], transferredArray[i4++]); + } else + while (i4 < length) { + value = transfer[i4++]; + if (mapHas(map, value)) + throw new DOMException("Duplicate transferable", DATA_CLONE_ERROR); + type = classof(value); + switch (type) { + case "ImageBitmap": + C2 = global2.OffscreenCanvas; + if (!isConstructor(C2)) + throwUnpolyfillable(type, TRANSFERRING); + try { + canvas = new C2(value.width, value.height); + context = canvas.getContext("bitmaprenderer"); + context.transferFromImageBitmap(value); + transferred = canvas.transferToImageBitmap(); + } catch (error) { + } + break; + case "AudioData": + case "VideoFrame": + if (!isCallable(value.clone) || !isCallable(value.close)) + throwUnpolyfillable(type, TRANSFERRING); + try { + transferred = value.clone(); + value.close(); + } catch (error) { + } + break; + case "ArrayBuffer": + if (!isCallable(value.transfer)) + throwUnpolyfillable(type, TRANSFERRING); + transferred = value.transfer(); + break; + case "MediaSourceHandle": + case "MessagePort": + case "OffscreenCanvas": + case "ReadableStream": + case "TransformStream": + case "WritableStream": + throwUnpolyfillable(type, TRANSFERRING); + } + if (transferred === void 0) + throw new DOMException("This object cannot be transferred: " + type, DATA_CLONE_ERROR); + mapSet(map, value, transferred); + } + }; + $2({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLACEMENT }, { + structuredClone: function structuredClone(value) { + var options = validateArgumentsLength(arguments.length, 1) > 1 && !isNullOrUndefined(arguments[1]) ? anObject(arguments[1]) : void 0; + var transfer = options ? options.transfer : void 0; + var map; + if (transfer !== void 0) { + map = new Map2(); + tryToTransfer(transfer, map); + } + return structuredCloneInternal(value, map); + } + }); + } + }); + + // node_modules/core-js/modules/web.set-interval.js + var require_web_set_interval = __commonJS({ + "node_modules/core-js/modules/web.set-interval.js"() { + var $2 = require_export(); + var global2 = require_global(); + var schedulersFix = require_schedulers_fix(); + var setInterval = schedulersFix(global2.setInterval, true); + $2({ global: true, bind: true, forced: global2.setInterval !== setInterval }, { + setInterval + }); + } + }); + + // node_modules/core-js/modules/web.set-timeout.js + var require_web_set_timeout = __commonJS({ + "node_modules/core-js/modules/web.set-timeout.js"() { + var $2 = require_export(); + var global2 = require_global(); + var schedulersFix = require_schedulers_fix(); + var setTimeout2 = schedulersFix(global2.setTimeout, true); + $2({ global: true, bind: true, forced: global2.setTimeout !== setTimeout2 }, { + setTimeout: setTimeout2 + }); + } + }); + + // node_modules/core-js/modules/web.timers.js + var require_web_timers = __commonJS({ + "node_modules/core-js/modules/web.timers.js"() { + require_web_set_interval(); + require_web_set_timeout(); + } + }); + + // node_modules/core-js/internals/url-constructor-detection.js + var require_url_constructor_detection = __commonJS({ + "node_modules/core-js/internals/url-constructor-detection.js"(exports, module) { + var fails = require_fails(); + var wellKnownSymbol = require_well_known_symbol(); + var DESCRIPTORS = require_descriptors(); + var IS_PURE = require_is_pure(); + var ITERATOR = wellKnownSymbol("iterator"); + module.exports = !fails(function() { + var url = new URL("b?a=1&b=2&c=3", "http://a"); + var searchParams = url.searchParams; + var result = ""; + url.pathname = "c%20d"; + searchParams.forEach(function(value, key) { + searchParams["delete"]("b"); + result += key + value; + }); + return IS_PURE && !url.toJSON || !searchParams.size && (IS_PURE || !DESCRIPTORS) || !searchParams.sort || url.href !== "http://a/c%20d?a=1&c=3" || searchParams.get("c") !== "3" || String(new URLSearchParams("?a=1")) !== "a=1" || !searchParams[ITERATOR] || new URL("https://a@b").username !== "a" || new URLSearchParams(new URLSearchParams("a=b")).get("a") !== "b" || new URL("http://\u0442\u0435\u0441\u0442").host !== "xn--e1aybc" || new URL("http://a#\u0431").hash !== "#%D0%B1" || result !== "a1c3" || new URL("http://x", void 0).host !== "x"; + }); + } + }); + + // node_modules/core-js/internals/string-punycode-to-ascii.js + var require_string_punycode_to_ascii = __commonJS({ + "node_modules/core-js/internals/string-punycode-to-ascii.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var maxInt = 2147483647; + var base = 36; + var tMin = 1; + var tMax = 26; + var skew = 38; + var damp = 700; + var initialBias = 72; + var initialN = 128; + var delimiter = "-"; + var regexNonASCII = /[^\0-\u007E]/; + var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; + var OVERFLOW_ERROR = "Overflow: input needs wider integers to process"; + var baseMinusTMin = base - tMin; + var $RangeError = RangeError; + var exec = uncurryThis(regexSeparators.exec); + var floor = Math.floor; + var fromCharCode = String.fromCharCode; + var charCodeAt = uncurryThis("".charCodeAt); + var join = uncurryThis([].join); + var push = uncurryThis([].push); + var replace = uncurryThis("".replace); + var split = uncurryThis("".split); + var toLowerCase = uncurryThis("".toLowerCase); + var ucs2decode = function(string) { + var output = []; + var counter = 0; + var length = string.length; + while (counter < length) { + var value = charCodeAt(string, counter++); + if (value >= 55296 && value <= 56319 && counter < length) { + var extra = charCodeAt(string, counter++); + if ((extra & 64512) == 56320) { + push(output, ((value & 1023) << 10) + (extra & 1023) + 65536); + } else { + push(output, value); + counter--; + } + } else { + push(output, value); + } + } + return output; + }; + var digitToBasic = function(digit) { + return digit + 22 + 75 * (digit < 26); + }; + var adapt = function(delta, numPoints, firstTime) { + var k2 = 0; + delta = firstTime ? floor(delta / damp) : delta >> 1; + delta += floor(delta / numPoints); + while (delta > baseMinusTMin * tMax >> 1) { + delta = floor(delta / baseMinusTMin); + k2 += base; + } + return floor(k2 + (baseMinusTMin + 1) * delta / (delta + skew)); + }; + var encode = function(input) { + var output = []; + input = ucs2decode(input); + var inputLength = input.length; + var n6 = initialN; + var delta = 0; + var bias = initialBias; + var i4, currentValue; + for (i4 = 0; i4 < input.length; i4++) { + currentValue = input[i4]; + if (currentValue < 128) { + push(output, fromCharCode(currentValue)); + } + } + var basicLength = output.length; + var handledCPCount = basicLength; + if (basicLength) { + push(output, delimiter); + } + while (handledCPCount < inputLength) { + var m2 = maxInt; + for (i4 = 0; i4 < input.length; i4++) { + currentValue = input[i4]; + if (currentValue >= n6 && currentValue < m2) { + m2 = currentValue; + } + } + var handledCPCountPlusOne = handledCPCount + 1; + if (m2 - n6 > floor((maxInt - delta) / handledCPCountPlusOne)) { + throw $RangeError(OVERFLOW_ERROR); + } + delta += (m2 - n6) * handledCPCountPlusOne; + n6 = m2; + for (i4 = 0; i4 < input.length; i4++) { + currentValue = input[i4]; + if (currentValue < n6 && ++delta > maxInt) { + throw $RangeError(OVERFLOW_ERROR); + } + if (currentValue == n6) { + var q = delta; + var k2 = base; + while (true) { + var t4 = k2 <= bias ? tMin : k2 >= bias + tMax ? tMax : k2 - bias; + if (q < t4) + break; + var qMinusT = q - t4; + var baseMinusT = base - t4; + push(output, fromCharCode(digitToBasic(t4 + qMinusT % baseMinusT))); + q = floor(qMinusT / baseMinusT); + k2 += base; + } + push(output, fromCharCode(digitToBasic(q))); + bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); + delta = 0; + handledCPCount++; + } + } + delta++; + n6++; + } + return join(output, ""); + }; + module.exports = function(input) { + var encoded = []; + var labels = split(replace(toLowerCase(input), regexSeparators, "."), "."); + var i4, label; + for (i4 = 0; i4 < labels.length; i4++) { + label = labels[i4]; + push(encoded, exec(regexNonASCII, label) ? "xn--" + encode(label) : label); + } + return join(encoded, "."); + }; + } + }); + + // node_modules/core-js/modules/web.url-search-params.constructor.js + var require_web_url_search_params_constructor = __commonJS({ + "node_modules/core-js/modules/web.url-search-params.constructor.js"(exports, module) { + "use strict"; + require_es_array_iterator(); + var $2 = require_export(); + var global2 = require_global(); + var call = require_function_call(); + var uncurryThis = require_function_uncurry_this(); + var DESCRIPTORS = require_descriptors(); + var USE_NATIVE_URL = require_url_constructor_detection(); + var defineBuiltIn = require_define_built_in(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var defineBuiltIns = require_define_built_ins(); + var setToStringTag = require_set_to_string_tag(); + var createIteratorConstructor = require_iterator_create_constructor(); + var InternalStateModule = require_internal_state(); + var anInstance = require_an_instance(); + var isCallable = require_is_callable(); + var hasOwn = require_has_own_property(); + var bind = require_function_bind_context(); + var classof = require_classof(); + var anObject = require_an_object(); + var isObject = require_is_object(); + var $toString = require_to_string(); + var create = require_object_create(); + var createPropertyDescriptor = require_create_property_descriptor(); + var getIterator = require_get_iterator(); + var getIteratorMethod = require_get_iterator_method(); + var validateArgumentsLength = require_validate_arguments_length(); + var wellKnownSymbol = require_well_known_symbol(); + var arraySort = require_array_sort(); + var ITERATOR = wellKnownSymbol("iterator"); + var URL_SEARCH_PARAMS = "URLSearchParams"; + var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + "Iterator"; + var setInternalState = InternalStateModule.set; + var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS); + var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR); + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var safeGetBuiltIn = function(name) { + if (!DESCRIPTORS) + return global2[name]; + var descriptor = getOwnPropertyDescriptor(global2, name); + return descriptor && descriptor.value; + }; + var nativeFetch = safeGetBuiltIn("fetch"); + var NativeRequest = safeGetBuiltIn("Request"); + var Headers = safeGetBuiltIn("Headers"); + var RequestPrototype = NativeRequest && NativeRequest.prototype; + var HeadersPrototype = Headers && Headers.prototype; + var RegExp2 = global2.RegExp; + var TypeError2 = global2.TypeError; + var decodeURIComponent2 = global2.decodeURIComponent; + var encodeURIComponent2 = global2.encodeURIComponent; + var charAt = uncurryThis("".charAt); + var join = uncurryThis([].join); + var push = uncurryThis([].push); + var replace = uncurryThis("".replace); + var shift = uncurryThis([].shift); + var splice = uncurryThis([].splice); + var split = uncurryThis("".split); + var stringSlice = uncurryThis("".slice); + var plus = /\+/g; + var sequences = Array(4); + var percentSequence = function(bytes) { + return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp2("((?:%[\\da-f]{2}){" + bytes + "})", "gi")); + }; + var percentDecode = function(sequence) { + try { + return decodeURIComponent2(sequence); + } catch (error) { + return sequence; + } + }; + var deserialize = function(it) { + var result = replace(it, plus, " "); + var bytes = 4; + try { + return decodeURIComponent2(result); + } catch (error) { + while (bytes) { + result = replace(result, percentSequence(bytes--), percentDecode); + } + return result; + } + }; + var find = /[!'()~]|%20/g; + var replacements = { + "!": "%21", + "'": "%27", + "(": "%28", + ")": "%29", + "~": "%7E", + "%20": "+" + }; + var replacer = function(match) { + return replacements[match]; + }; + var serialize = function(it) { + return replace(encodeURIComponent2(it), find, replacer); + }; + var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) { + setInternalState(this, { + type: URL_SEARCH_PARAMS_ITERATOR, + iterator: getIterator(getInternalParamsState(params).entries), + kind + }); + }, "Iterator", function next() { + var state2 = getInternalIteratorState(this); + var kind = state2.kind; + var step = state2.iterator.next(); + var entry = step.value; + if (!step.done) { + step.value = kind === "keys" ? entry.key : kind === "values" ? entry.value : [entry.key, entry.value]; + } + return step; + }, true); + var URLSearchParamsState = function(init) { + this.entries = []; + this.url = null; + if (init !== void 0) { + if (isObject(init)) + this.parseObject(init); + else + this.parseQuery(typeof init == "string" ? charAt(init, 0) === "?" ? stringSlice(init, 1) : init : $toString(init)); + } + }; + URLSearchParamsState.prototype = { + type: URL_SEARCH_PARAMS, + bindURL: function(url) { + this.url = url; + this.update(); + }, + parseObject: function(object) { + var iteratorMethod = getIteratorMethod(object); + var iterator, next, step, entryIterator, entryNext, first, second; + if (iteratorMethod) { + iterator = getIterator(object, iteratorMethod); + next = iterator.next; + while (!(step = call(next, iterator)).done) { + entryIterator = getIterator(anObject(step.value)); + entryNext = entryIterator.next; + if ((first = call(entryNext, entryIterator)).done || (second = call(entryNext, entryIterator)).done || !call(entryNext, entryIterator).done) + throw TypeError2("Expected sequence with length 2"); + push(this.entries, { key: $toString(first.value), value: $toString(second.value) }); + } + } else + for (var key in object) + if (hasOwn(object, key)) { + push(this.entries, { key, value: $toString(object[key]) }); + } + }, + parseQuery: function(query) { + if (query) { + var attributes = split(query, "&"); + var index = 0; + var attribute, entry; + while (index < attributes.length) { + attribute = attributes[index++]; + if (attribute.length) { + entry = split(attribute, "="); + push(this.entries, { + key: deserialize(shift(entry)), + value: deserialize(join(entry, "=")) + }); + } + } + } + }, + serialize: function() { + var entries = this.entries; + var result = []; + var index = 0; + var entry; + while (index < entries.length) { + entry = entries[index++]; + push(result, serialize(entry.key) + "=" + serialize(entry.value)); + } + return join(result, "&"); + }, + update: function() { + this.entries.length = 0; + this.parseQuery(this.url.query); + }, + updateURL: function() { + if (this.url) + this.url.update(); + } + }; + var URLSearchParamsConstructor = function URLSearchParams2() { + anInstance(this, URLSearchParamsPrototype); + var init = arguments.length > 0 ? arguments[0] : void 0; + var state2 = setInternalState(this, new URLSearchParamsState(init)); + if (!DESCRIPTORS) + this.length = state2.entries.length; + }; + var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype; + defineBuiltIns(URLSearchParamsPrototype, { + // `URLSearchParams.prototype.append` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-append + append: function append(name, value) { + validateArgumentsLength(arguments.length, 2); + var state2 = getInternalParamsState(this); + push(state2.entries, { key: $toString(name), value: $toString(value) }); + if (!DESCRIPTORS) + this.length++; + state2.updateURL(); + }, + // `URLSearchParams.prototype.delete` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-delete + "delete": function(name) { + validateArgumentsLength(arguments.length, 1); + var state2 = getInternalParamsState(this); + var entries = state2.entries; + var key = $toString(name); + var index = 0; + while (index < entries.length) { + if (entries[index].key === key) + splice(entries, index, 1); + else + index++; + } + if (!DESCRIPTORS) + this.length = entries.length; + state2.updateURL(); + }, + // `URLSearchParams.prototype.get` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-get + get: function get(name) { + validateArgumentsLength(arguments.length, 1); + var entries = getInternalParamsState(this).entries; + var key = $toString(name); + var index = 0; + for (; index < entries.length; index++) { + if (entries[index].key === key) + return entries[index].value; + } + return null; + }, + // `URLSearchParams.prototype.getAll` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-getall + getAll: function getAll(name) { + validateArgumentsLength(arguments.length, 1); + var entries = getInternalParamsState(this).entries; + var key = $toString(name); + var result = []; + var index = 0; + for (; index < entries.length; index++) { + if (entries[index].key === key) + push(result, entries[index].value); + } + return result; + }, + // `URLSearchParams.prototype.has` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-has + has: function has(name) { + validateArgumentsLength(arguments.length, 1); + var entries = getInternalParamsState(this).entries; + var key = $toString(name); + var index = 0; + while (index < entries.length) { + if (entries[index++].key === key) + return true; + } + return false; + }, + // `URLSearchParams.prototype.set` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-set + set: function set(name, value) { + validateArgumentsLength(arguments.length, 1); + var state2 = getInternalParamsState(this); + var entries = state2.entries; + var found = false; + var key = $toString(name); + var val = $toString(value); + var index = 0; + var entry; + for (; index < entries.length; index++) { + entry = entries[index]; + if (entry.key === key) { + if (found) + splice(entries, index--, 1); + else { + found = true; + entry.value = val; + } + } + } + if (!found) + push(entries, { key, value: val }); + if (!DESCRIPTORS) + this.length = entries.length; + state2.updateURL(); + }, + // `URLSearchParams.prototype.sort` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-sort + sort: function sort() { + var state2 = getInternalParamsState(this); + arraySort(state2.entries, function(a3, b2) { + return a3.key > b2.key ? 1 : -1; + }); + state2.updateURL(); + }, + // `URLSearchParams.prototype.forEach` method + forEach: function forEach(callback) { + var entries = getInternalParamsState(this).entries; + var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : void 0); + var index = 0; + var entry; + while (index < entries.length) { + entry = entries[index++]; + boundFunction(entry.value, entry.key, this); + } + }, + // `URLSearchParams.prototype.keys` method + keys: function keys() { + return new URLSearchParamsIterator(this, "keys"); + }, + // `URLSearchParams.prototype.values` method + values: function values() { + return new URLSearchParamsIterator(this, "values"); + }, + // `URLSearchParams.prototype.entries` method + entries: function entries() { + return new URLSearchParamsIterator(this, "entries"); + } + }, { enumerable: true }); + defineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: "entries" }); + defineBuiltIn(URLSearchParamsPrototype, "toString", function toString() { + return getInternalParamsState(this).serialize(); + }, { enumerable: true }); + if (DESCRIPTORS) + defineBuiltInAccessor(URLSearchParamsPrototype, "size", { + get: function size() { + return getInternalParamsState(this).entries.length; + }, + configurable: true, + enumerable: true + }); + setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS); + $2({ global: true, constructor: true, forced: !USE_NATIVE_URL }, { + URLSearchParams: URLSearchParamsConstructor + }); + if (!USE_NATIVE_URL && isCallable(Headers)) { + headersHas = uncurryThis(HeadersPrototype.has); + headersSet = uncurryThis(HeadersPrototype.set); + wrapRequestOptions = function(init) { + if (isObject(init)) { + var body = init.body; + var headers; + if (classof(body) === URL_SEARCH_PARAMS) { + headers = init.headers ? new Headers(init.headers) : new Headers(); + if (!headersHas(headers, "content-type")) { + headersSet(headers, "content-type", "application/x-www-form-urlencoded;charset=UTF-8"); + } + return create(init, { + body: createPropertyDescriptor(0, $toString(body)), + headers: createPropertyDescriptor(0, headers) + }); + } + } + return init; + }; + if (isCallable(nativeFetch)) { + $2({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, { + fetch: function fetch2(input) { + return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); + } + }); + } + if (isCallable(NativeRequest)) { + RequestConstructor = function Request(input) { + anInstance(this, RequestPrototype); + return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); + }; + RequestPrototype.constructor = RequestConstructor; + RequestConstructor.prototype = RequestPrototype; + $2({ global: true, constructor: true, dontCallGetSet: true, forced: true }, { + Request: RequestConstructor + }); + } + } + var headersHas; + var headersSet; + var wrapRequestOptions; + var RequestConstructor; + module.exports = { + URLSearchParams: URLSearchParamsConstructor, + getState: getInternalParamsState + }; + } + }); + + // node_modules/core-js/modules/web.url.constructor.js + var require_web_url_constructor = __commonJS({ + "node_modules/core-js/modules/web.url.constructor.js"() { + "use strict"; + require_es_string_iterator(); + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var USE_NATIVE_URL = require_url_constructor_detection(); + var global2 = require_global(); + var bind = require_function_bind_context(); + var uncurryThis = require_function_uncurry_this(); + var defineBuiltIn = require_define_built_in(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var anInstance = require_an_instance(); + var hasOwn = require_has_own_property(); + var assign = require_object_assign(); + var arrayFrom = require_array_from(); + var arraySlice = require_array_slice_simple(); + var codeAt = require_string_multibyte().codeAt; + var toASCII = require_string_punycode_to_ascii(); + var $toString = require_to_string(); + var setToStringTag = require_set_to_string_tag(); + var validateArgumentsLength = require_validate_arguments_length(); + var URLSearchParamsModule = require_web_url_search_params_constructor(); + var InternalStateModule = require_internal_state(); + var setInternalState = InternalStateModule.set; + var getInternalURLState = InternalStateModule.getterFor("URL"); + var URLSearchParams2 = URLSearchParamsModule.URLSearchParams; + var getInternalSearchParamsState = URLSearchParamsModule.getState; + var NativeURL = global2.URL; + var TypeError2 = global2.TypeError; + var parseInt2 = global2.parseInt; + var floor = Math.floor; + var pow = Math.pow; + var charAt = uncurryThis("".charAt); + var exec = uncurryThis(/./.exec); + var join = uncurryThis([].join); + var numberToString = uncurryThis(1 .toString); + var pop = uncurryThis([].pop); + var push = uncurryThis([].push); + var replace = uncurryThis("".replace); + var shift = uncurryThis([].shift); + var split = uncurryThis("".split); + var stringSlice = uncurryThis("".slice); + var toLowerCase = uncurryThis("".toLowerCase); + var unshift = uncurryThis([].unshift); + var INVALID_AUTHORITY = "Invalid authority"; + var INVALID_SCHEME = "Invalid scheme"; + var INVALID_HOST = "Invalid host"; + var INVALID_PORT = "Invalid port"; + var ALPHA = /[a-z]/i; + var ALPHANUMERIC = /[\d+-.a-z]/i; + var DIGIT = /\d/; + var HEX_START = /^0x/i; + var OCT = /^[0-7]+$/; + var DEC = /^\d+$/; + var HEX = /^[\da-f]+$/i; + var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/; + var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/; + var LEADING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+/; + var TRAILING_C0_CONTROL_OR_SPACE = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/; + var TAB_AND_NEW_LINE = /[\t\n\r]/g; + var EOF; + var parseIPv4 = function(input) { + var parts = split(input, "."); + var partsLength, numbers, index, part, radix, number, ipv4; + if (parts.length && parts[parts.length - 1] == "") { + parts.length--; + } + partsLength = parts.length; + if (partsLength > 4) + return input; + numbers = []; + for (index = 0; index < partsLength; index++) { + part = parts[index]; + if (part == "") + return input; + radix = 10; + if (part.length > 1 && charAt(part, 0) == "0") { + radix = exec(HEX_START, part) ? 16 : 8; + part = stringSlice(part, radix == 8 ? 1 : 2); + } + if (part === "") { + number = 0; + } else { + if (!exec(radix == 10 ? DEC : radix == 8 ? OCT : HEX, part)) + return input; + number = parseInt2(part, radix); + } + push(numbers, number); + } + for (index = 0; index < partsLength; index++) { + number = numbers[index]; + if (index == partsLength - 1) { + if (number >= pow(256, 5 - partsLength)) + return null; + } else if (number > 255) + return null; + } + ipv4 = pop(numbers); + for (index = 0; index < numbers.length; index++) { + ipv4 += numbers[index] * pow(256, 3 - index); + } + return ipv4; + }; + var parseIPv6 = function(input) { + var address = [0, 0, 0, 0, 0, 0, 0, 0]; + var pieceIndex = 0; + var compress = null; + var pointer = 0; + var value, length, numbersSeen, ipv4Piece, number, swaps, swap; + var chr = function() { + return charAt(input, pointer); + }; + if (chr() == ":") { + if (charAt(input, 1) != ":") + return; + pointer += 2; + pieceIndex++; + compress = pieceIndex; + } + while (chr()) { + if (pieceIndex == 8) + return; + if (chr() == ":") { + if (compress !== null) + return; + pointer++; + pieceIndex++; + compress = pieceIndex; + continue; + } + value = length = 0; + while (length < 4 && exec(HEX, chr())) { + value = value * 16 + parseInt2(chr(), 16); + pointer++; + length++; + } + if (chr() == ".") { + if (length == 0) + return; + pointer -= length; + if (pieceIndex > 6) + return; + numbersSeen = 0; + while (chr()) { + ipv4Piece = null; + if (numbersSeen > 0) { + if (chr() == "." && numbersSeen < 4) + pointer++; + else + return; + } + if (!exec(DIGIT, chr())) + return; + while (exec(DIGIT, chr())) { + number = parseInt2(chr(), 10); + if (ipv4Piece === null) + ipv4Piece = number; + else if (ipv4Piece == 0) + return; + else + ipv4Piece = ipv4Piece * 10 + number; + if (ipv4Piece > 255) + return; + pointer++; + } + address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece; + numbersSeen++; + if (numbersSeen == 2 || numbersSeen == 4) + pieceIndex++; + } + if (numbersSeen != 4) + return; + break; + } else if (chr() == ":") { + pointer++; + if (!chr()) + return; + } else if (chr()) + return; + address[pieceIndex++] = value; + } + if (compress !== null) { + swaps = pieceIndex - compress; + pieceIndex = 7; + while (pieceIndex != 0 && swaps > 0) { + swap = address[pieceIndex]; + address[pieceIndex--] = address[compress + swaps - 1]; + address[compress + --swaps] = swap; + } + } else if (pieceIndex != 8) + return; + return address; + }; + var findLongestZeroSequence = function(ipv6) { + var maxIndex = null; + var maxLength = 1; + var currStart = null; + var currLength = 0; + var index = 0; + for (; index < 8; index++) { + if (ipv6[index] !== 0) { + if (currLength > maxLength) { + maxIndex = currStart; + maxLength = currLength; + } + currStart = null; + currLength = 0; + } else { + if (currStart === null) + currStart = index; + ++currLength; + } + } + if (currLength > maxLength) { + maxIndex = currStart; + maxLength = currLength; + } + return maxIndex; + }; + var serializeHost = function(host) { + var result, index, compress, ignore0; + if (typeof host == "number") { + result = []; + for (index = 0; index < 4; index++) { + unshift(result, host % 256); + host = floor(host / 256); + } + return join(result, "."); + } else if (typeof host == "object") { + result = ""; + compress = findLongestZeroSequence(host); + for (index = 0; index < 8; index++) { + if (ignore0 && host[index] === 0) + continue; + if (ignore0) + ignore0 = false; + if (compress === index) { + result += index ? ":" : "::"; + ignore0 = true; + } else { + result += numberToString(host[index], 16); + if (index < 7) + result += ":"; + } + } + return "[" + result + "]"; + } + return host; + }; + var C0ControlPercentEncodeSet = {}; + var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, { + " ": 1, + '"': 1, + "<": 1, + ">": 1, + "`": 1 + }); + var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, { + "#": 1, + "?": 1, + "{": 1, + "}": 1 + }); + var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, { + "/": 1, + ":": 1, + ";": 1, + "=": 1, + "@": 1, + "[": 1, + "\\": 1, + "]": 1, + "^": 1, + "|": 1 + }); + var percentEncode = function(chr, set) { + var code = codeAt(chr, 0); + return code > 32 && code < 127 && !hasOwn(set, chr) ? chr : encodeURIComponent(chr); + }; + var specialSchemes = { + ftp: 21, + file: null, + http: 80, + https: 443, + ws: 80, + wss: 443 + }; + var isWindowsDriveLetter = function(string, normalized) { + var second; + return string.length == 2 && exec(ALPHA, charAt(string, 0)) && ((second = charAt(string, 1)) == ":" || !normalized && second == "|"); + }; + var startsWithWindowsDriveLetter = function(string) { + var third; + return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && (string.length == 2 || ((third = charAt(string, 2)) === "/" || third === "\\" || third === "?" || third === "#")); + }; + var isSingleDot = function(segment) { + return segment === "." || toLowerCase(segment) === "%2e"; + }; + var isDoubleDot = function(segment) { + segment = toLowerCase(segment); + return segment === ".." || segment === "%2e." || segment === ".%2e" || segment === "%2e%2e"; + }; + var SCHEME_START = {}; + var SCHEME = {}; + var NO_SCHEME = {}; + var SPECIAL_RELATIVE_OR_AUTHORITY = {}; + var PATH_OR_AUTHORITY = {}; + var RELATIVE = {}; + var RELATIVE_SLASH = {}; + var SPECIAL_AUTHORITY_SLASHES = {}; + var SPECIAL_AUTHORITY_IGNORE_SLASHES = {}; + var AUTHORITY = {}; + var HOST = {}; + var HOSTNAME = {}; + var PORT = {}; + var FILE = {}; + var FILE_SLASH = {}; + var FILE_HOST = {}; + var PATH_START = {}; + var PATH = {}; + var CANNOT_BE_A_BASE_URL_PATH = {}; + var QUERY = {}; + var FRAGMENT = {}; + var URLState = function(url, isBase, base) { + var urlString = $toString(url); + var baseState, failure, searchParams; + if (isBase) { + failure = this.parse(urlString); + if (failure) + throw TypeError2(failure); + this.searchParams = null; + } else { + if (base !== void 0) + baseState = new URLState(base, true); + failure = this.parse(urlString, null, baseState); + if (failure) + throw TypeError2(failure); + searchParams = getInternalSearchParamsState(new URLSearchParams2()); + searchParams.bindURL(this); + this.searchParams = searchParams; + } + }; + URLState.prototype = { + type: "URL", + // https://url.spec.whatwg.org/#url-parsing + // eslint-disable-next-line max-statements -- TODO + parse: function(input, stateOverride, base) { + var url = this; + var state2 = stateOverride || SCHEME_START; + var pointer = 0; + var buffer = ""; + var seenAt = false; + var seenBracket = false; + var seenPasswordToken = false; + var codePoints, chr, bufferCodePoints, failure; + input = $toString(input); + if (!stateOverride) { + url.scheme = ""; + url.username = ""; + url.password = ""; + url.host = null; + url.port = null; + url.path = []; + url.query = null; + url.fragment = null; + url.cannotBeABaseURL = false; + input = replace(input, LEADING_C0_CONTROL_OR_SPACE, ""); + input = replace(input, TRAILING_C0_CONTROL_OR_SPACE, "$1"); + } + input = replace(input, TAB_AND_NEW_LINE, ""); + codePoints = arrayFrom(input); + while (pointer <= codePoints.length) { + chr = codePoints[pointer]; + switch (state2) { + case SCHEME_START: + if (chr && exec(ALPHA, chr)) { + buffer += toLowerCase(chr); + state2 = SCHEME; + } else if (!stateOverride) { + state2 = NO_SCHEME; + continue; + } else + return INVALID_SCHEME; + break; + case SCHEME: + if (chr && (exec(ALPHANUMERIC, chr) || chr == "+" || chr == "-" || chr == ".")) { + buffer += toLowerCase(chr); + } else if (chr == ":") { + if (stateOverride && (url.isSpecial() != hasOwn(specialSchemes, buffer) || buffer == "file" && (url.includesCredentials() || url.port !== null) || url.scheme == "file" && !url.host)) + return; + url.scheme = buffer; + if (stateOverride) { + if (url.isSpecial() && specialSchemes[url.scheme] == url.port) + url.port = null; + return; + } + buffer = ""; + if (url.scheme == "file") { + state2 = FILE; + } else if (url.isSpecial() && base && base.scheme == url.scheme) { + state2 = SPECIAL_RELATIVE_OR_AUTHORITY; + } else if (url.isSpecial()) { + state2 = SPECIAL_AUTHORITY_SLASHES; + } else if (codePoints[pointer + 1] == "/") { + state2 = PATH_OR_AUTHORITY; + pointer++; + } else { + url.cannotBeABaseURL = true; + push(url.path, ""); + state2 = CANNOT_BE_A_BASE_URL_PATH; + } + } else if (!stateOverride) { + buffer = ""; + state2 = NO_SCHEME; + pointer = 0; + continue; + } else + return INVALID_SCHEME; + break; + case NO_SCHEME: + if (!base || base.cannotBeABaseURL && chr != "#") + return INVALID_SCHEME; + if (base.cannotBeABaseURL && chr == "#") { + url.scheme = base.scheme; + url.path = arraySlice(base.path); + url.query = base.query; + url.fragment = ""; + url.cannotBeABaseURL = true; + state2 = FRAGMENT; + break; + } + state2 = base.scheme == "file" ? FILE : RELATIVE; + continue; + case SPECIAL_RELATIVE_OR_AUTHORITY: + if (chr == "/" && codePoints[pointer + 1] == "/") { + state2 = SPECIAL_AUTHORITY_IGNORE_SLASHES; + pointer++; + } else { + state2 = RELATIVE; + continue; + } + break; + case PATH_OR_AUTHORITY: + if (chr == "/") { + state2 = AUTHORITY; + break; + } else { + state2 = PATH; + continue; + } + case RELATIVE: + url.scheme = base.scheme; + if (chr == EOF) { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.query = base.query; + } else if (chr == "/" || chr == "\\" && url.isSpecial()) { + state2 = RELATIVE_SLASH; + } else if (chr == "?") { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.query = ""; + state2 = QUERY; + } else if (chr == "#") { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.query = base.query; + url.fragment = ""; + state2 = FRAGMENT; + } else { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.path.length--; + state2 = PATH; + continue; + } + break; + case RELATIVE_SLASH: + if (url.isSpecial() && (chr == "/" || chr == "\\")) { + state2 = SPECIAL_AUTHORITY_IGNORE_SLASHES; + } else if (chr == "/") { + state2 = AUTHORITY; + } else { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + state2 = PATH; + continue; + } + break; + case SPECIAL_AUTHORITY_SLASHES: + state2 = SPECIAL_AUTHORITY_IGNORE_SLASHES; + if (chr != "/" || charAt(buffer, pointer + 1) != "/") + continue; + pointer++; + break; + case SPECIAL_AUTHORITY_IGNORE_SLASHES: + if (chr != "/" && chr != "\\") { + state2 = AUTHORITY; + continue; + } + break; + case AUTHORITY: + if (chr == "@") { + if (seenAt) + buffer = "%40" + buffer; + seenAt = true; + bufferCodePoints = arrayFrom(buffer); + for (var i4 = 0; i4 < bufferCodePoints.length; i4++) { + var codePoint = bufferCodePoints[i4]; + if (codePoint == ":" && !seenPasswordToken) { + seenPasswordToken = true; + continue; + } + var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet); + if (seenPasswordToken) + url.password += encodedCodePoints; + else + url.username += encodedCodePoints; + } + buffer = ""; + } else if (chr == EOF || chr == "/" || chr == "?" || chr == "#" || chr == "\\" && url.isSpecial()) { + if (seenAt && buffer == "") + return INVALID_AUTHORITY; + pointer -= arrayFrom(buffer).length + 1; + buffer = ""; + state2 = HOST; + } else + buffer += chr; + break; + case HOST: + case HOSTNAME: + if (stateOverride && url.scheme == "file") { + state2 = FILE_HOST; + continue; + } else if (chr == ":" && !seenBracket) { + if (buffer == "") + return INVALID_HOST; + failure = url.parseHost(buffer); + if (failure) + return failure; + buffer = ""; + state2 = PORT; + if (stateOverride == HOSTNAME) + return; + } else if (chr == EOF || chr == "/" || chr == "?" || chr == "#" || chr == "\\" && url.isSpecial()) { + if (url.isSpecial() && buffer == "") + return INVALID_HOST; + if (stateOverride && buffer == "" && (url.includesCredentials() || url.port !== null)) + return; + failure = url.parseHost(buffer); + if (failure) + return failure; + buffer = ""; + state2 = PATH_START; + if (stateOverride) + return; + continue; + } else { + if (chr == "[") + seenBracket = true; + else if (chr == "]") + seenBracket = false; + buffer += chr; + } + break; + case PORT: + if (exec(DIGIT, chr)) { + buffer += chr; + } else if (chr == EOF || chr == "/" || chr == "?" || chr == "#" || chr == "\\" && url.isSpecial() || stateOverride) { + if (buffer != "") { + var port = parseInt2(buffer, 10); + if (port > 65535) + return INVALID_PORT; + url.port = url.isSpecial() && port === specialSchemes[url.scheme] ? null : port; + buffer = ""; + } + if (stateOverride) + return; + state2 = PATH_START; + continue; + } else + return INVALID_PORT; + break; + case FILE: + url.scheme = "file"; + if (chr == "/" || chr == "\\") + state2 = FILE_SLASH; + else if (base && base.scheme == "file") { + if (chr == EOF) { + url.host = base.host; + url.path = arraySlice(base.path); + url.query = base.query; + } else if (chr == "?") { + url.host = base.host; + url.path = arraySlice(base.path); + url.query = ""; + state2 = QUERY; + } else if (chr == "#") { + url.host = base.host; + url.path = arraySlice(base.path); + url.query = base.query; + url.fragment = ""; + state2 = FRAGMENT; + } else { + if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ""))) { + url.host = base.host; + url.path = arraySlice(base.path); + url.shortenPath(); + } + state2 = PATH; + continue; + } + } else { + state2 = PATH; + continue; + } + break; + case FILE_SLASH: + if (chr == "/" || chr == "\\") { + state2 = FILE_HOST; + break; + } + if (base && base.scheme == "file" && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ""))) { + if (isWindowsDriveLetter(base.path[0], true)) + push(url.path, base.path[0]); + else + url.host = base.host; + } + state2 = PATH; + continue; + case FILE_HOST: + if (chr == EOF || chr == "/" || chr == "\\" || chr == "?" || chr == "#") { + if (!stateOverride && isWindowsDriveLetter(buffer)) { + state2 = PATH; + } else if (buffer == "") { + url.host = ""; + if (stateOverride) + return; + state2 = PATH_START; + } else { + failure = url.parseHost(buffer); + if (failure) + return failure; + if (url.host == "localhost") + url.host = ""; + if (stateOverride) + return; + buffer = ""; + state2 = PATH_START; + } + continue; + } else + buffer += chr; + break; + case PATH_START: + if (url.isSpecial()) { + state2 = PATH; + if (chr != "/" && chr != "\\") + continue; + } else if (!stateOverride && chr == "?") { + url.query = ""; + state2 = QUERY; + } else if (!stateOverride && chr == "#") { + url.fragment = ""; + state2 = FRAGMENT; + } else if (chr != EOF) { + state2 = PATH; + if (chr != "/") + continue; + } + break; + case PATH: + if (chr == EOF || chr == "/" || chr == "\\" && url.isSpecial() || !stateOverride && (chr == "?" || chr == "#")) { + if (isDoubleDot(buffer)) { + url.shortenPath(); + if (chr != "/" && !(chr == "\\" && url.isSpecial())) { + push(url.path, ""); + } + } else if (isSingleDot(buffer)) { + if (chr != "/" && !(chr == "\\" && url.isSpecial())) { + push(url.path, ""); + } + } else { + if (url.scheme == "file" && !url.path.length && isWindowsDriveLetter(buffer)) { + if (url.host) + url.host = ""; + buffer = charAt(buffer, 0) + ":"; + } + push(url.path, buffer); + } + buffer = ""; + if (url.scheme == "file" && (chr == EOF || chr == "?" || chr == "#")) { + while (url.path.length > 1 && url.path[0] === "") { + shift(url.path); + } + } + if (chr == "?") { + url.query = ""; + state2 = QUERY; + } else if (chr == "#") { + url.fragment = ""; + state2 = FRAGMENT; + } + } else { + buffer += percentEncode(chr, pathPercentEncodeSet); + } + break; + case CANNOT_BE_A_BASE_URL_PATH: + if (chr == "?") { + url.query = ""; + state2 = QUERY; + } else if (chr == "#") { + url.fragment = ""; + state2 = FRAGMENT; + } else if (chr != EOF) { + url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet); + } + break; + case QUERY: + if (!stateOverride && chr == "#") { + url.fragment = ""; + state2 = FRAGMENT; + } else if (chr != EOF) { + if (chr == "'" && url.isSpecial()) + url.query += "%27"; + else if (chr == "#") + url.query += "%23"; + else + url.query += percentEncode(chr, C0ControlPercentEncodeSet); + } + break; + case FRAGMENT: + if (chr != EOF) + url.fragment += percentEncode(chr, fragmentPercentEncodeSet); + break; + } + pointer++; + } + }, + // https://url.spec.whatwg.org/#host-parsing + parseHost: function(input) { + var result, codePoints, index; + if (charAt(input, 0) == "[") { + if (charAt(input, input.length - 1) != "]") + return INVALID_HOST; + result = parseIPv6(stringSlice(input, 1, -1)); + if (!result) + return INVALID_HOST; + this.host = result; + } else if (!this.isSpecial()) { + if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) + return INVALID_HOST; + result = ""; + codePoints = arrayFrom(input); + for (index = 0; index < codePoints.length; index++) { + result += percentEncode(codePoints[index], C0ControlPercentEncodeSet); + } + this.host = result; + } else { + input = toASCII(input); + if (exec(FORBIDDEN_HOST_CODE_POINT, input)) + return INVALID_HOST; + result = parseIPv4(input); + if (result === null) + return INVALID_HOST; + this.host = result; + } + }, + // https://url.spec.whatwg.org/#cannot-have-a-username-password-port + cannotHaveUsernamePasswordPort: function() { + return !this.host || this.cannotBeABaseURL || this.scheme == "file"; + }, + // https://url.spec.whatwg.org/#include-credentials + includesCredentials: function() { + return this.username != "" || this.password != ""; + }, + // https://url.spec.whatwg.org/#is-special + isSpecial: function() { + return hasOwn(specialSchemes, this.scheme); + }, + // https://url.spec.whatwg.org/#shorten-a-urls-path + shortenPath: function() { + var path = this.path; + var pathSize = path.length; + if (pathSize && (this.scheme != "file" || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) { + path.length--; + } + }, + // https://url.spec.whatwg.org/#concept-url-serializer + serialize: function() { + var url = this; + var scheme = url.scheme; + var username = url.username; + var password = url.password; + var host = url.host; + var port = url.port; + var path = url.path; + var query = url.query; + var fragment = url.fragment; + var output = scheme + ":"; + if (host !== null) { + output += "//"; + if (url.includesCredentials()) { + output += username + (password ? ":" + password : "") + "@"; + } + output += serializeHost(host); + if (port !== null) + output += ":" + port; + } else if (scheme == "file") + output += "//"; + output += url.cannotBeABaseURL ? path[0] : path.length ? "/" + join(path, "/") : ""; + if (query !== null) + output += "?" + query; + if (fragment !== null) + output += "#" + fragment; + return output; + }, + // https://url.spec.whatwg.org/#dom-url-href + setHref: function(href) { + var failure = this.parse(href); + if (failure) + throw TypeError2(failure); + this.searchParams.update(); + }, + // https://url.spec.whatwg.org/#dom-url-origin + getOrigin: function() { + var scheme = this.scheme; + var port = this.port; + if (scheme == "blob") + try { + return new URLConstructor(scheme.path[0]).origin; + } catch (error) { + return "null"; + } + if (scheme == "file" || !this.isSpecial()) + return "null"; + return scheme + "://" + serializeHost(this.host) + (port !== null ? ":" + port : ""); + }, + // https://url.spec.whatwg.org/#dom-url-protocol + getProtocol: function() { + return this.scheme + ":"; + }, + setProtocol: function(protocol) { + this.parse($toString(protocol) + ":", SCHEME_START); + }, + // https://url.spec.whatwg.org/#dom-url-username + getUsername: function() { + return this.username; + }, + setUsername: function(username) { + var codePoints = arrayFrom($toString(username)); + if (this.cannotHaveUsernamePasswordPort()) + return; + this.username = ""; + for (var i4 = 0; i4 < codePoints.length; i4++) { + this.username += percentEncode(codePoints[i4], userinfoPercentEncodeSet); + } + }, + // https://url.spec.whatwg.org/#dom-url-password + getPassword: function() { + return this.password; + }, + setPassword: function(password) { + var codePoints = arrayFrom($toString(password)); + if (this.cannotHaveUsernamePasswordPort()) + return; + this.password = ""; + for (var i4 = 0; i4 < codePoints.length; i4++) { + this.password += percentEncode(codePoints[i4], userinfoPercentEncodeSet); + } + }, + // https://url.spec.whatwg.org/#dom-url-host + getHost: function() { + var host = this.host; + var port = this.port; + return host === null ? "" : port === null ? serializeHost(host) : serializeHost(host) + ":" + port; + }, + setHost: function(host) { + if (this.cannotBeABaseURL) + return; + this.parse(host, HOST); + }, + // https://url.spec.whatwg.org/#dom-url-hostname + getHostname: function() { + var host = this.host; + return host === null ? "" : serializeHost(host); + }, + setHostname: function(hostname) { + if (this.cannotBeABaseURL) + return; + this.parse(hostname, HOSTNAME); + }, + // https://url.spec.whatwg.org/#dom-url-port + getPort: function() { + var port = this.port; + return port === null ? "" : $toString(port); + }, + setPort: function(port) { + if (this.cannotHaveUsernamePasswordPort()) + return; + port = $toString(port); + if (port == "") + this.port = null; + else + this.parse(port, PORT); + }, + // https://url.spec.whatwg.org/#dom-url-pathname + getPathname: function() { + var path = this.path; + return this.cannotBeABaseURL ? path[0] : path.length ? "/" + join(path, "/") : ""; + }, + setPathname: function(pathname) { + if (this.cannotBeABaseURL) + return; + this.path = []; + this.parse(pathname, PATH_START); + }, + // https://url.spec.whatwg.org/#dom-url-search + getSearch: function() { + var query = this.query; + return query ? "?" + query : ""; + }, + setSearch: function(search) { + search = $toString(search); + if (search == "") { + this.query = null; + } else { + if ("?" == charAt(search, 0)) + search = stringSlice(search, 1); + this.query = ""; + this.parse(search, QUERY); + } + this.searchParams.update(); + }, + // https://url.spec.whatwg.org/#dom-url-searchparams + getSearchParams: function() { + return this.searchParams.facade; + }, + // https://url.spec.whatwg.org/#dom-url-hash + getHash: function() { + var fragment = this.fragment; + return fragment ? "#" + fragment : ""; + }, + setHash: function(hash) { + hash = $toString(hash); + if (hash == "") { + this.fragment = null; + return; + } + if ("#" == charAt(hash, 0)) + hash = stringSlice(hash, 1); + this.fragment = ""; + this.parse(hash, FRAGMENT); + }, + update: function() { + this.query = this.searchParams.serialize() || null; + } + }; + var URLConstructor = function URL2(url) { + var that = anInstance(this, URLPrototype); + var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : void 0; + var state2 = setInternalState(that, new URLState(url, false, base)); + if (!DESCRIPTORS) { + that.href = state2.serialize(); + that.origin = state2.getOrigin(); + that.protocol = state2.getProtocol(); + that.username = state2.getUsername(); + that.password = state2.getPassword(); + that.host = state2.getHost(); + that.hostname = state2.getHostname(); + that.port = state2.getPort(); + that.pathname = state2.getPathname(); + that.search = state2.getSearch(); + that.searchParams = state2.getSearchParams(); + that.hash = state2.getHash(); + } + }; + var URLPrototype = URLConstructor.prototype; + var accessorDescriptor = function(getter, setter) { + return { + get: function() { + return getInternalURLState(this)[getter](); + }, + set: setter && function(value) { + return getInternalURLState(this)[setter](value); + }, + configurable: true, + enumerable: true + }; + }; + if (DESCRIPTORS) { + defineBuiltInAccessor(URLPrototype, "href", accessorDescriptor("serialize", "setHref")); + defineBuiltInAccessor(URLPrototype, "origin", accessorDescriptor("getOrigin")); + defineBuiltInAccessor(URLPrototype, "protocol", accessorDescriptor("getProtocol", "setProtocol")); + defineBuiltInAccessor(URLPrototype, "username", accessorDescriptor("getUsername", "setUsername")); + defineBuiltInAccessor(URLPrototype, "password", accessorDescriptor("getPassword", "setPassword")); + defineBuiltInAccessor(URLPrototype, "host", accessorDescriptor("getHost", "setHost")); + defineBuiltInAccessor(URLPrototype, "hostname", accessorDescriptor("getHostname", "setHostname")); + defineBuiltInAccessor(URLPrototype, "port", accessorDescriptor("getPort", "setPort")); + defineBuiltInAccessor(URLPrototype, "pathname", accessorDescriptor("getPathname", "setPathname")); + defineBuiltInAccessor(URLPrototype, "search", accessorDescriptor("getSearch", "setSearch")); + defineBuiltInAccessor(URLPrototype, "searchParams", accessorDescriptor("getSearchParams")); + defineBuiltInAccessor(URLPrototype, "hash", accessorDescriptor("getHash", "setHash")); + } + defineBuiltIn(URLPrototype, "toJSON", function toJSON() { + return getInternalURLState(this).serialize(); + }, { enumerable: true }); + defineBuiltIn(URLPrototype, "toString", function toString() { + return getInternalURLState(this).serialize(); + }, { enumerable: true }); + if (NativeURL) { + nativeCreateObjectURL = NativeURL.createObjectURL; + nativeRevokeObjectURL = NativeURL.revokeObjectURL; + if (nativeCreateObjectURL) + defineBuiltIn(URLConstructor, "createObjectURL", bind(nativeCreateObjectURL, NativeURL)); + if (nativeRevokeObjectURL) + defineBuiltIn(URLConstructor, "revokeObjectURL", bind(nativeRevokeObjectURL, NativeURL)); + } + var nativeCreateObjectURL; + var nativeRevokeObjectURL; + setToStringTag(URLConstructor, "URL"); + $2({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, { + URL: URLConstructor + }); + } + }); + + // node_modules/core-js/modules/web.url.js + var require_web_url = __commonJS({ + "node_modules/core-js/modules/web.url.js"() { + require_web_url_constructor(); + } + }); + + // node_modules/core-js/modules/web.url.can-parse.js + var require_web_url_can_parse = __commonJS({ + "node_modules/core-js/modules/web.url.can-parse.js"() { + var $2 = require_export(); + var getBuiltIn = require_get_built_in(); + var fails = require_fails(); + var validateArgumentsLength = require_validate_arguments_length(); + var toString = require_to_string(); + var USE_NATIVE_URL = require_url_constructor_detection(); + var URL2 = getBuiltIn("URL"); + var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function() { + URL2.canParse(); + }); + $2({ target: "URL", stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, { + canParse: function canParse(url) { + var length = validateArgumentsLength(arguments.length, 1); + var urlString = toString(url); + var base = length < 2 || arguments[1] === void 0 ? void 0 : toString(arguments[1]); + try { + return !!new URL2(urlString, base); + } catch (error) { + return false; + } + } + }); + } + }); + + // node_modules/core-js/modules/web.url.to-json.js + var require_web_url_to_json = __commonJS({ + "node_modules/core-js/modules/web.url.to-json.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + $2({ target: "URL", proto: true, enumerable: true }, { + toJSON: function toJSON() { + return call(URL.prototype.toString, this); + } + }); + } + }); + + // node_modules/core-js/modules/web.url-search-params.js + var require_web_url_search_params = __commonJS({ + "node_modules/core-js/modules/web.url-search-params.js"() { + require_web_url_search_params_constructor(); + } + }); + + // node_modules/core-js/modules/web.url-search-params.size.js + var require_web_url_search_params_size = __commonJS({ + "node_modules/core-js/modules/web.url-search-params.size.js"() { + "use strict"; + var DESCRIPTORS = require_descriptors(); + var uncurryThis = require_function_uncurry_this(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var URLSearchParamsPrototype = URLSearchParams.prototype; + var forEach = uncurryThis(URLSearchParamsPrototype.forEach); + if (DESCRIPTORS && !("size" in URLSearchParamsPrototype)) { + defineBuiltInAccessor(URLSearchParamsPrototype, "size", { + get: function size() { + var count = 0; + forEach(this, function() { + count++; + }); + return count; + }, + configurable: true, + enumerable: true + }); + } + } + }); + + // node_modules/core-js/stable/index.js + var require_stable = __commonJS({ + "node_modules/core-js/stable/index.js"(exports, module) { + require_es_symbol(); + require_es_symbol_description(); + require_es_symbol_async_iterator(); + require_es_symbol_has_instance(); + require_es_symbol_is_concat_spreadable(); + require_es_symbol_iterator(); + require_es_symbol_match(); + require_es_symbol_match_all(); + require_es_symbol_replace(); + require_es_symbol_search(); + require_es_symbol_species(); + require_es_symbol_split(); + require_es_symbol_to_primitive(); + require_es_symbol_to_string_tag(); + require_es_symbol_unscopables(); + require_es_error_cause(); + require_es_error_to_string(); + require_es_aggregate_error(); + require_es_aggregate_error_cause(); + require_es_array_at(); + require_es_array_concat(); + require_es_array_copy_within(); + require_es_array_every(); + require_es_array_fill(); + require_es_array_filter(); + require_es_array_find(); + require_es_array_find_index(); + require_es_array_find_last(); + require_es_array_find_last_index(); + require_es_array_flat(); + require_es_array_flat_map(); + require_es_array_for_each(); + require_es_array_from(); + require_es_array_includes(); + require_es_array_index_of(); + require_es_array_is_array(); + require_es_array_iterator(); + require_es_array_join(); + require_es_array_last_index_of(); + require_es_array_map(); + require_es_array_of(); + require_es_array_push(); + require_es_array_reduce(); + require_es_array_reduce_right(); + require_es_array_reverse(); + require_es_array_slice(); + require_es_array_some(); + require_es_array_sort(); + require_es_array_species(); + require_es_array_splice(); + require_es_array_to_reversed(); + require_es_array_to_sorted(); + require_es_array_to_spliced(); + require_es_array_unscopables_flat(); + require_es_array_unscopables_flat_map(); + require_es_array_unshift(); + require_es_array_with(); + require_es_array_buffer_constructor(); + require_es_array_buffer_is_view(); + require_es_array_buffer_slice(); + require_es_data_view(); + require_es_date_get_year(); + require_es_date_now(); + require_es_date_set_year(); + require_es_date_to_gmt_string(); + require_es_date_to_iso_string(); + require_es_date_to_json(); + require_es_date_to_primitive(); + require_es_date_to_string(); + require_es_escape(); + require_es_function_bind(); + require_es_function_has_instance(); + require_es_function_name(); + require_es_global_this(); + require_es_json_stringify(); + require_es_json_to_string_tag(); + require_es_map(); + require_es_math_acosh(); + require_es_math_asinh(); + require_es_math_atanh(); + require_es_math_cbrt(); + require_es_math_clz32(); + require_es_math_cosh(); + require_es_math_expm1(); + require_es_math_fround(); + require_es_math_hypot(); + require_es_math_imul(); + require_es_math_log10(); + require_es_math_log1p(); + require_es_math_log2(); + require_es_math_sign(); + require_es_math_sinh(); + require_es_math_tanh(); + require_es_math_to_string_tag(); + require_es_math_trunc(); + require_es_number_constructor(); + require_es_number_epsilon(); + require_es_number_is_finite(); + require_es_number_is_integer(); + require_es_number_is_nan(); + require_es_number_is_safe_integer(); + require_es_number_max_safe_integer(); + require_es_number_min_safe_integer(); + require_es_number_parse_float(); + require_es_number_parse_int(); + require_es_number_to_exponential(); + require_es_number_to_fixed(); + require_es_number_to_precision(); + require_es_object_assign(); + require_es_object_create(); + require_es_object_define_getter(); + require_es_object_define_properties(); + require_es_object_define_property(); + require_es_object_define_setter(); + require_es_object_entries(); + require_es_object_freeze(); + require_es_object_from_entries(); + require_es_object_get_own_property_descriptor(); + require_es_object_get_own_property_descriptors(); + require_es_object_get_own_property_names(); + require_es_object_get_prototype_of(); + require_es_object_has_own(); + require_es_object_is(); + require_es_object_is_extensible(); + require_es_object_is_frozen(); + require_es_object_is_sealed(); + require_es_object_keys(); + require_es_object_lookup_getter(); + require_es_object_lookup_setter(); + require_es_object_prevent_extensions(); + require_es_object_proto(); + require_es_object_seal(); + require_es_object_set_prototype_of(); + require_es_object_to_string(); + require_es_object_values(); + require_es_parse_float(); + require_es_parse_int(); + require_es_promise(); + require_es_promise_all_settled(); + require_es_promise_any(); + require_es_promise_finally(); + require_es_reflect_apply(); + require_es_reflect_construct(); + require_es_reflect_define_property(); + require_es_reflect_delete_property(); + require_es_reflect_get(); + require_es_reflect_get_own_property_descriptor(); + require_es_reflect_get_prototype_of(); + require_es_reflect_has(); + require_es_reflect_is_extensible(); + require_es_reflect_own_keys(); + require_es_reflect_prevent_extensions(); + require_es_reflect_set(); + require_es_reflect_set_prototype_of(); + require_es_reflect_to_string_tag(); + require_es_regexp_constructor(); + require_es_regexp_dot_all(); + require_es_regexp_exec(); + require_es_regexp_flags(); + require_es_regexp_sticky(); + require_es_regexp_test(); + require_es_regexp_to_string(); + require_es_set(); + require_es_string_at_alternative(); + require_es_string_code_point_at(); + require_es_string_ends_with(); + require_es_string_from_code_point(); + require_es_string_includes(); + require_es_string_iterator(); + require_es_string_match(); + require_es_string_match_all(); + require_es_string_pad_end(); + require_es_string_pad_start(); + require_es_string_raw(); + require_es_string_repeat(); + require_es_string_replace(); + require_es_string_replace_all(); + require_es_string_search(); + require_es_string_split(); + require_es_string_starts_with(); + require_es_string_substr(); + require_es_string_trim(); + require_es_string_trim_end(); + require_es_string_trim_start(); + require_es_string_anchor(); + require_es_string_big(); + require_es_string_blink(); + require_es_string_bold(); + require_es_string_fixed(); + require_es_string_fontcolor(); + require_es_string_fontsize(); + require_es_string_italics(); + require_es_string_link(); + require_es_string_small(); + require_es_string_strike(); + require_es_string_sub(); + require_es_string_sup(); + require_es_typed_array_float32_array(); + require_es_typed_array_float64_array(); + require_es_typed_array_int8_array(); + require_es_typed_array_int16_array(); + require_es_typed_array_int32_array(); + require_es_typed_array_uint8_array(); + require_es_typed_array_uint8_clamped_array(); + require_es_typed_array_uint16_array(); + require_es_typed_array_uint32_array(); + require_es_typed_array_at(); + require_es_typed_array_copy_within(); + require_es_typed_array_every(); + require_es_typed_array_fill(); + require_es_typed_array_filter(); + require_es_typed_array_find(); + require_es_typed_array_find_index(); + require_es_typed_array_find_last(); + require_es_typed_array_find_last_index(); + require_es_typed_array_for_each(); + require_es_typed_array_from(); + require_es_typed_array_includes(); + require_es_typed_array_index_of(); + require_es_typed_array_iterator(); + require_es_typed_array_join(); + require_es_typed_array_last_index_of(); + require_es_typed_array_map(); + require_es_typed_array_of(); + require_es_typed_array_reduce(); + require_es_typed_array_reduce_right(); + require_es_typed_array_reverse(); + require_es_typed_array_set(); + require_es_typed_array_slice(); + require_es_typed_array_some(); + require_es_typed_array_sort(); + require_es_typed_array_subarray(); + require_es_typed_array_to_locale_string(); + require_es_typed_array_to_reversed(); + require_es_typed_array_to_sorted(); + require_es_typed_array_to_string(); + require_es_typed_array_with(); + require_es_unescape(); + require_es_weak_map(); + require_es_weak_set(); + require_web_atob(); + require_web_btoa(); + require_web_dom_collections_for_each(); + require_web_dom_collections_iterator(); + require_web_dom_exception_constructor(); + require_web_dom_exception_stack(); + require_web_dom_exception_to_string_tag(); + require_web_immediate(); + require_web_queue_microtask(); + require_web_self(); + require_web_structured_clone(); + require_web_timers(); + require_web_url(); + require_web_url_can_parse(); + require_web_url_to_json(); + require_web_url_search_params(); + require_web_url_search_params_size(); + module.exports = require_path(); + } + }); + + // node_modules/core-js/modules/esnext.object.has-own.js + var require_esnext_object_has_own = __commonJS({ + "node_modules/core-js/modules/esnext.object.has-own.js"() { + require_es_object_has_own(); + } + }); + + // node_modules/core-js/proposals/accessible-object-hasownproperty.js + var require_accessible_object_hasownproperty = __commonJS({ + "node_modules/core-js/proposals/accessible-object-hasownproperty.js"() { + require_esnext_object_has_own(); + } + }); + + // node_modules/core-js/modules/esnext.array.find-last.js + var require_esnext_array_find_last = __commonJS({ + "node_modules/core-js/modules/esnext.array.find-last.js"() { + require_es_array_find_last(); + } + }); + + // node_modules/core-js/modules/esnext.array.find-last-index.js + var require_esnext_array_find_last_index = __commonJS({ + "node_modules/core-js/modules/esnext.array.find-last-index.js"() { + require_es_array_find_last_index(); + } + }); + + // node_modules/core-js/modules/esnext.typed-array.find-last.js + var require_esnext_typed_array_find_last = __commonJS({ + "node_modules/core-js/modules/esnext.typed-array.find-last.js"() { + require_es_typed_array_find_last(); + } + }); + + // node_modules/core-js/modules/esnext.typed-array.find-last-index.js + var require_esnext_typed_array_find_last_index = __commonJS({ + "node_modules/core-js/modules/esnext.typed-array.find-last-index.js"() { + require_es_typed_array_find_last_index(); + } + }); + + // node_modules/core-js/proposals/array-find-from-last.js + var require_array_find_from_last = __commonJS({ + "node_modules/core-js/proposals/array-find-from-last.js"() { + require_esnext_array_find_last(); + require_esnext_array_find_last_index(); + require_esnext_typed_array_find_last(); + require_esnext_typed_array_find_last_index(); + } + }); + + // node_modules/core-js/modules/esnext.array.to-reversed.js + var require_esnext_array_to_reversed = __commonJS({ + "node_modules/core-js/modules/esnext.array.to-reversed.js"() { + require_es_array_to_reversed(); + } + }); + + // node_modules/core-js/modules/esnext.array.to-sorted.js + var require_esnext_array_to_sorted = __commonJS({ + "node_modules/core-js/modules/esnext.array.to-sorted.js"() { + require_es_array_to_sorted(); + } + }); + + // node_modules/core-js/modules/esnext.array.to-spliced.js + var require_esnext_array_to_spliced = __commonJS({ + "node_modules/core-js/modules/esnext.array.to-spliced.js"() { + require_es_array_to_spliced(); + } + }); + + // node_modules/core-js/modules/esnext.array.with.js + var require_esnext_array_with = __commonJS({ + "node_modules/core-js/modules/esnext.array.with.js"() { + require_es_array_with(); + } + }); + + // node_modules/core-js/modules/esnext.typed-array.to-reversed.js + var require_esnext_typed_array_to_reversed = __commonJS({ + "node_modules/core-js/modules/esnext.typed-array.to-reversed.js"() { + require_es_typed_array_to_reversed(); + } + }); + + // node_modules/core-js/modules/esnext.typed-array.to-sorted.js + var require_esnext_typed_array_to_sorted = __commonJS({ + "node_modules/core-js/modules/esnext.typed-array.to-sorted.js"() { + require_es_typed_array_to_sorted(); + } + }); + + // node_modules/core-js/modules/esnext.typed-array.with.js + var require_esnext_typed_array_with = __commonJS({ + "node_modules/core-js/modules/esnext.typed-array.with.js"() { + require_es_typed_array_with(); + } + }); + + // node_modules/core-js/proposals/change-array-by-copy-stage-4.js + var require_change_array_by_copy_stage_4 = __commonJS({ + "node_modules/core-js/proposals/change-array-by-copy-stage-4.js"() { + require_esnext_array_to_reversed(); + require_esnext_array_to_sorted(); + require_esnext_array_to_spliced(); + require_esnext_array_with(); + require_esnext_typed_array_to_reversed(); + require_esnext_typed_array_to_sorted(); + require_esnext_typed_array_with(); + } + }); + + // node_modules/core-js/modules/esnext.global-this.js + var require_esnext_global_this = __commonJS({ + "node_modules/core-js/modules/esnext.global-this.js"() { + require_es_global_this(); + } + }); + + // node_modules/core-js/proposals/global-this.js + var require_global_this = __commonJS({ + "node_modules/core-js/proposals/global-this.js"(exports, module) { + require_esnext_global_this(); + var global2 = require_global(); + module.exports = global2; + } + }); + + // node_modules/core-js/modules/esnext.promise.all-settled.js + var require_esnext_promise_all_settled = __commonJS({ + "node_modules/core-js/modules/esnext.promise.all-settled.js"() { + require_es_promise_all_settled(); + } + }); + + // node_modules/core-js/proposals/promise-all-settled.js + var require_promise_all_settled = __commonJS({ + "node_modules/core-js/proposals/promise-all-settled.js"() { + require_esnext_promise_all_settled(); + } + }); + + // node_modules/core-js/modules/esnext.aggregate-error.js + var require_esnext_aggregate_error = __commonJS({ + "node_modules/core-js/modules/esnext.aggregate-error.js"() { + require_es_aggregate_error(); + } + }); + + // node_modules/core-js/modules/esnext.promise.any.js + var require_esnext_promise_any = __commonJS({ + "node_modules/core-js/modules/esnext.promise.any.js"() { + require_es_promise_any(); + } + }); + + // node_modules/core-js/proposals/promise-any.js + var require_promise_any = __commonJS({ + "node_modules/core-js/proposals/promise-any.js"() { + require_esnext_aggregate_error(); + require_esnext_promise_any(); + } + }); + + // node_modules/core-js/modules/esnext.array.at.js + var require_esnext_array_at = __commonJS({ + "node_modules/core-js/modules/esnext.array.at.js"() { + require_es_array_at(); + } + }); + + // node_modules/core-js/modules/esnext.typed-array.at.js + var require_esnext_typed_array_at = __commonJS({ + "node_modules/core-js/modules/esnext.typed-array.at.js"() { + require_es_typed_array_at(); + } + }); + + // node_modules/core-js/proposals/relative-indexing-method.js + var require_relative_indexing_method = __commonJS({ + "node_modules/core-js/proposals/relative-indexing-method.js"() { + require_es_string_at_alternative(); + require_esnext_array_at(); + require_esnext_typed_array_at(); + } + }); + + // node_modules/core-js/modules/esnext.string.match-all.js + var require_esnext_string_match_all = __commonJS({ + "node_modules/core-js/modules/esnext.string.match-all.js"() { + require_es_string_match_all(); + } + }); + + // node_modules/core-js/proposals/string-match-all.js + var require_string_match_all = __commonJS({ + "node_modules/core-js/proposals/string-match-all.js"() { + require_esnext_string_match_all(); + } + }); + + // node_modules/core-js/modules/esnext.string.replace-all.js + var require_esnext_string_replace_all = __commonJS({ + "node_modules/core-js/modules/esnext.string.replace-all.js"() { + require_es_string_replace_all(); + } + }); + + // node_modules/core-js/proposals/string-replace-all-stage-4.js + var require_string_replace_all_stage_4 = __commonJS({ + "node_modules/core-js/proposals/string-replace-all-stage-4.js"() { + require_esnext_string_replace_all(); + } + }); + + // node_modules/core-js/stage/4.js + var require__ = __commonJS({ + "node_modules/core-js/stage/4.js"(exports, module) { + require_accessible_object_hasownproperty(); + require_array_find_from_last(); + require_change_array_by_copy_stage_4(); + require_global_this(); + require_promise_all_settled(); + require_promise_any(); + require_relative_indexing_method(); + require_string_match_all(); + require_string_replace_all_stage_4(); + var path = require_path(); + module.exports = path; + } + }); + + // node_modules/core-js/internals/async-iterator-prototype.js + var require_async_iterator_prototype = __commonJS({ + "node_modules/core-js/internals/async-iterator-prototype.js"(exports, module) { + var global2 = require_global(); + var shared = require_shared_store(); + var isCallable = require_is_callable(); + var create = require_object_create(); + var getPrototypeOf = require_object_get_prototype_of(); + var defineBuiltIn = require_define_built_in(); + var wellKnownSymbol = require_well_known_symbol(); + var IS_PURE = require_is_pure(); + var USE_FUNCTION_CONSTRUCTOR = "USE_FUNCTION_CONSTRUCTOR"; + var ASYNC_ITERATOR = wellKnownSymbol("asyncIterator"); + var AsyncIterator = global2.AsyncIterator; + var PassedAsyncIteratorPrototype = shared.AsyncIteratorPrototype; + var AsyncIteratorPrototype; + var prototype; + if (PassedAsyncIteratorPrototype) { + AsyncIteratorPrototype = PassedAsyncIteratorPrototype; + } else if (isCallable(AsyncIterator)) { + AsyncIteratorPrototype = AsyncIterator.prototype; + } else if (shared[USE_FUNCTION_CONSTRUCTOR] || global2[USE_FUNCTION_CONSTRUCTOR]) { + try { + prototype = getPrototypeOf(getPrototypeOf(getPrototypeOf(Function("return async function*(){}()")()))); + if (getPrototypeOf(prototype) === Object.prototype) + AsyncIteratorPrototype = prototype; + } catch (error) { + } + } + if (!AsyncIteratorPrototype) + AsyncIteratorPrototype = {}; + else if (IS_PURE) + AsyncIteratorPrototype = create(AsyncIteratorPrototype); + if (!isCallable(AsyncIteratorPrototype[ASYNC_ITERATOR])) { + defineBuiltIn(AsyncIteratorPrototype, ASYNC_ITERATOR, function() { + return this; + }); + } + module.exports = AsyncIteratorPrototype; + } + }); + + // node_modules/core-js/internals/async-from-sync-iterator.js + var require_async_from_sync_iterator = __commonJS({ + "node_modules/core-js/internals/async-from-sync-iterator.js"(exports, module) { + "use strict"; + var call = require_function_call(); + var anObject = require_an_object(); + var create = require_object_create(); + var getMethod = require_get_method(); + var defineBuiltIns = require_define_built_ins(); + var InternalStateModule = require_internal_state(); + var getBuiltIn = require_get_built_in(); + var AsyncIteratorPrototype = require_async_iterator_prototype(); + var createIterResultObject = require_create_iter_result_object(); + var Promise2 = getBuiltIn("Promise"); + var ASYNC_FROM_SYNC_ITERATOR = "AsyncFromSyncIterator"; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(ASYNC_FROM_SYNC_ITERATOR); + var asyncFromSyncIteratorContinuation = function(result, resolve, reject) { + var done = result.done; + Promise2.resolve(result.value).then(function(value) { + resolve(createIterResultObject(value, done)); + }, reject); + }; + var AsyncFromSyncIterator = function AsyncIterator(iteratorRecord) { + iteratorRecord.type = ASYNC_FROM_SYNC_ITERATOR; + setInternalState(this, iteratorRecord); + }; + AsyncFromSyncIterator.prototype = defineBuiltIns(create(AsyncIteratorPrototype), { + next: function next() { + var state2 = getInternalState(this); + return new Promise2(function(resolve, reject) { + var result = anObject(call(state2.next, state2.iterator)); + asyncFromSyncIteratorContinuation(result, resolve, reject); + }); + }, + "return": function() { + var iterator = getInternalState(this).iterator; + return new Promise2(function(resolve, reject) { + var $return = getMethod(iterator, "return"); + if ($return === void 0) + return resolve(createIterResultObject(void 0, true)); + var result = anObject(call($return, iterator)); + asyncFromSyncIteratorContinuation(result, resolve, reject); + }); + } + }); + module.exports = AsyncFromSyncIterator; + } + }); + + // node_modules/core-js/internals/get-iterator-direct.js + var require_get_iterator_direct = __commonJS({ + "node_modules/core-js/internals/get-iterator-direct.js"(exports, module) { + var aCallable = require_a_callable(); + module.exports = function(obj) { + return { + iterator: obj, + next: aCallable(obj.next) + }; + }; + } + }); + + // node_modules/core-js/internals/get-async-iterator.js + var require_get_async_iterator = __commonJS({ + "node_modules/core-js/internals/get-async-iterator.js"(exports, module) { + var call = require_function_call(); + var AsyncFromSyncIterator = require_async_from_sync_iterator(); + var anObject = require_an_object(); + var getIterator = require_get_iterator(); + var getIteratorDirect = require_get_iterator_direct(); + var getMethod = require_get_method(); + var wellKnownSymbol = require_well_known_symbol(); + var ASYNC_ITERATOR = wellKnownSymbol("asyncIterator"); + module.exports = function(it, usingIterator) { + var method = arguments.length < 2 ? getMethod(it, ASYNC_ITERATOR) : usingIterator; + return method ? anObject(call(method, it)) : new AsyncFromSyncIterator(getIteratorDirect(getIterator(it))); + }; + } + }); + + // node_modules/core-js/internals/async-iterator-close.js + var require_async_iterator_close = __commonJS({ + "node_modules/core-js/internals/async-iterator-close.js"(exports, module) { + var call = require_function_call(); + var getBuiltIn = require_get_built_in(); + var getMethod = require_get_method(); + module.exports = function(iterator, method, argument, reject) { + try { + var returnMethod = getMethod(iterator, "return"); + if (returnMethod) { + return getBuiltIn("Promise").resolve(call(returnMethod, iterator)).then(function() { + method(argument); + }, function(error) { + reject(error); + }); + } + } catch (error2) { + return reject(error2); + } + method(argument); + }; + } + }); + + // node_modules/core-js/internals/async-iterator-iteration.js + var require_async_iterator_iteration = __commonJS({ + "node_modules/core-js/internals/async-iterator-iteration.js"(exports, module) { + "use strict"; + var call = require_function_call(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var isObject = require_is_object(); + var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); + var getBuiltIn = require_get_built_in(); + var getIteratorDirect = require_get_iterator_direct(); + var closeAsyncIteration = require_async_iterator_close(); + var createMethod = function(TYPE) { + var IS_TO_ARRAY = TYPE == 0; + var IS_FOR_EACH = TYPE == 1; + var IS_EVERY = TYPE == 2; + var IS_SOME = TYPE == 3; + return function(object, fn, target) { + anObject(object); + var MAPPING = fn !== void 0; + if (MAPPING || !IS_TO_ARRAY) + aCallable(fn); + var record = getIteratorDirect(object); + var Promise2 = getBuiltIn("Promise"); + var iterator = record.iterator; + var next = record.next; + var counter = 0; + return new Promise2(function(resolve, reject) { + var ifAbruptCloseAsyncIterator = function(error) { + closeAsyncIteration(iterator, reject, error, reject); + }; + var loop = function() { + try { + if (MAPPING) + try { + doesNotExceedSafeInteger(counter); + } catch (error5) { + ifAbruptCloseAsyncIterator(error5); + } + Promise2.resolve(anObject(call(next, iterator))).then(function(step) { + try { + if (anObject(step).done) { + if (IS_TO_ARRAY) { + target.length = counter; + resolve(target); + } else + resolve(IS_SOME ? false : IS_EVERY || void 0); + } else { + var value = step.value; + try { + if (MAPPING) { + var result = fn(value, counter); + var handler = function($result) { + if (IS_FOR_EACH) { + loop(); + } else if (IS_EVERY) { + $result ? loop() : closeAsyncIteration(iterator, resolve, false, reject); + } else if (IS_TO_ARRAY) { + try { + target[counter++] = $result; + loop(); + } catch (error4) { + ifAbruptCloseAsyncIterator(error4); + } + } else { + $result ? closeAsyncIteration(iterator, resolve, IS_SOME || value, reject) : loop(); + } + }; + if (isObject(result)) + Promise2.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else + handler(result); + } else { + target[counter++] = value; + loop(); + } + } catch (error3) { + ifAbruptCloseAsyncIterator(error3); + } + } + } catch (error2) { + reject(error2); + } + }, reject); + } catch (error) { + reject(error); + } + }; + loop(); + }); + }; + }; + module.exports = { + toArray: createMethod(0), + forEach: createMethod(1), + every: createMethod(2), + some: createMethod(3), + find: createMethod(4) + }; + } + }); + + // node_modules/core-js/internals/array-from-async.js + var require_array_from_async = __commonJS({ + "node_modules/core-js/internals/array-from-async.js"(exports, module) { + "use strict"; + var bind = require_function_bind_context(); + var uncurryThis = require_function_uncurry_this(); + var toObject = require_to_object(); + var isConstructor = require_is_constructor(); + var getAsyncIterator = require_get_async_iterator(); + var getIterator = require_get_iterator(); + var getIteratorDirect = require_get_iterator_direct(); + var getIteratorMethod = require_get_iterator_method(); + var getMethod = require_get_method(); + var getVirtual = require_entry_virtual(); + var getBuiltIn = require_get_built_in(); + var wellKnownSymbol = require_well_known_symbol(); + var AsyncFromSyncIterator = require_async_from_sync_iterator(); + var toArray = require_async_iterator_iteration().toArray; + var ASYNC_ITERATOR = wellKnownSymbol("asyncIterator"); + var arrayIterator = uncurryThis(getVirtual("Array").values); + var arrayIteratorNext = uncurryThis(arrayIterator([]).next); + var safeArrayIterator = function() { + return new SafeArrayIterator(this); + }; + var SafeArrayIterator = function(O) { + this.iterator = arrayIterator(O); + }; + SafeArrayIterator.prototype.next = function() { + return arrayIteratorNext(this.iterator); + }; + module.exports = function fromAsync(asyncItems) { + var C2 = this; + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : void 0; + var thisArg = argumentsLength > 2 ? arguments[2] : void 0; + return new (getBuiltIn("Promise"))(function(resolve) { + var O = toObject(asyncItems); + if (mapfn !== void 0) + mapfn = bind(mapfn, thisArg); + var usingAsyncIterator = getMethod(O, ASYNC_ITERATOR); + var usingSyncIterator = usingAsyncIterator ? void 0 : getIteratorMethod(O) || safeArrayIterator; + var A2 = isConstructor(C2) ? new C2() : []; + var iterator = usingAsyncIterator ? getAsyncIterator(O, usingAsyncIterator) : new AsyncFromSyncIterator(getIteratorDirect(getIterator(O, usingSyncIterator))); + resolve(toArray(iterator, mapfn, A2)); + }); + }; + } + }); + + // node_modules/core-js/modules/esnext.array.from-async.js + var require_esnext_array_from_async = __commonJS({ + "node_modules/core-js/modules/esnext.array.from-async.js"() { + var $2 = require_export(); + var fromAsync = require_array_from_async(); + $2({ target: "Array", stat: true }, { + fromAsync + }); + } + }); + + // node_modules/core-js/proposals/array-from-async-stage-2.js + var require_array_from_async_stage_2 = __commonJS({ + "node_modules/core-js/proposals/array-from-async-stage-2.js"() { + require_esnext_array_from_async(); + } + }); + + // node_modules/core-js/internals/array-group.js + var require_array_group = __commonJS({ + "node_modules/core-js/internals/array-group.js"(exports, module) { + var bind = require_function_bind_context(); + var uncurryThis = require_function_uncurry_this(); + var IndexedObject = require_indexed_object(); + var toObject = require_to_object(); + var toPropertyKey = require_to_property_key(); + var lengthOfArrayLike = require_length_of_array_like(); + var objectCreate = require_object_create(); + var arrayFromConstructorAndList = require_array_from_constructor_and_list(); + var $Array = Array; + var push = uncurryThis([].push); + module.exports = function($this, callbackfn, that, specificConstructor) { + var O = toObject($this); + var self2 = IndexedObject(O); + var boundFunction = bind(callbackfn, that); + var target = objectCreate(null); + var length = lengthOfArrayLike(self2); + var index = 0; + var Constructor, key, value; + for (; length > index; index++) { + value = self2[index]; + key = toPropertyKey(boundFunction(value, index, O)); + if (key in target) + push(target[key], value); + else + target[key] = [value]; + } + if (specificConstructor) { + Constructor = specificConstructor(O); + if (Constructor !== $Array) { + for (key in target) + target[key] = arrayFromConstructorAndList(Constructor, target[key]); + } + } + return target; + }; + } + }); + + // node_modules/core-js/modules/esnext.array.group.js + var require_esnext_array_group = __commonJS({ + "node_modules/core-js/modules/esnext.array.group.js"() { + "use strict"; + var $2 = require_export(); + var $group = require_array_group(); + var addToUnscopables = require_add_to_unscopables(); + $2({ target: "Array", proto: true }, { + group: function group(callbackfn) { + var thisArg = arguments.length > 1 ? arguments[1] : void 0; + return $group(this, callbackfn, thisArg); + } + }); + addToUnscopables("group"); + } + }); + + // node_modules/core-js/internals/array-group-to-map.js + var require_array_group_to_map = __commonJS({ + "node_modules/core-js/internals/array-group-to-map.js"(exports, module) { + "use strict"; + var bind = require_function_bind_context(); + var uncurryThis = require_function_uncurry_this(); + var IndexedObject = require_indexed_object(); + var toObject = require_to_object(); + var lengthOfArrayLike = require_length_of_array_like(); + var MapHelpers = require_map_helpers(); + var Map2 = MapHelpers.Map; + var mapGet = MapHelpers.get; + var mapHas = MapHelpers.has; + var mapSet = MapHelpers.set; + var push = uncurryThis([].push); + module.exports = function groupToMap(callbackfn) { + var O = toObject(this); + var self2 = IndexedObject(O); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : void 0); + var map = new Map2(); + var length = lengthOfArrayLike(self2); + var index = 0; + var key, value; + for (; length > index; index++) { + value = self2[index]; + key = boundFunction(value, index, O); + if (mapHas(map, key)) + push(mapGet(map, key), value); + else + mapSet(map, key, [value]); + } + return map; + }; + } + }); + + // node_modules/core-js/modules/esnext.array.group-to-map.js + var require_esnext_array_group_to_map = __commonJS({ + "node_modules/core-js/modules/esnext.array.group-to-map.js"() { + var $2 = require_export(); + var addToUnscopables = require_add_to_unscopables(); + var $groupToMap = require_array_group_to_map(); + var IS_PURE = require_is_pure(); + $2({ target: "Array", proto: true, forced: IS_PURE }, { + groupToMap: $groupToMap + }); + addToUnscopables("groupToMap"); + } + }); + + // node_modules/core-js/proposals/array-grouping-stage-3-2.js + var require_array_grouping_stage_3_2 = __commonJS({ + "node_modules/core-js/proposals/array-grouping-stage-3-2.js"() { + require_esnext_array_group(); + require_esnext_array_group_to_map(); + } + }); + + // node_modules/core-js/internals/array-buffer-byte-length.js + var require_array_buffer_byte_length = __commonJS({ + "node_modules/core-js/internals/array-buffer-byte-length.js"(exports, module) { + var uncurryThisAccessor = require_function_uncurry_this_accessor(); + var classof = require_classof_raw(); + var $TypeError = TypeError; + module.exports = uncurryThisAccessor(ArrayBuffer.prototype, "byteLength", "get") || function(O) { + if (classof(O) != "ArrayBuffer") + throw $TypeError("ArrayBuffer expected"); + return O.byteLength; + }; + } + }); + + // node_modules/core-js/internals/array-buffer-is-detached.js + var require_array_buffer_is_detached = __commonJS({ + "node_modules/core-js/internals/array-buffer-is-detached.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var arrayBufferByteLength = require_array_buffer_byte_length(); + var slice = uncurryThis(ArrayBuffer.prototype.slice); + module.exports = function(O) { + if (arrayBufferByteLength(O) !== 0) + return false; + try { + slice(O, 0, 0); + return false; + } catch (error) { + return true; + } + }; + } + }); + + // node_modules/core-js/modules/esnext.array-buffer.detached.js + var require_esnext_array_buffer_detached = __commonJS({ + "node_modules/core-js/modules/esnext.array-buffer.detached.js"() { + "use strict"; + var DESCRIPTORS = require_descriptors(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var isDetached = require_array_buffer_is_detached(); + var ArrayBufferPrototype = ArrayBuffer.prototype; + if (DESCRIPTORS && !("detached" in ArrayBufferPrototype)) { + defineBuiltInAccessor(ArrayBufferPrototype, "detached", { + configurable: true, + get: function detached() { + return isDetached(this); + } + }); + } + } + }); + + // node_modules/core-js/internals/array-buffer-transfer.js + var require_array_buffer_transfer = __commonJS({ + "node_modules/core-js/internals/array-buffer-transfer.js"(exports, module) { + var global2 = require_global(); + var uncurryThis = require_function_uncurry_this(); + var uncurryThisAccessor = require_function_uncurry_this_accessor(); + var toIndex = require_to_index(); + var isDetached = require_array_buffer_is_detached(); + var arrayBufferByteLength = require_array_buffer_byte_length(); + var PROPER_TRANSFER = require_structured_clone_proper_transfer(); + var TypeError2 = global2.TypeError; + var structuredClone = global2.structuredClone; + var ArrayBuffer2 = global2.ArrayBuffer; + var DataView2 = global2.DataView; + var min = Math.min; + var ArrayBufferPrototype = ArrayBuffer2.prototype; + var DataViewPrototype = DataView2.prototype; + var slice = uncurryThis(ArrayBufferPrototype.slice); + var isResizable = uncurryThisAccessor(ArrayBufferPrototype, "resizable", "get"); + var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, "maxByteLength", "get"); + var getInt8 = uncurryThis(DataViewPrototype.getInt8); + var setInt8 = uncurryThis(DataViewPrototype.setInt8); + module.exports = PROPER_TRANSFER && function(arrayBuffer, newLength, preserveResizability) { + var byteLength = arrayBufferByteLength(arrayBuffer); + var newByteLength = newLength === void 0 ? byteLength : min(toIndex(newLength), byteLength); + var fixedLength = !isResizable || !isResizable(arrayBuffer); + if (isDetached(arrayBuffer)) + throw TypeError2("ArrayBuffer is detached"); + var newBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] }); + if (byteLength == newByteLength && (preserveResizability || fixedLength)) + return newBuffer; + if (!preserveResizability || fixedLength) + return slice(newBuffer, 0, newByteLength); + var newNewBuffer = new ArrayBuffer2(newByteLength, maxByteLength && { maxByteLength: maxByteLength(newBuffer) }); + var a3 = new DataView2(newBuffer); + var b2 = new DataView2(newNewBuffer); + for (var i4 = 0; i4 < newByteLength; i4++) + setInt8(b2, i4, getInt8(a3, i4)); + return newNewBuffer; + }; + } + }); + + // node_modules/core-js/modules/esnext.array-buffer.transfer.js + var require_esnext_array_buffer_transfer = __commonJS({ + "node_modules/core-js/modules/esnext.array-buffer.transfer.js"() { + "use strict"; + var $2 = require_export(); + var $transfer = require_array_buffer_transfer(); + if ($transfer) + $2({ target: "ArrayBuffer", proto: true }, { + transfer: function transfer() { + return $transfer(this, arguments.length ? arguments[0] : void 0, true); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js + var require_esnext_array_buffer_transfer_to_fixed_length = __commonJS({ + "node_modules/core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js"() { + "use strict"; + var $2 = require_export(); + var $transfer = require_array_buffer_transfer(); + if ($transfer) + $2({ target: "ArrayBuffer", proto: true }, { + transferToFixedLength: function transferToFixedLength() { + return $transfer(this, arguments.length ? arguments[0] : void 0, false); + } + }); + } + }); + + // node_modules/core-js/proposals/array-buffer-transfer.js + var require_array_buffer_transfer2 = __commonJS({ + "node_modules/core-js/proposals/array-buffer-transfer.js"() { + require_esnext_array_buffer_detached(); + require_esnext_array_buffer_transfer(); + require_esnext_array_buffer_transfer_to_fixed_length(); + } + }); + + // node_modules/core-js/modules/esnext.suppressed-error.constructor.js + var require_esnext_suppressed_error_constructor = __commonJS({ + "node_modules/core-js/modules/esnext.suppressed-error.constructor.js"() { + "use strict"; + var $2 = require_export(); + var isPrototypeOf = require_object_is_prototype_of(); + var getPrototypeOf = require_object_get_prototype_of(); + var setPrototypeOf = require_object_set_prototype_of(); + var copyConstructorProperties = require_copy_constructor_properties(); + var create = require_object_create(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var createPropertyDescriptor = require_create_property_descriptor(); + var installErrorStack = require_error_stack_install(); + var normalizeStringArgument = require_normalize_string_argument(); + var wellKnownSymbol = require_well_known_symbol(); + var TO_STRING_TAG = wellKnownSymbol("toStringTag"); + var $Error = Error; + var $SuppressedError = function SuppressedError(error, suppressed, message) { + var isInstance = isPrototypeOf(SuppressedErrorPrototype, this); + var that; + if (setPrototypeOf) { + that = setPrototypeOf($Error(), isInstance ? getPrototypeOf(this) : SuppressedErrorPrototype); + } else { + that = isInstance ? this : create(SuppressedErrorPrototype); + createNonEnumerableProperty(that, TO_STRING_TAG, "Error"); + } + if (message !== void 0) + createNonEnumerableProperty(that, "message", normalizeStringArgument(message)); + installErrorStack(that, $SuppressedError, that.stack, 1); + createNonEnumerableProperty(that, "error", error); + createNonEnumerableProperty(that, "suppressed", suppressed); + return that; + }; + if (setPrototypeOf) + setPrototypeOf($SuppressedError, $Error); + else + copyConstructorProperties($SuppressedError, $Error, { name: true }); + var SuppressedErrorPrototype = $SuppressedError.prototype = create($Error.prototype, { + constructor: createPropertyDescriptor(1, $SuppressedError), + message: createPropertyDescriptor(1, ""), + name: createPropertyDescriptor(1, "SuppressedError") + }); + $2({ global: true, constructor: true, arity: 3 }, { + SuppressedError: $SuppressedError + }); + } + }); + + // node_modules/core-js/internals/add-disposable-resource.js + var require_add_disposable_resource = __commonJS({ + "node_modules/core-js/internals/add-disposable-resource.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var bind = require_function_bind_context(); + var anObject = require_an_object(); + var isNullOrUndefined = require_is_null_or_undefined(); + var getMethod = require_get_method(); + var wellKnownSymbol = require_well_known_symbol(); + var ASYNC_DISPOSE = wellKnownSymbol("asyncDispose"); + var DISPOSE = wellKnownSymbol("dispose"); + var push = uncurryThis([].push); + var getDisposeMethod = function(V2, hint) { + if (hint == "async-dispose") { + return getMethod(V2, ASYNC_DISPOSE) || getMethod(V2, DISPOSE); + } + return getMethod(V2, DISPOSE); + }; + var createDisposableResource = function(V2, hint, method) { + return bind(method || getDisposeMethod(V2, hint), V2); + }; + module.exports = function(disposable, V2, hint, method) { + var resource; + if (!method) { + if (isNullOrUndefined(V2)) + return; + resource = createDisposableResource(anObject(V2), hint); + } else { + resource = createDisposableResource(void 0, hint, method); + } + push(disposable.stack, resource); + }; + } + }); + + // node_modules/core-js/modules/esnext.disposable-stack.constructor.js + var require_esnext_disposable_stack_constructor = __commonJS({ + "node_modules/core-js/modules/esnext.disposable-stack.constructor.js"() { + "use strict"; + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var getBuiltIn = require_get_built_in(); + var aCallable = require_a_callable(); + var anInstance = require_an_instance(); + var defineBuiltIn = require_define_built_in(); + var defineBuiltIns = require_define_built_ins(); + var defineBuiltInAccessor = require_define_built_in_accessor(); + var wellKnownSymbol = require_well_known_symbol(); + var InternalStateModule = require_internal_state(); + var addDisposableResource = require_add_disposable_resource(); + var SuppressedError = getBuiltIn("SuppressedError"); + var $ReferenceError = ReferenceError; + var DISPOSE = wellKnownSymbol("dispose"); + var TO_STRING_TAG = wellKnownSymbol("toStringTag"); + var DISPOSABLE_STACK = "DisposableStack"; + var setInternalState = InternalStateModule.set; + var getDisposableStackInternalState = InternalStateModule.getterFor(DISPOSABLE_STACK); + var HINT = "sync-dispose"; + var DISPOSED = "disposed"; + var PENDING = "pending"; + var getPendingDisposableStackInternalState = function(stack) { + var internalState = getDisposableStackInternalState(stack); + if (internalState.state == DISPOSED) + throw $ReferenceError(DISPOSABLE_STACK + " already disposed"); + return internalState; + }; + var $DisposableStack = function DisposableStack() { + setInternalState(anInstance(this, DisposableStackPrototype), { + type: DISPOSABLE_STACK, + state: PENDING, + stack: [] + }); + if (!DESCRIPTORS) + this.disposed = false; + }; + var DisposableStackPrototype = $DisposableStack.prototype; + defineBuiltIns(DisposableStackPrototype, { + dispose: function dispose() { + var internalState = getDisposableStackInternalState(this); + if (internalState.state == DISPOSED) + return; + internalState.state = DISPOSED; + if (!DESCRIPTORS) + this.disposed = true; + var stack = internalState.stack; + var i4 = stack.length; + var thrown = false; + var suppressed; + while (i4) { + var disposeMethod = stack[--i4]; + stack[i4] = null; + try { + disposeMethod(); + } catch (errorResult) { + if (thrown) { + suppressed = new SuppressedError(errorResult, suppressed); + } else { + thrown = true; + suppressed = errorResult; + } + } + } + internalState.stack = null; + if (thrown) + throw suppressed; + }, + use: function use(value) { + addDisposableResource(getPendingDisposableStackInternalState(this), value, HINT); + return value; + }, + adopt: function adopt(value, onDispose) { + var internalState = getPendingDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, void 0, HINT, function() { + onDispose(value); + }); + return value; + }, + defer: function defer(onDispose) { + var internalState = getPendingDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, void 0, HINT, onDispose); + }, + move: function move() { + var internalState = getPendingDisposableStackInternalState(this); + var newDisposableStack = new $DisposableStack(); + getDisposableStackInternalState(newDisposableStack).stack = internalState.stack; + internalState.stack = []; + internalState.state = DISPOSED; + if (!DESCRIPTORS) + this.disposed = true; + return newDisposableStack; + } + }); + if (DESCRIPTORS) + defineBuiltInAccessor(DisposableStackPrototype, "disposed", { + configurable: true, + get: function disposed() { + return getDisposableStackInternalState(this).state == DISPOSED; + } + }); + defineBuiltIn(DisposableStackPrototype, DISPOSE, DisposableStackPrototype.dispose, { name: "dispose" }); + defineBuiltIn(DisposableStackPrototype, TO_STRING_TAG, DISPOSABLE_STACK, { nonWritable: true }); + $2({ global: true, constructor: true }, { + DisposableStack: $DisposableStack + }); + } + }); + + // node_modules/core-js/modules/esnext.iterator.dispose.js + var require_esnext_iterator_dispose = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.dispose.js"() { + "use strict"; + var call = require_function_call(); + var defineBuiltIn = require_define_built_in(); + var getMethod = require_get_method(); + var hasOwn = require_has_own_property(); + var wellKnownSymbol = require_well_known_symbol(); + var IteratorPrototype = require_iterators_core().IteratorPrototype; + var DISPOSE = wellKnownSymbol("dispose"); + if (!hasOwn(IteratorPrototype, DISPOSE)) { + defineBuiltIn(IteratorPrototype, DISPOSE, function() { + var $return = getMethod(this, "return"); + if ($return) + call($return, this); + }); + } + } + }); + + // node_modules/core-js/modules/esnext.symbol.dispose.js + var require_esnext_symbol_dispose = __commonJS({ + "node_modules/core-js/modules/esnext.symbol.dispose.js"() { + var defineWellKnownSymbol = require_well_known_symbol_define(); + defineWellKnownSymbol("dispose"); + } + }); + + // node_modules/core-js/proposals/explicit-resource-management.js + var require_explicit_resource_management = __commonJS({ + "node_modules/core-js/proposals/explicit-resource-management.js"() { + require_esnext_suppressed_error_constructor(); + require_esnext_disposable_stack_constructor(); + require_esnext_iterator_dispose(); + require_esnext_symbol_dispose(); + } + }); + + // node_modules/core-js/modules/esnext.iterator.constructor.js + var require_esnext_iterator_constructor = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.constructor.js"() { + "use strict"; + var $2 = require_export(); + var global2 = require_global(); + var anInstance = require_an_instance(); + var isCallable = require_is_callable(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var fails = require_fails(); + var hasOwn = require_has_own_property(); + var wellKnownSymbol = require_well_known_symbol(); + var IteratorPrototype = require_iterators_core().IteratorPrototype; + var IS_PURE = require_is_pure(); + var TO_STRING_TAG = wellKnownSymbol("toStringTag"); + var NativeIterator = global2.Iterator; + var FORCED = IS_PURE || !isCallable(NativeIterator) || NativeIterator.prototype !== IteratorPrototype || !fails(function() { + NativeIterator({}); + }); + var IteratorConstructor = function Iterator() { + anInstance(this, IteratorPrototype); + }; + if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) { + createNonEnumerableProperty(IteratorPrototype, TO_STRING_TAG, "Iterator"); + } + if (FORCED || !hasOwn(IteratorPrototype, "constructor") || IteratorPrototype.constructor === Object) { + createNonEnumerableProperty(IteratorPrototype, "constructor", IteratorConstructor); + } + IteratorConstructor.prototype = IteratorPrototype; + $2({ global: true, constructor: true, forced: FORCED }, { + Iterator: IteratorConstructor + }); + } + }); + + // node_modules/core-js/internals/not-a-nan.js + var require_not_a_nan = __commonJS({ + "node_modules/core-js/internals/not-a-nan.js"(exports, module) { + var $RangeError = RangeError; + module.exports = function(it) { + if (it === it) + return it; + throw $RangeError("NaN is not allowed"); + }; + } + }); + + // node_modules/core-js/internals/iterator-create-proxy.js + var require_iterator_create_proxy = __commonJS({ + "node_modules/core-js/internals/iterator-create-proxy.js"(exports, module) { + "use strict"; + var call = require_function_call(); + var create = require_object_create(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var defineBuiltIns = require_define_built_ins(); + var wellKnownSymbol = require_well_known_symbol(); + var InternalStateModule = require_internal_state(); + var getMethod = require_get_method(); + var IteratorPrototype = require_iterators_core().IteratorPrototype; + var createIterResultObject = require_create_iter_result_object(); + var iteratorClose = require_iterator_close(); + var TO_STRING_TAG = wellKnownSymbol("toStringTag"); + var ITERATOR_HELPER = "IteratorHelper"; + var WRAP_FOR_VALID_ITERATOR = "WrapForValidIterator"; + var setInternalState = InternalStateModule.set; + var createIteratorProxyPrototype = function(IS_ITERATOR) { + var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); + return defineBuiltIns(create(IteratorPrototype), { + next: function next() { + var state2 = getInternalState(this); + if (IS_ITERATOR) + return state2.nextHandler(); + try { + var result = state2.done ? void 0 : state2.nextHandler(); + return createIterResultObject(result, state2.done); + } catch (error) { + state2.done = true; + throw error; + } + }, + "return": function() { + var state2 = getInternalState(this); + var iterator = state2.iterator; + state2.done = true; + if (IS_ITERATOR) { + var returnMethod = getMethod(iterator, "return"); + return returnMethod ? call(returnMethod, iterator) : createIterResultObject(void 0, true); + } + if (state2.inner) + try { + iteratorClose(state2.inner.iterator, "normal"); + } catch (error) { + return iteratorClose(iterator, "throw", error); + } + iteratorClose(iterator, "normal"); + return createIterResultObject(void 0, true); + } + }); + }; + var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); + var IteratorHelperPrototype = createIteratorProxyPrototype(false); + createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, "Iterator Helper"); + module.exports = function(nextHandler, IS_ITERATOR) { + var IteratorProxy = function Iterator(record, state2) { + if (state2) { + state2.iterator = record.iterator; + state2.next = record.next; + } else + state2 = record; + state2.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; + state2.nextHandler = nextHandler; + state2.counter = 0; + state2.done = false; + setInternalState(this, state2); + }; + IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; + return IteratorProxy; + }; + } + }); + + // node_modules/core-js/modules/esnext.iterator.drop.js + var require_esnext_iterator_drop = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.drop.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + var notANaN = require_not_a_nan(); + var toPositiveInteger = require_to_positive_integer(); + var createIteratorProxy = require_iterator_create_proxy(); + var IteratorProxy = createIteratorProxy(function() { + var iterator = this.iterator; + var next = this.next; + var result, done; + while (this.remaining) { + this.remaining--; + result = anObject(call(next, iterator)); + done = this.done = !!result.done; + if (done) + return; + } + result = anObject(call(next, iterator)); + done = this.done = !!result.done; + if (!done) + return result.value; + }); + $2({ target: "Iterator", proto: true, real: true }, { + drop: function drop(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new IteratorProxy(getIteratorDirect(this), { + remaining + }); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.iterator.every.js + var require_esnext_iterator_every = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.every.js"() { + "use strict"; + var $2 = require_export(); + var iterate = require_iterate(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + $2({ target: "Iterator", proto: true, real: true }, { + every: function every(predicate) { + anObject(this); + aCallable(predicate); + var record = getIteratorDirect(this); + var counter = 0; + return !iterate(record, function(value, stop) { + if (!predicate(value, counter++)) + return stop(); + }, { IS_RECORD: true, INTERRUPTED: true }).stopped; + } + }); + } + }); + + // node_modules/core-js/modules/esnext.iterator.filter.js + var require_esnext_iterator_filter = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.filter.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + var createIteratorProxy = require_iterator_create_proxy(); + var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); + var IteratorProxy = createIteratorProxy(function() { + var iterator = this.iterator; + var predicate = this.predicate; + var next = this.next; + var result, done, value; + while (true) { + result = anObject(call(next, iterator)); + done = this.done = !!result.done; + if (done) + return; + value = result.value; + if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) + return value; + } + }); + $2({ target: "Iterator", proto: true, real: true }, { + filter: function filter(predicate) { + anObject(this); + aCallable(predicate); + return new IteratorProxy(getIteratorDirect(this), { + predicate + }); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.iterator.find.js + var require_esnext_iterator_find = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.find.js"() { + "use strict"; + var $2 = require_export(); + var iterate = require_iterate(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + $2({ target: "Iterator", proto: true, real: true }, { + find: function find(predicate) { + anObject(this); + aCallable(predicate); + var record = getIteratorDirect(this); + var counter = 0; + return iterate(record, function(value, stop) { + if (predicate(value, counter++)) + return stop(value); + }, { IS_RECORD: true, INTERRUPTED: true }).result; + } + }); + } + }); + + // node_modules/core-js/internals/get-iterator-flattenable.js + var require_get_iterator_flattenable = __commonJS({ + "node_modules/core-js/internals/get-iterator-flattenable.js"(exports, module) { + var call = require_function_call(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + var getIteratorMethod = require_get_iterator_method(); + module.exports = function(obj) { + var object = anObject(obj); + var method = getIteratorMethod(object); + return getIteratorDirect(anObject(method !== void 0 ? call(method, object) : object)); + }; + } + }); + + // node_modules/core-js/modules/esnext.iterator.flat-map.js + var require_esnext_iterator_flat_map = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.flat-map.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + var getIteratorFlattenable = require_get_iterator_flattenable(); + var createIteratorProxy = require_iterator_create_proxy(); + var iteratorClose = require_iterator_close(); + var IteratorProxy = createIteratorProxy(function() { + var iterator = this.iterator; + var mapper = this.mapper; + var result, inner; + while (true) { + if (inner = this.inner) + try { + result = anObject(call(inner.next, inner.iterator)); + if (!result.done) + return result.value; + this.inner = null; + } catch (error) { + iteratorClose(iterator, "throw", error); + } + result = anObject(call(this.next, iterator)); + if (this.done = !!result.done) + return; + try { + this.inner = getIteratorFlattenable(mapper(result.value, this.counter++)); + } catch (error) { + iteratorClose(iterator, "throw", error); + } + } + }); + $2({ target: "Iterator", proto: true, real: true }, { + flatMap: function flatMap(mapper) { + anObject(this); + aCallable(mapper); + return new IteratorProxy(getIteratorDirect(this), { + mapper, + inner: null + }); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.iterator.for-each.js + var require_esnext_iterator_for_each = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.for-each.js"() { + "use strict"; + var $2 = require_export(); + var iterate = require_iterate(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + $2({ target: "Iterator", proto: true, real: true }, { + forEach: function forEach(fn) { + anObject(this); + aCallable(fn); + var record = getIteratorDirect(this); + var counter = 0; + iterate(record, function(value) { + fn(value, counter++); + }, { IS_RECORD: true }); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.iterator.from.js + var require_esnext_iterator_from = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.from.js"() { + var $2 = require_export(); + var call = require_function_call(); + var toObject = require_to_object(); + var isPrototypeOf = require_object_is_prototype_of(); + var IteratorPrototype = require_iterators_core().IteratorPrototype; + var createIteratorProxy = require_iterator_create_proxy(); + var getIteratorFlattenable = require_get_iterator_flattenable(); + var IteratorProxy = createIteratorProxy(function() { + return call(this.next, this.iterator); + }, true); + $2({ target: "Iterator", stat: true }, { + from: function from(O) { + var iteratorRecord = getIteratorFlattenable(typeof O == "string" ? toObject(O) : O); + return isPrototypeOf(IteratorPrototype, iteratorRecord.iterator) ? iteratorRecord.iterator : new IteratorProxy(iteratorRecord); + } + }); + } + }); + + // node_modules/core-js/internals/iterator-map.js + var require_iterator_map = __commonJS({ + "node_modules/core-js/internals/iterator-map.js"(exports, module) { + "use strict"; + var call = require_function_call(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + var createIteratorProxy = require_iterator_create_proxy(); + var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); + var IteratorProxy = createIteratorProxy(function() { + var iterator = this.iterator; + var result = anObject(call(this.next, iterator)); + var done = this.done = !!result.done; + if (!done) + return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); + }); + module.exports = function map(mapper) { + anObject(this); + aCallable(mapper); + return new IteratorProxy(getIteratorDirect(this), { + mapper + }); + }; + } + }); + + // node_modules/core-js/modules/esnext.iterator.map.js + var require_esnext_iterator_map = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.map.js"() { + var $2 = require_export(); + var map = require_iterator_map(); + $2({ target: "Iterator", proto: true, real: true }, { + map + }); + } + }); + + // node_modules/core-js/modules/esnext.iterator.reduce.js + var require_esnext_iterator_reduce = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.reduce.js"() { + "use strict"; + var $2 = require_export(); + var iterate = require_iterate(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + var $TypeError = TypeError; + $2({ target: "Iterator", proto: true, real: true }, { + reduce: function reduce(reducer) { + anObject(this); + aCallable(reducer); + var record = getIteratorDirect(this); + var noInitial = arguments.length < 2; + var accumulator = noInitial ? void 0 : arguments[1]; + var counter = 0; + iterate(record, function(value) { + if (noInitial) { + noInitial = false; + accumulator = value; + } else { + accumulator = reducer(accumulator, value, counter); + } + counter++; + }, { IS_RECORD: true }); + if (noInitial) + throw $TypeError("Reduce of empty iterator with no initial value"); + return accumulator; + } + }); + } + }); + + // node_modules/core-js/modules/esnext.iterator.some.js + var require_esnext_iterator_some = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.some.js"() { + "use strict"; + var $2 = require_export(); + var iterate = require_iterate(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + $2({ target: "Iterator", proto: true, real: true }, { + some: function some(predicate) { + anObject(this); + aCallable(predicate); + var record = getIteratorDirect(this); + var counter = 0; + return iterate(record, function(value, stop) { + if (predicate(value, counter++)) + return stop(); + }, { IS_RECORD: true, INTERRUPTED: true }).stopped; + } + }); + } + }); + + // node_modules/core-js/modules/esnext.iterator.take.js + var require_esnext_iterator_take = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.take.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + var notANaN = require_not_a_nan(); + var toPositiveInteger = require_to_positive_integer(); + var createIteratorProxy = require_iterator_create_proxy(); + var iteratorClose = require_iterator_close(); + var IteratorProxy = createIteratorProxy(function() { + var iterator = this.iterator; + if (!this.remaining--) { + this.done = true; + return iteratorClose(iterator, "normal", void 0); + } + var result = anObject(call(this.next, iterator)); + var done = this.done = !!result.done; + if (!done) + return result.value; + }); + $2({ target: "Iterator", proto: true, real: true }, { + take: function take(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new IteratorProxy(getIteratorDirect(this), { + remaining + }); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.iterator.to-array.js + var require_esnext_iterator_to_array = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.to-array.js"() { + "use strict"; + var $2 = require_export(); + var anObject = require_an_object(); + var iterate = require_iterate(); + var getIteratorDirect = require_get_iterator_direct(); + var push = [].push; + $2({ target: "Iterator", proto: true, real: true }, { + toArray: function toArray() { + var result = []; + iterate(getIteratorDirect(anObject(this)), push, { that: result, IS_RECORD: true }); + return result; + } + }); + } + }); + + // node_modules/core-js/proposals/iterator-helpers-stage-3-2.js + var require_iterator_helpers_stage_3_2 = __commonJS({ + "node_modules/core-js/proposals/iterator-helpers-stage-3-2.js"() { + require_esnext_iterator_constructor(); + require_esnext_iterator_drop(); + require_esnext_iterator_every(); + require_esnext_iterator_filter(); + require_esnext_iterator_find(); + require_esnext_iterator_flat_map(); + require_esnext_iterator_for_each(); + require_esnext_iterator_from(); + require_esnext_iterator_map(); + require_esnext_iterator_reduce(); + require_esnext_iterator_some(); + require_esnext_iterator_take(); + require_esnext_iterator_to_array(); + } + }); + + // node_modules/core-js/internals/native-raw-json.js + var require_native_raw_json = __commonJS({ + "node_modules/core-js/internals/native-raw-json.js"(exports, module) { + var fails = require_fails(); + module.exports = !fails(function() { + var unsafeInt = "9007199254740993"; + var raw = JSON.rawJSON(unsafeInt); + return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt; + }); + } + }); + + // node_modules/core-js/internals/is-raw-json.js + var require_is_raw_json = __commonJS({ + "node_modules/core-js/internals/is-raw-json.js"(exports, module) { + var isObject = require_is_object(); + var getInternalState = require_internal_state().get; + module.exports = function isRawJSON(O) { + if (!isObject(O)) + return false; + var state2 = getInternalState(O); + return !!state2 && state2.type === "RawJSON"; + }; + } + }); + + // node_modules/core-js/modules/esnext.json.is-raw-json.js + var require_esnext_json_is_raw_json = __commonJS({ + "node_modules/core-js/modules/esnext.json.is-raw-json.js"() { + var $2 = require_export(); + var NATIVE_RAW_JSON = require_native_raw_json(); + var isRawJSON = require_is_raw_json(); + $2({ target: "JSON", stat: true, forced: !NATIVE_RAW_JSON }, { + isRawJSON + }); + } + }); + + // node_modules/core-js/internals/parse-json-string.js + var require_parse_json_string = __commonJS({ + "node_modules/core-js/internals/parse-json-string.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var hasOwn = require_has_own_property(); + var $SyntaxError = SyntaxError; + var $parseInt = parseInt; + var fromCharCode = String.fromCharCode; + var at = uncurryThis("".charAt); + var slice = uncurryThis("".slice); + var exec = uncurryThis(/./.exec); + var codePoints = { + '\\"': '"', + "\\\\": "\\", + "\\/": "/", + "\\b": "\b", + "\\f": "\f", + "\\n": "\n", + "\\r": "\r", + "\\t": " " + }; + var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i; + var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/; + module.exports = function(source, i4) { + var unterminated = true; + var value = ""; + while (i4 < source.length) { + var chr = at(source, i4); + if (chr == "\\") { + var twoChars = slice(source, i4, i4 + 2); + if (hasOwn(codePoints, twoChars)) { + value += codePoints[twoChars]; + i4 += 2; + } else if (twoChars == "\\u") { + i4 += 2; + var fourHexDigits = slice(source, i4, i4 + 4); + if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) + throw $SyntaxError("Bad Unicode escape at: " + i4); + value += fromCharCode($parseInt(fourHexDigits, 16)); + i4 += 4; + } else + throw $SyntaxError('Unknown escape sequence: "' + twoChars + '"'); + } else if (chr == '"') { + unterminated = false; + i4++; + break; + } else { + if (exec(IS_C0_CONTROL_CODE, chr)) + throw $SyntaxError("Bad control character in string literal at: " + i4); + value += chr; + i4++; + } + } + if (unterminated) + throw $SyntaxError("Unterminated string at: " + i4); + return { value, end: i4 }; + }; + } + }); + + // node_modules/core-js/modules/esnext.json.parse.js + var require_esnext_json_parse = __commonJS({ + "node_modules/core-js/modules/esnext.json.parse.js"() { + "use strict"; + var $2 = require_export(); + var DESCRIPTORS = require_descriptors(); + var global2 = require_global(); + var getBuiltIn = require_get_built_in(); + var uncurryThis = require_function_uncurry_this(); + var call = require_function_call(); + var isCallable = require_is_callable(); + var isObject = require_is_object(); + var isArray = require_is_array(); + var hasOwn = require_has_own_property(); + var toString = require_to_string(); + var lengthOfArrayLike = require_length_of_array_like(); + var createProperty = require_create_property(); + var fails = require_fails(); + var parseJSONString = require_parse_json_string(); + var NATIVE_SYMBOL = require_symbol_constructor_detection(); + var JSON2 = global2.JSON; + var Number2 = global2.Number; + var SyntaxError2 = global2.SyntaxError; + var nativeParse = JSON2 && JSON2.parse; + var enumerableOwnProperties = getBuiltIn("Object", "keys"); + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var at = uncurryThis("".charAt); + var slice = uncurryThis("".slice); + var exec = uncurryThis(/./.exec); + var push = uncurryThis([].push); + var IS_DIGIT = /^\d$/; + var IS_NON_ZERO_DIGIT = /^[1-9]$/; + var IS_NUMBER_START = /^(-|\d)$/; + var IS_WHITESPACE = /^[\t\n\r ]$/; + var PRIMITIVE = 0; + var OBJECT = 1; + var $parse = function(source, reviver) { + source = toString(source); + var context = new Context(source, 0, ""); + var root = context.parse(); + var value = root.value; + var endIndex = context.skip(IS_WHITESPACE, root.end); + if (endIndex < source.length) { + throw SyntaxError2('Unexpected extra character: "' + at(source, endIndex) + '" after the parsed data at: ' + endIndex); + } + return isCallable(reviver) ? internalize({ "": value }, "", reviver, root) : value; + }; + var internalize = function(holder, name, reviver, node) { + var val = holder[name]; + var unmodified = node && val === node.value; + var context = unmodified && typeof node.source == "string" ? { source: node.source } : {}; + var elementRecordsLen, keys, len, i4, P2; + if (isObject(val)) { + var nodeIsArray = isArray(val); + var nodes = unmodified ? node.nodes : nodeIsArray ? [] : {}; + if (nodeIsArray) { + elementRecordsLen = nodes.length; + len = lengthOfArrayLike(val); + for (i4 = 0; i4 < len; i4++) { + internalizeProperty(val, i4, internalize(val, "" + i4, reviver, i4 < elementRecordsLen ? nodes[i4] : void 0)); + } + } else { + keys = enumerableOwnProperties(val); + len = lengthOfArrayLike(keys); + for (i4 = 0; i4 < len; i4++) { + P2 = keys[i4]; + internalizeProperty(val, P2, internalize(val, P2, reviver, hasOwn(nodes, P2) ? nodes[P2] : void 0)); + } + } + } + return call(reviver, holder, name, val, context); + }; + var internalizeProperty = function(object, key, value) { + if (DESCRIPTORS) { + var descriptor = getOwnPropertyDescriptor(object, key); + if (descriptor && !descriptor.configurable) + return; + } + if (value === void 0) + delete object[key]; + else + createProperty(object, key, value); + }; + var Node2 = function(value, end, source, nodes) { + this.value = value; + this.end = end; + this.source = source; + this.nodes = nodes; + }; + var Context = function(source, index) { + this.source = source; + this.index = index; + }; + Context.prototype = { + fork: function(nextIndex) { + return new Context(this.source, nextIndex); + }, + parse: function() { + var source = this.source; + var i4 = this.skip(IS_WHITESPACE, this.index); + var fork = this.fork(i4); + var chr = at(source, i4); + if (exec(IS_NUMBER_START, chr)) + return fork.number(); + switch (chr) { + case "{": + return fork.object(); + case "[": + return fork.array(); + case '"': + return fork.string(); + case "t": + return fork.keyword(true); + case "f": + return fork.keyword(false); + case "n": + return fork.keyword(null); + } + throw SyntaxError2('Unexpected character: "' + chr + '" at: ' + i4); + }, + node: function(type, value, start, end, nodes) { + return new Node2(value, end, type ? null : slice(this.source, start, end), nodes); + }, + object: function() { + var source = this.source; + var i4 = this.index + 1; + var expectKeypair = false; + var object = {}; + var nodes = {}; + while (i4 < source.length) { + i4 = this.until(['"', "}"], i4); + if (at(source, i4) == "}" && !expectKeypair) { + i4++; + break; + } + var result = this.fork(i4).string(); + var key = result.value; + i4 = result.end; + i4 = this.until([":"], i4) + 1; + i4 = this.skip(IS_WHITESPACE, i4); + result = this.fork(i4).parse(); + createProperty(nodes, key, result); + createProperty(object, key, result.value); + i4 = this.until([",", "}"], result.end); + var chr = at(source, i4); + if (chr == ",") { + expectKeypair = true; + i4++; + } else if (chr == "}") { + i4++; + break; + } + } + return this.node(OBJECT, object, this.index, i4, nodes); + }, + array: function() { + var source = this.source; + var i4 = this.index + 1; + var expectElement = false; + var array = []; + var nodes = []; + while (i4 < source.length) { + i4 = this.skip(IS_WHITESPACE, i4); + if (at(source, i4) == "]" && !expectElement) { + i4++; + break; + } + var result = this.fork(i4).parse(); + push(nodes, result); + push(array, result.value); + i4 = this.until([",", "]"], result.end); + if (at(source, i4) == ",") { + expectElement = true; + i4++; + } else if (at(source, i4) == "]") { + i4++; + break; + } + } + return this.node(OBJECT, array, this.index, i4, nodes); + }, + string: function() { + var index = this.index; + var parsed = parseJSONString(this.source, this.index + 1); + return this.node(PRIMITIVE, parsed.value, index, parsed.end); + }, + number: function() { + var source = this.source; + var startIndex = this.index; + var i4 = startIndex; + if (at(source, i4) == "-") + i4++; + if (at(source, i4) == "0") + i4++; + else if (exec(IS_NON_ZERO_DIGIT, at(source, i4))) + i4 = this.skip(IS_DIGIT, ++i4); + else + throw SyntaxError2("Failed to parse number at: " + i4); + if (at(source, i4) == ".") + i4 = this.skip(IS_DIGIT, ++i4); + if (at(source, i4) == "e" || at(source, i4) == "E") { + i4++; + if (at(source, i4) == "+" || at(source, i4) == "-") + i4++; + var exponentStartIndex = i4; + i4 = this.skip(IS_DIGIT, i4); + if (exponentStartIndex == i4) + throw SyntaxError2("Failed to parse number's exponent value at: " + i4); + } + return this.node(PRIMITIVE, Number2(slice(source, startIndex, i4)), startIndex, i4); + }, + keyword: function(value) { + var keyword = "" + value; + var index = this.index; + var endIndex = index + keyword.length; + if (slice(this.source, index, endIndex) != keyword) + throw SyntaxError2("Failed to parse value at: " + index); + return this.node(PRIMITIVE, value, index, endIndex); + }, + skip: function(regex, i4) { + var source = this.source; + for (; i4 < source.length; i4++) + if (!exec(regex, at(source, i4))) + break; + return i4; + }, + until: function(array, i4) { + i4 = this.skip(IS_WHITESPACE, i4); + var chr = at(this.source, i4); + for (var j2 = 0; j2 < array.length; j2++) + if (array[j2] == chr) + return i4; + throw SyntaxError2('Unexpected character: "' + chr + '" at: ' + i4); + } + }; + var NO_SOURCE_SUPPORT = fails(function() { + var unsafeInt = "9007199254740993"; + var source; + nativeParse(unsafeInt, function(key, value, context) { + source = context.source; + }); + return source !== unsafeInt; + }); + var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails(function() { + return 1 / nativeParse("-0 ") !== -Infinity; + }); + $2({ target: "JSON", stat: true, forced: NO_SOURCE_SUPPORT }, { + parse: function parse(text, reviver) { + return PROPER_BASE_PARSE && !isCallable(reviver) ? nativeParse(text) : $parse(text, reviver); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.json.raw-json.js + var require_esnext_json_raw_json = __commonJS({ + "node_modules/core-js/modules/esnext.json.raw-json.js"() { + "use strict"; + var $2 = require_export(); + var FREEZING = require_freezing(); + var NATIVE_RAW_JSON = require_native_raw_json(); + var getBuiltIn = require_get_built_in(); + var call = require_function_call(); + var uncurryThis = require_function_uncurry_this(); + var isCallable = require_is_callable(); + var isRawJSON = require_is_raw_json(); + var toString = require_to_string(); + var createProperty = require_create_property(); + var parseJSONString = require_parse_json_string(); + var getReplacerFunction = require_get_json_replacer_function(); + var uid = require_uid(); + var setInternalState = require_internal_state().set; + var $String = String; + var $SyntaxError = SyntaxError; + var parse = getBuiltIn("JSON", "parse"); + var $stringify = getBuiltIn("JSON", "stringify"); + var create = getBuiltIn("Object", "create"); + var freeze = getBuiltIn("Object", "freeze"); + var at = uncurryThis("".charAt); + var slice = uncurryThis("".slice); + var exec = uncurryThis(/./.exec); + var push = uncurryThis([].push); + var MARK = uid(); + var MARK_LENGTH = MARK.length; + var ERROR_MESSAGE = "Unacceptable as raw JSON"; + var IS_WHITESPACE = /^[\t\n\r ]$/; + $2({ target: "JSON", stat: true, forced: !NATIVE_RAW_JSON }, { + rawJSON: function rawJSON(text) { + var jsonString = toString(text); + if (jsonString == "" || exec(IS_WHITESPACE, at(jsonString, 0)) || exec(IS_WHITESPACE, at(jsonString, jsonString.length - 1))) { + throw $SyntaxError(ERROR_MESSAGE); + } + var parsed = parse(jsonString); + if (typeof parsed == "object" && parsed !== null) + throw $SyntaxError(ERROR_MESSAGE); + var obj = create(null); + setInternalState(obj, { type: "RawJSON" }); + createProperty(obj, "rawJSON", jsonString); + return FREEZING ? freeze(obj) : obj; + } + }); + if ($stringify) + $2({ target: "JSON", stat: true, arity: 3, forced: !NATIVE_RAW_JSON }, { + stringify: function stringify(text, replacer, space) { + var replacerFunction = getReplacerFunction(replacer); + var rawStrings = []; + var json = $stringify(text, function(key, value) { + var v2 = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key), value) : value; + return isRawJSON(v2) ? MARK + (push(rawStrings, v2.rawJSON) - 1) : v2; + }, space); + if (typeof json != "string") + return json; + var result = ""; + var length = json.length; + for (var i4 = 0; i4 < length; i4++) { + var chr = at(json, i4); + if (chr == '"') { + var end = parseJSONString(json, ++i4).end - 1; + var string = slice(json, i4, end); + result += slice(string, 0, MARK_LENGTH) == MARK ? rawStrings[slice(string, MARK_LENGTH)] : '"' + string + '"'; + i4 = end; + } else + result += chr; + } + return result; + } + }); + } + }); + + // node_modules/core-js/proposals/json-parse-with-source.js + var require_json_parse_with_source = __commonJS({ + "node_modules/core-js/proposals/json-parse-with-source.js"() { + require_esnext_json_is_raw_json(); + require_esnext_json_parse(); + require_esnext_json_raw_json(); + } + }); + + // node_modules/core-js/internals/a-set.js + var require_a_set = __commonJS({ + "node_modules/core-js/internals/a-set.js"(exports, module) { + var has = require_set_helpers().has; + module.exports = function(it) { + has(it); + return it; + }; + } + }); + + // node_modules/core-js/internals/iterate-simple.js + var require_iterate_simple = __commonJS({ + "node_modules/core-js/internals/iterate-simple.js"(exports, module) { + var call = require_function_call(); + module.exports = function(iterator, fn, $next) { + var next = $next || iterator.next; + var step, result; + while (!(step = call(next, iterator)).done) { + result = fn(step.value); + if (result !== void 0) + return result; + } + }; + } + }); + + // node_modules/core-js/internals/set-iterate.js + var require_set_iterate = __commonJS({ + "node_modules/core-js/internals/set-iterate.js"(exports, module) { + var uncurryThis = require_function_uncurry_this(); + var iterateSimple = require_iterate_simple(); + var SetHelpers = require_set_helpers(); + var Set2 = SetHelpers.Set; + var SetPrototype = SetHelpers.proto; + var forEach = uncurryThis(SetPrototype.forEach); + var keys = uncurryThis(SetPrototype.keys); + var next = keys(new Set2()).next; + module.exports = function(set, fn, interruptible) { + return interruptible ? iterateSimple(keys(set), fn, next) : forEach(set, fn); + }; + } + }); + + // node_modules/core-js/internals/set-clone.js + var require_set_clone = __commonJS({ + "node_modules/core-js/internals/set-clone.js"(exports, module) { + var SetHelpers = require_set_helpers(); + var iterate = require_set_iterate(); + var Set2 = SetHelpers.Set; + var add = SetHelpers.add; + module.exports = function(set) { + var result = new Set2(); + iterate(set, function(it) { + add(result, it); + }); + return result; + }; + } + }); + + // node_modules/core-js/internals/set-size.js + var require_set_size = __commonJS({ + "node_modules/core-js/internals/set-size.js"(exports, module) { + var uncurryThisAccessor = require_function_uncurry_this_accessor(); + var SetHelpers = require_set_helpers(); + module.exports = uncurryThisAccessor(SetHelpers.proto, "size", "get") || function(set) { + return set.size; + }; + } + }); + + // node_modules/core-js/internals/get-set-record.js + var require_get_set_record = __commonJS({ + "node_modules/core-js/internals/get-set-record.js"(exports, module) { + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var call = require_function_call(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var $TypeError = TypeError; + var max = Math.max; + var SetRecord = function(set, size, has, keys) { + this.set = set; + this.size = size; + this.has = has; + this.keys = keys; + }; + SetRecord.prototype = { + getIterator: function() { + return anObject(call(this.keys, this.set)); + }, + includes: function(it) { + return call(this.has, this.set, it); + } + }; + module.exports = function(obj) { + anObject(obj); + var numSize = +obj.size; + if (numSize != numSize) + throw $TypeError("Invalid size"); + return new SetRecord( + obj, + max(toIntegerOrInfinity(numSize), 0), + aCallable(obj.has), + aCallable(obj.keys) + ); + }; + } + }); + + // node_modules/core-js/internals/set-difference.js + var require_set_difference = __commonJS({ + "node_modules/core-js/internals/set-difference.js"(exports, module) { + "use strict"; + var aSet = require_a_set(); + var SetHelpers = require_set_helpers(); + var clone = require_set_clone(); + var size = require_set_size(); + var getSetRecord = require_get_set_record(); + var iterateSet = require_set_iterate(); + var iterateSimple = require_iterate_simple(); + var has = SetHelpers.has; + var remove = SetHelpers.remove; + module.exports = function difference(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + var result = clone(O); + if (size(O) <= otherRec.size) + iterateSet(O, function(e7) { + if (otherRec.includes(e7)) + remove(result, e7); + }); + else + iterateSimple(otherRec.getIterator(), function(e7) { + if (has(O, e7)) + remove(result, e7); + }); + return result; + }; + } + }); + + // node_modules/core-js/internals/set-method-accept-set-like.js + var require_set_method_accept_set_like = __commonJS({ + "node_modules/core-js/internals/set-method-accept-set-like.js"(exports, module) { + var getBuiltIn = require_get_built_in(); + var createEmptySetLike = function() { + return { + size: 0, + has: function() { + return false; + }, + keys: function() { + return { + next: function() { + return { done: true }; + } + }; + } + }; + }; + module.exports = function(name) { + try { + var Set2 = getBuiltIn("Set"); + new Set2()[name](createEmptySetLike()); + return true; + } catch (error) { + return false; + } + }; + } + }); + + // node_modules/core-js/modules/esnext.set.difference.v2.js + var require_esnext_set_difference_v2 = __commonJS({ + "node_modules/core-js/modules/esnext.set.difference.v2.js"() { + var $2 = require_export(); + var difference = require_set_difference(); + var setMethodAcceptSetLike = require_set_method_accept_set_like(); + $2({ target: "Set", proto: true, real: true, forced: !setMethodAcceptSetLike("difference") }, { + difference + }); + } + }); + + // node_modules/core-js/internals/set-intersection.js + var require_set_intersection = __commonJS({ + "node_modules/core-js/internals/set-intersection.js"(exports, module) { + "use strict"; + var aSet = require_a_set(); + var SetHelpers = require_set_helpers(); + var size = require_set_size(); + var getSetRecord = require_get_set_record(); + var iterateSet = require_set_iterate(); + var iterateSimple = require_iterate_simple(); + var Set2 = SetHelpers.Set; + var add = SetHelpers.add; + var has = SetHelpers.has; + module.exports = function intersection(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + var result = new Set2(); + if (size(O) > otherRec.size) { + iterateSimple(otherRec.getIterator(), function(e7) { + if (has(O, e7)) + add(result, e7); + }); + } else { + iterateSet(O, function(e7) { + if (otherRec.includes(e7)) + add(result, e7); + }); + } + return result; + }; + } + }); + + // node_modules/core-js/modules/esnext.set.intersection.v2.js + var require_esnext_set_intersection_v2 = __commonJS({ + "node_modules/core-js/modules/esnext.set.intersection.v2.js"() { + var $2 = require_export(); + var fails = require_fails(); + var intersection = require_set_intersection(); + var setMethodAcceptSetLike = require_set_method_accept_set_like(); + var INCORRECT = !setMethodAcceptSetLike("intersection") || fails(function() { + return Array.from((/* @__PURE__ */ new Set([1, 2, 3])).intersection(/* @__PURE__ */ new Set([3, 2]))) != "3,2"; + }); + $2({ target: "Set", proto: true, real: true, forced: INCORRECT }, { + intersection + }); + } + }); + + // node_modules/core-js/internals/set-is-disjoint-from.js + var require_set_is_disjoint_from = __commonJS({ + "node_modules/core-js/internals/set-is-disjoint-from.js"(exports, module) { + "use strict"; + var aSet = require_a_set(); + var has = require_set_helpers().has; + var size = require_set_size(); + var getSetRecord = require_get_set_record(); + var iterateSet = require_set_iterate(); + var iterateSimple = require_iterate_simple(); + var iteratorClose = require_iterator_close(); + module.exports = function isDisjointFrom(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + if (size(O) <= otherRec.size) + return iterateSet(O, function(e7) { + if (otherRec.includes(e7)) + return false; + }, true) !== false; + var iterator = otherRec.getIterator(); + return iterateSimple(iterator, function(e7) { + if (has(O, e7)) + return iteratorClose(iterator, "normal", false); + }) !== false; + }; + } + }); + + // node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js + var require_esnext_set_is_disjoint_from_v2 = __commonJS({ + "node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js"() { + var $2 = require_export(); + var isDisjointFrom = require_set_is_disjoint_from(); + var setMethodAcceptSetLike = require_set_method_accept_set_like(); + $2({ target: "Set", proto: true, real: true, forced: !setMethodAcceptSetLike("isDisjointFrom") }, { + isDisjointFrom + }); + } + }); + + // node_modules/core-js/internals/set-is-subset-of.js + var require_set_is_subset_of = __commonJS({ + "node_modules/core-js/internals/set-is-subset-of.js"(exports, module) { + "use strict"; + var aSet = require_a_set(); + var size = require_set_size(); + var iterate = require_set_iterate(); + var getSetRecord = require_get_set_record(); + module.exports = function isSubsetOf(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + if (size(O) > otherRec.size) + return false; + return iterate(O, function(e7) { + if (!otherRec.includes(e7)) + return false; + }, true) !== false; + }; + } + }); + + // node_modules/core-js/modules/esnext.set.is-subset-of.v2.js + var require_esnext_set_is_subset_of_v2 = __commonJS({ + "node_modules/core-js/modules/esnext.set.is-subset-of.v2.js"() { + var $2 = require_export(); + var isSubsetOf = require_set_is_subset_of(); + var setMethodAcceptSetLike = require_set_method_accept_set_like(); + $2({ target: "Set", proto: true, real: true, forced: !setMethodAcceptSetLike("isSubsetOf") }, { + isSubsetOf + }); + } + }); + + // node_modules/core-js/internals/set-is-superset-of.js + var require_set_is_superset_of = __commonJS({ + "node_modules/core-js/internals/set-is-superset-of.js"(exports, module) { + "use strict"; + var aSet = require_a_set(); + var has = require_set_helpers().has; + var size = require_set_size(); + var getSetRecord = require_get_set_record(); + var iterateSimple = require_iterate_simple(); + var iteratorClose = require_iterator_close(); + module.exports = function isSupersetOf(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + if (size(O) < otherRec.size) + return false; + var iterator = otherRec.getIterator(); + return iterateSimple(iterator, function(e7) { + if (!has(O, e7)) + return iteratorClose(iterator, "normal", false); + }) !== false; + }; + } + }); + + // node_modules/core-js/modules/esnext.set.is-superset-of.v2.js + var require_esnext_set_is_superset_of_v2 = __commonJS({ + "node_modules/core-js/modules/esnext.set.is-superset-of.v2.js"() { + var $2 = require_export(); + var isSupersetOf = require_set_is_superset_of(); + var setMethodAcceptSetLike = require_set_method_accept_set_like(); + $2({ target: "Set", proto: true, real: true, forced: !setMethodAcceptSetLike("isSupersetOf") }, { + isSupersetOf + }); + } + }); + + // node_modules/core-js/internals/set-union.js + var require_set_union = __commonJS({ + "node_modules/core-js/internals/set-union.js"(exports, module) { + "use strict"; + var aSet = require_a_set(); + var add = require_set_helpers().add; + var clone = require_set_clone(); + var getSetRecord = require_get_set_record(); + var iterateSimple = require_iterate_simple(); + module.exports = function union(other) { + var O = aSet(this); + var keysIter = getSetRecord(other).getIterator(); + var result = clone(O); + iterateSimple(keysIter, function(it) { + add(result, it); + }); + return result; + }; + } + }); + + // node_modules/core-js/modules/esnext.set.union.v2.js + var require_esnext_set_union_v2 = __commonJS({ + "node_modules/core-js/modules/esnext.set.union.v2.js"() { + var $2 = require_export(); + var union = require_set_union(); + var setMethodAcceptSetLike = require_set_method_accept_set_like(); + $2({ target: "Set", proto: true, real: true, forced: !setMethodAcceptSetLike("union") }, { + union + }); + } + }); + + // node_modules/core-js/internals/set-symmetric-difference.js + var require_set_symmetric_difference = __commonJS({ + "node_modules/core-js/internals/set-symmetric-difference.js"(exports, module) { + "use strict"; + var aSet = require_a_set(); + var SetHelpers = require_set_helpers(); + var clone = require_set_clone(); + var getSetRecord = require_get_set_record(); + var iterateSimple = require_iterate_simple(); + var add = SetHelpers.add; + var has = SetHelpers.has; + var remove = SetHelpers.remove; + module.exports = function symmetricDifference(other) { + var O = aSet(this); + var keysIter = getSetRecord(other).getIterator(); + var result = clone(O); + iterateSimple(keysIter, function(e7) { + if (has(O, e7)) + remove(result, e7); + else + add(result, e7); + }); + return result; + }; + } + }); + + // node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js + var require_esnext_set_symmetric_difference_v2 = __commonJS({ + "node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js"() { + var $2 = require_export(); + var symmetricDifference = require_set_symmetric_difference(); + var setMethodAcceptSetLike = require_set_method_accept_set_like(); + $2({ target: "Set", proto: true, real: true, forced: !setMethodAcceptSetLike("symmetricDifference") }, { + symmetricDifference + }); + } + }); + + // node_modules/core-js/proposals/set-methods-v2.js + var require_set_methods_v2 = __commonJS({ + "node_modules/core-js/proposals/set-methods-v2.js"() { + require_esnext_set_difference_v2(); + require_esnext_set_intersection_v2(); + require_esnext_set_is_disjoint_from_v2(); + require_esnext_set_is_subset_of_v2(); + require_esnext_set_is_superset_of_v2(); + require_esnext_set_union_v2(); + require_esnext_set_symmetric_difference_v2(); + } + }); + + // node_modules/core-js/modules/esnext.string.is-well-formed.js + var require_esnext_string_is_well_formed = __commonJS({ + "node_modules/core-js/modules/esnext.string.is-well-formed.js"() { + "use strict"; + var $2 = require_export(); + var uncurryThis = require_function_uncurry_this(); + var requireObjectCoercible = require_require_object_coercible(); + var toString = require_to_string(); + var charCodeAt = uncurryThis("".charCodeAt); + $2({ target: "String", proto: true }, { + isWellFormed: function isWellFormed() { + var S3 = toString(requireObjectCoercible(this)); + var length = S3.length; + for (var i4 = 0; i4 < length; i4++) { + var charCode = charCodeAt(S3, i4); + if ((charCode & 63488) != 55296) + continue; + if (charCode >= 56320 || ++i4 >= length || (charCodeAt(S3, i4) & 64512) != 56320) + return false; + } + return true; + } + }); + } + }); + + // node_modules/core-js/modules/esnext.string.to-well-formed.js + var require_esnext_string_to_well_formed = __commonJS({ + "node_modules/core-js/modules/esnext.string.to-well-formed.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var uncurryThis = require_function_uncurry_this(); + var requireObjectCoercible = require_require_object_coercible(); + var toString = require_to_string(); + var fails = require_fails(); + var $Array = Array; + var charAt = uncurryThis("".charAt); + var charCodeAt = uncurryThis("".charCodeAt); + var join = uncurryThis([].join); + var $toWellFormed = "".toWellFormed; + var REPLACEMENT_CHARACTER = "\uFFFD"; + var TO_STRING_CONVERSION_BUG = $toWellFormed && fails(function() { + return call($toWellFormed, 1) !== "1"; + }); + $2({ target: "String", proto: true, forced: TO_STRING_CONVERSION_BUG }, { + toWellFormed: function toWellFormed() { + var S3 = toString(requireObjectCoercible(this)); + if (TO_STRING_CONVERSION_BUG) + return call($toWellFormed, S3); + var length = S3.length; + var result = $Array(length); + for (var i4 = 0; i4 < length; i4++) { + var charCode = charCodeAt(S3, i4); + if ((charCode & 63488) != 55296) + result[i4] = charAt(S3, i4); + else if (charCode >= 56320 || i4 + 1 >= length || (charCodeAt(S3, i4 + 1) & 64512) != 56320) + result[i4] = REPLACEMENT_CHARACTER; + else { + result[i4] = charAt(S3, i4); + result[++i4] = charAt(S3, i4); + } + } + return join(result, ""); + } + }); + } + }); + + // node_modules/core-js/proposals/well-formed-unicode-strings.js + var require_well_formed_unicode_strings = __commonJS({ + "node_modules/core-js/proposals/well-formed-unicode-strings.js"() { + require_esnext_string_is_well_formed(); + require_esnext_string_to_well_formed(); + } + }); + + // node_modules/core-js/modules/esnext.array.group-by.js + var require_esnext_array_group_by = __commonJS({ + "node_modules/core-js/modules/esnext.array.group-by.js"() { + "use strict"; + var $2 = require_export(); + var $group = require_array_group(); + var arrayMethodIsStrict = require_array_method_is_strict(); + var addToUnscopables = require_add_to_unscopables(); + $2({ target: "Array", proto: true, forced: !arrayMethodIsStrict("groupBy") }, { + groupBy: function groupBy(callbackfn) { + var thisArg = arguments.length > 1 ? arguments[1] : void 0; + return $group(this, callbackfn, thisArg); + } + }); + addToUnscopables("groupBy"); + } + }); + + // node_modules/core-js/modules/esnext.array.group-by-to-map.js + var require_esnext_array_group_by_to_map = __commonJS({ + "node_modules/core-js/modules/esnext.array.group-by-to-map.js"() { + var $2 = require_export(); + var arrayMethodIsStrict = require_array_method_is_strict(); + var addToUnscopables = require_add_to_unscopables(); + var $groupToMap = require_array_group_to_map(); + var IS_PURE = require_is_pure(); + $2({ target: "Array", proto: true, name: "groupToMap", forced: IS_PURE || !arrayMethodIsStrict("groupByToMap") }, { + groupByToMap: $groupToMap + }); + addToUnscopables("groupByToMap"); + } + }); + + // node_modules/core-js/proposals/array-grouping-stage-3.js + var require_array_grouping_stage_3 = __commonJS({ + "node_modules/core-js/proposals/array-grouping-stage-3.js"() { + require_esnext_array_group_by(); + require_esnext_array_group_by_to_map(); + } + }); + + // node_modules/core-js/modules/esnext.typed-array.to-spliced.js + var require_esnext_typed_array_to_spliced = __commonJS({ + "node_modules/core-js/modules/esnext.typed-array.to-spliced.js"() { + "use strict"; + var ArrayBufferViewCore = require_array_buffer_view_core(); + var lengthOfArrayLike = require_length_of_array_like(); + var isBigIntArray = require_is_big_int_array(); + var toAbsoluteIndex = require_to_absolute_index(); + var toBigInt = require_to_big_int(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var fails = require_fails(); + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var max = Math.max; + var min = Math.min; + var PROPER_ORDER = !fails(function() { + var array = new Int8Array([1]); + var spliced = array.toSpliced(1, 0, { + valueOf: function() { + array[0] = 2; + return 3; + } + }); + return spliced[0] !== 2 || spliced[1] !== 3; + }); + exportTypedArrayMethod("toSpliced", function toSpliced(start, deleteCount) { + var O = aTypedArray(this); + var C2 = getTypedArrayConstructor(O); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var k2 = 0; + var insertCount, actualDeleteCount, thisIsBigIntArray, convertedItems, value, newLen, A2; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); + insertCount = argumentsLength - 2; + if (insertCount) { + convertedItems = new C2(insertCount); + thisIsBigIntArray = isBigIntArray(convertedItems); + for (var i4 = 2; i4 < argumentsLength; i4++) { + value = arguments[i4]; + convertedItems[i4 - 2] = thisIsBigIntArray ? toBigInt(value) : +value; + } + } + } + newLen = len + insertCount - actualDeleteCount; + A2 = new C2(newLen); + for (; k2 < actualStart; k2++) + A2[k2] = O[k2]; + for (; k2 < actualStart + insertCount; k2++) + A2[k2] = convertedItems[k2 - actualStart]; + for (; k2 < newLen; k2++) + A2[k2] = O[k2 + actualDeleteCount - insertCount]; + return A2; + }, !PROPER_ORDER); + } + }); + + // node_modules/core-js/proposals/change-array-by-copy.js + var require_change_array_by_copy = __commonJS({ + "node_modules/core-js/proposals/change-array-by-copy.js"() { + require_esnext_array_to_reversed(); + require_esnext_array_to_sorted(); + require_esnext_array_to_spliced(); + require_esnext_array_with(); + require_esnext_typed_array_to_reversed(); + require_esnext_typed_array_to_sorted(); + require_esnext_typed_array_to_spliced(); + require_esnext_typed_array_with(); + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.constructor.js + var require_esnext_async_iterator_constructor = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.constructor.js"() { + "use strict"; + var $2 = require_export(); + var anInstance = require_an_instance(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var hasOwn = require_has_own_property(); + var wellKnownSymbol = require_well_known_symbol(); + var AsyncIteratorPrototype = require_async_iterator_prototype(); + var IS_PURE = require_is_pure(); + var TO_STRING_TAG = wellKnownSymbol("toStringTag"); + var AsyncIteratorConstructor = function AsyncIterator() { + anInstance(this, AsyncIteratorPrototype); + }; + AsyncIteratorConstructor.prototype = AsyncIteratorPrototype; + if (!hasOwn(AsyncIteratorPrototype, TO_STRING_TAG)) { + createNonEnumerableProperty(AsyncIteratorPrototype, TO_STRING_TAG, "AsyncIterator"); + } + if (IS_PURE || !hasOwn(AsyncIteratorPrototype, "constructor") || AsyncIteratorPrototype.constructor === Object) { + createNonEnumerableProperty(AsyncIteratorPrototype, "constructor", AsyncIteratorConstructor); + } + $2({ global: true, constructor: true, forced: IS_PURE }, { + AsyncIterator: AsyncIteratorConstructor + }); + } + }); + + // node_modules/core-js/internals/async-iterator-create-proxy.js + var require_async_iterator_create_proxy = __commonJS({ + "node_modules/core-js/internals/async-iterator-create-proxy.js"(exports, module) { + "use strict"; + var call = require_function_call(); + var perform = require_perform(); + var anObject = require_an_object(); + var create = require_object_create(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var defineBuiltIns = require_define_built_ins(); + var wellKnownSymbol = require_well_known_symbol(); + var InternalStateModule = require_internal_state(); + var getBuiltIn = require_get_built_in(); + var getMethod = require_get_method(); + var AsyncIteratorPrototype = require_async_iterator_prototype(); + var createIterResultObject = require_create_iter_result_object(); + var iteratorClose = require_iterator_close(); + var Promise2 = getBuiltIn("Promise"); + var TO_STRING_TAG = wellKnownSymbol("toStringTag"); + var ASYNC_ITERATOR_HELPER = "AsyncIteratorHelper"; + var WRAP_FOR_VALID_ASYNC_ITERATOR = "WrapForValidAsyncIterator"; + var setInternalState = InternalStateModule.set; + var createAsyncIteratorProxyPrototype = function(IS_ITERATOR) { + var IS_GENERATOR = !IS_ITERATOR; + var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER); + var getStateOrEarlyExit = function(that) { + var stateCompletion = perform(function() { + return getInternalState(that); + }); + var stateError = stateCompletion.error; + var state2 = stateCompletion.value; + if (stateError || IS_GENERATOR && state2.done) { + return { exit: true, value: stateError ? Promise2.reject(state2) : Promise2.resolve(createIterResultObject(void 0, true)) }; + } + return { exit: false, value: state2 }; + }; + return defineBuiltIns(create(AsyncIteratorPrototype), { + next: function next() { + var stateCompletion = getStateOrEarlyExit(this); + var state2 = stateCompletion.value; + if (stateCompletion.exit) + return state2; + var handlerCompletion = perform(function() { + return anObject(state2.nextHandler(Promise2)); + }); + var handlerError = handlerCompletion.error; + var value = handlerCompletion.value; + if (handlerError) + state2.done = true; + return handlerError ? Promise2.reject(value) : Promise2.resolve(value); + }, + "return": function() { + var stateCompletion = getStateOrEarlyExit(this); + var state2 = stateCompletion.value; + if (stateCompletion.exit) + return state2; + state2.done = true; + var iterator = state2.iterator; + var returnMethod, result; + var completion = perform(function() { + if (state2.inner) + try { + iteratorClose(state2.inner.iterator, "normal"); + } catch (error) { + return iteratorClose(iterator, "throw", error); + } + return getMethod(iterator, "return"); + }); + returnMethod = result = completion.value; + if (completion.error) + return Promise2.reject(result); + if (returnMethod === void 0) + return Promise2.resolve(createIterResultObject(void 0, true)); + completion = perform(function() { + return call(returnMethod, iterator); + }); + result = completion.value; + if (completion.error) + return Promise2.reject(result); + return IS_ITERATOR ? Promise2.resolve(result) : Promise2.resolve(result).then(function(resolved) { + anObject(resolved); + return createIterResultObject(void 0, true); + }); + } + }); + }; + var WrapForValidAsyncIteratorPrototype = createAsyncIteratorProxyPrototype(true); + var AsyncIteratorHelperPrototype = createAsyncIteratorProxyPrototype(false); + createNonEnumerableProperty(AsyncIteratorHelperPrototype, TO_STRING_TAG, "Async Iterator Helper"); + module.exports = function(nextHandler, IS_ITERATOR) { + var AsyncIteratorProxy = function AsyncIterator(record, state2) { + if (state2) { + state2.iterator = record.iterator; + state2.next = record.next; + } else + state2 = record; + state2.type = IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER; + state2.nextHandler = nextHandler; + state2.counter = 0; + state2.done = false; + setInternalState(this, state2); + }; + AsyncIteratorProxy.prototype = IS_ITERATOR ? WrapForValidAsyncIteratorPrototype : AsyncIteratorHelperPrototype; + return AsyncIteratorProxy; + }; + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.drop.js + var require_esnext_async_iterator_drop = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.drop.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + var notANaN = require_not_a_nan(); + var toPositiveInteger = require_to_positive_integer(); + var createAsyncIteratorProxy = require_async_iterator_create_proxy(); + var createIterResultObject = require_create_iter_result_object(); + var AsyncIteratorProxy = createAsyncIteratorProxy(function(Promise2) { + var state2 = this; + return new Promise2(function(resolve, reject) { + var doneAndReject = function(error) { + state2.done = true; + reject(error); + }; + var loop = function() { + try { + Promise2.resolve(anObject(call(state2.next, state2.iterator))).then(function(step) { + try { + if (anObject(step).done) { + state2.done = true; + resolve(createIterResultObject(void 0, true)); + } else if (state2.remaining) { + state2.remaining--; + loop(); + } else + resolve(createIterResultObject(step.value, false)); + } catch (err) { + doneAndReject(err); + } + }, doneAndReject); + } catch (error) { + doneAndReject(error); + } + }; + loop(); + }); + }); + $2({ target: "AsyncIterator", proto: true, real: true }, { + drop: function drop(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new AsyncIteratorProxy(getIteratorDirect(this), { + remaining + }); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.every.js + var require_esnext_async_iterator_every = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.every.js"() { + "use strict"; + var $2 = require_export(); + var $every = require_async_iterator_iteration().every; + $2({ target: "AsyncIterator", proto: true, real: true }, { + every: function every(predicate) { + return $every(this, predicate); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.filter.js + var require_esnext_async_iterator_filter = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.filter.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var isObject = require_is_object(); + var getIteratorDirect = require_get_iterator_direct(); + var createAsyncIteratorProxy = require_async_iterator_create_proxy(); + var createIterResultObject = require_create_iter_result_object(); + var closeAsyncIteration = require_async_iterator_close(); + var AsyncIteratorProxy = createAsyncIteratorProxy(function(Promise2) { + var state2 = this; + var iterator = state2.iterator; + var predicate = state2.predicate; + return new Promise2(function(resolve, reject) { + var doneAndReject = function(error) { + state2.done = true; + reject(error); + }; + var ifAbruptCloseAsyncIterator = function(error) { + closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); + }; + var loop = function() { + try { + Promise2.resolve(anObject(call(state2.next, iterator))).then(function(step) { + try { + if (anObject(step).done) { + state2.done = true; + resolve(createIterResultObject(void 0, true)); + } else { + var value = step.value; + try { + var result = predicate(value, state2.counter++); + var handler = function(selected) { + selected ? resolve(createIterResultObject(value, false)) : loop(); + }; + if (isObject(result)) + Promise2.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else + handler(result); + } catch (error3) { + ifAbruptCloseAsyncIterator(error3); + } + } + } catch (error2) { + doneAndReject(error2); + } + }, doneAndReject); + } catch (error) { + doneAndReject(error); + } + }; + loop(); + }); + }); + $2({ target: "AsyncIterator", proto: true, real: true }, { + filter: function filter(predicate) { + anObject(this); + aCallable(predicate); + return new AsyncIteratorProxy(getIteratorDirect(this), { + predicate + }); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.find.js + var require_esnext_async_iterator_find = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.find.js"() { + "use strict"; + var $2 = require_export(); + var $find = require_async_iterator_iteration().find; + $2({ target: "AsyncIterator", proto: true, real: true }, { + find: function find(predicate) { + return $find(this, predicate); + } + }); + } + }); + + // node_modules/core-js/internals/get-async-iterator-flattenable.js + var require_get_async_iterator_flattenable = __commonJS({ + "node_modules/core-js/internals/get-async-iterator-flattenable.js"(exports, module) { + var call = require_function_call(); + var isCallable = require_is_callable(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + var getIteratorMethod = require_get_iterator_method(); + var getMethod = require_get_method(); + var wellKnownSymbol = require_well_known_symbol(); + var AsyncFromSyncIterator = require_async_from_sync_iterator(); + var ASYNC_ITERATOR = wellKnownSymbol("asyncIterator"); + module.exports = function from(obj) { + var object = anObject(obj); + var alreadyAsync = true; + var method = getMethod(object, ASYNC_ITERATOR); + var iterator; + if (!isCallable(method)) { + method = getIteratorMethod(object); + alreadyAsync = false; + } + if (method !== void 0) { + iterator = call(method, object); + } else { + iterator = object; + alreadyAsync = true; + } + anObject(iterator); + return getIteratorDirect(alreadyAsync ? iterator : new AsyncFromSyncIterator(getIteratorDirect(iterator))); + }; + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.flat-map.js + var require_esnext_async_iterator_flat_map = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.flat-map.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var isObject = require_is_object(); + var getIteratorDirect = require_get_iterator_direct(); + var createAsyncIteratorProxy = require_async_iterator_create_proxy(); + var createIterResultObject = require_create_iter_result_object(); + var getAsyncIteratorFlattenable = require_get_async_iterator_flattenable(); + var closeAsyncIteration = require_async_iterator_close(); + var AsyncIteratorProxy = createAsyncIteratorProxy(function(Promise2) { + var state2 = this; + var iterator = state2.iterator; + var mapper = state2.mapper; + return new Promise2(function(resolve, reject) { + var doneAndReject = function(error) { + state2.done = true; + reject(error); + }; + var ifAbruptCloseAsyncIterator = function(error) { + closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); + }; + var outerLoop = function() { + try { + Promise2.resolve(anObject(call(state2.next, iterator))).then(function(step) { + try { + if (anObject(step).done) { + state2.done = true; + resolve(createIterResultObject(void 0, true)); + } else { + var value = step.value; + try { + var result = mapper(value, state2.counter++); + var handler = function(mapped) { + try { + state2.inner = getAsyncIteratorFlattenable(mapped); + innerLoop(); + } catch (error4) { + ifAbruptCloseAsyncIterator(error4); + } + }; + if (isObject(result)) + Promise2.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else + handler(result); + } catch (error3) { + ifAbruptCloseAsyncIterator(error3); + } + } + } catch (error2) { + doneAndReject(error2); + } + }, doneAndReject); + } catch (error) { + doneAndReject(error); + } + }; + var innerLoop = function() { + var inner = state2.inner; + if (inner) { + try { + Promise2.resolve(anObject(call(inner.next, inner.iterator))).then(function(result) { + try { + if (anObject(result).done) { + state2.inner = null; + outerLoop(); + } else + resolve(createIterResultObject(result.value, false)); + } catch (error1) { + ifAbruptCloseAsyncIterator(error1); + } + }, ifAbruptCloseAsyncIterator); + } catch (error) { + ifAbruptCloseAsyncIterator(error); + } + } else + outerLoop(); + }; + innerLoop(); + }); + }); + $2({ target: "AsyncIterator", proto: true, real: true }, { + flatMap: function flatMap(mapper) { + anObject(this); + aCallable(mapper); + return new AsyncIteratorProxy(getIteratorDirect(this), { + mapper, + inner: null + }); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.for-each.js + var require_esnext_async_iterator_for_each = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.for-each.js"() { + "use strict"; + var $2 = require_export(); + var $forEach = require_async_iterator_iteration().forEach; + $2({ target: "AsyncIterator", proto: true, real: true }, { + forEach: function forEach(fn) { + return $forEach(this, fn); + } + }); + } + }); + + // node_modules/core-js/internals/async-iterator-wrap.js + var require_async_iterator_wrap = __commonJS({ + "node_modules/core-js/internals/async-iterator-wrap.js"(exports, module) { + var call = require_function_call(); + var createAsyncIteratorProxy = require_async_iterator_create_proxy(); + module.exports = createAsyncIteratorProxy(function() { + return call(this.next, this.iterator); + }, true); + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.from.js + var require_esnext_async_iterator_from = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.from.js"() { + var $2 = require_export(); + var toObject = require_to_object(); + var isPrototypeOf = require_object_is_prototype_of(); + var getAsyncIteratorFlattenable = require_get_async_iterator_flattenable(); + var AsyncIteratorPrototype = require_async_iterator_prototype(); + var WrapAsyncIterator = require_async_iterator_wrap(); + $2({ target: "AsyncIterator", stat: true }, { + from: function from(O) { + var iteratorRecord = getAsyncIteratorFlattenable(typeof O == "string" ? toObject(O) : O); + return isPrototypeOf(AsyncIteratorPrototype, iteratorRecord.iterator) ? iteratorRecord.iterator : new WrapAsyncIterator(iteratorRecord); + } + }); + } + }); + + // node_modules/core-js/internals/async-iterator-map.js + var require_async_iterator_map = __commonJS({ + "node_modules/core-js/internals/async-iterator-map.js"(exports, module) { + "use strict"; + var call = require_function_call(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var isObject = require_is_object(); + var getIteratorDirect = require_get_iterator_direct(); + var createAsyncIteratorProxy = require_async_iterator_create_proxy(); + var createIterResultObject = require_create_iter_result_object(); + var closeAsyncIteration = require_async_iterator_close(); + var AsyncIteratorProxy = createAsyncIteratorProxy(function(Promise2) { + var state2 = this; + var iterator = state2.iterator; + var mapper = state2.mapper; + return new Promise2(function(resolve, reject) { + var doneAndReject = function(error) { + state2.done = true; + reject(error); + }; + var ifAbruptCloseAsyncIterator = function(error) { + closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); + }; + Promise2.resolve(anObject(call(state2.next, iterator))).then(function(step) { + try { + if (anObject(step).done) { + state2.done = true; + resolve(createIterResultObject(void 0, true)); + } else { + var value = step.value; + try { + var result = mapper(value, state2.counter++); + var handler = function(mapped) { + resolve(createIterResultObject(mapped, false)); + }; + if (isObject(result)) + Promise2.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else + handler(result); + } catch (error2) { + ifAbruptCloseAsyncIterator(error2); + } + } + } catch (error) { + doneAndReject(error); + } + }, doneAndReject); + }); + }); + module.exports = function map(mapper) { + anObject(this); + aCallable(mapper); + return new AsyncIteratorProxy(getIteratorDirect(this), { + mapper + }); + }; + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.map.js + var require_esnext_async_iterator_map = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.map.js"() { + var $2 = require_export(); + var map = require_async_iterator_map(); + $2({ target: "AsyncIterator", proto: true, real: true }, { + map + }); + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.reduce.js + var require_esnext_async_iterator_reduce = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.reduce.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var isObject = require_is_object(); + var getBuiltIn = require_get_built_in(); + var getIteratorDirect = require_get_iterator_direct(); + var closeAsyncIteration = require_async_iterator_close(); + var Promise2 = getBuiltIn("Promise"); + var $TypeError = TypeError; + $2({ target: "AsyncIterator", proto: true, real: true }, { + reduce: function reduce(reducer) { + anObject(this); + aCallable(reducer); + var record = getIteratorDirect(this); + var iterator = record.iterator; + var next = record.next; + var noInitial = arguments.length < 2; + var accumulator = noInitial ? void 0 : arguments[1]; + var counter = 0; + return new Promise2(function(resolve, reject) { + var ifAbruptCloseAsyncIterator = function(error) { + closeAsyncIteration(iterator, reject, error, reject); + }; + var loop = function() { + try { + Promise2.resolve(anObject(call(next, iterator))).then(function(step) { + try { + if (anObject(step).done) { + noInitial ? reject($TypeError("Reduce of empty iterator with no initial value")) : resolve(accumulator); + } else { + var value = step.value; + if (noInitial) { + noInitial = false; + accumulator = value; + loop(); + } else + try { + var result = reducer(accumulator, value, counter); + var handler = function($result) { + accumulator = $result; + loop(); + }; + if (isObject(result)) + Promise2.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else + handler(result); + } catch (error3) { + ifAbruptCloseAsyncIterator(error3); + } + } + counter++; + } catch (error2) { + reject(error2); + } + }, reject); + } catch (error) { + reject(error); + } + }; + loop(); + }); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.some.js + var require_esnext_async_iterator_some = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.some.js"() { + "use strict"; + var $2 = require_export(); + var $some = require_async_iterator_iteration().some; + $2({ target: "AsyncIterator", proto: true, real: true }, { + some: function some(predicate) { + return $some(this, predicate); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.take.js + var require_esnext_async_iterator_take = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.take.js"() { + "use strict"; + var $2 = require_export(); + var call = require_function_call(); + var anObject = require_an_object(); + var getIteratorDirect = require_get_iterator_direct(); + var notANaN = require_not_a_nan(); + var toPositiveInteger = require_to_positive_integer(); + var createAsyncIteratorProxy = require_async_iterator_create_proxy(); + var createIterResultObject = require_create_iter_result_object(); + var AsyncIteratorProxy = createAsyncIteratorProxy(function(Promise2) { + var state2 = this; + var iterator = state2.iterator; + var returnMethod; + if (!state2.remaining--) { + var resultDone = createIterResultObject(void 0, true); + state2.done = true; + returnMethod = iterator["return"]; + if (returnMethod !== void 0) { + return Promise2.resolve(call(returnMethod, iterator, void 0)).then(function() { + return resultDone; + }); + } + return resultDone; + } + return Promise2.resolve(call(state2.next, iterator)).then(function(step) { + if (anObject(step).done) { + state2.done = true; + return createIterResultObject(void 0, true); + } + return createIterResultObject(step.value, false); + }).then(null, function(error) { + state2.done = true; + throw error; + }); + }); + $2({ target: "AsyncIterator", proto: true, real: true }, { + take: function take(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new AsyncIteratorProxy(getIteratorDirect(this), { + remaining + }); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.async-iterator.to-array.js + var require_esnext_async_iterator_to_array = __commonJS({ + "node_modules/core-js/modules/esnext.async-iterator.to-array.js"() { + "use strict"; + var $2 = require_export(); + var $toArray = require_async_iterator_iteration().toArray; + $2({ target: "AsyncIterator", proto: true, real: true }, { + toArray: function toArray() { + return $toArray(this, void 0, []); + } + }); + } + }); + + // node_modules/core-js/modules/esnext.iterator.to-async.js + var require_esnext_iterator_to_async = __commonJS({ + "node_modules/core-js/modules/esnext.iterator.to-async.js"() { + "use strict"; + var $2 = require_export(); + var anObject = require_an_object(); + var AsyncFromSyncIterator = require_async_from_sync_iterator(); + var WrapAsyncIterator = require_async_iterator_wrap(); + var getIteratorDirect = require_get_iterator_direct(); + $2({ target: "Iterator", proto: true, real: true }, { + toAsync: function toAsync() { + return new WrapAsyncIterator(getIteratorDirect(new AsyncFromSyncIterator(getIteratorDirect(anObject(this))))); + } + }); + } + }); + + // node_modules/core-js/proposals/iterator-helpers-stage-3.js + var require_iterator_helpers_stage_3 = __commonJS({ + "node_modules/core-js/proposals/iterator-helpers-stage-3.js"() { + require_esnext_async_iterator_constructor(); + require_esnext_async_iterator_drop(); + require_esnext_async_iterator_every(); + require_esnext_async_iterator_filter(); + require_esnext_async_iterator_find(); + require_esnext_async_iterator_flat_map(); + require_esnext_async_iterator_for_each(); + require_esnext_async_iterator_from(); + require_esnext_async_iterator_map(); + require_esnext_async_iterator_reduce(); + require_esnext_async_iterator_some(); + require_esnext_async_iterator_take(); + require_esnext_async_iterator_to_array(); + require_esnext_iterator_constructor(); + require_esnext_iterator_drop(); + require_esnext_iterator_every(); + require_esnext_iterator_filter(); + require_esnext_iterator_find(); + require_esnext_iterator_flat_map(); + require_esnext_iterator_for_each(); + require_esnext_iterator_from(); + require_esnext_iterator_map(); + require_esnext_iterator_reduce(); + require_esnext_iterator_some(); + require_esnext_iterator_take(); + require_esnext_iterator_to_array(); + require_esnext_iterator_to_async(); + } + }); + + // node_modules/core-js/stage/3.js + var require__2 = __commonJS({ + "node_modules/core-js/stage/3.js"(exports, module) { + var parent2 = require__(); + require_array_from_async_stage_2(); + require_array_grouping_stage_3_2(); + require_array_buffer_transfer2(); + require_explicit_resource_management(); + require_iterator_helpers_stage_3_2(); + require_json_parse_with_source(); + require_set_methods_v2(); + require_well_formed_unicode_strings(); + require_array_grouping_stage_3(); + require_change_array_by_copy(); + require_iterator_helpers_stage_3(); + module.exports = parent2; + } + }); + + // node_modules/core-js/actual/index.js + var require_actual = __commonJS({ + "node_modules/core-js/actual/index.js"(exports, module) { + require_stable(); + require__2(); + module.exports = require_path(); + } + }); // node_modules/sockjs-client/lib/utils/browser-crypto.js var require_browser_crypto = __commonJS({ @@ -43,8 +19190,8 @@ var Edge = (() => { } else { module.exports.randomBytes = function(length) { var bytes = new Array(length); - for (var i = 0; i < length; i++) { - bytes[i] = Math.floor(Math.random() * 256); + for (var i4 = 0; i4 < length; i4++) { + bytes[i4] = Math.floor(Math.random() * 256); } return bytes; }; @@ -63,8 +19210,8 @@ var Edge = (() => { var max = _randomStringChars.length; var bytes = crypto.randomBytes(length); var ret = []; - for (var i = 0; i < length; i++) { - ret.push(_randomStringChars.substr(bytes[i] % max, 1)); + for (var i4 = 0; i4 < length; i4++) { + ret.push(_randomStringChars.substr(bytes[i4] % max, 1)); } return ret.join(""); }, @@ -72,9 +19219,9 @@ var Edge = (() => { return Math.floor(Math.random() * max); }, numberString: function(max) { - var t = ("" + (max - 1)).length; - var p = new Array(t + 1).join("0"); - return (p + this.number(max)).slice(-t); + var t4 = ("" + (max - 1)).length; + var p2 = new Array(t4 + 1).join("0"); + return (p2 + this.number(max)).slice(-t4); } }; } @@ -178,14 +19325,14 @@ var Edge = (() => { function decode(input) { try { return decodeURIComponent(input.replace(/\+/g, " ")); - } catch (e) { + } catch (e7) { return null; } } function encode(input) { try { return encodeURIComponent(input); - } catch (e) { + } catch (e7) { return null; } } @@ -342,17 +19489,17 @@ var Edge = (() => { function resolve(relative, base) { if (relative === "") return base; - var path = (base || "/").split("/").slice(0, -1).concat(relative.split("/")), i = path.length, last = path[i - 1], unshift = false, up = 0; - while (i--) { - if (path[i] === ".") { - path.splice(i, 1); - } else if (path[i] === "..") { - path.splice(i, 1); + var path = (base || "/").split("/").slice(0, -1).concat(relative.split("/")), i4 = path.length, last = path[i4 - 1], unshift = false, up = 0; + while (i4--) { + if (path[i4] === ".") { + path.splice(i4, 1); + } else if (path[i4] === "..") { + path.splice(i4, 1); up++; } else if (up) { - if (i === 0) + if (i4 === 0) unshift = true; - path.splice(i, 1); + path.splice(i4, 1); up--; } } @@ -368,7 +19515,7 @@ var Edge = (() => { if (!(this instanceof Url)) { return new Url(address, location, parser); } - var relative, extracted, parse, instruction, index, key, instructions = rules.slice(), type = typeof location, url = this, i = 0; + var relative, extracted, parse, instruction, index, key, instructions = rules.slice(), type = typeof location, url = this, i4 = 0; if ("object" !== type && "string" !== type) { parser = location; location = null; @@ -384,8 +19531,8 @@ var Edge = (() => { if (extracted.protocol === "file:" && (extracted.slashesCount !== 2 || windowsDriveLetter.test(address)) || !extracted.slashes && (extracted.protocol || extracted.slashesCount < 2 || !isSpecial(url.protocol))) { instructions[3] = [/(.*)/, "pathname"]; } - for (; i < instructions.length; i++) { - instruction = instructions[i]; + for (; i4 < instructions.length; i4++) { + instruction = instructions[i4]; if (typeof instruction === "function") { address = instruction(address, url); continue; @@ -504,8 +19651,8 @@ var Edge = (() => { url.username = encodeURIComponent(decodeURIComponent(value)); } } - for (var i = 0; i < rules.length; i++) { - var ins = rules[i]; + for (var i4 = 0; i4 < rules.length; i4++) { + var ins = rules[i4]; if (ins[4]) url[ins[1]] = url[ins[1]].toLowerCase(); } @@ -555,12 +19702,12 @@ var Edge = (() => { // node_modules/ms/index.js var require_ms = __commonJS({ "node_modules/ms/index.js"(exports, module) { - var s = 1e3; - var m = s * 60; - var h = m * 60; - var d = h * 24; - var w = d * 7; - var y = d * 365.25; + var s5 = 1e3; + var m2 = s5 * 60; + var h3 = m2 * 60; + var d3 = h3 * 24; + var w2 = d3 * 7; + var y2 = d3 * 365.25; module.exports = function(val, options) { options = options || {}; var type = typeof val; @@ -584,7 +19731,7 @@ var Edge = (() => { if (!match) { return; } - var n = parseFloat(match[1]); + var n6 = parseFloat(match[1]); var type = (match[2] || "ms").toLowerCase(); switch (type) { case "years": @@ -592,78 +19739,78 @@ var Edge = (() => { case "yrs": case "yr": case "y": - return n * y; + return n6 * y2; case "weeks": case "week": case "w": - return n * w; + return n6 * w2; case "days": case "day": case "d": - return n * d; + return n6 * d3; case "hours": case "hour": case "hrs": case "hr": case "h": - return n * h; + return n6 * h3; case "minutes": case "minute": case "mins": case "min": case "m": - return n * m; + return n6 * m2; case "seconds": case "second": case "secs": case "sec": case "s": - return n * s; + return n6 * s5; case "milliseconds": case "millisecond": case "msecs": case "msec": case "ms": - return n; + return n6; default: return void 0; } } function fmtShort(ms) { var msAbs = Math.abs(ms); - if (msAbs >= d) { - return Math.round(ms / d) + "d"; + if (msAbs >= d3) { + return Math.round(ms / d3) + "d"; } - if (msAbs >= h) { - return Math.round(ms / h) + "h"; + if (msAbs >= h3) { + return Math.round(ms / h3) + "h"; } - if (msAbs >= m) { - return Math.round(ms / m) + "m"; + if (msAbs >= m2) { + return Math.round(ms / m2) + "m"; } - if (msAbs >= s) { - return Math.round(ms / s) + "s"; + if (msAbs >= s5) { + return Math.round(ms / s5) + "s"; } return ms + "ms"; } function fmtLong(ms) { var msAbs = Math.abs(ms); - if (msAbs >= d) { - return plural(ms, msAbs, d, "day"); + if (msAbs >= d3) { + return plural(ms, msAbs, d3, "day"); } - if (msAbs >= h) { - return plural(ms, msAbs, h, "hour"); + if (msAbs >= h3) { + return plural(ms, msAbs, h3, "hour"); } - if (msAbs >= m) { - return plural(ms, msAbs, m, "minute"); + if (msAbs >= m2) { + return plural(ms, msAbs, m2, "minute"); } - if (msAbs >= s) { - return plural(ms, msAbs, s, "second"); + if (msAbs >= s5) { + return plural(ms, msAbs, s5, "second"); } return ms + " ms"; } - function plural(ms, msAbs, n, name) { - var isPlural = msAbs >= n * 1.5; - return Math.round(ms / n) + " " + name + (isPlural ? "s" : ""); + function plural(ms, msAbs, n6, name) { + var isPlural = msAbs >= n6 * 1.5; + return Math.round(ms / n6) + " " + name + (isPlural ? "s" : ""); } } }); @@ -689,8 +19836,8 @@ var Edge = (() => { createDebug.formatters = {}; function selectColor(namespace) { var hash = 0; - for (var i = 0; i < namespace.length; i++) { - hash = (hash << 5) - hash + namespace.charCodeAt(i); + for (var i4 = 0; i4 < namespace.length; i4++) { + hash = (hash << 5) - hash + namespace.charCodeAt(i4); hash |= 0; } return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; @@ -762,22 +19909,22 @@ var Edge = (() => { createDebug.save(namespaces); createDebug.names = []; createDebug.skips = []; - var i; + var i4; var split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/); var len = split.length; - for (i = 0; i < len; i++) { - if (!split[i]) { + for (i4 = 0; i4 < len; i4++) { + if (!split[i4]) { continue; } - namespaces = split[i].replace(/\*/g, ".*?"); + namespaces = split[i4].replace(/\*/g, ".*?"); if (namespaces[0] === "-") { createDebug.skips.push(new RegExp("^" + namespaces.substr(1) + "$")); } else { createDebug.names.push(new RegExp("^" + namespaces + "$")); } } - for (i = 0; i < createDebug.instances.length; i++) { - var instance = createDebug.instances[i]; + for (i4 = 0; i4 < createDebug.instances.length; i4++) { + var instance = createDebug.instances[i4]; instance.enabled = createDebug.enabled(instance.namespace); } } @@ -788,15 +19935,15 @@ var Edge = (() => { if (name[name.length - 1] === "*") { return true; } - var i; + var i4; var len; - for (i = 0, len = createDebug.skips.length; i < len; i++) { - if (createDebug.skips[i].test(name)) { + for (i4 = 0, len = createDebug.skips.length; i4 < len; i4++) { + if (createDebug.skips[i4].test(name)) { return false; } } - for (i = 0, len = createDebug.names.length; i < len; i++) { - if (createDebug.names[i].test(name)) { + for (i4 = 0, len = createDebug.names.length; i4 < len; i4++) { + if (createDebug.names[i4].test(name)) { return true; } } @@ -856,8 +20003,8 @@ var Edge = (() => { if (!this.useColors) { return; } - var c = "color: " + this.color; - args.splice(1, 0, c, "color: inherit"); + var c3 = "color: " + this.color; + args.splice(1, 0, c3, "color: inherit"); var index = 0; var lastC = 0; args[0].replace(/%[a-zA-Z%]/g, function(match) { @@ -869,7 +20016,7 @@ var Edge = (() => { lastC = index; } }); - args.splice(lastC, 0, c); + args.splice(lastC, 0, c3); } function log() { var _console; @@ -886,15 +20033,15 @@ var Edge = (() => { } } function load() { - var r; + var r4; try { - r = exports.storage.getItem("debug"); + r4 = exports.storage.getItem("debug"); } catch (error) { } - if (!r && typeof process !== "undefined" && "env" in process) { - r = process.env.DEBUG; + if (!r4 && typeof process !== "undefined" && "env" in process) { + r4 = process.env.DEBUG; } - return r; + return r4; } function localstorage() { try { @@ -904,9 +20051,9 @@ var Edge = (() => { } module.exports = require_common()(exports); var formatters = module.exports.formatters; - formatters.j = function(v) { + formatters.j = function(v2) { try { - return JSON.stringify(v); + return JSON.stringify(v2); } catch (error) { return "[UnexpectedJSONParseError]: " + error.message; } @@ -918,7 +20065,7 @@ var Edge = (() => { var require_url = __commonJS({ "node_modules/sockjs-client/lib/utils/url.js"(exports, module) { "use strict"; - var URL = require_url_parse(); + var URL2 = require_url_parse(); var debug = function() { }; if (true) { @@ -929,23 +20076,23 @@ var Edge = (() => { if (!url) { return null; } - var p = new URL(url); - if (p.protocol === "file:") { + var p2 = new URL2(url); + if (p2.protocol === "file:") { return null; } - var port = p.port; + var port = p2.port; if (!port) { - port = p.protocol === "https:" ? "443" : "80"; + port = p2.protocol === "https:" ? "443" : "80"; } - return p.protocol + "//" + p.hostname + ":" + port; + return p2.protocol + "//" + p2.hostname + ":" + port; }, - isOriginEqual: function(a, b) { - var res = this.getOrigin(a) === this.getOrigin(b); - debug("same", a, b, res); + isOriginEqual: function(a3, b2) { + var res = this.getOrigin(a3) === this.getOrigin(b2); + debug("same", a3, b2, res); return res; }, - isSchemeEqual: function(a, b) { - return a.split(":")[0] === b.split(":")[0]; + isSchemeEqual: function(a3, b2) { + return a3.split(":")[0] === b2.split(":")[0]; }, addPath: function(url, path) { var qs = url.split("?"); @@ -1027,15 +20174,15 @@ var Edge = (() => { }; EventTarget2.prototype.dispatchEvent = function() { var event = arguments[0]; - var t = event.type; + var t4 = event.type; var args = arguments.length === 1 ? [event] : Array.apply(null, arguments); - if (this["on" + t]) { - this["on" + t].apply(this, args); + if (this["on" + t4]) { + this["on" + t4].apply(this, args); } - if (t in this._listeners) { - var listeners = this._listeners[t]; - for (var i = 0; i < listeners.length; i++) { - listeners[i].apply(this, args); + if (t4 in this._listeners) { + var listeners = this._listeners[t4]; + for (var i4 = 0; i4 < listeners.length; i4++) { + listeners[i4].apply(this, args); } } }; @@ -1062,14 +20209,14 @@ var Edge = (() => { }; EventEmitter.prototype.once = function(type, listener) { var self2 = this, fired = false; - function g() { - self2.removeListener(type, g); + function g2() { + self2.removeListener(type, g2); if (!fired) { fired = true; listener.apply(this, arguments); } } - this.on(type, g); + this.on(type, g2); }; EventEmitter.prototype.emit = function() { var type = arguments[0]; @@ -1077,13 +20224,13 @@ var Edge = (() => { if (!listeners) { return; } - var l = arguments.length; - var args = new Array(l - 1); - for (var ai = 1; ai < l; ai++) { + var l5 = arguments.length; + var args = new Array(l5 - 1); + for (var ai = 1; ai < l5; ai++) { args[ai - 1] = arguments[ai]; } - for (var i = 0; i < listeners.length; i++) { - listeners[i].apply(this, args); + for (var i4 = 0; i4 < listeners.length; i4++) { + listeners[i4].apply(this, args); } }; EventEmitter.prototype.on = EventEmitter.prototype.addListener = EventTarget2.prototype.addEventListener; @@ -1136,21 +20283,21 @@ var Edge = (() => { } this.url = url; this.ws = new WebsocketDriver(this.url, [], options); - this.ws.onmessage = function(e) { - debug("message event", e.data); - self2.emit("message", e.data); + this.ws.onmessage = function(e7) { + debug("message event", e7.data); + self2.emit("message", e7.data); }; this.unloadRef = utils.unloadAdd(function() { debug("unload"); self2.ws.close(); }); - this.ws.onclose = function(e) { - debug("close event", e.code, e.reason); - self2.emit("close", e.code, e.reason); + this.ws.onclose = function(e7) { + debug("close event", e7.code, e7.reason); + self2.emit("close", e7.code, e7.reason); self2._cleanup(); }; - this.ws.onerror = function(e) { - debug("error event", e); + this.ws.onerror = function(e7) { + debug("error event", e7); self2.emit("close", 1006, "WebSocket connection broken"); self2._cleanup(); }; @@ -1500,7 +20647,7 @@ var Edge = (() => { var self2 = this; try { this.xhr = new XHR(); - } catch (x) { + } catch (x2) { } if (!this.xhr) { debug("no xhr"); @@ -1523,8 +20670,8 @@ var Edge = (() => { self2._cleanup(false); }; } - } catch (e) { - debug("exception", e); + } catch (e7) { + debug("exception", e7); this.emit("finish", 0, ""); this._cleanup(false); return; @@ -1540,15 +20687,15 @@ var Edge = (() => { } this.xhr.onreadystatechange = function() { if (self2.xhr) { - var x = self2.xhr; + var x2 = self2.xhr; var text, status; - debug("readyState", x.readyState); - switch (x.readyState) { + debug("readyState", x2.readyState); + switch (x2.readyState) { case 3: try { - status = x.status; - text = x.responseText; - } catch (e) { + status = x2.status; + text = x2.responseText; + } catch (e7) { } debug("status", status); if (status === 1223) { @@ -1560,7 +20707,7 @@ var Edge = (() => { } break; case 4: - status = x.status; + status = x2.status; debug("status", status); if (status === 1223) { status = 204; @@ -1568,8 +20715,8 @@ var Edge = (() => { if (status === 12005 || status === 12029) { status = 0; } - debug("finish", status, x.responseText); - self2.emit("finish", status, x.responseText); + debug("finish", status, x2.responseText); + self2.emit("finish", status, x2.responseText); self2._cleanup(false); break; } @@ -1577,7 +20724,7 @@ var Edge = (() => { }; try { self2.xhr.send(payload); - } catch (e) { + } catch (e7) { self2.emit("finish", 0, ""); self2._cleanup(false); } @@ -1597,7 +20744,7 @@ var Edge = (() => { if (abort) { try { this.xhr.abort(); - } catch (x) { + } catch (x2) { } } this.unloadRef = this.xhr = null; @@ -1613,7 +20760,7 @@ var Edge = (() => { XHR = function() { try { return new window[axo]("Microsoft.XMLHTTP"); - } catch (e) { + } catch (e7) { return null; } }; @@ -1678,7 +20825,7 @@ var Edge = (() => { } try { return !!window.document.domain; - } catch (e) { + } catch (e7) { return false; } } @@ -1774,7 +20921,7 @@ var Edge = (() => { this.xdr.timeout = this.timeout; } this.xdr.send(payload); - } catch (x) { + } catch (x2) { this._error(); } }; @@ -1793,7 +20940,7 @@ var Edge = (() => { if (abort) { try { this.xdr.abort(); - } catch (x) { + } catch (x2) { } } this.unloadRef = this.xdr = null; @@ -1858,12 +21005,12 @@ var Edge = (() => { EventEmitter.call(this); var self2 = this; var es = this.es = new EventSourceDriver(url); - es.onmessage = function(e) { - debug("message", e.data); - self2.emit("message", decodeURI(e.data)); + es.onmessage = function(e7) { + debug("message", e7.data); + self2.emit("message", decodeURI(e7.data)); }; - es.onerror = function(e) { - debug("error", es.readyState, e); + es.onerror = function(e7) { + debug("error", es.readyState, e7); var reason = es.readyState !== 2 ? "network" : "permanent"; self2._cleanup(); self2._close(reason); @@ -1966,7 +21113,7 @@ var Edge = (() => { clearTimeout(tref); try { iframe.onload = null; - } catch (x) { + } catch (x2) { } iframe.onerror = null; }; @@ -1997,7 +21144,7 @@ var Edge = (() => { if (iframe && iframe.contentWindow) { iframe.contentWindow.postMessage(msg, origin); } - } catch (x) { + } catch (x2) { } }, 0); }; @@ -2043,11 +21190,11 @@ var Edge = (() => { CollectGarbage(); } }; - var onerror = function(r) { - debug("onerror", r); + var onerror = function(r4) { + debug("onerror", r4); if (doc) { cleanup(); - errorCallback(r); + errorCallback(r4); } }; var post = function(msg, origin) { @@ -2057,17 +21204,17 @@ var Edge = (() => { iframe.contentWindow.postMessage(msg, origin); } }, 0); - } catch (x) { + } catch (x2) { } }; doc.open(); doc.write('\n * ```\n * @nocollapse\n * @category styles\n */\n static styles?: CSSResultGroup;\n\n /**\n * The set of properties defined by this class that caused an accessor to be\n * added during `createProperty`.\n * @nocollapse\n */\n private static __reactivePropertyKeys?: Set;\n\n /**\n * Returns a list of attributes corresponding to the registered properties.\n * @nocollapse\n * @category attributes\n */\n static get observedAttributes() {\n // note: piggy backing on this to ensure we're finalized.\n this.finalize();\n const attributes: string[] = [];\n // Use forEach so this works even if for/of loops are compiled to for loops\n // expecting arrays\n this.elementProperties.forEach((v, p) => {\n const attr = this.__attributeNameForProperty(p, v);\n if (attr !== undefined) {\n this.__attributeToPropertyMap.set(attr, p);\n attributes.push(attr);\n }\n });\n return attributes;\n }\n\n /**\n * Creates a property accessor on the element prototype if one does not exist\n * and stores a {@linkcode PropertyDeclaration} for the property with the\n * given options. The property setter calls the property's `hasChanged`\n * property option or uses a strict identity check to determine whether or not\n * to request an update.\n *\n * This method may be overridden to customize properties; however,\n * when doing so, it's important to call `super.createProperty` to ensure\n * the property is setup correctly. This method calls\n * `getPropertyDescriptor` internally to get a descriptor to install.\n * To customize what properties do when they are get or set, override\n * `getPropertyDescriptor`. To customize the options for a property,\n * implement `createProperty` like this:\n *\n * ```ts\n * static createProperty(name, options) {\n * options = Object.assign(options, {myOption: true});\n * super.createProperty(name, options);\n * }\n * ```\n *\n * @nocollapse\n * @category properties\n */\n static createProperty(\n name: PropertyKey,\n options: PropertyDeclaration = defaultPropertyDeclaration\n ) {\n // if this is a state property, force the attribute to false.\n if (options.state) {\n // Cast as any since this is readonly.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (options as any).attribute = false;\n }\n // Note, since this can be called by the `@property` decorator which\n // is called before `finalize`, we ensure finalization has been kicked off.\n this.finalize();\n this.elementProperties.set(name, options);\n // Do not generate an accessor if the prototype already has one, since\n // it would be lost otherwise and that would never be the user's intention;\n // Instead, we expect users to call `requestUpdate` themselves from\n // user-defined accessors. Note that if the super has an accessor we will\n // still overwrite it\n if (!options.noAccessor && !this.prototype.hasOwnProperty(name)) {\n const key = typeof name === 'symbol' ? Symbol() : `__${name}`;\n const descriptor = this.getPropertyDescriptor(name, key, options);\n if (descriptor !== undefined) {\n Object.defineProperty(this.prototype, name, descriptor);\n if (DEV_MODE) {\n // If this class doesn't have its own set, create one and initialize\n // with the values in the set from the nearest ancestor class, if any.\n if (!this.hasOwnProperty('__reactivePropertyKeys')) {\n this.__reactivePropertyKeys = new Set(\n this.__reactivePropertyKeys ?? []\n );\n }\n this.__reactivePropertyKeys!.add(name);\n }\n }\n }\n }\n\n /**\n * Returns a property descriptor to be defined on the given named property.\n * If no descriptor is returned, the property will not become an accessor.\n * For example,\n *\n * ```ts\n * class MyElement extends LitElement {\n * static getPropertyDescriptor(name, key, options) {\n * const defaultDescriptor =\n * super.getPropertyDescriptor(name, key, options);\n * const setter = defaultDescriptor.set;\n * return {\n * get: defaultDescriptor.get,\n * set(value) {\n * setter.call(this, value);\n * // custom action.\n * },\n * configurable: true,\n * enumerable: true\n * }\n * }\n * }\n * ```\n *\n * @nocollapse\n * @category properties\n */\n protected static getPropertyDescriptor(\n name: PropertyKey,\n key: string | symbol,\n options: PropertyDeclaration\n ): PropertyDescriptor | undefined {\n return {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n get(): any {\n return (this as {[key: string]: unknown})[key as string];\n },\n set(this: ReactiveElement, value: unknown) {\n const oldValue = (this as {} as {[key: string]: unknown})[\n name as string\n ];\n (this as {} as {[key: string]: unknown})[key as string] = value;\n (this as unknown as ReactiveElement).requestUpdate(\n name,\n oldValue,\n options\n );\n },\n configurable: true,\n enumerable: true,\n };\n }\n\n /**\n * Returns the property options associated with the given property.\n * These options are defined with a `PropertyDeclaration` via the `properties`\n * object or the `@property` decorator and are registered in\n * `createProperty(...)`.\n *\n * Note, this method should be considered \"final\" and not overridden. To\n * customize the options for a given property, override\n * {@linkcode createProperty}.\n *\n * @nocollapse\n * @final\n * @category properties\n */\n static getPropertyOptions(name: PropertyKey) {\n return this.elementProperties.get(name) || defaultPropertyDeclaration;\n }\n\n /**\n * Creates property accessors for registered properties, sets up element\n * styling, and ensures any superclasses are also finalized. Returns true if\n * the element was finalized.\n * @nocollapse\n */\n protected static finalize() {\n if (this.hasOwnProperty(finalized)) {\n return false;\n }\n this[finalized] = true;\n // finalize any superclasses\n const superCtor = Object.getPrototypeOf(this) as typeof ReactiveElement;\n superCtor.finalize();\n // Create own set of initializers for this class if any exist on the\n // superclass and copy them down. Note, for a small perf boost, avoid\n // creating initializers unless needed.\n if (superCtor._initializers !== undefined) {\n this._initializers = [...superCtor._initializers];\n }\n this.elementProperties = new Map(superCtor.elementProperties);\n // initialize Map populated in observedAttributes\n this.__attributeToPropertyMap = new Map();\n // make any properties\n // Note, only process \"own\" properties since this element will inherit\n // any properties defined on the superClass, and finalization ensures\n // the entire prototype chain is finalized.\n if (this.hasOwnProperty(JSCompiler_renameProperty('properties', this))) {\n const props = this.properties;\n // support symbols in properties (IE11 does not support this)\n const propKeys = [\n ...Object.getOwnPropertyNames(props),\n ...Object.getOwnPropertySymbols(props),\n ];\n // This for/of is ok because propKeys is an array\n for (const p of propKeys) {\n // note, use of `any` is due to TypeScript lack of support for symbol in\n // index types\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this.createProperty(p, (props as any)[p]);\n }\n }\n this.elementStyles = this.finalizeStyles(this.styles);\n // DEV mode warnings\n if (DEV_MODE) {\n const warnRemovedOrRenamed = (name: string, renamed = false) => {\n if (this.prototype.hasOwnProperty(name)) {\n issueWarning(\n renamed ? 'renamed-api' : 'removed-api',\n `\\`${name}\\` is implemented on class ${this.name}. It ` +\n `has been ${renamed ? 'renamed' : 'removed'} ` +\n `in this version of LitElement.`\n );\n }\n };\n warnRemovedOrRenamed('initialize');\n warnRemovedOrRenamed('requestUpdateInternal');\n warnRemovedOrRenamed('_getUpdateComplete', true);\n }\n return true;\n }\n\n /**\n * Options used when calling `attachShadow`. Set this property to customize\n * the options for the shadowRoot; for example, to create a closed\n * shadowRoot: `{mode: 'closed'}`.\n *\n * Note, these options are used in `createRenderRoot`. If this method\n * is customized, options should be respected if possible.\n * @nocollapse\n * @category rendering\n */\n static shadowRootOptions: ShadowRootInit = {mode: 'open'};\n\n /**\n * Takes the styles the user supplied via the `static styles` property and\n * returns the array of styles to apply to the element.\n * Override this method to integrate into a style management system.\n *\n * Styles are deduplicated preserving the _last_ instance in the list. This\n * is a performance optimization to avoid duplicated styles that can occur\n * especially when composing via subclassing. The last item is kept to try\n * to preserve the cascade order with the assumption that it's most important\n * that last added styles override previous styles.\n *\n * @nocollapse\n * @category styles\n */\n protected static finalizeStyles(\n styles?: CSSResultGroup\n ): Array {\n const elementStyles = [];\n if (Array.isArray(styles)) {\n // Dedupe the flattened array in reverse order to preserve the last items.\n // Casting to Array works around TS error that\n // appears to come from trying to flatten a type CSSResultArray.\n const set = new Set((styles as Array).flat(Infinity).reverse());\n // Then preserve original order by adding the set items in reverse order.\n for (const s of set) {\n elementStyles.unshift(getCompatibleStyle(s as CSSResultOrNative));\n }\n } else if (styles !== undefined) {\n elementStyles.push(getCompatibleStyle(styles));\n }\n return elementStyles;\n }\n\n /**\n * Node or ShadowRoot into which element DOM should be rendered. Defaults\n * to an open shadowRoot.\n * @category rendering\n */\n readonly renderRoot!: HTMLElement | ShadowRoot;\n\n /**\n * Returns the property name for the given attribute `name`.\n * @nocollapse\n */\n private static __attributeNameForProperty(\n name: PropertyKey,\n options: PropertyDeclaration\n ) {\n const attribute = options.attribute;\n return attribute === false\n ? undefined\n : typeof attribute === 'string'\n ? attribute\n : typeof name === 'string'\n ? name.toLowerCase()\n : undefined;\n }\n\n private __instanceProperties?: PropertyValues = new Map();\n // Initialize to an unresolved Promise so we can make sure the element has\n // connected before first update.\n private __updatePromise!: Promise;\n\n /**\n * True if there is a pending update as a result of calling `requestUpdate()`.\n * Should only be read.\n * @category updates\n */\n isUpdatePending = false;\n\n /**\n * Is set to `true` after the first update. The element code cannot assume\n * that `renderRoot` exists before the element `hasUpdated`.\n * @category updates\n */\n hasUpdated = false;\n\n /**\n * Map with keys for any properties that have changed since the last\n * update cycle with previous values.\n *\n * @internal\n */\n _$changedProperties!: PropertyValues;\n\n /**\n * Map with keys of properties that should be reflected when updated.\n */\n private __reflectingProperties?: Map;\n\n /**\n * Name of currently reflecting property\n */\n private __reflectingProperty: PropertyKey | null = null;\n\n /**\n * Set of controllers.\n */\n private __controllers?: ReactiveController[];\n\n constructor() {\n super();\n this._initialize();\n }\n\n /**\n * Internal only override point for customizing work done when elements\n * are constructed.\n *\n * @internal\n */\n _initialize() {\n this.__updatePromise = new Promise(\n (res) => (this.enableUpdating = res)\n );\n this._$changedProperties = new Map();\n this.__saveInstanceProperties();\n // ensures first update will be caught by an early access of\n // `updateComplete`\n this.requestUpdate();\n (this.constructor as typeof ReactiveElement)._initializers?.forEach((i) =>\n i(this)\n );\n }\n\n /**\n * Registers a `ReactiveController` to participate in the element's reactive\n * update cycle. The element automatically calls into any registered\n * controllers during its lifecycle callbacks.\n *\n * If the element is connected when `addController()` is called, the\n * controller's `hostConnected()` callback will be immediately called.\n * @category controllers\n */\n addController(controller: ReactiveController) {\n (this.__controllers ??= []).push(controller);\n // If a controller is added after the element has been connected,\n // call hostConnected. Note, re-using existence of `renderRoot` here\n // (which is set in connectedCallback) to avoid the need to track a\n // first connected state.\n if (this.renderRoot !== undefined && this.isConnected) {\n controller.hostConnected?.();\n }\n }\n\n /**\n * Removes a `ReactiveController` from the element.\n * @category controllers\n */\n removeController(controller: ReactiveController) {\n // Note, if the indexOf is -1, the >>> will flip the sign which makes the\n // splice do nothing.\n this.__controllers?.splice(this.__controllers.indexOf(controller) >>> 0, 1);\n }\n\n /**\n * Fixes any properties set on the instance before upgrade time.\n * Otherwise these would shadow the accessor and break these properties.\n * The properties are stored in a Map which is played back after the\n * constructor runs. Note, on very old versions of Safari (<=9) or Chrome\n * (<=41), properties created for native platform properties like (`id` or\n * `name`) may not have default values set in the element constructor. On\n * these browsers native properties appear on instances and therefore their\n * default value will overwrite any element default (e.g. if the element sets\n * this.id = 'id' in the constructor, the 'id' will become '' since this is\n * the native platform default).\n */\n private __saveInstanceProperties() {\n // Use forEach so this works even if for/of loops are compiled to for loops\n // expecting arrays\n (this.constructor as typeof ReactiveElement).elementProperties.forEach(\n (_v, p) => {\n if (this.hasOwnProperty(p)) {\n this.__instanceProperties!.set(p, this[p as keyof this]);\n delete this[p as keyof this];\n }\n }\n );\n }\n\n /**\n * Returns the node into which the element should render and by default\n * creates and returns an open shadowRoot. Implement to customize where the\n * element's DOM is rendered. For example, to render into the element's\n * childNodes, return `this`.\n *\n * @return Returns a node into which to render.\n * @category rendering\n */\n protected createRenderRoot(): Element | ShadowRoot {\n const renderRoot =\n this.shadowRoot ??\n this.attachShadow(\n (this.constructor as typeof ReactiveElement).shadowRootOptions\n );\n adoptStyles(\n renderRoot,\n (this.constructor as typeof ReactiveElement).elementStyles\n );\n return renderRoot;\n }\n\n /**\n * On first connection, creates the element's renderRoot, sets up\n * element styling, and enables updating.\n * @category lifecycle\n */\n connectedCallback() {\n // create renderRoot before first update.\n if (this.renderRoot === undefined) {\n (\n this as {\n renderRoot: Element | DocumentFragment;\n }\n ).renderRoot = this.createRenderRoot();\n }\n this.enableUpdating(true);\n this.__controllers?.forEach((c) => c.hostConnected?.());\n }\n\n /**\n * Note, this method should be considered final and not overridden. It is\n * overridden on the element instance with a function that triggers the first\n * update.\n * @category updates\n */\n protected enableUpdating(_requestedUpdate: boolean) {}\n\n /**\n * Allows for `super.disconnectedCallback()` in extensions while\n * reserving the possibility of making non-breaking feature additions\n * when disconnecting at some point in the future.\n * @category lifecycle\n */\n disconnectedCallback() {\n this.__controllers?.forEach((c) => c.hostDisconnected?.());\n }\n\n /**\n * Synchronizes property values when attributes change.\n *\n * Specifically, when an attribute is set, the corresponding property is set.\n * You should rarely need to implement this callback. If this method is\n * overridden, `super.attributeChangedCallback(name, _old, value)` must be\n * called.\n *\n * See [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\n * on MDN for more information about the `attributeChangedCallback`.\n * @category attributes\n */\n attributeChangedCallback(\n name: string,\n _old: string | null,\n value: string | null\n ) {\n this._$attributeToProperty(name, value);\n }\n\n private __propertyToAttribute(\n name: PropertyKey,\n value: unknown,\n options: PropertyDeclaration = defaultPropertyDeclaration\n ) {\n const attr = (\n this.constructor as typeof ReactiveElement\n ).__attributeNameForProperty(name, options);\n if (attr !== undefined && options.reflect === true) {\n const converter =\n (options.converter as ComplexAttributeConverter)?.toAttribute !==\n undefined\n ? (options.converter as ComplexAttributeConverter)\n : defaultConverter;\n const attrValue = converter.toAttribute!(value, options.type);\n if (\n DEV_MODE &&\n (this.constructor as typeof ReactiveElement).enabledWarnings!.indexOf(\n 'migration'\n ) >= 0 &&\n attrValue === undefined\n ) {\n issueWarning(\n 'undefined-attribute-value',\n `The attribute value for the ${name as string} property is ` +\n `undefined on element ${this.localName}. The attribute will be ` +\n `removed, but in the previous version of \\`ReactiveElement\\`, ` +\n `the attribute would not have changed.`\n );\n }\n // Track if the property is being reflected to avoid\n // setting the property again via `attributeChangedCallback`. Note:\n // 1. this takes advantage of the fact that the callback is synchronous.\n // 2. will behave incorrectly if multiple attributes are in the reaction\n // stack at time of calling. However, since we process attributes\n // in `update` this should not be possible (or an extreme corner case\n // that we'd like to discover).\n // mark state reflecting\n this.__reflectingProperty = name;\n if (attrValue == null) {\n this.removeAttribute(attr);\n } else {\n this.setAttribute(attr, attrValue as string);\n }\n // mark state not reflecting\n this.__reflectingProperty = null;\n }\n }\n\n /** @internal */\n _$attributeToProperty(name: string, value: string | null) {\n const ctor = this.constructor as typeof ReactiveElement;\n // Note, hint this as an `AttributeMap` so closure clearly understands\n // the type; it has issues with tracking types through statics\n const propName = (ctor.__attributeToPropertyMap as AttributeMap).get(name);\n // Use tracking info to avoid reflecting a property value to an attribute\n // if it was just set because the attribute changed.\n if (propName !== undefined && this.__reflectingProperty !== propName) {\n const options = ctor.getPropertyOptions(propName);\n const converter =\n typeof options.converter === 'function'\n ? {fromAttribute: options.converter}\n : options.converter?.fromAttribute !== undefined\n ? options.converter\n : defaultConverter;\n // mark state reflecting\n this.__reflectingProperty = propName;\n this[propName as keyof this] = converter.fromAttribute!(\n value,\n options.type\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ) as any;\n // mark state not reflecting\n this.__reflectingProperty = null;\n }\n }\n\n /**\n * Requests an update which is processed asynchronously. This should be called\n * when an element should update based on some state not triggered by setting\n * a reactive property. In this case, pass no arguments. It should also be\n * called when manually implementing a property setter. In this case, pass the\n * property `name` and `oldValue` to ensure that any configured property\n * options are honored.\n *\n * @param name name of requesting property\n * @param oldValue old value of requesting property\n * @param options property options to use instead of the previously\n * configured options\n * @category updates\n */\n requestUpdate(\n name?: PropertyKey,\n oldValue?: unknown,\n options?: PropertyDeclaration\n ): void {\n let shouldRequestUpdate = true;\n // If we have a property key, perform property update steps.\n if (name !== undefined) {\n options =\n options ||\n (this.constructor as typeof ReactiveElement).getPropertyOptions(name);\n const hasChanged = options.hasChanged || notEqual;\n if (hasChanged(this[name as keyof this], oldValue)) {\n if (!this._$changedProperties.has(name)) {\n this._$changedProperties.set(name, oldValue);\n }\n // Add to reflecting properties set.\n // Note, it's important that every change has a chance to add the\n // property to `_reflectingProperties`. This ensures setting\n // attribute + property reflects correctly.\n if (options.reflect === true && this.__reflectingProperty !== name) {\n if (this.__reflectingProperties === undefined) {\n this.__reflectingProperties = new Map();\n }\n this.__reflectingProperties.set(name, options);\n }\n } else {\n // Abort the request if the property should not be considered changed.\n shouldRequestUpdate = false;\n }\n }\n if (!this.isUpdatePending && shouldRequestUpdate) {\n this.__updatePromise = this.__enqueueUpdate();\n }\n // Note, since this no longer returns a promise, in dev mode we return a\n // thenable which warns if it's called.\n return DEV_MODE\n ? (requestUpdateThenable(this.localName) as unknown as void)\n : undefined;\n }\n\n /**\n * Sets up the element to asynchronously update.\n */\n private async __enqueueUpdate() {\n this.isUpdatePending = true;\n try {\n // Ensure any previous update has resolved before updating.\n // This `await` also ensures that property changes are batched.\n await this.__updatePromise;\n } catch (e) {\n // Refire any previous errors async so they do not disrupt the update\n // cycle. Errors are refired so developers have a chance to observe\n // them, and this can be done by implementing\n // `window.onunhandledrejection`.\n Promise.reject(e);\n }\n const result = this.scheduleUpdate();\n // If `scheduleUpdate` returns a Promise, we await it. This is done to\n // enable coordinating updates with a scheduler. Note, the result is\n // checked to avoid delaying an additional microtask unless we need to.\n if (result != null) {\n await result;\n }\n return !this.isUpdatePending;\n }\n\n /**\n * Schedules an element update. You can override this method to change the\n * timing of updates by returning a Promise. The update will await the\n * returned Promise, and you should resolve the Promise to allow the update\n * to proceed. If this method is overridden, `super.scheduleUpdate()`\n * must be called.\n *\n * For instance, to schedule updates to occur just before the next frame:\n *\n * ```ts\n * override protected async scheduleUpdate(): Promise {\n * await new Promise((resolve) => requestAnimationFrame(() => resolve()));\n * super.scheduleUpdate();\n * }\n * ```\n * @category updates\n */\n protected scheduleUpdate(): void | Promise {\n return this.performUpdate();\n }\n\n /**\n * Performs an element update. Note, if an exception is thrown during the\n * update, `firstUpdated` and `updated` will not be called.\n *\n * Call `performUpdate()` to immediately process a pending update. This should\n * generally not be needed, but it can be done in rare cases when you need to\n * update synchronously.\n *\n * Note: To ensure `performUpdate()` synchronously completes a pending update,\n * it should not be overridden. In LitElement 2.x it was suggested to override\n * `performUpdate()` to also customizing update scheduling. Instead, you should now\n * override `scheduleUpdate()`. For backwards compatibility with LitElement 2.x,\n * scheduling updates via `performUpdate()` continues to work, but will make\n * also calling `performUpdate()` to synchronously process updates difficult.\n *\n * @category updates\n */\n protected performUpdate(): void | Promise {\n // Abort any update if one is not pending when this is called.\n // This can happen if `performUpdate` is called early to \"flush\"\n // the update.\n if (!this.isUpdatePending) {\n return;\n }\n debugLogEvent?.({kind: 'update'});\n // create renderRoot before first update.\n if (!this.hasUpdated) {\n // Produce warning if any class properties are shadowed by class fields\n if (DEV_MODE) {\n const shadowedProperties: string[] = [];\n (\n this.constructor as typeof ReactiveElement\n ).__reactivePropertyKeys?.forEach((p) => {\n if (this.hasOwnProperty(p) && !this.__instanceProperties?.has(p)) {\n shadowedProperties.push(p as string);\n }\n });\n if (shadowedProperties.length) {\n throw new Error(\n `The following properties on element ${this.localName} will not ` +\n `trigger updates as expected because they are set using class ` +\n `fields: ${shadowedProperties.join(', ')}. ` +\n `Native class fields and some compiled output will overwrite ` +\n `accessors used for detecting changes. See ` +\n `https://lit.dev/msg/class-field-shadowing ` +\n `for more information.`\n );\n }\n }\n }\n // Mixin instance properties once, if they exist.\n if (this.__instanceProperties) {\n // Use forEach so this works even if for/of loops are compiled to for loops\n // expecting arrays\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this.__instanceProperties!.forEach((v, p) => ((this as any)[p] = v));\n this.__instanceProperties = undefined;\n }\n let shouldUpdate = false;\n const changedProperties = this._$changedProperties;\n try {\n shouldUpdate = this.shouldUpdate(changedProperties);\n if (shouldUpdate) {\n this.willUpdate(changedProperties);\n this.__controllers?.forEach((c) => c.hostUpdate?.());\n this.update(changedProperties);\n } else {\n this.__markUpdated();\n }\n } catch (e) {\n // Prevent `firstUpdated` and `updated` from running when there's an\n // update exception.\n shouldUpdate = false;\n // Ensure element can accept additional updates after an exception.\n this.__markUpdated();\n throw e;\n }\n // The update is no longer considered pending and further updates are now allowed.\n if (shouldUpdate) {\n this._$didUpdate(changedProperties);\n }\n }\n\n /**\n * Invoked before `update()` to compute values needed during the update.\n *\n * Implement `willUpdate` to compute property values that depend on other\n * properties and are used in the rest of the update process.\n *\n * ```ts\n * willUpdate(changedProperties) {\n * // only need to check changed properties for an expensive computation.\n * if (changedProperties.has('firstName') || changedProperties.has('lastName')) {\n * this.sha = computeSHA(`${this.firstName} ${this.lastName}`);\n * }\n * }\n *\n * render() {\n * return html`SHA: ${this.sha}`;\n * }\n * ```\n *\n * @category updates\n */\n protected willUpdate(_changedProperties: PropertyValues): void {}\n\n // Note, this is an override point for polyfill-support.\n // @internal\n _$didUpdate(changedProperties: PropertyValues) {\n this.__controllers?.forEach((c) => c.hostUpdated?.());\n if (!this.hasUpdated) {\n this.hasUpdated = true;\n this.firstUpdated(changedProperties);\n }\n this.updated(changedProperties);\n if (\n DEV_MODE &&\n this.isUpdatePending &&\n (this.constructor as typeof ReactiveElement).enabledWarnings!.indexOf(\n 'change-in-update'\n ) >= 0\n ) {\n issueWarning(\n 'change-in-update',\n `Element ${this.localName} scheduled an update ` +\n `(generally because a property was set) ` +\n `after an update completed, causing a new update to be scheduled. ` +\n `This is inefficient and should be avoided unless the next update ` +\n `can only be scheduled as a side effect of the previous update.`\n );\n }\n }\n\n private __markUpdated() {\n this._$changedProperties = new Map();\n this.isUpdatePending = false;\n }\n\n /**\n * Returns a Promise that resolves when the element has completed updating.\n * The Promise value is a boolean that is `true` if the element completed the\n * update without triggering another update. The Promise result is `false` if\n * a property was set inside `updated()`. If the Promise is rejected, an\n * exception was thrown during the update.\n *\n * To await additional asynchronous work, override the `getUpdateComplete`\n * method. For example, it is sometimes useful to await a rendered element\n * before fulfilling this Promise. To do this, first await\n * `super.getUpdateComplete()`, then any subsequent state.\n *\n * @return A promise of a boolean that resolves to true if the update completed\n * without triggering another update.\n * @category updates\n */\n get updateComplete(): Promise {\n return this.getUpdateComplete();\n }\n\n /**\n * Override point for the `updateComplete` promise.\n *\n * It is not safe to override the `updateComplete` getter directly due to a\n * limitation in TypeScript which means it is not possible to call a\n * superclass getter (e.g. `super.updateComplete.then(...)`) when the target\n * language is ES5 (https://github.com/microsoft/TypeScript/issues/338).\n * This method should be overridden instead. For example:\n *\n * ```ts\n * class MyElement extends LitElement {\n * override async getUpdateComplete() {\n * const result = await super.getUpdateComplete();\n * await this._myChild.updateComplete;\n * return result;\n * }\n * }\n * ```\n *\n * @return A promise of a boolean that resolves to true if the update completed\n * without triggering another update.\n * @category updates\n */\n protected getUpdateComplete(): Promise {\n return this.__updatePromise;\n }\n\n /**\n * Controls whether or not `update()` should be called when the element requests\n * an update. By default, this method always returns `true`, but this can be\n * customized to control when to update.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected shouldUpdate(_changedProperties: PropertyValues): boolean {\n return true;\n }\n\n /**\n * Updates the element. This method reflects property values to attributes.\n * It can be overridden to render and keep updated element DOM.\n * Setting properties inside this method will *not* trigger\n * another update.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected update(_changedProperties: PropertyValues) {\n if (this.__reflectingProperties !== undefined) {\n // Use forEach so this works even if for/of loops are compiled to for\n // loops expecting arrays\n this.__reflectingProperties.forEach((v, k) =>\n this.__propertyToAttribute(k, this[k as keyof this], v)\n );\n this.__reflectingProperties = undefined;\n }\n this.__markUpdated();\n }\n\n /**\n * Invoked whenever the element is updated. Implement to perform\n * post-updating tasks via DOM APIs, for example, focusing an element.\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected updated(_changedProperties: PropertyValues) {}\n\n /**\n * Invoked when the element is first updated. Implement to perform one time\n * work on the element after update.\n *\n * ```ts\n * firstUpdated() {\n * this.renderRoot.getElementById('my-text-area').focus();\n * }\n * ```\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected firstUpdated(_changedProperties: PropertyValues) {}\n}\n\n// Apply polyfills if available\npolyfillSupport?.({ReactiveElement});\n\n// Dev mode warnings...\nif (DEV_MODE) {\n // Default warning set.\n ReactiveElement.enabledWarnings = ['change-in-update'];\n const ensureOwnWarnings = function (ctor: typeof ReactiveElement) {\n if (\n !ctor.hasOwnProperty(JSCompiler_renameProperty('enabledWarnings', ctor))\n ) {\n ctor.enabledWarnings = ctor.enabledWarnings!.slice();\n }\n };\n ReactiveElement.enableWarning = function (\n this: typeof ReactiveElement,\n warning: WarningKind\n ) {\n ensureOwnWarnings(this);\n if (this.enabledWarnings!.indexOf(warning) < 0) {\n this.enabledWarnings!.push(warning);\n }\n };\n ReactiveElement.disableWarning = function (\n this: typeof ReactiveElement,\n warning: WarningKind\n ) {\n ensureOwnWarnings(this);\n const i = this.enabledWarnings!.indexOf(warning);\n if (i >= 0) {\n this.enabledWarnings!.splice(i, 1);\n }\n };\n}\n\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for ReactiveElement usage.\n(global.reactiveElementVersions ??= []).push('1.6.1');\nif (DEV_MODE && global.reactiveElementVersions.length > 1) {\n issueWarning!(\n 'multiple-versions',\n `Multiple versions of Lit loaded. Loading multiple versions ` +\n `is not recommended.`\n );\n}\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n// IMPORTANT: these imports must be type-only\nimport type {Directive, DirectiveResult, PartInfo} from './directive.js';\n\nconst DEV_MODE = true;\nconst ENABLE_EXTRA_SECURITY_HOOKS = true;\nconst ENABLE_SHADYDOM_NOPATCH = true;\nconst NODE_MODE = false;\n// Use window for browser builds because IE11 doesn't have globalThis.\nconst global = NODE_MODE ? globalThis : window;\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace LitUnstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry =\n | TemplatePrep\n | TemplateInstantiated\n | TemplateInstantiatedAndUpdated\n | TemplateUpdating\n | BeginRender\n | EndRender\n | CommitPartEntry\n | SetPartValue;\n export interface TemplatePrep {\n kind: 'template prep';\n template: Template;\n strings: TemplateStringsArray;\n clonableTemplate: HTMLTemplateElement;\n parts: TemplatePart[];\n }\n export interface BeginRender {\n kind: 'begin render';\n id: number;\n value: unknown;\n container: HTMLElement | DocumentFragment;\n options: RenderOptions | undefined;\n part: ChildPart | undefined;\n }\n export interface EndRender {\n kind: 'end render';\n id: number;\n value: unknown;\n container: HTMLElement | DocumentFragment;\n options: RenderOptions | undefined;\n part: ChildPart;\n }\n export interface TemplateInstantiated {\n kind: 'template instantiated';\n template: Template | CompiledTemplate;\n instance: TemplateInstance;\n options: RenderOptions | undefined;\n fragment: Node;\n parts: Array;\n values: unknown[];\n }\n export interface TemplateInstantiatedAndUpdated {\n kind: 'template instantiated and updated';\n template: Template | CompiledTemplate;\n instance: TemplateInstance;\n options: RenderOptions | undefined;\n fragment: Node;\n parts: Array;\n values: unknown[];\n }\n export interface TemplateUpdating {\n kind: 'template updating';\n template: Template | CompiledTemplate;\n instance: TemplateInstance;\n options: RenderOptions | undefined;\n parts: Array;\n values: unknown[];\n }\n export interface SetPartValue {\n kind: 'set part';\n part: Part;\n value: unknown;\n valueIndex: number;\n values: unknown[];\n templateInstance: TemplateInstance;\n }\n\n export type CommitPartEntry =\n | CommitNothingToChildEntry\n | CommitText\n | CommitNode\n | CommitAttribute\n | CommitProperty\n | CommitBooleanAttribute\n | CommitEventListener\n | CommitToElementBinding;\n\n export interface CommitNothingToChildEntry {\n kind: 'commit nothing to child';\n start: ChildNode;\n end: ChildNode | null;\n parent: Disconnectable | undefined;\n options: RenderOptions | undefined;\n }\n\n export interface CommitText {\n kind: 'commit text';\n node: Text;\n value: unknown;\n options: RenderOptions | undefined;\n }\n\n export interface CommitNode {\n kind: 'commit node';\n start: Node;\n parent: Disconnectable | undefined;\n value: Node;\n options: RenderOptions | undefined;\n }\n\n export interface CommitAttribute {\n kind: 'commit attribute';\n element: Element;\n name: string;\n value: unknown;\n options: RenderOptions | undefined;\n }\n\n export interface CommitProperty {\n kind: 'commit property';\n element: Element;\n name: string;\n value: unknown;\n options: RenderOptions | undefined;\n }\n\n export interface CommitBooleanAttribute {\n kind: 'commit boolean attribute';\n element: Element;\n name: string;\n value: boolean;\n options: RenderOptions | undefined;\n }\n\n export interface CommitEventListener {\n kind: 'commit event listener';\n element: Element;\n name: string;\n value: unknown;\n oldListener: unknown;\n options: RenderOptions | undefined;\n // True if we're removing the old event listener (e.g. because settings changed, or value is nothing)\n removeListener: boolean;\n // True if we're adding a new event listener (e.g. because first render, or settings changed)\n addListener: boolean;\n }\n\n export interface CommitToElementBinding {\n kind: 'commit to element binding';\n element: Element;\n value: unknown;\n options: RenderOptions | undefined;\n }\n }\n}\n\ninterface DebugLoggingWindow {\n // Even in dev mode, we generally don't want to emit these events, as that's\n // another level of cost, so only emit them when DEV_MODE is true _and_ when\n // window.emitLitDebugEvents is true.\n emitLitDebugLogEvents?: boolean;\n}\n\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event: LitUnstable.DebugLog.Entry) => {\n const shouldEmit = (global as unknown as DebugLoggingWindow)\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(\n new CustomEvent('lit-debug', {\n detail: event,\n })\n );\n }\n : undefined;\n// Used for connecting beginRender and endRender events when there are nested\n// renders when errors are thrown preventing an endRender event from being\n// called.\nlet debugLogRenderId = 0;\n\nlet issueWarning: (code: string, warning: string) => void;\n\nif (DEV_MODE) {\n global.litIssuedWarnings ??= new Set();\n\n // Issue a warning, if we haven't already.\n issueWarning = (code: string, warning: string) => {\n warning += code\n ? ` See https://lit.dev/msg/${code} for more information.`\n : '';\n if (!global.litIssuedWarnings!.has(warning)) {\n console.warn(warning);\n global.litIssuedWarnings!.add(warning);\n }\n };\n\n issueWarning(\n 'dev-mode',\n `Lit is in dev mode. Not recommended for production!`\n );\n}\n\nconst wrap =\n ENABLE_SHADYDOM_NOPATCH &&\n global.ShadyDOM?.inUse &&\n global.ShadyDOM?.noPatch === true\n ? global.ShadyDOM!.wrap\n : (node: Node) => node;\n\nconst trustedTypes = (global as unknown as Partial).trustedTypes;\n\n/**\n * Our TrustedTypePolicy for HTML which is declared using the html template\n * tag function.\n *\n * That HTML is a developer-authored constant, and is parsed with innerHTML\n * before any untrusted expressions have been mixed in. Therefor it is\n * considered safe by construction.\n */\nconst policy = trustedTypes\n ? trustedTypes.createPolicy('lit-html', {\n createHTML: (s) => s,\n })\n : undefined;\n\n/**\n * Used to sanitize any value before it is written into the DOM. This can be\n * used to implement a security policy of allowed and disallowed values in\n * order to prevent XSS attacks.\n *\n * One way of using this callback would be to check attributes and properties\n * against a list of high risk fields, and require that values written to such\n * fields be instances of a class which is safe by construction. Closure's Safe\n * HTML Types is one implementation of this technique (\n * https://github.com/google/safe-html-types/blob/master/doc/safehtml-types.md).\n * The TrustedTypes polyfill in API-only mode could also be used as a basis\n * for this technique (https://github.com/WICG/trusted-types).\n *\n * @param node The HTML node (usually either a #text node or an Element) that\n * is being written to. Note that this is just an exemplar node, the write\n * may take place against another instance of the same class of node.\n * @param name The name of an attribute or property (for example, 'href').\n * @param type Indicates whether the write that's about to be performed will\n * be to a property or a node.\n * @return A function that will sanitize this class of writes.\n */\nexport type SanitizerFactory = (\n node: Node,\n name: string,\n type: 'property' | 'attribute'\n) => ValueSanitizer;\n\n/**\n * A function which can sanitize values that will be written to a specific kind\n * of DOM sink.\n *\n * See SanitizerFactory.\n *\n * @param value The value to sanitize. Will be the actual value passed into\n * the lit-html template literal, so this could be of any type.\n * @return The value to write to the DOM. Usually the same as the input value,\n * unless sanitization is needed.\n */\nexport type ValueSanitizer = (value: unknown) => unknown;\n\nconst identityFunction: ValueSanitizer = (value: unknown) => value;\nconst noopSanitizer: SanitizerFactory = (\n _node: Node,\n _name: string,\n _type: 'property' | 'attribute'\n) => identityFunction;\n\n/** Sets the global sanitizer factory. */\nconst setSanitizer = (newSanitizer: SanitizerFactory) => {\n if (!ENABLE_EXTRA_SECURITY_HOOKS) {\n return;\n }\n if (sanitizerFactoryInternal !== noopSanitizer) {\n throw new Error(\n `Attempted to overwrite existing lit-html security policy.` +\n ` setSanitizeDOMValueFactory should be called at most once.`\n );\n }\n sanitizerFactoryInternal = newSanitizer;\n};\n\n/**\n * Only used in internal tests, not a part of the public API.\n */\nconst _testOnlyClearSanitizerFactoryDoNotCallOrElse = () => {\n sanitizerFactoryInternal = noopSanitizer;\n};\n\nconst createSanitizer: SanitizerFactory = (node, name, type) => {\n return sanitizerFactoryInternal(node, name, type);\n};\n\n// Added to an attribute name to mark the attribute as bound so we can find\n// it easily.\nconst boundAttributeSuffix = '$lit$';\n\n// This marker is used in many syntactic positions in HTML, so it must be\n// a valid element name and attribute name. We don't support dynamic names (yet)\n// but this at least ensures that the parse tree is closer to the template\n// intention.\nconst marker = `lit$${String(Math.random()).slice(9)}$`;\n\n// String used to tell if a comment is a marker comment\nconst markerMatch = '?' + marker;\n\n// Text used to insert a comment marker node. We use processing instruction\n// syntax because it's slightly smaller, but parses as a comment node.\nconst nodeMarker = `<${markerMatch}>`;\n\nconst d =\n NODE_MODE && global.document === undefined\n ? ({\n createTreeWalker() {\n return {};\n },\n } as unknown as Document)\n : document;\n\n// Creates a dynamic marker. We never have to search for these in the DOM.\nconst createMarker = () => d.createComment('');\n\n// https://tc39.github.io/ecma262/#sec-typeof-operator\ntype Primitive = null | undefined | boolean | number | string | symbol | bigint;\nconst isPrimitive = (value: unknown): value is Primitive =>\n value === null || (typeof value != 'object' && typeof value != 'function');\nconst isArray = Array.isArray;\nconst isIterable = (value: unknown): value is Iterable =>\n isArray(value) ||\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n typeof (value as any)?.[Symbol.iterator] === 'function';\n\nconst SPACE_CHAR = `[ \\t\\n\\f\\r]`;\nconst ATTR_VALUE_CHAR = `[^ \\t\\n\\f\\r\"'\\`<>=]`;\nconst NAME_CHAR = `[^\\\\s\"'>=/]`;\n\n// These regexes represent the five parsing states that we care about in the\n// Template's HTML scanner. They match the *end* of the state they're named\n// after.\n// Depending on the match, we transition to a new state. If there's no match,\n// we stay in the same state.\n// Note that the regexes are stateful. We utilize lastIndex and sync it\n// across the multiple regexes used. In addition to the five regexes below\n// we also dynamically create a regex to find the matching end tags for raw\n// text elements.\n\n/**\n * End of text is: `<` followed by:\n * (comment start) or (tag) or (dynamic tag binding)\n */\nconst textEndRegex = /<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g;\nconst COMMENT_START = 1;\nconst TAG_NAME = 2;\nconst DYNAMIC_TAG_NAME = 3;\n\nconst commentEndRegex = /-->/g;\n/**\n * Comments not started with