browserstack-node-sdk 1.5.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
+ const a29_0xf5c027=a29_0xfafd;(function(_0x2179fa,_0x300f27){const _0x1a43a6=a29_0xfafd,_0x56ed8e=_0x2179fa();while(!![]){try{const _0x16a905=parseInt(_0x1a43a6(0xc4))/0x1*(-parseInt(_0x1a43a6(0xce))/0x2)+-parseInt(_0x1a43a6(0xd8))/0x3+-parseInt(_0x1a43a6(0xde))/0x4*(parseInt(_0x1a43a6(0xdf))/0x5)+parseInt(_0x1a43a6(0xc3))/0x6+parseInt(_0x1a43a6(0xc6))/0x7+-parseInt(_0x1a43a6(0xcc))/0x8+parseInt(_0x1a43a6(0xd5))/0x9;if(_0x16a905===_0x300f27)break;else _0x56ed8e['push'](_0x56ed8e['shift']());}catch(_0x1e846c){_0x56ed8e['push'](_0x56ed8e['shift']());}}}(a29_0x4333,0x92a1b));const Transport=require(a29_0xf5c027(0xd4)),{consoleHolder}=require('../mocha/test-observability/constants'),a29_0x36dd3b={};function a29_0xfafd(_0x2be80d,_0x753890){const _0x433357=a29_0x4333();return a29_0xfafd=function(_0xfafd09,_0x4207c4){_0xfafd09=_0xfafd09-0xc3;let _0x513ba1=_0x433357[_0xfafd09];return _0x513ba1;},a29_0xfafd(_0x2be80d,_0x753890);}a29_0x36dd3b['INFO']=a29_0xf5c027(0xc9),a29_0x36dd3b[a29_0xf5c027(0xe8)]=a29_0xf5c027(0xe8),a29_0x36dd3b[a29_0xf5c027(0xe9)]='DEBUG',a29_0x36dd3b[a29_0xf5c027(0xd6)]=a29_0xf5c027(0xd6),a29_0x36dd3b[a29_0xf5c027(0xcb)]='WARN';function a29_0x4333(){const _0x4c05d2=['winston-transport','19757871ChlPUj','TRACE','logged','2115816ZZNtIf','WbkRY','sZDws','toUpperCase','log','xSXCJ','2224124Ucloka','5qSIKIj','bs:addLog:','CbfEf','lrcQV','trace','TEST_LOG','wiNmr','bcKbd','toLowerCase','ERROR','DEBUG','rCAjy','object','emit','message','1732680zllGCr','1eBhthi','toISOString','6717389kqfJfn','exports','hasEc','INFO','tKeiw','WARN','7384328FWkEDC','logToTestOps','1317558HqoEZh','warn','zHvAJ','level','debug','YpEPb'];a29_0x4333=function(){return _0x4c05d2;};return a29_0x4333();}const LOG_LEVELS=a29_0x36dd3b;class logReportingAPI extends Transport{constructor(_0x48ab5b){super(_0x48ab5b);}[a29_0xf5c027(0xdc)](_0x327dff,_0x2c9616){const _0x42e1bd=a29_0xf5c027,_0x3aeb62={'AdPYB':function(_0x40e0ef,_0x5c0a4e){return _0x40e0ef===_0x5c0a4e;},'lrcQV':_0x42e1bd(0xe6),'WcRLO':_0x42e1bd(0xd7),'xSXCJ':_0x42e1bd(0xe4),'wiNmr':function(_0x47cae4,_0x2040f9){return _0x47cae4(_0x2040f9);},'WYAmw':_0x42e1bd(0xeb),'sZDws':function(_0x5ed955,_0xc4a1b8){return _0x5ed955!==_0xc4a1b8;},'rCAjy':_0x42e1bd(0xe1),'hasEc':function(_0x52bc7a,_0x33f8a2){return _0x52bc7a!==_0x33f8a2;},'zHvAJ':_0x42e1bd(0xd9),'dVyHH':_0x42e1bd(0xca),'WFKcC':function(_0x226c53){return _0x226c53();}};_0x3aeb62[_0x42e1bd(0xe5)](setImmediate,()=>{const _0x44e014=_0x42e1bd;_0x3aeb62['AdPYB'](_0x3aeb62['lrcQV'],_0x3aeb62[_0x44e014(0xe2)])?this[_0x44e014(0xec)](_0x3aeb62['WcRLO'],_0x327dff):this['logToTestOps'](_0x398d43[_0x44e014(0xd1)]||_0x3cbfc0[_0x44e014(0xc9)],_0x5bd7ec[_0x44e014(0xed)],![]);});if(_0x3aeb62['AdPYB'](typeof _0x327dff,_0x3aeb62['WYAmw'])){if(_0x3aeb62[_0x42e1bd(0xda)](_0x3aeb62[_0x42e1bd(0xea)],_0x3aeb62[_0x42e1bd(0xea)])){if(_0x58bf03)_0x15cff0[_0x4dcaf9[_0x42e1bd(0xe7)]()](_0x2ad74a);_0x53281b[_0x42e1bd(0xec)](_0x42e1bd(0xe0)+_0x469822['pid'],{'timestamp':new _0x5d4a99()[_0x42e1bd(0xc5)](),'level':_0x478a03[_0x42e1bd(0xdb)](),'message':_0x493bb7,'kind':_0x3aeb62[_0x42e1bd(0xdd)],'http_response':{}});}else this[_0x42e1bd(0xcd)](_0x327dff[_0x42e1bd(0xd1)]||LOG_LEVELS[_0x42e1bd(0xc9)],_0x327dff[_0x42e1bd(0xed)],![]);}else _0x3aeb62[_0x42e1bd(0xc8)](_0x3aeb62[_0x42e1bd(0xd0)],_0x3aeb62['dVyHH'])?this[_0x42e1bd(0xcd)](LOG_LEVELS[_0x42e1bd(0xc9)],_0x327dff):this[_0x42e1bd(0xcd)](_0x45c086[_0x42e1bd(0xe8)],_0x29879a);if(_0x2c9616)_0x3aeb62['WFKcC'](_0x2c9616);}[a29_0xf5c027(0xcd)]=(_0x565c35=LOG_LEVELS['INFO'],_0x1e100c='',_0x2f5bc8=!![])=>{const _0x241846=a29_0xf5c027,_0x459500={};_0x459500[_0x241846(0xd3)]=_0x241846(0xe4);const _0x9daee3=_0x459500;if(_0x2f5bc8)consoleHolder[_0x565c35[_0x241846(0xe7)]()](_0x1e100c);process[_0x241846(0xec)](_0x241846(0xe0)+process['pid'],{'timestamp':new Date()[_0x241846(0xc5)](),'level':_0x565c35[_0x241846(0xdb)](),'message':_0x1e100c,'kind':_0x9daee3[_0x241846(0xd3)],'http_response':{}});};[a29_0xf5c027(0xe3)]=(_0x250844,_0x40d1b1)=>{const _0x21fc9d=a29_0xf5c027;this[_0x21fc9d(0xcd)](LOG_LEVELS[_0x21fc9d(0xd6)],_0x250844);};[a29_0xf5c027(0xd2)]=(_0x498e84,_0x40f8c7)=>{const _0x39e6da=a29_0xf5c027;this[_0x39e6da(0xcd)](LOG_LEVELS[_0x39e6da(0xe9)],_0x498e84);};['info']=(_0x4c297c,_0x808f47)=>{const _0x22235a=a29_0xf5c027;this['logToTestOps'](LOG_LEVELS[_0x22235a(0xc9)],_0x4c297c);};[a29_0xf5c027(0xcf)]=(_0x5a8612,_0x26568c)=>{const _0x5dfcbd=a29_0xf5c027;this['logToTestOps'](LOG_LEVELS[_0x5dfcbd(0xcb)],_0x5a8612);};['error']=(_0x51a793,_0xc19d50)=>{const _0x290d2c=a29_0xf5c027;this[_0x290d2c(0xcd)](LOG_LEVELS['ERROR'],_0x51a793);};};module[a29_0xf5c027(0xc7)]=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_0x2995(){const _0x1008f1=['3244350JoBGIw','410sSkTJK','file','dtdbl','3664074aHddNC','4963LUtxFY','50EONxgA','AryyY','XDKHQ','modifyBrowserStackCaps','kFcaA','useW3C','oTRMx','tQJYb','configuration','modifyBrowserStackW3CCaps','BnMeS','mVkUT','LDBij','XLlin','OCmBt','hubUrl','kvndk','getPlatformName','DZDaD','../utils/constants','forEach','push','6195210ZXcUst','fVcYm','1988658zjEVPE','4JsKggw','\x20doesn\x27t\x20exist','RjYBn','proxySettings','../../helpers/BrowserStackSetup','bhtVI','cwd','ThjEC','merge','NRcZb','parallelsPerPlatform','args','platforms','LnQaX','server','File\x20','then','rpBTI','5999679xSnRmt','Config\x20yml\x20is\x20required','exports','config','length','join','vanilla','9312632wGaxDE','rzzwm','cPCHs'];a30_0x2995=function(){return _0x1008f1;};return a30_0x2995();}function a30_0x7ebc(_0x24fdf5,_0x57e20d){const _0x299541=a30_0x2995();return a30_0x7ebc=function(_0x7ebcc4,_0x30c188){_0x7ebcc4=_0x7ebcc4-0xa7;let _0x66c6b3=_0x299541[_0x7ebcc4];return _0x66c6b3;},a30_0x7ebc(_0x24fdf5,_0x57e20d);}const a30_0x274103=a30_0x7ebc;(function(_0xf2cbd8,_0x3f60da){const _0xfab3a4=a30_0x7ebc,_0x4fe45c=_0xf2cbd8();while(!![]){try{const _0x176d22=parseInt(_0xfab3a4(0xba))/0x1*(parseInt(_0xfab3a4(0xb6))/0x2)+parseInt(_0xfab3a4(0xb5))/0x3+-parseInt(_0xfab3a4(0xd4))/0x4*(parseInt(_0xfab3a4(0xd1))/0x5)+parseInt(_0xfab3a4(0xb9))/0x6+-parseInt(_0xfab3a4(0xab))/0x7+parseInt(_0xfab3a4(0xb2))/0x8+-parseInt(_0xfab3a4(0xd3))/0x9*(parseInt(_0xfab3a4(0xbb))/0xa);if(_0x176d22===_0x3f60da)break;else _0x4fe45c['push'](_0x4fe45c['shift']());}catch(_0x4ce325){_0x4fe45c['push'](_0x4fe45c['shift']());}}}(a30_0x2995,0xa43a2));const fs=require('fs'),{default:BrowserStackSetup}=require(a30_0x274103(0xd8)),helper=require('../../helpers/helper'),constants=require(a30_0x274103(0xce)),{parallelVanillaRun}=require('../test-runner');async function run(_0x2ca5b6,_0x5bb395){const _0x2940a2=a30_0x274103,_0x1eb7b3={'BnMeS':_0x2940a2(0xb1),'dtdbl':function(_0x5b0ecf,_0x582bcc){return _0x5b0ecf!==_0x582bcc;},'rpBTI':_0x2940a2(0xc7),'tTwwf':_0x2940a2(0xc8),'bhtVI':'GkFXl','fZQiN':_0x2940a2(0xdb),'oTRMx':function(_0x47551c,_0x4f5304){return _0x47551c(_0x4f5304);},'WBsqq':'File\x20path\x20is\x20required','hjDMx':function(_0x4d342d,_0x3dc2df){return _0x4d342d(_0x3dc2df);},'KsLXo':_0x2940a2(0xac),'Hhjrw':function(_0x549abf,_0x55c036){return _0x549abf>_0x55c036;},'OCmBt':function(_0x58626a,_0x15effb){return _0x58626a===_0x15effb;},'DZDaD':_0x2940a2(0xbf),'fVcYm':_0x2940a2(0xc6),'AryyY':function(_0x4ad8d5,_0x244ced){return _0x4ad8d5>_0x244ced;},'LnQaX':_0x2940a2(0xbd),'NRcZb':_0x2940a2(0xb4),'RjYBn':'NmMrU','ExaHB':function(_0x4f8687,_0x128e80){return _0x4f8687*_0x128e80;},'kvndk':function(_0x32887b,_0x308699,_0x30e84e){return _0x32887b(_0x308699,_0x30e84e);}},_0x3f365c=new BrowserStackSetup(_0x2ca5b6,_0x1eb7b3[_0x2940a2(0xc5)]);let _0x3ca879=[];if(helper['isUndefined'](_0x2ca5b6['_'][0x1]))throw _0x1eb7b3[_0x2940a2(0xc1)](Error,_0x1eb7b3['WBsqq']);const _0x2eceba=path[_0x2940a2(0xb0)](process[_0x2940a2(0xda)](),_0x2ca5b6['_'][0x1]);if(!fs['existsSync'](_0x2eceba))throw _0x1eb7b3['hjDMx'](Error,_0x2940a2(0xa8)+_0x2ca5b6['_'][0x1]+_0x2940a2(0xd5));if(!_0x3f365c[_0x2940a2(0xae)])throw _0x1eb7b3[_0x2940a2(0xc1)](Error,_0x1eb7b3['KsLXo']);let _0x151c11=helper[_0x2940a2(0xc0)](_0x3f365c[_0x2940a2(0xae)]);if(_0x3f365c['config']['platforms']&&_0x1eb7b3['Hhjrw'](_0x3f365c[_0x2940a2(0xae)][_0x2940a2(0xe0)][_0x2940a2(0xaf)],0x0)){if(_0x1eb7b3[_0x2940a2(0xc9)](_0x1eb7b3[_0x2940a2(0xcd)],_0x1eb7b3[_0x2940a2(0xd2)])){_0x40308b={'server':_0x285439[_0x2940a2(0xca)],'proxySettings':_0x9e14df['config'][_0x2940a2(0xd7)],'platform':_0x43f9b8[_0x2940a2(0xcc)](_0x4f7366)};const _0x44f888={'capability':_0xd2a75,..._0x5295f7};_0x44f888[_0x2940a2(0xb7)]=_0x50124e,_0x44f888[_0x2940a2(0xdf)]=_0x2f9672;const _0x15ca63={};_0x15ca63[_0x2940a2(0xc3)]=_0x44f888,_0x4a9dd7=_0x15ca63,_0x45f698[_0x2940a2(0xd0)](_0x3c3656);}else _0x3f365c['config'][_0x2940a2(0xe0)]['forEach']((_0x355349,_0xbcdf7c)=>{const _0x2ef296=_0x2940a2,_0x367a81={};_0x367a81[_0x2ef296(0xc2)]=_0x1eb7b3['BnMeS'];const _0x532b36=_0x367a81;if(_0x1eb7b3[_0x2ef296(0xb8)](_0x1eb7b3[_0x2ef296(0xaa)],_0x1eb7b3['tTwwf'])){if(_0x151c11)_0x3ca879['push'](helper[_0x2ef296(0xc4)](_0x3f365c[_0x2ef296(0xae)],_0x1eb7b3[_0x2ef296(0xc5)],_0xbcdf7c));else _0x3ca879[_0x2ef296(0xd0)](helper['modifyBrowserStackCaps'](_0x3f365c[_0x2ef296(0xae)],_0x1eb7b3[_0x2ef296(0xc5)],_0xbcdf7c));}else{let _0x3d3d10;if(_0xe45a48)_0x3d3d10=_0x52b000[_0x2ef296(0xc4)](_0x29ac22['config'],_0x532b36[_0x2ef296(0xc2)],0x0);else _0x3d3d10=_0x48c34a['modifyBrowserStackCaps'](_0x22b610[_0x2ef296(0xae)],_0x532b36[_0x2ef296(0xc2)],0x0);const _0x1de4bf={};_0x1de4bf['server']=_0x561d3b[_0x2ef296(0xca)],_0x1de4bf[_0x2ef296(0xd7)]=_0x104c8a[_0x2ef296(0xae)]['proxySettings'],_0x11d5ef=_0x1de4bf;const _0x182931={'capability':_0x3d3d10,..._0x49c73b};_0x182931[_0x2ef296(0xb7)]=_0x5320c0,_0x182931[_0x2ef296(0xdf)]=_0x5896ae,_0x182931[_0x2ef296(0xdc)]=!![];const _0x445b0b={};_0x445b0b['configuration']=_0x182931,_0x41fa09=_0x445b0b,_0x223298[_0x2ef296(0xd0)](_0x50074e);}});}let _0x5c1c55,_0x1e0bcc;const _0x454c47=[];if(_0x1eb7b3[_0x2940a2(0xbc)](_0x3ca879[_0x2940a2(0xaf)],0x0))_0x1eb7b3[_0x2940a2(0xb8)](_0x1eb7b3[_0x2940a2(0xe1)],_0x1eb7b3[_0x2940a2(0xe1)])?_0x57c847[_0x2940a2(0xcf)](_0x586c05=>{const _0x305d73=_0x2940a2;_0x14beed={'server':_0x50f9ed['hubUrl'],'proxySettings':_0x38fca2[_0x305d73(0xae)][_0x305d73(0xd7)],'platform':_0x4eb669['getPlatformName'](_0x586c05)};const _0x2c2ce1={'capability':_0x586c05,..._0x1e7c06};_0x2c2ce1[_0x305d73(0xb7)]=_0x2f9bf2,_0x2c2ce1[_0x305d73(0xdf)]=_0x2ce6fc;const _0x3f15bb={};_0x3f15bb[_0x305d73(0xc3)]=_0x2c2ce1,_0x20b5e9=_0x3f15bb,_0x56176c[_0x305d73(0xd0)](_0x1c955d);}):_0x3ca879['forEach'](_0x176e7e=>{const _0x5c4058=_0x2940a2,_0x2cf7f2={};_0x2cf7f2['rzzwm']=_0x1eb7b3[_0x5c4058(0xc5)];const _0x42aa4e=_0x2cf7f2;if(_0x1eb7b3[_0x5c4058(0xb8)](_0x1eb7b3[_0x5c4058(0xd9)],_0x1eb7b3['fZQiN'])){_0x5c1c55={'server':constants['hubUrl'],'proxySettings':_0x3f365c['config']['proxySettings'],'platform':helper[_0x5c4058(0xcc)](_0x176e7e)};const _0x1e598c={'capability':_0x176e7e,..._0x5c1c55};_0x1e598c['file']=_0x2eceba,_0x1e598c[_0x5c4058(0xdf)]=_0x5bb395;const _0x5e3087={};_0x5e3087[_0x5c4058(0xc3)]=_0x1e598c,_0x1e0bcc=_0x5e3087,_0x454c47['push'](_0x1e0bcc);}else _0x14b580['config'][_0x5c4058(0xe0)][_0x5c4058(0xcf)]((_0x44e04d,_0x4846ea)=>{const _0x125dd1=_0x5c4058;if(_0x466f1c)_0x379c53['push'](_0x1d245d[_0x125dd1(0xc4)](_0x699b04['config'],_0x42aa4e[_0x125dd1(0xb3)],_0x4846ea));else _0x3a8809[_0x125dd1(0xd0)](_0x34d337[_0x125dd1(0xbe)](_0x377476[_0x125dd1(0xae)],_0x42aa4e[_0x125dd1(0xb3)],_0x4846ea));});});else{if(_0x1eb7b3[_0x2940a2(0xc9)](_0x1eb7b3[_0x2940a2(0xdd)],_0x1eb7b3[_0x2940a2(0xd6)])){if(_0x2c04c7)_0x2e6ee5[_0x2940a2(0xd0)](_0xb19991['modifyBrowserStackW3CCaps'](_0x57c3fe[_0x2940a2(0xae)],_0x1eb7b3[_0x2940a2(0xc5)],_0x29bc6e));else _0x1923ff[_0x2940a2(0xd0)](_0x3ab04b['modifyBrowserStackCaps'](_0x472a3f[_0x2940a2(0xae)],_0x1eb7b3['BnMeS'],_0x1ca20b));}else{let _0x5818dd;if(_0x151c11)_0x5818dd=helper['modifyBrowserStackW3CCaps'](_0x3f365c[_0x2940a2(0xae)],_0x1eb7b3['BnMeS'],0x0);else _0x5818dd=helper[_0x2940a2(0xbe)](_0x3f365c[_0x2940a2(0xae)],_0x1eb7b3[_0x2940a2(0xc5)],0x0);const _0x3551d9={};_0x3551d9[_0x2940a2(0xa7)]=constants['hubUrl'],_0x3551d9[_0x2940a2(0xd7)]=_0x3f365c[_0x2940a2(0xae)][_0x2940a2(0xd7)],_0x5c1c55=_0x3551d9;const _0x49bebb={'capability':_0x5818dd,..._0x5c1c55};_0x49bebb['file']=_0x2eceba,_0x49bebb['args']=_0x5bb395,_0x49bebb[_0x2940a2(0xdc)]=!![];const _0x4685fe={};_0x4685fe[_0x2940a2(0xc3)]=_0x49bebb,_0x1e0bcc=_0x4685fe,_0x454c47['push'](_0x1e0bcc);}}const _0x9d902d=_0x1eb7b3['ExaHB'](_0x3f365c[_0x2940a2(0xae)][_0x2940a2(0xe0)][_0x2940a2(0xaf)]||0x1,_0x3f365c[_0x2940a2(0xae)][_0x2940a2(0xde)]);_0x1eb7b3[_0x2940a2(0xcb)](parallelVanillaRun,_0x454c47,_0x9d902d)[_0x2940a2(0xa9)](async _0x4d2ea0=>{await helper['finalExecution'](_0x3f365c);});}module[a30_0x274103(0xad)]=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
+ const a31_0x5ad281=a31_0x739e;function a31_0x739e(_0x50e936,_0x1710e8){const _0x377f87=a31_0x377f();return a31_0x739e=function(_0x739ed7,_0x187eaa){_0x739ed7=_0x739ed7-0x16f;let _0x1dcf42=_0x377f87[_0x739ed7];return _0x1dcf42;},a31_0x739e(_0x50e936,_0x1710e8);}(function(_0x21b840,_0xf815c8){const _0x1d5aba=a31_0x739e,_0x4f9b54=_0x21b840();while(!![]){try{const _0x4d26df=-parseInt(_0x1d5aba(0x17c))/0x1+-parseInt(_0x1d5aba(0x1c8))/0x2+-parseInt(_0x1d5aba(0x1ee))/0x3*(-parseInt(_0x1d5aba(0x1c4))/0x4)+parseInt(_0x1d5aba(0x16f))/0x5*(parseInt(_0x1d5aba(0x17d))/0x6)+parseInt(_0x1d5aba(0x1e4))/0x7*(-parseInt(_0x1d5aba(0x1fd))/0x8)+parseInt(_0x1d5aba(0x1f1))/0x9+-parseInt(_0x1d5aba(0x1bf))/0xa;if(_0x4d26df===_0xf815c8)break;else _0x4f9b54['push'](_0x4f9b54['shift']());}catch(_0x25be6e){_0x4f9b54['push'](_0x4f9b54['shift']());}}}(a31_0x377f,0x539b8));const logger=require(a31_0x5ad281(0x1fb))[a31_0x5ad281(0x204)],helper=require(a31_0x5ad281(0x198)),Constants=require(a31_0x5ad281(0x212)),{isBrowserstackInfra}=require(a31_0x5ad281(0x209));function a31_0x377f(){const _0x15e89b=['hqZwz','../bin/mocha/test-observability/helper','Ghdzs','dUSjB','Celal','Error\x20occured\x20while\x20stopping\x20local\x20binary','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','ZdrJh','Local\x20binary\x20stopped','QBtYa','../bin/utils/constants','getUserName','setupKeepAlive','rTgVh','lazsM','aXhkE','15hccPcs','ZRYet','selenium-webdriver','localIdentifier','XXzjg','XHPSw','nAYMb','browserstackLocal','isUndefined','VXMLm','VRAph','NgBOz','FVQCQ','71446MqAojH','1119474PeToJG','SDKTestAttempted','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','MpdRD','BppFY','wastz','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','XRtQi','uncaughtException','YqwDD','readConfig','qghLw','getPackageVersion','startLocalBinarySync','kkkjx','BBmLo','ndwuM','QuaXu','gTduP','NBftA','qdYnS','HeZGz','stopLocalBinary','huqHB','SvRJJ','TMvUj','config','./helper','useW3C','PwgiW','NDXjD','unhandledRejection','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','jYwot','XqWxu','dwRIv','xNpFc','gcEma','GXUWb','EjaPW','generateLocalIdentifier','error','AFUlb','lWfMG','jgjGi','browserStackLocalOptions','./setKeepAlive','SIGTERM','CucDo','getAccessKey','AewYN','RzlSg','fireFunnelTestEvent','iLgSX','Locrk','kOSeo','GYiev','cfSdb','MfPAN','fBsZo','setupBrowserstackLocal','AJHco','ThkVu','seaBw','EvHoi','vNDua','6304420OVZbpA','TJpRJ','stopBrowserstackLocal','YwPPN','DCxhk','1112unGWAS','iHacy','debug','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','962118GXvIEh','OKOqE','NwHyA','ZzfuB','isRunning','warn','setProxySettings','toString','MtOiC','BROWSERSTACK_LOCAL','xqYzZ','TkmAJ','VBWwz','rCizC','constructor','dbxnb','RcKAp','gkeZK','framework','parallelsPerPlatform','ZESOB','JVYPF','handleExceptions','xOwdf','jADxm','uPbyS','getConfigPath','hFLys','1656921OezWhE','dbibY','SjSBm','platforms','sbkNW','KWRwY','nhgAy','handleBuildIdentifier','getLocalIdentifier','QntRO','7323SrHABr','SDKTestSuccessful','eUTQY','4713939feygDD','FRAMEWORK','VxvBO','jrzxx','setLogLevel','No\x20config\x20provided.','info','fQplc','message','uZfGi','./logger','VDDBU','8mmaeEz','lNRzw','HWkCd','env','UaQuW','eYNbe','aWFdL','winstonLogger','ExBth','lpyOa','userName\x20or\x20accessKey\x20is\x20not\x20defined'];a31_0x377f=function(){return _0x15e89b;};return a31_0x377f();}class BrowserStackSetup{constructor(_0x3acaa2,_0x4f4337){const _0x4da9d3=a31_0x5ad281,_0x377c3c={'ZdrJh':_0x4da9d3(0x207),'lpyOa':_0x4da9d3(0x183),'iLgSX':_0x4da9d3(0x17e),'rTgVh':'SDKTestSuccessful','xsuqh':_0x4da9d3(0x19c),'NwHyA':_0x4da9d3(0x185),'gkeZK':function(_0x48f8ba,_0xd62a06){return _0x48f8ba===_0xd62a06;},'UaQuW':function(_0x497e70,_0x20de8c){return _0x497e70(_0x20de8c);},'NgBOz':'./setKeepAlive','ZRYet':_0x4da9d3(0x19d),'VHmMH':_0x4da9d3(0x1f6),'gTduP':function(_0x24d10f){return _0x24d10f();},'MtOiC':function(_0x26774c,_0x4fa9db){return _0x26774c!==_0x4fa9db;},'cfSdb':_0x4da9d3(0x195),'qdYnS':'SbYpE','vHokU':'wIJhS','fQplc':_0x4da9d3(0x19e),'BBmLo':_0x4da9d3(0x1ea),'dUSjB':function(_0x367fab,_0x27cb98){return _0x367fab<_0x27cb98;},'sMyeu':_0x4da9d3(0x171),'nIgJh':_0x4da9d3(0x1ba),'MONol':_0x4da9d3(0x19b),'jQnlU':function(_0x22ec6f,_0x21021e){return _0x22ec6f>=_0x21021e;},'FVQCQ':_0x4da9d3(0x1c3),'GYiev':function(_0x46add5,_0x53ed91){return _0x46add5!==_0x53ed91;},'amQjm':_0x4da9d3(0x1a1),'RzlSg':_0x4da9d3(0x1a8),'hFLys':function(_0xc59704,_0xdb2d1c){return _0xc59704===_0xdb2d1c;},'fBsZo':_0x4da9d3(0x1a4),'ThkVu':'Gaujk','kkkjx':_0x4da9d3(0x17f),'eXOEJ':'UcQOs','QuaXu':function(_0xb6d265,_0x18fc48){return _0xb6d265===_0x18fc48;},'VBWwz':_0x4da9d3(0x1df),'QBtYa':function(_0x14c970,_0x32d18f){return _0x14c970===_0x32d18f;},'jADxm':_0x4da9d3(0x194),'aWFdL':'ZbFlw','NBftA':function(_0x165c18,_0x38ef7c){return _0x165c18!==_0x38ef7c;},'XHPSw':_0x4da9d3(0x188),'ZESOB':function(_0x297958,_0x1eb75d){return _0x297958===_0x1eb75d;},'VRAph':_0x4da9d3(0x173),'lazsM':_0x4da9d3(0x1fa),'TMvUj':_0x4da9d3(0x1bc),'eUTQY':'zqZwY','RrSqP':function(_0x2f528e,_0x2fa673){return _0x2f528e===_0x2fa673;},'iHacy':_0x4da9d3(0x1a9),'QntRO':function(_0x52cf9e,_0x34272a){return _0x52cf9e===_0x34272a;},'wastz':_0x4da9d3(0x1c2)};this[_0x4da9d3(0x176)]=null,this[_0x4da9d3(0x197)]=helper[_0x4da9d3(0x187)](helper[_0x4da9d3(0x1e2)](_0x3acaa2)),this[_0x4da9d3(0x1da)]=_0x4f4337;if(helper[_0x4da9d3(0x177)](this['config']))throw new Error(_0x377c3c['VHmMH']);if(this['config'][_0x4da9d3(0x1a6)])throw new Error(this[_0x4da9d3(0x197)][_0x4da9d3(0x1a6)]);this[_0x4da9d3(0x1de)](),helper[_0x4da9d3(0x1eb)](this[_0x4da9d3(0x197)]);if(!_0x377c3c[_0x4da9d3(0x18f)](isBrowserstackInfra)){if(_0x377c3c[_0x4da9d3(0x1d0)](_0x377c3c[_0x4da9d3(0x1b6)],_0x377c3c[_0x4da9d3(0x191)]))try{if(_0x377c3c[_0x4da9d3(0x1d0)](_0x377c3c['vHokU'],_0x377c3c[_0x4da9d3(0x1f8)]))process[_0x4da9d3(0x200)][_0x4da9d3(0x1f2)]=_0x4f4337,helper[_0x4da9d3(0x1b1)](_0x377c3c['iLgSX'],{},this[_0x4da9d3(0x197)],this[_0x4da9d3(0x1da)]);else throw new _0x10827e(_0x377c3c['ZdrJh']);}catch(_0x1d14ec){_0x377c3c[_0x4da9d3(0x1d0)](_0x377c3c[_0x4da9d3(0x18c)],_0x377c3c[_0x4da9d3(0x18c)])?this[_0x4da9d3(0x197)][_0x4da9d3(0x199)]=![]:logger['debug'](_0x4da9d3(0x20e)+_0x1d14ec);}else _0x53dfe6[_0x4da9d3(0x1f7)](_0x377c3c[_0x4da9d3(0x206)]);}if(!_0x377c3c['gTduP'](isBrowserstackInfra))return;_0x377c3c[_0x4da9d3(0x20b)](_0x377c3c[_0x4da9d3(0x201)](parseInt,helper['getPackageVersion'](_0x377c3c['sMyeu'])),0x3)&&(_0x377c3c['gkeZK'](_0x377c3c['nIgJh'],_0x377c3c['MONol'])?this[_0x4da9d3(0x197)][_0x4da9d3(0x199)]=!![]:this['config']['useW3C']=![]);_0x377c3c['jQnlU'](_0x377c3c[_0x4da9d3(0x201)](parseInt,helper[_0x4da9d3(0x189)](_0x377c3c['sMyeu'])),4.5)&&(_0x377c3c[_0x4da9d3(0x1d0)](_0x377c3c['FVQCQ'],_0x377c3c[_0x4da9d3(0x17b)])?this[_0x4da9d3(0x197)]['browserStackLocalOptions'][_0x4da9d3(0x172)]=_0x5f45d0[_0x4da9d3(0x1a5)]():this['config'][_0x4da9d3(0x199)]=!![]);(helper[_0x4da9d3(0x177)](this[_0x4da9d3(0x197)][_0x4da9d3(0x1e7)])||helper[_0x4da9d3(0x177)](this[_0x4da9d3(0x197)]['platforms']['length']))&&(_0x377c3c[_0x4da9d3(0x1b5)](_0x377c3c['amQjm'],_0x377c3c[_0x4da9d3(0x1b0)])?(helper[_0x4da9d3(0x177)](this[_0x4da9d3(0x197)]['parallelsPerPlatform'])?_0x377c3c[_0x4da9d3(0x1e3)](_0x377c3c['fBsZo'],_0x377c3c[_0x4da9d3(0x1b8)])?logger[_0x4da9d3(0x1f7)](_0x377c3c['ZRYet']):_0x18ed0e['debug'](_0x4da9d3(0x20e)+_0x1a4d41):_0x377c3c[_0x4da9d3(0x1d9)](_0x377c3c[_0x4da9d3(0x1bb)],_0x377c3c['ThkVu'])?logger[_0x4da9d3(0x1cd)](_0x377c3c[_0x4da9d3(0x18b)]):(_0x58a355[_0x4da9d3(0x200)][_0x4da9d3(0x1f2)]=_0x5dfd36['_'][0x0],_0x2e2157[_0x4da9d3(0x1b1)](_0x377c3c[_0x4da9d3(0x1b2)],{},this['config'],this['framework'])),this[_0x4da9d3(0x197)][_0x4da9d3(0x1e7)]=[]):_0x8d25c6[_0x4da9d3(0x1b1)](_0x377c3c[_0x4da9d3(0x215)],_0x599bbe,this[_0x4da9d3(0x197)],this[_0x4da9d3(0x1da)]));if(helper[_0x4da9d3(0x177)](this[_0x4da9d3(0x197)][_0x4da9d3(0x1db)])){if(_0x377c3c['hFLys'](_0x377c3c['eXOEJ'],_0x377c3c['eXOEJ'])){if(_0x377c3c[_0x4da9d3(0x1b5)](this['config'][_0x4da9d3(0x1e7)]['length'],0x0)){if(_0x377c3c[_0x4da9d3(0x18e)](_0x377c3c['VBWwz'],_0x377c3c[_0x4da9d3(0x1d4)]))logger[_0x4da9d3(0x1f7)](_0x377c3c[_0x4da9d3(0x206)]);else{_0x5bb2d3[_0x4da9d3(0x1c6)](_0x2de78c);throw new _0xd4c654(_0xd219b3['toString']());}}this['config'][_0x4da9d3(0x1db)]=0x1;}else{const _0x201abc=_0x1bc5e4=>{const _0x3af7b7=_0x4da9d3;_0x542dbb[_0x3af7b7(0x1a6)](_0x1bc5e4[_0x3af7b7(0x1f9)]),_0x386678[_0x3af7b7(0x1c6)](_0x1bc5e4);const _0x4815ee={};_0x4815ee['error']=_0x1bc5e4[_0x3af7b7(0x1f9)];const _0x3f574d=_0x4815ee;try{_0x505715[_0x3af7b7(0x1b1)](_0x377c3c['rTgVh'],_0x3f574d,this[_0x3af7b7(0x197)],this[_0x3af7b7(0x1da)]);}catch(_0x2b6a77){_0x4f4a82[_0x3af7b7(0x1c6)](_0x3af7b7(0x1c7)+_0x2b6a77);}};_0xa77dca['on'](_0x377c3c['xsuqh'],_0x201abc),_0x2f618f['on'](_0x377c3c[_0x4da9d3(0x1ca)],_0x201abc);}}!this[_0x4da9d3(0x197)][_0x4da9d3(0x1aa)]&&(this[_0x4da9d3(0x197)][_0x4da9d3(0x1aa)]=this[_0x4da9d3(0x197)]['localOptions']||{});if(helper[_0x4da9d3(0x177)](helper[_0x4da9d3(0x213)](this[_0x4da9d3(0x197)]))||helper['isUndefined'](helper[_0x4da9d3(0x1ae)](this[_0x4da9d3(0x197)]))){if(_0x377c3c[_0x4da9d3(0x211)](_0x377c3c[_0x4da9d3(0x1e0)],_0x377c3c[_0x4da9d3(0x203)]))!_0x3ca4bd[_0x4da9d3(0x177)](this['config'][_0x4da9d3(0x1aa)])&&_0x377c3c[_0x4da9d3(0x1d9)](this[_0x4da9d3(0x197)][_0x4da9d3(0x1aa)]['constructor'],_0x5782a1)?this[_0x4da9d3(0x197)][_0x4da9d3(0x1aa)][_0x4da9d3(0x172)]=_0x1efe55[_0x4da9d3(0x1a5)]():this[_0x4da9d3(0x197)]['browserStackLocalOptions']={'localIdentifier':_0x4f7fb2[_0x4da9d3(0x1a5)]()};else throw new Error(_0x377c3c[_0x4da9d3(0x20f)]);}if(helper['getLocalConfig'](this[_0x4da9d3(0x197)])&&helper[_0x4da9d3(0x177)](helper[_0x4da9d3(0x1ec)](this[_0x4da9d3(0x197)]))){if(_0x377c3c[_0x4da9d3(0x190)](_0x377c3c[_0x4da9d3(0x174)],_0x377c3c[_0x4da9d3(0x174)]))_0x1a0a58[_0x4da9d3(0x200)][_0x4da9d3(0x1f2)]=_0x5e4fb0,_0xf1ef7a[_0x4da9d3(0x1b1)](_0x377c3c[_0x4da9d3(0x1b2)],{},this['config'],this[_0x4da9d3(0x1da)]);else{if(!helper[_0x4da9d3(0x177)](this['config'][_0x4da9d3(0x1aa)])&&_0x377c3c[_0x4da9d3(0x1dc)](this[_0x4da9d3(0x197)][_0x4da9d3(0x1aa)][_0x4da9d3(0x1d6)],Object))_0x377c3c[_0x4da9d3(0x190)](_0x377c3c[_0x4da9d3(0x179)],_0x377c3c[_0x4da9d3(0x216)])?this['config'][_0x4da9d3(0x1aa)][_0x4da9d3(0x172)]=helper[_0x4da9d3(0x1a5)]():_0x4c81e8[_0x4da9d3(0x1c6)](_0x4da9d3(0x1c7)+_0x4a9fda);else{if(_0x377c3c[_0x4da9d3(0x211)](_0x377c3c[_0x4da9d3(0x196)],_0x377c3c[_0x4da9d3(0x1f0)]))try{_0x555492[_0x4da9d3(0x200)]['FRAMEWORK']=_0x23644e,_0x51234b['fireFunnelTestEvent'](_0x377c3c[_0x4da9d3(0x1b2)],{},this[_0x4da9d3(0x197)],this[_0x4da9d3(0x1da)]);}catch(_0x271d60){_0x414312[_0x4da9d3(0x1c6)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x271d60);}else this[_0x4da9d3(0x197)]['browserStackLocalOptions']={'localIdentifier':helper[_0x4da9d3(0x1a5)]()};}}}helper[_0x4da9d3(0x1f5)](this[_0x4da9d3(0x197)]),helper[_0x4da9d3(0x1ce)](this['config']);try{_0x377c3c['RrSqP'](_0x377c3c[_0x4da9d3(0x1c5)],_0x377c3c[_0x4da9d3(0x1c5)])?(process[_0x4da9d3(0x200)][_0x4da9d3(0x1f2)]=_0x3acaa2['_'][0x0],helper[_0x4da9d3(0x1b1)](_0x377c3c[_0x4da9d3(0x1b2)],{},this[_0x4da9d3(0x197)],this['framework'])):_0x377c3c['UaQuW'](_0xed5032,_0x377c3c[_0x4da9d3(0x17a)])();}catch(_0x1921dc){_0x377c3c[_0x4da9d3(0x1ed)](_0x377c3c['wastz'],_0x377c3c[_0x4da9d3(0x182)])?logger[_0x4da9d3(0x1c6)](_0x4da9d3(0x20e)+_0x1921dc):_0x599aa8[_0x4da9d3(0x1f7)](_0x377c3c[_0x4da9d3(0x170)]);}this['setupBrowserstackLocal'](),this[_0x4da9d3(0x214)]();}[a31_0x5ad281(0x1b9)](){const _0xd658fc=a31_0x5ad281,_0x223728={};_0x223728[_0xd658fc(0x1d7)]=_0xd658fc(0x19d),_0x223728[_0xd658fc(0x178)]=_0xd658fc(0x17f),_0x223728['xqYzZ']=function(_0x473cc6,_0x1d0d19){return _0x473cc6===_0x1d0d19;},_0x223728['lNRzw']=_0xd658fc(0x1cb),_0x223728[_0xd658fc(0x1b4)]=_0xd658fc(0x1c9),_0x223728[_0xd658fc(0x1f4)]=function(_0xf32df9,_0x545492){return _0xf32df9==_0x545492;},_0x223728[_0xd658fc(0x202)]=function(_0x395cd0,_0x176cc1){return _0x395cd0!==_0x176cc1;},_0x223728['XqWxu']=_0xd658fc(0x183),_0x223728[_0xd658fc(0x1e5)]=_0xd658fc(0x1ef),_0x223728['ExBth']=function(_0x169c3f,_0x5213f1){return _0x169c3f==_0x5213f1;},_0x223728[_0xd658fc(0x1e1)]='zwycB',_0x223728[_0xd658fc(0x208)]=_0xd658fc(0x20c),_0x223728[_0xd658fc(0x1c0)]=_0xd658fc(0x1b3),_0x223728[_0xd658fc(0x19a)]='Local\x20binary\x20started\x20successfully',_0x223728[_0xd658fc(0x175)]='beforeExit',_0x223728[_0xd658fc(0x192)]='SIGINT',_0x223728[_0xd658fc(0x181)]=_0xd658fc(0x1ac),_0x223728[_0xd658fc(0x1ff)]=function(_0x5a5337,_0x9ae68c){return _0x5a5337===_0x9ae68c;},_0x223728['XRtQi']=_0xd658fc(0x1bd),_0x223728['GXUWb']=_0xd658fc(0x1f3);const _0x3a794a=_0x223728;if((_0x3a794a[_0xd658fc(0x205)](this['config'][_0xd658fc(0x176)],!![])||process[_0xd658fc(0x200)][_0xd658fc(0x1d1)])&&(!this[_0xd658fc(0x176)]||!this[_0xd658fc(0x176)]['isRunning']())){if(_0x3a794a['xqYzZ'](_0x3a794a['uPbyS'],_0x3a794a['uPbyS']))try{if(_0x3a794a[_0xd658fc(0x1d2)](_0x3a794a[_0xd658fc(0x208)],_0x3a794a[_0xd658fc(0x1c0)]))_0x36fc78[_0xd658fc(0x177)](this['config']['parallelsPerPlatform'])?_0x665f25[_0xd658fc(0x1f7)](_0x3a794a[_0xd658fc(0x1d7)]):_0x5a10c4['warn'](_0x3a794a[_0xd658fc(0x178)]),this[_0xd658fc(0x197)][_0xd658fc(0x1e7)]=[];else{this[_0xd658fc(0x176)]=helper[_0xd658fc(0x18a)](this[_0xd658fc(0x197)]),logger['info'](_0x3a794a[_0xd658fc(0x19a)]);let _0x50998b=0x0;const _0xe02e81=async()=>{const _0x35ac0d=_0xd658fc;_0x3a794a[_0x35ac0d(0x1d2)](_0x3a794a[_0x35ac0d(0x1fe)],_0x3a794a[_0x35ac0d(0x1b4)])?_0x2cba6a['debug'](_0x35ac0d(0x20e)+_0x5365f6):(_0x50998b++,_0x3a794a['jrzxx'](_0x50998b,0x1)&&await this[_0x35ac0d(0x1c1)]());};process['on'](_0x3a794a[_0xd658fc(0x175)],_0xe02e81),process['on'](_0x3a794a[_0xd658fc(0x192)],_0xe02e81),process['on'](_0x3a794a[_0xd658fc(0x181)],_0xe02e81);}}catch(_0x57663d){if(_0x3a794a[_0xd658fc(0x1ff)](_0x3a794a[_0xd658fc(0x184)],_0x3a794a[_0xd658fc(0x1a3)]))_0x3a794a[_0xd658fc(0x202)](this[_0xd658fc(0x197)][_0xd658fc(0x1e7)]['length'],0x0)&&_0x7178c5['info'](_0x3a794a[_0xd658fc(0x19f)]),this['config'][_0xd658fc(0x1db)]=0x1;else{logger[_0xd658fc(0x1c6)](_0x57663d);throw new Error(_0x57663d[_0xd658fc(0x1cf)]());}}else{_0x58d28a[_0xd658fc(0x1a6)](_0x409f31[_0xd658fc(0x1f9)]),_0x5e5662[_0xd658fc(0x1c6)](_0x2caba6);const _0x48b6c2={};_0x48b6c2[_0xd658fc(0x1a6)]=_0x16e076[_0xd658fc(0x1f9)];const _0x5479e6=_0x48b6c2;try{_0x319f3c[_0xd658fc(0x1b1)](_0x3a794a['dbibY'],_0x5479e6,this['config'],this[_0xd658fc(0x1da)]);}catch(_0x63a540){_0x235554['debug'](_0xd658fc(0x1c7)+_0x63a540);}}}}async[a31_0x5ad281(0x1c1)](){const _0x5ee976=a31_0x5ad281,_0x56ab64={};_0x56ab64[_0x5ee976(0x18d)]=_0x5ee976(0x17f),_0x56ab64[_0x5ee976(0x1e8)]=_0x5ee976(0x20d),_0x56ab64['vNDua']=function(_0x16bee2,_0x2c182f){return _0x16bee2===_0x2c182f;},_0x56ab64[_0x5ee976(0x217)]=_0x5ee976(0x1e9),_0x56ab64[_0x5ee976(0x20a)]=function(_0x2dfae7,_0x216560){return _0x2dfae7!==_0x216560;},_0x56ab64[_0x5ee976(0x1fc)]=_0x5ee976(0x1d5),_0x56ab64[_0x5ee976(0x1d3)]=_0x5ee976(0x180),_0x56ab64[_0x5ee976(0x1a2)]=_0x5ee976(0x210),_0x56ab64['YqwDD']=_0x5ee976(0x1ad),_0x56ab64[_0x5ee976(0x1b7)]=_0x5ee976(0x1dd);const _0x28ed1d=_0x56ab64;if(this[_0x5ee976(0x176)]&&this[_0x5ee976(0x176)][_0x5ee976(0x1cc)]()){if(_0x28ed1d[_0x5ee976(0x1be)](_0x28ed1d[_0x5ee976(0x217)],_0x28ed1d['aXhkE']))try{_0x28ed1d[_0x5ee976(0x20a)](_0x28ed1d['VDDBU'],_0x28ed1d[_0x5ee976(0x1d3)])?(await helper[_0x5ee976(0x193)](this[_0x5ee976(0x176)]),logger[_0x5ee976(0x1f7)](_0x28ed1d[_0x5ee976(0x1a2)])):_0x69413f[_0x5ee976(0x1cd)](_0x28ed1d['ndwuM']);}catch(_0x42f196){_0x28ed1d['vNDua'](_0x28ed1d[_0x5ee976(0x186)],_0x28ed1d[_0x5ee976(0x1b7)])?_0x12ea20[_0x5ee976(0x1a6)](_0x28ed1d[_0x5ee976(0x1e8)],_0x48c568[_0x5ee976(0x1f9)]):logger['error'](_0x28ed1d[_0x5ee976(0x1e8)],_0x42f196[_0x5ee976(0x1f9)]);}else this[_0x5ee976(0x197)][_0x5ee976(0x1aa)]={'localIdentifier':_0x24bb94[_0x5ee976(0x1a5)]()};}}['setupKeepAlive'](){const _0x3cacbc=a31_0x5ad281,_0x30f70a={'RcKAp':function(_0x298431,_0x1aa655){return _0x298431(_0x1aa655);},'AFUlb':_0x3cacbc(0x1ab)};_0x30f70a[_0x3cacbc(0x1d8)](require,_0x30f70a[_0x3cacbc(0x1a7)])();}['handleExceptions'](){const _0x245011=a31_0x5ad281,_0x568ef7={};_0x568ef7[_0x245011(0x1a0)]=_0x245011(0x1ef),_0x568ef7[_0x245011(0x1af)]=_0x245011(0x19c),_0x568ef7[_0x245011(0x1e6)]=_0x245011(0x185);const _0x548f52=_0x568ef7,_0x5163cd=_0x1792cf=>{const _0x5b9458=_0x245011;logger['error'](_0x1792cf['message']),logger[_0x5b9458(0x1c6)](_0x1792cf);const _0x4a3425={};_0x4a3425[_0x5b9458(0x1a6)]=_0x1792cf[_0x5b9458(0x1f9)];const _0x5d8c28=_0x4a3425;try{helper[_0x5b9458(0x1b1)](_0x548f52['dwRIv'],_0x5d8c28,this[_0x5b9458(0x197)],this['framework']);}catch(_0x24d368){logger[_0x5b9458(0x1c6)](_0x5b9458(0x1c7)+_0x24d368);}};process['on'](_0x548f52['AewYN'],_0x5163cd),process['on'](_0x548f52[_0x245011(0x1e6)],_0x5163cd);}}exports['default']=BrowserStackSetup;