@unotest/web 0.13.1 → 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,78 @@
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
+
3
76
  ## [0.13.1] - 2026-08-15
4
77
 
5
78
  ### Patch Changes
@@ -1 +1 @@
1
- var _0x4eb268=_0x1ba8;(function(_0x250669,_0x58c4ce){var _0x343d79={_0x26c8f6:0x11c,_0x57d92b:0x10b,_0xa11995:0x130,_0x2f257e:0x114},_0x3f275=_0x1ba8,_0x3bae1c=_0x250669();while(!![]){try{var _0x8726b2=-parseInt(_0x3f275(0x12e))/0x1+parseInt(_0x3f275(0xf4))/0x2+-parseInt(_0x3f275(0x12f))/0x3*(parseInt(_0x3f275(_0x343d79._0x26c8f6))/0x4)+-parseInt(_0x3f275(_0x343d79._0x57d92b))/0x5+parseInt(_0x3f275(0xf1))/0x6+parseInt(_0x3f275(_0x343d79._0xa11995))/0x7*(parseInt(_0x3f275(0x104))/0x8)+-parseInt(_0x3f275(_0x343d79._0x2f257e))/0x9*(-parseInt(_0x3f275(0x102))/0xa);if(_0x8726b2===_0x58c4ce)break;else _0x3bae1c['push'](_0x3bae1c['shift']());}catch(_0x1c2075){_0x3bae1c['push'](_0x3bae1c['shift']());}}}(_0x552c,0x7cb89));import{z}from'zod';function _0x552c(){var _0x8d30d3=['odGZmdu2Auvqt3rX','DMfSAwrHDg9YoMfYAxr5','B2zM','yxjYyxK','Dw5PB24','zw51Bq','Cg9ZAxrPDMu','mZG0ndm0mgLXCgXgtG','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','BgLUDdPTDxn0ywnOzs1PBI1KC2W','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','BNvTyMvY','DMfSAwrHDg9YoMLMlxnOyxbL','C3rYAw5N','y2HYB21PDw0','DMfSAwrHDg9YoMfYzY1RAw5K','ntmXDgTKtgjd','zgvMyxvSDa','BgLUDdPYzwDLEc1PBNzHBgLK','Dw5VDgvZDc9LmMu','BwLU','zxjYB3i','BNvSBa','ywnJzxb0','mJb0v1blwfG','BgLUDdP4Cgf0Aa','DMfSAwrHDg9YoNzHCI1ZAgfWzq','y2HYB21L','BgLUDdPKzwvWlwnZCW','DMfSAwrHDg9YoMXPC3qTyxjN','Aw50','DMfSAwrHDg9YoMzVCI1ZAgfWzq','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','BgL0zxjHBa','BxnLzgDL','BgLUDdPWyxvZzs1LEhbSAwnPDa','BMv0D29YAW','D2vIA2L0','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','CMvJB3jK','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','oda4otm1DgjAqLPn','mJu4nJaWzvHrwgPl','mtrRAeHYCue','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','BgLUDdPLy2HVlwfZC2vYDa','zMLYzwzVEa','BgLUDdPZy2vUyxjPBY1PBI1YB290','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','mti3mZq3mfDmBxborW','BwfUDwfS','B2jQzwn0','nJy1nZuYrwnmtgXR','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','DhjHBNnPzw50','DMfSAwrHDg9YoM1LDgeTC2HHCgu','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','Bwf4','DxjS','y3jHC2G','BgLUDdPNB3rVlwnVBMnHDa','C3rKAw8','lNvUB3rLC3qVzMfPBhvYzxm','D2fYBG','B3b0Aw9UywW','yM9VBgvHBG','mJK3mJuWquH5zuPZ','DMfSAwrHDg9YoNn0zxaTC2HHCgu'];_0x552c=function(){return _0x8d30d3;};return _0x552c();}function _0x1ba8(_0xfc646a,_0x1a519b){_0xfc646a=_0xfc646a-0xef;var _0x552c00=_0x552c();var _0x1ba851=_0x552c00[_0xfc646a];if(_0x1ba8['HDnWUb']===undefined){var _0x2e6722=function(_0x442214){var _0x515b01='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2b8a88='',_0x9f0654='';for(var _0x3f38ec=0x0,_0x1b935b,_0xbcf0d1,_0x3997d1=0x0;_0xbcf0d1=_0x442214['charAt'](_0x3997d1++);~_0xbcf0d1&&(_0x1b935b=_0x3f38ec%0x4?_0x1b935b*0x40+_0xbcf0d1:_0xbcf0d1,_0x3f38ec++%0x4)?_0x2b8a88+=String['fromCharCode'](0xff&_0x1b935b>>(-0x2*_0x3f38ec&0x6)):0x0){_0xbcf0d1=_0x515b01['indexOf'](_0xbcf0d1);}for(var _0x39fd95=0x0,_0xd86ca3=_0x2b8a88['length'];_0x39fd95<_0xd86ca3;_0x39fd95++){_0x9f0654+='%'+('00'+_0x2b8a88['charCodeAt'](_0x39fd95)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x9f0654);};_0x1ba8['sQRbsM']=_0x2e6722,_0x1ba8['eQUrHU']={},_0x1ba8['HDnWUb']=!![];}var _0x5d6189=_0x552c00[0x0],_0x29d795=_0xfc646a+_0x5d6189,_0x453d93=_0x1ba8['eQUrHU'][_0x29d795];return!_0x453d93?(_0x1ba851=_0x1ba8['sQRbsM'](_0x1ba851),_0x1ba8['eQUrHU'][_0x29d795]=_0x1ba851):_0x1ba851=_0x453d93,_0x1ba851;}var BrowserSchema=z[_0x4eb268(0x109)]([_0x4eb268(0x112),_0x4eb268(0x133),_0x4eb268(0x129)]),BrowserChannelSchema=z[_0x4eb268(0x108)]([z[_0x4eb268(0x125)](_0x4eb268(0x11f)),z[_0x4eb268(0x125)](_0x4eb268(0x126)),z[_0x4eb268(0x125)]('chrome-beta'),z[_0x4eb268(0x11a)]()])[_0x4eb268(0x100)](),ViewportSchema=z[_0x4eb268(0xf3)]({'width':z['number']()[_0x4eb268(0x122)]()[_0x4eb268(0x10a)](),'height':z[_0x4eb268(0x10f)]()['int']()[_0x4eb268(0x10a)]()}),RetryReasonSchema=z[_0x4eb268(0x109)]([_0x4eb268(0xf6),_0x4eb268(0x128),_0x4eb268(0xfb)]),RetryConfigSchema=z[_0x4eb268(0xf3)]({'count':z[_0x4eb268(0x10f)]()[_0x4eb268(0x122)]()[_0x4eb268(0x118)](0x0)[_0x4eb268(0xf9)](0xa),'on':z['array'](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x4eb268(0xf3)]({'tier1':z[_0x4eb268(0x125)](!![])[_0x4eb268(0x115)](!![]),'tier2':z[_0x4eb268(0x101)](),'tier3':z[_0x4eb268(0xf3)]({'network':z[_0x4eb268(0x101)](),'video':z[_0x4eb268(0x101)]()}),'retention':z[_0x4eb268(0xf3)]({'runs':z[_0x4eb268(0x10f)]()['int']()[_0x4eb268(0x10a)](),'days':z[_0x4eb268(0x10f)]()['int']()[_0x4eb268(0x10a)]()}),'storageDir':z['string']()['min'](0x1)}),DialogPolicySchema=z[_0x4eb268(0x109)]([_0x4eb268(0x11b),'dismiss',_0x4eb268(0xf2)]),LinterRuleIdSchema=z[_0x4eb268(0x109)]([_0x4eb268(0x120),_0x4eb268(0x11d),_0x4eb268(0x10c),_0x4eb268(0x127),_0x4eb268(0xf8),_0x4eb268(0x12a),_0x4eb268(0xef),_0x4eb268(0x10d),_0x4eb268(0xfc),_0x4eb268(0x116),_0x4eb268(0x132),_0x4eb268(0xf5),'validator:unknown-function',_0x4eb268(0x105),_0x4eb268(0x113),_0x4eb268(0x12c),_0x4eb268(0x103),_0x4eb268(0xf7),_0x4eb268(0x12d),_0x4eb268(0x123),_0x4eb268(0x110),_0x4eb268(0x11e),_0x4eb268(0xf0),_0x4eb268(0x124),'validator:string-concat',_0x4eb268(0x131),_0x4eb268(0x121),'validator:wrapped-format']),LinterSeveritySchema=z[_0x4eb268(0x109)]([_0x4eb268(0x106),_0x4eb268(0xff),'error']),LinterConfigSchema=z[_0x4eb268(0xf3)]({'enabled':z['boolean'](),'rules':z[_0x4eb268(0x12b)](LinterRuleIdSchema,LinterSeveritySchema)}),McpConfigSchema=z['object']({'transport':z[_0x4eb268(0x125)](_0x4eb268(0xfd))}),SandboxConfigSchema=z[_0x4eb268(0xf3)]({'shellCwd':z['string']()['optional'](),'shellTimeoutMs':z[_0x4eb268(0x10f)]()[_0x4eb268(0x122)]()[_0x4eb268(0x10a)]()[_0x4eb268(0x100)](),'exportSecrets':z[_0x4eb268(0x107)](z[_0x4eb268(0x111)]())[_0x4eb268(0x100)](),'database':z[_0x4eb268(0x111)]()['optional'](),'apiBaseUrl':z['string']()[_0x4eb268(0xfa)]()['optional'](),'uploadDir':z[_0x4eb268(0x111)]()[_0x4eb268(0x100)]()}),WebServerConfigSchema=z[_0x4eb268(0xf3)]({'command':z[_0x4eb268(0x111)]()['min'](0x1),'url':z[_0x4eb268(0x111)]()['url'](),'reuseExistingServer':z[_0x4eb268(0x101)]()[_0x4eb268(0x115)](!![]),'timeoutMs':z['number']()[_0x4eb268(0x122)]()['positive']()[_0x4eb268(0x115)](0xea60)}),UnotestConfigSchema=z['object']({'baseUrl':z[_0x4eb268(0x111)]()[_0x4eb268(0xfa)]()[_0x4eb268(0x100)](),'webServer':WebServerConfigSchema['optional'](),'browsers':z[_0x4eb268(0x107)](BrowserSchema)[_0x4eb268(0x118)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z['string']()[_0x4eb268(0x100)](),'testDir':z[_0x4eb268(0x111)]()[_0x4eb268(0x118)](0x1),'helpersDir':z[_0x4eb268(0x111)]()['min'](0x1),'defaultTimeoutMs':z[_0x4eb268(0x10f)]()['int']()[_0x4eb268(0x10a)](),'defaultNavigationTimeoutMs':z['number']()[_0x4eb268(0x122)]()['positive'](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x4eb268(0x112)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x4eb268(0xf6)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x4eb268(0xfe)},'dialogPolicy':'accept','testDir':_0x4eb268(0x117),'helpersDir':_0x4eb268(0x10e),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x4eb268(0xff),'lint:xpath':_0x4eb268(0xff),'lint:obfuscated-class':_0x4eb268(0xff),'lint:pause-explicit':_0x4eb268(0xff),'lint:disambig-by-index':_0x4eb268(0x106),'lint:evaluate-discouraged':_0x4eb268(0xff),'lint:scenario-in-root':_0x4eb268(0x119),'lint:mustache-in-dsl':_0x4eb268(0x119),'lint:goto-concat':_0x4eb268(0xff),'lint:regex-invalid':_0x4eb268(0x119),'lint:echo-assert':'warn','lint:lint-ok-missing-reason':_0x4eb268(0xff),'validator:unknown-function':_0x4eb268(0x119)}},'mcp':{'transport':'stdio'},'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
- function _0x3c6c(_0x1a3bdd,_0x28d91e){_0x1a3bdd=_0x1a3bdd-0xa4;const _0x32ca48=_0x32ca();let _0x3c6c84=_0x32ca48[_0x1a3bdd];if(_0x3c6c['MRmVxY']===undefined){var _0x16d847=function(_0x5639e3){const _0x4f1c01='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1bfe68='',_0x2341c6='';for(let _0x2412b7=0x0,_0x111b08,_0x4731b4,_0x29ca17=0x0;_0x4731b4=_0x5639e3['charAt'](_0x29ca17++);~_0x4731b4&&(_0x111b08=_0x2412b7%0x4?_0x111b08*0x40+_0x4731b4:_0x4731b4,_0x2412b7++%0x4)?_0x1bfe68+=String['fromCharCode'](0xff&_0x111b08>>(-0x2*_0x2412b7&0x6)):0x0){_0x4731b4=_0x4f1c01['indexOf'](_0x4731b4);}for(let _0x1b4808=0x0,_0x5db9b9=_0x1bfe68['length'];_0x1b4808<_0x5db9b9;_0x1b4808++){_0x2341c6+='%'+('00'+_0x1bfe68['charCodeAt'](_0x1b4808)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2341c6);};_0x3c6c['upRyko']=_0x16d847,_0x3c6c['HLMsLY']={},_0x3c6c['MRmVxY']=!![];}const _0x470aaa=_0x32ca48[0x0],_0x28dc48=_0x1a3bdd+_0x470aaa,_0x206da5=_0x3c6c['HLMsLY'][_0x28dc48];return!_0x206da5?(_0x3c6c84=_0x3c6c['upRyko'](_0x3c6c84),_0x3c6c['HLMsLY'][_0x28dc48]=_0x3c6c84):_0x3c6c84=_0x206da5,_0x3c6c84;}const _0x489524=_0x3c6c;(function(_0xab9b52,_0x298101){const _0x26350d={_0x1420e1:0x126,_0x207910:0xbd,_0x1d6cd2:0xd3,_0x23ecd6:0x122,_0x4e054e:0xac},_0x378c53=_0x3c6c,_0xc821c8=_0xab9b52();while(!![]){try{const _0x2da58f=-parseInt(_0x378c53(_0x26350d._0x1420e1))/0x1+-parseInt(_0x378c53(_0x26350d._0x207910))/0x2*(parseInt(_0x378c53(_0x26350d._0x1d6cd2))/0x3)+-parseInt(_0x378c53(0xcf))/0x4*(parseInt(_0x378c53(_0x26350d._0x23ecd6))/0x5)+-parseInt(_0x378c53(0xe9))/0x6*(-parseInt(_0x378c53(0xef))/0x7)+parseInt(_0x378c53(_0x26350d._0x4e054e))/0x8*(parseInt(_0x378c53(0xcb))/0x9)+-parseInt(_0x378c53(0xe0))/0xa*(parseInt(_0x378c53(0xe5))/0xb)+parseInt(_0x378c53(0xc5))/0xc*(parseInt(_0x378c53(0xb0))/0xd);if(_0x2da58f===_0x298101)break;else _0xc821c8['push'](_0xc821c8['shift']());}catch(_0x3004c8){_0xc821c8['push'](_0xc821c8['shift']());}}}(_0x32ca,0xf34a1));var __defProp=Object[_0x489524(0xa9)],__name=(_0x1bfe68,_0x2341c6)=>__defProp(_0x1bfe68,'name',{'value':_0x2341c6,'configurable':!![]});function subscribe(_0x2412b7,_0x111b08){return _0x2412b7['add'](_0x111b08),()=>{_0x2412b7['delete'](_0x111b08);};}__name(subscribe,_0x489524(0x127));var UnotestError=class extends Error{static{__name(this,'UnotestError');}[_0x489524(0xff)];constructor(_0x4731b4,_0x29ca17={}){const _0x5025c6={_0x374378:0xde,_0x5701e2:0xff,_0x179356:0x11e,_0x40f974:0xa4},_0x26dbf3=_0x489524;super(_0x4731b4),this[_0x26dbf3(_0x5025c6._0x374378)]=new.target.name,this[_0x26dbf3(_0x5025c6._0x5701e2)]=Object[_0x26dbf3(0xc3)]({..._0x29ca17}),typeof Error[_0x26dbf3(_0x5025c6._0x179356)]===_0x26dbf3(_0x5025c6._0x40f974)&&Error[_0x26dbf3(0x11e)](this,new.target);}},DriverError=class extends UnotestError{static{__name(this,_0x489524(0xa7));}},LocatorError=class extends UnotestError{static{__name(this,_0x489524(0xfa));}};function createRecorder(){const _0x5ac7ad={_0x5785e6:0xf4},_0x4b8fc0=_0x489524,_0x1b4808=[];let _0x5db9b9=0x0;return{'push':__name(_0x255c6c=>_0x1b4808[_0x4b8fc0(0xf4)]({..._0x255c6c,'seq':_0x5db9b9++}),_0x4b8fc0(_0x5ac7ad._0x5785e6)),'calls':__name(()=>_0x1b4808,_0x4b8fc0(0x104))};}__name(createRecorder,_0x489524(0xf7));function _0x32ca(){const _0x4de571=['rhjPDMvYrxjYB3i','rMfRzvDLyKrYAxzLCG','zgvMAw5LuhjVCgvYDhK','C2nYzwvUC2HVDa','CMvSB2fK','nJe0nZm2shnMwgj1','zhjPDMvY','y2HLy2S','zMLSBa','nZm4ntu3m1jmyKDNtG','C3rLChm','CgfNzxm','Bwf5yMvuAhjVDW','zMLSDgvY','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','D2fPDezVCLrLEhq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','y29VA2LLCW','Dw5JAgvJAW','zxzHBhvHDgu','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','zw50zxjgCMfTzq','mZK3neDRsKrsuG','y2XPCgjVyxjKugfZDgu','zxHPDezYyw1L','y291BNq','rMfRzvbHz2u','zNjVBq','zNjLzxPL','BgvUz3rO','mZzozxnQyw8','C2v0qwn0AxzLugfNzq','D2fPDezVCK5HDMLNyxrPB24','C3bSAwnL','C2v0q29VA2LL','zwXLBwvUDeHPBNrcEvjLzG','mJi1r0vetLnJ','Ag92zxi','zxzHBhvHDgvpBKXVy2f0B3i','BMv3ugfNzuXPC3rLBMvYCW','mZeYntj4C25At3m','zhjHz0fUzerYB3a','y29UDgv4Dhm','DxjS','mJi4nMDnDw9osa','z2v0q29VA2LL','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','zMfRzsb0AxrSzq','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','C2nYB2XSsw50B1zPzxC','CMvJB3jK','CMvM','ywjVDxq6yMXHBMS','C2vSzwn0t3b0Aw9U','B25bzNrLCKnSAwnR','BMfTzq','D2fPDezVCLvYBa','nZiYmtb1AM1rzfG','y2XPy2S','y2XVC2u','Aw5WDxrwywX1zq','Bg9JywXtDg9YywDL','mJq1m0vpyvLhva','D3nfBMrWB2LUDa','y3r4','Bg9JywXtDg9YywDLu3rHDgu','nM5gver1CG','AxneAxnHyMXLzej5rgvMyxvSDa','zxjYB3jpBK5LEhrby3rPB24','AxnwAxnPyMXLqNLezwzHDwX0','C2nVCgu','rMfRzunVBNrLEhq','mte3otG4ntDdyxb0Bhi','A2LUza','ywn0AxzLswr4','y3vYCMvUDfvYBa','C2v0tg9JywXtDg9YywDL','ChvZAa','Bwv0Ag9K','zNjHBwvtDgfJAW','y3jLyxrLuMvJB3jKzxi','D2fPDezVCG','Cg9W','tg9JyxrVCKvYCM9Y','DgL0Bgu','Bgf1BMnOzwq','lNbHz2u','ChjLC3m','y29UDgv4Da','D2fPDezVCKXVywrtDgf0zq','Bgf1BMnO','z290BW','y2fSBhngB3i','y2fSBhm','B3v0zxjiDg1SqNLszwy','B25ozxDqywDL','C2f2zvn0B3jHz2vtDgf0zq','y2XVC2vgywTLugfNzq','zw1PDezHA2vqB3b1Ca','y29VA2LLu3rHDgu','z29gB3j3yxjK','Aw5WDxrwywX1zuj5rgvMyxvSDa','z29cywnR','y2HLy2TLzfn0yxrL','Aw5ZCgvJDevSzw1LBNq','zg91yMXLq2XPy2S','z2v0tg9JywXtDg9YywDL','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','y29UBMvJDfnOyxjLza','Cg9WDxbpBKnSAwnR','BMv3q29UDgv4Da','y2HLy2TLzfn0yxrLqNLezwzHDwX0','AxnwAxnPyMXL','y291BNrcEurLzMf1Bhq','Aw5PDgLHBfvYBa','B3v0zxjive1m','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','BMv0D29YA0vUDhjPzxm','DxbSB2fKrMLSzq','y2fWDhvYzvn0ywnRvhjHy2u','yxr0ywnOrxHPC3rPBMC','CMvJB3jKzxi','iJ48l2rPDJ4','nJu1BuLps0vM','CgfNzuXPC3q','yMvOyxzPB3i','AxneAxnHyMXLza','mty2ntCXCenbuMTO','C3vIC2nYAwjL','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zNvUy3rPB24','yxr0CMLIDxrLC0j5rgvMyxvSDa','y29UC29SzuvUDhjPzxm'];_0x32ca=function(){return _0x4de571;};return _0x32ca();}var FakePage=class{constructor(_0x3d5b69,_0x46a280,_0x4d06c2,_0x20533f){const _0x322e21={_0x44c3ea:0x120,_0x4e9ae8:0x124,_0x158735:0xed,_0x169cd9:0xf2},_0x2c0777=_0x489524;this[_0x2c0777(_0x322e21._0x44c3ea)]=_0x3d5b69,this[_0x2c0777(_0x322e21._0x4e9ae8)]=_0x46a280,this[_0x2c0777(_0x322e21._0x158735)]=_0x4d06c2,this[_0x2c0777(_0x322e21._0x169cd9)]=_0x20533f;}[_0x489524(0x120)];[_0x489524(0x124)];[_0x489524(0xed)];static{__name(this,_0x489524(0xc1));}['currentUrl'];[_0x489524(0xdd)];[_0x489524(0xd9)](_0x1e6831,_0x483a89){const _0x23ad15={_0x6fb3c:0xed},_0x5c5ef9=_0x489524;this[_0x5c5ef9(0x120)][_0x5c5ef9(0xf4)]({'scope':this[_0x5c5ef9(_0x23ad15._0x6fb3c)],'method':_0x1e6831,'args':_0x483a89});}[_0x489524(0xb3)](){const _0x18e8aa=_0x489524;if(this[_0x18e8aa(0x124)]['errorOnNextAction']){const _0x3520b3=this[_0x18e8aa(0x124)][_0x18e8aa(0xeb)];this['behavior'][_0x18e8aa(0xeb)]=void 0x0;throw _0x3520b3;}}[_0x489524(0xd2)](){return this['currentUrl'];}async[_0x489524(0xfb)](){const _0x1224a0={_0x15da52:0xfb,_0x1230c2:0xd6},_0x1e2f95=_0x489524;return this[_0x1e2f95(0xd9)](_0x1e2f95(_0x1224a0._0x15da52),[]),_0x1e2f95(_0x1224a0._0x1230c2);}async[_0x489524(0xe1)](_0x38a234,_0x1327cb){const _0x3f3742={_0x49cd03:0xe1},_0x3248db=_0x489524;this[_0x3248db(0xd9)](_0x3248db(_0x3f3742._0x49cd03),[_0x38a234,_0x1327cb]),this['maybeThrow'](),this[_0x3248db(0xdd)]?.();}async[_0x489524(0x110)](_0x11f0ab,_0x1bcd14){const _0x23e6a6=_0x489524;this[_0x23e6a6(0xd9)](_0x23e6a6(0x110),[_0x11f0ab,_0x1bcd14]),this['maybeThrow']();}async[_0x489524(0xaf)](_0x43e017,_0x19a1c8,_0x34758d){const _0x2af053=_0x489524;this['record'](_0x2af053(0xaf),[_0x43e017,_0x19a1c8,_0x34758d]),this['maybeThrow']();}async[_0x489524(0xfe)](_0x287bf5,_0x28573e,_0x45d6f7){const _0x2f5e91={_0x147c04:0xd9},_0x308f65=_0x489524;this[_0x308f65(_0x2f5e91._0x147c04)]('press',[_0x287bf5,_0x28573e,_0x45d6f7]),this[_0x308f65(0xb3)]();}async[_0x489524(0xae)](_0x3c5625,_0x41d7da){const _0x48c7f4={_0x334748:0xae},_0x5614d8=_0x489524;this[_0x5614d8(0xd9)](_0x5614d8(_0x48c7f4._0x334748),[_0x3c5625,_0x41d7da]),this[_0x5614d8(0xb3)]();}async[_0x489524(0xb9)](_0x4939d5,_0x4182e8){const _0x236709={_0x161f85:0xd9},_0x4ace31=_0x489524;this[_0x4ace31(_0x236709._0x161f85)](_0x4ace31(0xb9),[_0x4939d5,_0x4182e8]),this[_0x4ace31(0xb3)]();}async[_0x489524(0xdc)](_0x50578b,_0x139ef0,_0x2d4478){const _0x41cffb={_0x15ff04:0xd9,_0x3de0a6:0xdc,_0x1cbe20:0xb3},_0x25849c=_0x489524;this[_0x25849c(_0x41cffb._0x15ff04)](_0x25849c(_0x41cffb._0x3de0a6),[_0x50578b,_0x139ef0,_0x2d4478]),this[_0x25849c(_0x41cffb._0x1cbe20)]();}async[_0x489524(0xcc)](_0x2c79f1,_0x1c3d10){const _0x2228b8={_0x39c777:0xd9,_0x5836c7:0xcc},_0x1eb9b0=_0x489524;this[_0x1eb9b0(_0x2228b8._0x39c777)](_0x1eb9b0(_0x2228b8._0x5836c7),[_0x2c79f1,_0x1c3d10]),this['maybeThrow']();}async[_0x489524(0xd8)](_0x422d25){const _0x42bb45=_0x489524;this[_0x42bb45(0xd9)](_0x42bb45(0xd8),[_0x422d25]),this['maybeThrow']();}async[_0x489524(0xd0)](_0x3419fe,_0x54ce64,_0x438ccd){const _0x4cfdc2={_0x2a4853:0xd0},_0x4733f2=_0x489524;this[_0x4733f2(0xd9)](_0x4733f2(_0x4cfdc2._0x2a4853),[_0x3419fe,_0x54ce64,_0x438ccd]),this[_0x4733f2(0xb3)]();}async['uploadFile'](_0x49ed7f,_0x25ed9a){const _0xeb5421={_0x32dae4:0xd9,_0x599579:0x11d},_0x56c880=_0x489524;this[_0x56c880(_0xeb5421._0x32dae4)](_0x56c880(_0xeb5421._0x599579),[_0x49ed7f,_0x25ed9a]),this[_0x56c880(0xb3)]();}async[_0x489524(0xbe)](_0x21aca7,_0x4b7f3e){const _0xcc5df4=_0x489524;this[_0xcc5df4(0xd9)]('clipboardPaste',[_0x21aca7,_0x4b7f3e]),this['maybeThrow']();}async[_0x489524(0xc0)](_0x2cffe7){const _0x32d766={_0x399cf9:0xc0,_0x307bb3:0x124},_0x6ee272=_0x489524;return this['record'](_0x6ee272(_0x32d766._0x399cf9),[_0x2cffe7]),this[_0x6ee272(_0x32d766._0x307bb3)][_0x6ee272(0x118)]??0x1;}async['textContent'](_0x52c848){const _0x4c473d={_0x19fd88:0xd9,_0x9f212b:0x124},_0x2b2576=_0x489524;return this[_0x2b2576(_0x4c473d._0x19fd88)]('textContent',[_0x52c848]),this[_0x2b2576(_0x4c473d._0x9f212b)][_0x2b2576(0xb7)]??'';}async[_0x489524(0xe3)](_0x49e3d7){const _0x4f899e={_0x2fa5af:0xd9,_0x1f800f:0x124,_0x35849e:0x10c},_0x2ccfd5=_0x489524;return this[_0x2ccfd5(_0x4f899e._0x2fa5af)](_0x2ccfd5(0xe3),[_0x49e3d7]),this[_0x2ccfd5(_0x4f899e._0x1f800f)][_0x2ccfd5(_0x4f899e._0x35849e)]??'';}async[_0x489524(0x10e)](_0x4f398c){const _0x335e10={_0x350492:0xd9,_0x178fb6:0x116},_0x3c085f=_0x489524;return this[_0x3c085f(_0x335e10._0x350492)]('checkedState',[_0x4f398c]),this[_0x3c085f(0x124)][_0x3c085f(_0x335e10._0x178fb6)]??null;}async['isVisible'](_0x1b3db4){const _0x231e97={_0x4ad165:0x124},_0x330f3d=_0x489524;return this[_0x330f3d(0xd9)](_0x330f3d(0x117),[_0x1b3db4]),this[_0x330f3d(_0x231e97._0x4ad165)][_0x330f3d(0xec)]??!![];}async['isDisabled'](_0x74a745){const _0x5b11f7={_0x4da1c4:0x124,_0x294413:0xea},_0x2aac93=_0x489524;return this['record'](_0x2aac93(0x125),[_0x74a745]),this[_0x2aac93(_0x5b11f7._0x4da1c4)][_0x2aac93(_0x5b11f7._0x294413)]??![];}async['getAttribute'](_0x3cdd11,_0xd5ad63){const _0x3000cf={_0x509c38:0x124,_0x255568:0xa5},_0x4a7f3e=_0x489524;return this['record']('getAttribute',[_0x3cdd11,_0xd5ad63]),this[_0x4a7f3e(_0x3000cf._0x509c38)][_0x4a7f3e(_0x3000cf._0x255568)]?.[_0xd5ad63]??null;}async[_0x489524(0xf8)](_0x42c071,_0x2b1daa){const _0x6cabe8={_0x2d9f93:0xf8},_0x55060a=_0x489524;this[_0x55060a(0xd9)](_0x55060a(_0x6cabe8._0x2d9f93),[_0x42c071,_0x2b1daa]);}async[_0x489524(0xdf)](_0x3c032c,_0x2d6348){const _0x5563a0=_0x489524;this['record'](_0x5563a0(0xdf),[_0x3c032c,_0x2d6348]);}async[_0x489524(0xb6)](_0x482c04,_0x41f8ef){const _0xeb5912={_0x1ee06f:0xd9,_0x3af9c5:0xb6},_0x56bcba=_0x489524;this[_0x56bcba(_0xeb5912._0x1ee06f)](_0x56bcba(_0xeb5912._0x3af9c5),[_0x482c04,_0x41f8ef]);}async[_0x489524(0xc7)](_0x2327aa){const _0x45dfd2=_0x489524;this['record'](_0x45dfd2(0xc7),[_0x2327aa]);}async[_0x489524(0x100)](_0x537e01,_0x16a5b4){const _0x438aa4={_0x165104:0x100},_0x662a66=_0x489524;this['record'](_0x662a66(_0x438aa4._0x165104),[_0x537e01,_0x16a5b4]);}async[_0x489524(0x102)](_0x4fb23a,_0x557df2){const _0x543e60={_0x2d7888:0x102},_0x558e0d=_0x489524;this[_0x558e0d(0xd9)](_0x558e0d(_0x543e60._0x2d7888),[_0x4fb23a,_0x557df2]),this['currentUrl']=_0x4fb23a;}async[_0x489524(0xab)](_0x19dd98){const _0x20f5fa={_0x4744ce:0xd9},_0x1da2d7=_0x489524;this[_0x1da2d7(_0x20f5fa._0x4744ce)](_0x1da2d7(0xab),[_0x19dd98]);}async[_0x489524(0x10d)](_0x58fed7){const _0xe8f043=_0x489524;this['record'](_0xe8f043(0x10d),[_0x58fed7]);}async[_0x489524(0x10b)](_0x1f5720){const _0x21b5aa=_0x489524;this[_0x21b5aa(0xd9)](_0x21b5aa(0x10b),[_0x1f5720]);}async[_0x489524(0xba)](_0x310e0a){const _0x4878ac={_0x43f13b:0xd9},_0x5e7e5b=_0x489524;return this[_0x5e7e5b(_0x4878ac._0x43f13b)]('evaluate',[_0x310e0a]),void 0x0;}async[_0x489524(0xcd)](_0x47893f,_0x4ff245){const _0x48a0f1={_0x46e990:0xd9},_0xc4573b=_0x489524;return this[_0xc4573b(_0x48a0f1._0x46e990)](_0xc4573b(0xcd),[_0x47893f,_0x4ff245]),void 0x0;}async['inspectElement'](_0x3245b1){const _0x5ce1ee={_0x412cb1:0x10f,_0x276fe8:0xb1},_0x1fd411=_0x489524;this[_0x1fd411(0xd9)](_0x1fd411(_0x5ce1ee._0x412cb1),[_0x3245b1]);if(_0x3245b1[_0x1fd411(0xb1)]['length']!==0x1||_0x3245b1[_0x1fd411(_0x5ce1ee._0x276fe8)][0x0][_0x1fd411(0xf0)]!=='ref')return null;const _0x441d8f=_0x3245b1['steps'][0x0][_0x1fd411(0xda)],_0x1327bf=this[_0x1fd411(0x124)][_0x1fd411(0xca)]?.[_0x441d8f];return _0x1327bf??null;}async[_0x489524(0xaa)](_0x3254e2){const _0x29dd0a=_0x489524;return this[_0x29dd0a(0xd9)](_0x29dd0a(0xaa),[_0x3254e2]),Buffer[_0x29dd0a(0xc2)]('fake-png');}async[_0x489524(0x11a)](_0x3729f8){const _0x4553f2={_0x556f4e:0xd9,_0x51df25:0xb1,_0x4ddb80:0xc4,_0x43dd9b:0xf0,_0x2c47d9:0xda,_0x55677a:0xb1,_0x590fa8:0xda,_0x4f25f5:0x105},_0x2ff06a=_0x489524;this[_0x2ff06a(_0x4553f2._0x556f4e)]('outerHTML',[_0x3729f8]);if(_0x3729f8[_0x2ff06a(_0x4553f2._0x51df25)][_0x2ff06a(_0x4553f2._0x4ddb80)]===0x1&&_0x3729f8['steps'][0x0][_0x2ff06a(_0x4553f2._0x43dd9b)]===_0x2ff06a(_0x4553f2._0x2c47d9)){const _0x4d6862=_0x3729f8[_0x2ff06a(_0x4553f2._0x55677a)][0x0][_0x2ff06a(_0x4553f2._0x590fa8)];return this[_0x2ff06a(0x124)][_0x2ff06a(_0x4553f2._0x4f25f5)]?.[_0x4d6862]??'<div\x20data-unotest-ref=\x22'+_0x4d6862+_0x2ff06a(0x121);}return'<div></div>';}},FakeContext=class{constructor(_0x5d06a3,_0x451498,_0x5b8069){const _0x5cb520={_0x2ddaa1:0x124,_0x1d852b:0xed,_0x33effd:0xdd,_0xbb56f0:0xe4},_0x2a8e61=_0x489524;this['recorder']=_0x5d06a3,this[_0x2a8e61(_0x5cb520._0x2ddaa1)]=_0x451498,this[_0x2a8e61(_0x5cb520._0x1d852b)]=_0x5b8069;const _0x200ca8=new FakePage(_0x5d06a3,_0x451498,_0x5b8069+'.page0',_0x451498[_0x2a8e61(0x119)]??_0x2a8e61(0xdb));_0x451498[_0x2a8e61(0x114)]&&(_0x200ca8[_0x2a8e61(_0x5cb520._0x33effd)]=()=>{const _0x117f5f=_0x2a8e61;this[_0x117f5f(0x109)](_0x451498[_0x117f5f(0x114)]);}),this[_0x2a8e61(0x123)]=[_0x200ca8],this[_0x2a8e61(0xe8)]={..._0x451498[_0x2a8e61(_0x5cb520._0xbb56f0)]??{}},this[_0x2a8e61(0x10a)]={..._0x451498[_0x2a8e61(0xb8)]??{}};}['recorder'];[_0x489524(0x124)];['scope'];static{__name(this,_0x489524(0xee));}['pageList'];[_0x489524(0xf1)]=0x0;[_0x489524(0xf6)]=[];['localStorageState'];[_0x489524(0x10a)];[_0x489524(0xce)]=new Set();[_0x489524(0xd9)](_0xb9a6fe,_0x4e2d75){const _0x18ffd6={_0x471d8d:0xf4,_0x293478:0xed},_0x585d1a=_0x489524;this[_0x585d1a(0x120)][_0x585d1a(_0x18ffd6._0x471d8d)]({'scope':this[_0x585d1a(_0x18ffd6._0x293478)],'method':_0xb9a6fe,'args':_0x4e2d75});}[_0x489524(0xb2)](){const _0x216d05={_0x1c4fb2:0x123},_0x44526f=_0x489524;return this[_0x44526f(_0x216d05._0x1c4fb2)];}['activePage'](){const _0x3f8c42={_0x2f3720:0x123,_0x4287f1:0xf1},_0x520691=_0x489524,_0x5327cd=this[_0x520691(_0x3f8c42._0x2f3720)][this['activeIdx']];if(!_0x5327cd)throw new DriverError(_0x520691(0xbb),{'activeIdx':this[_0x520691(_0x3f8c42._0x4287f1)]});return _0x5327cd;}[_0x489524(0xa6)](){const _0x3cb05f=_0x489524;return this['behavior'][_0x3cb05f(0xa6)]??[];}[_0x489524(0x11c)](){const _0x58847f={_0x1e0b8e:0x124,_0x22f286:0x11c},_0x346ce2=_0x489524;return this[_0x346ce2(_0x58847f._0x1e0b8e)][_0x346ce2(_0x58847f._0x22f286)]??[];}async[_0x489524(0xc6)](_0x515bdf){const _0xb8e4d6={_0x3a23f0:0xc4,_0x2d171a:0xc4,_0x4b4e65:0xf6},_0x4ebce0=_0x489524;this['record']('setActivePage',[_0x515bdf]);if(_0x515bdf<0x0||_0x515bdf>=this[_0x4ebce0(0x123)][_0x4ebce0(_0xb8e4d6._0x3a23f0)])throw new DriverError(_0x4ebce0(0x128),{'index':_0x515bdf,'available':this[_0x4ebce0(0x123)][_0x4ebce0(_0xb8e4d6._0x2d171a)]});this['activeIdx']=_0x515bdf,this[_0x4ebce0(_0xb8e4d6._0x4b4e65)][_0x4ebce0(0xc4)]=0x0;}[_0x489524(0x106)](_0x44cca3){const _0x3dc0ad={_0x5c953e:0xce},_0x8fcff1=_0x489524;return subscribe(this[_0x8fcff1(_0x3dc0ad._0x5c953e)],_0x44cca3);}[_0x489524(0x109)](_0x314a3d){const _0x18715c={_0x189068:0xfd,_0x341229:0x123,_0x2785e2:0x124,_0x563ae4:0xc4,_0x44ba4d:0xce},_0x3ddbb8=_0x489524,_0x44bce2=this[_0x3ddbb8(0xed)]+_0x3ddbb8(_0x18715c._0x189068)+this[_0x3ddbb8(_0x18715c._0x341229)][_0x3ddbb8(0xc4)],_0x5583fd=new FakePage(this['recorder'],this[_0x3ddbb8(_0x18715c._0x2785e2)],_0x44bce2,_0x314a3d);this['pageList'][_0x3ddbb8(0xf4)](_0x5583fd);const _0x2169c6=this[_0x3ddbb8(_0x18715c._0x341229)][_0x3ddbb8(_0x18715c._0x563ae4)]-0x1;for(const _0x14575c of this[_0x3ddbb8(_0x18715c._0x44ba4d)]){try{_0x14575c({'index':_0x2169c6,'url':_0x314a3d});}catch{}}return _0x2169c6;}[_0x489524(0x108)](_0x5649b9){const _0x3f99c3={_0x353416:0xc4,_0x4ba2b9:0x123,_0x35d85c:0xc8},_0x2bdc76=_0x489524;if(_0x5649b9<0x0||_0x5649b9>=this[_0x2bdc76(0x123)][_0x2bdc76(_0x3f99c3._0x353416)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x5649b9,'available':this[_0x2bdc76(_0x3f99c3._0x4ba2b9)][_0x2bdc76(_0x3f99c3._0x353416)]});this[_0x2bdc76(0x123)][_0x2bdc76(_0x3f99c3._0x35d85c)](_0x5649b9,0x1);}async[_0x489524(0xbc)](_0x45a8ac){const _0x16dde7={_0x10cebf:0xd9,_0x4a1378:0xbc,_0x4caba2:0xd7,_0x377251:0xf4},_0x291c1a=_0x489524;this[_0x291c1a(_0x16dde7._0x10cebf)](_0x291c1a(_0x16dde7._0x4a1378),[_0x45a8ac]);if(!_0x45a8ac['steps']['length'])throw new LocatorError(_0x291c1a(_0x16dde7._0x4caba2),{'locator':_0x45a8ac});this['frameStack'][_0x291c1a(_0x16dde7._0x377251)](_0x45a8ac);}async[_0x489524(0xbf)](){const _0x16f4c4={_0x5f0d0a:0xc4,_0x5a0d6d:0xf9},_0x1679fe=_0x489524;this[_0x1679fe(0xd9)]('exitFrame',[]);if(this['frameStack'][_0x1679fe(_0x16f4c4._0x5f0d0a)]===0x0)throw new DriverError(_0x1679fe(0x112),{});this['frameStack'][_0x1679fe(_0x16f4c4._0x5a0d6d)]();}async['setLocalStorage'](_0x221f34,_0x4f9589){const _0x5efc12={_0x3842f5:0xf3,_0xa096c3:0xe8},_0x264b7e=_0x489524;this[_0x264b7e(0xd9)](_0x264b7e(_0x5efc12._0x3842f5),[_0x221f34,_0x4f9589]),this[_0x264b7e(_0x5efc12._0xa096c3)][_0x221f34]=_0x4f9589;}async[_0x489524(0x111)](_0x416e4f){const _0x57b09b={_0x344960:0xd9},_0x187402=_0x489524;return this[_0x187402(_0x57b09b._0x344960)]('getLocalStorage',[_0x416e4f]),this[_0x187402(0xe8)][_0x416e4f]??null;}async['setCookie'](_0x57625d,_0x3339cf,_0x4b9dcd){const _0x3eabb5={_0x30b4f2:0xd9},_0x99306d=_0x489524;this[_0x99306d(_0x3eabb5._0x30b4f2)](_0x99306d(0xc9),[_0x57625d,_0x3339cf,_0x4b9dcd]),this['cookieState'][_0x57625d]=_0x3339cf;}async[_0x489524(0xd4)](_0x2d6303){const _0x3634c4={_0x4569d7:0x10a},_0x580dde=_0x489524;return this[_0x580dde(0xd9)](_0x580dde(0xd4),[_0x2d6303]),this[_0x580dde(_0x3634c4._0x4569d7)][_0x2d6303]??null;}async[_0x489524(0x107)](_0x2a13c9){const _0x1cdecf={_0x249c7b:0xd9},_0x5d0fc3=_0x489524;this[_0x5d0fc3(_0x1cdecf._0x249c7b)](_0x5d0fc3(0x107),[_0x2a13c9]);}async[_0x489524(0xba)](_0x22723e){const _0x56820a=_0x489524;return this[_0x56820a(0xd9)](_0x56820a(0xba),[_0x22723e]),void 0x0;}async['close'](){const _0x185529=_0x489524;this[_0x185529(0xd9)]('close',[]);}['frameDepth'](){const _0x293629=_0x489524;return this['frameStack'][_0x293629(0xc4)];}},FakeWebDriver=class{constructor(_0x402a7f={}){const _0x4977cf={_0x12da39:0x124},_0x4217ff=_0x489524;this[_0x4217ff(_0x4977cf._0x12da39)]=_0x402a7f,this['recorder']=createRecorder();}[_0x489524(0x124)];static{__name(this,_0x489524(0xa8));}[_0x489524(0xfc)]=![];[_0x489524(0x120)];[_0x489524(0xd1)]=[];async[_0x489524(0x101)](_0xf4f548){const _0x3585c1={_0x22432a:0xf4,_0x3ba80b:0xad,_0x31be4b:0x101,_0x34cc38:0xfc},_0x57f724=_0x489524;this['recorder'][_0x57f724(_0x3585c1._0x22432a)]({'scope':_0x57f724(_0x3585c1._0x3ba80b),'method':_0x57f724(_0x3585c1._0x31be4b),'args':[_0xf4f548]}),this[_0x57f724(_0x3585c1._0x34cc38)]=!![];}async[_0x489524(0x115)](_0x42293a){const _0x24fab0={_0x4d5615:0x120,_0x1851da:0xf4,_0x16d7ce:0x11b,_0x5e1fb6:0x124,_0x15fa1e:0xe7,_0x2e1d62:0xc4,_0x4de750:0xf4},_0x38544a=_0x489524;this[_0x38544a(_0x24fab0._0x4d5615)][_0x38544a(_0x24fab0._0x1851da)]({'scope':'driver','method':'newContext','args':[_0x42293a]});if(!this[_0x38544a(0xfc)])throw new DriverError(_0x38544a(_0x24fab0._0x16d7ce),{});const _0x38567c=new FakeContext(this[_0x38544a(_0x24fab0._0x4d5615)],this[_0x38544a(_0x24fab0._0x5e1fb6)],_0x38544a(_0x24fab0._0x15fa1e)+this['contexts'][_0x38544a(_0x24fab0._0x2e1d62)]);return this[_0x38544a(0xd1)][_0x38544a(_0x24fab0._0x4de750)](_0x38567c),_0x38567c;}async[_0x489524(0xe2)](){const _0x428667={_0x3f49f0:0x120,_0x2d1a1f:0xf4},_0x16734a=_0x489524;this[_0x16734a(_0x428667._0x3f49f0)][_0x16734a(_0x428667._0x2d1a1f)]({'scope':_0x16734a(0xad),'method':'close','args':[]}),this['launched']=![];}[_0x489524(0xe6)](){return void 0x0;}async[_0x489524(0x113)](){const _0x50aa08=_0x489524;throw new DriverError(_0x50aa08(0xd5),{});}[_0x489524(0x11f)](){const _0x3eafd4=_0x489524;throw new DriverError(_0x3eafd4(0xb5),{});}['calls'](){const _0x1003b7=_0x489524;return this[_0x1003b7(0x120)]['calls']();}[_0x489524(0x103)](_0xbe83ec){const _0x482897=_0x489524;return this[_0x482897(0x120)]['calls']()[_0x482897(0xb4)](_0x504093=>_0x504093[_0x482897(0xf5)]===_0xbe83ec);}};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';