browserstack-node-sdk 1.33.6 → 1.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test-observability.js +1 -0
  44. package/src/bin/cucumber-js/test.setup.js +1 -1
  45. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  46. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  47. package/src/bin/integrations/command.js +1 -1
  48. package/src/bin/integrations/constants.js +1 -1
  49. package/src/bin/jest/command.js +1 -1
  50. package/src/bin/jest/customImplements/customCircus.js +1 -1
  51. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  52. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  53. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  54. package/src/bin/jest/jest.setup.js +1 -1
  55. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  56. package/src/bin/jest/test-observability/helper.js +1 -1
  57. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  58. package/src/bin/jest/test-observability/test-details.js +1 -1
  59. package/src/bin/jest/test_before.setup.js +1 -1
  60. package/src/bin/launcher/launcher.js +1 -1
  61. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  62. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  63. package/src/bin/mocha/command.js +1 -1
  64. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  65. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  66. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  67. package/src/bin/mocha/test.setup.js +1 -1
  68. package/src/bin/nightwatch/command.js +1 -1
  69. package/src/bin/playwright/accessibility-helper.js +1 -1
  70. package/src/bin/playwright/command.js +1 -1
  71. package/src/bin/playwright/globalSetup.js +1 -1
  72. package/src/bin/playwright/mock-process.js +1 -1
  73. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  74. package/src/bin/playwright/patches.js +1 -1
  75. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  76. package/src/bin/playwright/reporter/reporter.js +1 -1
  77. package/src/bin/playwright/reporter/test-details.js +1 -1
  78. package/src/bin/playwright/sessionDetails.js +1 -1
  79. package/src/bin/runner.js +1 -1
  80. package/src/bin/setup.js +1 -1
  81. package/src/bin/test-runner/index.js +1 -1
  82. package/src/bin/test-runner/runTest.js +1 -1
  83. package/src/bin/test-runner/testWorker.js +1 -1
  84. package/src/bin/utils/constants.js +1 -1
  85. package/src/bin/utils/log4jsAppender.js +1 -1
  86. package/src/bin/utils/logPatcher.js +1 -1
  87. package/src/bin/utils/logReportingAPI.js +1 -1
  88. package/src/bin/vanilla-js/command.js +1 -1
  89. package/src/browserStackSdk.js +1 -1
  90. package/src/helpers/BrowserStackSetup.js +1 -1
  91. package/src/helpers/accessibility-automation/constants.js +1 -1
  92. package/src/helpers/accessibility-automation/helper.js +1 -1
  93. package/src/helpers/accessibility-automation/scripts.js +1 -1
  94. package/src/helpers/ats/constants.js +1 -1
  95. package/src/helpers/ats/helper.js +1 -1
  96. package/src/helpers/capsMapping.js +1 -1
  97. package/src/helpers/globals.js +1 -1
  98. package/src/helpers/helper.js +1 -1
  99. package/src/helpers/logger.js +1 -1
  100. package/src/helpers/patchHelpers.js +1 -1
  101. package/src/helpers/percy/Percy.js +1 -1
  102. package/src/helpers/percy/PercyBinary.js +1 -1
  103. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  104. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  105. package/src/helpers/percy/PercySDK.js +1 -1
  106. package/src/helpers/percy/index.js +1 -1
  107. package/src/helpers/percy/utils.js +1 -1
  108. package/src/helpers/performance-tester.js +1 -1
  109. package/src/helpers/request-spy.js +1 -1
  110. package/src/helpers/setKeepAlive.js +1 -1
  111. package/src/helpers/test-observability/constants.js +1 -1
  112. package/src/helpers/test-observability/error-handler.js +1 -1
  113. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  114. package/src/helpers/test-observability/sessionHandler.js +1 -1
  115. package/src/helpers/test-observability/utils.js +1 -1
  116. package/src/helpers/testhub/constants.js +1 -1
  117. package/src/helpers/testhub/testhubHandler.js +1 -1
  118. package/src/helpers/testhub/utils.js +1 -1
  119. package/src/helpers/w3cMapping.js +1 -1
  120. package/src/hubAllocationMethods.js +1 -1
  121. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a44_0x486760=a44_0x40dc;(function(_0x4b4df0,_0x26749c){const _0x3c9108=a44_0x40dc,_0x445088=_0x4b4df0();while(!![]){try{const _0x228eb0=-parseInt(_0x3c9108(0x22c))/0x1*(parseInt(_0x3c9108(0x207))/0x2)+parseInt(_0x3c9108(0x246))/0x3+-parseInt(_0x3c9108(0x1e9))/0x4*(parseInt(_0x3c9108(0x22f))/0x5)+-parseInt(_0x3c9108(0x20b))/0x6*(-parseInt(_0x3c9108(0x1f8))/0x7)+-parseInt(_0x3c9108(0x21c))/0x8*(parseInt(_0x3c9108(0x1ef))/0x9)+-parseInt(_0x3c9108(0x23c))/0xa*(-parseInt(_0x3c9108(0x210))/0xb)+parseInt(_0x3c9108(0x222))/0xc;if(_0x228eb0===_0x26749c)break;else _0x445088['push'](_0x445088['shift']());}catch(_0x7cb56f){_0x445088['push'](_0x445088['shift']());}}}(a44_0x28f7,0xbc0f8));function a44_0x40dc(_0x1454fb,_0x204857){const _0x28f7cd=a44_0x28f7();return a44_0x40dc=function(_0x40dc6e,_0x1d4913){_0x40dc6e=_0x40dc6e-0x1e6;let _0x1a2d09=_0x28f7cd[_0x40dc6e];return _0x1a2d09;},a44_0x40dc(_0x1454fb,_0x204857);}function a44_0x28f7(){const _0x41e339=['972642iBynVK','Worker','config','platform-run-start','util','39831CahYFU','accessibility','../../helpers/logger','IPUCq','emit','then','WLamc','parallelCucumberRun','results','jest-worker','cucumberWorker','stdout','6064aRMkaw','IWgmo','map','yiSfq','GajPU','log','42458700EYSSte','getStdout','pipe','mxySh','test-file-success','zBKnt','getStderr','qESxZ','../../helpers/accessibility-automation/helper','./testWorker.js','2YioxEt','exitCode','kRBYV','435UJZMQb','exit','bXVhm','platform-run-success','BkQch','platforms','error','ZApBW','wmvvM','rrikq','iYUpf','\x20for','wbysb','30rvnASZ','stderr','getWorkers','resolve','platform-run-failure','dEDWa','all','mQmPG','Workers\x20failed\x20to\x20exit\x20gracefully','_workerPool','1645476cZkAiz','OuXAO','eyCEj','winstonLogger','MOCHA','length','WdClb','49996nQlyrs','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','wwSsS','forEach','vanillaWorker','send','14400nLlykr','../../helpers/test-observability/utils','platform','kYtAr','qWdqw','hSQAb','../../helpers/test-observability/sessionHandler','test-file-start','jCGoj','7BqxtQa','AldUL','Running\x20','json','worker','test-file-failure','VvjYO','p-limit','AFvCf','emittery','stop','gXgKj','yUnUl','configuration','zduuB','1189178BTyDza','ignDP','debug','end'];a44_0x28f7=function(){return _0x41e339;};return a44_0x28f7();}const Worker=require(a44_0x486760(0x219))[a44_0x486760(0x20c)],Emittery=require(a44_0x486760(0x201)),pLimit=require(a44_0x486760(0x1ff)),util=require(a44_0x486760(0x20f)),logger=require(a44_0x486760(0x212))[a44_0x486760(0x249)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require(a44_0x486760(0x22a)),SessionHandler=require(a44_0x486760(0x1f5)),{getFrameworkVersion,isTestObservabilitySession,debug}=require(a44_0x486760(0x1f0)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),checkAccessibility=_0x42fd51=>{const _0x2d282d=a44_0x486760,_0x3f27f3={};_0x3f27f3[_0x2d282d(0x200)]=function(_0x33be6b,_0x464547){return _0x33be6b===_0x464547;};const _0x470ed8=_0x3f27f3;let _0xfec3ee=![];try{_0x42fd51['platforms'][_0x2d282d(0x1ec)](_0x1a2b58=>{const _0x1da916=_0x2d282d;if(_0x470ed8[_0x1da916(0x200)](_0x1a2b58[_0x1da916(0x211)],!![]))return _0xfec3ee=!![],!![];});}catch(_0x3c584b){logger[_0x2d282d(0x209)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x3c584b);}return _0xfec3ee;};exports['parallelTestRun']=(_0x11aa63,_0x5b5738,_0x2ab0e0)=>new Promise(async _0x1ae6e0=>{const _0x508090=a44_0x486760,_0x3d2f5d={'WdClb':'failureCount','qWdqw':function(_0x3797e3,_0x5931fc){return _0x3797e3+_0x5931fc;},'kRBYV':_0x508090(0x218),'WLamc':_0x508090(0x244),'hSQAb':function(_0x3b7999,_0x46e870){return _0x3b7999(_0x46e870);},'bXVhm':function(_0x654362,_0x499453){return _0x654362(_0x499453);},'qESxZ':_0x508090(0x1f6),'zduuB':_0x508090(0x22b),'kYtAr':'worker','yUnUl':_0x508090(0x1fb),'IzGaJ':_0x508090(0x224),'OuXAO':function(_0x26e3d5,_0x411134){return _0x26e3d5*_0x411134;},'eyCEj':'test-file-success','XodUC':_0x508090(0x1fd),'VyVzn':function(_0x2c1c4f,_0x3078e5){return _0x2c1c4f*_0x3078e5;}},_0x377970=_0x2ab0e0[_0x508090(0x20d)],_0x2f203a={},_0x177d1f=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x508090(0x1e6)],_0x2ab0e0),_0x5e0489=new Worker(require[_0x508090(0x23f)](_0x3d2f5d[_0x508090(0x206)]),{'exposedMethods':[_0x3d2f5d[_0x508090(0x1f2)]],'forkOptions':{'serialization':_0x3d2f5d[_0x508090(0x204)],'stdio':_0x3d2f5d['IzGaJ']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x3d2f5d[_0x508090(0x247)](_0x5b5738,0x1),'enableWorkerThreads':!![]}),_0x2f73f2=new Emittery();_0x2f73f2['on'](_0x3d2f5d[_0x508090(0x248)],_0x522610=>{const _0x25e5b2=_0x508090;_0x2f203a[_0x522610[0x0]]?(_0x2f203a[_0x522610[0x0]][_0x3d2f5d[_0x25e5b2(0x1e8)]]=_0x3d2f5d[_0x25e5b2(0x1f3)](_0x2f203a[_0x522610[0x0]][_0x3d2f5d['WdClb']],_0x522610[0x1][_0x3d2f5d[_0x25e5b2(0x1e8)]]),_0x2f203a[_0x522610[0x0]][_0x3d2f5d[_0x25e5b2(0x22e)]]=[..._0x2f203a[_0x522610[0x0]][_0x3d2f5d[_0x25e5b2(0x22e)]],..._0x522610[0x1][_0x3d2f5d[_0x25e5b2(0x22e)]]]):_0x2f203a[_0x522610[0x0]]={'failureCount':_0x522610[0x1][_0x3d2f5d['WdClb']],'results':[..._0x522610[0x1][_0x3d2f5d[_0x25e5b2(0x22e)]]]};}),_0x2f73f2['on'](_0x3d2f5d['XodUC'],_0x8f4f7e=>console[_0x508090(0x221)](_0x8f4f7e[0x1]));_0x5e0489[_0x508090(0x223)]()&&_0x5e0489[_0x508090(0x223)]()['pipe'](process[_0x508090(0x21b)]);_0x5e0489['getStderr']()&&_0x5e0489[_0x508090(0x228)]()[_0x508090(0x224)](process[_0x508090(0x23d)]);const _0x4fb4fb=async()=>{const _0x3db0d9=_0x508090,{forceExited:_0x591151}=await _0x5e0489[_0x3db0d9(0x20a)]();_0x591151&&console[_0x3db0d9(0x235)](_0x3d2f5d[_0x3db0d9(0x216)]);try{await TestHubHandler[_0x3db0d9(0x202)]();}catch(_0x4f0c5d){_0x3d2f5d[_0x3db0d9(0x1f4)](debug,_0x3db0d9(0x1ea)+_0x4f0c5d);}_0x3d2f5d[_0x3db0d9(0x231)](_0x1ae6e0,_0x2f203a);},_0xec37a9=_0x3d2f5d[_0x508090(0x231)](pLimit,_0x3d2f5d['VyVzn'](_0x5b5738,0x1)),_0x702a9d=_0x190a71=>_0xec37a9(async()=>{const _0x99aa3b=_0x508090;return await _0x2f73f2[_0x99aa3b(0x214)](_0x3d2f5d[_0x99aa3b(0x229)],_0x190a71),_0x5e0489[_0x99aa3b(0x1fc)](_0x190a71,_0x377970);});Promise[_0x508090(0x242)](_0x11aa63[_0x508090(0x21e)](_0x4a4818=>_0x702a9d(_0x4a4818)[_0x508090(0x215)](_0x4de277=>_0x2f73f2[_0x508090(0x214)](_0x508090(0x226),[_0x4a4818[_0x508090(0x205)]['platform'],_0x4de277]),_0x5ec25b=>_0x2f73f2[_0x508090(0x214)]('test-file-failure',[_0x4a4818,_0x5ec25b]))))['then'](_0x4fb4fb,_0x4fb4fb);}),exports[a44_0x486760(0x217)]=(_0x75b44d,_0xbbcbd8,_0x4454a9,_0x1743a9,_0x2979dd)=>{const _0xd67405=a44_0x486760,_0x33c828={'mQmPG':_0xd67405(0x244),'BkQch':function(_0x30370b,_0x34b957){return _0x30370b(_0x34b957);},'sgiqO':_0xd67405(0x20e),'xSABC':_0xd67405(0x22b),'IafmG':'cucumberWorker','IWgmo':'json','gXgKj':_0xd67405(0x224),'iYUpf':_0xd67405(0x232),'GajPU':_0xd67405(0x240)};return new Promise(_0x3c7df7=>{const _0x233b13=_0xd67405,_0x399f96={};_0x399f96[_0x233b13(0x213)]=_0x33c828['sgiqO'];const _0xf0f6c0=_0x399f96,_0x179702=[],_0x220694=new Worker(require['resolve'](_0x33c828['xSABC']),{'exposedMethods':[_0x33c828['IafmG']],'forkOptions':{'serialization':_0x33c828[_0x233b13(0x21d)],'stdio':_0x33c828[_0x233b13(0x203)]},'numWorkers':_0x75b44d[_0x233b13(0x1e7)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x5cec9a=new Emittery();_0x5cec9a['on'](_0x33c828[_0x233b13(0x239)],_0x28a567=>{_0x179702['push']([_0x28a567[0x0],_0x28a567[0x1]]);}),_0x5cec9a['on'](_0x33c828[_0x233b13(0x220)],_0x42742e=>console[_0x233b13(0x221)](_0x42742e[0x1]));_0x220694[_0x233b13(0x223)]()&&_0x220694[_0x233b13(0x223)]()[_0x233b13(0x224)](process[_0x233b13(0x21b)]);_0x220694[_0x233b13(0x228)]()&&_0x220694[_0x233b13(0x228)]()[_0x233b13(0x224)](process['stderr']);const _0x4e5f93=async()=>{const _0x154472=_0x233b13,{forceExited:_0x2d593f}=await _0x220694[_0x154472(0x20a)]();_0x2d593f&&console[_0x154472(0x235)](_0x33c828[_0x154472(0x243)]),_0x33c828[_0x154472(0x233)](_0x3c7df7,_0x179702);},_0x9ce61d=_0x33c828[_0x233b13(0x233)](pLimit,_0x75b44d[_0x233b13(0x1e7)]||0x1),_0x5c961a=(_0x5c43a2,_0xd501d7)=>_0x9ce61d(async()=>{const _0x2bf1d6=_0x233b13;return await _0x5cec9a[_0x2bf1d6(0x214)](_0xf0f6c0[_0x2bf1d6(0x213)],_0x5c43a2),_0xbbcbd8['platformCaps']=_0x4454a9[_0x2bf1d6(0x234)][_0xd501d7],_0x220694[_0x2bf1d6(0x21a)](_0x5c43a2,_0xbbcbd8,_0x4454a9,_0x1743a9,_0x2979dd);});Promise[_0x233b13(0x242)](_0x75b44d['map']((_0x5c85f8,_0x4aeb8b)=>_0x5c961a(_0x5c85f8,_0x4aeb8b)[_0x233b13(0x215)](_0x257921=>_0x5cec9a[_0x233b13(0x214)](_0x233b13(0x232),[_0x5c85f8,_0x257921]),_0x4bcce6=>_0x5cec9a[_0x233b13(0x214)]('platform-run-failure',[_0x5c85f8,_0x4bcce6]))))[_0x233b13(0x215)](_0x4e5f93,_0x4e5f93);});},exports['parallelVanillaRun']=(_0x37af15,_0x5b044c)=>new Promise(_0x1bda29=>{const _0x3a7667=a44_0x486760,_0x5012d8={'piblP':function(_0x540dc4,_0x2961fe){return _0x540dc4===_0x2961fe;},'rrikq':function(_0x117da2,_0x1036a3){return _0x117da2!==_0x1036a3;},'wbysb':_0x3a7667(0x230),'AldUL':_0x3a7667(0x244),'ignDP':function(_0x5da586,_0x4d62fa){return _0x5da586(_0x4d62fa);},'xADBD':_0x3a7667(0x22b),'mxySh':'vanillaWorker','wwSsS':_0x3a7667(0x1fb),'zBKnt':'pipe','dEDWa':_0x3a7667(0x226),'jCGoj':_0x3a7667(0x1fd),'wmvvM':function(_0x107068,_0x2c5c9c){return _0x107068(_0x2c5c9c);}},_0x463b8d={},_0x9994a6=new Worker(require[_0x3a7667(0x23f)](_0x5012d8['xADBD']),{'exposedMethods':[_0x5012d8[_0x3a7667(0x225)]],'forkOptions':{'serialization':_0x5012d8[_0x3a7667(0x1eb)],'stdio':_0x5012d8[_0x3a7667(0x227)]},'numWorkers':_0x5b044c,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3be964=new Emittery();_0x3be964['on'](_0x5012d8[_0x3a7667(0x241)],_0x3c4b4d=>{const _0x2d55d4=_0x3a7667;_0x3c4b4d[0x0]&&logger['info'](_0x2d55d4(0x1fa)+_0x3c4b4d[0x1]+_0x2d55d4(0x23a),_0x3c4b4d[0x0]);}),_0x3be964['on'](_0x5012d8[_0x3a7667(0x1f7)],_0x67f981=>{const _0x311adc=_0x3a7667;process[_0x311adc(0x22d)]=0x1;});_0x9994a6[_0x3a7667(0x223)]()&&_0x9994a6[_0x3a7667(0x223)]()[_0x3a7667(0x224)](process[_0x3a7667(0x21b)]);_0x9994a6[_0x3a7667(0x228)]()&&_0x9994a6[_0x3a7667(0x228)]()['pipe'](process['stderr']);const _0x5e65fe=async()=>{const _0x2fcafa=_0x3a7667,_0xa6e3e5={'yiSfq':function(_0x402c74,_0x523e6f){return _0x5012d8['piblP'](_0x402c74,_0x523e6f);},'VvjYO':function(_0x2d3ca0,_0x4b30dd){const _0x4ced83=a44_0x40dc;return _0x5012d8[_0x4ced83(0x238)](_0x2d3ca0,_0x4b30dd);},'ZApBW':_0x5012d8[_0x2fcafa(0x23b)]};let _0x29fda6=0x0;const _0x5d3e67=_0x9994a6[_0x2fcafa(0x245)][_0x2fcafa(0x23e)](),_0xe2cbe2=()=>{},_0x30a482=_0x5d3e67[_0x2fcafa(0x21e)](async _0x318fc0=>{const _0x2a2438=_0x2fcafa;_0x318fc0[_0x2a2438(0x1ee)]([0x2,![]],_0xe2cbe2,_0xe2cbe2,_0xe2cbe2),_0x318fc0['_child']['on'](_0xa6e3e5[_0x2a2438(0x236)],_0x514f02=>{const _0x9234bf=_0x2a2438;_0xa6e3e5[_0x9234bf(0x21f)](_0x29fda6,0x0)&&_0xa6e3e5[_0x9234bf(0x1fe)](_0x514f02,0x0)&&(_0x29fda6=_0x514f02);}),await _0x318fc0['waitForExit']();});await Promise[_0x2fcafa(0x242)](_0x30a482),process[_0x2fcafa(0x22d)]=_0x29fda6;const {forceExited:_0x1e4cd0}=await _0x9994a6[_0x2fcafa(0x20a)]();_0x1e4cd0&&console[_0x2fcafa(0x235)](_0x5012d8[_0x2fcafa(0x1f9)]),_0x5012d8[_0x2fcafa(0x208)](_0x1bda29,_0x463b8d);},_0x127583=_0x5012d8[_0x3a7667(0x237)](pLimit,_0x5b044c),_0x1c065c=_0x4f2888=>_0x127583(async()=>{const _0x4fddd0=_0x3a7667;return _0x9994a6[_0x4fddd0(0x1ed)](_0x4f2888);});Promise[_0x3a7667(0x242)](_0x37af15[_0x3a7667(0x21e)](_0x2626ff=>_0x1c065c(_0x2626ff)[_0x3a7667(0x215)](_0x38f94f=>_0x3be964[_0x3a7667(0x214)](_0x3a7667(0x226),[_0x2626ff['configuration'][_0x3a7667(0x1f1)],_0x2626ff['configuration']['file']]),_0x1d9145=>_0x3be964[_0x3a7667(0x214)](_0x3a7667(0x1fd),[_0x2626ff,_0x1d9145]))))[_0x3a7667(0x215)](_0x5e65fe,_0x5e65fe);});
1
+ const a45_0x3272cb=a45_0xe4fb;(function(_0x46f6e7,_0xe109db){const _0x560c48=a45_0xe4fb,_0x514d8d=_0x46f6e7();while(!![]){try{const _0x36ffd8=-parseInt(_0x560c48(0x92))/0x1+parseInt(_0x560c48(0xd3))/0x2+parseInt(_0x560c48(0xb8))/0x3+-parseInt(_0x560c48(0x83))/0x4*(-parseInt(_0x560c48(0x96))/0x5)+-parseInt(_0x560c48(0xc6))/0x6*(parseInt(_0x560c48(0xc7))/0x7)+parseInt(_0x560c48(0x8a))/0x8*(parseInt(_0x560c48(0xa1))/0x9)+-parseInt(_0x560c48(0xb9))/0xa;if(_0x36ffd8===_0xe109db)break;else _0x514d8d['push'](_0x514d8d['shift']());}catch(_0x55f46c){_0x514d8d['push'](_0x514d8d['shift']());}}}(a45_0x4966,0x62929));const Worker=require(a45_0x3272cb(0xda))['Worker'],Emittery=require(a45_0x3272cb(0xde)),pLimit=require(a45_0x3272cb(0x93)),util=require('util'),logger=require(a45_0x3272cb(0xaa))[a45_0x3272cb(0xd1)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a45_0x3272cb(0x87)),{FRAMEWORKS}=require(a45_0x3272cb(0x90));function a45_0x4966(){const _0x32ef44=['test-file-success','../../helpers/testhub/testhubHandler','length','push','24lOSxQc','error','file','info','mWAMr','zeDVY','../../helpers/test-observability/constants','BJgoQ','748825tEeTZc','p-limit','jLRyc','cucumberWorker','5bRxHAZ','parallelVanillaRun','QjTDV','yscEs','stop','config','platforms','MOCHA','results','EaLkP','waitForExit','1064673gZNYyk','wunbR','jCihw','platform-run-success','ivtLc','exit','./testWorker.js','kQnYx','CQQjt','../../helpers/logger','Workers\x20failed\x20to\x20exit\x20gracefully','EsQIg','resolve','RSvJw','parallelCucumberRun','QIdIs','getStdout','\x20for','BmAgL','tjJJv','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','test-file-failure','platform-run-failure','1922151QxLsvN','620070uBZENh','Nzomj','failureCount','MJRei','_child','emit','mfWGM','QMGCC','zcWcr','AJwqu','wNjIW','NNEGA','log','2906394LcMMEL','7RcNzhL','worker','kjYNo','_workerPool','stderr','launchBuild','json','BqODH','getWorkers','stdout','winstonLogger','zOKVV','970570myvJDM','PeNyL','tqctF','getStderr','parallelTestRun','configuration','OPsQQ','jest-worker','vaRld','then','pipe','emittery','vanillaWorker','map','exitCode','all','end','dixJT','872364VaApph','TNCvX','platform'];a45_0x4966=function(){return _0x32ef44;};return a45_0x4966();}function a45_0xe4fb(_0x12a514,_0x1f1546){const _0x496668=a45_0x4966();return a45_0xe4fb=function(_0xe4fbb7,_0x5258fa){_0xe4fbb7=_0xe4fbb7-0x7e;let _0xcec531=_0x496668[_0xe4fbb7];return _0xcec531;},a45_0xe4fb(_0x12a514,_0x1f1546);}exports[a45_0x3272cb(0xd7)]=(_0x8127ee,_0x14a775,_0x5c37b7)=>new Promise(async _0x1eecfb=>{const _0x399730=a45_0x3272cb,_0xc6c695={'AJwqu':_0x399730(0xbb),'OPsQQ':function(_0x5bf2c1,_0x2b7f76){return _0x5bf2c1+_0x2b7f76;},'EsQIg':_0x399730(0x9e),'PeNyL':_0x399730(0xab),'tqctF':function(_0x46d2c5,_0x1ee0b7){return _0x46d2c5(_0x1ee0b7);},'yscEs':'test-file-start','jLRyc':_0x399730(0xa7),'TNCvX':_0x399730(0xc8),'BmAgL':_0x399730(0xcd),'mfWGM':_0x399730(0xdd),'kjYNo':function(_0x1d4fc9,_0x886775){return _0x1d4fc9*_0x886775;},'QMGCC':_0x399730(0x86),'ivtLc':_0x399730(0xb6),'vPVFW':function(_0x5eec59,_0x300f9a){return _0x5eec59(_0x300f9a);}},_0x11f0fd=_0x5c37b7[_0x399730(0x9b)],_0xcf1b01={},_0x3f286a=await TestHubHandler[_0x399730(0xcc)](FRAMEWORKS[_0x399730(0x9d)],_0x5c37b7),_0x11b58b=new Worker(require[_0x399730(0xad)](_0xc6c695[_0x399730(0x94)]),{'exposedMethods':[_0xc6c695[_0x399730(0x84)]],'forkOptions':{'serialization':_0xc6c695[_0x399730(0xb3)],'stdio':_0xc6c695[_0x399730(0xbf)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0xc6c695[_0x399730(0xc9)](_0x14a775,0x1),'enableWorkerThreads':!![]}),_0x3001d4=new Emittery();_0x3001d4['on'](_0xc6c695[_0x399730(0xc0)],_0x315505=>{const _0x26a9b3=_0x399730;_0xcf1b01[_0x315505[0x0]]?(_0xcf1b01[_0x315505[0x0]][_0xc6c695[_0x26a9b3(0xc2)]]=_0xc6c695[_0x26a9b3(0xd9)](_0xcf1b01[_0x315505[0x0]][_0xc6c695[_0x26a9b3(0xc2)]],_0x315505[0x1][_0xc6c695[_0x26a9b3(0xc2)]]),_0xcf1b01[_0x315505[0x0]][_0xc6c695['EsQIg']]=[..._0xcf1b01[_0x315505[0x0]][_0xc6c695[_0x26a9b3(0xac)]],..._0x315505[0x1][_0xc6c695[_0x26a9b3(0xac)]]]):_0xcf1b01[_0x315505[0x0]]={'failureCount':_0x315505[0x1][_0xc6c695[_0x26a9b3(0xc2)]],'results':[..._0x315505[0x1][_0xc6c695['EsQIg']]]};}),_0x3001d4['on'](_0xc6c695[_0x399730(0xa5)],_0x1a9ed9=>console[_0x399730(0xc5)](_0x1a9ed9[0x1]));_0x11b58b[_0x399730(0xb1)]()&&_0x11b58b['getStdout']()['pipe'](process[_0x399730(0xd0)]);_0x11b58b[_0x399730(0xd6)]()&&_0x11b58b[_0x399730(0xd6)]()['pipe'](process['stderr']);const _0x34f8b6=async()=>{const _0x1577ec=_0x399730,{forceExited:_0xd1b288}=await _0x11b58b[_0x1577ec(0x81)]();_0xd1b288&&console[_0x1577ec(0x8b)](_0xc6c695[_0x1577ec(0xd4)]);try{await TestHubHandler[_0x1577ec(0x9a)]();}catch(_0x40423c){_0xc6c695[_0x1577ec(0xd5)](debug,_0x1577ec(0xb5)+_0x40423c);}_0xc6c695[_0x1577ec(0xd5)](_0x1eecfb,_0xcf1b01);},_0x5d2270=_0xc6c695['vPVFW'](pLimit,_0xc6c695[_0x399730(0xc9)](_0x14a775,0x1)),_0x183619=_0x3d7b1f=>_0x5d2270(async()=>{const _0x15b82e=_0x399730;return await _0x3001d4[_0x15b82e(0xbe)](_0xc6c695[_0x15b82e(0x99)],_0x3d7b1f),_0x11b58b[_0x15b82e(0xc8)](_0x3d7b1f,_0x11f0fd);});Promise[_0x399730(0x80)](_0x8127ee[_0x399730(0x7e)](_0x3ad9c7=>_0x183619(_0x3ad9c7)[_0x399730(0xdc)](_0x1c202a=>_0x3001d4['emit'](_0x399730(0x86),[_0x3ad9c7['configuration']['platform'],_0x1c202a]),_0x30d59f=>_0x3001d4[_0x399730(0xbe)]('test-file-failure',[_0x3ad9c7,_0x30d59f]))))[_0x399730(0xdc)](_0x34f8b6,_0x34f8b6);}),exports[a45_0x3272cb(0xaf)]=(_0x16034f,_0x44594a,_0x40aa2d,_0x5d39e2,_0x47d4fa)=>{const _0x5df944=a45_0x3272cb,_0x493896={'RSvJw':_0x5df944(0xab),'zOKVV':function(_0x2834e1,_0x29bee4){return _0x2834e1(_0x29bee4);},'wNjIW':'platform-run-start','Nzomj':_0x5df944(0xa7),'BqODH':_0x5df944(0x95),'dixJT':_0x5df944(0xcd),'wunbR':'pipe','EBTYV':_0x5df944(0xa4),'NNEGA':_0x5df944(0xb7),'jCihw':function(_0x2f218d,_0x54c5f0){return _0x2f218d(_0x54c5f0);}};return new Promise(_0x2e9f03=>{const _0xc70089=_0x5df944,_0x38ab12={};_0x38ab12[_0xc70089(0xb4)]=_0x493896[_0xc70089(0xc3)];const _0x3725a3=_0x38ab12,_0x1dead1=[],_0x3ff51a=new Worker(require['resolve'](_0x493896[_0xc70089(0xba)]),{'exposedMethods':[_0x493896[_0xc70089(0xce)]],'forkOptions':{'serialization':_0x493896[_0xc70089(0x82)],'stdio':_0x493896[_0xc70089(0xa2)]},'numWorkers':_0x16034f[_0xc70089(0x88)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x422349=new Emittery();_0x422349['on'](_0x493896['EBTYV'],_0x374c1d=>{const _0x9b5a88=_0xc70089;_0x1dead1[_0x9b5a88(0x89)]([_0x374c1d[0x0],_0x374c1d[0x1]]);}),_0x422349['on'](_0x493896[_0xc70089(0xc4)],_0x564565=>console[_0xc70089(0xc5)](_0x564565[0x1]));_0x3ff51a['getStdout']()&&_0x3ff51a[_0xc70089(0xb1)]()[_0xc70089(0xdd)](process[_0xc70089(0xd0)]);_0x3ff51a[_0xc70089(0xd6)]()&&_0x3ff51a['getStderr']()[_0xc70089(0xdd)](process[_0xc70089(0xcb)]);const _0x1b4e82=async()=>{const _0x9bf342=_0xc70089,{forceExited:_0x6ee9a}=await _0x3ff51a[_0x9bf342(0x81)]();_0x6ee9a&&console['error'](_0x493896[_0x9bf342(0xae)]),_0x493896[_0x9bf342(0xd2)](_0x2e9f03,_0x1dead1);},_0xd3d06f=_0x493896[_0xc70089(0xa3)](pLimit,_0x16034f[_0xc70089(0x88)]||0x1),_0x52e117=(_0x589d32,_0x3849e2)=>_0xd3d06f(async()=>{const _0xbd2abd=_0xc70089;return await _0x422349[_0xbd2abd(0xbe)](_0x3725a3[_0xbd2abd(0xb4)],_0x589d32),_0x44594a['platformCaps']=_0x40aa2d[_0xbd2abd(0x9c)][_0x3849e2],_0x3ff51a[_0xbd2abd(0x95)](_0x589d32,_0x44594a,_0x40aa2d,_0x5d39e2,_0x47d4fa);});Promise[_0xc70089(0x80)](_0x16034f[_0xc70089(0x7e)]((_0x29473e,_0x2805d2)=>_0x52e117(_0x29473e,_0x2805d2)['then'](_0x14a383=>_0x422349[_0xc70089(0xbe)](_0xc70089(0xa4),[_0x29473e,_0x14a383]),_0x1e5fe2=>_0x422349['emit'](_0xc70089(0xb7),[_0x29473e,_0x1e5fe2]))))[_0xc70089(0xdc)](_0x1b4e82,_0x1b4e82);});},exports[a45_0x3272cb(0x97)]=(_0x61ce19,_0x25b495)=>new Promise(_0x2d19b9=>{const _0xcc39eb=a45_0x3272cb,_0x54cfc5={'kQnYx':function(_0xd416f,_0x73159a){return _0xd416f===_0x73159a;},'zeDVY':function(_0x59052f,_0x5a65ce){return _0x59052f!==_0x5a65ce;},'EaLkP':_0xcc39eb(0xa6),'TXUuu':_0xcc39eb(0xab),'QIdIs':function(_0x4121f9,_0xcaa3f){return _0x4121f9(_0xcaa3f);},'MJRei':_0xcc39eb(0xa7),'CQQjt':_0xcc39eb(0xdf),'QjTDV':_0xcc39eb(0xcd),'vaRld':_0xcc39eb(0xdd),'BJgoQ':_0xcc39eb(0x86),'zcWcr':_0xcc39eb(0xb6)},_0x38185a={},_0x4ce3b7=new Worker(require[_0xcc39eb(0xad)](_0x54cfc5[_0xcc39eb(0xbc)]),{'exposedMethods':[_0x54cfc5[_0xcc39eb(0xa9)]],'forkOptions':{'serialization':_0x54cfc5[_0xcc39eb(0x98)],'stdio':_0x54cfc5[_0xcc39eb(0xdb)]},'numWorkers':_0x25b495,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x1e0ae4=new Emittery();_0x1e0ae4['on'](_0x54cfc5[_0xcc39eb(0x91)],_0xccdd52=>{const _0x56bb1c=_0xcc39eb;_0xccdd52[0x0]&&logger[_0x56bb1c(0x8d)]('Running\x20'+_0xccdd52[0x1]+_0x56bb1c(0xb2),_0xccdd52[0x0]);}),_0x1e0ae4['on'](_0x54cfc5[_0xcc39eb(0xc1)],_0x392536=>{const _0x3ef37b=_0xcc39eb;process[_0x3ef37b(0x7f)]=0x1;});_0x4ce3b7[_0xcc39eb(0xb1)]()&&_0x4ce3b7[_0xcc39eb(0xb1)]()['pipe'](process[_0xcc39eb(0xd0)]);_0x4ce3b7[_0xcc39eb(0xd6)]()&&_0x4ce3b7[_0xcc39eb(0xd6)]()[_0xcc39eb(0xdd)](process['stderr']);const _0x50ea0d=async()=>{const _0x21ce7b=_0xcc39eb;let _0x253fb9=0x0;const _0x1965c7=_0x4ce3b7[_0x21ce7b(0xca)][_0x21ce7b(0xcf)](),_0x4386f3=()=>{},_0xb7e98c=_0x1965c7[_0x21ce7b(0x7e)](async _0xf0185f=>{const _0x57629f=_0x21ce7b,_0x3cf2eb={'mWAMr':function(_0x105119,_0x4e4feb){const _0x2e7218=a45_0xe4fb;return _0x54cfc5[_0x2e7218(0xa8)](_0x105119,_0x4e4feb);},'raont':function(_0x261c41,_0x52e714){const _0x4707b2=a45_0xe4fb;return _0x54cfc5[_0x4707b2(0x8f)](_0x261c41,_0x52e714);}};_0xf0185f['send']([0x2,![]],_0x4386f3,_0x4386f3,_0x4386f3),_0xf0185f[_0x57629f(0xbd)]['on'](_0x54cfc5[_0x57629f(0x9f)],_0x430851=>{const _0x21e3d8=_0x57629f;_0x3cf2eb[_0x21e3d8(0x8e)](_0x253fb9,0x0)&&_0x3cf2eb['raont'](_0x430851,0x0)&&(_0x253fb9=_0x430851);}),await _0xf0185f[_0x57629f(0xa0)]();});await Promise[_0x21ce7b(0x80)](_0xb7e98c),process[_0x21ce7b(0x7f)]=_0x253fb9;const {forceExited:_0x51882c}=await _0x4ce3b7['end']();_0x51882c&&console[_0x21ce7b(0x8b)](_0x54cfc5['TXUuu']),_0x54cfc5[_0x21ce7b(0xb0)](_0x2d19b9,_0x38185a);},_0x1a487d=_0x54cfc5[_0xcc39eb(0xb0)](pLimit,_0x25b495),_0x369f11=_0x1b759b=>_0x1a487d(async()=>{const _0x1b85fb=_0xcc39eb;return _0x4ce3b7[_0x1b85fb(0xdf)](_0x1b759b);});Promise[_0xcc39eb(0x80)](_0x61ce19[_0xcc39eb(0x7e)](_0xa11660=>_0x369f11(_0xa11660)['then'](_0x138816=>_0x1e0ae4[_0xcc39eb(0xbe)](_0xcc39eb(0x86),[_0xa11660[_0xcc39eb(0xd8)][_0xcc39eb(0x85)],_0xa11660[_0xcc39eb(0xd8)][_0xcc39eb(0x8c)]]),_0x397f45=>_0x1e0ae4[_0xcc39eb(0xbe)](_0xcc39eb(0xb6),[_0xa11660,_0x397f45]))))[_0xcc39eb(0xdc)](_0x50ea0d,_0x50ea0d);});
@@ -1 +1 @@
1
- const a45_0x25ac06=a45_0x3b4a;function a45_0x3b4a(_0x3439d7,_0x5bac41){const _0x229982=a45_0x2299();return a45_0x3b4a=function(_0x3b4aca,_0x4155a9){_0x3b4aca=_0x3b4aca-0x145;let _0x753128=_0x229982[_0x3b4aca];return _0x753128;},a45_0x3b4a(_0x3439d7,_0x5bac41);}(function(_0x46b256,_0x3f7562){const _0x132d74=a45_0x3b4a,_0x4801d1=_0x46b256();while(!![]){try{const _0x44f5e9=-parseInt(_0x132d74(0x15b))/0x1*(-parseInt(_0x132d74(0x145))/0x2)+-parseInt(_0x132d74(0x154))/0x3+parseInt(_0x132d74(0x15a))/0x4*(parseInt(_0x132d74(0x14e))/0x5)+-parseInt(_0x132d74(0x153))/0x6*(-parseInt(_0x132d74(0x155))/0x7)+parseInt(_0x132d74(0x146))/0x8+parseInt(_0x132d74(0x159))/0x9+-parseInt(_0x132d74(0x147))/0xa;if(_0x44f5e9===_0x3f7562)break;else _0x4801d1['push'](_0x4801d1['shift']());}catch(_0x35a5c9){_0x4801d1['push'](_0x4801d1['shift']());}}}(a45_0x2299,0x7754f),exports[a45_0x25ac06(0x14a)]=async(_0x4b8c8,_0x325049)=>{const _0x67cbd0=a45_0x25ac06,_0x2f1918={'BbYxY':function(_0xc2a8d8,_0x82721e){return _0xc2a8d8(_0x82721e);},'KXgCT':'../launcher/launcher','esaye':_0x67cbd0(0x148)},_0x4fb098=_0x2f1918[_0x67cbd0(0x14d)](require,_0x2f1918[_0x67cbd0(0x15c)]),_0x4a8ad9=new _0x4fb098(_0x2f1918[_0x67cbd0(0x150)],_0x4b8c8,_0x325049);return await _0x4a8ad9[_0x67cbd0(0x14f)]();},exports[a45_0x25ac06(0x152)]=async(_0x588a25,_0x231928,_0x1a8739,_0x32aaea,_0x309599)=>{const _0x14efe0=a45_0x25ac06,_0x1fe57c={'yhWZp':function(_0x122dc9,_0xca9eda){return _0x122dc9(_0xca9eda);},'GmUVt':_0x14efe0(0x14b),'dxmpA':_0x14efe0(0x15e)},_0xc1a08f={'capability':_0x588a25,..._0x231928},_0x42108e={};_0x42108e['configuration']=_0xc1a08f,_0x42108e[_0x14efe0(0x157)]=_0x309599;const _0x1aa9e6=_0x42108e,_0xb264f6=_0x1fe57c[_0x14efe0(0x149)](require,_0x1fe57c['GmUVt']),_0x262023=new _0xb264f6(_0x1fe57c[_0x14efe0(0x15d)],_0x1aa9e6,_0x1a8739,_0x32aaea);return await _0x262023[_0x14efe0(0x14f)]();},exports['runVanillaTest']=async _0x81ba4f=>{const _0x4d3ce6=a45_0x25ac06,_0x3a16f2={'UbCue':function(_0x20730a,_0x5cb9e3){return _0x20730a(_0x5cb9e3);},'qhkjo':_0x4d3ce6(0x14b),'GHwBU':_0x4d3ce6(0x158)},_0x1e4cb7=_0x3a16f2[_0x4d3ce6(0x151)](require,_0x3a16f2[_0x4d3ce6(0x156)]),_0x2417df=new _0x1e4cb7(_0x3a16f2[_0x4d3ce6(0x14c)],_0x81ba4f);return await _0x2417df[_0x4d3ce6(0x14f)]();});function a45_0x2299(){const _0x898aad=['../launcher/launcher','GHwBU','BbYxY','5wRpYog','run','esaye','UbCue','runCucumberTest','386526kfdiuA','92496paNlDQ','28dfEEzY','qhkjo','formatter','vanilla','5326371FVjhvF','694352qGJsNt','6133YjSnzW','KXgCT','dxmpA','cucumber-js','166nrucky','4638464Gbkkef','15923230zZTdgz','mocha','yhWZp','runTest'];a45_0x2299=function(){return _0x898aad;};return a45_0x2299();}
1
+ const a46_0x3edf79=a46_0x3b78;(function(_0x3a8e50,_0x837634){const _0x4d8d91=a46_0x3b78,_0x5b5018=_0x3a8e50();while(!![]){try{const _0x6a029f=-parseInt(_0x4d8d91(0xdf))/0x1*(-parseInt(_0x4d8d91(0xe3))/0x2)+parseInt(_0x4d8d91(0xde))/0x3+-parseInt(_0x4d8d91(0xd1))/0x4+parseInt(_0x4d8d91(0xce))/0x5*(-parseInt(_0x4d8d91(0xdd))/0x6)+-parseInt(_0x4d8d91(0xdc))/0x7+parseInt(_0x4d8d91(0xe0))/0x8*(-parseInt(_0x4d8d91(0xd4))/0x9)+parseInt(_0x4d8d91(0xd9))/0xa;if(_0x6a029f===_0x837634)break;else _0x5b5018['push'](_0x5b5018['shift']());}catch(_0x3bdf64){_0x5b5018['push'](_0x5b5018['shift']());}}}(a46_0x232a,0x58d13),exports['runTest']=async(_0x349c1f,_0x3bd283)=>{const _0x225de1=a46_0x3b78,_0x35b7ae={'LJUVI':function(_0x59c2a1,_0x7669eb){return _0x59c2a1(_0x7669eb);},'qkFSF':_0x225de1(0xdb),'hxhbN':_0x225de1(0xe1)},_0x2526f2=_0x35b7ae[_0x225de1(0xcd)](require,_0x35b7ae['qkFSF']),_0x2e5202=new _0x2526f2(_0x35b7ae[_0x225de1(0xcf)],_0x349c1f,_0x3bd283);return await _0x2e5202[_0x225de1(0xd3)]();},exports[a46_0x3edf79(0xd8)]=async(_0x3475fd,_0x47615b,_0x567629,_0x13a80a,_0x589c8d)=>{const _0x4d325f=a46_0x3edf79,_0x199460={'zxgDA':function(_0x200c9e,_0x3cac9b){return _0x200c9e(_0x3cac9b);},'qeTYI':_0x4d325f(0xdb),'qMFqX':_0x4d325f(0xe2)},_0x49b438={'capability':_0x3475fd,..._0x47615b},_0x30e1f7={};_0x30e1f7[_0x4d325f(0xd7)]=_0x49b438,_0x30e1f7[_0x4d325f(0xda)]=_0x589c8d;const _0x39b032=_0x30e1f7,_0x1b89a5=_0x199460['zxgDA'](require,_0x199460['qeTYI']),_0xc7e111=new _0x1b89a5(_0x199460[_0x4d325f(0xd5)],_0x39b032,_0x567629,_0x13a80a);return await _0xc7e111[_0x4d325f(0xd3)]();},exports['runVanillaTest']=async _0x4ecd06=>{const _0x5d3b6f=a46_0x3edf79,_0x521034={'JxrVT':function(_0x3b73da,_0x4721a8){return _0x3b73da(_0x4721a8);},'ndrOf':_0x5d3b6f(0xdb),'ItNMX':_0x5d3b6f(0xd2)},_0x43763c=_0x521034['JxrVT'](require,_0x521034[_0x5d3b6f(0xd0)]),_0x8237e8=new _0x43763c(_0x521034[_0x5d3b6f(0xd6)],_0x4ecd06);return await _0x8237e8[_0x5d3b6f(0xd3)]();});function a46_0x3b78(_0x30e8f,_0x4417ed){const _0x232ac4=a46_0x232a();return a46_0x3b78=function(_0x3b7856,_0x29c597){_0x3b7856=_0x3b7856-0xcd;let _0x3ff45a=_0x232ac4[_0x3b7856];return _0x3ff45a;},a46_0x3b78(_0x30e8f,_0x4417ed);}function a46_0x232a(){const _0x467072=['run','11007CjwYni','qMFqX','ItNMX','configuration','runCucumberTest','14386840ZUzThG','formatter','../launcher/launcher','4086880daqMck','3662478BWqXso','1859118ycnRwZ','13lRhaWQ','3336VtwpDc','mocha','cucumber-js','27106yPzcKM','LJUVI','5whQsbr','hxhbN','ndrOf','666160SXTXJU','vanilla'];a46_0x232a=function(){return _0x467072;};return a46_0x232a();}
@@ -1 +1 @@
1
- const a46_0x437ef0=a46_0x23f3;(function(_0x2338c0,_0x1a479b){const _0x1fe461=a46_0x23f3,_0x5de0cd=_0x2338c0();while(!![]){try{const _0x90593b=-parseInt(_0x1fe461(0x1be))/0x1+parseInt(_0x1fe461(0x1b1))/0x2+-parseInt(_0x1fe461(0x1bd))/0x3+parseInt(_0x1fe461(0x1b7))/0x4+parseInt(_0x1fe461(0x1b3))/0x5*(-parseInt(_0x1fe461(0x1b9))/0x6)+parseInt(_0x1fe461(0x1b8))/0x7+parseInt(_0x1fe461(0x1b6))/0x8*(-parseInt(_0x1fe461(0x1bb))/0x9);if(_0x90593b===_0x1a479b)break;else _0x5de0cd['push'](_0x5de0cd['shift']());}catch(_0xd14e55){_0x5de0cd['push'](_0x5de0cd['shift']());}}}(a46_0x4cfd,0xbdef4));function a46_0x23f3(_0x5b8f1e,_0x1d90c1){const _0x4cfd3e=a46_0x4cfd();return a46_0x23f3=function(_0x23f3e7,_0x10c282){_0x23f3e7=_0x23f3e7-0x1b1;let _0x22b46e=_0x4cfd3e[_0x23f3e7];return _0x22b46e;},a46_0x23f3(_0x5b8f1e,_0x1d90c1);}function a46_0x4cfd(){const _0x1b24fc=['206664ojDAFE','494313wigxye','emoMq','590420cBkwvQ','./runTest','145gKcDgC','worker','CPDZq','8qEVPZh','5683844HuKigr','995078HzHTuP','21198ixAcqG','vanillaWorker','3732255TOvRYx','cucumberWorker'];a46_0x4cfd=function(){return _0x1b24fc;};return a46_0x4cfd();}const {runTest,runCucumberTest,runVanillaTest}=require(a46_0x437ef0(0x1b2));exports[a46_0x437ef0(0x1b4)]=async(_0x4e1dfe,_0x22bafa)=>{const _0x50d037=a46_0x437ef0,_0x2cefb2={'CPDZq':function(_0x18b08b,_0x26c847,_0x2e9579){return _0x18b08b(_0x26c847,_0x2e9579);}};return await _0x2cefb2[_0x50d037(0x1b5)](runTest,_0x4e1dfe,_0x22bafa);},exports[a46_0x437ef0(0x1bc)]=async(_0x5e610d,_0x4615fc,_0x1f1907,_0x59de99,_0x979e56)=>{const _0x256b3c={'wXDSG':function(_0x403538,_0x261b0c,_0x3da7bd,_0x49c434,_0x6e42dc,_0x21a129){return _0x403538(_0x261b0c,_0x3da7bd,_0x49c434,_0x6e42dc,_0x21a129);}};return await _0x256b3c['wXDSG'](runCucumberTest,_0x5e610d,_0x4615fc,_0x1f1907,_0x59de99,_0x979e56);},exports[a46_0x437ef0(0x1ba)]=async _0xaf31eb=>{const _0x33f0fd=a46_0x437ef0,_0x4f5f38={'emoMq':function(_0x32ad68,_0x54fc03){return _0x32ad68(_0x54fc03);}};return await _0x4f5f38[_0x33f0fd(0x1bf)](runVanillaTest,_0xaf31eb);};
1
+ function a47_0x1894(_0x847a96,_0x192160){const _0x3841b5=a47_0x3841();return a47_0x1894=function(_0x1894e9,_0x1d14f9){_0x1894e9=_0x1894e9-0x145;let _0x283fd4=_0x3841b5[_0x1894e9];return _0x283fd4;},a47_0x1894(_0x847a96,_0x192160);}const a47_0x5207e5=a47_0x1894;(function(_0x21c5c6,_0x498180){const _0x427f4d=a47_0x1894,_0x512349=_0x21c5c6();while(!![]){try{const _0x5ae213=parseInt(_0x427f4d(0x14c))/0x1+-parseInt(_0x427f4d(0x14b))/0x2*(parseInt(_0x427f4d(0x14a))/0x3)+-parseInt(_0x427f4d(0x152))/0x4*(-parseInt(_0x427f4d(0x14d))/0x5)+parseInt(_0x427f4d(0x146))/0x6*(parseInt(_0x427f4d(0x153))/0x7)+-parseInt(_0x427f4d(0x150))/0x8+parseInt(_0x427f4d(0x149))/0x9+parseInt(_0x427f4d(0x151))/0xa;if(_0x5ae213===_0x498180)break;else _0x512349['push'](_0x512349['shift']());}catch(_0x2be6ed){_0x512349['push'](_0x512349['shift']());}}}(a47_0x3841,0x67fb2));function a47_0x3841(){const _0x533a3d=['252789DLHBqU','8FJgrIn','718049xKQTJH','105845HRLKJF','./runTest','xfuex','3841760COYwvl','470540xUaDMd','4pevGXT','14TfKSTE','hiUrS','EaAEU','22164xFrLZP','worker','cucumberWorker','4045662JPJrpi'];a47_0x3841=function(){return _0x533a3d;};return a47_0x3841();}const {runTest,runCucumberTest,runVanillaTest}=require(a47_0x5207e5(0x14e));exports[a47_0x5207e5(0x147)]=async(_0x1931f7,_0x3e9c41)=>{const _0x345ff2=a47_0x5207e5,_0x2c5e54={'xfuex':function(_0x1c41fb,_0x37de02,_0x3a8ac1){return _0x1c41fb(_0x37de02,_0x3a8ac1);}};return await _0x2c5e54[_0x345ff2(0x14f)](runTest,_0x1931f7,_0x3e9c41);},exports[a47_0x5207e5(0x148)]=async(_0x359635,_0x15b08e,_0x1fb9c1,_0x5771b7,_0x4ba1fc)=>{const _0x3e82fc=a47_0x5207e5,_0x3aad7e={'EaAEU':function(_0x270af8,_0x193795,_0x25f0e2,_0x4b7dc3,_0x278943,_0x9613ed){return _0x270af8(_0x193795,_0x25f0e2,_0x4b7dc3,_0x278943,_0x9613ed);}};return await _0x3aad7e[_0x3e82fc(0x145)](runCucumberTest,_0x359635,_0x15b08e,_0x1fb9c1,_0x5771b7,_0x4ba1fc);},exports['vanillaWorker']=async _0x367b2b=>{const _0x14af39=a47_0x5207e5,_0x16f745={'hiUrS':function(_0x586b0c,_0x35818e){return _0x586b0c(_0x35818e);}};return await _0x16f745[_0x14af39(0x154)](runVanillaTest,_0x367b2b);};
@@ -1 +1 @@
1
- function a47_0x55ed(_0x3203fa,_0x115996){var _0x27f5a4=a47_0x27f5();return a47_0x55ed=function(_0x55ed71,_0x3b9c03){_0x55ed71=_0x55ed71-0x1be;var _0x5602bf=_0x27f5a4[_0x55ed71];return _0x5602bf;},a47_0x55ed(_0x3203fa,_0x115996);}function a47_0x27f5(){var _0x45ca61=['ERR_ADDRESS_UNREACHABLE','app-automate','./browserstack-artifacts/','https://api-cloud.browserstack.com','134772JoeHoJ','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','APP_AUTOMATE','invalidTestInputType','ERR_CONNECTION_RESET','Run\x20jest\x20tests\x20on\x20browserstack','OBSERVABILITY_SUPPORTED_FWS','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','commonjs','MODULE','APP_AUTOMATE_PRODUCTS','invalidKeys','acceptSslCerts','ERR_ADDRESS_INVALID','9727648Phkyts','704Qpsacn','unhandledPromptBehavior','CI_ARTIFACTS_PATH','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','GIT_META_DATA_TRUNCATED','CUCUMBER','MAX_GIT_META_DATA_SIZE_IN_BYTES','COMMONJS','shows\x20version\x20information','Playwright','mocha','observability','ERR_SOCKS_CONNECTION_FAILED','module','PLAYWRIGHT','BSTACK_DELTA','256134eBsLWh','VANILLA','CODECEPTJS','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','2718758jnBlTt','browserName','MOCHA','https://api.browserstack.com','ERR_SOCKET_NOT_CONNECTED','5MWEDyd','PRIVATE_DOMAIN_OR_IP_REGEX','Run\x20playwright\x20tests\x20on\x20Browserstack','automate','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','INFO','.ipa','exports','PERCY_SUPPORTED_FRAMEWORKS','4870yQUUun','OBSERVABILITY_UPLOAD_URL','browserVersion','Run\x20nightwatch\x20tests\x20on\x20browserstack','ERR_NAME_NOT_RESOLVED','ERR_CONNECTION_ABORTED','ERR_CONNECTION_CLOSED','ROOT_REGEX','.aab','ERR_PROXY_CONNECTION_FAILED','JEST','timeouts','pageLoadStrategy','HELP','ERR_NETWORK_CHANGED','ERR_TUNNEL_CONNECTION_FAILED','Run\x20cucumber-js\x20tests\x20on\x20browserstack','BROWSERSTACK_API_URL','sdk/v1/event','ieOptions','HST','^[a-zA-Z0-9_.-]*$','Run\x20mocha\x20tests\x20on\x20browserstack','AUTOMATE_PRODUCTS','SHAREABLE_ID_REGEX','11646ucdbXB','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','VERSION','CUSTOM_ID_REGEX','ERR_CONNECTION_TIMED_OUT','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','ERR_BLOCKED_BY_CLIENT','chromeOptions','3954KeYsxH','.apk','https://hub.browserstack.com/wd/hub','NIGHTWATCH','121FkZDip','360liVuro','strictFileInteractability','...[TRUNCATED]','acceptSslCert','PLAYWRIGHT_CONFIG_OPTION_ERRORS','ERR_CONNECTION_FAILED','3172TfcJUI','FRAMEWORKS','https://upload-observability.browserstack.com','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','acceptInsecureCerts','PACKAGE_TYPE','jest','NUDGE_LOCAL_ERRORS','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE'];a47_0x27f5=function(){return _0x45ca61;};return a47_0x27f5();}var a47_0x319ca4=a47_0x55ed;(function(_0x5a4d5c,_0x394059){var _0x4fd627=a47_0x55ed,_0x3a949a=_0x5a4d5c();while(!![]){try{var _0x4edbb5=-parseInt(_0x4fd627(0x1e6))/0x1*(-parseInt(_0x4fd627(0x1ec))/0x2)+parseInt(_0x4fd627(0x1e1))/0x3*(parseInt(_0x4fd627(0x208))/0x4)+-parseInt(_0x4fd627(0x222))/0x5*(parseInt(_0x4fd627(0x218))/0x6)+parseInt(_0x4fd627(0x21d))/0x7+-parseInt(_0x4fd627(0x207))/0x8+-parseInt(_0x4fd627(0x1d9))/0x9*(-parseInt(_0x4fd627(0x1c0))/0xa)+parseInt(_0x4fd627(0x1e5))/0xb*(parseInt(_0x4fd627(0x1f9))/0xc);if(_0x4edbb5===_0x394059)break;else _0x3a949a['push'](_0x3a949a['shift']());}catch(_0xd2fea6){_0x3a949a['push'](_0x3a949a['shift']());}}}(a47_0x27f5,0xa793c));var a47_0x4b180f={};a47_0x4b180f['INFO']=a47_0x319ca4(0x210),a47_0x4b180f[a47_0x319ca4(0x1cd)]='Specify\x20--help\x20for\x20available\x20options';var a47_0x2e5dfc={};a47_0x2e5dfc['INFO']=a47_0x319ca4(0x1fe);var a47_0xf7d11={};a47_0xf7d11[a47_0x319ca4(0x228)]=a47_0x319ca4(0x1d6);var a47_0x548c78={};a47_0x548c78[a47_0x319ca4(0x228)]=a47_0x319ca4(0x1d0);var a47_0x512389={};a47_0x512389[a47_0x319ca4(0x228)]='Run\x20js\x20tests\x20on\x20browserstack';var a47_0x280656={};a47_0x280656[a47_0x319ca4(0x228)]=a47_0x319ca4(0x1c3);var a47_0x4ae5ff={};a47_0x4ae5ff[a47_0x319ca4(0x228)]=a47_0x319ca4(0x224);var a47_0x51283f={};a47_0x51283f[a47_0x319ca4(0x228)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';var a47_0x188471={};a47_0x188471[a47_0x319ca4(0x228)]=a47_0x319ca4(0x1da);var a47_0x1e4d83={};a47_0x1e4d83[a47_0x319ca4(0x228)]=a47_0x319ca4(0x20b);var a47_0xc27cd={};a47_0xc27cd[a47_0x319ca4(0x216)]=a47_0x319ca4(0x211),a47_0xc27cd['MOCHA']=a47_0x319ca4(0x212),a47_0xc27cd[a47_0x319ca4(0x1ca)]='jest',a47_0xc27cd['CODECEPT']='codeceptjs',a47_0xc27cd[a47_0x319ca4(0x20d)]='cucumber';var a47_0x107cf9={};a47_0x107cf9[a47_0x319ca4(0x204)]=a47_0x319ca4(0x21c),a47_0x107cf9['uniqueDependency']=a47_0x319ca4(0x200),a47_0x107cf9['mandatoryDependency']=a47_0x319ca4(0x1fa),a47_0x107cf9[a47_0x319ca4(0x1fc)]=a47_0x319ca4(0x1ef);var a47_0x2fa19c={};a47_0x2fa19c[a47_0x319ca4(0x20f)]=a47_0x319ca4(0x201),a47_0x2fa19c[a47_0x319ca4(0x202)]=a47_0x319ca4(0x215);var a47_0x146eaa={};a47_0x146eaa[a47_0x319ca4(0x1db)]=a47_0x4b180f,a47_0x146eaa[a47_0x319ca4(0x1ca)]=a47_0x2e5dfc,a47_0x146eaa[a47_0x319ca4(0x21f)]=a47_0xf7d11,a47_0x146eaa[a47_0x319ca4(0x20d)]=a47_0x548c78,a47_0x146eaa[a47_0x319ca4(0x219)]=a47_0x512389,a47_0x146eaa[a47_0x319ca4(0x1e4)]=a47_0x280656,a47_0x146eaa[a47_0x319ca4(0x216)]=a47_0x4ae5ff,a47_0x146eaa[a47_0x319ca4(0x21a)]=a47_0x51283f,a47_0x146eaa[a47_0x319ca4(0x1d4)]=a47_0x188471,a47_0x146eaa['INTEGRATIONS']=a47_0x1e4d83,a47_0x146eaa[a47_0x319ca4(0x217)]=0xf*0x3c*0x3e8,a47_0x146eaa['hubUrl']=a47_0x319ca4(0x1e3),a47_0x146eaa['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a47_0x146eaa['ROOT_CAPS']=[a47_0x319ca4(0x1f0),a47_0x319ca4(0x1cc),a47_0x319ca4(0x1e7),a47_0x319ca4(0x209),a47_0x319ca4(0x1cb),a47_0x319ca4(0x21e),a47_0x319ca4(0x1c2),a47_0x319ca4(0x205),a47_0x319ca4(0x1e9),a47_0x319ca4(0x1e0),'firefoxOptions','edgeOptions',a47_0x319ca4(0x1d3)],a47_0x146eaa[a47_0x319ca4(0x1c7)]=/^[\w-]+:.*$/,a47_0x146eaa[a47_0x319ca4(0x223)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a47_0x146eaa[a47_0x319ca4(0x1d1)]=a47_0x319ca4(0x220),a47_0x146eaa['APP_UPLOAD_URL']=a47_0x319ca4(0x1f8),a47_0x146eaa['FUNNEL_INSTRUMENTATION_API_URL']=a47_0x319ca4(0x1d2),a47_0x146eaa[a47_0x319ca4(0x1d7)]=[a47_0x319ca4(0x225),a47_0x319ca4(0x213)],a47_0x146eaa[a47_0x319ca4(0x203)]=['app-automate',a47_0x319ca4(0x213)],a47_0x146eaa[a47_0x319ca4(0x227)]=[a47_0x319ca4(0x213)],a47_0x146eaa[a47_0x319ca4(0x1c1)]=a47_0x319ca4(0x1ee),a47_0x146eaa[a47_0x319ca4(0x1ff)]=[a47_0x319ca4(0x212),'Playwright'],a47_0x146eaa['AUTOMATE']=[a47_0x319ca4(0x225)],a47_0x146eaa[a47_0x319ca4(0x1fb)]=[a47_0x319ca4(0x1f6)],a47_0x146eaa[a47_0x319ca4(0x1f3)]=['ERR_FAILED','ERR_TIMED_OUT',a47_0x319ca4(0x1df),a47_0x319ca4(0x1ce),a47_0x319ca4(0x221),a47_0x319ca4(0x1c6),a47_0x319ca4(0x1fd),'ERR_CONNECTION_REFUSED',a47_0x319ca4(0x1c5),a47_0x319ca4(0x1eb),a47_0x319ca4(0x1c4),a47_0x319ca4(0x206),a47_0x319ca4(0x1f5),a47_0x319ca4(0x1cf),a47_0x319ca4(0x1dd),a47_0x319ca4(0x214),a47_0x319ca4(0x1f4),a47_0x319ca4(0x1c9),'ERR_NAME_NOT_RESOLVED','ERR_NAME_RESOLUTION_FAILED',a47_0x319ca4(0x226)],a47_0x146eaa['VALID_APP_EXTENSION']=[a47_0x319ca4(0x1e2),a47_0x319ca4(0x1c8),a47_0x319ca4(0x229)],a47_0x146eaa[a47_0x319ca4(0x1dc)]=a47_0x319ca4(0x1d5),a47_0x146eaa[a47_0x319ca4(0x1d8)]=a47_0x319ca4(0x1de),a47_0x146eaa[a47_0x319ca4(0x20a)]=a47_0x319ca4(0x1f7),a47_0x146eaa['PLAYWRIGHT_HUB_URL']='wss://cdp.browserstack.com/playwright?caps=',a47_0x146eaa[a47_0x319ca4(0x1ed)]=a47_0xc27cd,a47_0x146eaa[a47_0x319ca4(0x1bf)]=[a47_0x319ca4(0x1f2),a47_0x319ca4(0x212)],a47_0x146eaa[a47_0x319ca4(0x1ea)]=a47_0x107cf9,a47_0x146eaa['AUTOLOGCAPTURE_NOTIFICATION']=a47_0x319ca4(0x21b),a47_0x146eaa[a47_0x319ca4(0x1f1)]=a47_0x2fa19c,a47_0x146eaa[a47_0x319ca4(0x20e)]=0x40*0x400,a47_0x146eaa[a47_0x319ca4(0x20c)]=a47_0x319ca4(0x1e8),module[a47_0x319ca4(0x1be)]=a47_0x146eaa;
1
+ var a48_0x5b5bf7=a48_0x511d;(function(_0x366670,_0x599128){var _0x28af26=a48_0x511d,_0x5738a1=_0x366670();while(!![]){try{var _0x30aa39=-parseInt(_0x28af26(0x216))/0x1+parseInt(_0x28af26(0x1f6))/0x2*(-parseInt(_0x28af26(0x1e9))/0x3)+-parseInt(_0x28af26(0x22e))/0x4+-parseInt(_0x28af26(0x201))/0x5+parseInt(_0x28af26(0x222))/0x6+parseInt(_0x28af26(0x1e6))/0x7*(parseInt(_0x28af26(0x219))/0x8)+parseInt(_0x28af26(0x1e0))/0x9*(parseInt(_0x28af26(0x1ea))/0xa);if(_0x30aa39===_0x599128)break;else _0x5738a1['push'](_0x5738a1['shift']());}catch(_0x452c7f){_0x5738a1['push'](_0x5738a1['shift']());}}}(a48_0x2c21,0x5036b));var a48_0x11351d={};a48_0x11351d[a48_0x5b5bf7(0x213)]=a48_0x5b5bf7(0x1ff),a48_0x11351d[a48_0x5b5bf7(0x221)]=a48_0x5b5bf7(0x20b);var a48_0x4659ae={};a48_0x4659ae[a48_0x5b5bf7(0x213)]=a48_0x5b5bf7(0x229);var a48_0x3d8dfd={};a48_0x3d8dfd[a48_0x5b5bf7(0x213)]='Run\x20mocha\x20tests\x20on\x20browserstack';var a48_0x3f1518={};a48_0x3f1518[a48_0x5b5bf7(0x213)]=a48_0x5b5bf7(0x1de);function a48_0x2c21(){var _0x36ea7c=['.ipa','exports','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','OBSERVABILITY_SUPPORTED_FWS','Specify\x20--help\x20for\x20available\x20options','ERR_NAME_RESOLUTION_FAILED','wss://cdp.browserstack.com/playwright?caps=','MOCHA','COMMONJS','edgeOptions','ERR_SOCKS_CONNECTION_FAILED','unhandledPromptBehavior','INFO','ROOT_CAPS','https://api.browserstack.com','592851GlbpvP','ERR_NAME_NOT_RESOLVED','.apk','249544ooPJHV','PLAYWRIGHT','CODECEPTJS','browserVersion','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','jest','codeceptjs','HUB_URL_REGEX','HELP','2660532PZowca','invalidTestInputType','APP_UPLOAD_URL','timeouts','hubUrl','automate','...[TRUNCATED]','Run\x20jest\x20tests\x20on\x20browserstack','ERR_SOCKET_NOT_CONNECTED','PERCY_SUPPORTED_FRAMEWORKS','ERR_PROXY_CONNECTION_FAILED','Playwright','2331948dsKuIB','cucumber','app-automate','Run\x20codeceptjs\x20tests\x20on\x20browserstack','CUCUMBER','https://upload-observability.browserstack.com','HST','pageLoadStrategy','NUDGE_LOCAL_ERRORS','CODECEPT','FRAMEWORKS','Run\x20nightwatch\x20tests\x20on\x20browserstack','ieOptions','https://api-cloud.browserstack.com','OBSERVABILITY_UPLOAD_URL','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','ERR_TIMED_OUT','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','BSTACK_DELTA','VERSION','Run\x20cucumber-js\x20tests\x20on\x20browserstack','ERR_CONNECTION_REFUSED','1241307qVSslc','FUNNEL_INSTRUMENTATION_API_URL','uniqueDependency','CI_ARTIFACTS_PATH','AUTOMATE_PRODUCTS','CUSTOM_ID_REGEX','133opserZ','MODULE','BROWSERSTACK_API_URL','1771869outFgE','120edZvCj','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','acceptInsecureCerts','PLAYWRIGHT_CONFIG_OPTION_ERRORS','ERR_NETWORK_CHANGED','Run\x20playwright\x20tests\x20on\x20Browserstack','ERR_ADDRESS_UNREACHABLE','https://hub.browserstack.com/wd/hub','MAX_GIT_META_DATA_SIZE_IN_BYTES','invalidKeys','strictFileInteractability','mocha','2onCwbh','PACKAGE_TYPE','observability','GIT_META_DATA_TRUNCATED','ERR_CONNECTION_ABORTED','ROOT_REGEX','Run\x20js\x20tests\x20on\x20browserstack','chromeOptions','AUTOLOGCAPTURE_NOTIFICATION','shows\x20version\x20information','.aab','2980745YWHeXx','acceptSslCert','acceptSslCerts','VANILLA','JEST'];a48_0x2c21=function(){return _0x36ea7c;};return a48_0x2c21();}var a48_0x4e5365={};a48_0x4e5365['INFO']=a48_0x5b5bf7(0x1fc);var a48_0x38366a={};a48_0x38366a[a48_0x5b5bf7(0x213)]=a48_0x5b5bf7(0x239);var a48_0x230bf1={};a48_0x230bf1[a48_0x5b5bf7(0x213)]=a48_0x5b5bf7(0x1ef);var a48_0x21e6ff={};a48_0x21e6ff['INFO']=a48_0x5b5bf7(0x231);var a48_0x52c253={};a48_0x52c253[a48_0x5b5bf7(0x213)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';var a48_0x2ade82={};a48_0x2ade82[a48_0x5b5bf7(0x213)]=a48_0x5b5bf7(0x209);function a48_0x511d(_0x286a5d,_0x49347c){var _0x2c21f2=a48_0x2c21();return a48_0x511d=function(_0x511df8,_0x19a46c){_0x511df8=_0x511df8-0x1d8;var _0x521002=_0x2c21f2[_0x511df8];return _0x521002;},a48_0x511d(_0x286a5d,_0x49347c);}var a48_0x47bc1d={};a48_0x47bc1d[a48_0x5b5bf7(0x21a)]='Playwright',a48_0x47bc1d[a48_0x5b5bf7(0x20e)]=a48_0x5b5bf7(0x1f5),a48_0x47bc1d[a48_0x5b5bf7(0x205)]=a48_0x5b5bf7(0x21e),a48_0x47bc1d[a48_0x5b5bf7(0x237)]=a48_0x5b5bf7(0x21f),a48_0x47bc1d['CUCUMBER']=a48_0x5b5bf7(0x22f);var a48_0x480b17={};a48_0x480b17[a48_0x5b5bf7(0x1f3)]='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a48_0x480b17[a48_0x5b5bf7(0x1e2)]=a48_0x5b5bf7(0x21d),a48_0x480b17['mandatoryDependency']=a48_0x5b5bf7(0x208),a48_0x480b17[a48_0x5b5bf7(0x223)]='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';var a48_0x255080={};a48_0x255080[a48_0x5b5bf7(0x20f)]='commonjs',a48_0x255080[a48_0x5b5bf7(0x1e7)]='module';var a48_0xb83004={};a48_0xb83004[a48_0x5b5bf7(0x1dd)]=a48_0x11351d,a48_0xb83004[a48_0x5b5bf7(0x205)]=a48_0x4659ae,a48_0xb83004[a48_0x5b5bf7(0x20e)]=a48_0x3d8dfd,a48_0xb83004[a48_0x5b5bf7(0x232)]=a48_0x3f1518,a48_0xb83004[a48_0x5b5bf7(0x204)]=a48_0x4e5365,a48_0xb83004['NIGHTWATCH']=a48_0x38366a,a48_0xb83004[a48_0x5b5bf7(0x21a)]=a48_0x230bf1,a48_0xb83004[a48_0x5b5bf7(0x21b)]=a48_0x21e6ff,a48_0xb83004[a48_0x5b5bf7(0x234)]=a48_0x52c253,a48_0xb83004['INTEGRATIONS']=a48_0x2ade82,a48_0xb83004[a48_0x5b5bf7(0x1dc)]=0xf*0x3c*0x3e8,a48_0xb83004[a48_0x5b5bf7(0x226)]=a48_0x5b5bf7(0x1f1),a48_0xb83004[a48_0x5b5bf7(0x220)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a48_0xb83004[a48_0x5b5bf7(0x214)]=[a48_0x5b5bf7(0x1ec),a48_0x5b5bf7(0x235),a48_0x5b5bf7(0x1f4),a48_0x5b5bf7(0x212),a48_0x5b5bf7(0x225),'browserName',a48_0x5b5bf7(0x21c),a48_0x5b5bf7(0x203),a48_0x5b5bf7(0x202),a48_0x5b5bf7(0x1fd),'firefoxOptions',a48_0x5b5bf7(0x210),a48_0x5b5bf7(0x23a)],a48_0xb83004[a48_0x5b5bf7(0x1fb)]=/^[\w-]+:.*$/,a48_0xb83004['PRIVATE_DOMAIN_OR_IP_REGEX']=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a48_0xb83004[a48_0x5b5bf7(0x1e8)]=a48_0x5b5bf7(0x215),a48_0xb83004[a48_0x5b5bf7(0x224)]=a48_0x5b5bf7(0x23b),a48_0xb83004[a48_0x5b5bf7(0x1e1)]='sdk/v1/event',a48_0xb83004[a48_0x5b5bf7(0x1e4)]=[a48_0x5b5bf7(0x227),a48_0x5b5bf7(0x1f8)],a48_0xb83004['APP_AUTOMATE_PRODUCTS']=[a48_0x5b5bf7(0x230),a48_0x5b5bf7(0x1f8)],a48_0xb83004[a48_0x5b5bf7(0x1d9)]=[a48_0x5b5bf7(0x1f8)],a48_0xb83004[a48_0x5b5bf7(0x1d8)]=a48_0x5b5bf7(0x233),a48_0xb83004[a48_0x5b5bf7(0x20a)]=[a48_0x5b5bf7(0x1f5),a48_0x5b5bf7(0x22d)],a48_0xb83004['AUTOMATE']=[a48_0x5b5bf7(0x227)],a48_0xb83004['APP_AUTOMATE']=[a48_0x5b5bf7(0x230)],a48_0xb83004[a48_0x5b5bf7(0x236)]=['ERR_FAILED',a48_0x5b5bf7(0x1da),'ERR_BLOCKED_BY_CLIENT',a48_0x5b5bf7(0x1ee),a48_0x5b5bf7(0x22a),'ERR_CONNECTION_CLOSED','ERR_CONNECTION_RESET',a48_0x5b5bf7(0x1df),a48_0x5b5bf7(0x1fa),'ERR_CONNECTION_FAILED',a48_0x5b5bf7(0x217),'ERR_ADDRESS_INVALID',a48_0x5b5bf7(0x1f0),'ERR_TUNNEL_CONNECTION_FAILED','ERR_CONNECTION_TIMED_OUT',a48_0x5b5bf7(0x211),a48_0x5b5bf7(0x1eb),a48_0x5b5bf7(0x22c),a48_0x5b5bf7(0x217),a48_0x5b5bf7(0x20c),'ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a48_0xb83004['VALID_APP_EXTENSION']=[a48_0x5b5bf7(0x218),a48_0x5b5bf7(0x200),a48_0x5b5bf7(0x206)],a48_0xb83004[a48_0x5b5bf7(0x1e5)]='^[a-zA-Z0-9_.-]*$',a48_0xb83004['SHAREABLE_ID_REGEX']=a48_0x5b5bf7(0x1db),a48_0xb83004[a48_0x5b5bf7(0x1e3)]='./browserstack-artifacts/',a48_0xb83004['PLAYWRIGHT_HUB_URL']=a48_0x5b5bf7(0x20d),a48_0xb83004[a48_0x5b5bf7(0x238)]=a48_0x47bc1d,a48_0xb83004[a48_0x5b5bf7(0x22b)]=[a48_0x5b5bf7(0x21e),a48_0x5b5bf7(0x1f5)],a48_0xb83004[a48_0x5b5bf7(0x1ed)]=a48_0x480b17,a48_0xb83004[a48_0x5b5bf7(0x1fe)]='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a48_0xb83004[a48_0x5b5bf7(0x1f7)]=a48_0x255080,a48_0xb83004[a48_0x5b5bf7(0x1f2)]=0x40*0x400,a48_0xb83004[a48_0x5b5bf7(0x1f9)]=a48_0x5b5bf7(0x228),module[a48_0x5b5bf7(0x207)]=a48_0xb83004;
@@ -1 +1 @@
1
- function a48_0x56fb(){const _0x1f7bd7=['6435975IpMeFr','levelStr','4320230aKdsAz','27812HKddmm','1155316jUUJRB','type','data','log','./logReportingAPI','1694LqtISO','32988qnKBPw','join','GhHrR','configure','165lozOQC','level','layout','627828groLUh','timezoneOffset','colouredLayout','39992FwIZOZ','1737ARuKLr'];a48_0x56fb=function(){return _0x1f7bd7;};return a48_0x56fb();}const a48_0x448eea=a48_0x464e;(function(_0x112a15,_0xfc4671){const _0x1adaa8=a48_0x464e,_0x1ef2df=_0x112a15();while(!![]){try{const _0x39d095=-parseInt(_0x1adaa8(0x18c))/0x1+parseInt(_0x1adaa8(0x183))/0x2+-parseInt(_0x1adaa8(0x180))/0x3*(-parseInt(_0x1adaa8(0x18b))/0x4)+parseInt(_0x1adaa8(0x188))/0x5+-parseInt(_0x1adaa8(0x17c))/0x6*(-parseInt(_0x1adaa8(0x17b))/0x7)+-parseInt(_0x1adaa8(0x186))/0x8*(parseInt(_0x1adaa8(0x187))/0x9)+-parseInt(_0x1adaa8(0x18a))/0xa;if(_0x39d095===_0xfc4671)break;else _0x1ef2df['push'](_0x1ef2df['shift']());}catch(_0x30f7eb){_0x1ef2df['push'](_0x1ef2df['shift']());}}}(a48_0x56fb,0xba026));const logReportingAPI=require(a48_0x448eea(0x17a)),BSTestOpsLogger=new logReportingAPI({});function a48_0x464e(_0x7156e6,_0x5c23bb){const _0x56fb08=a48_0x56fb();return a48_0x464e=function(_0x464e4d,_0x115d8f){_0x464e4d=_0x464e4d-0x178;let _0x230eac=_0x56fb08[_0x464e4d];return _0x230eac;},a48_0x464e(_0x7156e6,_0x5c23bb);}function BSTestOpsLog4JSAppender(_0x53c638,_0x5a7977){return _0x327b13=>{const _0x58f9e3=a48_0x464e;BSTestOpsLogger[_0x58f9e3(0x179)]({'level':_0x327b13[_0x58f9e3(0x181)]?_0x327b13[_0x58f9e3(0x181)][_0x58f9e3(0x189)]:null,'message':_0x327b13[_0x58f9e3(0x178)]?_0x327b13[_0x58f9e3(0x178)][_0x58f9e3(0x17d)]('\x20'):null});};}exports[a48_0x448eea(0x17f)]=(_0x3f3cb5,_0x2bb943)=>{const _0xd8bcb1=a48_0x448eea,_0x57fa67={'GhHrR':function(_0x557c5c,_0x1a9529,_0x226a11){return _0x557c5c(_0x1a9529,_0x226a11);}};let _0xde054d=_0x2bb943[_0xd8bcb1(0x185)];return _0x3f3cb5[_0xd8bcb1(0x182)]&&(_0xde054d=_0x2bb943[_0xd8bcb1(0x182)](_0x3f3cb5[_0xd8bcb1(0x182)][_0xd8bcb1(0x18d)],_0x3f3cb5[_0xd8bcb1(0x182)])),_0x57fa67[_0xd8bcb1(0x17e)](BSTestOpsLog4JSAppender,_0xde054d,_0x3f3cb5[_0xd8bcb1(0x184)]);};
1
+ function a49_0x36b7(){const _0x101900=['3340pusMCj','822zznWqS','colouredLayout','35063JckedA','layout','data','type','848574kkHTuN','level','join','configure','1189852KlWiSF','./logReportingAPI','timezoneOffset','uxzJU','3579AydCEo','130ePDCga','3755355OQlPxZ','levelStr','10964944DeooXq','1007736IwSHDQ'];a49_0x36b7=function(){return _0x101900;};return a49_0x36b7();}const a49_0x116c07=a49_0x4f29;(function(_0x171b41,_0xd0d1fd){const _0x564f62=a49_0x4f29,_0x5dc6e3=_0x171b41();while(!![]){try{const _0x3c018=-parseInt(_0x564f62(0x178))/0x1+-parseInt(_0x564f62(0x16f))/0x2+parseInt(_0x564f62(0x173))/0x3*(parseInt(_0x564f62(0x179))/0x4)+parseInt(_0x564f62(0x175))/0x5+parseInt(_0x564f62(0x17a))/0x6*(parseInt(_0x564f62(0x17c))/0x7)+parseInt(_0x564f62(0x177))/0x8+-parseInt(_0x564f62(0x16b))/0x9*(parseInt(_0x564f62(0x174))/0xa);if(_0x3c018===_0xd0d1fd)break;else _0x5dc6e3['push'](_0x5dc6e3['shift']());}catch(_0x5be72f){_0x5dc6e3['push'](_0x5dc6e3['shift']());}}}(a49_0x36b7,0xee351));const logReportingAPI=require(a49_0x116c07(0x170)),BSTestOpsLogger=new logReportingAPI({});function a49_0x4f29(_0x42620a,_0x103ab7){const _0x36b7ff=a49_0x36b7();return a49_0x4f29=function(_0x4f296b,_0xb7c918){_0x4f296b=_0x4f296b-0x169;let _0x4bdbab=_0x36b7ff[_0x4f296b];return _0x4bdbab;},a49_0x4f29(_0x42620a,_0x103ab7);}function BSTestOpsLog4JSAppender(_0x3d7a44,_0x41d5ba){return _0x404391=>{const _0xc6c523=a49_0x4f29;BSTestOpsLogger['log']({'level':_0x404391[_0xc6c523(0x16c)]?_0x404391[_0xc6c523(0x16c)][_0xc6c523(0x176)]:null,'message':_0x404391['data']?_0x404391[_0xc6c523(0x169)][_0xc6c523(0x16d)]('\x20'):null});};}exports[a49_0x116c07(0x16e)]=(_0x308c82,_0x20cda8)=>{const _0x5ce6f7=a49_0x116c07,_0x44e9a0={'uxzJU':function(_0x2ac09c,_0x565e6f,_0x18a7db){return _0x2ac09c(_0x565e6f,_0x18a7db);}};let _0x50e360=_0x20cda8[_0x5ce6f7(0x17b)];return _0x308c82[_0x5ce6f7(0x17d)]&&(_0x50e360=_0x20cda8[_0x5ce6f7(0x17d)](_0x308c82[_0x5ce6f7(0x17d)][_0x5ce6f7(0x16a)],_0x308c82['layout'])),_0x44e9a0[_0x5ce6f7(0x172)](BSTestOpsLog4JSAppender,_0x50e360,_0x308c82[_0x5ce6f7(0x171)]);};
@@ -1 +1 @@
1
- const a49_0x28a5da=a49_0x3c74;function a49_0x20f5(){const _0x5cd509=['WARN','ERROR','2ZCofkP','toISOString','64mnlixg','warn','pid','4156176IZyiNV','884779ahwanw','5269130TLVEeh','TRACE','1764984IhNfPP','6882330pbPRxG','logToTestOps','trace','join','NwuJt','483910TvSewk','toUpperCase','DEBUG','error','info','TEST_LOG','4023572WEsrNG','720Pmjqrb','INFO','../../helpers/test-observability/constants'];a49_0x20f5=function(){return _0x5cd509;};return a49_0x20f5();}(function(_0x5c27eb,_0x131d29){const _0x5c69a1=a49_0x3c74,_0x411b29=_0x5c27eb();while(!![]){try{const _0x4367e1=-parseInt(_0x5c69a1(0x158))/0x1+-parseInt(_0x5c69a1(0x16a))/0x2*(parseInt(_0x5c69a1(0x16f))/0x3)+-parseInt(_0x5c69a1(0x164))/0x4+parseInt(_0x5c69a1(0x171))/0x5+parseInt(_0x5c69a1(0x159))/0x6+parseInt(_0x5c69a1(0x170))/0x7*(-parseInt(_0x5c69a1(0x16c))/0x8)+-parseInt(_0x5c69a1(0x165))/0x9*(-parseInt(_0x5c69a1(0x15e))/0xa);if(_0x4367e1===_0x131d29)break;else _0x411b29['push'](_0x411b29['shift']());}catch(_0x418317){_0x411b29['push'](_0x411b29['shift']());}}}(a49_0x20f5,0xdce0c));const Transport=require('winston-transport'),{consoleHolder}=require(a49_0x28a5da(0x167)),a49_0x2287f0={};a49_0x2287f0[a49_0x28a5da(0x166)]=a49_0x28a5da(0x166),a49_0x2287f0[a49_0x28a5da(0x169)]=a49_0x28a5da(0x169),a49_0x2287f0[a49_0x28a5da(0x160)]=a49_0x28a5da(0x160),a49_0x2287f0[a49_0x28a5da(0x157)]=a49_0x28a5da(0x157),a49_0x2287f0[a49_0x28a5da(0x168)]=a49_0x28a5da(0x168);const LOG_LEVELS=a49_0x2287f0;class logPatcher extends Transport{constructor(_0x501e7f){super(_0x501e7f);}[a49_0x28a5da(0x15a)]=(_0x2d2eae=LOG_LEVELS[a49_0x28a5da(0x166)],_0x134b3e=[''])=>{const _0x4dbba8=a49_0x28a5da,_0x4ca36a={};_0x4ca36a[_0x4dbba8(0x15d)]=_0x4dbba8(0x163);const _0x14645e=_0x4ca36a;consoleHolder[_0x2d2eae['toLowerCase']()](..._0x134b3e),process['emit']('bs:addLog:'+process[_0x4dbba8(0x16e)],{'timestamp':new Date()[_0x4dbba8(0x16b)](),'level':_0x2d2eae[_0x4dbba8(0x15f)](),'message':'\x22'+_0x134b3e[_0x4dbba8(0x15c)](',\x20')+'\x22','kind':_0x14645e['NwuJt'],'http_response':{}});};[a49_0x28a5da(0x15b)]=(..._0xcda939)=>{const _0x35aa24=a49_0x28a5da;this['logToTestOps'](LOG_LEVELS[_0x35aa24(0x157)],_0xcda939);};['debug']=(..._0x58e59e)=>{const _0xd670f5=a49_0x28a5da;this['logToTestOps'](LOG_LEVELS[_0xd670f5(0x160)],_0x58e59e);};[a49_0x28a5da(0x162)]=(..._0xc93b34)=>{this['logToTestOps'](LOG_LEVELS['INFO'],_0xc93b34);};[a49_0x28a5da(0x16d)]=(..._0x5031a6)=>{this['logToTestOps'](LOG_LEVELS['WARN'],_0x5031a6);};[a49_0x28a5da(0x161)]=(..._0x3f7510)=>{const _0x91a7ec=a49_0x28a5da;this[_0x91a7ec(0x15a)](LOG_LEVELS[_0x91a7ec(0x169)],_0x3f7510);};['log']=(..._0x1b4b06)=>{const _0x5d48fd=a49_0x28a5da;this['logToTestOps'](LOG_LEVELS[_0x5d48fd(0x166)],_0x1b4b06);};}function a49_0x3c74(_0x1467f9,_0x5a8c5c){const _0x20f596=a49_0x20f5();return a49_0x3c74=function(_0x3c749c,_0x14055f){_0x3c749c=_0x3c749c-0x157;let _0x242448=_0x20f596[_0x3c749c];return _0x242448;},a49_0x3c74(_0x1467f9,_0x5a8c5c);};module['exports']=logPatcher;
1
+ function a50_0x126e(_0x2296d3,_0x1599e6){const _0x2f5e03=a50_0x2f5e();return a50_0x126e=function(_0x126e4f,_0x337589){_0x126e4f=_0x126e4f-0x103;let _0x223bba=_0x2f5e03[_0x126e4f];return _0x223bba;},a50_0x126e(_0x2296d3,_0x1599e6);}const a50_0x502c52=a50_0x126e;function a50_0x2f5e(){const _0x4d6ded=['toLowerCase','error','debug','INFO','join','664805SJnjSV','DEBUG','45mSwwEF','44lMCDqO','toUpperCase','../../helpers/test-observability/constants','exports','logToTestOps','610572MZGpRS','30027xjBOtd','38869FlFhkq','230840GTryxI','winston-transport','trace','toISOString','237307xFXNkz','bs:addLog:','3902560cCzSYz','TEST_LOG','emit','TRACE','2SfxQQv','info','log','ZnmOV','ERROR','WARN'];a50_0x2f5e=function(){return _0x4d6ded;};return a50_0x2f5e();}(function(_0x2b875e,_0x4982ee){const _0x5bdf42=a50_0x126e,_0xb7f8a2=_0x2b875e();while(!![]){try{const _0x17fb8f=-parseInt(_0x5bdf42(0x120))/0x1*(-parseInt(_0x5bdf42(0x10b))/0x2)+parseInt(_0x5bdf42(0x11f))/0x3*(-parseInt(_0x5bdf42(0x119))/0x4)+-parseInt(_0x5bdf42(0x116))/0x5+parseInt(_0x5bdf42(0x11e))/0x6+-parseInt(_0x5bdf42(0x105))/0x7+parseInt(_0x5bdf42(0x121))/0x8*(-parseInt(_0x5bdf42(0x118))/0x9)+parseInt(_0x5bdf42(0x107))/0xa;if(_0x17fb8f===_0x4982ee)break;else _0xb7f8a2['push'](_0xb7f8a2['shift']());}catch(_0x40b817){_0xb7f8a2['push'](_0xb7f8a2['shift']());}}}(a50_0x2f5e,0x1ac53));const Transport=require(a50_0x502c52(0x122)),{consoleHolder}=require(a50_0x502c52(0x11b)),a50_0x47739d={};a50_0x47739d['INFO']=a50_0x502c52(0x114),a50_0x47739d[a50_0x502c52(0x10f)]=a50_0x502c52(0x10f),a50_0x47739d[a50_0x502c52(0x117)]='DEBUG',a50_0x47739d[a50_0x502c52(0x10a)]=a50_0x502c52(0x10a),a50_0x47739d[a50_0x502c52(0x110)]=a50_0x502c52(0x110);const LOG_LEVELS=a50_0x47739d;class logPatcher extends Transport{constructor(_0x15ba3e){super(_0x15ba3e);}[a50_0x502c52(0x11d)]=(_0x50e008=LOG_LEVELS[a50_0x502c52(0x114)],_0x45f06f=[''])=>{const _0xfa7d32=a50_0x502c52,_0x2e57fd={};_0x2e57fd['ZnmOV']=_0xfa7d32(0x108);const _0x59de25=_0x2e57fd;consoleHolder[_0x50e008[_0xfa7d32(0x111)]()](..._0x45f06f),process[_0xfa7d32(0x109)](_0xfa7d32(0x106)+process['pid'],{'timestamp':new Date()[_0xfa7d32(0x104)](),'level':_0x50e008[_0xfa7d32(0x11a)](),'message':'\x22'+_0x45f06f[_0xfa7d32(0x115)](',\x20')+'\x22','kind':_0x59de25[_0xfa7d32(0x10e)],'http_response':{}});};[a50_0x502c52(0x103)]=(..._0x150d1a)=>{const _0x314c53=a50_0x502c52;this[_0x314c53(0x11d)](LOG_LEVELS[_0x314c53(0x10a)],_0x150d1a);};[a50_0x502c52(0x113)]=(..._0x5c65bb)=>{const _0x4a7e22=a50_0x502c52;this[_0x4a7e22(0x11d)](LOG_LEVELS[_0x4a7e22(0x117)],_0x5c65bb);};[a50_0x502c52(0x10c)]=(..._0x7e8a08)=>{const _0x3bab5d=a50_0x502c52;this[_0x3bab5d(0x11d)](LOG_LEVELS[_0x3bab5d(0x114)],_0x7e8a08);};['warn']=(..._0x346afb)=>{const _0xc60bc5=a50_0x502c52;this[_0xc60bc5(0x11d)](LOG_LEVELS[_0xc60bc5(0x110)],_0x346afb);};[a50_0x502c52(0x112)]=(..._0x3958a8)=>{const _0x11c166=a50_0x502c52;this['logToTestOps'](LOG_LEVELS[_0x11c166(0x10f)],_0x3958a8);};[a50_0x502c52(0x10d)]=(..._0x48ff4f)=>{const _0x59cf82=a50_0x502c52;this[_0x59cf82(0x11d)](LOG_LEVELS[_0x59cf82(0x114)],_0x48ff4f);};};module[a50_0x502c52(0x11c)]=logPatcher;
@@ -1 +1 @@
1
- const a50_0x1628a4=a50_0x4b88;(function(_0x561fb2,_0x5a91ee){const _0x208ea3=a50_0x4b88,_0xed8bc=_0x561fb2();while(!![]){try{const _0x123e1a=parseInt(_0x208ea3(0x1a8))/0x1*(-parseInt(_0x208ea3(0x1c1))/0x2)+-parseInt(_0x208ea3(0x1ab))/0x3*(-parseInt(_0x208ea3(0x1b0))/0x4)+parseInt(_0x208ea3(0x1af))/0x5+-parseInt(_0x208ea3(0x1b3))/0x6*(-parseInt(_0x208ea3(0x1a9))/0x7)+-parseInt(_0x208ea3(0x1b5))/0x8*(parseInt(_0x208ea3(0x1ba))/0x9)+-parseInt(_0x208ea3(0x1b4))/0xa*(-parseInt(_0x208ea3(0x1bd))/0xb)+parseInt(_0x208ea3(0x1bf))/0xc;if(_0x123e1a===_0x5a91ee)break;else _0xed8bc['push'](_0xed8bc['shift']());}catch(_0x31722c){_0xed8bc['push'](_0xed8bc['shift']());}}}(a50_0xfd8f,0x255f0));function a50_0x4b88(_0x2627e6,_0x21ebf2){const _0xfd8f83=a50_0xfd8f();return a50_0x4b88=function(_0x4b8863,_0x483025){_0x4b8863=_0x4b8863-0x1a5;let _0x123655=_0xfd8f83[_0x4b8863];return _0x123655;},a50_0x4b88(_0x2627e6,_0x21ebf2);}function a50_0xfd8f(){const _0x2e24ae=['info','logToTestOps','emit','1757529aRHlGL','bs:addLog:','DEBUG','22ROhOuI','error','342780dAxiAM','toISOString','2EhtYtk','INFO','trace','obLIR','message','TEST_LOG','gmwrJ','object','winston-transport','yFKgD','WARN','129693eomxhb','56uSBtap','level','8205IuIcHD','ERROR','warn','yPlGi','55830YRJzCk','108mIUiru','pid','TRACE','227406ZxMARz','306310xaaDWt','8SxsiOB','toUpperCase'];a50_0xfd8f=function(){return _0x2e24ae;};return a50_0xfd8f();}const Transport=require(a50_0x1628a4(0x1a5)),{consoleHolder}=require('../../helpers/test-observability/constants'),a50_0x5ac523={};a50_0x5ac523[a50_0x1628a4(0x1c2)]='INFO',a50_0x5ac523[a50_0x1628a4(0x1ac)]=a50_0x1628a4(0x1ac),a50_0x5ac523[a50_0x1628a4(0x1bc)]='DEBUG',a50_0x5ac523[a50_0x1628a4(0x1b2)]=a50_0x1628a4(0x1b2),a50_0x5ac523[a50_0x1628a4(0x1a7)]=a50_0x1628a4(0x1a7);const LOG_LEVELS=a50_0x5ac523;class logReportingAPI extends Transport{constructor(_0x446033){super(_0x446033);}['log'](_0x47052f,_0xa43d93){const _0x458f46=a50_0x1628a4,_0xfb657d={'HhjWm':'logged','ZdYaM':function(_0x26b3a9,_0x120dc5){return _0x26b3a9(_0x120dc5);},'yFKgD':function(_0x5b9471,_0x1b220f){return _0x5b9471===_0x1b220f;},'gmwrJ':_0x458f46(0x1c8),'obLIR':function(_0x31a28b){return _0x31a28b();}};_0xfb657d['ZdYaM'](setImmediate,()=>{const _0x4b65ee=_0x458f46;this[_0x4b65ee(0x1b9)](_0xfb657d['HhjWm'],_0x47052f);}),_0xfb657d[_0x458f46(0x1a6)](typeof _0x47052f,_0xfb657d[_0x458f46(0x1c7)])?this[_0x458f46(0x1b8)](_0x47052f[_0x458f46(0x1aa)]||LOG_LEVELS[_0x458f46(0x1c2)],_0x47052f[_0x458f46(0x1c5)],![]):this[_0x458f46(0x1b8)](LOG_LEVELS['INFO'],_0x47052f),_0xa43d93&&_0xfb657d[_0x458f46(0x1c4)](_0xa43d93);}[a50_0x1628a4(0x1b8)]=(_0x41dd49=LOG_LEVELS['INFO'],_0x5740bf='',_0x4b273a=!![])=>{const _0x1bca43=a50_0x1628a4,_0x44ee0d={};_0x44ee0d[_0x1bca43(0x1ae)]=_0x1bca43(0x1c6);const _0x54d38f=_0x44ee0d;_0x4b273a&&consoleHolder[_0x41dd49['toLowerCase']()](_0x5740bf),process[_0x1bca43(0x1b9)](_0x1bca43(0x1bb)+process[_0x1bca43(0x1b1)],{'timestamp':new Date()[_0x1bca43(0x1c0)](),'level':_0x41dd49[_0x1bca43(0x1b6)](),'message':_0x5740bf,'kind':_0x54d38f[_0x1bca43(0x1ae)],'http_response':{}});};[a50_0x1628a4(0x1c3)]=(_0x1221dd,_0x510a31)=>{const _0x223ebb=a50_0x1628a4;this['logToTestOps'](LOG_LEVELS[_0x223ebb(0x1b2)],_0x1221dd);};['debug']=(_0xeca1f8,_0x2d52c3)=>{const _0x113bf9=a50_0x1628a4;this['logToTestOps'](LOG_LEVELS[_0x113bf9(0x1bc)],_0xeca1f8);};[a50_0x1628a4(0x1b7)]=(_0x3ebee7,_0x5ec061)=>{const _0x1307cd=a50_0x1628a4;this['logToTestOps'](LOG_LEVELS[_0x1307cd(0x1c2)],_0x3ebee7);};[a50_0x1628a4(0x1ad)]=(_0x4d95d3,_0x4457b8)=>{const _0x544a26=a50_0x1628a4;this[_0x544a26(0x1b8)](LOG_LEVELS[_0x544a26(0x1a7)],_0x4d95d3);};[a50_0x1628a4(0x1be)]=(_0x47a60b,_0x173fee)=>{const _0x4bf39b=a50_0x1628a4;this[_0x4bf39b(0x1b8)](LOG_LEVELS[_0x4bf39b(0x1ac)],_0x47a60b);};};module['exports']=logReportingAPI;
1
+ const a51_0x2574c7=a51_0x24b1;(function(_0x4808b4,_0x32e4f7){const _0x35de83=a51_0x24b1,_0x422c42=_0x4808b4();while(!![]){try{const _0x27e85c=parseInt(_0x35de83(0x83))/0x1+parseInt(_0x35de83(0x87))/0x2+-parseInt(_0x35de83(0x91))/0x3*(-parseInt(_0x35de83(0x9f))/0x4)+-parseInt(_0x35de83(0x9d))/0x5*(-parseInt(_0x35de83(0x85))/0x6)+parseInt(_0x35de83(0x97))/0x7*(-parseInt(_0x35de83(0x92))/0x8)+-parseInt(_0x35de83(0x81))/0x9+parseInt(_0x35de83(0x7b))/0xa;if(_0x27e85c===_0x32e4f7)break;else _0x422c42['push'](_0x422c42['shift']());}catch(_0x3e8ba2){_0x422c42['push'](_0x422c42['shift']());}}}(a51_0x5cdb,0xb8229));function a51_0x5cdb(){const _0x72c62=['WARN','emit','logToTestOps','toLowerCase','7WJusuO','info','pid','bs:addLog:','warn','xQNxu','4826955YtejMp','spNxP','4QUKRzI','xLihb','../../helpers/test-observability/constants','12184410FtWTbE','message','error','logged','VxUhl','BLsBt','11829609TalrDh','DEBUG','457858ohnyZl','koGmC','6paPxsF','exports','469476jqTFfW','toISOString','INFO','log','toUpperCase','TRACE','trace','TEST_LOG','debug','ERROR','113817dMIdqM','6765992IQqmBR'];a51_0x5cdb=function(){return _0x72c62;};return a51_0x5cdb();}const Transport=require('winston-transport'),{consoleHolder}=require(a51_0x2574c7(0x7a)),a51_0x47ea16={};a51_0x47ea16[a51_0x2574c7(0x89)]=a51_0x2574c7(0x89),a51_0x47ea16[a51_0x2574c7(0x90)]=a51_0x2574c7(0x90),a51_0x47ea16['DEBUG']=a51_0x2574c7(0x82),a51_0x47ea16[a51_0x2574c7(0x8c)]=a51_0x2574c7(0x8c),a51_0x47ea16[a51_0x2574c7(0x93)]=a51_0x2574c7(0x93);const LOG_LEVELS=a51_0x47ea16;class logReportingAPI extends Transport{constructor(_0x5508d5){super(_0x5508d5);}[a51_0x2574c7(0x8a)](_0x3f7e43,_0x246038){const _0x200ae1=a51_0x2574c7,_0x1e7ca5={'xLihb':_0x200ae1(0x7e),'VxUhl':function(_0x286184,_0x218251){return _0x286184(_0x218251);},'BLsBt':function(_0x4cee8e,_0x5e93f7){return _0x4cee8e===_0x5e93f7;},'xQNxu':'object','spNxP':function(_0xbe1410){return _0xbe1410();}};_0x1e7ca5[_0x200ae1(0x7f)](setImmediate,()=>{const _0x250452=_0x200ae1;this[_0x250452(0x94)](_0x1e7ca5[_0x250452(0xa0)],_0x3f7e43);}),_0x1e7ca5[_0x200ae1(0x80)](typeof _0x3f7e43,_0x1e7ca5[_0x200ae1(0x9c)])?this[_0x200ae1(0x95)](_0x3f7e43['level']||LOG_LEVELS[_0x200ae1(0x89)],_0x3f7e43[_0x200ae1(0x7c)],![]):this[_0x200ae1(0x95)](LOG_LEVELS[_0x200ae1(0x89)],_0x3f7e43),_0x246038&&_0x1e7ca5[_0x200ae1(0x9e)](_0x246038);}[a51_0x2574c7(0x95)]=(_0x141bcf=LOG_LEVELS[a51_0x2574c7(0x89)],_0x2a43b1='',_0x4115ec=!![])=>{const _0x4a1596=a51_0x2574c7,_0x406374={};_0x406374[_0x4a1596(0x84)]=_0x4a1596(0x8e);const _0x2211a2=_0x406374;_0x4115ec&&consoleHolder[_0x141bcf[_0x4a1596(0x96)]()](_0x2a43b1),process['emit'](_0x4a1596(0x9a)+process[_0x4a1596(0x99)],{'timestamp':new Date()[_0x4a1596(0x88)](),'level':_0x141bcf[_0x4a1596(0x8b)](),'message':_0x2a43b1,'kind':_0x2211a2[_0x4a1596(0x84)],'http_response':{}});};[a51_0x2574c7(0x8d)]=(_0x4fc6af,_0x149ac2)=>{const _0x291f19=a51_0x2574c7;this[_0x291f19(0x95)](LOG_LEVELS['TRACE'],_0x4fc6af);};[a51_0x2574c7(0x8f)]=(_0x2886dd,_0x4c8aec)=>{const _0x137881=a51_0x2574c7;this[_0x137881(0x95)](LOG_LEVELS[_0x137881(0x82)],_0x2886dd);};[a51_0x2574c7(0x98)]=(_0x4c2879,_0x24b669)=>{const _0x33cf30=a51_0x2574c7;this[_0x33cf30(0x95)](LOG_LEVELS[_0x33cf30(0x89)],_0x4c2879);};[a51_0x2574c7(0x9b)]=(_0x326eb8,_0x31caee)=>{const _0x268ad6=a51_0x2574c7;this[_0x268ad6(0x95)](LOG_LEVELS[_0x268ad6(0x93)],_0x326eb8);};[a51_0x2574c7(0x7d)]=(_0x394080,_0x9e1a5c)=>{const _0x3f385b=a51_0x2574c7;this[_0x3f385b(0x95)](LOG_LEVELS[_0x3f385b(0x90)],_0x394080);};}function a51_0x24b1(_0x47c22b,_0x18b7e7){const _0x5cdbad=a51_0x5cdb();return a51_0x24b1=function(_0x24b18c,_0x17c36b){_0x24b18c=_0x24b18c-0x7a;let _0x60e1=_0x5cdbad[_0x24b18c];return _0x60e1;},a51_0x24b1(_0x47c22b,_0x18b7e7);};module[a51_0x2574c7(0x86)]=logReportingAPI;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a51_0x1747ed=a51_0x2d6a;(function(_0x5c5848,_0x1f5891){const _0x56cac3=a51_0x2d6a,_0x8512f3=_0x5c5848();while(!![]){try{const _0x143070=parseInt(_0x56cac3(0x1d4))/0x1+-parseInt(_0x56cac3(0x1e2))/0x2+parseInt(_0x56cac3(0x1e7))/0x3*(parseInt(_0x56cac3(0x1e8))/0x4)+-parseInt(_0x56cac3(0x202))/0x5+parseInt(_0x56cac3(0x1d3))/0x6+parseInt(_0x56cac3(0x1d2))/0x7*(parseInt(_0x56cac3(0x1f3))/0x8)+-parseInt(_0x56cac3(0x1db))/0x9*(-parseInt(_0x56cac3(0x1eb))/0xa);if(_0x143070===_0x1f5891)break;else _0x8512f3['push'](_0x8512f3['shift']());}catch(_0x3306f7){_0x8512f3['push'](_0x8512f3['shift']());}}}(a51_0x19b9,0x764c7));const fs=require('fs'),path=require(a51_0x1747ed(0x1f5)),logger=require(a51_0x1747ed(0x1d7))['winstonLogger'],{default:BrowserStackSetup}=require(a51_0x1747ed(0x1e6)),helper=require(a51_0x1747ed(0x201)),constants=require(a51_0x1747ed(0x200)),{parallelVanillaRun}=require(a51_0x1747ed(0x1fa));function a51_0x2d6a(_0x1d420c,_0xa5e90c){const _0x19b91a=a51_0x19b9();return a51_0x2d6a=function(_0x2d6aa2,_0x105438){_0x2d6aa2=_0x2d6aa2-0x1d0;let _0x47c0f1=_0x19b91a[_0x2d6aa2];return _0x47c0f1;},a51_0x2d6a(_0x1d420c,_0xa5e90c);}async function run(_0x14a782,_0x49984c){const _0x11bc66=a51_0x1747ed,_0x37783a={'tdFhB':_0x11bc66(0x1dc),'GRLLf':function(_0x279b71,_0x329ea4){return _0x279b71(_0x329ea4);},'WVlyj':_0x11bc66(0x1e9),'mddzK':function(_0x11083,_0x18f1b2){return _0x11083(_0x18f1b2);},'PrynM':_0x11bc66(0x1e0),'oMyjL':function(_0x1cafaa,_0x3c5df2){return _0x1cafaa>_0x3c5df2;},'xLtqm':function(_0x5932f5,_0x2c3c1f){return _0x5932f5*_0x2c3c1f;},'PFLoR':function(_0x5dd176,_0xcd4c10,_0x377c35){return _0x5dd176(_0xcd4c10,_0x377c35);}},_0x3439dd=new BrowserStackSetup(_0x14a782,_0x37783a[_0x11bc66(0x1ee)]);await _0x3439dd[_0x11bc66(0x1ec)](),await helper[_0x11bc66(0x1e5)](_0x3439dd['config']);const _0x3f43fa=[];if(helper[_0x11bc66(0x1e1)](_0x14a782['_'][0x1]))throw _0x37783a[_0x11bc66(0x1f0)](Error,_0x37783a[_0x11bc66(0x1fd)]);const _0x3a1b4c=path[_0x11bc66(0x1de)](process[_0x11bc66(0x1f6)](),_0x14a782['_'][0x1]);if(!fs[_0x11bc66(0x1d0)](_0x3a1b4c))throw _0x37783a[_0x11bc66(0x1d8)](Error,'File\x20'+_0x14a782['_'][0x1]+_0x11bc66(0x1ea));if(!_0x3439dd[_0x11bc66(0x1d1)])throw _0x37783a[_0x11bc66(0x1f0)](Error,_0x37783a[_0x11bc66(0x1da)]);const _0x5c32b7=helper[_0x11bc66(0x1fe)](_0x3439dd[_0x11bc66(0x1d1)]);_0x3439dd['config'][_0x11bc66(0x1f4)]&&_0x37783a[_0x11bc66(0x1ff)](_0x3439dd[_0x11bc66(0x1d1)][_0x11bc66(0x1f4)][_0x11bc66(0x1d6)],0x0)&&_0x3439dd[_0x11bc66(0x1d1)][_0x11bc66(0x1f4)][_0x11bc66(0x1f1)]((_0x5319b5,_0x1ac240)=>{const _0x2e96ab=_0x11bc66;_0x5c32b7?_0x3f43fa[_0x2e96ab(0x1dd)](helper['modifyBrowserStackW3CCaps'](_0x3439dd[_0x2e96ab(0x1d1)],_0x37783a['tdFhB'],_0x1ac240)):_0x3f43fa[_0x2e96ab(0x1dd)](helper[_0x2e96ab(0x1f2)](_0x3439dd[_0x2e96ab(0x1d1)],_0x37783a[_0x2e96ab(0x1ee)],_0x1ac240));});let _0x44cbe5,_0x27e682;const _0x50dce5=[];if(_0x37783a['oMyjL'](_0x3f43fa['length'],0x0))_0x3f43fa['forEach']((_0x1ef7d5,_0x378e50)=>{const _0x3c7f70=_0x11bc66;_0x44cbe5={'server':helper['getHubUrl'](_0x3439dd[_0x3c7f70(0x1d1)]),'proxySettings':_0x3439dd['config'][_0x3c7f70(0x1df)],'platform':helper[_0x3c7f70(0x1fb)](_0x1ef7d5),'platformCaps':_0x3439dd[_0x3c7f70(0x1d1)][_0x3c7f70(0x1f4)][_0x378e50]};const _0x37a1ea={'capability':_0x1ef7d5,..._0x44cbe5};_0x37a1ea[_0x3c7f70(0x1d9)]=_0x3a1b4c,_0x37a1ea[_0x3c7f70(0x1ef)]=_0x49984c;const _0x5834d5={};_0x5834d5[_0x3c7f70(0x1f9)]=_0x37a1ea,_0x27e682=_0x5834d5,_0x50dce5['push'](_0x27e682);});else{let _0x316e91;_0x5c32b7?_0x316e91=helper['modifyBrowserStackW3CCaps'](_0x3439dd[_0x11bc66(0x1d1)],_0x37783a[_0x11bc66(0x1ee)],0x0):_0x316e91=helper[_0x11bc66(0x1f2)](_0x3439dd[_0x11bc66(0x1d1)],_0x37783a[_0x11bc66(0x1ee)],0x0);_0x44cbe5={'server':helper['getHubUrl'](_0x3439dd[_0x11bc66(0x1d1)]),'proxySettings':_0x3439dd[_0x11bc66(0x1d1)][_0x11bc66(0x1df)]};const _0x5a7307={'capability':_0x316e91,..._0x44cbe5};_0x5a7307[_0x11bc66(0x1d9)]=_0x3a1b4c,_0x5a7307[_0x11bc66(0x1ef)]=_0x49984c;const _0x2f40cd={};_0x2f40cd['configuration']=_0x5a7307,_0x27e682=_0x2f40cd,_0x50dce5[_0x11bc66(0x1dd)](_0x27e682);}const _0x5bb630=_0x37783a['xLtqm'](_0x3439dd[_0x11bc66(0x1d1)][_0x11bc66(0x1f4)][_0x11bc66(0x1d6)]||0x1,_0x3439dd[_0x11bc66(0x1d1)][_0x11bc66(0x1f8)]||0x1);helper[_0x11bc66(0x1f7)](),_0x37783a[_0x11bc66(0x1e3)](parallelVanillaRun,_0x50dce5,_0x5bb630)[_0x11bc66(0x1fc)](_0x1b3978=>{})[_0x11bc66(0x1ed)](async()=>{const _0x4a3b81=_0x11bc66;await helper[_0x4a3b81(0x1d5)](_0x3439dd);});}module[a51_0x1747ed(0x1e4)]=run;function a51_0x19b9(){const _0x38b550=['getPlatformName','then','WVlyj','useW3C','oMyjL','../utils/constants','../../helpers/helper','4077985GBaKTi','existsSync','config','24899ysWILa','3872910ZuBuGw','530260jiwAfx','finalExecution','length','../../helpers/logger','mddzK','file','PrynM','192114UTiYUG','vanilla','push','join','proxySettings','Config\x20yml\x20is\x20required','isUndefined','1236244pJBbZk','PFLoR','exports','handleApp','../../helpers/BrowserStackSetup','17250DymveS','128wNyDjt','File\x20path\x20is\x20required','\x20doesn\x27t\x20exist','190xwczIT','initialize','finally','tdFhB','args','GRLLf','forEach','modifyBrowserStackCaps','344rphqiv','platforms','path','cwd','markSDKSetupComplete','parallelsPerPlatform','configuration','../test-runner'];a51_0x19b9=function(){return _0x38b550;};return a51_0x19b9();}
2
+ 'use strict';const a52_0x2dd426=a52_0x3b6a;(function(_0x29f962,_0x55b75d){const _0x5e120a=a52_0x3b6a,_0x3c504c=_0x29f962();while(!![]){try{const _0x15fca3=-parseInt(_0x5e120a(0xc3))/0x1*(parseInt(_0x5e120a(0x9b))/0x2)+parseInt(_0x5e120a(0x9c))/0x3*(parseInt(_0x5e120a(0xb5))/0x4)+parseInt(_0x5e120a(0xc1))/0x5+-parseInt(_0x5e120a(0xa2))/0x6+-parseInt(_0x5e120a(0xa7))/0x7*(-parseInt(_0x5e120a(0xc8))/0x8)+-parseInt(_0x5e120a(0xbf))/0x9*(parseInt(_0x5e120a(0xc6))/0xa)+-parseInt(_0x5e120a(0x9f))/0xb;if(_0x15fca3===_0x55b75d)break;else _0x3c504c['push'](_0x3c504c['shift']());}catch(_0x246c0e){_0x3c504c['push'](_0x3c504c['shift']());}}}(a52_0x4141,0x33788));function a52_0x3b6a(_0x29794b,_0x229ab1){const _0x414164=a52_0x4141();return a52_0x3b6a=function(_0x3b6a0e,_0x24acc9){_0x3b6a0e=_0x3b6a0e-0x9b;let _0x521926=_0x414164[_0x3b6a0e];return _0x521926;},a52_0x3b6a(_0x29794b,_0x229ab1);}const fs=require('fs'),path=require(a52_0x2dd426(0xb7)),logger=require(a52_0x2dd426(0xbb))[a52_0x2dd426(0xbe)],{default:BrowserStackSetup}=require(a52_0x2dd426(0x9e)),helper=require(a52_0x2dd426(0xa9)),constants=require('../utils/constants'),{parallelVanillaRun}=require(a52_0x2dd426(0xb4));function a52_0x4141(){const _0x27ae1d=['vanilla','then','modifyBrowserStackCaps','initialize','hvdRk','OShpU','cwd','platforms','../test-runner','4180VDNFiR','exports','path','\x20doesn\x27t\x20exist','useW3C','args','../../helpers/logger','VBUAx','config','winstonLogger','27CtBPHO','existsSync','321090xUMFkv','parallelsPerPlatform','6186EfZfEX','tjfly','dPAAW','603030rFGhGN','markSDKSetupComplete','8QiTNti','configuration','26FxvWhI','1167AdsYoL','handleApp','../../helpers/BrowserStackSetup','1154593KSoEtI','push','File\x20path\x20is\x20required','1751202nZGglU','forEach','getHubUrl','YWjUh','proxySettings','2787806uWVAaQ','file','../../helpers/helper','join','XLUFZ'];a52_0x4141=function(){return _0x27ae1d;};return a52_0x4141();}async function run(_0x163a81,_0x132176){const _0x33f58f=a52_0x2dd426,_0x5b172d={'XLUFZ':_0x33f58f(0xac),'hvdRk':function(_0x60994e,_0x691602){return _0x60994e(_0x691602);},'dPAAW':_0x33f58f(0xa1),'OShpU':'Config\x20yml\x20is\x20required','VBUAx':function(_0x9aac90,_0x1c0c82){return _0x9aac90>_0x1c0c82;},'tjfly':function(_0x312bef,_0xca792f){return _0x312bef*_0xca792f;},'YWjUh':function(_0x448aaf,_0x401b49,_0xe93b1b){return _0x448aaf(_0x401b49,_0xe93b1b);}},_0x292999=new BrowserStackSetup(_0x163a81,_0x5b172d[_0x33f58f(0xab)]);await _0x292999[_0x33f58f(0xaf)](),await helper[_0x33f58f(0x9d)](_0x292999[_0x33f58f(0xbd)]);const _0x167343=[];if(helper['isUndefined'](_0x163a81['_'][0x1]))throw _0x5b172d['hvdRk'](Error,_0x5b172d[_0x33f58f(0xc5)]);const _0x1e3330=path[_0x33f58f(0xaa)](process[_0x33f58f(0xb2)](),_0x163a81['_'][0x1]);if(!fs[_0x33f58f(0xc0)](_0x1e3330))throw _0x5b172d[_0x33f58f(0xb0)](Error,'File\x20'+_0x163a81['_'][0x1]+_0x33f58f(0xb8));if(!_0x292999['config'])throw _0x5b172d[_0x33f58f(0xb0)](Error,_0x5b172d[_0x33f58f(0xb1)]);const _0x2efae9=helper[_0x33f58f(0xb9)](_0x292999[_0x33f58f(0xbd)]);_0x292999['config'][_0x33f58f(0xb3)]&&_0x5b172d['VBUAx'](_0x292999[_0x33f58f(0xbd)]['platforms']['length'],0x0)&&_0x292999[_0x33f58f(0xbd)][_0x33f58f(0xb3)][_0x33f58f(0xa3)]((_0xc62fdd,_0x18e552)=>{const _0x95a355=_0x33f58f;_0x2efae9?_0x167343[_0x95a355(0xa0)](helper['modifyBrowserStackW3CCaps'](_0x292999[_0x95a355(0xbd)],_0x5b172d['XLUFZ'],_0x18e552)):_0x167343[_0x95a355(0xa0)](helper['modifyBrowserStackCaps'](_0x292999[_0x95a355(0xbd)],_0x5b172d[_0x95a355(0xab)],_0x18e552));});let _0x5cb50d,_0x29632a;const _0x1440c2=[];if(_0x5b172d[_0x33f58f(0xbc)](_0x167343['length'],0x0))_0x167343[_0x33f58f(0xa3)]((_0x9821c7,_0x34f07e)=>{const _0x1f13e4=_0x33f58f;_0x5cb50d={'server':helper['getHubUrl'](_0x292999[_0x1f13e4(0xbd)]),'proxySettings':_0x292999['config'][_0x1f13e4(0xa6)],'platform':helper['getPlatformName'](_0x9821c7),'platformCaps':_0x292999[_0x1f13e4(0xbd)][_0x1f13e4(0xb3)][_0x34f07e]};const _0x37b7b0={'capability':_0x9821c7,..._0x5cb50d};_0x37b7b0[_0x1f13e4(0xa8)]=_0x1e3330,_0x37b7b0[_0x1f13e4(0xba)]=_0x132176;const _0xbe11a1={};_0xbe11a1[_0x1f13e4(0xc9)]=_0x37b7b0,_0x29632a=_0xbe11a1,_0x1440c2[_0x1f13e4(0xa0)](_0x29632a);});else{let _0x3a47ee;_0x2efae9?_0x3a47ee=helper['modifyBrowserStackW3CCaps'](_0x292999[_0x33f58f(0xbd)],_0x5b172d[_0x33f58f(0xab)],0x0):_0x3a47ee=helper[_0x33f58f(0xae)](_0x292999[_0x33f58f(0xbd)],_0x5b172d[_0x33f58f(0xab)],0x0);_0x5cb50d={'server':helper[_0x33f58f(0xa4)](_0x292999[_0x33f58f(0xbd)]),'proxySettings':_0x292999[_0x33f58f(0xbd)][_0x33f58f(0xa6)]};const _0x26b424={'capability':_0x3a47ee,..._0x5cb50d};_0x26b424[_0x33f58f(0xa8)]=_0x1e3330,_0x26b424[_0x33f58f(0xba)]=_0x132176;const _0x1328cc={};_0x1328cc[_0x33f58f(0xc9)]=_0x26b424,_0x29632a=_0x1328cc,_0x1440c2[_0x33f58f(0xa0)](_0x29632a);}const _0xc0036f=_0x5b172d[_0x33f58f(0xc4)](_0x292999[_0x33f58f(0xbd)][_0x33f58f(0xb3)]['length']||0x1,_0x292999[_0x33f58f(0xbd)][_0x33f58f(0xc2)]||0x1);helper[_0x33f58f(0xc7)](),_0x5b172d[_0x33f58f(0xa5)](parallelVanillaRun,_0x1440c2,_0xc0036f)[_0x33f58f(0xad)](_0x3fb63b=>{})['finally'](async()=>{await helper['finalExecution'](_0x292999);});}module[a52_0x2dd426(0xb6)]=run;
@@ -1 +1 @@
1
- function a52_0x47c2(){const _0xf6d46a=['platform','5626314YHrSOT','385674pPskNy','browserVersion','device','eSmhR','cGMCK','XKndr','browser','PErqm','__platformCaps','44380UYnwUX','gXksr','osVersion','jToAB','tcuGK','platformVersion','647859reJFNH','JXtLe','21OpZSLv','iFmNe','405896hWOZod','623785EHacku','48DfkFrb','irLLn','platformName','828656XseHfA','exports','deviceName','IyWWg','lPAaG','mbMlc'];a52_0x47c2=function(){return _0xf6d46a;};return a52_0x47c2();}const a52_0x3a4f28=a52_0x23d1;(function(_0x46ead9,_0x3a876a){const _0x6207a=a52_0x23d1,_0x3e4481=_0x46ead9();while(!![]){try{const _0x41d9cb=-parseInt(_0x6207a(0x10c))/0x1+parseInt(_0x6207a(0x110))/0x2+-parseInt(_0x6207a(0x127))/0x3+-parseInt(_0x6207a(0x10d))/0x4*(-parseInt(_0x6207a(0x121))/0x5)+-parseInt(_0x6207a(0x118))/0x6*(-parseInt(_0x6207a(0x129))/0x7)+-parseInt(_0x6207a(0x12b))/0x8+parseInt(_0x6207a(0x117))/0x9;if(_0x41d9cb===_0x3a876a)break;else _0x3e4481['push'](_0x3e4481['shift']());}catch(_0xa8f5d4){_0x3e4481['push'](_0x3e4481['shift']());}}}(a52_0x47c2,0x6d75c));class BrowserStackSdk{static['getCurrentPlatform'](){const _0x4e1168=a52_0x23d1,_0x5b4bb4={};_0x5b4bb4[_0x4e1168(0x128)]='os_version',_0x5b4bb4[_0x4e1168(0x11c)]=_0x4e1168(0x123),_0x5b4bb4['IyWWg']=_0x4e1168(0x11e),_0x5b4bb4[_0x4e1168(0x12a)]='browserName',_0x5b4bb4[_0x4e1168(0x124)]='browser_version',_0x5b4bb4[_0x4e1168(0x122)]=_0x4e1168(0x119),_0x5b4bb4[_0x4e1168(0x115)]=_0x4e1168(0x11a),_0x5b4bb4[_0x4e1168(0x125)]=_0x4e1168(0x112),_0x5b4bb4[_0x4e1168(0x11d)]=_0x4e1168(0x116),_0x5b4bb4[_0x4e1168(0x11f)]=_0x4e1168(0x10f),_0x5b4bb4[_0x4e1168(0x114)]='platform_version',_0x5b4bb4[_0x4e1168(0x11b)]=_0x4e1168(0x126),_0x5b4bb4[_0x4e1168(0x10e)]='customVariables';const _0x27cda5=_0x5b4bb4,_0x3590b7={};if(global[_0x4e1168(0x120)]){const _0x50e25d=global['__platformCaps'],_0x41a4e7=_0x50e25d[_0x27cda5[_0x4e1168(0x128)]]||_0x50e25d[_0x27cda5[_0x4e1168(0x11c)]],_0xdb1f44=_0x50e25d[_0x27cda5[_0x4e1168(0x113)]]||_0x50e25d[_0x27cda5[_0x4e1168(0x12a)]],_0x77edeb=_0x50e25d[_0x27cda5[_0x4e1168(0x124)]]||_0x50e25d[_0x27cda5[_0x4e1168(0x122)]],_0x1be884=_0x50e25d[_0x27cda5['mbMlc']]||_0x50e25d[_0x27cda5[_0x4e1168(0x125)]],_0x1dd0f6=_0x50e25d[_0x27cda5[_0x4e1168(0x11d)]]||_0x50e25d[_0x27cda5[_0x4e1168(0x11f)]],_0x1199c4=_0x50e25d[_0x27cda5[_0x4e1168(0x114)]]||_0x50e25d[_0x27cda5[_0x4e1168(0x11b)]];_0x50e25d['os']&&(_0x3590b7['os']=_0x50e25d['os']),_0x41a4e7&&(_0x3590b7[_0x27cda5[_0x4e1168(0x11c)]]=_0x41a4e7),_0xdb1f44&&(_0x3590b7[_0x27cda5['iFmNe']]=_0xdb1f44),_0x77edeb&&(_0x3590b7[_0x27cda5['gXksr']]=_0x77edeb),_0x1be884&&(_0x3590b7[_0x27cda5['tcuGK']]=_0x1be884),_0x1dd0f6&&(_0x3590b7[_0x27cda5[_0x4e1168(0x11f)]]=_0x1dd0f6),_0x1199c4&&(_0x3590b7[_0x27cda5['eSmhR']]=_0x1199c4),_0x50e25d[_0x27cda5[_0x4e1168(0x10e)]]&&(_0x3590b7[_0x27cda5['irLLn']]=_0x50e25d[_0x27cda5[_0x4e1168(0x10e)]]);}return _0x3590b7;}}function a52_0x23d1(_0x596fc5,_0x411795){const _0x47c261=a52_0x47c2();return a52_0x23d1=function(_0x23d16d,_0x3be094){_0x23d16d=_0x23d16d-0x10c;let _0x1791e0=_0x47c261[_0x23d16d];return _0x1791e0;},a52_0x23d1(_0x596fc5,_0x411795);}module[a52_0x3a4f28(0x111)]=BrowserStackSdk;
1
+ const a53_0x20f502=a53_0x52a8;function a53_0x52a8(_0x1d93c0,_0x50e828){const _0x11f381=a53_0x11f3();return a53_0x52a8=function(_0x52a815,_0x17cfd6){_0x52a815=_0x52a815-0xc4;let _0x3c5dcc=_0x11f381[_0x52a815];return _0x3c5dcc;},a53_0x52a8(_0x1d93c0,_0x50e828);}(function(_0x2d5836,_0x44592f){const _0x206746=a53_0x52a8,_0x1b59af=_0x2d5836();while(!![]){try{const _0xb18b0f=parseInt(_0x206746(0xc4))/0x1*(-parseInt(_0x206746(0xd9))/0x2)+parseInt(_0x206746(0xe5))/0x3+parseInt(_0x206746(0xd5))/0x4*(parseInt(_0x206746(0xdd))/0x5)+parseInt(_0x206746(0xd2))/0x6+parseInt(_0x206746(0xe0))/0x7+parseInt(_0x206746(0xcd))/0x8+parseInt(_0x206746(0xc6))/0x9*(-parseInt(_0x206746(0xcc))/0xa);if(_0xb18b0f===_0x44592f)break;else _0x1b59af['push'](_0x1b59af['shift']());}catch(_0xf2c81f){_0x1b59af['push'](_0x1b59af['shift']());}}}(a53_0x11f3,0xc9db7));function a53_0x11f3(){const _0x3bc1f5=['aqxeh','browser','TLHPq','PgaVU','bEpvS','10OgatFv','8366072tdcHTb','yDPmw','platform_version','Bucox','device','2891334seWMzr','customVariables','browser_version','112UzOWCx','browserName','fvElM','platformVersion','410038imnIzI','exports','__platformCaps','os_version','64945KmCQWz','yEZNG','rDFwU','598703MQZFqG','XDNtE','iaENz','getCurrentPlatform','deviceName','986781KpphaD','CFwwl','platformName','1vxODEb','osVersion','11465730saYQjY'];a53_0x11f3=function(){return _0x3bc1f5;};return a53_0x11f3();}class BrowserStackSdk{static[a53_0x20f502(0xe3)](){const _0x31eddf=a53_0x20f502,_0x432e77={};_0x432e77['uusWN']=_0x31eddf(0xdc),_0x432e77[_0x31eddf(0xe6)]=_0x31eddf(0xc5),_0x432e77[_0x31eddf(0xca)]=_0x31eddf(0xc8),_0x432e77[_0x31eddf(0xc9)]=_0x31eddf(0xd6),_0x432e77[_0x31eddf(0xe1)]=_0x31eddf(0xd4),_0x432e77[_0x31eddf(0xde)]='browserVersion',_0x432e77['iaENz']=_0x31eddf(0xd1),_0x432e77['Bucox']=_0x31eddf(0xe4),_0x432e77[_0x31eddf(0xdf)]='platform',_0x432e77['bEpvS']=_0x31eddf(0xe7),_0x432e77[_0x31eddf(0xc7)]=_0x31eddf(0xcf),_0x432e77['fvElM']=_0x31eddf(0xd8),_0x432e77[_0x31eddf(0xce)]=_0x31eddf(0xd3);const _0x1d3ddf=_0x432e77,_0x35bdb4={};if(global[_0x31eddf(0xdb)]){const _0x44feea=global['__platformCaps'],_0x228dae=_0x44feea[_0x1d3ddf['uusWN']]||_0x44feea[_0x1d3ddf[_0x31eddf(0xe6)]],_0x3a0593=_0x44feea[_0x1d3ddf['PgaVU']]||_0x44feea[_0x1d3ddf[_0x31eddf(0xc9)]],_0x59ea30=_0x44feea[_0x1d3ddf[_0x31eddf(0xe1)]]||_0x44feea[_0x1d3ddf['yEZNG']],_0x3704f2=_0x44feea[_0x1d3ddf[_0x31eddf(0xe2)]]||_0x44feea[_0x1d3ddf[_0x31eddf(0xd0)]],_0x23179b=_0x44feea[_0x1d3ddf['rDFwU']]||_0x44feea[_0x1d3ddf[_0x31eddf(0xcb)]],_0xf506ac=_0x44feea[_0x1d3ddf[_0x31eddf(0xc7)]]||_0x44feea[_0x1d3ddf[_0x31eddf(0xd7)]];_0x44feea['os']&&(_0x35bdb4['os']=_0x44feea['os']),_0x228dae&&(_0x35bdb4[_0x1d3ddf[_0x31eddf(0xe6)]]=_0x228dae),_0x3a0593&&(_0x35bdb4[_0x1d3ddf[_0x31eddf(0xc9)]]=_0x3a0593),_0x59ea30&&(_0x35bdb4[_0x1d3ddf[_0x31eddf(0xde)]]=_0x59ea30),_0x3704f2&&(_0x35bdb4[_0x1d3ddf[_0x31eddf(0xd0)]]=_0x3704f2),_0x23179b&&(_0x35bdb4[_0x1d3ddf[_0x31eddf(0xcb)]]=_0x23179b),_0xf506ac&&(_0x35bdb4[_0x1d3ddf['fvElM']]=_0xf506ac),_0x44feea[_0x1d3ddf[_0x31eddf(0xce)]]&&(_0x35bdb4[_0x1d3ddf['yDPmw']]=_0x44feea[_0x1d3ddf[_0x31eddf(0xce)]]);}return _0x35bdb4;}}module[a53_0x20f502(0xda)]=BrowserStackSdk;
@@ -1 +1 @@
1
- function a53_0x100e(){const _0x37721e=['toLowerCase','setEnvCaps','AwXIl','localOptions','isRunning','GRSVi','startPercy','isTrialGrid','setupPercy','vGBAw','codeceptjs','Local\x20binary\x20stopped','turboScaleOptions','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','229732SBOlKn','push','3|0|2|1|4','wPJpH','getPackageVersion','playwrightUrl','stop','qjRsM','176454qTUYfg','FaSSy','getAccessKey','length','./ats/helper','cnQkk','turboScaleUrl','turboScale','isUndefined','GLKyx','FRAMEWORK','zDFaP','setUpHubUrl','warn','sdkRunID','vhUGz','join','VJLzS','SDKTestAttempted','2mfwcNt','./test-observability/sessionHandler','getUserName','TKtyK','16|14|23|8|3|22|28|19|42|0|20|2|4|9|15|13|40|39|30|5|35|17|1|38|6|34|12|33|41|11|29|32|27|36|31|25|26|10|7|37|21|18|24','SIGQUIT','kLJzw','Error\x20occured\x20while\x20stopping\x20percy','NnRMy','unhandledErrors','integrations','Percy\x20started\x20successfully','Loading\x20environment\x20from:\x20','handled','unhandledRejection','254349RfQZSU','../hubAllocationMethods','QmmEm','info','split','./helper','bind','?caps=','qigwa','playwright','false','forceLocal','allocateHub','captureError','eCLaS','isTrue','3514070StIBpu','exitHandler','2847190QSSalD','debug','intExitHandler','cliConfig','readConfig','env','skipSessionStatus','getConfigPath','setBrowserstackInfraFromConfig','beforeExit','Oswmd','XGzvw','hzlLL','SIGTERM','599763lAkskV','isBrowserstackInfra','util','config','setLogLevel','Calling\x20Build\x20Stop\x20from\x20ExitHandler','stopBrowserstackLocal','initialize','LBnII','setupBrowserstackLocal','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','generateLocalIdentifier','hubUrl','framework','./logger','toString','./testhub/utils','requireSeleniumWebdriverCheck','Error\x20occured\x20while\x20stopping\x20local\x20binary','eUiNT','xBTvW','browserStackLocalOptions','./setKeepAlive','lCFBU','fireFunnelTestEvent','dotenv','useW3C','wcgSj','envConfig','QIbGo','customRepeaters','15012eFmzfa','platforms','includes','compareVersions','FAMDz','UpwCW','yEyKp','getLocalConfig','stopPercy','custom-repeater','No\x20config\x20provided.','QfOgj','kAuIe','format','startLocalBinary','PGEyL','stopLocalBinary','Error\x20in\x20percy\x20setup\x20','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','browserstackLocal','IdcGL','fPmXk','pGGeV','cCBwO','skipSessionName','nZmWL','4528cmMjQN','userName\x20or\x20accessKey\x20is\x20not\x20defined','handleExceptions','sanitizeCaps','error','VarEm','percy','BROWSERSTACK_TURBOSCALE','SIGBREAK','skipBinaryInitialisation','GUqPy','XMqrk','Percy\x20stopped','setProxySettings','hIcjI','4.5.0','OevLc','constructor','uncaughtException','getFinalCaps','disableAutoCaptureLogs','url','testContextOptions','envFile','winstonLogger','true','default','gdWPU','Error\x20in\x20sending\x20testhub\x20stop:\x20','path','killSignal','XMtTH','message','BROWSERSTACK_PERCY','GfmoY','parallelsPerPlatform','zlDEj','qGkIl','dwdny','../bin/utils/constants','GGsyA','selenium-webdriver','HSDhk'];a53_0x100e=function(){return _0x37721e;};return a53_0x100e();}const a53_0x39a72d=a53_0x1a69;(function(_0x253e1e,_0x6aa8d9){const _0x52f7de=a53_0x1a69,_0x555223=_0x253e1e();while(!![]){try{const _0x2645dd=parseInt(_0x52f7de(0x18e))/0x1+parseInt(_0x52f7de(0x17f))/0x2*(parseInt(_0x52f7de(0x1ae))/0x3)+parseInt(_0x52f7de(0x164))/0x4+parseInt(_0x52f7de(0x1a0))/0x5+-parseInt(_0x52f7de(0x16c))/0x6+parseInt(_0x52f7de(0x19e))/0x7+parseInt(_0x52f7de(0x12b))/0x8*(-parseInt(_0x52f7de(0x111))/0x9);if(_0x2645dd===_0x6aa8d9)break;else _0x555223['push'](_0x555223['shift']());}catch(_0x2b8bf8){_0x555223['push'](_0x555223['shift']());}}}(a53_0x100e,0x94d76));function a53_0x1a69(_0x4f29b3,_0x34ff4b){const _0x100ede=a53_0x100e();return a53_0x1a69=function(_0x1a69cb,_0x29e291){_0x1a69cb=_0x1a69cb-0x110;let _0x3b51a8=_0x100ede[_0x1a69cb];return _0x3b51a8;},a53_0x1a69(_0x4f29b3,_0x34ff4b);}const util=require(a53_0x39a72d(0x1b0)),os=require('os'),dotenv=require(a53_0x39a72d(0x1c7)),{v4:uuidv4}=require('uuid'),constants=require(a53_0x39a72d(0x152)),{isTurboScaleSession}=require(a53_0x39a72d(0x170)),logger=require(a53_0x39a72d(0x1bc))[a53_0x39a72d(0x143)],helper=require(a53_0x39a72d(0x193)),percyHelper=require('./percy/utils'),hubAllocator=require(a53_0x39a72d(0x18f)),PerformanceTester=require('./performance-tester'),SessionHandler=require(a53_0x39a72d(0x180)),{setPercyFlag}=require(a53_0x39a72d(0x1be)),TestHubHandler=require('./testhub/testhubHandler');class BrowserStackSetup{constructor(_0x400bc6,_0x396f1e){const _0x1caeaf=a53_0x39a72d,_0x4a53ff={'pGGeV':_0x1caeaf(0x183),'IdcGL':function(_0x4ab2d7,_0x30c62f){return _0x4ab2d7===_0x30c62f;},'QfOgj':_0x1caeaf(0x1ad),'GfmoY':function(_0x1fe4ba){return _0x1fe4ba();},'qGkIl':function(_0x4305d7,_0x14a2b4){return _0x4305d7!==_0x14a2b4;},'cnQkk':'win32','mncup':'SIGABRT','EknhG':_0x1caeaf(0x184),'HSDhk':_0x1caeaf(0x133),'SkOVb':'SIGHUP','akFlO':'beforeExit','GUqPy':_0x1caeaf(0x17e),'dwdny':_0x1caeaf(0x1b8),'XGzvw':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','qigwa':function(_0x160e92,_0x4caed5){return _0x160e92<_0x4caed5;},'UpwCW':function(_0x4a4fd8,_0x4720d9){return _0x4a4fd8(_0x4720d9);},'OevLc':_0x1caeaf(0x154),'TKtyK':_0x1caeaf(0x13a),'zlDEj':function(_0x439d03,_0x2ac78f){return _0x439d03===_0x2ac78f;},'qoiCi':_0x1caeaf(0x189),'UgXyx':function(_0x56473b,_0x5c946c){return _0x56473b+_0x5c946c;},'QIbGo':_0x1caeaf(0x18b),'kAuIe':'SIGINT','lBGhd':_0x1caeaf(0x12c),'VarEm':_0x1caeaf(0x11b)},_0x4b0406=_0x4a53ff[_0x1caeaf(0x127)]['split']('|');let _0x45ac38=0x0;while(!![]){switch(_0x4b0406[_0x45ac38++]){case'0':global['config']=this[_0x1caeaf(0x1b1)];continue;case'1':!this[_0x1caeaf(0x1b1)][_0x1caeaf(0x1c3)]&&(this[_0x1caeaf(0x1b1)]['browserStackLocalOptions']=this[_0x1caeaf(0x1b1)][_0x1caeaf(0x159)]||{});continue;case'2':helper[_0x1caeaf(0x12e)](this['config']);continue;case'3':this[_0x1caeaf(0x131)]=null;continue;case'4':this[_0x1caeaf(0x1bb)]=_0x396f1e;continue;case'5':this['config'][_0x1caeaf(0x141)][_0x1caeaf(0x1a6)]=!helper[_0x1caeaf(0x1af)]()||helper[_0x1caeaf(0x19d)](this[_0x1caeaf(0x1b1)][_0x1caeaf(0x141)]['skipSessionStatus']);continue;case'6':helper[_0x1caeaf(0x118)](this[_0x1caeaf(0x1b1)])&&helper[_0x1caeaf(0x174)](helper['getLocalIdentifier'](this['config']))&&(!helper['isUndefined'](this[_0x1caeaf(0x1b1)]['browserStackLocalOptions'])&&_0x4a53ff[_0x1caeaf(0x125)](this[_0x1caeaf(0x1b1)]['browserStackLocalOptions'][_0x1caeaf(0x13c)],Object)?!helper[_0x1caeaf(0x19d)](this[_0x1caeaf(0x1b1)][_0x1caeaf(0x1c3)][_0x1caeaf(0x134)])&&(this[_0x1caeaf(0x1b1)][_0x1caeaf(0x1c3)]['localIdentifier']=helper[_0x1caeaf(0x1b9)]()):this[_0x1caeaf(0x1b1)][_0x1caeaf(0x1c3)]={'localIdentifier':helper[_0x1caeaf(0x1b9)]()});continue;case'7':process['on'](_0x4a53ff[_0x1caeaf(0x11c)],this[_0x1caeaf(0x1a2)]);continue;case'8':this[_0x1caeaf(0x124)]=null;continue;case'9':this[_0x1caeaf(0x17a)]=_0x4a53ff[_0x1caeaf(0x14d)](uuidv4);continue;case'10':this['intExitHandler']=this[_0x1caeaf(0x1a2)][_0x1caeaf(0x194)](this);continue;case'11':process[_0x1caeaf(0x1a5)]['BROWSERSTACK_TURBOSCALE']&&(this['config'][_0x1caeaf(0x173)]=helper[_0x1caeaf(0x19d)](process[_0x1caeaf(0x1a5)][_0x1caeaf(0x132)]),this[_0x1caeaf(0x1b1)][_0x1caeaf(0x162)]=this[_0x1caeaf(0x1b1)]['turboScaleOptions']||{});continue;case'12':helper[_0x1caeaf(0x1b2)](this[_0x1caeaf(0x1b1)],this[_0x1caeaf(0x1a3)],this['envConfig']);continue;case'13':global[_0x1caeaf(0x17a)]=this[_0x1caeaf(0x17a)];continue;case'14':this[_0x1caeaf(0x1a3)]=helper['setCLICaps'](_0x400bc6);continue;case'15':this[_0x1caeaf(0x149)]=null;continue;case'16':this[_0x1caeaf(0x188)]=[];continue;case'17':helper[_0x1caeaf(0x13e)](this[_0x1caeaf(0x1b1)],this[_0x1caeaf(0x1a3)],this[_0x1caeaf(0x1ca)]);continue;case'18':_0x4a53ff[_0x1caeaf(0x150)](process['platform'],_0x4a53ff[_0x1caeaf(0x171)])?(process['on'](_0x4a53ff['mncup'],this[_0x1caeaf(0x1a2)]),process['on'](_0x4a53ff['EknhG'],this['intExitHandler'])):process['on'](_0x4a53ff[_0x1caeaf(0x155)],this['intExitHandler']);continue;case'19':this[_0x1caeaf(0x1b1)]['testContextOptions']=this['config'][_0x1caeaf(0x141)]||{};continue;case'20':global[_0x1caeaf(0x1bb)]=_0x396f1e;continue;case'21':process['on'](_0x4a53ff['SkOVb'],this[_0x1caeaf(0x1a2)]);continue;case'22':this['config']=helper[_0x1caeaf(0x1a4)](helper[_0x1caeaf(0x1a7)](_0x400bc6));continue;case'23':this[_0x1caeaf(0x1ca)]=helper[_0x1caeaf(0x157)]();continue;case'24':process['on'](_0x4a53ff['akFlO'],this[_0x1caeaf(0x19f)]());continue;case'25':try{process[_0x1caeaf(0x1a5)][_0x1caeaf(0x176)]=_0x400bc6['_'][0x0],helper['fireFunnelTestEvent'](_0x4a53ff[_0x1caeaf(0x135)],{},this[_0x1caeaf(0x1b1)],this[_0x1caeaf(0x1bb)]);}catch(_0x267c58){logger[_0x1caeaf(0x1a1)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x267c58);}continue;case'26':!this[_0x1caeaf(0x1b1)][_0x1caeaf(0x13f)]&&logger[_0x1caeaf(0x191)](constants['AUTOLOGCAPTURE_NOTIFICATION']);continue;case'27':(helper['isUndefined'](this[_0x1caeaf(0x1b1)][_0x1caeaf(0x112)])||helper['isUndefined'](this[_0x1caeaf(0x1b1)][_0x1caeaf(0x112)][_0x1caeaf(0x16f)]))&&(helper[_0x1caeaf(0x174)](this['config'][_0x1caeaf(0x14e)])?logger[_0x1caeaf(0x191)](_0x4a53ff[_0x1caeaf(0x151)]):logger[_0x1caeaf(0x179)](_0x4a53ff[_0x1caeaf(0x1ab)]),this[_0x1caeaf(0x1b1)][_0x1caeaf(0x112)]=[]);continue;case'28':this[_0x1caeaf(0x1b1)][_0x1caeaf(0x112)]=this['config'][_0x1caeaf(0x112)]||[];continue;case'29':if(!helper[_0x1caeaf(0x1af)]()){try{process[_0x1caeaf(0x1a5)]['FRAMEWORK']=_0x396f1e,helper[_0x1caeaf(0x1c6)](_0x4a53ff[_0x1caeaf(0x135)],{},this['config'],this[_0x1caeaf(0x1bb)]);}catch(_0x22bacb){logger[_0x1caeaf(0x1a1)](_0x1caeaf(0x123)+_0x22bacb);}return;}continue;case'30':helper[_0x1caeaf(0x1a8)](this['config'],this[_0x1caeaf(0x1a3)]);continue;case'31':!this[_0x1caeaf(0x1b1)][_0x1caeaf(0x141)]&&(this[_0x1caeaf(0x1b1)]['testContextOptions']={});continue;case'32':helper[_0x1caeaf(0x1bf)](_0x396f1e)&&(_0x4a53ff[_0x1caeaf(0x196)](_0x4a53ff[_0x1caeaf(0x116)](parseInt,helper[_0x1caeaf(0x168)](_0x4a53ff[_0x1caeaf(0x13b)])),0x3)&&(this[_0x1caeaf(0x1b1)][_0x1caeaf(0x1c8)]=![]),_0x4a53ff[_0x1caeaf(0x125)](helper[_0x1caeaf(0x114)](helper[_0x1caeaf(0x168)](_0x4a53ff[_0x1caeaf(0x13b)]),_0x4a53ff[_0x1caeaf(0x182)]),0x1)&&(this[_0x1caeaf(0x1b1)][_0x1caeaf(0x1c8)]=!![]));continue;case'33':if(_0x4a53ff[_0x1caeaf(0x14f)](_0x396f1e,_0x4a53ff['qoiCi']))return;continue;case'34':this[_0x1caeaf(0x1b1)]['browserStackLocalOptions'][_0x1caeaf(0x134)]=helper[_0x1caeaf(0x19d)](this[_0x1caeaf(0x1b1)][_0x1caeaf(0x1c3)]['skipBinaryInitialisation']);continue;case'35':this[_0x1caeaf(0x1b1)][_0x1caeaf(0x141)][_0x1caeaf(0x129)]=!helper['isBrowserstackInfra']()||helper[_0x1caeaf(0x19d)](this[_0x1caeaf(0x1b1)][_0x1caeaf(0x141)][_0x1caeaf(0x129)]);continue;case'36':if(this['config'][_0x1caeaf(0x142)]){logger[_0x1caeaf(0x191)](_0x4a53ff['UgXyx'](_0x4a53ff[_0x1caeaf(0x1cb)],this[_0x1caeaf(0x1b1)][_0x1caeaf(0x142)]));const _0x18bc10={};_0x18bc10[_0x1caeaf(0x148)]=this[_0x1caeaf(0x1b1)][_0x1caeaf(0x142)],dotenv[_0x1caeaf(0x1b1)](_0x18bc10);}else dotenv['config']();continue;case'37':process['on'](_0x4a53ff[_0x1caeaf(0x11d)],this['intExitHandler']);continue;case'38':if(helper[_0x1caeaf(0x174)](helper[_0x1caeaf(0x181)](this[_0x1caeaf(0x1b1)]))||helper[_0x1caeaf(0x174)](helper[_0x1caeaf(0x16e)](this['config'])))throw new Error(_0x4a53ff['lBGhd']);continue;case'39':if(this[_0x1caeaf(0x1b1)]['error'])throw new Error(this[_0x1caeaf(0x1b1)][_0x1caeaf(0x12f)]);continue;case'40':if(helper[_0x1caeaf(0x174)](this[_0x1caeaf(0x1b1)]))throw new Error(_0x4a53ff[_0x1caeaf(0x130)]);continue;case'41':this[_0x1caeaf(0x12d)]();continue;case'42':this['errorMessage']={};continue;}break;}}async[a53_0x39a72d(0x1b5)](){const _0x1bc7e9=a53_0x39a72d,_0x481986={'gdWPU':function(_0x35efc1,_0x65258e){return _0x35efc1(_0x65258e);},'wPJpH':'ats-repeater','GLKyx':_0x1bc7e9(0x11a),'qjRsM':_0x1bc7e9(0x144),'QmmEm':function(_0x594e14,_0x447ec4){return _0x594e14===_0x447ec4;},'AwXIl':_0x1bc7e9(0x197),'wcgSj':function(_0xaade9d,_0x7010c2){return _0xaade9d+_0x7010c2;},'hzlLL':_0x1bc7e9(0x195),'kLJzw':function(_0x57eea2,_0x57e55f){return _0x57eea2(_0x57e55f);},'hIcjI':_0x1bc7e9(0x160),'zDFaP':function(_0x5ef07e,_0x146f9a){return _0x5ef07e(_0x146f9a);}};if(_0x481986[_0x1bc7e9(0x146)](isTurboScaleSession,this[_0x1bc7e9(0x1b1)])){const _0x5e247b=await helper['getTurboScaleGridDetails'](this[_0x1bc7e9(0x1b1)]);this[_0x1bc7e9(0x1b1)]['turboScaleGridDetails']=_0x5e247b,_0x5e247b[_0x1bc7e9(0x15d)]&&(this[_0x1bc7e9(0x1b1)][_0x1bc7e9(0x124)]=!![],this[_0x1bc7e9(0x1b1)][_0x1bc7e9(0x1c3)]['localIdentifier']=_0x481986[_0x1bc7e9(0x167)],this['config'][_0x1bc7e9(0x1c3)][_0x481986[_0x1bc7e9(0x175)]]=_0x5e247b[_0x1bc7e9(0x110)][_0x1bc7e9(0x17c)](','),this[_0x1bc7e9(0x1b1)]['browserStackLocalOptions'][_0x1bc7e9(0x199)]=_0x481986[_0x1bc7e9(0x16b)]),this[_0x1bc7e9(0x1b1)][_0x1bc7e9(0x172)]=_0x5e247b[_0x1bc7e9(0x140)],this[_0x1bc7e9(0x1bb)]&&_0x481986[_0x1bc7e9(0x190)](this[_0x1bc7e9(0x1bb)][_0x1bc7e9(0x156)](),_0x481986[_0x1bc7e9(0x158)])&&(this[_0x1bc7e9(0x1b1)][_0x1bc7e9(0x172)]=_0x481986[_0x1bc7e9(0x1c9)](_0x5e247b[_0x1bc7e9(0x169)],_0x481986[_0x1bc7e9(0x1ac)])),constants['hubUrl']=helper['getHubUrl'](this[_0x1bc7e9(0x1b1)]),logger[_0x1bc7e9(0x1a1)]('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants[_0x1bc7e9(0x1ba)]);}helper[_0x1bc7e9(0x138)](this[_0x1bc7e9(0x1b1)]),this['setupKeepAlive'](),_0x481986[_0x1bc7e9(0x185)](setPercyFlag,this),await this['setupBrowserstackLocal'](),![_0x481986[_0x1bc7e9(0x139)]][_0x1bc7e9(0x113)](this[_0x1bc7e9(0x1bb)])&&!_0x481986[_0x1bc7e9(0x177)](isTurboScaleSession,this[_0x1bc7e9(0x1b1)])&&await this['setUpHubUrl']();}async[a53_0x39a72d(0x15e)](){const _0x29e4b5=a53_0x39a72d,_0x41942e={};_0x41942e['GGsyA']=function(_0x25e8ee,_0x594809){return _0x25e8ee===_0x594809;},_0x41942e[_0x29e4b5(0x17d)]=_0x29e4b5(0x198),_0x41942e[_0x29e4b5(0x120)]=_0x29e4b5(0x163),_0x41942e[_0x29e4b5(0x117)]=_0x29e4b5(0x18a),_0x41942e[_0x29e4b5(0x15b)]=_0x29e4b5(0x144),_0x41942e['lCFBU']=_0x29e4b5(0x1a9);const _0x1229ad=_0x41942e;if(helper[_0x29e4b5(0x19d)](this[_0x29e4b5(0x1b1)][_0x29e4b5(0x131)])&&(!this['percy']||!this['percy'][_0x29e4b5(0x15a)]()))try{this[_0x29e4b5(0x131)]=await percyHelper[_0x29e4b5(0x15c)](this['config']);if(!this[_0x29e4b5(0x131)]){process['env']['BROWSERSTACK_PERCY']=_0x1229ad[_0x29e4b5(0x17d)];throw new Error(_0x1229ad['PGEyL']);}logger['info'](_0x1229ad[_0x29e4b5(0x117)]),process['env'][_0x29e4b5(0x14c)]=_0x1229ad[_0x29e4b5(0x15b)];let _0x54ea81=0x0;const _0x1661b4=async()=>{const _0xa0dee=_0x29e4b5;_0x54ea81++,_0x1229ad[_0xa0dee(0x153)](_0x54ea81,0x1)&&await this[_0xa0dee(0x119)]();};process['on'](_0x1229ad[_0x29e4b5(0x1c5)],_0x1661b4);}catch(_0x227b56){process['env']['BROWSERSTACK_PERCY']=_0x1229ad[_0x29e4b5(0x17d)],logger[_0x29e4b5(0x1a1)](_0x29e4b5(0x122)+_0x227b56);throw new Error(_0x227b56[_0x29e4b5(0x1bd)]());}}async[a53_0x39a72d(0x119)](){const _0xfa6598=a53_0x39a72d,_0x2de6dd={};_0x2de6dd[_0xfa6598(0x1c1)]=_0xfa6598(0x137),_0x2de6dd[_0xfa6598(0x187)]=_0xfa6598(0x186);const _0x263460=_0x2de6dd;if(this[_0xfa6598(0x131)]&&this['percy'][_0xfa6598(0x15a)]())try{await percyHelper[_0xfa6598(0x119)](this[_0xfa6598(0x131)]),logger[_0xfa6598(0x191)](_0x263460[_0xfa6598(0x1c1)]);}catch(_0x514e28){logger['error'](_0x263460['NnRMy'],_0x514e28[_0xfa6598(0x14b)]);}}async[a53_0x39a72d(0x1b7)](){const _0x13f049=a53_0x39a72d,_0x58ee7d={};_0x58ee7d[_0x13f049(0x19c)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x58ee7d['SDDdU']='Local\x20binary\x20started\x20successfully';const _0x545739=_0x58ee7d;if(helper[_0x13f049(0x1af)]()&&helper['isTrue'](this[_0x13f049(0x1b1)][_0x13f049(0x124)])&&(!this[_0x13f049(0x124)]||!this[_0x13f049(0x124)][_0x13f049(0x15a)]()))try{if(this['config']['browserStackLocalOptions'][_0x13f049(0x134)]){logger[_0x13f049(0x1a1)](_0x545739[_0x13f049(0x19c)]);return;}this[_0x13f049(0x124)]=await helper[_0x13f049(0x11f)](this[_0x13f049(0x1b1)]),logger[_0x13f049(0x191)](_0x545739['SDDdU']);}catch(_0x1104fb){logger[_0x13f049(0x1a1)](_0x1104fb);throw new Error(_0x1104fb['toString']());}}async[a53_0x39a72d(0x1b4)](){const _0x5446fa=a53_0x39a72d,_0x55b0c2={};_0x55b0c2[_0x5446fa(0x1b6)]=_0x5446fa(0x161),_0x55b0c2[_0x5446fa(0x128)]=_0x5446fa(0x1c0);const _0x29e99f=_0x55b0c2;if(this['browserstackLocal']&&this[_0x5446fa(0x124)][_0x5446fa(0x15a)]())try{await helper[_0x5446fa(0x121)](this[_0x5446fa(0x124)]),logger[_0x5446fa(0x191)](_0x29e99f[_0x5446fa(0x1b6)]);}catch(_0x5e3e72){logger['error'](_0x29e99f[_0x5446fa(0x128)],_0x5e3e72[_0x5446fa(0x14b)]);}}async[a53_0x39a72d(0x178)](){const _0x113b74=a53_0x39a72d;await hubAllocator[_0x113b74(0x19a)](this[_0x113b74(0x1b1)]);}['setupKeepAlive'](){const _0x40f24d=a53_0x39a72d,_0x45b660={'fPmXk':function(_0x41f82c,_0x4ac0df){return _0x41f82c(_0x4ac0df);},'vGBAw':_0x40f24d(0x1c4)};_0x45b660[_0x40f24d(0x126)](require,_0x45b660[_0x40f24d(0x15f)])();}[a53_0x39a72d(0x12d)](){const _0x474c22=a53_0x39a72d,_0x596850={};_0x596850['xBTvW']=_0x474c22(0x18d),_0x596850['FaSSy']=_0x474c22(0x13d);const _0x3c6c03=_0x596850,_0x3bc3b6=_0x4b5f6b=>{const _0x37fe0d=_0x474c22;logger[_0x37fe0d(0x12f)](_0x4b5f6b[_0x37fe0d(0x14b)]),logger[_0x37fe0d(0x1a1)](util[_0x37fe0d(0x11e)](_0x4b5f6b)),this[_0x37fe0d(0x188)][_0x37fe0d(0x165)](util[_0x37fe0d(0x11e)]('%j',_0x4b5f6b)),PerformanceTester[_0x37fe0d(0x19b)](_0x4b5f6b);};process['on'](_0x3c6c03[_0x474c22(0x1c2)],_0x3bc3b6),process['on'](_0x3c6c03[_0x474c22(0x16d)],_0x3bc3b6);}async[a53_0x39a72d(0x1a2)](_0xaaf150){const _0x3a78ae=a53_0x39a72d,_0x535b22={};_0x535b22[_0x3a78ae(0x17b)]=_0x3a78ae(0x166),_0x535b22['FAMDz']=function(_0x2e509e,_0xd152fb){return _0x2e509e+_0xd152fb;},_0x535b22['XMqrk']=_0x3a78ae(0x18c),_0x535b22[_0x3a78ae(0x12a)]='Shutdown\x20triggered\x20by\x20';const _0x17e20c=_0x535b22,_0x2ebef2=_0x17e20c['vhUGz'][_0x3a78ae(0x192)]('|');let _0x26a1be=0x0;while(!![]){switch(_0x2ebef2[_0x26a1be++]){case'0':this[_0x17e20c[_0x3a78ae(0x115)](_0x17e20c['XMqrk'],_0xaaf150)]=!![];continue;case'1':this[_0x3a78ae(0x149)]=_0xaaf150;continue;case'2':logger[_0x3a78ae(0x191)](_0x17e20c[_0x3a78ae(0x115)](_0x17e20c[_0x3a78ae(0x12a)],_0xaaf150));continue;case'3':if(this[_0x17e20c[_0x3a78ae(0x115)](_0x17e20c[_0x3a78ae(0x136)],_0xaaf150)])return;continue;case'4':await TestHubHandler[_0x3a78ae(0x16a)](_0xaaf150);continue;}break;}}['exitHandler'](){const _0x51830f=a53_0x39a72d,_0x16c267={};_0x16c267['XMtTH']=function(_0x473bd3,_0x4ca092){return _0x473bd3===_0x4ca092;},_0x16c267[_0x51830f(0x1aa)]=_0x51830f(0x1b3);const _0x304cc8=_0x16c267;let _0x5c656d=0x0;return async()=>{const _0x1de382=_0x51830f;_0x5c656d++;if(_0x304cc8[_0x1de382(0x14a)](_0x5c656d,0x1)){helper['checkStopLocalBinaryOnExit'](this['framework'])&&await this['stopBrowserstackLocal']();try{logger[_0x1de382(0x1a1)](_0x304cc8[_0x1de382(0x1aa)]),await TestHubHandler[_0x1de382(0x16a)](_0x5c656d);}catch(_0x37c1b9){logger[_0x1de382(0x1a1)](_0x1de382(0x147)+util[_0x1de382(0x11e)](_0x37c1b9));}}};}}exports[a53_0x39a72d(0x145)]=BrowserStackSetup;
1
+ const a54_0x4efd8c=a54_0x1bd8;function a54_0x1bd8(_0x172685,_0xf934d){const _0x3444b1=a54_0x3444();return a54_0x1bd8=function(_0x1bd873,_0x318bf1){_0x1bd873=_0x1bd873-0xc5;let _0xbe378f=_0x3444b1[_0x1bd873];return _0xbe378f;},a54_0x1bd8(_0x172685,_0xf934d);}(function(_0x56c35d,_0x5223c7){const _0x136458=a54_0x1bd8,_0x5660db=_0x56c35d();while(!![]){try{const _0x40ceae=-parseInt(_0x136458(0x161))/0x1+parseInt(_0x136458(0x117))/0x2*(-parseInt(_0x136458(0xcf))/0x3)+-parseInt(_0x136458(0x14d))/0x4*(-parseInt(_0x136458(0x122))/0x5)+parseInt(_0x136458(0xe0))/0x6+parseInt(_0x136458(0x112))/0x7+parseInt(_0x136458(0xf7))/0x8+-parseInt(_0x136458(0x155))/0x9;if(_0x40ceae===_0x5223c7)break;else _0x5660db['push'](_0x5660db['shift']());}catch(_0x21398d){_0x5660db['push'](_0x5660db['shift']());}}}(a54_0x3444,0x2ca30));const util=require('util'),os=require('os'),dotenv=require(a54_0x4efd8c(0xdb)),{v4:uuidv4}=require(a54_0x4efd8c(0x169)),constants=require(a54_0x4efd8c(0x14b)),{isTurboScaleSession}=require('./ats/helper'),logger=require(a54_0x4efd8c(0x15c))[a54_0x4efd8c(0x134)],helper=require(a54_0x4efd8c(0x172)),percyHelper=require(a54_0x4efd8c(0x137)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a54_0x4efd8c(0x10d)),SessionHandler=require(a54_0x4efd8c(0xc7)),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a54_0x4efd8c(0xff));class BrowserStackSetup{constructor(_0xd6a4b0,_0x5e4955){const _0x1853de=a54_0x4efd8c,_0x4de1fd={'UuXjY':_0x1853de(0x140),'QhHEk':function(_0x4dea78,_0x18c5b6){return _0x4dea78+_0x18c5b6;},'qNJrN':_0x1853de(0x128),'ldtro':_0x1853de(0x142),'codML':_0x1853de(0x126),'JhCCQ':'SIGINT','jnFPQ':_0x1853de(0xf8),'srFvB':_0x1853de(0xf5),'ftTay':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','dQqXG':function(_0x3c21a2,_0x486144){return _0x3c21a2<_0x486144;},'ExOMc':function(_0x5ce936,_0x350bc6){return _0x5ce936(_0x350bc6);},'xTelR':_0x1853de(0x131),'kUikA':function(_0x34fb1b,_0x2e6358){return _0x34fb1b===_0x2e6358;},'TuleH':_0x1853de(0xe3),'sLtWh':_0x1853de(0x133),'bhNot':function(_0x2e2339,_0xc7a969){return _0x2e2339!==_0xc7a969;},'CmtPe':_0x1853de(0x16d),'VjXru':_0x1853de(0xe7),'cvPjR':_0x1853de(0x160),'elazv':_0x1853de(0xfb),'YUiHr':_0x1853de(0x136),'IfSWh':'userName\x20or\x20accessKey\x20is\x20not\x20defined','seUbP':function(_0x502e6e){return _0x502e6e();},'tFnNk':'beforeExit'},_0x7a5277=_0x4de1fd[_0x1853de(0xd4)][_0x1853de(0x13d)]('|');let _0x3e464a=0x0;while(!![]){switch(_0x7a5277[_0x3e464a++]){case'0':if(this[_0x1853de(0x11e)][_0x1853de(0xde)]){logger[_0x1853de(0x143)](_0x4de1fd[_0x1853de(0xe6)](_0x4de1fd[_0x1853de(0x170)],this[_0x1853de(0x11e)][_0x1853de(0xde)]));const _0x3a1719={};_0x3a1719[_0x1853de(0x176)]=this[_0x1853de(0x11e)][_0x1853de(0xde)],dotenv[_0x1853de(0x11e)](_0x3a1719);}else dotenv['config']();continue;case'1':process['on'](_0x4de1fd[_0x1853de(0x165)],this[_0x1853de(0x103)]);continue;case'2':this['percy']=null;continue;case'3':global[_0x1853de(0x11e)]=this[_0x1853de(0x11e)];continue;case'4':this['config'][_0x1853de(0xed)][_0x1853de(0xea)]=!helper[_0x1853de(0xf4)]()||helper['isTrue'](this[_0x1853de(0x11e)][_0x1853de(0xed)][_0x1853de(0xea)]);continue;case'5':global[_0x1853de(0xd8)]=this['sdkRunID'];continue;case'6':this[_0x1853de(0x10b)]=null;continue;case'7':this['intExitHandler']=this['intExitHandler'][_0x1853de(0xdf)](this);continue;case'8':try{process[_0x1853de(0x14f)][_0x1853de(0x15b)]=_0xd6a4b0['_'][0x0],helper[_0x1853de(0x149)](_0x4de1fd[_0x1853de(0x16a)],{},this[_0x1853de(0x11e)],this[_0x1853de(0x119)]);}catch(_0x3936dd){logger[_0x1853de(0x125)](_0x1853de(0x127)+_0x3936dd);}continue;case'9':process['on'](_0x4de1fd[_0x1853de(0x178)],this['intExitHandler']);continue;case'10':global[_0x1853de(0x119)]=_0x5e4955;continue;case'11':this[_0x1853de(0x162)]=null;continue;case'12':this[_0x1853de(0x11d)]=helper[_0x1853de(0x167)]();continue;case'13':helper[_0x1853de(0x109)](this['config'],this[_0x1853de(0xd7)],this[_0x1853de(0x11d)]);continue;case'14':this[_0x1853de(0x11e)]=helper['readConfig'](helper[_0x1853de(0xef)](_0xd6a4b0));continue;case'15':this[_0x1853de(0x119)]=_0x5e4955;continue;case'16':this[_0x1853de(0xc8)]={};continue;case'17':if(this['config'][_0x1853de(0xd0)])throw new Error(this[_0x1853de(0x11e)][_0x1853de(0xd0)]);continue;case'18':!this['config'][_0x1853de(0xed)]&&(this['config'][_0x1853de(0xed)]={});continue;case'19':if(helper['isUndefined'](this[_0x1853de(0x11e)]))throw new Error(_0x4de1fd[_0x1853de(0x12e)]);continue;case'20':(helper['isUndefined'](this[_0x1853de(0x11e)][_0x1853de(0x15d)])||helper[_0x1853de(0x123)](this['config']['platforms'][_0x1853de(0x113)]))&&(helper[_0x1853de(0x123)](this[_0x1853de(0x11e)]['parallelsPerPlatform'])?logger[_0x1853de(0x143)](_0x4de1fd[_0x1853de(0x13a)]):logger['warn'](_0x4de1fd[_0x1853de(0xc6)]),this[_0x1853de(0x11e)][_0x1853de(0x15d)]=[]);continue;case'21':helper['requireSeleniumWebdriverCheck'](_0x5e4955)&&(_0x4de1fd[_0x1853de(0x16c)](_0x4de1fd[_0x1853de(0xfa)](parseInt,helper[_0x1853de(0x15e)](_0x4de1fd[_0x1853de(0x13e)])),0x3)&&(this['config'][_0x1853de(0x129)]=![]),_0x4de1fd[_0x1853de(0x106)](helper[_0x1853de(0xda)](helper[_0x1853de(0x15e)](_0x4de1fd[_0x1853de(0x13e)]),_0x4de1fd[_0x1853de(0x14c)]),0x1)&&(this[_0x1853de(0x11e)][_0x1853de(0x129)]=!![]));continue;case'22':process['on'](_0x4de1fd[_0x1853de(0x12f)],this[_0x1853de(0x103)]);continue;case'23':!this[_0x1853de(0x11e)][_0x1853de(0x108)]&&(this[_0x1853de(0x11e)][_0x1853de(0x108)]=this[_0x1853de(0x11e)][_0x1853de(0x10a)]||{});continue;case'24':!this[_0x1853de(0x11e)]['disableAutoCaptureLogs']&&logger[_0x1853de(0x143)](constants['AUTOLOGCAPTURE_NOTIFICATION']);continue;case'25':helper[_0x1853de(0x102)](this[_0x1853de(0x11e)],this[_0x1853de(0xd7)]);continue;case'26':_0x4de1fd[_0x1853de(0x175)](process[_0x1853de(0x145)],_0x4de1fd[_0x1853de(0x105)])?(process['on'](_0x4de1fd[_0x1853de(0x15a)],this[_0x1853de(0x103)]),process['on'](_0x4de1fd[_0x1853de(0xeb)],this[_0x1853de(0x103)])):process['on'](_0x4de1fd['elazv'],this[_0x1853de(0x103)]);continue;case'27':helper[_0x1853de(0x168)](this[_0x1853de(0x11e)],this['cliConfig'],this[_0x1853de(0x11d)]);continue;case'28':if(_0x4de1fd[_0x1853de(0x106)](_0x5e4955,_0x4de1fd[_0x1853de(0xe4)]))return;continue;case'29':if(helper['isUndefined'](helper['getUserName'](this[_0x1853de(0x11e)]))||helper['isUndefined'](helper[_0x1853de(0xd1)](this[_0x1853de(0x11e)])))throw new Error(_0x4de1fd['IfSWh']);continue;case'30':this[_0x1853de(0x16e)]=[];continue;case'31':this['sdkRunID']=_0x4de1fd[_0x1853de(0x166)](uuidv4);continue;case'32':this[_0x1853de(0x11e)][_0x1853de(0xed)]=this[_0x1853de(0x11e)][_0x1853de(0xed)]||{};continue;case'33':process['on'](_0x4de1fd[_0x1853de(0x14a)],this[_0x1853de(0xd5)]());continue;case'34':this['config']['testContextOptions'][_0x1853de(0x141)]=!helper['isBrowserstackInfra']()||helper[_0x1853de(0x114)](this[_0x1853de(0x11e)][_0x1853de(0xed)][_0x1853de(0x141)]);continue;case'35':this[_0x1853de(0x11e)][_0x1853de(0x15d)]=this['config'][_0x1853de(0x15d)]||[];continue;case'36':helper['sanitizeCaps'](this[_0x1853de(0x11e)]);continue;case'37':process[_0x1853de(0x14f)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x1853de(0x11e)][_0x1853de(0x11c)]=helper[_0x1853de(0x114)](process[_0x1853de(0x14f)][_0x1853de(0x132)]),this[_0x1853de(0x11e)][_0x1853de(0x111)]=this[_0x1853de(0x11e)][_0x1853de(0x111)]||{});continue;case'38':this['handleExceptions']();continue;case'39':this[_0x1853de(0x11e)]['browserStackLocalOptions'][_0x1853de(0x16f)]=helper[_0x1853de(0x114)](this['config']['browserStackLocalOptions'][_0x1853de(0x16f)]);continue;case'40':this[_0x1853de(0xd7)]=helper[_0x1853de(0x148)](_0xd6a4b0);continue;case'41':helper['getLocalConfig'](this[_0x1853de(0x11e)])&&helper[_0x1853de(0x123)](helper[_0x1853de(0xc9)](this['config']))&&(!helper[_0x1853de(0x123)](this['config'][_0x1853de(0x108)])&&_0x4de1fd['kUikA'](this[_0x1853de(0x11e)][_0x1853de(0x108)]['constructor'],Object)?!helper[_0x1853de(0x114)](this['config'][_0x1853de(0x108)][_0x1853de(0x16f)])&&(this['config'][_0x1853de(0x108)]['localIdentifier']=helper[_0x1853de(0x13f)]()):this[_0x1853de(0x11e)][_0x1853de(0x108)]={'localIdentifier':helper[_0x1853de(0x13f)]()});continue;case'42':if(!helper['isBrowserstackInfra']()){try{process['env'][_0x1853de(0x15b)]=_0x5e4955,helper[_0x1853de(0x149)](_0x4de1fd[_0x1853de(0x16a)],{},this['config'],this['framework']);}catch(_0x59a5c3){logger[_0x1853de(0x125)](_0x1853de(0x127)+_0x59a5c3);}return;}continue;}break;}}async[a54_0x4efd8c(0x100)](){const _0x37ef63=a54_0x4efd8c,_0xb5d1b2={'OnvKE':function(_0x305f49,_0x2b8fd2){return _0x305f49(_0x2b8fd2);},'TqXIR':_0x37ef63(0x159),'iZLwL':_0x37ef63(0xd9),'Kmowy':_0x37ef63(0x163),'gSiBs':function(_0x1f0533,_0x2e401d){return _0x1f0533===_0x2e401d;},'Qiyuz':_0x37ef63(0x101),'pKIZo':function(_0x45f9bd,_0x307c50){return _0x45f9bd+_0x307c50;},'uEHWt':_0x37ef63(0x158),'bfQOb':_0x37ef63(0xe1)};if(_0xb5d1b2[_0x37ef63(0x153)](isTurboScaleSession,this[_0x37ef63(0x11e)])){const _0xecb8fa=await helper['getTurboScaleGridDetails'](this[_0x37ef63(0x11e)]);this[_0x37ef63(0x11e)][_0x37ef63(0x12c)]=_0xecb8fa,_0xecb8fa['isTrialGrid']&&(this[_0x37ef63(0x11e)][_0x37ef63(0x162)]=!![],this[_0x37ef63(0x11e)][_0x37ef63(0x108)][_0x37ef63(0x10c)]=_0xb5d1b2[_0x37ef63(0xdc)],this[_0x37ef63(0x11e)][_0x37ef63(0x108)][_0xb5d1b2[_0x37ef63(0xcc)]]=_0xecb8fa['customRepeaters'][_0x37ef63(0x11b)](','),this[_0x37ef63(0x11e)][_0x37ef63(0x108)][_0x37ef63(0x152)]=_0xb5d1b2['Kmowy']),this[_0x37ef63(0x11e)][_0x37ef63(0x150)]=_0xecb8fa['url'],this[_0x37ef63(0x119)]&&_0xb5d1b2['gSiBs'](this[_0x37ef63(0x119)][_0x37ef63(0x171)](),_0xb5d1b2[_0x37ef63(0x135)])&&(this[_0x37ef63(0x11e)][_0x37ef63(0x150)]=_0xb5d1b2[_0x37ef63(0xd2)](_0xecb8fa[_0x37ef63(0x118)],_0xb5d1b2[_0x37ef63(0xdd)])),constants[_0x37ef63(0x164)]=helper['getHubUrl'](this[_0x37ef63(0x11e)]),logger[_0x37ef63(0x125)](_0x37ef63(0xd6)+constants[_0x37ef63(0x164)]);}helper[_0x37ef63(0xfe)](this[_0x37ef63(0x11e)]),this[_0x37ef63(0xcd)](),_0xb5d1b2[_0x37ef63(0x153)](setPercyFlag,this),await this[_0x37ef63(0x107)](),![_0xb5d1b2[_0x37ef63(0x154)]]['includes'](this[_0x37ef63(0x119)])&&!_0xb5d1b2[_0x37ef63(0x153)](isTurboScaleSession,this[_0x37ef63(0x11e)])&&await this[_0x37ef63(0xf6)]();}async[a54_0x4efd8c(0x147)](){const _0x5bad49=a54_0x4efd8c,_0x26fb68={};_0x26fb68[_0x5bad49(0xfc)]=function(_0x34b877,_0x46909e){return _0x34b877===_0x46909e;},_0x26fb68[_0x5bad49(0xf1)]=_0x5bad49(0xf2),_0x26fb68['twbkJ']='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x26fb68[_0x5bad49(0x11a)]=_0x5bad49(0x138),_0x26fb68['gdDOG']=_0x5bad49(0x163),_0x26fb68[_0x5bad49(0x13c)]='beforeExit';const _0x1cdafe=_0x26fb68;if(helper[_0x5bad49(0x114)](this[_0x5bad49(0x11e)][_0x5bad49(0x12d)])&&(!this[_0x5bad49(0x12d)]||!this[_0x5bad49(0x12d)][_0x5bad49(0x13b)]()))try{this[_0x5bad49(0x12d)]=await percyHelper['startPercy'](this['config']);if(!this[_0x5bad49(0x12d)]){process['env'][_0x5bad49(0x116)]=_0x1cdafe[_0x5bad49(0xf1)];throw new Error(_0x1cdafe[_0x5bad49(0x174)]);}logger[_0x5bad49(0x143)](_0x1cdafe['RwdzR']),process[_0x5bad49(0x14f)][_0x5bad49(0x116)]=_0x1cdafe[_0x5bad49(0xc5)];let _0x48d4a8=0x0;const _0x5461fc=async()=>{const _0x1fe18e=_0x5bad49;_0x48d4a8++,_0x1cdafe['QMeEc'](_0x48d4a8,0x1)&&await this[_0x1fe18e(0xee)]();};process['on'](_0x1cdafe[_0x5bad49(0x13c)],_0x5461fc);}catch(_0xfe30dc){process[_0x5bad49(0x14f)][_0x5bad49(0x116)]=_0x1cdafe[_0x5bad49(0xf1)],logger['debug']('Error\x20in\x20percy\x20setup\x20'+_0xfe30dc);throw new Error(_0xfe30dc[_0x5bad49(0xe8)]());}}async[a54_0x4efd8c(0xee)](){const _0x5149aa=a54_0x4efd8c,_0x514a2c={};_0x514a2c[_0x5149aa(0x157)]='Percy\x20stopped',_0x514a2c[_0x5149aa(0x173)]=_0x5149aa(0x130);const _0x30e68a=_0x514a2c;if(this[_0x5149aa(0x12d)]&&this[_0x5149aa(0x12d)]['isRunning']())try{await percyHelper[_0x5149aa(0xee)](this[_0x5149aa(0x12d)]),logger[_0x5149aa(0x143)](_0x30e68a[_0x5149aa(0x157)]);}catch(_0x4588aa){logger[_0x5149aa(0xd0)](_0x30e68a[_0x5149aa(0x173)],_0x4588aa['message']);}}async[a54_0x4efd8c(0x107)](){const _0x49892f=a54_0x4efd8c,_0x315127={};_0x315127[_0x49892f(0xca)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x315127[_0x49892f(0x110)]=_0x49892f(0x12b);const _0x5b0542=_0x315127;if(helper['isBrowserstackInfra']()&&helper['isTrue'](this[_0x49892f(0x11e)][_0x49892f(0x162)])&&(!this[_0x49892f(0x162)]||!this['browserstackLocal'][_0x49892f(0x13b)]()))try{if(this[_0x49892f(0x11e)][_0x49892f(0x108)][_0x49892f(0x16f)]){logger[_0x49892f(0x125)](_0x5b0542[_0x49892f(0xca)]);return;}this['browserstackLocal']=await helper[_0x49892f(0xf3)](this[_0x49892f(0x11e)]),logger['info'](_0x5b0542['QtKdh']);}catch(_0x1bf7a0){logger['debug'](_0x1bf7a0);throw new Error(_0x1bf7a0[_0x49892f(0xe8)]());}}async[a54_0x4efd8c(0x151)](){const _0x2e6d1f=a54_0x4efd8c,_0x4d3baa={};_0x4d3baa[_0x2e6d1f(0x124)]=_0x2e6d1f(0xfd),_0x4d3baa['QiMzr']=_0x2e6d1f(0x10f);const _0x41cab5=_0x4d3baa;if(this[_0x2e6d1f(0x162)]&&this[_0x2e6d1f(0x162)][_0x2e6d1f(0x13b)]())try{await helper['stopLocalBinary'](this[_0x2e6d1f(0x162)]),logger[_0x2e6d1f(0x143)](_0x41cab5[_0x2e6d1f(0x124)]);}catch(_0xcf18de){logger[_0x2e6d1f(0xd0)](_0x41cab5['QiMzr'],_0xcf18de[_0x2e6d1f(0x12a)]);}}async[a54_0x4efd8c(0xf6)](){const _0x114cf7=a54_0x4efd8c;await hubAllocator['allocateHub'](this[_0x114cf7(0x11e)]);}['setupKeepAlive'](){const _0x4ef31b=a54_0x4efd8c,_0x52a0eb={'Mxilo':function(_0x418b76,_0x54f146){return _0x418b76(_0x54f146);},'uJMTv':_0x4ef31b(0xec)};_0x52a0eb[_0x4ef31b(0xe9)](require,_0x52a0eb[_0x4ef31b(0xf9)])();}[a54_0x4efd8c(0x120)](){const _0x5b426e=a54_0x4efd8c,_0x4ce971={};_0x4ce971['wgpRz']=_0x5b426e(0x156),_0x4ce971[_0x5b426e(0x16b)]='uncaughtException';const _0x389280=_0x4ce971,_0x18ef09=_0x5dc982=>{const _0x3c7803=_0x5b426e;logger[_0x3c7803(0xd0)](_0x5dc982[_0x3c7803(0x12a)]),logger['debug'](util[_0x3c7803(0x115)](_0x5dc982)),this[_0x3c7803(0x16e)][_0x3c7803(0x146)](util[_0x3c7803(0x115)]('%j',_0x5dc982)),PerformanceTester['captureError'](_0x5dc982);};process['on'](_0x389280[_0x5b426e(0x15f)],_0x18ef09),process['on'](_0x389280[_0x5b426e(0x16b)],_0x18ef09);}async[a54_0x4efd8c(0x103)](_0x547ae8){const _0x49e3e3=a54_0x4efd8c,_0x5d1b3e={};_0x5d1b3e['xUXGl']=_0x49e3e3(0xcb),_0x5d1b3e[_0x49e3e3(0x139)]=function(_0x35d49c,_0xc460e){return _0x35d49c+_0xc460e;},_0x5d1b3e[_0x49e3e3(0xce)]=_0x49e3e3(0x104),_0x5d1b3e['UEuCH']=function(_0x3ffb5a,_0x5a26b8){return _0x3ffb5a+_0x5a26b8;},_0x5d1b3e[_0x49e3e3(0x11f)]=_0x49e3e3(0x144);const _0x5c0614=_0x5d1b3e,_0x355ced=_0x5c0614[_0x49e3e3(0xd3)]['split']('|');let _0x342af6=0x0;while(!![]){switch(_0x355ced[_0x342af6++]){case'0':this['killSignal']=_0x547ae8;continue;case'1':if(this[_0x5c0614['NBHtz'](_0x5c0614[_0x49e3e3(0xce)],_0x547ae8)])return;continue;case'2':logger['info'](_0x5c0614[_0x49e3e3(0xe2)](_0x5c0614[_0x49e3e3(0x11f)],_0x547ae8));continue;case'3':this[_0x5c0614[_0x49e3e3(0x139)](_0x5c0614[_0x49e3e3(0xce)],_0x547ae8)]=!![];continue;case'4':await TestHubHandler[_0x49e3e3(0x10e)](_0x547ae8);continue;}break;}}[a54_0x4efd8c(0xd5)](){const _0x5d81d8=a54_0x4efd8c,_0x199512={};_0x199512['vTwLp']=function(_0x16727a,_0x849059){return _0x16727a===_0x849059;},_0x199512[_0x5d81d8(0x177)]=_0x5d81d8(0xf0);const _0x475537=_0x199512;let _0x20d51f=0x0;return async()=>{const _0x5e2695=_0x5d81d8;_0x20d51f++;if(_0x475537[_0x5e2695(0x121)](_0x20d51f,0x1)){helper[_0x5e2695(0x14e)](this[_0x5e2695(0x119)])&&await this['stopBrowserstackLocal']();try{logger[_0x5e2695(0x125)](_0x475537[_0x5e2695(0x177)]),await TestHubHandler['stop'](_0x20d51f);}catch(_0x2296fd){logger['debug'](_0x5e2695(0xe5)+util[_0x5e2695(0x115)](_0x2296fd));}}};}}function a54_0x3444(){const _0x391d8f=['setBrowserstackInfraFromConfig','intExitHandler','handled','CmtPe','kUikA','setupBrowserstackLocal','browserStackLocalOptions','getFinalCaps','localOptions','killSignal','localIdentifier','./performance-tester','stop','Error\x20occured\x20while\x20stopping\x20local\x20binary','QtKdh','turboScaleOptions','1599514gfSfmg','length','isTrue','format','BROWSERSTACK_PERCY','2238YBiUDK','playwrightUrl','framework','RwdzR','join','turboScale','envConfig','config','uZhcS','handleExceptions','vTwLp','161385DekkCo','isUndefined','kRDpp','debug','SDKTestAttempted','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','Loading\x20environment\x20from:\x20','useW3C','message','Local\x20binary\x20started\x20successfully','turboScaleGridDetails','percy','jnFPQ','sLtWh','Error\x20occured\x20while\x20stopping\x20percy','selenium-webdriver','BROWSERSTACK_TURBOSCALE','SIGTERM','winstonLogger','Qiyuz','integrations','./percy/utils','Percy\x20started\x20successfully','NBHtz','srFvB','isRunning','gWGyU','split','xTelR','generateLocalIdentifier','30|40|12|11|2|14|35|32|16|3|10|36|15|31|6|5|19|17|25|4|34|13|23|29|41|39|27|28|38|37|42|21|20|0|18|8|24|7|22|9|1|26|33','skipSessionName','SIGHUP','info','Shutdown\x20triggered\x20by\x20','platform','push','setupPercy','setCLICaps','fireFunnelTestEvent','tFnNk','../bin/utils/constants','TuleH','4sNdHpc','checkStopLocalBinaryOnExit','env','turboScaleUrl','stopBrowserstackLocal','forceLocal','OnvKE','bfQOb','626814XtVLSa','unhandledRejection','vFYtS','?caps=','ats-repeater','VjXru','FRAMEWORK','./logger','platforms','getPackageVersion','wgpRz','SIGQUIT','33573IeUwob','browserstackLocal','true','hubUrl','ldtro','seUbP','setEnvCaps','setLogLevel','uuid','codML','SbNBO','dQqXG','win32','unhandledErrors','skipBinaryInitialisation','qNJrN','toLowerCase','./helper','oDgab','twbkJ','bhNot','path','YNkHa','JhCCQ','gdDOG','ftTay','./test-observability/sessionHandler','errorMessage','getLocalIdentifier','LcqRN','1|3|2|0|4','iZLwL','setupKeepAlive','KiiEn','900evGpuJ','error','getAccessKey','pKIZo','xUXGl','UuXjY','exitHandler','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','cliConfig','sdkRunID','custom-repeater','compareVersions','dotenv','TqXIR','uEHWt','envFile','bind','1321500ztrNiQ','codeceptjs','UEuCH','4.5.0','YUiHr','Error\x20in\x20sending\x20testhub\x20stop:\x20','QhHEk','SIGABRT','toString','Mxilo','skipSessionStatus','cvPjR','./setKeepAlive','testContextOptions','stopPercy','getConfigPath','Calling\x20Build\x20Stop\x20from\x20ExitHandler','vXJMB','false','startLocalBinary','isBrowserstackInfra','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','setUpHubUrl','1125776YwWYLr','No\x20config\x20provided.','uJMTv','ExOMc','SIGBREAK','QMeEc','Local\x20binary\x20stopped','setProxySettings','./testhub/testhubHandler','initialize','playwright'];a54_0x3444=function(){return _0x391d8f;};return a54_0x3444();}exports['default']=BrowserStackSetup;
@@ -1 +1 @@
1
- function a54_0x4447(){var _0x3fbf90=['https://accessibility.browserstack.com/api','8521992AsSrfi','14858640PVjWzl','1070898TCzfyR','293973SiDFqp','284SmPARS','42215cFMDsm','35GVYkau','2969685IMYoxD','733052mFBhXt'];a54_0x4447=function(){return _0x3fbf90;};return a54_0x4447();}var a54_0x200bd3=a54_0x10b3;function a54_0x10b3(_0x38f075,_0x34e7b3){var _0x4447d9=a54_0x4447();return a54_0x10b3=function(_0x10b3e5,_0x46dede){_0x10b3e5=_0x10b3e5-0xfe;var _0x3b8115=_0x4447d9[_0x10b3e5];return _0x3b8115;},a54_0x10b3(_0x38f075,_0x34e7b3);}(function(_0x2b1cfc,_0x4235ff){var _0xc15541=a54_0x10b3,_0x4a1d86=_0x2b1cfc();while(!![]){try{var _0x4fd59c=parseInt(_0xc15541(0xff))/0x1+parseInt(_0xc15541(0x104))/0x2+-parseInt(_0xc15541(0x103))/0x3+parseInt(_0xc15541(0x100))/0x4*(parseInt(_0xc15541(0x101))/0x5)+parseInt(_0xc15541(0xfe))/0x6*(parseInt(_0xc15541(0x102))/0x7)+parseInt(_0xc15541(0x106))/0x8+-parseInt(_0xc15541(0x107))/0x9;if(_0x4fd59c===_0x4235ff)break;else _0x4a1d86['push'](_0x4a1d86['shift']());}catch(_0x363589){_0x4a1d86['push'](_0x4a1d86['shift']());}}}(a54_0x4447,0x8ccf9),exports['API_URL']=a54_0x200bd3(0x105));
1
+ function a55_0x5403(_0x1e0dc7,_0x5bef20){var _0x4b51f7=a55_0x4b51();return a55_0x5403=function(_0x5403be,_0x28ac9d){_0x5403be=_0x5403be-0x79;var _0x3a6a39=_0x4b51f7[_0x5403be];return _0x3a6a39;},a55_0x5403(_0x1e0dc7,_0x5bef20);}(function(_0x52e748,_0x3427e4){var _0xd87355=a55_0x5403,_0x51582b=_0x52e748();while(!![]){try{var _0x586fd1=parseInt(_0xd87355(0x79))/0x1+parseInt(_0xd87355(0x7f))/0x2+-parseInt(_0xd87355(0x7c))/0x3+parseInt(_0xd87355(0x7d))/0x4+-parseInt(_0xd87355(0x7e))/0x5+-parseInt(_0xd87355(0x7b))/0x6*(parseInt(_0xd87355(0x7a))/0x7)+parseInt(_0xd87355(0x80))/0x8;if(_0x586fd1===_0x3427e4)break;else _0x51582b['push'](_0x51582b['shift']());}catch(_0x45995b){_0x51582b['push'](_0x51582b['shift']());}}}(a55_0x4b51,0x1b46a),exports['API_URL']='https://accessibility.browserstack.com/api');function a55_0x4b51(){var _0x2eaf67=['71004TvjMlo','2225816JpvXBh','128244naRPic','14TfVUSu','637722NMaQxy','100347LIZaSh','98676CvKLzn','544485hYYeIQ'];a55_0x4b51=function(){return _0x2eaf67;};return a55_0x4b51();}
@@ -1 +1 @@
1
- function a55_0x5256(_0x3d9629,_0x4d827d){const _0x377308=a55_0x3773();return a55_0x5256=function(_0x525678,_0x2c389e){_0x525678=_0x525678-0xc0;let _0x34489a=_0x377308[_0x525678];return _0x34489a;},a55_0x5256(_0x3d9629,_0x4d827d);}const a55_0x4678d4=a55_0x5256;(function(_0x124dff,_0x5010a1){const _0x241d5b=a55_0x5256,_0x28d1ce=_0x124dff();while(!![]){try{const _0x4ff6a8=-parseInt(_0x241d5b(0xc1))/0x1+-parseInt(_0x241d5b(0x101))/0x2*(-parseInt(_0x241d5b(0x12b))/0x3)+parseInt(_0x241d5b(0xda))/0x4+-parseInt(_0x241d5b(0x120))/0x5*(-parseInt(_0x241d5b(0xf9))/0x6)+-parseInt(_0x241d5b(0xd3))/0x7+parseInt(_0x241d5b(0x114))/0x8*(parseInt(_0x241d5b(0xd5))/0x9)+-parseInt(_0x241d5b(0xf0))/0xa;if(_0x4ff6a8===_0x5010a1)break;else _0x28d1ce['push'](_0x28d1ce['shift']());}catch(_0x3c2742){_0x28d1ce['push'](_0x28d1ce['shift']());}}}(a55_0x3773,0x60f55));function a55_0x3773(){const _0x4340bd=['ZqGUJ','stringify','./scripts','VArho','../globals','script','CaNrA','Invalid\x20configuration\x20passed.','CBRXe','statusText','includes','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','platforms','getUserName','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','status','data','getBrowserName','parse','4938540fvsihP','stack','headers','bstackA11yShouldScan','debug','isAccessibilityAutomationSession','lFOEF','false','BS_A11Y_JWT','6sMVpVx','grwbf','Build\x20creation\x20had\x20failed.','scannerVersion','util','XkLFf','getPlatformVersion','Performing\x20scan\x20before\x20getting\x20results\x20summary','4jYreWS','ohajB','isBrowserstackInfra','getCiInfo','getAccessibilityResultsSummary','POST','AffoG','format','string','jWBbb','wUBPz','RcCEH','getAccessibilityResults','PUT','message','__cloud_provider___','createAccessibilityTestRun','TpLIo','warn','272hNyibz','env','getPlatform','playwright','aECkk','checkAccessibilityPlatformConfig','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','success','ofFGO','uYnui','fetchPlatformDetails','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','952975nASeTN','user','aMnUE','test_runs/stop','UZjHt','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','BHojJ','browserstackSessionName','excludeTagsInTestingScope','Performing\x20scan\x20before\x20getting\x20results','v2/test_runs','427443twUijx','application/json','measureWrapper','../logger','bLgye','Content-Type','getCapabilities','JLAAs','qOQvg','getResultsSummary','accessibility','join','xdaIA','Invalid\x20request:\x20','wRcDf','No\x20accessibility\x20summary\x20was\x20found.','buildName','VoVqR','xvSnN','forEach','Authorization','daYjD','null','XJOFj','isAccessibilityPlatform','No\x20accessibility\x20results\x20were\x20found.','some','wDfvI','isTrue','EOHDJ','DFEci','performScan','error','ZKlmf','EoXAD','basename','json','assign','BROWSERSTACK_TEST_ACCESSIBILITY_YML','QQyNF','IJASK','body','response','info','vSmzF','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','cwd','length','getHostInfo','auth','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','JpdzH','isArray','nodeRequest','330334AxMRik','mXUSY','PmWuP','getAccessKey','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','browserstack_executor','parseFromJson','shouldScanTestForAccessibility','Nhypv','toISOString','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','resolve','errors','getGlobal','accessibilityToken','vtWZJ','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','isUndefined','4737082lHqfkg','a11y:start','174726dPMIoX','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','executeAsyncScript','javascript','OSRXn','3049688VFdjmX','a11y:stop','getPackageVersion'];a55_0x3773=function(){return _0x4340bd;};return a55_0x3773();}const path=require('path'),util=require(a55_0x4678d4(0xfd)),bsSetupHelper=require('../helper'),logger=require(a55_0x4678d4(0x12e))['winstonLogger'],{API_URL}=require('./constants'),PerformanceTester=require('../performance-tester'),scripts=require(a55_0x4678d4(0xdf)),globals=require(a55_0x4678d4(0xe1));exports[a55_0x4678d4(0x11e)]=async _0x1c13cc=>{const _0x53f6ec=a55_0x4678d4,_0x47937a={};_0x47937a[_0x53f6ec(0x139)]=function(_0x526f26,_0x189f80){return _0x526f26===_0x189f80;},_0x47937a[_0x53f6ec(0x137)]='browserstack';const _0x3ce807=_0x47937a;let _0x349b69={};try{const _0x44a6ff=await _0x1c13cc[_0x53f6ec(0x131)]();_0x349b69={'os_name':_0x44a6ff[_0x53f6ec(0x116)](),'os_version':bsSetupHelper[_0x53f6ec(0xff)](_0x3ce807[_0x53f6ec(0x139)](global[_0x53f6ec(0x110)],_0x3ce807[_0x53f6ec(0x137)])),'browser_name':_0x44a6ff[_0x53f6ec(0xee)](),'browser_version':_0x44a6ff['getBrowserVersion']()};}catch(_0xed7393){logger[_0x53f6ec(0xf4)](_0x53f6ec(0xeb)+_0xed7393);}return _0x349b69;},exports[a55_0x4678d4(0xf5)]=()=>{const _0x236bcb=a55_0x4678d4,_0x57b23d={};_0x57b23d['FkfkB']=function(_0x2a3dd3,_0x2e08d2){return _0x2a3dd3===_0x2e08d2;},_0x57b23d[_0x236bcb(0x13d)]=_0x236bcb(0x109),_0x57b23d[_0x236bcb(0xdd)]=function(_0x326cc5,_0x43dc30){return _0x326cc5>_0x43dc30;},_0x57b23d['QQyNF']=function(_0x2984af,_0x46611b){return _0x2984af!==_0x46611b;},_0x57b23d[_0x236bcb(0x15e)]=_0x236bcb(0x141),_0x57b23d[_0x236bcb(0xc9)]=function(_0x385ce7,_0x235e30){return _0x385ce7&&_0x235e30;};const _0x9e62b6=_0x57b23d;try{if(!bsSetupHelper['isBrowserstackInfra']())return![];const _0x317857=bsSetupHelper[_0x236bcb(0x147)](process[_0x236bcb(0x115)][_0x236bcb(0x151)])||bsSetupHelper[_0x236bcb(0x147)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']),_0x42c1c8=_0x9e62b6['FkfkB'](typeof process['env'][_0x236bcb(0xf8)],_0x9e62b6[_0x236bcb(0x13d)])&&_0x9e62b6['ZqGUJ'](process[_0x236bcb(0x115)]['BS_A11Y_JWT'][_0x236bcb(0x15a)],0x0)&&_0x9e62b6[_0x236bcb(0x152)](process[_0x236bcb(0x115)]['BS_A11Y_JWT'],_0x9e62b6[_0x236bcb(0x15e)]);return _0x9e62b6['Nhypv'](_0x317857,_0x42c1c8);}catch(_0x150194){logger['debug'](_0x236bcb(0xd1)+_0x150194);}return![];},exports[a55_0x4678d4(0xc8)]=(_0x2db5cd,_0x53cb11=!![])=>{const _0x196547=a55_0x4678d4,_0x4519d9={};_0x4519d9[_0x196547(0x132)]=function(_0x3fa9a5,_0x2c355d){return _0x3fa9a5==_0x2c355d;},_0x4519d9[_0x196547(0x14c)]=function(_0x112e9b,_0x39abef){return _0x112e9b===_0x39abef;},_0x4519d9[_0x196547(0xf6)]=function(_0x1a10a1,_0x1cc2fa){return _0x1a10a1&&_0x1cc2fa;},_0x4519d9[_0x196547(0x148)]=_0x196547(0xc5);const _0x590a11=_0x4519d9;if(_0x590a11['JLAAs'](process['env'][_0x196547(0x158)],null))return!![];try{const _0x54582c=JSON[_0x196547(0xef)](process[_0x196547(0x115)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x20ca93=Array[_0x196547(0x15f)](_0x54582c['includeTagsInTestingScope'])?_0x54582c['includeTagsInTestingScope']:[],_0x44c48d=Array[_0x196547(0x15f)](_0x54582c[_0x196547(0x128)])?_0x54582c[_0x196547(0x128)]:[];let _0x632d55;_0x53cb11?_0x632d55=_0x2db5cd[_0x196547(0x136)]('/'):_0x632d55=_0x2db5cd;const _0xd4763f=_0x44c48d['some'](_0x1a49e6=>_0x632d55['includes'](_0x1a49e6)),_0x263a14=_0x590a11[_0x196547(0x14c)](_0x20ca93['length'],0x0)||_0x20ca93[_0x196547(0x145)](_0x410979=>_0x632d55[_0x196547(0xe7)](_0x410979));return _0x590a11['lFOEF'](!_0xd4763f,_0x263a14);}catch(_0x10f5a8){logger[_0x196547(0xf4)](_0x590a11['EOHDJ'],_0x10f5a8);}return![];},exports[a55_0x4678d4(0x119)]=_0xa6f33c=>{const _0x5f391a=a55_0x4678d4;let _0x5dc573=![];try{_0xa6f33c[_0x5f391a(0xe9)][_0x5f391a(0x13e)](_0x3ace68=>{const _0x4eb7e8=_0x5f391a;if(bsSetupHelper[_0x4eb7e8(0x147)](_0x3ace68[_0x4eb7e8(0x135)]))return _0x5dc573=!![],!![];});}catch(_0xe6225e){logger[_0x5f391a(0xf4)](_0x5f391a(0x11f)+_0xe6225e);}return _0x5dc573||bsSetupHelper[_0x5f391a(0x147)](_0xa6f33c[_0x5f391a(0x135)]);},exports[a55_0x4678d4(0x111)]=PerformanceTester['measureWrapper'](a55_0x4678d4(0xd4),async function(_0x665fb7,_0x5cdaaa){const _0x9283b9=a55_0x4678d4,_0x6b43b0={};_0x6b43b0[_0x9283b9(0x140)]=_0x9283b9(0xcb),_0x6b43b0[_0x9283b9(0x153)]=_0x9283b9(0x117),_0x6b43b0['Zctnh']=_0x9283b9(0xd8),_0x6b43b0['EoXAD']='application/json',_0x6b43b0[_0x9283b9(0xe5)]=_0x9283b9(0x106),_0x6b43b0[_0x9283b9(0x11c)]=_0x9283b9(0x12a),_0x6b43b0[_0x9283b9(0xd9)]=function(_0x209b50,_0x337061){return _0x209b50===_0x337061;},_0x6b43b0[_0x9283b9(0x146)]=_0x9283b9(0xe4),_0x6b43b0[_0x9283b9(0x12f)]=_0x9283b9(0xf7);const _0x221920=_0x6b43b0,_0x4e036a=bsSetupHelper[_0x9283b9(0xea)](_0x665fb7),_0x32c837=bsSetupHelper[_0x9283b9(0xc4)](_0x665fb7);if(bsSetupHelper[_0x9283b9(0xd2)](_0x4e036a)||bsSetupHelper[_0x9283b9(0xd2)](_0x32c837))return logger[_0x9283b9(0x14b)](_0x221920[_0x9283b9(0x140)]),[null,null];try{let _0x272145;bsSetupHelper[_0x9283b9(0xd2)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x272145={}:_0x272145=JSON[_0x9283b9(0xef)](process[_0x9283b9(0x115)][_0x9283b9(0x158)]);const {name:_0x4607de,version:_0x28476e}=bsSetupHelper['getTestFrameworkDetails'](_0x665fb7,_0x5cdaaa),_0x4c9f6a={'projectName':_0x665fb7['projectName'],'buildName':_0x665fb7[_0x9283b9(0x13b)]||path[_0x9283b9(0x14e)](path[_0x9283b9(0xcc)](process[_0x9283b9(0x159)]())),'startTime':new Date()[_0x9283b9(0xca)](),'description':_0x665fb7['buildDescription']||'','source':{'frameworkName':_0x5cdaaa['includes'](_0x221920[_0x9283b9(0x153)])?_0x221920[_0x9283b9(0x153)]:_0x5cdaaa,'frameworkVersion':bsSetupHelper[_0x9283b9(0xdc)](_0x5cdaaa),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x221920['Zctnh'],'testFramework':_0x4607de,'testFrameworkVersion':_0x28476e},'settings':_0x272145,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x9283b9(0x104)](),'hostInfo':bsSetupHelper[_0x9283b9(0x15b)](),'browserstackAutomation':bsSetupHelper[_0x9283b9(0x103)]()},_0x41933e={};_0x41933e[_0x9283b9(0x121)]=_0x4e036a,_0x41933e['pass']=_0x32c837;const _0x199918={};_0x199918['Content-Type']=_0x221920[_0x9283b9(0x14d)];const _0x34ae48={};_0x34ae48[_0x9283b9(0x15c)]=_0x41933e,_0x34ae48['headers']=_0x199918;const _0x329d28=_0x34ae48,_0x19f352={};_0x19f352[_0x9283b9(0x154)]=_0x4c9f6a,_0x19f352[_0x9283b9(0x14f)]=!![];const _0x7097f3=Object[_0x9283b9(0x150)](_0x329d28,_0x19f352),_0x2c9196=await bsSetupHelper[_0x9283b9(0xc0)](_0x221920[_0x9283b9(0xe5)],_0x221920[_0x9283b9(0x11c)],_0x7097f3,_0x665fb7,API_URL);let _0x202e94=process['env'][_0x9283b9(0x158)];return _0x202e94?_0x202e94=JSON[_0x9283b9(0xef)](process[_0x9283b9(0x115)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x202e94={},scripts[_0x9283b9(0xc7)](_0x2c9196[_0x9283b9(0xed)][_0x9283b9(0xed)]),scripts['toJson'](),_0x202e94[_0x9283b9(0xfc)]=_0x2c9196[_0x9283b9(0xed)][_0x9283b9(0xed)][_0x9283b9(0xfc)],process[_0x9283b9(0x115)][_0x9283b9(0x158)]=JSON['stringify'](_0x202e94),[_0x2c9196[_0x9283b9(0xed)][_0x9283b9(0xed)][_0x9283b9(0xcf)],_0x2c9196['data'][_0x9283b9(0xed)]['id']];}catch(_0x442fa4){if(_0x442fa4[_0x9283b9(0x155)])logger[_0x9283b9(0x14b)](_0x9283b9(0xe8)+_0x442fa4[_0x9283b9(0x155)][_0x9283b9(0xec)]+'\x20'+_0x442fa4['response'][_0x9283b9(0xe6)]+'\x20'+JSON[_0x9283b9(0xde)](_0x442fa4[_0x9283b9(0x155)]['data']));else{if(_0x221920[_0x9283b9(0xd9)](_0x442fa4['message'],_0x221920[_0x9283b9(0x146)])){logger[_0x9283b9(0x14b)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x442fa4[_0x9283b9(0x10f)]||_0x442fa4[_0x9283b9(0xf1)]));for(const _0x578957 of _0x442fa4[_0x9283b9(0xcd)]){logger[_0x9283b9(0x14b)](_0x578957['message']);}process[_0x9283b9(0x115)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x221920['bLgye'],process[_0x9283b9(0x115)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x221920[_0x9283b9(0x12f)];}else logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x442fa4[_0x9283b9(0x10f)]||_0x442fa4[_0x9283b9(0xf1)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester[a55_0x4678d4(0x12d)](a55_0x4678d4(0xdb),async function(_0x1be226){const _0x470d2b=a55_0x4678d4,_0x38b1fc={};_0x38b1fc[_0x470d2b(0x149)]=function(_0x17bff9,_0x8598b4){return _0x17bff9!==_0x8598b4;},_0x38b1fc[_0x470d2b(0xfe)]='string',_0x38b1fc[_0x470d2b(0x107)]=_0x470d2b(0x14b),_0x38b1fc['NVFTD']=_0x470d2b(0xfb),_0x38b1fc['CaNrA']=_0x470d2b(0x12c),_0x38b1fc[_0x470d2b(0x112)]=_0x470d2b(0x10e),_0x38b1fc[_0x470d2b(0xfa)]=_0x470d2b(0x123),_0x38b1fc[_0x470d2b(0x118)]=function(_0x3ff50f,_0x2bad05){return _0x3ff50f+_0x2bad05;},_0x38b1fc[_0x470d2b(0xc3)]=_0x470d2b(0x138),_0x38b1fc[_0x470d2b(0x142)]=_0x470d2b(0x11b);const _0x49ed12=_0x38b1fc;if(bsSetupHelper[_0x470d2b(0xd2)](process[_0x470d2b(0x115)][_0x470d2b(0xf8)])||_0x49ed12[_0x470d2b(0x149)](typeof process[_0x470d2b(0x115)][_0x470d2b(0xf8)],_0x49ed12[_0x470d2b(0xfe)])){const _0x16b01e={};return _0x16b01e[_0x470d2b(0xec)]=_0x49ed12[_0x470d2b(0x107)],_0x16b01e[_0x470d2b(0x10f)]=_0x49ed12['NVFTD'],_0x16b01e;}const _0x2af068={'endTime':new Date()[_0x470d2b(0xca)]()},_0x387433={};_0x387433[_0x470d2b(0x13f)]='Bearer\x20'+process['env'][_0x470d2b(0xf8)],_0x387433[_0x470d2b(0x130)]=_0x49ed12[_0x470d2b(0xe3)];const _0x89fcaa={};_0x89fcaa[_0x470d2b(0xf2)]=_0x387433;const _0x4c5362=_0x89fcaa,_0x4ded98={};_0x4ded98[_0x470d2b(0x154)]=_0x2af068,_0x4ded98[_0x470d2b(0x15c)]=null,_0x4ded98[_0x470d2b(0x14f)]=!![];const _0x58a4f7=Object[_0x470d2b(0x150)](_0x4c5362,_0x4ded98);try{const _0x25f5af=await bsSetupHelper[_0x470d2b(0xc0)](_0x49ed12[_0x470d2b(0x112)],_0x49ed12[_0x470d2b(0xfa)],_0x58a4f7,_0x1be226,API_URL);if(_0x25f5af[_0x470d2b(0xed)][_0x470d2b(0x14b)])throw new Error(_0x49ed12['aECkk'](_0x49ed12[_0x470d2b(0xc3)],_0x25f5af['data'][_0x470d2b(0x14b)]));else{logger[_0x470d2b(0x156)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()['toISOString']());const _0x2bd892={};return _0x2bd892[_0x470d2b(0xec)]=_0x49ed12[_0x470d2b(0x142)],_0x2bd892[_0x470d2b(0x10f)]='',_0x2bd892;}}catch(_0x19d317){_0x19d317[_0x470d2b(0x155)]?logger[_0x470d2b(0x14b)](_0x470d2b(0xd6)+_0x19d317[_0x470d2b(0x155)][_0x470d2b(0xec)]+'\x20'+_0x19d317[_0x470d2b(0x155)][_0x470d2b(0xe6)]+'\x20'+JSON[_0x470d2b(0xde)](_0x19d317[_0x470d2b(0x155)]['data'])):logger['error'](_0x470d2b(0xd6)+(_0x19d317[_0x470d2b(0x10f)]||util[_0x470d2b(0x108)](_0x19d317)));const _0x3b0428={};return _0x3b0428[_0x470d2b(0xec)]=_0x49ed12[_0x470d2b(0x107)],_0x3b0428['message']=_0x19d317[_0x470d2b(0x10f)]||(_0x19d317['response']?_0x19d317['response']['status']+':'+_0x19d317[_0x470d2b(0x155)][_0x470d2b(0xe6)]:_0x19d317),_0x3b0428;}}),exports[a55_0x4678d4(0x14a)]=async(_0x37789b,_0x17b9ab=null)=>{const _0x61f7a7=a55_0x4678d4,_0x597147={};_0x597147['BHojJ']='isAccessibilityPlatform',_0x597147['qOQvg']='bstackA11yShouldScan',_0x597147[_0x61f7a7(0x10b)]=_0x61f7a7(0x15d);const _0x20e9c4=_0x597147;if(!this[_0x61f7a7(0xf5)]()||!globals[_0x61f7a7(0xce)](_0x20e9c4[_0x61f7a7(0x126)])||!globals[_0x61f7a7(0xce)](_0x20e9c4[_0x61f7a7(0x133)])){logger[_0x61f7a7(0x113)](_0x20e9c4['wUBPz']);return;}const _0x494c4c={};_0x494c4c['method']=_0x17b9ab||global['browserstackSessionName'],logger[_0x61f7a7(0xf4)](util[_0x61f7a7(0x108)](await _0x37789b[_0x61f7a7(0xd7)](scripts[_0x61f7a7(0x14a)],_0x494c4c)));},exports[a55_0x4678d4(0x10d)]=async(_0x3f6e21,_0x5b9fae)=>{const _0x36fbbe=a55_0x4678d4,_0x494544={};_0x494544['nhzga']=_0x36fbbe(0x143),_0x494544['taIuv']='bstackA11yShouldScan',_0x494544[_0x36fbbe(0x102)]=_0x36fbbe(0x125),_0x494544['vSmzF']=_0x36fbbe(0x129),_0x494544[_0x36fbbe(0x10c)]=_0x36fbbe(0x144);const _0x2f8097=_0x494544;if(!this[_0x36fbbe(0xf5)]()||!globals[_0x36fbbe(0xce)](_0x2f8097['nhzga'])||!globals[_0x36fbbe(0xce)](_0x2f8097['taIuv']))return logger[_0x36fbbe(0x113)](_0x2f8097[_0x36fbbe(0x102)]),[];try{logger[_0x36fbbe(0xf4)](_0x2f8097[_0x36fbbe(0x157)]);const _0x5ab0ea={};_0x5ab0ea['method']=_0x5b9fae[_0x36fbbe(0x127)],logger[_0x36fbbe(0xf4)](util['format'](await _0x3f6e21[_0x36fbbe(0xd7)](scripts[_0x36fbbe(0x14a)],_0x5ab0ea)));const _0x5b8908=await _0x3f6e21[_0x36fbbe(0xd7)](scripts['getResults']);return _0x5b8908;}catch{return logger['error'](_0x2f8097[_0x36fbbe(0x10c)]),[];}},exports[a55_0x4678d4(0x105)]=async(_0x1a5a49,_0x1c227a)=>{const _0x512d7d=a55_0x4678d4,_0x47576a={};_0x47576a[_0x512d7d(0xd0)]='isAccessibilityPlatform',_0x47576a['jWBbb']=_0x512d7d(0xf3),_0x47576a[_0x512d7d(0xc2)]=_0x512d7d(0x11a),_0x47576a[_0x512d7d(0x122)]=_0x512d7d(0x100),_0x47576a[_0x512d7d(0xe0)]=_0x512d7d(0x13a);const _0x302e1c=_0x47576a;if(!this[_0x512d7d(0xf5)]()||!globals[_0x512d7d(0xce)](_0x302e1c[_0x512d7d(0xd0)])||!globals[_0x512d7d(0xce)](_0x302e1c[_0x512d7d(0x10a)]))return logger[_0x512d7d(0x113)](_0x302e1c[_0x512d7d(0xc2)]),{};try{logger['debug'](_0x302e1c[_0x512d7d(0x122)]);const _0x2aaa59={};_0x2aaa59['method']=_0x1c227a[_0x512d7d(0x127)],logger[_0x512d7d(0xf4)](util[_0x512d7d(0x108)](await _0x1a5a49[_0x512d7d(0xd7)](scripts[_0x512d7d(0x14a)],_0x2aaa59)));const _0x5c09fb=await _0x1a5a49[_0x512d7d(0xd7)](scripts[_0x512d7d(0x134)]);return _0x5c09fb;}catch{return logger[_0x512d7d(0x14b)](_0x302e1c['VArho']),{};}},exports['isBrowserStackCommandExecutor']=_0x239117=>{const _0xbf038f=a55_0x4678d4,_0x1ef044={};_0x1ef044[_0xbf038f(0x11d)]=function(_0x3d1f8b,_0x57fc1b){return _0x3d1f8b===_0x57fc1b;},_0x1ef044[_0xbf038f(0x124)]=_0xbf038f(0x109),_0x1ef044['VoVqR']=_0xbf038f(0xc6);const _0x40c7c5=_0x1ef044;if(_0x239117&&_0x239117[_0xbf038f(0xe2)]&&_0x40c7c5[_0xbf038f(0x11d)](typeof _0x239117[_0xbf038f(0xe2)],_0x40c7c5[_0xbf038f(0x124)]))return _0x239117[_0xbf038f(0xe2)]['includes'](_0x40c7c5[_0xbf038f(0x13c)]);return![];};
1
+ const a56_0x39473e=a56_0x28ff;function a56_0x28ff(_0x2c8b3a,_0x408171){const _0x1d9f31=a56_0x1d9f();return a56_0x28ff=function(_0x28ff04,_0x2374be){_0x28ff04=_0x28ff04-0x1aa;let _0x18dd5e=_0x1d9f31[_0x28ff04];return _0x18dd5e;},a56_0x28ff(_0x2c8b3a,_0x408171);}(function(_0x50a563,_0xe916fa){const _0x23c09f=a56_0x28ff,_0x2738e5=_0x50a563();while(!![]){try{const _0x3fa13f=parseInt(_0x23c09f(0x1e6))/0x1*(parseInt(_0x23c09f(0x1be))/0x2)+parseInt(_0x23c09f(0x1d8))/0x3+parseInt(_0x23c09f(0x1c2))/0x4*(parseInt(_0x23c09f(0x21d))/0x5)+parseInt(_0x23c09f(0x1e1))/0x6+parseInt(_0x23c09f(0x1fb))/0x7*(parseInt(_0x23c09f(0x1c7))/0x8)+-parseInt(_0x23c09f(0x1c4))/0x9+-parseInt(_0x23c09f(0x1da))/0xa;if(_0x3fa13f===_0xe916fa)break;else _0x2738e5['push'](_0x2738e5['shift']());}catch(_0x49e656){_0x2738e5['push'](_0x2738e5['shift']());}}}(a56_0x1d9f,0x55286));function a56_0x1d9f(){const _0x5e1d6b=['getTestFrameworkDetails','Performing\x20scan\x20before\x20getting\x20results\x20summary','2320kEGnNt','UgPsc','CxEGq','AqiOd','getResultsSummary','string','getUserName','nnMJV','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','response','script','XyVWr','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','AoqSS','body','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','1544430NVttBj','env','9331220CzzBrm','../globals','OaKlQ','error','SSQna','a11y:stop','Build\x20creation\x20had\x20failed.','756426IKuJdM','errors','stack','success','SgDwN','203989PrKfuR','dkJsf','format','fetchPlatformDetails','winstonLogger','javascript','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getGitMetaData','wYkMQ','getResults','RiSFG','Authorization','zUqYp','isTrue','ptwDp','accessibilityToken','nodeRequest','auth','toISOString','executeAsyncScript','cwd','8442odletV','yvxqo','debug','pass','YljEn','QRBzE','Ngjfb','BROWSERSTACK_TEST_ACCESSIBILITY_YML','length','fOFqW','FdrMr','util','Qjcuh','statusText','isAccessibilityPlatform','Content-Type','getPlatform','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','isAccessibilityAutomationSession','toJson','assign','a11y:start','TAaSC','warn','parse','GuZvV','getAccessKey','false','bpUQG','isBrowserStackCommandExecutor','NqzkI','../helper','some','playwright','20mQRwGe','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','forEach','browserstackSessionName','qijiZ','stopAccessibilityTestRun','isUndefined','krbcQ','basename','BzaSz','getBrowserVersion','user','sHKuH','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','message','browserstack_executor','parseFromJson','../performance-tester','wWQSD','stringify','info','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','WNuVY','measureWrapper','bGEra','../logger','data','nfRTf','UNhmO','BS_A11Y_JWT','json','bstackA11yShouldScan','VQZOc','Bearer\x20','UuLMG','includes','status','application/json','JPsSJ','eUyrx','resolve','AtCTL','No\x20accessibility\x20summary\x20was\x20found.','excludeTagsInTestingScope','gZXVN','getAccessibilityResultsSummary','VNJWG','createAccessibilityTestRun','getPlatformVersion','accessibility','checkAccessibilityPlatformConfig','includeTagsInTestingScope','scannerVersion','RTksc','getGlobal','iNsvG','buildDescription','LXoMj','projectName','performScan','2hjyxMI','getBrowserName','HTtHd','__cloud_provider___','108952gOlzyp','isBrowserstackInfra','194706LYNgaN'];a56_0x1d9f=function(){return _0x5e1d6b;};return a56_0x1d9f();}const path=require('path'),util=require(a56_0x39473e(0x206)),bsSetupHelper=require(a56_0x39473e(0x21a)),logger=require(a56_0x39473e(0x236))[a56_0x39473e(0x1ea)],{API_URL}=require('./constants'),PerformanceTester=require(a56_0x39473e(0x22e)),scripts=require('./scripts'),globals=require(a56_0x39473e(0x1db));exports[a56_0x39473e(0x1e9)]=async _0x2e40ed=>{const _0x1e0fea=a56_0x39473e,_0x441470={};_0x441470[_0x1e0fea(0x219)]=function(_0x59f1fa,_0x1cc2b5){return _0x59f1fa===_0x1cc2b5;},_0x441470['OaKlQ']='browserstack';const _0x2bfe2e=_0x441470;let _0x59103d={};try{const _0x4ff067=await _0x2e40ed['getCapabilities']();_0x59103d={'os_name':_0x4ff067[_0x1e0fea(0x20b)](),'os_version':bsSetupHelper[_0x1e0fea(0x1b2)](_0x2bfe2e[_0x1e0fea(0x219)](global[_0x1e0fea(0x1c1)],_0x2bfe2e[_0x1e0fea(0x1dc)])),'browser_name':_0x4ff067[_0x1e0fea(0x1bf)](),'browser_version':_0x4ff067[_0x1e0fea(0x227)]()};}catch(_0x2b5d69){logger[_0x1e0fea(0x1fd)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x2b5d69);}return _0x59103d;},exports[a56_0x39473e(0x20d)]=()=>{const _0x131092=a56_0x39473e,_0x3be6aa={};_0x3be6aa['YljEn']=function(_0x4f6ea1,_0x59ef18){return _0x4f6ea1===_0x59ef18;},_0x3be6aa['wWQSD']=_0x131092(0x1cc),_0x3be6aa['Xvveq']=function(_0x30ac6c,_0x451824){return _0x30ac6c>_0x451824;},_0x3be6aa[_0x131092(0x1d2)]=function(_0x580795,_0x158052){return _0x580795!==_0x158052;},_0x3be6aa[_0x131092(0x1f2)]='null',_0x3be6aa[_0x131092(0x211)]=function(_0xa05ed3,_0x28e0d7){return _0xa05ed3&&_0x28e0d7;};const _0x401090=_0x3be6aa;try{if(!bsSetupHelper[_0x131092(0x1c3)]())return![];const _0x31b9fa=bsSetupHelper[_0x131092(0x1f3)](process[_0x131092(0x1d9)][_0x131092(0x202)])||bsSetupHelper['isTrue'](process[_0x131092(0x1d9)][_0x131092(0x1d3)]),_0x23aea3=_0x401090[_0x131092(0x1ff)](typeof process[_0x131092(0x1d9)][_0x131092(0x23a)],_0x401090[_0x131092(0x22f)])&&_0x401090['Xvveq'](process[_0x131092(0x1d9)][_0x131092(0x23a)]['length'],0x0)&&_0x401090['XyVWr'](process['env'][_0x131092(0x23a)],_0x401090[_0x131092(0x1f2)]);return _0x401090[_0x131092(0x211)](_0x31b9fa,_0x23aea3);}catch(_0x3fa5f6){logger['debug'](_0x131092(0x1d7)+_0x3fa5f6);}return![];},exports['shouldScanTestForAccessibility']=(_0x399b71=null,_0x11c471=!![],_0x4889d8=[])=>{const _0x3e65f8=a56_0x39473e,_0x1e911f={};_0x1e911f[_0x3e65f8(0x214)]=function(_0x52c953,_0x2fd3e6){return _0x52c953==_0x2fd3e6;},_0x1e911f['eUyrx']=function(_0x15dbb8,_0x535e65){return _0x15dbb8>_0x535e65;},_0x1e911f[_0x3e65f8(0x1c9)]=function(_0x2ee2fe,_0x50ede7){return _0x2ee2fe===_0x50ede7;},_0x1e911f[_0x3e65f8(0x1e7)]=function(_0xeba9a6,_0x2f7ba8){return _0xeba9a6&&_0x2f7ba8;},_0x1e911f[_0x3e65f8(0x23f)]=function(_0x42b188,_0x5518ac){return _0x42b188===_0x5518ac;};const _0x35cd17=_0x1e911f;if(_0x35cd17['GuZvV'](process['env'][_0x3e65f8(0x1ec)],null))return!![];try{const _0x1c9dad=JSON[_0x3e65f8(0x213)](process[_0x3e65f8(0x1d9)][_0x3e65f8(0x1ec)]),_0x56b4a3=Array['isArray'](_0x1c9dad[_0x3e65f8(0x1b5)])?_0x1c9dad[_0x3e65f8(0x1b5)]:[],_0xd049b6=Array['isArray'](_0x1c9dad[_0x3e65f8(0x1ad)])?_0x1c9dad[_0x3e65f8(0x1ad)]:[];if(bsSetupHelper['isUndefined'](_0x399b71)){if(_0x35cd17[_0x3e65f8(0x244)](_0x4889d8['length'],0x0)){const _0x4f697a=_0xd049b6[_0x3e65f8(0x21b)](_0x2caa68=>_0x4889d8[_0x3e65f8(0x240)](_0x2caa68)),_0x365587=_0x35cd17[_0x3e65f8(0x1c9)](_0x56b4a3[_0x3e65f8(0x203)],0x0)||_0x56b4a3[_0x3e65f8(0x21b)](_0x461957=>_0x4889d8[_0x3e65f8(0x240)](_0x461957));return _0x35cd17[_0x3e65f8(0x1e7)](!_0x4f697a,_0x365587);}return!![];}let _0x1d9c9e;_0x11c471?_0x1d9c9e=_0x399b71['join']('/'):_0x1d9c9e=_0x399b71;const _0x44117a=_0xd049b6[_0x3e65f8(0x21b)](_0x38c766=>_0x1d9c9e['includes'](_0x38c766)),_0x5eff6e=_0x35cd17[_0x3e65f8(0x23f)](_0x56b4a3['length'],0x0)||_0x56b4a3['some'](_0x3dee27=>_0x1d9c9e[_0x3e65f8(0x240)](_0x3dee27));return _0x35cd17[_0x3e65f8(0x1e7)](!_0x44117a,_0x5eff6e);}catch(_0x12f24b){logger[_0x3e65f8(0x1fd)](_0x3e65f8(0x22a)+util[_0x3e65f8(0x1e8)](_0x12f24b));}return![];},exports[a56_0x39473e(0x1b4)]=_0x578a34=>{const _0x40fabf=a56_0x39473e;let _0x270a4a=![];try{_0x578a34['platforms'][_0x40fabf(0x21f)](_0x2d31fb=>{const _0x4d583a=_0x40fabf;if(bsSetupHelper[_0x4d583a(0x1f3)](_0x2d31fb[_0x4d583a(0x1b3)]))return _0x270a4a=!![],!![];});}catch(_0x4cd1dd){logger[_0x40fabf(0x1fd)](_0x40fabf(0x20c)+_0x4cd1dd);}return _0x270a4a||bsSetupHelper[_0x40fabf(0x1f3)](_0x578a34[_0x40fabf(0x1b3)]);},exports[a56_0x39473e(0x1b1)]=PerformanceTester[a56_0x39473e(0x234)](a56_0x39473e(0x210),async function(_0x4beefb,_0x5e5dc8){const _0x2a642a=a56_0x39473e,_0x459a80={};_0x459a80[_0x2a642a(0x201)]='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x459a80[_0x2a642a(0x1c8)]=_0x2a642a(0x21c),_0x459a80[_0x2a642a(0x200)]=_0x2a642a(0x1eb),_0x459a80[_0x2a642a(0x238)]=_0x2a642a(0x242),_0x459a80['LXoMj']='POST',_0x459a80['kRFBs']='v2/test_runs',_0x459a80[_0x2a642a(0x1de)]=function(_0x473ec4,_0x1a0eb9){return _0x473ec4===_0x1a0eb9;},_0x459a80['wYkMQ']='Invalid\x20configuration\x20passed.',_0x459a80[_0x2a642a(0x224)]=_0x2a642a(0x216);const _0x22dc64=_0x459a80,_0x57df10=bsSetupHelper[_0x2a642a(0x1cd)](_0x4beefb),_0x1d9979=bsSetupHelper[_0x2a642a(0x215)](_0x4beefb);if(bsSetupHelper[_0x2a642a(0x223)](_0x57df10)||bsSetupHelper[_0x2a642a(0x223)](_0x1d9979))return logger[_0x2a642a(0x1dd)](_0x22dc64['Ngjfb']),[null,null];try{let _0x585df9;bsSetupHelper[_0x2a642a(0x223)](process[_0x2a642a(0x1d9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x585df9={}:_0x585df9=JSON[_0x2a642a(0x213)](process[_0x2a642a(0x1d9)][_0x2a642a(0x1ec)]);const {name:_0x5b9aa5,version:_0x3fc679}=bsSetupHelper[_0x2a642a(0x1c5)](_0x4beefb,_0x5e5dc8),_0x338fe3={'projectName':_0x4beefb[_0x2a642a(0x1bc)],'buildName':_0x4beefb['buildName']||path[_0x2a642a(0x225)](path[_0x2a642a(0x1aa)](process[_0x2a642a(0x1fa)]())),'startTime':new Date()[_0x2a642a(0x1f8)](),'description':_0x4beefb[_0x2a642a(0x1ba)]||'','source':{'frameworkName':_0x5e5dc8[_0x2a642a(0x240)](_0x22dc64[_0x2a642a(0x1c8)])?_0x22dc64[_0x2a642a(0x1c8)]:_0x5e5dc8,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x5e5dc8),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x22dc64[_0x2a642a(0x200)],'testFramework':_0x5b9aa5,'testFrameworkVersion':_0x3fc679},'settings':_0x585df9,'versionControl':await bsSetupHelper[_0x2a642a(0x1ed)](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0x2a642a(0x1c3)]()},_0x46e21f={};_0x46e21f[_0x2a642a(0x228)]=_0x57df10,_0x46e21f[_0x2a642a(0x1fe)]=_0x1d9979;const _0xfa8d03={};_0xfa8d03[_0x2a642a(0x20a)]=_0x22dc64[_0x2a642a(0x238)];const _0x4af35d={};_0x4af35d[_0x2a642a(0x1f7)]=_0x46e21f,_0x4af35d['headers']=_0xfa8d03;const _0x3520ac=_0x4af35d,_0x6d1821={};_0x6d1821[_0x2a642a(0x1d5)]=_0x338fe3,_0x6d1821[_0x2a642a(0x23b)]=!![];const _0x4f2554=Object[_0x2a642a(0x20f)](_0x3520ac,_0x6d1821),_0x46cfba=await bsSetupHelper[_0x2a642a(0x1f6)](_0x22dc64[_0x2a642a(0x1bb)],_0x22dc64['kRFBs'],_0x4f2554,_0x4beefb,API_URL);let _0x503bf0=process[_0x2a642a(0x1d9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x503bf0?_0x503bf0=JSON[_0x2a642a(0x213)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x503bf0={},scripts[_0x2a642a(0x22d)](_0x46cfba[_0x2a642a(0x237)][_0x2a642a(0x237)]),scripts[_0x2a642a(0x20e)](),_0x503bf0[_0x2a642a(0x1b6)]=_0x46cfba[_0x2a642a(0x237)]['data'][_0x2a642a(0x1b6)],process[_0x2a642a(0x1d9)][_0x2a642a(0x1ec)]=JSON[_0x2a642a(0x230)](_0x503bf0),[_0x46cfba[_0x2a642a(0x237)]['data'][_0x2a642a(0x1f5)],_0x46cfba[_0x2a642a(0x237)][_0x2a642a(0x237)]['id']];}catch(_0x41aed5){if(_0x41aed5[_0x2a642a(0x1d0)])logger[_0x2a642a(0x1dd)](_0x2a642a(0x1d6)+_0x41aed5['response'][_0x2a642a(0x241)]+'\x20'+_0x41aed5[_0x2a642a(0x1d0)][_0x2a642a(0x208)]+'\x20'+JSON[_0x2a642a(0x230)](_0x41aed5[_0x2a642a(0x1d0)][_0x2a642a(0x237)]));else{if(_0x22dc64['SSQna'](_0x41aed5[_0x2a642a(0x22b)],_0x22dc64[_0x2a642a(0x1ee)])){logger[_0x2a642a(0x1dd)](_0x2a642a(0x1d6)+(_0x41aed5['message']||_0x41aed5[_0x2a642a(0x1e3)]));for(const _0xe886ea of _0x41aed5[_0x2a642a(0x1e2)]){logger['error'](_0xe886ea[_0x2a642a(0x22b)]);}process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x22dc64['krbcQ'],process[_0x2a642a(0x1d9)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x22dc64[_0x2a642a(0x224)];}else logger[_0x2a642a(0x1dd)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x41aed5[_0x2a642a(0x22b)]||_0x41aed5[_0x2a642a(0x1e3)]));}return[null,null];}}),exports[a56_0x39473e(0x222)]=PerformanceTester['measureWrapper'](a56_0x39473e(0x1df),async function(_0x2e999b){const _0x446468=a56_0x39473e,_0x8ecd4a={};_0x8ecd4a[_0x446468(0x233)]=function(_0x44f19f,_0x509781){return _0x44f19f!==_0x509781;},_0x8ecd4a[_0x446468(0x1b7)]=_0x446468(0x1cc),_0x8ecd4a[_0x446468(0x229)]=_0x446468(0x1dd),_0x8ecd4a['gZXVN']=_0x446468(0x1e0),_0x8ecd4a[_0x446468(0x243)]=_0x446468(0x242),_0x8ecd4a[_0x446468(0x1d4)]='PUT',_0x8ecd4a[_0x446468(0x205)]='test_runs/stop',_0x8ecd4a['nnMJV']=function(_0x5b9f38,_0x698bb6){return _0x5b9f38+_0x698bb6;},_0x8ecd4a[_0x446468(0x1f4)]='Invalid\x20request:\x20',_0x8ecd4a[_0x446468(0x204)]=_0x446468(0x1e4);const _0x16f05a=_0x8ecd4a;if(bsSetupHelper[_0x446468(0x223)](process[_0x446468(0x1d9)][_0x446468(0x23a)])||_0x16f05a[_0x446468(0x233)](typeof process[_0x446468(0x1d9)][_0x446468(0x23a)],_0x16f05a[_0x446468(0x1b7)])){const _0x45d3dd={};return _0x45d3dd['status']=_0x16f05a[_0x446468(0x229)],_0x45d3dd[_0x446468(0x22b)]=_0x16f05a[_0x446468(0x1ae)],_0x45d3dd;}const _0x569415={'endTime':new Date()['toISOString']()},_0xa74e10={};_0xa74e10[_0x446468(0x1f1)]=_0x446468(0x23e)+process[_0x446468(0x1d9)][_0x446468(0x23a)],_0xa74e10['Content-Type']=_0x16f05a[_0x446468(0x243)];const _0x72817d={};_0x72817d['headers']=_0xa74e10;const _0x18fe9b=_0x72817d,_0x584c9d={};_0x584c9d[_0x446468(0x1d5)]=_0x569415,_0x584c9d['auth']=null,_0x584c9d['json']=!![];const _0x356f5a=Object[_0x446468(0x20f)](_0x18fe9b,_0x584c9d);try{const _0x30c156=await bsSetupHelper[_0x446468(0x1f6)](_0x16f05a[_0x446468(0x1d4)],_0x16f05a[_0x446468(0x205)],_0x356f5a,_0x2e999b,API_URL);if(_0x30c156[_0x446468(0x237)][_0x446468(0x1dd)])throw new Error(_0x16f05a[_0x446468(0x1ce)](_0x16f05a[_0x446468(0x1f4)],_0x30c156[_0x446468(0x237)][_0x446468(0x1dd)]));else{logger[_0x446468(0x231)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x446468(0x1f8)]());const _0x442695={};return _0x442695[_0x446468(0x241)]=_0x16f05a[_0x446468(0x204)],_0x442695[_0x446468(0x22b)]='',_0x442695;}}catch(_0x1b44c9){_0x1b44c9[_0x446468(0x1d0)]?logger['error'](_0x446468(0x232)+_0x1b44c9['response'][_0x446468(0x241)]+'\x20'+_0x1b44c9[_0x446468(0x1d0)][_0x446468(0x208)]+'\x20'+JSON['stringify'](_0x1b44c9['response'][_0x446468(0x237)])):logger[_0x446468(0x1dd)](_0x446468(0x232)+(_0x1b44c9['message']||util['format'](_0x1b44c9)));const _0x1ab8ed={};return _0x1ab8ed[_0x446468(0x241)]=_0x16f05a[_0x446468(0x229)],_0x1ab8ed[_0x446468(0x22b)]=_0x1b44c9['message']||(_0x1b44c9[_0x446468(0x1d0)]?_0x1b44c9[_0x446468(0x1d0)][_0x446468(0x241)]+':'+_0x1b44c9[_0x446468(0x1d0)][_0x446468(0x208)]:_0x1b44c9),_0x1ab8ed;}}),exports[a56_0x39473e(0x1bd)]=async(_0x5e86fa,_0x2becbc=null)=>{const _0x26431d=a56_0x39473e,_0x4bd91d={};_0x4bd91d[_0x26431d(0x1e5)]=_0x26431d(0x209),_0x4bd91d[_0x26431d(0x1ca)]=_0x26431d(0x23c),_0x4bd91d[_0x26431d(0x1c0)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.';const _0x3dcebb=_0x4bd91d;if(!this[_0x26431d(0x20d)]()||!globals[_0x26431d(0x1b8)](_0x3dcebb[_0x26431d(0x1e5)])||!globals[_0x26431d(0x1b8)](_0x3dcebb['AqiOd'])){logger[_0x26431d(0x212)](_0x3dcebb[_0x26431d(0x1c0)]);return;}const _0x45c653={};_0x45c653['method']=_0x2becbc||global['browserstackSessionName'],logger['debug'](util[_0x26431d(0x1e8)](await _0x5e86fa[_0x26431d(0x1f9)](scripts['performScan'],_0x45c653)));},exports['getAccessibilityResults']=async(_0x4574c8,_0x2e688f)=>{const _0x4baf01=a56_0x39473e,_0x219f1b={};_0x219f1b[_0x4baf01(0x1b9)]=_0x4baf01(0x209),_0x219f1b['lVauJ']=_0x4baf01(0x23c),_0x219f1b[_0x4baf01(0x23d)]=_0x4baf01(0x21e),_0x219f1b[_0x4baf01(0x1f0)]='Performing\x20scan\x20before\x20getting\x20results',_0x219f1b['yvxqo']='No\x20accessibility\x20results\x20were\x20found.';const _0x368218=_0x219f1b;if(!this[_0x4baf01(0x20d)]()||!globals['getGlobal'](_0x368218[_0x4baf01(0x1b9)])||!globals[_0x4baf01(0x1b8)](_0x368218['lVauJ']))return logger[_0x4baf01(0x212)](_0x368218[_0x4baf01(0x23d)]),[];try{logger[_0x4baf01(0x1fd)](_0x368218[_0x4baf01(0x1f0)]);const _0x11c7ba={};_0x11c7ba['method']=_0x2e688f['browserstackSessionName'],logger[_0x4baf01(0x1fd)](util[_0x4baf01(0x1e8)](await _0x4574c8[_0x4baf01(0x1f9)](scripts[_0x4baf01(0x1bd)],_0x11c7ba)));const _0x17c8fe=await _0x4574c8['executeAsyncScript'](scripts[_0x4baf01(0x1ef)]);return _0x17c8fe;}catch{return logger[_0x4baf01(0x1dd)](_0x368218[_0x4baf01(0x1fc)]),[];}},exports[a56_0x39473e(0x1af)]=async(_0x474e41,_0x851c0d)=>{const _0x9a6eac=a56_0x39473e,_0x1539dd={};_0x1539dd[_0x9a6eac(0x235)]='isAccessibilityPlatform',_0x1539dd[_0x9a6eac(0x239)]=_0x9a6eac(0x23c),_0x1539dd[_0x9a6eac(0x1ab)]=_0x9a6eac(0x1cf),_0x1539dd[_0x9a6eac(0x226)]=_0x9a6eac(0x1c6),_0x1539dd['bpUQG']=_0x9a6eac(0x1ac);const _0x23e2dd=_0x1539dd;if(!this[_0x9a6eac(0x20d)]()||!globals[_0x9a6eac(0x1b8)](_0x23e2dd['bGEra'])||!globals[_0x9a6eac(0x1b8)](_0x23e2dd[_0x9a6eac(0x239)]))return logger['warn'](_0x23e2dd[_0x9a6eac(0x1ab)]),{};try{logger[_0x9a6eac(0x1fd)](_0x23e2dd[_0x9a6eac(0x226)]);const _0x4e55aa={};_0x4e55aa['method']=_0x851c0d[_0x9a6eac(0x220)],logger[_0x9a6eac(0x1fd)](util[_0x9a6eac(0x1e8)](await _0x474e41[_0x9a6eac(0x1f9)](scripts['performScan'],_0x4e55aa)));const _0x1c718f=await _0x474e41[_0x9a6eac(0x1f9)](scripts[_0x9a6eac(0x1cb)]);return _0x1c718f;}catch{return logger[_0x9a6eac(0x1dd)](_0x23e2dd[_0x9a6eac(0x217)]),{};}},exports[a56_0x39473e(0x218)]=_0x32fff9=>{const _0x1f3fd3=a56_0x39473e,_0x110d4b={};_0x110d4b[_0x1f3fd3(0x207)]=function(_0x50b974,_0x182dc0){return _0x50b974===_0x182dc0;},_0x110d4b['qijiZ']='string',_0x110d4b['VNJWG']=_0x1f3fd3(0x22c);const _0x1065b8=_0x110d4b;if(_0x32fff9&&_0x32fff9[_0x1f3fd3(0x1d1)]&&_0x1065b8[_0x1f3fd3(0x207)](typeof _0x32fff9[_0x1f3fd3(0x1d1)],_0x1065b8[_0x1f3fd3(0x221)]))return _0x32fff9[_0x1f3fd3(0x1d1)][_0x1f3fd3(0x240)](_0x1065b8[_0x1f3fd3(0x1b0)]);return![];};