@unotest/web 0.52.1 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +205 -4
- package/README.md +28 -13
- package/dist/config/schema.d.ts +15 -12
- package/dist/config/schema.js +1 -1
- package/dist/driver/index.d.ts +7 -2
- package/dist/driver/index.js +1 -1
- package/dist/dsl/index.d.ts +333 -92
- package/dist/dsl/index.js +1 -1
- package/dist/dsl/v8/scenario-worker.js +1 -1
- package/dist/dsl/web-dsl-language-service.d.ts +11 -3
- package/dist/dsl/web-dsl-language-service.js +1 -1
- package/dist/inspection/page-inject.d.ts +13 -5
- package/dist/inspection/page-inject.js +14 -2
- package/dist/{interfaces-BSGmF_Tv.d.ts → interfaces-BU-PQbt4.d.ts} +48 -2
- package/dist/{linter-CYRlmOLy.d.ts → linter-BpaIstU3.d.ts} +11 -1
- package/dist/mcp/server.js +1 -1
- package/dist/runner/cli.d.ts +1 -1
- package/dist/runner/cli.js +1 -1
- package/dist/runner/init/chrome-probe.js +1 -1
- package/dist/runner/init.d.ts +1 -1
- package/dist/runner/init.js +1 -1
- package/dist/runner/install-chromium.js +1 -1
- package/dist/runner/prepare-fix.js +1 -1
- package/dist/runner/scaffold-workspace.js +1 -1
- package/dist/runner/serve-fixture.js +1 -1
- package/dist/runner/web-runner-adapter.js +1 -1
- package/guides/agent-integration.md +1 -1
- package/guides/dsl-reference.md +485 -40
- package/llms.txt +14 -9
- package/package.json +13 -8
- package/src/mcp/prompts/agent-test-author.md +3 -1
- package/types/unotest-dsl.d.ts +52 -17
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3a2a(_0x28eba9,_0x132741){_0x28eba9=_0x28eba9-0xb2;const _0x4445fd=_0x4445();let _0x3a2ae1=_0x4445fd[_0x28eba9];if(_0x3a2a['ZyRuNx']===undefined){var _0xbe38dd=function(_0x3424d9){const _0x128644='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2fd0e2='',_0x114741='';for(let _0x489b1a=0x0,_0x503162,_0x8f537e,_0x326307=0x0;_0x8f537e=_0x3424d9['charAt'](_0x326307++);~_0x8f537e&&(_0x503162=_0x489b1a%0x4?_0x503162*0x40+_0x8f537e:_0x8f537e,_0x489b1a++%0x4)?_0x2fd0e2+=String['fromCharCode'](0xff&_0x503162>>(-0x2*_0x489b1a&0x6)):0x0){_0x8f537e=_0x128644['indexOf'](_0x8f537e);}for(let _0x3e47ef=0x0,_0x1f05cb=_0x2fd0e2['length'];_0x3e47ef<_0x1f05cb;_0x3e47ef++){_0x114741+='%'+('00'+_0x2fd0e2['charCodeAt'](_0x3e47ef)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x114741);};_0x3a2a['VmvIsh']=_0xbe38dd,_0x3a2a['tJktii']={},_0x3a2a['ZyRuNx']=!![];}const _0x4fb324=_0x4445fd[0x0],_0x1b2a20=_0x28eba9+_0x4fb324,_0x2852e6=_0x3a2a['tJktii'][_0x1b2a20];return!_0x2852e6?(_0x3a2ae1=_0x3a2a['VmvIsh'](_0x3a2ae1),_0x3a2a['tJktii'][_0x1b2a20]=_0x3a2ae1):_0x3a2ae1=_0x2852e6,_0x3a2ae1;}const _0xb3f911=_0x3a2a;(function(_0x252c0c,_0x54eb7c){const _0x4735af={_0x54c08f:0x131,_0x1ee244:0xe5,_0x53206d:0x102,_0x28db1a:0xfb},_0x3f4f6f=_0x3a2a,_0x338d68=_0x252c0c();while(!![]){try{const _0x3666f3=parseInt(_0x3f4f6f(0xe1))/0x1+-parseInt(_0x3f4f6f(_0x4735af._0x54c08f))/0x2*(parseInt(_0x3f4f6f(0x10f))/0x3)+-parseInt(_0x3f4f6f(_0x4735af._0x1ee244))/0x4+parseInt(_0x3f4f6f(_0x4735af._0x53206d))/0x5+-parseInt(_0x3f4f6f(_0x4735af._0x28db1a))/0x6+parseInt(_0x3f4f6f(0x112))/0x7*(parseInt(_0x3f4f6f(0xbe))/0x8)+parseInt(_0x3f4f6f(0x14c))/0x9;if(_0x3666f3===_0x54eb7c)break;else _0x338d68['push'](_0x338d68['shift']());}catch(_0xe9bede){_0x338d68['push'](_0x338d68['shift']());}}}(_0x4445,0x8eb8b));var __defProp=Object[_0xb3f911(0xfc)],__name=(_0x114741,_0x489b1a)=>__defProp(_0x114741,_0xb3f911(0xd5),{'value':_0x489b1a,'configurable':!![]});import{workerData}from'worker_threads';import _0x2fd0e2 from'vm';var STACK_DEPTH=0x80;function scenarioFrames(_0x503162,_0x8f537e){const _0x36787a={_0x3b440a:0xe7,_0x14036f:0xe7,_0x183fc7:0xc8,_0x32fe76:0xd4,_0x421835:0xeb,_0x6c20c2:0xf1,_0x3778e6:0x130},_0x446005=_0xb3f911,_0x326307=Error[_0x446005(_0x36787a._0x3b440a)],_0x3e47ef=Error[_0x446005(0x130)],_0x1f05cb={};try{Error[_0x446005(0x130)]=STACK_DEPTH,Error[_0x446005(_0x36787a._0x14036f)]=(_0x1a730d,_0x39b248)=>_0x39b248,Error[_0x446005(_0x36787a._0x183fc7)](_0x1f05cb,_0x8f537e);const _0x5424ae=_0x1f05cb[_0x446005(0xdf)]??[],_0xcc4ff3=[];for(const _0x3d021f of _0x5424ae){const _0x27e214=_0x3d021f['getFileName']();if(_0x27e214===void 0x0||_0x27e214===null||!_0x503162[_0x446005(0xfe)](_0x27e214))continue;_0xcc4ff3[_0x446005(_0x36787a._0x32fe76)]({'file':_0x27e214,'line':_0x3d021f['getLineNumber']()??0x0,'col':_0x3d021f[_0x446005(_0x36787a._0x421835)]()??0x0,'fn':_0x3d021f[_0x446005(_0x36787a._0x6c20c2)]()??''});}return _0xcc4ff3;}finally{Error[_0x446005(0xe7)]=_0x326307,Error[_0x446005(_0x36787a._0x3778e6)]=_0x3e47ef;}}function _0x4445(){const _0x323759=['y2fSBa','zw50CNK','DMfY','yxnZAwDU','Dg9xAxjL','C3rHy2S','B3b0CW','ndiZmJGYwvjcs3Dl','CMvHzfzHCG','DgHLihjVBgXIywnRigjSB2nRici','C2TPCa','mZG5ndmZmNrICNn5rq','Dw5JyxvNAhrfEgnLChrPB24','ChjLCgfYzvn0ywnRvhjHy2u','CMv2zxjZzq','sg9ZDenHBgXfCNjVCG','DgvZDe5HBwu','z2v0q29SDw1UtNvTyMvY','Bg9JyxrVCG','BwfW','DgHLig1HAw4GDgHYzwfKihjHAxnLzcbPDhmGCMvWBhKGzMXHzYb3AxrOig5VihjLCgX5ig9UihrOzsbWB3j0','DMfSDwvZ','C2XLzxa','z2v0rNvUy3rPB25oyw1L','C3rLChm','C3r1yG','AgfUze9U','Ag9ZDe5HBwvZ','C2XLzxbLCG','y3jLyxrLq29UDgv4Da','CMvMDxnHBeLU','yxnZzxj0tMv2zxi','y3jLyxrL','nJaXmZK5oefpEvLAsG','zgvMAw5LuhjVCgvYDhK','CgfNzunVzgvbCMDZ','AgfZ','AxrLCG','yMXVy2STC3rHCNq','C3rHCNq','mJq0mZaWmgzXAwv3Aa','AgfUzgXL','yw4GB2jQzwn0ihDPDgGGDgHLigTLEsaI','Dg9Wtgv2zwW','DgHLigjVzhKGB2yGC3rLCcaI','zNvUy3rPB24','v29YA2vYtwfYA3m','C3rVCMu','x19LBNrLCG','AwrZ','D2fPDfvUDgLS','qeb1BM90zxn0l2HVC3qTDMfSDwu','x19PDgvY','nKXbCLnjrq','yMXVy2STzw5K','CMvWBgLLCW','mJy1mdLwrffRDvC','B2jQzwn0','DgfN','Cg9ZDa','CMvWBhLqB3j0','A2LUza','C2v0','C3rHCNrty2vUyxjPB1rOCMvHza','CNvUsw5dB250zxH0','BgfIzwW','DMfSDwu','DgHLigjVzhKGB2yGyxnZzxj0tMv2zxi','C2XPy2u','Dg9tDhjPBMC','AxrLCMf0B3i','zxzLBNrZug9YDa','z2v0uhjVDg90ExbLt2y','uMvZzxj2zwrlzxLfCNjVCG','y29S','D2L0AgLUtxm','zw50CNLbCMDZ','C291CMnL','DgvHCMrVD25Z','zNjLzxPL','zMLSzxm','D2fPDa','ywrK','ihjLDhvYBMvKigeGChjVBwLZztOGyw4Gyxn5BMmGzNvUy3rPB24GAxmGBM90ihDHAxrLzcbMB3iSigfUzcb3Agf0igzVBgXVD3mGAxrZigzPCNn0igf3ywL0ihDVDwXKihj1BIbHzNrLCIb0AguGDgvZDcbPCYbVDMvYiokaLcbKCM9WigfZEw5JigfUzcbHD2fPDdSGrfnmignHBgXZihjLDhvYBIb0AgvPCIbYzxn1BhqU','BgfZDfnUyxbZAg90','zNjVBvDPCMu','C3rHy2TuCMfJzuXPBwL0','nZu1mtqWD0X0rufZ','zxzLBNrZ','Bg9JyxrVCLbYB3rV','C2nLBMfYAw9gCMfTzxm','AxnjDgvYyxrVCG','BMv4Da','AxnmB2nHDg9Yrgf0yq','y2fSBfnPDgu','zMLSDgvY','DMfYtMfTzxm','y2fSBfn5BMm','BM8GCM9SBgjHy2SGyMXVy2SG','BMv4DeHHBMrSzq','C2HHCgu','AxnbCNjHEq','CMvKDwnL','iIbJyw5UB3qGyMuGCgfZC2vKihrVigeGrfnmigz1BMn0Aw9UoIb0AguGA2v5igLZihrOzsbYDw5UzxiNCYbVD24','zxjYB3i','rxjYB3i','z2XVyMfSCW','CNvUu29MDfn0zxa','C2v0uhjVDg90ExbLt2y','yM9KEq','zM9YrwfJAa','zMLSzq','zNjVBuvUDhjPzxm','Ag9ZDfzHBhvLCW','mtq4nteZmZjuqwrAvfC','AxnxAxjLsg9ZDfzHBhvL','iIbUB3qGzM91BMqGAw4GC2nLBMfYAw8Gqvnu','C2nVCgvpzG','zg9Uzq','C3rLCa','C2LNBMfS','v29YA2vYq2HHBM5LBa','Cg9SBa','CMvXDwvZDa','AxnuAgvUywjSzq','CMvNAxn0zxi','Aw50zxj2ywXnCW','ig9UihrOAxmGDgHYzwfK','BwvZC2fNzq','DgHLigjVzhKGB2yGC3rLCc5ZB2z0ici','mtu5mKjvEgXMDq','x19TyxjR','Aw5OzxjPDgvK','AxnqBgfPBG','DgvHCMrVD24','D2fPDfvUDgLSvgLTzw91De1Z','CgXHEvrLyxjKB3DU','C2nVCgvwywX1zq','CNvUu3rLCa','D2LYzq','y2fWDhvYzvn0ywnRvhjHy2u','C2nVCgu','z2v0','CgXHEwvK','BMv4DenHBgW','zgvSzxrL','u2nLBMfYAw9iB3n0vMfSDwvZ','BgvUz3rO','C2L0zq','Dg9xAxjLrxjYB3i','zMLLBgrZ','BwfYAW','ChvZAa','BMfTzq','BwfWsw5ZAwrL','C29MDezHAwX1CMvZ','sg9ZDfn0DwjZ','zw50CNLgAwXL'];_0x4445=function(){return _0x323759;};return _0x4445();}__name(scenarioFrames,_0xb3f911(0x134));function callSite(_0x14d48c,_0x17b07a){const _0x226bc5={_0x46a94f:0xe8,_0x3c9a13:0xcf,_0x3837bf:0x124,_0x5ce860:0xd9},_0x296d31=_0xb3f911,_0x3bf4e5=scenarioFrames(_0x14d48c['files'],_0x17b07a),_0x2ab62f=_0x3bf4e5[0x0],_0x207040=_0x3bf4e5['map'](_0x56e8ec=>_0x56e8ec['fn'])[_0x296d31(0x139)](_0x4d39a9=>_0x4d39a9!==_0x14d48c[_0x296d31(0xdb)]&&_0x14d48c[_0x296d31(0x105)][_0x296d31(0xfe)](_0x4d39a9))[_0x296d31(_0x226bc5._0x46a94f)](),_0x597982=_0x3bf4e5[_0x296d31(_0x226bc5._0x3c9a13)];return _0x2ab62f?{'file':_0x2ab62f[_0x296d31(0x149)],'line':_0x2ab62f['line'],'col':_0x2ab62f[_0x296d31(_0x226bc5._0x3837bf)],'callStack':_0x207040,'depth':_0x597982}:{'file':_0x14d48c[_0x296d31(_0x226bc5._0x5ce860)],'line':0x0,'col':0x0,'callStack':_0x207040,'depth':_0x597982};}__name(callSite,_0xb3f911(0x138));var HOST_VALUE_KEY=_0xb3f911(0x10d);function isPlain(_0x40bcb7){const _0x40e78d={_0x30027f:0x122,_0x2be9f7:0x122},_0x39a7ba=_0xb3f911;if(Array['isArray'](_0x40bcb7))return!![];const _0x566f70=Object[_0x39a7ba(_0x40e78d._0x30027f)](_0x40bcb7);return _0x566f70===null||Object[_0x39a7ba(_0x40e78d._0x2be9f7)](_0x566f70)===null;}__name(isPlain,_0xb3f911(0xc1));function isWireHostValue(_0xa74763){return _0xa74763!==null&&typeof _0xa74763==='object'&&HOST_VALUE_KEY in _0xa74763;}__name(isWireHostValue,_0xb3f911(0x14d));function mapInside(_0x1511ae,_0x16af14,_0x253b1a){const _0x254861={_0x89d82c:0x113},_0x3bfe31={_0x2cec3f:0x14a},_0x37f5a9=_0xb3f911;if(_0x1511ae===null||typeof _0x1511ae!==_0x37f5a9(_0x254861._0x89d82c)||_0x253b1a[_0x37f5a9(0xfe)](_0x1511ae))return _0x1511ae;const _0x30d1d3=_0x16af14(_0x1511ae);if(_0x30d1d3!==void 0x0)return _0x30d1d3;if(!isPlain(_0x1511ae))return _0x1511ae;_0x253b1a[_0x37f5a9(0x12c)](_0x1511ae);const _0x5bb4a0=Object['entries'](_0x1511ae);let _0x5e1ffe=null;_0x5bb4a0[_0x37f5a9(0x148)](([_0x3443fa,_0x14a1ce],_0x536ce5)=>{const _0x5522c6=_0x37f5a9,_0x174575=mapInside(_0x14a1ce,_0x16af14,_0x253b1a);if(_0x174575!==_0x14a1ce&&_0x5e1ffe===null)_0x5e1ffe=Object[_0x5522c6(_0x3bfe31._0x2cec3f)](_0x5bb4a0[_0x5522c6(0x11e)](0x0,_0x536ce5));if(_0x5e1ffe!==null)_0x5e1ffe[_0x3443fa]=_0x174575;});if(_0x5e1ffe===null)return _0x1511ae;return Array[_0x37f5a9(0x13f)](_0x1511ae)?Object[_0x37f5a9(0xdd)]([],_0x5e1ffe):_0x5e1ffe;}__name(mapInside,_0xb3f911(0xd6));var ReservedKeyError=class extends Error{static{__name(this,_0xb3f911(0x123));}constructor(){const _0x1f9581={_0x31442f:0x104,_0x151aba:0xd5,_0x2262a5:0x123},_0x161013=_0xb3f911;super(_0x161013(_0x1f9581._0x31442f)+HOST_VALUE_KEY+_0x161013(0x141)),this[_0x161013(_0x1f9581._0x151aba)]=_0x161013(_0x1f9581._0x2262a5);}},ScenarioHostValues=class{static{__name(this,_0xb3f911(0xce));}[_0xb3f911(0x10b)]=new WeakMap();[_0xb3f911(0x12f)](_0x1a6cee){const _0x1ace3f={_0x1f10a7:0x129,_0x45b526:0x12f,_0x6fba8b:0x10b};return mapInside(_0x1a6cee,_0x1473f4=>{const _0x489269=_0x3a2a;if(!isWireHostValue(_0x1473f4))return void 0x0;const _0x13c9f3=Object[_0x489269(_0x1ace3f._0x1f10a7)](this[_0x489269(_0x1ace3f._0x45b526)](_0x1473f4[_0x489269(0xd2)]));return this[_0x489269(_0x1ace3f._0x6fba8b)]['set'](_0x13c9f3,_0x1473f4[HOST_VALUE_KEY]),_0x13c9f3;},new Set());}[_0xb3f911(0xde)](_0xb53305){const _0x14b0e6={_0x3fdb98:0xca};return mapInside(_0xb53305,_0x2f3e96=>{const _0x345be4=_0x3a2a,_0x502cd1=this['ids'][_0x345be4(_0x14b0e6._0x3fdb98)](_0x2f3e96);if(_0x502cd1!==void 0x0)return{[HOST_VALUE_KEY]:_0x502cd1,'fields':{}};if(HOST_VALUE_KEY in _0x2f3e96)throw new ReservedKeyError();return void 0x0;},new Set());}};import{isCheckFailure}from'@unotest/dsl/executor';var HostCallError=class extends Error{constructor(_0x54cf9b){const _0x2f5565={_0x2c5f23:0xbc,_0x45cb17:0xc7},_0x1fd2bc=_0xb3f911;super(_0x54cf9b[_0x1fd2bc(_0x2f5565._0x2c5f23)]),this[_0x1fd2bc(_0x2f5565._0x45cb17)]=_0x54cf9b,this[_0x1fd2bc(0xd5)]=_0x54cf9b[_0x1fd2bc(0xd5)];}['wire'];static{__name(this,_0xb3f911(0xe9));}};function toWireError(_0x2057c6){const _0x52c0ff={_0x45a652:0xdf,_0x1a9d2d:0xdf,_0x9db28e:0x143},_0x2ddcba=_0xb3f911;if(_0x2057c6 instanceof HostCallError)return _0x2057c6[_0x2ddcba(0xc7)];if(_0x2057c6 instanceof Error)return{'name':_0x2057c6['name'],'message':_0x2057c6[_0x2ddcba(0xbc)],..._0x2057c6[_0x2ddcba(_0x52c0ff._0x45a652)]!==void 0x0?{'stack':_0x2057c6[_0x2ddcba(_0x52c0ff._0x1a9d2d)]}:{},...isCheckFailure(_0x2057c6)?{'checkFailure':!![]}:{}};return{'name':_0x2ddcba(_0x52c0ff._0x9db28e),'message':String(_0x2057c6)};}__name(toWireError,_0xb3f911(0xd1));var MB=0x400*0x400;function isIterator(_0xd7f5f6){const _0x52cfd0=_0xb3f911,_0x3f2efe=_0xd7f5f6;return typeof _0x3f2efe[_0x52cfd0(0x136)]==='function'&&typeof _0x3f2efe[Symbol[_0x52cfd0(0x120)]]===_0x52cfd0(0x107);}__name(isIterator,_0xb3f911(0x135));function hasInheritedKey(_0x8a6e8b){for(const _0x4719e7 in _0x8a6e8b)if(!Object['hasOwn'](_0x8a6e8b,_0x4719e7))return!![];return![];}__name(hasInheritedKey,'hasInheritedKey');function refusalIn(_0x312dac,_0x52be40){const _0x5e92ec={_0x4657b4:0x107,_0x150c4f:0x113,_0x34a677:0xc0},_0x49f29c=_0xb3f911;if(typeof _0x312dac===_0x49f29c(_0x5e92ec._0x4657b4))return'function';if(_0x312dac===null||typeof _0x312dac!==_0x49f29c(_0x5e92ec._0x150c4f)||_0x52be40['has'](_0x312dac))return null;if(isIterator(_0x312dac))return _0x49f29c(0x120);if(hasInheritedKey(_0x312dac))return _0x49f29c(_0x5e92ec._0x34a677);_0x52be40['add'](_0x312dac);const _0x225fdf=_0x312dac instanceof Map?[..._0x312dac['keys'](),..._0x312dac[_0x49f29c(0xef)]()]:_0x312dac instanceof Set?[..._0x312dac]:Object[_0x49f29c(0xef)](_0x312dac);for(const _0x237db2 of _0x225fdf){const _0x3bb56a=refusalIn(_0x237db2,_0x52be40);if(_0x3bb56a!==null)return _0x3bb56a;}return null;}__name(refusalIn,_0xb3f911(0xf8));function isLocatorData(_0x3e4fd9){const _0xd9e8d8={_0x56e7b4:0x113,_0x524430:0xec},_0x54d353=_0xb3f911;return _0x3e4fd9!==null&&typeof _0x3e4fd9===_0x54d353(_0xd9e8d8._0x56e7b4)&&_0x3e4fd9[_0x54d353(0x117)]===_0x54d353(_0xd9e8d8._0x524430)&&Array['isArray'](_0x3e4fd9[_0x54d353(0xf2)]);}__name(isLocatorData,_0xb3f911(0x137));var HostStubs=class{constructor(_0x65b20a,_0x8fea2f){const _0x56e374={_0x5c3050:0xfa,_0x568196:0x133},_0x1ddaf6={_0x1a4c5d:0xf2},_0x4b040b=_0xb3f911;this['wire']=_0x65b20a,this[_0x4b040b(0xe0)]=_0x8fea2f;const _0x5f578a=Object[_0x4b040b(_0x56e374._0x5c3050)](null),_0x1291a4=this;for(const _0x243f22 of _0x8fea2f['names']){Object['defineProperty'](_0x5f578a,_0x243f22,{'value':__name(function _0x10412e(..._0x14d571){const _0x3e1524=_0x4b040b;return _0x1291a4[_0x3e1524(0xda)](_0x243f22,[{'kind':this[_0x3e1524(0x117)],'steps':this[_0x3e1524(_0x1ddaf6._0x1a4c5d)]},..._0x14d571],_0x10412e);},'chained')});}this[_0x4b040b(_0x56e374._0x568196)]=_0x5f578a;}['wire'];[_0xb3f911(0xe0)];static{__name(this,_0xb3f911(0xd8));}[_0xb3f911(0x133)];[_0xb3f911(0x14b)]=new ScenarioHostValues();[_0xb3f911(0x144)](){const _0x2292fc=_0xb3f911,_0xe883a6={};for(const _0x49ad5b of this[_0x2292fc(0xe0)]['names']){const _0x308c50=this;_0xe883a6[_0x49ad5b]=__name(function _0xbae4dc(..._0x3e4ad9){const _0x41bdef=_0x2292fc;return _0x308c50[_0x41bdef(0xda)](_0x49ad5b,_0x3e4ad9,_0xbae4dc);},_0x2292fc(0xf3));}return _0xe883a6;}[_0xb3f911(0xe2)](_0x2a8204){const _0x458111={_0x4dfb74:0xc7,_0xf666b:0xb7,_0x44de0e:0xdc,_0x428ce6:0x142},_0x58036d=_0xb3f911,_0x50a3fb=this[_0x58036d(_0x458111._0x4dfb74)][_0x58036d(_0x458111._0xf666b)]({'t':_0x58036d(_0x458111._0x44de0e),'name':_0x2a8204});if(!_0x50a3fb['ok'])throw new HostCallError(_0x50a3fb[_0x58036d(_0x458111._0x428ce6)]);return _0x50a3fb[_0x58036d(0x11c)];}['call'](_0x2ffcd0,_0x3b86b7,_0x2b0856){const _0x50e2ad={_0x256ae6:0xe0,_0x45eb02:0x140,_0x371a9d:0xc7,_0x2f272e:0xb7,_0x510441:0xda,_0x344de4:0xde},_0x23a857=_0xb3f911,_0x5faf7a=this[_0x23a857(_0x50e2ad._0x256ae6)]['site'](_0x2b0856),_0x4c27d1=this['opts']['pageCodeArgs'][_0x2ffcd0],_0x175d93=_0x3b86b7[_0x23a857(0xed)]((_0x298b0e,_0x1dc85f)=>_0x1dc85f===_0x4c27d1&&typeof _0x298b0e===_0x23a857(0x107)?_0x298b0e[_0x23a857(0x11f)]():_0x298b0e),_0x3e6a9c=new Set(),_0x575af6=_0x175d93[_0x23a857(_0x50e2ad._0x45eb02)]((_0x1f6147,_0x56d79a)=>_0x1f6147??refusalIn(_0x56d79a,_0x3e6a9c),null),_0x4e00eb=this[_0x23a857(_0x50e2ad._0x371a9d)][_0x23a857(_0x50e2ad._0x2f272e)](_0x575af6?{'t':_0x23a857(_0x50e2ad._0x510441),'name':_0x2ffcd0,'args':[],'at':_0x5faf7a,'refused':_0x575af6}:{'t':_0x23a857(0xda),'name':_0x2ffcd0,'args':this['hostValues'][_0x23a857(_0x50e2ad._0x344de4)](_0x175d93),'at':_0x5faf7a});if(!_0x4e00eb['ok'])throw new HostCallError(_0x4e00eb[_0x23a857(0x142)]);const _0xbeba5a=this['hostValues']['fromWire'](_0x4e00eb[_0x23a857(0x11c)]);return isLocatorData(_0xbeba5a)?Object[_0x23a857(0x146)](_0xbeba5a,this[_0x23a857(0x133)]):_0xbeba5a;}};import{receiveMessageOnPort}from'worker_threads';var WorkerChannel=class{constructor(_0x3f39b6,_0x10b057,_0x2ef8fe){this['events']=_0x10b057,this['replies']=_0x2ef8fe,this['flag']=new Int32Array(_0x3f39b6);}[_0xb3f911(0x132)];[_0xb3f911(0x111)];static{__name(this,_0xb3f911(0xb5));}['flag'];[_0xb3f911(0xf6)]=new Int32Array(new SharedArrayBuffer(0x4));[_0xb3f911(0x115)](_0x37d8fc){const _0x27b08f=_0xb3f911;this[_0x27b08f(0x132)]['postMessage'](_0x37d8fc);}[_0xb3f911(0xb7)](_0x2546f8){const _0x20f440={_0x20d186:0x109,_0x4b7f97:0xee,_0x5a4495:0xbc},_0x17033f=_0xb3f911;this[_0x17033f(0x115)](_0x2546f8),Atomics[_0x17033f(0x12b)](this['flag'],0x0,0x0),Atomics[_0x17033f(_0x20f440._0x20d186)](this['flag'],0x0,0x0);const _0x163819=receiveMessageOnPort(this[_0x17033f(0x111)]);if(_0x163819===void 0x0)throw new Error(_0x17033f(_0x20f440._0x4b7f97));return _0x163819[_0x17033f(_0x20f440._0x5a4495)];}[_0xb3f911(0xf0)](_0xd7cb79){const _0x5e2a62=_0xb3f911;Atomics[_0x5e2a62(0x12b)](this[_0x5e2a62(0xf6)],0x0,0x0,_0xd7cb79);}};import{assertNeverVerdict,pollWindowSync,readAssertNeverOptions,readWaitUntilOptions,tagText,waitUntilVerdict}from'@unotest/dsl/executor';var AsyncBodyError=class extends Error{static{__name(this,'AsyncBodyError');}constructor(_0x46140b){const _0x494a36={_0x1e9df0:0x12d},_0x1c75e4=_0xb3f911;super(_0x46140b+_0x1c75e4(_0x494a36._0x1e9df0)),this['name']='AsyncBodyError';}};function isThenable(_0x5c7d9a){const _0x2e1e44=_0xb3f911;return(typeof _0x5c7d9a===_0x2e1e44(0x113)||typeof _0x5c7d9a==='function')&&_0x5c7d9a!==null&&typeof _0x5c7d9a['then']===_0x2e1e44(0x107);}__name(isThenable,_0xb3f911(0xb8));function callSync(_0x48b4ff,_0x125dd1){const _0x5414e7=_0x48b4ff();if(!isThenable(_0x5414e7))return _0x5414e7;_0x5414e7['then'](void 0x0,()=>{});throw new AsyncBodyError(_0x125dd1);}__name(callSync,_0xb3f911(0x13b));function blockParts(_0x49ecc9){const _0x268251=_0xb3f911,[_0x178b6c,_0x23e411,_0x2456e6]=_0x49ecc9,_0x4862a3=typeof _0x23e411!==_0x268251(0x107),_0x10fb9b=_0x4862a3?_0x23e411:void 0x0,_0xe91304=_0x4862a3?_0x2456e6:_0x23e411;return{'label':String(_0x178b6c),..._0x10fb9b?.[_0x268251(0x114)]!==void 0x0?{'tag':tagText(_0x10fb9b['tag'])}:{},'body':_0xe91304};}__name(blockParts,'blockParts');var WorkerForms=class{constructor(_0xb80902,_0x1d7fe2,_0x280348){const _0x193d6e=_0xb3f911;this[_0x193d6e(0xc7)]=_0xb80902,this[_0x193d6e(0xd0)]=_0x1d7fe2,this[_0x193d6e(0xc3)]=_0x280348;}[_0xb3f911(0xc7)];[_0xb3f911(0xd0)];[_0xb3f911(0xc3)];static{__name(this,'WorkerForms');}['softFailures']=[];[_0xb3f911(0x128)]=new Map();[_0xb3f911(0x13d)]=0x1;['scenarioForms'](){const _0x318580={_0x384aa1:0xb6},_0x258be3={_0x5a6d3d:0xb6},_0x3b6a2c={_0x3ea333:0x145},_0x2252f8={_0x1cb2d8:0xd0},_0x49125a=_0xb3f911,_0x2fed11=this;function _0x1f8b75(..._0x224642){const _0x392bc0=_0x3a2a;_0x2fed11['runStep'](_0x224642,_0x2fed11[_0x392bc0(_0x2252f8._0x1cb2d8)](_0x1f8b75));}__name(_0x1f8b75,_0x49125a(0xb3)),_0x1f8b75['soft']=__name(function _0x1954e6(..._0x53c6b7){const _0x171e6d=_0x49125a;_0x2fed11[_0x171e6d(_0x3b6a2c._0x3ea333)](_0x53c6b7,_0x2fed11[_0x171e6d(0xd0)](_0x1954e6));},'soft');function _0x555cd4(_0x1a50cb,_0x5c9fb6){const _0x1edcb1=_0x49125a;_0x2fed11[_0x1edcb1(0xb9)](String(_0x1a50cb),_0x5c9fb6,_0x2fed11['site'](_0x555cd4));}__name(_0x555cd4,'teardown');function _0x1a2710(_0x4d50e3,_0x17fe87){const _0x2bd14f=_0x49125a,_0x5321ff=readWaitUntilOptions(_0x17fe87,_0x2fed11[_0x2bd14f(0xc3)]);return waitUntilVerdict(_0x2fed11[_0x2bd14f(_0x258be3._0x5a6d3d)](()=>callSync(_0x4d50e3,'the\x20body\x20of\x20waitUntil'),_0x5321ff['timeoutMs'],_0x5321ff[_0x2bd14f(0xba)]),_0x5321ff);}__name(_0x1a2710,_0x49125a(0x10c));function _0x3c8270(_0x92fb34,_0x245ec9){const _0x41bc1d=_0x49125a,_0x49cb51=readAssertNeverOptions(_0x245ec9);assertNeverVerdict(_0x2fed11[_0x41bc1d(_0x318580._0x384aa1)](()=>callSync(_0x92fb34,_0x41bc1d(0x11d)),_0x49cb51[_0x41bc1d(0x125)],_0x49cb51[_0x41bc1d(0xba)]),_0x49cb51);}return __name(_0x3c8270,_0x49125a(0xf9)),{'step':_0x1f8b75,'teardown':_0x555cd4,'waitUntil':_0x1a2710,'assertNever':_0x3c8270};}[_0xb3f911(0xc4)](_0x5bd84b){const _0x34a267={_0x543b3c:0x128,_0x5414af:0xca,_0x1f87da:0x115,_0x4c1c9c:0xcb,_0x5eaf90:0xcd,_0x26f420:0x11b,_0x594347:0x11b,_0x4938d6:0x110,_0x16f62a:0xc7},_0x21698b=_0xb3f911,_0x3bc55e=this[_0x21698b(_0x34a267._0x543b3c)][_0x21698b(_0x34a267._0x5414af)](_0x5bd84b);if(_0x3bc55e===void 0x0){this[_0x21698b(0xc7)][_0x21698b(_0x34a267._0x1f87da)]({'t':_0x21698b(_0x34a267._0x4c1c9c),'handle':_0x5bd84b,'error':{'name':_0x21698b(0x143),'message':_0x21698b(0x13c)+_0x5bd84b+_0x21698b(0xbb)}});return;}this[_0x21698b(0x128)][_0x21698b(_0x34a267._0x5eaf90)](_0x5bd84b);const _0x3a5d6e={'label':_0x3bc55e[_0x21698b(_0x34a267._0x26f420)],'soft':![],'teardown':!![],'at':_0x3bc55e['at']};this[_0x21698b(0xc7)][_0x21698b(0x115)]({'t':_0x21698b(0x100),..._0x3a5d6e});try{callSync(_0x3bc55e[_0x21698b(0x147)],_0x21698b(0xe3)+_0x3bc55e[_0x21698b(_0x34a267._0x594347)]+'\x22');}catch(_0x3dcf79){const _0x2756b8=toWireError(_0x3dcf79);this['wire']['post']({'t':'block-end','ok':![],'error':_0x2756b8,..._0x3a5d6e}),this[_0x21698b(0xc7)][_0x21698b(0x115)]({'t':_0x21698b(_0x34a267._0x4c1c9c),'handle':_0x5bd84b,'error':_0x2756b8});return;}this['wire'][_0x21698b(0x115)]({'t':_0x21698b(_0x34a267._0x4938d6),'ok':!![],..._0x3a5d6e}),this[_0x21698b(_0x34a267._0x16f62a)][_0x21698b(_0x34a267._0x1f87da)]({'t':'played','handle':_0x5bd84b});}[_0xb3f911(0xc6)](_0x1516a3,_0x5e5fb3){const _0x33630c={_0x3ea269:0x100,_0x3ee7d8:0xc7,_0x1cf0c8:0x115,_0x958e84:0x110},_0x14c4a0=_0xb3f911,{body:_0x37f20f,..._0x55644d}=blockParts(_0x1516a3),_0x1827e6={..._0x55644d,'soft':![],'at':_0x5e5fb3};this[_0x14c4a0(0xc7)][_0x14c4a0(0x115)]({'t':_0x14c4a0(_0x33630c._0x3ea269),..._0x1827e6}),callSync(_0x37f20f,_0x14c4a0(0x106)+_0x55644d['label']+'\x22'),this[_0x14c4a0(_0x33630c._0x3ee7d8)][_0x14c4a0(_0x33630c._0x1cf0c8)]({'t':_0x14c4a0(_0x33630c._0x958e84),'ok':!![],..._0x1827e6});}['runSoftStep'](_0x258b73,_0x4e6bbc){const _0x5c2a89={_0x3d4b04:0xbd,_0x1d2448:0x11b,_0x5a1ab5:0xe4,_0x8ccfb6:0x110,_0x3777b5:0x114,_0x4eb01a:0xc7},_0x586b7b=_0xb3f911,{body:_0x87ced3,..._0x12aac3}=blockParts(_0x258b73),_0x1313b7={..._0x12aac3,'soft':!![],'at':_0x4e6bbc};this['wire'][_0x586b7b(0x115)]({'t':'block-start',..._0x1313b7});try{callSync(_0x87ced3,_0x586b7b(_0x5c2a89._0x3d4b04)+_0x12aac3[_0x586b7b(_0x5c2a89._0x1d2448)]+'\x22');}catch(_0x3f4d51){const _0x3364b2=toWireError(_0x3f4d51);if(_0x3f4d51 instanceof HostCallError&&_0x3f4d51['wire'][_0x586b7b(_0x5c2a89._0x5a1ab5)]){this['wire'][_0x586b7b(0x115)]({'t':_0x586b7b(_0x5c2a89._0x8ccfb6),'ok':!![],'skipped':!![],..._0x1313b7});throw _0x3f4d51;}this[_0x586b7b(0xd7)][_0x586b7b(0xd4)]({'label':_0x12aac3[_0x586b7b(0x11b)],..._0x12aac3[_0x586b7b(_0x5c2a89._0x3777b5)]!==void 0x0?{'tag':_0x12aac3[_0x586b7b(0x114)]}:{},'at':_0x4e6bbc,'error':_0x3364b2}),this[_0x586b7b(_0x5c2a89._0x4eb01a)][_0x586b7b(0x115)]({'t':'block-end','ok':![],'error':_0x3364b2,..._0x1313b7});return;}this[_0x586b7b(_0x5c2a89._0x4eb01a)][_0x586b7b(0x115)]({'t':_0x586b7b(_0x5c2a89._0x8ccfb6),'ok':!![],..._0x1313b7});}['register'](_0x470e3a,_0x40e456,_0x52266c){const _0x2e5829={_0x324393:0x118,_0x251329:0x128,_0x19905b:0xcd,_0x37b9f6:0x142},_0x184d64=_0xb3f911,_0x1be981=this['nextHandle']++;this['teardowns'][_0x184d64(_0x2e5829._0x324393)](_0x1be981,{'label':_0x470e3a,'body':_0x40e456,'at':_0x52266c});const _0x3692b7=this[_0x184d64(0xc7)]['request']({'t':_0x184d64(0xc2),'label':_0x470e3a,'handle':_0x1be981,'at':_0x52266c});if(!_0x3692b7['ok']){this[_0x184d64(_0x2e5829._0x251329)][_0x184d64(_0x2e5829._0x19905b)](_0x1be981);throw new HostCallError(_0x3692b7[_0x184d64(_0x2e5829._0x37b9f6)]);}}[_0xb3f911(0xb6)](_0x98c615,_0x4f97b2,_0x15e571){const _0x5491bb=_0xb3f911;return pollWindowSync(_0x98c615,Boolean,_0x4f97b2,_0x15e571,_0x15218b=>this[_0x5491bb(0xc7)][_0x5491bb(0xf0)](_0x15218b));}},TOP={'depth':0x0,'call':0x0,'callStack':[]};function scopeValue(_0x1ef81a){const _0x28b799=_0xb3f911;if(typeof _0x1ef81a==='function')return'ƒ\x20'+_0x1ef81a[_0x28b799(0xd5)];try{return structuredClone(_0x1ef81a);}catch{return String(_0x1ef81a);}}__name(scopeValue,_0xb3f911(0xc5));var WorkerMarks=class{constructor(_0x10163b,_0x494ee1,_0x10e668){const _0x35c26={_0x48fc8b:0x12a},_0xd014cd=_0xb3f911;this[_0xd014cd(0xc7)]=_0x10163b,this[_0xd014cd(0x13e)]=_0x494ee1,this[_0xd014cd(_0x35c26._0x48fc8b)]=_0x10e668;}[_0xb3f911(0xc7)];[_0xb3f911(0x13e)];[_0xb3f911(0x12a)];static{__name(this,_0xb3f911(0x108));}[_0xb3f911(0xcc)]=0x1;['lastSnapshot']=null;[_0xb3f911(0x144)](){const _0x54f73d={_0x56daee:0x10a},_0x5b3edd={_0x2359d7:0xf4,_0x29f96c:0xd0},_0x3e07c2={_0x5dd45e:0xd3,_0x1cce06:0xd0},_0x1c76eb=_0xb3f911,_0x55ec09=this;function _0x1031a9(){const _0x460587=_0x3a2a,{depth:_0x3401a8,callStack:_0x2de22a}=callSite(_0x55ec09['shape'],_0x1031a9);return{'depth':_0x3401a8,'call':_0x55ec09[_0x460587(0xcc)]++,'callStack':_0x2de22a};}return __name(_0x1031a9,_0x1c76eb(_0x54f73d._0x56daee)),{'__enter':_0x1031a9,'__mark':__name((_0x24e7e7,_0x4c6b9d,_0x1699e4,_0x1c7a9d,_0x505d37)=>{const _0x3cae63=_0x1c76eb;return this[_0x3cae63(0x12e)]=_0x505d37,this[_0x3cae63(0xf4)]({'t':_0x3cae63(_0x3e07c2._0x5dd45e),'at':this[_0x3cae63(_0x3e07c2._0x1cce06)](_0x24e7e7,_0x4c6b9d,_0x1699e4),'frame':_0x1c7a9d??TOP});},_0x1c76eb(0xbf)),'__iter':__name((_0x417bdc,_0x9cbd65,_0x45fb0a,_0x8fd6f1)=>{const _0x3659cd=_0x1c76eb;this[_0x3659cd(_0x5b3edd._0x2359d7)]({'t':_0x3659cd(0xff),'at':this[_0x3659cd(_0x5b3edd._0x29f96c)](_0x417bdc,_0x9cbd65,_0x45fb0a),'frame':_0x8fd6f1??TOP});},_0x1c76eb(0x10e))};}[_0xb3f911(0xc9)](){const _0x23f03c={_0x6d02f5:0x12e},_0x3956ca=_0xb3f911;if(this[_0x3956ca(_0x23f03c._0x6d02f5)]===null)return void 0x0;const _0x3fb6da={};for(const [_0x4d11fe,_0x1f4187]of Object['entries'](this[_0x3956ca(0x12e)]()))_0x3fb6da[_0x4d11fe]=scopeValue(_0x1f4187);return _0x3fb6da;}['handOn'](_0x197f01){const _0x5df46b={_0x2a8517:0xc7},_0x3a49b1=_0xb3f911,_0x2cac30=this[_0x3a49b1(_0x5df46b._0x2a8517)][_0x3a49b1(0xb7)](_0x197f01);if(!_0x2cac30['ok'])throw new HostCallError(_0x2cac30['error']);return _0x2cac30['value']===!![];}[_0xb3f911(0xd0)](_0x28f095,_0x4e2df3,_0x1424ff){return{'file':this['files'][_0x28f095]??'','line':_0x4e2df3,'col':_0x1424ff};}};function startScenarioThread(_0x28bb5c,_0x5cec31){const _0x462b8b={_0x10be0a:0x121,_0x6a3ddc:0x12a,_0x39434f:0x105,_0x3c7a18:0xf5,_0x343e29:0xf7,_0x1c78e4:0x13a,_0x413276:0xca,_0xe848db:0xe6,_0x31ce53:0xb7,_0x3f1b54:0xea,_0x164c31:0x14e},_0x3c54a9={_0x5e61a5:0xea,_0xc7f741:0x115},_0x4118bd={_0x189ee5:0xb2},_0x5e4d72=_0xb3f911,_0x491a67=new WorkerChannel(_0x28bb5c[_0x5e4d72(0xb4)],_0x28bb5c[_0x5e4d72(_0x462b8b._0x10be0a)],_0x28bb5c[_0x5e4d72(0x116)]),_0x20f386={'files':new Set(_0x28bb5c[_0x5e4d72(_0x462b8b._0x6a3ddc)]['map'](_0x439949=>_0x439949['file'])),'topLevel':new Set(_0x28bb5c[_0x5e4d72(_0x462b8b._0x39434f)]),'entry':_0x28bb5c['testName'],'entryFile':_0x28bb5c['files'][0x0]?.[_0x5e4d72(0x149)]??''},_0x6d13ee=__name(_0x553e02=>callSite(_0x20f386,_0x553e02),_0x5e4d72(0xd0)),_0xe0ce02=new WorkerForms(_0x491a67,_0x6d13ee,_0x28bb5c['waitUntilTimeoutMs']),_0x5e26c0=new HostStubs(_0x491a67,{'names':_0x28bb5c[_0x5e4d72(_0x462b8b._0x3c7a18)],'pageCodeArgs':_0x28bb5c[_0x5e4d72(0xfd)],'site':_0x6d13ee}),_0x1e2294=new WorkerMarks(_0x491a67,_0x20f386,_0x28bb5c[_0x5e4d72(0x12a)][_0x5e4d72(0xed)](_0x4ebd1b=>_0x4ebd1b[_0x5e4d72(0x149)])),_0x31be9b=_0x2fd0e2[_0x5e4d72(_0x462b8b._0x343e29)]({..._0x5e26c0[_0x5e4d72(0x144)](),..._0xe0ce02['scenarioForms'](),..._0x1e2294[_0x5e4d72(0x144)]()},{'codeGeneration':{'strings':![],'wasm':![]}});for(const _0x57d2cf of _0x28bb5c[_0x5e4d72(_0x462b8b._0x1c78e4)]){Object[_0x5e4d72(0xfc)](_0x31be9b,_0x57d2cf,{'get':__name(()=>_0x5e26c0[_0x5e4d72(0xe2)](_0x57d2cf),_0x5e4d72(_0x462b8b._0x413276)),'configurable':!![]});}_0x28bb5c['commandPort']['on'](_0x5e4d72(0xbc),_0x487dce=>_0xe0ce02['playTeardown'](_0x487dce[_0x5e4d72(0x103)])),_0x5cec31['once'](_0x5e4d72(_0x462b8b._0xe848db),_0x553ee3=>{const _0x4a3bc3=_0x5e4d72;_0x491a67['post']({'t':_0x4a3bc3(_0x4118bd._0x189ee5),'error':toWireError(_0x553ee3),'softFailures':_0xe0ce02[_0x4a3bc3(0xd7)],...scopeOf(_0x1e2294)});}),_0x491a67[_0x5e4d72(_0x462b8b._0x31ce53)]({'t':_0x5e4d72(0x101)});for(const _0x442731 of _0x28bb5c['files'])new _0x2fd0e2['Script'](_0x442731[_0x5e4d72(0x127)],{'filename':_0x442731[_0x5e4d72(0x149)]})[_0x5e4d72(0x11a)](_0x31be9b);const _0x374846=_0x31be9b[_0x28bb5c['testName']];if(typeof _0x374846!=='function'){_0x491a67['post']({'t':_0x5e4d72(0xb2),'error':{'name':'Error','message':'Test\x20function\x20\x22'+_0x28bb5c[_0x5e4d72(_0x462b8b._0x3f1b54)]+_0x5e4d72(_0x462b8b._0x164c31)},'softFailures':[]});return;}setImmediate(()=>{const _0x5b8686=_0x5e4d72;callSync(()=>_0x374846(..._0x28bb5c[_0x5b8686(0x126)]),_0x28bb5c[_0x5b8686(_0x3c54a9._0x5e61a5)]),_0x491a67[_0x5b8686(_0x3c54a9._0xc7f741)]({'t':_0x5b8686(0xb2),'softFailures':_0xe0ce02[_0x5b8686(0xd7)],...scopeOf(_0x1e2294)});});}__name(startScenarioThread,_0xb3f911(0x119));function scopeOf(_0x2e2dcf){const _0x3ea1f8=_0xb3f911,_0x412225=_0x2e2dcf[_0x3ea1f8(0xc9)]();return _0x412225===void 0x0?{}:{'scope':_0x412225};}__name(scopeOf,_0xb3f911(0x14f)),startScenarioThread(workerData,process);
|
|
1
|
+
function _0x3279(_0x28c48c,_0x5b1687){_0x28c48c=_0x28c48c-0x171;const _0x1d16bf=_0x1d16();let _0x3279f5=_0x1d16bf[_0x28c48c];if(_0x3279['ThGjtU']===undefined){var _0x1cba18=function(_0x1da746){const _0x1fdcc3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x120e6d='',_0x41e8aa='';for(let _0x4c328d=0x0,_0x54194f,_0x498a81,_0x59c871=0x0;_0x498a81=_0x1da746['charAt'](_0x59c871++);~_0x498a81&&(_0x54194f=_0x4c328d%0x4?_0x54194f*0x40+_0x498a81:_0x498a81,_0x4c328d++%0x4)?_0x120e6d+=String['fromCharCode'](0xff&_0x54194f>>(-0x2*_0x4c328d&0x6)):0x0){_0x498a81=_0x1fdcc3['indexOf'](_0x498a81);}for(let _0x194a91=0x0,_0x453f31=_0x120e6d['length'];_0x194a91<_0x453f31;_0x194a91++){_0x41e8aa+='%'+('00'+_0x120e6d['charCodeAt'](_0x194a91)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x41e8aa);};_0x3279['MDFZIl']=_0x1cba18,_0x3279['EGxakT']={},_0x3279['ThGjtU']=!![];}const _0x4d490f=_0x1d16bf[0x0],_0x41bb41=_0x28c48c+_0x4d490f,_0x14a797=_0x3279['EGxakT'][_0x41bb41];return!_0x14a797?(_0x3279f5=_0x3279['MDFZIl'](_0x3279f5),_0x3279['EGxakT'][_0x41bb41]=_0x3279f5):_0x3279f5=_0x14a797,_0x3279f5;}const _0xf72ed6=_0x3279;(function(_0x7d428b,_0x36554a){const _0x53f41b={_0x3140e1:0x1e2,_0x2a024f:0x172,_0x4d4311:0x1e0,_0x1f68b1:0x202,_0x19d9b2:0x195},_0x421f15=_0x3279,_0x390d2e=_0x7d428b();while(!![]){try{const _0x6dabbb=parseInt(_0x421f15(_0x53f41b._0x3140e1))/0x1*(parseInt(_0x421f15(_0x53f41b._0x2a024f))/0x2)+-parseInt(_0x421f15(_0x53f41b._0x4d4311))/0x3+-parseInt(_0x421f15(_0x53f41b._0x1f68b1))/0x4+parseInt(_0x421f15(0x1c3))/0x5+-parseInt(_0x421f15(0x20a))/0x6+parseInt(_0x421f15(0x1c6))/0x7*(-parseInt(_0x421f15(0x1c5))/0x8)+parseInt(_0x421f15(_0x53f41b._0x19d9b2))/0x9;if(_0x6dabbb===_0x36554a)break;else _0x390d2e['push'](_0x390d2e['shift']());}catch(_0x3c8f1f){_0x390d2e['push'](_0x390d2e['shift']());}}}(_0x1d16,0xbfd3f));var __defProp=Object['defineProperty'],__name=(_0x41e8aa,_0x4c328d)=>__defProp(_0x41e8aa,_0xf72ed6(0x1d4),{'value':_0x4c328d,'configurable':!![]});import{workerData}from'worker_threads';import _0x120e6d from'vm';var STACK_DEPTH=0x80;function scenarioFrames(_0x54194f,_0x498a81){const _0x2b5098={_0x5770ee:0x203,_0x3e5eff:0x1a4,_0x3dea31:0x19b,_0x1f7bca:0x18e,_0x5bb843:0x183,_0x1d57e4:0x1d9,_0x57fa1f:0x1a4},_0xabeceb=_0xf72ed6,_0x59c871=Error[_0xabeceb(_0x2b5098._0x5770ee)],_0x194a91=Error[_0xabeceb(_0x2b5098._0x3e5eff)],_0x453f31={};try{Error[_0xabeceb(_0x2b5098._0x3e5eff)]=STACK_DEPTH,Error['prepareStackTrace']=(_0xd3e598,_0x3ab2ee)=>_0x3ab2ee,Error[_0xabeceb(0x1d2)](_0x453f31,_0x498a81);const _0x56da77=_0x453f31[_0xabeceb(_0x2b5098._0x3dea31)]??[],_0x30bdfc=[];for(const _0x489cd8 of _0x56da77){const _0x225394=_0x489cd8['getFileName']();if(_0x225394===void 0x0||_0x225394===null||!_0x54194f['has'](_0x225394))continue;_0x30bdfc[_0xabeceb(_0x2b5098._0x1f7bca)]({'file':_0x225394,'line':_0x489cd8[_0xabeceb(_0x2b5098._0x5bb843)]()??0x0,'col':_0x489cd8[_0xabeceb(_0x2b5098._0x1d57e4)]()??0x0,'fn':_0x489cd8['getFunctionName']()??''});}return _0x30bdfc;}finally{Error[_0xabeceb(0x203)]=_0x59c871,Error[_0xabeceb(_0x2b5098._0x57fa1f)]=_0x194a91;}}__name(scenarioFrames,_0xf72ed6(0x17f));function callSite(_0x43194f,_0x1b6771){const _0x2ed2bf={_0x59068f:0x1d0,_0x328fd7:0x19a,_0x13e41d:0x17e,_0x3dd8d2:0x1ac,_0x56cd78:0x1c1,_0x488a90:0x194},_0xf641f4=_0xf72ed6,_0x5ae030=scenarioFrames(_0x43194f['files'],_0x1b6771),_0x4202c5=_0x5ae030[0x0],_0x33e01f=_0x5ae030[_0xf641f4(_0x2ed2bf._0x59068f)](_0x2e1aae=>_0x2e1aae['fn'])[_0xf641f4(_0x2ed2bf._0x328fd7)](_0x4a837b=>_0x4a837b!==_0x43194f['entry']&&_0x43194f['topLevel'][_0xf641f4(0x1bc)](_0x4a837b))[_0xf641f4(_0x2ed2bf._0x13e41d)](),_0x1589fb=_0x5ae030[_0xf641f4(_0x2ed2bf._0x3dd8d2)];return _0x4202c5?{'file':_0x4202c5[_0xf641f4(0x19f)],'line':_0x4202c5[_0xf641f4(_0x2ed2bf._0x56cd78)],'col':_0x4202c5[_0xf641f4(0x1fa)],'callStack':_0x33e01f,'depth':_0x1589fb}:{'file':_0x43194f[_0xf641f4(_0x2ed2bf._0x488a90)],'line':0x0,'col':0x0,'callStack':_0x33e01f,'depth':_0x1589fb};}__name(callSite,_0xf72ed6(0x1bd));var HOST_VALUE_KEY='@@unotest/host-value';function isPlain(_0x5b58ed){const _0x5b0620={_0x122f0b:0x209},_0x381db5=_0xf72ed6;if(Array[_0x381db5(0x1cf)](_0x5b58ed))return!![];const _0x36995f=Object[_0x381db5(_0x5b0620._0x122f0b)](_0x5b58ed);return _0x36995f===null||Object['getPrototypeOf'](_0x36995f)===null;}__name(isPlain,'isPlain');function isWireHostValue(_0x4985fe){const _0x200773=_0xf72ed6;return _0x4985fe!==null&&typeof _0x4985fe===_0x200773(0x1f9)&&HOST_VALUE_KEY in _0x4985fe;}__name(isWireHostValue,_0xf72ed6(0x1ec));function mapInside(_0x171955,_0x232ba7,_0xcb72a0){const _0x22978e={_0x409494:0x1f9,_0x544052:0x185,_0x3cd3d4:0x206},_0x1fedfd={_0x3f6f04:0x1b3,_0x441fbf:0x182},_0x56cf83=_0xf72ed6;if(_0x171955===null||typeof _0x171955!==_0x56cf83(_0x22978e._0x409494)||_0xcb72a0[_0x56cf83(0x1bc)](_0x171955))return _0x171955;const _0x2dfa91=_0x232ba7(_0x171955);if(_0x2dfa91!==void 0x0)return _0x2dfa91;if(!isPlain(_0x171955))return _0x171955;_0xcb72a0[_0x56cf83(0x1a9)](_0x171955);const _0x57e901=Object['entries'](_0x171955);let _0x52d3ac=null;_0x57e901[_0x56cf83(_0x22978e._0x544052)](([_0x2bd50f,_0x1927a9],_0x43c00b)=>{const _0xe4fb86=_0x56cf83,_0x11aa96=mapInside(_0x1927a9,_0x232ba7,_0xcb72a0);if(_0x11aa96!==_0x1927a9&&_0x52d3ac===null)_0x52d3ac=Object[_0xe4fb86(_0x1fedfd._0x3f6f04)](_0x57e901[_0xe4fb86(_0x1fedfd._0x441fbf)](0x0,_0x43c00b));if(_0x52d3ac!==null)_0x52d3ac[_0x2bd50f]=_0x11aa96;});if(_0x52d3ac===null)return _0x171955;return Array[_0x56cf83(0x1cf)](_0x171955)?Object[_0x56cf83(_0x22978e._0x3cd3d4)]([],_0x52d3ac):_0x52d3ac;}__name(mapInside,'mapInside');var ReservedKeyError=class extends Error{static{__name(this,'ReservedKeyError');}constructor(){const _0x2d489d={_0x4c181f:0x1b4},_0x59a94f=_0xf72ed6;super(_0x59a94f(0x20c)+HOST_VALUE_KEY+'\x22\x20cannot\x20be\x20passed\x20to\x20a\x20DSL\x20function:\x20the\x20key\x20is\x20the\x20runner\x27s\x20own'),this[_0x59a94f(0x1d4)]=_0x59a94f(_0x2d489d._0x4c181f);}},ScenarioHostValues=class{static{__name(this,'ScenarioHostValues');}['ids']=new WeakMap();[_0xf72ed6(0x196)](_0x1f2a69){const _0x382b95={_0x241cac:0x1e8,_0xec56e2:0x1ad};return mapInside(_0x1f2a69,_0x1d9297=>{const _0x3b4e18=_0x3279;if(!isWireHostValue(_0x1d9297))return void 0x0;const _0x7c9656=Object[_0x3b4e18(0x17b)](this[_0x3b4e18(0x196)](_0x1d9297[_0x3b4e18(0x1a5)]));return this[_0x3b4e18(_0x382b95._0x241cac)][_0x3b4e18(_0x382b95._0xec56e2)](_0x7c9656,_0x1d9297[HOST_VALUE_KEY]),_0x7c9656;},new Set());}[_0xf72ed6(0x1a2)](_0x258bc5){const _0x55026d={_0x4e7489:0x1e8,_0x55da0d:0x1b9};return mapInside(_0x258bc5,_0x513eca=>{const _0x3bd452=_0x3279,_0x542fa6=this[_0x3bd452(_0x55026d._0x4e7489)][_0x3bd452(_0x55026d._0x55da0d)](_0x513eca);if(_0x542fa6!==void 0x0)return{[HOST_VALUE_KEY]:_0x542fa6,'fields':{}};if(HOST_VALUE_KEY in _0x513eca)throw new ReservedKeyError();return void 0x0;},new Set());}};import{isCheckFailure}from'@unotest/dsl/executor';var HostCallError=class extends Error{constructor(_0x292eef){const _0x4a40a7=_0xf72ed6;super(_0x292eef[_0x4a40a7(0x177)]),this[_0x4a40a7(0x20b)]=_0x292eef,this[_0x4a40a7(0x1d4)]=_0x292eef[_0x4a40a7(0x1d4)];}[_0xf72ed6(0x20b)];static{__name(this,_0xf72ed6(0x176));}};function toWireError(_0x3dc5c4){const _0x24cf37={_0x555e90:0x177,_0xff9422:0x19b,_0x136694:0x1be},_0x1cd232=_0xf72ed6;if(_0x3dc5c4 instanceof HostCallError)return _0x3dc5c4[_0x1cd232(0x20b)];if(_0x3dc5c4 instanceof Error)return{'name':_0x3dc5c4['name'],'message':_0x3dc5c4[_0x1cd232(_0x24cf37._0x555e90)],..._0x3dc5c4[_0x1cd232(_0x24cf37._0xff9422)]!==void 0x0?{'stack':_0x3dc5c4['stack']}:{},...isCheckFailure(_0x3dc5c4)?{'checkFailure':!![]}:{}};return{'name':_0x1cd232(_0x24cf37._0x136694),'message':String(_0x3dc5c4)};}__name(toWireError,_0xf72ed6(0x1bb));var MB=0x400*0x400;function isIterator(_0x3ce9d3){const _0xb8ce3c={_0x108cce:0x1da},_0x5797b5=_0xf72ed6,_0x27cb47=_0x3ce9d3;return typeof _0x27cb47[_0x5797b5(_0xb8ce3c._0x108cce)]==='function'&&typeof _0x27cb47[Symbol[_0x5797b5(0x198)]]==='function';}__name(isIterator,_0xf72ed6(0x184));function hasInheritedKey(_0x4bb53a){const _0x342fed=_0xf72ed6;for(const _0x12da6f in _0x4bb53a)if(!Object[_0x342fed(0x201)](_0x4bb53a,_0x12da6f))return!![];return![];}__name(hasInheritedKey,'hasInheritedKey');function _0x1d16(){const _0x149e10=['y3jLyxrL','AxrLCMf0B3i','DgLTzw91De1Z','zMLSDgvY','C3rHy2S','B3b0CW','zw50CMLLCW','yMXVy2Tqyxj0CW','zMLSzq','Ag9ZDfzHBhvLCW','Dg9tDhjPBMC','Dg9xAxjL','z2XVyMfSCW','C3rHy2TuCMfJzuXPBwL0','zMLLBgrZ','C29MDezHAwX1CMvZ','BgfIzwW','zgvSzxrL','ywrK','DgHLig1HAw4GDgHYzwfKihjHAxnLzcbPDhmGCMvWBhKGzMXHzYb3AxrOig5VihjLCgX5ig9UihrOzsbWB3j0','D2fPDa','BgvUz3rO','C2v0','AgfUze9U','x19TyxjR','DMfSDwvZ','zNvUy3rPB24','Ag9ZDe5HBwvZ','zNjVBuvUDhjPzxm','uMvZzxj2zwrlzxLfCNjVCG','zxjYB3i','yMXVy2STC3rHCNq','Dg9Wtgv2zwW','CgXHEvrLyxjKB3DU','z2v0','x19PDgvY','Dg9xAxjLrxjYB3i','AgfZ','y2fSBfnPDgu','rxjYB3i','CgfNzunVzgvbCMDZ','zMXHzW','BgLUzq','C2XLzxa','ntGWntq0mgn0vwvYqW','AxnmB2nHDg9Yrgf0yq','mZjHAwj5DKy','mte4nte3rgHtzuLH','CNvUu3rLCa','u2nYAxb0','DgvHCMrVD25Z','v29YA2vYtwfYA3m','AgfUzgXL','DgHLigjVzhKGB2yGD2fPDfvUDgLS','A2v5CW','y2fSBfn5BMm','AxnbCNjHEq','BwfW','y29TBwfUzfbVCNq','y2fWDhvYzvn0ywnRvhjHy2u','DMfY','BMfTzq','C2nVCgu','CMvXDwvZDa','Cg9SBa','qMXVy2TgB3jTu2HHCgvfCNjVCG','z2v0q29SDw1UtNvTyMvY','BMv4Da','CMvWBhLqB3j0','CNvUsw5dB250zxH0','C2L0zq','Cg9ZDa','y3jLyxrLq29UDgv4Da','nde0ntu0n3HrwuzABW','yMXVy2STzw5K','mwvWwgDesW','v29YA2vYrM9YBxm','A2LUza','zMLSzxm','DgHLigjVzhKGB2yGC3rLCc5ZB2z0ici','DgHLigjVzhKGB2yGyxnZzxj0tMv2zxi','AwrZ','sg9ZDfn0DwjZ','Cg9ZDe1LC3nHz2u','zgvMAw5LuhjVCgvYDhK','AxnxAxjLsg9ZDfzHBhvL','CNvUu29MDfn0zxa','DMfSDwu','Bg9JyxrVCG','x19LBNrLCG','DgHLihjVBgXIywnRigjSB2nRici','qxn5BMncB2r5rxjYB3i','B25Jzq','AxnuAgvUywjSzq','BMv4DeHHBMrSzq','y2HHAw5Lza','DgvZDe5HBwu','Aw50zxj2ywXnCW','B2jQzwn0','y29S','C3rHCNq','CMvHzfzHCG','CMvKDwnL','iIbUB3qGzM91BMqGAw4GC2nLBMfYAw8Gqvnu','C2TPCa','C2XLzxbLCG','AgfZt3DU','nti2ndy3mMDKCg5urG','ChjLCgfYzvn0ywnRvhjHy2u','Bg9JyxrVCLbYB3rV','CMvWBgLLCW','yxnZAwDU','DgfN','y2fSBa','z2v0uhjVDg90ExbLt2y','odu4ntm4ogfnCurXDq','D2LYzq','yw4GB2jQzwn0ihDPDgGGDgHLigTLEsaI','AxrLCG','mJe3mZmXmeHsB1bMzG','D2L0AgLUtxm','CMvNAxn0zxi','C29MDa','sg9ZDenHBgXfCNjVCG','BwvZC2fNzq','D2fPDfvUDgLSvgLTzw91De1Z','yxnZzxj0tMv2zxi','BM8GCM9SBgjHy2SGyMXVy2SG','zNjLzxPL','C3rLChm','CgXHEwvK','CMv2zxjZzq','C2nLBMfYAw9gCMfTzxm','BMfTzxm','BwfYAW','C2XPy2u','z2v0tgLUzu51BwjLCG','AxnjDgvYyxrVCG','zM9YrwfJAa','v29YA2vYq2HHBM5LBa','C2LNBMfS','DMfYtMfTzxm','CMvMDxnHBeLU','zg9Uzq','DgvHCMrVD24','zxzLBNrZ','C2nLBMfYAw9gB3jTCW','ChvZAa','BMv4DenHBgW','BgfZDfnUyxbZAg90','C3rLCa','C2HHCgu','Dw5JyxvNAhrfEgnLChrPB24','zw50CNLgAwXL','mJq2mte2mdDby3P5z0S','zNjVBvDPCMu'];_0x1d16=function(){return _0x149e10;};return _0x1d16();}function refusalIn(_0x3420bf,_0x4f0352){const _0x595994={_0xad6111:0x1cd},_0x50bdbd=_0xf72ed6;if(typeof _0x3420bf==='function')return _0x50bdbd(0x1b1);if(_0x3420bf===null||typeof _0x3420bf!==_0x50bdbd(0x1f9)||_0x4f0352[_0x50bdbd(0x1bc)](_0x3420bf))return null;if(isIterator(_0x3420bf))return'iterator';if(hasInheritedKey(_0x3420bf))return'inherited';_0x4f0352['add'](_0x3420bf);const _0x224f46=_0x3420bf instanceof Map?[..._0x3420bf[_0x50bdbd(_0x595994._0xad6111)](),..._0x3420bf[_0x50bdbd(0x1b0)]()]:_0x3420bf instanceof Set?[..._0x3420bf]:Object['values'](_0x3420bf);for(const _0x51ac4a of _0x224f46){const _0x2131e7=refusalIn(_0x51ac4a,_0x4f0352);if(_0x2131e7!==null)return _0x2131e7;}return null;}__name(refusalIn,_0xf72ed6(0x189));function isLocatorData(_0x6cbd33){const _0x2bc978={_0x2821b2:0x1e4,_0x4c1e94:0x1ef},_0x5c372e=_0xf72ed6;return _0x6cbd33!==null&&typeof _0x6cbd33==='object'&&_0x6cbd33[_0x5c372e(_0x2bc978._0x2821b2)]===_0x5c372e(_0x2bc978._0x4c1e94)&&Array['isArray'](_0x6cbd33['steps']);}__name(isLocatorData,_0xf72ed6(0x1c4));var HostStubs=class{constructor(_0x41cd1,_0x417a81){const _0x11c654={_0x514102:0x197,_0x547e02:0x1eb},_0x4e4988={_0x2f31e1:0x1e4},_0x27d0d3=_0xf72ed6;this['wire']=_0x41cd1,this[_0x27d0d3(0x19c)]=_0x417a81;const _0x604bd0=Object[_0x27d0d3(_0x11c654._0x514102)](null),_0x3af499=this;for(const _0x59d177 of _0x417a81[_0x27d0d3(0x180)]){Object[_0x27d0d3(_0x11c654._0x547e02)](_0x604bd0,_0x59d177,{'value':__name(function _0x3937ef(..._0x401c8d){const _0x1ba1ff=_0x27d0d3;return _0x3af499['call'](_0x59d177,[{'kind':this[_0x1ba1ff(_0x4e4988._0x2f31e1)],'steps':this[_0x1ba1ff(0x17c)]},..._0x401c8d],_0x3937ef);},_0x27d0d3(0x1f6))});}this[_0x27d0d3(0x204)]=_0x604bd0;}[_0xf72ed6(0x20b)];['opts'];static{__name(this,_0xf72ed6(0x1e9));}[_0xf72ed6(0x204)];[_0xf72ed6(0x1a0)]=new ScenarioHostValues();[_0xf72ed6(0x1a3)](){const _0x248f13={_0x1a1b44:0x180},_0x1df902={_0x3f80e9:0x208},_0x374f72=_0xf72ed6,_0x44a2ce={};for(const _0x471e78 of this[_0x374f72(0x19c)][_0x374f72(_0x248f13._0x1a1b44)]){const _0x47ca73=this;_0x44a2ce[_0x471e78]=__name(function _0x28c594(..._0x2551bb){const _0xa08248=_0x374f72;return _0x47ca73[_0xa08248(_0x1df902._0x3f80e9)](_0x471e78,_0x2551bb,_0x28c594);},'stub');}return _0x44a2ce;}['readVar'](_0xe9d0e6){const _0x302214={_0x36eee3:0x1d6,_0x1b5718:0x1d3},_0x36694d=_0xf72ed6,_0x59e589=this[_0x36694d(0x20b)][_0x36694d(_0x302214._0x36eee3)]({'t':_0x36694d(_0x302214._0x1b5718),'name':_0xe9d0e6});if(!_0x59e589['ok'])throw new HostCallError(_0x59e589[_0x36694d(0x1b5)]);return _0x59e589[_0x36694d(0x1ee)];}[_0xf72ed6(0x208)](_0x21df4c,_0x55218a,_0x3a23ae){const _0x31d830={_0x209597:0x19c,_0x5f3da2:0x20b,_0x5e8cdc:0x1a2,_0x2234bf:0x1b5,_0xc7e3d6:0x1ee,_0x4f1b29:0x204},_0x3d23da=_0xf72ed6,_0x2f83ea=this[_0x3d23da(0x19c)][_0x3d23da(0x1dd)](_0x3a23ae),_0x477313=this[_0x3d23da(_0x31d830._0x209597)]['pageCodeArgs'][_0x21df4c],_0x3b8941=_0x55218a[_0x3d23da(0x1d0)]((_0x1a43f7,_0x5ee633)=>_0x5ee633===_0x477313&&typeof _0x1a43f7===_0x3d23da(0x1b1)?_0x1a43f7[_0x3d23da(0x1a1)]():_0x1a43f7),_0xcffef2=new Set(),_0xfdd46d=_0x3b8941[_0x3d23da(0x1fd)]((_0x33c5bc,_0x11e185)=>_0x33c5bc??refusalIn(_0x11e185,_0xcffef2),null),_0x54da2c=this[_0x3d23da(_0x31d830._0x5f3da2)]['request'](_0xfdd46d?{'t':'call','name':_0x21df4c,'args':[],'at':_0x2f83ea,'refused':_0xfdd46d}:{'t':'call','name':_0x21df4c,'args':this['hostValues'][_0x3d23da(_0x31d830._0x5e8cdc)](_0x3b8941),'at':_0x2f83ea});if(!_0x54da2c['ok'])throw new HostCallError(_0x54da2c[_0x3d23da(_0x31d830._0x2234bf)]);const _0xd643fd=this['hostValues']['fromWire'](_0x54da2c[_0x3d23da(_0x31d830._0xc7e3d6)]);return isLocatorData(_0xd643fd)?Object['setPrototypeOf'](_0xd643fd,this[_0x3d23da(_0x31d830._0x4f1b29)]):_0xd643fd;}};import{receiveMessageOnPort}from'worker_threads';var WorkerChannel=class{constructor(_0x116358,_0x11864b,_0x3bc5e6){const _0x36bcba={_0x3a3283:0x18c},_0x45e5e0=_0xf72ed6;this[_0x45e5e0(_0x36bcba._0x3a3283)]=_0x11864b,this[_0x45e5e0(0x205)]=_0x3bc5e6,this[_0x45e5e0(0x1c0)]=new Int32Array(_0x116358);}[_0xf72ed6(0x18c)];[_0xf72ed6(0x205)];static{__name(this,_0xf72ed6(0x186));}['flag'];['sleeper']=new Int32Array(new SharedArrayBuffer(0x4));[_0xf72ed6(0x1de)](_0x31edaa){const _0x22e76d={_0x5f2b5d:0x18c,_0x332f99:0x1ea},_0x28aae2=_0xf72ed6;this[_0x28aae2(_0x22e76d._0x5f2b5d)][_0x28aae2(_0x22e76d._0x332f99)](_0x31edaa);}['request'](_0xa3472a){const _0x425126={_0x2525ee:0x1de,_0x3e293c:0x1c0,_0x44eb13:0x205,_0x3724b6:0x1aa},_0x3e4248=_0xf72ed6;this[_0x3e4248(_0x425126._0x2525ee)](_0xa3472a),Atomics[_0x3e4248(0x1ab)](this['flag'],0x0,0x0),Atomics['store'](this[_0x3e4248(_0x425126._0x3e293c)],0x0,0x0);const _0x4a547a=receiveMessageOnPort(this[_0x3e4248(_0x425126._0x44eb13)]);if(_0x4a547a===void 0x0)throw new Error(_0x3e4248(_0x425126._0x3724b6));return _0x4a547a[_0x3e4248(0x177)];}[_0xf72ed6(0x1c2)](_0x4a4896){const _0x4ce6b9=_0xf72ed6;Atomics[_0x4ce6b9(0x1ab)](this[_0x4ce6b9(0x200)],0x0,0x0,_0x4a4896);}};import{assertNeverVerdict,blockFormShapeText,pollWindowSync,readAssertNeverOptions,readWaitUntilOptions,tagText,waitUntilVerdict}from'@unotest/dsl/executor';var AsyncBodyError=class extends Error{static{__name(this,_0xf72ed6(0x1f2));}constructor(_0x458d46){const _0x1ee8ae={_0x39b01e:0x1d4},_0x58a96a=_0xf72ed6;super(_0x458d46+'\x20returned\x20a\x20promise:\x20an\x20async\x20function\x20is\x20not\x20waited\x20for,\x20and\x20what\x20follows\x20its\x20first\x20await\x20would\x20run\x20after\x20the\x20test\x20is\x20over\x20—\x20drop\x20async\x20and\x20await;\x20DSL\x20calls\x20return\x20their\x20result.'),this[_0x58a96a(_0x1ee8ae._0x39b01e)]='AsyncBodyError';}};function isThenable(_0x2bc37d){const _0x3a6285={_0xaa06e5:0x1f9},_0x2d9574=_0xf72ed6;return(typeof _0x2bc37d===_0x2d9574(_0x3a6285._0xaa06e5)||typeof _0x2bc37d===_0x2d9574(0x1b1))&&_0x2bc37d!==null&&typeof _0x2bc37d['then']===_0x2d9574(0x1b1);}__name(isThenable,_0xf72ed6(0x1f4));function callSync(_0x58fc02,_0x4b9d57){const _0x22bf19=_0x58fc02();if(!isThenable(_0x22bf19))return _0x22bf19;_0x22bf19['then'](void 0x0,()=>{});throw new AsyncBodyError(_0x4b9d57);}__name(callSync,_0xf72ed6(0x1ce));var BlockFormShapeError=class extends Error{static{__name(this,_0xf72ed6(0x1d8));}constructor(_0x203c06){const _0x5d885e={_0x6625ce:0x1d8},_0x2f55a3=_0xf72ed6;super(_0x203c06),this[_0x2f55a3(0x1d4)]=_0x2f55a3(_0x5d885e._0x6625ce);}};function refuseMisshapen(_0x54b403,_0x3b353b,_0x3b7910){const _0x5bf8ce=_0xf72ed6;if(typeof _0x3b353b===_0x5bf8ce(0x1b1)||typeof _0x3b7910!=='function')throw new BlockFormShapeError(blockFormShapeText(_0x54b403));}__name(refuseMisshapen,'refuseMisshapen');function blockParts(_0xa26ac2){const _0x24ec92={_0x1ecf7d:0x1b1,_0x1efe7e:0x191,_0x11ce45:0x207},_0x5079e3=_0xf72ed6,[_0x427bd7,_0x8cb5e8,_0x2bfca8]=_0xa26ac2,_0x3bebfd=typeof _0x8cb5e8!==_0x5079e3(_0x24ec92._0x1ecf7d),_0x1cd9d3=_0x3bebfd?_0x8cb5e8:void 0x0,_0x556bdd=_0x3bebfd?_0x2bfca8:_0x8cb5e8;return refuseMisshapen(_0x5079e3(_0x24ec92._0x1efe7e),_0x427bd7,_0x556bdd),{'label':String(_0x427bd7),..._0x1cd9d3?.[_0x5079e3(0x207)]!==void 0x0?{'tag':tagText(_0x1cd9d3[_0x5079e3(_0x24ec92._0x11ce45)])}:{},'body':_0x556bdd};}__name(blockParts,_0xf72ed6(0x19e));var WorkerForms=class{constructor(_0x2cdd97,_0x207ee2,_0x572b99){const _0xef69d={_0x51bb84:0x20b,_0x1aa02f:0x1dd},_0x30f9a7=_0xf72ed6;this[_0x30f9a7(_0xef69d._0x51bb84)]=_0x2cdd97,this[_0x30f9a7(_0xef69d._0x1aa02f)]=_0x207ee2,this['waitUntilTimeoutMs']=_0x572b99;}['wire'];[_0xf72ed6(0x1dd)];[_0xf72ed6(0x178)];static{__name(this,_0xf72ed6(0x1e3));}[_0xf72ed6(0x1a6)]=[];[_0xf72ed6(0x1c9)]=new Map();['nextHandle']=0x1;[_0xf72ed6(0x18d)](){const _0x4c3d8a={_0x3170d7:0x175,_0x4717cc:0x179},_0x3205b9={_0x239f13:0x1d7,_0xc289e0:0x1f8},_0x1f6d03={_0x39cde0:0x199,_0x4a739e:0x1f8},_0x488633={_0x3ba30f:0x1ed},_0x1fd8e8={_0x2954ef:0x1dd},_0xfb2973=_0xf72ed6,_0x4248e9=this;function _0x5a481e(..._0x15b7dc){const _0x561a63=_0x3279;_0x4248e9['runStep'](_0x15b7dc,_0x4248e9[_0x561a63(_0x1fd8e8._0x2954ef)](_0x5a481e));}__name(_0x5a481e,_0xfb2973(0x191)),_0x5a481e[_0xfb2973(0x175)]=__name(function _0x1e26d0(..._0x2c9d61){const _0x250d0b=_0xfb2973;_0x4248e9[_0x250d0b(_0x488633._0x3ba30f)](_0x2c9d61,_0x4248e9['site'](_0x1e26d0));},_0xfb2973(_0x4c3d8a._0x3170d7));function _0x3760df(_0x23f5fb,_0x2d1f48){const _0x2acfcb=_0xfb2973;refuseMisshapen(_0x2acfcb(0x18b),_0x23f5fb,_0x2d1f48),_0x4248e9[_0x2acfcb(0x174)](String(_0x23f5fb),_0x2d1f48,_0x4248e9[_0x2acfcb(0x1dd)](_0x3760df));}__name(_0x3760df,'teardown');function _0x230ea5(_0x1e3abe,_0x4f63e2){const _0x4bc4eb=_0xfb2973,_0x32285a=readWaitUntilOptions(_0x4f63e2,_0x4248e9[_0x4bc4eb(0x178)]);return waitUntilVerdict(_0x4248e9[_0x4bc4eb(0x1d7)](()=>callSync(_0x1e3abe,_0x4bc4eb(0x1cc)),_0x32285a[_0x4bc4eb(_0x1f6d03._0x39cde0)],_0x32285a[_0x4bc4eb(_0x1f6d03._0x4a739e)]),_0x32285a);}__name(_0x230ea5,'waitUntil');function _0x1bf576(_0x2cf63f,_0x32d551){const _0x4da1fe=_0xfb2973,_0x33c7e1=readAssertNeverOptions(_0x32d551);assertNeverVerdict(_0x4248e9[_0x4da1fe(_0x3205b9._0x239f13)](()=>callSync(_0x2cf63f,_0x4da1fe(0x1e7)),_0x33c7e1[_0x4da1fe(0x173)],_0x33c7e1[_0x4da1fe(_0x3205b9._0xc289e0)]),_0x33c7e1);}return __name(_0x1bf576,_0xfb2973(_0x4c3d8a._0x4717cc)),{'step':_0x5a481e,'teardown':_0x3760df,'waitUntil':_0x230ea5,'assertNever':_0x1bf576};}[_0xf72ed6(0x1b8)](_0x1d93c5){const _0x31ffa8={_0x1587b9:0x1c9,_0x39a9a5:0x17a,_0x59ab95:0x1c9,_0x1643e6:0x20b,_0x5099dc:0x1f1,_0x319ea3:0x1a7,_0x315a72:0x20b,_0x2e9834:0x1de,_0x3212d7:0x20b},_0x5638e0=_0xf72ed6,_0x218b43=this[_0x5638e0(_0x31ffa8._0x1587b9)]['get'](_0x1d93c5);if(_0x218b43===void 0x0){this['wire']['post']({'t':_0x5638e0(0x17d),'handle':_0x1d93c5,'error':{'name':'Error','message':_0x5638e0(_0x31ffa8._0x39a9a5)+_0x1d93c5+'\x20on\x20this\x20thread'}});return;}this[_0x5638e0(_0x31ffa8._0x59ab95)][_0x5638e0(0x1a8)](_0x1d93c5);const _0x427d02={'label':_0x218b43[_0x5638e0(0x1a7)],'soft':![],'teardown':!![],'at':_0x218b43['at']};this[_0x5638e0(_0x31ffa8._0x1643e6)][_0x5638e0(0x1de)]({'t':_0x5638e0(0x1b6),..._0x427d02});try{callSync(_0x218b43['body'],_0x5638e0(_0x31ffa8._0x5099dc)+_0x218b43[_0x5638e0(_0x31ffa8._0x319ea3)]+'\x22');}catch(_0x3f0dcd){const _0x192d96=toWireError(_0x3f0dcd);this[_0x5638e0(_0x31ffa8._0x315a72)][_0x5638e0(0x1de)]({'t':'block-end','ok':![],'error':_0x192d96,..._0x427d02}),this[_0x5638e0(0x20b)][_0x5638e0(_0x31ffa8._0x2e9834)]({'t':'played','handle':_0x1d93c5,'error':_0x192d96});return;}this[_0x5638e0(0x20b)][_0x5638e0(0x1de)]({'t':_0x5638e0(0x1e1),'ok':!![],..._0x427d02}),this[_0x5638e0(_0x31ffa8._0x3212d7)][_0x5638e0(0x1de)]({'t':'played','handle':_0x1d93c5});}[_0xf72ed6(0x1c7)](_0x4d2f05,_0x4ba7ae){const _0x102571={_0x2dac98:0x1de,_0x44e7dc:0x1b6},_0x435105=_0xf72ed6,{body:_0x498e37,..._0x4791f2}=blockParts(_0x4d2f05),_0x3fc5fb={..._0x4791f2,'soft':![],'at':_0x4ba7ae};this[_0x435105(0x20b)][_0x435105(_0x102571._0x2dac98)]({'t':_0x435105(_0x102571._0x44e7dc),..._0x3fc5fb}),callSync(_0x498e37,'the\x20body\x20of\x20step\x20\x22'+_0x4791f2[_0x435105(0x1a7)]+'\x22'),this['wire']['post']({'t':'block-end','ok':!![],..._0x3fc5fb});}[_0xf72ed6(0x1ed)](_0xc69486,_0x310dba){const _0x78c3f3={_0x4f885c:0x1b6,_0x3553d0:0x1e6,_0x3ab1a6:0x1de,_0x1cccd:0x207,_0x39cbd1:0x20b},_0x2e367b=_0xf72ed6,{body:_0x279228,..._0x5380d2}=blockParts(_0xc69486),_0x2f7a05={..._0x5380d2,'soft':!![],'at':_0x310dba};this[_0x2e367b(0x20b)][_0x2e367b(0x1de)]({'t':_0x2e367b(_0x78c3f3._0x4f885c),..._0x2f7a05});try{callSync(_0x279228,_0x2e367b(_0x78c3f3._0x3553d0)+_0x5380d2[_0x2e367b(0x1a7)]+'\x22');}catch(_0x49881b){const _0x8bff06=toWireError(_0x49881b);if(_0x49881b instanceof HostCallError&&_0x49881b[_0x2e367b(0x20b)][_0x2e367b(0x1ff)]){this[_0x2e367b(0x20b)][_0x2e367b(_0x78c3f3._0x3ab1a6)]({'t':'block-end','ok':!![],'skipped':!![],..._0x2f7a05});throw _0x49881b;}this['softFailures'][_0x2e367b(0x18e)]({'label':_0x5380d2[_0x2e367b(0x1a7)],..._0x5380d2[_0x2e367b(_0x78c3f3._0x1cccd)]!==void 0x0?{'tag':_0x5380d2['tag']}:{},'at':_0x310dba,'error':_0x8bff06}),this[_0x2e367b(_0x78c3f3._0x39cbd1)]['post']({'t':'block-end','ok':![],'error':_0x8bff06,..._0x2f7a05});return;}this[_0x2e367b(_0x78c3f3._0x39cbd1)][_0x2e367b(0x1de)]({'t':_0x2e367b(0x1e1),'ok':!![],..._0x2f7a05});}['register'](_0x34ec4a,_0x181905,_0x39c421){const _0x235a91={_0x33eff0:0x1c9,_0x520ebd:0x18b},_0x647904=_0xf72ed6,_0x3adece=this[_0x647904(0x1f5)]++;this[_0x647904(_0x235a91._0x33eff0)][_0x647904(0x1ad)](_0x3adece,{'label':_0x34ec4a,'body':_0x181905,'at':_0x39c421});const _0xe165c5=this[_0x647904(0x20b)][_0x647904(0x1d6)]({'t':_0x647904(_0x235a91._0x520ebd),'label':_0x34ec4a,'handle':_0x3adece,'at':_0x39c421});if(!_0xe165c5['ok']){this['teardowns'][_0x647904(0x1a8)](_0x3adece);throw new HostCallError(_0xe165c5[_0x647904(0x1b5)]);}}[_0xf72ed6(0x1d7)](_0x332c17,_0x5c135a,_0x1620b1){const _0x5a7e2=_0xf72ed6;return pollWindowSync(_0x332c17,Boolean,_0x5c135a,_0x1620b1,_0x39b0d8=>this[_0x5a7e2(0x20b)][_0x5a7e2(0x1c2)](_0x39b0d8));}},TOP={'depth':0x0,'call':0x0,'callStack':[]};function scopeValue(_0x4f790b){const _0x3393da=_0xf72ed6;if(typeof _0x4f790b===_0x3393da(0x1b1))return'ƒ\x20'+_0x4f790b[_0x3393da(0x1d4)];try{return structuredClone(_0x4f790b);}catch{return String(_0x4f790b);}}__name(scopeValue,'scopeValue');var WorkerMarks=class{constructor(_0x2352d2,_0x4b5541,_0x41c520){const _0x4cc742={_0x3a4663:0x192,_0xdce808:0x1e5},_0x4ae99a=_0xf72ed6;this['wire']=_0x2352d2,this[_0x4ae99a(_0x4cc742._0x3a4663)]=_0x4b5541,this[_0x4ae99a(_0x4cc742._0xdce808)]=_0x41c520;}[_0xf72ed6(0x20b)];[_0xf72ed6(0x192)];['files'];static{__name(this,_0xf72ed6(0x1ca));}['nextCall']=0x1;['lastSnapshot']=null;[_0xf72ed6(0x1a3)](){const _0x4ce14d={_0x554d9c:0x1af,_0x3b5b99:0x1ba},_0x17f2ff={_0x368c6e:0x1ae},_0x2ad2db={_0x4d8b02:0x1dd},_0x33a9bb={_0x6ad0d4:0x18f},_0x14c207=_0xf72ed6,_0x4a3417=this;function _0x5dd82f(){const _0x695ca3=_0x3279,{depth:_0x263135,callStack:_0x3ed28b}=callSite(_0x4a3417[_0x695ca3(0x192)],_0x5dd82f);return{'depth':_0x263135,'call':_0x4a3417[_0x695ca3(_0x33a9bb._0x6ad0d4)]++,'callStack':_0x3ed28b};}return __name(_0x5dd82f,_0x14c207(0x1f0)),{'__enter':_0x5dd82f,'__mark':__name((_0x591f7a,_0x7e0ad9,_0x4199d5,_0x511598,_0x317f32)=>{const _0x31a102=_0x14c207;return this[_0x31a102(0x190)]=_0x317f32,this[_0x31a102(0x1ae)]({'t':_0x31a102(0x181),'at':this[_0x31a102(_0x2ad2db._0x4d8b02)](_0x591f7a,_0x7e0ad9,_0x4199d5),'frame':_0x511598??TOP});},_0x14c207(_0x4ce14d._0x554d9c)),'__iter':__name((_0x1dd7e4,_0x26f0b2,_0x40680a,_0x59231c)=>{const _0x3c50a6=_0x14c207;this[_0x3c50a6(_0x17f2ff._0x368c6e)]({'t':_0x3c50a6(0x171),'at':this['site'](_0x1dd7e4,_0x26f0b2,_0x40680a),'frame':_0x59231c??TOP});},_0x14c207(_0x4ce14d._0x3b5b99))};}[_0xf72ed6(0x1d5)](){const _0x449e3c={_0x201b37:0x19d},_0x3671bb=_0xf72ed6;if(this['lastSnapshot']===null)return void 0x0;const _0x52d709={};for(const [_0x271527,_0xfb97ce]of Object[_0x3671bb(_0x449e3c._0x201b37)](this[_0x3671bb(0x190)]()))_0x52d709[_0x271527]=scopeValue(_0xfb97ce);return _0x52d709;}[_0xf72ed6(0x1ae)](_0x46fafe){const _0x1d1915=_0xf72ed6,_0x488f7d=this['wire'][_0x1d1915(0x1d6)](_0x46fafe);if(!_0x488f7d['ok'])throw new HostCallError(_0x488f7d[_0x1d1915(0x1b5)]);return _0x488f7d[_0x1d1915(0x1ee)]===!![];}[_0xf72ed6(0x1dd)](_0x4f0277,_0x2eea25,_0x20c8e7){const _0x58517e=_0xf72ed6;return{'file':this[_0x58517e(0x1e5)][_0x4f0277]??'','line':_0x2eea25,'col':_0x20c8e7};}};function startScenarioThread(_0x404bca,_0x1f39ae){const _0x29a0c6={_0x36a6b5:0x187,_0x332b3b:0x1db,_0x449fe5:0x1e5,_0xb6855d:0x1df,_0x52977b:0x1a3,_0x3a9010:0x1c8,_0x46470c:0x1f3,_0x42065e:0x1c8,_0x57de9d:0x1dc,_0x387aa0:0x1b1,_0x139050:0x1fe},_0x264989={_0x3d77e5:0x1f7,_0x23c372:0x18a},_0x4e94b9=_0xf72ed6,_0x2de98d=new WorkerChannel(_0x404bca[_0x4e94b9(_0x29a0c6._0x36a6b5)],_0x404bca['eventsPort'],_0x404bca[_0x4e94b9(_0x29a0c6._0x332b3b)]),_0x384b61={'files':new Set(_0x404bca[_0x4e94b9(_0x29a0c6._0x449fe5)]['map'](_0x590a26=>_0x590a26[_0x4e94b9(0x19f)])),'topLevel':new Set(_0x404bca[_0x4e94b9(0x1b7)]),'entry':_0x404bca['testName'],'entryFile':_0x404bca['files'][0x0]?.['file']??''},_0x132421=__name(_0x1b8a1d=>callSite(_0x384b61,_0x1b8a1d),_0x4e94b9(0x1dd)),_0x55843b=new WorkerForms(_0x2de98d,_0x132421,_0x404bca[_0x4e94b9(0x178)]),_0xcddab2=new HostStubs(_0x2de98d,{'names':_0x404bca[_0x4e94b9(0x1b2)],'pageCodeArgs':_0x404bca[_0x4e94b9(0x1bf)],'site':_0x132421}),_0x13982e=new WorkerMarks(_0x2de98d,_0x384b61,_0x404bca[_0x4e94b9(_0x29a0c6._0x449fe5)]['map'](_0x153a13=>_0x153a13[_0x4e94b9(0x19f)])),_0x2a8387=_0x120e6d[_0x4e94b9(_0x29a0c6._0xb6855d)]({..._0xcddab2[_0x4e94b9(_0x29a0c6._0x52977b)](),..._0x55843b[_0x4e94b9(0x18d)](),..._0x13982e['globals']()},{'codeGeneration':{'strings':![],'wasm':![]}}),_0x1a3718=new _0x120e6d[(_0x4e94b9(_0x29a0c6._0x3a9010))]('(name,\x20get)\x20=>\x20{\x20Object.defineProperty(globalThis,\x20name,\x20{\x20get,\x20configurable:\x20true\x20});\x20}')[_0x4e94b9(0x1dc)](_0x2a8387);for(const _0x27ed2c of _0x404bca[_0x4e94b9(0x188)])_0x1a3718(_0x27ed2c,()=>_0xcddab2[_0x4e94b9(0x1fc)](_0x27ed2c));_0x404bca[_0x4e94b9(0x1d1)]['on'](_0x4e94b9(0x177),_0x32486e=>_0x55843b['playTeardown'](_0x32486e[_0x4e94b9(0x1cb)])),_0x1f39ae[_0x4e94b9(_0x29a0c6._0x46470c)](_0x4e94b9(0x193),_0x5cdd72=>{const _0x1ecd4c=_0x4e94b9;_0x2de98d[_0x1ecd4c(0x1de)]({'t':'done','error':toWireError(_0x5cdd72),'softFailures':_0x55843b[_0x1ecd4c(0x1a6)],...scopeOf(_0x13982e)});}),_0x2de98d[_0x4e94b9(0x1d6)]({'t':_0x4e94b9(0x1fb)});for(const _0x22d6ee of _0x404bca[_0x4e94b9(_0x29a0c6._0x449fe5)])new _0x120e6d[(_0x4e94b9(_0x29a0c6._0x42065e))](_0x22d6ee['source'],{'filename':_0x22d6ee[_0x4e94b9(0x19f)]})[_0x4e94b9(_0x29a0c6._0x57de9d)](_0x2a8387);const _0xac3ce3=_0x2a8387[_0x404bca[_0x4e94b9(0x1f7)]];if(typeof _0xac3ce3!==_0x4e94b9(_0x29a0c6._0x387aa0)){_0x2de98d[_0x4e94b9(0x1de)]({'t':'done','error':{'name':_0x4e94b9(0x1be),'message':'Test\x20function\x20\x22'+_0x404bca[_0x4e94b9(0x1f7)]+_0x4e94b9(_0x29a0c6._0x139050)},'softFailures':[]});return;}setImmediate(()=>{const _0x394819=_0x4e94b9;callSync(()=>_0xac3ce3(..._0x404bca['entryArgs']),_0x404bca[_0x394819(_0x264989._0x3d77e5)]),_0x2de98d[_0x394819(0x1de)]({'t':_0x394819(_0x264989._0x23c372),'softFailures':_0x55843b[_0x394819(0x1a6)],...scopeOf(_0x13982e)});});}__name(startScenarioThread,'startScenarioThread');function scopeOf(_0x4ca4b0){const _0x9e71e6=_0xf72ed6,_0x3010e2=_0x4ca4b0[_0x9e71e6(0x1d5)]();return _0x3010e2===void 0x0?{}:{'scope':_0x3010e2};}__name(scopeOf,'scopeOf'),startScenarioThread(workerData,process);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ScenarioSyntaxError, ParsedScenario } from '@unotest/dsl';
|
|
2
2
|
export { ProgramComment, ScenarioSyntaxError, scenarioFromProgram } from '@unotest/dsl';
|
|
3
3
|
import { DslDiagnostic, IDslLanguageService, DslValidateContext } from '@unotest/protocol';
|
|
4
|
-
import { a as LintSeverity, E as ExternalVariableLookup } from '../linter-
|
|
4
|
+
import { a as LintSeverity, E as ExternalVariableLookup, T as TestBudgetHint } from '../linter-BpaIstU3.js';
|
|
5
5
|
import { L as LegacyLayout } from '../legacy-layout-By62PkbP.js';
|
|
6
6
|
|
|
7
7
|
interface LinterSeverity {
|
|
@@ -41,6 +41,9 @@ interface LintProjectContext {
|
|
|
41
41
|
/** Raw `linter.rules` map — JSON-serializable severity source for
|
|
42
42
|
* consumers that cannot hold a `Set` (ESLint rule options). */
|
|
43
43
|
linterRules: Readonly<Record<string, string>>;
|
|
44
|
+
/** The budget a test of this project runs under — `lint:wait-exceeds-test-budget`
|
|
45
|
+
* measures a wait against it. */
|
|
46
|
+
testBudget: TestBudgetHint;
|
|
44
47
|
/** Entries of `linter.rules` naming a rule that reports nothing any
|
|
45
48
|
* more: the config loads, the frontend says the entry does nothing. */
|
|
46
49
|
removedRules: readonly string[];
|
|
@@ -79,8 +82,13 @@ interface WebDslLanguageService extends IDslLanguageService {
|
|
|
79
82
|
}
|
|
80
83
|
/** Build the service. `severity` carries the project's `linter.rules`
|
|
81
84
|
* overrides (computed from config by the launcher) so the editor's
|
|
82
|
-
* diagnostics match `unotest-web lint`. Omit for default severities.
|
|
83
|
-
|
|
85
|
+
* diagnostics match `unotest-web lint`. Omit for default severities.
|
|
86
|
+
* `project.testBudget` is the budget a test of this project runs under
|
|
87
|
+
* (`projectTestBudget`), for `lint:wait-exceeds-test-budget`; it is fixed
|
|
88
|
+
* when the service is made. Omit → that rule only knows `setTestTimeout`. */
|
|
89
|
+
declare function createWebDslLanguageService(severity?: LinterSeverity, project?: {
|
|
90
|
+
testBudget?: TestBudgetHint;
|
|
91
|
+
}): WebDslLanguageService;
|
|
84
92
|
|
|
85
93
|
/** Default service (no project config) — used by the standalone-launch
|
|
86
94
|
* fallback where no config has been loaded. */
|