browserstack-node-sdk 1.3.0 → 1.3.2

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_0x134ef5=a29_0x2765;(function(_0x396b42,_0x526141){const _0x43c743=a29_0x2765,_0x32542b=_0x396b42();while(!![]){try{const _0x23e1c9=-parseInt(_0x43c743(0xbb))/0x1*(parseInt(_0x43c743(0xaa))/0x2)+-parseInt(_0x43c743(0xb4))/0x3+-parseInt(_0x43c743(0xb9))/0x4+-parseInt(_0x43c743(0xa9))/0x5+parseInt(_0x43c743(0xc6))/0x6*(-parseInt(_0x43c743(0xa5))/0x7)+-parseInt(_0x43c743(0xba))/0x8*(parseInt(_0x43c743(0xad))/0x9)+parseInt(_0x43c743(0xbd))/0xa;if(_0x23e1c9===_0x526141)break;else _0x32542b['push'](_0x32542b['shift']());}catch(_0x59a423){_0x32542b['push'](_0x32542b['shift']());}}}(a29_0x3791,0x2d01e));const Transport=require(a29_0x134ef5(0xc9)),{consoleHolder}=require('../mocha/test-observability/constants'),a29_0x586537={};a29_0x586537[a29_0x134ef5(0xa6)]=a29_0x134ef5(0xa6),a29_0x586537[a29_0x134ef5(0xc1)]=a29_0x134ef5(0xc1),a29_0x586537[a29_0x134ef5(0xb7)]=a29_0x134ef5(0xb7),a29_0x586537[a29_0x134ef5(0xb2)]=a29_0x134ef5(0xb2),a29_0x586537['WARN']=a29_0x134ef5(0xcc);function a29_0x3791(){const _0x52cc8d=['GRRzj','pid','DEBUG','logged','1063776VjHbmI','24YPmHRY','1EhkPAv','mmMSA','9146460oemaED','rpAqq','nLuHY','toUpperCase','ERROR','OofMy','fMAKV','yTBKQ','exports','1890wqfGEW','rJQoV','AHeKL','winston-transport','message','OxpnW','WARN','iQvNJ','toISOString','trGrK','2821kbJovk','INFO','AljNp','bs:addLog:','995190SrRsSu','91092LIOmaI','emit','jArix','127737uOEsuH','info','trace','toLowerCase','log','TRACE','logToTestOps','150732YZVPYl'];a29_0x3791=function(){return _0x52cc8d;};return a29_0x3791();}const LOG_LEVELS=a29_0x586537;class logReportingAPI extends Transport{constructor(_0x3d46c7){super(_0x3d46c7);}[a29_0x134ef5(0xb1)](_0x3a75eb,_0x44f04e){const _0x53a065=a29_0x134ef5,_0x487dc0={'AljNp':function(_0x4ea4ef,_0x209d5b){return _0x4ea4ef===_0x209d5b;},'OxpnW':_0x53a065(0xa4),'yuTFz':_0x53a065(0xbe),'rJQoV':_0x53a065(0xb8),'OofMy':function(_0x23ade3,_0x1f0431){return _0x23ade3(_0x1f0431);},'iQvNJ':function(_0x46daac,_0x5cc61c){return _0x46daac===_0x5cc61c;},'zNiQS':'object','jArix':function(_0x2452f4,_0x4bfafd){return _0x2452f4===_0x4bfafd;},'GVNEK':'qVdZt','fMAKV':_0x53a065(0xbc),'nLuHY':function(_0x57c5cc,_0x4ef482){return _0x57c5cc===_0x4ef482;},'CMSXb':'YJXQw','yTBKQ':_0x53a065(0xb5),'ZnfuV':function(_0x14c396){return _0x14c396();}};_0x487dc0[_0x53a065(0xc2)](setImmediate,()=>{const _0x58ed37=_0x53a065;_0x487dc0[_0x58ed37(0xa7)](_0x487dc0[_0x58ed37(0xcb)],_0x487dc0['yuTFz'])?this['logToTestOps'](_0x277335[_0x58ed37(0xc1)],_0x537ff6):this['emit'](_0x487dc0[_0x58ed37(0xc7)],_0x3a75eb);});_0x487dc0[_0x53a065(0xcd)](typeof _0x3a75eb,_0x487dc0['zNiQS'])?_0x487dc0[_0x53a065(0xac)](_0x487dc0['GVNEK'],_0x487dc0[_0x53a065(0xc3)])?this[_0x53a065(0xb3)](_0x1af37b['level']||_0x1d8675[_0x53a065(0xa6)],_0x2df36c[_0x53a065(0xca)],![]):this[_0x53a065(0xb3)](_0x3a75eb['level']||LOG_LEVELS[_0x53a065(0xa6)],_0x3a75eb['message'],![]):_0x487dc0[_0x53a065(0xbf)](_0x487dc0['CMSXb'],_0x487dc0[_0x53a065(0xc4)])?this['logToTestOps'](_0x469f22['WARN'],_0x364e7f):this['logToTestOps'](LOG_LEVELS[_0x53a065(0xa6)],_0x3a75eb);if(_0x44f04e)_0x487dc0['ZnfuV'](_0x44f04e);}[a29_0x134ef5(0xb3)]=(_0x288156=LOG_LEVELS[a29_0x134ef5(0xa6)],_0x425771='',_0x5dc612=!![])=>{const _0x527abe=a29_0x134ef5,_0x32f634={};_0x32f634[_0x527abe(0xc8)]='TEST_LOG';const _0xc047ba=_0x32f634;if(_0x5dc612)consoleHolder[_0x288156[_0x527abe(0xb0)]()](_0x425771);process[_0x527abe(0xab)](_0x527abe(0xa8)+process[_0x527abe(0xb6)],{'timestamp':new Date()[_0x527abe(0xce)](),'level':_0x288156[_0x527abe(0xc0)](),'message':_0x425771,'kind':_0xc047ba[_0x527abe(0xc8)],'http_response':{}});};[a29_0x134ef5(0xaf)]=(_0x2e8cdb,_0x248771)=>{const _0x173c0c=a29_0x134ef5;this[_0x173c0c(0xb3)](LOG_LEVELS['TRACE'],_0x2e8cdb);};['debug']=(_0x4bf1c5,_0xf0417e)=>{const _0x1f160d=a29_0x134ef5;this[_0x1f160d(0xb3)](LOG_LEVELS[_0x1f160d(0xb7)],_0x4bf1c5);};[a29_0x134ef5(0xae)]=(_0x3b2ef8,_0x62681c)=>{const _0x1fcf04=a29_0x134ef5;this['logToTestOps'](LOG_LEVELS[_0x1fcf04(0xa6)],_0x3b2ef8);};['warn']=(_0x1c6126,_0x56891f)=>{const _0x62f8ec=a29_0x134ef5;this[_0x62f8ec(0xb3)](LOG_LEVELS['WARN'],_0x1c6126);};['error']=(_0x5d54bf,_0x392351)=>{const _0x13a7b6=a29_0x134ef5;this[_0x13a7b6(0xb3)](LOG_LEVELS[_0x13a7b6(0xc1)],_0x5d54bf);};}function a29_0x2765(_0x2d0694,_0x1d5e11){const _0x3791e3=a29_0x3791();return a29_0x2765=function(_0x2765a7,_0x17671d){_0x2765a7=_0x2765a7-0xa4;let _0x5a983b=_0x3791e3[_0x2765a7];return _0x5a983b;},a29_0x2765(_0x2d0694,_0x1d5e11);};module[a29_0x134ef5(0xc5)]=logReportingAPI;
1
+ const a29_0x15f117=a29_0x27c6;(function(_0x45a70f,_0x500583){const _0x664cb3=a29_0x27c6,_0xa3e9a=_0x45a70f();while(!![]){try{const _0x2ebe62=-parseInt(_0x664cb3(0xef))/0x1+parseInt(_0x664cb3(0xf1))/0x2+parseInt(_0x664cb3(0xf9))/0x3+-parseInt(_0x664cb3(0xe7))/0x4*(-parseInt(_0x664cb3(0xdb))/0x5)+-parseInt(_0x664cb3(0xe4))/0x6*(parseInt(_0x664cb3(0xf2))/0x7)+-parseInt(_0x664cb3(0xe6))/0x8+-parseInt(_0x664cb3(0xfe))/0x9*(parseInt(_0x664cb3(0xec))/0xa);if(_0x2ebe62===_0x500583)break;else _0xa3e9a['push'](_0xa3e9a['shift']());}catch(_0x24e82c){_0xa3e9a['push'](_0xa3e9a['shift']());}}}(a29_0xa53d,0xe9cea));const Transport=require(a29_0x15f117(0xeb)),{consoleHolder}=require(a29_0x15f117(0xf0)),a29_0x3adcce={};function a29_0x27c6(_0x3abc4a,_0x4a62bf){const _0xa53d3a=a29_0xa53d();return a29_0x27c6=function(_0x27c6ab,_0x3dfea4){_0x27c6ab=_0x27c6ab-0xd5;let _0x3dfb5b=_0xa53d3a[_0x27c6ab];return _0x3dfb5b;},a29_0x27c6(_0x3abc4a,_0x4a62bf);}a29_0x3adcce[a29_0x15f117(0xde)]='INFO',a29_0x3adcce[a29_0x15f117(0xdf)]=a29_0x15f117(0xdf),a29_0x3adcce['DEBUG']=a29_0x15f117(0x100),a29_0x3adcce['TRACE']=a29_0x15f117(0xf5),a29_0x3adcce[a29_0x15f117(0xe5)]='WARN';const LOG_LEVELS=a29_0x3adcce;function a29_0xa53d(){const _0x212437=['vuLZV','info','pIpHk','object','WoSaq','5vVjAJW','aCCUr','bs:addLog:','INFO','ERROR','SvSbi','emit','TEST_LOG','xIRqY','2719536iRvRQr','WARN','127376vLJZoh','2226784UUIhYC','warn','message','kAAcf','winston-transport','2225220itDvpf','bhOEh','HqqHi','340133oRrvzX','../mocha/test-observability/constants','3408210QjhWTN','14tQVtgy','pid','log','TRACE','trace','toUpperCase','iRKbf','545886QjISYI','sXfDA','Hcpfy','logToTestOps','nKCAr','9sVOotc','debug','DEBUG','error','toISOString','level'];a29_0xa53d=function(){return _0x212437;};return a29_0xa53d();}class logReportingAPI extends Transport{constructor(_0x4c0940){super(_0x4c0940);}[a29_0x15f117(0xf4)](_0x322e6d,_0x2bed46){const _0x50c062=a29_0x15f117,_0x14248b={'SvSbi':function(_0x403da0,_0x347d5a){return _0x403da0===_0x347d5a;},'HqqHi':_0x50c062(0xfa),'pIpHk':'logged','vuLZV':function(_0xf2b35e,_0xd1eaa3){return _0xf2b35e(_0xd1eaa3);},'nKCAr':function(_0x34f071,_0x1f907b){return _0x34f071===_0x1f907b;},'bhOEh':_0x50c062(0xd9),'iRKbf':function(_0x373da3,_0x2bf9ab){return _0x373da3!==_0x2bf9ab;},'ZlyFi':_0x50c062(0xe3),'FqgRf':_0x50c062(0xea),'Hcpfy':'TfUVS','aCCUr':function(_0x23c421){return _0x23c421();}};_0x14248b[_0x50c062(0xd6)](setImmediate,()=>{const _0x210035=_0x50c062;_0x14248b[_0x210035(0xe0)](_0x14248b[_0x210035(0xee)],_0x14248b['HqqHi'])?this[_0x210035(0xe1)](_0x14248b[_0x210035(0xd8)],_0x322e6d):this[_0x210035(0xfc)](_0x7f9f6b[_0x210035(0xde)],_0x1dccd4);});_0x14248b[_0x50c062(0xfd)](typeof _0x322e6d,_0x14248b[_0x50c062(0xed)])?_0x14248b[_0x50c062(0xf8)](_0x14248b['ZlyFi'],_0x14248b['FqgRf'])?this['logToTestOps'](_0x322e6d[_0x50c062(0xd5)]||LOG_LEVELS[_0x50c062(0xde)],_0x322e6d[_0x50c062(0xe9)],![]):this[_0x50c062(0xfc)](_0x3d9d9b[_0x50c062(0xde)],_0x61e268):_0x14248b[_0x50c062(0xe0)](_0x14248b['Hcpfy'],_0x14248b[_0x50c062(0xfb)])?this[_0x50c062(0xfc)](LOG_LEVELS[_0x50c062(0xde)],_0x322e6d):this[_0x50c062(0xfc)](_0x5c0af6[_0x50c062(0xf5)],_0x5d06c6);if(_0x2bed46)_0x14248b[_0x50c062(0xdc)](_0x2bed46);}[a29_0x15f117(0xfc)]=(_0x41835d=LOG_LEVELS[a29_0x15f117(0xde)],_0x412b00='',_0x544590=!![])=>{const _0x298d19=a29_0x15f117,_0x5dc479={};_0x5dc479[_0x298d19(0xda)]=_0x298d19(0xe2);const _0x30ee48=_0x5dc479;if(_0x544590)consoleHolder[_0x41835d['toLowerCase']()](_0x412b00);process[_0x298d19(0xe1)](_0x298d19(0xdd)+process[_0x298d19(0xf3)],{'timestamp':new Date()[_0x298d19(0x102)](),'level':_0x41835d[_0x298d19(0xf7)](),'message':_0x412b00,'kind':_0x30ee48[_0x298d19(0xda)],'http_response':{}});};[a29_0x15f117(0xf6)]=(_0x53fee1,_0x339225)=>{this['logToTestOps'](LOG_LEVELS['TRACE'],_0x53fee1);};[a29_0x15f117(0xff)]=(_0x370844,_0x171ef1)=>{const _0x163d68=a29_0x15f117;this[_0x163d68(0xfc)](LOG_LEVELS[_0x163d68(0x100)],_0x370844);};[a29_0x15f117(0xd7)]=(_0x8af545,_0x4f6ab5)=>{const _0xb546d7=a29_0x15f117;this[_0xb546d7(0xfc)](LOG_LEVELS['INFO'],_0x8af545);};[a29_0x15f117(0xe8)]=(_0x27d3ea,_0x206306)=>{const _0xd27432=a29_0x15f117;this[_0xd27432(0xfc)](LOG_LEVELS[_0xd27432(0xe5)],_0x27d3ea);};[a29_0x15f117(0x101)]=(_0x14998f,_0x3e649a)=>{const _0x11746f=a29_0x15f117;this[_0x11746f(0xfc)](LOG_LEVELS[_0x11746f(0xdf)],_0x14998f);};};module['exports']=logReportingAPI;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a30_0x4876e7=a30_0x1682;(function(_0x5dd296,_0xb4fe8){const _0x3c29a7=a30_0x1682,_0x2fb7e7=_0x5dd296();while(!![]){try{const _0x43d5f2=parseInt(_0x3c29a7(0xa6))/0x1*(-parseInt(_0x3c29a7(0x9f))/0x2)+-parseInt(_0x3c29a7(0x7c))/0x3+parseInt(_0x3c29a7(0x96))/0x4*(-parseInt(_0x3c29a7(0xa3))/0x5)+parseInt(_0x3c29a7(0x92))/0x6+-parseInt(_0x3c29a7(0x91))/0x7*(-parseInt(_0x3c29a7(0x9c))/0x8)+-parseInt(_0x3c29a7(0xac))/0x9*(-parseInt(_0x3c29a7(0xb0))/0xa)+-parseInt(_0x3c29a7(0xa8))/0xb*(-parseInt(_0x3c29a7(0xad))/0xc);if(_0x43d5f2===_0xb4fe8)break;else _0x2fb7e7['push'](_0x2fb7e7['shift']());}catch(_0x334df5){_0x2fb7e7['push'](_0x2fb7e7['shift']());}}}(a30_0x181f,0x87872));const fs=require('fs'),{default:BrowserStackSetup}=require(a30_0x4876e7(0xa4)),helper=require(a30_0x4876e7(0xb3)),constants=require(a30_0x4876e7(0x93)),{parallelVanillaRun}=require(a30_0x4876e7(0xb5));function a30_0x1682(_0x555f9e,_0x3f784e){const _0x181fe8=a30_0x181f();return a30_0x1682=function(_0x1682b3,_0x305594){_0x1682b3=_0x1682b3-0x74;let _0x2759aa=_0x181fe8[_0x1682b3];return _0x2759aa;},a30_0x1682(_0x555f9e,_0x3f784e);}async function run(_0x5d654e){const _0x3fecd8=a30_0x4876e7,_0x3f6fba={'XwoUF':_0x3fecd8(0x8b),'PvQXb':function(_0x2cb5a9,_0x52ae4e){return _0x2cb5a9!==_0x52ae4e;},'yYzGD':_0x3fecd8(0x90),'kYKXR':function(_0x20b75d,_0xaf426e){return _0x20b75d!==_0xaf426e;},'EprZN':_0x3fecd8(0xa5),'cNCnV':'XxKZh','AYEUo':function(_0x27e222,_0x5a0315){return _0x27e222(_0x5a0315);},'yPqZD':_0x3fecd8(0xa2),'pgZeh':_0x3fecd8(0x87),'nocNy':function(_0x4c33f2,_0x4cfb53){return _0x4c33f2>_0x4cfb53;},'AVFaB':function(_0x429043,_0x8a8384){return _0x429043===_0x8a8384;},'sfAHt':_0x3fecd8(0x9a),'dUZon':_0x3fecd8(0x9d),'EOGEp':function(_0x377ccb,_0x31f032){return _0x377ccb>_0x31f032;},'DbCRo':function(_0x854b2b,_0x1f5bdb){return _0x854b2b!==_0x1f5bdb;},'rJLsH':_0x3fecd8(0xa0),'isnLp':_0x3fecd8(0x8f),'hriLI':function(_0x388543,_0x3a1381){return _0x388543*_0x3a1381;},'KJtvs':function(_0x5d5253,_0x69180,_0x4d9e1b){return _0x5d5253(_0x69180,_0x4d9e1b);}},_0x503cd3=new BrowserStackSetup();let _0x5040b7=[];if(helper[_0x3fecd8(0x8e)](_0x5d654e['_'][0x1]))throw _0x3f6fba['AYEUo'](Error,_0x3f6fba[_0x3fecd8(0x89)]);const _0x29c5a8=path[_0x3fecd8(0x9b)](process[_0x3fecd8(0xb2)](),_0x5d654e['_'][0x1]);if(!fs[_0x3fecd8(0x80)](_0x29c5a8))throw _0x3f6fba[_0x3fecd8(0xaa)](Error,_0x3fecd8(0x8c)+_0x5d654e['_'][0x1]+_0x3fecd8(0xab));if(!_0x503cd3['config'])throw _0x3f6fba[_0x3fecd8(0xaa)](Error,_0x3f6fba[_0x3fecd8(0x9e)]);let _0x1ee4a0=helper[_0x3fecd8(0xaf)](_0x503cd3['config']);if(_0x503cd3['config'][_0x3fecd8(0x8a)]&&_0x3f6fba[_0x3fecd8(0x77)](_0x503cd3['config'][_0x3fecd8(0x8a)][_0x3fecd8(0xb4)],0x0)){if(_0x3f6fba[_0x3fecd8(0x7b)](_0x3f6fba[_0x3fecd8(0x81)],_0x3f6fba['dUZon'])){const _0x83e8cc={};_0x83e8cc[_0x3fecd8(0xa1)]=_0x3f6fba['XwoUF'];const _0xcabe78=_0x83e8cc;_0x47bc82[_0x3fecd8(0x83)][_0x3fecd8(0x8a)][_0x3fecd8(0x76)]((_0x2442be,_0xb26b2b)=>{const _0x58cd26=_0x3fecd8;if(_0x42115f)_0x1474fe['push'](_0x23cc8b[_0x58cd26(0x7a)](_0x4214df[_0x58cd26(0x83)],_0xcabe78[_0x58cd26(0xa1)],_0xb26b2b));else _0x445977[_0x58cd26(0x85)](_0x48384c[_0x58cd26(0x94)](_0x1b2f57['config'],_0xcabe78[_0x58cd26(0xa1)],_0xb26b2b));});}else _0x503cd3['config'][_0x3fecd8(0x8a)]['forEach']((_0x277810,_0x542c61)=>{const _0x3fa024=_0x3fecd8;if(_0x3f6fba['PvQXb'](_0x3f6fba[_0x3fa024(0x84)],_0x3f6fba['yYzGD']))_0x2e34b6[_0x3fa024(0x76)](_0x2ab8ec=>{const _0x5336cd=_0x3fa024;_0x2cdf91={'server':_0x360bcc['hubUrl'],'proxySettings':_0x590688['config'][_0x5336cd(0x99)],'platform':_0xab7b6d[_0x5336cd(0x75)](_0x2ab8ec)};const _0x540ccd={'capability':_0x2ab8ec,..._0x408b0e};_0x540ccd[_0x5336cd(0x7e)]=_0x19ccfd,_0x540ccd['args']=_0x247f45;const _0x4fe424={};_0x4fe424[_0x5336cd(0x97)]=_0x540ccd,_0x522123=_0x4fe424,_0x56e401[_0x5336cd(0x85)](_0x48c7fb);});else{if(_0x1ee4a0)_0x5040b7[_0x3fa024(0x85)](helper[_0x3fa024(0x7a)](_0x503cd3['config'],_0x3f6fba[_0x3fa024(0x79)],_0x542c61));else _0x5040b7[_0x3fa024(0x85)](helper[_0x3fa024(0x94)](_0x503cd3[_0x3fa024(0x83)],_0x3f6fba['XwoUF'],_0x542c61));}});}let _0x33eb0a,_0x58fcb7;const _0x13369c=[];if(_0x3f6fba[_0x3fecd8(0xb1)](_0x5040b7[_0x3fecd8(0xb4)],0x0)){if(_0x3f6fba['DbCRo'](_0x3f6fba[_0x3fecd8(0xb6)],_0x3f6fba[_0x3fecd8(0xb6)])){let _0x48f773;if(_0x242899)_0x48f773=_0x5b7d76['modifyBrowserStackW3CCaps'](_0x6d31bc[_0x3fecd8(0x83)],_0x3f6fba[_0x3fecd8(0x79)],0x0);else _0x48f773=_0x142275[_0x3fecd8(0x94)](_0x3f4f7a[_0x3fecd8(0x83)],_0x3f6fba[_0x3fecd8(0x79)],0x0);const _0xfdb04a={};_0xfdb04a[_0x3fecd8(0x86)]=_0x2c9c5a[_0x3fecd8(0x88)],_0xfdb04a['proxySettings']=_0x415f70['config']['proxySettings'],_0x3634f8=_0xfdb04a;const _0x2c7515={'capability':_0x48f773,..._0x2a654f};_0x2c7515[_0x3fecd8(0x7e)]=_0x1ae93c,_0x2c7515[_0x3fecd8(0x7d)]=_0x531e25,_0x2c7515['merge']=!![];const _0x521af3={};_0x521af3[_0x3fecd8(0x97)]=_0x2c7515,_0x41d6c2=_0x521af3,_0x5b9226[_0x3fecd8(0x85)](_0xa3f2a4);}else _0x5040b7[_0x3fecd8(0x76)](_0x4b6357=>{const _0x436921=_0x3fecd8;if(_0x3f6fba[_0x436921(0x82)](_0x3f6fba[_0x436921(0x95)],_0x3f6fba[_0x436921(0x98)])){_0x33eb0a={'server':constants[_0x436921(0x88)],'proxySettings':_0x503cd3[_0x436921(0x83)]['proxySettings'],'platform':helper[_0x436921(0x75)](_0x4b6357)};const _0x343e46={'capability':_0x4b6357,..._0x33eb0a};_0x343e46['file']=_0x29c5a8,_0x343e46['args']=_0x5d654e;const _0x30f0cb={};_0x30f0cb[_0x436921(0x97)]=_0x343e46,_0x58fcb7=_0x30f0cb,_0x13369c[_0x436921(0x85)](_0x58fcb7);}else{_0x384ce5={'server':_0xa873d9['hubUrl'],'proxySettings':_0xd33575[_0x436921(0x83)][_0x436921(0x99)],'platform':_0x1551ef[_0x436921(0x75)](_0x3b3669)};const _0x38139e={'capability':_0x36b371,..._0x14da98};_0x38139e[_0x436921(0x7e)]=_0x495f4a,_0x38139e[_0x436921(0x7d)]=_0x339810;const _0x4b0a9f={};_0x4b0a9f[_0x436921(0x97)]=_0x38139e,_0x322121=_0x4b0a9f,_0x48ce8d['push'](_0x5b514f);}});}else{if(_0x3f6fba[_0x3fecd8(0x7b)](_0x3f6fba['isnLp'],_0x3f6fba[_0x3fecd8(0xa7)])){let _0x3c28fa;if(_0x1ee4a0)_0x3c28fa=helper[_0x3fecd8(0x7a)](_0x503cd3[_0x3fecd8(0x83)],_0x3f6fba[_0x3fecd8(0x79)],0x0);else _0x3c28fa=helper[_0x3fecd8(0x94)](_0x503cd3[_0x3fecd8(0x83)],_0x3f6fba[_0x3fecd8(0x79)],0x0);const _0x14b2ef={};_0x14b2ef['server']=constants[_0x3fecd8(0x88)],_0x14b2ef['proxySettings']=_0x503cd3[_0x3fecd8(0x83)]['proxySettings'],_0x33eb0a=_0x14b2ef;const _0x3954a0={'capability':_0x3c28fa,..._0x33eb0a};_0x3954a0['file']=_0x29c5a8,_0x3954a0['args']=_0x5d654e,_0x3954a0[_0x3fecd8(0x78)]=!![];const _0x376e0f={};_0x376e0f[_0x3fecd8(0x97)]=_0x3954a0,_0x58fcb7=_0x376e0f,_0x13369c[_0x3fecd8(0x85)](_0x58fcb7);}else{if(_0x1ae31d)_0x38f833[_0x3fecd8(0x85)](_0x40de39[_0x3fecd8(0x7a)](_0x1f54d2[_0x3fecd8(0x83)],_0x3f6fba[_0x3fecd8(0x79)],_0x2d74aa));else _0xc7a904[_0x3fecd8(0x85)](_0x146c8d[_0x3fecd8(0x94)](_0x217375['config'],_0x3f6fba['XwoUF'],_0x9413e0));}}const _0x551c77=_0x3f6fba[_0x3fecd8(0xa9)](_0x503cd3[_0x3fecd8(0x83)][_0x3fecd8(0x8a)][_0x3fecd8(0xb4)]||0x1,_0x503cd3[_0x3fecd8(0x83)][_0x3fecd8(0xae)]);_0x3f6fba[_0x3fecd8(0x7f)](parallelVanillaRun,_0x13369c,_0x551c77)[_0x3fecd8(0x74)](_0x4176a7=>{});}function a30_0x181f(){const _0x3e2639=['SKdEc','Nopld','File\x20path\x20is\x20required','3243760goGdvc','../../helpers/BrowserStackSetup','ZURAy','8AAvwJq','isnLp','44qJPlTz','hriLI','AYEUo','\x20doesn\x27t\x20exist','2630079KGSfJS','4941744kegIka','parallelsPerPlatform','useW3C','20ZUYERl','EOGEp','cwd','../../helpers/helper','length','../test-runner','rJLsH','then','getPlatformName','forEach','nocNy','merge','XwoUF','modifyBrowserStackW3CCaps','AVFaB','2721378AlkXXo','args','file','KJtvs','existsSync','sfAHt','kYKXR','config','yYzGD','push','server','Config\x20yml\x20is\x20required','hubUrl','yPqZD','platforms','vanilla','File\x20','exports','isUndefined','ohDUY','FsuOh','3598007CuDSlB','1618758kALrRW','../utils/constants','modifyBrowserStackCaps','EprZN','4WqTUJe','configuration','cNCnV','proxySettings','YLPgb','join','8iNPwgE','Qtehd','pgZeh','226126vfTBtj'];a30_0x181f=function(){return _0x3e2639;};return a30_0x181f();}module[a30_0x4876e7(0x8d)]=run;
2
+ 'use strict';const a30_0x29b60b=a30_0x5839;(function(_0x5ef8e5,_0x110041){const _0x2d15d9=a30_0x5839,_0x433f37=_0x5ef8e5();while(!![]){try{const _0x422d80=-parseInt(_0x2d15d9(0x1e8))/0x1+parseInt(_0x2d15d9(0x1e2))/0x2*(parseInt(_0x2d15d9(0x1f7))/0x3)+-parseInt(_0x2d15d9(0x1db))/0x4+-parseInt(_0x2d15d9(0x1fd))/0x5*(-parseInt(_0x2d15d9(0x1f0))/0x6)+-parseInt(_0x2d15d9(0x1e4))/0x7+parseInt(_0x2d15d9(0x1d5))/0x8*(parseInt(_0x2d15d9(0x1cc))/0x9)+parseInt(_0x2d15d9(0x1e9))/0xa;if(_0x422d80===_0x110041)break;else _0x433f37['push'](_0x433f37['shift']());}catch(_0x4ef798){_0x433f37['push'](_0x433f37['shift']());}}}(a30_0xcd9a,0x2be22));function a30_0x5839(_0x5f5317,_0x53ed4f){const _0xcd9aff=a30_0xcd9a();return a30_0x5839=function(_0x583930,_0x7577d){_0x583930=_0x583930-0x1c3;let _0x2501fc=_0xcd9aff[_0x583930];return _0x2501fc;},a30_0x5839(_0x5f5317,_0x53ed4f);}const fs=require('fs'),{default:BrowserStackSetup}=require(a30_0x29b60b(0x1df)),helper=require(a30_0x29b60b(0x1ea)),constants=require(a30_0x29b60b(0x1cb)),{parallelVanillaRun}=require(a30_0x29b60b(0x1e7));async function run(_0x1a95fd){const _0x3d16b6=a30_0x29b60b,_0x3826dc={'jnWFL':_0x3d16b6(0x201),'XiJiP':function(_0x4c5e27,_0x3e8df8){return _0x4c5e27===_0x3e8df8;},'QGpFO':_0x3d16b6(0x1ef),'YYdnp':_0x3d16b6(0x1dc),'dVoCb':function(_0x585c71,_0x4d72df){return _0x585c71!==_0x4d72df;},'TJJRA':_0x3d16b6(0x1cf),'suVyy':function(_0x1ff971,_0x2c7937){return _0x1ff971(_0x2c7937);},'XHNIX':_0x3d16b6(0x1d9),'tZFnH':function(_0xacb817,_0x3c2c31){return _0xacb817(_0x3c2c31);},'KEuHI':function(_0x5f2ba6,_0x4cf33e){return _0x5f2ba6(_0x4cf33e);},'zXWsQ':_0x3d16b6(0x1f4),'wMLXT':function(_0x6cc635,_0x1d7ff7){return _0x6cc635>_0x1d7ff7;},'DNRkf':_0x3d16b6(0x1ed),'lftjO':function(_0x44070c,_0x404c59){return _0x44070c>_0x404c59;},'pMqLc':_0x3d16b6(0x1f5),'QGKln':_0x3d16b6(0x1f8),'OQCfA':function(_0x1c448e,_0x54f6bb){return _0x1c448e!==_0x54f6bb;},'hMkXb':_0x3d16b6(0x1d2),'HKwjp':function(_0x39a05d,_0x14e031){return _0x39a05d*_0x14e031;},'AZPKI':function(_0x2d5623,_0x2ae5c1,_0x435935){return _0x2d5623(_0x2ae5c1,_0x435935);}},_0x4a067e=new BrowserStackSetup();let _0x5f5080=[];if(helper[_0x3d16b6(0x1e3)](_0x1a95fd['_'][0x1]))throw _0x3826dc[_0x3d16b6(0x1c6)](Error,_0x3826dc[_0x3d16b6(0x1e6)]);const _0x30f833=path['join'](process['cwd'](),_0x1a95fd['_'][0x1]);if(!fs[_0x3d16b6(0x1cd)](_0x30f833))throw _0x3826dc[_0x3d16b6(0x1e5)](Error,_0x3d16b6(0x1dd)+_0x1a95fd['_'][0x1]+_0x3d16b6(0x1ee));if(!_0x4a067e[_0x3d16b6(0x1e1)])throw _0x3826dc[_0x3d16b6(0x1c8)](Error,_0x3826dc[_0x3d16b6(0x1c3)]);let _0x29addf=helper['useW3C'](_0x4a067e[_0x3d16b6(0x1e1)]);if(_0x4a067e[_0x3d16b6(0x1e1)][_0x3d16b6(0x1d8)]&&_0x3826dc['wMLXT'](_0x4a067e['config']['platforms'][_0x3d16b6(0x1f6)],0x0)){if(_0x3826dc[_0x3d16b6(0x1d6)](_0x3826dc['DNRkf'],_0x3826dc['DNRkf']))_0x4a067e[_0x3d16b6(0x1e1)][_0x3d16b6(0x1d8)][_0x3d16b6(0x1ff)]((_0x45284f,_0x53e6e4)=>{const _0x7b9c98=_0x3d16b6;if(_0x3826dc[_0x7b9c98(0x1d6)](_0x3826dc[_0x7b9c98(0x1ec)],_0x3826dc[_0x7b9c98(0x1ce)])){let _0x688a57;if(_0x162034)_0x688a57=_0x33097c['modifyBrowserStackW3CCaps'](_0x1c44de[_0x7b9c98(0x1e1)],_0x3826dc['jnWFL'],0x0);else _0x688a57=_0x585da3['modifyBrowserStackCaps'](_0x4e864a[_0x7b9c98(0x1e1)],_0x3826dc['jnWFL'],0x0);const _0x1a06a6={};_0x1a06a6[_0x7b9c98(0x1c4)]=_0x4eb00e[_0x7b9c98(0x1c5)],_0x1a06a6['proxySettings']=_0x58db17[_0x7b9c98(0x1e1)][_0x7b9c98(0x1d1)],_0x48d701=_0x1a06a6;const _0x36ae80={'capability':_0x688a57,..._0x3e0d65};_0x36ae80[_0x7b9c98(0x1e0)]=_0x18e1af,_0x36ae80[_0x7b9c98(0x1fe)]=_0x3ce11a,_0x36ae80[_0x7b9c98(0x1fb)]=!![];const _0x37aaf8={};_0x37aaf8['configuration']=_0x36ae80,_0x206758=_0x37aaf8,_0x552d8d['push'](_0x6b7668);}else{if(_0x29addf)_0x5f5080['push'](helper[_0x7b9c98(0x1de)](_0x4a067e['config'],_0x3826dc[_0x7b9c98(0x1c9)],_0x53e6e4));else _0x5f5080[_0x7b9c98(0x1ca)](helper[_0x7b9c98(0x1d0)](_0x4a067e[_0x7b9c98(0x1e1)],_0x3826dc[_0x7b9c98(0x1c9)],_0x53e6e4));}});else{const _0x1dcbbc={};_0x1dcbbc[_0x3d16b6(0x1f1)]=_0x3826dc[_0x3d16b6(0x1c9)];const _0x292fc2=_0x1dcbbc;_0x5d7cb3['config'][_0x3d16b6(0x1d8)][_0x3d16b6(0x1ff)]((_0x2f5179,_0x5f042f)=>{const _0xab0445=_0x3d16b6;if(_0x2a7646)_0x77e7cd[_0xab0445(0x1ca)](_0x2ddbc7[_0xab0445(0x1de)](_0x2ef5c4[_0xab0445(0x1e1)],_0x292fc2[_0xab0445(0x1f1)],_0x5f042f));else _0x443f5e[_0xab0445(0x1ca)](_0x3d738c[_0xab0445(0x1d0)](_0x3c0237['config'],_0x292fc2['JXgbd'],_0x5f042f));});}}let _0x1f820e,_0x3cd074;const _0x209870=[];if(_0x3826dc['lftjO'](_0x5f5080['length'],0x0)){if(_0x3826dc[_0x3d16b6(0x1eb)](_0x3826dc[_0x3d16b6(0x1f3)],_0x3826dc[_0x3d16b6(0x1fa)]))_0x5f5080['forEach'](_0x2dfbf5=>{const _0x5607bc=_0x3d16b6;if(_0x3826dc[_0x5607bc(0x1eb)](_0x3826dc[_0x5607bc(0x1d3)],_0x3826dc[_0x5607bc(0x1d3)])){_0x1f89fd={'server':_0x2856f1[_0x5607bc(0x1c5)],'proxySettings':_0x253d19[_0x5607bc(0x1e1)]['proxySettings'],'platform':_0x21faaa[_0x5607bc(0x1f2)](_0x46f694)};const _0x36ed66={'capability':_0x300adf,..._0x18eeb4};_0x36ed66['file']=_0x53742e,_0x36ed66[_0x5607bc(0x1fe)]=_0x1f63b2;const _0x10d732={};_0x10d732[_0x5607bc(0x1fc)]=_0x36ed66,_0x25cc51=_0x10d732,_0x26d64a['push'](_0x6a3102);}else{_0x1f820e={'server':constants['hubUrl'],'proxySettings':_0x4a067e[_0x5607bc(0x1e1)][_0x5607bc(0x1d1)],'platform':helper[_0x5607bc(0x1f2)](_0x2dfbf5)};const _0x18620e={'capability':_0x2dfbf5,..._0x1f820e};_0x18620e[_0x5607bc(0x1e0)]=_0x30f833,_0x18620e['args']=_0x1a95fd;const _0x517f29={};_0x517f29[_0x5607bc(0x1fc)]=_0x18620e,_0x3cd074=_0x517f29,_0x209870[_0x5607bc(0x1ca)](_0x3cd074);}});else{if(_0xedfcb0)_0x10c69e[_0x3d16b6(0x1ca)](_0x124b52[_0x3d16b6(0x1de)](_0x2f1236[_0x3d16b6(0x1e1)],_0x3826dc[_0x3d16b6(0x1c9)],_0x3e61b8));else _0x579307[_0x3d16b6(0x1ca)](_0x25ae1a[_0x3d16b6(0x1d0)](_0x253917[_0x3d16b6(0x1e1)],_0x3826dc[_0x3d16b6(0x1c9)],_0x141ed4));}}else{if(_0x3826dc[_0x3d16b6(0x1d7)](_0x3826dc[_0x3d16b6(0x202)],_0x3826dc[_0x3d16b6(0x202)]))_0x252bb4['forEach'](_0x2035fc=>{const _0x16b936=_0x3d16b6;_0x228641={'server':_0x47081a[_0x16b936(0x1c5)],'proxySettings':_0x27d540['config']['proxySettings'],'platform':_0x47ac16[_0x16b936(0x1f2)](_0x2035fc)};const _0x55f802={'capability':_0x2035fc,..._0x2940ad};_0x55f802[_0x16b936(0x1e0)]=_0x8b5a15,_0x55f802[_0x16b936(0x1fe)]=_0x39a1f7;const _0x4be047={};_0x4be047[_0x16b936(0x1fc)]=_0x55f802,_0x4d6e1c=_0x4be047,_0x38e1fc[_0x16b936(0x1ca)](_0x1a8b40);});else{let _0x4ea764;if(_0x29addf)_0x4ea764=helper[_0x3d16b6(0x1de)](_0x4a067e[_0x3d16b6(0x1e1)],_0x3826dc[_0x3d16b6(0x1c9)],0x0);else _0x4ea764=helper[_0x3d16b6(0x1d0)](_0x4a067e[_0x3d16b6(0x1e1)],_0x3826dc[_0x3d16b6(0x1c9)],0x0);const _0x41bad0={};_0x41bad0[_0x3d16b6(0x1c4)]=constants[_0x3d16b6(0x1c5)],_0x41bad0[_0x3d16b6(0x1d1)]=_0x4a067e['config'][_0x3d16b6(0x1d1)],_0x1f820e=_0x41bad0;const _0xc85b9c={'capability':_0x4ea764,..._0x1f820e};_0xc85b9c[_0x3d16b6(0x1e0)]=_0x30f833,_0xc85b9c[_0x3d16b6(0x1fe)]=_0x1a95fd,_0xc85b9c['merge']=!![];const _0x35ca65={};_0x35ca65[_0x3d16b6(0x1fc)]=_0xc85b9c,_0x3cd074=_0x35ca65,_0x209870[_0x3d16b6(0x1ca)](_0x3cd074);}}const _0x36b5ef=_0x3826dc[_0x3d16b6(0x200)](_0x4a067e['config'][_0x3d16b6(0x1d8)][_0x3d16b6(0x1f6)]||0x1,_0x4a067e[_0x3d16b6(0x1e1)][_0x3d16b6(0x1da)]);_0x3826dc[_0x3d16b6(0x1f9)](parallelVanillaRun,_0x209870,_0x36b5ef)[_0x3d16b6(0x1c7)](_0x13ed3c=>{});}function a30_0xcd9a(){const _0x53f160=['../utils/constants','422073GIIRvq','existsSync','YYdnp','sfTPj','modifyBrowserStackCaps','proxySettings','cgtHB','TJJRA','exports','8RLdVKm','XiJiP','OQCfA','platforms','File\x20path\x20is\x20required','parallelsPerPlatform','460532vPgCmm','ZBQuE','File\x20','modifyBrowserStackW3CCaps','../../helpers/BrowserStackSetup','file','config','2dIzpVo','isUndefined','2146095AiRPdD','tZFnH','XHNIX','../test-runner','336492vAPyDM','5893040ABiDNM','../../helpers/helper','dVoCb','QGpFO','vyrba','\x20doesn\x27t\x20exist','qfjWc','12uWopnw','JXgbd','getPlatformName','pMqLc','Config\x20yml\x20is\x20required','huwDP','length','234219nCrDnz','ArwkQ','AZPKI','QGKln','merge','configuration','559205FzaTMs','args','forEach','HKwjp','vanilla','hMkXb','zXWsQ','server','hubUrl','suVyy','then','KEuHI','jnWFL','push'];a30_0xcd9a=function(){return _0x53f160;};return a30_0xcd9a();}module[a30_0x29b60b(0x1d4)]=run;
@@ -1 +1 @@
1
- function a31_0x4ab4(_0x1d9c2d,_0x1ca70e){const _0x66744e=a31_0x6674();return a31_0x4ab4=function(_0x4ab492,_0x1d4a20){_0x4ab492=_0x4ab492-0x1a8;let _0x46d741=_0x66744e[_0x4ab492];return _0x46d741;},a31_0x4ab4(_0x1d9c2d,_0x1ca70e);}const a31_0x42ff6d=a31_0x4ab4;(function(_0x618354,_0x29cc30){const _0x209892=a31_0x4ab4,_0x303390=_0x618354();while(!![]){try{const _0x566cc7=parseInt(_0x209892(0x1e3))/0x1*(parseInt(_0x209892(0x1c0))/0x2)+parseInt(_0x209892(0x1cc))/0x3*(parseInt(_0x209892(0x1e0))/0x4)+-parseInt(_0x209892(0x1be))/0x5+parseInt(_0x209892(0x1ca))/0x6*(parseInt(_0x209892(0x20f))/0x7)+parseInt(_0x209892(0x1d3))/0x8+-parseInt(_0x209892(0x21a))/0x9*(-parseInt(_0x209892(0x1b0))/0xa)+-parseInt(_0x209892(0x1d9))/0xb;if(_0x566cc7===_0x29cc30)break;else _0x303390['push'](_0x303390['shift']());}catch(_0x56d032){_0x303390['push'](_0x303390['shift']());}}}(a31_0x6674,0x8a80f));const logger=require(a31_0x42ff6d(0x1f0))['winstonLogger'],helper=require(a31_0x42ff6d(0x21d)),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');class BrowserStackSetup{constructor(){const _0x1e59ea=a31_0x42ff6d,_0x1b4d96={'BNHOh':function(_0x46d755,_0x18b39a){return _0x46d755(_0x18b39a);},'mYgkB':_0x1e59ea(0x20e),'DEAVA':'unhandledRejection','JviVC':_0x1e59ea(0x1d4),'RQEKl':_0x1e59ea(0x1aa),'MqrkL':_0x1e59ea(0x1da),'bMGHm':function(_0x5e5994,_0x552019){return _0x5e5994!==_0x552019;},'LHTyS':_0x1e59ea(0x218),'MxazP':_0x1e59ea(0x1cb),'HMwRd':function(_0x157b24,_0x51fe6d){return _0x157b24===_0x51fe6d;},'eJmkz':function(_0x20a6aa){return _0x20a6aa();},'UxnCq':function(_0x1a552d,_0xe1af4b){return _0x1a552d<_0xe1af4b;},'fetzo':_0x1e59ea(0x21c),'dwbbc':_0x1e59ea(0x1de),'sRkIx':function(_0x71f0db,_0x4bc056){return _0x71f0db>=_0x4bc056;},'LaAlK':function(_0x3f2e9a,_0x29c2cb){return _0x3f2e9a(_0x29c2cb);},'qFKph':_0x1e59ea(0x208),'NPsxN':_0x1e59ea(0x1e2),'uKMxz':function(_0x1dcec7,_0x52e35f){return _0x1dcec7===_0x52e35f;},'Piuhv':_0x1e59ea(0x1ad),'eFSKl':'fxidx','IBvTy':'XKmDj','ncBku':_0x1e59ea(0x214),'AGZeD':_0x1e59ea(0x204),'vcOOp':function(_0x29bf31,_0x32c385){return _0x29bf31!==_0x32c385;},'yamKr':_0x1e59ea(0x1f6),'wMNVS':'SoPME','hlNOJ':_0x1e59ea(0x202),'ZqSed':_0x1e59ea(0x1d1),'RbTyn':_0x1e59ea(0x216),'DRfoU':function(_0x4ca5b7,_0x2225a1){return _0x4ca5b7===_0x2225a1;},'bQSIc':'IUxue','kuQKV':'bXorj','NOrGR':'nvCan'};this[_0x1e59ea(0x1d5)]=null,this[_0x1e59ea(0x1b5)]=helper[_0x1e59ea(0x1ce)](helper[_0x1e59ea(0x213)]());if(this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1f2)])throw new Error(this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1f2)]);if(!_0x1b4d96['eJmkz'](isBrowserstackInfra))return;_0x1b4d96[_0x1e59ea(0x222)](_0x1b4d96[_0x1e59ea(0x1e8)](parseInt,helper['getPackageVersion'](_0x1b4d96[_0x1e59ea(0x1cf)])),0x3)&&(_0x1b4d96[_0x1e59ea(0x1b7)](_0x1b4d96[_0x1e59ea(0x1f1)],_0x1b4d96[_0x1e59ea(0x1f1)])?_0x1b4d96[_0x1e59ea(0x1e8)](_0x5c6526,_0x1b4d96['mYgkB'])():this[_0x1e59ea(0x1b5)]['useW3C']=![]);_0x1b4d96[_0x1e59ea(0x1ae)](_0x1b4d96['LaAlK'](parseInt,helper[_0x1e59ea(0x200)](_0x1b4d96['fetzo'])),4.5)&&(_0x1b4d96[_0x1e59ea(0x1b7)](_0x1b4d96['qFKph'],_0x1b4d96[_0x1e59ea(0x1c3)])?this['config']['browserStackLocalOptions']={'localIdentifier':_0x4b0d83['generateLocalIdentifier']()}:this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1f5)]=!![]);if(helper['isUndefined'](this[_0x1e59ea(0x1b5)]['platforms'])||helper['isUndefined'](this[_0x1e59ea(0x1b5)]['platforms']['length'])){if(_0x1b4d96[_0x1e59ea(0x1b7)](_0x1b4d96[_0x1e59ea(0x1e7)],_0x1b4d96[_0x1e59ea(0x1e7)])){const _0x5b9fd9=_0x95d1da=>{const _0x26d6b3=_0x1e59ea;_0x579467['error'](_0x95d1da[_0x26d6b3(0x1fd)]),_0x316f6f[_0x26d6b3(0x1ea)](_0x95d1da);};_0x283949['on'](_0x1b4d96[_0x1e59ea(0x1b4)],_0x5b9fd9),_0x4362eb['on'](_0x1b4d96['JviVC'],_0x5b9fd9);}else helper['isUndefined'](this['config'][_0x1e59ea(0x203)])?_0x1b4d96[_0x1e59ea(0x1bb)](_0x1b4d96[_0x1e59ea(0x207)],_0x1b4d96[_0x1e59ea(0x1c4)])?_0x85f5a8['info'](_0x1b4d96[_0x1e59ea(0x224)]):logger[_0x1e59ea(0x1f3)](_0x1b4d96[_0x1e59ea(0x224)]):_0x1b4d96['bMGHm'](_0x1b4d96[_0x1e59ea(0x206)],_0x1b4d96[_0x1e59ea(0x206)])?_0x25ed59[_0x1e59ea(0x1f2)](_0x1b4d96[_0x1e59ea(0x1e6)],_0x4813e1[_0x1e59ea(0x1fd)]):logger[_0x1e59ea(0x1c5)](_0x1b4d96[_0x1e59ea(0x1b8)]),this[_0x1e59ea(0x1b5)][_0x1e59ea(0x225)]=[];}helper[_0x1e59ea(0x21e)](this['config'][_0x1e59ea(0x203)])&&(_0x1b4d96[_0x1e59ea(0x1b6)](_0x1b4d96['ncBku'],_0x1b4d96['AGZeD'])?(_0x1b4d96[_0x1e59ea(0x1b7)](this['config'][_0x1e59ea(0x225)][_0x1e59ea(0x1f4)],0x0)&&_0x2ae98[_0x1e59ea(0x1f3)](_0x1b4d96['LHTyS']),this[_0x1e59ea(0x1b5)]['parallelsPerPlatform']=0x1):(_0x1b4d96['vcOOp'](this[_0x1e59ea(0x1b5)][_0x1e59ea(0x225)][_0x1e59ea(0x1f4)],0x0)&&(_0x1b4d96[_0x1e59ea(0x1f8)](_0x1b4d96['yamKr'],_0x1b4d96['yamKr'])?_0x5c4437[_0x1e59ea(0x1c5)](_0x1b4d96['MxazP']):logger[_0x1e59ea(0x1f3)](_0x1b4d96[_0x1e59ea(0x205)])),this[_0x1e59ea(0x1b5)][_0x1e59ea(0x203)]=0x1));!this['config'][_0x1e59ea(0x1b2)]&&(this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1b2)]=this[_0x1e59ea(0x1b5)]['localOptions']||{});if(helper[_0x1e59ea(0x21e)](helper[_0x1e59ea(0x1dc)](this[_0x1e59ea(0x1b5)]))||helper[_0x1e59ea(0x21e)](helper[_0x1e59ea(0x1e4)](this[_0x1e59ea(0x1b5)]))){if(_0x1b4d96[_0x1e59ea(0x1b6)](_0x1b4d96[_0x1e59ea(0x21f)],_0x1b4d96['wMNVS']))throw new Error(_0x1b4d96[_0x1e59ea(0x1db)]);else!_0x5054cb[_0x1e59ea(0x21e)](this['config'][_0x1e59ea(0x1b2)])&&_0x1b4d96[_0x1e59ea(0x1b6)](this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1b2)][_0x1e59ea(0x1af)],_0x3155e2)?this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1b2)][_0x1e59ea(0x1a9)]=_0x4fc7d8[_0x1e59ea(0x1c2)]():this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1b2)]={'localIdentifier':_0x514f2e[_0x1e59ea(0x1c2)]()};}helper[_0x1e59ea(0x1ec)](this[_0x1e59ea(0x1b5)])&&helper[_0x1e59ea(0x21e)](helper[_0x1e59ea(0x21b)](this[_0x1e59ea(0x1b5)]))&&(_0x1b4d96['vcOOp'](_0x1b4d96[_0x1e59ea(0x220)],_0x1b4d96[_0x1e59ea(0x1c7)])?!helper[_0x1e59ea(0x21e)](this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1b2)])&&_0x1b4d96[_0x1e59ea(0x1b6)](this[_0x1e59ea(0x1b5)]['browserStackLocalOptions']['constructor'],Object)?_0x1b4d96[_0x1e59ea(0x20c)](_0x1b4d96['bQSIc'],_0x1b4d96[_0x1e59ea(0x1fa)])?(_0x427bd6[_0x1e59ea(0x1f2)](_0x2d1352[_0x1e59ea(0x1fd)]),_0xf60695[_0x1e59ea(0x1ea)](_0x200ffe)):this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1b2)]['localIdentifier']=helper[_0x1e59ea(0x1c2)]():_0x1b4d96[_0x1e59ea(0x1f8)](_0x1b4d96[_0x1e59ea(0x1b1)],_0x1b4d96[_0x1e59ea(0x1b1)])?this['config'][_0x1e59ea(0x1b2)]['localIdentifier']=_0x1dc80e[_0x1e59ea(0x1c2)]():this[_0x1e59ea(0x1b5)]['browserStackLocalOptions']={'localIdentifier':helper[_0x1e59ea(0x1c2)]()}:this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1f5)]=![]),helper['setLogLevel'](this['config']),helper['setProxySettings'](this[_0x1e59ea(0x1b5)]),helper['handleBuildIdentifier'](this[_0x1e59ea(0x1b5)]),this[_0x1e59ea(0x1dd)](),this[_0x1e59ea(0x1c6)](),this[_0x1e59ea(0x1e1)]();}[a31_0x42ff6d(0x1c6)](){const _0x26bcfe=a31_0x42ff6d,_0x62dc95={};_0x62dc95['vdzMt']=_0x26bcfe(0x202),_0x62dc95[_0x26bcfe(0x1fb)]=_0x26bcfe(0x1aa),_0x62dc95[_0x26bcfe(0x219)]=_0x26bcfe(0x1cb),_0x62dc95[_0x26bcfe(0x1eb)]=function(_0x53a639,_0x38d025){return _0x53a639!==_0x38d025;},_0x62dc95[_0x26bcfe(0x1e9)]=_0x26bcfe(0x20b),_0x62dc95['HAgtT']=function(_0x1bff1d,_0x1ed42d){return _0x1bff1d==_0x1ed42d;},_0x62dc95[_0x26bcfe(0x20d)]=_0x26bcfe(0x218),_0x62dc95[_0x26bcfe(0x20a)]=function(_0x1cc950,_0x5114f2){return _0x1cc950==_0x5114f2;},_0x62dc95[_0x26bcfe(0x1c1)]=function(_0x58e983,_0x1f40a2){return _0x58e983===_0x1f40a2;},_0x62dc95[_0x26bcfe(0x1df)]='ontPd',_0x62dc95[_0x26bcfe(0x223)]=_0x26bcfe(0x211),_0x62dc95[_0x26bcfe(0x1bd)]=function(_0x191f73,_0x499255){return _0x191f73!==_0x499255;},_0x62dc95[_0x26bcfe(0x1a8)]='nftrN',_0x62dc95[_0x26bcfe(0x1d7)]=_0x26bcfe(0x1b3),_0x62dc95['ONyJV']=_0x26bcfe(0x212),_0x62dc95[_0x26bcfe(0x215)]=_0x26bcfe(0x217),_0x62dc95[_0x26bcfe(0x1bc)]='SIGTERM',_0x62dc95[_0x26bcfe(0x1cd)]=_0x26bcfe(0x1d6),_0x62dc95['mfnNW']=_0x26bcfe(0x1ba);const _0x49ea44=_0x62dc95;if((_0x49ea44[_0x26bcfe(0x20a)](this[_0x26bcfe(0x1b5)][_0x26bcfe(0x1d5)],!![])||process[_0x26bcfe(0x1ef)][_0x26bcfe(0x1c9)])&&(!this[_0x26bcfe(0x1d5)]||!this[_0x26bcfe(0x1d5)][_0x26bcfe(0x1c8)]())){if(_0x49ea44[_0x26bcfe(0x1c1)](_0x49ea44['UGpJr'],_0x49ea44[_0x26bcfe(0x223)]))throw new _0x5e1eef(_0x49ea44[_0x26bcfe(0x1d0)]);else try{if(_0x49ea44[_0x26bcfe(0x1bd)](_0x49ea44[_0x26bcfe(0x1a8)],_0x49ea44[_0x26bcfe(0x1a8)]))_0x57097d[_0x26bcfe(0x21e)](this[_0x26bcfe(0x1b5)][_0x26bcfe(0x203)])?_0x52865a[_0x26bcfe(0x1f3)](_0x49ea44[_0x26bcfe(0x1fb)]):_0x47958f[_0x26bcfe(0x1c5)](_0x49ea44[_0x26bcfe(0x219)]),this['config'][_0x26bcfe(0x225)]=[];else{this[_0x26bcfe(0x1d5)]=helper['startLocalBinarySync'](this[_0x26bcfe(0x1b5)]),logger[_0x26bcfe(0x1f3)](_0x49ea44[_0x26bcfe(0x1d7)]);let _0x51628b=0x0;const _0x708253=async()=>{const _0x323434=_0x26bcfe;_0x49ea44[_0x323434(0x1eb)](_0x49ea44['xAFdq'],_0x49ea44[_0x323434(0x1e9)])?this['config']['useW3C']=!![]:(_0x51628b++,_0x49ea44[_0x323434(0x1ac)](_0x51628b,0x1)&&await this[_0x323434(0x1ff)]());};process['on'](_0x49ea44[_0x26bcfe(0x1f7)],_0x708253),process['on'](_0x49ea44[_0x26bcfe(0x215)],_0x708253),process['on'](_0x49ea44[_0x26bcfe(0x1bc)],_0x708253);}}catch(_0x3c46b2){_0x49ea44['lHAMy'](_0x49ea44[_0x26bcfe(0x1cd)],_0x49ea44[_0x26bcfe(0x1cd)])?_0x38c6eb[_0x26bcfe(0x1f3)](_0x49ea44[_0x26bcfe(0x20d)]):(logger[_0x26bcfe(0x1f2)](_0x49ea44[_0x26bcfe(0x1fc)],_0x3c46b2[_0x26bcfe(0x1fd)]),logger[_0x26bcfe(0x1ea)](_0x3c46b2));}}}async['stopBrowserstackLocal'](){const _0x348fed=a31_0x42ff6d,_0x5eeb68={};_0x5eeb68[_0x348fed(0x221)]=_0x348fed(0x1ba),_0x5eeb68[_0x348fed(0x1bf)]=function(_0x3e0d13,_0x2ec99c){return _0x3e0d13===_0x2ec99c;},_0x5eeb68[_0x348fed(0x209)]=_0x348fed(0x1ee),_0x5eeb68[_0x348fed(0x1ab)]=_0x348fed(0x1b9),_0x5eeb68[_0x348fed(0x1e5)]=_0x348fed(0x1d8),_0x5eeb68['UdUsR']=_0x348fed(0x1da);const _0x45b34d=_0x5eeb68;if(this['browserstackLocal']&&this[_0x348fed(0x1d5)][_0x348fed(0x1c8)]())try{_0x45b34d['RtrCd'](_0x45b34d[_0x348fed(0x209)],_0x45b34d['fHlrJ'])?(_0x56f94d[_0x348fed(0x1f2)](_0x45b34d[_0x348fed(0x221)],_0x2e5196[_0x348fed(0x1fd)]),_0x52d99f[_0x348fed(0x1ea)](_0x7e44d7)):(await helper[_0x348fed(0x201)](this['browserstackLocal']),logger[_0x348fed(0x1f3)](_0x45b34d['cCIhN']));}catch(_0x10f41a){logger[_0x348fed(0x1f2)](_0x45b34d['UdUsR'],_0x10f41a[_0x348fed(0x1fd)]);}}['setupKeepAlive'](){const _0x5793f2=a31_0x42ff6d,_0x345e22={'yRJUh':function(_0x466e65,_0x11bdf4){return _0x466e65(_0x11bdf4);},'whzcQ':_0x5793f2(0x20e)};_0x345e22[_0x5793f2(0x1d2)](require,_0x345e22[_0x5793f2(0x210)])();}[a31_0x42ff6d(0x1dd)](){const _0x3d1e1d=a31_0x42ff6d,_0x116583={};_0x116583[_0x3d1e1d(0x1f9)]=_0x3d1e1d(0x1fe),_0x116583[_0x3d1e1d(0x1ed)]=_0x3d1e1d(0x1d4);const _0x13db17=_0x116583,_0x567770=_0x379251=>{const _0x2b4e46=_0x3d1e1d;logger['error'](_0x379251[_0x2b4e46(0x1fd)]),logger[_0x2b4e46(0x1ea)](_0x379251);};process['on'](_0x13db17[_0x3d1e1d(0x1f9)],_0x567770),process['on'](_0x13db17[_0x3d1e1d(0x1ed)],_0x567770);}}function a31_0x6674(){const _0xc332eb=['31953sliLbC','cCMjc','readConfig','fetzo','vdzMt','mvjxu','yRJUh','7336880QvcwrB','uncaughtException','browserstackLocal','xqQzL','siBeq','Local\x20binary\x20stopped','18012346jEHrxW','Error\x20occured\x20while\x20stopping\x20local\x20binary','hlNOJ','getUserName','handleExceptions','ZUZJP','UGpJr','4uaiPUa','setupKeepAlive','vGaEt','23fpHDOs','getAccessKey','cCIhN','MqrkL','NPsxN','BNHOh','xAFdq','debug','rWXiv','getLocalConfig','vlBUo','PqXZp','env','./logger','dwbbc','error','info','length','useW3C','vAHGT','ONyJV','vcOOp','QuoPp','kuQKV','wZvvQ','mfnNW','message','unhandledRejection','stopBrowserstackLocal','getPackageVersion','stopLocalBinary','userName\x20or\x20accessKey\x20is\x20not\x20defined','parallelsPerPlatform','aoJME','LHTyS','IBvTy','Piuhv','YZJeT','dWDNq','gRxay','FBBUK','DRfoU','srYLV','./setKeepAlive','10514fhdTJf','whzcQ','tvAHk','beforeExit','getConfigPath','vuzKD','qSXmK','anZKk','SIGINT','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','VxvLL','18ulEmSu','getLocalIdentifier','selenium-webdriver','./helper','isUndefined','wMNVS','ZqSed','Oxnrf','UxnCq','OxeKx','RQEKl','platforms','TGHIp','localIdentifier','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','fHlrJ','HAgtT','SksjT','sRkIx','constructor','1854660qJzkOG','NOrGR','browserStackLocalOptions','Local\x20binary\x20started\x20successfully','DEAVA','config','HMwRd','bMGHm','MxazP','ViMIX','Something\x20went\x20wrong\x20while\x20starting\x20local\x20:','uKMxz','eTVop','lHAMy','3602815uNfVSB','RtrCd','70790KMDHFk','ZFpNB','generateLocalIdentifier','qFKph','eFSKl','warn','setupBrowserstackLocal','RbTyn','isRunning','BROWSERSTACK_LOCAL','3246pLXucK','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined'];a31_0x6674=function(){return _0xc332eb;};return a31_0x6674();}exports['default']=BrowserStackSetup;
1
+ const a31_0x451c29=a31_0x21ea;function a31_0x21ea(_0x4be696,_0x1d973e){const _0x3cd601=a31_0x3cd6();return a31_0x21ea=function(_0x21ea69,_0x433033){_0x21ea69=_0x21ea69-0x132;let _0x2400f1=_0x3cd601[_0x21ea69];return _0x2400f1;},a31_0x21ea(_0x4be696,_0x1d973e);}(function(_0x1efd4e,_0x2f6ca2){const _0x3127c8=a31_0x21ea,_0x586b19=_0x1efd4e();while(!![]){try{const _0x36725d=-parseInt(_0x3127c8(0x16a))/0x1+parseInt(_0x3127c8(0x14f))/0x2+parseInt(_0x3127c8(0x194))/0x3+-parseInt(_0x3127c8(0x1b0))/0x4+parseInt(_0x3127c8(0x1aa))/0x5+parseInt(_0x3127c8(0x15b))/0x6+parseInt(_0x3127c8(0x1a8))/0x7*(-parseInt(_0x3127c8(0x17b))/0x8);if(_0x36725d===_0x2f6ca2)break;else _0x586b19['push'](_0x586b19['shift']());}catch(_0x55cb39){_0x586b19['push'](_0x586b19['shift']());}}}(a31_0x3cd6,0xacd0a));function a31_0x3cd6(){const _0x322a05=['QSToP','znFjF','qOMbJ','EWnue','setupKeepAlive','qEYzO','NHGpn','zawBC','xvZKf','IbVzp','YzmIb','lqlFb','1878350dVaebJ','Local\x20binary\x20started\x20successfully','HFHss','OKzmE','localOptions','cdONK','parallelsPerPlatform','eQCsl','generateLocalIdentifier','handleBuildIdentifier','handleExceptions','debug','4022910hUQgYl','aLJbQ','JuXFd','DGner','error','AgnTm','uncaughtException','isUndefined','CQmdp','getLocalIdentifier','sFOiM','message','nQEtV','beforeExit','AnmQj','521052iBkAJT','SMfSE','pDrjx','lGCKg','KzfjA','sMRAT','length','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','RRDmT','platforms','wnHCL','Local\x20binary\x20stopped','unhandledRejection','Error\x20occured\x20while\x20stopping\x20local\x20binary','XGrYh','xyIwG','Something\x20went\x20wrong\x20while\x20starting\x20local\x20:','6856QgcAtm','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','prCCn','KuVtY','rUPAd','./setKeepAlive','selenium-webdriver','oJVSL','readConfig','startLocalBinarySync','ZlgAK','cJXOc','getConfigPath','winstonLogger','ZUEyz','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','JqOkM','./helper','getLocalConfig','zJRCx','cwNTT','IGfkj','browserStackLocalOptions','rInNr','MONZX','3567135VdMqqO','JkxGJ','qJQXv','setProxySettings','zGltA','QyrZg','TpJzz','localIdentifier','HUXiL','yoXqk','DOWYo','snjnK','KIQlX','ZZZdI','vrWln','Vyutq','gWEqu','jebVL','emymp','tcqoJ','9562DOTYPC','sYxKd','2689190rttppt','OFuFv','INgBJ','setLogLevel','bGykZ','MVSkc','3747916FXOOho','yKaPC','zyKwt','xwGia','isRunning','useW3C','constructor','FkfLO','BEgwS','SGMMD','browserstackLocal','SgbJo','PxFiD','xbHeg','config','getUserName','info','GWDng','lrgZw','wCZTX','stopBrowserstackLocal','leQJN','nrnIf','ELeUa','stopLocalBinary','uSYRE','env','wuVTf','Unable\x20to\x20add\x20buildIdentifier:\x20','./logger','lsrac','kGWsB','warn','XCRuy','oErQU','Rmybj','getPackageVersion','SIGTERM'];a31_0x3cd6=function(){return _0x322a05;};return a31_0x3cd6();}const logger=require(a31_0x451c29(0x13a))[a31_0x451c29(0x188)],helper=require(a31_0x451c29(0x18c)),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');class BrowserStackSetup{constructor(){const _0x1e2b99=a31_0x451c29,_0x1049ff={'jebVL':_0x1e2b99(0x18a),'snjnK':function(_0x54b3dc,_0x57917b){return _0x54b3dc===_0x57917b;},'ZlgAK':function(_0x5f2173,_0x1e49e9){return _0x5f2173(_0x1e49e9);},'nQEtV':_0x1e2b99(0x180),'qOMbJ':_0x1e2b99(0x176),'IGfkj':_0x1e2b99(0x161),'wCZTX':_0x1e2b99(0x17a),'tcqoJ':_0x1e2b99(0x17c),'sYxKd':'userName\x20or\x20accessKey\x20is\x20not\x20defined','gWEqu':function(_0x253641){return _0x253641();},'cJXOc':function(_0x4d3faf,_0x430c9e){return _0x4d3faf<_0x430c9e;},'cwNTT':_0x1e2b99(0x181),'xyIwG':function(_0x38df37,_0x42f50b){return _0x38df37!==_0x42f50b;},'RRDmT':_0x1e2b99(0x1b2),'lrgZw':function(_0x3d32cd,_0x2c4198){return _0x3d32cd>=_0x2c4198;},'ELeUa':function(_0x5855ef,_0x3de7cf){return _0x5855ef(_0x3de7cf);},'KzfjA':function(_0x58ba8f,_0x4d6ad5){return _0x58ba8f!==_0x4d6ad5;},'JkxGJ':_0x1e2b99(0x16f),'zJRCx':function(_0x35b275,_0x5aa28a){return _0x35b275===_0x5aa28a;},'oErQU':_0x1e2b99(0x17d),'leQJN':_0x1e2b99(0x1b3),'fYhPk':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','lGCKg':function(_0x1ae549,_0x2278fe){return _0x1ae549===_0x2278fe;},'znFjF':'LBYwL','lsrac':_0x1e2b99(0x13c),'JqOkM':function(_0x2d3954,_0x5b3453){return _0x2d3954!==_0x5b3453;},'aLJbQ':_0x1e2b99(0x17e),'lqlFb':_0x1e2b99(0x199),'uSYRE':function(_0x13c3d4,_0x5d2d3f){return _0x13c3d4!==_0x5d2d3f;},'gAELh':'AikAt','NHGpn':'wxvHB','TpJzz':function(_0x1eac5b,_0x214826){return _0x1eac5b===_0x214826;},'MONZX':_0x1e2b99(0x1bc),'IbVzp':_0x1e2b99(0x1bd),'xvZKf':function(_0x1852ec,_0x5b0227){return _0x1852ec===_0x5b0227;},'Vyutq':_0x1e2b99(0x1b1),'AgnTm':function(_0x16e244,_0x1c1e77){return _0x16e244===_0x1c1e77;},'JuXFd':'ySmQh','KIQlX':function(_0x31fdf1,_0x310b4b){return _0x31fdf1===_0x310b4b;},'eQCsl':_0x1e2b99(0x163),'BEgwS':_0x1e2b99(0x1a1),'zGltA':_0x1e2b99(0x139)};this[_0x1e2b99(0x1ba)]=null,this['config']=helper[_0x1e2b99(0x183)](helper[_0x1e2b99(0x187)]());if(this['config'][_0x1e2b99(0x15f)])throw new Error(this[_0x1e2b99(0x1be)]['error']);if(!_0x1049ff[_0x1e2b99(0x1a4)](isBrowserstackInfra))return;_0x1049ff[_0x1e2b99(0x186)](_0x1049ff[_0x1e2b99(0x185)](parseInt,helper[_0x1e2b99(0x141)](_0x1049ff[_0x1e2b99(0x18f)])),0x3)&&(_0x1049ff[_0x1e2b99(0x179)](_0x1049ff[_0x1e2b99(0x172)],_0x1049ff[_0x1e2b99(0x172)])?this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]={'localIdentifier':_0x11986e[_0x1e2b99(0x157)]()}:this[_0x1e2b99(0x1be)][_0x1e2b99(0x1b5)]=![]);_0x1049ff[_0x1e2b99(0x1c2)](_0x1049ff[_0x1e2b99(0x134)](parseInt,helper[_0x1e2b99(0x141)](_0x1049ff[_0x1e2b99(0x18f)])),4.5)&&(_0x1049ff[_0x1e2b99(0x16e)](_0x1049ff['JkxGJ'],_0x1049ff[_0x1e2b99(0x195)])?_0x4ef932[_0x1e2b99(0x158)](this[_0x1e2b99(0x1be)]):this[_0x1e2b99(0x1be)][_0x1e2b99(0x1b5)]=!![]);(helper[_0x1e2b99(0x162)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x173)])||helper[_0x1e2b99(0x162)](this['config'][_0x1e2b99(0x173)]['length']))&&(_0x1049ff[_0x1e2b99(0x18e)](_0x1049ff[_0x1e2b99(0x13f)],_0x1049ff[_0x1e2b99(0x13f)])?(helper['isUndefined'](this['config'][_0x1e2b99(0x155)])?_0x1049ff[_0x1e2b99(0x19f)](_0x1049ff[_0x1e2b99(0x132)],_0x1049ff[_0x1e2b99(0x132)])?logger[_0x1e2b99(0x1c0)](_0x1049ff['fYhPk']):(_0x4bfbf0[_0x1e2b99(0x15f)](_0x5d94fa['message']),_0x2a2132[_0x1e2b99(0x15a)](_0x169f35)):_0x1049ff['lGCKg'](_0x1049ff['znFjF'],_0x1049ff[_0x1e2b99(0x144)])?logger[_0x1e2b99(0x13d)](_0x1049ff[_0x1e2b99(0x1a5)]):_0x1c17c8[_0x1e2b99(0x13d)](_0x1049ff[_0x1e2b99(0x1a5)]),this[_0x1e2b99(0x1be)]['platforms']=[]):this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)][_0x1e2b99(0x19b)]=_0x14b983[_0x1e2b99(0x157)]());helper[_0x1e2b99(0x162)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x155)])&&(_0x1049ff[_0x1e2b99(0x19f)](_0x1049ff['lsrac'],_0x1049ff[_0x1e2b99(0x13b)])?(_0x1049ff[_0x1e2b99(0x18b)](this['config'][_0x1e2b99(0x173)]['length'],0x0)&&(_0x1049ff[_0x1e2b99(0x18b)](_0x1049ff[_0x1e2b99(0x15c)],_0x1049ff['aLJbQ'])?!_0x375d7f[_0x1e2b99(0x162)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)])&&_0x1049ff[_0x1e2b99(0x19f)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]['constructor'],_0x4f3b66)?this['config'][_0x1e2b99(0x191)][_0x1e2b99(0x19b)]=_0x47bf6b['generateLocalIdentifier']():this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]={'localIdentifier':_0x5819da[_0x1e2b99(0x157)]()}:logger['info'](_0x1049ff['tcqoJ'])),this[_0x1e2b99(0x1be)][_0x1e2b99(0x155)]=0x1):_0x1049ff[_0x1e2b99(0x185)](_0x3b0ff7,_0x1049ff[_0x1e2b99(0x167)])());!this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]&&(this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]=this[_0x1e2b99(0x1be)][_0x1e2b99(0x153)]||{});if(helper[_0x1e2b99(0x162)](helper[_0x1e2b99(0x1bf)](this[_0x1e2b99(0x1be)]))||helper['isUndefined'](helper['getAccessKey'](this[_0x1e2b99(0x1be)]))){if(_0x1049ff['zJRCx'](_0x1049ff[_0x1e2b99(0x14e)],_0x1049ff[_0x1e2b99(0x14e)]))throw new Error(_0x1049ff[_0x1e2b99(0x1a9)]);else this[_0x1e2b99(0x1be)]['useW3C']=!![];}if(helper[_0x1e2b99(0x18d)](this[_0x1e2b99(0x1be)])&&helper[_0x1e2b99(0x162)](helper[_0x1e2b99(0x164)](this[_0x1e2b99(0x1be)]))){if(_0x1049ff[_0x1e2b99(0x136)](_0x1049ff['gAELh'],_0x1049ff[_0x1e2b99(0x149)])){if(!helper['isUndefined'](this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)])&&_0x1049ff[_0x1e2b99(0x16d)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)][_0x1e2b99(0x1b6)],Object)){if(_0x1049ff[_0x1e2b99(0x19a)](_0x1049ff[_0x1e2b99(0x193)],_0x1049ff[_0x1e2b99(0x14c)])){const _0x18711b=_0x2dceec=>{const _0x4ef3ff=_0x1e2b99;_0x2c0ea8[_0x4ef3ff(0x15f)](_0x2dceec['message']),_0x3bc1f0[_0x4ef3ff(0x15a)](_0x2dceec);};_0x4972dc['on'](_0x1049ff[_0x1e2b99(0x145)],_0x18711b),_0xe3396b['on'](_0x1049ff[_0x1e2b99(0x190)],_0x18711b);}else this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)][_0x1e2b99(0x19b)]=helper[_0x1e2b99(0x157)]();}else _0x1049ff[_0x1e2b99(0x14b)](_0x1049ff[_0x1e2b99(0x1a3)],_0x1049ff[_0x1e2b99(0x1a3)])?this[_0x1e2b99(0x1be)]['browserStackLocalOptions']={'localIdentifier':helper[_0x1e2b99(0x157)]()}:this['config'][_0x1e2b99(0x1b5)]=![];}else _0x4c0859['error'](_0x1049ff[_0x1e2b99(0x1c3)],_0x3801a0[_0x1e2b99(0x166)]),_0x25f2b1['debug'](_0x4391ae);}helper[_0x1e2b99(0x1ad)](this['config']),helper[_0x1e2b99(0x197)](this[_0x1e2b99(0x1be)]);try{_0x1049ff[_0x1e2b99(0x160)](_0x1049ff['JuXFd'],_0x1049ff[_0x1e2b99(0x15d)])?helper[_0x1e2b99(0x158)](this[_0x1e2b99(0x1be)]):_0x953e79[_0x1e2b99(0x1c0)](_0x1049ff[_0x1e2b99(0x1a7)]);}catch(_0x4289d8){if(_0x1049ff[_0x1e2b99(0x1a0)](_0x1049ff[_0x1e2b99(0x156)],_0x1049ff[_0x1e2b99(0x1b8)]))throw new _0x4fbd53(_0x1049ff['sYxKd']);else logger[_0x1e2b99(0x15a)](_0x1049ff[_0x1e2b99(0x198)],_0x4289d8);}this[_0x1e2b99(0x159)](),this['setupBrowserstackLocal'](),this[_0x1e2b99(0x147)]();}['setupBrowserstackLocal'](){const _0x3008ef=a31_0x451c29,_0x215e7c={};_0x215e7c[_0x3008ef(0x146)]=function(_0xca2c05,_0x2a8412){return _0xca2c05!==_0x2a8412;},_0x215e7c[_0x3008ef(0x178)]=_0x3008ef(0x17c),_0x215e7c['DOWYo']=_0x3008ef(0x139),_0x215e7c[_0x3008ef(0x133)]=function(_0x2aacbd,_0x8c6ae5){return _0x2aacbd!==_0x8c6ae5;},_0x215e7c['GWDng']='kXsNP',_0x215e7c['jYlPV']=_0x3008ef(0x1a2),_0x215e7c[_0x3008ef(0x14d)]=function(_0x24feba,_0x1ecc24){return _0x24feba==_0x1ecc24;},_0x215e7c[_0x3008ef(0x148)]=_0x3008ef(0x171),_0x215e7c['yoXqk']=_0x3008ef(0x177),_0x215e7c[_0x3008ef(0x1b9)]=function(_0x1aff86,_0x387e02){return _0x1aff86==_0x387e02;},_0x215e7c[_0x3008ef(0x138)]=function(_0x4346d7,_0xdf8b12){return _0x4346d7===_0xdf8b12;},_0x215e7c['bGykZ']=_0x3008ef(0x196),_0x215e7c[_0x3008ef(0x154)]=function(_0x37e7f2,_0x4f3195){return _0x37e7f2===_0x4f3195;},_0x215e7c[_0x3008ef(0x182)]=_0x3008ef(0x16c),_0x215e7c[_0x3008ef(0x1ac)]=_0x3008ef(0x174),_0x215e7c[_0x3008ef(0x15e)]=_0x3008ef(0x150),_0x215e7c['OFuFv']=_0x3008ef(0x168),_0x215e7c['LJceL']='SIGINT',_0x215e7c[_0x3008ef(0x1af)]=_0x3008ef(0x142),_0x215e7c[_0x3008ef(0x192)]=function(_0x13c36f,_0x331ec6){return _0x13c36f===_0x331ec6;},_0x215e7c[_0x3008ef(0x1a6)]='LMOkQ',_0x215e7c[_0x3008ef(0x16b)]=_0x3008ef(0x14a),_0x215e7c[_0x3008ef(0x169)]=_0x3008ef(0x17a);const _0x4bcce9=_0x215e7c;if((_0x4bcce9[_0x3008ef(0x1b9)](this[_0x3008ef(0x1be)][_0x3008ef(0x1ba)],!![])||process[_0x3008ef(0x137)]['BROWSERSTACK_LOCAL'])&&(!this[_0x3008ef(0x1ba)]||!this[_0x3008ef(0x1ba)][_0x3008ef(0x1b4)]())){if(_0x4bcce9[_0x3008ef(0x138)](_0x4bcce9[_0x3008ef(0x1ae)],_0x4bcce9[_0x3008ef(0x1ae)]))try{if(_0x4bcce9[_0x3008ef(0x154)](_0x4bcce9[_0x3008ef(0x182)],_0x4bcce9[_0x3008ef(0x1ac)]))_0x4bcce9[_0x3008ef(0x146)](this['config'][_0x3008ef(0x173)][_0x3008ef(0x170)],0x0)&&_0x443b50[_0x3008ef(0x1c0)](_0x4bcce9[_0x3008ef(0x178)]),this[_0x3008ef(0x1be)][_0x3008ef(0x155)]=0x1;else{this['browserstackLocal']=helper[_0x3008ef(0x184)](this[_0x3008ef(0x1be)]),logger[_0x3008ef(0x1c0)](_0x4bcce9[_0x3008ef(0x15e)]);let _0x461d52=0x0;const _0x173b3e=async()=>{const _0x2d5e1f=_0x3008ef,_0x123b7e={};_0x123b7e['rUPAd']=_0x4bcce9[_0x2d5e1f(0x19e)];const _0x15abd4=_0x123b7e;_0x4bcce9[_0x2d5e1f(0x133)](_0x4bcce9[_0x2d5e1f(0x1c1)],_0x4bcce9['jYlPV'])?(_0x461d52++,_0x4bcce9[_0x2d5e1f(0x14d)](_0x461d52,0x1)&&await this[_0x2d5e1f(0x1c4)]()):_0x5b9e2f[_0x2d5e1f(0x15a)](_0x15abd4[_0x2d5e1f(0x17f)],_0x1ce593);};process['on'](_0x4bcce9[_0x3008ef(0x1ab)],_0x173b3e),process['on'](_0x4bcce9['LJceL'],_0x173b3e),process['on'](_0x4bcce9[_0x3008ef(0x1af)],_0x173b3e);}}catch(_0x2dc07d){_0x4bcce9[_0x3008ef(0x192)](_0x4bcce9[_0x3008ef(0x1a6)],_0x4bcce9[_0x3008ef(0x16b)])?_0x30a619[_0x3008ef(0x1c0)](_0x4bcce9[_0x3008ef(0x148)]):(logger[_0x3008ef(0x15f)](_0x4bcce9['AnmQj'],_0x2dc07d[_0x3008ef(0x166)]),logger[_0x3008ef(0x15a)](_0x2dc07d));}else _0x28cfb4['error'](_0x4bcce9[_0x3008ef(0x19d)],_0x3b753a[_0x3008ef(0x166)]);}}async[a31_0x451c29(0x1c4)](){const _0x5d870b=a31_0x451c29,_0x53db67={};_0x53db67[_0x5d870b(0x1b7)]=_0x5d870b(0x171),_0x53db67['bNbBu']=_0x5d870b(0x18a),_0x53db67['sFOiM']=function(_0x46b016,_0x1c2ec4){return _0x46b016!==_0x1c2ec4;},_0x53db67[_0x5d870b(0x151)]=_0x5d870b(0x1bb),_0x53db67[_0x5d870b(0x19c)]=_0x5d870b(0x175),_0x53db67[_0x5d870b(0x143)]=_0x5d870b(0x177);const _0x2cc235=_0x53db67;if(this[_0x5d870b(0x1ba)]&&this[_0x5d870b(0x1ba)][_0x5d870b(0x1b4)]())try{_0x2cc235[_0x5d870b(0x165)](_0x2cc235[_0x5d870b(0x151)],_0x2cc235[_0x5d870b(0x151)])?(_0x5b2754[_0x5d870b(0x162)](this[_0x5d870b(0x1be)][_0x5d870b(0x155)])?_0x347ed2[_0x5d870b(0x1c0)](_0x2cc235[_0x5d870b(0x1b7)]):_0x5541ba['warn'](_0x2cc235['bNbBu']),this['config'][_0x5d870b(0x173)]=[]):(await helper[_0x5d870b(0x135)](this[_0x5d870b(0x1ba)]),logger[_0x5d870b(0x1c0)](_0x2cc235['HUXiL']));}catch(_0x16a864){logger['error'](_0x2cc235['QSToP'],_0x16a864[_0x5d870b(0x166)]);}}[a31_0x451c29(0x147)](){const _0x339d37=a31_0x451c29,_0x5189cf={'Rmybj':function(_0x3b136c,_0x2ca590){return _0x3b136c(_0x2ca590);},'OKzmE':'./setKeepAlive'};_0x5189cf[_0x339d37(0x140)](require,_0x5189cf[_0x339d37(0x152)])();}[a31_0x451c29(0x159)](){const _0x2c0aab=a31_0x451c29,_0x200f34={};_0x200f34[_0x2c0aab(0x13e)]='unhandledRejection',_0x200f34['ZUEyz']='uncaughtException';const _0x5cbd64=_0x200f34,_0x178932=_0x1d5f67=>{const _0x167f95=_0x2c0aab;logger[_0x167f95(0x15f)](_0x1d5f67[_0x167f95(0x166)]),logger[_0x167f95(0x15a)](_0x1d5f67);};process['on'](_0x5cbd64[_0x2c0aab(0x13e)],_0x178932),process['on'](_0x5cbd64[_0x2c0aab(0x189)],_0x178932);}}exports['default']=BrowserStackSetup;