pecunia-root 0.0.9 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.mjs +8 -0
- package/dist/adapters/drizzle-adapter/index.mjs +4 -1
- package/dist/adapters/drizzle-adapter/index.mjs.map +1 -1
- package/dist/adapters/mongodb-adapter/index.mjs +12 -11
- package/dist/adapters/mongodb-adapter/index.mjs.map +1 -1
- package/dist/db/migrations/index.mjs +0 -6
- package/dist/db/migrations/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/code-points-data.mjs +14 -0
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/code-points-data.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/index.mjs +54 -0
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/memory-code-points.mjs +36 -0
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/memory-code-points.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/node.mjs +27 -0
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/node.mjs.map +1 -0
- package/dist/node_modules/.pnpm/bson@6.10.4/node_modules/bson/lib/bson.mjs +3728 -0
- package/dist/node_modules/.pnpm/bson@6.10.4/node_modules/bson/lib/bson.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/column-builder.mjs +108 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/column-builder.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/column.mjs +55 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/column.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/entity.mjs +18 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/entity.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/columns/common.mjs +183 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/columns/common.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/columns/enum.mjs +35 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/columns/enum.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/foreign-keys.mjs +68 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/foreign-keys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/unique-constraint.mjs +56 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/unique-constraint.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/utils/array.mjs +65 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/utils/array.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/expressions/conditions.mjs +69 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/expressions/conditions.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/expressions/select.mjs +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/expressions/select.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/functions/aggregate.mjs +10 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/functions/aggregate.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/sql.mjs +366 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/sql.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/subquery.mjs +22 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/subquery.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/table.mjs +62 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/table.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/table.utils.mjs +6 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/table.utils.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/tracing-utils.mjs +8 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/tracing-utils.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/tracing.mjs +8 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/tracing.mjs.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/view-common.mjs +6 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/view-common.mjs.map +1 -0
- package/dist/node_modules/.pnpm/memory-pager@1.5.0/node_modules/memory-pager/index.mjs +137 -0
- package/dist/node_modules/.pnpm/memory-pager@1.5.0/node_modules/memory-pager/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/index.mjs +211 -0
- package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/redact.mjs +95 -0
- package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/redact.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/admin.mjs +158 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/admin.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bson.mjs +195 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bson.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/common.mjs +710 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/common.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/ordered.mjs +53 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/ordered.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/unordered.mjs +63 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/unordered.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/change_stream.mjs +368 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/change_stream.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.mjs +234 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/client_encryption.mjs +545 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/client_encryption.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.mjs +83 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/errors.mjs +146 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/errors.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.mjs +58 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/aws.mjs +30 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/aws.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/azure.mjs +135 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/azure.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/gcp.mjs +25 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/gcp.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/index.mjs +47 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/state_machine.mjs +362 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/state_machine.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/auth_provider.mjs +58 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/auth_provider.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.mjs +123 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/gssapi.mjs +128 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/gssapi.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongo_credentials.mjs +133 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongo_credentials.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_aws.mjs +126 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_aws.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.mjs +79 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.mjs +65 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.mjs +127 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.mjs +47 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.mjs +44 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.mjs +101 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.mjs +33 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.mjs +53 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.mjs +29 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.mjs +83 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/plain.mjs +36 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/plain.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/providers.mjs +32 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/providers.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/scram.mjs +206 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/scram.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/x509.mjs +45 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/x509.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/command_monitoring_events.mjs +213 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/command_monitoring_events.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/commands.mjs +411 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/commands.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connect.mjs +288 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connect.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection.mjs +423 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool.mjs +483 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool_events.mjs +207 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool_events.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/errors.mjs +116 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/errors.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/handshake/client_metadata.mjs +183 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/handshake/client_metadata.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.mjs +55 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/stream_description.mjs +60 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/stream_description.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/compression.mjs +139 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/compression.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/constants.mjs +28 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/constants.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_data.mjs +117 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_data.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.mjs +182 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/responses.mjs +304 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/responses.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/shared.mjs +34 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/shared.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/collection.mjs +739 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/collection.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/connection_string.mjs +805 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/connection_string.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/constants.mjs +174 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/constants.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/abstract_cursor.mjs +726 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/abstract_cursor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/aggregation_cursor.mjs +172 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/aggregation_cursor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/change_stream_cursor.mjs +103 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/change_stream_cursor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.mjs +66 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/explainable_cursor.mjs +41 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/explainable_cursor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/find_cursor.mjs +365 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/find_cursor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_collections_cursor.mjs +50 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_collections_cursor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_indexes_cursor.mjs +48 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_indexes_cursor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.mjs +23 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/run_command_cursor.mjs +106 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/run_command_cursor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/db.mjs +428 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/db.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/deps.mjs +124 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/deps.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/encrypter.mjs +95 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/encrypter.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/error.mjs +1305 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/error.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/explain.mjs +59 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/explain.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/download.mjs +250 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/download.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/index.mjs +170 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/upload.mjs +315 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/upload.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/index.mjs +925 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client.mjs +520 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client_auth_providers.mjs +90 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client_auth_providers.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_logger.mjs +582 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_logger.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_types.mjs +64 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_types.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/aggregate.mjs +86 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/aggregate.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.mjs +60 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.mjs +264 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/executor.mjs +109 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/executor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.mjs +172 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/command.mjs +68 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/command.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/count.mjs +53 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/count.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/create_collection.mjs +123 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/create_collection.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/delete.mjs +119 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/delete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/distinct.mjs +65 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/distinct.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/drop.mjs +97 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/drop.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/estimated_document_count.mjs +47 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/estimated_document_count.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/execute_operation.mjs +188 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/execute_operation.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find.mjs +103 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find_and_modify.mjs +136 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find_and_modify.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/get_more.mjs +61 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/get_more.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/indexes.mjs +179 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/indexes.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/insert.mjs +77 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/insert.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/kill_cursors.mjs +48 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/kill_cursors.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_collections.mjs +60 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_collections.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_databases.mjs +43 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_databases.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/operation.mjs +105 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/operation.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/profiling_level.mjs +50 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/profiling_level.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/remove_user.mjs +39 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/remove_user.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/rename.mjs +49 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/rename.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/run_command.mjs +58 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/run_command.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/create.mjs +46 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/create.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/drop.mjs +48 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/drop.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/update.mjs +46 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/update.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/set_profiling_level.mjs +67 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/set_profiling_level.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/stats.mjs +37 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/stats.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/update.mjs +171 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/update.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/validate_collection.mjs +45 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/validate_collection.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_concern.mjs +71 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_concern.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_preference.mjs +165 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_preference.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/resource_management.mjs +62 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/resource_management.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/common.mjs +51 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/common.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/events.mjs +156 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/events.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/monitor.mjs +477 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/monitor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server.mjs +315 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_description.mjs +157 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_description.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection.mjs +184 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection_events.mjs +96 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection_events.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/srv_polling.mjs +107 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/srv_polling.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology.mjs +540 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology_description.mjs +298 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology_description.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sessions.mjs +623 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sessions.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sort.mjs +91 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sort.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/timeout.mjs +254 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/timeout.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/transactions.mjs +138 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/transactions.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/utils.mjs +993 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/utils.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/write_concern.mjs +81 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/write_concern.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/package.mjs +171 -0
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/package.mjs.map +1 -0
- package/dist/node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.mjs +295 -0
- package/dist/node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/sparse-bitfield@3.0.3/node_modules/sparse-bitfield/index.mjs +81 -0
- package/dist/node_modules/.pnpm/sparse-bitfield@3.0.3/node_modules/sparse-bitfield/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/index.mjs +206 -0
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/mappingTable.mjs +33590 -0
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/mappingTable.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/regexes.mjs +37 -0
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/regexes.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/statusMapping.mjs +18 -0
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/statusMapping.mjs.map +1 -0
- package/dist/node_modules/.pnpm/webidl-conversions@7.0.0/node_modules/webidl-conversions/lib/index.mjs +252 -0
- package/dist/node_modules/.pnpm/webidl-conversions@7.0.0/node_modules/webidl-conversions/lib/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/index.mjs +41 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/Function.mjs +41 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/Function.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL-impl.mjs +173 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL-impl.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL.mjs +334 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams-impl.mjs +90 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams-impl.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.mjs +356 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.mjs +23 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/infra.mjs +29 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/infra.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.mjs +140 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/url-state-machine.mjs +831 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/url-state-machine.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/urlencoded.mjs +77 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/urlencoded.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/utils.mjs +147 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/utils.mjs.map +1 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/webidl2js-wrapper.mjs +17 -0
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/webidl2js-wrapper.mjs.map +1 -0
- package/package.json +2 -40
package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.mjs
ADDED
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_lib } from "../../../../webidl-conversions@7.0.0/node_modules/webidl-conversions/lib/index.mjs";
|
|
3
|
+
import { require_utils } from "./utils.mjs";
|
|
4
|
+
import { require_Function } from "./Function.mjs";
|
|
5
|
+
import { require_URLSearchParams_impl } from "./URLSearchParams-impl.mjs";
|
|
6
|
+
|
|
7
|
+
//#region ../../node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.js
|
|
8
|
+
var require_URLSearchParams = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
9
|
+
const conversions = require_lib();
|
|
10
|
+
const utils = require_utils();
|
|
11
|
+
const Function = require_Function();
|
|
12
|
+
const newObjectInRealm = utils.newObjectInRealm;
|
|
13
|
+
const implSymbol = utils.implSymbol;
|
|
14
|
+
const ctorRegistrySymbol = utils.ctorRegistrySymbol;
|
|
15
|
+
const interfaceName = "URLSearchParams";
|
|
16
|
+
exports.is = (value) => {
|
|
17
|
+
return utils.isObject(value) && utils.hasOwn(value, implSymbol) && value[implSymbol] instanceof Impl.implementation;
|
|
18
|
+
};
|
|
19
|
+
exports.isImpl = (value) => {
|
|
20
|
+
return utils.isObject(value) && value instanceof Impl.implementation;
|
|
21
|
+
};
|
|
22
|
+
exports.convert = (globalObject, value, { context = "The provided value" } = {}) => {
|
|
23
|
+
if (exports.is(value)) return utils.implForWrapper(value);
|
|
24
|
+
throw new globalObject.TypeError(`${context} is not of type 'URLSearchParams'.`);
|
|
25
|
+
};
|
|
26
|
+
exports.createDefaultIterator = (globalObject, target, kind) => {
|
|
27
|
+
const iteratorPrototype = globalObject[ctorRegistrySymbol]["URLSearchParams Iterator"];
|
|
28
|
+
const iterator = Object.create(iteratorPrototype);
|
|
29
|
+
Object.defineProperty(iterator, utils.iterInternalSymbol, {
|
|
30
|
+
value: {
|
|
31
|
+
target,
|
|
32
|
+
kind,
|
|
33
|
+
index: 0
|
|
34
|
+
},
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
return iterator;
|
|
38
|
+
};
|
|
39
|
+
function makeWrapper(globalObject, newTarget) {
|
|
40
|
+
let proto;
|
|
41
|
+
if (newTarget !== void 0) proto = newTarget.prototype;
|
|
42
|
+
if (!utils.isObject(proto)) proto = globalObject[ctorRegistrySymbol]["URLSearchParams"].prototype;
|
|
43
|
+
return Object.create(proto);
|
|
44
|
+
}
|
|
45
|
+
exports.create = (globalObject, constructorArgs, privateData) => {
|
|
46
|
+
const wrapper = makeWrapper(globalObject);
|
|
47
|
+
return exports.setup(wrapper, globalObject, constructorArgs, privateData);
|
|
48
|
+
};
|
|
49
|
+
exports.createImpl = (globalObject, constructorArgs, privateData) => {
|
|
50
|
+
const wrapper = exports.create(globalObject, constructorArgs, privateData);
|
|
51
|
+
return utils.implForWrapper(wrapper);
|
|
52
|
+
};
|
|
53
|
+
exports._internalSetup = (wrapper, globalObject) => {};
|
|
54
|
+
exports.setup = (wrapper, globalObject, constructorArgs = [], privateData = {}) => {
|
|
55
|
+
privateData.wrapper = wrapper;
|
|
56
|
+
exports._internalSetup(wrapper, globalObject);
|
|
57
|
+
Object.defineProperty(wrapper, implSymbol, {
|
|
58
|
+
value: new Impl.implementation(globalObject, constructorArgs, privateData),
|
|
59
|
+
configurable: true
|
|
60
|
+
});
|
|
61
|
+
wrapper[implSymbol][utils.wrapperSymbol] = wrapper;
|
|
62
|
+
if (Impl.init) Impl.init(wrapper[implSymbol]);
|
|
63
|
+
return wrapper;
|
|
64
|
+
};
|
|
65
|
+
exports.new = (globalObject, newTarget) => {
|
|
66
|
+
const wrapper = makeWrapper(globalObject, newTarget);
|
|
67
|
+
exports._internalSetup(wrapper, globalObject);
|
|
68
|
+
Object.defineProperty(wrapper, implSymbol, {
|
|
69
|
+
value: Object.create(Impl.implementation.prototype),
|
|
70
|
+
configurable: true
|
|
71
|
+
});
|
|
72
|
+
wrapper[implSymbol][utils.wrapperSymbol] = wrapper;
|
|
73
|
+
if (Impl.init) Impl.init(wrapper[implSymbol]);
|
|
74
|
+
return wrapper[implSymbol];
|
|
75
|
+
};
|
|
76
|
+
const exposed = new Set(["Window", "Worker"]);
|
|
77
|
+
exports.install = (globalObject, globalNames) => {
|
|
78
|
+
if (!globalNames.some((globalName) => exposed.has(globalName))) return;
|
|
79
|
+
const ctorRegistry = utils.initCtorRegistry(globalObject);
|
|
80
|
+
class URLSearchParams {
|
|
81
|
+
constructor() {
|
|
82
|
+
const args = [];
|
|
83
|
+
{
|
|
84
|
+
let curArg = arguments[0];
|
|
85
|
+
if (curArg !== void 0) if (utils.isObject(curArg)) if (curArg[Symbol.iterator] !== void 0) if (!utils.isObject(curArg)) throw new globalObject.TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence is not an iterable object.");
|
|
86
|
+
else {
|
|
87
|
+
const V = [];
|
|
88
|
+
const tmp = curArg;
|
|
89
|
+
for (let nextItem of tmp) {
|
|
90
|
+
if (!utils.isObject(nextItem)) throw new globalObject.TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element is not an iterable object.");
|
|
91
|
+
else {
|
|
92
|
+
const V$1 = [];
|
|
93
|
+
const tmp$1 = nextItem;
|
|
94
|
+
for (let nextItem$1 of tmp$1) {
|
|
95
|
+
nextItem$1 = conversions["USVString"](nextItem$1, {
|
|
96
|
+
context: "Failed to construct 'URLSearchParams': parameter 1 sequence's element's element",
|
|
97
|
+
globals: globalObject
|
|
98
|
+
});
|
|
99
|
+
V$1.push(nextItem$1);
|
|
100
|
+
}
|
|
101
|
+
nextItem = V$1;
|
|
102
|
+
}
|
|
103
|
+
V.push(nextItem);
|
|
104
|
+
}
|
|
105
|
+
curArg = V;
|
|
106
|
+
}
|
|
107
|
+
else if (!utils.isObject(curArg)) throw new globalObject.TypeError("Failed to construct 'URLSearchParams': parameter 1 record is not an object.");
|
|
108
|
+
else {
|
|
109
|
+
const result = Object.create(null);
|
|
110
|
+
for (const key of Reflect.ownKeys(curArg)) {
|
|
111
|
+
const desc = Object.getOwnPropertyDescriptor(curArg, key);
|
|
112
|
+
if (desc && desc.enumerable) {
|
|
113
|
+
let typedKey = key;
|
|
114
|
+
typedKey = conversions["USVString"](typedKey, {
|
|
115
|
+
context: "Failed to construct 'URLSearchParams': parameter 1 record's key",
|
|
116
|
+
globals: globalObject
|
|
117
|
+
});
|
|
118
|
+
let typedValue = curArg[key];
|
|
119
|
+
typedValue = conversions["USVString"](typedValue, {
|
|
120
|
+
context: "Failed to construct 'URLSearchParams': parameter 1 record's value",
|
|
121
|
+
globals: globalObject
|
|
122
|
+
});
|
|
123
|
+
result[typedKey] = typedValue;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
curArg = result;
|
|
127
|
+
}
|
|
128
|
+
else curArg = conversions["USVString"](curArg, {
|
|
129
|
+
context: "Failed to construct 'URLSearchParams': parameter 1",
|
|
130
|
+
globals: globalObject
|
|
131
|
+
});
|
|
132
|
+
else curArg = "";
|
|
133
|
+
args.push(curArg);
|
|
134
|
+
}
|
|
135
|
+
return exports.setup(Object.create(new.target.prototype), globalObject, args);
|
|
136
|
+
}
|
|
137
|
+
append(name, value) {
|
|
138
|
+
const esValue = this !== null && this !== void 0 ? this : globalObject;
|
|
139
|
+
if (!exports.is(esValue)) throw new globalObject.TypeError("'append' called on an object that is not a valid instance of URLSearchParams.");
|
|
140
|
+
if (arguments.length < 2) throw new globalObject.TypeError(`Failed to execute 'append' on 'URLSearchParams': 2 arguments required, but only ${arguments.length} present.`);
|
|
141
|
+
const args = [];
|
|
142
|
+
{
|
|
143
|
+
let curArg = arguments[0];
|
|
144
|
+
curArg = conversions["USVString"](curArg, {
|
|
145
|
+
context: "Failed to execute 'append' on 'URLSearchParams': parameter 1",
|
|
146
|
+
globals: globalObject
|
|
147
|
+
});
|
|
148
|
+
args.push(curArg);
|
|
149
|
+
}
|
|
150
|
+
{
|
|
151
|
+
let curArg = arguments[1];
|
|
152
|
+
curArg = conversions["USVString"](curArg, {
|
|
153
|
+
context: "Failed to execute 'append' on 'URLSearchParams': parameter 2",
|
|
154
|
+
globals: globalObject
|
|
155
|
+
});
|
|
156
|
+
args.push(curArg);
|
|
157
|
+
}
|
|
158
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].append(...args));
|
|
159
|
+
}
|
|
160
|
+
delete(name) {
|
|
161
|
+
const esValue = this !== null && this !== void 0 ? this : globalObject;
|
|
162
|
+
if (!exports.is(esValue)) throw new globalObject.TypeError("'delete' called on an object that is not a valid instance of URLSearchParams.");
|
|
163
|
+
if (arguments.length < 1) throw new globalObject.TypeError(`Failed to execute 'delete' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);
|
|
164
|
+
const args = [];
|
|
165
|
+
{
|
|
166
|
+
let curArg = arguments[0];
|
|
167
|
+
curArg = conversions["USVString"](curArg, {
|
|
168
|
+
context: "Failed to execute 'delete' on 'URLSearchParams': parameter 1",
|
|
169
|
+
globals: globalObject
|
|
170
|
+
});
|
|
171
|
+
args.push(curArg);
|
|
172
|
+
}
|
|
173
|
+
{
|
|
174
|
+
let curArg = arguments[1];
|
|
175
|
+
if (curArg !== void 0) curArg = conversions["USVString"](curArg, {
|
|
176
|
+
context: "Failed to execute 'delete' on 'URLSearchParams': parameter 2",
|
|
177
|
+
globals: globalObject
|
|
178
|
+
});
|
|
179
|
+
args.push(curArg);
|
|
180
|
+
}
|
|
181
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].delete(...args));
|
|
182
|
+
}
|
|
183
|
+
get(name) {
|
|
184
|
+
const esValue = this !== null && this !== void 0 ? this : globalObject;
|
|
185
|
+
if (!exports.is(esValue)) throw new globalObject.TypeError("'get' called on an object that is not a valid instance of URLSearchParams.");
|
|
186
|
+
if (arguments.length < 1) throw new globalObject.TypeError(`Failed to execute 'get' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);
|
|
187
|
+
const args = [];
|
|
188
|
+
{
|
|
189
|
+
let curArg = arguments[0];
|
|
190
|
+
curArg = conversions["USVString"](curArg, {
|
|
191
|
+
context: "Failed to execute 'get' on 'URLSearchParams': parameter 1",
|
|
192
|
+
globals: globalObject
|
|
193
|
+
});
|
|
194
|
+
args.push(curArg);
|
|
195
|
+
}
|
|
196
|
+
return esValue[implSymbol].get(...args);
|
|
197
|
+
}
|
|
198
|
+
getAll(name) {
|
|
199
|
+
const esValue = this !== null && this !== void 0 ? this : globalObject;
|
|
200
|
+
if (!exports.is(esValue)) throw new globalObject.TypeError("'getAll' called on an object that is not a valid instance of URLSearchParams.");
|
|
201
|
+
if (arguments.length < 1) throw new globalObject.TypeError(`Failed to execute 'getAll' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);
|
|
202
|
+
const args = [];
|
|
203
|
+
{
|
|
204
|
+
let curArg = arguments[0];
|
|
205
|
+
curArg = conversions["USVString"](curArg, {
|
|
206
|
+
context: "Failed to execute 'getAll' on 'URLSearchParams': parameter 1",
|
|
207
|
+
globals: globalObject
|
|
208
|
+
});
|
|
209
|
+
args.push(curArg);
|
|
210
|
+
}
|
|
211
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].getAll(...args));
|
|
212
|
+
}
|
|
213
|
+
has(name) {
|
|
214
|
+
const esValue = this !== null && this !== void 0 ? this : globalObject;
|
|
215
|
+
if (!exports.is(esValue)) throw new globalObject.TypeError("'has' called on an object that is not a valid instance of URLSearchParams.");
|
|
216
|
+
if (arguments.length < 1) throw new globalObject.TypeError(`Failed to execute 'has' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);
|
|
217
|
+
const args = [];
|
|
218
|
+
{
|
|
219
|
+
let curArg = arguments[0];
|
|
220
|
+
curArg = conversions["USVString"](curArg, {
|
|
221
|
+
context: "Failed to execute 'has' on 'URLSearchParams': parameter 1",
|
|
222
|
+
globals: globalObject
|
|
223
|
+
});
|
|
224
|
+
args.push(curArg);
|
|
225
|
+
}
|
|
226
|
+
{
|
|
227
|
+
let curArg = arguments[1];
|
|
228
|
+
if (curArg !== void 0) curArg = conversions["USVString"](curArg, {
|
|
229
|
+
context: "Failed to execute 'has' on 'URLSearchParams': parameter 2",
|
|
230
|
+
globals: globalObject
|
|
231
|
+
});
|
|
232
|
+
args.push(curArg);
|
|
233
|
+
}
|
|
234
|
+
return esValue[implSymbol].has(...args);
|
|
235
|
+
}
|
|
236
|
+
set(name, value) {
|
|
237
|
+
const esValue = this !== null && this !== void 0 ? this : globalObject;
|
|
238
|
+
if (!exports.is(esValue)) throw new globalObject.TypeError("'set' called on an object that is not a valid instance of URLSearchParams.");
|
|
239
|
+
if (arguments.length < 2) throw new globalObject.TypeError(`Failed to execute 'set' on 'URLSearchParams': 2 arguments required, but only ${arguments.length} present.`);
|
|
240
|
+
const args = [];
|
|
241
|
+
{
|
|
242
|
+
let curArg = arguments[0];
|
|
243
|
+
curArg = conversions["USVString"](curArg, {
|
|
244
|
+
context: "Failed to execute 'set' on 'URLSearchParams': parameter 1",
|
|
245
|
+
globals: globalObject
|
|
246
|
+
});
|
|
247
|
+
args.push(curArg);
|
|
248
|
+
}
|
|
249
|
+
{
|
|
250
|
+
let curArg = arguments[1];
|
|
251
|
+
curArg = conversions["USVString"](curArg, {
|
|
252
|
+
context: "Failed to execute 'set' on 'URLSearchParams': parameter 2",
|
|
253
|
+
globals: globalObject
|
|
254
|
+
});
|
|
255
|
+
args.push(curArg);
|
|
256
|
+
}
|
|
257
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].set(...args));
|
|
258
|
+
}
|
|
259
|
+
sort() {
|
|
260
|
+
const esValue = this !== null && this !== void 0 ? this : globalObject;
|
|
261
|
+
if (!exports.is(esValue)) throw new globalObject.TypeError("'sort' called on an object that is not a valid instance of URLSearchParams.");
|
|
262
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].sort());
|
|
263
|
+
}
|
|
264
|
+
toString() {
|
|
265
|
+
const esValue = this !== null && this !== void 0 ? this : globalObject;
|
|
266
|
+
if (!exports.is(esValue)) throw new globalObject.TypeError("'toString' called on an object that is not a valid instance of URLSearchParams.");
|
|
267
|
+
return esValue[implSymbol].toString();
|
|
268
|
+
}
|
|
269
|
+
keys() {
|
|
270
|
+
if (!exports.is(this)) throw new globalObject.TypeError("'keys' called on an object that is not a valid instance of URLSearchParams.");
|
|
271
|
+
return exports.createDefaultIterator(globalObject, this, "key");
|
|
272
|
+
}
|
|
273
|
+
values() {
|
|
274
|
+
if (!exports.is(this)) throw new globalObject.TypeError("'values' called on an object that is not a valid instance of URLSearchParams.");
|
|
275
|
+
return exports.createDefaultIterator(globalObject, this, "value");
|
|
276
|
+
}
|
|
277
|
+
entries() {
|
|
278
|
+
if (!exports.is(this)) throw new globalObject.TypeError("'entries' called on an object that is not a valid instance of URLSearchParams.");
|
|
279
|
+
return exports.createDefaultIterator(globalObject, this, "key+value");
|
|
280
|
+
}
|
|
281
|
+
forEach(callback) {
|
|
282
|
+
if (!exports.is(this)) throw new globalObject.TypeError("'forEach' called on an object that is not a valid instance of URLSearchParams.");
|
|
283
|
+
if (arguments.length < 1) throw new globalObject.TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, but only 0 present.");
|
|
284
|
+
callback = Function.convert(globalObject, callback, { context: "Failed to execute 'forEach' on 'iterable': The callback provided as parameter 1" });
|
|
285
|
+
const thisArg = arguments[1];
|
|
286
|
+
let pairs = Array.from(this[implSymbol]);
|
|
287
|
+
let i = 0;
|
|
288
|
+
while (i < pairs.length) {
|
|
289
|
+
const [key, value] = pairs[i].map(utils.tryWrapperForImpl);
|
|
290
|
+
callback.call(thisArg, value, key, this);
|
|
291
|
+
pairs = Array.from(this[implSymbol]);
|
|
292
|
+
i++;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
get size() {
|
|
296
|
+
const esValue = this !== null && this !== void 0 ? this : globalObject;
|
|
297
|
+
if (!exports.is(esValue)) throw new globalObject.TypeError("'get size' called on an object that is not a valid instance of URLSearchParams.");
|
|
298
|
+
return esValue[implSymbol]["size"];
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
Object.defineProperties(URLSearchParams.prototype, {
|
|
302
|
+
append: { enumerable: true },
|
|
303
|
+
delete: { enumerable: true },
|
|
304
|
+
get: { enumerable: true },
|
|
305
|
+
getAll: { enumerable: true },
|
|
306
|
+
has: { enumerable: true },
|
|
307
|
+
set: { enumerable: true },
|
|
308
|
+
sort: { enumerable: true },
|
|
309
|
+
toString: { enumerable: true },
|
|
310
|
+
keys: { enumerable: true },
|
|
311
|
+
values: { enumerable: true },
|
|
312
|
+
entries: { enumerable: true },
|
|
313
|
+
forEach: { enumerable: true },
|
|
314
|
+
size: { enumerable: true },
|
|
315
|
+
[Symbol.toStringTag]: {
|
|
316
|
+
value: "URLSearchParams",
|
|
317
|
+
configurable: true
|
|
318
|
+
},
|
|
319
|
+
[Symbol.iterator]: {
|
|
320
|
+
value: URLSearchParams.prototype.entries,
|
|
321
|
+
configurable: true,
|
|
322
|
+
writable: true
|
|
323
|
+
}
|
|
324
|
+
});
|
|
325
|
+
ctorRegistry[interfaceName] = URLSearchParams;
|
|
326
|
+
ctorRegistry["URLSearchParams Iterator"] = Object.create(ctorRegistry["%IteratorPrototype%"], { [Symbol.toStringTag]: {
|
|
327
|
+
configurable: true,
|
|
328
|
+
value: "URLSearchParams Iterator"
|
|
329
|
+
} });
|
|
330
|
+
utils.define(ctorRegistry["URLSearchParams Iterator"], { next() {
|
|
331
|
+
const internal = this && this[utils.iterInternalSymbol];
|
|
332
|
+
if (!internal) throw new globalObject.TypeError("next() called on a value that is not a URLSearchParams iterator object");
|
|
333
|
+
const { target, kind, index } = internal;
|
|
334
|
+
const values = Array.from(target[implSymbol]);
|
|
335
|
+
if (index >= values.length) return newObjectInRealm(globalObject, {
|
|
336
|
+
value: void 0,
|
|
337
|
+
done: true
|
|
338
|
+
});
|
|
339
|
+
const pair = values[index];
|
|
340
|
+
internal.index = index + 1;
|
|
341
|
+
return newObjectInRealm(globalObject, utils.iteratorResult(pair.map(utils.tryWrapperForImpl), kind));
|
|
342
|
+
} });
|
|
343
|
+
Object.defineProperty(globalObject, interfaceName, {
|
|
344
|
+
configurable: true,
|
|
345
|
+
writable: true,
|
|
346
|
+
value: URLSearchParams
|
|
347
|
+
});
|
|
348
|
+
};
|
|
349
|
+
const Impl = require_URLSearchParams_impl();
|
|
350
|
+
}));
|
|
351
|
+
|
|
352
|
+
//#endregion
|
|
353
|
+
export default require_URLSearchParams();
|
|
354
|
+
|
|
355
|
+
export { require_URLSearchParams };
|
|
356
|
+
//# sourceMappingURL=URLSearchParams.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"URLSearchParams.mjs","names":["V","tmp","nextItem"],"sources":["../../../../../../../../../node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.js"],"sourcesContent":["\"use strict\";\n\nconst conversions = require(\"webidl-conversions\");\nconst utils = require(\"./utils.js\");\n\nconst Function = require(\"./Function.js\");\nconst newObjectInRealm = utils.newObjectInRealm;\nconst implSymbol = utils.implSymbol;\nconst ctorRegistrySymbol = utils.ctorRegistrySymbol;\n\nconst interfaceName = \"URLSearchParams\";\n\nexports.is = value => {\n return utils.isObject(value) && utils.hasOwn(value, implSymbol) && value[implSymbol] instanceof Impl.implementation;\n};\nexports.isImpl = value => {\n return utils.isObject(value) && value instanceof Impl.implementation;\n};\nexports.convert = (globalObject, value, { context = \"The provided value\" } = {}) => {\n if (exports.is(value)) {\n return utils.implForWrapper(value);\n }\n throw new globalObject.TypeError(`${context} is not of type 'URLSearchParams'.`);\n};\n\nexports.createDefaultIterator = (globalObject, target, kind) => {\n const ctorRegistry = globalObject[ctorRegistrySymbol];\n const iteratorPrototype = ctorRegistry[\"URLSearchParams Iterator\"];\n const iterator = Object.create(iteratorPrototype);\n Object.defineProperty(iterator, utils.iterInternalSymbol, {\n value: { target, kind, index: 0 },\n configurable: true\n });\n return iterator;\n};\n\nfunction makeWrapper(globalObject, newTarget) {\n let proto;\n if (newTarget !== undefined) {\n proto = newTarget.prototype;\n }\n\n if (!utils.isObject(proto)) {\n proto = globalObject[ctorRegistrySymbol][\"URLSearchParams\"].prototype;\n }\n\n return Object.create(proto);\n}\n\nexports.create = (globalObject, constructorArgs, privateData) => {\n const wrapper = makeWrapper(globalObject);\n return exports.setup(wrapper, globalObject, constructorArgs, privateData);\n};\n\nexports.createImpl = (globalObject, constructorArgs, privateData) => {\n const wrapper = exports.create(globalObject, constructorArgs, privateData);\n return utils.implForWrapper(wrapper);\n};\n\nexports._internalSetup = (wrapper, globalObject) => {};\n\nexports.setup = (wrapper, globalObject, constructorArgs = [], privateData = {}) => {\n privateData.wrapper = wrapper;\n\n exports._internalSetup(wrapper, globalObject);\n Object.defineProperty(wrapper, implSymbol, {\n value: new Impl.implementation(globalObject, constructorArgs, privateData),\n configurable: true\n });\n\n wrapper[implSymbol][utils.wrapperSymbol] = wrapper;\n if (Impl.init) {\n Impl.init(wrapper[implSymbol]);\n }\n return wrapper;\n};\n\nexports.new = (globalObject, newTarget) => {\n const wrapper = makeWrapper(globalObject, newTarget);\n\n exports._internalSetup(wrapper, globalObject);\n Object.defineProperty(wrapper, implSymbol, {\n value: Object.create(Impl.implementation.prototype),\n configurable: true\n });\n\n wrapper[implSymbol][utils.wrapperSymbol] = wrapper;\n if (Impl.init) {\n Impl.init(wrapper[implSymbol]);\n }\n return wrapper[implSymbol];\n};\n\nconst exposed = new Set([\"Window\", \"Worker\"]);\n\nexports.install = (globalObject, globalNames) => {\n if (!globalNames.some(globalName => exposed.has(globalName))) {\n return;\n }\n\n const ctorRegistry = utils.initCtorRegistry(globalObject);\n class URLSearchParams {\n constructor() {\n const args = [];\n {\n let curArg = arguments[0];\n if (curArg !== undefined) {\n if (utils.isObject(curArg)) {\n if (curArg[Symbol.iterator] !== undefined) {\n if (!utils.isObject(curArg)) {\n throw new globalObject.TypeError(\n \"Failed to construct 'URLSearchParams': parameter 1\" + \" sequence\" + \" is not an iterable object.\"\n );\n } else {\n const V = [];\n const tmp = curArg;\n for (let nextItem of tmp) {\n if (!utils.isObject(nextItem)) {\n throw new globalObject.TypeError(\n \"Failed to construct 'URLSearchParams': parameter 1\" +\n \" sequence\" +\n \"'s element\" +\n \" is not an iterable object.\"\n );\n } else {\n const V = [];\n const tmp = nextItem;\n for (let nextItem of tmp) {\n nextItem = conversions[\"USVString\"](nextItem, {\n context:\n \"Failed to construct 'URLSearchParams': parameter 1\" +\n \" sequence\" +\n \"'s element\" +\n \"'s element\",\n globals: globalObject\n });\n\n V.push(nextItem);\n }\n nextItem = V;\n }\n\n V.push(nextItem);\n }\n curArg = V;\n }\n } else {\n if (!utils.isObject(curArg)) {\n throw new globalObject.TypeError(\n \"Failed to construct 'URLSearchParams': parameter 1\" + \" record\" + \" is not an object.\"\n );\n } else {\n const result = Object.create(null);\n for (const key of Reflect.ownKeys(curArg)) {\n const desc = Object.getOwnPropertyDescriptor(curArg, key);\n if (desc && desc.enumerable) {\n let typedKey = key;\n\n typedKey = conversions[\"USVString\"](typedKey, {\n context: \"Failed to construct 'URLSearchParams': parameter 1\" + \" record\" + \"'s key\",\n globals: globalObject\n });\n\n let typedValue = curArg[key];\n\n typedValue = conversions[\"USVString\"](typedValue, {\n context: \"Failed to construct 'URLSearchParams': parameter 1\" + \" record\" + \"'s value\",\n globals: globalObject\n });\n\n result[typedKey] = typedValue;\n }\n }\n curArg = result;\n }\n }\n } else {\n curArg = conversions[\"USVString\"](curArg, {\n context: \"Failed to construct 'URLSearchParams': parameter 1\",\n globals: globalObject\n });\n }\n } else {\n curArg = \"\";\n }\n args.push(curArg);\n }\n return exports.setup(Object.create(new.target.prototype), globalObject, args);\n }\n\n append(name, value) {\n const esValue = this !== null && this !== undefined ? this : globalObject;\n if (!exports.is(esValue)) {\n throw new globalObject.TypeError(\n \"'append' called on an object that is not a valid instance of URLSearchParams.\"\n );\n }\n\n if (arguments.length < 2) {\n throw new globalObject.TypeError(\n `Failed to execute 'append' on 'URLSearchParams': 2 arguments required, but only ${arguments.length} present.`\n );\n }\n const args = [];\n {\n let curArg = arguments[0];\n curArg = conversions[\"USVString\"](curArg, {\n context: \"Failed to execute 'append' on 'URLSearchParams': parameter 1\",\n globals: globalObject\n });\n args.push(curArg);\n }\n {\n let curArg = arguments[1];\n curArg = conversions[\"USVString\"](curArg, {\n context: \"Failed to execute 'append' on 'URLSearchParams': parameter 2\",\n globals: globalObject\n });\n args.push(curArg);\n }\n return utils.tryWrapperForImpl(esValue[implSymbol].append(...args));\n }\n\n delete(name) {\n const esValue = this !== null && this !== undefined ? this : globalObject;\n if (!exports.is(esValue)) {\n throw new globalObject.TypeError(\n \"'delete' called on an object that is not a valid instance of URLSearchParams.\"\n );\n }\n\n if (arguments.length < 1) {\n throw new globalObject.TypeError(\n `Failed to execute 'delete' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`\n );\n }\n const args = [];\n {\n let curArg = arguments[0];\n curArg = conversions[\"USVString\"](curArg, {\n context: \"Failed to execute 'delete' on 'URLSearchParams': parameter 1\",\n globals: globalObject\n });\n args.push(curArg);\n }\n {\n let curArg = arguments[1];\n if (curArg !== undefined) {\n curArg = conversions[\"USVString\"](curArg, {\n context: \"Failed to execute 'delete' on 'URLSearchParams': parameter 2\",\n globals: globalObject\n });\n }\n args.push(curArg);\n }\n return utils.tryWrapperForImpl(esValue[implSymbol].delete(...args));\n }\n\n get(name) {\n const esValue = this !== null && this !== undefined ? this : globalObject;\n if (!exports.is(esValue)) {\n throw new globalObject.TypeError(\"'get' called on an object that is not a valid instance of URLSearchParams.\");\n }\n\n if (arguments.length < 1) {\n throw new globalObject.TypeError(\n `Failed to execute 'get' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`\n );\n }\n const args = [];\n {\n let curArg = arguments[0];\n curArg = conversions[\"USVString\"](curArg, {\n context: \"Failed to execute 'get' on 'URLSearchParams': parameter 1\",\n globals: globalObject\n });\n args.push(curArg);\n }\n return esValue[implSymbol].get(...args);\n }\n\n getAll(name) {\n const esValue = this !== null && this !== undefined ? this : globalObject;\n if (!exports.is(esValue)) {\n throw new globalObject.TypeError(\n \"'getAll' called on an object that is not a valid instance of URLSearchParams.\"\n );\n }\n\n if (arguments.length < 1) {\n throw new globalObject.TypeError(\n `Failed to execute 'getAll' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`\n );\n }\n const args = [];\n {\n let curArg = arguments[0];\n curArg = conversions[\"USVString\"](curArg, {\n context: \"Failed to execute 'getAll' on 'URLSearchParams': parameter 1\",\n globals: globalObject\n });\n args.push(curArg);\n }\n return utils.tryWrapperForImpl(esValue[implSymbol].getAll(...args));\n }\n\n has(name) {\n const esValue = this !== null && this !== undefined ? this : globalObject;\n if (!exports.is(esValue)) {\n throw new globalObject.TypeError(\"'has' called on an object that is not a valid instance of URLSearchParams.\");\n }\n\n if (arguments.length < 1) {\n throw new globalObject.TypeError(\n `Failed to execute 'has' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`\n );\n }\n const args = [];\n {\n let curArg = arguments[0];\n curArg = conversions[\"USVString\"](curArg, {\n context: \"Failed to execute 'has' on 'URLSearchParams': parameter 1\",\n globals: globalObject\n });\n args.push(curArg);\n }\n {\n let curArg = arguments[1];\n if (curArg !== undefined) {\n curArg = conversions[\"USVString\"](curArg, {\n context: \"Failed to execute 'has' on 'URLSearchParams': parameter 2\",\n globals: globalObject\n });\n }\n args.push(curArg);\n }\n return esValue[implSymbol].has(...args);\n }\n\n set(name, value) {\n const esValue = this !== null && this !== undefined ? this : globalObject;\n if (!exports.is(esValue)) {\n throw new globalObject.TypeError(\"'set' called on an object that is not a valid instance of URLSearchParams.\");\n }\n\n if (arguments.length < 2) {\n throw new globalObject.TypeError(\n `Failed to execute 'set' on 'URLSearchParams': 2 arguments required, but only ${arguments.length} present.`\n );\n }\n const args = [];\n {\n let curArg = arguments[0];\n curArg = conversions[\"USVString\"](curArg, {\n context: \"Failed to execute 'set' on 'URLSearchParams': parameter 1\",\n globals: globalObject\n });\n args.push(curArg);\n }\n {\n let curArg = arguments[1];\n curArg = conversions[\"USVString\"](curArg, {\n context: \"Failed to execute 'set' on 'URLSearchParams': parameter 2\",\n globals: globalObject\n });\n args.push(curArg);\n }\n return utils.tryWrapperForImpl(esValue[implSymbol].set(...args));\n }\n\n sort() {\n const esValue = this !== null && this !== undefined ? this : globalObject;\n if (!exports.is(esValue)) {\n throw new globalObject.TypeError(\"'sort' called on an object that is not a valid instance of URLSearchParams.\");\n }\n\n return utils.tryWrapperForImpl(esValue[implSymbol].sort());\n }\n\n toString() {\n const esValue = this !== null && this !== undefined ? this : globalObject;\n if (!exports.is(esValue)) {\n throw new globalObject.TypeError(\n \"'toString' called on an object that is not a valid instance of URLSearchParams.\"\n );\n }\n\n return esValue[implSymbol].toString();\n }\n\n keys() {\n if (!exports.is(this)) {\n throw new globalObject.TypeError(\"'keys' called on an object that is not a valid instance of URLSearchParams.\");\n }\n return exports.createDefaultIterator(globalObject, this, \"key\");\n }\n\n values() {\n if (!exports.is(this)) {\n throw new globalObject.TypeError(\n \"'values' called on an object that is not a valid instance of URLSearchParams.\"\n );\n }\n return exports.createDefaultIterator(globalObject, this, \"value\");\n }\n\n entries() {\n if (!exports.is(this)) {\n throw new globalObject.TypeError(\n \"'entries' called on an object that is not a valid instance of URLSearchParams.\"\n );\n }\n return exports.createDefaultIterator(globalObject, this, \"key+value\");\n }\n\n forEach(callback) {\n if (!exports.is(this)) {\n throw new globalObject.TypeError(\n \"'forEach' called on an object that is not a valid instance of URLSearchParams.\"\n );\n }\n if (arguments.length < 1) {\n throw new globalObject.TypeError(\n \"Failed to execute 'forEach' on 'iterable': 1 argument required, but only 0 present.\"\n );\n }\n callback = Function.convert(globalObject, callback, {\n context: \"Failed to execute 'forEach' on 'iterable': The callback provided as parameter 1\"\n });\n const thisArg = arguments[1];\n let pairs = Array.from(this[implSymbol]);\n let i = 0;\n while (i < pairs.length) {\n const [key, value] = pairs[i].map(utils.tryWrapperForImpl);\n callback.call(thisArg, value, key, this);\n pairs = Array.from(this[implSymbol]);\n i++;\n }\n }\n\n get size() {\n const esValue = this !== null && this !== undefined ? this : globalObject;\n\n if (!exports.is(esValue)) {\n throw new globalObject.TypeError(\n \"'get size' called on an object that is not a valid instance of URLSearchParams.\"\n );\n }\n\n return esValue[implSymbol][\"size\"];\n }\n }\n Object.defineProperties(URLSearchParams.prototype, {\n append: { enumerable: true },\n delete: { enumerable: true },\n get: { enumerable: true },\n getAll: { enumerable: true },\n has: { enumerable: true },\n set: { enumerable: true },\n sort: { enumerable: true },\n toString: { enumerable: true },\n keys: { enumerable: true },\n values: { enumerable: true },\n entries: { enumerable: true },\n forEach: { enumerable: true },\n size: { enumerable: true },\n [Symbol.toStringTag]: { value: \"URLSearchParams\", configurable: true },\n [Symbol.iterator]: { value: URLSearchParams.prototype.entries, configurable: true, writable: true }\n });\n ctorRegistry[interfaceName] = URLSearchParams;\n\n ctorRegistry[\"URLSearchParams Iterator\"] = Object.create(ctorRegistry[\"%IteratorPrototype%\"], {\n [Symbol.toStringTag]: {\n configurable: true,\n value: \"URLSearchParams Iterator\"\n }\n });\n utils.define(ctorRegistry[\"URLSearchParams Iterator\"], {\n next() {\n const internal = this && this[utils.iterInternalSymbol];\n if (!internal) {\n throw new globalObject.TypeError(\"next() called on a value that is not a URLSearchParams iterator object\");\n }\n\n const { target, kind, index } = internal;\n const values = Array.from(target[implSymbol]);\n const len = values.length;\n if (index >= len) {\n return newObjectInRealm(globalObject, { value: undefined, done: true });\n }\n\n const pair = values[index];\n internal.index = index + 1;\n return newObjectInRealm(globalObject, utils.iteratorResult(pair.map(utils.tryWrapperForImpl), kind));\n }\n });\n\n Object.defineProperty(globalObject, interfaceName, {\n configurable: true,\n writable: true,\n value: URLSearchParams\n });\n};\n\nconst Impl = require(\"./URLSearchParams-impl.js\");\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;CAEA,MAAM;CACN,MAAM;CAEN,MAAM;CACN,MAAM,mBAAmB,MAAM;CAC/B,MAAM,aAAa,MAAM;CACzB,MAAM,qBAAqB,MAAM;CAEjC,MAAM,gBAAgB;AAEtB,SAAQ,MAAK,UAAS;AACpB,SAAO,MAAM,SAAS,MAAM,IAAI,MAAM,OAAO,OAAO,WAAW,IAAI,MAAM,uBAAuB,KAAK;;AAEvG,SAAQ,UAAS,UAAS;AACxB,SAAO,MAAM,SAAS,MAAM,IAAI,iBAAiB,KAAK;;AAExD,SAAQ,WAAW,cAAc,OAAO,EAAE,UAAU,yBAAyB,EAAE,KAAK;AAClF,MAAI,QAAQ,GAAG,MAAM,CACnB,QAAO,MAAM,eAAe,MAAM;AAEpC,QAAM,IAAI,aAAa,UAAU,GAAG,QAAQ,oCAAoC;;AAGlF,SAAQ,yBAAyB,cAAc,QAAQ,SAAS;EAE9D,MAAM,oBADe,aAAa,oBACK;EACvC,MAAM,WAAW,OAAO,OAAO,kBAAkB;AACjD,SAAO,eAAe,UAAU,MAAM,oBAAoB;GACxD,OAAO;IAAE;IAAQ;IAAM,OAAO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MAAM;GAC1B,QAAQ,EAAE,YAAY,MAAM;GAC5B,SAAS,EAAE,YAAY,MAAM;GAC7B,SAAS,EAAE,YAAY,MAAM;GAC7B,MAAM,EAAE,YAAY,MAAM;IACzB,OAAO,cAAc;IAAE,OAAO;IAAmB,cAAc;IAAM;IACrE,OAAO,WAAW;IAAE,OAAO,gBAAgB,UAAU;IAAS,cAAc;IAAM,UAAU;IAAM;GACpG,CAAC;AACF,eAAa,iBAAiB;AAE9B,eAAa,8BAA8B,OAAO,OAAO,aAAa,wBAAwB,GAC3F,OAAO,cAAc;GACpB,cAAc;GACd,OAAO;GACR,EACF,CAAC;AACF,QAAM,OAAO,aAAa,6BAA6B,EACrD,OAAO;GACL,MAAM,WAAW,QAAQ,KAAK,MAAM;AACpC,OAAI,CAAC,SACH,OAAM,IAAI,aAAa,UAAU,yEAAyE;GAG5G,MAAM,EAAE,QAAQ,MAAM,UAAU;GAChC,MAAM,SAAS,MAAM,KAAK,OAAO,YAAY;AAE7C,OAAI,SADQ,OAAO,OAEjB,QAAO,iBAAiB,cAAc;IAAE,OAAO;IAAW,MAAM;IAAM,CAAC;GAGzE,MAAM,OAAO,OAAO;AACpB,YAAS,QAAQ,QAAQ;AACzB,UAAO,iBAAiB,cAAc,MAAM,eAAe,KAAK,IAAI,MAAM,kBAAkB,EAAE,KAAK,CAAC;KAEvG,CAAC;AAEF,SAAO,eAAe,cAAc,eAAe;GACjD,cAAc;GACd,UAAU;GACV,OAAO;GACR,CAAC;;CAGJ,MAAM"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.js
|
|
4
|
+
var require_encoding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
+
const utf8Encoder = new TextEncoder();
|
|
6
|
+
const utf8Decoder = new TextDecoder("utf-8", { ignoreBOM: true });
|
|
7
|
+
function utf8Encode(string) {
|
|
8
|
+
return utf8Encoder.encode(string);
|
|
9
|
+
}
|
|
10
|
+
function utf8DecodeWithoutBOM(bytes) {
|
|
11
|
+
return utf8Decoder.decode(bytes);
|
|
12
|
+
}
|
|
13
|
+
module.exports = {
|
|
14
|
+
utf8Encode,
|
|
15
|
+
utf8DecodeWithoutBOM
|
|
16
|
+
};
|
|
17
|
+
}));
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export default require_encoding();
|
|
21
|
+
|
|
22
|
+
export { require_encoding };
|
|
23
|
+
//# sourceMappingURL=encoding.mjs.map
|
package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encoding.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.js"],"sourcesContent":["\"use strict\";\nconst utf8Encoder = new TextEncoder();\nconst utf8Decoder = new TextDecoder(\"utf-8\", { ignoreBOM: true });\n\nfunction utf8Encode(string) {\n return utf8Encoder.encode(string);\n}\n\nfunction utf8DecodeWithoutBOM(bytes) {\n return utf8Decoder.decode(bytes);\n}\n\nmodule.exports = {\n utf8Encode,\n utf8DecodeWithoutBOM\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;CACA,MAAM,cAAc,IAAI,aAAa;CACrC,MAAM,cAAc,IAAI,YAAY,SAAS,EAAE,WAAW,MAAM,CAAC;CAEjE,SAAS,WAAW,QAAQ;AAC1B,SAAO,YAAY,OAAO,OAAO;;CAGnC,SAAS,qBAAqB,OAAO;AACnC,SAAO,YAAY,OAAO,MAAM;;AAGlC,QAAO,UAAU;EACf;EACA;EACD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/infra.js
|
|
4
|
+
var require_infra = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
+
function isASCIIDigit(c) {
|
|
6
|
+
return c >= 48 && c <= 57;
|
|
7
|
+
}
|
|
8
|
+
function isASCIIAlpha(c) {
|
|
9
|
+
return c >= 65 && c <= 90 || c >= 97 && c <= 122;
|
|
10
|
+
}
|
|
11
|
+
function isASCIIAlphanumeric(c) {
|
|
12
|
+
return isASCIIAlpha(c) || isASCIIDigit(c);
|
|
13
|
+
}
|
|
14
|
+
function isASCIIHex(c) {
|
|
15
|
+
return isASCIIDigit(c) || c >= 65 && c <= 70 || c >= 97 && c <= 102;
|
|
16
|
+
}
|
|
17
|
+
module.exports = {
|
|
18
|
+
isASCIIDigit,
|
|
19
|
+
isASCIIAlpha,
|
|
20
|
+
isASCIIAlphanumeric,
|
|
21
|
+
isASCIIHex
|
|
22
|
+
};
|
|
23
|
+
}));
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export default require_infra();
|
|
27
|
+
|
|
28
|
+
export { require_infra };
|
|
29
|
+
//# sourceMappingURL=infra.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/infra.js"],"sourcesContent":["\"use strict\";\n\n// Note that we take code points as JS numbers, not JS strings.\n\nfunction isASCIIDigit(c) {\n return c >= 0x30 && c <= 0x39;\n}\n\nfunction isASCIIAlpha(c) {\n return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A);\n}\n\nfunction isASCIIAlphanumeric(c) {\n return isASCIIAlpha(c) || isASCIIDigit(c);\n}\n\nfunction isASCIIHex(c) {\n return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66);\n}\n\nmodule.exports = {\n isASCIIDigit,\n isASCIIAlpha,\n isASCIIAlphanumeric,\n isASCIIHex\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;CAIA,SAAS,aAAa,GAAG;AACvB,SAAO,KAAK,MAAQ,KAAK;;CAG3B,SAAS,aAAa,GAAG;AACvB,SAAQ,KAAK,MAAQ,KAAK,MAAU,KAAK,MAAQ,KAAK;;CAGxD,SAAS,oBAAoB,GAAG;AAC9B,SAAO,aAAa,EAAE,IAAI,aAAa,EAAE;;CAG3C,SAAS,WAAW,GAAG;AACrB,SAAO,aAAa,EAAE,IAAK,KAAK,MAAQ,KAAK,MAAU,KAAK,MAAQ,KAAK;;AAG3E,QAAO,UAAU;EACf;EACA;EACA;EACA;EACD"}
|
package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.mjs
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_infra } from "./infra.mjs";
|
|
3
|
+
import { require_encoding } from "./encoding.mjs";
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.js
|
|
6
|
+
var require_percent_encoding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7
|
+
const { isASCIIHex } = require_infra();
|
|
8
|
+
const { utf8Encode } = require_encoding();
|
|
9
|
+
function p(char) {
|
|
10
|
+
return char.codePointAt(0);
|
|
11
|
+
}
|
|
12
|
+
function percentEncode(c) {
|
|
13
|
+
let hex = c.toString(16).toUpperCase();
|
|
14
|
+
if (hex.length === 1) hex = `0${hex}`;
|
|
15
|
+
return `%${hex}`;
|
|
16
|
+
}
|
|
17
|
+
function percentDecodeBytes(input) {
|
|
18
|
+
const output = new Uint8Array(input.byteLength);
|
|
19
|
+
let outputIndex = 0;
|
|
20
|
+
for (let i = 0; i < input.byteLength; ++i) {
|
|
21
|
+
const byte = input[i];
|
|
22
|
+
if (byte !== 37) output[outputIndex++] = byte;
|
|
23
|
+
else if (byte === 37 && (!isASCIIHex(input[i + 1]) || !isASCIIHex(input[i + 2]))) output[outputIndex++] = byte;
|
|
24
|
+
else {
|
|
25
|
+
const bytePoint = parseInt(String.fromCodePoint(input[i + 1], input[i + 2]), 16);
|
|
26
|
+
output[outputIndex++] = bytePoint;
|
|
27
|
+
i += 2;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return output.slice(0, outputIndex);
|
|
31
|
+
}
|
|
32
|
+
function percentDecodeString(input) {
|
|
33
|
+
return percentDecodeBytes(utf8Encode(input));
|
|
34
|
+
}
|
|
35
|
+
function isC0ControlPercentEncode(c) {
|
|
36
|
+
return c <= 31 || c > 126;
|
|
37
|
+
}
|
|
38
|
+
const extraFragmentPercentEncodeSet = new Set([
|
|
39
|
+
p(" "),
|
|
40
|
+
p("\""),
|
|
41
|
+
p("<"),
|
|
42
|
+
p(">"),
|
|
43
|
+
p("`")
|
|
44
|
+
]);
|
|
45
|
+
function isFragmentPercentEncode(c) {
|
|
46
|
+
return isC0ControlPercentEncode(c) || extraFragmentPercentEncodeSet.has(c);
|
|
47
|
+
}
|
|
48
|
+
const extraQueryPercentEncodeSet = new Set([
|
|
49
|
+
p(" "),
|
|
50
|
+
p("\""),
|
|
51
|
+
p("#"),
|
|
52
|
+
p("<"),
|
|
53
|
+
p(">")
|
|
54
|
+
]);
|
|
55
|
+
function isQueryPercentEncode(c) {
|
|
56
|
+
return isC0ControlPercentEncode(c) || extraQueryPercentEncodeSet.has(c);
|
|
57
|
+
}
|
|
58
|
+
function isSpecialQueryPercentEncode(c) {
|
|
59
|
+
return isQueryPercentEncode(c) || c === p("'");
|
|
60
|
+
}
|
|
61
|
+
const extraPathPercentEncodeSet = new Set([
|
|
62
|
+
p("?"),
|
|
63
|
+
p("`"),
|
|
64
|
+
p("{"),
|
|
65
|
+
p("}"),
|
|
66
|
+
p("^")
|
|
67
|
+
]);
|
|
68
|
+
function isPathPercentEncode(c) {
|
|
69
|
+
return isQueryPercentEncode(c) || extraPathPercentEncodeSet.has(c);
|
|
70
|
+
}
|
|
71
|
+
const extraUserinfoPercentEncodeSet = new Set([
|
|
72
|
+
p("/"),
|
|
73
|
+
p(":"),
|
|
74
|
+
p(";"),
|
|
75
|
+
p("="),
|
|
76
|
+
p("@"),
|
|
77
|
+
p("["),
|
|
78
|
+
p("\\"),
|
|
79
|
+
p("]"),
|
|
80
|
+
p("|")
|
|
81
|
+
]);
|
|
82
|
+
function isUserinfoPercentEncode(c) {
|
|
83
|
+
return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c);
|
|
84
|
+
}
|
|
85
|
+
const extraComponentPercentEncodeSet = new Set([
|
|
86
|
+
p("$"),
|
|
87
|
+
p("%"),
|
|
88
|
+
p("&"),
|
|
89
|
+
p("+"),
|
|
90
|
+
p(",")
|
|
91
|
+
]);
|
|
92
|
+
function isComponentPercentEncode(c) {
|
|
93
|
+
return isUserinfoPercentEncode(c) || extraComponentPercentEncodeSet.has(c);
|
|
94
|
+
}
|
|
95
|
+
const extraURLEncodedPercentEncodeSet = new Set([
|
|
96
|
+
p("!"),
|
|
97
|
+
p("'"),
|
|
98
|
+
p("("),
|
|
99
|
+
p(")"),
|
|
100
|
+
p("~")
|
|
101
|
+
]);
|
|
102
|
+
function isURLEncodedPercentEncode(c) {
|
|
103
|
+
return isComponentPercentEncode(c) || extraURLEncodedPercentEncodeSet.has(c);
|
|
104
|
+
}
|
|
105
|
+
function utf8PercentEncodeCodePointInternal(codePoint, percentEncodePredicate) {
|
|
106
|
+
const bytes = utf8Encode(codePoint);
|
|
107
|
+
let output = "";
|
|
108
|
+
for (const byte of bytes) if (!percentEncodePredicate(byte)) output += String.fromCharCode(byte);
|
|
109
|
+
else output += percentEncode(byte);
|
|
110
|
+
return output;
|
|
111
|
+
}
|
|
112
|
+
function utf8PercentEncodeCodePoint(codePoint, percentEncodePredicate) {
|
|
113
|
+
return utf8PercentEncodeCodePointInternal(String.fromCodePoint(codePoint), percentEncodePredicate);
|
|
114
|
+
}
|
|
115
|
+
function utf8PercentEncodeString(input, percentEncodePredicate, spaceAsPlus = false) {
|
|
116
|
+
let output = "";
|
|
117
|
+
for (const codePoint of input) if (spaceAsPlus && codePoint === " ") output += "+";
|
|
118
|
+
else output += utf8PercentEncodeCodePointInternal(codePoint, percentEncodePredicate);
|
|
119
|
+
return output;
|
|
120
|
+
}
|
|
121
|
+
module.exports = {
|
|
122
|
+
isC0ControlPercentEncode,
|
|
123
|
+
isFragmentPercentEncode,
|
|
124
|
+
isQueryPercentEncode,
|
|
125
|
+
isSpecialQueryPercentEncode,
|
|
126
|
+
isPathPercentEncode,
|
|
127
|
+
isUserinfoPercentEncode,
|
|
128
|
+
isURLEncodedPercentEncode,
|
|
129
|
+
percentDecodeString,
|
|
130
|
+
percentDecodeBytes,
|
|
131
|
+
utf8PercentEncodeString,
|
|
132
|
+
utf8PercentEncodeCodePoint
|
|
133
|
+
};
|
|
134
|
+
}));
|
|
135
|
+
|
|
136
|
+
//#endregion
|
|
137
|
+
export default require_percent_encoding();
|
|
138
|
+
|
|
139
|
+
export { require_percent_encoding };
|
|
140
|
+
//# sourceMappingURL=percent-encoding.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"percent-encoding.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.js"],"sourcesContent":["\"use strict\";\nconst { isASCIIHex } = require(\"./infra\");\nconst { utf8Encode } = require(\"./encoding\");\n\nfunction p(char) {\n return char.codePointAt(0);\n}\n\n// https://url.spec.whatwg.org/#percent-encode\nfunction percentEncode(c) {\n let hex = c.toString(16).toUpperCase();\n if (hex.length === 1) {\n hex = `0${hex}`;\n }\n\n return `%${hex}`;\n}\n\n// https://url.spec.whatwg.org/#percent-decode\nfunction percentDecodeBytes(input) {\n const output = new Uint8Array(input.byteLength);\n let outputIndex = 0;\n for (let i = 0; i < input.byteLength; ++i) {\n const byte = input[i];\n if (byte !== 0x25) {\n output[outputIndex++] = byte;\n } else if (byte === 0x25 && (!isASCIIHex(input[i + 1]) || !isASCIIHex(input[i + 2]))) {\n output[outputIndex++] = byte;\n } else {\n const bytePoint = parseInt(String.fromCodePoint(input[i + 1], input[i + 2]), 16);\n output[outputIndex++] = bytePoint;\n i += 2;\n }\n }\n\n return output.slice(0, outputIndex);\n}\n\n// https://url.spec.whatwg.org/#string-percent-decode\nfunction percentDecodeString(input) {\n const bytes = utf8Encode(input);\n return percentDecodeBytes(bytes);\n}\n\n// https://url.spec.whatwg.org/#c0-control-percent-encode-set\nfunction isC0ControlPercentEncode(c) {\n return c <= 0x1F || c > 0x7E;\n}\n\n// https://url.spec.whatwg.org/#fragment-percent-encode-set\nconst extraFragmentPercentEncodeSet = new Set([p(\" \"), p(\"\\\"\"), p(\"<\"), p(\">\"), p(\"`\")]);\nfunction isFragmentPercentEncode(c) {\n return isC0ControlPercentEncode(c) || extraFragmentPercentEncodeSet.has(c);\n}\n\n// https://url.spec.whatwg.org/#query-percent-encode-set\nconst extraQueryPercentEncodeSet = new Set([p(\" \"), p(\"\\\"\"), p(\"#\"), p(\"<\"), p(\">\")]);\nfunction isQueryPercentEncode(c) {\n return isC0ControlPercentEncode(c) || extraQueryPercentEncodeSet.has(c);\n}\n\n// https://url.spec.whatwg.org/#special-query-percent-encode-set\nfunction isSpecialQueryPercentEncode(c) {\n return isQueryPercentEncode(c) || c === p(\"'\");\n}\n\n// https://url.spec.whatwg.org/#path-percent-encode-set\nconst extraPathPercentEncodeSet = new Set([p(\"?\"), p(\"`\"), p(\"{\"), p(\"}\"), p(\"^\")]);\nfunction isPathPercentEncode(c) {\n return isQueryPercentEncode(c) || extraPathPercentEncodeSet.has(c);\n}\n\n// https://url.spec.whatwg.org/#userinfo-percent-encode-set\nconst extraUserinfoPercentEncodeSet =\n new Set([p(\"/\"), p(\":\"), p(\";\"), p(\"=\"), p(\"@\"), p(\"[\"), p(\"\\\\\"), p(\"]\"), p(\"|\")]);\nfunction isUserinfoPercentEncode(c) {\n return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c);\n}\n\n// https://url.spec.whatwg.org/#component-percent-encode-set\nconst extraComponentPercentEncodeSet = new Set([p(\"$\"), p(\"%\"), p(\"&\"), p(\"+\"), p(\",\")]);\nfunction isComponentPercentEncode(c) {\n return isUserinfoPercentEncode(c) || extraComponentPercentEncodeSet.has(c);\n}\n\n// https://url.spec.whatwg.org/#application-x-www-form-urlencoded-percent-encode-set\nconst extraURLEncodedPercentEncodeSet = new Set([p(\"!\"), p(\"'\"), p(\"(\"), p(\")\"), p(\"~\")]);\nfunction isURLEncodedPercentEncode(c) {\n return isComponentPercentEncode(c) || extraURLEncodedPercentEncodeSet.has(c);\n}\n\n// https://url.spec.whatwg.org/#code-point-percent-encode-after-encoding\n// https://url.spec.whatwg.org/#utf-8-percent-encode\n// Assuming encoding is always utf-8 allows us to trim one of the logic branches. TODO: support encoding.\n// The \"-Internal\" variant here has code points as JS strings. The external version used by other files has code points\n// as JS numbers, like the rest of the codebase.\nfunction utf8PercentEncodeCodePointInternal(codePoint, percentEncodePredicate) {\n const bytes = utf8Encode(codePoint);\n let output = \"\";\n for (const byte of bytes) {\n // Our percentEncodePredicate operates on bytes, not code points, so this is slightly different from the spec.\n if (!percentEncodePredicate(byte)) {\n output += String.fromCharCode(byte);\n } else {\n output += percentEncode(byte);\n }\n }\n\n return output;\n}\n\nfunction utf8PercentEncodeCodePoint(codePoint, percentEncodePredicate) {\n return utf8PercentEncodeCodePointInternal(String.fromCodePoint(codePoint), percentEncodePredicate);\n}\n\n// https://url.spec.whatwg.org/#string-percent-encode-after-encoding\n// https://url.spec.whatwg.org/#string-utf-8-percent-encode\nfunction utf8PercentEncodeString(input, percentEncodePredicate, spaceAsPlus = false) {\n let output = \"\";\n for (const codePoint of input) {\n if (spaceAsPlus && codePoint === \" \") {\n output += \"+\";\n } else {\n output += utf8PercentEncodeCodePointInternal(codePoint, percentEncodePredicate);\n }\n }\n return output;\n}\n\nmodule.exports = {\n isC0ControlPercentEncode,\n isFragmentPercentEncode,\n isQueryPercentEncode,\n isSpecialQueryPercentEncode,\n isPathPercentEncode,\n isUserinfoPercentEncode,\n isURLEncodedPercentEncode,\n percentDecodeString,\n percentDecodeBytes,\n utf8PercentEncodeString,\n utf8PercentEncodeCodePoint\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CACA,MAAM,EAAE;CACR,MAAM,EAAE;CAER,SAAS,EAAE,MAAM;AACf,SAAO,KAAK,YAAY,EAAE;;CAI5B,SAAS,cAAc,GAAG;EACxB,IAAI,MAAM,EAAE,SAAS,GAAG,CAAC,aAAa;AACtC,MAAI,IAAI,WAAW,EACjB,OAAM,IAAI;AAGZ,SAAO,IAAI;;CAIb,SAAS,mBAAmB,OAAO;EACjC,MAAM,SAAS,IAAI,WAAW,MAAM,WAAW;EAC/C,IAAI,cAAc;AAClB,OAAK,IAAI,IAAI,GAAG,IAAI,MAAM,YAAY,EAAE,GAAG;GACzC,MAAM,OAAO,MAAM;AACnB,OAAI,SAAS,GACX,QAAO,iBAAiB;YACf,SAAS,OAAS,CAAC,WAAW,MAAM,IAAI,GAAG,IAAI,CAAC,WAAW,MAAM,IAAI,GAAG,EACjF,QAAO,iBAAiB;QACnB;IACL,MAAM,YAAY,SAAS,OAAO,cAAc,MAAM,IAAI,IAAI,MAAM,IAAI,GAAG,EAAE,GAAG;AAChF,WAAO,iBAAiB;AACxB,SAAK;;;AAIT,SAAO,OAAO,MAAM,GAAG,YAAY;;CAIrC,SAAS,oBAAoB,OAAO;AAElC,SAAO,mBADO,WAAW,MAAM,CACC;;CAIlC,SAAS,yBAAyB,GAAG;AACnC,SAAO,KAAK,MAAQ,IAAI;;CAI1B,MAAM,gCAAgC,IAAI,IAAI;EAAC,EAAE,IAAI;EAAE,EAAE,KAAK;EAAE,EAAE,IAAI;EAAE,EAAE,IAAI;EAAE,EAAE,IAA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