@unotest/web 0.39.0 → 0.40.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,328 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.40.0] - 2026-09-19
4
+
5
+ ### Minor Changes
6
+
7
+ - fa848e9: A box that finishes coming up tells the person who rented it
8
+
9
+ Renting a box takes minutes, and until now it ended in silence. Somebody who
10
+ closed the tab while the machine was being built learned nothing: not that it
11
+ was up, not where it answers, not what to do next. A rental that says nothing
12
+ looks like a rental that did not work.
13
+
14
+ The service now sends one message, at the moment the box becomes ready, to the
15
+ address on the account. It names the box's address, points at the card on the
16
+ dashboard where the login and password stay readable for as long as the box
17
+ lives, and gives the three commands that put a suite on it:
18
+
19
+ npx @unotest/web login
20
+ npx @unotest/web box access <box>
21
+ npx @unotest/web bundle push --run --env <environment> --collection examples
22
+
23
+ The last one names a collection because a box runs a collection or a schedule,
24
+ never a scenario by name, and a project straight out of `init` has no schedule:
25
+ without the flag the run is refused before it starts. `examples` is what `init`
26
+ writes, and the message says to name your own instead where you have one.
27
+
28
+ The environment is filled in only when the box has one. A box can have several
29
+ — `box create` sends every environment the project has — and a command naming
30
+ the first of them reads as a command naming the only one, which would send a
31
+ run somewhere the reader did not choose. With several, the command carries
32
+ `<env>` and the message says where the names are written. Same rule as the
33
+ CLI's own next step, so the two do not answer one question differently.
34
+
35
+ The message carries no password. The break-glass password of a box is on its
36
+ card, which can be looked at again; a copy in a mailbox is one nobody can
37
+ withdraw. The type the message is built from has no field for it, so it cannot
38
+ be added back by accident.
39
+
40
+ It is sent once. The guard is the transition itself, taken inside the write
41
+ lock that makes a box ready, so a resumed build, the billing tick and a read
42
+ of the card all find the box already ready and announce nothing. A mail server
43
+ that is down is logged and does not touch the rental: the customer paid for a
44
+ machine, not for mail.
45
+
46
+ - 42548f7: A box deleted by hand tells its owner too, and the letter says which deletion happened
47
+
48
+ A box could go two ways, and only one of them said anything. When the balance
49
+ stopped covering a box's next hour, the billing tick deleted it and wrote to
50
+ the owner. When a person deleted one — from the dashboard, the CLI or the REST
51
+ API — the machine was released, the record was settled, and nobody was told.
52
+
53
+ That silence is only harmless while the person who presses delete and the
54
+ person who pays for the account are the same person. An account can have
55
+ several people on it, an API key, and a dashboard open where it should not be.
56
+ The one deletion a customer most needs to hear about is the one they did not
57
+ make, and it was the one that arrived as nothing at all.
58
+
59
+ Every deletion now ends in the same letter, from the same place, and the
60
+ letter's first paragraph says how the box went: the balance could not cover
61
+ the next hour, or somebody with access to the account asked for it. The second
62
+ version names no sum — what the balance happened to be when a person pressed
63
+ delete explains nothing about why the box is gone, and a figure printed beside
64
+ a deletion reads as its cause. It points at the dashboard instead, for a reader
65
+ whose next question is who else has access. Everything after that first
66
+ paragraph is one text for both: the machine and what was stored on it are gone,
67
+ the scenarios in the customer's own repository are not, and the name is never
68
+ reused.
69
+
70
+ One letter per deletion, not per caller. The transition to deleted is claimed
71
+ under the same write lock that settles the record, and only the caller that
72
+ made it writes. A person and the billing tick arriving at one box in the same
73
+ moment therefore send one letter between them — previously they could each
74
+ send their own.
75
+
76
+ A box the fleet has no record of is now settled rather than retried forever.
77
+ The tick used to treat "no such box" from the fleet as a failure to delete,
78
+ leaving the record live and billable and trying again every hour; it now ends
79
+ the way it does when a person deletes such a box, which is that there is
80
+ nothing to release and the record is closed.
81
+
82
+ The journal says which way a box went, on both paths. Until now a deletion by
83
+ hand left no line at all, and the only way to tell one from an eviction was the
84
+ absence of the tick's own lines.
85
+
86
+ A mail server that is down still never holds a deletion up: the machine is
87
+ released and the record settled first, and a failed send is a line in the log.
88
+
89
+ - cb4a7e5: `box access` without a name lists the boxes the account already has, instead of advising a second one
90
+
91
+ Run in a directory that does not know a box — a fresh checkout, a second
92
+ project — `box access`, `box status`, `box destroy` and `box picker`
93
+ refused with three things to try, and the only one anybody can follow
94
+ without thinking was `box create`. For somebody who already rents a box,
95
+ following it rents and pays for another.
96
+
97
+ The refusal now asks the account first. With one box it names it and gives
98
+ the command back ready to run:
99
+
100
+ no box named and none configured — this account has one box,
101
+ "larch": run `box access larch`
102
+
103
+ With several it lists them and asks which. Only an account with no boxes
104
+ at all is still told to create one, and a cloud that refused or could not
105
+ be reached is told the same as before — a cloud that did not answer is
106
+ never read as "you have no boxes".
107
+
108
+ - 1cb7ba5: Reading a box takes the same environment name that ordered the run
109
+
110
+ `bundle push --run --env prod` has always taken the bare environment
111
+ name and let the box fill the project in from the token. The commands
112
+ and MCP tools that read the results back wanted the full
113
+ `acme/prod`, and a bare name came back as a 404 that talked about the
114
+ environment rather than about its form:
115
+
116
+ ✗ this box does not serve 'prod'
117
+
118
+ So the name that worked in one command failed in the next, and nothing
119
+ on screen said why.
120
+
121
+ Both halves now take both spellings. `box runs`, `box run`, `box queue`
122
+ and `box screenshot` — and `box_runs`, `box_run`, `box_run_download`,
123
+ `box_queue`, `box_screenshot` — translate the name against the box's own
124
+ list before the request, exactly the list `box envs` prints. A bare name
125
+ only one project on the box has is sent as that project's full name; a
126
+ bare name several projects share is refused before anything is asked,
127
+ naming them:
128
+
129
+ ✗ box runs: more than one project on this box has an environment
130
+ called "test" (acme/test, beta/test) — name the one you mean in
131
+ full.
132
+
133
+ A name the box serves in neither form is refused the same way, listing
134
+ what it does serve. Where the list cannot be had — a box that did not
135
+ answer, a refused token, an empty list, which does not prove there are
136
+ no environments — the name goes as it was typed and the box decides,
137
+ exactly as before; its refusal now names the form as well as the
138
+ command that lists the names.
139
+
140
+ ### Patch Changes
141
+
142
+ - 9878745: `bundle push` that refuses leaves nothing behind in the project
143
+
144
+ The environment check now stands in front of the packing step, not only in
145
+ front of the upload. Packing writes: a suite that has no `package-lock.json`
146
+ yet gets one, in your repository, next to your scenarios. So a push refused
147
+ for naming an environment the box does not have still ended with a file that
148
+ was not there before the command — the refusal cost something after all, and
149
+ the next `git status` showed it.
150
+
151
+ The order is now: the flags, the box address, the token, the environment, and
152
+ only then the suite is packed. Nothing that can be refused happens after the
153
+ first write.
154
+
155
+ What was already right stays: `--dry-run` still packs and still prints its
156
+ bundle id, without asking for a box. The refusals about a missing address and
157
+ a missing token answer in the same words and with the same exit codes as
158
+ before — they simply answer sooner, before the lockfile is touched. A push
159
+ that goes through writes the lockfile exactly as it always did.
160
+
161
+ - 8cc5b20: `bundle push --run` checks the environment name before uploading, and names the environments itself
162
+
163
+ Pushing with an environment name the box does not have uploaded the whole
164
+ bundle first, and only then came back with a refusal — so the last thing
165
+ on screen was "uploaded", the wasted upload looked like success, and the
166
+ refusal read like a problem with the box. The advice that followed was to
167
+ ask the operator which environments exist; on a rented box the customer
168
+ is the operator.
169
+
170
+ The name is now checked against the box's own list first, with the read
171
+ token `box envs` uses. An unknown name is refused before anything is
172
+ uploaded, and the refusal names what the box does serve:
173
+
174
+ ✗ no environment named "staging" on https://larch.box.unotest.com
175
+ — nothing was uploaded.
176
+ it serves acme/test, acme/prod — push into one of them with
177
+ --env test
178
+
179
+ Both spellings the box itself gives are accepted, `acme/test` and the
180
+ bare `test`. Where the list cannot be had — no read token, a box that did
181
+ not answer, an empty list, which does not prove there are none — the push
182
+ goes ahead exactly as before and the box decides. Refusals that still
183
+ come from the box now point at `box envs` instead of an operator.
184
+
185
+ - 8a9c112: A fresh project can start a remote run: `init` writes a collection, and the refusal says what a box runs
186
+
187
+ A box runs a collection or a schedule; the local runner takes a scenario by
188
+ name. Both are true, and nothing said they differ — so a project created by
189
+ `init`, which wrote neither a collection nor a schedule, could not start a
190
+ remote run at all. The command the box's own screen offers came back with
191
+ "nothing to run", and the refusal named the state without naming the
192
+ difference or anything to try.
193
+
194
+ `init` now writes `unotest/e2e/_collections/examples.yaml`, naming the
195
+ examples it already creates. They hit the public playground, so the first
196
+ remote run passes before the box can reach the customer's own application:
197
+
198
+ npx @unotest/web bundle push --run --env <environment> --collection examples
199
+
200
+ A run asked for without a collection is still refused — that has not
201
+ changed — but the refusal now says that a box runs a collection or a
202
+ schedule rather than a scenario by name, and what to pass instead.
203
+
204
+ - 3f9bcb3: The box's screens fit a phone: the header wraps instead of running off the side
205
+
206
+ Four things sit in the header of every guard page — the box's own address,
207
+ who is looking, the link to the other half of the guard, and the way out. On
208
+ a screen 320 px wide they did not fit on one line, and what did not fit was
209
+ pushed past the right edge, taking the page's width with it. The whole screen
210
+ then scrolled sideways, and the control left outside was the one that signs a
211
+ viewer out: a box could not be left from a phone.
212
+
213
+ The header now wraps. On a narrow screen it takes a second row, and every
214
+ control stays reachable; a long box address or a long directory name wraps
215
+ with it instead of widening the row. Nothing changes on a wide screen — the
216
+ header is one row of the same height it always was.
217
+
218
+ - 7131b87: New box keeps the environment you named, so a box can be rented again
219
+
220
+ Renting a box from the cabinet was impossible for anyone who used the
221
+ Environment field the way it asks to be used. Typing `prod` and pressing Enter
222
+ turned the name into a tag, as it should; submitting the form then answered
223
+ "Name what runs at this address — prod, staging, pr-42." and came back with
224
+ the field empty and the tag gone. The form was refusing the very name it had
225
+ just been given, and there was no way through it: the only path to a first box
226
+ through the cabinet was closed.
227
+
228
+ The tag the browser makes now travels under the name the server reads
229
+ environments back from. It had been travelling under the name of the text box
230
+ it was typed in, so a row with one tag arrived with an address and no names at
231
+ all, and the refusal about names was the server honestly reporting what it
232
+ received.
233
+
234
+ Two things beside the fix, so this class of failure is harder to repeat. The
235
+ name a tag posts under is stated once, in the form, and the browser reads it
236
+ from there rather than spelling it out a second time. And the reader on the
237
+ server now accepts either half of the field repeated — two tags on one address
238
+ have always arrived as a repeated field, and a reader that expects a single
239
+ value drops a repeated one whole rather than in part.
240
+
241
+ A form submitted with scripting off is unchanged: the typed name still posts on
242
+ its own, one name per submit.
243
+
244
+ - e1db36f: `picker off` says how long the withdrawal takes, as one number
245
+
246
+ Switching the Picker off — a box's with `box picker off`, a project's with
247
+ `picker off` — withdraws its token through a revocation list that two
248
+ services read on their own schedules: the cloud rewrites the list, the
249
+ grounding service re-reads it. The command used to say only that the token
250
+ stops working "once the list is refreshed", because the CLI knew neither
251
+ interval and half a figure read as the whole would have been wrong.
252
+
253
+ The cloud now adds both halves and hands the sum over, and the command
254
+ says it:
255
+
256
+ ✓ The Picker token for this box is revoked — the grounder stops
257
+ accepting it within about 2 minutes, once it refreshes its
258
+ revocation list
259
+
260
+ The dashboard's own notices after switching off say the same figure. When
261
+ the cloud cannot name it — the grounding service has not answered yet —
262
+ the sentence stays as it was, with no number: a default would be a
263
+ promise nothing keeps.
264
+
265
+ - 36d1dba: `bundle push --run --env` now names an environment the box will accept, and refuses one it cannot.
266
+
267
+ A box lists its environments as `<project>/<environment>`, and that is the
268
+ form its viewer API and every `box` subcommand take. The door that orders
269
+ runs takes the bare environment instead and fills the project in from the
270
+ token that pushed. The pre-upload check accepted both forms but carried
271
+ whichever was typed straight through, and a refusal advised the listed one
272
+ — so a push that followed our own advice was refused by the box after the
273
+ bundle had already been uploaded.
274
+
275
+ Both forms are still accepted, with one exception named below. Whichever is
276
+ given, the run is now ordered under the name the box runs, and a refusal
277
+ advises that same name.
278
+
279
+ On a box that serves several projects, a listed name is translated only
280
+ while the bare name it becomes belongs to one of them. Where two projects
281
+ share an environment name, the run would be ordered inside whichever
282
+ project your token belongs to — not necessarily the one you named — so the
283
+ push is refused before the upload instead, and the refusal names both:
284
+
285
+ ✗ "beta/prod" cannot be ordered by that name on
286
+ https://larch.box.unotest.com — nothing was uploaded.
287
+ acme/prod and beta/prod are both called "prod", and a run is
288
+ ordered by the bare name inside the project your token belongs
289
+ to — push with --env prod if that project is yours
290
+
291
+ A bare name several projects share is left as it was typed: that is the
292
+ form the box expects, and the token is what says which project it means.
293
+
294
+ None of this reaches a box that has not named an environment yet. A box
295
+ with nothing to list answers with an empty list, which does not prove it
296
+ serves nothing, so the push goes ahead and the box decides — exactly as
297
+ before. Until a suite has been pushed to it once, a wrong name is still
298
+ answered by the box after the upload, not by this check.
299
+
300
+ - 5193108: The New box dialog closes again after the form has refused something
301
+
302
+ A dialog in the dashboard could be opened two ways and closed only one. The
303
+ Create box button opens it with a link to `#new-box`, and the × and the veil
304
+ close it by dropping that target again. A form the server refused comes back
305
+ open too — the refusal has to be visible — but that copy is opened by a class
306
+ in the served markup, and a link to `#` cannot take a class away. So anyone
307
+ who filled the form in, got a refusal, and reached for the × found the dialog
308
+ nailed open until they reloaded the page.
309
+
310
+ Closing now undoes whatever opened it. The dialog the button opened still
311
+ closes on the spot, with no request. The dialog a refusal opened closes by
312
+ going back to the boxes page — which has no refusal to keep it open — and the
313
+ × and the veil both carry that address. No script is involved in either case:
314
+ the dashboard is where boxes are bought, and it works with scripting off.
315
+
316
+ Closing after a refusal drops what was typed. That is the intended reading of
317
+ closing a form, and a draft that reappeared at the next click would be the
318
+ bigger surprise.
319
+
320
+ - @unotest/viewer@0.40.0
321
+ - @unotest/core@0.40.0
322
+ - @unotest/dsl@0.40.0
323
+ - @unotest/grounder-client@0.40.0
324
+ - @unotest/protocol@0.40.0
325
+
3
326
  ## [0.39.0] - 2026-09-18
4
327
 
5
328
  ### Minor Changes
@@ -66,7 +389,7 @@ picker on` fetches this project's own access and writes the three grounder
66
389
 
67
390
  That screen named one command:
68
391
 
69
- npx @unotest/web bundle push --run --env ENVIRONMENT
392
+ npx @unotest/web bundle push --run --env ENVIRONMENT
70
393
 
71
394
  In a project that has just been created, the command refuses with `no box
72
395
  address` before it does anything: the project holds neither the box's address
@@ -75,8 +398,8 @@ address` before it does anything: the project holds neither the box's address
75
398
 
76
399
  The screen now names both steps, in the order they have to happen:
77
400
 
78
- npx @unotest/web box access larch
79
- npx @unotest/web bundle push --run --env ENVIRONMENT
401
+ npx @unotest/web box access larch
402
+ npx @unotest/web bundle push --run --env ENVIRONMENT
80
403
 
81
404
  The box's own name is filled in when its licence carries one. `box access`
82
405
  with no name refuses, and its refusal offers to create a box — to somebody who
package/README.md CHANGED
@@ -171,7 +171,10 @@ has no price of its own — and the answer defaults to no. On a box you already
171
171
  this box's, which is left alone and reported. `off` also revokes the
172
172
  box's Picker token, so a copy of it on another machine stops working
173
173
  too: the grounder refuses it once it has re-read the operator's
174
- revocation list how often it does that is the operator's own setting. Either way the charge follows at the
174
+ revocation list, and `off` says how long that takes "within about 2
175
+ minutes" — whenever the cloud knows both halves of the wait. Where it
176
+ does not, the sentence stays true and carries no figure rather than
177
+ half of one. Either way the charge follows at the
175
178
  next hourly tick, because a started hour is charged at the rate it
176
179
  started with. `box status` says which state a box is in, and — while the
177
180
  Picker is on — which models the cloud grounds with: `Our GPU` or
@@ -1 +1 @@
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
+ function _0x44e2(_0x36be5b,_0x51a6a2){_0x36be5b=_0x36be5b-0x93;var _0x14e336=_0x14e3();var _0x44e234=_0x14e336[_0x36be5b];if(_0x44e2['jGQfMy']===undefined){var _0x5708a0=function(_0x22b95b){var _0x3843f6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5946ca='',_0x1c7fc0='';for(var _0x2a4efe=0x0,_0x37f984,_0xcf149b,_0x5be5cc=0x0;_0xcf149b=_0x22b95b['charAt'](_0x5be5cc++);~_0xcf149b&&(_0x37f984=_0x2a4efe%0x4?_0x37f984*0x40+_0xcf149b:_0xcf149b,_0x2a4efe++%0x4)?_0x5946ca+=String['fromCharCode'](0xff&_0x37f984>>(-0x2*_0x2a4efe&0x6)):0x0){_0xcf149b=_0x3843f6['indexOf'](_0xcf149b);}for(var _0x2d0b05=0x0,_0x5b67fe=_0x5946ca['length'];_0x2d0b05<_0x5b67fe;_0x2d0b05++){_0x1c7fc0+='%'+('00'+_0x5946ca['charCodeAt'](_0x2d0b05)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1c7fc0);};_0x44e2['DtdMAQ']=_0x5708a0,_0x44e2['cyfLoh']={},_0x44e2['jGQfMy']=!![];}var _0xca4112=_0x14e336[0x0],_0x2e4314=_0x36be5b+_0xca4112,_0x284f35=_0x44e2['cyfLoh'][_0x2e4314];return!_0x284f35?(_0x44e234=_0x44e2['DtdMAQ'](_0x44e234),_0x44e2['cyfLoh'][_0x2e4314]=_0x44e234):_0x44e234=_0x284f35,_0x44e234;}var _0x24120a=_0x44e2;(function(_0x470850,_0x5f3b49){var _0x3e4e4d={_0x421b02:0xab,_0x40fab6:0xc5,_0x3e9778:0xa1,_0x410f65:0xb1,_0x1dc380:0xad},_0x3346dd=_0x44e2,_0x1acb57=_0x470850();while(!![]){try{var _0x194978=-parseInt(_0x3346dd(0x97))/0x1*(parseInt(_0x3346dd(0x95))/0x2)+-parseInt(_0x3346dd(_0x3e4e4d._0x421b02))/0x3+parseInt(_0x3346dd(0xaf))/0x4*(parseInt(_0x3346dd(0xaa))/0x5)+-parseInt(_0x3346dd(0xbf))/0x6*(parseInt(_0x3346dd(0xd7))/0x7)+parseInt(_0x3346dd(_0x3e4e4d._0x40fab6))/0x8+parseInt(_0x3346dd(_0x3e4e4d._0x3e9778))/0x9*(-parseInt(_0x3346dd(0x9a))/0xa)+-parseInt(_0x3346dd(_0x3e4e4d._0x410f65))/0xb*(-parseInt(_0x3346dd(_0x3e4e4d._0x1dc380))/0xc);if(_0x194978===_0x5f3b49)break;else _0x1acb57['push'](_0x1acb57['shift']());}catch(_0x2fd0a1){_0x1acb57['push'](_0x1acb57['shift']());}}}(_0x14e3,0xe61b2));import{z}from'zod';var BrowserSchema=z[_0x24120a(0xd1)]([_0x24120a(0xb4),_0x24120a(0x98),_0x24120a(0xb2)]),BrowserChannelSchema=z[_0x24120a(0xc2)]([z[_0x24120a(0xbd)]('chrome'),z['literal'](_0x24120a(0xc0)),z['literal'](_0x24120a(0xce)),z[_0x24120a(0xcf)]()])[_0x24120a(0xd3)](),ViewportSchema=z['object']({'width':z['number']()['int']()[_0x24120a(0xbc)](),'height':z[_0x24120a(0xb3)]()['int']()[_0x24120a(0xbc)]()}),RetryReasonSchema=z[_0x24120a(0xd1)](['transient',_0x24120a(0xd8),_0x24120a(0x9e)]),RetryConfigSchema=z[_0x24120a(0xb6)]({'count':z[_0x24120a(0xb3)]()[_0x24120a(0xd6)]()[_0x24120a(0xc6)](0x0)[_0x24120a(0xc7)](0xa),'on':z[_0x24120a(0xcd)](RetryReasonSchema)}),FailureBundleConfigSchema=z['object']({'tier1':z[_0x24120a(0xbd)](!![])[_0x24120a(0xa3)](!![]),'tier2':z[_0x24120a(0xc9)](),'tier3':z[_0x24120a(0xb6)]({'network':z[_0x24120a(0xc9)](),'video':z[_0x24120a(0xc9)]()}),'retention':z[_0x24120a(0xb6)]({'runs':z[_0x24120a(0xb3)]()['int']()[_0x24120a(0xbc)](),'days':z[_0x24120a(0xb3)]()[_0x24120a(0xd6)]()[_0x24120a(0xbc)]()}),'storageDir':z[_0x24120a(0xbb)]()[_0x24120a(0xc6)](0x1)}),DialogPolicySchema=z[_0x24120a(0xd1)]([_0x24120a(0xd0),_0x24120a(0xc8),_0x24120a(0xd4)]),LinterRuleIdSchema=z[_0x24120a(0xd1)](['lint:deep-css',_0x24120a(0x93),'lint:obfuscated-class','lint:pause-explicit',_0x24120a(0xcc),'lint:evaluate-discouraged',_0x24120a(0xb0),_0x24120a(0xa2),_0x24120a(0xc3),_0x24120a(0x94),_0x24120a(0xa6),_0x24120a(0xa7),_0x24120a(0x9c),_0x24120a(0xac),_0x24120a(0xcb),_0x24120a(0xb5),_0x24120a(0xa9),_0x24120a(0xb9),'validator:arity',_0x24120a(0xbe),'validator:step-coverage',_0x24120a(0xc4),_0x24120a(0xa8),'validator:function-shape','validator:for-shape',_0x24120a(0xd5),_0x24120a(0xba),_0x24120a(0xa0),'validator:unsupported-expression',_0x24120a(0xae),_0x24120a(0xa4),_0x24120a(0x96),'validator:wrapped-format']),LinterSeveritySchema=z[_0x24120a(0xd1)]([_0x24120a(0xa5),_0x24120a(0x99),_0x24120a(0xc1)]),LinterConfigSchema=z[_0x24120a(0xb6)]({'enabled':z[_0x24120a(0xc9)](),'rules':z[_0x24120a(0x9d)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z['object']({'enabled':z[_0x24120a(0xc9)]()['default'](!![]),'concurrency':z['number']()[_0x24120a(0xd6)]()[_0x24120a(0xbc)]()[_0x24120a(0xa3)](0x1)}),ScheduleSchema=z[_0x24120a(0xb6)]({'collection':z[_0x24120a(0xbb)]()[_0x24120a(0xc6)](0x1),'cron':z['string']()['min'](0x1),'env':z[_0x24120a(0xbb)]()[_0x24120a(0xc6)](0x1)[_0x24120a(0xd3)](),'prepare':z[_0x24120a(0xbb)]()['min'](0x1)[_0x24120a(0xd3)]()}),McpConfigSchema=z['object']({'transport':z[_0x24120a(0xbd)]('stdio')}),SandboxConfigSchema=z[_0x24120a(0xb6)]({'shellCwd':z[_0x24120a(0xbb)]()[_0x24120a(0xd3)](),'shellTimeoutMs':z[_0x24120a(0xb3)]()[_0x24120a(0xd6)]()[_0x24120a(0xbc)]()[_0x24120a(0xd3)](),'exportSecrets':z[_0x24120a(0xcd)](z[_0x24120a(0xbb)]())[_0x24120a(0xd3)](),'database':z[_0x24120a(0xbb)]()['optional'](),'apiBaseUrl':z[_0x24120a(0xbb)]()[_0x24120a(0x9f)]()[_0x24120a(0xd3)](),'uploadDir':z[_0x24120a(0xbb)]()['optional']()}),WebServerConfigSchema=z['object']({'command':z[_0x24120a(0xbb)]()[_0x24120a(0xc6)](0x1),'url':z[_0x24120a(0xbb)]()[_0x24120a(0x9f)](),'reuseExistingServer':z[_0x24120a(0xc9)]()[_0x24120a(0xa3)](!![]),'timeoutMs':z[_0x24120a(0xb3)]()['int']()[_0x24120a(0xbc)]()[_0x24120a(0xa3)](0xea60)}),UnotestConfigSchema=z[_0x24120a(0xb6)]({'baseUrl':z[_0x24120a(0xbb)]()[_0x24120a(0x9f)]()['optional'](),'webServer':WebServerConfigSchema[_0x24120a(0xd3)](),'browsers':z[_0x24120a(0xcd)](BrowserSchema)[_0x24120a(0xc6)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x24120a(0xbb)]()[_0x24120a(0xd3)](),'testDir':z[_0x24120a(0xbb)]()[_0x24120a(0xc6)](0x1),'helpersDir':z['string']()[_0x24120a(0xc6)](0x1),'defaultTimeoutMs':z[_0x24120a(0xb3)]()[_0x24120a(0xd6)]()[_0x24120a(0xbc)](),'defaultNavigationTimeoutMs':z['number']()[_0x24120a(0xd6)]()[_0x24120a(0xbc)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z['array'](ScheduleSchema)[_0x24120a(0xa3)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':['chromium'],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x24120a(0xb7)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x24120a(0xca)},'dialogPolicy':_0x24120a(0xd0),'testDir':_0x24120a(0xd2),'helpersDir':_0x24120a(0xb8),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x24120a(0x99),'lint:xpath':_0x24120a(0x99),'lint:obfuscated-class':_0x24120a(0x99),'lint:pause-explicit':_0x24120a(0x99),'lint:disambig-by-index':_0x24120a(0xa5),'lint:evaluate-discouraged':_0x24120a(0x99),'lint:scenario-in-root':_0x24120a(0xc1),'lint:mustache-in-dsl':_0x24120a(0xc1),'lint:goto-concat':_0x24120a(0x99),'lint:regex-invalid':'error','lint:echo-assert':'warn','lint:lint-ok-missing-reason':_0x24120a(0x99),'lint:flow-returns-value':'warn','lint:legacy-layout':_0x24120a(0x99),'lint:external-variable-undeclared':'error','lint:one-test-per-file':'warn','validator:unknown-function':_0x24120a(0xc1)}},'mcp':{'transport':_0x24120a(0x9b)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};function _0x14e3(){var _0x58c1ac=['BgLUDdP4Cgf0Aa','BgLUDdPYzwDLEc1PBNzHBgLK','ng5lv2H6wG','DMfSAwrHDg9YoMXPC3qTyxjN','mZC5mZm2rLj4A3Pt','zMLYzwzVEa','D2fYBG','ntiYotuWyvLmCLvk','C3rKAw8','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','CMvJB3jK','y3jHC2G','DxjS','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','mtHrsw5wtwe','BgLUDdPTDxn0ywnOzs1PBI1KC2W','zgvMyxvSDa','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','B2zM','BgLUDdPLy2HVlwfZC2vYDa','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','DMfSAwrHDg9YoM1LDgeTC2HHCgu','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq','mteWEgfwEhn6','nJm4mtaWB2r1CLLY','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','mtjXsKrxt1m','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','ntK1nJrcr2jkBgG','BgLUDdPZy2vUyxjPBY1PBI1YB290','mtq0odqXmdDACg1Ouw0','D2vIA2L0','BNvTyMvY','y2HYB21PDw0','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','B2jQzwn0','DhjHBNnPzw50','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','DMfSAwrHDg9YoNzHCI1ZAgfWzq','C3rYAw5N','Cg9ZAxrPDMu','BgL0zxjHBa','DMfSAwrHDg9YoMfYzY1RAw5K','nKjVrhvgzW','BxnLzgDL','zxjYB3i','Dw5PB24','BgLUDdPNB3rVlwnVBMnHDa','DMfSAwrHDg9YoNn0zxaTC2HHCgu','mtm5odi3odrYC092ww8','BwLU','Bwf4','zgLZBwLZCW','yM9VBgvHBG','lNvUB3rLC3qVzMfPBhvYzxm','BgLUDdPSzwDHy3KTBgf5B3v0','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','yxjYyxK','y2HYB21LlwjLDge','BNvSBa','ywnJzxb0','zw51Bq','Dw5VDgvZDc9LmMu','B3b0Aw9UywW','BwfUDwfS','DMfSAwrHDg9YoMLMlxnOyxbL','Aw50','otyXntK3n1jPvwzOua','BMv0D29YAW'];_0x14e3=function(){return _0x58c1ac;};return _0x14e3();}export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
@@ -1 +1 @@
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};
1
+ const _0x294f52=_0x5ba6;(function(_0x3795f0,_0x1eb898){const _0x3a9f41={_0x198bf9:0x109,_0x256073:0xa2,_0x25ed2a:0x96,_0x3c7afe:0xd1},_0x272dd3=_0x5ba6,_0x4a69f4=_0x3795f0();while(!![]){try{const _0x37b462=-parseInt(_0x272dd3(0xca))/0x1+-parseInt(_0x272dd3(0xac))/0x2+parseInt(_0x272dd3(_0x3a9f41._0x198bf9))/0x3*(-parseInt(_0x272dd3(0xea))/0x4)+parseInt(_0x272dd3(0x91))/0x5+-parseInt(_0x272dd3(0xb4))/0x6*(-parseInt(_0x272dd3(_0x3a9f41._0x256073))/0x7)+parseInt(_0x272dd3(_0x3a9f41._0x25ed2a))/0x8*(-parseInt(_0x272dd3(0xeb))/0x9)+parseInt(_0x272dd3(_0x3a9f41._0x3c7afe))/0xa;if(_0x37b462===_0x1eb898)break;else _0x4a69f4['push'](_0x4a69f4['shift']());}catch(_0x10ee57){_0x4a69f4['push'](_0x4a69f4['shift']());}}}(_0x163a,0x4e987));var __defProp=Object[_0x294f52(0xf0)],__name=(_0x28ba8b,_0x268e18)=>__defProp(_0x28ba8b,'name',{'value':_0x268e18,'configurable':!![]});function subscribe(_0x16dc01,_0x5c9011){const _0x5ba5cc=_0x294f52;return _0x16dc01[_0x5ba5cc(0xe3)](_0x5c9011),()=>{const _0x4ed0d0=_0x5ba5cc;_0x16dc01[_0x4ed0d0(0xe4)](_0x5c9011);};}__name(subscribe,_0x294f52(0xdb));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x294f52(0x93));}},LocatorError=class extends UnotestError{static{__name(this,_0x294f52(0xb2));}};function _0x163a(){const _0x1c4d13=['Dw5JAgvJAW','D2fPDezVCKXVywrtDgf0zq','zNjHBwvtDgfJAW','Ag92zxi','B3v0zxjive1m','z2v0q29VA2LL','zMfRzs1WBMC','z2v0tg9JywXtDg9YywDL','mtaXmdGXogLVEe1YqG','Bwf5yMvuAhjVDW','CMvJB3jKzxi','BMv3ugfNzuXPC3rLBMvYCW','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','Cg9WDxbpBKnSAwnR','tg9JyxrVCKvYCM9Y','Dgv4DenVBNrLBNq','mJGYnKDJEMfvCG','zwXLBwvUDeHPBNrcEvjLzG','zxzHBhvHDgvpBKXVy2f0B3i','y3vYCMvUDfvYBa','y291BNrcEurLzMf1Bhq','Bwv0Ag9K','y2fSBhngB3i','y2XVC2u','Aw5PDgLHBfvYBa','zhjPDMvY','C2nYzwvUC2HVDej5DgvZ','ChvZAa','z29cywnR','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','yMvOyxzPB3i','zw50zxjgCMfTzq','y2HLy2S','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','Aw5UzxjuzxH0','zNjVBq','AxnwAxnPyMXL','AxneAxnHyMXLza','mJKXnJGWuLnnrg5S','CMvSB2fK','AxneAxnHyMXLzej5rgvMyxvSDa','y29UBMvJDfnOyxjLza','z29gB3j3yxjK','Aw5ZCgvJDevSzw1LBNq','rMfRzvDLyKrYAxzLCG','mteXmZKZnZbRs0DRsNi','y29VA2LLu3rHDgu','C3rLChm','C2f2zvn0B3jHz2vtDgf0zq','DhLWzq','y2HLy2TLzfn0yxrLqNLezwzHDwX0','zMLSBa','D3nfBMrWB2LUDa','CgfNzxm','Bgf1BMnOzwq','C3vIC2nYAwjL','rMfRzvbHz2u','y2XPCgjVyxjKugfZDgu','C2nYzwvUC2HVDa','zxzHBhvHDgu','C2nYzwvUC2HVDevSzw1LBNq','ChjLC3m','CMvM','ywrK','zgvSzxrL','BMv3q29UDgv4Da','BMv0D29YA0vUDhjPzxm','y29UC29SzuvUDhjPzxm','zhjHz0fUzerYB3a','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','mtjIB1rwufe','mZG3nJKZEwXLCNbV','zNvUy3rPB24','DgL0Bgu','C2nVCgu','Aw5UzxjuzxH0qNLezwzHDwX0','zgvMAw5LuhjVCgvYDhK','zw1PDezHA2vqB3b1Ca','zMfRzsb0AxrSzq','Aw5WDxrwywX1zuj5rgvMyxvSDa','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','D2fPDezVCG','Bgf1BMnO','BgvUz3rO','C2v0qwn0AxzLugfNzq','ywn0AxzLugfNzq','B3v0zxjiDg1SqNLszwy','pgrPDJ48l2rPDJ4','DxbSB2fKrMLSzq','B25bzNrLCKnSAwnR','y2XPy2S','iJ48l2rPDJ4','zxjYB3jpBK5LEhrby3rPB24','CMvJB3jK','Dgv4DenVBNrLBNrcEurLzMf1Bhq','D2fPDezVCLvYBa','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','zMLSDgvY','yxr0CMLIDxrLC0j5rgvMyxvSDa','y3jLyxrLuMvJB3jKzxi','Aw5WDxrwywX1zq','mJeZmtG2Be96DKDY','Bg9JywXtDg9YywDLu3rHDgu','C3bSAwnL','C2nYB2XSsw50B1zPzxC','z2v0qxr0CMLIDxrL','A2LUza','C2v0tg9JywXtDg9YywDL','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','ywn0AxzLswr4','y3r4','CgfNzuXPC3q','mtKWmtK0mhDLr3vuCq','z290BW','rhjPDMvYrxjYB3i','AxnwAxnPyMXLqNLezwzHDwX0','D2fPDezVCK5HDMLNyxrPB24','ntzAu05Ts0m','zxzHBhvHDgvszxn1Bhq','zxHPDezYyw1L','C2vSzwn0t3b0Aw9U','zg91yMXLq2XPy2S','y2fSBhm','ywjVDxq6yMXHBMS','y2HLy2TLzfn0yxrL','y29UDgv4Dhm','zNjHBwvezxb0Aa','y29VA2LLCW','Cg9W','mJa3mLLKBLv3vW','y291BNq'];_0x163a=function(){return _0x1c4d13;};return _0x163a();}function createRecorder(){const _0x41a65c={_0xc01b10:0xbf},_0x17f6b8=_0x294f52,_0x544a95=[];let _0x8488ab=0x0;return{'push':__name(_0x510e9d=>_0x544a95[_0x17f6b8(0xbf)]({..._0x510e9d,'seq':_0x8488ab++}),_0x17f6b8(_0x41a65c._0xc01b10)),'calls':__name(()=>_0x544a95,_0x17f6b8(0x9b))};}__name(createRecorder,_0x294f52(0x107));function _0x5ba6(_0x2989b1,_0x51a7ef){_0x2989b1=_0x2989b1-0x8a;const _0x163a9a=_0x163a();let _0x5ba6a1=_0x163a9a[_0x2989b1];if(_0x5ba6['KlJBco']===undefined){var _0x369c8d=function(_0x35f8cb){const _0x26c96c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x28ba8b='',_0x268e18='';for(let _0x16dc01=0x0,_0x5c9011,_0x544a95,_0x8488ab=0x0;_0x544a95=_0x35f8cb['charAt'](_0x8488ab++);~_0x544a95&&(_0x5c9011=_0x16dc01%0x4?_0x5c9011*0x40+_0x544a95:_0x544a95,_0x16dc01++%0x4)?_0x28ba8b+=String['fromCharCode'](0xff&_0x5c9011>>(-0x2*_0x16dc01&0x6)):0x0){_0x544a95=_0x26c96c['indexOf'](_0x544a95);}for(let _0x510e9d=0x0,_0x45ccf4=_0x28ba8b['length'];_0x510e9d<_0x45ccf4;_0x510e9d++){_0x268e18+='%'+('00'+_0x28ba8b['charCodeAt'](_0x510e9d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x268e18);};_0x5ba6['FFxdxk']=_0x369c8d,_0x5ba6['xZtQhA']={},_0x5ba6['KlJBco']=!![];}const _0x4cd067=_0x163a9a[0x0],_0x38077e=_0x2989b1+_0x4cd067,_0x525191=_0x5ba6['xZtQhA'][_0x38077e];return!_0x525191?(_0x5ba6a1=_0x5ba6['FFxdxk'](_0x5ba6a1),_0x5ba6['xZtQhA'][_0x38077e]=_0x5ba6a1):_0x5ba6a1=_0x525191,_0x5ba6a1;}var FakePage=class{constructor(_0x45ccf4,_0x4721cb,_0x47f272,_0x136c51){const _0x4f5ae2={_0x1a325f:0xee,_0x4d7647:0xb7},_0x59d21a=_0x294f52;this[_0x59d21a(0xae)]=_0x45ccf4,this['behavior']=_0x4721cb,this[_0x59d21a(_0x4f5ae2._0x1a325f)]=_0x47f272,this[_0x59d21a(_0x4f5ae2._0x4d7647)]=_0x136c51;}[_0x294f52(0xae)];[_0x294f52(0xc2)];[_0x294f52(0xee)];static{__name(this,_0x294f52(0xdc));}[_0x294f52(0xb7)];[_0x294f52(0xfd)];[_0x294f52(0x101)](_0x238b5e,_0x327f17){const _0x3a014e={_0x1c3d81:0xae},_0x7392ee=_0x294f52;this[_0x7392ee(_0x3a014e._0x1c3d81)]['push']({'scope':this[_0x7392ee(0xee)],'method':_0x238b5e,'args':_0x327f17});}[_0x294f52(0xad)](){const _0x449c57={_0x16988c:0xc2,_0x1de15f:0x100,_0x50ac0d:0x100},_0x3a1337=_0x294f52;if(this[_0x3a1337(0xc2)][_0x3a1337(0x100)]){const _0x53e7f9=this[_0x3a1337(_0x449c57._0x16988c)][_0x3a1337(_0x449c57._0x1de15f)];this[_0x3a1337(0xc2)][_0x3a1337(_0x449c57._0x50ac0d)]=void 0x0;throw _0x53e7f9;}}['url'](){return this['currentUrl'];}async[_0x294f52(0xed)](){const _0xc2901a={_0xfa9aa8:0x101},_0x4849d9=_0x294f52;return this[_0x4849d9(_0xc2901a._0xfa9aa8)]('title',[]),_0x4849d9(0xf2);}async[_0x294f52(0xfe)](_0x3143e9,_0x413357){const _0x2eb0eb={_0x2e2f93:0x101,_0x9b5ea2:0xfe,_0x4ff2b7:0xad,_0x2921f8:0xfd},_0x96cdc3=_0x294f52;this[_0x96cdc3(_0x2eb0eb._0x2e2f93)](_0x96cdc3(_0x2eb0eb._0x9b5ea2),[_0x3143e9,_0x413357]),this[_0x96cdc3(_0x2eb0eb._0x4ff2b7)](),this[_0x96cdc3(_0x2eb0eb._0x2921f8)]?.();}async[_0x294f52(0x9a)](_0x27b2bb,_0xd00b60){const _0x3b3eb1=_0x294f52;this[_0x3b3eb1(0x101)](_0x3b3eb1(0x9a),[_0x27b2bb,_0xd00b60]),this['maybeThrow']();}async[_0x294f52(0xd7)](_0x2d9af1,_0x598ce9,_0x37d3c4){const _0x33adc8={_0x4c3877:0xd7,_0x13cdaf:0xad},_0x1e6716=_0x294f52;this['record'](_0x1e6716(_0x33adc8._0x4c3877),[_0x2d9af1,_0x598ce9,_0x37d3c4]),this[_0x1e6716(_0x33adc8._0x13cdaf)]();}async['press'](_0x1f48b2,_0x2caef7,_0x4172dc){const _0x591d7d={_0x438b:0x101,_0xb28a0b:0xe1},_0x3127db=_0x294f52;this[_0x3127db(_0x591d7d._0x438b)](_0x3127db(_0x591d7d._0xb28a0b),[_0x1f48b2,_0x2caef7,_0x4172dc]),this[_0x3127db(0xad)]();}async['check'](_0x394dbb,_0x1fad3d){const _0x588626={_0x5d9dc4:0x101},_0x5996ab=_0x294f52;this[_0x5996ab(_0x588626._0x5d9dc4)](_0x5996ab(0xc4),[_0x394dbb,_0x1fad3d]),this[_0x5996ab(0xad)]();}async['uncheck'](_0x19f80d,_0x7369a9){const _0x415272={_0x140f3e:0x101,_0x48ee3a:0xad},_0x1ba743=_0x294f52;this[_0x1ba743(_0x415272._0x140f3e)](_0x1ba743(0xa4),[_0x19f80d,_0x7369a9]),this[_0x1ba743(_0x415272._0x48ee3a)]();}async['selectOption'](_0x448e70,_0x444f1d,_0x330bc9){const _0x2456ef=_0x294f52;this['record'](_0x2456ef(0x99),[_0x448e70,_0x444f1d,_0x330bc9]),this[_0x2456ef(0xad)]();}async[_0x294f52(0xa7)](_0xb915d,_0x671948){const _0x5d2843={_0x56a3da:0xa7},_0x89592b=_0x294f52;this[_0x89592b(0x101)](_0x89592b(_0x5d2843._0x56a3da),[_0xb915d,_0x671948]),this['maybeThrow']();}async[_0x294f52(0x10c)](_0x3ce1ca){const _0x461319=_0x294f52;this['record']('scrollIntoView',[_0x3ce1ca]),this[_0x461319(0xad)]();}async['dragAndDrop'](_0x3ae8fb,_0x5397ce,_0x2daf7e){const _0x23cb89={_0x1329c9:0xad},_0x358932=_0x294f52;this[_0x358932(0x101)](_0x358932(0xe8),[_0x3ae8fb,_0x5397ce,_0x2daf7e]),this[_0x358932(_0x23cb89._0x1329c9)]();}async[_0x294f52(0xfc)](_0x13a2fa,_0x4bece5){const _0xe9dece={_0x3c0c03:0x101,_0x4d2c56:0xfc},_0x4d43b6=_0x294f52;this[_0x4d43b6(_0xe9dece._0x3c0c03)](_0x4d43b6(_0xe9dece._0x4d2c56),[_0x13a2fa,_0x4bece5]),this[_0x4d43b6(0xad)]();}async[_0x294f52(0xdd)](_0x5ccddf,_0x32807b){const _0x1dd4ea={_0x25d2d1:0xdd,_0x58f63c:0xad},_0x3470c1=_0x294f52;this[_0x3470c1(0x101)](_0x3470c1(_0x1dd4ea._0x25d2d1),[_0x5ccddf,_0x32807b]),this[_0x3470c1(_0x1dd4ea._0x58f63c)]();}async[_0x294f52(0xa3)](_0x26ee83){const _0xd99faa={_0x33e6af:0xb8},_0xadad47=_0x294f52;return this['record'](_0xadad47(0xa3),[_0x26ee83]),this[_0xadad47(0xc2)][_0xadad47(_0xd99faa._0x33e6af)]??0x1;}async['textContent'](_0x5930a4){const _0x1fa6de={_0x433ab2:0x102},_0x4e59f6=_0x294f52;return this[_0x4e59f6(0x101)](_0x4e59f6(0xb3),[_0x5930a4]),this[_0x4e59f6(0xc2)][_0x4e59f6(_0x1fa6de._0x433ab2)]??'';}async['innerText'](_0x2b2394){const _0x144922={_0x204023:0xc2,_0x28cba0:0x102},_0x39a2d0=_0x294f52;return this['record'](_0x39a2d0(0xc6),[_0x2b2394]),this[_0x39a2d0(_0x144922._0x204023)][_0x39a2d0(0xef)]??this['behavior'][_0x39a2d0(_0x144922._0x28cba0)]??'';}async[_0x294f52(0x108)](_0x580c45){const _0x4f525a=_0x294f52;return this[_0x4f525a(0x101)]('inputValue',[_0x580c45]),this['behavior'][_0x4f525a(0xf3)]??'';}async[_0x294f52(0x9d)](_0xb60327){const _0x266956={_0xe2b323:0x9d,_0x4fb359:0xc2,_0x45c27b:0xd6},_0x580a20=_0x294f52;return this['record'](_0x580a20(_0x266956._0xe2b323),[_0xb60327]),this[_0x580a20(_0x266956._0x4fb359)][_0x580a20(_0x266956._0x45c27b)]??null;}async[_0x294f52(0xc8)](_0x203796){const _0x25fb9f={_0x4dc9ba:0x101},_0x2e475f=_0x294f52;return this[_0x2e475f(_0x25fb9f._0x4dc9ba)](_0x2e475f(0xc8),[_0x203796]),this['behavior'][_0x2e475f(0x94)]??!![];}async[_0x294f52(0xc9)](_0x50a08b){const _0x15634a={_0x59a5ab:0xcc},_0x462c16=_0x294f52;return this['record'](_0x462c16(0xc9),[_0x50a08b]),this[_0x462c16(0xc2)][_0x462c16(_0x15634a._0x59a5ab)]??![];}async[_0x294f52(0x8a)](_0x4d0a34,_0xef4e57){const _0x4020e3={_0x506622:0xc2,_0x2a8c79:0x106},_0x1d87c9=_0x294f52;return this[_0x1d87c9(0x101)]('getAttribute',[_0x4d0a34,_0xef4e57]),this[_0x1d87c9(_0x4020e3._0x506622)][_0x1d87c9(_0x4020e3._0x2a8c79)]?.[_0xef4e57]??null;}async['waitFor'](_0x4cbf99,_0x5dc607){const _0x37efc8={_0x3f137a:0xf5},_0x2937e3=_0x294f52;this['record'](_0x2937e3(_0x37efc8._0x3f137a),[_0x4cbf99,_0x5dc607]);}async[_0x294f52(0x103)](_0x85f30e,_0x5517a6){const _0x1dea3a={_0x21f156:0x103},_0x573e88=_0x294f52;this[_0x573e88(0x101)](_0x573e88(_0x1dea3a._0x21f156),[_0x85f30e,_0x5517a6]);}async['waitForText'](_0xe3c8a,_0x19b120){const _0x36fb85={_0x481008:0x101},_0x2d27e1=_0x294f52;this[_0x2d27e1(_0x36fb85._0x481008)]('waitForText',[_0xe3c8a,_0x19b120]);}async['waitForNavigation'](_0x392310){const _0x2a3a2b=_0x294f52;this[_0x2a3a2b(0x101)](_0x2a3a2b(0x95),[_0x392310]);}async[_0x294f52(0xa5)](_0x59baa7,_0x25d24c){const _0x3a499e=_0x294f52;this[_0x3a499e(0x101)](_0x3a499e(0xa5),[_0x59baa7,_0x25d24c]);}async[_0x294f52(0x92)](_0x45275e,_0x48acd7){const _0x55a7ce=_0x294f52;this[_0x55a7ce(0x101)]('goto',[_0x45275e,_0x48acd7]),this['currentUrl']=_0x45275e;}async[_0x294f52(0xcb)](_0x18c16a){const _0x2e18d7=_0x294f52;this[_0x2e18d7(0x101)]('reload',[_0x18c16a]);}async['goBack'](_0x40365b){const _0xf287bb={_0x5c9250:0x101,_0x57d8bb:0xc0},_0x5b4377=_0x294f52;this[_0x5b4377(_0xf287bb._0x5c9250)](_0x5b4377(_0xf287bb._0x57d8bb),[_0x40365b]);}async[_0x294f52(0xce)](_0x8741d5){this['record']('goForward',[_0x8741d5]);}async[_0x294f52(0xdf)](_0x3eb1c6){const _0x531a24={_0x32163f:0x101,_0x2d19ab:0xdf,_0x1dcaa9:0xc2},_0x52a9e4=_0x294f52;return this[_0x52a9e4(_0x531a24._0x32163f)](_0x52a9e4(_0x531a24._0x2d19ab),[_0x3eb1c6]),this[_0x52a9e4(_0x531a24._0x1dcaa9)][_0x52a9e4(0x97)];}async[_0x294f52(0xb6)](_0x433d84,_0x3c1f51){const _0x34e5f9=_0x294f52;return this['record'](_0x34e5f9(0xb6),[_0x433d84,_0x3c1f51]),void 0x0;}async[_0x294f52(0xcf)](_0x187f54){const _0x4b9b83={_0x1937a2:0xcf,_0x227505:0xd3},_0xcde513=_0x294f52;this[_0xcde513(0x101)](_0xcde513(_0x4b9b83._0x1937a2),[_0x187f54]);if(_0x187f54[_0xcde513(0xd3)]['length']!==0x1||_0x187f54[_0xcde513(_0x4b9b83._0x227505)][0x0]['kind']!=='ref')return null;const _0x281f02=_0x187f54[_0xcde513(0xd3)][0x0][_0xcde513(0xe2)],_0xc2911d=this[_0xcde513(0xc2)][_0xcde513(0xb5)]?.[_0x281f02];return _0xc2911d??null;}async[_0x294f52(0xde)](_0x3351b6){const _0x5d3939={_0x34d82f:0x101,_0x4c6904:0xbe,_0x2a8ccf:0xd5},_0x4beb7d=_0x294f52;return this[_0x4beb7d(_0x5d3939._0x34d82f)]('screenshot',[_0x3351b6]),this[_0x4beb7d(_0x5d3939._0x4c6904)](_0x3351b6?.[_0x4beb7d(_0x5d3939._0x2a8ccf)]);}async[_0x294f52(0xe0)](_0x49580e,_0x57908b){const _0x449a30={_0x55af87:0x101,_0x2e5e9f:0xd5},_0x595a99=_0x294f52;return this[_0x595a99(_0x449a30._0x55af87)](_0x595a99(0xe0),[_0x49580e,_0x57908b]),this[_0x595a99(0xbe)](_0x57908b?.[_0x595a99(_0x449a30._0x2e5e9f)]);}[_0x294f52(0xbe)](_0x20ec51){const _0x3cb915={_0x784f5f:0xbe,_0x1f53b4:0xc7,_0x22641a:0xec},_0x231e81=_0x294f52,_0xbfff7b=this[_0x231e81(0xc2)][_0x231e81(_0x3cb915._0x784f5f)];if(_0xbfff7b===void 0x0)return Buffer[_0x231e81(_0x3cb915._0x1f53b4)](_0x231e81(0xaa));return typeof _0xbfff7b===_0x231e81(_0x3cb915._0x22641a)?_0xbfff7b(_0x20ec51):_0xbfff7b;}async['outerHTML'](_0x10c9f8){const _0x1db45b={_0x5cbfdd:0xd3,_0x4611fe:0x8b,_0x47c1b3:0xc2,_0x14caa8:0xff,_0x55be8c:0xfb},_0x293750=_0x294f52;this['record'](_0x293750(0xa8),[_0x10c9f8]);if(_0x10c9f8[_0x293750(_0x1db45b._0x5cbfdd)][_0x293750(0xf7)]===0x1&&_0x10c9f8['steps'][0x0][_0x293750(_0x1db45b._0x4611fe)]==='ref'){const _0x533353=_0x10c9f8['steps'][0x0]['ref'];return this[_0x293750(_0x1db45b._0x47c1b3)][_0x293750(0xfa)]?.[_0x533353]??_0x293750(0xc1)+_0x533353+_0x293750(_0x1db45b._0x14caa8);}return _0x293750(_0x1db45b._0x55be8c);}},FakeContext=class{constructor(_0x5e463c,_0x330a5c,_0x4712ae){const _0x27ae9b={_0x551a8a:0xae,_0x373ec7:0xbc,_0x29a686:0xb1},_0x32765e={_0x3e2396:0xf1},_0x53cac8=_0x294f52;this[_0x53cac8(_0x27ae9b._0x551a8a)]=_0x5e463c,this['behavior']=_0x330a5c,this[_0x53cac8(0xee)]=_0x4712ae;const _0x9458bc=new FakePage(_0x5e463c,_0x330a5c,_0x4712ae+'.page0',_0x330a5c[_0x53cac8(_0x27ae9b._0x373ec7)]??_0x53cac8(0x9c));_0x330a5c[_0x53cac8(_0x27ae9b._0x29a686)]&&(_0x9458bc[_0x53cac8(0xfd)]=()=>{const _0x7a381e=_0x53cac8;this[_0x7a381e(_0x32765e._0x3e2396)](_0x330a5c[_0x7a381e(0xb1)]);}),this['pageList']=[_0x9458bc],this['localStorageState']={..._0x330a5c['localStorage']??{}},this[_0x53cac8(0xd2)]={..._0x330a5c[_0x53cac8(0xa0)]??{}};}['recorder'];['behavior'];[_0x294f52(0xee)];static{__name(this,'FakeContext');}[_0x294f52(0x90)];[_0x294f52(0x8e)]=0x0;[_0x294f52(0xa6)]=[];[_0x294f52(0x10a)];[_0x294f52(0xd2)];[_0x294f52(0xaf)]=new Set();[_0x294f52(0x101)](_0x5a70e0,_0xaa3cf6){const _0x38ed3c={_0x303edc:0xee},_0x2b2cf8=_0x294f52;this['recorder'][_0x2b2cf8(0xbf)]({'scope':this[_0x2b2cf8(_0x38ed3c._0x303edc)],'method':_0x5a70e0,'args':_0xaa3cf6});}[_0x294f52(0xd9)](){const _0x327a49={_0x5bf354:0x90},_0x23a3f6=_0x294f52;return this[_0x23a3f6(_0x327a49._0x5bf354)];}[_0x294f52(0xf9)](){const _0x12a866={_0x1ad65b:0xb0,_0x48449c:0x8e},_0x582d91=_0x294f52,_0x3d3c6e=this[_0x582d91(0x90)][this['activeIdx']];if(!_0x3d3c6e)throw new DriverError(_0x582d91(_0x12a866._0x1ad65b),{'activeIdx':this[_0x582d91(_0x12a866._0x48449c)]});return _0x3d3c6e;}[_0x294f52(0xe7)](){const _0x31363a={_0x5dce71:0xc2,_0x4b093a:0xe7},_0x191cd0=_0x294f52;return this[_0x191cd0(_0x31363a._0x5dce71)][_0x191cd0(_0x31363a._0x4b093a)]??[];}[_0x294f52(0xe6)](){const _0x2f0ca2={_0xf68ee0:0xc2},_0xbc1996=_0x294f52;return this[_0xbc1996(_0x2f0ca2._0xf68ee0)][_0xbc1996(0xe6)]??[];}async[_0x294f52(0xf8)](_0x13f147){const _0x236b8c={_0x312501:0x101,_0x4b85b1:0xf8,_0x336772:0x90,_0x28f8b7:0xf7},_0x86652e=_0x294f52;this[_0x86652e(_0x236b8c._0x312501)](_0x86652e(_0x236b8c._0x4b85b1),[_0x13f147]);if(_0x13f147<0x0||_0x13f147>=this[_0x86652e(0x90)][_0x86652e(0xf7)])throw new DriverError(_0x86652e(0xf4),{'index':_0x13f147,'available':this[_0x86652e(_0x236b8c._0x336772)]['length']});this['activeIdx']=_0x13f147,this[_0x86652e(0xa6)][_0x86652e(_0x236b8c._0x28f8b7)]=0x0;}['onNewPage'](_0x6279fa){const _0x44f6bf={_0x4ddf44:0xaf},_0x4b1d13=_0x294f52;return subscribe(this[_0x4b1d13(_0x44f6bf._0x4ddf44)],_0x6279fa);}[_0x294f52(0xf1)](_0x4255fa){const _0x4bd3fe={_0x47acab:0x90,_0x37fef0:0xf7,_0x2ce800:0xc2,_0x505ca9:0xf7},_0x287db2=_0x294f52,_0x29530a=this['scope']+'.page'+this[_0x287db2(_0x4bd3fe._0x47acab)][_0x287db2(_0x4bd3fe._0x37fef0)],_0x194e1f=new FakePage(this[_0x287db2(0xae)],this[_0x287db2(_0x4bd3fe._0x2ce800)],_0x29530a,_0x4255fa);this['pageList'][_0x287db2(0xbf)](_0x194e1f);const _0x5934f5=this[_0x287db2(0x90)][_0x287db2(_0x4bd3fe._0x505ca9)]-0x1;for(const _0xe921c of this[_0x287db2(0xaf)]){try{_0xe921c({'index':_0x5934f5,'url':_0x4255fa});}catch{}}return _0x5934f5;}['closeFakePage'](_0x556652){const _0x26dfff={_0x57b4f2:0x90,_0x3bda4e:0x10b},_0x39b8d5=_0x294f52;if(_0x556652<0x0||_0x556652>=this[_0x39b8d5(0x90)][_0x39b8d5(0xf7)])throw new DriverError(_0x39b8d5(0xf4),{'index':_0x556652,'available':this[_0x39b8d5(_0x26dfff._0x57b4f2)]['length']});this[_0x39b8d5(0x90)][_0x39b8d5(_0x26dfff._0x3bda4e)](_0x556652,0x1);}async[_0x294f52(0xc3)](_0x5bd102){const _0x27a83b={_0x12d989:0x101,_0x2e8f8e:0xc3,_0x2240b4:0xf7,_0x91a8f9:0x8d},_0xc8d1fa=_0x294f52;this[_0xc8d1fa(_0x27a83b._0x12d989)](_0xc8d1fa(_0x27a83b._0x2e8f8e),[_0x5bd102]);if(!_0x5bd102[_0xc8d1fa(0xd3)][_0xc8d1fa(_0x27a83b._0x2240b4)])throw new LocatorError(_0xc8d1fa(_0x27a83b._0x91a8f9),{'locator':_0x5bd102});this[_0xc8d1fa(0xa6)]['push'](_0x5bd102);}async[_0x294f52(0x98)](){const _0x45a69f={_0x3d3fae:0xe9},_0xd26fa4=_0x294f52;this['record']('exitFrame',[]);if(this[_0xd26fa4(0xa6)][_0xd26fa4(0xf7)]===0x0)throw new DriverError(_0xd26fa4(_0x45a69f._0x3d3fae),{});this[_0xd26fa4(0xa6)][_0xd26fa4(0xa1)]();}async[_0x294f52(0x8c)](_0x2f4400,_0x488aba){const _0x5a5a1e=_0x294f52;this[_0x5a5a1e(0x101)]('setLocalStorage',[_0x2f4400,_0x488aba]),this[_0x5a5a1e(0x10a)][_0x2f4400]=_0x488aba;}async[_0x294f52(0xab)](_0x29a502){const _0x2ab6a8={_0x54388d:0x10a},_0x3359a0=_0x294f52;return this['record'](_0x3359a0(0xab),[_0x29a502]),this[_0x3359a0(_0x2ab6a8._0x54388d)][_0x29a502]??null;}async['setCookie'](_0x4f6b63,_0x453e99,_0x1a6e7f){const _0x5228a9={_0x469ecc:0xd2},_0x2889df=_0x294f52;this[_0x2889df(0x101)]('setCookie',[_0x4f6b63,_0x453e99,_0x1a6e7f]),this[_0x2889df(_0x5228a9._0x469ecc)][_0x4f6b63]=_0x453e99;}async['getCookie'](_0x4b23e7){const _0x2999a6={_0x204b35:0xd2},_0x3720c8=_0x294f52;return this[_0x3720c8(0x101)](_0x3720c8(0xa9),[_0x4b23e7]),this[_0x3720c8(_0x2999a6._0x204b35)][_0x4b23e7]??null;}async[_0x294f52(0xd4)](_0x17c947){const _0x55ef5a=_0x294f52;this[_0x55ef5a(0x101)]('saveStorageState',[_0x17c947]);}async[_0x294f52(0xdf)](_0x500c53){const _0x2aebbb=_0x294f52;return this['record'](_0x2aebbb(0xdf),[_0x500c53]),void 0x0;}async['close'](){const _0x1a9234={_0x4727d1:0xbb},_0x398ce3=_0x294f52;this[_0x398ce3(0x101)](_0x398ce3(_0x1a9234._0x4727d1),[]);}[_0x294f52(0x9f)](){const _0x2ee297=_0x294f52;return this['frameStack'][_0x2ee297(0xf7)];}},FakeWebDriver=class{constructor(_0x4e0b11={}){const _0x121a78={_0xc4e0a0:0xc2},_0x454128=_0x294f52;this[_0x454128(_0x121a78._0xc4e0a0)]=_0x4e0b11,this[_0x454128(0xae)]=createRecorder();}[_0x294f52(0xc2)];static{__name(this,_0x294f52(0xd0));}['launched']=![];[_0x294f52(0xae)];[_0x294f52(0x9e)]=[];async[_0x294f52(0xf6)](_0x3460ea){const _0x1722b2={_0x4885ef:0xae,_0x5bfc74:0xbd,_0x23fd54:0xda},_0x33c82f=_0x294f52;this[_0x33c82f(_0x1722b2._0x4885ef)]['push']({'scope':_0x33c82f(_0x1722b2._0x5bfc74),'method':_0x33c82f(0xf6),'args':[_0x3460ea]}),this[_0x33c82f(_0x1722b2._0x23fd54)]=!![];}async['newContext'](_0xe77cac){const _0x6264f3={_0x3d0ec8:0xbf,_0x5f32c2:0xda,_0x340cc9:0x104,_0x2aa282:0xae,_0x2bd88e:0xf7,_0x48125d:0x9e},_0x2794f4=_0x294f52;this[_0x2794f4(0xae)][_0x2794f4(_0x6264f3._0x3d0ec8)]({'scope':_0x2794f4(0xbd),'method':_0x2794f4(0xe5),'args':[_0xe77cac]});if(!this[_0x2794f4(_0x6264f3._0x5f32c2)])throw new DriverError(_0x2794f4(_0x6264f3._0x340cc9),{});const _0x28e868=new FakeContext(this[_0x2794f4(_0x6264f3._0x2aa282)],this['behavior'],_0x2794f4(0x8f)+this['contexts'][_0x2794f4(_0x6264f3._0x2bd88e)]);return this[_0x2794f4(_0x6264f3._0x48125d)][_0x2794f4(0xbf)](_0x28e868),_0x28e868;}async['close'](){const _0xf0a8f3={_0x356b8e:0xae},_0x1ee912=_0x294f52;this[_0x1ee912(_0xf0a8f3._0x356b8e)]['push']({'scope':'driver','method':'close','args':[]}),this[_0x1ee912(0xda)]=![];}[_0x294f52(0xd8)](){return void 0x0;}async[_0x294f52(0xcd)](){throw new DriverError('connectShared\x20not\x20supported\x20by\x20FakeWebDriver',{});}['attachExisting'](_0x4cb253){const _0x10d513=_0x294f52;throw new DriverError(_0x10d513(0xc5),{});}['calls'](){const _0x515246=_0x294f52;return this[_0x515246(0xae)]['calls']();}[_0x294f52(0xba)](_0x4c339c){const _0x523e65=_0x294f52;return this[_0x523e65(0xae)][_0x523e65(0x9b)]()[_0x523e65(0x105)](_0x37d26f=>_0x37d26f[_0x523e65(0xb9)]===_0x4c339c);}};export{FakeWebDriver};