@unotest/web 0.36.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,143 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.38.0] - 2026-09-17
4
+
5
+ - **Signing in to a box explains itself.** The box's first page now says
6
+ **Sign in to this box** and tells you where the user name and password
7
+ are: on the box's card in your dashboard, as Login and Password.
8
+ Someone who did not rent the box is told to ask whoever runs it. When a
9
+ box offers several ways in, the identity provider comes first and the
10
+ local account's button reads **Box account**.
11
+
12
+ - **A new box says what is missing.** A freshly rented box no longer
13
+ reports "No environment is being served yet". It explains that a box
14
+ serves an environment once a bundle has been pushed to it, and gives
15
+ the one command that does it:
16
+
17
+ npx @unotest/web bundle push --run --env ENVIRONMENT
18
+
19
+ `--env` takes the environment's own name, `prod` rather than
20
+ `project/prod`. The command fits the card and can be read and copied
21
+ whole. The empty environment list and the button that could not be
22
+ pressed are gone.
23
+
24
+ - **Renting a box asks for an address and what runs on it.** A row is one
25
+ **address** and the **environments** on it, added as tags. There is no
26
+ project field: the project is the box's own name, so a box called
27
+ `acme` gets `acme/prod` and `acme/dev`. Refusals name the field inside
28
+ its row and say what to do, such as "Add https:// to the address". A
29
+ row with only half of what it needs counts as unfinished, not wrong.
30
+
31
+ ### Patch Changes
32
+
33
+ - @unotest/core@0.38.0
34
+ - @unotest/dsl@0.38.0
35
+ - @unotest/grounder-client@0.38.0
36
+ - @unotest/protocol@0.38.0
37
+ - @unotest/viewer@0.38.0
38
+
39
+ ## [0.37.0] - 2026-09-17
40
+
41
+ ### Minor Changes
42
+
43
+ - 01fdbcb: `box picker` tells you to restart your editor
44
+
45
+ The grounder's keys are read when the MCP server starts, so turning the
46
+ Picker on under a running editor changed nothing until that editor
47
+ reconnected — and from where you stand that is indistinguishable from a
48
+ Picker that does not work. Either way the agent has nothing to ground an
49
+ intent with, and the only difference is a restart nobody mentioned.
50
+
51
+ `box picker on` now says it in a line of its own, and `box picker off` says
52
+ it too when it removed the keys: a server still running offers grounding
53
+ that the cloud has already withdrawn. The line appears only when the command
54
+ actually wrote or removed those keys — a box already in the state you asked
55
+ for, or a grounder of somebody else's that was left untouched, changes
56
+ nothing and so says nothing.
57
+
58
+ ### Patch Changes
59
+
60
+ - d80cf16: A box that only half came up is no longer called healthy.
61
+
62
+ After an update the box waits for its stack to settle before recording the release as applied. That wait only ever saw the containers docker was running, so a service that never started was not waited for at all — it could not be called unsettled, because it was not in the list. A box whose guard was stuck at `created` reported two services out of four settling, recorded the release, and served nothing; the same shape as a freshly rented box answering 502 to everything.
63
+
64
+ The wait now asks docker about every container rather than only the running ones, and counts what came back against what the project actually declares — a service the daemon never created is absent from any listing, so it can only be found by what is missing from the answer. What the project declares is asked of compose itself rather than read off a file: compose is what merges the override files and applies the profiles, so a service held back by a profile is not waited for, and the same answer says which services are one-shots — the ones another service waits on to complete. A finished one-shot still counts as settled; treating `box-init` as a service that fell over would have sent every box into a rollback on every tick.
65
+
66
+ - 3c634b6: The Picker's token is read from `unotest/.secrets`, where the command put it
67
+
68
+ `box picker on` writes the grounder's mode and address to `unotest/.env` and
69
+ its token to `unotest/.secrets` — and the values in `.secrets` are
70
+ deliberately kept out of the environment, so subprocesses and `shell()` do
71
+ not inherit them. The MCP server, however, looked for the token in the
72
+ environment alone. The command reported success, the `ground_element` tool
73
+ appeared, and the first intent was refused with a demand to set a variable
74
+ that the command had already set. The only workaround anyone could find was
75
+ to paste the token into the editor's MCP configuration, which commits a
76
+ credential to a file that is tracked.
77
+
78
+ Credentials our own commands write are now read back the way they were
79
+ written: the environment first (an `export`, a CI secret), then
80
+ `unotest/.secrets`, then `unotest/.env`. The box tokens already worked this
81
+ way and now share the one implementation with the Picker's.
82
+
83
+ When the token is missing everywhere, the refusal names every place that
84
+ was searched, the command that writes it, and the editor restart that makes
85
+ a running server pick it up.
86
+
87
+ The boot health check no longer disappears in that state either. Remote mode
88
+ with no token used to switch the check off entirely, which reads as "nothing
89
+ to report" — a Picker that could not ground looked exactly like a healthy
90
+ one until an agent called it. It now reports itself as not ok and says why.
91
+
92
+ - 51e47c6: Push tokens are scoped to the project your box actually serves
93
+
94
+ A box rented from the cabinet serves the projects you typed into the form —
95
+ `shop/prod`, say. The CLI, asking for a pair, used to send the BOX's name as
96
+ the project, because that is the only name it has. On a box created with
97
+ `box create` the two happen to match; on a box created in the cabinet they do
98
+ not, and every `bundle push` was refused with "this token is for a project
99
+ this box does not have" — a refusal with no command behind it, since nothing
100
+ told you which projects the box has.
101
+
102
+ The cloud now decides the scope, because it is the only side that knows what
103
+ a box serves. `box create`, `box access` and `box picker on` send no project
104
+ at all and get a pair scoped to the box's own. A box serving several projects
105
+ has no single right answer, so it refuses to invent one and names them
106
+ instead: `box access --project <name>` (new, and also on `box picker on`)
107
+ says which one the pair is for. Tokens minted before this release keep the
108
+ old scope until you run `box access` again — which is what the refusal now
109
+ tells you to do.
110
+
111
+ Two things say the names out loud, so a mismatch is yours to fix:
112
+
113
+ - `box status` lists the projects the box serves.
114
+ - A refused push names the project in your token, the projects on the box,
115
+ and the command that mints a matching pair. It no longer tells you your
116
+ repository maps to another project when your repository maps to nothing —
117
+ the two cases now print different advice, and the box says which is which.
118
+
119
+ - 4c2c744: A revoked box token is really revoked
120
+
121
+ Revoking a box's tokens — `box picker off`, `box destroy`, or a revocation
122
+ an operator issues — writes the cloud's revocation list first and applies it
123
+ in memory second. The list lived in the service's configuration directory,
124
+ which a hardened service mounts read-only, so the write failed, the list in
125
+ memory was never updated, and the signed document that boxes and the
126
+ grounder read never changed. The token went on working across the fleet
127
+ while the command reported success.
128
+
129
+ The list now lives beside the service's databases, in a directory the
130
+ service owns and may write to. It is state the service signs and rewrites
131
+ itself rather than operator configuration — the operator still signs and
132
+ places the first one.
133
+
134
+ - Updated dependencies [51e47c6]
135
+ - @unotest/protocol@0.37.0
136
+ - @unotest/viewer@0.37.0
137
+ - @unotest/core@0.37.0
138
+ - @unotest/dsl@0.37.0
139
+ - @unotest/grounder-client@0.37.0
140
+
3
141
  ## [0.36.0] - 2026-09-16
4
142
 
5
143
  ### Minor Changes
@@ -30,10 +30,10 @@ declare const RetryConfigSchema: z.ZodObject<{
30
30
  on: z.ZodArray<z.ZodEnum<["transient", "network", "crash"]>, "many">;
31
31
  }, "strip", z.ZodTypeAny, {
32
32
  count: number;
33
- on: ("transient" | "network" | "crash")[];
33
+ on: ("network" | "transient" | "crash")[];
34
34
  }, {
35
35
  count: number;
36
- on: ("transient" | "network" | "crash")[];
36
+ on: ("network" | "transient" | "crash")[];
37
37
  }>;
38
38
  type RetryConfig = z.infer<typeof RetryConfigSchema>;
39
39
  declare const FailureBundleConfigSchema: z.ZodObject<{
@@ -215,15 +215,15 @@ declare const WebServerConfigSchema: z.ZodObject<{
215
215
  /** How long to wait for the URL to come up after spawning. */
216
216
  timeoutMs: z.ZodDefault<z.ZodNumber>;
217
217
  }, "strip", z.ZodTypeAny, {
218
- command: string;
219
218
  url: string;
220
- reuseExistingServer: boolean;
221
219
  timeoutMs: number;
222
- }, {
223
220
  command: string;
221
+ reuseExistingServer: boolean;
222
+ }, {
224
223
  url: string;
225
- reuseExistingServer?: boolean | undefined;
224
+ command: string;
226
225
  timeoutMs?: number | undefined;
226
+ reuseExistingServer?: boolean | undefined;
227
227
  }>;
228
228
  type WebServerConfig = z.infer<typeof WebServerConfigSchema>;
229
229
  declare const UnotestConfigSchema: z.ZodObject<{
@@ -249,15 +249,15 @@ declare const UnotestConfigSchema: z.ZodObject<{
249
249
  /** How long to wait for the URL to come up after spawning. */
250
250
  timeoutMs: z.ZodDefault<z.ZodNumber>;
251
251
  }, "strip", z.ZodTypeAny, {
252
- command: string;
253
252
  url: string;
254
- reuseExistingServer: boolean;
255
253
  timeoutMs: number;
256
- }, {
257
254
  command: string;
255
+ reuseExistingServer: boolean;
256
+ }, {
258
257
  url: string;
259
- reuseExistingServer?: boolean | undefined;
258
+ command: string;
260
259
  timeoutMs?: number | undefined;
260
+ reuseExistingServer?: boolean | undefined;
261
261
  }>>;
262
262
  browsers: z.ZodArray<z.ZodEnum<["chromium", "firefox", "webkit"]>, "many">;
263
263
  channel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"chrome">, z.ZodLiteral<"msedge">, z.ZodLiteral<"chrome-beta">, z.ZodNull]>>;
@@ -276,10 +276,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
276
276
  on: z.ZodArray<z.ZodEnum<["transient", "network", "crash"]>, "many">;
277
277
  }, "strip", z.ZodTypeAny, {
278
278
  count: number;
279
- on: ("transient" | "network" | "crash")[];
279
+ on: ("network" | "transient" | "crash")[];
280
280
  }, {
281
281
  count: number;
282
- on: ("transient" | "network" | "crash")[];
282
+ on: ("network" | "transient" | "crash")[];
283
283
  }>;
284
284
  failureBundle: z.ZodObject<{
285
285
  /** Tier 1 is always on by D-16. Schema lock — not user-toggleable. */
@@ -461,7 +461,7 @@ declare const UnotestConfigSchema: z.ZodObject<{
461
461
  };
462
462
  retry: {
463
463
  count: number;
464
- on: ("transient" | "network" | "crash")[];
464
+ on: ("network" | "transient" | "crash")[];
465
465
  };
466
466
  failureBundle: {
467
467
  tier1: true;
@@ -508,10 +508,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
508
508
  };
509
509
  baseUrl?: string | undefined;
510
510
  webServer?: {
511
- command: string;
512
511
  url: string;
513
- reuseExistingServer: boolean;
514
512
  timeoutMs: number;
513
+ command: string;
514
+ reuseExistingServer: boolean;
515
515
  } | undefined;
516
516
  channel?: "chrome" | "msedge" | "chrome-beta" | null | undefined;
517
517
  storageState?: string | undefined;
@@ -523,7 +523,7 @@ declare const UnotestConfigSchema: z.ZodObject<{
523
523
  };
524
524
  retry: {
525
525
  count: number;
526
- on: ("transient" | "network" | "crash")[];
526
+ on: ("network" | "transient" | "crash")[];
527
527
  };
528
528
  failureBundle: {
529
529
  tier2: boolean;
@@ -564,10 +564,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
564
564
  };
565
565
  baseUrl?: string | undefined;
566
566
  webServer?: {
567
- command: string;
568
567
  url: string;
569
- reuseExistingServer?: boolean | undefined;
568
+ command: string;
570
569
  timeoutMs?: number | undefined;
570
+ reuseExistingServer?: boolean | undefined;
571
571
  } | undefined;
572
572
  channel?: "chrome" | "msedge" | "chrome-beta" | null | undefined;
573
573
  storageState?: string | undefined;
@@ -1 +1 @@
1
- var _0x13ebbd=_0x4c50;(function(_0x541195,_0x4eac01){var _0x2fe752={_0x462be5:0x178,_0x4b0de2:0x162,_0x2a8d31:0x14b,_0x1d112e:0x14d,_0x588b0e:0x154,_0x4f0741:0x157,_0x12a20b:0x15a},_0x1b9c20=_0x4c50,_0x217e72=_0x541195();while(!![]){try{var _0x2fdd8f=parseInt(_0x1b9c20(_0x2fe752._0x462be5))/0x1*(parseInt(_0x1b9c20(0x17f))/0x2)+parseInt(_0x1b9c20(_0x2fe752._0x4b0de2))/0x3+-parseInt(_0x1b9c20(_0x2fe752._0x2a8d31))/0x4*(parseInt(_0x1b9c20(_0x2fe752._0x1d112e))/0x5)+-parseInt(_0x1b9c20(0x185))/0x6*(parseInt(_0x1b9c20(0x169))/0x7)+-parseInt(_0x1b9c20(0x152))/0x8*(-parseInt(_0x1b9c20(0x16c))/0x9)+-parseInt(_0x1b9c20(_0x2fe752._0x588b0e))/0xa*(parseInt(_0x1b9c20(_0x2fe752._0x4f0741))/0xb)+parseInt(_0x1b9c20(_0x2fe752._0x12a20b))/0xc;if(_0x2fdd8f===_0x4eac01)break;else _0x217e72['push'](_0x217e72['shift']());}catch(_0x29ab6c){_0x217e72['push'](_0x217e72['shift']());}}}(_0x372c,0x74294));import{z}from'zod';var BrowserSchema=z[_0x13ebbd(0x176)]([_0x13ebbd(0x14c),_0x13ebbd(0x163),_0x13ebbd(0x14f)]),BrowserChannelSchema=z[_0x13ebbd(0x17d)]([z[_0x13ebbd(0x16a)]('chrome'),z['literal'](_0x13ebbd(0x166)),z[_0x13ebbd(0x16a)]('chrome-beta'),z[_0x13ebbd(0x158)]()])[_0x13ebbd(0x16b)](),ViewportSchema=z[_0x13ebbd(0x168)]({'width':z[_0x13ebbd(0x175)]()[_0x13ebbd(0x15c)]()['positive'](),'height':z['number']()[_0x13ebbd(0x15c)]()[_0x13ebbd(0x172)]()}),RetryReasonSchema=z[_0x13ebbd(0x176)](['transient','network',_0x13ebbd(0x17c)]),RetryConfigSchema=z[_0x13ebbd(0x168)]({'count':z[_0x13ebbd(0x175)]()[_0x13ebbd(0x15c)]()[_0x13ebbd(0x15d)](0x0)['max'](0xa),'on':z[_0x13ebbd(0x165)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x13ebbd(0x168)]({'tier1':z[_0x13ebbd(0x16a)](!![])[_0x13ebbd(0x16d)](!![]),'tier2':z['boolean'](),'tier3':z['object']({'network':z['boolean'](),'video':z[_0x13ebbd(0x182)]()}),'retention':z[_0x13ebbd(0x168)]({'runs':z['number']()['int']()[_0x13ebbd(0x172)](),'days':z[_0x13ebbd(0x175)]()[_0x13ebbd(0x15c)]()[_0x13ebbd(0x172)]()}),'storageDir':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1)}),DialogPolicySchema=z['enum']([_0x13ebbd(0x17a),'dismiss',_0x13ebbd(0x183)]),LinterRuleIdSchema=z[_0x13ebbd(0x176)](['lint:deep-css','lint:xpath',_0x13ebbd(0x16f),'lint:pause-explicit',_0x13ebbd(0x184),'lint:evaluate-discouraged',_0x13ebbd(0x17b),'lint:mustache-in-dsl','lint:goto-concat','lint:regex-invalid',_0x13ebbd(0x160),_0x13ebbd(0x177),'lint:lint-ok-missing-reason','lint:flow-returns-value',_0x13ebbd(0x174),_0x13ebbd(0x167),_0x13ebbd(0x15b),'validator:unknown-function','validator:arity',_0x13ebbd(0x150),_0x13ebbd(0x159),_0x13ebbd(0x14e),_0x13ebbd(0x155),_0x13ebbd(0x179),_0x13ebbd(0x161),'validator:if-shape',_0x13ebbd(0x173),'validator:unsupported-statement',_0x13ebbd(0x186),_0x13ebbd(0x16e),_0x13ebbd(0x15f),_0x13ebbd(0x171),_0x13ebbd(0x153)]),LinterSeveritySchema=z[_0x13ebbd(0x176)]([_0x13ebbd(0x151),_0x13ebbd(0x170),_0x13ebbd(0x17e)]),LinterConfigSchema=z[_0x13ebbd(0x168)]({'enabled':z[_0x13ebbd(0x182)](),'rules':z[_0x13ebbd(0x156)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z[_0x13ebbd(0x168)]({'enabled':z[_0x13ebbd(0x182)]()[_0x13ebbd(0x16d)](!![]),'concurrency':z[_0x13ebbd(0x175)]()[_0x13ebbd(0x15c)]()[_0x13ebbd(0x172)]()[_0x13ebbd(0x16d)](0x1)}),ScheduleSchema=z[_0x13ebbd(0x168)]({'collection':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1),'cron':z[_0x13ebbd(0x181)]()['min'](0x1),'env':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1)['optional'](),'prepare':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1)[_0x13ebbd(0x16b)]()}),McpConfigSchema=z[_0x13ebbd(0x168)]({'transport':z['literal'](_0x13ebbd(0x15e))}),SandboxConfigSchema=z[_0x13ebbd(0x168)]({'shellCwd':z['string']()['optional'](),'shellTimeoutMs':z[_0x13ebbd(0x175)]()[_0x13ebbd(0x15c)]()['positive']()['optional'](),'exportSecrets':z['array'](z[_0x13ebbd(0x181)]())[_0x13ebbd(0x16b)](),'database':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x16b)](),'apiBaseUrl':z[_0x13ebbd(0x181)]()['url']()[_0x13ebbd(0x16b)](),'uploadDir':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x16b)]()}),WebServerConfigSchema=z[_0x13ebbd(0x168)]({'command':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1),'url':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x180)](),'reuseExistingServer':z[_0x13ebbd(0x182)]()[_0x13ebbd(0x16d)](!![]),'timeoutMs':z[_0x13ebbd(0x175)]()['int']()[_0x13ebbd(0x172)]()[_0x13ebbd(0x16d)](0xea60)}),UnotestConfigSchema=z['object']({'baseUrl':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x180)]()[_0x13ebbd(0x16b)](),'webServer':WebServerConfigSchema['optional'](),'browsers':z[_0x13ebbd(0x165)](BrowserSchema)[_0x13ebbd(0x15d)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x13ebbd(0x181)]()['optional'](),'testDir':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1),'helpersDir':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1),'defaultTimeoutMs':z['number']()[_0x13ebbd(0x15c)]()[_0x13ebbd(0x172)](),'defaultNavigationTimeoutMs':z[_0x13ebbd(0x175)]()[_0x13ebbd(0x15c)]()[_0x13ebbd(0x172)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z[_0x13ebbd(0x165)](ScheduleSchema)[_0x13ebbd(0x16d)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x13ebbd(0x14c)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x13ebbd(0x164)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':'.unotest/failures'},'dialogPolicy':_0x13ebbd(0x17a),'testDir':'unotest/e2e','helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x13ebbd(0x170),'lint:xpath':_0x13ebbd(0x170),'lint:obfuscated-class':_0x13ebbd(0x170),'lint:pause-explicit':_0x13ebbd(0x170),'lint:disambig-by-index':_0x13ebbd(0x151),'lint:evaluate-discouraged':'warn','lint:scenario-in-root':_0x13ebbd(0x17e),'lint:mustache-in-dsl':_0x13ebbd(0x17e),'lint:goto-concat':'warn','lint:regex-invalid':_0x13ebbd(0x17e),'lint:echo-assert':'warn','lint:lint-ok-missing-reason':_0x13ebbd(0x170),'lint:flow-returns-value':_0x13ebbd(0x170),'lint:legacy-layout':_0x13ebbd(0x170),'lint:external-variable-undeclared':_0x13ebbd(0x17e),'lint:one-test-per-file':_0x13ebbd(0x170),'validator:unknown-function':_0x13ebbd(0x17e)}},'mcp':{'transport':_0x13ebbd(0x15e)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};function _0x4c50(_0x5fa879,_0x8b3189){_0x5fa879=_0x5fa879-0x14b;var _0x372c65=_0x372c();var _0x4c5009=_0x372c65[_0x5fa879];if(_0x4c50['RNGGeE']===undefined){var _0x1d1e9e=function(_0x5616b5){var _0x37b55c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x27d389='',_0x3cfb69='';for(var _0x5d3762=0x0,_0x2a42bf,_0xa0e0f2,_0x3c450e=0x0;_0xa0e0f2=_0x5616b5['charAt'](_0x3c450e++);~_0xa0e0f2&&(_0x2a42bf=_0x5d3762%0x4?_0x2a42bf*0x40+_0xa0e0f2:_0xa0e0f2,_0x5d3762++%0x4)?_0x27d389+=String['fromCharCode'](0xff&_0x2a42bf>>(-0x2*_0x5d3762&0x6)):0x0){_0xa0e0f2=_0x37b55c['indexOf'](_0xa0e0f2);}for(var _0x24a124=0x0,_0x513474=_0x27d389['length'];_0x24a124<_0x513474;_0x24a124++){_0x3cfb69+='%'+('00'+_0x27d389['charCodeAt'](_0x24a124)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3cfb69);};_0x4c50['XppIUv']=_0x1d1e9e,_0x4c50['oFPjSn']={},_0x4c50['RNGGeE']=!![];}var _0x35e273=_0x372c65[0x0],_0x65d4b0=_0x5fa879+_0x35e273,_0x34bd76=_0x4c50['oFPjSn'][_0x65d4b0];return!_0x34bd76?(_0x4c5009=_0x4c50['XppIUv'](_0x4c5009),_0x4c50['oFPjSn'][_0x65d4b0]=_0x4c5009):_0x4c5009=_0x34bd76,_0x4c5009;}export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};function _0x372c(){var _0x326dee=['nti1nZCYmwjrCMTXBq','BgL0zxjHBa','B3b0Aw9UywW','ovDQB3fyAq','zgvMyxvSDa','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','D2fYBG','DMfSAwrHDg9YoMXPC3qTyxjN','Cg9ZAxrPDMu','DMfSAwrHDg9YoNzHCI1ZAgfWzq','BgLUDdPSzwDHy3KTBgf5B3v0','BNvTyMvY','zw51Bq','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','mJy1mZe4sfzsvxrl','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','ywnJzxb0','BgLUDdPZy2vUyxjPBY1PBI1YB290','y3jHC2G','Dw5PB24','zxjYB3i','mK1Zu2Xbzq','DxjS','C3rYAw5N','yM9VBgvHBG','BwfUDwfS','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','nKfjuMTHEa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','mZmZmZjnsvrKq0G','y2HYB21PDw0','nJvqt3nOqxK','DMfSAwrHDg9YoNn0zxaTC2HHCgu','D2vIA2L0','DMfSAwrHDg9YoMfYzY1RAw5K','B2zM','mJaWodGWog9lq1vzEa','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','mJC1otbSDLnhrei','DMfSAwrHDg9YoM1LDgeTC2HHCgu','CMvJB3jK','odGWwLH5q1r2','BNvSBa','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','mtu3mdqYoe9KCvLQDq','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq','Aw50','BwLU','C3rKAw8','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','BgLUDdPLy2HVlwfZC2vYDa','DMfSAwrHDg9YoMzVCI1ZAgfWzq','mJCYntK4mfD5t2jstW','zMLYzwzVEa','DhjHBNnPzw50','yxjYyxK','BxnLzgDL','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','B2jQzwn0'];_0x372c=function(){return _0x326dee;};return _0x372c();}
1
+ function _0x3c90(){var _0x6d5940=['DhjHBNnPzw50','y3jHC2G','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','yM9VBgvHBG','mLPTu3HJsa','BgLUDdP4Cgf0Aa','B3b0Aw9UywW','CMvJB3jK','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','oda1vhbiCefS','BwLU','B2jQzwn0','y2HYB21L','BgLUDdPLy2HVlwfZC2vYDa','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','D2vIA2L0','zxjYB3i','Dw5PB24','DMfSAwrHDg9YoMzVCI1ZAgfWzq','DMfSAwrHDg9YoNzHCI1ZAgfWzq','DMfSAwrHDg9YoNn0zxaTC2HHCgu','zMLYzwzVEa','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','DxjS','BMv0D29YAW','Aw50','nZG2uuzoCfbQ','mtbXAM9KyKC','C3rYAw5N','BxnLzgDL','D2fYBG','DMfSAwrHDg9YoMXPC3qTyxjN','y2HYB21PDw0','Cg9ZAxrPDMu','mJuZmdi0s2XhAg9n','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','BgLUDdPZy2vUyxjPBY1PBI1YB290','mtiZmZy4nJnmrKjuqxe','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','BgL0zxjHBa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','mtK3ndmZnKXevM5QEa','BgLUDdPKzwvWlwnZCW','ntu3odKYm2nov2LizG','BgLUDdPNB3rVlwnVBMnHDa','BgLUDdPYzwDLEc1PBNzHBgLK','C3rKAw8','y2HYB21LlwjLDge','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','B2zM','BgLUDdPSzwDHy3KTBgf5B3v0','ndi0otqZmuner2rRua','BNvTyMvY','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','DMfSAwrHDg9YoM1LDgeTC2HHCgu','lNvUB3rLC3qVzMfPBhvYzxm','yxjYyxK','DMfSAwrHDg9YoMfYzY1RAw5K','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','DMfSAwrHDg9YoMfYAxr5','nJy3ntu5tursDfb1','BNvSBa','zw51Bq','mJDdALfYDfq','zgvMyxvSDa'];_0x3c90=function(){return _0x6d5940;};return _0x3c90();}var _0x70c71e=_0x500b;(function(_0x5188e1,_0x2c14e3){var _0x53f3f4={_0x2323a4:0x1d2,_0x2f3f15:0x1d5,_0x118ff4:0x19e,_0x516ed9:0x1b0,_0x4a8139:0x1b1},_0x2eb4bd=_0x500b,_0x517a58=_0x5188e1();while(!![]){try{var _0x24744f=-parseInt(_0x2eb4bd(_0x53f3f4._0x2323a4))/0x1*(parseInt(_0x2eb4bd(0x1db))/0x2)+parseInt(_0x2eb4bd(_0x53f3f4._0x2f3f15))/0x3*(parseInt(_0x2eb4bd(0x1b8))/0x4)+-parseInt(_0x2eb4bd(_0x53f3f4._0x118ff4))/0x5*(parseInt(_0x2eb4bd(_0x53f3f4._0x516ed9))/0x6)+-parseInt(_0x2eb4bd(0x1c1))/0x7+-parseInt(_0x2eb4bd(0x1bf))/0x8+-parseInt(_0x2eb4bd(0x1c9))/0x9*(-parseInt(_0x2eb4bd(_0x53f3f4._0x4a8139))/0xa)+parseInt(_0x2eb4bd(0x1bb))/0xb;if(_0x24744f===_0x2c14e3)break;else _0x517a58['push'](_0x517a58['shift']());}catch(_0x4a8189){_0x517a58['push'](_0x517a58['shift']());}}}(_0x3c90,0x691e5));function _0x500b(_0x390083,_0x4d00a6){_0x390083=_0x390083-0x19a;var _0x3c9053=_0x3c90();var _0x500b8a=_0x3c9053[_0x390083];if(_0x500b['WBVHae']===undefined){var _0x4233cf=function(_0x8dfc2b){var _0x152376='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2308b2='',_0xaba295='';for(var _0x4f35a9=0x0,_0x2e854c,_0x38f977,_0x22062d=0x0;_0x38f977=_0x8dfc2b['charAt'](_0x22062d++);~_0x38f977&&(_0x2e854c=_0x4f35a9%0x4?_0x2e854c*0x40+_0x38f977:_0x38f977,_0x4f35a9++%0x4)?_0x2308b2+=String['fromCharCode'](0xff&_0x2e854c>>(-0x2*_0x4f35a9&0x6)):0x0){_0x38f977=_0x152376['indexOf'](_0x38f977);}for(var _0x49d4b6=0x0,_0x36be93=_0x2308b2['length'];_0x49d4b6<_0x36be93;_0x49d4b6++){_0xaba295+='%'+('00'+_0x2308b2['charCodeAt'](_0x49d4b6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xaba295);};_0x500b['ahiUbk']=_0x4233cf,_0x500b['joHCTu']={},_0x500b['WBVHae']=!![];}var _0x63acc7=_0x3c9053[0x0],_0x151ae0=_0x390083+_0x63acc7,_0x2f30a8=_0x500b['joHCTu'][_0x151ae0];return!_0x2f30a8?(_0x500b8a=_0x500b['ahiUbk'](_0x500b8a),_0x500b['joHCTu'][_0x151ae0]=_0x500b8a):_0x500b8a=_0x2f30a8,_0x500b8a;}import{z}from'zod';var BrowserSchema=z[_0x70c71e(0x1d4)]([_0x70c71e(0x1b6),_0x70c71e(0x1aa),_0x70c71e(0x1a4)]),BrowserChannelSchema=z[_0x70c71e(0x1a6)]([z[_0x70c71e(0x1bd)](_0x70c71e(0x1a1)),z[_0x70c71e(0x1bd)](_0x70c71e(0x1b3)),z['literal'](_0x70c71e(0x1c5)),z[_0x70c71e(0x1d3)]()])['optional'](),ViewportSchema=z[_0x70c71e(0x1a0)]({'width':z[_0x70c71e(0x1ca)]()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)](),'height':z['number']()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)]()}),RetryReasonSchema=z['enum']([_0x70c71e(0x1d7),_0x70c71e(0x1ae),_0x70c71e(0x1d8)]),RetryConfigSchema=z[_0x70c71e(0x1a0)]({'count':z['number']()['int']()[_0x70c71e(0x19f)](0x0)['max'](0xa),'on':z[_0x70c71e(0x1ce)](RetryReasonSchema)}),FailureBundleConfigSchema=z['object']({'tier1':z[_0x70c71e(0x1bd)](!![])[_0x70c71e(0x1d6)](!![]),'tier2':z[_0x70c71e(0x1da)](),'tier3':z[_0x70c71e(0x1a0)]({'network':z[_0x70c71e(0x1da)](),'video':z[_0x70c71e(0x1da)]()}),'retention':z[_0x70c71e(0x1a0)]({'runs':z['number']()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)](),'days':z['number']()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)]()}),'storageDir':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1)}),DialogPolicySchema=z[_0x70c71e(0x1d4)](['accept','dismiss','manual']),LinterRuleIdSchema=z['enum']([_0x70c71e(0x1c0),_0x70c71e(0x19a),_0x70c71e(0x1bc),'lint:pause-explicit','lint:disambig-by-index',_0x70c71e(0x1d0),_0x70c71e(0x1ba),'lint:mustache-in-dsl',_0x70c71e(0x1c2),_0x70c71e(0x1c3),_0x70c71e(0x1a2),_0x70c71e(0x1ab),'lint:lint-ok-missing-reason',_0x70c71e(0x19d),_0x70c71e(0x1c8),_0x70c71e(0x1a3),'lint:one-test-per-file',_0x70c71e(0x1c6),_0x70c71e(0x1d1),_0x70c71e(0x1cf),_0x70c71e(0x1b9),_0x70c71e(0x1a9),_0x70c71e(0x1cc),_0x70c71e(0x1ac),_0x70c71e(0x1a7),'validator:if-shape',_0x70c71e(0x1a8),_0x70c71e(0x1cb),_0x70c71e(0x1be),'validator:string-concat','validator:semantic-loss',_0x70c71e(0x1b5),_0x70c71e(0x1d9)]),LinterSeveritySchema=z[_0x70c71e(0x1d4)]([_0x70c71e(0x1c7),_0x70c71e(0x1b4),_0x70c71e(0x1a5)]),LinterConfigSchema=z[_0x70c71e(0x1a0)]({'enabled':z['boolean'](),'rules':z[_0x70c71e(0x19c)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z['object']({'enabled':z['boolean']()[_0x70c71e(0x1d6)](!![]),'concurrency':z[_0x70c71e(0x1ca)]()['int']()['positive']()[_0x70c71e(0x1d6)](0x1)}),ScheduleSchema=z[_0x70c71e(0x1a0)]({'collection':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'cron':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'env':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1)[_0x70c71e(0x19b)](),'prepare':z[_0x70c71e(0x1b2)]()['min'](0x1)[_0x70c71e(0x19b)]()}),McpConfigSchema=z[_0x70c71e(0x1a0)]({'transport':z[_0x70c71e(0x1bd)](_0x70c71e(0x1c4))}),SandboxConfigSchema=z['object']({'shellCwd':z[_0x70c71e(0x1b2)]()['optional'](),'shellTimeoutMs':z[_0x70c71e(0x1ca)]()['int']()['positive']()[_0x70c71e(0x19b)](),'exportSecrets':z[_0x70c71e(0x1ce)](z[_0x70c71e(0x1b2)]())['optional'](),'database':z[_0x70c71e(0x1b2)]()['optional'](),'apiBaseUrl':z[_0x70c71e(0x1b2)]()['url']()[_0x70c71e(0x19b)](),'uploadDir':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19b)]()}),WebServerConfigSchema=z[_0x70c71e(0x1a0)]({'command':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'url':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x1ad)](),'reuseExistingServer':z[_0x70c71e(0x1da)]()[_0x70c71e(0x1d6)](!![]),'timeoutMs':z[_0x70c71e(0x1ca)]()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)]()['default'](0xea60)}),UnotestConfigSchema=z[_0x70c71e(0x1a0)]({'baseUrl':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x1ad)]()[_0x70c71e(0x19b)](),'webServer':WebServerConfigSchema[_0x70c71e(0x19b)](),'browsers':z[_0x70c71e(0x1ce)](BrowserSchema)[_0x70c71e(0x19f)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19b)](),'testDir':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'helpersDir':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'defaultTimeoutMs':z[_0x70c71e(0x1ca)]()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)](),'defaultNavigationTimeoutMs':z[_0x70c71e(0x1ca)]()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z[_0x70c71e(0x1ce)](ScheduleSchema)[_0x70c71e(0x1d6)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x70c71e(0x1b6)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x70c71e(0x1d7)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x70c71e(0x1cd)},'dialogPolicy':'accept','testDir':'unotest/e2e','helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':'warn','lint:xpath':'warn','lint:obfuscated-class':'warn','lint:pause-explicit':_0x70c71e(0x1b4),'lint:disambig-by-index':'off','lint:evaluate-discouraged':_0x70c71e(0x1b4),'lint:scenario-in-root':_0x70c71e(0x1a5),'lint:mustache-in-dsl':_0x70c71e(0x1a5),'lint:goto-concat':_0x70c71e(0x1b4),'lint:regex-invalid':_0x70c71e(0x1a5),'lint:echo-assert':_0x70c71e(0x1b4),'lint:lint-ok-missing-reason':_0x70c71e(0x1b4),'lint:flow-returns-value':_0x70c71e(0x1b4),'lint:legacy-layout':'warn','lint:external-variable-undeclared':_0x70c71e(0x1a5),'lint:one-test-per-file':_0x70c71e(0x1b4),'validator:unknown-function':_0x70c71e(0x1a5)}},'mcp':{'transport':_0x70c71e(0x1c4)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
@@ -1 +1 @@
1
- const _0x5c6c84=_0xb7a9;(function(_0x51e34e,_0x3f992e){const _0x6fcf81={_0x572cea:0x18b,_0x4eb11e:0x186},_0x16cd2f=_0xb7a9,_0x349721=_0x51e34e();while(!![]){try{const _0x44ee88=-parseInt(_0x16cd2f(0x161))/0x1+parseInt(_0x16cd2f(0x173))/0x2*(parseInt(_0x16cd2f(0x16e))/0x3)+parseInt(_0x16cd2f(_0x6fcf81._0x572cea))/0x4+parseInt(_0x16cd2f(_0x6fcf81._0x4eb11e))/0x5*(parseInt(_0x16cd2f(0x13a))/0x6)+-parseInt(_0x16cd2f(0x12e))/0x7*(-parseInt(_0x16cd2f(0x13f))/0x8)+-parseInt(_0x16cd2f(0x159))/0x9+parseInt(_0x16cd2f(0x150))/0xa;if(_0x44ee88===_0x3f992e)break;else _0x349721['push'](_0x349721['shift']());}catch(_0x431f25){_0x349721['push'](_0x349721['shift']());}}}(_0x4173,0x493d3));function _0xb7a9(_0xe70991,_0x492c2f){_0xe70991=_0xe70991-0x11a;const _0x417371=_0x4173();let _0xb7a921=_0x417371[_0xe70991];if(_0xb7a9['AxfAVi']===undefined){var _0x4490bc=function(_0x561c7d){const _0x4dcaf0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3ed2c1='',_0x2e8c2c='';for(let _0x55c5ad=0x0,_0x462187,_0x6c9867,_0x1ba077=0x0;_0x6c9867=_0x561c7d['charAt'](_0x1ba077++);~_0x6c9867&&(_0x462187=_0x55c5ad%0x4?_0x462187*0x40+_0x6c9867:_0x6c9867,_0x55c5ad++%0x4)?_0x3ed2c1+=String['fromCharCode'](0xff&_0x462187>>(-0x2*_0x55c5ad&0x6)):0x0){_0x6c9867=_0x4dcaf0['indexOf'](_0x6c9867);}for(let _0x4b89a6=0x0,_0x2f23b6=_0x3ed2c1['length'];_0x4b89a6<_0x2f23b6;_0x4b89a6++){_0x2e8c2c+='%'+('00'+_0x3ed2c1['charCodeAt'](_0x4b89a6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2e8c2c);};_0xb7a9['zibEsP']=_0x4490bc,_0xb7a9['bOFLuq']={},_0xb7a9['AxfAVi']=!![];}const _0x256b91=_0x417371[0x0],_0x460db5=_0xe70991+_0x256b91,_0x1a81cb=_0xb7a9['bOFLuq'][_0x460db5];return!_0x1a81cb?(_0xb7a921=_0xb7a9['zibEsP'](_0xb7a921),_0xb7a9['bOFLuq'][_0x460db5]=_0xb7a921):_0xb7a921=_0x1a81cb,_0xb7a921;}var __defProp=Object[_0x5c6c84(0x11d)],__name=(_0x3ed2c1,_0x2e8c2c)=>__defProp(_0x3ed2c1,_0x5c6c84(0x134),{'value':_0x2e8c2c,'configurable':!![]});function subscribe(_0x55c5ad,_0x462187){const _0x1e2a14=_0x5c6c84;return _0x55c5ad[_0x1e2a14(0x174)](_0x462187),()=>{const _0xe473c2=_0x1e2a14;_0x55c5ad[_0xe473c2(0x11f)](_0x462187);};}__name(subscribe,_0x5c6c84(0x17b));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x5c6c84(0x15d));}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function _0x4173(){const _0x1e91a0=['y2XVC2u','y29VA2LLu3rHDgu','iJ48l2rPDJ4','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','mtq1oteXmNjfzejHsG','z2v0qxr0CMLIDxrL','Bgf1BMnOzwq','y291BNrcEurLzMf1Bhq','zhjPDMvY','zxjYB3jpBK5LEhrby3rPB24','y2XPCgjVyxjKugfZDgu','CMvJB3jKzxi','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','A2LUza','BgvUz3rO','zw1PDezHA2vqB3b1Ca','CgfNzxm','Cg9W','zxHPDezYyw1L','BMv3q29UDgv4Da','z29gB3j3yxjK','C2f2zvn0B3jHz2vtDgf0zq','zgvMAw5LuhjVCgvYDhK','z2v0q29VA2LL','zgvSzxrL','Bgf1BMnO','y2fSBhm','Cg9WDxbpBKnSAwnR','Aw5WDxrwywX1zq','y2XVC2vgywTLugfNzq','zNjHBwvtDgfJAW','y3vYCMvUDfvYBa','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','CMvSB2fK','z2v0tg9JywXtDg9YywDL','yxr0ywnOrxHPC3rPBMC','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','zMLSBa','zNvUy3rPB24','mJqXnZi0uM5LvuXe','CgfNzuXPC3q','y291BNq','D2fPDezVCKXVywrtDgf0zq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','zg91yMXLq2XPy2S','BMfTzq','zMLSDgvY','BMv0D29YA0vUDhjPzxm','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','Dw5JAgvJAW','Bg9JywXtDg9YywDLu3rHDgu','mJK0nLDuy3veqW','zhjHz0fUzerYB3a','B25ozxDqywDL','pgrPDJ48l2rPDJ4','DgL0Bgu','mZjiDg5lyuG','ywn0AxzLswr4','C3rLChm','D2fPDezVCLrLEhq','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','y29UDgv4Dhm','y2HLy2S','zw50zxjgCMfTzq','y2HLy2TLzfn0yxrL','rMfRzunVBNrLEhq','z29cywnR','C2v0q29VA2LL','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','Aw5UzxjuzxH0','ChvZAa','C2nYzwvUC2HVDa','yMvOyxzPB3i','mtmYmtu5mfjcD0nWuW','B25bzNrLCKnSAwnR','D2fPDezVCLvYBa','C2nVCgu','C2v0qwn0AxzLugfNzq','zNjVBq','D2fPDezVCG','AxnwAxnPyMXL','zMfRzs1WBMC','nde2ota1mMDOvNDpAq','C2vSzwn0t3b0Aw9U','y2XPy2S','C3bSAwnL','rhjPDMvYrxjYB3i','B3v0zxjiDg1SqNLszwy','zwXLBwvUDeHPBNrcEvjLzG','AxneAxnHyMXLza','ndG2ode4Bgn3q2Tj','Aw5WDxrwywX1zuj5rgvMyxvSDa','y3r4','y2fSBhngB3i','C2nYB2XSsw50B1zPzxC','Bwf5yMvuAhjVDW','BMv3ugfNzuXPC3rLBMvYCW','C2nYzwvUC2HVDevSzw1LBNq','lNbHz2u','ywn0AxzLugfNzq','AxnwAxnPyMXLqNLezwzHDwX0','DhLWzq','D3nfBMrWB2LUDa','mJDrtKD5AeC','zNjHBwvezxb0Aa','CMvM','y2HLy2TLzfn0yxrLqNLezwzHDwX0','rMfRzvbHz2u','odq1ne9tB3DNyq','ywrK','y29UBMvJDfnOyxjLza','y29UC29SzuvUDhjPzxm','Aw5ZCgvJDevSzw1LBNq','Aw5UzxjuzxH0qNLezwzHDwX0','Bg9JywXtDg9YywDL','z290BW','C3vIC2nYAwjL','Aw5PDgLHBfvYBa','CMvJB3jK','zxzHBhvHDgvszxn1Bhq','zxzHBhvHDgvpBKXVy2f0B3i','AxneAxnHyMXLzej5rgvMyxvSDa','Bwv0Ag9K','C2v0tg9JywXtDg9YywDL','zxzHBhvHDgu','Ag92zxi','yxr0CMLIDxrLC0j5rgvMyxvSDa','ntG3nxbgsMHkEa'];_0x4173=function(){return _0x1e91a0;};return _0x4173();}function createRecorder(){const _0x261447={_0x1f8cb1:0x14d,_0x3f84ee:0x121},_0x113a07=_0x5c6c84,_0x6c9867=[];let _0x1ba077=0x0;return{'push':__name(_0x4b89a6=>_0x6c9867[_0x113a07(0x14d)]({..._0x4b89a6,'seq':_0x1ba077++}),_0x113a07(_0x261447._0x1f8cb1)),'calls':__name(()=>_0x6c9867,_0x113a07(_0x261447._0x3f84ee))};}__name(createRecorder,'createRecorder');var FakePage=class{constructor(_0x2f23b6,_0x1d667f,_0x24122d,_0x241d22){const _0x40a69e={_0xd668af:0x153,_0x28be81:0x126},_0x417068=_0x5c6c84;this['recorder']=_0x2f23b6,this['behavior']=_0x1d667f,this[_0x417068(_0x40a69e._0xd668af)]=_0x24122d,this[_0x417068(_0x40a69e._0x28be81)]=_0x241d22;}[_0x5c6c84(0x192)];['behavior'];['scope'];static{__name(this,_0x5c6c84(0x172));}['currentUrl'];[_0x5c6c84(0x151)];[_0x5c6c84(0x17d)](_0x57f97f,_0x4a1c52){const _0x1869d0={_0x5ce0a5:0x192,_0x18eac8:0x153},_0x39d416=_0x5c6c84;this[_0x39d416(_0x1869d0._0x5ce0a5)]['push']({'scope':this[_0x39d416(_0x1869d0._0x18eac8)],'method':_0x57f97f,'args':_0x4a1c52});}[_0x5c6c84(0x166)](){const _0x192056={_0x4a02d0:0x190,_0x4888d0:0x14f,_0x123523:0x190},_0x2f2ab5=_0x5c6c84;if(this[_0x2f2ab5(0x14f)][_0x2f2ab5(_0x192056._0x4a02d0)]){const _0x258d26=this[_0x2f2ab5(_0x192056._0x4888d0)][_0x2f2ab5(_0x192056._0x123523)];this['behavior']['errorOnNextAction']=void 0x0;throw _0x258d26;}}['url'](){const _0x420ce5=_0x5c6c84;return this[_0x420ce5(0x126)];}async[_0x5c6c84(0x13e)](){const _0x596cf8=_0x5c6c84;return this[_0x596cf8(0x17d)]('title',[]),'fake\x20title';}async[_0x5c6c84(0x15b)](_0x163e94,_0x28edac){const _0x5e634a={_0x5c7118:0x15b},_0x341cca=_0x5c6c84;this['record'](_0x341cca(_0x5e634a._0x5c7118),[_0x163e94,_0x28edac]),this[_0x341cca(0x166)](),this[_0x341cca(0x151)]?.();}async[_0x5c6c84(0x133)](_0x243593,_0x240c96){const _0x242c42={_0x525193:0x166},_0x538cee=_0x5c6c84;this[_0x538cee(0x17d)](_0x538cee(0x133),[_0x243593,_0x240c96]),this[_0x538cee(_0x242c42._0x525193)]();}async['fill'](_0x4e8d11,_0x318a2c,_0x2fcf59){const _0x5e5a37={_0x13698b:0x12c},_0x38bd64=_0x5c6c84;this['record'](_0x38bd64(_0x5e5a37._0x13698b),[_0x4e8d11,_0x318a2c,_0x2fcf59]),this[_0x38bd64(0x166)]();}async['press'](_0x45eeec,_0x1e2dfc,_0x3b8d04){const _0x508a13=_0x5c6c84;this[_0x508a13(0x17d)]('press',[_0x45eeec,_0x1e2dfc,_0x3b8d04]),this[_0x508a13(0x166)]();}async[_0x5c6c84(0x145)](_0x7a5590,_0x3f62b1){const _0x5debd4={_0x539b29:0x145},_0xfef888=_0x5c6c84;this['record'](_0xfef888(_0x5debd4._0x539b29),[_0x7a5590,_0x3f62b1]),this[_0xfef888(0x166)]();}async[_0x5c6c84(0x138)](_0x49f86f,_0x45971f){const _0x241a38={_0x2a639d:0x17d},_0x17a45e=_0x5c6c84;this[_0x17a45e(_0x241a38._0x2a639d)](_0x17a45e(0x138),[_0x49f86f,_0x45971f]),this[_0x17a45e(0x166)]();}async[_0x5c6c84(0x15a)](_0x349e8c,_0x5101a2,_0x266ff3){const _0x3ae0a0=_0x5c6c84;this[_0x3ae0a0(0x17d)]('selectOption',[_0x349e8c,_0x5101a2,_0x266ff3]),this[_0x3ae0a0(0x166)]();}async['hover'](_0x356e1d,_0x46e804){const _0x2e99e7=_0x5c6c84;this[_0x2e99e7(0x17d)](_0x2e99e7(0x184),[_0x356e1d,_0x46e804]),this[_0x2e99e7(0x166)]();}async[_0x5c6c84(0x165)](_0x882562){const _0x41a6e8={_0x5dc9d5:0x166},_0x463fd5=_0x5c6c84;this[_0x463fd5(0x17d)](_0x463fd5(0x165),[_0x882562]),this[_0x463fd5(_0x41a6e8._0x5dc9d5)]();}async[_0x5c6c84(0x13b)](_0x41da1a,_0x7f283d,_0x5dc78b){const _0x25b66d=_0x5c6c84;this[_0x25b66d(0x17d)](_0x25b66d(0x13b),[_0x41da1a,_0x7f283d,_0x5dc78b]),this['maybeThrow']();}async['uploadFile'](_0x1baefc,_0x5ce88a){const _0x46e94c={_0x55b7b0:0x17d},_0x4edf46=_0x5c6c84;this[_0x4edf46(_0x46e94c._0x55b7b0)]('uploadFile',[_0x1baefc,_0x5ce88a]),this['maybeThrow']();}async[_0x5c6c84(0x191)](_0x1843df,_0x53c1e9){const _0x170d81={_0x53f23b:0x166},_0x5d8029=_0x5c6c84;this[_0x5d8029(0x17d)]('clipboardPaste',[_0x1843df,_0x53c1e9]),this[_0x5d8029(_0x170d81._0x53f23b)]();}async[_0x5c6c84(0x130)](_0x87713e){const _0x5c1a19=_0x5c6c84;return this[_0x5c1a19(0x17d)](_0x5c1a19(0x130),[_0x87713e]),this[_0x5c1a19(0x14f)][_0x5c1a19(0x18e)]??0x1;}async['textContent'](_0x2202e9){const _0x48ab86={_0x260807:0x14f},_0x177732=_0x5c6c84;return this[_0x177732(0x17d)]('textContent',[_0x2202e9]),this[_0x177732(_0x48ab86._0x260807)][_0x177732(0x132)]??'';}async[_0x5c6c84(0x14c)](_0x3f25c3){const _0x4d2148={_0x514cae:0x17d,_0x2da561:0x14f,_0x176db2:0x178},_0xec864=_0x5c6c84;return this[_0xec864(_0x4d2148._0x514cae)](_0xec864(0x14c),[_0x3f25c3]),this[_0xec864(_0x4d2148._0x2da561)][_0xec864(_0x4d2148._0x176db2)]??this[_0xec864(_0x4d2148._0x2da561)][_0xec864(0x132)]??'';}async['inputValue'](_0x2cd04b){const _0x44b0b2={_0x324b91:0x17d,_0x2b6d72:0x123,_0x56b3b6:0x162},_0x3cdc33=_0x5c6c84;return this[_0x3cdc33(_0x44b0b2._0x324b91)](_0x3cdc33(_0x44b0b2._0x2b6d72),[_0x2cd04b]),this[_0x3cdc33(0x14f)][_0x3cdc33(_0x44b0b2._0x56b3b6)]??'';}async[_0x5c6c84(0x147)](_0x54d505){const _0x27e38e={_0x1b4434:0x17d,_0x2c64a8:0x14f},_0xd751ae=_0x5c6c84;return this[_0xd751ae(_0x27e38e._0x1b4434)](_0xd751ae(0x147),[_0x54d505]),this[_0xd751ae(_0x27e38e._0x2c64a8)][_0xd751ae(0x171)]??null;}async[_0x5c6c84(0x157)](_0x48781f){const _0x3b9c47={_0xbf7d9c:0x157,_0x5b71f5:0x14f},_0x3ea44a=_0x5c6c84;return this[_0x3ea44a(0x17d)](_0x3ea44a(_0x3b9c47._0xbf7d9c),[_0x48781f]),this[_0x3ea44a(_0x3b9c47._0x5b71f5)][_0x3ea44a(0x16b)]??!![];}async[_0x5c6c84(0x160)](_0x22a4da){const _0x322bd6={_0x51897f:0x17d,_0x3fb121:0x14f},_0xe1da4d=_0x5c6c84;return this[_0xe1da4d(_0x322bd6._0x51897f)](_0xe1da4d(0x160),[_0x22a4da]),this[_0xe1da4d(_0x322bd6._0x3fb121)][_0xe1da4d(0x180)]??![];}async[_0x5c6c84(0x18c)](_0x194701,_0x3be05e){const _0x12eae8={_0x2e83c4:0x18c},_0x5205fb=_0x5c6c84;return this['record'](_0x5205fb(_0x12eae8._0x2e83c4),[_0x194701,_0x3be05e]),this['behavior'][_0x5205fb(0x185)]?.[_0x3be05e]??null;}async[_0x5c6c84(0x156)](_0x55499c,_0x26b0b4){this['record']('waitFor',[_0x55499c,_0x26b0b4]);}async[_0x5c6c84(0x152)](_0x801601,_0x7d8e40){const _0x1d2ac1={_0xd8a600:0x17d,_0x42e0c5:0x152},_0x3cf77f=_0x5c6c84;this[_0x3cf77f(_0x1d2ac1._0xd8a600)](_0x3cf77f(_0x1d2ac1._0x42e0c5),[_0x801601,_0x7d8e40]);}async[_0x5c6c84(0x142)](_0x7a0fd8,_0x229135){const _0x8d7ff2=_0x5c6c84;this['record'](_0x8d7ff2(0x142),[_0x7a0fd8,_0x229135]);}async['waitForNavigation'](_0x32c49d){const _0x45e640=_0x5c6c84;this[_0x45e640(0x17d)]('waitForNavigation',[_0x32c49d]);}async[_0x5c6c84(0x131)](_0x590df8,_0x20ff23){const _0x24cab1=_0x5c6c84;this['record'](_0x24cab1(0x131),[_0x590df8,_0x20ff23]);}async['goto'](_0x389b74,_0x52d58a){const _0x17d9c6={_0x599aa3:0x17a},_0xce0f18=_0x5c6c84;this['record'](_0xce0f18(_0x17d9c6._0x599aa3),[_0x389b74,_0x52d58a]),this['currentUrl']=_0x389b74;}async[_0x5c6c84(0x128)](_0x277a8b){const _0x1c6530=_0x5c6c84;this[_0x1c6530(0x17d)](_0x1c6530(0x128),[_0x277a8b]);}async[_0x5c6c84(0x149)](_0x23c4e6){const _0x5b49df={_0x3f7567:0x149},_0x190113=_0x5c6c84;this[_0x190113(0x17d)](_0x190113(_0x5b49df._0x3f7567),[_0x23c4e6]);}async[_0x5c6c84(0x11b)](_0x3dc137){const _0x216f43=_0x5c6c84;this['record'](_0x216f43(0x11b),[_0x3dc137]);}async[_0x5c6c84(0x183)](_0x295681){const _0x4e27e6={_0x264adc:0x17e},_0x3e81b5=_0x5c6c84;return this[_0x3e81b5(0x17d)]('evaluate',[_0x295681]),this['behavior'][_0x3e81b5(_0x4e27e6._0x264adc)];}async[_0x5c6c84(0x17f)](_0x47f825,_0x15687a){const _0x584b62={_0x32d48e:0x17d,_0x311915:0x17f},_0x1d9ccb=_0x5c6c84;return this[_0x1d9ccb(_0x584b62._0x32d48e)](_0x1d9ccb(_0x584b62._0x311915),[_0x47f825,_0x15687a]),void 0x0;}async[_0x5c6c84(0x177)](_0x10e117){const _0x443432={_0x394364:0x141,_0x14ac83:0x170,_0x7382ea:0x141,_0x2e1523:0x14f,_0x1ce18c:0x15f},_0x50e531=_0x5c6c84;this['record'](_0x50e531(0x177),[_0x10e117]);if(_0x10e117[_0x50e531(0x141)][_0x50e531(0x195)]!==0x1||_0x10e117[_0x50e531(_0x443432._0x394364)][0x0]['kind']!==_0x50e531(_0x443432._0x14ac83))return null;const _0x40ac27=_0x10e117[_0x50e531(_0x443432._0x7382ea)][0x0]['ref'],_0x21e18d=this[_0x50e531(_0x443432._0x2e1523)][_0x50e531(_0x443432._0x1ce18c)]?.[_0x40ac27];return _0x21e18d??null;}async[_0x5c6c84(0x14e)](_0x23c472){const _0x34181e={_0x43fad5:0x17d,_0x42eb50:0x16c},_0x196e52=_0x5c6c84;return this[_0x196e52(_0x34181e._0x43fad5)](_0x196e52(0x14e),[_0x23c472]),this['screenshotBytes'](_0x23c472?.[_0x196e52(_0x34181e._0x42eb50)]);}async[_0x5c6c84(0x168)](_0x3472c9,_0x1d59da){const _0x74b4b3=_0x5c6c84;return this[_0x74b4b3(0x17d)](_0x74b4b3(0x168),[_0x3472c9,_0x1d59da]),this['screenshotBytes'](_0x1d59da?.[_0x74b4b3(0x16c)]);}['screenshotBytes'](_0x5ea5d5){const _0x263580={_0x278bbb:0x158,_0x347b2b:0x12d},_0x11b53b=_0x5c6c84,_0x7e2f25=this[_0x11b53b(0x14f)]['screenshotBytes'];if(_0x7e2f25===void 0x0)return Buffer[_0x11b53b(0x155)](_0x11b53b(_0x263580._0x278bbb));return typeof _0x7e2f25===_0x11b53b(_0x263580._0x347b2b)?_0x7e2f25(_0x5ea5d5):_0x7e2f25;}async['outerHTML'](_0x2ca328){const _0x1e0098={_0x50d088:0x15e,_0x453a98:0x189},_0x441826=_0x5c6c84;this[_0x441826(0x17d)]('outerHTML',[_0x2ca328]);if(_0x2ca328[_0x441826(0x141)]['length']===0x1&&_0x2ca328[_0x441826(0x141)][0x0][_0x441826(0x194)]===_0x441826(0x170)){const _0x487d0b=_0x2ca328[_0x441826(0x141)][0x0]['ref'];return this[_0x441826(0x14f)][_0x441826(_0x1e0098._0x50d088)]?.[_0x487d0b]??_0x441826(0x127)+_0x487d0b+_0x441826(_0x1e0098._0x453a98);}return _0x441826(0x13d);}},FakeContext=class{constructor(_0x20b584,_0x345ab6,_0x35b119){const _0x40c520={_0x47a423:0x122,_0x59a3d0:0x139,_0x2727ac:0x179},_0x18b193=_0x5c6c84;this['recorder']=_0x20b584,this[_0x18b193(0x14f)]=_0x345ab6,this['scope']=_0x35b119;const _0x22bb65=new FakePage(_0x20b584,_0x345ab6,_0x35b119+'.page0',_0x345ab6[_0x18b193(0x17c)]??'about:blank');_0x345ab6[_0x18b193(_0x40c520._0x47a423)]&&(_0x22bb65[_0x18b193(0x151)]=()=>{const _0x43b74f=_0x18b193;this[_0x43b74f(0x196)](_0x345ab6[_0x43b74f(0x122)]);}),this['pageList']=[_0x22bb65],this[_0x18b193(_0x40c520._0x59a3d0)]={..._0x345ab6[_0x18b193(_0x40c520._0x2727ac)]??{}},this['cookieState']={..._0x345ab6['cookies']??{}};}['recorder'];[_0x5c6c84(0x14f)];[_0x5c6c84(0x153)];static{__name(this,_0x5c6c84(0x148));}[_0x5c6c84(0x12f)];[_0x5c6c84(0x140)]=0x0;[_0x5c6c84(0x125)]=[];[_0x5c6c84(0x139)];[_0x5c6c84(0x188)];[_0x5c6c84(0x167)]=new Set();[_0x5c6c84(0x17d)](_0x39246f,_0x20d11a){const _0x1dd474=_0x5c6c84;this[_0x1dd474(0x192)]['push']({'scope':this[_0x1dd474(0x153)],'method':_0x39246f,'args':_0x20d11a});}[_0x5c6c84(0x197)](){const _0x5c53e1={_0x308efb:0x12f},_0x4f7692=_0x5c6c84;return this[_0x4f7692(_0x5c53e1._0x308efb)];}[_0x5c6c84(0x16a)](){const _0x1b720c={_0x3511e6:0x14b},_0x2e3a75=_0x5c6c84,_0x256efd=this[_0x2e3a75(0x12f)][this['activeIdx']];if(!_0x256efd)throw new DriverError(_0x2e3a75(_0x1b720c._0x3511e6),{'activeIdx':this[_0x2e3a75(0x140)]});return _0x256efd;}[_0x5c6c84(0x176)](){const _0x216dc1={_0x394366:0x176},_0x5221da=_0x5c6c84;return this[_0x5221da(0x14f)][_0x5221da(_0x216dc1._0x394366)]??[];}[_0x5c6c84(0x136)](){const _0x41e56a={_0x3c7c65:0x136},_0xc8679c=_0x5c6c84;return this[_0xc8679c(0x14f)][_0xc8679c(_0x41e56a._0x3c7c65)]??[];}async[_0x5c6c84(0x154)](_0xf84794){const _0x8e1b63={_0x4f92f5:0x17d,_0xee47d8:0x154,_0x10dc5a:0x12f,_0x58b58a:0x193,_0x1bb85d:0x195,_0x51c187:0x140,_0x26e589:0x195},_0x996cb3=_0x5c6c84;this[_0x996cb3(_0x8e1b63._0x4f92f5)](_0x996cb3(_0x8e1b63._0xee47d8),[_0xf84794]);if(_0xf84794<0x0||_0xf84794>=this[_0x996cb3(_0x8e1b63._0x10dc5a)][_0x996cb3(0x195)])throw new DriverError(_0x996cb3(_0x8e1b63._0x58b58a),{'index':_0xf84794,'available':this['pageList'][_0x996cb3(_0x8e1b63._0x1bb85d)]});this[_0x996cb3(_0x8e1b63._0x51c187)]=_0xf84794,this['frameStack'][_0x996cb3(_0x8e1b63._0x26e589)]=0x0;}[_0x5c6c84(0x13c)](_0x30932a){const _0x4929c7=_0x5c6c84;return subscribe(this[_0x4929c7(0x167)],_0x30932a);}['emitFakePopup'](_0x5aec9c){const _0x4839b3={_0x4da35b:0x192,_0x576f0b:0x14f,_0x1aaae2:0x195},_0x133628=_0x5c6c84,_0x2cdafa=this[_0x133628(0x153)]+_0x133628(0x169)+this['pageList'][_0x133628(0x195)],_0x4b6303=new FakePage(this[_0x133628(_0x4839b3._0x4da35b)],this[_0x133628(_0x4839b3._0x576f0b)],_0x2cdafa,_0x5aec9c);this['pageList'][_0x133628(0x14d)](_0x4b6303);const _0x52eedf=this['pageList'][_0x133628(_0x4839b3._0x1aaae2)]-0x1;for(const _0x3a7161 of this['newPageListeners']){try{_0x3a7161({'index':_0x52eedf,'url':_0x5aec9c});}catch{}}return _0x52eedf;}[_0x5c6c84(0x124)](_0x1f346d){const _0x5c90d7={_0x897be2:0x12f,_0x511229:0x12f,_0x3541a2:0x15c},_0x5d7969=_0x5c6c84;if(_0x1f346d<0x0||_0x1f346d>=this[_0x5d7969(0x12f)][_0x5d7969(0x195)])throw new DriverError(_0x5d7969(0x193),{'index':_0x1f346d,'available':this[_0x5d7969(_0x5c90d7._0x897be2)][_0x5d7969(0x195)]});this[_0x5d7969(_0x5c90d7._0x511229)][_0x5d7969(_0x5c90d7._0x3541a2)](_0x1f346d,0x1);}async[_0x5c6c84(0x146)](_0x46081f){const _0x365f93={_0x26b834:0x141,_0x1a679f:0x18a,_0x4e44e5:0x125},_0x24ea9b=_0x5c6c84;this['record'](_0x24ea9b(0x146),[_0x46081f]);if(!_0x46081f[_0x24ea9b(_0x365f93._0x26b834)]['length'])throw new LocatorError(_0x24ea9b(_0x365f93._0x1a679f),{'locator':_0x46081f});this[_0x24ea9b(_0x365f93._0x4e44e5)][_0x24ea9b(0x14d)](_0x46081f);}async[_0x5c6c84(0x199)](){const _0x4a56ea={_0x4ccf4b:0x199,_0x3c915e:0x12b,_0x34b6e6:0x198},_0x93bc66=_0x5c6c84;this['record'](_0x93bc66(_0x4a56ea._0x4ccf4b),[]);if(this['frameStack'][_0x93bc66(0x195)]===0x0)throw new DriverError(_0x93bc66(_0x4a56ea._0x3c915e),{});this['frameStack'][_0x93bc66(_0x4a56ea._0x34b6e6)]();}async[_0x5c6c84(0x182)](_0x36a945,_0x2f0d7e){const _0xd1a0a3=_0x5c6c84;this[_0xd1a0a3(0x17d)]('setLocalStorage',[_0x36a945,_0x2f0d7e]),this[_0xd1a0a3(0x139)][_0x36a945]=_0x2f0d7e;}async[_0x5c6c84(0x129)](_0x3ac7a0){const _0x2ef1a9={_0x7b95c5:0x17d},_0x5188d4=_0x5c6c84;return this[_0x5188d4(_0x2ef1a9._0x7b95c5)](_0x5188d4(0x129),[_0x3ac7a0]),this[_0x5188d4(0x139)][_0x3ac7a0]??null;}async[_0x5c6c84(0x14a)](_0x2b83cf,_0x2ac82a,_0x5cc8f4){const _0x165451={_0x247f47:0x17d,_0x5869df:0x14a,_0x10003:0x188},_0x13091d=_0x5c6c84;this[_0x13091d(_0x165451._0x247f47)](_0x13091d(_0x165451._0x5869df),[_0x2b83cf,_0x2ac82a,_0x5cc8f4]),this[_0x13091d(_0x165451._0x10003)][_0x2b83cf]=_0x2ac82a;}async[_0x5c6c84(0x11e)](_0x3a5b9a){const _0x581df2={_0x45f654:0x188},_0x3d4d77=_0x5c6c84;return this[_0x3d4d77(0x17d)](_0x3d4d77(0x11e),[_0x3a5b9a]),this[_0x3d4d77(_0x581df2._0x45f654)][_0x3a5b9a]??null;}async[_0x5c6c84(0x11c)](_0x3e3d1e){const _0x511acf=_0x5c6c84;this[_0x511acf(0x17d)]('saveStorageState',[_0x3e3d1e]);}async['evaluate'](_0x5c18c4){const _0x172a25={_0xf1265e:0x17d,_0x43d0fe:0x183},_0x4d39df=_0x5c6c84;return this[_0x4d39df(_0x172a25._0xf1265e)](_0x4d39df(_0x172a25._0x43d0fe),[_0x5c18c4]),void 0x0;}async[_0x5c6c84(0x187)](){const _0x133970={_0x16abfe:0x187},_0x12c4f3=_0x5c6c84;this['record'](_0x12c4f3(_0x133970._0x16abfe),[]);}[_0x5c6c84(0x16f)](){const _0x4d0d3a={_0x418c78:0x195},_0x51c19a=_0x5c6c84;return this[_0x51c19a(0x125)][_0x51c19a(_0x4d0d3a._0x418c78)];}},FakeWebDriver=class{constructor(_0x2b2d70={}){const _0x4234cd={_0x56efc4:0x192},_0x19188e=_0x5c6c84;this[_0x19188e(0x14f)]=_0x2b2d70,this[_0x19188e(_0x4234cd._0x56efc4)]=createRecorder();}[_0x5c6c84(0x14f)];static{__name(this,'FakeWebDriver');}[_0x5c6c84(0x18d)]=![];[_0x5c6c84(0x192)];['contexts']=[];async[_0x5c6c84(0x120)](_0x199813){const _0x321f00={_0x4df0a4:0x14d,_0x2f5a00:0x120,_0x4856d7:0x18d},_0x48a654=_0x5c6c84;this[_0x48a654(0x192)][_0x48a654(_0x321f00._0x4df0a4)]({'scope':'driver','method':_0x48a654(_0x321f00._0x2f5a00),'args':[_0x199813]}),this[_0x48a654(_0x321f00._0x4856d7)]=!![];}async[_0x5c6c84(0x11a)](_0x257b11){const _0x754b11={_0x310957:0x192,_0x4b77cd:0x18f,_0x25286e:0x11a,_0x45f584:0x14f,_0x4e2281:0x144,_0x5ac335:0x14d},_0x1a80a8=_0x5c6c84;this[_0x1a80a8(_0x754b11._0x310957)]['push']({'scope':_0x1a80a8(_0x754b11._0x4b77cd),'method':_0x1a80a8(_0x754b11._0x25286e),'args':[_0x257b11]});if(!this['launched'])throw new DriverError(_0x1a80a8(0x137),{});const _0x2e566e=new FakeContext(this[_0x1a80a8(0x192)],this[_0x1a80a8(_0x754b11._0x45f584)],_0x1a80a8(0x163)+this['contexts']['length']);return this[_0x1a80a8(_0x754b11._0x4e2281)][_0x1a80a8(_0x754b11._0x5ac335)](_0x2e566e),_0x2e566e;}async[_0x5c6c84(0x187)](){const _0x3e1986={_0x32ad2b:0x192,_0x37f10e:0x187},_0x32ed86=_0x5c6c84;this[_0x32ed86(_0x3e1986._0x32ad2b)]['push']({'scope':_0x32ed86(0x18f),'method':_0x32ed86(_0x3e1986._0x37f10e),'args':[]}),this['launched']=![];}[_0x5c6c84(0x16d)](){return void 0x0;}async[_0x5c6c84(0x175)](){throw new DriverError('connectShared\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x5c6c84(0x12a)](_0x2e6be5){const _0xdec9de=_0x5c6c84;throw new DriverError(_0xdec9de(0x143),{});}[_0x5c6c84(0x121)](){const _0xb42520={_0x463024:0x121},_0x444f8d=_0x5c6c84;return this[_0x444f8d(0x192)][_0x444f8d(_0xb42520._0x463024)]();}[_0x5c6c84(0x164)](_0x6319eb){const _0x1d209a={_0x418025:0x135},_0x33401e=_0x5c6c84;return this[_0x33401e(0x192)]['calls']()[_0x33401e(_0x1d209a._0x418025)](_0x2ad9ae=>_0x2ad9ae[_0x33401e(0x181)]===_0x6319eb);}};export{FakeWebDriver};
1
+ const _0x3879b8=_0x468b;(function(_0x254a54,_0x3e59dd){const _0x13d403={_0x1603bf:0xd8,_0x4fe80d:0x123,_0x26ad3b:0xd1,_0x2f203f:0xcc},_0x426c47=_0x468b,_0x807b90=_0x254a54();while(!![]){try{const _0x2a3fba=-parseInt(_0x426c47(_0x13d403._0x1603bf))/0x1*(parseInt(_0x426c47(_0x13d403._0x4fe80d))/0x2)+parseInt(_0x426c47(0x11d))/0x3+parseInt(_0x426c47(0xe7))/0x4+-parseInt(_0x426c47(0x111))/0x5*(parseInt(_0x426c47(0xe0))/0x6)+-parseInt(_0x426c47(0xf6))/0x7+-parseInt(_0x426c47(_0x13d403._0x26ad3b))/0x8+-parseInt(_0x426c47(0x117))/0x9*(-parseInt(_0x426c47(_0x13d403._0x2f203f))/0xa);if(_0x2a3fba===_0x3e59dd)break;else _0x807b90['push'](_0x807b90['shift']());}catch(_0x516dbb){_0x807b90['push'](_0x807b90['shift']());}}}(_0x2dcb,0xa9b84));var __defProp=Object['defineProperty'],__name=(_0x470c05,_0x54f5b4)=>__defProp(_0x470c05,_0x3879b8(0x112),{'value':_0x54f5b4,'configurable':!![]});function subscribe(_0x503c1f,_0x449acd){const _0x354147={_0x4c48f1:0xdf},_0x100927=_0x3879b8;return _0x503c1f[_0x100927(0x11f)](_0x449acd),()=>{const _0x3cf3e9=_0x100927;_0x503c1f[_0x3cf3e9(_0x354147._0x4c48f1)](_0x449acd);};}__name(subscribe,_0x3879b8(0xe1));import{UnotestError}from'@unotest/core';function _0x2dcb(){const _0x35c520=['mZi2mdm0me96ENPIBW','z29gB3j3yxjK','ywrK','D2fPDezVCKXVywrtDgf0zq','y2XVC2u','y3jLyxrLuMvJB3jKzxi','nJiYyNHLwwjd','C2nVCgu','y2HLy2S','AxnwAxnPyMXLqNLezwzHDwX0','zwXLBwvUDeHPBNrcEvjLzG','zg91yMXLq2XPy2S','Dw5JAgvJAW','ChjLC3m','D2fPDezVCLrLEhq','zw50zxjgCMfTzq','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','Aw5UzxjuzxH0qNLezwzHDwX0','y29VA2LLCW','C3bSAwnL','Cg9W','Aw5PDgLHBfvYBa','zxjYB3jpBK5LEhrby3rPB24','y2XPCgjVyxjKugfZDgu','Aw5WDxrwywX1zq','iJ48l2rPDJ4','zhjHz0fUzerYB3a','zw1PDezHA2vqB3b1Ca','BMv0D29YA0vUDhjPzxm','A2LUza','Bwf5yMvuAhjVDW','y3vYCMvUDfvYBa','C3rLChm','zMLSBa','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','y291BNq','y2HLy2TLzfn0yxrL','z29cywnR','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zNjHBwvezxb0Aa','CMvJB3jKzxi','ntbzD2H6qLm','zxzHBhvHDgvszxn1Bhq','lNbHz2uW','zNvUy3rPB24','ywn0AxzLswr4','nJyZmta4ofbVsKjIvW','zMfRzsb0AxrSzq','zxzHBhvHDgu','Aw5ZCgvJDevSzw1LBNq','D3nfBMrWB2LUDa','C2nYB2XSsw50B1zPzxC','tg9JyxrVCKvYCM9Y','mZeYn3rMuLDzCG','ywn0AxzLugfNzq','BMv3q29UDgv4Da','y2XPy2S','C2v0qwn0AxzLugfNzq','yMvOyxzPB3i','rMfRzunVBNrLEhq','zgvSzxrL','nLfVENviyq','C3vIC2nYAwjL','y29UDgv4Dhm','z2v0qxr0CMLIDxrL','D2fPDezVCK5HDMLNyxrPB24','AxneAxnHyMXLza','y2XVC2vgywTLugfNzq','mtm1otG5nMDOt1zjuW','Bg9JywXtDg9YywDLu3rHDgu','y29UC29SzuvUDhjPzxm','yxr0CMLIDxrLC0j5rgvMyxvSDa','B25bzNrLCKnSAwnR','zhjPDMvY','rhjPDMvYrxjYB3i','ChvZAa','CgfNzuXPC3q','Aw5UzxjuzxH0','z2v0tg9JywXtDg9YywDL','z290BW','pgrPDJ48l2rPDJ4','DgL0Bgu','Bgf1BMnOzwq','nde4otaXz2DbDMzv','D2fPDezVCG','DxjS','Dgv4DenVBNrLBNq','D2fPDezVCLvYBa','y2fSBhm','zNjVBq','z2v0q29VA2LL','CMvJB3jK','y2HLy2TLzfn0yxrLqNLezwzHDwX0','zxHPDezYyw1L','DhLWzq','CMvM','C2v0q29VA2LL','Bgf1BMnO','Bg9JywXtDg9YywDL','BgvUz3rO','DxbSB2fKrMLSzq','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','C2vSzwn0t3b0Aw9U','zNjHBwvtDgfJAW','C2nYzwvUC2HVDej5DgvZ','y29UBMvJDfnOyxjLza','Dgv4DenVBNrLBNrcEurLzMf1Bhq','CgfNzxm','B3v0zxjive1m','y291BNrcEurLzMf1Bhq','ndG3odu1r2Dcu1PN','BMfTzq','Ag92zxi','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','C2f2zvn0B3jHz2vtDgf0zq','BMv3ugfNzuXPC3rLBMvYCW','mJiWodK4n2jLuvLnDq','y2fSBhngB3i','yxr0ywnOrxHPC3rPBMC','zxzHBhvHDgvpBKXVy2f0B3i','y29VA2LLu3rHDgu','CMvSB2fK'];_0x2dcb=function(){return _0x35c520;};return _0x2dcb();}var DriverError=class extends UnotestError{static{__name(this,_0x3879b8(0xed));}},LocatorError=class extends UnotestError{static{__name(this,_0x3879b8(0xd7));}};function createRecorder(){const _0x6fcfd9=_0x3879b8,_0xdbf75e=[];let _0x4203bf=0x0;return{'push':__name(_0x48556a=>_0xdbf75e[_0x6fcfd9(0xee)]({..._0x48556a,'seq':_0x4203bf++}),_0x6fcfd9(0xee)),'calls':__name(()=>_0xdbf75e,_0x6fcfd9(0xfb))};}__name(createRecorder,_0x3879b8(0x122));var FakePage=class{constructor(_0x1b23b7,_0x250eb6,_0x28c36a,_0x4d72b5){const _0x2274ed={_0x579e17:0xcb,_0x515962:0xdd,_0x5b51b1:0x124},_0x420b19=_0x3879b8;this[_0x420b19(_0x2274ed._0x579e17)]=_0x1b23b7,this[_0x420b19(_0x2274ed._0x515962)]=_0x250eb6,this[_0x420b19(_0x2274ed._0x5b51b1)]=_0x28c36a,this['currentUrl']=_0x4d72b5;}[_0x3879b8(0xcb)];[_0x3879b8(0xdd)];[_0x3879b8(0x124)];static{__name(this,'FakePage');}[_0x3879b8(0x13c)];['onAfterClick'];[_0x3879b8(0xfe)](_0x527529,_0xbb595d){const _0x563e00=_0x3879b8;this['recorder'][_0x563e00(0xee)]({'scope':this[_0x563e00(0x124)],'method':_0x527529,'args':_0xbb595d});}['maybeThrow'](){const _0x1b8488={_0x3d3f9b:0x133},_0x3bf7af=_0x3879b8;if(this[_0x3bf7af(0xdd)][_0x3bf7af(_0x1b8488._0x3d3f9b)]){const _0x4e11fa=this[_0x3bf7af(0xdd)][_0x3bf7af(_0x1b8488._0x3d3f9b)];this[_0x3bf7af(0xdd)][_0x3bf7af(0x133)]=void 0x0;throw _0x4e11fa;}}[_0x3879b8(0xf8)](){const _0x5242e8={_0x204669:0x13c},_0x4c9a70=_0x3879b8;return this[_0x4c9a70(_0x5242e8._0x204669)];}async[_0x3879b8(0xf4)](){const _0x151c47={_0x15a9bc:0xfe},_0x1655ab=_0x3879b8;return this[_0x1655ab(_0x151c47._0x15a9bc)](_0x1655ab(0xf4),[]),_0x1655ab(0xd2);}async[_0x3879b8(0xdb)](_0x3d7122,_0x96e70f){const _0x4fb62f={_0x3edfe9:0xdb,_0x2e6945:0x13b},_0xee06cc=_0x3879b8;this[_0xee06cc(0xfe)](_0xee06cc(_0x4fb62f._0x3edfe9),[_0x3d7122,_0x96e70f]),this[_0xee06cc(_0x4fb62f._0x2e6945)](),this[_0xee06cc(0xeb)]?.();}async[_0x3879b8(0x128)](_0x386256,_0x3bb0a1){const _0x2b31c3={_0x34a024:0xfe},_0x5b3af8=_0x3879b8;this[_0x5b3af8(_0x2b31c3._0x34a024)]('doubleClick',[_0x386256,_0x3bb0a1]),this[_0x5b3af8(0x13b)]();}async[_0x3879b8(0xc4)](_0x2baea6,_0xbe7807,_0x57d3b5){const _0x2513dc=_0x3879b8;this['record']('fill',[_0x2baea6,_0xbe7807,_0x57d3b5]),this[_0x2513dc(0x13b)]();}async[_0x3879b8(0x12a)](_0x387014,_0x55c1c6,_0x15b25c){const _0x3c42ae=_0x3879b8;this['record'](_0x3c42ae(0x12a),[_0x387014,_0x55c1c6,_0x15b25c]),this['maybeThrow']();}async[_0x3879b8(0x125)](_0x2f1609,_0x4ec3f6){const _0xf32eaf=_0x3879b8;this['record']('check',[_0x2f1609,_0x4ec3f6]),this[_0xf32eaf(0x13b)]();}async[_0x3879b8(0x129)](_0xc938ad,_0xe32e30){const _0x381a38={_0x2603ed:0xfe,_0x1e0454:0x129},_0x2844cf=_0x3879b8;this[_0x2844cf(_0x381a38._0x2603ed)](_0x2844cf(_0x381a38._0x1e0454),[_0xc938ad,_0xe32e30]),this['maybeThrow']();}async[_0x3879b8(0x109)](_0x39edda,_0x3457e7,_0x3e7929){const _0x5e0a11={_0x255db7:0x109,_0x303baa:0x13b},_0xea05bd=_0x3879b8;this[_0xea05bd(0xfe)](_0xea05bd(_0x5e0a11._0x255db7),[_0x39edda,_0x3457e7,_0x3e7929]),this[_0xea05bd(_0x5e0a11._0x303baa)]();}async[_0x3879b8(0x113)](_0x2a789e,_0x1c5fcb){const _0x4f931a=_0x3879b8;this[_0x4f931a(0xfe)](_0x4f931a(0x113),[_0x2a789e,_0x1c5fcb]),this[_0x4f931a(0x13b)]();}async[_0x3879b8(0xd6)](_0x35c012){const _0x502085={_0x476502:0xfe,_0x366c87:0xd6},_0x3a96ad=_0x3879b8;this[_0x3a96ad(_0x502085._0x476502)](_0x3a96ad(_0x502085._0x366c87),[_0x35c012]),this[_0x3a96ad(0x13b)]();}async[_0x3879b8(0x137)](_0x48b3e7,_0x146f45,_0x495fbc){const _0x14c7e5={_0x4b65d7:0x137},_0xe32dee=_0x3879b8;this[_0xe32dee(0xfe)](_0xe32dee(_0x14c7e5._0x4b65d7),[_0x48b3e7,_0x146f45,_0x495fbc]),this[_0xe32dee(0x13b)]();}async['uploadFile'](_0xfb1905,_0x12368d){const _0xeff26d={_0x43e41a:0xfe},_0x29366d=_0x3879b8;this[_0x29366d(_0xeff26d._0x43e41a)](_0x29366d(0x107),[_0xfb1905,_0x12368d]),this[_0x29366d(0x13b)]();}async[_0x3879b8(0x134)](_0x57a188,_0x5db08c){const _0x1cddb9={_0x2cfd76:0x13b},_0x5c70da=_0x3879b8;this[_0x5c70da(0xfe)]('clipboardPaste',[_0x57a188,_0x5db08c]),this[_0x5c70da(_0x1cddb9._0x2cfd76)]();}async[_0x3879b8(0xc6)](_0x218b00){const _0x1116d1={_0x3ea081:0xfe},_0x4735ca=_0x3879b8;return this[_0x4735ca(_0x1116d1._0x3ea081)]('count',[_0x218b00]),this['behavior'][_0x4735ca(0x110)]??0x1;}async[_0x3879b8(0xf9)](_0x167691){const _0x3aa626={_0x33b0c3:0xfe},_0x449d62=_0x3879b8;return this[_0x449d62(_0x3aa626._0x33b0c3)](_0x449d62(0xf9),[_0x167691]),this[_0x449d62(0xdd)]['textContentByDefault']??'';}async[_0x3879b8(0xf0)](_0x11a821){const _0x83b4a0={_0xfa43b7:0xfe,_0xc1895e:0x12e},_0x23e291=_0x3879b8;return this[_0x23e291(_0x83b4a0._0xfa43b7)](_0x23e291(0xf0),[_0x11a821]),this['behavior'][_0x23e291(_0x83b4a0._0xc1895e)]??this[_0x23e291(0xdd)][_0x23e291(0x10d)]??'';}async[_0x3879b8(0x135)](_0x4df65f){const _0x187b1f={_0x23abdb:0xfe},_0x7d9396=_0x3879b8;return this[_0x7d9396(_0x187b1f._0x23abdb)]('inputValue',[_0x4df65f]),this[_0x7d9396(0xdd)]['inputValueByDefault']??'';}async[_0x3879b8(0xc7)](_0x532dbc){const _0x380113={_0x4e4941:0xfe,_0x61062b:0xc7,_0x559d21:0xdd},_0x367a10=_0x3879b8;return this[_0x367a10(_0x380113._0x4e4941)](_0x367a10(_0x380113._0x61062b),[_0x532dbc]),this[_0x367a10(_0x380113._0x559d21)][_0x367a10(0xff)]??null;}async['isVisible'](_0x5ecb30){const _0x19ea37={_0x23992d:0xfe},_0x16ca7c=_0x3879b8;return this[_0x16ca7c(_0x19ea37._0x23992d)]('isVisible',[_0x5ecb30]),this[_0x16ca7c(0xdd)][_0x16ca7c(0x126)]??!![];}async[_0x3879b8(0xe5)](_0x4e2e9){const _0x3d6d37={_0x390711:0xe5,_0x4210f5:0xdd},_0x268df8=_0x3879b8;return this[_0x268df8(0xfe)](_0x268df8(_0x3d6d37._0x390711),[_0x4e2e9]),this[_0x268df8(_0x3d6d37._0x4210f5)]['isDisabledByDefault']??![];}async['getAttribute'](_0x1ff261,_0x49aa47){const _0x33db4a={_0x623bd7:0xea},_0x5727af=_0x3879b8;return this[_0x5727af(0xfe)](_0x5727af(0xe3),[_0x1ff261,_0x49aa47]),this[_0x5727af(0xdd)][_0x5727af(_0x33db4a._0x623bd7)]?.[_0x49aa47]??null;}async[_0x3879b8(0xf7)](_0x5389bb,_0x14864c){const _0x3efb45={_0x105cfc:0xfe},_0x55ae29=_0x3879b8;this[_0x55ae29(_0x3efb45._0x105cfc)](_0x55ae29(0xf7),[_0x5389bb,_0x14864c]);}async[_0x3879b8(0xfa)](_0x5291e6,_0x4655bc){const _0xeed7a3=_0x3879b8;this[_0xeed7a3(0xfe)]('waitForUrl',[_0x5291e6,_0x4655bc]);}async[_0x3879b8(0x12b)](_0x53fc8f,_0x21aad6){const _0x456fc0={_0xc6c31a:0x12b},_0x1538df=_0x3879b8;this[_0x1538df(0xfe)](_0x1538df(_0x456fc0._0xc6c31a),[_0x53fc8f,_0x21aad6]);}async[_0x3879b8(0xe4)](_0x2b837d){const _0x2a3061=_0x3879b8;this[_0x2a3061(0xfe)](_0x2a3061(0xe4),[_0x2b837d]);}async['waitForLoadState'](_0x403c0e,_0x2d0bda){const _0x4b6373={_0x15c7ed:0x120},_0x394c03=_0x3879b8;this[_0x394c03(0xfe)](_0x394c03(_0x4b6373._0x15c7ed),[_0x403c0e,_0x2d0bda]);}async[_0x3879b8(0xf2)](_0x1a935a,_0x1ce3f9){const _0x357513=_0x3879b8;this['record'](_0x357513(0xf2),[_0x1a935a,_0x1ce3f9]),this['currentUrl']=_0x1a935a;}async[_0x3879b8(0x11c)](_0x3493e8){this['record']('reload',[_0x3493e8]);}async[_0x3879b8(0xc8)](_0x436ee2){const _0x5d7e23=_0x3879b8;this['record'](_0x5d7e23(0xc8),[_0x436ee2]);}async[_0x3879b8(0x11e)](_0x43ba5d){this['record']('goForward',[_0x43ba5d]);}async['evaluate'](_0x1d5d94){const _0x434760={_0x5f3199:0xdd,_0x295958:0xcd},_0xcb7ed=_0x3879b8;return this[_0xcb7ed(0xfe)](_0xcb7ed(0xd3),[_0x1d5d94]),this[_0xcb7ed(_0x434760._0x5f3199)][_0xcb7ed(_0x434760._0x295958)];}async[_0x3879b8(0x11a)](_0x3ed47e,_0x103119){return this['record']('evaluateOnLocator',[_0x3ed47e,_0x103119]),void 0x0;}async[_0x3879b8(0xd4)](_0x15767c){const _0x4f7453={_0x2ac4c3:0xd4,_0x27cc2d:0x106,_0x4bb97f:0x13a,_0x1e93f5:0x13d,_0x15adc1:0x102,_0x208eba:0xdd},_0x5c04ab=_0x3879b8;this[_0x5c04ab(0xfe)](_0x5c04ab(_0x4f7453._0x2ac4c3),[_0x15767c]);if(_0x15767c[_0x5c04ab(0x13d)][_0x5c04ab(_0x4f7453._0x27cc2d)]!==0x1||_0x15767c[_0x5c04ab(0x13d)][0x0][_0x5c04ab(_0x4f7453._0x4bb97f)]!==_0x5c04ab(0x102))return null;const _0x10f7ba=_0x15767c[_0x5c04ab(_0x4f7453._0x1e93f5)][0x0][_0x5c04ab(_0x4f7453._0x15adc1)],_0x495bf5=this[_0x5c04ab(_0x4f7453._0x208eba)][_0x5c04ab(0x127)]?.[_0x10f7ba];return _0x495bf5??null;}async['screenshot'](_0x4104db){const _0x2ed6ad={_0x1d8faf:0x10b,_0x3aa009:0x101},_0x38e23e=_0x3879b8;return this['record']('screenshot',[_0x4104db]),this[_0x38e23e(_0x2ed6ad._0x1d8faf)](_0x4104db?.[_0x38e23e(_0x2ed6ad._0x3aa009)]);}async['screenshotElement'](_0x10ac48,_0xb9fc){const _0x25d0ea=_0x3879b8;return this['record']('screenshotElement',[_0x10ac48,_0xb9fc]),this[_0x25d0ea(0x10b)](_0xb9fc?.[_0x25d0ea(0x101)]);}['screenshotBytes'](_0x133e0f){const _0x5aefdd={_0x3c56d1:0xdd,_0x40072e:0x10b,_0x869d4d:0xcf},_0x1ca761=_0x3879b8,_0x5ecbed=this[_0x1ca761(_0x5aefdd._0x3c56d1)][_0x1ca761(_0x5aefdd._0x40072e)];if(_0x5ecbed===void 0x0)return Buffer[_0x1ca761(0xfc)]('fake-png');return typeof _0x5ecbed===_0x1ca761(_0x5aefdd._0x869d4d)?_0x5ecbed(_0x133e0f):_0x5ecbed;}async[_0x3879b8(0x10f)](_0x4893dd){const _0x51a060={_0x278fca:0x13d,_0x2bec3d:0x102,_0x2dccff:0xdd,_0x10cd2e:0x12d,_0x2535f2:0xf3},_0x4637af=_0x3879b8;this[_0x4637af(0xfe)](_0x4637af(0x10f),[_0x4893dd]);if(_0x4893dd['steps'][_0x4637af(0x106)]===0x1&&_0x4893dd['steps'][0x0][_0x4637af(0x13a)]===_0x4637af(0x102)){const _0x48b1c5=_0x4893dd[_0x4637af(_0x51a060._0x278fca)][0x0][_0x4637af(_0x51a060._0x2bec3d)];return this[_0x4637af(_0x51a060._0x2dccff)]['outerHtmlByRef']?.[_0x48b1c5]??_0x4637af(_0x51a060._0x10cd2e)+_0x48b1c5+_0x4637af(0x136);}return _0x4637af(_0x51a060._0x2535f2);}},FakeContext=class{constructor(_0x372cb3,_0x289a88,_0x96eb05){const _0x54df83={_0x208782:0xcb,_0x10dbc0:0xce,_0x271698:0xe8,_0x77b2cb:0x105,_0x5b679a:0x12f},_0x39c225=_0x3879b8;this[_0x39c225(_0x54df83._0x208782)]=_0x372cb3,this[_0x39c225(0xdd)]=_0x289a88,this[_0x39c225(0x124)]=_0x96eb05;const _0x14135e=new FakePage(_0x372cb3,_0x289a88,_0x96eb05+_0x39c225(_0x54df83._0x10dbc0),_0x289a88[_0x39c225(0x132)]??'about:blank');_0x289a88['popupOnClick']&&(_0x14135e[_0x39c225(0xeb)]=()=>{const _0x18ce5d=_0x39c225;this[_0x18ce5d(0x138)](_0x289a88['popupOnClick']);}),this['pageList']=[_0x14135e],this[_0x39c225(_0x54df83._0x271698)]={..._0x289a88[_0x39c225(_0x54df83._0x77b2cb)]??{}},this[_0x39c225(0x11b)]={..._0x289a88[_0x39c225(_0x54df83._0x5b679a)]??{}};}[_0x3879b8(0xcb)];[_0x3879b8(0xdd)];[_0x3879b8(0x124)];static{__name(this,_0x3879b8(0xde));}['pageList'];[_0x3879b8(0xd0)]=0x0;['frameStack']=[];[_0x3879b8(0xe8)];[_0x3879b8(0x11b)];[_0x3879b8(0x116)]=new Set();[_0x3879b8(0xfe)](_0x4d157c,_0x31d3f2){const _0xb88ccf={_0x224539:0x124},_0x202398=_0x3879b8;this['recorder'][_0x202398(0xee)]({'scope':this[_0x202398(_0xb88ccf._0x224539)],'method':_0x4d157c,'args':_0x31d3f2});}[_0x3879b8(0x10e)](){return this['pageList'];}[_0x3879b8(0xd9)](){const _0x44b602={_0x20852f:0xd0},_0x36b193=_0x3879b8,_0x3d2be1=this['pageList'][this[_0x36b193(_0x44b602._0x20852f)]];if(!_0x3d2be1)throw new DriverError('no\x20active\x20page\x20in\x20context',{'activeIdx':this[_0x36b193(0xd0)]});return _0x3d2be1;}[_0x3879b8(0xe9)](){const _0x23145c={_0x2daf72:0xe9},_0x53d3ce=_0x3879b8;return this['behavior'][_0x53d3ce(_0x23145c._0x2daf72)]??[];}['networkEntries'](){const _0x49ea1c={_0x4a0070:0xdd},_0x3d7646=_0x3879b8;return this[_0x3d7646(_0x49ea1c._0x4a0070)][_0x3d7646(0x139)]??[];}async[_0x3879b8(0xdc)](_0x17fbb2){const _0x16ed99={_0x1fda01:0xc9,_0xd07b97:0x106},_0x10c32c=_0x3879b8;this['record'](_0x10c32c(0xdc),[_0x17fbb2]);if(_0x17fbb2<0x0||_0x17fbb2>=this[_0x10c32c(0xef)][_0x10c32c(0x106)])throw new DriverError(_0x10c32c(_0x16ed99._0x1fda01),{'index':_0x17fbb2,'available':this['pageList'][_0x10c32c(0x106)]});this[_0x10c32c(0xd0)]=_0x17fbb2,this[_0x10c32c(0x10a)][_0x10c32c(_0x16ed99._0xd07b97)]=0x0;}['onNewPage'](_0x38d7d4){const _0x6ed083=_0x3879b8;return subscribe(this[_0x6ed083(0x116)],_0x38d7d4);}[_0x3879b8(0x138)](_0x32efe4){const _0x4fddc3={_0x53c372:0xef,_0x19e2f5:0xef,_0x500c56:0x106},_0x4f5509=_0x3879b8,_0x38b127=this[_0x4f5509(0x124)]+'.page'+this[_0x4f5509(_0x4fddc3._0x53c372)]['length'],_0x58f422=new FakePage(this[_0x4f5509(0xcb)],this['behavior'],_0x38b127,_0x32efe4);this[_0x4f5509(_0x4fddc3._0x19e2f5)][_0x4f5509(0xee)](_0x58f422);const _0x562842=this['pageList'][_0x4f5509(_0x4fddc3._0x500c56)]-0x1;for(const _0x280aef of this['newPageListeners']){try{_0x280aef({'index':_0x562842,'url':_0x32efe4});}catch{}}return _0x562842;}[_0x3879b8(0xe6)](_0x2d6569){const _0x259973=_0x3879b8;if(_0x2d6569<0x0||_0x2d6569>=this[_0x259973(0xef)][_0x259973(0x106)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x2d6569,'available':this['pageList'][_0x259973(0x106)]});this['pageList'][_0x259973(0x130)](_0x2d6569,0x1);}async[_0x3879b8(0x12c)](_0x3398c9){const _0x4748f0={_0x3c1a7b:0xfe,_0x22b77a:0x10a},_0x518eaf=_0x3879b8;this[_0x518eaf(_0x4748f0._0x3c1a7b)](_0x518eaf(0x12c),[_0x3398c9]);if(!_0x3398c9[_0x518eaf(0x13d)][_0x518eaf(0x106)])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0x3398c9});this[_0x518eaf(_0x4748f0._0x22b77a)]['push'](_0x3398c9);}async[_0x3879b8(0x100)](){const _0x1e93c6={_0x21104e:0x10a,_0x396e05:0xc5},_0x3ce26a=_0x3879b8;this['record'](_0x3ce26a(0x100),[]);if(this[_0x3ce26a(_0x1e93c6._0x21104e)]['length']===0x0)throw new DriverError(_0x3ce26a(_0x1e93c6._0x396e05),{});this[_0x3ce26a(_0x1e93c6._0x21104e)][_0x3ce26a(0x131)]();}async['setLocalStorage'](_0x129779,_0x470186){const _0x1fcf4e=_0x3879b8;this[_0x1fcf4e(0xfe)]('setLocalStorage',[_0x129779,_0x470186]),this['localStorageState'][_0x129779]=_0x470186;}async[_0x3879b8(0xf1)](_0x341736){const _0xcd8f3e={_0x519915:0xf1,_0x19e48e:0xe8},_0x2bbeef=_0x3879b8;return this['record'](_0x2bbeef(_0xcd8f3e._0x519915),[_0x341736]),this[_0x2bbeef(_0xcd8f3e._0x19e48e)][_0x341736]??null;}async[_0x3879b8(0x103)](_0x1ae1f6,_0x60ff82,_0x243a1e){const _0x1df401={_0x378d53:0x11b},_0x40c40d=_0x3879b8;this[_0x40c40d(0xfe)]('setCookie',[_0x1ae1f6,_0x60ff82,_0x243a1e]),this[_0x40c40d(_0x1df401._0x378d53)][_0x1ae1f6]=_0x60ff82;}async['getCookie'](_0x9e75da){const _0x19c76d={_0x1bb677:0x11b},_0x3b5738=_0x3879b8;return this[_0x3b5738(0xfe)](_0x3b5738(0xfd),[_0x9e75da]),this[_0x3b5738(_0x19c76d._0x1bb677)][_0x9e75da]??null;}async['saveStorageState'](_0x5d2598){const _0x1fc818={_0x2a96ff:0xfe,_0x306c10:0x115},_0x2e32fa=_0x3879b8;this[_0x2e32fa(_0x1fc818._0x2a96ff)](_0x2e32fa(_0x1fc818._0x306c10),[_0x5d2598]);}async[_0x3879b8(0xd3)](_0x2d48bf){const _0x295c03={_0x573476:0xfe},_0x45e0db=_0x3879b8;return this[_0x45e0db(_0x295c03._0x573476)](_0x45e0db(0xd3),[_0x2d48bf]),void 0x0;}async[_0x3879b8(0x121)](){const _0x148094=_0x3879b8;this['record'](_0x148094(0x121),[]);}[_0x3879b8(0xca)](){const _0x3a16e6={_0x5b5b75:0x10a,_0x5d78df:0x106},_0x342c79=_0x3879b8;return this[_0x342c79(_0x3a16e6._0x5b5b75)][_0x342c79(_0x3a16e6._0x5d78df)];}},FakeWebDriver=class{constructor(_0x219006={}){const _0x48bbe7={_0x264501:0xdd},_0x524c8e=_0x3879b8;this[_0x524c8e(_0x48bbe7._0x264501)]=_0x219006,this[_0x524c8e(0xcb)]=createRecorder();}['behavior'];static{__name(this,'FakeWebDriver');}[_0x3879b8(0xf5)]=![];[_0x3879b8(0xcb)];[_0x3879b8(0xe2)]=[];async[_0x3879b8(0x104)](_0x4fabfc){const _0x2e1e7e={_0x4b6d7a:0xcb,_0x4d6103:0xf5},_0x58a70d=_0x3879b8;this[_0x58a70d(_0x2e1e7e._0x4b6d7a)]['push']({'scope':_0x58a70d(0xec),'method':'launch','args':[_0x4fabfc]}),this[_0x58a70d(_0x2e1e7e._0x4d6103)]=!![];}async[_0x3879b8(0xda)](_0x3b0d13){const _0x3592c8={_0x14dfa2:0xee,_0x24a2f0:0xec,_0x478835:0xda,_0x30bb23:0xf5,_0xad438a:0xe2},_0xa8c2c5=_0x3879b8;this[_0xa8c2c5(0xcb)][_0xa8c2c5(_0x3592c8._0x14dfa2)]({'scope':_0xa8c2c5(_0x3592c8._0x24a2f0),'method':_0xa8c2c5(_0x3592c8._0x478835),'args':[_0x3b0d13]});if(!this[_0xa8c2c5(_0x3592c8._0x30bb23)])throw new DriverError('newContext\x20called\x20before\x20launch()',{});const _0x434773=new FakeContext(this['recorder'],this['behavior'],'ctx'+this[_0xa8c2c5(_0x3592c8._0xad438a)]['length']);return this[_0xa8c2c5(0xe2)][_0xa8c2c5(_0x3592c8._0x14dfa2)](_0x434773),_0x434773;}async[_0x3879b8(0x121)](){const _0x55a0fd={_0x509cb6:0xcb},_0x51fc73=_0x3879b8;this[_0x51fc73(_0x55a0fd._0x509cb6)]['push']({'scope':_0x51fc73(0xec),'method':'close','args':[]}),this[_0x51fc73(0xf5)]=![];}[_0x3879b8(0xd5)](){return void 0x0;}async[_0x3879b8(0x10c)](){const _0x28a43a=_0x3879b8;throw new DriverError(_0x28a43a(0x108),{});}[_0x3879b8(0x119)](_0x20ed37){const _0x3e39e0=_0x3879b8;throw new DriverError(_0x3e39e0(0x114),{});}['calls'](){const _0x132e4c={_0x194b37:0xfb},_0xb70338=_0x3879b8;return this['recorder'][_0xb70338(_0x132e4c._0x194b37)]();}[_0x3879b8(0x118)](_0x2392fa){const _0x481fe8=_0x3879b8;return this[_0x481fe8(0xcb)]['calls']()['filter'](_0x1e2296=>_0x1e2296['method']===_0x2392fa);}};function _0x468b(_0x2b74ac,_0x272847){_0x2b74ac=_0x2b74ac-0xc4;const _0x2dcbe8=_0x2dcb();let _0x468b0a=_0x2dcbe8[_0x2b74ac];if(_0x468b['zhHbtd']===undefined){var _0x441319=function(_0x4a0891){const _0x2dad06='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x470c05='',_0x54f5b4='';for(let _0x503c1f=0x0,_0x449acd,_0xdbf75e,_0x4203bf=0x0;_0xdbf75e=_0x4a0891['charAt'](_0x4203bf++);~_0xdbf75e&&(_0x449acd=_0x503c1f%0x4?_0x449acd*0x40+_0xdbf75e:_0xdbf75e,_0x503c1f++%0x4)?_0x470c05+=String['fromCharCode'](0xff&_0x449acd>>(-0x2*_0x503c1f&0x6)):0x0){_0xdbf75e=_0x2dad06['indexOf'](_0xdbf75e);}for(let _0x48556a=0x0,_0x1b23b7=_0x470c05['length'];_0x48556a<_0x1b23b7;_0x48556a++){_0x54f5b4+='%'+('00'+_0x470c05['charCodeAt'](_0x48556a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x54f5b4);};_0x468b['DUdWsN']=_0x441319,_0x468b['wHpOaJ']={},_0x468b['zhHbtd']=!![];}const _0x56f02c=_0x2dcbe8[0x0],_0x403763=_0x2b74ac+_0x56f02c,_0x5bbc1c=_0x468b['wHpOaJ'][_0x403763];return!_0x5bbc1c?(_0x468b0a=_0x468b['DUdWsN'](_0x468b0a),_0x468b['wHpOaJ'][_0x403763]=_0x468b0a):_0x468b0a=_0x5bbc1c,_0x468b0a;}export{FakeWebDriver};