@unotest/web 0.35.1 → 0.35.2
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/CHANGELOG.md +10 -0
- package/dist/config/schema.d.ts +18 -18
- package/dist/config/schema.js +1 -1
- package/dist/driver/index.js +1 -1
- package/dist/dsl/index.js +1 -1
- package/dist/dsl/web-dsl-language-service.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/runner/cli.js +1 -1
- package/dist/runner/init/chrome-probe.js +1 -1
- package/dist/runner/init.js +1 -1
- package/dist/runner/install-chromium.js +1 -1
- package/dist/runner/prepare-fix.js +1 -1
- package/dist/runner/scaffold-workspace.js +1 -1
- package/dist/runner/serve-fixture.js +1 -1
- package/dist/runner/web-runner-adapter.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.35.2] - 2026-09-16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @unotest/core@0.35.2
|
|
8
|
+
- @unotest/dsl@0.35.2
|
|
9
|
+
- @unotest/grounder-client@0.35.2
|
|
10
|
+
- @unotest/protocol@0.35.2
|
|
11
|
+
- @unotest/viewer@0.35.2
|
|
12
|
+
|
|
3
13
|
## [0.35.1] - 2026-09-16
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -30,10 +30,10 @@ declare const RetryConfigSchema: z.ZodObject<{
|
|
|
30
30
|
on: z.ZodArray<z.ZodEnum<["transient", "network", "crash"]>, "many">;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
count: number;
|
|
33
|
-
on: ("
|
|
33
|
+
on: ("network" | "transient" | "crash")[];
|
|
34
34
|
}, {
|
|
35
35
|
count: number;
|
|
36
|
-
on: ("
|
|
36
|
+
on: ("network" | "transient" | "crash")[];
|
|
37
37
|
}>;
|
|
38
38
|
type RetryConfig = z.infer<typeof RetryConfigSchema>;
|
|
39
39
|
declare const FailureBundleConfigSchema: z.ZodObject<{
|
|
@@ -215,15 +215,15 @@ declare const WebServerConfigSchema: z.ZodObject<{
|
|
|
215
215
|
/** How long to wait for the URL to come up after spawning. */
|
|
216
216
|
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
|
-
command: string;
|
|
219
218
|
url: string;
|
|
220
|
-
reuseExistingServer: boolean;
|
|
221
219
|
timeoutMs: number;
|
|
222
|
-
}, {
|
|
223
220
|
command: string;
|
|
221
|
+
reuseExistingServer: boolean;
|
|
222
|
+
}, {
|
|
224
223
|
url: string;
|
|
225
|
-
|
|
224
|
+
command: string;
|
|
226
225
|
timeoutMs?: number | undefined;
|
|
226
|
+
reuseExistingServer?: boolean | undefined;
|
|
227
227
|
}>;
|
|
228
228
|
type WebServerConfig = z.infer<typeof WebServerConfigSchema>;
|
|
229
229
|
declare const UnotestConfigSchema: z.ZodObject<{
|
|
@@ -249,15 +249,15 @@ declare const UnotestConfigSchema: z.ZodObject<{
|
|
|
249
249
|
/** How long to wait for the URL to come up after spawning. */
|
|
250
250
|
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
251
251
|
}, "strip", z.ZodTypeAny, {
|
|
252
|
-
command: string;
|
|
253
252
|
url: string;
|
|
254
|
-
reuseExistingServer: boolean;
|
|
255
253
|
timeoutMs: number;
|
|
256
|
-
}, {
|
|
257
254
|
command: string;
|
|
255
|
+
reuseExistingServer: boolean;
|
|
256
|
+
}, {
|
|
258
257
|
url: string;
|
|
259
|
-
|
|
258
|
+
command: string;
|
|
260
259
|
timeoutMs?: number | undefined;
|
|
260
|
+
reuseExistingServer?: boolean | undefined;
|
|
261
261
|
}>>;
|
|
262
262
|
browsers: z.ZodArray<z.ZodEnum<["chromium", "firefox", "webkit"]>, "many">;
|
|
263
263
|
channel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"chrome">, z.ZodLiteral<"msedge">, z.ZodLiteral<"chrome-beta">, z.ZodNull]>>;
|
|
@@ -276,10 +276,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
|
|
|
276
276
|
on: z.ZodArray<z.ZodEnum<["transient", "network", "crash"]>, "many">;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
278
|
count: number;
|
|
279
|
-
on: ("
|
|
279
|
+
on: ("network" | "transient" | "crash")[];
|
|
280
280
|
}, {
|
|
281
281
|
count: number;
|
|
282
|
-
on: ("
|
|
282
|
+
on: ("network" | "transient" | "crash")[];
|
|
283
283
|
}>;
|
|
284
284
|
failureBundle: z.ZodObject<{
|
|
285
285
|
/** Tier 1 is always on by D-16. Schema lock — not user-toggleable. */
|
|
@@ -461,7 +461,7 @@ declare const UnotestConfigSchema: z.ZodObject<{
|
|
|
461
461
|
};
|
|
462
462
|
retry: {
|
|
463
463
|
count: number;
|
|
464
|
-
on: ("
|
|
464
|
+
on: ("network" | "transient" | "crash")[];
|
|
465
465
|
};
|
|
466
466
|
failureBundle: {
|
|
467
467
|
tier1: true;
|
|
@@ -508,10 +508,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
|
|
|
508
508
|
};
|
|
509
509
|
baseUrl?: string | undefined;
|
|
510
510
|
webServer?: {
|
|
511
|
-
command: string;
|
|
512
511
|
url: string;
|
|
513
|
-
reuseExistingServer: boolean;
|
|
514
512
|
timeoutMs: number;
|
|
513
|
+
command: string;
|
|
514
|
+
reuseExistingServer: boolean;
|
|
515
515
|
} | undefined;
|
|
516
516
|
channel?: "chrome" | "msedge" | "chrome-beta" | null | undefined;
|
|
517
517
|
storageState?: string | undefined;
|
|
@@ -523,7 +523,7 @@ declare const UnotestConfigSchema: z.ZodObject<{
|
|
|
523
523
|
};
|
|
524
524
|
retry: {
|
|
525
525
|
count: number;
|
|
526
|
-
on: ("
|
|
526
|
+
on: ("network" | "transient" | "crash")[];
|
|
527
527
|
};
|
|
528
528
|
failureBundle: {
|
|
529
529
|
tier2: boolean;
|
|
@@ -564,10 +564,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
|
|
|
564
564
|
};
|
|
565
565
|
baseUrl?: string | undefined;
|
|
566
566
|
webServer?: {
|
|
567
|
-
command: string;
|
|
568
567
|
url: string;
|
|
569
|
-
|
|
568
|
+
command: string;
|
|
570
569
|
timeoutMs?: number | undefined;
|
|
570
|
+
reuseExistingServer?: boolean | undefined;
|
|
571
571
|
} | undefined;
|
|
572
572
|
channel?: "chrome" | "msedge" | "chrome-beta" | null | undefined;
|
|
573
573
|
storageState?: string | undefined;
|
package/dist/config/schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x5baf17=_0x17bc;(function(_0x4899a7,_0x2cfd46){var _0x494c03={_0x492bab:0x83,_0x570026:0x71,_0x2068e4:0x90},_0x389fae=_0x17bc,_0x48ca3c=_0x4899a7();while(!![]){try{var _0x2f2b6d=-parseInt(_0x389fae(0x92))/0x1+-parseInt(_0x389fae(_0x494c03._0x492bab))/0x2+-parseInt(_0x389fae(_0x494c03._0x570026))/0x3+parseInt(_0x389fae(0x89))/0x4+-parseInt(_0x389fae(0x81))/0x5+-parseInt(_0x389fae(_0x494c03._0x2068e4))/0x6*(-parseInt(_0x389fae(0x96))/0x7)+-parseInt(_0x389fae(0xa3))/0x8*(-parseInt(_0x389fae(0x95))/0x9);if(_0x2f2b6d===_0x2cfd46)break;else _0x48ca3c['push'](_0x48ca3c['shift']());}catch(_0x18e5f7){_0x48ca3c['push'](_0x48ca3c['shift']());}}}(_0x3fe9,0xc4b57));function _0x17bc(_0x396e88,_0x42fd94){_0x396e88=_0x396e88-0x6b;var _0x3fe90a=_0x3fe9();var _0x17bc60=_0x3fe90a[_0x396e88];if(_0x17bc['JUaLKU']===undefined){var _0xfb2692=function(_0x21b778){var _0x101f80='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4ac860='',_0x10dfb1='';for(var _0x996422=0x0,_0x1350a7,_0x30cf5d,_0x226200=0x0;_0x30cf5d=_0x21b778['charAt'](_0x226200++);~_0x30cf5d&&(_0x1350a7=_0x996422%0x4?_0x1350a7*0x40+_0x30cf5d:_0x30cf5d,_0x996422++%0x4)?_0x4ac860+=String['fromCharCode'](0xff&_0x1350a7>>(-0x2*_0x996422&0x6)):0x0){_0x30cf5d=_0x101f80['indexOf'](_0x30cf5d);}for(var _0x5d0056=0x0,_0x5dba92=_0x4ac860['length'];_0x5d0056<_0x5dba92;_0x5d0056++){_0x10dfb1+='%'+('00'+_0x4ac860['charCodeAt'](_0x5d0056)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x10dfb1);};_0x17bc['KBIxyY']=_0xfb2692,_0x17bc['JsCaqP']={},_0x17bc['JUaLKU']=!![];}var _0x37ac94=_0x3fe90a[0x0],_0x5d967e=_0x396e88+_0x37ac94,_0x2e6e94=_0x17bc['JsCaqP'][_0x5d967e];return!_0x2e6e94?(_0x17bc60=_0x17bc['KBIxyY'](_0x17bc60),_0x17bc['JsCaqP'][_0x5d967e]=_0x17bc60):_0x17bc60=_0x2e6e94,_0x17bc60;}import{z}from'zod';var BrowserSchema=z[_0x5baf17(0x7b)]([_0x5baf17(0x70),_0x5baf17(0x7e),_0x5baf17(0x77)]),BrowserChannelSchema=z[_0x5baf17(0xa2)]([z['literal']('chrome'),z[_0x5baf17(0x6c)](_0x5baf17(0x6e)),z['literal'](_0x5baf17(0x6f)),z[_0x5baf17(0x9b)]()])[_0x5baf17(0x94)](),ViewportSchema=z[_0x5baf17(0x8a)]({'width':z[_0x5baf17(0x7d)]()['int']()[_0x5baf17(0xa5)](),'height':z[_0x5baf17(0x7d)]()['int']()[_0x5baf17(0xa5)]()}),RetryReasonSchema=z[_0x5baf17(0x7b)](['transient',_0x5baf17(0x91),_0x5baf17(0xa9)]),RetryConfigSchema=z[_0x5baf17(0x8a)]({'count':z[_0x5baf17(0x7d)]()[_0x5baf17(0xaa)]()[_0x5baf17(0x9a)](0x0)[_0x5baf17(0x82)](0xa),'on':z[_0x5baf17(0xa6)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x5baf17(0x8a)]({'tier1':z['literal'](!![])[_0x5baf17(0x8d)](!![]),'tier2':z[_0x5baf17(0x9e)](),'tier3':z['object']({'network':z[_0x5baf17(0x9e)](),'video':z[_0x5baf17(0x9e)]()}),'retention':z[_0x5baf17(0x8a)]({'runs':z[_0x5baf17(0x7d)]()[_0x5baf17(0xaa)]()[_0x5baf17(0xa5)](),'days':z[_0x5baf17(0x7d)]()[_0x5baf17(0xaa)]()[_0x5baf17(0xa5)]()}),'storageDir':z[_0x5baf17(0x8e)]()['min'](0x1)}),DialogPolicySchema=z[_0x5baf17(0x7b)]([_0x5baf17(0x80),'dismiss',_0x5baf17(0x72)]),LinterRuleIdSchema=z[_0x5baf17(0x7b)]([_0x5baf17(0x88),'lint:xpath',_0x5baf17(0x78),'lint:pause-explicit',_0x5baf17(0x84),_0x5baf17(0x87),_0x5baf17(0xa8),_0x5baf17(0xab),_0x5baf17(0x85),_0x5baf17(0x99),'lint:echo-assert',_0x5baf17(0x7f),'lint:lint-ok-missing-reason',_0x5baf17(0x7a),_0x5baf17(0x74),'lint:external-variable-undeclared',_0x5baf17(0xa7),_0x5baf17(0x7c),_0x5baf17(0x76),'validator:arg-kind',_0x5baf17(0x6d),_0x5baf17(0x98),_0x5baf17(0x97),_0x5baf17(0x9f),_0x5baf17(0xa0),_0x5baf17(0x86),'validator:var-shape','validator:unsupported-statement','validator:unsupported-expression','validator:string-concat',_0x5baf17(0x9c),_0x5baf17(0xa1),_0x5baf17(0x8f)]),LinterSeveritySchema=z[_0x5baf17(0x7b)]([_0x5baf17(0x75),_0x5baf17(0xa4),_0x5baf17(0x6b)]),LinterConfigSchema=z[_0x5baf17(0x8a)]({'enabled':z['boolean'](),'rules':z[_0x5baf17(0x73)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z['object']({'enabled':z[_0x5baf17(0x9e)]()[_0x5baf17(0x8d)](!![]),'concurrency':z['number']()['int']()[_0x5baf17(0xa5)]()[_0x5baf17(0x8d)](0x1)}),ScheduleSchema=z[_0x5baf17(0x8a)]({'collection':z[_0x5baf17(0x8e)]()['min'](0x1),'cron':z[_0x5baf17(0x8e)]()[_0x5baf17(0x9a)](0x1),'env':z['string']()['min'](0x1)['optional'](),'prepare':z[_0x5baf17(0x8e)]()['min'](0x1)[_0x5baf17(0x94)]()}),McpConfigSchema=z[_0x5baf17(0x8a)]({'transport':z['literal'](_0x5baf17(0x8c))}),SandboxConfigSchema=z[_0x5baf17(0x8a)]({'shellCwd':z[_0x5baf17(0x8e)]()[_0x5baf17(0x94)](),'shellTimeoutMs':z[_0x5baf17(0x7d)]()[_0x5baf17(0xaa)]()[_0x5baf17(0xa5)]()[_0x5baf17(0x94)](),'exportSecrets':z[_0x5baf17(0xa6)](z['string']())[_0x5baf17(0x94)](),'database':z['string']()['optional'](),'apiBaseUrl':z[_0x5baf17(0x8e)]()[_0x5baf17(0x9d)]()[_0x5baf17(0x94)](),'uploadDir':z['string']()[_0x5baf17(0x94)]()}),WebServerConfigSchema=z[_0x5baf17(0x8a)]({'command':z[_0x5baf17(0x8e)]()[_0x5baf17(0x9a)](0x1),'url':z[_0x5baf17(0x8e)]()['url'](),'reuseExistingServer':z[_0x5baf17(0x9e)]()[_0x5baf17(0x8d)](!![]),'timeoutMs':z[_0x5baf17(0x7d)]()['int']()[_0x5baf17(0xa5)]()[_0x5baf17(0x8d)](0xea60)}),UnotestConfigSchema=z[_0x5baf17(0x8a)]({'baseUrl':z[_0x5baf17(0x8e)]()[_0x5baf17(0x9d)]()[_0x5baf17(0x94)](),'webServer':WebServerConfigSchema[_0x5baf17(0x94)](),'browsers':z['array'](BrowserSchema)[_0x5baf17(0x9a)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x5baf17(0x8e)]()[_0x5baf17(0x94)](),'testDir':z[_0x5baf17(0x8e)]()[_0x5baf17(0x9a)](0x1),'helpersDir':z[_0x5baf17(0x8e)]()['min'](0x1),'defaultTimeoutMs':z[_0x5baf17(0x7d)]()[_0x5baf17(0xaa)]()[_0x5baf17(0xa5)](),'defaultNavigationTimeoutMs':z['number']()[_0x5baf17(0xaa)]()[_0x5baf17(0xa5)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z['array'](ScheduleSchema)['default']([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x5baf17(0x70)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x5baf17(0x79)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x5baf17(0x8b)},'dialogPolicy':_0x5baf17(0x80),'testDir':_0x5baf17(0x93),'helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x5baf17(0xa4),'lint:xpath':_0x5baf17(0xa4),'lint:obfuscated-class':_0x5baf17(0xa4),'lint:pause-explicit':_0x5baf17(0xa4),'lint:disambig-by-index':_0x5baf17(0x75),'lint:evaluate-discouraged':_0x5baf17(0xa4),'lint:scenario-in-root':_0x5baf17(0x6b),'lint:mustache-in-dsl':'error','lint:goto-concat':'warn','lint:regex-invalid':_0x5baf17(0x6b),'lint:echo-assert':_0x5baf17(0xa4),'lint:lint-ok-missing-reason':_0x5baf17(0xa4),'lint:flow-returns-value':_0x5baf17(0xa4),'lint:legacy-layout':_0x5baf17(0xa4),'lint:external-variable-undeclared':_0x5baf17(0x6b),'lint:one-test-per-file':_0x5baf17(0xa4),'validator:unknown-function':_0x5baf17(0x6b)}},'mcp':{'transport':_0x5baf17(0x8c)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};function _0x3fe9(){var _0x48f8b7=['C3rYAw5N','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','ote4odGXnhrOAgLcqW','BMv0D29YAW','mta0mtq2nwDrBvvtwq','Dw5VDgvZDc9LmMu','B3b0Aw9UywW','oun4DgzjuW','n2jqv3Purq','DMfSAwrHDg9YoM1LDgeTC2HHCgu','DMfSAwrHDg9YoNn0zxaTC2HHCgu','BgLUDdPYzwDLEc1PBNzHBgLK','BwLU','BNvSBa','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','DxjS','yM9VBgvHBG','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','DMfSAwrHDg9YoMzVCI1ZAgfWzq','DMfSAwrHDg9YoMXPC3qTyxjN','Dw5PB24','mJm3otm2odHUCNz0BgC','D2fYBG','Cg9ZAxrPDMu','yxjYyxK','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq','BgLUDdPZy2vUyxjPBY1PBI1YB290','y3jHC2G','Aw50','BgLUDdPTDxn0ywnOzs1PBI1KC2W','zxjYB3i','BgL0zxjHBa','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','BxnLzgDL','y2HYB21LlwjLDge','y2HYB21PDw0','mJG3nJG2ofDMCvbxEq','BwfUDwfS','CMvJB3jK','BgLUDdPSzwDHy3KTBgf5B3v0','B2zM','DMfSAwrHDg9YoMfYAxr5','D2vIA2L0','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','DhjHBNnPzw50','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','zw51Bq','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','BNvTyMvY','zMLYzwzVEa','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','ywnJzxb0','mJi0oduWnxPmwfbNuq','Bwf4','mJu3ntq4ofbHDuL1CG','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','BgLUDdPNB3rVlwnVBMnHDa','DMfSAwrHDg9YoMLMlxnOyxbL','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','BgLUDdPKzwvWlwnZCW','mtuXnJiWyM5nv1jU','B2jQzwn0','lNvUB3rLC3qVzMfPBhvYzxm','C3rKAw8','zgvMyxvSDa'];_0x3fe9=function(){return _0x48f8b7;};return _0x3fe9();}
|
package/dist/driver/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5b5602=_0x1a13;(function(_0x61b5ad,_0x5119ea){const _0x367710={_0x3f84ac:0x14b,_0xe40f22:0x179,_0x2815d2:0x14a,_0x4beb84:0x14c,_0x2e83f1:0x1a0},_0x17f674=_0x1a13,_0x441039=_0x61b5ad();while(!![]){try{const _0xd76f84=-parseInt(_0x17f674(0x197))/0x1*(parseInt(_0x17f674(0x1ba))/0x2)+-parseInt(_0x17f674(_0x367710._0x3f84ac))/0x3*(parseInt(_0x17f674(0x150))/0x4)+parseInt(_0x17f674(0x18e))/0x5+parseInt(_0x17f674(_0x367710._0xe40f22))/0x6*(parseInt(_0x17f674(0x1b9))/0x7)+parseInt(_0x17f674(0x1ac))/0x8+parseInt(_0x17f674(_0x367710._0x2815d2))/0x9*(parseInt(_0x17f674(_0x367710._0x4beb84))/0xa)+parseInt(_0x17f674(_0x367710._0x2e83f1))/0xb*(-parseInt(_0x17f674(0x168))/0xc);if(_0xd76f84===_0x5119ea)break;else _0x441039['push'](_0x441039['shift']());}catch(_0x2de4fc){_0x441039['push'](_0x441039['shift']());}}}(_0x3f70,0x6e51f));var __defProp=Object[_0x5b5602(0x1b1)],__name=(_0x4e2785,_0x3aac4b)=>__defProp(_0x4e2785,_0x5b5602(0x1b3),{'value':_0x3aac4b,'configurable':!![]});function subscribe(_0x2633ab,_0x24e682){const _0x15a19c={_0x576fe1:0x18f},_0x2deaf6=_0x5b5602;return _0x2633ab[_0x2deaf6(0x15f)](_0x24e682),()=>{const _0x5ef8e7=_0x2deaf6;_0x2633ab[_0x5ef8e7(_0x15a19c._0x576fe1)](_0x24e682);};}__name(subscribe,_0x5b5602(0x1b2));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x5b5602(0x19a));}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function createRecorder(){const _0x397b8e={_0x402979:0x16b,_0x31a269:0x153},_0x4412b2=_0x5b5602,_0x2f7729=[];let _0x1b8361=0x0;return{'push':__name(_0x6ec371=>_0x2f7729[_0x4412b2(0x16b)]({..._0x6ec371,'seq':_0x1b8361++}),_0x4412b2(_0x397b8e._0x402979)),'calls':__name(()=>_0x2f7729,_0x4412b2(_0x397b8e._0x31a269))};}__name(createRecorder,'createRecorder');function _0x1a13(_0x4da177,_0x15e3dc){_0x4da177=_0x4da177-0x146;const _0x3f70ab=_0x3f70();let _0x1a139c=_0x3f70ab[_0x4da177];if(_0x1a13['AHUZas']===undefined){var _0x50724f=function(_0x441b86){const _0x594f5b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4e2785='',_0x3aac4b='';for(let _0x2633ab=0x0,_0x24e682,_0x2f7729,_0x1b8361=0x0;_0x2f7729=_0x441b86['charAt'](_0x1b8361++);~_0x2f7729&&(_0x24e682=_0x2633ab%0x4?_0x24e682*0x40+_0x2f7729:_0x2f7729,_0x2633ab++%0x4)?_0x4e2785+=String['fromCharCode'](0xff&_0x24e682>>(-0x2*_0x2633ab&0x6)):0x0){_0x2f7729=_0x594f5b['indexOf'](_0x2f7729);}for(let _0x6ec371=0x0,_0x31caa1=_0x4e2785['length'];_0x6ec371<_0x31caa1;_0x6ec371++){_0x3aac4b+='%'+('00'+_0x4e2785['charCodeAt'](_0x6ec371)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3aac4b);};_0x1a13['yxdxip']=_0x50724f,_0x1a13['EmAFvt']={},_0x1a13['AHUZas']=!![];}const _0x27ebf2=_0x3f70ab[0x0],_0x4125fc=_0x4da177+_0x27ebf2,_0x30f4b9=_0x1a13['EmAFvt'][_0x4125fc];return!_0x30f4b9?(_0x1a139c=_0x1a13['yxdxip'](_0x1a139c),_0x1a13['EmAFvt'][_0x4125fc]=_0x1a139c):_0x1a139c=_0x30f4b9,_0x1a139c;}var FakePage=class{constructor(_0x31caa1,_0x24cb0b,_0x1b65e3,_0xc5a084){const _0x5d3df9={_0x37c9b6:0x1c2,_0x358494:0x166,_0x8659c1:0x147},_0xf7a454=_0x5b5602;this[_0xf7a454(_0x5d3df9._0x37c9b6)]=_0x31caa1,this[_0xf7a454(0x159)]=_0x24cb0b,this[_0xf7a454(_0x5d3df9._0x358494)]=_0x1b65e3,this[_0xf7a454(_0x5d3df9._0x8659c1)]=_0xc5a084;}[_0x5b5602(0x1c2)];[_0x5b5602(0x159)];[_0x5b5602(0x166)];static{__name(this,_0x5b5602(0x192));}[_0x5b5602(0x147)];[_0x5b5602(0x193)];[_0x5b5602(0x1bc)](_0x99cd24,_0x33e358){const _0x2e9f3b={_0xfaffa1:0x166},_0x13536d=_0x5b5602;this[_0x13536d(0x1c2)][_0x13536d(0x16b)]({'scope':this[_0x13536d(_0x2e9f3b._0xfaffa1)],'method':_0x99cd24,'args':_0x33e358});}[_0x5b5602(0x19c)](){const _0x3ba19f={_0x35bc7d:0x159,_0x46e528:0x152,_0x4cbff8:0x152},_0x469036=_0x5b5602;if(this[_0x469036(_0x3ba19f._0x35bc7d)][_0x469036(0x152)]){const _0x4ad284=this[_0x469036(_0x3ba19f._0x35bc7d)][_0x469036(_0x3ba19f._0x46e528)];this['behavior'][_0x469036(_0x3ba19f._0x4cbff8)]=void 0x0;throw _0x4ad284;}}['url'](){const _0x4058e6=_0x5b5602;return this[_0x4058e6(0x147)];}async[_0x5b5602(0x1c5)](){const _0x4181d7={_0x57cdff:0x1c5},_0x43bd0e=_0x5b5602;return this['record'](_0x43bd0e(_0x4181d7._0x57cdff),[]),_0x43bd0e(0x1ab);}async[_0x5b5602(0x14d)](_0x1f38d0,_0x39afca){const _0x4b5be5={_0x4e99fd:0x193},_0x5dfb90=_0x5b5602;this[_0x5dfb90(0x1bc)]('click',[_0x1f38d0,_0x39afca]),this[_0x5dfb90(0x19c)](),this[_0x5dfb90(_0x4b5be5._0x4e99fd)]?.();}async[_0x5b5602(0x1a3)](_0x328c84,_0x33b28f){const _0x52bb6c=_0x5b5602;this['record'](_0x52bb6c(0x1a3),[_0x328c84,_0x33b28f]),this[_0x52bb6c(0x19c)]();}async[_0x5b5602(0x18d)](_0x3eb5dc,_0x2aea4a,_0x315a7f){const _0xafb847=_0x5b5602;this[_0xafb847(0x1bc)]('fill',[_0x3eb5dc,_0x2aea4a,_0x315a7f]),this['maybeThrow']();}async['press'](_0x23a7b4,_0x3b2496,_0x5c22b6){const _0x15485a={_0x15f4ac:0x1bc,_0x2b9818:0x163},_0x7f0f58=_0x5b5602;this[_0x7f0f58(_0x15485a._0x15f4ac)](_0x7f0f58(_0x15485a._0x2b9818),[_0x23a7b4,_0x3b2496,_0x5c22b6]),this[_0x7f0f58(0x19c)]();}async[_0x5b5602(0x1b0)](_0x1d2a6b,_0x1611f){const _0x579a93={_0xf7d71b:0x19c},_0x2eac24=_0x5b5602;this[_0x2eac24(0x1bc)](_0x2eac24(0x1b0),[_0x1d2a6b,_0x1611f]),this[_0x2eac24(_0x579a93._0xf7d71b)]();}async['uncheck'](_0x376560,_0x37ec2e){const _0x280efe={_0x4ba5bf:0x19c},_0x5e9607=_0x5b5602;this['record'](_0x5e9607(0x148),[_0x376560,_0x37ec2e]),this[_0x5e9607(_0x280efe._0x4ba5bf)]();}async[_0x5b5602(0x14e)](_0x30931f,_0x5542c7,_0x435e71){const _0x7df855={_0x453f02:0x1bc,_0x54b90b:0x19c},_0x5b22ee=_0x5b5602;this[_0x5b22ee(_0x7df855._0x453f02)](_0x5b22ee(0x14e),[_0x30931f,_0x5542c7,_0x435e71]),this[_0x5b22ee(_0x7df855._0x54b90b)]();}async[_0x5b5602(0x1ad)](_0x1787cd,_0xf38a96){const _0x47759c={_0x52a8c5:0x1bc,_0x23e6dd:0x1ad,_0x2a8ea2:0x19c},_0x354483=_0x5b5602;this[_0x354483(_0x47759c._0x52a8c5)](_0x354483(_0x47759c._0x23e6dd),[_0x1787cd,_0xf38a96]),this[_0x354483(_0x47759c._0x2a8ea2)]();}async[_0x5b5602(0x191)](_0x264db8){const _0x5950ad={_0x18535a:0x19c},_0xf199ba=_0x5b5602;this[_0xf199ba(0x1bc)]('scrollIntoView',[_0x264db8]),this[_0xf199ba(_0x5950ad._0x18535a)]();}async[_0x5b5602(0x1af)](_0x147ae8,_0x14a815,_0x58bdf4){const _0x1792a9={_0x476716:0x1bc},_0x50ce0e=_0x5b5602;this[_0x50ce0e(_0x1792a9._0x476716)](_0x50ce0e(0x1af),[_0x147ae8,_0x14a815,_0x58bdf4]),this[_0x50ce0e(0x19c)]();}async[_0x5b5602(0x155)](_0x54879f,_0x5bcade){const _0x27a10b={_0x1e1281:0x1bc,_0x5af7f0:0x19c},_0xdc07ba=_0x5b5602;this[_0xdc07ba(_0x27a10b._0x1e1281)]('uploadFile',[_0x54879f,_0x5bcade]),this[_0xdc07ba(_0x27a10b._0x5af7f0)]();}async['clipboardPaste'](_0x296abf,_0x286846){const _0x3ca956={_0x12a1ca:0x1bc},_0x17beb8=_0x5b5602;this[_0x17beb8(_0x3ca956._0x12a1ca)](_0x17beb8(0x158),[_0x296abf,_0x286846]),this[_0x17beb8(0x19c)]();}async[_0x5b5602(0x17a)](_0x185741){const _0x5588dc={_0x28a9b3:0x159},_0x2ad201=_0x5b5602;return this['record'](_0x2ad201(0x17a),[_0x185741]),this[_0x2ad201(_0x5588dc._0x28a9b3)]['countByDefault']??0x1;}async['textContent'](_0x512287){const _0x360bdd={_0x25dc88:0x159},_0x2ad9c7=_0x5b5602;return this[_0x2ad9c7(0x1bc)](_0x2ad9c7(0x1b6),[_0x512287]),this[_0x2ad9c7(_0x360bdd._0x25dc88)][_0x2ad9c7(0x1b4)]??'';}async[_0x5b5602(0x19e)](_0x35da58){const _0x30f4af={_0x7faa85:0x1bc,_0xc3de70:0x19e},_0x12d2de=_0x5b5602;return this[_0x12d2de(_0x30f4af._0x7faa85)](_0x12d2de(_0x30f4af._0xc3de70),[_0x35da58]),this[_0x12d2de(0x159)][_0x12d2de(0x17d)]??this['behavior']['textContentByDefault']??'';}async[_0x5b5602(0x167)](_0x586eeb){const _0xbe5a52={_0x3afb8f:0x167},_0x36f664=_0x5b5602;return this['record'](_0x36f664(_0xbe5a52._0x3afb8f),[_0x586eeb]),this[_0x36f664(0x159)]['inputValueByDefault']??'';}async[_0x5b5602(0x1c1)](_0x121426){const _0x2cbac3={_0x32ad22:0x1c1},_0x8670b4=_0x5b5602;return this[_0x8670b4(0x1bc)](_0x8670b4(_0x2cbac3._0x32ad22),[_0x121426]),this['behavior'][_0x8670b4(0x177)]??null;}async[_0x5b5602(0x18c)](_0x501384){const _0x52f8a3={_0x2be9f3:0x1bc,_0x25c748:0x159,_0x33621f:0x188},_0x23ceea=_0x5b5602;return this[_0x23ceea(_0x52f8a3._0x2be9f3)]('isVisible',[_0x501384]),this[_0x23ceea(_0x52f8a3._0x25c748)][_0x23ceea(_0x52f8a3._0x33621f)]??!![];}async[_0x5b5602(0x184)](_0x3dda67){const _0xa31ac6={_0x214851:0x1bc,_0x2166ea:0x15c},_0xf3f2bd=_0x5b5602;return this[_0xf3f2bd(_0xa31ac6._0x214851)](_0xf3f2bd(0x184),[_0x3dda67]),this[_0xf3f2bd(0x159)][_0xf3f2bd(_0xa31ac6._0x2166ea)]??![];}async['getAttribute'](_0x578973,_0x35c4af){const _0x168b3e={_0x38c0bd:0x1bc,_0x71dd58:0x159},_0xf5e7=_0x5b5602;return this[_0xf5e7(_0x168b3e._0x38c0bd)](_0xf5e7(0x1a8),[_0x578973,_0x35c4af]),this[_0xf5e7(_0x168b3e._0x71dd58)]['attributesByDefault']?.[_0x35c4af]??null;}async[_0x5b5602(0x170)](_0x32d23a,_0x35c89a){const _0x15b43d={_0x4b7977:0x170},_0x51ba30=_0x5b5602;this[_0x51ba30(0x1bc)](_0x51ba30(_0x15b43d._0x4b7977),[_0x32d23a,_0x35c89a]);}async['waitForUrl'](_0x36e80c,_0x1d8bf5){const _0x5458aa={_0x103894:0x1bc},_0x1ae2b1=_0x5b5602;this[_0x1ae2b1(_0x5458aa._0x103894)](_0x1ae2b1(0x1a5),[_0x36e80c,_0x1d8bf5]);}async[_0x5b5602(0x16a)](_0x14a72f,_0x53744a){const _0x1308d=_0x5b5602;this[_0x1308d(0x1bc)](_0x1308d(0x16a),[_0x14a72f,_0x53744a]);}async[_0x5b5602(0x190)](_0x32ae00){const _0x408e6={_0x136aae:0x1bc},_0x5170c3=_0x5b5602;this[_0x5170c3(_0x408e6._0x136aae)](_0x5170c3(0x190),[_0x32ae00]);}async[_0x5b5602(0x183)](_0x37635c,_0x8e63ac){const _0x1b4acb={_0x1820a4:0x1bc,_0x2a8355:0x183},_0x4aaf3e=_0x5b5602;this[_0x4aaf3e(_0x1b4acb._0x1820a4)](_0x4aaf3e(_0x1b4acb._0x2a8355),[_0x37635c,_0x8e63ac]);}async[_0x5b5602(0x196)](_0x250cee,_0x4d8220){const _0x1241a2={_0x4d0ee1:0x196},_0x15a4dd=_0x5b5602;this['record'](_0x15a4dd(_0x1241a2._0x4d0ee1),[_0x250cee,_0x4d8220]),this[_0x15a4dd(0x147)]=_0x250cee;}async[_0x5b5602(0x17f)](_0x2c1cd2){const _0x23e922=_0x5b5602;this['record'](_0x23e922(0x17f),[_0x2c1cd2]);}async[_0x5b5602(0x1b5)](_0x48e0c6){const _0x165aca={_0x53fd79:0x1bc,_0x410328:0x1b5},_0x103668=_0x5b5602;this[_0x103668(_0x165aca._0x53fd79)](_0x103668(_0x165aca._0x410328),[_0x48e0c6]);}async['goForward'](_0x49d89a){const _0x3a5432={_0x26f833:0x156},_0x518749=_0x5b5602;this[_0x518749(0x1bc)](_0x518749(_0x3a5432._0x26f833),[_0x49d89a]);}async['evaluate'](_0x17cae7){const _0x2d8fb1={_0x48ede0:0x1bc,_0x4127c0:0x17e,_0x2d9d4b:0x159,_0x3ef2d8:0x1c4},_0x1ac951=_0x5b5602;return this[_0x1ac951(_0x2d8fb1._0x48ede0)](_0x1ac951(_0x2d8fb1._0x4127c0),[_0x17cae7]),this[_0x1ac951(_0x2d8fb1._0x2d9d4b)][_0x1ac951(_0x2d8fb1._0x3ef2d8)];}async[_0x5b5602(0x175)](_0x3fbbc7,_0x2ddc39){const _0x46266f={_0x4521d9:0x175},_0x4cc759=_0x5b5602;return this[_0x4cc759(0x1bc)](_0x4cc759(_0x46266f._0x4521d9),[_0x3fbbc7,_0x2ddc39]),void 0x0;}async[_0x5b5602(0x16e)](_0x2d9d9e){const _0x364093={_0x114f9b:0x1c0,_0x426426:0x159},_0x4ffa0f=_0x5b5602;this[_0x4ffa0f(0x1bc)]('inspectElement',[_0x2d9d9e]);if(_0x2d9d9e['steps'][_0x4ffa0f(0x169)]!==0x1||_0x2d9d9e[_0x4ffa0f(0x146)][0x0]['kind']!==_0x4ffa0f(0x1c0))return null;const _0x4c0f3b=_0x2d9d9e[_0x4ffa0f(0x146)][0x0][_0x4ffa0f(_0x364093._0x114f9b)],_0x4f84fc=this[_0x4ffa0f(_0x364093._0x426426)][_0x4ffa0f(0x187)]?.[_0x4c0f3b];return _0x4f84fc??null;}async[_0x5b5602(0x164)](_0x5a4342){const _0x32a10d=_0x5b5602;return this[_0x32a10d(0x1bc)](_0x32a10d(0x164),[_0x5a4342]),this[_0x32a10d(0x154)](_0x5a4342?.['type']);}async[_0x5b5602(0x157)](_0x1ca270,_0x4378ea){const _0x244e0d={_0x3f6228:0x157},_0x1c9f0a=_0x5b5602;return this[_0x1c9f0a(0x1bc)](_0x1c9f0a(_0x244e0d._0x3f6228),[_0x1ca270,_0x4378ea]),this[_0x1c9f0a(0x154)](_0x4378ea?.[_0x1c9f0a(0x1a1)]);}['screenshotBytes'](_0xfca376){const _0x48fb50={_0x4fafa2:0x154,_0xabefdf:0x19d},_0x1d8750=_0x5b5602,_0x1c763a=this['behavior'][_0x1d8750(_0x48fb50._0x4fafa2)];if(_0x1c763a===void 0x0)return Buffer[_0x1d8750(_0x48fb50._0xabefdf)](_0x1d8750(0x160));return typeof _0x1c763a===_0x1d8750(0x182)?_0x1c763a(_0xfca376):_0x1c763a;}async[_0x5b5602(0x16f)](_0x29c20e){const _0x38ace8={_0x250e75:0x16f,_0x52bd81:0x15d,_0x3c9f66:0x1c0,_0xa089ab:0x146,_0x318c42:0x1c3,_0xa6d18b:0x151},_0x2e73e4=_0x5b5602;this['record'](_0x2e73e4(_0x38ace8._0x250e75),[_0x29c20e]);if(_0x29c20e[_0x2e73e4(0x146)][_0x2e73e4(0x169)]===0x1&&_0x29c20e['steps'][0x0][_0x2e73e4(_0x38ace8._0x52bd81)]===_0x2e73e4(_0x38ace8._0x3c9f66)){const _0x5a48b2=_0x29c20e[_0x2e73e4(_0x38ace8._0xa089ab)][0x0][_0x2e73e4(0x1c0)];return this[_0x2e73e4(0x159)][_0x2e73e4(0x1ae)]?.[_0x5a48b2]??_0x2e73e4(_0x38ace8._0x318c42)+_0x5a48b2+_0x2e73e4(0x1b8);}return _0x2e73e4(_0x38ace8._0xa6d18b);}},FakeContext=class{constructor(_0x1909e3,_0x46b46c,_0x4dc0cc){const _0xfae63d={_0x10430a:0x1c6,_0x7386ff:0x193,_0x24ee47:0x174,_0x522f07:0x185,_0x55ddf9:0x1bd,_0x43128f:0x1a6},_0x461446={_0x5cecea:0x15e},_0x1bd68c=_0x5b5602;this[_0x1bd68c(0x1c2)]=_0x1909e3,this['behavior']=_0x46b46c,this[_0x1bd68c(0x166)]=_0x4dc0cc;const _0x1ad8a3=new FakePage(_0x1909e3,_0x46b46c,_0x4dc0cc+'.page0',_0x46b46c[_0x1bd68c(0x1a2)]??_0x1bd68c(_0xfae63d._0x10430a));_0x46b46c['popupOnClick']&&(_0x1ad8a3[_0x1bd68c(_0xfae63d._0x7386ff)]=()=>{const _0x1ab72e=_0x1bd68c;this['emitFakePopup'](_0x46b46c[_0x1ab72e(_0x461446._0x5cecea)]);}),this[_0x1bd68c(_0xfae63d._0x24ee47)]=[_0x1ad8a3],this[_0x1bd68c(_0xfae63d._0x522f07)]={..._0x46b46c[_0x1bd68c(_0xfae63d._0x55ddf9)]??{}},this[_0x1bd68c(0x180)]={..._0x46b46c[_0x1bd68c(_0xfae63d._0x43128f)]??{}};}[_0x5b5602(0x1c2)];['behavior'];[_0x5b5602(0x166)];static{__name(this,_0x5b5602(0x1a9));}[_0x5b5602(0x174)];[_0x5b5602(0x19b)]=0x0;[_0x5b5602(0x176)]=[];['localStorageState'];[_0x5b5602(0x180)];[_0x5b5602(0x17c)]=new Set();[_0x5b5602(0x1bc)](_0x131619,_0x2bc963){const _0x40cb46={_0x251538:0x1c2},_0x202c9b=_0x5b5602;this[_0x202c9b(_0x40cb46._0x251538)][_0x202c9b(0x16b)]({'scope':this[_0x202c9b(0x166)],'method':_0x131619,'args':_0x2bc963});}['pages'](){const _0x4da255=_0x5b5602;return this[_0x4da255(0x174)];}[_0x5b5602(0x18b)](){const _0x326fe7={_0x28d481:0x174,_0xc8aa0e:0x19b,_0x157162:0x19b},_0x2825ec=_0x5b5602,_0x43ace3=this[_0x2825ec(_0x326fe7._0x28d481)][this[_0x2825ec(_0x326fe7._0xc8aa0e)]];if(!_0x43ace3)throw new DriverError(_0x2825ec(0x1be),{'activeIdx':this[_0x2825ec(_0x326fe7._0x157162)]});return _0x43ace3;}['consoleEntries'](){return this['behavior']['consoleEntries']??[];}['networkEntries'](){const _0x27fe59={_0x239dca:0x172},_0x4e8c7d=_0x5b5602;return this[_0x4e8c7d(0x159)][_0x4e8c7d(_0x27fe59._0x239dca)]??[];}async[_0x5b5602(0x161)](_0x26f7bb){const _0x2f4709={_0xe6003:0x1bc,_0x30e9e7:0x161,_0x35cb78:0x174,_0x3b8ae7:0x189,_0x42cc09:0x169},_0x2d257b=_0x5b5602;this[_0x2d257b(_0x2f4709._0xe6003)](_0x2d257b(_0x2f4709._0x30e9e7),[_0x26f7bb]);if(_0x26f7bb<0x0||_0x26f7bb>=this[_0x2d257b(_0x2f4709._0x35cb78)]['length'])throw new DriverError(_0x2d257b(_0x2f4709._0x3b8ae7),{'index':_0x26f7bb,'available':this[_0x2d257b(0x174)][_0x2d257b(_0x2f4709._0x42cc09)]});this['activeIdx']=_0x26f7bb,this[_0x2d257b(0x176)][_0x2d257b(0x169)]=0x0;}[_0x5b5602(0x1a4)](_0x4952f7){const _0x470b5c=_0x5b5602;return subscribe(this[_0x470b5c(0x17c)],_0x4952f7);}['emitFakePopup'](_0x6d6298){const _0x57c695={_0x2bd914:0x174,_0x5b8554:0x174,_0x33c84d:0x17c},_0x31776c=_0x5b5602,_0x349e7b=this[_0x31776c(0x166)]+'.page'+this[_0x31776c(_0x57c695._0x2bd914)][_0x31776c(0x169)],_0x367400=new FakePage(this[_0x31776c(0x1c2)],this['behavior'],_0x349e7b,_0x6d6298);this[_0x31776c(_0x57c695._0x2bd914)]['push'](_0x367400);const _0x5e3129=this[_0x31776c(_0x57c695._0x5b8554)][_0x31776c(0x169)]-0x1;for(const _0x579f0a of this[_0x31776c(_0x57c695._0x33c84d)]){try{_0x579f0a({'index':_0x5e3129,'url':_0x6d6298});}catch{}}return _0x5e3129;}['closeFakePage'](_0x1261a7){const _0x10dc07={_0x1a079d:0x174,_0x2ae539:0x189,_0x4e111a:0x17b},_0x1dd7c4=_0x5b5602;if(_0x1261a7<0x0||_0x1261a7>=this[_0x1dd7c4(_0x10dc07._0x1a079d)][_0x1dd7c4(0x169)])throw new DriverError(_0x1dd7c4(_0x10dc07._0x2ae539),{'index':_0x1261a7,'available':this[_0x1dd7c4(_0x10dc07._0x1a079d)][_0x1dd7c4(0x169)]});this['pageList'][_0x1dd7c4(_0x10dc07._0x4e111a)](_0x1261a7,0x1);}async[_0x5b5602(0x195)](_0x39201b){const _0x9297b6={_0x4b1949:0x195,_0x4889fd:0x169,_0x2c3398:0x194,_0x5f1532:0x176},_0x295c8f=_0x5b5602;this[_0x295c8f(0x1bc)](_0x295c8f(_0x9297b6._0x4b1949),[_0x39201b]);if(!_0x39201b['steps'][_0x295c8f(_0x9297b6._0x4889fd)])throw new LocatorError(_0x295c8f(_0x9297b6._0x2c3398),{'locator':_0x39201b});this[_0x295c8f(_0x9297b6._0x5f1532)][_0x295c8f(0x16b)](_0x39201b);}async['exitFrame'](){const _0x45393a={_0x1a7292:0x18a,_0x544f4b:0x169,_0x1b79fe:0x176,_0x1c5eb2:0x178},_0x2d757c=_0x5b5602;this[_0x2d757c(0x1bc)](_0x2d757c(_0x45393a._0x1a7292),[]);if(this['frameStack'][_0x2d757c(_0x45393a._0x544f4b)]===0x0)throw new DriverError('exitFrame\x20called\x20with\x20no\x20frame\x20on\x20the\x20stack',{});this[_0x2d757c(_0x45393a._0x1b79fe)][_0x2d757c(_0x45393a._0x1c5eb2)]();}async[_0x5b5602(0x1a7)](_0x38afec,_0x1d6e0c){const _0x5a7102=_0x5b5602;this[_0x5a7102(0x1bc)]('setLocalStorage',[_0x38afec,_0x1d6e0c]),this['localStorageState'][_0x38afec]=_0x1d6e0c;}async['getLocalStorage'](_0x314f70){const _0x316a9d=_0x5b5602;return this['record'](_0x316a9d(0x19f),[_0x314f70]),this['localStorageState'][_0x314f70]??null;}async[_0x5b5602(0x16d)](_0x11e492,_0x1ee972,_0x4af321){const _0x4e7469={_0x85d18e:0x180},_0x188b53=_0x5b5602;this['record']('setCookie',[_0x11e492,_0x1ee972,_0x4af321]),this[_0x188b53(_0x4e7469._0x85d18e)][_0x11e492]=_0x1ee972;}async[_0x5b5602(0x1bf)](_0x57e9e9){const _0x520a02={_0x52d41a:0x180},_0x593473=_0x5b5602;return this[_0x593473(0x1bc)]('getCookie',[_0x57e9e9]),this[_0x593473(_0x520a02._0x52d41a)][_0x57e9e9]??null;}async[_0x5b5602(0x165)](_0x5627e7){const _0x216221={_0x1cbaa9:0x1bc},_0x2b8933=_0x5b5602;this[_0x2b8933(_0x216221._0x1cbaa9)](_0x2b8933(0x165),[_0x5627e7]);}async[_0x5b5602(0x17e)](_0x25922a){const _0x511ac1={_0x4ea9f0:0x1bc,_0x5d1421:0x17e},_0x4ef88d=_0x5b5602;return this[_0x4ef88d(_0x511ac1._0x4ea9f0)](_0x4ef88d(_0x511ac1._0x5d1421),[_0x25922a]),void 0x0;}async[_0x5b5602(0x173)](){const _0x3fecdf=_0x5b5602;this[_0x3fecdf(0x1bc)](_0x3fecdf(0x173),[]);}[_0x5b5602(0x15a)](){return this['frameStack']['length'];}},FakeWebDriver=class{constructor(_0x1bd9b3={}){const _0x2ec53e={_0x5250eb:0x1c2},_0x394ac8=_0x5b5602;this[_0x394ac8(0x159)]=_0x1bd9b3,this[_0x394ac8(_0x2ec53e._0x5250eb)]=createRecorder();}[_0x5b5602(0x159)];static{__name(this,_0x5b5602(0x171));}[_0x5b5602(0x1bb)]=![];[_0x5b5602(0x1c2)];[_0x5b5602(0x16c)]=[];async[_0x5b5602(0x149)](_0x467e76){const _0x52ad09={_0x224f6f:0x16b,_0x15b642:0x198},_0x42efdb=_0x5b5602;this['recorder'][_0x42efdb(_0x52ad09._0x224f6f)]({'scope':_0x42efdb(_0x52ad09._0x15b642),'method':'launch','args':[_0x467e76]}),this[_0x42efdb(0x1bb)]=!![];}async[_0x5b5602(0x186)](_0x77208b){const _0x5e0ea3={_0xaf94ba:0x1c2,_0xac8904:0x16b,_0x59fb77:0x198,_0x3a8048:0x186,_0x31bdca:0x1b7,_0x7c3ea:0x1c2,_0xe2b82a:0x159},_0xbdcc14=_0x5b5602;this[_0xbdcc14(_0x5e0ea3._0xaf94ba)][_0xbdcc14(_0x5e0ea3._0xac8904)]({'scope':_0xbdcc14(_0x5e0ea3._0x59fb77),'method':_0xbdcc14(_0x5e0ea3._0x3a8048),'args':[_0x77208b]});if(!this['launched'])throw new DriverError(_0xbdcc14(_0x5e0ea3._0x31bdca),{});const _0x40462d=new FakeContext(this[_0xbdcc14(_0x5e0ea3._0x7c3ea)],this[_0xbdcc14(_0x5e0ea3._0xe2b82a)],_0xbdcc14(0x1aa)+this['contexts']['length']);return this[_0xbdcc14(0x16c)][_0xbdcc14(0x16b)](_0x40462d),_0x40462d;}async['close'](){const _0xe69b36={_0x1b3d06:0x16b},_0x5c7210=_0x5b5602;this['recorder'][_0x5c7210(_0xe69b36._0x1b3d06)]({'scope':'driver','method':'close','args':[]}),this[_0x5c7210(0x1bb)]=![];}['wsEndpoint'](){return void 0x0;}async[_0x5b5602(0x15b)](){const _0x2ad68a=_0x5b5602;throw new DriverError(_0x2ad68a(0x162),{});}[_0x5b5602(0x199)](_0xf4b7c8){const _0x406897=_0x5b5602;throw new DriverError(_0x406897(0x14f),{});}['calls'](){const _0x282651={_0x86c948:0x153},_0x432c4e=_0x5b5602;return this['recorder'][_0x432c4e(_0x282651._0x86c948)]();}['callsFor'](_0x169a1b){const _0x3eaebc={_0x11d28d:0x181},_0xff6315=_0x5b5602;return this['recorder'][_0xff6315(0x153)]()[_0xff6315(_0x3eaebc._0x11d28d)](_0x5bcacb=>_0x5bcacb['method']===_0x169a1b);}};export{FakeWebDriver};function _0x3f70(){const _0xb2a82d=['y29VA2LLu3rHDgu','zMLSDgvY','zNvUy3rPB24','D2fPDezVCKXVywrtDgf0zq','AxneAxnHyMXLza','Bg9JywXtDg9YywDLu3rHDgu','BMv3q29UDgv4Da','zwXLBwvUDeHPBNrcEvjLzG','AxnwAxnPyMXLqNLezwzHDwX0','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zxHPDezYyw1L','ywn0AxzLugfNzq','AxnwAxnPyMXL','zMLSBa','mtqYntmYnuv1tw5UuG','zgvSzxrL','D2fPDezVCK5HDMLNyxrPB24','C2nYB2XSsw50B1zPzxC','rMfRzvbHz2u','B25bzNrLCKnSAwnR','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','zw50zxjgCMfTzq','z290BW','mJfNug5Vu2e','zhjPDMvY','yxr0ywnOrxHPC3rPBMC','rhjPDMvYrxjYB3i','ywn0AxzLswr4','Bwf5yMvuAhjVDW','zNjVBq','Aw5UzxjuzxH0','z2v0tg9JywXtDg9YywDL','ndi1nZyZohHWzuDqwa','DhLWzq','Aw5PDgLHBfvYBa','zg91yMXLq2XPy2S','B25ozxDqywDL','D2fPDezVCLvYBa','y29VA2LLCW','C2v0tg9JywXtDg9YywDL','z2v0qxr0CMLIDxrL','rMfRzunVBNrLEhq','y3r4','zMfRzsb0AxrSzq','mJq3ndCZnNDqDgnWEa','Ag92zxi','B3v0zxjiDg1SqNLszwy','zhjHz0fUzerYB3a','y2HLy2S','zgvMAw5LuhjVCgvYDhK','C3vIC2nYAwjL','BMfTzq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','z29cywnR','Dgv4DenVBNrLBNq','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','iJ48l2rPDJ4','mJHQwxPly2C','nJKZmNDOs2rRDa','Bgf1BMnOzwq','CMvJB3jK','Bg9JywXtDg9YywDL','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','z2v0q29VA2LL','CMvM','y2HLy2TLzfn0yxrL','CMvJB3jKzxi','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','zxzHBhvHDgvszxn1Bhq','DgL0Bgu','ywjVDxq6yMXHBMS','C3rLChm','y3vYCMvUDfvYBa','Dw5JAgvJAW','Bgf1BMnO','mZaZmJfeBvDgBxu','mJm4mZu2zNvYuwPM','mZqWtMnhrgrT','y2XPy2S','C2vSzwn0t3b0Aw9U','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','ngj6DgTSBq','pgrPDJ48l2rPDJ4','zxjYB3jpBK5LEhrby3rPB24','y2fSBhm','C2nYzwvUC2HVDej5DgvZ','DxbSB2fKrMLSzq','z29gB3j3yxjK','C2nYzwvUC2HVDevSzw1LBNq','y2XPCgjVyxjKugfZDgu','yMvOyxzPB3i','zNjHBwvezxb0Aa','y29UBMvJDfnOyxjLza','AxneAxnHyMXLzej5rgvMyxvSDa','A2LUza','Cg9WDxbpBKnSAwnR','ywrK','zMfRzs1WBMC','C2v0qwn0AxzLugfNzq','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','ChjLC3m','C2nYzwvUC2HVDa','C2f2zvn0B3jHz2vtDgf0zq','C2nVCgu','Aw5WDxrwywX1zq','mJrUq1fUugq','BgvUz3rO','D2fPDezVCLrLEhq','ChvZAa','y29UDgv4Dhm','C2v0q29VA2LL','Aw5ZCgvJDevSzw1LBNq','B3v0zxjive1m','D2fPDezVCG','rMfRzvDLyKrYAxzLCG','BMv0D29YA0vUDhjPzxm','y2XVC2u','CgfNzuXPC3q','zxzHBhvHDgvpBKXVy2f0B3i','zNjHBwvtDgfJAW','y2HLy2TLzfn0yxrLqNLezwzHDwX0','Cg9W','mtaWmZKWohvizfPKva','y291BNq','C3bSAwnL','BMv3ugfNzuXPC3rLBMvYCW','Aw5UzxjuzxH0qNLezwzHDwX0','zxzHBhvHDgu','CMvSB2fK'];_0x3f70=function(){return _0xb2a82d;};return _0x3f70();}
|
|
1
|
+
const _0x46b388=_0x1c30;(function(_0x3b60d9,_0x216fe3){const _0x13fae3={_0x203667:0x163,_0x34753f:0x150,_0x1a9df6:0x15d,_0x2f1e32:0x147,_0x3fd904:0x151,_0x35da79:0x135,_0x35c7c9:0x152,_0x1db706:0x13c},_0x417fe4=_0x1c30,_0x279bd8=_0x3b60d9();while(!![]){try{const _0x32fa07=-parseInt(_0x417fe4(_0x13fae3._0x203667))/0x1*(parseInt(_0x417fe4(_0x13fae3._0x34753f))/0x2)+parseInt(_0x417fe4(_0x13fae3._0x1a9df6))/0x3*(-parseInt(_0x417fe4(_0x13fae3._0x2f1e32))/0x4)+parseInt(_0x417fe4(0x141))/0x5+parseInt(_0x417fe4(0x16e))/0x6*(parseInt(_0x417fe4(0x12f))/0x7)+parseInt(_0x417fe4(_0x13fae3._0x3fd904))/0x8*(parseInt(_0x417fe4(_0x13fae3._0x35da79))/0x9)+parseInt(_0x417fe4(_0x13fae3._0x35c7c9))/0xa+-parseInt(_0x417fe4(_0x13fae3._0x1db706))/0xb*(parseInt(_0x417fe4(0x10b))/0xc);if(_0x32fa07===_0x216fe3)break;else _0x279bd8['push'](_0x279bd8['shift']());}catch(_0x22f153){_0x279bd8['push'](_0x279bd8['shift']());}}}(_0x52a6,0x54e29));var __defProp=Object[_0x46b388(0xfd)],__name=(_0x44198d,_0x40229f)=>__defProp(_0x44198d,_0x46b388(0xf7),{'value':_0x40229f,'configurable':!![]});function subscribe(_0x3915cd,_0x2ed959){const _0x3eab77=_0x46b388;return _0x3915cd[_0x3eab77(0x10f)](_0x2ed959),()=>{const _0x584422=_0x3eab77;_0x3915cd[_0x584422(0x104)](_0x2ed959);};}__name(subscribe,_0x46b388(0x11e));import{UnotestError}from'@unotest/core';function _0x52a6(){const _0x2e0aa3=['ywrK','rMfRzvDLyKrYAxzLCG','Aw5UzxjuzxH0','C2nYB2XSsw50B1zPzxC','z290BW','Aw5ZCgvJDevSzw1LBNq','zMLSBa','AxneAxnHyMXLza','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','y291BNq','B3v0zxjive1m','y2HLy2TLzfn0yxrLqNLezwzHDwX0','AxnwAxnPyMXLqNLezwzHDwX0','yxr0ywnOrxHPC3rPBMC','D2fPDezVCLrLEhq','C3vIC2nYAwjL','B25bzNrLCKnSAwnR','CgfNzxm','Bgf1BMnOzwq','zw1PDezHA2vqB3b1Ca','Ag92zxi','y2fSBhngB3i','B3v0zxjiDg1SqNLszwy','Bg9JywXtDg9YywDLu3rHDgu','pgrPDJ48l2rPDJ4','zMfRzsb0AxrSzq','z29gB3j3yxjK','ywjVDxq6yMXHBMS','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','BgvUz3rO','C2f2zvn0B3jHz2vtDgf0zq','zxjYB3jpBK5LEhrby3rPB24','ntyYmuzrs2vdsq','BMv0D29YA0vUDhjPzxm','y2HLy2TLzfn0yxrL','yMvOyxzPB3i','DxjS','Aw5WDxrwywX1zuj5rgvMyxvSDa','mZzQELrkCxi','z2v0qxr0CMLIDxrL','Bgf1BMnO','D2fPDezVCLvYBa','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','AxneAxnHyMXLzej5rgvMyxvSDa','tg9JyxrVCKvYCM9Y','mta2otC3mNbVwMnlva','zNjHBwvtDgfJAW','DxbSB2fKrMLSzq','Dw5JAgvJAW','C3bSAwnL','mJa1nta1nuPdsxLlra','C2nVCgu','Bwf5yMvuAhjVDW','Dgv4DenVBNrLBNq','zNjVBq','iJ48l2rPDJ4','mJC1mtyWoe9ozLLYDW','C2v0qwn0AxzLugfNzq','zhjHz0fUzerYB3a','Aw5WDxrwywX1zq','y2XPCgjVyxjKugfZDgu','z2v0q29VA2LL','Cg9W','AxnwAxnPyMXL','BMv3q29UDgv4Da','mtqWmZHHuNjrEeO','mteYmtK2oeLuzwHAqG','ndGXmty5meruy1PPvG','zw50zxjgCMfTzq','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','DhLWzq','rMfRzvbHz2u','ChvZAa','y2XVC2vgywTLugfNzq','y2HLy2S','zNvUy3rPB24','CMvJB3jKzxi','zMfRzs1WBMC','m2zsswfHAW','C2nYzwvUC2HVDevSzw1LBNq','y291BNrcEurLzMf1Bhq','Bwv0Ag9K','y29UDgv4Dhm','y3r4','nZvZBen1C1K','CgfNzuXPC3q','y29UBMvJDfnOyxjLza','y29UC29SzuvUDhjPzxm','CMvSB2fK','Cg9WDxbpBKnSAwnR','A2LUza','C2nYzwvUC2HVDej5DgvZ','BMv3ugfNzuXPC3rLBMvYCW','zxzHBhvHDgvszxn1Bhq','CMvM','mZCYmeP0A1LjrG','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','CMvJB3jK','zwXLBwvUDeHPBNrcEvjLzG','BMfTzq','zxzHBhvHDgu','lNbHz2u','z29cywnR','ChjLC3m','y3jLyxrLuMvJB3jKzxi','zgvMAw5LuhjVCgvYDhK','C3rLChm','zhjPDMvY','zxHPDezYyw1L','Dgv4DenVBNrLBNrcEurLzMf1Bhq','z2v0tg9JywXtDg9YywDL','C2v0q29VA2LL','zgvSzxrL','y2XVC2u','zMLSDgvY','y29VA2LLu3rHDgu','Bg9JywXtDg9YywDL','y2fSBhm','C2v0tg9JywXtDg9YywDL','ndHXsNDrt3i','C2nYzwvUC2HVDa','y3vYCMvUDfvYBa','ywn0AxzLswr4'];_0x52a6=function(){return _0x2e0aa3;};return _0x52a6();}var DriverError=class extends UnotestError{static{__name(this,'DriverError');}},LocatorError=class extends UnotestError{static{__name(this,_0x46b388(0x13b));}};function createRecorder(){const _0xe5eae7=_0x46b388,_0x351f00=[];let _0x35631f=0x0;return{'push':__name(_0x60f7c7=>_0x351f00[_0xe5eae7(0x157)]({..._0x60f7c7,'seq':_0x35631f++}),_0xe5eae7(0x157)),'calls':__name(()=>_0x351f00,_0xe5eae7(0x109))};}__name(createRecorder,_0x46b388(0xfc));function _0x1c30(_0x230f9e,_0x423dfe){_0x230f9e=_0x230f9e-0xf6;const _0x52a6df=_0x52a6();let _0x1c30b2=_0x52a6df[_0x230f9e];if(_0x1c30['pIYUPk']===undefined){var _0x317ee6=function(_0x2a0bde){const _0x657e3f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x44198d='',_0x40229f='';for(let _0x3915cd=0x0,_0x2ed959,_0x351f00,_0x35631f=0x0;_0x351f00=_0x2a0bde['charAt'](_0x35631f++);~_0x351f00&&(_0x2ed959=_0x3915cd%0x4?_0x2ed959*0x40+_0x351f00:_0x351f00,_0x3915cd++%0x4)?_0x44198d+=String['fromCharCode'](0xff&_0x2ed959>>(-0x2*_0x3915cd&0x6)):0x0){_0x351f00=_0x657e3f['indexOf'](_0x351f00);}for(let _0x60f7c7=0x0,_0x157a3a=_0x44198d['length'];_0x60f7c7<_0x157a3a;_0x60f7c7++){_0x40229f+='%'+('00'+_0x44198d['charCodeAt'](_0x60f7c7)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x40229f);};_0x1c30['lyAKJG']=_0x317ee6,_0x1c30['WgGVVd']={},_0x1c30['pIYUPk']=!![];}const _0x33a985=_0x52a6df[0x0],_0x1b7bf9=_0x230f9e+_0x33a985,_0x2f8117=_0x1c30['WgGVVd'][_0x1b7bf9];return!_0x2f8117?(_0x1c30b2=_0x1c30['lyAKJG'](_0x1c30b2),_0x1c30['WgGVVd'][_0x1b7bf9]=_0x1c30b2):_0x1c30b2=_0x2f8117,_0x1c30b2;}var FakePage=class{constructor(_0x157a3a,_0x42814a,_0xcff8d2,_0xad7aa2){const _0x592386={_0x3140b4:0x15b,_0x9178dd:0x142,_0x562cff:0x10d},_0xfe9217=_0x46b388;this[_0xfe9217(_0x592386._0x3140b4)]=_0x157a3a,this['behavior']=_0x42814a,this[_0xfe9217(_0x592386._0x9178dd)]=_0xcff8d2,this[_0xfe9217(_0x592386._0x562cff)]=_0xad7aa2;}[_0x46b388(0x15b)];['behavior'];['scope'];static{__name(this,_0x46b388(0x156));}[_0x46b388(0x10d)];[_0x46b388(0x11f)];[_0x46b388(0x170)](_0x51d3f0,_0x10812d){const _0x455a3f={_0x37215c:0x15b,_0x300fab:0x142},_0x709499=_0x46b388;this[_0x709499(_0x455a3f._0x37215c)]['push']({'scope':this[_0x709499(_0x455a3f._0x300fab)],'method':_0x51d3f0,'args':_0x10812d});}[_0x46b388(0x143)](){const _0x1bf21a={_0x595a00:0x132,_0x3c7665:0x132},_0x19725c=_0x46b388;if(this[_0x19725c(_0x1bf21a._0x595a00)][_0x19725c(0x12e)]){const _0x471c37=this[_0x19725c(_0x1bf21a._0x3c7665)]['errorOnNextAction'];this['behavior']['errorOnNextAction']=void 0x0;throw _0x471c37;}}[_0x46b388(0x133)](){return this['currentUrl'];}async['title'](){const _0x90277a={_0x5d2bd0:0x128},_0x52fcd8=_0x46b388;return this['record']('title',[]),_0x52fcd8(_0x90277a._0x5d2bd0);}async['click'](_0x258408,_0x4ea1a9){const _0x26bbec=_0x46b388;this[_0x26bbec(0x170)]('click',[_0x258408,_0x4ea1a9]),this[_0x26bbec(0x143)](),this[_0x26bbec(0x11f)]?.();}async['doubleClick'](_0x112962,_0x3cee2c){const _0x498052=_0x46b388;this[_0x498052(0x170)]('doubleClick',[_0x112962,_0x3cee2c]),this['maybeThrow']();}async[_0x46b388(0x115)](_0x72db8a,_0xd05842,_0x3253a5){const _0x4a97bf={_0x3b401f:0x115,_0x1776ab:0x143},_0x253ce8=_0x46b388;this['record'](_0x253ce8(_0x4a97bf._0x3b401f),[_0x72db8a,_0xd05842,_0x3253a5]),this[_0x253ce8(_0x4a97bf._0x1776ab)]();}async[_0x46b388(0xfb)](_0x2296e7,_0xdf536b,_0x1c3ab5){const _0x3eeb0a={_0x5d9c86:0x143},_0x386d86=_0x46b388;this[_0x386d86(0x170)](_0x386d86(0xfb),[_0x2296e7,_0xdf536b,_0x1c3ab5]),this[_0x386d86(_0x3eeb0a._0x5d9c86)]();}async[_0x46b388(0x159)](_0x75709c,_0x26c3e2){const _0x16d365={_0x4992b1:0x170,_0x5cb437:0x159,_0x12d180:0x143},_0x458fc5=_0x46b388;this[_0x458fc5(_0x16d365._0x4992b1)](_0x458fc5(_0x16d365._0x5cb437),[_0x75709c,_0x26c3e2]),this[_0x458fc5(_0x16d365._0x12d180)]();}async[_0x46b388(0x13f)](_0x100d55,_0x17e9c9){const _0x3090a5={_0x1891ce:0x143},_0x35f49d=_0x46b388;this[_0x35f49d(0x170)]('uncheck',[_0x100d55,_0x17e9c9]),this[_0x35f49d(_0x3090a5._0x1891ce)]();}async['selectOption'](_0x3969e2,_0x4449b8,_0x491a7e){const _0x505cdb={_0x5038c9:0x143},_0x4d168b=_0x46b388;this[_0x4d168b(0x170)]('selectOption',[_0x3969e2,_0x4449b8,_0x491a7e]),this[_0x4d168b(_0x505cdb._0x5038c9)]();}async[_0x46b388(0x123)](_0x3f84bb,_0x93a8c5){const _0x1e3edd=_0x46b388;this[_0x1e3edd(0x170)](_0x1e3edd(0x123),[_0x3f84bb,_0x93a8c5]),this['maybeThrow']();}async[_0x46b388(0x112)](_0x5d4359){const _0x4a2b35=_0x46b388;this['record'](_0x4a2b35(0x112),[_0x5d4359]),this[_0x4a2b35(0x143)]();}async['dragAndDrop'](_0x27d03b,_0x253526,_0x36ca30){const _0x4a0ffc={_0xcb59a4:0x143},_0x5ec085=_0x46b388;this[_0x5ec085(0x170)](_0x5ec085(0x149),[_0x27d03b,_0x253526,_0x36ca30]),this[_0x5ec085(_0x4a0ffc._0xcb59a4)]();}async[_0x46b388(0x13e)](_0x935011,_0x3e1def){const _0x195937={_0x38c0ca:0x170},_0x2e1933=_0x46b388;this[_0x2e1933(_0x195937._0x38c0ca)]('uploadFile',[_0x935011,_0x3e1def]),this['maybeThrow']();}async[_0x46b388(0x14b)](_0x3853b3,_0x1eea64){const _0x1944e6={_0x3d8ef7:0x143},_0x249b12=_0x46b388;this['record'](_0x249b12(0x14b),[_0x3853b3,_0x1eea64]),this[_0x249b12(_0x1944e6._0x3d8ef7)]();}async[_0x46b388(0x118)](_0xc025ee){const _0x309c9c={_0x4752bb:0x132,_0x2fbdf3:0x15f},_0x81b9d4=_0x46b388;return this['record'](_0x81b9d4(0x118),[_0xc025ee]),this[_0x81b9d4(_0x309c9c._0x4752bb)][_0x81b9d4(_0x309c9c._0x2fbdf3)]??0x1;}async[_0x46b388(0x144)](_0x352238){const _0x347748={_0x24d624:0x170,_0x8f6140:0x132},_0x64377c=_0x46b388;return this[_0x64377c(_0x347748._0x24d624)]('textContent',[_0x352238]),this[_0x64377c(_0x347748._0x8f6140)][_0x64377c(0x101)]??'';}async[_0x46b388(0x111)](_0xeb7b4e){const _0x125060={_0x5bc9d9:0x111,_0x4f2099:0x132,_0x974b27:0x101},_0x46a45a=_0x46b388;return this[_0x46a45a(0x170)](_0x46a45a(_0x125060._0x5bc9d9),[_0xeb7b4e]),this['behavior']['innerTextByDefault']??this[_0x46a45a(_0x125060._0x4f2099)][_0x46a45a(_0x125060._0x974b27)]??'';}async[_0x46b388(0x14a)](_0x1eea00){const _0x321cbc={_0x2da79a:0x134},_0x5598c3=_0x46b388;return this[_0x5598c3(0x170)]('inputValue',[_0x1eea00]),this[_0x5598c3(0x132)][_0x5598c3(_0x321cbc._0x2da79a)]??'';}async['checkedState'](_0x39a9b7){const _0x4a9032={_0x4d7eec:0x170,_0xf140b4:0x132,_0x224e38:0x11a},_0x39c57d=_0x46b388;return this[_0x39c57d(_0x4a9032._0x4d7eec)](_0x39c57d(0x131),[_0x39a9b7]),this[_0x39c57d(_0x4a9032._0xf140b4)][_0x39c57d(_0x4a9032._0x224e38)]??null;}async[_0x46b388(0x14e)](_0x116ffe){const _0x5b7e8c={_0x4d79a9:0x170},_0x19291d=_0x46b388;return this[_0x19291d(_0x5b7e8c._0x4d79a9)](_0x19291d(0x14e),[_0x116ffe]),this['behavior'][_0x19291d(0x11b)]??!![];}async[_0x46b388(0x116)](_0x190efc){const _0x508255={_0xd6901b:0x170,_0x25f74f:0x116,_0x1e8eb0:0x132},_0x426a5a=_0x46b388;return this[_0x426a5a(_0x508255._0xd6901b)](_0x426a5a(_0x508255._0x25f74f),[_0x190efc]),this[_0x426a5a(_0x508255._0x1e8eb0)][_0x426a5a(0x13a)]??![];}async[_0x46b388(0x136)](_0x18b32c,_0x33f9e1){const _0xd2f741={_0x4feb31:0x136},_0x2a5958=_0x46b388;return this[_0x2a5958(0x170)](_0x2a5958(_0xd2f741._0x4feb31),[_0x18b32c,_0x33f9e1]),this[_0x2a5958(0x132)]['attributesByDefault']?.[_0x33f9e1]??null;}async['waitFor'](_0x35652e,_0x5e5b0f){const _0x283ba4={_0x355deb:0x170},_0x4f8bd8=_0x46b388;this[_0x4f8bd8(_0x283ba4._0x355deb)]('waitFor',[_0x35652e,_0x5e5b0f]);}async[_0x46b388(0x138)](_0x33e3ec,_0x30b739){const _0x5a947e=_0x46b388;this[_0x5a947e(0x170)](_0x5a947e(0x138),[_0x33e3ec,_0x30b739]);}async['waitForText'](_0x529311,_0x2211e0){const _0x1fd571=_0x46b388;this[_0x1fd571(0x170)](_0x1fd571(0x11d),[_0x529311,_0x2211e0]);}async['waitForNavigation'](_0x153975){const _0x44db09=_0x46b388;this[_0x44db09(0x170)]('waitForNavigation',[_0x153975]);}async['waitForLoadState'](_0x337240,_0x41a934){const _0x18afe2={_0x402426:0x170},_0x417367=_0x46b388;this[_0x417367(_0x18afe2._0x402426)]('waitForLoadState',[_0x337240,_0x41a934]);}async[_0x46b388(0x113)](_0x521bb1,_0xc6072b){const _0xbdb8d5={_0x30a6fd:0x113},_0x4e4603=_0x46b388;this[_0x4e4603(0x170)](_0x4e4603(_0xbdb8d5._0x30a6fd),[_0x521bb1,_0xc6072b]),this['currentUrl']=_0x521bb1;}async[_0x46b388(0x167)](_0x5e34dc){const _0x157a4d={_0x3ed6ad:0x170},_0x272d17=_0x46b388;this[_0x272d17(_0x157a4d._0x3ed6ad)]('reload',[_0x5e34dc]);}async[_0x46b388(0xfa)](_0x226b5e){const _0x1e8e0a=_0x46b388;this[_0x1e8e0a(0x170)](_0x1e8e0a(0xfa),[_0x226b5e]);}async[_0x46b388(0x129)](_0x2a02fe){const _0x21ba06={_0x33519b:0x170},_0x2acd60=_0x46b388;this[_0x2acd60(_0x21ba06._0x33519b)](_0x2acd60(0x129),[_0x2a02fe]);}async[_0x46b388(0xf8)](_0x10214d){const _0x7ec2eb={_0x355cbd:0x16c},_0x5a220e=_0x46b388;return this['record'](_0x5a220e(0xf8),[_0x10214d]),this[_0x5a220e(0x132)][_0x5a220e(_0x7ec2eb._0x355cbd)];}async['evaluateOnLocator'](_0xc3c391,_0xba97e4){return this['record']('evaluateOnLocator',[_0xc3c391,_0xba97e4]),void 0x0;}async['inspectElement'](_0x157b8d){const _0x3402a1={_0x1ff0db:0x170,_0x24c3ad:0xfe,_0x3c25af:0x16d,_0x2f4f9e:0xf6},_0x4403e6=_0x46b388;this[_0x4403e6(_0x3402a1._0x1ff0db)](_0x4403e6(0x114),[_0x157b8d]);if(_0x157b8d[_0x4403e6(0xfe)]['length']!==0x1||_0x157b8d[_0x4403e6(_0x3402a1._0x24c3ad)][0x0][_0x4403e6(0x169)]!==_0x4403e6(_0x3402a1._0x3c25af))return null;const _0x4da694=_0x157b8d[_0x4403e6(0xfe)][0x0][_0x4403e6(0x16d)],_0x4fe2b8=this[_0x4403e6(0x132)][_0x4403e6(_0x3402a1._0x2f4f9e)]?.[_0x4da694];return _0x4fe2b8??null;}async[_0x46b388(0x10c)](_0x20d448){const _0x332183={_0x500ef3:0x10c,_0x26d459:0x16a},_0x31ff77=_0x46b388;return this[_0x31ff77(0x170)](_0x31ff77(_0x332183._0x500ef3),[_0x20d448]),this[_0x31ff77(_0x332183._0x26d459)](_0x20d448?.['type']);}async[_0x46b388(0x15e)](_0x20bc7a,_0x58fff4){const _0x4f21ad={_0x4c3687:0x16a},_0x4e63c6=_0x46b388;return this['record'](_0x4e63c6(0x15e),[_0x20bc7a,_0x58fff4]),this[_0x4e63c6(_0x4f21ad._0x4c3687)](_0x58fff4?.[_0x4e63c6(0x155)]);}[_0x46b388(0x16a)](_0x6073c2){const _0x1726f5={_0x218569:0x132,_0x1b9580:0x145,_0xd73d2f:0x15a},_0x2d815a=_0x46b388,_0x42d12c=this[_0x2d815a(_0x1726f5._0x218569)]['screenshotBytes'];if(_0x42d12c===void 0x0)return Buffer[_0x2d815a(_0x1726f5._0x1b9580)](_0x2d815a(0x15c));return typeof _0x42d12c===_0x2d815a(_0x1726f5._0xd73d2f)?_0x42d12c(_0x6073c2):_0x42d12c;}async['outerHTML'](_0x5228fe){const _0x2ccec3={_0xbe9aed:0x119,_0x20af85:0xfe,_0x42b5ed:0x16d,_0x1a0b88:0x125,_0x35910c:0x139,_0x3fddcc:0x146,_0x584096:0x127},_0x315952=_0x46b388;this[_0x315952(0x170)](_0x315952(_0x2ccec3._0xbe9aed),[_0x5228fe]);if(_0x5228fe[_0x315952(_0x2ccec3._0x20af85)]['length']===0x1&&_0x5228fe['steps'][0x0][_0x315952(0x169)]===_0x315952(_0x2ccec3._0x42b5ed)){const _0x5dcf3e=_0x5228fe[_0x315952(0xfe)][0x0][_0x315952(_0x2ccec3._0x42b5ed)];return this['behavior'][_0x315952(_0x2ccec3._0x1a0b88)]?.[_0x5dcf3e]??_0x315952(_0x2ccec3._0x35910c)+_0x5dcf3e+_0x315952(_0x2ccec3._0x3fddcc);}return _0x315952(_0x2ccec3._0x584096);}},FakeContext=class{constructor(_0x1b7813,_0x49bafa,_0x3fc97a){const _0x16cce2={_0x5d33d9:0x15b,_0x123f7b:0x142,_0x1ff43d:0x164,_0x3f2283:0x126,_0x5d9345:0x108},_0x59ad99={_0x323dcf:0x122},_0x483f40=_0x46b388;this[_0x483f40(_0x16cce2._0x5d33d9)]=_0x1b7813,this['behavior']=_0x49bafa,this[_0x483f40(_0x16cce2._0x123f7b)]=_0x3fc97a;const _0x5f09c7=new FakePage(_0x1b7813,_0x49bafa,_0x3fc97a+'.page0',_0x49bafa['initialUrl']??_0x483f40(0x12a));_0x49bafa[_0x483f40(0x168)]&&(_0x5f09c7[_0x483f40(0x11f)]=()=>{const _0x44bfb9=_0x483f40;this[_0x44bfb9(_0x59ad99._0x323dcf)](_0x49bafa['popupOnClick']);}),this[_0x483f40(_0x16cce2._0x1ff43d)]=[_0x5f09c7],this[_0x483f40(_0x16cce2._0x3f2283)]={..._0x49bafa[_0x483f40(_0x16cce2._0x5d9345)]??{}},this['cookieState']={..._0x49bafa['cookies']??{}};}['recorder'];['behavior'];[_0x46b388(0x142)];static{__name(this,'FakeContext');}[_0x46b388(0x164)];[_0x46b388(0x10e)]=0x0;[_0x46b388(0x13d)]=[];['localStorageState'];[_0x46b388(0x107)];[_0x46b388(0x16b)]=new Set();[_0x46b388(0x170)](_0x2ed94b,_0x2ce587){const _0x8c3370={_0x1ca895:0x15b,_0x2bde07:0x142},_0x74a83a=_0x46b388;this[_0x74a83a(_0x8c3370._0x1ca895)][_0x74a83a(0x157)]({'scope':this[_0x74a83a(_0x8c3370._0x2bde07)],'method':_0x2ed94b,'args':_0x2ce587});}[_0x46b388(0x120)](){const _0x59dcfc=_0x46b388;return this[_0x59dcfc(0x164)];}['activePage'](){const _0x393ae3={_0xda6ae0:0x10e,_0x4b3b85:0x10e},_0x2c2000=_0x46b388,_0x5c373f=this[_0x2c2000(0x164)][this[_0x2c2000(_0x393ae3._0xda6ae0)]];if(!_0x5c373f)throw new DriverError(_0x2c2000(0x154),{'activeIdx':this[_0x2c2000(_0x393ae3._0x4b3b85)]});return _0x5c373f;}['consoleEntries'](){const _0x1185ca={_0x5776fb:0x132,_0x5436ca:0x166},_0x478c21=_0x46b388;return this[_0x478c21(_0x1185ca._0x5776fb)][_0x478c21(_0x1185ca._0x5436ca)]??[];}[_0x46b388(0x130)](){const _0x518a1b={_0x3fa7cd:0x130},_0x36fa14=_0x46b388;return this[_0x36fa14(0x132)][_0x36fa14(_0x518a1b._0x3fa7cd)]??[];}async[_0x46b388(0x148)](_0x510b91){const _0x4e93a6={_0x259440:0x170,_0x2602d5:0x148,_0x3f8b6f:0x12b},_0xab73f2=_0x46b388;this[_0xab73f2(_0x4e93a6._0x259440)](_0xab73f2(_0x4e93a6._0x2602d5),[_0x510b91]);if(_0x510b91<0x0||_0x510b91>=this[_0xab73f2(0x164)]['length'])throw new DriverError(_0xab73f2(_0x4e93a6._0x3f8b6f),{'index':_0x510b91,'available':this['pageList']['length']});this[_0xab73f2(0x10e)]=_0x510b91,this[_0xab73f2(0x13d)]['length']=0x0;}['onNewPage'](_0x40c4ed){const _0x263117=_0x46b388;return subscribe(this[_0x263117(0x16b)],_0x40c4ed);}[_0x46b388(0x122)](_0x4c391c){const _0x28d0bf={_0x5f4018:0x142,_0x47b171:0xf9,_0x40e6a7:0x12c,_0xa435f8:0x15b,_0xf52e43:0x157},_0x615e61=_0x46b388,_0x51ff04=this[_0x615e61(_0x28d0bf._0x5f4018)]+_0x615e61(_0x28d0bf._0x47b171)+this['pageList'][_0x615e61(_0x28d0bf._0x40e6a7)],_0x33111a=new FakePage(this[_0x615e61(_0x28d0bf._0xa435f8)],this[_0x615e61(0x132)],_0x51ff04,_0x4c391c);this[_0x615e61(0x164)][_0x615e61(_0x28d0bf._0xf52e43)](_0x33111a);const _0x366d85=this[_0x615e61(0x164)][_0x615e61(0x12c)]-0x1;for(const _0x5caf51 of this[_0x615e61(0x16b)]){try{_0x5caf51({'index':_0x366d85,'url':_0x4c391c});}catch{}}return _0x366d85;}[_0x46b388(0x158)](_0x4d7635){const _0x24ad54={_0xbe472c:0x164,_0x1caf0f:0x12c},_0x35fc9b=_0x46b388;if(_0x4d7635<0x0||_0x4d7635>=this[_0x35fc9b(_0x24ad54._0xbe472c)][_0x35fc9b(_0x24ad54._0x1caf0f)])throw new DriverError(_0x35fc9b(0x12b),{'index':_0x4d7635,'available':this[_0x35fc9b(_0x24ad54._0xbe472c)][_0x35fc9b(0x12c)]});this[_0x35fc9b(0x164)][_0x35fc9b(0x140)](_0x4d7635,0x1);}async[_0x46b388(0x153)](_0x39f4b4){const _0x5eb83a={_0x452cf7:0x153,_0x3ed154:0xfe},_0x1026d3=_0x46b388;this['record'](_0x1026d3(_0x5eb83a._0x452cf7),[_0x39f4b4]);if(!_0x39f4b4[_0x1026d3(_0x5eb83a._0x3ed154)]['length'])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0x39f4b4});this['frameStack'][_0x1026d3(0x157)](_0x39f4b4);}async['exitFrame'](){const _0x36d96b={_0x54752a:0x100,_0x36aaae:0x13d},_0x39b16c=_0x46b388;this[_0x39b16c(0x170)](_0x39b16c(_0x36d96b._0x54752a),[]);if(this[_0x39b16c(0x13d)]['length']===0x0)throw new DriverError('exitFrame\x20called\x20with\x20no\x20frame\x20on\x20the\x20stack',{});this[_0x39b16c(_0x36d96b._0x36aaae)][_0x39b16c(0x14d)]();}async[_0x46b388(0x10a)](_0x59057c,_0x156647){const _0x124a0e=_0x46b388;this[_0x124a0e(0x170)]('setLocalStorage',[_0x59057c,_0x156647]),this[_0x124a0e(0x126)][_0x59057c]=_0x156647;}async['getLocalStorage'](_0x222a65){const _0x1945d5={_0x31da6e:0x126},_0x33b51a=_0x46b388;return this['record'](_0x33b51a(0x102),[_0x222a65]),this[_0x33b51a(_0x1945d5._0x31da6e)][_0x222a65]??null;}async[_0x46b388(0x103)](_0x3d497e,_0x59281d,_0x335302){const _0xffd692={_0x3e2728:0x103},_0x4f60e6=_0x46b388;this[_0x4f60e6(0x170)](_0x4f60e6(_0xffd692._0x3e2728),[_0x3d497e,_0x59281d,_0x335302]),this[_0x4f60e6(0x107)][_0x3d497e]=_0x59281d;}async[_0x46b388(0x14c)](_0x53ea6d){const _0xe2e1f0={_0x437b9a:0x107},_0x356815=_0x46b388;return this[_0x356815(0x170)]('getCookie',[_0x53ea6d]),this[_0x356815(_0xe2e1f0._0x437b9a)][_0x53ea6d]??null;}async['saveStorageState'](_0x3176be){const _0x2b50a0={_0x1baed8:0x12d},_0x25503e=_0x46b388;this[_0x25503e(0x170)](_0x25503e(_0x2b50a0._0x1baed8),[_0x3176be]);}async[_0x46b388(0xf8)](_0x24f6f4){const _0x1da5d6={_0x6d96b2:0x170,_0x3b5f8e:0xf8},_0x54108e=_0x46b388;return this[_0x54108e(_0x1da5d6._0x6d96b2)](_0x54108e(_0x1da5d6._0x3b5f8e),[_0x24f6f4]),void 0x0;}async[_0x46b388(0x105)](){const _0x4fd6e4=_0x46b388;this[_0x4fd6e4(0x170)]('close',[]);}['frameDepth'](){const _0x43db74={_0x312194:0x12c},_0x425909=_0x46b388;return this[_0x425909(0x13d)][_0x425909(_0x43db74._0x312194)];}},FakeWebDriver=class{constructor(_0x5cf2e3={}){const _0x48def5={_0x1f022f:0x15b},_0x310e41=_0x46b388;this[_0x310e41(0x132)]=_0x5cf2e3,this[_0x310e41(_0x48def5._0x1f022f)]=createRecorder();}['behavior'];static{__name(this,_0x46b388(0x110));}[_0x46b388(0x121)]=![];[_0x46b388(0x15b)];[_0x46b388(0x161)]=[];async[_0x46b388(0x137)](_0x1d6eaa){const _0x5bee0f={_0x380271:0x15b,_0x3b177d:0x157,_0x20ebe7:0xff},_0x12f900=_0x46b388;this[_0x12f900(_0x5bee0f._0x380271)][_0x12f900(_0x5bee0f._0x3b177d)]({'scope':_0x12f900(_0x5bee0f._0x20ebe7),'method':'launch','args':[_0x1d6eaa]}),this['launched']=!![];}async[_0x46b388(0x14f)](_0xa248f9){const _0xd2f275={_0x1848f4:0x14f,_0x14a146:0x16f,_0x299c51:0x162,_0x5ab702:0x161},_0x1664a1=_0x46b388;this[_0x1664a1(0x15b)][_0x1664a1(0x157)]({'scope':_0x1664a1(0xff),'method':_0x1664a1(_0xd2f275._0x1848f4),'args':[_0xa248f9]});if(!this[_0x1664a1(0x121)])throw new DriverError(_0x1664a1(_0xd2f275._0x14a146),{});const _0x200772=new FakeContext(this[_0x1664a1(0x15b)],this[_0x1664a1(0x132)],_0x1664a1(_0xd2f275._0x299c51)+this[_0x1664a1(_0xd2f275._0x5ab702)][_0x1664a1(0x12c)]);return this[_0x1664a1(_0xd2f275._0x5ab702)][_0x1664a1(0x157)](_0x200772),_0x200772;}async[_0x46b388(0x105)](){const _0x5a6c8b={_0x38c232:0x15b,_0x83487b:0x105},_0x1b3e49=_0x46b388;this[_0x1b3e49(_0x5a6c8b._0x38c232)]['push']({'scope':'driver','method':_0x1b3e49(_0x5a6c8b._0x83487b),'args':[]}),this[_0x1b3e49(0x121)]=![];}['wsEndpoint'](){return void 0x0;}async[_0x46b388(0x165)](){const _0x5c88a9=_0x46b388;throw new DriverError(_0x5c88a9(0x117),{});}[_0x46b388(0x11c)](_0x3e263f){throw new DriverError('attachExisting\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x46b388(0x109)](){return this['recorder']['calls']();}[_0x46b388(0x124)](_0x5a0361){const _0x12a49f={_0x377218:0x109},_0x1ae154=_0x46b388;return this[_0x1ae154(0x15b)][_0x1ae154(_0x12a49f._0x377218)]()[_0x1ae154(0x106)](_0x26b38d=>_0x26b38d[_0x1ae154(0x160)]===_0x5a0361);}};export{FakeWebDriver};
|