better-dsh 0.3.0-e → 0.3.0-f
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/README.md +12 -11
- package/cordis.patch.yml +1 -29
- package/lib/BrowserWebSocketTransport-CgnU0Bka.js +4 -0
- package/lib/{BrowserWebSocketTransport-wm99h94r.js → BrowserWebSocketTransport-CokhVKFw.js} +2 -2
- package/lib/LaunchOptions-DljEj6Vd.js +4 -0
- package/lib/{LaunchOptions-DXdeJis3.js → LaunchOptions-NT3-rzpY.js} +2 -2
- package/lib/NodeWebSocketTransport-5Wqr0cTX.js +4 -0
- package/lib/{NodeWebSocketTransport-D9ysYGLM.js → NodeWebSocketTransport-DtNdogd8.js} +29 -29
- package/lib/{bidi-CwtLGgcA.js → bidi-CXUoxww0.js} +99 -99
- package/lib/client/index.js +25 -2
- package/lib/fs-aware/sandbox-plugin.js +1 -1
- package/lib/{index-browser-Bp3vxHC3.js → index-browser-DkpQrcIm.js} +104 -104
- package/lib/{main-CKFNYpqT.js → main-CspJGYxD.js} +14 -14
- package/lib/{main-BXwPLuYr.js → main-jPcGHA-q.js} +1 -1
- package/lib/mobile/plugin.d.ts +1 -1
- package/lib/{puppeteer-core-Bliv_vNf.js → puppeteer-core-D29koPVJ.js} +17 -17
- package/lib/url-schemes/index.d.ts +11 -11
- package/lib/url-schemes/index.js +16 -16
- package/lib/{util-BHL_dfV_.js → util-CdSJv4Yr.js} +9 -9
- package/lib/{wasm_bg-CNXhHjVg.js → wasm_bg-C8T5tUKB.js} +2 -2
- package/lib/web-password.d.ts +7 -7
- package/lib/{web-tree-sitter-CPrPD4J2.js → web-tree-sitter-BUIVjOZV.js} +1 -1
- package/lib/{web-trust-C_Y6o8Z2.d.ts → web-trust-Dej_RI2B.d.ts} +11 -11
- package/lib/web-trust.d.ts +2 -1
- package/lib/welcome-notice.d.ts +5 -7
- package/lib/welcome-notice.js +9 -48
- package/package.json +2 -14
- package/lib/BrowserWebSocketTransport-D1aFReu_.js +0 -4
- package/lib/LaunchOptions-3peHoOAx.js +0 -4
- package/lib/NodeWebSocketTransport-BRLjmu2R.js +0 -4
- package/lib/hmr.d.ts +0 -32
- package/lib/hmr.js +0 -49
- package/lib/webserver.d.ts +0 -10
- package/lib/webserver.js +0 -19
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as __require } from "./chunk-DQxbwPpZ.js";
|
|
2
|
-
import { A as stringToTypedArray, G as first, H as delayWhen, K as firstValueFrom, L as combineLatest, M as assert, Q as map, S as timeout, St as debug, Tt as environment, V as defer, W as filter, at as race, b as isString, bt as TouchError, c as evaluationString, d as fromEmitterEvent, g as isDate, gt as ProtocolError, h as getSourceUrlComment, ht as ConnectionClosedError, i as SOURCE_URL_REGEX, k as stringToBase64, lt as switchMap, m as getSourcePuppeteerURLIfAvailable, o as debugCatchError, ot as raceWith, q as from, r as PuppeteerURL, rt as of, s as debugError, u as fromAbortSignal, v as isPlainObject, vt as TargetCloseError, x as parsePDFOptions, xt as UnsupportedOperation, y as isRegExp, yt as TimeoutError } from "./util-
|
|
3
|
-
import { $n as Deferred, $t as scriptInjector, Bt as throwIfDetached, Ct as WebWorkerEvent, Dn as DeviceRequestPrompt, Dt as normalizeHeaderValue, Fn as Browser, Hn as DisposableStack, Ht as bindIsolatedHandle, In as WEB_PERMISSION_TO_PROTOCOL_PERMISSION, It as Dialog, Jn as CallbackRegistry, Kn as disposeSymbol, Ln as CDPSession, Lt as Accessibility, Mn as invokeAtMostOnceForArguments, Mt as InterceptResolutionAction, Nn as throwIfDisposed, Nt as STATUS_TEXTS, On as BrowserContext, Ot as SecurityDetails, Pt as handleError, Rt as Frame, St as WebWorker, Ut as JSHandle, Vt as ElementHandle, Zn as isErrorLike, _t as Mouse, an as stringifyFunction, cn as Tracing, dt as ConsoleMessage, en as ARIAQueryHandler, fn as Coverage, gt as Keyboard, ht as TargetType, in as interpolateFunction, jn as inertIfDisposed, jt as HTTPRequest, kn as bubble, kt as HTTPResponse, mn as Page, mt as Target, nn as LazyArg, on as AsyncIterableUtil, sn as FileChooser, un as EmulationManager, vt as MouseButton, wt as Realm, yt as Touchscreen, zn as EventEmitter } from "./index-browser-
|
|
4
|
-
import "./BrowserWebSocketTransport-
|
|
2
|
+
import { A as stringToTypedArray, G as first, H as delayWhen, K as firstValueFrom, L as combineLatest, M as assert, Q as map, S as timeout, St as debug, Tt as environment, V as defer, W as filter, at as race, b as isString, bt as TouchError, c as evaluationString, d as fromEmitterEvent, g as isDate, gt as ProtocolError, h as getSourceUrlComment, ht as ConnectionClosedError, i as SOURCE_URL_REGEX, k as stringToBase64, lt as switchMap, m as getSourcePuppeteerURLIfAvailable, o as debugCatchError, ot as raceWith, q as from, r as PuppeteerURL, rt as of, s as debugError, u as fromAbortSignal, v as isPlainObject, vt as TargetCloseError, x as parsePDFOptions, xt as UnsupportedOperation, y as isRegExp, yt as TimeoutError } from "./util-CdSJv4Yr.js";
|
|
3
|
+
import { $n as Deferred, $t as scriptInjector, Bt as throwIfDetached, Ct as WebWorkerEvent, Dn as DeviceRequestPrompt, Dt as normalizeHeaderValue, Fn as Browser, Hn as DisposableStack, Ht as bindIsolatedHandle, In as WEB_PERMISSION_TO_PROTOCOL_PERMISSION, It as Dialog, Jn as CallbackRegistry, Kn as disposeSymbol, Ln as CDPSession, Lt as Accessibility, Mn as invokeAtMostOnceForArguments, Mt as InterceptResolutionAction, Nn as throwIfDisposed, Nt as STATUS_TEXTS, On as BrowserContext, Ot as SecurityDetails, Pt as handleError, Rt as Frame, St as WebWorker, Ut as JSHandle, Vt as ElementHandle, Zn as isErrorLike, _t as Mouse, an as stringifyFunction, cn as Tracing, dt as ConsoleMessage, en as ARIAQueryHandler, fn as Coverage, gt as Keyboard, ht as TargetType, in as interpolateFunction, jn as inertIfDisposed, jt as HTTPRequest, kn as bubble, kt as HTTPResponse, mn as Page, mt as Target, nn as LazyArg, on as AsyncIterableUtil, sn as FileChooser, un as EmulationManager, vt as MouseButton, wt as Realm, yt as Touchscreen, zn as EventEmitter } from "./index-browser-DkpQrcIm.js";
|
|
4
|
+
import "./BrowserWebSocketTransport-CokhVKFw.js";
|
|
5
5
|
|
|
6
|
-
//#region node_modules/mitt/dist/mitt.mjs
|
|
6
|
+
//#region ../../../better-dsh/node_modules/mitt/dist/mitt.mjs
|
|
7
7
|
function mitt_default(n) {
|
|
8
8
|
return {
|
|
9
9
|
all: n = n || /* @__PURE__ */ new Map(),
|
|
@@ -27,7 +27,7 @@ function mitt_default(n) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
//#endregion
|
|
30
|
-
//#region node_modules/chromium-bidi/lib/utils/EventEmitter.js
|
|
30
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/EventEmitter.js
|
|
31
31
|
var EventEmitter$1 = class {
|
|
32
32
|
#emitter = mitt_default();
|
|
33
33
|
on(type, handler) {
|
|
@@ -75,7 +75,7 @@ var EventEmitter$1 = class {
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
//#endregion
|
|
78
|
-
//#region node_modules/chromium-bidi/lib/utils/log.js
|
|
78
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/log.js
|
|
79
79
|
/**
|
|
80
80
|
* Copyright 2021 Google LLC.
|
|
81
81
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -103,7 +103,7 @@ var LogType;
|
|
|
103
103
|
})(LogType || (LogType = {}));
|
|
104
104
|
|
|
105
105
|
//#endregion
|
|
106
|
-
//#region node_modules/chromium-bidi/lib/utils/ProcessingQueue.js
|
|
106
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/ProcessingQueue.js
|
|
107
107
|
/**
|
|
108
108
|
* Copyright 2022 Google LLC.
|
|
109
109
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -159,7 +159,7 @@ var ProcessingQueue = class {
|
|
|
159
159
|
_a$6 = ProcessingQueue;
|
|
160
160
|
|
|
161
161
|
//#endregion
|
|
162
|
-
//#region node_modules/chromium-bidi/lib/protocol/chromium-bidi.js
|
|
162
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/protocol/chromium-bidi.js
|
|
163
163
|
/**
|
|
164
164
|
* Copyright 2023 Google LLC.
|
|
165
165
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -265,7 +265,7 @@ const EVENT_NAMES = new Set([
|
|
|
265
265
|
]);
|
|
266
266
|
|
|
267
267
|
//#endregion
|
|
268
|
-
//#region node_modules/chromium-bidi/lib/protocol/ErrorResponse.js
|
|
268
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/protocol/ErrorResponse.js
|
|
269
269
|
var Exception = class extends Error {
|
|
270
270
|
error;
|
|
271
271
|
message;
|
|
@@ -403,7 +403,7 @@ var NoSuchNetworkDataException = class extends Exception {
|
|
|
403
403
|
};
|
|
404
404
|
|
|
405
405
|
//#endregion
|
|
406
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/BidiNoOpParser.js
|
|
406
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/BidiNoOpParser.js
|
|
407
407
|
/**
|
|
408
408
|
* Copyright 2023 Google LLC.
|
|
409
409
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -646,7 +646,7 @@ var BidiNoOpParser = class {
|
|
|
646
646
|
};
|
|
647
647
|
|
|
648
648
|
//#endregion
|
|
649
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/browser/BrowserProcessor.js
|
|
649
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/browser/BrowserProcessor.js
|
|
650
650
|
var BrowserProcessor = class {
|
|
651
651
|
#browserCdpClient;
|
|
652
652
|
#browsingContextStorage;
|
|
@@ -802,7 +802,7 @@ function getProxyStr(proxyConfig) {
|
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
//#endregion
|
|
805
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/cdp/CdpProcessor.js
|
|
805
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/cdp/CdpProcessor.js
|
|
806
806
|
var CdpProcessor = class {
|
|
807
807
|
#browsingContextStorage;
|
|
808
808
|
#realmStorage;
|
|
@@ -835,7 +835,7 @@ var CdpProcessor = class {
|
|
|
835
835
|
};
|
|
836
836
|
|
|
837
837
|
//#endregion
|
|
838
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/context/BrowsingContextProcessor.js
|
|
838
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/context/BrowsingContextProcessor.js
|
|
839
839
|
var BrowsingContextProcessor = class {
|
|
840
840
|
#browserCdpClient;
|
|
841
841
|
#browsingContextStorage;
|
|
@@ -1000,7 +1000,7 @@ var BrowsingContextProcessor = class {
|
|
|
1000
1000
|
};
|
|
1001
1001
|
|
|
1002
1002
|
//#endregion
|
|
1003
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/emulation/EmulationProcessor.js
|
|
1003
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/emulation/EmulationProcessor.js
|
|
1004
1004
|
var EmulationProcessor = class {
|
|
1005
1005
|
#userContextStorage;
|
|
1006
1006
|
#browsingContextStorage;
|
|
@@ -1194,7 +1194,7 @@ function isTimeZoneOffsetString(timezone) {
|
|
|
1194
1194
|
}
|
|
1195
1195
|
|
|
1196
1196
|
//#endregion
|
|
1197
|
-
//#region node_modules/chromium-bidi/lib/utils/assert.js
|
|
1197
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/assert.js
|
|
1198
1198
|
/**
|
|
1199
1199
|
* Copyright 2023 Google LLC.
|
|
1200
1200
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -1216,7 +1216,7 @@ function assert$1(predicate, message) {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
|
|
1218
1218
|
//#endregion
|
|
1219
|
-
//#region node_modules/chromium-bidi/lib/utils/graphemeTools.js
|
|
1219
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/graphemeTools.js
|
|
1220
1220
|
/**
|
|
1221
1221
|
* Check if the given string is a single complex grapheme. A complex grapheme is one that
|
|
1222
1222
|
* is made up of multiple characters.
|
|
@@ -1232,7 +1232,7 @@ function isSingleGrapheme(value) {
|
|
|
1232
1232
|
}
|
|
1233
1233
|
|
|
1234
1234
|
//#endregion
|
|
1235
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/input/InputSource.js
|
|
1235
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/input/InputSource.js
|
|
1236
1236
|
var NoneSource = class {
|
|
1237
1237
|
type = "none";
|
|
1238
1238
|
};
|
|
@@ -1348,7 +1348,7 @@ var WheelSource = class {
|
|
|
1348
1348
|
};
|
|
1349
1349
|
|
|
1350
1350
|
//#endregion
|
|
1351
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/input/keyUtils.js
|
|
1351
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/input/keyUtils.js
|
|
1352
1352
|
/**
|
|
1353
1353
|
* Copyright 2023 Google LLC.
|
|
1354
1354
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -1660,7 +1660,7 @@ function getKeyLocation(key) {
|
|
|
1660
1660
|
}
|
|
1661
1661
|
|
|
1662
1662
|
//#endregion
|
|
1663
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/input/USKeyboardLayout.js
|
|
1663
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/input/USKeyboardLayout.js
|
|
1664
1664
|
/**
|
|
1665
1665
|
* Copyright 2023 Google LLC.
|
|
1666
1666
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -1931,7 +1931,7 @@ const KeyToKeyCode = {
|
|
|
1931
1931
|
};
|
|
1932
1932
|
|
|
1933
1933
|
//#endregion
|
|
1934
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/input/ActionDispatcher.js
|
|
1934
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/input/ActionDispatcher.js
|
|
1935
1935
|
/** https://w3c.github.io/webdriver/#dfn-center-point */
|
|
1936
1936
|
const CALCULATE_IN_VIEW_CENTER_PT_DECL = ((i) => {
|
|
1937
1937
|
const t = i.getClientRects()[0], e = Math.max(0, Math.min(t.x, t.x + t.width)), n = Math.min(window.innerWidth, Math.max(t.x, t.x + t.width)), h = Math.max(0, Math.min(t.y, t.y + t.height)), m = Math.min(window.innerHeight, Math.max(t.y, t.y + t.height));
|
|
@@ -2481,7 +2481,7 @@ function getRadii(width, height) {
|
|
|
2481
2481
|
}
|
|
2482
2482
|
|
|
2483
2483
|
//#endregion
|
|
2484
|
-
//#region node_modules/chromium-bidi/lib/utils/Mutex.js
|
|
2484
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/Mutex.js
|
|
2485
2485
|
/**
|
|
2486
2486
|
* Copyright 2023 Google LLC.
|
|
2487
2487
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -2537,7 +2537,7 @@ var Mutex = class {
|
|
|
2537
2537
|
};
|
|
2538
2538
|
|
|
2539
2539
|
//#endregion
|
|
2540
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/input/InputState.js
|
|
2540
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/input/InputState.js
|
|
2541
2541
|
var InputState = class {
|
|
2542
2542
|
cancelList = [];
|
|
2543
2543
|
#sources = /* @__PURE__ */ new Map();
|
|
@@ -2594,7 +2594,7 @@ var InputState = class {
|
|
|
2594
2594
|
};
|
|
2595
2595
|
|
|
2596
2596
|
//#endregion
|
|
2597
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/input/InputStateManager.js
|
|
2597
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/input/InputStateManager.js
|
|
2598
2598
|
var InputStateManager = class extends WeakMap {
|
|
2599
2599
|
get(context) {
|
|
2600
2600
|
assert$1(context.isTopLevelContext());
|
|
@@ -2604,7 +2604,7 @@ var InputStateManager = class extends WeakMap {
|
|
|
2604
2604
|
};
|
|
2605
2605
|
|
|
2606
2606
|
//#endregion
|
|
2607
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/input/InputProcessor.js
|
|
2607
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/input/InputProcessor.js
|
|
2608
2608
|
var InputProcessor = class {
|
|
2609
2609
|
#browsingContextStorage;
|
|
2610
2610
|
#inputStateManager = new InputStateManager();
|
|
@@ -2733,7 +2733,7 @@ var InputProcessor = class {
|
|
|
2733
2733
|
};
|
|
2734
2734
|
|
|
2735
2735
|
//#endregion
|
|
2736
|
-
//#region node_modules/chromium-bidi/lib/utils/base64.js
|
|
2736
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/base64.js
|
|
2737
2737
|
/**
|
|
2738
2738
|
* Copyright 2024 Google LLC.
|
|
2739
2739
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -2763,7 +2763,7 @@ function base64ToString(base64Str) {
|
|
|
2763
2763
|
}
|
|
2764
2764
|
|
|
2765
2765
|
//#endregion
|
|
2766
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/network/NetworkUtils.js
|
|
2766
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/network/NetworkUtils.js
|
|
2767
2767
|
function computeHeadersSize(headers) {
|
|
2768
2768
|
const requestHeaders = headers.reduce((acc, header) => {
|
|
2769
2769
|
return `${acc}${header.name}: ${header.value.value}\r\n`;
|
|
@@ -2949,7 +2949,7 @@ function getTiming(timing, offset = 0) {
|
|
|
2949
2949
|
}
|
|
2950
2950
|
|
|
2951
2951
|
//#endregion
|
|
2952
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/network/NetworkProcessor.js
|
|
2952
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/network/NetworkProcessor.js
|
|
2953
2953
|
/** Dispatches Network module commands. */
|
|
2954
2954
|
var NetworkProcessor = class NetworkProcessor {
|
|
2955
2955
|
#browsingContextStorage;
|
|
@@ -3319,7 +3319,7 @@ function parseBiDiHeaders(headers) {
|
|
|
3319
3319
|
}
|
|
3320
3320
|
|
|
3321
3321
|
//#endregion
|
|
3322
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/permissions/PermissionsProcessor.js
|
|
3322
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/permissions/PermissionsProcessor.js
|
|
3323
3323
|
var PermissionsProcessor = class {
|
|
3324
3324
|
#browserCdpClient;
|
|
3325
3325
|
constructor(browserCdpClient) {
|
|
@@ -3344,7 +3344,7 @@ var PermissionsProcessor = class {
|
|
|
3344
3344
|
};
|
|
3345
3345
|
|
|
3346
3346
|
//#endregion
|
|
3347
|
-
//#region node_modules/chromium-bidi/lib/utils/uuid.js
|
|
3347
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/uuid.js
|
|
3348
3348
|
/**
|
|
3349
3349
|
* Copyright 2023 Google LLC.
|
|
3350
3350
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -3389,7 +3389,7 @@ function uuidv4() {
|
|
|
3389
3389
|
}
|
|
3390
3390
|
|
|
3391
3391
|
//#endregion
|
|
3392
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/script/ChannelProxy.js
|
|
3392
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/script/ChannelProxy.js
|
|
3393
3393
|
/**
|
|
3394
3394
|
* Used to send messages from realm to BiDi user.
|
|
3395
3395
|
*/
|
|
@@ -3545,7 +3545,7 @@ var ChannelProxy = class ChannelProxy {
|
|
|
3545
3545
|
};
|
|
3546
3546
|
|
|
3547
3547
|
//#endregion
|
|
3548
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/script/PreloadScript.js
|
|
3548
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/script/PreloadScript.js
|
|
3549
3549
|
/**
|
|
3550
3550
|
* BiDi IDs are generated by the server and are unique within contexts.
|
|
3551
3551
|
*
|
|
@@ -3650,7 +3650,7 @@ var PreloadScript = class {
|
|
|
3650
3650
|
};
|
|
3651
3651
|
|
|
3652
3652
|
//#endregion
|
|
3653
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/script/ScriptProcessor.js
|
|
3653
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/script/ScriptProcessor.js
|
|
3654
3654
|
var ScriptProcessor = class {
|
|
3655
3655
|
#eventManager;
|
|
3656
3656
|
#browsingContextStorage;
|
|
@@ -3733,7 +3733,7 @@ var ScriptProcessor = class {
|
|
|
3733
3733
|
};
|
|
3734
3734
|
|
|
3735
3735
|
//#endregion
|
|
3736
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/session/SessionProcessor.js
|
|
3736
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/session/SessionProcessor.js
|
|
3737
3737
|
var SessionProcessor = class {
|
|
3738
3738
|
#eventManager;
|
|
3739
3739
|
#browserCdpClient;
|
|
@@ -3820,7 +3820,7 @@ var SessionProcessor = class {
|
|
|
3820
3820
|
};
|
|
3821
3821
|
|
|
3822
3822
|
//#endregion
|
|
3823
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/storage/StorageProcessor.js
|
|
3823
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/storage/StorageProcessor.js
|
|
3824
3824
|
/**
|
|
3825
3825
|
* Responsible for handling the `storage` module.
|
|
3826
3826
|
*/
|
|
@@ -3926,7 +3926,7 @@ var StorageProcessor = class {
|
|
|
3926
3926
|
};
|
|
3927
3927
|
|
|
3928
3928
|
//#endregion
|
|
3929
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/webExtension/WebExtensionProcessor.js
|
|
3929
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/webExtension/WebExtensionProcessor.js
|
|
3930
3930
|
/**
|
|
3931
3931
|
* Responsible for handling the `webModule` module.
|
|
3932
3932
|
*/
|
|
@@ -3960,7 +3960,7 @@ var WebExtensionProcessor = class {
|
|
|
3960
3960
|
};
|
|
3961
3961
|
|
|
3962
3962
|
//#endregion
|
|
3963
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/OutgoingMessage.js
|
|
3963
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/OutgoingMessage.js
|
|
3964
3964
|
/**
|
|
3965
3965
|
* Copyright 2021 Google LLC.
|
|
3966
3966
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -4008,7 +4008,7 @@ var OutgoingMessage = class OutgoingMessage {
|
|
|
4008
4008
|
};
|
|
4009
4009
|
|
|
4010
4010
|
//#endregion
|
|
4011
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/CommandProcessor.js
|
|
4011
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/CommandProcessor.js
|
|
4012
4012
|
var CommandProcessor = class extends EventEmitter$1 {
|
|
4013
4013
|
#bluetoothProcessor;
|
|
4014
4014
|
#browserCdpClient;
|
|
@@ -4167,7 +4167,7 @@ var CommandProcessor = class extends EventEmitter$1 {
|
|
|
4167
4167
|
};
|
|
4168
4168
|
|
|
4169
4169
|
//#endregion
|
|
4170
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/bluetooth/BluetoothProcessor.js
|
|
4170
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/bluetooth/BluetoothProcessor.js
|
|
4171
4171
|
/** Represents a base Bluetooth GATT item. */
|
|
4172
4172
|
var BluetoothGattItem = class {
|
|
4173
4173
|
id;
|
|
@@ -4473,7 +4473,7 @@ var BluetoothProcessor = class {
|
|
|
4473
4473
|
};
|
|
4474
4474
|
|
|
4475
4475
|
//#endregion
|
|
4476
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/browser/ContextConfig.js
|
|
4476
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/browser/ContextConfig.js
|
|
4477
4477
|
/**
|
|
4478
4478
|
* Copyright 2025 Google LLC.
|
|
4479
4479
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -4536,7 +4536,7 @@ var ContextConfig = class ContextConfig {
|
|
|
4536
4536
|
};
|
|
4537
4537
|
|
|
4538
4538
|
//#endregion
|
|
4539
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/browser/ContextConfigStorage.js
|
|
4539
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/browser/ContextConfigStorage.js
|
|
4540
4540
|
/**
|
|
4541
4541
|
* Manages context-specific configurations. This class allows setting
|
|
4542
4542
|
* configurations at three levels: global, user context, and browsing context.
|
|
@@ -4610,7 +4610,7 @@ var ContextConfigStorage = class {
|
|
|
4610
4610
|
};
|
|
4611
4611
|
|
|
4612
4612
|
//#endregion
|
|
4613
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/browser/UserContextStorage.js
|
|
4613
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/browser/UserContextStorage.js
|
|
4614
4614
|
var UserContextStorage = class {
|
|
4615
4615
|
#browserClient;
|
|
4616
4616
|
constructor(browserClient) {
|
|
@@ -4635,7 +4635,7 @@ var UserContextStorage = class {
|
|
|
4635
4635
|
};
|
|
4636
4636
|
|
|
4637
4637
|
//#endregion
|
|
4638
|
-
//#region node_modules/chromium-bidi/lib/utils/Deferred.js
|
|
4638
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/Deferred.js
|
|
4639
4639
|
/**
|
|
4640
4640
|
* Copyright 2022 Google LLC.
|
|
4641
4641
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -4698,7 +4698,7 @@ var Deferred$1 = class {
|
|
|
4698
4698
|
};
|
|
4699
4699
|
|
|
4700
4700
|
//#endregion
|
|
4701
|
-
//#region node_modules/chromium-bidi/lib/utils/time.js
|
|
4701
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/time.js
|
|
4702
4702
|
/**
|
|
4703
4703
|
* Copyright 2024 Google LLC.
|
|
4704
4704
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -4720,7 +4720,7 @@ function getTimestamp() {
|
|
|
4720
4720
|
}
|
|
4721
4721
|
|
|
4722
4722
|
//#endregion
|
|
4723
|
-
//#region node_modules/chromium-bidi/lib/utils/unitConversions.js
|
|
4723
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/unitConversions.js
|
|
4724
4724
|
/**
|
|
4725
4725
|
* Copyright 2023 Google LLC.
|
|
4726
4726
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -4743,7 +4743,7 @@ function inchesFromCm(cm) {
|
|
|
4743
4743
|
}
|
|
4744
4744
|
|
|
4745
4745
|
//#endregion
|
|
4746
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/script/SharedId.js
|
|
4746
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/script/SharedId.js
|
|
4747
4747
|
const SHARED_ID_DIVIDER = "_element_";
|
|
4748
4748
|
function getSharedId(frameId, documentId, backendNodeId) {
|
|
4749
4749
|
return `f.${frameId}.d.${documentId}.e.${backendNodeId}`;
|
|
@@ -4783,7 +4783,7 @@ function parseSharedId(sharedId) {
|
|
|
4783
4783
|
}
|
|
4784
4784
|
|
|
4785
4785
|
//#endregion
|
|
4786
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/script/Realm.js
|
|
4786
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/script/Realm.js
|
|
4787
4787
|
var Realm$2 = class Realm$2 {
|
|
4788
4788
|
#cdpClient;
|
|
4789
4789
|
#eventManager;
|
|
@@ -5115,7 +5115,7 @@ var Realm$2 = class Realm$2 {
|
|
|
5115
5115
|
};
|
|
5116
5116
|
|
|
5117
5117
|
//#endregion
|
|
5118
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/script/WindowRealm.js
|
|
5118
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/script/WindowRealm.js
|
|
5119
5119
|
var WindowRealm$1 = class extends Realm$2 {
|
|
5120
5120
|
#browsingContextId;
|
|
5121
5121
|
#browsingContextStorage;
|
|
@@ -5207,7 +5207,7 @@ var WindowRealm$1 = class extends Realm$2 {
|
|
|
5207
5207
|
};
|
|
5208
5208
|
|
|
5209
5209
|
//#endregion
|
|
5210
|
-
//#region node_modules/chromium-bidi/lib/utils/urlHelpers.js
|
|
5210
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/urlHelpers.js
|
|
5211
5211
|
/**
|
|
5212
5212
|
* A URL matches about:blank if its scheme is "about", its path contains a single string
|
|
5213
5213
|
* "blank", its username and password are the empty string, and its host is null.
|
|
@@ -5227,7 +5227,7 @@ function urlMatchesAboutBlank(url) {
|
|
|
5227
5227
|
}
|
|
5228
5228
|
|
|
5229
5229
|
//#endregion
|
|
5230
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/context/NavigationTracker.js
|
|
5230
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/context/NavigationTracker.js
|
|
5231
5231
|
var NavigationResult = class {
|
|
5232
5232
|
eventName;
|
|
5233
5233
|
message;
|
|
@@ -5463,7 +5463,7 @@ var NavigationTracker = class NavigationTracker {
|
|
|
5463
5463
|
};
|
|
5464
5464
|
|
|
5465
5465
|
//#endregion
|
|
5466
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/context/BrowsingContextImpl.js
|
|
5466
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/context/BrowsingContextImpl.js
|
|
5467
5467
|
/**
|
|
5468
5468
|
* Copyright 2022 Google LLC.
|
|
5469
5469
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -6463,7 +6463,7 @@ function parseInteger(value) {
|
|
|
6463
6463
|
}
|
|
6464
6464
|
|
|
6465
6465
|
//#endregion
|
|
6466
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/script/WorkerRealm.js
|
|
6466
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/script/WorkerRealm.js
|
|
6467
6467
|
var WorkerRealm = class extends Realm$2 {
|
|
6468
6468
|
#realmType;
|
|
6469
6469
|
#ownerRealms;
|
|
@@ -6508,7 +6508,7 @@ var WorkerRealm = class extends Realm$2 {
|
|
|
6508
6508
|
};
|
|
6509
6509
|
|
|
6510
6510
|
//#endregion
|
|
6511
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/log/logHelper.js
|
|
6511
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/log/logHelper.js
|
|
6512
6512
|
const specifiers = [
|
|
6513
6513
|
"%s",
|
|
6514
6514
|
"%d",
|
|
@@ -6599,7 +6599,7 @@ function getRemoteValuesText(args, formatText) {
|
|
|
6599
6599
|
}
|
|
6600
6600
|
|
|
6601
6601
|
//#endregion
|
|
6602
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/log/LogManager.js
|
|
6602
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/log/LogManager.js
|
|
6603
6603
|
var _a$4;
|
|
6604
6604
|
/** Converts CDP StackTrace object to BiDi StackTrace object. */
|
|
6605
6605
|
function getBidiStackTrace(cdpStackTrace) {
|
|
@@ -6749,7 +6749,7 @@ var LogManager = class {
|
|
|
6749
6749
|
_a$4 = LogManager;
|
|
6750
6750
|
|
|
6751
6751
|
//#endregion
|
|
6752
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/network/CollectorsStorage.js
|
|
6752
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/network/CollectorsStorage.js
|
|
6753
6753
|
var CollectorsStorage = class {
|
|
6754
6754
|
#collectors = /* @__PURE__ */ new Map();
|
|
6755
6755
|
#responseCollectors = /* @__PURE__ */ new Map();
|
|
@@ -6831,7 +6831,7 @@ var CollectorsStorage = class {
|
|
|
6831
6831
|
};
|
|
6832
6832
|
|
|
6833
6833
|
//#endregion
|
|
6834
|
-
//#region node_modules/chromium-bidi/lib/utils/DefaultMap.js
|
|
6834
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/DefaultMap.js
|
|
6835
6835
|
/**
|
|
6836
6836
|
* Copyright 2023 Google LLC.
|
|
6837
6837
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -6867,7 +6867,7 @@ var DefaultMap = class extends Map {
|
|
|
6867
6867
|
};
|
|
6868
6868
|
|
|
6869
6869
|
//#endregion
|
|
6870
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/network/NetworkRequest.js
|
|
6870
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/network/NetworkRequest.js
|
|
6871
6871
|
var _a$3;
|
|
6872
6872
|
const REALM_REGEX = /(?<=realm=").*(?=")/;
|
|
6873
6873
|
/** Abstracts one individual network request. */
|
|
@@ -7446,7 +7446,7 @@ function getSizeFromBiDiBytesValue(body) {
|
|
|
7446
7446
|
}
|
|
7447
7447
|
|
|
7448
7448
|
//#endregion
|
|
7449
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/network/NetworkStorage.js
|
|
7449
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/network/NetworkStorage.js
|
|
7450
7450
|
const MAX_TOTAL_COLLECTED_SIZE = 2e8;
|
|
7451
7451
|
/** Stores network and intercept maps. */
|
|
7452
7452
|
var NetworkStorage = class {
|
|
@@ -7689,7 +7689,7 @@ var NetworkStorage = class {
|
|
|
7689
7689
|
};
|
|
7690
7690
|
|
|
7691
7691
|
//#endregion
|
|
7692
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/cdp/CdpTarget.js
|
|
7692
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/cdp/CdpTarget.js
|
|
7693
7693
|
var CdpTarget = class CdpTarget {
|
|
7694
7694
|
#id;
|
|
7695
7695
|
userContext;
|
|
@@ -8139,7 +8139,7 @@ var CdpTarget = class CdpTarget {
|
|
|
8139
8139
|
};
|
|
8140
8140
|
|
|
8141
8141
|
//#endregion
|
|
8142
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/cdp/CdpTargetManager.js
|
|
8142
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/cdp/CdpTargetManager.js
|
|
8143
8143
|
const cdpToBidiTargetTypes = {
|
|
8144
8144
|
service_worker: "service-worker",
|
|
8145
8145
|
shared_worker: "shared-worker",
|
|
@@ -8308,7 +8308,7 @@ var CdpTargetManager = class {
|
|
|
8308
8308
|
};
|
|
8309
8309
|
|
|
8310
8310
|
//#endregion
|
|
8311
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/context/BrowsingContextStorage.js
|
|
8311
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/context/BrowsingContextStorage.js
|
|
8312
8312
|
/** Container class for browsing contexts. */
|
|
8313
8313
|
var BrowsingContextStorage = class {
|
|
8314
8314
|
/** Map from context ID to context implementation. */
|
|
@@ -8395,7 +8395,7 @@ var BrowsingContextStorage = class {
|
|
|
8395
8395
|
};
|
|
8396
8396
|
|
|
8397
8397
|
//#endregion
|
|
8398
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/script/PreloadScriptStorage.js
|
|
8398
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/script/PreloadScriptStorage.js
|
|
8399
8399
|
/**
|
|
8400
8400
|
* Container class for preload scripts.
|
|
8401
8401
|
*/
|
|
@@ -8438,7 +8438,7 @@ var PreloadScriptStorage = class {
|
|
|
8438
8438
|
};
|
|
8439
8439
|
|
|
8440
8440
|
//#endregion
|
|
8441
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/script/RealmStorage.js
|
|
8441
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/script/RealmStorage.js
|
|
8442
8442
|
/** Container class for browsing realms. */
|
|
8443
8443
|
var RealmStorage = class {
|
|
8444
8444
|
/** Tracks handles and their realms sent to the client. */
|
|
@@ -8488,7 +8488,7 @@ var RealmStorage = class {
|
|
|
8488
8488
|
};
|
|
8489
8489
|
|
|
8490
8490
|
//#endregion
|
|
8491
|
-
//#region node_modules/chromium-bidi/lib/utils/Buffer.js
|
|
8491
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/Buffer.js
|
|
8492
8492
|
/**
|
|
8493
8493
|
* Copyright 2022 Google LLC.
|
|
8494
8494
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -8531,7 +8531,7 @@ var Buffer$1 = class {
|
|
|
8531
8531
|
};
|
|
8532
8532
|
|
|
8533
8533
|
//#endregion
|
|
8534
|
-
//#region node_modules/chromium-bidi/lib/utils/IdWrapper.js
|
|
8534
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/utils/IdWrapper.js
|
|
8535
8535
|
/**
|
|
8536
8536
|
* Copyright 2022 Google LLC.
|
|
8537
8537
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -8563,7 +8563,7 @@ var IdWrapper = class IdWrapper {
|
|
|
8563
8563
|
};
|
|
8564
8564
|
|
|
8565
8565
|
//#endregion
|
|
8566
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/session/events.js
|
|
8566
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/session/events.js
|
|
8567
8567
|
/**
|
|
8568
8568
|
* Returns true if the given event is a CDP event.
|
|
8569
8569
|
* @see https://chromedevtools.github.io/devtools-protocol/
|
|
@@ -8579,7 +8579,7 @@ function assertSupportedEvent(name) {
|
|
|
8579
8579
|
}
|
|
8580
8580
|
|
|
8581
8581
|
//#endregion
|
|
8582
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/session/SubscriptionManager.js
|
|
8582
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/session/SubscriptionManager.js
|
|
8583
8583
|
/** Expands "AllEvents" events into atomic events. */
|
|
8584
8584
|
function unrollEvents(events) {
|
|
8585
8585
|
const allEvents = /* @__PURE__ */ new Set();
|
|
@@ -8750,7 +8750,7 @@ function equal(setA, setB) {
|
|
|
8750
8750
|
}
|
|
8751
8751
|
|
|
8752
8752
|
//#endregion
|
|
8753
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/session/EventManager.js
|
|
8753
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/session/EventManager.js
|
|
8754
8754
|
/**
|
|
8755
8755
|
* Copyright 2022 Google LLC.
|
|
8756
8756
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -8958,7 +8958,7 @@ var EventManager = class extends EventEmitter$1 {
|
|
|
8958
8958
|
_a$2 = EventManager;
|
|
8959
8959
|
|
|
8960
8960
|
//#endregion
|
|
8961
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/modules/speculation/SpeculationProcessor.js
|
|
8961
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/modules/speculation/SpeculationProcessor.js
|
|
8962
8962
|
var SpeculationProcessor = class {
|
|
8963
8963
|
#eventManager;
|
|
8964
8964
|
#logger;
|
|
@@ -9000,7 +9000,7 @@ var SpeculationProcessor = class {
|
|
|
9000
9000
|
};
|
|
9001
9001
|
|
|
9002
9002
|
//#endregion
|
|
9003
|
-
//#region node_modules/chromium-bidi/lib/bidiMapper/BidiServer.js
|
|
9003
|
+
//#region ../../../better-dsh/node_modules/chromium-bidi/lib/bidiMapper/BidiServer.js
|
|
9004
9004
|
var BidiServer = class BidiServer extends EventEmitter$1 {
|
|
9005
9005
|
#messageQueue;
|
|
9006
9006
|
#transport;
|
|
@@ -9097,7 +9097,7 @@ var BidiServer = class BidiServer extends EventEmitter$1 {
|
|
|
9097
9097
|
};
|
|
9098
9098
|
|
|
9099
9099
|
//#endregion
|
|
9100
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/CDPSession.js
|
|
9100
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/CDPSession.js
|
|
9101
9101
|
/**
|
|
9102
9102
|
* @internal
|
|
9103
9103
|
*/
|
|
@@ -9164,7 +9164,7 @@ var BidiCdpSession = class BidiCdpSession extends CDPSession {
|
|
|
9164
9164
|
};
|
|
9165
9165
|
|
|
9166
9166
|
//#endregion
|
|
9167
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/Connection.js
|
|
9167
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/Connection.js
|
|
9168
9168
|
const debugProtocolSend = debug("puppeteer:webDriverBiDi:SEND ►");
|
|
9169
9169
|
const debugProtocolReceive = debug("puppeteer:webDriverBiDi:RECV ◀");
|
|
9170
9170
|
/**
|
|
@@ -9282,7 +9282,7 @@ function isCdpEvent(event) {
|
|
|
9282
9282
|
}
|
|
9283
9283
|
|
|
9284
9284
|
//#endregion
|
|
9285
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/BidiOverCdp.js
|
|
9285
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/BidiOverCdp.js
|
|
9286
9286
|
const bidiServerLogger = (prefix, ...args) => {
|
|
9287
9287
|
debug(`bidi:${prefix}`)?.(args);
|
|
9288
9288
|
};
|
|
@@ -9403,7 +9403,7 @@ var NoOpTransport = class extends EventEmitter$1 {
|
|
|
9403
9403
|
};
|
|
9404
9404
|
|
|
9405
9405
|
//#endregion
|
|
9406
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/BluetoothEmulation.js
|
|
9406
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/BluetoothEmulation.js
|
|
9407
9407
|
/**
|
|
9408
9408
|
* @license
|
|
9409
9409
|
* Copyright 2025 Google Inc.
|
|
@@ -9441,7 +9441,7 @@ var BidiBluetoothEmulation = class {
|
|
|
9441
9441
|
};
|
|
9442
9442
|
|
|
9443
9443
|
//#endregion
|
|
9444
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/DeviceRequestPrompt.js
|
|
9444
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/DeviceRequestPrompt.js
|
|
9445
9445
|
/**
|
|
9446
9446
|
* @internal
|
|
9447
9447
|
*/
|
|
@@ -9518,7 +9518,7 @@ var BidiDeviceRequestPrompt = class extends DeviceRequestPrompt {
|
|
|
9518
9518
|
};
|
|
9519
9519
|
|
|
9520
9520
|
//#endregion
|
|
9521
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/core/Navigation.js
|
|
9521
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/core/Navigation.js
|
|
9522
9522
|
/**
|
|
9523
9523
|
* @license
|
|
9524
9524
|
* Copyright 2024 Google Inc.
|
|
@@ -9678,7 +9678,7 @@ let Navigation = (() => {
|
|
|
9678
9678
|
})();
|
|
9679
9679
|
|
|
9680
9680
|
//#endregion
|
|
9681
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/core/Realm.js
|
|
9681
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/core/Realm.js
|
|
9682
9682
|
/**
|
|
9683
9683
|
* @license
|
|
9684
9684
|
* Copyright 2024 Google Inc.
|
|
@@ -10005,7 +10005,7 @@ var SharedWorkerRealm = class SharedWorkerRealm extends Realm$1 {
|
|
|
10005
10005
|
};
|
|
10006
10006
|
|
|
10007
10007
|
//#endregion
|
|
10008
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/core/Request.js
|
|
10008
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/core/Request.js
|
|
10009
10009
|
/**
|
|
10010
10010
|
* @license
|
|
10011
10011
|
* Copyright 2024 Google Inc.
|
|
@@ -10271,7 +10271,7 @@ let Request = (() => {
|
|
|
10271
10271
|
})();
|
|
10272
10272
|
|
|
10273
10273
|
//#endregion
|
|
10274
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/core/UserPrompt.js
|
|
10274
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/core/UserPrompt.js
|
|
10275
10275
|
/**
|
|
10276
10276
|
* @license
|
|
10277
10277
|
* Copyright 2024 Google Inc.
|
|
@@ -10420,7 +10420,7 @@ let UserPrompt = (() => {
|
|
|
10420
10420
|
})();
|
|
10421
10421
|
|
|
10422
10422
|
//#endregion
|
|
10423
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/core/BrowsingContext.js
|
|
10423
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/core/BrowsingContext.js
|
|
10424
10424
|
/**
|
|
10425
10425
|
* @license
|
|
10426
10426
|
* Copyright 2024 Google Inc.
|
|
@@ -11259,7 +11259,7 @@ let BrowsingContext = (() => {
|
|
|
11259
11259
|
})();
|
|
11260
11260
|
|
|
11261
11261
|
//#endregion
|
|
11262
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/core/UserContext.js
|
|
11262
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/core/UserContext.js
|
|
11263
11263
|
/**
|
|
11264
11264
|
* @license
|
|
11265
11265
|
* Copyright 2024 Google Inc.
|
|
@@ -11515,7 +11515,7 @@ let UserContext = (() => {
|
|
|
11515
11515
|
})();
|
|
11516
11516
|
|
|
11517
11517
|
//#endregion
|
|
11518
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/Deserializer.js
|
|
11518
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/Deserializer.js
|
|
11519
11519
|
/**
|
|
11520
11520
|
* @internal
|
|
11521
11521
|
*/
|
|
@@ -11571,7 +11571,7 @@ var BidiDeserializer = class {
|
|
|
11571
11571
|
};
|
|
11572
11572
|
|
|
11573
11573
|
//#endregion
|
|
11574
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/JSHandle.js
|
|
11574
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/JSHandle.js
|
|
11575
11575
|
/**
|
|
11576
11576
|
* @internal
|
|
11577
11577
|
*/
|
|
@@ -11630,7 +11630,7 @@ var BidiJSHandle = class BidiJSHandle extends JSHandle {
|
|
|
11630
11630
|
};
|
|
11631
11631
|
|
|
11632
11632
|
//#endregion
|
|
11633
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/ElementHandle.js
|
|
11633
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/ElementHandle.js
|
|
11634
11634
|
/**
|
|
11635
11635
|
* @license
|
|
11636
11636
|
* Copyright 2023 Google Inc.
|
|
@@ -11853,7 +11853,7 @@ let BidiElementHandle = (() => {
|
|
|
11853
11853
|
})();
|
|
11854
11854
|
|
|
11855
11855
|
//#endregion
|
|
11856
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/Dialog.js
|
|
11856
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/Dialog.js
|
|
11857
11857
|
var BidiDialog = class BidiDialog extends Dialog {
|
|
11858
11858
|
static from(prompt) {
|
|
11859
11859
|
return new BidiDialog(prompt);
|
|
@@ -11873,7 +11873,7 @@ var BidiDialog = class BidiDialog extends Dialog {
|
|
|
11873
11873
|
};
|
|
11874
11874
|
|
|
11875
11875
|
//#endregion
|
|
11876
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/ExposedFunction.js
|
|
11876
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/ExposedFunction.js
|
|
11877
11877
|
/**
|
|
11878
11878
|
* @license
|
|
11879
11879
|
* Copyright 2023 Google Inc.
|
|
@@ -12108,7 +12108,7 @@ var ExposableFunction = class ExposableFunction {
|
|
|
12108
12108
|
};
|
|
12109
12109
|
|
|
12110
12110
|
//#endregion
|
|
12111
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/HTTPResponse.js
|
|
12111
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/HTTPResponse.js
|
|
12112
12112
|
var __runInitializers$6 = void 0 && (void 0).__runInitializers || function(thisArg, initializers, value) {
|
|
12113
12113
|
var useValue = arguments.length > 2;
|
|
12114
12114
|
for (var i = 0; i < initializers.length; i++) value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
@@ -12280,7 +12280,7 @@ let BidiHTTPResponse = (() => {
|
|
|
12280
12280
|
})();
|
|
12281
12281
|
|
|
12282
12282
|
//#endregion
|
|
12283
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/HTTPRequest.js
|
|
12283
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/HTTPRequest.js
|
|
12284
12284
|
var _a;
|
|
12285
12285
|
const requests = /* @__PURE__ */ new WeakMap();
|
|
12286
12286
|
/**
|
|
@@ -12483,7 +12483,7 @@ function getBidiHeaders(rawHeaders) {
|
|
|
12483
12483
|
}
|
|
12484
12484
|
|
|
12485
12485
|
//#endregion
|
|
12486
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/Serializer.js
|
|
12486
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/Serializer.js
|
|
12487
12487
|
/**
|
|
12488
12488
|
* @internal
|
|
12489
12489
|
*/
|
|
@@ -12562,7 +12562,7 @@ var BidiSerializer = class {
|
|
|
12562
12562
|
};
|
|
12563
12563
|
|
|
12564
12564
|
//#endregion
|
|
12565
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/util.js
|
|
12565
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/util.js
|
|
12566
12566
|
/**
|
|
12567
12567
|
* @internal
|
|
12568
12568
|
*
|
|
@@ -12652,7 +12652,7 @@ function rewriteEvaluationError(error) {
|
|
|
12652
12652
|
}
|
|
12653
12653
|
|
|
12654
12654
|
//#endregion
|
|
12655
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/Realm.js
|
|
12655
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/Realm.js
|
|
12656
12656
|
var __addDisposableResource$3 = void 0 && (void 0).__addDisposableResource || function(env, value, async) {
|
|
12657
12657
|
if (value !== null && value !== void 0) {
|
|
12658
12658
|
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
|
@@ -12936,7 +12936,7 @@ var BidiWorkerRealm = class BidiWorkerRealm extends BidiRealm {
|
|
|
12936
12936
|
};
|
|
12937
12937
|
|
|
12938
12938
|
//#endregion
|
|
12939
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/WebWorker.js
|
|
12939
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/WebWorker.js
|
|
12940
12940
|
/**
|
|
12941
12941
|
* @internal
|
|
12942
12942
|
*/
|
|
@@ -12963,7 +12963,7 @@ var BidiWebWorker = class BidiWebWorker extends WebWorker {
|
|
|
12963
12963
|
};
|
|
12964
12964
|
|
|
12965
12965
|
//#endregion
|
|
12966
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/Frame.js
|
|
12966
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/Frame.js
|
|
12967
12967
|
/**
|
|
12968
12968
|
* @license
|
|
12969
12969
|
* Copyright 2023 Google Inc.
|
|
@@ -13404,7 +13404,7 @@ let BidiFrame = (() => {
|
|
|
13404
13404
|
})();
|
|
13405
13405
|
|
|
13406
13406
|
//#endregion
|
|
13407
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/Input.js
|
|
13407
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/Input.js
|
|
13408
13408
|
var SourceActionsType;
|
|
13409
13409
|
(function(SourceActionsType$1) {
|
|
13410
13410
|
SourceActionsType$1["None"] = "none";
|
|
@@ -13845,7 +13845,7 @@ var BidiTouchscreen = class extends Touchscreen {
|
|
|
13845
13845
|
};
|
|
13846
13846
|
|
|
13847
13847
|
//#endregion
|
|
13848
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/Page.js
|
|
13848
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/Page.js
|
|
13849
13849
|
/**
|
|
13850
13850
|
* @license
|
|
13851
13851
|
* Copyright 2022 Google Inc.
|
|
@@ -14643,7 +14643,7 @@ function convertCookiesPartitionKeyFromPuppeteerToBiDi(partitionKey) {
|
|
|
14643
14643
|
}
|
|
14644
14644
|
|
|
14645
14645
|
//#endregion
|
|
14646
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/Target.js
|
|
14646
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/Target.js
|
|
14647
14647
|
/**
|
|
14648
14648
|
* @internal
|
|
14649
14649
|
*/
|
|
@@ -14781,7 +14781,7 @@ var BidiWorkerTarget = class extends Target {
|
|
|
14781
14781
|
};
|
|
14782
14782
|
|
|
14783
14783
|
//#endregion
|
|
14784
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/BrowserContext.js
|
|
14784
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/BrowserContext.js
|
|
14785
14785
|
/**
|
|
14786
14786
|
* @license
|
|
14787
14787
|
* Copyright 2022 Google Inc.
|
|
@@ -15121,7 +15121,7 @@ let BidiBrowserContext = (() => {
|
|
|
15121
15121
|
})();
|
|
15122
15122
|
|
|
15123
15123
|
//#endregion
|
|
15124
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/core/Browser.js
|
|
15124
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/core/Browser.js
|
|
15125
15125
|
/**
|
|
15126
15126
|
* @license
|
|
15127
15127
|
* Copyright 2024 Google Inc.
|
|
@@ -15545,7 +15545,7 @@ let Browser$1 = (() => {
|
|
|
15545
15545
|
})();
|
|
15546
15546
|
|
|
15547
15547
|
//#endregion
|
|
15548
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/core/Session.js
|
|
15548
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/core/Session.js
|
|
15549
15549
|
/**
|
|
15550
15550
|
* @license
|
|
15551
15551
|
* Copyright 2024 Google Inc.
|
|
@@ -15781,7 +15781,7 @@ let Session = (() => {
|
|
|
15781
15781
|
})();
|
|
15782
15782
|
|
|
15783
15783
|
//#endregion
|
|
15784
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/bidi/Browser.js
|
|
15784
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/bidi/Browser.js
|
|
15785
15785
|
/**
|
|
15786
15786
|
* @license
|
|
15787
15787
|
* Copyright 2022 Google Inc.
|