browserstack-node-sdk 1.34.17 → 1.34.18

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 (127) 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 +2 -2
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -1
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a41_0x11c14e=a41_0x2291;(function(_0x12b53f,_0x2db615){const _0x4973be=a41_0x2291,_0x1ae22c=_0x12b53f();while(!![]){try{const _0x1cdc98=-parseInt(_0x4973be(0x16c))/0x1*(parseInt(_0x4973be(0x245))/0x2)+parseInt(_0x4973be(0x17f))/0x3*(parseInt(_0x4973be(0x22d))/0x4)+parseInt(_0x4973be(0x231))/0x5+-parseInt(_0x4973be(0x1b1))/0x6*(-parseInt(_0x4973be(0x1a9))/0x7)+-parseInt(_0x4973be(0x193))/0x8*(parseInt(_0x4973be(0x214))/0x9)+-parseInt(_0x4973be(0x176))/0xa*(-parseInt(_0x4973be(0x240))/0xb)+parseInt(_0x4973be(0x225))/0xc;if(_0x1cdc98===_0x2db615)break;else _0x1ae22c['push'](_0x1ae22c['shift']());}catch(_0x597963){_0x1ae22c['push'](_0x1ae22c['shift']());}}}(a41_0x4caf,0xcf524));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData}=require('./pwUtils'),{v4:uuidv4}=require(a41_0x11c14e(0x1ee)),path=require(a41_0x11c14e(0x213)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x11c14e(0x229)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a41_0x11c14e(0x23a)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a41_0x11c14e(0x185)),PerformanceTester=require('../../../helpers/performance-tester'),{FRAMEWORKS}=require(a41_0x11c14e(0x19a)),SessionHandler=require(a41_0x11c14e(0x194)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),TestHubHandler=require(a41_0x11c14e(0x1f2));class MyReporter{constructor(_0x12307f){const _0xd61e9d=a41_0x11c14e,_0x599efa={'mPXrc':_0xd61e9d(0x192),'xncSi':function(_0x4600cb,_0x9644f4,_0x35133b,_0x104529){return _0x4600cb(_0x9644f4,_0x35133b,_0x104529);},'qmRNW':'performance-report-reporter.json'},_0x794344=_0x599efa[_0xd61e9d(0x16f)]['split']('|');let _0x675285=0x0;while(!![]){switch(_0x794344[_0x675285++]){case'0':const _0x3a5cf1={};_0x3a5cf1[_0xd61e9d(0x19f)]=process['env'][_0xd61e9d(0x183)],_0x599efa[_0xd61e9d(0x170)](setLogLevel,_0x3a5cf1,new Map(),new Map());continue;case'1':this[_0xd61e9d(0x1f9)]=null;continue;case'2':process[_0xd61e9d(0x23b)][_0xd61e9d(0x1d3)]&&(PerformanceTester[_0xd61e9d(0x203)](_0x599efa[_0xd61e9d(0x20f)]),process[_0xd61e9d(0x23b)][_0xd61e9d(0x1cc)]=new Date()[_0xd61e9d(0x1ff)]());continue;case'3':this['_gitConfigured']=![];continue;case'4':this[_0xd61e9d(0x180)]=_0x12307f;continue;case'5':this[_0xd61e9d(0x236)]={};continue;case'6':this['_tests']={};continue;}break;}}async['onBegin'](){const _0x3fdbcb=a41_0x11c14e;TestDetails['setup'](),await this[_0x3fdbcb(0x1d2)]();}async['onTestBegin'](_0x17089e,_0x2f81b3){const _0x46a012=a41_0x11c14e,_0x3ae21b={'oXFZD':function(_0x476383,_0x16d5b3){return _0x476383(_0x16d5b3);},'mBlQW':_0x46a012(0x18d)},_0x1be1ba=this[_0x46a012(0x167)](_0x17089e);this[_0x46a012(0x21c)][_0x1be1ba]={'uuid':TestDetails[_0x46a012(0x20c)](this[_0x46a012(0x1ac)](_0x17089e,_0x2f81b3[_0x46a012(0x1fe)])),'startedAt':_0x2f81b3['startTime']},_0x3ae21b[_0x46a012(0x1c2)](trace,_0x46a012(0x1e1)+_0x1be1ba),await this['sendTestRunEvent'](_0x17089e,_0x3ae21b[_0x46a012(0x234)],_0x2f81b3);}async[a41_0x11c14e(0x249)](_0x1ed713,_0x251c92,_0x478a6a){const _0x45160e=a41_0x11c14e,_0x1d5d3a={'EokAy':function(_0x393e0b,_0x5eb3a4){return _0x393e0b(_0x5eb3a4);},'QpbpQ':_0x45160e(0x1a8)};if(!this[_0x45160e(0x211)](_0x478a6a,_0x1ed713))return;const _0x1bd7c3=this['setStepIdentifier'](_0x1ed713,_0x478a6a);this[_0x45160e(0x21c)][_0x1bd7c3]={'uuid':TestDetails['getTestUUID'](_0x1bd7c3),'startedAt':_0x478a6a[_0x45160e(0x17e)][_0x45160e(0x1ff)]()};const _0x1a10d9=this[_0x45160e(0x1ac)](_0x1ed713,_0x251c92[_0x45160e(0x1fe)]);!this['_testHooksMap'][_0x1a10d9]&&(this['_testHooksMap'][_0x1a10d9]=[]),this[_0x45160e(0x236)][_0x1a10d9][_0x45160e(0x184)](this[_0x45160e(0x21c)][_0x1bd7c3][_0x45160e(0x1ee)]),_0x1d5d3a[_0x45160e(0x1d7)](trace,_0x45160e(0x1ce)+_0x1bd7c3+_0x45160e(0x219)+_0x1a10d9),await this[_0x45160e(0x18c)](_0x1ed713,_0x478a6a,_0x1d5d3a[_0x45160e(0x1f8)],_0x251c92);}async['onStepEnd'](_0x5ba384,_0x1b7f4a,_0x45ac9d){const _0x2a5d9c=a41_0x11c14e,_0x598af4={'MPaxk':function(_0x37eb6f,_0x223678){return _0x37eb6f+_0x223678;},'xzDcg':function(_0x26d6ff,_0x291fbc){return _0x26d6ff(_0x291fbc);},'YFqRg':'HookRunFinished'};if(!this['needToReportStep'](_0x45ac9d,_0x5ba384))return;const _0x2a5789=this[_0x2a5d9c(0x1c5)](_0x5ba384,_0x45ac9d);this[_0x2a5d9c(0x21c)][_0x2a5789]={...this[_0x2a5d9c(0x21c)][_0x2a5789]||{},'finishedAt':new Date(_0x598af4[_0x2a5d9c(0x21b)](_0x45ac9d[_0x2a5d9c(0x17e)][_0x2a5d9c(0x1b3)](),_0x45ac9d[_0x2a5d9c(0x1a4)]))},_0x598af4['xzDcg'](trace,_0x2a5d9c(0x226)+_0x2a5789+_0x2a5d9c(0x1c3)),await this['sendHookRunEvent'](_0x5ba384,_0x45ac9d,_0x598af4[_0x2a5d9c(0x1e9)],_0x1b7f4a);}async['onTestEnd'](_0x438c4d,_0x3d1387){const _0x414dfe=a41_0x11c14e,_0x5da440={'mmLmI':function(_0xa74d62,_0x40d936){return _0xa74d62===_0x40d936;},'LbbVU':_0x414dfe(0x1d1),'zfOId':_0x414dfe(0x177),'UBaON':_0x414dfe(0x221),'hUkHL':function(_0xc58575,_0x595c13){return _0xc58575(_0x595c13);},'qeJmQ':_0x414dfe(0x162),'aFGKr':function(_0x4ead46,_0x34d1ed){return _0x4ead46>_0x34d1ed;}},_0xe8e95f=this['getTestIdentifier'](_0x438c4d),_0x2e963c=TestDetails[_0x414dfe(0x20c)](this['getTestRunIdentifier'](_0x438c4d,_0x3d1387[_0x414dfe(0x1fe)]));this[_0x414dfe(0x21c)][_0xe8e95f]={...this[_0x414dfe(0x21c)][_0xe8e95f]||{},'finishedAt':new Date()[_0x414dfe(0x1ff)]()},_0x5da440['hUkHL'](trace,_0x414dfe(0x1ec)+_0xe8e95f),await this['sendTestRunEvent'](_0x438c4d,_0x5da440[_0x414dfe(0x23c)],_0x3d1387);const _0x11b42b=[];_0x3d1387[_0x414dfe(0x212)]&&_0x3d1387[_0x414dfe(0x212)][_0x414dfe(0x1f1)](_0x5ab829=>{const _0x6f8be6=_0x414dfe;if(_0x5da440[_0x6f8be6(0x196)](_0x5ab829[_0x6f8be6(0x218)],_0x5da440[_0x6f8be6(0x164)])){if(!fs[_0x6f8be6(0x1b4)](_0x5ab829['path']))return;_0x11b42b[_0x6f8be6(0x184)]({'test_run_uuid':_0x2e963c,'timestamp':fs['statSync'](_0x5ab829[_0x6f8be6(0x213)])[_0x6f8be6(0x1c9)],'kind':_0x5da440[_0x6f8be6(0x24b)],'message':fs[_0x6f8be6(0x1d8)](_0x5ab829[_0x6f8be6(0x213)],{'encoding':_0x5da440['UBaON']})});}}),_0x5da440[_0x414dfe(0x20e)](_0x11b42b[_0x414dfe(0x247)],0x0)&&await MyReporter[_0x414dfe(0x1d0)](_0x11b42b);}async[a41_0x11c14e(0x238)](){const _0x486028=a41_0x11c14e;await RequestQueueHandler[_0x486028(0x22b)]()[_0x486028(0x1ae)](),TestDetails[_0x486028(0x1ae)]();}async[a41_0x11c14e(0x187)](_0x301fa0){const _0x5be875=a41_0x11c14e,_0x34d18b={'otWCM':function(_0x28234f){return _0x28234f();},'jOTjW':function(_0x554c60){return _0x554c60();},'FCdcD':function(_0x31f138,_0x2301cf){return _0x31f138(_0x2301cf);}};await this[_0x5be875(0x238)](),_0x34d18b['otWCM'](printBuildLink);try{process[_0x5be875(0x23b)][_0x5be875(0x1d3)]&&await _0x34d18b[_0x5be875(0x246)](calculatePerformance);}catch(_0x12e16f){_0x34d18b[_0x5be875(0x227)](debug,_0x5be875(0x20b)+_0x12e16f['toString']());}}static async[a41_0x11c14e(0x1da)](_0x7599c1,_0x58dc42){const _0x66d97c=a41_0x11c14e;_0x58dc42['test_run_uuid']=TestDetails[_0x66d97c(0x20c)](_0x7599c1),await this[_0x66d97c(0x1d0)]([_0x58dc42]);}static async['reportLogs'](_0x397b1a){const _0x20770a=a41_0x11c14e,_0x1b618d={};_0x1b618d[_0x20770a(0x201)]=_0x20770a(0x16d);const _0x3ebda3=_0x1b618d,_0x5809e4={};_0x5809e4[_0x20770a(0x191)]=_0x3ebda3[_0x20770a(0x201)],_0x5809e4[_0x20770a(0x17a)]=_0x397b1a,await SessionHandler[_0x20770a(0x1fd)](_0x5809e4);}async[a41_0x11c14e(0x18c)](_0x47b9fc,_0x393705,_0x1a0f27,_0x58fc4f){const _0x1ea9f0=a41_0x11c14e,_0x3471d1={'EyyVq':_0x1ea9f0(0x1bd),'TcNcv':_0x1ea9f0(0x233),'FvRKn':_0x1ea9f0(0x1e0),'tXlQp':function(_0x7a2b3,_0x3e398a){return _0x7a2b3>=_0x3e398a;},'PdUid':function(_0x409ae9,_0xaec083){return _0x409ae9===_0xaec083;},'EsBqC':_0x1ea9f0(0x21a),'kDmUW':function(_0x3a1724,_0x1cac3f){return _0x3a1724>_0x1cac3f;},'adyDR':_0x1ea9f0(0x241),'PSPFL':function(_0x2c565e,_0x2b7a33){return _0x2c565e(_0x2b7a33);},'DfGTP':function(_0x35fc07,_0x1c7e82){return _0x35fc07(_0x1c7e82);},'mLHMm':function(_0xe60519,_0x2582a2,_0x2e14ef){return _0xe60519(_0x2582a2,_0x2e14ef);},'rvXPh':_0x1ea9f0(0x19b),'ueaKi':_0x1ea9f0(0x202)},_0xece95b=this['getStepIdentifier'](_0x47b9fc,_0x393705),_0x6318c1=this[_0x1ea9f0(0x21c)][_0xece95b],_0x3249e6={'uuid':_0x6318c1[_0x1ea9f0(0x1ee)],'type':_0x3471d1[_0x1ea9f0(0x17c)],'hook_type':this[_0x1ea9f0(0x1f0)](_0x393705[_0x1ea9f0(0x20a)]),'name':_0x393705[_0x1ea9f0(0x20a)],'scope':this[_0x1ea9f0(0x1bb)](_0x393705),'scopes':this['getHierarchy'](_0x47b9fc),'body':{'lang':_0x3471d1[_0x1ea9f0(0x188)],'code':null},'identifier':_0xece95b,'file_name':path[_0x1ea9f0(0x169)](process['cwd'](),_0x47b9fc[_0x1ea9f0(0x24d)]['file']),'location':path[_0x1ea9f0(0x169)](process[_0x1ea9f0(0x174)](),_0x47b9fc[_0x1ea9f0(0x24d)][_0x1ea9f0(0x173)]),'result':_0x3471d1[_0x1ea9f0(0x1bc)],'duration_in_ms':_0x3471d1[_0x1ea9f0(0x1b2)](_0x393705['duration'],0x0)?_0x393705[_0x1ea9f0(0x1a4)]:undefined,'vc_filepath':this[_0x1ea9f0(0x1f9)]&&_0x47b9fc[_0x1ea9f0(0x24d)][_0x1ea9f0(0x173)]?path['relative'](this[_0x1ea9f0(0x1f9)],_0x47b9fc['location']['file']):undefined,'started_at':_0x6318c1['startedAt'],'finished_at':_0x6318c1[_0x1ea9f0(0x206)],'framework':FRAMEWORKS[_0x1ea9f0(0x195)]};if(_0x3471d1[_0x1ea9f0(0x22a)](_0x1a0f27,_0x3471d1[_0x1ea9f0(0x1b6)])){const {steps:_0x3090a6,logs:_0x24f7fe}=this[_0x1ea9f0(0x220)](_0x393705['steps'],_0x6318c1[_0x1ea9f0(0x1ee)],_0x3471d1['EyyVq']);_0x24f7fe&&_0x3471d1['kDmUW'](_0x24f7fe['length'],0x0)&&await MyReporter[_0x1ea9f0(0x1d0)](_0x24f7fe);const _0x2ee724={};_0x2ee724['steps']=_0x3090a6,_0x3249e6[_0x1ea9f0(0x223)]=_0x2ee724;if(_0x393705[_0x1ea9f0(0x1cd)]){_0x3249e6[_0x1ea9f0(0x19c)]=_0x3471d1[_0x1ea9f0(0x163)],_0x3249e6[_0x1ea9f0(0x215)]=_0x3471d1[_0x1ea9f0(0x1db)](removeAnsiColors,_0x393705[_0x1ea9f0(0x1cd)][_0x1ea9f0(0x243)]),_0x3249e6[_0x1ea9f0(0x209)]=_0x3471d1['DfGTP'](getFailureType,_0x393705[_0x1ea9f0(0x1cd)]['message']);const _0x365472=_0x3471d1[_0x1ea9f0(0x1fb)](failureData,_0x393705[_0x1ea9f0(0x1cd)],_0x3471d1['rvXPh']);if(_0x365472&&_0x3471d1[_0x1ea9f0(0x22a)](_0x365472[_0x1ea9f0(0x247)],0x0)){const _0x1576be={};_0x1576be['backtrace']=[_0x3249e6[_0x1ea9f0(0x215)]],_0x1576be[_0x1ea9f0(0x166)]=[],_0x365472['push'](_0x1576be);}_0x3249e6['failure']=_0x365472;}else _0x3249e6['result']=_0x3471d1[_0x1ea9f0(0x175)];}const _0x7ce525={};_0x7ce525[_0x1ea9f0(0x191)]=_0x1a0f27,_0x7ce525[_0x1ea9f0(0x248)]=_0x3249e6;const _0x8262e=_0x7ce525;await SessionHandler[_0x1ea9f0(0x1fd)](_0x8262e);}[a41_0x11c14e(0x220)](_0x633f7b,_0x37d501,_0x5c340b){const _0x53c64d=a41_0x11c14e,_0x10397c={'CEAZD':function(_0x40a74f,_0x91b085){return _0x40a74f===_0x91b085;},'NGXGx':'hook','GvMid':_0x53c64d(0x232),'LnOxI':function(_0x12d160,_0x2850cb){return _0x12d160===_0x2850cb;},'jbsdd':_0x53c64d(0x20d),'UaeCl':function(_0x304ea1,_0x588332){return _0x304ea1===_0x588332;},'IZdks':_0x53c64d(0x1f3),'sTJSG':_0x53c64d(0x1e3),'QaGFP':_0x53c64d(0x19e),'POCfr':_0x53c64d(0x22e),'Eyrwh':_0x53c64d(0x241),'PbnQS':'passed','Xmlxx':function(_0x582582,_0x5a6e46){return _0x582582(_0x5a6e46);},'iqrwM':function(_0x5b988e,_0x5b47a2){return _0x5b988e(_0x5b47a2);},'suNXG':function(_0x160372){return _0x160372();},'HAvSm':function(_0xd489f5,_0x5378e0,_0x338661){return _0xd489f5(_0x5378e0,_0x338661);},'AzxsD':function(_0x2c5f1f,_0x2f90b9,_0x1c264e){return _0x2c5f1f(_0x2f90b9,_0x1c264e);}},_0x1c3f50=[],_0x4a9c03=[],_0x1039b3=_0x633f7b['filter'](_0x4d7f6f=>{const _0x11c5c2=_0x53c64d;if(_0x10397c[_0x11c5c2(0x21f)](_0x4d7f6f[_0x11c5c2(0x18a)],_0x10397c['NGXGx'])&&(_0x10397c['CEAZD'](_0x4d7f6f[_0x11c5c2(0x20a)],_0x10397c[_0x11c5c2(0x197)])||_0x10397c[_0x11c5c2(0x1ed)](_0x4d7f6f[_0x11c5c2(0x20a)],_0x10397c[_0x11c5c2(0x1c6)])))return![];return!![];}),_0x9d9fd9=(_0x323219,_0x21e3e3=![])=>{const _0x58efaa=_0x53c64d;if(_0x10397c['CEAZD'](_0x323219['steps'][_0x58efaa(0x247)],0x0)){const _0x12134d=_0x10397c[_0x58efaa(0x1eb)](_0x5c340b,_0x10397c[_0x58efaa(0x1c1)])?_0x10397c[_0x58efaa(0x1aa)]:_0x10397c[_0x58efaa(0x171)];_0x4a9c03[_0x58efaa(0x184)]({'kind':_0x10397c['POCfr'],[_0x12134d]:_0x37d501,'message':_0x323219[_0x58efaa(0x20a)],'timestamp':_0x323219[_0x58efaa(0x17e)]['toISOString'](),'level':_0x323219['error']?_0x10397c[_0x58efaa(0x1f4)]:_0x10397c[_0x58efaa(0x1cb)],'duration':_0x323219[_0x58efaa(0x1a4)],'failure':_0x323219[_0x58efaa(0x1cd)]&&_0x323219[_0x58efaa(0x1cd)]['message']&&_0x10397c['Xmlxx'](removeAnsiColors,_0x323219['error'][_0x58efaa(0x243)]),'failure_type':_0x10397c[_0x58efaa(0x1fc)](getFailureType,_0x323219[_0x58efaa(0x1cd)]&&_0x323219[_0x58efaa(0x1cd)][_0x58efaa(0x243)])});}else{!_0x21e3e3&&_0x1c3f50[_0x58efaa(0x184)]({'id':_0x10397c[_0x58efaa(0x1ea)](uuidv4),'text':_0x323219['title'],'keyword':undefined,'started_at':_0x323219[_0x58efaa(0x17e)]['toISOString'](),'duration':_0x323219[_0x58efaa(0x1a4)],'result':_0x323219['error']?_0x10397c[_0x58efaa(0x1f4)]:_0x10397c[_0x58efaa(0x1cb)],'failure':_0x323219[_0x58efaa(0x1cd)]&&_0x323219[_0x58efaa(0x1cd)]['message']&&_0x10397c['iqrwM'](removeAnsiColors,_0x323219[_0x58efaa(0x1cd)][_0x58efaa(0x243)]),'failure_type':_0x10397c[_0x58efaa(0x1fc)](getFailureType,_0x323219['error']&&_0x323219['error'][_0x58efaa(0x243)])});for(const _0x519b50 of _0x323219[_0x58efaa(0x23d)]){_0x10397c[_0x58efaa(0x1c0)](_0x9d9fd9,_0x519b50,!![]);}}};for(const _0x47dee7 of _0x1039b3){_0x10397c[_0x53c64d(0x1f5)](_0x9d9fd9,_0x47dee7,![]);}const _0x2a1bf0={};return _0x2a1bf0[_0x53c64d(0x23d)]=_0x1c3f50,_0x2a1bf0[_0x53c64d(0x17a)]=_0x4a9c03,_0x2a1bf0;}async[a41_0x11c14e(0x1a1)](_0x36317f,_0x29d20c,_0x47a6ca){const _0x3422e4=a41_0x11c14e,_0x41927c={'BZIkC':_0x3422e4(0x1f3),'SSmtw':'javascript','eVMaO':_0x3422e4(0x1e0),'pTUBH':function(_0xf44b55,_0x5943c4){return _0xf44b55(_0x5943c4);},'TTcwt':function(_0x36f431,_0x188c53,_0x508bb6,_0x4769e3,_0x5602a0){return _0x36f431(_0x188c53,_0x508bb6,_0x4769e3,_0x5602a0);},'yORcV':function(_0x10a993,_0x26ca9e){return _0x10a993>_0x26ca9e;},'ZFfZq':function(_0x5c1295,_0x3638b7){return _0x5c1295-_0x3638b7;},'QlhwP':function(_0x202351,_0x379920){return _0x202351===_0x379920;},'qvrgB':_0x3422e4(0x162),'KgHzn':function(_0x10d2a9,_0x1d9e2e){return _0x10d2a9===_0x1d9e2e;},'ZwpkS':'skipped','QwKka':_0x3422e4(0x202),'hZkjF':function(_0x50ff5c,_0x7e37ea){return _0x50ff5c===_0x7e37ea;},'clJeC':'failed','YKblg':function(_0x2fb8cc,_0x135e79){return _0x2fb8cc===_0x135e79;},'rDgYy':_0x3422e4(0x22f),'TdocR':function(_0x589042,_0x46b98e){return _0x589042===_0x46b98e;},'PBHfc':_0x3422e4(0x1f6),'sXgyj':function(_0x2e8c1e,_0x17ef5,_0x20b54e){return _0x2e8c1e(_0x17ef5,_0x20b54e);},'oteUC':function(_0x2b0fc1,_0x1b5f77){return _0x2b0fc1===_0x1b5f77;},'mKAaj':function(_0x5b71ae,_0x404188){return _0x5b71ae>_0x404188;}},_0x4c175b=this['getTestIdentifier'](_0x36317f),_0x50ca7f=this[_0x3422e4(0x1bb)](_0x36317f),_0x232840=this[_0x3422e4(0x21c)][_0x4c175b],_0x34cb65=path[_0x3422e4(0x169)](process[_0x3422e4(0x174)](),_0x36317f[_0x3422e4(0x24d)]['file']);await this[_0x3422e4(0x1d2)]();const _0x1f5fab={'uuid':_0x232840[_0x3422e4(0x1ee)],'type':_0x41927c[_0x3422e4(0x222)],'name':_0x36317f[_0x3422e4(0x20a)],'body':{'lang':_0x41927c[_0x3422e4(0x165)],'code':_0x36317f['fn'][_0x3422e4(0x21e)]()},'scope':_0x50ca7f,'scopes':this[_0x3422e4(0x1a0)](_0x36317f),'identifier':_0x4c175b,'file_name':_0x34cb65,'location':_0x34cb65,'result':_0x41927c[_0x3422e4(0x1fa)],'duration_in_ms':_0x47a6ca&&_0x47a6ca[_0x3422e4(0x1a4)]?_0x47a6ca[_0x3422e4(0x1a4)]:null,'vc_filepath':this[_0x3422e4(0x1f9)]&&_0x36317f[_0x3422e4(0x24d)][_0x3422e4(0x173)]?path['relative'](this['_gitConfigPath'],_0x36317f[_0x3422e4(0x24d)]['file']):undefined,'started_at':_0x232840[_0x3422e4(0x189)],'finished_at':_0x232840['finishedAt'],'framework':FRAMEWORKS[_0x3422e4(0x195)],'customRerunParam':{'rerun_name':_0x36317f['titlePath']()[_0x3422e4(0x1c7)]('\x20')},'tags':_0x41927c[_0x3422e4(0x186)](getTestTags,_0x36317f)};_0x41927c[_0x3422e4(0x205)](appendTesthubParams,_0x1f5fab,_0x29d20c,_0x36317f,FRAMEWORKS[_0x3422e4(0x195)]);_0x47a6ca&&_0x41927c['yORcV'](_0x47a6ca[_0x3422e4(0x1fe)],0x0)&&(_0x1f5fab[_0x3422e4(0x1dd)]=TestDetails[_0x3422e4(0x20c)](this[_0x3422e4(0x1ac)](_0x36317f,_0x41927c[_0x3422e4(0x1e7)](_0x47a6ca[_0x3422e4(0x1fe)],0x1))));if(_0x41927c['QlhwP'](_0x29d20c,_0x41927c[_0x3422e4(0x208)])){_0x1f5fab[_0x3422e4(0x19c)]=_0x47a6ca[_0x3422e4(0x18f)];if(_0x41927c[_0x3422e4(0x1cf)](_0x47a6ca[_0x3422e4(0x18f)],_0x36317f['expectedStatus']))_0x1f5fab[_0x3422e4(0x19c)]=_0x41927c[_0x3422e4(0x23f)](_0x47a6ca[_0x3422e4(0x18f)],_0x41927c['ZwpkS'])?_0x41927c[_0x3422e4(0x1e4)]:_0x41927c[_0x3422e4(0x21d)];else{(_0x41927c[_0x3422e4(0x18e)](_0x1f5fab[_0x3422e4(0x19c)],_0x41927c[_0x3422e4(0x21d)])||_0x41927c[_0x3422e4(0x18e)](_0x1f5fab[_0x3422e4(0x19c)],_0x41927c[_0x3422e4(0x1a3)])||_0x41927c['YKblg'](_0x1f5fab[_0x3422e4(0x19c)],_0x41927c[_0x3422e4(0x228)]))&&(_0x1f5fab[_0x3422e4(0x19c)]=_0x41927c['clJeC']);if(_0x41927c['TdocR'](_0x47a6ca[_0x3422e4(0x18f)],_0x41927c[_0x3422e4(0x21d)])&&_0x41927c['YKblg'](_0x36317f[_0x3422e4(0x1d4)],_0x41927c['clJeC'])){const _0x51ed5f={};_0x51ed5f[_0x3422e4(0x243)]=_0x41927c[_0x3422e4(0x244)],_0x51ed5f[_0x3422e4(0x1bf)]=_0x41927c['PBHfc'],_0x47a6ca[_0x3422e4(0x1cd)]=_0x51ed5f,_0x47a6ca[_0x3422e4(0x181)]=[_0x47a6ca[_0x3422e4(0x1cd)]];}}const _0x2ea507=this[_0x3422e4(0x1ac)](_0x36317f,_0x47a6ca['retry']);_0x1f5fab[_0x3422e4(0x235)]=this[_0x3422e4(0x236)][_0x2ea507];const {steps:_0x122698,logs:_0x1a224a}=this[_0x3422e4(0x220)](_0x47a6ca[_0x3422e4(0x23d)],_0x232840[_0x3422e4(0x1ee)],_0x41927c[_0x3422e4(0x222)]);await MyReporter[_0x3422e4(0x1d0)](_0x1a224a);const _0x578648={};_0x578648[_0x3422e4(0x23d)]=_0x122698,_0x1f5fab[_0x3422e4(0x223)]=_0x578648;if(_0x47a6ca[_0x3422e4(0x1cd)]){_0x1f5fab[_0x3422e4(0x215)]=_0x41927c[_0x3422e4(0x186)](removeAnsiColors,_0x47a6ca[_0x3422e4(0x1cd)][_0x3422e4(0x243)]),_0x1f5fab['failure_type']=_0x41927c['pTUBH'](getFailureType,_0x47a6ca[_0x3422e4(0x1cd)][_0x3422e4(0x243)]);const _0x26f7e9={};_0x26f7e9[_0x3422e4(0x1e3)]=_0x232840[_0x3422e4(0x1ee)];const {failureData:_0x1796ea,logs:_0x1ab63f}=_0x41927c['sXgyj'](getFailureData,_0x47a6ca[_0x3422e4(0x181)],_0x26f7e9);if(_0x1796ea&&_0x41927c['oteUC'](_0x1796ea[_0x3422e4(0x247)],0x0)){const _0x3bd0eb={};_0x3bd0eb[_0x3422e4(0x198)]=[_0x1f5fab[_0x3422e4(0x215)]],_0x3bd0eb[_0x3422e4(0x166)]=[],_0x1796ea['push'](_0x3bd0eb);}_0x1f5fab['failure']=_0x1796ea,_0x1ab63f&&_0x41927c[_0x3422e4(0x190)](_0x1ab63f[_0x3422e4(0x247)],0x0)&&await MyReporter[_0x3422e4(0x1d0)](_0x1ab63f);}}const _0x2bf91c={};_0x2bf91c[_0x3422e4(0x191)]=_0x29d20c,_0x2bf91c[_0x3422e4(0x1a6)]=_0x1f5fab;const _0x18145c=_0x2bf91c;await SessionHandler[_0x3422e4(0x1fd)](_0x18145c);}static async[a41_0x11c14e(0x178)](_0xa6ce47,_0x1df387){const _0x1db9f9=a41_0x11c14e,_0x2eda85={'oVfKW':function(_0x55c9e3,_0x167dc0){return _0x55c9e3(_0x167dc0);},'LHrNu':_0x1db9f9(0x1e5)},_0x4a908f={'uuid':TestDetails[_0x1db9f9(0x20c)](_0xa6ce47),'integrations':_0x1df387},_0x1118ac={};_0x1118ac[_0x1db9f9(0x1b7)]=null,_0x2eda85[_0x1db9f9(0x1c4)](debug,_0x1db9f9(0x224)+_0xa6ce47+',\x20'+util[_0x1db9f9(0x217)](_0x1df387,_0x1118ac));const _0x2c9139={};_0x2c9139[_0x1db9f9(0x191)]=_0x2eda85[_0x1db9f9(0x17b)],_0x2c9139['test_run']=_0x4a908f,await SessionHandler[_0x1db9f9(0x1fd)](_0x2c9139);}async[a41_0x11c14e(0x1d2)](){const _0x2a5d50=a41_0x11c14e,_0x58e8db={'nYPVX':function(_0x44bdcd){return _0x44bdcd();}};if(this[_0x2a5d50(0x1be)])return;const _0x59e5ba=await _0x58e8db[_0x2a5d50(0x242)](getGitMetaData);_0x59e5ba&&(this[_0x2a5d50(0x1f9)]=_0x59e5ba[_0x2a5d50(0x1e8)]),this['_gitConfigured']=!![];}['getHierarchy'](_0x32d9be){const _0xde2386=a41_0x11c14e,_0x3c4367={};_0x3c4367['zMcpT']=function(_0x5e87f0,_0x2d483c){return _0x5e87f0!==_0x2d483c;};const _0x32be30=_0x3c4367,_0x248116=[];if(_0x32d9be&&_0x32d9be['parent']){let _0x46db12=_0x32d9be[_0xde2386(0x1b9)];while(_0x46db12&&_0x32be30[_0xde2386(0x19d)](_0x46db12['title'],'')){_0x248116[_0xde2386(0x184)](_0x46db12['title']),_0x46db12=_0x46db12[_0xde2386(0x1b9)];}}return _0x248116[_0xde2386(0x1ef)]()[_0xde2386(0x1b0)](0x0,0x2),_0x248116;}['needToReportStep'](_0x300c01){const _0x36115a=a41_0x11c14e,_0x884a92={};_0x884a92[_0x36115a(0x1ab)]=function(_0x29fe75,_0x4ceeea){return _0x29fe75!==_0x4ceeea;},_0x884a92['oFjEl']='hook',_0x884a92[_0x36115a(0x168)]=function(_0x38b26d,_0x35ccde){return _0x38b26d===_0x35ccde;},_0x884a92[_0x36115a(0x1e6)]=_0x36115a(0x1ad),_0x884a92[_0x36115a(0x16a)]=_0x36115a(0x1d9),_0x884a92[_0x36115a(0x207)]=_0x36115a(0x172),_0x884a92[_0x36115a(0x1df)]='afterEach\x20hook';const _0x194e8d=_0x884a92;if(_0x194e8d[_0x36115a(0x1ab)](_0x300c01[_0x36115a(0x18a)],_0x194e8d[_0x36115a(0x200)]))return![];if(_0x194e8d[_0x36115a(0x168)]([_0x194e8d[_0x36115a(0x1e6)],_0x194e8d[_0x36115a(0x16a)],_0x194e8d['ReSyP'],_0x194e8d[_0x36115a(0x1df)]][_0x36115a(0x179)](_0x300c01[_0x36115a(0x20a)]),-0x1))return![];return!![];}[a41_0x11c14e(0x1c5)](_0x49642e,_0x18dbb5){const _0x7faf40=a41_0x11c14e,_0x3b7d67=_0x18dbb5[_0x7faf40(0x1d6)];if(_0x3b7d67)return _0x3b7d67;return _0x18dbb5[_0x7faf40(0x20a)]+_0x7faf40(0x1a7)+this['getTestIdentifier'](_0x49642e);}[a41_0x11c14e(0x216)](_0x370186,_0x4e9319){const _0x4a25c9=a41_0x11c14e,_0x4e3442={'oCYwt':function(_0x2cc491){return _0x2cc491();}};let _0x1a647e=_0x4e9319['title']+'\x20for\x20'+this[_0x4a25c9(0x167)](_0x370186);return this[_0x4a25c9(0x21c)][_0x1a647e]&&(_0x1a647e=_0x1a647e+_0x4a25c9(0x1a5)+_0x4e3442[_0x4a25c9(0x1dc)](uuidv4)),_0x4e9319[_0x4a25c9(0x1d6)]=_0x1a647e,_0x1a647e;}[a41_0x11c14e(0x167)]=_0x540e86=>{const _0x4da9bd=a41_0x11c14e,_0x443092={};_0x443092[_0x4da9bd(0x1a2)]=function(_0x249834,_0x71dd1b){return _0x249834+_0x71dd1b;},_0x443092['aYZvT']=function(_0xff3b1b,_0x56e1d5){return _0xff3b1b+_0x56e1d5;};const _0x5e3442=_0x443092;return _0x5e3442['ZAwVO'](_0x5e3442['aYZvT'](_0x540e86[_0x4da9bd(0x18b)],'-'),_0x540e86['id']);};[a41_0x11c14e(0x1ac)]=(_0x1feb9b,_0x255f20)=>{const _0x2f049b=a41_0x11c14e,_0x572e42={};_0x572e42[_0x2f049b(0x1ca)]=function(_0x47cf32,_0xb4920a){return _0x47cf32+_0xb4920a;},_0x572e42[_0x2f049b(0x1b8)]=function(_0x25d2c0,_0x23e105){return _0x25d2c0+_0x23e105;};const _0x4654ac=_0x572e42;return _0x4654ac[_0x2f049b(0x1ca)](_0x4654ac[_0x2f049b(0x1b8)](this['getTestIdentifier'](_0x1feb9b),'-'),_0x255f20);};['getHookType']=_0x40d356=>{const _0x3900dc=a41_0x11c14e,_0x218ef5={};_0x218ef5[_0x3900dc(0x17d)]=_0x3900dc(0x1ad),_0x218ef5[_0x3900dc(0x1f7)]=_0x3900dc(0x24a),_0x218ef5[_0x3900dc(0x1e2)]=_0x3900dc(0x1d9),_0x218ef5[_0x3900dc(0x23e)]=_0x3900dc(0x230),_0x218ef5[_0x3900dc(0x1af)]='afterEach\x20hook',_0x218ef5['xJPqn']=_0x3900dc(0x210),_0x218ef5[_0x3900dc(0x1d5)]=_0x3900dc(0x172),_0x218ef5['NDSKU']=_0x3900dc(0x199),_0x218ef5[_0x3900dc(0x24c)]=_0x3900dc(0x1b5);const _0x140411=_0x218ef5;if(_0x40d356[_0x3900dc(0x1ba)](_0x140411[_0x3900dc(0x17d)]))return _0x140411[_0x3900dc(0x1f7)];else{if(_0x40d356[_0x3900dc(0x1ba)](_0x140411[_0x3900dc(0x1e2)]))return _0x140411[_0x3900dc(0x23e)];else{if(_0x40d356[_0x3900dc(0x1ba)](_0x140411[_0x3900dc(0x1af)]))return _0x140411['xJPqn'];else{if(_0x40d356[_0x3900dc(0x1ba)](_0x140411[_0x3900dc(0x1d5)]))return _0x140411['NDSKU'];}}}return _0x140411[_0x3900dc(0x24c)];};[a41_0x11c14e(0x1bb)]=_0x5edd75=>{const _0x4152e7=a41_0x11c14e,_0xeebe05={};_0xeebe05[_0x4152e7(0x16e)]=function(_0x57492d,_0xd72358){return _0x57492d===_0xd72358;},_0xeebe05['ldkfj']=_0x4152e7(0x22c);const _0x306bda=_0xeebe05;let _0x121894=_0x5edd75['parent'];return _0x306bda[_0x4152e7(0x16e)](typeof _0x5edd75[_0x4152e7(0x1b9)],_0x306bda[_0x4152e7(0x237)])&&(_0x121894=_0x121894['title']),_0x121894+_0x4152e7(0x1a5)+_0x5edd75[_0x4152e7(0x20a)];};[a41_0x11c14e(0x1de)](){return![];}}function a41_0x4caf(){const _0x37ead6=['ZAwVO','clJeC','duration','\x20-\x20','test_run','\x20for\x20','HookRunStarted','110586DtouYQ','sTJSG','ERnDn','getTestRunIdentifier','beforeEach\x20hook','shutdown','eVhvE','splice','30ljpUBF','tXlQp','getTime','existsSync','unknown','EsBqC','depth','UpHNw','parent','startsWith','getScope','FvRKn','hook','_gitConfigured','stack','HAvSm','IZdks','oXFZD','\x20is\x20triggered','oVfKW','getStepIdentifier','jbsdd','join','onTestBegin','mtime','rryhA','PbnQS','START_TIME','error','Hook\x20Started\x20with\x20unique\x20id\x20','QlhwP','reportLogs','screenshot','configureGit','BROWSERSTACK_O11Y_PERF_MEASUREMENT','expectedStatus','VdYuE','_bs_hookIdentifier','EokAy','readFileSync','beforeAll\x20hook','addTestUIDAndReportLog','PSPFL','oCYwt','retry_of','printsToStdio','ZUuPE','pending','Test\x20Started\x20with\x20unique\x20id\x20','jGoRC','test_run_uuid','ZwpkS','CBTSessionCreated','qERMu','ZFfZq','root','YFqRg','suNXG','UaeCl','Test\x20Finished\x20with\x20unique\x20id\x20','LnOxI','uuid','reverse','getHookType','map','../../../helpers/testhub/testhubHandler','test','Eyrwh','AzxsD','Expected\x20to\x20fail,\x20but\x20passed.','OdBBJ','QpbpQ','_gitConfigPath','eVMaO','mLHMm','iqrwM','uploadEventData','retry','toISOString','oFjEl','byjEj','passed','startMonitoring','MyReporter','TTcwt','finishedAt','ReSyP','qvrgB','failure_type','title','Error\x20in\x20calculating\x20performance:\x20','getTestUUID','Before\x20Hooks','aFGKr','qmRNW','AFTER_EACH','needToReportStep','attachments','path','9EGlrkQ','failure_reason','setStepIdentifier','inspect','name','\x20is\x20triggered\x20for\x20test\x20','HookRunFinished','MPaxk','_tests','QwKka','toString','CEAZD','getStepsAndLogs','base64','BZIkC','meta','Sending\x20session\x20details\x20for\x20','1722996kvHbax','Hook\x20Finished\x20with\x20unique\x20id\x20','FCdcD','rDgYy','../../../helpers/test-observability/utils','PdUid','getInstance','object','15864JKivqa','TEST_STEP','timedOut','BEFORE_ALL','1831320YoJYcd','After\x20Hooks','javascript','mBlQW','hooks','_testHooksMap','ldkfj','endSession','onTestEnd','./test-details','env','qeJmQ','steps','MdAEf','KgHzn','11nTBBWd','failed','nYPVX','message','PBHfc','46AfxQOC','jOTjW','length','hook_run','onStepBegin','BEFORE_EACH','zfOId','DFGAD','location','TestRunFinished','adyDR','LbbVU','SSmtw','expanded','getTestIdentifier','tEHjv','relative','cIwMf','onBegin','52837xodWnX','LogCreated','xNTCP','mPXrc','xncSi','QaGFP','afterAll\x20hook','file','cwd','ueaKi','13123790nBQgqK','TEST_SCREENSHOT','sendSessionDetails','indexOf','logs','LHrNu','EyyVq','HDaAT','startTime','1026fYVTLA','options','errors','exports','BROWSERSTACK_LOG_LEVEL','push','../../../helpers/test-observability/error-handler','pTUBH','onEnd','TcNcv','startedAt','category','_projectId','sendHookRunEvent','TestRunStarted','hZkjF','status','mKAaj','event_type','0|2|6|5|4|3|1','9545192TxXIqU','../../../helpers/test-observability/sessionHandler','PLAYWRIGHT','mmLmI','GvMid','backtrace','AFTER_ALL','../../../helpers/test-observability/constants','err','result','zMcpT','hook_run_uuid','logLevel','getHierarchy','sendTestRunEvent'];a41_0x4caf=function(){return _0x37ead6;};return a41_0x4caf();}function a41_0x2291(_0x3c8de7,_0x2ecf9c){const _0x4caf2f=a41_0x4caf();return a41_0x2291=function(_0x229136,_0xe919f6){_0x229136=_0x229136-0x162;let _0x2b8470=_0x4caf2f[_0x229136];return _0x2b8470;},a41_0x2291(_0x3c8de7,_0x2ecf9c);}module[a41_0x11c14e(0x182)]=o11yClassErrorHandler(MyReporter,[a41_0x11c14e(0x16b),'endSession',a41_0x11c14e(0x1c8),a41_0x11c14e(0x239),a41_0x11c14e(0x249),'onStepEnd',a41_0x11c14e(0x178)],a41_0x11c14e(0x204));
1
+ const a41_0x2139de=a41_0x6e6c;(function(_0x4d10a9,_0x4842c1){const _0x53415f=a41_0x6e6c,_0x4e858d=_0x4d10a9();while(!![]){try{const _0x2742ef=-parseInt(_0x53415f(0x1be))/0x1+-parseInt(_0x53415f(0x200))/0x2+-parseInt(_0x53415f(0x155))/0x3+-parseInt(_0x53415f(0x16f))/0x4*(-parseInt(_0x53415f(0x186))/0x5)+parseInt(_0x53415f(0x1fd))/0x6+parseInt(_0x53415f(0x1d4))/0x7*(-parseInt(_0x53415f(0x1fc))/0x8)+-parseInt(_0x53415f(0x20c))/0x9*(-parseInt(_0x53415f(0x20e))/0xa);if(_0x2742ef===_0x4842c1)break;else _0x4e858d['push'](_0x4e858d['shift']());}catch(_0x4ad7a2){_0x4e858d['push'](_0x4e858d['shift']());}}}(a41_0x51a4,0x4777e));const RequestQueueHandler=require(a41_0x2139de(0x1fb)),{calculatePerformance,getTestTags,getFailureData}=require(a41_0x2139de(0x159)),{v4:uuidv4}=require(a41_0x2139de(0x22b)),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a41_0x2139de(0x1a5)),fs=require('fs'),util=require(a41_0x2139de(0x178)),{o11yClassErrorHandler}=require(a41_0x2139de(0x19b)),PerformanceTester=require('../../../helpers/performance-tester'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a41_0x2139de(0x213)),TestHubHandler=require(a41_0x2139de(0x208));class MyReporter{constructor(_0xf88bec){const _0x554a69=a41_0x2139de,_0x42d16f={'HDbUr':_0x554a69(0x203),'GmTLt':'performance-report-reporter.json','JcfVD':function(_0xa10c12,_0x1cb9e7,_0x538dee,_0x40c68e){return _0xa10c12(_0x1cb9e7,_0x538dee,_0x40c68e);}},_0x3fb9f3=_0x42d16f['HDbUr'][_0x554a69(0x1ab)]('|');let _0x488588=0x0;while(!![]){switch(_0x3fb9f3[_0x488588++]){case'0':this[_0x554a69(0x16a)]={};continue;case'1':this[_0x554a69(0x160)]=null;continue;case'2':process[_0x554a69(0x1f8)][_0x554a69(0x1e3)]&&(PerformanceTester['startMonitoring'](_0x42d16f['GmTLt']),process[_0x554a69(0x1f8)][_0x554a69(0x1da)]=new Date()[_0x554a69(0x19c)]());continue;case'3':this[_0x554a69(0x218)]=![];continue;case'4':this[_0x554a69(0x189)]={};continue;case'5':this['options']=_0xf88bec;continue;case'6':const _0x4d4562={};_0x4d4562['logLevel']=process[_0x554a69(0x1f8)][_0x554a69(0x18e)],_0x42d16f[_0x554a69(0x194)](setLogLevel,_0x4d4562,new Map(),new Map());continue;}break;}}async[a41_0x2139de(0x1e0)](){const _0x23febb=a41_0x2139de;TestDetails[_0x23febb(0x1a3)](),await this[_0x23febb(0x1de)]();}async[a41_0x2139de(0x1b8)](_0x45f3b2,_0x345f85){const _0x289b39=a41_0x2139de,_0x50d010={'sKfZH':function(_0x440912,_0x35c564){return _0x440912(_0x35c564);},'NRVGa':'TestRunStarted'},_0x1b4911=this[_0x289b39(0x20d)](_0x45f3b2);this[_0x289b39(0x16a)][_0x1b4911]={'uuid':TestDetails[_0x289b39(0x16d)](this['getTestRunIdentifier'](_0x45f3b2,_0x345f85[_0x289b39(0x181)])),'startedAt':_0x345f85[_0x289b39(0x1bc)]},_0x50d010[_0x289b39(0x1ba)](trace,_0x289b39(0x1ed)+_0x1b4911),await this[_0x289b39(0x182)](_0x45f3b2,_0x50d010[_0x289b39(0x17e)],_0x345f85);}async[a41_0x2139de(0x21d)](_0x10d7a3,_0xaff357,_0x1654e7){const _0x20a9ab=a41_0x2139de,_0x18a189={'RySSS':function(_0x798411,_0x2c8801){return _0x798411(_0x2c8801);},'eafxe':'HookRunStarted'};if(!this['needToReportStep'](_0x1654e7,_0x10d7a3))return;const _0x8ded3c=this[_0x20a9ab(0x1a9)](_0x10d7a3,_0x1654e7);this[_0x20a9ab(0x16a)][_0x8ded3c]={'uuid':TestDetails[_0x20a9ab(0x16d)](_0x8ded3c),'startedAt':_0x1654e7[_0x20a9ab(0x1bc)][_0x20a9ab(0x19c)]()};const _0x46a3c5=this[_0x20a9ab(0x1d7)](_0x10d7a3,_0xaff357[_0x20a9ab(0x181)]);!this[_0x20a9ab(0x189)][_0x46a3c5]&&(this[_0x20a9ab(0x189)][_0x46a3c5]=[]),this[_0x20a9ab(0x189)][_0x46a3c5][_0x20a9ab(0x14d)](this[_0x20a9ab(0x16a)][_0x8ded3c][_0x20a9ab(0x22b)]),_0x18a189[_0x20a9ab(0x1e4)](trace,_0x20a9ab(0x20f)+_0x8ded3c+_0x20a9ab(0x227)+_0x46a3c5),await this[_0x20a9ab(0x1b7)](_0x10d7a3,_0x1654e7,_0x18a189[_0x20a9ab(0x196)],_0xaff357);}async[a41_0x2139de(0x1ef)](_0x1776bd,_0x1143e5,_0x189bd0){const _0x3099ee=a41_0x2139de,_0x2c07cf={'dlcgc':function(_0x177aa7,_0x3353ed){return _0x177aa7+_0x3353ed;},'WEcJC':function(_0x572438,_0x1dc3da){return _0x572438(_0x1dc3da);},'bAWyq':'HookRunFinished'};if(!this[_0x3099ee(0x1df)](_0x189bd0,_0x1776bd))return;const _0x5f5110=this[_0x3099ee(0x16c)](_0x1776bd,_0x189bd0);this[_0x3099ee(0x16a)][_0x5f5110]={...this[_0x3099ee(0x16a)][_0x5f5110]||{},'finishedAt':new Date(_0x2c07cf['dlcgc'](_0x189bd0[_0x3099ee(0x1bc)]['getTime'](),_0x189bd0['duration']))},_0x2c07cf[_0x3099ee(0x18a)](trace,_0x3099ee(0x1f1)+_0x5f5110+'\x20is\x20triggered'),await this[_0x3099ee(0x1b7)](_0x1776bd,_0x189bd0,_0x2c07cf[_0x3099ee(0x1eb)],_0x1143e5);}async[a41_0x2139de(0x1a0)](_0x2dbe11,_0xfaae14){const _0x329689=a41_0x2139de,_0x50f8df={'yoRdi':function(_0x4cb52c,_0x3cac25){return _0x4cb52c===_0x3cac25;},'VHfHi':_0x329689(0x166),'GmPFG':_0x329689(0x154),'RIAnK':'base64','uiASK':function(_0xce2faa,_0xf225c5){return _0xce2faa(_0xf225c5);},'dsDCq':_0x329689(0x192),'ZUNrs':function(_0x333ba3,_0x3e3691){return _0x333ba3>_0x3e3691;}},_0x1f780b=this['getTestIdentifier'](_0x2dbe11),_0x2e0bd4=TestDetails['getTestUUID'](this[_0x329689(0x1d7)](_0x2dbe11,_0xfaae14[_0x329689(0x181)]));this['_tests'][_0x1f780b]={...this['_tests'][_0x1f780b]||{},'finishedAt':new Date()[_0x329689(0x19c)]()},_0x50f8df[_0x329689(0x195)](trace,_0x329689(0x1a2)+_0x1f780b),await this[_0x329689(0x182)](_0x2dbe11,_0x50f8df[_0x329689(0x1e7)],_0xfaae14);const _0x4be551=[];_0xfaae14[_0x329689(0x1e6)]&&_0xfaae14['attachments'][_0x329689(0x1cf)](_0xdbcd40=>{const _0x123145=_0x329689;if(_0x50f8df[_0x123145(0x214)](_0xdbcd40[_0x123145(0x187)],_0x50f8df[_0x123145(0x1e5)])){if(!fs['existsSync'](_0xdbcd40[_0x123145(0x199)]))return;_0x4be551[_0x123145(0x14d)]({'test_run_uuid':_0x2e0bd4,'timestamp':fs[_0x123145(0x224)](_0xdbcd40[_0x123145(0x199)])[_0x123145(0x226)],'kind':_0x50f8df[_0x123145(0x1e1)],'message':fs['readFileSync'](_0xdbcd40[_0x123145(0x199)],{'encoding':_0x50f8df[_0x123145(0x14f)]})});}}),_0x50f8df[_0x329689(0x188)](_0x4be551[_0x329689(0x18b)],0x0)&&await MyReporter[_0x329689(0x19f)](_0x4be551);}async[a41_0x2139de(0x191)](){const _0x27c0de=a41_0x2139de;await RequestQueueHandler[_0x27c0de(0x221)]()[_0x27c0de(0x22a)](),TestDetails['shutdown']();}async['onEnd'](_0x30e2bb){const _0x381ec0=a41_0x2139de,_0x44c762={'jlQeG':function(_0x145842){return _0x145842();},'DwTlC':function(_0x3c02e9,_0x454af6){return _0x3c02e9(_0x454af6);}};await this['endSession'](),_0x44c762[_0x381ec0(0x1d8)](printBuildLink);try{process[_0x381ec0(0x1f8)][_0x381ec0(0x1e3)]&&await _0x44c762['jlQeG'](calculatePerformance);}catch(_0x66a546){_0x44c762[_0x381ec0(0x1d2)](debug,_0x381ec0(0x1db)+_0x66a546[_0x381ec0(0x1dd)]());}}static async[a41_0x2139de(0x1ee)](_0x2596fa,_0x5eae3a){const _0x2dbde2=a41_0x2139de;_0x5eae3a[_0x2dbde2(0x152)]=TestDetails[_0x2dbde2(0x16d)](_0x2596fa),await this[_0x2dbde2(0x19f)]([_0x5eae3a]);}static async[a41_0x2139de(0x19f)](_0x36d363){const _0x10f67a=a41_0x2139de,_0x1a3c7a={};_0x1a3c7a[_0x10f67a(0x20b)]=_0x10f67a(0x1c8);const _0xf4fe14=_0x1a3c7a,_0x1aacc0={};_0x1aacc0[_0x10f67a(0x15b)]=_0xf4fe14[_0x10f67a(0x20b)],_0x1aacc0[_0x10f67a(0x15a)]=_0x36d363,await SessionHandler[_0x10f67a(0x173)](_0x1aacc0);}async[a41_0x2139de(0x1b7)](_0x27ddbe,_0xf5ea31,_0x442dcf,_0x52de67){const _0x16b459=a41_0x2139de,_0x211332={'ZBGmG':_0x16b459(0x223),'yYVSO':'javascript','bSdfx':_0x16b459(0x14e),'Rogpj':function(_0xa571f6,_0x2de133){return _0xa571f6>=_0x2de133;},'Akffn':function(_0x1fe21d,_0x11215b){return _0x1fe21d===_0x11215b;},'YhhuN':_0x16b459(0x184),'nlVHQ':function(_0x488125,_0x4e2f50){return _0x488125>_0x4e2f50;},'EYFFZ':_0x16b459(0x1fa),'RRdYQ':function(_0x50cafa,_0x3f770a){return _0x50cafa(_0x3f770a);},'rJuQU':function(_0x28210e,_0x19981a){return _0x28210e(_0x19981a);},'dkeTQ':function(_0x33c360,_0x1a5ea8,_0x1f0350){return _0x33c360(_0x1a5ea8,_0x1f0350);},'YgCOb':_0x16b459(0x169),'JfSzA':_0x16b459(0x176)},_0x1acf87=this[_0x16b459(0x16c)](_0x27ddbe,_0xf5ea31),_0x4294b3=this['_tests'][_0x1acf87],_0x590969={'uuid':_0x4294b3[_0x16b459(0x22b)],'type':_0x211332[_0x16b459(0x1bf)],'hook_type':this['getHookType'](_0xf5ea31[_0x16b459(0x1b3)]),'name':_0xf5ea31['title'],'scope':this[_0x16b459(0x1ff)](_0xf5ea31),'scopes':this[_0x16b459(0x1d5)](_0x27ddbe),'body':{'lang':_0x211332[_0x16b459(0x1e8)],'code':null},'identifier':_0x1acf87,'file_name':path[_0x16b459(0x165)](process[_0x16b459(0x1ae)](),_0x27ddbe[_0x16b459(0x21a)][_0x16b459(0x171)]),'location':path['relative'](process[_0x16b459(0x1ae)](),_0x27ddbe[_0x16b459(0x21a)][_0x16b459(0x171)]),'result':_0x211332[_0x16b459(0x180)],'duration_in_ms':_0x211332[_0x16b459(0x21b)](_0xf5ea31[_0x16b459(0x17a)],0x0)?_0xf5ea31['duration']:undefined,'vc_filepath':this[_0x16b459(0x160)]&&_0x27ddbe[_0x16b459(0x21a)][_0x16b459(0x171)]?path[_0x16b459(0x165)](this['_gitConfigPath'],_0x27ddbe[_0x16b459(0x21a)]['file']):undefined,'started_at':_0x4294b3[_0x16b459(0x204)],'finished_at':_0x4294b3[_0x16b459(0x1b6)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x211332[_0x16b459(0x1af)](_0x442dcf,_0x211332[_0x16b459(0x228)])){const {steps:_0x286108,logs:_0x16b33b}=this['getStepsAndLogs'](_0xf5ea31['steps'],_0x4294b3[_0x16b459(0x22b)],_0x211332['ZBGmG']);_0x16b33b&&_0x211332[_0x16b459(0x172)](_0x16b33b[_0x16b459(0x18b)],0x0)&&await MyReporter['reportLogs'](_0x16b33b);const _0x496531={};_0x496531[_0x16b459(0x1ad)]=_0x286108,_0x590969[_0x16b459(0x206)]=_0x496531;if(_0xf5ea31[_0x16b459(0x1ce)]){_0x590969[_0x16b459(0x163)]=_0x211332[_0x16b459(0x1d0)],_0x590969[_0x16b459(0x201)]=_0x211332[_0x16b459(0x1b0)](removeAnsiColors,_0xf5ea31[_0x16b459(0x1ce)][_0x16b459(0x229)]),_0x590969['failure_type']=_0x211332[_0x16b459(0x1c9)](getFailureType,_0xf5ea31['error'][_0x16b459(0x229)]);const _0x6b221f=_0x211332['dkeTQ'](failureData,_0xf5ea31[_0x16b459(0x1ce)],_0x211332[_0x16b459(0x1f3)]);if(_0x6b221f&&_0x211332[_0x16b459(0x1af)](_0x6b221f[_0x16b459(0x18b)],0x0)){const _0x356cb7={};_0x356cb7[_0x16b459(0x1c7)]=[_0x590969[_0x16b459(0x201)]],_0x356cb7['expanded']=[],_0x6b221f['push'](_0x356cb7);}_0x590969['failure']=_0x6b221f;}else _0x590969[_0x16b459(0x163)]=_0x211332[_0x16b459(0x21e)];}const _0x113139={};_0x113139['event_type']=_0x442dcf,_0x113139[_0x16b459(0x15e)]=_0x590969;const _0x2cfd67=_0x113139;await SessionHandler['uploadEventData'](_0x2cfd67);}['getStepsAndLogs'](_0xab755e,_0x991459,_0x4515aa){const _0x2ebd32=a41_0x2139de,_0x2d799e={'teIVb':function(_0x1d0d16,_0x33e4a6){return _0x1d0d16===_0x33e4a6;},'EpfLo':'hook','FyTuK':_0x2ebd32(0x167),'xiXJt':function(_0x23f2c4,_0x4bf15d){return _0x23f2c4===_0x4bf15d;},'rIsba':_0x2ebd32(0x17b),'UIKCc':function(_0x45c1c8,_0x13ccc2){return _0x45c1c8===_0x13ccc2;},'rzPGG':_0x2ebd32(0x16b),'waguX':'test_run_uuid','qUOKw':'hook_run_uuid','LkWvt':'TEST_STEP','AbtwC':'failed','vBblA':_0x2ebd32(0x176),'lPXQk':function(_0x5205e0,_0x2c868e){return _0x5205e0(_0x2c868e);},'hkVoE':function(_0x557f9c,_0x126eed){return _0x557f9c(_0x126eed);},'Mcnai':function(_0x1430a2){return _0x1430a2();},'qTCgn':function(_0x52efa9,_0x5c40de){return _0x52efa9(_0x5c40de);},'pTiQR':function(_0x4a9a7a,_0x4a41e3,_0x7f9c21){return _0x4a9a7a(_0x4a41e3,_0x7f9c21);}},_0x413602=[],_0x110415=[],_0x18f708=_0xab755e['filter'](_0x2a70f2=>{const _0x5d5848=_0x2ebd32;if(_0x2d799e[_0x5d5848(0x210)](_0x2a70f2['category'],_0x2d799e[_0x5d5848(0x15c)])&&(_0x2d799e['teIVb'](_0x2a70f2[_0x5d5848(0x1b3)],_0x2d799e[_0x5d5848(0x1ac)])||_0x2d799e[_0x5d5848(0x17d)](_0x2a70f2[_0x5d5848(0x1b3)],_0x2d799e[_0x5d5848(0x1e9)])))return![];return!![];}),_0x4d1e84=(_0x427690,_0x47e130=![])=>{const _0x3abce5=_0x2ebd32;if(_0x2d799e[_0x3abce5(0x210)](_0x427690['steps'][_0x3abce5(0x18b)],0x0)){const _0xf14768=_0x2d799e[_0x3abce5(0x220)](_0x4515aa,_0x2d799e[_0x3abce5(0x17c)])?_0x2d799e[_0x3abce5(0x18d)]:_0x2d799e[_0x3abce5(0x1f0)];_0x110415['push']({'kind':_0x2d799e['LkWvt'],[_0xf14768]:_0x991459,'message':_0x427690[_0x3abce5(0x1b3)],'timestamp':_0x427690[_0x3abce5(0x1bc)][_0x3abce5(0x19c)](),'level':_0x427690[_0x3abce5(0x1ce)]?_0x2d799e[_0x3abce5(0x179)]:_0x2d799e[_0x3abce5(0x209)],'duration':_0x427690['duration'],'failure':_0x427690[_0x3abce5(0x1ce)]&&_0x427690[_0x3abce5(0x1ce)][_0x3abce5(0x229)]&&_0x2d799e[_0x3abce5(0x19a)](removeAnsiColors,_0x427690[_0x3abce5(0x1ce)][_0x3abce5(0x229)]),'failure_type':_0x2d799e[_0x3abce5(0x222)](getFailureType,_0x427690[_0x3abce5(0x1ce)]&&_0x427690['error'][_0x3abce5(0x229)])});}else{!_0x47e130&&_0x413602['push']({'id':_0x2d799e[_0x3abce5(0x1a1)](uuidv4),'text':_0x427690[_0x3abce5(0x1b3)],'keyword':undefined,'started_at':_0x427690[_0x3abce5(0x1bc)][_0x3abce5(0x19c)](),'duration':_0x427690['duration'],'result':_0x427690[_0x3abce5(0x1ce)]?_0x2d799e[_0x3abce5(0x179)]:_0x2d799e[_0x3abce5(0x209)],'failure':_0x427690['error']&&_0x427690[_0x3abce5(0x1ce)][_0x3abce5(0x229)]&&_0x2d799e['qTCgn'](removeAnsiColors,_0x427690[_0x3abce5(0x1ce)][_0x3abce5(0x229)]),'failure_type':_0x2d799e['lPXQk'](getFailureType,_0x427690[_0x3abce5(0x1ce)]&&_0x427690[_0x3abce5(0x1ce)]['message'])});for(const _0x27be5d of _0x427690['steps']){_0x2d799e[_0x3abce5(0x1f7)](_0x4d1e84,_0x27be5d,!![]);}}};for(const _0x260b15 of _0x18f708){_0x2d799e[_0x2ebd32(0x1f7)](_0x4d1e84,_0x260b15,![]);}const _0xbbc127={};return _0xbbc127[_0x2ebd32(0x1ad)]=_0x413602,_0xbbc127[_0x2ebd32(0x15a)]=_0x110415,_0xbbc127;}async[a41_0x2139de(0x182)](_0x134543,_0x3f1edc,_0x7e40ae){const _0x2b21d6=a41_0x2139de,_0x25fd34={'ugTOL':_0x2b21d6(0x16b),'CCgbm':_0x2b21d6(0x156),'BGixg':_0x2b21d6(0x14e),'FOYDM':function(_0x3dd174,_0x263e8c){return _0x3dd174(_0x263e8c);},'EWUXl':function(_0x3dfef6,_0x1dc22b,_0x40c2e0,_0x23fa8b,_0x234bbe){return _0x3dfef6(_0x1dc22b,_0x40c2e0,_0x23fa8b,_0x234bbe);},'MIepD':function(_0x748f7f,_0x54c801){return _0x748f7f>_0x54c801;},'NzaJY':function(_0x505808,_0x5c3bb2){return _0x505808-_0x5c3bb2;},'NDreC':function(_0x2bf0fc,_0x1e6f15){return _0x2bf0fc===_0x1e6f15;},'Okzlk':_0x2b21d6(0x192),'TiZDl':function(_0x1a8d5c,_0x17cd12){return _0x1a8d5c===_0x17cd12;},'DaZwZ':function(_0x44280c,_0xd8ffbf){return _0x44280c===_0xd8ffbf;},'SQDLL':_0x2b21d6(0x1fe),'Junzp':_0x2b21d6(0x176),'UHFVK':function(_0x414f6a,_0xa90043){return _0x414f6a===_0xa90043;},'SzscP':_0x2b21d6(0x1fa),'BfFHM':_0x2b21d6(0x158),'oQqQt':function(_0x55ccdd,_0x306215){return _0x55ccdd===_0x306215;},'FcVPa':_0x2b21d6(0x16e),'zUMXF':function(_0x3293b2,_0x40b691){return _0x3293b2(_0x40b691);},'ZKrIw':function(_0x1e4e37,_0x4bb84e,_0x38bbe2){return _0x1e4e37(_0x4bb84e,_0x38bbe2);},'npXZI':function(_0x32f1bf,_0x45b433){return _0x32f1bf>_0x45b433;}},_0x449cae=this[_0x2b21d6(0x20d)](_0x134543),_0x4c44a5=this[_0x2b21d6(0x1ff)](_0x134543),_0x3d879c=this[_0x2b21d6(0x16a)][_0x449cae],_0x168870=path[_0x2b21d6(0x165)](process[_0x2b21d6(0x1ae)](),_0x134543[_0x2b21d6(0x21a)]['file']);await this['configureGit']();const _0x24aef3={'uuid':_0x3d879c[_0x2b21d6(0x22b)],'type':_0x25fd34['ugTOL'],'name':_0x134543['title'],'body':{'lang':_0x25fd34[_0x2b21d6(0x1c5)],'code':_0x134543['fn']['toString']()},'scope':_0x4c44a5,'scopes':this[_0x2b21d6(0x1d5)](_0x134543),'identifier':_0x449cae,'file_name':_0x168870,'location':_0x168870,'result':_0x25fd34[_0x2b21d6(0x1c1)],'duration_in_ms':_0x7e40ae&&_0x7e40ae[_0x2b21d6(0x17a)]?_0x7e40ae[_0x2b21d6(0x17a)]:null,'vc_filepath':this[_0x2b21d6(0x160)]&&_0x134543[_0x2b21d6(0x21a)][_0x2b21d6(0x171)]?path['relative'](this['_gitConfigPath'],_0x134543['location'][_0x2b21d6(0x171)]):undefined,'started_at':_0x3d879c[_0x2b21d6(0x204)],'finished_at':_0x3d879c[_0x2b21d6(0x1b6)],'framework':FRAMEWORKS[_0x2b21d6(0x205)],'customRerunParam':{'rerun_name':_0x134543[_0x2b21d6(0x1bb)]()['join']('\x20')},'tags':_0x25fd34[_0x2b21d6(0x19d)](getTestTags,_0x134543)};_0x25fd34[_0x2b21d6(0x177)](appendTesthubParams,_0x24aef3,_0x3f1edc,_0x134543,FRAMEWORKS[_0x2b21d6(0x205)]);_0x7e40ae&&_0x25fd34[_0x2b21d6(0x21f)](_0x7e40ae[_0x2b21d6(0x181)],0x0)&&(_0x24aef3[_0x2b21d6(0x215)]=TestDetails[_0x2b21d6(0x16d)](this[_0x2b21d6(0x1d7)](_0x134543,_0x25fd34[_0x2b21d6(0x18f)](_0x7e40ae['retry'],0x1))));if(_0x25fd34['NDreC'](_0x3f1edc,_0x25fd34[_0x2b21d6(0x1d6)])){_0x24aef3[_0x2b21d6(0x163)]=_0x7e40ae[_0x2b21d6(0x212)];if(_0x25fd34[_0x2b21d6(0x1ea)](_0x7e40ae[_0x2b21d6(0x212)],_0x134543[_0x2b21d6(0x157)]))_0x24aef3[_0x2b21d6(0x163)]=_0x25fd34['DaZwZ'](_0x7e40ae[_0x2b21d6(0x212)],_0x25fd34[_0x2b21d6(0x1d9)])?_0x25fd34[_0x2b21d6(0x1d9)]:_0x25fd34['Junzp'];else{(_0x25fd34[_0x2b21d6(0x185)](_0x24aef3[_0x2b21d6(0x163)],_0x25fd34[_0x2b21d6(0x21c)])||_0x25fd34['UHFVK'](_0x24aef3[_0x2b21d6(0x163)],_0x25fd34[_0x2b21d6(0x1c0)])||_0x25fd34[_0x2b21d6(0x185)](_0x24aef3[_0x2b21d6(0x163)],_0x25fd34[_0x2b21d6(0x1f6)]))&&(_0x24aef3[_0x2b21d6(0x163)]=_0x25fd34[_0x2b21d6(0x1c0)]);if(_0x25fd34[_0x2b21d6(0x185)](_0x7e40ae['status'],_0x25fd34[_0x2b21d6(0x21c)])&&_0x25fd34[_0x2b21d6(0x198)](_0x134543[_0x2b21d6(0x157)],_0x25fd34['SzscP'])){const _0x44623a={};_0x44623a[_0x2b21d6(0x229)]=_0x25fd34[_0x2b21d6(0x1b1)],_0x44623a['stack']=_0x25fd34[_0x2b21d6(0x1b1)],_0x7e40ae['error']=_0x44623a,_0x7e40ae['errors']=[_0x7e40ae[_0x2b21d6(0x1ce)]];}}const _0x5459e6=this[_0x2b21d6(0x1d7)](_0x134543,_0x7e40ae['retry']);_0x24aef3['hooks']=this[_0x2b21d6(0x189)][_0x5459e6];const {steps:_0xc734af,logs:_0x230785}=this[_0x2b21d6(0x1b2)](_0x7e40ae[_0x2b21d6(0x1ad)],_0x3d879c[_0x2b21d6(0x22b)],_0x25fd34['ugTOL']);await MyReporter[_0x2b21d6(0x19f)](_0x230785);const _0x26f56b={};_0x26f56b['steps']=_0xc734af,_0x24aef3['meta']=_0x26f56b;if(_0x7e40ae[_0x2b21d6(0x1ce)]){_0x24aef3['failure_reason']=_0x25fd34[_0x2b21d6(0x1a7)](removeAnsiColors,_0x7e40ae[_0x2b21d6(0x1ce)][_0x2b21d6(0x229)]),_0x24aef3[_0x2b21d6(0x20a)]=_0x25fd34[_0x2b21d6(0x1a7)](getFailureType,_0x7e40ae[_0x2b21d6(0x1ce)]['message']);const _0x1cb532={};_0x1cb532['test_run_uuid']=_0x3d879c[_0x2b21d6(0x22b)];const {failureData:_0x21173d,logs:_0x1e85b2}=_0x25fd34[_0x2b21d6(0x1f2)](getFailureData,_0x7e40ae[_0x2b21d6(0x190)],_0x1cb532);if(_0x21173d&&_0x25fd34['DaZwZ'](_0x21173d[_0x2b21d6(0x18b)],0x0)){const _0x134a65={};_0x134a65['backtrace']=[_0x24aef3[_0x2b21d6(0x201)]],_0x134a65[_0x2b21d6(0x1cb)]=[],_0x21173d[_0x2b21d6(0x14d)](_0x134a65);}_0x24aef3[_0x2b21d6(0x219)]=_0x21173d,_0x1e85b2&&_0x25fd34[_0x2b21d6(0x183)](_0x1e85b2['length'],0x0)&&await MyReporter['reportLogs'](_0x1e85b2);}}const _0xe44c35={};_0xe44c35[_0x2b21d6(0x15b)]=_0x3f1edc,_0xe44c35[_0x2b21d6(0x17f)]=_0x24aef3;const _0x12950a=_0xe44c35;await SessionHandler['uploadEventData'](_0x12950a);}static async[a41_0x2139de(0x162)](_0x50a836,_0x180c97){const _0x2df538=a41_0x2139de,_0x2ced84={'iHUBy':function(_0x597f8b,_0x580ed0){return _0x597f8b(_0x580ed0);},'LqLMs':_0x2df538(0x1bd)},_0x5645f7={'uuid':TestDetails['getTestUUID'](_0x50a836),'integrations':_0x180c97},_0x3b31f2={};_0x3b31f2['depth']=null,_0x2ced84['iHUBy'](debug,_0x2df538(0x153)+_0x50a836+',\x20'+util[_0x2df538(0x197)](_0x180c97,_0x3b31f2));const _0x2cbb6a={};_0x2cbb6a[_0x2df538(0x15b)]=_0x2ced84['LqLMs'],_0x2cbb6a['test_run']=_0x5645f7,await SessionHandler[_0x2df538(0x173)](_0x2cbb6a);}async[a41_0x2139de(0x1de)](){const _0x48a9b6=a41_0x2139de,_0x4e85a3={'cElpj':function(_0x590ab0){return _0x590ab0();}};if(this[_0x48a9b6(0x218)])return;const _0x4098dd=await _0x4e85a3['cElpj'](getGitMetaData);_0x4098dd&&(this[_0x48a9b6(0x160)]=_0x4098dd[_0x48a9b6(0x1c4)]),this['_gitConfigured']=!![];}['getHierarchy'](_0xc0bb37){const _0x13aa21=a41_0x2139de,_0x430230={};_0x430230['IkRpy']=function(_0xd36147,_0x175dc1){return _0xd36147!==_0x175dc1;};const _0x164593=_0x430230,_0x2ab2d1=[];if(_0xc0bb37&&_0xc0bb37[_0x13aa21(0x15f)]){let _0x5b6b37=_0xc0bb37[_0x13aa21(0x15f)];while(_0x5b6b37&&_0x164593[_0x13aa21(0x1b5)](_0x5b6b37['title'],'')){_0x2ab2d1[_0x13aa21(0x14d)](_0x5b6b37[_0x13aa21(0x1b3)]),_0x5b6b37=_0x5b6b37[_0x13aa21(0x15f)];}}return _0x2ab2d1[_0x13aa21(0x170)]()[_0x13aa21(0x202)](0x0,0x2),_0x2ab2d1;}['needToReportStep'](_0x3c9723){const _0x835523=a41_0x2139de,_0x49573d={};_0x49573d['GDeta']=function(_0x4b68a3,_0x508bd0){return _0x4b68a3!==_0x508bd0;},_0x49573d[_0x835523(0x1ca)]=_0x835523(0x223),_0x49573d[_0x835523(0x207)]=function(_0x2d6a91,_0x8a7366){return _0x2d6a91===_0x8a7366;},_0x49573d['TaIjz']=_0x835523(0x1a6),_0x49573d[_0x835523(0x14c)]=_0x835523(0x161),_0x49573d[_0x835523(0x168)]=_0x835523(0x1f5),_0x49573d[_0x835523(0x18c)]=_0x835523(0x1c6);const _0x1726fd=_0x49573d;if(_0x1726fd['GDeta'](_0x3c9723['category'],_0x1726fd[_0x835523(0x1ca)]))return![];if(_0x1726fd[_0x835523(0x207)]([_0x1726fd['TaIjz'],_0x1726fd[_0x835523(0x14c)],_0x1726fd[_0x835523(0x168)],_0x1726fd[_0x835523(0x18c)]][_0x835523(0x193)](_0x3c9723[_0x835523(0x1b3)]),-0x1))return![];return!![];}[a41_0x2139de(0x16c)](_0x530765,_0x2a3ab1){const _0x1fd4f0=a41_0x2139de,_0xfdcbdc=_0x2a3ab1[_0x1fd4f0(0x1dc)];if(_0xfdcbdc)return _0xfdcbdc;return _0x2a3ab1[_0x1fd4f0(0x1b3)]+_0x1fd4f0(0x225)+this['getTestIdentifier'](_0x530765);}[a41_0x2139de(0x1a9)](_0xa8fb95,_0x323f76){const _0x939030=a41_0x2139de,_0x459ee5={'htiSR':function(_0x71b3b1){return _0x71b3b1();}};let _0x5cc632=_0x323f76[_0x939030(0x1b3)]+_0x939030(0x225)+this[_0x939030(0x20d)](_0xa8fb95);return this[_0x939030(0x16a)][_0x5cc632]&&(_0x5cc632=_0x5cc632+_0x939030(0x1a8)+_0x459ee5[_0x939030(0x1f9)](uuidv4)),_0x323f76['_bs_hookIdentifier']=_0x5cc632,_0x5cc632;}[a41_0x2139de(0x20d)]=_0x442847=>{const _0xded747=a41_0x2139de,_0x5b34a3={};_0x5b34a3['shzkY']=function(_0x27fdd1,_0x2f8c61){return _0x27fdd1+_0x2f8c61;};const _0x549dd1=_0x5b34a3;return _0x549dd1[_0xded747(0x175)](_0x549dd1['shzkY'](_0x442847[_0xded747(0x164)],'-'),_0x442847['id']);};[a41_0x2139de(0x1d7)]=(_0x21aadf,_0x9c9de9)=>{const _0x31af15=a41_0x2139de,_0xf60579={};_0xf60579[_0x31af15(0x1d3)]=function(_0x140e94,_0x318df9){return _0x140e94+_0x318df9;},_0xf60579[_0x31af15(0x151)]=function(_0x4666db,_0x2634e6){return _0x4666db+_0x2634e6;};const _0x455944=_0xf60579;return _0x455944[_0x31af15(0x1d3)](_0x455944[_0x31af15(0x151)](this['getTestIdentifier'](_0x21aadf),'-'),_0x9c9de9);};['getHookType']=_0x5db4bf=>{const _0x3092b3=a41_0x2139de,_0x43afc7={};_0x43afc7[_0x3092b3(0x1cd)]=_0x3092b3(0x1a6),_0x43afc7[_0x3092b3(0x1cc)]=_0x3092b3(0x1ec),_0x43afc7[_0x3092b3(0x1e2)]=_0x3092b3(0x161),_0x43afc7[_0x3092b3(0x217)]=_0x3092b3(0x150),_0x43afc7[_0x3092b3(0x216)]=_0x3092b3(0x1c6),_0x43afc7[_0x3092b3(0x1c2)]=_0x3092b3(0x1d1),_0x43afc7[_0x3092b3(0x174)]=_0x3092b3(0x1f5),_0x43afc7['OSMbh']='AFTER_ALL',_0x43afc7['UqYDt']=_0x3092b3(0x1b9);const _0x1ccff1=_0x43afc7;if(_0x5db4bf[_0x3092b3(0x1c3)](_0x1ccff1[_0x3092b3(0x1cd)]))return _0x1ccff1['XfVGB'];else{if(_0x5db4bf[_0x3092b3(0x1c3)](_0x1ccff1[_0x3092b3(0x1e2)]))return _0x1ccff1[_0x3092b3(0x217)];else{if(_0x5db4bf[_0x3092b3(0x1c3)](_0x1ccff1[_0x3092b3(0x216)]))return _0x1ccff1['gmwNc'];else{if(_0x5db4bf[_0x3092b3(0x1c3)](_0x1ccff1[_0x3092b3(0x174)]))return _0x1ccff1[_0x3092b3(0x15d)];}}}return _0x1ccff1[_0x3092b3(0x19e)];};['getScope']=_0x32a45b=>{const _0x4dc90d=a41_0x2139de,_0x3f4a8d={};_0x3f4a8d['djtXR']=function(_0x45a19d,_0x20d3c7){return _0x45a19d===_0x20d3c7;},_0x3f4a8d['ycmHp']=_0x4dc90d(0x1b4);const _0x20e5a=_0x3f4a8d;let _0x5f3777=_0x32a45b[_0x4dc90d(0x15f)];return _0x20e5a['djtXR'](typeof _0x32a45b[_0x4dc90d(0x15f)],_0x20e5a[_0x4dc90d(0x1f4)])&&(_0x5f3777=_0x5f3777[_0x4dc90d(0x1b3)]),_0x5f3777+_0x4dc90d(0x1a8)+_0x32a45b[_0x4dc90d(0x1b3)];};[a41_0x2139de(0x211)](){return![];}}function a41_0x6e6c(_0x265567,_0x54a0ab){const _0x51a41e=a41_0x51a4();return a41_0x6e6c=function(_0x6e6cef,_0x3f17ef){_0x6e6cef=_0x6e6cef-0x14c;let _0x5c9ec4=_0x51a41e[_0x6e6cef];return _0x5c9ec4;},a41_0x6e6c(_0x265567,_0x54a0ab);}module[a41_0x2139de(0x1a4)]=o11yClassErrorHandler(MyReporter,[a41_0x2139de(0x1e0),a41_0x2139de(0x191),'onTestBegin',a41_0x2139de(0x1a0),a41_0x2139de(0x21d),a41_0x2139de(0x1ef),a41_0x2139de(0x162)],a41_0x2139de(0x1aa));function a41_0x51a4(){const _0x3d5f75=['XfVGB','Afgml','error','map','EYFFZ','AFTER_EACH','DwTlC','zXCxo','7AanKur','getHierarchy','Okzlk','getTestRunIdentifier','jlQeG','SQDLL','START_TIME','Error\x20in\x20calculating\x20performance:\x20','_bs_hookIdentifier','toString','configureGit','needToReportStep','onBegin','GmPFG','nEcVS','BROWSERSTACK_O11Y_PERF_MEASUREMENT','RySSS','VHfHi','attachments','dsDCq','yYVSO','rIsba','TiZDl','bAWyq','BEFORE_EACH','Test\x20Started\x20with\x20unique\x20id\x20','addTestUIDAndReportLog','onStepEnd','qUOKw','Hook\x20Finished\x20with\x20unique\x20id\x20','ZKrIw','YgCOb','ycmHp','afterAll\x20hook','BfFHM','pTiQR','env','htiSR','failed','../../../helpers/test-observability/requestQueueHandler','1241752APyEWK','515514Hacnpe','skipped','getScope','183004IpNXbC','failure_reason','splice','6|2|0|4|5|3|1','startedAt','PLAYWRIGHT','meta','KBFtI','../../../helpers/testhub/testhubHandler','vBblA','failure_type','PaGts','9QkYYYr','getTestIdentifier','7733630SXvXvB','Hook\x20Started\x20with\x20unique\x20id\x20','teIVb','printsToStdio','status','../../../helpers/testhub/utils','yoRdi','retry_of','tmdsa','eoUPG','_gitConfigured','failure','location','Rogpj','Junzp','onStepBegin','JfSzA','MIepD','UIKCc','getInstance','hkVoE','hook','statSync','\x20for\x20','mtime','\x20is\x20triggered\x20for\x20test\x20','YhhuN','message','shutdown','uuid','vqWgE','push','pending','RIAnK','BEFORE_ALL','kyJIP','test_run_uuid','Sending\x20session\x20details\x20for\x20','TEST_SCREENSHOT','417261IMQhGo','javascript','expectedStatus','timedOut','./pwUtils','logs','event_type','EpfLo','OSMbh','hook_run','parent','_gitConfigPath','beforeAll\x20hook','sendSessionDetails','result','_projectId','relative','screenshot','After\x20Hooks','vcusZ','err','_tests','test','getStepIdentifier','getTestUUID','Expected\x20to\x20fail,\x20but\x20passed.','4vqissq','reverse','file','nlVHQ','uploadEventData','eTNpn','shzkY','passed','EWUXl','util','AbtwC','duration','Before\x20Hooks','rzPGG','xiXJt','NRVGa','test_run','bSdfx','retry','sendTestRunEvent','npXZI','HookRunFinished','NDreC','1698605zaVLHs','name','ZUNrs','_testHooksMap','WEcJC','length','mqVIf','waguX','BROWSERSTACK_LOG_LEVEL','NzaJY','errors','endSession','TestRunFinished','indexOf','JcfVD','uiASK','eafxe','inspect','oQqQt','path','lPXQk','../../../helpers/test-observability/error-handler','toISOString','FOYDM','UqYDt','reportLogs','onTestEnd','Mcnai','Test\x20Finished\x20with\x20unique\x20id\x20','setup','exports','./test-details','beforeEach\x20hook','zUMXF','\x20-\x20','setStepIdentifier','MyReporter','split','FyTuK','steps','cwd','Akffn','RRdYQ','FcVPa','getStepsAndLogs','title','object','IkRpy','finishedAt','sendHookRunEvent','onTestBegin','unknown','sKfZH','titlePath','startTime','CBTSessionCreated','520461OAuwCp','ZBGmG','SzscP','BGixg','gmwNc','startsWith','root','CCgbm','afterEach\x20hook','backtrace','LogCreated','rJuQU','nMXNH','expanded'];a41_0x51a4=function(){return _0x3d5f75;};return a41_0x51a4();}
@@ -1 +1 @@
1
- const a42_0xe0088e=a42_0x3d13;(function(_0x5761e4,_0x1cd2cf){const _0x10ddbc=a42_0x3d13,_0x38bce9=_0x5761e4();while(!![]){try{const _0x5401ed=-parseInt(_0x10ddbc(0x162))/0x1+parseInt(_0x10ddbc(0x154))/0x2*(parseInt(_0x10ddbc(0x12e))/0x3)+-parseInt(_0x10ddbc(0x13d))/0x4*(parseInt(_0x10ddbc(0x134))/0x5)+parseInt(_0x10ddbc(0x13b))/0x6*(-parseInt(_0x10ddbc(0x138))/0x7)+parseInt(_0x10ddbc(0x140))/0x8*(-parseInt(_0x10ddbc(0x14e))/0x9)+-parseInt(_0x10ddbc(0x146))/0xa+-parseInt(_0x10ddbc(0x160))/0xb*(-parseInt(_0x10ddbc(0x159))/0xc);if(_0x5401ed===_0x1cd2cf)break;else _0x38bce9['push'](_0x38bce9['shift']());}catch(_0x49d42c){_0x38bce9['push'](_0x38bce9['shift']());}}}(a42_0x5161,0x60d12));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a42_0xe0088e(0x158)),{TEMP_STORE_DIR_NAME}=require(a42_0xe0088e(0x14b)),{nestedKeyValue}=require(a42_0xe0088e(0x14a));class TestDetails{static [a42_0xe0088e(0x150)]={};static [a42_0xe0088e(0x15b)]=path[a42_0xe0088e(0x148)](process['cwd'](),TestDetails[a42_0xe0088e(0x152)]());static['setup'](){const _0x3a1539=a42_0xe0088e;this['dirPath']=path['join'](process[_0x3a1539(0x139)](),TestDetails[_0x3a1539(0x152)]()),this['shutdown']();const _0x494140={};_0x494140[_0x3a1539(0x157)]=!![],fs['mkdirSync'](this[_0x3a1539(0x15b)],_0x494140);}static['getStoreDirName'](){const _0x4babe9=a42_0xe0088e,_0x1ba7d4={};_0x1ba7d4[_0x4babe9(0x135)]=function(_0x23b601,_0x104847){return _0x23b601+_0x104847;},_0x1ba7d4['MXSjR']=function(_0x214860,_0x1f2b29){return _0x214860+_0x1f2b29;};const _0x535b1a=_0x1ba7d4;return _0x535b1a[_0x4babe9(0x135)](_0x535b1a[_0x4babe9(0x143)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x4babe9(0x15e)]);}static[a42_0xe0088e(0x137)](_0x3c7abd){const _0x5a8ef2=a42_0xe0088e,_0x40bb02={};_0x40bb02['GwsWc']=function(_0x2c3984,_0x1acefb){return _0x2c3984+_0x1acefb;},_0x40bb02['FnANV']=_0x5a8ef2(0x156);const _0x561edf=_0x40bb02;return path[_0x5a8ef2(0x148)](this['dirPath'],_0x561edf[_0x5a8ef2(0x153)](_0x3c7abd,_0x561edf[_0x5a8ef2(0x13c)]));}static['getTestRunIdFromTestInfo'](_0x2ec3d6){const _0x36cb0b=a42_0xe0088e,_0x75706b={};_0x75706b[_0x36cb0b(0x166)]=function(_0x2118a0,_0x61bbf6){return _0x2118a0+_0x61bbf6;},_0x75706b['TdWlk']=function(_0x5deaa3,_0x168ffa){return _0x5deaa3+_0x168ffa;},_0x75706b[_0x36cb0b(0x14d)]=function(_0x2c4498,_0x8056f2){return _0x2c4498+_0x8056f2;};const _0xe84c00=_0x75706b;return _0xe84c00[_0x36cb0b(0x166)](_0xe84c00[_0x36cb0b(0x14f)](_0xe84c00[_0x36cb0b(0x14d)](_0xe84c00[_0x36cb0b(0x166)](this['getProjectIdFromTestInfo'](_0x2ec3d6),'-'),this[_0x36cb0b(0x15a)](_0x2ec3d6)),'-'),_0x2ec3d6[_0x36cb0b(0x161)]);}static['getProjectIdFromTestInfo'](_0x2c667c){const _0x1bc3c1=a42_0xe0088e,_0x43bd26={'NartA':function(_0x285ab3,_0x14b3f1,_0x286aea){return _0x285ab3(_0x14b3f1,_0x286aea);},'lpjOX':_0x1bc3c1(0x147),'PwJBq':_0x1bc3c1(0x15c),'RRIvF':function(_0x110a1e,_0x1ab6a9,_0x8297af){return _0x110a1e(_0x1ab6a9,_0x8297af);},'RFXfv':'project','buhkC':_0x1bc3c1(0x163)};return _0x43bd26[_0x1bc3c1(0x142)](nestedKeyValue,_0x2c667c,[_0x43bd26[_0x1bc3c1(0x12d)],_0x43bd26['PwJBq']])||_0x43bd26[_0x1bc3c1(0x144)](nestedKeyValue,_0x2c667c,[_0x43bd26[_0x1bc3c1(0x164)],_0x43bd26[_0x1bc3c1(0x131)]]);}static[a42_0xe0088e(0x15a)](_0x229d1c){const _0xada5ce=a42_0xe0088e,_0xa6315f={'WHzlO':function(_0x48ccac,_0x5e8ab1,_0x573177){return _0x48ccac(_0x5e8ab1,_0x573177);},'xBgIC':_0xada5ce(0x147)};return _0xa6315f['WHzlO'](nestedKeyValue,_0x229d1c,[_0xa6315f['xBgIC'],'id'])||_0x229d1c[_0xada5ce(0x145)];}static[a42_0xe0088e(0x13f)](_0x570643){const _0x265e03=a42_0xe0088e,_0x38043d={'imTwT':function(_0x5285b4,_0xef4053){return _0x5285b4===_0xef4053;},'rrQoG':_0x265e03(0x130),'AeLmd':function(_0x303b5c){return _0x303b5c();}};if(this['tests'][_0x570643]&&_0x38043d['imTwT'](typeof this[_0x265e03(0x150)][_0x570643][_0x265e03(0x158)],_0x38043d[_0x265e03(0x149)]))return this[_0x265e03(0x150)][_0x570643][_0x265e03(0x158)];const _0x3c2f52=this['getFilePath'](_0x570643);if(fs['existsSync'](_0x3c2f52)){const _0x2a8e9c=JSON[_0x265e03(0x13a)](fs[_0x265e03(0x15d)](_0x3c2f52)[_0x265e03(0x13e)]());return this[_0x265e03(0x150)][_0x570643]=_0x2a8e9c,this[_0x265e03(0x150)][_0x570643][_0x265e03(0x158)];}return this['tests'][_0x570643]={'uuid':_0x38043d[_0x265e03(0x141)](uuidv4)},fs['writeFileSync'](_0x3c2f52,JSON[_0x265e03(0x155)](this[_0x265e03(0x150)][_0x570643])),this[_0x265e03(0x150)][_0x570643][_0x265e03(0x158)];}static['getAccessibilityPlatformValidation'](_0x2b784a){const _0x401dbb=a42_0xe0088e,_0x235a9f=path['join'](this['dirPath'],_0x2b784a+_0x401dbb(0x12f));if(fs[_0x401dbb(0x14c)](_0x235a9f))return fs['readFileSync'](_0x235a9f)[_0x401dbb(0x13e)]();}static['setAccessibilityPlatformValidation'](_0x1d3c12,_0x279416){const _0x33c4d8=a42_0xe0088e,_0x1bbc24=path['join'](this[_0x33c4d8(0x15b)],_0x279416+_0x33c4d8(0x12f));fs[_0x33c4d8(0x15f)](_0x1bbc24,_0x1d3c12[_0x33c4d8(0x13e)]());}static[a42_0xe0088e(0x165)](){const _0x38309e=a42_0xe0088e,_0x45e684={};_0x45e684[_0x38309e(0x157)]=!![],_0x45e684[_0x38309e(0x151)]=!![],fs[_0x38309e(0x133)](this[_0x38309e(0x15b)],_0x45e684);}static['getTestDetails'](_0x2f3315){const _0x785f89=a42_0xe0088e;if(this[_0x785f89(0x150)][_0x2f3315])return this[_0x785f89(0x150)][_0x2f3315];const _0x4bab60=this[_0x785f89(0x137)](_0x2f3315);if(fs[_0x785f89(0x14c)](_0x4bab60)){const _0x3e0d2d=JSON[_0x785f89(0x13a)](fs[_0x785f89(0x15d)](_0x4bab60)[_0x785f89(0x13e)]());return this[_0x785f89(0x150)][_0x2f3315]=_0x3e0d2d,_0x3e0d2d;}return{};}static[a42_0xe0088e(0x136)](_0x1064ba,_0x5aa463){const _0x1c7961=a42_0xe0088e,_0x3893de=this[_0x1c7961(0x137)](_0x1064ba);if(fs[_0x1c7961(0x14c)](_0x3893de)){const _0x5beb53=JSON[_0x1c7961(0x13a)](fs[_0x1c7961(0x15d)](_0x3893de)[_0x1c7961(0x13e)]()),_0x5086db={..._0x5beb53,..._0x5aa463};this[_0x1c7961(0x150)][_0x1064ba]=_0x5086db;}else this['tests'][_0x1064ba]=_0x5aa463;fs[_0x1c7961(0x15f)](_0x3893de,this['tests'][_0x1064ba]);}}module[a42_0xe0088e(0x132)]=TestDetails;function a42_0x3d13(_0x25b129,_0x2caf1d){const _0x516102=a42_0x5161();return a42_0x3d13=function(_0x3d1323,_0x87a826){_0x3d1323=_0x3d1323-0x12d;let _0x4052ca=_0x516102[_0x3d1323];return _0x4052ca;},a42_0x3d13(_0x25b129,_0x2caf1d);}function a42_0x5161(){const _0x1c82e7=['606665QIdsAy','UQbnM','setTestDetails','getFilePath','7SegGwp','cwd','parse','1962966gBJITH','FnANV','24vYeKgM','toString','getTestUUID','2169048UEsmRB','AeLmd','NartA','MXSjR','RRIvF','testId','1946720MYgxDS','_test','join','rrQoG','../../../helpers/helper','../../../helpers/test-observability/constants','existsSync','wlarH','9mzkfoV','TdWlk','tests','force','getStoreDirName','GwsWc','8aOkOcA','stringify','.json','recursive','uuid','72pvglJL','getTestIdFromTestInfo','dirPath','_projectId','readFileSync','BS_TESTOPS_BUILD_HASHED_ID','writeFileSync','2807167xLrsdU','retry','292210DAIhLk','__projectId','RFXfv','shutdown','QLDSm','lpjOX','508914HcnmvL','_platformDetails.json','string','buhkC','exports','rmSync'];a42_0x5161=function(){return _0x1c82e7;};return a42_0x5161();}
1
+ const a42_0x51e021=a42_0x5f3f;function a42_0xa066(){const _0x54f906=['135tCcESc','../../../helpers/helper','path','mSCLI','join','xOika','toString','readFileSync','SjySy','force','44682WyPvnk','rmSync','getTestUUID','iDDRT','getTestDetails','retry','1341009CbbdyI','parse','BS_TESTOPS_BUILD_HASHED_ID','testId','getStoreDirName','CDgXy','87308lhQWjr','106909DpOUMn','uMmKh','getTestIdFromTestInfo','existsSync','IWCLi','_platformDetails.json','blNGP','acwFc','getAccessibilityPlatformValidation','1124USkVuU','GapLN','1zTFoLf','uuid','env','getProjectIdFromTestInfo','setTestDetails','mkdirSync','.json','3604044Uuyvrb','58191Dnguxy','stringify','843UqnKdh','getFilePath','30hftDmA','cwd','string','../../../helpers/test-observability/constants','tests','dirPath','hPxed','_projectId','writeFileSync','getTestRunIdFromTestInfo','exports','AQGxJ','setup','_test','recursive','160xqmCKx','__projectId','uXwCI','project','fjcxH'];a42_0xa066=function(){return _0x54f906;};return a42_0xa066();}function a42_0x5f3f(_0x49a647,_0x1f9013){const _0xa066c8=a42_0xa066();return a42_0x5f3f=function(_0x5f3fcb,_0x1d395d){_0x5f3fcb=_0x5f3fcb-0x1e4;let _0x7c60ac=_0xa066c8[_0x5f3fcb];return _0x7c60ac;},a42_0x5f3f(_0x49a647,_0x1f9013);}(function(_0x8e71ff,_0x378e63){const _0xf13c9b=a42_0x5f3f,_0x5d6ea5=_0x8e71ff();while(!![]){try{const _0x140147=parseInt(_0xf13c9b(0x219))/0x1*(parseInt(_0xf13c9b(0x20d))/0x2)+parseInt(_0xf13c9b(0x223))/0x3*(parseInt(_0xf13c9b(0x217))/0x4)+parseInt(_0xf13c9b(0x1f7))/0x5*(-parseInt(_0xf13c9b(0x201))/0x6)+-parseInt(_0xf13c9b(0x221))/0x7*(parseInt(_0xf13c9b(0x1f2))/0x8)+parseInt(_0xf13c9b(0x207))/0x9+parseInt(_0xf13c9b(0x225))/0xa*(-parseInt(_0xf13c9b(0x20e))/0xb)+parseInt(_0xf13c9b(0x220))/0xc;if(_0x140147===_0x378e63)break;else _0x5d6ea5['push'](_0x5d6ea5['shift']());}catch(_0x1ed1fc){_0x5d6ea5['push'](_0x5d6ea5['shift']());}}}(a42_0xa066,0x2ad6b));const fs=require('fs'),path=require(a42_0x51e021(0x1f9)),{v4:uuidv4}=require(a42_0x51e021(0x21a)),{TEMP_STORE_DIR_NAME}=require(a42_0x51e021(0x1e6)),{nestedKeyValue}=require(a42_0x51e021(0x1f8));class TestDetails{static [a42_0x51e021(0x1e7)]={};static [a42_0x51e021(0x1e8)]=path['join'](process[a42_0x51e021(0x1e4)](),TestDetails[a42_0x51e021(0x20b)]());static[a42_0x51e021(0x1ef)](){const _0x271b85=a42_0x51e021;this[_0x271b85(0x1e8)]=path['join'](process[_0x271b85(0x1e4)](),TestDetails['getStoreDirName']()),this['shutdown']();const _0x2c4d15={};_0x2c4d15[_0x271b85(0x1f1)]=!![],fs[_0x271b85(0x21e)](this['dirPath'],_0x2c4d15);}static[a42_0x51e021(0x20b)](){const _0x5b8e05=a42_0x51e021,_0xbca4c7={};_0xbca4c7[_0x5b8e05(0x20f)]=function(_0x5dccf4,_0x38a2b7){return _0x5dccf4+_0x38a2b7;},_0xbca4c7[_0x5b8e05(0x214)]=function(_0x3d9b75,_0x139222){return _0x3d9b75+_0x139222;};const _0x5722f6=_0xbca4c7;return _0x5722f6[_0x5b8e05(0x20f)](_0x5722f6[_0x5b8e05(0x214)](TEMP_STORE_DIR_NAME,'-'),process[_0x5b8e05(0x21b)][_0x5b8e05(0x209)]);}static['getFilePath'](_0x36f7d5){const _0x26ba26=a42_0x51e021,_0x360398={};_0x360398[_0x26ba26(0x1fc)]=function(_0x5e08fc,_0x1e109e){return _0x5e08fc+_0x1e109e;},_0x360398['IWCLi']=_0x26ba26(0x21f);const _0x425374=_0x360398;return path[_0x26ba26(0x1fb)](this['dirPath'],_0x425374[_0x26ba26(0x1fc)](_0x36f7d5,_0x425374[_0x26ba26(0x212)]));}static[a42_0x51e021(0x1ec)](_0xf7493){const _0x55db7d=a42_0x51e021,_0x9371e7={};_0x9371e7['GapLN']=function(_0x4a37e7,_0xb669be){return _0x4a37e7+_0xb669be;},_0x9371e7[_0x55db7d(0x1fa)]=function(_0x478490,_0x21df9e){return _0x478490+_0x21df9e;};const _0x3a1065=_0x9371e7;return _0x3a1065[_0x55db7d(0x218)](_0x3a1065[_0x55db7d(0x1fa)](_0x3a1065['mSCLI'](_0x3a1065[_0x55db7d(0x1fa)](this[_0x55db7d(0x21c)](_0xf7493),'-'),this['getTestIdFromTestInfo'](_0xf7493)),'-'),_0xf7493[_0x55db7d(0x206)]);}static[a42_0x51e021(0x21c)](_0x108f85){const _0x2a4b2f=a42_0x51e021,_0x4833e7={'CDgXy':function(_0x235497,_0xcd7740,_0x4438db){return _0x235497(_0xcd7740,_0x4438db);},'hDevG':_0x2a4b2f(0x1f0),'fjcxH':_0x2a4b2f(0x1ea),'hPxed':function(_0x20604c,_0x1e4843,_0x2606b0){return _0x20604c(_0x1e4843,_0x2606b0);},'acwFc':_0x2a4b2f(0x1f5),'uXwCI':_0x2a4b2f(0x1f3)};return _0x4833e7[_0x2a4b2f(0x20c)](nestedKeyValue,_0x108f85,[_0x4833e7['hDevG'],_0x4833e7[_0x2a4b2f(0x1f6)]])||_0x4833e7[_0x2a4b2f(0x1e9)](nestedKeyValue,_0x108f85,[_0x4833e7[_0x2a4b2f(0x215)],_0x4833e7[_0x2a4b2f(0x1f4)]]);}static[a42_0x51e021(0x210)](_0x57ed3b){const _0x4228e1=a42_0x51e021,_0x1caeda={'AQGxJ':function(_0xc62851,_0x58d36a,_0x5852e7){return _0xc62851(_0x58d36a,_0x5852e7);},'iDDRT':_0x4228e1(0x1f0)};return _0x1caeda[_0x4228e1(0x1ee)](nestedKeyValue,_0x57ed3b,[_0x1caeda[_0x4228e1(0x204)],'id'])||_0x57ed3b[_0x4228e1(0x20a)];}static[a42_0x51e021(0x203)](_0x5aad4a){const _0x299183=a42_0x51e021,_0x17a5bb={'oMsoR':function(_0x2139ba,_0x45151d){return _0x2139ba===_0x45151d;},'jQEio':_0x299183(0x1e5),'SjySy':function(_0x1bfe56){return _0x1bfe56();}};if(this['tests'][_0x5aad4a]&&_0x17a5bb['oMsoR'](typeof this[_0x299183(0x1e7)][_0x5aad4a]['uuid'],_0x17a5bb['jQEio']))return this[_0x299183(0x1e7)][_0x5aad4a]['uuid'];const _0x3129cc=this['getFilePath'](_0x5aad4a);if(fs[_0x299183(0x211)](_0x3129cc)){const _0x4bcc9c=JSON['parse'](fs[_0x299183(0x1fe)](_0x3129cc)[_0x299183(0x1fd)]());return this[_0x299183(0x1e7)][_0x5aad4a]=_0x4bcc9c,this[_0x299183(0x1e7)][_0x5aad4a][_0x299183(0x21a)];}return this[_0x299183(0x1e7)][_0x5aad4a]={'uuid':_0x17a5bb[_0x299183(0x1ff)](uuidv4)},fs[_0x299183(0x1eb)](_0x3129cc,JSON[_0x299183(0x222)](this[_0x299183(0x1e7)][_0x5aad4a])),this[_0x299183(0x1e7)][_0x5aad4a][_0x299183(0x21a)];}static[a42_0x51e021(0x216)](_0x13430d){const _0x25e824=a42_0x51e021,_0x4ae720=path[_0x25e824(0x1fb)](this[_0x25e824(0x1e8)],_0x13430d+_0x25e824(0x213));if(fs[_0x25e824(0x211)](_0x4ae720))return fs['readFileSync'](_0x4ae720)[_0x25e824(0x1fd)]();}static['setAccessibilityPlatformValidation'](_0x54d337,_0x21bd41){const _0x1550e6=a42_0x51e021,_0x405c9=path[_0x1550e6(0x1fb)](this[_0x1550e6(0x1e8)],_0x21bd41+_0x1550e6(0x213));fs[_0x1550e6(0x1eb)](_0x405c9,_0x54d337[_0x1550e6(0x1fd)]());}static['shutdown'](){const _0x26054f=a42_0x51e021,_0x3a7420={};_0x3a7420[_0x26054f(0x1f1)]=!![],_0x3a7420[_0x26054f(0x200)]=!![],fs[_0x26054f(0x202)](this['dirPath'],_0x3a7420);}static[a42_0x51e021(0x205)](_0x2a4cc5){const _0x336808=a42_0x51e021;if(this[_0x336808(0x1e7)][_0x2a4cc5])return this[_0x336808(0x1e7)][_0x2a4cc5];const _0x3a239b=this[_0x336808(0x224)](_0x2a4cc5);if(fs[_0x336808(0x211)](_0x3a239b)){const _0x565322=JSON['parse'](fs[_0x336808(0x1fe)](_0x3a239b)[_0x336808(0x1fd)]());return this['tests'][_0x2a4cc5]=_0x565322,_0x565322;}return{};}static[a42_0x51e021(0x21d)](_0x259433,_0x179183){const _0xe055b1=a42_0x51e021,_0x5b41a9=this['getFilePath'](_0x259433);if(fs[_0xe055b1(0x211)](_0x5b41a9)){const _0x45b1cc=JSON[_0xe055b1(0x208)](fs[_0xe055b1(0x1fe)](_0x5b41a9)['toString']()),_0x1b5ee5={..._0x45b1cc,..._0x179183};this[_0xe055b1(0x1e7)][_0x259433]=_0x1b5ee5;}else this[_0xe055b1(0x1e7)][_0x259433]=_0x179183;fs[_0xe055b1(0x1eb)](_0x5b41a9,this[_0xe055b1(0x1e7)][_0x259433]);}}module[a42_0x51e021(0x1ed)]=TestDetails;
@@ -1 +1 @@
1
- const a43_0x3ff459=a43_0x1e31;function a43_0x1e31(_0x294643,_0x637689){const _0x3fb042=a43_0x3fb0();return a43_0x1e31=function(_0x1e31c1,_0xfdc6b7){_0x1e31c1=_0x1e31c1-0x149;let _0x58f95f=_0x3fb042[_0x1e31c1];return _0x58f95f;},a43_0x1e31(_0x294643,_0x637689);}(function(_0x3b1e8b,_0x3ae094){const _0x53ec86=a43_0x1e31,_0x13e63c=_0x3b1e8b();while(!![]){try{const _0x145261=-parseInt(_0x53ec86(0x149))/0x1*(parseInt(_0x53ec86(0x1d8))/0x2)+parseInt(_0x53ec86(0x14a))/0x3*(-parseInt(_0x53ec86(0x16d))/0x4)+-parseInt(_0x53ec86(0x19c))/0x5*(-parseInt(_0x53ec86(0x179))/0x6)+parseInt(_0x53ec86(0x1de))/0x7+-parseInt(_0x53ec86(0x15b))/0x8*(-parseInt(_0x53ec86(0x16b))/0x9)+parseInt(_0x53ec86(0x1e7))/0xa+parseInt(_0x53ec86(0x14e))/0xb;if(_0x145261===_0x3ae094)break;else _0x13e63c['push'](_0x13e63c['shift']());}catch(_0x29f13b){_0x13e63c['push'](_0x13e63c['shift']());}}}(a43_0x3fb0,0x71fc5));const path=require(a43_0x3ff459(0x1d9)),url=require(a43_0x3ff459(0x1d3)),util=require(a43_0x3ff459(0x15c)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x3ff459(0x1a4)),{o11yErrorHandler}=require(a43_0x3ff459(0x162)),{debug,getPlatformDetails}=require(a43_0x3ff459(0x1be)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require('../../helpers/logger')[a43_0x3ff459(0x1ae)],scripts=require(a43_0x3ff459(0x16c)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a43_0x3ff459(0x1e0)),constants=require(a43_0x3ff459(0x163)),getBrowserNameFromChannel=_0x238e25=>{const _0x8ade66=a43_0x3ff459,_0x58512b={};_0x58512b[_0x8ade66(0x18c)]=_0x8ade66(0x190),_0x58512b[_0x8ade66(0x1c9)]='edge',_0x58512b['LitcU']='firefox',_0x58512b[_0x8ade66(0x1c0)]='safari';const _0x4adb79=_0x58512b;if(_0x238e25[_0x8ade66(0x188)](_0x4adb79[_0x8ade66(0x18c)]))return _0x4adb79[_0x8ade66(0x18c)];if(_0x238e25['includes'](_0x4adb79['kZncF']))return _0x4adb79[_0x8ade66(0x1c9)];if(_0x238e25[_0x8ade66(0x188)](_0x4adb79[_0x8ade66(0x186)]))return _0x4adb79[_0x8ade66(0x186)];if(_0x238e25[_0x8ade66(0x188)](_0x4adb79[_0x8ade66(0x1c0)]))return _0x4adb79['JMiMh'];},getBrowserFromWSEndpoint=_0x3172f2=>{const _0x354cc3=a43_0x3ff459,_0x407789={'zAyBD':_0x354cc3(0x190),'EIQDC':function(_0x18c4a8,_0x4f7214){return _0x18c4a8(_0x4f7214);}};try{const _0x2c769d=url[_0x354cc3(0x1bf)](_0x3172f2),_0x55df6c=new URLSearchParams(_0x2c769d[_0x354cc3(0x1e5)]),_0x134107=Object[_0x354cc3(0x1b6)](_0x55df6c[_0x354cc3(0x14f)]()),_0x6cf551=JSON[_0x354cc3(0x1bf)](_0x134107['caps']);if(_0x6cf551&&(_0x6cf551[_0x354cc3(0x1e8)]||_0x6cf551[_0x354cc3(0x18b)]))return _0x6cf551[_0x354cc3(0x1e8)]||_0x6cf551[_0x354cc3(0x18b)];return _0x407789[_0x354cc3(0x153)];}catch(_0x499df6){_0x407789[_0x354cc3(0x16f)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x499df6[_0x354cc3(0x158)]());}},getCloudProviderFromWsEndpoint=_0xec80e0=>{const _0x5ad3ee=a43_0x3ff459,_0x184266={};_0x184266[_0x5ad3ee(0x1c3)]=_0x5ad3ee(0x1ea),_0x184266[_0x5ad3ee(0x151)]='browserstack',_0x184266[_0x5ad3ee(0x1cc)]='unknown_grid';const _0x9050b3=_0x184266;if(_0xec80e0[_0x5ad3ee(0x188)](_0x9050b3[_0x5ad3ee(0x1c3)]))return _0x9050b3[_0x5ad3ee(0x151)];return _0x9050b3[_0x5ad3ee(0x1cc)];},a43_0x40871f={};a43_0x40871f['cloudProvider']=undefined,a43_0x40871f[a43_0x3ff459(0x1e2)]=undefined,a43_0x40871f[a43_0x3ff459(0x1e8)]=undefined,a43_0x40871f[a43_0x3ff459(0x1aa)]=undefined,a43_0x40871f[a43_0x3ff459(0x165)]=undefined,a43_0x40871f[a43_0x3ff459(0x1e1)]=undefined,a43_0x40871f[a43_0x3ff459(0x154)]=undefined,a43_0x40871f[a43_0x3ff459(0x16e)]={};function a43_0x3fb0(){const _0x274645=['sessionError','YvHHz','platformVersion','prototype','automate','ATS_WSS_URL_REGEX','shouldWrapCommand','local_grid','vpduP','ERbDW','Error\x20in\x20importing\x20connection\x20','chromium','LitcU','lQiLG','includes','ZeDmE','_onMessage','browserName','AtUId','turboscale','QWfqm','Page','chrome','aDaoE','browserstack','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','platformDetails','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','Not\x20able\x20to\x20import\x20crConnection','performScan','dBXYl','LhqxS','wiCBX','bStackParams','295xbOjFn','gbyyB','sendMessageToServer','dXbhp','PRZmw','testInfo','method','dMNuu','../../helpers/helper','uZxia','pWSAE','format','_type','_defaultConnectOptions','browser_version','currentTest','connectOptions','bsParams','winstonLogger','ELqyx','currentSessionDetails','ufFwQ','assign','isRemote','Not\x20able\x20to\x20import\x20Connection','dispatch','fromEntries','apply','server','ceUfR','__driver','gXHxF','join','fAYmf','../../helpers/test-observability/utils','parse','JMiMh','HiyuD','test','vecWt','debug','miLRp','vttPI','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','UsTqv','kZncF','project','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','RgDGu','OLXzn','xabaK','jZQWP','bstackPerformA11yScan','hNLDh','model','url','platformName','accessibilityPlatform','Error\x20in\x20importing\x20crConnection','lib','10174RqHgtl','path','Connection','XJWEt','client','uXnjU','1539111cmlqHl','RtiBJ','./accessibility-helper','platform_version','bsSessionId','__workerDetails','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','query','_connection','7129190ZbdmGY','browser','NjwEd','browserstack.com','xyfmg','155QWyXDP','67092IIAijB','patchCRConnection','wZMoY','Performing\x20scan\x20for\x20','176957iWbHNg','entries','UIRXQ','lGJbv','playwright-','zAyBD','product','ilSwR','getDetails','Failed\x20to\x20perform\x20scan\x20','toString','_browserType','sessionId','1114560syqpyM','util','setupBrowserDetails','yhQUL','NYNlK','WuoFt','Xlles','../../helpers/test-observability/error-handler','../utils/constants','RJdVI','platform','use','aZhej','_name','EsRZw','version','36pQssql','../../helpers/accessibility-automation/scripts','52fBCosZ','capabilities','EIQDC','pwPage','hDRBP','params','crConnection.js','BROWSERSTACK_TEST_OBSERVABILITY','defineProperty','env','toLowerCase','BhEQl','4062SCZTwE'];a43_0x3fb0=function(){return _0x274645;};return a43_0x3fb0();}class PlaywrightSessionDetails{static [a43_0x3ff459(0x1b0)]=a43_0x40871f;constructor(){const _0x5b5d69=a43_0x3ff459,_0x4caf4f={};_0x4caf4f['oGlxS']=_0x5b5d69(0x195);const _0x25b237=_0x4caf4f;throw new Error(_0x25b237['oGlxS']);}static [a43_0x3ff459(0x17a)]=null;static[a43_0x3ff459(0x15d)](_0xf166f5,_0x44271d,_0x1ebe7c=null){const _0x4a5f97=a43_0x3ff459,_0x40662a={'jZQWP':function(_0x42c870,_0x30be08){return _0x42c870===_0x30be08;},'aZhej':'function','PhhIf':_0x4a5f97(0x1e4),'ZfKCa':'Device\x20Model\x20is\x20not\x20available','WuoFt':_0x4a5f97(0x181),'ilSwR':function(_0x162c31,_0x48591f,_0x5718ee){return _0x162c31(_0x48591f,_0x5718ee);},'Qakhn':_0x4a5f97(0x159),'GxKCg':_0x4a5f97(0x1a9),'ELqyx':_0x4a5f97(0x1ca),'PRZmw':_0x4a5f97(0x166),'uXnjU':_0x4a5f97(0x1ac),'RJdVI':function(_0x397194,_0x4f76bd){return _0x397194(_0x4f76bd);},'WOYUJ':function(_0x455d12,_0x19d510){return _0x455d12===_0x19d510;},'Xlles':_0x4a5f97(0x192),'IlrnY':_0x4a5f97(0x18d),'xyfmg':_0x4a5f97(0x17e),'ufFwQ':function(_0x52cbc6,_0x451384){return _0x52cbc6(_0x451384);},'wiCBX':function(_0x1e79ab,_0xc60e29){return _0x1e79ab+_0xc60e29;},'BhEQl':_0x4a5f97(0x152),'EsRZw':function(_0x7a69fd){return _0x7a69fd();},'xabaK':function(_0x413061,_0x4759fe,_0x368786){return _0x413061(_0x4759fe,_0x368786);},'vttPI':'setupBrowserDetails'},_0x477606=this;return _0x40662a[_0x4a5f97(0x1ce)](o11yErrorHandler,async function _0x507440(_0x442761,_0x14f22f,_0x4e7807=null){const _0x392924=_0x4a5f97;let _0x4c42f9=_0x442761[_0x392924(0x168)],_0x3a9e8b=null;_0x442761&&_0x40662a[_0x392924(0x1cf)](typeof _0x442761[_0x392924(0x16a)],_0x40662a['aZhej'])?_0x3a9e8b=_0x442761[_0x392924(0x16a)]():logger[_0x392924(0x1c4)](_0x40662a['PhhIf']);let _0x92d2e0=null;_0x442761&&_0x40662a['jZQWP'](typeof _0x442761[_0x392924(0x1d2)],_0x40662a[_0x392924(0x167)])?_0x92d2e0=_0x442761[_0x392924(0x1d2)]():logger[_0x392924(0x1c4)](_0x40662a['ZfKCa']);let _0x53a3e7=null,_0xb7a39=null,_0x57bd97=null,_0x1163e6=_0x40662a[_0x392924(0x160)];if(_0x442761[_0x392924(0x1e6)][_0x392924(0x1b3)]()||global[_0x392924(0x1d5)]){let _0x49d693=null;_0x40662a[_0x392924(0x155)](nestedKeyValue,_0x442761,[_0x40662a['Qakhn'],_0x40662a['GxKCg']])?_0x49d693=_0x442761[_0x392924(0x159)][_0x392924(0x1a9)]:_0x49d693=_0x40662a[_0x392924(0x155)](nestedKeyValue,_0x14f22f,[_0x40662a[_0x392924(0x1af)],_0x40662a[_0x392924(0x1a0)],_0x40662a[_0x392924(0x1dd)]]);const _0x4b5ad5=_0x4e7807||_0x49d693&&_0x49d693['wsEndpoint'];_0x4b5ad5&&(_0x1163e6=_0x40662a[_0x392924(0x164)](getCloudProviderFromWsEndpoint,_0x4b5ad5),_0x40662a['WOYUJ'](_0x1163e6,_0x40662a[_0x392924(0x161)])&&(_0x57bd97=constants[_0x392924(0x17f)][_0x392924(0x1c2)](_0x4b5ad5)?_0x40662a['IlrnY']:_0x40662a[_0x392924(0x1eb)],_0x4c42f9=_0x40662a[_0x392924(0x1b1)](getBrowserFromWSEndpoint,_0x4b5ad5)||_0x4c42f9,_0x53a3e7=_0x477606['currentSessionDetails']['platform'],_0xb7a39=_0x477606['currentSessionDetails'][_0x392924(0x1e1)]));}else{_0x14f22f&&_0x14f22f[_0x392924(0x1ca)]['use']['channel']?_0x4c42f9=_0x40662a['ufFwQ'](getBrowserNameFromChannel,_0x14f22f[_0x392924(0x1ca)][_0x392924(0x166)]['channel']):_0x4c42f9=_0x40662a[_0x392924(0x19a)](_0x40662a[_0x392924(0x178)],_0x4c42f9[_0x392924(0x177)]());const _0x5883ed=await _0x40662a[_0x392924(0x169)](getPlatformDetails);_0x53a3e7=_0x5883ed[_0x392924(0x1d4)],_0xb7a39=_0x5883ed[_0x392924(0x17c)];}const _0xfca06={};_0xfca06['browser']=_0x4c42f9,_0xfca06[_0x392924(0x1aa)]=_0x3a9e8b,_0xfca06['capabilities']={},_0xfca06['platform']=_0x53a3e7,_0xfca06[_0x392924(0x1e1)]=_0xb7a39,_0xfca06[_0x392924(0x154)]=_0x57bd97;const _0x5e92e1=_0xfca06;_0x92d2e0&&(_0x5e92e1['capabilities']['deviceModel']=_0x92d2e0);const _0x5cbde0={};_0x5cbde0['cloudProvider']=_0x1163e6,_0x477606[_0x392924(0x1b0)]=Object[_0x392924(0x1b2)]({},_0x477606[_0x392924(0x1b0)],_0x5cbde0,_0x5e92e1);},_0x40662a[_0x4a5f97(0x1c6)])(_0xf166f5,_0x44271d,_0x1ebe7c);}static['patch'](){const _0x5d283c=a43_0x3ff459;this['patchConnection'](),this[_0x5d283c(0x14b)]();}static['patchConnection'](){const _0x4caa11=a43_0x3ff459,_0x13ecaf={'dXbhp':function(_0x1f5279,_0x2963ad,_0x123675){return _0x1f5279(_0x2963ad,_0x123675);},'pWSAE':_0x4caa11(0x1ab),'OLXzn':_0x4caa11(0x1a1),'hNLDh':'titlePath','gbyyB':'__workerDetails','aDaoE':_0x4caa11(0x170),'EkDJw':function(_0x56c82a,_0x5db90e){return _0x56c82a===_0x5db90e;},'TNDEW':_0x4caa11(0x18f),'hkBMf':function(_0x33edfe,_0x36bb25,_0x534aac,_0x41fe5c){return _0x33edfe(_0x36bb25,_0x534aac,_0x41fe5c);},'NjwEd':function(_0x8d1156,_0x33c672){return _0x8d1156(_0x33c672);},'fAYmf':_0x4caa11(0x1d7),'vpduP':_0x4caa11(0x1dc),'yhQUL':'connection.js','UsTqv':function(_0x5a3cbe,_0x383204){return _0x5a3cbe(_0x383204);},'ceUfR':function(_0x472fef,_0x35dc43){return _0x472fef(_0x35dc43);},'uZxia':_0x4caa11(0x1b4),'mCgEp':function(_0x434572,_0x2d678c){return _0x434572(_0x2d678c);},'ERbDW':function(_0xd34c18,_0x3bb908){return _0xd34c18!=_0x3bb908;},'UIRXQ':function(_0x299b89){return _0x299b89();},'miLRp':'sendMessageToServer','gXHxF':function(_0x48446d,_0x2e0cfa){return _0x48446d(_0x2e0cfa);},'tEQSl':_0x4caa11(0x1b5),'HiyuD':function(_0x1eea43,_0x290a2a){return _0x1eea43(_0x290a2a);}},_0x5b0199=this;if(!this[_0x4caa11(0x1da)])try{const _0x29e43c=path[_0x4caa11(0x1bc)](_0x13ecaf[_0x4caa11(0x1bd)],_0x13ecaf[_0x4caa11(0x182)],_0x13ecaf[_0x4caa11(0x15e)]),_0x92c582=_0x13ecaf[_0x4caa11(0x1c8)](importFileFromPWCore,_0x29e43c);!_0x92c582?_0x13ecaf[_0x4caa11(0x1b9)](debug,_0x13ecaf[_0x4caa11(0x1a5)]):this[_0x4caa11(0x1da)]=_0x92c582[_0x4caa11(0x1da)];}catch(_0x1ba37c){_0x13ecaf['mCgEp'](debug,_0x4caa11(0x184)+_0x1ba37c[_0x4caa11(0x158)]());}const _0x25f5d5=this[_0x4caa11(0x1da)];try{if(_0x13ecaf[_0x4caa11(0x183)](_0x25f5d5,null)){const _0x436701=_0x25f5d5[_0x4caa11(0x17d)][_0x4caa11(0x1b5)],_0x18b346=_0x25f5d5['prototype'][_0x4caa11(0x19e)];_0x13ecaf[_0x4caa11(0x150)](isAccessibilityAutomationSession)&&Object[_0x4caa11(0x175)](_0x25f5d5['prototype'],_0x13ecaf[_0x4caa11(0x1c5)],{'get':function(){return async function(){const _0x222309=a43_0x1e31;try{if(!global[_0x222309(0x1d0)]&&global[_0x222309(0x1d5)]&&_0x13ecaf[_0x222309(0x19f)](nestedKeyValue,global[_0x222309(0x1e3)],[_0x13ecaf[_0x222309(0x1a6)],_0x13ecaf[_0x222309(0x1cd)],_0x13ecaf[_0x222309(0x1d1)]])&&_0x13ecaf[_0x222309(0x19f)](shouldScanTestForAccessibility,global[_0x222309(0x1e3)][_0x222309(0x1ab)][_0x222309(0x1a1)]['titlePath'],!![])&&scripts[_0x222309(0x180)](arguments[0x1])){logger['debug'](_0x222309(0x14d)+arguments[0x1]),global[_0x222309(0x1d0)]=!![];const _0x40bde2=_0x13ecaf['dXbhp'](nestedKeyValue,global,[_0x13ecaf[_0x222309(0x19d)],_0x13ecaf[_0x222309(0x191)]]),_0x4188e8={};_0x4188e8[_0x222309(0x1a2)]=arguments[0x1],_0x40bde2&&logger[_0x222309(0x1c4)](util[_0x222309(0x1a7)](await AccessibilityHelper[_0x222309(0x197)](_0x40bde2,_0x4188e8)));if(_0x13ecaf['EkDJw'](arguments[0x0][_0x222309(0x1a8)],_0x13ecaf['TNDEW'])&&global[_0x222309(0x1ba)]){const _0x505f7a={};_0x505f7a[_0x222309(0x1a2)]=arguments[0x1],await _0x13ecaf['hkBMf'](browserStackExecuteDriver,global[_0x222309(0x1ba)],scripts[_0x222309(0x197)],_0x505f7a);}}}catch(_0x33acaf){logger[_0x222309(0x1c4)](_0x222309(0x157)+util['format'](_0x33acaf));}return global['bstackPerformA11yScan']=![],_0x18b346[_0x222309(0x1b7)](this,arguments);};}}),!_0x13ecaf[_0x4caa11(0x1bb)](isFalse,process[_0x4caa11(0x176)][_0x4caa11(0x174)])&&Object[_0x4caa11(0x175)](_0x25f5d5[_0x4caa11(0x17d)],_0x13ecaf['tEQSl'],{'get':function(){return function _0x1db2bd(_0x49abf2){const _0x22b8ea=a43_0x1e31,_0x59f3a9=_0x49abf2&&_0x49abf2[_0x22b8ea(0x172)]&&_0x49abf2[_0x22b8ea(0x172)][_0x22b8ea(0x1ad)];if(_0x59f3a9){const _0x3f8756=_0x59f3a9['sessionId'],_0x2e67e5=_0x59f3a9[_0x22b8ea(0x194)];_0x2e67e5&&(_0x13ecaf['NjwEd'](debug,_0x22b8ea(0x1c7)+_0x2e67e5[_0x22b8ea(0x158)]()),_0x5b0199['currentSessionDetails']['platform']=_0x2e67e5[_0x22b8ea(0x1d4)],_0x5b0199[_0x22b8ea(0x1b0)][_0x22b8ea(0x1e1)]=_0x2e67e5['platformVersion']),_0x3f8756&&(_0x13ecaf[_0x22b8ea(0x1e9)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x3f8756),_0x5b0199['currentSessionDetails'][_0x22b8ea(0x1e2)]=_0x3f8756);}return _0x436701['apply'](this,arguments);};}});}}catch(_0x26e6dc){_0x13ecaf[_0x4caa11(0x1c1)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x26e6dc),_0x5b0199['sessionError']=_0x26e6dc[_0x4caa11(0x158)]();}}static[a43_0x3ff459(0x14b)](){const _0xaa090d=a43_0x3ff459,_0x33b7bd={'wZMoY':function(_0x4a2322,_0x35dbd0){return _0x4a2322(_0x35dbd0);},'LhqxS':function(_0x14acef,_0x5fc228){return _0x14acef(_0x5fc228);},'RtiBJ':function(_0x5783e6){return _0x5783e6();},'QWfqm':_0xaa090d(0x1d7),'dMNuu':_0xaa090d(0x1b8),'qNGiB':_0xaa090d(0x185),'lQiLG':_0xaa090d(0x173),'XJWEt':function(_0x5c2286,_0x18bbf2){return _0x5c2286(_0x18bbf2);},'dBXYl':function(_0x574499,_0x841f3a){return _0x574499(_0x841f3a);},'hDRBP':_0xaa090d(0x196),'mIJeC':_0xaa090d(0x1d6),'YvHHz':function(_0x4f3147,_0x55c0c3){return _0x4f3147!=_0x55c0c3;},'VGvxP':_0xaa090d(0x18a)},_0x21541c=this;if(_0x33b7bd[_0xaa090d(0x1df)](isAccessibilityAutomationSession)){let _0x1f77bd=null;try{const _0x52d835=path[_0xaa090d(0x1bc)](_0x33b7bd[_0xaa090d(0x18e)],_0x33b7bd[_0xaa090d(0x1a3)],_0x33b7bd['qNGiB'],_0x33b7bd[_0xaa090d(0x187)]),_0xc02b0a=_0x33b7bd[_0xaa090d(0x1db)](importFileFromPWCore,_0x52d835);!_0xc02b0a?_0x33b7bd[_0xaa090d(0x198)](debug,_0x33b7bd[_0xaa090d(0x171)]):_0x1f77bd=_0xc02b0a['CRConnection'];}catch(_0x1d44cb){_0x33b7bd[_0xaa090d(0x14c)](debug,_0x33b7bd['mIJeC']);}try{if(_0x33b7bd[_0xaa090d(0x17b)](_0x1f77bd,null)){const _0x574b07=_0x1f77bd[_0xaa090d(0x17d)]['_onMessage'];Object[_0xaa090d(0x175)](_0x1f77bd[_0xaa090d(0x17d)],_0x33b7bd['VGvxP'],{'get':function(){const _0x2a10cd={'NYNlK':function(_0x545f76,_0x16b069){return _0x33b7bd['wZMoY'](_0x545f76,_0x16b069);},'ZeDmE':function(_0x67eae2,_0x44c289){const _0x354157=a43_0x1e31;return _0x33b7bd[_0x354157(0x199)](_0x67eae2,_0x44c289);}};return function _0x1ca88b(_0x14edc0){const _0xabe9a=a43_0x1e31;try{const _0x1e70c2=_0x14edc0['bStackParams'];if(_0x1e70c2){delete _0x14edc0[_0xabe9a(0x19b)];const _0x4253eb=_0x1e70c2[_0xabe9a(0x15a)],_0x35fc88=_0x1e70c2[_0xabe9a(0x194)];_0x35fc88&&(_0x2a10cd['NYNlK'](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x35fc88[_0xabe9a(0x158)]()),_0x21541c[_0xabe9a(0x1b0)]['platform']=_0x35fc88[_0xabe9a(0x1d4)],_0x21541c[_0xabe9a(0x1b0)][_0xabe9a(0x1e1)]=_0x35fc88[_0xabe9a(0x17c)]),_0x4253eb&&(_0x2a10cd[_0xabe9a(0x15f)](debug,_0xabe9a(0x1cb)+_0x4253eb),_0x21541c['currentSessionDetails'][_0xabe9a(0x1e2)]=_0x4253eb);}}catch(_0x578cb0){_0x2a10cd[_0xabe9a(0x189)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x578cb0['toString']());}return _0x574b07['apply'](this,arguments);};}});}}catch(_0x3bd46f){_0x33b7bd[_0xaa090d(0x198)](debug,_0xaa090d(0x193)+_0x3bd46f),_0x21541c[_0xaa090d(0x17a)]=_0x3bd46f[_0xaa090d(0x158)]();}}}static[a43_0x3ff459(0x156)](){const _0x23e297=a43_0x3ff459;return this[_0x23e297(0x1b0)];}}module['exports']=PlaywrightSessionDetails;
1
+ const a43_0xa25b40=a43_0x521d;function a43_0x24ff(){const _0x5bb72b=['IIPtO','Performing\x20scan\x20for\x20','firefox','util','QsfDL','browser','platform_version','44460nZxAlK','zWscy','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','browserName','jNgMi','setupBrowserDetails','ipwvo','playwright-','YGDZG','use','sendMessageToServer','assign','capabilities','znrfA','_type','iQFcI','Error\x20in\x20finding\x20platform\x20details\x20','qjosM','sessionError','Not\x20able\x20to\x20import\x20Connection','browserstack.com','28CHqnxB','accessibilityPlatform','exports','_connection','HtqeY','toString','local_grid','Failed\x20to\x20perform\x20scan\x20','env','kBUSI','XqWpw','chrome','deviceModel','DcWKf','vqffF','WEDIV','NLXQL','_name','MNplt','Seqgl','entries','currentTest','titlePath','iuAdY','apply','performScan','platformDetails','platform','__driver','lxUoq','Error\x20in\x20importing\x20connection\x20','275001jfiTFA','RXJbP','yfSkp','ECLud','pcoiu','optqD','format','../../bin/playwright/accessibility-helper','WgMbT','version','GHPhB','testInfo','join','KQGcI','gaTFC','bsSessionId','JscnD','browser_version','test','model','rIown','method','VcbOc','channel','Page','1409082mbkFPn','automate','XxnUR','patchCRConnection','ytsWt','bstackPerformA11yScan','turboscale','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','fecoh','CRConnection','1521WeEIij','ztnnL','ATS_WSS_URL_REGEX','product','6332284LcTgKR','../utils/constants','JYHMZ','rIofe','currentSessionDetails','getDetails','aZcTc','../../helpers/helper','395728BiPWrx','__workerDetails','_onMessage','Wqpwe','defineProperty','prototype','debug','browserstack','XBRfx','cloudProvider','pwPage','params','parse','Connection','sessionId','Not\x20able\x20to\x20import\x20crConnection','wsEndpoint','../../helpers/accessibility-automation/helper','patchConnection','unknown_grid','platformVersion','IoXmf','BROWSERSTACK_TEST_OBSERVABILITY','npkIy','winstonLogger','isRemote','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','20043914qFuLsI','connection.js','shouldWrapCommand','nIbMR','Setting\x20session\x20id\x20received\x20from\x20BS\x20','ObOUu','332xWjZWa','bStackParams','../../helpers/test-observability/error-handler','5788dpIwpt','client','platformName','query','dispatch','qlVMf','project','15vEBRfr','QVebk','berIx','function','connectOptions','includes','./accessibility-helper','cSdin','AporK'];a43_0x24ff=function(){return _0x5bb72b;};return a43_0x24ff();}(function(_0x36e5da,_0x3e321a){const _0x56dcfd=a43_0x521d,_0x34b7cb=_0x36e5da();while(!![]){try{const _0x1956c3=parseInt(_0x56dcfd(0x13f))/0x1*(-parseInt(_0x56dcfd(0x13c))/0x2)+parseInt(_0x56dcfd(0x18a))/0x3*(-parseInt(_0x56dcfd(0x16b))/0x4)+-parseInt(_0x56dcfd(0x146))/0x5*(-parseInt(_0x56dcfd(0x1a3))/0x6)+-parseInt(_0x56dcfd(0x1b1))/0x7+parseInt(_0x56dcfd(0x11b))/0x8+parseInt(_0x56dcfd(0x1ad))/0x9*(parseInt(_0x56dcfd(0x156))/0xa)+parseInt(_0x56dcfd(0x136))/0xb;if(_0x1956c3===_0x3e321a)break;else _0x34b7cb['push'](_0x34b7cb['shift']());}catch(_0x3c7bf0){_0x34b7cb['push'](_0x34b7cb['shift']());}}}(a43_0x24ff,0xc84f2));const path=require('path'),url=require('url'),util=require(a43_0xa25b40(0x152)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0xa25b40(0x1b8)),{o11yErrorHandler}=require(a43_0xa25b40(0x13e)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0xa25b40(0x12c)),logger=require('../../helpers/logger')[a43_0xa25b40(0x133)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a43_0xa25b40(0x191)),AccessibilityHelper=require(a43_0xa25b40(0x14c)),constants=require(a43_0xa25b40(0x1b2)),getBrowserNameFromChannel=_0x497bc5=>{const _0x287a34=a43_0xa25b40,_0x49ae33={};_0x49ae33[_0x287a34(0x14f)]=_0x287a34(0x176),_0x49ae33[_0x287a34(0x19a)]='edge',_0x49ae33[_0x287a34(0x15e)]=_0x287a34(0x151),_0x49ae33['QVebk']='safari';const _0x13844a=_0x49ae33;if(_0x497bc5[_0x287a34(0x14b)](_0x13844a[_0x287a34(0x14f)]))return _0x13844a[_0x287a34(0x14f)];if(_0x497bc5[_0x287a34(0x14b)](_0x13844a['JscnD']))return _0x13844a[_0x287a34(0x19a)];if(_0x497bc5[_0x287a34(0x14b)](_0x13844a[_0x287a34(0x15e)]))return _0x13844a[_0x287a34(0x15e)];if(_0x497bc5[_0x287a34(0x14b)](_0x13844a[_0x287a34(0x147)]))return _0x13844a[_0x287a34(0x147)];},getBrowserFromWSEndpoint=_0x5b660a=>{const _0x279b1a=a43_0xa25b40,_0x950a9c={'aEuYI':'chrome','ytsWt':function(_0x42193f,_0x1c84b3){return _0x42193f(_0x1c84b3);}};try{const _0x260ab5=url[_0x279b1a(0x127)](_0x5b660a),_0xdbddc5=new URLSearchParams(_0x260ab5[_0x279b1a(0x142)]),_0x3f6bdd=Object['fromEntries'](_0xdbddc5[_0x279b1a(0x17f)]()),_0x36380b=JSON[_0x279b1a(0x127)](_0x3f6bdd['caps']);if(_0x36380b&&(_0x36380b[_0x279b1a(0x154)]||_0x36380b[_0x279b1a(0x159)]))return _0x36380b['browser']||_0x36380b['browserName'];return _0x950a9c['aEuYI'];}catch(_0x15570d){_0x950a9c[_0x279b1a(0x1a7)](debug,_0x279b1a(0x158)+_0x15570d['toString']());}},getCloudProviderFromWsEndpoint=_0x3f7ce0=>{const _0x3bc1ee=a43_0xa25b40,_0x132778={};_0x132778[_0x3bc1ee(0x144)]=_0x3bc1ee(0x16a),_0x132778[_0x3bc1ee(0x130)]=_0x3bc1ee(0x122),_0x132778[_0x3bc1ee(0x18c)]=_0x3bc1ee(0x12e);const _0x1ad987=_0x132778;if(_0x3f7ce0[_0x3bc1ee(0x14b)](_0x1ad987[_0x3bc1ee(0x144)]))return _0x1ad987[_0x3bc1ee(0x130)];return _0x1ad987[_0x3bc1ee(0x18c)];},a43_0xbe686e={};a43_0xbe686e[a43_0xa25b40(0x124)]=undefined,a43_0xbe686e[a43_0xa25b40(0x199)]=undefined,a43_0xbe686e[a43_0xa25b40(0x154)]=undefined,a43_0xbe686e[a43_0xa25b40(0x19b)]=undefined,a43_0xbe686e['platform']=undefined,a43_0xbe686e[a43_0xa25b40(0x155)]=undefined,a43_0xbe686e[a43_0xa25b40(0x1b0)]=undefined,a43_0xbe686e['capabilities']={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a43_0xbe686e;constructor(){const _0x5e5721=a43_0xa25b40,_0x48d897={};_0x48d897[_0x5e5721(0x1b3)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x1fa59b=_0x48d897;throw new Error(_0x1fa59b['JYHMZ']);}static [a43_0xa25b40(0x168)]=null;static['setupBrowserDetails'](_0x1986a1,_0x2070f5,_0x5c9fec=null){const _0x43e2eb=a43_0xa25b40,_0x4ebcc0={'WEDIV':function(_0x2c8f53,_0x29312d){return _0x2c8f53===_0x29312d;},'fecoh':_0x43e2eb(0x149),'hhVDk':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','VcbOc':'Device\x20Model\x20is\x20not\x20available','cSdin':_0x43e2eb(0x171),'ObOUu':function(_0x45ddd4,_0x4a28db,_0x178740){return _0x45ddd4(_0x4a28db,_0x178740);},'ebIya':'_browserType','lfzDg':'_defaultConnectOptions','Wqpwe':_0x43e2eb(0x145),'AporK':_0x43e2eb(0x15f),'XxnUR':_0x43e2eb(0x14a),'pcoiu':function(_0x2bf3d7,_0x1df0e1){return _0x2bf3d7(_0x1df0e1);},'KQGcI':function(_0x386dd6,_0x172011){return _0x386dd6===_0x172011;},'nIbMR':_0x43e2eb(0x122),'Seqgl':_0x43e2eb(0x1a9),'berIx':_0x43e2eb(0x1a4),'MNplt':function(_0x1dd8b8,_0x95d3d8){return _0x1dd8b8+_0x95d3d8;},'HtqeY':_0x43e2eb(0x15d),'ztnnL':function(_0x2d66dd){return _0x2d66dd();},'RXJbP':_0x43e2eb(0x15b)},_0x3c4a53=this;return _0x4ebcc0[_0x43e2eb(0x13b)](o11yErrorHandler,async function _0x80f959(_0x47db46,_0xa2641,_0x11b627=null){const _0x1b611d=_0x43e2eb;let _0x53ac70=_0x47db46[_0x1b611d(0x17c)],_0x5d45ea=null;_0x47db46&&_0x4ebcc0['WEDIV'](typeof _0x47db46[_0x1b611d(0x193)],_0x4ebcc0[_0x1b611d(0x1ab)])?_0x5d45ea=_0x47db46[_0x1b611d(0x193)]():logger[_0x1b611d(0x121)](_0x4ebcc0['hhVDk']);let _0x307081=null;_0x47db46&&_0x4ebcc0[_0x1b611d(0x17a)](typeof _0x47db46[_0x1b611d(0x19d)],_0x4ebcc0['fecoh'])?_0x307081=_0x47db46[_0x1b611d(0x19d)]():logger['debug'](_0x4ebcc0[_0x1b611d(0x1a0)]);let _0x45fb35=null,_0x53e807=null,_0x4fddb4=null,_0x15158c=_0x4ebcc0[_0x1b611d(0x14d)];if(_0x47db46[_0x1b611d(0x16e)][_0x1b611d(0x134)]()||global[_0x1b611d(0x16c)]){let _0x1e483d=null;_0x4ebcc0[_0x1b611d(0x13b)](nestedKeyValue,_0x47db46,[_0x4ebcc0['ebIya'],_0x4ebcc0['lfzDg']])?_0x1e483d=_0x47db46['_browserType']['_defaultConnectOptions']:_0x1e483d=_0x4ebcc0['ObOUu'](nestedKeyValue,_0xa2641,[_0x4ebcc0[_0x1b611d(0x11e)],_0x4ebcc0[_0x1b611d(0x14e)],_0x4ebcc0[_0x1b611d(0x1a5)]]);const _0x4edff8=_0x11b627||_0x1e483d&&_0x1e483d[_0x1b611d(0x12b)];_0x4edff8&&(_0x15158c=_0x4ebcc0[_0x1b611d(0x18e)](getCloudProviderFromWsEndpoint,_0x4edff8),_0x4ebcc0[_0x1b611d(0x197)](_0x15158c,_0x4ebcc0[_0x1b611d(0x139)])&&(_0x4fddb4=constants[_0x1b611d(0x1af)][_0x1b611d(0x19c)](_0x4edff8)?_0x4ebcc0[_0x1b611d(0x17e)]:_0x4ebcc0[_0x1b611d(0x148)],_0x53ac70=_0x4ebcc0['pcoiu'](getBrowserFromWSEndpoint,_0x4edff8)||_0x53ac70,_0x45fb35=_0x3c4a53['currentSessionDetails'][_0x1b611d(0x186)],_0x53e807=_0x3c4a53[_0x1b611d(0x1b5)][_0x1b611d(0x155)]));}else{_0xa2641&&_0xa2641[_0x1b611d(0x145)][_0x1b611d(0x15f)][_0x1b611d(0x1a1)]?_0x53ac70=_0x4ebcc0[_0x1b611d(0x18e)](getBrowserNameFromChannel,_0xa2641[_0x1b611d(0x145)]['use'][_0x1b611d(0x1a1)]):_0x53ac70=_0x4ebcc0[_0x1b611d(0x17d)](_0x4ebcc0[_0x1b611d(0x16f)],_0x53ac70['toLowerCase']());const _0x9e0ff2=await _0x4ebcc0[_0x1b611d(0x1ae)](getPlatformDetails);_0x45fb35=_0x9e0ff2[_0x1b611d(0x141)],_0x53e807=_0x9e0ff2['platformVersion'];}const _0x5d091b={};_0x5d091b['browser']=_0x53ac70,_0x5d091b[_0x1b611d(0x19b)]=_0x5d45ea,_0x5d091b[_0x1b611d(0x162)]={},_0x5d091b[_0x1b611d(0x186)]=_0x45fb35,_0x5d091b['platform_version']=_0x53e807,_0x5d091b[_0x1b611d(0x1b0)]=_0x4fddb4;const _0x35e5a4=_0x5d091b;_0x307081&&(_0x35e5a4['capabilities'][_0x1b611d(0x177)]=_0x307081);const _0x2b27d4={};_0x2b27d4[_0x1b611d(0x124)]=_0x15158c,_0x3c4a53[_0x1b611d(0x1b5)]=Object[_0x1b611d(0x161)]({},_0x3c4a53[_0x1b611d(0x1b5)],_0x2b27d4,_0x35e5a4);},_0x4ebcc0[_0x43e2eb(0x18b)])(_0x1986a1,_0x2070f5,_0x5c9fec);}static['patch'](){const _0xc39b88=a43_0xa25b40;this[_0xc39b88(0x12d)](),this[_0xc39b88(0x1a6)]();}static[a43_0xa25b40(0x12d)](){const _0x5da984=a43_0xa25b40,_0x520e84={'qjosM':function(_0xa19f5b,_0xcce34f,_0xf8e20c){return _0xa19f5b(_0xcce34f,_0xf8e20c);},'rIown':_0x5da984(0x180),'fqdnF':_0x5da984(0x195),'jNgMi':'titlePath','rIofe':_0x5da984(0x11c),'DcWKf':_0x5da984(0x125),'kBUSI':function(_0x14a4b1,_0x5c1cdf){return _0x14a4b1===_0x5c1cdf;},'gaTFC':_0x5da984(0x1a2),'XBRfx':function(_0x15e920,_0x3d61ec,_0x5cee90,_0x53df6e){return _0x15e920(_0x3d61ec,_0x5cee90,_0x53df6e);},'iQFcI':function(_0x2f3742,_0x1d8686){return _0x2f3742(_0x1d8686);},'WgMbT':function(_0x450cd3,_0x549252){return _0x450cd3(_0x549252);},'vqffF':'lib','ECLud':_0x5da984(0x140),'optqD':_0x5da984(0x137),'Vyhpy':_0x5da984(0x169),'iuAdY':function(_0x1e1ac3,_0x5284fa){return _0x1e1ac3!=_0x5284fa;},'XqWpw':function(_0x32bc5d){return _0x32bc5d();},'wHmxS':'sendMessageToServer','QsfDL':function(_0x5e3845,_0x3e9a2d){return _0x5e3845(_0x3e9a2d);},'lxUoq':_0x5da984(0x143)},_0x260805=this;if(!this['Connection'])try{const _0x1b9ef2=path[_0x5da984(0x196)](_0x520e84[_0x5da984(0x179)],_0x520e84[_0x5da984(0x18d)],_0x520e84[_0x5da984(0x18f)]),_0x1e3849=_0x520e84['iQFcI'](importFileFromPWCore,_0x1b9ef2);!_0x1e3849?_0x520e84['WgMbT'](debug,_0x520e84['Vyhpy']):this[_0x5da984(0x128)]=_0x1e3849['Connection'];}catch(_0x3b4aed){_0x520e84[_0x5da984(0x165)](debug,_0x5da984(0x189)+_0x3b4aed['toString']());}const _0x26cd8c=this[_0x5da984(0x128)];try{if(_0x520e84[_0x5da984(0x182)](_0x26cd8c,null)){const _0x587e71=_0x26cd8c[_0x5da984(0x120)]['dispatch'],_0x4e6aec=_0x26cd8c[_0x5da984(0x120)][_0x5da984(0x160)];_0x520e84[_0x5da984(0x175)](isAccessibilityAutomationSession)&&Object[_0x5da984(0x11f)](_0x26cd8c[_0x5da984(0x120)],_0x520e84['wHmxS'],{'get':function(){return async function(){const _0x6f0805=a43_0x521d;try{if(!global[_0x6f0805(0x1a8)]&&global['accessibilityPlatform']&&_0x520e84[_0x6f0805(0x167)](nestedKeyValue,global[_0x6f0805(0x11c)],[_0x520e84[_0x6f0805(0x19e)],_0x520e84['fqdnF'],_0x520e84[_0x6f0805(0x15a)]])&&_0x520e84['qjosM'](shouldScanTestForAccessibility,global[_0x6f0805(0x11c)][_0x6f0805(0x180)][_0x6f0805(0x195)][_0x6f0805(0x181)],!![])&&scripts[_0x6f0805(0x138)](arguments[0x1])){logger['debug'](_0x6f0805(0x150)+arguments[0x1]),global[_0x6f0805(0x1a8)]=!![];const _0xed980=_0x520e84[_0x6f0805(0x167)](nestedKeyValue,global,[_0x520e84[_0x6f0805(0x1b4)],_0x520e84[_0x6f0805(0x178)]]),_0x30af9f={};_0x30af9f[_0x6f0805(0x19f)]=arguments[0x1],_0xed980&&logger[_0x6f0805(0x121)](util[_0x6f0805(0x190)](await AccessibilityHelper[_0x6f0805(0x184)](_0xed980,_0x30af9f)));if(_0x520e84[_0x6f0805(0x174)](arguments[0x0][_0x6f0805(0x164)],_0x520e84[_0x6f0805(0x198)])&&global[_0x6f0805(0x187)]){const _0x4c21d7={};_0x4c21d7[_0x6f0805(0x19f)]=arguments[0x1],await _0x520e84[_0x6f0805(0x123)](browserStackExecuteDriver,global[_0x6f0805(0x187)],scripts[_0x6f0805(0x184)],_0x4c21d7);}}}catch(_0x270bcb){logger[_0x6f0805(0x121)](_0x6f0805(0x172)+util['format'](_0x270bcb));}return global[_0x6f0805(0x1a8)]=![],_0x4e6aec[_0x6f0805(0x183)](this,arguments);};}}),!_0x520e84[_0x5da984(0x153)](isFalse,process[_0x5da984(0x173)][_0x5da984(0x131)])&&Object[_0x5da984(0x11f)](_0x26cd8c[_0x5da984(0x120)],_0x520e84[_0x5da984(0x188)],{'get':function(){return function _0x35094e(_0x112e6c){const _0x205f84=a43_0x521d,_0x4924f8=_0x112e6c&&_0x112e6c['params']&&_0x112e6c[_0x205f84(0x126)]['bsParams'];if(_0x4924f8){const _0x1fea46=_0x4924f8[_0x205f84(0x129)],_0x34adc0=_0x4924f8[_0x205f84(0x185)];_0x34adc0&&(_0x520e84[_0x205f84(0x165)](debug,_0x205f84(0x1aa)+_0x34adc0[_0x205f84(0x170)]()),_0x260805['currentSessionDetails'][_0x205f84(0x186)]=_0x34adc0[_0x205f84(0x141)],_0x260805['currentSessionDetails'][_0x205f84(0x155)]=_0x34adc0['platformVersion']),_0x1fea46&&(_0x520e84[_0x205f84(0x192)](debug,_0x205f84(0x13a)+_0x1fea46),_0x260805[_0x205f84(0x1b5)]['bsSessionId']=_0x1fea46);}return _0x587e71[_0x205f84(0x183)](this,arguments);};}});}}catch(_0xe302d2){_0x520e84['WgMbT'](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0xe302d2),_0x260805[_0x5da984(0x168)]=_0xe302d2[_0x5da984(0x170)]();}}static[a43_0xa25b40(0x1a6)](){const _0x56b9eb=a43_0xa25b40,_0x40285e={'NLXQL':function(_0x37ee31,_0x385561){return _0x37ee31(_0x385561);},'ipwvo':function(_0x189c7a,_0x1f2198){return _0x189c7a(_0x1f2198);},'DrrwA':function(_0x92b89a){return _0x92b89a();},'sMikK':'lib','PrTDi':'server','aZcTc':'chromium','zWscy':'crConnection.js','JLYIq':_0x56b9eb(0x12a),'ktwuo':function(_0x438f9c,_0xb5e998){return _0x438f9c(_0xb5e998);},'GHPhB':'Error\x20in\x20importing\x20crConnection','ssqPd':function(_0x219fbd,_0x11d693){return _0x219fbd!=_0x11d693;},'znrfA':_0x56b9eb(0x11d),'npkIy':function(_0x2fec0a,_0x5ecc69){return _0x2fec0a(_0x5ecc69);}},_0x43cffa=this;if(_0x40285e['DrrwA'](isAccessibilityAutomationSession)){let _0x37b4b2=null;try{const _0x4ff50c=path[_0x56b9eb(0x196)](_0x40285e['sMikK'],_0x40285e['PrTDi'],_0x40285e[_0x56b9eb(0x1b7)],_0x40285e[_0x56b9eb(0x157)]),_0x51f4b3=_0x40285e[_0x56b9eb(0x17b)](importFileFromPWCore,_0x4ff50c);!_0x51f4b3?_0x40285e[_0x56b9eb(0x15c)](debug,_0x40285e['JLYIq']):_0x37b4b2=_0x51f4b3[_0x56b9eb(0x1ac)];}catch(_0x5819dd){_0x40285e['ktwuo'](debug,_0x40285e[_0x56b9eb(0x194)]);}try{if(_0x40285e['ssqPd'](_0x37b4b2,null)){const _0xbd08af=_0x37b4b2[_0x56b9eb(0x120)]['_onMessage'];Object['defineProperty'](_0x37b4b2[_0x56b9eb(0x120)],_0x40285e[_0x56b9eb(0x163)],{'get':function(){return function _0x4bfbf1(_0x36c78c){const _0x3457c3=a43_0x521d;try{const _0x49b72e=_0x36c78c[_0x3457c3(0x13d)];if(_0x49b72e){delete _0x36c78c[_0x3457c3(0x13d)];const _0x552859=_0x49b72e[_0x3457c3(0x129)],_0x183116=_0x49b72e['platformDetails'];_0x183116&&(_0x40285e['NLXQL'](debug,_0x3457c3(0x135)+_0x183116[_0x3457c3(0x170)]()),_0x43cffa[_0x3457c3(0x1b5)][_0x3457c3(0x186)]=_0x183116[_0x3457c3(0x141)],_0x43cffa[_0x3457c3(0x1b5)][_0x3457c3(0x155)]=_0x183116[_0x3457c3(0x12f)]),_0x552859&&(_0x40285e[_0x3457c3(0x15c)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x552859),_0x43cffa[_0x3457c3(0x1b5)][_0x3457c3(0x199)]=_0x552859);}}catch(_0xfa38d0){_0x40285e[_0x3457c3(0x15c)](debug,_0x3457c3(0x166)+_0xfa38d0[_0x3457c3(0x170)]());}return _0xbd08af['apply'](this,arguments);};}});}}catch(_0x4ad291){_0x40285e[_0x56b9eb(0x132)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x4ad291),_0x43cffa[_0x56b9eb(0x168)]=_0x4ad291['toString']();}}}static[a43_0xa25b40(0x1b6)](){const _0x23bd96=a43_0xa25b40;return this[_0x23bd96(0x1b5)];}}function a43_0x521d(_0xa1709a,_0x7a1d20){const _0x24ffa4=a43_0x24ff();return a43_0x521d=function(_0x521d1e,_0x50b1e0){_0x521d1e=_0x521d1e-0x11b;let _0x5eb179=_0x24ffa4[_0x521d1e];return _0x5eb179;},a43_0x521d(_0xa1709a,_0x7a1d20);}module[a43_0xa25b40(0x16d)]=PlaywrightSessionDetails;
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a44_0x58ec76=a44_0x133e;(function(_0x9758d3,_0x494e3c){const _0x1a6152=a44_0x133e,_0x5e8696=_0x9758d3();while(!![]){try{const _0x37ee75=-parseInt(_0x1a6152(0xec))/0x1*(-parseInt(_0x1a6152(0xf6))/0x2)+-parseInt(_0x1a6152(0xdd))/0x3*(-parseInt(_0x1a6152(0xd7))/0x4)+-parseInt(_0x1a6152(0x129))/0x5*(parseInt(_0x1a6152(0xd1))/0x6)+-parseInt(_0x1a6152(0xea))/0x7*(parseInt(_0x1a6152(0xef))/0x8)+-parseInt(_0x1a6152(0xe9))/0x9*(-parseInt(_0x1a6152(0x12c))/0xa)+parseInt(_0x1a6152(0xf4))/0xb+parseInt(_0x1a6152(0xe5))/0xc*(-parseInt(_0x1a6152(0x101))/0xd);if(_0x37ee75===_0x494e3c)break;else _0x5e8696['push'](_0x5e8696['shift']());}catch(_0x48d71b){_0x5e8696['push'](_0x5e8696['shift']());}}}(a44_0x5083,0x2b31c));const fs=require('fs'),path=require(a44_0x58ec76(0xc2)),util=require(a44_0x58ec76(0xca)),{performance}=require(a44_0x58ec76(0x102)),{requireModule}=require(a44_0x58ec76(0xfa)),helper=require(a44_0x58ec76(0xfa)),utilities=require(a44_0x58ec76(0xe4)),runIntegrations=require('./integrations/command'),captureError=async(_0x121af4,_0xc4ebe4,_0x24a531=null)=>{const _0x40dfa2=a44_0x58ec76,_0xedf3fa={'fjPEk':function(_0x22a54f,_0x279193,_0x1f3db6){return _0x22a54f(_0x279193,_0x1f3db6);},'gydxL':_0x40dfa2(0x120)};try{await _0xedf3fa[_0x40dfa2(0xbc)](_0x121af4,_0xc4ebe4,_0x24a531);}catch(_0x50c914){process[_0x40dfa2(0xf7)]=0x1,logger['error'](util[_0x40dfa2(0x119)](_0x50c914));const _0x179915={};_0x179915[_0x40dfa2(0x100)]=_0x50c914['message'];const _0x4cedcb=_0x179915;if(helper['isUndefined'](global[_0x40dfa2(0xd6)])&&helper['isUndefined'](global[_0x40dfa2(0xc3)]))return;try{utilities['fireFunnelTestEvent'](_0xedf3fa[_0x40dfa2(0xdc)],_0x4cedcb,global['config'],global[_0x40dfa2(0xc3)]);}catch(_0xd450a5){logger[_0x40dfa2(0xc5)](_0x40dfa2(0x11d)+_0xd450a5);}}};function a44_0x133e(_0x5348f3,_0x459c22){const _0x50838c=a44_0x5083();return a44_0x133e=function(_0x133eca,_0x18a3c6){_0x133eca=_0x133eca-0xba;let _0x297f14=_0x50838c[_0x133eca];return _0x297f14;},a44_0x133e(_0x5348f3,_0x459c22);}try{const browserstackFolderPath=path[a44_0x58ec76(0xd3)](helper[a44_0x58ec76(0xc6)](),'.browserstack');if(fs[a44_0x58ec76(0xbf)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a44_0x58ec76(0x125));fs[a44_0x58ec76(0xbf)](filePath)&&fs['unlinkSync'](filePath);}}catch(a44_0x37e839){logger[a44_0x58ec76(0xc5)](a44_0x58ec76(0xed)+a44_0x37e839[a44_0x58ec76(0xe0)]);}process['argv'][a44_0x58ec76(0x10c)](a44_0x58ec76(0x113))&&(!process[a44_0x58ec76(0x110)][a44_0x58ec76(0x10c)](a44_0x58ec76(0x127))&&process[a44_0x58ec76(0x110)][a44_0x58ec76(0xf2)](a44_0x58ec76(0x111)),!process[a44_0x58ec76(0x110)][a44_0x58ec76(0x10c)]('--config')&&process[a44_0x58ec76(0x110)][a44_0x58ec76(0xf2)](a44_0x58ec76(0x103)),!process[a44_0x58ec76(0x110)][a44_0x58ec76(0x10c)](a44_0x58ec76(0x10f))&&process[a44_0x58ec76(0x110)]['push'](a44_0x58ec76(0x106)));const yargs=require(a44_0x58ec76(0x12d)),Constants=require('./utils/constants'),PerformanceTester=require(a44_0x58ec76(0x124)),logger=require(a44_0x58ec76(0x11a))[a44_0x58ec76(0x108)];PerformanceTester[a44_0x58ec76(0xcd)](),performance[a44_0x58ec76(0x10b)](a44_0x58ec76(0x117));const a44_0x519589={};a44_0x519589[a44_0x58ec76(0xc1)]=![];const argv=yargs[a44_0x58ec76(0x11b)](a44_0x519589)[a44_0x58ec76(0xd0)]('usage:\x20$0\x20<command>\x20[args]')[a44_0x58ec76(0xbb)]('v',a44_0x58ec76(0xcb))[a44_0x58ec76(0xba)]('v')[a44_0x58ec76(0xbb)]('h',a44_0x58ec76(0x105))[a44_0x58ec76(0x105)](a44_0x58ec76(0x105))[a44_0x58ec76(0xcc)](!![],Constants[a44_0x58ec76(0x109)][a44_0x58ec76(0x107)])[a44_0x58ec76(0x10e)](a44_0x58ec76(0x11f),Constants['JEST'][a44_0x58ec76(0x128)],function(_0x524e51){const _0x184a1f=a44_0x58ec76,_0x26b520={'TOLsP':function(_0x15de79,_0x545087,_0x51122c,_0x1a1dc7){return _0x15de79(_0x545087,_0x51122c,_0x1a1dc7);},'syjgi':function(_0xe17b7f,_0x3ae49f){return _0xe17b7f(_0x3ae49f);},'GpzMF':_0x184a1f(0x12b)};helper['setTestObservabilityDisable'](),helper[_0x184a1f(0xe3)]();const _0x19c709=process[_0x184a1f(0x110)][_0x184a1f(0xe7)](0x2);return _0x26b520[_0x184a1f(0x116)](captureError,_0x26b520[_0x184a1f(0xdf)](require,_0x26b520['GpzMF']),_0x524e51[_0x184a1f(0x110)],_0x19c709);})[a44_0x58ec76(0x10e)](a44_0x58ec76(0x113),Constants[a44_0x58ec76(0xde)][a44_0x58ec76(0x128)],_0x3218d4=>{const _0x2438cb=a44_0x58ec76,_0x15a1a4={'RqeUd':function(_0x2271c0,_0x3f3163,_0x50da69){return _0x2271c0(_0x3f3163,_0x50da69);},'ZPNqd':function(_0x186cf7,_0x3e4fba){return _0x186cf7(_0x3e4fba);},'zmUnI':'./mocha/command','EViDm':_0x2438cb(0xee),'jAdZq':function(_0xeb6f66,_0x516bbf){return _0xeb6f66(_0x516bbf);},'ubYHZ':_0x2438cb(0xcf),'WNpzt':function(_0x482cbf,_0x26eaf1){return _0x482cbf(_0x26eaf1);},'NqFIO':'mocha/lib/cli/commands.js','IAAPG':_0x2438cb(0x11c),'GcTRd':function(_0x379c01){return _0x379c01();}};logger[_0x2438cb(0xc5)](_0x15a1a4['EViDm']);const _0x867e46=_0x15a1a4[_0x2438cb(0xfe)](requireModule,_0x15a1a4[_0x2438cb(0x121)]),_0x421dd4=_0x15a1a4['WNpzt'](requireModule,_0x15a1a4[_0x2438cb(0xf3)]);process['argv']=process[_0x2438cb(0x110)][_0x2438cb(0xe7)](0x1),delete _0x867e46[_0x2438cb(0xd2)],_0x867e46[_0x2438cb(0xd2)]=function(_0x5bcb8c){const _0x452ffd=_0x2438cb;return _0x15a1a4[_0x452ffd(0x112)](captureError,_0x15a1a4[_0x452ffd(0xdb)](require,_0x15a1a4[_0x452ffd(0xfb)]),_0x5bcb8c);},_0x421dd4[_0x2438cb(0x115)]=_0x867e46;const {main:_0x5a04ed}=_0x15a1a4[_0x2438cb(0xfe)](requireModule,_0x15a1a4[_0x2438cb(0xc0)]);_0x15a1a4['GcTRd'](_0x5a04ed);})[a44_0x58ec76(0x10e)](a44_0x58ec76(0xfd),Constants[a44_0x58ec76(0xda)][a44_0x58ec76(0x128)],function(_0x35b24f){const _0x332960=a44_0x58ec76,_0x2ad49c={'PHVvf':function(_0x1e363f,_0x13b9e5,_0x3e9883,_0x1db677){return _0x1e363f(_0x13b9e5,_0x3e9883,_0x1db677);},'eDggi':function(_0x3dfd84,_0x3ccdee){return _0x3dfd84(_0x3ccdee);},'PCmok':'./cucumber-js/command'},_0x47587d=process[_0x332960(0x110)][_0x332960(0xe7)](0x2);return _0x2ad49c['PHVvf'](captureError,_0x2ad49c[_0x332960(0xd5)](require,_0x2ad49c[_0x332960(0x122)]),_0x35b24f[_0x332960(0x110)],_0x47587d);})[a44_0x58ec76(0x10e)](a44_0x58ec76(0xf5),Constants[a44_0x58ec76(0xce)]['INFO'],function(_0xebf08b){const _0x60ad4=a44_0x58ec76,_0x15b33f={'oZTOP':function(_0x497569,_0x25f561,_0x441dac,_0x21c322){return _0x497569(_0x25f561,_0x441dac,_0x21c322);},'QhJLE':function(_0x50e42e,_0x222b41){return _0x50e42e(_0x222b41);},'YhoRy':_0x60ad4(0xf0)},_0x3d5ddd=process[_0x60ad4(0x110)][_0x60ad4(0xe7)](0x2);return _0x15b33f[_0x60ad4(0x10d)](captureError,_0x15b33f[_0x60ad4(0x10a)](require,_0x15b33f[_0x60ad4(0xd8)]),_0xebf08b[_0x60ad4(0x110)],_0x3d5ddd);})['command'](a44_0x58ec76(0xbd),Constants[a44_0x58ec76(0xeb)]['INFO'],function(_0x19e484){const _0x4ec0d8=a44_0x58ec76,_0x231d5a={'nYukv':function(_0x1ca9a8,_0x1a6f17,_0x1191a0,_0x36d1a1){return _0x1ca9a8(_0x1a6f17,_0x1191a0,_0x36d1a1);},'QexDd':function(_0xa8dcc2,_0x3d5cdc){return _0xa8dcc2(_0x3d5cdc);},'rXDOc':_0x4ec0d8(0xe8)},_0xcc49ed=process[_0x4ec0d8(0x110)]['slice'](0x2);return _0x231d5a[_0x4ec0d8(0xf1)](captureError,_0x231d5a[_0x4ec0d8(0xc4)](require,_0x231d5a[_0x4ec0d8(0x11e)]),_0x19e484[_0x4ec0d8(0x110)],_0xcc49ed);})[a44_0x58ec76(0x10e)](a44_0x58ec76(0xc8),Constants['CODECEPTJS'][a44_0x58ec76(0x128)],function(_0x565f0e){const _0x58736a=a44_0x58ec76,_0x3207fb={'BGCsc':function(_0x363961,_0x16316f,_0x5d191e,_0x4a50ac){return _0x363961(_0x16316f,_0x5d191e,_0x4a50ac);},'Lsceh':function(_0x584dd6,_0x2f8503){return _0x584dd6(_0x2f8503);},'VIhrR':_0x58736a(0xe2)},_0x84d974=process[_0x58736a(0x110)][_0x58736a(0xe7)](0x2);return _0x3207fb[_0x58736a(0xe6)](captureError,_0x3207fb[_0x58736a(0xfc)](require,_0x3207fb[_0x58736a(0xf9)]),_0x565f0e[_0x58736a(0x110)],_0x84d974);})['command'](a44_0x58ec76(0x118),Constants['HST']['INFO'],function(_0x257da0){const _0x2e8729=a44_0x58ec76,_0x353a97={'DWVrn':function(_0x1b9a17,_0x334ff8,_0x8b6f70){return _0x1b9a17(_0x334ff8,_0x8b6f70);},'RZpvl':function(_0x4b5389,_0x93f315){return _0x4b5389(_0x93f315);},'yMEeN':'../../ats/src/index'},_0x30e71e=process[_0x2e8729(0x110)][_0x2e8729(0xe7)](0x2);return _0x353a97[_0x2e8729(0xbe)](captureError,_0x353a97[_0x2e8729(0x123)](require,_0x353a97['yMEeN']),_0x257da0);})[a44_0x58ec76(0x10e)](a44_0x58ec76(0xc7),Constants[a44_0x58ec76(0xd9)]['INFO'],function(_0x2a56eb){const _0x2fae5f=a44_0x58ec76,_0x2a0c15={'NwjcN':function(_0x149787,_0x3bdd5c){return _0x149787(_0x3bdd5c);}};return _0x2a0c15[_0x2fae5f(0xf8)](runIntegrations,_0x2a56eb);})[a44_0x58ec76(0x10e)]('playwright',Constants[a44_0x58ec76(0xc9)]['INFO'],function(_0x2569b0){const _0x39d967=a44_0x58ec76,_0x5a233e={'Rhktk':function(_0x52b1f0,_0x5b4101,_0x394118,_0xc38a96){return _0x52b1f0(_0x5b4101,_0x394118,_0xc38a96);},'FuSTW':function(_0x29d3b6,_0x22afbb){return _0x29d3b6(_0x22afbb);},'pVUVc':'./playwright/command'},_0x53b1d0=process[_0x39d967(0x110)]['slice'](0x2);return _0x5a233e[_0x39d967(0xd4)](captureError,_0x5a233e['FuSTW'](require,_0x5a233e[_0x39d967(0xe1)]),_0x2569b0[_0x39d967(0x110)],_0x53b1d0);})[a44_0x58ec76(0x126)](0x1,a44_0x58ec76(0x104))[a44_0x58ec76(0xff)](null)['argv'];function a44_0x5083(){const _0x23f86e=['slice','./nightwatch/command','105606YJTwrl','146097SFPFxm','NIGHTWATCH','332652RdDLkE','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','Parsing\x20command\x20line\x20arguements','112EhKNFB','./vanilla-js/command','nYukv','push','NqFIO','3584273WmAKLE','node','2EtXRko','exitCode','NwjcN','VIhrR','../helpers/helper','zmUnI','Lsceh','cucumber-js','jAdZq','wrap','globalException','26LSUbwJ','perf_hooks','--no-config','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','help','--no-package','HELP','winstonLogger','VERSION','QhJLE','mark','includes','oZTOP','command','--package','argv','--no-opts','RqeUd','mocha','error','run','TOLsP','sdk:setup-start','ats','format','../helpers/logger','parserConfiguration','mocha/lib/cli/cli.js','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','rXDOc','jest','SDKTestSuccessful','ubYHZ','PCmok','RZpvl','../helpers/performance-tester','.local-not-set.json','demandCommand','--opts','INFO','2090AlXaDI','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','./jest/command','270qBnDSO','yargs','describe','alias','fjPEk','nightwatch','DWVrn','existsSync','IAAPG','dot-notation','path','framework','QexDd','debug','homedir','integrations','codeceptjs','PLAYWRIGHT','util','version','showHelpOnFail','startMonitoring','VANILLA','mocha/lib/cli/run.js','usage','150iRaSRs','handler','join','Rhktk','eDggi','config','1604iWNofB','YhoRy','INTEGRATIONS','CUCUMBER','ZPNqd','gydxL','2283FcYNFY','MOCHA','syjgi','message','pVUVc','./codeceptjs/command','setBrowserStackAutomationDisable','../helpers/utilities','4805436mkIrWS','BGCsc'];a44_0x5083=function(){return _0x23f86e;};return a44_0x5083();}!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x58ec76(0x118)&&console[a44_0x58ec76(0x114)](a44_0x58ec76(0x12a));
2
+ 'use strict';const a44_0x4e54b4=a44_0x350a;(function(_0x519257,_0x5cbb68){const _0x4ece4f=a44_0x350a,_0x3894f1=_0x519257();while(!![]){try{const _0x5c7a22=-parseInt(_0x4ece4f(0xd9))/0x1*(-parseInt(_0x4ece4f(0xa3))/0x2)+-parseInt(_0x4ece4f(0xde))/0x3*(-parseInt(_0x4ece4f(0xb2))/0x4)+-parseInt(_0x4ece4f(0xc7))/0x5*(parseInt(_0x4ece4f(0xae))/0x6)+-parseInt(_0x4ece4f(0x9c))/0x7+-parseInt(_0x4ece4f(0x84))/0x8+parseInt(_0x4ece4f(0xa5))/0x9*(-parseInt(_0x4ece4f(0x9b))/0xa)+parseInt(_0x4ece4f(0x96))/0xb*(parseInt(_0x4ece4f(0x9a))/0xc);if(_0x5c7a22===_0x5cbb68)break;else _0x3894f1['push'](_0x3894f1['shift']());}catch(_0xd9d0c3){_0x3894f1['push'](_0x3894f1['shift']());}}}(a44_0xde92,0x187e6));const fs=require('fs'),path=require(a44_0x4e54b4(0xb1)),util=require(a44_0x4e54b4(0xc4)),{performance}=require(a44_0x4e54b4(0xce)),{requireModule}=require('../helpers/helper'),helper=require(a44_0x4e54b4(0xd6)),utilities=require(a44_0x4e54b4(0x7d)),runIntegrations=require(a44_0x4e54b4(0xa1)),captureError=async(_0x5a93cc,_0xa3b840,_0x474bc6=null)=>{const _0x546967=a44_0x4e54b4,_0x4456a5={'xWMxa':function(_0x18c73f,_0x472fee,_0x3626bb){return _0x18c73f(_0x472fee,_0x3626bb);},'xqPgD':_0x546967(0xe3)};try{await _0x4456a5['xWMxa'](_0x5a93cc,_0xa3b840,_0x474bc6);}catch(_0x192911){process[_0x546967(0xca)]=0x1,logger['error'](util[_0x546967(0xe1)](_0x192911));const _0x135f50={};_0x135f50[_0x546967(0xa4)]=_0x192911[_0x546967(0x86)];const _0x158672=_0x135f50;if(helper[_0x546967(0xe2)](global['config'])&&helper[_0x546967(0xe2)](global['framework']))return;try{utilities['fireFunnelTestEvent'](_0x4456a5[_0x546967(0xab)],_0x158672,global['config'],global['framework']);}catch(_0x420f4c){logger[_0x546967(0x8d)](_0x546967(0x8c)+_0x420f4c);}}};try{const browserstackFolderPath=path[a44_0x4e54b4(0x8b)](helper['homedir'](),a44_0x4e54b4(0xdb));if(fs[a44_0x4e54b4(0xd4)](browserstackFolderPath)){const filePath=path[a44_0x4e54b4(0x8b)](browserstackFolderPath,a44_0x4e54b4(0xcb));fs['existsSync'](filePath)&&fs['unlinkSync'](filePath);}}catch(a44_0x32dd73){logger[a44_0x4e54b4(0x8d)](a44_0x4e54b4(0x99)+a44_0x32dd73['message']);}process[a44_0x4e54b4(0xa9)][a44_0x4e54b4(0xbc)](a44_0x4e54b4(0x9e))&&(!process[a44_0x4e54b4(0xa9)][a44_0x4e54b4(0xbc)]('--opts')&&process[a44_0x4e54b4(0xa9)][a44_0x4e54b4(0xad)]('--no-opts'),!process[a44_0x4e54b4(0xa9)]['includes'](a44_0x4e54b4(0xa8))&&process[a44_0x4e54b4(0xa9)][a44_0x4e54b4(0xad)](a44_0x4e54b4(0xa0)),!process[a44_0x4e54b4(0xa9)][a44_0x4e54b4(0xbc)](a44_0x4e54b4(0xba))&&process[a44_0x4e54b4(0xa9)][a44_0x4e54b4(0xad)]('--no-package'));function a44_0x350a(_0x100af5,_0x115738){const _0xde92b5=a44_0xde92();return a44_0x350a=function(_0x350ac6,_0x5492db){_0x350ac6=_0x350ac6-0x7c;let _0x46c475=_0xde92b5[_0x350ac6];return _0x46c475;},a44_0x350a(_0x100af5,_0x115738);}const yargs=require('yargs'),Constants=require(a44_0x4e54b4(0xd1)),PerformanceTester=require(a44_0x4e54b4(0xdc)),logger=require(a44_0x4e54b4(0xc6))[a44_0x4e54b4(0xbf)];PerformanceTester[a44_0x4e54b4(0xb7)](),performance[a44_0x4e54b4(0x9d)](a44_0x4e54b4(0x91));function a44_0xde92(){const _0x3f8f4a=['../helpers/helper','cRkHY','./vanilla-js/command','39143wKPqdq','usage','.browserstack','../helpers/performance-tester','CUCUMBER','37005nqWEDO','vLolg','mxRZA','format','isUndefined','SDKTestSuccessful','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','../helpers/utilities','JEST','usage:\x20$0\x20<command>\x20[args]','./playwright/command','ats','parserConfiguration','../../ats/src/index','394768tAWarp','node','message','slice','QjzFU','jest','dot-notation','join','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','debug','FyeLd','NCtWm','showHelpOnFail','sdk:setup-start','./jest/command','mocha/lib/cli/cli.js','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','command','3421GmnGcJ','integrations','NIGHTWATCH','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','444EWxZcv','114330qoxkfe','683872JUUXAv','mark','mocha','Qjisp','--no-config','./integrations/command','cucumber-js','10cLwyCr','globalException','36EBZdNw','tfksm','codeceptjs','--config','argv','help','xqPgD','qtSun','push','2022VynAdL','eeeCZ','GufCT','path','52PGUhwK','VANILLA','mocha/lib/cli/run.js','setTestObservabilityDisable','handler','startMonitoring','HST','wrap','--package','./codeceptjs/command','includes','demandCommand','setBrowserStackAutomationDisable','winstonLogger','error','izfCx','alias','jvIJk','util','SdiPi','../helpers/logger','1105GxGaDf','nWTOa','tbzmB','exitCode','.local-not-set.json','INFO','riHnY','perf_hooks','PLAYWRIGHT','TVNik','./utils/constants','HELP','MOCHA','existsSync','djPft'];a44_0xde92=function(){return _0x3f8f4a;};return a44_0xde92();}const a44_0x321923={};a44_0x321923[a44_0x4e54b4(0x8a)]=![];const argv=yargs[a44_0x4e54b4(0x82)](a44_0x321923)[a44_0x4e54b4(0xda)](a44_0x4e54b4(0x7f))[a44_0x4e54b4(0xc2)]('v','version')['describe']('v')[a44_0x4e54b4(0xc2)]('h',a44_0x4e54b4(0xaa))[a44_0x4e54b4(0xaa)](a44_0x4e54b4(0xaa))[a44_0x4e54b4(0x90)](!![],Constants['VERSION'][a44_0x4e54b4(0xd2)])['command'](a44_0x4e54b4(0x89),Constants[a44_0x4e54b4(0x7e)][a44_0x4e54b4(0xcc)],function(_0xd02721){const _0x5968c0=a44_0x4e54b4,_0x10b162={'CjlVj':function(_0xfcbacf,_0x1a2e70,_0x349367,_0x5b1e27){return _0xfcbacf(_0x1a2e70,_0x349367,_0x5b1e27);},'aixzM':function(_0x26a619,_0x3b9497){return _0x26a619(_0x3b9497);},'tbzmB':_0x5968c0(0x92)};helper[_0x5968c0(0xb5)](),helper[_0x5968c0(0xbe)]();const _0x312007=process[_0x5968c0(0xa9)][_0x5968c0(0x87)](0x2);return _0x10b162['CjlVj'](captureError,_0x10b162['aixzM'](require,_0x10b162[_0x5968c0(0xc9)]),_0xd02721[_0x5968c0(0xa9)],_0x312007);})['command']('mocha',Constants[a44_0x4e54b4(0xd3)][a44_0x4e54b4(0xcc)],_0x3076f5=>{const _0x350837=a44_0x4e54b4,_0x38cf66={'vLolg':function(_0x4b75f5,_0x20423e,_0x1b70ec){return _0x4b75f5(_0x20423e,_0x1b70ec);},'nWTOa':function(_0x2d413d,_0x533f26){return _0x2d413d(_0x533f26);},'qLuyh':'./mocha/command','riHnY':'Parsing\x20command\x20line\x20arguements','qtSun':function(_0x5ed266,_0x122c48){return _0x5ed266(_0x122c48);},'djPft':_0x350837(0xb4),'tfksm':function(_0x2c5049,_0x569a67){return _0x2c5049(_0x569a67);},'GufCT':'mocha/lib/cli/commands.js','mxRZA':_0x350837(0x93),'dSKlg':function(_0x39d525){return _0x39d525();}};logger[_0x350837(0x8d)](_0x38cf66[_0x350837(0xcd)]);const _0x2ee902=_0x38cf66[_0x350837(0xac)](requireModule,_0x38cf66[_0x350837(0xd5)]),_0x143f94=_0x38cf66[_0x350837(0xa6)](requireModule,_0x38cf66[_0x350837(0xb0)]);process[_0x350837(0xa9)]=process[_0x350837(0xa9)][_0x350837(0x87)](0x1),delete _0x2ee902['handler'],_0x2ee902[_0x350837(0xb6)]=function(_0x59d265){const _0xc41ae2=_0x350837;return _0x38cf66[_0xc41ae2(0xdf)](captureError,_0x38cf66[_0xc41ae2(0xc8)](require,_0x38cf66['qLuyh']),_0x59d265);},_0x143f94['run']=_0x2ee902;const {main:_0x2b4dd1}=_0x38cf66[_0x350837(0xac)](requireModule,_0x38cf66[_0x350837(0xe0)]);_0x38cf66['dSKlg'](_0x2b4dd1);})[a44_0x4e54b4(0x95)](a44_0x4e54b4(0xa2),Constants[a44_0x4e54b4(0xdd)]['INFO'],function(_0x326533){const _0x4c0b93=a44_0x4e54b4,_0x2f4231={'cRkHY':function(_0x18f137,_0xfe6d8,_0x254851,_0x5f537d){return _0x18f137(_0xfe6d8,_0x254851,_0x5f537d);},'DaEho':function(_0x173d2e,_0x1ed099){return _0x173d2e(_0x1ed099);},'eeeCZ':'./cucumber-js/command'},_0x58284b=process[_0x4c0b93(0xa9)][_0x4c0b93(0x87)](0x2);return _0x2f4231[_0x4c0b93(0xd7)](captureError,_0x2f4231['DaEho'](require,_0x2f4231[_0x4c0b93(0xaf)]),_0x326533['argv'],_0x58284b);})[a44_0x4e54b4(0x95)](a44_0x4e54b4(0x85),Constants[a44_0x4e54b4(0xb3)]['INFO'],function(_0x4c8ada){const _0x17d04f=a44_0x4e54b4,_0x532a28={'oVcPv':function(_0x3c5aab,_0x1a2589,_0x1fef9a,_0x14048d){return _0x3c5aab(_0x1a2589,_0x1fef9a,_0x14048d);},'jvIJk':function(_0x5e9416,_0x406f46){return _0x5e9416(_0x406f46);},'mwIcL':_0x17d04f(0xd8)},_0x6ab98=process['argv'][_0x17d04f(0x87)](0x2);return _0x532a28['oVcPv'](captureError,_0x532a28[_0x17d04f(0xc3)](require,_0x532a28['mwIcL']),_0x4c8ada[_0x17d04f(0xa9)],_0x6ab98);})[a44_0x4e54b4(0x95)]('nightwatch',Constants[a44_0x4e54b4(0x98)][a44_0x4e54b4(0xcc)],function(_0x3ee8e1){const _0x1c0ae2=a44_0x4e54b4,_0x488fbd={'nxXbC':function(_0x367d5f,_0x13f916,_0x6aa62b,_0x3720eb){return _0x367d5f(_0x13f916,_0x6aa62b,_0x3720eb);},'Qjisp':function(_0x4d656f,_0x20aded){return _0x4d656f(_0x20aded);},'TVNik':'./nightwatch/command'},_0x1fe9e2=process[_0x1c0ae2(0xa9)][_0x1c0ae2(0x87)](0x2);return _0x488fbd['nxXbC'](captureError,_0x488fbd[_0x1c0ae2(0x9f)](require,_0x488fbd[_0x1c0ae2(0xd0)]),_0x3ee8e1[_0x1c0ae2(0xa9)],_0x1fe9e2);})[a44_0x4e54b4(0x95)](a44_0x4e54b4(0xa7),Constants['CODECEPTJS'][a44_0x4e54b4(0xcc)],function(_0xd3aa35){const _0x263121=a44_0x4e54b4,_0x2c925f={'NCtWm':function(_0x182505,_0x4b6819,_0x54fc51,_0x33fafe){return _0x182505(_0x4b6819,_0x54fc51,_0x33fafe);},'MPTtv':function(_0x2c043c,_0x5df5a2){return _0x2c043c(_0x5df5a2);},'rWhAB':_0x263121(0xbb)},_0x105736=process[_0x263121(0xa9)][_0x263121(0x87)](0x2);return _0x2c925f[_0x263121(0x8f)](captureError,_0x2c925f['MPTtv'](require,_0x2c925f['rWhAB']),_0xd3aa35[_0x263121(0xa9)],_0x105736);})[a44_0x4e54b4(0x95)](a44_0x4e54b4(0x81),Constants[a44_0x4e54b4(0xb8)][a44_0x4e54b4(0xcc)],function(_0x389928){const _0x4bcb3a=a44_0x4e54b4,_0x3cabcd={'GuHsU':function(_0x4e2d1c,_0x5bf7e1,_0x26cc92){return _0x4e2d1c(_0x5bf7e1,_0x26cc92);},'SJCvz':function(_0x48a4bc,_0x4d9ab6){return _0x48a4bc(_0x4d9ab6);},'QjzFU':_0x4bcb3a(0x83)},_0x35a336=process[_0x4bcb3a(0xa9)][_0x4bcb3a(0x87)](0x2);return _0x3cabcd['GuHsU'](captureError,_0x3cabcd['SJCvz'](require,_0x3cabcd[_0x4bcb3a(0x88)]),_0x389928);})[a44_0x4e54b4(0x95)](a44_0x4e54b4(0x97),Constants['INTEGRATIONS'][a44_0x4e54b4(0xcc)],function(_0x2ac059){const _0x4d626f=a44_0x4e54b4,_0xf93df6={'FyeLd':function(_0x1364b9,_0xd48da2){return _0x1364b9(_0xd48da2);}};return _0xf93df6[_0x4d626f(0x8e)](runIntegrations,_0x2ac059);})[a44_0x4e54b4(0x95)]('playwright',Constants[a44_0x4e54b4(0xcf)][a44_0x4e54b4(0xcc)],function(_0x591acd){const _0x5ac87b=a44_0x4e54b4,_0x3be3b7={'izfCx':function(_0x22f2ec,_0x70f446,_0x3997c2,_0x4bcbf1){return _0x22f2ec(_0x70f446,_0x3997c2,_0x4bcbf1);},'SdiPi':function(_0x418eac,_0x5f5031){return _0x418eac(_0x5f5031);},'WHpgy':_0x5ac87b(0x80)},_0x2589de=process[_0x5ac87b(0xa9)][_0x5ac87b(0x87)](0x2);return _0x3be3b7[_0x5ac87b(0xc1)](captureError,_0x3be3b7[_0x5ac87b(0xc5)](require,_0x3be3b7['WHpgy']),_0x591acd[_0x5ac87b(0xa9)],_0x2589de);})[a44_0x4e54b4(0xbd)](0x1,a44_0x4e54b4(0x7c))[a44_0x4e54b4(0xb9)](null)[a44_0x4e54b4(0xa9)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x4e54b4(0x81)&&console[a44_0x4e54b4(0xc0)](a44_0x4e54b4(0x94));
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a45_0x41a002=a45_0x20b4;(function(_0xe9e862,_0x581cb1){const _0x352c8f=a45_0x20b4,_0x1b5c9b=_0xe9e862();while(!![]){try{const _0x3234e8=-parseInt(_0x352c8f(0xfa))/0x1+parseInt(_0x352c8f(0xf9))/0x2+-parseInt(_0x352c8f(0x129))/0x3+-parseInt(_0x352c8f(0xf4))/0x4+parseInt(_0x352c8f(0x12a))/0x5*(parseInt(_0x352c8f(0x114))/0x6)+parseInt(_0x352c8f(0x10b))/0x7+parseInt(_0x352c8f(0xf6))/0x8*(parseInt(_0x352c8f(0xff))/0x9);if(_0x3234e8===_0x581cb1)break;else _0x1b5c9b['push'](_0x1b5c9b['shift']());}catch(_0x4a7a03){_0x1b5c9b['push'](_0x1b5c9b['shift']());}}}(a45_0x166e,0x95301));const fs=require('fs'),helper=require(a45_0x41a002(0x127)),utilities=require(a45_0x41a002(0xf3)),yaml=require(a45_0x41a002(0x10d)),yargs=require('yargs'),logger=require('../helpers/logger')[a45_0x41a002(0xec)],configFileTemplate=__dirname+a45_0x41a002(0xf2),configFileTemplatePW=__dirname+a45_0x41a002(0x110),configFile=process['cwd']()+a45_0x41a002(0x10e),packageFile=process[a45_0x41a002(0x118)]()+'/package.json',frameworks=[a45_0x41a002(0x117),'jest',a45_0x41a002(0x111),'node',a45_0x41a002(0xf8),a45_0x41a002(0x11a),a45_0x41a002(0xfd)];let config;logger[a45_0x41a002(0x10c)](a45_0x41a002(0x10a)),createConfigurationFile(yargs[a45_0x41a002(0x100)][a45_0x41a002(0x12d)],yargs[a45_0x41a002(0x100)][a45_0x41a002(0x123)],yargs['argv'][a45_0x41a002(0xfd)]);try{sdkSetup();}catch(a45_0x14a1fe){logger['debug']('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a45_0x14a1fe);}addScriptInPackageJson();function createConfigurationFile(_0x7fdb04,_0x2ecb61,_0x2d9290=![]){const _0x25e1cc=a45_0x41a002,_0x5bbfd8={};_0x5bbfd8[_0x25e1cc(0x11c)]='utf8',_0x5bbfd8[_0x25e1cc(0xf1)]=_0x25e1cc(0x10f),_0x5bbfd8[_0x25e1cc(0x109)]=_0x25e1cc(0x108);const _0x3ecfb3=_0x5bbfd8;try{let _0x2543a2=fs[_0x25e1cc(0xed)](_0x2d9290?configFileTemplatePW:configFileTemplate,_0x3ecfb3[_0x25e1cc(0x11c)]);_0x7fdb04&&(_0x2543a2=_0x2543a2['replace'](_0x3ecfb3[_0x25e1cc(0xf1)],_0x7fdb04)),_0x2ecb61&&(_0x2543a2=_0x2543a2[_0x25e1cc(0x12b)](_0x3ecfb3['qwbHk'],_0x2ecb61)),config=yaml['load'](_0x2543a2),fs[_0x25e1cc(0x120)](configFile,_0x2543a2,_0xa9294c=>{const _0x19b45c=_0x25e1cc;_0xa9294c&&logger[_0x19b45c(0xeb)](_0xa9294c);});}catch(_0x5554b4){logger['error'](_0x5554b4);}}function addPostInstallScript(_0x133d40,_0x5c01a0){const _0x68b143=a45_0x41a002,_0x3b152a={};_0x3b152a[_0x68b143(0xfc)]='postinstall',_0x3b152a[_0x68b143(0xfe)]='npm\x20update\x20browserstack-node-sdk',_0x3b152a[_0x68b143(0xfb)]=_0x68b143(0xee);const _0x2e6755=_0x3b152a;let _0x339ebc=_0x133d40[_0x2e6755['Scyky']];if(_0x339ebc&&_0x339ebc[_0x68b143(0x101)](_0x2e6755[_0x68b143(0xfe)]))return;!_0x339ebc?_0x339ebc=_0x2e6755[_0x68b143(0xfe)]:_0x339ebc+=_0x2e6755[_0x68b143(0xfb)],_0x5c01a0[_0x68b143(0x12e)]([_0x2e6755['Scyky'],_0x339ebc]);}function addScriptInPackageJson(){const _0x7da3c5=a45_0x41a002,_0x1eedab={'wmGMj':_0x7da3c5(0x11e),'HGcET':function(_0x1c7b96,_0x390457){return _0x1c7b96<_0x390457;},'WkdIH':function(_0x126f93,_0x220bfd,_0x292db3){return _0x126f93(_0x220bfd,_0x292db3);},'vfSrP':function(_0x1d00ce,_0x260420,_0x52784a){return _0x1d00ce(_0x260420,_0x52784a);},'nJzYx':function(_0x4edf3d,_0x13e25c,_0x3aadaf){return _0x4edf3d(_0x13e25c,_0x3aadaf);},'TaKRr':function(_0x1142d6,_0xe45d04){return _0x1142d6!==_0xe45d04;},'wMfJt':_0x7da3c5(0x105)},_0x35b422=JSON[_0x7da3c5(0x122)](fs[_0x7da3c5(0xed)](packageFile,_0x1eedab['wmGMj'])),_0x9f816b=[];for(let _0x5871c8=0x0;_0x1eedab[_0x7da3c5(0x125)](_0x5871c8,frameworks[_0x7da3c5(0x104)]);_0x5871c8+=0x1){const _0x44c03e=_0x1eedab['WkdIH'](findScriptsWithFramework,_0x35b422[_0x7da3c5(0xe9)],frameworks[_0x5871c8]);for(let _0x2ce486=0x0;_0x1eedab[_0x7da3c5(0x125)](_0x2ce486,_0x44c03e[_0x7da3c5(0x104)]);_0x2ce486+=0x1){_0x9f816b[_0x7da3c5(0x12e)](_0x1eedab[_0x7da3c5(0xf5)](getUpdatedCommand,_0x35b422['scripts'],_0x44c03e[_0x2ce486]));}_0x1eedab[_0x7da3c5(0xef)](addPostInstallScript,_0x35b422['scripts'],_0x9f816b);}const _0x3cbecf={..._0x35b422[_0x7da3c5(0xe9)]},_0x1df384=_0x3cbecf;for(let _0x4c2fbe=0x0;_0x1eedab[_0x7da3c5(0x125)](_0x4c2fbe,_0x9f816b['length']);_0x4c2fbe+=0x1){_0x1df384[_0x9f816b[_0x4c2fbe][0x0]]=_0x9f816b[_0x4c2fbe][0x1];}_0x1eedab[_0x7da3c5(0x116)](JSON[_0x7da3c5(0x11d)](_0x35b422[_0x7da3c5(0xe9)]),JSON['stringify'](_0x1df384))&&(logger['info'](_0x1eedab[_0x7da3c5(0x102)]),_0x35b422[_0x7da3c5(0xe9)]=_0x1df384,fs[_0x7da3c5(0x120)](packageFile,JSON[_0x7da3c5(0x11d)](_0x35b422,null,0x2),_0x4f8608=>{const _0x5570cf=_0x7da3c5;_0x4f8608&&logger[_0x5570cf(0xeb)](_0x4f8608);}));}function a45_0x166e(){const _0x29fee0=['wMfJt','eaSkT','length','Adding\x20new\x20script(s)\x20in\x20package.json...','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','lrzWa','YOUR_ACCESS_KEY','qwbHk','Creating\x20configuration\x20file...','5015262MdYpkU','info','js-yaml','/browserstack.yml','YOUR_USERNAME','/../../browserstack.pw.yml.sample','cucumber-js','sUUmt','source','119514QgdHoj','fireFunnelTestEvent','TaKRr','mocha','cwd','SDKSetup','codeceptjs','debug','CUAFG','stringify','utf8','Setup\x20completed','writeFileSync','split','parse','key','indexOf','HGcET','browserstack-node-sdk\x20','../helpers/helper','join','3355428dtlsxX','280EUcRIl','replace','Vanov','username','push','VehUo','qSuVJ','scripts','splice','error','winstonLogger','readFileSync','\x20&&\x20npm\x20update\x20browserstack-node-sdk','nJzYx','iRzhN','cRqrE','/../../browserstack.yml.sample','../helpers/utilities','1555660VYwDWR','vfSrP','399032rQEFtx','entries','nightwatch','731292hRWeTn','178870huTuHG','xwQhQ','Scyky','playwright','TprZJ','18QzpfeO','argv','includes'];a45_0x166e=function(){return _0x29fee0;};return a45_0x166e();};function findScriptsWithFramework(_0x29040e,_0x1ad716){const _0x45fd03=a45_0x41a002,_0x22b993={};_0x22b993[_0x45fd03(0xf0)]=function(_0x506bf9,_0xb77b4e){return _0x506bf9<_0xb77b4e;},_0x22b993[_0x45fd03(0x130)]='browserstack-node-sdk';const _0xa3f375=_0x22b993,_0x40e89f=[],_0xf1dd89=Object[_0x45fd03(0xf7)](_0x29040e);for(let _0x2966cd=0x0;_0xa3f375[_0x45fd03(0xf0)](_0x2966cd,_0xf1dd89[_0x45fd03(0x104)]);_0x2966cd+=0x1){_0xf1dd89[_0x2966cd][0x1]['includes'](_0x1ad716)&&!_0xf1dd89[_0x2966cd][0x1][_0x45fd03(0x101)](_0xa3f375[_0x45fd03(0x130)])&&_0x40e89f[_0x45fd03(0x12e)](_0xf1dd89[_0x2966cd][0x0]);}return _0x40e89f;}function a45_0x20b4(_0xd8a4f7,_0x5c7c1c){const _0x166e75=a45_0x166e();return a45_0x20b4=function(_0x20b43a,_0x5ce20a){_0x20b43a=_0x20b43a-0xe9;let _0xacf9e=_0x166e75[_0x20b43a];return _0xacf9e;},a45_0x20b4(_0xd8a4f7,_0x5c7c1c);}function getUpdatedCommand(_0x46416a,_0x8c3609){const _0x413cec=a45_0x41a002,_0x5c861d={};_0x5c861d[_0x413cec(0x12f)]=function(_0x440319,_0x59512d){return _0x440319!==_0x59512d;},_0x5c861d['lrzWa']='browserstack-node-sdk',_0x5c861d['sUUmt']=function(_0x30bb80,_0x979e4e){return _0x30bb80===_0x979e4e;};const _0x522fed=_0x5c861d,_0x12add0=_0x8c3609+'-browserstack',_0x806d97=_0x46416a[_0x8c3609],_0x38a2c9=_0x806d97[_0x413cec(0x121)]('\x20');for(const _0x3e0ca0 of frameworks){if(_0x522fed[_0x413cec(0x12f)](_0x38a2c9[_0x413cec(0x124)](_0x3e0ca0),-0x1)){_0x38a2c9[_0x413cec(0xea)](_0x38a2c9[_0x413cec(0x124)](_0x3e0ca0),0x0,_0x522fed[_0x413cec(0x107)]);break;}}let _0x388831=_0x38a2c9[_0x413cec(0x128)]('\x20');return _0x522fed[_0x413cec(0x112)](_0x388831,_0x806d97)&&(_0x388831=_0x413cec(0x126)+_0x806d97),[_0x12add0,_0x388831];}function sdkSetup(){const _0x395b28=a45_0x41a002,_0x44f395={};_0x44f395['eaSkT']='node-setup',_0x44f395[_0x395b28(0x12c)]=_0x395b28(0x119);const _0x29d04b=_0x44f395;if(helper['isUndefined'](config))return;config[_0x395b28(0x113)]=_0x29d04b[_0x395b28(0x103)];try{utilities[_0x395b28(0x115)](_0x29d04b[_0x395b28(0x12c)],{},config,'');}catch(_0x3dc680){logger[_0x395b28(0x11b)](_0x395b28(0x106)+_0x3dc680);}}logger['info'](a45_0x41a002(0x11f));
3
+ const a45_0x531a50=a45_0x5d31;(function(_0x3705a4,_0x267993){const _0x43bc52=a45_0x5d31,_0x5b6672=_0x3705a4();while(!![]){try{const _0x781570=-parseInt(_0x43bc52(0x18f))/0x1+parseInt(_0x43bc52(0x1b7))/0x2*(parseInt(_0x43bc52(0x1c1))/0x3)+parseInt(_0x43bc52(0x1a0))/0x4*(-parseInt(_0x43bc52(0x1c0))/0x5)+-parseInt(_0x43bc52(0x1aa))/0x6+parseInt(_0x43bc52(0x1a2))/0x7+parseInt(_0x43bc52(0x18b))/0x8*(-parseInt(_0x43bc52(0x195))/0x9)+-parseInt(_0x43bc52(0x1af))/0xa*(-parseInt(_0x43bc52(0x18d))/0xb);if(_0x781570===_0x267993)break;else _0x5b6672['push'](_0x5b6672['shift']());}catch(_0x5d999d){_0x5b6672['push'](_0x5b6672['shift']());}}}(a45_0x529a,0x86123));const fs=require('fs'),helper=require(a45_0x531a50(0x1c4)),utilities=require(a45_0x531a50(0x18e)),yaml=require('js-yaml'),yargs=require(a45_0x531a50(0x1c9)),logger=require(a45_0x531a50(0x1c5))[a45_0x531a50(0x192)],configFileTemplate=__dirname+a45_0x531a50(0x18a),configFileTemplatePW=__dirname+a45_0x531a50(0x1b8),configFile=process[a45_0x531a50(0x1d5)]()+a45_0x531a50(0x1b0),packageFile=process[a45_0x531a50(0x1d5)]()+a45_0x531a50(0x1d1),frameworks=[a45_0x531a50(0x1c6),a45_0x531a50(0x1a7),a45_0x531a50(0x1bc),'node',a45_0x531a50(0x196),'codeceptjs',a45_0x531a50(0x1b4)];let config;logger[a45_0x531a50(0x190)]('Creating\x20configuration\x20file...'),createConfigurationFile(yargs[a45_0x531a50(0x1b5)]['username'],yargs[a45_0x531a50(0x1b5)][a45_0x531a50(0x1ae)],yargs[a45_0x531a50(0x1b5)][a45_0x531a50(0x1b4)]);try{sdkSetup();}catch(a45_0x4078f3){logger[a45_0x531a50(0x1a8)](a45_0x531a50(0x1b2)+a45_0x4078f3);}addScriptInPackageJson();function a45_0x5d31(_0x1c3172,_0x29ff45){const _0x529af4=a45_0x529a();return a45_0x5d31=function(_0x5d3101,_0x21f625){_0x5d3101=_0x5d3101-0x18a;let _0x241de8=_0x529af4[_0x5d3101];return _0x241de8;},a45_0x5d31(_0x1c3172,_0x29ff45);}function createConfigurationFile(_0x489988,_0x1cb2f9,_0x2c3694=![]){const _0x164a82=a45_0x531a50,_0xa04f4c={};_0xa04f4c[_0x164a82(0x191)]=_0x164a82(0x1cc),_0xa04f4c['RFLdn']=_0x164a82(0x1ac),_0xa04f4c['sYHFC']='YOUR_ACCESS_KEY';const _0x3597e8=_0xa04f4c;try{let _0x3f5cd7=fs[_0x164a82(0x1cd)](_0x2c3694?configFileTemplatePW:configFileTemplate,_0x3597e8[_0x164a82(0x191)]);_0x489988&&(_0x3f5cd7=_0x3f5cd7[_0x164a82(0x19c)](_0x3597e8[_0x164a82(0x1d2)],_0x489988)),_0x1cb2f9&&(_0x3f5cd7=_0x3f5cd7[_0x164a82(0x19c)](_0x3597e8[_0x164a82(0x1d7)],_0x1cb2f9)),config=yaml['load'](_0x3f5cd7),fs[_0x164a82(0x1ca)](configFile,_0x3f5cd7,_0x448e4a=>{const _0x5db27e=_0x164a82;_0x448e4a&&logger[_0x5db27e(0x197)](_0x448e4a);});}catch(_0x1e273d){logger[_0x164a82(0x197)](_0x1e273d);}}function addPostInstallScript(_0x5257cb,_0x44b88a){const _0x11c8f6=a45_0x531a50,_0x38cbc2={};_0x38cbc2['wTDpb']=_0x11c8f6(0x19e),_0x38cbc2[_0x11c8f6(0x193)]=_0x11c8f6(0x1a6),_0x38cbc2['vIHlS']=_0x11c8f6(0x1d3);const _0x2b6e32=_0x38cbc2;let _0x55ec71=_0x5257cb[_0x2b6e32[_0x11c8f6(0x1cf)]];if(_0x55ec71&&_0x55ec71[_0x11c8f6(0x1be)](_0x2b6e32['Xknxx']))return;!_0x55ec71?_0x55ec71=_0x2b6e32[_0x11c8f6(0x193)]:_0x55ec71+=_0x2b6e32[_0x11c8f6(0x1c8)],_0x44b88a[_0x11c8f6(0x198)]([_0x2b6e32[_0x11c8f6(0x1cf)],_0x55ec71]);}function addScriptInPackageJson(){const _0x33997=a45_0x531a50,_0x5d73ef={'vptMm':_0x33997(0x1cc),'bZcBJ':function(_0x5cf728,_0x435b5a){return _0x5cf728<_0x435b5a;},'lobXo':function(_0x251b45,_0x4c3b99,_0x5c8770){return _0x251b45(_0x4c3b99,_0x5c8770);},'dKnSN':function(_0xc871fb,_0x5745b9){return _0xc871fb<_0x5745b9;},'Tlzsu':function(_0x5f4435,_0x24ec42,_0x3c69e5){return _0x5f4435(_0x24ec42,_0x3c69e5);},'vxsAf':function(_0x168abc,_0x1f6df6){return _0x168abc<_0x1f6df6;},'tymFE':function(_0x2096e6,_0x570a9a){return _0x2096e6!==_0x570a9a;},'GuXvr':_0x33997(0x1a3)},_0x417033=JSON[_0x33997(0x1d6)](fs[_0x33997(0x1cd)](packageFile,_0x5d73ef[_0x33997(0x1bf)])),_0x502a1a=[];for(let _0xadba67=0x0;_0x5d73ef[_0x33997(0x1ba)](_0xadba67,frameworks[_0x33997(0x1b9)]);_0xadba67+=0x1){const _0x51f866=_0x5d73ef[_0x33997(0x1d8)](findScriptsWithFramework,_0x417033[_0x33997(0x19f)],frameworks[_0xadba67]);for(let _0x2f7fbf=0x0;_0x5d73ef[_0x33997(0x1cb)](_0x2f7fbf,_0x51f866[_0x33997(0x1b9)]);_0x2f7fbf+=0x1){_0x502a1a[_0x33997(0x198)](_0x5d73ef[_0x33997(0x1a1)](getUpdatedCommand,_0x417033['scripts'],_0x51f866[_0x2f7fbf]));}_0x5d73ef[_0x33997(0x1d8)](addPostInstallScript,_0x417033['scripts'],_0x502a1a);}const _0x5791e6={..._0x417033[_0x33997(0x19f)]},_0x2f297f=_0x5791e6;for(let _0x23eb79=0x0;_0x5d73ef[_0x33997(0x18c)](_0x23eb79,_0x502a1a['length']);_0x23eb79+=0x1){_0x2f297f[_0x502a1a[_0x23eb79][0x0]]=_0x502a1a[_0x23eb79][0x1];}_0x5d73ef[_0x33997(0x1c7)](JSON[_0x33997(0x1c3)](_0x417033[_0x33997(0x19f)]),JSON[_0x33997(0x1c3)](_0x2f297f))&&(logger[_0x33997(0x190)](_0x5d73ef[_0x33997(0x1a4)]),_0x417033[_0x33997(0x19f)]=_0x2f297f,fs[_0x33997(0x1ca)](packageFile,JSON[_0x33997(0x1c3)](_0x417033,null,0x2),_0x6931ae=>{const _0xc82a05=_0x33997;_0x6931ae&&logger[_0xc82a05(0x197)](_0x6931ae);}));};function findScriptsWithFramework(_0x17d9fd,_0x464928){const _0x5b5f0f=a45_0x531a50,_0x15aeca={};_0x15aeca[_0x5b5f0f(0x1b3)]=function(_0x1202a7,_0x1069f3){return _0x1202a7<_0x1069f3;},_0x15aeca['ENOyO']=_0x5b5f0f(0x1d0);const _0x1d82bc=_0x15aeca,_0x39e0be=[],_0x3fb27b=Object[_0x5b5f0f(0x1c2)](_0x17d9fd);for(let _0x3af39a=0x0;_0x1d82bc[_0x5b5f0f(0x1b3)](_0x3af39a,_0x3fb27b[_0x5b5f0f(0x1b9)]);_0x3af39a+=0x1){_0x3fb27b[_0x3af39a][0x1]['includes'](_0x464928)&&!_0x3fb27b[_0x3af39a][0x1][_0x5b5f0f(0x1be)](_0x1d82bc[_0x5b5f0f(0x194)])&&_0x39e0be[_0x5b5f0f(0x198)](_0x3fb27b[_0x3af39a][0x0]);}return _0x39e0be;}function getUpdatedCommand(_0x46e029,_0x1b68ba){const _0x238dfc=a45_0x531a50,_0x5a1642={};_0x5a1642['lvZco']=function(_0x532d8f,_0x3c5b3c){return _0x532d8f!==_0x3c5b3c;},_0x5a1642[_0x238dfc(0x1b1)]=_0x238dfc(0x1d0),_0x5a1642[_0x238dfc(0x1d4)]=function(_0x23c6ba,_0x546515){return _0x23c6ba===_0x546515;};const _0x52b7c7=_0x5a1642,_0x6923c5=_0x1b68ba+_0x238dfc(0x1ad),_0x32c0bf=_0x46e029[_0x1b68ba],_0x54014d=_0x32c0bf[_0x238dfc(0x19d)]('\x20');for(const _0x2fc70c of frameworks){if(_0x52b7c7['lvZco'](_0x54014d['indexOf'](_0x2fc70c),-0x1)){_0x54014d[_0x238dfc(0x1ab)](_0x54014d['indexOf'](_0x2fc70c),0x0,_0x52b7c7[_0x238dfc(0x1b1)]);break;}}let _0x304f5d=_0x54014d[_0x238dfc(0x1bd)]('\x20');return _0x52b7c7['sugWg'](_0x304f5d,_0x32c0bf)&&(_0x304f5d=_0x238dfc(0x19b)+_0x32c0bf),[_0x6923c5,_0x304f5d];}function sdkSetup(){const _0x58b9fd=a45_0x531a50,_0x4a8f80={};_0x4a8f80[_0x58b9fd(0x199)]=_0x58b9fd(0x1bb),_0x4a8f80[_0x58b9fd(0x1a9)]=_0x58b9fd(0x19a);const _0xb2bfea=_0x4a8f80;if(helper[_0x58b9fd(0x1ce)](config))return;config[_0x58b9fd(0x1a5)]=_0xb2bfea[_0x58b9fd(0x199)];try{utilities[_0x58b9fd(0x1b6)](_0xb2bfea[_0x58b9fd(0x1a9)],{},config,'');}catch(_0x15d6de){logger[_0x58b9fd(0x1a8)](_0x58b9fd(0x1b2)+_0x15d6de);}}logger[a45_0x531a50(0x190)]('Setup\x20completed');function a45_0x529a(){const _0x387288=['source','npm\x20update\x20browserstack-node-sdk','jest','debug','TVtNM','742098ISxwSg','splice','YOUR_USERNAME','-browserstack','key','13237430JeFUVC','/browserstack.yml','icNKG','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','HAktf','playwright','argv','fireFunnelTestEvent','10TTSkaY','/../../browserstack.pw.yml.sample','length','bZcBJ','node-setup','cucumber-js','join','includes','vptMm','2265470UgPaZe','120174VfvUcH','entries','stringify','../helpers/helper','../helpers/logger','mocha','tymFE','vIHlS','yargs','writeFileSync','dKnSN','utf8','readFileSync','isUndefined','wTDpb','browserstack-node-sdk','/package.json','RFLdn','\x20&&\x20npm\x20update\x20browserstack-node-sdk','sugWg','cwd','parse','sYHFC','lobXo','/../../browserstack.yml.sample','16siBOwx','vxsAf','22jqPnTi','../helpers/utilities','704462qZWQvO','info','rmkhv','winstonLogger','Xknxx','ENOyO','4316904DhLUoh','nightwatch','error','push','gKEuj','SDKSetup','browserstack-node-sdk\x20','replace','split','postinstall','scripts','8QSyMhl','Tlzsu','2765168NANTKp','Adding\x20new\x20script(s)\x20in\x20package.json...','GuXvr'];a45_0x529a=function(){return _0x387288;};return a45_0x529a();}
@@ -1 +1 @@
1
- const a46_0x343c13=a46_0x23de;(function(_0x162d02,_0x2f7ad4){const _0x52f7c6=a46_0x23de,_0x4cd360=_0x162d02();while(!![]){try{const _0x2a1b49=-parseInt(_0x52f7c6(0x1bc))/0x1+-parseInt(_0x52f7c6(0x190))/0x2*(-parseInt(_0x52f7c6(0x18f))/0x3)+parseInt(_0x52f7c6(0x18c))/0x4+-parseInt(_0x52f7c6(0x178))/0x5+parseInt(_0x52f7c6(0x1af))/0x6+-parseInt(_0x52f7c6(0x19c))/0x7+-parseInt(_0x52f7c6(0x1bf))/0x8*(-parseInt(_0x52f7c6(0x188))/0x9);if(_0x2a1b49===_0x2f7ad4)break;else _0x4cd360['push'](_0x4cd360['shift']());}catch(_0x5455b4){_0x4cd360['push'](_0x4cd360['shift']());}}}(a46_0x48b9,0x4f362));function a46_0x48b9(){const _0x2a51e1=['xRUQX','error','wrYer','VOiTp','all','rloyH','parallelCucumberRun','Workers\x20failed\x20to\x20exit\x20gracefully','AWXIS','GnoGo','parallelTestRun','XafmX','worker','resolve','../../helpers/test-observability/constants','config','test-file-failure','2597058QxKYld','platformCaps','p-limit','stderr','hdOBw','qMnbv','test-file-success','platform-run-failure','test-file-start','gHBXB','emittery','failureCount','cucumberWorker','478556zaCLJd','vanillaWorker','launchBuild','16xGtOXL','NxDDT','Running\x20','snvSQ','push','mOJFu','wjoFK','json','_workerPool','stdout','MOCHA','NJIAO','fAEZd','platform-run-start','lvBbT','file','end','map','getStdout','../../helpers/logger','platform','tVlRa','parallelVanillaRun','jest-worker','../../helpers/testhub/testhubHandler','1112860wRUYkL','exitCode','../../helpers/test-observability/utils','xZyPq','iBoOU','oBRFa','EGZcv','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','XSQRM','UYNLc','./testWorker.js','UuDXw','gCjcE','pipe','log','uXolm','818289IzdVia','configuration','send','vgWZx','1743820ZHpqhW','waitForExit','azBLh','377490HoleqE','8fbuRIy','gTGAk','then','getWorkers','mBteq','FpVuy','Worker','getStderr','length','MLwAV','results','platforms','3698674KVLNiF','emit'];a46_0x48b9=function(){return _0x2a51e1;};return a46_0x48b9();}function a46_0x23de(_0x212873,_0xd12a5c){const _0x48b98e=a46_0x48b9();return a46_0x23de=function(_0x23de0f,_0x1e5735){_0x23de0f=_0x23de0f-0x161;let _0x4037f3=_0x48b98e[_0x23de0f];return _0x4037f3;},a46_0x23de(_0x212873,_0xd12a5c);}const Worker=require(a46_0x343c13(0x176))[a46_0x343c13(0x196)],Emittery=require(a46_0x343c13(0x1b9)),pLimit=require(a46_0x343c13(0x1b1)),util=require('util'),logger=require(a46_0x343c13(0x172))['winstonLogger'],{debug}=require(a46_0x343c13(0x17a)),TestHubHandler=require(a46_0x343c13(0x177)),{FRAMEWORKS}=require(a46_0x343c13(0x1ac));exports[a46_0x343c13(0x1a8)]=(_0xedbad8,_0x4131dc,_0x2b05c9)=>new Promise(async _0x44b200=>{const _0x55bf30=a46_0x343c13,_0x578fec={'XSQRM':_0x55bf30(0x1ba),'gCjcE':function(_0x24b5be,_0x4b0a23){return _0x24b5be+_0x4b0a23;},'mOJFu':_0x55bf30(0x19a),'xZyPq':_0x55bf30(0x1a5),'VOiTp':function(_0x3ac981,_0x49609e){return _0x3ac981(_0x49609e);},'hjlaA':_0x55bf30(0x1b7),'xRUQX':_0x55bf30(0x182),'xldXR':_0x55bf30(0x1aa),'uXolm':_0x55bf30(0x166),'lvBbT':_0x55bf30(0x185),'XafmX':function(_0x5b779b,_0x8a95d){return _0x5b779b*_0x8a95d;},'mBteq':_0x55bf30(0x1b5),'WhPuI':'test-file-failure','iBoOU':function(_0x4db247,_0x561100){return _0x4db247(_0x561100);},'qMnbv':function(_0x35062d,_0x54e5bf){return _0x35062d*_0x54e5bf;}},_0x40ea44=_0x2b05c9[_0x55bf30(0x1ad)],_0x3f37e5={},_0x5bbdfd=await TestHubHandler[_0x55bf30(0x1be)](FRAMEWORKS[_0x55bf30(0x169)],_0x2b05c9),_0x354469=new Worker(require[_0x55bf30(0x1ab)](_0x578fec[_0x55bf30(0x19e)]),{'exposedMethods':[_0x578fec['xldXR']],'forkOptions':{'serialization':_0x578fec[_0x55bf30(0x187)],'stdio':_0x578fec[_0x55bf30(0x16d)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x578fec[_0x55bf30(0x1a9)](_0x4131dc,0x1),'enableWorkerThreads':!![]}),_0x5a0640=new Emittery();_0x5a0640['on'](_0x578fec[_0x55bf30(0x194)],_0x1a6232=>{const _0x25ce4d=_0x55bf30;_0x3f37e5[_0x1a6232[0x0]]?(_0x3f37e5[_0x1a6232[0x0]][_0x578fec[_0x25ce4d(0x180)]]=_0x578fec[_0x25ce4d(0x184)](_0x3f37e5[_0x1a6232[0x0]][_0x578fec[_0x25ce4d(0x180)]],_0x1a6232[0x1][_0x578fec[_0x25ce4d(0x180)]]),_0x3f37e5[_0x1a6232[0x0]][_0x578fec[_0x25ce4d(0x164)]]=[..._0x3f37e5[_0x1a6232[0x0]][_0x578fec[_0x25ce4d(0x164)]],..._0x1a6232[0x1][_0x578fec[_0x25ce4d(0x164)]]]):_0x3f37e5[_0x1a6232[0x0]]={'failureCount':_0x1a6232[0x1][_0x578fec['XSQRM']],'results':[..._0x1a6232[0x1][_0x578fec['mOJFu']]]};}),_0x5a0640['on'](_0x578fec['WhPuI'],_0x2dd3f6=>console[_0x55bf30(0x186)](_0x2dd3f6[0x1]));_0x354469[_0x55bf30(0x171)]()&&_0x354469[_0x55bf30(0x171)]()[_0x55bf30(0x185)](process[_0x55bf30(0x168)]);_0x354469[_0x55bf30(0x197)]()&&_0x354469[_0x55bf30(0x197)]()[_0x55bf30(0x185)](process[_0x55bf30(0x1b2)]);const _0x2de376=async()=>{const _0x597414=_0x55bf30,{forceExited:_0x254a85}=await _0x354469[_0x597414(0x16f)]();_0x254a85&&console[_0x597414(0x19f)](_0x578fec[_0x597414(0x17b)]);try{await TestHubHandler['stop']();}catch(_0x295122){_0x578fec[_0x597414(0x1a1)](debug,_0x597414(0x17f)+_0x295122);}_0x578fec[_0x597414(0x1a1)](_0x44b200,_0x3f37e5);},_0x1635b3=_0x578fec[_0x55bf30(0x17c)](pLimit,_0x578fec[_0x55bf30(0x1b4)](_0x4131dc,0x1)),_0x506416=_0x263f8c=>_0x1635b3(async()=>{const _0x298226=_0x55bf30;return await _0x5a0640[_0x298226(0x19d)](_0x578fec['hjlaA'],_0x263f8c),_0x354469[_0x298226(0x1aa)](_0x263f8c,_0x40ea44);});Promise[_0x55bf30(0x1a2)](_0xedbad8[_0x55bf30(0x170)](_0x1d19ac=>_0x506416(_0x1d19ac)['then'](_0x39295f=>_0x5a0640[_0x55bf30(0x19d)](_0x55bf30(0x1b5),[_0x1d19ac[_0x55bf30(0x189)][_0x55bf30(0x173)],_0x39295f]),_0x582c76=>_0x5a0640['emit'](_0x55bf30(0x1ae),[_0x1d19ac,_0x582c76]))))[_0x55bf30(0x192)](_0x2de376,_0x2de376);}),exports[a46_0x343c13(0x1a4)]=(_0x3f5c21,_0x41e5bb,_0x11860d,_0xc77d4d,_0x1700ed)=>{const _0x5af1f1=a46_0x343c13,_0x4c3281={'azBLh':_0x5af1f1(0x16c),'fAEZd':'Workers\x20failed\x20to\x20exit\x20gracefully','NxDDT':function(_0x2e64d2,_0x40e7b4){return _0x2e64d2(_0x40e7b4);},'wrYer':_0x5af1f1(0x182),'snvSQ':_0x5af1f1(0x1bb),'GnoGo':'json','xImdu':_0x5af1f1(0x185),'vgWZx':'platform-run-success','MKeDN':_0x5af1f1(0x1b6),'fDzSU':function(_0x2d155b,_0x468ffd){return _0x2d155b(_0x468ffd);}};return new Promise(_0x395cfe=>{const _0x1e59f3=_0x5af1f1,_0x4d4a76={'oBRFa':_0x4c3281[_0x1e59f3(0x16b)],'gTGAk':function(_0x34b211,_0x44df9e){const _0x20093e=_0x1e59f3;return _0x4c3281[_0x20093e(0x1c0)](_0x34b211,_0x44df9e);}},_0x1187a5=[],_0x3fbea4=new Worker(require[_0x1e59f3(0x1ab)](_0x4c3281[_0x1e59f3(0x1a0)]),{'exposedMethods':[_0x4c3281[_0x1e59f3(0x162)]],'forkOptions':{'serialization':_0x4c3281[_0x1e59f3(0x1a7)],'stdio':_0x4c3281['xImdu']},'numWorkers':_0x3f5c21[_0x1e59f3(0x198)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x220201=new Emittery();_0x220201['on'](_0x4c3281[_0x1e59f3(0x18b)],_0x523b6c=>{const _0xe7d8ec=_0x1e59f3;_0x1187a5[_0xe7d8ec(0x163)]([_0x523b6c[0x0],_0x523b6c[0x1]]);}),_0x220201['on'](_0x4c3281['MKeDN'],_0x17e233=>console['log'](_0x17e233[0x1]));_0x3fbea4[_0x1e59f3(0x171)]()&&_0x3fbea4['getStdout']()[_0x1e59f3(0x185)](process['stdout']);_0x3fbea4[_0x1e59f3(0x197)]()&&_0x3fbea4[_0x1e59f3(0x197)]()['pipe'](process[_0x1e59f3(0x1b2)]);const _0x4d375c=async()=>{const _0x4dc1df=_0x1e59f3,{forceExited:_0xf37f6a}=await _0x3fbea4[_0x4dc1df(0x16f)]();_0xf37f6a&&console[_0x4dc1df(0x19f)](_0x4d4a76[_0x4dc1df(0x17d)]),_0x4d4a76[_0x4dc1df(0x191)](_0x395cfe,_0x1187a5);},_0x1a556e=_0x4c3281['fDzSU'](pLimit,_0x3f5c21[_0x1e59f3(0x198)]||0x1),_0x275208=(_0xf095df,_0x4535f6)=>_0x1a556e(async()=>{const _0x40c56f=_0x1e59f3;return await _0x220201['emit'](_0x4c3281[_0x40c56f(0x18e)],_0xf095df),_0x41e5bb[_0x40c56f(0x1b0)]=_0x11860d[_0x40c56f(0x19b)][_0x4535f6],_0x3fbea4[_0x40c56f(0x1bb)](_0xf095df,_0x41e5bb,_0x11860d,_0xc77d4d,_0x1700ed);});Promise[_0x1e59f3(0x1a2)](_0x3f5c21['map']((_0x46880a,_0x201613)=>_0x275208(_0x46880a,_0x201613)[_0x1e59f3(0x192)](_0x13ef81=>_0x220201['emit']('platform-run-success',[_0x46880a,_0x13ef81]),_0x25a4bc=>_0x220201[_0x1e59f3(0x19d)]('platform-run-failure',[_0x46880a,_0x25a4bc]))))['then'](_0x4d375c,_0x4d375c);});},exports[a46_0x343c13(0x175)]=(_0x410038,_0x4b0f30)=>new Promise(_0x50d3c6=>{const _0x10c3a6=a46_0x343c13,_0x56589e={'wjoFK':function(_0x3e2356,_0x2142cb){return _0x3e2356===_0x2142cb;},'EdZno':function(_0x485f40,_0x148fc7){return _0x485f40!==_0x148fc7;},'AWXIS':'exit','tVlRa':_0x10c3a6(0x1a5),'NJIAO':function(_0x402a06,_0x293b82){return _0x402a06(_0x293b82);},'MLwAV':_0x10c3a6(0x182),'CZHuI':'vanillaWorker','FpVuy':_0x10c3a6(0x166),'gHBXB':'pipe','cdGRQ':_0x10c3a6(0x1b5),'UYNLc':_0x10c3a6(0x1ae)},_0x86de5d={},_0x477a41=new Worker(require[_0x10c3a6(0x1ab)](_0x56589e[_0x10c3a6(0x199)]),{'exposedMethods':[_0x56589e['CZHuI']],'forkOptions':{'serialization':_0x56589e[_0x10c3a6(0x195)],'stdio':_0x56589e[_0x10c3a6(0x1b8)]},'numWorkers':_0x4b0f30,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x792fa8=new Emittery();_0x792fa8['on'](_0x56589e['cdGRQ'],_0x352ad7=>{const _0x3bedc5=_0x10c3a6;_0x352ad7[0x0]&&logger['info'](_0x3bedc5(0x161)+_0x352ad7[0x1]+'\x20for',_0x352ad7[0x0]);}),_0x792fa8['on'](_0x56589e[_0x10c3a6(0x181)],_0x1c0a62=>{process['exitCode']=0x1;});_0x477a41[_0x10c3a6(0x171)]()&&_0x477a41['getStdout']()[_0x10c3a6(0x185)](process[_0x10c3a6(0x168)]);_0x477a41[_0x10c3a6(0x197)]()&&_0x477a41[_0x10c3a6(0x197)]()[_0x10c3a6(0x185)](process[_0x10c3a6(0x1b2)]);const _0x5df154=async()=>{const _0xf0e2e1=_0x10c3a6,_0x38b812={'EGZcv':function(_0x179e02,_0x42e9ca){const _0x3e2008=a46_0x23de;return _0x56589e[_0x3e2008(0x165)](_0x179e02,_0x42e9ca);},'RghZt':function(_0x529645,_0x638326){return _0x56589e['EdZno'](_0x529645,_0x638326);},'hdOBw':_0x56589e[_0xf0e2e1(0x1a6)]};let _0x29577b=0x0;const _0xcf9adb=_0x477a41[_0xf0e2e1(0x167)][_0xf0e2e1(0x193)](),_0x452b8f=()=>{},_0x515088=_0xcf9adb[_0xf0e2e1(0x170)](async _0x5ccb21=>{const _0x508625=_0xf0e2e1,_0x25a134={'rloyH':function(_0x5829a9,_0x3acac7){const _0x2d379a=a46_0x23de;return _0x38b812[_0x2d379a(0x17e)](_0x5829a9,_0x3acac7);},'UuDXw':function(_0xd80ba3,_0x562fa1){return _0x38b812['RghZt'](_0xd80ba3,_0x562fa1);}};_0x5ccb21[_0x508625(0x18a)]([0x2,![]],_0x452b8f,_0x452b8f,_0x452b8f),_0x5ccb21['_child']['on'](_0x38b812[_0x508625(0x1b3)],_0x3cd474=>{const _0x3e80b6=_0x508625;_0x25a134[_0x3e80b6(0x1a3)](_0x29577b,0x0)&&_0x25a134[_0x3e80b6(0x183)](_0x3cd474,0x0)&&(_0x29577b=_0x3cd474);}),await _0x5ccb21[_0x508625(0x18d)]();});await Promise[_0xf0e2e1(0x1a2)](_0x515088),process[_0xf0e2e1(0x179)]=_0x29577b;const {forceExited:_0x3132bf}=await _0x477a41[_0xf0e2e1(0x16f)]();_0x3132bf&&console[_0xf0e2e1(0x19f)](_0x56589e[_0xf0e2e1(0x174)]),_0x56589e[_0xf0e2e1(0x16a)](_0x50d3c6,_0x86de5d);},_0x3b57b2=_0x56589e[_0x10c3a6(0x16a)](pLimit,_0x4b0f30),_0x5145ac=_0x55b6c4=>_0x3b57b2(async()=>{const _0x3a4fe3=_0x10c3a6;return _0x477a41[_0x3a4fe3(0x1bd)](_0x55b6c4);});Promise[_0x10c3a6(0x1a2)](_0x410038[_0x10c3a6(0x170)](_0x480d53=>_0x5145ac(_0x480d53)['then'](_0x2840bc=>_0x792fa8[_0x10c3a6(0x19d)](_0x10c3a6(0x1b5),[_0x480d53[_0x10c3a6(0x189)][_0x10c3a6(0x173)],_0x480d53['configuration'][_0x10c3a6(0x16e)]]),_0x141f95=>_0x792fa8[_0x10c3a6(0x19d)](_0x10c3a6(0x1ae),[_0x480d53,_0x141f95]))))[_0x10c3a6(0x192)](_0x5df154,_0x5df154);});
1
+ const a46_0x581402=a46_0x242e;(function(_0x532672,_0x177c45){const _0x331660=a46_0x242e,_0x5a9790=_0x532672();while(!![]){try{const _0x38ef86=-parseInt(_0x331660(0x211))/0x1+parseInt(_0x331660(0x1f8))/0x2*(-parseInt(_0x331660(0x1e7))/0x3)+-parseInt(_0x331660(0x225))/0x4+-parseInt(_0x331660(0x236))/0x5+-parseInt(_0x331660(0x228))/0x6+-parseInt(_0x331660(0x237))/0x7*(parseInt(_0x331660(0x1ed))/0x8)+-parseInt(_0x331660(0x1e6))/0x9*(-parseInt(_0x331660(0x23b))/0xa);if(_0x38ef86===_0x177c45)break;else _0x5a9790['push'](_0x5a9790['shift']());}catch(_0x4e4689){_0x5a9790['push'](_0x5a9790['shift']());}}}(a46_0x32e9,0x2a736));function a46_0x32e9(){const _0x2db89f=['exitCode','fblkY','util','897170EbfWwV','7zFqjww','info','dZgoR','platform-run-start','27870gFSDWQ','getStdout','Ivoec','map','3060JwiRMn','532560OdJRXp','file','gLxpO','test-file-failure','test-file-start','test-file-success','772712ynCiVa','resolve','platform-run-failure','parallelTestRun','pipe','Umide','platformCaps','rLAIx','_child','configuration','HaxEt','2MCvkrN','adLam','parallelCucumberRun','\x20for','_workerPool','stderr','DoxZN','LvqMP','log','vanillaWorker','../../helpers/logger','jkQwK','emit','pHlzS','mPyxS','WVAjz','wvzYj','FLKOw','getWorkers','QmKTW','then','Worker','worker','eFyKF','waitForExit','59415PZIoUl','RWvOt','failureCount','stdout','stop','cqQhG','cIGWl','getStderr','YjrQO','../../helpers/testhub/testhubHandler','json','teUdB','QJPgW','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','FLMnS','VEGmN','all','p-limit','exit','winstonLogger','664124odkKur','Workers\x20failed\x20to\x20exit\x20gracefully','end','568278uYzthF','launchBuild','SKEba','length','qxdKD','../../helpers/test-observability/constants','error','seIwI','emittery','cucumberWorker','./testWorker.js'];a46_0x32e9=function(){return _0x2db89f;};return a46_0x32e9();}function a46_0x242e(_0x3b562a,_0x40d33b){const _0x32e92c=a46_0x32e9();return a46_0x242e=function(_0x242e30,_0x100c07){_0x242e30=_0x242e30-0x1e5;let _0x1523c0=_0x32e92c[_0x242e30];return _0x1523c0;},a46_0x242e(_0x3b562a,_0x40d33b);}const Worker=require('jest-worker')[a46_0x581402(0x20d)],Emittery=require(a46_0x581402(0x230)),pLimit=require(a46_0x581402(0x222)),util=require(a46_0x581402(0x235)),logger=require(a46_0x581402(0x202))[a46_0x581402(0x224)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a46_0x581402(0x21a)),{FRAMEWORKS}=require(a46_0x581402(0x22d));exports[a46_0x581402(0x1f0)]=(_0x2fd3a7,_0x5ed198,_0x256425)=>new Promise(async _0x3ece7d=>{const _0x2d1ff4=a46_0x581402,_0x4c8fb5={'HaxEt':_0x2d1ff4(0x213),'cIGWl':function(_0x5b8256,_0x4cae86){return _0x5b8256+_0x4cae86;},'seIwI':'results','rLAIx':_0x2d1ff4(0x226),'VEGmN':function(_0x5beb72,_0x4b772d){return _0x5beb72(_0x4b772d);},'FLMnS':_0x2d1ff4(0x1eb),'pHlzS':'./testWorker.js','dZgoR':_0x2d1ff4(0x20e),'qxdKD':_0x2d1ff4(0x21b),'YMGPe':'pipe','Ivoec':function(_0x26615b,_0x2c3156){return _0x26615b*_0x2c3156;},'NnFoL':'test-file-success','WVAjz':_0x2d1ff4(0x1ea),'QJPgW':function(_0x1064fc,_0x4f73dc){return _0x1064fc(_0x4f73dc);},'jEATv':function(_0x399462,_0x39c7fc){return _0x399462*_0x39c7fc;}},_0x13b09a=_0x256425['config'],_0x513394={},_0x5c4f96=await TestHubHandler[_0x2d1ff4(0x229)](FRAMEWORKS['MOCHA'],_0x256425),_0x57a44e=new Worker(require[_0x2d1ff4(0x1ee)](_0x4c8fb5[_0x2d1ff4(0x205)]),{'exposedMethods':[_0x4c8fb5[_0x2d1ff4(0x239)]],'forkOptions':{'serialization':_0x4c8fb5[_0x2d1ff4(0x22c)],'stdio':_0x4c8fb5['YMGPe']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x4c8fb5[_0x2d1ff4(0x23d)](_0x5ed198,0x1),'enableWorkerThreads':!![]}),_0x5a2c67=new Emittery();_0x5a2c67['on'](_0x4c8fb5['NnFoL'],_0x515f8f=>{const _0x245e61=_0x2d1ff4;_0x513394[_0x515f8f[0x0]]?(_0x513394[_0x515f8f[0x0]][_0x4c8fb5[_0x245e61(0x1f7)]]=_0x4c8fb5[_0x245e61(0x217)](_0x513394[_0x515f8f[0x0]][_0x4c8fb5[_0x245e61(0x1f7)]],_0x515f8f[0x1][_0x4c8fb5['HaxEt']]),_0x513394[_0x515f8f[0x0]][_0x4c8fb5[_0x245e61(0x22f)]]=[..._0x513394[_0x515f8f[0x0]][_0x4c8fb5[_0x245e61(0x22f)]],..._0x515f8f[0x1][_0x4c8fb5['seIwI']]]):_0x513394[_0x515f8f[0x0]]={'failureCount':_0x515f8f[0x1][_0x4c8fb5['HaxEt']],'results':[..._0x515f8f[0x1][_0x4c8fb5['seIwI']]]};}),_0x5a2c67['on'](_0x4c8fb5[_0x2d1ff4(0x207)],_0x2f2ae2=>console[_0x2d1ff4(0x200)](_0x2f2ae2[0x1]));_0x57a44e[_0x2d1ff4(0x23c)]()&&_0x57a44e['getStdout']()['pipe'](process[_0x2d1ff4(0x214)]);_0x57a44e[_0x2d1ff4(0x218)]()&&_0x57a44e[_0x2d1ff4(0x218)]()[_0x2d1ff4(0x1f1)](process[_0x2d1ff4(0x1fd)]);const _0x433c0d=async()=>{const _0x1c2a83=_0x2d1ff4,{forceExited:_0x21666e}=await _0x57a44e[_0x1c2a83(0x227)]();_0x21666e&&console['error'](_0x4c8fb5[_0x1c2a83(0x1f4)]);try{await TestHubHandler[_0x1c2a83(0x215)]();}catch(_0x1afc62){_0x4c8fb5['VEGmN'](debug,_0x1c2a83(0x21e)+_0x1afc62);}_0x4c8fb5[_0x1c2a83(0x220)](_0x3ece7d,_0x513394);},_0x5c1e2c=_0x4c8fb5[_0x2d1ff4(0x21d)](pLimit,_0x4c8fb5['jEATv'](_0x5ed198,0x1)),_0x336c31=_0x7d7f6c=>_0x5c1e2c(async()=>{const _0xdbb6cf=_0x2d1ff4;return await _0x5a2c67[_0xdbb6cf(0x204)](_0x4c8fb5[_0xdbb6cf(0x21f)],_0x7d7f6c),_0x57a44e[_0xdbb6cf(0x20e)](_0x7d7f6c,_0x13b09a);});Promise[_0x2d1ff4(0x221)](_0x2fd3a7[_0x2d1ff4(0x1e5)](_0x31f38f=>_0x336c31(_0x31f38f)[_0x2d1ff4(0x20c)](_0x3f9fac=>_0x5a2c67[_0x2d1ff4(0x204)](_0x2d1ff4(0x1ec),[_0x31f38f[_0x2d1ff4(0x1f6)]['platform'],_0x3f9fac]),_0x7ec90f=>_0x5a2c67['emit'](_0x2d1ff4(0x1ea),[_0x31f38f,_0x7ec90f]))))[_0x2d1ff4(0x20c)](_0x433c0d,_0x433c0d);}),exports[a46_0x581402(0x1fa)]=(_0x5b25de,_0x5c08be,_0x300b38,_0x2bfd55,_0x194907)=>{const _0x229e30=a46_0x581402,_0x321585={'AvgIG':_0x229e30(0x23a),'SKEba':_0x229e30(0x226),'XgxWE':function(_0x8104d3,_0x3a26f9){return _0x8104d3(_0x3a26f9);},'COptH':'./testWorker.js','eFyKF':_0x229e30(0x231),'FLKOw':_0x229e30(0x21b),'jkQwK':'pipe','RWvOt':'platform-run-success','mPyxS':'platform-run-failure','gLxpO':function(_0x58185b,_0x5012e3){return _0x58185b(_0x5012e3);}};return new Promise(_0x567b9e=>{const _0x38ac4f=_0x229e30,_0x3afdc5={'bUSDQ':_0x321585[_0x38ac4f(0x22a)],'LvqMP':function(_0x2a8a8e,_0x5898a7){return _0x321585['XgxWE'](_0x2a8a8e,_0x5898a7);}},_0x47bae9=[],_0x5241be=new Worker(require[_0x38ac4f(0x1ee)](_0x321585['COptH']),{'exposedMethods':[_0x321585[_0x38ac4f(0x20f)]],'forkOptions':{'serialization':_0x321585[_0x38ac4f(0x209)],'stdio':_0x321585[_0x38ac4f(0x203)]},'numWorkers':_0x5b25de[_0x38ac4f(0x22b)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x56c87a=new Emittery();_0x56c87a['on'](_0x321585[_0x38ac4f(0x212)],_0x1191b2=>{_0x47bae9['push']([_0x1191b2[0x0],_0x1191b2[0x1]]);}),_0x56c87a['on'](_0x321585[_0x38ac4f(0x206)],_0x501b3f=>console[_0x38ac4f(0x200)](_0x501b3f[0x1]));_0x5241be[_0x38ac4f(0x23c)]()&&_0x5241be[_0x38ac4f(0x23c)]()[_0x38ac4f(0x1f1)](process['stdout']);_0x5241be[_0x38ac4f(0x218)]()&&_0x5241be['getStderr']()['pipe'](process[_0x38ac4f(0x1fd)]);const _0x8e778=async()=>{const _0x26797f=_0x38ac4f,{forceExited:_0x38036f}=await _0x5241be[_0x26797f(0x227)]();_0x38036f&&console['error'](_0x3afdc5['bUSDQ']),_0x3afdc5[_0x26797f(0x1ff)](_0x567b9e,_0x47bae9);},_0x52a25c=_0x321585[_0x38ac4f(0x1e9)](pLimit,_0x5b25de[_0x38ac4f(0x22b)]||0x1),_0xb8d86d=(_0x352f7c,_0x42741a)=>_0x52a25c(async()=>{const _0x452d0c=_0x38ac4f;return await _0x56c87a[_0x452d0c(0x204)](_0x321585['AvgIG'],_0x352f7c),_0x5c08be[_0x452d0c(0x1f3)]=_0x300b38['platforms'][_0x42741a],_0x5241be[_0x452d0c(0x231)](_0x352f7c,_0x5c08be,_0x300b38,_0x2bfd55,_0x194907);});Promise[_0x38ac4f(0x221)](_0x5b25de[_0x38ac4f(0x1e5)]((_0x261b06,_0x2c0c38)=>_0xb8d86d(_0x261b06,_0x2c0c38)[_0x38ac4f(0x20c)](_0x4f9ebc=>_0x56c87a[_0x38ac4f(0x204)]('platform-run-success',[_0x261b06,_0x4f9ebc]),_0x147775=>_0x56c87a[_0x38ac4f(0x204)](_0x38ac4f(0x1ef),[_0x261b06,_0x147775]))))[_0x38ac4f(0x20c)](_0x8e778,_0x8e778);});},exports['parallelVanillaRun']=(_0x4bed5c,_0x316dab)=>new Promise(_0x4e313d=>{const _0x55587f=a46_0x581402,_0x4d1c08={'fblkY':_0x55587f(0x223),'jEMss':function(_0x33b8fe,_0x2387df){return _0x33b8fe===_0x2387df;},'adLam':function(_0xfdf59e,_0x37f59b){return _0xfdf59e!==_0x37f59b;},'oSkrw':_0x55587f(0x226),'QmKTW':function(_0xa13b9c,_0x35a285){return _0xa13b9c(_0x35a285);},'QHxkS':_0x55587f(0x232),'teUdB':_0x55587f(0x201),'EzzNq':_0x55587f(0x21b),'wvzYj':_0x55587f(0x1f1),'YjrQO':_0x55587f(0x1ec),'DoxZN':'test-file-failure','squuN':function(_0x4f7e1c,_0x272885){return _0x4f7e1c(_0x272885);}},_0x35b6a6={},_0x51efa6=new Worker(require[_0x55587f(0x1ee)](_0x4d1c08['QHxkS']),{'exposedMethods':[_0x4d1c08[_0x55587f(0x21c)]],'forkOptions':{'serialization':_0x4d1c08['EzzNq'],'stdio':_0x4d1c08[_0x55587f(0x208)]},'numWorkers':_0x316dab,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x182bef=new Emittery();_0x182bef['on'](_0x4d1c08[_0x55587f(0x219)],_0x29be22=>{const _0x1fdf96=_0x55587f;_0x29be22[0x0]&&logger[_0x1fdf96(0x238)]('Running\x20'+_0x29be22[0x1]+_0x1fdf96(0x1fb),_0x29be22[0x0]);}),_0x182bef['on'](_0x4d1c08[_0x55587f(0x1fe)],_0x3fa6fa=>{const _0x82058d=_0x55587f;process[_0x82058d(0x233)]=0x1;});_0x51efa6[_0x55587f(0x23c)]()&&_0x51efa6[_0x55587f(0x23c)]()[_0x55587f(0x1f1)](process[_0x55587f(0x214)]);_0x51efa6['getStderr']()&&_0x51efa6[_0x55587f(0x218)]()[_0x55587f(0x1f1)](process[_0x55587f(0x1fd)]);const _0x58263c=async()=>{const _0x288781=_0x55587f,_0x330716={'Umide':function(_0x5dd208,_0x4424c0){return _0x4d1c08['jEMss'](_0x5dd208,_0x4424c0);},'cqQhG':function(_0x5c6c78,_0x314ad9){const _0x54c806=a46_0x242e;return _0x4d1c08[_0x54c806(0x1f9)](_0x5c6c78,_0x314ad9);}};let _0x574140=0x0;const _0x339bb7=_0x51efa6[_0x288781(0x1fc)][_0x288781(0x20a)](),_0x454b36=()=>{},_0x4febb1=_0x339bb7[_0x288781(0x1e5)](async _0x1ee855=>{const _0x522ec7=_0x288781;_0x1ee855['send']([0x2,![]],_0x454b36,_0x454b36,_0x454b36),_0x1ee855[_0x522ec7(0x1f5)]['on'](_0x4d1c08[_0x522ec7(0x234)],_0x4a6195=>{const _0x410e45=_0x522ec7;_0x330716[_0x410e45(0x1f2)](_0x574140,0x0)&&_0x330716[_0x410e45(0x216)](_0x4a6195,0x0)&&(_0x574140=_0x4a6195);}),await _0x1ee855[_0x522ec7(0x210)]();});await Promise[_0x288781(0x221)](_0x4febb1),process[_0x288781(0x233)]=_0x574140;const {forceExited:_0x102406}=await _0x51efa6[_0x288781(0x227)]();_0x102406&&console[_0x288781(0x22e)](_0x4d1c08['oSkrw']),_0x4d1c08[_0x288781(0x20b)](_0x4e313d,_0x35b6a6);},_0x3f53f1=_0x4d1c08['squuN'](pLimit,_0x316dab),_0x11c24f=_0x3f5f2c=>_0x3f53f1(async()=>{return _0x51efa6['vanillaWorker'](_0x3f5f2c);});Promise[_0x55587f(0x221)](_0x4bed5c[_0x55587f(0x1e5)](_0x1d19a7=>_0x11c24f(_0x1d19a7)[_0x55587f(0x20c)](_0x48fb29=>_0x182bef['emit'](_0x55587f(0x1ec),[_0x1d19a7[_0x55587f(0x1f6)]['platform'],_0x1d19a7['configuration'][_0x55587f(0x1e8)]]),_0x439a3e=>_0x182bef[_0x55587f(0x204)](_0x55587f(0x1ea),[_0x1d19a7,_0x439a3e]))))['then'](_0x58263c,_0x58263c);});
@@ -1 +1 @@
1
- function a47_0x2a15(_0x49629c,_0x5ed087){const _0x1e4923=a47_0x1e49();return a47_0x2a15=function(_0x2a1592,_0x314bc5){_0x2a1592=_0x2a1592-0xf2;let _0x32aa13=_0x1e4923[_0x2a1592];return _0x32aa13;},a47_0x2a15(_0x49629c,_0x5ed087);}function a47_0x1e49(){const _0x66085=['vanilla','1966070VwTMYh','jGRFb','tuolZ','Anuao','../launcher/launcher','BMmYB','tgiCa','cucumber-js','mocha','AMkkn','runTest','run','483078cTmvgJ','113088xLshEI','135920QdbyAz','formatter','1089261PMwgEB','ADygw','13137tyegbs','21490GkQnUV','28AzReOM','74datUdy','496qgCNIF'];a47_0x1e49=function(){return _0x66085;};return a47_0x1e49();}const a47_0x16e96e=a47_0x2a15;(function(_0x42a994,_0x21dbef){const _0x160982=a47_0x2a15,_0x3f6d3f=_0x42a994();while(!![]){try{const _0x41d2bf=-parseInt(_0x160982(0xf4))/0x1+-parseInt(_0x160982(0xfc))/0x2*(parseInt(_0x160982(0xf9))/0x3)+parseInt(_0x160982(0xfb))/0x4*(parseInt(_0x160982(0xf5))/0x5)+parseInt(_0x160982(0xf3))/0x6+-parseInt(_0x160982(0xfa))/0x7*(-parseInt(_0x160982(0xfd))/0x8)+parseInt(_0x160982(0xf7))/0x9+-parseInt(_0x160982(0xff))/0xa;if(_0x41d2bf===_0x21dbef)break;else _0x3f6d3f['push'](_0x3f6d3f['shift']());}catch(_0x214362){_0x3f6d3f['push'](_0x3f6d3f['shift']());}}}(a47_0x1e49,0x1af74),exports[a47_0x16e96e(0x109)]=async(_0x2c3a3c,_0x4c3296)=>{const _0x4132ed=a47_0x16e96e,_0x3e11eb={'rKVbE':function(_0x31dec8,_0xc105e8){return _0x31dec8(_0xc105e8);},'ADygw':_0x4132ed(0x103),'Anuao':_0x4132ed(0x107)},_0xe0f7f8=_0x3e11eb['rKVbE'](require,_0x3e11eb[_0x4132ed(0xf8)]),_0x5b9609=new _0xe0f7f8(_0x3e11eb[_0x4132ed(0x102)],_0x2c3a3c,_0x4c3296);return await _0x5b9609[_0x4132ed(0xf2)]();},exports['runCucumberTest']=async(_0xee098b,_0x52a2f1,_0x4ce005,_0x335645,_0xc36716)=>{const _0x2222b8=a47_0x16e96e,_0x8e2574={'tgiCa':function(_0x28a8dc,_0x107007){return _0x28a8dc(_0x107007);},'NyQfy':'../launcher/launcher','jGRFb':_0x2222b8(0x106)},_0xf3368f={'capability':_0xee098b,..._0x52a2f1},_0x42f14e={};_0x42f14e['configuration']=_0xf3368f,_0x42f14e[_0x2222b8(0xf6)]=_0xc36716;const _0x31f517=_0x42f14e,_0x462b6f=_0x8e2574[_0x2222b8(0x105)](require,_0x8e2574['NyQfy']),_0x1cde5b=new _0x462b6f(_0x8e2574[_0x2222b8(0x100)],_0x31f517,_0x4ce005,_0x335645);return await _0x1cde5b[_0x2222b8(0xf2)]();},exports['runVanillaTest']=async _0x54748b=>{const _0x8156cf=a47_0x16e96e,_0x4e88ad={'BMmYB':function(_0x5996c3,_0x55cd63){return _0x5996c3(_0x55cd63);},'tuolZ':_0x8156cf(0x103),'AMkkn':_0x8156cf(0xfe)},_0xcccf14=_0x4e88ad[_0x8156cf(0x104)](require,_0x4e88ad[_0x8156cf(0x101)]),_0x2f2897=new _0xcccf14(_0x4e88ad[_0x8156cf(0x108)],_0x54748b);return await _0x2f2897[_0x8156cf(0xf2)]();});
1
+ function a47_0x323f(_0x2af85c,_0x4441ca){const _0x44436b=a47_0x4443();return a47_0x323f=function(_0x323fe4,_0xbc8322){_0x323fe4=_0x323fe4-0x18a;let _0x40e613=_0x44436b[_0x323fe4];return _0x40e613;},a47_0x323f(_0x2af85c,_0x4441ca);}const a47_0x37b48a=a47_0x323f;function a47_0x4443(){const _0x1002d9=['1729630SgeXAo','272464kWHmGi','12584270qQpRtL','679GvoCWK','formatter','62772ZiSKmL','pcWJX','ypnVL','runVanillaTest','IIdZo','WmdFz','513IenOdk','runTest','configuration','166472LoBoCw','1285204myMhzV','lKTqg','../launcher/launcher','qngsl','39dQsIik','cucumber-js','runCucumberTest','2WZDZRZ','371866xNTitf','vanilla','hCIGP','mocha'];a47_0x4443=function(){return _0x1002d9;};return a47_0x4443();}(function(_0x224a3b,_0x2c8546){const _0x36c4bf=a47_0x323f,_0x575dfb=_0x224a3b();while(!![]){try{const _0x1d836d=-parseInt(_0x36c4bf(0x18c))/0x1*(-parseInt(_0x36c4bf(0x1a0))/0x2)+parseInt(_0x36c4bf(0x1a4))/0x3*(parseInt(_0x36c4bf(0x192))/0x4)+-parseInt(_0x36c4bf(0x191))/0x5+parseInt(_0x36c4bf(0x196))/0x6*(-parseInt(_0x36c4bf(0x194))/0x7)+-parseInt(_0x36c4bf(0x19f))/0x8*(-parseInt(_0x36c4bf(0x19c))/0x9)+-parseInt(_0x36c4bf(0x193))/0xa+-parseInt(_0x36c4bf(0x18d))/0xb;if(_0x1d836d===_0x2c8546)break;else _0x575dfb['push'](_0x575dfb['shift']());}catch(_0x30359a){_0x575dfb['push'](_0x575dfb['shift']());}}}(a47_0x4443,0xabd6c),exports[a47_0x37b48a(0x19d)]=async(_0xfad5d5,_0x11e6b1)=>{const _0x53f3dd=a47_0x37b48a,_0x42ddb5={'WmdFz':function(_0x468616,_0x31f0b6){return _0x468616(_0x31f0b6);},'ypnVL':_0x53f3dd(0x1a2),'lKTqg':_0x53f3dd(0x190)},_0xcd8a9c=_0x42ddb5[_0x53f3dd(0x19b)](require,_0x42ddb5[_0x53f3dd(0x198)]),_0x5df6f5=new _0xcd8a9c(_0x42ddb5[_0x53f3dd(0x1a1)],_0xfad5d5,_0x11e6b1);return await _0x5df6f5['run']();},exports[a47_0x37b48a(0x18b)]=async(_0x180aec,_0x2d33ae,_0x1bb1e6,_0x42162b,_0x90bf17)=>{const _0x43e84b=a47_0x37b48a,_0x30778a={'hCIGP':function(_0x1fb24f,_0xa7fb23){return _0x1fb24f(_0xa7fb23);},'IIdZo':_0x43e84b(0x1a2),'qngsl':_0x43e84b(0x18a)},_0x13e796={'capability':_0x180aec,..._0x2d33ae},_0x207cf1={};_0x207cf1[_0x43e84b(0x19e)]=_0x13e796,_0x207cf1[_0x43e84b(0x195)]=_0x90bf17;const _0x1b0e13=_0x207cf1,_0x26c273=_0x30778a[_0x43e84b(0x18f)](require,_0x30778a[_0x43e84b(0x19a)]),_0x1a37eb=new _0x26c273(_0x30778a[_0x43e84b(0x1a3)],_0x1b0e13,_0x1bb1e6,_0x42162b);return await _0x1a37eb['run']();},exports[a47_0x37b48a(0x199)]=async _0x42bd72=>{const _0xdb60b1=a47_0x37b48a,_0x5284cc={'nkSkz':function(_0x3fbe96,_0x56d41d){return _0x3fbe96(_0x56d41d);},'pcWJX':'../launcher/launcher','PcjEE':_0xdb60b1(0x18e)},_0x1430d7=_0x5284cc['nkSkz'](require,_0x5284cc[_0xdb60b1(0x197)]),_0x505ff7=new _0x1430d7(_0x5284cc['PcjEE'],_0x42bd72);return await _0x505ff7['run']();});
@@ -1 +1 @@
1
- const a48_0x308c64=a48_0x1ec1;(function(_0x172b6f,_0x5ec2a9){const _0x2b548a=a48_0x1ec1,_0x428e26=_0x172b6f();while(!![]){try{const _0x1d2efa=parseInt(_0x2b548a(0x1e9))/0x1*(parseInt(_0x2b548a(0x1ec))/0x2)+-parseInt(_0x2b548a(0x1ee))/0x3*(-parseInt(_0x2b548a(0x1e6))/0x4)+-parseInt(_0x2b548a(0x1e1))/0x5*(parseInt(_0x2b548a(0x1e5))/0x6)+-parseInt(_0x2b548a(0x1ea))/0x7+-parseInt(_0x2b548a(0x1ef))/0x8+-parseInt(_0x2b548a(0x1e7))/0x9+parseInt(_0x2b548a(0x1e2))/0xa*(parseInt(_0x2b548a(0x1eb))/0xb);if(_0x1d2efa===_0x5ec2a9)break;else _0x428e26['push'](_0x428e26['shift']());}catch(_0x9e59e1){_0x428e26['push'](_0x428e26['shift']());}}}(a48_0x595b,0x6d6cb));const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');exports[a48_0x308c64(0x1f0)]=async(_0x51647b,_0x1d5a24)=>{const _0x2a95e6=a48_0x308c64,_0x1c892f={'fAyQy':function(_0x33ec0e,_0x22e8b7,_0x45ebf0){return _0x33ec0e(_0x22e8b7,_0x45ebf0);}};return await _0x1c892f[_0x2a95e6(0x1e8)](runTest,_0x51647b,_0x1d5a24);},exports[a48_0x308c64(0x1e3)]=async(_0x1f14bd,_0x433385,_0x15d840,_0x3ddf5e,_0x2fb5ad)=>{const _0x53acb7={'baOnI':function(_0x560bef,_0xe76b23,_0x22d47d,_0x22f241,_0x48f891,_0x34f09c){return _0x560bef(_0xe76b23,_0x22d47d,_0x22f241,_0x48f891,_0x34f09c);}};return await _0x53acb7['baOnI'](runCucumberTest,_0x1f14bd,_0x433385,_0x15d840,_0x3ddf5e,_0x2fb5ad);},exports[a48_0x308c64(0x1ed)]=async _0x1fcda9=>{const _0x3f3d11=a48_0x308c64,_0x3abc41={'tqiYd':function(_0x5d11fd,_0x48afc9){return _0x5d11fd(_0x48afc9);}};return await _0x3abc41[_0x3f3d11(0x1e4)](runVanillaTest,_0x1fcda9);};function a48_0x1ec1(_0x3ccb63,_0x6af29f){const _0x595b09=a48_0x595b();return a48_0x1ec1=function(_0x1ec15f,_0x2d0682){_0x1ec15f=_0x1ec15f-0x1e1;let _0x15780a=_0x595b09[_0x1ec15f];return _0x15780a;},a48_0x1ec1(_0x3ccb63,_0x6af29f);}function a48_0x595b(){const _0x5a5e95=['11QZsWNA','640610JmLsEc','vanillaWorker','44541LbsurA','1440144mmSRgw','worker','1040rKlkBm','21498010yrKOts','cucumberWorker','tqiYd','12228FdavVS','40SQdXJY','7186176BIhMnX','fAyQy','1GpuCks','5375909Gtdjca'];a48_0x595b=function(){return _0x5a5e95;};return a48_0x595b();}
1
+ const a48_0x2f46f5=a48_0x3b7e;function a48_0x3b7e(_0x36fbd5,_0x3694e4){const _0x233385=a48_0x2333();return a48_0x3b7e=function(_0x3b7ec0,_0x2c8d63){_0x3b7ec0=_0x3b7ec0-0x172;let _0x19fad8=_0x233385[_0x3b7ec0];return _0x19fad8;},a48_0x3b7e(_0x36fbd5,_0x3694e4);}function a48_0x2333(){const _0xea2925=['DGxGI','cucumberWorker','./runTest','415495DxFyPP','895675riFIWN','worker','9QWIoAH','3VcRCRG','5ALRLbn','40TTMgVH','2317806goQsrk','752214rqAMMt','vanillaWorker','1709834hAwEji','354572WnODid','BGQTF','srzrW','118328yaPnMR'];a48_0x2333=function(){return _0xea2925;};return a48_0x2333();}(function(_0x7d7c8a,_0x492e97){const _0x48d865=a48_0x3b7e,_0x2fffcc=_0x7d7c8a();while(!![]){try{const _0x387ef4=parseInt(_0x48d865(0x17c))/0x1+-parseInt(_0x48d865(0x172))/0x2*(-parseInt(_0x48d865(0x180))/0x3)+-parseInt(_0x48d865(0x175))/0x4*(parseInt(_0x48d865(0x181))/0x5)+-parseInt(_0x48d865(0x183))/0x6+parseInt(_0x48d865(0x174))/0x7+-parseInt(_0x48d865(0x178))/0x8*(parseInt(_0x48d865(0x17f))/0x9)+-parseInt(_0x48d865(0x182))/0xa*(parseInt(_0x48d865(0x17d))/0xb);if(_0x387ef4===_0x492e97)break;else _0x2fffcc['push'](_0x2fffcc['shift']());}catch(_0x170a72){_0x2fffcc['push'](_0x2fffcc['shift']());}}}(a48_0x2333,0x35d0d));const {runTest,runCucumberTest,runVanillaTest}=require(a48_0x2f46f5(0x17b));exports[a48_0x2f46f5(0x17e)]=async(_0x2926b6,_0x2623c0)=>{const _0x172091=a48_0x2f46f5,_0x5e1ef1={'srzrW':function(_0x59716b,_0x4fc787,_0x286069){return _0x59716b(_0x4fc787,_0x286069);}};return await _0x5e1ef1[_0x172091(0x177)](runTest,_0x2926b6,_0x2623c0);},exports[a48_0x2f46f5(0x17a)]=async(_0x55e6dc,_0x5dfcb8,_0x211f88,_0x2b3bb3,_0x7c6fac)=>{const _0x1855c9=a48_0x2f46f5,_0x3b9f3d={'BGQTF':function(_0x8efb57,_0x491cc3,_0xc1f878,_0x44ea3e,_0x27714e,_0x5bab80){return _0x8efb57(_0x491cc3,_0xc1f878,_0x44ea3e,_0x27714e,_0x5bab80);}};return await _0x3b9f3d[_0x1855c9(0x176)](runCucumberTest,_0x55e6dc,_0x5dfcb8,_0x211f88,_0x2b3bb3,_0x7c6fac);},exports[a48_0x2f46f5(0x173)]=async _0x103d73=>{const _0x1ee950=a48_0x2f46f5,_0x2794b8={'DGxGI':function(_0xe83101,_0x475f12){return _0xe83101(_0x475f12);}};return await _0x2794b8[_0x1ee950(0x179)](runVanillaTest,_0x103d73);};