browserstack-node-sdk 1.35.1 → 1.35.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +1 -1
  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 -1
  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
- function a41_0x47e1(){const _0x5d27b4=['startTime','length','toISOString','path','getCustomRerunParam','beforeAll\x20hook','errors','7623441kyAwkV','BzNSP','../../../helpers/helper','ZWtpG','forEach','Trace\x20file\x20found\x20for\x20test:\x20','zLwvY','_gitConfigPath','427473nEkGDN','_gitConfigured','_tags','expectedStatus','BBZcU','HookRunStarted','onEnd','nyVJR','TqYYe','sDyel','homedir','bVDuP','AFTER_ALL','NBFFN','startsWith','ypIwc','Expected\x20to\x20fail,\x20but\x20passed.','sendSessionDetails','rHYmI','failure_reason','status','env','gwjLH','rvdzz','vQBmI','utf8','MXaUo','test_run','Sending\x20session\x20details\x20for\x20','Hook\x20Started\x20with\x20unique\x20id\x20','oEcXm','GCLBY','FgKoE','BSGab','endSession','sendTestRunEvent','backtrace','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','message','nOOnd','getTestIdentifier','sendHookRunEvent','pending','getHookType','NbTAX','printsToStdio','72KDkOoW','existsSync','reverse','sdUMO','push','mtime','retry','failure','ijfCJ','fllLd','CBTSessionCreated','statSync','zgiNX','../../../helpers/performance/performance-tester','indexOf','lRMke','relative','uuid','TestRunFinished','nFXUC','RiDva','meta','parent','QkrRT','Error\x20in\x20sending\x20trace\x20zip:\x20%s','2|5|4|0|3|6|1','SHEXO','TestRunStarted','1250dJOWnG','TEST_SCREENSHOT','_projectId','UaUDg','../../../helpers/test-observability/constants','addTestUIDAndReportLog','logLevel','expanded','onBegin','split','TEST_ATTACHMENT','HookRunFinished','RzfAh','sWaGC','pjOUO','cwd','YjYqB','util','uploadEventData','skipped','readFileSync','getTime','vXvWC','iSrDM','FWffc','NbJat','AgRCc','attachments','./test-details','onTestBegin','./pwUtils','size','test','104bZudMp','../../../helpers/testhub/utils','gXhTl','setup','lDcws','map','BROWSERSTACK_O11Y_PERF_MEASUREMENT','root','kmhmU','akMaL','test_run_uuid','10eySGdG','PgpnN','NeQBU','format','../../../helpers/testhub/testhubHandler','HoEJr','../../../helpers/test-observability/utils','Test\x20Started\x20with\x20unique\x20id\x20','8574mwHsQx','_tests','name','BVMEV','filter','configureGit','NGgfN','rqFGg','category','reportLogs','gfLhY','AFTER_EACH','PLAYWRIGHT','\x20for\x20','getTestRunIdentifier','getTestUUID','_testHooksMap','inspect','Qkakn','afterAll\x20hook','sAnsD','getStepIdentifier','\x20at\x20','ZfPxP','.browserstack','HonQM','afterEach\x20hook','Error\x20in\x20calculating\x20performance:\x20','startMonitoring','beforeEach\x20hook','trace_','JQCXq','68463AvHnJL','UrRcj','../../../helpers/test-observability/requestQueueHandler','cihRa','JXcSw','file','RewnJ','result','CEHoz','ZXiNQ','mcyyB','mWDyc','getScope','.txt','gsLon','exports','MQfIf','passed','toString','qAemr','../../../helpers/test-observability/sessionHandler','unknown','title','onTestEnd','join','logs','duration','3548036YrjkHw','hooks','failed','hook_run','PLAYWRIGHT_TRACE_LOGS','14686386HcAsyV','ArnBG','MyReporter','onStepBegin','retry_of','\x20is\x20triggered','wpZnL','KKmYc','acYmA','dLCin','IenNk','roNcY','WBXVk','finishedAt','LWpmN','UWwFJ','zooCh','../../../helpers/test-observability/error-handler','NFsDy','NtMik','failure_type','ONhlF','onStepEnd','location','basename','MVIyX','needToReportStep','error','NVcpE','timedOut','javascript','startedAt','hook','Before\x20Hooks','depth','IOTMc','LogCreated','steps','options','event_type','ceQfY','Test\x20Finished\x20with\x20unique\x20id\x20','MKufv','XYNmV','wdxtF','AwZqY','\x20-\x20','BEFORE_ALL','_bs_hookIdentifier','eceWp','906332zUvQQy','getHierarchy','rXwlk','getStepsAndLogs','object'];a41_0x47e1=function(){return _0x5d27b4;};return a41_0x47e1();}function a41_0x631e(_0x17de27,_0x1de23e){const _0x47e14e=a41_0x47e1();return a41_0x631e=function(_0x631e06,_0x4cf617){_0x631e06=_0x631e06-0x14e;let _0x5171e8=_0x47e14e[_0x631e06];return _0x5171e8;},a41_0x631e(_0x17de27,_0x1de23e);}const a41_0x29079b=a41_0x631e;(function(_0x23154b,_0x21c677){const _0x552a9d=a41_0x631e,_0x2ee17c=_0x23154b();while(!![]){try{const _0x1b7214=parseInt(_0x552a9d(0x246))/0x1+parseInt(_0x552a9d(0x1c1))/0x2*(parseInt(_0x552a9d(0x1f4))/0x3)+parseInt(_0x552a9d(0x20f))/0x4+-parseInt(_0x552a9d(0x1a0))/0x5*(parseInt(_0x552a9d(0x1d4))/0x6)+-parseInt(_0x552a9d(0x14e))/0x7+-parseInt(_0x552a9d(0x184))/0x8*(-parseInt(_0x552a9d(0x156))/0x9)+parseInt(_0x552a9d(0x1cc))/0xa*(-parseInt(_0x552a9d(0x214))/0xb);if(_0x1b7214===_0x21c677)break;else _0x2ee17c['push'](_0x2ee17c['shift']());}catch(_0x909bf8){_0x2ee17c['push'](_0x2ee17c['shift']());}}}(a41_0x47e1,0x98d93));const RequestQueueHandler=require(a41_0x29079b(0x1f6)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x29079b(0x1be)),{v4:uuidv4}=require(a41_0x29079b(0x195)),path=require(a41_0x29079b(0x24e)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x29079b(0x1d2)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a41_0x29079b(0x1bc)),fs=require('fs'),util=require(a41_0x29079b(0x1b1)),{o11yClassErrorHandler}=require(a41_0x29079b(0x225)),PerformanceTester=require(a41_0x29079b(0x191)),{FRAMEWORKS}=require(a41_0x29079b(0x1a4)),SessionHandler=require(a41_0x29079b(0x208)),{appendTesthubParams}=require(a41_0x29079b(0x1c2)),TestHubHandler=require(a41_0x29079b(0x1d0)),helper=require(a41_0x29079b(0x150));class MyReporter{constructor(_0x408ccb){const _0x429562=a41_0x29079b,_0x3e130f={'iSrDM':_0x429562(0x19d),'eceWp':function(_0x3fe5a0,_0x2ab124,_0x6ced80,_0x1944da){return _0x3fe5a0(_0x2ab124,_0x6ced80,_0x1944da);},'gwjLH':'performance-report-reporter.json'},_0x291add=_0x3e130f[_0x429562(0x1b7)][_0x429562(0x1a9)]('|');let _0x487eae=0x0;while(!![]){switch(_0x291add[_0x487eae++]){case'0':this['_testHooksMap']={};continue;case'1':this['_gitConfigPath']=null;continue;case'2':const _0xde40d={};_0xde40d[_0x429562(0x1a6)]=process[_0x429562(0x16b)]['BROWSERSTACK_LOG_LEVEL'],_0x3e130f[_0x429562(0x245)](setLogLevel,_0xde40d,new Map(),new Map());continue;case'3':this[_0x429562(0x23a)]=_0x408ccb;continue;case'4':this[_0x429562(0x1d5)]={};continue;case'5':process[_0x429562(0x16b)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x429562(0x1f0)](_0x3e130f[_0x429562(0x16c)]),process[_0x429562(0x16b)]['START_TIME']=new Date()[_0x429562(0x24d)]());continue;case'6':this['_gitConfigured']=![];continue;}break;}}async[a41_0x29079b(0x1a8)](){const _0x1d8474=a41_0x29079b;TestDetails[_0x1d8474(0x1c4)](),await this[_0x1d8474(0x1d9)]();}async[a41_0x29079b(0x1bd)](_0x19a776,_0x282359){const _0x2297a1=a41_0x29079b,_0x2103a5={'nHhUP':function(_0x10eb66,_0x49e4b8){return _0x10eb66(_0x49e4b8);},'AgRCc':_0x2297a1(0x19f)},_0xee972=this['getTestIdentifier'](_0x19a776),_0x6ca627=TestDetails['getTestUUID'](this[_0x2297a1(0x1e2)](_0x19a776,_0x282359[_0x2297a1(0x18a)]));process[_0x2297a1(0x16b)]['BROWSERSTACK_TEST_RUN_ID']=_0x6ca627;const _0x179d36={};_0x179d36[_0x2297a1(0x195)]=_0x6ca627,_0x179d36[_0x2297a1(0x233)]=_0x282359[_0x2297a1(0x24b)],this[_0x2297a1(0x1d5)][_0xee972]=_0x179d36,_0x2103a5['nHhUP'](trace,_0x2297a1(0x1d3)+_0xee972),await this[_0x2297a1(0x179)](_0x19a776,_0x2103a5[_0x2297a1(0x1ba)],_0x282359);}async[a41_0x29079b(0x217)](_0x48d97e,_0x5c7d25,_0xb07068){const _0x533f68=a41_0x29079b,_0x1116fd={'ypIwc':function(_0x3e7871,_0x32f2bc){return _0x3e7871(_0x32f2bc);},'sdUMO':_0x533f68(0x15b)};if(!this[_0x533f68(0x22e)](_0xb07068,_0x48d97e))return;const _0xa09ccb=this['setStepIdentifier'](_0x48d97e,_0xb07068);this[_0x533f68(0x1d5)][_0xa09ccb]={'uuid':TestDetails[_0x533f68(0x1e3)](_0xa09ccb),'startedAt':_0xb07068[_0x533f68(0x24b)][_0x533f68(0x24d)]()};const _0xf6bb7d=this['getTestRunIdentifier'](_0x48d97e,_0x5c7d25['retry']);!this['_testHooksMap'][_0xf6bb7d]&&(this['_testHooksMap'][_0xf6bb7d]=[]),this[_0x533f68(0x1e4)][_0xf6bb7d][_0x533f68(0x188)](this[_0x533f68(0x1d5)][_0xa09ccb][_0x533f68(0x195)]),_0x1116fd[_0x533f68(0x165)](trace,_0x533f68(0x173)+_0xa09ccb+'\x20is\x20triggered\x20for\x20test\x20'+_0xf6bb7d),await this[_0x533f68(0x17f)](_0x48d97e,_0xb07068,_0x1116fd[_0x533f68(0x187)],_0x5c7d25);}async[a41_0x29079b(0x22a)](_0x278a4f,_0x32648e,_0x48cc12){const _0x325dca=a41_0x29079b,_0x2d6bd6={'FMsHb':function(_0x24c64b,_0x3890ec){return _0x24c64b+_0x3890ec;},'zooCh':function(_0x4d037f,_0x5cb551){return _0x4d037f(_0x5cb551);},'MQfIf':'HookRunFinished'};if(!this[_0x325dca(0x22e)](_0x48cc12,_0x278a4f))return;const _0x4dec78=this[_0x325dca(0x1e9)](_0x278a4f,_0x48cc12);this[_0x325dca(0x1d5)][_0x4dec78]={...this[_0x325dca(0x1d5)][_0x4dec78]||{},'finishedAt':new Date(_0x2d6bd6['FMsHb'](_0x48cc12[_0x325dca(0x24b)][_0x325dca(0x1b5)](),_0x48cc12[_0x325dca(0x20e)]))},_0x2d6bd6[_0x325dca(0x224)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x4dec78+_0x325dca(0x219)),await this[_0x325dca(0x17f)](_0x278a4f,_0x48cc12,_0x2d6bd6[_0x325dca(0x204)],_0x32648e);}async['onTestEnd'](_0x3158cb,_0xdde817){const _0x3c6942=a41_0x29079b,_0x2ce076={'NtMik':function(_0x396193,_0x4a9a21){return _0x396193===_0x4a9a21;},'vQBmI':'screenshot','nFXUC':_0x3c6942(0x1a1),'RewnJ':'base64','SHEXO':function(_0x1ddaae,_0x2c50ec){return _0x1ddaae(_0x2c50ec);},'xbHOg':'TestRunFinished','yaKvG':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','LWpmN':function(_0x15307e,_0xf7a6b4){return _0x15307e(_0xf7a6b4);},'ppvWz':function(_0x1a64c2,_0xcfa2ca,_0x4cacaa){return _0x1a64c2(_0xcfa2ca,_0x4cacaa);},'ESUfX':_0x3c6942(0x19c),'yxxqy':function(_0x33093b,_0x295003){return _0x33093b>_0x295003;}},_0x577c9e=this[_0x3c6942(0x17e)](_0x3158cb),_0xc80ff=TestDetails[_0x3c6942(0x1e3)](this[_0x3c6942(0x1e2)](_0x3158cb,_0xdde817['retry']));this[_0x3c6942(0x1d5)][_0x577c9e]={...this[_0x3c6942(0x1d5)][_0x577c9e]||{},'finishedAt':new Date()[_0x3c6942(0x24d)]()},_0x2ce076[_0x3c6942(0x19e)](trace,_0x3c6942(0x23d)+_0x577c9e);try{await this[_0x3c6942(0x179)](_0x3158cb,_0x2ce076['xbHOg'],_0xdde817);}catch(_0x28e589){_0x2ce076[_0x3c6942(0x19e)](debug,util[_0x3c6942(0x1cf)](_0x2ce076['yaKvG'],_0x28e589['toString']()));}try{_0x2ce076[_0x3c6942(0x222)](debug,_0x3c6942(0x17b)+_0xc80ff),await _0x2ce076['ppvWz'](sendTraceZip,_0xdde817,_0xc80ff);}catch(_0x4e8ccb){_0x2ce076[_0x3c6942(0x222)](debug,util['format'](_0x2ce076['ESUfX'],_0x4e8ccb[_0x3c6942(0x206)]()));}const _0x10527b=[];_0xdde817[_0x3c6942(0x1bb)]&&_0xdde817['attachments'][_0x3c6942(0x1c6)](_0x5ae892=>{const _0x3e600b=_0x3c6942;if(_0x2ce076[_0x3e600b(0x227)](_0x5ae892[_0x3e600b(0x1d6)],_0x2ce076[_0x3e600b(0x16e)])){if(!_0x5ae892[_0x3e600b(0x24e)]||!fs[_0x3e600b(0x185)](_0x5ae892[_0x3e600b(0x24e)]))return;_0x10527b[_0x3e600b(0x188)]({'test_run_uuid':_0xc80ff,'timestamp':fs[_0x3e600b(0x18f)](_0x5ae892[_0x3e600b(0x24e)])[_0x3e600b(0x189)],'kind':_0x2ce076[_0x3e600b(0x197)],'message':fs[_0x3e600b(0x1b4)](_0x5ae892[_0x3e600b(0x24e)],{'encoding':_0x2ce076[_0x3e600b(0x1fa)]})});}}),_0x2ce076['yxxqy'](_0x10527b[_0x3c6942(0x24c)],0x0)&&await MyReporter['reportLogs'](_0x10527b);}async[a41_0x29079b(0x178)](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a41_0x29079b(0x15c)](_0x131944){const _0x86be16=a41_0x29079b,_0x2cb9e0={'ZWtpG':function(_0x46f002){return _0x46f002();},'FgKoE':function(_0x12e585,_0x3581f3){return _0x12e585(_0x3581f3);}};await this[_0x86be16(0x178)]();try{process[_0x86be16(0x16b)][_0x86be16(0x1c7)]&&await _0x2cb9e0[_0x86be16(0x151)](calculatePerformance);}catch(_0x2453ad){_0x2cb9e0[_0x86be16(0x176)](debug,_0x86be16(0x1ef)+_0x2453ad[_0x86be16(0x206)]());}}static async[a41_0x29079b(0x1a5)](_0xfe76bd,_0x48ecc6){const _0xd01a72=a41_0x29079b;_0x48ecc6[_0xd01a72(0x1cb)]=TestDetails[_0xd01a72(0x1e3)](_0xfe76bd),await this['reportLogs']([_0x48ecc6]);}static async[a41_0x29079b(0x1dd)](_0x33d0fa){const _0x1cc16d=a41_0x29079b,_0x3ad78c={};_0x3ad78c['TqYYe']=_0x1cc16d(0x238);const _0x5d1dee=_0x3ad78c,_0x4e3d92={};_0x4e3d92[_0x1cc16d(0x23b)]=_0x5d1dee[_0x1cc16d(0x15e)],_0x4e3d92[_0x1cc16d(0x20d)]=_0x33d0fa,await SessionHandler[_0x1cc16d(0x1b2)](_0x4e3d92);}async['sendHookRunEvent'](_0x412922,_0x48bf35,_0x4d739d,_0xaab47a){const _0x1fbc3f=a41_0x29079b,_0x3ef3b4={'NbTAX':'hook','gXhTl':_0x1fbc3f(0x232),'nyVJR':_0x1fbc3f(0x180),'ETfTn':function(_0x103351,_0x341d46){return _0x103351>=_0x341d46;},'oGrQX':function(_0x44e755,_0x421dee){return _0x44e755===_0x421dee;},'YjYqB':_0x1fbc3f(0x1ab),'qAemr':function(_0x5a2fa7,_0x61d42e){return _0x5a2fa7>_0x61d42e;},'KKmYc':_0x1fbc3f(0x211),'wpZnL':function(_0x28e472,_0x4d946b){return _0x28e472(_0x4d946b);},'DWxvA':function(_0x5abb95,_0x55bd87){return _0x5abb95(_0x55bd87);},'fllLd':function(_0x200dd5,_0x16dc50,_0x106ba4){return _0x200dd5(_0x16dc50,_0x106ba4);},'cEpFM':'err','Qkakn':function(_0x36a5fe,_0x375ca4){return _0x36a5fe===_0x375ca4;},'NVcpE':'passed'},_0x176cd8=this[_0x1fbc3f(0x1e9)](_0x412922,_0x48bf35),_0x267355=this[_0x1fbc3f(0x1d5)][_0x176cd8],_0x19d6a2={'uuid':_0x267355[_0x1fbc3f(0x195)],'type':_0x3ef3b4[_0x1fbc3f(0x182)],'hook_type':this[_0x1fbc3f(0x181)](_0x48bf35[_0x1fbc3f(0x20a)]),'name':_0x48bf35[_0x1fbc3f(0x20a)],'scope':this['getScope'](_0x48bf35),'scopes':this[_0x1fbc3f(0x247)](_0x412922),'body':{'lang':_0x3ef3b4[_0x1fbc3f(0x1c3)],'code':null},'identifier':_0x176cd8,'file_name':path['relative'](process[_0x1fbc3f(0x1af)](),_0x412922[_0x1fbc3f(0x22b)][_0x1fbc3f(0x1f9)]),'location':path[_0x1fbc3f(0x194)](process[_0x1fbc3f(0x1af)](),_0x412922['location'][_0x1fbc3f(0x1f9)]),'result':_0x3ef3b4[_0x1fbc3f(0x15d)],'duration_in_ms':_0x3ef3b4['ETfTn'](_0x48bf35['duration'],0x0)?_0x48bf35[_0x1fbc3f(0x20e)]:undefined,'vc_filepath':this[_0x1fbc3f(0x155)]&&_0x412922[_0x1fbc3f(0x22b)][_0x1fbc3f(0x1f9)]?path[_0x1fbc3f(0x194)](this[_0x1fbc3f(0x155)],_0x412922[_0x1fbc3f(0x22b)][_0x1fbc3f(0x1f9)]):undefined,'started_at':_0x267355[_0x1fbc3f(0x233)],'finished_at':_0x267355[_0x1fbc3f(0x221)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x3ef3b4['oGrQX'](_0x4d739d,_0x3ef3b4[_0x1fbc3f(0x1b0)])){const {steps:_0x2d3ed2,logs:_0x3834b1}=this['getStepsAndLogs'](_0x48bf35[_0x1fbc3f(0x239)],_0x267355['uuid'],_0x3ef3b4[_0x1fbc3f(0x182)]);_0x3834b1&&_0x3ef3b4[_0x1fbc3f(0x207)](_0x3834b1[_0x1fbc3f(0x24c)],0x0)&&await MyReporter[_0x1fbc3f(0x1dd)](_0x3834b1);const _0x31afb1={};_0x31afb1['steps']=_0x2d3ed2,_0x19d6a2[_0x1fbc3f(0x199)]=_0x31afb1;if(_0x48bf35['error']){_0x19d6a2['result']=_0x3ef3b4[_0x1fbc3f(0x21b)],_0x19d6a2[_0x1fbc3f(0x169)]=_0x3ef3b4[_0x1fbc3f(0x21a)](removeAnsiColors,_0x48bf35[_0x1fbc3f(0x22f)]['message']),_0x19d6a2[_0x1fbc3f(0x228)]=_0x3ef3b4['DWxvA'](getFailureType,_0x48bf35['error']['message']);const _0x11aef4=_0x3ef3b4[_0x1fbc3f(0x18d)](failureData,_0x48bf35[_0x1fbc3f(0x22f)],_0x3ef3b4['cEpFM']);if(_0x11aef4&&_0x3ef3b4[_0x1fbc3f(0x1e6)](_0x11aef4[_0x1fbc3f(0x24c)],0x0)){const _0x30f289={};_0x30f289[_0x1fbc3f(0x17a)]=[_0x19d6a2[_0x1fbc3f(0x169)]],_0x30f289[_0x1fbc3f(0x1a7)]=[],_0x11aef4[_0x1fbc3f(0x188)](_0x30f289);}_0x19d6a2['failure']=_0x11aef4;}else _0x19d6a2[_0x1fbc3f(0x1fb)]=_0x3ef3b4[_0x1fbc3f(0x230)];}const _0x5d13b6={};_0x5d13b6[_0x1fbc3f(0x23b)]=_0x4d739d,_0x5d13b6[_0x1fbc3f(0x212)]=_0x19d6a2;const _0x17bcfa=_0x5d13b6;await SessionHandler['uploadEventData'](_0x17bcfa);}[a41_0x29079b(0x249)](_0x19aefa,_0x1bfbac,_0x563707){const _0x4c0307=a41_0x29079b,_0x5f24f4={'FWffc':function(_0x5821d7,_0x5f12f6){return _0x5821d7===_0x5f12f6;},'eyQFP':_0x4c0307(0x234),'wdxtF':function(_0x5047e5,_0x3920f2){return _0x5047e5===_0x3920f2;},'sVmrE':'After\x20Hooks','ijfCJ':function(_0x525f3e,_0x5d6aa5){return _0x525f3e===_0x5d6aa5;},'sAnsD':_0x4c0307(0x235),'NFsDy':function(_0x116351,_0x1da4ca){return _0x116351===_0x1da4ca;},'MXaUo':_0x4c0307(0x1c0),'mWDyc':_0x4c0307(0x1cb),'acYmA':'hook_run_uuid','RiDva':'TEST_STEP','NBFFN':_0x4c0307(0x211),'NGgfN':_0x4c0307(0x205),'rqFGg':function(_0x152259,_0x57bd9e){return _0x152259(_0x57bd9e);},'ZfPxP':function(_0x2bdba0,_0x12c9b2){return _0x2bdba0(_0x12c9b2);},'gfLhY':function(_0x3ff3e6){return _0x3ff3e6();},'KGeZO':function(_0x8b09ad,_0xcb7063){return _0x8b09ad(_0xcb7063);},'roNcY':function(_0x397fbe,_0x5b6def,_0x23820a){return _0x397fbe(_0x5b6def,_0x23820a);}},_0x471b7d=[],_0xb45890=[],_0x3b13c7=_0x19aefa[_0x4c0307(0x1d8)](_0xaaa9ab=>{const _0x228301=_0x4c0307;if(_0x5f24f4[_0x228301(0x1b8)](_0xaaa9ab[_0x228301(0x1dc)],_0x5f24f4['eyQFP'])&&(_0x5f24f4[_0x228301(0x240)](_0xaaa9ab[_0x228301(0x20a)],_0x5f24f4['sVmrE'])||_0x5f24f4[_0x228301(0x18c)](_0xaaa9ab[_0x228301(0x20a)],_0x5f24f4[_0x228301(0x1e8)])))return![];return!![];}),_0x14de2d=(_0x504024,_0x146848=![])=>{const _0x3d7a58=_0x4c0307;if(_0x5f24f4[_0x3d7a58(0x240)](_0x504024[_0x3d7a58(0x239)]['length'],0x0)){const _0x42c761=_0x5f24f4[_0x3d7a58(0x226)](_0x563707,_0x5f24f4[_0x3d7a58(0x170)])?_0x5f24f4[_0x3d7a58(0x1ff)]:_0x5f24f4[_0x3d7a58(0x21c)];_0xb45890[_0x3d7a58(0x188)]({'kind':_0x5f24f4[_0x3d7a58(0x198)],[_0x42c761]:_0x1bfbac,'message':_0x504024[_0x3d7a58(0x20a)],'timestamp':_0x504024[_0x3d7a58(0x24b)][_0x3d7a58(0x24d)](),'level':_0x504024['error']?_0x5f24f4[_0x3d7a58(0x163)]:_0x5f24f4[_0x3d7a58(0x1da)],'duration':_0x504024[_0x3d7a58(0x20e)],'failure':_0x504024['error']&&_0x504024[_0x3d7a58(0x22f)][_0x3d7a58(0x17c)]&&_0x5f24f4[_0x3d7a58(0x1db)](removeAnsiColors,_0x504024['error'][_0x3d7a58(0x17c)]),'failure_type':_0x5f24f4[_0x3d7a58(0x1eb)](getFailureType,_0x504024['error']&&_0x504024[_0x3d7a58(0x22f)][_0x3d7a58(0x17c)])});}else{!_0x146848&&_0x471b7d[_0x3d7a58(0x188)]({'id':_0x5f24f4[_0x3d7a58(0x1de)](uuidv4),'text':_0x504024[_0x3d7a58(0x20a)],'keyword':undefined,'started_at':_0x504024[_0x3d7a58(0x24b)]['toISOString'](),'duration':_0x504024[_0x3d7a58(0x20e)],'result':_0x504024[_0x3d7a58(0x22f)]?_0x5f24f4[_0x3d7a58(0x163)]:_0x5f24f4[_0x3d7a58(0x1da)],'failure':_0x504024[_0x3d7a58(0x22f)]&&_0x504024[_0x3d7a58(0x22f)]['message']&&_0x5f24f4[_0x3d7a58(0x1eb)](removeAnsiColors,_0x504024[_0x3d7a58(0x22f)][_0x3d7a58(0x17c)]),'failure_type':_0x5f24f4['KGeZO'](getFailureType,_0x504024['error']&&_0x504024[_0x3d7a58(0x22f)][_0x3d7a58(0x17c)])});for(const _0x302cb9 of _0x504024[_0x3d7a58(0x239)]){_0x5f24f4[_0x3d7a58(0x21f)](_0x14de2d,_0x302cb9,!![]);}}};for(const _0x5b6a3f of _0x3b13c7){_0x5f24f4[_0x4c0307(0x21f)](_0x14de2d,_0x5b6a3f,![]);}const _0x13d05c={};return _0x13d05c['steps']=_0x471b7d,_0x13d05c[_0x4c0307(0x20d)]=_0xb45890,_0x13d05c;}async[a41_0x29079b(0x179)](_0x517623,_0x39be18,_0x132a0e){const _0x37e9ba=a41_0x29079b,_0x487daf={'UWwFJ':function(_0x36c01c,_0x1830d0){return _0x36c01c(_0x1830d0);},'cihRa':_0x37e9ba(0x1aa),'ZXiNQ':_0x37e9ba(0x213),'lDcws':_0x37e9ba(0x1c0),'MVIyX':'javascript','HoEJr':_0x37e9ba(0x180),'UrRcj':function(_0x5f39e7,_0x18e24f){return _0x5f39e7(_0x18e24f);},'ZGcdv':function(_0x40914f,_0x224dc0,_0x1bce7c,_0xc1dd92,_0x1f74ee){return _0x40914f(_0x224dc0,_0x1bce7c,_0xc1dd92,_0x1f74ee);},'ArnBG':function(_0x2e6f0c,_0x56b079){return _0x2e6f0c>_0x56b079;},'pjOUO':function(_0x2917b9,_0x52b920){return _0x2917b9-_0x52b920;},'slqZj':function(_0x5a0d0d,_0x5214d6){return _0x5a0d0d===_0x5214d6;},'mcyyB':_0x37e9ba(0x196),'AwZqY':function(_0x3745d5,_0x4c1563){return _0x3745d5===_0x4c1563;},'vXvWC':function(_0x323fca,_0x9204a7){return _0x323fca===_0x9204a7;},'BVMEV':_0x37e9ba(0x1b3),'sDyel':'passed','KwDee':function(_0x1fd1ca,_0x203374){return _0x1fd1ca===_0x203374;},'ESOop':function(_0x1d588e,_0x54e6cd){return _0x1d588e===_0x54e6cd;},'nOOnd':_0x37e9ba(0x211),'UaUDg':_0x37e9ba(0x231),'owoSt':function(_0x3eda4e,_0x4a402e){return _0x3eda4e===_0x4a402e;},'NbJat':function(_0x31b643,_0x4f10ce){return _0x31b643===_0x4f10ce;},'akMaL':_0x37e9ba(0x166),'IOTMc':function(_0x275cc0,_0x1cf211,_0x376ca3){return _0x275cc0(_0x1cf211,_0x376ca3);},'qRocz':function(_0x224734,_0xf07bf0){return _0x224734===_0xf07bf0;},'QkrRT':'path','afutI':_0x37e9ba(0x1ec),'ShPIq':_0x37e9ba(0x16f),'vGUqb':function(_0x33a3cc,_0x1c55eb){return _0x33a3cc(_0x1c55eb);},'wdxhq':function(_0x5d8bae,_0x3ef79b){return _0x5d8bae!==_0x3ef79b;}},_0x56237b=this['getTestIdentifier'](_0x517623),_0x1a10fd=this[_0x37e9ba(0x200)](_0x517623),_0x3ac95f=this[_0x37e9ba(0x1d5)][_0x56237b],_0x2a5106=path[_0x37e9ba(0x194)](process[_0x37e9ba(0x1af)](),_0x517623[_0x37e9ba(0x22b)][_0x37e9ba(0x1f9)]);await this[_0x37e9ba(0x1d9)]();const _0x471134={'uuid':_0x3ac95f[_0x37e9ba(0x195)],'type':_0x487daf[_0x37e9ba(0x1c5)],'name':_0x517623[_0x37e9ba(0x20a)],'body':{'lang':_0x487daf[_0x37e9ba(0x22d)],'code':_0x517623['fn'][_0x37e9ba(0x206)]()},'scope':_0x1a10fd,'scopes':this['getHierarchy'](_0x517623),'identifier':_0x56237b,'file_name':_0x2a5106,'location':_0x2a5106,'result':_0x487daf[_0x37e9ba(0x1d1)],'duration_in_ms':_0x132a0e&&_0x132a0e[_0x37e9ba(0x20e)]?_0x132a0e[_0x37e9ba(0x20e)]:null,'vc_filepath':this[_0x37e9ba(0x155)]&&_0x517623[_0x37e9ba(0x22b)][_0x37e9ba(0x1f9)]?path[_0x37e9ba(0x194)](this[_0x37e9ba(0x155)],_0x517623[_0x37e9ba(0x22b)]['file']):undefined,'started_at':_0x3ac95f[_0x37e9ba(0x233)],'finished_at':_0x3ac95f['finishedAt'],'framework':FRAMEWORKS[_0x37e9ba(0x1e0)],'customRerunParam':{'rerun_name':this[_0x37e9ba(0x24f)](_0x517623)},'tags':_0x487daf[_0x37e9ba(0x1f5)](getTestTags,_0x517623)};_0x487daf['ZGcdv'](appendTesthubParams,_0x471134,_0x39be18,_0x517623,FRAMEWORKS[_0x37e9ba(0x1e0)]);_0x132a0e&&_0x487daf['ArnBG'](_0x132a0e[_0x37e9ba(0x18a)],0x0)&&(_0x471134[_0x37e9ba(0x218)]=TestDetails[_0x37e9ba(0x1e3)](this['getTestRunIdentifier'](_0x517623,_0x487daf[_0x37e9ba(0x1ae)](_0x132a0e['retry'],0x1))));if(_0x487daf['slqZj'](_0x39be18,_0x487daf[_0x37e9ba(0x1fe)])){_0x471134[_0x37e9ba(0x1fb)]=_0x132a0e[_0x37e9ba(0x16a)];if(_0x487daf[_0x37e9ba(0x241)](_0x132a0e[_0x37e9ba(0x16a)],_0x517623['expectedStatus']))_0x471134[_0x37e9ba(0x1fb)]=_0x487daf[_0x37e9ba(0x1b6)](_0x132a0e[_0x37e9ba(0x16a)],_0x487daf[_0x37e9ba(0x1d7)])?_0x487daf['BVMEV']:_0x487daf[_0x37e9ba(0x15f)];else{(_0x487daf['KwDee'](_0x471134[_0x37e9ba(0x1fb)],_0x487daf[_0x37e9ba(0x15f)])||_0x487daf['ESOop'](_0x471134[_0x37e9ba(0x1fb)],_0x487daf[_0x37e9ba(0x17d)])||_0x487daf['KwDee'](_0x471134['result'],_0x487daf[_0x37e9ba(0x1a3)]))&&(_0x471134['result']=_0x487daf[_0x37e9ba(0x17d)]);if(_0x487daf['owoSt'](_0x132a0e[_0x37e9ba(0x16a)],_0x487daf['sDyel'])&&_0x487daf[_0x37e9ba(0x1b9)](_0x517623[_0x37e9ba(0x159)],_0x487daf['nOOnd'])){const _0xd76ae1={};_0xd76ae1[_0x37e9ba(0x17c)]=_0x487daf[_0x37e9ba(0x1ca)],_0xd76ae1['stack']=_0x487daf[_0x37e9ba(0x1ca)],_0x132a0e[_0x37e9ba(0x22f)]=_0xd76ae1,_0x132a0e[_0x37e9ba(0x251)]=[_0x132a0e[_0x37e9ba(0x22f)]];}}const _0x508c76=this['getTestRunIdentifier'](_0x517623,_0x132a0e[_0x37e9ba(0x18a)]);_0x471134[_0x37e9ba(0x210)]=this['_testHooksMap'][_0x508c76];const {steps:_0x495865,logs:_0x3a6b47}=this[_0x37e9ba(0x249)](_0x132a0e['steps'],_0x3ac95f[_0x37e9ba(0x195)],_0x487daf[_0x37e9ba(0x1c5)]);await MyReporter[_0x37e9ba(0x1dd)](_0x3a6b47);const _0x35f8e6={};_0x35f8e6[_0x37e9ba(0x239)]=_0x495865,_0x471134[_0x37e9ba(0x199)]=_0x35f8e6;if(_0x132a0e[_0x37e9ba(0x22f)]){_0x471134[_0x37e9ba(0x169)]=_0x487daf[_0x37e9ba(0x223)](removeAnsiColors,_0x132a0e['error']['message']),_0x471134['failure_type']=_0x487daf[_0x37e9ba(0x223)](getFailureType,_0x132a0e[_0x37e9ba(0x22f)][_0x37e9ba(0x17c)]);const _0x15ad40={};_0x15ad40[_0x37e9ba(0x1cb)]=_0x3ac95f[_0x37e9ba(0x195)];const {failureData:_0x3282df,logs:_0x4d2937}=_0x487daf[_0x37e9ba(0x237)](getFailureData,_0x132a0e['errors'],_0x15ad40);if(_0x3282df&&_0x487daf['qRocz'](_0x3282df[_0x37e9ba(0x24c)],0x0)){const _0x1cbb82={};_0x1cbb82[_0x37e9ba(0x17a)]=[_0x471134[_0x37e9ba(0x169)]],_0x1cbb82[_0x37e9ba(0x1a7)]=[],_0x3282df[_0x37e9ba(0x188)](_0x1cbb82);}_0x471134[_0x37e9ba(0x18b)]=_0x3282df,_0x4d2937&&_0x487daf[_0x37e9ba(0x215)](_0x4d2937[_0x37e9ba(0x24c)],0x0)&&await MyReporter[_0x37e9ba(0x1dd)](_0x4d2937);}}let _0x30bcb2=_0x487daf[_0x37e9ba(0x237)](findNestedKey,_0x132a0e,_0x487daf[_0x37e9ba(0x19b)]);if(_0x30bcb2&&_0x487daf[_0x37e9ba(0x223)](validateFilePath,_0x30bcb2))_0x487daf['UWwFJ'](debug,_0x37e9ba(0x153)+_0x3ac95f[_0x37e9ba(0x195)]+_0x37e9ba(0x1ea)+_0x30bcb2);else{const _0x22f0d4=path[_0x37e9ba(0x20c)](helper[_0x37e9ba(0x160)](),_0x487daf['afutI']);!fs['existsSync'](_0x22f0d4)&&fs['mkdirSync'](_0x22f0d4),fs['existsSync'](path[_0x37e9ba(0x20c)](_0x22f0d4,_0x37e9ba(0x1f2)+_0x3ac95f['uuid']+_0x37e9ba(0x201)))&&(_0x30bcb2=fs[_0x37e9ba(0x1b4)](path['join'](_0x22f0d4,_0x37e9ba(0x1f2)+_0x3ac95f[_0x37e9ba(0x195)]+_0x37e9ba(0x201)),_0x487daf['ShPIq']),_0x487daf['vGUqb'](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x3ac95f[_0x37e9ba(0x195)]+_0x37e9ba(0x1ea)+_0x30bcb2));}const _0x3c554e={};_0x3c554e[_0x37e9ba(0x23b)]=_0x39be18,_0x3c554e[_0x37e9ba(0x171)]=_0x471134;const _0x346304=_0x3c554e;_0x30bcb2&&_0x487daf['wdxhq'](_0x30bcb2,'')&&_0x487daf[_0x37e9ba(0x1b9)](_0x39be18,_0x487daf[_0x37e9ba(0x1fe)])&&(!_0x346304[_0x37e9ba(0x20d)]&&(_0x346304[_0x37e9ba(0x20d)]=[]),_0x30bcb2['split']('\x0a')[_0x37e9ba(0x152)](_0x4226cf=>{const _0x367edb=_0x37e9ba;_0x4226cf&&_0x487daf[_0x367edb(0x223)](validateFilePath,_0x4226cf)&&_0x346304[_0x367edb(0x20d)][_0x367edb(0x188)]({'kind':_0x487daf[_0x367edb(0x1f7)],'timestamp':new Date()[_0x367edb(0x24d)](),'test_run_uuid':_0x3ac95f['uuid'],'file_name':path[_0x367edb(0x22c)](_0x4226cf),'file_size':fs[_0x367edb(0x18f)](_0x4226cf)[_0x367edb(0x1bf)],'attachment_type':_0x487daf[_0x367edb(0x1fd)]});})),await SessionHandler[_0x37e9ba(0x1b2)](_0x346304);}[a41_0x29079b(0x24f)](_0x27d5d2){const _0x552e04=a41_0x29079b,_0x283483={};_0x283483[_0x552e04(0x14f)]=function(_0x558852,_0x4a9454){return _0x558852===_0x4a9454;},_0x283483[_0x552e04(0x248)]=function(_0x40458c,_0x4b44e6){return _0x40458c>_0x4b44e6;},_0x283483[_0x552e04(0x193)]=function(_0x4f34f8,_0x181191){return _0x4f34f8+_0x181191;},_0x283483['TDZRt']=function(_0x150701,_0x46fb06){return _0x150701+_0x46fb06;},_0x283483[_0x552e04(0x23c)]=function(_0x4ef828,_0x5294c2){return _0x4ef828+_0x5294c2;},_0x283483[_0x552e04(0x23e)]=function(_0x2a57ec,_0x41c1c1){return _0x2a57ec+_0x41c1c1;};const _0x3e41f8=_0x283483,_0x1d459f=_0x27d5d2['titlePath']()[_0x552e04(0x1c6)](_0x5399a9=>{const _0x597a93=_0x552e04;if(_0x27d5d2[_0x597a93(0x19a)]&&_0x3e41f8[_0x597a93(0x14f)](_0x5399a9,_0x27d5d2[_0x597a93(0x19a)]['title'])&&_0x27d5d2[_0x597a93(0x19a)][_0x597a93(0x158)]&&_0x3e41f8[_0x597a93(0x248)](_0x27d5d2[_0x597a93(0x19a)][_0x597a93(0x158)][_0x597a93(0x24c)],0x0))return _0x3e41f8[_0x597a93(0x193)](_0x3e41f8['TDZRt'](_0x5399a9,'\x20'),_0x27d5d2[_0x597a93(0x19a)][_0x597a93(0x158)][_0x597a93(0x20c)]('\x20'));if(_0x3e41f8['BzNSP'](_0x5399a9,_0x27d5d2[_0x597a93(0x20a)])&&_0x27d5d2[_0x597a93(0x158)]&&_0x3e41f8[_0x597a93(0x248)](_0x27d5d2[_0x597a93(0x158)][_0x597a93(0x24c)],0x0))return _0x3e41f8[_0x597a93(0x23c)](_0x3e41f8['MKufv'](_0x5399a9,'\x20'),_0x27d5d2['_tags'][_0x597a93(0x20c)]('\x20'));return _0x5399a9;})[_0x552e04(0x20c)]('\x20');return _0x1d459f;}static async[a41_0x29079b(0x167)](_0xa35e64,_0x4dd411){const _0x529d78=a41_0x29079b,_0x1143c2={'sPSAb':function(_0x99b9bd,_0x3e9eb9){return _0x99b9bd(_0x3e9eb9);},'cTIAH':_0x529d78(0x18e)},_0xe15400={'uuid':TestDetails[_0x529d78(0x1e3)](_0xa35e64),'integrations':_0x4dd411},_0x5940ac={};_0x5940ac[_0x529d78(0x236)]=null,_0x1143c2['sPSAb'](debug,_0x529d78(0x172)+_0xa35e64+',\x20'+util[_0x529d78(0x1e5)](_0x4dd411,_0x5940ac));const _0x3db6a3={};_0x3db6a3[_0x529d78(0x23b)]=_0x1143c2['cTIAH'],_0x3db6a3[_0x529d78(0x171)]=_0xe15400,await SessionHandler['uploadEventData'](_0x3db6a3);}async['configureGit'](){const _0x5bebc7=a41_0x29079b,_0x360718={'RzfAh':function(_0x180873){return _0x180873();}};if(this[_0x5bebc7(0x157)])return;const _0x1585ab=await _0x360718[_0x5bebc7(0x1ac)](getGitMetaData);_0x1585ab&&(this['_gitConfigPath']=_0x1585ab[_0x5bebc7(0x1c8)]),this['_gitConfigured']=!![];}[a41_0x29079b(0x247)](_0x2e70dd){const _0x56cbe3=a41_0x29079b,_0x293e61={};_0x293e61[_0x56cbe3(0x1ad)]=function(_0x22177d,_0xf1d881){return _0x22177d!==_0xf1d881;};const _0x967714=_0x293e61,_0x2e3d9b=[];if(_0x2e70dd&&_0x2e70dd['parent']){let _0x32bd48=_0x2e70dd[_0x56cbe3(0x19a)];while(_0x32bd48&&_0x967714[_0x56cbe3(0x1ad)](_0x32bd48[_0x56cbe3(0x20a)],'')){_0x2e3d9b[_0x56cbe3(0x188)](_0x32bd48[_0x56cbe3(0x20a)]),_0x32bd48=_0x32bd48[_0x56cbe3(0x19a)];}}return _0x2e3d9b[_0x56cbe3(0x186)]()['splice'](0x0,0x2),_0x2e3d9b;}['needToReportStep'](_0x26ddfa){const _0x365a04=a41_0x29079b,_0x1e2d33={};_0x1e2d33[_0x365a04(0x168)]=function(_0x413707,_0x16c90b){return _0x413707!==_0x16c90b;},_0x1e2d33['rvdzz']=_0x365a04(0x234),_0x1e2d33[_0x365a04(0x21d)]=function(_0x5d59a5,_0x3ad4f4){return _0x5d59a5===_0x3ad4f4;},_0x1e2d33['PgpnN']=_0x365a04(0x1f1),_0x1e2d33['JXcSw']=_0x365a04(0x250),_0x1e2d33['bVDuP']=_0x365a04(0x1e7),_0x1e2d33[_0x365a04(0x1ed)]=_0x365a04(0x1ee);const _0x4517f0=_0x1e2d33;if(_0x4517f0[_0x365a04(0x168)](_0x26ddfa[_0x365a04(0x1dc)],_0x4517f0[_0x365a04(0x16d)]))return![];if(_0x4517f0[_0x365a04(0x21d)]([_0x4517f0[_0x365a04(0x1cd)],_0x4517f0[_0x365a04(0x1f8)],_0x4517f0[_0x365a04(0x161)],_0x4517f0['HonQM']][_0x365a04(0x192)](_0x26ddfa[_0x365a04(0x20a)]),-0x1))return![];return!![];}[a41_0x29079b(0x1e9)](_0x352da1,_0x4cd68a){const _0x3c6d89=a41_0x29079b,_0x3b73d1=_0x4cd68a[_0x3c6d89(0x244)];if(_0x3b73d1)return _0x3b73d1;return _0x4cd68a['title']+_0x3c6d89(0x1e1)+this[_0x3c6d89(0x17e)](_0x352da1);}['setStepIdentifier'](_0x2d553a,_0x5a877a){const _0x18dc29=a41_0x29079b,_0x12da90={'zgiNX':function(_0x33fb39){return _0x33fb39();}};let _0x9a213c=_0x5a877a[_0x18dc29(0x20a)]+_0x18dc29(0x1e1)+this[_0x18dc29(0x17e)](_0x2d553a);return this[_0x18dc29(0x1d5)][_0x9a213c]&&(_0x9a213c=_0x9a213c+_0x18dc29(0x242)+_0x12da90[_0x18dc29(0x190)](uuidv4)),_0x5a877a[_0x18dc29(0x244)]=_0x9a213c,_0x9a213c;}[a41_0x29079b(0x17e)]=_0x1b70f7=>{const _0x311caf=a41_0x29079b,_0x4f17fe={};_0x4f17fe['BBZcU']=function(_0x3bfbd7,_0x49b585){return _0x3bfbd7+_0x49b585;},_0x4f17fe['XYNmV']=function(_0x4c158c,_0x2bb9df){return _0x4c158c+_0x2bb9df;};const _0x10da58=_0x4f17fe;return _0x10da58[_0x311caf(0x15a)](_0x10da58[_0x311caf(0x23f)](_0x1b70f7[_0x311caf(0x1a2)],'-'),_0x1b70f7['id']);};[a41_0x29079b(0x1e2)]=(_0x4ebd46,_0x1ca743)=>{const _0x380b71=a41_0x29079b,_0xa15387={};_0xa15387['ONhlF']=function(_0x4d8195,_0x56cd8c){return _0x4d8195+_0x56cd8c;};const _0x2bda8e=_0xa15387;return _0x2bda8e[_0x380b71(0x229)](_0x2bda8e[_0x380b71(0x229)](this[_0x380b71(0x17e)](_0x4ebd46),'-'),_0x1ca743);};[a41_0x29079b(0x181)]=_0x14dc11=>{const _0x852e30=a41_0x29079b,_0x1307d1={};_0x1307d1[_0x852e30(0x202)]='beforeEach\x20hook',_0x1307d1['CEHoz']='BEFORE_EACH',_0x1307d1[_0x852e30(0x175)]=_0x852e30(0x250),_0x1307d1[_0x852e30(0x220)]=_0x852e30(0x243),_0x1307d1[_0x852e30(0x1f3)]=_0x852e30(0x1ee),_0x1307d1[_0x852e30(0x1ce)]=_0x852e30(0x1df),_0x1307d1[_0x852e30(0x21e)]='afterAll\x20hook',_0x1307d1['zLwvY']=_0x852e30(0x162),_0x1307d1['kmhmU']=_0x852e30(0x209);const _0x2469e5=_0x1307d1;if(_0x14dc11[_0x852e30(0x164)](_0x2469e5[_0x852e30(0x202)]))return _0x2469e5[_0x852e30(0x1fc)];else{if(_0x14dc11[_0x852e30(0x164)](_0x2469e5[_0x852e30(0x175)]))return _0x2469e5[_0x852e30(0x220)];else{if(_0x14dc11[_0x852e30(0x164)](_0x2469e5[_0x852e30(0x1f3)]))return _0x2469e5[_0x852e30(0x1ce)];else{if(_0x14dc11[_0x852e30(0x164)](_0x2469e5['IenNk']))return _0x2469e5[_0x852e30(0x154)];}}}return _0x2469e5[_0x852e30(0x1c9)];};[a41_0x29079b(0x200)]=_0x24e30e=>{const _0x26fcdb=a41_0x29079b,_0x27c611={};_0x27c611[_0x26fcdb(0x174)]=function(_0x1cd5b7,_0x5a8773){return _0x1cd5b7===_0x5a8773;},_0x27c611[_0x26fcdb(0x177)]=_0x26fcdb(0x24a);const _0x46b4bf=_0x27c611;let _0x2b5cb4=_0x24e30e['parent'];return _0x46b4bf[_0x26fcdb(0x174)](typeof _0x24e30e[_0x26fcdb(0x19a)],_0x46b4bf['BSGab'])&&(_0x2b5cb4=_0x2b5cb4['title']),_0x2b5cb4+_0x26fcdb(0x242)+_0x24e30e[_0x26fcdb(0x20a)];};[a41_0x29079b(0x183)](){return![];}}module[a41_0x29079b(0x203)]=o11yClassErrorHandler(MyReporter,['onBegin','endSession',a41_0x29079b(0x1bd),a41_0x29079b(0x20b),'onStepBegin','onStepEnd',a41_0x29079b(0x167)],a41_0x29079b(0x216));
1
+ const a41_0x4634ac=a41_0x452c;(function(_0x21e9c9,_0xe36223){const _0x45bd15=a41_0x452c,_0x174b3e=_0x21e9c9();while(!![]){try{const _0x566933=parseInt(_0x45bd15(0x1f2))/0x1+-parseInt(_0x45bd15(0x1a3))/0x2*(parseInt(_0x45bd15(0x263))/0x3)+-parseInt(_0x45bd15(0x240))/0x4+parseInt(_0x45bd15(0x1cd))/0x5+-parseInt(_0x45bd15(0x1d7))/0x6+-parseInt(_0x45bd15(0x1fe))/0x7+parseInt(_0x45bd15(0x184))/0x8;if(_0x566933===_0xe36223)break;else _0x174b3e['push'](_0x174b3e['shift']());}catch(_0x2bc9da){_0x174b3e['push'](_0x174b3e['shift']());}}}(a41_0x4d42,0xc924d));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x4634ac(0x212)),{v4:uuidv4}=require('uuid'),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x4634ac(0x242)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a41_0x4634ac(0x1d0)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a41_0x4634ac(0x258)),PerformanceTester=require(a41_0x4634ac(0x1e2)),{FRAMEWORKS}=require(a41_0x4634ac(0x191)),SessionHandler=require(a41_0x4634ac(0x1eb)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),TestHubHandler=require(a41_0x4634ac(0x267)),helper=require(a41_0x4634ac(0x1a8));class MyReporter{constructor(_0x4ec4ac){const _0x1095e9=a41_0x4634ac,_0x3c1fc4={'vHQoD':_0x1095e9(0x1b6),'aryau':_0x1095e9(0x1f1),'ZgyiY':function(_0x2a1c2d,_0x5d74a5,_0x432a48,_0x515260){return _0x2a1c2d(_0x5d74a5,_0x432a48,_0x515260);}},_0x1ae0cf=_0x3c1fc4['vHQoD']['split']('|');let _0x215870=0x0;while(!![]){switch(_0x1ae0cf[_0x215870++]){case'0':this[_0x1095e9(0x1e9)]=_0x4ec4ac;continue;case'1':this[_0x1095e9(0x181)]={};continue;case'2':this[_0x1095e9(0x21e)]={};continue;case'3':this[_0x1095e9(0x1f9)]=![];continue;case'4':process[_0x1095e9(0x1d8)][_0x1095e9(0x1ea)]&&(PerformanceTester[_0x1095e9(0x247)](_0x3c1fc4['aryau']),process[_0x1095e9(0x1d8)][_0x1095e9(0x244)]=new Date()['toISOString']());continue;case'5':this[_0x1095e9(0x22b)]=null;continue;case'6':const _0x1ad3c5={};_0x1ad3c5[_0x1095e9(0x1e0)]=process[_0x1095e9(0x1d8)][_0x1095e9(0x252)],_0x3c1fc4[_0x1095e9(0x1a2)](setLogLevel,_0x1ad3c5,new Map(),new Map());continue;}break;}}async[a41_0x4634ac(0x1a9)](){const _0x19c75f=a41_0x4634ac;TestDetails[_0x19c75f(0x17f)](),await this['configureGit']();}async[a41_0x4634ac(0x276)](_0x5ce77b,_0x237100){const _0x4b8c7c=a41_0x4634ac,_0x4f3e3d={'JLAuE':function(_0x3e7e0c,_0x23b3de){return _0x3e7e0c(_0x23b3de);},'swQSG':_0x4b8c7c(0x237)},_0x43c968=this[_0x4b8c7c(0x227)](_0x5ce77b),_0x18ee14=TestDetails[_0x4b8c7c(0x18d)](this[_0x4b8c7c(0x17b)](_0x5ce77b,_0x237100[_0x4b8c7c(0x19c)]));process[_0x4b8c7c(0x1d8)][_0x4b8c7c(0x1b7)]=_0x18ee14;const _0x53659a={};_0x53659a[_0x4b8c7c(0x21d)]=_0x18ee14,_0x53659a['startedAt']=_0x237100[_0x4b8c7c(0x1bc)],this[_0x4b8c7c(0x21e)][_0x43c968]=_0x53659a,_0x4f3e3d[_0x4b8c7c(0x20c)](trace,_0x4b8c7c(0x238)+_0x43c968),await this[_0x4b8c7c(0x1ce)](_0x5ce77b,_0x4f3e3d[_0x4b8c7c(0x1ec)],_0x237100);}async[a41_0x4634ac(0x1a0)](_0x1e516f,_0x43bd60,_0x431699){const _0x1b84b9=a41_0x4634ac,_0x21acf9={'wPVbv':function(_0x2e7e42,_0x922103){return _0x2e7e42(_0x922103);},'nNlYO':_0x1b84b9(0x1a4)};if(!this[_0x1b84b9(0x255)](_0x431699,_0x1e516f))return;const _0xf26bc6=this[_0x1b84b9(0x25c)](_0x1e516f,_0x431699);this[_0x1b84b9(0x21e)][_0xf26bc6]={'uuid':TestDetails[_0x1b84b9(0x18d)](_0xf26bc6),'startedAt':_0x431699[_0x1b84b9(0x1bc)][_0x1b84b9(0x22c)]()};const _0x675812=this[_0x1b84b9(0x17b)](_0x1e516f,_0x43bd60[_0x1b84b9(0x19c)]);!this[_0x1b84b9(0x181)][_0x675812]&&(this[_0x1b84b9(0x181)][_0x675812]=[]),this['_testHooksMap'][_0x675812][_0x1b84b9(0x19e)](this[_0x1b84b9(0x21e)][_0xf26bc6]['uuid']),_0x21acf9['wPVbv'](trace,_0x1b84b9(0x1c9)+_0xf26bc6+_0x1b84b9(0x26f)+_0x675812),await this['sendHookRunEvent'](_0x1e516f,_0x431699,_0x21acf9[_0x1b84b9(0x1d1)],_0x43bd60);}async[a41_0x4634ac(0x273)](_0x45400f,_0x4d0446,_0x36c952){const _0x54a044=a41_0x4634ac,_0x2e1de3={'yYTaL':function(_0x4e7755,_0x4f3512){return _0x4e7755+_0x4f3512;},'GpaDV':function(_0x31d3c9,_0xb57848){return _0x31d3c9(_0xb57848);},'KvyRc':_0x54a044(0x1d3)};if(!this[_0x54a044(0x255)](_0x36c952,_0x45400f))return;const _0x21d8af=this[_0x54a044(0x20a)](_0x45400f,_0x36c952);this['_tests'][_0x21d8af]={...this['_tests'][_0x21d8af]||{},'finishedAt':new Date(_0x2e1de3[_0x54a044(0x234)](_0x36c952[_0x54a044(0x1bc)][_0x54a044(0x18e)](),_0x36c952[_0x54a044(0x1aa)]))},_0x2e1de3[_0x54a044(0x269)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x21d8af+_0x54a044(0x1cc)),await this[_0x54a044(0x210)](_0x45400f,_0x36c952,_0x2e1de3[_0x54a044(0x1bb)],_0x4d0446);}async[a41_0x4634ac(0x1bd)](_0x459552,_0x349738){const _0x268956=a41_0x4634ac,_0x31c506={'WmjbS':function(_0x28aa8d,_0x311c09){return _0x28aa8d===_0x311c09;},'nLQCe':_0x268956(0x262),'GVuEp':_0x268956(0x214),'FaVbh':_0x268956(0x1e5),'hnUPw':function(_0x2a7a2c,_0x4f7d4c){return _0x2a7a2c(_0x4f7d4c);},'JzAbb':'TestRunFinished','ttWkJ':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','RMEKD':function(_0x503ef3,_0x20e40f,_0x5b959d){return _0x503ef3(_0x20e40f,_0x5b959d);},'CYzKO':function(_0x36371c,_0x512bf6){return _0x36371c(_0x512bf6);},'VICux':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','SAxRj':function(_0x4d561e,_0x37848c){return _0x4d561e>_0x37848c;}},_0x1ba3dd=this[_0x268956(0x227)](_0x459552),_0x1713d7=TestDetails[_0x268956(0x18d)](this['getTestRunIdentifier'](_0x459552,_0x349738[_0x268956(0x19c)]));this[_0x268956(0x21e)][_0x1ba3dd]={...this[_0x268956(0x21e)][_0x1ba3dd]||{},'finishedAt':new Date()[_0x268956(0x22c)]()},_0x31c506[_0x268956(0x271)](trace,_0x268956(0x1ba)+_0x1ba3dd);try{await this[_0x268956(0x1ce)](_0x459552,_0x31c506[_0x268956(0x1bf)],_0x349738);}catch(_0x505e2b){_0x31c506[_0x268956(0x271)](debug,util[_0x268956(0x1b2)](_0x31c506['ttWkJ'],_0x505e2b[_0x268956(0x21f)]()));}try{_0x31c506[_0x268956(0x271)](debug,_0x268956(0x192)+_0x1713d7),await _0x31c506[_0x268956(0x25e)](sendTraceZip,_0x349738,_0x1713d7);}catch(_0x22bd4d){_0x31c506[_0x268956(0x18b)](debug,util['format'](_0x31c506['VICux'],_0x22bd4d['toString']()));}const _0xa6baf5=[];_0x349738[_0x268956(0x17c)]&&_0x349738['attachments'][_0x268956(0x1b4)](_0x4fa37d=>{const _0x486e77=_0x268956;if(_0x31c506['WmjbS'](_0x4fa37d[_0x486e77(0x1dd)],_0x31c506[_0x486e77(0x20f)])){if(!_0x4fa37d[_0x486e77(0x1c7)]||!fs[_0x486e77(0x231)](_0x4fa37d[_0x486e77(0x1c7)]))return;_0xa6baf5[_0x486e77(0x19e)]({'test_run_uuid':_0x1713d7,'timestamp':fs['statSync'](_0x4fa37d[_0x486e77(0x1c7)])[_0x486e77(0x1f5)],'kind':_0x31c506[_0x486e77(0x1db)],'message':fs[_0x486e77(0x22e)](_0x4fa37d['path'],{'encoding':_0x31c506['FaVbh']})});}}),_0x31c506[_0x268956(0x204)](_0xa6baf5[_0x268956(0x1e3)],0x0)&&await MyReporter['reportLogs'](_0xa6baf5);}async[a41_0x4634ac(0x265)](){const _0x5ea7c6=a41_0x4634ac;await RequestQueueHandler[_0x5ea7c6(0x21b)]()[_0x5ea7c6(0x219)]();}async[a41_0x4634ac(0x1a6)](_0x385153){const _0x50b613=a41_0x4634ac,_0x486be9={'KFOzZ':function(_0x5056c8){return _0x5056c8();},'JbneY':function(_0x2ae6ef,_0x399cf0){return _0x2ae6ef(_0x399cf0);}};await this[_0x50b613(0x265)]();try{process[_0x50b613(0x1d8)][_0x50b613(0x1ea)]&&await _0x486be9[_0x50b613(0x264)](calculatePerformance);}catch(_0x3f6b17){_0x486be9[_0x50b613(0x1b5)](debug,_0x50b613(0x195)+_0x3f6b17[_0x50b613(0x21f)]());}}static async['addTestUIDAndReportLog'](_0x3c090c,_0x5a7db7){const _0x1f0ca5=a41_0x4634ac;_0x5a7db7[_0x1f0ca5(0x1be)]=TestDetails[_0x1f0ca5(0x18d)](_0x3c090c),await this[_0x1f0ca5(0x205)]([_0x5a7db7]);}static async[a41_0x4634ac(0x205)](_0xdc1167){const _0x45c290=a41_0x4634ac,_0x281ad5={};_0x281ad5[_0x45c290(0x23a)]=_0x45c290(0x257);const _0x76c5ed=_0x281ad5,_0x2163c7={};_0x2163c7[_0x45c290(0x1e8)]=_0x76c5ed[_0x45c290(0x23a)],_0x2163c7[_0x45c290(0x254)]=_0xdc1167,await SessionHandler[_0x45c290(0x1b1)](_0x2163c7);}async['sendHookRunEvent'](_0x4e62d2,_0x426dd7,_0x49af00,_0x308e6c){const _0x51427f=a41_0x4634ac,_0x1a5fcc={'Toofo':_0x51427f(0x236),'tLZgI':_0x51427f(0x183),'RLhbs':'pending','cmCDJ':function(_0x33091f,_0x1b2e30){return _0x33091f>=_0x1b2e30;},'wdGyR':function(_0x40cd2e,_0xcf2883){return _0x40cd2e===_0xcf2883;},'uAeJI':_0x51427f(0x1d3),'SckwI':function(_0x263ef5,_0x39a505){return _0x263ef5>_0x39a505;},'qdUip':_0x51427f(0x241),'iLUOF':function(_0x10cd7f,_0xb39bbd){return _0x10cd7f(_0xb39bbd);},'Jhccg':function(_0x7c7c1,_0x57e2a4){return _0x7c7c1(_0x57e2a4);},'XDaHS':function(_0x1e4465,_0x3b5d5a,_0x189d21){return _0x1e4465(_0x3b5d5a,_0x189d21);},'ylpgK':_0x51427f(0x213),'doTSy':_0x51427f(0x1c6)},_0x2308c0=this[_0x51427f(0x20a)](_0x4e62d2,_0x426dd7),_0x11bc1d=this[_0x51427f(0x21e)][_0x2308c0],_0x306605={'uuid':_0x11bc1d[_0x51427f(0x21d)],'type':_0x1a5fcc[_0x51427f(0x1e1)],'hook_type':this[_0x51427f(0x203)](_0x426dd7[_0x51427f(0x194)]),'name':_0x426dd7['title'],'scope':this['getScope'](_0x426dd7),'scopes':this[_0x51427f(0x19d)](_0x4e62d2),'body':{'lang':_0x1a5fcc[_0x51427f(0x1df)],'code':null},'identifier':_0x2308c0,'file_name':path['relative'](process['cwd'](),_0x4e62d2['location'][_0x51427f(0x220)]),'location':path[_0x51427f(0x19b)](process['cwd'](),_0x4e62d2['location']['file']),'result':_0x1a5fcc[_0x51427f(0x211)],'duration_in_ms':_0x1a5fcc['cmCDJ'](_0x426dd7['duration'],0x0)?_0x426dd7['duration']:undefined,'vc_filepath':this['_gitConfigPath']&&_0x4e62d2['location']['file']?path[_0x51427f(0x19b)](this[_0x51427f(0x22b)],_0x4e62d2['location']['file']):undefined,'started_at':_0x11bc1d[_0x51427f(0x249)],'finished_at':_0x11bc1d[_0x51427f(0x17e)],'framework':FRAMEWORKS[_0x51427f(0x1c4)]};if(_0x1a5fcc[_0x51427f(0x1c3)](_0x49af00,_0x1a5fcc['uAeJI'])){const {steps:_0x3fab5b,logs:_0x276f83}=this['getStepsAndLogs'](_0x426dd7[_0x51427f(0x180)],_0x11bc1d['uuid'],_0x1a5fcc[_0x51427f(0x1e1)]);_0x276f83&&_0x1a5fcc[_0x51427f(0x1ef)](_0x276f83['length'],0x0)&&await MyReporter[_0x51427f(0x205)](_0x276f83);const _0x4390e8={};_0x4390e8[_0x51427f(0x180)]=_0x3fab5b,_0x306605[_0x51427f(0x1fb)]=_0x4390e8;if(_0x426dd7[_0x51427f(0x243)]){_0x306605[_0x51427f(0x1ed)]=_0x1a5fcc['qdUip'],_0x306605[_0x51427f(0x197)]=_0x1a5fcc[_0x51427f(0x19f)](removeAnsiColors,_0x426dd7[_0x51427f(0x243)][_0x51427f(0x24c)]),_0x306605[_0x51427f(0x235)]=_0x1a5fcc[_0x51427f(0x256)](getFailureType,_0x426dd7[_0x51427f(0x243)][_0x51427f(0x24c)]);const _0xf49c4=_0x1a5fcc[_0x51427f(0x202)](failureData,_0x426dd7[_0x51427f(0x243)],_0x1a5fcc[_0x51427f(0x196)]);if(_0xf49c4&&_0x1a5fcc[_0x51427f(0x1c3)](_0xf49c4['length'],0x0)){const _0x2c0494={};_0x2c0494[_0x51427f(0x222)]=[_0x306605[_0x51427f(0x197)]],_0x2c0494['expanded']=[],_0xf49c4[_0x51427f(0x19e)](_0x2c0494);}_0x306605[_0x51427f(0x187)]=_0xf49c4;}else _0x306605['result']=_0x1a5fcc[_0x51427f(0x225)];}const _0x2344c6={};_0x2344c6[_0x51427f(0x1e8)]=_0x49af00,_0x2344c6[_0x51427f(0x1b8)]=_0x306605;const _0x40b50f=_0x2344c6;await SessionHandler[_0x51427f(0x1b1)](_0x40b50f);}[a41_0x4634ac(0x1c1)](_0x101383,_0x39c3b1,_0x3d3fe3){const _0x221cea=a41_0x4634ac,_0x476a45={'FuUga':function(_0x3c018a,_0x16dd27){return _0x3c018a===_0x16dd27;},'qpNCA':_0x221cea(0x236),'bCvXV':function(_0x204c37,_0x46af8f){return _0x204c37===_0x46af8f;},'rZAZx':_0x221cea(0x179),'oYdrS':_0x221cea(0x21c),'nKBKd':_0x221cea(0x20b),'wuDbp':_0x221cea(0x1be),'EsFis':_0x221cea(0x1e4),'AFnuC':'TEST_STEP','RrFfS':'failed','HhpLJ':_0x221cea(0x1c6),'TSCyo':function(_0x5cdba1,_0x53cb75){return _0x5cdba1(_0x53cb75);},'CEfgt':function(_0x43ae2b){return _0x43ae2b();},'QuAXP':function(_0x25e68e,_0xd2a215){return _0x25e68e(_0xd2a215);},'fvNNt':function(_0x208ddb,_0x2cd5f3,_0xa47523){return _0x208ddb(_0x2cd5f3,_0xa47523);},'niiRL':function(_0x4ee3dc,_0x48a624,_0x453977){return _0x4ee3dc(_0x48a624,_0x453977);}},_0x468518=[],_0x1ad694=[],_0x3da56d=_0x101383['filter'](_0x15269e=>{const _0x97e40b=_0x221cea;if(_0x476a45[_0x97e40b(0x1d4)](_0x15269e['category'],_0x476a45[_0x97e40b(0x198)])&&(_0x476a45[_0x97e40b(0x275)](_0x15269e[_0x97e40b(0x194)],_0x476a45[_0x97e40b(0x1f8)])||_0x476a45[_0x97e40b(0x1d4)](_0x15269e['title'],_0x476a45[_0x97e40b(0x1a1)])))return![];return!![];}),_0x499dad=(_0x4c49c9,_0x2df083=![])=>{const _0x239b0d=_0x221cea;if(_0x476a45[_0x239b0d(0x1d4)](_0x4c49c9[_0x239b0d(0x180)][_0x239b0d(0x1e3)],0x0)){const _0x586f35=_0x476a45[_0x239b0d(0x1d4)](_0x3d3fe3,_0x476a45['nKBKd'])?_0x476a45[_0x239b0d(0x1c2)]:_0x476a45['EsFis'];_0x1ad694[_0x239b0d(0x19e)]({'kind':_0x476a45[_0x239b0d(0x1d9)],[_0x586f35]:_0x39c3b1,'message':_0x4c49c9['title'],'timestamp':_0x4c49c9[_0x239b0d(0x1bc)][_0x239b0d(0x22c)](),'level':_0x4c49c9[_0x239b0d(0x243)]?_0x476a45[_0x239b0d(0x24f)]:_0x476a45[_0x239b0d(0x230)],'duration':_0x4c49c9[_0x239b0d(0x1aa)],'failure':_0x4c49c9[_0x239b0d(0x243)]&&_0x4c49c9[_0x239b0d(0x243)][_0x239b0d(0x24c)]&&_0x476a45['TSCyo'](removeAnsiColors,_0x4c49c9[_0x239b0d(0x243)][_0x239b0d(0x24c)]),'failure_type':_0x476a45[_0x239b0d(0x25f)](getFailureType,_0x4c49c9['error']&&_0x4c49c9[_0x239b0d(0x243)]['message'])});}else{!_0x2df083&&_0x468518[_0x239b0d(0x19e)]({'id':_0x476a45['CEfgt'](uuidv4),'text':_0x4c49c9[_0x239b0d(0x194)],'keyword':undefined,'started_at':_0x4c49c9[_0x239b0d(0x1bc)]['toISOString'](),'duration':_0x4c49c9[_0x239b0d(0x1aa)],'result':_0x4c49c9[_0x239b0d(0x243)]?_0x476a45[_0x239b0d(0x24f)]:_0x476a45['HhpLJ'],'failure':_0x4c49c9[_0x239b0d(0x243)]&&_0x4c49c9['error'][_0x239b0d(0x24c)]&&_0x476a45['QuAXP'](removeAnsiColors,_0x4c49c9[_0x239b0d(0x243)]['message']),'failure_type':_0x476a45[_0x239b0d(0x216)](getFailureType,_0x4c49c9[_0x239b0d(0x243)]&&_0x4c49c9[_0x239b0d(0x243)]['message'])});for(const _0x1e1e02 of _0x4c49c9[_0x239b0d(0x180)]){_0x476a45[_0x239b0d(0x1f3)](_0x499dad,_0x1e1e02,!![]);}}};for(const _0xccf685 of _0x3da56d){_0x476a45[_0x221cea(0x1ca)](_0x499dad,_0xccf685,![]);}const _0x57f9f8={};return _0x57f9f8['steps']=_0x468518,_0x57f9f8[_0x221cea(0x254)]=_0x1ad694,_0x57f9f8;}async[a41_0x4634ac(0x1ce)](_0x4bfd4e,_0x50380c,_0x60cd5d){const _0x7df349=a41_0x4634ac,_0x54ea25={'pRrOw':function(_0x31ff0e,_0x2927eb){return _0x31ff0e(_0x2927eb);},'tLzgD':'TEST_ATTACHMENT','zYwnw':_0x7df349(0x209),'alnOT':_0x7df349(0x20b),'ueJdj':_0x7df349(0x183),'uVzdx':'pending','smphE':function(_0x32c707,_0x4d22f2){return _0x32c707(_0x4d22f2);},'nMLAo':function(_0x4020b3,_0x9b26cd,_0x470853,_0x2d2b3c,_0x4ad8b5){return _0x4020b3(_0x9b26cd,_0x470853,_0x2d2b3c,_0x4ad8b5);},'XAeXK':function(_0x425d41,_0x4d067b){return _0x425d41>_0x4d067b;},'Sydbh':function(_0x516bba,_0x2047a9){return _0x516bba-_0x2047a9;},'rBRMy':function(_0x5c4094,_0x15054b){return _0x5c4094===_0x15054b;},'auFtQ':_0x7df349(0x223),'urecu':function(_0x28052f,_0x162efc){return _0x28052f===_0x162efc;},'CsOul':_0x7df349(0x206),'HSsuo':_0x7df349(0x1c6),'XJDZY':function(_0x2e2024,_0x4f75ad){return _0x2e2024===_0x4f75ad;},'ZslCf':_0x7df349(0x241),'VmUUt':function(_0x3a8342,_0x3fc838){return _0x3a8342===_0x3fc838;},'MEtTK':'timedOut','YDvrt':function(_0x3c6266,_0x230557){return _0x3c6266===_0x230557;},'qNNGJ':function(_0x650434,_0x44afec){return _0x650434===_0x44afec;},'PvyLD':_0x7df349(0x1a5),'HgRIS':function(_0x1bffb6,_0x9748d7,_0x3436c0){return _0x1bffb6(_0x9748d7,_0x3436c0);},'IiSzD':'path','bRFEI':function(_0x4b677f,_0x4e8e5a){return _0x4b677f(_0x4e8e5a);},'bcNAm':_0x7df349(0x1ad),'vpmuw':_0x7df349(0x1d2),'oGfrv':function(_0xdf1c0c,_0x2cd628){return _0xdf1c0c(_0x2cd628);},'qUcLg':function(_0x27ba36,_0x5229f8){return _0x27ba36!==_0x5229f8;}},_0x17dbbe=this[_0x7df349(0x227)](_0x4bfd4e),_0x2328bd=this[_0x7df349(0x20d)](_0x4bfd4e),_0x3c760f=this['_tests'][_0x17dbbe],_0x59e32e=path['relative'](process[_0x7df349(0x1b3)](),_0x4bfd4e[_0x7df349(0x218)]['file']);await this[_0x7df349(0x1ac)]();const _0x4c6f7a={'uuid':_0x3c760f['uuid'],'type':_0x54ea25[_0x7df349(0x226)],'name':_0x4bfd4e[_0x7df349(0x194)],'body':{'lang':_0x54ea25[_0x7df349(0x1b9)],'code':_0x4bfd4e['fn']['toString']()},'scope':_0x2328bd,'scopes':this[_0x7df349(0x19d)](_0x4bfd4e),'identifier':_0x17dbbe,'file_name':_0x59e32e,'location':_0x59e32e,'result':_0x54ea25[_0x7df349(0x178)],'duration_in_ms':_0x60cd5d&&_0x60cd5d[_0x7df349(0x1aa)]?_0x60cd5d[_0x7df349(0x1aa)]:null,'vc_filepath':this[_0x7df349(0x22b)]&&_0x4bfd4e[_0x7df349(0x218)][_0x7df349(0x220)]?path[_0x7df349(0x19b)](this[_0x7df349(0x22b)],_0x4bfd4e[_0x7df349(0x218)]['file']):undefined,'started_at':_0x3c760f[_0x7df349(0x249)],'finished_at':_0x3c760f['finishedAt'],'framework':FRAMEWORKS[_0x7df349(0x1c4)],'customRerunParam':{'rerun_name':this[_0x7df349(0x232)](_0x4bfd4e)},'tags':_0x54ea25[_0x7df349(0x22a)](getTestTags,_0x4bfd4e)};_0x54ea25[_0x7df349(0x246)](appendTesthubParams,_0x4c6f7a,_0x50380c,_0x4bfd4e,FRAMEWORKS[_0x7df349(0x1c4)]);_0x60cd5d&&_0x54ea25[_0x7df349(0x23f)](_0x60cd5d[_0x7df349(0x19c)],0x0)&&(_0x4c6f7a[_0x7df349(0x186)]=TestDetails[_0x7df349(0x18d)](this[_0x7df349(0x17b)](_0x4bfd4e,_0x54ea25['Sydbh'](_0x60cd5d[_0x7df349(0x19c)],0x1))));if(_0x54ea25[_0x7df349(0x24d)](_0x50380c,_0x54ea25[_0x7df349(0x1ae)])){_0x4c6f7a[_0x7df349(0x1ed)]=_0x60cd5d[_0x7df349(0x245)];if(_0x54ea25[_0x7df349(0x19a)](_0x60cd5d[_0x7df349(0x245)],_0x4bfd4e[_0x7df349(0x253)]))_0x4c6f7a[_0x7df349(0x1ed)]=_0x54ea25[_0x7df349(0x24d)](_0x60cd5d[_0x7df349(0x245)],_0x54ea25['CsOul'])?_0x54ea25['CsOul']:_0x54ea25['HSsuo'];else{(_0x54ea25['urecu'](_0x4c6f7a['result'],_0x54ea25[_0x7df349(0x24e)])||_0x54ea25[_0x7df349(0x1d6)](_0x4c6f7a['result'],_0x54ea25['ZslCf'])||_0x54ea25[_0x7df349(0x217)](_0x4c6f7a[_0x7df349(0x1ed)],_0x54ea25[_0x7df349(0x1af)]))&&(_0x4c6f7a[_0x7df349(0x1ed)]=_0x54ea25[_0x7df349(0x22f)]);if(_0x54ea25['YDvrt'](_0x60cd5d[_0x7df349(0x245)],_0x54ea25[_0x7df349(0x24e)])&&_0x54ea25[_0x7df349(0x24a)](_0x4bfd4e[_0x7df349(0x253)],_0x54ea25[_0x7df349(0x22f)])){const _0x20377d={};_0x20377d[_0x7df349(0x24c)]=_0x54ea25[_0x7df349(0x274)],_0x20377d[_0x7df349(0x259)]=_0x54ea25[_0x7df349(0x274)],_0x60cd5d[_0x7df349(0x243)]=_0x20377d,_0x60cd5d[_0x7df349(0x23c)]=[_0x60cd5d[_0x7df349(0x243)]];}}const _0x59e309=this[_0x7df349(0x17b)](_0x4bfd4e,_0x60cd5d[_0x7df349(0x19c)]);_0x4c6f7a['hooks']=this[_0x7df349(0x181)][_0x59e309];const {steps:_0x2775e1,logs:_0x35a4b5}=this['getStepsAndLogs'](_0x60cd5d[_0x7df349(0x180)],_0x3c760f[_0x7df349(0x21d)],_0x54ea25[_0x7df349(0x226)]);await MyReporter[_0x7df349(0x205)](_0x35a4b5);const _0x1745e8={};_0x1745e8[_0x7df349(0x180)]=_0x2775e1,_0x4c6f7a[_0x7df349(0x1fb)]=_0x1745e8;if(_0x60cd5d[_0x7df349(0x243)]){_0x4c6f7a[_0x7df349(0x197)]=_0x54ea25[_0x7df349(0x22a)](removeAnsiColors,_0x60cd5d[_0x7df349(0x243)][_0x7df349(0x24c)]),_0x4c6f7a[_0x7df349(0x235)]=_0x54ea25[_0x7df349(0x22a)](getFailureType,_0x60cd5d['error'][_0x7df349(0x24c)]);const _0x1d4007={};_0x1d4007[_0x7df349(0x1be)]=_0x3c760f['uuid'];const {failureData:_0x342f29,logs:_0x43e37b}=_0x54ea25[_0x7df349(0x228)](getFailureData,_0x60cd5d[_0x7df349(0x23c)],_0x1d4007);if(_0x342f29&&_0x54ea25[_0x7df349(0x24a)](_0x342f29[_0x7df349(0x1e3)],0x0)){const _0x491c45={};_0x491c45[_0x7df349(0x222)]=[_0x4c6f7a[_0x7df349(0x197)]],_0x491c45[_0x7df349(0x215)]=[],_0x342f29[_0x7df349(0x19e)](_0x491c45);}_0x4c6f7a['failure']=_0x342f29,_0x43e37b&&_0x54ea25[_0x7df349(0x23f)](_0x43e37b[_0x7df349(0x1e3)],0x0)&&await MyReporter[_0x7df349(0x205)](_0x43e37b);}}let _0x49ae5e=_0x54ea25[_0x7df349(0x228)](findNestedKey,_0x60cd5d,_0x54ea25[_0x7df349(0x1f0)]);if(_0x49ae5e&&_0x54ea25[_0x7df349(0x250)](validateFilePath,_0x49ae5e))_0x54ea25['pRrOw'](debug,_0x7df349(0x1ff)+_0x3c760f['uuid']+_0x7df349(0x24b)+_0x49ae5e);else{const _0x3bce80=path[_0x7df349(0x26d)](helper['homedir'](),_0x54ea25[_0x7df349(0x182)]);!fs[_0x7df349(0x231)](_0x3bce80)&&fs['mkdirSync'](_0x3bce80),fs[_0x7df349(0x231)](path[_0x7df349(0x26d)](_0x3bce80,_0x7df349(0x177)+_0x3c760f[_0x7df349(0x21d)]+_0x7df349(0x270)))&&(_0x49ae5e=fs[_0x7df349(0x22e)](path[_0x7df349(0x26d)](_0x3bce80,'trace_'+_0x3c760f['uuid']+_0x7df349(0x270)),_0x54ea25[_0x7df349(0x23b)]),_0x54ea25[_0x7df349(0x248)](debug,_0x7df349(0x1ff)+_0x3c760f[_0x7df349(0x21d)]+_0x7df349(0x24b)+_0x49ae5e));}const _0x55c6ea={};_0x55c6ea['event_type']=_0x50380c,_0x55c6ea['test_run']=_0x4c6f7a;const _0x5e1fe9=_0x55c6ea;_0x49ae5e&&_0x54ea25[_0x7df349(0x224)](_0x49ae5e,'')&&_0x54ea25[_0x7df349(0x19a)](_0x50380c,_0x54ea25['auFtQ'])&&(!_0x5e1fe9[_0x7df349(0x254)]&&(_0x5e1fe9[_0x7df349(0x254)]=[]),_0x49ae5e[_0x7df349(0x1fa)]('\x0a')[_0x7df349(0x1f7)](_0x1d3d24=>{const _0x3ad6bd=_0x7df349;_0x1d3d24&&_0x54ea25[_0x3ad6bd(0x193)](validateFilePath,_0x1d3d24)&&_0x5e1fe9[_0x3ad6bd(0x254)][_0x3ad6bd(0x19e)]({'kind':_0x54ea25[_0x3ad6bd(0x1ee)],'timestamp':new Date()[_0x3ad6bd(0x22c)](),'test_run_uuid':_0x3c760f[_0x3ad6bd(0x21d)],'file_name':path[_0x3ad6bd(0x18f)](_0x1d3d24),'file_size':fs[_0x3ad6bd(0x20e)](_0x1d3d24)[_0x3ad6bd(0x26b)],'attachment_type':_0x54ea25['zYwnw']});})),await SessionHandler[_0x7df349(0x1b1)](_0x5e1fe9);}['getCustomRerunParam'](_0x2417a3){const _0x246446=a41_0x4634ac,_0x31eb0f={};_0x31eb0f[_0x246446(0x188)]=function(_0x401163,_0x5288c6){return _0x401163===_0x5288c6;},_0x31eb0f[_0x246446(0x207)]=function(_0x4e49a3,_0x526290){return _0x4e49a3>_0x526290;},_0x31eb0f[_0x246446(0x18c)]=function(_0x1605a5,_0x51e44a){return _0x1605a5+_0x51e44a;},_0x31eb0f[_0x246446(0x25d)]=function(_0xef0192,_0x5bddd8){return _0xef0192+_0x5bddd8;},_0x31eb0f['fkcHh']=function(_0x348b3c,_0x229d56){return _0x348b3c>_0x229d56;},_0x31eb0f[_0x246446(0x22d)]=function(_0x3fbd74,_0x2a4085){return _0x3fbd74+_0x2a4085;},_0x31eb0f[_0x246446(0x23e)]=function(_0x46d03d,_0xa73185){return _0x46d03d+_0xa73185;};const _0x22d734=_0x31eb0f,_0x132e5e=_0x2417a3[_0x246446(0x1ab)]()[_0x246446(0x1b4)](_0x41714e=>{const _0x452b9f=_0x246446;if(_0x2417a3[_0x452b9f(0x1d5)]&&_0x22d734[_0x452b9f(0x188)](_0x41714e,_0x2417a3[_0x452b9f(0x1d5)][_0x452b9f(0x194)])&&_0x2417a3[_0x452b9f(0x1d5)][_0x452b9f(0x1a7)]&&_0x22d734[_0x452b9f(0x207)](_0x2417a3['parent']['_tags'][_0x452b9f(0x1e3)],0x0))return _0x22d734[_0x452b9f(0x18c)](_0x22d734[_0x452b9f(0x25d)](_0x41714e,'\x20'),_0x2417a3[_0x452b9f(0x1d5)][_0x452b9f(0x1a7)]['join']('\x20'));if(_0x22d734[_0x452b9f(0x188)](_0x41714e,_0x2417a3[_0x452b9f(0x194)])&&_0x2417a3[_0x452b9f(0x1a7)]&&_0x22d734[_0x452b9f(0x261)](_0x2417a3[_0x452b9f(0x1a7)][_0x452b9f(0x1e3)],0x0))return _0x22d734['ippxV'](_0x22d734[_0x452b9f(0x23e)](_0x41714e,'\x20'),_0x2417a3[_0x452b9f(0x1a7)][_0x452b9f(0x26d)]('\x20'));return _0x41714e;})['join']('\x20');return _0x132e5e;}static async[a41_0x4634ac(0x1cf)](_0x1f1132,_0x507e12){const _0x137509=a41_0x4634ac,_0x1605b9={'WCsxs':function(_0x5a7571,_0x3385e0){return _0x5a7571(_0x3385e0);},'slbiA':'CBTSessionCreated'},_0x542038={'uuid':TestDetails[_0x137509(0x18d)](_0x1f1132),'integrations':_0x507e12},_0x1275f7={};_0x1275f7['depth']=null,_0x1605b9['WCsxs'](debug,_0x137509(0x201)+_0x1f1132+',\x20'+util['inspect'](_0x507e12,_0x1275f7));const _0x51b0d1={};_0x51b0d1['event_type']=_0x1605b9['slbiA'],_0x51b0d1[_0x137509(0x185)]=_0x542038,await SessionHandler[_0x137509(0x1b1)](_0x51b0d1);}async[a41_0x4634ac(0x1ac)](){const _0x4fdc06=a41_0x4634ac,_0xb7f109={'PraGX':function(_0x2b463f){return _0x2b463f();}};if(this['_gitConfigured'])return;const _0x247ee6=await _0xb7f109['PraGX'](getGitMetaData);_0x247ee6&&(this[_0x4fdc06(0x22b)]=_0x247ee6['root']),this[_0x4fdc06(0x1f9)]=!![];}[a41_0x4634ac(0x19d)](_0x38565d){const _0x4f1169=a41_0x4634ac,_0x41b00d={};_0x41b00d[_0x4f1169(0x1c5)]=function(_0x34b77,_0x4dddbe){return _0x34b77!==_0x4dddbe;};const _0x425a21=_0x41b00d,_0x4e34c1=[];if(_0x38565d&&_0x38565d[_0x4f1169(0x1d5)]){let _0x5ec117=_0x38565d[_0x4f1169(0x1d5)];while(_0x5ec117&&_0x425a21[_0x4f1169(0x1c5)](_0x5ec117[_0x4f1169(0x194)],'')){_0x4e34c1[_0x4f1169(0x19e)](_0x5ec117[_0x4f1169(0x194)]),_0x5ec117=_0x5ec117['parent'];}}return _0x4e34c1[_0x4f1169(0x239)]()[_0x4f1169(0x208)](0x0,0x2),_0x4e34c1;}[a41_0x4634ac(0x255)](_0x2a9c9f){const _0x3f2d8a=a41_0x4634ac,_0x182822={};_0x182822['ieCpl']=function(_0x37e88c,_0x4e7e0f){return _0x37e88c!==_0x4e7e0f;},_0x182822['OsJds']=_0x3f2d8a(0x236),_0x182822[_0x3f2d8a(0x189)]=function(_0x53d72e,_0x5a1fb3){return _0x53d72e===_0x5a1fb3;},_0x182822[_0x3f2d8a(0x23d)]=_0x3f2d8a(0x190),_0x182822['wTrXd']=_0x3f2d8a(0x1f4),_0x182822[_0x3f2d8a(0x1fd)]=_0x3f2d8a(0x26c),_0x182822['dMrCq']=_0x3f2d8a(0x233);const _0x47304b=_0x182822;if(_0x47304b[_0x3f2d8a(0x25a)](_0x2a9c9f[_0x3f2d8a(0x1c8)],_0x47304b[_0x3f2d8a(0x268)]))return![];if(_0x47304b[_0x3f2d8a(0x189)]([_0x47304b[_0x3f2d8a(0x23d)],_0x47304b[_0x3f2d8a(0x21a)],_0x47304b[_0x3f2d8a(0x1fd)],_0x47304b['dMrCq']][_0x3f2d8a(0x272)](_0x2a9c9f[_0x3f2d8a(0x194)]),-0x1))return![];return!![];}[a41_0x4634ac(0x20a)](_0x12dede,_0x2407a9){const _0x3b1283=a41_0x4634ac,_0x31dd49=_0x2407a9['_bs_hookIdentifier'];if(_0x31dd49)return _0x31dd49;return _0x2407a9[_0x3b1283(0x194)]+_0x3b1283(0x199)+this[_0x3b1283(0x227)](_0x12dede);}[a41_0x4634ac(0x25c)](_0x23676f,_0x115738){const _0x1383c5=a41_0x4634ac,_0x279664={'ocPQG':function(_0x4161e9){return _0x4161e9();}};let _0x4b00db=_0x115738['title']+_0x1383c5(0x199)+this[_0x1383c5(0x227)](_0x23676f);return this[_0x1383c5(0x21e)][_0x4b00db]&&(_0x4b00db=_0x4b00db+_0x1383c5(0x1de)+_0x279664['ocPQG'](uuidv4)),_0x115738['_bs_hookIdentifier']=_0x4b00db,_0x4b00db;}[a41_0x4634ac(0x227)]=_0x55bf4c=>{const _0x37ecdd=a41_0x4634ac,_0x3d952c={};_0x3d952c[_0x37ecdd(0x1cb)]=function(_0x1d7f59,_0x57c334){return _0x1d7f59+_0x57c334;},_0x3d952c['SJstf']=function(_0x1a0135,_0x2728b6){return _0x1a0135+_0x2728b6;};const _0x4b20bc=_0x3d952c;return _0x4b20bc[_0x37ecdd(0x1cb)](_0x4b20bc[_0x37ecdd(0x200)](_0x55bf4c[_0x37ecdd(0x260)],'-'),_0x55bf4c['id']);};['getTestRunIdentifier']=(_0x1c4249,_0x20227a)=>{const _0x4a190e=a41_0x4634ac,_0x47601e={};_0x47601e[_0x4a190e(0x1fc)]=function(_0x19ff40,_0xe2b604){return _0x19ff40+_0xe2b604;},_0x47601e[_0x4a190e(0x17a)]=function(_0x2d6f2d,_0xfa2dbf){return _0x2d6f2d+_0xfa2dbf;};const _0x481910=_0x47601e;return _0x481910[_0x4a190e(0x1fc)](_0x481910[_0x4a190e(0x17a)](this[_0x4a190e(0x227)](_0x1c4249),'-'),_0x20227a);};[a41_0x4634ac(0x203)]=_0x4fca14=>{const _0x8d513=a41_0x4634ac,_0x409510={};_0x409510['WIXHX']=_0x8d513(0x190),_0x409510[_0x8d513(0x1e7)]='BEFORE_EACH',_0x409510['uiTZb']='beforeAll\x20hook',_0x409510[_0x8d513(0x266)]=_0x8d513(0x1b0),_0x409510[_0x8d513(0x26e)]='afterEach\x20hook',_0x409510[_0x8d513(0x229)]=_0x8d513(0x1e6),_0x409510[_0x8d513(0x25b)]=_0x8d513(0x26c),_0x409510[_0x8d513(0x18a)]=_0x8d513(0x1dc),_0x409510['gCSHC']=_0x8d513(0x17d);const _0x1a099c=_0x409510;if(_0x4fca14[_0x8d513(0x1da)](_0x1a099c['WIXHX']))return _0x1a099c[_0x8d513(0x1e7)];else{if(_0x4fca14[_0x8d513(0x1da)](_0x1a099c[_0x8d513(0x251)]))return _0x1a099c[_0x8d513(0x266)];else{if(_0x4fca14[_0x8d513(0x1da)](_0x1a099c[_0x8d513(0x26e)]))return _0x1a099c[_0x8d513(0x229)];else{if(_0x4fca14['startsWith'](_0x1a099c['LGSSH']))return _0x1a099c[_0x8d513(0x18a)];}}}return _0x1a099c[_0x8d513(0x1f6)];};['getScope']=_0x43bb22=>{const _0x48f053=a41_0x4634ac,_0x22ce60={};_0x22ce60['gtbml']=function(_0x2d9863,_0x38f4c2){return _0x2d9863===_0x38f4c2;},_0x22ce60[_0x48f053(0x1c0)]=_0x48f053(0x221);const _0x4c81c9=_0x22ce60;let _0x290289=_0x43bb22[_0x48f053(0x1d5)];return _0x4c81c9['gtbml'](typeof _0x43bb22[_0x48f053(0x1d5)],_0x4c81c9[_0x48f053(0x1c0)])&&(_0x290289=_0x290289[_0x48f053(0x194)]),_0x290289+_0x48f053(0x1de)+_0x43bb22[_0x48f053(0x194)];};['printsToStdio'](){return![];}}function a41_0x452c(_0x4b9015,_0x14e9ae){const _0x4d4232=a41_0x4d42();return a41_0x452c=function(_0x452c33,_0x3ef04b){_0x452c33=_0x452c33-0x177;let _0x4d9028=_0x4d4232[_0x452c33];return _0x4d9028;},a41_0x452c(_0x4b9015,_0x14e9ae);}function a41_0x4d42(){const _0x5dbf3c=['\x20-\x20','tLZgI','logLevel','Toofo','../../../helpers/performance/performance-tester','length','hook_run_uuid','base64','AFTER_EACH','NRlEM','event_type','options','BROWSERSTACK_O11Y_PERF_MEASUREMENT','../../../helpers/test-observability/sessionHandler','swQSG','result','tLzgD','SckwI','IiSzD','performance-report-reporter.json','1200884RHjfwy','fvNNt','beforeAll\x20hook','mtime','gCSHC','forEach','rZAZx','_gitConfigured','split','meta','UiZeu','OaRLB','6503217kKOSNH','Trace\x20file\x20found\x20for\x20test:\x20','SJstf','Sending\x20session\x20details\x20for\x20','XDaHS','getHookType','SAxRj','reportLogs','skipped','AFZGL','splice','PLAYWRIGHT_TRACE_LOGS','getStepIdentifier','test','JLAuE','getScope','statSync','nLQCe','sendHookRunEvent','RLhbs','./pwUtils','err','TEST_SCREENSHOT','expanded','QuAXP','VmUUt','location','shutdown','wTrXd','getInstance','Before\x20Hooks','uuid','_tests','toString','file','object','backtrace','TestRunFinished','qUcLg','doTSy','alnOT','getTestIdentifier','HgRIS','XZctd','smphE','_gitConfigPath','toISOString','ippxV','readFileSync','ZslCf','HhpLJ','existsSync','getCustomRerunParam','afterEach\x20hook','yYTaL','failure_type','hook','TestRunStarted','Test\x20Started\x20with\x20unique\x20id\x20','reverse','hckYx','vpmuw','errors','AsNtT','HfdNK','XAeXK','5376172ifeKNb','failed','../../../helpers/test-observability/utils','error','START_TIME','status','nMLAo','startMonitoring','oGfrv','startedAt','qNNGJ','\x20at\x20','message','rBRMy','HSsuo','RrFfS','bRFEI','uiTZb','BROWSERSTACK_LOG_LEVEL','expectedStatus','logs','needToReportStep','Jhccg','LogCreated','../../../helpers/test-observability/error-handler','stack','ieCpl','LGSSH','setStepIdentifier','rhCJg','RMEKD','TSCyo','_projectId','fkcHh','screenshot','2839509fKcPLZ','KFOzZ','endSession','uFDXl','../../../helpers/testhub/testhubHandler','OsJds','GpaDV','MyReporter','size','afterAll\x20hook','join','oQlID','\x20is\x20triggered\x20for\x20test\x20','.txt','hnUPw','indexOf','onStepEnd','PvyLD','bCvXV','onTestBegin','trace_','uVzdx','After\x20Hooks','HLBUP','getTestRunIdentifier','attachments','unknown','finishedAt','setup','steps','_testHooksMap','bcNAm','javascript','23096664mqkSJb','test_run','retry_of','failure','JZscC','ayuSi','hkvtE','CYzKO','DWDxc','getTestUUID','getTime','basename','beforeEach\x20hook','../../../helpers/test-observability/constants','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','pRrOw','title','Error\x20in\x20calculating\x20performance:\x20','ylpgK','failure_reason','qpNCA','\x20for\x20','urecu','relative','retry','getHierarchy','push','iLUOF','onStepBegin','oYdrS','ZgyiY','2KfEohK','HookRunStarted','Expected\x20to\x20fail,\x20but\x20passed.','onEnd','_tags','../../../helpers/helper','onBegin','duration','titlePath','configureGit','.browserstack','auFtQ','MEtTK','BEFORE_ALL','uploadEventData','format','cwd','map','JbneY','6|4|2|1|0|3|5','BROWSERSTACK_TEST_RUN_ID','hook_run','ueJdj','Test\x20Finished\x20with\x20unique\x20id\x20','KvyRc','startTime','onTestEnd','test_run_uuid','JzAbb','nEtcE','getStepsAndLogs','wuDbp','wdGyR','PLAYWRIGHT','kBLOF','passed','path','category','Hook\x20Started\x20with\x20unique\x20id\x20','niiRL','bKYgQ','\x20is\x20triggered','3507990ajlqGz','sendTestRunEvent','sendSessionDetails','./test-details','nNlYO','utf8','HookRunFinished','FuUga','parent','XJDZY','4476618fVwMJu','env','AFnuC','startsWith','GVuEp','AFTER_ALL','name'];a41_0x4d42=function(){return _0x5dbf3c;};return a41_0x4d42();}module['exports']=o11yClassErrorHandler(MyReporter,[a41_0x4634ac(0x1a9),'endSession',a41_0x4634ac(0x276),a41_0x4634ac(0x1bd),a41_0x4634ac(0x1a0),a41_0x4634ac(0x273),a41_0x4634ac(0x1cf)],a41_0x4634ac(0x26a));
@@ -1 +1 @@
1
- const a42_0x37c5c8=a42_0x1c3a;(function(_0x3d1a8e,_0x5c595c){const _0x48c89a=a42_0x1c3a,_0x58bf91=_0x3d1a8e();while(!![]){try{const _0x14d24b=parseInt(_0x48c89a(0x19c))/0x1+parseInt(_0x48c89a(0x1ab))/0x2*(parseInt(_0x48c89a(0x1c2))/0x3)+parseInt(_0x48c89a(0x1da))/0x4+parseInt(_0x48c89a(0x1ef))/0x5+-parseInt(_0x48c89a(0x1b0))/0x6*(parseInt(_0x48c89a(0x1dc))/0x7)+parseInt(_0x48c89a(0x1bb))/0x8+-parseInt(_0x48c89a(0x1f3))/0x9*(parseInt(_0x48c89a(0x1b2))/0xa);if(_0x14d24b===_0x5c595c)break;else _0x58bf91['push'](_0x58bf91['shift']());}catch(_0x26ed60){_0x58bf91['push'](_0x58bf91['shift']());}}}(a42_0x488f,0xc0654));const fs=require('fs'),path=require(a42_0x37c5c8(0x1a9)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x37c5c8(0x1aa)),{nestedKeyValue}=require(a42_0x37c5c8(0x1e1)),logger=require(a42_0x37c5c8(0x1df))[a42_0x37c5c8(0x1a8)],util=require('util'),helper=require(a42_0x37c5c8(0x1e1));function a42_0x1c3a(_0x4c1810,_0x517f73){const _0x488f91=a42_0x488f();return a42_0x1c3a=function(_0x1c3a80,_0x77bae0){_0x1c3a80=_0x1c3a80-0x199;let _0x504177=_0x488f91[_0x1c3a80];return _0x504177;},a42_0x1c3a(_0x4c1810,_0x517f73);}function a42_0x488f(){const _0x30470c=['shImK','getTestDetails','../../../helpers/logger','getTestIdFromTestInfo','../../../helpers/helper','join','.browserstack','homedir','DryKC','AErqG','pid','values','zmLqZ','getStoreDirName','Error\x20handling\x20trace\x20file\x20paths:\x20','shutdown','getProjectIdFromTestInfo','WIyaQ','4333150TexjbZ','YNgFy','getStoreDirPath','WwnsZ','1773vPxThA','force','appendFileSync','default','jAPzA','uuid','159977nvSlhE','string','split','_traceZipPaths.json','getAccessibilityPlatformValidation','rmSync','XYzgq','toString','MOzGI','env','utf8','taKng','winstonLogger','path','../../../helpers/test-observability/constants','16GQZMYn','filePath','getFilePath','_platformDetails.json','getTraceZipDir','12HcAzTU','addTraceFilePath','95610UEXLOV','forEach','setAccessibilityPlatformValidation','WPWxU','_test','HOFti','lPajA','dirPath','yoJaq','10429216BYFYpL','recursive','traceZipPaths','setTestDetails','QqmMy','error','existsSync','64041BHFXWu','DehGv','CXSgT','format','tests','KaSHR','traceZipDir','hXUvy','getTestUUID','getTraceFilePaths','getTestRunIdFromTestInfo','setup','CotVu','push','Error\x20writing\x20trace\x20file:\x20','writeFileSync','parse','appendToTracePaths','message','stringify','readFileSync','Error\x20reading\x20trace\x20file\x20paths:\x20%s','lmFNA','cwd','2459584qYMMFy','testId','1555267kjmmHg'];a42_0x488f=function(){return _0x30470c;};return a42_0x488f();}class TestDetails{static [a42_0x37c5c8(0x1c6)]={};static ['dirPath']=path[a42_0x37c5c8(0x1e2)](process['cwd'](),TestDetails[a42_0x37c5c8(0x1ea)]());static [a42_0x37c5c8(0x1c8)]=path[a42_0x37c5c8(0x1e2)](TestDetails['dirPath'],a42_0x37c5c8(0x1bd));static[a42_0x37c5c8(0x1cd)](){const _0x2f9266=a42_0x37c5c8,_0x4bc794={};_0x4bc794[_0x2f9266(0x1ee)]='2|1|4|3|0',_0x4bc794[_0x2f9266(0x1a2)]=_0x2f9266(0x1bd);const _0x525054=_0x4bc794,_0x5d3f50=_0x525054[_0x2f9266(0x1ee)][_0x2f9266(0x19e)]('|');let _0x598986=0x0;while(!![]){switch(_0x5d3f50[_0x598986++]){case'0':const _0x87edf2={};_0x87edf2[_0x2f9266(0x1bc)]=!![],fs['mkdirSync'](this[_0x2f9266(0x1c8)],_0x87edf2);continue;case'1':this[_0x2f9266(0x1c8)]=path['join'](this['dirPath'],_0x525054['XYzgq']);continue;case'2':this[_0x2f9266(0x1b9)]=path[_0x2f9266(0x1e2)](process[_0x2f9266(0x1d9)](),TestDetails[_0x2f9266(0x1ea)]());continue;case'3':const _0xc14eba={};_0xc14eba[_0x2f9266(0x1bc)]=!![],fs['mkdirSync'](this['dirPath'],_0xc14eba);continue;case'4':this[_0x2f9266(0x1ec)]();continue;}break;}}static[a42_0x37c5c8(0x1ea)](){const _0x4fd7a0=a42_0x37c5c8,_0x2be354={};_0x2be354[_0x4fd7a0(0x1a4)]=function(_0x58db30,_0xbaaa86){return _0x58db30+_0xbaaa86;},_0x2be354[_0x4fd7a0(0x1c3)]=function(_0x2e0a2b,_0x5a61bc){return _0x2e0a2b+_0x5a61bc;};const _0x47f5d8=_0x2be354;return _0x47f5d8[_0x4fd7a0(0x1a4)](_0x47f5d8['DehGv'](TEMP_STORE_DIR_NAME,'-'),process[_0x4fd7a0(0x1a5)]['BS_TESTOPS_BUILD_HASHED_ID']);}static[a42_0x37c5c8(0x1f1)](){const _0x57d0eb=a42_0x37c5c8,_0x4bd55d={};_0x4bd55d[_0x57d0eb(0x1b8)]=function(_0xa7b4e7,_0x57e3b0){return _0xa7b4e7+_0x57e3b0;},_0x4bd55d[_0x57d0eb(0x1b5)]=_0x57d0eb(0x199);const _0x194d8c=_0x4bd55d;return path[_0x57d0eb(0x1e2)](process[_0x57d0eb(0x1d9)](),_0x194d8c[_0x57d0eb(0x1b8)](_0x194d8c[_0x57d0eb(0x1b8)](TEMP_STORE_DIR_NAME,'-'),process['env']['BS_TESTOPS_BUILD_HASHED_ID']||_0x194d8c[_0x57d0eb(0x1b5)]));}static['getTraceZipDir'](){const _0x4e830a=a42_0x37c5c8,_0x1fdcf7={};_0x1fdcf7['GEqND']=_0x4e830a(0x1bd);const _0x1f0023=_0x1fdcf7;return path[_0x4e830a(0x1e2)](this[_0x4e830a(0x1f1)](),_0x1f0023['GEqND']);}static[a42_0x37c5c8(0x1ad)](_0x593b53){const _0x3a4b4a=a42_0x37c5c8,_0x1f1b57={};_0x1f1b57[_0x3a4b4a(0x19a)]=function(_0x38357d,_0x52c312){return _0x38357d+_0x52c312;},_0x1f1b57[_0x3a4b4a(0x1e5)]='.json';const _0x2e0746=_0x1f1b57;return path[_0x3a4b4a(0x1e2)](this[_0x3a4b4a(0x1b9)],_0x2e0746[_0x3a4b4a(0x19a)](_0x593b53,_0x2e0746[_0x3a4b4a(0x1e5)]));}static[a42_0x37c5c8(0x1cc)](_0x16d973){const _0x20c347=a42_0x37c5c8,_0x585c8d={};_0x585c8d[_0x20c347(0x1e9)]=function(_0x4a37fa,_0x424805){return _0x4a37fa+_0x424805;},_0x585c8d['YNgFy']=function(_0x35bcb0,_0x50468c){return _0x35bcb0+_0x50468c;};const _0x317c17=_0x585c8d;return _0x317c17[_0x20c347(0x1e9)](_0x317c17[_0x20c347(0x1e9)](_0x317c17[_0x20c347(0x1f0)](_0x317c17[_0x20c347(0x1f0)](this[_0x20c347(0x1ed)](_0x16d973),'-'),this[_0x20c347(0x1e0)](_0x16d973)),'-'),_0x16d973['retry']);}static[a42_0x37c5c8(0x1ed)](_0x189a60){const _0x1ff05d=a42_0x37c5c8,_0x516656={'lmFNA':function(_0x318fb8,_0x2e1800,_0x4571ee){return _0x318fb8(_0x2e1800,_0x4571ee);},'uliTv':_0x1ff05d(0x1b6),'hXUvy':'_projectId','shImK':function(_0x18c3e7,_0x170c3b,_0x3a1497){return _0x18c3e7(_0x170c3b,_0x3a1497);},'CotVu':'project','AErqG':'__projectId'};return _0x516656[_0x1ff05d(0x1d8)](nestedKeyValue,_0x189a60,[_0x516656['uliTv'],_0x516656[_0x1ff05d(0x1c9)]])||_0x516656[_0x1ff05d(0x1dd)](nestedKeyValue,_0x189a60,[_0x516656[_0x1ff05d(0x1ce)],_0x516656[_0x1ff05d(0x1e6)]]);}static[a42_0x37c5c8(0x1e0)](_0x358aeb){const _0x1063e3=a42_0x37c5c8,_0x28d206={'qyNuU':function(_0x11d7f4,_0x396dbb,_0x335739){return _0x11d7f4(_0x396dbb,_0x335739);},'QqmMy':_0x1063e3(0x1b6)};return _0x28d206['qyNuU'](nestedKeyValue,_0x358aeb,[_0x28d206[_0x1063e3(0x1bf)],'id'])||_0x358aeb[_0x1063e3(0x1db)];}static[a42_0x37c5c8(0x1ca)](_0x93cb1e){const _0x42e225=a42_0x37c5c8,_0x26db83={'taKng':function(_0x200f23,_0x6d6856){return _0x200f23===_0x6d6856;},'HOFti':_0x42e225(0x19d),'KaSHR':function(_0x3cb982){return _0x3cb982();}};if(this[_0x42e225(0x1c6)][_0x93cb1e]&&_0x26db83[_0x42e225(0x1a7)](typeof this[_0x42e225(0x1c6)][_0x93cb1e][_0x42e225(0x19b)],_0x26db83[_0x42e225(0x1b7)]))return this[_0x42e225(0x1c6)][_0x93cb1e][_0x42e225(0x19b)];const _0x397f27=this[_0x42e225(0x1ad)](_0x93cb1e);if(_0x397f27&&fs[_0x42e225(0x1c1)](_0x397f27)){const _0x1762e1=JSON[_0x42e225(0x1d2)](fs['readFileSync'](_0x397f27)['toString']());return this['tests'][_0x93cb1e]=_0x1762e1,this[_0x42e225(0x1c6)][_0x93cb1e][_0x42e225(0x19b)];}return this[_0x42e225(0x1c6)][_0x93cb1e]={'uuid':_0x26db83[_0x42e225(0x1c7)](uuidv4)},fs[_0x42e225(0x1d1)](_0x397f27,JSON[_0x42e225(0x1d5)](this[_0x42e225(0x1c6)][_0x93cb1e])),this[_0x42e225(0x1c6)][_0x93cb1e]['uuid'];}static[a42_0x37c5c8(0x1a0)](_0x4ca35e){const _0x4572b5=a42_0x37c5c8,_0x3fc097=path[_0x4572b5(0x1e2)](this[_0x4572b5(0x1b9)],_0x4ca35e+_0x4572b5(0x1ae));if(_0x3fc097&&fs[_0x4572b5(0x1c1)](_0x3fc097))return fs[_0x4572b5(0x1d6)](_0x3fc097)[_0x4572b5(0x1a3)]();}static[a42_0x37c5c8(0x1b4)](_0xb7e5e7,_0xb6497c){const _0xefa9aa=a42_0x37c5c8,_0x1ca937=path['join'](this[_0xefa9aa(0x1b9)],_0xb6497c+_0xefa9aa(0x1ae));fs[_0xefa9aa(0x1d1)](_0x1ca937,_0xb7e5e7[_0xefa9aa(0x1a3)]());}static['shutdown'](){const _0x37278d=a42_0x37c5c8,_0xeeb62d={};_0xeeb62d[_0x37278d(0x1bc)]=!![],_0xeeb62d[_0x37278d(0x1f4)]=!![],fs[_0x37278d(0x1a1)](this[_0x37278d(0x1b9)],_0xeeb62d);}static[a42_0x37c5c8(0x1de)](_0x3d011f){const _0x55c002=a42_0x37c5c8;if(this[_0x55c002(0x1c6)][_0x3d011f])return this['tests'][_0x3d011f];const _0x3feaaa=this[_0x55c002(0x1ad)](_0x3d011f);if(_0x3feaaa&&fs[_0x55c002(0x1c1)](_0x3feaaa)){const _0x38eb5e=JSON[_0x55c002(0x1d2)](fs[_0x55c002(0x1d6)](_0x3feaaa)[_0x55c002(0x1a3)]());return this[_0x55c002(0x1c6)][_0x3d011f]=_0x38eb5e,_0x38eb5e;}return{};}static[a42_0x37c5c8(0x1be)](_0x38ed3e,_0x163162){const _0x2247a5=a42_0x37c5c8,_0x1e3fd0=this[_0x2247a5(0x1ad)](_0x38ed3e);if(_0x1e3fd0&&fs[_0x2247a5(0x1c1)](_0x1e3fd0)){const _0x635a8=JSON[_0x2247a5(0x1d2)](fs['readFileSync'](_0x1e3fd0)[_0x2247a5(0x1a3)]()),_0x51b7fd={..._0x635a8,..._0x163162};this['tests'][_0x38ed3e]=_0x51b7fd;}else this[_0x2247a5(0x1c6)][_0x38ed3e]=_0x163162;fs[_0x2247a5(0x1d1)](_0x1e3fd0,this[_0x2247a5(0x1c6)][_0x38ed3e]);}static[a42_0x37c5c8(0x1b1)](_0x5c1af1){const _0x24881d=a42_0x37c5c8,_0x3fa60a={};_0x3fa60a[_0x24881d(0x1ba)]=_0x24881d(0x1eb);const _0x461927=_0x3fa60a;try{const _0x49e6c0=process[_0x24881d(0x1e7)],_0xf0e090=path[_0x24881d(0x1e2)](TestDetails[_0x24881d(0x1af)](),_0x49e6c0+_0x24881d(0x19f));let _0x3f60bb=[];_0xf0e090&&fs[_0x24881d(0x1c1)](_0xf0e090)&&(_0x3f60bb=JSON[_0x24881d(0x1d2)](fs['readFileSync'](_0xf0e090)[_0x24881d(0x1a3)]())),!_0x3f60bb['some'](_0xbd2029=>_0xbd2029['filePath']===_0x5c1af1[_0x24881d(0x1ac)])&&(_0x3f60bb['push'](_0x5c1af1),fs[_0x24881d(0x1d1)](_0xf0e090,JSON['stringify'](_0x3f60bb)));}catch(_0x40da15){logger[_0x24881d(0x1c0)](_0x461927[_0x24881d(0x1ba)],_0x40da15);}}static[a42_0x37c5c8(0x1cb)](){const _0x5a1b20=a42_0x37c5c8,_0xd9ae60={};_0xd9ae60['LCboy']='_traceZipPaths.json',_0xd9ae60['MXELL']=_0x5a1b20(0x1d7);const _0x3c8efd=_0xd9ae60,_0x4a3418=[];try{const _0x2ad251=TestDetails[_0x5a1b20(0x1af)]();if(_0x2ad251&&!fs[_0x5a1b20(0x1c1)](_0x2ad251))return _0x4a3418;const _0x59c6a8=fs['readdirSync'](_0x2ad251);_0x59c6a8['forEach'](_0x55128d=>{const _0x25d4ed=_0x5a1b20;if(_0x55128d&&_0x55128d['endsWith'](_0x3c8efd['LCboy'])){const _0x10572c=JSON[_0x25d4ed(0x1d2)](fs[_0x25d4ed(0x1d6)](path['join'](_0x2ad251,_0x55128d))[_0x25d4ed(0x1a3)]());_0x4a3418[_0x25d4ed(0x1cf)](..._0x10572c);}});}catch(_0x4daafd){logger[_0x5a1b20(0x1c0)](util[_0x5a1b20(0x1c5)](_0x3c8efd['MXELL'],_0x4daafd));}const _0xd6f333={};return _0x4a3418[_0x5a1b20(0x1b3)](_0x1ebd67=>{_0xd6f333[_0x1ebd67['filePath']]=_0x1ebd67;}),Object[_0x5a1b20(0x1e8)](_0xd6f333);}static[a42_0x37c5c8(0x1d3)](_0x20b042,_0x3cc997){const _0x268e6b=a42_0x37c5c8,_0x1376c7={};_0x1376c7[_0x268e6b(0x1c4)]=_0x268e6b(0x1e3),_0x1376c7['WwnsZ']=_0x268e6b(0x1a6);const _0xd70367=_0x1376c7;try{const _0x4926d8=path['join'](helper[_0x268e6b(0x1e4)](),_0xd70367['CXSgT']);if(!fs[_0x268e6b(0x1c1)](_0x4926d8)){const _0x164d3b={};_0x164d3b[_0x268e6b(0x1bc)]=!![],fs['mkdirSync'](_0x4926d8,_0x164d3b);}fs[_0x268e6b(0x1f5)](path['join'](_0x4926d8,'trace_'+_0x3cc997+'.txt'),_0x20b042+'\x0a',_0xd70367[_0x268e6b(0x1f2)]);}catch(_0x2e362b){console['error'](_0x268e6b(0x1d0)+_0x2e362b[_0x268e6b(0x1d4)]);}}}module['exports']=TestDetails;
1
+ function a42_0x2fcb(){const _0x3db3c6=['getStoreDirName','bBbwO','setTestDetails','../../../helpers/helper','564FCRkJi','_test','traceZipPaths','dirPath','BS_TESTOPS_BUILD_HASHED_ID','setup','szLMe','existsSync','BDywf','join','91121VnWIrj','296714Tzhyoe','Error\x20reading\x20trace\x20file\x20paths:\x20%s','ThcfW','608646OkjhcA','MKkKU','homedir','string','PWXVb','__projectId','error','addTraceFilePath','cVLwy','4397016XdYUeU','_traceZipPaths.json','CGzeA','uuid','../../../helpers/logger','pMQzr','getTestUUID','path','16429lAnvXi','Ewykq','rmSync','traceZipDir','retry','mkdirSync','getTraceZipDir','fHyEb','getTestIdFromTestInfo','4|3|0|2|1','appendToTracePaths','stringify','pid','appendFileSync','getProjectIdFromTestInfo','winstonLogger','cVUhJ','toString','_projectId','shutdown','getFilePath','writeFileSync','759650CwmoLf','.browserstack','../../../helpers/test-observability/constants','sIRao','split','Error\x20writing\x20trace\x20file:\x20','675264HdVAjZ','zFmkg','tests','kdSDV','yWlBo','pzVwK','LsXRj','jAQpV','testId','getAccessibilityPlatformValidation','format','env','setAccessibilityPlatformValidation','getStoreDirPath','.json','filePath','cwd','readFileSync','pxJxv','message','forEach','_platformDetails.json','lRHKi','recursive','getTraceFilePaths','some','parse','push','EviQx','DCKSx','getTestDetails','getTestRunIdFromTestInfo','UIOlR'];a42_0x2fcb=function(){return _0x3db3c6;};return a42_0x2fcb();}const a42_0x597fd4=a42_0x327a;(function(_0x33ce93,_0x417b33){const _0x21a770=a42_0x327a,_0x297b3a=_0x33ce93();while(!![]){try{const _0x5c0f89=parseInt(_0x21a770(0x17d))/0x1+parseInt(_0x21a770(0x17e))/0x2+parseInt(_0x21a770(0x181))/0x3+parseInt(_0x21a770(0x14e))/0x4+-parseInt(_0x21a770(0x148))/0x5+parseInt(_0x21a770(0x173))/0x6*(parseInt(_0x21a770(0x192))/0x7)+-parseInt(_0x21a770(0x18a))/0x8;if(_0x5c0f89===_0x417b33)break;else _0x297b3a['push'](_0x297b3a['shift']());}catch(_0x11966b){_0x297b3a['push'](_0x297b3a['shift']());}}}(a42_0x2fcb,0x1fcbd));const fs=require('fs'),path=require(a42_0x597fd4(0x191)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x597fd4(0x14a)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a42_0x597fd4(0x18e))[a42_0x597fd4(0x141)],util=require('util'),helper=require(a42_0x597fd4(0x172));function a42_0x327a(_0x5b17e6,_0x60f19a){const _0x2fcb1d=a42_0x2fcb();return a42_0x327a=function(_0x327af4,_0x37b8ac){_0x327af4=_0x327af4-0x13a;let _0x253bd5=_0x2fcb1d[_0x327af4];return _0x253bd5;},a42_0x327a(_0x5b17e6,_0x60f19a);}class TestDetails{static [a42_0x597fd4(0x150)]={};static [a42_0x597fd4(0x176)]=path[a42_0x597fd4(0x17c)](process[a42_0x597fd4(0x15e)](),TestDetails[a42_0x597fd4(0x16f)]());static [a42_0x597fd4(0x195)]=path[a42_0x597fd4(0x17c)](TestDetails[a42_0x597fd4(0x176)],a42_0x597fd4(0x175));static[a42_0x597fd4(0x178)](){const _0x5e2aa9=a42_0x597fd4,_0x2947ef={};_0x2947ef[_0x5e2aa9(0x182)]=_0x5e2aa9(0x13b),_0x2947ef[_0x5e2aa9(0x154)]=_0x5e2aa9(0x175);const _0x21f4fe=_0x2947ef,_0xe0b8d5=_0x21f4fe[_0x5e2aa9(0x182)][_0x5e2aa9(0x14c)]('|');let _0x513092=0x0;while(!![]){switch(_0xe0b8d5[_0x513092++]){case'0':this[_0x5e2aa9(0x145)]();continue;case'1':const _0x3244f8={};_0x3244f8[_0x5e2aa9(0x165)]=!![],fs[_0x5e2aa9(0x197)](this[_0x5e2aa9(0x195)],_0x3244f8);continue;case'2':const _0x44b1d9={};_0x44b1d9[_0x5e2aa9(0x165)]=!![],fs[_0x5e2aa9(0x197)](this[_0x5e2aa9(0x176)],_0x44b1d9);continue;case'3':this[_0x5e2aa9(0x195)]=path[_0x5e2aa9(0x17c)](this['dirPath'],_0x21f4fe[_0x5e2aa9(0x154)]);continue;case'4':this[_0x5e2aa9(0x176)]=path['join'](process[_0x5e2aa9(0x15e)](),TestDetails[_0x5e2aa9(0x16f)]());continue;}break;}}static[a42_0x597fd4(0x16f)](){const _0x3052a4=a42_0x597fd4,_0x1b17fa={};_0x1b17fa['pxJxv']=function(_0x20b7e8,_0x27e02d){return _0x20b7e8+_0x27e02d;};const _0x211b07=_0x1b17fa;return _0x211b07[_0x3052a4(0x160)](_0x211b07[_0x3052a4(0x160)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x3052a4(0x177)]);}static[a42_0x597fd4(0x15b)](){const _0x1f9a24=a42_0x597fd4,_0x510162={};_0x510162['EviQx']=function(_0x172ddc,_0xd1b2f7){return _0x172ddc+_0xd1b2f7;},_0x510162[_0x1f9a24(0x164)]='default';const _0x2f8a05=_0x510162;return path['join'](process[_0x1f9a24(0x15e)](),_0x2f8a05['EviQx'](_0x2f8a05[_0x1f9a24(0x16a)](TEMP_STORE_DIR_NAME,'-'),process[_0x1f9a24(0x159)][_0x1f9a24(0x177)]||_0x2f8a05[_0x1f9a24(0x164)]));}static[a42_0x597fd4(0x198)](){const _0x77740c=a42_0x597fd4,_0x1aafa={};_0x1aafa[_0x77740c(0x155)]=_0x77740c(0x175);const _0xb0a3bd=_0x1aafa;return path['join'](this['getStoreDirPath'](),_0xb0a3bd[_0x77740c(0x155)]);}static[a42_0x597fd4(0x146)](_0x1b696e){const _0x238aa5=a42_0x597fd4,_0x434412={};_0x434412[_0x238aa5(0x16b)]=function(_0x4a481e,_0x1c675d){return _0x4a481e+_0x1c675d;},_0x434412[_0x238aa5(0x142)]=_0x238aa5(0x15c);const _0x32bf49=_0x434412;return path[_0x238aa5(0x17c)](this['dirPath'],_0x32bf49[_0x238aa5(0x16b)](_0x1b696e,_0x32bf49['cVUhJ']));}static[a42_0x597fd4(0x16d)](_0x46b4ea){const _0x2bb4fa=a42_0x597fd4,_0x439145={};_0x439145['kdSDV']=function(_0x3d0887,_0x42d7e9){return _0x3d0887+_0x42d7e9;},_0x439145[_0x2bb4fa(0x153)]=function(_0x404e9f,_0x4be3b6){return _0x404e9f+_0x4be3b6;};const _0x344816=_0x439145;return _0x344816['kdSDV'](_0x344816[_0x2bb4fa(0x151)](_0x344816[_0x2bb4fa(0x151)](_0x344816[_0x2bb4fa(0x153)](this['getProjectIdFromTestInfo'](_0x46b4ea),'-'),this[_0x2bb4fa(0x13a)](_0x46b4ea)),'-'),_0x46b4ea[_0x2bb4fa(0x196)]);}static[a42_0x597fd4(0x140)](_0x3ce7ea){const _0x20a32a=a42_0x597fd4,_0x30cc3b={'ByEdq':function(_0x2a76b9,_0x12df37,_0x54ae26){return _0x2a76b9(_0x12df37,_0x54ae26);},'fHyEb':_0x20a32a(0x174),'pMQzr':_0x20a32a(0x144),'cVLwy':function(_0x211424,_0x4a9353,_0x3aac59){return _0x211424(_0x4a9353,_0x3aac59);},'HfNcP':'project','ThcfW':_0x20a32a(0x186)};return _0x30cc3b['ByEdq'](nestedKeyValue,_0x3ce7ea,[_0x30cc3b[_0x20a32a(0x199)],_0x30cc3b[_0x20a32a(0x18f)]])||_0x30cc3b[_0x20a32a(0x189)](nestedKeyValue,_0x3ce7ea,[_0x30cc3b['HfNcP'],_0x30cc3b[_0x20a32a(0x180)]]);}static['getTestIdFromTestInfo'](_0x34b1fd){const _0x29c9ab=a42_0x597fd4,_0x24b1ce={'zFmkg':function(_0x341448,_0x5d2733,_0xd6e24c){return _0x341448(_0x5d2733,_0xd6e24c);},'CGzeA':_0x29c9ab(0x174)};return _0x24b1ce[_0x29c9ab(0x14f)](nestedKeyValue,_0x34b1fd,[_0x24b1ce[_0x29c9ab(0x18c)],'id'])||_0x34b1fd[_0x29c9ab(0x156)];}static[a42_0x597fd4(0x190)](_0x50be52){const _0x23acd7=a42_0x597fd4,_0xadf9e7={'bBbwO':function(_0x36710a,_0x43fc2c){return _0x36710a===_0x43fc2c;},'UIOlR':_0x23acd7(0x184),'sIRao':function(_0x2e87d8){return _0x2e87d8();}};if(this[_0x23acd7(0x150)][_0x50be52]&&_0xadf9e7[_0x23acd7(0x170)](typeof this[_0x23acd7(0x150)][_0x50be52][_0x23acd7(0x18d)],_0xadf9e7[_0x23acd7(0x16e)]))return this[_0x23acd7(0x150)][_0x50be52][_0x23acd7(0x18d)];const _0x12a9c8=this['getFilePath'](_0x50be52);if(_0x12a9c8&&fs[_0x23acd7(0x17a)](_0x12a9c8)){const _0x44c54=JSON[_0x23acd7(0x168)](fs[_0x23acd7(0x15f)](_0x12a9c8)[_0x23acd7(0x143)]());return this[_0x23acd7(0x150)][_0x50be52]=_0x44c54,this['tests'][_0x50be52]['uuid'];}return this[_0x23acd7(0x150)][_0x50be52]={'uuid':_0xadf9e7[_0x23acd7(0x14b)](uuidv4)},fs[_0x23acd7(0x147)](_0x12a9c8,JSON[_0x23acd7(0x13d)](this[_0x23acd7(0x150)][_0x50be52])),this['tests'][_0x50be52][_0x23acd7(0x18d)];}static[a42_0x597fd4(0x157)](_0x153382){const _0x34b337=a42_0x597fd4,_0x1ebb7f=path[_0x34b337(0x17c)](this['dirPath'],_0x153382+'_platformDetails.json');if(_0x1ebb7f&&fs[_0x34b337(0x17a)](_0x1ebb7f))return fs[_0x34b337(0x15f)](_0x1ebb7f)[_0x34b337(0x143)]();}static[a42_0x597fd4(0x15a)](_0x39f824,_0x3fe260){const _0x584246=a42_0x597fd4,_0xf4a07d=path[_0x584246(0x17c)](this[_0x584246(0x176)],_0x3fe260+_0x584246(0x163));fs['writeFileSync'](_0xf4a07d,_0x39f824['toString']());}static[a42_0x597fd4(0x145)](){const _0x59f111=a42_0x597fd4,_0x1c9bbe={};_0x1c9bbe['recursive']=!![],_0x1c9bbe['force']=!![],fs[_0x59f111(0x194)](this[_0x59f111(0x176)],_0x1c9bbe);}static[a42_0x597fd4(0x16c)](_0x315e9f){const _0x1e0d6c=a42_0x597fd4;if(this['tests'][_0x315e9f])return this[_0x1e0d6c(0x150)][_0x315e9f];const _0x1f36e0=this['getFilePath'](_0x315e9f);if(_0x1f36e0&&fs[_0x1e0d6c(0x17a)](_0x1f36e0)){const _0x314ef4=JSON[_0x1e0d6c(0x168)](fs[_0x1e0d6c(0x15f)](_0x1f36e0)[_0x1e0d6c(0x143)]());return this[_0x1e0d6c(0x150)][_0x315e9f]=_0x314ef4,_0x314ef4;}return{};}static[a42_0x597fd4(0x171)](_0x2ab456,_0x192208){const _0x3c4a7f=a42_0x597fd4,_0x4261ae=this['getFilePath'](_0x2ab456);if(_0x4261ae&&fs[_0x3c4a7f(0x17a)](_0x4261ae)){const _0x1cd81b=JSON[_0x3c4a7f(0x168)](fs['readFileSync'](_0x4261ae)['toString']()),_0x423246={..._0x1cd81b,..._0x192208};this[_0x3c4a7f(0x150)][_0x2ab456]=_0x423246;}else this[_0x3c4a7f(0x150)][_0x2ab456]=_0x192208;fs[_0x3c4a7f(0x147)](_0x4261ae,this[_0x3c4a7f(0x150)][_0x2ab456]);}static[a42_0x597fd4(0x188)](_0x144103){const _0x551451=a42_0x597fd4,_0xe85d17={};_0xe85d17['Ewykq']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x35316f=_0xe85d17;try{const _0x2ffa2e=process[_0x551451(0x13e)],_0x2511fd=path[_0x551451(0x17c)](TestDetails['getTraceZipDir'](),_0x2ffa2e+_0x551451(0x18b));let _0x1db522=[];_0x2511fd&&fs[_0x551451(0x17a)](_0x2511fd)&&(_0x1db522=JSON[_0x551451(0x168)](fs['readFileSync'](_0x2511fd)[_0x551451(0x143)]())),!_0x1db522[_0x551451(0x167)](_0x474fa9=>_0x474fa9[_0x551451(0x15d)]===_0x144103[_0x551451(0x15d)])&&(_0x1db522[_0x551451(0x169)](_0x144103),fs['writeFileSync'](_0x2511fd,JSON[_0x551451(0x13d)](_0x1db522)));}catch(_0x25d29b){logger[_0x551451(0x187)](_0x35316f[_0x551451(0x193)],_0x25d29b);}}static[a42_0x597fd4(0x166)](){const _0x12d386=a42_0x597fd4,_0x7e5519={};_0x7e5519[_0x12d386(0x185)]=_0x12d386(0x18b),_0x7e5519[_0x12d386(0x17b)]=_0x12d386(0x17f);const _0x9355fb=_0x7e5519,_0xd183e6=[];try{const _0x529529=TestDetails[_0x12d386(0x198)]();if(_0x529529&&!fs[_0x12d386(0x17a)](_0x529529))return _0xd183e6;const _0x233042=fs['readdirSync'](_0x529529);_0x233042['forEach'](_0x199b97=>{const _0x220520=_0x12d386;if(_0x199b97&&_0x199b97['endsWith'](_0x9355fb[_0x220520(0x185)])){const _0x13ed5f=JSON[_0x220520(0x168)](fs['readFileSync'](path[_0x220520(0x17c)](_0x529529,_0x199b97))[_0x220520(0x143)]());_0xd183e6[_0x220520(0x169)](..._0x13ed5f);}});}catch(_0x460a44){logger[_0x12d386(0x187)](util[_0x12d386(0x158)](_0x9355fb[_0x12d386(0x17b)],_0x460a44));}const _0x4a9977={};return _0xd183e6[_0x12d386(0x162)](_0x5de22b=>{const _0x338f5b=_0x12d386;_0x4a9977[_0x5de22b[_0x338f5b(0x15d)]]=_0x5de22b;}),Object['values'](_0x4a9977);}static[a42_0x597fd4(0x13c)](_0x30c432,_0x4d3714){const _0x16d742=a42_0x597fd4,_0x5ec5eb={};_0x5ec5eb[_0x16d742(0x152)]=_0x16d742(0x149),_0x5ec5eb[_0x16d742(0x179)]='utf8';const _0xf7be03=_0x5ec5eb;try{const _0x417c6e=path[_0x16d742(0x17c)](helper[_0x16d742(0x183)](),_0xf7be03[_0x16d742(0x152)]);if(!fs[_0x16d742(0x17a)](_0x417c6e)){const _0x55c354={};_0x55c354[_0x16d742(0x165)]=!![],fs['mkdirSync'](_0x417c6e,_0x55c354);}fs[_0x16d742(0x13f)](path[_0x16d742(0x17c)](_0x417c6e,'trace_'+_0x4d3714+'.txt'),_0x30c432+'\x0a',_0xf7be03[_0x16d742(0x179)]);}catch(_0x3d33be){console[_0x16d742(0x187)](_0x16d742(0x14d)+_0x3d33be[_0x16d742(0x161)]);}}}module['exports']=TestDetails;
@@ -1 +1 @@
1
- function a43_0x2488(_0x55a981,_0x105633){const _0x3d1413=a43_0x3d14();return a43_0x2488=function(_0x24887c,_0x3a83c7){_0x24887c=_0x24887c-0x191;let _0x3dc135=_0x3d1413[_0x24887c];return _0x3dc135;},a43_0x2488(_0x55a981,_0x105633);}function a43_0x3d14(){const _0x38f9fd=['Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','prototype','iCLfQ','browser','CRBcq','lfNQV','fYkLK','join','fromEntries','INWab','CcmYK','4393158wpFHck','4518272FnWRvf','RplwD','CRConnection','browserName','sessionError','JNJcH','KalLr','PRVDU','project','patch','YsJmX','debug','toString','oSHID','apply','winstonLogger','ksJiz','XpqhC','SobrV','capabilities','Not\x20able\x20to\x20import\x20crConnection','safari','KPJou','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','aGgbI','Hpwip','caps','query','entries','../../helpers/helper','bstackPerformA11yScan','parse','platformVersion','_defaultConnectOptions','mZgfI','Tzimu','Dboge','MSEOW','local_grid','performScan','platform','GKmeM','356097XJeTqz','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','crConnection.js','JIgOl','edge','method','Failed\x20to\x20perform\x20scan\x20','path','njgAN','tYSSK','_onMessage','../../helpers/accessibility-automation/helper','DlOKn','_name','automate','currentTest','version','bpfWK','server','rgwfy','lib','channel','PphJn','XKWnr','titlePath','product','Performing\x20scan\x20for\x20','4438332SyXVGk','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Error\x20in\x20finding\x20platform\x20details\x20','cloudProvider','playwright-','VzShj','UTfMg','6683080kaFxzk','kWkhy','rJEUl','sessionId','YwMCu','gXWuz','Setting\x20session\x20id\x20received\x20from\x20BS\x20','bsParams','Error\x20in\x20importing\x20connection\x20','patchConnection','2361skPHJL','assign','../../bin/playwright/accessibility-helper','UIWgn','__driver','connectOptions','mugom','model','./accessibility-helper','OypqT','browser_version','qHlsJ','1046HgIeKQ','maiHW','1172619MgLJQW','browserstack.com','browserstack-ats.com','nTddL','_connection','sendMessageToServer','platformDetails','wKdMu','exports','testInfo','cEpTJ','WfHbn','function','use','LCchn','_browserType','ocaUz','CQntB','yRoZV','FziRW','toLowerCase','BROWSERSTACK_TEST_OBSERVABILITY','gFHzR','accessibilityPlatform','vQvof','AgjWY','cbfTn','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','bsSessionId','eZnrF','../../helpers/logger','currentSessionDetails','params','browserstack','setupBrowserDetails','wsEndpoint','Device\x20Model\x20is\x20not\x20available','Connection','__workerDetails','unADn','../../helpers/test-observability/utils','patchCRConnection','Not\x20able\x20to\x20import\x20Connection','platform_version','WCzex','includes','LgXgj','sVcYN','url','GYWGn','vrZcu','isRemote','platformName','qlEZR','defineProperty','bStackParams','format','env','zAhfM','chromium','chrome','../../helpers/accessibility-automation/scripts','dOpaf'];a43_0x3d14=function(){return _0x38f9fd;};return a43_0x3d14();}const a43_0x419ce1=a43_0x2488;(function(_0x9608cd,_0x55cdeb){const _0x1d7bbb=a43_0x2488,_0x24e9ff=_0x9608cd();while(!![]){try{const _0x1c7cb4=parseInt(_0x1d7bbb(0x194))/0x1*(parseInt(_0x1d7bbb(0x1a0))/0x2)+-parseInt(_0x1d7bbb(0x1a2))/0x3+parseInt(_0x1d7bbb(0x232))/0x4+-parseInt(_0x1d7bbb(0x239))/0x5+parseInt(_0x1d7bbb(0x1ec))/0x6+-parseInt(_0x1d7bbb(0x217))/0x7+-parseInt(_0x1d7bbb(0x1ed))/0x8;if(_0x1c7cb4===_0x55cdeb)break;else _0x24e9ff['push'](_0x24e9ff['shift']());}catch(_0x51a8e4){_0x24e9ff['push'](_0x24e9ff['shift']());}}}(a43_0x3d14,0xb30fb));const path=require(a43_0x419ce1(0x21e)),url=require(a43_0x419ce1(0x1d2)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x419ce1(0x20a)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a43_0x419ce1(0x1ca)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x419ce1(0x222)),logger=require(a43_0x419ce1(0x1c0))[a43_0x419ce1(0x1fc)],scripts=require(a43_0x419ce1(0x1df)),{browserStackExecuteDriver}=require(a43_0x419ce1(0x196)),AccessibilityHelper=require(a43_0x419ce1(0x19c)),constants=require('../utils/constants'),getBrowserNameFromChannel=_0x8f0b94=>{const _0x42717e=a43_0x419ce1,_0x3c2ece={};_0x3c2ece[_0x42717e(0x1a9)]='chrome',_0x3c2ece[_0x42717e(0x23e)]=_0x42717e(0x21b),_0x3c2ece[_0x42717e(0x1d4)]='firefox',_0x3c2ece['tYSSK']=_0x42717e(0x202);const _0x3c15a0=_0x3c2ece;if(_0x8f0b94[_0x42717e(0x1cf)](_0x3c15a0[_0x42717e(0x1a9)]))return _0x3c15a0[_0x42717e(0x1a9)];if(_0x8f0b94['includes'](_0x3c15a0[_0x42717e(0x23e)]))return _0x3c15a0[_0x42717e(0x23e)];if(_0x8f0b94[_0x42717e(0x1cf)](_0x3c15a0[_0x42717e(0x1d4)]))return _0x3c15a0['vrZcu'];if(_0x8f0b94[_0x42717e(0x1cf)](_0x3c15a0[_0x42717e(0x220)]))return _0x3c15a0[_0x42717e(0x220)];},getBrowserFromWSEndpoint=_0x3af91e=>{const _0x5e3177=a43_0x419ce1,_0x14800e={'fYkLK':_0x5e3177(0x1de),'FziRW':function(_0x311d9c,_0x20fd79){return _0x311d9c(_0x20fd79);}};try{const _0xf55188=url['parse'](_0x3af91e),_0x367325=new URLSearchParams(_0xf55188[_0x5e3177(0x208)]),_0x18d25f=Object[_0x5e3177(0x1e9)](_0x367325[_0x5e3177(0x209)]()),_0x17a6d1=JSON[_0x5e3177(0x20c)](_0x18d25f[_0x5e3177(0x207)]);if(_0x17a6d1&&(_0x17a6d1[_0x5e3177(0x1e4)]||_0x17a6d1['browserName']))return _0x17a6d1[_0x5e3177(0x1e4)]||_0x17a6d1[_0x5e3177(0x1f0)];return _0x14800e[_0x5e3177(0x1e7)];}catch(_0x48b048){_0x14800e[_0x5e3177(0x1b5)](debug,_0x5e3177(0x233)+_0x48b048[_0x5e3177(0x1f9)]());}},getCloudProviderFromWsEndpoint=_0x64026e=>{const _0x1e850c=a43_0x419ce1,_0x35be10={};_0x35be10[_0x1e850c(0x1e3)]=_0x1e850c(0x1a3),_0x35be10[_0x1e850c(0x1ad)]=_0x1e850c(0x1a4),_0x35be10[_0x1e850c(0x22d)]='browserstack',_0x35be10[_0x1e850c(0x1a1)]='unknown_grid';const _0x1fa469=_0x35be10;if(_0x64026e[_0x1e850c(0x1cf)](_0x1fa469[_0x1e850c(0x1e3)])||_0x64026e[_0x1e850c(0x1cf)](_0x1fa469['WfHbn']))return _0x1fa469['PphJn'];return _0x1fa469[_0x1e850c(0x1a1)];},a43_0x4cb9d4={};a43_0x4cb9d4['cloudProvider']=undefined,a43_0x4cb9d4[a43_0x419ce1(0x1be)]=undefined,a43_0x4cb9d4[a43_0x419ce1(0x1e4)]=undefined,a43_0x4cb9d4[a43_0x419ce1(0x19e)]=undefined,a43_0x4cb9d4[a43_0x419ce1(0x215)]=undefined,a43_0x4cb9d4[a43_0x419ce1(0x1cd)]=undefined,a43_0x4cb9d4[a43_0x419ce1(0x230)]=undefined,a43_0x4cb9d4[a43_0x419ce1(0x200)]={};class PlaywrightSessionDetails{static [a43_0x419ce1(0x1c1)]=a43_0x4cb9d4;constructor(){const _0x2679f9=a43_0x419ce1,_0x22c169={};_0x22c169[_0x2679f9(0x1f3)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x1d56da=_0x22c169;throw new Error(_0x1d56da[_0x2679f9(0x1f3)]);}static [a43_0x419ce1(0x1f1)]=null;static[a43_0x419ce1(0x1c4)](_0x431444,_0x2e0777,_0x206839=null){const _0x42c45e=a43_0x419ce1,_0x4d7ddc={'JNJcH':function(_0x33d8cc,_0x203776){return _0x33d8cc===_0x203776;},'zAhfM':_0x42c45e(0x1ae),'INWab':_0x42c45e(0x204),'RplwD':function(_0x35c335,_0x345cfc){return _0x35c335===_0x345cfc;},'mZgfI':_0x42c45e(0x1c6),'unADn':_0x42c45e(0x213),'XKWnr':function(_0x2e8a6b,_0x550aff,_0x3f0451){return _0x2e8a6b(_0x550aff,_0x3f0451);},'ksJiz':_0x42c45e(0x1b1),'qHlsJ':_0x42c45e(0x20e),'XpqhC':_0x42c45e(0x1f5),'JIgOl':'use','kWkhy':_0x42c45e(0x199),'Dboge':function(_0x4a7401,_0x537b04){return _0x4a7401(_0x537b04);},'AgjWY':function(_0x47369e,_0x1a8d1f){return _0x47369e===_0x1a8d1f;},'UIWgn':_0x42c45e(0x1c3),'PNLoq':'turboscale','ocaUz':_0x42c45e(0x225),'oSHID':function(_0x2124e4,_0x1034d2){return _0x2124e4+_0x1034d2;},'qlEZR':_0x42c45e(0x236),'YsJmX':function(_0x466478){return _0x466478();},'GNzod':'setupBrowserDetails'},_0x2d5376=this;return _0x4d7ddc[_0x42c45e(0x22e)](o11yErrorHandler,async function _0x17be75(_0x18f89c,_0x47f4fc,_0x1bd474=null){const _0x19132a=_0x42c45e;let _0xc0db88=_0x18f89c[_0x19132a(0x224)],_0x375490=null;_0x18f89c&&_0x4d7ddc[_0x19132a(0x1f2)](typeof _0x18f89c['version'],_0x4d7ddc[_0x19132a(0x1dc)])?_0x375490=_0x18f89c[_0x19132a(0x227)]():logger[_0x19132a(0x1f8)](_0x4d7ddc[_0x19132a(0x1ea)]);let _0x2aff76=null;_0x18f89c&&_0x4d7ddc[_0x19132a(0x1ee)](typeof _0x18f89c['model'],_0x4d7ddc['zAhfM'])?_0x2aff76=_0x18f89c[_0x19132a(0x19b)]():logger[_0x19132a(0x1f8)](_0x4d7ddc[_0x19132a(0x20f)]);let _0x1d709c=null,_0x19d0bf=null,_0x4e4ce2=null,_0x219bf9=_0x4d7ddc[_0x19132a(0x1c9)];if(_0x18f89c[_0x19132a(0x1a6)][_0x19132a(0x1d5)]()||global[_0x19132a(0x1b9)]){let _0x144010=null;_0x4d7ddc[_0x19132a(0x22e)](nestedKeyValue,_0x18f89c,[_0x4d7ddc[_0x19132a(0x1fd)],_0x4d7ddc[_0x19132a(0x19f)]])?_0x144010=_0x18f89c[_0x19132a(0x1b1)][_0x19132a(0x20e)]:_0x144010=_0x4d7ddc[_0x19132a(0x22e)](nestedKeyValue,_0x47f4fc,[_0x4d7ddc[_0x19132a(0x1fe)],_0x4d7ddc[_0x19132a(0x21a)],_0x4d7ddc[_0x19132a(0x23a)]]);const _0x3fe1dc=_0x1bd474||_0x144010&&_0x144010[_0x19132a(0x1c5)];_0x3fe1dc&&(_0x219bf9=_0x4d7ddc[_0x19132a(0x211)](getCloudProviderFromWsEndpoint,_0x3fe1dc),_0x4d7ddc[_0x19132a(0x1bb)](_0x219bf9,_0x4d7ddc[_0x19132a(0x197)])&&(_0x4e4ce2=constants['ATS_WSS_URL_REGEX']['test'](_0x3fe1dc)?_0x4d7ddc['PNLoq']:_0x4d7ddc[_0x19132a(0x1b2)],_0xc0db88=_0x4d7ddc[_0x19132a(0x211)](getBrowserFromWSEndpoint,_0x3fe1dc)||_0xc0db88,_0x1d709c=_0x2d5376[_0x19132a(0x1c1)][_0x19132a(0x215)],_0x19d0bf=_0x2d5376[_0x19132a(0x1c1)][_0x19132a(0x1cd)]));}else{_0x47f4fc&&_0x47f4fc[_0x19132a(0x1f5)][_0x19132a(0x1af)][_0x19132a(0x22c)]?_0xc0db88=_0x4d7ddc[_0x19132a(0x211)](getBrowserNameFromChannel,_0x47f4fc[_0x19132a(0x1f5)][_0x19132a(0x1af)][_0x19132a(0x22c)]):_0xc0db88=_0x4d7ddc[_0x19132a(0x1fa)](_0x4d7ddc[_0x19132a(0x1d7)],_0xc0db88[_0x19132a(0x1b6)]());const _0x56108f=await _0x4d7ddc[_0x19132a(0x1f7)](getPlatformDetails);_0x1d709c=_0x56108f[_0x19132a(0x1d6)],_0x19d0bf=_0x56108f['platformVersion'];}const _0xd96f57={};_0xd96f57[_0x19132a(0x1e4)]=_0xc0db88,_0xd96f57['browser_version']=_0x375490,_0xd96f57[_0x19132a(0x200)]={},_0xd96f57[_0x19132a(0x215)]=_0x1d709c,_0xd96f57[_0x19132a(0x1cd)]=_0x19d0bf,_0xd96f57[_0x19132a(0x230)]=_0x4e4ce2;const _0x4ce974=_0xd96f57;_0x2aff76&&(_0x4ce974['capabilities']['deviceModel']=_0x2aff76);const _0x56876c={};_0x56876c[_0x19132a(0x235)]=_0x219bf9,_0x2d5376['currentSessionDetails']=Object[_0x19132a(0x195)]({},_0x2d5376[_0x19132a(0x1c1)],_0x56876c,_0x4ce974);},_0x4d7ddc['GNzod'])(_0x431444,_0x2e0777,_0x206839);}static[a43_0x419ce1(0x1f6)](){const _0x431af8=a43_0x419ce1;this[_0x431af8(0x193)](),this['patchCRConnection']();}static[a43_0x419ce1(0x193)](){const _0x517482=a43_0x419ce1,_0x46ba0a={'Hpwip':function(_0x11533d,_0x42355a,_0x44f619){return _0x11533d(_0x42355a,_0x44f619);},'WgxEc':_0x517482(0x226),'UTfMg':_0x517482(0x1ab),'CRBcq':'titlePath','yRoZV':function(_0x2ee096,_0x1b6c83,_0x6bbe6){return _0x2ee096(_0x1b6c83,_0x6bbe6);},'LgXgj':_0x517482(0x1c8),'vQvof':'pwPage','AHkne':function(_0x4a70be,_0x4ea4ca){return _0x4a70be===_0x4ea4ca;},'FhBbi':'Page','gFHzR':function(_0x27e33c,_0x558bc8,_0x14e8ae,_0x35aba2){return _0x27e33c(_0x558bc8,_0x14e8ae,_0x35aba2);},'OypqT':function(_0xd17dee,_0x2a6b89){return _0xd17dee(_0x2a6b89);},'lfNQV':_0x517482(0x22b),'LCchn':'client','vyhxT':'connection.js','WCzex':function(_0x4ec276,_0x5a9526){return _0x4ec276(_0x5a9526);},'BoyRn':_0x517482(0x1cc),'YwMCu':function(_0x333c40,_0x3cda90){return _0x333c40!=_0x3cda90;},'EpVgF':function(_0x4b8950){return _0x4b8950();},'XooAE':_0x517482(0x1a7),'QGmDN':function(_0x272afa,_0x107184){return _0x272afa(_0x107184);},'IlyMw':'dispatch','PRVDU':function(_0x40fb6b,_0x308acc){return _0x40fb6b(_0x308acc);}},_0x495b6c=this;if(!this[_0x517482(0x1c7)])try{const _0x317be9=path[_0x517482(0x1e8)](_0x46ba0a[_0x517482(0x1e6)],_0x46ba0a[_0x517482(0x1b0)],_0x46ba0a['vyhxT']),_0x1fb58b=_0x46ba0a[_0x517482(0x1ce)](importFileFromPWCore,_0x317be9);!_0x1fb58b?_0x46ba0a[_0x517482(0x19d)](debug,_0x46ba0a['BoyRn']):this[_0x517482(0x1c7)]=_0x1fb58b[_0x517482(0x1c7)];}catch(_0x3684c1){_0x46ba0a['OypqT'](debug,_0x517482(0x192)+_0x3684c1[_0x517482(0x1f9)]());}const _0x38ab30=this[_0x517482(0x1c7)];try{if(_0x46ba0a[_0x517482(0x23d)](_0x38ab30,null)){const _0x2f0922=_0x38ab30[_0x517482(0x1e2)]['dispatch'],_0x472983=_0x38ab30[_0x517482(0x1e2)]['sendMessageToServer'];_0x46ba0a['EpVgF'](isAccessibilityAutomationSession)&&Object[_0x517482(0x1d8)](_0x38ab30[_0x517482(0x1e2)],_0x46ba0a['XooAE'],{'get':function(){const _0x5d69fa=_0x517482,_0x4a1afd={'rJEUl':function(_0xdf0d58,_0x3e5e06,_0x45b79a){const _0x54c98c=a43_0x2488;return _0x46ba0a[_0x54c98c(0x206)](_0xdf0d58,_0x3e5e06,_0x45b79a);},'SobrV':_0x46ba0a['WgxEc'],'mugom':_0x46ba0a[_0x5d69fa(0x238)],'sVcYN':_0x46ba0a[_0x5d69fa(0x1e5)],'eZnrF':function(_0x14c500,_0x43220a,_0x24c0db){const _0xa90292=_0x5d69fa;return _0x46ba0a[_0xa90292(0x1b4)](_0x14c500,_0x43220a,_0x24c0db);},'cEpTJ':_0x46ba0a[_0x5d69fa(0x1d0)],'rgwfy':_0x46ba0a[_0x5d69fa(0x1ba)],'CQntB':function(_0x134aae,_0x543d4b){return _0x46ba0a['AHkne'](_0x134aae,_0x543d4b);},'Tzimu':_0x46ba0a['FhBbi'],'DdtRp':function(_0x729aaf,_0x897155,_0x4f7173,_0x2c44b9){const _0x16d9cc=_0x5d69fa;return _0x46ba0a[_0x16d9cc(0x1b8)](_0x729aaf,_0x897155,_0x4f7173,_0x2c44b9);}};return async function(){const _0x39e379=_0x5d69fa;try{if(!global[_0x39e379(0x20b)]&&global[_0x39e379(0x1b9)]&&_0x4a1afd['rJEUl'](nestedKeyValue,global[_0x39e379(0x1c8)],[_0x4a1afd[_0x39e379(0x1ff)],_0x4a1afd[_0x39e379(0x19a)],_0x4a1afd[_0x39e379(0x1d1)]])&&_0x4a1afd[_0x39e379(0x23b)](shouldScanTestForAccessibility,global[_0x39e379(0x1c8)][_0x39e379(0x226)]['testInfo'][_0x39e379(0x22f)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x39e379(0x1f8)](_0x39e379(0x231)+arguments[0x1]),global[_0x39e379(0x20b)]=!![];const _0x51393e=_0x4a1afd[_0x39e379(0x1bf)](nestedKeyValue,global,[_0x4a1afd[_0x39e379(0x1ac)],_0x4a1afd[_0x39e379(0x22a)]]),_0x348366={};_0x348366['method']=arguments[0x1],_0x51393e&&logger[_0x39e379(0x1f8)](util['format'](await AccessibilityHelper[_0x39e379(0x214)](_0x51393e,_0x348366)));if(_0x4a1afd[_0x39e379(0x1b3)](arguments[0x0]['_type'],_0x4a1afd[_0x39e379(0x210)])&&global[_0x39e379(0x198)]){const _0xfb0025={};_0xfb0025[_0x39e379(0x21c)]=arguments[0x1],await _0x4a1afd['DdtRp'](browserStackExecuteDriver,global['__driver'],scripts['performScan'],_0xfb0025);}}}catch(_0x42930b){logger['debug'](_0x39e379(0x21d)+util[_0x39e379(0x1da)](_0x42930b));}return global[_0x39e379(0x20b)]=![],_0x472983[_0x39e379(0x1fb)](this,arguments);};}}),!_0x46ba0a['QGmDN'](isFalse,process[_0x517482(0x1db)][_0x517482(0x1b7)])&&Object[_0x517482(0x1d8)](_0x38ab30[_0x517482(0x1e2)],_0x46ba0a['IlyMw'],{'get':function(){return function _0x1dc48d(_0x2a4e1e){const _0x2741b3=a43_0x2488,_0x32ab4a=_0x2a4e1e&&_0x2a4e1e[_0x2741b3(0x1c2)]&&_0x2a4e1e['params'][_0x2741b3(0x191)];if(_0x32ab4a){const _0x280040=_0x32ab4a[_0x2741b3(0x23c)],_0x371595=_0x32ab4a['platformDetails'];_0x371595&&(_0x46ba0a[_0x2741b3(0x19d)](debug,_0x2741b3(0x1bd)+_0x371595[_0x2741b3(0x1f9)]()),_0x495b6c[_0x2741b3(0x1c1)][_0x2741b3(0x215)]=_0x371595[_0x2741b3(0x1d6)],_0x495b6c['currentSessionDetails']['platform_version']=_0x371595[_0x2741b3(0x20d)]),_0x280040&&(_0x46ba0a[_0x2741b3(0x19d)](debug,_0x2741b3(0x23f)+_0x280040),_0x495b6c['currentSessionDetails'][_0x2741b3(0x1be)]=_0x280040);}return _0x2f0922['apply'](this,arguments);};}});}}catch(_0x1bb59d){_0x46ba0a[_0x517482(0x1f4)](debug,_0x517482(0x1e1)+_0x1bb59d),_0x495b6c[_0x517482(0x1f1)]=_0x1bb59d[_0x517482(0x1f9)]();}}static[a43_0x419ce1(0x1cb)](){const _0x224aae=a43_0x419ce1,_0x200e5a={'jmaxX':function(_0x3a7fa3,_0xdaa714){return _0x3a7fa3(_0xdaa714);},'aGgbI':function(_0xbfc88e,_0x558107){return _0xbfc88e(_0x558107);},'njgAN':function(_0x17a0b6){return _0x17a0b6();},'nTddL':'lib','VzShj':_0x224aae(0x229),'CcmYK':_0x224aae(0x1dd),'DlOKn':_0x224aae(0x219),'dOpaf':function(_0x5e6f37,_0x96cf52){return _0x5e6f37(_0x96cf52);},'bpfWK':_0x224aae(0x201),'KPJou':function(_0x1d8e66,_0x5cd5f5){return _0x1d8e66(_0x5cd5f5);},'GKmeM':'Error\x20in\x20importing\x20crConnection','MhHEW':function(_0x5d6177,_0x1da439){return _0x5d6177!=_0x1da439;},'cbfTn':_0x224aae(0x221),'MSEOW':function(_0x11abea,_0x2b4a85){return _0x11abea(_0x2b4a85);}},_0x168fd7=this;if(_0x200e5a[_0x224aae(0x21f)](isAccessibilityAutomationSession)){let _0x44d206=null;try{const _0x521181=path[_0x224aae(0x1e8)](_0x200e5a[_0x224aae(0x1a5)],_0x200e5a[_0x224aae(0x237)],_0x200e5a[_0x224aae(0x1eb)],_0x200e5a[_0x224aae(0x223)]),_0x318d88=_0x200e5a[_0x224aae(0x1e0)](importFileFromPWCore,_0x521181);!_0x318d88?_0x200e5a[_0x224aae(0x205)](debug,_0x200e5a[_0x224aae(0x228)]):_0x44d206=_0x318d88[_0x224aae(0x1ef)];}catch(_0x2ddfcc){_0x200e5a[_0x224aae(0x203)](debug,_0x200e5a[_0x224aae(0x216)]);}try{if(_0x200e5a['MhHEW'](_0x44d206,null)){const _0x3fec42=_0x44d206[_0x224aae(0x1e2)][_0x224aae(0x221)];Object[_0x224aae(0x1d8)](_0x44d206[_0x224aae(0x1e2)],_0x200e5a[_0x224aae(0x1bc)],{'get':function(){const _0x33bde5={'GYWGn':function(_0x1a80d0,_0x1acb6e){return _0x200e5a['jmaxX'](_0x1a80d0,_0x1acb6e);},'IMhOG':function(_0x2a003d,_0x3b2afd){return _0x200e5a['aGgbI'](_0x2a003d,_0x3b2afd);}};return function _0x53b0ba(_0x1ee210){const _0x16d776=a43_0x2488;try{const _0x39179e=_0x1ee210[_0x16d776(0x1d9)];if(_0x39179e){delete _0x1ee210[_0x16d776(0x1d9)];const _0x4a4cec=_0x39179e[_0x16d776(0x23c)],_0x51169d=_0x39179e[_0x16d776(0x1a8)];_0x51169d&&(_0x33bde5[_0x16d776(0x1d3)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x51169d['toString']()),_0x168fd7['currentSessionDetails'][_0x16d776(0x215)]=_0x51169d[_0x16d776(0x1d6)],_0x168fd7[_0x16d776(0x1c1)][_0x16d776(0x1cd)]=_0x51169d[_0x16d776(0x20d)]),_0x4a4cec&&(_0x33bde5[_0x16d776(0x1d3)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x4a4cec),_0x168fd7[_0x16d776(0x1c1)][_0x16d776(0x1be)]=_0x4a4cec);}}catch(_0xd06c24){_0x33bde5['IMhOG'](debug,_0x16d776(0x234)+_0xd06c24[_0x16d776(0x1f9)]());}return _0x3fec42['apply'](this,arguments);};}});}}catch(_0x41e8f6){_0x200e5a[_0x224aae(0x212)](debug,_0x224aae(0x218)+_0x41e8f6),_0x168fd7[_0x224aae(0x1f1)]=_0x41e8f6[_0x224aae(0x1f9)]();}}}static['getDetails'](){const _0x400d63=a43_0x419ce1;return this[_0x400d63(0x1c1)];}}module[a43_0x419ce1(0x1aa)]=PlaywrightSessionDetails;
1
+ const a43_0x10cd38=a43_0x3ece;(function(_0x35a579,_0x25361d){const _0x556cdd=a43_0x3ece,_0x34809c=_0x35a579();while(!![]){try{const _0x2aad03=parseInt(_0x556cdd(0x178))/0x1*(-parseInt(_0x556cdd(0x211))/0x2)+-parseInt(_0x556cdd(0x1cd))/0x3+parseInt(_0x556cdd(0x209))/0x4*(parseInt(_0x556cdd(0x1da))/0x5)+parseInt(_0x556cdd(0x19e))/0x6*(-parseInt(_0x556cdd(0x1d1))/0x7)+-parseInt(_0x556cdd(0x202))/0x8*(-parseInt(_0x556cdd(0x207))/0x9)+-parseInt(_0x556cdd(0x19f))/0xa+parseInt(_0x556cdd(0x1b5))/0xb;if(_0x2aad03===_0x25361d)break;else _0x34809c['push'](_0x34809c['shift']());}catch(_0x3fa901){_0x34809c['push'](_0x34809c['shift']());}}}(a43_0x1c30,0x53092));const path=require(a43_0x10cd38(0x1e3)),url=require(a43_0x10cd38(0x1c3)),util=require(a43_0x10cd38(0x200)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x10cd38(0x1ae)),{debug,getPlatformDetails}=require(a43_0x10cd38(0x190)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x10cd38(0x1a5)),logger=require('../../helpers/logger')[a43_0x10cd38(0x1c8)],scripts=require(a43_0x10cd38(0x1af)),{browserStackExecuteDriver}=require(a43_0x10cd38(0x19a)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a43_0x10cd38(0x1fd)),getBrowserNameFromChannel=_0x2cca30=>{const _0x740c8f=a43_0x10cd38,_0x199325={};_0x199325[_0x740c8f(0x1c9)]=_0x740c8f(0x1ac),_0x199325[_0x740c8f(0x197)]=_0x740c8f(0x1a9),_0x199325[_0x740c8f(0x1bb)]='firefox',_0x199325[_0x740c8f(0x175)]=_0x740c8f(0x199);const _0x52063c=_0x199325;if(_0x2cca30['includes'](_0x52063c[_0x740c8f(0x1c9)]))return _0x52063c['FUFxP'];if(_0x2cca30[_0x740c8f(0x1e7)](_0x52063c[_0x740c8f(0x197)]))return _0x52063c['Ixzxp'];if(_0x2cca30[_0x740c8f(0x1e7)](_0x52063c['nHcNn']))return _0x52063c[_0x740c8f(0x1bb)];if(_0x2cca30[_0x740c8f(0x1e7)](_0x52063c[_0x740c8f(0x175)]))return _0x52063c[_0x740c8f(0x175)];},getBrowserFromWSEndpoint=_0x3245d2=>{const _0x375acb=a43_0x10cd38,_0x1d6730={'cATlj':'chrome','yaVDu':function(_0xfbfc05,_0x33f7f7){return _0xfbfc05(_0x33f7f7);}};try{const _0x50cfbf=url['parse'](_0x3245d2),_0x58490c=new URLSearchParams(_0x50cfbf['query']),_0x3dd08e=Object['fromEntries'](_0x58490c[_0x375acb(0x181)]()),_0x1b76f4=JSON[_0x375acb(0x1b3)](_0x3dd08e[_0x375acb(0x1b7)]);if(_0x1b76f4&&(_0x1b76f4[_0x375acb(0x195)]||_0x1b76f4[_0x375acb(0x1f2)]))return _0x1b76f4['browser']||_0x1b76f4[_0x375acb(0x1f2)];return _0x1d6730[_0x375acb(0x1f9)];}catch(_0x32c9d4){_0x1d6730[_0x375acb(0x1cf)](debug,_0x375acb(0x20b)+_0x32c9d4[_0x375acb(0x1c1)]());}},getCloudProviderFromWsEndpoint=_0x428d6b=>{const _0x13e783=a43_0x10cd38,_0x4a9f93={};_0x4a9f93['SGcWG']=_0x13e783(0x1bf),_0x4a9f93[_0x13e783(0x1a3)]=_0x13e783(0x20a),_0x4a9f93['fEzks']='browserstack',_0x4a9f93[_0x13e783(0x1b4)]='unknown_grid';const _0x4b8c3d=_0x4a9f93;if(_0x428d6b[_0x13e783(0x1e7)](_0x4b8c3d[_0x13e783(0x20f)])||_0x428d6b[_0x13e783(0x1e7)](_0x4b8c3d['kXGGH']))return _0x4b8c3d[_0x13e783(0x1e0)];return _0x4b8c3d[_0x13e783(0x1b4)];},a43_0x101cf6={};a43_0x101cf6['cloudProvider']=undefined,a43_0x101cf6[a43_0x10cd38(0x215)]=undefined,a43_0x101cf6[a43_0x10cd38(0x195)]=undefined,a43_0x101cf6[a43_0x10cd38(0x18a)]=undefined,a43_0x101cf6[a43_0x10cd38(0x1fa)]=undefined,a43_0x101cf6[a43_0x10cd38(0x1a0)]=undefined,a43_0x101cf6[a43_0x10cd38(0x17b)]=undefined,a43_0x101cf6[a43_0x10cd38(0x208)]={};class PlaywrightSessionDetails{static [a43_0x10cd38(0x205)]=a43_0x101cf6;constructor(){const _0x3c7b30=a43_0x10cd38,_0x104f44={};_0x104f44[_0x3c7b30(0x191)]=_0x3c7b30(0x19c);const _0x388e62=_0x104f44;throw new Error(_0x388e62[_0x3c7b30(0x191)]);}static ['sessionError']=null;static[a43_0x10cd38(0x1c2)](_0x33586b,_0x528012,_0x4c7dc4=null){const _0x52d708=a43_0x10cd38,_0x9ebc0b={'SIsCW':function(_0x27ac36,_0x3d5b1c){return _0x27ac36===_0x3d5b1c;},'qiPfS':_0x52d708(0x1df),'ZUxiV':_0x52d708(0x1bc),'Dbozf':'Device\x20Model\x20is\x20not\x20available','kAVpz':_0x52d708(0x189),'hUQok':function(_0x51ab78,_0x3e2c37,_0xa01b48){return _0x51ab78(_0x3e2c37,_0xa01b48);},'Rhgjt':_0x52d708(0x1c4),'AZdgI':_0x52d708(0x1ab),'nqdWX':function(_0x1b753e,_0x4f5359,_0x414946){return _0x1b753e(_0x4f5359,_0x414946);},'SnWNe':_0x52d708(0x1eb),'TrUiG':_0x52d708(0x1e9),'XAGxI':'connectOptions','afHiF':function(_0x592eb,_0x2284e5){return _0x592eb(_0x2284e5);},'cOrBX':function(_0x2a2507,_0x342f0e){return _0x2a2507===_0x342f0e;},'ZBfIU':_0x52d708(0x1d6),'FZbku':_0x52d708(0x1e2),'eJChZ':_0x52d708(0x210),'lcrrI':function(_0x354dc8,_0x6b026f){return _0x354dc8(_0x6b026f);},'ufysZ':function(_0x3230a9,_0x16aa5f){return _0x3230a9+_0x16aa5f;},'CdnXo':_0x52d708(0x1d2),'unhin':function(_0x5020dd){return _0x5020dd();},'nxaDZ':function(_0x2081c9,_0x254588,_0x32af3e){return _0x2081c9(_0x254588,_0x32af3e);},'PuCcd':_0x52d708(0x1c2)},_0x4d3c24=this;return _0x9ebc0b[_0x52d708(0x177)](o11yErrorHandler,async function _0x47c284(_0x4ed4c0,_0x36e273,_0x453eb2=null){const _0x46e362=_0x52d708;let _0x2eb97b=_0x4ed4c0[_0x46e362(0x1ad)],_0x1456c3=null;_0x4ed4c0&&_0x9ebc0b['SIsCW'](typeof _0x4ed4c0['version'],_0x9ebc0b[_0x46e362(0x1c7)])?_0x1456c3=_0x4ed4c0[_0x46e362(0x1b2)]():logger[_0x46e362(0x182)](_0x9ebc0b[_0x46e362(0x184)]);let _0x45ffeb=null;_0x4ed4c0&&_0x9ebc0b[_0x46e362(0x1e5)](typeof _0x4ed4c0[_0x46e362(0x1e8)],_0x9ebc0b[_0x46e362(0x1c7)])?_0x45ffeb=_0x4ed4c0['model']():logger[_0x46e362(0x182)](_0x9ebc0b[_0x46e362(0x1d3)]);let _0x1976f1=null,_0x6c81ea=null,_0x24e23a=null,_0x28b6ad=_0x9ebc0b[_0x46e362(0x214)];if(_0x4ed4c0[_0x46e362(0x1c0)]['isRemote']()||global['accessibilityPlatform']){let _0x2134da=null;_0x9ebc0b['hUQok'](nestedKeyValue,_0x4ed4c0,[_0x9ebc0b[_0x46e362(0x174)],_0x9ebc0b[_0x46e362(0x1f3)]])?_0x2134da=_0x4ed4c0[_0x46e362(0x1c4)][_0x46e362(0x1ab)]:_0x2134da=_0x9ebc0b['nqdWX'](nestedKeyValue,_0x36e273,[_0x9ebc0b[_0x46e362(0x1bd)],_0x9ebc0b[_0x46e362(0x1fe)],_0x9ebc0b[_0x46e362(0x1fc)]]);const _0x4d0f62=_0x453eb2||_0x2134da&&_0x2134da[_0x46e362(0x1a2)];_0x4d0f62&&(_0x28b6ad=_0x9ebc0b[_0x46e362(0x179)](getCloudProviderFromWsEndpoint,_0x4d0f62),_0x9ebc0b[_0x46e362(0x1dd)](_0x28b6ad,_0x9ebc0b['ZBfIU'])&&(_0x24e23a=constants[_0x46e362(0x201)][_0x46e362(0x1d9)](_0x4d0f62)?_0x9ebc0b[_0x46e362(0x1f5)]:_0x9ebc0b['eJChZ'],_0x2eb97b=_0x9ebc0b[_0x46e362(0x179)](getBrowserFromWSEndpoint,_0x4d0f62)||_0x2eb97b,_0x1976f1=_0x4d3c24['currentSessionDetails']['platform'],_0x6c81ea=_0x4d3c24[_0x46e362(0x205)][_0x46e362(0x1a0)]));}else{_0x36e273&&_0x36e273[_0x46e362(0x1eb)]['use'][_0x46e362(0x1d7)]?_0x2eb97b=_0x9ebc0b[_0x46e362(0x1f1)](getBrowserNameFromChannel,_0x36e273[_0x46e362(0x1eb)][_0x46e362(0x1e9)][_0x46e362(0x1d7)]):_0x2eb97b=_0x9ebc0b['ufysZ'](_0x9ebc0b[_0x46e362(0x1f8)],_0x2eb97b['toLowerCase']());const _0x25d1cf=await _0x9ebc0b[_0x46e362(0x198)](getPlatformDetails);_0x1976f1=_0x25d1cf[_0x46e362(0x1d0)],_0x6c81ea=_0x25d1cf[_0x46e362(0x1c6)];}const _0x56c8a5={};_0x56c8a5['browser']=_0x2eb97b,_0x56c8a5[_0x46e362(0x18a)]=_0x1456c3,_0x56c8a5[_0x46e362(0x208)]={},_0x56c8a5['platform']=_0x1976f1,_0x56c8a5[_0x46e362(0x1a0)]=_0x6c81ea,_0x56c8a5[_0x46e362(0x17b)]=_0x24e23a;const _0x27bc34=_0x56c8a5;_0x45ffeb&&(_0x27bc34['capabilities'][_0x46e362(0x1a4)]=_0x45ffeb);const _0x2009e5={};_0x2009e5['cloudProvider']=_0x28b6ad,_0x4d3c24[_0x46e362(0x205)]=Object[_0x46e362(0x1d4)]({},_0x4d3c24[_0x46e362(0x205)],_0x2009e5,_0x27bc34);},_0x9ebc0b['PuCcd'])(_0x33586b,_0x528012,_0x4c7dc4);}static[a43_0x10cd38(0x173)](){const _0x38d12d=a43_0x10cd38;this[_0x38d12d(0x1ff)](),this[_0x38d12d(0x1a1)]();}static[a43_0x10cd38(0x1ff)](){const _0x4b4e62=a43_0x10cd38,_0x414c1d={'lREct':function(_0xdb8d3e,_0x4f3cce,_0x299d4a){return _0xdb8d3e(_0x4f3cce,_0x299d4a);},'tiFOd':_0x4b4e62(0x20c),'uYNfg':_0x4b4e62(0x1d8),'rCSng':_0x4b4e62(0x1ce),'BVkCb':'__workerDetails','pSpJn':_0x4b4e62(0x185),'KGZtm':function(_0x502271,_0x4c6d02){return _0x502271===_0x4c6d02;},'wwraF':'Page','nKzYr':function(_0x635cdf,_0x452b5f,_0x516f85,_0x59968c){return _0x635cdf(_0x452b5f,_0x516f85,_0x59968c);},'HuhQn':function(_0x4fdaf3,_0x13a0bb){return _0x4fdaf3(_0x13a0bb);},'JSVpa':function(_0x32544f,_0x5e6c22){return _0x32544f(_0x5e6c22);},'GPdiJ':_0x4b4e62(0x188),'DIemV':_0x4b4e62(0x1ea),'vqyhj':'connection.js','ubthV':function(_0x5c46e3,_0x394596){return _0x5c46e3(_0x394596);},'GNeLt':'Not\x20able\x20to\x20import\x20Connection','ujKHG':function(_0x337c9c,_0x33c10e){return _0x337c9c!=_0x33c10e;},'DAXdh':function(_0x285dd0){return _0x285dd0();},'TxZHu':_0x4b4e62(0x1fb),'jxFHq':_0x4b4e62(0x1ef),'HNfaU':function(_0x56c9ac,_0x240ce2){return _0x56c9ac(_0x240ce2);}},_0x2abda6=this;if(!this[_0x4b4e62(0x1e6)])try{const _0x98248a=path[_0x4b4e62(0x1b8)](_0x414c1d[_0x4b4e62(0x1f0)],_0x414c1d[_0x4b4e62(0x1b6)],_0x414c1d[_0x4b4e62(0x18d)]),_0x48099c=_0x414c1d[_0x4b4e62(0x1cb)](importFileFromPWCore,_0x98248a);!_0x48099c?_0x414c1d[_0x4b4e62(0x18e)](debug,_0x414c1d['GNeLt']):this[_0x4b4e62(0x1e6)]=_0x48099c[_0x4b4e62(0x1e6)];}catch(_0x222a5c){_0x414c1d['HuhQn'](debug,'Error\x20in\x20importing\x20connection\x20'+_0x222a5c['toString']());}const _0x246d09=this[_0x4b4e62(0x1e6)];try{if(_0x414c1d[_0x4b4e62(0x1a8)](_0x246d09,null)){const _0x15d67c=_0x246d09[_0x4b4e62(0x1e4)][_0x4b4e62(0x1ef)],_0x39ea00=_0x246d09[_0x4b4e62(0x1e4)][_0x4b4e62(0x1fb)];_0x414c1d['DAXdh'](isAccessibilityAutomationSession)&&Object[_0x4b4e62(0x19d)](_0x246d09[_0x4b4e62(0x1e4)],_0x414c1d[_0x4b4e62(0x1c5)],{'get':function(){return async function(){const _0x1889ab=a43_0x3ece;try{if(!global[_0x1889ab(0x17a)]&&global['accessibilityPlatform']&&_0x414c1d['lREct'](nestedKeyValue,global['__workerDetails'],[_0x414c1d[_0x1889ab(0x1a6)],_0x414c1d['uYNfg'],_0x414c1d[_0x1889ab(0x192)]])&&_0x414c1d['lREct'](shouldScanTestForAccessibility,global[_0x1889ab(0x1db)]['currentTest'][_0x1889ab(0x1d8)][_0x1889ab(0x1ce)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger['debug']('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x1889ab(0x17a)]=!![];const _0x550c54=_0x414c1d[_0x1889ab(0x176)](nestedKeyValue,global,[_0x414c1d[_0x1889ab(0x212)],_0x414c1d['pSpJn']]),_0x46bfdc={};_0x46bfdc[_0x1889ab(0x1b0)]=arguments[0x1],_0x550c54&&logger[_0x1889ab(0x182)](util[_0x1889ab(0x216)](await AccessibilityHelper[_0x1889ab(0x17c)](_0x550c54,_0x46bfdc)));if(_0x414c1d[_0x1889ab(0x18c)](arguments[0x0][_0x1889ab(0x204)],_0x414c1d[_0x1889ab(0x1ba)])&&global['__driver']){const _0x3c7fa4={};_0x3c7fa4[_0x1889ab(0x1b0)]=arguments[0x1],await _0x414c1d[_0x1889ab(0x193)](browserStackExecuteDriver,global[_0x1889ab(0x1ee)],scripts[_0x1889ab(0x17c)],_0x3c7fa4);}}}catch(_0x432465){logger[_0x1889ab(0x182)](_0x1889ab(0x1ec)+util[_0x1889ab(0x216)](_0x432465));}return global[_0x1889ab(0x17a)]=![],_0x39ea00[_0x1889ab(0x1dc)](this,arguments);};}}),!_0x414c1d[_0x4b4e62(0x180)](isFalse,process[_0x4b4e62(0x17d)][_0x4b4e62(0x20d)])&&Object[_0x4b4e62(0x19d)](_0x246d09[_0x4b4e62(0x1e4)],_0x414c1d[_0x4b4e62(0x213)],{'get':function(){return function _0x5148e8(_0x1de238){const _0x9d9bd8=a43_0x3ece,_0xa43f15=_0x1de238&&_0x1de238['params']&&_0x1de238['params']['bsParams'];if(_0xa43f15){const _0xcce78f=_0xa43f15[_0x9d9bd8(0x1f6)],_0x51b21b=_0xa43f15[_0x9d9bd8(0x20e)];_0x51b21b&&(_0x414c1d[_0x9d9bd8(0x18e)](debug,_0x9d9bd8(0x1f4)+_0x51b21b[_0x9d9bd8(0x1c1)]()),_0x2abda6[_0x9d9bd8(0x205)][_0x9d9bd8(0x1fa)]=_0x51b21b[_0x9d9bd8(0x1d0)],_0x2abda6['currentSessionDetails'][_0x9d9bd8(0x1a0)]=_0x51b21b[_0x9d9bd8(0x1c6)]),_0xcce78f&&(_0x414c1d[_0x9d9bd8(0x180)](debug,_0x9d9bd8(0x206)+_0xcce78f),_0x2abda6[_0x9d9bd8(0x205)][_0x9d9bd8(0x215)]=_0xcce78f);}return _0x15d67c[_0x9d9bd8(0x1dc)](this,arguments);};}});}}catch(_0x14dee5){_0x414c1d[_0x4b4e62(0x17f)](debug,_0x4b4e62(0x1b9)+_0x14dee5),_0x2abda6[_0x4b4e62(0x1d5)]=_0x14dee5[_0x4b4e62(0x1c1)]();}}static['patchCRConnection'](){const _0x4d5228=a43_0x10cd38,_0x2c5ae8={'tahyg':function(_0x176108,_0x6cc304){return _0x176108(_0x6cc304);},'vwAzW':function(_0x318141){return _0x318141();},'HllAJ':_0x4d5228(0x188),'ZWvwo':_0x4d5228(0x18f),'wIiQp':'chromium','yGLIG':_0x4d5228(0x194),'OQGmH':function(_0x12e869,_0x2bf3d8){return _0x12e869(_0x2bf3d8);},'IUZtg':_0x4d5228(0x1a7),'Frwmb':_0x4d5228(0x1e1),'rxSjH':function(_0x589cd8,_0x3a4994){return _0x589cd8!=_0x3a4994;},'xyFbO':_0x4d5228(0x17e),'qEAwQ':function(_0x1672a2,_0x41365b){return _0x1672a2(_0x41365b);}},_0x27b048=this;if(_0x2c5ae8[_0x4d5228(0x1b1)](isAccessibilityAutomationSession)){let _0x5be5b4=null;try{const _0x4fe28c=path[_0x4d5228(0x1b8)](_0x2c5ae8[_0x4d5228(0x1ed)],_0x2c5ae8['ZWvwo'],_0x2c5ae8[_0x4d5228(0x186)],_0x2c5ae8[_0x4d5228(0x196)]),_0x19521b=_0x2c5ae8['tahyg'](importFileFromPWCore,_0x4fe28c);!_0x19521b?_0x2c5ae8[_0x4d5228(0x1aa)](debug,_0x2c5ae8[_0x4d5228(0x1be)]):_0x5be5b4=_0x19521b[_0x4d5228(0x187)];}catch(_0x264303){_0x2c5ae8[_0x4d5228(0x1cc)](debug,_0x2c5ae8['Frwmb']);}try{if(_0x2c5ae8['rxSjH'](_0x5be5b4,null)){const _0x418071=_0x5be5b4[_0x4d5228(0x1e4)][_0x4d5228(0x17e)];Object[_0x4d5228(0x19d)](_0x5be5b4[_0x4d5228(0x1e4)],_0x2c5ae8[_0x4d5228(0x1de)],{'get':function(){const _0x5d9922={'amVkJ':function(_0x7734be,_0x322140){const _0x84caa5=a43_0x3ece;return _0x2c5ae8[_0x84caa5(0x1cc)](_0x7734be,_0x322140);},'EHZbO':function(_0x535b07,_0x382166){return _0x2c5ae8['tahyg'](_0x535b07,_0x382166);}};return function _0x41cfe2(_0x28db01){const _0x27b2a2=a43_0x3ece;try{const _0x23f3d2=_0x28db01[_0x27b2a2(0x18b)];if(_0x23f3d2){delete _0x28db01[_0x27b2a2(0x18b)];const _0x5d473e=_0x23f3d2[_0x27b2a2(0x1f6)],_0x5aa76c=_0x23f3d2[_0x27b2a2(0x20e)];_0x5aa76c&&(_0x5d9922['amVkJ'](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x5aa76c['toString']()),_0x27b048[_0x27b2a2(0x205)][_0x27b2a2(0x1fa)]=_0x5aa76c['platformName'],_0x27b048[_0x27b2a2(0x205)][_0x27b2a2(0x1a0)]=_0x5aa76c[_0x27b2a2(0x1c6)]),_0x5d473e&&(_0x5d9922[_0x27b2a2(0x1ca)](debug,_0x27b2a2(0x1f7)+_0x5d473e),_0x27b048[_0x27b2a2(0x205)][_0x27b2a2(0x215)]=_0x5d473e);}}catch(_0x4cb215){_0x5d9922['EHZbO'](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x4cb215[_0x27b2a2(0x1c1)]());}return _0x418071['apply'](this,arguments);};}});}}catch(_0x394d28){_0x2c5ae8[_0x4d5228(0x19b)](debug,_0x4d5228(0x183)+_0x394d28),_0x27b048['sessionError']=_0x394d28[_0x4d5228(0x1c1)]();}}}static[a43_0x10cd38(0x203)](){const _0x260312=a43_0x10cd38;return this[_0x260312(0x205)];}}function a43_0x1c30(){const _0x2ca03e=['function','fEzks','Error\x20in\x20importing\x20crConnection','turboscale','path','prototype','SIsCW','Connection','includes','model','use','client','project','Failed\x20to\x20perform\x20scan\x20','HllAJ','__driver','dispatch','GPdiJ','lcrrI','browserName','AZdgI','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','FZbku','sessionId','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','CdnXo','cATlj','platform','sendMessageToServer','XAGxI','../utils/constants','TrUiG','patchConnection','util','ATS_WSS_URL_REGEX','149176QQbSvq','getDetails','_type','currentSessionDetails','Setting\x20session\x20id\x20received\x20from\x20BS\x20','117PzVQrV','capabilities','4aJFHGu','browserstack-ats.com','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','currentTest','BROWSERSTACK_TEST_OBSERVABILITY','platformDetails','SGcWG','automate','2VSUdNH','BVkCb','jxFHq','kAVpz','bsSessionId','format','patch','Rhgjt','ICJpm','lREct','nxaDZ','372457wBptxV','afHiF','bstackPerformA11yScan','product','performScan','env','_onMessage','HNfaU','JSVpa','entries','debug','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','ZUxiV','pwPage','wIiQp','CRConnection','lib','local_grid','browser_version','bStackParams','KGZtm','vqyhj','HuhQn','server','../../helpers/test-observability/utils','SPfPj','rCSng','nKzYr','crConnection.js','browser','yGLIG','Ixzxp','unhin','safari','../../bin/playwright/accessibility-helper','qEAwQ','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','defineProperty','150tkNHAD','6780530rpSsJZ','platform_version','patchCRConnection','wsEndpoint','kXGGH','deviceModel','../../helpers/accessibility-automation/helper','tiFOd','Not\x20able\x20to\x20import\x20crConnection','ujKHG','edge','OQGmH','_defaultConnectOptions','chrome','_name','../../helpers/test-observability/error-handler','../../helpers/accessibility-automation/scripts','method','vwAzW','version','parse','olNyN','20806335VDEGDU','DIemV','caps','join','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','wwraF','nHcNn','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','SnWNe','IUZtg','browserstack.com','_connection','toString','setupBrowserDetails','url','_browserType','TxZHu','platformVersion','qiPfS','winstonLogger','FUFxP','EHZbO','ubthV','tahyg','1299924VfGGdw','titlePath','yaVDu','platformName','163555wBEnEg','playwright-','Dbozf','assign','sessionError','browserstack','channel','testInfo','test','1370805IhAjTO','__workerDetails','apply','cOrBX','xyFbO'];a43_0x1c30=function(){return _0x2ca03e;};return a43_0x1c30();}function a43_0x3ece(_0x4c3f88,_0x374a28){const _0x1c30f9=a43_0x1c30();return a43_0x3ece=function(_0x3ecef8,_0x418587){_0x3ecef8=_0x3ecef8-0x173;let _0x18d830=_0x1c30f9[_0x3ecef8];return _0x18d830;},a43_0x3ece(_0x4c3f88,_0x374a28);}module['exports']=PlaywrightSessionDetails;
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a44_0x49014d=a44_0x3675;(function(_0x4449d3,_0xc51b2){const _0x294590=a44_0x3675,_0x148a13=_0x4449d3();while(!![]){try{const _0x44cedb=parseInt(_0x294590(0xc3))/0x1*(parseInt(_0x294590(0xc2))/0x2)+-parseInt(_0x294590(0x11f))/0x3*(parseInt(_0x294590(0xd3))/0x4)+-parseInt(_0x294590(0xce))/0x5+-parseInt(_0x294590(0xf0))/0x6*(parseInt(_0x294590(0xd4))/0x7)+-parseInt(_0x294590(0x118))/0x8+parseInt(_0x294590(0x130))/0x9+parseInt(_0x294590(0xca))/0xa;if(_0x44cedb===_0xc51b2)break;else _0x148a13['push'](_0x148a13['shift']());}catch(_0x449194){_0x148a13['push'](_0x148a13['shift']());}}}(a44_0x2d31,0x5c9bf));function a44_0x3675(_0x416802,_0xca4a31){const _0x2d310f=a44_0x2d31();return a44_0x3675=function(_0x3675d2,_0x5adb9e){_0x3675d2=_0x3675d2-0xba;let _0x29434d=_0x2d310f[_0x3675d2];return _0x29434d;},a44_0x3675(_0x416802,_0xca4a31);}const fs=require('fs'),path=require(a44_0x49014d(0xd2)),util=require(a44_0x49014d(0x102)),{requireModule}=require('../helpers/helper'),PerformanceTester=require(a44_0x49014d(0xf9)),PerformanceEvents=require(a44_0x49014d(0x106))[a44_0x49014d(0xc9)],helper=require(a44_0x49014d(0xf7)),utilities=require('../helpers/utilities'),runIntegrations=require(a44_0x49014d(0x109)),yargs=require(a44_0x49014d(0x131)),Constants=require(a44_0x49014d(0xd0)),logger=require(a44_0x49014d(0xdc))[a44_0x49014d(0xc4)],origArgs=Object[a44_0x49014d(0x111)]([],process[a44_0x49014d(0xea)]),captureError=async(_0x12c654,_0x3bccef,_0x11cdad=null)=>{const _0x44f259=a44_0x49014d,_0x49291f={'mmPWA':function(_0x6a1cd3,_0x384907,_0xdb3102){return _0x6a1cd3(_0x384907,_0xdb3102);},'nxeDE':_0x44f259(0xd8)};try{logger[_0x44f259(0xed)](_0x44f259(0x12e)+origArgs[_0x44f259(0xcb)]('\x20')),await _0x49291f['mmPWA'](_0x12c654,_0x3bccef,_0x11cdad);}catch(_0x5ddc48){process[_0x44f259(0xe9)]=0x1,logger['error'](util[_0x44f259(0x12c)](_0x5ddc48));const _0x69415a={};_0x69415a[_0x44f259(0x132)]=_0x5ddc48[_0x44f259(0xfc)];const _0x45306f=_0x69415a;PerformanceTester[_0x44f259(0x133)](PerformanceEvents[_0x44f259(0xe6)],![],util[_0x44f259(0x12c)](_0x5ddc48));if(helper['isUndefined'](global['config'])&&helper[_0x44f259(0xbe)](global['framework']))return;try{utilities[_0x44f259(0xd1)](_0x49291f[_0x44f259(0x12f)],_0x45306f,global[_0x44f259(0x110)],global['framework']);}catch(_0x4059e0){logger[_0x44f259(0x108)](_0x44f259(0x11a)+_0x4059e0['stack']);}PerformanceTester['end'](PerformanceEvents[_0x44f259(0xe6)],![],util[_0x44f259(0x12c)](_0x5ddc48));}finally{PerformanceTester[_0x44f259(0x11e)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path['join'](helper[a44_0x49014d(0xda)](),a44_0x49014d(0x10e));if(fs[a44_0x49014d(0x120)](browserstackFolderPath)){const filePath=path[a44_0x49014d(0xcb)](browserstackFolderPath,a44_0x49014d(0x101));fs[a44_0x49014d(0x120)](filePath)&&fs['unlinkSync'](filePath);}}catch(a44_0x3bbf52){logger[a44_0x49014d(0x108)](a44_0x49014d(0xee)+a44_0x3bbf52[a44_0x49014d(0xfc)]);}function a44_0x2d31(){const _0x4cfed4=['./integrations/command','--opts','dot-notation','tveAd','--package','.browserstack','setBrowserStackAutomationDisable','config','assign','HST','--mochaRequire','xVTtJ','jest','VERSION','./codeceptjs/command','2025416dmaHJz','blrTv','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','qsuqR','slice','integrations','start','3XGHiST','existsSync','./nightwatch/command','./playwright/command','error','cvcEe','--no-opts','--no-package','IZDgf','WsBDT','./jest/command','../../ats/src/index','--config','format','jMLsx','Running\x20SDK\x20with\x20args\x20','nxeDE','351423tAAiQS','yargs','globalException','end','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','PLAYWRIGHT','alias','ivmbL','isUndefined','INFO','includes','startMonitoring','12PYkgpR','24859MvMEge','winstonLogger','Osjtn','JEST','./cucumber-js/command','CLXnh','EVENTS','21274540gNlJJl','join','version','ats','3411945XfFKcr','SFoxw','./utils/constants','fireFunnelTestEvent','path','2689948DukImu','10213slipsq','command','./vanilla-js/command','help','SDKTestSuccessful','showHelpOnFail','homedir','mocha/lib/cli/commands.js','../helpers/logger','cucumber-js','push','./mocha/command','parserConfiguration','nrnGJ','setTestObservabilityDisable','CUCUMBER','Parsing\x20command\x20line\x20arguements','gsxOs','SDK_SETUP','mocha','INTEGRATIONS','exitCode','argv','tVagS','--no-config','info','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','xQZxX','1350iVmROV','SLieY','HELP','findAndReplace','handler','DXAIO','nightwatch','../helpers/helper','VANILLA','../helpers/performance/performance-tester','yLUFy','Nwulf','message','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','run','zHQsV','NIGHTWATCH','.local-not-set.json','util','StHgG','wrap','mocha/lib/cli/run.js','../helpers/performance/constants','playwright','debug'];a44_0x2d31=function(){return _0x4cfed4;};return a44_0x2d31();}process['argv'][a44_0x49014d(0xc0)](a44_0x49014d(0xe7))&&(!process[a44_0x49014d(0xea)][a44_0x49014d(0xc0)](a44_0x49014d(0x10a))&&process[a44_0x49014d(0xea)][a44_0x49014d(0xde)](a44_0x49014d(0x125)),!process['argv']['find'](_0x4ff448=>_0x4ff448[a44_0x49014d(0xc0)](a44_0x49014d(0x12b)))&&process[a44_0x49014d(0xea)][a44_0x49014d(0xde)](a44_0x49014d(0xec)),!process[a44_0x49014d(0xea)][a44_0x49014d(0xc0)](a44_0x49014d(0x10d))&&process[a44_0x49014d(0xea)][a44_0x49014d(0xde)](a44_0x49014d(0x126)),helper[a44_0x49014d(0xf3)](process[a44_0x49014d(0xea)],'--require',a44_0x49014d(0x113)));PerformanceTester[a44_0x49014d(0xc1)](),PerformanceTester['start'](PerformanceEvents['SDK_SETUP']);const a44_0x57bda6={};a44_0x57bda6[a44_0x49014d(0x10b)]=![];const argv=yargs[a44_0x49014d(0xe0)](a44_0x57bda6)['usage']('usage:\x20$0\x20<command>\x20[args]')[a44_0x49014d(0xbc)]('v',a44_0x49014d(0xcc))['describe']('v')['alias']('h',a44_0x49014d(0xd7))[a44_0x49014d(0xd7)](a44_0x49014d(0xd7))[a44_0x49014d(0xd9)](!![],Constants[a44_0x49014d(0x116)][a44_0x49014d(0xf2)])[a44_0x49014d(0xd5)](a44_0x49014d(0x115),Constants[a44_0x49014d(0xc6)][a44_0x49014d(0xbf)],function(_0x5853bb){const _0x775222=a44_0x49014d,_0x383334={'jMLsx':function(_0x343825,_0x42a1c2,_0x2e0973,_0x5d93f2){return _0x343825(_0x42a1c2,_0x2e0973,_0x5d93f2);},'qsuqR':function(_0xc63ef6,_0x252133){return _0xc63ef6(_0x252133);},'cvcEe':_0x775222(0x129)};helper[_0x775222(0xe2)](),helper[_0x775222(0x10f)]();const _0x55d0cd=process[_0x775222(0xea)][_0x775222(0x11c)](0x2);return _0x383334[_0x775222(0x12d)](captureError,_0x383334[_0x775222(0x11b)](require,_0x383334[_0x775222(0x124)]),_0x5853bb[_0x775222(0xea)],_0x55d0cd);})['command'](a44_0x49014d(0xe7),Constants['MOCHA'][a44_0x49014d(0xbf)],_0x50a089=>{const _0x146184=a44_0x49014d,_0x15e8ea={'WsBDT':function(_0x30fc2d,_0x112458,_0x5c3251){return _0x30fc2d(_0x112458,_0x5c3251);},'kKgPl':function(_0x42a1a7,_0x27bb0c){return _0x42a1a7(_0x27bb0c);},'xVTtJ':_0x146184(0xdf),'tveAd':_0x146184(0xe4),'nrnGJ':_0x146184(0x105),'zHQsV':_0x146184(0xe7),'ROmZR':_0x146184(0xdb),'wNcrB':function(_0x538a8c,_0xd75771,_0x1b0416){return _0x538a8c(_0xd75771,_0x1b0416);},'BsKqM':'mocha/lib/cli/cli.js','Osjtn':function(_0x463af6){return _0x463af6();}};logger[_0x146184(0x108)](_0x15e8ea[_0x146184(0x10c)]);const _0xff57a8=_0x15e8ea[_0x146184(0x128)](requireModule,_0x15e8ea[_0x146184(0xe1)],_0x15e8ea[_0x146184(0xff)]),_0x2b6a61=_0x15e8ea['WsBDT'](requireModule,_0x15e8ea['ROmZR'],_0x15e8ea[_0x146184(0xff)]);process[_0x146184(0xea)]=process['argv']['slice'](0x1),delete _0xff57a8[_0x146184(0xf4)],_0xff57a8[_0x146184(0xf4)]=function(_0xdaed47){const _0x516516=_0x146184;return _0x15e8ea[_0x516516(0x128)](captureError,_0x15e8ea['kKgPl'](require,_0x15e8ea[_0x516516(0x114)]),_0xdaed47);},_0x2b6a61[_0x146184(0xfe)]=_0xff57a8;const {main:_0x312d7c}=_0x15e8ea['wNcrB'](requireModule,_0x15e8ea['BsKqM'],_0x15e8ea[_0x146184(0xff)]);_0x15e8ea[_0x146184(0xc5)](_0x312d7c);})['command'](a44_0x49014d(0xdd),Constants[a44_0x49014d(0xe3)][a44_0x49014d(0xbf)],function(_0x149c6f){const _0x3bfc81=a44_0x49014d,_0x3c9fac={'GdtiV':function(_0x529295,_0x29eefd,_0x260fed,_0xc43061){return _0x529295(_0x29eefd,_0x260fed,_0xc43061);},'ivmbL':function(_0x4852ec,_0x3434ea){return _0x4852ec(_0x3434ea);},'yLUFy':_0x3bfc81(0xc7)},_0x3f3ecf=process[_0x3bfc81(0xea)][_0x3bfc81(0x11c)](0x2);return _0x3c9fac['GdtiV'](captureError,_0x3c9fac[_0x3bfc81(0xbd)](require,_0x3c9fac[_0x3bfc81(0xfa)]),_0x149c6f[_0x3bfc81(0xea)],_0x3f3ecf);})[a44_0x49014d(0xd5)]('node',Constants[a44_0x49014d(0xf8)][a44_0x49014d(0xbf)],function(_0x47dff2){const _0x3cd63c=a44_0x49014d,_0x14c6d3={'Rgwhy':function(_0x2470a6,_0x32d9ea,_0x475397,_0x130513){return _0x2470a6(_0x32d9ea,_0x475397,_0x130513);},'blrTv':function(_0x5ad7f8,_0xf6060c){return _0x5ad7f8(_0xf6060c);},'SFoxw':_0x3cd63c(0xd6)},_0x1439eb=process[_0x3cd63c(0xea)][_0x3cd63c(0x11c)](0x2);return _0x14c6d3['Rgwhy'](captureError,_0x14c6d3[_0x3cd63c(0x119)](require,_0x14c6d3[_0x3cd63c(0xcf)]),_0x47dff2['argv'],_0x1439eb);})[a44_0x49014d(0xd5)](a44_0x49014d(0xf6),Constants[a44_0x49014d(0x100)]['INFO'],function(_0x13a56f){const _0x4448a1=a44_0x49014d,_0x13d05a={'xQZxX':function(_0x2e8a7,_0xcb40f5,_0x190eb3,_0x5200bc){return _0x2e8a7(_0xcb40f5,_0x190eb3,_0x5200bc);},'gsxOs':function(_0x2c391c,_0x35f0ea){return _0x2c391c(_0x35f0ea);},'DSMUs':_0x4448a1(0x121)},_0x324e98=process['argv'][_0x4448a1(0x11c)](0x2);return _0x13d05a[_0x4448a1(0xef)](captureError,_0x13d05a[_0x4448a1(0xe5)](require,_0x13d05a['DSMUs']),_0x13a56f['argv'],_0x324e98);})[a44_0x49014d(0xd5)]('codeceptjs',Constants['CODECEPTJS'][a44_0x49014d(0xbf)],function(_0x129ca2){const _0x5c41ff=a44_0x49014d,_0x526ffe={'OpOSz':function(_0x200903,_0x395e7f,_0x21a57f,_0x3ec990){return _0x200903(_0x395e7f,_0x21a57f,_0x3ec990);},'uapKE':function(_0x1869d0,_0xf4f4d){return _0x1869d0(_0xf4f4d);},'CLXnh':_0x5c41ff(0x117)},_0x26b5bd=process[_0x5c41ff(0xea)]['slice'](0x2);return _0x526ffe['OpOSz'](captureError,_0x526ffe['uapKE'](require,_0x526ffe[_0x5c41ff(0xc8)]),_0x129ca2[_0x5c41ff(0xea)],_0x26b5bd);})[a44_0x49014d(0xd5)]('ats',Constants[a44_0x49014d(0x112)]['INFO'],function(_0x5c33f6){const _0x3950bc=a44_0x49014d,_0x2c6428={'StHgG':function(_0x329944,_0x59a0e9,_0x132463){return _0x329944(_0x59a0e9,_0x132463);},'DXAIO':function(_0x4a69ba,_0x11fb01){return _0x4a69ba(_0x11fb01);},'tVagS':_0x3950bc(0x12a)},_0x9010d5=process[_0x3950bc(0xea)][_0x3950bc(0x11c)](0x2);return _0x2c6428[_0x3950bc(0x103)](captureError,_0x2c6428[_0x3950bc(0xf5)](require,_0x2c6428[_0x3950bc(0xeb)]),_0x5c33f6);})[a44_0x49014d(0xd5)](a44_0x49014d(0x11d),Constants[a44_0x49014d(0xe8)][a44_0x49014d(0xbf)],function(_0x52e237){const _0x2620a6=a44_0x49014d,_0x57a66c={'IZDgf':function(_0x2ae5d5,_0x321fc8){return _0x2ae5d5(_0x321fc8);}};return _0x57a66c[_0x2620a6(0x127)](runIntegrations,_0x52e237);})[a44_0x49014d(0xd5)](a44_0x49014d(0x107),Constants[a44_0x49014d(0xbb)]['INFO'],function(_0x35b40a){const _0x3283aa=a44_0x49014d,_0x2cb8bf={'flxXB':function(_0x203927,_0x5f2b1a,_0x16750a,_0x51a06d){return _0x203927(_0x5f2b1a,_0x16750a,_0x51a06d);},'Nwulf':function(_0x165b30,_0x424b5d){return _0x165b30(_0x424b5d);},'SLieY':_0x3283aa(0x122)},_0x3dcd00=process[_0x3283aa(0xea)][_0x3283aa(0x11c)](0x2);return _0x2cb8bf['flxXB'](captureError,_0x2cb8bf[_0x3283aa(0xfb)](require,_0x2cb8bf[_0x3283aa(0xf1)]),_0x35b40a['argv'],_0x3dcd00);})['demandCommand'](0x1,a44_0x49014d(0xfd))[a44_0x49014d(0x104)](null)[a44_0x49014d(0xea)];!helper[a44_0x49014d(0xbe)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x49014d(0xcd)&&console[a44_0x49014d(0x123)](a44_0x49014d(0xba));
2
+ 'use strict';function a44_0x1dc8(){const _0x5b5ade=['../helpers/helper','PLAYWRIGHT','format','avLjL','NIGHTWATCH','./mocha/command','run','message','PWhKT','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','mrvpP','UvKuw','info','findAndReplace','pFgBM','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','CODECEPTJS','GQYaQ','.browserstack','422409mnbAle','ORkMj','command','integrations','JEST','./vanilla-js/command','unlinkSync','Running\x20SDK\x20with\x20args\x20','96zxrmCV','INFO','hdpHa','--opts','WgvxL','path','lqxrW','framework','describe','SDKTestSuccessful','util','ats','usage:\x20$0\x20<command>\x20[args]','RzjUb','push','startMonitoring','QgDKF','SDK_CLEANUP','HST','vgAjF','join','alias','argv','valEJ','handler','nightwatch','setBrowserStackAutomationDisable','mocha/lib/cli/run.js','end','../helpers/logger','231028hHfbnp','EVENTS','--no-package','uozBW','includes','nFqxj','codeceptjs','Parsing\x20command\x20line\x20arguements','2948040vtqzXo','idxIv','node','mkvbb','8LUShWz','start','assign','setTestObservabilityDisable','ixFSr','existsSync','../helpers/performance/constants','NOIzV','./nightwatch/command','dot-notation','../helpers/utilities','isUndefined','jest','./cucumber-js/command','usage','xzZAL','error','./integrations/command','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','116175CQwlcV','slice','gHkrU','homedir','3026KlRXRL','VANILLA','fireFunnelTestEvent','./codeceptjs/command','202LhhWoN','mocha/lib/cli/commands.js','find','demandCommand','winstonLogger','parserConfiguration','debug','--require','wrap','config','gYoVU','exitCode','889791YakwBs','VLHXy','./utils/constants','SDK_SETUP','mocha','help','playwright','INTEGRATIONS','.local-not-set.json','mIZzz','dLtcd','MOCHA','VsZOb','VERSION','3778330nsXhkL'];a44_0x1dc8=function(){return _0x5b5ade;};return a44_0x1dc8();}const a44_0x284b6e=a44_0x5595;(function(_0x5051a3,_0x3a379b){const _0x534a39=a44_0x5595,_0x55add4=_0x5051a3();while(!![]){try{const _0x291cd8=-parseInt(_0x534a39(0x1fe))/0x1*(parseInt(_0x534a39(0x1fa))/0x2)+-parseInt(_0x534a39(0x1b1))/0x3+-parseInt(_0x534a39(0x1d7))/0x4+-parseInt(_0x534a39(0x1f6))/0x5*(-parseInt(_0x534a39(0x1b9))/0x6)+-parseInt(_0x534a39(0x20a))/0x7*(parseInt(_0x534a39(0x1e3))/0x8)+parseInt(_0x534a39(0x1df))/0x9+parseInt(_0x534a39(0x218))/0xa;if(_0x291cd8===_0x3a379b)break;else _0x55add4['push'](_0x55add4['shift']());}catch(_0x16b12b){_0x55add4['push'](_0x55add4['shift']());}}}(a44_0x1dc8,0x6cd9e));const fs=require('fs'),path=require(a44_0x284b6e(0x1be)),util=require(a44_0x284b6e(0x1c3)),{requireModule}=require('../helpers/helper'),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a44_0x284b6e(0x1e9))[a44_0x284b6e(0x1d8)],helper=require(a44_0x284b6e(0x219)),utilities=require(a44_0x284b6e(0x1ed)),runIntegrations=require(a44_0x284b6e(0x1f4)),yargs=require('yargs'),Constants=require(a44_0x284b6e(0x20c)),logger=require(a44_0x284b6e(0x1d6))[a44_0x284b6e(0x202)],origArgs=Object[a44_0x284b6e(0x1e5)]([],process[a44_0x284b6e(0x1cf)]),captureError=async(_0xe5acc6,_0x33840c,_0x556f2a=null)=>{const _0x3a7a45=a44_0x284b6e,_0x290364={'WgvxL':function(_0x4e4b5b,_0x3057cb,_0x3c698b){return _0x4e4b5b(_0x3057cb,_0x3c698b);},'idxIv':_0x3a7a45(0x1c2)};try{logger[_0x3a7a45(0x225)](_0x3a7a45(0x1b8)+origArgs['join']('\x20')),await _0x290364[_0x3a7a45(0x1bd)](_0xe5acc6,_0x33840c,_0x556f2a);}catch(_0x598dcb){process[_0x3a7a45(0x209)]=0x1,logger['error'](util[_0x3a7a45(0x21b)](_0x598dcb));const _0x252014={};_0x252014['globalException']=_0x598dcb[_0x3a7a45(0x220)];const _0xb85ca5=_0x252014;PerformanceTester[_0x3a7a45(0x1d5)](PerformanceEvents[_0x3a7a45(0x20d)],![],util['format'](_0x598dcb));if(helper['isUndefined'](global[_0x3a7a45(0x207)])&&helper[_0x3a7a45(0x1ee)](global[_0x3a7a45(0x1c0)]))return;try{utilities[_0x3a7a45(0x1fc)](_0x290364[_0x3a7a45(0x1e0)],_0xb85ca5,global[_0x3a7a45(0x207)],global[_0x3a7a45(0x1c0)]);}catch(_0x3ab98c){logger[_0x3a7a45(0x204)](_0x3a7a45(0x222)+_0x3ab98c['stack']);}PerformanceTester['end'](PerformanceEvents[_0x3a7a45(0x20d)],![],util[_0x3a7a45(0x21b)](_0x598dcb));}finally{PerformanceTester[_0x3a7a45(0x1e4)](PerformanceEvents[_0x3a7a45(0x1ca)]);}};try{const browserstackFolderPath=path[a44_0x284b6e(0x1cd)](helper[a44_0x284b6e(0x1f9)](),a44_0x284b6e(0x1b0));if(fs[a44_0x284b6e(0x1e8)](browserstackFolderPath)){const filePath=path[a44_0x284b6e(0x1cd)](browserstackFolderPath,a44_0x284b6e(0x212));fs[a44_0x284b6e(0x1e8)](filePath)&&fs[a44_0x284b6e(0x1b7)](filePath);}}catch(a44_0x2fa533){logger[a44_0x284b6e(0x204)](a44_0x284b6e(0x1f5)+a44_0x2fa533['message']);}process['argv'][a44_0x284b6e(0x1db)]('mocha')&&(!process[a44_0x284b6e(0x1cf)][a44_0x284b6e(0x1db)](a44_0x284b6e(0x1bc))&&process['argv'][a44_0x284b6e(0x1c7)]('--no-opts'),!process[a44_0x284b6e(0x1cf)][a44_0x284b6e(0x200)](_0x2de876=>_0x2de876['includes']('--config'))&&process['argv'][a44_0x284b6e(0x1c7)]('--no-config'),!process['argv'][a44_0x284b6e(0x1db)]('--package')&&process[a44_0x284b6e(0x1cf)][a44_0x284b6e(0x1c7)](a44_0x284b6e(0x1d9)),helper[a44_0x284b6e(0x226)](process[a44_0x284b6e(0x1cf)],a44_0x284b6e(0x205),'--mochaRequire'));PerformanceTester[a44_0x284b6e(0x1c8)](),PerformanceTester[a44_0x284b6e(0x1e4)](PerformanceEvents[a44_0x284b6e(0x20d)]);const a44_0xe0373e={};a44_0xe0373e[a44_0x284b6e(0x1ec)]=![];const argv=yargs[a44_0x284b6e(0x203)](a44_0xe0373e)[a44_0x284b6e(0x1f1)](a44_0x284b6e(0x1c5))[a44_0x284b6e(0x1ce)]('v','version')[a44_0x284b6e(0x1c1)]('v')[a44_0x284b6e(0x1ce)]('h',a44_0x284b6e(0x20f))[a44_0x284b6e(0x20f)](a44_0x284b6e(0x20f))['showHelpOnFail'](!![],Constants[a44_0x284b6e(0x217)]['HELP'])[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1ef),Constants[a44_0x284b6e(0x1b5)][a44_0x284b6e(0x1ba)],function(_0x2b5c0b){const _0x88a908=a44_0x284b6e,_0x4ff357={'uozBW':function(_0x12fae9,_0x4ab98b,_0x40369c,_0xe2b979){return _0x12fae9(_0x4ab98b,_0x40369c,_0xe2b979);},'eCWiH':function(_0x30f3d7,_0x1781be){return _0x30f3d7(_0x1781be);},'NOIzV':'./jest/command'};helper[_0x88a908(0x1e6)](),helper[_0x88a908(0x1d3)]();const _0x441982=process[_0x88a908(0x1cf)]['slice'](0x2);return _0x4ff357[_0x88a908(0x1da)](captureError,_0x4ff357['eCWiH'](require,_0x4ff357[_0x88a908(0x1ea)]),_0x2b5c0b[_0x88a908(0x1cf)],_0x441982);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x20e),Constants[a44_0x284b6e(0x215)][a44_0x284b6e(0x1ba)],_0x92db45=>{const _0x65a167=a44_0x284b6e,_0x96728f={'ixFSr':function(_0x25c4fb,_0x2907f7,_0x147ac4){return _0x25c4fb(_0x2907f7,_0x147ac4);},'depbB':function(_0x4229f0,_0x4c883f){return _0x4229f0(_0x4c883f);},'mkvbb':_0x65a167(0x21e),'ORkMj':_0x65a167(0x1de),'nFqxj':_0x65a167(0x1d4),'dLtcd':_0x65a167(0x20e),'mrvpP':_0x65a167(0x1ff),'xzZAL':'mocha/lib/cli/cli.js','gYoVU':function(_0x2fe41b){return _0x2fe41b();}};logger[_0x65a167(0x204)](_0x96728f[_0x65a167(0x1b2)]);const _0x4b015d=_0x96728f['ixFSr'](requireModule,_0x96728f[_0x65a167(0x1dc)],_0x96728f[_0x65a167(0x214)]),_0x24f898=_0x96728f['ixFSr'](requireModule,_0x96728f[_0x65a167(0x223)],_0x96728f[_0x65a167(0x214)]);process[_0x65a167(0x1cf)]=process['argv'][_0x65a167(0x1f7)](0x1),delete _0x4b015d[_0x65a167(0x1d1)],_0x4b015d[_0x65a167(0x1d1)]=function(_0x1027b4){const _0x17b0ce=_0x65a167;return _0x96728f[_0x17b0ce(0x1e7)](captureError,_0x96728f['depbB'](require,_0x96728f[_0x17b0ce(0x1e2)]),_0x1027b4);},_0x24f898[_0x65a167(0x21f)]=_0x4b015d;const {main:_0x215a07}=_0x96728f['ixFSr'](requireModule,_0x96728f[_0x65a167(0x1f2)],_0x96728f[_0x65a167(0x214)]);_0x96728f[_0x65a167(0x208)](_0x215a07);})[a44_0x284b6e(0x1b3)]('cucumber-js',Constants['CUCUMBER'][a44_0x284b6e(0x1ba)],function(_0x23adce){const _0x4f097d=a44_0x284b6e,_0x368597={'vgAjF':function(_0x1d5c2f,_0x1636f8,_0x12ef77,_0x582f09){return _0x1d5c2f(_0x1636f8,_0x12ef77,_0x582f09);},'kAwLm':function(_0x24fc78,_0x2b9cca){return _0x24fc78(_0x2b9cca);},'pFgBM':_0x4f097d(0x1f0)},_0x28b5e6=process['argv'][_0x4f097d(0x1f7)](0x2);return _0x368597[_0x4f097d(0x1cc)](captureError,_0x368597['kAwLm'](require,_0x368597[_0x4f097d(0x227)]),_0x23adce['argv'],_0x28b5e6);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1e1),Constants[a44_0x284b6e(0x1fb)][a44_0x284b6e(0x1ba)],function(_0x47da88){const _0x5d46e1=a44_0x284b6e,_0x3d339f={'lqxrW':function(_0x4d5cdc,_0x4a2751,_0x2e90af,_0x3cfee5){return _0x4d5cdc(_0x4a2751,_0x2e90af,_0x3cfee5);},'ZITMN':function(_0x3e8c7b,_0x131db8){return _0x3e8c7b(_0x131db8);},'gHkrU':_0x5d46e1(0x1b6)},_0x3582f1=process[_0x5d46e1(0x1cf)][_0x5d46e1(0x1f7)](0x2);return _0x3d339f[_0x5d46e1(0x1bf)](captureError,_0x3d339f['ZITMN'](require,_0x3d339f[_0x5d46e1(0x1f8)]),_0x47da88['argv'],_0x3582f1);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1d2),Constants[a44_0x284b6e(0x21d)][a44_0x284b6e(0x1ba)],function(_0x4e4da9){const _0x13be59=a44_0x284b6e,_0x28bdb8={'avLjL':function(_0x54e0aa,_0xa90382,_0x112c6f,_0x11a692){return _0x54e0aa(_0xa90382,_0x112c6f,_0x11a692);},'UvKuw':function(_0x265694,_0x44d88f){return _0x265694(_0x44d88f);},'UVpQS':_0x13be59(0x1eb)},_0x4f0f25=process[_0x13be59(0x1cf)]['slice'](0x2);return _0x28bdb8[_0x13be59(0x21c)](captureError,_0x28bdb8[_0x13be59(0x224)](require,_0x28bdb8['UVpQS']),_0x4e4da9[_0x13be59(0x1cf)],_0x4f0f25);})['command'](a44_0x284b6e(0x1dd),Constants[a44_0x284b6e(0x229)][a44_0x284b6e(0x1ba)],function(_0xdb85b1){const _0x4efe1b=a44_0x284b6e,_0x273b50={'GQYaQ':function(_0x3bb8ed,_0x4fff92,_0x3f3049,_0xb0e73a){return _0x3bb8ed(_0x4fff92,_0x3f3049,_0xb0e73a);},'ZjScI':function(_0x3094da,_0x550729){return _0x3094da(_0x550729);},'QgDKF':_0x4efe1b(0x1fd)},_0x42fbeb=process[_0x4efe1b(0x1cf)][_0x4efe1b(0x1f7)](0x2);return _0x273b50[_0x4efe1b(0x22a)](captureError,_0x273b50['ZjScI'](require,_0x273b50[_0x4efe1b(0x1c9)]),_0xdb85b1['argv'],_0x42fbeb);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1c4),Constants[a44_0x284b6e(0x1cb)]['INFO'],function(_0x2bc38e){const _0x188cba=a44_0x284b6e,_0x7ee1a9={'RzjUb':function(_0x358bd8,_0xeeaf14,_0x259d9f){return _0x358bd8(_0xeeaf14,_0x259d9f);},'hdpHa':function(_0x756768,_0x1787c5){return _0x756768(_0x1787c5);},'VLHXy':'../../ats/src/index'},_0x47d4b3=process[_0x188cba(0x1cf)][_0x188cba(0x1f7)](0x2);return _0x7ee1a9[_0x188cba(0x1c6)](captureError,_0x7ee1a9[_0x188cba(0x1bb)](require,_0x7ee1a9[_0x188cba(0x20b)]),_0x2bc38e);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1b4),Constants[a44_0x284b6e(0x211)][a44_0x284b6e(0x1ba)],function(_0x5c214a){const _0x2cec9a=a44_0x284b6e,_0x1efd11={'valEJ':function(_0x482b74,_0x33cbc5){return _0x482b74(_0x33cbc5);}};return _0x1efd11[_0x2cec9a(0x1d0)](runIntegrations,_0x5c214a);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x210),Constants[a44_0x284b6e(0x21a)]['INFO'],function(_0x556af7){const _0x21f242=a44_0x284b6e,_0x5554be={'PWhKT':function(_0x58ca17,_0x49b5d3,_0x504671,_0x36629b){return _0x58ca17(_0x49b5d3,_0x504671,_0x36629b);},'mIZzz':function(_0x7e02bf,_0x2e4248){return _0x7e02bf(_0x2e4248);},'VsZOb':'./playwright/command'},_0x49221b=process[_0x21f242(0x1cf)][_0x21f242(0x1f7)](0x2);return _0x5554be[_0x21f242(0x221)](captureError,_0x5554be[_0x21f242(0x213)](require,_0x5554be[_0x21f242(0x216)]),_0x556af7[_0x21f242(0x1cf)],_0x49221b);})[a44_0x284b6e(0x201)](0x1,a44_0x284b6e(0x228))[a44_0x284b6e(0x206)](null)[a44_0x284b6e(0x1cf)];function a44_0x5595(_0x14a871,_0x37bb4c){const _0x1dc8d2=a44_0x1dc8();return a44_0x5595=function(_0x5595ae,_0x540672){_0x5595ae=_0x5595ae-0x1b0;let _0x470119=_0x1dc8d2[_0x5595ae];return _0x470119;},a44_0x5595(_0x14a871,_0x37bb4c);}!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x284b6e(0x1c4)&&console[a44_0x284b6e(0x1f3)]('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_0x4a8f2d=a45_0x2fdd;(function(_0x4298f4,_0x178fba){const _0x57ef3f=a45_0x2fdd,_0x391377=_0x4298f4();while(!![]){try{const _0x2f9c92=parseInt(_0x57ef3f(0xcd))/0x1+parseInt(_0x57ef3f(0xba))/0x2+parseInt(_0x57ef3f(0xd0))/0x3+-parseInt(_0x57ef3f(0xa1))/0x4+-parseInt(_0x57ef3f(0xa3))/0x5+parseInt(_0x57ef3f(0xa4))/0x6+-parseInt(_0x57ef3f(0xaf))/0x7;if(_0x2f9c92===_0x178fba)break;else _0x391377['push'](_0x391377['shift']());}catch(_0xb0e6d9){_0x391377['push'](_0x391377['shift']());}}}(a45_0x45a0,0x76a4c));const fs=require('fs'),helper=require(a45_0x4a8f2d(0xc6)),utilities=require('../helpers/utilities'),yaml=require('js-yaml'),yargs=require(a45_0x4a8f2d(0xc8)),logger=require(a45_0x4a8f2d(0xb7))['winstonLogger'],configFileTemplate=__dirname+a45_0x4a8f2d(0xa2),configFileTemplatePW=__dirname+a45_0x4a8f2d(0xd6),configFile=process[a45_0x4a8f2d(0xe0)]()+'/browserstack.yml',packageFile=process[a45_0x4a8f2d(0xe0)]()+a45_0x4a8f2d(0xce),frameworks=[a45_0x4a8f2d(0xb9),'jest',a45_0x4a8f2d(0xae),a45_0x4a8f2d(0xd2),'nightwatch',a45_0x4a8f2d(0xbb),a45_0x4a8f2d(0xcb)];let config;logger[a45_0x4a8f2d(0xc0)](a45_0x4a8f2d(0xc1)),createConfigurationFile(yargs['argv'][a45_0x4a8f2d(0xda)],yargs[a45_0x4a8f2d(0xc3)]['key'],yargs['argv']['playwright']);try{sdkSetup();}catch(a45_0x2ea84a){logger[a45_0x4a8f2d(0xa5)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a45_0x2ea84a);}addScriptInPackageJson();function createConfigurationFile(_0x45c73e,_0x11d76c,_0x332855=![]){const _0x549960=a45_0x4a8f2d,_0x506f8d={};_0x506f8d[_0x549960(0xe1)]=_0x549960(0xb8),_0x506f8d[_0x549960(0xd8)]=_0x549960(0xc9),_0x506f8d[_0x549960(0xcc)]='YOUR_ACCESS_KEY';const _0x5c75c9=_0x506f8d;try{let _0xf55139=fs[_0x549960(0xde)](_0x332855?configFileTemplatePW:configFileTemplate,_0x5c75c9[_0x549960(0xe1)]);_0x45c73e&&(_0xf55139=_0xf55139[_0x549960(0xaa)](_0x5c75c9['WnMKs'],_0x45c73e)),_0x11d76c&&(_0xf55139=_0xf55139[_0x549960(0xaa)](_0x5c75c9[_0x549960(0xcc)],_0x11d76c)),config=yaml[_0x549960(0xdc)](_0xf55139),fs['writeFileSync'](configFile,_0xf55139,_0x1956c0=>{const _0x434fc8=_0x549960;_0x1956c0&&logger[_0x434fc8(0xa6)](_0x1956c0);});}catch(_0x1f2b2d){logger[_0x549960(0xa6)](_0x1f2b2d);}}function addPostInstallScript(_0x1b595c,_0x83c8bf){const _0x1d6ea8=a45_0x4a8f2d,_0x476faa={};_0x476faa[_0x1d6ea8(0xd7)]=_0x1d6ea8(0xca),_0x476faa[_0x1d6ea8(0xbe)]=_0x1d6ea8(0xc2),_0x476faa[_0x1d6ea8(0xdd)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0xf310c3=_0x476faa;let _0x7410d1=_0x1b595c[_0xf310c3[_0x1d6ea8(0xd7)]];if(_0x7410d1&&_0x7410d1['includes'](_0xf310c3[_0x1d6ea8(0xbe)]))return;!_0x7410d1?_0x7410d1=_0xf310c3[_0x1d6ea8(0xbe)]:_0x7410d1+=_0xf310c3[_0x1d6ea8(0xdd)],_0x83c8bf[_0x1d6ea8(0xd1)]([_0xf310c3[_0x1d6ea8(0xd7)],_0x7410d1]);}function addScriptInPackageJson(){const _0x46308e=a45_0x4a8f2d,_0x30a8c3={'eppsy':_0x46308e(0xb8),'TIjAi':function(_0x55cee7,_0x148a9e){return _0x55cee7<_0x148a9e;},'oQWbB':function(_0x1cd766,_0x2f5934,_0x1a50c5){return _0x1cd766(_0x2f5934,_0x1a50c5);},'Gylws':function(_0x26141f,_0x1f4bf8,_0xb7c5c2){return _0x26141f(_0x1f4bf8,_0xb7c5c2);},'LDrFy':function(_0x25876b,_0x890051,_0x5d3f9d){return _0x25876b(_0x890051,_0x5d3f9d);},'crJPf':function(_0x4dd209,_0x3ae0e5){return _0x4dd209!==_0x3ae0e5;},'oawcz':_0x46308e(0xe3)},_0x41f817=JSON['parse'](fs[_0x46308e(0xde)](packageFile,_0x30a8c3[_0x46308e(0xac)])),_0x322a3d=[];for(let _0x365e15=0x0;_0x30a8c3[_0x46308e(0xa8)](_0x365e15,frameworks['length']);_0x365e15+=0x1){const _0x57658e=_0x30a8c3[_0x46308e(0xb3)](findScriptsWithFramework,_0x41f817[_0x46308e(0xbc)],frameworks[_0x365e15]);for(let _0x20335e=0x0;_0x30a8c3['TIjAi'](_0x20335e,_0x57658e[_0x46308e(0xb5)]);_0x20335e+=0x1){_0x322a3d[_0x46308e(0xd1)](_0x30a8c3['Gylws'](getUpdatedCommand,_0x41f817[_0x46308e(0xbc)],_0x57658e[_0x20335e]));}_0x30a8c3[_0x46308e(0xb6)](addPostInstallScript,_0x41f817['scripts'],_0x322a3d);}const _0x50301f={..._0x41f817[_0x46308e(0xbc)]},_0x556e93=_0x50301f;for(let _0x151fde=0x0;_0x30a8c3[_0x46308e(0xa8)](_0x151fde,_0x322a3d[_0x46308e(0xb5)]);_0x151fde+=0x1){_0x556e93[_0x322a3d[_0x151fde][0x0]]=_0x322a3d[_0x151fde][0x1];}_0x30a8c3['crJPf'](JSON[_0x46308e(0xc4)](_0x41f817['scripts']),JSON[_0x46308e(0xc4)](_0x556e93))&&(logger[_0x46308e(0xc0)](_0x30a8c3[_0x46308e(0xc7)]),_0x41f817[_0x46308e(0xbc)]=_0x556e93,fs['writeFileSync'](packageFile,JSON[_0x46308e(0xc4)](_0x41f817,null,0x2),_0x18f456=>{_0x18f456&&logger['error'](_0x18f456);}));};function findScriptsWithFramework(_0xf3e2d0,_0xcff916){const _0x2a1530=a45_0x4a8f2d,_0x353a17={};_0x353a17[_0x2a1530(0xdb)]=function(_0x139a4e,_0x2b297b){return _0x139a4e<_0x2b297b;},_0x353a17[_0x2a1530(0xb4)]='browserstack-node-sdk';const _0x4508f4=_0x353a17,_0x127794=[],_0x17e481=Object[_0x2a1530(0xbf)](_0xf3e2d0);for(let _0x6f80e7=0x0;_0x4508f4[_0x2a1530(0xdb)](_0x6f80e7,_0x17e481['length']);_0x6f80e7+=0x1){_0x17e481[_0x6f80e7][0x1][_0x2a1530(0xab)](_0xcff916)&&!_0x17e481[_0x6f80e7][0x1][_0x2a1530(0xab)](_0x4508f4[_0x2a1530(0xb4)])&&_0x127794[_0x2a1530(0xd1)](_0x17e481[_0x6f80e7][0x0]);}return _0x127794;}function getUpdatedCommand(_0x1e1b47,_0x48f98c){const _0x269241=a45_0x4a8f2d,_0x2f7557={};_0x2f7557[_0x269241(0xa7)]=function(_0x29dde8,_0x3a947a){return _0x29dde8!==_0x3a947a;},_0x2f7557[_0x269241(0xd4)]=_0x269241(0xb1),_0x2f7557['gMFdZ']=function(_0x5cc9ff,_0x2bbeda){return _0x5cc9ff===_0x2bbeda;};const _0x45f3ac=_0x2f7557,_0x2b3450=_0x48f98c+'-browserstack',_0x25a733=_0x1e1b47[_0x48f98c],_0x2985d3=_0x25a733[_0x269241(0xb0)]('\x20');for(const _0x33e45d of frameworks){if(_0x45f3ac['naYvT'](_0x2985d3[_0x269241(0xd9)](_0x33e45d),-0x1)){_0x2985d3['splice'](_0x2985d3[_0x269241(0xd9)](_0x33e45d),0x0,_0x45f3ac[_0x269241(0xd4)]);break;}}let _0x39aa60=_0x2985d3[_0x269241(0xdf)]('\x20');return _0x45f3ac['gMFdZ'](_0x39aa60,_0x25a733)&&(_0x39aa60=_0x269241(0xa9)+_0x25a733),[_0x2b3450,_0x39aa60];}function a45_0x2fdd(_0x325157,_0x3435ab){const _0x45a0a3=a45_0x45a0();return a45_0x2fdd=function(_0x2fdd05,_0x2b097f){_0x2fdd05=_0x2fdd05-0xa1;let _0x4be273=_0x45a0a3[_0x2fdd05];return _0x4be273;},a45_0x2fdd(_0x325157,_0x3435ab);}function sdkSetup(){const _0x24cb17=a45_0x4a8f2d,_0xb8e862={};_0xb8e862[_0x24cb17(0xc5)]=_0x24cb17(0xcf),_0xb8e862[_0x24cb17(0xb2)]=_0x24cb17(0xad);const _0x2e9a10=_0xb8e862;if(helper['isUndefined'](config))return;config[_0x24cb17(0xd5)]=_0x2e9a10[_0x24cb17(0xc5)];try{utilities[_0x24cb17(0xe2)](_0x2e9a10['PSWlj'],{},config,'');}catch(_0x32299a){logger[_0x24cb17(0xa5)](_0x24cb17(0xd3)+_0x32299a);}}logger['info'](a45_0x4a8f2d(0xbd));function a45_0x45a0(){const _0x396797=['4406900MeCLdV','329388XaBaTK','debug','error','naYvT','TIjAi','browserstack-node-sdk\x20','replace','includes','eppsy','SDKSetup','cucumber-js','1807645rfIrVe','split','browserstack-node-sdk','PSWlj','oQWbB','GZbFL','length','LDrFy','../helpers/logger','utf8','mocha','1589674yMjtYG','codeceptjs','scripts','Setup\x20completed','KdJuC','entries','info','Creating\x20configuration\x20file...','npm\x20update\x20browserstack-node-sdk','argv','stringify','iZJhB','../helpers/helper','oawcz','yargs','YOUR_USERNAME','postinstall','playwright','UxWrE','251144iPhOKb','/package.json','node-setup','1914510rrcpRb','push','node','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','rzBou','source','/../../browserstack.pw.yml.sample','tOUuS','WnMKs','indexOf','username','OEKMf','load','htzuZ','readFileSync','join','cwd','EODnx','fireFunnelTestEvent','Adding\x20new\x20script(s)\x20in\x20package.json...','453880yEQWzV','/../../browserstack.yml.sample'];a45_0x45a0=function(){return _0x396797;};return a45_0x45a0();}
3
+ const a45_0x30bf4a=a45_0x5908;(function(_0x1922dd,_0x35dcf1){const _0x1130b8=a45_0x5908,_0x35f927=_0x1922dd();while(!![]){try{const _0x1046bd=-parseInt(_0x1130b8(0x1e1))/0x1+parseInt(_0x1130b8(0x1c6))/0x2+parseInt(_0x1130b8(0x1b6))/0x3+parseInt(_0x1130b8(0x1a3))/0x4+-parseInt(_0x1130b8(0x1d2))/0x5+-parseInt(_0x1130b8(0x1c7))/0x6*(parseInt(_0x1130b8(0x1b5))/0x7)+parseInt(_0x1130b8(0x1b9))/0x8*(parseInt(_0x1130b8(0x1cf))/0x9);if(_0x1046bd===_0x35dcf1)break;else _0x35f927['push'](_0x35f927['shift']());}catch(_0x4664da){_0x35f927['push'](_0x35f927['shift']());}}}(a45_0x55d8,0x974ac));const fs=require('fs'),helper=require(a45_0x30bf4a(0x1de)),utilities=require('../helpers/utilities'),yaml=require(a45_0x30bf4a(0x1cd)),yargs=require(a45_0x30bf4a(0x1df)),logger=require(a45_0x30bf4a(0x1b1))[a45_0x30bf4a(0x19c)],configFileTemplate=__dirname+a45_0x30bf4a(0x1d8),configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a45_0x30bf4a(0x1c8)]()+a45_0x30bf4a(0x1c1),packageFile=process[a45_0x30bf4a(0x1c8)]()+a45_0x30bf4a(0x19e),frameworks=[a45_0x30bf4a(0x1bc),a45_0x30bf4a(0x19b),a45_0x30bf4a(0x1be),a45_0x30bf4a(0x1d9),a45_0x30bf4a(0x19f),'codeceptjs',a45_0x30bf4a(0x1d1)];let config;logger[a45_0x30bf4a(0x1dc)]('Creating\x20configuration\x20file...'),createConfigurationFile(yargs['argv'][a45_0x30bf4a(0x1af)],yargs['argv'][a45_0x30bf4a(0x1b3)],yargs[a45_0x30bf4a(0x1b0)]['playwright']);try{sdkSetup();}catch(a45_0x2bbafd){logger[a45_0x30bf4a(0x19a)](a45_0x30bf4a(0x1a9)+a45_0x2bbafd);}function a45_0x5908(_0x45b8bb,_0x401751){const _0x55d814=a45_0x55d8();return a45_0x5908=function(_0x59082c,_0x49418f){_0x59082c=_0x59082c-0x19a;let _0x299df5=_0x55d814[_0x59082c];return _0x299df5;},a45_0x5908(_0x45b8bb,_0x401751);}function a45_0x55d8(){const _0x4d9de7=['Adding\x20new\x20script(s)\x20in\x20package.json...','mocha','replace','cucumber-js','stringify','ATLZF','/browserstack.yml','Cxiyw','writeFileSync','dNzMi','pVpZG','1020514WEfCvs','24MzjCxf','cwd','scripts','entries','\x20&&\x20npm\x20update\x20browserstack-node-sdk','NQVzT','js-yaml','SMGRt','38025PwdEVW','node-setup','playwright','4820665pMLiwU','iagIZ','fireFunnelTestEvent','wLFcp','MHNjq','XIvHi','/../../browserstack.yml.sample','node','TLHNK','utf8','info','source','../helpers/helper','yargs','browserstack-node-sdk','759948SnHXTl','push','debug','jest','winstonLogger','load','/package.json','nightwatch','UUklH','length','npm\x20update\x20browserstack-node-sdk','1433960JQBQQi','YOUR_ACCESS_KEY','error','Setup\x20completed','gAZoK','readFileSync','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','splice','includes','dzdTN','qzvHp','browserstack-node-sdk\x20','username','argv','../helpers/logger','parse','key','RwVhP','2026276QIAMXf','2106219ckMGEp','WTbXb','indexOf','3656vbvLYV','YbhYO'];a45_0x55d8=function(){return _0x4d9de7;};return a45_0x55d8();}addScriptInPackageJson();function createConfigurationFile(_0x2fd1f1,_0x1bb53d,_0x588ed2=![]){const _0xe47439=a45_0x30bf4a,_0xf7a644={};_0xf7a644['NQVzT']=_0xe47439(0x1db),_0xf7a644[_0xe47439(0x1b4)]='YOUR_USERNAME',_0xf7a644[_0xe47439(0x1d5)]=_0xe47439(0x1a4);const _0x292411=_0xf7a644;try{let _0x42a0ab=fs[_0xe47439(0x1a8)](_0x588ed2?configFileTemplatePW:configFileTemplate,_0x292411[_0xe47439(0x1cc)]);_0x2fd1f1&&(_0x42a0ab=_0x42a0ab[_0xe47439(0x1bd)](_0x292411[_0xe47439(0x1b4)],_0x2fd1f1)),_0x1bb53d&&(_0x42a0ab=_0x42a0ab[_0xe47439(0x1bd)](_0x292411['wLFcp'],_0x1bb53d)),config=yaml[_0xe47439(0x19d)](_0x42a0ab),fs[_0xe47439(0x1c3)](configFile,_0x42a0ab,_0x1687e2=>{const _0x4db97c=_0xe47439;_0x1687e2&&logger[_0x4db97c(0x1a5)](_0x1687e2);});}catch(_0x414b8b){logger[_0xe47439(0x1a5)](_0x414b8b);}}function addPostInstallScript(_0x247300,_0x37176f){const _0x4a5887=a45_0x30bf4a,_0x12b746={};_0x12b746[_0x4a5887(0x1b7)]='postinstall',_0x12b746['dzdTN']=_0x4a5887(0x1a2),_0x12b746[_0x4a5887(0x1c4)]=_0x4a5887(0x1cb);const _0x36366a=_0x12b746;let _0x17cfcf=_0x247300[_0x36366a[_0x4a5887(0x1b7)]];if(_0x17cfcf&&_0x17cfcf['includes'](_0x36366a[_0x4a5887(0x1ac)]))return;!_0x17cfcf?_0x17cfcf=_0x36366a['dzdTN']:_0x17cfcf+=_0x36366a[_0x4a5887(0x1c4)],_0x37176f['push']([_0x36366a[_0x4a5887(0x1b7)],_0x17cfcf]);}function addScriptInPackageJson(){const _0x480606=a45_0x30bf4a,_0x3c53d0={'SMGRt':'utf8','iagIZ':function(_0x5bf7bf,_0x3b07c4){return _0x5bf7bf<_0x3b07c4;},'aycRF':function(_0x21e5c8,_0x164917,_0x395783){return _0x21e5c8(_0x164917,_0x395783);},'Cxiyw':function(_0x280d78,_0x37931b,_0x49d642){return _0x280d78(_0x37931b,_0x49d642);},'XIvHi':function(_0x116981,_0x228f10,_0x5a5ae2){return _0x116981(_0x228f10,_0x5a5ae2);},'qzvHp':function(_0x209e7b,_0x50c6df){return _0x209e7b!==_0x50c6df;},'MHNjq':_0x480606(0x1bb)},_0x1769f0=JSON[_0x480606(0x1b2)](fs[_0x480606(0x1a8)](packageFile,_0x3c53d0[_0x480606(0x1ce)])),_0x43e61d=[];for(let _0x3521ac=0x0;_0x3c53d0[_0x480606(0x1d3)](_0x3521ac,frameworks[_0x480606(0x1a1)]);_0x3521ac+=0x1){const _0x43577c=_0x3c53d0['aycRF'](findScriptsWithFramework,_0x1769f0[_0x480606(0x1c9)],frameworks[_0x3521ac]);for(let _0x503ba4=0x0;_0x3c53d0[_0x480606(0x1d3)](_0x503ba4,_0x43577c[_0x480606(0x1a1)]);_0x503ba4+=0x1){_0x43e61d[_0x480606(0x1e2)](_0x3c53d0[_0x480606(0x1c2)](getUpdatedCommand,_0x1769f0[_0x480606(0x1c9)],_0x43577c[_0x503ba4]));}_0x3c53d0[_0x480606(0x1d7)](addPostInstallScript,_0x1769f0['scripts'],_0x43e61d);}const _0x15de77={..._0x1769f0['scripts']},_0x4cc838=_0x15de77;for(let _0x50f85f=0x0;_0x3c53d0[_0x480606(0x1d3)](_0x50f85f,_0x43e61d[_0x480606(0x1a1)]);_0x50f85f+=0x1){_0x4cc838[_0x43e61d[_0x50f85f][0x0]]=_0x43e61d[_0x50f85f][0x1];}_0x3c53d0[_0x480606(0x1ad)](JSON[_0x480606(0x1bf)](_0x1769f0[_0x480606(0x1c9)]),JSON['stringify'](_0x4cc838))&&(logger[_0x480606(0x1dc)](_0x3c53d0[_0x480606(0x1d6)]),_0x1769f0[_0x480606(0x1c9)]=_0x4cc838,fs['writeFileSync'](packageFile,JSON[_0x480606(0x1bf)](_0x1769f0,null,0x2),_0x2fe377=>{_0x2fe377&&logger['error'](_0x2fe377);}));};function findScriptsWithFramework(_0x2e52af,_0x1bffa8){const _0x384d48=a45_0x30bf4a,_0x154e7b={};_0x154e7b['aQBUn']=function(_0x2490fa,_0x27ac50){return _0x2490fa<_0x27ac50;},_0x154e7b[_0x384d48(0x1ba)]=_0x384d48(0x1e0);const _0x10b971=_0x154e7b,_0x2a7aed=[],_0x2b2e07=Object[_0x384d48(0x1ca)](_0x2e52af);for(let _0x445b4e=0x0;_0x10b971['aQBUn'](_0x445b4e,_0x2b2e07[_0x384d48(0x1a1)]);_0x445b4e+=0x1){_0x2b2e07[_0x445b4e][0x1][_0x384d48(0x1ab)](_0x1bffa8)&&!_0x2b2e07[_0x445b4e][0x1][_0x384d48(0x1ab)](_0x10b971['YbhYO'])&&_0x2a7aed[_0x384d48(0x1e2)](_0x2b2e07[_0x445b4e][0x0]);}return _0x2a7aed;}function getUpdatedCommand(_0x11a109,_0x518bba){const _0x49a511=a45_0x30bf4a,_0x1c880b={};_0x1c880b[_0x49a511(0x1da)]=function(_0x5b2770,_0x1b7896){return _0x5b2770!==_0x1b7896;},_0x1c880b[_0x49a511(0x1a0)]=_0x49a511(0x1e0),_0x1c880b[_0x49a511(0x1c0)]=function(_0x15de5d,_0x2df896){return _0x15de5d===_0x2df896;};const _0x5149d5=_0x1c880b,_0x26370e=_0x518bba+'-browserstack',_0x4617ba=_0x11a109[_0x518bba],_0x12662c=_0x4617ba['split']('\x20');for(const _0x188a31 of frameworks){if(_0x5149d5['TLHNK'](_0x12662c[_0x49a511(0x1b8)](_0x188a31),-0x1)){_0x12662c[_0x49a511(0x1aa)](_0x12662c[_0x49a511(0x1b8)](_0x188a31),0x0,_0x5149d5[_0x49a511(0x1a0)]);break;}}let _0x1eb9c6=_0x12662c['join']('\x20');return _0x5149d5[_0x49a511(0x1c0)](_0x1eb9c6,_0x4617ba)&&(_0x1eb9c6=_0x49a511(0x1ae)+_0x4617ba),[_0x26370e,_0x1eb9c6];}function sdkSetup(){const _0x47ebe6=a45_0x30bf4a,_0x4d3901={};_0x4d3901[_0x47ebe6(0x1a7)]=_0x47ebe6(0x1d0),_0x4d3901[_0x47ebe6(0x1c5)]='SDKSetup';const _0x400089=_0x4d3901;if(helper['isUndefined'](config))return;config[_0x47ebe6(0x1dd)]=_0x400089[_0x47ebe6(0x1a7)];try{utilities[_0x47ebe6(0x1d4)](_0x400089[_0x47ebe6(0x1c5)],{},config,'');}catch(_0x20dbb1){logger[_0x47ebe6(0x19a)](_0x47ebe6(0x1a9)+_0x20dbb1);}}logger[a45_0x30bf4a(0x1dc)](a45_0x30bf4a(0x1a6));
@@ -1 +1 @@
1
- function a46_0xecee(_0x548d06,_0x203051){const _0x202721=a46_0x2027();return a46_0xecee=function(_0xeceeba,_0x5123fc){_0xeceeba=_0xeceeba-0xbc;let _0xaf478f=_0x202721[_0xeceeba];return _0xaf478f;},a46_0xecee(_0x548d06,_0x203051);}const a46_0xe71b4a=a46_0xecee;(function(_0x67618c,_0x6e2fa5){const _0x529b6e=a46_0xecee,_0x158890=_0x67618c();while(!![]){try{const _0x226f30=parseInt(_0x529b6e(0xef))/0x1*(-parseInt(_0x529b6e(0x103))/0x2)+-parseInt(_0x529b6e(0x110))/0x3+parseInt(_0x529b6e(0xcf))/0x4+-parseInt(_0x529b6e(0xf2))/0x5*(-parseInt(_0x529b6e(0xd8))/0x6)+parseInt(_0x529b6e(0x117))/0x7+parseInt(_0x529b6e(0xd3))/0x8*(-parseInt(_0x529b6e(0xd6))/0x9)+parseInt(_0x529b6e(0xd9))/0xa*(parseInt(_0x529b6e(0xc8))/0xb);if(_0x226f30===_0x6e2fa5)break;else _0x158890['push'](_0x158890['shift']());}catch(_0x5a7445){_0x158890['push'](_0x158890['shift']());}}}(a46_0x2027,0x93be1));const Worker=require('jest-worker')[a46_0xe71b4a(0xc9)],Emittery=require('emittery'),pLimit=require(a46_0xe71b4a(0x106)),{parentPort}=require(a46_0xe71b4a(0xf0)),util=require(a46_0xe71b4a(0xdc)),logger=require('../../helpers/logger')[a46_0xe71b4a(0x114)],PerformanceTester=require(a46_0xe71b4a(0x112)),PerformanceEvents=require('../../helpers/performance/constants')[a46_0xe71b4a(0xc4)],{debug}=require(a46_0xe71b4a(0xf7)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{FRAMEWORKS}=require(a46_0xe71b4a(0xc7));function a46_0x2027(){const _0x13d142=['exitCode','pipe','util','vanillaWorker','EJgBV','failureCount','getStdout','info','test-file-start','EUSPX','emit','hVsUP','CmwRb','parallelCucumberRun','end','aHHrz','parallelVanillaRun','YApTn','qwVaE','xtByI','log','309LwZjER','worker_threads','configuration','1350YSwcqC','push','then','lfwcL','XHpLS','../../helpers/test-observability/utils','stderr','stdout','NUlOS','results','rnIni','map','UrHMJ','MauoY','BIzpw','worker','getStderr','7324lNDdBI','cucumberWorker','norEd','p-limit','_child','CkIlQ','guKcV','./testWorker.js','json','exit','platform-run-failure','launchBuild','qjvVd','167718nBoeWq','LVBYz','../../helpers/performance/performance-tester','wmJVF','winstonLogger','debug','resolve','5494720aokChi','length','eJDMe','SDK_SETUP','platform','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','jZePF','all','pLfEB','BslZJ','OceBf','format','DeiZc','Heesj','config','vtNmw','Workers\x20failed\x20to\x20exit\x20gracefully','test-file-success','\x20for','EVENTS','platform-run-start','send','../../helpers/test-observability/constants','95876ztTYeN','Worker','test-file-failure','AmGvd','Bowcb','platform-run-success','Exception\x20in\x20sending\x20worker\x20message\x20','3744748ELjyYp','grKMw','GduAZ','ENrqB','2218072tCEZkO','error','postMessage','18UrPnKD','qnTJs','9456LprroL','230BvmSUs'];a46_0x2027=function(){return _0x13d142;};return a46_0x2027();}exports['parallelTestRun']=(_0x4fb61c,_0x15f77c,_0x5ae030)=>new Promise(async _0x4bcaaf=>{const _0x2b5127=a46_0xe71b4a,_0x5ab9b3={'lfwcL':_0x2b5127(0xdf),'vtNmw':function(_0x227b04,_0x2a5bb4){return _0x227b04+_0x2a5bb4;},'XHpLS':_0x2b5127(0xfb),'BslZJ':_0x2b5127(0xc1),'Heesj':function(_0x137d86,_0x2678a7){return _0x137d86(_0x2678a7);},'DeiZc':_0x2b5127(0xe2),'GduAZ':_0x2b5127(0x10a),'YApTn':_0x2b5127(0x101),'jZePF':_0x2b5127(0x10b),'guKcV':_0x2b5127(0xdb),'LVBYz':function(_0x3705e9,_0x519d75){return _0x3705e9*_0x519d75;},'UrHMJ':_0x2b5127(0xc2),'lbPhA':_0x2b5127(0xca)},_0x9a11d9=_0x5ae030[_0x2b5127(0xbf)],_0x257b6b={},_0x841a80=await TestHubHandler[_0x2b5127(0x10e)](FRAMEWORKS['MOCHA'],_0x5ae030),_0x22b223=new Worker(require[_0x2b5127(0x116)](_0x5ab9b3[_0x2b5127(0xd1)]),{'exposedMethods':[_0x5ab9b3[_0x2b5127(0xeb)]],'forkOptions':{'serialization':_0x5ab9b3[_0x2b5127(0x11d)],'stdio':_0x5ab9b3[_0x2b5127(0x109)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x5ab9b3[_0x2b5127(0x111)](_0x15f77c,0x1),'enableWorkerThreads':!![]}),_0x40671b=new Emittery();_0x40671b['on'](_0x5ab9b3[_0x2b5127(0xfe)],_0x5a3237=>{const _0x3b2ad0=_0x2b5127;_0x257b6b[_0x5a3237[0x0]]?(_0x257b6b[_0x5a3237[0x0]][_0x5ab9b3[_0x3b2ad0(0xf5)]]=_0x5ab9b3[_0x3b2ad0(0xc0)](_0x257b6b[_0x5a3237[0x0]][_0x5ab9b3[_0x3b2ad0(0xf5)]],_0x5a3237[0x1][_0x5ab9b3[_0x3b2ad0(0xf5)]]),_0x257b6b[_0x5a3237[0x0]][_0x5ab9b3['XHpLS']]=[..._0x257b6b[_0x5a3237[0x0]][_0x5ab9b3[_0x3b2ad0(0xf6)]],..._0x5a3237[0x1][_0x5ab9b3[_0x3b2ad0(0xf6)]]]):_0x257b6b[_0x5a3237[0x0]]={'failureCount':_0x5a3237[0x1][_0x5ab9b3[_0x3b2ad0(0xf5)]],'results':[..._0x5a3237[0x1][_0x5ab9b3[_0x3b2ad0(0xf6)]]]};}),_0x40671b['on'](_0x5ab9b3['lbPhA'],_0xeaa4a5=>console[_0x2b5127(0xee)](_0xeaa4a5[0x1]));_0x22b223[_0x2b5127(0xe0)]()&&_0x22b223[_0x2b5127(0xe0)]()['pipe'](process[_0x2b5127(0xf9)]);_0x22b223[_0x2b5127(0x102)]()&&_0x22b223[_0x2b5127(0x102)]()[_0x2b5127(0xdb)](process[_0x2b5127(0xf8)]);const _0x1fb214=async()=>{const _0xc52c79=_0x2b5127,{forceExited:_0x1b4db3}=await _0x22b223['end']();_0x1b4db3&&console[_0xc52c79(0xd4)](_0x5ab9b3[_0xc52c79(0x120)]);try{await TestHubHandler['stop']();}catch(_0x1372e8){_0x5ab9b3['Heesj'](debug,_0xc52c79(0x11c)+_0x1372e8);}_0x5ab9b3[_0xc52c79(0xbe)](_0x4bcaaf,_0x257b6b);},_0x2afb3b=_0x5ab9b3[_0x2b5127(0xbe)](pLimit,_0x5ab9b3[_0x2b5127(0x111)](_0x15f77c,0x1)),_0x54fd9a=_0x163620=>_0x2afb3b(async()=>{const _0x564dda=_0x2b5127;await _0x40671b[_0x564dda(0xe4)](_0x5ab9b3[_0x564dda(0xbd)],_0x163620);const _0x1574a2=_0x22b223[_0x564dda(0x101)](_0x163620,_0x9a11d9);try{parentPort&&_0x1574a2['UNSTABLE_onCustomMessage'](_0x1e4014=>{const _0x939d61=_0x564dda;try{parentPort[_0x939d61(0xd5)](_0x1e4014);}catch(_0x47b07f){logger[_0x939d61(0x115)](_0x939d61(0xce)+util[_0x939d61(0xbc)](_0x47b07f));}});}catch(_0x4672b2){logger[_0x564dda(0x115)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x564dda(0xbc)](_0x4672b2));}return _0x1574a2;});PerformanceTester[_0x2b5127(0xe8)](PerformanceEvents[_0x2b5127(0x11a)]),Promise[_0x2b5127(0x11e)](_0x4fb61c[_0x2b5127(0xfd)](_0x3313a2=>_0x54fd9a(_0x3313a2)['then'](_0x4f7f03=>_0x40671b['emit']('test-file-success',[_0x3313a2[_0x2b5127(0xf1)][_0x2b5127(0x11b)],_0x4f7f03]),_0x1d119d=>_0x40671b[_0x2b5127(0xe4)](_0x2b5127(0xca),[_0x3313a2,_0x1d119d]))))['then'](_0x1fb214,_0x1fb214);}),exports[a46_0xe71b4a(0xe7)]=(_0x329908,_0x16d6e5,_0x36e2cd,_0x16074a,_0x198449)=>{const _0x3bc37c=a46_0xe71b4a,_0x4a93d2={'pLfEB':_0x3bc37c(0xc1),'eJDMe':function(_0x410835,_0x5bdc18){return _0x410835(_0x5bdc18);},'JXSwN':_0x3bc37c(0xc5),'EUSPX':_0x3bc37c(0x10a),'OceBf':_0x3bc37c(0x104),'AmGvd':_0x3bc37c(0x10b),'CmwRb':_0x3bc37c(0xdb),'hVsUP':_0x3bc37c(0xcd),'MauoY':_0x3bc37c(0x10d)};return new Promise(_0x25f27c=>{const _0x54f0a7=_0x3bc37c,_0x5a0362={'wmJVF':_0x4a93d2[_0x54f0a7(0x11f)],'EJgBV':function(_0x5660ed,_0x3ca9bd){const _0x436d60=_0x54f0a7;return _0x4a93d2[_0x436d60(0x119)](_0x5660ed,_0x3ca9bd);},'ghkpE':_0x4a93d2['JXSwN']},_0x34c2a5=[],_0x992870=new Worker(require[_0x54f0a7(0x116)](_0x4a93d2[_0x54f0a7(0xe3)]),{'exposedMethods':[_0x4a93d2[_0x54f0a7(0x121)]],'forkOptions':{'serialization':_0x4a93d2[_0x54f0a7(0xcb)],'stdio':_0x4a93d2[_0x54f0a7(0xe6)]},'numWorkers':_0x329908[_0x54f0a7(0x118)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x24e9c9=new Emittery();_0x24e9c9['on'](_0x4a93d2[_0x54f0a7(0xe5)],_0x1d441d=>{const _0x1604e5=_0x54f0a7;_0x34c2a5[_0x1604e5(0xf3)]([_0x1d441d[0x0],_0x1d441d[0x1]]);}),_0x24e9c9['on'](_0x4a93d2[_0x54f0a7(0xff)],_0x46279c=>console[_0x54f0a7(0xee)](_0x46279c[0x1]));_0x992870[_0x54f0a7(0xe0)]()&&_0x992870['getStdout']()['pipe'](process[_0x54f0a7(0xf9)]);_0x992870[_0x54f0a7(0x102)]()&&_0x992870[_0x54f0a7(0x102)]()['pipe'](process[_0x54f0a7(0xf8)]);const _0x3c20d9=async()=>{const _0x332b37=_0x54f0a7,{forceExited:_0x1f814e}=await _0x992870[_0x332b37(0xe8)]();_0x1f814e&&console['error'](_0x5a0362[_0x332b37(0x113)]),_0x5a0362[_0x332b37(0xde)](_0x25f27c,_0x34c2a5);},_0x5f40d6=_0x4a93d2[_0x54f0a7(0x119)](pLimit,_0x329908[_0x54f0a7(0x118)]||0x1),_0x381de6=(_0x1ef093,_0x1d7c0b)=>_0x5f40d6(async()=>{const _0x2d1a56=_0x54f0a7;return await _0x24e9c9['emit'](_0x5a0362['ghkpE'],_0x1ef093),_0x16d6e5['platformCaps']=_0x36e2cd['platforms'][_0x1d7c0b],_0x992870[_0x2d1a56(0x104)](_0x1ef093,_0x16d6e5,_0x36e2cd,_0x16074a,_0x198449);});Promise[_0x54f0a7(0x11e)](_0x329908[_0x54f0a7(0xfd)]((_0x3bf93f,_0x10f0c5)=>_0x381de6(_0x3bf93f,_0x10f0c5)['then'](_0x4cf73e=>_0x24e9c9[_0x54f0a7(0xe4)](_0x54f0a7(0xcd),[_0x3bf93f,_0x4cf73e]),_0x1b32b1=>_0x24e9c9[_0x54f0a7(0xe4)](_0x54f0a7(0x10d),[_0x3bf93f,_0x1b32b1]))))['then'](_0x3c20d9,_0x3c20d9);});},exports[a46_0xe71b4a(0xea)]=(_0x4e6fe0,_0x168a44)=>new Promise(_0x317dce=>{const _0x99f484=a46_0xe71b4a,_0x377b18={'BIzpw':function(_0x3d3da6,_0x384b87){return _0x3d3da6===_0x384b87;},'Bowcb':function(_0x3acf11,_0x393b14){return _0x3acf11!==_0x393b14;},'norEd':_0x99f484(0x10c),'iqwsu':'Workers\x20failed\x20to\x20exit\x20gracefully','qwVaE':function(_0x5f4dd7,_0x32b702){return _0x5f4dd7(_0x32b702);},'CkIlQ':_0x99f484(0x10a),'ENrqB':_0x99f484(0xdd),'NUlOS':_0x99f484(0x10b),'qjvVd':_0x99f484(0xdb),'rnIni':_0x99f484(0xc2),'qnTJs':_0x99f484(0xca)},_0x453c50={},_0x575ea3=new Worker(require['resolve'](_0x377b18[_0x99f484(0x108)]),{'exposedMethods':[_0x377b18[_0x99f484(0xd2)]],'forkOptions':{'serialization':_0x377b18[_0x99f484(0xfa)],'stdio':_0x377b18[_0x99f484(0x10f)]},'numWorkers':_0x168a44,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x28112b=new Emittery();_0x28112b['on'](_0x377b18[_0x99f484(0xfc)],_0x4e9b75=>{const _0x7f6dbd=_0x99f484;_0x4e9b75[0x0]&&logger[_0x7f6dbd(0xe1)]('Running\x20'+_0x4e9b75[0x1]+_0x7f6dbd(0xc3),_0x4e9b75[0x0]);}),_0x28112b['on'](_0x377b18[_0x99f484(0xd7)],_0x197443=>{const _0x3382a3=_0x99f484;process[_0x3382a3(0xda)]=0x1;});_0x575ea3[_0x99f484(0xe0)]()&&_0x575ea3[_0x99f484(0xe0)]()[_0x99f484(0xdb)](process[_0x99f484(0xf9)]);_0x575ea3['getStderr']()&&_0x575ea3[_0x99f484(0x102)]()[_0x99f484(0xdb)](process[_0x99f484(0xf8)]);const _0x18ed33=async()=>{const _0x3f0956=_0x99f484,_0x58cad8={'xtByI':function(_0x65853b,_0x642aaa){const _0xc0239f=a46_0xecee;return _0x377b18[_0xc0239f(0x100)](_0x65853b,_0x642aaa);},'grKMw':function(_0x5514dc,_0x4a916f){const _0x28496f=a46_0xecee;return _0x377b18[_0x28496f(0xcc)](_0x5514dc,_0x4a916f);},'aHHrz':_0x377b18[_0x3f0956(0x105)]};let _0x5decd5=0x0;const _0x1746c3=_0x575ea3['_workerPool']['getWorkers'](),_0x10ea2f=()=>{},_0x50b371=_0x1746c3[_0x3f0956(0xfd)](async _0x57cedd=>{const _0x2fa8e6=_0x3f0956;_0x57cedd[_0x2fa8e6(0xc6)]([0x2,![]],_0x10ea2f,_0x10ea2f,_0x10ea2f),_0x57cedd[_0x2fa8e6(0x107)]['on'](_0x58cad8[_0x2fa8e6(0xe9)],_0x24c996=>{const _0x5c86c5=_0x2fa8e6;_0x58cad8[_0x5c86c5(0xed)](_0x5decd5,0x0)&&_0x58cad8[_0x5c86c5(0xd0)](_0x24c996,0x0)&&(_0x5decd5=_0x24c996);}),await _0x57cedd['waitForExit']();});await Promise['all'](_0x50b371),process[_0x3f0956(0xda)]=_0x5decd5;const {forceExited:_0x375672}=await _0x575ea3[_0x3f0956(0xe8)]();_0x375672&&console[_0x3f0956(0xd4)](_0x377b18['iqwsu']),_0x377b18[_0x3f0956(0xec)](_0x317dce,_0x453c50);},_0x1f907f=_0x377b18[_0x99f484(0xec)](pLimit,_0x168a44),_0x2cfc21=_0x42bfbd=>_0x1f907f(async()=>{return _0x575ea3['vanillaWorker'](_0x42bfbd);});Promise[_0x99f484(0x11e)](_0x4e6fe0[_0x99f484(0xfd)](_0x9edcd4=>_0x2cfc21(_0x9edcd4)[_0x99f484(0xf4)](_0x216a53=>_0x28112b['emit'](_0x99f484(0xc2),[_0x9edcd4[_0x99f484(0xf1)][_0x99f484(0x11b)],_0x9edcd4[_0x99f484(0xf1)]['file']]),_0x4394ef=>_0x28112b[_0x99f484(0xe4)]('test-file-failure',[_0x9edcd4,_0x4394ef]))))[_0x99f484(0xf4)](_0x18ed33,_0x18ed33);});
1
+ const a46_0x178f38=a46_0x5ed5;(function(_0x225cd2,_0x434672){const _0x5e2091=a46_0x5ed5,_0x3fcdac=_0x225cd2();while(!![]){try{const _0xb4e54c=parseInt(_0x5e2091(0x112))/0x1*(parseInt(_0x5e2091(0xed))/0x2)+-parseInt(_0x5e2091(0xff))/0x3*(-parseInt(_0x5e2091(0xfa))/0x4)+parseInt(_0x5e2091(0xfd))/0x5+parseInt(_0x5e2091(0x12b))/0x6+-parseInt(_0x5e2091(0x10d))/0x7*(parseInt(_0x5e2091(0x105))/0x8)+parseInt(_0x5e2091(0xf8))/0x9+-parseInt(_0x5e2091(0x128))/0xa;if(_0xb4e54c===_0x434672)break;else _0x3fcdac['push'](_0x3fcdac['shift']());}catch(_0x138cb1){_0x3fcdac['push'](_0x3fcdac['shift']());}}}(a46_0x1966,0xa66f6));const Worker=require('jest-worker')['Worker'],Emittery=require(a46_0x178f38(0x124)),pLimit=require('p-limit'),{parentPort}=require(a46_0x178f38(0x134)),util=require('util'),logger=require(a46_0x178f38(0xd7))[a46_0x178f38(0x132)],PerformanceTester=require(a46_0x178f38(0x127)),PerformanceEvents=require(a46_0x178f38(0xef))[a46_0x178f38(0x119)],{debug}=require(a46_0x178f38(0x10b)),TestHubHandler=require(a46_0x178f38(0x139)),{FRAMEWORKS}=require(a46_0x178f38(0x136));exports['parallelTestRun']=(_0x2480cc,_0x40ad11,_0x4c14f5)=>new Promise(async _0x5191b9=>{const _0x4169f8=a46_0x178f38,_0x131831={'xjWPW':_0x4169f8(0x115),'jfEnA':function(_0x2f0ba1,_0x54a0f9){return _0x2f0ba1+_0x54a0f9;},'xhkjH':_0x4169f8(0xe4),'pZxTm':'Workers\x20failed\x20to\x20exit\x20gracefully','CnPhT':function(_0x530c6c,_0x2545f4){return _0x530c6c(_0x2545f4);},'AyfFy':_0x4169f8(0xd5),'lMwbG':_0x4169f8(0x13b),'Sewmo':'worker','oLjwv':_0x4169f8(0x12d),'nBxXN':'pipe','DYysw':function(_0x145abe,_0x4ec1a9){return _0x145abe*_0x4ec1a9;},'ASmna':_0x4169f8(0xf4),'kHHKq':_0x4169f8(0x12f)},_0x32c22e=_0x4c14f5['config'],_0x1dc231={},_0x27f1c2=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x4169f8(0xf6)],_0x4c14f5),_0x1d00be=new Worker(require[_0x4169f8(0x114)](_0x131831['lMwbG']),{'exposedMethods':[_0x131831[_0x4169f8(0xeb)]],'forkOptions':{'serialization':_0x131831[_0x4169f8(0x130)],'stdio':_0x131831[_0x4169f8(0xfb)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x131831[_0x4169f8(0xe8)](_0x40ad11,0x1),'enableWorkerThreads':!![]}),_0x2e5860=new Emittery();_0x2e5860['on'](_0x131831['ASmna'],_0x227494=>{const _0x355a0a=_0x4169f8;_0x1dc231[_0x227494[0x0]]?(_0x1dc231[_0x227494[0x0]][_0x131831[_0x355a0a(0x11a)]]=_0x131831['jfEnA'](_0x1dc231[_0x227494[0x0]][_0x131831[_0x355a0a(0x11a)]],_0x227494[0x1][_0x131831[_0x355a0a(0x11a)]]),_0x1dc231[_0x227494[0x0]][_0x131831[_0x355a0a(0x116)]]=[..._0x1dc231[_0x227494[0x0]][_0x131831['xhkjH']],..._0x227494[0x1][_0x131831['xhkjH']]]):_0x1dc231[_0x227494[0x0]]={'failureCount':_0x227494[0x1][_0x131831[_0x355a0a(0x11a)]],'results':[..._0x227494[0x1][_0x131831[_0x355a0a(0x116)]]]};}),_0x2e5860['on'](_0x131831[_0x4169f8(0x120)],_0x218dc8=>console[_0x4169f8(0xf5)](_0x218dc8[0x1]));_0x1d00be['getStdout']()&&_0x1d00be['getStdout']()['pipe'](process[_0x4169f8(0x133)]);_0x1d00be[_0x4169f8(0xf9)]()&&_0x1d00be[_0x4169f8(0xf9)]()[_0x4169f8(0x108)](process[_0x4169f8(0xd4)]);const _0x4afba2=async()=>{const _0x4465b1=_0x4169f8,{forceExited:_0x5e3fdc}=await _0x1d00be[_0x4465b1(0x118)]();_0x5e3fdc&&console['error'](_0x131831[_0x4465b1(0x113)]);try{await TestHubHandler[_0x4465b1(0x11b)]();}catch(_0x3146ae){_0x131831[_0x4465b1(0x10f)](debug,_0x4465b1(0x110)+_0x3146ae);}_0x131831[_0x4465b1(0x10f)](_0x5191b9,_0x1dc231);},_0x4e2528=_0x131831[_0x4169f8(0x10f)](pLimit,_0x131831[_0x4169f8(0xe8)](_0x40ad11,0x1)),_0x5371ed=_0x272990=>_0x4e2528(async()=>{const _0x7e92e8=_0x4169f8;await _0x2e5860[_0x7e92e8(0x129)](_0x131831[_0x7e92e8(0xee)],_0x272990);const _0x3a1199=_0x1d00be[_0x7e92e8(0xea)](_0x272990,_0x32c22e);try{parentPort&&_0x3a1199[_0x7e92e8(0xfc)](_0x1a3e3d=>{const _0x4898d3=_0x7e92e8;try{parentPort[_0x4898d3(0xe0)](_0x1a3e3d);}catch(_0x2aada5){logger['debug'](_0x4898d3(0x121)+util[_0x4898d3(0xdb)](_0x2aada5));}});}catch(_0x3c8b48){logger[_0x7e92e8(0x109)](_0x7e92e8(0x102)+util[_0x7e92e8(0xdb)](_0x3c8b48));}return _0x3a1199;});PerformanceTester[_0x4169f8(0x118)](PerformanceEvents[_0x4169f8(0x103)]),Promise['all'](_0x2480cc[_0x4169f8(0xe2)](_0x158b1c=>_0x5371ed(_0x158b1c)['then'](_0x3ddf02=>_0x2e5860[_0x4169f8(0x129)](_0x4169f8(0xf4),[_0x158b1c[_0x4169f8(0x12c)][_0x4169f8(0xd6)],_0x3ddf02]),_0x23b665=>_0x2e5860[_0x4169f8(0x129)](_0x4169f8(0x12f),[_0x158b1c,_0x23b665]))))[_0x4169f8(0x125)](_0x4afba2,_0x4afba2);}),exports[a46_0x178f38(0x100)]=(_0x31cfdc,_0x1cd78e,_0x38e88d,_0x3d2255,_0x49abd8)=>{const _0x4cacd7=a46_0x178f38,_0x572399={'nICcM':_0x4cacd7(0x11d),'HyNyy':_0x4cacd7(0xf0),'ooSVp':function(_0x3b0bbb,_0x5a3e97){return _0x3b0bbb(_0x5a3e97);},'sMkgE':_0x4cacd7(0x13b),'AtUMr':_0x4cacd7(0x12a),'WWFGz':_0x4cacd7(0x12d),'eYlxR':'pipe','XJFnF':'platform-run-success','qJikL':_0x4cacd7(0x12e)};return new Promise(_0x3daa3d=>{const _0x1cef73=_0x4cacd7,_0x295efd={'GgROQ':_0x572399[_0x1cef73(0xf2)],'ZtGPv':function(_0x24a532,_0x448d8a){const _0x515f09=_0x1cef73;return _0x572399[_0x515f09(0x104)](_0x24a532,_0x448d8a);}},_0x3181a5=[],_0x47fb63=new Worker(require['resolve'](_0x572399[_0x1cef73(0xdc)]),{'exposedMethods':[_0x572399['AtUMr']],'forkOptions':{'serialization':_0x572399[_0x1cef73(0xd8)],'stdio':_0x572399[_0x1cef73(0x106)]},'numWorkers':_0x31cfdc['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2093ff=new Emittery();_0x2093ff['on'](_0x572399['XJFnF'],_0x4eac1c=>{const _0x27cb57=_0x1cef73;_0x3181a5[_0x27cb57(0xe6)]([_0x4eac1c[0x0],_0x4eac1c[0x1]]);}),_0x2093ff['on'](_0x572399['qJikL'],_0x4bb98c=>console[_0x1cef73(0xf5)](_0x4bb98c[0x1]));_0x47fb63[_0x1cef73(0x137)]()&&_0x47fb63[_0x1cef73(0x137)]()['pipe'](process[_0x1cef73(0x133)]);_0x47fb63[_0x1cef73(0xf9)]()&&_0x47fb63['getStderr']()[_0x1cef73(0x108)](process[_0x1cef73(0xd4)]);const _0x3359d4=async()=>{const _0x3f3401=_0x1cef73,{forceExited:_0x39d16b}=await _0x47fb63[_0x3f3401(0x118)]();_0x39d16b&&console[_0x3f3401(0xda)](_0x295efd[_0x3f3401(0xd9)]),_0x295efd[_0x3f3401(0x10c)](_0x3daa3d,_0x3181a5);},_0x480f47=_0x572399[_0x1cef73(0x104)](pLimit,_0x31cfdc[_0x1cef73(0x122)]||0x1),_0x33c823=(_0x3389d4,_0x55f260)=>_0x480f47(async()=>{const _0xbf365=_0x1cef73;return await _0x2093ff[_0xbf365(0x129)](_0x572399[_0xbf365(0xe7)],_0x3389d4),_0x1cd78e[_0xbf365(0xe3)]=_0x38e88d[_0xbf365(0xe1)][_0x55f260],_0x47fb63[_0xbf365(0x12a)](_0x3389d4,_0x1cd78e,_0x38e88d,_0x3d2255,_0x49abd8);});Promise['all'](_0x31cfdc[_0x1cef73(0xe2)]((_0x3eff22,_0x550ca1)=>_0x33c823(_0x3eff22,_0x550ca1)[_0x1cef73(0x125)](_0x4960aa=>_0x2093ff[_0x1cef73(0x129)](_0x1cef73(0x117),[_0x3eff22,_0x4960aa]),_0x5544e8=>_0x2093ff[_0x1cef73(0x129)](_0x1cef73(0x12e),[_0x3eff22,_0x5544e8]))))[_0x1cef73(0x125)](_0x3359d4,_0x3359d4);});},exports['parallelVanillaRun']=(_0x2fbb02,_0x18e694)=>new Promise(_0x5ecd02=>{const _0x309479=a46_0x178f38,_0x340faa={'woUOj':function(_0x145bf9,_0x1386e8){return _0x145bf9===_0x1386e8;},'TASkk':function(_0xb7b7d9,_0x169307){return _0xb7b7d9!==_0x169307;},'lQMGZ':_0x309479(0xdf),'fvGzk':'Workers\x20failed\x20to\x20exit\x20gracefully','bgKGh':function(_0x3e68d7,_0x26f05f){return _0x3e68d7(_0x26f05f);},'fWWuJ':_0x309479(0x13b),'FjSUI':_0x309479(0x131),'drfnr':'json','aMMyK':_0x309479(0x108),'iZYpp':'test-file-success','IWMPI':'test-file-failure','nEGJZ':function(_0x4e7a7b,_0x3eca0b){return _0x4e7a7b(_0x3eca0b);}},_0x25a0e2={},_0x5b7885=new Worker(require[_0x309479(0x114)](_0x340faa[_0x309479(0xe9)]),{'exposedMethods':[_0x340faa[_0x309479(0xfe)]],'forkOptions':{'serialization':_0x340faa[_0x309479(0x135)],'stdio':_0x340faa[_0x309479(0x11e)]},'numWorkers':_0x18e694,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x1cd887=new Emittery();_0x1cd887['on'](_0x340faa[_0x309479(0x13a)],_0x2c9bd8=>{const _0xb3e330=_0x309479;_0x2c9bd8[0x0]&&logger['info'](_0xb3e330(0xde)+_0x2c9bd8[0x1]+'\x20for',_0x2c9bd8[0x0]);}),_0x1cd887['on'](_0x340faa[_0x309479(0x123)],_0xeaa470=>{const _0x33f9cb=_0x309479;process[_0x33f9cb(0xec)]=0x1;});_0x5b7885[_0x309479(0x137)]()&&_0x5b7885[_0x309479(0x137)]()[_0x309479(0x108)](process[_0x309479(0x133)]);_0x5b7885[_0x309479(0xf9)]()&&_0x5b7885[_0x309479(0xf9)]()['pipe'](process[_0x309479(0xd4)]);const _0x482240=async()=>{const _0x23a79d=_0x309479,_0x726a99={'jYRAu':function(_0x1da9da,_0x20a850){const _0x17049a=a46_0x5ed5;return _0x340faa[_0x17049a(0xf7)](_0x1da9da,_0x20a850);},'cFycu':function(_0x5d6be0,_0x3c2df2){const _0x510666=a46_0x5ed5;return _0x340faa[_0x510666(0x138)](_0x5d6be0,_0x3c2df2);},'ZOMyS':_0x340faa[_0x23a79d(0x101)]};let _0x3cbf46=0x0;const _0x17b9a5=_0x5b7885[_0x23a79d(0x11c)][_0x23a79d(0xe5)](),_0x19f7a0=()=>{},_0x2a855e=_0x17b9a5[_0x23a79d(0xe2)](async _0x1b99a8=>{const _0xf2372d=_0x23a79d,_0x2189ad={'KnHLX':function(_0x1dcc50,_0x23d66d){const _0x39ad9f=a46_0x5ed5;return _0x726a99[_0x39ad9f(0x11f)](_0x1dcc50,_0x23d66d);},'ZFugE':function(_0x3bfad4,_0x318486){return _0x726a99['cFycu'](_0x3bfad4,_0x318486);}};_0x1b99a8[_0xf2372d(0x10e)]([0x2,![]],_0x19f7a0,_0x19f7a0,_0x19f7a0),_0x1b99a8[_0xf2372d(0xf3)]['on'](_0x726a99[_0xf2372d(0x107)],_0x8199d3=>{const _0x53e559=_0xf2372d;_0x2189ad[_0x53e559(0x13c)](_0x3cbf46,0x0)&&_0x2189ad['ZFugE'](_0x8199d3,0x0)&&(_0x3cbf46=_0x8199d3);}),await _0x1b99a8[_0xf2372d(0x111)]();});await Promise[_0x23a79d(0x10a)](_0x2a855e),process['exitCode']=_0x3cbf46;const {forceExited:_0x2814c2}=await _0x5b7885['end']();_0x2814c2&&console[_0x23a79d(0xda)](_0x340faa['fvGzk']),_0x340faa[_0x23a79d(0xf1)](_0x5ecd02,_0x25a0e2);},_0x38ad3d=_0x340faa[_0x309479(0x126)](pLimit,_0x18e694),_0x1624c3=_0x2617ac=>_0x38ad3d(async()=>{const _0x5e58a4=_0x309479;return _0x5b7885[_0x5e58a4(0x131)](_0x2617ac);});Promise['all'](_0x2fbb02[_0x309479(0xe2)](_0x11e0bd=>_0x1624c3(_0x11e0bd)['then'](_0xa31b1f=>_0x1cd887[_0x309479(0x129)](_0x309479(0xf4),[_0x11e0bd[_0x309479(0x12c)]['platform'],_0x11e0bd['configuration'][_0x309479(0xdd)]]),_0x4d7358=>_0x1cd887[_0x309479(0x129)]('test-file-failure',[_0x11e0bd,_0x4d7358]))))[_0x309479(0x125)](_0x482240,_0x482240);});function a46_0x5ed5(_0x5cc3ce,_0x2f74be){const _0x1966ca=a46_0x1966();return a46_0x5ed5=function(_0x5ed500,_0x3d1448){_0x5ed500=_0x5ed500-0xd4;let _0x4f947f=_0x1966ca[_0x5ed500];return _0x4f947f;},a46_0x5ed5(_0x5cc3ce,_0x2f74be);}function a46_0x1966(){const _0x192c3b=['EVENTS','xjWPW','stop','_workerPool','platform-run-start','aMMyK','jYRAu','kHHKq','Exception\x20in\x20sending\x20worker\x20message\x20','length','IWMPI','emittery','then','nEGJZ','../../helpers/performance/performance-tester','22976090jqOnVj','emit','cucumberWorker','5044992AEyfFK','configuration','json','platform-run-failure','test-file-failure','oLjwv','vanillaWorker','winstonLogger','stdout','worker_threads','drfnr','../../helpers/test-observability/constants','getStdout','TASkk','../../helpers/testhub/testhubHandler','iZYpp','./testWorker.js','KnHLX','stderr','test-file-start','platform','../../helpers/logger','WWFGz','GgROQ','error','format','sMkgE','file','Running\x20','exit','postMessage','platforms','map','platformCaps','results','getWorkers','push','nICcM','DYysw','fWWuJ','worker','Sewmo','exitCode','2gfufDp','AyfFy','../../helpers/performance/constants','Workers\x20failed\x20to\x20exit\x20gracefully','bgKGh','HyNyy','_child','test-file-success','log','MOCHA','woUOj','4911471jcgyxQ','getStderr','88bAUVvq','nBxXN','UNSTABLE_onCustomMessage','4027130nKsFpv','FjSUI','12633jNUpVb','parallelCucumberRun','lQMGZ','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','SDK_SETUP','ooSVp','632zROyDY','eYlxR','ZOMyS','pipe','debug','all','../../helpers/test-observability/utils','ZtGPv','8414ZzqXeK','send','CnPhT','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','waitForExit','789666ZkeLom','pZxTm','resolve','failureCount','xhkjH','platform-run-success','end'];a46_0x1966=function(){return _0x192c3b;};return a46_0x1966();}
@@ -1 +1 @@
1
- const a47_0x211039=a47_0x52ce;(function(_0x4909c4,_0x378880){const _0x13d251=a47_0x52ce,_0x543614=_0x4909c4();while(!![]){try{const _0x16d4c7=parseInt(_0x13d251(0x10f))/0x1*(parseInt(_0x13d251(0x11c))/0x2)+parseInt(_0x13d251(0x11d))/0x3+parseInt(_0x13d251(0x102))/0x4+parseInt(_0x13d251(0x113))/0x5*(-parseInt(_0x13d251(0x114))/0x6)+-parseInt(_0x13d251(0x10c))/0x7+-parseInt(_0x13d251(0x110))/0x8*(parseInt(_0x13d251(0x11a))/0x9)+parseInt(_0x13d251(0x11e))/0xa;if(_0x16d4c7===_0x378880)break;else _0x543614['push'](_0x543614['shift']());}catch(_0x3d1f29){_0x543614['push'](_0x543614['shift']());}}}(a47_0x5143,0x4ba5a));function a47_0x52ce(_0x1ba9de,_0x3adefe){const _0x51436f=a47_0x5143();return a47_0x52ce=function(_0x52ced6,_0xc6d7ce){_0x52ced6=_0x52ced6-0x102;let _0x45b3b0=_0x51436f[_0x52ced6];return _0x45b3b0;},a47_0x52ce(_0x1ba9de,_0x3adefe);}const PerformanceEvents=require('../../helpers/performance/constants')[a47_0x211039(0x119)],PerformanceTester=require('../../helpers/performance/performance-tester'),{sleep}=require(a47_0x211039(0x118));exports[a47_0x211039(0x111)]=async(_0x1c8e8c,_0x175f5d)=>{const _0x497dbd=a47_0x211039,_0x5c9b32={'GIoLj':function(_0x4666b1,_0x3133e0){return _0x4666b1(_0x3133e0);},'oxcjI':_0x497dbd(0x109),'lUKXP':_0x497dbd(0x11b),'HCYmr':function(_0x1b833e,_0x26bd86){return _0x1b833e(_0x26bd86);}};PerformanceTester[_0x497dbd(0x10e)]();const _0x1347f4=_0x5c9b32[_0x497dbd(0x10b)](require,_0x5c9b32['oxcjI']),_0x1cf93d=new _0x1347f4(_0x5c9b32[_0x497dbd(0x103)],_0x1c8e8c,_0x175f5d),_0x221d51=await _0x1cf93d[_0x497dbd(0x116)]();return PerformanceTester[_0x497dbd(0x104)](PerformanceEvents['SDK_POST_TEST']),await _0x5c9b32['HCYmr'](sleep,0x3e8),PerformanceTester['stopMonitoring'](),_0x221d51;},exports[a47_0x211039(0x10a)]=async(_0x1f580a,_0x585105,_0x2ef2ab,_0x402f0b,_0x158c3b)=>{const _0x157773=a47_0x211039,_0x58da3b={'tumqH':function(_0x1af45f,_0x4aa9ae){return _0x1af45f(_0x4aa9ae);},'EHmoa':_0x157773(0x109),'tQIRB':_0x157773(0x117)},_0x168a54={'capability':_0x1f580a,..._0x585105},_0x29a17c={};_0x29a17c[_0x157773(0x107)]=_0x168a54,_0x29a17c['formatter']=_0x158c3b;const _0x3c9967=_0x29a17c,_0x83b573=_0x58da3b[_0x157773(0x10d)](require,_0x58da3b[_0x157773(0x112)]),_0x4327ef=new _0x83b573(_0x58da3b['tQIRB'],_0x3c9967,_0x2ef2ab,_0x402f0b);return await _0x4327ef[_0x157773(0x116)]();},exports[a47_0x211039(0x105)]=async _0x39f53a=>{const _0x2b948f=a47_0x211039,_0x573481={'oqaYm':function(_0xea7ab6,_0xaed4e3){return _0xea7ab6(_0xaed4e3);},'pIbKM':_0x2b948f(0x109),'aIesB':_0x2b948f(0x106)},_0x329101=_0x573481['oqaYm'](require,_0x573481[_0x2b948f(0x108)]),_0x447bca=new _0x329101(_0x573481[_0x2b948f(0x115)],_0x39f53a);return await _0x447bca[_0x2b948f(0x116)]();};function a47_0x5143(){const _0x337d1a=['end','runVanillaTest','vanilla','configuration','pIbKM','../launcher/launcher','runCucumberTest','GIoLj','2564408SUikei','tumqH','startMonitoring','18944wLTFWN','16cpkfur','runTest','EHmoa','206260btjHZD','42NZQzcv','aIesB','run','cucumber-js','../../helpers/test-observability/utils','EVENTS','2684529lhQXkF','mocha','12uGqTrI','1266072gVZjPT','4263130CehnTY','2398076VawMCm','lUKXP'];a47_0x5143=function(){return _0x337d1a;};return a47_0x5143();}
1
+ const a47_0x12e67f=a47_0x3164;(function(_0xba1d09,_0x48d83a){const _0x20530a=a47_0x3164,_0x2a7761=_0xba1d09();while(!![]){try{const _0xec4036=parseInt(_0x20530a(0x11a))/0x1*(parseInt(_0x20530a(0x121))/0x2)+-parseInt(_0x20530a(0x120))/0x3*(parseInt(_0x20530a(0x123))/0x4)+-parseInt(_0x20530a(0x11f))/0x5*(-parseInt(_0x20530a(0x12c))/0x6)+parseInt(_0x20530a(0x129))/0x7+-parseInt(_0x20530a(0x132))/0x8*(parseInt(_0x20530a(0x135))/0x9)+parseInt(_0x20530a(0x11e))/0xa+parseInt(_0x20530a(0x125))/0xb;if(_0xec4036===_0x48d83a)break;else _0x2a7761['push'](_0x2a7761['shift']());}catch(_0x46d7b8){_0x2a7761['push'](_0x2a7761['shift']());}}}(a47_0x360f,0x60706));const PerformanceEvents=require('../../helpers/performance/constants')[a47_0x12e67f(0x136)],PerformanceTester=require('../../helpers/performance/performance-tester'),{sleep}=require('../../helpers/test-observability/utils');function a47_0x3164(_0x2f10b7,_0x55c669){const _0x360f24=a47_0x360f();return a47_0x3164=function(_0x3164dd,_0x156abb){_0x3164dd=_0x3164dd-0x119;let _0x28496f=_0x360f24[_0x3164dd];return _0x28496f;},a47_0x3164(_0x2f10b7,_0x55c669);}function a47_0x360f(){const _0x2957db=['216RLwGYV','cJQJt','formatter','112041wtGgoA','EVENTS','vanilla','configuration','dkWIE','63719iupZwU','Ahpdo','dKKSl','hqHyK','4527470HPsoHY','1685JhIxxn','15ZgllBs','4sPIfUe','fNRhw','588428BungnG','SDK_POST_TEST','1283062yeMsPN','startMonitoring','stopMonitoring','runTest','107114IPzHPE','run','cucumber-js','13434IFvcSg','hTOJw','../launcher/launcher','runVanillaTest','mocha','CsofW'];a47_0x360f=function(){return _0x2957db;};return a47_0x360f();}exports[a47_0x12e67f(0x128)]=async(_0x5c1d1f,_0x1d26ec)=>{const _0x4586db=a47_0x12e67f,_0x3219c4={'hTOJw':function(_0x267e1e,_0x800e21){return _0x267e1e(_0x800e21);},'fNRhw':_0x4586db(0x12e),'CsofW':_0x4586db(0x130),'csRus':function(_0x2e14bb,_0x588023){return _0x2e14bb(_0x588023);}};PerformanceTester[_0x4586db(0x126)]();const _0x4f1420=_0x3219c4[_0x4586db(0x12d)](require,_0x3219c4[_0x4586db(0x122)]),_0x1cdb6b=new _0x4f1420(_0x3219c4[_0x4586db(0x131)],_0x5c1d1f,_0x1d26ec),_0x12ae4d=await _0x1cdb6b[_0x4586db(0x12a)]();return PerformanceTester['end'](PerformanceEvents[_0x4586db(0x124)]),await _0x3219c4['csRus'](sleep,0x3e8),PerformanceTester[_0x4586db(0x127)](),_0x12ae4d;},exports['runCucumberTest']=async(_0x2e7973,_0x2082c7,_0x270903,_0x4ac1c9,_0x43f5a6)=>{const _0x3a337d=a47_0x12e67f,_0x3e537b={'SrUyh':function(_0x49ad17,_0x5a72fa){return _0x49ad17(_0x5a72fa);},'Ahpdo':_0x3a337d(0x12e),'cJQJt':_0x3a337d(0x12b)},_0x44402e={'capability':_0x2e7973,..._0x2082c7},_0x12abab={};_0x12abab[_0x3a337d(0x138)]=_0x44402e,_0x12abab[_0x3a337d(0x134)]=_0x43f5a6;const _0x2307ea=_0x12abab,_0x1ea23b=_0x3e537b['SrUyh'](require,_0x3e537b[_0x3a337d(0x11b)]),_0x30899a=new _0x1ea23b(_0x3e537b[_0x3a337d(0x133)],_0x2307ea,_0x270903,_0x4ac1c9);return await _0x30899a[_0x3a337d(0x12a)]();},exports[a47_0x12e67f(0x12f)]=async _0x15dd85=>{const _0x2d5c01=a47_0x12e67f,_0x5dc800={'dKKSl':function(_0xfff418,_0x5d969b){return _0xfff418(_0x5d969b);},'dkWIE':_0x2d5c01(0x12e),'hqHyK':_0x2d5c01(0x137)},_0x2ed7bd=_0x5dc800[_0x2d5c01(0x11c)](require,_0x5dc800[_0x2d5c01(0x119)]),_0x186fa3=new _0x2ed7bd(_0x5dc800[_0x2d5c01(0x11d)],_0x15dd85);return await _0x186fa3[_0x2d5c01(0x12a)]();};