browserstack-node-sdk 1.5.0 → 1.6.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.
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_0x4c31fd=a29_0xc77e;function a29_0xfe99(){const _0x3fe103=['ocFnw','BFFgT','logged','2085768AuhYrF','65iEnIMo','xxnJa','emit','error','sjrYm','TRACE','LItuY','log','dPskv','VwypO','7410060PDBpHf','WARN','20FeyyGv','trace','KBFal','level','pSjnh','DEBUG','IMNnv','nzWpB','XoMIQ','INFO','object','pid','../mocha/test-observability/constants','6829188oArfuu','95162HnFrfh','JgqDQ','2743164ZVpJkt','61252rtQMBE','toUpperCase','winston-transport','4502560ehEfpr','ERROR','exports','warn','logToTestOps'];a29_0xfe99=function(){return _0x3fe103;};return a29_0xfe99();}function a29_0xc77e(_0x4314d3,_0x14f905){const _0xfe99e0=a29_0xfe99();return a29_0xc77e=function(_0xc77ee9,_0x251bf1){_0xc77ee9=_0xc77ee9-0x7c;let _0x30ac29=_0xfe99e0[_0xc77ee9];return _0x30ac29;},a29_0xc77e(_0x4314d3,_0x14f905);}(function(_0x199dae,_0x362ece){const _0x552e02=a29_0xc77e,_0x2643c0=_0x199dae();while(!![]){try{const _0x30e3b4=parseInt(_0x552e02(0xa0))/0x1*(parseInt(_0x552e02(0x92))/0x2)+-parseInt(_0x552e02(0x85))/0x3+-parseInt(_0x552e02(0xa3))/0x4*(-parseInt(_0x552e02(0x86))/0x5)+-parseInt(_0x552e02(0x9f))/0x6+parseInt(_0x552e02(0x90))/0x7+parseInt(_0x552e02(0x7d))/0x8+-parseInt(_0x552e02(0xa2))/0x9;if(_0x30e3b4===_0x362ece)break;else _0x2643c0['push'](_0x2643c0['shift']());}catch(_0x398b5e){_0x2643c0['push'](_0x2643c0['shift']());}}}(a29_0xfe99,0x9abef));const Transport=require(a29_0x4c31fd(0x7c)),{consoleHolder}=require(a29_0x4c31fd(0x9e)),a29_0x302edc={};a29_0x302edc['INFO']=a29_0x4c31fd(0x9b),a29_0x302edc[a29_0x4c31fd(0x7e)]=a29_0x4c31fd(0x7e),a29_0x302edc[a29_0x4c31fd(0x97)]=a29_0x4c31fd(0x97),a29_0x302edc['TRACE']=a29_0x4c31fd(0x8b),a29_0x302edc[a29_0x4c31fd(0x91)]='WARN';const LOG_LEVELS=a29_0x302edc;class logReportingAPI extends Transport{constructor(_0x49bbcb){super(_0x49bbcb);}[a29_0x4c31fd(0x8d)](_0x2ef8b6,_0x17f914){const _0xb9a795=a29_0x4c31fd,_0x2cb1d8={'sjrYm':function(_0x267f93,_0x14edbb){return _0x267f93===_0x14edbb;},'JgqDQ':_0xb9a795(0x87),'KBFal':_0xb9a795(0x84),'pSjnh':function(_0x2499c0,_0x4ef04e){return _0x2499c0(_0x4ef04e);},'ocFnw':_0xb9a795(0x9c),'rSGOq':function(_0x36e71a,_0xdd67bd){return _0x36e71a!==_0xdd67bd;},'kMvMV':_0xb9a795(0x9a),'LItuY':'pXWEO','YXDRz':function(_0x3abbf1,_0x166d0c){return _0x3abbf1!==_0x166d0c;},'nzWpB':_0xb9a795(0x8e),'VwypO':_0xb9a795(0x83),'HgNdB':function(_0x29bfaa){return _0x29bfaa();}};_0x2cb1d8[_0xb9a795(0x96)](setImmediate,()=>{const _0x37de06=_0xb9a795;_0x2cb1d8[_0x37de06(0x8a)](_0x2cb1d8[_0x37de06(0xa1)],_0x2cb1d8[_0x37de06(0xa1)])?this[_0x37de06(0x88)](_0x2cb1d8[_0x37de06(0x94)],_0x2ef8b6):this[_0x37de06(0x81)](_0x3efb4c[_0x37de06(0x7e)],_0x3c89b2);});_0x2cb1d8[_0xb9a795(0x8a)](typeof _0x2ef8b6,_0x2cb1d8[_0xb9a795(0x82)])?_0x2cb1d8['rSGOq'](_0x2cb1d8['kMvMV'],_0x2cb1d8[_0xb9a795(0x8c)])?this['logToTestOps'](_0x2ef8b6[_0xb9a795(0x95)]||LOG_LEVELS[_0xb9a795(0x9b)],_0x2ef8b6['message'],![]):this['logToTestOps'](_0x536b63['TRACE'],_0x563443):_0x2cb1d8['YXDRz'](_0x2cb1d8[_0xb9a795(0x99)],_0x2cb1d8[_0xb9a795(0x8f)])?this[_0xb9a795(0x81)](LOG_LEVELS[_0xb9a795(0x9b)],_0x2ef8b6):this['logToTestOps'](_0x685d79['WARN'],_0x3c4de8);if(_0x17f914)_0x2cb1d8['HgNdB'](_0x17f914);}[a29_0x4c31fd(0x81)]=(_0x4351e9=LOG_LEVELS[a29_0x4c31fd(0x9b)],_0x44cb9f='',_0x5db933=!![])=>{const _0x47e5e4=a29_0x4c31fd,_0x44bfb4={};_0x44bfb4[_0x47e5e4(0x98)]='TEST_LOG';const _0x17160a=_0x44bfb4;if(_0x5db933)consoleHolder[_0x4351e9['toLowerCase']()](_0x44cb9f);process[_0x47e5e4(0x88)]('bs:addLog:'+process[_0x47e5e4(0x9d)],{'timestamp':new Date()['toISOString'](),'level':_0x4351e9[_0x47e5e4(0xa4)](),'message':_0x44cb9f,'kind':_0x17160a['IMNnv'],'http_response':{}});};[a29_0x4c31fd(0x93)]=(_0x27bba0,_0x3bb524)=>{const _0x1c709c=a29_0x4c31fd;this[_0x1c709c(0x81)](LOG_LEVELS[_0x1c709c(0x8b)],_0x27bba0);};['debug']=(_0x30113a,_0x36d897)=>{const _0x2a4f8f=a29_0x4c31fd;this[_0x2a4f8f(0x81)](LOG_LEVELS[_0x2a4f8f(0x97)],_0x30113a);};['info']=(_0x55c644,_0x34c893)=>{const _0x58d855=a29_0x4c31fd;this[_0x58d855(0x81)](LOG_LEVELS['INFO'],_0x55c644);};[a29_0x4c31fd(0x80)]=(_0x1a34a1,_0x1d8d8e)=>{const _0x38e177=a29_0x4c31fd;this[_0x38e177(0x81)](LOG_LEVELS[_0x38e177(0x91)],_0x1a34a1);};[a29_0x4c31fd(0x89)]=(_0x126e6c,_0x546ece)=>{const _0x4cc13b=a29_0x4c31fd;this[_0x4cc13b(0x81)](LOG_LEVELS[_0x4cc13b(0x7e)],_0x126e6c);};};module[a29_0x4c31fd(0x7f)]=logReportingAPI;
1
+ function a29_0x82cc(_0x1e24e5,_0x9f8b80){const _0x32bfe5=a29_0x32bf();return a29_0x82cc=function(_0x82cc10,_0x5d6dcc){_0x82cc10=_0x82cc10-0x8b;let _0x4f8396=_0x32bfe5[_0x82cc10];return _0x4f8396;},a29_0x82cc(_0x1e24e5,_0x9f8b80);}function a29_0x32bf(){const _0xc42a6b=['JKTnn','zycpe','TEST_LOG','level','emit','1001182qtdhfS','1390891tIqxuZ','error','logToTestOps','gnmGA','XNASJ','logged','TRACE','adeGm','info','12930976GxcxFo','winston-transport','trace','message','DEBUG','2375964HshHOK','4298940IvLjnB','ERROR','INFO','tOryp','log','VHFaV','bs:addLog:','exports','btSgT','pid','bLddP','toLowerCase','Vtzhb','../mocha/test-observability/constants','2584086DLkYdK','WARN','toUpperCase','7UNGlTs','EpBKd','6518085hRkJTt','object'];a29_0x32bf=function(){return _0xc42a6b;};return a29_0x32bf();}const a29_0x46dfdc=a29_0x82cc;(function(_0x1c53fe,_0x6d5f27){const _0xa6ffab=a29_0x82cc,_0x30649e=_0x1c53fe();while(!![]){try{const _0x35f669=parseInt(_0xa6ffab(0xac))/0x1+-parseInt(_0xa6ffab(0xab))/0x2+parseInt(_0xa6ffab(0x90))/0x3+-parseInt(_0xa6ffab(0x91))/0x4+parseInt(_0xa6ffab(0xa4))/0x5+-parseInt(_0xa6ffab(0x9f))/0x6*(-parseInt(_0xa6ffab(0xa2))/0x7)+-parseInt(_0xa6ffab(0x8b))/0x8;if(_0x35f669===_0x6d5f27)break;else _0x30649e['push'](_0x30649e['shift']());}catch(_0x4cd98b){_0x30649e['push'](_0x30649e['shift']());}}}(a29_0x32bf,0xb11e7));const Transport=require(a29_0x46dfdc(0x8c)),{consoleHolder}=require(a29_0x46dfdc(0x9e)),a29_0x405c70={};a29_0x405c70[a29_0x46dfdc(0x93)]=a29_0x46dfdc(0x93),a29_0x405c70[a29_0x46dfdc(0x92)]=a29_0x46dfdc(0x92),a29_0x405c70['DEBUG']=a29_0x46dfdc(0x8f),a29_0x405c70['TRACE']=a29_0x46dfdc(0xb2),a29_0x405c70['WARN']=a29_0x46dfdc(0xa0);const LOG_LEVELS=a29_0x405c70;class logReportingAPI extends Transport{constructor(_0x28c5d3){super(_0x28c5d3);}[a29_0x46dfdc(0x95)](_0xaba63c,_0x40e9d1){const _0x442c42=a29_0x46dfdc,_0x219a50={'adeGm':function(_0x2b4ffe,_0x262eae){return _0x2b4ffe===_0x262eae;},'XNASJ':_0x442c42(0x9d),'VNGpe':_0x442c42(0xb1),'bLddP':function(_0x21de00,_0x42c421){return _0x21de00(_0x42c421);},'EpBKd':function(_0x1bd813,_0x13ba8b){return _0x1bd813===_0x13ba8b;},'qknOL':_0x442c42(0xa5),'mNfyB':function(_0x5233ce,_0x5b0dbf){return _0x5233ce===_0x5b0dbf;},'JKTnn':'nQoac','btSgT':function(_0x11a11f,_0x42fb57){return _0x11a11f!==_0x42fb57;},'gnmGA':_0x442c42(0xa7),'VHFaV':function(_0x552b62){return _0x552b62();}};_0x219a50[_0x442c42(0x9b)](setImmediate,()=>{const _0x5606b2=_0x442c42;_0x219a50[_0x5606b2(0xb3)](_0x219a50[_0x5606b2(0xb0)],_0x219a50['XNASJ'])?this['emit'](_0x219a50['VNGpe'],_0xaba63c):this[_0x5606b2(0xae)](_0x4b9c17['level']||_0x122b24[_0x5606b2(0x93)],_0x2805f8[_0x5606b2(0x8e)],![]);});_0x219a50[_0x442c42(0xa3)](typeof _0xaba63c,_0x219a50['qknOL'])?_0x219a50['mNfyB'](_0x219a50[_0x442c42(0xa6)],_0x219a50[_0x442c42(0xa6)])?this[_0x442c42(0xae)](_0xaba63c[_0x442c42(0xa9)]||LOG_LEVELS[_0x442c42(0x93)],_0xaba63c['message'],![]):this[_0x442c42(0xae)](_0x16b718[_0x442c42(0x93)],_0x178b02):_0x219a50[_0x442c42(0x99)](_0x219a50[_0x442c42(0xaf)],_0x219a50[_0x442c42(0xaf)])?this[_0x442c42(0xae)](_0x3da36c[_0x442c42(0x8f)],_0x56889b):this[_0x442c42(0xae)](LOG_LEVELS[_0x442c42(0x93)],_0xaba63c);if(_0x40e9d1)_0x219a50[_0x442c42(0x96)](_0x40e9d1);}[a29_0x46dfdc(0xae)]=(_0x3abb0c=LOG_LEVELS[a29_0x46dfdc(0x93)],_0x391899='',_0x13b6d8=!![])=>{const _0x1e3c81=a29_0x46dfdc,_0x12d1bc={};_0x12d1bc[_0x1e3c81(0x94)]=_0x1e3c81(0xa8);const _0x21f3ee=_0x12d1bc;if(_0x13b6d8)consoleHolder[_0x3abb0c[_0x1e3c81(0x9c)]()](_0x391899);process[_0x1e3c81(0xaa)](_0x1e3c81(0x97)+process[_0x1e3c81(0x9a)],{'timestamp':new Date()['toISOString'](),'level':_0x3abb0c[_0x1e3c81(0xa1)](),'message':_0x391899,'kind':_0x21f3ee[_0x1e3c81(0x94)],'http_response':{}});};[a29_0x46dfdc(0x8d)]=(_0x3fc47e,_0xb52465)=>{const _0x4528a0=a29_0x46dfdc;this[_0x4528a0(0xae)](LOG_LEVELS['TRACE'],_0x3fc47e);};['debug']=(_0x1969e5,_0x53bafb)=>{const _0x5e03f3=a29_0x46dfdc;this[_0x5e03f3(0xae)](LOG_LEVELS[_0x5e03f3(0x8f)],_0x1969e5);};[a29_0x46dfdc(0xb4)]=(_0x2ac9e2,_0x5c8689)=>{const _0x3a87a3=a29_0x46dfdc;this[_0x3a87a3(0xae)](LOG_LEVELS[_0x3a87a3(0x93)],_0x2ac9e2);};['warn']=(_0x39d6af,_0x27d862)=>{const _0x123a41=a29_0x46dfdc;this[_0x123a41(0xae)](LOG_LEVELS['WARN'],_0x39d6af);};[a29_0x46dfdc(0xad)]=(_0x47c463,_0x376a43)=>{const _0x3ee275=a29_0x46dfdc;this[_0x3ee275(0xae)](LOG_LEVELS[_0x3ee275(0x92)],_0x47c463);};};module[a29_0x46dfdc(0x98)]=logReportingAPI;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a30_0x10fb51=a30_0x571a;(function(_0x3ca27f,_0x251cad){const _0x1dacc4=a30_0x571a,_0x47489e=_0x3ca27f();while(!![]){try{const _0x3d1e60=-parseInt(_0x1dacc4(0x1d1))/0x1+-parseInt(_0x1dacc4(0x1a8))/0x2*(parseInt(_0x1dacc4(0x1aa))/0x3)+parseInt(_0x1dacc4(0x1b5))/0x4*(parseInt(_0x1dacc4(0x1cd))/0x5)+parseInt(_0x1dacc4(0x1d0))/0x6+-parseInt(_0x1dacc4(0x1ad))/0x7*(-parseInt(_0x1dacc4(0x1c7))/0x8)+parseInt(_0x1dacc4(0x1d4))/0x9+-parseInt(_0x1dacc4(0x1c8))/0xa*(parseInt(_0x1dacc4(0x1c3))/0xb);if(_0x3d1e60===_0x251cad)break;else _0x47489e['push'](_0x47489e['shift']());}catch(_0x4201c4){_0x47489e['push'](_0x47489e['shift']());}}}(a30_0x520f,0x77df7));function a30_0x520f(){const _0x58224a=['Config\x20yml\x20is\x20required','cFtZp','qLGnS','52040wCUUZz','MLSQR','102RaHrMB','GKmkM','PMdXJ','1946PymWzE','file','OjYsO','VhqHJ','HWbET','forEach','cwd','rJHkd','2462828GZVNlB','length','hubUrl','../../helpers/BrowserStackSetup','platforms','modifyBrowserStackW3CCaps','server','FfpGr','join','proxySettings','then','LUfVg','\x20doesn\x27t\x20exist','NdKSs','741059GiESlz','exports','getPlatformName','fcIdP','23944fJOdBr','60rLgsyG','KYGee','args','YWNHQ','File\x20','5vFgDzY','fDzcO','push','3696108MtqTUy','857702bYBJSy','config','merge','5164344qIqQmJ','configuration','modifyBrowserStackCaps','existsSync','../utils/constants'];a30_0x520f=function(){return _0x58224a;};return a30_0x520f();}const fs=require('fs'),{default:BrowserStackSetup}=require(a30_0x10fb51(0x1b8)),helper=require('../../helpers/helper'),constants=require(a30_0x10fb51(0x1d8)),{parallelVanillaRun}=require('../test-runner');function a30_0x571a(_0x3f89fa,_0x2c5c23){const _0x520fad=a30_0x520f();return a30_0x571a=function(_0x571ab1,_0x2d806b){_0x571ab1=_0x571ab1-0x1a7;let _0x8b88e9=_0x520fad[_0x571ab1];return _0x8b88e9;},a30_0x571a(_0x3f89fa,_0x2c5c23);}async function run(_0x5e1b1d,_0x1b0167){const _0x269d08=a30_0x10fb51,_0x3637fa={'rJHkd':'vanilla','FfpGr':function(_0x1f6c69,_0x57d480){return _0x1f6c69!==_0x57d480;},'HWbET':'atZvM','cFtZp':'QhEAV','PMdXJ':'oLtuQ','MLSQR':'MtCOr','GKmkM':function(_0xde02e9,_0x49814d){return _0xde02e9(_0x49814d);},'LUfVg':'File\x20path\x20is\x20required','fDzcO':_0x269d08(0x1d9),'QgSCr':function(_0x52413e,_0x247220){return _0x52413e>_0x247220;},'KYGee':_0x269d08(0x1c2),'zSbsR':function(_0x5e9c6d,_0x1e7662){return _0x5e9c6d>_0x1e7662;},'jlWNm':function(_0x58da01,_0x4ef588){return _0x58da01===_0x4ef588;},'OjYsO':_0x269d08(0x1a7),'VhqHJ':_0x269d08(0x1c6),'WLUIH':function(_0x32446d,_0x2bca2b){return _0x32446d*_0x2bca2b;},'Nuqev':function(_0x309266,_0x309bea,_0x4b7b27){return _0x309266(_0x309bea,_0x4b7b27);}},_0x9ba5e6=new BrowserStackSetup();let _0x5afbb3=[];if(helper['isUndefined'](_0x5e1b1d['_'][0x1]))throw _0x3637fa[_0x269d08(0x1ab)](Error,_0x3637fa[_0x269d08(0x1c0)]);const _0x441dbf=path[_0x269d08(0x1bd)](process[_0x269d08(0x1b3)](),_0x5e1b1d['_'][0x1]);if(!fs[_0x269d08(0x1d7)](_0x441dbf))throw _0x3637fa[_0x269d08(0x1ab)](Error,_0x269d08(0x1cc)+_0x5e1b1d['_'][0x1]+_0x269d08(0x1c1));if(!_0x9ba5e6[_0x269d08(0x1d2)])throw _0x3637fa['GKmkM'](Error,_0x3637fa[_0x269d08(0x1ce)]);let _0x665bce=helper['useW3C'](_0x9ba5e6[_0x269d08(0x1d2)]);if(_0x9ba5e6['config'][_0x269d08(0x1b9)]&&_0x3637fa['QgSCr'](_0x9ba5e6[_0x269d08(0x1d2)][_0x269d08(0x1b9)][_0x269d08(0x1b6)],0x0)){if(_0x3637fa['FfpGr'](_0x3637fa[_0x269d08(0x1c9)],_0x3637fa['KYGee'])){if(_0x3b49e9)_0x5023f5['push'](_0x407d0d[_0x269d08(0x1ba)](_0xc7bddf['config'],_0x3637fa['rJHkd'],_0x2cbfde));else _0x58e33e[_0x269d08(0x1cf)](_0x3fefd1[_0x269d08(0x1d6)](_0x45c69a['config'],_0x3637fa[_0x269d08(0x1b4)],_0x7daf4e));}else _0x9ba5e6[_0x269d08(0x1d2)][_0x269d08(0x1b9)][_0x269d08(0x1b2)]((_0x38ca01,_0x240f65)=>{const _0x2b423e=_0x269d08;if(_0x3637fa[_0x2b423e(0x1bc)](_0x3637fa[_0x2b423e(0x1b1)],_0x3637fa[_0x2b423e(0x1da)])){if(_0x665bce)_0x5afbb3[_0x2b423e(0x1cf)](helper['modifyBrowserStackW3CCaps'](_0x9ba5e6[_0x2b423e(0x1d2)],_0x3637fa[_0x2b423e(0x1b4)],_0x240f65));else _0x5afbb3[_0x2b423e(0x1cf)](helper[_0x2b423e(0x1d6)](_0x9ba5e6[_0x2b423e(0x1d2)],_0x3637fa[_0x2b423e(0x1b4)],_0x240f65));}else{const _0x2a3e4f={};_0x2a3e4f[_0x2b423e(0x1cb)]=_0x3637fa[_0x2b423e(0x1b4)];const _0x309f53=_0x2a3e4f;_0x4151f2[_0x2b423e(0x1d2)][_0x2b423e(0x1b9)][_0x2b423e(0x1b2)]((_0x3ccfc0,_0x5afbe6)=>{const _0x5b4e09=_0x2b423e;if(_0x382f52)_0x549006[_0x5b4e09(0x1cf)](_0x2fbc21['modifyBrowserStackW3CCaps'](_0x34b225[_0x5b4e09(0x1d2)],_0x309f53['YWNHQ'],_0x5afbe6));else _0x2f7133[_0x5b4e09(0x1cf)](_0x346cb7[_0x5b4e09(0x1d6)](_0x33cc06['config'],_0x309f53[_0x5b4e09(0x1cb)],_0x5afbe6));});}});}let _0x5827d7,_0x5c28c3;const _0x42ccec=[];if(_0x3637fa['zSbsR'](_0x5afbb3['length'],0x0)){if(_0x3637fa['jlWNm'](_0x3637fa[_0x269d08(0x1af)],_0x3637fa[_0x269d08(0x1af)]))_0x5afbb3[_0x269d08(0x1b2)](_0x5cce8d=>{const _0x26c55d=_0x269d08;if(_0x3637fa['FfpGr'](_0x3637fa[_0x26c55d(0x1ac)],_0x3637fa[_0x26c55d(0x1a9)])){_0x5827d7={'server':constants[_0x26c55d(0x1b7)],'proxySettings':_0x9ba5e6[_0x26c55d(0x1d2)][_0x26c55d(0x1be)],'platform':helper[_0x26c55d(0x1c5)](_0x5cce8d)};const _0x334cee={'capability':_0x5cce8d,..._0x5827d7};_0x334cee['file']=_0x441dbf,_0x334cee[_0x26c55d(0x1ca)]=_0x1b0167;const _0x3d60ec={};_0x3d60ec[_0x26c55d(0x1d5)]=_0x334cee,_0x5c28c3=_0x3d60ec,_0x42ccec['push'](_0x5c28c3);}else{_0x328386={'server':_0x1e101e[_0x26c55d(0x1b7)],'proxySettings':_0x18b747[_0x26c55d(0x1d2)]['proxySettings'],'platform':_0x516e7d[_0x26c55d(0x1c5)](_0x5d4818)};const _0x381d20={'capability':_0x573432,..._0x57580a};_0x381d20[_0x26c55d(0x1ae)]=_0x25567f,_0x381d20[_0x26c55d(0x1ca)]=_0x1419a3;const _0x271064={};_0x271064[_0x26c55d(0x1d5)]=_0x381d20,_0x48703f=_0x271064,_0xdb27c1[_0x26c55d(0x1cf)](_0x2845b7);}});else{let _0x46a15d;if(_0x2bdc3e)_0x46a15d=_0x38dc17[_0x269d08(0x1ba)](_0x2505ed[_0x269d08(0x1d2)],_0x3637fa[_0x269d08(0x1b4)],0x0);else _0x46a15d=_0x336127[_0x269d08(0x1d6)](_0x15a62a[_0x269d08(0x1d2)],_0x3637fa['rJHkd'],0x0);const _0x349b90={};_0x349b90['server']=_0x45d40a['hubUrl'],_0x349b90[_0x269d08(0x1be)]=_0x50693b[_0x269d08(0x1d2)][_0x269d08(0x1be)],_0x6e4f74=_0x349b90;const _0x4a9057={'capability':_0x46a15d,..._0x31d067};_0x4a9057['file']=_0x3d2973,_0x4a9057[_0x269d08(0x1ca)]=_0x23d6b1,_0x4a9057['merge']=!![];const _0x1b6c84={};_0x1b6c84[_0x269d08(0x1d5)]=_0x4a9057,_0x167fa5=_0x1b6c84,_0x435624[_0x269d08(0x1cf)](_0x5abf35);}}else{if(_0x3637fa[_0x269d08(0x1bc)](_0x3637fa[_0x269d08(0x1b0)],_0x3637fa[_0x269d08(0x1b0)]))_0x28c060[_0x269d08(0x1b2)](_0x5f532c=>{const _0x4d7cb8=_0x269d08;_0x4a4d00={'server':_0x310751['hubUrl'],'proxySettings':_0x1ec8e2[_0x4d7cb8(0x1d2)][_0x4d7cb8(0x1be)],'platform':_0x47b1f9[_0x4d7cb8(0x1c5)](_0x5f532c)};const _0x2ed91b={'capability':_0x5f532c,..._0x106799};_0x2ed91b[_0x4d7cb8(0x1ae)]=_0x10adcf,_0x2ed91b[_0x4d7cb8(0x1ca)]=_0x354874;const _0x113e6c={};_0x113e6c[_0x4d7cb8(0x1d5)]=_0x2ed91b,_0x7d0e35=_0x113e6c,_0x2090b9[_0x4d7cb8(0x1cf)](_0x3f4cac);});else{let _0x138ec9;if(_0x665bce)_0x138ec9=helper[_0x269d08(0x1ba)](_0x9ba5e6[_0x269d08(0x1d2)],_0x3637fa['rJHkd'],0x0);else _0x138ec9=helper[_0x269d08(0x1d6)](_0x9ba5e6['config'],_0x3637fa[_0x269d08(0x1b4)],0x0);const _0x31ecfd={};_0x31ecfd[_0x269d08(0x1bb)]=constants[_0x269d08(0x1b7)],_0x31ecfd['proxySettings']=_0x9ba5e6[_0x269d08(0x1d2)][_0x269d08(0x1be)],_0x5827d7=_0x31ecfd;const _0x242a01={'capability':_0x138ec9,..._0x5827d7};_0x242a01[_0x269d08(0x1ae)]=_0x441dbf,_0x242a01[_0x269d08(0x1ca)]=_0x1b0167,_0x242a01[_0x269d08(0x1d3)]=!![];const _0x19c0fc={};_0x19c0fc[_0x269d08(0x1d5)]=_0x242a01,_0x5c28c3=_0x19c0fc,_0x42ccec[_0x269d08(0x1cf)](_0x5c28c3);}}const _0x21a01a=_0x3637fa['WLUIH'](_0x9ba5e6['config'][_0x269d08(0x1b9)][_0x269d08(0x1b6)]||0x1,_0x9ba5e6[_0x269d08(0x1d2)]['parallelsPerPlatform']);_0x3637fa['Nuqev'](parallelVanillaRun,_0x42ccec,_0x21a01a)[_0x269d08(0x1bf)](_0x2e1416=>{});}module[a30_0x10fb51(0x1c4)]=run;
2
+ 'use strict';function a30_0x155a(_0x4ffcb3,_0x20f8a2){const _0x2371de=a30_0x2371();return a30_0x155a=function(_0x155a7c,_0x2253e4){_0x155a7c=_0x155a7c-0x128;let _0x403388=_0x2371de[_0x155a7c];return _0x403388;},a30_0x155a(_0x4ffcb3,_0x20f8a2);}const a30_0x4927c5=a30_0x155a;(function(_0x43a20a,_0x1ad050){const _0x10f75e=a30_0x155a,_0x21a39d=_0x43a20a();while(!![]){try{const _0xcf82b0=-parseInt(_0x10f75e(0x13d))/0x1*(parseInt(_0x10f75e(0x15b))/0x2)+parseInt(_0x10f75e(0x131))/0x3*(parseInt(_0x10f75e(0x163))/0x4)+parseInt(_0x10f75e(0x154))/0x5*(-parseInt(_0x10f75e(0x14e))/0x6)+-parseInt(_0x10f75e(0x147))/0x7*(parseInt(_0x10f75e(0x135))/0x8)+-parseInt(_0x10f75e(0x13b))/0x9+-parseInt(_0x10f75e(0x130))/0xa*(-parseInt(_0x10f75e(0x134))/0xb)+parseInt(_0x10f75e(0x161))/0xc;if(_0xcf82b0===_0x1ad050)break;else _0x21a39d['push'](_0x21a39d['shift']());}catch(_0x259e04){_0x21a39d['push'](_0x21a39d['shift']());}}}(a30_0x2371,0x8bee0));const fs=require('fs'),{default:BrowserStackSetup}=require(a30_0x4927c5(0x152)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),{parallelVanillaRun}=require(a30_0x4927c5(0x12a));async function run(_0x251996,_0x37774c){const _0x2089ad=a30_0x4927c5,_0x481451={'NXqTX':_0x2089ad(0x145),'CEkTR':function(_0x8a0cdb,_0x3bdc87){return _0x8a0cdb!==_0x3bdc87;},'jlbIO':_0x2089ad(0x150),'Froar':_0x2089ad(0x157),'phxlU':function(_0x4e01dc,_0x3a2637){return _0x4e01dc!==_0x3a2637;},'aIwDC':'nbmoj','aDxyI':_0x2089ad(0x14f),'ycnln':function(_0x10aa3b,_0x52418d){return _0x10aa3b(_0x52418d);},'Vsaht':_0x2089ad(0x164),'zYLHu':function(_0x520e35,_0x157f32){return _0x520e35(_0x157f32);},'pTHnZ':function(_0x367ea0,_0x40a637){return _0x367ea0(_0x40a637);},'Iclmm':'Config\x20yml\x20is\x20required','gjUin':function(_0x545d44,_0x23cee3){return _0x545d44>_0x23cee3;},'TIIci':function(_0x2a2f65,_0x852dc6){return _0x2a2f65===_0x852dc6;},'rmqaG':_0x2089ad(0x15f),'JznPq':_0x2089ad(0x12c),'nGgfF':'ZSFSx','NZeeu':'qTRft','FQaCl':function(_0x50fc7d,_0x5b4374){return _0x50fc7d*_0x5b4374;},'lXfjY':function(_0x4bbeb8,_0x2d0d87,_0x7a521f){return _0x4bbeb8(_0x2d0d87,_0x7a521f);}},_0x2e5367=new BrowserStackSetup(_0x251996);let _0x34e5b2=[];if(helper[_0x2089ad(0x146)](_0x251996['_'][0x1]))throw _0x481451[_0x2089ad(0x15c)](Error,_0x481451[_0x2089ad(0x129)]);const _0x22c43d=path[_0x2089ad(0x14a)](process[_0x2089ad(0x15d)](),_0x251996['_'][0x1]);if(!fs[_0x2089ad(0x13c)](_0x22c43d))throw _0x481451[_0x2089ad(0x148)](Error,'File\x20'+_0x251996['_'][0x1]+_0x2089ad(0x155));if(!_0x2e5367['config'])throw _0x481451[_0x2089ad(0x143)](Error,_0x481451[_0x2089ad(0x153)]);let _0x3695c4=helper[_0x2089ad(0x156)](_0x2e5367[_0x2089ad(0x15a)]);if(_0x2e5367[_0x2089ad(0x15a)][_0x2089ad(0x132)]&&_0x481451['gjUin'](_0x2e5367[_0x2089ad(0x15a)]['platforms'][_0x2089ad(0x137)],0x0)){if(_0x481451['TIIci'](_0x481451[_0x2089ad(0x144)],_0x481451[_0x2089ad(0x12f)])){if(_0x3af5d3)_0x2c3e22[_0x2089ad(0x158)](_0x402c3d['modifyBrowserStackW3CCaps'](_0xf6fb79[_0x2089ad(0x15a)],_0x481451[_0x2089ad(0x12b)],_0x384257));else _0x1fec88[_0x2089ad(0x158)](_0x2569cc[_0x2089ad(0x12d)](_0x18bc3b[_0x2089ad(0x15a)],_0x481451[_0x2089ad(0x12b)],_0x4bd2e5));}else _0x2e5367[_0x2089ad(0x15a)][_0x2089ad(0x132)]['forEach']((_0x217988,_0x4fe7a2)=>{const _0x2c02a4=_0x2089ad,_0xcfd58d={};_0xcfd58d[_0x2c02a4(0x14b)]=_0x481451[_0x2c02a4(0x12b)];const _0x1b9443=_0xcfd58d;if(_0x481451['CEkTR'](_0x481451['jlbIO'],_0x481451[_0x2c02a4(0x128)])){if(_0x3695c4)_0x34e5b2[_0x2c02a4(0x158)](helper[_0x2c02a4(0x141)](_0x2e5367[_0x2c02a4(0x15a)],_0x481451[_0x2c02a4(0x12b)],_0x4fe7a2));else _0x34e5b2[_0x2c02a4(0x158)](helper[_0x2c02a4(0x12d)](_0x2e5367['config'],_0x481451['NXqTX'],_0x4fe7a2));}else{const _0xe77efe={};_0xe77efe['wNtwE']=_0x1b9443['ASwNy'];const _0x2f2ced=_0xe77efe;_0x1fab74[_0x2c02a4(0x15a)][_0x2c02a4(0x132)][_0x2c02a4(0x159)]((_0x259e2e,_0x5a02f5)=>{const _0x432272=_0x2c02a4;if(_0x2d20b7)_0x2a49c1[_0x432272(0x158)](_0x49d93a[_0x432272(0x141)](_0x3a9cd8[_0x432272(0x15a)],_0x2f2ced['wNtwE'],_0x5a02f5));else _0x22648f[_0x432272(0x158)](_0x3baadb[_0x432272(0x12d)](_0x468f10[_0x432272(0x15a)],_0x2f2ced['wNtwE'],_0x5a02f5));});}});}let _0x217b88,_0x5b03e2;const _0x4c9554=[];if(_0x481451['gjUin'](_0x34e5b2[_0x2089ad(0x137)],0x0))_0x481451[_0x2089ad(0x140)](_0x481451[_0x2089ad(0x13f)],_0x481451['nGgfF'])?_0x14243e[_0x2089ad(0x159)](_0x42668a=>{const _0x4f6cb0=_0x2089ad;_0x28e4c9={'server':_0x5620fb['hubUrl'],'proxySettings':_0x1c989c[_0x4f6cb0(0x15a)][_0x4f6cb0(0x160)],'platform':_0x5b075b[_0x4f6cb0(0x142)](_0x42668a)};const _0x34cb8c={'capability':_0x42668a,..._0x34a7d8};_0x34cb8c[_0x4f6cb0(0x136)]=_0x57c133,_0x34cb8c[_0x4f6cb0(0x13e)]=_0x52a7e0;const _0x114871={};_0x114871['configuration']=_0x34cb8c,_0x21aa7d=_0x114871,_0x1aa3b6['push'](_0x55b02d);}):_0x34e5b2['forEach'](_0x219772=>{const _0x3c788e=_0x2089ad,_0x62c962={};_0x62c962[_0x3c788e(0x139)]=_0x481451[_0x3c788e(0x12b)];const _0x1a32ab=_0x62c962;if(_0x481451[_0x3c788e(0x14d)](_0x481451[_0x3c788e(0x138)],_0x481451[_0x3c788e(0x14c)])){_0x217b88={'server':constants[_0x3c788e(0x15e)],'proxySettings':_0x2e5367['config']['proxySettings'],'platform':helper[_0x3c788e(0x142)](_0x219772)};const _0x58003d={'capability':_0x219772,..._0x217b88};_0x58003d[_0x3c788e(0x136)]=_0x22c43d,_0x58003d[_0x3c788e(0x13e)]=_0x37774c;const _0x443301={};_0x443301[_0x3c788e(0x162)]=_0x58003d,_0x5b03e2=_0x443301,_0x4c9554[_0x3c788e(0x158)](_0x5b03e2);}else{let _0x2c9ca9;if(_0x59403e)_0x2c9ca9=_0x2ca8d0[_0x3c788e(0x141)](_0x55258e[_0x3c788e(0x15a)],_0x1a32ab[_0x3c788e(0x139)],0x0);else _0x2c9ca9=_0x54b655['modifyBrowserStackCaps'](_0x1592ff[_0x3c788e(0x15a)],_0x1a32ab[_0x3c788e(0x139)],0x0);const _0x357c4c={};_0x357c4c[_0x3c788e(0x149)]=_0x1c5cc7[_0x3c788e(0x15e)],_0x357c4c[_0x3c788e(0x160)]=_0xd6579b[_0x3c788e(0x15a)]['proxySettings'],_0x1e6e32=_0x357c4c;const _0x56df87={'capability':_0x2c9ca9,..._0x396cf3};_0x56df87['file']=_0x2f2a3c,_0x56df87[_0x3c788e(0x13e)]=_0x1a8110,_0x56df87[_0x3c788e(0x133)]=!![];const _0x484ed5={};_0x484ed5[_0x3c788e(0x162)]=_0x56df87,_0x379a18=_0x484ed5,_0x369e2e[_0x3c788e(0x158)](_0x23e005);}});else{if(_0x481451['TIIci'](_0x481451['NZeeu'],_0x481451['NZeeu'])){let _0x3622bb;if(_0x3695c4)_0x3622bb=helper[_0x2089ad(0x141)](_0x2e5367[_0x2089ad(0x15a)],_0x481451['NXqTX'],0x0);else _0x3622bb=helper['modifyBrowserStackCaps'](_0x2e5367[_0x2089ad(0x15a)],_0x481451[_0x2089ad(0x12b)],0x0);const _0xd78f6={};_0xd78f6[_0x2089ad(0x149)]=constants[_0x2089ad(0x15e)],_0xd78f6[_0x2089ad(0x160)]=_0x2e5367[_0x2089ad(0x15a)]['proxySettings'],_0x217b88=_0xd78f6;const _0x27bf4f={'capability':_0x3622bb,..._0x217b88};_0x27bf4f[_0x2089ad(0x136)]=_0x22c43d,_0x27bf4f[_0x2089ad(0x13e)]=_0x37774c,_0x27bf4f[_0x2089ad(0x133)]=!![];const _0x565a74={};_0x565a74[_0x2089ad(0x162)]=_0x27bf4f,_0x5b03e2=_0x565a74,_0x4c9554['push'](_0x5b03e2);}else{_0x29bdea={'server':_0x49fb4d['hubUrl'],'proxySettings':_0x318e8f['config'][_0x2089ad(0x160)],'platform':_0x31888e['getPlatformName'](_0x1a2785)};const _0x5daf05={'capability':_0x2f8840,..._0xbaa723};_0x5daf05[_0x2089ad(0x136)]=_0x2dd487,_0x5daf05[_0x2089ad(0x13e)]=_0x4dd8d4;const _0x57ae45={};_0x57ae45[_0x2089ad(0x162)]=_0x5daf05,_0x1031d7=_0x57ae45,_0x42dc88[_0x2089ad(0x158)](_0x6cd52c);}}const _0x28a8eb=_0x481451['FQaCl'](_0x2e5367['config'][_0x2089ad(0x132)][_0x2089ad(0x137)]||0x1,_0x2e5367[_0x2089ad(0x15a)][_0x2089ad(0x12e)]);_0x481451['lXfjY'](parallelVanillaRun,_0x4c9554,_0x28a8eb)[_0x2089ad(0x151)](async _0x52f990=>{const _0x3098d3=_0x2089ad;await helper[_0x3098d3(0x13a)](_0x2e5367[_0x3098d3(0x15a)]);});}function a30_0x2371(){const _0x2f8381=['NXqTX','Bihkf','modifyBrowserStackCaps','parallelsPerPlatform','JznPq','6072710JUuAhm','1482GcajjH','platforms','merge','11PSgUfq','1971224GohFjJ','file','length','aIwDC','Jklay','finalExecution','5581224hXbXOl','existsSync','33767YZFGoS','args','nGgfF','CEkTR','modifyBrowserStackW3CCaps','getPlatformName','pTHnZ','rmqaG','vanilla','isUndefined','28WqXEIp','zYLHu','server','join','ASwNy','aDxyI','phxlU','6XypVtx','elHNM','nnThB','then','../../helpers/BrowserStackSetup','Iclmm','1942235KVAZcS','\x20doesn\x27t\x20exist','useW3C','oTrai','push','forEach','config','6caytkE','ycnln','cwd','hubUrl','KgStN','proxySettings','16870068pdtAqu','configuration','5308FLXioW','File\x20path\x20is\x20required','Froar','Vsaht','../test-runner'];a30_0x2371=function(){return _0x2f8381;};return a30_0x2371();}module['exports']=run;
@@ -1 +1 @@
1
- const a31_0x1155f5=a31_0x4100;(function(_0x258aec,_0x25e41c){const _0x144f7e=a31_0x4100,_0x4d9ebb=_0x258aec();while(!![]){try{const _0x4af690=-parseInt(_0x144f7e(0x9e))/0x1*(-parseInt(_0x144f7e(0xf2))/0x2)+-parseInt(_0x144f7e(0x103))/0x3+-parseInt(_0x144f7e(0xb4))/0x4*(parseInt(_0x144f7e(0xcd))/0x5)+parseInt(_0x144f7e(0xd5))/0x6*(parseInt(_0x144f7e(0xe6))/0x7)+-parseInt(_0x144f7e(0x95))/0x8*(-parseInt(_0x144f7e(0xd7))/0x9)+-parseInt(_0x144f7e(0xd9))/0xa+parseInt(_0x144f7e(0xa9))/0xb;if(_0x4af690===_0x25e41c)break;else _0x4d9ebb['push'](_0x4d9ebb['shift']());}catch(_0xd23885){_0x4d9ebb['push'](_0x4d9ebb['shift']());}}}(a31_0x3584,0xb8e14));function a31_0x4100(_0x27af0,_0x53b92d){const _0x3584b5=a31_0x3584();return a31_0x4100=function(_0x41005b,_0x188100){_0x41005b=_0x41005b-0x90;let _0x258bbc=_0x3584b5[_0x41005b];return _0x258bbc;},a31_0x4100(_0x27af0,_0x53b92d);}const logger=require(a31_0x1155f5(0xbc))[a31_0x1155f5(0xf4)],helper=require(a31_0x1155f5(0x10c)),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');class BrowserStackSetup{constructor(){const _0x44572c=a31_0x1155f5,_0xc16ec9={'TCBXO':function(_0x432fe3,_0x4524d1){return _0x432fe3!==_0x4524d1;},'zPGPY':'parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','oIjjr':_0x44572c(0xd6),'bzqNd':function(_0x7386d3,_0x908ef){return _0x7386d3(_0x908ef);},'OaUsL':_0x44572c(0xe5),'YiGIl':function(_0x4c1922,_0x5f2f43){return _0x4c1922===_0x5f2f43;},'ahoBN':_0x44572c(0xab),'SfBqF':_0x44572c(0xc2),'XMvtT':_0x44572c(0xa1),'PdFZT':_0x44572c(0xd1),'XRczh':function(_0x4ecc2f){return _0x4ecc2f();},'tXakm':function(_0x216238,_0x5cd583){return _0x216238<_0x5cd583;},'nkwSH':'selenium-webdriver','CdKqD':_0x44572c(0xda),'urGfO':_0x44572c(0xee),'sQhdz':function(_0x232d47,_0x44029d){return _0x232d47>=_0x44029d;},'qLDGh':function(_0x27576f,_0x51cc09){return _0x27576f!==_0x51cc09;},'DlwTl':'mNhUb','QjppN':_0x44572c(0xbf),'zPLKp':function(_0x257f18,_0x362733){return _0x257f18!==_0x362733;},'aBlvZ':_0x44572c(0xb6),'kAdFl':'qytwl','RoDHg':function(_0x82fc0,_0x250f71){return _0x82fc0===_0x250f71;},'ZlGqD':'jkBPa','pFQDt':_0x44572c(0x93),'jrxEE':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','TarRi':function(_0x1ee933,_0x2b310e){return _0x1ee933===_0x2b310e;},'FRXrz':_0x44572c(0x9d),'najep':_0x44572c(0x107),'knwJT':_0x44572c(0xd2),'rWsjZ':_0x44572c(0xff),'Wgjbq':_0x44572c(0xcb),'Ghumu':_0x44572c(0xaa),'kvTRO':function(_0x40f2f4,_0x434e5a){return _0x40f2f4!==_0x434e5a;},'jUjhs':_0x44572c(0x9a),'iexDY':_0x44572c(0xae),'AVZgu':function(_0x8395d6,_0x5d1774){return _0x8395d6===_0x5d1774;},'WqzgI':_0x44572c(0x10b),'fhtwg':_0x44572c(0xe1),'FUzkK':'ivfzz'};this[_0x44572c(0x10d)]=null,this[_0x44572c(0xc1)]=helper[_0x44572c(0xed)](helper[_0x44572c(0x91)]());if(this[_0x44572c(0xc1)]['error'])throw new Error(this['config'][_0x44572c(0x101)]);if(!_0xc16ec9[_0x44572c(0xc7)](isBrowserstackInfra))return;_0xc16ec9[_0x44572c(0x109)](_0xc16ec9[_0x44572c(0xca)](parseInt,helper[_0x44572c(0x110)](_0xc16ec9[_0x44572c(0x111)])),0x3)&&(_0xc16ec9[_0x44572c(0xc3)](_0xc16ec9[_0x44572c(0xa2)],_0xc16ec9[_0x44572c(0xe7)])?this[_0x44572c(0xc1)]['useW3C']=![]:this['config'][_0x44572c(0xce)]=!![]);_0xc16ec9[_0x44572c(0xb2)](_0xc16ec9[_0x44572c(0xca)](parseInt,helper[_0x44572c(0x110)](_0xc16ec9[_0x44572c(0x111)])),4.5)&&(_0xc16ec9['qLDGh'](_0xc16ec9[_0x44572c(0xeb)],_0xc16ec9[_0x44572c(0xbd)])?this[_0x44572c(0xc1)][_0x44572c(0xce)]=!![]:(_0xc16ec9[_0x44572c(0xc3)](this[_0x44572c(0xc1)][_0x44572c(0xa0)][_0x44572c(0xd4)],0x0)&&_0x389699[_0x44572c(0x108)](_0xc16ec9[_0x44572c(0x10a)]),this[_0x44572c(0xc1)]['parallelsPerPlatform']=0x1));if(helper[_0x44572c(0xc0)](this[_0x44572c(0xc1)]['platforms'])||helper[_0x44572c(0xc0)](this[_0x44572c(0xc1)][_0x44572c(0xa0)][_0x44572c(0xd4)])){if(_0xc16ec9[_0x44572c(0xe9)](_0xc16ec9[_0x44572c(0x10e)],_0xc16ec9[_0x44572c(0x9f)])){if(helper[_0x44572c(0xc0)](this[_0x44572c(0xc1)][_0x44572c(0xf6)])){if(_0xc16ec9[_0x44572c(0xb1)](_0xc16ec9[_0x44572c(0xcf)],_0xc16ec9[_0x44572c(0xcf)]))logger[_0x44572c(0x108)](_0xc16ec9['PdFZT']);else throw new _0xcc6e2d(_0xc16ec9[_0x44572c(0xa8)]);}else _0xc16ec9[_0x44572c(0xea)](_0xc16ec9[_0x44572c(0xb5)],_0xc16ec9['pFQDt'])?logger[_0x44572c(0xf8)](_0xc16ec9[_0x44572c(0xfa)]):_0xc16ec9[_0x44572c(0xca)](_0x366915,_0xc16ec9[_0x44572c(0xf7)])();this[_0x44572c(0xc1)]['platforms']=[];}else this['config']['useW3C']=![];}helper['isUndefined'](this[_0x44572c(0xc1)][_0x44572c(0xf6)])&&(_0xc16ec9[_0x44572c(0xe2)](_0xc16ec9['FRXrz'],_0xc16ec9['najep'])?!_0x3623ee['isUndefined'](this[_0x44572c(0xc1)][_0x44572c(0xdc)])&&_0xc16ec9[_0x44572c(0xea)](this['config'][_0x44572c(0xdc)][_0x44572c(0xb3)],_0x4c883f)?this['config'][_0x44572c(0xdc)][_0x44572c(0xef)]=_0x1e9d35[_0x44572c(0xd0)]():this[_0x44572c(0xc1)][_0x44572c(0xdc)]={'localIdentifier':_0x3ef516[_0x44572c(0xd0)]()}:(_0xc16ec9[_0x44572c(0xa3)](this[_0x44572c(0xc1)][_0x44572c(0xa0)][_0x44572c(0xd4)],0x0)&&(_0xc16ec9[_0x44572c(0xe9)](_0xc16ec9['knwJT'],_0xc16ec9[_0x44572c(0x106)])?logger[_0x44572c(0x108)](_0xc16ec9[_0x44572c(0x10a)]):_0x46c40b['error'](_0xc16ec9[_0x44572c(0xdf)],_0x1cda7f[_0x44572c(0xa7)])),this[_0x44572c(0xc1)][_0x44572c(0xf6)]=0x1));!this[_0x44572c(0xc1)][_0x44572c(0xdc)]&&(this[_0x44572c(0xc1)]['browserStackLocalOptions']=this[_0x44572c(0xc1)][_0x44572c(0xb9)]||{});if(helper['isUndefined'](helper[_0x44572c(0xbe)](this['config']))||helper[_0x44572c(0xc0)](helper[_0x44572c(0x94)](this[_0x44572c(0xc1)]))){if(_0xc16ec9[_0x44572c(0xe9)](_0xc16ec9['Wgjbq'],_0xc16ec9[_0x44572c(0xb0)]))throw new Error(_0xc16ec9[_0x44572c(0xa8)]);else this[_0x44572c(0xc1)][_0x44572c(0xdc)]={'localIdentifier':_0x306a06['generateLocalIdentifier']()};}if(helper['getLocalConfig'](this[_0x44572c(0xc1)])&&helper[_0x44572c(0xc0)](helper['getLocalIdentifier'](this[_0x44572c(0xc1)]))){if(_0xc16ec9[_0x44572c(0xfe)](_0xc16ec9['jUjhs'],_0xc16ec9[_0x44572c(0x100)])){if(!helper[_0x44572c(0xc0)](this[_0x44572c(0xc1)][_0x44572c(0xdc)])&&_0xc16ec9[_0x44572c(0xb7)](this[_0x44572c(0xc1)][_0x44572c(0xdc)]['constructor'],Object)){if(_0xc16ec9['YiGIl'](_0xc16ec9[_0x44572c(0xd3)],_0xc16ec9[_0x44572c(0xd3)]))this[_0x44572c(0xc1)][_0x44572c(0xdc)]['localIdentifier']=helper[_0x44572c(0xd0)]();else{const _0x412b26=_0x4befcc=>{const _0x5d5ffd=_0x44572c;_0xd2e20['error'](_0x4befcc[_0x5d5ffd(0xa7)]),_0x19caff[_0x5d5ffd(0xec)](_0x4befcc);};_0x2dc32b['on'](_0xc16ec9['SfBqF'],_0x412b26),_0x5b4907['on'](_0xc16ec9[_0x44572c(0xaf)],_0x412b26);}}else _0xc16ec9[_0x44572c(0xe2)](_0xc16ec9[_0x44572c(0xcc)],_0xc16ec9[_0x44572c(0xe8)])?this[_0x44572c(0xc1)][_0x44572c(0xdc)]['localIdentifier']=_0x224840['generateLocalIdentifier']():this[_0x44572c(0xc1)][_0x44572c(0xdc)]={'localIdentifier':helper[_0x44572c(0xd0)]()};}else _0x10b45c[_0x44572c(0x108)](_0xc16ec9[_0x44572c(0xf5)]);}helper['setLogLevel'](this['config']),helper[_0x44572c(0xa6)](this[_0x44572c(0xc1)]),helper['handleBuildIdentifier'](this[_0x44572c(0xc1)]),this[_0x44572c(0xf9)](),this[_0x44572c(0xc4)](),this[_0x44572c(0xad)]();}['setupBrowserstackLocal'](){const _0x2608d0=a31_0x1155f5,_0x4bc57e={};_0x4bc57e[_0x2608d0(0x98)]='parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined',_0x4bc57e['jITFd']=function(_0x53749e,_0x2a9645){return _0x53749e===_0x2a9645;},_0x4bc57e['DIpHi']='VybZd',_0x4bc57e[_0x2608d0(0x105)]=function(_0x150b4c,_0x51c43d){return _0x150b4c==_0x51c43d;},_0x4bc57e[_0x2608d0(0xfc)]=_0x2608d0(0xd1),_0x4bc57e['pkPCe']=function(_0xc1038c,_0x3e6f55){return _0xc1038c==_0x3e6f55;},_0x4bc57e[_0x2608d0(0x10f)]=function(_0x2ef564,_0x70e75f){return _0x2ef564!==_0x70e75f;},_0x4bc57e[_0x2608d0(0xc5)]=_0x2608d0(0x102),_0x4bc57e[_0x2608d0(0x9c)]=_0x2608d0(0xd8),_0x4bc57e['HZGga']=_0x2608d0(0xb8),_0x4bc57e['cufEB']='Local\x20binary\x20started\x20successfully',_0x4bc57e['yKTQK']=_0x2608d0(0xba),_0x4bc57e['SjxFy']='SIGINT',_0x4bc57e[_0x2608d0(0xdd)]=_0x2608d0(0xc6),_0x4bc57e[_0x2608d0(0x104)]='UBDGB',_0x4bc57e[_0x2608d0(0xfd)]='orVYt';const _0x169c9e=_0x4bc57e;if((_0x169c9e['pkPCe'](this[_0x2608d0(0xc1)]['browserstackLocal'],!![])||process['env'][_0x2608d0(0xe4)])&&(!this[_0x2608d0(0x10d)]||!this[_0x2608d0(0x10d)][_0x2608d0(0x9b)]())){if(_0x169c9e['vipOj'](_0x169c9e[_0x2608d0(0xc5)],_0x169c9e[_0x2608d0(0xc5)])){_0x950a2d['debug'](_0x2b45b3);throw new _0x5ce835(_0x337fb8[_0x2608d0(0xbb)]());}else try{if(_0x169c9e['vipOj'](_0x169c9e[_0x2608d0(0x9c)],_0x169c9e[_0x2608d0(0xf0)])){this['browserstackLocal']=helper['startLocalBinarySync'](this[_0x2608d0(0xc1)]),logger['info'](_0x169c9e[_0x2608d0(0x90)]);let _0x3fceb3=0x0;const _0x26db5b=async()=>{const _0x3c2de6=_0x2608d0;_0x169c9e[_0x3c2de6(0xac)](_0x169c9e[_0x3c2de6(0x97)],_0x169c9e[_0x3c2de6(0x97)])?(_0x3fceb3++,_0x169c9e['xoTtM'](_0x3fceb3,0x1)&&await this[_0x3c2de6(0x92)]()):_0x539a0d['warn'](_0x169c9e['HBgot']);};process['on'](_0x169c9e[_0x2608d0(0xe0)],_0x26db5b),process['on'](_0x169c9e[_0x2608d0(0xa4)],_0x26db5b),process['on'](_0x169c9e[_0x2608d0(0xdd)],_0x26db5b);}else _0x3bb1b2[_0x2608d0(0xc0)](this[_0x2608d0(0xc1)][_0x2608d0(0xf6)])?_0x1f2e26[_0x2608d0(0x108)](_0x169c9e[_0x2608d0(0xfc)]):_0x952c53['warn'](_0x169c9e[_0x2608d0(0x98)]),this[_0x2608d0(0xc1)]['platforms']=[];}catch(_0x4c0409){if(_0x169c9e[_0x2608d0(0x10f)](_0x169c9e[_0x2608d0(0x104)],_0x169c9e[_0x2608d0(0xfd)])){logger[_0x2608d0(0xec)](_0x4c0409);throw new Error(_0x4c0409[_0x2608d0(0xbb)]());}else _0x5af90a[_0x2608d0(0x101)](_0x5b13cd[_0x2608d0(0xa7)]),_0x18ab4e[_0x2608d0(0xec)](_0x3133fc);}}}async['stopBrowserstackLocal'](){const _0xc33dcc=a31_0x1155f5,_0x43f067={};_0x43f067['Cedyg']=_0xc33dcc(0xa5),_0x43f067['uoplt']=function(_0x24de39,_0xa52e40){return _0x24de39!==_0xa52e40;},_0x43f067[_0xc33dcc(0xde)]='ArepZ',_0x43f067['gigXC']=_0xc33dcc(0xe3),_0x43f067[_0xc33dcc(0x96)]='Local\x20binary\x20stopped',_0x43f067['zrDao']='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x2ff49b=_0x43f067;if(this[_0xc33dcc(0x10d)]&&this[_0xc33dcc(0x10d)][_0xc33dcc(0x9b)]())try{_0x2ff49b[_0xc33dcc(0xf3)](_0x2ff49b[_0xc33dcc(0xde)],_0x2ff49b[_0xc33dcc(0xf1)])?(await helper[_0xc33dcc(0xfb)](this[_0xc33dcc(0x10d)]),logger[_0xc33dcc(0x108)](_0x2ff49b[_0xc33dcc(0x96)])):_0x4c4cf2[_0xc33dcc(0x108)](_0x2ff49b[_0xc33dcc(0xdb)]);}catch(_0x278c16){logger[_0xc33dcc(0x101)](_0x2ff49b['zrDao'],_0x278c16['message']);}}[a31_0x1155f5(0xad)](){const _0x539a65=a31_0x1155f5,_0x2de1c6={'MbOwZ':function(_0x26650e,_0x22446f){return _0x26650e(_0x22446f);},'hIaiC':_0x539a65(0xe5)};_0x2de1c6[_0x539a65(0xc8)](require,_0x2de1c6['hIaiC'])();}['handleExceptions'](){const _0x18ef4d=a31_0x1155f5,_0xcdd6d9={};_0xcdd6d9[_0x18ef4d(0x99)]=_0x18ef4d(0xc2),_0xcdd6d9[_0x18ef4d(0xc9)]='uncaughtException';const _0x20a020=_0xcdd6d9,_0x1c55ff=_0x2cdc9d=>{const _0x26eae7=_0x18ef4d;logger[_0x26eae7(0x101)](_0x2cdc9d['message']),logger[_0x26eae7(0xec)](_0x2cdc9d);};process['on'](_0x20a020[_0x18ef4d(0x99)],_0x1c55ff),process['on'](_0x20a020[_0x18ef4d(0xc9)],_0x1c55ff);}}exports['default']=BrowserStackSetup;function a31_0x3584(){const _0xdc4d03=['error','qvimu','1223235WLlLcI','Vomgg','xoTtM','rWsjZ','ffUZJ','info','tXakm','zPGPY','eCEUk','./helper','browserstackLocal','aBlvZ','vipOj','getPackageVersion','nkwSH','cufEB','getConfigPath','stopBrowserstackLocal','ANMBu','getAccessKey','4109672XwZZaT','dNWIM','DIpHi','HBgot','PdqPw','IrTik','isRunning','cFAZd','UagZF','2zJdJfi','kAdFl','platforms','uncaughtException','CdKqD','qLDGh','SjxFy','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','setProxySettings','message','oIjjr','9568581mOuqRd','PUsjn','Error\x20occured\x20while\x20stopping\x20local\x20binary','jITFd','setupKeepAlive','cUpmQ','XMvtT','Ghumu','RoDHg','sQhdz','constructor','14012PhoYSL','pFQDt','xuLhb','AVZgu','DJaOi','localOptions','beforeExit','toString','./logger','QjppN','getUserName','hyCdC','isUndefined','config','unhandledRejection','TCBXO','setupBrowserstackLocal','ClslN','SIGTERM','XRczh','MbOwZ','UCQNz','bzqNd','NLMdz','fhtwg','1555qEJnnX','useW3C','ZlGqD','generateLocalIdentifier','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','PGpWA','WqzgI','length','6BSXGlq','userName\x20or\x20accessKey\x20is\x20not\x20defined','9UpUhib','ypSNX','12641330tLtZqN','rPDIl','Cedyg','browserStackLocalOptions','THnfw','ITPqk','ahoBN','yKTQK','GDafy','TarRi','bxugn','BROWSERSTACK_LOCAL','./setKeepAlive','10402175BYcvAC','urGfO','FUzkK','zPLKp','YiGIl','DlwTl','debug','readConfig','CvTPD','localIdentifier','HZGga','gigXC','648974cDLXKq','uoplt','winstonLogger','PdFZT','parallelsPerPlatform','OaUsL','warn','handleExceptions','jrxEE','stopLocalBinary','qCtGJ','ZBoCx','kvTRO','wYjTe','iexDY'];a31_0x3584=function(){return _0xdc4d03;};return a31_0x3584();}
1
+ function a31_0x1297(){const _0x4e6a94=['eRsUE','6OALGfI','1242283wRMxyx','SIGINT','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','getPackageVersion','handleExceptions','Local\x20binary\x20started\x20successfully','rMvAp','debug','XOhZI','PQYvE','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','nNYMG','925ahSHuC','xRFqo','setProxySettings','15150fPZKYe','qwwdH','setupKeepAlive','ddseA','OxYzo','LuAeZ','handleBuildIdentifier','uncaughtException','parallelsPerPlatform','DrJDI','constructor','Uzhzd','wMdQc','ntyGp','message','useW3C','readConfig','KTFvv','XfdDp','config','igfER','CxyyB','OYvLi','mpWvq','localIdentifier','luofD','pLPJa','2253312icembu','localOptions','66141PgxBJV','browserstackLocal','generateLocalIdentifier','Error\x20occured\x20while\x20stopping\x20local\x20binary','BROWSERSTACK_LOCAL','WuaWE','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','length','LOQkG','UXPiU','eugkE','platforms','userName\x20or\x20accessKey\x20is\x20not\x20defined','isRunning','etXFx','WZcrt','huuJM','stopLocalBinary','getConfigPath','unhandledRejection','eEDKK','44XcquTM','setLogLevel','KOMfJ','lpUPl','getUserName','qSoCl','Local\x20binary\x20stopped','ADIWw','UmNUz','siaND','NcIFr','2260WfKXFv','error','Perpa','DsikG','swRae','auout','eMOvU','HxZib','beforeExit','meTWm','asVST','winstonLogger','setupBrowserstackLocal','rrrrx','DgTdr','./setKeepAlive','No\x20config\x20provided.','dtHHs','UBKBO','ZQbhX','UpthZ','jIHth','warn','WIrGr','info','dfqXp','DCJIo','isUndefined','startLocalBinarySync','vjVuz','YReQy','1721544GKlCLG','915003AQFBwT','Oqdtr','Wnrgb','MQBzi','kVQdS','kGfVq','selenium-webdriver','KbWir','uUeIZ','browserStackLocalOptions','RuUds','stopBrowserstackLocal','yQhyN','cCUwe'];a31_0x1297=function(){return _0x4e6a94;};return a31_0x1297();}const a31_0x493b89=a31_0x526e;(function(_0x351083,_0x2a9562){const _0x348194=a31_0x526e,_0x5e4ec3=_0x351083();while(!![]){try{const _0x57fc71=parseInt(_0x348194(0x1b5))/0x1*(parseInt(_0x348194(0x1ea))/0x2)+-parseInt(_0x348194(0x199))/0x3+-parseInt(_0x348194(0x1d3))/0x4+parseInt(_0x348194(0x1b8))/0x5+-parseInt(_0x348194(0x1a8))/0x6*(parseInt(_0x348194(0x1a9))/0x7)+-parseInt(_0x348194(0x198))/0x8+parseInt(_0x348194(0x1d5))/0x9*(parseInt(_0x348194(0x1f5))/0xa);if(_0x57fc71===_0x2a9562)break;else _0x5e4ec3['push'](_0x5e4ec3['shift']());}catch(_0x275e08){_0x5e4ec3['push'](_0x5e4ec3['shift']());}}}(a31_0x1297,0x6755f));const logger=require('./logger')[a31_0x493b89(0x200)],helper=require('./helper'),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');class BrowserStackSetup{constructor(_0x2846d1){const _0x7ba9a6=a31_0x493b89,_0x3619e7={'eRsUE':_0x7ba9a6(0x1d8),'ZQbhX':_0x7ba9a6(0x1db),'kVQdS':_0x7ba9a6(0x1b3),'DCJIo':function(_0x573f13,_0x6de1a3){return _0x573f13===_0x6de1a3;},'UBKBO':_0x7ba9a6(0x1ab),'cCUwe':_0x7ba9a6(0x1e8),'SryMH':'uncaughtException','WIrGr':function(_0x214885,_0x4e9e40){return _0x214885!==_0x4e9e40;},'ddseA':_0x7ba9a6(0x205),'NTHMV':function(_0x166393){return _0x166393();},'PQYvE':function(_0x48ddb2,_0x3d3741){return _0x48ddb2<_0x3d3741;},'KOMfJ':function(_0x146614,_0x39b23b){return _0x146614(_0x39b23b);},'RuUds':_0x7ba9a6(0x19f),'qwwdH':function(_0x13c42f,_0x2f263e){return _0x13c42f===_0x2f263e;},'meTWm':_0x7ba9a6(0x1dd),'zLFKe':function(_0x25be0b,_0x35c63f){return _0x25be0b>=_0x35c63f;},'LuAeZ':function(_0x6f70bd,_0x1c47f0){return _0x6f70bd===_0x1c47f0;},'ntyGp':_0x7ba9a6(0x20a),'Wnrgb':function(_0xf13b7a,_0x58d4b9){return _0xf13b7a===_0x58d4b9;},'rMvAp':_0x7ba9a6(0x1f7),'dfqXp':_0x7ba9a6(0x1e4),'HxZib':_0x7ba9a6(0x1c3),'wVKDO':_0x7ba9a6(0x209),'CxyyB':_0x7ba9a6(0x203),'vjVuz':'LLqhp','DrJDI':function(_0x471592,_0x2c837f){return _0x471592!==_0x2c837f;},'nNYMG':'IoJUO','igfER':_0x7ba9a6(0x1ff),'qSoCl':function(_0x29d7b6,_0x210442){return _0x29d7b6!==_0x210442;},'yQhyN':'NwJHD','eugkE':_0x7ba9a6(0x1e1),'pIAMn':function(_0x296d19,_0x2f905b){return _0x296d19===_0x2f905b;},'pLPJa':_0x7ba9a6(0x1cf),'eEDKK':function(_0x2919dc,_0x5cf513){return _0x2919dc===_0x5cf513;},'dtHHs':function(_0x638ec7,_0xee03f){return _0x638ec7===_0xee03f;},'lYcBK':'lrfHU','huuJM':_0x7ba9a6(0x1ed),'ADIWw':'lYjWe'};this['browserstackLocal']=null,this[_0x7ba9a6(0x1cb)]=helper[_0x7ba9a6(0x1c8)](helper[_0x7ba9a6(0x1e7)](_0x2846d1));if(helper['isUndefined'](this[_0x7ba9a6(0x1cb)]))throw new Error(_0x3619e7[_0x7ba9a6(0x1bb)]);if(this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1f6)])throw new Error(this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1f6)]);if(!_0x3619e7['NTHMV'](isBrowserstackInfra))return;_0x3619e7[_0x7ba9a6(0x1b2)](_0x3619e7[_0x7ba9a6(0x1ec)](parseInt,helper['getPackageVersion'](_0x3619e7[_0x7ba9a6(0x1a3)])),0x3)&&(_0x3619e7[_0x7ba9a6(0x1b9)](_0x3619e7[_0x7ba9a6(0x1fe)],_0x3619e7[_0x7ba9a6(0x1fe)])?this['config'][_0x7ba9a6(0x1c7)]=![]:this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1c7)]=![]);_0x3619e7['zLFKe'](_0x3619e7['KOMfJ'](parseInt,helper[_0x7ba9a6(0x1ac)](_0x3619e7[_0x7ba9a6(0x1a3)])),4.5)&&(_0x3619e7['LuAeZ'](_0x3619e7[_0x7ba9a6(0x1c5)],_0x3619e7['ntyGp'])?this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1c7)]=!![]:this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1a2)]={'localIdentifier':_0x522e4c[_0x7ba9a6(0x1d7)]()});(helper[_0x7ba9a6(0x210)](this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1e0)])||helper['isUndefined'](this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1e0)][_0x7ba9a6(0x1dc)]))&&(_0x3619e7[_0x7ba9a6(0x19b)](_0x3619e7[_0x7ba9a6(0x1af)],_0x3619e7[_0x7ba9a6(0x20e)])?_0x37a5a3[_0x7ba9a6(0x1f6)](_0x3619e7[_0x7ba9a6(0x1a7)],_0x4c5ed9[_0x7ba9a6(0x1c6)]):(helper['isUndefined'](this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1c0)])?_0x3619e7[_0x7ba9a6(0x1bd)](_0x3619e7[_0x7ba9a6(0x1fc)],_0x3619e7['HxZib'])?logger['info'](_0x3619e7[_0x7ba9a6(0x208)]):(_0xaf2a7f[_0x7ba9a6(0x1f6)](_0x16c5c6[_0x7ba9a6(0x1c6)]),_0x578933[_0x7ba9a6(0x1b0)](_0x1edaab)):_0x3619e7[_0x7ba9a6(0x19b)](_0x3619e7['wVKDO'],_0x3619e7[_0x7ba9a6(0x1cd)])?(_0x3d9c75['isUndefined'](this[_0x7ba9a6(0x1cb)]['parallelsPerPlatform'])?_0x20cd8e['info'](_0x3619e7[_0x7ba9a6(0x208)]):_0x171623[_0x7ba9a6(0x20b)](_0x3619e7[_0x7ba9a6(0x19d)]),this['config'][_0x7ba9a6(0x1e0)]=[]):logger[_0x7ba9a6(0x20b)](_0x3619e7[_0x7ba9a6(0x19d)]),this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1e0)]=[]));helper[_0x7ba9a6(0x210)](this[_0x7ba9a6(0x1cb)]['parallelsPerPlatform'])&&(_0x3619e7[_0x7ba9a6(0x1b9)](_0x3619e7[_0x7ba9a6(0x196)],_0x3619e7[_0x7ba9a6(0x196)])?(_0x3619e7[_0x7ba9a6(0x1c1)](this[_0x7ba9a6(0x1cb)]['platforms'][_0x7ba9a6(0x1dc)],0x0)&&(_0x3619e7['Wnrgb'](_0x3619e7[_0x7ba9a6(0x1b4)],_0x3619e7[_0x7ba9a6(0x1cc)])?!_0x3b4e50[_0x7ba9a6(0x210)](this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1a2)])&&_0x3619e7[_0x7ba9a6(0x20f)](this[_0x7ba9a6(0x1cb)]['browserStackLocalOptions'][_0x7ba9a6(0x1c2)],_0x5b46a9)?this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1a2)]['localIdentifier']=_0x3e1917[_0x7ba9a6(0x1d7)]():this[_0x7ba9a6(0x1cb)]['browserStackLocalOptions']={'localIdentifier':_0x3c9379['generateLocalIdentifier']()}:logger[_0x7ba9a6(0x20d)](_0x3619e7['UBKBO'])),this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1c0)]=0x1):_0x3f1e94[_0x7ba9a6(0x20d)](_0x3619e7[_0x7ba9a6(0x207)]));!this['config'][_0x7ba9a6(0x1a2)]&&(this[_0x7ba9a6(0x1cb)]['browserStackLocalOptions']=this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1d4)]||{});if(helper[_0x7ba9a6(0x210)](helper[_0x7ba9a6(0x1ee)](this['config']))||helper[_0x7ba9a6(0x210)](helper['getAccessKey'](this['config']))){if(_0x3619e7[_0x7ba9a6(0x1ef)](_0x3619e7[_0x7ba9a6(0x1a5)],_0x3619e7[_0x7ba9a6(0x1a5)]))_0x5aceb0['info'](_0x3619e7[_0x7ba9a6(0x208)]);else throw new Error(_0x3619e7[_0x7ba9a6(0x1df)]);}if(helper['getLocalConfig'](this[_0x7ba9a6(0x1cb)])&&helper[_0x7ba9a6(0x210)](helper['getLocalIdentifier'](this['config']))){if(_0x3619e7['pIAMn'](_0x3619e7[_0x7ba9a6(0x1d2)],_0x3619e7['pLPJa'])){if(!helper[_0x7ba9a6(0x210)](this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1a2)])&&_0x3619e7[_0x7ba9a6(0x1e9)](this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1a2)][_0x7ba9a6(0x1c2)],Object)){if(_0x3619e7[_0x7ba9a6(0x206)](_0x3619e7['lYcBK'],_0x3619e7[_0x7ba9a6(0x1e5)])){const _0x1e2c90=_0x1f763e=>{const _0x5a0b0a=_0x7ba9a6;_0x4ea3b5['error'](_0x1f763e[_0x5a0b0a(0x1c6)]),_0x48fe2a['debug'](_0x1f763e);};_0x4da779['on'](_0x3619e7[_0x7ba9a6(0x1a6)],_0x1e2c90),_0x1e2716['on'](_0x3619e7['SryMH'],_0x1e2c90);}else this[_0x7ba9a6(0x1cb)]['browserStackLocalOptions'][_0x7ba9a6(0x1d0)]=helper[_0x7ba9a6(0x1d7)]();}else _0x3619e7[_0x7ba9a6(0x19b)](_0x3619e7[_0x7ba9a6(0x1f1)],_0x3619e7[_0x7ba9a6(0x1f1)])?this['config'][_0x7ba9a6(0x1a2)]={'localIdentifier':helper['generateLocalIdentifier']()}:(_0x3619e7[_0x7ba9a6(0x20c)](this['config'][_0x7ba9a6(0x1e0)][_0x7ba9a6(0x1dc)],0x0)&&_0x438f35[_0x7ba9a6(0x20d)](_0x3619e7[_0x7ba9a6(0x207)]),this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1c0)]=0x1);}else this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1c7)]=!![];}helper[_0x7ba9a6(0x1eb)](this[_0x7ba9a6(0x1cb)]),helper[_0x7ba9a6(0x1b7)](this[_0x7ba9a6(0x1cb)]),helper[_0x7ba9a6(0x1be)](this[_0x7ba9a6(0x1cb)]),this[_0x7ba9a6(0x1ad)](),this[_0x7ba9a6(0x201)](),this[_0x7ba9a6(0x1ba)]();}['setupBrowserstackLocal'](){const _0xe02eb6=a31_0x493b89,_0x58d332={};_0x58d332[_0xe02eb6(0x1f9)]='parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined',_0x58d332['etXFx']=function(_0x14034b,_0x3a976c){return _0x14034b!==_0x3a976c;},_0x58d332['XOhZI']=_0xe02eb6(0x1f4),_0x58d332[_0xe02eb6(0x19e)]=function(_0x240da5,_0x6efaa7){return _0x240da5==_0x6efaa7;},_0x58d332[_0xe02eb6(0x1a0)]=_0xe02eb6(0x1e1),_0x58d332[_0xe02eb6(0x1de)]=function(_0x3c9b32,_0x593b45){return _0x3c9b32===_0x593b45;},_0x58d332[_0xe02eb6(0x19a)]=_0xe02eb6(0x19c),_0x58d332[_0xe02eb6(0x1d1)]='ZenCi',_0x58d332[_0xe02eb6(0x1f2)]=_0xe02eb6(0x1a1),_0x58d332[_0xe02eb6(0x1f8)]=_0xe02eb6(0x1ae),_0x58d332[_0xe02eb6(0x1c9)]=_0xe02eb6(0x1fd),_0x58d332[_0xe02eb6(0x202)]=_0xe02eb6(0x1aa),_0x58d332['OxYzo']='SIGTERM',_0x58d332['GEaNM']=_0xe02eb6(0x1c4);const _0x10c2b3=_0x58d332;if((_0x10c2b3['kGfVq'](this['config']['browserstackLocal'],!![])||process['env'][_0xe02eb6(0x1d9)])&&(!this[_0xe02eb6(0x1d6)]||!this[_0xe02eb6(0x1d6)][_0xe02eb6(0x1e2)]())){if(_0x10c2b3[_0xe02eb6(0x1de)](_0x10c2b3[_0xe02eb6(0x19a)],_0x10c2b3['luofD']))this[_0xe02eb6(0x1cb)][_0xe02eb6(0x1a2)][_0xe02eb6(0x1d0)]=_0x3ceb51['generateLocalIdentifier']();else try{if(_0x10c2b3[_0xe02eb6(0x1e3)](_0x10c2b3[_0xe02eb6(0x1f2)],_0x10c2b3[_0xe02eb6(0x1f2)])){_0x3f976e['debug'](_0x4571e2);throw new _0x57edaf(_0x1f3795['toString']());}else{this[_0xe02eb6(0x1d6)]=helper[_0xe02eb6(0x195)](this[_0xe02eb6(0x1cb)]),logger[_0xe02eb6(0x20d)](_0x10c2b3[_0xe02eb6(0x1f8)]);let _0xba8e99=0x0;const _0x53ffbb=async()=>{const _0x1d7a4=_0xe02eb6,_0x1b1cc2={};_0x1b1cc2[_0x1d7a4(0x1f3)]=_0x10c2b3[_0x1d7a4(0x1f9)];const _0x7e2d59=_0x1b1cc2;_0x10c2b3[_0x1d7a4(0x1e3)](_0x10c2b3['XOhZI'],_0x10c2b3[_0x1d7a4(0x1b1)])?_0x159390['warn'](_0x7e2d59[_0x1d7a4(0x1f3)]):(_0xba8e99++,_0x10c2b3[_0x1d7a4(0x19e)](_0xba8e99,0x1)&&await this[_0x1d7a4(0x1a4)]());};process['on'](_0x10c2b3['KTFvv'],_0x53ffbb),process['on'](_0x10c2b3[_0xe02eb6(0x202)],_0x53ffbb),process['on'](_0x10c2b3[_0xe02eb6(0x1bc)],_0x53ffbb);}}catch(_0x19e666){if(_0x10c2b3[_0xe02eb6(0x1de)](_0x10c2b3['GEaNM'],_0x10c2b3['GEaNM'])){logger[_0xe02eb6(0x1b0)](_0x19e666);throw new Error(_0x19e666['toString']());}else throw new _0x1e5d36(_0x10c2b3[_0xe02eb6(0x1a0)]);}}}async[a31_0x493b89(0x1a4)](){const _0xff4493=a31_0x493b89,_0xa2d11={'xRFqo':function(_0x5623fa,_0x3e0866){return _0x5623fa(_0x3e0866);},'YJEIU':_0xff4493(0x204),'buzmL':function(_0x1186c9,_0x4ef3ed){return _0x1186c9===_0x4ef3ed;},'auout':_0xff4493(0x1da),'cUkFD':_0xff4493(0x1f0),'eMOvU':_0xff4493(0x1d8)};if(this[_0xff4493(0x1d6)]&&this[_0xff4493(0x1d6)][_0xff4493(0x1e2)]())try{_0xa2d11['buzmL'](_0xa2d11[_0xff4493(0x1fa)],_0xa2d11[_0xff4493(0x1fa)])?(await helper[_0xff4493(0x1e6)](this[_0xff4493(0x1d6)]),logger[_0xff4493(0x20d)](_0xa2d11['cUkFD'])):_0xa2d11[_0xff4493(0x1b6)](_0x5ed68d,_0xa2d11['YJEIU'])();}catch(_0x2b7a7b){logger['error'](_0xa2d11[_0xff4493(0x1fb)],_0x2b7a7b[_0xff4493(0x1c6)]);}}[a31_0x493b89(0x1ba)](){const _0x29a8cb=a31_0x493b89,_0x399b05={'YkuaQ':function(_0x3ebfe5,_0x48eb2e){return _0x3ebfe5(_0x48eb2e);},'XfdDp':_0x29a8cb(0x204)};_0x399b05['YkuaQ'](require,_0x399b05[_0x29a8cb(0x1ca)])();}[a31_0x493b89(0x1ad)](){const _0x340274=a31_0x493b89,_0x35962d={};_0x35962d[_0x340274(0x197)]=_0x340274(0x1e8),_0x35962d[_0x340274(0x1ce)]=_0x340274(0x1bf);const _0x5b292b=_0x35962d,_0x4f637f=_0x1fdaed=>{const _0x19bd0f=_0x340274;logger[_0x19bd0f(0x1f6)](_0x1fdaed[_0x19bd0f(0x1c6)]),logger['debug'](_0x1fdaed);};process['on'](_0x5b292b[_0x340274(0x197)],_0x4f637f),process['on'](_0x5b292b[_0x340274(0x1ce)],_0x4f637f);}}function a31_0x526e(_0x5a5eef,_0x44d479){const _0x129798=a31_0x1297();return a31_0x526e=function(_0x526ef4,_0x2aaa8){_0x526ef4=_0x526ef4-0x195;let _0x4a0925=_0x129798[_0x526ef4];return _0x4a0925;},a31_0x526e(_0x5a5eef,_0x44d479);}exports['default']=BrowserStackSetup;