@unotest/web 0.48.0 → 0.49.1

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.
@@ -1 +1 @@
1
- var _0x284e94=_0xc922;(function(_0x986268,_0x498814){var _0x14091a={_0x493284:0xd1,_0x3b5fd6:0xf0,_0x164806:0xfd,_0x1c3454:0xcb,_0x58333f:0xe7},_0x565915=_0xc922,_0x1e06ab=_0x986268();while(!![]){try{var _0xb903f9=-parseInt(_0x565915(_0x14091a._0x493284))/0x1+-parseInt(_0x565915(_0x14091a._0x3b5fd6))/0x2+-parseInt(_0x565915(_0x14091a._0x164806))/0x3+parseInt(_0x565915(0xac))/0x4*(parseInt(_0x565915(0xe4))/0x5)+parseInt(_0x565915(_0x14091a._0x1c3454))/0x6*(-parseInt(_0x565915(_0x14091a._0x58333f))/0x7)+parseInt(_0x565915(0xfc))/0x8+parseInt(_0x565915(0xb6))/0x9;if(_0xb903f9===_0x498814)break;else _0x1e06ab['push'](_0x1e06ab['shift']());}catch(_0x5b0213){_0x1e06ab['push'](_0x1e06ab['shift']());}}}(_0x3e24,0x7294d));var __defProp=Object[_0x284e94(0x9f)],__name=(_0x1d0bbf,_0x1546d2)=>__defProp(_0x1d0bbf,_0x284e94(0xf7),{'value':_0x1546d2,'configurable':!![]});import{z as _0x1a03f7}from'zod';import{z}from'zod';import{levenshteinDistance}from'@unotest/core';var MAX_EDITS=0x2;function closestKey(_0x1050a2,_0x1fcced){var _0x2c9086={_0x4630d5:0xc2},_0x31e07=_0x284e94;let _0x38c020;for(const _0x3de81d of _0x1fcced){const _0x2cfb2f=levenshteinDistance(_0x1050a2[_0x31e07(_0x2c9086._0x4630d5)](),_0x3de81d['toLowerCase']());if(_0x2cfb2f>MAX_EDITS)continue;if(_0x38c020===void 0x0||_0x2cfb2f<_0x38c020['distance'])_0x38c020={'key':_0x3de81d,'distance':_0x2cfb2f};}return _0x38c020?.['key'];}__name(closestKey,_0x284e94(0xc3));function unknownKeyMessage(_0x470716,_0x2a7ad1){var _0x248f5d={_0x1921f9:0xe5},_0x3a228f={_0xb4612e:0xb4,_0x165fc7:0xc9},_0x403e0d=_0x284e94;return _0x470716[_0x403e0d(_0x248f5d._0x1921f9)](_0x38799d=>{var _0x4ec41e=_0x403e0d;const _0x51de11=closestKey(_0x38799d,_0x2a7ad1);return _0x51de11===void 0x0?_0x4ec41e(_0x3a228f._0xb4612e)+_0x38799d+_0x4ec41e(_0x3a228f._0x165fc7):_0x4ec41e(_0x3a228f._0xb4612e)+_0x38799d+'\x22\x20—\x20did\x20you\x20mean\x20\x22'+_0x51de11+'\x22?';})[_0x403e0d(0xf9)](';\x20');}function _0xc922(_0x11bfae,_0x107e05){_0x11bfae=_0x11bfae-0x99;var _0x3e24cf=_0x3e24();var _0xc922d3=_0x3e24cf[_0x11bfae];if(_0xc922['aMqSys']===undefined){var _0x45a93b=function(_0x2959de){var _0x13385c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1a03f7='',_0x3868fd='';for(var _0x1d0bbf=0x0,_0x1546d2,_0x1050a2,_0x1fcced=0x0;_0x1050a2=_0x2959de['charAt'](_0x1fcced++);~_0x1050a2&&(_0x1546d2=_0x1d0bbf%0x4?_0x1546d2*0x40+_0x1050a2:_0x1050a2,_0x1d0bbf++%0x4)?_0x1a03f7+=String['fromCharCode'](0xff&_0x1546d2>>(-0x2*_0x1d0bbf&0x6)):0x0){_0x1050a2=_0x13385c['indexOf'](_0x1050a2);}for(var _0x38c020=0x0,_0x3de81d=_0x1a03f7['length'];_0x38c020<_0x3de81d;_0x38c020++){_0x3868fd+='%'+('00'+_0x1a03f7['charCodeAt'](_0x38c020)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3868fd);};_0xc922['YLEJAN']=_0x45a93b,_0xc922['xgqSKO']={},_0xc922['aMqSys']=!![];}var _0x354e3b=_0x3e24cf[0x0],_0x3f53d9=_0x11bfae+_0x354e3b,_0x4c68ed=_0xc922['xgqSKO'][_0x3f53d9];return!_0x4c68ed?(_0xc922d3=_0xc922['YLEJAN'](_0xc922d3),_0xc922['xgqSKO'][_0x3f53d9]=_0xc922d3):_0xc922d3=_0x4c68ed,_0xc922d3;}__name(unknownKeyMessage,'unknownKeyMessage');function strictObject(_0x458f65){var _0x567af4={_0x284bdb:0xa5},_0x1a9cbb=_0x284e94;const _0x3c5f2f=Object[_0x1a9cbb(_0x567af4._0x284bdb)](_0x458f65);return z['object'](_0x458f65,{'errorMap':__name((_0x406172,_0x423858)=>_0x406172[_0x1a9cbb(0xc4)]===z[_0x1a9cbb(0xbe)][_0x1a9cbb(0x99)]?{'message':unknownKeyMessage(_0x406172['keys'],_0x3c5f2f)}:{'message':_0x423858[_0x1a9cbb(0xb5)]},_0x1a9cbb(0x104))})[_0x1a9cbb(0xbc)]();}__name(strictObject,_0x284e94(0xba));import{BUNDLED_BROWSER_CHANNEL}from'@unotest/protocol';import{z as _0x3868fd}from'zod';import{UnotestError}from'@unotest/core';var LaunchConfigSchema=_0x3868fd[_0x284e94(0xde)]({'userDataDir':_0x3868fd[_0x284e94(0xec)]()['min'](0x1)[_0x284e94(0x9a)](),'profile':_0x3868fd['literal']('per-test')[_0x284e94(0x9a)](),'args':_0x3868fd['array'](_0x3868fd[_0x284e94(0xec)]()['min'](0x1))[_0x284e94(0x9a)]()})[_0x284e94(0xbc)](),BrowserSchema=_0x1a03f7[_0x284e94(0xd3)]([_0x284e94(0x9b),_0x284e94(0xbb),_0x284e94(0xca)]),SYSTEM_BROWSER_CHANNELS=['chrome',_0x284e94(0xa6),_0x284e94(0xad),'chromium'],BROWSER_CHANNEL_WORDS=[...SYSTEM_BROWSER_CHANNELS,BUNDLED_BROWSER_CHANNEL],BrowserChannelSchema=_0x1a03f7['union']([_0x1a03f7[_0x284e94(0xd3)](SYSTEM_BROWSER_CHANNELS),_0x1a03f7[_0x284e94(0xce)](BUNDLED_BROWSER_CHANNEL)[_0x284e94(0xbd)](()=>null),_0x1a03f7[_0x284e94(0xb9)]()])['optional'](),ViewportSchema=strictObject({'width':_0x1a03f7['number']()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()[_0x284e94(0x9a)](),'height':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()[_0x284e94(0x9a)](),'deviceScaleFactor':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0xf8)]()['optional']()}),ConfigViewportSchema=ViewportSchema[_0x284e94(0xd0)](),RetryReasonSchema=_0x1a03f7[_0x284e94(0xd3)]([_0x284e94(0xe0),_0x284e94(0xfe),_0x284e94(0xea)]),RetryConfigSchema=strictObject({'count':_0x1a03f7['number']()[_0x284e94(0x101)]()[_0x284e94(0xc0)](0x0)[_0x284e94(0xc5)](0xa),'on':_0x1a03f7['array'](RetryReasonSchema)}),FailureBundleConfigSchema=strictObject({'tier1':_0x1a03f7[_0x284e94(0xce)](!![])[_0x284e94(0xb0)](!![]),'tier2':_0x1a03f7['boolean'](),'tier3':strictObject({'network':_0x1a03f7[_0x284e94(0xdd)](),'video':_0x1a03f7['boolean']()}),'retention':strictObject({'runs':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)](),'days':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()['positive']()}),'storageDir':_0x1a03f7['string']()[_0x284e94(0xc0)](0x1),'pageHtml':_0x1a03f7[_0x284e94(0xd3)](['redacted',_0x284e94(0x9e)])}),DialogPolicySchema=_0x1a03f7[_0x284e94(0xd3)](['accept','dismiss',_0x284e94(0xae)]),LinterRuleIdSchema=_0x1a03f7[_0x284e94(0xd3)]([_0x284e94(0xcf),_0x284e94(0xdf),_0x284e94(0xb3),_0x284e94(0xe1),_0x284e94(0xef),_0x284e94(0xd7),_0x284e94(0xd4),_0x284e94(0xd8),_0x284e94(0xed),'lint:regex-invalid','lint:echo-assert',_0x284e94(0xa0),_0x284e94(0xfa),'lint:flow-returns-value',_0x284e94(0xc6),_0x284e94(0xcd),_0x284e94(0xb2),_0x284e94(0xa4),_0x284e94(0xb8),'lint:skip-outside-test','lint:set-test-timeout-outside-test',_0x284e94(0xe6),'validator:arity',_0x284e94(0x102),_0x284e94(0xf3),_0x284e94(0xf5),_0x284e94(0xf1),_0x284e94(0xe3),_0x284e94(0xeb),_0x284e94(0xa8),_0x284e94(0x100),_0x284e94(0xdb),'validator:unsupported-expression',_0x284e94(0xe8),_0x284e94(0xd9),_0x284e94(0xd2),_0x284e94(0xe2)]),LinterSeveritySchema=_0x1a03f7[_0x284e94(0xd3)]([_0x284e94(0xa1),'warn',_0x284e94(0xfb)]),LinterConfigSchema=strictObject({'enabled':_0x1a03f7[_0x284e94(0xdd)](),'rules':_0x1a03f7[_0x284e94(0xc1)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=strictObject({'enabled':_0x1a03f7[_0x284e94(0xdd)]()[_0x284e94(0xb0)](!![]),'concurrency':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()[_0x284e94(0xb0)](0x1)}),ScheduleSchema=strictObject({'collection':_0x1a03f7['string']()[_0x284e94(0xc0)](0x1),'cron':_0x1a03f7['string']()[_0x284e94(0xc0)](0x1),'env':_0x1a03f7['string']()['min'](0x1)[_0x284e94(0x9a)](),'prepare':_0x1a03f7['string']()[_0x284e94(0xc0)](0x1)['optional']()}),McpConfigSchema=strictObject({'transport':_0x1a03f7['literal'](_0x284e94(0xc7))}),SandboxConfigSchema=strictObject({'shellCwd':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0x9a)](),'shellTimeoutMs':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()['optional'](),'exportSecrets':_0x1a03f7['array'](_0x1a03f7[_0x284e94(0xec)]())[_0x284e94(0x9a)](),'database':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0x9a)](),'apiBaseUrl':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xa2)]()[_0x284e94(0x9a)](),'uploadDir':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0x9a)](),'readRoots':_0x1a03f7['array'](_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xc0)](0x1))[_0x284e94(0x9a)]()}),WebServerConfigSchema=strictObject({'command':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xc0)](0x1),'url':_0x1a03f7['string']()[_0x284e94(0xa2)](),'reuseExistingServer':_0x1a03f7['boolean']()[_0x284e94(0xb0)](!![]),'timeoutMs':_0x1a03f7['number']()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()['default'](0xea60)}),WebServersConfigSchema=_0x1a03f7['union']([WebServerConfigSchema,_0x1a03f7[_0x284e94(0xbf)](WebServerConfigSchema)[_0x284e94(0xc0)](0x1)])[_0x284e94(0xbd)](_0x3332c3=>Array['isArray'](_0x3332c3)?_0x3332c3:[_0x3332c3])[_0x284e94(0xd5)]((_0x243e60,_0x18cddc)=>{var _0x44f4f3={_0x23be9c:0xf2},_0x50aa35={_0x385eb6:0xa2,_0x5a9611:0xee,_0x493a79:0xbe,_0x1253ce:0xff,_0x43f163:0xaf,_0x216d8b:0xa2,_0x4cf873:0xdc},_0x13c772=_0x284e94;const _0x48fd22=new Set();_0x243e60[_0x13c772(_0x44f4f3._0x23be9c)]((_0x46017c,_0x4aef55)=>{var _0x5abdf1=_0x13c772;_0x48fd22['has'](_0x46017c[_0x5abdf1(_0x50aa35._0x385eb6)])&&_0x18cddc[_0x5abdf1(_0x50aa35._0x5a9611)]({'code':_0x1a03f7[_0x5abdf1(_0x50aa35._0x493a79)][_0x5abdf1(0x103)],'path':[_0x4aef55,_0x5abdf1(0xa2)],'message':_0x5abdf1(_0x50aa35._0x1253ce)+_0x4aef55+_0x5abdf1(_0x50aa35._0x43f163)+_0x46017c[_0x5abdf1(_0x50aa35._0x216d8b)]+_0x5abdf1(_0x50aa35._0x4cf873)}),_0x48fd22['add'](_0x46017c['url']);});}),EnvConfigSchema=strictObject({'shared':_0x1a03f7[_0x284e94(0xbf)](_0x1a03f7[_0x284e94(0xec)]())['default']([])}),UnotestConfigSchema=strictObject({'baseUrl':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xa2)]()[_0x284e94(0x9a)](),'webServer':WebServersConfigSchema['optional'](),'browsers':_0x1a03f7[_0x284e94(0xbf)](BrowserSchema)['min'](0x1),'channel':BrowserChannelSchema,'viewport':ConfigViewportSchema['optional'](),'device':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xc0)](0x1)[_0x284e94(0x9a)](),'timezone':_0x1a03f7[_0x284e94(0xec)]()['refine'](isTimeZone,_0x14c84a=>({'message':_0x284e94(0xaa)+_0x14c84a+_0x284e94(0xc8)}))[_0x284e94(0x9a)](),'locale':_0x1a03f7[_0x284e94(0xec)]()['refine'](isLocale,_0x5cca55=>({'message':_0x284e94(0xa3)+_0x5cca55+_0x284e94(0xa7)}))[_0x284e94(0x9a)](),'maxContexts':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()[_0x284e94(0x9a)](),'launch':LaunchConfigSchema[_0x284e94(0x9a)](),'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0x9a)](),'testDir':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xc0)](0x1),'helpersDir':_0x1a03f7[_0x284e94(0xec)]()[_0x284e94(0xc0)](0x1),'defaultTimeoutMs':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)](),'defaultNavigationTimeoutMs':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)](),'teardownTimeoutMs':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()['optional'](),'testTimeoutMs':_0x1a03f7[_0x284e94(0xf4)]()[_0x284e94(0x101)]()[_0x284e94(0xf8)]()[_0x284e94(0x9a)](),'env':EnvConfigSchema,'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':_0x1a03f7[_0x284e94(0xbf)](ScheduleSchema)[_0x284e94(0xb0)]([]),'sandbox':SandboxConfigSchema})[_0x284e94(0xd5)]((_0x271d11,_0x3e463b)=>{var _0x385c87={_0x41835d:0xb1,_0x64d7c0:0x103,_0x3f64b2:0xcc,_0x115bfd:0xd6},_0x241c68=_0x284e94;_0x271d11[_0x241c68(_0x385c87._0x41835d)]===null&&_0x271d11[_0x241c68(0xf6)]!==void 0x0&&_0x3e463b[_0x241c68(0xee)]({'code':_0x1a03f7[_0x241c68(0xbe)][_0x241c68(_0x385c87._0x64d7c0)],'path':[_0x241c68(0xb1)],'message':_0x241c68(_0x385c87._0x3f64b2)+_0x271d11['device']+_0x241c68(_0x385c87._0x115bfd)});});function isTimeZone(_0x1e8667){var _0x345a88=_0x284e94;try{return new Intl['DateTimeFormat'](_0x345a88(0xab),{'timeZone':_0x1e8667}),_0x1e8667[_0x345a88(0x9c)]>0x0;}catch{return![];}}__name(isTimeZone,'isTimeZone');function _0x3e24(){var _0x4df6da=['BNvSBgfIBgu','mZiXmZi2Cvz2s3jg','DMfSAwrHDg9YoMXPC3qTyxjN','zw51Bq','BgLUDdPZy2vUyxjPBY1PBI1YB290','C3vWzxjszwzPBMu','iIbZzxrZigL0CYbVD24GC2L6zsbHBMqGC2nHBguG4OcuigrYB3aGB25Lig9MihrOzw0U','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','BgLUDdPTDxn0ywnOzs1PBI1KC2W','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','CMvKywn0zwq','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','igLZigfSCMvHzhKGyw5VDgHLCIbZzxj2zxiNCYdIGjqGzwfJAcbZzxj2zxiGBMvLzhmGAxrZig93BIbYzwfKAw5LC3mGvvjmlG','yM9VBgvHBG','B2jQzwn0','BgLUDdP4Cgf0Aa','DhjHBNnPzw50','BgLUDdPWyxvZzs1LEhbSAwnPDa','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','otqXmfLfs0XSyW','BwfW','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','nZC2m3nyvgrpsa','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','z2v0q2fUB25Py2fStg9JywXLCW','y3jHC2G','DMfSAwrHDg9YoMzVCI1ZAgfWzq','C3rYAw5N','BgLUDdPNB3rVlwnVBMnHDa','ywrKsxnZDwu','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','mteXotmXnLHACeHgCG','DMfSAwrHDg9YoM1LDgeTC2HHCgu','zM9YrwfJAa','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','BNvTyMvY','DMfSAwrHDg9YoNn0zxaTC2HHCgu','zgv2AwnL','BMfTzq','Cg9ZAxrPDMu','AM9PBG','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','zxjYB3i','mZe2mtG4mgTNyLDJsq','ntqZmdy2v1boBgrS','BMv0D29YAW','D2vIu2vYDMvYwW','DMfSAwrHDg9YoNzHCI1ZAgfWzq','Aw50','DMfSAwrHDg9YoMfYzY1RAw5K','y3vZDg9T','zxjYB3jnyxa','Dw5YzwnVz25PEMvKx2TLExm','B3b0Aw9UywW','y2HYB21PDw0','BgvUz3rO','D2fYBG','zNvSBa','zgvMAw5LuhjVCgvYDhK','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','B2zM','DxjS','Aw52ywXPzcbSB2nHBguGiG','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq','A2v5CW','BxnLzgDL','iIdIGjqGzxHWzwn0zwqGysbcq1aGndCGDgfNihn1y2GGyxmGiMvZluvtiG','DMfSAwrHDg9YoMLMlxnOyxbL','lNvUB3rLC3qVzMfPBhvYzxm','Dw5RBM93BIb0Aw1LihPVBMuGiG','zw4Tvvm','nZaWvMvkrxnY','y2HYB21LlwjLDge','BwfUDwfS','xs51CMWG','zgvMyxvSDa','DMLLD3bVCNq','BgLUDdPLBNyTAg9ZDc1MCM9TlwjHC2u','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','Dw5RBM93BIbRzxKGiG','zgvMyxvSDevYCM9Y','mtmXnZK0ndDoA2LJqwC','ywnJzxb0','BgLUDdPZAgfKB3DZlwrZBc1MDw5JDgLVBG','BNvSBa','C3rYAwn0t2jQzwn0','zMLYzwzVEa','C3rYAwn0','DhjHBNnMB3jT','wM9KsxnZDwvdB2rL','yxjYyxK','BwLU','CMvJB3jK','Dg9mB3DLCKnHC2u','y2XVC2vZDeTLEq','y29Kzq','Bwf4','BgLUDdPSzwDHy3KTBgf5B3v0','C3rKAw8','iIdIGjqGzxHWzwn0zwqGyw4GsufoqsbUyw1Lihn1y2GGyxmGiKv1CM9Wzs9nywrYAwqI','iIdIGjqGBM90igeGy29UzMLNigTLEtSGy2HLy2SGEw91CIbaDw5VDgvZDc93zwiGDMvYC2LVBIbPzIbPDcbJB21LCYbMCM9TigeGBMv3zxiGCMvSzwfZzq','D2vIA2L0','mZu1ogzWwLfWEa','DMLLD3bVCNq6ig51BgWGA2vLChmGDgHLihjLywWGyNjVD3nLCIb3Aw5KB3CSigfUzcbKzxzPy2uGiG','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','BgL0zxjHBa','BgLUDdPKzwvWlwnZCW'];_0x3e24=function(){return _0x4df6da;};return _0x3e24();}function isLocale(_0x161691){var _0x2ada93={_0x5764f1:0xe9,_0x463899:0x9c},_0x194d7d=_0x284e94;try{return Intl[_0x194d7d(_0x2ada93._0x5764f1)](_0x161691)[_0x194d7d(_0x2ada93._0x463899)]===0x1;}catch{return![];}}__name(isLocale,'isLocale');var DEFAULT_CONFIG={'browsers':[_0x284e94(0x9b)],'retry':{'count':0x0,'on':[_0x284e94(0xe0)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x284e94(0xa9),'pageHtml':_0x284e94(0xda)},'dialogPolicy':_0x284e94(0xb7),'testDir':'unotest/e2e','helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x284e94(0x9d),'lint:xpath':'warn','lint:obfuscated-class':'warn','lint:pause-explicit':_0x284e94(0x9d),'lint:disambig-by-index':_0x284e94(0xa1),'lint:evaluate-discouraged':'warn','lint:scenario-in-root':_0x284e94(0xfb),'lint:mustache-in-dsl':_0x284e94(0xfb),'lint:goto-concat':_0x284e94(0x9d),'lint:regex-invalid':_0x284e94(0xfb),'lint:echo-assert':'warn','lint:lint-ok-missing-reason':'warn','lint:flow-returns-value':_0x284e94(0x9d),'lint:legacy-layout':'warn','lint:external-variable-undeclared':'error','lint:env-host-from-base':_0x284e94(0xfb),'lint:one-test-per-file':_0x284e94(0x9d),'lint:shadows-dsl-function':_0x284e94(0x9d),'lint:skip-outside-test':_0x284e94(0xfb),'lint:set-test-timeout-outside-test':_0x284e94(0xfb),'validator:unknown-function':_0x284e94(0xfb)}},'env':{'shared':[]},'mcp':{'transport':_0x284e94(0xc7)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};export{BROWSER_CHANNEL_WORDS,BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,EnvConfigSchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SYSTEM_BROWSER_CHANNELS,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema,WebServersConfigSchema};
1
+ var _0x328995=_0x3b38;(function(_0x17508c,_0x5578d0){var _0x118a28={_0x2ae2dc:0xed,_0x3df906:0xc6,_0x53e72c:0xe7,_0x479566:0xb0,_0x57d714:0xea},_0x6e890d=_0x3b38,_0x4ea66a=_0x17508c();while(!![]){try{var _0x4212b7=parseInt(_0x6e890d(_0x118a28._0x2ae2dc))/0x1+-parseInt(_0x6e890d(0xe0))/0x2+parseInt(_0x6e890d(0xb2))/0x3*(-parseInt(_0x6e890d(0xda))/0x4)+parseInt(_0x6e890d(_0x118a28._0x3df906))/0x5*(parseInt(_0x6e890d(0xa4))/0x6)+parseInt(_0x6e890d(0xde))/0x7*(parseInt(_0x6e890d(_0x118a28._0x53e72c))/0x8)+parseInt(_0x6e890d(_0x118a28._0x479566))/0x9*(-parseInt(_0x6e890d(0xc9))/0xa)+parseInt(_0x6e890d(_0x118a28._0x57d714))/0xb;if(_0x4212b7===_0x5578d0)break;else _0x4ea66a['push'](_0x4ea66a['shift']());}catch(_0x485d4d){_0x4ea66a['push'](_0x4ea66a['shift']());}}}(_0x9579,0x63ff9));var __defProp=Object[_0x328995(0xc5)],__name=(_0x42e225,_0x1c43f6)=>__defProp(_0x42e225,'name',{'value':_0x1c43f6,'configurable':!![]});import{z as _0x6719d3}from'zod';import{z}from'zod';import{levenshteinDistance}from'@unotest/core';var MAX_EDITS=0x2;function closestKey(_0x577072,_0xa332df){var _0x438773=_0x328995;let _0x1fa843;for(const _0x2e755e of _0xa332df){const _0x5e1bba=levenshteinDistance(_0x577072[_0x438773(0xb1)](),_0x2e755e[_0x438773(0xb1)]());if(_0x5e1bba>MAX_EDITS)continue;if(_0x1fa843===void 0x0||_0x5e1bba<_0x1fa843[_0x438773(0xac)])_0x1fa843={'key':_0x2e755e,'distance':_0x5e1bba};}return _0x1fa843?.[_0x438773(0xaa)];}__name(closestKey,_0x328995(0x9f));function unknownKeyMessage(_0x2417be,_0x34fd58){var _0x363226=_0x328995;return _0x2417be[_0x363226(0xdd)](_0x163a37=>{var _0x32cf85=_0x363226;const _0x3ca6af=closestKey(_0x163a37,_0x34fd58);return _0x3ca6af===void 0x0?'unknown\x20key\x20\x22'+_0x163a37+_0x32cf85(0xc8):'unknown\x20key\x20\x22'+_0x163a37+_0x32cf85(0xe4)+_0x3ca6af+'\x22?';})[_0x363226(0xe6)](';\x20');}__name(unknownKeyMessage,_0x328995(0xb3));function strictObject(_0x9e2911){var _0x1a2119={_0x366d7f:0xc2,_0x12f37d:0xdf},_0x204b4e=_0x328995;const _0x1cc4b0=Object[_0x204b4e(_0x1a2119._0x366d7f)](_0x9e2911);return z['object'](_0x9e2911,{'errorMap':__name((_0x31278a,_0xef323)=>_0x31278a[_0x204b4e(0xd7)]===z[_0x204b4e(0xd4)]['unrecognized_keys']?{'message':unknownKeyMessage(_0x31278a[_0x204b4e(0xc2)],_0x1cc4b0)}:{'message':_0xef323['defaultError']},_0x204b4e(0xc3))})[_0x204b4e(_0x1a2119._0x12f37d)]();}function _0x9579(){var _0x4df104=['rgf0zvrPBwvgB3jTyxq','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','DxjS','iIdIGjqGzxHWzwn0zwqGyw4GsufoqsbUyw1Lihn1y2GGyxmGiKv1CM9Wzs9nywrYAwqI','DhjHBNnMB3jT','BgL0zxjHBa','BgLUDdPSzwDHy3KTBgf5B3v0','BMv0D29YAW','zMLYzwzVEa','Dw5RBM93BIb0Aw1LihPVBMuGiG','BNvSBa','A2v5CW','zxjYB3jnyxa','DMfSAwrHDg9YoNn0zxaTC2HHCgu','zgvMAw5LuhjVCgvYDhK','nwLjCxL2rW','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','iIdIGjqGBM90igeGy29UzMLNigTLEtSGy2HLy2SGEw91CIbaDw5VDgvZDc93zwiGDMvYC2LVBIbPzIbPDcbJB21LCYbMCM9TigeGBMv3zxiGCMvSzwfZzq','ndiWnZeXmeXZBNvSEq','D2fYBG','DMfSAwrHDg9YoMfYzY1RAw5K','CMvKywn0zwq','ywrKsxnZDwu','lNvUB3rLC3qVzMfPBhvYzxm','CMvMAw5L','DMfSAwrHDg9YoMXPC3qTyxjN','zNvSBa','Aw52ywXPzcbSB2nHBguGiG','ywnJzxb0','wM9KsxnZDwvdB2rL','z2v0q2fUB25Py2fStg9JywXLCW','C3vWzxjszwzPBMu','y29Kzq','BgLUDdPZy2vUyxjPBY1PBI1YB290','C3rYAwn0t2jQzwn0','odC2nZC2u2rlwMvk','BgLUDdPWyxvZzs1LEhbSAwnPDa','yM9VBgvHBG','BwfW','mZaXnZiXsM96C0zv','C3rYAwn0','mte2nZaWnMz0u0njsq','AgfZ','ywrK','D2vIA2L0','iIdIGjqGzgLKihLVDsbTzwfUici','DMfSAwrHDg9YoMzVCI1ZAgfWzq','AM9PBG','og5qD0D6EG','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','CMvJB3jK','mteYntKWmdz1qLbsEhy','Aw50','Dw5VDgvZDc9LmMu','mtCZnJC0rMrXr2T6','iIbZzxrZigL0CYbVD24GC2L6zsbHBMqGC2nHBguG4OcuigrYB3aGB25Lig9MihrOzw0U','igLZigfSCMvHzhKGyw5VDgHLCIbZzxj2zxiNCYdIGjqGzwfJAcbZzxj2zxiGBMvLzhmGAxrZig93BIbYzwfKAw5LC3mGvvjmlG','BwLU','DMLLD3bVCNq','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','zgv2AwnL','igTLzxbZihrOzsbYzwfSigjYB3DZzxiGD2LUzg93lcbHBMqGzgv2AwnLici','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','Bwf4','B3b0Aw9UywW','DMfSAwrHDg9YoM1LDgeTC2HHCgu','B2zM','C3rYAw5N','DMLLD3bVCNq6ig51BgW','Dw5PB24','zxjYB3i','BgLUDdPZAgfKB3DZlwrZBc1MDw5JDgLVBG','zgvMyxvSDa','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','C3rKAw8','zw4Tvvm','BgLUDdPLBNyTAg9ZDc1MCM9TlwjHC2u','D2vIu2vYDMvYwW','BgvUz3rO','Cg9ZAxrPDMu','y2XVC2vZDeTLEq','AxnbCNjHEq','BgLUDdPNB3rVlwnVBMnHDa','BgLUDdPLy2HVlwfZC2vYDa','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','mZy3mtiZmNDoy0zysq','DMfSAwrHDg9YoMLMlxnOyxbL','zw51Bq','DhjHBNnPzw50','yxjYyxK','BwfUDwfS','A2v5','y3vZDg9T','zgLZDgfUy2u','BNvTyMvY','xs51CMWG','y3jHC2G','ouH2u2novq','Dg9mB3DLCKnHC2u','nNbvt3nnrW','Dw5RBM93BKTLEu1LC3nHz2u','y2HYB21LlwjLDge','BNvSBgfIBgu','BxnLzgDL'];_0x9579=function(){return _0x4df104;};return _0x9579();}__name(strictObject,_0x328995(0xd9));import{BUNDLED_BROWSER_CHANNEL}from'@unotest/protocol';import{z as _0x3f2e51}from'zod';import{UnotestError}from'@unotest/core';var LaunchConfigSchema=_0x3f2e51['object']({'userDataDir':_0x3f2e51[_0x328995(0xfb)]()[_0x328995(0xf0)](0x1)[_0x328995(0xf8)](),'profile':_0x3f2e51['literal']('per-test')[_0x328995(0xf8)](),'args':_0x3f2e51[_0x328995(0xa8)](_0x3f2e51[_0x328995(0xfb)]()['min'](0x1))[_0x328995(0xf8)]()})[_0x328995(0xdf)](),BrowserSchema=_0x6719d3[_0x328995(0xa6)](['chromium',_0x328995(0xbf),_0x328995(0xe3)]),SYSTEM_BROWSER_CHANNELS=['chrome',_0x328995(0xb6),_0x328995(0xb4),'chromium'],BROWSER_CHANNEL_WORDS=[...SYSTEM_BROWSER_CHANNELS,BUNDLED_BROWSER_CHANNEL],BrowserChannelSchema=_0x6719d3[_0x328995(0xfd)]([_0x6719d3[_0x328995(0xa6)](SYSTEM_BROWSER_CHANNELS),_0x6719d3[_0x328995(0xbc)](BUNDLED_BROWSER_CHANNEL)[_0x328995(0xbb)](()=>null),_0x6719d3[_0x328995(0xc1)]()])[_0x328995(0xf8)](),ViewportSchema=strictObject({'width':_0x6719d3[_0x328995(0xad)]()[_0x328995(0xeb)]()[_0x328995(0x9e)]()[_0x328995(0xf8)](),'height':_0x6719d3[_0x328995(0xad)]()['int']()[_0x328995(0x9e)]()[_0x328995(0xf8)](),'deviceScaleFactor':_0x6719d3[_0x328995(0xad)]()[_0x328995(0x9e)]()[_0x328995(0xf8)]()}),ConfigViewportSchema=ViewportSchema[_0x328995(0xb5)]();function viewportDeviceConflict(_0x1e2b3e,_0x12ebaf,_0x2a9565=_0x328995(0xfc)){var _0x14c125={_0xb9f81f:0xee},_0x16ebcd=_0x328995;if(_0x1e2b3e!==null||_0x12ebaf===void 0x0)return void 0x0;return _0x2a9565+_0x16ebcd(0xf5)+_0x12ebaf+_0x16ebcd(_0x14c125._0xb9f81f);}function _0x3b38(_0x2212ed,_0x433953){_0x2212ed=_0x2212ed-0x9a;var _0x957986=_0x9579();var _0x3b38fe=_0x957986[_0x2212ed];if(_0x3b38['NXbhIa']===undefined){var _0x3e9978=function(_0x4060c2){var _0x3f2f9d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x6719d3='',_0x3f2e51='';for(var _0x42e225=0x0,_0x1c43f6,_0x577072,_0xa332df=0x0;_0x577072=_0x4060c2['charAt'](_0xa332df++);~_0x577072&&(_0x1c43f6=_0x42e225%0x4?_0x1c43f6*0x40+_0x577072:_0x577072,_0x42e225++%0x4)?_0x6719d3+=String['fromCharCode'](0xff&_0x1c43f6>>(-0x2*_0x42e225&0x6)):0x0){_0x577072=_0x3f2f9d['indexOf'](_0x577072);}for(var _0x1fa843=0x0,_0x2e755e=_0x6719d3['length'];_0x1fa843<_0x2e755e;_0x1fa843++){_0x3f2e51+='%'+('00'+_0x6719d3['charCodeAt'](_0x1fa843)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3f2e51);};_0x3b38['yuWtEG']=_0x3e9978,_0x3b38['OYlcmI']={},_0x3b38['NXbhIa']=!![];}var _0x50298d=_0x957986[0x0],_0x2a1017=_0x2212ed+_0x50298d,_0x1838c0=_0x3b38['OYlcmI'][_0x2a1017];return!_0x1838c0?(_0x3b38fe=_0x3b38['yuWtEG'](_0x3b38fe),_0x3b38['OYlcmI'][_0x2a1017]=_0x3b38fe):_0x3b38fe=_0x1838c0,_0x3b38fe;}__name(viewportDeviceConflict,'viewportDeviceConflict');var RetryReasonSchema=_0x6719d3['enum']([_0x328995(0xa7),_0x328995(0xbe),_0x328995(0xaf)]),RetryConfigSchema=strictObject({'count':_0x6719d3['number']()['int']()[_0x328995(0xf0)](0x0)[_0x328995(0xf7)](0xa),'on':_0x6719d3[_0x328995(0xa8)](RetryReasonSchema)}),FailureBundleConfigSchema=strictObject({'tier1':_0x6719d3[_0x328995(0xbc)](!![])[_0x328995(0x100)](!![]),'tier2':_0x6719d3[_0x328995(0xdc)](),'tier3':strictObject({'network':_0x6719d3['boolean'](),'video':_0x6719d3[_0x328995(0xdc)]()}),'retention':strictObject({'runs':_0x6719d3[_0x328995(0xad)]()[_0x328995(0xeb)]()[_0x328995(0x9e)](),'days':_0x6719d3[_0x328995(0xad)]()[_0x328995(0xeb)]()[_0x328995(0x9e)]()}),'storageDir':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf0)](0x1),'pageHtml':_0x6719d3['enum'](['redacted',_0x328995(0xd1)])}),DialogPolicySchema=_0x6719d3[_0x328995(0xa6)]([_0x328995(0xd3),'dismiss',_0x328995(0xa9)]),LinterRuleIdSchema=_0x6719d3[_0x328995(0xa6)](['lint:deep-css','lint:xpath','lint:obfuscated-class',_0x328995(0xdb),_0x328995(0x102),_0x328995(0xb8),_0x328995(0xd8),'lint:mustache-in-dsl',_0x328995(0xa1),'lint:regex-invalid',_0x328995(0xa2),'lint:api-call-file-body',_0x328995(0x101),_0x328995(0xf2),_0x328995(0xbd),_0x328995(0xf6),_0x328995(0x9b),'lint:one-test-per-file',_0x328995(0xff),'lint:skip-outside-test','lint:set-test-timeout-outside-test','lint:filter-unknown-option','validator:unknown-function','validator:arity',_0x328995(0xcb),_0x328995(0xa3),_0x328995(0xc4),_0x328995(0xf9),_0x328995(0xc7),_0x328995(0xe5),_0x328995(0xa5),'validator:var-shape','validator:unsupported-statement','validator:unsupported-expression',_0x328995(0xe8),_0x328995(0xf3),_0x328995(0xd0),'validator:wrapped-format']),LinterSeveritySchema=_0x6719d3[_0x328995(0xa6)](['off',_0x328995(0xca),_0x328995(0xfe)]),LinterConfigSchema=strictObject({'enabled':_0x6719d3[_0x328995(0xdc)](),'rules':_0x6719d3[_0x328995(0xe9)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=strictObject({'enabled':_0x6719d3['boolean']()[_0x328995(0x100)](!![]),'concurrency':_0x6719d3[_0x328995(0xad)]()[_0x328995(0xeb)]()[_0x328995(0x9e)]()[_0x328995(0x100)](0x1)}),ScheduleSchema=strictObject({'collection':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf0)](0x1),'cron':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf0)](0x1),'env':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf0)](0x1)[_0x328995(0xf8)](),'prepare':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf0)](0x1)['optional']()}),McpConfigSchema=strictObject({'transport':_0x6719d3['literal'](_0x328995(0x103))}),SandboxConfigSchema=strictObject({'shellCwd':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf8)](),'shellTimeoutMs':_0x6719d3[_0x328995(0xad)]()[_0x328995(0xeb)]()[_0x328995(0x9e)]()[_0x328995(0xf8)](),'exportSecrets':_0x6719d3[_0x328995(0xa8)](_0x6719d3[_0x328995(0xfb)]())[_0x328995(0xf8)](),'database':_0x6719d3[_0x328995(0xfb)]()['optional'](),'apiBaseUrl':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xb9)]()['optional'](),'uploadDir':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf8)](),'readRoots':_0x6719d3['array'](_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf0)](0x1))[_0x328995(0xf8)]()}),WebServerConfigSchema=strictObject({'command':_0x6719d3['string']()['min'](0x1),'url':_0x6719d3[_0x328995(0xfb)]()['url'](),'reuseExistingServer':_0x6719d3[_0x328995(0xdc)]()[_0x328995(0x100)](!![]),'timeoutMs':_0x6719d3[_0x328995(0xad)]()[_0x328995(0xeb)]()[_0x328995(0x9e)]()['default'](0xea60)}),WebServersConfigSchema=_0x6719d3[_0x328995(0xfd)]([WebServerConfigSchema,_0x6719d3[_0x328995(0xa8)](WebServerConfigSchema)[_0x328995(0xf0)](0x1)])['transform'](_0x4f057c=>Array[_0x328995(0xa0)](_0x4f057c)?_0x4f057c:[_0x4f057c])[_0x328995(0xd6)]((_0x502e42,_0x226710)=>{var _0x19861f={_0x2eee3c:0xe1,_0x20a514:0xab,_0x215b76:0xb9};const _0x179a21=new Set();_0x502e42['forEach']((_0x2da4f9,_0x2d864c)=>{var _0x5cf211=_0x3b38;_0x179a21[_0x5cf211(_0x19861f._0x2eee3c)](_0x2da4f9[_0x5cf211(0xb9)])&&_0x226710[_0x5cf211(0xcd)]({'code':_0x6719d3['ZodIssueCode'][_0x5cf211(_0x19861f._0x20a514)],'path':[_0x2d864c,_0x5cf211(_0x19861f._0x215b76)],'message':_0x5cf211(0x9c)+_0x2d864c+_0x5cf211(0xae)+_0x2da4f9[_0x5cf211(0xb9)]+_0x5cf211(0xef)}),_0x179a21[_0x5cf211(0xe2)](_0x2da4f9[_0x5cf211(0xb9)]);});}),EnvConfigSchema=strictObject({'shared':_0x6719d3[_0x328995(0xa8)](_0x6719d3[_0x328995(0xfb)]())[_0x328995(0x100)]([])}),UnotestConfigSchema=strictObject({'baseUrl':_0x6719d3['string']()[_0x328995(0xb9)]()['optional'](),'webServer':WebServersConfigSchema[_0x328995(0xf8)](),'generate':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf0)](0x1)[_0x328995(0xf8)](),'browsers':_0x6719d3[_0x328995(0xa8)](BrowserSchema)[_0x328995(0xf0)](0x1),'channel':BrowserChannelSchema,'viewport':ConfigViewportSchema[_0x328995(0xf8)](),'device':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf0)](0x1)[_0x328995(0xf8)](),'timezone':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xcf)](isTimeZone,_0x4add3d=>({'message':_0x328995(0xc0)+_0x4add3d+_0x328995(0xba)}))[_0x328995(0xf8)](),'locale':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xcf)](isLocale,_0x1aa8cf=>({'message':_0x328995(0xd2)+_0x1aa8cf+'\x22\x20—\x20expected\x20a\x20BCP\x2047\x20tag\x20such\x20as\x20\x22es-ES\x22'}))[_0x328995(0xf8)](),'maxContexts':_0x6719d3['number']()['int']()[_0x328995(0x9e)]()['optional'](),'launch':LaunchConfigSchema[_0x328995(0xf8)](),'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf8)](),'testDir':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf0)](0x1),'helpersDir':_0x6719d3[_0x328995(0xfb)]()[_0x328995(0xf0)](0x1),'defaultTimeoutMs':_0x6719d3[_0x328995(0xad)]()[_0x328995(0xeb)]()[_0x328995(0x9e)](),'defaultNavigationTimeoutMs':_0x6719d3[_0x328995(0xad)]()[_0x328995(0xeb)]()['positive'](),'teardownTimeoutMs':_0x6719d3[_0x328995(0xad)]()[_0x328995(0xeb)]()[_0x328995(0x9e)]()['optional'](),'testTimeoutMs':_0x6719d3[_0x328995(0xad)]()[_0x328995(0xeb)]()[_0x328995(0x9e)]()[_0x328995(0xf8)](),'env':EnvConfigSchema,'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':_0x6719d3[_0x328995(0xa8)](ScheduleSchema)[_0x328995(0x100)]([]),'sandbox':SandboxConfigSchema})['superRefine']((_0x16d36d,_0x2d904b)=>{var _0xabbca9={_0x44187c:0xf1,_0x51cf7c:0xf4,_0x133ac3:0xcd,_0x2df6f4:0xd4},_0x17d272=_0x328995;const _0x1c5fc8=viewportDeviceConflict(_0x16d36d[_0x17d272(_0xabbca9._0x44187c)],_0x16d36d[_0x17d272(_0xabbca9._0x51cf7c)]);_0x1c5fc8!==void 0x0&&_0x2d904b[_0x17d272(_0xabbca9._0x133ac3)]({'code':_0x6719d3[_0x17d272(_0xabbca9._0x2df6f4)][_0x17d272(0xab)],'path':['viewport'],'message':_0x1c5fc8});});function isTimeZone(_0x5d213f){var _0x455f37={_0xf6902a:0x9a,_0x375bb6:0x9d},_0x26f7de=_0x328995;try{return new Intl[(_0x26f7de(0xb7))](_0x26f7de(_0x455f37._0xf6902a),{'timeZone':_0x5d213f}),_0x5d213f[_0x26f7de(_0x455f37._0x375bb6)]>0x0;}catch{return![];}}__name(isTimeZone,'isTimeZone');function isLocale(_0x3f7338){var _0x16b0d6=_0x328995;try{return Intl[_0x16b0d6(0xd5)](_0x3f7338)['length']===0x1;}catch{return![];}}__name(isLocale,'isLocale');var DEFAULT_CONFIG={'browsers':['chromium'],'retry':{'count':0x0,'on':[_0x328995(0xa7)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x328995(0xce),'pageHtml':_0x328995(0xcc)},'dialogPolicy':_0x328995(0xd3),'testDir':_0x328995(0xec),'helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x328995(0xca),'lint:xpath':_0x328995(0xca),'lint:obfuscated-class':_0x328995(0xca),'lint:pause-explicit':_0x328995(0xca),'lint:disambig-by-index':_0x328995(0xfa),'lint:evaluate-discouraged':_0x328995(0xca),'lint:scenario-in-root':'error','lint:mustache-in-dsl':'error','lint:goto-concat':_0x328995(0xca),'lint:regex-invalid':_0x328995(0xfe),'lint:echo-assert':'warn','lint:lint-ok-missing-reason':_0x328995(0xca),'lint:flow-returns-value':_0x328995(0xca),'lint:legacy-layout':_0x328995(0xca),'lint:external-variable-undeclared':'error','lint:env-host-from-base':_0x328995(0xfe),'lint:one-test-per-file':_0x328995(0xca),'lint:shadows-dsl-function':'warn','lint:skip-outside-test':_0x328995(0xfe),'lint:set-test-timeout-outside-test':'error','lint:filter-unknown-option':_0x328995(0xfe),'validator:unknown-function':_0x328995(0xfe)}},'env':{'shared':[]},'mcp':{'transport':_0x328995(0x103)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};export{BROWSER_CHANNEL_WORDS,BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,EnvConfigSchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SYSTEM_BROWSER_CHANNELS,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema,WebServersConfigSchema,viewportDeviceConflict};
@@ -1,5 +1,5 @@
1
- import { B as BoundingBox, E as ElementHint, S as ScreenshotOptions, L as LocatorValue, C as CaptureFrame, a as CaptureRect, P as PageConsole, N as NetworkEntry, W as WebDriver, b as LaunchOptions, c as ContextOptions, D as DriverContext, A as AttachOptions } from '../interfaces-CTMGjJIs.js';
2
- export { d as ActionTimeout, e as CheckOptions, f as ClickOptions, g as CookieOptions, h as DriverPage, F as FillOptions, G as GotoOptions, H as HoverOptions, i as NavigationOptions, j as PressOptions, R as ReloadOptions, k as SelectOptions, V as Viewport, l as ViewportSize, m as WaitOptions, n as WaitState } from '../interfaces-CTMGjJIs.js';
1
+ import { B as BoundingBox, I as ImageSize, E as ElementHint, S as ScreenshotOptions, L as LocatorValue, C as CaptureFrame, a as CaptureRect, P as PageConsole, N as NetworkEntry, W as WebDriver, b as LaunchOptions, c as ContextOptions, D as DriverContext, A as AttachOptions } from '../interfaces-D5ePwBX6.js';
2
+ export { d as ActionTimeout, e as CheckOptions, f as ClickOptions, g as CookieOptions, h as DriverPage, F as FillOptions, G as GotoOptions, H as HoverOptions, i as NavigationOptions, j as PressOptions, R as ReloadOptions, k as SelectOptions, V as Viewport, l as ViewportSize, m as WaitOptions, n as WaitState } from '../interfaces-D5ePwBX6.js';
3
3
  import '@unotest/protocol';
4
4
  import '../config/schema.js';
5
5
  import 'zod';
@@ -34,6 +34,9 @@ interface FakeBehavior {
34
34
  boundingBoxByDefault?: BoundingBox | null;
35
35
  /** Default isDisabled() response. Default: false. */
36
36
  isDisabledByDefault?: boolean;
37
+ /** Default imageSize() response — null = broken / no src. Default: a
38
+ * 100×100 image. */
39
+ imageSizeByDefault?: ImageSize | null;
37
40
  /** Per-property computedStyle(loc, property) response. Default: "". */
38
41
  computedStyleByProperty?: Record<string, string>;
39
42
  /** runningAnimations(loc) response, one per call in order; the last
@@ -64,6 +67,9 @@ interface FakeBehavior {
64
67
  * when unspecified) for tests that exercise a format fallback. Default:
65
68
  * the literal "fake-png"; tests that read dimensions seed a real PNG header. */
66
69
  screenshotBytes?: Buffer | ((type: ScreenshotOptions["type"]) => Buffer);
70
+ /** What a context's close() waits on — a promise that never settles is
71
+ * a browser that never lets the context go. Absent: closes at once. */
72
+ contextCloseResult?: Promise<void>;
67
73
  /** Where masks lie in a capture (`boxesInCapture`). Default: none. */
68
74
  captureBoxes?: (locs: readonly LocatorValue[], frame: CaptureFrame) => CaptureRect[];
69
75
  /** What page.evaluate() resolves to — e.g. an OutlineTree for a capture
@@ -1 +1 @@
1
- const _0x11f023=_0x5b0a;(function(_0x34ba75,_0xc499b6){const _0x14134f={_0x5e7520:0x1c0,_0xf3e67f:0x255,_0x480a0a:0x249,_0x50c3fc:0x1c3,_0x7d2d24:0x1a9,_0x230ea4:0x191},_0x3b0993=_0x5b0a,_0x4a82c6=_0x34ba75();while(!![]){try{const _0x4e5f38=parseInt(_0x3b0993(_0x14134f._0x5e7520))/0x1+-parseInt(_0x3b0993(0x234))/0x2*(parseInt(_0x3b0993(_0x14134f._0xf3e67f))/0x3)+-parseInt(_0x3b0993(0x178))/0x4*(parseInt(_0x3b0993(_0x14134f._0x480a0a))/0x5)+parseInt(_0x3b0993(_0x14134f._0x50c3fc))/0x6*(-parseInt(_0x3b0993(0x205))/0x7)+parseInt(_0x3b0993(_0x14134f._0x7d2d24))/0x8+-parseInt(_0x3b0993(0x1d7))/0x9*(parseInt(_0x3b0993(0x182))/0xa)+parseInt(_0x3b0993(_0x14134f._0x230ea4))/0xb;if(_0x4e5f38===_0xc499b6)break;else _0x4a82c6['push'](_0x4a82c6['shift']());}catch(_0x503b32){_0x4a82c6['push'](_0x4a82c6['shift']());}}}(_0x1bea,0x3abe5));var __defProp=Object['defineProperty'],__name=(_0x18c91f,_0x4b1aee)=>__defProp(_0x18c91f,_0x11f023(0x177),{'value':_0x4b1aee,'configurable':!![]});import{writeFile}from'fs/promises';function subscribe(_0x259758,_0x10680e){const _0x230cca={_0x39edad:0x1fe},_0x6cd445=_0x11f023;return _0x259758[_0x6cd445(0x22b)](_0x10680e),()=>{const _0x2d4790=_0x6cd445;_0x259758[_0x2d4790(_0x230cca._0x39edad)](_0x10680e);};}__name(subscribe,'subscribe');import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,'DriverError');}},LocatorError=class extends UnotestError{static{__name(this,_0x11f023(0x212));}},TimeoutError=class extends UnotestError{static{__name(this,_0x11f023(0x220));}},ClockNotInstalledError=class extends DriverError{static{__name(this,'ClockNotInstalledError');}constructor(){const _0x1247be=_0x11f023;super(_0x1247be(0x19a),{});}},NO_CLOCK={'freeze':__name(()=>Promise[_0x11f023(0x241)](new ClockNotInstalledError()),_0x11f023(0x1bd)),'tick':__name(()=>Promise[_0x11f023(0x241)](new ClockNotInstalledError()),_0x11f023(0x214)),'run':__name(()=>Promise[_0x11f023(0x241)](new ClockNotInstalledError()),_0x11f023(0x1fc)),'frozen':__name(()=>![],'frozen')};function _0x1bea(){const _0x37ec4e=['mtiWAgDTs0PX','C2XLzxa','D2fPDezVCKfUAw1HDgLVBNm','Bg9JywXtDg9YywDLu3rHDgu','ugfNzuHPC3rVCNK','D2fPDezVCG','y2XVC2u','y2fSBhm','y2XVy2SUDgLJAW','AxneAxnHyMXLza','BwfW','y291BNrcEurLzMf1Bhq','mtu5mda2BvjPCwDs','zxjYB3jpBK5LEhrby3rPB24','C3DPDgnOAw5N','D2fPDezVCLvYBa','AgfZ','y29UDgv4Dhm','yMvOyxzPB3i','zg91yMXLq2XPy2S','y2HLy2S','D2fPDezVCLnLCNzPy2vxB3jRzxi','B3v0zxjiDg1SqNLszwy','CNvUBMLUz0fUAw1HDgLVBNm','zMLUza','DgfRzw4','DhLWzq','C2vSzwn0t3b0Aw9U','BMfTzq','mJG0odbyr2f3AeC','C2v0','CMfJzq','yNjVD3nLCKnVBNrLEhrjza','BM8GCMvXDwvZDcb0BYa','yxjYAxzHBhm','CgXHBKnSB3nL','BMv3ugfNzq','uvvfvuvFtufy','AxnwAxnPyMXLqNLezwzHDwX0','nJaYmdKWvNnHufbL','CMvJB3jKzxi','BMv0D29YAY53ywL0rM9YuMvXDwvZDa','D2fPDezVCKXVywrtDgf0zq','zg93BMXVywrZ','y2XVy2SUzNjLzxPL','y2XVC2vqywDL','Bgf1BMnO','CMvZCg9UC2vZ','y29UC29SzuvUDhjPzxm','Bwf5yMvuAhjVDW','zMfRzvDVCMTLCG','DgLTzw91De1Z','zw11Bgf0zu1LzgLH','ChjLC3m','ntq5mJm2nMHiB2nAzW','z2v0qxr0CMLIDxrL','CMvM','lNbHz2uW','z29cywnR','y2XVy2S','yMXVy2TLza','CNvUBMLUz0fUAw1HDgLVBNntzxf1zw5Jzq','BM8GzxH0zw5ZAw9UihnLCNzPy2uGD29YA2vYigHLCMu6igv4DgvUC2LVBNmGBg9HzcbVBMX5igLUDg8GysbICM93C2vYihn0yxj0zwqGD2L0AcbHihbYB2zPBguG4OcuihnLDcbSyxvUy2GUDxnLCKrHDgfeAxiGkgfUzcb0AguGls1SB2fKlwv4DgvUC2LVBIbHCMDZksbPBIb1BM90zxn0lMnVBMzPzY4GqsbYDw4GB24GysbIB3GGAgfZig5VihbYB2zPBguSihnVigL0igHHCYbUBYbLEhrLBNnPB25ZigvPDgHLCI4','DgHLihbHz2uGy2XVy2SGAxmGBM90igLUC3rHBgXLzcbVBIb0AgLZigjYB3DZzxiG4OcuigL0igHHCYb0BYbIzsbPBIbWBgfJzsbIzwzVCMuGDgHLigzPCNn0ihbHz2uGBg9HzhmSig9YihrOzsbWywDLj3mGB3DUihrPBwvYCYbRzwvWihjLywWGDgLTzs4GqsbYDw4GAw5ZDgfSBhmGAxqGD2HLBIb0AguGC2nLBMfYAw8GB3iGAxrZigHLBhbLCNmGy2fSBcbJBg9JA0zYzwv6zsaVignSB2nRvgLJAYaVignSB2nRuNvUoYbVDMvYie1ducWGB3bLBIb0AguGyNjVD3nLCIb3AxrOig5LD19JB250zxH0ihTJBg9JAZOGDhj1zx0Gkg9Yigv4CgXVCMvFC3rHCNqGE2nSB2nRoIb0CNvLFsKU','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','z2v0tg9JywXtDg9YywDL','ihn0yxj0zwqGD2L0AgLUia','AgfZq2XVy2S','CgfNzunVBNnVBgu','zhjHz0fUzerYB3a','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','y291BNq','lcb7ywjVCNq6ihrYDwuSihjLy29YzdOGDhj1zx0PlIbxAxrOB3v0igL0igeGy2HLy2SGzM9YihjLCxvLC3rZihrOzxjLihDVDwXKihbHC3mGAgf2Aw5NihDHDgnOzwqGBM90AgLUzY4','C2v0qwn0AxzLugfNzq','BgvMDa','ywjVDxq6yMXHBMS','C2f2zufZ','y2XPy2S','mZa3nZq3mMPfDgrLvq','ywn0AxzLswr4','ig1HDgnOAw5Nia','iJ48l2rPDJ4','CMvSB2fK','C2nYB2XSsw50B1zPzxC','rMfRzvDLyKrYAxzLCG','zxHPDezYyw1L','C2v0vMLLD3bVCNq','zxzHBhvHDgu','zgvZy3jPyMu','BMv3q29UDgv4Da','ywn0AxzHDgu','BM8GBMv3ihrHyIb3AxrOAw4G','ihDPDgHPBIa','BM8Gzg93BMXVywq','ywjVCNq','CMvZCg9UC2u','ig1Zlca','Ag92zxi','zNjLzxPL','rMfRzunVBNrLEhq','zxzHBhvHDgvszxn1Bhq','nZG1ndHxEu15Dve','C2nYzwvUC2HVDa','ifj1BM5PBMC6ia','ndK3odjxsg9xz2O','CMvJB3jK','Aw5UzxjuzxH0qNLezwzHDwX0','DxbSB2fKrMLSzq','Bg9JywXtDg9YywDL','Bgf1BMnOzwq','B3v0zxjive1m','Dw5TB2nR','Aw5PDgLHBfvYBa','Cg9W','DgL0Bgu','BM8GC2vYDMLJzsb3B3jRzxi','zw1PDezHA2vszxf1zxn0','BMv4Da','AM9PBG','A2LUza','ig1ZlG','Aw5ZCgvJDevSzw1LBNq','DgfRzq','BM93','mZz5r3fMsNO','A2v5CW','D2fPDezVCLrLEhq','z2v0q29VA2LL','ChvZAa','DgvZDa','igLUia','D2fPDezVCLjLCxvLC3q','Aw5KzxHpzG','y3jLyxrLuMvJB3jKzxi','yxjYAxzLza','ig1Z','zMfRzs1WBMC','C2nYzwvUC2HVDevSzw1LBNq','BgvUz3rO','C29Tzq','D29YA2vYu3rHCNrLza','BMv3ugfNzuXPC3rLBMvYCW','y29UBMvJDfnOyxjLza','Bwf0y2HLCW','C2vLBG','zMLSDgvY','yNjPBMDuB0zYB250','y2XVy2TgCM96zw4','y2XPCgjVyxjKugfZDgu','zw1PDezHA2vqB3b1Ca','y29VA2LLu3rHDgu','z29gB3j3yxjK','yM91BMrPBMDcB3HcEurLzMf1Bhq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','y3vYCMvUDfvYBa','zxHHy3q','Cg9WDxbpBKnSAwnR','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','z290BW','B25ozxDqywDL','C2nVCgu','CNvU','ig9Wzw4','zgvSzxrL','zNjHBwvtDgfJAW','DxjS','zhjPDMvY','y2fUBM90ignSB3nLihrOzsbVBMX5ig9Wzw4GDgfIoIbUB3rOAw5NihDVDwXKigjLigXLzNqGDg8GzhjPDMu','lNbHz2u','y2XVy2SUCNvU','mJe3EfnQvvv6','D2fPDgvY','zxzHBhvHDgvpBKXVy2f0B3i','zMLSBa','y29TChv0zwrtDhLSzq','CM91DgvZ','C291CMnL','zNjHBwvezxb0Aa','y2fSBhngB3i','CMvZB2X2zq','zMLUzeLUzgv4','BM9eB3DUBg9Hza','y29TChv0zwrtDhLSzuj5uhjVCgvYDhK','tg9JyxrVCKvYCM9Y','zMXHz3m','DgLJAW','C2f2zvn0B3jHz2vtDgf0zq','CxvLDwvK','y2XVC2vgywTLugfNzq','rMfRzvbHz2u','Dgv4DenVBNrLBNq','BwLU','BM8Gzg93BMXVywqGD2HVC2uGBMfTzsb3B3vSzca','AxnwAxnPyMXL','yxr0CMLIDxrLC0j5rgvMyxvSDa','zMfRzsb0AxrSzq','D29YA2vYvxjSCW','vgLTzw91DevYCM9Y','C3rYAw5NAwz5','D2fPDgvYCW','uMvXDwvZDfDHAxruAw1LB3v0rxjYB3i','u2vYDMLJzvDVCMTLCK5LzwrZuhjVzMLSzuvYCM9Y','B25bzNrLCKnSAwnR','D2fPDezVCK5HDMLNyxrPB24','Dw5JAgvJAW','z2v0','AgLZDg9YEq','yMXVy2S','ywrK','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','yM91BMrPBMDcB3G','CgfNzuXPC3q','CgfNzxm','Bwv0Ag9K','CNvUBMLUz0fUAw1HDgLVBNndywXSCW','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','y2HLy2TLzfn0yxrL','mLnsrKDLta','zgvSAxzLCG','ihrHyG','C2HPzNq','AgfUzgvKugfNzxm','AxneAxnHyMXLzej5rgvMyxvSDa','BMv0D29YAY5TB2nR','D29YA2vYlMv2ywX1yxrL','C2v0q29VA2LL','C2nYzwvUC2HVDej5DgvZ','Aw5JBhvKzxm','C2v0tg9JywXtDg9YywDL','C3rLChm','CMvQzwn0','D2fPDezVCK5LD1bHz2u','Aw5WDxrwywX1zq','C3bSAwnL','C3rVChbLza','y2fWDhvYzujVEgvZ','BMv0D29YA0vUDhjPzxm','u2vYDMLJzvDVCMTLCLDHAxruAw1LB3v0rxjYB3i'];_0x1bea=function(){return _0x37ec4e;};return _0x1bea();}function firstUnhandedPage(_0x26ffd2,_0x41d297){const _0x2ebebc=_0x11f023;return _0x26ffd2[_0x2ebebc(0x20f)](_0x1519cc=>!_0x41d297['has'](_0x1519cc));}__name(firstUnhandedPage,'firstUnhandedPage');function claimNewPage(_0x28c9d5,_0x3e0c17,_0x129fa0){const _0x36f844={_0x553190:0x1b6,_0x20009d:0x1bb,_0x4bd522:0x1fd,_0x316e59:0x22b},_0x9f3018=_0x11f023,_0x56d54d=firstUnhandedPage(_0x28c9d5,_0x3e0c17);if(_0x56d54d<0x0){const _0x5c81d9=_0x28c9d5[_0x9f3018(0x1e5)];throw new TimeoutError(_0x9f3018(_0x36f844._0x553190)+_0x129fa0+_0x9f3018(_0x36f844._0x20009d)+_0x5c81d9+_0x9f3018(0x236)+(_0x5c81d9===0x1?'':'s')+_0x9f3018(_0x36f844._0x4bd522),{'timeoutMs':_0x129fa0,'open':_0x5c81d9});}return _0x3e0c17[_0x9f3018(_0x36f844._0x316e59)](_0x28c9d5[_0x56d54d]),_0x56d54d;}__name(claimNewPage,'claimNewPage');var PageHistory=class{static{__name(this,_0x11f023(0x24d));}[_0x11f023(0x1a5)]=[];[_0x11f023(0x257)](_0x1be70b,_0x53fab2,_0x522fbd){const _0x2d9f19={_0x1e668c:0x1a5,_0x24c8f6:0x1e5},_0x24ca1a=_0x11f023,_0x19d45d=_0x1be70b[_0x53fab2];if(!_0x19d45d||_0x19d45d===_0x522fbd)return;const _0x5bf6de=this[_0x24ca1a(0x1a5)][_0x24ca1a(0x1ec)](_0x429763=>_0x429763!==_0x19d45d&&_0x1be70b['includes'](_0x429763));this[_0x24ca1a(_0x2d9f19._0x1e668c)]['splice'](0x0,this[_0x24ca1a(0x1a5)][_0x24ca1a(_0x2d9f19._0x24c8f6)],..._0x5bf6de,_0x19d45d);}[_0x11f023(0x17e)](_0x3a2721,_0x5dd0ee,_0x4652ba){const _0x1b60ef={_0x1e71d2:0x1a1,_0x91072e:0x1e5,_0x3e1ea6:0x1e5,_0x3e9abe:0x202,_0x529570:0x1a5,_0x3e2d4e:0x1a5},_0x692d6d=_0x11f023,_0x3e2d72=_0x3a2721[_0x4652ba];if(!_0x3e2d72)throw new DriverError(_0x692d6d(_0x1b60ef._0x1e71d2),{'index':_0x4652ba,'available':_0x3a2721[_0x692d6d(_0x1b60ef._0x91072e)]});if(_0x3a2721[_0x692d6d(_0x1b60ef._0x3e1ea6)]===0x1)throw new DriverError(_0x692d6d(_0x1b60ef._0x3e9abe),{'index':_0x4652ba});const _0x1dce56=_0x3a2721['filter'](_0x507666=>_0x507666!==_0x3e2d72),_0x929db2=_0x3a2721[_0x5dd0ee],_0x251552=this[_0x692d6d(0x1a5)]['filter'](_0x34fb7e=>_0x34fb7e!==_0x3e2d72);this[_0x692d6d(_0x1b60ef._0x529570)]['splice'](0x0,this[_0x692d6d(_0x1b60ef._0x3e2d4e)][_0x692d6d(0x1e5)],..._0x251552);if(_0x929db2&&_0x929db2!==_0x3e2d72)return{'closing':_0x3e2d72,'nextActive':_0x1dce56['indexOf'](_0x929db2)};for(let _0xc0197=this['left']['length']-0x1;_0xc0197>=0x0;_0xc0197--){const _0xc9c8c2=_0x1dce56[_0x692d6d(0x1df)](this[_0x692d6d(0x1a5)][_0xc0197]);if(_0xc9c8c2>=0x0)return{'closing':_0x3e2d72,'nextActive':_0xc9c8c2};}return{'closing':_0x3e2d72,'nextActive':Math['max'](_0x4652ba-0x1,0x0)};}},NotRecordingError=class extends DriverError{static{__name(this,'NotRecordingError');}constructor(_0x2a7bef){const _0x28752a={_0x1346d6:0x221,_0xb6977e:0x1a3},_0x326e7f=_0x11f023;super('nothing\x20records\x20requests\x20to\x20'+JSON[_0x326e7f(_0x28752a._0x1346d6)](_0x2a7bef)+':\x20mock\x20it\x20first\x20with\x20mockRoute('+JSON[_0x326e7f(_0x28752a._0x1346d6)](_0x2a7bef)+_0x326e7f(_0x28752a._0xb6977e),{'glob':_0x2a7bef});}},RequestWaitTimeoutError=class extends TimeoutError{static{__name(this,_0x11f023(0x223));}constructor(_0x1fa525,_0x2f1ef1){const _0x1d342e={_0x60ea38:0x17c,_0x97f44b:0x1dd,_0x1fa73c:0x1e2},_0xfb3478=_0x11f023;super(_0xfb3478(_0x1d342e._0x60ea38)+JSON[_0xfb3478(0x221)](_0x1fa525)+_0xfb3478(_0x1d342e._0x97f44b)+_0x2f1ef1+_0xfb3478(_0x1d342e._0x1fa73c),{'glob':_0x1fa525,'timeoutMs':_0x2f1ef1});}},RouteJournal=class _RouteJournal{constructor(_0x5257f9=Date['now']){const _0x55bafa=_0x11f023;this[_0x55bafa(0x1d6)]=_0x5257f9;}[_0x11f023(0x1d6)];static{__name(this,'RouteJournal');}static [_0x11f023(0x180)]=0x1f4;['responses']=new Map();['queued']=new Map();[_0x11f023(0x222)]=new Map();[_0x11f023(0x245)]=new Map();[_0x11f023(0x179)](_0x2dd44c,_0x3a4e5d){const _0x55f464={_0x23df26:0x16b,_0x2bda4b:0x1d2},_0x297488=_0x11f023;this[_0x297488(0x18a)][_0x297488(0x179)](_0x2dd44c,_0x3a4e5d);if(!this[_0x297488(0x216)][_0x297488(_0x55f464._0x23df26)](_0x2dd44c))this['queued']['set'](_0x2dd44c,[]);_0x3a4e5d[_0x297488(_0x55f464._0x2bda4b)]===_0x297488(0x1b9)&&_0x3a4e5d['record']&&!this['stopped'][_0x297488(0x16b)](_0x2dd44c)&&this[_0x297488(0x245)]['set'](_0x2dd44c,[]);}[_0x11f023(0x1fe)](_0x1e7bd1){const _0x22c2d4={_0x17f6d4:0x18a,_0x4b2497:0x1fe,_0x114ce9:0x216},_0x29af50=_0x11f023,_0x20669a=_0x1e7bd1===void 0x0?[...this[_0x29af50(0x18a)][_0x29af50(0x1d8)]()]:this[_0x29af50(_0x22c2d4._0x17f6d4)]['has'](_0x1e7bd1)?[_0x1e7bd1]:[];for(const _0xc99953 of _0x20669a){this[_0x29af50(0x18a)][_0x29af50(_0x22c2d4._0x4b2497)](_0xc99953),this[_0x29af50(_0x22c2d4._0x114ce9)]['delete'](_0xc99953);}return _0x20669a;}[_0x11f023(0x1ba)](_0x1ca617){const _0x5c8dcf=_0x11f023;return this[_0x5c8dcf(0x18a)][_0x5c8dcf(0x228)](_0x1ca617);}['mocked'](_0x47f0b1){const _0x538640={_0x3e0efb:0x16b},_0x1fec17=_0x11f023;return this[_0x1fec17(0x18a)][_0x1fec17(_0x538640._0x3e0efb)](_0x47f0b1);}[_0x11f023(0x235)](_0x5b5504,_0x34b8e7){const _0x6f729f={_0x1d0d1:0x228},_0x4f0f1c=_0x11f023,_0x22b5b1=this[_0x4f0f1c(0x222)][_0x4f0f1c(_0x6f729f._0x1d0d1)](_0x5b5504)?.[_0x4f0f1c(0x237)]();if(_0x22b5b1){_0x22b5b1(_0x34b8e7);return;}const _0x3ea794=this[_0x4f0f1c(0x216)][_0x4f0f1c(_0x6f729f._0x1d0d1)](_0x5b5504);if(!_0x3ea794)return;_0x3ea794[_0x4f0f1c(0x1db)](_0x34b8e7);if(_0x3ea794['length']>_RouteJournal[_0x4f0f1c(0x180)])_0x3ea794[_0x4f0f1c(0x237)]();}[_0x11f023(0x22a)](_0x3ce514,_0x114637){const _0x4b33fa={_0x2e2941:0x228,_0x866067:0x1d6},_0x27c01f=_0x11f023;this[_0x27c01f(0x245)][_0x27c01f(_0x4b33fa._0x2e2941)](_0x3ce514)?.[_0x27c01f(0x1db)]({'url':_0x114637['url'],'method':_0x114637['method'],'at':this[_0x27c01f(_0x4b33fa._0x866067)]()});}['blocked'](_0x4fb990){const _0x205071=_0x11f023,_0x4a90c2=this[_0x205071(0x245)][_0x205071(0x228)](_0x4fb990);if(!_0x4a90c2)throw new NotRecordingError(_0x4fb990);return _0x4a90c2;}[_0x11f023(0x1d0)](_0xa00eba,_0x330aea){const _0x50b7a5={_0x28cdc0:0x206,_0x194a83:0x222},_0x474f5a=_0x11f023,_0x11e4fa=this[_0x474f5a(0x216)]['get'](_0xa00eba)?.[_0x474f5a(0x237)]();if(_0x11e4fa)return Promise[_0x474f5a(0x20e)](_0x11e4fa);return new Promise((_0x3ed4e1,_0x28a350)=>{const _0x41ea02={_0x354c2e:0x222},_0x4db1ca=_0x474f5a,_0x585484=__name(_0x4bd819=>{clearTimeout(_0x11bc07),_0x3ed4e1(_0x4bd819);},_0x4db1ca(_0x50b7a5._0x28cdc0)),_0x11bc07=setTimeout(()=>{const _0x28ad28=_0x4db1ca,_0x424265=this[_0x28ad28(_0x41ea02._0x354c2e)]['get'](_0xa00eba)??[];_0x424265[_0x28ad28(0x244)](_0x424265['indexOf'](_0x585484),0x1),_0x28a350(new RequestWaitTimeoutError(_0xa00eba,_0x330aea));},_0x330aea),_0x35f78c=this[_0x4db1ca(_0x50b7a5._0x194a83)]['get'](_0xa00eba)??[];_0x35f78c['push'](_0x585484),this['waiters']['set'](_0xa00eba,_0x35f78c);});}},DownloadQueue=class{constructor(_0x55257c){this['sleep']=_0x55257c;}['sleep'];static{__name(this,'DownloadQueue');}[_0x11f023(0x1eb)]=[];[_0x11f023(0x174)]=new Set();['arrivals']=new Set();['push'](_0x4769f8){const _0x5350dc=_0x11f023;this[_0x5350dc(0x1eb)][_0x5350dc(0x1db)](_0x4769f8);for(const _0x26af50 of this['arrivals'])_0x26af50();}async[_0x11f023(0x1d5)](_0x2c2720,_0x1d5ed4){const _0x4747c8={_0xed9c65:0x1d0,_0x3d2799:0x17a,_0x5479e9:0x210,_0x143da6:0x174},_0x351bce=_0x11f023,_0x14424b=__name(()=>this[_0x351bce(0x1eb)][_0x351bce(0x173)](_0x574261=>!this[_0x351bce(0x174)][_0x351bce(0x16b)](_0x574261)&&(_0x1d5ed4===void 0x0||_0x1d5ed4[_0x351bce(0x1ea)](_0x574261[_0x351bce(0x177)]))),_0x351bce(_0x4747c8._0xed9c65));let _0x118b4b=_0x14424b();if(_0x118b4b===void 0x0){let _0x349381=__name(()=>{},_0x351bce(0x1e1));const _0x5147dd=new Promise(_0x416f46=>{const _0x56455a=_0x351bce;_0x349381=__name(()=>{if(_0x14424b()!==void 0x0)_0x416f46();},_0x56455a(0x1e1));});this['arrivals']['add'](_0x349381);try{await Promise[_0x351bce(_0x4747c8._0x3d2799)]([_0x5147dd,this[_0x351bce(0x24a)](_0x2c2720)]);}finally{this[_0x351bce(0x17d)][_0x351bce(0x1fe)](_0x349381);}_0x118b4b=_0x14424b();}if(_0x118b4b===void 0x0)throw this[_0x351bce(_0x4747c8._0x5479e9)](_0x2c2720,_0x1d5ed4);return this[_0x351bce(_0x4747c8._0x143da6)][_0x351bce(0x22b)](_0x118b4b),_0x118b4b;}[_0x11f023(0x210)](_0x403127,_0x254be9){const _0x189380={_0x292360:0x1ec,_0x7b49be:0x253,_0x3e4380:0x1e2,_0x2d22e0:0x1b3},_0x17fccc=_0x11f023,_0x16a3d0=this[_0x17fccc(0x1eb)][_0x17fccc(_0x189380._0x292360)](_0x219a31=>!this[_0x17fccc(0x174)][_0x17fccc(0x16b)](_0x219a31))[_0x17fccc(_0x189380._0x7b49be)](_0x2ce609=>_0x2ce609['name']),_0x5ca05c=_0x254be9===void 0x0?_0x17fccc(0x1b8):_0x17fccc(0x21b)+_0x254be9[_0x17fccc(0x1b3)](),_0xfaa6d3=_0x16a3d0[_0x17fccc(0x1e5)]>0x0?';\x20not\x20taken:\x20'+_0x16a3d0[_0x17fccc(0x253)](_0x1961f5=>JSON[_0x17fccc(0x221)](_0x1961f5))[_0x17fccc(0x1d1)](',\x20'):'';return new TimeoutError(_0x5ca05c+_0x17fccc(0x1b7)+_0x403127+_0x17fccc(_0x189380._0x3e4380)+_0xfaa6d3,{'timeoutMs':_0x403127,'untaken':_0x16a3d0,..._0x254be9!==void 0x0?{'name':_0x254be9[_0x17fccc(_0x189380._0x2d22e0)]()}:{}});}};function matcherMatches(_0xa09fcf,_0x5307c4,_0x588dab={}){const _0x44531e={_0xb23ec8:0x20b,_0x55602f:0x1dc},_0x46eb00=_0x11f023;if(typeof _0x5307c4==='string')return _0x588dab[_0x46eb00(0x1f6)]??!![]?_0xa09fcf===_0x5307c4:_0xa09fcf[_0x46eb00(0x23e)](_0x5307c4);return new RegExp(_0x5307c4[_0x46eb00(_0x44531e._0xb23ec8)],_0x5307c4[_0x46eb00(0x213)])[_0x46eb00(_0x44531e._0x55602f)](_0xa09fcf);}__name(matcherMatches,'matcherMatches');var ServiceWorkerNeedsProfileError=class extends DriverError{static{__name(this,_0x11f023(0x224));}constructor(){const _0xc6ba05=_0x11f023;super(_0xc6ba05(0x199),{});}},ServiceWorkerWaitTimeoutError=class extends TimeoutError{static{__name(this,_0x11f023(0x248));}constructor(_0x4e36bd,_0x5ddc31,_0xb49878){const _0x58ef39={_0x5be732:0x221,_0x587fbf:0x1d1,_0x20ac50:0x19d},_0x45f7d7=_0x11f023,_0x278ead=_0x5ddc31===void 0x0?'':_0x45f7d7(0x1ab)+JSON[_0x45f7d7(_0x58ef39._0x5be732)](_0x5ddc31),_0x2ca62b=_0xb49878[_0x45f7d7(0x1e5)]===0x0?'':_0x45f7d7(0x1c2)+_0xb49878[_0x45f7d7(_0x58ef39._0x587fbf)](',\x20')+'.';super(_0x45f7d7(0x1ce)+_0x278ead+_0x45f7d7(_0x58ef39._0x20ac50)+_0x4e36bd+_0x45f7d7(0x1d3)+_0x2ca62b,{'timeoutMs':_0x4e36bd,'seen':_0xb49878});}};function workerMatches(_0x37ab30,_0x6053d2){return _0x6053d2===void 0x0||matcherMatches(_0x37ab30,_0x6053d2,{'exact':![]});}function _0x5b0a(_0x587045,_0x11d30d){_0x587045=_0x587045-0x16b;const _0x1bea03=_0x1bea();let _0x5b0aef=_0x1bea03[_0x587045];if(_0x5b0a['nFMuVA']===undefined){var _0x44ee04=function(_0x2144a5){const _0x959e77='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x18c91f='',_0x4b1aee='';for(let _0x259758=0x0,_0x10680e,_0x26ffd2,_0x41d297=0x0;_0x26ffd2=_0x2144a5['charAt'](_0x41d297++);~_0x26ffd2&&(_0x10680e=_0x259758%0x4?_0x10680e*0x40+_0x26ffd2:_0x26ffd2,_0x259758++%0x4)?_0x18c91f+=String['fromCharCode'](0xff&_0x10680e>>(-0x2*_0x259758&0x6)):0x0){_0x26ffd2=_0x959e77['indexOf'](_0x26ffd2);}for(let _0x1519cc=0x0,_0x28c9d5=_0x18c91f['length'];_0x1519cc<_0x28c9d5;_0x1519cc++){_0x4b1aee+='%'+('00'+_0x18c91f['charCodeAt'](_0x1519cc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4b1aee);};_0x5b0a['itttOY']=_0x44ee04,_0x5b0a['bNrlcr']={},_0x5b0a['nFMuVA']=!![];}const _0x4f3c7b=_0x1bea03[0x0],_0x3fa743=_0x587045+_0x4f3c7b,_0x45725d=_0x5b0a['bNrlcr'][_0x3fa743];return!_0x45725d?(_0x5b0aef=_0x5b0a['itttOY'](_0x5b0aef),_0x5b0a['bNrlcr'][_0x3fa743]=_0x5b0aef):_0x5b0aef=_0x45725d,_0x5b0aef;}__name(workerMatches,'workerMatches');function createRecorder(){const _0x26de89=_0x11f023,_0x344f59=[];let _0x3df67b=0x0;return{'push':__name(_0x25abb5=>_0x344f59[_0x26de89(0x1db)]({..._0x25abb5,'seq':_0x3df67b++}),'push'),'calls':__name(()=>_0x344f59,'calls')};}__name(createRecorder,_0x11f023(0x1e0));var FakePage=class{constructor(_0x5ed92a,_0x57811c,_0x2714cb,_0x23a7bf){const _0x201e36={_0x37361b:0x183,_0x59d98e:0x16d,_0x53aa76:0x1fb},_0x354dd3=_0x11f023;this[_0x354dd3(_0x201e36._0x37361b)]=_0x5ed92a,this[_0x354dd3(_0x201e36._0x59d98e)]=_0x57811c,this[_0x354dd3(_0x201e36._0x53aa76)]=_0x2714cb,this[_0x354dd3(0x1f5)]=_0x23a7bf;}[_0x11f023(0x183)];[_0x11f023(0x16d)];[_0x11f023(0x1fb)];static{__name(this,_0x11f023(0x218));}[_0x11f023(0x1f5)];['onAfterClick'];[_0x11f023(0x1c4)](_0x3a10a8,_0x2d101d){const _0x1661ee={_0x3e1d41:0x183},_0x48c349=_0x11f023;this[_0x48c349(_0x1661ee._0x3e1d41)][_0x48c349(0x1db)]({'scope':this[_0x48c349(0x1fb)],'method':_0x3a10a8,'args':_0x2d101d});}[_0x11f023(0x18c)](){const _0x134a6a={_0x52d971:0x16d,_0x2a2afc:0x256},_0x2e2160=_0x11f023;if(this[_0x2e2160(_0x134a6a._0x52d971)][_0x2e2160(_0x134a6a._0x2a2afc)]){const _0xf57ad1=this['behavior'][_0x2e2160(_0x134a6a._0x2a2afc)];this['behavior']['errorOnNextAction']=void 0x0;throw _0xf57ad1;}}['url'](){const _0x42a016={_0x5c078a:0x1f5},_0x77a15b=_0x11f023;return this[_0x77a15b(_0x42a016._0x5c078a)];}async[_0x11f023(0x1cd)](){const _0x512b7f=_0x11f023;return this['record']('title',[]),_0x512b7f(0x21e);}async[_0x11f023(0x1a8)](_0x30ae4b,_0x38df7e){const _0x445c4f={_0x4882f4:0x1c4,_0x2cef64:0x1a8,_0x56f1a5:0x18c,_0x12f42f:0x225},_0x2c3c8a=_0x11f023;this[_0x2c3c8a(_0x445c4f._0x4882f4)](_0x2c3c8a(_0x445c4f._0x2cef64),[_0x30ae4b,_0x38df7e]),this[_0x2c3c8a(_0x445c4f._0x56f1a5)](),this[_0x2c3c8a(_0x445c4f._0x12f42f)]?.();}async[_0x11f023(0x16e)](_0x108eb1,_0x79b819){const _0x34cab5=_0x11f023;this['record']('doubleClick',[_0x108eb1,_0x79b819]),this[_0x34cab5(0x18c)]();}async[_0x11f023(0x208)](_0x7888d2,_0x87b46,_0x47ee89){const _0x50cf94=_0x11f023;this[_0x50cf94(0x1c4)]('fill',[_0x7888d2,_0x87b46,_0x47ee89]),this[_0x50cf94(0x18c)]();}async[_0x11f023(0x190)](_0x1fdb0e,_0x238138,_0x4cb6b8){const _0x21a21c={_0x45128a:0x1c4},_0x2f0da0=_0x11f023;this[_0x2f0da0(_0x21a21c._0x45128a)]('press',[_0x1fdb0e,_0x238138,_0x4cb6b8]),this[_0x2f0da0(0x18c)]();}async[_0x11f023(0x16f)](_0x240189,_0x3a769e){const _0x38f9ee={_0x33b250:0x1c4,_0x1668f1:0x16f,_0x5b4f18:0x18c},_0x3247b3=_0x11f023;this[_0x3247b3(_0x38f9ee._0x33b250)](_0x3247b3(_0x38f9ee._0x1668f1),[_0x240189,_0x3a769e]),this[_0x3247b3(_0x38f9ee._0x5b4f18)]();}async[_0x11f023(0x227)](_0x28f096,_0x1da4be){const _0xbde84e=_0x11f023;this[_0xbde84e(0x1c4)](_0xbde84e(0x227),[_0x28f096,_0x1da4be]),this[_0xbde84e(0x18c)]();}async['selectOption'](_0x6774c,_0x289092,_0x75e85a){const _0x304652={_0xbff1e:0x176,_0xc86359:0x18c},_0x140b68=_0x11f023;this[_0x140b68(0x1c4)](_0x140b68(_0x304652._0xbff1e),[_0x6774c,_0x289092,_0x75e85a]),this[_0x140b68(_0x304652._0xc86359)]();}async[_0x11f023(0x1bc)](_0x24ad12,_0x14e7a2){const _0x338f04={_0x2c71eb:0x1c4,_0x5b1463:0x1bc},_0x2fe3d4=_0x11f023;this[_0x2fe3d4(_0x338f04._0x2c71eb)](_0x2fe3d4(_0x338f04._0x5b1463),[_0x24ad12,_0x14e7a2]),this['maybeThrow']();}async[_0x11f023(0x1ae)](_0x266a88){const _0x45378b=_0x11f023;this[_0x45378b(0x1c4)]('scrollIntoView',[_0x266a88]),this[_0x45378b(0x18c)]();}async['dragAndDrop'](_0x4982e5,_0x2ca212,_0x1427bd){const _0x4d8cf9={_0x2a398c:0x1c4},_0x390a23=_0x11f023;this[_0x390a23(_0x4d8cf9._0x2a398c)](_0x390a23(0x1a0),[_0x4982e5,_0x2ca212,_0x1427bd]),this[_0x390a23(0x18c)]();}async[_0x11f023(0x1c6)](_0xc9b93f,_0x5200a6){const _0x351314={_0x12c224:0x1c4},_0x20867d=_0x11f023;this[_0x20867d(_0x351314._0x12c224)](_0x20867d(0x1c6),[_0xc9b93f,_0x5200a6]),this[_0x20867d(0x18c)]();}async[_0x11f023(0x1ef)](_0x2c4404,_0x1cb851){const _0x559782={_0x1f18c1:0x1c4,_0x243875:0x18c},_0x4f49f9=_0x11f023;this[_0x4f49f9(_0x559782._0x1f18c1)]('clipboardPaste',[_0x2c4404,_0x1cb851]),this[_0x4f49f9(_0x559782._0x243875)]();}async[_0x11f023(0x1a2)](_0x2beabf){const _0x5771f3={_0x2a3714:0x1c4,_0x37da1d:0x16d},_0xa403bf=_0x11f023;return this[_0xa403bf(_0x5771f3._0x2a3714)]('count',[_0x2beabf]),this[_0xa403bf(_0x5771f3._0x37da1d)][_0xa403bf(0x254)]??0x1;}async[_0x11f023(0x219)](_0x4884cf){const _0x273dd7={_0x3f94e1:0x1c4,_0x347828:0x1f4},_0x58bbf1=_0x11f023;return this[_0x58bbf1(_0x273dd7._0x3f94e1)]('textContent',[_0x4884cf]),this[_0x58bbf1(0x16d)][_0x58bbf1(_0x273dd7._0x347828)]??'';}async['innerText'](_0x35b0f6){const _0x13ef14=_0x11f023;return this['record']('innerText',[_0x35b0f6]),this[_0x13ef14(0x16d)][_0x13ef14(0x1c5)]??this[_0x13ef14(0x16d)][_0x13ef14(0x1f4)]??'';}async[_0x11f023(0x243)](_0x1aeeb8){const _0x346dd9={_0x3e81c7:0x243},_0x10c231=_0x11f023;return this['record'](_0x10c231(_0x346dd9._0x3e81c7),[_0x1aeeb8]),this[_0x10c231(0x16d)]['inputValueByDefault']??'';}async[_0x11f023(0x233)](_0x42c6ea){const _0x6fec18={_0x33f254:0x233,_0x2e666b:0x16d},_0xdef6b3=_0x11f023;return this[_0xdef6b3(0x1c4)](_0xdef6b3(_0x6fec18._0x33f254),[_0x42c6ea]),this[_0xdef6b3(_0x6fec18._0x2e666b)]['checkedStateByDefault']??null;}async['isVisible'](_0x189c54){const _0x33038c=_0x11f023;return this[_0x33038c(0x1c4)](_0x33038c(0x21c),[_0x189c54]),this['behavior'][_0x33038c(0x181)]??!![];}async[_0x11f023(0x22d)](_0x41605a){const _0x11f1f9={_0x1bf7d0:0x1c4,_0xd65ef3:0x22d,_0x551382:0x16d},_0x3a7cc0=_0x11f023;return this[_0x3a7cc0(_0x11f1f9._0x1bf7d0)](_0x3a7cc0(_0x11f1f9._0xd65ef3),[_0x41605a]),this[_0x3a7cc0(_0x11f1f9._0x551382)][_0x3a7cc0(0x1f3)]===void 0x0?{'x':0x0,'y':0x0,'width':0x64,'height':0x14}:this['behavior']['boundingBoxByDefault'];}['runningAnimationsCalls']=0x0;async[_0x11f023(0x172)](_0x520ba3){const _0x21e5d9={_0x52eed8:0x1c4,_0x37d806:0x172,_0x2af702:0x16d,_0xd55683:0x21a,_0x57ebb1:0x231},_0x5f4d5d=_0x11f023;this[_0x5f4d5d(_0x21e5d9._0x52eed8)](_0x5f4d5d(_0x21e5d9._0x37d806),[_0x520ba3]);const _0x419bc6=this[_0x5f4d5d(_0x21e5d9._0x2af702)][_0x5f4d5d(0x198)]??[0x0];return _0x419bc6[Math[_0x5f4d5d(_0x21e5d9._0xd55683)](this[_0x5f4d5d(_0x21e5d9._0x57ebb1)]++,_0x419bc6[_0x5f4d5d(0x1e5)]-0x1)]??0x0;}async[_0x11f023(0x24b)](_0x962f89,_0x329db8){const _0x3d7af4={_0x1b70ce:0x1c4},_0x3f3883=_0x11f023;this[_0x3f3883(_0x3d7af4._0x1b70ce)](_0x3f3883(0x24b),[_0x962f89,_0x329db8]);}async['computedStyle'](_0x2757c0,_0x44e998){const _0x586bb9={_0x3ac262:0x209},_0x177efd=_0x11f023;return this[_0x177efd(0x1c4)](_0x177efd(_0x586bb9._0x3ac262),[_0x2757c0,_0x44e998]),this[_0x177efd(0x16d)][_0x177efd(0x211)]?.[_0x44e998]??'';}async['isDisabled'](_0x35541e){const _0x2dc708={_0x21198c:0x1c4,_0x4ec963:0x252,_0x2f6f24:0x239},_0x573727=_0x11f023;return this[_0x573727(_0x2dc708._0x21198c)](_0x573727(_0x2dc708._0x4ec963),[_0x35541e]),this['behavior'][_0x573727(_0x2dc708._0x2f6f24)]??![];}async['getAttribute'](_0x29cde3,_0x4eb6b6){const _0x36a74c={_0x26eff7:0x1c4,_0x809138:0x192},_0x4561bd=_0x11f023;return this[_0x4561bd(_0x36a74c._0x26eff7)](_0x4561bd(_0x36a74c._0x809138),[_0x29cde3,_0x4eb6b6]),this['behavior'][_0x4561bd(0x21d)]?.[_0x4eb6b6]??null;}async[_0x11f023(0x24e)](_0x33404a,_0x5a728d){const _0x23f736=_0x11f023;this[_0x23f736(0x1c4)]('waitFor',[_0x33404a,_0x5a728d]);}async[_0x11f023(0x258)](_0x3cef14,_0x451fd0){const _0x3c52b0={_0x4971ce:0x258},_0x2ab88e=_0x11f023;this[_0x2ab88e(0x1c4)](_0x2ab88e(_0x3c52b0._0x4971ce),[_0x3cef14,_0x451fd0]);}async[_0x11f023(0x18f)](_0x224239){const _0x57cb8e={_0xd3117e:0x18f},_0x480083=_0x11f023;this['record'](_0x480083(_0x57cb8e._0xd3117e),[_0x224239]);}async[_0x11f023(0x1d9)](_0x4d1d12,_0x33ec66){const _0x40e053={_0x581553:0x1d9},_0x2f66ac=_0x11f023;this['record'](_0x2f66ac(_0x40e053._0x581553),[_0x4d1d12,_0x33ec66]);}async['waitForNavigation'](_0x1d3e43){const _0x55dceb=_0x11f023;this[_0x55dceb(0x1c4)](_0x55dceb(0x226),[_0x1d3e43]);}async[_0x11f023(0x185)](_0x1a5744,_0x4eb7b0){const _0x4e5f4={_0x1db89e:0x1c4,_0x456871:0x185},_0x5d3116=_0x11f023;this[_0x5d3116(_0x4e5f4._0x1db89e)](_0x5d3116(_0x4e5f4._0x456871),[_0x1a5744,_0x4eb7b0]);}async[_0x11f023(0x1f9)](_0x57cd18,_0x1411ec){const _0x21a546={_0x2e1abf:0x1c4},_0x4cbe51=_0x11f023;this[_0x4cbe51(_0x21a546._0x2e1abf)]('goto',[_0x57cd18,_0x1411ec]),this['currentUrl']=_0x57cd18;}async[_0x11f023(0x1ad)](_0x76cb4e){const _0x2f82b9=_0x11f023;this[_0x2f82b9(0x1c4)](_0x2f82b9(0x1ad),[_0x76cb4e]);}async[_0x11f023(0x195)](_0x599a12){const _0x541b23={_0x779316:0x195},_0x2e07bf=_0x11f023;this[_0x2e07bf(0x1c4)](_0x2e07bf(_0x541b23._0x779316),[_0x599a12]);}async[_0x11f023(0x1f2)](_0x33051d){const _0x497e9b={_0x3e2b00:0x1c4},_0x503fc4=_0x11f023;this[_0x503fc4(_0x497e9b._0x3e2b00)]('goForward',[_0x33051d]);}async['evaluate'](_0x2ed360){const _0x349459={_0x3e664f:0x1bf},_0x437597=_0x11f023;return this[_0x437597(0x1c4)](_0x437597(0x1b2),[_0x2ed360]),this[_0x437597(0x16d)][_0x437597(_0x349459._0x3e664f)];}async[_0x11f023(0x207)](_0x1a2061,_0x7d1b49,_0x4a3981){const _0xc567bc={_0x57b8f3:0x1bf},_0x2b2fa1=_0x11f023;return this[_0x2b2fa1(0x1c4)]('evaluateOnLocator',[_0x1a2061,_0x7d1b49,_0x4a3981]),this[_0x2b2fa1(0x16d)][_0x2b2fa1(_0xc567bc._0x57b8f3)];}async[_0x11f023(0x1d4)](_0x37cbe6){const _0x231b3d={_0x46ba77:0x1d4,_0x1b3da5:0x240,_0x615fd7:0x1d2,_0x1190d3:0x193},_0x364071=_0x11f023;this[_0x364071(0x1c4)](_0x364071(_0x231b3d._0x46ba77),[_0x37cbe6]);if(_0x37cbe6[_0x364071(_0x231b3d._0x1b3da5)][_0x364071(0x1e5)]!==0x1||_0x37cbe6[_0x364071(_0x231b3d._0x1b3da5)][0x0][_0x364071(_0x231b3d._0x615fd7)]!==_0x364071(_0x231b3d._0x1190d3))return null;const _0x25c7ee=_0x37cbe6[_0x364071(0x240)][0x0]['ref'],_0x3c7df6=this['behavior']['elementHintByRef']?.[_0x25c7ee];return _0x3c7df6??null;}async[_0x11f023(0x1c1)](_0x40fcdb){const _0x18ff2f=_0x11f023;return this['record']('screenshot',[_0x40fcdb]),this[_0x18ff2f(0x23d)](_0x40fcdb?.[_0x18ff2f(0x175)]);}async['screenshotElement'](_0x2951ee,_0x593ec7){const _0x30fdfa=_0x11f023;return this[_0x30fdfa(0x1c4)](_0x30fdfa(0x1e4),[_0x2951ee,_0x593ec7]),this[_0x30fdfa(0x23d)](_0x593ec7?.[_0x30fdfa(0x175)]);}async['boxesInCapture'](_0x4597f0,_0x417635){const _0x1e5fa6={_0x20cae3:0x16d},_0x2caa0c=_0x11f023;return this['record']('boxesInCapture',[_0x4597f0,_0x417635]),this['behavior']['captureBoxes']?this[_0x2caa0c(_0x1e5fa6._0x20cae3)][_0x2caa0c(0x246)](_0x4597f0,_0x417635):[];}[_0x11f023(0x23d)](_0x361a99){const _0x2e44b1=_0x11f023,_0x3a9916=this[_0x2e44b1(0x16d)][_0x2e44b1(0x23d)];if(_0x3a9916===void 0x0)return Buffer['from'](_0x2e44b1(0x1e3));return typeof _0x3a9916==='function'?_0x3a9916(_0x361a99):_0x3a9916;}async[_0x11f023(0x1c9)](_0x539220){const _0x484ec4={_0x1ee6df:0x1c9,_0x3d416d:0x1d2},_0x1376b6=_0x11f023;this[_0x1376b6(0x1c4)](_0x1376b6(_0x484ec4._0x1ee6df),[_0x539220]);if(_0x539220[_0x1376b6(0x240)][_0x1376b6(0x1e5)]===0x1&&_0x539220[_0x1376b6(0x240)][0x0][_0x1376b6(_0x484ec4._0x3d416d)]===_0x1376b6(0x193)){const _0x2e58e3=_0x539220[_0x1376b6(0x240)][0x0]['ref'];return this[_0x1376b6(0x16d)][_0x1376b6(0x171)]?.[_0x2e58e3]??_0x1376b6(0x232)+_0x2e58e3+_0x1376b6(0x1ac);}return'<div></div>';}},FAKE_SET_UP_CALLS=new Set([_0x11f023(0x23a),_0x11f023(0x23c),_0x11f023(0x23f),_0x11f023(0x187),'clock.tick',_0x11f023(0x204),_0x11f023(0x18f),_0x11f023(0x17f)]),FakeContext=class{constructor(_0xc43edc,_0x38de78,_0x3d1a2d,_0x103b4a=![]){const _0x542e86={_0xd3e77b:0x16d,_0x235311:0x194,_0x1d949b:0x1f7,_0x3c4d2b:0x22b,_0x87c7a:0x21f,_0x2d879e:0x24c},_0x4cac93={_0x376f6a:0x1f0,_0x3e3af0:0x1f7},_0x49ec07=_0x11f023;this[_0x49ec07(0x183)]=_0xc43edc,this[_0x49ec07(_0x542e86._0xd3e77b)]=_0x38de78,this['scope']=_0x3d1a2d,this['hasClock']=_0x103b4a,this[_0x49ec07(0x1ee)]=![];const _0x434956=new FakePage(_0xc43edc,_0x38de78,_0x3d1a2d+_0x49ec07(_0x542e86._0x235311),_0x38de78[_0x49ec07(0x1cb)]??_0x49ec07(0x1a6));_0x38de78[_0x49ec07(_0x542e86._0x1d949b)]&&(_0x434956[_0x49ec07(0x225)]=()=>{const _0x22211c=_0x49ec07;this[_0x22211c(_0x4cac93._0x376f6a)](_0x38de78[_0x22211c(_0x4cac93._0x3e3af0)]);}),this['pageList']=[_0x434956],this[_0x49ec07(0x238)][_0x49ec07(_0x542e86._0x3c4d2b)](_0x434956),this[_0x49ec07(_0x542e86._0x87c7a)]=[..._0x38de78['serviceWorkers']??[]],this[_0x49ec07(_0x542e86._0x2d879e)]={..._0x38de78[_0x49ec07(0x1c7)]??{}},this[_0x49ec07(0x1f1)]={..._0x38de78['cookies']??{}};}[_0x11f023(0x183)];[_0x11f023(0x16d)];[_0x11f023(0x1fb)];[_0x11f023(0x19e)];static{__name(this,_0x11f023(0x1be));}[_0x11f023(0x1ee)];[_0x11f023(0x22e)];[_0x11f023(0x1aa)]=0x0;['handedPages']=new WeakSet();['history']=new PageHistory();[_0x11f023(0x1ff)]=[];[_0x11f023(0x24c)];[_0x11f023(0x1f1)];['newPageListeners']=new Set();[_0x11f023(0x20a)]=new RouteJournal();[_0x11f023(0x186)]=new DownloadQueue(async()=>{});['workerUrls'];[_0x11f023(0x1e7)]=new Set();['record'](_0x745c49,_0x4695bf){const _0x1cc4ed=_0x11f023;this[_0x1cc4ed(0x183)][_0x1cc4ed(0x1db)]({'scope':this['scope'],'method':_0x745c49,'args':_0x4695bf});}[_0x11f023(0x22f)](){const _0x3e97ed=_0x11f023;return this[_0x3e97ed(0x22e)];}['activePage'](){const _0x64abda=_0x11f023,_0x30e24f=this[_0x64abda(0x22e)][this[_0x64abda(0x1aa)]];if(!_0x30e24f)throw new DriverError('no\x20active\x20page\x20in\x20context',{'activeIdx':this['activeIdx']});return _0x30e24f;}['consoleEntries'](){const _0x2b6fbe={_0x1a3399:0x16d,_0x4b82f7:0x18b},_0x53f57b=_0x11f023;return this[_0x53f57b(_0x2b6fbe._0x1a3399)][_0x53f57b(_0x2b6fbe._0x4b82f7)]??[];}['pageConsole'](){const _0x520fd0={_0x2f62f7:0x19f},_0xe70fdd=_0x11f023;return this[_0xe70fdd(0x1c4)](_0xe70fdd(0x19f),[]),this['behavior'][_0xe70fdd(_0x520fd0._0x2f62f7)]??{'entries':[],'errors':[]};}['waitForDownload'](_0x103547={}){const _0x28d2f5={_0x102aeb:0x1d5,_0x506ca6:0x18e,_0x5a7082:0x177},_0x4203a3=_0x11f023;return this[_0x4203a3(0x1c4)]('waitForDownload',[_0x103547[_0x4203a3(0x18e)]]),this[_0x4203a3(0x186)][_0x4203a3(_0x28d2f5._0x102aeb)](_0x103547[_0x4203a3(_0x28d2f5._0x506ca6)]??0x0,_0x103547[_0x4203a3(_0x28d2f5._0x5a7082)]);}['emitFakeDownload'](_0x23883a,_0x4c02c2){const _0x32205c=_0x11f023;this[_0x32205c(0x186)][_0x32205c(0x1db)]({'name':_0x23883a,'saveAs':__name(_0x3ac0c5=>writeFile(_0x3ac0c5,_0x4c02c2),_0x32205c(0x1a7))});}['networkEntries'](){const _0x5ec25c=_0x11f023;return this[_0x5ec25c(0x16d)][_0x5ec25c(0x247)]??[];}async[_0x11f023(0x1a4)](_0x5b9212,_0x63362){const _0x2257d2={_0xeb051e:0x1e5,_0x2c1787:0x229,_0x2b880b:0x1e5,_0x1ab44e:0x238,_0x542c56:0x22b,_0x4355b2:0x1b5},_0x16d4b9=_0x11f023;this[_0x16d4b9(0x1c4)]('setActivePage',[_0x5b9212,_0x63362]);if(_0x5b9212<0x0||_0x5b9212>=this[_0x16d4b9(0x22e)][_0x16d4b9(_0x2257d2._0xeb051e)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x5b9212,'available':this[_0x16d4b9(0x22e)][_0x16d4b9(_0x2257d2._0xeb051e)]});this[_0x16d4b9(_0x2257d2._0x2c1787)]['switching'](this[_0x16d4b9(0x22e)],this[_0x16d4b9(0x1aa)],this[_0x16d4b9(0x22e)][_0x5b9212]),this['activeIdx']=_0x5b9212,this['frameStack'][_0x16d4b9(_0x2257d2._0x2b880b)]=0x0,this[_0x16d4b9(_0x2257d2._0x1ab44e)][_0x16d4b9(_0x2257d2._0x542c56)](this['pageList'][_0x5b9212]);if(_0x63362?.[_0x16d4b9(_0x2257d2._0x4355b2)]!==![])this[_0x16d4b9(0x1c4)](_0x16d4b9(0x1ed),[_0x5b9212]);}async['bringToFront'](_0x3f452e){const _0x303a95={_0x3ed8cc:0x1aa,_0x22772e:0x22e,_0x2f047b:0x1c4,_0x5efa12:0x1ed},_0x2ce206=_0x11f023,_0x5636e3=_0x3f452e??this[_0x2ce206(_0x303a95._0x3ed8cc)];if(_0x5636e3<0x0||_0x5636e3>=this['pageList'][_0x2ce206(0x1e5)])throw new DriverError(_0x2ce206(0x1a1),{'index':_0x5636e3,'available':this[_0x2ce206(_0x303a95._0x22772e)][_0x2ce206(0x1e5)]});this[_0x2ce206(_0x303a95._0x2f047b)](_0x2ce206(_0x303a95._0x5efa12),[_0x5636e3]);}async[_0x11f023(0x17f)](){const _0x143b6b=_0x11f023;this[_0x143b6b(0x1c4)](_0x143b6b(0x17f),[]);const _0x26372b=this[_0x143b6b(0x1f0)](_0x143b6b(0x1a6));return await this['setActivePage'](_0x26372b),_0x26372b;}async[_0x11f023(0x188)](_0x27d930){const _0x5594e9={_0x536b64:0x1c4,_0x6635bc:0x188,_0x138b13:0x229,_0x2c24e9:0x22e,_0x2412ac:0x1aa,_0x498f4f:0x1ff,_0x57d6fa:0x1e5},_0xbcacd=_0x11f023;this[_0xbcacd(_0x5594e9._0x536b64)](_0xbcacd(_0x5594e9._0x6635bc),[_0x27d930]);const {closing:_0x336109,nextActive:_0x2e5aef}=this[_0xbcacd(_0x5594e9._0x138b13)][_0xbcacd(0x17e)](this[_0xbcacd(_0x5594e9._0x2c24e9)],this[_0xbcacd(0x1aa)],_0x27d930??this[_0xbcacd(_0x5594e9._0x2412ac)]),_0x9b11d0=_0x336109===this[_0xbcacd(0x22e)][this[_0xbcacd(0x1aa)]];this[_0xbcacd(_0x5594e9._0x2c24e9)]['splice'](this[_0xbcacd(0x22e)][_0xbcacd(0x1df)](_0x336109),0x1),this['activeIdx']=_0x2e5aef;if(!_0x9b11d0)return;this[_0xbcacd(_0x5594e9._0x498f4f)][_0xbcacd(_0x5594e9._0x57d6fa)]=0x0,this[_0xbcacd(0x1c4)](_0xbcacd(0x1ed),[_0x2e5aef]);}[_0x11f023(0x1fa)](_0x4fddf7){const _0xa14733={_0x1b0062:0x1e8},_0x381344=_0x11f023;return subscribe(this[_0x381344(_0xa14733._0x1b0062)],_0x4fddf7);}async[_0x11f023(0x242)](_0x3f8882={}){const _0x264902={_0x10a1d5:0x1c4,_0x54403f:0x242,_0x16276f:0x238},_0xc54030=_0x11f023;return this[_0xc54030(_0x264902._0x10a1d5)](_0xc54030(_0x264902._0x54403f),[_0x3f8882]),claimNewPage(this['pageList'],this[_0xc54030(_0x264902._0x16276f)],_0x3f8882['timeoutMs']??0x0);}async['setViewport'](_0x4e83fa){const _0x258d42={_0x248043:0x1b1},_0xdd6367=_0x11f023;this[_0xdd6367(0x1c4)](_0xdd6367(_0x258d42._0x248043),[_0x4e83fa]);}['untouched'](){const _0x57abfd={_0x36634e:0x1e6},_0x49e99d=_0x11f023,_0x5ba859=this['recorder'][_0x49e99d(0x250)]()['filter'](_0x3fe3a8=>_0x3fe3a8[_0x49e99d(0x1fb)]===this[_0x49e99d(0x1fb)]||_0x3fe3a8['scope']['startsWith'](this['scope']+_0x49e99d(0x203)));return this[_0x49e99d(0x22e)]['length']===0x1&&this[_0x49e99d(0x22e)][0x0][_0x49e99d(0x200)]()===_0x49e99d(0x1a6)&&!_0x5ba859[_0x49e99d(_0x57abfd._0x36634e)](_0x35a367=>FAKE_SET_UP_CALLS['has'](_0x35a367[_0x49e99d(0x230)]));}async[_0x11f023(0x17b)](){const _0x931576={_0x34a5af:0x1fb},_0x521dfa=_0x11f023;return this[_0x521dfa(_0x931576._0x34a5af)];}[_0x11f023(0x196)](){const _0x4a2ec5={_0x4ce318:0x214,_0x75594d:0x1fc},_0x268728={_0x15e0c2:0x1ee},_0x7d196f=_0x11f023;if(!this[_0x7d196f(0x19e)])return NO_CLOCK;return{'freeze':__name(async _0xe19061=>{const _0x563fc9=_0x7d196f;this['record'](_0x563fc9(0x187),[_0xe19061]),this[_0x563fc9(0x1ee)]=!![];},'freeze'),'tick':__name(async _0x1ac8aa=>this['record'](_0x7d196f(0x251),[_0x1ac8aa]),_0x7d196f(_0x4a2ec5._0x4ce318)),'run':__name(async()=>{const _0x414103=_0x7d196f;this[_0x414103(0x1c4)](_0x414103(0x204),[]),this[_0x414103(_0x268728._0x15e0c2)]=![];},_0x7d196f(_0x4a2ec5._0x75594d)),'frozen':__name(()=>this[_0x7d196f(0x1ee)],'frozen')};}['network'](){const _0x4a069b={_0xf7b3b2:0x1ca,_0x581544:0x1de},_0x2268a4={_0xd551cc:0x184,_0x1738dc:0x1d0},_0x48986c={_0x5e0d6f:0x20a},_0x1e3882={_0x4ad52d:0x1c4,_0x44cf00:0x20a,_0x1863ff:0x179},_0x4a0e6b=_0x11f023;return{'mock':__name(async(_0x5c96d9,_0x469467)=>{const _0x54bd15=_0x5b0a;this[_0x54bd15(_0x1e3882._0x4ad52d)](_0x54bd15(0x23a),[_0x5c96d9,_0x469467]),this[_0x54bd15(_0x1e3882._0x44cf00)][_0x54bd15(_0x1e3882._0x1863ff)](_0x5c96d9,_0x469467);},'mock'),'unmock':__name(async _0x4bc0bc=>{const _0x428759=_0x5b0a;this[_0x428759(0x1c4)]('network.unmock',[_0x4bc0bc]),this[_0x428759(_0x48986c._0x5e0d6f)][_0x428759(0x1fe)](_0x4bc0bc);},_0x4a0e6b(_0x4a069b._0xf7b3b2)),'waitForRequest':__name((_0x7852e0,_0x19bb1a)=>{const _0x223483=_0x4a0e6b;return this['record'](_0x223483(_0x2268a4._0xd551cc),[_0x7852e0,_0x19bb1a]),this['routes'][_0x223483(_0x2268a4._0x1738dc)](_0x7852e0,_0x19bb1a[_0x223483(0x18e)]);},_0x4a0e6b(_0x4a069b._0x581544)),'blocked':__name(_0x498f29=>this['routes'][_0x4a0e6b(0x197)](_0x498f29),_0x4a0e6b(0x197))};}async[_0x11f023(0x170)](_0x544b85){const _0x42353b={_0xa94f29:0x170},_0x4d636f={_0x3ea22c:0x1e7,_0x4b6d3c:0x22b},_0x502a0d={_0x65367:0x1fe,_0x3e8c9a:0x200,_0x2457fa:0x21f},_0x5368c8={_0x5bb659:0x200},_0x2f16f9=_0x11f023;this[_0x2f16f9(0x1c4)](_0x2f16f9(_0x42353b._0xa94f29),[_0x544b85]);const _0x3bcb4f=this['workerUrls']['find'](_0x5b9977=>workerMatches(_0x5b9977,_0x544b85?.[_0x2f16f9(0x200)]));if(_0x3bcb4f!==void 0x0)return this[_0x2f16f9(0x18d)](_0x3bcb4f);if(!this['behavior']['profile'])throw new ServiceWorkerNeedsProfileError();const _0x5972c7=_0x544b85?.[_0x2f16f9(0x18e)]??0x3e8,_0x181ae4=await new Promise((_0x472ca7,_0x2c5ad5)=>{const _0x565d36=_0x2f16f9,_0x1d1849=__name(_0xc6da7a=>{const _0x22293d=_0x5b0a;if(!workerMatches(_0xc6da7a,_0x544b85?.[_0x22293d(_0x5368c8._0x5bb659)]))return;clearTimeout(_0x33c018),this['workerStarted']['delete'](_0x1d1849),_0x472ca7(_0xc6da7a);},'onStart'),_0x33c018=setTimeout(()=>{const _0x202eb3=_0x5b0a;this['workerStarted'][_0x202eb3(_0x502a0d._0x65367)](_0x1d1849),_0x2c5ad5(new ServiceWorkerWaitTimeoutError(_0x5972c7,_0x544b85?.[_0x202eb3(_0x502a0d._0x3e8c9a)],this[_0x202eb3(_0x502a0d._0x2457fa)]));},_0x5972c7);this[_0x565d36(_0x4d636f._0x3ea22c)][_0x565d36(_0x4d636f._0x4b6d3c)](_0x1d1849);});return this['fakeWorker'](_0x181ae4);}[_0x11f023(0x18d)](_0x4b31be){const _0x542511={_0x198992:0x200,_0x149bf5:0x1b2},_0x2994ab=_0x11f023;return{'url':__name(()=>_0x4b31be,_0x2994ab(_0x542511._0x198992)),'evaluate':__name(async(_0x5a0c4f,_0x56bd74)=>{const _0x56c76a=_0x2994ab;return this['record'](_0x56c76a(0x23b),[_0x4b31be,_0x5a0c4f,_0x56bd74]),this['behavior'][_0x56c76a(0x1bf)];},_0x2994ab(_0x542511._0x149bf5))};}['emitFakeServiceWorker'](_0x680324){const _0x31f9ea=_0x11f023;this['workerUrls']['push'](_0x680324);for(const _0x3c787a of[...this[_0x31f9ea(0x1e7)]])_0x3c787a(_0x680324);}[_0x11f023(0x1cf)](_0x10817e,_0x54643b){const _0x1eb682={_0x2543a1:0x20a,_0x4ed71d:0x1d2,_0x531ce1:0x20a,_0x178f4d:0x20a},_0x2b238f=_0x11f023,_0x3b5627=this[_0x2b238f(_0x1eb682._0x2543a1)]['response'](_0x10817e);if(_0x3b5627?.[_0x2b238f(_0x1eb682._0x4ed71d)]===_0x2b238f(0x1b9)&&_0x3b5627[_0x2b238f(0x1c4)])this[_0x2b238f(_0x1eb682._0x531ce1)][_0x2b238f(0x22a)](_0x10817e,_0x54643b);this[_0x2b238f(_0x1eb682._0x178f4d)][_0x2b238f(0x235)](_0x10817e,_0x54643b);}[_0x11f023(0x1f0)](_0x1f5922){const _0xe57c8e={_0x14bebc:0x22e,_0x162fa4:0x16d,_0x90281c:0x1e5,_0x346527:0x1e8},_0xc7f642=_0x11f023,_0x4e16ca=this['scope']+'.page'+this[_0xc7f642(_0xe57c8e._0x14bebc)][_0xc7f642(0x1e5)],_0x7a5ebc=new FakePage(this[_0xc7f642(0x183)],this[_0xc7f642(_0xe57c8e._0x162fa4)],_0x4e16ca,_0x1f5922);this[_0xc7f642(0x22e)][_0xc7f642(0x1db)](_0x7a5ebc);const _0x32d12e=this[_0xc7f642(0x22e)][_0xc7f642(_0xe57c8e._0x90281c)]-0x1;for(const _0x278bf2 of this[_0xc7f642(_0xe57c8e._0x346527)]){try{_0x278bf2({'index':_0x32d12e,'url':_0x1f5922});}catch{}}return _0x32d12e;}[_0x11f023(0x217)](_0x393246){const _0x2dd8cd={_0x2d0082:0x22e},_0x22f7b0=_0x11f023;if(_0x393246<0x0||_0x393246>=this['pageList']['length'])throw new DriverError(_0x22f7b0(0x1a1),{'index':_0x393246,'available':this[_0x22f7b0(_0x2dd8cd._0x2d0082)][_0x22f7b0(0x1e5)]});this['pageList']['splice'](_0x393246,0x1);}async['enterFrame'](_0x14553f){const _0x49d449={_0x549097:0x1e5,_0x3b12e2:0x1ff},_0x363c50=_0x11f023;this['record']('enterFrame',[_0x14553f]);if(!_0x14553f[_0x363c50(0x240)][_0x363c50(_0x49d449._0x549097)])throw new LocatorError(_0x363c50(0x22c),{'locator':_0x14553f});this[_0x363c50(_0x49d449._0x3b12e2)][_0x363c50(0x1db)](_0x14553f);}async[_0x11f023(0x1b0)](){const _0x9c01a={_0x5b6c1f:0x1ff,_0x36e9ed:0x1e5},_0x5d1004=_0x11f023;this[_0x5d1004(0x1c4)]('exitFrame',[]);if(this[_0x5d1004(_0x9c01a._0x5b6c1f)][_0x5d1004(_0x9c01a._0x36e9ed)]===0x0)throw new DriverError(_0x5d1004(0x1f8),{});this[_0x5d1004(0x1ff)][_0x5d1004(0x1cc)]();}async[_0x11f023(0x23f)](_0x1ab983,_0x35e0a8){const _0x4d2963={_0x2e9d70:0x1c4},_0x5722f6=_0x11f023;this[_0x5722f6(_0x4d2963._0x2e9d70)](_0x5722f6(0x23f),[_0x1ab983,_0x35e0a8]),this[_0x5722f6(0x24c)][_0x1ab983]=_0x35e0a8;}async['getLocalStorage'](_0x81d2b3){const _0x3d466a={_0x467714:0x24c},_0x4d0ccd=_0x11f023;return this[_0x4d0ccd(0x1c4)](_0x4d0ccd(0x19c),[_0x81d2b3]),this[_0x4d0ccd(_0x3d466a._0x467714)][_0x81d2b3]??null;}async['setCookie'](_0x7343c5,_0x52604f,_0x438add){const _0x5d5e56={_0x207263:0x1c4},_0x1159bc=_0x11f023;this[_0x1159bc(_0x5d5e56._0x207263)](_0x1159bc(0x23c),[_0x7343c5,_0x52604f,_0x438add]),this[_0x1159bc(0x1f1)][_0x7343c5]=_0x52604f;}async[_0x11f023(0x1da)](_0x47e7d9){const _0x487a08=_0x11f023;return this[_0x487a08(0x1c4)]('getCookie',[_0x47e7d9]),this[_0x487a08(0x1f1)][_0x47e7d9]??null;}async[_0x11f023(0x215)](_0x193fcf){const _0x25b590=_0x11f023;this['record'](_0x25b590(0x215),[_0x193fcf]);}async['evaluate'](_0x49d8d4){const _0x3c0f4f={_0x3d1442:0x1b2},_0x446092=_0x11f023;return this[_0x446092(0x1c4)](_0x446092(_0x3c0f4f._0x3d1442),[_0x49d8d4]),void 0x0;}async[_0x11f023(0x24f)](){const _0xa820c1=_0x11f023;this[_0xa820c1(0x1c4)]('close',[]);}[_0x11f023(0x20c)](){const _0x49b225=_0x11f023;return this['frameStack'][_0x49b225(0x1e5)];}},FakeWebDriver=class{constructor(_0x16ad88={}){const _0x1608f1=_0x11f023;this[_0x1608f1(0x16d)]=_0x16ad88,this['recorder']=createRecorder();}['behavior'];static{__name(this,_0x11f023(0x1af));}[_0x11f023(0x1c8)]=![];[_0x11f023(0x183)];['contexts']=[];async[_0x11f023(0x189)](_0x4230c7){const _0x489ff1={_0x520456:0x189},_0xcf1003=_0x11f023;this['recorder']['push']({'scope':_0xcf1003(0x201),'method':_0xcf1003(_0x489ff1._0x520456),'args':[_0x4230c7]}),this[_0xcf1003(0x1c8)]=!![];}async[_0x11f023(0x1b4)](_0x34e2fc){const _0x5a74c8={_0x18e0b5:0x1db,_0x2dc78f:0x201,_0x5e23eb:0x1c8,_0x25dbd3:0x183,_0x591c04:0x16d,_0xdafff1:0x16c},_0xa584ac=_0x11f023;this['recorder'][_0xa584ac(_0x5a74c8._0x18e0b5)]({'scope':_0xa584ac(_0x5a74c8._0x2dc78f),'method':'newContext','args':[_0x34e2fc]});if(!this[_0xa584ac(_0x5a74c8._0x5e23eb)])throw new DriverError('newContext\x20called\x20before\x20launch()',{});const _0x219322=new FakeContext(this[_0xa584ac(_0x5a74c8._0x25dbd3)],this[_0xa584ac(_0x5a74c8._0x591c04)],'ctx'+this[_0xa584ac(_0x5a74c8._0xdafff1)][_0xa584ac(0x1e5)],_0x34e2fc?.['clock']===!![]);return this[_0xa584ac(_0x5a74c8._0xdafff1)][_0xa584ac(0x1db)](_0x219322),_0x219322;}async[_0x11f023(0x24f)](){const _0x335192={_0x37b058:0x183,_0x4827e9:0x24f},_0xc06003=_0x11f023;this[_0xc06003(_0x335192._0x37b058)][_0xc06003(0x1db)]({'scope':_0xc06003(0x201),'method':_0xc06003(_0x335192._0x4827e9),'args':[]}),this[_0xc06003(0x1c8)]=![];}['wsEndpoint'](){return void 0x0;}async[_0x11f023(0x1e9)](){const _0x4a82f9={_0x23b616:0x19b},_0x5df8f7=_0x11f023;throw new DriverError(_0x5df8f7(_0x4a82f9._0x23b616),{});}async['attachExisting'](_0xd06ebc){throw new DriverError('attachExisting\x20not\x20supported\x20by\x20FakeWebDriver',{});}['sharedBrowserConnected'](){return![];}[_0x11f023(0x250)](){const _0x623362={_0x2cc7c0:0x250},_0x413758=_0x11f023;return this[_0x413758(0x183)][_0x413758(_0x623362._0x2cc7c0)]();}[_0x11f023(0x20d)](_0x47f3f4){const _0x12533c={_0xa8744b:0x1ec},_0x290637=_0x11f023;return this['recorder']['calls']()[_0x290637(_0x12533c._0xa8744b)](_0x2f1d2b=>_0x2f1d2b[_0x290637(0x230)]===_0x47f3f4);}};export{FakeWebDriver};
1
+ const _0x5d0b7c=_0x198e;(function(_0x360fc2,_0x14b718){const _0x945aa4={_0x1c1dbd:0x21b,_0x7e0689:0x20a,_0x55e1f3:0x27a,_0x1c343f:0x246},_0x13643b=_0x198e,_0x527364=_0x360fc2();while(!![]){try{const _0x213125=-parseInt(_0x13643b(0x199))/0x1+parseInt(_0x13643b(_0x945aa4._0x1c1dbd))/0x2*(parseInt(_0x13643b(_0x945aa4._0x7e0689))/0x3)+-parseInt(_0x13643b(0x1b0))/0x4*(parseInt(_0x13643b(0x27b))/0x5)+parseInt(_0x13643b(0x272))/0x6+-parseInt(_0x13643b(0x1c5))/0x7+-parseInt(_0x13643b(_0x945aa4._0x55e1f3))/0x8+parseInt(_0x13643b(0x1d0))/0x9*(parseInt(_0x13643b(_0x945aa4._0x1c343f))/0xa);if(_0x213125===_0x14b718)break;else _0x527364['push'](_0x527364['shift']());}catch(_0x1a63b7){_0x527364['push'](_0x527364['shift']());}}}(_0x5959,0xacfe8));function _0x5959(){const _0x13e81f=['zgvSzxrL','CNvUBMLUz0fUAw1HDgLVBNm','AgfZ','Aw5KzxHpzG','y2XHAw1ozxDqywDL','Bgf1BMnOzwq','DgLJAW','Cg9W','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','CgfNzxm','Aw1Hz2vtAxPL','Aw5UzxjuzxH0','B25bzNrLCKnSAwnR','D2fPDezVCG','yM91BMrPBMDcB3G','C2v0vMLLD3bVCNq','y29TChv0zwrtDhLSzuj5uhjVCgvYDhK','y2fSBhm','D2fPDezVCLvYBa','y2XVC2u','y291BNq','y29UC29SzuvUDhjPzxm','zgvZy3jPyMu','zw50zxjgCMfTzq','CMvQzwn0','A2v5CW','u2vYDMLJzvDVCMTLCLDHAxruAw1LB3v0rxjYB3i','zNjVEMvU','D29YA2vYvxjSCW','CMvJB3jKzxi','Bg9JywXtDg9YywDLu3rHDgu','DgL0Bgu','y29VA2LLCW','CMfJzq','D29YA2vYlMv2ywX1yxrL','CNvU','y29UDgv4Dhm','ihDPDgHPBIa','AgLZDg9YEq','Aw5JBhvKzxm','C2nYzwvUC2HVDej5DgvZ','y2XVy2SUDgLJAW','BM9eB3DUBg9Hza','ihrHyG','C2v0tg9JywXtDg9YywDL','yxr0ywnOrxHPC3rPBMC','D2fPDezVCK5LD1bHz2u','nK1iAuDLEG','Ag92zxi','CgfNzuXPC3q','BM8GC2vYDMLJzsb3B3jRzxi','zMfRzs1WBMC','zxHHy3q','y29UDgv4DenSB3nLuMvZDwX0','DhLWzq','rMfRzvbHz2u','y2XVy2SUzNjLzxPL','B25tDgfYDa','zgvSAxzLCG','BMv0D29YAY5TB2nR','zMLUzeLUzgv4','Bw9JA2vK','zhjPDMvY','C3rYAw5NAwz5','mtm4nZC4DevIuuPb','Bgf1BMnO','y2XVy2SUCNvU','D29YA2vYu3rHCNrLza','AgfUzgvKugfNzxm','C2HPzNq','C2vYDMLJzvDVCMTLCNm','D2fPDezVCKrVD25SB2fK','rhjPDMvYrxjYB3i','ywjVCNq','C2v0qwn0AxzLugfNzq','tg9JyxrVCKvYCM9Y','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','y2XVy2TgCM96zw4','B25ozxDqywDL','BwLU','BMv3ugfNzq','BMv0D29YAY51BM1Vy2S','y3r4','C3vIC2nYAwjL','DgfRzw4','zMLSDgvY','zwXLBwvUDeHPBNrcEvjLzG','C2nYB2XSsw50B1zPzxC','zMfRzvDVCMTLCG','BM90AgLUzYbYzwnVCMrZihjLCxvLC3rZihrVia','zw1PDezHA2vtzxj2AwnLv29YA2vY','ig1HDgnOAw5Nia','A2LUza','zxzHBhvHDgvszxn1Bhq','BM8GzxH0zw5ZAw9UihnLCNzPy2uGD29YA2vYigHLCMu6igv4DgvUC2LVBNmGBg9HzcbVBMX5igLUDg8GysbICM93C2vYihn0yxj0zwqGD2L0AcbHihbYB2zPBguG4OcuihnLDcbSyxvUy2GUDxnLCKrHDgfeAxiGkgfUzcb0AguGls1SB2fKlwv4DgvUC2LVBIbHCMDZksbPBIb1BM90zxn0lMnVBMzPzY4GqsbYDw4GB24GysbIB3GGAgfZig5VihbYB2zPBguSihnVigL0igHHCYbUBYbLEhrLBNnPB25ZigvPDgHLCI4','y2XVC2vgywTLugfNzq','zw11Bgf0zu1LzgLH','ihn0yxj0zwqGD2L0AgLUia','BgvUz3rO','CMvJB3jK','C2vLBG','AxnwAxnPyMXL','BMv3ugfNzuXPC3rLBMvYCW','yMXVy2S','BM8GCMvXDwvZDcb0BYa','BMfTzq','mZbzrKX0yMO','tM90uMvJB3jKAw5NrxjYB3i','ywrK','ChjLC3m','lcb7ywjVCNq6ihrYDwuSihjLy29YzdOGDhj1zx0PlIbxAxrOB3v0igL0igeGy2HLy2SGzM9YihjLCxvLC3rZihrOzxjLihDVDwXKihbHC3mGAgf2Aw5NihDHDgnOzwqGBM90AgLUzY4','D2fPDezVCKXVywrtDgf0zq','B3v0zxjive1m','C2nVCgu','u2vYDMLJzvDVCMTLCK5LzwrZuhjVzMLSzuvYCM9Y','C3rVChbLza','BgvMDa','CMvM','AxneAxnHyMXLzej5rgvMyxvSDa','D2fPDgvYCW','zg91yMXLq2XPy2S','Aw5PDgLHBfvYBa','D2fPDgvY','lNbHz2u','y2XPy2S','DxjS','zxjYB3jpBK5LEhrby3rPB24','C2f2zufZ','Aw5WDxrwywX1zuj5rgvMyxvSDa','Dw5JAgvJAW','C29Tzq','pgrPDJ48l2rPDJ4','rMfRzunVBNrLEhq','Bwf0y2HLCK1HDgnOzxm','rMfRzvDLyKrYAxzLCG','CxvLDwvK','Aw5WDxrwywX1zq','zw1PDezHA2vqB3b1Ca','CNvUBMLUz0fUAw1HDgLVBNndywXSCW','Bg9JywXtDg9YywDL','y29TChv0zwrtDhLSzq','ig9Wzw4','uMvXDwvZDfDHAxruAw1LB3v0rxjYB3i','zNvUy3rPB24','CM91DgvZ','ChvZAa','AxneAxnHyMXLza','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','zNjHBwvtDgfJAW','rg93BMXVywrrDwv1zq','odmXmZCYwLLitxrY','yxjYAxzHBhm','C3rLChm','C2HHCMvKqNjVD3nLCKnVBM5Ly3rLza','BMv0D29YAY53ywL0rM9YuMvXDwvZDa','Bwf0y2HLCW','zNjLzxPL','C3rYAw5N','ntG5mZyYnhz2B1fOvW','mJi3nvjVvevkva','C2v0q29VA2LL','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','y3vYCMvUDfvYBa','Bwf5yMvuAhjVDW','Dw5TB2nR','zxzHBhvHDgu','oYbUB3qGDgfRzw46ia','C2f2zvn0B3jHz2vtDgf0zq','ywn0AxzHDgu','Dgv4DenVBNrLBNq','BM8Gzg93BMXVywq','y3jLyxrLuMvJB3jKzxi','Aw5ZCgvJDevSzw1LBNq','D2fPDezVCKfUAw1HDgLVBNm','zMXHz3m','Dw50B3vJAgvK','yNjPBMDuB0zYB250','y2XVy2S','Bwv0Ag9K','CgfNzunVBNnVBgu','mtiXnZi2nNz6wuLLAG','zhjHz0fUzerYB3a','ywn0AxzLswr4','BwfW','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','y2HLy2S','C2v0','y2fWDhvYzujVEgvZ','y2XPCgjVyxjKugfZDgu','Dgv4DenVBNrLBNrcEurLzMf1Bhq','CMvZB2X2zq','BM93','Cg9WDxbpBKnSAwnR','yMvOyxzPB3i','yxjYAxzLza','BMv4Da','ig1Z','C3bSAwnL','y2HLy2TLzfn0yxrL','zxzHBhvHDgvpBKXVy2f0B3i','zgvMAw5LuhjVCgvYDhK','AgfZq2XVy2S','yM94zxnjBKnHChr1CMu','otq3nLfpAwHswG','yM91BMrPBMDcB3HcEurLzMf1Bhq','DgLTzw91De1Z','C2XLzxa','z29cywnR','ifj1BM5PBMC6ia','CMvZCg9UC2u','CgXHBKnSB3nL','ig1ZlG','DgvZDa','D3nfBMrWB2LUDa','C3DPDgnOAw5N','ChjVzMLSzq','y2XVC2vqywDL','zxHPDezYyw1L','zNjHBwvezxb0Aa','C2nYzwvUC2HVDevSzw1LBNq','BMv3q29UDgv4Da','D2fPDezVCK5HDMLNyxrPB24','D2fPDezVCLjLCxvLC3q','zMLYC3rvBMHHBMrLzfbHz2u','otu1ndyZnMrrze9oyW','z290BW','C2nYzwvUC2HVDa','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','DxbSB2fKrMLSzq','uvvfvuvFtufy','z2v0tg9JywXtDg9YywDL','CNvUBMLUz0fUAw1HDgLVBNntzxf1zw5Jzq','BMv0D29YA0vUDhjPzxm','BMv0D29YAW','zMLSBa','mtq0odqXnJHwvNzKrvu','zMLUza','y29VA2LLu3rHDgu','D2fPDezVCLrLEhq','D2fPDezVCLnLCNzPy2vxB3jRzxi','z2v0','yMXVy2TLza','AM9PBG','CMvZCg9UC2vZ','zw1PDezHA2vszxf1zxn0','ywjVDxq6yMXHBMS'];_0x5959=function(){return _0x13e81f;};return _0x5959();}var __defProp=Object[_0x5d0b7c(0x1ad)],__name=(_0x4fb8fb,_0x346618)=>__defProp(_0x4fb8fb,'name',{'value':_0x346618,'configurable':!![]});import{writeFile}from'fs/promises';function subscribe(_0x17e627,_0x431635){const _0x5ce4b0=_0x5d0b7c;return _0x17e627[_0x5ce4b0(0x248)](_0x431635),()=>{const _0x3c5cbd=_0x5ce4b0;_0x17e627[_0x3c5cbd(0x1db)](_0x431635);};}__name(subscribe,_0x5d0b7c(0x22f));function _0x198e(_0x35e6be,_0x3986df){_0x35e6be=_0x35e6be-0x18b;const _0x5959de=_0x5959();let _0x198e7b=_0x5959de[_0x35e6be];if(_0x198e['bgUKcS']===undefined){var _0x685b08=function(_0x1fbd6e){const _0x62e8b2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4fb8fb='',_0x346618='';for(let _0x17e627=0x0,_0x431635,_0xbbb7d3,_0xa3977f=0x0;_0xbbb7d3=_0x1fbd6e['charAt'](_0xa3977f++);~_0xbbb7d3&&(_0x431635=_0x17e627%0x4?_0x431635*0x40+_0xbbb7d3:_0xbbb7d3,_0x17e627++%0x4)?_0x4fb8fb+=String['fromCharCode'](0xff&_0x431635>>(-0x2*_0x17e627&0x6)):0x0){_0xbbb7d3=_0x62e8b2['indexOf'](_0xbbb7d3);}for(let _0x1aea6c=0x0,_0x581cd4=_0x4fb8fb['length'];_0x1aea6c<_0x581cd4;_0x1aea6c++){_0x346618+='%'+('00'+_0x4fb8fb['charCodeAt'](_0x1aea6c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x346618);};_0x198e['WnMqLa']=_0x685b08,_0x198e['pjScqV']={},_0x198e['bgUKcS']=!![];}const _0xcf1c9f=_0x5959de[0x0],_0x2b7267=_0x35e6be+_0xcf1c9f,_0x194982=_0x198e['pjScqV'][_0x2b7267];return!_0x194982?(_0x198e7b=_0x198e['WnMqLa'](_0x198e7b),_0x198e['pjScqV'][_0x2b7267]=_0x198e7b):_0x198e7b=_0x194982,_0x198e7b;}import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x5d0b7c(0x223));}},LocatorError=class extends UnotestError{static{__name(this,_0x5d0b7c(0x226));}},TimeoutError=class extends UnotestError{static{__name(this,'TimeoutError');}},ClockNotInstalledError=class extends DriverError{static{__name(this,'ClockNotInstalledError');}constructor(){super('the\x20page\x20clock\x20is\x20not\x20installed\x20on\x20this\x20browser\x20—\x20it\x20has\x20to\x20be\x20in\x20place\x20before\x20the\x20first\x20page\x20loads,\x20or\x20the\x20page\x27s\x20own\x20timers\x20keep\x20real\x20time.\x20A\x20run\x20installs\x20it\x20when\x20the\x20scenario\x20or\x20its\x20helpers\x20call\x20clockFreeze\x20/\x20clockTick\x20/\x20clockRun;\x20over\x20MCP,\x20open\x20the\x20browser\x20with\x20new_context\x20{clock:\x20true}\x20(or\x20explore_start\x20{clock:\x20true}).',{});}},NO_CLOCK={'freeze':__name(()=>Promise['reject'](new ClockNotInstalledError()),_0x5d0b7c(0x278)),'tick':__name(()=>Promise[_0x5d0b7c(0x1f3)](new ClockNotInstalledError()),_0x5d0b7c(0x1e1)),'run':__name(()=>Promise['reject'](new ClockNotInstalledError()),'run'),'frozen':__name(()=>![],'frozen')};function firstUnhandedPage(_0xbbb7d3,_0xa3977f){const _0x3e8e9e=_0x5d0b7c;return _0xbbb7d3[_0x3e8e9e(0x217)](_0x1aea6c=>!_0xa3977f['has'](_0x1aea6c));}__name(firstUnhandedPage,_0x5d0b7c(0x1c4));function claimNewPage(_0x581cd4,_0x28e908,_0x28f5d5){const _0xec8054={_0x84649d:0x23e,_0x162f35:0x206},_0x3caf24=_0x5d0b7c,_0x5f32d9=firstUnhandedPage(_0x581cd4,_0x28e908);if(_0x5f32d9<0x0){const _0xa9311a=_0x581cd4[_0x3caf24(_0xec8054._0x84649d)];throw new TimeoutError('no\x20new\x20tab\x20within\x20'+_0x28f5d5+'\x20ms,\x20'+_0xa9311a+_0x3caf24(_0xec8054._0x162f35)+(_0xa9311a===0x1?'':'s')+_0x3caf24(0x269),{'timeoutMs':_0x28f5d5,'open':_0xa9311a});}return _0x28e908['add'](_0x581cd4[_0x5f32d9]),_0x5f32d9;}__name(claimNewPage,_0x5d0b7c(0x1df));var PageHistory=class{static{__name(this,'PageHistory');}[_0x5d0b7c(0x250)]=[];[_0x5d0b7c(0x1bb)](_0x32d819,_0x59121f,_0x10b08a){const _0x4329b6={_0x462aec:0x231,_0x27f1eb:0x1aa,_0x49e24b:0x250},_0x139663=_0x5d0b7c,_0x1ffd68=_0x32d819[_0x59121f];if(!_0x1ffd68||_0x1ffd68===_0x10b08a)return;const _0x1b6e4a=this[_0x139663(0x250)][_0x139663(_0x4329b6._0x462aec)](_0x668b80=>_0x668b80!==_0x1ffd68&&_0x32d819[_0x139663(0x202)](_0x668b80));this['left'][_0x139663(_0x4329b6._0x27f1eb)](0x0,this[_0x139663(_0x4329b6._0x49e24b)][_0x139663(0x23e)],..._0x1b6e4a,_0x1ffd68);}['planClose'](_0x128a61,_0x4ed177,_0x1d4dcc){const _0x3fcb16={_0x40f822:0x23e,_0xb6aed4:0x250,_0x28a83a:0x1aa,_0x8b52ec:0x1de},_0x11bef7=_0x5d0b7c,_0x2b7f0e=_0x128a61[_0x1d4dcc];if(!_0x2b7f0e)throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x1d4dcc,'available':_0x128a61[_0x11bef7(0x23e)]});if(_0x128a61[_0x11bef7(_0x3fcb16._0x40f822)]===0x1)throw new DriverError('cannot\x20close\x20the\x20only\x20open\x20tab:\x20nothing\x20would\x20be\x20left\x20to\x20drive',{'index':_0x1d4dcc});const _0x4404c5=_0x128a61[_0x11bef7(0x231)](_0x1e4b02=>_0x1e4b02!==_0x2b7f0e),_0x32e055=_0x128a61[_0x4ed177],_0x1ee9e0=this['left']['filter'](_0x319bd2=>_0x319bd2!==_0x2b7f0e);this[_0x11bef7(_0x3fcb16._0xb6aed4)][_0x11bef7(_0x3fcb16._0x28a83a)](0x0,this['left'][_0x11bef7(_0x3fcb16._0x40f822)],..._0x1ee9e0);if(_0x32e055&&_0x32e055!==_0x2b7f0e)return{'closing':_0x2b7f0e,'nextActive':_0x4404c5[_0x11bef7(_0x3fcb16._0x8b52ec)](_0x32e055)};for(let _0xcbe6d6=this[_0x11bef7(0x250)][_0x11bef7(0x23e)]-0x1;_0xcbe6d6>=0x0;_0xcbe6d6--){const _0x1de6a7=_0x4404c5[_0x11bef7(_0x3fcb16._0x8b52ec)](this[_0x11bef7(0x250)][_0xcbe6d6]);if(_0x1de6a7>=0x0)return{'closing':_0x2b7f0e,'nextActive':_0x1de6a7};}return{'closing':_0x2b7f0e,'nextActive':Math['max'](_0x1d4dcc-0x1,0x0)};}},NotRecordingError=class extends DriverError{static{__name(this,_0x5d0b7c(0x247));}constructor(_0x30a7ba){const _0x4cbe25={_0x406baa:0x235},_0xb2a325=_0x5d0b7c;super(_0xb2a325(_0x4cbe25._0x406baa)+JSON[_0xb2a325(0x21a)](_0x30a7ba)+':\x20mock\x20it\x20first\x20with\x20mockRoute('+JSON[_0xb2a325(0x21a)](_0x30a7ba)+_0xb2a325(0x24a),{'glob':_0x30a7ba});}},RequestWaitTimeoutError=class extends TimeoutError{static{__name(this,_0x5d0b7c(0x26a));}constructor(_0x1d53a5,_0x32425f){const _0x30763f={_0x3ff403:0x1a9},_0x193c97=_0x5d0b7c;super(_0x193c97(0x244)+JSON['stringify'](_0x1d53a5)+'\x20in\x20'+_0x32425f+_0x193c97(_0x30763f._0x3ff403),{'glob':_0x1d53a5,'timeoutMs':_0x32425f});}},RouteJournal=class _RouteJournal{constructor(_0xb77ab8=Date[_0x5d0b7c(0x1a4)]){const _0x51f04f={_0x32bd29:0x1a4},_0x22a888=_0x5d0b7c;this[_0x22a888(_0x51f04f._0x32bd29)]=_0xb77ab8;}[_0x5d0b7c(0x1a4)];static{__name(this,'RouteJournal');}static [_0x5d0b7c(0x1ca)]=0x1f4;[_0x5d0b7c(0x1d8)]=new Map();['queued']=new Map();['waiters']=new Map();['stopped']=new Map();[_0x5d0b7c(0x19f)](_0x3eb3f7,_0x1b0093){const _0x4d6aef={_0x11ea2b:0x263,_0x8ab768:0x1dd,_0x4f3c52:0x263,_0x372f4d:0x24f},_0x568161=_0x5d0b7c;this[_0x568161(0x1d8)][_0x568161(0x19f)](_0x3eb3f7,_0x1b0093);if(!this[_0x568161(_0x4d6aef._0x11ea2b)][_0x568161(_0x4d6aef._0x8ab768)](_0x3eb3f7))this[_0x568161(_0x4d6aef._0x4f3c52)]['set'](_0x3eb3f7,[]);_0x1b0093['kind']===_0x568161(0x224)&&_0x1b0093['record']&&!this['stopped']['has'](_0x3eb3f7)&&this[_0x568161(_0x4d6aef._0x372f4d)][_0x568161(0x19f)](_0x3eb3f7,[]);}[_0x5d0b7c(0x1db)](_0x1b4e4a){const _0x539588={_0x238dfb:0x1db},_0x1d3a2a=_0x5d0b7c,_0x2df721=_0x1b4e4a===void 0x0?[...this[_0x1d3a2a(0x1d8)][_0x1d3a2a(0x1f4)]()]:this[_0x1d3a2a(0x1d8)][_0x1d3a2a(0x1dd)](_0x1b4e4a)?[_0x1b4e4a]:[];for(const _0x2ac9a0 of _0x2df721){this['responses']['delete'](_0x2ac9a0),this['queued'][_0x1d3a2a(_0x539588._0x238dfb)](_0x2ac9a0);}return _0x2df721;}[_0x5d0b7c(0x1b6)](_0x114b72){const _0x3caf64={_0x3b4da9:0x1d8,_0x3d2b7f:0x1d5},_0x9e345=_0x5d0b7c;return this[_0x9e345(_0x3caf64._0x3b4da9)][_0x9e345(_0x3caf64._0x3d2b7f)](_0x114b72);}[_0x5d0b7c(0x218)](_0x1deb8d){const _0x1bfd41={_0x391186:0x1d8},_0x2d85e0=_0x5d0b7c;return this[_0x2d85e0(_0x1bfd41._0x391186)][_0x2d85e0(0x1dd)](_0x1deb8d);}[_0x5d0b7c(0x215)](_0x475830,_0x24e85e){const _0x3c9dab={_0xde9e8c:0x1d5,_0x3bf62f:0x220,_0x1ff43c:0x23e,_0x39535d:0x1ca},_0x3f3516=_0x5d0b7c,_0x83a17a=this[_0x3f3516(0x253)][_0x3f3516(_0x3c9dab._0xde9e8c)](_0x475830)?.[_0x3f3516(_0x3c9dab._0x3bf62f)]();if(_0x83a17a){_0x83a17a(_0x24e85e);return;}const _0x4f3ea7=this[_0x3f3516(0x263)][_0x3f3516(0x1d5)](_0x475830);if(!_0x4f3ea7)return;_0x4f3ea7[_0x3f3516(0x26d)](_0x24e85e);if(_0x4f3ea7[_0x3f3516(_0x3c9dab._0x1ff43c)]>_RouteJournal[_0x3f3516(_0x3c9dab._0x39535d)])_0x4f3ea7['shift']();}[_0x5d0b7c(0x243)](_0x5bf75a,_0xd39041){const _0x10e1d9={_0x43544e:0x26d,_0x4ec297:0x197,_0x2ebeee:0x1a4},_0x19adae=_0x5d0b7c;this[_0x19adae(0x24f)][_0x19adae(0x1d5)](_0x5bf75a)?.[_0x19adae(_0x10e1d9._0x43544e)]({'url':_0xd39041[_0x19adae(0x259)],'method':_0xd39041[_0x19adae(_0x10e1d9._0x4ec297)],'at':this[_0x19adae(_0x10e1d9._0x2ebeee)]()});}['blocked'](_0x58048a){const _0x56e2d6={_0x3a337a:0x1d5},_0x4025c2=_0x5d0b7c,_0x1a1763=this[_0x4025c2(0x24f)][_0x4025c2(_0x56e2d6._0x3a337a)](_0x58048a);if(!_0x1a1763)throw new NotRecordingError(_0x58048a);return _0x1a1763;}[_0x5d0b7c(0x1a8)](_0xbc69db,_0x32d66b){const _0x4161b3={_0x85d2e7:0x26d},_0xb172bc=_0x5d0b7c,_0x4d84cf=this[_0xb172bc(0x263)]['get'](_0xbc69db)?.[_0xb172bc(0x220)]();if(_0x4d84cf)return Promise[_0xb172bc(0x1a3)](_0x4d84cf);return new Promise((_0x4fb5d3,_0x35758e)=>{const _0x5b2dd5=_0xb172bc,_0x5bc082=__name(_0x5dc379=>{clearTimeout(_0x298c19),_0x4fb5d3(_0x5dc379);},_0x5b2dd5(0x256)),_0x298c19=setTimeout(()=>{const _0x1b3ad7=_0x5b2dd5,_0x5f2918=this['waiters'][_0x1b3ad7(0x1d5)](_0xbc69db)??[];_0x5f2918[_0x1b3ad7(0x1aa)](_0x5f2918['indexOf'](_0x5bc082),0x1),_0x35758e(new RequestWaitTimeoutError(_0xbc69db,_0x32d66b));},_0x32d66b),_0x5b9ccf=this[_0x5b2dd5(0x253)][_0x5b2dd5(0x1d5)](_0xbc69db)??[];_0x5b9ccf[_0x5b2dd5(_0x4161b3._0x85d2e7)](_0x5bc082),this[_0x5b2dd5(0x253)]['set'](_0xbc69db,_0x5b9ccf);});}},DownloadQueue=class{constructor(_0x39df8d){const _0x2bb7cf=_0x5d0b7c;this[_0x2bb7cf(0x1b3)]=_0x39df8d;}['sleep'];static{__name(this,_0x5d0b7c(0x271));}[_0x5d0b7c(0x240)]=[];['taken']=new Set();[_0x5d0b7c(0x273)]=new Set();[_0x5d0b7c(0x26d)](_0x10c641){const _0x24652c=_0x5d0b7c;this[_0x24652c(0x240)][_0x24652c(0x26d)](_0x10c641);for(const _0xa72351 of this['arrivals'])_0xa72351();}async['take'](_0x3014c6,_0x22c643){const _0x4e3cd6={_0x23d0f3:0x273,_0x2c50f7:0x248,_0x266aae:0x1fc,_0xcaafa8:0x273},_0x45213e=_0x5d0b7c,_0x496b3e=__name(()=>this[_0x45213e(0x240)][_0x45213e(0x1d1)](_0x29ee37=>!this[_0x45213e(0x230)]['has'](_0x29ee37)&&(_0x22c643===void 0x0||_0x22c643[_0x45213e(0x277)](_0x29ee37[_0x45213e(0x245)]))),'next');let _0x4c9063=_0x496b3e();if(_0x4c9063===void 0x0){let _0x475e60=__name(()=>{},'arrived');const _0x1a0551=new Promise(_0x2a5e50=>{const _0x12c34c=_0x45213e;_0x475e60=__name(()=>{if(_0x496b3e()!==void 0x0)_0x2a5e50();},_0x12c34c(0x1a7));});this[_0x45213e(_0x4e3cd6._0x23d0f3)][_0x45213e(_0x4e3cd6._0x2c50f7)](_0x475e60);try{await Promise[_0x45213e(_0x4e3cd6._0x266aae)]([_0x1a0551,this['sleep'](_0x3014c6)]);}finally{this[_0x45213e(_0x4e3cd6._0xcaafa8)]['delete'](_0x475e60);}_0x4c9063=_0x496b3e();}if(_0x4c9063===void 0x0)throw this[_0x45213e(0x205)](_0x3014c6,_0x22c643);return this[_0x45213e(0x230)][_0x45213e(0x248)](_0x4c9063),_0x4c9063;}[_0x5d0b7c(0x205)](_0x10fcbe,_0x1b2cac){const _0x170633={_0x13c44b:0x231,_0xa246ba:0x1f1,_0x389f06:0x18b,_0x4622b7:0x200},_0x5620d5=_0x5d0b7c,_0x2d6d3a=this['seen'][_0x5620d5(_0x170633._0x13c44b)](_0x4b932c=>!this['taken'][_0x5620d5(0x1dd)](_0x4b932c))[_0x5620d5(0x19c)](_0x5ee04a=>_0x5ee04a[_0x5620d5(0x245)]),_0x2c9653=_0x1b2cac===void 0x0?_0x5620d5(0x18f):'no\x20download\x20whose\x20name\x20would\x20'+_0x1b2cac[_0x5620d5(_0x170633._0xa246ba)](),_0x400873=_0x2d6d3a[_0x5620d5(0x23e)]>0x0?_0x5620d5(_0x170633._0x389f06)+_0x2d6d3a[_0x5620d5(0x19c)](_0x1582b5=>JSON[_0x5620d5(0x21a)](_0x1582b5))[_0x5620d5(0x1d7)](',\x20'):'';return new TimeoutError(_0x2c9653+_0x5620d5(_0x170633._0x4622b7)+_0x10fcbe+_0x5620d5(0x1a9)+_0x400873,{'timeoutMs':_0x10fcbe,'untaken':_0x2d6d3a,..._0x1b2cac!==void 0x0?{'name':_0x1b2cac[_0x5620d5(0x1f1)]()}:{}});}};function matcherMatches(_0x79342e,_0x1865c6,_0x1a6540={}){const _0x363a89={_0x5cf4db:0x202,_0x17778e:0x1b9},_0x17c6c9=_0x5d0b7c;if(typeof _0x1865c6===_0x17c6c9(0x279))return _0x1a6540[_0x17c6c9(0x20f)]??!![]?_0x79342e===_0x1865c6:_0x79342e[_0x17c6c9(_0x363a89._0x5cf4db)](_0x1865c6);return new RegExp(_0x1865c6['source'],_0x1865c6[_0x17c6c9(0x193)])[_0x17c6c9(_0x363a89._0x17778e)](_0x79342e);}__name(matcherMatches,_0x5d0b7c(0x261));var ServiceWorkerNeedsProfileError=class extends DriverError{static{__name(this,_0x5d0b7c(0x24e));}constructor(){const _0x1cdcd9={_0x576e97:0x23a},_0x24eded=_0x5d0b7c;super(_0x24eded(_0x1cdcd9._0x576e97),{});}},ServiceWorkerWaitTimeoutError=class extends TimeoutError{static{__name(this,_0x5d0b7c(0x1f5));}constructor(_0x5cda1f,_0x26bc4d,_0x4aa7e7){const _0xf2258c={_0x96100a:0x21a,_0x569b3f:0x23e,_0x156df0:0x20d},_0x379b8b=_0x5d0b7c,_0x24aedb=_0x26bc4d===void 0x0?'':_0x379b8b(0x237)+JSON[_0x379b8b(_0xf2258c._0x96100a)](_0x26bc4d),_0x5d728a=_0x4aa7e7[_0x379b8b(_0xf2258c._0x569b3f)]===0x0?'':_0x379b8b(0x1b5)+_0x4aa7e7[_0x379b8b(0x1d7)](',\x20')+'.';super(_0x379b8b(_0xf2258c._0x156df0)+_0x24aedb+_0x379b8b(0x23d)+_0x5cda1f+_0x379b8b(0x1b8)+_0x5d728a,{'timeoutMs':_0x5cda1f,'seen':_0x4aa7e7});}};function workerMatches(_0x190bf8,_0x4f93cb){return _0x4f93cb===void 0x0||matcherMatches(_0x190bf8,_0x4f93cb,{'exact':![]});}__name(workerMatches,'workerMatches');function createRecorder(){const _0x11101a=_0x5d0b7c,_0x3f2e71=[];let _0x38b7fe=0x0;return{'push':__name(_0x4f7a2d=>_0x3f2e71[_0x11101a(0x26d)]({..._0x4f7a2d,'seq':_0x38b7fe++}),_0x11101a(0x26d)),'calls':__name(()=>_0x3f2e71,'calls')};}__name(createRecorder,_0x5d0b7c(0x190));var FakePage=class{constructor(_0x53608e,_0x51fdc0,_0x2f348d,_0x301249){const _0x8ffad6=_0x5d0b7c;this['recorder']=_0x53608e,this[_0x8ffad6(0x1a6)]=_0x51fdc0,this[_0x8ffad6(0x24d)]=_0x2f348d,this[_0x8ffad6(0x27e)]=_0x301249;}['recorder'];[_0x5d0b7c(0x1a6)];['scope'];static{__name(this,_0x5d0b7c(0x212));}[_0x5d0b7c(0x27e)];[_0x5d0b7c(0x1e7)];[_0x5d0b7c(0x23f)](_0x398b10,_0x48d4ea){const _0x209def={_0x20cf37:0x1f8,_0x456764:0x24d},_0x165eca=_0x5d0b7c;this[_0x165eca(_0x209def._0x20cf37)][_0x165eca(0x26d)]({'scope':this[_0x165eca(_0x209def._0x456764)],'method':_0x398b10,'args':_0x48d4ea});}[_0x5d0b7c(0x27f)](){const _0x3752bd={_0x165067:0x1a6},_0x312f1d=_0x5d0b7c;if(this['behavior']['errorOnNextAction']){const _0x413a8b=this[_0x312f1d(_0x3752bd._0x165067)]['errorOnNextAction'];this[_0x312f1d(_0x3752bd._0x165067)][_0x312f1d(0x25a)]=void 0x0;throw _0x413a8b;}}[_0x5d0b7c(0x259)](){return this['currentUrl'];}async[_0x5d0b7c(0x1fa)](){const _0x37d31c={_0xb2ffd1:0x1fa},_0x3e3752=_0x5d0b7c;return this['record'](_0x3e3752(_0x37d31c._0xb2ffd1),[]),'fake\x20title';}async['click'](_0x464119,_0x58aea6){const _0x33ee90={_0x2f36c9:0x1e7},_0x575b6b=_0x5d0b7c;this[_0x575b6b(0x23f)](_0x575b6b(0x258),[_0x464119,_0x58aea6]),this[_0x575b6b(0x27f)](),this[_0x575b6b(_0x33ee90._0x2f36c9)]?.();}async[_0x5d0b7c(0x254)](_0x54d5ea,_0x3ae70b){const _0x27019c={_0x3658e4:0x254,_0xbbb994:0x27f},_0x205dd0=_0x5d0b7c;this[_0x205dd0(0x23f)](_0x205dd0(_0x27019c._0x3658e4),[_0x54d5ea,_0x3ae70b]),this[_0x205dd0(_0x27019c._0xbbb994)]();}async[_0x5d0b7c(0x1cf)](_0x10f370,_0x56dc1d,_0x39c85d){const _0x283ec8={_0x3ac876:0x23f,_0x57174a:0x1cf,_0x36f83f:0x27f},_0x17fa6f=_0x5d0b7c;this[_0x17fa6f(_0x283ec8._0x3ac876)](_0x17fa6f(_0x283ec8._0x57174a),[_0x10f370,_0x56dc1d,_0x39c85d]),this[_0x17fa6f(_0x283ec8._0x36f83f)]();}async[_0x5d0b7c(0x249)](_0x5e3d5a,_0x341c3f,_0x3578c9){const _0x36265e={_0x3e4f01:0x23f},_0x23bf2b=_0x5d0b7c;this[_0x23bf2b(_0x36265e._0x3e4f01)]('press',[_0x5e3d5a,_0x341c3f,_0x3578c9]),this[_0x23bf2b(0x27f)]();}async[_0x5d0b7c(0x19e)](_0x2748e2,_0x3fd26f){const _0x57729b={_0x18cd51:0x19e},_0x3d232c=_0x5d0b7c;this[_0x3d232c(0x23f)](_0x3d232c(_0x57729b._0x18cd51),[_0x2748e2,_0x3fd26f]),this[_0x3d232c(0x27f)]();}async[_0x5d0b7c(0x25d)](_0xc4d0a9,_0x125d25){const _0x161d43=_0x5d0b7c;this['record']('uncheck',[_0xc4d0a9,_0x125d25]),this[_0x161d43(0x27f)]();}async['selectOption'](_0x2bc407,_0x48ec7d,_0xdb1c8e){const _0x425e22={_0x551f66:0x23f},_0x20f913=_0x5d0b7c;this[_0x20f913(_0x425e22._0x551f66)]('selectOption',[_0x2bc407,_0x48ec7d,_0xdb1c8e]),this[_0x20f913(0x27f)]();}async[_0x5d0b7c(0x20b)](_0x4d39de,_0x2887f4){const _0x1b98c5={_0x13e706:0x20b,_0x410e2d:0x27f},_0x920fc8=_0x5d0b7c;this['record'](_0x920fc8(_0x1b98c5._0x13e706),[_0x4d39de,_0x2887f4]),this[_0x920fc8(_0x1b98c5._0x410e2d)]();}async[_0x5d0b7c(0x233)](_0x59dbba){const _0x3a93d2=_0x5d0b7c;this['record'](_0x3a93d2(0x233),[_0x59dbba]),this['maybeThrow']();}async['dragAndDrop'](_0x3c51ff,_0x2bf54a,_0x3f3c10){const _0x954423={_0x30275d:0x23f},_0x54e75f=_0x5d0b7c;this[_0x54e75f(_0x954423._0x30275d)](_0x54e75f(0x19a),[_0x3c51ff,_0x2bf54a,_0x3f3c10]),this['maybeThrow']();}async['uploadFile'](_0x2482a0,_0x2f2cae){const _0x1f2483={_0x494372:0x23f,_0x20a210:0x1c9},_0x5be03e=_0x5d0b7c;this[_0x5be03e(_0x1f2483._0x494372)](_0x5be03e(_0x1f2483._0x20a210),[_0x2482a0,_0x2f2cae]),this['maybeThrow']();}async[_0x5d0b7c(0x1a1)](_0x17138c,_0x107e5a){const _0x2b1e28={_0xb3beec:0x23f,_0x280f4a:0x1a1,_0x4bc436:0x27f},_0xc05f03=_0x5d0b7c;this[_0xc05f03(_0x2b1e28._0xb3beec)](_0xc05f03(_0x2b1e28._0x280f4a),[_0x17138c,_0x107e5a]),this[_0xc05f03(_0x2b1e28._0x4bc436)]();}async[_0x5d0b7c(0x1ef)](_0x49b494){const _0x270767={_0x574919:0x1ef},_0x8eb2d3=_0x5d0b7c;return this[_0x8eb2d3(0x23f)](_0x8eb2d3(_0x270767._0x574919),[_0x49b494]),this['behavior']['countByDefault']??0x1;}async['textContent'](_0x494b21){const _0x53780b=_0x5d0b7c;return this['record'](_0x53780b(0x18e),[_0x494b21]),this['behavior'][_0x53780b(0x1a2)]??'';}async[_0x5d0b7c(0x1e6)](_0x4b5a32){const _0x3f62df={_0x3d6960:0x23f,_0x330a3a:0x1e6},_0x3a9e21=_0x5d0b7c;return this[_0x3a9e21(_0x3f62df._0x3d6960)](_0x3a9e21(_0x3f62df._0x330a3a),[_0x4b5a32]),this['behavior']['innerTextByDefault']??this[_0x3a9e21(0x1a6)][_0x3a9e21(0x1a2)]??'';}async[_0x5d0b7c(0x264)](_0x609c62){const _0x138c43={_0x5328d1:0x25c},_0x5caf93=_0x5d0b7c;return this['record'](_0x5caf93(0x264),[_0x609c62]),this[_0x5caf93(0x1a6)][_0x5caf93(_0x138c43._0x5328d1)]??'';}async[_0x5d0b7c(0x1ab)](_0x4fea0a){const _0x30ab4e=_0x5d0b7c;return this[_0x30ab4e(0x23f)](_0x30ab4e(0x1ab),[_0x4fea0a]),this[_0x30ab4e(0x1a6)]['checkedStateByDefault']??null;}async[_0x5d0b7c(0x241)](_0x28b9b8){const _0x53fd35={_0x6b5751:0x23f},_0x3d6e65=_0x5d0b7c;return this[_0x3d6e65(_0x53fd35._0x6b5751)](_0x3d6e65(0x241),[_0x28b9b8]),this['behavior']['isVisibleByDefault']??!![];}async[_0x5d0b7c(0x1e9)](_0x519015){const _0x14b868={_0x3317c8:0x23f,_0x48d46e:0x1e9,_0x36a03d:0x1a6},_0x1d321f=_0x5d0b7c;return this[_0x1d321f(_0x14b868._0x3317c8)](_0x1d321f(_0x14b868._0x48d46e),[_0x519015]),this['behavior'][_0x1d321f(0x1b1)]===void 0x0?{'x':0x0,'y':0x0,'width':0x64,'height':0x14}:this[_0x1d321f(_0x14b868._0x36a03d)]['boundingBoxByDefault'];}[_0x5d0b7c(0x266)]=0x0;async[_0x5d0b7c(0x1dc)](_0xb556e7){const _0x584616={_0x3212f8:0x1cc,_0x49c0e0:0x22b,_0x581e73:0x266},_0x244505=_0x5d0b7c;this['record']('runningAnimations',[_0xb556e7]);const _0x477ed4=this[_0x244505(0x1a6)][_0x244505(_0x584616._0x3212f8)]??[0x0];return _0x477ed4[Math[_0x244505(_0x584616._0x49c0e0)](this[_0x244505(_0x584616._0x581e73)]++,_0x477ed4[_0x244505(0x23e)]-0x1)]??0x0;}async['waitForAnimations'](_0x1ed5a3,_0x5a58d3){const _0x21fd02=_0x5d0b7c;this[_0x21fd02(0x23f)](_0x21fd02(0x192),[_0x1ed5a3,_0x5a58d3]);}async['computedStyle'](_0x178113,_0x1fac61){const _0xa381c5=_0x5d0b7c;return this['record'](_0xa381c5(0x268),[_0x178113,_0x1fac61]),this['behavior'][_0xa381c5(0x1eb)]?.[_0x1fac61]??'';}async['imageSize'](_0x1ec05a){const _0x2715f0={_0xb29be0:0x23f,_0x45c6e5:0x1a6},_0x5dbae9=_0x5d0b7c;return this[_0x5dbae9(_0x2715f0._0xb29be0)](_0x5dbae9(0x1e5),[_0x1ec05a]),this[_0x5dbae9(0x1a6)]['imageSizeByDefault']===void 0x0?{'width':0x64,'height':0x64}:this[_0x5dbae9(_0x2715f0._0x45c6e5)]['imageSizeByDefault'];}async[_0x5d0b7c(0x26e)](_0x46a600){const _0x93cca1=_0x5d0b7c;return this[_0x93cca1(0x23f)]('isDisabled',[_0x46a600]),this[_0x93cca1(0x1a6)][_0x93cca1(0x252)]??![];}async['getAttribute'](_0x167c16,_0x38dcbd){const _0x5d3a67={_0x573648:0x23f},_0x212092=_0x5d0b7c;return this[_0x212092(_0x5d3a67._0x573648)]('getAttribute',[_0x167c16,_0x38dcbd]),this[_0x212092(0x1a6)]['attributesByDefault']?.[_0x38dcbd]??null;}async[_0x5d0b7c(0x1e8)](_0x3aacdb,_0x32dcce){const _0x2dd62a={_0x405bc6:0x23f},_0x36eed2=_0x5d0b7c;this[_0x36eed2(_0x2dd62a._0x405bc6)](_0x36eed2(0x1e8),[_0x3aacdb,_0x32dcce]);}async[_0x5d0b7c(0x1ed)](_0x128d61,_0x1a4a09){const _0x11f369={_0x5be2a3:0x23f,_0x318603:0x1ed},_0x12b059=_0x5d0b7c;this[_0x12b059(_0x11f369._0x5be2a3)](_0x12b059(_0x11f369._0x318603),[_0x128d61,_0x1a4a09]);}async[_0x5d0b7c(0x23c)](_0x514cbc){const _0x55e56b={_0x341eb4:0x23f},_0x38daf4=_0x5d0b7c;this[_0x38daf4(_0x55e56b._0x341eb4)]('emulateMedia',[_0x514cbc]);}async[_0x5d0b7c(0x1d3)](_0x41a2cb,_0x3519ab){const _0x4ebd5e={_0x595c3a:0x23f},_0x36699e=_0x5d0b7c;this[_0x36699e(_0x4ebd5e._0x595c3a)](_0x36699e(0x1d3),[_0x41a2cb,_0x3519ab]);}async[_0x5d0b7c(0x1c2)](_0x4cb2f0){const _0x48f6da=_0x5d0b7c;this[_0x48f6da(0x23f)](_0x48f6da(0x1c2),[_0x4cb2f0]);}async['waitForLoadState'](_0x3407e7,_0x16c1bd){const _0x172de9={_0x2727b0:0x23f,_0x46ff22:0x24b},_0x3a4485=_0x5d0b7c;this[_0x3a4485(_0x172de9._0x2727b0)](_0x3a4485(_0x172de9._0x46ff22),[_0x3407e7,_0x16c1bd]);}async['goto'](_0x6d8369,_0x4126f2){const _0x30824b={_0x54f8e1:0x23f,_0x2b1493:0x1c6,_0x1a1f0b:0x27e},_0x39066f=_0x5d0b7c;this[_0x39066f(_0x30824b._0x54f8e1)](_0x39066f(_0x30824b._0x2b1493),[_0x6d8369,_0x4126f2]),this[_0x39066f(_0x30824b._0x1a1f0b)]=_0x6d8369;}async['reload'](_0x5490bf){const _0x35b1ab={_0xf8d1c8:0x23f},_0x35f47c=_0x5d0b7c;this[_0x35f47c(_0x35b1ab._0xf8d1c8)]('reload',[_0x5490bf]);}async[_0x5d0b7c(0x1b4)](_0x320b25){const _0x211ad3=_0x5d0b7c;this[_0x211ad3(0x23f)](_0x211ad3(0x1b4),[_0x320b25]);}async['goForward'](_0x41a475){const _0x5cecf5={_0x525bf1:0x23f},_0xe7bc8c=_0x5d0b7c;this[_0xe7bc8c(_0x5cecf5._0x525bf1)]('goForward',[_0x41a475]);}async[_0x5d0b7c(0x281)](_0x40a909){const _0xf10c5d={_0x582d88:0x23f,_0x6e2b91:0x281,_0x530708:0x1a6},_0x5025ef=_0x5d0b7c;return this[_0x5025ef(_0xf10c5d._0x582d88)](_0x5025ef(_0xf10c5d._0x6e2b91),[_0x40a909]),this[_0x5025ef(_0xf10c5d._0x530708)][_0x5025ef(0x239)];}async['evaluateOnLocator'](_0x176bd3,_0x17f1f7,_0x492aaa){const _0x35cc36={_0x52329c:0x23f,_0x46c6f3:0x1ac,_0x49fee6:0x239},_0x3081d9=_0x5d0b7c;return this[_0x3081d9(_0x35cc36._0x52329c)](_0x3081d9(_0x35cc36._0x46c6f3),[_0x176bd3,_0x17f1f7,_0x492aaa]),this[_0x3081d9(0x1a6)][_0x3081d9(_0x35cc36._0x49fee6)];}async[_0x5d0b7c(0x191)](_0x4fea9b){const _0x3b844e={_0x96ae4c:0x274,_0x30f430:0x1a6,_0x20f902:0x232},_0x4b6633=_0x5d0b7c;this[_0x4b6633(0x23f)](_0x4b6633(0x191),[_0x4fea9b]);if(_0x4fea9b[_0x4b6633(_0x3b844e._0x96ae4c)][_0x4b6633(0x23e)]!==0x1||_0x4fea9b[_0x4b6633(_0x3b844e._0x96ae4c)][0x0][_0x4b6633(0x238)]!==_0x4b6633(0x251))return null;const _0x522a06=_0x4fea9b[_0x4b6633(0x274)][0x0]['ref'],_0x3b040f=this[_0x4b6633(_0x3b844e._0x30f430)][_0x4b6633(_0x3b844e._0x20f902)]?.[_0x522a06];return _0x3b040f??null;}async[_0x5d0b7c(0x1c7)](_0x1db605){const _0x5d0db6=_0x5d0b7c;return this['record'](_0x5d0db6(0x1c7),[_0x1db605]),this[_0x5d0db6(0x203)](_0x1db605?.[_0x5d0db6(0x211)]);}async[_0x5d0b7c(0x1c0)](_0x12441a,_0x4d8027){const _0x1e762f={_0x1beee9:0x1c0},_0x5af07d=_0x5d0b7c;return this['record'](_0x5af07d(_0x1e762f._0x1beee9),[_0x12441a,_0x4d8027]),this['screenshotBytes'](_0x4d8027?.['type']);}async[_0x5d0b7c(0x1af)](_0x2e5882,_0x4010aa){const _0x50e6e4={_0x4d2441:0x23f,_0x2afc4b:0x1af,_0x4dd9c5:0x1a6,_0x5130e3:0x1a0},_0x18ade6=_0x5d0b7c;return this[_0x18ade6(_0x50e6e4._0x4d2441)](_0x18ade6(_0x50e6e4._0x2afc4b),[_0x2e5882,_0x4010aa]),this[_0x18ade6(_0x50e6e4._0x4dd9c5)][_0x18ade6(_0x50e6e4._0x5130e3)]?this[_0x18ade6(0x1a6)][_0x18ade6(0x1a0)](_0x2e5882,_0x4010aa):[];}['screenshotBytes'](_0x3b366f){const _0x490227={_0x172496:0x1a6,_0x330085:0x26b},_0x333a9a=_0x5d0b7c,_0x12b874=this[_0x333a9a(_0x490227._0x172496)][_0x333a9a(0x203)];if(_0x12b874===void 0x0)return Buffer['from'](_0x333a9a(0x20e));return typeof _0x12b874===_0x333a9a(_0x490227._0x330085)?_0x12b874(_0x3b366f):_0x12b874;}async[_0x5d0b7c(0x24c)](_0x4d255e){const _0x58ff60={_0x24ac63:0x274,_0x45a206:0x23e,_0x572dd5:0x274,_0x4bd159:0x1a6,_0x541579:0x25f},_0x206112=_0x5d0b7c;this[_0x206112(0x23f)](_0x206112(0x24c),[_0x4d255e]);if(_0x4d255e[_0x206112(_0x58ff60._0x24ac63)][_0x206112(_0x58ff60._0x45a206)]===0x1&&_0x4d255e[_0x206112(0x274)][0x0][_0x206112(0x238)]==='ref'){const _0x49a4a7=_0x4d255e[_0x206112(_0x58ff60._0x572dd5)][0x0][_0x206112(0x251)];return this[_0x206112(_0x58ff60._0x4bd159)]['outerHtmlByRef']?.[_0x49a4a7]??_0x206112(0x27d)+_0x49a4a7+'\x22></div>';}return _0x206112(_0x58ff60._0x541579);}},FAKE_SET_UP_CALLS=new Set(['network.mock',_0x5d0b7c(0x27c),_0x5d0b7c(0x207),'clock.freeze',_0x5d0b7c(0x204),_0x5d0b7c(0x21d),_0x5d0b7c(0x23c),'newPage']),FakeContext=class{constructor(_0x489e3e,_0x1c5440,_0x455017,_0x49a2e6=![]){const _0x26900c={_0x33795b:0x1ae,_0x5a76f9:0x255,_0x503188:0x1da,_0x59d6f2:0x20c,_0x1a67d0:0x21f,_0x250c7e:0x1d2,_0x577739:0x1fb},_0x4e0baa={_0x263ff1:0x1a5},_0xe43ff6=_0x5d0b7c;this['recorder']=_0x489e3e,this[_0xe43ff6(0x1a6)]=_0x1c5440,this[_0xe43ff6(0x24d)]=_0x455017,this[_0xe43ff6(_0x26900c._0x33795b)]=_0x49a2e6,this['clockFrozen']=![];const _0xafb881=new FakePage(_0x489e3e,_0x1c5440,_0x455017+'.page0',_0x1c5440[_0xe43ff6(_0x26900c._0x5a76f9)]??_0xe43ff6(_0x26900c._0x503188));_0x1c5440['popupOnClick']&&(_0xafb881[_0xe43ff6(0x1e7)]=()=>{const _0x22b085=_0xe43ff6;this[_0x22b085(0x265)](_0x1c5440[_0x22b085(_0x4e0baa._0x263ff1)]);}),this[_0xe43ff6(_0x26900c._0x59d6f2)]=[_0xafb881],this[_0xe43ff6(_0x26900c._0x1a67d0)][_0xe43ff6(0x248)](_0xafb881),this[_0xe43ff6(0x1f7)]=[..._0x1c5440[_0xe43ff6(0x221)]??[]],this[_0xe43ff6(0x1f9)]={..._0x1c5440[_0xe43ff6(0x267)]??{}},this[_0xe43ff6(_0x26900c._0x250c7e)]={..._0x1c5440[_0xe43ff6(_0x26900c._0x577739)]??{}};}['recorder'];['behavior'];[_0x5d0b7c(0x24d)];[_0x5d0b7c(0x1ae)];static{__name(this,_0x5d0b7c(0x260));}['clockFrozen'];['pageList'];['activeIdx']=0x0;[_0x5d0b7c(0x21f)]=new WeakSet();['history']=new PageHistory();[_0x5d0b7c(0x270)]=[];[_0x5d0b7c(0x1f9)];[_0x5d0b7c(0x1d2)];[_0x5d0b7c(0x242)]=new Set();[_0x5d0b7c(0x26c)]=new RouteJournal();['downloads']=new DownloadQueue(async()=>{});['workerUrls'];[_0x5d0b7c(0x21e)]=new Set();[_0x5d0b7c(0x23f)](_0x468f54,_0x351ff5){const _0x405847={_0x15cbed:0x1f8,_0xa0fe62:0x24d},_0x299367=_0x5d0b7c;this[_0x299367(_0x405847._0x15cbed)][_0x299367(0x26d)]({'scope':this[_0x299367(_0x405847._0xa0fe62)],'method':_0x468f54,'args':_0x351ff5});}[_0x5d0b7c(0x1e4)](){const _0x213d3f={_0x43ba09:0x20c},_0x43dbd6=_0x5d0b7c;return this[_0x43dbd6(_0x213d3f._0x43ba09)];}['activePage'](){const _0x44dfb9={_0x247a8d:0x19b,_0xc9403d:0x19b},_0x5a0d52=_0x5d0b7c,_0x31e8bb=this[_0x5a0d52(0x20c)][this[_0x5a0d52(_0x44dfb9._0x247a8d)]];if(!_0x31e8bb)throw new DriverError('no\x20active\x20page\x20in\x20context',{'activeIdx':this[_0x5a0d52(_0x44dfb9._0xc9403d)]});return _0x31e8bb;}[_0x5d0b7c(0x1f0)](){const _0xc33fb1=_0x5d0b7c;return this['behavior'][_0xc33fb1(0x1f0)]??[];}['pageConsole'](){const _0x69cd23={_0x1e17d7:0x198},_0x23f87b=_0x5d0b7c;return this[_0x23f87b(0x23f)](_0x23f87b(0x198),[]),this[_0x23f87b(0x1a6)][_0x23f87b(_0x69cd23._0x1e17d7)]??{'entries':[],'errors':[]};}[_0x5d0b7c(0x222)](_0x372557={}){const _0x539fd4={_0x26a310:0x23f,_0x3eb1e1:0x222,_0x1812c1:0x1b2},_0x540bd=_0x5d0b7c;return this[_0x540bd(_0x539fd4._0x26a310)](_0x540bd(_0x539fd4._0x3eb1e1),[_0x372557[_0x540bd(_0x539fd4._0x1812c1)]]),this['downloads']['take'](_0x372557[_0x540bd(0x1b2)]??0x0,_0x372557['name']);}['emitFakeDownload'](_0x5d42dc,_0x115102){const _0x484d57={_0x30c991:0x26d,_0x573e45:0x25b},_0x2941cf=_0x5d0b7c;this['downloads'][_0x2941cf(_0x484d57._0x30c991)]({'name':_0x5d42dc,'saveAs':__name(_0x6eb936=>writeFile(_0x6eb936,_0x115102),_0x2941cf(_0x484d57._0x573e45))});}[_0x5d0b7c(0x1cd)](){const _0x1144b2=_0x5d0b7c;return this[_0x1144b2(0x1a6)][_0x1144b2(0x1cd)]??[];}async[_0x5d0b7c(0x225)](_0x55d11a,_0x30c397){const _0x389644={_0x29403e:0x20c,_0x58d673:0x23e,_0x41f28f:0x1bb,_0x2b3f39:0x19b,_0x43210d:0x21f,_0x7f6b75:0x248,_0x347116:0x20c},_0x3128c6=_0x5d0b7c;this['record'](_0x3128c6(0x225),[_0x55d11a,_0x30c397]);if(_0x55d11a<0x0||_0x55d11a>=this[_0x3128c6(_0x389644._0x29403e)]['length'])throw new DriverError(_0x3128c6(0x1e3),{'index':_0x55d11a,'available':this[_0x3128c6(0x20c)][_0x3128c6(_0x389644._0x58d673)]});this['history'][_0x3128c6(_0x389644._0x41f28f)](this[_0x3128c6(0x20c)],this[_0x3128c6(_0x389644._0x2b3f39)],this[_0x3128c6(0x20c)][_0x55d11a]),this[_0x3128c6(0x19b)]=_0x55d11a,this['frameStack']['length']=0x0,this[_0x3128c6(_0x389644._0x43210d)][_0x3128c6(_0x389644._0x7f6b75)](this[_0x3128c6(_0x389644._0x347116)][_0x55d11a]);if(_0x30c397?.[_0x3128c6(0x18d)]!==![])this[_0x3128c6(0x23f)](_0x3128c6(0x195),[_0x55d11a]);}async[_0x5d0b7c(0x195)](_0x52c57b){const _0xc74ec0={_0x44bcaf:0x23e,_0x4b4743:0x20c},_0x332871=_0x5d0b7c,_0x36fbe9=_0x52c57b??this['activeIdx'];if(_0x36fbe9<0x0||_0x36fbe9>=this['pageList'][_0x332871(_0xc74ec0._0x44bcaf)])throw new DriverError(_0x332871(0x1e3),{'index':_0x36fbe9,'available':this[_0x332871(_0xc74ec0._0x4b4743)]['length']});this['record'](_0x332871(0x195),[_0x36fbe9]);}async[_0x5d0b7c(0x22c)](){const _0x31f9dc={_0x2bffa4:0x23f,_0x65f8f3:0x22c},_0x519abb=_0x5d0b7c;this[_0x519abb(_0x31f9dc._0x2bffa4)](_0x519abb(_0x31f9dc._0x65f8f3),[]);const _0x4a66f3=this['emitFakePopup'](_0x519abb(0x1da));return await this[_0x519abb(0x225)](_0x4a66f3),_0x4a66f3;}async[_0x5d0b7c(0x1bd)](_0x5b8a2e){const _0x52b10b={_0x1ad552:0x1b7,_0x126a58:0x19b,_0x287913:0x20c,_0x383be2:0x23f,_0x2f538e:0x195},_0x39f1c5=_0x5d0b7c;this[_0x39f1c5(0x23f)](_0x39f1c5(0x1bd),[_0x5b8a2e]);const {closing:_0x3ce205,nextActive:_0x52e823}=this[_0x39f1c5(0x201)][_0x39f1c5(_0x52b10b._0x1ad552)](this[_0x39f1c5(0x20c)],this[_0x39f1c5(0x19b)],_0x5b8a2e??this[_0x39f1c5(_0x52b10b._0x126a58)]),_0x2a311b=_0x3ce205===this[_0x39f1c5(0x20c)][this[_0x39f1c5(0x19b)]];this[_0x39f1c5(_0x52b10b._0x287913)]['splice'](this[_0x39f1c5(0x20c)]['indexOf'](_0x3ce205),0x1),this[_0x39f1c5(0x19b)]=_0x52e823;if(!_0x2a311b)return;this[_0x39f1c5(0x270)][_0x39f1c5(0x23e)]=0x0,this[_0x39f1c5(_0x52b10b._0x383be2)](_0x39f1c5(_0x52b10b._0x2f538e),[_0x52e823]);}[_0x5d0b7c(0x22a)](_0x2d75d5){const _0x1ba4e4=_0x5d0b7c;return subscribe(this[_0x1ba4e4(0x242)],_0x2d75d5);}async[_0x5d0b7c(0x209)](_0x2a709f={}){const _0x5c790b={_0x556803:0x21f},_0x25ba16=_0x5d0b7c;return this[_0x25ba16(0x23f)](_0x25ba16(0x209),[_0x2a709f]),claimNewPage(this['pageList'],this[_0x25ba16(_0x5c790b._0x556803)],_0x2a709f['timeoutMs']??0x0);}async[_0x5d0b7c(0x1ea)](_0x29d3f3){const _0x5d9ef7={_0x3e6267:0x23f,_0x4aea3a:0x1ea},_0xb86195=_0x5d0b7c;this[_0xb86195(_0x5d9ef7._0x3e6267)](_0xb86195(_0x5d9ef7._0x4aea3a),[_0x29d3f3]);}[_0x5d0b7c(0x194)](){const _0xdbbbb7={_0x4b1513:0x1f8,_0x579c7b:0x20c,_0x3d4367:0x259,_0x45cb41:0x1da},_0x2cb0fa=_0x5d0b7c,_0x5558f5=this[_0x2cb0fa(_0xdbbbb7._0x4b1513)][_0x2cb0fa(0x1ec)]()[_0x2cb0fa(0x231)](_0x79a0d4=>_0x79a0d4[_0x2cb0fa(0x24d)]===this[_0x2cb0fa(0x24d)]||_0x79a0d4[_0x2cb0fa(0x24d)]['startsWith'](this['scope']+_0x2cb0fa(0x257)));return this[_0x2cb0fa(_0xdbbbb7._0x579c7b)][_0x2cb0fa(0x23e)]===0x1&&this[_0x2cb0fa(0x20c)][0x0][_0x2cb0fa(_0xdbbbb7._0x3d4367)]()===_0x2cb0fa(_0xdbbbb7._0x45cb41)&&!_0x5558f5[_0x2cb0fa(0x25e)](_0x157d59=>FAKE_SET_UP_CALLS[_0x2cb0fa(0x1dd)](_0x157d59[_0x2cb0fa(0x197)]));}async['browserContextId'](){return this['scope'];}[_0x5d0b7c(0x196)](){const _0x437d9e=_0x5d0b7c;if(!this['hasClock'])return NO_CLOCK;return{'freeze':__name(async _0x3078cc=>{const _0x27231d=_0x198e;this[_0x27231d(0x23f)](_0x27231d(0x213),[_0x3078cc]),this['clockFrozen']=!![];},_0x437d9e(0x278)),'tick':__name(async _0x13f6fb=>this[_0x437d9e(0x23f)](_0x437d9e(0x204),[_0x13f6fb]),'tick'),'run':__name(async()=>{const _0x6b98c4=_0x437d9e;this[_0x6b98c4(0x23f)](_0x6b98c4(0x21d),[]),this['clockFrozen']=![];},_0x437d9e(0x1fe)),'frozen':__name(()=>this[_0x437d9e(0x229)],_0x437d9e(0x1f6))};}[_0x5d0b7c(0x1ce)](){const _0xbe9a98={_0x2c3365:0x280},_0x3d60d1={_0x4cb3e2:0x23f,_0x28f5b8:0x276,_0x5eb398:0x1a8,_0x3b5423:0x1b2},_0x7ceba7={_0x3e1df2:0x22d},_0x4a1eb1={_0x2a3cd0:0x216,_0x5af95a:0x26c,_0x5b8c39:0x19f},_0x4cbab4=_0x5d0b7c;return{'mock':__name(async(_0x4d0a13,_0x238bda)=>{const _0x3b0328=_0x198e;this[_0x3b0328(0x23f)](_0x3b0328(_0x4a1eb1._0x2a3cd0),[_0x4d0a13,_0x238bda]),this[_0x3b0328(_0x4a1eb1._0x5af95a)][_0x3b0328(_0x4a1eb1._0x5b8c39)](_0x4d0a13,_0x238bda);},'mock'),'unmock':__name(async _0x4cb52c=>{const _0x4fe055=_0x198e;this[_0x4fe055(0x23f)](_0x4fe055(_0x7ceba7._0x3e1df2),[_0x4cb52c]),this[_0x4fe055(0x26c)][_0x4fe055(0x1db)](_0x4cb52c);},_0x4cbab4(_0xbe9a98._0x2c3365)),'waitForRequest':__name((_0x12fdd6,_0x2abca9)=>{const _0x49150c=_0x4cbab4;return this[_0x49150c(_0x3d60d1._0x4cb3e2)](_0x49150c(_0x3d60d1._0x28f5b8),[_0x12fdd6,_0x2abca9]),this['routes'][_0x49150c(_0x3d60d1._0x5eb398)](_0x12fdd6,_0x2abca9[_0x49150c(_0x3d60d1._0x3b5423)]);},_0x4cbab4(0x1c3)),'blocked':__name(_0x1c9685=>this['routes'][_0x4cbab4(0x1d6)](_0x1c9685),_0x4cbab4(0x1d6))};}async[_0x5d0b7c(0x1d4)](_0x45bb4a){const _0x16de70={_0x1b98f7:0x23f,_0x59f4cb:0x1d4,_0xe48c06:0x1a6},_0x3ba587=_0x5d0b7c;this[_0x3ba587(_0x16de70._0x1b98f7)](_0x3ba587(_0x16de70._0x59f4cb),[_0x45bb4a]);const _0x2734a6=this['workerUrls'][_0x3ba587(0x1d1)](_0xbbce6a=>workerMatches(_0xbbce6a,_0x45bb4a?.[_0x3ba587(0x259)]));if(_0x2734a6!==void 0x0)return this[_0x3ba587(0x234)](_0x2734a6);if(!this[_0x3ba587(_0x16de70._0xe48c06)][_0x3ba587(0x1bc)])throw new ServiceWorkerNeedsProfileError();const _0x30bc61=_0x45bb4a?.[_0x3ba587(0x1b2)]??0x3e8,_0x1520d8=await new Promise((_0x41fb45,_0x5cad49)=>{const _0x1b5943={_0x390d49:0x21e,_0x5b3ad2:0x1f7},_0x462ad6=_0x3ba587,_0x519130=__name(_0x21930d=>{const _0x391daa=_0x198e;if(!workerMatches(_0x21930d,_0x45bb4a?.[_0x391daa(0x259)]))return;clearTimeout(_0x1b3705),this['workerStarted'][_0x391daa(0x1db)](_0x519130),_0x41fb45(_0x21930d);},_0x462ad6(0x214)),_0x1b3705=setTimeout(()=>{const _0x257a1b=_0x462ad6;this[_0x257a1b(_0x1b5943._0x390d49)]['delete'](_0x519130),_0x5cad49(new ServiceWorkerWaitTimeoutError(_0x30bc61,_0x45bb4a?.[_0x257a1b(0x259)],this[_0x257a1b(_0x1b5943._0x5b3ad2)]));},_0x30bc61);this[_0x462ad6(0x21e)][_0x462ad6(0x248)](_0x519130);});return this['fakeWorker'](_0x1520d8);}['fakeWorker'](_0x1ff23c){const _0x55c2e5={_0x5299bf:0x281},_0x32c08c={_0xff8e3c:0x23f,_0x5d83af:0x1fd,_0x109cfd:0x239},_0x5f41fe=_0x5d0b7c;return{'url':__name(()=>_0x1ff23c,'url'),'evaluate':__name(async(_0x1f558f,_0x347cb0)=>{const _0x3b38ab=_0x198e;return this[_0x3b38ab(_0x32c08c._0xff8e3c)](_0x3b38ab(_0x32c08c._0x5d83af),[_0x1ff23c,_0x1f558f,_0x347cb0]),this[_0x3b38ab(0x1a6)][_0x3b38ab(_0x32c08c._0x109cfd)];},_0x5f41fe(_0x55c2e5._0x5299bf))};}[_0x5d0b7c(0x236)](_0x279053){const _0x506203={_0x165192:0x1f7,_0x239343:0x21e},_0x514506=_0x5d0b7c;this[_0x514506(_0x506203._0x165192)]['push'](_0x279053);for(const _0x46f265 of[...this[_0x514506(_0x506203._0x239343)]])_0x46f265(_0x279053);}[_0x5d0b7c(0x1d9)](_0x363c62,_0x1d2bac){const _0x31644e={_0x221568:0x1b6,_0x1ff44f:0x23f,_0x371539:0x26c,_0x58dd26:0x215},_0x215f2e=_0x5d0b7c,_0x3929e4=this[_0x215f2e(0x26c)][_0x215f2e(_0x31644e._0x221568)](_0x363c62);if(_0x3929e4?.['kind']===_0x215f2e(0x224)&&_0x3929e4[_0x215f2e(_0x31644e._0x1ff44f)])this[_0x215f2e(_0x31644e._0x371539)][_0x215f2e(0x243)](_0x363c62,_0x1d2bac);this[_0x215f2e(0x26c)][_0x215f2e(_0x31644e._0x58dd26)](_0x363c62,_0x1d2bac);}[_0x5d0b7c(0x265)](_0x5a1f3b){const _0x504163={_0x4cd7da:0x24d,_0x2b7308:0x23e},_0x35a442=_0x5d0b7c,_0x3ff776=this[_0x35a442(_0x504163._0x4cd7da)]+_0x35a442(0x257)+this[_0x35a442(0x20c)]['length'],_0x3cf384=new FakePage(this[_0x35a442(0x1f8)],this[_0x35a442(0x1a6)],_0x3ff776,_0x5a1f3b);this['pageList']['push'](_0x3cf384);const _0x217ba3=this[_0x35a442(0x20c)][_0x35a442(_0x504163._0x2b7308)]-0x1;for(const _0x1fa1df of this['newPageListeners']){try{_0x1fa1df({'index':_0x217ba3,'url':_0x5a1f3b});}catch{}}return _0x217ba3;}[_0x5d0b7c(0x23b)](_0x4ea914){const _0x2935ef={_0x2e89d5:0x23e,_0xe50375:0x1e3,_0x1f3270:0x20c},_0x78925b=_0x5d0b7c;if(_0x4ea914<0x0||_0x4ea914>=this[_0x78925b(0x20c)][_0x78925b(_0x2935ef._0x2e89d5)])throw new DriverError(_0x78925b(_0x2935ef._0xe50375),{'index':_0x4ea914,'available':this[_0x78925b(_0x2935ef._0x1f3270)][_0x78925b(0x23e)]});this['pageList']['splice'](_0x4ea914,0x1);}async[_0x5d0b7c(0x1f2)](_0x346633){const _0x5c5ea8={_0x52cbb7:0x270,_0x48d8ce:0x26d},_0x5e3f57=_0x5d0b7c;this[_0x5e3f57(0x23f)]('enterFrame',[_0x346633]);if(!_0x346633['steps']['length'])throw new LocatorError(_0x5e3f57(0x19d),{'locator':_0x346633});this[_0x5e3f57(_0x5c5ea8._0x52cbb7)][_0x5e3f57(_0x5c5ea8._0x48d8ce)](_0x346633);}async[_0x5d0b7c(0x1be)](){const _0x29551d={_0x368d38:0x23f,_0x24f2af:0x270,_0xe7d3:0x228,_0x4ddb16:0x270},_0xeaf515=_0x5d0b7c;this[_0xeaf515(_0x29551d._0x368d38)](_0xeaf515(0x1be),[]);if(this[_0xeaf515(_0x29551d._0x24f2af)][_0xeaf515(0x23e)]===0x0)throw new DriverError(_0xeaf515(_0x29551d._0xe7d3),{});this[_0xeaf515(_0x29551d._0x4ddb16)][_0xeaf515(0x1e2)]();}async[_0x5d0b7c(0x207)](_0x1ff4bf,_0x2b11a7){const _0x5bb4b9={_0x440ce0:0x207,_0x2ccdcc:0x1f9},_0x42fe20=_0x5d0b7c;this['record'](_0x42fe20(_0x5bb4b9._0x440ce0),[_0x1ff4bf,_0x2b11a7]),this[_0x42fe20(_0x5bb4b9._0x2ccdcc)][_0x1ff4bf]=_0x2b11a7;}async['getLocalStorage'](_0x124a3c){const _0x430558={_0x474b5f:0x23f,_0xaaf0cf:0x1cb,_0x55e1e4:0x1f9},_0x796f2=_0x5d0b7c;return this[_0x796f2(_0x430558._0x474b5f)](_0x796f2(_0x430558._0xaaf0cf),[_0x124a3c]),this[_0x796f2(_0x430558._0x55e1e4)][_0x124a3c]??null;}async[_0x5d0b7c(0x27c)](_0x62ffb9,_0x53d3cf,_0x322e57){const _0x45a3ec=_0x5d0b7c;this[_0x45a3ec(0x23f)](_0x45a3ec(0x27c),[_0x62ffb9,_0x53d3cf,_0x322e57]),this['cookieState'][_0x62ffb9]=_0x53d3cf;}async['getCookie'](_0x1f48fb){const _0x338136={_0x274016:0x23f},_0x2f73f6=_0x5d0b7c;return this[_0x2f73f6(_0x338136._0x274016)]('getCookie',[_0x1f48fb]),this[_0x2f73f6(0x1d2)][_0x1f48fb]??null;}async[_0x5d0b7c(0x18c)](_0x13a366){const _0x494131={_0x4d656b:0x18c},_0x24e735=_0x5d0b7c;this[_0x24e735(0x23f)](_0x24e735(_0x494131._0x4d656b),[_0x13a366]);}async[_0x5d0b7c(0x281)](_0x40ee91){const _0x13b2c5={_0x354342:0x281},_0x4a9fe5=_0x5d0b7c;return this[_0x4a9fe5(0x23f)](_0x4a9fe5(_0x13b2c5._0x354342),[_0x40ee91]),void 0x0;}async[_0x5d0b7c(0x1ee)](){const _0x29778f={_0x2feaab:0x1ee,_0x5daa60:0x210},_0x3bc198=_0x5d0b7c;this['record'](_0x3bc198(_0x29778f._0x2feaab),[]),await this['behavior'][_0x3bc198(_0x29778f._0x5daa60)];}[_0x5d0b7c(0x1bf)](){const _0x2dc1dc={_0x2bc419:0x23e},_0x590163=_0x5d0b7c;return this['frameStack'][_0x590163(_0x2dc1dc._0x2bc419)];}},FakeWebDriver=class{constructor(_0x38c897={}){const _0x1b0886={_0x33aadb:0x1f8},_0x1a6a42=_0x5d0b7c;this['behavior']=_0x38c897,this[_0x1a6a42(_0x1b0886._0x33aadb)]=createRecorder();}[_0x5d0b7c(0x1a6)];static{__name(this,_0x5d0b7c(0x262));}[_0x5d0b7c(0x1e0)]=![];[_0x5d0b7c(0x1f8)];[_0x5d0b7c(0x1ff)]=[];async[_0x5d0b7c(0x21c)](_0x1d2b42){const _0x4d3ae2={_0x15eea2:0x26d,_0x36b370:0x1e0},_0x52b82b=_0x5d0b7c;this[_0x52b82b(0x1f8)][_0x52b82b(_0x4d3ae2._0x15eea2)]({'scope':'driver','method':_0x52b82b(0x21c),'args':[_0x1d2b42]}),this[_0x52b82b(_0x4d3ae2._0x36b370)]=!![];}async[_0x5d0b7c(0x1c1)](_0x197ab0){const _0xca4f96={_0x5a1a0c:0x1f8,_0x507e99:0x26f,_0x1a2bd8:0x22e,_0x3477a7:0x1ff,_0x300a0f:0x26d},_0x241ad0=_0x5d0b7c;this[_0x241ad0(_0xca4f96._0x5a1a0c)]['push']({'scope':'driver','method':'newContext','args':[_0x197ab0]});if(!this[_0x241ad0(0x1e0)])throw new DriverError(_0x241ad0(_0xca4f96._0x507e99),{});const _0x51d566=new FakeContext(this[_0x241ad0(0x1f8)],this[_0x241ad0(0x1a6)],_0x241ad0(_0xca4f96._0x1a2bd8)+this[_0x241ad0(0x1ff)][_0x241ad0(0x23e)],_0x197ab0?.['clock']===!![]);return this[_0x241ad0(_0xca4f96._0x3477a7)][_0x241ad0(_0xca4f96._0x300a0f)](_0x51d566),_0x51d566;}async[_0x5d0b7c(0x1ee)](){const _0x4d02d0={_0x2438d0:0x26d,_0x311721:0x1ee,_0x354d9b:0x1e0},_0x197d86=_0x5d0b7c;this['recorder'][_0x197d86(_0x4d02d0._0x2438d0)]({'scope':_0x197d86(0x219),'method':_0x197d86(_0x4d02d0._0x311721),'args':[]}),this[_0x197d86(_0x4d02d0._0x354d9b)]=![];}[_0x5d0b7c(0x1ba)](){return void 0x0;}async['connectShared'](){const _0x54eee8={_0x55fd80:0x1c8},_0x199849=_0x5d0b7c;throw new DriverError(_0x199849(_0x54eee8._0x55fd80),{});}async[_0x5d0b7c(0x208)](_0x6a0e3){const _0x26c044=_0x5d0b7c;throw new DriverError(_0x26c044(0x227),{});}[_0x5d0b7c(0x275)](){return![];}[_0x5d0b7c(0x1ec)](){const _0x27a1d6=_0x5d0b7c;return this[_0x27a1d6(0x1f8)][_0x27a1d6(0x1ec)]();}['callsFor'](_0x59fec1){const _0x3e6fcd={_0x343896:0x1ec,_0x8d86a1:0x231},_0x442c70=_0x5d0b7c;return this['recorder'][_0x442c70(_0x3e6fcd._0x343896)]()[_0x442c70(_0x3e6fcd._0x8d86a1)](_0x234a19=>_0x234a19[_0x442c70(0x197)]===_0x59fec1);}};export{FakeWebDriver};
@@ -1,11 +1,11 @@
1
- import { L as LocatorValue, o as DriverDownload, D as DriverContext, W as WebDriver, h as DriverPage } from '../interfaces-CTMGjJIs.js';
2
- export { p as LocatorStep, q as appendStep, r as describeLocator, s as isLocatorValue, t as rootedAt } from '../interfaces-CTMGjJIs.js';
1
+ import { L as LocatorValue, o as DriverDownload, D as DriverContext, W as WebDriver, h as DriverPage } from '../interfaces-D5ePwBX6.js';
2
+ export { p as LocatorStep, q as appendStep, r as describeLocator, s as isLocatorValue, t as rootedAt } from '../interfaces-D5ePwBX6.js';
3
3
  import { Matcher, RegexLiteral, JudgeRequest, JudgeVerdict, VisualFailureRecord, SoftFailureRecord, TeardownStateRecord, TeardownFailureRecord } 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';
6
6
  import { SandboxConfig } from '../config/schema.js';
7
7
  import { UnotestError, RuntimeExecState } from '@unotest/core';
8
- export { L as LintDiagnostic, b as LintOptions, a as LintSeverity, l as lintAst } from '../linter-BWSAYBQy.js';
8
+ export { L as LintDiagnostic, b as LintOptions, a as LintSeverity, l as lintAst } from '../linter-RrjB1n9R.js';
9
9
  import 'zod';
10
10
  import '@unotest/dsl';
11
11
 
@@ -172,6 +172,12 @@ interface NoteRecord {
172
172
  * applies the journal cap; the DSL layer does not know the limit. */
173
173
  text: string;
174
174
  }
175
+ /** The notes of the step block the run is in, as the sink recorded them
176
+ * (secrets masked). Read when a statement fails, so the failure carries
177
+ * what its step noted. */
178
+ interface StepNotesReader {
179
+ current(): readonly NoteRecord[];
180
+ }
175
181
  interface AnnotationSink {
176
182
  /** Must not throw on sink faults — a note must never fail the step. */
177
183
  note(record: NoteRecord): Promise<void>;
@@ -431,6 +437,11 @@ interface TestRuntimeServices {
431
437
  * it to the run's steps.jsonl; absent in ad-hoc / explore runtimes
432
438
  * (`log` still reaches the logger, `note` is logged in its place). */
433
439
  readonly annotations?: AnnotationSink;
440
+ /** The notes of the open step block — a failure reports them. Wired
441
+ * with `annotations` by the CLI runner; absent elsewhere, and then a
442
+ * failure carries no notes field at all (not an empty list: nothing
443
+ * was looking). */
444
+ readonly stepNotes?: StepNotesReader;
434
445
  /** Baselines, comparator and sink behind `assertScreenshot` — wired per
435
446
  * run entry by the runner; absent in ad-hoc / explore runtimes, where
436
447
  * the DSL function fails with a setup message. */
@@ -454,6 +465,7 @@ declare class TestRuntime {
454
465
  ms?: number;
455
466
  };
456
467
  readonly annotations?: AnnotationSink;
468
+ readonly stepNotes?: StepNotesReader;
457
469
  readonly visual?: VisualAssertDeps;
458
470
  private readonly variables;
459
471
  private readonly nowFn;
@@ -561,6 +573,11 @@ interface ActiveRuntime {
561
573
  /** Set once the enclosing `step.soft(...)` closed over this failure:
562
574
  * the run went on, this is not where it stopped. */
563
575
  soft?: boolean;
576
+ /** What the failing statement's step block noted before it broke —
577
+ * the innermost block's own notes. Absent when the runtime has no
578
+ * step-notes reader wired (nothing was looking), not when the block
579
+ * noted nothing: that is an empty list. */
580
+ notes?: readonly NoteRecord[];
564
581
  error: {
565
582
  message: string;
566
583
  stack?: string;
@@ -709,6 +726,12 @@ declare class TestRuntimeManager {
709
726
  * Null when the runtime isn't registered. */
710
727
  currentContext(id: string): DriverContext | null;
711
728
  list(): RuntimeSummary[];
729
+ /** A client acted on the runtime — a debug command arrived. A runtime
730
+ * paused on a failure gets its full TTL again: somebody is there. A read
731
+ * (`inspect`) does not count — the run's own runtime.json writer reads
732
+ * every few seconds, and counting it kept a paused run nobody was
733
+ * attached to alive for ever, holding the queue (#387). */
734
+ touch(id: string): void;
712
735
  private armTtl;
713
736
  private clearTtl;
714
737
  private requireActive;