@unotest/web 0.37.0 → 0.39.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,170 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.39.0] - 2026-09-18
4
+
5
+ ### Minor Changes
6
+
7
+ - 6778b6a: `picker on|off`: connect a project to the account's Picker, with no box
8
+
9
+ An account can have the Picker on without renting a box. `npx @unotest/web
10
+ picker on` fetches this project's own access and writes the three grounder
11
+ keys — mode and address into `unotest/.env`, the token into
12
+ `unotest/.secrets`, with `.gitignore` guarded — so an agent grounds intent
13
+ locators remotely from the next restart. `picker off` gives that access back
14
+ and clears the three keys, but only when they name the account's grounder: a
15
+ project pointing at a grounder of its own keeps it and is told so.
16
+
17
+ The command states the account's monthly ceiling before anything is spent.
18
+ There is no hourly charge for a Picker without a box, so the ceiling is the
19
+ price; the figure comes from the service, which takes it from the grounder
20
+ that enforces it. A service that has no figure yet says so rather than
21
+ leaving the silence to read as "no limit".
22
+
23
+ `picker off` leaves the Picker ON for the account — the switch that turns it
24
+ off for everything, and stops it counting against your monthly ceiling, is in
25
+ the cabinet. A box's own Picker is unchanged and stays
26
+ `box picker on|off [name]`.
27
+
28
+ ### Patch Changes
29
+
30
+ - d94f6c6: Switching the Picker off takes back the access it granted
31
+
32
+ Until now switching off changed what happens next: no further token was
33
+ issued. The token already on a machine kept working until its thirty days
34
+ ran out — so a button that said "off" left access on, and the spend it
35
+ allows was ours to pay.
36
+
37
+ Each issued grant is now remembered by its id, and switching off hands those
38
+ ids back: one grant when a project runs `picker off`, every grant of the
39
+ account when it is switched off in the cabinet. A project giving back its own
40
+ grant leaves the other machines of the same account working.
41
+
42
+ Access stops within the time it takes the list of withdrawn grants to reach
43
+ the grounder, not instantly — the commands say so, and the interval comes
44
+ from the service's own configuration. Giving back a grant that has already
45
+ been taken back, or one whose term has run out, is a success that says
46
+ nothing happened rather than an error.
47
+
48
+ - 1d26cd8: The Picker can be switched on for an account that rents no box
49
+
50
+ Until now the Picker was a property of a box: a flag on the box row, a
51
+ surcharge counted per box, a token naming the box it was minted for. An
52
+ account without a box had nowhere for any of that to live, so there was
53
+ nothing to switch on and nothing to check before handing a token out.
54
+
55
+ An account now has a Picker state of its own — on, off, or never switched —
56
+ and a token is issued against it. The token names the account and nothing
57
+ else, so what it spends is counted under the customer who asked for it, and
58
+ it is refused before it is signed when the Picker is off, when this service
59
+ has no grounder to send anyone to, or when the account has already spent its
60
+ month.
61
+
62
+ There is no hourly rate for the Picker without a box. What bounds the spend
63
+ is the monthly ceiling, and a token lasts thirty days.
64
+
65
+ - e358376: The screen on a box with no suite names the access step before the push
66
+
67
+ That screen named one command:
68
+
69
+ npx @unotest/web bundle push --run --env ENVIRONMENT
70
+
71
+ In a project that has just been created, the command refuses with `no box
72
+ address` before it does anything: the project holds neither the box's address
73
+ nor its tokens until it is given them. A reader who followed the screen from a
74
+ fresh project met that refusal instead of a run.
75
+
76
+ The screen now names both steps, in the order they have to happen:
77
+
78
+ npx @unotest/web box access larch
79
+ npx @unotest/web bundle push --run --env ENVIRONMENT
80
+
81
+ The box's own name is filled in when its licence carries one. `box access`
82
+ with no name refuses, and its refusal offers to create a box — to somebody who
83
+ is reading this screen on the box they already own. Where the name is not
84
+ known, the screen prints a placeholder and says that the name is the first part
85
+ of the address in the browser's address bar.
86
+
87
+ - d84db55: Every time the cabinet prints now says which zone it is in
88
+
89
+ A box card read "Paid until 2026-09-17 23:39". Seen in the first hour of the
90
+ 18th, from a zone ahead of UTC, that says the paid hour ran out yesterday. It
91
+ had not: the row is UTC and the reader is not, and the page said nothing about
92
+ which. The ledger table did name UTC — in a column heading — so the two
93
+ screens disagreed about whether an instant needs its zone, and every instant
94
+ printed outside a table had none.
95
+
96
+ The zone is now part of the instant itself, written once where both of the
97
+ cabinet's time formats take it from, so a screen added tomorrow cannot forget
98
+ it. The ledger's heading no longer repeats it.
99
+
100
+ What it does not do: guess the reader's zone. The pages carry no script and
101
+ this service has no setting to read, so naming the zone we print in is the
102
+ honest answer rather than showing a local time nobody asked us to compute.
103
+
104
+ - 10204ee: Revoking a key no longer promises that the machine stops at once
105
+
106
+ The cabinet said that revoking a machine's key means "that machine stops
107
+ working immediately". It does not. Revoking marks the key as revoked, and the
108
+ box access token pairs that machine already holds keep opening the box's doors
109
+ until they expire — up to thirty days. Somebody whose laptop was lost read
110
+ "immediately" and considered the matter closed, which is the larger harm.
111
+
112
+ The machines table and the revoke confirmation now say what actually happens:
113
+ the machine gets no new tokens with that key, it cannot sign in again and
114
+ cannot mint a fresh box access pair, and the pairs it already holds keep
115
+ working until they expire. What ends that access sooner is named as a fact
116
+ rather than offered as a step — destroying a box withdraws its pairs, and a
117
+ repeat `box access` replaces a pair only from a machine with the same host
118
+ name, which is rarely something the owner of a lost laptop can do.
119
+
120
+ Reissuing the CI key does stop that key immediately, and that half of the
121
+ hint stays; it now adds that box access pairs already minted with the key
122
+ outlive it.
123
+
124
+ Revoking those pairs along with the key is a separate change, still to come.
125
+
126
+ - @unotest/viewer@0.39.0
127
+ - @unotest/core@0.39.0
128
+ - @unotest/dsl@0.39.0
129
+ - @unotest/grounder-client@0.39.0
130
+ - @unotest/protocol@0.39.0
131
+
132
+ ## [0.38.0] - 2026-09-17
133
+
134
+ - **Signing in to a box explains itself.** The box's first page now says
135
+ **Sign in to this box** and tells you where the user name and password
136
+ are: on the box's card in your dashboard, as Login and Password.
137
+ Someone who did not rent the box is told to ask whoever runs it. When a
138
+ box offers several ways in, the identity provider comes first and the
139
+ local account's button reads **Box account**.
140
+
141
+ - **A new box says what is missing.** A freshly rented box no longer
142
+ reports "No environment is being served yet". It explains that a box
143
+ serves an environment once a bundle has been pushed to it, and gives
144
+ the one command that does it:
145
+
146
+ npx @unotest/web bundle push --run --env ENVIRONMENT
147
+
148
+ `--env` takes the environment's own name, `prod` rather than
149
+ `project/prod`. The command fits the card and can be read and copied
150
+ whole. The empty environment list and the button that could not be
151
+ pressed are gone.
152
+
153
+ - **Renting a box asks for an address and what runs on it.** A row is one
154
+ **address** and the **environments** on it, added as tags. There is no
155
+ project field: the project is the box's own name, so a box called
156
+ `acme` gets `acme/prod` and `acme/dev`. Refusals name the field inside
157
+ its row and say what to do, such as "Add https:// to the address". A
158
+ row with only half of what it needs counts as unfinished, not wrong.
159
+
160
+ ### Patch Changes
161
+
162
+ - @unotest/core@0.38.0
163
+ - @unotest/dsl@0.38.0
164
+ - @unotest/grounder-client@0.38.0
165
+ - @unotest/protocol@0.38.0
166
+ - @unotest/viewer@0.38.0
167
+
3
168
  ## [0.37.0] - 2026-09-17
4
169
 
5
170
  ### Minor Changes
package/README.md CHANGED
@@ -179,6 +179,20 @@ Picker is on — which models the cloud grounds with: `Our GPU` or
179
179
  `UNOTEST_GROUNDER_MODE`; a cloud that has not heard from its grounder
180
180
  prints nothing rather than a guess.
181
181
 
182
+ **Without a box.** An account can have the Picker on with no box rented
183
+ at all; the switch and the price for that live in the cabinet, and
184
+ `picker on` connects THIS project to it — it fetches the project's own
185
+ access and writes the same three keys, keeping the token out of the
186
+ repository. It says the account's monthly ceiling before anything is
187
+ spent: there is no hourly charge for a Picker without a box, so the
188
+ ceiling is the price. The figure comes from the service, which takes it
189
+ from the grounder that enforces it — and when the grounder has not
190
+ reported one, the command says that instead of guessing. `picker off` disconnects this project and clears the three
191
+ keys — leaving the Picker **on for the account**, because the switch
192
+ that turns it off for everything, and stops it counting against your
193
+ monthly ceiling, is the cabinet's. A box's own Picker stays
194
+ `box picker`.
195
+
182
196
  An agent can drive all of it without a terminal: no prompt is shown
183
197
  without a TTY, and the exit codes say what happened — 75 the payment was
184
198
  not confirmed in time, 76 the terms of service need accepting (a person
@@ -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
+ var _0x2a0b84=_0x37c1;(function(_0x32f6d3,_0x7140bf){var _0x293aab={_0x40fa2e:0x191,_0x3b735d:0x18d,_0x38d4be:0x1a5,_0x2838eb:0x196},_0x4113b6=_0x37c1,_0x323301=_0x32f6d3();while(!![]){try{var _0x2290cd=-parseInt(_0x4113b6(_0x293aab._0x40fa2e))/0x1+parseInt(_0x4113b6(0x1ae))/0x2*(parseInt(_0x4113b6(0x1a3))/0x3)+-parseInt(_0x4113b6(0x1a6))/0x4+parseInt(_0x4113b6(_0x293aab._0x3b735d))/0x5*(-parseInt(_0x4113b6(0x18c))/0x6)+parseInt(_0x4113b6(_0x293aab._0x38d4be))/0x7*(-parseInt(_0x4113b6(_0x293aab._0x2838eb))/0x8)+parseInt(_0x4113b6(0x1af))/0x9+parseInt(_0x4113b6(0x1b0))/0xa;if(_0x2290cd===_0x7140bf)break;else _0x323301['push'](_0x323301['shift']());}catch(_0x4d5909){_0x323301['push'](_0x323301['shift']());}}}(_0x63f2,0xe3903));function _0x37c1(_0x11e61a,_0x5d3f5f){_0x11e61a=_0x11e61a-0x185;var _0x63f2e0=_0x63f2();var _0x37c14d=_0x63f2e0[_0x11e61a];if(_0x37c1['TpWBSF']===undefined){var _0x4a85ac=function(_0x5bd02e){var _0x16d92b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x582c4c='',_0x4560bf='';for(var _0x365384=0x0,_0x17071f,_0x1bd753,_0x1851d1=0x0;_0x1bd753=_0x5bd02e['charAt'](_0x1851d1++);~_0x1bd753&&(_0x17071f=_0x365384%0x4?_0x17071f*0x40+_0x1bd753:_0x1bd753,_0x365384++%0x4)?_0x582c4c+=String['fromCharCode'](0xff&_0x17071f>>(-0x2*_0x365384&0x6)):0x0){_0x1bd753=_0x16d92b['indexOf'](_0x1bd753);}for(var _0x351d2c=0x0,_0xec8297=_0x582c4c['length'];_0x351d2c<_0xec8297;_0x351d2c++){_0x4560bf+='%'+('00'+_0x582c4c['charCodeAt'](_0x351d2c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4560bf);};_0x37c1['tvjJud']=_0x4a85ac,_0x37c1['TvUqkr']={},_0x37c1['TpWBSF']=!![];}var _0x16a6d5=_0x63f2e0[0x0],_0x5c2378=_0x11e61a+_0x16a6d5,_0x3a1ec8=_0x37c1['TvUqkr'][_0x5c2378];return!_0x3a1ec8?(_0x37c14d=_0x37c1['tvjJud'](_0x37c14d),_0x37c1['TvUqkr'][_0x5c2378]=_0x37c14d):_0x37c14d=_0x3a1ec8,_0x37c14d;}function _0x63f2(){var _0x2d6173=['DMfSAwrHDg9YoMfYzY1RAw5K','BNvTyMvY','DMfSAwrHDg9YoMzVCI1ZAgfWzq','mZi3tK9KD09y','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','mZC2mJi5ChDyvLnn','mZG1nJGYofv3BwPuBa','BgL0zxjHBa','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','y2HYB21LlwjLDge','DxjS','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','BgLUDdPYzwDLEc1PBNzHBgLK','zw51Bq','ndC2mKDXuvPZsG','mtKWote3ovvqEMPOAq','ndGWotm5mdbJBenhAMy','DMfSAwrHDg9YoMfYAxr5','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','DMfSAwrHDg9YoNzHCI1ZAgfWzq','B3b0Aw9UywW','y2HYB21PDw0','B2jQzwn0','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','BwfUDwfS','yM9VBgvHBG','BxnLzgDL','zgvMyxvSDa','ywnJzxb0','C3rKAw8','B2zM','C3rYAw5N','Aw50','BgLUDdPNB3rVlwnVBMnHDa','Bwf4','CMvJB3jK','y3jHC2G','zxjYB3i','Cg9ZAxrPDMu','BgLUDdPKzwvWlwnZCW','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','mJrZyuHIyve','otCWmde1qMnxweTM','Dw5PB24','lNvUB3rLC3qVzMfPBhvYzxm','yxjYyxK','mty5ntaZm3jftMPqvG','BwLU','BgLUDdPWyxvZzs1LEhbSAwnPDa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','mtm2vxvjtvLQ','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','zgLZBwLZCW','BgLUDdPTDxn0ywnOzs1PBI1KC2W','D2fYBG','Dw5VDgvZDc9LmMu','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','zMLYzwzVEa','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','BNvSBa'];_0x63f2=function(){return _0x2d6173;};return _0x63f2();}import{z}from'zod';var BrowserSchema=z['enum'](['chromium',_0x2a0b84(0x19d),'webkit']),BrowserChannelSchema=z[_0x2a0b84(0x18e)]([z[_0x2a0b84(0x1a7)]('chrome'),z[_0x2a0b84(0x1a7)](_0x2a0b84(0x1ba)),z[_0x2a0b84(0x1a7)](_0x2a0b84(0x1a9)),z[_0x2a0b84(0x19f)]()])[_0x2a0b84(0x1b4)](),ViewportSchema=z[_0x2a0b84(0x1b6)]({'width':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()[_0x2a0b84(0x187)](),'height':z['number']()[_0x2a0b84(0x1c0)]()[_0x2a0b84(0x187)]()}),RetryReasonSchema=z[_0x2a0b84(0x1ad)](['transient','network',_0x2a0b84(0x185)]),RetryConfigSchema=z[_0x2a0b84(0x1b6)]({'count':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()[_0x2a0b84(0x192)](0x0)[_0x2a0b84(0x1c2)](0xa),'on':z[_0x2a0b84(0x190)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x2a0b84(0x1b6)]({'tier1':z[_0x2a0b84(0x1a7)](!![])[_0x2a0b84(0x1bb)](!![]),'tier2':z[_0x2a0b84(0x1b9)](),'tier3':z[_0x2a0b84(0x1b6)]({'network':z[_0x2a0b84(0x1b9)](),'video':z[_0x2a0b84(0x1b9)]()}),'retention':z['object']({'runs':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()[_0x2a0b84(0x187)](),'days':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()[_0x2a0b84(0x187)]()}),'storageDir':z['string']()[_0x2a0b84(0x192)](0x1)}),DialogPolicySchema=z['enum']([_0x2a0b84(0x1bc),_0x2a0b84(0x198),_0x2a0b84(0x1b8)]),LinterRuleIdSchema=z[_0x2a0b84(0x1ad)]([_0x2a0b84(0x188),'lint:xpath',_0x2a0b84(0x18b),_0x2a0b84(0x193),_0x2a0b84(0x1a8),_0x2a0b84(0x195),'lint:scenario-in-root',_0x2a0b84(0x199),_0x2a0b84(0x1c1),_0x2a0b84(0x1ac),'lint:echo-assert',_0x2a0b84(0x1a4),_0x2a0b84(0x1b2),_0x2a0b84(0x1b7),'lint:legacy-layout',_0x2a0b84(0x19c),'lint:one-test-per-file','validator:unknown-function',_0x2a0b84(0x1b1),_0x2a0b84(0x1a0),'validator:step-coverage','validator:step-shape','validator:meta-shape',_0x2a0b84(0x19e),_0x2a0b84(0x1a2),'validator:if-shape',_0x2a0b84(0x1b3),_0x2a0b84(0x194),_0x2a0b84(0x189),_0x2a0b84(0x1ab),'validator:semantic-loss','validator:list-arg',_0x2a0b84(0x197)]),LinterSeveritySchema=z[_0x2a0b84(0x1ad)](['off','warn',_0x2a0b84(0x186)]),LinterConfigSchema=z[_0x2a0b84(0x1b6)]({'enabled':z[_0x2a0b84(0x1b9)](),'rules':z[_0x2a0b84(0x1c3)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z[_0x2a0b84(0x1b6)]({'enabled':z[_0x2a0b84(0x1b9)]()['default'](!![]),'concurrency':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()['positive']()[_0x2a0b84(0x1bb)](0x1)}),ScheduleSchema=z[_0x2a0b84(0x1b6)]({'collection':z[_0x2a0b84(0x1bf)]()['min'](0x1),'cron':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x192)](0x1),'env':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x192)](0x1)[_0x2a0b84(0x1b4)](),'prepare':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x192)](0x1)[_0x2a0b84(0x1b4)]()}),McpConfigSchema=z[_0x2a0b84(0x1b6)]({'transport':z['literal'](_0x2a0b84(0x1bd))}),SandboxConfigSchema=z[_0x2a0b84(0x1b6)]({'shellCwd':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x1b4)](),'shellTimeoutMs':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()[_0x2a0b84(0x187)]()[_0x2a0b84(0x1b4)](),'exportSecrets':z[_0x2a0b84(0x190)](z['string']())[_0x2a0b84(0x1b4)](),'database':z['string']()[_0x2a0b84(0x1b4)](),'apiBaseUrl':z[_0x2a0b84(0x1bf)]()['url']()[_0x2a0b84(0x1b4)](),'uploadDir':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x1b4)]()}),WebServerConfigSchema=z[_0x2a0b84(0x1b6)]({'command':z['string']()[_0x2a0b84(0x192)](0x1),'url':z['string']()[_0x2a0b84(0x1aa)](),'reuseExistingServer':z[_0x2a0b84(0x1b9)]()[_0x2a0b84(0x1bb)](!![]),'timeoutMs':z[_0x2a0b84(0x1a1)]()['int']()['positive']()['default'](0xea60)}),UnotestConfigSchema=z[_0x2a0b84(0x1b6)]({'baseUrl':z['string']()[_0x2a0b84(0x1aa)]()[_0x2a0b84(0x1b4)](),'webServer':WebServerConfigSchema[_0x2a0b84(0x1b4)](),'browsers':z[_0x2a0b84(0x190)](BrowserSchema)[_0x2a0b84(0x192)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x1b4)](),'testDir':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x192)](0x1),'helpersDir':z['string']()[_0x2a0b84(0x192)](0x1),'defaultTimeoutMs':z[_0x2a0b84(0x1a1)]()['int']()['positive'](),'defaultNavigationTimeoutMs':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()['positive'](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z['array'](ScheduleSchema)[_0x2a0b84(0x1bb)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x2a0b84(0x1b5)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':['transient']},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x2a0b84(0x18f)},'dialogPolicy':'accept','testDir':_0x2a0b84(0x19b),'helpersDir':_0x2a0b84(0x18a),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x2a0b84(0x19a),'lint:xpath':'warn','lint:obfuscated-class':'warn','lint:pause-explicit':'warn','lint:disambig-by-index':_0x2a0b84(0x1be),'lint:evaluate-discouraged':'warn','lint:scenario-in-root':_0x2a0b84(0x186),'lint:mustache-in-dsl':_0x2a0b84(0x186),'lint:goto-concat':_0x2a0b84(0x19a),'lint:regex-invalid':'error','lint:echo-assert':_0x2a0b84(0x19a),'lint:lint-ok-missing-reason':_0x2a0b84(0x19a),'lint:flow-returns-value':'warn','lint:legacy-layout':_0x2a0b84(0x19a),'lint:external-variable-undeclared':_0x2a0b84(0x186),'lint:one-test-per-file':_0x2a0b84(0x19a),'validator:unknown-function':_0x2a0b84(0x186)}},'mcp':{'transport':_0x2a0b84(0x1bd)},'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 _0x24a982=_0xc432;(function(_0x7b777d,_0x35d134){const _0x59b01d={_0x9bd63c:0x14a,_0x515e6a:0x151},_0x1ccaf6=_0xc432,_0x52a5cc=_0x7b777d();while(!![]){try{const _0x20caf5=-parseInt(_0x1ccaf6(0x1bb))/0x1*(-parseInt(_0x1ccaf6(0x1c2))/0x2)+parseInt(_0x1ccaf6(0x17c))/0x3+-parseInt(_0x1ccaf6(0x16f))/0x4+-parseInt(_0x1ccaf6(0x18c))/0x5+-parseInt(_0x1ccaf6(0x199))/0x6*(parseInt(_0x1ccaf6(_0x59b01d._0x9bd63c))/0x7)+-parseInt(_0x1ccaf6(0x183))/0x8+parseInt(_0x1ccaf6(_0x59b01d._0x515e6a))/0x9;if(_0x20caf5===_0x35d134)break;else _0x52a5cc['push'](_0x52a5cc['shift']());}catch(_0x4a0298){_0x52a5cc['push'](_0x52a5cc['shift']());}}}(_0x1334,0xe892c));function _0x1334(){const _0x41c416=['zNjHBwvtDgfJAW','C2nYB2XSsw50B1zPzxC','zxzHBhvHDgvszxn1Bhq','zw50zxjgCMfTzq','CMvJB3jK','CMvJB3jKzxi','zgvMAw5LuhjVCgvYDhK','z2v0tg9JywXtDg9YywDL','Bgf1BMnO','mZeYotmZmNfqtNPmuG','Bgf1BMnOzwq','y2HLy2TLzfn0yxrLqNLezwzHDwX0','zMLSBa','zNvUy3rPB24','C2nYzwvUC2HVDevSzw1LBNq','rMfRzvDLyKrYAxzLCG','rMfRzvbHz2u','zxHPDezYyw1L','ywrK','C2v0tg9JywXtDg9YywDL','zxzHBhvHDgu','lNbHz2u','ntCXmde2mvznsxLqvG','AxneAxnHyMXLza','y2HLy2S','D2fPDezVCLrLEhq','BMv0D29YA0vUDhjPzxm','AxneAxnHyMXLzej5rgvMyxvSDa','Aw5ZCgvJDevSzw1LBNq','mtq4ndG1mJbsyunYveC','C2nYzwvUC2HVDej5DgvZ','DhLWzq','z2v0q29VA2LL','y29UBMvJDfnOyxjLza','Aw5PDgLHBfvYBa','D2fPDezVCK5HDMLNyxrPB24','BMv3ugfNzuXPC3rLBMvYCW','ywn0AxzLugfNzq','oduWnZiWme5iufDJtW','y291BNq','ywjVDxq6yMXHBMS','y3r4','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','zhjHz0fUzerYB3a','C2f2zvn0B3jHz2vtDgf0zq','C3rLChm','DxbSB2fKrMLSzq','Aw5WDxrwywX1zq','y2fSBhm','zNjHBwvezxb0Aa','y2XPy2S','odq2ELL3D1fe','D3nfBMrWB2LUDa','y2fSBhngB3i','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','D2fPDezVCKXVywrtDgf0zq','zMfRzsb0AxrSzq','C2nYzwvUC2HVDa','y2HLy2TLzfn0yxrL','y291BNrcEurLzMf1Bhq','y2XVC2u','ChvZAa','Aw5UzxjuzxH0','B3v0zxjive1m','zhjPDMvY','C3vIC2nYAwjL','Aw5UzxjuzxH0qNLezwzHDwX0','zMfRzs1WBMC','B25bzNrLCKnSAwnR','C2v0qwn0AxzLugfNzq','A2LUza','AxnwAxnPyMXL','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','D2fPDezVCG','D2fPDezVCLvYBa','Ag92zxi','ChjLC3m','CgfNzuXPC3q','Bwv0Ag9K','yMvOyxzPB3i','Dgv4DenVBNrLBNrcEurLzMf1Bhq','zg91yMXLq2XPy2S','DgL0Bgu','zxjYB3jpBK5LEhrby3rPB24','Cg9W','mtC2nZy3DxjbwNvf','zw1PDezHA2vqB3b1Ca','Bg9JywXtDg9YywDLu3rHDgu','Bwf5yMvuAhjVDW','y3vYCMvUDfvYBa','CMvM','y29UDgv4Dhm','mLHPuvbxyW','C2v0q29VA2LL','Dgv4DenVBNrLBNq','C3bSAwnL','Aw5WDxrwywX1zuj5rgvMyxvSDa','ntGZnJzmwuLtCee','y2XPCgjVyxjKugfZDgu','zMLSDgvY','rMfRzunVBNrLEhq','B3v0zxjiDg1SqNLszwy','z290BW','y29VA2LLu3rHDgu','mZK0ote2ntHADfPSDfC','zNjVBq','y29UC29SzuvUDhjPzxm','Dw5JAgvJAW','z29gB3j3yxjK','z29cywnR','Cg9WDxbpBKnSAwnR','rhjPDMvYrxjYB3i','DxjS','C2vSzwn0t3b0Aw9U','zxzHBhvHDgvpBKXVy2f0B3i','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','Bg9JywXtDg9YywDL','y2XVC2vgywTLugfNzq','C2nVCgu','BgvUz3rO','zwXLBwvUDeHPBNrcEvjLzG','ywn0AxzLswr4','z2v0qxr0CMLIDxrL'];_0x1334=function(){return _0x41c416;};return _0x1334();}var __defProp=Object[_0x24a982(0x16c)],__name=(_0x39240e,_0x498f04)=>__defProp(_0x39240e,'name',{'value':_0x498f04,'configurable':!![]});function subscribe(_0x30f603,_0x3dd18c){const _0x2836eb=_0x24a982;return _0x30f603[_0x2836eb(0x178)](_0x3dd18c),()=>{_0x30f603['delete'](_0x3dd18c);};}__name(subscribe,_0x24a982(0x1a7));function _0xc432(_0x53576f,_0xb3bcd0){_0x53576f=_0x53576f-0x149;const _0x133430=_0x1334();let _0xc43252=_0x133430[_0x53576f];if(_0xc432['lXXZTs']===undefined){var _0x1d4bf1=function(_0x575c05){const _0x1638c2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x39240e='',_0x498f04='';for(let _0x30f603=0x0,_0x3dd18c,_0xe14095,_0x46ed98=0x0;_0xe14095=_0x575c05['charAt'](_0x46ed98++);~_0xe14095&&(_0x3dd18c=_0x30f603%0x4?_0x3dd18c*0x40+_0xe14095:_0xe14095,_0x30f603++%0x4)?_0x39240e+=String['fromCharCode'](0xff&_0x3dd18c>>(-0x2*_0x30f603&0x6)):0x0){_0xe14095=_0x1638c2['indexOf'](_0xe14095);}for(let _0x1361f2=0x0,_0xa5358c=_0x39240e['length'];_0x1361f2<_0xa5358c;_0x1361f2++){_0x498f04+='%'+('00'+_0x39240e['charCodeAt'](_0x1361f2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x498f04);};_0xc432['FyQQXu']=_0x1d4bf1,_0xc432['lCgLgp']={},_0xc432['lXXZTs']=!![];}const _0x1b59cf=_0x133430[0x0],_0x2b10f3=_0x53576f+_0x1b59cf,_0x5c5a2e=_0xc432['lCgLgp'][_0x2b10f3];return!_0x5c5a2e?(_0xc43252=_0xc432['FyQQXu'](_0xc43252),_0xc432['lCgLgp'][_0x2b10f3]=_0xc43252):_0xc43252=_0x5c5a2e,_0xc43252;}import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x24a982(0x158));}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function createRecorder(){const _0x171022={_0x326458:0x1a3,_0x52a0f7:0x196},_0x21165c=_0x24a982,_0xe14095=[];let _0x46ed98=0x0;return{'push':__name(_0x1361f2=>_0xe14095['push']({..._0x1361f2,'seq':_0x46ed98++}),_0x21165c(_0x171022._0x326458)),'calls':__name(()=>_0xe14095,_0x21165c(_0x171022._0x52a0f7))};}__name(createRecorder,'createRecorder');var FakePage=class{constructor(_0xa5358c,_0x3aec3e,_0x5b8e70,_0x2024f3){const _0x1ce8f5={_0x59741e:0x161},_0x530543=_0x24a982;this[_0x530543(0x16b)]=_0xa5358c,this[_0x530543(0x1b5)]=_0x3aec3e,this[_0x530543(_0x1ce8f5._0x59741e)]=_0x5b8e70,this[_0x530543(0x1bf)]=_0x2024f3;}[_0x24a982(0x16b)];[_0x24a982(0x1b5)];['scope'];static{__name(this,_0x24a982(0x176));}[_0x24a982(0x1bf)];[_0x24a982(0x1aa)];[_0x24a982(0x16a)](_0x4b2543,_0x4167de){const _0x25991e={_0x4ea3ab:0x16b},_0x4e0b96=_0x24a982;this[_0x4e0b96(_0x25991e._0x4ea3ab)]['push']({'scope':this[_0x4e0b96(0x161)],'method':_0x4b2543,'args':_0x4167de});}[_0x24a982(0x1be)](){const _0x519da4={_0xdcfd2e:0x1b5,_0x6bc6b2:0x1b5,_0x410337:0x1b9},_0x1d1c47=_0x24a982;if(this[_0x1d1c47(_0x519da4._0xdcfd2e)][_0x1d1c47(0x1b9)]){const _0x42f3e4=this[_0x1d1c47(_0x519da4._0xdcfd2e)][_0x1d1c47(0x1b9)];this[_0x1d1c47(_0x519da4._0x6bc6b2)][_0x1d1c47(_0x519da4._0x410337)]=void 0x0;throw _0x42f3e4;}}[_0x24a982(0x159)](){const _0x4ddbdf=_0x24a982;return this[_0x4ddbdf(0x1bf)];}async['title'](){const _0xd02c02={_0x39681b:0x16a,_0x45708e:0x1b8,_0x214db0:0x19e},_0x430e9d=_0x24a982;return this[_0x430e9d(_0xd02c02._0x39681b)](_0x430e9d(_0xd02c02._0x45708e),[]),_0x430e9d(_0xd02c02._0x214db0);}async[_0x24a982(0x198)](_0xd4f6c2,_0x3b9ee4){const _0x3f45f4={_0x1bd86c:0x198},_0x18cfdd=_0x24a982;this[_0x18cfdd(0x16a)](_0x18cfdd(_0x3f45f4._0x1bd86c),[_0xd4f6c2,_0x3b9ee4]),this[_0x18cfdd(0x1be)](),this['onAfterClick']?.();}async['doubleClick'](_0x1bb240,_0x496e15){const _0x26bf53={_0x5f0f07:0x1be},_0xb81db4=_0x24a982;this[_0xb81db4(0x16a)](_0xb81db4(0x1b7),[_0x1bb240,_0x496e15]),this[_0xb81db4(_0x26bf53._0x5f0f07)]();}async['fill'](_0x3b15a5,_0x7ea00b,_0x58468f){const _0x2e528d={_0x1bdcea:0x172},_0x4e4755=_0x24a982;this[_0x4e4755(0x16a)](_0x4e4755(_0x2e528d._0x1bdcea),[_0x3b15a5,_0x7ea00b,_0x58468f]),this[_0x4e4755(0x1be)]();}async[_0x24a982(0x1b2)](_0x3bdbf6,_0x682f8e,_0x12a6d6){const _0xb8b9af=_0x24a982;this[_0xb8b9af(0x16a)]('press',[_0x3bdbf6,_0x682f8e,_0x12a6d6]),this[_0xb8b9af(0x1be)]();}async[_0x24a982(0x17e)](_0x3ccdc9,_0x5ac43b){const _0x4ccd8d={_0x19442e:0x17e},_0x328847=_0x24a982;this[_0x328847(0x16a)](_0x328847(_0x4ccd8d._0x19442e),[_0x3ccdc9,_0x5ac43b]),this[_0x328847(0x1be)]();}async[_0x24a982(0x154)](_0x42168f,_0x25e49f){const _0x183bd6={_0x27e53a:0x154,_0x23400c:0x1be},_0x84ffe0=_0x24a982;this[_0x84ffe0(0x16a)](_0x84ffe0(_0x183bd6._0x27e53a),[_0x42168f,_0x25e49f]),this[_0x84ffe0(_0x183bd6._0x23400c)]();}async[_0x24a982(0x15a)](_0x13c0f1,_0x52de46,_0x1fceae){const _0x5ccb77={_0x3c2aac:0x16a,_0x7100e7:0x15a},_0x1c5c3e=_0x24a982;this[_0x1c5c3e(_0x5ccb77._0x3c2aac)](_0x1c5c3e(_0x5ccb77._0x7100e7),[_0x13c0f1,_0x52de46,_0x1fceae]),this[_0x1c5c3e(0x1be)]();}async[_0x24a982(0x1b1)](_0x4fe0ba,_0x5c3c00){const _0x841037=_0x24a982;this['record'](_0x841037(0x1b1),[_0x4fe0ba,_0x5c3c00]),this[_0x841037(0x1be)]();}async[_0x24a982(0x167)](_0x2580d7){const _0x354c4a={_0x9cb146:0x167,_0x45f390:0x1be},_0x1dfb62=_0x24a982;this['record'](_0x1dfb62(_0x354c4a._0x9cb146),[_0x2580d7]),this[_0x1dfb62(_0x354c4a._0x45f390)]();}async['dragAndDrop'](_0x34b0d9,_0xf4d433,_0x8db079){const _0x553885={_0x4c77f4:0x1be},_0x46c725=_0x24a982;this[_0x46c725(0x16a)](_0x46c725(0x191),[_0x34b0d9,_0xf4d433,_0x8db079]),this[_0x46c725(_0x553885._0x4c77f4)]();}async[_0x24a982(0x194)](_0x340be5,_0x5ed1c9){const _0xbdf849={_0x589ac7:0x194},_0x464d38=_0x24a982;this[_0x464d38(0x16a)](_0x464d38(_0xbdf849._0x589ac7),[_0x340be5,_0x5ed1c9]),this[_0x464d38(0x1be)]();}async[_0x24a982(0x14b)](_0x2d2c6d,_0x5ea928){const _0x2de380={_0x2ae33c:0x16a,_0x29fda0:0x14b},_0x2279bc=_0x24a982;this[_0x2279bc(_0x2de380._0x2ae33c)](_0x2279bc(_0x2de380._0x29fda0),[_0x2d2c6d,_0x5ea928]),this[_0x2279bc(0x1be)]();}async['count'](_0x42b719){const _0xbb18df={_0x4e85f2:0x16a,_0x2170d8:0x18d},_0x5cdc8c=_0x24a982;return this[_0x5cdc8c(_0xbb18df._0x4e85f2)](_0x5cdc8c(_0xbb18df._0x2170d8),[_0x42b719]),this[_0x5cdc8c(0x1b5)][_0x5cdc8c(0x1a1)]??0x1;}async[_0x24a982(0x1c4)](_0x5cb177){const _0xef87b3={_0x374999:0x1b5},_0x1ecc94=_0x24a982;return this['record'](_0x1ecc94(0x1c4),[_0x5cb177]),this[_0x1ecc94(_0xef87b3._0x374999)][_0x1ecc94(0x1b6)]??'';}async[_0x24a982(0x1a4)](_0x2e0302){const _0x397048={_0xa369db:0x1a8,_0x3a5dc6:0x1b5,_0x40b94f:0x1b6},_0x3b7fba=_0x24a982;return this[_0x3b7fba(0x16a)](_0x3b7fba(0x1a4),[_0x2e0302]),this['behavior'][_0x3b7fba(_0x397048._0xa369db)]??this[_0x3b7fba(_0x397048._0x3a5dc6)][_0x3b7fba(_0x397048._0x40b94f)]??'';}async[_0x24a982(0x195)](_0x3ee852){const _0x3c8f9c={_0x52109b:0x16a,_0x1f13fe:0x195,_0x597dfb:0x1b5,_0x1cdeda:0x149},_0x368ee8=_0x24a982;return this[_0x368ee8(_0x3c8f9c._0x52109b)](_0x368ee8(_0x3c8f9c._0x1f13fe),[_0x3ee852]),this[_0x368ee8(_0x3c8f9c._0x597dfb)][_0x368ee8(_0x3c8f9c._0x1cdeda)]??'';}async[_0x24a982(0x1a0)](_0x23bef8){const _0x1270f6={_0x4e71e1:0x171},_0x88e400=_0x24a982;return this[_0x88e400(0x16a)]('checkedState',[_0x23bef8]),this[_0x88e400(0x1b5)][_0x88e400(_0x1270f6._0x4e71e1)]??null;}async[_0x24a982(0x1ad)](_0x13799e){const _0x17ea1c={_0xdcea4c:0x1ad,_0x1b2409:0x1b5},_0x29b876=_0x24a982;return this[_0x29b876(0x16a)](_0x29b876(_0x17ea1c._0xdcea4c),[_0x13799e]),this[_0x29b876(_0x17ea1c._0x1b2409)]['isVisibleByDefault']??!![];}async[_0x24a982(0x17d)](_0x4cd54b){const _0x2b147e={_0x436998:0x16a,_0x1fdff9:0x1b5},_0x547c25=_0x24a982;return this[_0x547c25(_0x2b147e._0x436998)](_0x547c25(0x17d),[_0x4cd54b]),this[_0x547c25(_0x2b147e._0x1fdff9)][_0x547c25(0x181)]??![];}async[_0x24a982(0x165)](_0x502f75,_0x5e3fdc){const _0x368734={_0x45aade:0x16a,_0x24a3a9:0x165,_0x5b8e2e:0x1b5},_0x278a56=_0x24a982;return this[_0x278a56(_0x368734._0x45aade)](_0x278a56(_0x368734._0x24a3a9),[_0x502f75,_0x5e3fdc]),this[_0x278a56(_0x368734._0x5b8e2e)]['attributesByDefault']?.[_0x5e3fdc]??null;}async[_0x24a982(0x1af)](_0x2a9b77,_0x3c2bbb){const _0x9e5c00=_0x24a982;this['record'](_0x9e5c00(0x1af),[_0x2a9b77,_0x3c2bbb]);}async[_0x24a982(0x1b0)](_0x427ae9,_0x1f50ba){const _0x7897c4={_0x110f93:0x16a,_0x1aca0d:0x1b0},_0x1469ed=_0x24a982;this[_0x1469ed(_0x7897c4._0x110f93)](_0x1469ed(_0x7897c4._0x1aca0d),[_0x427ae9,_0x1f50ba]);}async[_0x24a982(0x17f)](_0xb40475,_0x5131c8){const _0x4c68b8={_0x46743c:0x17f},_0x5415f4=_0x24a982;this['record'](_0x5415f4(_0x4c68b8._0x46743c),[_0xb40475,_0x5131c8]);}async[_0x24a982(0x189)](_0xdf5223){const _0x524b08={_0x281bb0:0x189},_0x8b980a=_0x24a982;this[_0x8b980a(0x16a)](_0x8b980a(_0x524b08._0x281bb0),[_0xdf5223]);}async[_0x24a982(0x19d)](_0x566cd9,_0x4c5398){const _0x2a8f7f=_0x24a982;this[_0x2a8f7f(0x16a)]('waitForLoadState',[_0x566cd9,_0x4c5398]);}async[_0x24a982(0x14f)](_0x3fba80,_0x594e87){const _0x1df5b3={_0x133a12:0x14f,_0x101bf6:0x1bf},_0x4ec204=_0x24a982;this[_0x4ec204(0x16a)](_0x4ec204(_0x1df5b3._0x133a12),[_0x3fba80,_0x594e87]),this[_0x4ec204(_0x1df5b3._0x101bf6)]=_0x3fba80;}async['reload'](_0x3ec352){const _0x8d4a5={_0x501d4f:0x16a},_0x3cac02=_0x24a982;this[_0x3cac02(_0x8d4a5._0x501d4f)]('reload',[_0x3ec352]);}async[_0x24a982(0x156)](_0x41ba7a){const _0x5adf58={_0x390179:0x156},_0x3b7782=_0x24a982;this['record'](_0x3b7782(_0x5adf58._0x390179),[_0x41ba7a]);}async[_0x24a982(0x155)](_0x532bcc){const _0x4bd0af={_0x2b3e5f:0x16a},_0x1a827b=_0x24a982;this[_0x1a827b(_0x4bd0af._0x2b3e5f)](_0x1a827b(0x155),[_0x532bcc]);}async[_0x24a982(0x17a)](_0x5561a2){const _0x288b81={_0x82d38e:0x16a,_0x3d77fc:0x17a},_0x5222ec=_0x24a982;return this[_0x5222ec(_0x288b81._0x82d38e)](_0x5222ec(_0x288b81._0x3d77fc),[_0x5561a2]),this[_0x5222ec(0x1b5)][_0x5222ec(0x168)];}async['evaluateOnLocator'](_0x229ce6,_0x5991c5){const _0x47633d=_0x24a982;return this[_0x47633d(0x16a)](_0x47633d(0x15b),[_0x229ce6,_0x5991c5]),void 0x0;}async[_0x24a982(0x182)](_0x302f3a){const _0x91b6f2={_0x389696:0x16a,_0x35ae87:0x1ac,_0xe9be69:0x193,_0x54fc81:0x163},_0x1eb349=_0x24a982;this[_0x1eb349(_0x91b6f2._0x389696)]('inspectElement',[_0x302f3a]);if(_0x302f3a['steps'][_0x1eb349(0x162)]!==0x1||_0x302f3a[_0x1eb349(0x193)][0x0][_0x1eb349(_0x91b6f2._0x35ae87)]!=='ref')return null;const _0x4059df=_0x302f3a[_0x1eb349(_0x91b6f2._0xe9be69)][0x0]['ref'],_0xece7c7=this[_0x1eb349(0x1b5)][_0x1eb349(_0x91b6f2._0x54fc81)]?.[_0x4059df];return _0xece7c7??null;}async[_0x24a982(0x19f)](_0xa52e1){const _0x4ede79={_0x62cb2:0x19f,_0x26e959:0x184},_0xbf7ed=_0x24a982;return this[_0xbf7ed(0x16a)](_0xbf7ed(_0x4ede79._0x62cb2),[_0xa52e1]),this[_0xbf7ed(_0x4ede79._0x26e959)](_0xa52e1?.['type']);}async[_0x24a982(0x174)](_0x3909e7,_0x2a6ff9){const _0x423c10={_0x3e9b6b:0x174},_0x2352b1=_0x24a982;return this[_0x2352b1(0x16a)](_0x2352b1(_0x423c10._0x3e9b6b),[_0x3909e7,_0x2a6ff9]),this['screenshotBytes'](_0x2a6ff9?.[_0x2352b1(0x185)]);}[_0x24a982(0x184)](_0x5780bb){const _0xa99010={_0x4e2861:0x173},_0x2e95ef=_0x24a982,_0x4ebd66=this['behavior'][_0x2e95ef(0x184)];if(_0x4ebd66===void 0x0)return Buffer[_0x2e95ef(0x152)](_0x2e95ef(0x1a9));return typeof _0x4ebd66===_0x2e95ef(_0xa99010._0x4e2861)?_0x4ebd66(_0x5780bb):_0x4ebd66;}async[_0x24a982(0x1a5)](_0x18ccd9){const _0xd3db75={_0x4af54a:0x193,_0x3c9b0d:0x162,_0x5955ff:0x1c0,_0x3688a1:0x1b5,_0x2d83ee:0x14e},_0x8bae7e=_0x24a982;this[_0x8bae7e(0x16a)](_0x8bae7e(0x1a5),[_0x18ccd9]);if(_0x18ccd9[_0x8bae7e(_0xd3db75._0x4af54a)][_0x8bae7e(_0xd3db75._0x3c9b0d)]===0x1&&_0x18ccd9[_0x8bae7e(0x193)][0x0][_0x8bae7e(0x1ac)]===_0x8bae7e(0x1c0)){const _0xe226b9=_0x18ccd9['steps'][0x0][_0x8bae7e(_0xd3db75._0x5955ff)];return this[_0x8bae7e(_0xd3db75._0x3688a1)][_0x8bae7e(_0xd3db75._0x2d83ee)]?.[_0xe226b9]??'<div\x20data-unotest-ref=\x22'+_0xe226b9+'\x22></div>';}return'<div></div>';}},FakeContext=class{constructor(_0x5d986d,_0x15e890,_0x3f6013){const _0x509259={_0x2427d1:0x16b,_0x3ad297:0x188,_0x57d6e4:0x18e},_0x11ef9b=_0x24a982;this[_0x11ef9b(_0x509259._0x2427d1)]=_0x5d986d,this[_0x11ef9b(0x1b5)]=_0x15e890,this['scope']=_0x3f6013;const _0x56d063=new FakePage(_0x5d986d,_0x15e890,_0x3f6013+'.page0',_0x15e890[_0x11ef9b(_0x509259._0x3ad297)]??_0x11ef9b(_0x509259._0x57d6e4));_0x15e890['popupOnClick']&&(_0x56d063['onAfterClick']=()=>{const _0x2efef8=_0x11ef9b;this[_0x2efef8(0x1bc)](_0x15e890[_0x2efef8(0x157)]);}),this[_0x11ef9b(0x1b3)]=[_0x56d063],this[_0x11ef9b(0x1bd)]={..._0x15e890[_0x11ef9b(0x15f)]??{}},this['cookieState']={..._0x15e890['cookies']??{}};}['recorder'];[_0x24a982(0x1b5)];[_0x24a982(0x161)];static{__name(this,_0x24a982(0x14d));}[_0x24a982(0x1b3)];[_0x24a982(0x164)]=0x0;[_0x24a982(0x166)]=[];[_0x24a982(0x1bd)];[_0x24a982(0x150)];['newPageListeners']=new Set();[_0x24a982(0x16a)](_0x47a760,_0x2fd3e7){const _0x4f55e1={_0x3f4c8a:0x161},_0xbdaea3=_0x24a982;this['recorder'][_0xbdaea3(0x1a3)]({'scope':this[_0xbdaea3(_0x4f55e1._0x3f4c8a)],'method':_0x47a760,'args':_0x2fd3e7});}['pages'](){const _0xc45f1c=_0x24a982;return this[_0xc45f1c(0x1b3)];}[_0x24a982(0x18b)](){const _0x2c9955={_0x4e2264:0x19c},_0x8eac0f=_0x24a982,_0x93c20f=this['pageList'][this['activeIdx']];if(!_0x93c20f)throw new DriverError(_0x8eac0f(_0x2c9955._0x4e2264),{'activeIdx':this['activeIdx']});return _0x93c20f;}['consoleEntries'](){const _0x474691=_0x24a982;return this['behavior'][_0x474691(0x153)]??[];}[_0x24a982(0x180)](){const _0x8845a2={_0x5d24ed:0x1b5},_0x16fbe8=_0x24a982;return this[_0x16fbe8(_0x8845a2._0x5d24ed)]['networkEntries']??[];}async[_0x24a982(0x1ab)](_0x596617){const _0x36705c={_0x34303f:0x16a,_0x1e9d60:0x1ab,_0x14e3d1:0x15d,_0x259b02:0x1b3},_0x5c675c=_0x24a982;this[_0x5c675c(_0x36705c._0x34303f)](_0x5c675c(_0x36705c._0x1e9d60),[_0x596617]);if(_0x596617<0x0||_0x596617>=this['pageList'][_0x5c675c(0x162)])throw new DriverError(_0x5c675c(_0x36705c._0x14e3d1),{'index':_0x596617,'available':this[_0x5c675c(_0x36705c._0x259b02)]['length']});this['activeIdx']=_0x596617,this[_0x5c675c(0x166)]['length']=0x0;}['onNewPage'](_0x4974d7){const _0x8ea247=_0x24a982;return subscribe(this[_0x8ea247(0x18a)],_0x4974d7);}[_0x24a982(0x1bc)](_0x41c268){const _0xf50124={_0x260348:0x161,_0x1cb28f:0x17b,_0x4c39e9:0x1b3,_0x237dfa:0x162,_0x403650:0x162},_0x8f1f27=_0x24a982,_0x3770dc=this[_0x8f1f27(_0xf50124._0x260348)]+_0x8f1f27(_0xf50124._0x1cb28f)+this[_0x8f1f27(_0xf50124._0x4c39e9)][_0x8f1f27(_0xf50124._0x237dfa)],_0x427235=new FakePage(this[_0x8f1f27(0x16b)],this[_0x8f1f27(0x1b5)],_0x3770dc,_0x41c268);this[_0x8f1f27(0x1b3)][_0x8f1f27(0x1a3)](_0x427235);const _0x4a2cab=this['pageList'][_0x8f1f27(_0xf50124._0x403650)]-0x1;for(const _0x3f94e9 of this['newPageListeners']){try{_0x3f94e9({'index':_0x4a2cab,'url':_0x41c268});}catch{}}return _0x4a2cab;}[_0x24a982(0x160)](_0x160303){const _0x1da3c3={_0x50d722:0x1b3,_0x4656c4:0x15d,_0x25bf7c:0x1b3,_0x3689b1:0x162},_0x52741e=_0x24a982;if(_0x160303<0x0||_0x160303>=this[_0x52741e(_0x1da3c3._0x50d722)]['length'])throw new DriverError(_0x52741e(_0x1da3c3._0x4656c4),{'index':_0x160303,'available':this[_0x52741e(_0x1da3c3._0x25bf7c)][_0x52741e(_0x1da3c3._0x3689b1)]});this[_0x52741e(0x1b3)][_0x52741e(0x1c5)](_0x160303,0x1);}async['enterFrame'](_0x1df409){const _0x429287={_0x4b48a7:0x16a,_0x2eb168:0x169,_0x316792:0x193,_0x3bda9f:0x162,_0x97d05f:0x1ae,_0x48be24:0x166,_0x29362c:0x1a3},_0x24410e=_0x24a982;this[_0x24410e(_0x429287._0x4b48a7)](_0x24410e(_0x429287._0x2eb168),[_0x1df409]);if(!_0x1df409[_0x24410e(_0x429287._0x316792)][_0x24410e(_0x429287._0x3bda9f)])throw new LocatorError(_0x24410e(_0x429287._0x97d05f),{'locator':_0x1df409});this[_0x24410e(_0x429287._0x48be24)][_0x24410e(_0x429287._0x29362c)](_0x1df409);}async[_0x24a982(0x177)](){const _0x3b3f1b={_0x56fe80:0x177,_0x56d7cd:0x162,_0x2f3691:0x15c},_0x130cf5=_0x24a982;this[_0x130cf5(0x16a)](_0x130cf5(_0x3b3f1b._0x56fe80),[]);if(this[_0x130cf5(0x166)][_0x130cf5(_0x3b3f1b._0x56d7cd)]===0x0)throw new DriverError(_0x130cf5(_0x3b3f1b._0x2f3691),{});this[_0x130cf5(0x166)][_0x130cf5(0x1ba)]();}async[_0x24a982(0x179)](_0x3eb86b,_0x1e320a){const _0x281d23={_0x396243:0x1bd},_0x4a9ea1=_0x24a982;this[_0x4a9ea1(0x16a)](_0x4a9ea1(0x179),[_0x3eb86b,_0x1e320a]),this[_0x4a9ea1(_0x281d23._0x396243)][_0x3eb86b]=_0x1e320a;}async[_0x24a982(0x16d)](_0x2e7911){const _0x1032c5={_0x478cb3:0x16a},_0x545ab0=_0x24a982;return this[_0x545ab0(_0x1032c5._0x478cb3)](_0x545ab0(0x16d),[_0x2e7911]),this['localStorageState'][_0x2e7911]??null;}async['setCookie'](_0x2fe7c7,_0x4e3274,_0x5e32f3){const _0x45d9e5={_0x54ae18:0x1c3,_0x42ff6d:0x150},_0x52461b=_0x24a982;this['record'](_0x52461b(_0x45d9e5._0x54ae18),[_0x2fe7c7,_0x4e3274,_0x5e32f3]),this[_0x52461b(_0x45d9e5._0x42ff6d)][_0x2fe7c7]=_0x4e3274;}async[_0x24a982(0x186)](_0x29a698){const _0x34affc={_0x11de65:0x16a,_0x3aff65:0x150},_0x51d868=_0x24a982;return this[_0x51d868(_0x34affc._0x11de65)](_0x51d868(0x186),[_0x29a698]),this[_0x51d868(_0x34affc._0x3aff65)][_0x29a698]??null;}async[_0x24a982(0x192)](_0x769341){const _0x1b9c20={_0x3cb0a3:0x16a},_0x49c4ed=_0x24a982;this[_0x49c4ed(_0x1b9c20._0x3cb0a3)](_0x49c4ed(0x192),[_0x769341]);}async[_0x24a982(0x17a)](_0x3fce67){const _0x229b38={_0x37ac71:0x16a,_0x40837a:0x17a},_0x3434b0=_0x24a982;return this[_0x3434b0(_0x229b38._0x37ac71)](_0x3434b0(_0x229b38._0x40837a),[_0x3fce67]),void 0x0;}async['close'](){const _0x2f0e3e=_0x24a982;this['record'](_0x2f0e3e(0x1a2),[]);}[_0x24a982(0x197)](){return this['frameStack']['length'];}},FakeWebDriver=class{constructor(_0x25c7ca={}){const _0x5e9119={_0x3ebe60:0x1b5},_0x3ae30d=_0x24a982;this[_0x3ae30d(_0x5e9119._0x3ebe60)]=_0x25c7ca,this[_0x3ae30d(0x16b)]=createRecorder();}[_0x24a982(0x1b5)];static{__name(this,_0x24a982(0x175));}['launched']=![];['recorder'];[_0x24a982(0x1c1)]=[];async['launch'](_0x3d39f8){const _0x1742a1={_0x569aa5:0x16b,_0x4943a9:0x16e},_0x1b35b0=_0x24a982;this[_0x1b35b0(_0x1742a1._0x569aa5)][_0x1b35b0(0x1a3)]({'scope':'driver','method':_0x1b35b0(_0x1742a1._0x4943a9),'args':[_0x3d39f8]}),this['launched']=!![];}async['newContext'](_0x37723e){const _0x267e4e={_0x365cb4:0x170,_0x82487f:0x190,_0x155444:0x162,_0x2e0267:0x1c1,_0x5f14a2:0x1a3},_0x4b6ee0=_0x24a982;this[_0x4b6ee0(0x16b)]['push']({'scope':_0x4b6ee0(0x1a6),'method':'newContext','args':[_0x37723e]});if(!this[_0x4b6ee0(_0x267e4e._0x365cb4)])throw new DriverError(_0x4b6ee0(_0x267e4e._0x82487f),{});const _0x460fd5=new FakeContext(this[_0x4b6ee0(0x16b)],this['behavior'],_0x4b6ee0(0x18f)+this['contexts'][_0x4b6ee0(_0x267e4e._0x155444)]);return this[_0x4b6ee0(_0x267e4e._0x2e0267)][_0x4b6ee0(_0x267e4e._0x5f14a2)](_0x460fd5),_0x460fd5;}async[_0x24a982(0x1a2)](){const _0x4d5dd8={_0x46b22d:0x1a3,_0x1ec477:0x1a6,_0x14d531:0x1a2,_0x415550:0x170},_0x1c4cdb=_0x24a982;this['recorder'][_0x1c4cdb(_0x4d5dd8._0x46b22d)]({'scope':_0x1c4cdb(_0x4d5dd8._0x1ec477),'method':_0x1c4cdb(_0x4d5dd8._0x14d531),'args':[]}),this[_0x1c4cdb(_0x4d5dd8._0x415550)]=![];}[_0x24a982(0x19a)](){return void 0x0;}async[_0x24a982(0x187)](){const _0x50639b=_0x24a982;throw new DriverError(_0x50639b(0x15e),{});}['attachExisting'](_0x1160d7){throw new DriverError('attachExisting\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x24a982(0x196)](){const _0x47632f={_0x56c548:0x196},_0x4ea687=_0x24a982;return this[_0x4ea687(0x16b)][_0x4ea687(_0x47632f._0x56c548)]();}[_0x24a982(0x19b)](_0x351cbd){const _0x293087={_0x263084:0x16b,_0x4a7633:0x14c},_0x35e03c=_0x24a982;return this[_0x35e03c(_0x293087._0x263084)][_0x35e03c(0x196)]()[_0x35e03c(_0x293087._0x4a7633)](_0x127f3c=>_0x127f3c[_0x35e03c(0x1b4)]===_0x351cbd);}};export{FakeWebDriver};