@unotest/web 0.44.0 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- const _0xaec1f4=_0x5d47;function _0x5d47(_0x346a48,_0x24cb8f){_0x346a48=_0x346a48-0x9e;const _0x103582=_0x1035();let _0x5d47b0=_0x103582[_0x346a48];if(_0x5d47['UnXDjG']===undefined){var _0x480385=function(_0x23f3e9){const _0x3695ab='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4568e9='',_0x259e8d='';for(let _0x343e89=0x0,_0x57ba9a,_0x242d64,_0x1f3c6e=0x0;_0x242d64=_0x23f3e9['charAt'](_0x1f3c6e++);~_0x242d64&&(_0x57ba9a=_0x343e89%0x4?_0x57ba9a*0x40+_0x242d64:_0x242d64,_0x343e89++%0x4)?_0x4568e9+=String['fromCharCode'](0xff&_0x57ba9a>>(-0x2*_0x343e89&0x6)):0x0){_0x242d64=_0x3695ab['indexOf'](_0x242d64);}for(let _0x8b620=0x0,_0x4bde26=_0x4568e9['length'];_0x8b620<_0x4bde26;_0x8b620++){_0x259e8d+='%'+('00'+_0x4568e9['charCodeAt'](_0x8b620)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x259e8d);};_0x5d47['IOIyNP']=_0x480385,_0x5d47['wdzDBj']={},_0x5d47['UnXDjG']=!![];}const _0x4bb564=_0x103582[0x0],_0x5ebbb1=_0x346a48+_0x4bb564,_0x3edcfb=_0x5d47['wdzDBj'][_0x5ebbb1];return!_0x3edcfb?(_0x5d47b0=_0x5d47['IOIyNP'](_0x5d47b0),_0x5d47['wdzDBj'][_0x5ebbb1]=_0x5d47b0):_0x5d47b0=_0x3edcfb,_0x5d47b0;}(function(_0x2d9e26,_0x2dfc2d){const _0x5cf95a={_0x2e2c4e:0xed,_0x444cd6:0xf8,_0x2f8d40:0x105,_0x25e8d3:0xf3},_0x4d6d73=_0x5d47,_0x1b6627=_0x2d9e26();while(!![]){try{const _0x512d7d=parseInt(_0x4d6d73(0x107))/0x1+-parseInt(_0x4d6d73(0xd2))/0x2*(-parseInt(_0x4d6d73(0xaf))/0x3)+parseInt(_0x4d6d73(_0x5cf95a._0x2e2c4e))/0x4+parseInt(_0x4d6d73(0xaa))/0x5*(-parseInt(_0x4d6d73(_0x5cf95a._0x444cd6))/0x6)+parseInt(_0x4d6d73(_0x5cf95a._0x2f8d40))/0x7*(parseInt(_0x4d6d73(0xb2))/0x8)+-parseInt(_0x4d6d73(_0x5cf95a._0x25e8d3))/0x9+parseInt(_0x4d6d73(0x11c))/0xa;if(_0x512d7d===_0x2dfc2d)break;else _0x1b6627['push'](_0x1b6627['shift']());}catch(_0x54809f){_0x1b6627['push'](_0x1b6627['shift']());}}}(_0x1035,0xc65bf));var __defProp=Object[_0xaec1f4(0xfa)],__name=(_0x4568e9,_0x259e8d)=>__defProp(_0x4568e9,_0xaec1f4(0xb3),{'value':_0x259e8d,'configurable':!![]});function _0x1035(){const _0x2e1ce5=['C3bSAwnL','nZm3odeXsLncs1Dm','Ag92zxi','iJ48l2rPDJ4','C2nYzwvUC2HVDa','y2XPy2S','mtaYD2P0EwDT','DhLWzq','zgvMAw5LuhjVCgvYDhK','y2HLy2TLzfn0yxrLqNLezwzHDwX0','Aw5UzxjuzxH0','zxzHBhvHDgvpBKXVy2f0B3i','B25bzNrLCKnSAwnR','C2f2zvn0B3jHz2vtDgf0zq','BMv3ugfNzuXPC3rLBMvYCW','y291BNrcEurLzMf1Bhq','zxjYB3jpBK5LEhrby3rPB24','DxbSB2fKrMLSzq','Bgf1BMnOzwq','ndLttLrJDeW','DgLJAW','nde4nJu4s1PPrwDs','y2XPCgjVyxjKugfZDgu','A2LUza','zMLSBa','y29UC29SzuvUDhjPzxm','zw50zxjgCMfTzq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','zhjHz0fUzerYB3a','C2nYB2XSsw50B1zPzxC','y2XVC2vgywTLugfNzq','y29UBMvJDfnOyxjLza','zMLSDgvY','zNjLzxPL','Aw5WDxrwywX1zq','CNvU','yxr0ywnOrxHPC3rPBMC','pgrPDJ48l2rPDJ4','C3rLChm','Cg9W','lNbHz2uW','zgvSzxrL','nZKWmtGZmefeAw5ZzW','C2nYzwvUC2HVDej5DgvZ','z29gB3j3yxjK','CgfNzxm','ywn0AxzLugfNzq','zMfRzsb0AxrSzq','CMvQzwn0','B3v0zxjive1m','Cg9WDxbpBKnSAwnR','Bwv0Ag9K','y2XVy2S','C2nYzwvUC2HVDevSzw1LBNq','zNjVEMvU','C2v0vMLLD3bVCNq','B3v0zxjiDg1SqNLszwy','AxnwAxnPyMXL','rMfRzvDLyKrYAxzLCG','CgfNzuXPC3q','C2vSzwn0t3b0Aw9U','y29VA2LLCW','C2nVCgu','AxneAxnHyMXLzej5rgvMyxvSDa','z2v0qxr0CMLIDxrL','D2fPDezVCG','nde4ntiWz3fMq1zt','yNjVD3nLCKnVBNrLEhrjza','Bg9JywXtDg9YywDLu3rHDgu','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','Aw5WDxrwywX1zuj5rgvMyxvSDa','mZuWmZfft0rMuKC','Bgf1BMnO','y3r4','nJiWmJqWvwz6rLHm','BMfTzq','zNvUy3rPB24','Aw5UzxjuzxH0qNLezwzHDwX0','D2fPDezVCK5HDMLNyxrPB24','ChjLC3m','ywjVDxq6yMXHBMS','z2v0q29VA2LL','y2XVC2u','zw1PDezHA2vqB3b1Ca','yM94zxnjBKnHChr1CMu','zhjPDMvY','tg9JyxrVCKvYCM9Y','yMvOyxzPB3i','zxHPDezYyw1L','y29VA2LLu3rHDgu','zNjHBwvtDgfJAW','AgfZq2XVy2S','DgL0Bgu','C2v0tg9JywXtDg9YywDL','y2HLy2TLzfn0yxrL','y291BNq','y2HLy2S','Dw5JAgvJAW','z290BW','D2fPDezVCKXVywrtDgf0zq','y2fSBhngB3i','ywn0AxzLswr4','y2XVy2SUDgLJAW','zxzHBhvHDgu','rMfRzvbHz2u','BgvUz3rO','nhbnD0jSAa','y3vYCMvUDfvYBa','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','CMvM','C3vIC2nYAwjL','zMfRzs1WBMC','Dgv4DenVBNrLBNq','CMvJB3jK','D2fPDezVCLvYBa','ChvZAa','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','y2fSBhm','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','rMfRzunVBNrLEhq','y2XVy2TgCM96zw4','zNjHBwvezxb0Aa','y2XVy2SUzNjLzxPL','zg91yMXLq2XPy2S','C2v0q29VA2LL','CMvJB3jKzxi','zwXLBwvUDeHPBNrcEvjLzG','AxneAxnHyMXLza','CMvSB2fK','C2v0qwn0AxzLugfNzq','Bwf5yMvuAhjVDW','z29cywnR','BMv0D29YA0vUDhjPzxm','mJe3mda4nfriufLdDG','D2fPDezVCLrLEhq','BMv3q29UDgv4Da','Aw5ZCgvJDevSzw1LBNq','y2fWDhvYzujVEgvZ'];_0x1035=function(){return _0x2e1ce5;};return _0x1035();}function subscribe(_0x343e89,_0x57ba9a){return _0x343e89['add'](_0x57ba9a),()=>{const _0x494374=_0x5d47;_0x343e89[_0x494374(0x11b)](_0x57ba9a);};}__name(subscribe,_0xaec1f4(0xd6));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,'DriverError');}},LocatorError=class extends UnotestError{static{__name(this,_0xaec1f4(0xbe));}},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[_0xaec1f4(0x122)](new ClockNotInstalledError()),_0xaec1f4(0x113)),'tick':__name(()=>Promise['reject'](new ClockNotInstalledError()),'tick'),'run':__name(()=>Promise[_0xaec1f4(0x122)](new ClockNotInstalledError()),_0xaec1f4(0x115)),'frozen':__name(()=>![],'frozen')};function createRecorder(){const _0x441227={_0x4f4bb3:0xdd},_0x3aa806=_0xaec1f4,_0x242d64=[];let _0x1f3c6e=0x0;return{'push':__name(_0x8b620=>_0x242d64['push']({..._0x8b620,'seq':_0x1f3c6e++}),'push'),'calls':__name(()=>_0x242d64,_0x3aa806(_0x441227._0x4f4bb3))};}__name(createRecorder,'createRecorder');var FakePage=class{constructor(_0x4bde26,_0x32d208,_0x4525cf,_0x234dc8){const _0x3e81d7={_0x5a637f:0xe5,_0x519e1b:0xbf,_0x133ac7:0xd3},_0x18ad5a=_0xaec1f4;this[_0x18ad5a(_0x3e81d7._0x5a637f)]=_0x4bde26,this[_0x18ad5a(_0x3e81d7._0x519e1b)]=_0x32d208,this['scope']=_0x4525cf,this[_0x18ad5a(_0x3e81d7._0x133ac7)]=_0x234dc8;}[_0xaec1f4(0xe5)];[_0xaec1f4(0xbf)];['scope'];static{__name(this,_0xaec1f4(0xd0));}[_0xaec1f4(0xd3)];[_0xaec1f4(0xfe)];[_0xaec1f4(0xd9)](_0x3dbcc9,_0xf0ff12){const _0x19c028=_0xaec1f4;this[_0x19c028(0xe5)][_0x19c028(0xdb)]({'scope':this[_0x19c028(0xa6)],'method':_0x3dbcc9,'args':_0xf0ff12});}['maybeThrow'](){const _0x30b02d={_0x28ca2a:0xbf,_0x58e933:0x102,_0x288f6e:0xbf},_0x285a49=_0xaec1f4;if(this[_0x285a49(_0x30b02d._0x28ca2a)][_0x285a49(_0x30b02d._0x58e933)]){const _0x409f70=this[_0x285a49(_0x30b02d._0x28ca2a)][_0x285a49(0x102)];this[_0x285a49(_0x30b02d._0x288f6e)]['errorOnNextAction']=void 0x0;throw _0x409f70;}}['url'](){return this['currentUrl'];}async['title'](){const _0x4defa9={_0x32b5ba:0xd9},_0x43b14b=_0xaec1f4;return this[_0x43b14b(_0x4defa9._0x32b5ba)](_0x43b14b(0xc4),[]),_0x43b14b(0x121);}async[_0xaec1f4(0xf7)](_0x43fa74,_0x1282a1){const _0x1bf9a6={_0x1dcd69:0xd9,_0x4f7ab2:0xea},_0x2f477f=_0xaec1f4;this[_0x2f477f(_0x1bf9a6._0x1dcd69)](_0x2f477f(0xf7),[_0x43fa74,_0x1282a1]),this[_0x2f477f(_0x1bf9a6._0x4f7ab2)](),this['onAfterClick']?.();}async[_0xaec1f4(0xe3)](_0x1397b7,_0x124124){const _0x5ad487={_0x3f085d:0xe3,_0x2ee1ea:0xea},_0x154d60=_0xaec1f4;this['record'](_0x154d60(_0x5ad487._0x3f085d),[_0x1397b7,_0x124124]),this[_0x154d60(_0x5ad487._0x2ee1ea)]();}async['fill'](_0x232c81,_0x44f4fc,_0x47e5ab){const _0x46238d={_0x4c906b:0x10a},_0x3c3929=_0xaec1f4;this[_0x3c3929(0xd9)](_0x3c3929(_0x46238d._0x4c906b),[_0x232c81,_0x44f4fc,_0x47e5ab]),this['maybeThrow']();}async[_0xaec1f4(0xb7)](_0x505563,_0x4b5acb,_0x2ec1a0){const _0x4459ff={_0x5a931a:0xb7,_0x596a38:0xea},_0x2e8c78=_0xaec1f4;this[_0x2e8c78(0xd9)](_0x2e8c78(_0x4459ff._0x5a931a),[_0x505563,_0x4b5acb,_0x2ec1a0]),this[_0x2e8c78(_0x4459ff._0x596a38)]();}async[_0xaec1f4(0xc8)](_0x3b0a8f,_0x2b70cb){const _0x5461b4={_0x15dd4d:0xd9},_0x247028=_0xaec1f4;this[_0x247028(_0x5461b4._0x15dd4d)](_0x247028(0xc8),[_0x3b0a8f,_0x2b70cb]),this[_0x247028(0xea)]();}async['uncheck'](_0x316b28,_0x2e9e65){const _0x1311a1={_0x12f9c0:0xc9},_0x5e59ad=_0xaec1f4;this[_0x5e59ad(0xd9)](_0x5e59ad(_0x1311a1._0x12f9c0),[_0x316b28,_0x2e9e65]),this[_0x5e59ad(0xea)]();}async[_0xaec1f4(0xa4)](_0xf64fd5,_0x507368,_0x43a762){const _0x328960={_0x2ed593:0xd9,_0x191f17:0xea},_0x3c954c=_0xaec1f4;this[_0x3c954c(_0x328960._0x2ed593)](_0x3c954c(0xa4),[_0xf64fd5,_0x507368,_0x43a762]),this[_0x3c954c(_0x328960._0x191f17)]();}async[_0xaec1f4(0xf4)](_0x1c2387,_0x35173d){const _0x3861e9={_0x335ac8:0xf4},_0x342e3c=_0xaec1f4;this[_0x342e3c(0xd9)](_0x342e3c(_0x3861e9._0x335ac8),[_0x1c2387,_0x35173d]),this['maybeThrow']();}async[_0xaec1f4(0x10f)](_0x3c6134){const _0x496ee6={_0x4a89e1:0xd9,_0x582928:0xea},_0xe6507b=_0xaec1f4;this[_0xe6507b(_0x496ee6._0x4a89e1)]('scrollIntoView',[_0x3c6134]),this[_0xe6507b(_0x496ee6._0x582928)]();}async[_0xaec1f4(0x10e)](_0x1aa306,_0x3c7a06,_0xcfa1a){const _0x40e74c={_0x539f04:0xd9,_0x1e6a7a:0x10e},_0x3815ea=_0xaec1f4;this[_0x3815ea(_0x40e74c._0x539f04)](_0x3815ea(_0x40e74c._0x1e6a7a),[_0x1aa306,_0x3c7a06,_0xcfa1a]),this[_0x3815ea(0xea)]();}async[_0xaec1f4(0x103)](_0x320db9,_0x2c8a97){const _0x19cbb7={_0x5dbab9:0xea},_0x29671b=_0xaec1f4;this['record']('uploadFile',[_0x320db9,_0x2c8a97]),this[_0x29671b(_0x19cbb7._0x5dbab9)]();}async[_0xaec1f4(0x108)](_0xa8a6dd,_0x3a5fa9){const _0x4b1f26={_0x3b829c:0xd9,_0x104ff9:0x108},_0x5a164c=_0xaec1f4;this[_0x5a164c(_0x4b1f26._0x3b829c)](_0x5a164c(_0x4b1f26._0x104ff9),[_0xa8a6dd,_0x3a5fa9]),this['maybeThrow']();}async[_0xaec1f4(0xc7)](_0x59af3c){const _0x56c9da=_0xaec1f4;return this[_0x56c9da(0xd9)](_0x56c9da(0xc7),[_0x59af3c]),this['behavior'][_0x56c9da(0x101)]??0x1;}async[_0xaec1f4(0xd8)](_0x3fc461){const _0x38c135={_0x31aeac:0xd9},_0x71ec86=_0xaec1f4;return this[_0x71ec86(_0x38c135._0x31aeac)]('textContent',[_0x3fc461]),this['behavior'][_0x71ec86(0x10d)]??'';}async[_0xaec1f4(0xfc)](_0x40b5b6){const _0x2b8afa={_0xce41bb:0xfc,_0x5b568e:0xb5},_0xa602ec=_0xaec1f4;return this[_0xa602ec(0xd9)](_0xa602ec(_0x2b8afa._0xce41bb),[_0x40b5b6]),this['behavior'][_0xa602ec(_0x2b8afa._0x5b568e)]??this[_0xa602ec(0xbf)][_0xa602ec(0x10d)]??'';}async[_0xaec1f4(0x114)](_0x4a473f){const _0x195efe={_0x23ebbc:0xae},_0x28189a=_0xaec1f4;return this[_0x28189a(0xd9)](_0x28189a(0x114),[_0x4a473f]),this['behavior'][_0x28189a(_0x195efe._0x23ebbc)]??'';}async[_0xaec1f4(0xc6)](_0x55cc95){const _0x366059={_0x4f43d1:0xd9},_0x547669=_0xaec1f4;return this[_0x547669(_0x366059._0x4f43d1)]('checkedState',[_0x55cc95]),this[_0x547669(0xbf)][_0x547669(0xfb)]??null;}async[_0xaec1f4(0xa1)](_0x3fed1c){const _0x130bb5={_0x989a18:0xbf},_0xe6fb51=_0xaec1f4;return this[_0xe6fb51(0xd9)](_0xe6fb51(0xa1),[_0x3fed1c]),this[_0xe6fb51(_0x130bb5._0x989a18)]['isVisibleByDefault']??!![];}async[_0xaec1f4(0xe7)](_0x4dc45c){const _0x450ede={_0xb04814:0xbf},_0x4cfca4=_0xaec1f4;return this[_0x4cfca4(0xd9)](_0x4cfca4(0xe7),[_0x4dc45c]),this[_0x4cfca4(_0x450ede._0xb04814)][_0x4cfca4(0xa7)]??![];}async[_0xaec1f4(0xa8)](_0x4ac476,_0x21501c){const _0x47249e={_0x59fe1c:0xbf},_0x6b4797=_0xaec1f4;return this[_0x6b4797(0xd9)]('getAttribute',[_0x4ac476,_0x21501c]),this[_0x6b4797(_0x47249e._0x59fe1c)]['attributesByDefault']?.[_0x21501c]??null;}async[_0xaec1f4(0xa9)](_0x3d293e,_0xb4b607){const _0x3acd87={_0x92014b:0xa9},_0x303447=_0xaec1f4;this['record'](_0x303447(_0x3acd87._0x92014b),[_0x3d293e,_0xb4b607]);}async[_0xaec1f4(0xda)](_0x2845bd,_0x120e87){const _0x62f474={_0x24898b:0xd9,_0x18ceb8:0xda},_0x58f936=_0xaec1f4;this[_0x58f936(_0x62f474._0x24898b)](_0x58f936(_0x62f474._0x18ceb8),[_0x2845bd,_0x120e87]);}async[_0xaec1f4(0xee)](_0x3ed274,_0x446050){const _0x2b6a59={_0x4d11a9:0xee},_0x38b889=_0xaec1f4;this[_0x38b889(0xd9)](_0x38b889(_0x2b6a59._0x4d11a9),[_0x3ed274,_0x446050]);}async[_0xaec1f4(0xb6)](_0x5d8abb){const _0x5491cd=_0xaec1f4;this['record'](_0x5491cd(0xb6),[_0x5d8abb]);}async[_0xaec1f4(0xcb)](_0x17c6a4,_0x367146){const _0x2b1c69={_0x2e8597:0xd9,_0x4951c0:0xcb},_0x29f275=_0xaec1f4;this[_0x29f275(_0x2b1c69._0x2e8597)](_0x29f275(_0x2b1c69._0x4951c0),[_0x17c6a4,_0x367146]);}async[_0xaec1f4(0xca)](_0x181295,_0x1266aa){const _0x3e72fe={_0x404dbd:0xd9,_0x44b088:0xca,_0x1408d7:0xd3},_0x25edb9=_0xaec1f4;this[_0x25edb9(_0x3e72fe._0x404dbd)](_0x25edb9(_0x3e72fe._0x44b088),[_0x181295,_0x1266aa]),this[_0x25edb9(_0x3e72fe._0x1408d7)]=_0x181295;}async[_0xaec1f4(0xe8)](_0x4d6f8){this['record']('reload',[_0x4d6f8]);}async[_0xaec1f4(0xeb)](_0x43f349){const _0x205ed0=_0xaec1f4;this[_0x205ed0(0xd9)](_0x205ed0(0xeb),[_0x43f349]);}async[_0xaec1f4(0x11e)](_0x512bfb){const _0x49e6e2={_0x32235c:0xd9},_0xcd739d=_0xaec1f4;this[_0xcd739d(_0x49e6e2._0x32235c)](_0xcd739d(0x11e),[_0x512bfb]);}async['evaluate'](_0x1038ea){const _0x1cdc03={_0x32806c:0xbf},_0x3f76bb=_0xaec1f4;return this['record'](_0x3f76bb(0xcf),[_0x1038ea]),this[_0x3f76bb(_0x1cdc03._0x32806c)]['evaluateResult'];}async[_0xaec1f4(0xfd)](_0x3de627,_0x343a51){const _0x3a5b8d=_0xaec1f4;return this[_0x3a5b8d(0xd9)](_0x3a5b8d(0xfd),[_0x3de627,_0x343a51]),void 0x0;}async[_0xaec1f4(0xf0)](_0x28cc91){const _0x996240={_0x5c3ca5:0x118,_0x2d4d17:0x109,_0x21ba5d:0xd5},_0x13d336=_0xaec1f4;this[_0x13d336(0xd9)]('inspectElement',[_0x28cc91]);if(_0x28cc91[_0x13d336(_0x996240._0x5c3ca5)][_0x13d336(0xd1)]!==0x1||_0x28cc91['steps'][0x0][_0x13d336(_0x996240._0x2d4d17)]!==_0x13d336(_0x996240._0x21ba5d))return null;const _0x242cef=_0x28cc91[_0x13d336(0x118)][0x0]['ref'],_0x4516c5=this[_0x13d336(0xbf)][_0x13d336(0xe6)]?.[_0x242cef];return _0x4516c5??null;}async[_0xaec1f4(0xf6)](_0x31b497){const _0x470032={_0x1dc2c5:0xd9,_0x2a4c3b:0x11d},_0x576d77=_0xaec1f4;return this[_0x576d77(_0x470032._0x1dc2c5)]('screenshot',[_0x31b497]),this[_0x576d77(_0x470032._0x2a4c3b)](_0x31b497?.['type']);}async[_0xaec1f4(0x127)](_0x31303f,_0x36c8d4){const _0x2f9e75={_0x5e26ab:0x127,_0x5163cf:0x11d,_0x35c801:0xf9},_0x447347=_0xaec1f4;return this['record'](_0x447347(_0x2f9e75._0x5e26ab),[_0x31303f,_0x36c8d4]),this[_0x447347(_0x2f9e75._0x5163cf)](_0x36c8d4?.[_0x447347(_0x2f9e75._0x35c801)]);}async[_0xaec1f4(0xbc)](_0x2bbe6e,_0x2c7b6a){const _0x528cd0={_0x446d80:0xd9,_0x5dc335:0xbf},_0x2dc675=_0xaec1f4;return this[_0x2dc675(_0x528cd0._0x446d80)](_0x2dc675(0xbc),[_0x2bbe6e,_0x2c7b6a]),this[_0x2dc675(_0x528cd0._0x5dc335)][_0x2dc675(0xf1)]?this['behavior']['captureBoxes'](_0x2bbe6e,_0x2c7b6a):[];}[_0xaec1f4(0x11d)](_0x12c683){const _0x1284c8={_0x3058c4:0x11d,_0x2beee7:0xd7},_0x3c4b08=_0xaec1f4,_0x1167c9=this['behavior'][_0x3c4b08(_0x1284c8._0x3058c4)];if(_0x1167c9===void 0x0)return Buffer['from'](_0x3c4b08(_0x1284c8._0x2beee7));return typeof _0x1167c9===_0x3c4b08(0xb4)?_0x1167c9(_0x12c683):_0x1167c9;}async['outerHTML'](_0x5ac332){const _0x470b2f={_0xed0172:0x118,_0x3170da:0x109,_0x56a708:0xbf,_0x1b3d6c:0xde},_0x112a78=_0xaec1f4;this['record'](_0x112a78(0x123),[_0x5ac332]);if(_0x5ac332[_0x112a78(_0x470b2f._0xed0172)][_0x112a78(0xd1)]===0x1&&_0x5ac332['steps'][0x0][_0x112a78(_0x470b2f._0x3170da)]===_0x112a78(0xd5)){const _0x1beb65=_0x5ac332['steps'][0x0][_0x112a78(0xd5)];return this[_0x112a78(_0x470b2f._0x56a708)][_0x112a78(0xa0)]?.[_0x1beb65]??_0x112a78(_0x470b2f._0x1b3d6c)+_0x1beb65+_0x112a78(0xf5);}return _0x112a78(0x117);}},FakeContext=class{constructor(_0xab326f,_0x56d4ac,_0x496561,_0x5e3541=![]){const _0x45b3fa={_0xcd078f:0xa6,_0x5bc6e5:0xc3,_0x3f3c69:0xe0,_0x29e00b:0x11a,_0x5f160a:0xb8,_0x50d4e9:0xa5},_0x17f5b9={_0x4cc3b5:0x124},_0x4c4bf1=_0xaec1f4;this['recorder']=_0xab326f,this[_0x4c4bf1(0xbf)]=_0x56d4ac,this[_0x4c4bf1(_0x45b3fa._0xcd078f)]=_0x496561,this[_0x4c4bf1(_0x45b3fa._0x5bc6e5)]=_0x5e3541,this[_0x4c4bf1(_0x45b3fa._0x3f3c69)]=![];const _0x4de301=new FakePage(_0xab326f,_0x56d4ac,_0x496561+_0x4c4bf1(_0x45b3fa._0x29e00b),_0x56d4ac['initialUrl']??_0x4c4bf1(_0x45b3fa._0x5f160a));_0x56d4ac[_0x4c4bf1(0x124)]&&(_0x4de301['onAfterClick']=()=>{const _0xcc2bf9=_0x4c4bf1;this[_0xcc2bf9(0xbb)](_0x56d4ac[_0xcc2bf9(_0x17f5b9._0x4cc3b5)]);}),this[_0x4c4bf1(0xa3)]=[_0x4de301],this[_0x4c4bf1(0xac)]={..._0x56d4ac['localStorage']??{}},this[_0x4c4bf1(0xc1)]={..._0x56d4ac[_0x4c4bf1(_0x45b3fa._0x50d4e9)]??{}};}[_0xaec1f4(0xe5)];[_0xaec1f4(0xbf)];[_0xaec1f4(0xa6)];[_0xaec1f4(0xc3)];static{__name(this,_0xaec1f4(0xdf));}['clockFrozen'];[_0xaec1f4(0xa3)];['activeIdx']=0x0;[_0xaec1f4(0xc2)]=[];[_0xaec1f4(0xac)];[_0xaec1f4(0xc1)];[_0xaec1f4(0x100)]=new Set();[_0xaec1f4(0xd9)](_0x1605e2,_0x5d26b8){const _0x3ce8b5=_0xaec1f4;this[_0x3ce8b5(0xe5)][_0x3ce8b5(0xdb)]({'scope':this[_0x3ce8b5(0xa6)],'method':_0x1605e2,'args':_0x5d26b8});}[_0xaec1f4(0x11f)](){const _0x19efdd={_0x20f361:0xa3},_0x448ca5=_0xaec1f4;return this[_0x448ca5(_0x19efdd._0x20f361)];}[_0xaec1f4(0x120)](){const _0x196d81={_0x4ba8f6:0xa3},_0x6f7be4=_0xaec1f4,_0x2cc784=this[_0x6f7be4(_0x196d81._0x4ba8f6)][this[_0x6f7be4(0xcd)]];if(!_0x2cc784)throw new DriverError(_0x6f7be4(0xdc),{'activeIdx':this['activeIdx']});return _0x2cc784;}[_0xaec1f4(0x10b)](){const _0x3fa345={_0x10824e:0xbf},_0xbb6405=_0xaec1f4;return this[_0xbb6405(_0x3fa345._0x10824e)][_0xbb6405(0x10b)]??[];}[_0xaec1f4(0xec)](){const _0x16d6ff=_0xaec1f4;return this['behavior'][_0x16d6ff(0xec)]??[];}async[_0xaec1f4(0xe9)](_0xcbd6f6){const _0x17789e={_0x41f2cd:0xe9,_0x530f8a:0xa3,_0x489c1b:0xd1},_0x5bf01f=_0xaec1f4;this[_0x5bf01f(0xd9)](_0x5bf01f(_0x17789e._0x41f2cd),[_0xcbd6f6]);if(_0xcbd6f6<0x0||_0xcbd6f6>=this[_0x5bf01f(_0x17789e._0x530f8a)][_0x5bf01f(_0x17789e._0x489c1b)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0xcbd6f6,'available':this[_0x5bf01f(0xa3)]['length']});this[_0x5bf01f(0xcd)]=_0xcbd6f6,this[_0x5bf01f(0xc2)][_0x5bf01f(0xd1)]=0x0;}['onNewPage'](_0x21709f){const _0x1ddaa3={_0x30aeab:0x100},_0x5b4b70=_0xaec1f4;return subscribe(this[_0x5b4b70(_0x1ddaa3._0x30aeab)],_0x21709f);}async[_0xaec1f4(0x9f)](_0x52f3f5){const _0x37b7a6={_0x28d17d:0xd9},_0x268ecd=_0xaec1f4;this[_0x268ecd(_0x37b7a6._0x28d17d)](_0x268ecd(0x9f),[_0x52f3f5]);}async[_0xaec1f4(0xab)](){const _0x326b08={_0x3eb2c3:0xa6},_0x5d05dd=_0xaec1f4;return this[_0x5d05dd(_0x326b08._0x3eb2c3)];}[_0xaec1f4(0x126)](){const _0x4680fe={_0x3bb3fa:0x106,_0x52e02c:0x115,_0xaf50d3:0x9e},_0x2282bd={_0x1bfc30:0xd9,_0x12a507:0xe0},_0x27937a={_0x25828f:0xe2},_0x4bf6fd=_0xaec1f4;if(!this['hasClock'])return NO_CLOCK;return{'freeze':__name(async _0x8cae18=>{const _0x62e485=_0x5d47;this[_0x62e485(0xd9)](_0x62e485(_0x27937a._0x25828f),[_0x8cae18]),this[_0x62e485(0xe0)]=!![];},_0x4bf6fd(0x113)),'tick':__name(async _0x15573b=>this[_0x4bf6fd(0xd9)](_0x4bf6fd(0xce),[_0x15573b]),_0x4bf6fd(_0x4680fe._0x3bb3fa)),'run':__name(async()=>{const _0x4fadd2=_0x4bf6fd;this[_0x4fadd2(_0x2282bd._0x1bfc30)]('clock.run',[]),this[_0x4fadd2(_0x2282bd._0x12a507)]=![];},_0x4bf6fd(_0x4680fe._0x52e02c)),'frozen':__name(()=>this[_0x4bf6fd(0xe0)],_0x4bf6fd(_0x4680fe._0xaf50d3))};}['emitFakePopup'](_0x5cb17c){const _0xab6c94={_0x1b1e0a:0xa6,_0x590af0:0xa3,_0xbafca4:0xe5},_0x57f028=_0xaec1f4,_0x18f13f=this[_0x57f028(_0xab6c94._0x1b1e0a)]+'.page'+this[_0x57f028(_0xab6c94._0x590af0)]['length'],_0x4119c0=new FakePage(this[_0x57f028(_0xab6c94._0xbafca4)],this['behavior'],_0x18f13f,_0x5cb17c);this['pageList']['push'](_0x4119c0);const _0x54c314=this[_0x57f028(0xa3)][_0x57f028(0xd1)]-0x1;for(const _0x5eab78 of this[_0x57f028(0x100)]){try{_0x5eab78({'index':_0x54c314,'url':_0x5cb17c});}catch{}}return _0x54c314;}[_0xaec1f4(0x110)](_0x153672){const _0x58d9a3={_0x3e9800:0xa3,_0x113cf4:0xd1,_0x1ccb2d:0xa3,_0x34e60b:0xa3,_0x11d507:0xf2},_0xa866b5=_0xaec1f4;if(_0x153672<0x0||_0x153672>=this[_0xa866b5(_0x58d9a3._0x3e9800)][_0xa866b5(_0x58d9a3._0x113cf4)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x153672,'available':this[_0xa866b5(_0x58d9a3._0x1ccb2d)]['length']});this[_0xa866b5(_0x58d9a3._0x34e60b)][_0xa866b5(_0x58d9a3._0x11d507)](_0x153672,0x1);}async[_0xaec1f4(0x10c)](_0x1bd8f3){const _0x10dc36={_0x11934b:0x118},_0x34a997=_0xaec1f4;this[_0x34a997(0xd9)](_0x34a997(0x10c),[_0x1bd8f3]);if(!_0x1bd8f3[_0x34a997(_0x10dc36._0x11934b)][_0x34a997(0xd1)])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0x1bd8f3});this[_0x34a997(0xc2)][_0x34a997(0xdb)](_0x1bd8f3);}async[_0xaec1f4(0xc0)](){const _0x401186={_0x5d6dc3:0x119},_0x25f8ae=_0xaec1f4;this['record'](_0x25f8ae(0xc0),[]);if(this[_0x25f8ae(0xc2)]['length']===0x0)throw new DriverError(_0x25f8ae(0xd4),{});this[_0x25f8ae(0xc2)][_0x25f8ae(_0x401186._0x5d6dc3)]();}async[_0xaec1f4(0xc5)](_0x3b56ee,_0x448c06){const _0xf24f2={_0x2bcf08:0xc5,_0x21058c:0xac},_0x188424=_0xaec1f4;this[_0x188424(0xd9)](_0x188424(_0xf24f2._0x2bcf08),[_0x3b56ee,_0x448c06]),this[_0x188424(_0xf24f2._0x21058c)][_0x3b56ee]=_0x448c06;}async['getLocalStorage'](_0x5931e8){const _0x1e51f3=_0xaec1f4;return this[_0x1e51f3(0xd9)]('getLocalStorage',[_0x5931e8]),this['localStorageState'][_0x5931e8]??null;}async[_0xaec1f4(0xe4)](_0x14643f,_0x1e1bd9,_0x1bfb1c){const _0x10ad48=_0xaec1f4;this[_0x10ad48(0xd9)](_0x10ad48(0xe4),[_0x14643f,_0x1e1bd9,_0x1bfb1c]),this[_0x10ad48(0xc1)][_0x14643f]=_0x1e1bd9;}async[_0xaec1f4(0xb9)](_0x2b87cb){const _0xebe33f={_0x2eb727:0xd9,_0x14a028:0xb9},_0x36c81a=_0xaec1f4;return this[_0x36c81a(_0xebe33f._0x2eb727)](_0x36c81a(_0xebe33f._0x14a028),[_0x2b87cb]),this[_0x36c81a(0xc1)][_0x2b87cb]??null;}async[_0xaec1f4(0xff)](_0x1ccc65){const _0x440494={_0x4aff44:0xff},_0x517d8e=_0xaec1f4;this['record'](_0x517d8e(_0x440494._0x4aff44),[_0x1ccc65]);}async[_0xaec1f4(0xcf)](_0x45d862){const _0xeb59de={_0x33724b:0xd9},_0x545ae0=_0xaec1f4;return this[_0x545ae0(_0xeb59de._0x33724b)]('evaluate',[_0x45d862]),void 0x0;}async[_0xaec1f4(0xba)](){const _0x3fbded={_0x3fc0c7:0xba},_0x221028=_0xaec1f4;this[_0x221028(0xd9)](_0x221028(_0x3fbded._0x3fc0c7),[]);}[_0xaec1f4(0xe1)](){return this['frameStack']['length'];}},FakeWebDriver=class{constructor(_0xdc3a90={}){const _0x41110c={_0x13d92d:0xbf,_0x2fa439:0xe5},_0x24d3a1=_0xaec1f4;this[_0x24d3a1(_0x41110c._0x13d92d)]=_0xdc3a90,this[_0x24d3a1(_0x41110c._0x2fa439)]=createRecorder();}[_0xaec1f4(0xbf)];static{__name(this,_0xaec1f4(0xa2));}[_0xaec1f4(0x104)]=![];[_0xaec1f4(0xe5)];['contexts']=[];async[_0xaec1f4(0xb0)](_0x10f766){const _0x422868={_0x1c2e6b:0xe5},_0x1388c6=_0xaec1f4;this[_0x1388c6(_0x422868._0x1c2e6b)][_0x1388c6(0xdb)]({'scope':'driver','method':'launch','args':[_0x10f766]}),this[_0x1388c6(0x104)]=!![];}async[_0xaec1f4(0xef)](_0x215ee1){const _0x5a6b29=_0xaec1f4;this[_0x5a6b29(0xe5)][_0x5a6b29(0xdb)]({'scope':_0x5a6b29(0xbd),'method':'newContext','args':[_0x215ee1]});if(!this['launched'])throw new DriverError('newContext\x20called\x20before\x20launch()',{});const _0x1180b0=new FakeContext(this['recorder'],this[_0x5a6b29(0xbf)],_0x5a6b29(0xb1)+this['contexts']['length'],_0x215ee1?.[_0x5a6b29(0x126)]===!![]);return this['contexts']['push'](_0x1180b0),_0x1180b0;}async[_0xaec1f4(0xba)](){const _0x31da30={_0x2db3d0:0x104},_0x1d645d=_0xaec1f4;this[_0x1d645d(0xe5)][_0x1d645d(0xdb)]({'scope':_0x1d645d(0xbd),'method':'close','args':[]}),this[_0x1d645d(_0x31da30._0x2db3d0)]=![];}['wsEndpoint'](){return void 0x0;}async[_0xaec1f4(0x111)](){const _0x29c7f2={_0x395348:0xad},_0x4f698c=_0xaec1f4;throw new DriverError(_0x4f698c(_0x29c7f2._0x395348),{});}async[_0xaec1f4(0x116)](_0x266441){throw new DriverError('attachExisting\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0xaec1f4(0xdd)](){const _0x442ad2=_0xaec1f4;return this[_0x442ad2(0xe5)]['calls']();}[_0xaec1f4(0xcc)](_0x42441c){const _0x36bf69={_0x96fe94:0xdd},_0xd8b6f4=_0xaec1f4;return this[_0xd8b6f4(0xe5)][_0xd8b6f4(_0x36bf69._0x96fe94)]()[_0xd8b6f4(0x112)](_0x152a55=>_0x152a55[_0xd8b6f4(0x125)]===_0x42441c);}};export{FakeWebDriver};
1
+ const _0x224db2=_0x4ba6;(function(_0x4dfa00,_0x161dae){const _0x7df14c={_0x1ec93f:0x10d,_0x53b2d0:0x122,_0x428632:0xd4,_0x39e1f8:0x189,_0x53f6c7:0x196,_0x552898:0x155,_0x2f6f01:0xe9},_0x2fb608=_0x4ba6,_0x29edbb=_0x4dfa00();while(!![]){try{const _0x5d2550=parseInt(_0x2fb608(_0x7df14c._0x1ec93f))/0x1*(-parseInt(_0x2fb608(_0x7df14c._0x53b2d0))/0x2)+parseInt(_0x2fb608(_0x7df14c._0x428632))/0x3+-parseInt(_0x2fb608(0x15e))/0x4*(-parseInt(_0x2fb608(0x17f))/0x5)+parseInt(_0x2fb608(0x11d))/0x6+parseInt(_0x2fb608(_0x7df14c._0x39e1f8))/0x7*(parseInt(_0x2fb608(_0x7df14c._0x53f6c7))/0x8)+parseInt(_0x2fb608(0x16b))/0x9+-parseInt(_0x2fb608(_0x7df14c._0x552898))/0xa*(parseInt(_0x2fb608(_0x7df14c._0x2f6f01))/0xb);if(_0x5d2550===_0x161dae)break;else _0x29edbb['push'](_0x29edbb['shift']());}catch(_0x44d82f){_0x29edbb['push'](_0x29edbb['shift']());}}}(_0x1026,0xdb798));var __defProp=Object['defineProperty'],__name=(_0x3ca933,_0x528903)=>__defProp(_0x3ca933,_0x224db2(0x18f),{'value':_0x528903,'configurable':!![]});import{writeFile}from'fs/promises';function _0x1026(){const _0x6021b8=['BMv3ugfNzuXPC3rLBMvYCW','CMvZCg9UC2u','yxjYAxzLza','D29YA2vYu3rHCNrLza','A2LUza','C2vYDMLJzvDVCMTLCNm','C2HPzNq','BgvMDa','Aw5ZCgvJDevSzw1LBNq','ywrK','zMLUzeLUzgv4','odq3ntCZofnVEhLhva','Bwf4','Aw5WDxrwywX1zq','zMfRzs1WBMC','iJ48l2rPDJ4','nde4uhznEgXr','y2XVC2vqywDL','yNjPBMDuB0zYB250','y2fUBM90ignSB3nLihrOzsbVBMX5ig9Wzw4GDgfIoIbUB3rOAw5NihDVDwXKigjLigXLzNqGDg8GzhjPDMu','y2XVC2vgywTLugfNzq','ig1Zlca','B25bzNrLCKnSAwnR','C3DPDgnOAw5N','yM94zxnjBKnHChr1CMu','ig1Z','AxneAxnHyMXLzej5rgvMyxvSDa','zgvSzxrL','zMLSDgvY','y291BNrcEurLzMf1Bhq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','zhjHz0fUzerYB3a','y291BNq','yxjYAxzHBhm','z2v0qxr0CMLIDxrL','zxzHBhvHDgvpBKXVy2f0B3i','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','yMXVy2TLza','zxzHBhvHDgu','BM9eB3DUBg9Hza','ChjVzMLSzq','uvvfvuvFtufy','D2fPDezVCKXVywrtDgf0zq','igLUia','ihn0yxj0zwqGD2L0AgLUia','CNvU','BMv0D29YAY5TB2nR','DhLWzq','Cg9W','D2fPDezVCK5LD1bHz2u','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','CMvM','C291CMnL','y3vYCMvUDfvYBa','Bg9JywXtDg9YywDLu3rHDgu','BM8Gzg93BMXVywq','ywn0AxzLugfNzq','yMXVy2S','C3bSAwnL','zxzHBhvHDgvszxn1Bhq','zw1PDezHA2vqB3b1Ca','B25ozxDqywDL','y3r4','zxjYB3jpBK5LEhrby3rPB24','CMvZCg9UC2vZ','Aw5PDgLHBfvYBa','D2fPDezVCLnLCNzPy2vxB3jRzxi','nJeZmfLrCKTPAq','CxvLDwvK','y2HLy2TLzfn0yxrL','C2v0vMLLD3bVCNq','AgfZ','ugfNzuHPC3rVCNK','zMLYC3rvBMHHBMrLzfbHz2u','C3rYAw5NAwz5','zMLUza','mJrwr3v4t28','BMv0D29YAY53ywL0rM9YuMvXDwvZDa','ywn0AxzLswr4','yMvOyxzPB3i','CMfJzq','CMvZB2X2zq','CMvQzwn0','C2nYB2XSsw50B1zPzxC','rMfRzvDLyKrYAxzLCG','zxHPDezYyw1L','C2f2zufZ','D2fPDezVCK5HDMLNyxrPB24','y29UDgv4Dhm','mtaWntCYodr3vuLyyM8','D2fPDezVCG','zw1PDezHA2vszxf1zxn0','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','Dw5JAgvJAW','uM91DgvkB3vYBMfS','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','C2vSzwn0t3b0Aw9U','Bwf5yMvuAhjVDW','C3rVChbLza','y29VA2LLu3rHDgu','y2XVy2TgCM96zw4','lNbHz2u','C2XLzxa','zNjHBwvtDgfJAW','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','Dgv4DenVBNrLBNq','DgLTzw91De1Z','y29VA2LLCW','rg93BMXVywrrDwv1zq','nJmXmJi1rfDkuNH6','C2nYzwvUC2HVDej5DgvZ','y2fSBhm','Bgf1BMnO','y3jLyxrLuMvJB3jKzxi','Ag92zxi','u2vYDMLJzvDVCMTLCK5LzwrZuhjVzMLSzuvYCM9Y','Bgf1BMnOzwq','AgfUzgvKugfNzxm','AgfZq2XVy2S','n1fuAhnMzq','Dw5TB2nR','D29YA2vYlMv2ywX1yxrL','zNjVEMvU','zw1PDezHA2vtzxj2AwnLv29YA2vY','yM91BMrPBMDcB3HcEurLzMf1Bhq','BMfTzq','C3rYAw5N','zNjHBwvezxb0Aa','zwXLBwvUDeHPBNrcEvjLzG','DgLJAW','ChjLC3m','BMv4Da','nde2ntGWoenwz1PRtG','yNjVD3nLCKnVBNrLEhrjza','D2fPDgvY','BM93','CgfNzuXPC3q','CMvJB3jKzxi','CM91DgvZ','zNjVBq','ihDPDgHPBIa','y2XPCgjVyxjKugfZDgu','zgvZy3jPyMu','zw50zxjgCMfTzq','tM90uMvJB3jKAw5NrxjYB3i','BwfW','BMv0D29YAY51BM1Vy2S','y2XVy2S','BM8GC2vYDMLJzsb3B3jRzxi','DgL0Bgu','zg93BMXVywrZ','CgXHBKnSB3nL','zw1PDezHA2veB3DUBg9Hza','BM8Gzg93BMXVywqGD2HVC2uGBMfTzsb3B3vSzca','D2fPDezVCLvYBa','z290BW','q2XVy2ToB3rjBNn0ywXSzwrfCNjVCG','C2v0tg9JywXtDg9YywDL','BMv0D29YA0vUDhjPzxm','D2fPDezVCLrLEhq','oYbUB3qGDgfRzw46ia','lNbHz2uW','zMfRzvDVCMTLCG','z29gB3j3yxjK','uMvXDwvZDfDHAxruAw1LB3v0rxjYB3i','CMvJB3jK','z2v0','C2v0','C2v0qwn0AxzLugfNzq','Cg9WDxbpBKnSAwnR','oIbTB2nRigL0igzPCNn0ihDPDgGGBw9JA1jVDxrLka','AxnwAxnPyMXLqNLezwzHDwX0','mtaYndiXnwP2DKvXsW','C3vIC2nYAwjL','z2v0q29VA2LL','ihrHyG','C2nYzwvUC2HVDevSzw1LBNq','AxnwAxnPyMXL','BMv3q29UDgv4Da','y2XPy2S','ywjVDxq6yMXHBMS','zg91yMXLq2XPy2S','B3v0zxjiDg1SqNLszwy','zgvSAxzLCG','ig1HDgnOAw5Nia','BM90AgLUzYbYzwnVCMrZihjLCxvLC3rZihrVia','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','vgLTzw91DevYCM9Y','C2f2zvn0B3jHz2vtDgf0zq','y2XVy2SUzNjLzxPL','AgLZDg9YEq','C2v0q29VA2LL','DgfRzq','ndu2otrAqxLNtLi','C2vLBG','BMv3ugfNzq','B3v0zxjive1m','Bw9JA2vK','D2fPDezVCLjLCxvLC3q','BM8GCMvXDwvZDcb0BYa','C3rLChm','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','y29UBMvJDfnOyxjLza','AxneAxnHyMXLza','zhjPDMvY','y29UC29SzuvUDhjPzxm','rMfRzunVBNrLEhq','Aw5KzxHpzG','BMv0D29YAW','CMvSB2fK','DxbSB2fKrMLSzq','z2v0tg9JywXtDg9YywDL','ChvZAa','zNvUy3rPB24','DgvZDa','y2XVC2u','D29YA2vYtwf0y2HLCW','zNjLzxPL','C2nVCgu','Bwv0Ag9K','DxjS','yM91BMrPBMDcB3G','D2fPDgvYCW','DgfRzw4','DgHLihbHz2uGy2XVy2SGAxmGBM90igLUC3rHBgXLzcbVBIb0AgLZigjYB3DZzxiG4OcuigL0igHHCYb0BYbIzsbPBIbWBgfJzsbIzwzVCMuGDgHLigzPCNn0ihbHz2uGBg9HzhmSig9YihrOzsbWywDLj3mGB3DUihrPBwvYCYbRzwvWihjLywWGDgLTzs4GqsbYDw4GAw5ZDgfSBhmGAxqGD2HLBIb0AguGC2nLBMfYAw8GB3iGAxrZigHLBhbLCNmGy2fSBcbJBg9JA0zYzwv6zsaVignSB2nRvgLJAYaVignSB2nRuNvUoYbVDMvYie1ducWGB3bLBIb0AguGyNjVD3nLCIb3AxrOig5LD19JB250zxH0ihTJBg9JAZOGDhj1zx0Gkg9Yigv4CgXVCMvFC3rHCNqGE2nSB2nRoIb0CNvLFsKU','yxr0CMLIDxrLC0j5rgvMyxvSDa','Aw5UzxjuzxH0','ywjVCNq','Aw5WDxrwywX1zuj5rgvMyxvSDa','mZm3mgDowM5sCq','D29YA2vYvxjSCW','D2fPDezVCKrVD25SB2fK','y2HLy2S','BgvUz3rO'];_0x1026=function(){return _0x6021b8;};return _0x1026();}function subscribe(_0x33471b,_0x282109){const _0x4a0a4c=_0x224db2;return _0x33471b[_0x4a0a4c(0x11b)](_0x282109),()=>{const _0x1aa1a4=_0x4a0a4c;_0x33471b[_0x1aa1a4(0x12d)](_0x282109);};}__name(subscribe,_0x224db2(0xd5));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,'DriverError');}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}},TimeoutError=class extends UnotestError{static{__name(this,_0x224db2(0xe3));}},ClockNotInstalledError=class extends DriverError{static{__name(this,_0x224db2(0xc4));}constructor(){const _0x20575b=_0x224db2;super(_0x20575b(0x108),{});}},NO_CLOCK={'freeze':__name(()=>Promise['reject'](new ClockNotInstalledError()),_0x224db2(0x101)),'tick':__name(()=>Promise[_0x224db2(0x164)](new ClockNotInstalledError()),_0x224db2(0x193)),'run':__name(()=>Promise[_0x224db2(0x164)](new ClockNotInstalledError()),_0x224db2(0x13f)),'frozen':__name(()=>![],_0x224db2(0x18c))};function firstUnhandedPage(_0x167683,_0x134cb6){const _0x50cdf7={_0x440609:0x11c},_0x13d9cb=_0x224db2;return _0x167683[_0x13d9cb(_0x50cdf7._0x440609)](_0x23193b=>!_0x134cb6[_0x13d9cb(0x159)](_0x23193b));}function _0x4ba6(_0x5a1e6b,_0x4642ae){_0x5a1e6b=_0x5a1e6b-0xbe;const _0x10261e=_0x1026();let _0x4ba6c5=_0x10261e[_0x5a1e6b];if(_0x4ba6['fLbrSH']===undefined){var _0x99b40f=function(_0x4726a8){const _0x1e4a7d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3ca933='',_0x528903='';for(let _0x33471b=0x0,_0x282109,_0x167683,_0x134cb6=0x0;_0x167683=_0x4726a8['charAt'](_0x134cb6++);~_0x167683&&(_0x282109=_0x33471b%0x4?_0x282109*0x40+_0x167683:_0x167683,_0x33471b++%0x4)?_0x3ca933+=String['fromCharCode'](0xff&_0x282109>>(-0x2*_0x33471b&0x6)):0x0){_0x167683=_0x1e4a7d['indexOf'](_0x167683);}for(let _0x23193b=0x0,_0x5251d6=_0x3ca933['length'];_0x23193b<_0x5251d6;_0x23193b++){_0x528903+='%'+('00'+_0x3ca933['charCodeAt'](_0x23193b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x528903);};_0x4ba6['ouFAbu']=_0x99b40f,_0x4ba6['lzctjX']={},_0x4ba6['fLbrSH']=!![];}const _0x39bd45=_0x10261e[0x0],_0x40490a=_0x5a1e6b+_0x39bd45,_0x51d045=_0x4ba6['lzctjX'][_0x40490a];return!_0x51d045?(_0x4ba6c5=_0x4ba6['ouFAbu'](_0x4ba6c5),_0x4ba6['lzctjX'][_0x40490a]=_0x4ba6c5):_0x4ba6c5=_0x51d045,_0x4ba6c5;}__name(firstUnhandedPage,_0x224db2(0x15b));function claimNewPage(_0x5251d6,_0x574e29,_0x1d0b26){const _0x380160={_0xd329fc:0x127,_0x541258:0xd7,_0x7c6b4e:0x11b},_0x4056a0=_0x224db2,_0x4e5a16=firstUnhandedPage(_0x5251d6,_0x574e29);if(_0x4e5a16<0x0){const _0x3db034=_0x5251d6[_0x4056a0(0x111)];throw new TimeoutError('no\x20new\x20tab\x20within\x20'+_0x1d0b26+_0x4056a0(_0x380160._0xd329fc)+_0x3db034+_0x4056a0(_0x380160._0x541258)+(_0x3db034===0x1?'':'s')+'\x20open',{'timeoutMs':_0x1d0b26,'open':_0x3db034});}return _0x574e29[_0x4056a0(_0x380160._0x7c6b4e)](_0x5251d6[_0x4e5a16]),_0x4e5a16;}__name(claimNewPage,'claimNewPage');var PageHistory=class{static{__name(this,_0x224db2(0x15a));}[_0x224db2(0x119)]=[];[_0x224db2(0x129)](_0x489a72,_0x543e5e,_0x25a5b3){const _0x52f889={_0x255558:0x119,_0x299830:0x119,_0x11c335:0x119},_0x52b5b4=_0x224db2,_0x304d96=_0x489a72[_0x543e5e];if(!_0x304d96||_0x304d96===_0x25a5b3)return;const _0x71992f=this[_0x52b5b4(_0x52f889._0x255558)][_0x52b5b4(0x12e)](_0x1aea40=>_0x1aea40!==_0x304d96&&_0x489a72['includes'](_0x1aea40));this[_0x52b5b4(_0x52f889._0x299830)][_0x52b5b4(0x14c)](0x0,this[_0x52b5b4(_0x52f889._0x11c335)]['length'],..._0x71992f,_0x304d96);}[_0x224db2(0xbf)](_0x773887,_0x213230,_0x5ead70){const _0x11d17e={_0x21d554:0xf1,_0x5eddc1:0x125,_0x37f1e1:0x119,_0x498186:0x14c,_0x5825a8:0x119,_0x39f6b5:0x111},_0x175334=_0x224db2,_0x4eacd7=_0x773887[_0x5ead70];if(!_0x4eacd7)throw new DriverError(_0x175334(_0x11d17e._0x21d554),{'index':_0x5ead70,'available':_0x773887['length']});if(_0x773887['length']===0x1)throw new DriverError(_0x175334(_0x11d17e._0x5eddc1),{'index':_0x5ead70});const _0x47ade9=_0x773887[_0x175334(0x12e)](_0x51b367=>_0x51b367!==_0x4eacd7),_0x3df4b8=_0x773887[_0x213230],_0x23f436=this['left'][_0x175334(0x12e)](_0x2ccb8c=>_0x2ccb8c!==_0x4eacd7);this[_0x175334(_0x11d17e._0x37f1e1)][_0x175334(_0x11d17e._0x498186)](0x0,this[_0x175334(_0x11d17e._0x5825a8)][_0x175334(_0x11d17e._0x39f6b5)],..._0x23f436);if(_0x3df4b8&&_0x3df4b8!==_0x4eacd7)return{'closing':_0x4eacd7,'nextActive':_0x47ade9['indexOf'](_0x3df4b8)};for(let _0x30f191=this[_0x175334(_0x11d17e._0x5825a8)][_0x175334(_0x11d17e._0x39f6b5)]-0x1;_0x30f191>=0x0;_0x30f191--){const _0x232948=_0x47ade9[_0x175334(0xf7)](this[_0x175334(0x119)][_0x30f191]);if(_0x232948>=0x0)return{'closing':_0x4eacd7,'nextActive':_0x232948};}return{'closing':_0x4eacd7,'nextActive':Math[_0x175334(0x11e)](_0x5ead70-0x1,0x0)};}},NotRecordingError=class extends DriverError{static{__name(this,_0x224db2(0x1a2));}constructor(_0xe3f92c){const _0x5b9784=_0x224db2;super(_0x5b9784(0xe1)+JSON[_0x5b9784(0x15c)](_0xe3f92c)+_0x5b9784(0xd2)+JSON['stringify'](_0xe3f92c)+',\x20{abort:\x20true,\x20record:\x20true}).\x20Without\x20it\x20a\x20check\x20for\x20requests\x20there\x20would\x20pass\x20having\x20watched\x20nothing.',{'glob':_0xe3f92c});}},RequestWaitTimeoutError=class extends TimeoutError{static{__name(this,_0x224db2(0xcc));}constructor(_0x2d74b8,_0x189335){const _0x15663e={_0x399bf9:0xef,_0x3b19fc:0x12b},_0x59645d=_0x224db2;super(_0x59645d(_0x15663e._0x399bf9)+JSON[_0x59645d(0x15c)](_0x2d74b8)+_0x59645d(0x13d)+_0x189335+_0x59645d(_0x15663e._0x3b19fc),{'glob':_0x2d74b8,'timeoutMs':_0x189335});}},RouteJournal=class _RouteJournal{constructor(_0x4f66f6=Date['now']){const _0x4ed367=_0x224db2;this[_0x4ed367(0x199)]=_0x4f66f6;}[_0x224db2(0x199)];static{__name(this,_0x224db2(0x170));}static [_0x224db2(0x13b)]=0x1f4;[_0x224db2(0x152)]=new Map();['queued']=new Map();[_0x224db2(0x106)]=new Map();[_0x224db2(0x174)]=new Map();[_0x224db2(0xcf)](_0x14f190,_0x5c619d){const _0x12541e={_0x28a858:0x152,_0x36a048:0xcf,_0xb3d5a:0x116,_0x372b99:0x174,_0x5a74a4:0x159},_0x2aa404=_0x224db2;this[_0x2aa404(_0x12541e._0x28a858)][_0x2aa404(_0x12541e._0x36a048)](_0x14f190,_0x5c619d);if(!this[_0x2aa404(0x156)][_0x2aa404(0x159)](_0x14f190))this[_0x2aa404(0x156)][_0x2aa404(_0x12541e._0x36a048)](_0x14f190,[]);_0x5c619d[_0x2aa404(_0x12541e._0xb3d5a)]===_0x2aa404(0x10b)&&_0x5c619d['record']&&!this[_0x2aa404(_0x12541e._0x372b99)][_0x2aa404(_0x12541e._0x5a74a4)](_0x14f190)&&this['stopped'][_0x2aa404(0xcf)](_0x14f190,[]);}[_0x224db2(0x12d)](_0xa6c805){const _0x4c4df6={_0x39f18f:0x152,_0xfc5b7a:0x159},_0x3956a6=_0x224db2,_0x5e117c=_0xa6c805===void 0x0?[...this[_0x3956a6(0x152)]['keys']()]:this[_0x3956a6(_0x4c4df6._0x39f18f)][_0x3956a6(_0x4c4df6._0xfc5b7a)](_0xa6c805)?[_0xa6c805]:[];for(const _0x2986b1 of _0x5e117c){this['responses'][_0x3956a6(0x12d)](_0x2986b1),this['queued'][_0x3956a6(0x12d)](_0x2986b1);}return _0x5e117c;}[_0x224db2(0x113)](_0x8358bd){const _0x5899c6={_0x593ea4:0x152},_0x2060a1=_0x224db2;return this[_0x2060a1(_0x5899c6._0x593ea4)][_0x2060a1(0xce)](_0x8358bd);}[_0x224db2(0xed)](_0x25086e){const _0x4756f6=_0x224db2;return this['responses'][_0x4756f6(0x159)](_0x25086e);}[_0x224db2(0xdf)](_0x207be5,_0x29c80c){const _0x226bd2={_0x117e11:0xce},_0x37b3d2=_0x224db2,_0x3c0cc3=this[_0x37b3d2(0x106)]['get'](_0x207be5)?.[_0x37b3d2(0x118)]();if(_0x3c0cc3){_0x3c0cc3(_0x29c80c);return;}const _0x2376d2=this[_0x37b3d2(0x156)][_0x37b3d2(_0x226bd2._0x117e11)](_0x207be5);if(!_0x2376d2)return;_0x2376d2['push'](_0x29c80c);if(_0x2376d2['length']>_RouteJournal[_0x37b3d2(0x13b)])_0x2376d2['shift']();}[_0x224db2(0x14b)](_0x53ac3a,_0x5de835){const _0x41c528={_0x1503bd:0xce,_0x2b7776:0x104},_0x4153cf=_0x224db2;this[_0x4153cf(0x174)][_0x4153cf(_0x41c528._0x1503bd)](_0x53ac3a)?.[_0x4153cf(0xfc)]({'url':_0x5de835[_0x4153cf(_0x41c528._0x2b7776)],'method':_0x5de835[_0x4153cf(0x103)],'at':this['now']()});}[_0x224db2(0x137)](_0x3bddc3){const _0x178972={_0x304f21:0x174},_0x311321=_0x224db2,_0x52aa0c=this[_0x311321(_0x178972._0x304f21)][_0x311321(0xce)](_0x3bddc3);if(!_0x52aa0c)throw new NotRecordingError(_0x3bddc3);return _0x52aa0c;}[_0x224db2(0x195)](_0x4b2886,_0x575984){const _0x2dd343={_0x3ed411:0xce,_0x314371:0x118,_0x109c95:0x163},_0x5345e7={_0x444981:0x106,_0x466337:0xfc,_0x1f6f3e:0xcf},_0x3cf2a2=_0x224db2,_0x3f1d3b=this[_0x3cf2a2(0x156)][_0x3cf2a2(_0x2dd343._0x3ed411)](_0x4b2886)?.[_0x3cf2a2(_0x2dd343._0x314371)]();if(_0x3f1d3b)return Promise[_0x3cf2a2(_0x2dd343._0x109c95)](_0x3f1d3b);return new Promise((_0x3a04b9,_0x47dbb8)=>{const _0x2b46ae={_0x154f09:0x106,_0x2571e9:0x14c},_0x10d96f=_0x3cf2a2,_0x63bd25=__name(_0x2f4129=>{clearTimeout(_0x490deb),_0x3a04b9(_0x2f4129);},_0x10d96f(0x198)),_0x490deb=setTimeout(()=>{const _0x31abfe=_0x10d96f,_0x7321c9=this[_0x31abfe(_0x2b46ae._0x154f09)]['get'](_0x4b2886)??[];_0x7321c9[_0x31abfe(_0x2b46ae._0x2571e9)](_0x7321c9['indexOf'](_0x63bd25),0x1),_0x47dbb8(new RequestWaitTimeoutError(_0x4b2886,_0x575984));},_0x575984),_0x1552b1=this[_0x10d96f(_0x5345e7._0x444981)][_0x10d96f(0xce)](_0x4b2886)??[];_0x1552b1[_0x10d96f(_0x5345e7._0x466337)](_0x63bd25),this['waiters'][_0x10d96f(_0x5345e7._0x1f6f3e)](_0x4b2886,_0x1552b1);});}},DownloadQueue=class{constructor(_0x43d27b){const _0x1997fb={_0x17a0d2:0x178},_0x555a79=_0x224db2;this[_0x555a79(_0x1997fb._0x17a0d2)]=_0x43d27b;}['sleep'];static{__name(this,_0x224db2(0x17e));}[_0x224db2(0xea)]=[];[_0x224db2(0x107)]=new Set();[_0x224db2(0x133)]=new Set();[_0x224db2(0xfc)](_0x3e396f){const _0x4ca67f={_0x63947d:0x133},_0x142040=_0x224db2;this[_0x142040(0xea)][_0x142040(0xfc)](_0x3e396f);for(const _0x49fcec of this[_0x142040(_0x4ca67f._0x63947d)])_0x49fcec();}async[_0x224db2(0xe8)](_0x2741b5,_0x56bd7a){const _0x59abdc={_0x529fc9:0x195,_0x44c886:0x114,_0x453a8b:0x133,_0x1f28a6:0x178,_0x270a57:0x12d,_0x1b4a88:0x107},_0x5331c5=_0x224db2,_0x4495ba=__name(()=>this[_0x5331c5(0xea)][_0x5331c5(0x15d)](_0x466230=>!this[_0x5331c5(0x107)][_0x5331c5(0x159)](_0x466230)&&(_0x56bd7a===void 0x0||_0x56bd7a['matches'](_0x466230[_0x5331c5(0x18f)]))),_0x5331c5(_0x59abdc._0x529fc9));let _0x5d761d=_0x4495ba();if(_0x5d761d===void 0x0){let _0x5205c4=__name(()=>{},_0x5331c5(_0x59abdc._0x44c886));const _0x71bd0a=new Promise(_0x4ed3ec=>{_0x5205c4=__name(()=>{if(_0x4495ba()!==void 0x0)_0x4ed3ec();},'arrived');});this[_0x5331c5(_0x59abdc._0x453a8b)][_0x5331c5(0x11b)](_0x5205c4);try{await Promise[_0x5331c5(0x162)]([_0x71bd0a,this[_0x5331c5(_0x59abdc._0x1f28a6)](_0x2741b5)]);}finally{this[_0x5331c5(0x133)][_0x5331c5(_0x59abdc._0x270a57)](_0x5205c4);}_0x5d761d=_0x4495ba();}if(_0x5d761d===void 0x0)throw this['noDownload'](_0x2741b5,_0x56bd7a);return this[_0x5331c5(_0x59abdc._0x1b4a88)][_0x5331c5(0x11b)](_0x5d761d),_0x5d761d;}[_0x224db2(0x139)](_0x1985eb,_0x688a35){const _0x20161b={_0x284c5e:0x12e,_0x102f04:0xc1,_0xede1bd:0xc8,_0x163485:0x1a3,_0x4c9f0a:0x19e},_0xbabf27=_0x224db2,_0x4a49fc=this[_0xbabf27(0xea)][_0xbabf27(_0x20161b._0x284c5e)](_0x15badc=>!this[_0xbabf27(0x107)][_0xbabf27(0x159)](_0x15badc))[_0xbabf27(0x1a3)](_0x1c13ec=>_0x1c13ec[_0xbabf27(0x18f)]),_0x2beb5b=_0x688a35===void 0x0?_0xbabf27(0x149):_0xbabf27(_0x20161b._0x102f04)+_0x688a35['describe'](),_0x444464=_0x4a49fc[_0xbabf27(0x111)]>0x0?_0xbabf27(_0x20161b._0xede1bd)+_0x4a49fc[_0xbabf27(_0x20161b._0x163485)](_0x2caa30=>JSON['stringify'](_0x2caa30))['join'](',\x20'):'';return new TimeoutError(_0x2beb5b+_0xbabf27(_0x20161b._0x4c9f0a)+_0x1985eb+_0xbabf27(0x12b)+_0x444464,{'timeoutMs':_0x1985eb,'untaken':_0x4a49fc,..._0x688a35!==void 0x0?{'name':_0x688a35[_0xbabf27(0x1a0)]()}:{}});}},ServiceWorkerNeedsProfileError=class extends DriverError{static{__name(this,_0x224db2(0x185));}constructor(){super('no\x20extension\x20service\x20worker\x20here:\x20extensions\x20load\x20only\x20into\x20a\x20browser\x20started\x20with\x20a\x20profile\x20—\x20set\x20launch.userDataDir\x20(and\x20the\x20--load-extension\x20args)\x20in\x20unotest.config.\x20A\x20run\x20on\x20a\x20box\x20has\x20no\x20profile,\x20so\x20it\x20has\x20no\x20extensions\x20either.',{});}},ServiceWorkerWaitTimeoutError=class extends TimeoutError{static{__name(this,'ServiceWorkerWaitTimeoutError');}constructor(_0x2722da,_0x2b693e,_0x3eae15){const _0x4cce1b={_0xf56367:0xe0,_0x1f9a61:0x1a6,_0x5494ec:0x13e},_0x150e64=_0x224db2,_0x1efa86=_0x2b693e===void 0x0?'':_0x150e64(_0x4cce1b._0xf56367)+JSON['stringify'](_0x2b693e),_0x28d447=_0x3eae15[_0x150e64(0x111)]===0x0?'':'\x20Running:\x20'+_0x3eae15['join'](',\x20')+'.';super(_0x150e64(_0x4cce1b._0x1f9a61)+_0x1efa86+_0x150e64(_0x4cce1b._0x5494ec)+_0x2722da+'\x20ms.'+_0x28d447,{'timeoutMs':_0x2722da,'seen':_0x3eae15});}};function workerMatches(_0x538719,_0x5be30e){const _0x3ea957={_0x1bc455:0xfe},_0x1febce=_0x224db2;if(_0x5be30e===void 0x0)return!![];if(typeof _0x5be30e===_0x1febce(0x190))return _0x538719['includes'](_0x5be30e);return new RegExp(_0x5be30e[_0x1febce(0x146)],_0x5be30e['flags'])[_0x1febce(_0x3ea957._0x1bc455)](_0x538719);}__name(workerMatches,_0x224db2(0x100));function createRecorder(){const _0x1b7d87={_0x1e3d92:0x181},_0x3fa18c=_0x224db2,_0x16abbd=[];let _0x5743a7=0x0;return{'push':__name(_0x57c4f6=>_0x16abbd[_0x3fa18c(0xfc)]({..._0x57c4f6,'seq':_0x5743a7++}),_0x3fa18c(0xfc)),'calls':__name(()=>_0x16abbd,_0x3fa18c(_0x1b7d87._0x1e3d92))};}__name(createRecorder,_0x224db2(0x183));var FakePage=class{constructor(_0x78f573,_0x3d133d,_0x1406a3,_0x5b93e2){const _0x48d08d={_0x791967:0x102,_0x5a8846:0x147},_0x9c7b7c=_0x224db2;this[_0x9c7b7c(0x19b)]=_0x78f573,this[_0x9c7b7c(0x161)]=_0x3d133d,this[_0x9c7b7c(_0x48d08d._0x791967)]=_0x1406a3,this[_0x9c7b7c(_0x48d08d._0x5a8846)]=_0x5b93e2;}[_0x224db2(0x19b)];['behavior'];['scope'];static{__name(this,'FakePage');}['currentUrl'];[_0x224db2(0x128)];[_0x224db2(0xcd)](_0x130f3c,_0x35c4c5){const _0x226681={_0x1ea613:0x19b,_0x47fbba:0xfc},_0x73630b=_0x224db2;this[_0x73630b(_0x226681._0x1ea613)][_0x73630b(_0x226681._0x47fbba)]({'scope':this[_0x73630b(0x102)],'method':_0x130f3c,'args':_0x35c4c5});}['maybeThrow'](){const _0x2bd46b={_0x23ff7f:0x161,_0x1a0de6:0x151,_0x133216:0x151},_0x341c8a=_0x224db2;if(this[_0x341c8a(_0x2bd46b._0x23ff7f)][_0x341c8a(_0x2bd46b._0x1a0de6)]){const _0x5889c5=this[_0x341c8a(_0x2bd46b._0x23ff7f)][_0x341c8a(0x151)];this['behavior'][_0x341c8a(_0x2bd46b._0x133216)]=void 0x0;throw _0x5889c5;}}['url'](){return this['currentUrl'];}async[_0x224db2(0x1a7)](){const _0x1444ad={_0x39fc1f:0x1a7},_0x1bf383=_0x224db2;return this[_0x1bf383(0xcd)](_0x1bf383(_0x1444ad._0x39fc1f),[]),'fake\x20title';}async[_0x224db2(0xdb)](_0x168d73,_0x27c91e){const _0x5b4c86={_0x1cc4c1:0xdb},_0x35158a=_0x224db2;this[_0x35158a(0xcd)](_0x35158a(_0x5b4c86._0x1cc4c1),[_0x168d73,_0x27c91e]),this['maybeThrow'](),this[_0x35158a(0x128)]?.();}async['doubleClick'](_0x34d454,_0x57768f){const _0x329535={_0x372760:0xcd,_0x16b73c:0xdd},_0x146165=_0x224db2;this[_0x146165(_0x329535._0x372760)](_0x146165(_0x329535._0x16b73c),[_0x34d454,_0x57768f]),this['maybeThrow']();}async['fill'](_0x32438f,_0x2360bf,_0x264f8f){const _0x2c3de0={_0x28be3a:0xcd},_0x4f0a0e=_0x224db2;this[_0x4f0a0e(_0x2c3de0._0x28be3a)]('fill',[_0x32438f,_0x2360bf,_0x264f8f]),this[_0x4f0a0e(0x173)]();}async[_0x224db2(0x194)](_0x31ad1b,_0x288f96,_0x280610){const _0x412808={_0x457869:0xcd,_0x3d04e1:0x194,_0x5849e0:0x173},_0x314075=_0x224db2;this[_0x314075(_0x412808._0x457869)](_0x314075(_0x412808._0x3d04e1),[_0x31ad1b,_0x288f96,_0x280610]),this[_0x314075(_0x412808._0x5849e0)]();}async[_0x224db2(0x110)](_0x3e88a2,_0x133f32){const _0x38cf77=_0x224db2;this[_0x38cf77(0xcd)](_0x38cf77(0x110),[_0x3e88a2,_0x133f32]),this[_0x38cf77(0x173)]();}async[_0x224db2(0x16f)](_0x146a84,_0x4c5cbb){const _0x411000={_0x3da57f:0xcd,_0x35cdef:0x16f},_0x4ee61b=_0x224db2;this[_0x4ee61b(_0x411000._0x3da57f)](_0x4ee61b(_0x411000._0x35cdef),[_0x146a84,_0x4c5cbb]),this[_0x4ee61b(0x173)]();}async[_0x224db2(0x172)](_0x546af8,_0x4eea29,_0x1b7432){const _0xb22727={_0xa8136c:0xcd,_0x3c6cc9:0x173},_0x5ce45c=_0x224db2;this[_0x5ce45c(_0xb22727._0xa8136c)]('selectOption',[_0x546af8,_0x4eea29,_0x1b7432]),this[_0x5ce45c(_0xb22727._0x3c6cc9)]();}async[_0x224db2(0x184)](_0x95fb6a,_0x1dba85){const _0x2ef11e={_0x3257d0:0x184},_0x2bc922=_0x224db2;this[_0x2bc922(0xcd)](_0x2bc922(_0x2ef11e._0x3257d0),[_0x95fb6a,_0x1dba85]),this[_0x2bc922(0x173)]();}async[_0x224db2(0x165)](_0x20a15e){const _0xde8835=_0x224db2;this[_0xde8835(0xcd)](_0xde8835(0x165),[_0x20a15e]),this['maybeThrow']();}async[_0x224db2(0x131)](_0x242978,_0x12e150,_0x59aa95){const _0x431e0e=_0x224db2;this[_0x431e0e(0xcd)]('dragAndDrop',[_0x242978,_0x12e150,_0x59aa95]),this[_0x431e0e(0x173)]();}async[_0x224db2(0xfa)](_0x44bdf1,_0x3be87a){const _0x26942c={_0x57dd62:0xcd,_0x3230dc:0xfa},_0x1ee73c=_0x224db2;this[_0x1ee73c(_0x26942c._0x57dd62)](_0x1ee73c(_0x26942c._0x3230dc),[_0x44bdf1,_0x3be87a]),this[_0x1ee73c(0x173)]();}async[_0x224db2(0x19f)](_0x155fbe,_0x13181e){const _0xfa4678={_0x30b497:0x173},_0x5bee72=_0x224db2;this[_0x5bee72(0xcd)](_0x5bee72(0x19f),[_0x155fbe,_0x13181e]),this[_0x5bee72(_0xfa4678._0x30b497)]();}async['count'](_0x335fda){const _0x34f70a={_0x39de36:0x132},_0x5a8842=_0x224db2;return this[_0x5a8842(0xcd)](_0x5a8842(_0x34f70a._0x39de36),[_0x335fda]),this['behavior'][_0x5a8842(0x12f)]??0x1;}async[_0x224db2(0x17b)](_0x2141db){const _0x37bd9f={_0x2497f0:0x161},_0x115db5=_0x224db2;return this[_0x115db5(0xcd)]('textContent',[_0x2141db]),this[_0x115db5(_0x37bd9f._0x2497f0)][_0x115db5(0x130)]??'';}async[_0x224db2(0x10a)](_0xcbe08){const _0x1e7ea1={_0x419630:0x10a},_0x220e66=_0x224db2;return this[_0x220e66(0xcd)](_0x220e66(_0x1e7ea1._0x419630),[_0xcbe08]),this[_0x220e66(0x161)]['innerTextByDefault']??this['behavior']['textContentByDefault']??'';}async[_0x224db2(0x11f)](_0x5e0129){const _0x5ce161={_0x34b1b4:0xcd,_0x2f7a28:0x161,_0x4e2769:0x10c},_0x261faf=_0x224db2;return this[_0x261faf(_0x5ce161._0x34b1b4)](_0x261faf(0x11f),[_0x5e0129]),this[_0x261faf(_0x5ce161._0x2f7a28)][_0x261faf(_0x5ce161._0x4e2769)]??'';}async[_0x224db2(0x157)](_0xb3ba41){const _0x4fbece={_0xe22d7a:0x157},_0x2b4897=_0x224db2;return this['record'](_0x2b4897(_0x4fbece._0xe22d7a),[_0xb3ba41]),this['behavior']['checkedStateByDefault']??null;}async[_0x224db2(0xd9)](_0x198454){const _0x2876bd={_0x2f25c5:0xd3},_0x7b074f=_0x224db2;return this[_0x7b074f(0xcd)]('isVisible',[_0x198454]),this[_0x7b074f(0x161)][_0x7b074f(_0x2876bd._0x2f25c5)]??!![];}async[_0x224db2(0x105)](_0x256900){const _0x4d31f3={_0x320f01:0x18e,_0x50cf37:0x161},_0x55b40a=_0x224db2;return this['record'](_0x55b40a(0x105),[_0x256900]),this[_0x55b40a(0x161)][_0x55b40a(_0x4d31f3._0x320f01)]===void 0x0?{'x':0x0,'y':0x0,'width':0x64,'height':0x14}:this[_0x55b40a(_0x4d31f3._0x50cf37)][_0x55b40a(0x18e)];}async[_0x224db2(0xf3)](_0x198f1c){const _0x402b7b={_0x498978:0x161,_0xa0aded:0x12c},_0x2a6ccd=_0x224db2;return this['record'](_0x2a6ccd(0xf3),[_0x198f1c]),this[_0x2a6ccd(_0x402b7b._0x498978)][_0x2a6ccd(_0x402b7b._0xa0aded)]??![];}async[_0x224db2(0x134)](_0x503108,_0x5963b5){const _0x2a55a2={_0x396e07:0x109},_0x3362db=_0x224db2;return this[_0x3362db(0xcd)](_0x3362db(0x134),[_0x503108,_0x5963b5]),this[_0x3362db(0x161)][_0x3362db(_0x2a55a2._0x396e07)]?.[_0x5963b5]??null;}async[_0x224db2(0x16c)](_0x2835b9,_0x59eacf){const _0x2eba3e=_0x224db2;this[_0x2eba3e(0xcd)]('waitFor',[_0x2835b9,_0x59eacf]);}async[_0x224db2(0xc2)](_0x4d588d,_0x56f1d4){const _0xce5dec=_0x224db2;this['record'](_0xce5dec(0xc2),[_0x4d588d,_0x56f1d4]);}async[_0x224db2(0xc7)](_0x4861d1,_0x1c5f5e){const _0x38de04={_0x2ee78d:0xcd,_0x406c74:0xc7},_0x1b369a=_0x224db2;this[_0x1b369a(_0x38de04._0x2ee78d)](_0x1b369a(_0x38de04._0x406c74),[_0x4861d1,_0x1c5f5e]);}async[_0x224db2(0x169)](_0x360bfd){const _0x4135e4={_0x372462:0xcd,_0x2700f5:0x169},_0xc0d794=_0x224db2;this[_0xc0d794(_0x4135e4._0x372462)](_0xc0d794(_0x4135e4._0x2700f5),[_0x360bfd]);}async[_0x224db2(0x13c)](_0x34214d,_0xd39b36){const _0x19a6f1={_0x39b15a:0x13c},_0x405276=_0x224db2;this[_0x405276(0xcd)](_0x405276(_0x19a6f1._0x39b15a),[_0x34214d,_0xd39b36]);}async[_0x224db2(0xc3)](_0x2053a4,_0x4f39b1){const _0x4d6789={_0x1ecd6e:0xc3},_0x3b0550=_0x224db2;this[_0x3b0550(0xcd)](_0x3b0550(_0x4d6789._0x1ecd6e),[_0x2053a4,_0x4f39b1]),this[_0x3b0550(0x147)]=_0x2053a4;}async['reload'](_0x203c22){const _0x23d507=_0x224db2;this[_0x23d507(0xcd)](_0x23d507(0xf9),[_0x203c22]);}async['goBack'](_0x236a84){const _0x299aae={_0x10c85b:0xcd},_0x25455f=_0x224db2;this[_0x25455f(_0x299aae._0x10c85b)]('goBack',[_0x236a84]);}async[_0x224db2(0xcb)](_0x268a6c){const _0x17ff42=_0x224db2;this[_0x17ff42(0xcd)](_0x17ff42(0xcb),[_0x268a6c]);}async[_0x224db2(0x138)](_0x60563b){const _0x3ab8f1={_0xb4aa3c:0xcd,_0x72db5b:0x138,_0x569983:0x14d},_0x3ca3d6=_0x224db2;return this[_0x3ca3d6(_0x3ab8f1._0xb4aa3c)](_0x3ca3d6(_0x3ab8f1._0x72db5b),[_0x60563b]),this[_0x3ca3d6(0x161)][_0x3ca3d6(_0x3ab8f1._0x569983)];}async[_0x224db2(0x135)](_0x5767ef,_0x212b63,_0x15f415){const _0x5789a2={_0x3dfd69:0xcd},_0x3c2687=_0x224db2;return this[_0x3c2687(_0x5789a2._0x3dfd69)]('evaluateOnLocator',[_0x5767ef,_0x212b63,_0x15f415]),this[_0x3c2687(0x161)][_0x3c2687(0x14d)];}async[_0x224db2(0x11a)](_0x66ac67){const _0x519688={_0x45a0db:0x11a,_0x1bb8a0:0x111,_0x27c790:0x145,_0x52e49e:0x161},_0x41752c=_0x224db2;this['record'](_0x41752c(_0x519688._0x45a0db),[_0x66ac67]);if(_0x66ac67[_0x41752c(0xf0)][_0x41752c(_0x519688._0x1bb8a0)]!==0x1||_0x66ac67[_0x41752c(0xf0)][0x0][_0x41752c(0x116)]!=='ref')return null;const _0x8fa1b=_0x66ac67[_0x41752c(0xf0)][0x0][_0x41752c(_0x519688._0x27c790)],_0x365511=this[_0x41752c(_0x519688._0x52e49e)][_0x41752c(0x192)]?.[_0x8fa1b];return _0x365511??null;}async['screenshot'](_0x5cb397){const _0x2964e1={_0x3e2364:0xcd,_0x2e393d:0x180},_0x36bd01=_0x224db2;return this[_0x36bd01(_0x2964e1._0x3e2364)]('screenshot',[_0x5cb397]),this[_0x36bd01(_0x2964e1._0x2e393d)](_0x5cb397?.[_0x36bd01(0x141)]);}async[_0x224db2(0xd8)](_0x516ff4,_0x30688c){const _0x1fa4b5={_0x51dc48:0xcd},_0x39f8e9=_0x224db2;return this[_0x39f8e9(_0x1fa4b5._0x51dc48)]('screenshotElement',[_0x516ff4,_0x30688c]),this[_0x39f8e9(0x180)](_0x30688c?.[_0x39f8e9(0x141)]);}async[_0x224db2(0x12a)](_0x1a7017,_0x2966c5){const _0x57e041={_0x3a790b:0x12a,_0x3ab5fe:0x161,_0x3b6c6c:0x161},_0x2ee93c=_0x224db2;return this[_0x2ee93c(0xcd)](_0x2ee93c(_0x57e041._0x3a790b),[_0x1a7017,_0x2966c5]),this[_0x2ee93c(_0x57e041._0x3ab5fe)]['captureBoxes']?this[_0x2ee93c(_0x57e041._0x3b6c6c)]['captureBoxes'](_0x1a7017,_0x2966c5):[];}[_0x224db2(0x180)](_0x5cf3b5){const _0x155a58={_0x281f02:0x120,_0x1e4d39:0xfd},_0x53193f=_0x224db2,_0x20e6e9=this['behavior'][_0x53193f(0x180)];if(_0x20e6e9===void 0x0)return Buffer[_0x53193f(0x19d)](_0x53193f(_0x155a58._0x281f02));return typeof _0x20e6e9===_0x53193f(_0x155a58._0x1e4d39)?_0x20e6e9(_0x5cf3b5):_0x20e6e9;}async[_0x224db2(0xec)](_0x308d7c){const _0x2f9c90={_0x1174f4:0xcd,_0x9fb23b:0x161},_0x51ce88=_0x224db2;this[_0x51ce88(_0x2f9c90._0x1174f4)]('outerHTML',[_0x308d7c]);if(_0x308d7c['steps'][_0x51ce88(0x111)]===0x1&&_0x308d7c['steps'][0x0][_0x51ce88(0x116)]===_0x51ce88(0x145)){const _0x30aef4=_0x308d7c['steps'][0x0]['ref'];return this[_0x51ce88(_0x2f9c90._0x9fb23b)][_0x51ce88(0xde)]?.[_0x30aef4]??_0x51ce88(0x144)+_0x30aef4+_0x51ce88(0x121);}return'<div></div>';}},FakeContext=class{constructor(_0x52e26e,_0x484589,_0x345f07,_0x3da8cd=![]){const _0x3d95b4={_0x29f201:0x102,_0x12213d:0x188,_0x3850ea:0x153,_0x328403:0x19a,_0x2be613:0x187,_0x4b512c:0x10e,_0x5385fb:0x148,_0xa13106:0x17d},_0x335379={_0x3c8fef:0x14e},_0x36bc47=_0x224db2;this['recorder']=_0x52e26e,this['behavior']=_0x484589,this[_0x36bc47(_0x3d95b4._0x29f201)]=_0x345f07,this[_0x36bc47(_0x3d95b4._0x12213d)]=_0x3da8cd,this[_0x36bc47(0x176)]=![];const _0x2db733=new FakePage(_0x52e26e,_0x484589,_0x345f07+_0x36bc47(0xc9),_0x484589[_0x36bc47(_0x3d95b4._0x3850ea)]??_0x36bc47(0xdc));_0x484589[_0x36bc47(0xd1)]&&(_0x2db733['onAfterClick']=()=>{const _0x395cec=_0x36bc47;this[_0x395cec(_0x335379._0x3c8fef)](_0x484589[_0x395cec(0xd1)]);}),this[_0x36bc47(_0x3d95b4._0x328403)]=[_0x2db733],this[_0x36bc47(_0x3d95b4._0x2be613)]['add'](_0x2db733),this[_0x36bc47(_0x3d95b4._0x4b512c)]=[..._0x484589[_0x36bc47(0x117)]??[]],this[_0x36bc47(_0x3d95b4._0x5385fb)]={..._0x484589['localStorage']??{}},this['cookieState']={..._0x484589[_0x36bc47(_0x3d95b4._0xa13106)]??{}};}[_0x224db2(0x19b)];[_0x224db2(0x161)];[_0x224db2(0x102)];[_0x224db2(0x188)];static{__name(this,_0x224db2(0xf6));}[_0x224db2(0x176)];[_0x224db2(0x19a)];[_0x224db2(0x160)]=0x0;[_0x224db2(0x187)]=new WeakSet();[_0x224db2(0xe6)]=new PageHistory();['frameStack']=[];[_0x224db2(0x148)];[_0x224db2(0x175)];['newPageListeners']=new Set();[_0x224db2(0x19c)]=new RouteJournal();[_0x224db2(0xbe)]=new DownloadQueue(async()=>{});[_0x224db2(0x10e)];[_0x224db2(0x115)]=new Set();['record'](_0x30fcb5,_0x5851fe){const _0x4edc07={_0x29b646:0x102},_0x28a5db=_0x224db2;this['recorder'][_0x28a5db(0xfc)]({'scope':this[_0x28a5db(_0x4edc07._0x29b646)],'method':_0x30fcb5,'args':_0x5851fe});}['pages'](){const _0x2aca59=_0x224db2;return this[_0x2aca59(0x19a)];}[_0x224db2(0x14a)](){const _0x3711bb={_0x2b1c39:0x160},_0x583da5=_0x224db2,_0x71123a=this['pageList'][this[_0x583da5(_0x3711bb._0x2b1c39)]];if(!_0x71123a)throw new DriverError(_0x583da5(0x17a),{'activeIdx':this[_0x583da5(_0x3711bb._0x2b1c39)]});return _0x71123a;}[_0x224db2(0xf5)](){const _0x1011e9={_0x1ce6d1:0x161,_0x3e6a47:0xf5},_0x266e81=_0x224db2;return this[_0x266e81(_0x1011e9._0x1ce6d1)][_0x266e81(_0x1011e9._0x3e6a47)]??[];}[_0x224db2(0x10f)](_0x5aed70={}){const _0x27243d={_0x3189d1:0x10f,_0x274793:0xbe},_0x1fd47a=_0x224db2;return this['record'](_0x1fd47a(_0x27243d._0x3189d1),[_0x5aed70['timeoutMs']]),this[_0x1fd47a(_0x27243d._0x274793)]['take'](_0x5aed70[_0x1fd47a(0x17c)]??0x0,_0x5aed70['name']);}[_0x224db2(0xc0)](_0x516582,_0x573632){const _0x28e6e6=_0x224db2;this[_0x28e6e6(0xbe)][_0x28e6e6(0xfc)]({'name':_0x516582,'saveAs':__name(_0x9552b9=>writeFile(_0x9552b9,_0x573632),_0x28e6e6(0x168))});}[_0x224db2(0xc6)](){const _0x35a4c2=_0x224db2;return this['behavior'][_0x35a4c2(0xc6)]??[];}async[_0x224db2(0xd0)](_0xefc90,_0x282424){const _0x268b77={_0x4a978c:0xcd,_0x32b291:0xf1,_0x2276a3:0x19a,_0x5e084b:0x129,_0x4946cd:0x160,_0x576a94:0x19a},_0x59df91=_0x224db2;this[_0x59df91(_0x268b77._0x4a978c)]('setActivePage',[_0xefc90,_0x282424]);if(_0xefc90<0x0||_0xefc90>=this['pageList'][_0x59df91(0x111)])throw new DriverError(_0x59df91(_0x268b77._0x32b291),{'index':_0xefc90,'available':this[_0x59df91(_0x268b77._0x2276a3)]['length']});this[_0x59df91(0xe6)][_0x59df91(_0x268b77._0x5e084b)](this[_0x59df91(0x19a)],this['activeIdx'],this['pageList'][_0xefc90]),this[_0x59df91(_0x268b77._0x4946cd)]=_0xefc90,this[_0x59df91(0x179)][_0x59df91(0x111)]=0x0,this['handedPages'][_0x59df91(0x11b)](this[_0x59df91(_0x268b77._0x576a94)][_0xefc90]);if(_0x282424?.['activate']!==![])this[_0x59df91(0xcd)](_0x59df91(0x124),[_0xefc90]);}async['bringToFront'](_0x3641b7){const _0x20081b={_0x1e9fee:0x160,_0x1df71b:0xcd},_0x9637bb=_0x224db2,_0x12108f=_0x3641b7??this[_0x9637bb(_0x20081b._0x1e9fee)];if(_0x12108f<0x0||_0x12108f>=this[_0x9637bb(0x19a)][_0x9637bb(0x111)])throw new DriverError(_0x9637bb(0xf1),{'index':_0x12108f,'available':this[_0x9637bb(0x19a)][_0x9637bb(0x111)]});this[_0x9637bb(_0x20081b._0x1df71b)](_0x9637bb(0x124),[_0x12108f]);}async[_0x224db2(0xeb)](){const _0x29e7c0={_0x5d21f4:0xcd,_0x9d0d36:0xdc},_0x3c0107=_0x224db2;this[_0x3c0107(_0x29e7c0._0x5d21f4)]('newPage',[]);const _0x2613a8=this[_0x3c0107(0x14e)](_0x3c0107(_0x29e7c0._0x9d0d36));return await this[_0x3c0107(0xd0)](_0x2613a8),_0x2613a8;}async[_0x224db2(0x123)](_0x227f1e){const _0x195f11={_0x25a806:0x160,_0x572519:0x19a,_0x7aad16:0x111},_0x359cc=_0x224db2;this['record'](_0x359cc(0x123),[_0x227f1e]);const {closing:_0x4d0834,nextActive:_0x199625}=this['history'][_0x359cc(0xbf)](this['pageList'],this[_0x359cc(0x160)],_0x227f1e??this[_0x359cc(_0x195f11._0x25a806)]),_0x1198cd=_0x4d0834===this[_0x359cc(0x19a)][this['activeIdx']];this[_0x359cc(0x19a)]['splice'](this[_0x359cc(_0x195f11._0x572519)]['indexOf'](_0x4d0834),0x1),this[_0x359cc(0x160)]=_0x199625;if(!_0x1198cd)return;this['frameStack'][_0x359cc(_0x195f11._0x7aad16)]=0x0,this['record'](_0x359cc(0x124),[_0x199625]);}[_0x224db2(0x14f)](_0x2291ab){const _0xb5ce7a=_0x224db2;return subscribe(this[_0xb5ce7a(0x112)],_0x2291ab);}async[_0x224db2(0x143)](_0xe5aca0={}){const _0x23ea88={_0x4501fd:0xcd,_0x2c1b37:0x187},_0xaa6561=_0x224db2;return this[_0xaa6561(_0x23ea88._0x4501fd)]('waitForNewPage',[_0xe5aca0]),claimNewPage(this[_0xaa6561(0x19a)],this[_0xaa6561(_0x23ea88._0x2c1b37)],_0xe5aca0['timeoutMs']??0x0);}async[_0x224db2(0x158)](_0x1591e5){this['record']('setViewport',[_0x1591e5]);}async[_0x224db2(0x197)](){const _0x38f9cb=_0x224db2;return this[_0x38f9cb(0x102)];}[_0x224db2(0x1a5)](){const _0x4f8dbe={_0x3cb71f:0xcd,_0x2fc8ee:0xe5},_0x22a1b2=_0x224db2;if(!this['hasClock'])return NO_CLOCK;return{'freeze':__name(async _0x2ca6e3=>{const _0x3d6c7c=_0x4ba6;this[_0x3d6c7c(_0x4f8dbe._0x3cb71f)](_0x3d6c7c(_0x4f8dbe._0x2fc8ee),[_0x2ca6e3]),this[_0x3d6c7c(0x176)]=!![];},'freeze'),'tick':__name(async _0xa0cfc5=>this[_0x22a1b2(0xcd)]('clock.tick',[_0xa0cfc5]),'tick'),'run':__name(async()=>{this['record']('clock.run',[]),this['clockFrozen']=![];},_0x22a1b2(0x13f)),'frozen':__name(()=>this[_0x22a1b2(0x176)],'frozen')};}[_0x224db2(0xf8)](){const _0x5e824f={_0x49be44:0x18a,_0x31a15e:0xee},_0x4fdba8={_0x27d3eb:0x19c,_0x32c4b2:0x195,_0x551e66:0x17c},_0x2be967={_0x1ff5c5:0x1a4,_0x216aaf:0x12d},_0x3da4d6={_0x345ce4:0x140,_0x1488bd:0x19c,_0x3a59ba:0xcf},_0x5982a3=_0x224db2;return{'mock':__name(async(_0xa8df1a,_0x118031)=>{const _0x2ccf42=_0x4ba6;this['record'](_0x2ccf42(_0x3da4d6._0x345ce4),[_0xa8df1a,_0x118031]),this[_0x2ccf42(_0x3da4d6._0x1488bd)][_0x2ccf42(_0x3da4d6._0x3a59ba)](_0xa8df1a,_0x118031);},'mock'),'unmock':__name(async _0x191db3=>{const _0x18be46=_0x4ba6;this[_0x18be46(0xcd)](_0x18be46(_0x2be967._0x1ff5c5),[_0x191db3]),this[_0x18be46(0x19c)][_0x18be46(_0x2be967._0x216aaf)](_0x191db3);},_0x5982a3(_0x5e824f._0x49be44)),'waitForRequest':__name((_0x57bd9f,_0x4c3842)=>{const _0x3a6f23=_0x5982a3;return this[_0x3a6f23(0xcd)](_0x3a6f23(0x15f),[_0x57bd9f,_0x4c3842]),this[_0x3a6f23(_0x4fdba8._0x27d3eb)][_0x3a6f23(_0x4fdba8._0x32c4b2)](_0x57bd9f,_0x4c3842[_0x3a6f23(_0x4fdba8._0x551e66)]);},_0x5982a3(_0x5e824f._0x31a15e)),'blocked':__name(_0x3c7150=>this['routes'][_0x5982a3(0x137)](_0x3c7150),'blocked')};}async['waitForServiceWorker'](_0x38a059){const _0x2be34f={_0xa8181:0x154,_0x78a992:0x10e,_0x31c7d9:0xca,_0xaaa90e:0x161,_0x2e8457:0x13a},_0x480d92={_0xc59b20:0x115,_0x4c2f21:0x11b},_0x388610=_0x224db2;this[_0x388610(0xcd)](_0x388610(_0x2be34f._0xa8181),[_0x38a059]);const _0x568417=this[_0x388610(_0x2be34f._0x78a992)][_0x388610(0x15d)](_0x1544d0=>workerMatches(_0x1544d0,_0x38a059?.[_0x388610(0x104)]));if(_0x568417!==void 0x0)return this[_0x388610(_0x2be34f._0x31c7d9)](_0x568417);if(!this[_0x388610(_0x2be34f._0xaaa90e)][_0x388610(_0x2be34f._0x2e8457)])throw new ServiceWorkerNeedsProfileError();const _0x3e4d08=_0x38a059?.['timeoutMs']??0x3e8,_0x528760=await new Promise((_0x5beae5,_0x90731e)=>{const _0xbfbd7f={_0x2a43f5:0x115},_0x3ee6e2=_0x388610,_0x2be2c2=__name(_0x4ccf88=>{const _0x6c3866=_0x4ba6;if(!workerMatches(_0x4ccf88,_0x38a059?.[_0x6c3866(0x104)]))return;clearTimeout(_0x304d60),this[_0x6c3866(_0xbfbd7f._0x2a43f5)]['delete'](_0x2be2c2),_0x5beae5(_0x4ccf88);},'onStart'),_0x304d60=setTimeout(()=>{const _0x4ed0c2=_0x4ba6;this['workerStarted']['delete'](_0x2be2c2),_0x90731e(new ServiceWorkerWaitTimeoutError(_0x3e4d08,_0x38a059?.['url'],this[_0x4ed0c2(0x10e)]));},_0x3e4d08);this[_0x3ee6e2(_0x480d92._0xc59b20)][_0x3ee6e2(_0x480d92._0x4c2f21)](_0x2be2c2);});return this[_0x388610(_0x2be34f._0x31c7d9)](_0x528760);}['fakeWorker'](_0x58cd5d){return{'url':__name(()=>_0x58cd5d,'url'),'evaluate':__name(async(_0x32da54,_0x2d16b2)=>{const _0x503e6d=_0x4ba6;return this[_0x503e6d(0xcd)](_0x503e6d(0x18b),[_0x58cd5d,_0x32da54,_0x2d16b2]),this[_0x503e6d(0x161)][_0x503e6d(0x14d)];},'evaluate')};}[_0x224db2(0x18d)](_0x16b4d4){const _0xa994e1={_0x24b933:0xfc,_0x42135f:0x115},_0x287897=_0x224db2;this[_0x287897(0x10e)][_0x287897(_0xa994e1._0x24b933)](_0x16b4d4);for(const _0x56efe4 of[...this[_0x287897(_0xa994e1._0x42135f)]])_0x56efe4(_0x16b4d4);}[_0x224db2(0x16d)](_0x494e73,_0xf3446f){const _0x530ad0={_0xa6619b:0x19c},_0x4565af=_0x224db2,_0x8aed25=this[_0x4565af(0x19c)]['response'](_0x494e73);if(_0x8aed25?.['kind']==='abort'&&_0x8aed25['record'])this[_0x4565af(0x19c)][_0x4565af(0x14b)](_0x494e73,_0xf3446f);this[_0x4565af(_0x530ad0._0xa6619b)][_0x4565af(0xdf)](_0x494e73,_0xf3446f);}[_0x224db2(0x14e)](_0x4adfb1){const _0x2da3e6={_0x47e75e:0x111,_0x3245a0:0x161,_0x11935d:0x19a,_0x3063a8:0x112},_0x547947=_0x224db2,_0x40b081=this[_0x547947(0x102)]+_0x547947(0x177)+this['pageList'][_0x547947(_0x2da3e6._0x47e75e)],_0xd1b59d=new FakePage(this['recorder'],this[_0x547947(_0x2da3e6._0x3245a0)],_0x40b081,_0x4adfb1);this['pageList'][_0x547947(0xfc)](_0xd1b59d);const _0x13fd43=this[_0x547947(_0x2da3e6._0x11935d)][_0x547947(0x111)]-0x1;for(const _0x1fdefd of this[_0x547947(_0x2da3e6._0x3063a8)]){try{_0x1fdefd({'index':_0x13fd43,'url':_0x4adfb1});}catch{}}return _0x13fd43;}[_0x224db2(0x126)](_0x178917){const _0x2ed693=_0x224db2;if(_0x178917<0x0||_0x178917>=this[_0x2ed693(0x19a)]['length'])throw new DriverError(_0x2ed693(0xf1),{'index':_0x178917,'available':this['pageList']['length']});this[_0x2ed693(0x19a)]['splice'](_0x178917,0x1);}async[_0x224db2(0x1a1)](_0x3ef350){const _0x89bd04={_0x2007f9:0xcd,_0x334202:0x111,_0x24a58b:0xe2},_0x382aa5=_0x224db2;this[_0x382aa5(_0x89bd04._0x2007f9)](_0x382aa5(0x1a1),[_0x3ef350]);if(!_0x3ef350[_0x382aa5(0xf0)][_0x382aa5(_0x89bd04._0x334202)])throw new LocatorError(_0x382aa5(_0x89bd04._0x24a58b),{'locator':_0x3ef350});this[_0x382aa5(0x179)][_0x382aa5(0xfc)](_0x3ef350);}async[_0x224db2(0x167)](){const _0xfe4fed={_0xde351c:0x167,_0x25e85b:0x179,_0x1c454b:0x179,_0x2b2774:0x142},_0x5e20c1=_0x224db2;this['record'](_0x5e20c1(_0xfe4fed._0xde351c),[]);if(this[_0x5e20c1(_0xfe4fed._0x25e85b)]['length']===0x0)throw new DriverError(_0x5e20c1(0x16e),{});this[_0x5e20c1(_0xfe4fed._0x1c454b)][_0x5e20c1(_0xfe4fed._0x2b2774)]();}async[_0x224db2(0xc5)](_0x3d5b51,_0x348595){const _0x33454d=_0x224db2;this['record'](_0x33454d(0xc5),[_0x3d5b51,_0x348595]),this['localStorageState'][_0x3d5b51]=_0x348595;}async[_0x224db2(0xfb)](_0x366edf){const _0x1d87b7={_0x163ad9:0xfb,_0x5f1c95:0x148},_0x1d91c5=_0x224db2;return this['record'](_0x1d91c5(_0x1d87b7._0x163ad9),[_0x366edf]),this[_0x1d91c5(_0x1d87b7._0x5f1c95)][_0x366edf]??null;}async[_0x224db2(0xe7)](_0x418fc4,_0x197029,_0x3979c8){const _0x1adab9={_0x17b91f:0xcd,_0x1049a3:0xe7},_0x759ae=_0x224db2;this[_0x759ae(_0x1adab9._0x17b91f)](_0x759ae(_0x1adab9._0x1049a3),[_0x418fc4,_0x197029,_0x3979c8]),this['cookieState'][_0x418fc4]=_0x197029;}async[_0x224db2(0xd6)](_0x1466bc){const _0x14a7ab=_0x224db2;return this['record'](_0x14a7ab(0xd6),[_0x1466bc]),this[_0x14a7ab(0x175)][_0x1466bc]??null;}async[_0x224db2(0xe4)](_0x5ceedb){const _0x24223c=_0x224db2;this['record'](_0x24223c(0xe4),[_0x5ceedb]);}async[_0x224db2(0x138)](_0x30a57b){const _0x4493fb=_0x224db2;return this[_0x4493fb(0xcd)](_0x4493fb(0x138),[_0x30a57b]),void 0x0;}async[_0x224db2(0xff)](){const _0xc33ea3=_0x224db2;this[_0xc33ea3(0xcd)](_0xc33ea3(0xff),[]);}[_0x224db2(0x191)](){const _0x36b1a3=_0x224db2;return this[_0x36b1a3(0x179)][_0x36b1a3(0x111)];}},FakeWebDriver=class{constructor(_0x3c420c={}){const _0x4cda8e={_0x2c4ab3:0x161},_0x31f07c=_0x224db2;this[_0x31f07c(_0x4cda8e._0x2c4ab3)]=_0x3c420c,this['recorder']=createRecorder();}[_0x224db2(0x161)];static{__name(this,_0x224db2(0x166));}[_0x224db2(0x186)]=![];[_0x224db2(0x19b)];[_0x224db2(0x16a)]=[];async[_0x224db2(0x182)](_0x3878a1){const _0xd921ad={_0x5166b5:0x19b,_0x2eb3ee:0xfc,_0x56a537:0xf4,_0xa1196:0x186},_0x27ab41=_0x224db2;this[_0x27ab41(_0xd921ad._0x5166b5)][_0x27ab41(_0xd921ad._0x2eb3ee)]({'scope':_0x27ab41(_0xd921ad._0x56a537),'method':_0x27ab41(0x182),'args':[_0x3878a1]}),this[_0x27ab41(_0xd921ad._0xa1196)]=!![];}async[_0x224db2(0xda)](_0x392f02){const _0x44c2c3={_0x4a09a7:0x19b,_0xab8ccb:0xfc,_0x1f9600:0xf4,_0x15a2b3:0xda,_0x54ebb6:0x19b,_0x3e66c5:0x161,_0x26a76a:0x16a,_0x4ef416:0x1a5},_0x410eba=_0x224db2;this[_0x410eba(_0x44c2c3._0x4a09a7)][_0x410eba(_0x44c2c3._0xab8ccb)]({'scope':_0x410eba(_0x44c2c3._0x1f9600),'method':_0x410eba(_0x44c2c3._0x15a2b3),'args':[_0x392f02]});if(!this[_0x410eba(0x186)])throw new DriverError('newContext\x20called\x20before\x20launch()',{});const _0xc018d=new FakeContext(this[_0x410eba(_0x44c2c3._0x54ebb6)],this[_0x410eba(_0x44c2c3._0x3e66c5)],_0x410eba(0x150)+this[_0x410eba(_0x44c2c3._0x26a76a)]['length'],_0x392f02?.[_0x410eba(_0x44c2c3._0x4ef416)]===!![]);return this[_0x410eba(0x16a)][_0x410eba(_0x44c2c3._0xab8ccb)](_0xc018d),_0xc018d;}async[_0x224db2(0xff)](){const _0x934758={_0x583cd8:0x19b,_0x27b2f5:0xfc,_0x2a8997:0xf4},_0x5e0089=_0x224db2;this[_0x5e0089(_0x934758._0x583cd8)][_0x5e0089(_0x934758._0x27b2f5)]({'scope':_0x5e0089(_0x934758._0x2a8997),'method':'close','args':[]}),this[_0x5e0089(0x186)]=![];}['wsEndpoint'](){return void 0x0;}async[_0x224db2(0xf2)](){const _0xe5573f={_0x1da49f:0x136},_0x156cf2=_0x224db2;throw new DriverError(_0x156cf2(_0xe5573f._0x1da49f),{});}async['attachExisting'](_0x7c0114){const _0x1c37bf={_0x1e04a6:0x171},_0x47c6c8=_0x224db2;throw new DriverError(_0x47c6c8(_0x1c37bf._0x1e04a6),{});}[_0x224db2(0x181)](){const _0x3fc12b=_0x224db2;return this[_0x3fc12b(0x19b)][_0x3fc12b(0x181)]();}['callsFor'](_0x493a38){const _0x4d1e31=_0x224db2;return this['recorder'][_0x4d1e31(0x181)]()[_0x4d1e31(0x12e)](_0x10ee1e=>_0x10ee1e[_0x4d1e31(0x103)]===_0x493a38);}};export{FakeWebDriver};
@@ -1,5 +1,5 @@
1
- import { L as LocatorValue, D as DriverContext, W as WebDriver, h as DriverPage } from '../interfaces-DEmGI704.js';
2
- export { n as LocatorStep, o as appendStep, p as describeLocator, q as isLocatorValue, r as rootedAt } from '../interfaces-DEmGI704.js';
1
+ import { L as LocatorValue, n as DriverDownload, D as DriverContext, W as WebDriver, h as DriverPage } from '../interfaces-OvnJKELk.js';
2
+ export { o as LocatorStep, p as appendStep, q as describeLocator, r as isLocatorValue, s as rootedAt } from '../interfaces-OvnJKELk.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';
@@ -303,6 +303,19 @@ interface ScreenshotSink {
303
303
  save(name: string, bytes: Buffer, format: FrameFormat): Promise<string>;
304
304
  }
305
305
 
306
+ interface SavedDownload {
307
+ /** Absolute path of the saved file. */
308
+ path: string;
309
+ /** Size in bytes. */
310
+ bytes: number;
311
+ }
312
+ interface DownloadSink {
313
+ /** The directory saved files land in. A scenario may read them back
314
+ * from here by the absolute path `save` reported (readFile). */
315
+ readonly dir: string;
316
+ save(download: DriverDownload): Promise<SavedDownload>;
317
+ }
318
+
306
319
  type ContextFactory = () => Promise<DriverContext>;
307
320
  /** A context that did not close — reported, never swallowed. */
308
321
  interface ContextCloseFailure {
@@ -376,6 +389,10 @@ interface TestRuntimeServices {
376
389
  * to the run dir; absent in ad-hoc / explore runtimes (the DSL
377
390
  * function then logs and skips). */
378
391
  readonly screenshots?: ScreenshotSink;
392
+ /** Where `waitForDownload()` saves files. Wired by the CLI runner to the
393
+ * run dir (and journal); absent → the user cache, so explore and bare
394
+ * runtimes still hand the scenario a readable path. */
395
+ readonly downloads?: DownloadSink;
379
396
  /** LLM-judge behind `assertJudge`. Wired from the composition root
380
397
  * (UNOTEST_JUDGE_MODE); absent in bare test runtimes — the DSL
381
398
  * function then fails with the NullJudge-style setup message. */
@@ -402,6 +419,7 @@ declare class TestRuntime {
402
419
  readonly sandbox: SandboxConfig;
403
420
  readonly baseUrl?: string;
404
421
  readonly screenshots?: ScreenshotSink;
422
+ readonly downloads: DownloadSink;
405
423
  readonly judge?: Judge;
406
424
  readonly judgeVerdicts?: JudgeVerdictSink;
407
425
  readonly annotations?: AnnotationSink;