browserstack-node-sdk 1.3.1 → 1.3.3

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.
Files changed (40) hide show
  1. package/package.json +1 -1
  2. package/src/bin/cucumber-js/command.js +1 -1
  3. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  4. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  5. package/src/bin/cucumber-js/test.setup.js +1 -1
  6. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  7. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  8. package/src/bin/jest/command.js +1 -1
  9. package/src/bin/jest/customEnvironment.js +1 -1
  10. package/src/bin/jest/customTestRunnerTemplate.js +1 -1
  11. package/src/bin/jest/jest.setup.js +1 -1
  12. package/src/bin/jest/test_before.setup.js +1 -1
  13. package/src/bin/launcher/launcher.js +1 -1
  14. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  15. package/src/bin/mocha/command.js +1 -1
  16. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  17. package/src/bin/mocha/test-observability/constants.js +1 -1
  18. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  19. package/src/bin/mocha/test-observability/helper.js +1 -1
  20. package/src/bin/mocha/test-observability/requestQueueHandler.js +1 -1
  21. package/src/bin/mocha/test.setup.js +1 -1
  22. package/src/bin/nightwatch/command.js +1 -1
  23. package/src/bin/runner.js +1 -1
  24. package/src/bin/setup.js +1 -1
  25. package/src/bin/test-runner/index.js +1 -1
  26. package/src/bin/test-runner/runTest.js +1 -1
  27. package/src/bin/test-runner/testWorker.js +1 -1
  28. package/src/bin/utils/constants.js +1 -1
  29. package/src/bin/utils/log4jsAppender.js +1 -1
  30. package/src/bin/utils/logPatcher.js +1 -1
  31. package/src/bin/utils/logReportingAPI.js +1 -1
  32. package/src/bin/vanilla-js/command.js +1 -1
  33. package/src/helpers/BrowserStackSetup.js +1 -1
  34. package/src/helpers/helper.js +1 -1
  35. package/src/helpers/logger.js +1 -1
  36. package/src/helpers/patchHelpers.js +1 -1
  37. package/src/helpers/request-spy.js +1 -1
  38. package/src/helpers/setKeepAlive.js +1 -1
  39. package/src/helpers/w3cMapping.js +1 -1
  40. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x54fd84=a29_0x2ca2;(function(_0xe54dc4,_0xcde4a5){const _0x2baccb=a29_0x2ca2,_0x561bc7=_0xe54dc4();while(!![]){try{const _0x4157e0=parseInt(_0x2baccb(0x117))/0x1*(parseInt(_0x2baccb(0x11c))/0x2)+parseInt(_0x2baccb(0xf4))/0x3*(parseInt(_0x2baccb(0x10f))/0x4)+-parseInt(_0x2baccb(0xf0))/0x5+parseInt(_0x2baccb(0x112))/0x6+-parseInt(_0x2baccb(0xfd))/0x7*(-parseInt(_0x2baccb(0xf6))/0x8)+parseInt(_0x2baccb(0x103))/0x9*(-parseInt(_0x2baccb(0xf2))/0xa)+-parseInt(_0x2baccb(0xf1))/0xb;if(_0x4157e0===_0xcde4a5)break;else _0x561bc7['push'](_0x561bc7['shift']());}catch(_0x303a43){_0x561bc7['push'](_0x561bc7['shift']());}}}(a29_0x1f92,0x9b5f3));const Transport=require(a29_0x54fd84(0x118)),{consoleHolder}=require('../mocha/test-observability/constants'),a29_0x288730={};a29_0x288730[a29_0x54fd84(0x10d)]=a29_0x54fd84(0x10d),a29_0x288730[a29_0x54fd84(0xf7)]='ERROR',a29_0x288730['DEBUG']=a29_0x54fd84(0x11d),a29_0x288730['TRACE']=a29_0x54fd84(0xfa),a29_0x288730[a29_0x54fd84(0xfe)]=a29_0x54fd84(0xfe);const LOG_LEVELS=a29_0x288730;function a29_0x2ca2(_0x54a2bc,_0x44b385){const _0x1f9263=a29_0x1f92();return a29_0x2ca2=function(_0x2ca216,_0x124c97){_0x2ca216=_0x2ca216-0xed;let _0x5cf7ae=_0x1f9263[_0x2ca216];return _0x5cf7ae;},a29_0x2ca2(_0x54a2bc,_0x44b385);}class logReportingAPI extends Transport{constructor(_0x8f6880){super(_0x8f6880);}[a29_0x54fd84(0xf9)](_0x35e2b7,_0x5586b3){const _0x55dc4f=a29_0x54fd84,_0x2dab90={'zmmGi':_0x55dc4f(0x114),'OOTsX':function(_0x2bbf41,_0x3e11c2){return _0x2bbf41===_0x3e11c2;},'OBfDw':_0x55dc4f(0x115),'HTDPX':_0x55dc4f(0xfb),'zNOGm':'TEST_LOG','lEXkx':function(_0x1de6ea,_0x26af38){return _0x1de6ea(_0x26af38);},'HTcSM':function(_0x408647,_0x12cfb3){return _0x408647===_0x12cfb3;},'JemII':_0x55dc4f(0x10c),'VKiie':_0x55dc4f(0x113),'QiACT':function(_0x46ec0a,_0x5b5e08){return _0x46ec0a===_0x5b5e08;},'wnJnD':_0x55dc4f(0xfc),'hHzVk':_0x55dc4f(0x10a),'sZyyP':function(_0x268787){return _0x268787();}};_0x2dab90[_0x55dc4f(0x11e)](setImmediate,()=>{const _0x352656=_0x55dc4f;_0x2dab90['OOTsX'](_0x2dab90[_0x352656(0x110)],_0x2dab90[_0x352656(0xf5)])?this[_0x352656(0x100)](_0x2dab90[_0x352656(0x107)],_0x18709c):this[_0x352656(0x100)](_0x2dab90[_0x352656(0x107)],_0x35e2b7);});if(_0x2dab90[_0x55dc4f(0xef)](typeof _0x35e2b7,_0x2dab90['JemII'])){if(_0x2dab90[_0x55dc4f(0xef)](_0x2dab90[_0x55dc4f(0xed)],_0x2dab90['VKiie']))this['logToTestOps'](_0x35e2b7[_0x55dc4f(0x116)]||LOG_LEVELS['INFO'],_0x35e2b7[_0x55dc4f(0xee)],![]);else{if(_0x5b20e8)_0x2227a9[_0x36a93b[_0x55dc4f(0xf8)]()](_0x52cda4);_0x18aaea[_0x55dc4f(0x100)](_0x55dc4f(0x11a)+_0x32bd09[_0x55dc4f(0xff)],{'timestamp':new _0x34a18e()[_0x55dc4f(0x104)](),'level':_0x2a18c5[_0x55dc4f(0x10e)](),'message':_0x105872,'kind':_0x2dab90[_0x55dc4f(0x102)],'http_response':{}});}}else _0x2dab90[_0x55dc4f(0x108)](_0x2dab90[_0x55dc4f(0x106)],_0x2dab90[_0x55dc4f(0xf3)])?this['logToTestOps'](_0x326790[_0x55dc4f(0x10d)],_0x3cff80):this[_0x55dc4f(0x10b)](LOG_LEVELS['INFO'],_0x35e2b7);if(_0x5586b3)_0x2dab90[_0x55dc4f(0x11b)](_0x5586b3);}['logToTestOps']=(_0x1a63c2=LOG_LEVELS['INFO'],_0x2f1db7='',_0x48c04d=!![])=>{const _0x5c91fd=a29_0x54fd84,_0x5976c7={};_0x5976c7['rLdNI']='TEST_LOG';const _0xb625df=_0x5976c7;if(_0x48c04d)consoleHolder[_0x1a63c2['toLowerCase']()](_0x2f1db7);process[_0x5c91fd(0x100)](_0x5c91fd(0x11a)+process[_0x5c91fd(0xff)],{'timestamp':new Date()['toISOString'](),'level':_0x1a63c2[_0x5c91fd(0x10e)](),'message':_0x2f1db7,'kind':_0xb625df['rLdNI'],'http_response':{}});};[a29_0x54fd84(0x105)]=(_0x2997c7,_0x15618e)=>{const _0x2fba5a=a29_0x54fd84;this[_0x2fba5a(0x10b)](LOG_LEVELS[_0x2fba5a(0xfa)],_0x2997c7);};[a29_0x54fd84(0x109)]=(_0x285383,_0x351fd8)=>{const _0x74e7de=a29_0x54fd84;this[_0x74e7de(0x10b)](LOG_LEVELS[_0x74e7de(0x11d)],_0x285383);};['info']=(_0x6598a4,_0x5ca4f4)=>{const _0x3ffd4e=a29_0x54fd84;this[_0x3ffd4e(0x10b)](LOG_LEVELS[_0x3ffd4e(0x10d)],_0x6598a4);};[a29_0x54fd84(0x119)]=(_0x572101,_0x453ae8)=>{const _0x4830e1=a29_0x54fd84;this[_0x4830e1(0x10b)](LOG_LEVELS[_0x4830e1(0xfe)],_0x572101);};[a29_0x54fd84(0x111)]=(_0x18dffe,_0x28f8cc)=>{this['logToTestOps'](LOG_LEVELS['ERROR'],_0x18dffe);};};function a29_0x1f92(){const _0x303d69=['WARN','pid','emit','exports','zNOGm','167058ATHhfT','toISOString','trace','wnJnD','zmmGi','QiACT','debug','YHDhx','logToTestOps','object','INFO','toUpperCase','8AhyCYt','OBfDw','error','1352424USZJHD','TUQhB','logged','QQfTf','level','3TNQwll','winston-transport','warn','bs:addLog:','sZyyP','197688XFgXWu','DEBUG','lEXkx','VKiie','message','HTcSM','761050PBVDdc','10985689kVjljJ','40ieITqb','hHzVk','373053MHDrNG','HTDPX','21496uKnrZf','ERROR','toLowerCase','log','TRACE','AxXGJ','ssEWe','2842Uhbtbq'];a29_0x1f92=function(){return _0x303d69;};return a29_0x1f92();}module[a29_0x54fd84(0x101)]=logReportingAPI;
1
+ const a29_0x33bb0e=a29_0x4e6e;function a29_0x4e6e(_0x243599,_0x56fa75){const _0x3b5df5=a29_0x3b5d();return a29_0x4e6e=function(_0x4e6e06,_0x24fed8){_0x4e6e06=_0x4e6e06-0x197;let _0x22c180=_0x3b5df5[_0x4e6e06];return _0x22c180;},a29_0x4e6e(_0x243599,_0x56fa75);}(function(_0x407c3d,_0x32f159){const _0x18e216=a29_0x4e6e,_0x39f593=_0x407c3d();while(!![]){try{const _0x55d363=-parseInt(_0x18e216(0x1a4))/0x1*(parseInt(_0x18e216(0x1b5))/0x2)+-parseInt(_0x18e216(0x1b6))/0x3+parseInt(_0x18e216(0x1a1))/0x4+parseInt(_0x18e216(0x1a0))/0x5+parseInt(_0x18e216(0x1ac))/0x6+-parseInt(_0x18e216(0x1ae))/0x7*(-parseInt(_0x18e216(0x19a))/0x8)+-parseInt(_0x18e216(0x1a6))/0x9*(parseInt(_0x18e216(0x1a2))/0xa);if(_0x55d363===_0x32f159)break;else _0x39f593['push'](_0x39f593['shift']());}catch(_0x3c8a04){_0x39f593['push'](_0x39f593['shift']());}}}(a29_0x3b5d,0x3c855));const Transport=require(a29_0x33bb0e(0x1bb)),{consoleHolder}=require('../mocha/test-observability/constants'),a29_0x1879aa={};a29_0x1879aa['INFO']=a29_0x33bb0e(0x1b4),a29_0x1879aa[a29_0x33bb0e(0x1a5)]=a29_0x33bb0e(0x1a5),a29_0x1879aa[a29_0x33bb0e(0x1b9)]='DEBUG',a29_0x1879aa['TRACE']=a29_0x33bb0e(0x1bc),a29_0x1879aa[a29_0x33bb0e(0x1ab)]=a29_0x33bb0e(0x1ab);const LOG_LEVELS=a29_0x1879aa;class logReportingAPI extends Transport{constructor(_0x22065e){super(_0x22065e);}[a29_0x33bb0e(0x1ba)](_0xf096bb,_0x265bbd){const _0x3242ac=a29_0x33bb0e,_0x41b9e3={'wLWZx':function(_0x34e42d,_0x8f6982){return _0x34e42d===_0x8f6982;},'jfZST':_0x3242ac(0x197),'EMPbR':_0x3242ac(0x1a7),'xvjty':function(_0xf07f56,_0x353617){return _0xf07f56(_0x353617);},'BdVqD':'object','NIxfO':_0x3242ac(0x1b1),'BCcjl':'JApoi','GSQDs':_0x3242ac(0x1b2),'xcXJy':function(_0x263b05){return _0x263b05();}};_0x41b9e3[_0x3242ac(0x1a9)](setImmediate,()=>{const _0x51abef=_0x3242ac;_0x41b9e3[_0x51abef(0x1b8)](_0x41b9e3[_0x51abef(0x19f)],_0x41b9e3[_0x51abef(0x19f)])?this['emit'](_0x41b9e3[_0x51abef(0x19e)],_0xf096bb):this['logToTestOps'](_0x1b1868[_0x51abef(0x1bc)],_0x202070);});_0x41b9e3[_0x3242ac(0x1b8)](typeof _0xf096bb,_0x41b9e3[_0x3242ac(0x1ad)])?_0x41b9e3[_0x3242ac(0x1b8)](_0x41b9e3['NIxfO'],_0x41b9e3['NIxfO'])?this[_0x3242ac(0x199)](_0xf096bb[_0x3242ac(0x1b0)]||LOG_LEVELS[_0x3242ac(0x1b4)],_0xf096bb['message'],![]):this[_0x3242ac(0x199)](_0x17522a['ERROR'],_0x1d5b0c):_0x41b9e3[_0x3242ac(0x1b8)](_0x41b9e3['BCcjl'],_0x41b9e3['GSQDs'])?this[_0x3242ac(0x199)](_0x2e6a10[_0x3242ac(0x1b9)],_0x146a52):this['logToTestOps'](LOG_LEVELS['INFO'],_0xf096bb);if(_0x265bbd)_0x41b9e3[_0x3242ac(0x1b7)](_0x265bbd);}['logToTestOps']=(_0x4301c6=LOG_LEVELS['INFO'],_0x370916='',_0x354b04=!![])=>{const _0x3c15cf=a29_0x33bb0e,_0x329597={};_0x329597['hUdNu']=_0x3c15cf(0x1aa);const _0x4a1c24=_0x329597;if(_0x354b04)consoleHolder[_0x4301c6['toLowerCase']()](_0x370916);process[_0x3c15cf(0x198)]('bs:addLog:'+process[_0x3c15cf(0x1a8)],{'timestamp':new Date()[_0x3c15cf(0x1bd)](),'level':_0x4301c6[_0x3c15cf(0x19d)](),'message':_0x370916,'kind':_0x4a1c24['hUdNu'],'http_response':{}});};['trace']=(_0x563b7e,_0x7d9eb8)=>{this['logToTestOps'](LOG_LEVELS['TRACE'],_0x563b7e);};[a29_0x33bb0e(0x1a3)]=(_0x5b1ce6,_0x526112)=>{const _0x3bf72a=a29_0x33bb0e;this['logToTestOps'](LOG_LEVELS[_0x3bf72a(0x1b9)],_0x5b1ce6);};[a29_0x33bb0e(0x19c)]=(_0x1efd49,_0x2b4d57)=>{const _0xeea9ed=a29_0x33bb0e;this[_0xeea9ed(0x199)](LOG_LEVELS['INFO'],_0x1efd49);};[a29_0x33bb0e(0x1af)]=(_0x17b975,_0x31189e)=>{this['logToTestOps'](LOG_LEVELS['WARN'],_0x17b975);};[a29_0x33bb0e(0x19b)]=(_0xd2094a,_0x177ad3)=>{const _0x300d71=a29_0x33bb0e;this['logToTestOps'](LOG_LEVELS[_0x300d71(0x1a5)],_0xd2094a);};}function a29_0x3b5d(){const _0x54ce72=['level','mudlk','fYdRI','exports','INFO','356018ewlSyF','1244031BCwcNm','xcXJy','wLWZx','DEBUG','log','winston-transport','TRACE','toISOString','MOxov','emit','logToTestOps','1770024asAstq','error','info','toUpperCase','EMPbR','jfZST','2272690xtiPsk','1849228YcbRpY','70CgDnCG','debug','1kEOGRm','ERROR','819027psgzSA','logged','pid','xvjty','TEST_LOG','WARN','2037012srAHMd','BdVqD','7vzczlk','warn'];a29_0x3b5d=function(){return _0x54ce72;};return a29_0x3b5d();};module[a29_0x33bb0e(0x1b3)]=logReportingAPI;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a30_0x5149fc=a30_0x566f;(function(_0x39273f,_0x3fb353){const _0x768225=a30_0x566f,_0x514600=_0x39273f();while(!![]){try{const _0x227607=parseInt(_0x768225(0x20d))/0x1*(-parseInt(_0x768225(0x1fb))/0x2)+-parseInt(_0x768225(0x22a))/0x3*(parseInt(_0x768225(0x224))/0x4)+parseInt(_0x768225(0x225))/0x5*(-parseInt(_0x768225(0x22f))/0x6)+-parseInt(_0x768225(0x1f5))/0x7+parseInt(_0x768225(0x21d))/0x8+parseInt(_0x768225(0x223))/0x9*(-parseInt(_0x768225(0x1f4))/0xa)+-parseInt(_0x768225(0x1f3))/0xb*(-parseInt(_0x768225(0x206))/0xc);if(_0x227607===_0x3fb353)break;else _0x514600['push'](_0x514600['shift']());}catch(_0x178489){_0x514600['push'](_0x514600['shift']());}}}(a30_0x51f1,0x55488));const fs=require('fs'),{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a30_0x5149fc(0x1fd)),constants=require('../utils/constants'),{parallelVanillaRun}=require('../test-runner');function a30_0x51f1(){const _0x19341e=['File\x20','cUrht','dIzyr','\x20doesn\x27t\x20exist','File\x20path\x20is\x20required','4995036ykLNwn','1493424HCVgtu','5VHenFS','length','xNFPo','hubUrl','push','3TLhXsu','YciGE','parallelsPerPlatform','existsSync','cwd','342786cFyYgq','BykGr','KAhJp','1331mRLubf','10oqoYXJ','2645986OQOqbW','isUndefined','dfNdY','TsCwa','AnkjR','getPlatformName','2LyMZwq','forEach','../../helpers/helper','configuration','vanilla','urufE','uSYgZ','odvez','SqrAu','proxySettings','config','114900ukDXel','merge','YuZzj','args','ZUfcF','QEGTp','Config\x20yml\x20is\x20required','115174fgfElA','opfkA','bmUwU','modifyBrowserStackCaps','modifyBrowserStackW3CCaps','platforms','EKXTt','then','hFOsl','exports','SRzZH','UdRlZ','VCIJh','join','file','LFEMg','5355264AfxUbp'];a30_0x51f1=function(){return _0x19341e;};return a30_0x51f1();}async function run(_0x22a746){const _0x68f397=a30_0x5149fc,_0x5f4be9={'opfkA':_0x68f397(0x1ff),'UyosY':function(_0x4bb93e,_0x1c344f){return _0x4bb93e!==_0x1c344f;},'JVNfL':_0x68f397(0x217),'QahiE':_0x68f397(0x22b),'QEGTp':function(_0x427ced,_0x5afda4){return _0x427ced===_0x5afda4;},'EKXTt':'OJZnm','ZqNut':'MJaWg','cUrht':function(_0x37a0ec,_0x5818d1){return _0x37a0ec(_0x5818d1);},'AnkjR':_0x68f397(0x222),'uSYgZ':function(_0x2c7c07,_0x56f70b){return _0x2c7c07(_0x56f70b);},'ZUfcF':_0x68f397(0x20c),'dfNdY':function(_0x2b1056,_0x48c053){return _0x2b1056>_0x48c053;},'xNFPo':_0x68f397(0x208),'BykGr':_0x68f397(0x218),'urufE':function(_0x1fab98,_0x2d616d){return _0x1fab98>_0x2d616d;},'bmUwU':function(_0x56ebb6,_0x397308){return _0x56ebb6===_0x397308;},'hFOsl':_0x68f397(0x219),'TsCwa':'obiQT','KAhJp':function(_0x3e20f7,_0x1d0521){return _0x3e20f7!==_0x1d0521;},'odvez':_0x68f397(0x220),'SqrAu':function(_0x506b37,_0x5bb5c3){return _0x506b37*_0x5bb5c3;},'zHHMU':function(_0x9631d7,_0x3e3844,_0x3cd51a){return _0x9631d7(_0x3e3844,_0x3cd51a);}},_0x20d683=new BrowserStackSetup();let _0x181876=[];if(helper[_0x68f397(0x1f6)](_0x22a746['_'][0x1]))throw _0x5f4be9[_0x68f397(0x21f)](Error,_0x5f4be9[_0x68f397(0x1f9)]);const _0x263dc3=path[_0x68f397(0x21a)](process[_0x68f397(0x22e)](),_0x22a746['_'][0x1]);if(!fs[_0x68f397(0x22d)](_0x263dc3))throw _0x5f4be9[_0x68f397(0x21f)](Error,_0x68f397(0x21e)+_0x22a746['_'][0x1]+_0x68f397(0x221));if(!_0x20d683[_0x68f397(0x205)])throw _0x5f4be9[_0x68f397(0x201)](Error,_0x5f4be9[_0x68f397(0x20a)]);let _0x59db93=helper['useW3C'](_0x20d683['config']);if(_0x20d683['config'][_0x68f397(0x212)]&&_0x5f4be9[_0x68f397(0x1f7)](_0x20d683[_0x68f397(0x205)][_0x68f397(0x212)][_0x68f397(0x226)],0x0)){if(_0x5f4be9[_0x68f397(0x20b)](_0x5f4be9[_0x68f397(0x227)],_0x5f4be9[_0x68f397(0x230)])){const _0x9ab9d7={};_0x9ab9d7[_0x68f397(0x21c)]=_0x5f4be9[_0x68f397(0x20e)];const _0x4b1c8f=_0x9ab9d7;_0x78b612[_0x68f397(0x205)][_0x68f397(0x212)]['forEach']((_0x3fc9cc,_0x45164d)=>{const _0x240177=_0x68f397;if(_0x47cdac)_0x1d477b['push'](_0xfa3a04[_0x240177(0x211)](_0x40c71f[_0x240177(0x205)],_0x4b1c8f[_0x240177(0x21c)],_0x45164d));else _0x50c12e[_0x240177(0x229)](_0x3c55d2[_0x240177(0x210)](_0x4376ae[_0x240177(0x205)],_0x4b1c8f[_0x240177(0x21c)],_0x45164d));});}else _0x20d683[_0x68f397(0x205)][_0x68f397(0x212)][_0x68f397(0x1fc)]((_0x2bcab4,_0x283817)=>{const _0x3f3fff=_0x68f397;if(_0x5f4be9['UyosY'](_0x5f4be9['JVNfL'],_0x5f4be9['QahiE'])){if(_0x59db93)_0x181876[_0x3f3fff(0x229)](helper['modifyBrowserStackW3CCaps'](_0x20d683[_0x3f3fff(0x205)],_0x5f4be9[_0x3f3fff(0x20e)],_0x283817));else _0x181876['push'](helper['modifyBrowserStackCaps'](_0x20d683[_0x3f3fff(0x205)],_0x5f4be9[_0x3f3fff(0x20e)],_0x283817));}else{if(_0x1f8d56)_0x18a17f[_0x3f3fff(0x229)](_0x4a750d[_0x3f3fff(0x211)](_0x4d3cb0[_0x3f3fff(0x205)],_0x5f4be9[_0x3f3fff(0x20e)],_0x4f95c2));else _0x5470a7[_0x3f3fff(0x229)](_0x18fcfc['modifyBrowserStackCaps'](_0x1d572a[_0x3f3fff(0x205)],_0x5f4be9[_0x3f3fff(0x20e)],_0x3a5ad1));}});}let _0x4e2319,_0x189659;const _0x5c340e=[];if(_0x5f4be9[_0x68f397(0x200)](_0x181876[_0x68f397(0x226)],0x0))_0x5f4be9[_0x68f397(0x20f)](_0x5f4be9[_0x68f397(0x215)],_0x5f4be9[_0x68f397(0x1f8)])?_0x38e107[_0x68f397(0x1fc)](_0x4b1fbf=>{const _0x2f859c=_0x68f397;_0x5a2ae3={'server':_0x58f16a[_0x2f859c(0x228)],'proxySettings':_0x2b705b[_0x2f859c(0x205)][_0x2f859c(0x204)],'platform':_0x357570[_0x2f859c(0x1fa)](_0x4b1fbf)};const _0x1f6751={'capability':_0x4b1fbf,..._0x120598};_0x1f6751[_0x2f859c(0x21b)]=_0x53b2a8,_0x1f6751[_0x2f859c(0x209)]=_0x27b895;const _0x17d176={};_0x17d176['configuration']=_0x1f6751,_0x591b61=_0x17d176,_0x257c65[_0x2f859c(0x229)](_0x3d215a);}):_0x181876[_0x68f397(0x1fc)](_0x119f71=>{const _0x1a4615=_0x68f397;if(_0x5f4be9[_0x1a4615(0x20b)](_0x5f4be9[_0x1a4615(0x213)],_0x5f4be9['ZqNut'])){_0x59fbaf={'server':_0x4a9e1d[_0x1a4615(0x228)],'proxySettings':_0x5936ee[_0x1a4615(0x205)][_0x1a4615(0x204)],'platform':_0x193cc7[_0x1a4615(0x1fa)](_0x4d7271)};const _0x1fff52={'capability':_0xbd3812,..._0x2df102};_0x1fff52[_0x1a4615(0x21b)]=_0xb998d3,_0x1fff52[_0x1a4615(0x209)]=_0x499f40;const _0x3cfda9={};_0x3cfda9[_0x1a4615(0x1fe)]=_0x1fff52,_0x464181=_0x3cfda9,_0x5ea833[_0x1a4615(0x229)](_0x46bac8);}else{_0x4e2319={'server':constants[_0x1a4615(0x228)],'proxySettings':_0x20d683[_0x1a4615(0x205)][_0x1a4615(0x204)],'platform':helper[_0x1a4615(0x1fa)](_0x119f71)};const _0x316d92={'capability':_0x119f71,..._0x4e2319};_0x316d92[_0x1a4615(0x21b)]=_0x263dc3,_0x316d92[_0x1a4615(0x209)]=_0x22a746;const _0x5d7d62={};_0x5d7d62['configuration']=_0x316d92,_0x189659=_0x5d7d62,_0x5c340e[_0x1a4615(0x229)](_0x189659);}});else{if(_0x5f4be9[_0x68f397(0x1f2)](_0x5f4be9[_0x68f397(0x202)],_0x5f4be9[_0x68f397(0x202)])){let _0x420f94;if(_0x4a3c4a)_0x420f94=_0x1608a8[_0x68f397(0x211)](_0x1cca9e[_0x68f397(0x205)],_0x5f4be9[_0x68f397(0x20e)],0x0);else _0x420f94=_0x4eb6b2['modifyBrowserStackCaps'](_0x1ea33c[_0x68f397(0x205)],_0x5f4be9[_0x68f397(0x20e)],0x0);const _0x2b6667={};_0x2b6667['server']=_0x356a74[_0x68f397(0x228)],_0x2b6667[_0x68f397(0x204)]=_0x22e049[_0x68f397(0x205)]['proxySettings'],_0x2b93fe=_0x2b6667;const _0x771b46={'capability':_0x420f94,..._0x301aeb};_0x771b46['file']=_0x672b8,_0x771b46['args']=_0x555585,_0x771b46[_0x68f397(0x207)]=!![];const _0x2cfd1b={};_0x2cfd1b['configuration']=_0x771b46,_0x8d7dac=_0x2cfd1b,_0x2f567d[_0x68f397(0x229)](_0x414897);}else{let _0x3768ea;if(_0x59db93)_0x3768ea=helper[_0x68f397(0x211)](_0x20d683[_0x68f397(0x205)],_0x5f4be9[_0x68f397(0x20e)],0x0);else _0x3768ea=helper['modifyBrowserStackCaps'](_0x20d683[_0x68f397(0x205)],_0x5f4be9['opfkA'],0x0);const _0x38536e={};_0x38536e['server']=constants[_0x68f397(0x228)],_0x38536e[_0x68f397(0x204)]=_0x20d683['config'][_0x68f397(0x204)],_0x4e2319=_0x38536e;const _0x23cb11={'capability':_0x3768ea,..._0x4e2319};_0x23cb11[_0x68f397(0x21b)]=_0x263dc3,_0x23cb11[_0x68f397(0x209)]=_0x22a746,_0x23cb11[_0x68f397(0x207)]=!![];const _0x1d9553={};_0x1d9553['configuration']=_0x23cb11,_0x189659=_0x1d9553,_0x5c340e[_0x68f397(0x229)](_0x189659);}}const _0x453462=_0x5f4be9[_0x68f397(0x203)](_0x20d683[_0x68f397(0x205)]['platforms'][_0x68f397(0x226)]||0x1,_0x20d683[_0x68f397(0x205)][_0x68f397(0x22c)]);_0x5f4be9['zHHMU'](parallelVanillaRun,_0x5c340e,_0x453462)[_0x68f397(0x214)](_0x3c2b57=>{});}function a30_0x566f(_0x25946d,_0x260a04){const _0x51f1cf=a30_0x51f1();return a30_0x566f=function(_0x566ff9,_0x26ea7a){_0x566ff9=_0x566ff9-0x1f2;let _0x1209c8=_0x51f1cf[_0x566ff9];return _0x1209c8;},a30_0x566f(_0x25946d,_0x260a04);}module[a30_0x5149fc(0x216)]=run;
2
+ 'use strict';const a30_0x1c7944=a30_0x2ca2;(function(_0x1eecec,_0x4da82a){const _0x530a8a=a30_0x2ca2,_0x47044c=_0x1eecec();while(!![]){try{const _0x1012cb=parseInt(_0x530a8a(0x1df))/0x1+-parseInt(_0x530a8a(0x1a4))/0x2*(parseInt(_0x530a8a(0x1af))/0x3)+parseInt(_0x530a8a(0x1b6))/0x4+parseInt(_0x530a8a(0x1b2))/0x5*(parseInt(_0x530a8a(0x1b7))/0x6)+-parseInt(_0x530a8a(0x1c7))/0x7*(parseInt(_0x530a8a(0x1c8))/0x8)+-parseInt(_0x530a8a(0x1d9))/0x9*(-parseInt(_0x530a8a(0x1d0))/0xa)+parseInt(_0x530a8a(0x1bf))/0xb;if(_0x1012cb===_0x4da82a)break;else _0x47044c['push'](_0x47044c['shift']());}catch(_0x324969){_0x47044c['push'](_0x47044c['shift']());}}}(a30_0x2569,0x43ba9));function a30_0x2569(){const _0x2b7b5c=['318606KFRCYK','APlFJ','config','EIaiU','fwEOP','\x20doesn\x27t\x20exist','existsSync','args','280709agwkUT','mxxKR','modifyBrowserStackCaps','mpFdU','NeSbz','hubUrl','file','aPbAb','12670aJTNCu','704cprCKv','configuration','merge','../test-runner','QOHsJ','length','ihwjD','proxySettings','10fRynGi','parallelsPerPlatform','File\x20','VHDDY','pVTPn','MKrXI','tTjTw','platforms','File\x20path\x20is\x20required','204651pOURXV','exports','HbNqf','useW3C','ngnIh','aCQOZ','15485TWgfig','push','isUndefined','then','CYxLI','sNVpz','627310ADGkZE','forEach','hpANk','join','cwd','Config\x20yml\x20is\x20required','NuDfp','NiZpt','jePVU','getPlatformName','vanilla','3WwMmQb','../../helpers/helper','modifyBrowserStackW3CCaps','25NuZdpU','../utils/constants','tWusH','../../helpers/BrowserStackSetup','1684416qDtqdy'];a30_0x2569=function(){return _0x2b7b5c;};return a30_0x2569();}const fs=require('fs'),{default:BrowserStackSetup}=require(a30_0x1c7944(0x1b5)),helper=require(a30_0x1c7944(0x1b0)),constants=require(a30_0x1c7944(0x1b3)),{parallelVanillaRun}=require(a30_0x1c7944(0x1cb));async function run(_0x2203e4){const _0x2449c6=a30_0x1c7944,_0x1294ca={'jePVU':_0x2449c6(0x1ae),'rulKu':function(_0x2e9e50,_0x4a5f6d){return _0x2e9e50===_0x4a5f6d;},'NuDfp':_0x2449c6(0x1c0),'kwHYj':function(_0x45f5a6,_0x3b64b5){return _0x45f5a6===_0x3b64b5;},'MKrXI':_0x2449c6(0x1db),'tWusH':function(_0x10d8d7,_0x47f8a0){return _0x10d8d7(_0x47f8a0);},'EIaiU':_0x2449c6(0x1d8),'NiZpt':function(_0x5ad94e,_0x374616){return _0x5ad94e(_0x374616);},'pVTPn':_0x2449c6(0x1a9),'aCQOZ':function(_0x24313e,_0x254d99){return _0x24313e>_0x254d99;},'ngnIh':function(_0x183b34,_0x335938){return _0x183b34!==_0x335938;},'mpFdU':_0x2449c6(0x1a6),'NeSbz':function(_0x468cb5,_0x54f904){return _0x468cb5>_0x54f904;},'VHDDY':_0x2449c6(0x1a3),'CYxLI':_0x2449c6(0x1c6),'tTjTw':_0x2449c6(0x1ce),'QOHsJ':function(_0x1b7e38,_0x511850){return _0x1b7e38*_0x511850;},'APlFJ':function(_0x2eaf04,_0x347426,_0x14cc20){return _0x2eaf04(_0x347426,_0x14cc20);}},_0x4a8730=new BrowserStackSetup();let _0xd38815=[];if(helper[_0x2449c6(0x1a0)](_0x2203e4['_'][0x1]))throw _0x1294ca[_0x2449c6(0x1b4)](Error,_0x1294ca[_0x2449c6(0x1ba)]);const _0x54c52a=path[_0x2449c6(0x1a7)](process[_0x2449c6(0x1a8)](),_0x2203e4['_'][0x1]);if(!fs[_0x2449c6(0x1bd)](_0x54c52a))throw _0x1294ca[_0x2449c6(0x1ab)](Error,_0x2449c6(0x1d2)+_0x2203e4['_'][0x1]+_0x2449c6(0x1bc));if(!_0x4a8730[_0x2449c6(0x1b9)])throw _0x1294ca['tWusH'](Error,_0x1294ca[_0x2449c6(0x1d4)]);let _0x277afb=helper[_0x2449c6(0x1dc)](_0x4a8730[_0x2449c6(0x1b9)]);if(_0x4a8730[_0x2449c6(0x1b9)]['platforms']&&_0x1294ca[_0x2449c6(0x1de)](_0x4a8730[_0x2449c6(0x1b9)][_0x2449c6(0x1d7)][_0x2449c6(0x1cd)],0x0)){if(_0x1294ca[_0x2449c6(0x1dd)](_0x1294ca[_0x2449c6(0x1c2)],_0x1294ca[_0x2449c6(0x1c2)])){let _0x155db2;if(_0xa354f)_0x155db2=_0x58a25d['modifyBrowserStackW3CCaps'](_0x341ae6['config'],_0x1294ca[_0x2449c6(0x1ac)],0x0);else _0x155db2=_0x50dce0[_0x2449c6(0x1c1)](_0x4d0da9[_0x2449c6(0x1b9)],_0x1294ca[_0x2449c6(0x1ac)],0x0);const _0x4183f9={};_0x4183f9['server']=_0x204430[_0x2449c6(0x1c4)],_0x4183f9[_0x2449c6(0x1cf)]=_0x3fd7bf[_0x2449c6(0x1b9)][_0x2449c6(0x1cf)],_0x55be4e=_0x4183f9;const _0x11b8e2={'capability':_0x155db2,..._0x51d2e6};_0x11b8e2[_0x2449c6(0x1c5)]=_0xf5d359,_0x11b8e2[_0x2449c6(0x1be)]=_0x57074d,_0x11b8e2[_0x2449c6(0x1ca)]=!![];const _0x5ab632={};_0x5ab632[_0x2449c6(0x1c9)]=_0x11b8e2,_0x299a6b=_0x5ab632,_0x165f28[_0x2449c6(0x19f)](_0x3951c5);}else _0x4a8730[_0x2449c6(0x1b9)][_0x2449c6(0x1d7)][_0x2449c6(0x1a5)]((_0x1a8b20,_0x4f002c)=>{const _0x43cef9=_0x2449c6,_0x5b0295={};_0x5b0295[_0x43cef9(0x1bb)]=_0x1294ca[_0x43cef9(0x1ac)];const _0x37840d=_0x5b0295;if(_0x1294ca['rulKu'](_0x1294ca[_0x43cef9(0x1aa)],_0x1294ca[_0x43cef9(0x1aa)])){if(_0x277afb)_0xd38815[_0x43cef9(0x19f)](helper['modifyBrowserStackW3CCaps'](_0x4a8730[_0x43cef9(0x1b9)],_0x1294ca[_0x43cef9(0x1ac)],_0x4f002c));else _0xd38815['push'](helper[_0x43cef9(0x1c1)](_0x4a8730[_0x43cef9(0x1b9)],_0x1294ca[_0x43cef9(0x1ac)],_0x4f002c));}else{if(_0x530e1f)_0x581b49[_0x43cef9(0x19f)](_0x560404[_0x43cef9(0x1b1)](_0x233922[_0x43cef9(0x1b9)],_0x37840d['fwEOP'],_0x2496d3));else _0x22dc18[_0x43cef9(0x19f)](_0x500be6[_0x43cef9(0x1c1)](_0x484890['config'],_0x37840d[_0x43cef9(0x1bb)],_0x347738));}});}let _0x47d94f,_0x382369;const _0x20ab07=[];if(_0x1294ca[_0x2449c6(0x1c3)](_0xd38815[_0x2449c6(0x1cd)],0x0)){if(_0x1294ca[_0x2449c6(0x1dd)](_0x1294ca[_0x2449c6(0x1d3)],_0x1294ca[_0x2449c6(0x1a2)]))_0xd38815[_0x2449c6(0x1a5)](_0x30a412=>{const _0x44b6d9=_0x2449c6;if(_0x1294ca['kwHYj'](_0x1294ca['MKrXI'],_0x1294ca[_0x44b6d9(0x1d5)])){_0x47d94f={'server':constants[_0x44b6d9(0x1c4)],'proxySettings':_0x4a8730[_0x44b6d9(0x1b9)][_0x44b6d9(0x1cf)],'platform':helper[_0x44b6d9(0x1ad)](_0x30a412)};const _0x5ab5f2={'capability':_0x30a412,..._0x47d94f};_0x5ab5f2['file']=_0x54c52a,_0x5ab5f2[_0x44b6d9(0x1be)]=_0x2203e4;const _0x1d469b={};_0x1d469b[_0x44b6d9(0x1c9)]=_0x5ab5f2,_0x382369=_0x1d469b,_0x20ab07[_0x44b6d9(0x19f)](_0x382369);}else _0x58f4e9['forEach'](_0x215652=>{const _0x22169d=_0x44b6d9;_0x4c640a={'server':_0x482ca6[_0x22169d(0x1c4)],'proxySettings':_0x2446e9[_0x22169d(0x1b9)][_0x22169d(0x1cf)],'platform':_0x16c722[_0x22169d(0x1ad)](_0x215652)};const _0x12bb83={'capability':_0x215652,..._0x3809c6};_0x12bb83[_0x22169d(0x1c5)]=_0x20f6dd,_0x12bb83['args']=_0x278800;const _0x323475={};_0x323475['configuration']=_0x12bb83,_0x101954=_0x323475,_0x466ca9[_0x22169d(0x19f)](_0x112d59);});});else{_0xa9f77={'server':_0x1f2627[_0x2449c6(0x1c4)],'proxySettings':_0x6ad999['config'][_0x2449c6(0x1cf)],'platform':_0x3709e3['getPlatformName'](_0x50db19)};const _0x2c746a={'capability':_0x443a59,..._0x4424e8};_0x2c746a[_0x2449c6(0x1c5)]=_0x22c5d4,_0x2c746a[_0x2449c6(0x1be)]=_0x5516e9;const _0x304d41={};_0x304d41['configuration']=_0x2c746a,_0xb95053=_0x304d41,_0x392437[_0x2449c6(0x19f)](_0x3cf669);}}else{if(_0x1294ca[_0x2449c6(0x1dd)](_0x1294ca[_0x2449c6(0x1d6)],_0x1294ca[_0x2449c6(0x1d6)]))_0x56712b[_0x2449c6(0x1b9)][_0x2449c6(0x1d7)]['forEach']((_0x17e299,_0x440eeb)=>{const _0x39f903=_0x2449c6;if(_0x8a4bcd)_0x1ff28c['push'](_0x59a17f[_0x39f903(0x1b1)](_0x2d4e42[_0x39f903(0x1b9)],_0x1294ca[_0x39f903(0x1ac)],_0x440eeb));else _0x199ba9['push'](_0x365cb4[_0x39f903(0x1c1)](_0x41a623[_0x39f903(0x1b9)],_0x1294ca[_0x39f903(0x1ac)],_0x440eeb));});else{let _0x3bce7c;if(_0x277afb)_0x3bce7c=helper['modifyBrowserStackW3CCaps'](_0x4a8730[_0x2449c6(0x1b9)],_0x1294ca[_0x2449c6(0x1ac)],0x0);else _0x3bce7c=helper[_0x2449c6(0x1c1)](_0x4a8730[_0x2449c6(0x1b9)],_0x1294ca[_0x2449c6(0x1ac)],0x0);const _0x281dc1={};_0x281dc1['server']=constants['hubUrl'],_0x281dc1[_0x2449c6(0x1cf)]=_0x4a8730[_0x2449c6(0x1b9)][_0x2449c6(0x1cf)],_0x47d94f=_0x281dc1;const _0x3f6723={'capability':_0x3bce7c,..._0x47d94f};_0x3f6723[_0x2449c6(0x1c5)]=_0x54c52a,_0x3f6723[_0x2449c6(0x1be)]=_0x2203e4,_0x3f6723[_0x2449c6(0x1ca)]=!![];const _0x37f13c={};_0x37f13c[_0x2449c6(0x1c9)]=_0x3f6723,_0x382369=_0x37f13c,_0x20ab07[_0x2449c6(0x19f)](_0x382369);}}const _0x459026=_0x1294ca[_0x2449c6(0x1cc)](_0x4a8730[_0x2449c6(0x1b9)]['platforms'][_0x2449c6(0x1cd)]||0x1,_0x4a8730[_0x2449c6(0x1b9)][_0x2449c6(0x1d1)]);_0x1294ca[_0x2449c6(0x1b8)](parallelVanillaRun,_0x20ab07,_0x459026)[_0x2449c6(0x1a1)](_0x3b69ab=>{});}function a30_0x2ca2(_0x1cc7a2,_0x217894){const _0x256967=a30_0x2569();return a30_0x2ca2=function(_0x2ca279,_0xd42c80){_0x2ca279=_0x2ca279-0x19f;let _0x4b53e2=_0x256967[_0x2ca279];return _0x4b53e2;},a30_0x2ca2(_0x1cc7a2,_0x217894);}module[a30_0x1c7944(0x1da)]=run;
@@ -1 +1 @@
1
- function a31_0x47f7(){const _0xa9d9c1=['zGRUk','ecxPD','xnQRd','GGNpw','./helper','WhHjx','default','hqEAv','unUdQ','selenium-webdriver','warn','GTwFD','info','eaaOu','6120876ppyAsV','Error\x20occured\x20while\x20stopping\x20local\x20binary','377126AOXpsr','constructor','SIGINT','AUoXT','WHETO','KwdKV','setupBrowserstackLocal','stopBrowserstackLocal','./setKeepAlive','error','CMAlk','awVYh','mMyzA','unhandledRejection','npNdZ','cutQL','userName\x20or\x20accessKey\x20is\x20not\x20defined','getAccessKey','BROWSERSTACK_LOCAL','isRunning','2114589oOEEgr','fkkJa','gTfsR','BlASh','platforms','Latlt','generateLocalIdentifier','iTpTJ','Unable\x20to\x20add\x20buildIdentifier:\x20','JIhLP','message','localIdentifier','debug','rQube','vmwLM','getLocalIdentifier','vgqNL','vnIsc','DihSo','handleBuildIdentifier','FYsqO','AtGzM','ilAvH','useW3C','ImrhJ','832528kkjfoO','fULSM','setLogLevel','FcKgL','AkSXc','qaYQe','bIxgi','fTvJT','mkIfc','Local\x20binary\x20stopped','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','TMhZh','qeTWd','kFmKW','getUserName','nRNyD','7050232hwZSim','KdSIK','Lmcng','BeTBA','yoeUC','qtaGz','govrZ','apMkB','yMcjL','fjred','dSWma','aqqiu','browserstackLocal','lRuac','NtAUA','HOBvn','./logger','ekZLO','NlEic','AabYV','HDUFP','XNKyQ','beforeExit','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','env','WJZkg','eVtng','fxvtH','RlcXB','Something\x20went\x20wrong\x20while\x20starting\x20local\x20:','ZrJyB','ylepa','stopLocalBinary','pDcUk','1KerARi','4402632SJRcYT','Local\x20binary\x20started\x20successfully','browserStackLocalOptions','getLocalConfig','ZbkEz','Rcyjc','uncaughtException','parallelsPerPlatform','winstonLogger','GpvBt','getPackageVersion','nIDIh','handleExceptions','setupKeepAlive','Vwvpw','hLgbt','OVBhS','ZUmCy','config','4400590RCnEhP','isUndefined','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','aXSqu','BrFGQ','setProxySettings','iWUej','length','DyItp','startLocalBinarySync','ctRSe','XYund'];a31_0x47f7=function(){return _0xa9d9c1;};return a31_0x47f7();}const a31_0x2c7813=a31_0x5b66;(function(_0x522453,_0x560707){const _0x499d4f=a31_0x5b66,_0x4b8ca5=_0x522453();while(!![]){try{const _0x306c63=parseInt(_0x499d4f(0x16f))/0x1*(parseInt(_0x499d4f(0x19f))/0x2)+parseInt(_0x499d4f(0x1b3))/0x3+-parseInt(_0x499d4f(0x170))/0x4+parseInt(_0x499d4f(0x183))/0x5+parseInt(_0x499d4f(0x19d))/0x6+-parseInt(_0x499d4f(0x14d))/0x7+-parseInt(_0x499d4f(0x13d))/0x8;if(_0x306c63===_0x560707)break;else _0x4b8ca5['push'](_0x4b8ca5['shift']());}catch(_0x3a4eca){_0x4b8ca5['push'](_0x4b8ca5['shift']());}}}(a31_0x47f7,0x8e09e));const logger=require(a31_0x2c7813(0x15d))[a31_0x2c7813(0x178)],helper=require(a31_0x2c7813(0x193)),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');class BrowserStackSetup{constructor(){const _0x4b7b75=a31_0x2c7813,_0x4f1bd7={'uEtpr':function(_0x2ab94a,_0x49da1a){return _0x2ab94a(_0x49da1a);},'KwdKV':_0x4b7b75(0x1a7),'OoYoO':_0x4b7b75(0x1ac),'Vwvpw':_0x4b7b75(0x176),'NlEic':_0x4b7b75(0x164),'ZUmCy':_0x4b7b75(0x1bb),'IduUc':_0x4b7b75(0x16a),'TMhZh':_0x4b7b75(0x1af),'ecxPD':_0x4b7b75(0x147),'apMkB':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','Lmcng':function(_0x2b0dc9){return _0x2b0dc9();},'fjred':function(_0x378cf7,_0x21f795){return _0x378cf7<_0x21f795;},'ZbkEz':function(_0x31759c,_0x53b10b){return _0x31759c(_0x53b10b);},'WhHjx':_0x4b7b75(0x198),'fTvJT':function(_0x316759,_0x172bfd){return _0x316759!==_0x172bfd;},'SuzSf':_0x4b7b75(0x1ae),'qaYQe':function(_0x35c6b2,_0x32d2ad){return _0x35c6b2>=_0x32d2ad;},'RlcXB':function(_0x2c1bc0,_0x52be8f){return _0x2c1bc0(_0x52be8f);},'ilAvH':function(_0xbb5459,_0x4bb86d){return _0xbb5459===_0x4bb86d;},'ekZLO':_0x4b7b75(0x15b),'aXSqu':'aCjsS','nIDIh':function(_0x21e29c,_0x411fe2){return _0x21e29c===_0x411fe2;},'gTfsR':_0x4b7b75(0x18d),'ylepa':_0x4b7b75(0x1a2),'FcKgL':function(_0x1fd72d,_0x944ac7){return _0x1fd72d!==_0x944ac7;},'fULSM':'QGkuG','KdSIK':_0x4b7b75(0x19a),'rcrfr':'aEZeO','xnQRd':_0x4b7b75(0x162),'hqEAv':function(_0x299982,_0x50d72e){return _0x299982!==_0x50d72e;},'lRuac':function(_0x294aea,_0x1e8715){return _0x294aea===_0x1e8715;},'dCCCH':_0x4b7b75(0x197),'TDDHt':_0x4b7b75(0x16b),'iWUej':function(_0x28a034,_0x2c6a38){return _0x28a034===_0x2c6a38;},'HDUFP':_0x4b7b75(0x135),'XYund':function(_0x266fde,_0x398948){return _0x266fde===_0x398948;},'VBZrd':_0x4b7b75(0x141),'iTpTJ':_0x4b7b75(0x192),'WJZkg':function(_0x374806,_0x4a95f3){return _0x374806===_0x4a95f3;},'yMcjL':function(_0x575375,_0x335cb9){return _0x575375!==_0x335cb9;},'awVYh':_0x4b7b75(0x17f),'kFmKW':_0x4b7b75(0x1b6),'DihSo':function(_0xf1619c,_0x1b864b){return _0xf1619c!==_0x1b864b;},'VxXhq':_0x4b7b75(0x15c),'AabYV':_0x4b7b75(0x1b8),'iKDqQ':function(_0x2daf7c,_0xac8a7e){return _0x2daf7c===_0xac8a7e;},'mkIfc':'kBvTC'};this[_0x4b7b75(0x159)]=null,this[_0x4b7b75(0x182)]=helper['readConfig'](helper['getConfigPath']());if(this[_0x4b7b75(0x182)][_0x4b7b75(0x1a8)])throw new Error(this[_0x4b7b75(0x182)][_0x4b7b75(0x1a8)]);if(!_0x4f1bd7[_0x4b7b75(0x14f)](isBrowserstackInfra))return;_0x4f1bd7[_0x4b7b75(0x156)](_0x4f1bd7[_0x4b7b75(0x174)](parseInt,helper[_0x4b7b75(0x17a)](_0x4f1bd7[_0x4b7b75(0x194)])),0x3)&&(_0x4f1bd7[_0x4b7b75(0x144)](_0x4f1bd7['SuzSf'],_0x4f1bd7['SuzSf'])?this[_0x4b7b75(0x182)][_0x4b7b75(0x13b)]=!![]:this[_0x4b7b75(0x182)]['useW3C']=![]);_0x4f1bd7[_0x4b7b75(0x142)](_0x4f1bd7[_0x4b7b75(0x169)](parseInt,helper[_0x4b7b75(0x17a)](_0x4f1bd7[_0x4b7b75(0x194)])),4.5)&&(_0x4f1bd7[_0x4b7b75(0x13a)](_0x4f1bd7[_0x4b7b75(0x15e)],_0x4f1bd7[_0x4b7b75(0x186)])?_0x4f1bd7['uEtpr'](_0x56c2a8,_0x4f1bd7[_0x4b7b75(0x1a4)])():this[_0x4b7b75(0x182)][_0x4b7b75(0x13b)]=!![]);if(helper['isUndefined'](this[_0x4b7b75(0x182)][_0x4b7b75(0x1b7)])||helper[_0x4b7b75(0x184)](this[_0x4b7b75(0x182)][_0x4b7b75(0x1b7)][_0x4b7b75(0x18a)])){if(_0x4f1bd7[_0x4b7b75(0x17b)](_0x4f1bd7[_0x4b7b75(0x1b5)],_0x4f1bd7['gTfsR'])){if(helper[_0x4b7b75(0x184)](this[_0x4b7b75(0x182)][_0x4b7b75(0x177)])){if(_0x4f1bd7[_0x4b7b75(0x144)](_0x4f1bd7[_0x4b7b75(0x16c)],_0x4f1bd7[_0x4b7b75(0x16c)])){const _0x8ded85=_0x405f04=>{const _0x1067e0=_0x4b7b75;_0xc0aa14[_0x1067e0(0x1a8)](_0x405f04[_0x1067e0(0x1bd)]),_0x42ea5d[_0x1067e0(0x1bf)](_0x405f04);};_0x103e64['on'](_0x4f1bd7['OoYoO'],_0x8ded85),_0x24733c['on'](_0x4f1bd7[_0x4b7b75(0x17e)],_0x8ded85);}else logger['info'](_0x4f1bd7[_0x4b7b75(0x190)]);}else _0x4f1bd7[_0x4b7b75(0x140)](_0x4f1bd7[_0x4b7b75(0x13e)],_0x4f1bd7[_0x4b7b75(0x14e)])?logger['warn'](_0x4f1bd7['apMkB']):_0x464044[_0x4b7b75(0x19b)](_0x4f1bd7[_0x4b7b75(0x15f)]);this[_0x4b7b75(0x182)]['platforms']=[];}else _0xc83b7[_0x4b7b75(0x137)](this[_0x4b7b75(0x182)]);}helper['isUndefined'](this[_0x4b7b75(0x182)][_0x4b7b75(0x177)])&&(_0x4f1bd7['nIDIh'](_0x4f1bd7['rcrfr'],_0x4f1bd7[_0x4b7b75(0x191)])?_0x5c309c[_0x4b7b75(0x1bf)](_0x4f1bd7[_0x4b7b75(0x181)],_0x4071a0):(_0x4f1bd7[_0x4b7b75(0x196)](this[_0x4b7b75(0x182)][_0x4b7b75(0x1b7)][_0x4b7b75(0x18a)],0x0)&&(_0x4f1bd7[_0x4b7b75(0x15a)](_0x4f1bd7['dCCCH'],_0x4f1bd7['TDDHt'])?(_0x5567f4[_0x4b7b75(0x1a8)](_0x4f1bd7['IduUc'],_0xad5671[_0x4b7b75(0x1bd)]),_0x12c556[_0x4b7b75(0x1bf)](_0x5ba0a4)):logger[_0x4b7b75(0x19b)](_0x4f1bd7[_0x4b7b75(0x15f)])),this['config']['parallelsPerPlatform']=0x1));!this['config']['browserStackLocalOptions']&&(this[_0x4b7b75(0x182)][_0x4b7b75(0x172)]=this[_0x4b7b75(0x182)]['localOptions']||{});if(helper[_0x4b7b75(0x184)](helper[_0x4b7b75(0x14b)](this[_0x4b7b75(0x182)]))||helper['isUndefined'](helper[_0x4b7b75(0x1b0)](this[_0x4b7b75(0x182)]))){if(_0x4f1bd7[_0x4b7b75(0x189)](_0x4f1bd7[_0x4b7b75(0x161)],_0x4f1bd7[_0x4b7b75(0x161)]))throw new Error(_0x4f1bd7[_0x4b7b75(0x148)]);else this[_0x4b7b75(0x182)][_0x4b7b75(0x172)][_0x4b7b75(0x1be)]=_0x142713[_0x4b7b75(0x1b9)]();}if(helper[_0x4b7b75(0x173)](this[_0x4b7b75(0x182)])&&helper['isUndefined'](helper[_0x4b7b75(0x133)](this['config']))){if(_0x4f1bd7[_0x4b7b75(0x18e)](_0x4f1bd7['VBZrd'],_0x4f1bd7[_0x4b7b75(0x1ba)]))this[_0x4b7b75(0x182)][_0x4b7b75(0x13b)]=![];else{if(!helper[_0x4b7b75(0x184)](this['config']['browserStackLocalOptions'])&&_0x4f1bd7[_0x4b7b75(0x166)](this[_0x4b7b75(0x182)]['browserStackLocalOptions'][_0x4b7b75(0x1a0)],Object)){if(_0x4f1bd7[_0x4b7b75(0x155)](_0x4f1bd7[_0x4b7b75(0x1aa)],_0x4f1bd7[_0x4b7b75(0x14a)]))this['config'][_0x4b7b75(0x172)]['localIdentifier']=helper[_0x4b7b75(0x1b9)]();else throw new _0x276cc9(_0x4f1bd7[_0x4b7b75(0x148)]);}else _0x4f1bd7[_0x4b7b75(0x136)](_0x4f1bd7['VxXhq'],_0x4f1bd7['VxXhq'])?(_0x5d06e0[_0x4b7b75(0x1a8)](_0x273482['message']),_0x5bb24d[_0x4b7b75(0x1bf)](_0x16a530)):this['config'][_0x4b7b75(0x172)]={'localIdentifier':helper[_0x4b7b75(0x1b9)]()};}}helper[_0x4b7b75(0x13f)](this['config']),helper[_0x4b7b75(0x188)](this[_0x4b7b75(0x182)]);try{_0x4f1bd7[_0x4b7b75(0x15a)](_0x4f1bd7[_0x4b7b75(0x160)],_0x4f1bd7[_0x4b7b75(0x160)])?helper[_0x4b7b75(0x137)](this['config']):(_0x49bb77[_0x4b7b75(0x184)](this[_0x4b7b75(0x182)][_0x4b7b75(0x177)])?_0x450fd3[_0x4b7b75(0x19b)](_0x4f1bd7['ecxPD']):_0xdea7d1[_0x4b7b75(0x199)](_0x4f1bd7[_0x4b7b75(0x154)]),this[_0x4b7b75(0x182)][_0x4b7b75(0x1b7)]=[]);}catch(_0x50367c){_0x4f1bd7['iKDqQ'](_0x4f1bd7[_0x4b7b75(0x145)],_0x4f1bd7[_0x4b7b75(0x145)])?logger['debug'](_0x4f1bd7[_0x4b7b75(0x181)],_0x50367c):_0x2d9e33[_0x4b7b75(0x19b)](_0x4f1bd7[_0x4b7b75(0x190)]);}this[_0x4b7b75(0x17c)](),this[_0x4b7b75(0x1a5)](),this[_0x4b7b75(0x17d)]();}['setupBrowserstackLocal'](){const _0x3395e6=a31_0x2c7813,_0x590ada={};_0x590ada['fkkJa']=function(_0x48c84e,_0x5d22a8){return _0x48c84e===_0x5d22a8;},_0x590ada[_0x3395e6(0x1a9)]=_0x3395e6(0x175),_0x590ada['rQube']=_0x3395e6(0x167),_0x590ada['GpvBt']=function(_0x24402e,_0x370f65){return _0x24402e==_0x370f65;},_0x590ada[_0x3395e6(0x132)]=_0x3395e6(0x185),_0x590ada[_0x3395e6(0x138)]=function(_0x22a9e0,_0xa35bc8){return _0x22a9e0!==_0xa35bc8;},_0x590ada[_0x3395e6(0x149)]='parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)',_0x590ada['BeTBA']=function(_0x3c6dc6,_0x472e97){return _0x3c6dc6===_0x472e97;},_0x590ada[_0x3395e6(0x1bc)]=function(_0x29231b,_0x152454){return _0x29231b!==_0x152454;},_0x590ada[_0x3395e6(0x157)]=_0x3395e6(0x134),_0x590ada[_0x3395e6(0x1a3)]='lySEu',_0x590ada['mMyzA']='XOFVK',_0x590ada[_0x3395e6(0x180)]=_0x3395e6(0x171),_0x590ada[_0x3395e6(0x14c)]=_0x3395e6(0x163),_0x590ada[_0x3395e6(0x143)]=_0x3395e6(0x1a1),_0x590ada[_0x3395e6(0x18f)]='SIGTERM',_0x590ada[_0x3395e6(0x16e)]='xHTHZ',_0x590ada[_0x3395e6(0x168)]=_0x3395e6(0x152),_0x590ada[_0x3395e6(0x19c)]=_0x3395e6(0x16a);const _0x33da3f=_0x590ada;if((_0x33da3f['GpvBt'](this['config'][_0x3395e6(0x159)],!![])||process[_0x3395e6(0x165)][_0x3395e6(0x1b1)])&&(!this['browserstackLocal']||!this[_0x3395e6(0x159)]['isRunning']())){if(_0x33da3f[_0x3395e6(0x1bc)](_0x33da3f[_0x3395e6(0x157)],_0x33da3f[_0x3395e6(0x1a3)]))try{if(_0x33da3f['fkkJa'](_0x33da3f[_0x3395e6(0x1ab)],_0x33da3f[_0x3395e6(0x1ab)])){this[_0x3395e6(0x159)]=helper[_0x3395e6(0x18c)](this['config']),logger[_0x3395e6(0x19b)](_0x33da3f[_0x3395e6(0x180)]);let _0x4f6351=0x0;const _0x1d7b04=async()=>{const _0x4126b8=_0x3395e6;_0x33da3f[_0x4126b8(0x1b4)](_0x33da3f['CMAlk'],_0x33da3f[_0x4126b8(0x131)])?this[_0x4126b8(0x182)][_0x4126b8(0x172)]={'localIdentifier':_0x3a1bd8[_0x4126b8(0x1b9)]()}:(_0x4f6351++,_0x33da3f[_0x4126b8(0x179)](_0x4f6351,0x1)&&await this[_0x4126b8(0x1a6)]());};process['on'](_0x33da3f[_0x3395e6(0x14c)],_0x1d7b04),process['on'](_0x33da3f[_0x3395e6(0x143)],_0x1d7b04),process['on'](_0x33da3f[_0x3395e6(0x18f)],_0x1d7b04);}else _0x5870a7['warn'](_0x33da3f[_0x3395e6(0x132)]);}catch(_0x3b9887){_0x33da3f[_0x3395e6(0x1b4)](_0x33da3f[_0x3395e6(0x16e)],_0x33da3f[_0x3395e6(0x168)])?(_0x33da3f[_0x3395e6(0x138)](this[_0x3395e6(0x182)][_0x3395e6(0x1b7)][_0x3395e6(0x18a)],0x0)&&_0x4bfeda['info'](_0x33da3f[_0x3395e6(0x149)]),this[_0x3395e6(0x182)][_0x3395e6(0x177)]=0x1):(logger['error'](_0x33da3f['eaaOu'],_0x3b9887['message']),logger[_0x3395e6(0x1bf)](_0x3b9887));}else!_0x2edbf7[_0x3395e6(0x184)](this[_0x3395e6(0x182)]['browserStackLocalOptions'])&&_0x33da3f[_0x3395e6(0x150)](this[_0x3395e6(0x182)][_0x3395e6(0x172)][_0x3395e6(0x1a0)],_0x120db7)?this[_0x3395e6(0x182)]['browserStackLocalOptions']['localIdentifier']=_0x362f84[_0x3395e6(0x1b9)]():this[_0x3395e6(0x182)][_0x3395e6(0x172)]={'localIdentifier':_0x2df7bd[_0x3395e6(0x1b9)]()};}}async[a31_0x2c7813(0x1a6)](){const _0x11f0a1=a31_0x2c7813,_0x35f7bf={};_0x35f7bf['npNdZ']=_0x11f0a1(0x19e),_0x35f7bf[_0x11f0a1(0x151)]=function(_0x1d0075,_0x3f2069){return _0x1d0075===_0x3f2069;},_0x35f7bf[_0x11f0a1(0x13c)]=_0x11f0a1(0x139),_0x35f7bf['hgBqq']=_0x11f0a1(0x158),_0x35f7bf['NNyXZ']=_0x11f0a1(0x146);const _0x3f6848=_0x35f7bf;if(this['browserstackLocal']&&this['browserstackLocal'][_0x11f0a1(0x1b2)]())try{_0x3f6848[_0x11f0a1(0x151)](_0x3f6848['ImrhJ'],_0x3f6848['hgBqq'])?_0x1e53c8[_0x11f0a1(0x1a8)](_0x3f6848[_0x11f0a1(0x1ad)],_0x1b2932[_0x11f0a1(0x1bd)]):(await helper[_0x11f0a1(0x16d)](this[_0x11f0a1(0x159)]),logger[_0x11f0a1(0x19b)](_0x3f6848['NNyXZ']));}catch(_0x5cb1d4){logger['error'](_0x3f6848['npNdZ'],_0x5cb1d4[_0x11f0a1(0x1bd)]);}}[a31_0x2c7813(0x17d)](){const _0x1a63a1=a31_0x2c7813,_0x372203={'BRyPd':function(_0x476c3b,_0x782055){return _0x476c3b(_0x782055);},'BrFGQ':_0x1a63a1(0x1a7)};_0x372203['BRyPd'](require,_0x372203[_0x1a63a1(0x187)])();}[a31_0x2c7813(0x17c)](){const _0xb801f1=a31_0x2c7813,_0x1746ca={};_0x1746ca[_0xb801f1(0x153)]='unhandledRejection',_0x1746ca['DyItp']=_0xb801f1(0x176);const _0x43710f=_0x1746ca,_0x96147e=_0x1ceb61=>{const _0x4f9faf=_0xb801f1;logger[_0x4f9faf(0x1a8)](_0x1ceb61['message']),logger['debug'](_0x1ceb61);};process['on'](_0x43710f[_0xb801f1(0x153)],_0x96147e),process['on'](_0x43710f[_0xb801f1(0x18b)],_0x96147e);}}function a31_0x5b66(_0x5d771a,_0x5b99de){const _0x47f7e5=a31_0x47f7();return a31_0x5b66=function(_0x5b6613,_0x161c70){_0x5b6613=_0x5b6613-0x131;let _0x4d598b=_0x47f7e5[_0x5b6613];return _0x4d598b;},a31_0x5b66(_0x5d771a,_0x5b99de);}exports[a31_0x2c7813(0x195)]=BrowserStackSetup;
1
+ function a31_0x2a5c(_0x593edf,_0x47b478){const _0x3156a5=a31_0x3156();return a31_0x2a5c=function(_0x2a5c03,_0x501bff){_0x2a5c03=_0x2a5c03-0x165;let _0x5a65a4=_0x3156a5[_0x2a5c03];return _0x5a65a4;},a31_0x2a5c(_0x593edf,_0x47b478);}const a31_0x30e02b=a31_0x2a5c;(function(_0x22f82d,_0x51cfc8){const _0x532abe=a31_0x2a5c,_0x16644f=_0x22f82d();while(!![]){try{const _0x322fe2=parseInt(_0x532abe(0x16d))/0x1+-parseInt(_0x532abe(0x1c1))/0x2*(-parseInt(_0x532abe(0x1c2))/0x3)+-parseInt(_0x532abe(0x1a8))/0x4*(parseInt(_0x532abe(0x1a2))/0x5)+-parseInt(_0x532abe(0x1b5))/0x6+parseInt(_0x532abe(0x169))/0x7*(-parseInt(_0x532abe(0x165))/0x8)+-parseInt(_0x532abe(0x19f))/0x9*(parseInt(_0x532abe(0x194))/0xa)+parseInt(_0x532abe(0x16a))/0xb*(parseInt(_0x532abe(0x185))/0xc);if(_0x322fe2===_0x51cfc8)break;else _0x16644f['push'](_0x16644f['shift']());}catch(_0x2ca4e0){_0x16644f['push'](_0x16644f['shift']());}}}(a31_0x3156,0x8a70a));const logger=require(a31_0x30e02b(0x1ce))[a31_0x30e02b(0x1ad)],helper=require(a31_0x30e02b(0x1ac)),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');class BrowserStackSetup{constructor(){const _0x1c9d8a=a31_0x30e02b,_0x2d95fc={'UgBmI':_0x1c9d8a(0x1db),'jpfjl':'Something\x20went\x20wrong\x20while\x20starting\x20local\x20:','JhUjJ':_0x1c9d8a(0x17e),'czzAk':_0x1c9d8a(0x176),'BVhKy':_0x1c9d8a(0x199),'SyuZv':function(_0x2525d3,_0x3b1fa8){return _0x2525d3!==_0x3b1fa8;},'lApuO':_0x1c9d8a(0x1a0),'dnWPt':function(_0x35b9e7){return _0x35b9e7();},'TCeFw':function(_0x4330f1,_0x15c72f){return _0x4330f1<_0x15c72f;},'sqWbw':function(_0x3eb18f,_0x544a9e){return _0x3eb18f(_0x544a9e);},'cczxI':'selenium-webdriver','ZBfpR':function(_0x27cb7c,_0xa0802b){return _0x27cb7c===_0xa0802b;},'zwSwx':_0x1c9d8a(0x1d1),'VfocH':_0x1c9d8a(0x1c0),'tqrFb':function(_0x5bf713,_0x9e6c54){return _0x5bf713>=_0x9e6c54;},'lzVag':function(_0x36238b,_0x433978){return _0x36238b(_0x433978);},'SHWnH':_0x1c9d8a(0x182),'StImD':function(_0x541d6b,_0x577398){return _0x541d6b===_0x577398;},'oohKg':'lizeo','uqYls':'JGvxq','iydqi':function(_0x5c4940,_0x22ab65){return _0x5c4940!==_0x22ab65;},'cbcts':_0x1c9d8a(0x1c9),'vOSRC':'lcqsF','gJgDC':_0x1c9d8a(0x1a7),'adpZS':_0x1c9d8a(0x1cf),'MWQUl':_0x1c9d8a(0x187),'hdYCE':_0x1c9d8a(0x1e2),'uXMfO':_0x1c9d8a(0x16e),'jqPky':'BYITD','BYGRT':_0x1c9d8a(0x1be),'jVOHQ':'oDOUk','PxRQA':_0x1c9d8a(0x1dd),'vRpdd':function(_0x58c176,_0x58bd40){return _0x58c176===_0x58bd40;},'UZqXx':_0x1c9d8a(0x170),'MSdWT':_0x1c9d8a(0x1a6),'TvWUI':function(_0x250319,_0x17a14d){return _0x250319===_0x17a14d;},'tgGFm':_0x1c9d8a(0x1ca)};this['browserstackLocal']=null,this[_0x1c9d8a(0x1c6)]=helper[_0x1c9d8a(0x1d7)](helper[_0x1c9d8a(0x1c5)]());if(this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x190)])throw new Error(this[_0x1c9d8a(0x1c6)]['error']);if(!_0x2d95fc[_0x1c9d8a(0x1bd)](isBrowserstackInfra))return;_0x2d95fc[_0x1c9d8a(0x1bc)](_0x2d95fc[_0x1c9d8a(0x19e)](parseInt,helper['getPackageVersion'](_0x2d95fc[_0x1c9d8a(0x1b9)])),0x3)&&(_0x2d95fc[_0x1c9d8a(0x1cd)](_0x2d95fc[_0x1c9d8a(0x168)],_0x2d95fc[_0x1c9d8a(0x1d0)])?_0x496965['warn'](_0x2d95fc[_0x1c9d8a(0x1e5)]):this['config']['useW3C']=![]);_0x2d95fc['tqrFb'](_0x2d95fc[_0x1c9d8a(0x1ab)](parseInt,helper['getPackageVersion'](_0x2d95fc[_0x1c9d8a(0x1b9)])),4.5)&&(_0x2d95fc[_0x1c9d8a(0x1cd)](_0x2d95fc['SHWnH'],_0x2d95fc[_0x1c9d8a(0x1d4)])?this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x17c)]=!![]:this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x17c)]=!![]);(helper[_0x1c9d8a(0x167)](this['config'][_0x1c9d8a(0x18c)])||helper[_0x1c9d8a(0x167)](this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x18c)][_0x1c9d8a(0x1e8)]))&&(_0x2d95fc[_0x1c9d8a(0x1a3)](_0x2d95fc['oohKg'],_0x2d95fc['uqYls'])?this['config'][_0x1c9d8a(0x174)][_0x1c9d8a(0x1d6)]=_0x243266['generateLocalIdentifier']():(helper[_0x1c9d8a(0x167)](this[_0x1c9d8a(0x1c6)]['parallelsPerPlatform'])?_0x2d95fc[_0x1c9d8a(0x1b8)](_0x2d95fc[_0x1c9d8a(0x19d)],_0x2d95fc['vOSRC'])?logger['info'](_0x2d95fc[_0x1c9d8a(0x1e7)]):(_0x3876aa[_0x1c9d8a(0x190)](_0x2d95fc[_0x1c9d8a(0x17d)],_0x49e7b2[_0x1c9d8a(0x1d2)]),_0x42c46f['debug'](_0x4b4b38)):_0x2d95fc[_0x1c9d8a(0x1e3)](_0x2d95fc['gJgDC'],_0x2d95fc[_0x1c9d8a(0x1d3)])?this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x17c)]=![]:logger[_0x1c9d8a(0x1dc)](_0x2d95fc[_0x1c9d8a(0x1e5)]),this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x18c)]=[]));helper[_0x1c9d8a(0x167)](this[_0x1c9d8a(0x1c6)]['parallelsPerPlatform'])&&(_0x2d95fc[_0x1c9d8a(0x1cd)](_0x2d95fc['adpZS'],_0x2d95fc[_0x1c9d8a(0x17b)])?_0x234462[_0x1c9d8a(0x190)](_0x2d95fc[_0x1c9d8a(0x178)],_0x19db34[_0x1c9d8a(0x1d2)]):(_0x2d95fc['SyuZv'](this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x18c)][_0x1c9d8a(0x1e8)],0x0)&&(_0x2d95fc['ZBfpR'](_0x2d95fc[_0x1c9d8a(0x1a4)],_0x2d95fc[_0x1c9d8a(0x1aa)])?_0x1fd44e['info'](_0x2d95fc[_0x1c9d8a(0x192)]):logger[_0x1c9d8a(0x177)](_0x2d95fc[_0x1c9d8a(0x192)])),this['config'][_0x1c9d8a(0x198)]=0x1));!this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x174)]&&(this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x174)]=this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x18d)]||{});if(helper[_0x1c9d8a(0x167)](helper[_0x1c9d8a(0x184)](this['config']))||helper['isUndefined'](helper[_0x1c9d8a(0x189)](this['config']))){if(_0x2d95fc['StImD'](_0x2d95fc['jqPky'],_0x2d95fc[_0x1c9d8a(0x1e0)]))_0x146abb['error'](_0x518847[_0x1c9d8a(0x1d2)]),_0xde7831[_0x1c9d8a(0x166)](_0x3e459a);else throw new Error(_0x2d95fc['lApuO']);}if(helper[_0x1c9d8a(0x19c)](this[_0x1c9d8a(0x1c6)])&&helper[_0x1c9d8a(0x167)](helper[_0x1c9d8a(0x19b)](this['config']))){if(_0x2d95fc[_0x1c9d8a(0x1a3)](_0x2d95fc['jVOHQ'],_0x2d95fc[_0x1c9d8a(0x175)]))_0x3b1043[_0x1c9d8a(0x167)](this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x198)])?_0x4aa0cd[_0x1c9d8a(0x177)](_0x2d95fc[_0x1c9d8a(0x1e7)]):_0x4f01f5[_0x1c9d8a(0x1dc)](_0x2d95fc['UgBmI']),this[_0x1c9d8a(0x1c6)]['platforms']=[];else{if(!helper[_0x1c9d8a(0x167)](this[_0x1c9d8a(0x1c6)]['browserStackLocalOptions'])&&_0x2d95fc[_0x1c9d8a(0x1a1)](this['config'][_0x1c9d8a(0x174)]['constructor'],Object))_0x2d95fc[_0x1c9d8a(0x1e3)](_0x2d95fc[_0x1c9d8a(0x16c)],_0x2d95fc[_0x1c9d8a(0x191)])?this['config'][_0x1c9d8a(0x174)][_0x1c9d8a(0x1d6)]=helper[_0x1c9d8a(0x1d5)]():(_0x2d95fc[_0x1c9d8a(0x1e3)](this['config']['platforms'][_0x1c9d8a(0x1e8)],0x0)&&_0x2dbf2b[_0x1c9d8a(0x177)](_0x2d95fc['czzAk']),this['config'][_0x1c9d8a(0x198)]=0x1);else{if(_0x2d95fc[_0x1c9d8a(0x197)](_0x2d95fc[_0x1c9d8a(0x1b1)],_0x2d95fc['tgGFm']))this[_0x1c9d8a(0x1c6)]['browserStackLocalOptions']={'localIdentifier':helper[_0x1c9d8a(0x1d5)]()};else throw new _0x20669a(_0x2d95fc[_0x1c9d8a(0x17f)]);}}}helper[_0x1c9d8a(0x1b4)](this[_0x1c9d8a(0x1c6)]),helper[_0x1c9d8a(0x1b7)](this[_0x1c9d8a(0x1c6)]),helper['handleBuildIdentifier'](this[_0x1c9d8a(0x1c6)]),this[_0x1c9d8a(0x1d9)](),this[_0x1c9d8a(0x1e6)](),this[_0x1c9d8a(0x1c7)]();}[a31_0x30e02b(0x1e6)](){const _0x17ac2b=a31_0x30e02b,_0x90ef77={};_0x90ef77[_0x17ac2b(0x18e)]=_0x17ac2b(0x1c4),_0x90ef77[_0x17ac2b(0x1b2)]='uncaughtException',_0x90ef77['GJwVR']=function(_0xf75b7b,_0x2badf9){return _0xf75b7b!==_0x2badf9;},_0x90ef77[_0x17ac2b(0x1df)]=_0x17ac2b(0x195),_0x90ef77[_0x17ac2b(0x18b)]='gFfFH',_0x90ef77['gvyfo']=function(_0x53778f,_0x49e29f){return _0x53778f==_0x49e29f;},_0x90ef77[_0x17ac2b(0x18f)]=function(_0x818586,_0x3adb38){return _0x818586===_0x3adb38;},_0x90ef77[_0x17ac2b(0x1bf)]=_0x17ac2b(0x199),_0x90ef77[_0x17ac2b(0x173)]='TjmDS',_0x90ef77[_0x17ac2b(0x1da)]=function(_0x33593d,_0x29f53d){return _0x33593d!==_0x29f53d;},_0x90ef77[_0x17ac2b(0x1e1)]='rSyQt',_0x90ef77['IwdVu']=_0x17ac2b(0x183),_0x90ef77['UctYe']=_0x17ac2b(0x1b0),_0x90ef77['nQkaU']='beforeExit',_0x90ef77[_0x17ac2b(0x1cb)]=_0x17ac2b(0x1b6),_0x90ef77[_0x17ac2b(0x1bb)]=_0x17ac2b(0x1ba),_0x90ef77[_0x17ac2b(0x1b3)]=_0x17ac2b(0x19a),_0x90ef77[_0x17ac2b(0x193)]='rqXXr',_0x90ef77[_0x17ac2b(0x1a9)]='Something\x20went\x20wrong\x20while\x20starting\x20local\x20:';const _0x31e12f=_0x90ef77;if((_0x31e12f[_0x17ac2b(0x179)](this[_0x17ac2b(0x1c6)][_0x17ac2b(0x1e4)],!![])||process['env'][_0x17ac2b(0x1d8)])&&(!this[_0x17ac2b(0x1e4)]||!this[_0x17ac2b(0x1e4)][_0x17ac2b(0x171)]())){if(_0x31e12f[_0x17ac2b(0x18f)](_0x31e12f[_0x17ac2b(0x173)],_0x31e12f[_0x17ac2b(0x173)]))try{if(_0x31e12f['GvnUO'](_0x31e12f[_0x17ac2b(0x1e1)],_0x31e12f['IwdVu'])){this[_0x17ac2b(0x1e4)]=helper[_0x17ac2b(0x186)](this['config']),logger[_0x17ac2b(0x177)](_0x31e12f[_0x17ac2b(0x1a5)]);let _0x3376cd=0x0;const _0x747d28=async()=>{const _0x38e02f=_0x17ac2b;if(_0x31e12f[_0x38e02f(0x172)](_0x31e12f[_0x38e02f(0x1df)],_0x31e12f[_0x38e02f(0x18b)]))_0x3376cd++,_0x31e12f[_0x38e02f(0x179)](_0x3376cd,0x1)&&await this['stopBrowserstackLocal']();else{const _0x1df085=_0x1074e3=>{const _0xaa134=_0x38e02f;_0x5d6eb3[_0xaa134(0x190)](_0x1074e3[_0xaa134(0x1d2)]),_0x2fb172[_0xaa134(0x166)](_0x1074e3);};_0x1b656e['on'](_0x31e12f[_0x38e02f(0x18e)],_0x1df085),_0x54d8a8['on'](_0x31e12f['YJewy'],_0x1df085);}};process['on'](_0x31e12f[_0x17ac2b(0x16b)],_0x747d28),process['on'](_0x31e12f[_0x17ac2b(0x1cb)],_0x747d28),process['on'](_0x31e12f[_0x17ac2b(0x1bb)],_0x747d28);}else!_0x44c7cb[_0x17ac2b(0x167)](this[_0x17ac2b(0x1c6)][_0x17ac2b(0x174)])&&_0x31e12f[_0x17ac2b(0x18f)](this[_0x17ac2b(0x1c6)][_0x17ac2b(0x174)][_0x17ac2b(0x1c8)],_0xe03232)?this[_0x17ac2b(0x1c6)][_0x17ac2b(0x174)][_0x17ac2b(0x1d6)]=_0x211d09[_0x17ac2b(0x1d5)]():this[_0x17ac2b(0x1c6)]['browserStackLocalOptions']={'localIdentifier':_0x781d98[_0x17ac2b(0x1d5)]()};}catch(_0x49c1ec){_0x31e12f['bijLL'](_0x31e12f['bejDb'],_0x31e12f[_0x17ac2b(0x193)])?_0x1718db['info'](_0x31e12f[_0x17ac2b(0x1bf)]):(logger[_0x17ac2b(0x190)](_0x31e12f[_0x17ac2b(0x1a9)],_0x49c1ec['message']),logger[_0x17ac2b(0x166)](_0x49c1ec));}else this['config'][_0x17ac2b(0x174)]={'localIdentifier':_0x100b91[_0x17ac2b(0x1d5)]()};}}async[a31_0x30e02b(0x17a)](){const _0x247c4d=a31_0x30e02b,_0x351ae1={'AMXhp':function(_0x115f10,_0x207be1){return _0x115f10(_0x207be1);},'qjhAW':_0x247c4d(0x180),'ryXMS':function(_0xda1919,_0x5af665){return _0xda1919!==_0x5af665;},'fjuzO':_0x247c4d(0x1c3),'suKpb':'pdGcV','eTtVy':_0x247c4d(0x1de),'ITaaE':_0x247c4d(0x17e)};if(this[_0x247c4d(0x1e4)]&&this['browserstackLocal'][_0x247c4d(0x171)]())try{_0x351ae1[_0x247c4d(0x181)](_0x351ae1[_0x247c4d(0x1ae)],_0x351ae1['suKpb'])?(await helper[_0x247c4d(0x196)](this[_0x247c4d(0x1e4)]),logger[_0x247c4d(0x177)](_0x351ae1['eTtVy'])):_0x351ae1['AMXhp'](_0x3b2d07,_0x351ae1[_0x247c4d(0x1af)])();}catch(_0x1d8f9c){logger['error'](_0x351ae1[_0x247c4d(0x16f)],_0x1d8f9c[_0x247c4d(0x1d2)]);}}[a31_0x30e02b(0x1c7)](){const _0x47ea20=a31_0x30e02b,_0x255e14={'Maxnj':function(_0x34174e,_0x532ee3){return _0x34174e(_0x532ee3);},'zbKLw':'./setKeepAlive'};_0x255e14['Maxnj'](require,_0x255e14[_0x47ea20(0x1cc)])();}['handleExceptions'](){const _0x341ee9=a31_0x30e02b,_0x5b0c07={};_0x5b0c07['PfEum']=_0x341ee9(0x1c4),_0x5b0c07[_0x341ee9(0x188)]=_0x341ee9(0x18a);const _0x27b343=_0x5b0c07,_0x345e3c=_0x319fef=>{const _0x144a98=_0x341ee9;logger['error'](_0x319fef[_0x144a98(0x1d2)]),logger[_0x144a98(0x166)](_0x319fef);};process['on'](_0x27b343['PfEum'],_0x345e3c),process['on'](_0x27b343[_0x341ee9(0x188)],_0x345e3c);}}exports['default']=BrowserStackSetup;function a31_0x3156(){const _0x24c728=['cbcts','sqWbw','1644597OmAyfA','userName\x20or\x20accessKey\x20is\x20not\x20defined','vRpdd','2215EEsSAg','StImD','hdYCE','UctYe','zrmXs','XFCGu','7688ERXuqq','nkfoO','uXMfO','lzVag','./helper','winstonLogger','fjuzO','qjhAW','Local\x20binary\x20started\x20successfully','tgGFm','YJewy','bejDb','setLogLevel','5085714XNlIDH','SIGINT','setProxySettings','iydqi','cczxI','SIGTERM','kogHS','TCeFw','dnWPt','CxwKg','rlpfd','UUgUz','2pvCxuf','2527674OVTqdX','AjiAi','unhandledRejection','getConfigPath','config','setupKeepAlive','constructor','dwTzO','HiZmq','PbObA','zbKLw','ZBfpR','./logger','SCtAH','VfocH','lOyBO','message','gJgDC','SHWnH','generateLocalIdentifier','localIdentifier','readConfig','BROWSERSTACK_LOCAL','handleExceptions','GvnUO','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','warn','Mkxzn','Local\x20binary\x20stopped','PKNIz','BYGRT','qYXwG','gylJu','SyuZv','browserstackLocal','UgBmI','setupBrowserstackLocal','BVhKy','length','197176lSLMvh','debug','isUndefined','zwSwx','175tWGUYk','3913272SyLzpp','nQkaU','UZqXx','443705uGHmhf','dhqHX','ITaaE','yHnIe','isRunning','GJwVR','ynCgl','browserStackLocalOptions','PxRQA','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','info','JhUjJ','gvyfo','stopBrowserstackLocal','MWQUl','useW3C','jpfjl','Error\x20occured\x20while\x20stopping\x20local\x20binary','lApuO','./setKeepAlive','ryXMS','yAjcl','jcOns','getUserName','60SWyEQv','startLocalBinarySync','ypcno','NcLlw','getAccessKey','uncaughtException','bhznX','platforms','localOptions','UULMa','bijLL','error','MSdWT','czzAk','bSKWk','10Cxfzst','tcGcj','stopLocalBinary','TvWUI','parallelsPerPlatform','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','uygkL','getLocalIdentifier','getLocalConfig'];a31_0x3156=function(){return _0x24c728;};return a31_0x3156();}