@unotest/web 0.46.0 → 0.48.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.
@@ -465,8 +465,9 @@ Escape hatch:
465
465
  this: none → nothing, exactly one → the value itself, **with two or
466
466
  more extra arguments the body receives ONE array** — destructure it:
467
467
  `evaluate('function(n){ return n * 2 }', 21)` and
468
- `evaluate('([a, b]) => a + b', a, b)`. The linter's warning says so
469
- when it sees two or more.
468
+ `evaluate('([a, b]) => a + b', a, b)`. One argument is `(n) =>`,
469
+ never `([n]) =>` — that fails with `2 is not iterable`. The linter's
470
+ warning states the rule whenever it sees one or more.
470
471
  - Native dialogs (`confirm()` / `alert()` / `prompt()`) are accepted by
471
472
  the runner itself (`dialogPolicy: "accept"` by default) — a "Remove"
472
473
  that asks first needs no special step.
@@ -596,8 +596,9 @@ Escape hatch:
596
596
  this: none → nothing, exactly one → the value itself, **with two or
597
597
  more extra arguments the body receives ONE array** — destructure it:
598
598
  `evaluate('function(n){ return n * 2 }', 21)` and
599
- `evaluate('([a, b]) => a + b', a, b)`. The linter's warning says so
600
- when it sees two or more.
599
+ `evaluate('([a, b]) => a + b', a, b)`. One argument is `(n) =>`,
600
+ never `([n]) =>` — that fails with `2 is not iterable`. The linter's
601
+ warning states the rule whenever it sees one or more.
601
602
  - Native dialogs (`confirm()` / `alert()` / `prompt()`) are accepted by
602
603
  the runner itself (`dialogPolicy: "accept"` by default) — a "Remove"
603
604
  that asks first needs no special step.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,113 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.48.0] - 2026-10-08
4
+
5
+ ### Minor Changes
6
+
7
+ - 2c63fd2: The viewer's status bar on a box now labels both versions — `suite 0.47.0 · box 0.48.0` — instead of a bare `v0.47.0` that read as the box's version while it was the suite's `@unotest/web`. When the suite runs an `@unotest/web` older than the lowest version the box runs suites on, the bar shows a yellow "suite too old" mark; hovering it says which version to raise in `unotest/package.json` before pushing the suite again. A viewer outside a box shows its version as before.
8
+
9
+ The box publishes its own version and that lowest supported `@unotest/web` to each environment's viewer. A box older than this change publishes neither, and the bar then labels the suite's version alone.
10
+
11
+ - f4e2a0c: New command `bundle rm <bundle-id>`: the project token that pushes a bundle can now take it back — one pushed with the wrong project's token, or one nobody wants. The box looks for the bundle in the token's project only and answers "not found in project …" the same way whether another project holds it or none does, so a token learns nothing about other projects.
12
+
13
+ A bundle in use stays: one an environment runs, or one a waiting or running ticket needs (a queued run, or a switch on its way to it), is refused with the environments named. `--switch-to <bundle-id>` first switches the environments that run it to another bundle of the same project, the way the viewer does; the box answers as the switches start, and the same `bundle rm` removes the bundle once they have landed. An environment that follows its branch cannot be switched by hand: push a newer bundle to that branch first.
14
+
15
+ A box older than bundle removal refuses and removes nothing: update the box, then retry. `unotest-web --help` now also says that `env push` merges into the box's values and lists `--prune`.
16
+
17
+ - 57beda5: `env push` now merges an environment's values into the box instead of replacing them. Every name your files carry is set; a name the box holds that your files do not carry stays there and is listed as kept, so a value put on the box with `env set` or on the admin page survives a push. A name that moved between your `.env*` and `.secrets*` files moves on the box too and is printed as `NAME: variable → secret`. `--dry-run` says that it cannot know which names the box holds.
18
+
19
+ New flag `--prune`: also remove what the box holds and your files do not, the target override included, and list it. `UNOTEST_*` names on the box are never pruned, because a push never sends them.
20
+
21
+ A box too old to merge refuses the push with "only replaces an environment's values" and changes nothing: update the box, then retry. The CLI never falls back to a replace.
22
+
23
+ **Migration:** this changes what a published command does. A push used to remove every name its files did not carry; it now keeps them. To get the old behaviour, add `--prune`: `npx @unotest/web env push <env> --prune`. With `--json`, the answer's `status` is now `"merged"`, and it carries `set`, `kept`, `removed` and `moved`.
24
+
25
+ - 0368c9c: `bundle push --run --follow` now prints what each run printed while it goes, so a CI log says why a suite failed, not only that it did: every scenario's start and end, each failed step with where it is and its error, and the run's `log` and `note` lines. With several collections each line starts with `[collection]`; with `--json` the lines go to stderr and stdout stays the one JSON document. Each line is printed once, also when the box did not answer for a moment. Exit codes are unchanged.
26
+
27
+ The box reads the lines off the run's own journal and gives them only to the token that ordered the run, the same rule as the run's state. Before they leave the box it masks the environment's secrets again (`‹secret:NAME›`), including a value the run itself did not know to mask: a CI log of a public repository is read by everybody.
28
+
29
+ A box too old to give lines says so once — "this box does not stream run lines; the verdict and link follow" — and the follow ends as before.
30
+
31
+ - 5c9b1f1: Scenarios can negate with `!x` and append to an array with `arr.push(x)`.
32
+
33
+ `!x` works as in JavaScript: it returns `true` or `false`, treats `0`, `""`, `null` and `false` as falsy, the same values `if` treats as false, and binds tighter than `&&` and `||`. Negations no longer need `x == false`.
34
+
35
+ `arr.push(x, …)` appends to the array in place and returns its new length, so a loop can collect values in one array. A variable holds the array itself, not a copy: after `b = a; a.push(1)`, `b` sees the new element, and a helper that pushes onto an array it was given changes the caller's array. Calling `push` on a value that is not an array fails the step with the value's type in the message, and the linter flags `push` on a string. Other array methods are still not available, and the "arrays are literals" hint for `push` is gone.
36
+
37
+ - c54285f: `setViewport(null)` runs a test on the real browser window, as Playwright's `viewport: null` does, without a separate run on its own config. It must come before the test does anything in its browser: the first navigation, `mockRoute`, a cookie or storage value, the page clock, `emulateMedia`, a second page or context. The browser context is opened again with the same options, so locale, storage state and the rest stay as configured. After any of those calls it is refused with that rule, because the new context would lose them. On a browser profile (`launch.userDataDir`, `launch.profile`) it is always refused; `viewport: null` in the config remains the way to run a whole suite on the real window.
38
+
39
+ ### Patch Changes
40
+
41
+ - db5c5a5: `assertCount`, `assertVisible`, `assertHidden` and `assertValue` accept their options object in a scenario: `assertCount(loc, 3, {timeout: 8000})` (or `timeoutMs`) now passes `lint` and the `run_test` check. The runner already honoured the option, but the validator refused the extra argument. A misspelled key is still refused with the list of supported ones.
42
+ - a160836: A box operator can now add an environment to a project without editing the box configuration and without restarting the daemon, from a shell on the box: `docker compose exec boxd node /boxd.mjs environment add <project> <name> --target <url>`, with optional `--default-branch`, `--no-switch`, `--concurrency` and `--by`. `environment list` (the same way) shows every environment and where it came from (the configuration, added on the box, or a pull request's preview), and `environment remove` takes back one added this way — never one from the configuration, and not while a run waits or runs in it; its run history and values stay on disk. The box serves an added environment on its next sweep, or as soon as a push names it — but the box looks for new environments on a push at most once every 10 seconds, so a push refused for a missing environment in the last 10 seconds is refused again until they are up. A name the configuration also declares is refused, and if the configuration declares it later, the configuration wins.
43
+
44
+ When `env push` or `bundle push --run` names an environment the box does not have, the box now says which environments the token's project has, and the CLI lists them with the command a box operator runs to add the missing one.
45
+
46
+ - 1384e6f: The note `bundle push` prints when the box has no value for a name now lists only the names the suite actually reads — in its scenarios and in `_helpers/` — instead of every name declared in `unotest/.env.example`. A name read as a bare identifier or as an `apiCall` base is said to stop a run at the first step that reads it; a name read with `env()` is said to give `null` there. A suite that computes a name at run time (`env(someVariable)`) still gets the full declared list with the conditional wording, since its reads cannot be known before it runs. When the suite reads none of the missing names, there is no note.
47
+ - 88f7b2f: The `evaluate` warning now also states how a single extra argument arrives: as the value itself, so the body is written `(x) => …`, not `([x]) => …` (which fails with "is not iterable"). The DSL reference states the whole rule for `evaluate`, `evaluateOnLocator` and `evaluateInServiceWorker`: no extra argument gives `undefined`, one gives the value itself, two or more give one array. Behaviour is unchanged.
48
+ - 4c4af51: The lint that runs before a scenario now honours `linter.rules` from your config, the same as `unotest-web lint`. A rule set to `off` (`lint:disambig-by-index` is off by default) no longer prints on `e2e` or `run_test`, and a rule set to `warn` or `error` is reported at that level. `run_test` refuses to start on a rule your config raises to `error`. `e2e` prints it as an error and still runs the scenario.
49
+ - 07d39d3: The `lint:one-test-per-file` warning now shows the replacement: each former test becomes a `step.soft(...)` of one `test_*`, or moves to a file of its own. It also links the new guide "Port a @playwright/test spec" (https://docs.unotest.com/guides/port-a-spec/), which ports a spec with several tests and runs one test over cases from a table or a JSONL file.
50
+ - 2d35731: `unotest-web` now warns when it is not the copy your suite installed. Run as `npx @unotest/web lint` from the project root, where no package sits, it used to take whatever version npx had cached without a word. It now prints one line with both versions and their paths, plus the command to run it from the suite instead (`cd unotest && npx unotest-web …`). When nothing is installed for the suite, the line asks you to run `npm i` in `unotest/`. The run goes on in both cases. From inside `unotest/`, wherever the suite resolves to this same copy, or when the copy that runs is the same version the suite installed, nothing is printed.
51
+ - f9100af: `wait(ms)` and `waitForTimeout(ms)` in a scenario are now answered with `use pause(ms) for a fixed delay, or a waitFor* for a state`, as `sleep` already was. The hint now appears on the run too, not only in `lint`: a scenario that reaches the runner with an unknown function name fails with `Unknown DSL function "wait" at 3:5 — use pause(ms) …` when the name is a known habit, and with the bare error otherwise.
52
+ - Updated dependencies [2c63fd2]
53
+ - Updated dependencies [a160836]
54
+ - Updated dependencies [f4e2a0c]
55
+ - Updated dependencies [57beda5]
56
+ - Updated dependencies [0368c9c]
57
+ - Updated dependencies [5c9b1f1]
58
+ - Updated dependencies [f9100af]
59
+ - @unotest/viewer@0.48.0
60
+ - @unotest/protocol@0.48.0
61
+ - @unotest/dsl@0.48.0
62
+ - @unotest/core@0.48.0
63
+ - @unotest/grounder-client@0.48.0
64
+
65
+ ## [0.47.0] - 2026-10-07
66
+
67
+ ### Minor Changes
68
+
69
+ - 2e847ae: New DSL getter `computedStyle(locator, property)`: the element's computed CSS value as the browser resolved it — `computedStyle(card, "opacity")` → `"0.5"`, custom properties too (`"--accent"`), `""` when the property is not set. A missing or ambiguous element fails as `getAttribute` does. Replaces reading styles through `evaluate`.
70
+ - 3c558c8: New DSL call `emulateMedia({ reducedMotion?, colorScheme? })` changes the media features the current tab reports mid-scenario — `prefers-reduced-motion` (`'reduce'` / `'no-preference'`) and `prefers-color-scheme` (`'light'` / `'dark'` / `'no-preference'`), as `matchMedia` and CSS `@media` see them. It applies to the current tab only; a tab or popup opened later starts without it. Replaces overriding `matchMedia` through `evaluate`.
71
+ - aa2c57f: New DSL functions for numbers, so a scenario no longer shells out to `node -e` to compare one. `toNumber(text, {decimal?})` reads a number as a page writes it: spaces and NBSP group digits, `1,234.56` and `1.234,56` both read as 1234.56, and an ambiguous `1,234` fails the step naming both readings until `{decimal}` settles it; units and currency fail, quoting the input. `round(n, digits?)` rounds half away from zero on the decimal as written, so `round(1.005, 2)` is 1.01. `formatNumber(n, {locale?, minFractionDigits?, maxFractionDigits?})` formats through `Intl.NumberFormat`, en-US unless a locale is given, whatever the machine's language. The lint answer to `parseInt`, `parseFloat`, `Number`, `toFixed` and `toLocaleString` now points at these functions.
72
+ - 832e6de: Quoted DSL strings now decode the ES5 escapes `\r`, `\f`, `\v`, `\0`, `\xHH` and `\uXXXX`. Behaviour change: `'\u00A0'` used to be six characters and is now one non-breaking space, and a malformed `\u12` or `\xG1` is a parse error instead of being kept as text. In a string a regex is built from, `\x2e` / `\u002e` now give the character itself — a `.` that matches anything — not an escaped one; for a literal dot write `\\.`. Any other backslash pair stays as written, `\b` included (a word boundary in a regex string, never a backspace), so `'\d+'` and `'\bword\b'` work as before; backtick strings remain raw.
73
+ - a89bf5e: New DSL calls for CSS animations: `waitForAnimations(locator, { timeout? })` waits until the element and its descendants have no animation still running (default 5000 ms; a timeout names the element and how many were left), and `hasAnimation(locator)` says whether one is running. Infinite animations such as spinners, and paused ones, are not waited for. Replaces waiting on `getAnimations()` through `evaluate`.
74
+ - 783151c: An environment on a box that somebody pointed at a bundle by hand can follow its branch again. Selecting a bundle in the viewer holds the environment on it, and later pushes to the branch did not arrive; nothing showed why, and nothing let go short of a restart. The bundle menu now says `pinned by <name>` and offers "follow <branch> again", which moves the environment to the branch's newest bundle and keeps it following. The viewer's workspace file gains an optional `follow` field (`path`, `branch`), present only while such a selection holds; older viewers ignore it, and an older box never writes it.
75
+ - b16e326: A scenario that calls `assertJudge` now checks its judge before the browser starts, instead of failing at the first verdict after the steps before it had already run. The check follows calls into helpers, and a scenario that never judges is not held up by a broken judge setup. `e2e` refuses with exit code 78 and the message that names what to fix: the mode is unset, a provider variable is missing in `local` mode, or in `remote` mode the service does not answer its `/health` (start one with `npx @unotest/judge`). A collection asks once, before any scenario starts. MCP `run_test` answers such a refusal with the new `status: "config_error"` rather than `spawn_failed`, so an agent fixes the setup, not the launch. The viewer's environment check gains an "LLM judge (assertJudge)" line that asks the same question.
76
+ - 0f1fca5: `bundle push` names the project the bundle landed in: `✓ uploaded to <box> · project <name>`. The token decides the project, not the repository, so when the box maps the bundle's repository to no project the push still lands and is followed by a warning that says where it went and on which token; the box logs the same warning. `--json` carries `project`, `tokenLabel` and, when it applies, `unmappedRepo`. A box older than these fields gets the previous line, without the project.
77
+ - af57556: `bundle push --run` prints the id of every run it queued and, when the box reports one, the run's link in the box's viewer. `--json` carries the link as `runs[].url`. A box that does not know the address it is reached at, or one older than this field, sends no link: the id is printed alone.
78
+ - 03e37b8: `bundle push --run --follow` waits for the runs it ordered and exits with their verdict: `0` when every suite passed, `1` when one failed, `2` when there is no verdict to give (a box too old to be followed, a box that restarted and forgot the run, or an hour without an ending), each with its reason and the run's link. The box shows a run's state only to the push token that ordered it, so a CI job needs no read token and no session. `--json` adds `follow`. The box's guard lets a run's state through on the project token without a session for `GET` only; every other method on that path still needs a session.
79
+ - 0c1d214: `assertUrl` and `waitForUrl` take a `/regex/` as well as a string. A regex is tested against the whole URL, unanchored, so `assertUrl(/\/cars\/\d+$/)` checks a path with an id in it; a failed `assertUrl` names the pattern as `/source/flags`. A string is still a substring match, so existing scenarios behave as before. The documented `{timeout}` option of both is no longer flagged as an extra argument by the editor and `lint`.
80
+
81
+ ### Patch Changes
82
+
83
+ - 1a159a8: A collection whose `webServer` sets `reuseExistingServer: false` no longer fails every scenario with "already serving". The collection starts the server once for the whole suite, its scenarios run on that server, and it is stopped after the last one. A port held by another process still fails the collection before its first scenario.
84
+ - b374e1d: `readFile`, `readFileInfo`, `readJson`, `upload()` and the file waits (`waitForFile`, `readJsonLine`, `waitForJsonLine` and the rest) now read the file they checked. A process writing in the project could swap a file for a symlink out of it between the check and the read, and the scenario got the outside file. The file is opened once and read from that handle only when it is the file the path leads to; a one-off read that meets a file changing under it fails saying so, a wait reads it again on its next tick.
85
+ - d7ab07d: The "follow again" row in the viewer's bundle menu now shows its explanation in full: `pinned by <name> — the next push to <branch> will not arrive until then` wraps onto a second line instead of being cut off with an ellipsis. The bundle rows above it are unchanged.
86
+ - d33d8c0: The `lint:evaluate-discouraged` warning now names the typed calls that replace the common `evaluate` uses — `computedStyle` for styles, `boundingBox` for geometry, `hasAnimation` / `waitForAnimations` for animations — next to the attribute and text getters.
87
+ - e924fec: A tool error from an MCP server that started before its code was last built now says so. Right after a package update, `run_test` on a scenario using a new DSL feature answered a bare parse error from the old modules still loaded in the server; now any tool error on such a server comes back as JSON `{error, serverStale: true, serverStaleWarning}` — the original message plus the advice to restart the MCP server. On a server that is up to date, errors read exactly as before.
88
+ - b9e6cd5: An MCP server closed right after it started no longer leaves a browser running. The server starts its browser in the background as soon as the client connects; a client that closed within those first seconds made the server exit mid-launch, and the browser came up afterwards with nothing left to close it. The server now waits for that launch before it shuts down.
89
+ - ada5785: `mockRoute('**/*', {abort: true})` no longer kills a browser extension's own pages and scripts. A mask reaches web requests only (http, https, ws, wss), so an extension panel keeps loading under a network allowlist instead of going dead with nothing in the console. To mock an extension resource, start the mask with its scheme, as in `chrome-extension://<id>/panel.js`; such a mask still answers even when a `**/*` mock was added after it.
90
+ - 6f872c9: A link to a collection run now opens that run even when it is older than the first page of the viewer's history. Such links — from `bundle push --run`, CI statuses and notifications — opened the run's tab and then showed "not found". The tab now shows the collection's scenarios as for a recent run, says "loading run…" while it is fetched, and reports "not found" only when the run really does not exist.
91
+ - 87487b2: A link to a run on a box — in a CI check, a run notification or the output of `bundle push --run` — now opens that run in the box's viewer. Links have the form `<box>/_guard/runs/<project>/<environment>/<run id>`; following one without a session signs in first and comes back to the same run. The viewer opens a run named by `?run=<id>` in its own tab, and ignores an id it does not have.
92
+ - f07e83f: A run on a box gets `TMPDIR=/tmp` beside `HOME=/tmp`, and an environment's value of the same name does not replace it. Node already fell back to `/tmp`; a shell script or another tool in a `shell()` step did not, and wrote into the read-only sources instead.
93
+ - ff19ac3: Switching an environment to another bundle from the viewer now needs an `Origin`, like ordering a run and following the branch again. A request under a session cookie that carries no `Origin` is refused with 403 `origin required` before it reaches the box daemon; the viewer's own bundle menu sends one and works as before.
94
+ - cccd35c: Messages about a remote judge no longer print the user, password or query of `UNOTEST_JUDGE_URL` — the places where gateways put keys. The check before the first step, the MCP `config_error` reason, a refused collection and a failed `assertJudge` name the service by scheme, host and path only; requests still go to the URL as given. A URL with a user or password in it, which fetch never sent, is now refused up front with a pointer to `UNOTEST_JUDGE_TOKEN`, and a value that is not a URL is refused without being repeated.
95
+ - 2fb7385: The viewer rebuilds its run history index again on its own after a failure, instead of waiting for a restart. A rebuild the disk refuses (permissions on the runs folder, a volume mounted late) is retried with a growing pause, from 5 seconds up to 5 minutes, until it succeeds. `/api/health` still answers 200 and now carries `runIndex`: `building`, `built`, or `failed` with the error code, the path inside the project, the number of attempts and the time of the last one.
96
+ - Updated dependencies [832e6de]
97
+ - Updated dependencies [783151c]
98
+ - Updated dependencies [d7ab07d]
99
+ - Updated dependencies [6f872c9]
100
+ - Updated dependencies [0f1fca5]
101
+ - Updated dependencies [af57556]
102
+ - Updated dependencies [03e37b8]
103
+ - Updated dependencies [87487b2]
104
+ - Updated dependencies [2fb7385]
105
+ - @unotest/dsl@0.47.0
106
+ - @unotest/viewer@0.47.0
107
+ - @unotest/protocol@0.47.0
108
+ - @unotest/core@0.47.0
109
+ - @unotest/grounder-client@0.47.0
110
+
3
111
  ## [0.46.0] - 2026-10-02
4
112
 
5
113
  ### Minor Changes
@@ -1524,7 +1632,7 @@ picker on` fetches this project's own access and writes the three grounder
1524
1632
 
1525
1633
  That screen named one command:
1526
1634
 
1527
- npx @unotest/web bundle push --run --env ENVIRONMENT
1635
+ npx @unotest/web bundle push --run --env ENVIRONMENT
1528
1636
 
1529
1637
  In a project that has just been created, the command refuses with `no box
1530
1638
  address` before it does anything: the project holds neither the box's address
@@ -1533,8 +1641,8 @@ address` before it does anything: the project holds neither the box's address
1533
1641
 
1534
1642
  The screen now names both steps, in the order they have to happen:
1535
1643
 
1536
- npx @unotest/web box access larch
1537
- npx @unotest/web bundle push --run --env ENVIRONMENT
1644
+ npx @unotest/web box access larch
1645
+ npx @unotest/web bundle push --run --env ENVIRONMENT
1538
1646
 
1539
1647
  The box's own name is filled in when its licence carries one. `box access`
1540
1648
  with no name refuses, and its refusal offers to create a box — to somebody who
@@ -2907,6 +3015,8 @@ KEY | CREDENTIAL` is sent empty and flagged `secret`, and `GET /api/targets`
2907
3015
  outcome. The run journal gains `step-block:started` / `step-block:finished`
2908
3016
  envelopes per block (label, tag, soft, outcome, whole-block duration).
2909
3017
  Editor typings declare the new forms.
3018
+ A worked example — cases from a table and from a JSONL file, each a
3019
+ tagged soft step: [Port a @playwright/test spec](https://docs.unotest.com/guides/port-a-spec/).
2910
3020
  - ad7c918: The run journal records every loop pass (`loop:iteration`, with the loop
2911
3021
  statement's position and the pass index), which the viewer's new Trace
2912
3022
  view uses to show a loop as one group per iteration. Also: when an error
package/README.md CHANGED
@@ -164,6 +164,11 @@ one of them, and `box logs` the end of a box's own log without logging in to
164
164
  it; `box destroy` does what it says, and `whoami` and `logout` complete the
165
165
  set. In CI, export `UNOTEST_CLOUD_TOKEN` instead of signing in.
166
166
 
167
+ On a box the suite's files are read-only and a run may write in two places
168
+ only. Which ones, the variables a run is given and where a `shell()` step
169
+ starts are on one page:
170
+ [What a run gets](https://docs.unotest.com/box/what-a-run-gets/).
171
+
167
172
  Credit is added in the cabinet, by card, under "Add credit" on its home page
168
173
  — never from the terminal. When the balance does not cover a new box's first
169
174
  hour, `box create` says how much is missing (as far as the key may read the
@@ -1 +1 @@
1
- var _0x5ed12c=_0x1b17;(function(_0x163029,_0x4c3479){var _0x5a0bf4={_0x8f0a7b:0x1fc,_0x225711:0x1d3,_0x38317a:0x21b,_0x4d9db9:0x1e5},_0x1473e5=_0x1b17,_0x229c6a=_0x163029();while(!![]){try{var _0x3f2124=parseInt(_0x1473e5(0x1c1))/0x1*(-parseInt(_0x1473e5(0x1be))/0x2)+-parseInt(_0x1473e5(0x1e2))/0x3*(-parseInt(_0x1473e5(_0x5a0bf4._0x8f0a7b))/0x4)+-parseInt(_0x1473e5(0x202))/0x5+-parseInt(_0x1473e5(_0x5a0bf4._0x225711))/0x6*(-parseInt(_0x1473e5(0x21d))/0x7)+-parseInt(_0x1473e5(0x1db))/0x8+-parseInt(_0x1473e5(_0x5a0bf4._0x38317a))/0x9+parseInt(_0x1473e5(_0x5a0bf4._0x4d9db9))/0xa*(parseInt(_0x1473e5(0x1f2))/0xb);if(_0x3f2124===_0x4c3479)break;else _0x229c6a['push'](_0x229c6a['shift']());}catch(_0x4f0611){_0x229c6a['push'](_0x229c6a['shift']());}}}(_0x3449,0x8a93b));var __defProp=Object['defineProperty'],__name=(_0x900ae8,_0x1654df)=>__defProp(_0x900ae8,_0x5ed12c(0x1e0),{'value':_0x1654df,'configurable':!![]});import{z as _0x3c2225}from'zod';import{z}from'zod';import{levenshteinDistance}from'@unotest/core';var MAX_EDITS=0x2;function closestKey(_0x35108a,_0x569cdd){var _0x33ba4d={_0x558736:0x21e},_0x5f0268=_0x5ed12c;let _0x51ca10;for(const _0x4bdd57 of _0x569cdd){const _0x3643f0=levenshteinDistance(_0x35108a['toLowerCase'](),_0x4bdd57[_0x5f0268(_0x33ba4d._0x558736)]());if(_0x3643f0>MAX_EDITS)continue;if(_0x51ca10===void 0x0||_0x3643f0<_0x51ca10['distance'])_0x51ca10={'key':_0x4bdd57,'distance':_0x3643f0};}return _0x51ca10?.['key'];}__name(closestKey,_0x5ed12c(0x1ca));function unknownKeyMessage(_0x3eaa4d,_0x5f178e){var _0xa58859={_0x1b2311:0x1f4},_0x2aa32b=_0x5ed12c;return _0x3eaa4d[_0x2aa32b(0x1fe)](_0x29516d=>{var _0x38d3d3=_0x2aa32b;const _0x20ec24=closestKey(_0x29516d,_0x5f178e);return _0x20ec24===void 0x0?_0x38d3d3(_0xa58859._0x1b2311)+_0x29516d+_0x38d3d3(0x1d9):_0x38d3d3(0x1f4)+_0x29516d+'\x22\x20—\x20did\x20you\x20mean\x20\x22'+_0x20ec24+'\x22?';})['join'](';\x20');}__name(unknownKeyMessage,_0x5ed12c(0x1ce));function _0x1b17(_0x25fed5,_0x26148d){_0x25fed5=_0x25fed5-0x1be;var _0x344976=_0x3449();var _0x1b17b4=_0x344976[_0x25fed5];if(_0x1b17['mvNfoP']===undefined){var _0x3d27c9=function(_0x4d2390){var _0x43bcac='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3c2225='',_0x1a7849='';for(var _0x900ae8=0x0,_0x1654df,_0x35108a,_0x569cdd=0x0;_0x35108a=_0x4d2390['charAt'](_0x569cdd++);~_0x35108a&&(_0x1654df=_0x900ae8%0x4?_0x1654df*0x40+_0x35108a:_0x35108a,_0x900ae8++%0x4)?_0x3c2225+=String['fromCharCode'](0xff&_0x1654df>>(-0x2*_0x900ae8&0x6)):0x0){_0x35108a=_0x43bcac['indexOf'](_0x35108a);}for(var _0x51ca10=0x0,_0x4bdd57=_0x3c2225['length'];_0x51ca10<_0x4bdd57;_0x51ca10++){_0x1a7849+='%'+('00'+_0x3c2225['charCodeAt'](_0x51ca10)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1a7849);};_0x1b17['ORxjmk']=_0x3d27c9,_0x1b17['uDHwzA']={},_0x1b17['mvNfoP']=!![];}var _0x2bebdc=_0x344976[0x0],_0x4665a8=_0x25fed5+_0x2bebdc,_0x56f2c0=_0x1b17['uDHwzA'][_0x4665a8];return!_0x56f2c0?(_0x1b17b4=_0x1b17['ORxjmk'](_0x1b17b4),_0x1b17['uDHwzA'][_0x4665a8]=_0x1b17b4):_0x1b17b4=_0x56f2c0,_0x1b17b4;}function strictObject(_0x237770){var _0x23e0bd=_0x5ed12c;const _0x2a8e5a=Object[_0x23e0bd(0x206)](_0x237770);return z[_0x23e0bd(0x1e3)](_0x237770,{'errorMap':__name((_0x451806,_0xadedd2)=>_0x451806[_0x23e0bd(0x210)]===z[_0x23e0bd(0x20f)]['unrecognized_keys']?{'message':unknownKeyMessage(_0x451806[_0x23e0bd(0x206)],_0x2a8e5a)}:{'message':_0xadedd2[_0x23e0bd(0x201)]},'errorMap')})[_0x23e0bd(0x1cf)]();}__name(strictObject,'strictObject');import{BUNDLED_BROWSER_CHANNEL}from'@unotest/protocol';import{z as _0x1a7849}from'zod';function _0x3449(){var _0x129a40=['BgLUDdPWyxvZzs1LEhbSAwnPDa','ntaWmZyWy1bwshDg','yM9VBgvHBG','AxnmB2nHBgu','zM9YrwfJAa','igLZigfSCMvHzhKGyw5VDgHLCIbZzxj2zxiNCYdIGjqGzwfJAcbZzxj2zxiGBMvLzhmGAxrZig93BIbYzwfKAw5LC3mGvvjmlG','BMfTzq','y2HYB21L','ndCXBujhq1fN','B2jQzwn0','zw4Tvvm','mZbUyvPJrwq','BgLUDdPZy2vUyxjPBY1PBI1YB290','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','zgv2AwnL','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','BgLUDdPTDxn0ywnOzs1PBI1KC2W','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','DMfSAwrHDg9YoMLMlxnOyxbL','ywnJzxb0','BNvSBa','AxnbCNjHEq','zNvSBa','BgLUDdPSzwDHy3KTBgf5B3v0','nZG4mJi1oxv4wwTcCa','y3vZDg9T','Dw5RBM93BIbRzxKGiG','DMLLD3bVCNq','BgvUz3rO','BgLUDdPLy2HVlwfZC2vYDa','AgfZ','Bwf4','y3jHC2G','C3rKAw8','mJG2mgzYEfPWuq','BgLUDdPKzwvWlwnZCW','BwfW','CMvMAw5L','Dw5RBM93BIb0Aw1LihPVBMuGiG','zgvMyxvSDevYCM9Y','mJy5ody4nufdz1ftuW','DMfSAwrHDg9YoM1LDgeTC2HHCgu','CMvKywn0zwq','zxjYB3i','A2v5CW','y2HYB21PDw0','iIdIGjqGzxHWzwn0zwqGyw4GsufoqsbUyw1Lihn1y2GGyxmGiKv1CM9Wzs9nywrYAwqI','DMLLD3bVCNq6ig51BgWGA2vLChmGDgHLihjLywWGyNjVD3nLCIb3Aw5KB3CSigfUzcbKzxzPy2uGiG','DhjHBNnMB3jT','BNvTyMvY','Dw5VDgvZDc9LmMu','BgLUDdPZzxqTDgvZDc10Aw1LB3v0lw91DhnPzguTDgvZDa','DxjS','wM9KsxnZDwvdB2rL','y29Kzq','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','DMfSAwrHDg9YoMzVCI1ZAgfWzq','C3rYAw5N','DhjHBNnPzw50','BgL0zxjHBa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','zw51Bq','BwfUDwfS','yxjYyxK','rgf0zvrPBwvgB3jTyxq','mtaXnte1mZjrr2vcqKy','BMv0D29YAW','ndGYotuXy09KsevL','Dg9mB3DLCKnHC2u','BwLU','Dw5PB24','DMfSAwrHDg9YoMfYzY1RAw5K','Aw52ywXPzcbSB2nHBguGiG','mte2nJj5BuLcq0O','ywrKsxnZDwu','CgvYlxrLC3q','mti0ELfWEMPQ','D2fYBG','D2vIu2vYDMvYwW','BgLUDdPNB3rVlwnVBMnHDa','CMvJB3jK','z2v0q2fUB25Py2fStg9JywXLCW','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','zgvMyxvSDa','iIbZzxrZigL0CYbVD24GC2L6zsbHBMqGC2nHBguG4OcuigrYB3aGB25Lig9MihrOzw0U','y2XVC2vZDeTLEq','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','B2zM','BgLUDdPZA2LWlw91DhnPzguTDgvZDa','Dw5RBM93BKTLEu1LC3nHz2u','C3rYAwn0','Cg9ZAxrPDMu','DMfSAwrHDg9YoNzHCI1ZAgfWzq','xs51CMWG','nJzeANHuvLK','B3b0Aw9UywW','Aw50','BgLUDdPYzwDLEc1PBNzHBgLK','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','iIdIGjqGBM90igeGy29UzMLNigTLEtSGy2HLy2SGEw91CIbaDw5VDgvZDc93zwiGDMvYC2LVBIbPzIbPDcbJB21LCYbMCM9TigeGBMv3zxiGCMvSzwfZzq'];_0x3449=function(){return _0x129a40;};return _0x3449();}import{UnotestError}from'@unotest/core';var LaunchConfigSchema=_0x1a7849[_0x5ed12c(0x1e3)]({'userDataDir':_0x1a7849[_0x5ed12c(0x213)]()[_0x5ed12c(0x21f)](0x1)[_0x5ed12c(0x1d4)](),'profile':_0x1a7849[_0x5ed12c(0x215)](_0x5ed12c(0x1c0))['optional'](),'args':_0x1a7849['array'](_0x1a7849[_0x5ed12c(0x213)]()[_0x5ed12c(0x21f)](0x1))[_0x5ed12c(0x1d4)]()})[_0x5ed12c(0x1cf)](),BrowserSchema=_0x3c2225[_0x5ed12c(0x217)]([_0x5ed12c(0x207),'firefox','webkit']),SYSTEM_BROWSER_CHANNELS=[_0x5ed12c(0x1e1),'msedge','chrome-beta',_0x5ed12c(0x207)],BROWSER_CHANNEL_WORDS=[...SYSTEM_BROWSER_CHANNELS,BUNDLED_BROWSER_CHANNEL],BrowserChannelSchema=_0x3c2225[_0x5ed12c(0x220)]([_0x3c2225['enum'](SYSTEM_BROWSER_CHANNELS),_0x3c2225[_0x5ed12c(0x215)](BUNDLED_BROWSER_CHANNEL)[_0x5ed12c(0x20a)](()=>null),_0x3c2225[_0x5ed12c(0x1ee)]()])[_0x5ed12c(0x1d4)](),ViewportSchema=strictObject({'width':_0x3c2225[_0x5ed12c(0x20b)]()[_0x5ed12c(0x1d5)]()['positive']()[_0x5ed12c(0x1d4)](),'height':_0x3c2225['number']()[_0x5ed12c(0x1d5)]()['positive']()[_0x5ed12c(0x1d4)](),'deviceScaleFactor':_0x3c2225[_0x5ed12c(0x20b)]()[_0x5ed12c(0x1d0)]()[_0x5ed12c(0x1d4)]()}),ConfigViewportSchema=ViewportSchema['nullable'](),RetryReasonSchema=_0x3c2225[_0x5ed12c(0x217)](['transient',_0x5ed12c(0x21c),_0x5ed12c(0x1fa)]),RetryConfigSchema=strictObject({'count':_0x3c2225[_0x5ed12c(0x20b)]()['int']()[_0x5ed12c(0x21f)](0x0)[_0x5ed12c(0x1f9)](0xa),'on':_0x3c2225[_0x5ed12c(0x219)](RetryReasonSchema)}),FailureBundleConfigSchema=strictObject({'tier1':_0x3c2225[_0x5ed12c(0x215)](!![])['default'](!![]),'tier2':_0x3c2225[_0x5ed12c(0x1dc)](),'tier3':strictObject({'network':_0x3c2225['boolean'](),'video':_0x3c2225[_0x5ed12c(0x1dc)]()}),'retention':strictObject({'runs':_0x3c2225['number']()[_0x5ed12c(0x1d5)]()['positive'](),'days':_0x3c2225['number']()[_0x5ed12c(0x1d5)]()['positive']()}),'storageDir':_0x3c2225['string']()[_0x5ed12c(0x21f)](0x1),'pageHtml':_0x3c2225['enum']([_0x5ed12c(0x204),_0x5ed12c(0x1f0)])}),DialogPolicySchema=_0x3c2225[_0x5ed12c(0x217)]([_0x5ed12c(0x1ed),'dismiss',_0x5ed12c(0x218)]),LinterRuleIdSchema=_0x3c2225[_0x5ed12c(0x217)]([_0x5ed12c(0x1fd),'lint:xpath',_0x5ed12c(0x1eb),_0x5ed12c(0x1da),'lint:disambig-by-index','lint:evaluate-discouraged',_0x5ed12c(0x1e6),_0x5ed12c(0x1ea),_0x5ed12c(0x1c4),_0x5ed12c(0x1d6),_0x5ed12c(0x1f7),'lint:api-call-file-body',_0x5ed12c(0x1e9),_0x5ed12c(0x1c7),_0x5ed12c(0x1f1),'lint:external-variable-undeclared','lint:env-host-from-base','lint:one-test-per-file','lint:shadows-dsl-function',_0x5ed12c(0x1cd),_0x5ed12c(0x20d),'validator:unknown-function','validator:arity',_0x5ed12c(0x221),_0x5ed12c(0x211),'validator:step-shape',_0x5ed12c(0x203),_0x5ed12c(0x1e7),_0x5ed12c(0x212),_0x5ed12c(0x1ec),_0x5ed12c(0x1d1),'validator:unsupported-statement',_0x5ed12c(0x216),'validator:string-concat',_0x5ed12c(0x1d7),'validator:list-arg',_0x5ed12c(0x1cb)]),LinterSeveritySchema=_0x3c2225[_0x5ed12c(0x217)](['off',_0x5ed12c(0x1c2),_0x5ed12c(0x205)]),LinterConfigSchema=strictObject({'enabled':_0x3c2225['boolean'](),'rules':_0x3c2225[_0x5ed12c(0x1c5)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=strictObject({'enabled':_0x3c2225['boolean']()[_0x5ed12c(0x1c8)](!![]),'concurrency':_0x3c2225[_0x5ed12c(0x20b)]()[_0x5ed12c(0x1d5)]()['positive']()['default'](0x1)}),ScheduleSchema=strictObject({'collection':_0x3c2225[_0x5ed12c(0x213)]()[_0x5ed12c(0x21f)](0x1),'cron':_0x3c2225['string']()[_0x5ed12c(0x21f)](0x1),'env':_0x3c2225[_0x5ed12c(0x213)]()[_0x5ed12c(0x21f)](0x1)[_0x5ed12c(0x1d4)](),'prepare':_0x3c2225['string']()[_0x5ed12c(0x21f)](0x1)[_0x5ed12c(0x1d4)]()}),McpConfigSchema=strictObject({'transport':_0x3c2225[_0x5ed12c(0x215)]('stdio')}),SandboxConfigSchema=strictObject({'shellCwd':_0x3c2225[_0x5ed12c(0x213)]()[_0x5ed12c(0x1d4)](),'shellTimeoutMs':_0x3c2225[_0x5ed12c(0x20b)]()[_0x5ed12c(0x1d5)]()[_0x5ed12c(0x1d0)]()[_0x5ed12c(0x1d4)](),'exportSecrets':_0x3c2225['array'](_0x3c2225[_0x5ed12c(0x213)]())['optional'](),'database':_0x3c2225['string']()['optional'](),'apiBaseUrl':_0x3c2225['string']()[_0x5ed12c(0x20e)]()[_0x5ed12c(0x1d4)](),'uploadDir':_0x3c2225['string']()[_0x5ed12c(0x1d4)](),'readRoots':_0x3c2225['array'](_0x3c2225[_0x5ed12c(0x213)]()[_0x5ed12c(0x21f)](0x1))[_0x5ed12c(0x1d4)]()}),WebServerConfigSchema=strictObject({'command':_0x3c2225[_0x5ed12c(0x213)]()[_0x5ed12c(0x21f)](0x1),'url':_0x3c2225[_0x5ed12c(0x213)]()[_0x5ed12c(0x20e)](),'reuseExistingServer':_0x3c2225['boolean']()[_0x5ed12c(0x1c8)](!![]),'timeoutMs':_0x3c2225[_0x5ed12c(0x20b)]()[_0x5ed12c(0x1d5)]()[_0x5ed12c(0x1d0)]()['default'](0xea60)}),WebServersConfigSchema=_0x3c2225[_0x5ed12c(0x220)]([WebServerConfigSchema,_0x3c2225[_0x5ed12c(0x219)](WebServerConfigSchema)['min'](0x1)])[_0x5ed12c(0x20a)](_0x30beea=>Array[_0x5ed12c(0x1ef)](_0x30beea)?_0x30beea:[_0x30beea])['superRefine']((_0x3a72a7,_0x5ebf91)=>{var _0x56e11e={_0x1dad30:0x1de},_0x5a5c7c={_0x1e6757:0x1f8,_0x4ecb82:0x1d2,_0x16bd83:0x20e},_0x252e1b=_0x5ed12c;const _0x54af01=new Set();_0x3a72a7[_0x252e1b(_0x56e11e._0x1dad30)]((_0x505629,_0x502a4e)=>{var _0x443ea7=_0x252e1b;_0x54af01[_0x443ea7(_0x5a5c7c._0x1e6757)](_0x505629['url'])&&_0x5ebf91['addIssue']({'code':_0x3c2225['ZodIssueCode'][_0x443ea7(0x1f3)],'path':[_0x502a4e,_0x443ea7(0x20e)],'message':_0x443ea7(0x1c3)+_0x502a4e+_0x443ea7(_0x5a5c7c._0x4ecb82)+_0x505629[_0x443ea7(0x20e)]+_0x443ea7(0x1df)}),_0x54af01['add'](_0x505629[_0x443ea7(_0x5a5c7c._0x16bd83)]);});}),EnvConfigSchema=strictObject({'shared':_0x3c2225[_0x5ed12c(0x219)](_0x3c2225[_0x5ed12c(0x213)]())['default']([])}),UnotestConfigSchema=strictObject({'baseUrl':_0x3c2225[_0x5ed12c(0x213)]()[_0x5ed12c(0x20e)]()[_0x5ed12c(0x1d4)](),'webServer':WebServersConfigSchema[_0x5ed12c(0x1d4)](),'browsers':_0x3c2225['array'](BrowserSchema)[_0x5ed12c(0x21f)](0x1),'channel':BrowserChannelSchema,'viewport':ConfigViewportSchema[_0x5ed12c(0x1d4)](),'device':_0x3c2225[_0x5ed12c(0x213)]()[_0x5ed12c(0x21f)](0x1)[_0x5ed12c(0x1d4)](),'timezone':_0x3c2225['string']()[_0x5ed12c(0x1ff)](isTimeZone,_0x575ad4=>({'message':_0x5ed12c(0x200)+_0x575ad4+_0x5ed12c(0x208)}))[_0x5ed12c(0x1d4)](),'locale':_0x3c2225[_0x5ed12c(0x213)]()[_0x5ed12c(0x1ff)](isLocale,_0x27b422=>({'message':_0x5ed12c(0x222)+_0x27b422+'\x22\x20—\x20expected\x20a\x20BCP\x2047\x20tag\x20such\x20as\x20\x22es-ES\x22'}))['optional'](),'maxContexts':_0x3c2225['number']()['int']()['positive']()['optional'](),'launch':LaunchConfigSchema[_0x5ed12c(0x1d4)](),'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':_0x3c2225[_0x5ed12c(0x213)]()[_0x5ed12c(0x1d4)](),'testDir':_0x3c2225[_0x5ed12c(0x213)]()[_0x5ed12c(0x21f)](0x1),'helpersDir':_0x3c2225['string']()['min'](0x1),'defaultTimeoutMs':_0x3c2225['number']()[_0x5ed12c(0x1d5)]()[_0x5ed12c(0x1d0)](),'defaultNavigationTimeoutMs':_0x3c2225['number']()[_0x5ed12c(0x1d5)]()['positive'](),'teardownTimeoutMs':_0x3c2225['number']()[_0x5ed12c(0x1d5)]()[_0x5ed12c(0x1d0)]()[_0x5ed12c(0x1d4)](),'testTimeoutMs':_0x3c2225['number']()[_0x5ed12c(0x1d5)]()['positive']()[_0x5ed12c(0x1d4)](),'env':EnvConfigSchema,'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':_0x3c2225['array'](ScheduleSchema)['default']([]),'sandbox':SandboxConfigSchema})['superRefine']((_0x4db6fa,_0x272b92)=>{var _0x18e9d3={_0xae968f:0x1f5,_0xee606b:0x1bf,_0x2b0912:0x209},_0x493b24=_0x5ed12c;_0x4db6fa[_0x493b24(_0x18e9d3._0xae968f)]===null&&_0x4db6fa['device']!==void 0x0&&_0x272b92[_0x493b24(_0x18e9d3._0xee606b)]({'code':_0x3c2225[_0x493b24(0x20f)][_0x493b24(0x1f3)],'path':[_0x493b24(0x1f5)],'message':_0x493b24(_0x18e9d3._0x2b0912)+_0x4db6fa[_0x493b24(0x1e8)]+_0x493b24(0x1c9)});});function isTimeZone(_0x37780c){var _0x51e958=_0x5ed12c;try{return new Intl[(_0x51e958(0x21a))](_0x51e958(0x1e4),{'timeZone':_0x37780c}),_0x37780c['length']>0x0;}catch{return![];}}__name(isTimeZone,'isTimeZone');function isLocale(_0x27699c){var _0x4e086e=_0x5ed12c;try{return Intl[_0x4e086e(0x1c6)](_0x27699c)[_0x4e086e(0x1f6)]===0x1;}catch{return![];}}__name(isLocale,_0x5ed12c(0x1dd));var DEFAULT_CONFIG={'browsers':[_0x5ed12c(0x207)],'retry':{'count':0x0,'on':[_0x5ed12c(0x214)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':'.unotest/failures','pageHtml':_0x5ed12c(0x204)},'dialogPolicy':_0x5ed12c(0x1ed),'testDir':_0x5ed12c(0x20c),'helpersDir':_0x5ed12c(0x1d8),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x5ed12c(0x1c2),'lint:xpath':_0x5ed12c(0x1c2),'lint:obfuscated-class':_0x5ed12c(0x1c2),'lint:pause-explicit':'warn','lint:disambig-by-index':_0x5ed12c(0x1cc),'lint:evaluate-discouraged':_0x5ed12c(0x1c2),'lint:scenario-in-root':_0x5ed12c(0x205),'lint:mustache-in-dsl':_0x5ed12c(0x205),'lint:goto-concat':_0x5ed12c(0x1c2),'lint:regex-invalid':'error','lint:echo-assert':_0x5ed12c(0x1c2),'lint:lint-ok-missing-reason':_0x5ed12c(0x1c2),'lint:flow-returns-value':_0x5ed12c(0x1c2),'lint:legacy-layout':_0x5ed12c(0x1c2),'lint:external-variable-undeclared':_0x5ed12c(0x205),'lint:env-host-from-base':_0x5ed12c(0x205),'lint:one-test-per-file':'warn','lint:shadows-dsl-function':_0x5ed12c(0x1c2),'lint:skip-outside-test':_0x5ed12c(0x205),'lint:set-test-timeout-outside-test':_0x5ed12c(0x205),'validator:unknown-function':'error'}},'env':{'shared':[]},'mcp':{'transport':_0x5ed12c(0x1fb)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};export{BROWSER_CHANNEL_WORDS,BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,EnvConfigSchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SYSTEM_BROWSER_CHANNELS,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema,WebServersConfigSchema};
1
+ var _0x284e94=_0xc922;(function(_0x986268,_0x498814){var _0x14091a={_0x493284:0xd1,_0x3b5fd6:0xf0,_0x164806:0xfd,_0x1c3454:0xcb,_0x58333f:0xe7},_0x565915=_0xc922,_0x1e06ab=_0x986268();while(!![]){try{var _0xb903f9=-parseInt(_0x565915(_0x14091a._0x493284))/0x1+-parseInt(_0x565915(_0x14091a._0x3b5fd6))/0x2+-parseInt(_0x565915(_0x14091a._0x164806))/0x3+parseInt(_0x565915(0xac))/0x4*(parseInt(_0x565915(0xe4))/0x5)+parseInt(_0x565915(_0x14091a._0x1c3454))/0x6*(-parseInt(_0x565915(_0x14091a._0x58333f))/0x7)+parseInt(_0x565915(0xfc))/0x8+parseInt(_0x565915(0xb6))/0x9;if(_0xb903f9===_0x498814)break;else _0x1e06ab['push'](_0x1e06ab['shift']());}catch(_0x5b0213){_0x1e06ab['push'](_0x1e06ab['shift']());}}}(_0x3e24,0x7294d));var __defProp=Object[_0x284e94(0x9f)],__name=(_0x1d0bbf,_0x1546d2)=>__defProp(_0x1d0bbf,_0x284e94(0xf7),{'value':_0x1546d2,'configurable':!![]});import{z as _0x1a03f7}from'zod';import{z}from'zod';import{levenshteinDistance}from'@unotest/core';var MAX_EDITS=0x2;function closestKey(_0x1050a2,_0x1fcced){var _0x2c9086={_0x4630d5:0xc2},_0x31e07=_0x284e94;let _0x38c020;for(const _0x3de81d of _0x1fcced){const _0x2cfb2f=levenshteinDistance(_0x1050a2[_0x31e07(_0x2c9086._0x4630d5)](),_0x3de81d['toLowerCase']());if(_0x2cfb2f>MAX_EDITS)continue;if(_0x38c020===void 0x0||_0x2cfb2f<_0x38c020['distance'])_0x38c020={'key':_0x3de81d,'distance':_0x2cfb2f};}return _0x38c020?.['key'];}__name(closestKey,_0x284e94(0xc3));function unknownKeyMessage(_0x470716,_0x2a7ad1){var _0x248f5d={_0x1921f9:0xe5},_0x3a228f={_0xb4612e:0xb4,_0x165fc7:0xc9},_0x403e0d=_0x284e94;return _0x470716[_0x403e0d(_0x248f5d._0x1921f9)](_0x38799d=>{var _0x4ec41e=_0x403e0d;const _0x51de11=closestKey(_0x38799d,_0x2a7ad1);return _0x51de11===void 0x0?_0x4ec41e(_0x3a228f._0xb4612e)+_0x38799d+_0x4ec41e(_0x3a228f._0x165fc7):_0x4ec41e(_0x3a228f._0xb4612e)+_0x38799d+'\x22\x20—\x20did\x20you\x20mean\x20\x22'+_0x51de11+'\x22?';})[_0x403e0d(0xf9)](';\x20');}function _0xc922(_0x11bfae,_0x107e05){_0x11bfae=_0x11bfae-0x99;var _0x3e24cf=_0x3e24();var _0xc922d3=_0x3e24cf[_0x11bfae];if(_0xc922['aMqSys']===undefined){var _0x45a93b=function(_0x2959de){var _0x13385c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1a03f7='',_0x3868fd='';for(var _0x1d0bbf=0x0,_0x1546d2,_0x1050a2,_0x1fcced=0x0;_0x1050a2=_0x2959de['charAt'](_0x1fcced++);~_0x1050a2&&(_0x1546d2=_0x1d0bbf%0x4?_0x1546d2*0x40+_0x1050a2:_0x1050a2,_0x1d0bbf++%0x4)?_0x1a03f7+=String['fromCharCode'](0xff&_0x1546d2>>(-0x2*_0x1d0bbf&0x6)):0x0){_0x1050a2=_0x13385c['indexOf'](_0x1050a2);}for(var _0x38c020=0x0,_0x3de81d=_0x1a03f7['length'];_0x38c020<_0x3de81d;_0x38c020++){_0x3868fd+='%'+('00'+_0x1a03f7['charCodeAt'](_0x38c020)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3868fd);};_0xc922['YLEJAN']=_0x45a93b,_0xc922['xgqSKO']={},_0xc922['aMqSys']=!![];}var _0x354e3b=_0x3e24cf[0x0],_0x3f53d9=_0x11bfae+_0x354e3b,_0x4c68ed=_0xc922['xgqSKO'][_0x3f53d9];return!_0x4c68ed?(_0xc922d3=_0xc922['YLEJAN'](_0xc922d3),_0xc922['xgqSKO'][_0x3f53d9]=_0xc922d3):_0xc922d3=_0x4c68ed,_0xc922d3;}__name(unknownKeyMessage,'unknownKeyMessage');function strictObject(_0x458f65){var _0x567af4={_0x284bdb:0xa5},_0x1a9cbb=_0x284e94;const _0x3c5f2f=Object[_0x1a9cbb(_0x567af4._0x284bdb)](_0x458f65);return z['object'](_0x458f65,{'errorMap':__name((_0x406172,_0x423858)=>_0x406172[_0x1a9cbb(0xc4)]===z[_0x1a9cbb(0xbe)][_0x1a9cbb(0x99)]?{'message':unknownKeyMessage(_0x406172['keys'],_0x3c5f2f)}:{'message':_0x423858[_0x1a9cbb(0xb5)]},_0x1a9cbb(0x104))})[_0x1a9cbb(0xbc)]();}__name(strictObject,_0x284e94(0xba));import{BUNDLED_BROWSER_CHANNEL}from'@unotest/protocol';import{z as _0x3868fd}from'zod';import{UnotestError}from'@unotest/core';var LaunchConfigSchema=_0x3868fd[_0x284e94(0xde)]({'userDataDir':_0x3868fd[_0x284e94(0xec)]()['min'](0x1)[_0x284e94(0x9a)](),'profile':_0x3868fd['literal']('per-test')[_0x284e94(0x9a)](),'args':_0x3868fd['array'](_0x3868fd[_0x284e94(0xec)]()['min'](0x1))[_0x284e94(0x9a)]()})[_0x284e94(0xbc)](),BrowserSchema=_0x1a03f7[_0x284e94(0xd3)]([_0x284e94(0x9b),_0x284e94(0xbb),_0x284e94(0xca)]),SYSTEM_BROWSER_CHANNELS=['chrome',_0x284e94(0xa6),_0x284e94(0xad),'chromium'],BROWSER_CHANNEL_WORDS=[...SYSTEM_BROWSER_CHANNELS,BUNDLED_BROWSER_CHANNEL],BrowserChannelSchema=_0x1a03f7['union']([_0x1a03f7[_0x284e94(0xd3)](SYSTEM_BROWSER_CHANNELS),_0x1a03f7[_0x284e94(0xce)](BUNDLED_BROWSER_CHANNEL)[_0x284e94(0xbd)](()=>null),_0x1a03f7[_0x284e94(0xb9)]()])['optional'](),ViewportSchema=strictObject({'width':_0x1a03f7['number']()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()[_0x284e94(0x9a)](),'height':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()[_0x284e94(0x9a)](),'deviceScaleFactor':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0xf8)]()['optional']()}),ConfigViewportSchema=ViewportSchema[_0x284e94(0xd0)](),RetryReasonSchema=_0x1a03f7[_0x284e94(0xd3)]([_0x284e94(0xe0),_0x284e94(0xfe),_0x284e94(0xea)]),RetryConfigSchema=strictObject({'count':_0x1a03f7['number']()[_0x284e94(0x101)]()[_0x284e94(0xc0)](0x0)[_0x284e94(0xc5)](0xa),'on':_0x1a03f7['array'](RetryReasonSchema)}),FailureBundleConfigSchema=strictObject({'tier1':_0x1a03f7[_0x284e94(0xce)](!![])[_0x284e94(0xb0)](!![]),'tier2':_0x1a03f7['boolean'](),'tier3':strictObject({'network':_0x1a03f7[_0x284e94(0xdd)](),'video':_0x1a03f7['boolean']()}),'retention':strictObject({'runs':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)](),'days':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()['positive']()}),'storageDir':_0x1a03f7['string']()[_0x284e94(0xc0)](0x1),'pageHtml':_0x1a03f7[_0x284e94(0xd3)](['redacted',_0x284e94(0x9e)])}),DialogPolicySchema=_0x1a03f7[_0x284e94(0xd3)](['accept','dismiss',_0x284e94(0xae)]),LinterRuleIdSchema=_0x1a03f7[_0x284e94(0xd3)]([_0x284e94(0xcf),_0x284e94(0xdf),_0x284e94(0xb3),_0x284e94(0xe1),_0x284e94(0xef),_0x284e94(0xd7),_0x284e94(0xd4),_0x284e94(0xd8),_0x284e94(0xed),'lint:regex-invalid','lint:echo-assert',_0x284e94(0xa0),_0x284e94(0xfa),'lint:flow-returns-value',_0x284e94(0xc6),_0x284e94(0xcd),_0x284e94(0xb2),_0x284e94(0xa4),_0x284e94(0xb8),'lint:skip-outside-test','lint:set-test-timeout-outside-test',_0x284e94(0xe6),'validator:arity',_0x284e94(0x102),_0x284e94(0xf3),_0x284e94(0xf5),_0x284e94(0xf1),_0x284e94(0xe3),_0x284e94(0xeb),_0x284e94(0xa8),_0x284e94(0x100),_0x284e94(0xdb),'validator:unsupported-expression',_0x284e94(0xe8),_0x284e94(0xd9),_0x284e94(0xd2),_0x284e94(0xe2)]),LinterSeveritySchema=_0x1a03f7[_0x284e94(0xd3)]([_0x284e94(0xa1),'warn',_0x284e94(0xfb)]),LinterConfigSchema=strictObject({'enabled':_0x1a03f7[_0x284e94(0xdd)](),'rules':_0x1a03f7[_0x284e94(0xc1)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=strictObject({'enabled':_0x1a03f7[_0x284e94(0xdd)]()[_0x284e94(0xb0)](!![]),'concurrency':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()[_0x284e94(0xb0)](0x1)}),ScheduleSchema=strictObject({'collection':_0x1a03f7['string']()[_0x284e94(0xc0)](0x1),'cron':_0x1a03f7['string']()[_0x284e94(0xc0)](0x1),'env':_0x1a03f7['string']()['min'](0x1)[_0x284e94(0x9a)](),'prepare':_0x1a03f7['string']()[_0x284e94(0xc0)](0x1)['optional']()}),McpConfigSchema=strictObject({'transport':_0x1a03f7['literal'](_0x284e94(0xc7))}),SandboxConfigSchema=strictObject({'shellCwd':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0x9a)](),'shellTimeoutMs':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()['optional'](),'exportSecrets':_0x1a03f7['array'](_0x1a03f7[_0x284e94(0xec)]())[_0x284e94(0x9a)](),'database':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0x9a)](),'apiBaseUrl':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xa2)]()[_0x284e94(0x9a)](),'uploadDir':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0x9a)](),'readRoots':_0x1a03f7['array'](_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xc0)](0x1))[_0x284e94(0x9a)]()}),WebServerConfigSchema=strictObject({'command':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xc0)](0x1),'url':_0x1a03f7['string']()[_0x284e94(0xa2)](),'reuseExistingServer':_0x1a03f7['boolean']()[_0x284e94(0xb0)](!![]),'timeoutMs':_0x1a03f7['number']()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()['default'](0xea60)}),WebServersConfigSchema=_0x1a03f7['union']([WebServerConfigSchema,_0x1a03f7[_0x284e94(0xbf)](WebServerConfigSchema)[_0x284e94(0xc0)](0x1)])[_0x284e94(0xbd)](_0x3332c3=>Array['isArray'](_0x3332c3)?_0x3332c3:[_0x3332c3])[_0x284e94(0xd5)]((_0x243e60,_0x18cddc)=>{var _0x44f4f3={_0x23be9c:0xf2},_0x50aa35={_0x385eb6:0xa2,_0x5a9611:0xee,_0x493a79:0xbe,_0x1253ce:0xff,_0x43f163:0xaf,_0x216d8b:0xa2,_0x4cf873:0xdc},_0x13c772=_0x284e94;const _0x48fd22=new Set();_0x243e60[_0x13c772(_0x44f4f3._0x23be9c)]((_0x46017c,_0x4aef55)=>{var _0x5abdf1=_0x13c772;_0x48fd22['has'](_0x46017c[_0x5abdf1(_0x50aa35._0x385eb6)])&&_0x18cddc[_0x5abdf1(_0x50aa35._0x5a9611)]({'code':_0x1a03f7[_0x5abdf1(_0x50aa35._0x493a79)][_0x5abdf1(0x103)],'path':[_0x4aef55,_0x5abdf1(0xa2)],'message':_0x5abdf1(_0x50aa35._0x1253ce)+_0x4aef55+_0x5abdf1(_0x50aa35._0x43f163)+_0x46017c[_0x5abdf1(_0x50aa35._0x216d8b)]+_0x5abdf1(_0x50aa35._0x4cf873)}),_0x48fd22['add'](_0x46017c['url']);});}),EnvConfigSchema=strictObject({'shared':_0x1a03f7[_0x284e94(0xbf)](_0x1a03f7[_0x284e94(0xec)]())['default']([])}),UnotestConfigSchema=strictObject({'baseUrl':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xa2)]()[_0x284e94(0x9a)](),'webServer':WebServersConfigSchema['optional'](),'browsers':_0x1a03f7[_0x284e94(0xbf)](BrowserSchema)['min'](0x1),'channel':BrowserChannelSchema,'viewport':ConfigViewportSchema['optional'](),'device':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xc0)](0x1)[_0x284e94(0x9a)](),'timezone':_0x1a03f7[_0x284e94(0xec)]()['refine'](isTimeZone,_0x14c84a=>({'message':_0x284e94(0xaa)+_0x14c84a+_0x284e94(0xc8)}))[_0x284e94(0x9a)](),'locale':_0x1a03f7[_0x284e94(0xec)]()['refine'](isLocale,_0x5cca55=>({'message':_0x284e94(0xa3)+_0x5cca55+_0x284e94(0xa7)}))[_0x284e94(0x9a)](),'maxContexts':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()[_0x284e94(0x9a)](),'launch':LaunchConfigSchema[_0x284e94(0x9a)](),'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0x9a)](),'testDir':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xc0)](0x1),'helpersDir':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xc0)](0x1),'defaultTimeoutMs':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)](),'defaultNavigationTimeoutMs':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)](),'teardownTimeoutMs':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()['optional'](),'testTimeoutMs':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()[_0x284e94(0x9a)](),'env':EnvConfigSchema,'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':_0x1a03f7[_0x284e94(0xbf)](ScheduleSchema)[_0x284e94(0xb0)]([]),'sandbox':SandboxConfigSchema})[_0x284e94(0xd5)]((_0x271d11,_0x3e463b)=>{var _0x385c87={_0x41835d:0xb1,_0x64d7c0:0x103,_0x3f64b2:0xcc,_0x115bfd:0xd6},_0x241c68=_0x284e94;_0x271d11[_0x241c68(_0x385c87._0x41835d)]===null&&_0x271d11[_0x241c68(0xf6)]!==void 0x0&&_0x3e463b[_0x241c68(0xee)]({'code':_0x1a03f7[_0x241c68(0xbe)][_0x241c68(_0x385c87._0x64d7c0)],'path':[_0x241c68(0xb1)],'message':_0x241c68(_0x385c87._0x3f64b2)+_0x271d11['device']+_0x241c68(_0x385c87._0x115bfd)});});function isTimeZone(_0x1e8667){var _0x345a88=_0x284e94;try{return new Intl['DateTimeFormat'](_0x345a88(0xab),{'timeZone':_0x1e8667}),_0x1e8667[_0x345a88(0x9c)]>0x0;}catch{return![];}}__name(isTimeZone,'isTimeZone');function _0x3e24(){var _0x4df6da=['BNvSBgfIBgu','mZiXmZi2Cvz2s3jg','DMfSAwrHDg9YoMXPC3qTyxjN','zw51Bq','BgLUDdPZy2vUyxjPBY1PBI1YB290','C3vWzxjszwzPBMu','iIbZzxrZigL0CYbVD24GC2L6zsbHBMqGC2nHBguG4OcuigrYB3aGB25Lig9MihrOzw0U','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','BgLUDdPTDxn0ywnOzs1PBI1KC2W','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','CMvKywn0zwq','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','igLZigfSCMvHzhKGyw5VDgHLCIbZzxj2zxiNCYdIGjqGzwfJAcbZzxj2zxiGBMvLzhmGAxrZig93BIbYzwfKAw5LC3mGvvjmlG','yM9VBgvHBG','B2jQzwn0','BgLUDdP4Cgf0Aa','DhjHBNnPzw50','BgLUDdPWyxvZzs1LEhbSAwnPDa','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','otqXmfLfs0XSyW','BwfW','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','nZC2m3nyvgrpsa','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','z2v0q2fUB25Py2fStg9JywXLCW','y3jHC2G','DMfSAwrHDg9YoMzVCI1ZAgfWzq','C3rYAw5N','BgLUDdPNB3rVlwnVBMnHDa','ywrKsxnZDwu','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','mteXotmXnLHACeHgCG','DMfSAwrHDg9YoM1LDgeTC2HHCgu','zM9YrwfJAa','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','BNvTyMvY','DMfSAwrHDg9YoNn0zxaTC2HHCgu','zgv2AwnL','BMfTzq','Cg9ZAxrPDMu','AM9PBG','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','zxjYB3i','mZe2mtG4mgTNyLDJsq','ntqZmdy2v1boBgrS','BMv0D29YAW','D2vIu2vYDMvYwW','DMfSAwrHDg9YoNzHCI1ZAgfWzq','Aw50','DMfSAwrHDg9YoMfYzY1RAw5K','y3vZDg9T','zxjYB3jnyxa','Dw5YzwnVz25PEMvKx2TLExm','B3b0Aw9UywW','y2HYB21PDw0','BgvUz3rO','D2fYBG','zNvSBa','zgvMAw5LuhjVCgvYDhK','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','B2zM','DxjS','Aw52ywXPzcbSB2nHBguGiG','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq','A2v5CW','BxnLzgDL','iIdIGjqGzxHWzwn0zwqGysbcq1aGndCGDgfNihn1y2GGyxmGiMvZluvtiG','DMfSAwrHDg9YoMLMlxnOyxbL','lNvUB3rLC3qVzMfPBhvYzxm','Dw5RBM93BIb0Aw1LihPVBMuGiG','zw4Tvvm','nZaWvMvkrxnY','y2HYB21LlwjLDge','BwfUDwfS','xs51CMWG','zgvMyxvSDa','DMLLD3bVCNq','BgLUDdPLBNyTAg9ZDc1MCM9TlwjHC2u','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','Dw5RBM93BIbRzxKGiG','zgvMyxvSDevYCM9Y','mtmXnZK0ndDoA2LJqwC','ywnJzxb0','BgLUDdPZAgfKB3DZlwrZBc1MDw5JDgLVBG','BNvSBa','C3rYAwn0t2jQzwn0','zMLYzwzVEa','C3rYAwn0','DhjHBNnMB3jT','wM9KsxnZDwvdB2rL','yxjYyxK','BwLU','CMvJB3jK','Dg9mB3DLCKnHC2u','y2XVC2vZDeTLEq','y29Kzq','Bwf4','BgLUDdPSzwDHy3KTBgf5B3v0','C3rKAw8','iIdIGjqGzxHWzwn0zwqGyw4GsufoqsbUyw1Lihn1y2GGyxmGiKv1CM9Wzs9nywrYAwqI','iIdIGjqGBM90igeGy29UzMLNigTLEtSGy2HLy2SGEw91CIbaDw5VDgvZDc93zwiGDMvYC2LVBIbPzIbPDcbJB21LCYbMCM9TigeGBMv3zxiGCMvSzwfZzq','D2vIA2L0','mZu1ogzWwLfWEa','DMLLD3bVCNq6ig51BgWGA2vLChmGDgHLihjLywWGyNjVD3nLCIb3Aw5KB3CSigfUzcbKzxzPy2uGiG','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','BgL0zxjHBa','BgLUDdPKzwvWlwnZCW'];_0x3e24=function(){return _0x4df6da;};return _0x3e24();}function isLocale(_0x161691){var _0x2ada93={_0x5764f1:0xe9,_0x463899:0x9c},_0x194d7d=_0x284e94;try{return Intl[_0x194d7d(_0x2ada93._0x5764f1)](_0x161691)[_0x194d7d(_0x2ada93._0x463899)]===0x1;}catch{return![];}}__name(isLocale,'isLocale');var DEFAULT_CONFIG={'browsers':[_0x284e94(0x9b)],'retry':{'count':0x0,'on':[_0x284e94(0xe0)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x284e94(0xa9),'pageHtml':_0x284e94(0xda)},'dialogPolicy':_0x284e94(0xb7),'testDir':'unotest/e2e','helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x284e94(0x9d),'lint:xpath':'warn','lint:obfuscated-class':'warn','lint:pause-explicit':_0x284e94(0x9d),'lint:disambig-by-index':_0x284e94(0xa1),'lint:evaluate-discouraged':'warn','lint:scenario-in-root':_0x284e94(0xfb),'lint:mustache-in-dsl':_0x284e94(0xfb),'lint:goto-concat':_0x284e94(0x9d),'lint:regex-invalid':_0x284e94(0xfb),'lint:echo-assert':'warn','lint:lint-ok-missing-reason':'warn','lint:flow-returns-value':_0x284e94(0x9d),'lint:legacy-layout':'warn','lint:external-variable-undeclared':'error','lint:env-host-from-base':_0x284e94(0xfb),'lint:one-test-per-file':_0x284e94(0x9d),'lint:shadows-dsl-function':_0x284e94(0x9d),'lint:skip-outside-test':_0x284e94(0xfb),'lint:set-test-timeout-outside-test':_0x284e94(0xfb),'validator:unknown-function':_0x284e94(0xfb)}},'env':{'shared':[]},'mcp':{'transport':_0x284e94(0xc7)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};export{BROWSER_CHANNEL_WORDS,BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,EnvConfigSchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SYSTEM_BROWSER_CHANNELS,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema,WebServersConfigSchema};
@@ -1,5 +1,5 @@
1
- import { B as BoundingBox, E as ElementHint, S as ScreenshotOptions, L as LocatorValue, C as CaptureFrame, a as CaptureRect, P as PageConsole, N as NetworkEntry, W as WebDriver, b as LaunchOptions, c as ContextOptions, D as DriverContext, A as AttachOptions } from '../interfaces-CYoL4Taq.js';
2
- export { d as ActionTimeout, e as CheckOptions, f as ClickOptions, g as CookieOptions, h as DriverPage, F as FillOptions, G as GotoOptions, H as HoverOptions, i as NavigationOptions, j as PressOptions, R as ReloadOptions, k as SelectOptions, V as Viewport, l as ViewportSize, m as WaitOptions, n as WaitState } from '../interfaces-CYoL4Taq.js';
1
+ import { B as BoundingBox, E as ElementHint, S as ScreenshotOptions, L as LocatorValue, C as CaptureFrame, a as CaptureRect, P as PageConsole, N as NetworkEntry, W as WebDriver, b as LaunchOptions, c as ContextOptions, D as DriverContext, A as AttachOptions } from '../interfaces-CTMGjJIs.js';
2
+ export { d as ActionTimeout, e as CheckOptions, f as ClickOptions, g as CookieOptions, h as DriverPage, F as FillOptions, G as GotoOptions, H as HoverOptions, i as NavigationOptions, j as PressOptions, R as ReloadOptions, k as SelectOptions, V as Viewport, l as ViewportSize, m as WaitOptions, n as WaitState } from '../interfaces-CTMGjJIs.js';
3
3
  import '@unotest/protocol';
4
4
  import '../config/schema.js';
5
5
  import 'zod';
@@ -34,6 +34,11 @@ interface FakeBehavior {
34
34
  boundingBoxByDefault?: BoundingBox | null;
35
35
  /** Default isDisabled() response. Default: false. */
36
36
  isDisabledByDefault?: boolean;
37
+ /** Per-property computedStyle(loc, property) response. Default: "". */
38
+ computedStyleByProperty?: Record<string, string>;
39
+ /** runningAnimations(loc) response, one per call in order; the last
40
+ * repeats. Default: 0. */
41
+ runningAnimationsSequence?: number[];
37
42
  /** Default checkedState() response — null = "not a checkable element",
38
43
  * the shape a plain <input type=text> reports. Default: null. */
39
44
  checkedStateByDefault?: boolean | null;
@@ -1 +1 @@
1
- function _0x1296(){const _0x20cbaa=['ig9Wzw4','C2nYzwvUC2HVDevSzw1LBNq','BM9eB3DUBg9Hza','zg93BMXVywrZ','lNbHz2u','DgLTzw91De1Z','u2vYDMLJzvDVCMTLCK5LzwrZuhjVzMLSzuvYCM9Y','Ag92zxi','A2v5CW','zxzHBhvHDgu','DgHLihbHz2uGy2XVy2SGAxmGBM90igLUC3rHBgXLzcbVBIb0AgLZigjYB3DZzxiG4OcuigL0igHHCYb0BYbIzsbPBIbWBgfJzsbIzwzVCMuGDgHLigzPCNn0ihbHz2uGBg9HzhmSig9YihrOzsbWywDLj3mGB3DUihrPBwvYCYbRzwvWihjLywWGDgLTzs4GqsbYDw4GAw5ZDgfSBhmGAxqGD2HLBIb0AguGC2nLBMfYAw8GB3iGAxrZigHLBhbLCNmGy2fSBcbJBg9JA0zYzwv6zsaVignSB2nRvgLJAYaVignSB2nRuNvUoYbVDMvYie1ducWGB3bLBIb0AguGyNjVD3nLCIb3AxrOig5LD19JB250zxH0ihTJBg9JAZOGDhj1zx0Gkg9Yigv4CgXVCMvFC3rHCNqGE2nSB2nRoIb0CNvLFsKU','y3jLyxrLuMvJB3jKzxi','zNjVEMvU','mte5zunUvwzv','z2v0q29VA2LL','BM8Gzg93BMXVywq','zMLSBa','ihn0yxj0zwqGD2L0AgLUia','yxjYAxzHBhm','C2v0tg9JywXtDg9YywDL','y2XVy2TgCM96zw4','D2fPDgvY','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','lNbHz2uW','CMvM','C2XLzxa','DgvZDa','y29UBMvJDfnOyxjLza','z2v0tg9JywXtDg9YywDL','yNjPBMDuB0zYB250','ihrHyG','yMvOyxzPB3i','z2v0qxr0CMLIDxrL','z29cywnR','BM90AgLUzYbYzwnVCMrZihjLCxvLC3rZihrVia','CMvJB3jKzxi','nxDfENrTqq','ywn0AxzLswr4','D2fPDezVCG','ChvZAa','ChjLC3m','Aw5UzxjuzxH0qNLezwzHDwX0','CMvZCg9UC2u','zMLUza','A2LUza','zwXLBwvUDeHPBNrcEvjLzG','yxjYAxzLza','rhjPDMvYrxjYB3i','igLUia','zw1PDezHA2veB3DUBg9Hza','CMvZB2X2zq','mJG1mZuYmLHyrevrza','ndG3mJy0neHcDg9Jwq','mZe2ntq2nxPcCLnyrG','yxr0CMLIDxrLC0j5rgvMyxvSDa','zMfRzvDVCMTLCG','C291CMnL','D3nfBMrWB2LUDa','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','zMLSDgvY','D29YA2vYlMv2ywX1yxrL','AxnwAxnPyMXL','Bwf5yMvuAhjVDW','DgL0Bgu','C2nYzwvUC2HVDej5DgvZ','AxneAxnHyMXLza','C3bSAwnL','uM91DgvkB3vYBMfS','z29gB3j3yxjK','q2XVy2ToB3rjBNn0ywXSzwrfCNjVCG','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','D2fPDezVCKXVywrtDgf0zq','yM91BMrPBMDcB3HcEurLzMf1Bhq','C2v0qwn0AxzLugfNzq','CgXHBKnSB3nL','rg93BMXVywrrDwv1zq','AgLZDg9YEq','C3DPDgnOAw5N','y29UDgv4Dhm','tM90uMvJB3jKAw5NrxjYB3i','zMfRzs1WBMC','CgfNzuXPC3q','zhjHz0fUzerYB3a','D2fPDgvYCW','zNjVBq','y2HLy2S','Bgf1BMnOzwq','D29YA2vYvxjSCW','Bw9JA2vK','ig1ZlG','D29YA2vYtwf0y2HLCW','y2XVC2vqywDL','D2fPDezVCK5HDMLNyxrPB24','yMXVy2S','ywjVCNq','B25tDgfYDa','Bgf1BMnO','BgvUz3rO','zw1PDezHA2vszxf1zxn0','zw1PDezHA2vqB3b1Ca','Bwf0y2HLCK1HDgnOzxm','CxvLDwvK','C3rLChm','CgfNzxm','mtj3sfvKuKK','B3v0zxjive1m','C2f2zvn0B3jHz2vtDgf0zq','z290BW','C2v0q29VA2LL','y29VA2LLu3rHDgu','CMvJB3jK','Aw5ZCgvJDevSzw1LBNq','C3rYAw5N','D2fPDezVCK5LD1bHz2u','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','C2nYB2XSsw50B1zPzxC','C2vYDMLJzvDVCMTLCNm','AxnwAxnPyMXLqNLezwzHDwX0','CM91DgvZ','Cg9W','C2vSzwn0t3b0Aw9U','B3v0zxjiDg1SqNLszwy','C2nVCgu','ywjVDxq6yMXHBMS','y2XVC2u','tg9JyxrVCKvYCM9Y','DhLWzq','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','C3vIC2nYAwjL','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','Bw9JAW','C3rYAw5NAwz5','zgvZy3jPyMu','ig1HDgnOAw5Nia','Aw5KzxHpzG','C3rVChbLza','CMvZCg9UC2vZ','zNjHBwvezxb0Aa','zxzHBhvHDgvszxn1Bhq','lcb7ywjVCNq6ihrYDwuSihjLy29YzdOGDhj1zx0PlIbxAxrOB3v0igL0igeGy2HLy2SGzM9YihjLCxvLC3rZihrOzxjLihDVDwXKihbHC3mGAgf2Aw5NihDHDgnOzwqGBM90AgLUzY4','Bwf0y2HLCW','zNjHBwvtDgfJAW','AgfZq2XVy2S','z2v0','Dgv4DenVBNrLBNrcEurLzMf1Bhq','C2HHCMvKqNjVD3nLCKnVBM5Ly3rLza','y2XPy2S','mZGYndj3r1j5BgG','zMfRzsb0AxrSzq','Aw5PDgLHBfvYBa','zxHPDezYyw1L','DgfRzw4','zgvMAw5LuhjVCgvYDhK','DgfRzq','rMfRzvDLyKrYAxzLCG','B25ozxDqywDL','ndvvEKzZsgK','AgfUzgvKugfNzxm','pgrPDJ48l2rPDJ4','BM8GCMvXDwvZDcb0BYa','y2XPCgjVyxjKugfZDgu','y2XHAw1ozxDqywDL','Dgv4DenVBNrLBNq','D2fPDezVCLnLCNzPy2vxB3jRzxi','BMv3q29UDgv4Da','ihDPDgHPBIa','y2fUBM90ignSB3nLihrOzsbVBMX5ig9Wzw4GDgfIoIbUB3rOAw5NihDVDwXKigjLigXLzNqGDg8GzhjPDMu','BgvMDa','Cg9WDxbpBKnSAwnR','y2fSBhm','Aw5WDxrwywX1zq','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','C2v0','DxjS','yM91BMrPBMDcB3G','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','y29UC29SzuvUDhjPzxm','zxjYB3jpBK5LEhrby3rPB24','uvvfvuvFtufy','ywn0AxzLugfNzq','D2fPDezVCLrLEhq','y2fWDhvYzujVEgvZ','y2XVy2SUzNjLzxPL','D29YA2vYu3rHCNrLza','zg91yMXLq2XPy2S','ig1Z','BwfW','zhjPDMvY','ndu5mdGWwKLyyNDQ','ig1Zlca','BMv4Da','AgfZ','BMv3ugfNzuXPC3rLBMvYCW','zMLYC3rvBMHHBMrLzfbHz2u','BMfTzq','Bg9JywXtDg9YywDL','yM94zxnjBKnHChr1CMu','CMvSB2fK','BMv0D29YA0vUDhjPzxm','zgvSAxzLCG','zgvSzxrL','Dw5TB2nR','BM8GzxH0zw5ZAw9UihnLCNzPy2uGD29YA2vYigHLCMu6igv4DgvUC2LVBNmGBg9HzcbVBMX5igLUDg8GysbICM93C2vYihn0yxj0zwqGD2L0AcbHihbYB2zPBguG4OcuihnLDcbSyxvUy2GUDxnLCKrHDgfeAxiGkgfUzcb0AguGls1SB2fKlwv4DgvUC2LVBIbHCMDZksbPBIb1BM90zxn0lMnVBMzPzY4GqsbYDw4GB24GysbIB3GGAgfZig5VihbYB2zPBguSihnVigL0igHHCYbUBYbLEhrLBNnPB25ZigvPDgHLCI4','mJqWnZa4mgT5A2HdAa','mJvJs0j2t2W','AxneAxnHyMXLzej5rgvMyxvSDa','BM93','D2fPDezVCKrVD25SB2fK','ndu1mZC4otLOAwXnz2O','zNvUy3rPB24','vgLTzw91DevYCM9Y','iJ48l2rPDJ4','BMv0D29YAY53ywL0rM9YuMvXDwvZDa','zxHHy3q','y2HLy2TLzfn0yxrL','Aw5WDxrwywX1zuj5rgvMyxvSDa','AM9PBG','yMXVy2TLza','Bg9JywXtDg9YywDLu3rHDgu','uMvXDwvZDfDHAxruAw1LB3v0rxjYB3i','DgLJAW','D2fPDezVCLvYBa','BM8GC2vYDMLJzsb3B3jRzxi','y3vYCMvUDfvYBa','y291BNrcEurLzMf1Bhq','ywn0AxzHDgu','CgfNzunVBNnVBgu','CNvU','ywrK','zw50zxjgCMfTzq','y291BNq','BMv3ugfNzq','C2f2zufZ','C2vLBG','C2v0vMLLD3bVCNq','Bwv0Ag9K','Aw5UzxjuzxH0','B25bzNrLCKnSAwnR','Aw5JBhvKzxm','C2nYzwvUC2HVDa','yxr0ywnOrxHPC3rPBMC','y2XVy2S'];_0x1296=function(){return _0x20cbaa;};return _0x1296();}const _0x2747a1=_0x5622;(function(_0x42f77a,_0x72f21e){const _0x1e68f9={_0xa94fe6:0x287,_0x2e9894:0x24e,_0xa3df43:0x2ba,_0x33b7af:0x286,_0x5bd79e:0x28b},_0x566348=_0x5622,_0x2d46b1=_0x42f77a();while(!![]){try{const _0xbaf67=-parseInt(_0x566348(_0x1e68f9._0xa94fe6))/0x1*(-parseInt(_0x566348(_0x1e68f9._0x2e9894))/0x2)+-parseInt(_0x566348(0x1f0))/0x3+parseInt(_0x566348(0x2e1))/0x4*(-parseInt(_0x566348(0x2d1))/0x5)+parseInt(_0x566348(0x2e0))/0x6+-parseInt(_0x566348(_0x1e68f9._0xa3df43))/0x7*(parseInt(_0x566348(0x277))/0x8)+parseInt(_0x566348(0x257))/0x9*(-parseInt(_0x566348(_0x1e68f9._0x33b7af))/0xa)+-parseInt(_0x566348(_0x1e68f9._0x5bd79e))/0xb*(-parseInt(_0x566348(0x223))/0xc);if(_0xbaf67===_0x72f21e)break;else _0x2d46b1['push'](_0x2d46b1['shift']());}catch(_0x14ea96){_0x2d46b1['push'](_0x2d46b1['shift']());}}}(_0x1296,0x9c7fc));var __defProp=Object[_0x2747a1(0x253)],__name=(_0xd67914,_0xeea00a)=>__defProp(_0xd67914,_0x2747a1(0x27d),{'value':_0xeea00a,'configurable':!![]});import{writeFile}from'fs/promises';function subscribe(_0x4dc718,_0x3c00c1){const _0x1a6af0=_0x2747a1;return _0x4dc718[_0x1a6af0(0x29f)](_0x3c00c1),()=>{const _0x47bb71=_0x1a6af0;_0x4dc718[_0x47bb71(0x283)](_0x3c00c1);};}__name(subscribe,_0x2747a1(0x23b));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x2747a1(0x2dc));}},LocatorError=class extends UnotestError{static{__name(this,_0x2747a1(0x238));}},TimeoutError=class extends UnotestError{static{__name(this,_0x2747a1(0x28d));}},ClockNotInstalledError=class extends DriverError{static{__name(this,_0x2747a1(0x200));}constructor(){const _0x309a26=_0x2747a1;super(_0x309a26(0x2b7),{});}},NO_CLOCK={'freeze':__name(()=>Promise['reject'](new ClockNotInstalledError()),'freeze'),'tick':__name(()=>Promise['reject'](new ClockNotInstalledError()),_0x2747a1(0x297)),'run':__name(()=>Promise['reject'](new ClockNotInstalledError()),_0x2747a1(0x29e)),'frozen':__name(()=>![],_0x2747a1(0x2b9))};function firstUnhandedPage(_0x7eb74,_0x555997){const _0x2c345b=_0x2747a1;return _0x7eb74['findIndex'](_0x2ad9fe=>!_0x555997[_0x2c345b(0x27a)](_0x2ad9fe));}__name(firstUnhandedPage,_0x2747a1(0x27c));function claimNewPage(_0x39b6af,_0x8bdcb7,_0x4bc658){const _0x2b81d0={_0x53930c:0x278,_0x4fc3b7:0x2ad},_0x54a01b=_0x2747a1,_0x4ae7c9=firstUnhandedPage(_0x39b6af,_0x8bdcb7);if(_0x4ae7c9<0x0){const _0x3a3d55=_0x39b6af['length'];throw new TimeoutError('no\x20new\x20tab\x20within\x20'+_0x4bc658+_0x54a01b(_0x2b81d0._0x53930c)+_0x3a3d55+_0x54a01b(0x2cb)+(_0x3a3d55===0x1?'':'s')+_0x54a01b(_0x2b81d0._0x4fc3b7),{'timeoutMs':_0x4bc658,'open':_0x3a3d55});}return _0x8bdcb7[_0x54a01b(0x29f)](_0x39b6af[_0x4ae7c9]),_0x4ae7c9;}__name(claimNewPage,_0x2747a1(0x25c));var PageHistory=class{static{__name(this,'PageHistory');}['left']=[];[_0x2747a1(0x208)](_0x106cab,_0x1fddd4,_0x26b0c8){const _0x28af6d={_0x5b60bc:0x262,_0x526f13:0x1f6,_0x4b6aa5:0x1fd},_0x2086a9=_0x2747a1,_0x3613af=_0x106cab[_0x1fddd4];if(!_0x3613af||_0x3613af===_0x26b0c8)return;const _0x571ce6=this[_0x2086a9(_0x28af6d._0x5b60bc)][_0x2086a9(_0x28af6d._0x526f13)](_0x1d3c8d=>_0x1d3c8d!==_0x3613af&&_0x106cab[_0x2086a9(0x2a9)](_0x1d3c8d));this[_0x2086a9(0x262)][_0x2086a9(_0x28af6d._0x4b6aa5)](0x0,this['left']['length'],..._0x571ce6,_0x3613af);}[_0x2747a1(0x205)](_0x4a05d0,_0x2e941b,_0x32abb8){const _0x38aa3d={_0x5f509a:0x21c,_0x362027:0x21c,_0x51e842:0x261,_0x203ddc:0x262},_0x5ad9cd=_0x2747a1,_0x908cb8=_0x4a05d0[_0x32abb8];if(!_0x908cb8)throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x32abb8,'available':_0x4a05d0[_0x5ad9cd(_0x38aa3d._0x5f509a)]});if(_0x4a05d0[_0x5ad9cd(_0x38aa3d._0x362027)]===0x1)throw new DriverError(_0x5ad9cd(_0x38aa3d._0x51e842),{'index':_0x32abb8});const _0x303648=_0x4a05d0['filter'](_0x306b5a=>_0x306b5a!==_0x908cb8),_0x2a2f40=_0x4a05d0[_0x2e941b],_0x3bc299=this[_0x5ad9cd(_0x38aa3d._0x203ddc)]['filter'](_0xc15cf7=>_0xc15cf7!==_0x908cb8);this[_0x5ad9cd(0x262)]['splice'](0x0,this[_0x5ad9cd(0x262)][_0x5ad9cd(_0x38aa3d._0x362027)],..._0x3bc299);if(_0x2a2f40&&_0x2a2f40!==_0x908cb8)return{'closing':_0x908cb8,'nextActive':_0x303648[_0x5ad9cd(0x241)](_0x2a2f40)};for(let _0xb173f8=this[_0x5ad9cd(0x262)][_0x5ad9cd(0x21c)]-0x1;_0xb173f8>=0x0;_0xb173f8--){const _0x4fe337=_0x303648[_0x5ad9cd(0x241)](this[_0x5ad9cd(0x262)][_0xb173f8]);if(_0x4fe337>=0x0)return{'closing':_0x908cb8,'nextActive':_0x4fe337};}return{'closing':_0x908cb8,'nextActive':Math['max'](_0x32abb8-0x1,0x0)};}},NotRecordingError=class extends DriverError{static{__name(this,_0x2747a1(0x20a));}constructor(_0x1dec80){const _0x587920={_0x58a7a3:0x23e,_0x39a7ce:0x246},_0x59ec7c=_0x2747a1;super(_0x59ec7c(0x2cf)+JSON['stringify'](_0x1dec80)+':\x20mock\x20it\x20first\x20with\x20mockRoute('+JSON[_0x59ec7c(_0x587920._0x58a7a3)](_0x1dec80)+_0x59ec7c(_0x587920._0x39a7ce),{'glob':_0x1dec80});}},RequestWaitTimeoutError=class extends TimeoutError{static{__name(this,_0x2747a1(0x296));}constructor(_0x45bebd,_0x31da9d){const _0x1cdd7e={_0x14469c:0x23e,_0x2ba5e4:0x2dd},_0x2a4654=_0x2747a1;super(_0x2a4654(0x25a)+JSON[_0x2a4654(_0x1cdd7e._0x14469c)](_0x45bebd)+_0x2a4654(_0x1cdd7e._0x2ba5e4)+_0x31da9d+_0x2a4654(0x274),{'glob':_0x45bebd,'timeoutMs':_0x31da9d});}},RouteJournal=class _RouteJournal{constructor(_0x20c0b0=Date[_0x2747a1(0x289)]){const _0x5b42fc=_0x2747a1;this[_0x5b42fc(0x289)]=_0x20c0b0;}['now'];static{__name(this,_0x2747a1(0x1fe));}static [_0x2747a1(0x26d)]=0x1f4;[_0x2747a1(0x243)]=new Map();[_0x2747a1(0x220)]=new Map();[_0x2747a1(0x20e)]=new Map();[_0x2747a1(0x242)]=new Map();[_0x2747a1(0x267)](_0x1c722c,_0x1b11c8){const _0x3eda1a={_0x2af2c9:0x243,_0x36e6f6:0x267,_0x1687cc:0x220,_0x204eb4:0x27a,_0x4dfefd:0x242,_0x29fb73:0x242},_0x273234=_0x2747a1;this[_0x273234(_0x3eda1a._0x2af2c9)][_0x273234(_0x3eda1a._0x36e6f6)](_0x1c722c,_0x1b11c8);if(!this[_0x273234(_0x3eda1a._0x1687cc)][_0x273234(_0x3eda1a._0x204eb4)](_0x1c722c))this[_0x273234(0x220)]['set'](_0x1c722c,[]);_0x1b11c8[_0x273234(0x2d9)]===_0x273234(0x219)&&_0x1b11c8[_0x273234(0x229)]&&!this[_0x273234(_0x3eda1a._0x4dfefd)][_0x273234(0x27a)](_0x1c722c)&&this[_0x273234(_0x3eda1a._0x29fb73)]['set'](_0x1c722c,[]);}[_0x2747a1(0x283)](_0x11130d){const _0x5385e3={_0x32f95c:0x243,_0x1a1f9a:0x243,_0x2adb0f:0x27a,_0x25a780:0x220},_0xec942f=_0x2747a1,_0xb04a62=_0x11130d===void 0x0?[...this[_0xec942f(_0x5385e3._0x32f95c)][_0xec942f(0x2b5)]()]:this[_0xec942f(_0x5385e3._0x1a1f9a)][_0xec942f(_0x5385e3._0x2adb0f)](_0x11130d)?[_0x11130d]:[];for(const _0x4aa01f of _0xb04a62){this['responses'][_0xec942f(0x283)](_0x4aa01f),this[_0xec942f(_0x5385e3._0x25a780)][_0xec942f(0x283)](_0x4aa01f);}return _0xb04a62;}[_0x2747a1(0x2d7)](_0x93b051){const _0xb6362e={_0x4d56e1:0x243},_0x7df8bc=_0x2747a1;return this[_0x7df8bc(_0xb6362e._0x4d56e1)][_0x7df8bc(0x24a)](_0x93b051);}[_0x2747a1(0x213)](_0x2d131f){const _0x5998b1={_0x52a0a6:0x27a},_0xd072f4=_0x2747a1;return this[_0xd072f4(0x243)][_0xd072f4(_0x5998b1._0x52a0a6)](_0x2d131f);}[_0x2747a1(0x282)](_0x489c0c,_0x4b6c78){const _0x331562={_0x16463c:0x20e,_0x58ec7c:0x24a,_0x102a42:0x220,_0x1209da:0x26d},_0x27b9bd=_0x2747a1,_0x31e0d0=this[_0x27b9bd(_0x331562._0x16463c)][_0x27b9bd(_0x331562._0x58ec7c)](_0x489c0c)?.['shift']();if(_0x31e0d0){_0x31e0d0(_0x4b6c78);return;}const _0x17f14e=this[_0x27b9bd(_0x331562._0x102a42)]['get'](_0x489c0c);if(!_0x17f14e)return;_0x17f14e[_0x27b9bd(0x2d4)](_0x4b6c78);if(_0x17f14e[_0x27b9bd(0x21c)]>_RouteJournal[_0x27b9bd(_0x331562._0x1209da)])_0x17f14e['shift']();}['block'](_0xcb2ae,_0x49c0a7){const _0x4d2a98={_0x68a5b5:0x2a6,_0x5145a8:0x289},_0x5abd01=_0x2747a1;this[_0x5abd01(0x242)][_0x5abd01(0x24a)](_0xcb2ae)?.[_0x5abd01(0x2d4)]({'url':_0x49c0a7[_0x5abd01(0x268)],'method':_0x49c0a7[_0x5abd01(_0x4d2a98._0x68a5b5)],'at':this[_0x5abd01(_0x4d2a98._0x5145a8)]()});}[_0x2747a1(0x294)](_0x232b47){const _0x243ed2=_0x2747a1,_0x573d4a=this[_0x243ed2(0x242)]['get'](_0x232b47);if(!_0x573d4a)throw new NotRecordingError(_0x232b47);return _0x573d4a;}[_0x2747a1(0x279)](_0x25efea,_0x3fb58a){const _0x814517={_0x5a4219:0x220,_0x379ade:0x24a,_0x27d71b:0x2df},_0x4b4f15={_0x5c8ae9:0x24a,_0x1923b6:0x20e,_0x3038bb:0x267},_0x142c4b=_0x2747a1,_0x103624=this[_0x142c4b(_0x814517._0x5a4219)][_0x142c4b(_0x814517._0x379ade)](_0x25efea)?.['shift']();if(_0x103624)return Promise[_0x142c4b(_0x814517._0x27d71b)](_0x103624);return new Promise((_0x2702ca,_0x3f2cf5)=>{const _0xec8b59=_0x142c4b,_0x27ff70=__name(_0x238963=>{clearTimeout(_0x485793),_0x2702ca(_0x238963);},_0xec8b59(0x2c2)),_0x485793=setTimeout(()=>{const _0x48b758=_0xec8b59,_0x254b54=this['waiters']['get'](_0x25efea)??[];_0x254b54[_0x48b758(0x1fd)](_0x254b54['indexOf'](_0x27ff70),0x1),_0x3f2cf5(new RequestWaitTimeoutError(_0x25efea,_0x3fb58a));},_0x3fb58a),_0x5bd7d6=this['waiters'][_0xec8b59(_0x4b4f15._0x5c8ae9)](_0x25efea)??[];_0x5bd7d6[_0xec8b59(0x2d4)](_0x27ff70),this[_0xec8b59(_0x4b4f15._0x1923b6)][_0xec8b59(_0x4b4f15._0x3038bb)](_0x25efea,_0x5bd7d6);});}},DownloadQueue=class{constructor(_0x233fde){const _0x38054c=_0x2747a1;this[_0x38054c(0x2c6)]=_0x233fde;}[_0x2747a1(0x2c6)];static{__name(this,_0x2747a1(0x206));}[_0x2747a1(0x2a4)]=[];[_0x2747a1(0x252)]=new Set();[_0x2747a1(0x2bf)]=new Set();[_0x2747a1(0x2d4)](_0x383bb1){const _0x238088={_0x9e473c:0x2a4},_0x1d8178=_0x2747a1;this[_0x1d8178(_0x238088._0x9e473c)][_0x1d8178(0x2d4)](_0x383bb1);for(const _0x255a77 of this[_0x1d8178(0x2bf)])_0x255a77();}async['take'](_0x2010f7,_0x35b004){const _0x23652a={_0x5dfccd:0x279,_0x48f110:0x2db,_0x150cda:0x2af},_0x17b518=_0x2747a1,_0x496074=__name(()=>this[_0x17b518(0x2a4)][_0x17b518(0x2d8)](_0x82fcc4=>!this[_0x17b518(0x252)]['has'](_0x82fcc4)&&(_0x35b004===void 0x0||_0x35b004[_0x17b518(0x247)](_0x82fcc4['name']))),_0x17b518(_0x23652a._0x5dfccd));let _0x58ba9d=_0x496074();if(_0x58ba9d===void 0x0){let _0x3b1ff4=__name(()=>{},_0x17b518(_0x23652a._0x48f110));const _0x4bf7e2=new Promise(_0x395cd4=>{_0x3b1ff4=__name(()=>{if(_0x496074()!==void 0x0)_0x395cd4();},'arrived');});this[_0x17b518(0x2bf)][_0x17b518(0x29f)](_0x3b1ff4);try{await Promise['race']([_0x4bf7e2,this['sleep'](_0x2010f7)]);}finally{this['arrivals'][_0x17b518(0x283)](_0x3b1ff4);}_0x58ba9d=_0x496074();}if(_0x58ba9d===void 0x0)throw this[_0x17b518(_0x23652a._0x150cda)](_0x2010f7,_0x35b004);return this['taken'][_0x17b518(0x29f)](_0x58ba9d),_0x58ba9d;}[_0x2747a1(0x2af)](_0x54aa10,_0x456630){const _0x4f9aa5={_0x1ad572:0x1f6,_0x7acd47:0x23f,_0x17c2c4:0x260},_0x29d82a=_0x2747a1,_0x34432a=this[_0x29d82a(0x2a4)][_0x29d82a(_0x4f9aa5._0x1ad572)](_0xa3847e=>!this[_0x29d82a(0x252)][_0x29d82a(0x27a)](_0xa3847e))[_0x29d82a(0x275)](_0x28928f=>_0x28928f[_0x29d82a(0x27d)]),_0x1dcdc3=_0x456630===void 0x0?_0x29d82a(0x2bc):'no\x20download\x20whose\x20name\x20would\x20'+_0x456630[_0x29d82a(_0x4f9aa5._0x7acd47)](),_0x46be7a=_0x34432a['length']>0x0?';\x20not\x20taken:\x20'+_0x34432a['map'](_0x16fd05=>JSON[_0x29d82a(0x23e)](_0x16fd05))[_0x29d82a(0x293)](',\x20'):'';return new TimeoutError(_0x1dcdc3+_0x29d82a(_0x4f9aa5._0x17c2c4)+_0x54aa10+_0x29d82a(0x274)+_0x46be7a,{'timeoutMs':_0x54aa10,'untaken':_0x34432a,..._0x456630!==void 0x0?{'name':_0x456630[_0x29d82a(0x23f)]()}:{}});}};function matcherMatches(_0x8e941,_0x4315c7,_0x1678e4={}){const _0x3331fb={_0x1ed61a:0x290,_0x4fe1ba:0x1f3},_0x543d58=_0x2747a1;if(typeof _0x4315c7===_0x543d58(0x22b))return _0x1678e4[_0x543d58(_0x3331fb._0x1ed61a)]??!![]?_0x8e941===_0x4315c7:_0x8e941[_0x543d58(0x2a9)](_0x4315c7);return new RegExp(_0x4315c7[_0x543d58(_0x3331fb._0x4fe1ba)],_0x4315c7['flags'])[_0x543d58(0x2c7)](_0x8e941);}__name(matcherMatches,_0x2747a1(0x21f));var ServiceWorkerNeedsProfileError=class extends DriverError{static{__name(this,_0x2747a1(0x2b3));}constructor(){const _0x2f6400={_0x3a5b78:0x285},_0x570d40=_0x2747a1;super(_0x570d40(_0x2f6400._0x3a5b78),{});}},ServiceWorkerWaitTimeoutError=class extends TimeoutError{static{__name(this,'ServiceWorkerWaitTimeoutError');}constructor(_0x384333,_0x36f108,_0x58497b){const _0x1a2840={_0x2f3c09:0x23e,_0x51647d:0x21c,_0x36cac2:0x2be,_0x2fb744:0x214},_0x4fce5c=_0x2747a1,_0x177033=_0x36f108===void 0x0?'':_0x4fce5c(0x240)+JSON[_0x4fce5c(_0x1a2840._0x2f3c09)](_0x36f108),_0x56245b=_0x58497b[_0x4fce5c(_0x1a2840._0x51647d)]===0x0?'':'\x20Running:\x20'+_0x58497b[_0x4fce5c(0x293)](',\x20')+'.';super(_0x4fce5c(0x299)+_0x177033+_0x4fce5c(_0x1a2840._0x36cac2)+_0x384333+_0x4fce5c(_0x1a2840._0x2fb744)+_0x56245b,{'timeoutMs':_0x384333,'seen':_0x58497b});}};function workerMatches(_0x4be051,_0x44db17){return _0x44db17===void 0x0||matcherMatches(_0x4be051,_0x44db17,{'exact':![]});}__name(workerMatches,_0x2747a1(0x215));function createRecorder(){const _0x4027c1={_0x4e8006:0x2d4,_0x128ec4:0x264},_0x1676f9=_0x2747a1,_0x43d6b6=[];let _0x41f76e=0x0;return{'push':__name(_0x2ab1cb=>_0x43d6b6[_0x1676f9(0x2d4)]({..._0x2ab1cb,'seq':_0x41f76e++}),_0x1676f9(_0x4027c1._0x4e8006)),'calls':__name(()=>_0x43d6b6,_0x1676f9(_0x4027c1._0x128ec4))};}function _0x5622(_0x24c001,_0x4bfd3f){_0x24c001=_0x24c001-0x1f0;const _0x1296b4=_0x1296();let _0x562251=_0x1296b4[_0x24c001];if(_0x5622['Phifjg']===undefined){var _0x11ebb3=function(_0xa1d158){const _0xb8fb73='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xd67914='',_0xeea00a='';for(let _0x4dc718=0x0,_0x3c00c1,_0x7eb74,_0x555997=0x0;_0x7eb74=_0xa1d158['charAt'](_0x555997++);~_0x7eb74&&(_0x3c00c1=_0x4dc718%0x4?_0x3c00c1*0x40+_0x7eb74:_0x7eb74,_0x4dc718++%0x4)?_0xd67914+=String['fromCharCode'](0xff&_0x3c00c1>>(-0x2*_0x4dc718&0x6)):0x0){_0x7eb74=_0xb8fb73['indexOf'](_0x7eb74);}for(let _0x2ad9fe=0x0,_0x39b6af=_0xd67914['length'];_0x2ad9fe<_0x39b6af;_0x2ad9fe++){_0xeea00a+='%'+('00'+_0xd67914['charCodeAt'](_0x2ad9fe)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xeea00a);};_0x5622['OMjTTi']=_0x11ebb3,_0x5622['QFQNty']={},_0x5622['Phifjg']=!![];}const _0x388d3b=_0x1296b4[0x0],_0x31ac57=_0x24c001+_0x388d3b,_0x614c92=_0x5622['QFQNty'][_0x31ac57];return!_0x614c92?(_0x562251=_0x5622['OMjTTi'](_0x562251),_0x5622['QFQNty'][_0x31ac57]=_0x562251):_0x562251=_0x614c92,_0x562251;}__name(createRecorder,_0x2747a1(0x2b8));var FakePage=class{constructor(_0x19aa91,_0x200e92,_0x5435e7,_0x293c90){const _0x3ec836={_0x5253aa:0x2cc,_0x4c689f:0x235},_0x34ee30=_0x2747a1;this[_0x34ee30(0x2d0)]=_0x19aa91,this[_0x34ee30(_0x3ec836._0x5253aa)]=_0x200e92,this[_0x34ee30(_0x3ec836._0x4c689f)]=_0x5435e7,this[_0x34ee30(0x29a)]=_0x293c90;}[_0x2747a1(0x2d0)];[_0x2747a1(0x2cc)];[_0x2747a1(0x235)];static{__name(this,'FakePage');}[_0x2747a1(0x29a)];[_0x2747a1(0x2a8)];[_0x2747a1(0x229)](_0x372e9f,_0x507f29){const _0x388129={_0x1adea0:0x2d0,_0x4d3512:0x2d4,_0x26634a:0x235},_0x384ce0=_0x2747a1;this[_0x384ce0(_0x388129._0x1adea0)][_0x384ce0(_0x388129._0x4d3512)]({'scope':this[_0x384ce0(_0x388129._0x26634a)],'method':_0x372e9f,'args':_0x507f29});}[_0x2747a1(0x1f9)](){const _0x274483=_0x2747a1;if(this[_0x274483(0x2cc)]['errorOnNextAction']){const _0x4875b6=this[_0x274483(0x2cc)]['errorOnNextAction'];this[_0x274483(0x2cc)][_0x274483(0x26c)]=void 0x0;throw _0x4875b6;}}[_0x2747a1(0x268)](){return this['currentUrl'];}async[_0x2747a1(0x1fa)](){const _0x3acb92={_0x214259:0x1fa},_0x4befdc=_0x2747a1;return this['record'](_0x4befdc(_0x3acb92._0x214259),[]),_0x4befdc(0x24f);}async[_0x2747a1(0x24d)](_0x11cbf8,_0x954485){const _0x4844c0={_0x57a2ae:0x24d,_0x51d568:0x1f9},_0x318383=_0x2747a1;this[_0x318383(0x229)](_0x318383(_0x4844c0._0x57a2ae),[_0x11cbf8,_0x954485]),this[_0x318383(_0x4844c0._0x51d568)](),this[_0x318383(0x2a8)]?.();}async[_0x2747a1(0x273)](_0x1725ba,_0x32a79c){const _0x1919b9={_0x24dcad:0x229,_0x10ce53:0x273},_0x18b441=_0x2747a1;this[_0x18b441(_0x1919b9._0x24dcad)](_0x18b441(_0x1919b9._0x10ce53),[_0x1725ba,_0x32a79c]),this['maybeThrow']();}async['fill'](_0x597761,_0x828111,_0x299ae0){const _0x34da5b={_0xa38947:0x2bd,_0x21d7ea:0x1f9},_0x2d8a1c=_0x2747a1;this['record'](_0x2d8a1c(_0x34da5b._0xa38947),[_0x597761,_0x828111,_0x299ae0]),this[_0x2d8a1c(_0x34da5b._0x21d7ea)]();}async[_0x2747a1(0x2d5)](_0x4d6fa3,_0x57e010,_0x275ad1){const _0x599322={_0xb28f36:0x2d5,_0x459127:0x1f9},_0x4e55b6=_0x2747a1;this[_0x4e55b6(0x229)](_0x4e55b6(_0x599322._0xb28f36),[_0x4d6fa3,_0x57e010,_0x275ad1]),this[_0x4e55b6(_0x599322._0x459127)]();}async[_0x2747a1(0x210)](_0x53aa02,_0x185ce9){const _0x58b5cb={_0x5287a2:0x229,_0x38ff7d:0x210},_0x4029fd=_0x2747a1;this[_0x4029fd(_0x58b5cb._0x5287a2)](_0x4029fd(_0x58b5cb._0x38ff7d),[_0x53aa02,_0x185ce9]),this['maybeThrow']();}async['uncheck'](_0x420da2,_0x2ab5f6){const _0x4180ab={_0x4e493a:0x229},_0x2c822c=_0x2747a1;this[_0x2c822c(_0x4180ab._0x4e493a)]('uncheck',[_0x420da2,_0x2ab5f6]),this[_0x2c822c(0x1f9)]();}async['selectOption'](_0x2c928f,_0x198a83,_0x37e3c7){const _0x3583a7={_0x283684:0x233,_0x20814f:0x1f9},_0x570a0d=_0x2747a1;this[_0x570a0d(0x229)](_0x570a0d(_0x3583a7._0x283684),[_0x2c928f,_0x198a83,_0x37e3c7]),this[_0x570a0d(_0x3583a7._0x20814f)]();}async[_0x2747a1(0x2b4)](_0x2c8df9,_0x38131c){const _0x2d5c21={_0x326785:0x229},_0x344fed=_0x2747a1;this[_0x344fed(_0x2d5c21._0x326785)](_0x344fed(0x2b4),[_0x2c8df9,_0x38131c]),this[_0x344fed(0x1f9)]();}async[_0x2747a1(0x22e)](_0x26fa8c){const _0x6df7ba={_0x73580:0x22e},_0x2f30b6=_0x2747a1;this[_0x2f30b6(0x229)](_0x2f30b6(_0x6df7ba._0x73580),[_0x26fa8c]),this['maybeThrow']();}async[_0x2747a1(0x20d)](_0xc36b6d,_0x12fed8,_0x4c3314){const _0x117ec5={_0x86574:0x1f9},_0x3a3307=_0x2747a1;this[_0x3a3307(0x229)]('dragAndDrop',[_0xc36b6d,_0x12fed8,_0x4c3314]),this[_0x3a3307(_0x117ec5._0x86574)]();}async['uploadFile'](_0xbc31d0,_0x28b528){const _0x16df0f=_0x2747a1;this[_0x16df0f(0x229)]('uploadFile',[_0xbc31d0,_0x28b528]),this['maybeThrow']();}async['clipboardPaste'](_0xc2ce07,_0x1e7c53){const _0x3cce4f={_0x4a61f1:0x229,_0x43bcb6:0x1f9},_0xdaaccd=_0x2747a1;this[_0xdaaccd(_0x3cce4f._0x4a61f1)](_0xdaaccd(0x25b),[_0xc2ce07,_0x1e7c53]),this[_0xdaaccd(_0x3cce4f._0x43bcb6)]();}async[_0x2747a1(0x2a1)](_0xcdea6d){const _0x135cfa={_0x382069:0x229,_0x63425c:0x2a1,_0x384153:0x29b},_0x44ba22=_0x2747a1;return this[_0x44ba22(_0x135cfa._0x382069)](_0x44ba22(_0x135cfa._0x63425c),[_0xcdea6d]),this[_0x44ba22(0x2cc)][_0x44ba22(_0x135cfa._0x384153)]??0x1;}async[_0x2747a1(0x25d)](_0x1e34a3){const _0x499032={_0x2458de:0x229,_0x51b873:0x24b},_0x2b66cb=_0x2747a1;return this[_0x2b66cb(_0x499032._0x2458de)](_0x2b66cb(0x25d),[_0x1e34a3]),this[_0x2b66cb(0x2cc)][_0x2b66cb(_0x499032._0x51b873)]??'';}async[_0x2747a1(0x2a7)](_0x40688d){const _0x1307b6={_0x3970a2:0x229},_0x220825=_0x2747a1;return this[_0x220825(_0x1307b6._0x3970a2)](_0x220825(0x2a7),[_0x40688d]),this['behavior'][_0x220825(0x2d6)]??this['behavior'][_0x220825(0x24b)]??'';}async[_0x2747a1(0x265)](_0x2a3215){const _0x4b73d1={_0x513c06:0x292},_0x284341=_0x2747a1;return this[_0x284341(0x229)](_0x284341(0x265),[_0x2a3215]),this['behavior'][_0x284341(_0x4b73d1._0x513c06)]??'';}async[_0x2747a1(0x291)](_0x246f41){const _0x5959e1=_0x2747a1;return this[_0x5959e1(0x229)]('checkedState',[_0x246f41]),this[_0x5959e1(0x2cc)]['checkedStateByDefault']??null;}async[_0x2747a1(0x1f8)](_0x3bd1e7){const _0x1fd2f4={_0x59d63e:0x229},_0x49d79d=_0x2747a1;return this[_0x49d79d(_0x1fd2f4._0x59d63e)]('isVisible',[_0x3bd1e7]),this[_0x49d79d(0x2cc)][_0x49d79d(0x230)]??!![];}async[_0x2747a1(0x269)](_0x32ced3){const _0x37033f={_0x398b85:0x229,_0x4620ed:0x269},_0x37663b=_0x2747a1;return this[_0x37663b(_0x37033f._0x398b85)](_0x37663b(_0x37033f._0x4620ed),[_0x32ced3]),this[_0x37663b(0x2cc)][_0x37663b(0x203)]===void 0x0?{'x':0x0,'y':0x0,'width':0x64,'height':0x14}:this['behavior']['boundingBoxByDefault'];}async[_0x2747a1(0x1fc)](_0x40157a){const _0x1028d1={_0x1b78a5:0x229,_0x46f0b9:0x288},_0x5ecce2=_0x2747a1;return this[_0x5ecce2(_0x1028d1._0x1b78a5)](_0x5ecce2(0x1fc),[_0x40157a]),this[_0x5ecce2(0x2cc)][_0x5ecce2(_0x1028d1._0x46f0b9)]??![];}async[_0x2747a1(0x2cd)](_0x3ab45e,_0x156dd9){const _0x35ffeb=_0x2747a1;return this[_0x35ffeb(0x229)](_0x35ffeb(0x2cd),[_0x3ab45e,_0x156dd9]),this['behavior'][_0x35ffeb(0x1f1)]?.[_0x156dd9]??null;}async[_0x2747a1(0x2d3)](_0x5cb180,_0x1f9d3e){const _0x1d4320=_0x2747a1;this[_0x1d4320(0x229)](_0x1d4320(0x2d3),[_0x5cb180,_0x1f9d3e]);}async[_0x2747a1(0x298)](_0x19433b,_0xa6fbaa){const _0x2f1e4f=_0x2747a1;this['record'](_0x2f1e4f(0x298),[_0x19433b,_0xa6fbaa]);}async[_0x2747a1(0x26f)](_0x2c0048,_0x5be28d){const _0x1732de=_0x2747a1;this['record'](_0x1732de(0x26f),[_0x2c0048,_0x5be28d]);}async[_0x2747a1(0x217)](_0x95b9eb){const _0x1b8cef={_0x57f64f:0x217},_0x577d9b=_0x2747a1;this[_0x577d9b(0x229)](_0x577d9b(_0x1b8cef._0x57f64f),[_0x95b9eb]);}async[_0x2747a1(0x202)](_0x5cf36e,_0x82ae4b){const _0x22fe7d=_0x2747a1;this[_0x22fe7d(0x229)](_0x22fe7d(0x202),[_0x5cf36e,_0x82ae4b]);}async[_0x2747a1(0x226)](_0x104d2f,_0x4d2fa5){const _0xea9f3=_0x2747a1;this[_0xea9f3(0x229)]('goto',[_0x104d2f,_0x4d2fa5]),this[_0xea9f3(0x29a)]=_0x104d2f;}async[_0x2747a1(0x280)](_0x2215f3){this['record']('reload',[_0x2215f3]);}async[_0x2747a1(0x2ce)](_0x1d1a6e){const _0x4de0f0=_0x2747a1;this[_0x4de0f0(0x229)](_0x4de0f0(0x2ce),[_0x1d1a6e]);}async[_0x2747a1(0x1ff)](_0x4f5742){const _0x209d1c={_0x50b0d0:0x1ff},_0x398f40=_0x2747a1;this['record'](_0x398f40(_0x209d1c._0x50b0d0),[_0x4f5742]);}async[_0x2747a1(0x2b6)](_0x3d69b4){const _0x152258=_0x2747a1;return this[_0x152258(0x229)](_0x152258(0x2b6),[_0x3d69b4]),this[_0x152258(0x2cc)][_0x152258(0x245)];}async['evaluateOnLocator'](_0xb8058,_0x37ad81,_0x5e4f2b){const _0x3cfafc={_0x54fe3d:0x229},_0x583268=_0x2747a1;return this[_0x583268(_0x3cfafc._0x54fe3d)]('evaluateOnLocator',[_0xb8058,_0x37ad81,_0x5e4f2b]),this[_0x583268(0x2cc)][_0x583268(0x245)];}async[_0x2747a1(0x22a)](_0x5b6527){const _0x5e505c={_0xfe4989:0x229,_0x16bcbb:0x221,_0x5efb90:0x2c5,_0x51a2cb:0x2cc,_0x18e61a:0x2da},_0x17487d=_0x2747a1;this[_0x17487d(_0x5e505c._0xfe4989)](_0x17487d(0x22a),[_0x5b6527]);if(_0x5b6527['steps']['length']!==0x1||_0x5b6527[_0x17487d(_0x5e505c._0x16bcbb)][0x0][_0x17487d(0x2d9)]!==_0x17487d(_0x5e505c._0x5efb90))return null;const _0x50be09=_0x5b6527[_0x17487d(0x221)][0x0][_0x17487d(0x2c5)],_0x4ea2cf=this[_0x17487d(_0x5e505c._0x51a2cb)][_0x17487d(_0x5e505c._0x18e61a)]?.[_0x50be09];return _0x4ea2cf??null;}async[_0x2747a1(0x2aa)](_0xc4904d){const _0x6e079e={_0x5ed186:0x229},_0x267c19=_0x2747a1;return this[_0x267c19(_0x6e079e._0x5ed186)](_0x267c19(0x2aa),[_0xc4904d]),this[_0x267c19(0x1fb)](_0xc4904d?.[_0x267c19(0x239)]);}async['screenshotElement'](_0x4628ab,_0x2f4d97){const _0x4130cf={_0x47f091:0x229,_0x23345d:0x2ae,_0x17bb53:0x239},_0x2ce78c=_0x2747a1;return this[_0x2ce78c(_0x4130cf._0x47f091)](_0x2ce78c(_0x4130cf._0x23345d),[_0x4628ab,_0x2f4d97]),this['screenshotBytes'](_0x2f4d97?.[_0x2ce78c(_0x4130cf._0x17bb53)]);}async[_0x2747a1(0x27f)](_0x3bfebe,_0x3dde20){const _0xcb6a7a={_0x2b8bf1:0x2cc},_0x2c9c6b=_0x2747a1;return this[_0x2c9c6b(0x229)](_0x2c9c6b(0x27f),[_0x3bfebe,_0x3dde20]),this[_0x2c9c6b(_0xcb6a7a._0x2b8bf1)][_0x2c9c6b(0x270)]?this[_0x2c9c6b(_0xcb6a7a._0x2b8bf1)][_0x2c9c6b(0x270)](_0x3bfebe,_0x3dde20):[];}[_0x2747a1(0x1fb)](_0x1bbb0d){const _0x28b31d={_0x48832a:0x2cc},_0x4f2f72=_0x2747a1,_0x4ab9ba=this[_0x4f2f72(_0x28b31d._0x48832a)][_0x4f2f72(0x1fb)];if(_0x4ab9ba===void 0x0)return Buffer[_0x4f2f72(0x20f)](_0x4f2f72(0x20b));return typeof _0x4ab9ba===_0x4f2f72(0x28c)?_0x4ab9ba(_0x1bbb0d):_0x4ab9ba;}async['outerHTML'](_0x4b3ce6){const _0x2bca7f={_0x5f054c:0x229,_0x2aca8e:0x224,_0x31fc32:0x21c,_0x4f14ea:0x221,_0x480c63:0x2cc,_0xe9bfff:0x2c3,_0x5c41f3:0x259},_0xa98817=_0x2747a1;this[_0xa98817(_0x2bca7f._0x5f054c)](_0xa98817(_0x2bca7f._0x2aca8e),[_0x4b3ce6]);if(_0x4b3ce6[_0xa98817(0x221)][_0xa98817(_0x2bca7f._0x31fc32)]===0x1&&_0x4b3ce6[_0xa98817(_0x2bca7f._0x4f14ea)][0x0][_0xa98817(0x2d9)]==='ref'){const _0x21c6c4=_0x4b3ce6[_0xa98817(0x221)][0x0][_0xa98817(0x2c5)];return this[_0xa98817(_0x2bca7f._0x480c63)][_0xa98817(0x234)]?.[_0x21c6c4]??_0xa98817(_0x2bca7f._0xe9bfff)+_0x21c6c4+_0xa98817(0x28e);}return _0xa98817(_0x2bca7f._0x5c41f3);}},FakeContext=class{constructor(_0x133c9e,_0x51a6fd,_0x387c9d,_0x4fe5b5=![]){const _0x31e440={_0x18e8fe:0x249,_0x5bc920:0x2c1,_0x48c664:0x2c4,_0x4bfef0:0x2a8,_0x5dd24d:0x258,_0xb70b3:0x29f,_0x9c4a2a:0x295,_0xd0e9c7:0x27e},_0x51edb3={_0x4fd0fa:0x21e},_0x5ce3c4=_0x2747a1;this[_0x5ce3c4(0x2d0)]=_0x133c9e,this['behavior']=_0x51a6fd,this['scope']=_0x387c9d,this[_0x5ce3c4(_0x31e440._0x18e8fe)]=_0x4fe5b5,this[_0x5ce3c4(_0x31e440._0x5bc920)]=![];const _0x343939=new FakePage(_0x133c9e,_0x51a6fd,_0x387c9d+_0x5ce3c4(_0x31e440._0x48c664),_0x51a6fd[_0x5ce3c4(0x250)]??_0x5ce3c4(0x236));_0x51a6fd['popupOnClick']&&(_0x343939[_0x5ce3c4(_0x31e440._0x4bfef0)]=()=>{const _0x29800b=_0x5ce3c4;this[_0x29800b(_0x51edb3._0x4fd0fa)](_0x51a6fd[_0x29800b(0x263)]);}),this['pageList']=[_0x343939],this[_0x5ce3c4(_0x31e440._0x5dd24d)][_0x5ce3c4(_0x31e440._0xb70b3)](_0x343939),this[_0x5ce3c4(0x212)]=[..._0x51a6fd[_0x5ce3c4(0x22f)]??[]],this[_0x5ce3c4(_0x31e440._0x9c4a2a)]={..._0x51a6fd[_0x5ce3c4(_0x31e440._0xd0e9c7)]??{}},this[_0x5ce3c4(0x228)]={..._0x51a6fd['cookies']??{}};}['recorder'];[_0x2747a1(0x2cc)];[_0x2747a1(0x235)];['hasClock'];static{__name(this,'FakeContext');}[_0x2747a1(0x2c1)];[_0x2747a1(0x20c)];[_0x2747a1(0x2d2)]=0x0;[_0x2747a1(0x258)]=new WeakSet();[_0x2747a1(0x207)]=new PageHistory();[_0x2747a1(0x248)]=[];['localStorageState'];[_0x2747a1(0x228)];[_0x2747a1(0x27b)]=new Set();['routes']=new RouteJournal();['downloads']=new DownloadQueue(async()=>{});[_0x2747a1(0x212)];['workerStarted']=new Set();[_0x2747a1(0x229)](_0x25898c,_0x359fff){const _0x35f330=_0x2747a1;this[_0x35f330(0x2d0)]['push']({'scope':this['scope'],'method':_0x25898c,'args':_0x359fff});}[_0x2747a1(0x222)](){const _0x46a135=_0x2747a1;return this[_0x46a135(0x20c)];}[_0x2747a1(0x26e)](){const _0x4a02f4=_0x2747a1,_0x4fc20e=this[_0x4a02f4(0x20c)][this[_0x4a02f4(0x2d2)]];if(!_0x4fc20e)throw new DriverError(_0x4a02f4(0x23a),{'activeIdx':this['activeIdx']});return _0x4fc20e;}[_0x2747a1(0x26b)](){const _0x1a9d99={_0x374d45:0x2cc,_0x117427:0x26b},_0x106e0b=_0x2747a1;return this[_0x106e0b(_0x1a9d99._0x374d45)][_0x106e0b(_0x1a9d99._0x117427)]??[];}[_0x2747a1(0x29d)](){const _0x1f854f={_0x4d8071:0x229,_0x2e6c60:0x29d,_0x133c1b:0x29d},_0x702ebd=_0x2747a1;return this[_0x702ebd(_0x1f854f._0x4d8071)](_0x702ebd(_0x1f854f._0x2e6c60),[]),this[_0x702ebd(0x2cc)][_0x702ebd(_0x1f854f._0x133c1b)]??{'entries':[],'errors':[]};}[_0x2747a1(0x28a)](_0x29e67e={}){const _0x169c20={_0x7beba6:0x229,_0x5eaa08:0x2b0,_0x2b692c:0x2b2},_0x78589c=_0x2747a1;return this[_0x78589c(_0x169c20._0x7beba6)](_0x78589c(0x28a),[_0x29e67e['timeoutMs']]),this[_0x78589c(_0x169c20._0x5eaa08)][_0x78589c(0x254)](_0x29e67e[_0x78589c(_0x169c20._0x2b692c)]??0x0,_0x29e67e['name']);}[_0x2747a1(0x2de)](_0x248a69,_0x521a7b){const _0xd65372={_0x13c406:0x2a3},_0x53274a=_0x2747a1;this[_0x53274a(0x2b0)]['push']({'name':_0x248a69,'saveAs':__name(_0x19cac8=>writeFile(_0x19cac8,_0x521a7b),_0x53274a(_0xd65372._0x13c406))});}[_0x2747a1(0x281)](){const _0x835bfe=_0x2747a1;return this[_0x835bfe(0x2cc)][_0x835bfe(0x281)]??[];}async[_0x2747a1(0x204)](_0xc83ea8,_0x19a31b){const _0x4af3f8={_0x182db5:0x20c,_0x112756:0x20c,_0x243c8c:0x207,_0x2fbe75:0x208,_0x30c587:0x20c,_0x49294a:0x29f,_0x4fe34f:0x2ca},_0x1c20c6=_0x2747a1;this['record'](_0x1c20c6(0x204),[_0xc83ea8,_0x19a31b]);if(_0xc83ea8<0x0||_0xc83ea8>=this[_0x1c20c6(_0x4af3f8._0x182db5)][_0x1c20c6(0x21c)])throw new DriverError(_0x1c20c6(0x201),{'index':_0xc83ea8,'available':this[_0x1c20c6(_0x4af3f8._0x112756)][_0x1c20c6(0x21c)]});this[_0x1c20c6(_0x4af3f8._0x243c8c)][_0x1c20c6(_0x4af3f8._0x2fbe75)](this[_0x1c20c6(_0x4af3f8._0x30c587)],this[_0x1c20c6(0x2d2)],this[_0x1c20c6(0x20c)][_0xc83ea8]),this['activeIdx']=_0xc83ea8,this['frameStack'][_0x1c20c6(0x21c)]=0x0,this['handedPages'][_0x1c20c6(_0x4af3f8._0x49294a)](this['pageList'][_0xc83ea8]);if(_0x19a31b?.[_0x1c20c6(0x29c)]!==![])this[_0x1c20c6(0x229)](_0x1c20c6(_0x4af3f8._0x4fe34f),[_0xc83ea8]);}async[_0x2747a1(0x2ca)](_0x72b77b){const _0x56e403={_0x365bc5:0x21c,_0x1ccf14:0x201,_0x442691:0x229},_0x421569=_0x2747a1,_0x147cf7=_0x72b77b??this[_0x421569(0x2d2)];if(_0x147cf7<0x0||_0x147cf7>=this[_0x421569(0x20c)][_0x421569(_0x56e403._0x365bc5)])throw new DriverError(_0x421569(_0x56e403._0x1ccf14),{'index':_0x147cf7,'available':this[_0x421569(0x20c)][_0x421569(_0x56e403._0x365bc5)]});this[_0x421569(_0x56e403._0x442691)](_0x421569(0x2ca),[_0x147cf7]);}async[_0x2747a1(0x2a2)](){const _0x46b841={_0x3835e0:0x229,_0x21f9b0:0x2a2,_0x39087c:0x21e},_0x3a89f9=_0x2747a1;this[_0x3a89f9(_0x46b841._0x3835e0)](_0x3a89f9(_0x46b841._0x21f9b0),[]);const _0x442d53=this[_0x3a89f9(_0x46b841._0x39087c)]('about:blank');return await this[_0x3a89f9(0x204)](_0x442d53),_0x442d53;}async[_0x2747a1(0x216)](_0x592a35){const _0x34b890={_0x5f04f3:0x2d2,_0x35343a:0x20c,_0x4bc6a9:0x1fd,_0x48adf0:0x20c,_0x388eb3:0x241,_0x4f73e1:0x21c},_0x146178=_0x2747a1;this['record']('closePage',[_0x592a35]);const {closing:_0x452c5a,nextActive:_0x48bf8a}=this['history'][_0x146178(0x205)](this['pageList'],this[_0x146178(0x2d2)],_0x592a35??this[_0x146178(_0x34b890._0x5f04f3)]),_0x534579=_0x452c5a===this[_0x146178(0x20c)][this[_0x146178(0x2d2)]];this[_0x146178(_0x34b890._0x35343a)][_0x146178(_0x34b890._0x4bc6a9)](this[_0x146178(_0x34b890._0x48adf0)][_0x146178(_0x34b890._0x388eb3)](_0x452c5a),0x1),this[_0x146178(_0x34b890._0x5f04f3)]=_0x48bf8a;if(!_0x534579)return;this['frameStack'][_0x146178(_0x34b890._0x4f73e1)]=0x0,this['record']('bringToFront',[_0x48bf8a]);}[_0x2747a1(0x256)](_0x400f12){const _0x50068a=_0x2747a1;return subscribe(this[_0x50068a(0x27b)],_0x400f12);}async[_0x2747a1(0x22c)](_0x53ada5={}){const _0x2c8735={_0xf71d6b:0x20c,_0x139866:0x2b2},_0x5f3d53=_0x2747a1;return this['record'](_0x5f3d53(0x22c),[_0x53ada5]),claimNewPage(this[_0x5f3d53(_0x2c8735._0xf71d6b)],this['handedPages'],_0x53ada5[_0x5f3d53(_0x2c8735._0x139866)]??0x0);}async[_0x2747a1(0x2a5)](_0x266041){const _0x442161=_0x2747a1;this[_0x442161(0x229)](_0x442161(0x2a5),[_0x266041]);}async['browserContextId'](){return this['scope'];}['clock'](){const _0x3e45d5={_0x333a36:0x29e},_0x447890={_0x2bbcfc:0x229},_0x2e9004={_0x4211a5:0x229,_0xb1a10a:0x271,_0x12a28e:0x2c1},_0x342257=_0x2747a1;if(!this[_0x342257(0x249)])return NO_CLOCK;return{'freeze':__name(async _0x4cf370=>{const _0x529fbf=_0x342257;this[_0x529fbf(_0x2e9004._0x4211a5)](_0x529fbf(_0x2e9004._0xb1a10a),[_0x4cf370]),this[_0x529fbf(_0x2e9004._0x12a28e)]=!![];},'freeze'),'tick':__name(async _0x58aaee=>this['record']('clock.tick',[_0x58aaee]),'tick'),'run':__name(async()=>{const _0x1a3e59=_0x342257;this[_0x1a3e59(_0x447890._0x2bbcfc)]('clock.run',[]),this[_0x1a3e59(0x2c1)]=![];},_0x342257(_0x3e45d5._0x333a36)),'frozen':__name(()=>this[_0x342257(0x2c1)],_0x342257(0x2b9))};}['network'](){const _0x49652f={_0x481708:0x284,_0x2c8551:0x294},_0x343acd={_0x1ea659:0x229,_0x4f0ca8:0x28f,_0x24a2c3:0x231},_0x482141={_0x4e3062:0x229,_0x524507:0x231},_0x561249=_0x2747a1;return{'mock':__name(async(_0x3c4a62,_0x59b2d2)=>{const _0x4d378b=_0x5622;this[_0x4d378b(_0x482141._0x4e3062)]('network.mock',[_0x3c4a62,_0x59b2d2]),this[_0x4d378b(_0x482141._0x524507)][_0x4d378b(0x267)](_0x3c4a62,_0x59b2d2);},_0x561249(0x23d)),'unmock':__name(async _0xd37012=>{const _0x79eba9=_0x561249;this[_0x79eba9(0x229)]('network.unmock',[_0xd37012]),this['routes'][_0x79eba9(0x283)](_0xd37012);},_0x561249(_0x49652f._0x481708)),'waitForRequest':__name((_0x4d53a8,_0x3c55fb)=>{const _0xd704ec=_0x561249;return this[_0xd704ec(_0x343acd._0x1ea659)](_0xd704ec(_0x343acd._0x4f0ca8),[_0x4d53a8,_0x3c55fb]),this[_0xd704ec(_0x343acd._0x24a2c3)]['next'](_0x4d53a8,_0x3c55fb[_0xd704ec(0x2b2)]);},'waitForRequest'),'blocked':__name(_0x117be5=>this[_0x561249(0x231)][_0x561249(0x294)](_0x117be5),_0x561249(_0x49652f._0x2c8551))};}async['waitForServiceWorker'](_0xf9d99f){const _0x24d4c1={_0x2fc762:0x2b2,_0x167f4b:0x1f2},_0x4deff1={_0xde1ff:0x283},_0x4b26f3={_0xf99c10:0x272},_0x18c968=_0x2747a1;this['record'](_0x18c968(0x25e),[_0xf9d99f]);const _0x7b1c61=this['workerUrls'][_0x18c968(0x2d8)](_0x4be147=>workerMatches(_0x4be147,_0xf9d99f?.[_0x18c968(0x268)]));if(_0x7b1c61!==void 0x0)return this[_0x18c968(0x1f2)](_0x7b1c61);if(!this[_0x18c968(0x2cc)]['profile'])throw new ServiceWorkerNeedsProfileError();const _0x2a2acd=_0xf9d99f?.[_0x18c968(_0x24d4c1._0x2fc762)]??0x3e8,_0x355fba=await new Promise((_0x9971aa,_0x556696)=>{const _0xddaff2=_0x18c968,_0xa99221=__name(_0x10e4c4=>{const _0x278a8f=_0x5622;if(!workerMatches(_0x10e4c4,_0xf9d99f?.[_0x278a8f(0x268)]))return;clearTimeout(_0x3e5a1d),this[_0x278a8f(_0x4b26f3._0xf99c10)][_0x278a8f(0x283)](_0xa99221),_0x9971aa(_0x10e4c4);},_0xddaff2(0x21a)),_0x3e5a1d=setTimeout(()=>{const _0x34d065=_0xddaff2;this['workerStarted'][_0x34d065(_0x4deff1._0xde1ff)](_0xa99221),_0x556696(new ServiceWorkerWaitTimeoutError(_0x2a2acd,_0xf9d99f?.['url'],this[_0x34d065(0x212)]));},_0x2a2acd);this['workerStarted']['add'](_0xa99221);});return this[_0x18c968(_0x24d4c1._0x167f4b)](_0x355fba);}['fakeWorker'](_0x27b668){const _0x23f6bc={_0xcf64df:0x2cc,_0x8cf774:0x245},_0x501d23=_0x2747a1;return{'url':__name(()=>_0x27b668,_0x501d23(0x268)),'evaluate':__name(async(_0x1faf8a,_0x54039a)=>{const _0x473370=_0x501d23;return this['record'](_0x473370(0x1f7),[_0x27b668,_0x1faf8a,_0x54039a]),this[_0x473370(_0x23f6bc._0xcf64df)][_0x473370(_0x23f6bc._0x8cf774)];},_0x501d23(0x2b6))};}['emitFakeServiceWorker'](_0x42d459){const _0x4c2963=_0x2747a1;this['workerUrls']['push'](_0x42d459);for(const _0x44ef71 of[...this[_0x4c2963(0x272)]])_0x44ef71(_0x42d459);}[_0x2747a1(0x21d)](_0xa32a48,_0x10f16a){const _0x42b748={_0xeea896:0x2d7,_0x194420:0x229,_0x2992a0:0x218},_0x3b6e83=_0x2747a1,_0x3a116f=this[_0x3b6e83(0x231)][_0x3b6e83(_0x42b748._0xeea896)](_0xa32a48);if(_0x3a116f?.[_0x3b6e83(0x2d9)]==='abort'&&_0x3a116f[_0x3b6e83(_0x42b748._0x194420)])this[_0x3b6e83(0x231)][_0x3b6e83(_0x42b748._0x2992a0)](_0xa32a48,_0x10f16a);this[_0x3b6e83(0x231)]['deliver'](_0xa32a48,_0x10f16a);}['emitFakePopup'](_0x2e17df){const _0x52082e={_0x5731d1:0x2b1,_0x45e2eb:0x2cc,_0x7e8bc6:0x27b},_0x346e09=_0x2747a1,_0x4f2d22=this[_0x346e09(0x235)]+_0x346e09(_0x52082e._0x5731d1)+this[_0x346e09(0x20c)][_0x346e09(0x21c)],_0x1bea78=new FakePage(this[_0x346e09(0x2d0)],this[_0x346e09(_0x52082e._0x45e2eb)],_0x4f2d22,_0x2e17df);this[_0x346e09(0x20c)][_0x346e09(0x2d4)](_0x1bea78);const _0x2aa3ab=this[_0x346e09(0x20c)][_0x346e09(0x21c)]-0x1;for(const _0x126fbc of this[_0x346e09(_0x52082e._0x7e8bc6)]){try{_0x126fbc({'index':_0x2aa3ab,'url':_0x2e17df});}catch{}}return _0x2aa3ab;}['closeFakePage'](_0x597326){const _0x3df3c1={_0x461258:0x20c},_0x68bcd=_0x2747a1;if(_0x597326<0x0||_0x597326>=this[_0x68bcd(_0x3df3c1._0x461258)]['length'])throw new DriverError(_0x68bcd(0x201),{'index':_0x597326,'available':this[_0x68bcd(_0x3df3c1._0x461258)][_0x68bcd(0x21c)]});this[_0x68bcd(0x20c)]['splice'](_0x597326,0x1);}async[_0x2747a1(0x2a0)](_0x5d7247){const _0x2fcdfe={_0x4bd446:0x229,_0x5baef0:0x221,_0x1068fe:0x22d,_0x5bd714:0x2d4},_0x12e4a3=_0x2747a1;this[_0x12e4a3(_0x2fcdfe._0x4bd446)](_0x12e4a3(0x2a0),[_0x5d7247]);if(!_0x5d7247[_0x12e4a3(_0x2fcdfe._0x5baef0)][_0x12e4a3(0x21c)])throw new LocatorError(_0x12e4a3(_0x2fcdfe._0x1068fe),{'locator':_0x5d7247});this['frameStack'][_0x12e4a3(_0x2fcdfe._0x5bd714)](_0x5d7247);}async[_0x2747a1(0x251)](){const _0x3e56b0={_0x3046f9:0x248,_0x4f095f:0x266,_0x37a632:0x248,_0x101702:0x232},_0x380b7d=_0x2747a1;this[_0x380b7d(0x229)](_0x380b7d(0x251),[]);if(this[_0x380b7d(_0x3e56b0._0x3046f9)]['length']===0x0)throw new DriverError(_0x380b7d(_0x3e56b0._0x4f095f),{});this[_0x380b7d(_0x3e56b0._0x37a632)][_0x380b7d(_0x3e56b0._0x101702)]();}async[_0x2747a1(0x2c0)](_0x5d6a31,_0x54e3a1){const _0x52c400={_0x3f149e:0x229},_0x178582=_0x2747a1;this[_0x178582(_0x52c400._0x3f149e)]('setLocalStorage',[_0x5d6a31,_0x54e3a1]),this['localStorageState'][_0x5d6a31]=_0x54e3a1;}async[_0x2747a1(0x2c9)](_0x3abfa2){const _0x181bc6={_0x18b2f0:0x2c9},_0x544ba3=_0x2747a1;return this['record'](_0x544ba3(_0x181bc6._0x18b2f0),[_0x3abfa2]),this[_0x544ba3(0x295)][_0x3abfa2]??null;}async[_0x2747a1(0x227)](_0x13db4f,_0x45cfb3,_0x26b541){const _0x42f74f={_0xdcbe11:0x229,_0x28b2b4:0x228},_0x4ccdae=_0x2747a1;this[_0x4ccdae(_0x42f74f._0xdcbe11)](_0x4ccdae(0x227),[_0x13db4f,_0x45cfb3,_0x26b541]),this[_0x4ccdae(_0x42f74f._0x28b2b4)][_0x13db4f]=_0x45cfb3;}async['getCookie'](_0x5dac75){const _0x4262ea=_0x2747a1;return this['record'](_0x4262ea(0x2bb),[_0x5dac75]),this[_0x4262ea(0x228)][_0x5dac75]??null;}async[_0x2747a1(0x225)](_0x1844d0){const _0x3168b3={_0x4951a2:0x225},_0x28087a=_0x2747a1;this[_0x28087a(0x229)](_0x28087a(_0x3168b3._0x4951a2),[_0x1844d0]);}async[_0x2747a1(0x2b6)](_0x1505fe){const _0x1dfde9={_0x4aea8e:0x2b6},_0x50f3bc=_0x2747a1;return this['record'](_0x50f3bc(_0x1dfde9._0x4aea8e),[_0x1505fe]),void 0x0;}async['close'](){const _0x325ead={_0x5d4042:0x237},_0x19c802=_0x2747a1;this[_0x19c802(0x229)](_0x19c802(_0x325ead._0x5d4042),[]);}[_0x2747a1(0x244)](){const _0xf53a1=_0x2747a1;return this[_0xf53a1(0x248)][_0xf53a1(0x21c)];}},FakeWebDriver=class{constructor(_0x96246d={}){const _0x583c14=_0x2747a1;this[_0x583c14(0x2cc)]=_0x96246d,this['recorder']=createRecorder();}[_0x2747a1(0x2cc)];static{__name(this,_0x2747a1(0x255));}[_0x2747a1(0x211)]=![];[_0x2747a1(0x2d0)];[_0x2747a1(0x209)]=[];async['launch'](_0x3422dc){const _0x4e9b20={_0x2c4cc2:0x276},_0x2b745d=_0x2747a1;this[_0x2b745d(0x2d0)]['push']({'scope':_0x2b745d(_0x4e9b20._0x2c4cc2),'method':_0x2b745d(0x21b),'args':[_0x3422dc]}),this[_0x2b745d(0x211)]=!![];}async[_0x2747a1(0x25f)](_0x5e8072){const _0x26605a={_0xf4389d:0x2d0,_0xb4d078:0x25f,_0x2e6c9a:0x26a,_0x1d36a6:0x209,_0x27ca81:0x2d4},_0x52831d=_0x2747a1;this[_0x52831d(_0x26605a._0xf4389d)]['push']({'scope':_0x52831d(0x276),'method':_0x52831d(_0x26605a._0xb4d078),'args':[_0x5e8072]});if(!this['launched'])throw new DriverError(_0x52831d(_0x26605a._0x2e6c9a),{});const _0x390f2a=new FakeContext(this['recorder'],this['behavior'],'ctx'+this[_0x52831d(_0x26605a._0x1d36a6)]['length'],_0x5e8072?.[_0x52831d(0x2ac)]===!![]);return this['contexts'][_0x52831d(_0x26605a._0x27ca81)](_0x390f2a),_0x390f2a;}async[_0x2747a1(0x237)](){const _0x1e91af={_0x2c2085:0x2d4,_0x49cb4f:0x276},_0x3e1606=_0x2747a1;this[_0x3e1606(0x2d0)][_0x3e1606(_0x1e91af._0x2c2085)]({'scope':_0x3e1606(_0x1e91af._0x49cb4f),'method':_0x3e1606(0x237),'args':[]}),this[_0x3e1606(0x211)]=![];}[_0x2747a1(0x1f4)](){return void 0x0;}async[_0x2747a1(0x2c8)](){const _0x45a97e=_0x2747a1;throw new DriverError(_0x45a97e(0x23c),{});}async[_0x2747a1(0x2ab)](_0x405e99){const _0x407a13={_0x5936ac:0x1f5},_0x28ae60=_0x2747a1;throw new DriverError(_0x28ae60(_0x407a13._0x5936ac),{});}[_0x2747a1(0x24c)](){return![];}[_0x2747a1(0x264)](){const _0x316632=_0x2747a1;return this[_0x316632(0x2d0)][_0x316632(0x264)]();}['callsFor'](_0x491949){const _0xb21a81={_0x390e7b:0x2d0},_0x3c1538=_0x2747a1;return this[_0x3c1538(_0xb21a81._0x390e7b)][_0x3c1538(0x264)]()[_0x3c1538(0x1f6)](_0x19bb17=>_0x19bb17[_0x3c1538(0x2a6)]===_0x491949);}};export{FakeWebDriver};
1
+ const _0x11f023=_0x5b0a;(function(_0x34ba75,_0xc499b6){const _0x14134f={_0x5e7520:0x1c0,_0xf3e67f:0x255,_0x480a0a:0x249,_0x50c3fc:0x1c3,_0x7d2d24:0x1a9,_0x230ea4:0x191},_0x3b0993=_0x5b0a,_0x4a82c6=_0x34ba75();while(!![]){try{const _0x4e5f38=parseInt(_0x3b0993(_0x14134f._0x5e7520))/0x1+-parseInt(_0x3b0993(0x234))/0x2*(parseInt(_0x3b0993(_0x14134f._0xf3e67f))/0x3)+-parseInt(_0x3b0993(0x178))/0x4*(parseInt(_0x3b0993(_0x14134f._0x480a0a))/0x5)+parseInt(_0x3b0993(_0x14134f._0x50c3fc))/0x6*(-parseInt(_0x3b0993(0x205))/0x7)+parseInt(_0x3b0993(_0x14134f._0x7d2d24))/0x8+-parseInt(_0x3b0993(0x1d7))/0x9*(parseInt(_0x3b0993(0x182))/0xa)+parseInt(_0x3b0993(_0x14134f._0x230ea4))/0xb;if(_0x4e5f38===_0xc499b6)break;else _0x4a82c6['push'](_0x4a82c6['shift']());}catch(_0x503b32){_0x4a82c6['push'](_0x4a82c6['shift']());}}}(_0x1bea,0x3abe5));var __defProp=Object['defineProperty'],__name=(_0x18c91f,_0x4b1aee)=>__defProp(_0x18c91f,_0x11f023(0x177),{'value':_0x4b1aee,'configurable':!![]});import{writeFile}from'fs/promises';function subscribe(_0x259758,_0x10680e){const _0x230cca={_0x39edad:0x1fe},_0x6cd445=_0x11f023;return _0x259758[_0x6cd445(0x22b)](_0x10680e),()=>{const _0x2d4790=_0x6cd445;_0x259758[_0x2d4790(_0x230cca._0x39edad)](_0x10680e);};}__name(subscribe,'subscribe');import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,'DriverError');}},LocatorError=class extends UnotestError{static{__name(this,_0x11f023(0x212));}},TimeoutError=class extends UnotestError{static{__name(this,_0x11f023(0x220));}},ClockNotInstalledError=class extends DriverError{static{__name(this,'ClockNotInstalledError');}constructor(){const _0x1247be=_0x11f023;super(_0x1247be(0x19a),{});}},NO_CLOCK={'freeze':__name(()=>Promise[_0x11f023(0x241)](new ClockNotInstalledError()),_0x11f023(0x1bd)),'tick':__name(()=>Promise[_0x11f023(0x241)](new ClockNotInstalledError()),_0x11f023(0x214)),'run':__name(()=>Promise[_0x11f023(0x241)](new ClockNotInstalledError()),_0x11f023(0x1fc)),'frozen':__name(()=>![],'frozen')};function _0x1bea(){const _0x37ec4e=['mtiWAgDTs0PX','C2XLzxa','D2fPDezVCKfUAw1HDgLVBNm','Bg9JywXtDg9YywDLu3rHDgu','ugfNzuHPC3rVCNK','D2fPDezVCG','y2XVC2u','y2fSBhm','y2XVy2SUDgLJAW','AxneAxnHyMXLza','BwfW','y291BNrcEurLzMf1Bhq','mtu5mda2BvjPCwDs','zxjYB3jpBK5LEhrby3rPB24','C3DPDgnOAw5N','D2fPDezVCLvYBa','AgfZ','y29UDgv4Dhm','yMvOyxzPB3i','zg91yMXLq2XPy2S','y2HLy2S','D2fPDezVCLnLCNzPy2vxB3jRzxi','B3v0zxjiDg1SqNLszwy','CNvUBMLUz0fUAw1HDgLVBNm','zMLUza','DgfRzw4','DhLWzq','C2vSzwn0t3b0Aw9U','BMfTzq','mJG0odbyr2f3AeC','C2v0','CMfJzq','yNjVD3nLCKnVBNrLEhrjza','BM8GCMvXDwvZDcb0BYa','yxjYAxzHBhm','CgXHBKnSB3nL','BMv3ugfNzq','uvvfvuvFtufy','AxnwAxnPyMXLqNLezwzHDwX0','nJaYmdKWvNnHufbL','CMvJB3jKzxi','BMv0D29YAY53ywL0rM9YuMvXDwvZDa','D2fPDezVCKXVywrtDgf0zq','zg93BMXVywrZ','y2XVy2SUzNjLzxPL','y2XVC2vqywDL','Bgf1BMnO','CMvZCg9UC2vZ','y29UC29SzuvUDhjPzxm','Bwf5yMvuAhjVDW','zMfRzvDVCMTLCG','DgLTzw91De1Z','zw11Bgf0zu1LzgLH','ChjLC3m','ntq5mJm2nMHiB2nAzW','z2v0qxr0CMLIDxrL','CMvM','lNbHz2uW','z29cywnR','y2XVy2S','yMXVy2TLza','CNvUBMLUz0fUAw1HDgLVBNntzxf1zw5Jzq','BM8GzxH0zw5ZAw9UihnLCNzPy2uGD29YA2vYigHLCMu6igv4DgvUC2LVBNmGBg9HzcbVBMX5igLUDg8GysbICM93C2vYihn0yxj0zwqGD2L0AcbHihbYB2zPBguG4OcuihnLDcbSyxvUy2GUDxnLCKrHDgfeAxiGkgfUzcb0AguGls1SB2fKlwv4DgvUC2LVBIbHCMDZksbPBIb1BM90zxn0lMnVBMzPzY4GqsbYDw4GB24GysbIB3GGAgfZig5VihbYB2zPBguSihnVigL0igHHCYbUBYbLEhrLBNnPB25ZigvPDgHLCI4','DgHLihbHz2uGy2XVy2SGAxmGBM90igLUC3rHBgXLzcbVBIb0AgLZigjYB3DZzxiG4OcuigL0igHHCYb0BYbIzsbPBIbWBgfJzsbIzwzVCMuGDgHLigzPCNn0ihbHz2uGBg9HzhmSig9YihrOzsbWywDLj3mGB3DUihrPBwvYCYbRzwvWihjLywWGDgLTzs4GqsbYDw4GAw5ZDgfSBhmGAxqGD2HLBIb0AguGC2nLBMfYAw8GB3iGAxrZigHLBhbLCNmGy2fSBcbJBg9JA0zYzwv6zsaVignSB2nRvgLJAYaVignSB2nRuNvUoYbVDMvYie1ducWGB3bLBIb0AguGyNjVD3nLCIb3AxrOig5LD19JB250zxH0ihTJBg9JAZOGDhj1zx0Gkg9Yigv4CgXVCMvFC3rHCNqGE2nSB2nRoIb0CNvLFsKU','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','z2v0tg9JywXtDg9YywDL','ihn0yxj0zwqGD2L0AgLUia','AgfZq2XVy2S','CgfNzunVBNnVBgu','zhjHz0fUzerYB3a','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','y291BNq','lcb7ywjVCNq6ihrYDwuSihjLy29YzdOGDhj1zx0PlIbxAxrOB3v0igL0igeGy2HLy2SGzM9YihjLCxvLC3rZihrOzxjLihDVDwXKihbHC3mGAgf2Aw5NihDHDgnOzwqGBM90AgLUzY4','C2v0qwn0AxzLugfNzq','BgvMDa','ywjVDxq6yMXHBMS','C2f2zufZ','y2XPy2S','mZa3nZq3mMPfDgrLvq','ywn0AxzLswr4','ig1HDgnOAw5Nia','iJ48l2rPDJ4','CMvSB2fK','C2nYB2XSsw50B1zPzxC','rMfRzvDLyKrYAxzLCG','zxHPDezYyw1L','C2v0vMLLD3bVCNq','zxzHBhvHDgu','zgvZy3jPyMu','BMv3q29UDgv4Da','ywn0AxzHDgu','BM8GBMv3ihrHyIb3AxrOAw4G','ihDPDgHPBIa','BM8Gzg93BMXVywq','ywjVCNq','CMvZCg9UC2u','ig1Zlca','Ag92zxi','zNjLzxPL','rMfRzunVBNrLEhq','zxzHBhvHDgvszxn1Bhq','nZG1ndHxEu15Dve','C2nYzwvUC2HVDa','ifj1BM5PBMC6ia','ndK3odjxsg9xz2O','CMvJB3jK','Aw5UzxjuzxH0qNLezwzHDwX0','DxbSB2fKrMLSzq','Bg9JywXtDg9YywDL','Bgf1BMnOzwq','B3v0zxjive1m','Dw5TB2nR','Aw5PDgLHBfvYBa','Cg9W','DgL0Bgu','BM8GC2vYDMLJzsb3B3jRzxi','zw1PDezHA2vszxf1zxn0','BMv4Da','AM9PBG','A2LUza','ig1ZlG','Aw5ZCgvJDevSzw1LBNq','DgfRzq','BM93','mZz5r3fMsNO','A2v5CW','D2fPDezVCLrLEhq','z2v0q29VA2LL','ChvZAa','DgvZDa','igLUia','D2fPDezVCLjLCxvLC3q','Aw5KzxHpzG','y3jLyxrLuMvJB3jKzxi','yxjYAxzLza','ig1Z','zMfRzs1WBMC','C2nYzwvUC2HVDevSzw1LBNq','BgvUz3rO','C29Tzq','D29YA2vYu3rHCNrLza','BMv3ugfNzuXPC3rLBMvYCW','y29UBMvJDfnOyxjLza','Bwf0y2HLCW','C2vLBG','zMLSDgvY','yNjPBMDuB0zYB250','y2XVy2TgCM96zw4','y2XPCgjVyxjKugfZDgu','zw1PDezHA2vqB3b1Ca','y29VA2LLu3rHDgu','z29gB3j3yxjK','yM91BMrPBMDcB3HcEurLzMf1Bhq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','y3vYCMvUDfvYBa','zxHHy3q','Cg9WDxbpBKnSAwnR','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','z290BW','B25ozxDqywDL','C2nVCgu','CNvU','ig9Wzw4','zgvSzxrL','zNjHBwvtDgfJAW','DxjS','zhjPDMvY','y2fUBM90ignSB3nLihrOzsbVBMX5ig9Wzw4GDgfIoIbUB3rOAw5NihDVDwXKigjLigXLzNqGDg8GzhjPDMu','lNbHz2u','y2XVy2SUCNvU','mJe3EfnQvvv6','D2fPDgvY','zxzHBhvHDgvpBKXVy2f0B3i','zMLSBa','y29TChv0zwrtDhLSzq','CM91DgvZ','C291CMnL','zNjHBwvezxb0Aa','y2fSBhngB3i','CMvZB2X2zq','zMLUzeLUzgv4','BM9eB3DUBg9Hza','y29TChv0zwrtDhLSzuj5uhjVCgvYDhK','tg9JyxrVCKvYCM9Y','zMXHz3m','DgLJAW','C2f2zvn0B3jHz2vtDgf0zq','CxvLDwvK','y2XVC2vgywTLugfNzq','rMfRzvbHz2u','Dgv4DenVBNrLBNq','BwLU','BM8Gzg93BMXVywqGD2HVC2uGBMfTzsb3B3vSzca','AxnwAxnPyMXL','yxr0CMLIDxrLC0j5rgvMyxvSDa','zMfRzsb0AxrSzq','D29YA2vYvxjSCW','vgLTzw91DevYCM9Y','C3rYAw5NAwz5','D2fPDgvYCW','uMvXDwvZDfDHAxruAw1LB3v0rxjYB3i','u2vYDMLJzvDVCMTLCK5LzwrZuhjVzMLSzuvYCM9Y','B25bzNrLCKnSAwnR','D2fPDezVCK5HDMLNyxrPB24','Dw5JAgvJAW','z2v0','AgLZDg9YEq','yMXVy2S','ywrK','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','yM91BMrPBMDcB3G','CgfNzuXPC3q','CgfNzxm','Bwv0Ag9K','CNvUBMLUz0fUAw1HDgLVBNndywXSCW','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','y2HLy2TLzfn0yxrL','mLnsrKDLta','zgvSAxzLCG','ihrHyG','C2HPzNq','AgfUzgvKugfNzxm','AxneAxnHyMXLzej5rgvMyxvSDa','BMv0D29YAY5TB2nR','D29YA2vYlMv2ywX1yxrL','C2v0q29VA2LL','C2nYzwvUC2HVDej5DgvZ','Aw5JBhvKzxm','C2v0tg9JywXtDg9YywDL','C3rLChm','CMvQzwn0','D2fPDezVCK5LD1bHz2u','Aw5WDxrwywX1zq','C3bSAwnL','C3rVChbLza','y2fWDhvYzujVEgvZ','BMv0D29YA0vUDhjPzxm','u2vYDMLJzvDVCMTLCLDHAxruAw1LB3v0rxjYB3i'];_0x1bea=function(){return _0x37ec4e;};return _0x1bea();}function firstUnhandedPage(_0x26ffd2,_0x41d297){const _0x2ebebc=_0x11f023;return _0x26ffd2[_0x2ebebc(0x20f)](_0x1519cc=>!_0x41d297['has'](_0x1519cc));}__name(firstUnhandedPage,'firstUnhandedPage');function claimNewPage(_0x28c9d5,_0x3e0c17,_0x129fa0){const _0x36f844={_0x553190:0x1b6,_0x20009d:0x1bb,_0x4bd522:0x1fd,_0x316e59:0x22b},_0x9f3018=_0x11f023,_0x56d54d=firstUnhandedPage(_0x28c9d5,_0x3e0c17);if(_0x56d54d<0x0){const _0x5c81d9=_0x28c9d5[_0x9f3018(0x1e5)];throw new TimeoutError(_0x9f3018(_0x36f844._0x553190)+_0x129fa0+_0x9f3018(_0x36f844._0x20009d)+_0x5c81d9+_0x9f3018(0x236)+(_0x5c81d9===0x1?'':'s')+_0x9f3018(_0x36f844._0x4bd522),{'timeoutMs':_0x129fa0,'open':_0x5c81d9});}return _0x3e0c17[_0x9f3018(_0x36f844._0x316e59)](_0x28c9d5[_0x56d54d]),_0x56d54d;}__name(claimNewPage,'claimNewPage');var PageHistory=class{static{__name(this,_0x11f023(0x24d));}[_0x11f023(0x1a5)]=[];[_0x11f023(0x257)](_0x1be70b,_0x53fab2,_0x522fbd){const _0x2d9f19={_0x1e668c:0x1a5,_0x24c8f6:0x1e5},_0x24ca1a=_0x11f023,_0x19d45d=_0x1be70b[_0x53fab2];if(!_0x19d45d||_0x19d45d===_0x522fbd)return;const _0x5bf6de=this[_0x24ca1a(0x1a5)][_0x24ca1a(0x1ec)](_0x429763=>_0x429763!==_0x19d45d&&_0x1be70b['includes'](_0x429763));this[_0x24ca1a(_0x2d9f19._0x1e668c)]['splice'](0x0,this[_0x24ca1a(0x1a5)][_0x24ca1a(_0x2d9f19._0x24c8f6)],..._0x5bf6de,_0x19d45d);}[_0x11f023(0x17e)](_0x3a2721,_0x5dd0ee,_0x4652ba){const _0x1b60ef={_0x1e71d2:0x1a1,_0x91072e:0x1e5,_0x3e1ea6:0x1e5,_0x3e9abe:0x202,_0x529570:0x1a5,_0x3e2d4e:0x1a5},_0x692d6d=_0x11f023,_0x3e2d72=_0x3a2721[_0x4652ba];if(!_0x3e2d72)throw new DriverError(_0x692d6d(_0x1b60ef._0x1e71d2),{'index':_0x4652ba,'available':_0x3a2721[_0x692d6d(_0x1b60ef._0x91072e)]});if(_0x3a2721[_0x692d6d(_0x1b60ef._0x3e1ea6)]===0x1)throw new DriverError(_0x692d6d(_0x1b60ef._0x3e9abe),{'index':_0x4652ba});const _0x1dce56=_0x3a2721['filter'](_0x507666=>_0x507666!==_0x3e2d72),_0x929db2=_0x3a2721[_0x5dd0ee],_0x251552=this[_0x692d6d(0x1a5)]['filter'](_0x34fb7e=>_0x34fb7e!==_0x3e2d72);this[_0x692d6d(_0x1b60ef._0x529570)]['splice'](0x0,this[_0x692d6d(_0x1b60ef._0x3e2d4e)][_0x692d6d(0x1e5)],..._0x251552);if(_0x929db2&&_0x929db2!==_0x3e2d72)return{'closing':_0x3e2d72,'nextActive':_0x1dce56['indexOf'](_0x929db2)};for(let _0xc0197=this['left']['length']-0x1;_0xc0197>=0x0;_0xc0197--){const _0xc9c8c2=_0x1dce56[_0x692d6d(0x1df)](this[_0x692d6d(0x1a5)][_0xc0197]);if(_0xc9c8c2>=0x0)return{'closing':_0x3e2d72,'nextActive':_0xc9c8c2};}return{'closing':_0x3e2d72,'nextActive':Math['max'](_0x4652ba-0x1,0x0)};}},NotRecordingError=class extends DriverError{static{__name(this,'NotRecordingError');}constructor(_0x2a7bef){const _0x28752a={_0x1346d6:0x221,_0xb6977e:0x1a3},_0x326e7f=_0x11f023;super('nothing\x20records\x20requests\x20to\x20'+JSON[_0x326e7f(_0x28752a._0x1346d6)](_0x2a7bef)+':\x20mock\x20it\x20first\x20with\x20mockRoute('+JSON[_0x326e7f(_0x28752a._0x1346d6)](_0x2a7bef)+_0x326e7f(_0x28752a._0xb6977e),{'glob':_0x2a7bef});}},RequestWaitTimeoutError=class extends TimeoutError{static{__name(this,_0x11f023(0x223));}constructor(_0x1fa525,_0x2f1ef1){const _0x1d342e={_0x60ea38:0x17c,_0x97f44b:0x1dd,_0x1fa73c:0x1e2},_0xfb3478=_0x11f023;super(_0xfb3478(_0x1d342e._0x60ea38)+JSON[_0xfb3478(0x221)](_0x1fa525)+_0xfb3478(_0x1d342e._0x97f44b)+_0x2f1ef1+_0xfb3478(_0x1d342e._0x1fa73c),{'glob':_0x1fa525,'timeoutMs':_0x2f1ef1});}},RouteJournal=class _RouteJournal{constructor(_0x5257f9=Date['now']){const _0x55bafa=_0x11f023;this[_0x55bafa(0x1d6)]=_0x5257f9;}[_0x11f023(0x1d6)];static{__name(this,'RouteJournal');}static [_0x11f023(0x180)]=0x1f4;['responses']=new Map();['queued']=new Map();[_0x11f023(0x222)]=new Map();[_0x11f023(0x245)]=new Map();[_0x11f023(0x179)](_0x2dd44c,_0x3a4e5d){const _0x55f464={_0x23df26:0x16b,_0x2bda4b:0x1d2},_0x297488=_0x11f023;this[_0x297488(0x18a)][_0x297488(0x179)](_0x2dd44c,_0x3a4e5d);if(!this[_0x297488(0x216)][_0x297488(_0x55f464._0x23df26)](_0x2dd44c))this['queued']['set'](_0x2dd44c,[]);_0x3a4e5d[_0x297488(_0x55f464._0x2bda4b)]===_0x297488(0x1b9)&&_0x3a4e5d['record']&&!this['stopped'][_0x297488(0x16b)](_0x2dd44c)&&this[_0x297488(0x245)]['set'](_0x2dd44c,[]);}[_0x11f023(0x1fe)](_0x1e7bd1){const _0x22c2d4={_0x17f6d4:0x18a,_0x4b2497:0x1fe,_0x114ce9:0x216},_0x29af50=_0x11f023,_0x20669a=_0x1e7bd1===void 0x0?[...this[_0x29af50(0x18a)][_0x29af50(0x1d8)]()]:this[_0x29af50(_0x22c2d4._0x17f6d4)]['has'](_0x1e7bd1)?[_0x1e7bd1]:[];for(const _0xc99953 of _0x20669a){this[_0x29af50(0x18a)][_0x29af50(_0x22c2d4._0x4b2497)](_0xc99953),this[_0x29af50(_0x22c2d4._0x114ce9)]['delete'](_0xc99953);}return _0x20669a;}[_0x11f023(0x1ba)](_0x1ca617){const _0x5c8dcf=_0x11f023;return this[_0x5c8dcf(0x18a)][_0x5c8dcf(0x228)](_0x1ca617);}['mocked'](_0x47f0b1){const _0x538640={_0x3e0efb:0x16b},_0x1fec17=_0x11f023;return this[_0x1fec17(0x18a)][_0x1fec17(_0x538640._0x3e0efb)](_0x47f0b1);}[_0x11f023(0x235)](_0x5b5504,_0x34b8e7){const _0x6f729f={_0x1d0d1:0x228},_0x4f0f1c=_0x11f023,_0x22b5b1=this[_0x4f0f1c(0x222)][_0x4f0f1c(_0x6f729f._0x1d0d1)](_0x5b5504)?.[_0x4f0f1c(0x237)]();if(_0x22b5b1){_0x22b5b1(_0x34b8e7);return;}const _0x3ea794=this[_0x4f0f1c(0x216)][_0x4f0f1c(_0x6f729f._0x1d0d1)](_0x5b5504);if(!_0x3ea794)return;_0x3ea794[_0x4f0f1c(0x1db)](_0x34b8e7);if(_0x3ea794['length']>_RouteJournal[_0x4f0f1c(0x180)])_0x3ea794[_0x4f0f1c(0x237)]();}[_0x11f023(0x22a)](_0x3ce514,_0x114637){const _0x4b33fa={_0x2e2941:0x228,_0x866067:0x1d6},_0x27c01f=_0x11f023;this[_0x27c01f(0x245)][_0x27c01f(_0x4b33fa._0x2e2941)](_0x3ce514)?.[_0x27c01f(0x1db)]({'url':_0x114637['url'],'method':_0x114637['method'],'at':this[_0x27c01f(_0x4b33fa._0x866067)]()});}['blocked'](_0x4fb990){const _0x205071=_0x11f023,_0x4a90c2=this[_0x205071(0x245)][_0x205071(0x228)](_0x4fb990);if(!_0x4a90c2)throw new NotRecordingError(_0x4fb990);return _0x4a90c2;}[_0x11f023(0x1d0)](_0xa00eba,_0x330aea){const _0x50b7a5={_0x28cdc0:0x206,_0x194a83:0x222},_0x474f5a=_0x11f023,_0x11e4fa=this[_0x474f5a(0x216)]['get'](_0xa00eba)?.[_0x474f5a(0x237)]();if(_0x11e4fa)return Promise[_0x474f5a(0x20e)](_0x11e4fa);return new Promise((_0x3ed4e1,_0x28a350)=>{const _0x41ea02={_0x354c2e:0x222},_0x4db1ca=_0x474f5a,_0x585484=__name(_0x4bd819=>{clearTimeout(_0x11bc07),_0x3ed4e1(_0x4bd819);},_0x4db1ca(_0x50b7a5._0x28cdc0)),_0x11bc07=setTimeout(()=>{const _0x28ad28=_0x4db1ca,_0x424265=this[_0x28ad28(_0x41ea02._0x354c2e)]['get'](_0xa00eba)??[];_0x424265[_0x28ad28(0x244)](_0x424265['indexOf'](_0x585484),0x1),_0x28a350(new RequestWaitTimeoutError(_0xa00eba,_0x330aea));},_0x330aea),_0x35f78c=this[_0x4db1ca(_0x50b7a5._0x194a83)]['get'](_0xa00eba)??[];_0x35f78c['push'](_0x585484),this['waiters']['set'](_0xa00eba,_0x35f78c);});}},DownloadQueue=class{constructor(_0x55257c){this['sleep']=_0x55257c;}['sleep'];static{__name(this,'DownloadQueue');}[_0x11f023(0x1eb)]=[];[_0x11f023(0x174)]=new Set();['arrivals']=new Set();['push'](_0x4769f8){const _0x5350dc=_0x11f023;this[_0x5350dc(0x1eb)][_0x5350dc(0x1db)](_0x4769f8);for(const _0x26af50 of this['arrivals'])_0x26af50();}async[_0x11f023(0x1d5)](_0x2c2720,_0x1d5ed4){const _0x4747c8={_0xed9c65:0x1d0,_0x3d2799:0x17a,_0x5479e9:0x210,_0x143da6:0x174},_0x351bce=_0x11f023,_0x14424b=__name(()=>this[_0x351bce(0x1eb)][_0x351bce(0x173)](_0x574261=>!this[_0x351bce(0x174)][_0x351bce(0x16b)](_0x574261)&&(_0x1d5ed4===void 0x0||_0x1d5ed4[_0x351bce(0x1ea)](_0x574261[_0x351bce(0x177)]))),_0x351bce(_0x4747c8._0xed9c65));let _0x118b4b=_0x14424b();if(_0x118b4b===void 0x0){let _0x349381=__name(()=>{},_0x351bce(0x1e1));const _0x5147dd=new Promise(_0x416f46=>{const _0x56455a=_0x351bce;_0x349381=__name(()=>{if(_0x14424b()!==void 0x0)_0x416f46();},_0x56455a(0x1e1));});this['arrivals']['add'](_0x349381);try{await Promise[_0x351bce(_0x4747c8._0x3d2799)]([_0x5147dd,this[_0x351bce(0x24a)](_0x2c2720)]);}finally{this[_0x351bce(0x17d)][_0x351bce(0x1fe)](_0x349381);}_0x118b4b=_0x14424b();}if(_0x118b4b===void 0x0)throw this[_0x351bce(_0x4747c8._0x5479e9)](_0x2c2720,_0x1d5ed4);return this[_0x351bce(_0x4747c8._0x143da6)][_0x351bce(0x22b)](_0x118b4b),_0x118b4b;}[_0x11f023(0x210)](_0x403127,_0x254be9){const _0x189380={_0x292360:0x1ec,_0x7b49be:0x253,_0x3e4380:0x1e2,_0x2d22e0:0x1b3},_0x17fccc=_0x11f023,_0x16a3d0=this[_0x17fccc(0x1eb)][_0x17fccc(_0x189380._0x292360)](_0x219a31=>!this[_0x17fccc(0x174)][_0x17fccc(0x16b)](_0x219a31))[_0x17fccc(_0x189380._0x7b49be)](_0x2ce609=>_0x2ce609['name']),_0x5ca05c=_0x254be9===void 0x0?_0x17fccc(0x1b8):_0x17fccc(0x21b)+_0x254be9[_0x17fccc(0x1b3)](),_0xfaa6d3=_0x16a3d0[_0x17fccc(0x1e5)]>0x0?';\x20not\x20taken:\x20'+_0x16a3d0[_0x17fccc(0x253)](_0x1961f5=>JSON[_0x17fccc(0x221)](_0x1961f5))[_0x17fccc(0x1d1)](',\x20'):'';return new TimeoutError(_0x5ca05c+_0x17fccc(0x1b7)+_0x403127+_0x17fccc(_0x189380._0x3e4380)+_0xfaa6d3,{'timeoutMs':_0x403127,'untaken':_0x16a3d0,..._0x254be9!==void 0x0?{'name':_0x254be9[_0x17fccc(_0x189380._0x2d22e0)]()}:{}});}};function matcherMatches(_0xa09fcf,_0x5307c4,_0x588dab={}){const _0x44531e={_0xb23ec8:0x20b,_0x55602f:0x1dc},_0x46eb00=_0x11f023;if(typeof _0x5307c4==='string')return _0x588dab[_0x46eb00(0x1f6)]??!![]?_0xa09fcf===_0x5307c4:_0xa09fcf[_0x46eb00(0x23e)](_0x5307c4);return new RegExp(_0x5307c4[_0x46eb00(_0x44531e._0xb23ec8)],_0x5307c4[_0x46eb00(0x213)])[_0x46eb00(_0x44531e._0x55602f)](_0xa09fcf);}__name(matcherMatches,'matcherMatches');var ServiceWorkerNeedsProfileError=class extends DriverError{static{__name(this,_0x11f023(0x224));}constructor(){const _0xc6ba05=_0x11f023;super(_0xc6ba05(0x199),{});}},ServiceWorkerWaitTimeoutError=class extends TimeoutError{static{__name(this,_0x11f023(0x248));}constructor(_0x4e36bd,_0x5ddc31,_0xb49878){const _0x58ef39={_0x5be732:0x221,_0x587fbf:0x1d1,_0x20ac50:0x19d},_0x45f7d7=_0x11f023,_0x278ead=_0x5ddc31===void 0x0?'':_0x45f7d7(0x1ab)+JSON[_0x45f7d7(_0x58ef39._0x5be732)](_0x5ddc31),_0x2ca62b=_0xb49878[_0x45f7d7(0x1e5)]===0x0?'':_0x45f7d7(0x1c2)+_0xb49878[_0x45f7d7(_0x58ef39._0x587fbf)](',\x20')+'.';super(_0x45f7d7(0x1ce)+_0x278ead+_0x45f7d7(_0x58ef39._0x20ac50)+_0x4e36bd+_0x45f7d7(0x1d3)+_0x2ca62b,{'timeoutMs':_0x4e36bd,'seen':_0xb49878});}};function workerMatches(_0x37ab30,_0x6053d2){return _0x6053d2===void 0x0||matcherMatches(_0x37ab30,_0x6053d2,{'exact':![]});}function _0x5b0a(_0x587045,_0x11d30d){_0x587045=_0x587045-0x16b;const _0x1bea03=_0x1bea();let _0x5b0aef=_0x1bea03[_0x587045];if(_0x5b0a['nFMuVA']===undefined){var _0x44ee04=function(_0x2144a5){const _0x959e77='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x18c91f='',_0x4b1aee='';for(let _0x259758=0x0,_0x10680e,_0x26ffd2,_0x41d297=0x0;_0x26ffd2=_0x2144a5['charAt'](_0x41d297++);~_0x26ffd2&&(_0x10680e=_0x259758%0x4?_0x10680e*0x40+_0x26ffd2:_0x26ffd2,_0x259758++%0x4)?_0x18c91f+=String['fromCharCode'](0xff&_0x10680e>>(-0x2*_0x259758&0x6)):0x0){_0x26ffd2=_0x959e77['indexOf'](_0x26ffd2);}for(let _0x1519cc=0x0,_0x28c9d5=_0x18c91f['length'];_0x1519cc<_0x28c9d5;_0x1519cc++){_0x4b1aee+='%'+('00'+_0x18c91f['charCodeAt'](_0x1519cc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4b1aee);};_0x5b0a['itttOY']=_0x44ee04,_0x5b0a['bNrlcr']={},_0x5b0a['nFMuVA']=!![];}const _0x4f3c7b=_0x1bea03[0x0],_0x3fa743=_0x587045+_0x4f3c7b,_0x45725d=_0x5b0a['bNrlcr'][_0x3fa743];return!_0x45725d?(_0x5b0aef=_0x5b0a['itttOY'](_0x5b0aef),_0x5b0a['bNrlcr'][_0x3fa743]=_0x5b0aef):_0x5b0aef=_0x45725d,_0x5b0aef;}__name(workerMatches,'workerMatches');function createRecorder(){const _0x26de89=_0x11f023,_0x344f59=[];let _0x3df67b=0x0;return{'push':__name(_0x25abb5=>_0x344f59[_0x26de89(0x1db)]({..._0x25abb5,'seq':_0x3df67b++}),'push'),'calls':__name(()=>_0x344f59,'calls')};}__name(createRecorder,_0x11f023(0x1e0));var FakePage=class{constructor(_0x5ed92a,_0x57811c,_0x2714cb,_0x23a7bf){const _0x201e36={_0x37361b:0x183,_0x59d98e:0x16d,_0x53aa76:0x1fb},_0x354dd3=_0x11f023;this[_0x354dd3(_0x201e36._0x37361b)]=_0x5ed92a,this[_0x354dd3(_0x201e36._0x59d98e)]=_0x57811c,this[_0x354dd3(_0x201e36._0x53aa76)]=_0x2714cb,this[_0x354dd3(0x1f5)]=_0x23a7bf;}[_0x11f023(0x183)];[_0x11f023(0x16d)];[_0x11f023(0x1fb)];static{__name(this,_0x11f023(0x218));}[_0x11f023(0x1f5)];['onAfterClick'];[_0x11f023(0x1c4)](_0x3a10a8,_0x2d101d){const _0x1661ee={_0x3e1d41:0x183},_0x48c349=_0x11f023;this[_0x48c349(_0x1661ee._0x3e1d41)][_0x48c349(0x1db)]({'scope':this[_0x48c349(0x1fb)],'method':_0x3a10a8,'args':_0x2d101d});}[_0x11f023(0x18c)](){const _0x134a6a={_0x52d971:0x16d,_0x2a2afc:0x256},_0x2e2160=_0x11f023;if(this[_0x2e2160(_0x134a6a._0x52d971)][_0x2e2160(_0x134a6a._0x2a2afc)]){const _0xf57ad1=this['behavior'][_0x2e2160(_0x134a6a._0x2a2afc)];this['behavior']['errorOnNextAction']=void 0x0;throw _0xf57ad1;}}['url'](){const _0x42a016={_0x5c078a:0x1f5},_0x77a15b=_0x11f023;return this[_0x77a15b(_0x42a016._0x5c078a)];}async[_0x11f023(0x1cd)](){const _0x512b7f=_0x11f023;return this['record']('title',[]),_0x512b7f(0x21e);}async[_0x11f023(0x1a8)](_0x30ae4b,_0x38df7e){const _0x445c4f={_0x4882f4:0x1c4,_0x2cef64:0x1a8,_0x56f1a5:0x18c,_0x12f42f:0x225},_0x2c3c8a=_0x11f023;this[_0x2c3c8a(_0x445c4f._0x4882f4)](_0x2c3c8a(_0x445c4f._0x2cef64),[_0x30ae4b,_0x38df7e]),this[_0x2c3c8a(_0x445c4f._0x56f1a5)](),this[_0x2c3c8a(_0x445c4f._0x12f42f)]?.();}async[_0x11f023(0x16e)](_0x108eb1,_0x79b819){const _0x34cab5=_0x11f023;this['record']('doubleClick',[_0x108eb1,_0x79b819]),this[_0x34cab5(0x18c)]();}async[_0x11f023(0x208)](_0x7888d2,_0x87b46,_0x47ee89){const _0x50cf94=_0x11f023;this[_0x50cf94(0x1c4)]('fill',[_0x7888d2,_0x87b46,_0x47ee89]),this[_0x50cf94(0x18c)]();}async[_0x11f023(0x190)](_0x1fdb0e,_0x238138,_0x4cb6b8){const _0x21a21c={_0x45128a:0x1c4},_0x2f0da0=_0x11f023;this[_0x2f0da0(_0x21a21c._0x45128a)]('press',[_0x1fdb0e,_0x238138,_0x4cb6b8]),this[_0x2f0da0(0x18c)]();}async[_0x11f023(0x16f)](_0x240189,_0x3a769e){const _0x38f9ee={_0x33b250:0x1c4,_0x1668f1:0x16f,_0x5b4f18:0x18c},_0x3247b3=_0x11f023;this[_0x3247b3(_0x38f9ee._0x33b250)](_0x3247b3(_0x38f9ee._0x1668f1),[_0x240189,_0x3a769e]),this[_0x3247b3(_0x38f9ee._0x5b4f18)]();}async[_0x11f023(0x227)](_0x28f096,_0x1da4be){const _0xbde84e=_0x11f023;this[_0xbde84e(0x1c4)](_0xbde84e(0x227),[_0x28f096,_0x1da4be]),this[_0xbde84e(0x18c)]();}async['selectOption'](_0x6774c,_0x289092,_0x75e85a){const _0x304652={_0xbff1e:0x176,_0xc86359:0x18c},_0x140b68=_0x11f023;this[_0x140b68(0x1c4)](_0x140b68(_0x304652._0xbff1e),[_0x6774c,_0x289092,_0x75e85a]),this[_0x140b68(_0x304652._0xc86359)]();}async[_0x11f023(0x1bc)](_0x24ad12,_0x14e7a2){const _0x338f04={_0x2c71eb:0x1c4,_0x5b1463:0x1bc},_0x2fe3d4=_0x11f023;this[_0x2fe3d4(_0x338f04._0x2c71eb)](_0x2fe3d4(_0x338f04._0x5b1463),[_0x24ad12,_0x14e7a2]),this['maybeThrow']();}async[_0x11f023(0x1ae)](_0x266a88){const _0x45378b=_0x11f023;this[_0x45378b(0x1c4)]('scrollIntoView',[_0x266a88]),this[_0x45378b(0x18c)]();}async['dragAndDrop'](_0x4982e5,_0x2ca212,_0x1427bd){const _0x4d8cf9={_0x2a398c:0x1c4},_0x390a23=_0x11f023;this[_0x390a23(_0x4d8cf9._0x2a398c)](_0x390a23(0x1a0),[_0x4982e5,_0x2ca212,_0x1427bd]),this[_0x390a23(0x18c)]();}async[_0x11f023(0x1c6)](_0xc9b93f,_0x5200a6){const _0x351314={_0x12c224:0x1c4},_0x20867d=_0x11f023;this[_0x20867d(_0x351314._0x12c224)](_0x20867d(0x1c6),[_0xc9b93f,_0x5200a6]),this[_0x20867d(0x18c)]();}async[_0x11f023(0x1ef)](_0x2c4404,_0x1cb851){const _0x559782={_0x1f18c1:0x1c4,_0x243875:0x18c},_0x4f49f9=_0x11f023;this[_0x4f49f9(_0x559782._0x1f18c1)]('clipboardPaste',[_0x2c4404,_0x1cb851]),this[_0x4f49f9(_0x559782._0x243875)]();}async[_0x11f023(0x1a2)](_0x2beabf){const _0x5771f3={_0x2a3714:0x1c4,_0x37da1d:0x16d},_0xa403bf=_0x11f023;return this[_0xa403bf(_0x5771f3._0x2a3714)]('count',[_0x2beabf]),this[_0xa403bf(_0x5771f3._0x37da1d)][_0xa403bf(0x254)]??0x1;}async[_0x11f023(0x219)](_0x4884cf){const _0x273dd7={_0x3f94e1:0x1c4,_0x347828:0x1f4},_0x58bbf1=_0x11f023;return this[_0x58bbf1(_0x273dd7._0x3f94e1)]('textContent',[_0x4884cf]),this[_0x58bbf1(0x16d)][_0x58bbf1(_0x273dd7._0x347828)]??'';}async['innerText'](_0x35b0f6){const _0x13ef14=_0x11f023;return this['record']('innerText',[_0x35b0f6]),this[_0x13ef14(0x16d)][_0x13ef14(0x1c5)]??this[_0x13ef14(0x16d)][_0x13ef14(0x1f4)]??'';}async[_0x11f023(0x243)](_0x1aeeb8){const _0x346dd9={_0x3e81c7:0x243},_0x10c231=_0x11f023;return this['record'](_0x10c231(_0x346dd9._0x3e81c7),[_0x1aeeb8]),this[_0x10c231(0x16d)]['inputValueByDefault']??'';}async[_0x11f023(0x233)](_0x42c6ea){const _0x6fec18={_0x33f254:0x233,_0x2e666b:0x16d},_0xdef6b3=_0x11f023;return this[_0xdef6b3(0x1c4)](_0xdef6b3(_0x6fec18._0x33f254),[_0x42c6ea]),this[_0xdef6b3(_0x6fec18._0x2e666b)]['checkedStateByDefault']??null;}async['isVisible'](_0x189c54){const _0x33038c=_0x11f023;return this[_0x33038c(0x1c4)](_0x33038c(0x21c),[_0x189c54]),this['behavior'][_0x33038c(0x181)]??!![];}async[_0x11f023(0x22d)](_0x41605a){const _0x11f1f9={_0x1bf7d0:0x1c4,_0xd65ef3:0x22d,_0x551382:0x16d},_0x3a7cc0=_0x11f023;return this[_0x3a7cc0(_0x11f1f9._0x1bf7d0)](_0x3a7cc0(_0x11f1f9._0xd65ef3),[_0x41605a]),this[_0x3a7cc0(_0x11f1f9._0x551382)][_0x3a7cc0(0x1f3)]===void 0x0?{'x':0x0,'y':0x0,'width':0x64,'height':0x14}:this['behavior']['boundingBoxByDefault'];}['runningAnimationsCalls']=0x0;async[_0x11f023(0x172)](_0x520ba3){const _0x21e5d9={_0x52eed8:0x1c4,_0x37d806:0x172,_0x2af702:0x16d,_0xd55683:0x21a,_0x57ebb1:0x231},_0x5f4d5d=_0x11f023;this[_0x5f4d5d(_0x21e5d9._0x52eed8)](_0x5f4d5d(_0x21e5d9._0x37d806),[_0x520ba3]);const _0x419bc6=this[_0x5f4d5d(_0x21e5d9._0x2af702)][_0x5f4d5d(0x198)]??[0x0];return _0x419bc6[Math[_0x5f4d5d(_0x21e5d9._0xd55683)](this[_0x5f4d5d(_0x21e5d9._0x57ebb1)]++,_0x419bc6[_0x5f4d5d(0x1e5)]-0x1)]??0x0;}async[_0x11f023(0x24b)](_0x962f89,_0x329db8){const _0x3d7af4={_0x1b70ce:0x1c4},_0x3f3883=_0x11f023;this[_0x3f3883(_0x3d7af4._0x1b70ce)](_0x3f3883(0x24b),[_0x962f89,_0x329db8]);}async['computedStyle'](_0x2757c0,_0x44e998){const _0x586bb9={_0x3ac262:0x209},_0x177efd=_0x11f023;return this[_0x177efd(0x1c4)](_0x177efd(_0x586bb9._0x3ac262),[_0x2757c0,_0x44e998]),this[_0x177efd(0x16d)][_0x177efd(0x211)]?.[_0x44e998]??'';}async['isDisabled'](_0x35541e){const _0x2dc708={_0x21198c:0x1c4,_0x4ec963:0x252,_0x2f6f24:0x239},_0x573727=_0x11f023;return this[_0x573727(_0x2dc708._0x21198c)](_0x573727(_0x2dc708._0x4ec963),[_0x35541e]),this['behavior'][_0x573727(_0x2dc708._0x2f6f24)]??![];}async['getAttribute'](_0x29cde3,_0x4eb6b6){const _0x36a74c={_0x26eff7:0x1c4,_0x809138:0x192},_0x4561bd=_0x11f023;return this[_0x4561bd(_0x36a74c._0x26eff7)](_0x4561bd(_0x36a74c._0x809138),[_0x29cde3,_0x4eb6b6]),this['behavior'][_0x4561bd(0x21d)]?.[_0x4eb6b6]??null;}async[_0x11f023(0x24e)](_0x33404a,_0x5a728d){const _0x23f736=_0x11f023;this[_0x23f736(0x1c4)]('waitFor',[_0x33404a,_0x5a728d]);}async[_0x11f023(0x258)](_0x3cef14,_0x451fd0){const _0x3c52b0={_0x4971ce:0x258},_0x2ab88e=_0x11f023;this[_0x2ab88e(0x1c4)](_0x2ab88e(_0x3c52b0._0x4971ce),[_0x3cef14,_0x451fd0]);}async[_0x11f023(0x18f)](_0x224239){const _0x57cb8e={_0xd3117e:0x18f},_0x480083=_0x11f023;this['record'](_0x480083(_0x57cb8e._0xd3117e),[_0x224239]);}async[_0x11f023(0x1d9)](_0x4d1d12,_0x33ec66){const _0x40e053={_0x581553:0x1d9},_0x2f66ac=_0x11f023;this['record'](_0x2f66ac(_0x40e053._0x581553),[_0x4d1d12,_0x33ec66]);}async['waitForNavigation'](_0x1d3e43){const _0x55dceb=_0x11f023;this[_0x55dceb(0x1c4)](_0x55dceb(0x226),[_0x1d3e43]);}async[_0x11f023(0x185)](_0x1a5744,_0x4eb7b0){const _0x4e5f4={_0x1db89e:0x1c4,_0x456871:0x185},_0x5d3116=_0x11f023;this[_0x5d3116(_0x4e5f4._0x1db89e)](_0x5d3116(_0x4e5f4._0x456871),[_0x1a5744,_0x4eb7b0]);}async[_0x11f023(0x1f9)](_0x57cd18,_0x1411ec){const _0x21a546={_0x2e1abf:0x1c4},_0x4cbe51=_0x11f023;this[_0x4cbe51(_0x21a546._0x2e1abf)]('goto',[_0x57cd18,_0x1411ec]),this['currentUrl']=_0x57cd18;}async[_0x11f023(0x1ad)](_0x76cb4e){const _0x2f82b9=_0x11f023;this[_0x2f82b9(0x1c4)](_0x2f82b9(0x1ad),[_0x76cb4e]);}async[_0x11f023(0x195)](_0x599a12){const _0x541b23={_0x779316:0x195},_0x2e07bf=_0x11f023;this[_0x2e07bf(0x1c4)](_0x2e07bf(_0x541b23._0x779316),[_0x599a12]);}async[_0x11f023(0x1f2)](_0x33051d){const _0x497e9b={_0x3e2b00:0x1c4},_0x503fc4=_0x11f023;this[_0x503fc4(_0x497e9b._0x3e2b00)]('goForward',[_0x33051d]);}async['evaluate'](_0x2ed360){const _0x349459={_0x3e664f:0x1bf},_0x437597=_0x11f023;return this[_0x437597(0x1c4)](_0x437597(0x1b2),[_0x2ed360]),this[_0x437597(0x16d)][_0x437597(_0x349459._0x3e664f)];}async[_0x11f023(0x207)](_0x1a2061,_0x7d1b49,_0x4a3981){const _0xc567bc={_0x57b8f3:0x1bf},_0x2b2fa1=_0x11f023;return this[_0x2b2fa1(0x1c4)]('evaluateOnLocator',[_0x1a2061,_0x7d1b49,_0x4a3981]),this[_0x2b2fa1(0x16d)][_0x2b2fa1(_0xc567bc._0x57b8f3)];}async[_0x11f023(0x1d4)](_0x37cbe6){const _0x231b3d={_0x46ba77:0x1d4,_0x1b3da5:0x240,_0x615fd7:0x1d2,_0x1190d3:0x193},_0x364071=_0x11f023;this[_0x364071(0x1c4)](_0x364071(_0x231b3d._0x46ba77),[_0x37cbe6]);if(_0x37cbe6[_0x364071(_0x231b3d._0x1b3da5)][_0x364071(0x1e5)]!==0x1||_0x37cbe6[_0x364071(_0x231b3d._0x1b3da5)][0x0][_0x364071(_0x231b3d._0x615fd7)]!==_0x364071(_0x231b3d._0x1190d3))return null;const _0x25c7ee=_0x37cbe6[_0x364071(0x240)][0x0]['ref'],_0x3c7df6=this['behavior']['elementHintByRef']?.[_0x25c7ee];return _0x3c7df6??null;}async[_0x11f023(0x1c1)](_0x40fcdb){const _0x18ff2f=_0x11f023;return this['record']('screenshot',[_0x40fcdb]),this[_0x18ff2f(0x23d)](_0x40fcdb?.[_0x18ff2f(0x175)]);}async['screenshotElement'](_0x2951ee,_0x593ec7){const _0x30fdfa=_0x11f023;return this[_0x30fdfa(0x1c4)](_0x30fdfa(0x1e4),[_0x2951ee,_0x593ec7]),this[_0x30fdfa(0x23d)](_0x593ec7?.[_0x30fdfa(0x175)]);}async['boxesInCapture'](_0x4597f0,_0x417635){const _0x1e5fa6={_0x20cae3:0x16d},_0x2caa0c=_0x11f023;return this['record']('boxesInCapture',[_0x4597f0,_0x417635]),this['behavior']['captureBoxes']?this[_0x2caa0c(_0x1e5fa6._0x20cae3)][_0x2caa0c(0x246)](_0x4597f0,_0x417635):[];}[_0x11f023(0x23d)](_0x361a99){const _0x2e44b1=_0x11f023,_0x3a9916=this[_0x2e44b1(0x16d)][_0x2e44b1(0x23d)];if(_0x3a9916===void 0x0)return Buffer['from'](_0x2e44b1(0x1e3));return typeof _0x3a9916==='function'?_0x3a9916(_0x361a99):_0x3a9916;}async[_0x11f023(0x1c9)](_0x539220){const _0x484ec4={_0x1ee6df:0x1c9,_0x3d416d:0x1d2},_0x1376b6=_0x11f023;this[_0x1376b6(0x1c4)](_0x1376b6(_0x484ec4._0x1ee6df),[_0x539220]);if(_0x539220[_0x1376b6(0x240)][_0x1376b6(0x1e5)]===0x1&&_0x539220[_0x1376b6(0x240)][0x0][_0x1376b6(_0x484ec4._0x3d416d)]===_0x1376b6(0x193)){const _0x2e58e3=_0x539220[_0x1376b6(0x240)][0x0]['ref'];return this[_0x1376b6(0x16d)][_0x1376b6(0x171)]?.[_0x2e58e3]??_0x1376b6(0x232)+_0x2e58e3+_0x1376b6(0x1ac);}return'<div></div>';}},FAKE_SET_UP_CALLS=new Set([_0x11f023(0x23a),_0x11f023(0x23c),_0x11f023(0x23f),_0x11f023(0x187),'clock.tick',_0x11f023(0x204),_0x11f023(0x18f),_0x11f023(0x17f)]),FakeContext=class{constructor(_0xc43edc,_0x38de78,_0x3d1a2d,_0x103b4a=![]){const _0x542e86={_0xd3e77b:0x16d,_0x235311:0x194,_0x1d949b:0x1f7,_0x3c4d2b:0x22b,_0x87c7a:0x21f,_0x2d879e:0x24c},_0x4cac93={_0x376f6a:0x1f0,_0x3e3af0:0x1f7},_0x49ec07=_0x11f023;this[_0x49ec07(0x183)]=_0xc43edc,this[_0x49ec07(_0x542e86._0xd3e77b)]=_0x38de78,this['scope']=_0x3d1a2d,this['hasClock']=_0x103b4a,this[_0x49ec07(0x1ee)]=![];const _0x434956=new FakePage(_0xc43edc,_0x38de78,_0x3d1a2d+_0x49ec07(_0x542e86._0x235311),_0x38de78[_0x49ec07(0x1cb)]??_0x49ec07(0x1a6));_0x38de78[_0x49ec07(_0x542e86._0x1d949b)]&&(_0x434956[_0x49ec07(0x225)]=()=>{const _0x22211c=_0x49ec07;this[_0x22211c(_0x4cac93._0x376f6a)](_0x38de78[_0x22211c(_0x4cac93._0x3e3af0)]);}),this['pageList']=[_0x434956],this[_0x49ec07(0x238)][_0x49ec07(_0x542e86._0x3c4d2b)](_0x434956),this[_0x49ec07(_0x542e86._0x87c7a)]=[..._0x38de78['serviceWorkers']??[]],this[_0x49ec07(_0x542e86._0x2d879e)]={..._0x38de78[_0x49ec07(0x1c7)]??{}},this[_0x49ec07(0x1f1)]={..._0x38de78['cookies']??{}};}[_0x11f023(0x183)];[_0x11f023(0x16d)];[_0x11f023(0x1fb)];[_0x11f023(0x19e)];static{__name(this,_0x11f023(0x1be));}[_0x11f023(0x1ee)];[_0x11f023(0x22e)];[_0x11f023(0x1aa)]=0x0;['handedPages']=new WeakSet();['history']=new PageHistory();[_0x11f023(0x1ff)]=[];[_0x11f023(0x24c)];[_0x11f023(0x1f1)];['newPageListeners']=new Set();[_0x11f023(0x20a)]=new RouteJournal();[_0x11f023(0x186)]=new DownloadQueue(async()=>{});['workerUrls'];[_0x11f023(0x1e7)]=new Set();['record'](_0x745c49,_0x4695bf){const _0x1cc4ed=_0x11f023;this[_0x1cc4ed(0x183)][_0x1cc4ed(0x1db)]({'scope':this['scope'],'method':_0x745c49,'args':_0x4695bf});}[_0x11f023(0x22f)](){const _0x3e97ed=_0x11f023;return this[_0x3e97ed(0x22e)];}['activePage'](){const _0x64abda=_0x11f023,_0x30e24f=this[_0x64abda(0x22e)][this[_0x64abda(0x1aa)]];if(!_0x30e24f)throw new DriverError('no\x20active\x20page\x20in\x20context',{'activeIdx':this['activeIdx']});return _0x30e24f;}['consoleEntries'](){const _0x2b6fbe={_0x1a3399:0x16d,_0x4b82f7:0x18b},_0x53f57b=_0x11f023;return this[_0x53f57b(_0x2b6fbe._0x1a3399)][_0x53f57b(_0x2b6fbe._0x4b82f7)]??[];}['pageConsole'](){const _0x520fd0={_0x2f62f7:0x19f},_0xe70fdd=_0x11f023;return this[_0xe70fdd(0x1c4)](_0xe70fdd(0x19f),[]),this['behavior'][_0xe70fdd(_0x520fd0._0x2f62f7)]??{'entries':[],'errors':[]};}['waitForDownload'](_0x103547={}){const _0x28d2f5={_0x102aeb:0x1d5,_0x506ca6:0x18e,_0x5a7082:0x177},_0x4203a3=_0x11f023;return this[_0x4203a3(0x1c4)]('waitForDownload',[_0x103547[_0x4203a3(0x18e)]]),this[_0x4203a3(0x186)][_0x4203a3(_0x28d2f5._0x102aeb)](_0x103547[_0x4203a3(_0x28d2f5._0x506ca6)]??0x0,_0x103547[_0x4203a3(_0x28d2f5._0x5a7082)]);}['emitFakeDownload'](_0x23883a,_0x4c02c2){const _0x32205c=_0x11f023;this[_0x32205c(0x186)][_0x32205c(0x1db)]({'name':_0x23883a,'saveAs':__name(_0x3ac0c5=>writeFile(_0x3ac0c5,_0x4c02c2),_0x32205c(0x1a7))});}['networkEntries'](){const _0x5ec25c=_0x11f023;return this[_0x5ec25c(0x16d)][_0x5ec25c(0x247)]??[];}async[_0x11f023(0x1a4)](_0x5b9212,_0x63362){const _0x2257d2={_0xeb051e:0x1e5,_0x2c1787:0x229,_0x2b880b:0x1e5,_0x1ab44e:0x238,_0x542c56:0x22b,_0x4355b2:0x1b5},_0x16d4b9=_0x11f023;this[_0x16d4b9(0x1c4)]('setActivePage',[_0x5b9212,_0x63362]);if(_0x5b9212<0x0||_0x5b9212>=this[_0x16d4b9(0x22e)][_0x16d4b9(_0x2257d2._0xeb051e)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x5b9212,'available':this[_0x16d4b9(0x22e)][_0x16d4b9(_0x2257d2._0xeb051e)]});this[_0x16d4b9(_0x2257d2._0x2c1787)]['switching'](this[_0x16d4b9(0x22e)],this[_0x16d4b9(0x1aa)],this[_0x16d4b9(0x22e)][_0x5b9212]),this['activeIdx']=_0x5b9212,this['frameStack'][_0x16d4b9(_0x2257d2._0x2b880b)]=0x0,this[_0x16d4b9(_0x2257d2._0x1ab44e)][_0x16d4b9(_0x2257d2._0x542c56)](this['pageList'][_0x5b9212]);if(_0x63362?.[_0x16d4b9(_0x2257d2._0x4355b2)]!==![])this[_0x16d4b9(0x1c4)](_0x16d4b9(0x1ed),[_0x5b9212]);}async['bringToFront'](_0x3f452e){const _0x303a95={_0x3ed8cc:0x1aa,_0x22772e:0x22e,_0x2f047b:0x1c4,_0x5efa12:0x1ed},_0x2ce206=_0x11f023,_0x5636e3=_0x3f452e??this[_0x2ce206(_0x303a95._0x3ed8cc)];if(_0x5636e3<0x0||_0x5636e3>=this['pageList'][_0x2ce206(0x1e5)])throw new DriverError(_0x2ce206(0x1a1),{'index':_0x5636e3,'available':this[_0x2ce206(_0x303a95._0x22772e)][_0x2ce206(0x1e5)]});this[_0x2ce206(_0x303a95._0x2f047b)](_0x2ce206(_0x303a95._0x5efa12),[_0x5636e3]);}async[_0x11f023(0x17f)](){const _0x143b6b=_0x11f023;this[_0x143b6b(0x1c4)](_0x143b6b(0x17f),[]);const _0x26372b=this[_0x143b6b(0x1f0)](_0x143b6b(0x1a6));return await this['setActivePage'](_0x26372b),_0x26372b;}async[_0x11f023(0x188)](_0x27d930){const _0x5594e9={_0x536b64:0x1c4,_0x6635bc:0x188,_0x138b13:0x229,_0x2c24e9:0x22e,_0x2412ac:0x1aa,_0x498f4f:0x1ff,_0x57d6fa:0x1e5},_0xbcacd=_0x11f023;this[_0xbcacd(_0x5594e9._0x536b64)](_0xbcacd(_0x5594e9._0x6635bc),[_0x27d930]);const {closing:_0x336109,nextActive:_0x2e5aef}=this[_0xbcacd(_0x5594e9._0x138b13)][_0xbcacd(0x17e)](this[_0xbcacd(_0x5594e9._0x2c24e9)],this[_0xbcacd(0x1aa)],_0x27d930??this[_0xbcacd(_0x5594e9._0x2412ac)]),_0x9b11d0=_0x336109===this[_0xbcacd(0x22e)][this[_0xbcacd(0x1aa)]];this[_0xbcacd(_0x5594e9._0x2c24e9)]['splice'](this[_0xbcacd(0x22e)][_0xbcacd(0x1df)](_0x336109),0x1),this['activeIdx']=_0x2e5aef;if(!_0x9b11d0)return;this[_0xbcacd(_0x5594e9._0x498f4f)][_0xbcacd(_0x5594e9._0x57d6fa)]=0x0,this[_0xbcacd(0x1c4)](_0xbcacd(0x1ed),[_0x2e5aef]);}[_0x11f023(0x1fa)](_0x4fddf7){const _0xa14733={_0x1b0062:0x1e8},_0x381344=_0x11f023;return subscribe(this[_0x381344(_0xa14733._0x1b0062)],_0x4fddf7);}async[_0x11f023(0x242)](_0x3f8882={}){const _0x264902={_0x10a1d5:0x1c4,_0x54403f:0x242,_0x16276f:0x238},_0xc54030=_0x11f023;return this[_0xc54030(_0x264902._0x10a1d5)](_0xc54030(_0x264902._0x54403f),[_0x3f8882]),claimNewPage(this['pageList'],this[_0xc54030(_0x264902._0x16276f)],_0x3f8882['timeoutMs']??0x0);}async['setViewport'](_0x4e83fa){const _0x258d42={_0x248043:0x1b1},_0xdd6367=_0x11f023;this[_0xdd6367(0x1c4)](_0xdd6367(_0x258d42._0x248043),[_0x4e83fa]);}['untouched'](){const _0x57abfd={_0x36634e:0x1e6},_0x49e99d=_0x11f023,_0x5ba859=this['recorder'][_0x49e99d(0x250)]()['filter'](_0x3fe3a8=>_0x3fe3a8[_0x49e99d(0x1fb)]===this[_0x49e99d(0x1fb)]||_0x3fe3a8['scope']['startsWith'](this['scope']+_0x49e99d(0x203)));return this[_0x49e99d(0x22e)]['length']===0x1&&this[_0x49e99d(0x22e)][0x0][_0x49e99d(0x200)]()===_0x49e99d(0x1a6)&&!_0x5ba859[_0x49e99d(_0x57abfd._0x36634e)](_0x35a367=>FAKE_SET_UP_CALLS['has'](_0x35a367[_0x49e99d(0x230)]));}async[_0x11f023(0x17b)](){const _0x931576={_0x34a5af:0x1fb},_0x521dfa=_0x11f023;return this[_0x521dfa(_0x931576._0x34a5af)];}[_0x11f023(0x196)](){const _0x4a2ec5={_0x4ce318:0x214,_0x75594d:0x1fc},_0x268728={_0x15e0c2:0x1ee},_0x7d196f=_0x11f023;if(!this[_0x7d196f(0x19e)])return NO_CLOCK;return{'freeze':__name(async _0xe19061=>{const _0x563fc9=_0x7d196f;this['record'](_0x563fc9(0x187),[_0xe19061]),this[_0x563fc9(0x1ee)]=!![];},'freeze'),'tick':__name(async _0x1ac8aa=>this['record'](_0x7d196f(0x251),[_0x1ac8aa]),_0x7d196f(_0x4a2ec5._0x4ce318)),'run':__name(async()=>{const _0x414103=_0x7d196f;this[_0x414103(0x1c4)](_0x414103(0x204),[]),this[_0x414103(_0x268728._0x15e0c2)]=![];},_0x7d196f(_0x4a2ec5._0x75594d)),'frozen':__name(()=>this[_0x7d196f(0x1ee)],'frozen')};}['network'](){const _0x4a069b={_0xf7b3b2:0x1ca,_0x581544:0x1de},_0x2268a4={_0xd551cc:0x184,_0x1738dc:0x1d0},_0x48986c={_0x5e0d6f:0x20a},_0x1e3882={_0x4ad52d:0x1c4,_0x44cf00:0x20a,_0x1863ff:0x179},_0x4a0e6b=_0x11f023;return{'mock':__name(async(_0x5c96d9,_0x469467)=>{const _0x54bd15=_0x5b0a;this[_0x54bd15(_0x1e3882._0x4ad52d)](_0x54bd15(0x23a),[_0x5c96d9,_0x469467]),this[_0x54bd15(_0x1e3882._0x44cf00)][_0x54bd15(_0x1e3882._0x1863ff)](_0x5c96d9,_0x469467);},'mock'),'unmock':__name(async _0x4bc0bc=>{const _0x428759=_0x5b0a;this[_0x428759(0x1c4)]('network.unmock',[_0x4bc0bc]),this[_0x428759(_0x48986c._0x5e0d6f)][_0x428759(0x1fe)](_0x4bc0bc);},_0x4a0e6b(_0x4a069b._0xf7b3b2)),'waitForRequest':__name((_0x7852e0,_0x19bb1a)=>{const _0x223483=_0x4a0e6b;return this['record'](_0x223483(_0x2268a4._0xd551cc),[_0x7852e0,_0x19bb1a]),this['routes'][_0x223483(_0x2268a4._0x1738dc)](_0x7852e0,_0x19bb1a[_0x223483(0x18e)]);},_0x4a0e6b(_0x4a069b._0x581544)),'blocked':__name(_0x498f29=>this['routes'][_0x4a0e6b(0x197)](_0x498f29),_0x4a0e6b(0x197))};}async[_0x11f023(0x170)](_0x544b85){const _0x42353b={_0xa94f29:0x170},_0x4d636f={_0x3ea22c:0x1e7,_0x4b6d3c:0x22b},_0x502a0d={_0x65367:0x1fe,_0x3e8c9a:0x200,_0x2457fa:0x21f},_0x5368c8={_0x5bb659:0x200},_0x2f16f9=_0x11f023;this[_0x2f16f9(0x1c4)](_0x2f16f9(_0x42353b._0xa94f29),[_0x544b85]);const _0x3bcb4f=this['workerUrls']['find'](_0x5b9977=>workerMatches(_0x5b9977,_0x544b85?.[_0x2f16f9(0x200)]));if(_0x3bcb4f!==void 0x0)return this[_0x2f16f9(0x18d)](_0x3bcb4f);if(!this['behavior']['profile'])throw new ServiceWorkerNeedsProfileError();const _0x5972c7=_0x544b85?.[_0x2f16f9(0x18e)]??0x3e8,_0x181ae4=await new Promise((_0x472ca7,_0x2c5ad5)=>{const _0x565d36=_0x2f16f9,_0x1d1849=__name(_0xc6da7a=>{const _0x22293d=_0x5b0a;if(!workerMatches(_0xc6da7a,_0x544b85?.[_0x22293d(_0x5368c8._0x5bb659)]))return;clearTimeout(_0x33c018),this['workerStarted']['delete'](_0x1d1849),_0x472ca7(_0xc6da7a);},'onStart'),_0x33c018=setTimeout(()=>{const _0x202eb3=_0x5b0a;this['workerStarted'][_0x202eb3(_0x502a0d._0x65367)](_0x1d1849),_0x2c5ad5(new ServiceWorkerWaitTimeoutError(_0x5972c7,_0x544b85?.[_0x202eb3(_0x502a0d._0x3e8c9a)],this[_0x202eb3(_0x502a0d._0x2457fa)]));},_0x5972c7);this[_0x565d36(_0x4d636f._0x3ea22c)][_0x565d36(_0x4d636f._0x4b6d3c)](_0x1d1849);});return this['fakeWorker'](_0x181ae4);}[_0x11f023(0x18d)](_0x4b31be){const _0x542511={_0x198992:0x200,_0x149bf5:0x1b2},_0x2994ab=_0x11f023;return{'url':__name(()=>_0x4b31be,_0x2994ab(_0x542511._0x198992)),'evaluate':__name(async(_0x5a0c4f,_0x56bd74)=>{const _0x56c76a=_0x2994ab;return this['record'](_0x56c76a(0x23b),[_0x4b31be,_0x5a0c4f,_0x56bd74]),this['behavior'][_0x56c76a(0x1bf)];},_0x2994ab(_0x542511._0x149bf5))};}['emitFakeServiceWorker'](_0x680324){const _0x31f9ea=_0x11f023;this['workerUrls']['push'](_0x680324);for(const _0x3c787a of[...this[_0x31f9ea(0x1e7)]])_0x3c787a(_0x680324);}[_0x11f023(0x1cf)](_0x10817e,_0x54643b){const _0x1eb682={_0x2543a1:0x20a,_0x4ed71d:0x1d2,_0x531ce1:0x20a,_0x178f4d:0x20a},_0x2b238f=_0x11f023,_0x3b5627=this[_0x2b238f(_0x1eb682._0x2543a1)]['response'](_0x10817e);if(_0x3b5627?.[_0x2b238f(_0x1eb682._0x4ed71d)]===_0x2b238f(0x1b9)&&_0x3b5627[_0x2b238f(0x1c4)])this[_0x2b238f(_0x1eb682._0x531ce1)][_0x2b238f(0x22a)](_0x10817e,_0x54643b);this[_0x2b238f(_0x1eb682._0x178f4d)][_0x2b238f(0x235)](_0x10817e,_0x54643b);}[_0x11f023(0x1f0)](_0x1f5922){const _0xe57c8e={_0x14bebc:0x22e,_0x162fa4:0x16d,_0x90281c:0x1e5,_0x346527:0x1e8},_0xc7f642=_0x11f023,_0x4e16ca=this['scope']+'.page'+this[_0xc7f642(_0xe57c8e._0x14bebc)][_0xc7f642(0x1e5)],_0x7a5ebc=new FakePage(this[_0xc7f642(0x183)],this[_0xc7f642(_0xe57c8e._0x162fa4)],_0x4e16ca,_0x1f5922);this[_0xc7f642(0x22e)][_0xc7f642(0x1db)](_0x7a5ebc);const _0x32d12e=this[_0xc7f642(0x22e)][_0xc7f642(_0xe57c8e._0x90281c)]-0x1;for(const _0x278bf2 of this[_0xc7f642(_0xe57c8e._0x346527)]){try{_0x278bf2({'index':_0x32d12e,'url':_0x1f5922});}catch{}}return _0x32d12e;}[_0x11f023(0x217)](_0x393246){const _0x2dd8cd={_0x2d0082:0x22e},_0x22f7b0=_0x11f023;if(_0x393246<0x0||_0x393246>=this['pageList']['length'])throw new DriverError(_0x22f7b0(0x1a1),{'index':_0x393246,'available':this[_0x22f7b0(_0x2dd8cd._0x2d0082)][_0x22f7b0(0x1e5)]});this['pageList']['splice'](_0x393246,0x1);}async['enterFrame'](_0x14553f){const _0x49d449={_0x549097:0x1e5,_0x3b12e2:0x1ff},_0x363c50=_0x11f023;this['record']('enterFrame',[_0x14553f]);if(!_0x14553f[_0x363c50(0x240)][_0x363c50(_0x49d449._0x549097)])throw new LocatorError(_0x363c50(0x22c),{'locator':_0x14553f});this[_0x363c50(_0x49d449._0x3b12e2)][_0x363c50(0x1db)](_0x14553f);}async[_0x11f023(0x1b0)](){const _0x9c01a={_0x5b6c1f:0x1ff,_0x36e9ed:0x1e5},_0x5d1004=_0x11f023;this[_0x5d1004(0x1c4)]('exitFrame',[]);if(this[_0x5d1004(_0x9c01a._0x5b6c1f)][_0x5d1004(_0x9c01a._0x36e9ed)]===0x0)throw new DriverError(_0x5d1004(0x1f8),{});this[_0x5d1004(0x1ff)][_0x5d1004(0x1cc)]();}async[_0x11f023(0x23f)](_0x1ab983,_0x35e0a8){const _0x4d2963={_0x2e9d70:0x1c4},_0x5722f6=_0x11f023;this[_0x5722f6(_0x4d2963._0x2e9d70)](_0x5722f6(0x23f),[_0x1ab983,_0x35e0a8]),this[_0x5722f6(0x24c)][_0x1ab983]=_0x35e0a8;}async['getLocalStorage'](_0x81d2b3){const _0x3d466a={_0x467714:0x24c},_0x4d0ccd=_0x11f023;return this[_0x4d0ccd(0x1c4)](_0x4d0ccd(0x19c),[_0x81d2b3]),this[_0x4d0ccd(_0x3d466a._0x467714)][_0x81d2b3]??null;}async['setCookie'](_0x7343c5,_0x52604f,_0x438add){const _0x5d5e56={_0x207263:0x1c4},_0x1159bc=_0x11f023;this[_0x1159bc(_0x5d5e56._0x207263)](_0x1159bc(0x23c),[_0x7343c5,_0x52604f,_0x438add]),this[_0x1159bc(0x1f1)][_0x7343c5]=_0x52604f;}async[_0x11f023(0x1da)](_0x47e7d9){const _0x487a08=_0x11f023;return this[_0x487a08(0x1c4)]('getCookie',[_0x47e7d9]),this[_0x487a08(0x1f1)][_0x47e7d9]??null;}async[_0x11f023(0x215)](_0x193fcf){const _0x25b590=_0x11f023;this['record'](_0x25b590(0x215),[_0x193fcf]);}async['evaluate'](_0x49d8d4){const _0x3c0f4f={_0x3d1442:0x1b2},_0x446092=_0x11f023;return this[_0x446092(0x1c4)](_0x446092(_0x3c0f4f._0x3d1442),[_0x49d8d4]),void 0x0;}async[_0x11f023(0x24f)](){const _0xa820c1=_0x11f023;this[_0xa820c1(0x1c4)]('close',[]);}[_0x11f023(0x20c)](){const _0x49b225=_0x11f023;return this['frameStack'][_0x49b225(0x1e5)];}},FakeWebDriver=class{constructor(_0x16ad88={}){const _0x1608f1=_0x11f023;this[_0x1608f1(0x16d)]=_0x16ad88,this['recorder']=createRecorder();}['behavior'];static{__name(this,_0x11f023(0x1af));}[_0x11f023(0x1c8)]=![];[_0x11f023(0x183)];['contexts']=[];async[_0x11f023(0x189)](_0x4230c7){const _0x489ff1={_0x520456:0x189},_0xcf1003=_0x11f023;this['recorder']['push']({'scope':_0xcf1003(0x201),'method':_0xcf1003(_0x489ff1._0x520456),'args':[_0x4230c7]}),this[_0xcf1003(0x1c8)]=!![];}async[_0x11f023(0x1b4)](_0x34e2fc){const _0x5a74c8={_0x18e0b5:0x1db,_0x2dc78f:0x201,_0x5e23eb:0x1c8,_0x25dbd3:0x183,_0x591c04:0x16d,_0xdafff1:0x16c},_0xa584ac=_0x11f023;this['recorder'][_0xa584ac(_0x5a74c8._0x18e0b5)]({'scope':_0xa584ac(_0x5a74c8._0x2dc78f),'method':'newContext','args':[_0x34e2fc]});if(!this[_0xa584ac(_0x5a74c8._0x5e23eb)])throw new DriverError('newContext\x20called\x20before\x20launch()',{});const _0x219322=new FakeContext(this[_0xa584ac(_0x5a74c8._0x25dbd3)],this[_0xa584ac(_0x5a74c8._0x591c04)],'ctx'+this[_0xa584ac(_0x5a74c8._0xdafff1)][_0xa584ac(0x1e5)],_0x34e2fc?.['clock']===!![]);return this[_0xa584ac(_0x5a74c8._0xdafff1)][_0xa584ac(0x1db)](_0x219322),_0x219322;}async[_0x11f023(0x24f)](){const _0x335192={_0x37b058:0x183,_0x4827e9:0x24f},_0xc06003=_0x11f023;this[_0xc06003(_0x335192._0x37b058)][_0xc06003(0x1db)]({'scope':_0xc06003(0x201),'method':_0xc06003(_0x335192._0x4827e9),'args':[]}),this[_0xc06003(0x1c8)]=![];}['wsEndpoint'](){return void 0x0;}async[_0x11f023(0x1e9)](){const _0x4a82f9={_0x23b616:0x19b},_0x5df8f7=_0x11f023;throw new DriverError(_0x5df8f7(_0x4a82f9._0x23b616),{});}async['attachExisting'](_0xd06ebc){throw new DriverError('attachExisting\x20not\x20supported\x20by\x20FakeWebDriver',{});}['sharedBrowserConnected'](){return![];}[_0x11f023(0x250)](){const _0x623362={_0x2cc7c0:0x250},_0x413758=_0x11f023;return this[_0x413758(0x183)][_0x413758(_0x623362._0x2cc7c0)]();}[_0x11f023(0x20d)](_0x47f3f4){const _0x12533c={_0xa8744b:0x1ec},_0x290637=_0x11f023;return this['recorder']['calls']()[_0x290637(_0x12533c._0xa8744b)](_0x2f1d2b=>_0x2f1d2b[_0x290637(0x230)]===_0x47f3f4);}};export{FakeWebDriver};