antigravity-mobile-proxy 0.1.2 → 0.1.3
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/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/required-server-files.json +5 -2
- package/.next/standalone/.next/server/app/_global-error/page.js +1 -1
- package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +2 -2
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/[filename]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/[filename]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/artifacts/active/[filename]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/artifacts/active/[filename]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/artifacts/active/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/artifacts/active/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/artifacts/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/artifacts/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/action/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/action/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/approve/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/approve/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/history/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/history/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/mode/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/mode/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/new/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/new/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/reject/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/reject/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/state/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/state/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/stream/route.js +6 -3
- package/.next/standalone/.next/server/app/api/v1/chat/stream/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/conversations/active/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/conversations/active/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/conversations/route.js +6 -3
- package/.next/standalone/.next/server/app/api/v1/conversations/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/conversations/select/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/conversations/select/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/debug/dom/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/debug/dom/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/debug/scrape/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/debug/scrape/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/health/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/health/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/cdp-start/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/windows/cdp-start/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/cdp-status/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/windows/cdp-status/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/close/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/windows/close/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/open/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/windows/open/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/recent/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/windows/recent/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/windows/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/select/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/windows/select/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/debug/page.js +1 -1
- package/.next/standalone/.next/server/app/debug/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/standalone/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page.js +1 -1
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0d31b133._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__133ac672._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1535be2d._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1ee7d416._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__22df301c._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__25f5f8ec._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__26662154._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__2ec5ba30._.js → [root-of-the-server]__3fe6d12c._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__4b17d628._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__4c540a38._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__8d2624da._.js → [root-of-the-server]__4d161104._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__53c4f34d._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__68965284._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__8cb67283._.js +5 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__8f5ebbc3._.js +7 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__8f8bd59f._.js +20 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__9166d84a._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__94275f7f._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__c34d50c8._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__8fdd2340._.js → [root-of-the-server]__c696771d._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0bd52b41._.js → [root-of-the-server]__cd7ccfdd._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d5818e20._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__360475ac._.js → [root-of-the-server]__db7b3604._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__eeb89c13._.js → [root-of-the-server]__dc1db6cb._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__4effd91a._.js → [root-of-the-server]__e9181374._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__eb9ef4db._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__4448d3d4._.js → [root-of-the-server]__ec32b318._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__7f18ffd0._.js → [root-of-the-server]__f54bea3d._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__fabd57e0._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__fd0215df._.js +3 -0
- package/.next/standalone/.next/server/chunks/lib_cdp_connection_ts_075c799e._.js +41 -0
- package/.next/standalone/.next/server/chunks/node_modules_151ca6ae._.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_1f8a2929._.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_2d9a2f12._.js +4 -0
- package/.next/standalone/.next/server/chunks/node_modules_3b486fee._.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_64199bef._.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_@puppeteer_browsers_lib_esm_main_83020de3.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_f81d3958._.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_next_1402a1da._.js +2 -2
- package/.next/standalone/.next/server/chunks/node_modules_yargs_helpers_helpers_mjs_abe15519._.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_yargs_index_mjs_c4f6f97b._.js +56 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__703e5e24._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__edab6069._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_63dba3f8._.js +1 -1
- package/.next/standalone/.next/server/pages/500.html +2 -2
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/next.config.js +19 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +46 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +221 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +1 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +42 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +30 -0
- package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
- package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +46 -0
- package/.next/standalone/node_modules/next/dist/build/generate-build-id.js +5 -1
- package/.next/standalone/package-lock.json +140 -129
- package/.next/standalone/package.json +4 -3
- package/.next/standalone/scripts/patch-next.js +69 -0
- package/.next/standalone/server.js +1 -1
- package/.next/standalone/tsconfig.json +14 -4
- package/package.json +4 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__08f06ee9._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__15c96786._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__19ee93c1._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__324dc867._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__38025e07._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__4a837477._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__4f9fdc77._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__556e6cd5._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__6479a312._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__693625a1._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__6ec98c1f._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__7f696ede._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__8aa4aa02._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__9d217c47._.js +0 -7
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__9e54cdc1._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__a73e4e4f._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__cd1b9505._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d850c12e._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__ef121746._.js +0 -3
- package/.next/standalone/.next/server/chunks/_7273dcfc._.js +0 -3
- package/.next/standalone/.next/server/chunks/_8dd0f398._.js +0 -5
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4fe85c38._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__85930638._.js +0 -3
- package/.next/standalone/next.config.ts +0 -10
- package/.next/standalone/node_modules/@puppeteer/browsers/package.json +0 -125
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js +0 -53
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js +0 -58
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/context.js +0 -691
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js +0 -6
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js +0 -96
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js +0 -58
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js +0 -19
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js +0 -387
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js +0 -71
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/index.js +0 -128
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js +0 -227
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js +0 -41
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js +0 -97
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js +0 -77
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module.js +0 -302
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js +0 -49
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js +0 -300
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js +0 -38
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/types.js +0 -58
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js +0 -169
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js +0 -12
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/package.json +0 -60
- package/.next/standalone/node_modules/agent-base/dist/helpers.js +0 -66
- package/.next/standalone/node_modules/agent-base/dist/index.js +0 -178
- package/.next/standalone/node_modules/agent-base/package.json +0 -46
- package/.next/standalone/node_modules/ast-types/def/babel-core.js +0 -256
- package/.next/standalone/node_modules/ast-types/def/babel.js +0 -11
- package/.next/standalone/node_modules/ast-types/def/core.js +0 -298
- package/.next/standalone/node_modules/ast-types/def/es-proposals.js +0 -33
- package/.next/standalone/node_modules/ast-types/def/es2020.js +0 -16
- package/.next/standalone/node_modules/ast-types/def/es6.js +0 -210
- package/.next/standalone/node_modules/ast-types/def/es7.js +0 -34
- package/.next/standalone/node_modules/ast-types/def/esprima.js +0 -49
- package/.next/standalone/node_modules/ast-types/def/flow.js +0 -292
- package/.next/standalone/node_modules/ast-types/def/jsx.js +0 -103
- package/.next/standalone/node_modules/ast-types/def/type-annotations.js +0 -40
- package/.next/standalone/node_modules/ast-types/def/typescript.js +0 -344
- package/.next/standalone/node_modules/ast-types/fork.js +0 -52
- package/.next/standalone/node_modules/ast-types/gen/namedTypes.js +0 -6
- package/.next/standalone/node_modules/ast-types/lib/equiv.js +0 -154
- package/.next/standalone/node_modules/ast-types/lib/node-path.js +0 -411
- package/.next/standalone/node_modules/ast-types/lib/path-visitor.js +0 -343
- package/.next/standalone/node_modules/ast-types/lib/path.js +0 -331
- package/.next/standalone/node_modules/ast-types/lib/scope.js +0 -318
- package/.next/standalone/node_modules/ast-types/lib/shared.js +0 -47
- package/.next/standalone/node_modules/ast-types/lib/types.js +0 -780
- package/.next/standalone/node_modules/ast-types/main.js +0 -53
- package/.next/standalone/node_modules/ast-types/package.json +0 -65
- package/.next/standalone/node_modules/b4a/index.js +0 -188
- package/.next/standalone/node_modules/b4a/package.json +0 -49
- package/.next/standalone/node_modules/basic-ftp/dist/Client.js +0 -782
- package/.next/standalone/node_modules/basic-ftp/dist/FileInfo.js +0 -92
- package/.next/standalone/node_modules/basic-ftp/dist/FtpContext.js +0 -365
- package/.next/standalone/node_modules/basic-ftp/dist/ProgressTracker.js +0 -72
- package/.next/standalone/node_modules/basic-ftp/dist/StringEncoding.js +0 -2
- package/.next/standalone/node_modules/basic-ftp/dist/StringWriter.js +0 -23
- package/.next/standalone/node_modules/basic-ftp/dist/index.js +0 -28
- package/.next/standalone/node_modules/basic-ftp/dist/netUtils.js +0 -66
- package/.next/standalone/node_modules/basic-ftp/dist/parseControlResponse.js +0 -66
- package/.next/standalone/node_modules/basic-ftp/dist/parseList.js +0 -79
- package/.next/standalone/node_modules/basic-ftp/dist/parseListDOS.js +0 -52
- package/.next/standalone/node_modules/basic-ftp/dist/parseListMLSD.js +0 -187
- package/.next/standalone/node_modules/basic-ftp/dist/parseListUnix.js +0 -155
- package/.next/standalone/node_modules/basic-ftp/dist/transfer.js +0 -318
- package/.next/standalone/node_modules/basic-ftp/package.json +0 -52
- package/.next/standalone/node_modules/buffer-crc32/index.js +0 -111
- package/.next/standalone/node_modules/buffer-crc32/package.json +0 -39
- package/.next/standalone/node_modules/cliui/build/lib/index.js +0 -287
- package/.next/standalone/node_modules/cliui/build/lib/string-utils.js +0 -27
- package/.next/standalone/node_modules/cliui/index.mjs +0 -13
- package/.next/standalone/node_modules/cliui/package.json +0 -83
- package/.next/standalone/node_modules/data-uri-to-buffer/dist/common.js +0 -54
- package/.next/standalone/node_modules/data-uri-to-buffer/dist/node.js +0 -26
- package/.next/standalone/node_modules/data-uri-to-buffer/package.json +0 -48
- package/.next/standalone/node_modules/debug/package.json +0 -64
- package/.next/standalone/node_modules/debug/src/browser.js +0 -272
- package/.next/standalone/node_modules/debug/src/common.js +0 -292
- package/.next/standalone/node_modules/debug/src/index.js +0 -10
- package/.next/standalone/node_modules/debug/src/node.js +0 -263
- package/.next/standalone/node_modules/degenerator/dist/compile.js +0 -107
- package/.next/standalone/node_modules/degenerator/dist/degenerator.js +0 -156
- package/.next/standalone/node_modules/degenerator/dist/index.js +0 -19
- package/.next/standalone/node_modules/degenerator/package.json +0 -42
- package/.next/standalone/node_modules/end-of-stream/index.js +0 -96
- package/.next/standalone/node_modules/end-of-stream/package.json +0 -37
- package/.next/standalone/node_modules/escalade/package.json +0 -74
- package/.next/standalone/node_modules/escodegen/escodegen.js +0 -2667
- package/.next/standalone/node_modules/escodegen/package.json +0 -63
- package/.next/standalone/node_modules/esprima/dist/esprima.js +0 -6709
- package/.next/standalone/node_modules/esprima/package.json +0 -112
- package/.next/standalone/node_modules/estraverse/estraverse.js +0 -805
- package/.next/standalone/node_modules/estraverse/package.json +0 -40
- package/.next/standalone/node_modules/esutils/lib/ast.js +0 -144
- package/.next/standalone/node_modules/esutils/lib/code.js +0 -135
- package/.next/standalone/node_modules/esutils/lib/keyword.js +0 -165
- package/.next/standalone/node_modules/esutils/lib/utils.js +0 -33
- package/.next/standalone/node_modules/esutils/package.json +0 -44
- package/.next/standalone/node_modules/events-universal/default.js +0 -1
- package/.next/standalone/node_modules/events-universal/package.json +0 -39
- package/.next/standalone/node_modules/extract-zip/LICENSE +0 -23
- package/.next/standalone/node_modules/extract-zip/cli.js +0 -19
- package/.next/standalone/node_modules/extract-zip/index.js +0 -173
- package/.next/standalone/node_modules/extract-zip/package.json +0 -80
- package/.next/standalone/node_modules/extract-zip/readme.md +0 -57
- package/.next/standalone/node_modules/fast-fifo/fixed-size.js +0 -39
- package/.next/standalone/node_modules/fast-fifo/index.js +0 -48
- package/.next/standalone/node_modules/fast-fifo/package.json +0 -28
- package/.next/standalone/node_modules/fd-slicer/index.js +0 -296
- package/.next/standalone/node_modules/fd-slicer/package.json +0 -36
- package/.next/standalone/node_modules/get-stream/buffer-stream.js +0 -52
- package/.next/standalone/node_modules/get-stream/index.js +0 -60
- package/.next/standalone/node_modules/get-stream/package.json +0 -50
- package/.next/standalone/node_modules/get-uri/dist/data.js +0 -43
- package/.next/standalone/node_modules/get-uri/dist/file.js +0 -57
- package/.next/standalone/node_modules/get-uri/dist/ftp.js +0 -93
- package/.next/standalone/node_modules/get-uri/dist/http-error.js +0 -15
- package/.next/standalone/node_modules/get-uri/dist/http.js +0 -191
- package/.next/standalone/node_modules/get-uri/dist/https.js +0 -16
- package/.next/standalone/node_modules/get-uri/dist/index.js +0 -57
- package/.next/standalone/node_modules/get-uri/dist/notfound.js +0 -16
- package/.next/standalone/node_modules/get-uri/dist/notmodified.js +0 -17
- package/.next/standalone/node_modules/get-uri/package.json +0 -58
- package/.next/standalone/node_modules/has-flag/index.js +0 -8
- package/.next/standalone/node_modules/has-flag/package.json +0 -46
- package/.next/standalone/node_modules/http-proxy-agent/dist/index.js +0 -148
- package/.next/standalone/node_modules/http-proxy-agent/package.json +0 -47
- package/.next/standalone/node_modules/https-proxy-agent/dist/index.js +0 -180
- package/.next/standalone/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -101
- package/.next/standalone/node_modules/https-proxy-agent/package.json +0 -50
- package/.next/standalone/node_modules/ip-address/dist/address-error.js +0 -12
- package/.next/standalone/node_modules/ip-address/dist/common.js +0 -46
- package/.next/standalone/node_modules/ip-address/dist/ip-address.js +0 -35
- package/.next/standalone/node_modules/ip-address/dist/ipv4.js +0 -360
- package/.next/standalone/node_modules/ip-address/dist/ipv6.js +0 -1003
- package/.next/standalone/node_modules/ip-address/dist/v4/constants.js +0 -8
- package/.next/standalone/node_modules/ip-address/dist/v6/constants.js +0 -76
- package/.next/standalone/node_modules/ip-address/dist/v6/helpers.js +0 -45
- package/.next/standalone/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
- package/.next/standalone/node_modules/ip-address/package.json +0 -78
- package/.next/standalone/node_modules/lru-cache/index.js +0 -1227
- package/.next/standalone/node_modules/lru-cache/package.json +0 -96
- package/.next/standalone/node_modules/ms/index.js +0 -162
- package/.next/standalone/node_modules/ms/package.json +0 -38
- package/.next/standalone/node_modules/netmask/lib/netmask.js +0 -208
- package/.next/standalone/node_modules/netmask/package.json +0 -36
- package/.next/standalone/node_modules/once/once.js +0 -42
- package/.next/standalone/node_modules/once/package.json +0 -33
- package/.next/standalone/node_modules/pac-proxy-agent/dist/index.js +0 -238
- package/.next/standalone/node_modules/pac-proxy-agent/package.json +0 -58
- package/.next/standalone/node_modules/pac-resolver/dist/dateRange.js +0 -73
- package/.next/standalone/node_modules/pac-resolver/dist/dnsDomainIs.js +0 -30
- package/.next/standalone/node_modules/pac-resolver/dist/dnsDomainLevels.js +0 -28
- package/.next/standalone/node_modules/pac-resolver/dist/dnsResolve.js +0 -32
- package/.next/standalone/node_modules/pac-resolver/dist/index.js +0 -87
- package/.next/standalone/node_modules/pac-resolver/dist/ip.js +0 -50
- package/.next/standalone/node_modules/pac-resolver/dist/isInNet.js +0 -42
- package/.next/standalone/node_modules/pac-resolver/dist/isPlainHostName.js +0 -23
- package/.next/standalone/node_modules/pac-resolver/dist/isResolvable.js +0 -23
- package/.next/standalone/node_modules/pac-resolver/dist/localHostOrDomainIs.js +0 -40
- package/.next/standalone/node_modules/pac-resolver/dist/myIpAddress.js +0 -50
- package/.next/standalone/node_modules/pac-resolver/dist/shExpMatch.js +0 -41
- package/.next/standalone/node_modules/pac-resolver/dist/timeRange.js +0 -92
- package/.next/standalone/node_modules/pac-resolver/dist/util.js +0 -22
- package/.next/standalone/node_modules/pac-resolver/dist/weekdayRange.js +0 -91
- package/.next/standalone/node_modules/pac-resolver/package.json +0 -47
- package/.next/standalone/node_modules/pend/index.js +0 -55
- package/.next/standalone/node_modules/pend/package.json +0 -18
- package/.next/standalone/node_modules/progress/index.js +0 -1
- package/.next/standalone/node_modules/progress/lib/node-progress.js +0 -236
- package/.next/standalone/node_modules/progress/package.json +0 -26
- package/.next/standalone/node_modules/proxy-agent/dist/index.js +0 -138
- package/.next/standalone/node_modules/proxy-agent/package.json +0 -60
- package/.next/standalone/node_modules/proxy-from-env/index.js +0 -108
- package/.next/standalone/node_modules/proxy-from-env/package.json +0 -34
- package/.next/standalone/node_modules/pump/index.js +0 -86
- package/.next/standalone/node_modules/pump/package.json +0 -30
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/package.json +0 -1
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.js +0 -204
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js +0 -182
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/CDPSession.js +0 -68
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/DeviceRequestPrompt.js +0 -34
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Dialog.js +0 -90
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js +0 -1406
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandleSymbol.js +0 -10
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Frame.js +0 -904
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPRequest.js +0 -461
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPResponse.js +0 -56
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Input.js +0 -211
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js +0 -227
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js +0 -1511
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js +0 -44
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Target.js +0 -49
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/WebWorker.js +0 -106
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/api.js +0 -22
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/locators/locators.js +0 -769
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserConnector.js +0 -83
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Accessibility.js +0 -591
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Binding.js +0 -162
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BluetoothEmulation.js +0 -26
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Browser.js +0 -327
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js +0 -26
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserContext.js +0 -192
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpPreloadScript.js +0 -39
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js +0 -129
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Connection.js +0 -244
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Coverage.js +0 -372
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +0 -151
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Dialog.js +0 -23
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js +0 -206
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/EmulationManager.js +0 -458
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js +0 -457
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExtensionTransport.js +0 -175
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js +0 -358
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js +0 -455
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManagerEvents.js +0 -24
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameTree.js +0 -91
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPRequest.js +0 -195
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPResponse.js +0 -126
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Input.js +0 -499
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js +0 -157
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorlds.js +0 -20
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js +0 -101
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js +0 -174
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkEventManager.js +0 -162
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js +0 -601
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js +0 -1011
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.js +0 -69
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Target.js +0 -243
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManageEvents.js +0 -7
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js +0 -320
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Tracing.js +0 -110
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/WebWorker.js +0 -73
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/cdp.js +0 -43
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/utils.js +0 -216
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +0 -54
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +0 -129
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +0 -39
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CSSQueryHandler.js +0 -18
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js +0 -133
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +0 -78
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js +0 -114
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +0 -109
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.js +0 -1604
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +0 -94
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +0 -128
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +0 -75
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js +0 -70
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js +0 -142
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/LazyArg.js +0 -23
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManagerEvents.js +0 -21
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +0 -58
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js +0 -18
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js +0 -100
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js +0 -18
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +0 -98
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +0 -225
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js +0 -51
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +0 -69
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +0 -24
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js +0 -15
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +0 -39
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +0 -394
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js +0 -197
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js +0 -21
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/common.js +0 -35
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js +0 -375
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +0 -24
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/generated/injected.js +0 -9
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/index-browser.js +0 -11
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/index.js +0 -8
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js +0 -41
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +0 -14
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/AsyncIterableUtil.js +0 -29
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js +0 -105
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/ErrorLike.js +0 -41
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Function.js +0 -70
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Mutex.js +0 -46
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.js +0 -18
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js +0 -232
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/disposable.js +0 -342
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/encoding.js +0 -63
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/incremental-id-generator.js +0 -18
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/util.js +0 -13
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/version.js +0 -10
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js +0 -44
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/parsel-js/parsel-js.js +0 -196
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js +0 -2887
- package/.next/standalone/node_modules/puppeteer-core/package.json +0 -169
- package/.next/standalone/node_modules/semver/functions/clean.js +0 -8
- package/.next/standalone/node_modules/semver/functions/compare-build.js +0 -9
- package/.next/standalone/node_modules/semver/functions/compare-loose.js +0 -5
- package/.next/standalone/node_modules/semver/functions/diff.js +0 -60
- package/.next/standalone/node_modules/semver/functions/inc.js +0 -21
- package/.next/standalone/node_modules/semver/functions/major.js +0 -5
- package/.next/standalone/node_modules/semver/functions/minor.js +0 -5
- package/.next/standalone/node_modules/semver/functions/patch.js +0 -5
- package/.next/standalone/node_modules/semver/functions/prerelease.js +0 -8
- package/.next/standalone/node_modules/semver/functions/rcompare.js +0 -5
- package/.next/standalone/node_modules/semver/functions/rsort.js +0 -5
- package/.next/standalone/node_modules/semver/functions/sort.js +0 -5
- package/.next/standalone/node_modules/semver/functions/valid.js +0 -8
- package/.next/standalone/node_modules/semver/index.js +0 -91
- package/.next/standalone/node_modules/semver/ranges/gtr.js +0 -6
- package/.next/standalone/node_modules/semver/ranges/intersects.js +0 -9
- package/.next/standalone/node_modules/semver/ranges/ltr.js +0 -6
- package/.next/standalone/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/.next/standalone/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/.next/standalone/node_modules/semver/ranges/min-version.js +0 -63
- package/.next/standalone/node_modules/semver/ranges/outside.js +0 -82
- package/.next/standalone/node_modules/semver/ranges/simplify.js +0 -49
- package/.next/standalone/node_modules/semver/ranges/subset.js +0 -249
- package/.next/standalone/node_modules/semver/ranges/to-comparators.js +0 -10
- package/.next/standalone/node_modules/semver/ranges/valid.js +0 -13
- package/.next/standalone/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
- package/.next/standalone/node_modules/smart-buffer/build/utils.js +0 -108
- package/.next/standalone/node_modules/smart-buffer/package.json +0 -79
- package/.next/standalone/node_modules/socks/build/client/socksclient.js +0 -793
- package/.next/standalone/node_modules/socks/build/common/constants.js +0 -108
- package/.next/standalone/node_modules/socks/build/common/helpers.js +0 -167
- package/.next/standalone/node_modules/socks/build/common/receivebuffer.js +0 -43
- package/.next/standalone/node_modules/socks/build/common/util.js +0 -25
- package/.next/standalone/node_modules/socks/build/index.js +0 -18
- package/.next/standalone/node_modules/socks/package.json +0 -58
- package/.next/standalone/node_modules/socks-proxy-agent/dist/index.js +0 -195
- package/.next/standalone/node_modules/socks-proxy-agent/package.json +0 -142
- package/.next/standalone/node_modules/source-map/lib/array-set.js +0 -121
- package/.next/standalone/node_modules/source-map/lib/base64-vlq.js +0 -140
- package/.next/standalone/node_modules/source-map/lib/base64.js +0 -67
- package/.next/standalone/node_modules/source-map/lib/binary-search.js +0 -111
- package/.next/standalone/node_modules/source-map/lib/mapping-list.js +0 -79
- package/.next/standalone/node_modules/source-map/lib/quick-sort.js +0 -114
- package/.next/standalone/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- package/.next/standalone/node_modules/source-map/lib/source-map-generator.js +0 -425
- package/.next/standalone/node_modules/source-map/lib/source-node.js +0 -413
- package/.next/standalone/node_modules/source-map/lib/util.js +0 -488
- package/.next/standalone/node_modules/source-map/package.json +0 -73
- package/.next/standalone/node_modules/source-map/source-map.js +0 -8
- package/.next/standalone/node_modules/streamx/index.js +0 -1184
- package/.next/standalone/node_modules/streamx/package.json +0 -34
- package/.next/standalone/node_modules/supports-color/index.js +0 -135
- package/.next/standalone/node_modules/supports-color/package.json +0 -53
- package/.next/standalone/node_modules/tar-stream/constants.js +0 -14
- package/.next/standalone/node_modules/tar-stream/extract.js +0 -406
- package/.next/standalone/node_modules/tar-stream/headers.js +0 -321
- package/.next/standalone/node_modules/tar-stream/index.js +0 -2
- package/.next/standalone/node_modules/tar-stream/pack.js +0 -287
- package/.next/standalone/node_modules/tar-stream/package.json +0 -42
- package/.next/standalone/node_modules/text-decoder/index.js +0 -64
- package/.next/standalone/node_modules/text-decoder/lib/pass-through-decoder.js +0 -19
- package/.next/standalone/node_modules/text-decoder/lib/utf8-decoder.js +0 -185
- package/.next/standalone/node_modules/text-decoder/package.json +0 -39
- package/.next/standalone/node_modules/tslib/package.json +0 -47
- package/.next/standalone/node_modules/tslib/tslib.js +0 -484
- package/.next/standalone/node_modules/wrappy/package.json +0 -29
- package/.next/standalone/node_modules/wrappy/wrappy.js +0 -33
- package/.next/standalone/node_modules/ws/lib/buffer-util.js +0 -131
- package/.next/standalone/node_modules/ws/lib/constants.js +0 -19
- package/.next/standalone/node_modules/ws/lib/event-target.js +0 -292
- package/.next/standalone/node_modules/ws/lib/extension.js +0 -203
- package/.next/standalone/node_modules/ws/lib/limiter.js +0 -55
- package/.next/standalone/node_modules/ws/lib/permessage-deflate.js +0 -528
- package/.next/standalone/node_modules/ws/lib/receiver.js +0 -706
- package/.next/standalone/node_modules/ws/lib/sender.js +0 -602
- package/.next/standalone/node_modules/ws/lib/stream.js +0 -161
- package/.next/standalone/node_modules/ws/lib/subprotocol.js +0 -62
- package/.next/standalone/node_modules/ws/lib/validation.js +0 -152
- package/.next/standalone/node_modules/ws/lib/websocket-server.js +0 -554
- package/.next/standalone/node_modules/ws/lib/websocket.js +0 -1393
- package/.next/standalone/node_modules/ws/package.json +0 -69
- package/.next/standalone/node_modules/ws/wrapper.mjs +0 -8
- package/.next/standalone/node_modules/y18n/build/lib/index.js +0 -174
- package/.next/standalone/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
- package/.next/standalone/node_modules/y18n/index.mjs +0 -8
- package/.next/standalone/node_modules/y18n/package.json +0 -70
- package/.next/standalone/node_modules/yargs/build/lib/argsert.js +0 -62
- package/.next/standalone/node_modules/yargs/build/lib/command.js +0 -449
- package/.next/standalone/node_modules/yargs/build/lib/completion-templates.js +0 -48
- package/.next/standalone/node_modules/yargs/build/lib/completion.js +0 -243
- package/.next/standalone/node_modules/yargs/build/lib/middleware.js +0 -88
- package/.next/standalone/node_modules/yargs/build/lib/parse-command.js +0 -32
- package/.next/standalone/node_modules/yargs/build/lib/typings/common-types.js +0 -9
- package/.next/standalone/node_modules/yargs/build/lib/usage.js +0 -584
- package/.next/standalone/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
- package/.next/standalone/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
- package/.next/standalone/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
- package/.next/standalone/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
- package/.next/standalone/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
- package/.next/standalone/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
- package/.next/standalone/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
- package/.next/standalone/node_modules/yargs/build/lib/utils/which-module.js +0 -10
- package/.next/standalone/node_modules/yargs/build/lib/validation.js +0 -305
- package/.next/standalone/node_modules/yargs/build/lib/yargs-factory.js +0 -1512
- package/.next/standalone/node_modules/yargs/build/lib/yerror.js +0 -9
- package/.next/standalone/node_modules/yargs/helpers/helpers.mjs +0 -10
- package/.next/standalone/node_modules/yargs/index.mjs +0 -8
- package/.next/standalone/node_modules/yargs/lib/platform-shims/esm.mjs +0 -73
- package/.next/standalone/node_modules/yargs/package.json +0 -123
- package/.next/standalone/node_modules/yargs-parser/build/lib/index.js +0 -62
- package/.next/standalone/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
- package/.next/standalone/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
- package/.next/standalone/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
- package/.next/standalone/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1045
- package/.next/standalone/node_modules/yargs-parser/package.json +0 -92
- package/.next/standalone/node_modules/yauzl/LICENSE +0 -21
- package/.next/standalone/node_modules/yauzl/README.md +0 -658
- package/.next/standalone/node_modules/yauzl/index.js +0 -796
- package/.next/standalone/node_modules/yauzl/package.json +0 -40
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/comparator.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/range.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/semver.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/cmp.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/coerce.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/compare.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/eq.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gt.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gte.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lt.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lte.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/neq.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/parse.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/satisfies.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/constants.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/debug.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/identifiers.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/lrucache.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/parse-options.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/re.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/package.json +0 -0
- /package/.next/static/{dBszpiWXsbEAjYrgq1Nuz → standalone-build}/_buildManifest.js +0 -0
- /package/.next/static/{dBszpiWXsbEAjYrgq1Nuz → standalone-build}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{dBszpiWXsbEAjYrgq1Nuz → standalone-build}/_ssgManifest.js +0 -0
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2021 Google Inc.
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* A list of pre-defined network conditions to be used with
|
|
8
|
-
* {@link Page.emulateNetworkConditions}.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
*
|
|
12
|
-
* ```ts
|
|
13
|
-
* import {PredefinedNetworkConditions} from 'puppeteer';
|
|
14
|
-
* const browser = await puppeteer.launch();
|
|
15
|
-
* const page = await browser.newPage();
|
|
16
|
-
* await page.emulateNetworkConditions(PredefinedNetworkConditions['Slow 3G']);
|
|
17
|
-
* await page.goto('https://www.google.com');
|
|
18
|
-
* await page.emulateNetworkConditions(PredefinedNetworkConditions['Fast 3G']);
|
|
19
|
-
* await page.goto('https://www.google.com');
|
|
20
|
-
* // alias to Fast 3G.
|
|
21
|
-
* await page.emulateNetworkConditions(PredefinedNetworkConditions['Slow 4G']);
|
|
22
|
-
* await page.goto('https://www.google.com');
|
|
23
|
-
* await page.emulateNetworkConditions(PredefinedNetworkConditions['Fast 4G']);
|
|
24
|
-
* await page.goto('https://www.google.com');
|
|
25
|
-
* // other actions...
|
|
26
|
-
* await browser.close();
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
export const PredefinedNetworkConditions = Object.freeze({
|
|
32
|
-
// Generally aligned with DevTools
|
|
33
|
-
// https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/front_end/core/sdk/NetworkManager.ts;l=398;drc=225e1240f522ca684473f541ae6dae6cd766dd33.
|
|
34
|
-
'Slow 3G': {
|
|
35
|
-
// ~500Kbps down
|
|
36
|
-
download: ((500 * 1000) / 8) * 0.8,
|
|
37
|
-
// ~500Kbps up
|
|
38
|
-
upload: ((500 * 1000) / 8) * 0.8,
|
|
39
|
-
// 400ms RTT
|
|
40
|
-
latency: 400 * 5,
|
|
41
|
-
},
|
|
42
|
-
'Fast 3G': {
|
|
43
|
-
// ~1.6 Mbps down
|
|
44
|
-
download: ((1.6 * 1000 * 1000) / 8) * 0.9,
|
|
45
|
-
// ~0.75 Mbps up
|
|
46
|
-
upload: ((750 * 1000) / 8) * 0.9,
|
|
47
|
-
// 150ms RTT
|
|
48
|
-
latency: 150 * 3.75,
|
|
49
|
-
},
|
|
50
|
-
// alias to Fast 3G to align with Lighthouse (crbug.com/342406608)
|
|
51
|
-
// and DevTools (crbug.com/342406608),
|
|
52
|
-
'Slow 4G': {
|
|
53
|
-
// ~1.6 Mbps down
|
|
54
|
-
download: ((1.6 * 1000 * 1000) / 8) * 0.9,
|
|
55
|
-
// ~0.75 Mbps up
|
|
56
|
-
upload: ((750 * 1000) / 8) * 0.9,
|
|
57
|
-
// 150ms RTT
|
|
58
|
-
latency: 150 * 3.75,
|
|
59
|
-
},
|
|
60
|
-
'Fast 4G': {
|
|
61
|
-
// 9 Mbps down
|
|
62
|
-
download: ((9 * 1000 * 1000) / 8) * 0.9,
|
|
63
|
-
// 1.5 Mbps up
|
|
64
|
-
upload: ((1.5 * 1000 * 1000) / 8) * 0.9,
|
|
65
|
-
// 60ms RTT
|
|
66
|
-
latency: 60 * 2.75,
|
|
67
|
-
},
|
|
68
|
-
});
|
|
69
|
-
//# sourceMappingURL=PredefinedNetworkConditions.js.map
|
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2019 Google Inc.
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { Target, TargetType } from '../api/Target.js';
|
|
7
|
-
import { debugError } from '../common/util.js';
|
|
8
|
-
import { Deferred } from '../util/Deferred.js';
|
|
9
|
-
import { CdpPage } from './Page.js';
|
|
10
|
-
import { CdpWebWorker } from './WebWorker.js';
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
export var InitializationStatus;
|
|
15
|
-
(function (InitializationStatus) {
|
|
16
|
-
InitializationStatus["SUCCESS"] = "success";
|
|
17
|
-
InitializationStatus["ABORTED"] = "aborted";
|
|
18
|
-
})(InitializationStatus || (InitializationStatus = {}));
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
|
-
export class CdpTarget extends Target {
|
|
23
|
-
#browserContext;
|
|
24
|
-
#session;
|
|
25
|
-
#targetInfo;
|
|
26
|
-
#targetManager;
|
|
27
|
-
#sessionFactory;
|
|
28
|
-
#childTargets = new Set();
|
|
29
|
-
_initializedDeferred = Deferred.create();
|
|
30
|
-
_isClosedDeferred = Deferred.create();
|
|
31
|
-
_targetId;
|
|
32
|
-
/**
|
|
33
|
-
* To initialize the target for use, call initialize.
|
|
34
|
-
*
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
|
-
constructor(targetInfo, session, browserContext, targetManager, sessionFactory) {
|
|
38
|
-
super();
|
|
39
|
-
this.#session = session;
|
|
40
|
-
this.#targetManager = targetManager;
|
|
41
|
-
this.#targetInfo = targetInfo;
|
|
42
|
-
this.#browserContext = browserContext;
|
|
43
|
-
this._targetId = targetInfo.targetId;
|
|
44
|
-
this.#sessionFactory = sessionFactory;
|
|
45
|
-
if (this.#session) {
|
|
46
|
-
this.#session.setTarget(this);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
async asPage() {
|
|
50
|
-
const session = this._session();
|
|
51
|
-
if (!session) {
|
|
52
|
-
return await this.createCDPSession().then(client => {
|
|
53
|
-
return CdpPage._create(client, this, null);
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
return await CdpPage._create(session, this, null);
|
|
57
|
-
}
|
|
58
|
-
_subtype() {
|
|
59
|
-
return this.#targetInfo.subtype;
|
|
60
|
-
}
|
|
61
|
-
_session() {
|
|
62
|
-
return this.#session;
|
|
63
|
-
}
|
|
64
|
-
_addChildTarget(target) {
|
|
65
|
-
this.#childTargets.add(target);
|
|
66
|
-
}
|
|
67
|
-
_removeChildTarget(target) {
|
|
68
|
-
this.#childTargets.delete(target);
|
|
69
|
-
}
|
|
70
|
-
_childTargets() {
|
|
71
|
-
return this.#childTargets;
|
|
72
|
-
}
|
|
73
|
-
_sessionFactory() {
|
|
74
|
-
if (!this.#sessionFactory) {
|
|
75
|
-
throw new Error('sessionFactory is not initialized');
|
|
76
|
-
}
|
|
77
|
-
return this.#sessionFactory;
|
|
78
|
-
}
|
|
79
|
-
createCDPSession() {
|
|
80
|
-
if (!this.#sessionFactory) {
|
|
81
|
-
throw new Error('sessionFactory is not initialized');
|
|
82
|
-
}
|
|
83
|
-
return this.#sessionFactory(false).then(session => {
|
|
84
|
-
session.setTarget(this);
|
|
85
|
-
return session;
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
url() {
|
|
89
|
-
return this.#targetInfo.url;
|
|
90
|
-
}
|
|
91
|
-
type() {
|
|
92
|
-
const type = this.#targetInfo.type;
|
|
93
|
-
switch (type) {
|
|
94
|
-
case 'page':
|
|
95
|
-
return TargetType.PAGE;
|
|
96
|
-
case 'background_page':
|
|
97
|
-
return TargetType.BACKGROUND_PAGE;
|
|
98
|
-
case 'service_worker':
|
|
99
|
-
return TargetType.SERVICE_WORKER;
|
|
100
|
-
case 'shared_worker':
|
|
101
|
-
return TargetType.SHARED_WORKER;
|
|
102
|
-
case 'browser':
|
|
103
|
-
return TargetType.BROWSER;
|
|
104
|
-
case 'webview':
|
|
105
|
-
return TargetType.WEBVIEW;
|
|
106
|
-
case 'tab':
|
|
107
|
-
return TargetType.TAB;
|
|
108
|
-
default:
|
|
109
|
-
return TargetType.OTHER;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
_targetManager() {
|
|
113
|
-
if (!this.#targetManager) {
|
|
114
|
-
throw new Error('targetManager is not initialized');
|
|
115
|
-
}
|
|
116
|
-
return this.#targetManager;
|
|
117
|
-
}
|
|
118
|
-
_getTargetInfo() {
|
|
119
|
-
return this.#targetInfo;
|
|
120
|
-
}
|
|
121
|
-
browser() {
|
|
122
|
-
if (!this.#browserContext) {
|
|
123
|
-
throw new Error('browserContext is not initialized');
|
|
124
|
-
}
|
|
125
|
-
return this.#browserContext.browser();
|
|
126
|
-
}
|
|
127
|
-
browserContext() {
|
|
128
|
-
if (!this.#browserContext) {
|
|
129
|
-
throw new Error('browserContext is not initialized');
|
|
130
|
-
}
|
|
131
|
-
return this.#browserContext;
|
|
132
|
-
}
|
|
133
|
-
opener() {
|
|
134
|
-
const { openerId } = this.#targetInfo;
|
|
135
|
-
if (!openerId) {
|
|
136
|
-
return;
|
|
137
|
-
}
|
|
138
|
-
return this.browser()
|
|
139
|
-
.targets()
|
|
140
|
-
.find(target => {
|
|
141
|
-
return target._targetId === openerId;
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
_targetInfoChanged(targetInfo) {
|
|
145
|
-
this.#targetInfo = targetInfo;
|
|
146
|
-
this._checkIfInitialized();
|
|
147
|
-
}
|
|
148
|
-
_initialize() {
|
|
149
|
-
this._initializedDeferred.resolve(InitializationStatus.SUCCESS);
|
|
150
|
-
}
|
|
151
|
-
_isTargetExposed() {
|
|
152
|
-
return this.type() !== TargetType.TAB && !this._subtype();
|
|
153
|
-
}
|
|
154
|
-
_checkIfInitialized() {
|
|
155
|
-
if (!this._initializedDeferred.resolved()) {
|
|
156
|
-
this._initializedDeferred.resolve(InitializationStatus.SUCCESS);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* @internal
|
|
162
|
-
*/
|
|
163
|
-
export class PageTarget extends CdpTarget {
|
|
164
|
-
#defaultViewport;
|
|
165
|
-
pagePromise;
|
|
166
|
-
constructor(targetInfo, session, browserContext, targetManager, sessionFactory, defaultViewport) {
|
|
167
|
-
super(targetInfo, session, browserContext, targetManager, sessionFactory);
|
|
168
|
-
this.#defaultViewport = defaultViewport ?? undefined;
|
|
169
|
-
}
|
|
170
|
-
_initialize() {
|
|
171
|
-
this._initializedDeferred
|
|
172
|
-
.valueOrThrow()
|
|
173
|
-
.then(async (result) => {
|
|
174
|
-
if (result === InitializationStatus.ABORTED) {
|
|
175
|
-
return;
|
|
176
|
-
}
|
|
177
|
-
const opener = this.opener();
|
|
178
|
-
if (!(opener instanceof PageTarget)) {
|
|
179
|
-
return;
|
|
180
|
-
}
|
|
181
|
-
if (!opener || !opener.pagePromise || this.type() !== 'page') {
|
|
182
|
-
return true;
|
|
183
|
-
}
|
|
184
|
-
const openerPage = await opener.pagePromise;
|
|
185
|
-
if (!openerPage.listenerCount("popup" /* PageEvent.Popup */)) {
|
|
186
|
-
return true;
|
|
187
|
-
}
|
|
188
|
-
const popupPage = await this.page();
|
|
189
|
-
openerPage.emit("popup" /* PageEvent.Popup */, popupPage);
|
|
190
|
-
return true;
|
|
191
|
-
})
|
|
192
|
-
.catch(debugError);
|
|
193
|
-
this._checkIfInitialized();
|
|
194
|
-
}
|
|
195
|
-
async page() {
|
|
196
|
-
if (!this.pagePromise) {
|
|
197
|
-
const session = this._session();
|
|
198
|
-
this.pagePromise = (session
|
|
199
|
-
? Promise.resolve(session)
|
|
200
|
-
: this._sessionFactory()(/* isAutoAttachEmulated=*/ false)).then(client => {
|
|
201
|
-
return CdpPage._create(client, this, this.#defaultViewport ?? null);
|
|
202
|
-
});
|
|
203
|
-
}
|
|
204
|
-
return (await this.pagePromise) ?? null;
|
|
205
|
-
}
|
|
206
|
-
_checkIfInitialized() {
|
|
207
|
-
if (this._initializedDeferred.resolved()) {
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
if (this._getTargetInfo().url !== '') {
|
|
211
|
-
this._initializedDeferred.resolve(InitializationStatus.SUCCESS);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* @internal
|
|
217
|
-
*/
|
|
218
|
-
export class DevToolsTarget extends PageTarget {
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* @internal
|
|
222
|
-
*/
|
|
223
|
-
export class WorkerTarget extends CdpTarget {
|
|
224
|
-
#workerPromise;
|
|
225
|
-
async worker() {
|
|
226
|
-
if (!this.#workerPromise) {
|
|
227
|
-
const session = this._session();
|
|
228
|
-
// TODO(einbinder): Make workers send their console logs.
|
|
229
|
-
this.#workerPromise = (session
|
|
230
|
-
? Promise.resolve(session)
|
|
231
|
-
: this._sessionFactory()(/* isAutoAttachEmulated=*/ false)).then(client => {
|
|
232
|
-
return new CdpWebWorker(client, this._getTargetInfo().url, this._targetId, this.type(), () => { } /* consoleAPICalled */, () => { } /* exceptionThrown */, undefined /* networkManager */);
|
|
233
|
-
});
|
|
234
|
-
}
|
|
235
|
-
return await this.#workerPromise;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
/**
|
|
239
|
-
* @internal
|
|
240
|
-
*/
|
|
241
|
-
export class OtherTarget extends CdpTarget {
|
|
242
|
-
}
|
|
243
|
-
//# sourceMappingURL=Target.js.map
|
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022 Google Inc.
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { CDPSessionEvent } from '../api/CDPSession.js';
|
|
7
|
-
import { EventEmitter } from '../common/EventEmitter.js';
|
|
8
|
-
import { debugError } from '../common/util.js';
|
|
9
|
-
import { assert } from '../util/assert.js';
|
|
10
|
-
import { Deferred } from '../util/Deferred.js';
|
|
11
|
-
import { CdpCDPSession } from './CdpSession.js';
|
|
12
|
-
import { InitializationStatus } from './Target.js';
|
|
13
|
-
function isPageTargetBecomingPrimary(target, newTargetInfo) {
|
|
14
|
-
return Boolean(target._subtype()) && !newTargetInfo.subtype;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* TargetManager encapsulates all interactions with CDP targets and is
|
|
18
|
-
* responsible for coordinating the configuration of targets with the rest of
|
|
19
|
-
* Puppeteer. Code outside of this class should not subscribe `Target.*` events
|
|
20
|
-
* and only use the TargetManager events.
|
|
21
|
-
*
|
|
22
|
-
* TargetManager uses the CDP's auto-attach mechanism to intercept
|
|
23
|
-
* new targets and allow the rest of Puppeteer to configure listeners while
|
|
24
|
-
* the target is paused.
|
|
25
|
-
*
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
28
|
-
export class TargetManager extends EventEmitter {
|
|
29
|
-
#connection;
|
|
30
|
-
/**
|
|
31
|
-
* Keeps track of the following events: 'Target.targetCreated',
|
|
32
|
-
* 'Target.targetDestroyed', 'Target.targetInfoChanged'.
|
|
33
|
-
*
|
|
34
|
-
* A target becomes discovered when 'Target.targetCreated' is received.
|
|
35
|
-
* A target is removed from this map once 'Target.targetDestroyed' is
|
|
36
|
-
* received.
|
|
37
|
-
*
|
|
38
|
-
* `targetFilterCallback` has no effect on this map.
|
|
39
|
-
*/
|
|
40
|
-
#discoveredTargetsByTargetId = new Map();
|
|
41
|
-
/**
|
|
42
|
-
* A target is added to this map once TargetManager has created
|
|
43
|
-
* a Target and attached at least once to it.
|
|
44
|
-
*/
|
|
45
|
-
#attachedTargetsByTargetId = new Map();
|
|
46
|
-
/**
|
|
47
|
-
* Tracks which sessions attach to which target.
|
|
48
|
-
*/
|
|
49
|
-
#attachedTargetsBySessionId = new Map();
|
|
50
|
-
/**
|
|
51
|
-
* If a target was filtered out by `targetFilterCallback`, we still receive
|
|
52
|
-
* events about it from CDP, but we don't forward them to the rest of Puppeteer.
|
|
53
|
-
*/
|
|
54
|
-
#ignoredTargets = new Set();
|
|
55
|
-
#targetFilterCallback;
|
|
56
|
-
#targetFactory;
|
|
57
|
-
#attachedToTargetListenersBySession = new WeakMap();
|
|
58
|
-
#detachedFromTargetListenersBySession = new WeakMap();
|
|
59
|
-
#initializeDeferred = Deferred.create();
|
|
60
|
-
#waitForInitiallyDiscoveredTargets = true;
|
|
61
|
-
#discoveryFilter = [{}];
|
|
62
|
-
// IDs of tab targets detected while running the initial Target.setAutoAttach
|
|
63
|
-
// request. These are the targets whose initialization we want to await for
|
|
64
|
-
// before resolving puppeteer.connect() or launch() to avoid flakiness.
|
|
65
|
-
// Whenever a sub-target whose parent is a tab target is attached, we remove
|
|
66
|
-
// the tab target from this list. Once the list is empty, we resolve the
|
|
67
|
-
// initializeDeferred.
|
|
68
|
-
#targetsIdsForInit = new Set();
|
|
69
|
-
// This is false until the connection-level Target.setAutoAttach request is
|
|
70
|
-
// done. It indicates whethere we are running the initial auto-attach step or
|
|
71
|
-
// if we are handling targets after that.
|
|
72
|
-
#initialAttachDone = false;
|
|
73
|
-
constructor(connection, targetFactory, targetFilterCallback, waitForInitiallyDiscoveredTargets = true) {
|
|
74
|
-
super();
|
|
75
|
-
this.#connection = connection;
|
|
76
|
-
this.#targetFilterCallback = targetFilterCallback;
|
|
77
|
-
this.#targetFactory = targetFactory;
|
|
78
|
-
this.#waitForInitiallyDiscoveredTargets = waitForInitiallyDiscoveredTargets;
|
|
79
|
-
this.#connection.on('Target.targetCreated', this.#onTargetCreated);
|
|
80
|
-
this.#connection.on('Target.targetDestroyed', this.#onTargetDestroyed);
|
|
81
|
-
this.#connection.on('Target.targetInfoChanged', this.#onTargetInfoChanged);
|
|
82
|
-
this.#connection.on(CDPSessionEvent.SessionDetached, this.#onSessionDetached);
|
|
83
|
-
this.#setupAttachmentListeners(this.#connection);
|
|
84
|
-
}
|
|
85
|
-
async initialize() {
|
|
86
|
-
await this.#connection.send('Target.setDiscoverTargets', {
|
|
87
|
-
discover: true,
|
|
88
|
-
filter: this.#discoveryFilter,
|
|
89
|
-
});
|
|
90
|
-
await this.#connection.send('Target.setAutoAttach', {
|
|
91
|
-
waitForDebuggerOnStart: true,
|
|
92
|
-
flatten: true,
|
|
93
|
-
autoAttach: true,
|
|
94
|
-
filter: [
|
|
95
|
-
{
|
|
96
|
-
type: 'page',
|
|
97
|
-
exclude: true,
|
|
98
|
-
},
|
|
99
|
-
...this.#discoveryFilter,
|
|
100
|
-
],
|
|
101
|
-
});
|
|
102
|
-
this.#initialAttachDone = true;
|
|
103
|
-
this.#finishInitializationIfReady();
|
|
104
|
-
await this.#initializeDeferred.valueOrThrow();
|
|
105
|
-
}
|
|
106
|
-
getChildTargets(target) {
|
|
107
|
-
return target._childTargets();
|
|
108
|
-
}
|
|
109
|
-
dispose() {
|
|
110
|
-
this.#connection.off('Target.targetCreated', this.#onTargetCreated);
|
|
111
|
-
this.#connection.off('Target.targetDestroyed', this.#onTargetDestroyed);
|
|
112
|
-
this.#connection.off('Target.targetInfoChanged', this.#onTargetInfoChanged);
|
|
113
|
-
this.#connection.off(CDPSessionEvent.SessionDetached, this.#onSessionDetached);
|
|
114
|
-
this.#removeAttachmentListeners(this.#connection);
|
|
115
|
-
}
|
|
116
|
-
getAvailableTargets() {
|
|
117
|
-
return this.#attachedTargetsByTargetId;
|
|
118
|
-
}
|
|
119
|
-
#setupAttachmentListeners(session) {
|
|
120
|
-
const listener = (event) => {
|
|
121
|
-
void this.#onAttachedToTarget(session, event);
|
|
122
|
-
};
|
|
123
|
-
assert(!this.#attachedToTargetListenersBySession.has(session));
|
|
124
|
-
this.#attachedToTargetListenersBySession.set(session, listener);
|
|
125
|
-
session.on('Target.attachedToTarget', listener);
|
|
126
|
-
const detachedListener = (event) => {
|
|
127
|
-
return this.#onDetachedFromTarget(session, event);
|
|
128
|
-
};
|
|
129
|
-
assert(!this.#detachedFromTargetListenersBySession.has(session));
|
|
130
|
-
this.#detachedFromTargetListenersBySession.set(session, detachedListener);
|
|
131
|
-
session.on('Target.detachedFromTarget', detachedListener);
|
|
132
|
-
}
|
|
133
|
-
#removeAttachmentListeners(session) {
|
|
134
|
-
const listener = this.#attachedToTargetListenersBySession.get(session);
|
|
135
|
-
if (listener) {
|
|
136
|
-
session.off('Target.attachedToTarget', listener);
|
|
137
|
-
this.#attachedToTargetListenersBySession.delete(session);
|
|
138
|
-
}
|
|
139
|
-
const detachedListener = this.#detachedFromTargetListenersBySession.get(session);
|
|
140
|
-
if (detachedListener) {
|
|
141
|
-
session.off('Target.detachedFromTarget', detachedListener);
|
|
142
|
-
this.#detachedFromTargetListenersBySession.delete(session);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
#silentDetach = async (session, parentSession) => {
|
|
146
|
-
await session.send('Runtime.runIfWaitingForDebugger').catch(debugError);
|
|
147
|
-
// We don't use `session.detach()` because that dispatches all commands on
|
|
148
|
-
// the connection instead of the parent session.
|
|
149
|
-
await parentSession
|
|
150
|
-
.send('Target.detachFromTarget', {
|
|
151
|
-
sessionId: session.id(),
|
|
152
|
-
})
|
|
153
|
-
.catch(debugError);
|
|
154
|
-
};
|
|
155
|
-
#getParentTarget = (parentSession) => {
|
|
156
|
-
return parentSession instanceof CdpCDPSession
|
|
157
|
-
? parentSession.target()
|
|
158
|
-
: null;
|
|
159
|
-
};
|
|
160
|
-
#onSessionDetached = (session) => {
|
|
161
|
-
this.#removeAttachmentListeners(session);
|
|
162
|
-
};
|
|
163
|
-
#onTargetCreated = async (event) => {
|
|
164
|
-
this.#discoveredTargetsByTargetId.set(event.targetInfo.targetId, event.targetInfo);
|
|
165
|
-
this.emit("targetDiscovered" /* TargetManagerEvent.TargetDiscovered */, event.targetInfo);
|
|
166
|
-
// The connection is already attached to the browser target implicitly,
|
|
167
|
-
// therefore, no new CDPSession is created and we have special handling
|
|
168
|
-
// here.
|
|
169
|
-
if (event.targetInfo.type === 'browser' && event.targetInfo.attached) {
|
|
170
|
-
if (this.#attachedTargetsByTargetId.has(event.targetInfo.targetId)) {
|
|
171
|
-
return;
|
|
172
|
-
}
|
|
173
|
-
const target = this.#targetFactory(event.targetInfo, undefined);
|
|
174
|
-
target._initialize();
|
|
175
|
-
this.#attachedTargetsByTargetId.set(event.targetInfo.targetId, target);
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
#onTargetDestroyed = (event) => {
|
|
179
|
-
const targetInfo = this.#discoveredTargetsByTargetId.get(event.targetId);
|
|
180
|
-
this.#discoveredTargetsByTargetId.delete(event.targetId);
|
|
181
|
-
this.#finishInitializationIfReady(event.targetId);
|
|
182
|
-
if (targetInfo?.type === 'service_worker') {
|
|
183
|
-
// Special case for service workers: report TargetGone event when
|
|
184
|
-
// the worker is destroyed.
|
|
185
|
-
const target = this.#attachedTargetsByTargetId.get(event.targetId);
|
|
186
|
-
if (target) {
|
|
187
|
-
this.emit("targetGone" /* TargetManagerEvent.TargetGone */, target);
|
|
188
|
-
this.#attachedTargetsByTargetId.delete(event.targetId);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
};
|
|
192
|
-
#onTargetInfoChanged = (event) => {
|
|
193
|
-
this.#discoveredTargetsByTargetId.set(event.targetInfo.targetId, event.targetInfo);
|
|
194
|
-
if (this.#ignoredTargets.has(event.targetInfo.targetId) ||
|
|
195
|
-
!event.targetInfo.attached) {
|
|
196
|
-
return;
|
|
197
|
-
}
|
|
198
|
-
const target = this.#attachedTargetsByTargetId.get(event.targetInfo.targetId);
|
|
199
|
-
if (!target) {
|
|
200
|
-
return;
|
|
201
|
-
}
|
|
202
|
-
const previousURL = target.url();
|
|
203
|
-
const wasInitialized = target._initializedDeferred.value() === InitializationStatus.SUCCESS;
|
|
204
|
-
if (isPageTargetBecomingPrimary(target, event.targetInfo)) {
|
|
205
|
-
const session = target._session();
|
|
206
|
-
assert(session, 'Target that is being activated is missing a CDPSession.');
|
|
207
|
-
session.parentSession()?.emit(CDPSessionEvent.Swapped, session);
|
|
208
|
-
}
|
|
209
|
-
target._targetInfoChanged(event.targetInfo);
|
|
210
|
-
if (wasInitialized && previousURL !== target.url()) {
|
|
211
|
-
this.emit("targetChanged" /* TargetManagerEvent.TargetChanged */, {
|
|
212
|
-
target,
|
|
213
|
-
wasInitialized,
|
|
214
|
-
previousURL,
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
#onAttachedToTarget = async (parentSession, event) => {
|
|
219
|
-
const targetInfo = event.targetInfo;
|
|
220
|
-
const session = this.#connection._session(event.sessionId);
|
|
221
|
-
if (!session) {
|
|
222
|
-
throw new Error(`Session ${event.sessionId} was not created.`);
|
|
223
|
-
}
|
|
224
|
-
if (!this.#connection.isAutoAttached(targetInfo.targetId)) {
|
|
225
|
-
return;
|
|
226
|
-
}
|
|
227
|
-
// Special case for service workers: being attached to service workers will
|
|
228
|
-
// prevent them from ever being destroyed. Therefore, we silently detach
|
|
229
|
-
// from service workers unless the connection was manually created via
|
|
230
|
-
// `page.worker()`. To determine this, we use
|
|
231
|
-
// `this.#connection.isAutoAttached(targetInfo.targetId)`. In the future, we
|
|
232
|
-
// should determine if a target is auto-attached or not with the help of
|
|
233
|
-
// CDP.
|
|
234
|
-
if (targetInfo.type === 'service_worker') {
|
|
235
|
-
await this.#silentDetach(session, parentSession);
|
|
236
|
-
if (this.#attachedTargetsByTargetId.has(targetInfo.targetId)) {
|
|
237
|
-
return;
|
|
238
|
-
}
|
|
239
|
-
const target = this.#targetFactory(targetInfo);
|
|
240
|
-
target._initialize();
|
|
241
|
-
this.#attachedTargetsByTargetId.set(targetInfo.targetId, target);
|
|
242
|
-
this.emit("targetAvailable" /* TargetManagerEvent.TargetAvailable */, target);
|
|
243
|
-
return;
|
|
244
|
-
}
|
|
245
|
-
let target = this.#attachedTargetsByTargetId.get(targetInfo.targetId);
|
|
246
|
-
const isExistingTarget = target !== undefined;
|
|
247
|
-
if (!target) {
|
|
248
|
-
target = this.#targetFactory(targetInfo, session, parentSession instanceof CdpCDPSession ? parentSession : undefined);
|
|
249
|
-
}
|
|
250
|
-
const parentTarget = this.#getParentTarget(parentSession);
|
|
251
|
-
if (this.#targetFilterCallback && !this.#targetFilterCallback(target)) {
|
|
252
|
-
this.#ignoredTargets.add(targetInfo.targetId);
|
|
253
|
-
if (parentTarget?.type() === 'tab') {
|
|
254
|
-
this.#finishInitializationIfReady(parentTarget._targetId);
|
|
255
|
-
}
|
|
256
|
-
await this.#silentDetach(session, parentSession);
|
|
257
|
-
return;
|
|
258
|
-
}
|
|
259
|
-
if (this.#waitForInitiallyDiscoveredTargets &&
|
|
260
|
-
event.targetInfo.type === 'tab' &&
|
|
261
|
-
!this.#initialAttachDone) {
|
|
262
|
-
this.#targetsIdsForInit.add(event.targetInfo.targetId);
|
|
263
|
-
}
|
|
264
|
-
this.#setupAttachmentListeners(session);
|
|
265
|
-
if (isExistingTarget) {
|
|
266
|
-
session.setTarget(target);
|
|
267
|
-
this.#attachedTargetsBySessionId.set(session.id(), target);
|
|
268
|
-
}
|
|
269
|
-
else {
|
|
270
|
-
target._initialize();
|
|
271
|
-
this.#attachedTargetsByTargetId.set(targetInfo.targetId, target);
|
|
272
|
-
this.#attachedTargetsBySessionId.set(session.id(), target);
|
|
273
|
-
}
|
|
274
|
-
parentTarget?._addChildTarget(target);
|
|
275
|
-
parentSession.emit(CDPSessionEvent.Ready, session);
|
|
276
|
-
if (!isExistingTarget) {
|
|
277
|
-
this.emit("targetAvailable" /* TargetManagerEvent.TargetAvailable */, target);
|
|
278
|
-
}
|
|
279
|
-
if (parentTarget?.type() === 'tab') {
|
|
280
|
-
this.#finishInitializationIfReady(parentTarget._targetId);
|
|
281
|
-
}
|
|
282
|
-
// TODO: the browser might be shutting down here. What do we do with the
|
|
283
|
-
// error?
|
|
284
|
-
await Promise.all([
|
|
285
|
-
session.send('Target.setAutoAttach', {
|
|
286
|
-
waitForDebuggerOnStart: true,
|
|
287
|
-
flatten: true,
|
|
288
|
-
autoAttach: true,
|
|
289
|
-
filter: this.#discoveryFilter,
|
|
290
|
-
}),
|
|
291
|
-
session.send('Runtime.runIfWaitingForDebugger'),
|
|
292
|
-
]).catch(debugError);
|
|
293
|
-
};
|
|
294
|
-
#finishInitializationIfReady(targetId) {
|
|
295
|
-
if (targetId !== undefined) {
|
|
296
|
-
this.#targetsIdsForInit.delete(targetId);
|
|
297
|
-
}
|
|
298
|
-
// If we are still initializing it might be that we have not learned about
|
|
299
|
-
// some targets yet.
|
|
300
|
-
if (!this.#initialAttachDone) {
|
|
301
|
-
return;
|
|
302
|
-
}
|
|
303
|
-
if (this.#targetsIdsForInit.size === 0) {
|
|
304
|
-
this.#initializeDeferred.resolve();
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
#onDetachedFromTarget = (parentSession, event) => {
|
|
308
|
-
const target = this.#attachedTargetsBySessionId.get(event.sessionId);
|
|
309
|
-
this.#attachedTargetsBySessionId.delete(event.sessionId);
|
|
310
|
-
if (!target) {
|
|
311
|
-
return;
|
|
312
|
-
}
|
|
313
|
-
if (parentSession instanceof CdpCDPSession) {
|
|
314
|
-
parentSession.target()._removeChildTarget(target);
|
|
315
|
-
}
|
|
316
|
-
this.#attachedTargetsByTargetId.delete(target._targetId);
|
|
317
|
-
this.emit("targetGone" /* TargetManagerEvent.TargetGone */, target);
|
|
318
|
-
};
|
|
319
|
-
}
|
|
320
|
-
//# sourceMappingURL=TargetManager.js.map
|