@unotest/web 0.37.0 → 0.38.0

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 CHANGED
@@ -1,5 +1,41 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.38.0] - 2026-09-17
4
+
5
+ - **Signing in to a box explains itself.** The box's first page now says
6
+ **Sign in to this box** and tells you where the user name and password
7
+ are: on the box's card in your dashboard, as Login and Password.
8
+ Someone who did not rent the box is told to ask whoever runs it. When a
9
+ box offers several ways in, the identity provider comes first and the
10
+ local account's button reads **Box account**.
11
+
12
+ - **A new box says what is missing.** A freshly rented box no longer
13
+ reports "No environment is being served yet". It explains that a box
14
+ serves an environment once a bundle has been pushed to it, and gives
15
+ the one command that does it:
16
+
17
+ npx @unotest/web bundle push --run --env ENVIRONMENT
18
+
19
+ `--env` takes the environment's own name, `prod` rather than
20
+ `project/prod`. The command fits the card and can be read and copied
21
+ whole. The empty environment list and the button that could not be
22
+ pressed are gone.
23
+
24
+ - **Renting a box asks for an address and what runs on it.** A row is one
25
+ **address** and the **environments** on it, added as tags. There is no
26
+ project field: the project is the box's own name, so a box called
27
+ `acme` gets `acme/prod` and `acme/dev`. Refusals name the field inside
28
+ its row and say what to do, such as "Add https:// to the address". A
29
+ row with only half of what it needs counts as unfinished, not wrong.
30
+
31
+ ### Patch Changes
32
+
33
+ - @unotest/core@0.38.0
34
+ - @unotest/dsl@0.38.0
35
+ - @unotest/grounder-client@0.38.0
36
+ - @unotest/protocol@0.38.0
37
+ - @unotest/viewer@0.38.0
38
+
3
39
  ## [0.37.0] - 2026-09-17
4
40
 
5
41
  ### Minor Changes
@@ -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: ("transient" | "network" | "crash")[];
33
+ on: ("network" | "transient" | "crash")[];
34
34
  }, {
35
35
  count: number;
36
- on: ("transient" | "network" | "crash")[];
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
- reuseExistingServer?: boolean | undefined;
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
- reuseExistingServer?: boolean | undefined;
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: ("transient" | "network" | "crash")[];
279
+ on: ("network" | "transient" | "crash")[];
280
280
  }, {
281
281
  count: number;
282
- on: ("transient" | "network" | "crash")[];
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: ("transient" | "network" | "crash")[];
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: ("transient" | "network" | "crash")[];
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
- reuseExistingServer?: boolean | undefined;
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;
@@ -1 +1 @@
1
- function _0x4201(){var _0xe19169=['B2zM','nta4mhr6tKnAtW','ywnJzxb0','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','zgLZBwLZCW','BwfUDwfS','BgLUDdPZy2vUyxjPBY1PBI1YB290','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq','B2jQzwn0','DMfSAwrHDg9YoNzHCI1ZAgfWzq','DMfSAwrHDg9YoMfYzY1RAw5K','zw51Bq','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','DMfSAwrHDg9YoMLMlxnOyxbL','DMfSAwrHDg9YoNn0zxaTC2HHCgu','lNvUB3rLC3qVzMfPBhvYzxm','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','mZH2yxHiuKS','BgLUDdPWyxvZzs1LEhbSAwnPDa','y2HYB21LlwjLDge','zgvMyxvSDa','DxjS','ndKWmJG5oeztDK9LuG','BgLUDdP4Cgf0Aa','BgLUDdPNB3rVlwnVBMnHDa','y2HYB21L','BgL0zxjHBa','zxjYB3i','C3rYAw5N','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','yxjYyxK','BNvTyMvY','BgLUDdPLy2HVlwfZC2vYDa','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','Dw5VDgvZDc9LmMu','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','Aw50','nte4ndHmsKLnuu0','Cg9ZAxrPDMu','mtq2oe14zvvkuW','mtm2mde2mhz0yNjXtG','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','DMfSAwrHDg9YoM1LDgeTC2HHCgu','B3b0Aw9UywW','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','y3jHC2G','mtfXswnbCNm','Bwf4','DMfSAwrHDg9YoMXPC3qTyxjN','BgLUDdPSzwDHy3KTBgf5B3v0','BwLU','CMvJB3jK','DhjHBNnPzw50','C3rKAw8','D2fYBG','mZaYmJCYmLrowNDtta','y2HYB21PDw0','zMLYzwzVEa','yM9VBgvHBG','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','mti3odaYn3DUBuX4tG','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','mZeYndLXtLjxDvC','nJiXt21wvLzO'];_0x4201=function(){return _0xe19169;};return _0x4201();}var _0x181bcf=_0x2567;(function(_0x56bff3,_0x2e70b0){var _0x1a1215={_0x10ecb3:0x20a,_0x55d20d:0x21d,_0x5505bc:0x203},_0xefd31f=_0x2567,_0xdbca4=_0x56bff3();while(!![]){try{var _0x2ccc39=parseInt(_0xefd31f(_0x1a1215._0x10ecb3))/0x1*(-parseInt(_0xefd31f(_0x1a1215._0x55d20d))/0x2)+parseInt(_0xefd31f(0x208))/0x3+-parseInt(_0xefd31f(0x1f3))/0x4*(parseInt(_0xefd31f(0x20d))/0x5)+parseInt(_0xefd31f(_0x1a1215._0x5505bc))/0x6+parseInt(_0xefd31f(0x1e2))/0x7+-parseInt(_0xefd31f(0x1f1))/0x8*(parseInt(_0xefd31f(0x20b))/0x9)+parseInt(_0xefd31f(0x1f4))/0xa*(parseInt(_0xefd31f(0x1fa))/0xb);if(_0x2ccc39===_0x2e70b0)break;else _0xdbca4['push'](_0xdbca4['shift']());}catch(_0x5d0c70){_0xdbca4['push'](_0xdbca4['shift']());}}}(_0x4201,0x560b2));import{z}from'zod';function _0x2567(_0x3633a1,_0x5903de){_0x3633a1=_0x3633a1-0x1e1;var _0x4201f0=_0x4201();var _0x256750=_0x4201f0[_0x3633a1];if(_0x2567['LBTmYU']===undefined){var _0x5cc0ea=function(_0x555164){var _0x4c8b11='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1ac178='',_0x786f27='';for(var _0x4c8135=0x0,_0x16776f,_0x51c40b,_0x5f10eb=0x0;_0x51c40b=_0x555164['charAt'](_0x5f10eb++);~_0x51c40b&&(_0x16776f=_0x4c8135%0x4?_0x16776f*0x40+_0x51c40b:_0x51c40b,_0x4c8135++%0x4)?_0x1ac178+=String['fromCharCode'](0xff&_0x16776f>>(-0x2*_0x4c8135&0x6)):0x0){_0x51c40b=_0x4c8b11['indexOf'](_0x51c40b);}for(var _0x117088=0x0,_0x525c2c=_0x1ac178['length'];_0x117088<_0x525c2c;_0x117088++){_0x786f27+='%'+('00'+_0x1ac178['charCodeAt'](_0x117088)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x786f27);};_0x2567['tauWFy']=_0x5cc0ea,_0x2567['ExHfDb']={},_0x2567['LBTmYU']=!![];}var _0xb45f2b=_0x4201f0[0x0],_0x8209fa=_0x3633a1+_0xb45f2b,_0x248d51=_0x2567['ExHfDb'][_0x8209fa];return!_0x248d51?(_0x256750=_0x2567['tauWFy'](_0x256750),_0x2567['ExHfDb'][_0x8209fa]=_0x256750):_0x256750=_0x248d51,_0x256750;}var BrowserSchema=z[_0x181bcf(0x217)]([_0x181bcf(0x204),_0x181bcf(0x205),'webkit']),BrowserChannelSchema=z['union']([z[_0x181bcf(0x1e6)](_0x181bcf(0x1e5)),z[_0x181bcf(0x1e6)]('msedge'),z[_0x181bcf(0x1e6)](_0x181bcf(0x21f)),z['null']()])[_0x181bcf(0x1f7)](),ViewportSchema=z[_0x181bcf(0x214)]({'width':z[_0x181bcf(0x1eb)]()['int']()[_0x181bcf(0x1f2)](),'height':z[_0x181bcf(0x1eb)]()[_0x181bcf(0x1f0)]()[_0x181bcf(0x1f2)]()}),RetryReasonSchema=z[_0x181bcf(0x217)]([_0x181bcf(0x200),'network',_0x181bcf(0x1f9)]),RetryConfigSchema=z[_0x181bcf(0x214)]({'count':z[_0x181bcf(0x1eb)]()[_0x181bcf(0x1f0)]()['min'](0x0)[_0x181bcf(0x1fb)](0xa),'on':z[_0x181bcf(0x1ea)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x181bcf(0x214)]({'tier1':z[_0x181bcf(0x1e6)](!![])[_0x181bcf(0x220)](!![]),'tier2':z[_0x181bcf(0x206)](),'tier3':z['object']({'network':z['boolean'](),'video':z[_0x181bcf(0x206)]()}),'retention':z['object']({'runs':z[_0x181bcf(0x1eb)]()[_0x181bcf(0x1f0)]()['positive'](),'days':z[_0x181bcf(0x1eb)]()[_0x181bcf(0x1f0)]()[_0x181bcf(0x1f2)]()}),'storageDir':z[_0x181bcf(0x1e8)]()['min'](0x1)}),DialogPolicySchema=z[_0x181bcf(0x217)](['accept',_0x181bcf(0x210),_0x181bcf(0x211)]),LinterRuleIdSchema=z['enum'](['lint:deep-css',_0x181bcf(0x1e3),'lint:obfuscated-class',_0x181bcf(0x21e),_0x181bcf(0x1ef),_0x181bcf(0x20f),_0x181bcf(0x212),'lint:mustache-in-dsl',_0x181bcf(0x1e4),'lint:regex-invalid',_0x181bcf(0x1ec),'lint:api-call-file-body',_0x181bcf(0x1ed),_0x181bcf(0x1f5),_0x181bcf(0x1fd),_0x181bcf(0x207),_0x181bcf(0x213),_0x181bcf(0x1e9),'validator:arity',_0x181bcf(0x216),_0x181bcf(0x21c),_0x181bcf(0x21a),_0x181bcf(0x1f6),'validator:function-shape','validator:for-shape',_0x181bcf(0x219),_0x181bcf(0x215),_0x181bcf(0x209),'validator:unsupported-expression',_0x181bcf(0x218),_0x181bcf(0x1f8),_0x181bcf(0x1fc),'validator:wrapped-format']),LinterSeveritySchema=z[_0x181bcf(0x217)](['off',_0x181bcf(0x202),_0x181bcf(0x1e7)]),LinterConfigSchema=z[_0x181bcf(0x214)]({'enabled':z[_0x181bcf(0x206)](),'rules':z[_0x181bcf(0x1ff)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z['object']({'enabled':z[_0x181bcf(0x206)]()[_0x181bcf(0x220)](!![]),'concurrency':z[_0x181bcf(0x1eb)]()[_0x181bcf(0x1f0)]()['positive']()['default'](0x1)}),ScheduleSchema=z['object']({'collection':z[_0x181bcf(0x1e8)]()[_0x181bcf(0x1fe)](0x1),'cron':z[_0x181bcf(0x1e8)]()[_0x181bcf(0x1fe)](0x1),'env':z[_0x181bcf(0x1e8)]()[_0x181bcf(0x1fe)](0x1)[_0x181bcf(0x1f7)](),'prepare':z[_0x181bcf(0x1e8)]()[_0x181bcf(0x1fe)](0x1)['optional']()}),McpConfigSchema=z[_0x181bcf(0x214)]({'transport':z[_0x181bcf(0x1e6)]('stdio')}),SandboxConfigSchema=z[_0x181bcf(0x214)]({'shellCwd':z['string']()[_0x181bcf(0x1f7)](),'shellTimeoutMs':z['number']()[_0x181bcf(0x1f0)]()[_0x181bcf(0x1f2)]()['optional'](),'exportSecrets':z[_0x181bcf(0x1ea)](z[_0x181bcf(0x1e8)]())[_0x181bcf(0x1f7)](),'database':z['string']()['optional'](),'apiBaseUrl':z['string']()[_0x181bcf(0x1e1)]()[_0x181bcf(0x1f7)](),'uploadDir':z[_0x181bcf(0x1e8)]()[_0x181bcf(0x1f7)]()}),WebServerConfigSchema=z[_0x181bcf(0x214)]({'command':z[_0x181bcf(0x1e8)]()[_0x181bcf(0x1fe)](0x1),'url':z[_0x181bcf(0x1e8)]()[_0x181bcf(0x1e1)](),'reuseExistingServer':z[_0x181bcf(0x206)]()[_0x181bcf(0x220)](!![]),'timeoutMs':z[_0x181bcf(0x1eb)]()[_0x181bcf(0x1f0)]()[_0x181bcf(0x1f2)]()[_0x181bcf(0x220)](0xea60)}),UnotestConfigSchema=z[_0x181bcf(0x214)]({'baseUrl':z['string']()[_0x181bcf(0x1e1)]()[_0x181bcf(0x1f7)](),'webServer':WebServerConfigSchema[_0x181bcf(0x1f7)](),'browsers':z[_0x181bcf(0x1ea)](BrowserSchema)[_0x181bcf(0x1fe)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x181bcf(0x1e8)]()[_0x181bcf(0x1f7)](),'testDir':z[_0x181bcf(0x1e8)]()['min'](0x1),'helpersDir':z[_0x181bcf(0x1e8)]()[_0x181bcf(0x1fe)](0x1),'defaultTimeoutMs':z[_0x181bcf(0x1eb)]()[_0x181bcf(0x1f0)]()[_0x181bcf(0x1f2)](),'defaultNavigationTimeoutMs':z['number']()[_0x181bcf(0x1f0)]()[_0x181bcf(0x1f2)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z[_0x181bcf(0x1ea)](ScheduleSchema)[_0x181bcf(0x220)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x181bcf(0x204)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x181bcf(0x200)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x181bcf(0x21b)},'dialogPolicy':_0x181bcf(0x20e),'testDir':_0x181bcf(0x1ee),'helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x181bcf(0x202),'lint:xpath':_0x181bcf(0x202),'lint:obfuscated-class':_0x181bcf(0x202),'lint:pause-explicit':_0x181bcf(0x202),'lint:disambig-by-index':_0x181bcf(0x20c),'lint:evaluate-discouraged':_0x181bcf(0x202),'lint:scenario-in-root':'error','lint:mustache-in-dsl':_0x181bcf(0x1e7),'lint:goto-concat':'warn','lint:regex-invalid':'error','lint:echo-assert':_0x181bcf(0x202),'lint:lint-ok-missing-reason':'warn','lint:flow-returns-value':_0x181bcf(0x202),'lint:legacy-layout':_0x181bcf(0x202),'lint:external-variable-undeclared':'error','lint:one-test-per-file':'warn','validator:unknown-function':'error'}},'mcp':{'transport':_0x181bcf(0x201)},'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};
1
+ function _0x3c90(){var _0x6d5940=['DhjHBNnPzw50','y3jHC2G','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','yM9VBgvHBG','mLPTu3HJsa','BgLUDdP4Cgf0Aa','B3b0Aw9UywW','CMvJB3jK','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','oda1vhbiCefS','BwLU','B2jQzwn0','y2HYB21L','BgLUDdPLy2HVlwfZC2vYDa','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','D2vIA2L0','zxjYB3i','Dw5PB24','DMfSAwrHDg9YoMzVCI1ZAgfWzq','DMfSAwrHDg9YoNzHCI1ZAgfWzq','DMfSAwrHDg9YoNn0zxaTC2HHCgu','zMLYzwzVEa','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','DxjS','BMv0D29YAW','Aw50','nZG2uuzoCfbQ','mtbXAM9KyKC','C3rYAw5N','BxnLzgDL','D2fYBG','DMfSAwrHDg9YoMXPC3qTyxjN','y2HYB21PDw0','Cg9ZAxrPDMu','mJuZmdi0s2XhAg9n','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','BgLUDdPZy2vUyxjPBY1PBI1YB290','mtiZmZy4nJnmrKjuqxe','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','BgL0zxjHBa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','mtK3ndmZnKXevM5QEa','BgLUDdPKzwvWlwnZCW','ntu3odKYm2nov2LizG','BgLUDdPNB3rVlwnVBMnHDa','BgLUDdPYzwDLEc1PBNzHBgLK','C3rKAw8','y2HYB21LlwjLDge','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','B2zM','BgLUDdPSzwDHy3KTBgf5B3v0','ndi0otqZmuner2rRua','BNvTyMvY','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','DMfSAwrHDg9YoM1LDgeTC2HHCgu','lNvUB3rLC3qVzMfPBhvYzxm','yxjYyxK','DMfSAwrHDg9YoMfYzY1RAw5K','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','DMfSAwrHDg9YoMfYAxr5','nJy3ntu5tursDfb1','BNvSBa','zw51Bq','mJDdALfYDfq','zgvMyxvSDa'];_0x3c90=function(){return _0x6d5940;};return _0x3c90();}var _0x70c71e=_0x500b;(function(_0x5188e1,_0x2c14e3){var _0x53f3f4={_0x2323a4:0x1d2,_0x2f3f15:0x1d5,_0x118ff4:0x19e,_0x516ed9:0x1b0,_0x4a8139:0x1b1},_0x2eb4bd=_0x500b,_0x517a58=_0x5188e1();while(!![]){try{var _0x24744f=-parseInt(_0x2eb4bd(_0x53f3f4._0x2323a4))/0x1*(parseInt(_0x2eb4bd(0x1db))/0x2)+parseInt(_0x2eb4bd(_0x53f3f4._0x2f3f15))/0x3*(parseInt(_0x2eb4bd(0x1b8))/0x4)+-parseInt(_0x2eb4bd(_0x53f3f4._0x118ff4))/0x5*(parseInt(_0x2eb4bd(_0x53f3f4._0x516ed9))/0x6)+-parseInt(_0x2eb4bd(0x1c1))/0x7+-parseInt(_0x2eb4bd(0x1bf))/0x8+-parseInt(_0x2eb4bd(0x1c9))/0x9*(-parseInt(_0x2eb4bd(_0x53f3f4._0x4a8139))/0xa)+parseInt(_0x2eb4bd(0x1bb))/0xb;if(_0x24744f===_0x2c14e3)break;else _0x517a58['push'](_0x517a58['shift']());}catch(_0x4a8189){_0x517a58['push'](_0x517a58['shift']());}}}(_0x3c90,0x691e5));function _0x500b(_0x390083,_0x4d00a6){_0x390083=_0x390083-0x19a;var _0x3c9053=_0x3c90();var _0x500b8a=_0x3c9053[_0x390083];if(_0x500b['WBVHae']===undefined){var _0x4233cf=function(_0x8dfc2b){var _0x152376='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2308b2='',_0xaba295='';for(var _0x4f35a9=0x0,_0x2e854c,_0x38f977,_0x22062d=0x0;_0x38f977=_0x8dfc2b['charAt'](_0x22062d++);~_0x38f977&&(_0x2e854c=_0x4f35a9%0x4?_0x2e854c*0x40+_0x38f977:_0x38f977,_0x4f35a9++%0x4)?_0x2308b2+=String['fromCharCode'](0xff&_0x2e854c>>(-0x2*_0x4f35a9&0x6)):0x0){_0x38f977=_0x152376['indexOf'](_0x38f977);}for(var _0x49d4b6=0x0,_0x36be93=_0x2308b2['length'];_0x49d4b6<_0x36be93;_0x49d4b6++){_0xaba295+='%'+('00'+_0x2308b2['charCodeAt'](_0x49d4b6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xaba295);};_0x500b['ahiUbk']=_0x4233cf,_0x500b['joHCTu']={},_0x500b['WBVHae']=!![];}var _0x63acc7=_0x3c9053[0x0],_0x151ae0=_0x390083+_0x63acc7,_0x2f30a8=_0x500b['joHCTu'][_0x151ae0];return!_0x2f30a8?(_0x500b8a=_0x500b['ahiUbk'](_0x500b8a),_0x500b['joHCTu'][_0x151ae0]=_0x500b8a):_0x500b8a=_0x2f30a8,_0x500b8a;}import{z}from'zod';var BrowserSchema=z[_0x70c71e(0x1d4)]([_0x70c71e(0x1b6),_0x70c71e(0x1aa),_0x70c71e(0x1a4)]),BrowserChannelSchema=z[_0x70c71e(0x1a6)]([z[_0x70c71e(0x1bd)](_0x70c71e(0x1a1)),z[_0x70c71e(0x1bd)](_0x70c71e(0x1b3)),z['literal'](_0x70c71e(0x1c5)),z[_0x70c71e(0x1d3)]()])['optional'](),ViewportSchema=z[_0x70c71e(0x1a0)]({'width':z[_0x70c71e(0x1ca)]()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)](),'height':z['number']()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)]()}),RetryReasonSchema=z['enum']([_0x70c71e(0x1d7),_0x70c71e(0x1ae),_0x70c71e(0x1d8)]),RetryConfigSchema=z[_0x70c71e(0x1a0)]({'count':z['number']()['int']()[_0x70c71e(0x19f)](0x0)['max'](0xa),'on':z[_0x70c71e(0x1ce)](RetryReasonSchema)}),FailureBundleConfigSchema=z['object']({'tier1':z[_0x70c71e(0x1bd)](!![])[_0x70c71e(0x1d6)](!![]),'tier2':z[_0x70c71e(0x1da)](),'tier3':z[_0x70c71e(0x1a0)]({'network':z[_0x70c71e(0x1da)](),'video':z[_0x70c71e(0x1da)]()}),'retention':z[_0x70c71e(0x1a0)]({'runs':z['number']()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)](),'days':z['number']()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)]()}),'storageDir':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1)}),DialogPolicySchema=z[_0x70c71e(0x1d4)](['accept','dismiss','manual']),LinterRuleIdSchema=z['enum']([_0x70c71e(0x1c0),_0x70c71e(0x19a),_0x70c71e(0x1bc),'lint:pause-explicit','lint:disambig-by-index',_0x70c71e(0x1d0),_0x70c71e(0x1ba),'lint:mustache-in-dsl',_0x70c71e(0x1c2),_0x70c71e(0x1c3),_0x70c71e(0x1a2),_0x70c71e(0x1ab),'lint:lint-ok-missing-reason',_0x70c71e(0x19d),_0x70c71e(0x1c8),_0x70c71e(0x1a3),'lint:one-test-per-file',_0x70c71e(0x1c6),_0x70c71e(0x1d1),_0x70c71e(0x1cf),_0x70c71e(0x1b9),_0x70c71e(0x1a9),_0x70c71e(0x1cc),_0x70c71e(0x1ac),_0x70c71e(0x1a7),'validator:if-shape',_0x70c71e(0x1a8),_0x70c71e(0x1cb),_0x70c71e(0x1be),'validator:string-concat','validator:semantic-loss',_0x70c71e(0x1b5),_0x70c71e(0x1d9)]),LinterSeveritySchema=z[_0x70c71e(0x1d4)]([_0x70c71e(0x1c7),_0x70c71e(0x1b4),_0x70c71e(0x1a5)]),LinterConfigSchema=z[_0x70c71e(0x1a0)]({'enabled':z['boolean'](),'rules':z[_0x70c71e(0x19c)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z['object']({'enabled':z['boolean']()[_0x70c71e(0x1d6)](!![]),'concurrency':z[_0x70c71e(0x1ca)]()['int']()['positive']()[_0x70c71e(0x1d6)](0x1)}),ScheduleSchema=z[_0x70c71e(0x1a0)]({'collection':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'cron':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'env':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1)[_0x70c71e(0x19b)](),'prepare':z[_0x70c71e(0x1b2)]()['min'](0x1)[_0x70c71e(0x19b)]()}),McpConfigSchema=z[_0x70c71e(0x1a0)]({'transport':z[_0x70c71e(0x1bd)](_0x70c71e(0x1c4))}),SandboxConfigSchema=z['object']({'shellCwd':z[_0x70c71e(0x1b2)]()['optional'](),'shellTimeoutMs':z[_0x70c71e(0x1ca)]()['int']()['positive']()[_0x70c71e(0x19b)](),'exportSecrets':z[_0x70c71e(0x1ce)](z[_0x70c71e(0x1b2)]())['optional'](),'database':z[_0x70c71e(0x1b2)]()['optional'](),'apiBaseUrl':z[_0x70c71e(0x1b2)]()['url']()[_0x70c71e(0x19b)](),'uploadDir':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19b)]()}),WebServerConfigSchema=z[_0x70c71e(0x1a0)]({'command':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'url':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x1ad)](),'reuseExistingServer':z[_0x70c71e(0x1da)]()[_0x70c71e(0x1d6)](!![]),'timeoutMs':z[_0x70c71e(0x1ca)]()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)]()['default'](0xea60)}),UnotestConfigSchema=z[_0x70c71e(0x1a0)]({'baseUrl':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x1ad)]()[_0x70c71e(0x19b)](),'webServer':WebServerConfigSchema[_0x70c71e(0x19b)](),'browsers':z[_0x70c71e(0x1ce)](BrowserSchema)[_0x70c71e(0x19f)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19b)](),'testDir':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'helpersDir':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'defaultTimeoutMs':z[_0x70c71e(0x1ca)]()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)](),'defaultNavigationTimeoutMs':z[_0x70c71e(0x1ca)]()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z[_0x70c71e(0x1ce)](ScheduleSchema)[_0x70c71e(0x1d6)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x70c71e(0x1b6)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x70c71e(0x1d7)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x70c71e(0x1cd)},'dialogPolicy':'accept','testDir':'unotest/e2e','helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':'warn','lint:xpath':'warn','lint:obfuscated-class':'warn','lint:pause-explicit':_0x70c71e(0x1b4),'lint:disambig-by-index':'off','lint:evaluate-discouraged':_0x70c71e(0x1b4),'lint:scenario-in-root':_0x70c71e(0x1a5),'lint:mustache-in-dsl':_0x70c71e(0x1a5),'lint:goto-concat':_0x70c71e(0x1b4),'lint:regex-invalid':_0x70c71e(0x1a5),'lint:echo-assert':_0x70c71e(0x1b4),'lint:lint-ok-missing-reason':_0x70c71e(0x1b4),'lint:flow-returns-value':_0x70c71e(0x1b4),'lint:legacy-layout':'warn','lint:external-variable-undeclared':_0x70c71e(0x1a5),'lint:one-test-per-file':_0x70c71e(0x1b4),'validator:unknown-function':_0x70c71e(0x1a5)}},'mcp':{'transport':_0x70c71e(0x1c4)},'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};
@@ -1 +1 @@
1
- const _0x426ece=_0x1de0;(function(_0x33b7fd,_0x29f38f){const _0xfff5bb={_0x52fbd1:0x9f,_0x273e77:0xe0,_0x498f7f:0xdc,_0x439fcc:0x8d},_0x2259e6=_0x1de0,_0x463081=_0x33b7fd();while(!![]){try{const _0x30a4d2=-parseInt(_0x2259e6(_0xfff5bb._0x52fbd1))/0x1+-parseInt(_0x2259e6(0xc8))/0x2+parseInt(_0x2259e6(0xe3))/0x3*(parseInt(_0x2259e6(_0xfff5bb._0x273e77))/0x4)+-parseInt(_0x2259e6(_0xfff5bb._0x498f7f))/0x5+-parseInt(_0x2259e6(0x102))/0x6*(-parseInt(_0x2259e6(0x98))/0x7)+parseInt(_0x2259e6(0x109))/0x8+-parseInt(_0x2259e6(_0xfff5bb._0x439fcc))/0x9*(parseInt(_0x2259e6(0xb1))/0xa);if(_0x30a4d2===_0x29f38f)break;else _0x463081['push'](_0x463081['shift']());}catch(_0x1d6452){_0x463081['push'](_0x463081['shift']());}}}(_0x2b0f,0x33933));var __defProp=Object[_0x426ece(0x103)],__name=(_0x1e11d5,_0x58ba65)=>__defProp(_0x1e11d5,'name',{'value':_0x58ba65,'configurable':!![]});function _0x2b0f(){const _0x2ac1b6=['Aw5WDxrwywX1zq','C2f2zvn0B3jHz2vtDgf0zq','CMvJB3jKzxi','mZeXmJH0zvrUsKm','zgvMAw5LuhjVCgvYDhK','tg9JyxrVCKvYCM9Y','C3bSAwnL','DxjS','z2v0q29VA2LL','Aw5WDxrwywX1zuj5rgvMyxvSDa','mteYmdG3mKPfBgvWAG','yxr0CMLIDxrLC0j5rgvMyxvSDa','mtKXndKZouzJDKnKBa','zhjHz0fUzerYB3a','z29cywnR','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','Bg9JywXtDg9YywDLu3rHDgu','B25bzNrLCKnSAwnR','rMfRzvDLyKrYAxzLCG','D2fPDezVCLvYBa','CgfNzuXPC3q','ywn0AxzLswr4','Cg9WDxbpBKnSAwnR','mZCXrMnqEKvz','BMv3ugfNzuXPC3rLBMvYCW','zNvUy3rPB24','zhjPDMvY','y2HLy2TLzfn0yxrL','ywn0AxzLugfNzq','CgfNzxm','mte5mZmWBxDJAwrk','Dgv4DenVBNrLBNrcEurLzMf1Bhq','BgvUz3rO','AxnwAxnPyMXL','zMfRzsb0AxrSzq','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','pgrPDJ48l2rPDJ4','C2nYzwvUC2HVDa','DhLWzq','y3vYCMvUDfvYBa','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','zg91yMXLq2XPy2S','CMvSB2fK','C3rLChm','C2nVCgu','Bgf1BMnO','zxzHBhvHDgu','z2v0qxr0CMLIDxrL','mtbcvgvtEg4','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','D2fPDezVCKXVywrtDgf0zq','CMvJB3jK','y291BNrcEurLzMf1Bhq','CMvM','y2XPy2S','y29VA2LLCW','zgvSzxrL','yxr0ywnOrxHPC3rPBMC','y291BNq','C2v0q29VA2LL','zxjYB3jpBK5LEhrby3rPB24','z2v0tg9JywXtDg9YywDL','B3v0zxjive1m','C2nYzwvUC2HVDevSzw1LBNq','rhjPDMvYrxjYB3i','zMLSDgvY','C2nYzwvUC2HVDej5DgvZ','BMv3q29UDgv4Da','zw1PDezHA2vqB3b1Ca','z29gB3j3yxjK','C2v0qwn0AxzLugfNzq','otmYodzHy2TtvvK','y2XVC2u','Bgf1BMnOzwq','Bwv0Ag9K','AxneAxnHyMXLza','Aw5PDgLHBfvYBa','y2fSBhm','Dgv4DenVBNrLBNq','AxnwAxnPyMXLqNLezwzHDwX0','D3nfBMrWB2LUDa','zxzHBhvHDgvpBKXVy2f0B3i','Ag92zxi','lNbHz2u','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','zMfRzs1WBMC','y29UDgv4Dhm','z290BW','ChjLC3m','Aw5ZCgvJDevSzw1LBNq','A2LUza','mte1ndG1A1nXDevN','y29UC29SzuvUDhjPzxm','B25ozxDqywDL','yMvOyxzPB3i','nZKYmdC2ve5nB2nP','y2fSBhngB3i','zxzHBhvHDgvszxn1Bhq','m1j1uKzLqG','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','ywrK','y2HLy2TLzfn0yxrLqNLezwzHDwX0','lNbHz2uW','zNjHBwvtDgfJAW','DxbSB2fKrMLSzq','C2nYB2XSsw50B1zPzxC','y3jLyxrLuMvJB3jKzxi','C2v0tg9JywXtDg9YywDL','Aw5UzxjuzxH0qNLezwzHDwX0','y29VA2LLu3rHDgu','D2fPDezVCG','y3r4','C3vIC2nYAwjL','C2vSzwn0t3b0Aw9U','D2fPDezVCK5HDMLNyxrPB24','ChvZAa','Bwf5yMvuAhjVDW','Dw5JAgvJAW','ywjVDxq6yMXHBMS','rMfRzunVBNrLEhq','zxHPDezYyw1L','D2fPDezVCLrLEhq','y2XPCgjVyxjKugfZDgu','y2HLy2S','BMv0D29YA0vUDhjPzxm','iJ48l2rPDJ4'];_0x2b0f=function(){return _0x2ac1b6;};return _0x2b0f();}function _0x1de0(_0xcf1065,_0x5da570){_0xcf1065=_0xcf1065-0x8d;const _0x2b0f7a=_0x2b0f();let _0x1de07b=_0x2b0f7a[_0xcf1065];if(_0x1de0['KLSyLY']===undefined){var _0x5d5144=function(_0x4c43e2){const _0x168379='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1e11d5='',_0x58ba65='';for(let _0x35e6d7=0x0,_0x5d279f,_0x26b6b9,_0x31213c=0x0;_0x26b6b9=_0x4c43e2['charAt'](_0x31213c++);~_0x26b6b9&&(_0x5d279f=_0x35e6d7%0x4?_0x5d279f*0x40+_0x26b6b9:_0x26b6b9,_0x35e6d7++%0x4)?_0x1e11d5+=String['fromCharCode'](0xff&_0x5d279f>>(-0x2*_0x35e6d7&0x6)):0x0){_0x26b6b9=_0x168379['indexOf'](_0x26b6b9);}for(let _0x22c5d0=0x0,_0x167954=_0x1e11d5['length'];_0x22c5d0<_0x167954;_0x22c5d0++){_0x58ba65+='%'+('00'+_0x1e11d5['charCodeAt'](_0x22c5d0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x58ba65);};_0x1de0['uJMHeI']=_0x5d5144,_0x1de0['BobIjF']={},_0x1de0['KLSyLY']=!![];}const _0x3cb3d8=_0x2b0f7a[0x0],_0x156c1e=_0xcf1065+_0x3cb3d8,_0xf6932f=_0x1de0['BobIjF'][_0x156c1e];return!_0xf6932f?(_0x1de07b=_0x1de0['uJMHeI'](_0x1de07b),_0x1de0['BobIjF'][_0x156c1e]=_0x1de07b):_0x1de07b=_0xf6932f,_0x1de07b;}function subscribe(_0x35e6d7,_0x5d279f){const _0x3be862={_0x5e3d4d:0xe5},_0x256a67={_0x446cdc:0xb9},_0x229f58=_0x426ece;return _0x35e6d7[_0x229f58(_0x3be862._0x5e3d4d)](_0x5d279f),()=>{const _0x25d04f=_0x229f58;_0x35e6d7[_0x25d04f(_0x256a67._0x446cdc)](_0x5d279f);};}__name(subscribe,_0x426ece(0xf1));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x426ece(0xc1));}},LocatorError=class extends UnotestError{static{__name(this,_0x426ece(0x104));}};function createRecorder(){const _0x2d88d9={_0x217bb3:0xf4},_0x96242c=_0x426ece,_0x26b6b9=[];let _0x31213c=0x0;return{'push':__name(_0x22c5d0=>_0x26b6b9[_0x96242c(0xf4)]({..._0x22c5d0,'seq':_0x31213c++}),_0x96242c(_0x2d88d9._0x217bb3)),'calls':__name(()=>_0x26b6b9,'calls')};}__name(createRecorder,_0x426ece(0xeb));var FakePage=class{constructor(_0x167954,_0x1d6a29,_0x163c12,_0x10e7d2){const _0x29265b={_0x1c102a:0xa8},_0x142129=_0x426ece;this['recorder']=_0x167954,this[_0x142129(0xdf)]=_0x1d6a29,this['scope']=_0x163c12,this[_0x142129(_0x29265b._0x1c102a)]=_0x10e7d2;}[_0x426ece(0x101)];['behavior'];[_0x426ece(0xad)];static{__name(this,'FakePage');}['currentUrl'];['onAfterClick'];['record'](_0x69fd1a,_0x131fbd){const _0x5ce597=_0x426ece;this['recorder']['push']({'scope':this[_0x5ce597(0xad)],'method':_0x69fd1a,'args':_0x131fbd});}['maybeThrow'](){const _0x35af42={_0x2a9ad8:0xbd,_0x178e31:0xdf},_0x2b98c6=_0x426ece;if(this[_0x2b98c6(0xdf)][_0x2b98c6(_0x35af42._0x2a9ad8)]){const _0x3f84ef=this[_0x2b98c6(0xdf)][_0x2b98c6(0xbd)];this[_0x2b98c6(_0x35af42._0x178e31)][_0x2b98c6(0xbd)]=void 0x0;throw _0x3f84ef;}}[_0x426ece(0x106)](){return this['currentUrl'];}async['title'](){const _0x378911={_0x2d198c:0xb4,_0x3184eb:0xa3},_0x335070=_0x426ece;return this[_0x335070(_0x378911._0x2d198c)]('title',[]),_0x335070(_0x378911._0x3184eb);}async[_0x426ece(0xb7)](_0x515d3f,_0x134e22){const _0x364326={_0x482a76:0xb7,_0x314cd5:0x92},_0x26464a=_0x426ece;this[_0x26464a(0xb4)](_0x26464a(_0x364326._0x482a76),[_0x515d3f,_0x134e22]),this['maybeThrow'](),this[_0x26464a(_0x364326._0x314cd5)]?.();}async[_0x426ece(0xaa)](_0x4a7647,_0x8661ea){const _0x5f16dd={_0x170634:0xaa},_0x430fab=_0x426ece;this[_0x430fab(0xb4)](_0x430fab(_0x5f16dd._0x170634),[_0x4a7647,_0x8661ea]),this['maybeThrow']();}async['fill'](_0x43a183,_0x286ee6,_0x815deb){const _0x157eaf=_0x426ece;this['record']('fill',[_0x43a183,_0x286ee6,_0x815deb]),this[_0x157eaf(0xf5)]();}async[_0x426ece(0xd9)](_0x28db79,_0x1de0f7,_0x4bb4ba){const _0x2f6f2c={_0x593a17:0xb4,_0x2148e0:0xf5},_0x1929dd=_0x426ece;this[_0x1929dd(_0x2f6f2c._0x593a17)]('press',[_0x28db79,_0x1de0f7,_0x4bb4ba]),this[_0x1929dd(_0x2f6f2c._0x2148e0)]();}async[_0x426ece(0xfc)](_0x2c6a12,_0x30521d){const _0x3608fc=_0x426ece;this['record']('check',[_0x2c6a12,_0x30521d]),this[_0x3608fc(0xf5)]();}async['uncheck'](_0x37f27b,_0x55900f){const _0x75774={_0x1233b6:0xf5},_0x2e7cf2=_0x426ece;this['record'](_0x2e7cf2(0xf6),[_0x37f27b,_0x55900f]),this[_0x2e7cf2(_0x75774._0x1233b6)]();}async[_0x426ece(0xf2)](_0xd48f0c,_0x3fb18a,_0x15d70e){const _0x5ac3b7={_0x428053:0xb4,_0xa39844:0xf2},_0x36f498=_0x426ece;this[_0x36f498(_0x5ac3b7._0x428053)](_0x36f498(_0x5ac3b7._0xa39844),[_0xd48f0c,_0x3fb18a,_0x15d70e]),this[_0x36f498(0xf5)]();}async['hover'](_0x4fd446,_0x39758c){const _0x2d2b24=_0x426ece;this[_0x2d2b24(0xb4)](_0x2d2b24(0xd3),[_0x4fd446,_0x39758c]),this['maybeThrow']();}async[_0x426ece(0xea)](_0x33dd81){const _0x5add60={_0x3b0df9:0xb4,_0x43e672:0xf5},_0x4d90c6=_0x426ece;this[_0x4d90c6(_0x5add60._0x3b0df9)]('scrollIntoView',[_0x33dd81]),this[_0x4d90c6(_0x5add60._0x43e672)]();}async[_0x426ece(0x8e)](_0x3feff0,_0x4129aa,_0x51b136){const _0x17307a={_0xd28473:0xf5},_0x11f1e6=_0x426ece;this['record'](_0x11f1e6(0x8e),[_0x3feff0,_0x4129aa,_0x51b136]),this[_0x11f1e6(_0x17307a._0xd28473)]();}async['uploadFile'](_0x2dc0ca,_0x47ab6d){const _0x5ca301={_0xed1a11:0xe9},_0x326b0c=_0x426ece;this[_0x326b0c(0xb4)](_0x326b0c(_0x5ca301._0xed1a11),[_0x2dc0ca,_0x47ab6d]),this['maybeThrow']();}async[_0x426ece(0xfb)](_0x54d74c,_0x27d233){const _0x56eca9={_0x3566bf:0xf5},_0x2f3b82=_0x426ece;this[_0x2f3b82(0xb4)]('clipboardPaste',[_0x54d74c,_0x27d233]),this[_0x2f3b82(_0x56eca9._0x3566bf)]();}async['count'](_0x21f934){const _0x5a7d3f={_0x154662:0xb4,_0x1d9c22:0xbb,_0x592e30:0xdf},_0x525b23=_0x426ece;return this[_0x525b23(_0x5a7d3f._0x154662)](_0x525b23(_0x5a7d3f._0x1d9c22),[_0x21f934]),this[_0x525b23(_0x5a7d3f._0x592e30)][_0x525b23(0xb5)]??0x1;}async[_0x426ece(0xcf)](_0x475872){const _0x60cfad={_0x3a7082:0xcf,_0x10c5a3:0xdf},_0x904da3=_0x426ece;return this[_0x904da3(0xb4)](_0x904da3(_0x60cfad._0x3a7082),[_0x475872]),this[_0x904da3(_0x60cfad._0x10c5a3)]['textContentByDefault']??'';}async['innerText'](_0x1cf3d5){const _0x2a11bf={_0x1a2309:0xed},_0x515675=_0x426ece;return this['record']('innerText',[_0x1cf3d5]),this[_0x515675(0xdf)][_0x515675(_0x2a11bf._0x1a2309)]??this['behavior'][_0x515675(0xa0)]??'';}async[_0x426ece(0xff)](_0x2cfe76){const _0x53f504={_0x4b48eb:0xdf,_0x4bed98:0x108},_0x1c7da8=_0x426ece;return this[_0x1c7da8(0xb4)](_0x1c7da8(0xff),[_0x2cfe76]),this[_0x1c7da8(_0x53f504._0x4b48eb)][_0x1c7da8(_0x53f504._0x4bed98)]??'';}async[_0x426ece(0x9c)](_0x196ca9){const _0x23ab84={_0x404f53:0x9c,_0x121539:0xdf,_0x530e16:0xe6},_0x15b785=_0x426ece;return this['record'](_0x15b785(_0x23ab84._0x404f53),[_0x196ca9]),this[_0x15b785(_0x23ab84._0x121539)][_0x15b785(_0x23ab84._0x530e16)]??null;}async[_0x426ece(0xa2)](_0x190b45){const _0x77744f=_0x426ece;return this[_0x77744f(0xb4)](_0x77744f(0xa2),[_0x190b45]),this[_0x77744f(0xdf)][_0x77744f(0xd0)]??!![];}async[_0x426ece(0xcc)](_0x291bee){const _0x3761af={_0x3c87af:0xb4},_0x10b1b5=_0x426ece;return this[_0x10b1b5(_0x3761af._0x3c87af)](_0x10b1b5(0xcc),[_0x291bee]),this[_0x10b1b5(0xdf)]['isDisabledByDefault']??![];}async[_0x426ece(0xb0)](_0x497fe9,_0x10cca3){const _0x3a0eff={_0x33f670:0x10a},_0x334b5f=_0x426ece;return this['record'](_0x334b5f(0xb0),[_0x497fe9,_0x10cca3]),this['behavior'][_0x334b5f(_0x3a0eff._0x33f670)]?.[_0x10cca3]??null;}async['waitFor'](_0x126465,_0x2d47df){const _0x172674={_0x3d7f33:0xb4,_0x503849:0xef},_0x205368=_0x426ece;this[_0x205368(_0x172674._0x3d7f33)](_0x205368(_0x172674._0x503849),[_0x126465,_0x2d47df]);}async[_0x426ece(0x94)](_0x506a4f,_0x68951){const _0x2bd1ee={_0xfa21dd:0x94},_0x484995=_0x426ece;this[_0x484995(0xb4)](_0x484995(_0x2bd1ee._0xfa21dd),[_0x506a4f,_0x68951]);}async[_0x426ece(0xfa)](_0x40866c,_0x5084c3){const _0x44d621=_0x426ece;this['record'](_0x44d621(0xfa),[_0x40866c,_0x5084c3]);}async[_0x426ece(0xf3)](_0x55a7b9){const _0x47a671=_0x426ece;this[_0x47a671(0xb4)](_0x47a671(0xf3),[_0x55a7b9]);}async[_0x426ece(0xb3)](_0x3ab04e,_0x4667bd){const _0x1d0f02={_0xa171d5:0xb4},_0x2cb8cb=_0x426ece;this[_0x2cb8cb(_0x1d0f02._0xa171d5)](_0x2cb8cb(0xb3),[_0x3ab04e,_0x4667bd]);}async[_0x426ece(0xd8)](_0x4d34f3,_0x140879){const _0x557bf5={_0x1a6d55:0xd8},_0x1fcd9c=_0x426ece;this['record'](_0x1fcd9c(_0x557bf5._0x1a6d55),[_0x4d34f3,_0x140879]),this[_0x1fcd9c(0xa8)]=_0x4d34f3;}async['reload'](_0x2c9306){const _0x4fd053={_0x4786bb:0xb4,_0x5dae18:0xab},_0x43169b=_0x426ece;this[_0x43169b(_0x4fd053._0x4786bb)](_0x43169b(_0x4fd053._0x5dae18),[_0x2c9306]);}async[_0x426ece(0x8f)](_0x397000){const _0x5a52c6=_0x426ece;this[_0x5a52c6(0xb4)](_0x5a52c6(0x8f),[_0x397000]);}async[_0x426ece(0xc6)](_0x3209ef){const _0x4205aa={_0x164761:0xb4,_0x295598:0xc6},_0x3da038=_0x426ece;this[_0x3da038(_0x4205aa._0x164761)](_0x3da038(_0x4205aa._0x295598),[_0x3209ef]);}async['evaluate'](_0x25a2c2){const _0x17a545={_0x1b2d06:0xaf,_0x12a48a:0xe2},_0x51d25c=_0x426ece;return this[_0x51d25c(0xb4)](_0x51d25c(_0x17a545._0x1b2d06),[_0x25a2c2]),this[_0x51d25c(0xdf)][_0x51d25c(_0x17a545._0x12a48a)];}async[_0x426ece(0xd2)](_0x48ce32,_0x55cbc7){const _0xcafb68={_0x14fc42:0xb4,_0x3ee9a2:0xd2},_0x4ff186=_0x426ece;return this[_0x4ff186(_0xcafb68._0x14fc42)](_0x4ff186(_0xcafb68._0x3ee9a2),[_0x48ce32,_0x55cbc7]),void 0x0;}async[_0x426ece(0xda)](_0x30195c){const _0x1602a6={_0x5d8089:0xac,_0x5477c7:0xa1,_0x288b43:0xb6},_0x2e4103=_0x426ece;this[_0x2e4103(0xb4)](_0x2e4103(0xda),[_0x30195c]);if(_0x30195c[_0x2e4103(_0x1602a6._0x5d8089)][_0x2e4103(_0x1602a6._0x5477c7)]!==0x1||_0x30195c['steps'][0x0]['kind']!==_0x2e4103(_0x1602a6._0x288b43))return null;const _0xf8034e=_0x30195c[_0x2e4103(0xac)][0x0]['ref'],_0x478cbb=this['behavior']['elementHintByRef']?.[_0xf8034e];return _0x478cbb??null;}async['screenshot'](_0x126bd4){const _0x2d5162=_0x426ece;return this['record'](_0x2d5162(0xa6),[_0x126bd4]),this['screenshotBytes'](_0x126bd4?.['type']);}async[_0x426ece(0xc0)](_0x4001cc,_0x1bf989){const _0x343fc8={_0x4102b5:0xb4,_0x138cf9:0xc0,_0x1dcdcb:0xa7},_0x45fb7a=_0x426ece;return this[_0x45fb7a(_0x343fc8._0x4102b5)](_0x45fb7a(_0x343fc8._0x138cf9),[_0x4001cc,_0x1bf989]),this[_0x45fb7a(0xc3)](_0x1bf989?.[_0x45fb7a(_0x343fc8._0x1dcdcb)]);}[_0x426ece(0xc3)](_0x10825c){const _0x415802={_0x4b1f2e:0xc3},_0x219883=_0x426ece,_0xaee301=this[_0x219883(0xdf)][_0x219883(_0x415802._0x4b1f2e)];if(_0xaee301===void 0x0)return Buffer['from'](_0x219883(0xd6));return typeof _0xaee301===_0x219883(0x9a)?_0xaee301(_0x10825c):_0xaee301;}async[_0x426ece(0xbf)](_0x6ea1e6){const _0x1b89db={_0x444cdc:0xbf,_0x683d44:0xa1,_0x4f899e:0xac,_0x53b23d:0xfe,_0x42b9bd:0xa5},_0x426b1c=_0x426ece;this['record'](_0x426b1c(_0x1b89db._0x444cdc),[_0x6ea1e6]);if(_0x6ea1e6['steps'][_0x426b1c(_0x1b89db._0x683d44)]===0x1&&_0x6ea1e6[_0x426b1c(0xac)][0x0][_0x426b1c(0xdb)]==='ref'){const _0x3d04c2=_0x6ea1e6[_0x426b1c(_0x1b89db._0x4f899e)][0x0][_0x426b1c(0xb6)];return this['behavior']['outerHtmlByRef']?.[_0x3d04c2]??'<div\x20data-unotest-ref=\x22'+_0x3d04c2+_0x426b1c(_0x1b89db._0x53b23d);}return _0x426b1c(_0x1b89db._0x42b9bd);}},FakeContext=class{constructor(_0x35001c,_0x3f50ba,_0x467e0f){const _0x475579={_0x3d7c4f:0xdf,_0x394863:0xad,_0x4e9c10:0xf7},_0x4d7fbf={_0x510551:0x97},_0x4aab17=_0x426ece;this[_0x4aab17(0x101)]=_0x35001c,this[_0x4aab17(_0x475579._0x3d7c4f)]=_0x3f50ba,this[_0x4aab17(_0x475579._0x394863)]=_0x467e0f;const _0x307ace=new FakePage(_0x35001c,_0x3f50ba,_0x467e0f+_0x4aab17(0xe7),_0x3f50ba[_0x4aab17(0xcd)]??_0x4aab17(_0x475579._0x4e9c10));_0x3f50ba[_0x4aab17(0x97)]&&(_0x307ace['onAfterClick']=()=>{const _0x55493e=_0x4aab17;this['emitFakePopup'](_0x3f50ba[_0x55493e(_0x4d7fbf._0x510551)]);}),this[_0x4aab17(0x95)]=[_0x307ace],this[_0x4aab17(0x91)]={..._0x3f50ba['localStorage']??{}},this['cookieState']={..._0x3f50ba[_0x4aab17(0xb8)]??{}};}[_0x426ece(0x101)];[_0x426ece(0xdf)];[_0x426ece(0xad)];static{__name(this,_0x426ece(0xf8));}['pageList'];[_0x426ece(0x96)]=0x0;[_0x426ece(0xe8)]=[];['localStorageState'];[_0x426ece(0xee)];[_0x426ece(0x99)]=new Set();[_0x426ece(0xb4)](_0x19ccf8,_0x5cf96b){const _0x163f58={_0x4ed95a:0xad},_0x51d924=_0x426ece;this[_0x51d924(0x101)]['push']({'scope':this[_0x51d924(_0x163f58._0x4ed95a)],'method':_0x19ccf8,'args':_0x5cf96b});}[_0x426ece(0x9e)](){const _0x4caa6e={_0x5d1c7b:0x95},_0xb89844=_0x426ece;return this[_0xb89844(_0x4caa6e._0x5d1c7b)];}[_0x426ece(0x9d)](){const _0x4e196b={_0x10b817:0x95},_0x46c4a6=_0x426ece,_0x2103e7=this[_0x46c4a6(_0x4e196b._0x10b817)][this['activeIdx']];if(!_0x2103e7)throw new DriverError(_0x46c4a6(0xd5),{'activeIdx':this[_0x46c4a6(0x96)]});return _0x2103e7;}[_0x426ece(0xdd)](){const _0x3c517a={_0x413e27:0xdd},_0x1fb29a=_0x426ece;return this[_0x1fb29a(0xdf)][_0x1fb29a(_0x3c517a._0x413e27)]??[];}[_0x426ece(0xfd)](){const _0xa75d36=_0x426ece;return this['behavior'][_0xa75d36(0xfd)]??[];}async[_0x426ece(0xc7)](_0x3fa7a2){const _0x1cf4ea={_0x1d8cdc:0x95,_0x12337e:0x96},_0x4d7e5a=_0x426ece;this['record']('setActivePage',[_0x3fa7a2]);if(_0x3fa7a2<0x0||_0x3fa7a2>=this[_0x4d7e5a(_0x1cf4ea._0x1d8cdc)][_0x4d7e5a(0xa1)])throw new DriverError(_0x4d7e5a(0xa4),{'index':_0x3fa7a2,'available':this[_0x4d7e5a(0x95)][_0x4d7e5a(0xa1)]});this[_0x4d7e5a(_0x1cf4ea._0x12337e)]=_0x3fa7a2,this[_0x4d7e5a(0xe8)]['length']=0x0;}[_0x426ece(0xde)](_0x485a51){return subscribe(this['newPageListeners'],_0x485a51);}[_0x426ece(0xc5)](_0x377a99){const _0x327b14={_0x3e8cfe:0x101,_0x434d97:0xdf,_0x317292:0x95},_0x7eba5e=_0x426ece,_0x9ad6b6=this[_0x7eba5e(0xad)]+_0x7eba5e(0xd4)+this['pageList']['length'],_0x1f8b60=new FakePage(this[_0x7eba5e(_0x327b14._0x3e8cfe)],this[_0x7eba5e(_0x327b14._0x434d97)],_0x9ad6b6,_0x377a99);this[_0x7eba5e(_0x327b14._0x317292)][_0x7eba5e(0xf4)](_0x1f8b60);const _0x20f685=this[_0x7eba5e(_0x327b14._0x317292)][_0x7eba5e(0xa1)]-0x1;for(const _0x48ef11 of this['newPageListeners']){try{_0x48ef11({'index':_0x20f685,'url':_0x377a99});}catch{}}return _0x20f685;}['closeFakePage'](_0xd9e4b1){const _0x450831={_0xaa281c:0x95,_0x1b279a:0xa4,_0x304fa9:0xa1},_0x2db312=_0x426ece;if(_0xd9e4b1<0x0||_0xd9e4b1>=this[_0x2db312(_0x450831._0xaa281c)][_0x2db312(0xa1)])throw new DriverError(_0x2db312(_0x450831._0x1b279a),{'index':_0xd9e4b1,'available':this['pageList'][_0x2db312(_0x450831._0x304fa9)]});this[_0x2db312(0x95)][_0x2db312(0x105)](_0xd9e4b1,0x1);}async['enterFrame'](_0x481cce){const _0x4e4045=_0x426ece;this[_0x4e4045(0xb4)]('enterFrame',[_0x481cce]);if(!_0x481cce['steps'][_0x4e4045(0xa1)])throw new LocatorError(_0x4e4045(0x90),{'locator':_0x481cce});this[_0x4e4045(0xe8)][_0x4e4045(0xf4)](_0x481cce);}async[_0x426ece(0xf9)](){const _0x5e94af={_0x91f292:0xf9,_0x297db0:0xe8},_0x4345af=_0x426ece;this[_0x4345af(0xb4)](_0x4345af(_0x5e94af._0x91f292),[]);if(this[_0x4345af(_0x5e94af._0x297db0)][_0x4345af(0xa1)]===0x0)throw new DriverError(_0x4345af(0xe4),{});this['frameStack']['pop']();}async[_0x426ece(0xec)](_0x55978c,_0x5aa38a){const _0x161371={_0x31a52a:0xec},_0x237f70=_0x426ece;this[_0x237f70(0xb4)](_0x237f70(_0x161371._0x31a52a),[_0x55978c,_0x5aa38a]),this['localStorageState'][_0x55978c]=_0x5aa38a;}async[_0x426ece(0xbe)](_0x46d754){const _0x22f740={_0x4ca0be:0x91},_0x32615f=_0x426ece;return this[_0x32615f(0xb4)]('getLocalStorage',[_0x46d754]),this[_0x32615f(_0x22f740._0x4ca0be)][_0x46d754]??null;}async[_0x426ece(0xbc)](_0x373d94,_0x30858f,_0x1e950e){const _0x4948de={_0x93d5b4:0xbc,_0x590584:0xee},_0x488719=_0x426ece;this['record'](_0x488719(_0x4948de._0x93d5b4),[_0x373d94,_0x30858f,_0x1e950e]),this[_0x488719(_0x4948de._0x590584)][_0x373d94]=_0x30858f;}async['getCookie'](_0x2ead88){const _0x2be80f={_0x3cbcec:0xee},_0x10fc10=_0x426ece;return this[_0x10fc10(0xb4)](_0x10fc10(0x107),[_0x2ead88]),this[_0x10fc10(_0x2be80f._0x3cbcec)][_0x2ead88]??null;}async[_0x426ece(0x100)](_0x277dc9){const _0x1e3188={_0x4bdc4e:0xb4},_0xed3040=_0x426ece;this[_0xed3040(_0x1e3188._0x4bdc4e)](_0xed3040(0x100),[_0x277dc9]);}async[_0x426ece(0xaf)](_0x5ac683){const _0xd02c77={_0x5d94c4:0xaf},_0x475dc1=_0x426ece;return this[_0x475dc1(0xb4)](_0x475dc1(_0xd02c77._0x5d94c4),[_0x5ac683]),void 0x0;}async[_0x426ece(0xc9)](){const _0x2910ae={_0x1b680d:0xb4},_0x596eeb=_0x426ece;this[_0x596eeb(_0x2910ae._0x1b680d)](_0x596eeb(0xc9),[]);}['frameDepth'](){return this['frameStack']['length'];}},FakeWebDriver=class{constructor(_0xfe3a41={}){const _0x59797e={_0x256ebb:0xdf,_0xb7512d:0x101},_0x4e4fa1=_0x426ece;this[_0x4e4fa1(_0x59797e._0x256ebb)]=_0xfe3a41,this[_0x4e4fa1(_0x59797e._0xb7512d)]=createRecorder();}[_0x426ece(0xdf)];static{__name(this,_0x426ece(0x93));}[_0x426ece(0xca)]=![];[_0x426ece(0x101)];[_0x426ece(0xd7)]=[];async[_0x426ece(0xae)](_0x2e35af){const _0x2e483c={_0x535e83:0x101,_0x234b8c:0xae},_0xb0f031=_0x426ece;this[_0xb0f031(_0x2e483c._0x535e83)]['push']({'scope':_0xb0f031(0x9b),'method':_0xb0f031(_0x2e483c._0x234b8c),'args':[_0x2e35af]}),this[_0xb0f031(0xca)]=!![];}async['newContext'](_0x417f12){const _0x3c786f={_0x3d1e54:0x101,_0x317663:0xf4,_0x41f833:0xb2,_0x2cd109:0xdf,_0x4eeb0e:0xf0},_0xe288dc=_0x426ece;this[_0xe288dc(_0x3c786f._0x3d1e54)][_0xe288dc(_0x3c786f._0x317663)]({'scope':'driver','method':_0xe288dc(0xc4),'args':[_0x417f12]});if(!this[_0xe288dc(0xca)])throw new DriverError(_0xe288dc(_0x3c786f._0x41f833),{});const _0x2d7de5=new FakeContext(this[_0xe288dc(0x101)],this[_0xe288dc(_0x3c786f._0x2cd109)],_0xe288dc(_0x3c786f._0x4eeb0e)+this['contexts']['length']);return this[_0xe288dc(0xd7)][_0xe288dc(0xf4)](_0x2d7de5),_0x2d7de5;}async[_0x426ece(0xc9)](){const _0x10e4a8={_0x2f117f:0xf4,_0x4f550d:0xc9,_0x3138c1:0xca},_0x40181a=_0x426ece;this[_0x40181a(0x101)][_0x40181a(_0x10e4a8._0x2f117f)]({'scope':'driver','method':_0x40181a(_0x10e4a8._0x4f550d),'args':[]}),this[_0x40181a(_0x10e4a8._0x3138c1)]=![];}[_0x426ece(0xd1)](){return void 0x0;}async['connectShared'](){const _0x4e1183={_0x9a4466:0xa9},_0x369bb3=_0x426ece;throw new DriverError(_0x369bb3(_0x4e1183._0x9a4466),{});}[_0x426ece(0xba)](_0x47f101){throw new DriverError('attachExisting\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x426ece(0xce)](){const _0xf4bff3={_0x3cf766:0x101,_0x457b47:0xce},_0x8e2315=_0x426ece;return this[_0x8e2315(_0xf4bff3._0x3cf766)][_0x8e2315(_0xf4bff3._0x457b47)]();}[_0x426ece(0xe1)](_0x29a3d6){const _0x237c9e=_0x426ece;return this['recorder'][_0x237c9e(0xce)]()[_0x237c9e(0xc2)](_0x3a94b3=>_0x3a94b3[_0x237c9e(0xcb)]===_0x29a3d6);}};export{FakeWebDriver};
1
+ const _0x3879b8=_0x468b;(function(_0x254a54,_0x3e59dd){const _0x13d403={_0x1603bf:0xd8,_0x4fe80d:0x123,_0x26ad3b:0xd1,_0x2f203f:0xcc},_0x426c47=_0x468b,_0x807b90=_0x254a54();while(!![]){try{const _0x2a3fba=-parseInt(_0x426c47(_0x13d403._0x1603bf))/0x1*(parseInt(_0x426c47(_0x13d403._0x4fe80d))/0x2)+parseInt(_0x426c47(0x11d))/0x3+parseInt(_0x426c47(0xe7))/0x4+-parseInt(_0x426c47(0x111))/0x5*(parseInt(_0x426c47(0xe0))/0x6)+-parseInt(_0x426c47(0xf6))/0x7+-parseInt(_0x426c47(_0x13d403._0x26ad3b))/0x8+-parseInt(_0x426c47(0x117))/0x9*(-parseInt(_0x426c47(_0x13d403._0x2f203f))/0xa);if(_0x2a3fba===_0x3e59dd)break;else _0x807b90['push'](_0x807b90['shift']());}catch(_0x516dbb){_0x807b90['push'](_0x807b90['shift']());}}}(_0x2dcb,0xa9b84));var __defProp=Object['defineProperty'],__name=(_0x470c05,_0x54f5b4)=>__defProp(_0x470c05,_0x3879b8(0x112),{'value':_0x54f5b4,'configurable':!![]});function subscribe(_0x503c1f,_0x449acd){const _0x354147={_0x4c48f1:0xdf},_0x100927=_0x3879b8;return _0x503c1f[_0x100927(0x11f)](_0x449acd),()=>{const _0x3cf3e9=_0x100927;_0x503c1f[_0x3cf3e9(_0x354147._0x4c48f1)](_0x449acd);};}__name(subscribe,_0x3879b8(0xe1));import{UnotestError}from'@unotest/core';function _0x2dcb(){const _0x35c520=['mZi2mdm0me96ENPIBW','z29gB3j3yxjK','ywrK','D2fPDezVCKXVywrtDgf0zq','y2XVC2u','y3jLyxrLuMvJB3jKzxi','nJiYyNHLwwjd','C2nVCgu','y2HLy2S','AxnwAxnPyMXLqNLezwzHDwX0','zwXLBwvUDeHPBNrcEvjLzG','zg91yMXLq2XPy2S','Dw5JAgvJAW','ChjLC3m','D2fPDezVCLrLEhq','zw50zxjgCMfTzq','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','Aw5UzxjuzxH0qNLezwzHDwX0','y29VA2LLCW','C3bSAwnL','Cg9W','Aw5PDgLHBfvYBa','zxjYB3jpBK5LEhrby3rPB24','y2XPCgjVyxjKugfZDgu','Aw5WDxrwywX1zq','iJ48l2rPDJ4','zhjHz0fUzerYB3a','zw1PDezHA2vqB3b1Ca','BMv0D29YA0vUDhjPzxm','A2LUza','Bwf5yMvuAhjVDW','y3vYCMvUDfvYBa','C3rLChm','zMLSBa','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','y291BNq','y2HLy2TLzfn0yxrL','z29cywnR','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zNjHBwvezxb0Aa','CMvJB3jKzxi','ntbzD2H6qLm','zxzHBhvHDgvszxn1Bhq','lNbHz2uW','zNvUy3rPB24','ywn0AxzLswr4','nJyZmta4ofbVsKjIvW','zMfRzsb0AxrSzq','zxzHBhvHDgu','Aw5ZCgvJDevSzw1LBNq','D3nfBMrWB2LUDa','C2nYB2XSsw50B1zPzxC','tg9JyxrVCKvYCM9Y','mZeYn3rMuLDzCG','ywn0AxzLugfNzq','BMv3q29UDgv4Da','y2XPy2S','C2v0qwn0AxzLugfNzq','yMvOyxzPB3i','rMfRzunVBNrLEhq','zgvSzxrL','nLfVENviyq','C3vIC2nYAwjL','y29UDgv4Dhm','z2v0qxr0CMLIDxrL','D2fPDezVCK5HDMLNyxrPB24','AxneAxnHyMXLza','y2XVC2vgywTLugfNzq','mtm1otG5nMDOt1zjuW','Bg9JywXtDg9YywDLu3rHDgu','y29UC29SzuvUDhjPzxm','yxr0CMLIDxrLC0j5rgvMyxvSDa','B25bzNrLCKnSAwnR','zhjPDMvY','rhjPDMvYrxjYB3i','ChvZAa','CgfNzuXPC3q','Aw5UzxjuzxH0','z2v0tg9JywXtDg9YywDL','z290BW','pgrPDJ48l2rPDJ4','DgL0Bgu','Bgf1BMnOzwq','nde4otaXz2DbDMzv','D2fPDezVCG','DxjS','Dgv4DenVBNrLBNq','D2fPDezVCLvYBa','y2fSBhm','zNjVBq','z2v0q29VA2LL','CMvJB3jK','y2HLy2TLzfn0yxrLqNLezwzHDwX0','zxHPDezYyw1L','DhLWzq','CMvM','C2v0q29VA2LL','Bgf1BMnO','Bg9JywXtDg9YywDL','BgvUz3rO','DxbSB2fKrMLSzq','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','C2vSzwn0t3b0Aw9U','zNjHBwvtDgfJAW','C2nYzwvUC2HVDej5DgvZ','y29UBMvJDfnOyxjLza','Dgv4DenVBNrLBNrcEurLzMf1Bhq','CgfNzxm','B3v0zxjive1m','y291BNrcEurLzMf1Bhq','ndG3odu1r2Dcu1PN','BMfTzq','Ag92zxi','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','C2f2zvn0B3jHz2vtDgf0zq','BMv3ugfNzuXPC3rLBMvYCW','mJiWodK4n2jLuvLnDq','y2fSBhngB3i','yxr0ywnOrxHPC3rPBMC','zxzHBhvHDgvpBKXVy2f0B3i','y29VA2LLu3rHDgu','CMvSB2fK'];_0x2dcb=function(){return _0x35c520;};return _0x2dcb();}var DriverError=class extends UnotestError{static{__name(this,_0x3879b8(0xed));}},LocatorError=class extends UnotestError{static{__name(this,_0x3879b8(0xd7));}};function createRecorder(){const _0x6fcfd9=_0x3879b8,_0xdbf75e=[];let _0x4203bf=0x0;return{'push':__name(_0x48556a=>_0xdbf75e[_0x6fcfd9(0xee)]({..._0x48556a,'seq':_0x4203bf++}),_0x6fcfd9(0xee)),'calls':__name(()=>_0xdbf75e,_0x6fcfd9(0xfb))};}__name(createRecorder,_0x3879b8(0x122));var FakePage=class{constructor(_0x1b23b7,_0x250eb6,_0x28c36a,_0x4d72b5){const _0x2274ed={_0x579e17:0xcb,_0x515962:0xdd,_0x5b51b1:0x124},_0x420b19=_0x3879b8;this[_0x420b19(_0x2274ed._0x579e17)]=_0x1b23b7,this[_0x420b19(_0x2274ed._0x515962)]=_0x250eb6,this[_0x420b19(_0x2274ed._0x5b51b1)]=_0x28c36a,this['currentUrl']=_0x4d72b5;}[_0x3879b8(0xcb)];[_0x3879b8(0xdd)];[_0x3879b8(0x124)];static{__name(this,'FakePage');}[_0x3879b8(0x13c)];['onAfterClick'];[_0x3879b8(0xfe)](_0x527529,_0xbb595d){const _0x563e00=_0x3879b8;this['recorder'][_0x563e00(0xee)]({'scope':this[_0x563e00(0x124)],'method':_0x527529,'args':_0xbb595d});}['maybeThrow'](){const _0x1b8488={_0x3d3f9b:0x133},_0x3bf7af=_0x3879b8;if(this[_0x3bf7af(0xdd)][_0x3bf7af(_0x1b8488._0x3d3f9b)]){const _0x4e11fa=this[_0x3bf7af(0xdd)][_0x3bf7af(_0x1b8488._0x3d3f9b)];this[_0x3bf7af(0xdd)][_0x3bf7af(0x133)]=void 0x0;throw _0x4e11fa;}}[_0x3879b8(0xf8)](){const _0x5242e8={_0x204669:0x13c},_0x4c9a70=_0x3879b8;return this[_0x4c9a70(_0x5242e8._0x204669)];}async[_0x3879b8(0xf4)](){const _0x151c47={_0x15a9bc:0xfe},_0x1655ab=_0x3879b8;return this[_0x1655ab(_0x151c47._0x15a9bc)](_0x1655ab(0xf4),[]),_0x1655ab(0xd2);}async[_0x3879b8(0xdb)](_0x3d7122,_0x96e70f){const _0x4fb62f={_0x3edfe9:0xdb,_0x2e6945:0x13b},_0xee06cc=_0x3879b8;this[_0xee06cc(0xfe)](_0xee06cc(_0x4fb62f._0x3edfe9),[_0x3d7122,_0x96e70f]),this[_0xee06cc(_0x4fb62f._0x2e6945)](),this[_0xee06cc(0xeb)]?.();}async[_0x3879b8(0x128)](_0x386256,_0x3bb0a1){const _0x2b31c3={_0x34a024:0xfe},_0x5b3af8=_0x3879b8;this[_0x5b3af8(_0x2b31c3._0x34a024)]('doubleClick',[_0x386256,_0x3bb0a1]),this[_0x5b3af8(0x13b)]();}async[_0x3879b8(0xc4)](_0x2baea6,_0xbe7807,_0x57d3b5){const _0x2513dc=_0x3879b8;this['record']('fill',[_0x2baea6,_0xbe7807,_0x57d3b5]),this[_0x2513dc(0x13b)]();}async[_0x3879b8(0x12a)](_0x387014,_0x55c1c6,_0x15b25c){const _0x3c42ae=_0x3879b8;this['record'](_0x3c42ae(0x12a),[_0x387014,_0x55c1c6,_0x15b25c]),this['maybeThrow']();}async[_0x3879b8(0x125)](_0x2f1609,_0x4ec3f6){const _0xf32eaf=_0x3879b8;this['record']('check',[_0x2f1609,_0x4ec3f6]),this[_0xf32eaf(0x13b)]();}async[_0x3879b8(0x129)](_0xc938ad,_0xe32e30){const _0x381a38={_0x2603ed:0xfe,_0x1e0454:0x129},_0x2844cf=_0x3879b8;this[_0x2844cf(_0x381a38._0x2603ed)](_0x2844cf(_0x381a38._0x1e0454),[_0xc938ad,_0xe32e30]),this['maybeThrow']();}async[_0x3879b8(0x109)](_0x39edda,_0x3457e7,_0x3e7929){const _0x5e0a11={_0x255db7:0x109,_0x303baa:0x13b},_0xea05bd=_0x3879b8;this[_0xea05bd(0xfe)](_0xea05bd(_0x5e0a11._0x255db7),[_0x39edda,_0x3457e7,_0x3e7929]),this[_0xea05bd(_0x5e0a11._0x303baa)]();}async[_0x3879b8(0x113)](_0x2a789e,_0x1c5fcb){const _0x4f931a=_0x3879b8;this[_0x4f931a(0xfe)](_0x4f931a(0x113),[_0x2a789e,_0x1c5fcb]),this[_0x4f931a(0x13b)]();}async[_0x3879b8(0xd6)](_0x35c012){const _0x502085={_0x476502:0xfe,_0x366c87:0xd6},_0x3a96ad=_0x3879b8;this[_0x3a96ad(_0x502085._0x476502)](_0x3a96ad(_0x502085._0x366c87),[_0x35c012]),this[_0x3a96ad(0x13b)]();}async[_0x3879b8(0x137)](_0x48b3e7,_0x146f45,_0x495fbc){const _0x14c7e5={_0x4b65d7:0x137},_0xe32dee=_0x3879b8;this[_0xe32dee(0xfe)](_0xe32dee(_0x14c7e5._0x4b65d7),[_0x48b3e7,_0x146f45,_0x495fbc]),this[_0xe32dee(0x13b)]();}async['uploadFile'](_0xfb1905,_0x12368d){const _0xeff26d={_0x43e41a:0xfe},_0x29366d=_0x3879b8;this[_0x29366d(_0xeff26d._0x43e41a)](_0x29366d(0x107),[_0xfb1905,_0x12368d]),this[_0x29366d(0x13b)]();}async[_0x3879b8(0x134)](_0x57a188,_0x5db08c){const _0x1cddb9={_0x2cfd76:0x13b},_0x5c70da=_0x3879b8;this[_0x5c70da(0xfe)]('clipboardPaste',[_0x57a188,_0x5db08c]),this[_0x5c70da(_0x1cddb9._0x2cfd76)]();}async[_0x3879b8(0xc6)](_0x218b00){const _0x1116d1={_0x3ea081:0xfe},_0x4735ca=_0x3879b8;return this[_0x4735ca(_0x1116d1._0x3ea081)]('count',[_0x218b00]),this['behavior'][_0x4735ca(0x110)]??0x1;}async[_0x3879b8(0xf9)](_0x167691){const _0x3aa626={_0x33b0c3:0xfe},_0x449d62=_0x3879b8;return this[_0x449d62(_0x3aa626._0x33b0c3)](_0x449d62(0xf9),[_0x167691]),this[_0x449d62(0xdd)]['textContentByDefault']??'';}async[_0x3879b8(0xf0)](_0x11a821){const _0x83b4a0={_0xfa43b7:0xfe,_0xc1895e:0x12e},_0x23e291=_0x3879b8;return this[_0x23e291(_0x83b4a0._0xfa43b7)](_0x23e291(0xf0),[_0x11a821]),this['behavior'][_0x23e291(_0x83b4a0._0xc1895e)]??this[_0x23e291(0xdd)][_0x23e291(0x10d)]??'';}async[_0x3879b8(0x135)](_0x4df65f){const _0x187b1f={_0x23abdb:0xfe},_0x7d9396=_0x3879b8;return this[_0x7d9396(_0x187b1f._0x23abdb)]('inputValue',[_0x4df65f]),this[_0x7d9396(0xdd)]['inputValueByDefault']??'';}async[_0x3879b8(0xc7)](_0x532dbc){const _0x380113={_0x4e4941:0xfe,_0x61062b:0xc7,_0x559d21:0xdd},_0x367a10=_0x3879b8;return this[_0x367a10(_0x380113._0x4e4941)](_0x367a10(_0x380113._0x61062b),[_0x532dbc]),this[_0x367a10(_0x380113._0x559d21)][_0x367a10(0xff)]??null;}async['isVisible'](_0x5ecb30){const _0x19ea37={_0x23992d:0xfe},_0x16ca7c=_0x3879b8;return this[_0x16ca7c(_0x19ea37._0x23992d)]('isVisible',[_0x5ecb30]),this[_0x16ca7c(0xdd)][_0x16ca7c(0x126)]??!![];}async[_0x3879b8(0xe5)](_0x4e2e9){const _0x3d6d37={_0x390711:0xe5,_0x4210f5:0xdd},_0x268df8=_0x3879b8;return this[_0x268df8(0xfe)](_0x268df8(_0x3d6d37._0x390711),[_0x4e2e9]),this[_0x268df8(_0x3d6d37._0x4210f5)]['isDisabledByDefault']??![];}async['getAttribute'](_0x1ff261,_0x49aa47){const _0x33db4a={_0x623bd7:0xea},_0x5727af=_0x3879b8;return this[_0x5727af(0xfe)](_0x5727af(0xe3),[_0x1ff261,_0x49aa47]),this[_0x5727af(0xdd)][_0x5727af(_0x33db4a._0x623bd7)]?.[_0x49aa47]??null;}async[_0x3879b8(0xf7)](_0x5389bb,_0x14864c){const _0x3efb45={_0x105cfc:0xfe},_0x55ae29=_0x3879b8;this[_0x55ae29(_0x3efb45._0x105cfc)](_0x55ae29(0xf7),[_0x5389bb,_0x14864c]);}async[_0x3879b8(0xfa)](_0x5291e6,_0x4655bc){const _0xeed7a3=_0x3879b8;this[_0xeed7a3(0xfe)]('waitForUrl',[_0x5291e6,_0x4655bc]);}async[_0x3879b8(0x12b)](_0x53fc8f,_0x21aad6){const _0x456fc0={_0xc6c31a:0x12b},_0x1538df=_0x3879b8;this[_0x1538df(0xfe)](_0x1538df(_0x456fc0._0xc6c31a),[_0x53fc8f,_0x21aad6]);}async[_0x3879b8(0xe4)](_0x2b837d){const _0x2a3061=_0x3879b8;this[_0x2a3061(0xfe)](_0x2a3061(0xe4),[_0x2b837d]);}async['waitForLoadState'](_0x403c0e,_0x2d0bda){const _0x4b6373={_0x15c7ed:0x120},_0x394c03=_0x3879b8;this[_0x394c03(0xfe)](_0x394c03(_0x4b6373._0x15c7ed),[_0x403c0e,_0x2d0bda]);}async[_0x3879b8(0xf2)](_0x1a935a,_0x1ce3f9){const _0x357513=_0x3879b8;this['record'](_0x357513(0xf2),[_0x1a935a,_0x1ce3f9]),this['currentUrl']=_0x1a935a;}async[_0x3879b8(0x11c)](_0x3493e8){this['record']('reload',[_0x3493e8]);}async[_0x3879b8(0xc8)](_0x436ee2){const _0x5d7e23=_0x3879b8;this['record'](_0x5d7e23(0xc8),[_0x436ee2]);}async[_0x3879b8(0x11e)](_0x43ba5d){this['record']('goForward',[_0x43ba5d]);}async['evaluate'](_0x1d5d94){const _0x434760={_0x5f3199:0xdd,_0x295958:0xcd},_0xcb7ed=_0x3879b8;return this[_0xcb7ed(0xfe)](_0xcb7ed(0xd3),[_0x1d5d94]),this[_0xcb7ed(_0x434760._0x5f3199)][_0xcb7ed(_0x434760._0x295958)];}async[_0x3879b8(0x11a)](_0x3ed47e,_0x103119){return this['record']('evaluateOnLocator',[_0x3ed47e,_0x103119]),void 0x0;}async[_0x3879b8(0xd4)](_0x15767c){const _0x4f7453={_0x2ac4c3:0xd4,_0x27cc2d:0x106,_0x4bb97f:0x13a,_0x1e93f5:0x13d,_0x15adc1:0x102,_0x208eba:0xdd},_0x5c04ab=_0x3879b8;this[_0x5c04ab(0xfe)](_0x5c04ab(_0x4f7453._0x2ac4c3),[_0x15767c]);if(_0x15767c[_0x5c04ab(0x13d)][_0x5c04ab(_0x4f7453._0x27cc2d)]!==0x1||_0x15767c[_0x5c04ab(0x13d)][0x0][_0x5c04ab(_0x4f7453._0x4bb97f)]!==_0x5c04ab(0x102))return null;const _0x10f7ba=_0x15767c[_0x5c04ab(_0x4f7453._0x1e93f5)][0x0][_0x5c04ab(_0x4f7453._0x15adc1)],_0x495bf5=this[_0x5c04ab(_0x4f7453._0x208eba)][_0x5c04ab(0x127)]?.[_0x10f7ba];return _0x495bf5??null;}async['screenshot'](_0x4104db){const _0x2ed6ad={_0x1d8faf:0x10b,_0x3aa009:0x101},_0x38e23e=_0x3879b8;return this['record']('screenshot',[_0x4104db]),this[_0x38e23e(_0x2ed6ad._0x1d8faf)](_0x4104db?.[_0x38e23e(_0x2ed6ad._0x3aa009)]);}async['screenshotElement'](_0x10ac48,_0xb9fc){const _0x25d0ea=_0x3879b8;return this['record']('screenshotElement',[_0x10ac48,_0xb9fc]),this[_0x25d0ea(0x10b)](_0xb9fc?.[_0x25d0ea(0x101)]);}['screenshotBytes'](_0x133e0f){const _0x5aefdd={_0x3c56d1:0xdd,_0x40072e:0x10b,_0x869d4d:0xcf},_0x1ca761=_0x3879b8,_0x5ecbed=this[_0x1ca761(_0x5aefdd._0x3c56d1)][_0x1ca761(_0x5aefdd._0x40072e)];if(_0x5ecbed===void 0x0)return Buffer[_0x1ca761(0xfc)]('fake-png');return typeof _0x5ecbed===_0x1ca761(_0x5aefdd._0x869d4d)?_0x5ecbed(_0x133e0f):_0x5ecbed;}async[_0x3879b8(0x10f)](_0x4893dd){const _0x51a060={_0x278fca:0x13d,_0x2bec3d:0x102,_0x2dccff:0xdd,_0x10cd2e:0x12d,_0x2535f2:0xf3},_0x4637af=_0x3879b8;this[_0x4637af(0xfe)](_0x4637af(0x10f),[_0x4893dd]);if(_0x4893dd['steps'][_0x4637af(0x106)]===0x1&&_0x4893dd['steps'][0x0][_0x4637af(0x13a)]===_0x4637af(0x102)){const _0x48b1c5=_0x4893dd[_0x4637af(_0x51a060._0x278fca)][0x0][_0x4637af(_0x51a060._0x2bec3d)];return this[_0x4637af(_0x51a060._0x2dccff)]['outerHtmlByRef']?.[_0x48b1c5]??_0x4637af(_0x51a060._0x10cd2e)+_0x48b1c5+_0x4637af(0x136);}return _0x4637af(_0x51a060._0x2535f2);}},FakeContext=class{constructor(_0x372cb3,_0x289a88,_0x96eb05){const _0x54df83={_0x208782:0xcb,_0x10dbc0:0xce,_0x271698:0xe8,_0x77b2cb:0x105,_0x5b679a:0x12f},_0x39c225=_0x3879b8;this[_0x39c225(_0x54df83._0x208782)]=_0x372cb3,this[_0x39c225(0xdd)]=_0x289a88,this[_0x39c225(0x124)]=_0x96eb05;const _0x14135e=new FakePage(_0x372cb3,_0x289a88,_0x96eb05+_0x39c225(_0x54df83._0x10dbc0),_0x289a88[_0x39c225(0x132)]??'about:blank');_0x289a88['popupOnClick']&&(_0x14135e[_0x39c225(0xeb)]=()=>{const _0x18ce5d=_0x39c225;this[_0x18ce5d(0x138)](_0x289a88['popupOnClick']);}),this['pageList']=[_0x14135e],this[_0x39c225(_0x54df83._0x271698)]={..._0x289a88[_0x39c225(_0x54df83._0x77b2cb)]??{}},this[_0x39c225(0x11b)]={..._0x289a88[_0x39c225(_0x54df83._0x5b679a)]??{}};}[_0x3879b8(0xcb)];[_0x3879b8(0xdd)];[_0x3879b8(0x124)];static{__name(this,_0x3879b8(0xde));}['pageList'];[_0x3879b8(0xd0)]=0x0;['frameStack']=[];[_0x3879b8(0xe8)];[_0x3879b8(0x11b)];[_0x3879b8(0x116)]=new Set();[_0x3879b8(0xfe)](_0x4d157c,_0x31d3f2){const _0xb88ccf={_0x224539:0x124},_0x202398=_0x3879b8;this['recorder'][_0x202398(0xee)]({'scope':this[_0x202398(_0xb88ccf._0x224539)],'method':_0x4d157c,'args':_0x31d3f2});}[_0x3879b8(0x10e)](){return this['pageList'];}[_0x3879b8(0xd9)](){const _0x44b602={_0x20852f:0xd0},_0x36b193=_0x3879b8,_0x3d2be1=this['pageList'][this[_0x36b193(_0x44b602._0x20852f)]];if(!_0x3d2be1)throw new DriverError('no\x20active\x20page\x20in\x20context',{'activeIdx':this[_0x36b193(0xd0)]});return _0x3d2be1;}[_0x3879b8(0xe9)](){const _0x23145c={_0x2daf72:0xe9},_0x53d3ce=_0x3879b8;return this['behavior'][_0x53d3ce(_0x23145c._0x2daf72)]??[];}['networkEntries'](){const _0x49ea1c={_0x4a0070:0xdd},_0x3d7646=_0x3879b8;return this[_0x3d7646(_0x49ea1c._0x4a0070)][_0x3d7646(0x139)]??[];}async[_0x3879b8(0xdc)](_0x17fbb2){const _0x16ed99={_0x1fda01:0xc9,_0xd07b97:0x106},_0x10c32c=_0x3879b8;this['record'](_0x10c32c(0xdc),[_0x17fbb2]);if(_0x17fbb2<0x0||_0x17fbb2>=this[_0x10c32c(0xef)][_0x10c32c(0x106)])throw new DriverError(_0x10c32c(_0x16ed99._0x1fda01),{'index':_0x17fbb2,'available':this['pageList'][_0x10c32c(0x106)]});this[_0x10c32c(0xd0)]=_0x17fbb2,this[_0x10c32c(0x10a)][_0x10c32c(_0x16ed99._0xd07b97)]=0x0;}['onNewPage'](_0x38d7d4){const _0x6ed083=_0x3879b8;return subscribe(this[_0x6ed083(0x116)],_0x38d7d4);}[_0x3879b8(0x138)](_0x32efe4){const _0x4fddc3={_0x53c372:0xef,_0x19e2f5:0xef,_0x500c56:0x106},_0x4f5509=_0x3879b8,_0x38b127=this[_0x4f5509(0x124)]+'.page'+this[_0x4f5509(_0x4fddc3._0x53c372)]['length'],_0x58f422=new FakePage(this[_0x4f5509(0xcb)],this['behavior'],_0x38b127,_0x32efe4);this[_0x4f5509(_0x4fddc3._0x19e2f5)][_0x4f5509(0xee)](_0x58f422);const _0x562842=this['pageList'][_0x4f5509(_0x4fddc3._0x500c56)]-0x1;for(const _0x280aef of this['newPageListeners']){try{_0x280aef({'index':_0x562842,'url':_0x32efe4});}catch{}}return _0x562842;}[_0x3879b8(0xe6)](_0x2d6569){const _0x259973=_0x3879b8;if(_0x2d6569<0x0||_0x2d6569>=this[_0x259973(0xef)][_0x259973(0x106)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x2d6569,'available':this['pageList'][_0x259973(0x106)]});this['pageList'][_0x259973(0x130)](_0x2d6569,0x1);}async[_0x3879b8(0x12c)](_0x3398c9){const _0x4748f0={_0x3c1a7b:0xfe,_0x22b77a:0x10a},_0x518eaf=_0x3879b8;this[_0x518eaf(_0x4748f0._0x3c1a7b)](_0x518eaf(0x12c),[_0x3398c9]);if(!_0x3398c9[_0x518eaf(0x13d)][_0x518eaf(0x106)])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0x3398c9});this[_0x518eaf(_0x4748f0._0x22b77a)]['push'](_0x3398c9);}async[_0x3879b8(0x100)](){const _0x1e93c6={_0x21104e:0x10a,_0x396e05:0xc5},_0x3ce26a=_0x3879b8;this['record'](_0x3ce26a(0x100),[]);if(this[_0x3ce26a(_0x1e93c6._0x21104e)]['length']===0x0)throw new DriverError(_0x3ce26a(_0x1e93c6._0x396e05),{});this[_0x3ce26a(_0x1e93c6._0x21104e)][_0x3ce26a(0x131)]();}async['setLocalStorage'](_0x129779,_0x470186){const _0x1fcf4e=_0x3879b8;this[_0x1fcf4e(0xfe)]('setLocalStorage',[_0x129779,_0x470186]),this['localStorageState'][_0x129779]=_0x470186;}async[_0x3879b8(0xf1)](_0x341736){const _0xcd8f3e={_0x519915:0xf1,_0x19e48e:0xe8},_0x2bbeef=_0x3879b8;return this['record'](_0x2bbeef(_0xcd8f3e._0x519915),[_0x341736]),this[_0x2bbeef(_0xcd8f3e._0x19e48e)][_0x341736]??null;}async[_0x3879b8(0x103)](_0x1ae1f6,_0x60ff82,_0x243a1e){const _0x1df401={_0x378d53:0x11b},_0x40c40d=_0x3879b8;this[_0x40c40d(0xfe)]('setCookie',[_0x1ae1f6,_0x60ff82,_0x243a1e]),this[_0x40c40d(_0x1df401._0x378d53)][_0x1ae1f6]=_0x60ff82;}async['getCookie'](_0x9e75da){const _0x19c76d={_0x1bb677:0x11b},_0x3b5738=_0x3879b8;return this[_0x3b5738(0xfe)](_0x3b5738(0xfd),[_0x9e75da]),this[_0x3b5738(_0x19c76d._0x1bb677)][_0x9e75da]??null;}async['saveStorageState'](_0x5d2598){const _0x1fc818={_0x2a96ff:0xfe,_0x306c10:0x115},_0x2e32fa=_0x3879b8;this[_0x2e32fa(_0x1fc818._0x2a96ff)](_0x2e32fa(_0x1fc818._0x306c10),[_0x5d2598]);}async[_0x3879b8(0xd3)](_0x2d48bf){const _0x295c03={_0x573476:0xfe},_0x45e0db=_0x3879b8;return this[_0x45e0db(_0x295c03._0x573476)](_0x45e0db(0xd3),[_0x2d48bf]),void 0x0;}async[_0x3879b8(0x121)](){const _0x148094=_0x3879b8;this['record'](_0x148094(0x121),[]);}[_0x3879b8(0xca)](){const _0x3a16e6={_0x5b5b75:0x10a,_0x5d78df:0x106},_0x342c79=_0x3879b8;return this[_0x342c79(_0x3a16e6._0x5b5b75)][_0x342c79(_0x3a16e6._0x5d78df)];}},FakeWebDriver=class{constructor(_0x219006={}){const _0x48bbe7={_0x264501:0xdd},_0x524c8e=_0x3879b8;this[_0x524c8e(_0x48bbe7._0x264501)]=_0x219006,this[_0x524c8e(0xcb)]=createRecorder();}['behavior'];static{__name(this,'FakeWebDriver');}[_0x3879b8(0xf5)]=![];[_0x3879b8(0xcb)];[_0x3879b8(0xe2)]=[];async[_0x3879b8(0x104)](_0x4fabfc){const _0x2e1e7e={_0x4b6d7a:0xcb,_0x4d6103:0xf5},_0x58a70d=_0x3879b8;this[_0x58a70d(_0x2e1e7e._0x4b6d7a)]['push']({'scope':_0x58a70d(0xec),'method':'launch','args':[_0x4fabfc]}),this[_0x58a70d(_0x2e1e7e._0x4d6103)]=!![];}async[_0x3879b8(0xda)](_0x3b0d13){const _0x3592c8={_0x14dfa2:0xee,_0x24a2f0:0xec,_0x478835:0xda,_0x30bb23:0xf5,_0xad438a:0xe2},_0xa8c2c5=_0x3879b8;this[_0xa8c2c5(0xcb)][_0xa8c2c5(_0x3592c8._0x14dfa2)]({'scope':_0xa8c2c5(_0x3592c8._0x24a2f0),'method':_0xa8c2c5(_0x3592c8._0x478835),'args':[_0x3b0d13]});if(!this[_0xa8c2c5(_0x3592c8._0x30bb23)])throw new DriverError('newContext\x20called\x20before\x20launch()',{});const _0x434773=new FakeContext(this['recorder'],this['behavior'],'ctx'+this[_0xa8c2c5(_0x3592c8._0xad438a)]['length']);return this[_0xa8c2c5(0xe2)][_0xa8c2c5(_0x3592c8._0x14dfa2)](_0x434773),_0x434773;}async[_0x3879b8(0x121)](){const _0x55a0fd={_0x509cb6:0xcb},_0x51fc73=_0x3879b8;this[_0x51fc73(_0x55a0fd._0x509cb6)]['push']({'scope':_0x51fc73(0xec),'method':'close','args':[]}),this[_0x51fc73(0xf5)]=![];}[_0x3879b8(0xd5)](){return void 0x0;}async[_0x3879b8(0x10c)](){const _0x28a43a=_0x3879b8;throw new DriverError(_0x28a43a(0x108),{});}[_0x3879b8(0x119)](_0x20ed37){const _0x3e39e0=_0x3879b8;throw new DriverError(_0x3e39e0(0x114),{});}['calls'](){const _0x132e4c={_0x194b37:0xfb},_0xb70338=_0x3879b8;return this['recorder'][_0xb70338(_0x132e4c._0x194b37)]();}[_0x3879b8(0x118)](_0x2392fa){const _0x481fe8=_0x3879b8;return this[_0x481fe8(0xcb)]['calls']()['filter'](_0x1e2296=>_0x1e2296['method']===_0x2392fa);}};function _0x468b(_0x2b74ac,_0x272847){_0x2b74ac=_0x2b74ac-0xc4;const _0x2dcbe8=_0x2dcb();let _0x468b0a=_0x2dcbe8[_0x2b74ac];if(_0x468b['zhHbtd']===undefined){var _0x441319=function(_0x4a0891){const _0x2dad06='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x470c05='',_0x54f5b4='';for(let _0x503c1f=0x0,_0x449acd,_0xdbf75e,_0x4203bf=0x0;_0xdbf75e=_0x4a0891['charAt'](_0x4203bf++);~_0xdbf75e&&(_0x449acd=_0x503c1f%0x4?_0x449acd*0x40+_0xdbf75e:_0xdbf75e,_0x503c1f++%0x4)?_0x470c05+=String['fromCharCode'](0xff&_0x449acd>>(-0x2*_0x503c1f&0x6)):0x0){_0xdbf75e=_0x2dad06['indexOf'](_0xdbf75e);}for(let _0x48556a=0x0,_0x1b23b7=_0x470c05['length'];_0x48556a<_0x1b23b7;_0x48556a++){_0x54f5b4+='%'+('00'+_0x470c05['charCodeAt'](_0x48556a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x54f5b4);};_0x468b['DUdWsN']=_0x441319,_0x468b['wHpOaJ']={},_0x468b['zhHbtd']=!![];}const _0x56f02c=_0x2dcbe8[0x0],_0x403763=_0x2b74ac+_0x56f02c,_0x5bbc1c=_0x468b['wHpOaJ'][_0x403763];return!_0x5bbc1c?(_0x468b0a=_0x468b['DUdWsN'](_0x468b0a),_0x468b['wHpOaJ'][_0x403763]=_0x468b0a):_0x468b0a=_0x5bbc1c,_0x468b0a;}export{FakeWebDriver};