@unotest/web 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,94 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.14.0] - 2026-08-16
4
+
5
+ ### Minor Changes
6
+
7
+ - 6045986: Negative window assertions + a string probe (bot-service feedback,
8
+ round 3):
9
+
10
+ - `assertNeverAppears(loc, {withinMs})` — watch the window and FAIL the
11
+ moment the locator becomes visible; pass only when the whole window
12
+ elapsed with zero sightings. The opposite of every `waitFor*` — for
13
+ "must NOT happen" requirements (a private message must not leak into
14
+ a public feed, a disabled bot must not reply). `withinMs` is
15
+ mandatory: absence is only provable within an explicit window, and
16
+ the step always costs that long.
17
+ - `assertNoFile(path, pattern?, {withinMs})` — the file-side mirror of
18
+ `waitForFile` with inverted polarity: fail as soon as the file exists
19
+ (and matches `pattern`), pass when the window elapsed clean. Replaces
20
+ the fragile "helper worker + assertTrue(res.code != 0)" inversion.
21
+ - `textContains(haystack, needle) → boolean` — substring probe for
22
+ strings that came back as data:
23
+ `assertTrue(textContains(out.stdout, 'ready'), out.stderr)`.
24
+
25
+ ### Patch Changes
26
+
27
+ - da5badd: `evaluate(js, ...args)` now actually passes its arguments. The documented
28
+ multi-arg form —
29
+
30
+ ```js
31
+ result = evaluate(`function([a, b]) { return a + b; }`, 10, 20);
32
+ ```
33
+
34
+ — reached the page with `undefined` instead: the driver's `evaluate`
35
+ signature had no parameter for the argument at all, so the registry handed
36
+ it over and the driver dropped it. Silently wrong answers, not an error.
37
+ When `js` evaluates to a function it is now called with the argument.
38
+
39
+ Also adds the seven functions that were missing from the editor vocabulary
40
+ (`randomFirstName`, `randomLastName`, `randomEmail`, `randomText`,
41
+ `randomNth`, `waitForCount`, `screenshot`) — they were documented in the
42
+ DSL reference but invisible to hover and completion.
43
+
44
+ - 0c56d75: Fix `assertValue`, `isDisabled` / `isEnabled`, `setLocalStorage` /
45
+ `getLocalStorage` in the published build.
46
+
47
+ These four went through functions that Playwright serializes into the
48
+ page. They were written inline in the driver, so the obfuscation step of
49
+ the release build rewrote their string literals and member access into
50
+ string-array decoder calls — and that decoder only exists in Node. In
51
+ the browser they died with `ReferenceError: _0x… is not defined` on
52
+ every call. `assertValue` was affected on ANY element, not just
53
+ checkboxes: it probes the checked state first.
54
+
55
+ Broken since 0.12.0 (`assertValue`, `isDisabled`, `isEnabled`) and since
56
+ the first published version (`setLocalStorage`, `getLocalStorage`). Only
57
+ the built package was affected — running from source was always fine,
58
+ which is why the test suite stayed green.
59
+
60
+ The functions now live in the un-obfuscated `page-inject` entry, next to
61
+ the snapshot algorithms. Two new guards keep them there: a source check
62
+ (`check:no-inline-evaluate`, part of `check:surface`) rejects any
63
+ browser-bound function outside that entry, and the bundle smoke — the
64
+ one step that runs AFTER obfuscation — now exercises all four against a
65
+ real page.
66
+
67
+ - Updated dependencies [0255f2d]
68
+ - Updated dependencies [da5badd]
69
+ - Updated dependencies [da5badd]
70
+ - @unotest/dsl@0.14.0
71
+ - @unotest/viewer@0.14.0
72
+ - @unotest/core@0.14.0
73
+ - @unotest/grounder-client@0.14.0
74
+ - @unotest/protocol@0.14.0
75
+
76
+ ## [0.13.1] - 2026-08-15
77
+
78
+ ### Patch Changes
79
+
80
+ - 84966ac: Docs: the `textJoin` section overstated the `+` rejection. `+` with a
81
+ string literal on either side (`'prefix-' + name`) concatenates and
82
+ lints clean; the validator rejects only literal-free string addition
83
+ (`a + b` between string-typed variables/calls), which reads as
84
+ arithmetic. Existing literal-based `+` code needs no rewrite
85
+ (bot-service feedback on 0.13.0).
86
+ - @unotest/core@0.13.1
87
+ - @unotest/dsl@0.13.1
88
+ - @unotest/grounder-client@0.13.1
89
+ - @unotest/protocol@0.13.1
90
+ - @unotest/viewer@0.13.1
91
+
3
92
  ## [0.13.0] - 2026-08-15
4
93
 
5
94
  ### Minor Changes
@@ -1 +1 @@
1
- function _0x5620(_0x3bdb70,_0x5c2c92){_0x3bdb70=_0x3bdb70-0xc0;var _0x303e6a=_0x303e();var _0x56208b=_0x303e6a[_0x3bdb70];if(_0x5620['DtMoAC']===undefined){var _0x48d5d3=function(_0x4ca8e1){var _0x42faca='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3761cf='',_0x3f19ee='';for(var _0xf3835c=0x0,_0x491d91,_0xbe24b9,_0x307333=0x0;_0xbe24b9=_0x4ca8e1['charAt'](_0x307333++);~_0xbe24b9&&(_0x491d91=_0xf3835c%0x4?_0x491d91*0x40+_0xbe24b9:_0xbe24b9,_0xf3835c++%0x4)?_0x3761cf+=String['fromCharCode'](0xff&_0x491d91>>(-0x2*_0xf3835c&0x6)):0x0){_0xbe24b9=_0x42faca['indexOf'](_0xbe24b9);}for(var _0x458ccb=0x0,_0x1ec763=_0x3761cf['length'];_0x458ccb<_0x1ec763;_0x458ccb++){_0x3f19ee+='%'+('00'+_0x3761cf['charCodeAt'](_0x458ccb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3f19ee);};_0x5620['fiJJKr']=_0x48d5d3,_0x5620['jgqfJj']={},_0x5620['DtMoAC']=!![];}var _0x201d93=_0x303e6a[0x0],_0x46ecb6=_0x3bdb70+_0x201d93,_0x182087=_0x5620['jgqfJj'][_0x46ecb6];return!_0x182087?(_0x56208b=_0x5620['fiJJKr'](_0x56208b),_0x5620['jgqfJj'][_0x46ecb6]=_0x56208b):_0x56208b=_0x182087,_0x56208b;}var _0x454e0b=_0x5620;(function(_0xd31fc5,_0x3cc398){var _0x45e4c3={_0x28c5d9:0xdd,_0x584a8b:0xe7,_0x446d8b:0xce,_0x1f4b62:0xc8},_0xed309a=_0x5620,_0xa855fe=_0xd31fc5();while(!![]){try{var _0x131090=parseInt(_0xed309a(0xf9))/0x1+-parseInt(_0xed309a(0xc6))/0x2+parseInt(_0xed309a(_0x45e4c3._0x28c5d9))/0x3+-parseInt(_0xed309a(_0x45e4c3._0x584a8b))/0x4+parseInt(_0xed309a(_0x45e4c3._0x446d8b))/0x5*(parseInt(_0xed309a(_0x45e4c3._0x1f4b62))/0x6)+-parseInt(_0xed309a(0xfa))/0x7*(-parseInt(_0xed309a(0xc1))/0x8)+-parseInt(_0xed309a(0xd7))/0x9*(-parseInt(_0xed309a(0xe1))/0xa);if(_0x131090===_0x3cc398)break;else _0xa855fe['push'](_0xa855fe['shift']());}catch(_0x3ac620){_0xa855fe['push'](_0xa855fe['shift']());}}}(_0x303e,0x98015));import{z}from'zod';function _0x303e(){var _0x8352c1=['BNvSBa','mtK5mJiYnxfXwhv2zW','B2zM','BgLUDdPKzwvWlwnZCW','DMfSAwrHDg9YoMfYzY1RAw5K','mtbABwXOugi','DhjHBNnPzw50','Dw5PB24','BNvTyMvY','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','DMfSAwrHDg9YoM1LDgeTC2HHCgu','mZC0mdqXmMzXC3fNzq','y2HYB21L','BwfUDwfS','BxnLzgDL','DMfSAwrHDg9YoMLMlxnOyxbL','yxjYyxK','BgLUDdPZy2vUyxjPBY1PBI1YB290','Bwf4','BgLUDdPNB3rVlwnVBMnHDa','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','BwLU','Aw50','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','ywnJzxb0','zgvMyxvSDa','D2vIA2L0','CMvJB3jK','ndaYntm1wgXZzvzk','ndLZzvHuzvy','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','C3rKAw8','DMfSAwrHDg9YoMzVCI1ZAgfWzq','BgLUDdPYzwDLEc1PBNzHBgLK','BgLUDdP4Cgf0Aa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','nJuYntiWz3v6zxbW','DMfSAwrHDg9YoMXPC3qTyxjN','D2fYBG','DxjS','zw51Bq','mty5ntK3ngvnugzQqG','C3rYAw5N','mte5mZm0BufrwwHp','DMfSAwrHDg9YoMfYAxr5','zMLYzwzVEa','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','B3b0Aw9UywW','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','nvPkC1zvsq','DMfSAwrHDg9YoNzHCI1ZAgfWzq','yM9VBgvHBG','BMv0D29YAW','B2jQzwn0','y2HYB21LlwjLDge','y2HYB21PDw0','Cg9ZAxrPDMu','BgL0zxjHBa','nJCZndi0muDvqKn2Eq','lNvUB3rLC3qVzMfPBhvYzxm','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','zxjYB3i','y3jHC2G'];_0x303e=function(){return _0x8352c1;};return _0x303e();}var BrowserSchema=z['enum']([_0x454e0b(0xd4),_0x454e0b(0xca),_0x454e0b(0xf7)]),BrowserChannelSchema=z[_0x454e0b(0xe3)]([z[_0x454e0b(0xd6)](_0x454e0b(0xe8)),z[_0x454e0b(0xd6)](_0x454e0b(0xea)),z[_0x454e0b(0xd6)](_0x454e0b(0xd3)),z[_0x454e0b(0xdc)]()])['optional'](),ViewportSchema=z[_0x454e0b(0xd2)]({'width':z[_0x454e0b(0xe4)]()[_0x454e0b(0xf2)]()[_0x454e0b(0xd5)](),'height':z['number']()[_0x454e0b(0xf2)]()[_0x454e0b(0xd5)]()}),RetryReasonSchema=z['enum'](['transient',_0x454e0b(0xd1),_0x454e0b(0xdb)]),RetryConfigSchema=z['object']({'count':z['number']()['int']()[_0x454e0b(0xf1)](0x0)[_0x454e0b(0xee)](0xa),'on':z[_0x454e0b(0xec)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x454e0b(0xd2)]({'tier1':z[_0x454e0b(0xd6)](!![])[_0x454e0b(0xf6)](!![]),'tier2':z[_0x454e0b(0xd0)](),'tier3':z[_0x454e0b(0xd2)]({'network':z[_0x454e0b(0xd0)](),'video':z['boolean']()}),'retention':z[_0x454e0b(0xd2)]({'runs':z[_0x454e0b(0xe4)]()[_0x454e0b(0xf2)]()[_0x454e0b(0xd5)](),'days':z['number']()['int']()['positive']()}),'storageDir':z['string']()[_0x454e0b(0xf1)](0x1)}),DialogPolicySchema=z['enum']([_0x454e0b(0xf5),'dismiss',_0x454e0b(0xe9)]),LinterRuleIdSchema=z['enum']([_0x454e0b(0xdf),_0x454e0b(0xff),_0x454e0b(0xcd),'lint:pause-explicit',_0x454e0b(0xf4),'lint:evaluate-discouraged',_0x454e0b(0xed),'lint:mustache-in-dsl',_0x454e0b(0xef),_0x454e0b(0xfe),'lint:echo-assert',_0x454e0b(0xe5),_0x454e0b(0xcb),_0x454e0b(0xc9),_0x454e0b(0xe0),'validator:step-coverage','validator:step-shape',_0x454e0b(0xe6),_0x454e0b(0xfb),_0x454e0b(0xfd),_0x454e0b(0xeb),_0x454e0b(0xcf),_0x454e0b(0xc0),_0x454e0b(0xd9),_0x454e0b(0xf0),_0x454e0b(0xf3),_0x454e0b(0xc2),'validator:wrapped-format']),LinterSeveritySchema=z[_0x454e0b(0xc5)]([_0x454e0b(0xde),'warn','error']),LinterConfigSchema=z[_0x454e0b(0xd2)]({'enabled':z['boolean'](),'rules':z[_0x454e0b(0xf8)](LinterRuleIdSchema,LinterSeveritySchema)}),McpConfigSchema=z[_0x454e0b(0xd2)]({'transport':z[_0x454e0b(0xd6)](_0x454e0b(0xfc))}),SandboxConfigSchema=z[_0x454e0b(0xd2)]({'shellCwd':z[_0x454e0b(0xc7)]()['optional'](),'shellTimeoutMs':z[_0x454e0b(0xe4)]()[_0x454e0b(0xf2)]()['positive']()[_0x454e0b(0xcc)](),'exportSecrets':z[_0x454e0b(0xec)](z[_0x454e0b(0xc7)]())['optional'](),'database':z[_0x454e0b(0xc7)]()[_0x454e0b(0xcc)](),'apiBaseUrl':z['string']()[_0x454e0b(0xc4)]()[_0x454e0b(0xcc)](),'uploadDir':z[_0x454e0b(0xc7)]()['optional']()}),WebServerConfigSchema=z[_0x454e0b(0xd2)]({'command':z['string']()[_0x454e0b(0xf1)](0x1),'url':z['string']()[_0x454e0b(0xc4)](),'reuseExistingServer':z['boolean']()['default'](!![]),'timeoutMs':z['number']()[_0x454e0b(0xf2)]()[_0x454e0b(0xd5)]()['default'](0xea60)}),UnotestConfigSchema=z[_0x454e0b(0xd2)]({'baseUrl':z['string']()[_0x454e0b(0xc4)]()[_0x454e0b(0xcc)](),'webServer':WebServerConfigSchema[_0x454e0b(0xcc)](),'browsers':z['array'](BrowserSchema)[_0x454e0b(0xf1)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x454e0b(0xc7)]()['optional'](),'testDir':z['string']()[_0x454e0b(0xf1)](0x1),'helpersDir':z[_0x454e0b(0xc7)]()[_0x454e0b(0xf1)](0x1),'defaultTimeoutMs':z[_0x454e0b(0xe4)]()[_0x454e0b(0xf2)]()[_0x454e0b(0xd5)](),'defaultNavigationTimeoutMs':z[_0x454e0b(0xe4)]()['int']()['positive'](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x454e0b(0xd4)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x454e0b(0xe2)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x454e0b(0xd8)},'dialogPolicy':_0x454e0b(0xf5),'testDir':'unotest/e2e','helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':'warn','lint:xpath':'warn','lint:obfuscated-class':_0x454e0b(0xc3),'lint:pause-explicit':'warn','lint:disambig-by-index':'off','lint:evaluate-discouraged':_0x454e0b(0xc3),'lint:scenario-in-root':_0x454e0b(0xda),'lint:mustache-in-dsl':_0x454e0b(0xda),'lint:goto-concat':_0x454e0b(0xc3),'lint:regex-invalid':_0x454e0b(0xda),'lint:echo-assert':_0x454e0b(0xc3),'lint:lint-ok-missing-reason':_0x454e0b(0xc3),'validator:unknown-function':_0x454e0b(0xda)}},'mcp':{'transport':_0x454e0b(0xfc)},'sandbox':{}};export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
1
+ var _0x3a24b4=_0x4c3d;(function(_0x946347,_0x5ea33b){var _0xb04d4a={_0x8629cb:0x1de,_0x44daee:0x20a,_0x50e329:0x1e6,_0x2409f2:0x1df,_0x3611e0:0x1ed,_0x1b7ae8:0x217,_0x595159:0x1f0},_0x4d18ce=_0x4c3d,_0xdb91b0=_0x946347();while(!![]){try{var _0x409bc2=parseInt(_0x4d18ce(_0xb04d4a._0x8629cb))/0x1+-parseInt(_0x4d18ce(_0xb04d4a._0x44daee))/0x2+parseInt(_0x4d18ce(_0xb04d4a._0x50e329))/0x3*(parseInt(_0x4d18ce(0x1eb))/0x4)+-parseInt(_0x4d18ce(_0xb04d4a._0x2409f2))/0x5*(-parseInt(_0x4d18ce(_0xb04d4a._0x3611e0))/0x6)+-parseInt(_0x4d18ce(0x1ea))/0x7+-parseInt(_0x4d18ce(_0xb04d4a._0x1b7ae8))/0x8*(parseInt(_0x4d18ce(0x1f4))/0x9)+parseInt(_0x4d18ce(_0xb04d4a._0x595159))/0xa*(parseInt(_0x4d18ce(0x1f3))/0xb);if(_0x409bc2===_0x5ea33b)break;else _0xdb91b0['push'](_0xdb91b0['shift']());}catch(_0x2a22fc){_0xdb91b0['push'](_0xdb91b0['shift']());}}}(_0x2cda,0xdb1ea));function _0x2cda(){var _0x205865=['mJDwufrfv1e','zxjYB3i','DMfSAwrHDg9YoMXPC3qTyxjN','BgLUDdP4Cgf0Aa','BgLUDdPZy2vUyxjPBY1PBI1YB290','zgvMyxvSDa','Bwf4','C3rKAw8','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','DMfSAwrHDg9YoMLMlxnOyxbL','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','yxjYyxK','BgLUDdPLy2HVlwfZC2vYDa','y2HYB21LlwjLDge','lNvUB3rLC3qVzMfPBhvYzxm','B2jQzwn0','DMfSAwrHDg9YoNzHCI1ZAgfWzq','DxjS','Aw50','DMfSAwrHDg9YoMfYzY1RAw5K','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','mJG5mZq2ngzpBeLOsa','D2vIA2L0','BgLUDdPKzwvWlwnZCW','zw51Bq','BgL0zxjHBa','D2fYBG','BxnLzgDL','zMLYzwzVEa','B3b0Aw9UywW','BwfUDwfS','DhjHBNnPzw50','Dw5PB24','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','mZG4nZi4r1r3qNPz','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','ywnJzxb0','mta4mtu5n3byteD5Eq','mJiYndu0merjAhDdqq','DMfSAwrHDg9YoM1LDgeTC2HHCgu','C3rYAw5N','BwLU','BgLUDdPYzwDLEc1PBNzHBgLK','BMv0D29YAW','DMfSAwrHDg9YoMzVCI1ZAgfWzq','nZGYnZLztwjIDwG','y2HYB21PDw0','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','yM9VBgvHBG','mtiYmJiXmdvcshnRt1m','nZzXBxHlvNC','BNvTyMvY','nMXMreLTBa','Cg9ZAxrPDMu','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','mJiXmZC2mJbyrvjkEvO','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','Dw5VDgvZDc9LmMu','mtfnweLlz2O'];_0x2cda=function(){return _0x205865;};return _0x2cda();}import{z}from'zod';function _0x4c3d(_0x4b988b,_0x33a4b6){_0x4b988b=_0x4b988b-0x1dc;var _0x2cda58=_0x2cda();var _0x4c3d54=_0x2cda58[_0x4b988b];if(_0x4c3d['nCxUcU']===undefined){var _0x4c6c69=function(_0x2333cf){var _0x197e77='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x548239='',_0x4c6ae0='';for(var _0x942c8c=0x0,_0x3cdb5b,_0x3b8188,_0x14fb85=0x0;_0x3b8188=_0x2333cf['charAt'](_0x14fb85++);~_0x3b8188&&(_0x3cdb5b=_0x942c8c%0x4?_0x3cdb5b*0x40+_0x3b8188:_0x3b8188,_0x942c8c++%0x4)?_0x548239+=String['fromCharCode'](0xff&_0x3cdb5b>>(-0x2*_0x942c8c&0x6)):0x0){_0x3b8188=_0x197e77['indexOf'](_0x3b8188);}for(var _0x2bd107=0x0,_0x7bc037=_0x548239['length'];_0x2bd107<_0x7bc037;_0x2bd107++){_0x4c6ae0+='%'+('00'+_0x548239['charCodeAt'](_0x2bd107)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4c6ae0);};_0x4c3d['FGGBJS']=_0x4c6c69,_0x4c3d['ylOXtW']={},_0x4c3d['nCxUcU']=!![];}var _0x83f85d=_0x2cda58[0x0],_0x271d36=_0x4b988b+_0x83f85d,_0x22606e=_0x4c3d['ylOXtW'][_0x271d36];return!_0x22606e?(_0x4c3d54=_0x4c3d['FGGBJS'](_0x4c3d54),_0x4c3d['ylOXtW'][_0x271d36]=_0x4c3d54):_0x4c3d54=_0x22606e,_0x4c3d54;}var BrowserSchema=z[_0x3a24b4(0x20d)](['chromium',_0x3a24b4(0x211),_0x3a24b4(0x20b)]),BrowserChannelSchema=z[_0x3a24b4(0x215)]([z[_0x3a24b4(0x20e)]('chrome'),z[_0x3a24b4(0x20e)](_0x3a24b4(0x210)),z[_0x3a24b4(0x20e)](_0x3a24b4(0x201)),z['null']()])['optional'](),ViewportSchema=z[_0x3a24b4(0x203)]({'width':z[_0x3a24b4(0x1ec)]()['int']()[_0x3a24b4(0x1ee)](),'height':z['number']()[_0x3a24b4(0x206)]()[_0x3a24b4(0x1ee)]()}),RetryReasonSchema=z[_0x3a24b4(0x20d)]([_0x3a24b4(0x214),_0x3a24b4(0x1e4),'crash']),RetryConfigSchema=z[_0x3a24b4(0x203)]({'count':z[_0x3a24b4(0x1ec)]()[_0x3a24b4(0x206)]()[_0x3a24b4(0x1e2)](0x0)[_0x3a24b4(0x1fa)](0xa),'on':z['array'](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x3a24b4(0x203)]({'tier1':z['literal'](!![])['default'](!![]),'tier2':z['boolean'](),'tier3':z['object']({'network':z['boolean'](),'video':z['boolean']()}),'retention':z[_0x3a24b4(0x203)]({'runs':z[_0x3a24b4(0x1ec)]()['int']()[_0x3a24b4(0x1ee)](),'days':z[_0x3a24b4(0x1ec)]()[_0x3a24b4(0x206)]()[_0x3a24b4(0x1ee)]()}),'storageDir':z[_0x3a24b4(0x1e1)]()[_0x3a24b4(0x1e2)](0x1)}),DialogPolicySchema=z['enum']([_0x3a24b4(0x1dd),'dismiss',_0x3a24b4(0x213)]),LinterRuleIdSchema=z[_0x3a24b4(0x20d)]([_0x3a24b4(0x20c),_0x3a24b4(0x1f7),_0x3a24b4(0x1e8),'lint:pause-explicit','lint:disambig-by-index','lint:evaluate-discouraged',_0x3a24b4(0x1f8),'lint:mustache-in-dsl','lint:goto-concat',_0x3a24b4(0x1e3),_0x3a24b4(0x200),_0x3a24b4(0x209),_0x3a24b4(0x218),'validator:arity',_0x3a24b4(0x207),'validator:step-coverage','validator:step-shape',_0x3a24b4(0x1e0),_0x3a24b4(0x1dc),_0x3a24b4(0x1e5),_0x3a24b4(0x1fd),_0x3a24b4(0x204),_0x3a24b4(0x208),_0x3a24b4(0x216),_0x3a24b4(0x1fe),_0x3a24b4(0x1fc),_0x3a24b4(0x1f6),_0x3a24b4(0x1f1)]),LinterSeveritySchema=z['enum'](['off',_0x3a24b4(0x20f),_0x3a24b4(0x1f5)]),LinterConfigSchema=z[_0x3a24b4(0x203)]({'enabled':z[_0x3a24b4(0x1e9)](),'rules':z['record'](LinterRuleIdSchema,LinterSeveritySchema)}),McpConfigSchema=z[_0x3a24b4(0x203)]({'transport':z['literal']('stdio')}),SandboxConfigSchema=z[_0x3a24b4(0x203)]({'shellCwd':z[_0x3a24b4(0x1e1)]()[_0x3a24b4(0x212)](),'shellTimeoutMs':z['number']()['int']()[_0x3a24b4(0x1ee)]()[_0x3a24b4(0x212)](),'exportSecrets':z[_0x3a24b4(0x1ff)](z[_0x3a24b4(0x1e1)]())[_0x3a24b4(0x212)](),'database':z[_0x3a24b4(0x1e1)]()[_0x3a24b4(0x212)](),'apiBaseUrl':z[_0x3a24b4(0x1e1)]()[_0x3a24b4(0x205)]()[_0x3a24b4(0x212)](),'uploadDir':z[_0x3a24b4(0x1e1)]()[_0x3a24b4(0x212)]()}),WebServerConfigSchema=z[_0x3a24b4(0x203)]({'command':z[_0x3a24b4(0x1e1)]()[_0x3a24b4(0x1e2)](0x1),'url':z[_0x3a24b4(0x1e1)]()['url'](),'reuseExistingServer':z[_0x3a24b4(0x1e9)]()[_0x3a24b4(0x1f9)](!![]),'timeoutMs':z[_0x3a24b4(0x1ec)]()[_0x3a24b4(0x206)]()[_0x3a24b4(0x1ee)]()[_0x3a24b4(0x1f9)](0xea60)}),UnotestConfigSchema=z[_0x3a24b4(0x203)]({'baseUrl':z['string']()[_0x3a24b4(0x205)]()[_0x3a24b4(0x212)](),'webServer':WebServerConfigSchema[_0x3a24b4(0x212)](),'browsers':z[_0x3a24b4(0x1ff)](BrowserSchema)[_0x3a24b4(0x1e2)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x3a24b4(0x1e1)]()['optional'](),'testDir':z[_0x3a24b4(0x1e1)]()[_0x3a24b4(0x1e2)](0x1),'helpersDir':z[_0x3a24b4(0x1e1)]()[_0x3a24b4(0x1e2)](0x1),'defaultTimeoutMs':z[_0x3a24b4(0x1ec)]()[_0x3a24b4(0x206)]()['positive'](),'defaultNavigationTimeoutMs':z[_0x3a24b4(0x1ec)]()['int']()[_0x3a24b4(0x1ee)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x3a24b4(0x1e7)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x3a24b4(0x214)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x3a24b4(0x202)},'dialogPolicy':_0x3a24b4(0x1dd),'testDir':_0x3a24b4(0x1f2),'helpersDir':_0x3a24b4(0x1ef),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':'warn','lint:xpath':_0x3a24b4(0x20f),'lint:obfuscated-class':_0x3a24b4(0x20f),'lint:pause-explicit':_0x3a24b4(0x20f),'lint:disambig-by-index':'off','lint:evaluate-discouraged':_0x3a24b4(0x20f),'lint:scenario-in-root':_0x3a24b4(0x1f5),'lint:mustache-in-dsl':_0x3a24b4(0x1f5),'lint:goto-concat':_0x3a24b4(0x20f),'lint:regex-invalid':_0x3a24b4(0x1f5),'lint:echo-assert':'warn','lint:lint-ok-missing-reason':_0x3a24b4(0x20f),'validator:unknown-function':_0x3a24b4(0x1f5)}},'mcp':{'transport':_0x3a24b4(0x1fb)},'sandbox':{}};export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
@@ -1,5 +1,5 @@
1
- import { E as ElementHint, N as NetworkEntry, W as WebDriver, L as LaunchOptions, C as ContextOptions, D as DriverContext } from '../interfaces-XvuefHHC.js';
2
- export { A as ActionTimeout, a as CheckOptions, b as ClickOptions, c as CookieOptions, d as DriverPage, F as FillOptions, G as GotoOptions, H as HoverOptions, e as NavigationOptions, P as PressOptions, R as ReloadOptions, S as ScreenshotOptions, f as SelectOptions, V as Viewport, g as WaitOptions, h as WaitState } from '../interfaces-XvuefHHC.js';
1
+ import { E as ElementHint, N as NetworkEntry, W as WebDriver, L as LaunchOptions, C as ContextOptions, D as DriverContext } from '../interfaces-BaVF0jV-.js';
2
+ export { A as ActionTimeout, a as CheckOptions, b as ClickOptions, c as CookieOptions, d as DriverPage, F as FillOptions, G as GotoOptions, H as HoverOptions, e as NavigationOptions, P as PressOptions, R as ReloadOptions, S as ScreenshotOptions, f as SelectOptions, V as Viewport, g as WaitOptions, h as WaitState } from '../interfaces-BaVF0jV-.js';
3
3
  import '@unotest/protocol';
4
4
  import '../config/schema.js';
5
5
  import 'zod';
@@ -1 +1 @@
1
- const _0x1ee15b=_0x1f21;(function(_0x259ced,_0x569cbc){const _0xd649e5={_0x5ec69c:0x25a,_0x36c7cb:0x264,_0x1304dc:0x225,_0x534f57:0x26a,_0x143dfc:0x265},_0xdd25d8=_0x1f21,_0x312b99=_0x259ced();while(!![]){try{const _0x1a065e=parseInt(_0xdd25d8(_0xd649e5._0x5ec69c))/0x1+parseInt(_0xdd25d8(0x245))/0x2*(-parseInt(_0xdd25d8(0x21a))/0x3)+-parseInt(_0xdd25d8(_0xd649e5._0x36c7cb))/0x4+parseInt(_0xdd25d8(_0xd649e5._0x1304dc))/0x5+parseInt(_0xdd25d8(0x216))/0x6*(parseInt(_0xdd25d8(_0xd649e5._0x534f57))/0x7)+parseInt(_0xdd25d8(0x22e))/0x8+parseInt(_0xdd25d8(_0xd649e5._0x143dfc))/0x9*(-parseInt(_0xdd25d8(0x202))/0xa);if(_0x1a065e===_0x569cbc)break;else _0x312b99['push'](_0x312b99['shift']());}catch(_0x5571b7){_0x312b99['push'](_0x312b99['shift']());}}}(_0x174a,0x45e20));function _0x174a(){const _0x4ad89f=['CMvM','Cg9W','Bg9JywXtDg9YywDLu3rHDgu','nZaYweH0v21Y','y2fSBhm','y29UDgv4Da','Bwv0Ag9K','m2f0t1nbEq','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zNjHBwvtDgfJAW','zw1PDezHA2vqB3b1Ca','ywn0AxzLswr4','zxHPDezYyw1L','yxr0CMLIDxrLC0j5rgvMyxvSDa','y2HLy2TLzfn0yxrLqNLezwzHDwX0','y291BNq','Aw5WDxrwywX1zuj5rgvMyxvSDa','z290BW','nZK3ntqWtLb6v0L4','D2fPDezVCG','ywn0AxzLugfNzq','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','AxneAxnHyMXLzej5rgvMyxvSDa','y3r4','pgrPDJ48l2rPDJ4','y2HLy2S','CgfNzxm','mJGYmZyWv25AC1H4','zxjYB3jpBK5LEhrby3rPB24','y2XPy2S','Ag92zxi','y2XVC2vgywTLugfNzq','y29VA2LLu3rHDgu','C2v0q29VA2LL','iJ48l2rPDJ4','zxzHBhvHDgu','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','zMfRzsb0AxrSzq','y29UDgv4Dhm','CMvSB2fK','z29gB3j3yxjK','BgvUz3rO','ywjVDxq6yMXHBMS','D3nfBMrWB2LUDa','yxr0ywnOrxHPC3rPBMC','C2nYB2XSsw50B1zPzxC','zNjHBwvezxb0Aa','BMv0D29YA0vUDhjPzxm','Aw5PDgLHBfvYBa','zxzHBhvHDgvpBKXVy2f0B3i','nte4mZyWvvj4tKzX','vw5VDgvZDevYCM9Y','BMfTzq','zMLSBa','y29UBMvJDfnOyxjLza','Bwf5yMvuAhjVDW','zNvUy3rPB24','Dgv4DenVBNrLBNq','D2fPDezVCLrLEhq','BMv3q29UDgv4Da','tg9JyxrVCKvYCM9Y','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','CMvJB3jKzxi','Cg9WDxbpBKnSAwnR','zg91yMXLq2XPy2S','B25ozxDqywDL','zgvMAw5LuhjVCgvYDhK','y2XVC2u','C2v0qwn0AxzLugfNzq','rMfRzvbHz2u','C2vSzwn0t3b0Aw9U','nde4otuZzKXmyu9l','lNbHz2u','rMfRzvDLyKrYAxzLCG','AxnwAxnPyMXLqNLezwzHDwX0','CgfNzuXPC3q','DgL0Bgu','ywrK','z29cywnR','zNjLzxPL','C3rLChm','mJiXodC4ngX5AMDZtq','odm0m01qy2jXDq','Aw5WDxrwywX1zq','C3vIC2nYAwjL','BMv3ugfNzuXPC3rLBMvYCW','zgvSzxrL','mZi2ndHkA0T2BfC','Dw5JAgvJAW','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','zw50zxjgCMfTzq','zMLSDgvY','AxnwAxnPyMXL','rhjPDMvYrxjYB3i','zhjHz0fUzerYB3a','D2fPDezVCLvYBa','Aw5ZCgvJDevSzw1LBNq','y3vYCMvUDfvYBa','z2v0qxr0CMLIDxrL','y2HLy2TLzfn0yxrL','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','y29UC29SzuvUDhjPzxm','y2XPCgjVyxjKugfZDgu','C2v0tg9JywXtDg9YywDL','B25bzNrLCKnSAwnR','y2fSBhngB3i','Dgv4DenVBNrLBNrcEurLzMf1Bhq','CMvJB3jK','B3v0zxjive1m','nJqWBxzivLfQ','C2nVCgu','z2v0q29VA2LL','yMvOyxzPB3i','DxbSB2fKrMLSzq','C2f2zvn0B3jHz2vtDgf0zq','D2fPDezVCK5HDMLNyxrPB24','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','Bgf1BMnOzwq','zwXLBwvUDeHPBNrcEvjLzG','ChvZAa','AxneAxnHyMXLza','C2nYzwvUC2HVDa','A2LUza','z2v0tg9JywXtDg9YywDL','zhjPDMvY','y2fWDhvYzvn0ywnRvhjHy2u'];_0x174a=function(){return _0x4ad89f;};return _0x174a();}function _0x1f21(_0x44c626,_0x25f414){_0x44c626=_0x44c626-0x1f2;const _0x174a2c=_0x174a();let _0x1f21ae=_0x174a2c[_0x44c626];if(_0x1f21['VGoVVm']===undefined){var _0x16f8be=function(_0x5dc197){const _0x30dc40='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1d46e9='',_0xc527f7='';for(let _0x4adc4c=0x0,_0x56e1c5,_0x4e2243,_0x109811=0x0;_0x4e2243=_0x5dc197['charAt'](_0x109811++);~_0x4e2243&&(_0x56e1c5=_0x4adc4c%0x4?_0x56e1c5*0x40+_0x4e2243:_0x4e2243,_0x4adc4c++%0x4)?_0x1d46e9+=String['fromCharCode'](0xff&_0x56e1c5>>(-0x2*_0x4adc4c&0x6)):0x0){_0x4e2243=_0x30dc40['indexOf'](_0x4e2243);}for(let _0x3e4219=0x0,_0xffed98=_0x1d46e9['length'];_0x3e4219<_0xffed98;_0x3e4219++){_0xc527f7+='%'+('00'+_0x1d46e9['charCodeAt'](_0x3e4219)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xc527f7);};_0x1f21['ypaSWs']=_0x16f8be,_0x1f21['LjxSRz']={},_0x1f21['VGoVVm']=!![];}const _0x2883d0=_0x174a2c[0x0],_0x18fea8=_0x44c626+_0x2883d0,_0x1497aa=_0x1f21['LjxSRz'][_0x18fea8];return!_0x1497aa?(_0x1f21ae=_0x1f21['ypaSWs'](_0x1f21ae),_0x1f21['LjxSRz'][_0x18fea8]=_0x1f21ae):_0x1f21ae=_0x1497aa,_0x1f21ae;}var __defProp=Object[_0x1ee15b(0x255)],__name=(_0x1d46e9,_0xc527f7)=>__defProp(_0x1d46e9,_0x1ee15b(0x247),{'value':_0xc527f7,'configurable':!![]});function subscribe(_0x4adc4c,_0x56e1c5){const _0x153acb={_0x2afdcd:0x260},_0x2decac={_0xdfb7ba:0x269},_0xb48776=_0x1ee15b;return _0x4adc4c[_0xb48776(_0x153acb._0x2afdcd)](_0x56e1c5),()=>{const _0x2cf3de=_0xb48776;_0x4adc4c[_0x2cf3de(_0x2decac._0xdfb7ba)](_0x56e1c5);};}__name(subscribe,_0x1ee15b(0x267));var UnotestError=class extends Error{static{__name(this,_0x1ee15b(0x246));}[_0x1ee15b(0x218)];constructor(_0x4e2243,_0x109811={}){const _0x373b42={_0x233c28:0x262},_0x49eb99=_0x1ee15b;super(_0x4e2243),this[_0x49eb99(0x247)]=new.target.name,this['context']=Object[_0x49eb99(_0x373b42._0x233c28)]({..._0x109811}),typeof Error[_0x49eb99(0x212)]===_0x49eb99(0x24b)&&Error['captureStackTrace'](this,new.target);}},DriverError=class extends UnotestError{static{__name(this,_0x1ee15b(0x1f2));}},LocatorError=class extends UnotestError{static{__name(this,_0x1ee15b(0x24f));}};function createRecorder(){const _0x9d75d7={_0xa9ccf3:0x20c},_0x2975d9=_0x1ee15b,_0x3e4219=[];let _0xffed98=0x0;return{'push':__name(_0x4fdd8c=>_0x3e4219[_0x2975d9(0x20c)]({..._0x4fdd8c,'seq':_0xffed98++}),_0x2975d9(_0x9d75d7._0xa9ccf3)),'calls':__name(()=>_0x3e4219,_0x2975d9(0x217))};}__name(createRecorder,'createRecorder');var FakePage=class{constructor(_0x174510,_0x3417eb,_0x35384c,_0x2511c9){const _0x5e897e=_0x1ee15b;this[_0x5e897e(0x251)]=_0x174510,this[_0x5e897e(0x205)]=_0x3417eb,this[_0x5e897e(0x203)]=_0x35384c,this['currentUrl']=_0x2511c9;}[_0x1ee15b(0x251)];[_0x1ee15b(0x205)];[_0x1ee15b(0x203)];static{__name(this,_0x1ee15b(0x258));}[_0x1ee15b(0x1f6)];[_0x1ee15b(0x1fd)];['record'](_0x2d3fee,_0x10702a){const _0x3d367a=_0x1ee15b;this[_0x3d367a(0x251)][_0x3d367a(0x20c)]({'scope':this[_0x3d367a(0x203)],'method':_0x2d3fee,'args':_0x10702a});}[_0x1ee15b(0x24a)](){const _0x270fe0={_0x40b1f7:0x205,_0x1b68ac:0x205},_0x4bc8bb=_0x1ee15b;if(this[_0x4bc8bb(_0x270fe0._0x40b1f7)]['errorOnNextAction']){const _0x47f818=this['behavior'][_0x4bc8bb(0x22f)];this[_0x4bc8bb(_0x270fe0._0x1b68ac)][_0x4bc8bb(0x22f)]=void 0x0;throw _0x47f818;}}['url'](){const _0x113f6f=_0x1ee15b;return this[_0x113f6f(0x1f6)];}async['title'](){const _0x6b5ba5={_0xed27a0:0x25f},_0x1058ff=_0x1ee15b;return this[_0x1058ff(0x200)](_0x1058ff(_0x6b5ba5._0xed27a0),[]),_0x1058ff(0x238);}async[_0x1ee15b(0x230)](_0x194771,_0x35d85c){const _0x1e2be7={_0x5e02e0:0x200,_0x3d6a8f:0x1fd},_0x433285=_0x1ee15b;this[_0x433285(_0x1e2be7._0x5e02e0)](_0x433285(0x230),[_0x194771,_0x35d85c]),this[_0x433285(0x24a)](),this[_0x433285(_0x1e2be7._0x3d6a8f)]?.();}async[_0x1ee15b(0x253)](_0x2bc406,_0x11d9b1){const _0x13e440={_0x3c43ab:0x24a},_0x28478a=_0x1ee15b;this[_0x28478a(0x200)]('doubleClick',[_0x2bc406,_0x11d9b1]),this[_0x28478a(_0x13e440._0x3c43ab)]();}async[_0x1ee15b(0x248)](_0x3f1767,_0x3e4c4c,_0x17d916){const _0x5d5ae1={_0xb394e7:0x248,_0x259149:0x24a},_0x54d62c=_0x1ee15b;this['record'](_0x54d62c(_0x5d5ae1._0xb394e7),[_0x3f1767,_0x3e4c4c,_0x17d916]),this[_0x54d62c(_0x5d5ae1._0x259149)]();}async['press'](_0x20eafc,_0x3491f9,_0x21f79f){const _0x17944b=_0x1ee15b;this[_0x17944b(0x200)]('press',[_0x20eafc,_0x3491f9,_0x21f79f]),this[_0x17944b(0x24a)]();}async[_0x1ee15b(0x22c)](_0x286b91,_0x2f6bf4){const _0x357f62=_0x1ee15b;this[_0x357f62(0x200)](_0x357f62(0x22c),[_0x286b91,_0x2f6bf4]),this['maybeThrow']();}async[_0x1ee15b(0x26b)](_0x35860f,_0x25fb0e){const _0x2ef335=_0x1ee15b;this['record']('uncheck',[_0x35860f,_0x25fb0e]),this[_0x2ef335(0x24a)]();}async[_0x1ee15b(0x259)](_0x4ae0e6,_0x235bda,_0x40bd28){const _0x17cf48={_0x407f9e:0x24a},_0x689e26=_0x1ee15b;this[_0x689e26(0x200)](_0x689e26(0x259),[_0x4ae0e6,_0x235bda,_0x40bd28]),this[_0x689e26(_0x17cf48._0x407f9e)]();}async['hover'](_0x2a7f91,_0x1348fd){const _0x103b30={_0x390de5:0x231},_0x54c7d4=_0x1ee15b;this[_0x54c7d4(0x200)](_0x54c7d4(_0x103b30._0x390de5),[_0x2a7f91,_0x1348fd]),this['maybeThrow']();}async[_0x1ee15b(0x240)](_0xa420e3){const _0x3c754f={_0x62e922:0x240},_0x28505d=_0x1ee15b;this[_0x28505d(0x200)](_0x28505d(_0x3c754f._0x62e922),[_0xa420e3]),this[_0x28505d(0x24a)]();}async[_0x1ee15b(0x1f3)](_0x25b3d5,_0x22c694,_0x31b0bc){const _0x23cc9a={_0x450606:0x1f3,_0x2d9b29:0x24a},_0x4fa983=_0x1ee15b;this['record'](_0x4fa983(_0x23cc9a._0x450606),[_0x25b3d5,_0x22c694,_0x31b0bc]),this[_0x4fa983(_0x23cc9a._0x2d9b29)]();}async[_0x1ee15b(0x206)](_0xe8e3a8,_0x98c03a){const _0x1070ad=_0x1ee15b;this['record'](_0x1070ad(0x206),[_0xe8e3a8,_0x98c03a]),this[_0x1070ad(0x24a)]();}async[_0x1ee15b(0x1fb)](_0x429cb1,_0xc96083){const _0x3fea67={_0x51ed1a:0x200,_0x5959fe:0x1fb},_0x5c5bbd=_0x1ee15b;this[_0x5c5bbd(_0x3fea67._0x51ed1a)](_0x5c5bbd(_0x3fea67._0x5959fe),[_0x429cb1,_0xc96083]),this[_0x5c5bbd(0x24a)]();}async[_0x1ee15b(0x222)](_0x270592){const _0x4c8043={_0x341e26:0x205},_0x31082e=_0x1ee15b;return this['record']('count',[_0x270592]),this[_0x31082e(_0x4c8043._0x341e26)]['countByDefault']??0x1;}async['textContent'](_0x249bfd){const _0x1efc81={_0x48aba7:0x24c,_0x4bf185:0x1ff},_0x2ea231=_0x1ee15b;return this[_0x2ea231(0x200)](_0x2ea231(_0x1efc81._0x48aba7),[_0x249bfd]),this[_0x2ea231(0x205)][_0x2ea231(_0x1efc81._0x4bf185)]??'';}async[_0x1ee15b(0x266)](_0x541f05){const _0x243ff1={_0xd5c29a:0x266},_0x5bc008=_0x1ee15b;return this[_0x5bc008(0x200)](_0x5bc008(_0x243ff1._0xd5c29a),[_0x541f05]),this['behavior'][_0x5bc008(0x223)]??'';}async['checkedState'](_0x1187b6){const _0x4edb0c=_0x1ee15b;return this[_0x4edb0c(0x200)](_0x4edb0c(0x1f8),[_0x1187b6]),this['behavior'][_0x4edb0c(0x221)]??null;}async['isVisible'](_0x3672a4){const _0x28d08e={_0x421c52:0x200,_0x23fb10:0x205,_0xe8bf59:0x25d},_0x289bce=_0x1ee15b;return this[_0x289bce(_0x28d08e._0x421c52)](_0x289bce(0x26f),[_0x3672a4]),this[_0x289bce(_0x28d08e._0x23fb10)][_0x289bce(_0x28d08e._0xe8bf59)]??!![];}async['isDisabled'](_0x331cdd){const _0x183eb3={_0x27fe17:0x200,_0x4825ca:0x20d},_0x507118=_0x1ee15b;return this[_0x507118(_0x183eb3._0x27fe17)](_0x507118(_0x183eb3._0x4825ca),[_0x331cdd]),this['behavior'][_0x507118(0x229)]??![];}async['getAttribute'](_0x3e1e17,_0x3db2fe){const _0x18096a={_0x18a127:0x1f7,_0x3a846d:0x205},_0x220069=_0x1ee15b;return this[_0x220069(0x200)](_0x220069(_0x18096a._0x18a127),[_0x3e1e17,_0x3db2fe]),this[_0x220069(_0x18096a._0x3a846d)][_0x220069(0x220)]?.[_0x3db2fe]??null;}async[_0x1ee15b(0x226)](_0x58ac43,_0x3b2981){const _0x3125b5={_0x4e6303:0x200},_0x58d9d2=_0x1ee15b;this[_0x58d9d2(_0x3125b5._0x4e6303)]('waitFor',[_0x58ac43,_0x3b2981]);}async['waitForUrl'](_0x55da84,_0x4e4e63){const _0x5222dd=_0x1ee15b;this[_0x5222dd(0x200)](_0x5222dd(0x1f4),[_0x55da84,_0x4e4e63]);}async[_0x1ee15b(0x24d)](_0xffc1c3,_0x97064){const _0x32891a=_0x1ee15b;this['record'](_0x32891a(0x24d),[_0xffc1c3,_0x97064]);}async[_0x1ee15b(0x208)](_0x4e6b16){const _0xab8f95={_0x209388:0x200,_0x3ad4e8:0x208},_0x283be3=_0x1ee15b;this[_0x283be3(_0xab8f95._0x209388)](_0x283be3(_0xab8f95._0x3ad4e8),[_0x4e6b16]);}async['waitForLoadState'](_0x5d5543,_0x2cc70c){const _0x59011c={_0x5e9e8b:0x200},_0x3f522b=_0x1ee15b;this[_0x3f522b(_0x59011c._0x5e9e8b)]('waitForLoadState',[_0x5d5543,_0x2cc70c]);}async[_0x1ee15b(0x224)](_0x3dfed3,_0xdbb23c){const _0x5c365e={_0x1ca17b:0x224},_0x290ea9=_0x1ee15b;this['record'](_0x290ea9(_0x5c365e._0x1ca17b),[_0x3dfed3,_0xdbb23c]),this[_0x290ea9(0x1f6)]=_0x3dfed3;}async[_0x1ee15b(0x23a)](_0x5a8262){const _0x56dd2e=_0x1ee15b;this[_0x56dd2e(0x200)](_0x56dd2e(0x23a),[_0x5a8262]);}async['goBack'](_0x361d5b){const _0x28b069={_0x2257c7:0x200},_0x30ab37=_0x1ee15b;this[_0x30ab37(_0x28b069._0x2257c7)](_0x30ab37(0x261),[_0x361d5b]);}async[_0x1ee15b(0x23b)](_0x2dda82){this['record']('goForward',[_0x2dda82]);}async[_0x1ee15b(0x236)](_0x244304){const _0x63cee4=_0x1ee15b;return this['record'](_0x63cee4(0x236),[_0x244304]),void 0x0;}async[_0x1ee15b(0x244)](_0x1a5db3,_0x1664d4){const _0x196ad5={_0xc9a7d4:0x244},_0x155558=_0x1ee15b;return this['record'](_0x155558(_0x196ad5._0xc9a7d4),[_0x1a5db3,_0x1664d4]),void 0x0;}async[_0x1ee15b(0x1f5)](_0x109e7a){const _0x38e56d={_0x3aec27:0x1f5,_0x39d85b:0x263,_0x429a67:0x213,_0x3fe21b:0x20b},_0x200ec4=_0x1ee15b;this[_0x200ec4(0x200)](_0x200ec4(_0x38e56d._0x3aec27),[_0x109e7a]);if(_0x109e7a[_0x200ec4(_0x38e56d._0x39d85b)][_0x200ec4(0x23c)]!==0x1||_0x109e7a[_0x200ec4(0x263)][0x0][_0x200ec4(0x20f)]!==_0x200ec4(_0x38e56d._0x429a67))return null;const _0x4671b2=_0x109e7a[_0x200ec4(_0x38e56d._0x39d85b)][0x0][_0x200ec4(_0x38e56d._0x429a67)],_0x3c8f81=this[_0x200ec4(0x205)][_0x200ec4(_0x38e56d._0x3fe21b)]?.[_0x4671b2];return _0x3c8f81??null;}async[_0x1ee15b(0x20e)](_0x485b46){const _0x9c1d51=_0x1ee15b;return this[_0x9c1d51(0x200)](_0x9c1d51(0x20e),[_0x485b46]),Buffer['from']('fake-png');}async[_0x1ee15b(0x201)](_0x3dca57){const _0x1c50c0={_0x50b4fa:0x263,_0x3c4d58:0x20f,_0x238574:0x213,_0x396f24:0x235},_0x5acdbb=_0x1ee15b;this[_0x5acdbb(0x200)](_0x5acdbb(0x201),[_0x3dca57]);if(_0x3dca57['steps'][_0x5acdbb(0x23c)]===0x1&&_0x3dca57[_0x5acdbb(_0x1c50c0._0x50b4fa)][0x0][_0x5acdbb(_0x1c50c0._0x3c4d58)]===_0x5acdbb(_0x1c50c0._0x238574)){const _0x4821f2=_0x3dca57['steps'][0x0][_0x5acdbb(_0x1c50c0._0x238574)];return this[_0x5acdbb(0x205)]['outerHtmlByRef']?.[_0x4821f2]??_0x5acdbb(0x26c)+_0x4821f2+_0x5acdbb(_0x1c50c0._0x396f24);}return _0x5acdbb(0x22b);}},FakeContext=class{constructor(_0x4e23cf,_0x4d6000,_0x39905b){const _0x18bbb8={_0x2aae6b:0x205,_0x549e03:0x203,_0x6d1d7b:0x23d,_0x9932af:0x1fd},_0x305358={_0x5742a5:0x21d},_0x386724=_0x1ee15b;this['recorder']=_0x4e23cf,this[_0x386724(_0x18bbb8._0x2aae6b)]=_0x4d6000,this[_0x386724(_0x18bbb8._0x549e03)]=_0x39905b;const _0x22463c=new FakePage(_0x4e23cf,_0x4d6000,_0x39905b+'.page0',_0x4d6000[_0x386724(0x243)]??_0x386724(_0x18bbb8._0x6d1d7b));_0x4d6000[_0x386724(0x252)]&&(_0x22463c[_0x386724(_0x18bbb8._0x9932af)]=()=>{const _0x5c7889=_0x386724;this[_0x5c7889(_0x305358._0x5742a5)](_0x4d6000['popupOnClick']);}),this[_0x386724(0x25e)]=[_0x22463c],this[_0x386724(0x215)]={..._0x4d6000['localStorage']??{}},this[_0x386724(0x233)]={..._0x4d6000['cookies']??{}};}[_0x1ee15b(0x251)];['behavior'];[_0x1ee15b(0x203)];static{__name(this,'FakeContext');}['pageList'];[_0x1ee15b(0x21e)]=0x0;[_0x1ee15b(0x21c)]=[];[_0x1ee15b(0x215)];[_0x1ee15b(0x233)];[_0x1ee15b(0x268)]=new Set();[_0x1ee15b(0x200)](_0x355c5b,_0x50a192){const _0x47b3b5=_0x1ee15b;this[_0x47b3b5(0x251)][_0x47b3b5(0x20c)]({'scope':this[_0x47b3b5(0x203)],'method':_0x355c5b,'args':_0x50a192});}[_0x1ee15b(0x22d)](){const _0x39f027=_0x1ee15b;return this[_0x39f027(0x25e)];}[_0x1ee15b(0x227)](){const _0x321aca={_0xb070:0x25e,_0x302f17:0x21e},_0x2e52f5=_0x1ee15b,_0x5e07b7=this[_0x2e52f5(_0x321aca._0xb070)][this[_0x2e52f5(_0x321aca._0x302f17)]];if(!_0x5e07b7)throw new DriverError(_0x2e52f5(0x228),{'activeIdx':this[_0x2e52f5(0x21e)]});return _0x5e07b7;}[_0x1ee15b(0x1fa)](){const _0x3de295={_0x190b53:0x205,_0x596f31:0x1fa},_0x3a5f59=_0x1ee15b;return this[_0x3a5f59(_0x3de295._0x190b53)][_0x3a5f59(_0x3de295._0x596f31)]??[];}[_0x1ee15b(0x242)](){const _0x471c8b={_0x42b972:0x205},_0x4548f9=_0x1ee15b;return this[_0x4548f9(_0x471c8b._0x42b972)][_0x4548f9(0x242)]??[];}async[_0x1ee15b(0x257)](_0x234ab1){const _0x4445bd={_0x4ae1cd:0x200,_0x3ec6ba:0x257,_0x5a72f8:0x23c},_0x3dbc45=_0x1ee15b;this[_0x3dbc45(_0x4445bd._0x4ae1cd)](_0x3dbc45(_0x4445bd._0x3ec6ba),[_0x234ab1]);if(_0x234ab1<0x0||_0x234ab1>=this['pageList'][_0x3dbc45(0x23c)])throw new DriverError(_0x3dbc45(0x21b),{'index':_0x234ab1,'available':this[_0x3dbc45(0x25e)][_0x3dbc45(_0x4445bd._0x5a72f8)]});this[_0x3dbc45(0x21e)]=_0x234ab1,this[_0x3dbc45(0x21c)][_0x3dbc45(_0x4445bd._0x5a72f8)]=0x0;}[_0x1ee15b(0x254)](_0x349224){const _0x3fb948=_0x1ee15b;return subscribe(this[_0x3fb948(0x268)],_0x349224);}['emitFakePopup'](_0x50cb3c){const _0x37f358={_0xda9203:0x23c,_0x2b7ba3:0x268},_0x212103=_0x1ee15b,_0x22af1d=this[_0x212103(0x203)]+_0x212103(0x25b)+this['pageList'][_0x212103(_0x37f358._0xda9203)],_0x5aa89d=new FakePage(this[_0x212103(0x251)],this[_0x212103(0x205)],_0x22af1d,_0x50cb3c);this['pageList'][_0x212103(0x20c)](_0x5aa89d);const _0x1eab66=this[_0x212103(0x25e)][_0x212103(0x23c)]-0x1;for(const _0x20081e of this[_0x212103(_0x37f358._0x2b7ba3)]){try{_0x20081e({'index':_0x1eab66,'url':_0x50cb3c});}catch{}}return _0x1eab66;}[_0x1ee15b(0x232)](_0x202c11){const _0x4245bb=_0x1ee15b;if(_0x202c11<0x0||_0x202c11>=this[_0x4245bb(0x25e)][_0x4245bb(0x23c)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x202c11,'available':this[_0x4245bb(0x25e)][_0x4245bb(0x23c)]});this[_0x4245bb(0x25e)]['splice'](_0x202c11,0x1);}async[_0x1ee15b(0x26d)](_0x2d1724){const _0x4af045={_0x48b422:0x200,_0x180f57:0x263,_0x39f12c:0x23c,_0x4a9546:0x21c},_0x3a2ecd=_0x1ee15b;this[_0x3a2ecd(_0x4af045._0x48b422)]('enterFrame',[_0x2d1724]);if(!_0x2d1724[_0x3a2ecd(_0x4af045._0x180f57)][_0x3a2ecd(_0x4af045._0x39f12c)])throw new LocatorError(_0x3a2ecd(0x1f9),{'locator':_0x2d1724});this[_0x3a2ecd(_0x4af045._0x4a9546)]['push'](_0x2d1724);}async[_0x1ee15b(0x21f)](){const _0x24fc31={_0x3eca3b:0x200,_0x1a8044:0x214},_0x126a53=_0x1ee15b;this[_0x126a53(_0x24fc31._0x3eca3b)](_0x126a53(0x21f),[]);if(this[_0x126a53(0x21c)][_0x126a53(0x23c)]===0x0)throw new DriverError(_0x126a53(0x209),{});this['frameStack'][_0x126a53(_0x24fc31._0x1a8044)]();}async['setLocalStorage'](_0x3ea57b,_0x42ecda){const _0x1aff29={_0x3bafa7:0x1fc},_0x2b9032=_0x1ee15b;this[_0x2b9032(0x200)](_0x2b9032(_0x1aff29._0x3bafa7),[_0x3ea57b,_0x42ecda]),this['localStorageState'][_0x3ea57b]=_0x42ecda;}async[_0x1ee15b(0x210)](_0x1dab67){const _0x3d9a0e={_0x41dc5d:0x215},_0x3311cf=_0x1ee15b;return this['record'](_0x3311cf(0x210),[_0x1dab67]),this[_0x3311cf(_0x3d9a0e._0x41dc5d)][_0x1dab67]??null;}async[_0x1ee15b(0x234)](_0xd40c63,_0x2c5252,_0x3b5e32){const _0x40b224={_0x2a272a:0x233},_0x56502d=_0x1ee15b;this['record']('setCookie',[_0xd40c63,_0x2c5252,_0x3b5e32]),this[_0x56502d(_0x40b224._0x2a272a)][_0xd40c63]=_0x2c5252;}async[_0x1ee15b(0x204)](_0x5600b5){const _0xb623bb=_0x1ee15b;return this[_0xb623bb(0x200)](_0xb623bb(0x204),[_0x5600b5]),this[_0xb623bb(0x233)][_0x5600b5]??null;}async[_0x1ee15b(0x207)](_0x19669e){const _0x2c8ccf={_0x558baf:0x207},_0x29904a=_0x1ee15b;this[_0x29904a(0x200)](_0x29904a(_0x2c8ccf._0x558baf),[_0x19669e]);}async[_0x1ee15b(0x236)](_0x437bee){return this['record']('evaluate',[_0x437bee]),void 0x0;}async['close'](){const _0x8a017a={_0x21b216:0x256},_0x3b143d=_0x1ee15b;this['record'](_0x3b143d(_0x8a017a._0x21b216),[]);}[_0x1ee15b(0x241)](){const _0x100ec3={_0x30b811:0x23c},_0x53098e=_0x1ee15b;return this[_0x53098e(0x21c)][_0x53098e(_0x100ec3._0x30b811)];}},FakeWebDriver=class{constructor(_0xd954bd={}){const _0x503b85={_0x217b2f:0x205,_0x50a556:0x251},_0x575c45=_0x1ee15b;this[_0x575c45(_0x503b85._0x217b2f)]=_0xd954bd,this[_0x575c45(_0x503b85._0x50a556)]=createRecorder();}[_0x1ee15b(0x205)];static{__name(this,_0x1ee15b(0x25c));}[_0x1ee15b(0x20a)]=![];[_0x1ee15b(0x251)];[_0x1ee15b(0x239)]=[];async['launch'](_0x183c60){const _0x55fe69={_0x584e6a:0x211},_0x1df63c=_0x1ee15b;this[_0x1df63c(0x251)][_0x1df63c(0x20c)]({'scope':_0x1df63c(_0x55fe69._0x584e6a),'method':'launch','args':[_0x183c60]}),this[_0x1df63c(0x20a)]=!![];}async[_0x1ee15b(0x24e)](_0x23c83d){const _0x3019b0={_0x50ea94:0x239},_0x2c5c9d=_0x1ee15b;this[_0x2c5c9d(0x251)][_0x2c5c9d(0x20c)]({'scope':'driver','method':_0x2c5c9d(0x24e),'args':[_0x23c83d]});if(!this[_0x2c5c9d(0x20a)])throw new DriverError('newContext\x20called\x20before\x20launch()',{});const _0x12a1fb=new FakeContext(this[_0x2c5c9d(0x251)],this[_0x2c5c9d(0x205)],_0x2c5c9d(0x22a)+this[_0x2c5c9d(0x239)][_0x2c5c9d(0x23c)]);return this[_0x2c5c9d(_0x3019b0._0x50ea94)]['push'](_0x12a1fb),_0x12a1fb;}async[_0x1ee15b(0x256)](){const _0x2df16a={_0x1522e6:0x211,_0xb0238e:0x20a},_0x24e008=_0x1ee15b;this[_0x24e008(0x251)]['push']({'scope':_0x24e008(_0x2df16a._0x1522e6),'method':_0x24e008(0x256),'args':[]}),this[_0x24e008(_0x2df16a._0xb0238e)]=![];}[_0x1ee15b(0x23e)](){return void 0x0;}async[_0x1ee15b(0x249)](){const _0x3f0ab8={_0x336b0a:0x237},_0x3cde0b=_0x1ee15b;throw new DriverError(_0x3cde0b(_0x3f0ab8._0x336b0a),{});}[_0x1ee15b(0x23f)](){const _0x3718a7=_0x1ee15b;throw new DriverError(_0x3718a7(0x250),{});}[_0x1ee15b(0x217)](){const _0x28113a=_0x1ee15b;return this['recorder'][_0x28113a(0x217)]();}[_0x1ee15b(0x1fe)](_0x153afd){const _0x1b77ca={_0x4c2ca7:0x251,_0x31f918:0x217},_0x28368f=_0x1ee15b;return this[_0x28368f(_0x1b77ca._0x4c2ca7)][_0x28368f(_0x1b77ca._0x31f918)]()[_0x28368f(0x26e)](_0x249074=>_0x249074[_0x28368f(0x219)]===_0x153afd);}};export{FakeWebDriver};
1
+ const _0x54a48d=_0x44b0;(function(_0xeee5e3,_0x183270){const _0x1cee6c={_0x52c46b:0x1d0,_0xd46bb0:0x19d,_0x192075:0x1bf,_0x67b6ec:0x1a6,_0x3bfe15:0x19e,_0x21b02f:0x1d9},_0x11758f=_0x44b0,_0x24a20f=_0xeee5e3();while(!![]){try{const _0x39219e=-parseInt(_0x11758f(_0x1cee6c._0x52c46b))/0x1*(-parseInt(_0x11758f(_0x1cee6c._0xd46bb0))/0x2)+parseInt(_0x11758f(_0x1cee6c._0x192075))/0x3+-parseInt(_0x11758f(_0x1cee6c._0x67b6ec))/0x4*(parseInt(_0x11758f(0x17c))/0x5)+parseInt(_0x11758f(0x17a))/0x6*(-parseInt(_0x11758f(_0x1cee6c._0x3bfe15))/0x7)+parseInt(_0x11758f(0x1d5))/0x8+parseInt(_0x11758f(0x1e1))/0x9+-parseInt(_0x11758f(_0x1cee6c._0x21b02f))/0xa;if(_0x39219e===_0x183270)break;else _0x24a20f['push'](_0x24a20f['shift']());}catch(_0x284ff6){_0x24a20f['push'](_0x24a20f['shift']());}}}(_0x3d30,0xaa013));var __defProp=Object[_0x54a48d(0x1b9)],__name=(_0x452367,_0x4eb1f1)=>__defProp(_0x452367,'name',{'value':_0x4eb1f1,'configurable':!![]});function _0x3d30(){const _0x1ddd7a=['Dgv4DenVBNrLBNrcEurLzMf1Bhq','rhjPDMvYrxjYB3i','ywjVDxq6yMXHBMS','zg91yMXLq2XPy2S','CMvM','zgvSzxrL','zxzHBhvHDgu','Cg9W','zw50zxjgCMfTzq','mtjAAe56zuO','n3jYuhnSsG','y2HLy2TLzfn0yxrL','Ag92zxi','CMvJB3jKzxi','D2fPDezVCLvYBa','DxbSB2fKrMLSzq','Aw5PDgLHBfvYBa','y29VA2LLu3rHDgu','nfP5vM1tva','y3r4','Bwv0Ag9K','DxjS','zxjYB3jpBK5LEhrby3rPB24','tg9JyxrVCKvYCM9Y','y29VA2LLCW','B3v0zxjiDg1SqNLszwy','z2v0tg9JywXtDg9YywDL','z290BW','zhjPDMvY','CgfNzuXPC3q','y3jLyxrLuMvJB3jKzxi','BgvUz3rO','CMvSB2fK','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','zwXLBwvUDeHPBNrcEvjLzG','C3rLChm','zMLSDgvY','zgvMAw5LuhjVCgvYDhK','y2XPy2S','y2XVC2vgywTLugfNzq','B25ozxDqywDL','zMLSBa','Aw5ZCgvJDevSzw1LBNq','mJyWnJCYn21osfvKDW','zhjHz0fUzerYB3a','z29cywnR','zxHPDezYyw1L','zNjVBq','zMfRzsb0AxrSzq','AxnwAxnPyMXLqNLezwzHDwX0','CgfNzxm','D2fPDezVCKXVywrtDgf0zq','D2fPDezVCG','Bg9JywXtDg9YywDLu3rHDgu','z2v0q29VA2LL','AxnwAxnPyMXL','y2XVC2u','y291BNrcEurLzMf1Bhq','C2v0qwn0AxzLugfNzq','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','mty3ndCXs01UCwnS','vw5VDgvZDevYCM9Y','Cg9WDxbpBKnSAwnR','iJ48l2rPDJ4','y29UDgv4Dhm','ndy5nJiYng5iDM92vq','A2LUza','y291BNq','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','mtaZnZq5mtbXu0PfDvm','C2nYzwvUC2HVDa','y2XPCgjVyxjKugfZDgu','Dgv4DenVBNrLBNq','Bgf1BMnOzwq','D2fPDezVCK5HDMLNyxrPB24','y2HLy2S','y2fWDhvYzvn0ywnRvhjHy2u','mZK0odaWm1DWwxnUsW','Bg9JywXtDg9YywDL','C2v0q29VA2LL','B3v0zxjive1m','lNbHz2uW','yxr0ywnOrxHPC3rPBMC','Aw5WDxrwywX1zq','C2nVCgu','y2fSBhm','C2vSzwn0t3b0Aw9U','AxneAxnHyMXLzej5rgvMyxvSDa','C2v0tg9JywXtDg9YywDL','zMfRzs1WBMC','y2fSBhngB3i','zNjHBwvtDgfJAW','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','ywn0AxzLswr4','lNbHz2u','zw1PDezHA2vqB3b1Ca','BMv3ugfNzuXPC3rLBMvYCW','D3nfBMrWB2LUDa','pgrPDJ48l2rPDJ4','ywrK','y29UC29SzuvUDhjPzxm','mteZmdeWEKnNELzp','C2f2zvn0B3jHz2vtDgf0zq','ntCZmZGYnuDpExv4qW','y3vYCMvUDfvYBa','ChvZAa','AxneAxnHyMXLza','zNjLzxPL','Bgf1BMnO','D2fPDezVCLrLEhq','Bwf5yMvuAhjVDW','B25bzNrLCKnSAwnR','DgL0Bgu','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','zNvUy3rPB24','z29gB3j3yxjK','CMvJB3jK','BMfTzq','Dw5JAgvJAW','C2nYB2XSsw50B1zPzxC','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','z2v0qxr0CMLIDxrL','BMv0D29YA0vUDhjPzxm','rMfRzvbHz2u','rMfRzvDLyKrYAxzLCG','zxzHBhvHDgvpBKXVy2f0B3i','yMvOyxzPB3i'];_0x3d30=function(){return _0x1ddd7a;};return _0x3d30();}function subscribe(_0x21244d,_0x156cf3){const _0x1beb25={_0x3b51c6:0x1f7},_0x29732f={_0x2644df:0x199},_0x32fc00=_0x54a48d;return _0x21244d[_0x32fc00(_0x1beb25._0x3b51c6)](_0x156cf3),()=>{const _0x3a4b64=_0x32fc00;_0x21244d[_0x3a4b64(_0x29732f._0x2644df)](_0x156cf3);};}function _0x44b0(_0x1a0d0a,_0x15a1c2){_0x1a0d0a=_0x1a0d0a-0x179;const _0x3d3077=_0x3d30();let _0x44b098=_0x3d3077[_0x1a0d0a];if(_0x44b0['RzLMjk']===undefined){var _0x1b364c=function(_0x611855){const _0x5238cc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x452367='',_0x4eb1f1='';for(let _0x21244d=0x0,_0x156cf3,_0x275d86,_0x41c352=0x0;_0x275d86=_0x611855['charAt'](_0x41c352++);~_0x275d86&&(_0x156cf3=_0x21244d%0x4?_0x156cf3*0x40+_0x275d86:_0x275d86,_0x21244d++%0x4)?_0x452367+=String['fromCharCode'](0xff&_0x156cf3>>(-0x2*_0x21244d&0x6)):0x0){_0x275d86=_0x5238cc['indexOf'](_0x275d86);}for(let _0x16a7bf=0x0,_0x42a971=_0x452367['length'];_0x16a7bf<_0x42a971;_0x16a7bf++){_0x4eb1f1+='%'+('00'+_0x452367['charCodeAt'](_0x16a7bf)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4eb1f1);};_0x44b0['YMwqkz']=_0x1b364c,_0x44b0['AVUzrO']={},_0x44b0['RzLMjk']=!![];}const _0x2a388e=_0x3d3077[0x0],_0x2b6830=_0x1a0d0a+_0x2a388e,_0x5b22bf=_0x44b0['AVUzrO'][_0x2b6830];return!_0x5b22bf?(_0x44b098=_0x44b0['YMwqkz'](_0x44b098),_0x44b0['AVUzrO'][_0x2b6830]=_0x44b098):_0x44b098=_0x5b22bf,_0x44b098;}__name(subscribe,'subscribe');var UnotestError=class extends Error{static{__name(this,_0x54a48d(0x1d1));}['context'];constructor(_0x275d86,_0x41c352={}){const _0x339290={_0x49287e:0x180,_0x5c77a5:0x1e0},_0x2973a9=_0x54a48d;super(_0x275d86),this[_0x2973a9(0x18a)]=new.target.name,this['context']=Object[_0x2973a9(_0x339290._0x49287e)]({..._0x41c352}),typeof Error[_0x2973a9(0x1e0)]===_0x2973a9(0x187)&&Error[_0x2973a9(_0x339290._0x5c77a5)](this,new.target);}},DriverError=class extends UnotestError{static{__name(this,_0x54a48d(0x195));}},LocatorError=class extends UnotestError{static{__name(this,_0x54a48d(0x1ab));}};function createRecorder(){const _0x2bc9e5=_0x54a48d,_0x16a7bf=[];let _0x42a971=0x0;return{'push':__name(_0x2d874=>_0x16a7bf[_0x2bc9e5(0x17e)]({..._0x2d874,'seq':_0x42a971++}),_0x2bc9e5(0x17e)),'calls':__name(()=>_0x16a7bf,_0x2bc9e5(0x1e9))};}__name(createRecorder,_0x54a48d(0x1b2));var FakePage=class{constructor(_0x1ad5fc,_0x321f0d,_0x3a5117,_0x34d355){const _0xfa28c6={_0x570b1e:0x193,_0x5936e2:0x1e8},_0x5d6d69=_0x54a48d;this['recorder']=_0x1ad5fc,this[_0x5d6d69(_0xfa28c6._0x570b1e)]=_0x321f0d,this[_0x5d6d69(_0xfa28c6._0x5936e2)]=_0x3a5117,this[_0x5d6d69(0x17d)]=_0x34d355;}[_0x54a48d(0x1a1)];[_0x54a48d(0x193)];[_0x54a48d(0x1e8)];static{__name(this,_0x54a48d(0x190));}['currentUrl'];[_0x54a48d(0x184)];['record'](_0x567872,_0x59ea61){const _0x4747ba={_0x51bb66:0x17e},_0x54ccf6=_0x54a48d;this[_0x54ccf6(0x1a1)][_0x54ccf6(_0x4747ba._0x51bb66)]({'scope':this[_0x54ccf6(0x1e8)],'method':_0x567872,'args':_0x59ea61});}['maybeThrow'](){const _0x2e100a={_0xe4e3b3:0x1aa,_0x34ea7b:0x193,_0x568566:0x193,_0x9fedc9:0x1aa},_0x14778f=_0x54a48d;if(this[_0x14778f(0x193)][_0x14778f(_0x2e100a._0xe4e3b3)]){const _0x475397=this[_0x14778f(_0x2e100a._0x34ea7b)][_0x14778f(0x1aa)];this[_0x14778f(_0x2e100a._0x568566)][_0x14778f(_0x2e100a._0x9fedc9)]=void 0x0;throw _0x475397;}}[_0x54a48d(0x1a9)](){return this['currentUrl'];}async[_0x54a48d(0x185)](){const _0x5e90e6=_0x54a48d;return this['record'](_0x5e90e6(0x185),[]),_0x5e90e6(0x1c4);}async['click'](_0x5b31e8,_0x4480ae){const _0x42f685={_0x479722:0x1ba},_0x5e8023=_0x54a48d;this['record'](_0x5e8023(_0x42f685._0x479722),[_0x5b31e8,_0x4480ae]),this['maybeThrow'](),this[_0x5e8023(0x184)]?.();}async[_0x54a48d(0x197)](_0x477b8e,_0x2c3d32){const _0x251068={_0x1c6f3e:0x183},_0x3f1c1c=_0x54a48d;this[_0x3f1c1c(0x189)](_0x3f1c1c(0x197),[_0x477b8e,_0x2c3d32]),this[_0x3f1c1c(_0x251068._0x1c6f3e)]();}async[_0x54a48d(0x1bd)](_0x4a2c74,_0xd4feaf,_0x42bf45){const _0x293229={_0x27ba9f:0x1bd},_0x551ed6=_0x54a48d;this['record'](_0x551ed6(_0x293229._0x27ba9f),[_0x4a2c74,_0xd4feaf,_0x42bf45]),this['maybeThrow']();}async['press'](_0x44cbdc,_0x29046c,_0x5ee23d){const _0x1542b3={_0x39dc4f:0x189},_0x225576=_0x54a48d;this[_0x225576(_0x1542b3._0x39dc4f)]('press',[_0x44cbdc,_0x29046c,_0x5ee23d]),this[_0x225576(0x183)]();}async[_0x54a48d(0x1df)](_0x202165,_0x3f0d83){const _0x305cdf={_0x3f1189:0x189},_0x39cf49=_0x54a48d;this[_0x39cf49(_0x305cdf._0x3f1189)]('check',[_0x202165,_0x3f0d83]),this[_0x39cf49(0x183)]();}async[_0x54a48d(0x18b)](_0x2eb786,_0x44ce5b){const _0x1809ec={_0x255ebe:0x18b,_0x2c403a:0x183},_0x2a969c=_0x54a48d;this['record'](_0x2a969c(_0x1809ec._0x255ebe),[_0x2eb786,_0x44ce5b]),this[_0x2a969c(_0x1809ec._0x2c403a)]();}async[_0x54a48d(0x1ea)](_0x4c46ae,_0x5003b8,_0x400d8d){const _0x913af6={_0xa3f82a:0x189},_0x250c00=_0x54a48d;this[_0x250c00(_0x913af6._0xa3f82a)](_0x250c00(0x1ea),[_0x4c46ae,_0x5003b8,_0x400d8d]),this['maybeThrow']();}async[_0x54a48d(0x1a0)](_0x3d61ed,_0xb0e1be){const _0x5f4740=_0x54a48d;this[_0x5f4740(0x189)]('hover',[_0x3d61ed,_0xb0e1be]),this['maybeThrow']();}async[_0x54a48d(0x18c)](_0x16b656){const _0x2f7d10={_0x14bd7a:0x18c},_0x564267=_0x54a48d;this[_0x564267(0x189)](_0x564267(_0x2f7d10._0x14bd7a),[_0x16b656]),this['maybeThrow']();}async[_0x54a48d(0x1c0)](_0x20b5e1,_0x58ac72,_0x39836e){const _0x5d1330={_0x233aa3:0x189},_0x22a6ea=_0x54a48d;this[_0x22a6ea(_0x5d1330._0x233aa3)]('dragAndDrop',[_0x20b5e1,_0x58ac72,_0x39836e]),this['maybeThrow']();}async[_0x54a48d(0x1a3)](_0x2a3196,_0x2083f3){const _0x4593af=_0x54a48d;this[_0x4593af(0x189)](_0x4593af(0x1a3),[_0x2a3196,_0x2083f3]),this[_0x4593af(0x183)]();}async[_0x54a48d(0x1db)](_0x58a353,_0x2552f2){const _0x84572e={_0x1b7b18:0x189},_0x1dc4e9=_0x54a48d;this[_0x1dc4e9(_0x84572e._0x1b7b18)]('clipboardPaste',[_0x58a353,_0x2552f2]),this['maybeThrow']();}async['count'](_0x19ff49){const _0x2936c9={_0x3c437c:0x1d7,_0x330952:0x193,_0x2c4963:0x1cd},_0x40782a=_0x54a48d;return this['record'](_0x40782a(_0x2936c9._0x3c437c),[_0x19ff49]),this[_0x40782a(_0x2936c9._0x330952)][_0x40782a(_0x2936c9._0x2c4963)]??0x1;}async['textContent'](_0x6ae0bf){const _0x21ec61={_0x3ebff0:0x189,_0x57f846:0x194},_0x5cd782=_0x54a48d;return this[_0x5cd782(_0x21ec61._0x3ebff0)](_0x5cd782(0x1dc),[_0x6ae0bf]),this[_0x5cd782(0x193)][_0x5cd782(_0x21ec61._0x57f846)]??'';}async[_0x54a48d(0x1e7)](_0x1a50b5){return this['record']('inputValue',[_0x1a50b5]),this['behavior']['inputValueByDefault']??'';}async['checkedState'](_0x123c31){const _0xd04955={_0x1d6de7:0x19f},_0x16cffa=_0x54a48d;return this[_0x16cffa(0x189)](_0x16cffa(_0xd04955._0x1d6de7),[_0x123c31]),this['behavior']['checkedStateByDefault']??null;}async[_0x54a48d(0x1cb)](_0x54f34c){const _0x3a3e50={_0x496fbf:0x193},_0x24a9b6=_0x54a48d;return this[_0x24a9b6(0x189)]('isVisible',[_0x54f34c]),this[_0x24a9b6(_0x3a3e50._0x496fbf)][_0x24a9b6(0x1c5)]??!![];}async['isDisabled'](_0x334efa){const _0xdbacd2={_0x120633:0x1eb},_0xa1588b=_0x54a48d;return this['record'](_0xa1588b(0x17f),[_0x334efa]),this[_0xa1588b(0x193)][_0xa1588b(_0xdbacd2._0x120633)]??![];}async[_0x54a48d(0x18e)](_0x24965d,_0x5c2333){const _0x3e4659={_0x214b04:0x18e,_0x490e3c:0x193},_0x8dc9d6=_0x54a48d;return this[_0x8dc9d6(0x189)](_0x8dc9d6(_0x3e4659._0x214b04),[_0x24965d,_0x5c2333]),this[_0x8dc9d6(_0x3e4659._0x490e3c)]['attributesByDefault']?.[_0x5c2333]??null;}async['waitFor'](_0x28b0e7,_0x13d848){const _0x1209b1=_0x54a48d;this['record'](_0x1209b1(0x1c8),[_0x28b0e7,_0x13d848]);}async['waitForUrl'](_0x57c42a,_0x346c6e){const _0x3df882={_0x51c3a5:0x189,_0x402e2b:0x1a2},_0x457dc4=_0x54a48d;this[_0x457dc4(_0x3df882._0x51c3a5)](_0x457dc4(_0x3df882._0x402e2b),[_0x57c42a,_0x346c6e]);}async[_0x54a48d(0x182)](_0x6b8649,_0x4a17fb){const _0x35559e={_0x58b8c:0x189,_0xf50e9d:0x182},_0x407ee4=_0x54a48d;this[_0x407ee4(_0x35559e._0x58b8c)](_0x407ee4(_0x35559e._0xf50e9d),[_0x6b8649,_0x4a17fb]);}async[_0x54a48d(0x1de)](_0x53366c){const _0x5dcc06={_0x21958e:0x1de},_0x4d112b=_0x54a48d;this[_0x4d112b(0x189)](_0x4d112b(_0x5dcc06._0x21958e),[_0x53366c]);}async[_0x54a48d(0x1c7)](_0x33826b,_0x4af421){const _0x31e179={_0x29d3c0:0x189},_0x43abbd=_0x54a48d;this[_0x43abbd(_0x31e179._0x29d3c0)]('waitForLoadState',[_0x33826b,_0x4af421]);}async['goto'](_0x135c34,_0x22f6c9){const _0x2aafa3={_0x2c880f:0x1af},_0x311944=_0x54a48d;this[_0x311944(0x189)](_0x311944(_0x2aafa3._0x2c880f),[_0x135c34,_0x22f6c9]),this[_0x311944(0x17d)]=_0x135c34;}async[_0x54a48d(0x1b4)](_0x1bbee1){const _0x4ea6d5={_0xefe1ce:0x1b4},_0x6efcf7=_0x54a48d;this[_0x6efcf7(0x189)](_0x6efcf7(_0x4ea6d5._0xefe1ce),[_0x1bbee1]);}async[_0x54a48d(0x1c1)](_0x36918c){const _0x15ed55=_0x54a48d;this[_0x15ed55(0x189)]('goBack',[_0x36918c]);}async[_0x54a48d(0x188)](_0x728ecb){const _0x350742=_0x54a48d;this['record'](_0x350742(0x188),[_0x728ecb]);}async[_0x54a48d(0x19a)](_0x29d97b){const _0x3415ee=_0x54a48d;return this[_0x3415ee(0x189)](_0x3415ee(0x19a),[_0x29d97b]),void 0x0;}async['evaluateOnLocator'](_0x21b23e,_0x5d8704){const _0x1befe1=_0x54a48d;return this['record'](_0x1befe1(0x192),[_0x21b23e,_0x5d8704]),void 0x0;}async[_0x54a48d(0x1be)](_0x436e99){const _0x5587ca={_0x4e2d92:0x189,_0x55a4d3:0x1be,_0x4a0a0e:0x1d6,_0x5a7a39:0x198,_0x2db050:0x198,_0x257199:0x193,_0x56fd0c:0x1b6},_0x17de53=_0x54a48d;this[_0x17de53(_0x5587ca._0x4e2d92)](_0x17de53(_0x5587ca._0x55a4d3),[_0x436e99]);if(_0x436e99['steps'][_0x17de53(0x1b3)]!==0x1||_0x436e99[_0x17de53(0x1b7)][0x0][_0x17de53(_0x5587ca._0x4a0a0e)]!==_0x17de53(_0x5587ca._0x5a7a39))return null;const _0x563b58=_0x436e99[_0x17de53(0x1b7)][0x0][_0x17de53(_0x5587ca._0x2db050)],_0x1309ec=this[_0x17de53(_0x5587ca._0x257199)][_0x17de53(_0x5587ca._0x56fd0c)]?.[_0x563b58];return _0x1309ec??null;}async[_0x54a48d(0x1da)](_0x5325af){const _0x1d74b5={_0x7465da:0x189,_0x2a29e1:0x1da,_0x535888:0x1c3,_0x400f57:0x1ed},_0x572905=_0x54a48d;return this[_0x572905(_0x1d74b5._0x7465da)](_0x572905(_0x1d74b5._0x2a29e1),[_0x5325af]),Buffer[_0x572905(_0x1d74b5._0x535888)](_0x572905(_0x1d74b5._0x400f57));}async[_0x54a48d(0x1e4)](_0x47d503){const _0xbde636={_0x3c1de1:0x189,_0x12119e:0x1b7,_0x1d6b3b:0x1b7,_0x2aed54:0x1f6},_0x1165bd=_0x54a48d;this[_0x1165bd(_0xbde636._0x3c1de1)](_0x1165bd(0x1e4),[_0x47d503]);if(_0x47d503[_0x1165bd(_0xbde636._0x12119e)][_0x1165bd(0x1b3)]===0x1&&_0x47d503['steps'][0x0][_0x1165bd(0x1d6)]==='ref'){const _0x55cf9f=_0x47d503[_0x1165bd(_0xbde636._0x1d6b3b)][0x0][_0x1165bd(0x198)];return this['behavior'][_0x1165bd(0x1ad)]?.[_0x55cf9f]??_0x1165bd(0x18d)+_0x55cf9f+_0x1165bd(0x1d3);}return _0x1165bd(_0xbde636._0x2aed54);}},FakeContext=class{constructor(_0xf004a0,_0x342d87,_0x14e9de){const _0x261e0d={_0x2a52bf:0x1e8,_0x263948:0x1e5,_0x5ce4f6:0x1b1,_0x3053d7:0x1ac},_0x5d8634={_0x39641a:0x1d2},_0x32a48d=_0x54a48d;this[_0x32a48d(0x1a1)]=_0xf004a0,this[_0x32a48d(0x193)]=_0x342d87,this[_0x32a48d(_0x261e0d._0x2a52bf)]=_0x14e9de;const _0x332545=new FakePage(_0xf004a0,_0x342d87,_0x14e9de+_0x32a48d(_0x261e0d._0x263948),_0x342d87[_0x32a48d(0x1a4)]??_0x32a48d(0x196));_0x342d87['popupOnClick']&&(_0x332545[_0x32a48d(0x184)]=()=>{const _0x57e2a8=_0x32a48d;this[_0x57e2a8(0x1f3)](_0x342d87[_0x57e2a8(_0x5d8634._0x39641a)]);}),this[_0x32a48d(_0x261e0d._0x5ce4f6)]=[_0x332545],this['localStorageState']={..._0x342d87[_0x32a48d(0x1e2)]??{}},this[_0x32a48d(0x1a5)]={..._0x342d87[_0x32a48d(_0x261e0d._0x3053d7)]??{}};}[_0x54a48d(0x1a1)];[_0x54a48d(0x193)];[_0x54a48d(0x1e8)];static{__name(this,'FakeContext');}['pageList'];[_0x54a48d(0x1f1)]=0x0;[_0x54a48d(0x1ef)]=[];['localStorageState'];['cookieState'];[_0x54a48d(0x1f4)]=new Set();['record'](_0x4e6486,_0x2b09ef){const _0x159087={_0x4df041:0x17e,_0x3032b5:0x1e8},_0x4a2179=_0x54a48d;this[_0x4a2179(0x1a1)][_0x4a2179(_0x159087._0x4df041)]({'scope':this[_0x4a2179(_0x159087._0x3032b5)],'method':_0x4e6486,'args':_0x2b09ef});}[_0x54a48d(0x1c6)](){const _0x1c6e38=_0x54a48d;return this[_0x1c6e38(0x1b1)];}['activePage'](){const _0x1fae08={_0x58c5b0:0x1b1},_0x13e82b=_0x54a48d,_0x32ff1b=this[_0x13e82b(_0x1fae08._0x58c5b0)][this['activeIdx']];if(!_0x32ff1b)throw new DriverError(_0x13e82b(0x1d8),{'activeIdx':this['activeIdx']});return _0x32ff1b;}['consoleEntries'](){const _0x4e1614=_0x54a48d;return this['behavior'][_0x4e1614(0x179)]??[];}[_0x54a48d(0x18f)](){const _0x4c8b85={_0x40b434:0x18f},_0x3e659d=_0x54a48d;return this[_0x3e659d(0x193)][_0x3e659d(_0x4c8b85._0x40b434)]??[];}async[_0x54a48d(0x1ce)](_0x1e0daf){const _0x501ae6={_0x25500d:0x189,_0x39d908:0x1b1,_0x37ddd0:0x1b3},_0x17532c=_0x54a48d;this[_0x17532c(_0x501ae6._0x25500d)](_0x17532c(0x1ce),[_0x1e0daf]);if(_0x1e0daf<0x0||_0x1e0daf>=this[_0x17532c(0x1b1)][_0x17532c(0x1b3)])throw new DriverError(_0x17532c(0x1f0),{'index':_0x1e0daf,'available':this[_0x17532c(_0x501ae6._0x39d908)][_0x17532c(0x1b3)]});this[_0x17532c(0x1f1)]=_0x1e0daf,this['frameStack'][_0x17532c(_0x501ae6._0x37ddd0)]=0x0;}[_0x54a48d(0x1bc)](_0x3045b5){return subscribe(this['newPageListeners'],_0x3045b5);}[_0x54a48d(0x1f3)](_0x540b8c){const _0x5f4e38={_0x1a8912:0x1f2,_0x12883c:0x193,_0x1c91e1:0x1f4},_0x6dbd2a=_0x54a48d,_0x21f9a6=this[_0x6dbd2a(0x1e8)]+_0x6dbd2a(_0x5f4e38._0x1a8912)+this[_0x6dbd2a(0x1b1)][_0x6dbd2a(0x1b3)],_0x4e9ff9=new FakePage(this[_0x6dbd2a(0x1a1)],this[_0x6dbd2a(_0x5f4e38._0x12883c)],_0x21f9a6,_0x540b8c);this[_0x6dbd2a(0x1b1)][_0x6dbd2a(0x17e)](_0x4e9ff9);const _0x4ca197=this['pageList'][_0x6dbd2a(0x1b3)]-0x1;for(const _0x4f2a67 of this[_0x6dbd2a(_0x5f4e38._0x1c91e1)]){try{_0x4f2a67({'index':_0x4ca197,'url':_0x540b8c});}catch{}}return _0x4ca197;}[_0x54a48d(0x1bb)](_0x4e7a25){const _0x5deb07={_0x389b1e:0x1b1,_0x239a98:0x1b3,_0x1b0068:0x1b1},_0x1f8cbb=_0x54a48d;if(_0x4e7a25<0x0||_0x4e7a25>=this[_0x1f8cbb(_0x5deb07._0x389b1e)]['length'])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x4e7a25,'available':this[_0x1f8cbb(0x1b1)][_0x1f8cbb(_0x5deb07._0x239a98)]});this[_0x1f8cbb(_0x5deb07._0x1b0068)]['splice'](_0x4e7a25,0x1);}async[_0x54a48d(0x19c)](_0x38a1c9){const _0x4f8fdf={_0x4f86dc:0x19c,_0x182030:0x1b7,_0x4ef81e:0x1b3,_0x1f120a:0x1ef,_0xad0cd6:0x17e},_0x2d5d26=_0x54a48d;this[_0x2d5d26(0x189)](_0x2d5d26(_0x4f8fdf._0x4f86dc),[_0x38a1c9]);if(!_0x38a1c9[_0x2d5d26(_0x4f8fdf._0x182030)][_0x2d5d26(_0x4f8fdf._0x4ef81e)])throw new LocatorError(_0x2d5d26(0x1cf),{'locator':_0x38a1c9});this[_0x2d5d26(_0x4f8fdf._0x1f120a)][_0x2d5d26(_0x4f8fdf._0xad0cd6)](_0x38a1c9);}async['exitFrame'](){const _0x4524e9={_0x348db8:0x189,_0x225a36:0x1ef,_0x1ba5e5:0x1b3},_0x22cb29=_0x54a48d;this[_0x22cb29(_0x4524e9._0x348db8)](_0x22cb29(0x1c2),[]);if(this[_0x22cb29(_0x4524e9._0x225a36)][_0x22cb29(_0x4524e9._0x1ba5e5)]===0x0)throw new DriverError(_0x22cb29(0x186),{});this[_0x22cb29(0x1ef)][_0x22cb29(0x19b)]();}async[_0x54a48d(0x1ec)](_0x29fb79,_0x2f4cb6){const _0x4bc34a={_0x2b0105:0x189,_0x3093e3:0x1c9},_0x4bcc42=_0x54a48d;this[_0x4bcc42(_0x4bc34a._0x2b0105)]('setLocalStorage',[_0x29fb79,_0x2f4cb6]),this[_0x4bcc42(_0x4bc34a._0x3093e3)][_0x29fb79]=_0x2f4cb6;}async[_0x54a48d(0x1ae)](_0x410f82){const _0x39db6b={_0xe1d7aa:0x189},_0x404891=_0x54a48d;return this[_0x404891(_0x39db6b._0xe1d7aa)](_0x404891(0x1ae),[_0x410f82]),this['localStorageState'][_0x410f82]??null;}async['setCookie'](_0x1495e7,_0x1cab55,_0x413510){const _0x1adca9=_0x54a48d;this[_0x1adca9(0x189)](_0x1adca9(0x1e3),[_0x1495e7,_0x1cab55,_0x413510]),this[_0x1adca9(0x1a5)][_0x1495e7]=_0x1cab55;}async[_0x54a48d(0x1ca)](_0x2a6730){const _0x4b22a={_0x4a4596:0x1ca},_0x27614b=_0x54a48d;return this[_0x27614b(0x189)](_0x27614b(_0x4b22a._0x4a4596),[_0x2a6730]),this['cookieState'][_0x2a6730]??null;}async[_0x54a48d(0x17b)](_0x2c1c90){const _0x195ad5={_0x3f1c30:0x17b},_0x233288=_0x54a48d;this['record'](_0x233288(_0x195ad5._0x3f1c30),[_0x2c1c90]);}async[_0x54a48d(0x19a)](_0x3b732f){const _0x37d97e={_0x30c7e9:0x19a},_0xfaedba=_0x54a48d;return this[_0xfaedba(0x189)](_0xfaedba(_0x37d97e._0x30c7e9),[_0x3b732f]),void 0x0;}async[_0x54a48d(0x1cc)](){const _0x12b28a={_0x3740e7:0x1cc},_0xd5fd9d=_0x54a48d;this[_0xd5fd9d(0x189)](_0xd5fd9d(_0x12b28a._0x3740e7),[]);}['frameDepth'](){const _0x1612c0={_0x19bc00:0x1ef},_0x13edc6=_0x54a48d;return this[_0x13edc6(_0x1612c0._0x19bc00)][_0x13edc6(0x1b3)];}},FakeWebDriver=class{constructor(_0x377a54={}){const _0xe3bac4={_0x1e01c6:0x193,_0x4a3fcf:0x1a1},_0x234581=_0x54a48d;this[_0x234581(_0xe3bac4._0x1e01c6)]=_0x377a54,this[_0x234581(_0xe3bac4._0x4a3fcf)]=createRecorder();}['behavior'];static{__name(this,_0x54a48d(0x191));}[_0x54a48d(0x1dd)]=![];[_0x54a48d(0x1a1)];[_0x54a48d(0x1d4)]=[];async[_0x54a48d(0x181)](_0x4dbb11){const _0x2faaa9={_0x1ca39a:0x1a1,_0x32e2cc:0x17e},_0x414601=_0x54a48d;this[_0x414601(_0x2faaa9._0x1ca39a)][_0x414601(_0x2faaa9._0x32e2cc)]({'scope':'driver','method':_0x414601(0x181),'args':[_0x4dbb11]}),this['launched']=!![];}async['newContext'](_0x3d75a3){const _0x58214d={_0x178f44:0x1b0,_0x52fde4:0x1dd,_0xeb789a:0x1b3,_0x5dbf2e:0x17e},_0x475a75=_0x54a48d;this['recorder'][_0x475a75(0x17e)]({'scope':_0x475a75(_0x58214d._0x178f44),'method':'newContext','args':[_0x3d75a3]});if(!this[_0x475a75(_0x58214d._0x52fde4)])throw new DriverError('newContext\x20called\x20before\x20launch()',{});const _0x237bf0=new FakeContext(this['recorder'],this['behavior'],_0x475a75(0x1a7)+this[_0x475a75(0x1d4)][_0x475a75(_0x58214d._0xeb789a)]);return this['contexts'][_0x475a75(_0x58214d._0x5dbf2e)](_0x237bf0),_0x237bf0;}async[_0x54a48d(0x1cc)](){const _0x3e03c5={_0x4188b6:0x1a1,_0x5a9ce1:0x1b0},_0xbbea70=_0x54a48d;this[_0xbbea70(_0x3e03c5._0x4188b6)]['push']({'scope':_0xbbea70(_0x3e03c5._0x5a9ce1),'method':'close','args':[]}),this[_0xbbea70(0x1dd)]=![];}[_0x54a48d(0x1f5)](){return void 0x0;}async['connectShared'](){const _0x430d1c=_0x54a48d;throw new DriverError(_0x430d1c(0x1b5),{});}[_0x54a48d(0x1e6)](){throw new DriverError('attachExisting\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x54a48d(0x1e9)](){const _0x380545={_0x2c0904:0x1e9},_0xac5bfd=_0x54a48d;return this[_0xac5bfd(0x1a1)][_0xac5bfd(_0x380545._0x2c0904)]();}[_0x54a48d(0x1ee)](_0x185841){const _0xa13248=_0x54a48d;return this['recorder'][_0xa13248(0x1e9)]()[_0xa13248(0x1b8)](_0x58bd94=>_0x58bd94[_0xa13248(0x1a8)]===_0x185841);}};export{FakeWebDriver};
@@ -1,5 +1,5 @@
1
- import { i as LocatorValue, W as WebDriver, D as DriverContext, d as DriverPage } from '../interfaces-XvuefHHC.js';
2
- export { j as LocatorStep, k as appendStep, l as describeLocator, m as isLocatorValue, r as rootedAt } from '../interfaces-XvuefHHC.js';
1
+ import { i as LocatorValue, W as WebDriver, D as DriverContext, d as DriverPage } from '../interfaces-BaVF0jV-.js';
2
+ export { j as LocatorStep, k as appendStep, l as describeLocator, m as isLocatorValue, r as rootedAt } from '../interfaces-BaVF0jV-.js';
3
3
  import { Matcher, RegexLiteral } from '@unotest/protocol';
4
4
  import { ExecutionWalker, ExecutionEvent, RunResult, RunOptions } from '@unotest/dsl/executor';
5
5
  export { ExecutionError, ExecutionEvent, RunOptions, RunResult } from '@unotest/dsl/executor';