browserstack-node-sdk 1.34.49 → 1.34.51

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 (137) 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/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +3 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -0
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a41_0x3cfd1d=a41_0x29e7;(function(_0x25b996,_0x50b0a9){const _0x378b42=a41_0x29e7,_0x51bfb5=_0x25b996();while(!![]){try{const _0x620a67=-parseInt(_0x378b42(0x1c7))/0x1*(parseInt(_0x378b42(0x138))/0x2)+-parseInt(_0x378b42(0x1a2))/0x3*(-parseInt(_0x378b42(0x144))/0x4)+parseInt(_0x378b42(0x1af))/0x5+-parseInt(_0x378b42(0x160))/0x6+parseInt(_0x378b42(0x180))/0x7*(parseInt(_0x378b42(0x140))/0x8)+parseInt(_0x378b42(0x1ef))/0x9*(-parseInt(_0x378b42(0x127))/0xa)+parseInt(_0x378b42(0x165))/0xb;if(_0x620a67===_0x50b0a9)break;else _0x51bfb5['push'](_0x51bfb5['shift']());}catch(_0x24d0e3){_0x51bfb5['push'](_0x51bfb5['shift']());}}}(a41_0x4a2c,0x1f936));function a41_0x29e7(_0x3011fc,_0x283b97){const _0x4a2cb0=a41_0x4a2c();return a41_0x29e7=function(_0x29e7ee,_0x3baff5){_0x29e7ee=_0x29e7ee-0x117;let _0xbcff11=_0x4a2cb0[_0x29e7ee];return _0xbcff11;},a41_0x29e7(_0x3011fc,_0x283b97);}const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x3cfd1d(0x217)),{v4:uuidv4}=require('uuid'),path=require(a41_0x3cfd1d(0x190)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x3cfd1d(0x16d)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a41_0x3cfd1d(0x132)),fs=require('fs'),util=require(a41_0x3cfd1d(0x184)),{o11yClassErrorHandler}=require(a41_0x3cfd1d(0x128)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a41_0x3cfd1d(0x20a)),SessionHandler=require(a41_0x3cfd1d(0x142)),{appendTesthubParams}=require(a41_0x3cfd1d(0x141)),TestHubHandler=require(a41_0x3cfd1d(0x1a7)),helper=require(a41_0x3cfd1d(0x174));function a41_0x4a2c(){const _0x59edb9=['fwAwi','\x20at\x20','startTime','getTestUUID','getHierarchy','LODrp','error','ncQMG','FikYr','353MXkcAy','base64','title','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','IBtUB','BEFORE_EACH','ORgUc','INcfb','YGzxS','onBegin','JjmYm','sUZeJ','getTestIdentifier','errors','hook','oZchS','IEuwt','ftBYx','screenshot','TxIAB','HioIv','XFyBj','HookRunStarted','AFTER_ALL','_tags','TEST_STEP','AZULR','uYOlC','homedir','QRbnV','onTestEnd','afterAll\x20hook','javascript','finishedAt','hoaJS','ojRUG','getTestRunIdentifier','.txt','retry','event_type','261dMwIoV','failure_type','BROWSERSTACK_O11Y_PERF_MEASUREMENT','_tests','expectedStatus','qMoxX','ZZEGU','\x20is\x20triggered\x20for\x20test\x20','meta','WehZn','env','attachments','vKuwI','_gitConfigPath','_bs_hookIdentifier','mhOuQ','KglID','hook_run_uuid','titlePath','getStepsAndLogs','wIlpX','Before\x20Hooks','uhHUc','Hook\x20Started\x20with\x20unique\x20id\x20','steps','rrDBQ','logLevel','../../../helpers/test-observability/constants','jvVmd','startedAt','status','parent','HbFKH','sendSessionDetails','hooks','getStepIdentifier','UluJu','mtime','YGeQf','sendTestRunEvent','./pwUtils','root','TestRunFinished','BWzio','beforeAll\x20hook','ceAfF','test_run','_testHooksMap','HookRunFinished','\x20is\x20triggered','HKJWU','NmhpQ','.browserstack','CJxsu','duration','failure','indexOf','onTestBegin','skipped','gjPwW','expanded','wegFn','pending','63430iPYWBl','../../../helpers/test-observability/error-handler','RgtEJ','JIVNk','toISOString','xOrVo','RzqrR','PkOvq','STNkj','hyscu','PLAYWRIGHT','./test-details','\x20-\x20','MfdDr','shCZg','uploadEventData','PLAYWRIGHT_TRACE_LOGS','1396TSjxim','3|4|1|5|2|6|0','hVkzj','category','getScope','message','qFYuM','tPmUx','536POWije','../../../helpers/testhub/utils','../../../helpers/test-observability/sessionHandler','NMKcK','15076auSXoU','jvmmv','ONosc','setStepIdentifier','XkImO','cwd','push','onStepBegin','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','UZKlI','endSession','getHookType','uuid','YVCuh','JjZHQ','_projectId','passed','FmIZh','BROWSERSTACK_TEST_RUN_ID','startsWith','HMawE','sendHookRunEvent','dCLer','needToReportStep','UgSeK','basename','stack','Expected\x20to\x20fail,\x20but\x20passed.','1159452elCVFB','location','DXpju','TEST_SCREENSHOT','bLEoJ','4955247qGgMam','startMonitoring','test','getInstance','LogCreated','hYAtU','unknown','HoEOv','../../../helpers/test-observability/utils','FCZRZ','srdAF','retry_of','HluZs','dwNXj','afterEach\x20hook','../../../helpers/helper','onEnd','_gitConfigured','addTestUIDAndReportLog','hook_run','TVqCw','failed','file','join','CBTSessionCreated','NwfBj','ErRNg','364GoGKjn','logs','onStepEnd','yeLIH','util','GRVMD','backtrace','getCustomRerunParam','length','mkdirSync','LVgSE','bdYyX','ntfrY','acNcD','XkDxw','relative','path','shutdown','name','lFqGA','uNQph','toString','test_run_uuid','kwlSs','TestRunStarted','format','existsSync','fUQqi','MSbix','statSync','beforeEach\x20hook','readFileSync','zyNao','options','57Jvdflf','map','XdGrO','YhKpd','Test\x20Finished\x20with\x20unique\x20id\x20','../../../helpers/testhub/testhubHandler','err','mTkjM','reportLogs','depth','EAJQd','exports','PXXlD','1136725JWBzGL','configureGit','MyReporter','jVfIx','pAzPL','noyVc','UXASH','QNPPh','UgtOy','GCliD','Trace\x20file\x20found\x20for\x20test:\x20','result','failure_reason','pZxJE','mHUYs'];a41_0x4a2c=function(){return _0x59edb9;};return a41_0x4a2c();}class MyReporter{constructor(_0x4c8692){const _0x243b2f=a41_0x3cfd1d,_0x49d470={'RzqrR':_0x243b2f(0x139),'INcfb':function(_0x3b567e,_0x3f13cf,_0x2ebe16,_0x36e388){return _0x3b567e(_0x3f13cf,_0x2ebe16,_0x36e388);},'bdYyX':'performance-report-reporter.json'},_0x4f9698=_0x49d470[_0x243b2f(0x12d)]['split']('|');let _0x3671d5=0x0;while(!![]){switch(_0x4f9698[_0x3671d5++]){case'0':this[_0x243b2f(0x1fc)]=null;continue;case'1':this['_tests']={};continue;case'2':this[_0x243b2f(0x1a1)]=_0x4c8692;continue;case'3':const _0xca7137={};_0xca7137[_0x243b2f(0x209)]=process[_0x243b2f(0x1f9)]['BROWSERSTACK_LOG_LEVEL'],_0x49d470[_0x243b2f(0x1ce)](setLogLevel,_0xca7137,new Map(),new Map());continue;case'4':process['env'][_0x243b2f(0x1f1)]&&(PerformanceTester[_0x243b2f(0x166)](_0x49d470[_0x243b2f(0x18b)]),process[_0x243b2f(0x1f9)]['START_TIME']=new Date()['toISOString']());continue;case'5':this[_0x243b2f(0x117)]={};continue;case'6':this[_0x243b2f(0x176)]=![];continue;}break;}}async[a41_0x3cfd1d(0x1d0)](){const _0xc38635=a41_0x3cfd1d;TestDetails['setup'](),await this[_0xc38635(0x1b0)]();}async[a41_0x3cfd1d(0x121)](_0x179567,_0x21b74a){const _0x31cfb8=a41_0x3cfd1d,_0x49bfc6={'fwAwi':function(_0x2c850b,_0x2ff7af){return _0x2c850b(_0x2ff7af);},'yMkYP':_0x31cfb8(0x198)},_0x43d427=this[_0x31cfb8(0x1d3)](_0x179567),_0x55bf9b=TestDetails[_0x31cfb8(0x1c1)](this[_0x31cfb8(0x1eb)](_0x179567,_0x21b74a['retry']));process['env'][_0x31cfb8(0x156)]=_0x55bf9b;const _0x1a5f13={};_0x1a5f13[_0x31cfb8(0x150)]=_0x55bf9b,_0x1a5f13[_0x31cfb8(0x20c)]=_0x21b74a[_0x31cfb8(0x1c0)],this['_tests'][_0x43d427]=_0x1a5f13,_0x49bfc6[_0x31cfb8(0x1be)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x43d427),await this[_0x31cfb8(0x216)](_0x179567,_0x49bfc6['yMkYP'],_0x21b74a);}async[a41_0x3cfd1d(0x14b)](_0x230bb2,_0x3fd3fa,_0x2387a5){const _0x251dba=a41_0x3cfd1d,_0x56cfb1={'lFqGA':function(_0x563b08,_0x524e51){return _0x563b08(_0x524e51);},'FikYr':_0x251dba(0x1dd)};if(!this[_0x251dba(0x15b)](_0x2387a5,_0x230bb2))return;const _0x45b2f7=this['setStepIdentifier'](_0x230bb2,_0x2387a5);this[_0x251dba(0x1f2)][_0x45b2f7]={'uuid':TestDetails['getTestUUID'](_0x45b2f7),'startedAt':_0x2387a5[_0x251dba(0x1c0)][_0x251dba(0x12b)]()};const _0xe995bb=this[_0x251dba(0x1eb)](_0x230bb2,_0x3fd3fa[_0x251dba(0x1ed)]);!this['_testHooksMap'][_0xe995bb]&&(this['_testHooksMap'][_0xe995bb]=[]),this[_0x251dba(0x117)][_0xe995bb][_0x251dba(0x14a)](this[_0x251dba(0x1f2)][_0x45b2f7][_0x251dba(0x150)]),_0x56cfb1[_0x251dba(0x193)](trace,_0x251dba(0x206)+_0x45b2f7+_0x251dba(0x1f6)+_0xe995bb),await this[_0x251dba(0x159)](_0x230bb2,_0x2387a5,_0x56cfb1[_0x251dba(0x1c6)],_0x3fd3fa);}async['onStepEnd'](_0x2996b2,_0x41bf94,_0x144356){const _0x5107f9=a41_0x3cfd1d,_0x8635e5={'pQvkf':function(_0x10cc49,_0x5bf21b){return _0x10cc49+_0x5bf21b;},'obyXm':function(_0x2a1ab1,_0x4e4e1f){return _0x2a1ab1(_0x4e4e1f);},'svFvp':_0x5107f9(0x118)};if(!this[_0x5107f9(0x15b)](_0x144356,_0x2996b2))return;const _0x5b7025=this[_0x5107f9(0x212)](_0x2996b2,_0x144356);this[_0x5107f9(0x1f2)][_0x5b7025]={...this[_0x5107f9(0x1f2)][_0x5b7025]||{},'finishedAt':new Date(_0x8635e5['pQvkf'](_0x144356['startTime']['getTime'](),_0x144356[_0x5107f9(0x11e)]))},_0x8635e5['obyXm'](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x5b7025+_0x5107f9(0x119)),await this['sendHookRunEvent'](_0x2996b2,_0x144356,_0x8635e5['svFvp'],_0x41bf94);}async[a41_0x3cfd1d(0x1e5)](_0x2e91f7,_0x346361){const _0x4c26b8=a41_0x3cfd1d,_0x2851dd={'ORgUc':function(_0xdb1ab4,_0x13a977){return _0xdb1ab4===_0x13a977;},'YmzsC':_0x4c26b8(0x1d9),'hoaJS':_0x4c26b8(0x163),'FCZRZ':_0x4c26b8(0x1c8),'ntfrY':function(_0x47a81d,_0x3c0e8c){return _0x47a81d(_0x3c0e8c);},'xOrVo':_0x4c26b8(0x219),'EAJQd':_0x4c26b8(0x14c),'rRfXA':function(_0x30f897,_0x4d1f3a){return _0x30f897(_0x4d1f3a);},'qMoxX':function(_0x11a3f4,_0x5e0ee9,_0x5923bc){return _0x11a3f4(_0x5e0ee9,_0x5923bc);},'ZfJgt':function(_0x31d61,_0x316685){return _0x31d61(_0x316685);},'qFYuM':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','aKMOg':function(_0x464f32,_0x58282f){return _0x464f32>_0x58282f;}},_0x31d885=this[_0x4c26b8(0x1d3)](_0x2e91f7),_0xd99f5b=TestDetails[_0x4c26b8(0x1c1)](this[_0x4c26b8(0x1eb)](_0x2e91f7,_0x346361[_0x4c26b8(0x1ed)]));this[_0x4c26b8(0x1f2)][_0x31d885]={...this['_tests'][_0x31d885]||{},'finishedAt':new Date()['toISOString']()},_0x2851dd[_0x4c26b8(0x18c)](trace,_0x4c26b8(0x1a6)+_0x31d885);try{await this[_0x4c26b8(0x216)](_0x2e91f7,_0x2851dd[_0x4c26b8(0x12c)],_0x346361);}catch(_0x2ba1f0){_0x2851dd[_0x4c26b8(0x18c)](debug,util['format'](_0x2851dd[_0x4c26b8(0x1ac)],_0x2ba1f0[_0x4c26b8(0x195)]()));}try{_0x2851dd['rRfXA'](debug,_0x4c26b8(0x1ca)+_0xd99f5b),await _0x2851dd[_0x4c26b8(0x1f4)](sendTraceZip,_0x346361,_0xd99f5b);}catch(_0x5948cd){_0x2851dd['ZfJgt'](debug,util[_0x4c26b8(0x199)](_0x2851dd[_0x4c26b8(0x13e)],_0x5948cd[_0x4c26b8(0x195)]()));}const _0x43310f=[];_0x346361[_0x4c26b8(0x1fa)]&&_0x346361['attachments'][_0x4c26b8(0x1a3)](_0x3017d3=>{const _0xf90a0f=_0x4c26b8;if(_0x2851dd[_0xf90a0f(0x1cd)](_0x3017d3[_0xf90a0f(0x192)],_0x2851dd['YmzsC'])){if(!fs[_0xf90a0f(0x19a)](_0x3017d3[_0xf90a0f(0x190)]))return;_0x43310f[_0xf90a0f(0x14a)]({'test_run_uuid':_0xd99f5b,'timestamp':fs[_0xf90a0f(0x19d)](_0x3017d3[_0xf90a0f(0x190)])[_0xf90a0f(0x214)],'kind':_0x2851dd[_0xf90a0f(0x1e9)],'message':fs[_0xf90a0f(0x19f)](_0x3017d3[_0xf90a0f(0x190)],{'encoding':_0x2851dd[_0xf90a0f(0x16e)]})});}}),_0x2851dd['aKMOg'](_0x43310f[_0x4c26b8(0x188)],0x0)&&await MyReporter[_0x4c26b8(0x1aa)](_0x43310f);}async[a41_0x3cfd1d(0x14e)](){const _0x34eaf4=a41_0x3cfd1d;await RequestQueueHandler[_0x34eaf4(0x168)]()[_0x34eaf4(0x191)]();}async[a41_0x3cfd1d(0x175)](_0x2e6a32){const _0x1937f9=a41_0x3cfd1d,_0x5ba7a3={'shCZg':function(_0x42f71d){return _0x42f71d();},'rrDBQ':function(_0x3d77cd,_0x106efa){return _0x3d77cd(_0x106efa);}};await this[_0x1937f9(0x14e)]();try{process[_0x1937f9(0x1f9)][_0x1937f9(0x1f1)]&&await _0x5ba7a3[_0x1937f9(0x135)](calculatePerformance);}catch(_0x1c18d3){_0x5ba7a3[_0x1937f9(0x208)](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x1c18d3[_0x1937f9(0x195)]());}}static async[a41_0x3cfd1d(0x177)](_0x488098,_0x2fdd5c){const _0x56812b=a41_0x3cfd1d;_0x2fdd5c[_0x56812b(0x196)]=TestDetails[_0x56812b(0x1c1)](_0x488098),await this[_0x56812b(0x1aa)]([_0x2fdd5c]);}static async[a41_0x3cfd1d(0x1aa)](_0x1c4713){const _0x141588=a41_0x3cfd1d,_0x40ff4a={};_0x40ff4a[_0x141588(0x1a0)]=_0x141588(0x169);const _0x4135c1=_0x40ff4a,_0x34e134={};_0x34e134[_0x141588(0x1ee)]=_0x4135c1['zyNao'],_0x34e134[_0x141588(0x181)]=_0x1c4713,await SessionHandler[_0x141588(0x136)](_0x34e134);}async['sendHookRunEvent'](_0x65bd88,_0x55867e,_0x43f3fa,_0x14638f){const _0x58d898=a41_0x3cfd1d,_0x14a376={'IEuwt':'hook','jvmmv':_0x58d898(0x1e7),'UZKlI':'pending','zlqyO':function(_0x467d23,_0x491ba5){return _0x467d23>=_0x491ba5;},'AZULR':function(_0x22803d,_0x1f85aa){return _0x22803d===_0x1f85aa;},'MSbix':_0x58d898(0x118),'kwlSs':function(_0x137a09,_0x3eeff2){return _0x137a09>_0x3eeff2;},'pZxJE':_0x58d898(0x17a),'JjmYm':function(_0x16b168,_0x64f3a7){return _0x16b168(_0x64f3a7);},'UgSeK':function(_0x3def7f,_0x47fca0){return _0x3def7f(_0x47fca0);},'mHUYs':function(_0x5eb6a6,_0x377cde,_0x1661ae){return _0x5eb6a6(_0x377cde,_0x1661ae);},'HbFKH':_0x58d898(0x1a8),'WehZn':function(_0x3eaacb,_0x785098){return _0x3eaacb===_0x785098;},'HioIv':_0x58d898(0x154)},_0x26a004=this[_0x58d898(0x212)](_0x65bd88,_0x55867e),_0x289a2c=this[_0x58d898(0x1f2)][_0x26a004],_0x2f350a={'uuid':_0x289a2c[_0x58d898(0x150)],'type':_0x14a376[_0x58d898(0x1d7)],'hook_type':this['getHookType'](_0x55867e[_0x58d898(0x1c9)]),'name':_0x55867e['title'],'scope':this['getScope'](_0x55867e),'scopes':this[_0x58d898(0x1c2)](_0x65bd88),'body':{'lang':_0x14a376[_0x58d898(0x145)],'code':null},'identifier':_0x26a004,'file_name':path[_0x58d898(0x18f)](process[_0x58d898(0x149)](),_0x65bd88['location'][_0x58d898(0x17b)]),'location':path['relative'](process[_0x58d898(0x149)](),_0x65bd88['location'][_0x58d898(0x17b)]),'result':_0x14a376[_0x58d898(0x14d)],'duration_in_ms':_0x14a376['zlqyO'](_0x55867e[_0x58d898(0x11e)],0x0)?_0x55867e[_0x58d898(0x11e)]:undefined,'vc_filepath':this[_0x58d898(0x1fc)]&&_0x65bd88[_0x58d898(0x161)][_0x58d898(0x17b)]?path['relative'](this[_0x58d898(0x1fc)],_0x65bd88[_0x58d898(0x161)][_0x58d898(0x17b)]):undefined,'started_at':_0x289a2c[_0x58d898(0x20c)],'finished_at':_0x289a2c[_0x58d898(0x1e8)],'framework':FRAMEWORKS[_0x58d898(0x131)]};if(_0x14a376[_0x58d898(0x1e1)](_0x43f3fa,_0x14a376[_0x58d898(0x19c)])){const {steps:_0x327406,logs:_0xda77fc}=this['getStepsAndLogs'](_0x55867e[_0x58d898(0x207)],_0x289a2c[_0x58d898(0x150)],_0x14a376[_0x58d898(0x1d7)]);_0xda77fc&&_0x14a376[_0x58d898(0x197)](_0xda77fc[_0x58d898(0x188)],0x0)&&await MyReporter[_0x58d898(0x1aa)](_0xda77fc);const _0xdfe998={};_0xdfe998[_0x58d898(0x207)]=_0x327406,_0x2f350a[_0x58d898(0x1f7)]=_0xdfe998;if(_0x55867e[_0x58d898(0x1c4)]){_0x2f350a[_0x58d898(0x1ba)]=_0x14a376[_0x58d898(0x1bc)],_0x2f350a[_0x58d898(0x1bb)]=_0x14a376[_0x58d898(0x1d1)](removeAnsiColors,_0x55867e[_0x58d898(0x1c4)][_0x58d898(0x13d)]),_0x2f350a['failure_type']=_0x14a376[_0x58d898(0x15c)](getFailureType,_0x55867e[_0x58d898(0x1c4)][_0x58d898(0x13d)]);const _0x5c5c5a=_0x14a376[_0x58d898(0x1bd)](failureData,_0x55867e[_0x58d898(0x1c4)],_0x14a376[_0x58d898(0x20f)]);if(_0x5c5c5a&&_0x14a376[_0x58d898(0x1f8)](_0x5c5c5a['length'],0x0)){const _0x173f45={};_0x173f45['backtrace']=[_0x2f350a[_0x58d898(0x1bb)]],_0x173f45['expanded']=[],_0x5c5c5a[_0x58d898(0x14a)](_0x173f45);}_0x2f350a['failure']=_0x5c5c5a;}else _0x2f350a[_0x58d898(0x1ba)]=_0x14a376[_0x58d898(0x1db)];}const _0x62ef4d={};_0x62ef4d['event_type']=_0x43f3fa,_0x62ef4d[_0x58d898(0x178)]=_0x2f350a;const _0x48bb38=_0x62ef4d;await SessionHandler[_0x58d898(0x136)](_0x48bb38);}['getStepsAndLogs'](_0x44a432,_0x21e74e,_0x151b31){const _0x41689b=a41_0x3cfd1d,_0x14e4e0={'HluZs':function(_0x337fa9,_0x426a86){return _0x337fa9===_0x426a86;},'CJxsu':_0x41689b(0x1d5),'oZchS':'After\x20Hooks','acNcD':function(_0x283b91,_0x2b1b4f){return _0x283b91===_0x2b1b4f;},'ojRUG':_0x41689b(0x204),'hYAtU':function(_0x468da9,_0x6694cb){return _0x468da9===_0x6694cb;},'QRbnV':_0x41689b(0x167),'MfdDr':'test_run_uuid','dCLer':_0x41689b(0x200),'XCNxl':_0x41689b(0x1e0),'UXASH':'failed','sUZeJ':_0x41689b(0x154),'jVfIx':function(_0x57e0c3,_0x31c73e){return _0x57e0c3(_0x31c73e);},'LlZtT':function(_0x47c0b1){return _0x47c0b1();},'BWzio':function(_0x3197f5,_0x370eab){return _0x3197f5(_0x370eab);},'PkOvq':function(_0x4121cb,_0x225085,_0x148ff9){return _0x4121cb(_0x225085,_0x148ff9);}},_0x357d3e=[],_0x1d46fc=[],_0x2b4156=_0x44a432['filter'](_0xcbcdf4=>{const _0x1d863b=_0x41689b;if(_0x14e4e0[_0x1d863b(0x171)](_0xcbcdf4['category'],_0x14e4e0[_0x1d863b(0x11d)])&&(_0x14e4e0[_0x1d863b(0x171)](_0xcbcdf4[_0x1d863b(0x1c9)],_0x14e4e0[_0x1d863b(0x1d6)])||_0x14e4e0[_0x1d863b(0x18d)](_0xcbcdf4[_0x1d863b(0x1c9)],_0x14e4e0[_0x1d863b(0x1ea)])))return![];return!![];}),_0x76c175=(_0x9e5900,_0x22d474=![])=>{const _0x15c16d=_0x41689b;if(_0x14e4e0[_0x15c16d(0x18d)](_0x9e5900['steps'][_0x15c16d(0x188)],0x0)){const _0x44fd3d=_0x14e4e0[_0x15c16d(0x16a)](_0x151b31,_0x14e4e0[_0x15c16d(0x1e4)])?_0x14e4e0[_0x15c16d(0x134)]:_0x14e4e0[_0x15c16d(0x15a)];_0x1d46fc['push']({'kind':_0x14e4e0['XCNxl'],[_0x44fd3d]:_0x21e74e,'message':_0x9e5900[_0x15c16d(0x1c9)],'timestamp':_0x9e5900['startTime'][_0x15c16d(0x12b)](),'level':_0x9e5900[_0x15c16d(0x1c4)]?_0x14e4e0[_0x15c16d(0x1b5)]:_0x14e4e0[_0x15c16d(0x1d2)],'duration':_0x9e5900[_0x15c16d(0x11e)],'failure':_0x9e5900[_0x15c16d(0x1c4)]&&_0x9e5900[_0x15c16d(0x1c4)][_0x15c16d(0x13d)]&&_0x14e4e0[_0x15c16d(0x1b2)](removeAnsiColors,_0x9e5900[_0x15c16d(0x1c4)]['message']),'failure_type':_0x14e4e0['jVfIx'](getFailureType,_0x9e5900[_0x15c16d(0x1c4)]&&_0x9e5900[_0x15c16d(0x1c4)][_0x15c16d(0x13d)])});}else{!_0x22d474&&_0x357d3e[_0x15c16d(0x14a)]({'id':_0x14e4e0['LlZtT'](uuidv4),'text':_0x9e5900[_0x15c16d(0x1c9)],'keyword':undefined,'started_at':_0x9e5900['startTime'][_0x15c16d(0x12b)](),'duration':_0x9e5900[_0x15c16d(0x11e)],'result':_0x9e5900['error']?_0x14e4e0[_0x15c16d(0x1b5)]:_0x14e4e0['sUZeJ'],'failure':_0x9e5900[_0x15c16d(0x1c4)]&&_0x9e5900['error']['message']&&_0x14e4e0[_0x15c16d(0x1b2)](removeAnsiColors,_0x9e5900[_0x15c16d(0x1c4)][_0x15c16d(0x13d)]),'failure_type':_0x14e4e0[_0x15c16d(0x21a)](getFailureType,_0x9e5900[_0x15c16d(0x1c4)]&&_0x9e5900[_0x15c16d(0x1c4)]['message'])});for(const _0x34daa2 of _0x9e5900['steps']){_0x14e4e0[_0x15c16d(0x12e)](_0x76c175,_0x34daa2,!![]);}}};for(const _0x5a1951 of _0x2b4156){_0x14e4e0[_0x41689b(0x12e)](_0x76c175,_0x5a1951,![]);}const _0x90469a={};return _0x90469a[_0x41689b(0x207)]=_0x357d3e,_0x90469a[_0x41689b(0x181)]=_0x1d46fc,_0x90469a;}async[a41_0x3cfd1d(0x216)](_0x1f8753,_0x439fa2,_0xef562){const _0x2c76f7=a41_0x3cfd1d,_0x58d46b={'LtbgJ':function(_0x399d22,_0x13c3e1){return _0x399d22(_0x13c3e1);},'noyVc':'TEST_ATTACHMENT','YGzxS':_0x2c76f7(0x137),'wIlpX':'test','uYOlC':'javascript','cWcEe':_0x2c76f7(0x126),'YhKpd':function(_0x2ac26,_0x3d3f28){return _0x2ac26(_0x3d3f28);},'UgtOy':function(_0x1ed397,_0x3809e3,_0x2360ea,_0x29a11a,_0x274ae6){return _0x1ed397(_0x3809e3,_0x2360ea,_0x29a11a,_0x274ae6);},'ONosc':function(_0x2e19c1,_0x2834d3){return _0x2e19c1>_0x2834d3;},'TVqCw':function(_0x47e94e,_0x38a3a4){return _0x47e94e-_0x38a3a4;},'XdGrO':function(_0x541c15,_0x3d17d5){return _0x541c15===_0x3d17d5;},'FmIZh':'TestRunFinished','gjPwW':function(_0x39c3bb,_0x4190dc){return _0x39c3bb===_0x4190dc;},'fUQqi':_0x2c76f7(0x122),'ftBYx':_0x2c76f7(0x154),'jvVmd':function(_0x4d3d16,_0xbc2bab){return _0x4d3d16===_0xbc2bab;},'NmhpQ':_0x2c76f7(0x17a),'HMawE':'timedOut','NwfBj':function(_0xfb6c91,_0x303b5a){return _0xfb6c91===_0x303b5a;},'HKJWU':_0x2c76f7(0x15f),'srdAF':function(_0x12521d,_0x36a9dd,_0x247150){return _0x12521d(_0x36a9dd,_0x247150);},'yeLIH':function(_0x30ce6d,_0x1c5793,_0x4a396d){return _0x30ce6d(_0x1c5793,_0x4a396d);},'ceAfF':_0x2c76f7(0x190),'IBtUB':function(_0x480322,_0x387b97){return _0x480322(_0x387b97);},'YGeQf':function(_0x380c74,_0x4631ab){return _0x380c74(_0x4631ab);},'GCliD':_0x2c76f7(0x11c),'LODrp':'utf8','ncQMG':function(_0x2070c2,_0x2f3474){return _0x2070c2(_0x2f3474);},'lspdE':function(_0x1d78cc,_0x424be1){return _0x1d78cc!==_0x424be1;}},_0x15bbd2=this['getTestIdentifier'](_0x1f8753),_0x27b3f4=this[_0x2c76f7(0x13c)](_0x1f8753),_0x5428d3=this[_0x2c76f7(0x1f2)][_0x15bbd2],_0x23c3e2=path[_0x2c76f7(0x18f)](process[_0x2c76f7(0x149)](),_0x1f8753[_0x2c76f7(0x161)]['file']);await this['configureGit']();const _0x28b6f7={'uuid':_0x5428d3[_0x2c76f7(0x150)],'type':_0x58d46b['wIlpX'],'name':_0x1f8753[_0x2c76f7(0x1c9)],'body':{'lang':_0x58d46b[_0x2c76f7(0x1e2)],'code':_0x1f8753['fn'][_0x2c76f7(0x195)]()},'scope':_0x27b3f4,'scopes':this[_0x2c76f7(0x1c2)](_0x1f8753),'identifier':_0x15bbd2,'file_name':_0x23c3e2,'location':_0x23c3e2,'result':_0x58d46b['cWcEe'],'duration_in_ms':_0xef562&&_0xef562[_0x2c76f7(0x11e)]?_0xef562[_0x2c76f7(0x11e)]:null,'vc_filepath':this[_0x2c76f7(0x1fc)]&&_0x1f8753[_0x2c76f7(0x161)]['file']?path['relative'](this[_0x2c76f7(0x1fc)],_0x1f8753[_0x2c76f7(0x161)][_0x2c76f7(0x17b)]):undefined,'started_at':_0x5428d3[_0x2c76f7(0x20c)],'finished_at':_0x5428d3['finishedAt'],'framework':FRAMEWORKS[_0x2c76f7(0x131)],'customRerunParam':{'rerun_name':this[_0x2c76f7(0x187)](_0x1f8753)},'tags':_0x58d46b[_0x2c76f7(0x1a5)](getTestTags,_0x1f8753)};_0x58d46b[_0x2c76f7(0x1b7)](appendTesthubParams,_0x28b6f7,_0x439fa2,_0x1f8753,FRAMEWORKS['PLAYWRIGHT']);_0xef562&&_0x58d46b[_0x2c76f7(0x146)](_0xef562['retry'],0x0)&&(_0x28b6f7[_0x2c76f7(0x170)]=TestDetails[_0x2c76f7(0x1c1)](this[_0x2c76f7(0x1eb)](_0x1f8753,_0x58d46b[_0x2c76f7(0x179)](_0xef562['retry'],0x1))));if(_0x58d46b[_0x2c76f7(0x1a4)](_0x439fa2,_0x58d46b['FmIZh'])){_0x28b6f7[_0x2c76f7(0x1ba)]=_0xef562[_0x2c76f7(0x20d)];if(_0x58d46b[_0x2c76f7(0x123)](_0xef562[_0x2c76f7(0x20d)],_0x1f8753[_0x2c76f7(0x1f3)]))_0x28b6f7['result']=_0x58d46b[_0x2c76f7(0x123)](_0xef562[_0x2c76f7(0x20d)],_0x58d46b[_0x2c76f7(0x19b)])?_0x58d46b['fUQqi']:_0x58d46b[_0x2c76f7(0x1d8)];else{(_0x58d46b['jvVmd'](_0x28b6f7['result'],_0x58d46b[_0x2c76f7(0x1d8)])||_0x58d46b[_0x2c76f7(0x20b)](_0x28b6f7[_0x2c76f7(0x1ba)],_0x58d46b['NmhpQ'])||_0x58d46b[_0x2c76f7(0x20b)](_0x28b6f7[_0x2c76f7(0x1ba)],_0x58d46b[_0x2c76f7(0x158)]))&&(_0x28b6f7[_0x2c76f7(0x1ba)]=_0x58d46b[_0x2c76f7(0x11b)]);if(_0x58d46b[_0x2c76f7(0x1a4)](_0xef562['status'],_0x58d46b['ftBYx'])&&_0x58d46b[_0x2c76f7(0x17e)](_0x1f8753[_0x2c76f7(0x1f3)],_0x58d46b[_0x2c76f7(0x11b)])){const _0x25e0e7={};_0x25e0e7['message']=_0x58d46b[_0x2c76f7(0x11a)],_0x25e0e7[_0x2c76f7(0x15e)]=_0x58d46b[_0x2c76f7(0x11a)],_0xef562[_0x2c76f7(0x1c4)]=_0x25e0e7,_0xef562['errors']=[_0xef562[_0x2c76f7(0x1c4)]];}}const _0x1b3b44=this[_0x2c76f7(0x1eb)](_0x1f8753,_0xef562[_0x2c76f7(0x1ed)]);_0x28b6f7[_0x2c76f7(0x211)]=this['_testHooksMap'][_0x1b3b44];const {steps:_0x5b0ed6,logs:_0xe43db3}=this[_0x2c76f7(0x202)](_0xef562[_0x2c76f7(0x207)],_0x5428d3[_0x2c76f7(0x150)],_0x58d46b[_0x2c76f7(0x203)]);await MyReporter[_0x2c76f7(0x1aa)](_0xe43db3);const _0x1c888d={};_0x1c888d['steps']=_0x5b0ed6,_0x28b6f7[_0x2c76f7(0x1f7)]=_0x1c888d;if(_0xef562[_0x2c76f7(0x1c4)]){_0x28b6f7[_0x2c76f7(0x1bb)]=_0x58d46b['YhKpd'](removeAnsiColors,_0xef562[_0x2c76f7(0x1c4)][_0x2c76f7(0x13d)]),_0x28b6f7[_0x2c76f7(0x1f0)]=_0x58d46b['YhKpd'](getFailureType,_0xef562['error'][_0x2c76f7(0x13d)]);const _0x5b9777={};_0x5b9777[_0x2c76f7(0x196)]=_0x5428d3[_0x2c76f7(0x150)];const {failureData:_0x2f6cb7,logs:_0x1f3d00}=_0x58d46b[_0x2c76f7(0x16f)](getFailureData,_0xef562[_0x2c76f7(0x1d4)],_0x5b9777);if(_0x2f6cb7&&_0x58d46b[_0x2c76f7(0x17e)](_0x2f6cb7[_0x2c76f7(0x188)],0x0)){const _0x5a9922={};_0x5a9922[_0x2c76f7(0x186)]=[_0x28b6f7[_0x2c76f7(0x1bb)]],_0x5a9922[_0x2c76f7(0x124)]=[],_0x2f6cb7[_0x2c76f7(0x14a)](_0x5a9922);}_0x28b6f7[_0x2c76f7(0x11f)]=_0x2f6cb7,_0x1f3d00&&_0x58d46b[_0x2c76f7(0x146)](_0x1f3d00[_0x2c76f7(0x188)],0x0)&&await MyReporter['reportLogs'](_0x1f3d00);}}let _0x2efb56=_0x58d46b[_0x2c76f7(0x183)](findNestedKey,_0xef562,_0x58d46b[_0x2c76f7(0x21c)]);if(_0x2efb56&&_0x58d46b[_0x2c76f7(0x1cb)](validateFilePath,_0x2efb56))_0x58d46b[_0x2c76f7(0x215)](debug,_0x2c76f7(0x1b9)+_0x5428d3[_0x2c76f7(0x150)]+_0x2c76f7(0x1bf)+_0x2efb56);else{const _0x503f44=path[_0x2c76f7(0x17c)](helper[_0x2c76f7(0x1e3)](),_0x58d46b[_0x2c76f7(0x1b8)]);!fs[_0x2c76f7(0x19a)](_0x503f44)&&fs[_0x2c76f7(0x189)](_0x503f44),fs[_0x2c76f7(0x19a)](path['join'](_0x503f44,'trace_'+_0x5428d3[_0x2c76f7(0x150)]+_0x2c76f7(0x1ec)))&&(_0x2efb56=fs['readFileSync'](path['join'](_0x503f44,'trace_'+_0x5428d3['uuid']+_0x2c76f7(0x1ec)),_0x58d46b[_0x2c76f7(0x1c3)]),_0x58d46b[_0x2c76f7(0x1c5)](debug,_0x2c76f7(0x1b9)+_0x5428d3[_0x2c76f7(0x150)]+'\x20at\x20'+_0x2efb56));}const _0x15848e={};_0x15848e[_0x2c76f7(0x1ee)]=_0x439fa2,_0x15848e[_0x2c76f7(0x21d)]=_0x28b6f7;const _0x38f2dc=_0x15848e;_0x2efb56&&_0x58d46b['lspdE'](_0x2efb56,'')&&_0x58d46b[_0x2c76f7(0x1a4)](_0x439fa2,_0x58d46b[_0x2c76f7(0x155)])&&(!_0x38f2dc[_0x2c76f7(0x181)]&&(_0x38f2dc[_0x2c76f7(0x181)]=[]),_0x2efb56['split']('\x0a')['forEach'](_0x114fd5=>{const _0x72950=_0x2c76f7;_0x114fd5&&_0x58d46b['LtbgJ'](validateFilePath,_0x114fd5)&&_0x38f2dc[_0x72950(0x181)][_0x72950(0x14a)]({'kind':_0x58d46b[_0x72950(0x1b4)],'timestamp':new Date()[_0x72950(0x12b)](),'test_run_uuid':_0x5428d3[_0x72950(0x150)],'file_name':path[_0x72950(0x15d)](_0x114fd5),'file_size':fs[_0x72950(0x19d)](_0x114fd5)['size'],'attachment_type':_0x58d46b[_0x72950(0x1cf)]});})),await SessionHandler[_0x2c76f7(0x136)](_0x38f2dc);}[a41_0x3cfd1d(0x187)](_0x1a1958){const _0x415e56=a41_0x3cfd1d,_0x1d5d4e={};_0x1d5d4e[_0x415e56(0x16c)]=function(_0x854cfb,_0xc649e0){return _0x854cfb===_0xc649e0;},_0x1d5d4e['UluJu']=function(_0x4aa73b,_0x3d0532){return _0x4aa73b>_0x3d0532;},_0x1d5d4e[_0x415e56(0x125)]=function(_0x1ef3cf,_0x1eaffe){return _0x1ef3cf+_0x1eaffe;},_0x1d5d4e[_0x415e56(0x152)]=function(_0x2096b6,_0x3b4a15){return _0x2096b6+_0x3b4a15;},_0x1d5d4e['QNPPh']=function(_0x5b7a32,_0x1ba21d){return _0x5b7a32>_0x1ba21d;},_0x1d5d4e['GRVMD']=function(_0x3e002e,_0x322068){return _0x3e002e+_0x322068;};const _0x5b635c=_0x1d5d4e,_0x38d910=_0x1a1958[_0x415e56(0x201)]()[_0x415e56(0x1a3)](_0x3d992c=>{const _0x9edae9=_0x415e56;if(_0x1a1958[_0x9edae9(0x20e)]&&_0x5b635c[_0x9edae9(0x16c)](_0x3d992c,_0x1a1958[_0x9edae9(0x20e)][_0x9edae9(0x1c9)])&&_0x1a1958[_0x9edae9(0x20e)][_0x9edae9(0x1df)]&&_0x5b635c[_0x9edae9(0x213)](_0x1a1958['parent']['_tags'][_0x9edae9(0x188)],0x0))return _0x5b635c['wegFn'](_0x5b635c[_0x9edae9(0x152)](_0x3d992c,'\x20'),_0x1a1958[_0x9edae9(0x20e)][_0x9edae9(0x1df)]['join']('\x20'));if(_0x5b635c[_0x9edae9(0x16c)](_0x3d992c,_0x1a1958[_0x9edae9(0x1c9)])&&_0x1a1958[_0x9edae9(0x1df)]&&_0x5b635c[_0x9edae9(0x1b6)](_0x1a1958[_0x9edae9(0x1df)]['length'],0x0))return _0x5b635c['JjZHQ'](_0x5b635c[_0x9edae9(0x185)](_0x3d992c,'\x20'),_0x1a1958['_tags'][_0x9edae9(0x17c)]('\x20'));return _0x3d992c;})[_0x415e56(0x17c)]('\x20');return _0x38d910;}static async[a41_0x3cfd1d(0x210)](_0x522d66,_0x3cc1be){const _0x3b2dd6=a41_0x3cfd1d,_0x2ccd41={'tPmUx':function(_0x5d2838,_0x121c8c){return _0x5d2838(_0x121c8c);},'vKuwI':_0x3b2dd6(0x17d)},_0xd96d7={'uuid':TestDetails['getTestUUID'](_0x522d66),'integrations':_0x3cc1be},_0x5afb59={};_0x5afb59[_0x3b2dd6(0x1ab)]=null,_0x2ccd41[_0x3b2dd6(0x13f)](debug,'Sending\x20session\x20details\x20for\x20'+_0x522d66+',\x20'+util['inspect'](_0x3cc1be,_0x5afb59));const _0xf3abcd={};_0xf3abcd['event_type']=_0x2ccd41[_0x3b2dd6(0x1fb)],_0xf3abcd[_0x3b2dd6(0x21d)]=_0xd96d7,await SessionHandler['uploadEventData'](_0xf3abcd);}async[a41_0x3cfd1d(0x1b0)](){const _0x1be24b=a41_0x3cfd1d,_0x38f31d={'JIVNk':function(_0x5d82fc){return _0x5d82fc();}};if(this[_0x1be24b(0x176)])return;const _0x816069=await _0x38f31d[_0x1be24b(0x12a)](getGitMetaData);_0x816069&&(this[_0x1be24b(0x1fc)]=_0x816069[_0x1be24b(0x218)]),this[_0x1be24b(0x176)]=!![];}[a41_0x3cfd1d(0x1c2)](_0x2e6a9d){const _0x353bb1=a41_0x3cfd1d,_0x1d47e0={};_0x1d47e0[_0x353bb1(0x164)]=function(_0x4e3b38,_0x4813fa){return _0x4e3b38!==_0x4813fa;};const _0x196760=_0x1d47e0,_0x238a79=[];if(_0x2e6a9d&&_0x2e6a9d['parent']){let _0x3789f2=_0x2e6a9d[_0x353bb1(0x20e)];while(_0x3789f2&&_0x196760['bLEoJ'](_0x3789f2[_0x353bb1(0x1c9)],'')){_0x238a79[_0x353bb1(0x14a)](_0x3789f2['title']),_0x3789f2=_0x3789f2[_0x353bb1(0x20e)];}}return _0x238a79['reverse']()['splice'](0x0,0x2),_0x238a79;}[a41_0x3cfd1d(0x15b)](_0x53c7dc){const _0x430810=a41_0x3cfd1d,_0x318d6f={};_0x318d6f[_0x430810(0x1da)]=function(_0x3c01d3,_0x57c920){return _0x3c01d3!==_0x57c920;},_0x318d6f[_0x430810(0x1b3)]=_0x430810(0x1d5),_0x318d6f[_0x430810(0x205)]=function(_0x4e81c3,_0x383525){return _0x4e81c3===_0x383525;},_0x318d6f[_0x430810(0x18a)]=_0x430810(0x19e),_0x318d6f[_0x430810(0x12f)]='beforeAll\x20hook',_0x318d6f['XkImO']=_0x430810(0x1e6),_0x318d6f[_0x430810(0x129)]=_0x430810(0x173);const _0x1d7a97=_0x318d6f;if(_0x1d7a97['TxIAB'](_0x53c7dc[_0x430810(0x13b)],_0x1d7a97['pAzPL']))return![];if(_0x1d7a97[_0x430810(0x205)]([_0x1d7a97['LVgSE'],_0x1d7a97[_0x430810(0x12f)],_0x1d7a97[_0x430810(0x148)],_0x1d7a97[_0x430810(0x129)]][_0x430810(0x120)](_0x53c7dc[_0x430810(0x1c9)]),-0x1))return![];return!![];}[a41_0x3cfd1d(0x212)](_0x320919,_0x58d7db){const _0x378dcd=a41_0x3cfd1d,_0x14a7b6=_0x58d7db['_bs_hookIdentifier'];if(_0x14a7b6)return _0x14a7b6;return _0x58d7db[_0x378dcd(0x1c9)]+'\x20for\x20'+this[_0x378dcd(0x1d3)](_0x320919);}[a41_0x3cfd1d(0x147)](_0x23d3b6,_0x2239b3){const _0x42b279=a41_0x3cfd1d,_0xb117ab={'YVCuh':function(_0x3d8c40){return _0x3d8c40();}};let _0x5e5327=_0x2239b3['title']+'\x20for\x20'+this[_0x42b279(0x1d3)](_0x23d3b6);return this['_tests'][_0x5e5327]&&(_0x5e5327=_0x5e5327+_0x42b279(0x133)+_0xb117ab[_0x42b279(0x151)](uuidv4)),_0x2239b3[_0x42b279(0x1fd)]=_0x5e5327,_0x5e5327;}[a41_0x3cfd1d(0x1d3)]=_0x44f6de=>{const _0x2a4569=a41_0x3cfd1d,_0x49a2e2={};_0x49a2e2[_0x2a4569(0x194)]=function(_0x1e3199,_0x55d92b){return _0x1e3199+_0x55d92b;},_0x49a2e2['NMKcK']=function(_0x5bfa2b,_0x34835b){return _0x5bfa2b+_0x34835b;};const _0x2d9a4a=_0x49a2e2;return _0x2d9a4a[_0x2a4569(0x194)](_0x2d9a4a[_0x2a4569(0x143)](_0x44f6de[_0x2a4569(0x153)],'-'),_0x44f6de['id']);};['getTestRunIdentifier']=(_0x484d8c,_0x560ca2)=>{const _0x526096=a41_0x3cfd1d,_0x294291={};_0x294291[_0x526096(0x1fe)]=function(_0xbe5dc4,_0x4ef41d){return _0xbe5dc4+_0x4ef41d;};const _0x39e581=_0x294291;return _0x39e581['mhOuQ'](_0x39e581[_0x526096(0x1fe)](this[_0x526096(0x1d3)](_0x484d8c),'-'),_0x560ca2);};[a41_0x3cfd1d(0x14f)]=_0x21e431=>{const _0x26e2da=a41_0x3cfd1d,_0x12eb55={};_0x12eb55[_0x26e2da(0x130)]=_0x26e2da(0x19e),_0x12eb55[_0x26e2da(0x1ae)]=_0x26e2da(0x1cc),_0x12eb55['KglID']=_0x26e2da(0x21b),_0x12eb55[_0x26e2da(0x1f5)]='BEFORE_ALL',_0x12eb55[_0x26e2da(0x162)]=_0x26e2da(0x173),_0x12eb55[_0x26e2da(0x13a)]='AFTER_EACH',_0x12eb55[_0x26e2da(0x1a9)]=_0x26e2da(0x1e6),_0x12eb55[_0x26e2da(0x172)]=_0x26e2da(0x1de),_0x12eb55[_0x26e2da(0x18e)]=_0x26e2da(0x16b);const _0x3f6061=_0x12eb55;if(_0x21e431[_0x26e2da(0x157)](_0x3f6061['hyscu']))return _0x3f6061[_0x26e2da(0x1ae)];else{if(_0x21e431['startsWith'](_0x3f6061[_0x26e2da(0x1ff)]))return _0x3f6061[_0x26e2da(0x1f5)];else{if(_0x21e431['startsWith'](_0x3f6061['DXpju']))return _0x3f6061[_0x26e2da(0x13a)];else{if(_0x21e431[_0x26e2da(0x157)](_0x3f6061['mTkjM']))return _0x3f6061['dwNXj'];}}}return _0x3f6061[_0x26e2da(0x18e)];};[a41_0x3cfd1d(0x13c)]=_0x5ed908=>{const _0x2ef8bb=a41_0x3cfd1d,_0x4e98a5={};_0x4e98a5['ErRNg']=function(_0x538ceb,_0x6d7bfd){return _0x538ceb===_0x6d7bfd;},_0x4e98a5['XFyBj']='object';const _0x2e7340=_0x4e98a5;let _0x47771c=_0x5ed908[_0x2ef8bb(0x20e)];return _0x2e7340[_0x2ef8bb(0x17f)](typeof _0x5ed908[_0x2ef8bb(0x20e)],_0x2e7340[_0x2ef8bb(0x1dc)])&&(_0x47771c=_0x47771c[_0x2ef8bb(0x1c9)]),_0x47771c+'\x20-\x20'+_0x5ed908[_0x2ef8bb(0x1c9)];};['printsToStdio'](){return![];}}module[a41_0x3cfd1d(0x1ad)]=o11yClassErrorHandler(MyReporter,['onBegin','endSession','onTestBegin',a41_0x3cfd1d(0x1e5),a41_0x3cfd1d(0x14b),a41_0x3cfd1d(0x182),a41_0x3cfd1d(0x210)],a41_0x3cfd1d(0x1b1));
1
+ const a41_0x1e0459=a41_0x12ca;function a41_0x12ca(_0x3e9633,_0x2c6515){const _0x2fc698=a41_0x2fc6();return a41_0x12ca=function(_0x12ca64,_0x4f824b){_0x12ca64=_0x12ca64-0x8a;let _0x1a99b9=_0x2fc698[_0x12ca64];return _0x1a99b9;},a41_0x12ca(_0x3e9633,_0x2c6515);}(function(_0x85acb7,_0x4a5efe){const _0xa76921=a41_0x12ca,_0x3730aa=_0x85acb7();while(!![]){try{const _0x40563e=parseInt(_0xa76921(0x114))/0x1*(parseInt(_0xa76921(0x132))/0x2)+parseInt(_0xa76921(0x12c))/0x3*(parseInt(_0xa76921(0x166))/0x4)+-parseInt(_0xa76921(0xa6))/0x5+parseInt(_0xa76921(0xdd))/0x6*(-parseInt(_0xa76921(0xd5))/0x7)+-parseInt(_0xa76921(0xfc))/0x8+-parseInt(_0xa76921(0x18d))/0x9+parseInt(_0xa76921(0xa5))/0xa;if(_0x40563e===_0x4a5efe)break;else _0x3730aa['push'](_0x3730aa['shift']());}catch(_0x2b15de){_0x3730aa['push'](_0x3730aa['shift']());}}}(a41_0x2fc6,0xcf1f6));const RequestQueueHandler=require(a41_0x1e0459(0x13c)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x1e0459(0xe2)),{v4:uuidv4}=require('uuid'),path=require(a41_0x1e0459(0x174)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a41_0x1e0459(0x10f)),TestDetails=require(a41_0x1e0459(0xfa)),fs=require('fs'),util=require(a41_0x1e0459(0xd8)),{o11yClassErrorHandler}=require(a41_0x1e0459(0x16b)),PerformanceTester=require(a41_0x1e0459(0x8c)),{FRAMEWORKS}=require(a41_0x1e0459(0xad)),SessionHandler=require(a41_0x1e0459(0xcd)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),TestHubHandler=require(a41_0x1e0459(0x127)),helper=require(a41_0x1e0459(0x10f));function a41_0x2fc6(){const _0x1a44d0=['onEnd','test','TestRunFinished','uploadEventData','Trace\x20file\x20found\x20for\x20test:\x20','getTime','finishedAt','_tags','screenshot','AvwKo','OENbt','object','JKBZB','../../../helpers/testhub/testhubHandler','xqOcs','pending','Before\x20Hooks','_tests','3dUocyC','jOEoW','Expected\x20to\x20fail,\x20but\x20passed.','GlIyS','getTestIdentifier','status','21918XOLxYM','AFoRI','mtime','NJxiM','wBJEa','PLAYWRIGHT','_gitConfigPath','KaQNJ','getStepsAndLogs','failure_reason','../../../helpers/test-observability/requestQueueHandler','ZBGJJ','onStepEnd','LBiNE','printsToStdio','beforeEach\x20hook','cwd','XtSNY','kUMTH','MyReporter','BROWSERSTACK_TEST_RUN_ID','length','addTestUIDAndReportLog','message','filter','dfyTF','ndlot','startedAt','hook_run_uuid','getTestRunIdentifier','reportLogs','startsWith','skipped','passed','map','uuid','TestRunStarted','parent','retry','backtrace','xydRk','QhlPh','FPaRn','Hook\x20Started\x20with\x20unique\x20id\x20','xndhD','fwGOI','category','JkjgU','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','depth','relative','ZibIF','4277788chdtdQ','configureGit','Test\x20Finished\x20with\x20unique\x20id\x20','setup','endSession','../../../helpers/test-observability/error-handler','test_run','mkdirSync','Sending\x20session\x20details\x20for\x20','getScope','ZBsms','startTime','Sfpyy','vSzpY','path','sendSessionDetails','shutdown','SOgAw','jsJtw','CXZZL','\x20at\x20','BROWSERSTACK_O11Y_PERF_MEASUREMENT','setStepIdentifier','indexOf','cAeCZ','meta','Error\x20in\x20sending\x20trace\x20zip:\x20%s','EOwgt','ahVfs','\x20for\x20','EqERy','bBzjl','BROWSERSTACK_LOG_LEVEL','iWCnr','hErVl','EMbLm','pUUJF','QFPcj','failure_type','7436961HdJNVV','beforeAll\x20hook','failed','hXWxr','existsSync','ONXud','.txt','GDiNs','performance-report-reporter.json','../../../helpers/performance/performance-tester','UJLJz','IEVlG','_bs_hookIdentifier','wQqfe','zrolx','Fqysy','stack','ofhzu','getStepIdentifier','TEST_STEP','location','push','BEFORE_ALL','dkUWW','toString','TtSen','event_type','mjnHW','name','kcwNU','unknown','sendTestRunEvent','deiXl','dxdwX','20742820rMlfpv','1386895kiRcbr','XQsHc','RkZyL','Hook\x20Finished\x20with\x20unique\x20id\x20','getTestUUID','.browserstack','MFSmI','../../../helpers/test-observability/constants','getHierarchy','duration','failure','CBTSessionCreated','startMonitoring','options','HookRunStarted','yPWef','\x20is\x20triggered','QWyIy','trace_','UEgBd','wJlKz','aamFC','file','_gitConfigured','START_TIME','awAdk','utf8','needToReportStep','JugNI','onBegin','split','env','RfYjp','gCwHp','result','err','gaSjy','DMQHA','LogCreated','../../../helpers/test-observability/sessionHandler','ujjoa','forEach','expectedStatus','logs','After\x20Hooks','readFileSync','iGdYW','1573691dtXSzx','_projectId','DOCEy','util','onTestBegin','sNXrN','onTestEnd','2|5|3|0|4|6|1','24ySNDqH','cHgMf','tJyXN','LdjYZ','logLevel','./pwUtils','CQhhJ','afterAll\x20hook','steps','_testHooksMap','ngagp','toISOString','onStepBegin','DbeCO','attachments','QkUNm','basename','\x20is\x20triggered\x20for\x20test\x20','timedOut','vgbKp','base64','join','YrjFJ','Twsvo','jNdLm','afterEach\x20hook','XSKaz','exports','daHXm','./test-details','CHvlI','2514504ZUbXSb','hook','RBkdD','JHfGx','ZJSzO','test_run_uuid','error','title','HookRunFinished','eUVfm','jXAXt','BEFORE_EACH','PMedo','PLAYWRIGHT_TRACE_LOGS','qmqSw','statSync','UTZVZ','format','VuKKc','../../../helpers/helper','CaEyJ','getHookType','IFgJY','PLeEx','2thLwKQ','hNGqZ','nbyoy','GIXmq','SSyCj','sendHookRunEvent'];a41_0x2fc6=function(){return _0x1a44d0;};return a41_0x2fc6();}class MyReporter{constructor(_0x1da21a){const _0xff8939=a41_0x1e0459,_0x36f65a={'DMQHA':_0xff8939(0xdc),'xqOcs':function(_0x45ce03,_0x4f38ee,_0x10432c,_0x3c6179){return _0x45ce03(_0x4f38ee,_0x10432c,_0x3c6179);},'ZibIF':_0xff8939(0x8b)},_0x248125=_0x36f65a[_0xff8939(0xcb)][_0xff8939(0xc4)]('|');let _0x248774=0x0;while(!![]){switch(_0x248125[_0x248774++]){case'0':this['_testHooksMap']={};continue;case'1':this[_0xff8939(0x138)]=null;continue;case'2':const _0x51c1b0={};_0x51c1b0[_0xff8939(0xe1)]=process[_0xff8939(0xc5)][_0xff8939(0x186)],_0x36f65a[_0xff8939(0x128)](setLogLevel,_0x51c1b0,new Map(),new Map());continue;case'3':this[_0xff8939(0x12b)]={};continue;case'4':this[_0xff8939(0xb3)]=_0x1da21a;continue;case'5':process[_0xff8939(0xc5)][_0xff8939(0x17b)]&&(PerformanceTester[_0xff8939(0xb2)](_0x36f65a[_0xff8939(0x165)]),process[_0xff8939(0xc5)][_0xff8939(0xbe)]=new Date()[_0xff8939(0xe8)]());continue;case'6':this[_0xff8939(0xbd)]=![];continue;}break;}}async[a41_0x1e0459(0xc3)](){const _0x52f406=a41_0x1e0459;TestDetails[_0x52f406(0x169)](),await this[_0x52f406(0x167)]();}async[a41_0x1e0459(0xd9)](_0xd0f0bf,_0x1f6fbc){const _0x5a7d4d=a41_0x1e0459,_0x344d6a={'ahVfs':function(_0x52823d,_0x1358f5){return _0x52823d(_0x1358f5);},'hPsDw':_0x5a7d4d(0x156)},_0x40eb22=this[_0x5a7d4d(0x130)](_0xd0f0bf),_0x6c0d7f=TestDetails[_0x5a7d4d(0xaa)](this[_0x5a7d4d(0x14f)](_0xd0f0bf,_0x1f6fbc[_0x5a7d4d(0x158)]));process[_0x5a7d4d(0xc5)][_0x5a7d4d(0x146)]=_0x6c0d7f;const _0x285010={};_0x285010[_0x5a7d4d(0x155)]=_0x6c0d7f,_0x285010[_0x5a7d4d(0x14d)]=_0x1f6fbc['startTime'],this[_0x5a7d4d(0x12b)][_0x40eb22]=_0x285010,_0x344d6a[_0x5a7d4d(0x182)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x40eb22),await this[_0x5a7d4d(0xa2)](_0xd0f0bf,_0x344d6a['hPsDw'],_0x1f6fbc);}async['onStepBegin'](_0x104590,_0x5b86a4,_0x428921){const _0x488d01=a41_0x1e0459,_0x2b3b3a={'TtSen':function(_0x5a36e7,_0x4b035b){return _0x5a36e7(_0x4b035b);},'XSKaz':_0x488d01(0xb4)};if(!this[_0x488d01(0xc1)](_0x428921,_0x104590))return;const _0x554a4e=this[_0x488d01(0x17c)](_0x104590,_0x428921);this[_0x488d01(0x12b)][_0x554a4e]={'uuid':TestDetails[_0x488d01(0xaa)](_0x554a4e),'startedAt':_0x428921[_0x488d01(0x171)][_0x488d01(0xe8)]()};const _0x4dcb1a=this[_0x488d01(0x14f)](_0x104590,_0x5b86a4[_0x488d01(0x158)]);!this[_0x488d01(0xe6)][_0x4dcb1a]&&(this[_0x488d01(0xe6)][_0x4dcb1a]=[]),this[_0x488d01(0xe6)][_0x4dcb1a][_0x488d01(0x98)](this['_tests'][_0x554a4e][_0x488d01(0x155)]),_0x2b3b3a[_0x488d01(0x9c)](trace,_0x488d01(0x15d)+_0x554a4e+_0x488d01(0xee)+_0x4dcb1a),await this['sendHookRunEvent'](_0x104590,_0x428921,_0x2b3b3a[_0x488d01(0xf7)],_0x5b86a4);}async[a41_0x1e0459(0x13e)](_0xde06d3,_0x27c2e8,_0x3a9d4f){const _0x3bc00c=a41_0x1e0459,_0x35dade={'RBkdD':function(_0x578ac0,_0x414d4d){return _0x578ac0+_0x414d4d;},'NJxiM':function(_0x218b59,_0x2b6fb8){return _0x218b59(_0x2b6fb8);},'wBphE':_0x3bc00c(0x104)};if(!this[_0x3bc00c(0xc1)](_0x3a9d4f,_0xde06d3))return;const _0x595cbc=this[_0x3bc00c(0x95)](_0xde06d3,_0x3a9d4f);this[_0x3bc00c(0x12b)][_0x595cbc]={...this[_0x3bc00c(0x12b)][_0x595cbc]||{},'finishedAt':new Date(_0x35dade[_0x3bc00c(0xfe)](_0x3a9d4f[_0x3bc00c(0x171)][_0x3bc00c(0x11f)](),_0x3a9d4f[_0x3bc00c(0xaf)]))},_0x35dade[_0x3bc00c(0x135)](trace,_0x3bc00c(0xa9)+_0x595cbc+_0x3bc00c(0xb6)),await this[_0x3bc00c(0x119)](_0xde06d3,_0x3a9d4f,_0x35dade['wBphE'],_0x27c2e8);}async[a41_0x1e0459(0xdb)](_0x16d0ed,_0x3cb260){const _0x2ecf33=a41_0x1e0459,_0x4865d9={'AFoRI':function(_0x31fbe4,_0x18ecea){return _0x31fbe4===_0x18ecea;},'CHvlI':_0x2ecf33(0x122),'HqReW':'TEST_SCREENSHOT','CXZZL':_0x2ecf33(0xf1),'ujjoa':function(_0x12a776,_0x58bcb0){return _0x12a776(_0x58bcb0);},'CaEyJ':_0x2ecf33(0x11c),'uEeTo':_0x2ecf33(0x162),'kUMTH':function(_0x182e6f,_0x4b9fdd){return _0x182e6f(_0x4b9fdd);},'QWyIy':function(_0x1e98ac,_0x2a8be5,_0x46cfb8){return _0x1e98ac(_0x2a8be5,_0x46cfb8);},'tJyXN':function(_0x134856,_0x3661d0){return _0x134856(_0x3661d0);},'dkUWW':_0x2ecf33(0x180),'ofhzu':function(_0x20296e,_0x1aac55){return _0x20296e>_0x1aac55;}},_0x39f696=this[_0x2ecf33(0x130)](_0x16d0ed),_0x260656=TestDetails['getTestUUID'](this[_0x2ecf33(0x14f)](_0x16d0ed,_0x3cb260['retry']));this[_0x2ecf33(0x12b)][_0x39f696]={...this[_0x2ecf33(0x12b)][_0x39f696]||{},'finishedAt':new Date()[_0x2ecf33(0xe8)]()},_0x4865d9[_0x2ecf33(0xce)](trace,_0x2ecf33(0x168)+_0x39f696);try{await this[_0x2ecf33(0xa2)](_0x16d0ed,_0x4865d9[_0x2ecf33(0x110)],_0x3cb260);}catch(_0x4c7e5c){_0x4865d9[_0x2ecf33(0xce)](debug,util[_0x2ecf33(0x10d)](_0x4865d9['uEeTo'],_0x4c7e5c[_0x2ecf33(0x9b)]()));}try{_0x4865d9[_0x2ecf33(0x144)](debug,'Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20'+_0x260656),await _0x4865d9[_0x2ecf33(0xb7)](sendTraceZip,_0x3cb260,_0x260656);}catch(_0x532a8a){_0x4865d9[_0x2ecf33(0xdf)](debug,util[_0x2ecf33(0x10d)](_0x4865d9[_0x2ecf33(0x9a)],_0x532a8a[_0x2ecf33(0x9b)]()));}const _0x57478e=[];_0x3cb260[_0x2ecf33(0xeb)]&&_0x3cb260[_0x2ecf33(0xeb)][_0x2ecf33(0x154)](_0x3557c9=>{const _0xf9061c=_0x2ecf33;if(_0x4865d9[_0xf9061c(0x133)](_0x3557c9[_0xf9061c(0x9f)],_0x4865d9[_0xf9061c(0xfb)])){if(!fs[_0xf9061c(0x191)](_0x3557c9[_0xf9061c(0x174)]))return;_0x57478e[_0xf9061c(0x98)]({'test_run_uuid':_0x260656,'timestamp':fs[_0xf9061c(0x10b)](_0x3557c9[_0xf9061c(0x174)])[_0xf9061c(0x134)],'kind':_0x4865d9['HqReW'],'message':fs[_0xf9061c(0xd3)](_0x3557c9[_0xf9061c(0x174)],{'encoding':_0x4865d9[_0xf9061c(0x179)]})});}}),_0x4865d9[_0x2ecf33(0x94)](_0x57478e[_0x2ecf33(0x147)],0x0)&&await MyReporter[_0x2ecf33(0x150)](_0x57478e);}async[a41_0x1e0459(0x16a)](){const _0x50369a=a41_0x1e0459;await RequestQueueHandler['getInstance']()[_0x50369a(0x176)]();}async[a41_0x1e0459(0x11a)](_0x51f759){const _0x5d8827=a41_0x1e0459,_0x4920a0={'MSslO':function(_0x337b0f){return _0x337b0f();},'QFPcj':function(_0x40131a,_0x1d4088){return _0x40131a(_0x1d4088);}};await this['endSession']();try{process['env'][_0x5d8827(0x17b)]&&await _0x4920a0['MSslO'](calculatePerformance);}catch(_0x563276){_0x4920a0[_0x5d8827(0x18b)](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x563276[_0x5d8827(0x9b)]());}}static async[a41_0x1e0459(0x148)](_0x1f08e6,_0x227741){const _0x598df1=a41_0x1e0459;_0x227741[_0x598df1(0x101)]=TestDetails[_0x598df1(0xaa)](_0x1f08e6),await this[_0x598df1(0x150)]([_0x227741]);}static async[a41_0x1e0459(0x150)](_0x14e67c){const _0x2ee112=a41_0x1e0459,_0x1280ab={};_0x1280ab[_0x2ee112(0xe3)]=_0x2ee112(0xcc);const _0x2779aa=_0x1280ab,_0x1b86ec={};_0x1b86ec[_0x2ee112(0x9d)]=_0x2779aa[_0x2ee112(0xe3)],_0x1b86ec[_0x2ee112(0xd1)]=_0x14e67c,await SessionHandler['uploadEventData'](_0x1b86ec);}async[a41_0x1e0459(0x119)](_0x3b0848,_0x1c6ebb,_0x50967d,_0x20e50f){const _0x259dc1=a41_0x1e0459,_0x4e9a01={'RkZyL':_0x259dc1(0xfd),'PUjFO':'javascript','JkjgU':'pending','cAeCZ':function(_0x68e451,_0x347b59){return _0x68e451>=_0x347b59;},'jsJtw':function(_0x423a3d,_0xee04cb){return _0x423a3d===_0xee04cb;},'QkUNm':_0x259dc1(0x104),'EOwgt':function(_0x354195,_0x26b364){return _0x354195>_0x26b364;},'nbyoy':_0x259dc1(0x18f),'GDiNs':function(_0x3914a6,_0x1346d8){return _0x3914a6(_0x1346d8);},'HQCLY':function(_0x4913aa,_0x4f5a07,_0x39aae4){return _0x4913aa(_0x4f5a07,_0x39aae4);},'ylztj':_0x259dc1(0xc9),'GIXmq':_0x259dc1(0x153)},_0x30e71b=this[_0x259dc1(0x95)](_0x3b0848,_0x1c6ebb),_0x4fd4d2=this[_0x259dc1(0x12b)][_0x30e71b],_0x52de8b={'uuid':_0x4fd4d2[_0x259dc1(0x155)],'type':_0x4e9a01[_0x259dc1(0xa8)],'hook_type':this[_0x259dc1(0x111)](_0x1c6ebb[_0x259dc1(0x103)]),'name':_0x1c6ebb[_0x259dc1(0x103)],'scope':this[_0x259dc1(0x16f)](_0x1c6ebb),'scopes':this[_0x259dc1(0xae)](_0x3b0848),'body':{'lang':_0x4e9a01['PUjFO'],'code':null},'identifier':_0x30e71b,'file_name':path[_0x259dc1(0x164)](process[_0x259dc1(0x142)](),_0x3b0848[_0x259dc1(0x97)][_0x259dc1(0xbc)]),'location':path[_0x259dc1(0x164)](process[_0x259dc1(0x142)](),_0x3b0848[_0x259dc1(0x97)]['file']),'result':_0x4e9a01[_0x259dc1(0x161)],'duration_in_ms':_0x4e9a01[_0x259dc1(0x17e)](_0x1c6ebb[_0x259dc1(0xaf)],0x0)?_0x1c6ebb[_0x259dc1(0xaf)]:undefined,'vc_filepath':this['_gitConfigPath']&&_0x3b0848[_0x259dc1(0x97)][_0x259dc1(0xbc)]?path[_0x259dc1(0x164)](this['_gitConfigPath'],_0x3b0848[_0x259dc1(0x97)][_0x259dc1(0xbc)]):undefined,'started_at':_0x4fd4d2[_0x259dc1(0x14d)],'finished_at':_0x4fd4d2['finishedAt'],'framework':FRAMEWORKS[_0x259dc1(0x137)]};if(_0x4e9a01[_0x259dc1(0x178)](_0x50967d,_0x4e9a01[_0x259dc1(0xec)])){const {steps:_0x373666,logs:_0x5e52ae}=this['getStepsAndLogs'](_0x1c6ebb['steps'],_0x4fd4d2[_0x259dc1(0x155)],_0x4e9a01[_0x259dc1(0xa8)]);_0x5e52ae&&_0x4e9a01[_0x259dc1(0x181)](_0x5e52ae[_0x259dc1(0x147)],0x0)&&await MyReporter[_0x259dc1(0x150)](_0x5e52ae);const _0x11a6dc={};_0x11a6dc['steps']=_0x373666,_0x52de8b[_0x259dc1(0x17f)]=_0x11a6dc;if(_0x1c6ebb[_0x259dc1(0x102)]){_0x52de8b[_0x259dc1(0xc8)]=_0x4e9a01[_0x259dc1(0x116)],_0x52de8b[_0x259dc1(0x13b)]=_0x4e9a01['GDiNs'](removeAnsiColors,_0x1c6ebb[_0x259dc1(0x102)][_0x259dc1(0x149)]),_0x52de8b[_0x259dc1(0x18c)]=_0x4e9a01[_0x259dc1(0x8a)](getFailureType,_0x1c6ebb['error'][_0x259dc1(0x149)]);const _0x3f4546=_0x4e9a01['HQCLY'](failureData,_0x1c6ebb['error'],_0x4e9a01['ylztj']);if(_0x3f4546&&_0x4e9a01[_0x259dc1(0x178)](_0x3f4546['length'],0x0)){const _0x1259b8={};_0x1259b8[_0x259dc1(0x159)]=[_0x52de8b[_0x259dc1(0x13b)]],_0x1259b8['expanded']=[],_0x3f4546[_0x259dc1(0x98)](_0x1259b8);}_0x52de8b[_0x259dc1(0xb0)]=_0x3f4546;}else _0x52de8b['result']=_0x4e9a01[_0x259dc1(0x117)];}const _0x2ac176={};_0x2ac176['event_type']=_0x50967d,_0x2ac176['hook_run']=_0x52de8b;const _0x28ca84=_0x2ac176;await SessionHandler[_0x259dc1(0x11d)](_0x28ca84);}['getStepsAndLogs'](_0x14421e,_0x76684e,_0x254c95){const _0x5d5b8d=a41_0x1e0459,_0x1f4c7a={'ONXud':function(_0x1e5e3b,_0x4b244d){return _0x1e5e3b===_0x4b244d;},'deiXl':_0x5d5b8d(0xfd),'wBJEa':_0x5d5b8d(0xd2),'IEVlG':_0x5d5b8d(0x12a),'AvwKo':function(_0x2d7a83,_0x318f1e){return _0x2d7a83===_0x318f1e;},'QhlPh':'test','wQqfe':_0x5d5b8d(0x101),'dBEBo':_0x5d5b8d(0x14e),'FPaRn':_0x5d5b8d(0x96),'Sfpyy':_0x5d5b8d(0x18f),'cHgMf':_0x5d5b8d(0x153),'dfyTF':function(_0x47ca4e,_0x468614){return _0x47ca4e(_0x468614);},'ngagp':function(_0x3440a3,_0x386af4){return _0x3440a3(_0x386af4);},'ZJSzO':function(_0x206cc4){return _0x206cc4();},'UJLJz':function(_0x45e3ea,_0x1ceff5){return _0x45e3ea(_0x1ceff5);},'aamFC':function(_0x3d910c,_0xe02e2d,_0x36758f){return _0x3d910c(_0xe02e2d,_0x36758f);}},_0xf2d9=[],_0x4e742e=[],_0x59cb6b=_0x14421e[_0x5d5b8d(0x14a)](_0x137a71=>{const _0x29da62=_0x5d5b8d;if(_0x1f4c7a[_0x29da62(0x192)](_0x137a71['category'],_0x1f4c7a[_0x29da62(0xa3)])&&(_0x1f4c7a['ONXud'](_0x137a71[_0x29da62(0x103)],_0x1f4c7a[_0x29da62(0x136)])||_0x1f4c7a[_0x29da62(0x192)](_0x137a71[_0x29da62(0x103)],_0x1f4c7a[_0x29da62(0x8e)])))return![];return!![];}),_0x57203d=(_0x598f83,_0x575862=![])=>{const _0x22f2a0=_0x5d5b8d;if(_0x1f4c7a[_0x22f2a0(0x123)](_0x598f83[_0x22f2a0(0xe5)][_0x22f2a0(0x147)],0x0)){const _0x2c8a5d=_0x1f4c7a[_0x22f2a0(0x123)](_0x254c95,_0x1f4c7a[_0x22f2a0(0x15b)])?_0x1f4c7a[_0x22f2a0(0x90)]:_0x1f4c7a['dBEBo'];_0x4e742e[_0x22f2a0(0x98)]({'kind':_0x1f4c7a[_0x22f2a0(0x15c)],[_0x2c8a5d]:_0x76684e,'message':_0x598f83['title'],'timestamp':_0x598f83[_0x22f2a0(0x171)][_0x22f2a0(0xe8)](),'level':_0x598f83[_0x22f2a0(0x102)]?_0x1f4c7a[_0x22f2a0(0x172)]:_0x1f4c7a['cHgMf'],'duration':_0x598f83[_0x22f2a0(0xaf)],'failure':_0x598f83[_0x22f2a0(0x102)]&&_0x598f83['error']['message']&&_0x1f4c7a[_0x22f2a0(0x14b)](removeAnsiColors,_0x598f83[_0x22f2a0(0x102)][_0x22f2a0(0x149)]),'failure_type':_0x1f4c7a[_0x22f2a0(0xe7)](getFailureType,_0x598f83[_0x22f2a0(0x102)]&&_0x598f83['error'][_0x22f2a0(0x149)])});}else{!_0x575862&&_0xf2d9['push']({'id':_0x1f4c7a[_0x22f2a0(0x100)](uuidv4),'text':_0x598f83['title'],'keyword':undefined,'started_at':_0x598f83[_0x22f2a0(0x171)][_0x22f2a0(0xe8)](),'duration':_0x598f83[_0x22f2a0(0xaf)],'result':_0x598f83[_0x22f2a0(0x102)]?_0x1f4c7a[_0x22f2a0(0x172)]:_0x1f4c7a[_0x22f2a0(0xde)],'failure':_0x598f83['error']&&_0x598f83[_0x22f2a0(0x102)][_0x22f2a0(0x149)]&&_0x1f4c7a['dfyTF'](removeAnsiColors,_0x598f83['error']['message']),'failure_type':_0x1f4c7a[_0x22f2a0(0x8d)](getFailureType,_0x598f83[_0x22f2a0(0x102)]&&_0x598f83[_0x22f2a0(0x102)][_0x22f2a0(0x149)])});for(const _0x56d14c of _0x598f83['steps']){_0x1f4c7a['aamFC'](_0x57203d,_0x56d14c,!![]);}}};for(const _0x3f7b80 of _0x59cb6b){_0x1f4c7a[_0x5d5b8d(0xbb)](_0x57203d,_0x3f7b80,![]);}const _0x49e9b9={};return _0x49e9b9[_0x5d5b8d(0xe5)]=_0xf2d9,_0x49e9b9['logs']=_0x4e742e,_0x49e9b9;}async[a41_0x1e0459(0xa2)](_0x5e116d,_0x3f6ce3,_0x3a9f12){const _0x3587fd=a41_0x1e0459,_0x48fc89={'eUVfm':function(_0x5adaeb,_0x2ad7c0){return _0x5adaeb(_0x2ad7c0);},'Twsvo':'TEST_ATTACHMENT','vgbKp':_0x3587fd(0x109),'SSyCj':_0x3587fd(0x11b),'ndlot':'javascript','NGQEL':_0x3587fd(0x129),'gCwHp':function(_0x3a3baa,_0x14639f){return _0x3a3baa(_0x14639f);},'GlIyS':function(_0x4b4803,_0x4e5658,_0x4ba77c,_0x19826c,_0x543f3c){return _0x4b4803(_0x4e5658,_0x4ba77c,_0x19826c,_0x543f3c);},'ZBGJJ':function(_0x39a3ae,_0x1e82ed){return _0x39a3ae>_0x1e82ed;},'awAdk':function(_0x560210,_0x1d3254){return _0x560210-_0x1d3254;},'iWCnr':function(_0x3b32a8,_0x1ad1a){return _0x3b32a8===_0x1ad1a;},'YEnvn':_0x3587fd(0x11c),'RfYjp':function(_0x162716,_0x2d4d52){return _0x162716===_0x2d4d52;},'LdjYZ':_0x3587fd(0x152),'gaSjy':_0x3587fd(0x153),'pUUJF':function(_0x277552,_0x17434d){return _0x277552===_0x17434d;},'Eslag':function(_0x2fab19,_0x21ac9d){return _0x2fab19===_0x21ac9d;},'DOCEy':'failed','UTZVZ':_0x3587fd(0xef),'dxdwX':function(_0x320665,_0x6cdf97){return _0x320665===_0x6cdf97;},'YrjFJ':function(_0x1228d8,_0x5ec548){return _0x1228d8===_0x5ec548;},'XQsHc':_0x3587fd(0x12e),'daHXm':function(_0x54304d,_0x4cfc4c){return _0x54304d(_0x4cfc4c);},'jNdLm':function(_0x5050dc,_0x47a65a){return _0x5050dc(_0x47a65a);},'OENbt':function(_0x5b928f,_0x1218f5,_0x10e7c8){return _0x5b928f(_0x1218f5,_0x10e7c8);},'KaQNJ':function(_0x24243c,_0x222887){return _0x24243c===_0x222887;},'MFSmI':_0x3587fd(0x174),'ZBsms':function(_0x2eb53c,_0x2e7a0c){return _0x2eb53c(_0x2e7a0c);},'IFgJY':_0x3587fd(0xab),'AcnbM':_0x3587fd(0xc0),'DsNfM':function(_0x1ff17a,_0x3b5719){return _0x1ff17a(_0x3b5719);},'vSzpY':function(_0x4d7d24,_0x51c7a8){return _0x4d7d24!==_0x51c7a8;},'UEgBd':function(_0xe1c66f,_0x3b65df){return _0xe1c66f===_0x3b65df;}},_0x8661bf=this[_0x3587fd(0x130)](_0x5e116d),_0x2bab30=this['getScope'](_0x5e116d),_0x539764=this[_0x3587fd(0x12b)][_0x8661bf],_0x55645d=path[_0x3587fd(0x164)](process[_0x3587fd(0x142)](),_0x5e116d[_0x3587fd(0x97)]['file']);await this[_0x3587fd(0x167)]();const _0x360500={'uuid':_0x539764[_0x3587fd(0x155)],'type':_0x48fc89[_0x3587fd(0x118)],'name':_0x5e116d[_0x3587fd(0x103)],'body':{'lang':_0x48fc89[_0x3587fd(0x14c)],'code':_0x5e116d['fn']['toString']()},'scope':_0x2bab30,'scopes':this[_0x3587fd(0xae)](_0x5e116d),'identifier':_0x8661bf,'file_name':_0x55645d,'location':_0x55645d,'result':_0x48fc89['NGQEL'],'duration_in_ms':_0x3a9f12&&_0x3a9f12[_0x3587fd(0xaf)]?_0x3a9f12[_0x3587fd(0xaf)]:null,'vc_filepath':this[_0x3587fd(0x138)]&&_0x5e116d[_0x3587fd(0x97)][_0x3587fd(0xbc)]?path[_0x3587fd(0x164)](this[_0x3587fd(0x138)],_0x5e116d[_0x3587fd(0x97)][_0x3587fd(0xbc)]):undefined,'started_at':_0x539764[_0x3587fd(0x14d)],'finished_at':_0x539764[_0x3587fd(0x120)],'framework':FRAMEWORKS[_0x3587fd(0x137)],'customRerunParam':{'rerun_name':this['getCustomRerunParam'](_0x5e116d)},'tags':_0x48fc89[_0x3587fd(0xc7)](getTestTags,_0x5e116d)};_0x48fc89[_0x3587fd(0x12f)](appendTesthubParams,_0x360500,_0x3f6ce3,_0x5e116d,FRAMEWORKS[_0x3587fd(0x137)]);_0x3a9f12&&_0x48fc89[_0x3587fd(0x13d)](_0x3a9f12[_0x3587fd(0x158)],0x0)&&(_0x360500['retry_of']=TestDetails['getTestUUID'](this[_0x3587fd(0x14f)](_0x5e116d,_0x48fc89[_0x3587fd(0xbf)](_0x3a9f12[_0x3587fd(0x158)],0x1))));if(_0x48fc89[_0x3587fd(0x187)](_0x3f6ce3,_0x48fc89['YEnvn'])){_0x360500[_0x3587fd(0xc8)]=_0x3a9f12[_0x3587fd(0x131)];if(_0x48fc89[_0x3587fd(0xc6)](_0x3a9f12[_0x3587fd(0x131)],_0x5e116d[_0x3587fd(0xd0)]))_0x360500[_0x3587fd(0xc8)]=_0x48fc89['RfYjp'](_0x3a9f12[_0x3587fd(0x131)],_0x48fc89[_0x3587fd(0xe0)])?_0x48fc89[_0x3587fd(0xe0)]:_0x48fc89[_0x3587fd(0xca)];else{(_0x48fc89[_0x3587fd(0x18a)](_0x360500[_0x3587fd(0xc8)],_0x48fc89['gaSjy'])||_0x48fc89['Eslag'](_0x360500['result'],_0x48fc89[_0x3587fd(0xd7)])||_0x48fc89['RfYjp'](_0x360500[_0x3587fd(0xc8)],_0x48fc89[_0x3587fd(0x10c)]))&&(_0x360500[_0x3587fd(0xc8)]=_0x48fc89[_0x3587fd(0xd7)]);if(_0x48fc89[_0x3587fd(0xa4)](_0x3a9f12['status'],_0x48fc89[_0x3587fd(0xca)])&&_0x48fc89[_0x3587fd(0xf3)](_0x5e116d['expectedStatus'],_0x48fc89[_0x3587fd(0xd7)])){const _0x14107d={};_0x14107d[_0x3587fd(0x149)]=_0x48fc89[_0x3587fd(0xa7)],_0x14107d[_0x3587fd(0x93)]=_0x48fc89[_0x3587fd(0xa7)],_0x3a9f12[_0x3587fd(0x102)]=_0x14107d,_0x3a9f12['errors']=[_0x3a9f12[_0x3587fd(0x102)]];}}const _0x567ed8=this['getTestRunIdentifier'](_0x5e116d,_0x3a9f12['retry']);_0x360500['hooks']=this[_0x3587fd(0xe6)][_0x567ed8];const {steps:_0x24aa65,logs:_0x5140c3}=this[_0x3587fd(0x13a)](_0x3a9f12[_0x3587fd(0xe5)],_0x539764[_0x3587fd(0x155)],_0x48fc89['SSyCj']);await MyReporter[_0x3587fd(0x150)](_0x5140c3);const _0x111594={};_0x111594[_0x3587fd(0xe5)]=_0x24aa65,_0x360500[_0x3587fd(0x17f)]=_0x111594;if(_0x3a9f12[_0x3587fd(0x102)]){_0x360500[_0x3587fd(0x13b)]=_0x48fc89[_0x3587fd(0xf9)](removeAnsiColors,_0x3a9f12['error'][_0x3587fd(0x149)]),_0x360500[_0x3587fd(0x18c)]=_0x48fc89[_0x3587fd(0xf5)](getFailureType,_0x3a9f12['error']['message']);const _0x4c0944={};_0x4c0944[_0x3587fd(0x101)]=_0x539764[_0x3587fd(0x155)];const {failureData:_0x4bef86,logs:_0x4619fd}=_0x48fc89[_0x3587fd(0x124)](getFailureData,_0x3a9f12['errors'],_0x4c0944);if(_0x4bef86&&_0x48fc89[_0x3587fd(0x139)](_0x4bef86[_0x3587fd(0x147)],0x0)){const _0x17f9c0={};_0x17f9c0[_0x3587fd(0x159)]=[_0x360500[_0x3587fd(0x13b)]],_0x17f9c0['expanded']=[],_0x4bef86[_0x3587fd(0x98)](_0x17f9c0);}_0x360500[_0x3587fd(0xb0)]=_0x4bef86,_0x4619fd&&_0x48fc89[_0x3587fd(0x13d)](_0x4619fd[_0x3587fd(0x147)],0x0)&&await MyReporter[_0x3587fd(0x150)](_0x4619fd);}}let _0xc44c5b=_0x48fc89['OENbt'](findNestedKey,_0x3a9f12,_0x48fc89[_0x3587fd(0xac)]);if(_0xc44c5b&&_0x48fc89[_0x3587fd(0x170)](validateFilePath,_0xc44c5b))_0x48fc89[_0x3587fd(0x170)](debug,_0x3587fd(0x11e)+_0x539764[_0x3587fd(0x155)]+_0x3587fd(0x17a)+_0xc44c5b);else{const _0x58f744=path[_0x3587fd(0xf2)](helper['homedir'](),_0x48fc89[_0x3587fd(0x112)]);!fs[_0x3587fd(0x191)](_0x58f744)&&fs[_0x3587fd(0x16d)](_0x58f744),fs[_0x3587fd(0x191)](path[_0x3587fd(0xf2)](_0x58f744,_0x3587fd(0xb8)+_0x539764[_0x3587fd(0x155)]+_0x3587fd(0x193)))&&(_0xc44c5b=fs[_0x3587fd(0xd3)](path['join'](_0x58f744,_0x3587fd(0xb8)+_0x539764[_0x3587fd(0x155)]+_0x3587fd(0x193)),_0x48fc89['AcnbM']),_0x48fc89['DsNfM'](debug,_0x3587fd(0x11e)+_0x539764[_0x3587fd(0x155)]+_0x3587fd(0x17a)+_0xc44c5b));}const _0x11d814={};_0x11d814[_0x3587fd(0x9d)]=_0x3f6ce3,_0x11d814[_0x3587fd(0x16c)]=_0x360500;const _0x278217=_0x11d814;_0xc44c5b&&_0x48fc89[_0x3587fd(0x173)](_0xc44c5b,'')&&_0x48fc89[_0x3587fd(0xb9)](_0x3f6ce3,_0x48fc89['YEnvn'])&&(!_0x278217[_0x3587fd(0xd1)]&&(_0x278217[_0x3587fd(0xd1)]=[]),_0xc44c5b[_0x3587fd(0xc4)]('\x0a')[_0x3587fd(0xcf)](_0xcc2b63=>{const _0x250db1=_0x3587fd;_0xcc2b63&&_0x48fc89[_0x250db1(0x105)](validateFilePath,_0xcc2b63)&&_0x278217[_0x250db1(0xd1)][_0x250db1(0x98)]({'kind':_0x48fc89[_0x250db1(0xf4)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x539764[_0x250db1(0x155)],'file_name':path[_0x250db1(0xed)](_0xcc2b63),'file_size':fs['statSync'](_0xcc2b63)['size'],'attachment_type':_0x48fc89[_0x250db1(0xf0)]});})),await SessionHandler[_0x3587fd(0x11d)](_0x278217);}['getCustomRerunParam'](_0x542bbe){const _0x2d106e=a41_0x1e0459,_0x56ae39={};_0x56ae39[_0x2d106e(0xba)]=function(_0x2f1fea,_0x2dca12){return _0x2f1fea===_0x2dca12;},_0x56ae39[_0x2d106e(0xd4)]=function(_0x66197,_0x3dc7ad){return _0x66197>_0x3dc7ad;},_0x56ae39['jOEoW']=function(_0x4a13de,_0x2a9815){return _0x4a13de+_0x2a9815;},_0x56ae39[_0x2d106e(0x15a)]=function(_0x17ad68,_0x248322){return _0x17ad68+_0x248322;},_0x56ae39[_0x2d106e(0x184)]=function(_0x4800bc,_0x12e8b0){return _0x4800bc>_0x12e8b0;};const _0x161535=_0x56ae39,_0x397749=_0x542bbe['titlePath']()['map'](_0x3fbb27=>{const _0x5f5bdd=_0x2d106e;if(_0x542bbe[_0x5f5bdd(0x157)]&&_0x161535[_0x5f5bdd(0xba)](_0x3fbb27,_0x542bbe['parent'][_0x5f5bdd(0x103)])&&_0x542bbe[_0x5f5bdd(0x157)][_0x5f5bdd(0x121)]&&_0x161535[_0x5f5bdd(0xd4)](_0x542bbe['parent'][_0x5f5bdd(0x121)]['length'],0x0))return _0x161535[_0x5f5bdd(0x12d)](_0x161535[_0x5f5bdd(0x15a)](_0x3fbb27,'\x20'),_0x542bbe[_0x5f5bdd(0x157)][_0x5f5bdd(0x121)][_0x5f5bdd(0xf2)]('\x20'));if(_0x161535[_0x5f5bdd(0xba)](_0x3fbb27,_0x542bbe[_0x5f5bdd(0x103)])&&_0x542bbe[_0x5f5bdd(0x121)]&&_0x161535[_0x5f5bdd(0x184)](_0x542bbe['_tags']['length'],0x0))return _0x161535[_0x5f5bdd(0x12d)](_0x161535[_0x5f5bdd(0x12d)](_0x3fbb27,'\x20'),_0x542bbe['_tags'][_0x5f5bdd(0xf2)]('\x20'));return _0x3fbb27;})[_0x2d106e(0xf2)]('\x20');return _0x397749;}static async[a41_0x1e0459(0x175)](_0x33cd7e,_0x287dcb){const _0x5e5b19=a41_0x1e0459,_0x596c16={'fwGOI':function(_0x266aea,_0x5d664e){return _0x266aea(_0x5d664e);},'sNXrN':_0x5e5b19(0xb1)},_0x5f3d4d={'uuid':TestDetails[_0x5e5b19(0xaa)](_0x33cd7e),'integrations':_0x287dcb},_0x3b50fe={};_0x3b50fe[_0x5e5b19(0x163)]=null,_0x596c16[_0x5e5b19(0x15f)](debug,_0x5e5b19(0x16e)+_0x33cd7e+',\x20'+util['inspect'](_0x287dcb,_0x3b50fe));const _0x9731a2={};_0x9731a2[_0x5e5b19(0x9d)]=_0x596c16[_0x5e5b19(0xda)],_0x9731a2[_0x5e5b19(0x16c)]=_0x5f3d4d,await SessionHandler[_0x5e5b19(0x11d)](_0x9731a2);}async[a41_0x1e0459(0x167)](){const _0x34a9cd=a41_0x1e0459,_0x452997={'JHfGx':function(_0x1ec640){return _0x1ec640();}};if(this[_0x34a9cd(0xbd)])return;const _0x7ec8cb=await _0x452997[_0x34a9cd(0xff)](getGitMetaData);_0x7ec8cb&&(this[_0x34a9cd(0x138)]=_0x7ec8cb['root']),this[_0x34a9cd(0xbd)]=!![];}['getHierarchy'](_0x2dc9f4){const _0x1b468a=a41_0x1e0459,_0x826322={};_0x826322['mjnHW']=function(_0x39e3db,_0x4959a1){return _0x39e3db!==_0x4959a1;};const _0x1f0789=_0x826322,_0x2d86c9=[];if(_0x2dc9f4&&_0x2dc9f4[_0x1b468a(0x157)]){let _0x101748=_0x2dc9f4['parent'];while(_0x101748&&_0x1f0789[_0x1b468a(0x9e)](_0x101748[_0x1b468a(0x103)],'')){_0x2d86c9[_0x1b468a(0x98)](_0x101748['title']),_0x101748=_0x101748['parent'];}}return _0x2d86c9['reverse']()['splice'](0x0,0x2),_0x2d86c9;}[a41_0x1e0459(0xc1)](_0xd0a5d1){const _0x11f534=a41_0x1e0459,_0x30f639={};_0x30f639['hNGqZ']=function(_0x569a7c,_0x3da89a){return _0x569a7c!==_0x3da89a;},_0x30f639[_0x11f534(0xb5)]=_0x11f534(0xfd),_0x30f639[_0x11f534(0x177)]=function(_0x38a3a5,_0x54fd29){return _0x38a3a5===_0x54fd29;},_0x30f639[_0x11f534(0x108)]=_0x11f534(0x141),_0x30f639['tYUrN']=_0x11f534(0x18e),_0x30f639[_0x11f534(0x10a)]=_0x11f534(0xe4),_0x30f639[_0x11f534(0x143)]='afterEach\x20hook';const _0x5c9a4c=_0x30f639;if(_0x5c9a4c[_0x11f534(0x115)](_0xd0a5d1[_0x11f534(0x160)],_0x5c9a4c[_0x11f534(0xb5)]))return![];if(_0x5c9a4c[_0x11f534(0x177)]([_0x5c9a4c[_0x11f534(0x108)],_0x5c9a4c['tYUrN'],_0x5c9a4c[_0x11f534(0x10a)],_0x5c9a4c[_0x11f534(0x143)]][_0x11f534(0x17d)](_0xd0a5d1['title']),-0x1))return![];return!![];}[a41_0x1e0459(0x95)](_0x2e14a9,_0x1a5743){const _0x4c1fbc=a41_0x1e0459,_0x1d2415=_0x1a5743[_0x4c1fbc(0x8f)];if(_0x1d2415)return _0x1d2415;return _0x1a5743[_0x4c1fbc(0x103)]+_0x4c1fbc(0x183)+this['getTestIdentifier'](_0x2e14a9);}[a41_0x1e0459(0x17c)](_0x2b7a70,_0x4b750a){const _0x218bd8=a41_0x1e0459,_0x34441e={'VuKKc':function(_0x36ba73){return _0x36ba73();}};let _0x5b07e0=_0x4b750a[_0x218bd8(0x103)]+_0x218bd8(0x183)+this[_0x218bd8(0x130)](_0x2b7a70);return this[_0x218bd8(0x12b)][_0x5b07e0]&&(_0x5b07e0=_0x5b07e0+'\x20-\x20'+_0x34441e[_0x218bd8(0x10e)](uuidv4)),_0x4b750a[_0x218bd8(0x8f)]=_0x5b07e0,_0x5b07e0;}['getTestIdentifier']=_0x4b73e6=>{const _0x5987d7=a41_0x1e0459,_0x536b03={};_0x536b03[_0x5987d7(0x92)]=function(_0x1c987c,_0x34919a){return _0x1c987c+_0x34919a;},_0x536b03['JKBZB']=function(_0xe5ffdb,_0x38102b){return _0xe5ffdb+_0x38102b;};const _0x4212a9=_0x536b03;return _0x4212a9['Fqysy'](_0x4212a9[_0x5987d7(0x126)](_0x4b73e6[_0x5987d7(0xd6)],'-'),_0x4b73e6['id']);};[a41_0x1e0459(0x14f)]=(_0x55c6ad,_0x11467b)=>{const _0x1cf3ba=a41_0x1e0459,_0x23dc62={};_0x23dc62['EMbLm']=function(_0x361d15,_0x2c41a7){return _0x361d15+_0x2c41a7;},_0x23dc62[_0x1cf3ba(0x190)]=function(_0x2a6af9,_0x1cf1fd){return _0x2a6af9+_0x1cf1fd;};const _0x21c5c3=_0x23dc62;return _0x21c5c3[_0x1cf3ba(0x189)](_0x21c5c3[_0x1cf3ba(0x190)](this[_0x1cf3ba(0x130)](_0x55c6ad),'-'),_0x11467b);};['getHookType']=_0x1956e4=>{const _0x45fc28=a41_0x1e0459,_0xd9c2b9={};_0xd9c2b9[_0x45fc28(0x91)]='beforeEach\x20hook',_0xd9c2b9['ObWEc']=_0x45fc28(0x107),_0xd9c2b9[_0x45fc28(0x185)]=_0x45fc28(0x18e),_0xd9c2b9[_0x45fc28(0x13f)]=_0x45fc28(0x99),_0xd9c2b9[_0x45fc28(0x188)]=_0x45fc28(0xf6),_0xd9c2b9['kcwNU']='AFTER_EACH',_0xd9c2b9[_0x45fc28(0x15e)]=_0x45fc28(0xe4),_0xd9c2b9['JugNI']='AFTER_ALL',_0xd9c2b9[_0x45fc28(0xea)]=_0x45fc28(0xa1);const _0x34a105=_0xd9c2b9;if(_0x1956e4[_0x45fc28(0x151)](_0x34a105[_0x45fc28(0x91)]))return _0x34a105['ObWEc'];else{if(_0x1956e4[_0x45fc28(0x151)](_0x34a105[_0x45fc28(0x185)]))return _0x34a105[_0x45fc28(0x13f)];else{if(_0x1956e4[_0x45fc28(0x151)](_0x34a105[_0x45fc28(0x188)]))return _0x34a105[_0x45fc28(0xa0)];else{if(_0x1956e4[_0x45fc28(0x151)](_0x34a105[_0x45fc28(0x15e)]))return _0x34a105[_0x45fc28(0xc2)];}}}return _0x34a105[_0x45fc28(0xea)];};[a41_0x1e0459(0x16f)]=_0x3d9d8b=>{const _0x399bc2=a41_0x1e0459,_0x51b81e={};_0x51b81e['jXAXt']=function(_0x484e44,_0x12f9f1){return _0x484e44===_0x12f9f1;},_0x51b81e[_0x399bc2(0x113)]=_0x399bc2(0x125);const _0xa29246=_0x51b81e;let _0x1544c0=_0x3d9d8b[_0x399bc2(0x157)];return _0xa29246[_0x399bc2(0x106)](typeof _0x3d9d8b[_0x399bc2(0x157)],_0xa29246['PLeEx'])&&(_0x1544c0=_0x1544c0[_0x399bc2(0x103)]),_0x1544c0+'\x20-\x20'+_0x3d9d8b[_0x399bc2(0x103)];};[a41_0x1e0459(0x140)](){return![];}}module[a41_0x1e0459(0xf8)]=o11yClassErrorHandler(MyReporter,[a41_0x1e0459(0xc3),a41_0x1e0459(0x16a),a41_0x1e0459(0xd9),a41_0x1e0459(0xdb),a41_0x1e0459(0xe9),a41_0x1e0459(0x13e),a41_0x1e0459(0x175)],a41_0x1e0459(0x145));
@@ -1 +1 @@
1
- const a42_0x402911=a42_0xdbe2;(function(_0x3c0d75,_0x40a604){const _0x855e9=a42_0xdbe2,_0x4feb73=_0x3c0d75();while(!![]){try{const _0xcd85f9=-parseInt(_0x855e9(0x6a))/0x1*(-parseInt(_0x855e9(0xb9))/0x2)+parseInt(_0x855e9(0xb8))/0x3*(-parseInt(_0x855e9(0xc9))/0x4)+-parseInt(_0x855e9(0x69))/0x5+-parseInt(_0x855e9(0x7e))/0x6+parseInt(_0x855e9(0xa3))/0x7+-parseInt(_0x855e9(0x94))/0x8+parseInt(_0x855e9(0xb6))/0x9*(parseInt(_0x855e9(0x71))/0xa);if(_0xcd85f9===_0x40a604)break;else _0x4feb73['push'](_0x4feb73['shift']());}catch(_0x3ef006){_0x4feb73['push'](_0x4feb73['shift']());}}}(a42_0x520f,0xc9dd2));function a42_0x520f(){const _0x591c14=['uuid','406872MZyxUd','retry','mkdirSync','getAccessibilityPlatformValidation','getTestIdFromTestInfo','homedir','traceZipDir','SWPHI','MeZcF','join','cwd','getStoreDirName','mIYxz','vOfIT','error','parse','mzmiB','uyHFd','appendFileSync','mXTdM','filePath','SfoxW','994680CNEdta','env','WPMGO','kluxq','FfPAH','some','aWmhw','default','toString','sGWjL','../../../helpers/test-observability/constants','utf8','dirPath','getProjectIdFromTestInfo','rmSync','9087491nIShyH','getTestUUID','xGscl','getTraceZipDir','_traceZipPaths.json','getStoreDirPath','writeFileSync','readFileSync','UwOjg','BS_TESTOPS_BUILD_HASHED_ID','values','util','path','existsSync','project','endsWith','sGhpW','string','getFilePath','9ACPepO','Nagfj','1299PRmXGh','7166PdARhH','setup','IQPbm','tests','format','getTestDetails','jrxhs','testId','Error\x20reading\x20trace\x20file\x20paths:\x20%s','yjYgA','addTraceFilePath','_test','pid','stringify','message','winstonLogger','7240afDLCH','.json','shutdown','recursive','../../../helpers/helper','1771880WHGYwT','139BKWHkx','force','appendToTracePaths','getTestRunIdFromTestInfo','.txt','eUeHf','setTestDetails','3608370XEBiAF','traceZipPaths','_platformDetails.json','fneot','getTraceFilePaths','ZdgGS','forEach','PtplT','lvhcx','3|0|2|4|1','lIRVg','Error\x20handling\x20trace\x20file\x20paths:\x20'];a42_0x520f=function(){return _0x591c14;};return a42_0x520f();}function a42_0xdbe2(_0x57c89f,_0x11df06){const _0x520fce=a42_0x520f();return a42_0xdbe2=function(_0xdbe266,_0x2555db){_0xdbe266=_0xdbe266-0x67;let _0x2dbfce=_0x520fce[_0xdbe266];return _0x2dbfce;},a42_0xdbe2(_0x57c89f,_0x11df06);}const fs=require('fs'),path=require(a42_0x402911(0xaf)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x402911(0x9e)),{nestedKeyValue}=require(a42_0x402911(0x68)),logger=require('../../../helpers/logger')[a42_0x402911(0xc8)],util=require(a42_0x402911(0xae)),helper=require(a42_0x402911(0x68));class TestDetails{static [a42_0x402911(0xbc)]={};static ['dirPath']=path[a42_0x402911(0x87)](process[a42_0x402911(0x88)](),TestDetails[a42_0x402911(0x89)]());static ['traceZipDir']=path[a42_0x402911(0x87)](TestDetails[a42_0x402911(0xa0)],a42_0x402911(0x72));static[a42_0x402911(0xba)](){const _0x35804e=a42_0x402911,_0x349cf2={};_0x349cf2['eUeHf']=_0x35804e(0x7a),_0x349cf2['fneot']=_0x35804e(0x72);const _0x25f251=_0x349cf2,_0x568011=_0x25f251[_0x35804e(0x6f)]['split']('|');let _0x619f12=0x0;while(!![]){switch(_0x568011[_0x619f12++]){case'0':this[_0x35804e(0x84)]=path[_0x35804e(0x87)](this['dirPath'],_0x25f251[_0x35804e(0x74)]);continue;case'1':const _0x4fed88={};_0x4fed88['recursive']=!![],fs[_0x35804e(0x80)](this[_0x35804e(0x84)],_0x4fed88);continue;case'2':this[_0x35804e(0xcb)]();continue;case'3':this[_0x35804e(0xa0)]=path['join'](process[_0x35804e(0x88)](),TestDetails[_0x35804e(0x89)]());continue;case'4':const _0x56727={};_0x56727[_0x35804e(0x67)]=!![],fs[_0x35804e(0x80)](this[_0x35804e(0xa0)],_0x56727);continue;}break;}}static[a42_0x402911(0x89)](){const _0x1f6a9f=a42_0x402911,_0x35fa53={};_0x35fa53['kluxq']=function(_0x13cdaa,_0x3d4ef8){return _0x13cdaa+_0x3d4ef8;};const _0x2aaeeb=_0x35fa53;return _0x2aaeeb[_0x1f6a9f(0x97)](_0x2aaeeb[_0x1f6a9f(0x97)](TEMP_STORE_DIR_NAME,'-'),process[_0x1f6a9f(0x95)][_0x1f6a9f(0xac)]);}static['getStoreDirPath'](){const _0x39b81e=a42_0x402911,_0x55babb={};_0x55babb[_0x39b81e(0x79)]=function(_0x4d2054,_0x480a7a){return _0x4d2054+_0x480a7a;},_0x55babb[_0x39b81e(0x91)]=_0x39b81e(0x9b);const _0x192122=_0x55babb;return path[_0x39b81e(0x87)](process[_0x39b81e(0x88)](),_0x192122[_0x39b81e(0x79)](_0x192122[_0x39b81e(0x79)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x39b81e(0xac)]||_0x192122[_0x39b81e(0x91)]));}static[a42_0x402911(0xa6)](){const _0x1bcf4c=a42_0x402911,_0x29b08a={};_0x29b08a[_0x1bcf4c(0x8f)]='traceZipPaths';const _0xba9d=_0x29b08a;return path[_0x1bcf4c(0x87)](this[_0x1bcf4c(0xa8)](),_0xba9d[_0x1bcf4c(0x8f)]);}static[a42_0x402911(0xb5)](_0xd49f10){const _0x3ea95b=a42_0x402911,_0x5a529f={};_0x5a529f[_0x3ea95b(0x76)]=function(_0x19e4d3,_0x4cad69){return _0x19e4d3+_0x4cad69;},_0x5a529f[_0x3ea95b(0xc2)]=_0x3ea95b(0xca);const _0x5dedf6=_0x5a529f;return path[_0x3ea95b(0x87)](this[_0x3ea95b(0xa0)],_0x5dedf6[_0x3ea95b(0x76)](_0xd49f10,_0x5dedf6[_0x3ea95b(0xc2)]));}static[a42_0x402911(0x6d)](_0x33ff75){const _0x57a994=a42_0x402911,_0x2828fc={};_0x2828fc[_0x57a994(0x86)]=function(_0x479c11,_0x2a341a){return _0x479c11+_0x2a341a;},_0x2828fc[_0x57a994(0x96)]=function(_0x1b38c1,_0x2b420f){return _0x1b38c1+_0x2b420f;},_0x2828fc[_0x57a994(0x78)]=function(_0x31babd,_0x40b32a){return _0x31babd+_0x40b32a;};const _0x32ebf8=_0x2828fc;return _0x32ebf8[_0x57a994(0x86)](_0x32ebf8[_0x57a994(0x96)](_0x32ebf8[_0x57a994(0x78)](_0x32ebf8['MeZcF'](this[_0x57a994(0xa1)](_0x33ff75),'-'),this['getTestIdFromTestInfo'](_0x33ff75)),'-'),_0x33ff75[_0x57a994(0x7f)]);}static[a42_0x402911(0xa1)](_0x51537c){const _0x5a0955=a42_0x402911,_0x58e4f6={'aWmhw':function(_0x358079,_0x4d85a2,_0x1481d0){return _0x358079(_0x4d85a2,_0x1481d0);},'SfoxW':_0x5a0955(0xc4),'mIYxz':'_projectId','UwOjg':_0x5a0955(0xb1),'Nagfj':'__projectId'};return _0x58e4f6['aWmhw'](nestedKeyValue,_0x51537c,[_0x58e4f6[_0x5a0955(0x93)],_0x58e4f6[_0x5a0955(0x8a)]])||_0x58e4f6[_0x5a0955(0x9a)](nestedKeyValue,_0x51537c,[_0x58e4f6[_0x5a0955(0xab)],_0x58e4f6[_0x5a0955(0xb7)]]);}static[a42_0x402911(0x82)](_0x89b2b3){const _0x239698=a42_0x402911,_0x29dacc={'IQPbm':function(_0x584c66,_0xecd799,_0x4b9c0c){return _0x584c66(_0xecd799,_0x4b9c0c);},'xGscl':'_test'};return _0x29dacc[_0x239698(0xbb)](nestedKeyValue,_0x89b2b3,[_0x29dacc[_0x239698(0xa5)],'id'])||_0x89b2b3[_0x239698(0xc0)];}static[a42_0x402911(0xa4)](_0x1abcf8){const _0x3c5500=a42_0x402911,_0x3c16fa={'sGhpW':function(_0x314a3a,_0x3a0a68){return _0x314a3a===_0x3a0a68;},'jrxhs':_0x3c5500(0xb4),'vOfIT':function(_0x2ef7ed){return _0x2ef7ed();}};if(this[_0x3c5500(0xbc)][_0x1abcf8]&&_0x3c16fa[_0x3c5500(0xb3)](typeof this['tests'][_0x1abcf8][_0x3c5500(0x7d)],_0x3c16fa[_0x3c5500(0xbf)]))return this['tests'][_0x1abcf8][_0x3c5500(0x7d)];const _0x2afea2=this[_0x3c5500(0xb5)](_0x1abcf8);if(fs['existsSync'](_0x2afea2)){const _0x5f17c6=JSON[_0x3c5500(0x8d)](fs[_0x3c5500(0xaa)](_0x2afea2)[_0x3c5500(0x9c)]());return this[_0x3c5500(0xbc)][_0x1abcf8]=_0x5f17c6,this[_0x3c5500(0xbc)][_0x1abcf8][_0x3c5500(0x7d)];}return this[_0x3c5500(0xbc)][_0x1abcf8]={'uuid':_0x3c16fa[_0x3c5500(0x8b)](uuidv4)},fs[_0x3c5500(0xa9)](_0x2afea2,JSON[_0x3c5500(0xc6)](this['tests'][_0x1abcf8])),this[_0x3c5500(0xbc)][_0x1abcf8]['uuid'];}static[a42_0x402911(0x81)](_0x53c69a){const _0x242197=a42_0x402911,_0x200d0c=path[_0x242197(0x87)](this[_0x242197(0xa0)],_0x53c69a+_0x242197(0x73));if(fs[_0x242197(0xb0)](_0x200d0c))return fs[_0x242197(0xaa)](_0x200d0c)['toString']();}static['setAccessibilityPlatformValidation'](_0x3d490a,_0x1f8f29){const _0x542795=a42_0x402911,_0xfa1711=path[_0x542795(0x87)](this[_0x542795(0xa0)],_0x1f8f29+_0x542795(0x73));fs[_0x542795(0xa9)](_0xfa1711,_0x3d490a[_0x542795(0x9c)]());}static[a42_0x402911(0xcb)](){const _0xdfe78c=a42_0x402911,_0x59df80={};_0x59df80[_0xdfe78c(0x67)]=!![],_0x59df80[_0xdfe78c(0x6b)]=!![],fs[_0xdfe78c(0xa2)](this['dirPath'],_0x59df80);}static[a42_0x402911(0xbe)](_0x18b542){const _0x5ed0e6=a42_0x402911;if(this[_0x5ed0e6(0xbc)][_0x18b542])return this[_0x5ed0e6(0xbc)][_0x18b542];const _0x3b1402=this['getFilePath'](_0x18b542);if(fs[_0x5ed0e6(0xb0)](_0x3b1402)){const _0x3bf57c=JSON[_0x5ed0e6(0x8d)](fs[_0x5ed0e6(0xaa)](_0x3b1402)[_0x5ed0e6(0x9c)]());return this[_0x5ed0e6(0xbc)][_0x18b542]=_0x3bf57c,_0x3bf57c;}return{};}static[a42_0x402911(0x70)](_0x596a08,_0x373dd8){const _0x181a08=a42_0x402911,_0x1b9817=this[_0x181a08(0xb5)](_0x596a08);if(fs[_0x181a08(0xb0)](_0x1b9817)){const _0xf43edd=JSON[_0x181a08(0x8d)](fs['readFileSync'](_0x1b9817)[_0x181a08(0x9c)]()),_0x36a95e={..._0xf43edd,..._0x373dd8};this[_0x181a08(0xbc)][_0x596a08]=_0x36a95e;}else this['tests'][_0x596a08]=_0x373dd8;fs[_0x181a08(0xa9)](_0x1b9817,this[_0x181a08(0xbc)][_0x596a08]);}static[a42_0x402911(0xc3)](_0x4d93c4){const _0x3520c6=a42_0x402911,_0x5424d3={};_0x5424d3[_0x3520c6(0x98)]=_0x3520c6(0x7c);const _0x1a8c38=_0x5424d3;try{const _0x1e14b3=process[_0x3520c6(0xc5)],_0x3277f9=path['join'](TestDetails[_0x3520c6(0xa6)](),_0x1e14b3+_0x3520c6(0xa7));let _0x405ae3=[];fs[_0x3520c6(0xb0)](_0x3277f9)&&(_0x405ae3=JSON[_0x3520c6(0x8d)](fs[_0x3520c6(0xaa)](_0x3277f9)['toString']())),!_0x405ae3[_0x3520c6(0x99)](_0x45d400=>_0x45d400[_0x3520c6(0x92)]===_0x4d93c4[_0x3520c6(0x92)])&&(_0x405ae3['push'](_0x4d93c4),fs[_0x3520c6(0xa9)](_0x3277f9,JSON['stringify'](_0x405ae3)));}catch(_0x4826c4){logger['error'](_0x1a8c38[_0x3520c6(0x98)],_0x4826c4);}}static[a42_0x402911(0x75)](){const _0x65e767=a42_0x402911,_0x2c8f47={};_0x2c8f47['mzmiB']=_0x65e767(0xa7),_0x2c8f47['SWPHI']=_0x65e767(0xc1);const _0x20033c=_0x2c8f47,_0x378101=[];try{const _0x1b395c=TestDetails['getTraceZipDir']();if(!fs[_0x65e767(0xb0)](_0x1b395c))return _0x378101;const _0x1618ae=fs['readdirSync'](_0x1b395c);_0x1618ae[_0x65e767(0x77)](_0x1f97ba=>{const _0x5687f1=_0x65e767;if(_0x1f97ba[_0x5687f1(0xb2)](_0x20033c[_0x5687f1(0x8e)])){const _0x4478b7=JSON[_0x5687f1(0x8d)](fs[_0x5687f1(0xaa)](path[_0x5687f1(0x87)](_0x1b395c,_0x1f97ba))[_0x5687f1(0x9c)]());_0x378101['push'](..._0x4478b7);}});}catch(_0x1f9d36){logger['error'](util[_0x65e767(0xbd)](_0x20033c[_0x65e767(0x85)],_0x1f9d36));}const _0x57f449={};return _0x378101[_0x65e767(0x77)](_0x57ec4b=>{const _0x564176=_0x65e767;_0x57f449[_0x57ec4b[_0x564176(0x92)]]=_0x57ec4b;}),Object[_0x65e767(0xad)](_0x57f449);}static[a42_0x402911(0x6c)](_0x996b83,_0x332baa){const _0x1ab697=a42_0x402911,_0x765c14={};_0x765c14[_0x1ab697(0x7b)]='.browserstack',_0x765c14[_0x1ab697(0x9d)]=_0x1ab697(0x9f);const _0x2cd20d=_0x765c14;try{const _0x387203=path[_0x1ab697(0x87)](helper[_0x1ab697(0x83)](),_0x2cd20d[_0x1ab697(0x7b)]);if(!fs[_0x1ab697(0xb0)](_0x387203)){const _0x29fb01={};_0x29fb01['recursive']=!![],fs[_0x1ab697(0x80)](_0x387203,_0x29fb01);}fs[_0x1ab697(0x90)](path['join'](_0x387203,'trace_'+_0x332baa+_0x1ab697(0x6e)),_0x996b83+'\x0a',_0x2cd20d['sGWjL']);}catch(_0x569c56){console[_0x1ab697(0x8c)]('Error\x20writing\x20trace\x20file:\x20'+_0x569c56[_0x1ab697(0xc7)]);}}}module['exports']=TestDetails;
1
+ const a42_0x2299c3=a42_0x53ab;function a42_0x4e9a(){const _0x399d67=['project','readFileSync','homedir','AKRjc','WoUQA','582440MnQPDe','values','traceZipPaths','7482cQOghy','VwBkd','split','filePath','getTestIdFromTestInfo','addTraceFilePath','util','GRucu','winstonLogger','format','2KGJNVg','ubZFN','_platformDetails.json','sSVAP','some','stringify','getProjectIdFromTestInfo','dirPath','1|3|4|0|2','getTestUUID','OxXWB','Error\x20writing\x20trace\x20file:\x20','appendToTracePaths','env','uGWzX','force','forEach','getTestRunIdFromTestInfo','_test','exports','JIZeR','esvwK','error','648500DsqaSG','RVWKO','uixTu','_traceZipPaths.json','testId','join','getTraceZipDir','getTestDetails','toString','utf8','pid','existsSync','appendFileSync','message','shutdown','522087zACQIY','xlCiP','awOUk','recursive','uuid','806020HhSpdh','FjUjR','shZYe','traceZipDir','.json','BAzBO','27qBKAJz','sLflu','getFilePath','cwd','writeFileSync','getStoreDirPath','_projectId','tests','endsWith','GlBYj','setup','getStoreDirName','pVdsE','159569xXdtJT','trace_','Error\x20handling\x20trace\x20file\x20paths:\x20','snIMb','parse','BS_TESTOPS_BUILD_HASHED_ID','mkdirSync','1054680IGivVy','getAccessibilityPlatformValidation','../../../helpers/helper','259lDwkkP'];a42_0x4e9a=function(){return _0x399d67;};return a42_0x4e9a();}function a42_0x53ab(_0x21ba6d,_0x536508){const _0x4e9ad0=a42_0x4e9a();return a42_0x53ab=function(_0x53ab55,_0x463b4b){_0x53ab55=_0x53ab55-0xbb;let _0x14b46=_0x4e9ad0[_0x53ab55];return _0x14b46;},a42_0x53ab(_0x21ba6d,_0x536508);}(function(_0x48b504,_0x16761a){const _0x9a9b50=a42_0x53ab,_0x458142=_0x48b504();while(!![]){try{const _0x4b56a8=-parseInt(_0x9a9b50(0xc1))/0x1+-parseInt(_0x9a9b50(0xde))/0x2*(-parseInt(_0x9a9b50(0x104))/0x3)+parseInt(_0x9a9b50(0x109))/0x4+-parseInt(_0x9a9b50(0xc8))/0x5+-parseInt(_0x9a9b50(0xd4))/0x6*(parseInt(_0x9a9b50(0xcb))/0x7)+-parseInt(_0x9a9b50(0xd1))/0x8*(-parseInt(_0x9a9b50(0x10f))/0x9)+-parseInt(_0x9a9b50(0xf5))/0xa;if(_0x4b56a8===_0x16761a)break;else _0x458142['push'](_0x458142['shift']());}catch(_0xf8df73){_0x458142['push'](_0x458142['shift']());}}}(a42_0x4e9a,0x1b747));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a42_0x2299c3(0xca)),logger=require('../../../helpers/logger')[a42_0x2299c3(0xdc)],util=require(a42_0x2299c3(0xda)),helper=require(a42_0x2299c3(0xca));class TestDetails{static [a42_0x2299c3(0xbb)]={};static ['dirPath']=path[a42_0x2299c3(0xfa)](process['cwd'](),TestDetails['getStoreDirName']());static [a42_0x2299c3(0x10c)]=path[a42_0x2299c3(0xfa)](TestDetails[a42_0x2299c3(0xe5)],a42_0x2299c3(0xd3));static[a42_0x2299c3(0xbe)](){const _0x514808=a42_0x2299c3,_0x2bbf4c={};_0x2bbf4c[_0x514808(0xc0)]=_0x514808(0xe6),_0x2bbf4c[_0x514808(0x106)]=_0x514808(0xd3);const _0xc1fea3=_0x2bbf4c,_0x999209=_0xc1fea3[_0x514808(0xc0)][_0x514808(0xd6)]('|');let _0x104981=0x0;while(!![]){switch(_0x999209[_0x104981++]){case'0':const _0x113710={};_0x113710['recursive']=!![],fs['mkdirSync'](this[_0x514808(0xe5)],_0x113710);continue;case'1':this[_0x514808(0xe5)]=path['join'](process[_0x514808(0x112)](),TestDetails[_0x514808(0xbf)]());continue;case'2':const _0x487276={};_0x487276[_0x514808(0x107)]=!![],fs['mkdirSync'](this[_0x514808(0x10c)],_0x487276);continue;case'3':this[_0x514808(0x10c)]=path[_0x514808(0xfa)](this[_0x514808(0xe5)],_0xc1fea3['awOUk']);continue;case'4':this[_0x514808(0x103)]();continue;}break;}}static[a42_0x2299c3(0xbf)](){const _0x44399b=a42_0x2299c3,_0x3e0b51={};_0x3e0b51[_0x44399b(0xf6)]=function(_0x19f41e,_0x4ed847){return _0x19f41e+_0x4ed847;},_0x3e0b51[_0x44399b(0x105)]=function(_0x168801,_0x8b67b7){return _0x168801+_0x8b67b7;};const _0x3d7edb=_0x3e0b51;return _0x3d7edb[_0x44399b(0xf6)](_0x3d7edb[_0x44399b(0x105)](TEMP_STORE_DIR_NAME,'-'),process[_0x44399b(0xeb)][_0x44399b(0xc6)]);}static[a42_0x2299c3(0x114)](){const _0x19b1fa=a42_0x2299c3,_0x3e6092={};_0x3e6092[_0x19b1fa(0xcf)]=function(_0x1038af,_0x3631bc){return _0x1038af+_0x3631bc;},_0x3e6092['sSVAP']='default';const _0xcdc93a=_0x3e6092;return path[_0x19b1fa(0xfa)](process[_0x19b1fa(0x112)](),_0xcdc93a[_0x19b1fa(0xcf)](_0xcdc93a[_0x19b1fa(0xcf)](TEMP_STORE_DIR_NAME,'-'),process['env']['BS_TESTOPS_BUILD_HASHED_ID']||_0xcdc93a[_0x19b1fa(0xe1)]));}static[a42_0x2299c3(0xfb)](){const _0x389772=a42_0x2299c3,_0x44fe31={};_0x44fe31['JIZeR']=_0x389772(0xd3);const _0x4edeb0=_0x44fe31;return path[_0x389772(0xfa)](this[_0x389772(0x114)](),_0x4edeb0[_0x389772(0xf2)]);}static[a42_0x2299c3(0x111)](_0x579e76){const _0x355e73=a42_0x2299c3,_0x51d6d6={};_0x51d6d6[_0x355e73(0x110)]=function(_0x4f94a9,_0x5af0e0){return _0x4f94a9+_0x5af0e0;},_0x51d6d6[_0x355e73(0xf7)]=_0x355e73(0x10d);const _0x295f36=_0x51d6d6;return path[_0x355e73(0xfa)](this[_0x355e73(0xe5)],_0x295f36['sLflu'](_0x579e76,_0x295f36[_0x355e73(0xf7)]));}static[a42_0x2299c3(0xef)](_0x1b09cb){const _0x217d4a=a42_0x2299c3,_0x1bbbea={};_0x1bbbea[_0x217d4a(0x10a)]=function(_0x59e3d3,_0x206844){return _0x59e3d3+_0x206844;},_0x1bbbea[_0x217d4a(0xbd)]=function(_0x6c03d9,_0x34f6ab){return _0x6c03d9+_0x34f6ab;},_0x1bbbea['esvwK']=function(_0x2d4c79,_0x5e003c){return _0x2d4c79+_0x5e003c;};const _0x18fd2e=_0x1bbbea;return _0x18fd2e[_0x217d4a(0x10a)](_0x18fd2e['FjUjR'](_0x18fd2e[_0x217d4a(0xbd)](_0x18fd2e[_0x217d4a(0xf3)](this[_0x217d4a(0xe4)](_0x1b09cb),'-'),this[_0x217d4a(0xd8)](_0x1b09cb)),'-'),_0x1b09cb['retry']);}static[a42_0x2299c3(0xe4)](_0x3f42a1){const _0x2c938b=a42_0x2299c3,_0x2b23c3={'snIMb':function(_0x3d3705,_0x2b9285,_0x22eefa){return _0x3d3705(_0x2b9285,_0x22eefa);},'hEQUL':_0x2c938b(0xf0),'BAzBO':_0x2c938b(0x115),'GRucu':function(_0x58ae01,_0x26f267,_0x30ec66){return _0x58ae01(_0x26f267,_0x30ec66);},'LMFlL':_0x2c938b(0xcc),'SFkJt':'__projectId'};return _0x2b23c3[_0x2c938b(0xc4)](nestedKeyValue,_0x3f42a1,[_0x2b23c3['hEQUL'],_0x2b23c3[_0x2c938b(0x10e)]])||_0x2b23c3[_0x2c938b(0xdb)](nestedKeyValue,_0x3f42a1,[_0x2b23c3['LMFlL'],_0x2b23c3['SFkJt']]);}static[a42_0x2299c3(0xd8)](_0x4606d3){const _0x3db737=a42_0x2299c3,_0x4c1d86={'ubZFN':function(_0x4bc26b,_0x2d6d73,_0x5dba21){return _0x4bc26b(_0x2d6d73,_0x5dba21);},'CZFeT':_0x3db737(0xf0)};return _0x4c1d86[_0x3db737(0xdf)](nestedKeyValue,_0x4606d3,[_0x4c1d86['CZFeT'],'id'])||_0x4606d3[_0x3db737(0xf9)];}static[a42_0x2299c3(0xe7)](_0x32e70c){const _0x1fdeb9=a42_0x2299c3,_0x54f75f={'pJAGt':function(_0x42a527,_0x479348){return _0x42a527===_0x479348;},'uGWzX':'string','BoDPH':function(_0x411b2d){return _0x411b2d();}};if(this[_0x1fdeb9(0xbb)][_0x32e70c]&&_0x54f75f['pJAGt'](typeof this[_0x1fdeb9(0xbb)][_0x32e70c][_0x1fdeb9(0x108)],_0x54f75f[_0x1fdeb9(0xec)]))return this[_0x1fdeb9(0xbb)][_0x32e70c][_0x1fdeb9(0x108)];const _0x2c65b9=this[_0x1fdeb9(0x111)](_0x32e70c);if(fs[_0x1fdeb9(0x100)](_0x2c65b9)){const _0x2430b5=JSON[_0x1fdeb9(0xc5)](fs[_0x1fdeb9(0xcd)](_0x2c65b9)[_0x1fdeb9(0xfd)]());return this[_0x1fdeb9(0xbb)][_0x32e70c]=_0x2430b5,this['tests'][_0x32e70c]['uuid'];}return this[_0x1fdeb9(0xbb)][_0x32e70c]={'uuid':_0x54f75f['BoDPH'](uuidv4)},fs[_0x1fdeb9(0x113)](_0x2c65b9,JSON[_0x1fdeb9(0xe3)](this[_0x1fdeb9(0xbb)][_0x32e70c])),this[_0x1fdeb9(0xbb)][_0x32e70c][_0x1fdeb9(0x108)];}static[a42_0x2299c3(0xc9)](_0x41d527){const _0x418567=a42_0x2299c3,_0x5807f7=path[_0x418567(0xfa)](this[_0x418567(0xe5)],_0x41d527+'_platformDetails.json');if(fs[_0x418567(0x100)](_0x5807f7))return fs[_0x418567(0xcd)](_0x5807f7)[_0x418567(0xfd)]();}static['setAccessibilityPlatformValidation'](_0x514bba,_0x45fa46){const _0x32e7e9=a42_0x2299c3,_0x4374b4=path[_0x32e7e9(0xfa)](this['dirPath'],_0x45fa46+_0x32e7e9(0xe0));fs[_0x32e7e9(0x113)](_0x4374b4,_0x514bba[_0x32e7e9(0xfd)]());}static[a42_0x2299c3(0x103)](){const _0x50a4a2=a42_0x2299c3,_0x7db234={};_0x7db234[_0x50a4a2(0x107)]=!![],_0x7db234[_0x50a4a2(0xed)]=!![],fs['rmSync'](this[_0x50a4a2(0xe5)],_0x7db234);}static[a42_0x2299c3(0xfc)](_0x6b2f68){const _0x88d252=a42_0x2299c3;if(this[_0x88d252(0xbb)][_0x6b2f68])return this[_0x88d252(0xbb)][_0x6b2f68];const _0x346fd5=this[_0x88d252(0x111)](_0x6b2f68);if(fs[_0x88d252(0x100)](_0x346fd5)){const _0x2bf9e6=JSON[_0x88d252(0xc5)](fs[_0x88d252(0xcd)](_0x346fd5)[_0x88d252(0xfd)]());return this['tests'][_0x6b2f68]=_0x2bf9e6,_0x2bf9e6;}return{};}static['setTestDetails'](_0x48621c,_0x53c0d4){const _0x40eca1=a42_0x2299c3,_0x227c2c=this[_0x40eca1(0x111)](_0x48621c);if(fs[_0x40eca1(0x100)](_0x227c2c)){const _0xf74417=JSON[_0x40eca1(0xc5)](fs['readFileSync'](_0x227c2c)[_0x40eca1(0xfd)]()),_0x38b2f2={..._0xf74417,..._0x53c0d4};this['tests'][_0x48621c]=_0x38b2f2;}else this[_0x40eca1(0xbb)][_0x48621c]=_0x53c0d4;fs[_0x40eca1(0x113)](_0x227c2c,this[_0x40eca1(0xbb)][_0x48621c]);}static[a42_0x2299c3(0xd9)](_0x1ffe29){const _0x6e18c2=a42_0x2299c3,_0xf1d0a1={};_0xf1d0a1[_0x6e18c2(0xe8)]=_0x6e18c2(0xc3);const _0x38addd=_0xf1d0a1;try{const _0x43b629=process[_0x6e18c2(0xff)],_0xec3d3d=path[_0x6e18c2(0xfa)](TestDetails['getTraceZipDir'](),_0x43b629+_0x6e18c2(0xf8));let _0x125c49=[];fs['existsSync'](_0xec3d3d)&&(_0x125c49=JSON[_0x6e18c2(0xc5)](fs['readFileSync'](_0xec3d3d)['toString']())),!_0x125c49[_0x6e18c2(0xe2)](_0x31ebdc=>_0x31ebdc[_0x6e18c2(0xd7)]===_0x1ffe29['filePath'])&&(_0x125c49['push'](_0x1ffe29),fs[_0x6e18c2(0x113)](_0xec3d3d,JSON[_0x6e18c2(0xe3)](_0x125c49)));}catch(_0x2c86b6){logger[_0x6e18c2(0xf4)](_0x38addd[_0x6e18c2(0xe8)],_0x2c86b6);}}static['getTraceFilePaths'](){const _0x321a9b=a42_0x2299c3,_0xc5a251={};_0xc5a251['vapFO']=_0x321a9b(0xf8),_0xc5a251[_0x321a9b(0xd0)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x102ceb=_0xc5a251,_0x18eb5a=[];try{const _0x4d5c62=TestDetails['getTraceZipDir']();if(!fs['existsSync'](_0x4d5c62))return _0x18eb5a;const _0x300ef2=fs['readdirSync'](_0x4d5c62);_0x300ef2[_0x321a9b(0xee)](_0x15b5b7=>{const _0x548370=_0x321a9b;if(_0x15b5b7[_0x548370(0xbc)](_0x102ceb['vapFO'])){const _0x532747=JSON[_0x548370(0xc5)](fs[_0x548370(0xcd)](path[_0x548370(0xfa)](_0x4d5c62,_0x15b5b7))['toString']());_0x18eb5a['push'](..._0x532747);}});}catch(_0x2a593f){logger['error'](util[_0x321a9b(0xdd)](_0x102ceb[_0x321a9b(0xd0)],_0x2a593f));}const _0x370bd4={};return _0x18eb5a[_0x321a9b(0xee)](_0x415e3e=>{const _0x301b9c=_0x321a9b;_0x370bd4[_0x415e3e[_0x301b9c(0xd7)]]=_0x415e3e;}),Object[_0x321a9b(0xd2)](_0x370bd4);}static[a42_0x2299c3(0xea)](_0x196976,_0x263462){const _0x15d2ff=a42_0x2299c3,_0x1f04ab={};_0x1f04ab[_0x15d2ff(0x10b)]='.browserstack',_0x1f04ab[_0x15d2ff(0xd5)]=_0x15d2ff(0xfe);const _0x50f2d6=_0x1f04ab;try{const _0x191544=path[_0x15d2ff(0xfa)](helper[_0x15d2ff(0xce)](),_0x50f2d6[_0x15d2ff(0x10b)]);if(!fs[_0x15d2ff(0x100)](_0x191544)){const _0xadc552={};_0xadc552['recursive']=!![],fs[_0x15d2ff(0xc7)](_0x191544,_0xadc552);}fs[_0x15d2ff(0x101)](path[_0x15d2ff(0xfa)](_0x191544,_0x15d2ff(0xc2)+_0x263462+'.txt'),_0x196976+'\x0a',_0x50f2d6['VwBkd']);}catch(_0x26c3bb){console[_0x15d2ff(0xf4)](_0x15d2ff(0xe9)+_0x26c3bb[_0x15d2ff(0x102)]);}}}module[a42_0x2299c3(0xf1)]=TestDetails;
@@ -1 +1 @@
1
- const a43_0x5d8035=a43_0x4504;(function(_0x2d8f1d,_0x23df66){const _0x60e7e3=a43_0x4504,_0xe6ebb4=_0x2d8f1d();while(!![]){try{const _0x4d3735=parseInt(_0x60e7e3(0x1d3))/0x1+-parseInt(_0x60e7e3(0x26a))/0x2*(parseInt(_0x60e7e3(0x266))/0x3)+-parseInt(_0x60e7e3(0x216))/0x4*(parseInt(_0x60e7e3(0x230))/0x5)+-parseInt(_0x60e7e3(0x201))/0x6*(parseInt(_0x60e7e3(0x23c))/0x7)+-parseInt(_0x60e7e3(0x26c))/0x8+-parseInt(_0x60e7e3(0x23d))/0x9+-parseInt(_0x60e7e3(0x1fc))/0xa*(-parseInt(_0x60e7e3(0x1ee))/0xb);if(_0x4d3735===_0x23df66)break;else _0xe6ebb4['push'](_0xe6ebb4['shift']());}catch(_0x153de3){_0xe6ebb4['push'](_0xe6ebb4['shift']());}}}(a43_0x5820,0xcfdd0));function a43_0x5820(){const _0x74b767=['channel','shouldWrapCommand','exports','_defaultConnectOptions','AzbDq','Failed\x20to\x20perform\x20scan\x20','dcrvt','deviceModel','use','_onMessage','testInfo','20jdqidW','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','playwright-','dJpSZ','cjEtu','6PXPEAs','currentSessionDetails','cVVxJ','XzVHf','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','turboscale','OjiLv','LCkMZ','edge','gKqLF','product','bNbFP','neqGE','platformDetails','performScan','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','browser_version','yHUnL','apply','qRGDA','1768OBsbuK','bstackPerformA11yScan','automate','sessionId','bTQnR','Error\x20in\x20importing\x20crConnection','Not\x20able\x20to\x20import\x20crConnection','patch','BROWSERSTACK_TEST_OBSERVABILITY','method','eAnlY','defineProperty','lfhCh','mnmFn','Error\x20in\x20importing\x20connection\x20','sendMessageToServer','Error\x20in\x20finding\x20platform\x20details\x20','__driver','CHNtA','nOIJC','VAUwI','adRCx','sessionError','LAgzI','fbRcC','browserName','7855YhhuqI','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','Yuizh','platform_version','Connection','prototype','Setting\x20session\x20id\x20received\x20from\x20BS\x20','zZGSu','patchCRConnection','RMQdC','sdaWs','firefox','8125306LlfLQv','4770306eJncfE','YkNSY','accessibilityPlatform','rzXJN','entries','kyHzX','../../helpers/logger','tzKMd','VSlCJ','OCnBA','rGcBC','PJXFf','uMqVl','gleaL','../../helpers/helper','EIeiv','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','connection.js','chrome','izHLp','BZEfZ','../../bin/playwright/accessibility-helper','_connection','peyrT','__workerDetails','browserstack','MFkYd','path','cloudProvider','../../helpers/accessibility-automation/helper','NpYnR','env','setupBrowserDetails','project','aeaQm','dispatch','toString','Performing\x20scan\x20for\x20','GqXpz','TfZIb','platformName','4750947FwfkVN','currentTest','lib','aOjfc','2NxQaPK','params','1890312csvtlM','winstonLogger','UHKWn','includes','bsSessionId','DHsOa','platformVersion','./accessibility-helper','Device\x20Model\x20is\x20not\x20available','XHZSo','chromium','safari','getDetails','model','VmbRB','nkbIK','yNssq','SfsZl','bStackParams','LdEQt','ZcfHG','local_grid','DJdQi','wsEndpoint','zZvtf','function','905014oPyvkP','join','caps','debug','isRemote','_browserType','server','version','browser','titlePath','qbeoB','UUHbW','PvHov','parse','format','platform','WuiUz','browserstack-ats.com','capabilities','mUcXv','toLowerCase','pzSGQ','pwPage','IsdgW','ATS_WSS_URL_REGEX','browserstack.com','_name','22833283bthtff','pIYJm','../../helpers/test-observability/error-handler'];a43_0x5820=function(){return _0x74b767;};return a43_0x5820();}function a43_0x4504(_0x44bfbd,_0x483ddb){const _0x5820de=a43_0x5820();return a43_0x4504=function(_0x450431,_0x3e792d){_0x450431=_0x450431-0x1d2;let _0x9da843=_0x5820de[_0x450431];return _0x9da843;},a43_0x4504(_0x44bfbd,_0x483ddb);}const path=require(a43_0x5d8035(0x258)),url=require('url'),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x5d8035(0x24b)),{o11yErrorHandler}=require(a43_0x5d8035(0x1f0)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x5d8035(0x25a)),logger=require(a43_0x5d8035(0x243))[a43_0x5d8035(0x26d)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a43_0x5d8035(0x252)),AccessibilityHelper=require(a43_0x5d8035(0x273)),constants=require('../utils/constants'),getBrowserNameFromChannel=_0xeb834f=>{const _0x42d513=a43_0x5d8035,_0xc36e4={};_0xc36e4[_0x42d513(0x1ef)]=_0x42d513(0x24f),_0xc36e4['PJXFf']=_0x42d513(0x20a),_0xc36e4[_0x42d513(0x1e6)]=_0x42d513(0x23b),_0xc36e4['XHZSo']=_0x42d513(0x277);const _0x5bcf02=_0xc36e4;if(_0xeb834f[_0x42d513(0x26f)](_0x5bcf02['pIYJm']))return _0x5bcf02[_0x42d513(0x1ef)];if(_0xeb834f[_0x42d513(0x26f)](_0x5bcf02[_0x42d513(0x248)]))return _0x5bcf02[_0x42d513(0x248)];if(_0xeb834f['includes'](_0x5bcf02['mUcXv']))return _0x5bcf02[_0x42d513(0x1e6)];if(_0xeb834f[_0x42d513(0x26f)](_0x5bcf02['XHZSo']))return _0x5bcf02[_0x42d513(0x275)];},getBrowserFromWSEndpoint=_0x1e1718=>{const _0x1bc3ad=a43_0x5d8035,_0x3dd003={'bTQnR':_0x1bc3ad(0x24f),'PvHov':function(_0x3ea550,_0x56343e){return _0x3ea550(_0x56343e);}};try{const _0x28c34d=url[_0x1bc3ad(0x1e0)](_0x1e1718),_0x2f26a8=new URLSearchParams(_0x28c34d['query']),_0x3143b5=Object['fromEntries'](_0x2f26a8[_0x1bc3ad(0x241)]()),_0x2b004f=JSON[_0x1bc3ad(0x1e0)](_0x3143b5[_0x1bc3ad(0x1d5)]);if(_0x2b004f&&(_0x2b004f[_0x1bc3ad(0x1db)]||_0x2b004f[_0x1bc3ad(0x22f)]))return _0x2b004f[_0x1bc3ad(0x1db)]||_0x2b004f[_0x1bc3ad(0x22f)];return _0x3dd003[_0x1bc3ad(0x21a)];}catch(_0x22c83f){_0x3dd003[_0x1bc3ad(0x1df)](debug,_0x1bc3ad(0x206)+_0x22c83f[_0x1bc3ad(0x261)]());}},getCloudProviderFromWsEndpoint=_0x4de6de=>{const _0x2a2d23=a43_0x5d8035,_0x13f7fc={};_0x13f7fc[_0x2a2d23(0x1ff)]=_0x2a2d23(0x1ec),_0x13f7fc[_0x2a2d23(0x20e)]=_0x2a2d23(0x1e4),_0x13f7fc[_0x2a2d23(0x22e)]=_0x2a2d23(0x256),_0x13f7fc[_0x2a2d23(0x1ea)]='unknown_grid';const _0x15a3c4=_0x13f7fc;if(_0x4de6de['includes'](_0x15a3c4[_0x2a2d23(0x1ff)])||_0x4de6de['includes'](_0x15a3c4[_0x2a2d23(0x20e)]))return _0x15a3c4[_0x2a2d23(0x22e)];return _0x15a3c4[_0x2a2d23(0x1ea)];},a43_0x470385={};a43_0x470385['cloudProvider']=undefined,a43_0x470385[a43_0x5d8035(0x270)]=undefined,a43_0x470385[a43_0x5d8035(0x1db)]=undefined,a43_0x470385[a43_0x5d8035(0x212)]=undefined,a43_0x470385['platform']=undefined,a43_0x470385[a43_0x5d8035(0x233)]=undefined,a43_0x470385[a43_0x5d8035(0x20c)]=undefined,a43_0x470385[a43_0x5d8035(0x1e5)]={};class PlaywrightSessionDetails{static [a43_0x5d8035(0x202)]=a43_0x470385;constructor(){const _0x3882da=a43_0x5d8035,_0xc6c340={};_0xc6c340[_0x3882da(0x25b)]=_0x3882da(0x1fd);const _0x17aec4=_0xc6c340;throw new Error(_0x17aec4[_0x3882da(0x25b)]);}static [a43_0x5d8035(0x22c)]=null;static[a43_0x5d8035(0x25d)](_0x3ccc42,_0x290a8b,_0x16076c=null){const _0x4e68f0=a43_0x5d8035,_0x24ce9b={'eAnlY':function(_0x49b6ba,_0x51fa07){return _0x49b6ba===_0x51fa07;},'cVVxJ':_0x4e68f0(0x1d2),'aOjfc':_0x4e68f0(0x231),'DJdQi':_0x4e68f0(0x274),'mnmFn':_0x4e68f0(0x281),'SfsZl':function(_0x325ac0,_0x41e28b,_0xec24fd){return _0x325ac0(_0x41e28b,_0xec24fd);},'bNbFP':_0x4e68f0(0x1d8),'ZcfHG':'_defaultConnectOptions','zKyKe':_0x4e68f0(0x25e),'pzSGQ':_0x4e68f0(0x1f9),'Yuizh':'connectOptions','DHsOa':function(_0xe2f3a8,_0x21934c){return _0xe2f3a8(_0x21934c);},'LdEQt':function(_0x52b2fb,_0x405bf7){return _0x52b2fb===_0x405bf7;},'adRCx':_0x4e68f0(0x256),'qRGDA':_0x4e68f0(0x207),'dcrvt':_0x4e68f0(0x218),'gKqLF':function(_0x4aa31d,_0x5ac0a9){return _0x4aa31d(_0x5ac0a9);},'sdaWs':function(_0x5497ed,_0x2b456e){return _0x5497ed+_0x2b456e;},'izHLp':_0x4e68f0(0x1fe),'VAUwI':function(_0x1be858){return _0x1be858();},'AzbDq':function(_0x15b8be,_0x20e86b,_0x22ccd7){return _0x15b8be(_0x20e86b,_0x22ccd7);},'RMQdC':_0x4e68f0(0x25d)},_0x49fe0c=this;return _0x24ce9b[_0x4e68f0(0x1f5)](o11yErrorHandler,async function _0x3177bc(_0x17e876,_0x38778e,_0x492aec=null){const _0x597217=_0x4e68f0;let _0x23ed2c=_0x17e876[_0x597217(0x1ed)],_0x1c0c6a=null;_0x17e876&&_0x24ce9b['eAnlY'](typeof _0x17e876[_0x597217(0x1da)],_0x24ce9b['cVVxJ'])?_0x1c0c6a=_0x17e876[_0x597217(0x1da)]():logger[_0x597217(0x1d6)](_0x24ce9b[_0x597217(0x269)]);let _0x506f65=null;_0x17e876&&_0x24ce9b[_0x597217(0x220)](typeof _0x17e876[_0x597217(0x279)],_0x24ce9b[_0x597217(0x203)])?_0x506f65=_0x17e876[_0x597217(0x279)]():logger[_0x597217(0x1d6)](_0x24ce9b[_0x597217(0x282)]);let _0x369f25=null,_0x16403f=null,_0x3e2b31=null,_0x465ce4=_0x24ce9b[_0x597217(0x223)];if(_0x17e876[_0x597217(0x253)][_0x597217(0x1d7)]()||global['accessibilityPlatform']){let _0x5e1e51=null;_0x24ce9b[_0x597217(0x27d)](nestedKeyValue,_0x17e876,[_0x24ce9b[_0x597217(0x20d)],_0x24ce9b[_0x597217(0x280)]])?_0x5e1e51=_0x17e876[_0x597217(0x1d8)][_0x597217(0x1f4)]:_0x5e1e51=_0x24ce9b[_0x597217(0x27d)](nestedKeyValue,_0x38778e,[_0x24ce9b['zKyKe'],_0x24ce9b[_0x597217(0x1e8)],_0x24ce9b[_0x597217(0x232)]]);const _0x50c777=_0x492aec||_0x5e1e51&&_0x5e1e51[_0x597217(0x283)];_0x50c777&&(_0x465ce4=_0x24ce9b[_0x597217(0x271)](getCloudProviderFromWsEndpoint,_0x50c777),_0x24ce9b[_0x597217(0x27f)](_0x465ce4,_0x24ce9b[_0x597217(0x22b)])&&(_0x3e2b31=constants[_0x597217(0x1eb)]['test'](_0x50c777)?_0x24ce9b[_0x597217(0x215)]:_0x24ce9b[_0x597217(0x1f7)],_0x23ed2c=_0x24ce9b[_0x597217(0x20b)](getBrowserFromWSEndpoint,_0x50c777)||_0x23ed2c,_0x369f25=_0x49fe0c['currentSessionDetails'][_0x597217(0x1e2)],_0x16403f=_0x49fe0c['currentSessionDetails'][_0x597217(0x233)]));}else{_0x38778e&&_0x38778e['project'][_0x597217(0x1f9)][_0x597217(0x1f1)]?_0x23ed2c=_0x24ce9b['gKqLF'](getBrowserNameFromChannel,_0x38778e[_0x597217(0x25e)][_0x597217(0x1f9)][_0x597217(0x1f1)]):_0x23ed2c=_0x24ce9b[_0x597217(0x23a)](_0x24ce9b[_0x597217(0x250)],_0x23ed2c[_0x597217(0x1e7)]());const _0x3787db=await _0x24ce9b[_0x597217(0x22a)](getPlatformDetails);_0x369f25=_0x3787db['platformName'],_0x16403f=_0x3787db[_0x597217(0x272)];}const _0x15bc7c={};_0x15bc7c[_0x597217(0x1db)]=_0x23ed2c,_0x15bc7c['browser_version']=_0x1c0c6a,_0x15bc7c[_0x597217(0x1e5)]={},_0x15bc7c['platform']=_0x369f25,_0x15bc7c[_0x597217(0x233)]=_0x16403f,_0x15bc7c['product']=_0x3e2b31;const _0x24d9ff=_0x15bc7c;_0x506f65&&(_0x24d9ff[_0x597217(0x1e5)][_0x597217(0x1f8)]=_0x506f65);const _0x1169b5={};_0x1169b5[_0x597217(0x259)]=_0x465ce4,_0x49fe0c[_0x597217(0x202)]=Object['assign']({},_0x49fe0c[_0x597217(0x202)],_0x1169b5,_0x24d9ff);},_0x24ce9b[_0x4e68f0(0x239)])(_0x3ccc42,_0x290a8b,_0x16076c);}static[a43_0x5d8035(0x21d)](){const _0x4023b9=a43_0x5d8035;this['patchConnection'](),this[_0x4023b9(0x238)]();}static['patchConnection'](){const _0x89666a=a43_0x5d8035,_0x56803c={'nOIJC':function(_0x4b4fa7,_0x1f6dd5,_0x132033){return _0x4b4fa7(_0x1f6dd5,_0x132033);},'vnsvl':_0x89666a(0x267),'tzKMd':'testInfo','XzVHf':_0x89666a(0x1dc),'gleaL':'__workerDetails','lfhCh':_0x89666a(0x1e9),'aeaQm':function(_0x4156ed,_0x58ae72){return _0x4156ed===_0x58ae72;},'uZIri':'Page','CHNtA':function(_0x22ab7b,_0x53d233,_0x4318ba,_0x31f1df){return _0x22ab7b(_0x53d233,_0x4318ba,_0x31f1df);},'yHUnL':function(_0x271e6d,_0x1e0308){return _0x271e6d(_0x1e0308);},'EIeiv':'lib','TdTjA':'client','rGcBC':_0x89666a(0x24e),'OjiLv':function(_0x3242f2,_0x1f35c5){return _0x3242f2(_0x1f35c5);},'nkbIK':'Not\x20able\x20to\x20import\x20Connection','cjEtu':function(_0x2c1d94,_0x352417){return _0x2c1d94!=_0x352417;},'zZGSu':function(_0x3911f1){return _0x3911f1();},'WuiUz':'sendMessageToServer','ObqIr':function(_0x554829,_0x565b0e){return _0x554829(_0x565b0e);},'LAgzI':_0x89666a(0x260)},_0x433abb=this;if(!this[_0x89666a(0x234)])try{const _0x239053=path['join'](_0x56803c[_0x89666a(0x24c)],_0x56803c['TdTjA'],_0x56803c[_0x89666a(0x247)]),_0x25b40e=_0x56803c[_0x89666a(0x213)](importFileFromPWCore,_0x239053);!_0x25b40e?_0x56803c[_0x89666a(0x208)](debug,_0x56803c[_0x89666a(0x27b)]):this['Connection']=_0x25b40e[_0x89666a(0x234)];}catch(_0x138c2b){_0x56803c['OjiLv'](debug,_0x89666a(0x224)+_0x138c2b[_0x89666a(0x261)]());}const _0xb2a638=this[_0x89666a(0x234)];try{if(_0x56803c[_0x89666a(0x200)](_0xb2a638,null)){const _0xff74bb=_0xb2a638[_0x89666a(0x235)]['dispatch'],_0x3f408f=_0xb2a638[_0x89666a(0x235)][_0x89666a(0x225)];_0x56803c[_0x89666a(0x237)](isAccessibilityAutomationSession)&&Object[_0x89666a(0x221)](_0xb2a638[_0x89666a(0x235)],_0x56803c[_0x89666a(0x1e3)],{'get':function(){const _0x5536c6=_0x89666a,_0x2659eb={'VmbRB':function(_0x5f54c4,_0x2318bd,_0x227f2d){const _0x19cb35=a43_0x4504;return _0x56803c[_0x19cb35(0x229)](_0x5f54c4,_0x2318bd,_0x227f2d);},'uMqVl':_0x56803c['vnsvl'],'lSGzd':_0x56803c[_0x5536c6(0x244)],'MFkYd':_0x56803c[_0x5536c6(0x204)],'OCnBA':function(_0x4bea70,_0x29d4f2,_0x43165a){const _0x15fac8=_0x5536c6;return _0x56803c[_0x15fac8(0x229)](_0x4bea70,_0x29d4f2,_0x43165a);},'xzPxf':_0x56803c[_0x5536c6(0x24a)],'rzXJN':_0x56803c[_0x5536c6(0x222)],'GqXpz':function(_0x25ede0,_0x5d1551){const _0xc76b67=_0x5536c6;return _0x56803c[_0xc76b67(0x25f)](_0x25ede0,_0x5d1551);},'LCkMZ':_0x56803c['uZIri'],'qbeoB':function(_0x48bb00,_0x100f7b,_0x319d87,_0x5c8211){const _0x1d3b86=_0x5536c6;return _0x56803c[_0x1d3b86(0x228)](_0x48bb00,_0x100f7b,_0x319d87,_0x5c8211);}};return async function(){const _0x4667c8=_0x5536c6;try{if(!global[_0x4667c8(0x217)]&&global[_0x4667c8(0x23f)]&&_0x2659eb[_0x4667c8(0x27a)](nestedKeyValue,global[_0x4667c8(0x255)],[_0x2659eb[_0x4667c8(0x249)],_0x2659eb['lSGzd'],_0x2659eb[_0x4667c8(0x257)]])&&_0x2659eb[_0x4667c8(0x246)](shouldScanTestForAccessibility,global[_0x4667c8(0x255)][_0x4667c8(0x267)][_0x4667c8(0x1fb)][_0x4667c8(0x1dc)],!![])&&scripts[_0x4667c8(0x1f2)](arguments[0x1])){logger[_0x4667c8(0x1d6)](_0x4667c8(0x262)+arguments[0x1]),global[_0x4667c8(0x217)]=!![];const _0x1eed60=_0x2659eb[_0x4667c8(0x246)](nestedKeyValue,global,[_0x2659eb['xzPxf'],_0x2659eb[_0x4667c8(0x240)]]),_0x29c934={};_0x29c934[_0x4667c8(0x21f)]=arguments[0x1],_0x1eed60&&logger[_0x4667c8(0x1d6)](util[_0x4667c8(0x1e1)](await AccessibilityHelper['performScan'](_0x1eed60,_0x29c934)));if(_0x2659eb[_0x4667c8(0x263)](arguments[0x0]['_type'],_0x2659eb[_0x4667c8(0x209)])&&global[_0x4667c8(0x227)]){const _0x4a3da7={};_0x4a3da7[_0x4667c8(0x21f)]=arguments[0x1],await _0x2659eb[_0x4667c8(0x1dd)](browserStackExecuteDriver,global['__driver'],scripts[_0x4667c8(0x210)],_0x4a3da7);}}}catch(_0xf61278){logger[_0x4667c8(0x1d6)](_0x4667c8(0x1f6)+util[_0x4667c8(0x1e1)](_0xf61278));}return global[_0x4667c8(0x217)]=![],_0x3f408f[_0x4667c8(0x214)](this,arguments);};}}),!_0x56803c['ObqIr'](isFalse,process[_0x89666a(0x25c)][_0x89666a(0x21e)])&&Object['defineProperty'](_0xb2a638[_0x89666a(0x235)],_0x56803c[_0x89666a(0x22d)],{'get':function(){const _0x55f485={'UUHbW':function(_0x9abe5f,_0x4a93eb){const _0x87b1ae=a43_0x4504;return _0x56803c[_0x87b1ae(0x213)](_0x9abe5f,_0x4a93eb);}};return function _0x2fd105(_0x46ae93){const _0x161b19=a43_0x4504,_0x950d23=_0x46ae93&&_0x46ae93[_0x161b19(0x26b)]&&_0x46ae93['params']['bsParams'];if(_0x950d23){const _0x625f89=_0x950d23[_0x161b19(0x219)],_0x5a5dda=_0x950d23['platformDetails'];_0x5a5dda&&(_0x55f485['UUHbW'](debug,_0x161b19(0x211)+_0x5a5dda[_0x161b19(0x261)]()),_0x433abb[_0x161b19(0x202)][_0x161b19(0x1e2)]=_0x5a5dda['platformName'],_0x433abb['currentSessionDetails']['platform_version']=_0x5a5dda[_0x161b19(0x272)]),_0x625f89&&(_0x55f485[_0x161b19(0x1de)](debug,_0x161b19(0x236)+_0x625f89),_0x433abb[_0x161b19(0x202)][_0x161b19(0x270)]=_0x625f89);}return _0xff74bb[_0x161b19(0x214)](this,arguments);};}});}}catch(_0x45b6cb){_0x56803c[_0x89666a(0x208)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x45b6cb),_0x433abb[_0x89666a(0x22c)]=_0x45b6cb[_0x89666a(0x261)]();}}static[a43_0x5d8035(0x238)](){const _0x1867d2=a43_0x5d8035,_0x2ee656={'VSlCJ':function(_0x4876e7,_0x3937df){return _0x4876e7(_0x3937df);},'VrXlg':function(_0x29b322){return _0x29b322();},'lpcwj':_0x1867d2(0x268),'TfZIb':_0x1867d2(0x1d9),'BZEfZ':_0x1867d2(0x276),'peyrT':'crConnection.js','zZvtf':function(_0x5e83b1,_0x4555f1){return _0x5e83b1(_0x4555f1);},'YkNSY':_0x1867d2(0x21c),'YrWvG':_0x1867d2(0x21b),'UHKWn':function(_0x50d0e4,_0x30e4c0){return _0x50d0e4!=_0x30e4c0;},'yNssq':_0x1867d2(0x1fa),'kyHzX':function(_0xfe28a0,_0x295629){return _0xfe28a0(_0x295629);}},_0x280482=this;if(_0x2ee656['VrXlg'](isAccessibilityAutomationSession)){let _0x2faf32=null;try{const _0x564008=path[_0x1867d2(0x1d4)](_0x2ee656['lpcwj'],_0x2ee656[_0x1867d2(0x264)],_0x2ee656[_0x1867d2(0x251)],_0x2ee656[_0x1867d2(0x254)]),_0x367954=_0x2ee656[_0x1867d2(0x284)](importFileFromPWCore,_0x564008);!_0x367954?_0x2ee656[_0x1867d2(0x245)](debug,_0x2ee656[_0x1867d2(0x23e)]):_0x2faf32=_0x367954['CRConnection'];}catch(_0x4b07b8){_0x2ee656[_0x1867d2(0x245)](debug,_0x2ee656['YrWvG']);}try{if(_0x2ee656[_0x1867d2(0x26e)](_0x2faf32,null)){const _0x9a5fd2=_0x2faf32[_0x1867d2(0x235)][_0x1867d2(0x1fa)];Object['defineProperty'](_0x2faf32['prototype'],_0x2ee656[_0x1867d2(0x27c)],{'get':function(){return function _0x44a543(_0x3373ed){const _0x55a6bd=a43_0x4504;try{const _0xbc46aa=_0x3373ed[_0x55a6bd(0x27e)];if(_0xbc46aa){delete _0x3373ed[_0x55a6bd(0x27e)];const _0x228258=_0xbc46aa[_0x55a6bd(0x219)],_0x342f05=_0xbc46aa[_0x55a6bd(0x20f)];_0x342f05&&(_0x2ee656[_0x55a6bd(0x245)](debug,_0x55a6bd(0x205)+_0x342f05['toString']()),_0x280482[_0x55a6bd(0x202)][_0x55a6bd(0x1e2)]=_0x342f05[_0x55a6bd(0x265)],_0x280482[_0x55a6bd(0x202)]['platform_version']=_0x342f05[_0x55a6bd(0x272)]),_0x228258&&(_0x2ee656[_0x55a6bd(0x245)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x228258),_0x280482['currentSessionDetails'][_0x55a6bd(0x270)]=_0x228258);}}catch(_0x4c8f37){_0x2ee656[_0x55a6bd(0x245)](debug,_0x55a6bd(0x226)+_0x4c8f37['toString']());}return _0x9a5fd2[_0x55a6bd(0x214)](this,arguments);};}});}}catch(_0x210dba){_0x2ee656[_0x1867d2(0x242)](debug,_0x1867d2(0x24d)+_0x210dba),_0x280482[_0x1867d2(0x22c)]=_0x210dba[_0x1867d2(0x261)]();}}}static[a43_0x5d8035(0x278)](){const _0x34544b=a43_0x5d8035;return this[_0x34544b(0x202)];}}module[a43_0x5d8035(0x1f3)]=PlaywrightSessionDetails;
1
+ const a43_0x8be63c=a43_0x1e2e;(function(_0x56f14a,_0x31d8e1){const _0x51f0e0=a43_0x1e2e,_0x32c9de=_0x56f14a();while(!![]){try{const _0x4718ef=parseInt(_0x51f0e0(0x1ae))/0x1*(-parseInt(_0x51f0e0(0x1c8))/0x2)+-parseInt(_0x51f0e0(0x201))/0x3+-parseInt(_0x51f0e0(0x1b3))/0x4+-parseInt(_0x51f0e0(0x1e7))/0x5*(parseInt(_0x51f0e0(0x202))/0x6)+-parseInt(_0x51f0e0(0x230))/0x7*(-parseInt(_0x51f0e0(0x22c))/0x8)+parseInt(_0x51f0e0(0x1a6))/0x9*(parseInt(_0x51f0e0(0x232))/0xa)+parseInt(_0x51f0e0(0x1f9))/0xb;if(_0x4718ef===_0x31d8e1)break;else _0x32c9de['push'](_0x32c9de['shift']());}catch(_0x508331){_0x32c9de['push'](_0x32c9de['shift']());}}}(a43_0x3a3f,0xa6e46));const path=require(a43_0x8be63c(0x1a0)),url=require(a43_0x8be63c(0x1af)),util=require(a43_0x8be63c(0x221)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x8be63c(0x218)),{o11yErrorHandler}=require(a43_0x8be63c(0x21e)),{debug,getPlatformDetails}=require(a43_0x8be63c(0x19b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x8be63c(0x1c9)),logger=require(a43_0x8be63c(0x1ca))[a43_0x8be63c(0x210)],scripts=require(a43_0x8be63c(0x235)),{browserStackExecuteDriver}=require(a43_0x8be63c(0x1e1)),AccessibilityHelper=require(a43_0x8be63c(0x213)),constants=require(a43_0x8be63c(0x1e8)),getBrowserNameFromChannel=_0x32c009=>{const _0x48a96a=a43_0x8be63c,_0x30527b={};_0x30527b[_0x48a96a(0x1a5)]='chrome',_0x30527b[_0x48a96a(0x20c)]=_0x48a96a(0x1bd),_0x30527b[_0x48a96a(0x1d1)]='firefox',_0x30527b[_0x48a96a(0x1e0)]=_0x48a96a(0x1d3);const _0x3ec6a1=_0x30527b;if(_0x32c009[_0x48a96a(0x1f7)](_0x3ec6a1[_0x48a96a(0x1a5)]))return _0x3ec6a1[_0x48a96a(0x1a5)];if(_0x32c009[_0x48a96a(0x1f7)](_0x3ec6a1[_0x48a96a(0x20c)]))return _0x3ec6a1[_0x48a96a(0x20c)];if(_0x32c009[_0x48a96a(0x1f7)](_0x3ec6a1[_0x48a96a(0x1d1)]))return _0x3ec6a1['LWIbB'];if(_0x32c009[_0x48a96a(0x1f7)](_0x3ec6a1[_0x48a96a(0x1e0)]))return _0x3ec6a1['eaiho'];},getBrowserFromWSEndpoint=_0x1e0e51=>{const _0xc72b52=a43_0x8be63c,_0x4b24eb={'YBYvG':'chrome','swgjG':function(_0x58c579,_0x1e101c){return _0x58c579(_0x1e101c);}};try{const _0x4f393d=url[_0xc72b52(0x216)](_0x1e0e51),_0x1d804f=new URLSearchParams(_0x4f393d[_0xc72b52(0x204)]),_0x3cd0e0=Object[_0xc72b52(0x224)](_0x1d804f[_0xc72b52(0x195)]()),_0x159a9c=JSON['parse'](_0x3cd0e0['caps']);if(_0x159a9c&&(_0x159a9c[_0xc72b52(0x1d7)]||_0x159a9c[_0xc72b52(0x1b6)]))return _0x159a9c['browser']||_0x159a9c[_0xc72b52(0x1b6)];return _0x4b24eb[_0xc72b52(0x192)];}catch(_0x262824){_0x4b24eb[_0xc72b52(0x20d)](debug,_0xc72b52(0x191)+_0x262824[_0xc72b52(0x1bf)]());}},getCloudProviderFromWsEndpoint=_0xb47ce6=>{const _0x31f889=a43_0x8be63c,_0x33841b={};_0x33841b[_0x31f889(0x18f)]='browserstack.com',_0x33841b[_0x31f889(0x1c6)]=_0x31f889(0x21a),_0x33841b['GTnXt']=_0x31f889(0x219),_0x33841b[_0x31f889(0x194)]=_0x31f889(0x18b);const _0x512a38=_0x33841b;if(_0xb47ce6[_0x31f889(0x1f7)](_0x512a38[_0x31f889(0x18f)])||_0xb47ce6[_0x31f889(0x1f7)](_0x512a38[_0x31f889(0x1c6)]))return _0x512a38[_0x31f889(0x1e4)];return _0x512a38[_0x31f889(0x194)];},a43_0x57cf58={};a43_0x57cf58[a43_0x8be63c(0x205)]=undefined,a43_0x57cf58['bsSessionId']=undefined,a43_0x57cf58[a43_0x8be63c(0x1d7)]=undefined,a43_0x57cf58[a43_0x8be63c(0x185)]=undefined,a43_0x57cf58[a43_0x8be63c(0x1a4)]=undefined,a43_0x57cf58[a43_0x8be63c(0x1d0)]=undefined,a43_0x57cf58['product']=undefined,a43_0x57cf58['capabilities']={};class PlaywrightSessionDetails{static [a43_0x8be63c(0x196)]=a43_0x57cf58;constructor(){const _0x4da03e=a43_0x8be63c,_0x1fbd05={};_0x1fbd05['RECkE']=_0x4da03e(0x1f5);const _0x390ea6=_0x1fbd05;throw new Error(_0x390ea6[_0x4da03e(0x1de)]);}static [a43_0x8be63c(0x17d)]=null;static['setupBrowserDetails'](_0xf240bb,_0x30f4b5,_0xebc27e=null){const _0xc09e2f=a43_0x8be63c,_0x57a5d2={'YDBLF':function(_0x4a80c2,_0x204aa3){return _0x4a80c2===_0x204aa3;},'nunDY':_0xc09e2f(0x1c4),'FljfK':_0xc09e2f(0x1c0),'jbCsz':_0xc09e2f(0x20f),'jiRpU':_0xc09e2f(0x1d5),'rUDEw':function(_0x439e7d,_0x4d7ee5,_0x1a5026){return _0x439e7d(_0x4d7ee5,_0x1a5026);},'ikazd':_0xc09e2f(0x1e5),'YPvIY':_0xc09e2f(0x19c),'HHQiq':function(_0x182aa9,_0x299e67,_0x4f7b78){return _0x182aa9(_0x299e67,_0x4f7b78);},'cXryL':_0xc09e2f(0x206),'zdYFL':_0xc09e2f(0x21c),'OYQyA':_0xc09e2f(0x1d4),'kXnyy':function(_0x1b04b5,_0x26f7cf){return _0x1b04b5(_0x26f7cf);},'McVZK':function(_0x137934,_0x1da989){return _0x137934===_0x1da989;},'HUPnH':_0xc09e2f(0x219),'GobmP':_0xc09e2f(0x19d),'FJgpK':_0xc09e2f(0x19e),'uhMRZ':function(_0x3ab6ef,_0xd586f7){return _0x3ab6ef(_0xd586f7);},'ZPZKs':function(_0x11a068,_0x1ae2cb){return _0x11a068(_0x1ae2cb);},'Nchgx':function(_0x32a625,_0xdcfbce){return _0x32a625+_0xdcfbce;},'eKRpx':_0xc09e2f(0x181),'qqipd':function(_0x1e1197){return _0x1e1197();},'KTXHu':'setupBrowserDetails'},_0x456059=this;return _0x57a5d2[_0xc09e2f(0x22f)](o11yErrorHandler,async function _0x4ba7ba(_0x38e818,_0x41c93a,_0x46b28e=null){const _0x59bd11=_0xc09e2f;let _0x258fe7=_0x38e818['_name'],_0x40baee=null;_0x38e818&&_0x57a5d2[_0x59bd11(0x234)](typeof _0x38e818[_0x59bd11(0x18d)],_0x57a5d2['nunDY'])?_0x40baee=_0x38e818[_0x59bd11(0x18d)]():logger[_0x59bd11(0x222)](_0x57a5d2[_0x59bd11(0x1b2)]);let _0x479af8=null;_0x38e818&&_0x57a5d2[_0x59bd11(0x234)](typeof _0x38e818[_0x59bd11(0x223)],_0x57a5d2[_0x59bd11(0x21f)])?_0x479af8=_0x38e818[_0x59bd11(0x223)]():logger[_0x59bd11(0x222)](_0x57a5d2['jbCsz']);let _0x3b4449=null,_0x2e02bc=null,_0x486f5f=null,_0x29d6cd=_0x57a5d2[_0x59bd11(0x1db)];if(_0x38e818['_connection']['isRemote']()||global[_0x59bd11(0x1c5)]){let _0x5292b3=null;_0x57a5d2[_0x59bd11(0x22f)](nestedKeyValue,_0x38e818,[_0x57a5d2[_0x59bd11(0x226)],_0x57a5d2[_0x59bd11(0x22d)]])?_0x5292b3=_0x38e818[_0x59bd11(0x1e5)][_0x59bd11(0x19c)]:_0x5292b3=_0x57a5d2[_0x59bd11(0x21d)](nestedKeyValue,_0x41c93a,[_0x57a5d2[_0x59bd11(0x1ec)],_0x57a5d2[_0x59bd11(0x215)],_0x57a5d2['OYQyA']]);const _0x23423a=_0x46b28e||_0x5292b3&&_0x5292b3[_0x59bd11(0x19a)];_0x23423a&&(_0x29d6cd=_0x57a5d2[_0x59bd11(0x1ea)](getCloudProviderFromWsEndpoint,_0x23423a),_0x57a5d2[_0x59bd11(0x1d8)](_0x29d6cd,_0x57a5d2[_0x59bd11(0x1b9)])&&(_0x486f5f=constants[_0x59bd11(0x1f2)]['test'](_0x23423a)?_0x57a5d2[_0x59bd11(0x1ed)]:_0x57a5d2[_0x59bd11(0x1fb)],_0x258fe7=_0x57a5d2[_0x59bd11(0x1c2)](getBrowserFromWSEndpoint,_0x23423a)||_0x258fe7,_0x3b4449=_0x456059[_0x59bd11(0x196)][_0x59bd11(0x1a4)],_0x2e02bc=_0x456059[_0x59bd11(0x196)][_0x59bd11(0x1d0)]));}else{_0x41c93a&&_0x41c93a[_0x59bd11(0x206)][_0x59bd11(0x21c)][_0x59bd11(0x182)]?_0x258fe7=_0x57a5d2[_0x59bd11(0x1be)](getBrowserNameFromChannel,_0x41c93a['project'][_0x59bd11(0x21c)][_0x59bd11(0x182)]):_0x258fe7=_0x57a5d2[_0x59bd11(0x1c3)](_0x57a5d2[_0x59bd11(0x1ba)],_0x258fe7['toLowerCase']());const _0x134080=await _0x57a5d2['qqipd'](getPlatformDetails);_0x3b4449=_0x134080[_0x59bd11(0x193)],_0x2e02bc=_0x134080[_0x59bd11(0x1a1)];}const _0x3240e1={};_0x3240e1[_0x59bd11(0x1d7)]=_0x258fe7,_0x3240e1[_0x59bd11(0x185)]=_0x40baee,_0x3240e1['capabilities']={},_0x3240e1['platform']=_0x3b4449,_0x3240e1[_0x59bd11(0x1d0)]=_0x2e02bc,_0x3240e1[_0x59bd11(0x184)]=_0x486f5f;const _0x382d78=_0x3240e1;_0x479af8&&(_0x382d78['capabilities']['deviceModel']=_0x479af8);const _0x58b6e3={};_0x58b6e3[_0x59bd11(0x205)]=_0x29d6cd,_0x456059[_0x59bd11(0x196)]=Object[_0x59bd11(0x233)]({},_0x456059['currentSessionDetails'],_0x58b6e3,_0x382d78);},_0x57a5d2[_0xc09e2f(0x1b1)])(_0xf240bb,_0x30f4b5,_0xebc27e);}static[a43_0x8be63c(0x1da)](){const _0x26fa64=a43_0x8be63c;this[_0x26fa64(0x1fe)](),this[_0x26fa64(0x1d6)]();}static[a43_0x8be63c(0x1fe)](){const _0x265260=a43_0x8be63c,_0x5b8fab={'fjIUt':function(_0x44e7bf,_0x530280,_0x8e5dc7){return _0x44e7bf(_0x530280,_0x8e5dc7);},'sOySg':_0x265260(0x18a),'vBGtR':'testInfo','vlpec':_0x265260(0x1d9),'UcgjJ':function(_0x38b259,_0x5388c8,_0x4a1fe0){return _0x38b259(_0x5388c8,_0x4a1fe0);},'iLGjq':function(_0x5c1771,_0x472dc7,_0x33dd54){return _0x5c1771(_0x472dc7,_0x33dd54);},'aWXIy':_0x265260(0x21b),'aIzYH':_0x265260(0x17e),'qvOsK':function(_0x16c85e,_0x5e41d5){return _0x16c85e===_0x5e41d5;},'NzWHr':_0x265260(0x1b4),'qPmvX':function(_0x3ff948,_0x45832f,_0x246d53,_0x5c1eae){return _0x3ff948(_0x45832f,_0x246d53,_0x5c1eae);},'KqJsx':function(_0x2c4343,_0x55b35d){return _0x2c4343(_0x55b35d);},'euVLu':'lib','CsaGC':_0x265260(0x197),'uUhea':'connection.js','QegAa':function(_0x318789,_0x49be7d){return _0x318789(_0x49be7d);},'kkBzS':'Not\x20able\x20to\x20import\x20Connection','liolU':function(_0x7da8c2,_0x4aaa35){return _0x7da8c2(_0x4aaa35);},'KettU':function(_0x5a6ed0,_0x40f59f){return _0x5a6ed0!=_0x40f59f;},'wrQcg':function(_0x3c73ee){return _0x3c73ee();},'hHvKZ':_0x265260(0x1a8),'zmWSA':_0x265260(0x1f3),'Oocgy':function(_0x2a2165,_0x16bb1a){return _0x2a2165(_0x16bb1a);}},_0x967be=this;if(!this[_0x265260(0x190)])try{const _0x2518d6=path[_0x265260(0x1f1)](_0x5b8fab['euVLu'],_0x5b8fab[_0x265260(0x225)],_0x5b8fab['uUhea']),_0x4f86b1=_0x5b8fab[_0x265260(0x1fa)](importFileFromPWCore,_0x2518d6);!_0x4f86b1?_0x5b8fab[_0x265260(0x198)](debug,_0x5b8fab[_0x265260(0x1c1)]):this['Connection']=_0x4f86b1[_0x265260(0x190)];}catch(_0x443ad7){_0x5b8fab[_0x265260(0x1cb)](debug,_0x265260(0x22a)+_0x443ad7[_0x265260(0x1bf)]());}const _0xab6c23=this[_0x265260(0x190)];try{if(_0x5b8fab[_0x265260(0x180)](_0xab6c23,null)){const _0x39a08b=_0xab6c23['prototype'][_0x265260(0x1f3)],_0x57fc93=_0xab6c23[_0x265260(0x187)][_0x265260(0x1a8)];_0x5b8fab[_0x265260(0x220)](isAccessibilityAutomationSession)&&Object[_0x265260(0x19f)](_0xab6c23[_0x265260(0x187)],_0x5b8fab[_0x265260(0x183)],{'get':function(){const _0x2667a5=_0x265260,_0x4eaba7={'TCzbr':function(_0x2e476d,_0x20cb8d,_0x2fc2af){const _0x49e1c8=a43_0x1e2e;return _0x5b8fab[_0x49e1c8(0x1aa)](_0x2e476d,_0x20cb8d,_0x2fc2af);},'bFNpm':_0x5b8fab[_0x2667a5(0x1b5)],'voymt':_0x5b8fab['vBGtR'],'zJgQF':_0x5b8fab[_0x2667a5(0x1ef)],'EaVgW':function(_0x5f394a,_0x244dc7,_0x30c0ad){const _0xc851aa=_0x2667a5;return _0x5b8fab[_0xc851aa(0x1fd)](_0x5f394a,_0x244dc7,_0x30c0ad);},'iMRrl':function(_0x221853,_0x2e5762,_0x22cb5e){const _0x45eda9=_0x2667a5;return _0x5b8fab[_0x45eda9(0x231)](_0x221853,_0x2e5762,_0x22cb5e);},'ojhlH':_0x5b8fab[_0x2667a5(0x189)],'hhJoc':_0x5b8fab[_0x2667a5(0x18c)],'BZWsK':function(_0x4f4c55,_0xe493bf){return _0x5b8fab['qvOsK'](_0x4f4c55,_0xe493bf);},'BYJFm':_0x5b8fab[_0x2667a5(0x1a3)],'XXFJY':function(_0x3a1342,_0x3b55a1,_0x1b7d44,_0x4b10a3){const _0x57b37e=_0x2667a5;return _0x5b8fab[_0x57b37e(0x186)](_0x3a1342,_0x3b55a1,_0x1b7d44,_0x4b10a3);}};return async function(){const _0x5d51fa=_0x2667a5;try{if(!global[_0x5d51fa(0x1b7)]&&global[_0x5d51fa(0x1c5)]&&_0x4eaba7[_0x5d51fa(0x1eb)](nestedKeyValue,global[_0x5d51fa(0x21b)],[_0x4eaba7[_0x5d51fa(0x228)],_0x4eaba7['voymt'],_0x4eaba7[_0x5d51fa(0x1ff)]])&&_0x4eaba7[_0x5d51fa(0x208)](shouldScanTestForAccessibility,global[_0x5d51fa(0x21b)][_0x5d51fa(0x18a)][_0x5d51fa(0x17c)]['titlePath'],!![])&&scripts[_0x5d51fa(0x1dd)](arguments[0x1])){logger[_0x5d51fa(0x222)](_0x5d51fa(0x1e9)+arguments[0x1]),global[_0x5d51fa(0x1b7)]=!![];const _0x51177d=_0x4eaba7[_0x5d51fa(0x188)](nestedKeyValue,global,[_0x4eaba7['ojhlH'],_0x4eaba7[_0x5d51fa(0x1cc)]]),_0x46a688={};_0x46a688[_0x5d51fa(0x1cd)]=arguments[0x1],_0x51177d&&logger[_0x5d51fa(0x222)](util[_0x5d51fa(0x199)](await AccessibilityHelper[_0x5d51fa(0x1e6)](_0x51177d,_0x46a688)));if(_0x4eaba7[_0x5d51fa(0x207)](arguments[0x0][_0x5d51fa(0x1f8)],_0x4eaba7[_0x5d51fa(0x20b)])&&global[_0x5d51fa(0x1bb)]){const _0x4739bf={};_0x4739bf[_0x5d51fa(0x1cd)]=arguments[0x1],await _0x4eaba7[_0x5d51fa(0x1a2)](browserStackExecuteDriver,global[_0x5d51fa(0x1bb)],scripts[_0x5d51fa(0x1e6)],_0x4739bf);}}}catch(_0x3b5c59){logger[_0x5d51fa(0x222)]('Failed\x20to\x20perform\x20scan\x20'+util['format'](_0x3b5c59));}return global[_0x5d51fa(0x1b7)]=![],_0x57fc93[_0x5d51fa(0x209)](this,arguments);};}}),!_0x5b8fab[_0x265260(0x1fa)](isFalse,process[_0x265260(0x1cf)][_0x265260(0x1d2)])&&Object[_0x265260(0x19f)](_0xab6c23[_0x265260(0x187)],_0x5b8fab[_0x265260(0x229)],{'get':function(){return function _0x55e559(_0x3ce8b9){const _0x46cf23=a43_0x1e2e,_0xd3c70b=_0x3ce8b9&&_0x3ce8b9[_0x46cf23(0x20a)]&&_0x3ce8b9['params'][_0x46cf23(0x1c7)];if(_0xd3c70b){const _0x5444b6=_0xd3c70b[_0x46cf23(0x22e)],_0x26e6ba=_0xd3c70b[_0x46cf23(0x211)];_0x26e6ba&&(_0x5b8fab['KqJsx'](debug,_0x46cf23(0x1df)+_0x26e6ba[_0x46cf23(0x1bf)]()),_0x967be[_0x46cf23(0x196)]['platform']=_0x26e6ba[_0x46cf23(0x193)],_0x967be[_0x46cf23(0x196)][_0x46cf23(0x1d0)]=_0x26e6ba['platformVersion']),_0x5444b6&&(_0x5b8fab['KqJsx'](debug,_0x46cf23(0x227)+_0x5444b6),_0x967be[_0x46cf23(0x196)]['bsSessionId']=_0x5444b6);}return _0x39a08b[_0x46cf23(0x209)](this,arguments);};}});}}catch(_0x1bc6ef){_0x5b8fab[_0x265260(0x1ac)](debug,_0x265260(0x200)+_0x1bc6ef),_0x967be['sessionError']=_0x1bc6ef[_0x265260(0x1bf)]();}}static['patchCRConnection'](){const _0x1147a0=a43_0x8be63c,_0x5dcf88={'MyKRG':function(_0xd96c54,_0x5b93f3){return _0xd96c54(_0x5b93f3);},'uIaCU':function(_0xf69ff5){return _0xf69ff5();},'HKVpv':_0x1147a0(0x1b8),'qjCVm':'server','dAzGd':_0x1147a0(0x18e),'lLOui':'crConnection.js','kvcdo':_0x1147a0(0x1f0),'VHRZx':function(_0xc50c33,_0x2bc50c){return _0xc50c33(_0x2bc50c);},'cAgvU':_0x1147a0(0x1a7),'AjapL':function(_0x52290f,_0x39e91f){return _0x52290f!=_0x39e91f;},'aOwFc':'_onMessage','upYVh':function(_0x2d280b,_0xf05bdd){return _0x2d280b(_0xf05bdd);}},_0x3a28ce=this;if(_0x5dcf88['uIaCU'](isAccessibilityAutomationSession)){let _0x12430c=null;try{const _0x21f61a=path[_0x1147a0(0x1f1)](_0x5dcf88[_0x1147a0(0x1b0)],_0x5dcf88[_0x1147a0(0x217)],_0x5dcf88['dAzGd'],_0x5dcf88[_0x1147a0(0x17f)]),_0x341474=_0x5dcf88['MyKRG'](importFileFromPWCore,_0x21f61a);!_0x341474?_0x5dcf88['MyKRG'](debug,_0x5dcf88[_0x1147a0(0x214)]):_0x12430c=_0x341474[_0x1147a0(0x1ce)];}catch(_0x1ffc25){_0x5dcf88[_0x1147a0(0x1f6)](debug,_0x5dcf88[_0x1147a0(0x1e2)]);}try{if(_0x5dcf88[_0x1147a0(0x1ee)](_0x12430c,null)){const _0x33ef5=_0x12430c[_0x1147a0(0x187)]['_onMessage'];Object['defineProperty'](_0x12430c[_0x1147a0(0x187)],_0x5dcf88[_0x1147a0(0x212)],{'get':function(){const _0x592f3e={'YzfTj':function(_0x2c60be,_0xa4b54c){return _0x5dcf88['MyKRG'](_0x2c60be,_0xa4b54c);},'PKNyC':function(_0x4760ee,_0x4cb386){const _0x1ebcc3=a43_0x1e2e;return _0x5dcf88[_0x1ebcc3(0x1dc)](_0x4760ee,_0x4cb386);}};return function _0xbc1ceb(_0x1e6b81){const _0x3052f5=a43_0x1e2e;try{const _0x62024e=_0x1e6b81['bStackParams'];if(_0x62024e){delete _0x1e6b81[_0x3052f5(0x1fc)];const _0x141c9c=_0x62024e[_0x3052f5(0x22e)],_0x3b91ee=_0x62024e[_0x3052f5(0x211)];_0x3b91ee&&(_0x592f3e[_0x3052f5(0x1e3)](debug,_0x3052f5(0x20e)+_0x3b91ee['toString']()),_0x3a28ce[_0x3052f5(0x196)][_0x3052f5(0x1a4)]=_0x3b91ee['platformName'],_0x3a28ce[_0x3052f5(0x196)]['platform_version']=_0x3b91ee[_0x3052f5(0x1a1)]),_0x141c9c&&(_0x592f3e[_0x3052f5(0x1e3)](debug,_0x3052f5(0x1ab)+_0x141c9c),_0x3a28ce[_0x3052f5(0x196)][_0x3052f5(0x1f4)]=_0x141c9c);}}catch(_0x5a1ea7){_0x592f3e[_0x3052f5(0x203)](debug,_0x3052f5(0x22b)+_0x5a1ea7[_0x3052f5(0x1bf)]());}return _0x33ef5[_0x3052f5(0x209)](this,arguments);};}});}}catch(_0x4c5ab3){_0x5dcf88['upYVh'](debug,_0x1147a0(0x1ad)+_0x4c5ab3),_0x3a28ce['sessionError']=_0x4c5ab3[_0x1147a0(0x1bf)]();}}}static[a43_0x8be63c(0x1a9)](){const _0x25e36c=a43_0x8be63c;return this[_0x25e36c(0x196)];}}function a43_0x1e2e(_0x3e217a,_0x45666f){const _0x3a3f47=a43_0x3a3f();return a43_0x1e2e=function(_0x1e2eae,_0x5946ae){_0x1e2eae=_0x1e2eae-0x17c;let _0x148928=_0x3a3f47[_0x1e2eae];return _0x148928;},a43_0x1e2e(_0x3e217a,_0x45666f);}module[a43_0x8be63c(0x1bc)]=PlaywrightSessionDetails;function a43_0x3a3f(){const _0x3ba11b=['../../helpers/accessibility-automation/scripts','testInfo','sessionError','pwPage','lLOui','KettU','playwright-','channel','hHvKZ','product','browser_version','qPmvX','prototype','iMRrl','aWXIy','currentTest','unknown_grid','aIzYH','version','chromium','xtziR','Connection','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','YBYvG','platformName','ihYOs','entries','currentSessionDetails','client','QegAa','format','wsEndpoint','../../helpers/test-observability/utils','_defaultConnectOptions','turboscale','automate','defineProperty','path','platformVersion','XXFJY','NzWHr','platform','fVcQj','5493051rXXJzw','Error\x20in\x20importing\x20crConnection','sendMessageToServer','getDetails','fjIUt','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','Oocgy','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','386kbrREn','url','HKVpv','KTXHu','FljfK','5024648shBqbl','Page','sOySg','browserName','bstackPerformA11yScan','lib','HUPnH','eKRpx','__driver','exports','edge','ZPZKs','toString','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','kkBzS','uhMRZ','Nchgx','function','accessibilityPlatform','GAKHr','bsParams','3514vyVWCQ','../../helpers/accessibility-automation/helper','../../helpers/logger','liolU','hhJoc','method','CRConnection','env','platform_version','LWIbB','BROWSERSTACK_TEST_OBSERVABILITY','safari','connectOptions','local_grid','patchCRConnection','browser','McVZK','titlePath','patch','jiRpU','MyKRG','shouldWrapCommand','RECkE','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','eaiho','../../bin/playwright/accessibility-helper','cAgvU','YzfTj','GTnXt','_browserType','performScan','3745OlKVdx','../utils/constants','Performing\x20scan\x20for\x20','kXnyy','TCzbr','cXryL','GobmP','AjapL','vlpec','Not\x20able\x20to\x20import\x20crConnection','join','ATS_WSS_URL_REGEX','dispatch','bsSessionId','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','VHRZx','includes','_type','16763791hWtnbE','KqJsx','FJgpK','bStackParams','UcgjJ','patchConnection','zJgQF','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','903078UoOJJU','2238ecscQp','PKNyC','query','cloudProvider','project','BZWsK','EaVgW','apply','params','BYJFm','EHscX','swgjG','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Device\x20Model\x20is\x20not\x20available','winstonLogger','platformDetails','aOwFc','./accessibility-helper','kvcdo','zdYFL','parse','qjCVm','../../helpers/helper','browserstack','browserstack-ats.com','__workerDetails','use','HHQiq','../../helpers/test-observability/error-handler','nunDY','wrQcg','util','debug','model','fromEntries','CsaGC','ikazd','Setting\x20session\x20id\x20received\x20from\x20BS\x20','bFNpm','zmWSA','Error\x20in\x20importing\x20connection\x20','Error\x20in\x20finding\x20platform\x20details\x20','218264RAkRIZ','YPvIY','sessionId','rUDEw','273lUHRgm','iLGjq','10odymZP','assign','YDBLF'];a43_0x3a3f=function(){return _0x3ba11b;};return a43_0x3a3f();}
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a44_0x5ddffe=a44_0x1c3c;(function(_0x48dfb1,_0x484524){const _0x196e9a=a44_0x1c3c,_0x305f73=_0x48dfb1();while(!![]){try{const _0x45dfc3=-parseInt(_0x196e9a(0x227))/0x1+-parseInt(_0x196e9a(0x220))/0x2+-parseInt(_0x196e9a(0x211))/0x3*(-parseInt(_0x196e9a(0x218))/0x4)+parseInt(_0x196e9a(0x1ef))/0x5*(parseInt(_0x196e9a(0x247))/0x6)+parseInt(_0x196e9a(0x260))/0x7*(-parseInt(_0x196e9a(0x1f7))/0x8)+parseInt(_0x196e9a(0x1f9))/0x9*(parseInt(_0x196e9a(0x1ee))/0xa)+parseInt(_0x196e9a(0x202))/0xb*(parseInt(_0x196e9a(0x21b))/0xc);if(_0x45dfc3===_0x484524)break;else _0x305f73['push'](_0x305f73['shift']());}catch(_0x271ab5){_0x305f73['push'](_0x305f73['shift']());}}}(a44_0x2221,0xdf5d5));const fs=require('fs'),path=require(a44_0x5ddffe(0x222)),util=require(a44_0x5ddffe(0x23f)),{requireModule}=require(a44_0x5ddffe(0x224)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a44_0x5ddffe(0x1eb))[a44_0x5ddffe(0x1f0)],helper=require('../helpers/helper'),utilities=require(a44_0x5ddffe(0x24c)),runIntegrations=require('./integrations/command'),yargs=require(a44_0x5ddffe(0x24b)),Constants=require(a44_0x5ddffe(0x212)),logger=require('../helpers/logger')[a44_0x5ddffe(0x22b)],origArgs=Object['assign']([],process[a44_0x5ddffe(0x1f6)]),captureError=async(_0x1f3609,_0x3bf73a,_0x5536f0=null)=>{const _0xb28b49=a44_0x5ddffe,_0x178328={'gSexh':function(_0x403aad,_0x56dba8,_0x3633a4){return _0x403aad(_0x56dba8,_0x3633a4);},'HQGSz':_0xb28b49(0x248)};try{logger[_0xb28b49(0x216)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0xb28b49(0x249)]('\x20')),await _0x178328[_0xb28b49(0x246)](_0x1f3609,_0x3bf73a,_0x5536f0);}catch(_0x40b531){process[_0xb28b49(0x206)]=0x1,logger[_0xb28b49(0x226)](util[_0xb28b49(0x1fc)](_0x40b531));const _0x23d119={};_0x23d119[_0xb28b49(0x255)]=_0x40b531['message'];const _0x3fb268=_0x23d119;PerformanceTester[_0xb28b49(0x23c)](PerformanceEvents[_0xb28b49(0x203)],![],util[_0xb28b49(0x1fc)](_0x40b531));if(helper['isUndefined'](global[_0xb28b49(0x245)])&&helper['isUndefined'](global[_0xb28b49(0x210)]))return;try{utilities[_0xb28b49(0x213)](_0x178328[_0xb28b49(0x231)],_0x3fb268,global[_0xb28b49(0x245)],global[_0xb28b49(0x210)]);}catch(_0x78c9f){logger[_0xb28b49(0x1fb)](_0xb28b49(0x239)+_0x78c9f[_0xb28b49(0x20b)]);}PerformanceTester[_0xb28b49(0x23c)](PerformanceEvents[_0xb28b49(0x203)],![],util[_0xb28b49(0x1fc)](_0x40b531));}finally{PerformanceTester[_0xb28b49(0x241)](PerformanceEvents['SDK_CLEANUP']);}};function a44_0x1c3c(_0x20c0ff,_0x3672ae){const _0x222134=a44_0x2221();return a44_0x1c3c=function(_0x1c3c55,_0x440b8b){_0x1c3c55=_0x1c3c55-0x1e8;let _0x28c8e3=_0x222134[_0x1c3c55];return _0x28c8e3;},a44_0x1c3c(_0x20c0ff,_0x3672ae);}try{const browserstackFolderPath=path[a44_0x5ddffe(0x249)](helper[a44_0x5ddffe(0x20c)](),a44_0x5ddffe(0x24a));if(fs[a44_0x5ddffe(0x20f)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a44_0x5ddffe(0x20d));fs[a44_0x5ddffe(0x20f)](filePath)&&fs[a44_0x5ddffe(0x1e8)](filePath);}}catch(a44_0x304d4d){logger[a44_0x5ddffe(0x1fb)](a44_0x5ddffe(0x215)+a44_0x304d4d[a44_0x5ddffe(0x204)]);}function a44_0x2221(){const _0x9f8055=['CODECEPTJS','cucumber-js','./cucumber-js/command','rvOpz','nCyah','11OHdeuc','SDK_SETUP','message','BApvA','exitCode','showHelpOnFail','ats','find','--no-package','stack','homedir','.local-not-set.json','mocha/lib/cli/commands.js','existsSync','framework','2132331TfrvGW','./utils/constants','fireFunnelTestEvent','playwright','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','info','alias','4jXHUtl','fzYHW','dot-notation','23950872sdAFxm','DHtqC','mFpnd','usage','rYsDW','3561632qDqcNH','slice','path','includes','../helpers/helper','YyQyf','error','206915yAJNlT','tqcrf','wGHWY','Parsing\x20command\x20line\x20arguements','winstonLogger','findAndReplace','push','NIGHTWATCH','node','HST','HQGSz','xHyjc','./jest/command','./nightwatch/command','describe','VERSION','isUndefined','MOCHA','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','EStwf','command','end','parserConfiguration','INFO','util','setBrowserStackAutomationDisable','start','version','HELP','--no-opts','config','gSexh','336342GxplLu','SDKTestSuccessful','join','.browserstack','yargs','../helpers/utilities','onahT','nVXGA','nMBxM','nightwatch','ovJuw','--opts','jVUjQ','Hkflw','globalException','NhkzM','PLAYWRIGHT','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','mMjFz','pYfwI','paomI','help','JEST','--package','handler','6671dPLFSD','unlinkSync','INTEGRATIONS','--no-config','../helpers/performance/constants','jest','--mochaRequire','1250LejMpL','115jpBHzQ','EVENTS','demandCommand','CUCUMBER','run','mocha','vmQvj','argv','11832idEsSa','usage:\x20$0\x20<command>\x20[args]','22761vjNPzB','wrap','debug','format'];a44_0x2221=function(){return _0x9f8055;};return a44_0x2221();}process['argv'][a44_0x5ddffe(0x223)](a44_0x5ddffe(0x1f4))&&(!process[a44_0x5ddffe(0x1f6)]['includes'](a44_0x5ddffe(0x252))&&process[a44_0x5ddffe(0x1f6)][a44_0x5ddffe(0x22d)](a44_0x5ddffe(0x244)),!process[a44_0x5ddffe(0x1f6)][a44_0x5ddffe(0x209)](_0x51f152=>_0x51f152['includes']('--config'))&&process[a44_0x5ddffe(0x1f6)][a44_0x5ddffe(0x22d)](a44_0x5ddffe(0x1ea)),!process[a44_0x5ddffe(0x1f6)][a44_0x5ddffe(0x223)](a44_0x5ddffe(0x25e))&&process[a44_0x5ddffe(0x1f6)][a44_0x5ddffe(0x22d)](a44_0x5ddffe(0x20a)),helper[a44_0x5ddffe(0x22c)](process[a44_0x5ddffe(0x1f6)],'--require',a44_0x5ddffe(0x1ed)));PerformanceTester['startMonitoring'](),PerformanceTester['start'](PerformanceEvents[a44_0x5ddffe(0x203)]);const a44_0x3c11f8={};a44_0x3c11f8[a44_0x5ddffe(0x21a)]=![];const argv=yargs[a44_0x5ddffe(0x23d)](a44_0x3c11f8)[a44_0x5ddffe(0x21e)](a44_0x5ddffe(0x1f8))[a44_0x5ddffe(0x217)]('v',a44_0x5ddffe(0x242))[a44_0x5ddffe(0x235)]('v')[a44_0x5ddffe(0x217)]('h',a44_0x5ddffe(0x25c))[a44_0x5ddffe(0x25c)](a44_0x5ddffe(0x25c))[a44_0x5ddffe(0x207)](!![],Constants[a44_0x5ddffe(0x236)][a44_0x5ddffe(0x243)])[a44_0x5ddffe(0x23b)](a44_0x5ddffe(0x1ec),Constants[a44_0x5ddffe(0x25d)][a44_0x5ddffe(0x23e)],function(_0x19e3f0){const _0x124352=a44_0x5ddffe,_0x52fc51={'BeMDn':function(_0x3caf58,_0x18f8d6,_0x16619f,_0x258f4c){return _0x3caf58(_0x18f8d6,_0x16619f,_0x258f4c);},'mMjFz':function(_0x445786,_0xd8f83){return _0x445786(_0xd8f83);},'pYfwI':_0x124352(0x233)};helper['setTestObservabilityDisable'](),helper[_0x124352(0x240)]();const _0x3096df=process[_0x124352(0x1f6)][_0x124352(0x221)](0x2);return _0x52fc51['BeMDn'](captureError,_0x52fc51[_0x124352(0x259)](require,_0x52fc51[_0x124352(0x25a)]),_0x19e3f0[_0x124352(0x1f6)],_0x3096df);})[a44_0x5ddffe(0x23b)](a44_0x5ddffe(0x1f4),Constants[a44_0x5ddffe(0x238)][a44_0x5ddffe(0x23e)],_0x5463de=>{const _0x4aee7d=a44_0x5ddffe,_0x533485={'rYsDW':function(_0x39907c,_0x453899,_0x52d30a){return _0x39907c(_0x453899,_0x52d30a);},'vmQvj':function(_0x5ddd73,_0x59ee64){return _0x5ddd73(_0x59ee64);},'onahT':'./mocha/command','EStwf':_0x4aee7d(0x22a),'xxOeb':'mocha/lib/cli/run.js','Hkflw':_0x4aee7d(0x1f4),'nVXGA':function(_0x581190,_0x18fcb0,_0x54be9b){return _0x581190(_0x18fcb0,_0x54be9b);},'mFpnd':_0x4aee7d(0x20e),'rvOpz':'mocha/lib/cli/cli.js','vYEpv':function(_0x13b1b8){return _0x13b1b8();}};logger[_0x4aee7d(0x1fb)](_0x533485[_0x4aee7d(0x23a)]);const _0x131256=_0x533485['rYsDW'](requireModule,_0x533485['xxOeb'],_0x533485[_0x4aee7d(0x254)]),_0x3e2372=_0x533485[_0x4aee7d(0x24e)](requireModule,_0x533485[_0x4aee7d(0x21d)],_0x533485[_0x4aee7d(0x254)]);process[_0x4aee7d(0x1f6)]=process[_0x4aee7d(0x1f6)][_0x4aee7d(0x221)](0x1),delete _0x131256[_0x4aee7d(0x25f)],_0x131256['handler']=function(_0x440c61){const _0x1f8f61=_0x4aee7d;return _0x533485['rYsDW'](captureError,_0x533485[_0x1f8f61(0x1f5)](require,_0x533485[_0x1f8f61(0x24d)]),_0x440c61);},_0x3e2372[_0x4aee7d(0x1f3)]=_0x131256;const {main:_0x611a94}=_0x533485[_0x4aee7d(0x21f)](requireModule,_0x533485[_0x4aee7d(0x200)],_0x533485[_0x4aee7d(0x254)]);_0x533485['vYEpv'](_0x611a94);})[a44_0x5ddffe(0x23b)](a44_0x5ddffe(0x1fe),Constants[a44_0x5ddffe(0x1f2)][a44_0x5ddffe(0x23e)],function(_0x1a6078){const _0x211f9a=a44_0x5ddffe,_0x1ccf8f={'ovJuw':function(_0x548f4d,_0x4db471,_0x3ef988,_0x5a7619){return _0x548f4d(_0x4db471,_0x3ef988,_0x5a7619);},'fzYHW':function(_0x2cca5d,_0x108bc8){return _0x2cca5d(_0x108bc8);},'OJvEc':_0x211f9a(0x1ff)},_0x3510e7=process[_0x211f9a(0x1f6)][_0x211f9a(0x221)](0x2);return _0x1ccf8f[_0x211f9a(0x251)](captureError,_0x1ccf8f[_0x211f9a(0x219)](require,_0x1ccf8f['OJvEc']),_0x1a6078[_0x211f9a(0x1f6)],_0x3510e7);})[a44_0x5ddffe(0x23b)](a44_0x5ddffe(0x22f),Constants['VANILLA'][a44_0x5ddffe(0x23e)],function(_0x4ec553){const _0x3b3b29=a44_0x5ddffe,_0x283dcd={'BApvA':function(_0xfb4dbf,_0x3605b6,_0x324892,_0x2f4c4e){return _0xfb4dbf(_0x3605b6,_0x324892,_0x2f4c4e);},'UIxcN':function(_0xd477f1,_0x45c7f4){return _0xd477f1(_0x45c7f4);},'JOzsA':'./vanilla-js/command'},_0x94d552=process['argv'][_0x3b3b29(0x221)](0x2);return _0x283dcd[_0x3b3b29(0x205)](captureError,_0x283dcd['UIxcN'](require,_0x283dcd['JOzsA']),_0x4ec553[_0x3b3b29(0x1f6)],_0x94d552);})[a44_0x5ddffe(0x23b)](a44_0x5ddffe(0x250),Constants[a44_0x5ddffe(0x22e)]['INFO'],function(_0x24c5cf){const _0x4423c3=a44_0x5ddffe,_0x156057={'ZndTh':function(_0x3ec6d7,_0x2e979c,_0x1f5662,_0x852d4f){return _0x3ec6d7(_0x2e979c,_0x1f5662,_0x852d4f);},'GHouL':function(_0x3284de,_0x12ac10){return _0x3284de(_0x12ac10);},'xHyjc':_0x4423c3(0x234)},_0x22a165=process[_0x4423c3(0x1f6)]['slice'](0x2);return _0x156057['ZndTh'](captureError,_0x156057['GHouL'](require,_0x156057[_0x4423c3(0x232)]),_0x24c5cf[_0x4423c3(0x1f6)],_0x22a165);})[a44_0x5ddffe(0x23b)]('codeceptjs',Constants[a44_0x5ddffe(0x1fd)][a44_0x5ddffe(0x23e)],function(_0x42b629){const _0x4998cf=a44_0x5ddffe,_0x3aae22={'paomI':function(_0x35caaf,_0x296c94,_0x480795,_0x1cabb6){return _0x35caaf(_0x296c94,_0x480795,_0x1cabb6);},'wGHWY':function(_0x328abc,_0x324d10){return _0x328abc(_0x324d10);},'DHtqC':'./codeceptjs/command'},_0x1d22b5=process[_0x4998cf(0x1f6)][_0x4998cf(0x221)](0x2);return _0x3aae22[_0x4998cf(0x25b)](captureError,_0x3aae22[_0x4998cf(0x229)](require,_0x3aae22[_0x4998cf(0x21c)]),_0x42b629[_0x4998cf(0x1f6)],_0x1d22b5);})[a44_0x5ddffe(0x23b)](a44_0x5ddffe(0x208),Constants[a44_0x5ddffe(0x230)][a44_0x5ddffe(0x23e)],function(_0x31778b){const _0x281c1e=a44_0x5ddffe,_0x5ba01f={'jVUjQ':function(_0x347680,_0x2b69df,_0x3f1d16){return _0x347680(_0x2b69df,_0x3f1d16);},'TDdqN':function(_0x54bd51,_0x1199f6){return _0x54bd51(_0x1199f6);},'NhkzM':'../../ats/src/index'},_0x6de24f=process[_0x281c1e(0x1f6)]['slice'](0x2);return _0x5ba01f[_0x281c1e(0x253)](captureError,_0x5ba01f['TDdqN'](require,_0x5ba01f[_0x281c1e(0x256)]),_0x31778b);})[a44_0x5ddffe(0x23b)]('integrations',Constants[a44_0x5ddffe(0x1e9)][a44_0x5ddffe(0x23e)],function(_0x2d6a19){const _0x1ff4d9=a44_0x5ddffe,_0x24a6da={'nMBxM':function(_0x297c6a,_0x10e8f1){return _0x297c6a(_0x10e8f1);}};return _0x24a6da[_0x1ff4d9(0x24f)](runIntegrations,_0x2d6a19);})['command'](a44_0x5ddffe(0x214),Constants[a44_0x5ddffe(0x257)][a44_0x5ddffe(0x23e)],function(_0x51f58b){const _0x20f180=a44_0x5ddffe,_0x2989ab={'nCyah':function(_0x5f22dd,_0x285238,_0x5c8e51,_0x2f4a50){return _0x5f22dd(_0x285238,_0x5c8e51,_0x2f4a50);},'YyQyf':function(_0x2a8197,_0xe316c5){return _0x2a8197(_0xe316c5);},'tqcrf':'./playwright/command'},_0x20915f=process[_0x20f180(0x1f6)]['slice'](0x2);return _0x2989ab[_0x20f180(0x201)](captureError,_0x2989ab[_0x20f180(0x225)](require,_0x2989ab[_0x20f180(0x228)]),_0x51f58b['argv'],_0x20915f);})[a44_0x5ddffe(0x1f1)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a44_0x5ddffe(0x1fa)](null)[a44_0x5ddffe(0x1f6)];!helper[a44_0x5ddffe(0x237)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x5ddffe(0x208)&&console[a44_0x5ddffe(0x226)](a44_0x5ddffe(0x258));
2
+ 'use strict';const a44_0x5ec4d1=a44_0x5ec4;(function(_0x517180,_0x4ec06d){const _0x52a106=a44_0x5ec4,_0x114eef=_0x517180();while(!![]){try{const _0x176ce2=-parseInt(_0x52a106(0x13e))/0x1+-parseInt(_0x52a106(0x107))/0x2+-parseInt(_0x52a106(0x104))/0x3*(parseInt(_0x52a106(0x117))/0x4)+-parseInt(_0x52a106(0x134))/0x5+-parseInt(_0x52a106(0xef))/0x6+-parseInt(_0x52a106(0x110))/0x7*(-parseInt(_0x52a106(0xee))/0x8)+parseInt(_0x52a106(0xeb))/0x9;if(_0x176ce2===_0x4ec06d)break;else _0x114eef['push'](_0x114eef['shift']());}catch(_0x5c35fd){_0x114eef['push'](_0x114eef['shift']());}}}(a44_0x15dd,0x7981b));function a44_0x5ec4(_0x5eacf7,_0x417aff){const _0x15dd96=a44_0x15dd();return a44_0x5ec4=function(_0x5ec419,_0x1bdc19){_0x5ec419=_0x5ec419-0xd0;let _0x39f325=_0x15dd96[_0x5ec419];return _0x39f325;},a44_0x5ec4(_0x5eacf7,_0x417aff);}const fs=require('fs'),path=require(a44_0x5ec4d1(0x13a)),util=require(a44_0x5ec4d1(0x10d)),{requireModule}=require(a44_0x5ec4d1(0x120)),PerformanceTester=require(a44_0x5ec4d1(0xdc)),PerformanceEvents=require(a44_0x5ec4d1(0x133))[a44_0x5ec4d1(0x124)],helper=require(a44_0x5ec4d1(0x120)),utilities=require('../helpers/utilities'),runIntegrations=require(a44_0x5ec4d1(0xe8)),yargs=require(a44_0x5ec4d1(0x10c)),Constants=require(a44_0x5ec4d1(0x135)),logger=require(a44_0x5ec4d1(0xe6))['winstonLogger'],origArgs=Object[a44_0x5ec4d1(0x126)]([],process[a44_0x5ec4d1(0x138)]),captureError=async(_0x56cb3d,_0x2a1d9,_0x4852a0=null)=>{const _0x13fd3e=a44_0x5ec4d1,_0x5834cb={'gtcsn':function(_0xc811e7,_0x44d041,_0x542847){return _0xc811e7(_0x44d041,_0x542847);},'hydoQ':_0x13fd3e(0x130)};try{logger['info'](_0x13fd3e(0x106)+origArgs['join']('\x20')),await _0x5834cb[_0x13fd3e(0x10a)](_0x56cb3d,_0x2a1d9,_0x4852a0);}catch(_0xd755a8){process['exitCode']=0x1,logger[_0x13fd3e(0x13d)](util[_0x13fd3e(0xff)](_0xd755a8));const _0x4947b4={};_0x4947b4['globalException']=_0xd755a8[_0x13fd3e(0x111)];const _0x47cdb0=_0x4947b4;PerformanceTester[_0x13fd3e(0x146)](PerformanceEvents[_0x13fd3e(0x116)],![],util[_0x13fd3e(0xff)](_0xd755a8));if(helper[_0x13fd3e(0x103)](global[_0x13fd3e(0xed)])&&helper[_0x13fd3e(0x103)](global[_0x13fd3e(0xe1)]))return;try{utilities[_0x13fd3e(0x144)](_0x5834cb['hydoQ'],_0x47cdb0,global[_0x13fd3e(0xed)],global[_0x13fd3e(0xe1)]);}catch(_0x171c32){logger['debug'](_0x13fd3e(0x132)+_0x171c32[_0x13fd3e(0xde)]);}PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util['format'](_0xd755a8));}finally{PerformanceTester[_0x13fd3e(0xd0)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a44_0x5ec4d1(0xfb)](helper[a44_0x5ec4d1(0xe0)](),a44_0x5ec4d1(0xdb));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a44_0x5ec4d1(0xfb)](browserstackFolderPath,a44_0x5ec4d1(0x11c));fs[a44_0x5ec4d1(0x12a)](filePath)&&fs[a44_0x5ec4d1(0x12d)](filePath);}}catch(a44_0x51809b){logger['debug'](a44_0x5ec4d1(0x129)+a44_0x51809b[a44_0x5ec4d1(0x111)]);}process[a44_0x5ec4d1(0x138)][a44_0x5ec4d1(0x136)](a44_0x5ec4d1(0x13b))&&(!process['argv'][a44_0x5ec4d1(0x136)](a44_0x5ec4d1(0x114))&&process[a44_0x5ec4d1(0x138)][a44_0x5ec4d1(0xda)](a44_0x5ec4d1(0xd7)),!process[a44_0x5ec4d1(0x138)][a44_0x5ec4d1(0xd3)](_0x1c2e90=>_0x1c2e90[a44_0x5ec4d1(0x136)](a44_0x5ec4d1(0xd9)))&&process[a44_0x5ec4d1(0x138)][a44_0x5ec4d1(0xda)](a44_0x5ec4d1(0x10e)),!process[a44_0x5ec4d1(0x138)]['includes'](a44_0x5ec4d1(0xe2))&&process['argv']['push'](a44_0x5ec4d1(0xf7)),helper[a44_0x5ec4d1(0x118)](process[a44_0x5ec4d1(0x138)],a44_0x5ec4d1(0x142),'--mochaRequire'));function a44_0x15dd(){const _0x3ded2c=['SDKTestSuccessful','JEST','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','../helpers/performance/constants','1694255VzeGTd','./utils/constants','includes','IHFWp','argv','./vanilla-js/command','path','mocha','kbFRf','error','424511dwmyVf','KDslI','parserConfiguration','describe','--require','slice','fireFunnelTestEvent','irziA','end','start','dMWOm','rPGGj','find','ZbrOT','mocha/lib/cli/cli.js','CUCUMBER','--no-opts','./nightwatch/command','--config','push','.browserstack','../helpers/performance/performance-tester','demandCommand','stack','debug','homedir','framework','--package','MOCHA','jest','oGqcc','../helpers/logger','./codeceptjs/command','./integrations/command','INFO','./mocha/command','13085307xtahZG','usage','config','392xFcuXO','4356972SOhkzt','alias','emump','codeceptjs','version','HST','help','sQcHh','--no-package','integrations','ylPJN','mOFXz','join','kJKrp','PLAYWRIGHT','command','format','mocha/lib/cli/run.js','MjRSf','setTestObservabilityDisable','isUndefined','27330JsRCcE','QZrGX','Running\x20SDK\x20with\x20args\x20','171898XJJMYY','INTEGRATIONS','wrap','gtcsn','ZYkME','yargs','util','--no-config','bDBJF','97573yhLCgM','message','handler','cucumber-js','--opts','playwright','SDK_SETUP','28alFnat','findAndReplace','oXOcg','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','BilHf','.local-not-set.json','node','showHelpOnFail','usage:\x20$0\x20<command>\x20[args]','../helpers/helper','./cucumber-js/command','kGeVc','startMonitoring','EVENTS','kbktb','assign','./playwright/command','NNRsW','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','existsSync','ats','dot-notation','unlinkSync','cPNpu','JilZy'];a44_0x15dd=function(){return _0x3ded2c;};return a44_0x15dd();}PerformanceTester[a44_0x5ec4d1(0x123)](),PerformanceTester[a44_0x5ec4d1(0xd0)](PerformanceEvents['SDK_SETUP']);const a44_0x4eae19={};a44_0x4eae19[a44_0x5ec4d1(0x12c)]=![];const argv=yargs[a44_0x5ec4d1(0x140)](a44_0x4eae19)[a44_0x5ec4d1(0xec)](a44_0x5ec4d1(0x11f))['alias']('v',a44_0x5ec4d1(0xf3))[a44_0x5ec4d1(0x141)]('v')[a44_0x5ec4d1(0xf0)]('h',a44_0x5ec4d1(0xf5))[a44_0x5ec4d1(0xf5)]('help')[a44_0x5ec4d1(0x11e)](!![],Constants['VERSION']['HELP'])['command'](a44_0x5ec4d1(0xe4),Constants[a44_0x5ec4d1(0x131)][a44_0x5ec4d1(0xe9)],function(_0x49ff20){const _0x14baec=a44_0x5ec4d1,_0x3d25b0={'BilHf':function(_0x54d4a9,_0x478a5b,_0x3ebeca,_0x3d2b1e){return _0x54d4a9(_0x478a5b,_0x3ebeca,_0x3d2b1e);},'kbFRf':function(_0x288716,_0x29e658){return _0x288716(_0x29e658);},'MjRSf':'./jest/command'};helper[_0x14baec(0x102)](),helper['setBrowserStackAutomationDisable']();const _0x131e0e=process['argv'][_0x14baec(0x143)](0x2);return _0x3d25b0[_0x14baec(0x11b)](captureError,_0x3d25b0[_0x14baec(0x13c)](require,_0x3d25b0[_0x14baec(0x101)]),_0x49ff20[_0x14baec(0x138)],_0x131e0e);})['command'](a44_0x5ec4d1(0x13b),Constants[a44_0x5ec4d1(0xe3)]['INFO'],_0x99fe21=>{const _0x1ae840=a44_0x5ec4d1,_0x4e6c78={'wknWT':function(_0x1b1314,_0x5baf8c,_0x363b04){return _0x1b1314(_0x5baf8c,_0x363b04);},'emump':function(_0x1deb2b,_0x21b345){return _0x1deb2b(_0x21b345);},'JilZy':_0x1ae840(0xea),'OTbww':'Parsing\x20command\x20line\x20arguements','cYmox':function(_0x3ed2b1,_0xcd0abf,_0xfca34a){return _0x3ed2b1(_0xcd0abf,_0xfca34a);},'AwAVa':_0x1ae840(0x100),'oXOcg':_0x1ae840(0x13b),'KDslI':function(_0x571bb0,_0x23ff58,_0x17d521){return _0x571bb0(_0x23ff58,_0x17d521);},'XFGHS':'mocha/lib/cli/commands.js','bDBJF':function(_0x4e3eeb,_0x133dcc,_0x5afcd6){return _0x4e3eeb(_0x133dcc,_0x5afcd6);},'gsLWk':_0x1ae840(0xd5),'mOFXz':function(_0xd34e){return _0xd34e();}};logger[_0x1ae840(0xdf)](_0x4e6c78['OTbww']);const _0x4ab7d3=_0x4e6c78['cYmox'](requireModule,_0x4e6c78['AwAVa'],_0x4e6c78[_0x1ae840(0x119)]),_0x1699c9=_0x4e6c78[_0x1ae840(0x13f)](requireModule,_0x4e6c78['XFGHS'],_0x4e6c78[_0x1ae840(0x119)]);process[_0x1ae840(0x138)]=process[_0x1ae840(0x138)][_0x1ae840(0x143)](0x1),delete _0x4ab7d3['handler'],_0x4ab7d3[_0x1ae840(0x112)]=function(_0x3dadf9){const _0x2b6582=_0x1ae840;return _0x4e6c78['wknWT'](captureError,_0x4e6c78[_0x2b6582(0xf1)](require,_0x4e6c78[_0x2b6582(0x12f)]),_0x3dadf9);},_0x1699c9['run']=_0x4ab7d3;const {main:_0x2ce9cc}=_0x4e6c78[_0x1ae840(0x10f)](requireModule,_0x4e6c78['gsLWk'],_0x4e6c78[_0x1ae840(0x119)]);_0x4e6c78[_0x1ae840(0xfa)](_0x2ce9cc);})[a44_0x5ec4d1(0xfe)](a44_0x5ec4d1(0x113),Constants[a44_0x5ec4d1(0xd6)]['INFO'],function(_0x569857){const _0x4dfdbe=a44_0x5ec4d1,_0x54ad2c={'ZYkME':function(_0x18dbf1,_0x1bf251,_0x296021,_0x432299){return _0x18dbf1(_0x1bf251,_0x296021,_0x432299);},'GUEyr':function(_0x4f16e4,_0x3d0718){return _0x4f16e4(_0x3d0718);},'NNRsW':_0x4dfdbe(0x121)},_0x413eb3=process[_0x4dfdbe(0x138)][_0x4dfdbe(0x143)](0x2);return _0x54ad2c[_0x4dfdbe(0x10b)](captureError,_0x54ad2c['GUEyr'](require,_0x54ad2c[_0x4dfdbe(0x128)]),_0x569857[_0x4dfdbe(0x138)],_0x413eb3);})['command'](a44_0x5ec4d1(0x11d),Constants['VANILLA'][a44_0x5ec4d1(0xe9)],function(_0x5352ed){const _0x1f56a8=a44_0x5ec4d1,_0x50896d={'oGqcc':function(_0x221d40,_0x4ff4d3,_0x5b3301,_0x416d98){return _0x221d40(_0x4ff4d3,_0x5b3301,_0x416d98);},'kbktb':function(_0x1cd914,_0x3b504d){return _0x1cd914(_0x3b504d);},'QZrGX':_0x1f56a8(0x139)},_0xf29266=process[_0x1f56a8(0x138)][_0x1f56a8(0x143)](0x2);return _0x50896d[_0x1f56a8(0xe5)](captureError,_0x50896d[_0x1f56a8(0x125)](require,_0x50896d[_0x1f56a8(0x105)]),_0x5352ed[_0x1f56a8(0x138)],_0xf29266);})[a44_0x5ec4d1(0xfe)]('nightwatch',Constants['NIGHTWATCH'][a44_0x5ec4d1(0xe9)],function(_0x9287f0){const _0x39ed36=a44_0x5ec4d1,_0x39a559={'cPNpu':function(_0x1b5320,_0x3bc086,_0xb9b1b2,_0x4a9e53){return _0x1b5320(_0x3bc086,_0xb9b1b2,_0x4a9e53);},'ylPJN':function(_0x6a125d,_0x1235e3){return _0x6a125d(_0x1235e3);},'IHFWp':_0x39ed36(0xd8)},_0x4d3d62=process['argv'][_0x39ed36(0x143)](0x2);return _0x39a559[_0x39ed36(0x12e)](captureError,_0x39a559[_0x39ed36(0xf9)](require,_0x39a559[_0x39ed36(0x137)]),_0x9287f0[_0x39ed36(0x138)],_0x4d3d62);})['command'](a44_0x5ec4d1(0xf2),Constants['CODECEPTJS'][a44_0x5ec4d1(0xe9)],function(_0x38bee2){const _0x4fb49e=a44_0x5ec4d1,_0xe243e1={'sQcHh':function(_0x2bd46b,_0xc2aa20,_0x5786df,_0x4a0e2d){return _0x2bd46b(_0xc2aa20,_0x5786df,_0x4a0e2d);},'dMWOm':function(_0x4589af,_0x49a231){return _0x4589af(_0x49a231);},'ZFwdH':_0x4fb49e(0xe7)},_0x1d4363=process[_0x4fb49e(0x138)]['slice'](0x2);return _0xe243e1[_0x4fb49e(0xf6)](captureError,_0xe243e1[_0x4fb49e(0xd1)](require,_0xe243e1['ZFwdH']),_0x38bee2['argv'],_0x1d4363);})['command'](a44_0x5ec4d1(0x12b),Constants[a44_0x5ec4d1(0xf4)][a44_0x5ec4d1(0xe9)],function(_0xa343c5){const _0x14b366=a44_0x5ec4d1,_0x4c61f0={'aVDPc':function(_0x197077,_0x417f58,_0x5705df){return _0x197077(_0x417f58,_0x5705df);},'rPGGj':function(_0x388cf9,_0x582b15){return _0x388cf9(_0x582b15);},'irziA':'../../ats/src/index'},_0x3603fe=process[_0x14b366(0x138)][_0x14b366(0x143)](0x2);return _0x4c61f0['aVDPc'](captureError,_0x4c61f0[_0x14b366(0xd2)](require,_0x4c61f0[_0x14b366(0x145)]),_0xa343c5);})[a44_0x5ec4d1(0xfe)](a44_0x5ec4d1(0xf8),Constants[a44_0x5ec4d1(0x108)][a44_0x5ec4d1(0xe9)],function(_0x2e7e0c){const _0x10109c=a44_0x5ec4d1,_0x22cc31={'kJKrp':function(_0x35d18f,_0x266448){return _0x35d18f(_0x266448);}};return _0x22cc31[_0x10109c(0xfc)](runIntegrations,_0x2e7e0c);})[a44_0x5ec4d1(0xfe)](a44_0x5ec4d1(0x115),Constants[a44_0x5ec4d1(0xfd)][a44_0x5ec4d1(0xe9)],function(_0xd57f2b){const _0x48992a=a44_0x5ec4d1,_0x89ca3c={'WqgZB':function(_0xa25a02,_0xcb8108,_0x16a16d,_0x29db4e){return _0xa25a02(_0xcb8108,_0x16a16d,_0x29db4e);},'kGeVc':function(_0x37e579,_0x1d793d){return _0x37e579(_0x1d793d);},'ZbrOT':_0x48992a(0x127)},_0x351571=process[_0x48992a(0x138)][_0x48992a(0x143)](0x2);return _0x89ca3c['WqgZB'](captureError,_0x89ca3c[_0x48992a(0x122)](require,_0x89ca3c[_0x48992a(0xd4)]),_0xd57f2b[_0x48992a(0x138)],_0x351571);})[a44_0x5ec4d1(0xdd)](0x1,a44_0x5ec4d1(0x11a))[a44_0x5ec4d1(0x109)](null)[a44_0x5ec4d1(0x138)];!helper[a44_0x5ec4d1(0x103)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x5ec4d1(0x12b)&&console[a44_0x5ec4d1(0x13d)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a45_0x2691cf=a45_0x1c33;(function(_0x22f3da,_0x3dc40a){const _0x39c8f7=a45_0x1c33,_0x831dc2=_0x22f3da();while(!![]){try{const _0x43d894=-parseInt(_0x39c8f7(0xe9))/0x1+-parseInt(_0x39c8f7(0xfc))/0x2*(-parseInt(_0x39c8f7(0xbb))/0x3)+parseInt(_0x39c8f7(0xf4))/0x4*(-parseInt(_0x39c8f7(0xfe))/0x5)+parseInt(_0x39c8f7(0xc2))/0x6*(-parseInt(_0x39c8f7(0xf2))/0x7)+parseInt(_0x39c8f7(0xd0))/0x8*(-parseInt(_0x39c8f7(0xb2))/0x9)+parseInt(_0x39c8f7(0xe0))/0xa*(parseInt(_0x39c8f7(0xc3))/0xb)+parseInt(_0x39c8f7(0xfb))/0xc*(parseInt(_0x39c8f7(0xe2))/0xd);if(_0x43d894===_0x3dc40a)break;else _0x831dc2['push'](_0x831dc2['shift']());}catch(_0x425a0c){_0x831dc2['push'](_0x831dc2['shift']());}}}(a45_0xc199,0x7311d));const fs=require('fs'),helper=require(a45_0x2691cf(0xe6)),utilities=require(a45_0x2691cf(0xe5)),yaml=require(a45_0x2691cf(0xd8)),yargs=require(a45_0x2691cf(0xcb)),logger=require(a45_0x2691cf(0xd6))[a45_0x2691cf(0xdf)],configFileTemplate=__dirname+a45_0x2691cf(0x104),configFileTemplatePW=__dirname+a45_0x2691cf(0xd4),configFile=process[a45_0x2691cf(0xdc)]()+'/browserstack.yml',packageFile=process[a45_0x2691cf(0xdc)]()+a45_0x2691cf(0xf1),frameworks=['mocha',a45_0x2691cf(0xb8),a45_0x2691cf(0xbf),a45_0x2691cf(0xd2),a45_0x2691cf(0xec),a45_0x2691cf(0xf3),a45_0x2691cf(0xef)];let config;logger['info'](a45_0x2691cf(0xc4)),createConfigurationFile(yargs[a45_0x2691cf(0xfd)][a45_0x2691cf(0xe3)],yargs[a45_0x2691cf(0xfd)][a45_0x2691cf(0xb9)],yargs[a45_0x2691cf(0xfd)][a45_0x2691cf(0xef)]);function a45_0xc199(){const _0x58b4b8=['entries','Setup\x20completed','fFDpQ','readFileSync','/../../browserstack.yml.sample','789309uRvGLv','scripts','Adding\x20new\x20script(s)\x20in\x20package.json...','NUkug','uKfDY','orxHx','jest','key','JwLQT','24ZsxmQH','sPCxh','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','push','cucumber-js','BneLV','splice','539322ObTuta','11ZibhPl','Creating\x20configuration\x20file...','indexOf','MtYQH','alIgS','load','-browserstack','browserstack-node-sdk','yargs','OcHxw','length','browserstack-node-sdk\x20','writeFileSync','8lpkMsn','YOUR_ACCESS_KEY','node','oqivE','/../../browserstack.pw.yml.sample','rMVuG','../helpers/logger','npm\x20update\x20browserstack-node-sdk','js-yaml','\x20&&\x20npm\x20update\x20browserstack-node-sdk','JDpYe','info','cwd','ZjAwL','rcTKt','winstonLogger','3537370dmkOCz','split','13bpliZJ','username','idKuT','../helpers/utilities','../helpers/helper','includes','RMEvA','341213agUWAx','error','SDKSetup','nightwatch','postinstall','JnBUG','playwright','stringify','/package.json','70GdREbM','codeceptjs','2068boyDjR','utf8','parse','JeEsV','replace','isUndefined','bgoDb','14184084uGhYbc','173248iikvCY','argv','4155zjYnit','node-setup'];a45_0xc199=function(){return _0x58b4b8;};return a45_0xc199();}try{sdkSetup();}catch(a45_0x257257){logger['debug'](a45_0x2691cf(0xbd)+a45_0x257257);}addScriptInPackageJson();function createConfigurationFile(_0x34b70a,_0x1dfd86,_0x5a6f14=![]){const _0xc57502=a45_0x2691cf,_0x5c8c03={};_0x5c8c03[_0xc57502(0xd5)]=_0xc57502(0xf5),_0x5c8c03['JnBUG']='YOUR_USERNAME',_0x5c8c03[_0xc57502(0xb5)]=_0xc57502(0xd1);const _0x59f48f=_0x5c8c03;try{let _0x358083=fs['readFileSync'](_0x5a6f14?configFileTemplatePW:configFileTemplate,_0x59f48f[_0xc57502(0xd5)]);_0x34b70a&&(_0x358083=_0x358083[_0xc57502(0xf8)](_0x59f48f[_0xc57502(0xee)],_0x34b70a)),_0x1dfd86&&(_0x358083=_0x358083[_0xc57502(0xf8)](_0x59f48f[_0xc57502(0xb5)],_0x1dfd86)),config=yaml[_0xc57502(0xc8)](_0x358083),fs['writeFileSync'](configFile,_0x358083,_0x26779a=>{const _0x4a5960=_0xc57502;_0x26779a&&logger[_0x4a5960(0xea)](_0x26779a);});}catch(_0x160fba){logger['error'](_0x160fba);}}function addPostInstallScript(_0x359987,_0xb2295d){const _0x2315f9=a45_0x2691cf,_0x381b06={};_0x381b06['OcHxw']=_0x2315f9(0xed),_0x381b06[_0x2315f9(0xbc)]=_0x2315f9(0xd7),_0x381b06[_0x2315f9(0xe8)]=_0x2315f9(0xd9);const _0x5947a2=_0x381b06;let _0x46934c=_0x359987[_0x5947a2[_0x2315f9(0xcc)]];if(_0x46934c&&_0x46934c[_0x2315f9(0xe7)](_0x5947a2[_0x2315f9(0xbc)]))return;!_0x46934c?_0x46934c=_0x5947a2[_0x2315f9(0xbc)]:_0x46934c+=_0x5947a2[_0x2315f9(0xe8)],_0xb2295d[_0x2315f9(0xbe)]([_0x5947a2[_0x2315f9(0xcc)],_0x46934c]);}function a45_0x1c33(_0x1beaf4,_0x814927){const _0xc19944=a45_0xc199();return a45_0x1c33=function(_0x1c3341,_0x30eedb){_0x1c3341=_0x1c3341-0xb2;let _0x235636=_0xc19944[_0x1c3341];return _0x235636;},a45_0x1c33(_0x1beaf4,_0x814927);}function addScriptInPackageJson(){const _0x3bdbc0=a45_0x2691cf,_0x490433={'ZakYc':_0x3bdbc0(0xf5),'ZjAwL':function(_0x324104,_0x31da52){return _0x324104<_0x31da52;},'BneLV':function(_0x565002,_0x1d137c,_0x3c75c1){return _0x565002(_0x1d137c,_0x3c75c1);},'JwLQT':function(_0x1da64c,_0x348449){return _0x1da64c<_0x348449;},'rcTKt':function(_0x1ca026,_0x4c95c3,_0x483e7f){return _0x1ca026(_0x4c95c3,_0x483e7f);},'JDpYe':function(_0x2648dd,_0xbacf69){return _0x2648dd<_0xbacf69;},'bgoDb':function(_0x41fa3e,_0x18fae1){return _0x41fa3e!==_0x18fae1;},'oqivE':_0x3bdbc0(0xb4)},_0x100234=JSON[_0x3bdbc0(0xf6)](fs[_0x3bdbc0(0x103)](packageFile,_0x490433['ZakYc'])),_0x51313c=[];for(let _0x3eea00=0x0;_0x490433[_0x3bdbc0(0xdd)](_0x3eea00,frameworks[_0x3bdbc0(0xcd)]);_0x3eea00+=0x1){const _0x12a7c2=_0x490433[_0x3bdbc0(0xc0)](findScriptsWithFramework,_0x100234[_0x3bdbc0(0xb3)],frameworks[_0x3eea00]);for(let _0x360988=0x0;_0x490433[_0x3bdbc0(0xba)](_0x360988,_0x12a7c2[_0x3bdbc0(0xcd)]);_0x360988+=0x1){_0x51313c['push'](_0x490433['BneLV'](getUpdatedCommand,_0x100234[_0x3bdbc0(0xb3)],_0x12a7c2[_0x360988]));}_0x490433[_0x3bdbc0(0xde)](addPostInstallScript,_0x100234[_0x3bdbc0(0xb3)],_0x51313c);}const _0x5190d7={..._0x100234['scripts']},_0x47725f=_0x5190d7;for(let _0x500437=0x0;_0x490433[_0x3bdbc0(0xda)](_0x500437,_0x51313c[_0x3bdbc0(0xcd)]);_0x500437+=0x1){_0x47725f[_0x51313c[_0x500437][0x0]]=_0x51313c[_0x500437][0x1];}_0x490433[_0x3bdbc0(0xfa)](JSON[_0x3bdbc0(0xf0)](_0x100234[_0x3bdbc0(0xb3)]),JSON[_0x3bdbc0(0xf0)](_0x47725f))&&(logger['info'](_0x490433[_0x3bdbc0(0xd3)]),_0x100234[_0x3bdbc0(0xb3)]=_0x47725f,fs[_0x3bdbc0(0xcf)](packageFile,JSON['stringify'](_0x100234,null,0x2),_0x20955c=>{const _0x288caf=_0x3bdbc0;_0x20955c&&logger[_0x288caf(0xea)](_0x20955c);}));};function findScriptsWithFramework(_0x3af790,_0x129fb1){const _0x26227a=a45_0x2691cf,_0xb74597={};_0xb74597[_0x26227a(0xc6)]=function(_0x504565,_0x2bf13c){return _0x504565<_0x2bf13c;},_0xb74597[_0x26227a(0xb7)]=_0x26227a(0xca);const _0x57b6ad=_0xb74597,_0x15c67e=[],_0x1521f2=Object[_0x26227a(0x100)](_0x3af790);for(let _0x40a4fc=0x0;_0x57b6ad['MtYQH'](_0x40a4fc,_0x1521f2[_0x26227a(0xcd)]);_0x40a4fc+=0x1){_0x1521f2[_0x40a4fc][0x1][_0x26227a(0xe7)](_0x129fb1)&&!_0x1521f2[_0x40a4fc][0x1][_0x26227a(0xe7)](_0x57b6ad[_0x26227a(0xb7)])&&_0x15c67e['push'](_0x1521f2[_0x40a4fc][0x0]);}return _0x15c67e;}function getUpdatedCommand(_0x319106,_0x4f11ce){const _0x10f7ba=a45_0x2691cf,_0x5e3206={};_0x5e3206['fFDpQ']=function(_0x56d8b7,_0x2a7028){return _0x56d8b7!==_0x2a7028;},_0x5e3206[_0x10f7ba(0xf7)]=_0x10f7ba(0xca),_0x5e3206[_0x10f7ba(0xe4)]=function(_0x305c2a,_0x312b61){return _0x305c2a===_0x312b61;};const _0x11fbfc=_0x5e3206,_0x442ae1=_0x4f11ce+_0x10f7ba(0xc9),_0x4d5c6d=_0x319106[_0x4f11ce],_0x549a7f=_0x4d5c6d[_0x10f7ba(0xe1)]('\x20');for(const _0x30968a of frameworks){if(_0x11fbfc[_0x10f7ba(0x102)](_0x549a7f['indexOf'](_0x30968a),-0x1)){_0x549a7f[_0x10f7ba(0xc1)](_0x549a7f[_0x10f7ba(0xc5)](_0x30968a),0x0,_0x11fbfc[_0x10f7ba(0xf7)]);break;}}let _0x48d928=_0x549a7f['join']('\x20');return _0x11fbfc[_0x10f7ba(0xe4)](_0x48d928,_0x4d5c6d)&&(_0x48d928=_0x10f7ba(0xce)+_0x4d5c6d),[_0x442ae1,_0x48d928];}function sdkSetup(){const _0x56d634=a45_0x2691cf,_0x3b5188={};_0x3b5188['alIgS']=_0x56d634(0xff),_0x3b5188[_0x56d634(0xb6)]=_0x56d634(0xeb);const _0x33899c=_0x3b5188;if(helper[_0x56d634(0xf9)](config))return;config['source']=_0x33899c[_0x56d634(0xc7)];try{utilities['fireFunnelTestEvent'](_0x33899c[_0x56d634(0xb6)],{},config,'');}catch(_0x2b959e){logger['debug'](_0x56d634(0xbd)+_0x2b959e);}}logger[a45_0x2691cf(0xdb)](a45_0x2691cf(0x101));
3
+ const a45_0x42b223=a45_0x2897;(function(_0x32bd05,_0x6468f7){const _0xcb01d8=a45_0x2897,_0x4ee788=_0x32bd05();while(!![]){try{const _0x4132cc=-parseInt(_0xcb01d8(0x1d0))/0x1*(-parseInt(_0xcb01d8(0x1b8))/0x2)+parseInt(_0xcb01d8(0x1c5))/0x3*(-parseInt(_0xcb01d8(0x1e4))/0x4)+parseInt(_0xcb01d8(0x1ce))/0x5+-parseInt(_0xcb01d8(0x1e9))/0x6*(-parseInt(_0xcb01d8(0x1b6))/0x7)+parseInt(_0xcb01d8(0x1de))/0x8+-parseInt(_0xcb01d8(0x1c2))/0x9+parseInt(_0xcb01d8(0x1b0))/0xa;if(_0x4132cc===_0x6468f7)break;else _0x4ee788['push'](_0x4ee788['shift']());}catch(_0x3de1c8){_0x4ee788['push'](_0x4ee788['shift']());}}}(a45_0x463b,0x80fff));const fs=require('fs'),helper=require(a45_0x42b223(0x1bf)),utilities=require(a45_0x42b223(0x1da)),yaml=require(a45_0x42b223(0x1ba)),yargs=require(a45_0x42b223(0x1c3)),logger=require(a45_0x42b223(0x1c0))[a45_0x42b223(0x1ac)],configFileTemplate=__dirname+a45_0x42b223(0x1b4),configFileTemplatePW=__dirname+a45_0x42b223(0x1db),configFile=process[a45_0x42b223(0x1bb)]()+a45_0x42b223(0x1bc),packageFile=process[a45_0x42b223(0x1bb)]()+a45_0x42b223(0x1d6),frameworks=[a45_0x42b223(0x1e6),a45_0x42b223(0x1c4),'cucumber-js','node',a45_0x42b223(0x1ee),'codeceptjs',a45_0x42b223(0x1d7)];let config;logger[a45_0x42b223(0x1af)](a45_0x42b223(0x1b5)),createConfigurationFile(yargs[a45_0x42b223(0x1e0)]['username'],yargs['argv'][a45_0x42b223(0x1dd)],yargs[a45_0x42b223(0x1e0)][a45_0x42b223(0x1d7)]);function a45_0x463b(){const _0x43c69b=['ogQmJ','mocha','split','eaPBU','1939344oazMbZ','writeFileSync','source','yUCiC','load','nightwatch','Setup\x20completed','ndbdj','length','fLuQx','ldEYy','stringify','winstonLogger','YOUR_USERNAME','replace','info','5235020lHDYhM','kZSRW','gxPCu','includes','/../../browserstack.yml.sample','Creating\x20configuration\x20file...','7GeAcZi','utf8','6zgxFVX','browserstack-node-sdk\x20','js-yaml','cwd','/browserstack.yml','eTQkO','push','../helpers/helper','../helpers/logger','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','7531272izTZyy','yargs','jest','2864019ZblMrL','bfFnq','AsIBr','HiRRV','isUndefined','scripts','parse','readFileSync','browserstack-node-sdk','2018585XtYXTM','postinstall','217709PgkEXA','txlvZ','debug','yzXiM','GTMfE','fireFunnelTestEvent','/package.json','playwright','entries','UizVe','../helpers/utilities','/../../browserstack.pw.yml.sample','NaJhu','key','3330352TGnkxD','error','argv','MxZXS','\x20&&\x20npm\x20update\x20browserstack-node-sdk','join','4rmygPD'];a45_0x463b=function(){return _0x43c69b;};return a45_0x463b();}try{sdkSetup();}catch(a45_0x97b48){logger[a45_0x42b223(0x1d2)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a45_0x97b48);}addScriptInPackageJson();function createConfigurationFile(_0x42dd6f,_0x52cc38,_0x101cb4=![]){const _0x444986=a45_0x42b223,_0x4f9962={};_0x4f9962['ldEYy']=_0x444986(0x1b7),_0x4f9962[_0x444986(0x1e1)]=_0x444986(0x1ad),_0x4f9962[_0x444986(0x1b1)]='YOUR_ACCESS_KEY';const _0x4a7ad6=_0x4f9962;try{let _0x5cfc5d=fs[_0x444986(0x1cc)](_0x101cb4?configFileTemplatePW:configFileTemplate,_0x4a7ad6[_0x444986(0x1aa)]);_0x42dd6f&&(_0x5cfc5d=_0x5cfc5d[_0x444986(0x1ae)](_0x4a7ad6[_0x444986(0x1e1)],_0x42dd6f)),_0x52cc38&&(_0x5cfc5d=_0x5cfc5d[_0x444986(0x1ae)](_0x4a7ad6[_0x444986(0x1b1)],_0x52cc38)),config=yaml[_0x444986(0x1ed)](_0x5cfc5d),fs[_0x444986(0x1ea)](configFile,_0x5cfc5d,_0x4ae731=>{const _0x50cd32=_0x444986;_0x4ae731&&logger[_0x50cd32(0x1df)](_0x4ae731);});}catch(_0x553898){logger[_0x444986(0x1df)](_0x553898);}}function addPostInstallScript(_0x58e710,_0x151c88){const _0x1a6efd=a45_0x42b223,_0x5edb88={};_0x5edb88[_0x1a6efd(0x1bd)]=_0x1a6efd(0x1cf),_0x5edb88[_0x1a6efd(0x1d1)]='npm\x20update\x20browserstack-node-sdk',_0x5edb88[_0x1a6efd(0x1b2)]=_0x1a6efd(0x1e2);const _0x424ea3=_0x5edb88;let _0x3c76bf=_0x58e710[_0x424ea3[_0x1a6efd(0x1bd)]];if(_0x3c76bf&&_0x3c76bf[_0x1a6efd(0x1b3)](_0x424ea3[_0x1a6efd(0x1d1)]))return;!_0x3c76bf?_0x3c76bf=_0x424ea3[_0x1a6efd(0x1d1)]:_0x3c76bf+=_0x424ea3[_0x1a6efd(0x1b2)],_0x151c88[_0x1a6efd(0x1be)]([_0x424ea3[_0x1a6efd(0x1bd)],_0x3c76bf]);}function addScriptInPackageJson(){const _0x443913=a45_0x42b223,_0x11c24f={'ogQmJ':'utf8','UizVe':function(_0x5d82b7,_0x2b11a1){return _0x5d82b7<_0x2b11a1;},'bfFnq':function(_0x23292f,_0x101acc,_0x192d82){return _0x23292f(_0x101acc,_0x192d82);},'yzXiM':function(_0x191a7e,_0x52000c,_0x459c45){return _0x191a7e(_0x52000c,_0x459c45);},'JGbYd':function(_0xd79e11,_0x3b6277){return _0xd79e11<_0x3b6277;},'NaJhu':function(_0x1ffb51,_0x9f3542){return _0x1ffb51!==_0x9f3542;},'AsIBr':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x2e4444=JSON[_0x443913(0x1cb)](fs['readFileSync'](packageFile,_0x11c24f[_0x443913(0x1e5)])),_0x141afe=[];for(let _0x403b0e=0x0;_0x11c24f[_0x443913(0x1d9)](_0x403b0e,frameworks['length']);_0x403b0e+=0x1){const _0x2532bc=_0x11c24f[_0x443913(0x1c6)](findScriptsWithFramework,_0x2e4444[_0x443913(0x1ca)],frameworks[_0x403b0e]);for(let _0x5cbf20=0x0;_0x11c24f[_0x443913(0x1d9)](_0x5cbf20,_0x2532bc['length']);_0x5cbf20+=0x1){_0x141afe[_0x443913(0x1be)](_0x11c24f[_0x443913(0x1c6)](getUpdatedCommand,_0x2e4444[_0x443913(0x1ca)],_0x2532bc[_0x5cbf20]));}_0x11c24f[_0x443913(0x1d3)](addPostInstallScript,_0x2e4444[_0x443913(0x1ca)],_0x141afe);}const _0x1247e8={..._0x2e4444[_0x443913(0x1ca)]},_0x3b73de=_0x1247e8;for(let _0x47cd42=0x0;_0x11c24f['JGbYd'](_0x47cd42,_0x141afe[_0x443913(0x1f1)]);_0x47cd42+=0x1){_0x3b73de[_0x141afe[_0x47cd42][0x0]]=_0x141afe[_0x47cd42][0x1];}_0x11c24f[_0x443913(0x1dc)](JSON['stringify'](_0x2e4444[_0x443913(0x1ca)]),JSON[_0x443913(0x1ab)](_0x3b73de))&&(logger[_0x443913(0x1af)](_0x11c24f[_0x443913(0x1c7)]),_0x2e4444[_0x443913(0x1ca)]=_0x3b73de,fs['writeFileSync'](packageFile,JSON[_0x443913(0x1ab)](_0x2e4444,null,0x2),_0x4824b3=>{const _0x821c91=_0x443913;_0x4824b3&&logger[_0x821c91(0x1df)](_0x4824b3);}));};function a45_0x2897(_0x5509ec,_0x676143){const _0x463b4b=a45_0x463b();return a45_0x2897=function(_0x289753,_0x5f014c){_0x289753=_0x289753-0x1a9;let _0x192944=_0x463b4b[_0x289753];return _0x192944;},a45_0x2897(_0x5509ec,_0x676143);}function findScriptsWithFramework(_0x3c82df,_0x298dad){const _0x1f85ab=a45_0x42b223,_0x434e27={};_0x434e27['SvSeQ']=function(_0x22d54e,_0x4ae481){return _0x22d54e<_0x4ae481;},_0x434e27[_0x1f85ab(0x1e8)]=_0x1f85ab(0x1cd);const _0x77ff3b=_0x434e27,_0x4553b4=[],_0x52856e=Object[_0x1f85ab(0x1d8)](_0x3c82df);for(let _0x5ea9a5=0x0;_0x77ff3b['SvSeQ'](_0x5ea9a5,_0x52856e[_0x1f85ab(0x1f1)]);_0x5ea9a5+=0x1){_0x52856e[_0x5ea9a5][0x1][_0x1f85ab(0x1b3)](_0x298dad)&&!_0x52856e[_0x5ea9a5][0x1][_0x1f85ab(0x1b3)](_0x77ff3b[_0x1f85ab(0x1e8)])&&_0x4553b4[_0x1f85ab(0x1be)](_0x52856e[_0x5ea9a5][0x0]);}return _0x4553b4;}function getUpdatedCommand(_0x3ff1ee,_0x3dd0f6){const _0x456e5e=a45_0x42b223,_0x58400f={};_0x58400f[_0x456e5e(0x1ec)]=function(_0x69454,_0x5f028d){return _0x69454!==_0x5f028d;},_0x58400f[_0x456e5e(0x1f0)]='browserstack-node-sdk',_0x58400f[_0x456e5e(0x1d4)]=function(_0xf020e6,_0x49e3ce){return _0xf020e6===_0x49e3ce;};const _0x4e8593=_0x58400f,_0x430396=_0x3dd0f6+'-browserstack',_0x5f2d85=_0x3ff1ee[_0x3dd0f6],_0x5dd901=_0x5f2d85[_0x456e5e(0x1e7)]('\x20');for(const _0x42d974 of frameworks){if(_0x4e8593['yUCiC'](_0x5dd901['indexOf'](_0x42d974),-0x1)){_0x5dd901['splice'](_0x5dd901['indexOf'](_0x42d974),0x0,_0x4e8593['ndbdj']);break;}}let _0x2855ea=_0x5dd901[_0x456e5e(0x1e3)]('\x20');return _0x4e8593[_0x456e5e(0x1d4)](_0x2855ea,_0x5f2d85)&&(_0x2855ea=_0x456e5e(0x1b9)+_0x5f2d85),[_0x430396,_0x2855ea];}function sdkSetup(){const _0x2f5307=a45_0x42b223,_0x2b12a1={};_0x2b12a1[_0x2f5307(0x1c8)]='node-setup',_0x2b12a1['fLuQx']='SDKSetup';const _0x1922c1=_0x2b12a1;if(helper[_0x2f5307(0x1c9)](config))return;config[_0x2f5307(0x1eb)]=_0x1922c1[_0x2f5307(0x1c8)];try{utilities[_0x2f5307(0x1d5)](_0x1922c1[_0x2f5307(0x1a9)],{},config,'');}catch(_0x10c480){logger[_0x2f5307(0x1d2)](_0x2f5307(0x1c1)+_0x10c480);}}logger['info'](a45_0x42b223(0x1ef));
@@ -1 +1 @@
1
- function a46_0x471e(){const _0x1f11ca=['platform-run-failure','dlhkB','nupyj','obeRj','rnQot','parallelCucumberRun','1196kiuDER','./testWorker.js','Worker','pipe','MOCHA','zUSnO','then','vanillaWorker','getStdout','213976OLLdeA','xjsvD','stderr','_workerPool','worker','gaJtK','launchBuild','stop','../../helpers/test-observability/constants','error','wFQyQ','QOkdJ','../../helpers/testhub/testhubHandler','failureCount','36ncuqBt','../../helpers/test-observability/utils','zNtsY','emit','results','all','jest-worker','platforms','config','6aVXrek','getStderr','nPbjO','platform','fMmpj','platform-run-start','OlpKH','Workers\x20failed\x20to\x20exit\x20gracefully','TPMwc','NPKvm','parallelVanillaRun','resolve','627820wyhUAH','cucumberWorker','exitCode','cjcDd','log','Running\x20','SDK_SETUP','McDtL','length','xiyjb','398065IeIuoz','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','dAnqn','platformCaps','Jxcak','21235BQHSUb','test-file-success','4405330lMdEMe','ahjJj','IaiIP','winstonLogger','platform-run-success','../../helpers/logger','stdout','_child','wbUCW','3351QFKvQv','exit','map','2428300THYnTx','info','TqOgI','json','Kbwyr','test-file-failure','waitForExit','iIddV','emittery','configuration','test-file-start','ZlVyH','EVENTS','IfSpE','end','qJKRn','sIlbf'];a46_0x471e=function(){return _0x1f11ca;};return a46_0x471e();}const a46_0x1bff28=a46_0x3120;function a46_0x3120(_0x2907fe,_0x459b10){const _0x471eec=a46_0x471e();return a46_0x3120=function(_0x3120bf,_0x5cf01e){_0x3120bf=_0x3120bf-0x114;let _0x56f096=_0x471eec[_0x3120bf];return _0x56f096;},a46_0x3120(_0x2907fe,_0x459b10);}(function(_0x1d3ea5,_0x3aec3d){const _0x5c85e3=a46_0x3120,_0xddf039=_0x1d3ea5();while(!![]){try{const _0x1df7fa=parseInt(_0x5c85e3(0x121))/0x1+-parseInt(_0x5c85e3(0x172))/0x2+parseInt(_0x5c85e3(0x12c))/0x3*(-parseInt(_0x5c85e3(0x146))/0x4)+-parseInt(_0x5c85e3(0x11c))/0x5*(parseInt(_0x5c85e3(0x166))/0x6)+parseInt(_0x5c85e3(0x12f))/0x7+parseInt(_0x5c85e3(0x14f))/0x8*(parseInt(_0x5c85e3(0x15d))/0x9)+parseInt(_0x5c85e3(0x123))/0xa;if(_0x1df7fa===_0x3aec3d)break;else _0xddf039['push'](_0xddf039['shift']());}catch(_0x1d1e4f){_0xddf039['push'](_0xddf039['shift']());}}}(a46_0x471e,0x2def6));const Worker=require(a46_0x1bff28(0x163))[a46_0x1bff28(0x148)],Emittery=require(a46_0x1bff28(0x137)),pLimit=require('p-limit'),logger=require(a46_0x1bff28(0x128))[a46_0x1bff28(0x126)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a46_0x1bff28(0x13b)],{debug}=require(a46_0x1bff28(0x15e)),TestHubHandler=require(a46_0x1bff28(0x15b)),{FRAMEWORKS}=require(a46_0x1bff28(0x157));exports['parallelTestRun']=(_0x46993a,_0xcd7d95,_0x1a837d)=>new Promise(async _0x2e5d13=>{const _0x52fb4d=a46_0x1bff28,_0x5dc0ac={'iIddV':_0x52fb4d(0x15c),'qJKRn':function(_0x4bb201,_0x1c934a){return _0x4bb201+_0x1c934a;},'NPKvm':_0x52fb4d(0x161),'IfSpE':_0x52fb4d(0x16d),'cjcDd':function(_0x50e9fe,_0xcb6a15){return _0x50e9fe(_0xcb6a15);},'ahjJj':_0x52fb4d(0x139),'zNtsY':_0x52fb4d(0x147),'VGmoV':_0x52fb4d(0x153),'wFQyQ':_0x52fb4d(0x132),'wbUCW':'pipe','McDtL':function(_0x2e6119,_0x272cf5){return _0x2e6119*_0x272cf5;},'gaJtK':_0x52fb4d(0x122),'IaiIP':_0x52fb4d(0x134),'hpQRb':function(_0x59c8b7,_0x55c087){return _0x59c8b7*_0x55c087;}},_0xe582d5=_0x1a837d[_0x52fb4d(0x165)],_0x37aba7={},_0x298f3a=await TestHubHandler[_0x52fb4d(0x155)](FRAMEWORKS[_0x52fb4d(0x14a)],_0x1a837d),_0x284a20=new Worker(require[_0x52fb4d(0x171)](_0x5dc0ac[_0x52fb4d(0x15f)]),{'exposedMethods':[_0x5dc0ac['VGmoV']],'forkOptions':{'serialization':_0x5dc0ac[_0x52fb4d(0x159)],'stdio':_0x5dc0ac[_0x52fb4d(0x12b)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x5dc0ac[_0x52fb4d(0x119)](_0xcd7d95,0x1),'enableWorkerThreads':!![]}),_0x3e64e4=new Emittery();_0x3e64e4['on'](_0x5dc0ac[_0x52fb4d(0x154)],_0x316419=>{const _0x580217=_0x52fb4d;_0x37aba7[_0x316419[0x0]]?(_0x37aba7[_0x316419[0x0]][_0x5dc0ac[_0x580217(0x136)]]=_0x5dc0ac[_0x580217(0x13e)](_0x37aba7[_0x316419[0x0]][_0x5dc0ac['iIddV']],_0x316419[0x1][_0x5dc0ac[_0x580217(0x136)]]),_0x37aba7[_0x316419[0x0]][_0x5dc0ac[_0x580217(0x16f)]]=[..._0x37aba7[_0x316419[0x0]][_0x5dc0ac[_0x580217(0x16f)]],..._0x316419[0x1][_0x5dc0ac[_0x580217(0x16f)]]]):_0x37aba7[_0x316419[0x0]]={'failureCount':_0x316419[0x1][_0x5dc0ac['iIddV']],'results':[..._0x316419[0x1][_0x5dc0ac[_0x580217(0x16f)]]]};}),_0x3e64e4['on'](_0x5dc0ac[_0x52fb4d(0x125)],_0x71daf6=>console['log'](_0x71daf6[0x1]));_0x284a20[_0x52fb4d(0x14e)]()&&_0x284a20[_0x52fb4d(0x14e)]()[_0x52fb4d(0x149)](process[_0x52fb4d(0x129)]);_0x284a20[_0x52fb4d(0x167)]()&&_0x284a20[_0x52fb4d(0x167)]()[_0x52fb4d(0x149)](process[_0x52fb4d(0x151)]);const _0x49bd4b=async()=>{const _0x238af8=_0x52fb4d,{forceExited:_0x19b5ae}=await _0x284a20[_0x238af8(0x13d)]();_0x19b5ae&&console[_0x238af8(0x158)](_0x5dc0ac[_0x238af8(0x13c)]);try{await TestHubHandler[_0x238af8(0x156)]();}catch(_0x2465e1){_0x5dc0ac[_0x238af8(0x115)](debug,_0x238af8(0x11d)+_0x2465e1);}_0x5dc0ac[_0x238af8(0x115)](_0x2e5d13,_0x37aba7);},_0x5513f7=_0x5dc0ac[_0x52fb4d(0x115)](pLimit,_0x5dc0ac['hpQRb'](_0xcd7d95,0x1)),_0x2b4c13=_0x349d75=>_0x5513f7(async()=>{const _0x577d62=_0x52fb4d;return await _0x3e64e4[_0x577d62(0x160)](_0x5dc0ac[_0x577d62(0x124)],_0x349d75),_0x284a20[_0x577d62(0x153)](_0x349d75,_0xe582d5);});PerformanceTester['end'](PerformanceEvents[_0x52fb4d(0x118)]),Promise[_0x52fb4d(0x162)](_0x46993a[_0x52fb4d(0x12e)](_0x5e8a12=>_0x2b4c13(_0x5e8a12)[_0x52fb4d(0x14c)](_0x1690b4=>_0x3e64e4['emit']('test-file-success',[_0x5e8a12['configuration']['platform'],_0x1690b4]),_0x3407bd=>_0x3e64e4[_0x52fb4d(0x160)](_0x52fb4d(0x134),[_0x5e8a12,_0x3407bd]))))[_0x52fb4d(0x14c)](_0x49bd4b,_0x49bd4b);}),exports[a46_0x1bff28(0x145)]=(_0x16e3b3,_0x15aee3,_0x11ac9a,_0x2bb233,_0x19134e)=>{const _0x4151c3=a46_0x1bff28,_0x712ce2={'rnQot':_0x4151c3(0x16b),'nPbjO':'Workers\x20failed\x20to\x20exit\x20gracefully','OlpKH':function(_0x13b7df,_0x1e8d3c){return _0x13b7df(_0x1e8d3c);},'dBJEt':_0x4151c3(0x147),'SAmrg':_0x4151c3(0x173),'wXarT':_0x4151c3(0x132),'TPMwc':_0x4151c3(0x149),'xjsvD':_0x4151c3(0x127),'kxKdE':_0x4151c3(0x140),'nupyj':function(_0x31a9a7,_0x30f339){return _0x31a9a7(_0x30f339);}};return new Promise(_0x489b18=>{const _0x4dd714=_0x4151c3,_0x1804e1={'xiyjb':_0x712ce2[_0x4dd714(0x168)],'obeRj':function(_0x498919,_0x3de3e9){const _0x1e9a27=_0x4dd714;return _0x712ce2[_0x1e9a27(0x16c)](_0x498919,_0x3de3e9);}},_0x155f36=[],_0x5b91f2=new Worker(require[_0x4dd714(0x171)](_0x712ce2['dBJEt']),{'exposedMethods':[_0x712ce2['SAmrg']],'forkOptions':{'serialization':_0x712ce2['wXarT'],'stdio':_0x712ce2[_0x4dd714(0x16e)]},'numWorkers':_0x16e3b3[_0x4dd714(0x11a)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2e834d=new Emittery();_0x2e834d['on'](_0x712ce2[_0x4dd714(0x150)],_0x3c8baf=>{_0x155f36['push']([_0x3c8baf[0x0],_0x3c8baf[0x1]]);}),_0x2e834d['on'](_0x712ce2['kxKdE'],_0x2cc6e0=>console[_0x4dd714(0x116)](_0x2cc6e0[0x1]));_0x5b91f2[_0x4dd714(0x14e)]()&&_0x5b91f2[_0x4dd714(0x14e)]()['pipe'](process['stdout']);_0x5b91f2[_0x4dd714(0x167)]()&&_0x5b91f2['getStderr']()[_0x4dd714(0x149)](process[_0x4dd714(0x151)]);const _0x40eda4=async()=>{const _0x44d98a=_0x4dd714,{forceExited:_0x5c56e3}=await _0x5b91f2[_0x44d98a(0x13d)]();_0x5c56e3&&console[_0x44d98a(0x158)](_0x1804e1[_0x44d98a(0x11b)]),_0x1804e1[_0x44d98a(0x143)](_0x489b18,_0x155f36);},_0x5a180b=_0x712ce2[_0x4dd714(0x142)](pLimit,_0x16e3b3[_0x4dd714(0x11a)]||0x1),_0x873a0f=(_0x3c9cf,_0x51eb1e)=>_0x5a180b(async()=>{const _0x36e6a2=_0x4dd714;return await _0x2e834d[_0x36e6a2(0x160)](_0x712ce2[_0x36e6a2(0x144)],_0x3c9cf),_0x15aee3[_0x36e6a2(0x11f)]=_0x11ac9a[_0x36e6a2(0x164)][_0x51eb1e],_0x5b91f2[_0x36e6a2(0x173)](_0x3c9cf,_0x15aee3,_0x11ac9a,_0x2bb233,_0x19134e);});Promise[_0x4dd714(0x162)](_0x16e3b3[_0x4dd714(0x12e)]((_0xd8b594,_0xf159be)=>_0x873a0f(_0xd8b594,_0xf159be)[_0x4dd714(0x14c)](_0x4778c3=>_0x2e834d[_0x4dd714(0x160)]('platform-run-success',[_0xd8b594,_0x4778c3]),_0x548ce3=>_0x2e834d[_0x4dd714(0x160)](_0x4dd714(0x140),[_0xd8b594,_0x548ce3]))))[_0x4dd714(0x14c)](_0x40eda4,_0x40eda4);});},exports[a46_0x1bff28(0x170)]=(_0x290961,_0x2f3e10)=>new Promise(_0x5da10c=>{const _0x1d1763=a46_0x1bff28,_0x14d4d6={'XiVzL':function(_0x2f737d,_0x47c8fa){return _0x2f737d===_0x47c8fa;},'gjXuJ':function(_0x21da78,_0x15cde4){return _0x21da78!==_0x15cde4;},'dlhkB':_0x1d1763(0x12d),'xpdqh':_0x1d1763(0x16d),'Jxcak':function(_0x150fa0,_0x363a70){return _0x150fa0(_0x363a70);},'TqOgI':'./testWorker.js','zUSnO':_0x1d1763(0x14d),'fMmpj':'json','QOkdJ':'pipe','rDHvl':_0x1d1763(0x122),'HuAtc':_0x1d1763(0x134),'sIlbf':function(_0x301f16,_0x18bd7d){return _0x301f16(_0x18bd7d);}},_0x2f59c4={},_0x2f2ff3=new Worker(require['resolve'](_0x14d4d6[_0x1d1763(0x131)]),{'exposedMethods':[_0x14d4d6[_0x1d1763(0x14b)]],'forkOptions':{'serialization':_0x14d4d6[_0x1d1763(0x16a)],'stdio':_0x14d4d6[_0x1d1763(0x15a)]},'numWorkers':_0x2f3e10,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x2a7781=new Emittery();_0x2a7781['on'](_0x14d4d6['rDHvl'],_0x26551e=>{const _0x2cb80e=_0x1d1763;_0x26551e[0x0]&&logger[_0x2cb80e(0x130)](_0x2cb80e(0x117)+_0x26551e[0x1]+'\x20for',_0x26551e[0x0]);}),_0x2a7781['on'](_0x14d4d6['HuAtc'],_0x3789ea=>{const _0x388168=_0x1d1763;process[_0x388168(0x114)]=0x1;});_0x2f2ff3[_0x1d1763(0x14e)]()&&_0x2f2ff3[_0x1d1763(0x14e)]()[_0x1d1763(0x149)](process['stdout']);_0x2f2ff3[_0x1d1763(0x167)]()&&_0x2f2ff3['getStderr']()[_0x1d1763(0x149)](process['stderr']);const _0x29d045=async()=>{const _0x42c2a8=_0x1d1763,_0x378803={'Kbwyr':function(_0x25cd4b,_0x922906){return _0x14d4d6['XiVzL'](_0x25cd4b,_0x922906);},'gQJKS':function(_0x1fbdd3,_0xe4dfb1){return _0x14d4d6['gjXuJ'](_0x1fbdd3,_0xe4dfb1);},'JzZOs':_0x14d4d6[_0x42c2a8(0x141)]};let _0x2d5099=0x0;const _0x2fbb88=_0x2f2ff3[_0x42c2a8(0x152)]['getWorkers'](),_0x2adb88=()=>{},_0x597334=_0x2fbb88[_0x42c2a8(0x12e)](async _0x52ed98=>{const _0x499306=_0x42c2a8,_0x3ffddc={'dAnqn':function(_0x3d9e38,_0x5305b6){const _0x4a041c=a46_0x3120;return _0x378803[_0x4a041c(0x133)](_0x3d9e38,_0x5305b6);},'ZlVyH':function(_0x10208d,_0x3850a1){return _0x378803['gQJKS'](_0x10208d,_0x3850a1);}};_0x52ed98['send']([0x2,![]],_0x2adb88,_0x2adb88,_0x2adb88),_0x52ed98[_0x499306(0x12a)]['on'](_0x378803['JzZOs'],_0x963eec=>{const _0x2d5b8a=_0x499306;_0x3ffddc[_0x2d5b8a(0x11e)](_0x2d5099,0x0)&&_0x3ffddc[_0x2d5b8a(0x13a)](_0x963eec,0x0)&&(_0x2d5099=_0x963eec);}),await _0x52ed98[_0x499306(0x135)]();});await Promise[_0x42c2a8(0x162)](_0x597334),process['exitCode']=_0x2d5099;const {forceExited:_0x40b11b}=await _0x2f2ff3[_0x42c2a8(0x13d)]();_0x40b11b&&console[_0x42c2a8(0x158)](_0x14d4d6['xpdqh']),_0x14d4d6[_0x42c2a8(0x120)](_0x5da10c,_0x2f59c4);},_0x424932=_0x14d4d6[_0x1d1763(0x13f)](pLimit,_0x2f3e10),_0x1aeee4=_0x572922=>_0x424932(async()=>{return _0x2f2ff3['vanillaWorker'](_0x572922);});Promise[_0x1d1763(0x162)](_0x290961[_0x1d1763(0x12e)](_0x21a832=>_0x1aeee4(_0x21a832)[_0x1d1763(0x14c)](_0x465fa0=>_0x2a7781[_0x1d1763(0x160)]('test-file-success',[_0x21a832[_0x1d1763(0x138)][_0x1d1763(0x169)],_0x21a832['configuration']['file']]),_0xd505bd=>_0x2a7781[_0x1d1763(0x160)]('test-file-failure',[_0x21a832,_0xd505bd]))))[_0x1d1763(0x14c)](_0x29d045,_0x29d045);});
1
+ const a46_0x5cb94a=a46_0x5e11;(function(_0x55db21,_0x1020f4){const _0x63ca2b=a46_0x5e11,_0x4a76cc=_0x55db21();while(!![]){try{const _0x2f4cab=-parseInt(_0x63ca2b(0xa6))/0x1*(-parseInt(_0x63ca2b(0xca))/0x2)+-parseInt(_0x63ca2b(0xae))/0x3+parseInt(_0x63ca2b(0xed))/0x4*(-parseInt(_0x63ca2b(0xe3))/0x5)+-parseInt(_0x63ca2b(0xd9))/0x6*(-parseInt(_0x63ca2b(0xb1))/0x7)+-parseInt(_0x63ca2b(0xd2))/0x8*(-parseInt(_0x63ca2b(0xd7))/0x9)+parseInt(_0x63ca2b(0xa0))/0xa+-parseInt(_0x63ca2b(0xb9))/0xb;if(_0x2f4cab===_0x1020f4)break;else _0x4a76cc['push'](_0x4a76cc['shift']());}catch(_0x40763e){_0x4a76cc['push'](_0x4a76cc['shift']());}}}(a46_0x1d06,0xd4b23));const Worker=require(a46_0x5cb94a(0xab))['Worker'],Emittery=require('emittery'),pLimit=require(a46_0x5cb94a(0xd8)),{parentPort}=require(a46_0x5cb94a(0xf0)),util=require(a46_0x5cb94a(0xe5)),logger=require('../../helpers/logger')['winstonLogger'],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a46_0x5cb94a(0xb5))[a46_0x5cb94a(0xb8)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a46_0x5cb94a(0x96)),{FRAMEWORKS}=require(a46_0x5cb94a(0xaa));function a46_0x5e11(_0xe70b4f,_0x57b3d6){const _0x1d0699=a46_0x1d06();return a46_0x5e11=function(_0x5e1177,_0x27721e){_0x5e1177=_0x5e1177-0x94;let _0x1538f4=_0x1d0699[_0x5e1177];return _0x1538f4;},a46_0x5e11(_0xe70b4f,_0x57b3d6);}exports[a46_0x5cb94a(0xc9)]=(_0x3f0e5e,_0x4a1953,_0x561ea0)=>new Promise(async _0x34cf7d=>{const _0x41bb7f=a46_0x5cb94a,_0xfe96be={'sZPkl':_0x41bb7f(0xba),'YCmkp':function(_0x202937,_0x4e439a){return _0x202937+_0x4e439a;},'sQeMj':_0x41bb7f(0xe1),'YcVES':_0x41bb7f(0x9e),'YMsCX':function(_0x1566ae,_0x45590d){return _0x1566ae(_0x45590d);},'zonpF':function(_0x18836b,_0x2373b0){return _0x18836b(_0x2373b0);},'jdlbF':_0x41bb7f(0xe4),'LtmGL':_0x41bb7f(0xf9),'fLsep':_0x41bb7f(0xcf),'WeXBa':'json','Heaze':_0x41bb7f(0xa5),'Idnem':function(_0x40a59e,_0x2e3c9c){return _0x40a59e*_0x2e3c9c;},'hnMiT':_0x41bb7f(0x9b),'zqZfD':_0x41bb7f(0x9a),'nbmro':function(_0x49dd35,_0x14c52c){return _0x49dd35(_0x14c52c);}},_0x2d8298=_0x561ea0[_0x41bb7f(0xdd)],_0xcd603={},_0x28e25f=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x41bb7f(0xc8)],_0x561ea0),_0x40d574=new Worker(require[_0x41bb7f(0xd3)](_0xfe96be[_0x41bb7f(0xe9)]),{'exposedMethods':[_0xfe96be[_0x41bb7f(0xdf)]],'forkOptions':{'serialization':_0xfe96be[_0x41bb7f(0xdb)],'stdio':_0xfe96be[_0x41bb7f(0xe0)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0xfe96be[_0x41bb7f(0x99)](_0x4a1953,0x1),'enableWorkerThreads':!![]}),_0x183aa9=new Emittery();_0x183aa9['on'](_0xfe96be[_0x41bb7f(0x97)],_0x118719=>{const _0xfa6a70=_0x41bb7f;_0xcd603[_0x118719[0x0]]?(_0xcd603[_0x118719[0x0]][_0xfe96be[_0xfa6a70(0xa1)]]=_0xfe96be['YCmkp'](_0xcd603[_0x118719[0x0]][_0xfe96be[_0xfa6a70(0xa1)]],_0x118719[0x1][_0xfe96be['sZPkl']]),_0xcd603[_0x118719[0x0]][_0xfe96be[_0xfa6a70(0xea)]]=[..._0xcd603[_0x118719[0x0]][_0xfe96be[_0xfa6a70(0xea)]],..._0x118719[0x1][_0xfe96be['sQeMj']]]):_0xcd603[_0x118719[0x0]]={'failureCount':_0x118719[0x1][_0xfe96be[_0xfa6a70(0xa1)]],'results':[..._0x118719[0x1][_0xfe96be[_0xfa6a70(0xea)]]]};}),_0x183aa9['on'](_0xfe96be[_0x41bb7f(0xac)],_0x357324=>console[_0x41bb7f(0xb3)](_0x357324[0x1]));_0x40d574[_0x41bb7f(0xcc)]()&&_0x40d574[_0x41bb7f(0xcc)]()[_0x41bb7f(0xa5)](process[_0x41bb7f(0xa3)]);_0x40d574['getStderr']()&&_0x40d574[_0x41bb7f(0xa9)]()[_0x41bb7f(0xa5)](process[_0x41bb7f(0xc2)]);const _0x158b6d=async()=>{const _0x285008=_0x41bb7f,{forceExited:_0x373ac8}=await _0x40d574[_0x285008(0xec)]();_0x373ac8&&console['error'](_0xfe96be[_0x285008(0xde)]);try{await TestHubHandler['stop']();}catch(_0x154159){_0xfe96be[_0x285008(0xda)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x154159);}_0xfe96be[_0x285008(0xd4)](_0x34cf7d,_0xcd603);},_0x309297=_0xfe96be[_0x41bb7f(0xf7)](pLimit,_0xfe96be[_0x41bb7f(0x99)](_0x4a1953,0x1)),_0x3697b6=_0x201c99=>_0x309297(async()=>{const _0x39624a=_0x41bb7f;await _0x183aa9[_0x39624a(0x94)](_0xfe96be[_0x39624a(0xc1)],_0x201c99);const _0x9a53ac=_0x40d574[_0x39624a(0xcf)](_0x201c99,_0x2d8298);try{parentPort&&_0x9a53ac['UNSTABLE_onCustomMessage'](_0x26055a=>{const _0x169f4f=_0x39624a;try{parentPort[_0x169f4f(0x9d)](_0x26055a);}catch(_0x38794c){logger[_0x169f4f(0xd1)](_0x169f4f(0xb4)+util['format'](_0x38794c));}});}catch(_0x3c6a03){logger['debug']('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util['format'](_0x3c6a03));}return _0x9a53ac;});PerformanceTester[_0x41bb7f(0xec)](PerformanceEvents[_0x41bb7f(0xef)]),Promise['all'](_0x3f0e5e[_0x41bb7f(0xa7)](_0xfc14c0=>_0x3697b6(_0xfc14c0)[_0x41bb7f(0xc4)](_0x4b8877=>_0x183aa9[_0x41bb7f(0x94)](_0x41bb7f(0x9b),[_0xfc14c0[_0x41bb7f(0xb2)][_0x41bb7f(0xf1)],_0x4b8877]),_0x178154=>_0x183aa9[_0x41bb7f(0x94)](_0x41bb7f(0x9a),[_0xfc14c0,_0x178154]))))[_0x41bb7f(0xc4)](_0x158b6d,_0x158b6d);}),exports[a46_0x5cb94a(0xbe)]=(_0x1f7e80,_0x3ffbf7,_0x1c9343,_0x306612,_0x1452ff)=>{const _0xe798f1=a46_0x5cb94a,_0x12bd04={'SYWDS':_0xe798f1(0x9e),'UJpLf':function(_0x56453b,_0x3ee82f){return _0x56453b(_0x3ee82f);},'YfIxP':_0xe798f1(0xdc),'uwfMN':'./testWorker.js','PzMbf':'cucumberWorker','ZqTvX':'json','ztClw':_0xe798f1(0xa5),'hAZkf':_0xe798f1(0xbd),'tTpXn':_0xe798f1(0xc3),'IMkjw':function(_0x4a4129,_0x185ca6){return _0x4a4129(_0x185ca6);}};return new Promise(_0x37bed8=>{const _0x3bb66e=_0xe798f1,_0x1d980e={'WoqMa':_0x12bd04['SYWDS'],'dLRmZ':function(_0x22aa70,_0x192221){const _0x1b259d=a46_0x5e11;return _0x12bd04[_0x1b259d(0xc5)](_0x22aa70,_0x192221);},'kaaNB':_0x12bd04[_0x3bb66e(0x9c)]},_0x4bc2b2=[],_0x50508b=new Worker(require['resolve'](_0x12bd04['uwfMN']),{'exposedMethods':[_0x12bd04[_0x3bb66e(0xeb)]],'forkOptions':{'serialization':_0x12bd04[_0x3bb66e(0xc0)],'stdio':_0x12bd04[_0x3bb66e(0xd0)]},'numWorkers':_0x1f7e80[_0x3bb66e(0xe6)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x5d4e07=new Emittery();_0x5d4e07['on'](_0x12bd04[_0x3bb66e(0xcd)],_0x2b7519=>{const _0x1a5b2a=_0x3bb66e;_0x4bc2b2[_0x1a5b2a(0xad)]([_0x2b7519[0x0],_0x2b7519[0x1]]);}),_0x5d4e07['on'](_0x12bd04[_0x3bb66e(0x98)],_0x15e8f0=>console[_0x3bb66e(0xb3)](_0x15e8f0[0x1]));_0x50508b['getStdout']()&&_0x50508b[_0x3bb66e(0xcc)]()[_0x3bb66e(0xa5)](process[_0x3bb66e(0xa3)]);_0x50508b['getStderr']()&&_0x50508b[_0x3bb66e(0xa9)]()[_0x3bb66e(0xa5)](process[_0x3bb66e(0xc2)]);const _0x431f6a=async()=>{const _0x390bdc=_0x3bb66e,{forceExited:_0x51f1d8}=await _0x50508b[_0x390bdc(0xec)]();_0x51f1d8&&console['error'](_0x1d980e[_0x390bdc(0xf8)]),_0x1d980e['dLRmZ'](_0x37bed8,_0x4bc2b2);},_0x400e66=_0x12bd04[_0x3bb66e(0xc6)](pLimit,_0x1f7e80['length']||0x1),_0x211e03=(_0x18ebbe,_0x26205b)=>_0x400e66(async()=>{const _0x52e461=_0x3bb66e;return await _0x5d4e07[_0x52e461(0x94)](_0x1d980e[_0x52e461(0xd6)],_0x18ebbe),_0x3ffbf7['platformCaps']=_0x1c9343[_0x52e461(0xb6)][_0x26205b],_0x50508b[_0x52e461(0xf3)](_0x18ebbe,_0x3ffbf7,_0x1c9343,_0x306612,_0x1452ff);});Promise[_0x3bb66e(0xd5)](_0x1f7e80[_0x3bb66e(0xa7)]((_0x4fa208,_0x41d45b)=>_0x211e03(_0x4fa208,_0x41d45b)[_0x3bb66e(0xc4)](_0x49157e=>_0x5d4e07[_0x3bb66e(0x94)](_0x3bb66e(0xbd),[_0x4fa208,_0x49157e]),_0x52f9e4=>_0x5d4e07[_0x3bb66e(0x94)](_0x3bb66e(0xc3),[_0x4fa208,_0x52f9e4]))))[_0x3bb66e(0xc4)](_0x431f6a,_0x431f6a);});},exports[a46_0x5cb94a(0xb7)]=(_0x2a1b15,_0x52373c)=>new Promise(_0x42c138=>{const _0x4b472f=a46_0x5cb94a,_0x191a5f={'irrbk':function(_0x289e23,_0x1be055){return _0x289e23===_0x1be055;},'eUisn':function(_0x354c07,_0x42ca45){return _0x354c07!==_0x42ca45;},'IiWSh':'exit','Nhqbx':_0x4b472f(0x9e),'iHMdV':function(_0x24b921,_0x28508c){return _0x24b921(_0x28508c);},'ugTSs':'./testWorker.js','eSZhc':_0x4b472f(0xa8),'ieCtO':_0x4b472f(0xa4),'TeGRm':_0x4b472f(0xa5),'YDycX':_0x4b472f(0x9b),'Smjmw':'test-file-failure','GkKQc':function(_0x294829,_0x308234){return _0x294829(_0x308234);}},_0x11b99d={},_0x1b15ab=new Worker(require[_0x4b472f(0xd3)](_0x191a5f[_0x4b472f(0xf6)]),{'exposedMethods':[_0x191a5f[_0x4b472f(0xbf)]],'forkOptions':{'serialization':_0x191a5f['ieCtO'],'stdio':_0x191a5f[_0x4b472f(0xf4)]},'numWorkers':_0x52373c,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3092a1=new Emittery();_0x3092a1['on'](_0x191a5f['YDycX'],_0x4d4342=>{const _0x1cfd3f=_0x4b472f;_0x4d4342[0x0]&&logger[_0x1cfd3f(0x95)]('Running\x20'+_0x4d4342[0x1]+_0x1cfd3f(0xb0),_0x4d4342[0x0]);}),_0x3092a1['on'](_0x191a5f['Smjmw'],_0xdb4f95=>{const _0x13d76a=_0x4b472f;process[_0x13d76a(0xcb)]=0x1;});_0x1b15ab[_0x4b472f(0xcc)]()&&_0x1b15ab[_0x4b472f(0xcc)]()[_0x4b472f(0xa5)](process[_0x4b472f(0xa3)]);_0x1b15ab[_0x4b472f(0xa9)]()&&_0x1b15ab[_0x4b472f(0xa9)]()[_0x4b472f(0xa5)](process[_0x4b472f(0xc2)]);const _0xf759f2=async()=>{const _0x46e2c7=_0x4b472f,_0x4766d1={'BAYtU':function(_0x3ecf9f,_0x38d98d){const _0xd9bba7=a46_0x5e11;return _0x191a5f[_0xd9bba7(0xf5)](_0x3ecf9f,_0x38d98d);},'tEKCP':function(_0x961f50,_0x25c24f){const _0x2f2c1e=a46_0x5e11;return _0x191a5f[_0x2f2c1e(0xbc)](_0x961f50,_0x25c24f);},'AUsxN':_0x191a5f[_0x46e2c7(0xaf)]};let _0x2b033a=0x0;const _0x52f0fa=_0x1b15ab[_0x46e2c7(0xe2)]['getWorkers'](),_0x4bc197=()=>{},_0x46ddf8=_0x52f0fa[_0x46e2c7(0xa7)](async _0x358243=>{const _0x2faeb8=_0x46e2c7;_0x358243[_0x2faeb8(0xc7)]([0x2,![]],_0x4bc197,_0x4bc197,_0x4bc197),_0x358243[_0x2faeb8(0xe8)]['on'](_0x4766d1[_0x2faeb8(0xce)],_0x52cf45=>{const _0x5eaeb1=_0x2faeb8;_0x4766d1[_0x5eaeb1(0xa2)](_0x2b033a,0x0)&&_0x4766d1[_0x5eaeb1(0xbb)](_0x52cf45,0x0)&&(_0x2b033a=_0x52cf45);}),await _0x358243[_0x2faeb8(0xee)]();});await Promise[_0x46e2c7(0xd5)](_0x46ddf8),process[_0x46e2c7(0xcb)]=_0x2b033a;const {forceExited:_0xa89cf6}=await _0x1b15ab['end']();_0xa89cf6&&console[_0x46e2c7(0xf2)](_0x191a5f['Nhqbx']),_0x191a5f['iHMdV'](_0x42c138,_0x11b99d);},_0x14a56f=_0x191a5f[_0x4b472f(0x9f)](pLimit,_0x52373c),_0x1a62a9=_0xd7ce41=>_0x14a56f(async()=>{const _0x51b8b4=_0x4b472f;return _0x1b15ab[_0x51b8b4(0xa8)](_0xd7ce41);});Promise[_0x4b472f(0xd5)](_0x2a1b15[_0x4b472f(0xa7)](_0x541890=>_0x1a62a9(_0x541890)[_0x4b472f(0xc4)](_0x2333eb=>_0x3092a1[_0x4b472f(0x94)](_0x4b472f(0x9b),[_0x541890['configuration']['platform'],_0x541890[_0x4b472f(0xb2)][_0x4b472f(0xe7)]]),_0x4b7a74=>_0x3092a1[_0x4b472f(0x94)]('test-file-failure',[_0x541890,_0x4b7a74]))))[_0x4b472f(0xc4)](_0xf759f2,_0xf759f2);});function a46_0x1d06(){const _0x301a56=['YcVES','fLsep','Heaze','results','_workerPool','534525dxMEKw','test-file-start','util','length','file','_child','LtmGL','sQeMj','PzMbf','end','8wBIwgM','waitForExit','SDK_SETUP','worker_threads','platform','error','cucumberWorker','TeGRm','irrbk','ugTSs','nbmro','WoqMa','./testWorker.js','emit','info','../../helpers/testhub/testhubHandler','hnMiT','tTpXn','Idnem','test-file-failure','test-file-success','YfIxP','postMessage','Workers\x20failed\x20to\x20exit\x20gracefully','GkKQc','6009510vYbESC','sZPkl','BAYtU','stdout','json','pipe','4kXPKLq','map','vanillaWorker','getStderr','../../helpers/test-observability/constants','jest-worker','zqZfD','push','2547411zXOxJx','IiWSh','\x20for','267141AggYWu','configuration','log','Exception\x20in\x20sending\x20worker\x20message\x20','../../helpers/performance/constants','platforms','parallelVanillaRun','EVENTS','21398597AKZGJH','failureCount','tEKCP','eUisn','platform-run-success','parallelCucumberRun','eSZhc','ZqTvX','jdlbF','stderr','platform-run-failure','then','UJpLf','IMkjw','send','MOCHA','parallelTestRun','869644GyzeBG','exitCode','getStdout','hAZkf','AUsxN','worker','ztClw','debug','148024hVWYgl','resolve','zonpF','all','kaaNB','99fnWZll','p-limit','210LOefBu','YMsCX','WeXBa','platform-run-start','config'];a46_0x1d06=function(){return _0x301a56;};return a46_0x1d06();}
@@ -1 +1 @@
1
- const a47_0x427244=a47_0x2b6f;(function(_0x12eee5,_0x4eed64){const _0x30cbfc=a47_0x2b6f,_0x7b9efd=_0x12eee5();while(!![]){try{const _0x553c7b=-parseInt(_0x30cbfc(0x17f))/0x1*(parseInt(_0x30cbfc(0x197))/0x2)+parseInt(_0x30cbfc(0x19d))/0x3*(parseInt(_0x30cbfc(0x18d))/0x4)+-parseInt(_0x30cbfc(0x187))/0x5+-parseInt(_0x30cbfc(0x18c))/0x6*(-parseInt(_0x30cbfc(0x19c))/0x7)+parseInt(_0x30cbfc(0x18a))/0x8+parseInt(_0x30cbfc(0x191))/0x9*(-parseInt(_0x30cbfc(0x182))/0xa)+-parseInt(_0x30cbfc(0x19f))/0xb;if(_0x553c7b===_0x4eed64)break;else _0x7b9efd['push'](_0x7b9efd['shift']());}catch(_0xd1f1ce){_0x7b9efd['push'](_0x7b9efd['shift']());}}}(a47_0xcd38,0x3bdb0));function a47_0x2b6f(_0x23de07,_0x4395bc){const _0xcd3801=a47_0xcd38();return a47_0x2b6f=function(_0x2b6f1f,_0x2dd379){_0x2b6f1f=_0x2b6f1f-0x17f;let _0x46bc92=_0xcd3801[_0x2b6f1f];return _0x46bc92;},a47_0x2b6f(_0x23de07,_0x4395bc);}function a47_0xcd38(){const _0x4f9690=['../../helpers/performance/constants','yBNIL','uNKgZ','../launcher/launcher','uZGbC','2ZYGLcw','vanilla','../../helpers/test-observability/utils','kZaEc','tzbxC','7AstEMW','18awlmYa','EVENTS','725615ynxtbA','324169jTZAJW','../../helpers/performance/performance-tester','VSVqd','1991370ZFERPP','runCucumberTest','mocha','BQEAP','startMonitoring','537250BBtTXj','configuration','nPXsE','3339680iyqVBJ','formatter','2756172MqgKBr','176136epepWn','runTest','stopMonitoring','run','18stMsZA'];a47_0xcd38=function(){return _0x4f9690;};return a47_0xcd38();}const PerformanceEvents=require(a47_0x427244(0x192))[a47_0x427244(0x19e)],PerformanceTester=require(a47_0x427244(0x180)),{sleep}=require(a47_0x427244(0x199));exports[a47_0x427244(0x18e)]=async(_0x10f115,_0x51ed98)=>{const _0x375622=a47_0x427244,_0x1cebf9={'uZGbC':function(_0x1f65f9,_0x373ee1){return _0x1f65f9(_0x373ee1);},'BQEAP':_0x375622(0x195),'tzbxC':_0x375622(0x184)};PerformanceTester[_0x375622(0x186)]();const _0x5d3ccd=_0x1cebf9[_0x375622(0x196)](require,_0x1cebf9[_0x375622(0x185)]),_0x5d1a04=new _0x5d3ccd(_0x1cebf9[_0x375622(0x19b)],_0x10f115,_0x51ed98),_0x2afcda=await _0x5d1a04[_0x375622(0x190)]();return PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST']),await _0x1cebf9[_0x375622(0x196)](sleep,0x3e8),PerformanceTester[_0x375622(0x18f)](),_0x2afcda;},exports[a47_0x427244(0x183)]=async(_0xc3966b,_0x4b49f0,_0x31b541,_0x18fac2,_0x551a53)=>{const _0x29e696=a47_0x427244,_0x1ffb23={'SFpCH':function(_0x53ae3c,_0x2e295c){return _0x53ae3c(_0x2e295c);},'VSVqd':_0x29e696(0x195),'nPXsE':'cucumber-js'},_0xb20769={'capability':_0xc3966b,..._0x4b49f0},_0x2e8e51={};_0x2e8e51[_0x29e696(0x188)]=_0xb20769,_0x2e8e51[_0x29e696(0x18b)]=_0x551a53;const _0x50a60e=_0x2e8e51,_0x983003=_0x1ffb23['SFpCH'](require,_0x1ffb23[_0x29e696(0x181)]),_0x407f05=new _0x983003(_0x1ffb23[_0x29e696(0x189)],_0x50a60e,_0x31b541,_0x18fac2);return await _0x407f05[_0x29e696(0x190)]();},exports['runVanillaTest']=async _0x5ee4cb=>{const _0x34c1f6=a47_0x427244,_0x5e1be8={'yBNIL':function(_0x4a3cc9,_0xa7ec3a){return _0x4a3cc9(_0xa7ec3a);},'uNKgZ':_0x34c1f6(0x195),'kZaEc':_0x34c1f6(0x198)},_0x54864d=_0x5e1be8[_0x34c1f6(0x193)](require,_0x5e1be8[_0x34c1f6(0x194)]),_0x3bf672=new _0x54864d(_0x5e1be8[_0x34c1f6(0x19a)],_0x5ee4cb);return await _0x3bf672[_0x34c1f6(0x190)]();};
1
+ function a47_0xce5c(_0x47375f,_0x2be9ed){const _0x2f66a4=a47_0x2f66();return a47_0xce5c=function(_0xce5c0a,_0x2824bc){_0xce5c0a=_0xce5c0a-0x101;let _0x43b637=_0x2f66a4[_0xce5c0a];return _0x43b637;},a47_0xce5c(_0x47375f,_0x2be9ed);}function a47_0x2f66(){const _0x14201e=['../launcher/launcher','end','../../helpers/test-observability/utils','run','vanilla','38143IWFPqA','18zVKaXC','cucumber-js','SDK_POST_TEST','7491aQqcQU','330mdZCJP','591MoVFqA','runTest','IIEvL','804990beEoIN','configuration','gsrRA','3377190EOXpFI','QdtKw','CKdzw','startMonitoring','rULAS','runVanillaTest','sBDYG','1409024ngTcLa','untph','140394FwvYhx','formatter','4604pGMlqG'];a47_0x2f66=function(){return _0x14201e;};return a47_0x2f66();}const a47_0x5a6bfa=a47_0xce5c;(function(_0x586fee,_0x1cb751){const _0x66ac75=a47_0xce5c,_0x11e77d=_0x586fee();while(!![]){try{const _0x268087=-parseInt(_0x66ac75(0x10b))/0x1+parseInt(_0x66ac75(0x11c))/0x2+-parseInt(_0x66ac75(0x10d))/0x3*(parseInt(_0x66ac75(0x101))/0x4)+parseInt(_0x66ac75(0x110))/0x5+-parseInt(_0x66ac75(0x10c))/0x6*(parseInt(_0x66ac75(0x107))/0x7)+-parseInt(_0x66ac75(0x11a))/0x8+-parseInt(_0x66ac75(0x108))/0x9*(-parseInt(_0x66ac75(0x113))/0xa);if(_0x268087===_0x1cb751)break;else _0x11e77d['push'](_0x11e77d['shift']());}catch(_0x5b5662){_0x11e77d['push'](_0x11e77d['shift']());}}}(a47_0x2f66,0x2ffdc));const PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],PerformanceTester=require('../../helpers/performance/performance-tester'),{sleep}=require(a47_0x5a6bfa(0x104));exports[a47_0x5a6bfa(0x10e)]=async(_0x59defd,_0x27ac36)=>{const _0x3393dc=a47_0x5a6bfa,_0x5c5e70={'untph':function(_0x48773e,_0x4dd195){return _0x48773e(_0x4dd195);},'UKaCh':'../launcher/launcher','rULAS':'mocha'};PerformanceTester[_0x3393dc(0x116)]();const _0x106942=_0x5c5e70[_0x3393dc(0x11b)](require,_0x5c5e70['UKaCh']),_0x3db245=new _0x106942(_0x5c5e70[_0x3393dc(0x117)],_0x59defd,_0x27ac36),_0x281fee=await _0x3db245[_0x3393dc(0x105)]();return PerformanceTester[_0x3393dc(0x103)](PerformanceEvents[_0x3393dc(0x10a)]),await _0x5c5e70[_0x3393dc(0x11b)](sleep,0x3e8),PerformanceTester['stopMonitoring'](),_0x281fee;},exports['runCucumberTest']=async(_0x1344ce,_0x2ecd6c,_0x2c208e,_0x1bc635,_0x520bc8)=>{const _0x1a0c07=a47_0x5a6bfa,_0x321e50={'QdtKw':function(_0x2a26c9,_0x1cd41f){return _0x2a26c9(_0x1cd41f);},'CKdzw':_0x1a0c07(0x102),'IIEvL':_0x1a0c07(0x109)},_0x16e56f={'capability':_0x1344ce,..._0x2ecd6c},_0xcaed0f={};_0xcaed0f[_0x1a0c07(0x111)]=_0x16e56f,_0xcaed0f[_0x1a0c07(0x11d)]=_0x520bc8;const _0x229d13=_0xcaed0f,_0x287b0d=_0x321e50[_0x1a0c07(0x114)](require,_0x321e50[_0x1a0c07(0x115)]),_0xb2ba0f=new _0x287b0d(_0x321e50[_0x1a0c07(0x10f)],_0x229d13,_0x2c208e,_0x1bc635);return await _0xb2ba0f[_0x1a0c07(0x105)]();},exports[a47_0x5a6bfa(0x118)]=async _0x38e527=>{const _0x373cac=a47_0x5a6bfa,_0x422e11={'zgAmP':function(_0x30a46b,_0x158059){return _0x30a46b(_0x158059);},'gsrRA':_0x373cac(0x102),'sBDYG':_0x373cac(0x106)},_0x21980e=_0x422e11['zgAmP'](require,_0x422e11[_0x373cac(0x112)]),_0x166787=new _0x21980e(_0x422e11[_0x373cac(0x119)],_0x38e527);return await _0x166787[_0x373cac(0x105)]();};