browserstack-node-sdk 1.56.2 → 1.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +3 -2
  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/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/caCertHelper.js +1 -1
  156. package/src/helpers/capsMapping.js +1 -1
  157. package/src/helpers/central-scanner/constants.js +1 -1
  158. package/src/helpers/central-scanner/helpers.js +1 -1
  159. package/src/helpers/classLogger.js +1 -1
  160. package/src/helpers/driverInitErrorReporter.js +1 -1
  161. package/src/helpers/globals.js +1 -1
  162. package/src/helpers/helper.js +1 -1
  163. package/src/helpers/logger.js +1 -1
  164. package/src/helpers/metadata.js +1 -1
  165. package/src/helpers/patchHelper.js +1 -1
  166. package/src/helpers/patchHelpers.js +1 -1
  167. package/src/helpers/percy/Percy.js +1 -1
  168. package/src/helpers/percy/PercyBinary.js +1 -1
  169. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  170. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  171. package/src/helpers/percy/PercySDK.js +1 -1
  172. package/src/helpers/percy/index.js +1 -1
  173. package/src/helpers/percy/utils.js +1 -1
  174. package/src/helpers/performance/constants.js +1 -1
  175. package/src/helpers/performance/performance-tester.js +1 -1
  176. package/src/helpers/playwright-helper.js +1 -1
  177. package/src/helpers/processHelper.js +1 -1
  178. package/src/helpers/puppeteer-helper.js +1 -1
  179. package/src/helpers/request-spy.js +1 -1
  180. package/src/helpers/setKeepAlive.js +1 -1
  181. package/src/helpers/stackFrameUtils.js +1 -1
  182. package/src/helpers/test-observability/constants.js +1 -1
  183. package/src/helpers/test-observability/error-handler.js +1 -1
  184. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  185. package/src/helpers/test-observability/sessionHandler.js +1 -1
  186. package/src/helpers/test-observability/utils.js +1 -1
  187. package/src/helpers/test-orchestration/constants.js +1 -1
  188. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  189. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  190. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  191. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  192. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  193. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  194. package/src/helpers/testhub/constants.js +1 -1
  195. package/src/helpers/testhub/testhubHandler.js +1 -1
  196. package/src/helpers/testhub/utils.js +1 -1
  197. package/src/helpers/timeoutPromise.js +1 -1
  198. package/src/helpers/utilities.js +1 -1
  199. package/src/helpers/w3cMapping.js +1 -1
  200. package/src/hubAllocationMethods.js +1 -1
  201. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a72_0x2213d7=a72_0x551e;function a72_0x2e6d(){const _0x3e8533=['EtNBK','Using\x20BROWSERSTACK_BINARY_URL\x20from\x20env\x20variable:\x20','SDK_CLI_BIN_PATH','LLyKK','ZVfxm','automationFrameworkDetail','downloadLatestBinary','../../helpers/performance/constants','entry','YUZck','QPUiU','JEqWk','once','DMKHa','../../helpers/test-observability/utils.js','get','Failed\x20to\x20delete\x20zip\x20file:\x20','jcppI','getCliDir','Temp\x20file\x20is\x20busy,\x20falling\x20back\x20to\x20existing\x20binary:\x20','statSync','BIFpt','checkAndUpdateCli','start','getWritableDir','parse','getSdkVersion','node','AUnhH','platform','format','pipe','kZBQD','1|3|0|4|2','Development\x20Cli\x20Path:\x20','EJAVY','mtxMb','shouldSkipSessionStatus','\x20version','BROWSERSTACK_CLI_ENV','util','reduce','ZcsrY','map','oCHkf','770238zGrNbC','filePath','.zip','warn','basename','1740120Adebpv','khIru','NDGrb','0755','Configuring\x20Cli\x20path.','706283xjjJEB','8bfVmFy','rwtJz','Downloading\x20SDK\x20binary\x20from:\x20','Folder\x20','qPjER','Error\x20while\x20reading\x20CLI\x20path:\x20','XpLhN','child_process','stringify','pid','LvTJH','unix:/tmp/sdk-platform-','Got\x20Error\x20in\x20SDK\x20binary\x20downloading\x20request\x20','mergeObject','./state/hookState.js','BROWSERSTACK_BINARY_URL','includes','tmpdir','mtime','../../../package.json','507565KTsNeQ','amVfw','downloaded_file_','srOqi','RcFJT','Nlhph','BROWSERSTACK_TEST_FRAMEWORK_DETAIL','skipSessionName','createWriteStream','getCurrentInstanceName','existsSync','kFawJ','kVblH','getAutomationFrameworkDetail','SDK_CLI_CHECK_UPDATE','GET','YkSxf','version','getSdkLanguage','NMVEe','openSync','join','LSaAn','Setting\x20required\x20permissions\x20to\x20','split','NsjUr','EXDEV','Error\x20in\x20setting\x20up\x20cli\x20path\x20directory,\x20Exception:\x20','message','AgoBV','CSJyy','FcQFN','YhFfV','isBinaryBusy','Temp\x20file\x20is\x20busy\x20and\x20no\x20existing\x20binary\x20found:\x20','Current\x20CLI\x20Path\x20Found:\x20','BROWSERSTACK_AUTOMATION_FRAMEWORK_DETAIL','homedir','XrcKD','SNgOA','LqOqn','./state/automationFrameworkState.js','../../helpers/utilities','readdirSync','follow-redirects','Got\x20Error\x20while\x20downloading\x20SDK\x20binary\x20file\x20%s','tOnDB','lViYS','exports','Got\x20Error\x20in\x20SDK\x20binary\x20download\x20response\x20%s','pnWnf','iYsfK','kLwlc','136282cgeXgN','unlink','SAOCr','./framework/constants/testFrameworkConstants.js','requestToUpdateCLI','isDirectory','getTestFrameworkDetail','testContextOptions','debug','code','end','timeout','isDevelopmentEnv','../utils/constants','esqlp','riuqh','ewmgB','iVuna','info','Failed\x20to\x20unlink\x20temp\x20file\x20after\x20cross-device\x20copy:\x20','./instances/testFrameworkInstance.js','.sock','listen','Temp\x20file\x20became\x20busy\x20during\x20write,\x20falling\x20back\x20to\x20existing\x20binary:\x20','development','Unable\x20to\x20set\x20required\x20permissions\x20to\x20','../../helpers/classLogger.js','env','elFsl','BROWSERSTACK_FILES_DIR','../../helpers/performance/performance-tester.js','No\x20writable\x20directory\x20available\x20for\x20the\x20CLI','fileName','readEntry','rename','Cross-device\x20rename,\x20falling\x20back\x20to\x20copy:\x20','getCLIParamsForDevEnv','SDK_CLI_DOWNLOAD','36OBzeMj','data','evSzJ','worker_threads','lazyEntries','object','cli_version','ssFtQ','.tmp.','Vchps','GhtSp','HOOK_REGEX','shouldSkipSessionName','SgwJy','eenIN','Temp\x20file\x20became\x20busy\x20and\x20no\x20existing\x20binary\x20found:\x20','PyUsI','testFrameworkDetail','wycjh','sUbAa','entries','JFcaD','Existing\x20binary\x20is\x20currently\x20in\x20use,\x20skipping\x20update\x20and\x20continuing\x20with\x20current\x20version:\x20','openReadStream','CLI\x20version\x20found\x20despite\x20error:\x20\x22','error','88UcRnVW','yauzl','hMLDK','629286peRtpm','setFrameworkDetail','filter','cwd','eyULh','startsWith','trim','Need\x20to\x20update\x20binary,\x20current\x20binary\x20version:\x20','YicmM','Unable\x20to\x20get\x20writable\x20directory,\x20exception\x20','nDdTA','test','runShellCommand','RrhwB','SJobW','KKuWR','MHZZy','url','close','EmFVi','548230JnoUFH',',\x20automationFramework=','getExistingCliPath','arch','VZBMB','SHELL_EXECUTE_ERROR'];a72_0x2e6d=function(){return _0x3e8533;};return a72_0x2e6d();}function a72_0x551e(_0x31be4b,_0x53a0d2){const _0x2e6d23=a72_0x2e6d();return a72_0x551e=function(_0x551e1a,_0x2dc4){_0x551e1a=_0x551e1a-0xfd;let _0x2ac4bf=_0x2e6d23[_0x551e1a];return _0x2ac4bf;},a72_0x551e(_0x31be4b,_0x53a0d2);}(function(_0x2539ab,_0x21d721){const _0x3fccc6=a72_0x551e,_0x358097=_0x2539ab();while(!![]){try{const _0x4b61d0=parseInt(_0x3fccc6(0x10d))/0x1+-parseInt(_0x3fccc6(0x157))/0x2*(parseInt(_0x3fccc6(0x17d))/0x3)+parseInt(_0x3fccc6(0x10e))/0x4*(parseInt(_0x3fccc6(0x122))/0x5)+-parseInt(_0x3fccc6(0x108))/0x6+-parseInt(_0x3fccc6(0x19a))/0x7+parseInt(_0x3fccc6(0x197))/0x8*(parseInt(_0x3fccc6(0x103))/0x9)+parseInt(_0x3fccc6(0x1ae))/0xa;if(_0x4b61d0===_0x21d721)break;else _0x358097['push'](_0x358097['shift']());}catch(_0x424814){_0x358097['push'](_0x358097['shift']());}}}(a72_0x2e6d,0xacd54));const fs=require('fs'),os=require('os'),url=require(a72_0x2213d7(0x1ab)),path=require('path'),{exec}=require(a72_0x2213d7(0x115)),{https}=require(a72_0x2213d7(0x14e)),yauzl=require(a72_0x2213d7(0x198)),util=require(a72_0x2213d7(0xfe)),{getFrameworkVersion}=require(a72_0x2213d7(0x1c2)),{threadId}=require(a72_0x2213d7(0x180)),PerformanceTester=require(a72_0x2213d7(0x175)),{EVENTS:PerformanceEvents}=require(a72_0x2213d7(0x1bb)),{isNullOrEmpty,isModifiable,setReadWriteExecuteAccess}=require(a72_0x2213d7(0x14c)),{isTrue,createDir,getHostInfo,nodeRequest,nestedKeyValue}=require('../../helpers/helper'),{UPDATED_CLI_ENDPOINT,BINARY_BUSY_ERROR_CODES}=require(a72_0x2213d7(0x164)),{createClassLogger}=require(a72_0x2213d7(0x171)),TestFrameworkInstance=require(a72_0x2213d7(0x16b)),HookState=require(a72_0x2213d7(0x11c)),TestFrameworkState=require('./state/testFrameworkState.js'),AutomationFrameworkState=require(a72_0x2213d7(0x14b)),TestFrameworkConstants=require(a72_0x2213d7(0x15a)),logger=createClassLogger('CLIUtils'),{getBStackAPIUrl}=require('../utils/apiUtilityMethods.js');class CLIUtils{[a72_0x2213d7(0x1b9)]={};['testFrameworkDetail']={};static[a72_0x2213d7(0x163)](){const _0x4fc5c2=a72_0x2213d7,_0x4e9394={};_0x4e9394[_0x4fc5c2(0x187)]=function(_0x5e85fa,_0x303698){return _0x5e85fa===_0x303698;},_0x4e9394['SAOCr']=_0x4fc5c2(0x16f);const _0x23412e=_0x4e9394;return _0x23412e[_0x4fc5c2(0x187)](process[_0x4fc5c2(0x172)][_0x4fc5c2(0xfd)],_0x23412e[_0x4fc5c2(0x159)]);}static[a72_0x2213d7(0x17b)](){const _0xd1ebe5=a72_0x2213d7,_0x2af65a={};return _0x2af65a['id']=process[_0xd1ebe5(0x172)][_0xd1ebe5(0xfd)],_0x2af65a[_0xd1ebe5(0x16d)]=_0xd1ebe5(0x119)+process[_0xd1ebe5(0x172)]['BROWSERSTACK_CLI_ENV']+_0xd1ebe5(0x16c),_0x2af65a;}static[a72_0x2213d7(0x1ce)](){const _0x405adf=a72_0x2213d7,_0x5bc301={'VZBMB':function(_0x8d1b4e,_0xc9931b){return _0x8d1b4e(_0xc9931b);},'riuqh':_0x405adf(0x121)};return _0x5bc301[_0x405adf(0x1b2)](require,_0x5bc301[_0x405adf(0x166)])[_0x405adf(0x133)];}static[a72_0x2213d7(0x134)](){const _0x199279=a72_0x2213d7,_0x5e3cc8={};_0x5e3cc8[_0x199279(0x135)]=_0x199279(0x1cf);const _0x367730=_0x5e3cc8;return _0x367730[_0x199279(0x135)];}static async['setupCliPath'](_0x49e1b0){const _0x51f418=a72_0x2213d7,_0x23689e={'QPUiU':_0x51f418(0x10c),'amVfw':function(_0x423658,_0x584451){return _0x423658(_0x584451);},'iVuna':_0x51f418(0x176)};logger[_0x51f418(0x15f)](_0x23689e[_0x51f418(0x1be)]);const _0x9c207e=process['env'][_0x51f418(0x1b6)];if(!_0x23689e[_0x51f418(0x123)](isNullOrEmpty,_0x9c207e))return logger[_0x51f418(0x15f)](_0x51f418(0x1d6)+_0x9c207e),_0x9c207e;try{const _0x1ef055=this['getCliDir']();if(_0x23689e[_0x51f418(0x123)](isNullOrEmpty,_0x1ef055))throw new Error(_0x23689e[_0x51f418(0x168)]);const _0x37c87b=this['getExistingCliPath'](_0x1ef055),_0x49c568=await this[_0x51f418(0x1ca)](_0x37c87b,_0x1ef055,_0x49e1b0);return logger['debug']('Resolved\x20binary\x20path:\x20'+_0x49c568),_0x49c568;}catch(_0x5c6168){logger['debug'](_0x51f418(0x13d)+util[_0x51f418(0x1d2)](_0x5c6168));}return null;}static async[a72_0x2213d7(0x1ca)](_0x53989e,_0x1dfad4,_0x2e357d){const _0x557dae=a72_0x2213d7,_0x3e3d86={'Jhugt':function(_0x1b1427){return _0x1b1427();},'cvLAD':function(_0x1af831,_0x5eee85){return _0x1af831(_0x5eee85);},'srOqi':function(_0x61ed03,_0x4f7f7a,_0x4aa613){return _0x61ed03(_0x4f7f7a,_0x4aa613);},'YUZck':'data','qPjER':'url','Nlhph':function(_0x381ce3,_0x50d01f){return _0x381ce3(_0x50d01f);},'Vchps':function(_0x23fbee,_0x5267c2,_0x433576){return _0x23fbee(_0x5267c2,_0x433576);}};PerformanceTester[_0x557dae(0x1cb)](PerformanceEvents[_0x557dae(0x130)]),logger[_0x557dae(0x169)](_0x557dae(0x145)+_0x53989e);const _0xbdc1f1=_0x3e3d86['Jhugt'](getHostInfo),_0x50b994={'sdk_version':CLIUtils[_0x557dae(0x1ce)](),'os':_0xbdc1f1[_0x557dae(0x1d1)],'os_arch':_0xbdc1f1[_0x557dae(0x1b1)],'cli_version':'0','sdk_language':this[_0x557dae(0x134)]()};!_0x3e3d86['cvLAD'](isNullOrEmpty,_0x53989e)&&(_0x50b994['cli_version']=await this[_0x557dae(0x1a6)](_0x53989e+_0x557dae(0x1da)));const _0x1cf7bb=await this[_0x557dae(0x15b)](_0x50b994,_0x2e357d);process[_0x557dae(0x172)]['BROWSERSTACK_BINARY_URL']&&(logger[_0x557dae(0x169)](_0x557dae(0x1b5)+process[_0x557dae(0x172)]['BROWSERSTACK_BINARY_URL']),_0x1cf7bb[_0x557dae(0x17e)][_0x557dae(0x1ab)]=process[_0x557dae(0x172)][_0x557dae(0x11d)]);if(_0x3e3d86[_0x557dae(0x125)](nestedKeyValue,_0x1cf7bb,[_0x3e3d86[_0x557dae(0x1bd)],_0x3e3d86['qPjER']])){logger[_0x557dae(0x15f)](_0x557dae(0x1a1)+_0x50b994[_0x557dae(0x183)]);if(!_0x3e3d86[_0x557dae(0x127)](isNullOrEmpty,_0x53989e)&&this[_0x557dae(0x143)](_0x53989e))return logger['warn'](_0x557dae(0x193)+_0x53989e),PerformanceTester[_0x557dae(0x161)](PerformanceEvents[_0x557dae(0x130)]),_0x53989e;const _0x1a0d68=await this[_0x557dae(0x1ba)](_0x3e3d86[_0x557dae(0x186)](nestedKeyValue,_0x1cf7bb,[_0x3e3d86[_0x557dae(0x1bd)],_0x3e3d86[_0x557dae(0x112)]]),_0x1dfad4);return PerformanceTester[_0x557dae(0x161)](PerformanceEvents[_0x557dae(0x130)]),_0x1a0d68;}return PerformanceTester['end'](PerformanceEvents[_0x557dae(0x130)]),_0x53989e;}static[a72_0x2213d7(0x1c6)](){const _0x4f5db5=a72_0x2213d7,_0x5801c2={'kFawJ':function(_0x1c088b,_0x1bbea2){return _0x1c088b(_0x1bbea2);},'PyUsI':_0x4f5db5(0x176),'XpLhN':'cli','FcQFN':function(_0x328d64,_0x52205e){return _0x328d64(_0x52205e);}},_0x2f909d=this[_0x4f5db5(0x1cc)]();try{if(_0x5801c2[_0x4f5db5(0x12d)](isNullOrEmpty,_0x2f909d))throw new Error(_0x5801c2[_0x4f5db5(0x18d)]);const _0x1798dd=path['join'](_0x2f909d,_0x5801c2[_0x4f5db5(0x114)]);return!fs[_0x4f5db5(0x12c)](_0x1798dd)&&_0x5801c2[_0x4f5db5(0x141)](createDir,_0x1798dd),_0x1798dd;}catch(_0x29a059){logger[_0x4f5db5(0x15f)]('Error\x20in\x20getting\x20writable\x20directory,\x20writableDir='+util[_0x4f5db5(0x1d2)](_0x29a059));}}static[a72_0x2213d7(0x1cc)](){const _0x4a27e7=a72_0x2213d7,_0x48ed80={'EtNBK':'.browserstack','khIru':function(_0x3de95f,_0x4685cc){return _0x3de95f(_0x4685cc);},'RAftw':function(_0x22fc57,_0x4d6a11){return _0x22fc57(_0x4d6a11);},'oCHkf':function(_0x138328,_0x435576){return _0x138328(_0x435576);},'EJAVY':function(_0x47c9f3,_0x14b98d){return _0x47c9f3(_0x14b98d);}},_0x508033=[process['env'][_0x4a27e7(0x174)],path['join'](os[_0x4a27e7(0x147)](),_0x48ed80['EtNBK']),path[_0x4a27e7(0x137)](os[_0x4a27e7(0x11f)](),_0x48ed80[_0x4a27e7(0x1b4)])];for(const _0x2706ab of _0x508033){if(_0x48ed80[_0x4a27e7(0x109)](isNullOrEmpty,_0x2706ab))continue;try{if(fs[_0x4a27e7(0x12c)](_0x2706ab)){logger[_0x4a27e7(0x15f)](_0x4a27e7(0x111)+_0x2706ab+'\x20already\x20exists');if(!_0x48ed80[_0x4a27e7(0x109)](isModifiable,_0x2706ab)){logger[_0x4a27e7(0x15f)](_0x4a27e7(0x139)+_0x2706ab);const _0x18c729=_0x48ed80[_0x4a27e7(0x109)](setReadWriteExecuteAccess,_0x2706ab);if(!_0x48ed80[_0x4a27e7(0x109)](isTrue,_0x18c729)){logger[_0x4a27e7(0x106)](_0x4a27e7(0x170)+_0x2706ab);continue;}}}else{logger[_0x4a27e7(0x15f)]('Folder\x20does\x20not\x20exist:\x20'+_0x2706ab),_0x48ed80['RAftw'](createDir,_0x2706ab),logger[_0x4a27e7(0x15f)](_0x4a27e7(0x139)+_0x2706ab);const _0x3f45b6=_0x48ed80[_0x4a27e7(0x102)](setReadWriteExecuteAccess,_0x2706ab);!_0x48ed80[_0x4a27e7(0x1d7)](isTrue,_0x3f45b6)&&logger[_0x4a27e7(0x106)](_0x4a27e7(0x170)+_0x2706ab);}return _0x2706ab;}catch(_0x483d49){logger[_0x4a27e7(0x196)](_0x4a27e7(0x1a3)+util[_0x4a27e7(0x1d2)](_0x483d49));}}return null;}static[a72_0x2213d7(0x1b0)](_0x14dfaa){const _0x1209fb=a72_0x2213d7,_0x2b3bc5={};_0x2b3bc5[_0x1209fb(0x1c1)]=function(_0x5aa452,_0xc07b47){return _0x5aa452>_0xc07b47;};const _0x1b9140=_0x2b3bc5;try{if(!fs[_0x1209fb(0x12c)](_0x14dfaa)||!fs[_0x1209fb(0x1c8)](_0x14dfaa)[_0x1209fb(0x15c)]())return'';const _0xe6a4dd=fs[_0x1209fb(0x14d)](_0x14dfaa)['map'](_0x13244e=>path[_0x1209fb(0x137)](_0x14dfaa,_0x13244e))[_0x1209fb(0x19c)](_0x40cbfe=>fs[_0x1209fb(0x1c8)](_0x40cbfe)['isFile']()&&path[_0x1209fb(0x107)](_0x40cbfe)[_0x1209fb(0x19f)]('binary-'));if(_0x1b9140[_0x1209fb(0x1c1)](_0xe6a4dd['length'],0x0)){const _0x28e9c7=_0xe6a4dd[_0x1209fb(0x101)](_0x138e54=>({'filePath':_0x138e54,'mtime':fs[_0x1209fb(0x1c8)](_0x138e54)[_0x1209fb(0x120)]}))[_0x1209fb(0xff)]((_0x2a5068,_0x4707cc)=>{const _0x3f3709=_0x1209fb;if(!_0x2a5068||!_0x2a5068[_0x3f3709(0x120)])return _0x4707cc;if(_0x1b9140[_0x3f3709(0x1c1)](_0x4707cc[_0x3f3709(0x120)],_0x2a5068[_0x3f3709(0x120)]))return _0x4707cc;return _0x2a5068;},{});return _0x28e9c7?_0x28e9c7[_0x1209fb(0x104)]:'';}return'';}catch(_0x1958ee){return logger[_0x1209fb(0x196)](_0x1209fb(0x113)+util[_0x1209fb(0x1d2)](_0x1958ee)),'';}}static [a72_0x2213d7(0x15b)]=async(_0x4cf41d,_0x35b0a4)=>{const _0x4bdd56=a72_0x2213d7,_0x52ebf2={'LvTJH':function(_0xca469d,_0x39b336,_0x5684f6,_0x2a302d,_0x448be5){return _0xca469d(_0x39b336,_0x5684f6,_0x2a302d,_0x448be5);},'LpYcc':_0x4bdd56(0x131)},_0x38d6cd={};_0x38d6cd['qs']=_0x4cf41d;const _0x2f2221=await _0x52ebf2[_0x4bdd56(0x118)](nodeRequest,_0x52ebf2['LpYcc'],UPDATED_CLI_ENDPOINT,_0x38d6cd,_0x35b0a4);return logger['debug']('response\x20'+JSON['stringify'](_0x2f2221)),_0x2f2221;};static['isBinaryBusy'](_0x355b48){const _0x4a396d=a72_0x2213d7;try{const _0x236986=fs[_0x4a396d(0x136)](_0x355b48,'r+');return fs['closeSync'](_0x236986),![];}catch(_0x352e92){if(BINARY_BUSY_ERROR_CODES[_0x4a396d(0x11e)](_0x352e92['code']))return logger['debug']('Binary\x20is\x20busy:\x20'+_0x355b48),!![];return logger['debug']('Error\x20checking\x20if\x20binary\x20is\x20busy:\x20'+_0x352e92[_0x4a396d(0x13e)]),![];}}static[a72_0x2213d7(0x1a6)](_0x3afd45,_0x45598c=''){const _0x552491=a72_0x2213d7,_0x5d588e={'jcppI':_0x552491(0x133),'LqOqn':function(_0x4ee754,_0x54a46a){return _0x4ee754(_0x54a46a);},'YDLrh':_0x552491(0x1b3),'esqlp':function(_0x3c7ffe,_0x1de3ec){return _0x3c7ffe(_0x1de3ec);},'RcFJT':function(_0x1b09c9,_0x3922e9,_0x5391d2,_0x2c47f2){return _0x1b09c9(_0x3922e9,_0x5391d2,_0x2c47f2);},'YicmM':'error'};return new Promise((_0x1c4fe4,_0x4b1c73)=>{const _0x534d93=_0x552491,_0x3d75b6={'hzczm':function(_0x27ef8a,_0x59aa42){const _0x136922=a72_0x551e;return _0x5d588e[_0x136922(0x14a)](_0x27ef8a,_0x59aa42);},'EmFVi':_0x5d588e['YDLrh']},_0x48defd={};_0x48defd[_0x534d93(0x19d)]=_0x45598c,_0x48defd[_0x534d93(0x162)]=0x1388;const _0x5144ad=_0x5d588e[_0x534d93(0x126)](exec,_0x3afd45,_0x48defd,(_0x1a185f,_0x1ef7f3,_0x3913a2)=>{const _0x33da6d=_0x534d93;if(_0x1a185f){if(_0x3afd45['includes'](_0x5d588e[_0x33da6d(0x1c5)])&&(_0x1ef7f3['trim']()||_0x3913a2[_0x33da6d(0x1a0)]())){const _0x2dd983=_0x1ef7f3['trim']()||_0x3913a2[_0x33da6d(0x1a0)]();logger[_0x33da6d(0x15f)](_0x33da6d(0x195)+_0x2dd983+'\x22'),_0x5d588e['LqOqn'](_0x1c4fe4,_0x2dd983);}else _0x5d588e['LqOqn'](_0x1c4fe4,_0x3913a2[_0x33da6d(0x1a0)]()||_0x5d588e['YDLrh']);}else logger[_0x33da6d(0x15f)]('Resolving\x20with\x20stdout:\x20\x22'+_0x1ef7f3[_0x33da6d(0x1a0)]()+'\x22'),_0x5d588e[_0x33da6d(0x165)](_0x1c4fe4,_0x1ef7f3[_0x33da6d(0x1a0)]());});_0x5144ad['on'](_0x5d588e[_0x534d93(0x1a2)],()=>{const _0x3001b1=_0x534d93;_0x3d75b6['hzczm'](_0x1c4fe4,_0x3d75b6[_0x3001b1(0x1ad)]);});});}static [a72_0x2213d7(0x1ba)]=async(_0x48a5e8,_0x40d3dd)=>{const _0xfb5876=a72_0x2213d7,_0x5677eb={'dVzrn':function(_0x36d5bb,_0x1fc854){return _0x36d5bb(_0x1fc854);},'JFcaD':_0xfb5876(0x196),'BIFpt':function(_0x32a1d8,_0x50d7b4){return _0x32a1d8(_0x50d7b4);},'KKuWR':_0xfb5876(0x153),'LLyKK':_0xfb5876(0x14f)};PerformanceTester['start'](PerformanceEvents[_0xfb5876(0x17c)]),logger['debug'](_0xfb5876(0x110)+_0x48a5e8);try{const _0x16fbe0=url[_0xfb5876(0x1cd)](_0x48a5e8),_0x470467=path[_0xfb5876(0x137)](_0x40d3dd,_0xfb5876(0x124)+process['pid']+_0xfb5876(0x105)),_0x4f8958=fs[_0xfb5876(0x12a)](_0x470467);return new Promise((_0x10f0d7,_0x13ec03)=>{const _0x400f6d=_0xfb5876,_0x204827={'lViYS':_0x5677eb[_0x400f6d(0x1a9)],'kVblH':function(_0x326473,_0x3d3d31){const _0x4283d0=_0x400f6d;return _0x5677eb[_0x4283d0(0x1c9)](_0x326473,_0x3d3d31);},'deTLl':_0x5677eb[_0x400f6d(0x1b7)]};https[_0x400f6d(0x1c3)](_0x16fbe0,function(_0x4a1c6b){const _0x2f9739=_0x400f6d,_0x7cf552={'jbdtt':function(_0x146124,_0x48b2c7){return _0x5677eb['dVzrn'](_0x146124,_0x48b2c7);}},_0x4c3efe=null;_0x4a1c6b[_0x2f9739(0x1d3)](_0x4f8958),_0x4a1c6b['on'](_0x5677eb[_0x2f9739(0x192)],function(_0x26d226){const _0x3b161f=_0x2f9739;logger[_0x3b161f(0x196)](util[_0x3b161f(0x1d2)](_0x204827[_0x3b161f(0x151)],_0x26d226)),PerformanceTester[_0x3b161f(0x161)](PerformanceEvents[_0x3b161f(0x17c)],![],util[_0x3b161f(0x1d2)](_0x26d226)),_0x204827[_0x3b161f(0x12e)](_0x13ec03,_0x26d226);}),_0x4f8958['on'](_0x5677eb[_0x2f9739(0x192)],function(_0x18d74e){const _0x7bc6e=_0x2f9739;logger[_0x7bc6e(0x196)](util[_0x7bc6e(0x1d2)](_0x204827['deTLl'],_0x18d74e)),PerformanceTester[_0x7bc6e(0x161)](PerformanceEvents[_0x7bc6e(0x17c)],![],util['format'](_0x18d74e)),_0x204827[_0x7bc6e(0x12e)](_0x13ec03,_0x18d74e);}),CLIUtils['downloadFileStream'](_0x4f8958,_0x4c3efe,_0x470467,_0x40d3dd,_0x5bde6a=>{const _0x433ae5=_0x2f9739;PerformanceTester[_0x433ae5(0x161)](PerformanceEvents[_0x433ae5(0x17c)]),_0x7cf552['jbdtt'](_0x10f0d7,_0x5bde6a);},_0x441040=>{const _0x2a197f=_0x2f9739;PerformanceTester[_0x2a197f(0x161)](PerformanceEvents['SDK_CLI_DOWNLOAD'],![],util[_0x2a197f(0x1d2)](_0x441040)),_0x204827[_0x2a197f(0x12e)](_0x13ec03,_0x441040);});})['on'](_0x5677eb[_0x400f6d(0x192)],function(_0x13d716){const _0x5ed6b1=_0x400f6d;logger['error'](_0x5ed6b1(0x11a)+util[_0x5ed6b1(0x1d2)](_0x13d716)),PerformanceTester['end'](PerformanceEvents[_0x5ed6b1(0x17c)],![],util[_0x5ed6b1(0x1d2)](_0x13d716)),_0x5677eb['BIFpt'](_0x13ec03,_0x13d716);});});}catch(_0x466cc7){PerformanceTester[_0xfb5876(0x161)](PerformanceEvents[_0xfb5876(0x17c)],![],util[_0xfb5876(0x1d2)](_0x466cc7)),logger[_0xfb5876(0x15f)]('Failed\x20to\x20download\x20SDK\x20binary,\x20Exception:\x20'+util[_0xfb5876(0x1d2)](_0x466cc7));}};static['downloadFileStream'](_0x37a9b6,_0x510134,_0x47b205,_0x516a17,_0xfa179c,_0x10f2da){const _0x176239=a72_0x2213d7,_0x176f19={'NsjUr':function(_0x5352da,_0x107373){return _0x5352da(_0x107373);},'ZVfxm':_0x176239(0x1ac),'lpQGR':function(_0x55fb8f,_0x16e35d){return _0x55fb8f(_0x16e35d);},'elFsl':'end','nDdTA':function(_0x463419,_0x1b82ce){return _0x463419!==_0x1b82ce;},'SgwJy':_0x176239(0x196),'CSJyy':function(_0x1cae6a,_0x278485){return _0x1cae6a(_0x278485);},'uBIXq':function(_0x397767,_0x442765){return _0x397767!==_0x442765;},'kZBQD':_0x176239(0x13c),'sUbAa':function(_0xb41059,_0x38927e){return _0xb41059(_0x38927e);},'kLwlc':function(_0x18714b,_0x5baafc){return _0x18714b(_0x5baafc);},'evSzJ':_0x176239(0x10b),'ewmgB':function(_0x5421ec,_0x48b714){return _0x5421ec(_0x48b714);},'tOnDB':_0x176239(0x1bc)};_0x37a9b6['on'](_0x176f19[_0x176239(0x1b8)],function(){const _0x3febdc=_0x176239,_0x435ce0={};_0x435ce0[_0x3febdc(0x181)]=!![],yauzl['open'](_0x47b205,_0x435ce0,function(_0x341ae4,_0xcb2204){const _0x3a2d62=_0x3febdc,_0x56f4e0={'XrcKD':function(_0x2a4d3c,_0xd67903){const _0x260372=a72_0x551e;return _0x176f19[_0x260372(0x13b)](_0x2a4d3c,_0xd67903);},'mtxMb':function(_0x3e6ada,_0x38e5d3){const _0x55fcc3=a72_0x551e;return _0x176f19[_0x55fcc3(0x13b)](_0x3e6ada,_0x38e5d3);},'AgoBV':_0x176f19[_0x3a2d62(0x1b8)],'YhFfV':function(_0x30ac1b,_0x8ea45c){return _0x176f19['lpQGR'](_0x30ac1b,_0x8ea45c);},'JEqWk':_0x176f19[_0x3a2d62(0x173)],'KAkbW':function(_0xf66cb5,_0x15200c){const _0x2c49cf=_0x3a2d62;return _0x176f19[_0x2c49cf(0x1a4)](_0xf66cb5,_0x15200c);},'ssFtQ':function(_0x4c8f4f,_0x3bde26){return _0x176f19['lpQGR'](_0x4c8f4f,_0x3bde26);},'rkpco':_0x176f19[_0x3a2d62(0x18a)],'SJobW':function(_0x51e245,_0x16c826){const _0x1b94f4=_0x3a2d62;return _0x176f19[_0x1b94f4(0x140)](_0x51e245,_0x16c826);},'jzRnt':function(_0x598d21,_0x28c05f){return _0x176f19['uBIXq'](_0x598d21,_0x28c05f);},'MzdXE':_0x176f19[_0x3a2d62(0x1d4)],'hMLDK':function(_0x3c3eb8,_0x432982){const _0x12d617=_0x3a2d62;return _0x176f19[_0x12d617(0x190)](_0x3c3eb8,_0x432982);},'eyULh':function(_0x37eb9a,_0x29cdac){const _0x44c329=_0x3a2d62;return _0x176f19[_0x44c329(0x156)](_0x37eb9a,_0x29cdac);},'NDGrb':_0x176f19[_0x3a2d62(0x17f)]};if(_0x341ae4){_0x176f19[_0x3a2d62(0x167)](_0x10f2da,_0x341ae4);return;}_0xcb2204[_0x3a2d62(0x178)](),_0xcb2204['on'](_0x176f19[_0x3a2d62(0x150)],_0x4bf4be=>{const _0x4fb8bd=_0x3a2d62,_0x3a43df={'aUokK':_0x56f4e0[_0x4fb8bd(0x13f)],'MHZZy':function(_0x54ae67,_0x554e98){return _0x56f4e0['YhFfV'](_0x54ae67,_0x554e98);},'eenIN':_0x56f4e0[_0x4fb8bd(0x1bf)]};if(/\/$/['test'](_0x4bf4be[_0x4fb8bd(0x177)])){_0xcb2204[_0x4fb8bd(0x178)]();return;}!_0x510134&&(_0x510134=_0x4bf4be['fileName']);if(_0x56f4e0['KAkbW'](_0x4bf4be[_0x4fb8bd(0x177)],_0x510134))_0xcb2204['readEntry']();else{const _0x266679=_0x4bf4be[_0x4fb8bd(0x177)],_0x2d011a=path[_0x4fb8bd(0x137)](_0x516a17,_0x266679+_0x4fb8bd(0x185)+process[_0x4fb8bd(0x117)]);let _0x146ca2;try{_0x146ca2=fs['createWriteStream'](_0x2d011a);}catch(_0x14f074){if(BINARY_BUSY_ERROR_CODES[_0x4fb8bd(0x11e)](_0x14f074[_0x4fb8bd(0x160)])){const _0x3843ed=path[_0x4fb8bd(0x137)](_0x516a17,_0x266679);if(fs[_0x4fb8bd(0x12c)](_0x3843ed)){logger[_0x4fb8bd(0x106)](_0x4fb8bd(0x1c7)+_0x266679),fs[_0x4fb8bd(0x158)](_0x47b205,_0x2101ce=>{const _0x2d4ffc=_0x4fb8bd;_0x2101ce&&logger[_0x2d4ffc(0x106)](_0x2d4ffc(0x1c4)+_0x47b205);}),_0x56f4e0[_0x4fb8bd(0x142)](_0xfa179c,_0x3843ed);return;}logger[_0x4fb8bd(0x106)](_0x4fb8bd(0x144)+_0x266679);}_0x56f4e0[_0x4fb8bd(0x184)](_0x10f2da,_0x14f074);return;}_0x146ca2['on'](_0x56f4e0['rkpco'],_0x49bf96=>{const _0x4572e1=_0x4fb8bd;if(BINARY_BUSY_ERROR_CODES[_0x4572e1(0x11e)](_0x49bf96['code'])){const _0x575afd=path[_0x4572e1(0x137)](_0x516a17,_0x266679);_0x146ca2[_0x4572e1(0x1ac)](),fs[_0x4572e1(0x12c)](_0x575afd)?(logger[_0x4572e1(0x106)](_0x4572e1(0x16e)+_0x49bf96['message']),_0xcb2204[_0x4572e1(0x1ac)](),fs[_0x4572e1(0x158)](_0x47b205,_0x5236a5=>{const _0x30c601=_0x4572e1;_0x5236a5&&logger[_0x30c601(0x106)](_0x30c601(0x1c4)+_0x47b205);}),_0x56f4e0['XrcKD'](_0xfa179c,_0x575afd)):(logger[_0x4572e1(0x106)](_0x4572e1(0x18c)+_0x49bf96['message']),fs[_0x4572e1(0x158)](_0x2d011a,()=>{}),_0x56f4e0[_0x4572e1(0x148)](_0x10f2da,_0x49bf96));}else fs[_0x4572e1(0x158)](_0x2d011a,()=>{}),_0x56f4e0[_0x4572e1(0x1d8)](_0x10f2da,_0x49bf96);}),_0xcb2204[_0x4fb8bd(0x194)](_0x4bf4be,function(_0x3dc0ec,_0x5bb49b){const _0x1950d3=_0x4fb8bd,_0x3d3b21={};_0x3d3b21['wycjh']=_0x3a43df['aUokK'];const _0x5de2cb=_0x3d3b21;if(_0x3dc0ec){fs[_0x1950d3(0x158)](_0x2d011a,()=>{}),_0x3a43df[_0x1950d3(0x1aa)](_0x10f2da,_0x3dc0ec);return;}_0x5bb49b['on'](_0x3a43df[_0x1950d3(0x18b)],function(){const _0x5b7428=_0x1950d3;_0x146ca2[_0x5b7428(0x161)](),_0x146ca2['on'](_0x5de2cb[_0x5b7428(0x18f)],function(){_0xcb2204['readEntry']();});}),_0x5bb49b[_0x1950d3(0x1d3)](_0x146ca2);});}}),_0xcb2204['on'](_0x176f19[_0x3a2d62(0x18a)],_0x311095=>{const _0x4e7580=_0x3a2d62;_0x56f4e0[_0x4e7580(0x1a8)](_0x10f2da,_0x311095);}),_0xcb2204[_0x3a2d62(0x1c0)](_0x176f19[_0x3a2d62(0x173)],()=>{const _0x27a03b=_0x3a2d62;fs[_0x27a03b(0x158)](_0x47b205,_0xccec62=>{const _0x20db4a=_0x27a03b;_0xccec62&&logger[_0x20db4a(0x106)]('Failed\x20to\x20delete\x20zip\x20file:\x20'+_0x47b205);});const _0x5b1b0c=path[_0x27a03b(0x137)](_0x516a17,_0x510134+_0x27a03b(0x185)+process[_0x27a03b(0x117)]),_0x47ab32=path['join'](_0x516a17,_0x510134);fs['chmod'](_0x5b1b0c,_0x56f4e0[_0x27a03b(0x10a)],function(_0x73c30f){const _0x4e977e=_0x27a03b,_0x4f1daf={'pnWnf':function(_0x159d48,_0x52647c){return _0x56f4e0['jzRnt'](_0x159d48,_0x52647c);},'ZcsrY':_0x56f4e0['MzdXE'],'jJGnN':function(_0xd1e20e,_0x478bcb){return _0x56f4e0['hMLDK'](_0xd1e20e,_0x478bcb);},'gIhxa':function(_0x2acd69,_0x15e9b5){const _0x25522d=a72_0x551e;return _0x56f4e0[_0x25522d(0x199)](_0x2acd69,_0x15e9b5);}};if(_0x73c30f){_0xcb2204['close'](),fs['unlink'](_0x5b1b0c,()=>{}),_0x56f4e0[_0x4e977e(0x19e)](_0x10f2da,_0x73c30f);return;}fs[_0x4e977e(0x179)](_0x5b1b0c,_0x47ab32,function(_0x5708b6){const _0x35d630=_0x4e977e;if(_0x5708b6){if(_0x4f1daf[_0x35d630(0x154)](_0x5708b6[_0x35d630(0x160)],_0x4f1daf[_0x35d630(0x100)])){_0xcb2204[_0x35d630(0x1ac)](),fs['unlink'](_0x5b1b0c,()=>{}),_0x4f1daf['jJGnN'](_0x10f2da,_0x5708b6);return;}logger[_0x35d630(0x106)](_0x35d630(0x17a)+_0x5708b6[_0x35d630(0x13e)]);try{fs['copyFileSync'](_0x5b1b0c,_0x47ab32);}catch(_0xe31e26){_0xcb2204[_0x35d630(0x1ac)](),fs['unlink'](_0x5b1b0c,()=>{}),_0x4f1daf['jJGnN'](_0x10f2da,_0xe31e26);return;}fs['unlink'](_0x5b1b0c,_0x28f418=>{const _0x46e522=_0x35d630;_0x28f418&&logger[_0x46e522(0x106)](_0x46e522(0x16a)+_0x28f418[_0x46e522(0x13e)]);});}_0xcb2204['close'](),_0x4f1daf['gIhxa'](_0xfa179c,_0x47ab32);});});});});});}static[a72_0x2213d7(0x15d)](){const _0x509f85=a72_0x2213d7;if(process[_0x509f85(0x172)][_0x509f85(0x128)])return JSON['parse'](process[_0x509f85(0x172)][_0x509f85(0x128)]);return this[_0x509f85(0x18e)];}static[a72_0x2213d7(0x12f)](){const _0x366a4c=a72_0x2213d7;if(process[_0x366a4c(0x172)][_0x366a4c(0x146)])return JSON['parse'](process[_0x366a4c(0x172)][_0x366a4c(0x146)]);return this[_0x366a4c(0x1b9)];}static[a72_0x2213d7(0x19b)](_0x101869,_0x5aaf84){const _0x264434=a72_0x2213d7,_0x3b6da1={'LSaAn':_0x264434(0x1d5),'YkSxf':function(_0x4630f3,_0x470162){return _0x4630f3(_0x470162);},'iYsfK':function(_0x2687be,_0x1e98e8){return _0x2687be||_0x1e98e8;},'RrhwB':function(_0xcb0c69,_0x1712d5){return _0xcb0c69(_0x1712d5);}},_0x3ad041=_0x3b6da1[_0x264434(0x138)][_0x264434(0x13a)]('|');let _0x2444e3=0x0;while(!![]){switch(_0x3ad041[_0x2444e3++]){case'0':this[_0x264434(0x1b9)]={'name':_0x5aaf84,'version':_0x3b6da1[_0x264434(0x132)](getFrameworkVersion,_0x5aaf84)};continue;case'1':_0x3b6da1[_0x264434(0x155)](!_0x101869,!_0x5aaf84)&&logger['debug']('Test\x20or\x20Automation\x20framework\x20not\x20provided\x20testFramework='+_0x101869+_0x264434(0x1af)+_0x5aaf84);continue;case'2':process['env'][_0x264434(0x128)]=JSON['stringify'](this[_0x264434(0x18e)]);continue;case'3':this[_0x264434(0x18e)]={'name':_0x101869,'version':{[_0x101869]:_0x3b6da1[_0x264434(0x1a7)](getFrameworkVersion,_0x101869)}};continue;case'4':process[_0x264434(0x172)][_0x264434(0x146)]=JSON[_0x264434(0x116)](this[_0x264434(0x1b9)]);continue;}break;}}static['getHookRegistryKey'](_0x1c440d,_0x3bf0c4){return _0x1c440d+':'+_0x3bf0c4;}static[a72_0x2213d7(0x12b)](){return process['pid']+':'+threadId;}static[a72_0x2213d7(0x189)](_0x152ad5){const _0x698e69=a72_0x2213d7;if(_0x152ad5[_0x698e69(0x15e)]&&_0x152ad5[_0x698e69(0x15e)][_0x698e69(0x129)])return!![];return![];}static[a72_0x2213d7(0x1d9)](_0x14ca5e){if(_0x14ca5e['testContextOptions']&&_0x14ca5e['testContextOptions']['skipSessionStatus'])return!![];return![];}static['matchHookRegex'](_0x2353b1){const _0x364bbc=a72_0x2213d7,_0x92359c=new RegExp(TestFrameworkConstants[_0x364bbc(0x188)]);return _0x92359c[_0x364bbc(0x1a5)](_0x2353b1);}static[a72_0x2213d7(0x11b)](_0x4ff00b,_0x4b4c4c){const _0xe0f858=a72_0x2213d7,_0xcaa38c={};_0xcaa38c[_0xe0f858(0x149)]=function(_0x241f31,_0x2ec648){return _0x241f31!==_0x2ec648;},_0xcaa38c[_0xe0f858(0x10f)]=function(_0x5e3d7a,_0x30c207){return _0x5e3d7a===_0x30c207;},_0xcaa38c[_0xe0f858(0x1d0)]=_0xe0f858(0x182);const _0x823511=_0xcaa38c;for(const [_0x41af5e,_0x5dfae1]of Object[_0xe0f858(0x191)](_0x4b4c4c)){if(_0x823511['SNgOA'](_0x5dfae1,null)&&_0x823511[_0xe0f858(0x10f)](typeof _0x5dfae1,_0x823511[_0xe0f858(0x1d0)])&&!Array['isArray'](_0x5dfae1))_0x4ff00b[_0x41af5e]=this['mergeObject'](_0x4ff00b[_0x41af5e]||{},_0x5dfae1);else Array['isArray'](_0x5dfae1)?_0x4ff00b[_0x41af5e]=(_0x4ff00b[_0x41af5e]||[])['concat'](_0x5dfae1):_0x4ff00b[_0x41af5e]=_0x5dfae1;}return _0x4ff00b;}}module[a72_0x2213d7(0x152)]=CLIUtils;
1
+ function a72_0x5a60(){const _0x378bdb=['isArray','Failed\x20to\x20unlink\x20temp\x20file\x20after\x20cross-device\x20copy:\x20','Temp\x20file\x20is\x20busy\x20and\x20no\x20existing\x20binary\x20found:\x20','NNyVC','getAutomationFrameworkDetail','split','fileName','jUbQA','cckUN','getSdkVersion','LhLrq','DXJSi','Temp\x20file\x20is\x20busy,\x20falling\x20back\x20to\x20existing\x20binary:\x20','fFbls','egVus','cli_version','zUjAj','8016440MeFSUW','setFrameworkDetail','CLI\x20version\x20found\x20despite\x20error:\x20\x22','mergeObject','BROWSERSTACK_TEST_FRAMEWORK_DETAIL','getCliDir','moEof','startsWith','Czvzo','tJPkC','url','BROWSERSTACK_FILES_DIR','PXFJr','getTestFrameworkDetail','aNrjG','skipSessionName','KJqNf','unix:/tmp/sdk-platform-','bpsHZ','testContextOptions','Temp\x20file\x20became\x20busy\x20during\x20write,\x20falling\x20back\x20to\x20existing\x20binary:\x20','./state/hookState.js','arch','yGrIr','FFsPp','parse','CLIUtils','dVgZk','statSync','existsSync','No\x20writable\x20directory\x20available\x20for\x20the\x20CLI','rPoGZ','rNFuA','util','ENKbp','getCurrentInstanceName','response\x20','Folder\x20does\x20not\x20exist:\x20','Current\x20CLI\x20Path\x20Found:\x20','Error\x20checking\x20if\x20binary\x20is\x20busy:\x20','NbSbK','.zip','openSync','info','CEUdd','0755','Test\x20or\x20Automation\x20framework\x20not\x20provided\x20testFramework=','nrNsu','worker_threads','rename','closeSync','dTQhI','1137207QeILtt','mLdNH','basename','map','Error\x20in\x20getting\x20writable\x20directory,\x20writableDir=','mtime','akiot','.sock','shouldSkipSessionStatus','rNQjG','bWUQN','cwd','trim','2|1|4|0|3','XFvEF','Development\x20Cli\x20Path:\x20','.tmp.','JEShL','SgJCi','pipe','debug','../../helpers/helper','BMJpt','matchHookRegex','EQwdh','isFile','mmUrL','tmpdir','2172352WmwFGC','MiWAk','Downloading\x20SDK\x20binary\x20from:\x20','Error\x20while\x20reading\x20CLI\x20path:\x20','HKHaH','entry','getWritableDir','GqbRu','4033044FtWnOW','Temp\x20file\x20became\x20busy\x20and\x20no\x20existing\x20binary\x20found:\x20','start','end','Using\x20BROWSERSTACK_BINARY_URL\x20from\x20env\x20variable:\x20','\x20already\x20exists','code','open','requestToUpdateCLI','TmDVF','IOzpa','SDK_CLI_CHECK_UPDATE','runShellCommand','fWwfj','../../../package.json','stringify','oadkX','downloaded_file_','includes','unlink','sHiXe','../utils/apiUtilityMethods.js','reduce','wmkJB','downloadFileStream','error','env','yauzl','getExistingCliPath','testFrameworkDetail','../../helpers/test-observability/utils.js','readdirSync','ofksL','tcQIa','object','EXDEV','setupCliPath','\x20version','HyEjb','../../helpers/classLogger.js','pid','message','entries','ZEXZM','SDK_CLI_DOWNLOAD','477312DxuCyJ','homedir','../../helpers/performance/performance-tester.js','Unable\x20to\x20set\x20required\x20permissions\x20to\x20','test','KeSxF','Failed\x20to\x20delete\x20zip\x20file:\x20','SHELL_EXECUTE_ERROR','Setting\x20required\x20permissions\x20to\x20','36oltloZ','918545taDAYX','createWriteStream','data','moDXW','close','isDirectory','PZvuL','PGThx','GET','join','BROWSERSTACK_CLI_ENV','automationFrameworkDetail','Need\x20to\x20update\x20binary,\x20current\x20binary\x20version:\x20','Cross-device\x20rename,\x20falling\x20back\x20to\x20copy:\x20','timeout','node','NMXnD','getSdkLanguage','isBinaryBusy','format','readEntry','exports','child_process','Configuring\x20Cli\x20path.','Existing\x20binary\x20is\x20currently\x20in\x20use,\x20skipping\x20update\x20and\x20continuing\x20with\x20current\x20version:\x20','BROWSERSTACK_BINARY_URL','Failed\x20to\x20download\x20SDK\x20binary,\x20Exception:\x20','follow-redirects','Got\x20Error\x20in\x20SDK\x20binary\x20download\x20response\x20%s','2019332OTLUNs','NaWuO','lazyEntries','version','.browserstack','LamiO','copyFileSync','iCPJB','cli','SeuBl','Unable\x20to\x20get\x20writable\x20directory,\x20exception\x20','downloadLatestBinary','warn','UwOys','BROWSERSTACK_AUTOMATION_FRAMEWORK_DETAIL','get'];a72_0x5a60=function(){return _0x378bdb;};return a72_0x5a60();}const a72_0x89a1a2=a72_0x340b;(function(_0x558255,_0x37d279){const _0x4433a8=a72_0x340b,_0x5c26fd=_0x558255();while(!![]){try{const _0x15b0fc=parseInt(_0x4433a8(0xda))/0x1+parseInt(_0x4433a8(0x85))/0x2+-parseInt(_0x4433a8(0x12b))/0x3+parseInt(_0x4433a8(0xfe))/0x4+parseInt(_0x4433a8(0x135))/0x5*(-parseInt(_0x4433a8(0x134))/0x6)+-parseInt(_0x4433a8(0xf6))/0x7+-parseInt(_0x4433a8(0xa6))/0x8;if(_0x15b0fc===_0x37d279)break;else _0x5c26fd['push'](_0x5c26fd['shift']());}catch(_0x56afd3){_0x5c26fd['push'](_0x5c26fd['shift']());}}}(a72_0x5a60,0x8df09));const fs=require('fs'),os=require('os'),url=require(a72_0x89a1a2(0xb0)),path=require('path'),{exec}=require(a72_0x89a1a2(0x7e)),{https}=require(a72_0x89a1a2(0x83)),yauzl=require(a72_0x89a1a2(0x119)),util=require(a72_0x89a1a2(0xc7)),{getFrameworkVersion}=require(a72_0x89a1a2(0x11c)),{threadId}=require(a72_0x89a1a2(0xd6)),PerformanceTester=require(a72_0x89a1a2(0x12d)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{isNullOrEmpty,isModifiable,setReadWriteExecuteAccess}=require('../../helpers/utilities'),{isTrue,createDir,getHostInfo,nodeRequest,nestedKeyValue}=require(a72_0x89a1a2(0xef)),{UPDATED_CLI_ENDPOINT,BINARY_BUSY_ERROR_CODES}=require('../utils/constants'),{createClassLogger}=require(a72_0x89a1a2(0x125)),TestFrameworkInstance=require('./instances/testFrameworkInstance.js'),HookState=require(a72_0x89a1a2(0xbb)),TestFrameworkState=require('./state/testFrameworkState.js'),AutomationFrameworkState=require('./state/automationFrameworkState.js'),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants.js'),logger=createClassLogger(a72_0x89a1a2(0xc0)),{getBStackAPIUrl}=require(a72_0x89a1a2(0x113));function a72_0x340b(_0x93f729,_0x2e4ad8){const _0x5a607a=a72_0x5a60();return a72_0x340b=function(_0x340b8b,_0x3179b1){_0x340b8b=_0x340b8b-0x69;let _0x68dd95=_0x5a607a[_0x340b8b];return _0x68dd95;},a72_0x340b(_0x93f729,_0x2e4ad8);}class CLIUtils{[a72_0x89a1a2(0x73)]={};[a72_0x89a1a2(0x11b)]={};static['isDevelopmentEnv'](){const _0x1fa5ba=a72_0x89a1a2,_0x9d2b89={};_0x9d2b89[_0x1fa5ba(0x10e)]=function(_0x229bc9,_0x557981){return _0x229bc9===_0x557981;},_0x9d2b89[_0x1fa5ba(0xa3)]='development';const _0xa9cca6=_0x9d2b89;return _0xa9cca6[_0x1fa5ba(0x10e)](process[_0x1fa5ba(0x118)][_0x1fa5ba(0x72)],_0xa9cca6[_0x1fa5ba(0xa3)]);}static['getCLIParamsForDevEnv'](){const _0x5c754e=a72_0x89a1a2,_0x3b1a20={};return _0x3b1a20['id']=process[_0x5c754e(0x118)][_0x5c754e(0x72)],_0x3b1a20['listen']=_0x5c754e(0xb7)+process[_0x5c754e(0x118)][_0x5c754e(0x72)]+_0x5c754e(0xe1),_0x3b1a20;}static[a72_0x89a1a2(0x9e)](){const _0x4fdc3b=a72_0x89a1a2,_0x4fee42={'WYQwT':function(_0x14264c,_0x504548){return _0x14264c(_0x504548);},'zUjAj':_0x4fdc3b(0x10c)};return _0x4fee42['WYQwT'](require,_0x4fee42[_0x4fdc3b(0xa5)])[_0x4fdc3b(0x88)];}static[a72_0x89a1a2(0x79)](){const _0x546743=a72_0x89a1a2,_0x39a7fa={};_0x39a7fa[_0x546743(0x112)]=_0x546743(0x77);const _0x413d12=_0x39a7fa;return _0x413d12['sHiXe'];}static async[a72_0x89a1a2(0x122)](_0x5bdcb3){const _0x3b7fb1=a72_0x89a1a2,_0x5c0f41={'PXFJr':_0x3b7fb1(0x7f),'PZvuL':function(_0x2d2103,_0x561479){return _0x2d2103(_0x561479);},'bWUQN':function(_0x11e385,_0x227ae0){return _0x11e385(_0x227ae0);},'SeuBl':_0x3b7fb1(0xc4)};logger[_0x3b7fb1(0xee)](_0x5c0f41[_0x3b7fb1(0xb2)]);const _0x3118ef=process[_0x3b7fb1(0x118)]['SDK_CLI_BIN_PATH'];if(!_0x5c0f41[_0x3b7fb1(0x6e)](isNullOrEmpty,_0x3118ef))return logger[_0x3b7fb1(0xee)](_0x3b7fb1(0xe9)+_0x3118ef),_0x3118ef;try{const _0x166da4=this[_0x3b7fb1(0xab)]();if(_0x5c0f41[_0x3b7fb1(0xe4)](isNullOrEmpty,_0x166da4))throw new Error(_0x5c0f41[_0x3b7fb1(0x8e)]);const _0x26662b=this['getExistingCliPath'](_0x166da4),_0x1acc4a=await this['checkAndUpdateCli'](_0x26662b,_0x166da4,_0x5bdcb3);return logger[_0x3b7fb1(0xee)]('Resolved\x20binary\x20path:\x20'+_0x1acc4a),_0x1acc4a;}catch(_0x26e9c3){logger[_0x3b7fb1(0xee)]('Error\x20in\x20setting\x20up\x20cli\x20path\x20directory,\x20Exception:\x20'+util[_0x3b7fb1(0x7b)](_0x26e9c3));}return null;}static async['checkAndUpdateCli'](_0x2ab247,_0x5efa3c,_0x4898eb){const _0xaee214=a72_0x89a1a2,_0x6d58c6={'rPoGZ':function(_0x2843f8){return _0x2843f8();},'akiot':function(_0x5c375b,_0x55923e){return _0x5c375b(_0x55923e);},'rNFuA':function(_0x202b98,_0x46d3bb,_0x403809){return _0x202b98(_0x46d3bb,_0x403809);},'NaWuO':_0xaee214(0x6a),'rNQjG':'url','fFbls':function(_0x2ec47e,_0xc01afc,_0x3f6c42){return _0x2ec47e(_0xc01afc,_0x3f6c42);}};PerformanceTester[_0xaee214(0x100)](PerformanceEvents[_0xaee214(0x109)]),logger[_0xaee214(0xd1)](_0xaee214(0xcc)+_0x2ab247);const _0x3b43a3=_0x6d58c6[_0xaee214(0xc5)](getHostInfo),_0xd8f0bc={'sdk_version':CLIUtils[_0xaee214(0x9e)](),'os':_0x3b43a3['platform'],'os_arch':_0x3b43a3[_0xaee214(0xbc)],'cli_version':'0','sdk_language':this[_0xaee214(0x79)]()};!_0x6d58c6[_0xaee214(0xe0)](isNullOrEmpty,_0x2ab247)&&(_0xd8f0bc[_0xaee214(0xa4)]=await this[_0xaee214(0x10a)](_0x2ab247+_0xaee214(0x123)));const _0x4297e0=await this['requestToUpdateCLI'](_0xd8f0bc,_0x4898eb);process[_0xaee214(0x118)]['BROWSERSTACK_BINARY_URL']&&(logger[_0xaee214(0xd1)](_0xaee214(0x102)+process[_0xaee214(0x118)]['BROWSERSTACK_BINARY_URL']),_0x4297e0[_0xaee214(0x6a)][_0xaee214(0xb0)]=process['env'][_0xaee214(0x81)]);if(_0x6d58c6[_0xaee214(0xc6)](nestedKeyValue,_0x4297e0,[_0x6d58c6[_0xaee214(0x86)],_0x6d58c6[_0xaee214(0xe3)]])){logger[_0xaee214(0xee)](_0xaee214(0x74)+_0xd8f0bc[_0xaee214(0xa4)]);if(!_0x6d58c6[_0xaee214(0xe0)](isNullOrEmpty,_0x2ab247)&&this[_0xaee214(0x7a)](_0x2ab247))return logger[_0xaee214(0x91)](_0xaee214(0x80)+_0x2ab247),PerformanceTester['end'](PerformanceEvents[_0xaee214(0x109)]),_0x2ab247;const _0x3c08a7=await this[_0xaee214(0x90)](_0x6d58c6[_0xaee214(0xa2)](nestedKeyValue,_0x4297e0,[_0x6d58c6[_0xaee214(0x86)],_0x6d58c6[_0xaee214(0xe3)]]),_0x5efa3c);return PerformanceTester[_0xaee214(0x101)](PerformanceEvents[_0xaee214(0x109)]),_0x3c08a7;}return PerformanceTester[_0xaee214(0x101)](PerformanceEvents[_0xaee214(0x109)]),_0x2ab247;}static[a72_0x89a1a2(0xab)](){const _0x2b233b=a72_0x89a1a2,_0x185ac8={'bpsHZ':function(_0x3e95cd,_0x1e0220){return _0x3e95cd(_0x1e0220);},'UwOys':_0x2b233b(0xc4),'EQwdh':_0x2b233b(0x8d),'CEUdd':function(_0x230933,_0x5afa29){return _0x230933(_0x5afa29);}},_0x25834c=this['getWritableDir']();try{if(_0x185ac8[_0x2b233b(0xb8)](isNullOrEmpty,_0x25834c))throw new Error(_0x185ac8[_0x2b233b(0x92)]);const _0x44e3ed=path[_0x2b233b(0x71)](_0x25834c,_0x185ac8[_0x2b233b(0xf2)]);return!fs['existsSync'](_0x44e3ed)&&_0x185ac8[_0x2b233b(0xd2)](createDir,_0x44e3ed),_0x44e3ed;}catch(_0x38ed7a){logger[_0x2b233b(0xee)](_0x2b233b(0xde)+util[_0x2b233b(0x7b)](_0x38ed7a));}}static[a72_0x89a1a2(0xfc)](){const _0x348a8e=a72_0x89a1a2,_0x36b2a1={'ofksL':_0x348a8e(0x89),'dTQhI':function(_0xbfa725,_0xa6ae53){return _0xbfa725(_0xa6ae53);},'dVgZk':function(_0x1df69e,_0x4bb2f1){return _0x1df69e(_0x4bb2f1);}},_0x7db511=[process['env'][_0x348a8e(0xb1)],path['join'](os[_0x348a8e(0x12c)](),_0x36b2a1['ofksL']),path[_0x348a8e(0x71)](os[_0x348a8e(0xf5)](),_0x36b2a1[_0x348a8e(0x11e)])];for(const _0xc09488 of _0x7db511){if(_0x36b2a1['dTQhI'](isNullOrEmpty,_0xc09488))continue;try{if(fs[_0x348a8e(0xc3)](_0xc09488)){logger[_0x348a8e(0xee)]('Folder\x20'+_0xc09488+_0x348a8e(0x103));if(!_0x36b2a1[_0x348a8e(0xc1)](isModifiable,_0xc09488)){logger['debug'](_0x348a8e(0x133)+_0xc09488);const _0x1a500d=_0x36b2a1[_0x348a8e(0xc1)](setReadWriteExecuteAccess,_0xc09488);if(!_0x36b2a1[_0x348a8e(0xd9)](isTrue,_0x1a500d)){logger[_0x348a8e(0x91)](_0x348a8e(0x12e)+_0xc09488);continue;}}}else{logger[_0x348a8e(0xee)](_0x348a8e(0xcb)+_0xc09488),_0x36b2a1[_0x348a8e(0xd9)](createDir,_0xc09488),logger[_0x348a8e(0xee)](_0x348a8e(0x133)+_0xc09488);const _0x4c314d=_0x36b2a1[_0x348a8e(0xc1)](setReadWriteExecuteAccess,_0xc09488);!_0x36b2a1[_0x348a8e(0xd9)](isTrue,_0x4c314d)&&logger[_0x348a8e(0x91)]('Unable\x20to\x20set\x20required\x20permissions\x20to\x20'+_0xc09488);}return _0xc09488;}catch(_0x2539b3){logger[_0x348a8e(0x117)](_0x348a8e(0x8f)+util[_0x348a8e(0x7b)](_0x2539b3));}}return null;}static[a72_0x89a1a2(0x11a)](_0x8f3841){const _0x5db945=a72_0x89a1a2,_0xd42f22={};_0xd42f22[_0x5db945(0xa0)]=function(_0x1a0d62,_0x1961eb){return _0x1a0d62>_0x1961eb;},_0xd42f22[_0x5db945(0xbd)]=function(_0x2f8d47,_0x5ec5a9){return _0x2f8d47>_0x5ec5a9;};const _0x3ab93b=_0xd42f22;try{if(!fs[_0x5db945(0xc3)](_0x8f3841)||!fs[_0x5db945(0xc2)](_0x8f3841)[_0x5db945(0x6d)]())return'';const _0x253f6c=fs[_0x5db945(0x11d)](_0x8f3841)[_0x5db945(0xdd)](_0x4d164f=>path[_0x5db945(0x71)](_0x8f3841,_0x4d164f))['filter'](_0xe6021e=>fs[_0x5db945(0xc2)](_0xe6021e)[_0x5db945(0xf3)]()&&path[_0x5db945(0xdc)](_0xe6021e)[_0x5db945(0xad)]('binary-'));if(_0x3ab93b[_0x5db945(0xbd)](_0x253f6c['length'],0x0)){const _0x1da6c1=_0x253f6c['map'](_0xc852b4=>({'filePath':_0xc852b4,'mtime':fs[_0x5db945(0xc2)](_0xc852b4)['mtime']}))[_0x5db945(0x114)]((_0x1a28b1,_0x418e50)=>{const _0x5c2ddb=_0x5db945;if(!_0x1a28b1||!_0x1a28b1[_0x5c2ddb(0xdf)])return _0x418e50;if(_0x3ab93b['DXJSi'](_0x418e50[_0x5c2ddb(0xdf)],_0x1a28b1[_0x5c2ddb(0xdf)]))return _0x418e50;return _0x1a28b1;},{});return _0x1da6c1?_0x1da6c1['filePath']:'';}return'';}catch(_0x4f4eab){return logger[_0x5db945(0x117)](_0x5db945(0xf9)+util[_0x5db945(0x7b)](_0x4f4eab)),'';}}static [a72_0x89a1a2(0x106)]=async(_0x2adb8e,_0x11002b)=>{const _0x350735=a72_0x89a1a2,_0x29477b={'BMJpt':function(_0x29d872,_0x3729ad,_0x2611d9,_0x381810,_0x56b752){return _0x29d872(_0x3729ad,_0x2611d9,_0x381810,_0x56b752);},'NNyVC':_0x350735(0x70)},_0xfa33f5={};_0xfa33f5['qs']=_0x2adb8e;const _0x5ac8d3=await _0x29477b[_0x350735(0xf0)](nodeRequest,_0x29477b[_0x350735(0x98)],UPDATED_CLI_ENDPOINT,_0xfa33f5,_0x11002b);return logger[_0x350735(0xee)](_0x350735(0xca)+JSON[_0x350735(0x10d)](_0x5ac8d3)),_0x5ac8d3;};static[a72_0x89a1a2(0x7a)](_0x4d9458){const _0x776598=a72_0x89a1a2;try{const _0x1c24ff=fs[_0x776598(0xd0)](_0x4d9458,'r+');return fs[_0x776598(0xd8)](_0x1c24ff),![];}catch(_0x3363b3){if(BINARY_BUSY_ERROR_CODES[_0x776598(0x110)](_0x3363b3['code']))return logger[_0x776598(0xee)]('Binary\x20is\x20busy:\x20'+_0x4d9458),!![];return logger[_0x776598(0xee)](_0x776598(0xcd)+_0x3363b3['message']),![];}}static[a72_0x89a1a2(0x10a)](_0x5224c9,_0x1ca1da=''){const _0x372e54=a72_0x89a1a2,_0x53553={'KHnLv':'version','NbSbK':function(_0x5b07ff,_0x54caa3){return _0x5b07ff(_0x54caa3);},'ZeVVm':_0x372e54(0x132),'EJwLf':function(_0x2ba69a,_0x109e39,_0x436370,_0x4bd141){return _0x2ba69a(_0x109e39,_0x436370,_0x4bd141);},'moEof':_0x372e54(0x117)};return new Promise((_0x37e76e,_0x318e8f)=>{const _0x4c4c51=_0x372e54,_0x31ff29={'mLdNH':function(_0x4bd67d,_0x34a52f){const _0x56e457=a72_0x340b;return _0x53553[_0x56e457(0xce)](_0x4bd67d,_0x34a52f);},'KJqNf':_0x53553['ZeVVm']},_0x118ba2={};_0x118ba2[_0x4c4c51(0xe5)]=_0x1ca1da,_0x118ba2[_0x4c4c51(0x76)]=0x1388;const _0x139a16=_0x53553['EJwLf'](exec,_0x5224c9,_0x118ba2,(_0x1a11d8,_0x11c13d,_0x452041)=>{const _0x361aa8=_0x4c4c51;if(_0x1a11d8){if(_0x5224c9[_0x361aa8(0x110)](_0x53553['KHnLv'])&&(_0x11c13d[_0x361aa8(0xe6)]()||_0x452041['trim']())){const _0x5e6f1f=_0x11c13d[_0x361aa8(0xe6)]()||_0x452041[_0x361aa8(0xe6)]();logger['debug'](_0x361aa8(0xa8)+_0x5e6f1f+'\x22'),_0x53553[_0x361aa8(0xce)](_0x37e76e,_0x5e6f1f);}else _0x53553[_0x361aa8(0xce)](_0x37e76e,_0x452041[_0x361aa8(0xe6)]()||_0x53553['ZeVVm']);}else logger['debug']('Resolving\x20with\x20stdout:\x20\x22'+_0x11c13d[_0x361aa8(0xe6)]()+'\x22'),_0x53553[_0x361aa8(0xce)](_0x37e76e,_0x11c13d[_0x361aa8(0xe6)]());});_0x139a16['on'](_0x53553[_0x4c4c51(0xac)],()=>{const _0x5cefb5=_0x4c4c51;_0x31ff29[_0x5cefb5(0xdb)](_0x37e76e,_0x31ff29[_0x5cefb5(0xb6)]);});});}static [a72_0x89a1a2(0x90)]=async(_0x40761b,_0x2a0fd0)=>{const _0x4f1800=a72_0x89a1a2,_0x3170fd={'aNrjG':'Got\x20Error\x20while\x20downloading\x20SDK\x20binary\x20file\x20%s','TmDVF':function(_0x1ddfe4,_0x557528){return _0x1ddfe4(_0x557528);},'HyEjb':_0x4f1800(0x117),'Dwqmo':_0x4f1800(0x84),'LamiO':function(_0x4373d5,_0x452000){return _0x4373d5(_0x452000);},'ULayx':function(_0x4264de,_0xf6c952){return _0x4264de(_0xf6c952);}};PerformanceTester[_0x4f1800(0x100)](PerformanceEvents[_0x4f1800(0x12a)]),logger[_0x4f1800(0xee)](_0x4f1800(0xf8)+_0x40761b);try{const _0x71d8fc=url[_0x4f1800(0xbf)](_0x40761b),_0x195dcc=path[_0x4f1800(0x71)](_0x2a0fd0,_0x4f1800(0x10f)+process['pid']+_0x4f1800(0xcf)),_0x274195=fs['createWriteStream'](_0x195dcc);return new Promise((_0x37d841,_0x386254)=>{const _0x2e74d4=_0x4f1800,_0x23918b={'tcQIa':_0x3170fd['Dwqmo'],'XFvEF':function(_0x577995,_0x5d1495){const _0x59a93a=a72_0x340b;return _0x3170fd[_0x59a93a(0x8a)](_0x577995,_0x5d1495);},'qddZd':function(_0x6191a6,_0x3ae94b){return _0x3170fd['ULayx'](_0x6191a6,_0x3ae94b);}};https[_0x2e74d4(0x94)](_0x71d8fc,function(_0x1b95a5){const _0x226e9b=_0x2e74d4,_0x18e2d0={'tJPkC':_0x3170fd[_0x226e9b(0xb4)],'xUdjI':function(_0x14d354,_0x138c6f){return _0x3170fd['TmDVF'](_0x14d354,_0x138c6f);}},_0x496a8e=null;_0x1b95a5['pipe'](_0x274195),_0x1b95a5['on'](_0x3170fd['HyEjb'],function(_0x4c3448){const _0x37124b=_0x226e9b;logger[_0x37124b(0x117)](util['format'](_0x23918b[_0x37124b(0x11f)],_0x4c3448)),PerformanceTester['end'](PerformanceEvents[_0x37124b(0x12a)],![],util[_0x37124b(0x7b)](_0x4c3448)),_0x23918b[_0x37124b(0xe8)](_0x386254,_0x4c3448);}),_0x274195['on'](_0x3170fd[_0x226e9b(0x124)],function(_0x369348){const _0x1a5f9c=_0x226e9b;logger[_0x1a5f9c(0x117)](util[_0x1a5f9c(0x7b)](_0x18e2d0[_0x1a5f9c(0xaf)],_0x369348)),PerformanceTester['end'](PerformanceEvents[_0x1a5f9c(0x12a)],![],util[_0x1a5f9c(0x7b)](_0x369348)),_0x18e2d0['xUdjI'](_0x386254,_0x369348);}),CLIUtils[_0x226e9b(0x116)](_0x274195,_0x496a8e,_0x195dcc,_0x2a0fd0,_0x59c809=>{const _0x186d3d=_0x226e9b;PerformanceTester['end'](PerformanceEvents['SDK_CLI_DOWNLOAD']),_0x23918b[_0x186d3d(0xe8)](_0x37d841,_0x59c809);},_0x5e3b67=>{const _0x404760=_0x226e9b;PerformanceTester[_0x404760(0x101)](PerformanceEvents['SDK_CLI_DOWNLOAD'],![],util[_0x404760(0x7b)](_0x5e3b67)),_0x23918b['qddZd'](_0x386254,_0x5e3b67);});})['on'](_0x3170fd['HyEjb'],function(_0x44c547){const _0x3a7fa9=_0x2e74d4;logger[_0x3a7fa9(0x117)]('Got\x20Error\x20in\x20SDK\x20binary\x20downloading\x20request\x20'+util[_0x3a7fa9(0x7b)](_0x44c547)),PerformanceTester['end'](PerformanceEvents['SDK_CLI_DOWNLOAD'],![],util[_0x3a7fa9(0x7b)](_0x44c547)),_0x3170fd[_0x3a7fa9(0x107)](_0x386254,_0x44c547);});});}catch(_0x8cf06f){PerformanceTester[_0x4f1800(0x101)](PerformanceEvents[_0x4f1800(0x12a)],![],util[_0x4f1800(0x7b)](_0x8cf06f)),logger['debug'](_0x4f1800(0x82)+util[_0x4f1800(0x7b)](_0x8cf06f));}};static[a72_0x89a1a2(0x116)](_0x15e4b6,_0x44abb3,_0x54f6e1,_0x5f13de,_0x226b7e,_0x5243d1){const _0x26e358=a72_0x89a1a2,_0x3b1347={'cckUN':'close','LhLrq':function(_0x3b127b,_0x1a9bec){return _0x3b127b(_0x1a9bec);},'iCPJB':_0x26e358(0x101),'NMXnD':function(_0x452018,_0x4352df){return _0x452018!==_0x4352df;},'jUbQA':'error','lpeZj':_0x26e358(0x121),'cKiir':_0x26e358(0xd3),'KeSxF':_0x26e358(0xfb)};_0x15e4b6['on'](_0x3b1347[_0x26e358(0x9d)],function(){const _0x29f76e=_0x26e358,_0x455a0b={};_0x455a0b[_0x29f76e(0x87)]=!![],yauzl[_0x29f76e(0x105)](_0x54f6e1,_0x455a0b,function(_0x56d43b,_0x4fc47b){const _0x40b098=_0x29f76e,_0x374e74={'txxQE':_0x3b1347[_0x40b098(0x9d)],'JEShL':function(_0x489df0,_0x1e1f73){const _0x4131a4=_0x40b098;return _0x3b1347[_0x4131a4(0x9f)](_0x489df0,_0x1e1f73);},'ZEXZM':_0x3b1347[_0x40b098(0x8c)],'fWwfj':function(_0x3cd7ad,_0x4a38b7){return _0x3b1347['LhLrq'](_0x3cd7ad,_0x4a38b7);},'nrNsu':function(_0x240a87,_0x3f1076){const _0x24cd78=_0x40b098;return _0x3b1347[_0x24cd78(0x78)](_0x240a87,_0x3f1076);},'bqTda':_0x3b1347['jUbQA'],'IOzpa':_0x3b1347['lpeZj'],'PGThx':function(_0x2602fc,_0x28823c){const _0x1c701c=_0x40b098;return _0x3b1347[_0x1c701c(0x9f)](_0x2602fc,_0x28823c);},'wmkJB':_0x3b1347['cKiir']};if(_0x56d43b){_0x3b1347[_0x40b098(0x9f)](_0x5243d1,_0x56d43b);return;}_0x4fc47b[_0x40b098(0x7c)](),_0x4fc47b['on'](_0x3b1347[_0x40b098(0x130)],_0x353857=>{const _0x1fe882=_0x40b098,_0x15559f={'GqbRu':function(_0x39b3b3,_0x578ffe){const _0x509a0d=a72_0x340b;return _0x374e74[_0x509a0d(0x10b)](_0x39b3b3,_0x578ffe);}};if(/\/$/[_0x1fe882(0x12f)](_0x353857[_0x1fe882(0x9b)])){_0x4fc47b[_0x1fe882(0x7c)]();return;}!_0x44abb3&&(_0x44abb3=_0x353857['fileName']);if(_0x374e74[_0x1fe882(0xd5)](_0x353857['fileName'],_0x44abb3))_0x4fc47b[_0x1fe882(0x7c)]();else{const _0x2d4979=_0x353857[_0x1fe882(0x9b)],_0x62716=path[_0x1fe882(0x71)](_0x5f13de,_0x2d4979+_0x1fe882(0xea)+process[_0x1fe882(0x126)]);let _0x314175;try{_0x314175=fs[_0x1fe882(0x69)](_0x62716);}catch(_0x38b809){if(BINARY_BUSY_ERROR_CODES[_0x1fe882(0x110)](_0x38b809[_0x1fe882(0x104)])){const _0x10e748=path[_0x1fe882(0x71)](_0x5f13de,_0x2d4979);if(fs[_0x1fe882(0xc3)](_0x10e748)){logger['warn'](_0x1fe882(0xa1)+_0x2d4979),fs[_0x1fe882(0x111)](_0x54f6e1,_0x3e5e9c=>{const _0x1e0506=_0x1fe882;_0x3e5e9c&&logger[_0x1e0506(0x91)](_0x1e0506(0x131)+_0x54f6e1);}),_0x374e74[_0x1fe882(0x10b)](_0x226b7e,_0x10e748);return;}logger[_0x1fe882(0x91)](_0x1fe882(0x97)+_0x2d4979);}_0x374e74[_0x1fe882(0xeb)](_0x5243d1,_0x38b809);return;}_0x314175['on'](_0x374e74['bqTda'],_0x5a5df9=>{const _0x67330b=_0x1fe882;if(BINARY_BUSY_ERROR_CODES['includes'](_0x5a5df9[_0x67330b(0x104)])){const _0x5d5bca=path['join'](_0x5f13de,_0x2d4979);_0x314175[_0x67330b(0x6c)](),fs[_0x67330b(0xc3)](_0x5d5bca)?(logger[_0x67330b(0x91)](_0x67330b(0xba)+_0x5a5df9[_0x67330b(0x127)]),_0x4fc47b['close'](),fs['unlink'](_0x54f6e1,_0xb75a19=>{_0xb75a19&&logger['warn']('Failed\x20to\x20delete\x20zip\x20file:\x20'+_0x54f6e1);}),_0x15559f[_0x67330b(0xfd)](_0x226b7e,_0x5d5bca)):(logger[_0x67330b(0x91)](_0x67330b(0xff)+_0x5a5df9[_0x67330b(0x127)]),fs[_0x67330b(0x111)](_0x62716,()=>{}),_0x15559f['GqbRu'](_0x5243d1,_0x5a5df9));}else fs[_0x67330b(0x111)](_0x62716,()=>{}),_0x15559f[_0x67330b(0xfd)](_0x5243d1,_0x5a5df9);}),_0x4fc47b['openReadStream'](_0x353857,function(_0x39d046,_0x13e77b){const _0x2863b=_0x1fe882,_0x56b2a6={};_0x56b2a6['MiWAk']=_0x374e74['txxQE'];const _0x10b6b5=_0x56b2a6;if(_0x39d046){fs[_0x2863b(0x111)](_0x62716,()=>{}),_0x374e74['JEShL'](_0x5243d1,_0x39d046);return;}_0x13e77b['on'](_0x374e74[_0x2863b(0x129)],function(){const _0x43463e=_0x2863b;_0x314175[_0x43463e(0x101)](),_0x314175['on'](_0x10b6b5[_0x43463e(0xf7)],function(){const _0x2aba9b=_0x43463e;_0x4fc47b[_0x2aba9b(0x7c)]();});}),_0x13e77b[_0x2863b(0xed)](_0x314175);});}}),_0x4fc47b['on'](_0x3b1347[_0x40b098(0x9c)],_0x4abc47=>{_0x374e74['fWwfj'](_0x5243d1,_0x4abc47);}),_0x4fc47b['once'](_0x3b1347['iCPJB'],()=>{const _0x42e801=_0x40b098,_0x118f90={'CZNHZ':function(_0x57ebf1,_0x2cb290){return _0x374e74['nrNsu'](_0x57ebf1,_0x2cb290);},'FFsPp':_0x374e74[_0x42e801(0x108)],'mmUrL':function(_0x220d0c,_0x34a8de){const _0x4ba6c7=_0x42e801;return _0x374e74[_0x4ba6c7(0x6f)](_0x220d0c,_0x34a8de);}};fs[_0x42e801(0x111)](_0x54f6e1,_0x6ac2f0=>{_0x6ac2f0&&logger['warn']('Failed\x20to\x20delete\x20zip\x20file:\x20'+_0x54f6e1);});const _0x827fa1=path[_0x42e801(0x71)](_0x5f13de,_0x44abb3+_0x42e801(0xea)+process[_0x42e801(0x126)]),_0x52c3c0=path[_0x42e801(0x71)](_0x5f13de,_0x44abb3);fs['chmod'](_0x827fa1,_0x374e74[_0x42e801(0x115)],function(_0x44c5d7){const _0x23ce83=_0x42e801;if(_0x44c5d7){_0x4fc47b[_0x23ce83(0x6c)](),fs[_0x23ce83(0x111)](_0x827fa1,()=>{}),_0x374e74[_0x23ce83(0x10b)](_0x5243d1,_0x44c5d7);return;}fs[_0x23ce83(0xd7)](_0x827fa1,_0x52c3c0,function(_0x4bc569){const _0x5d4dd8=_0x23ce83;if(_0x4bc569){if(_0x118f90['CZNHZ'](_0x4bc569[_0x5d4dd8(0x104)],_0x118f90[_0x5d4dd8(0xbe)])){_0x4fc47b[_0x5d4dd8(0x6c)](),fs[_0x5d4dd8(0x111)](_0x827fa1,()=>{}),_0x118f90[_0x5d4dd8(0xf4)](_0x5243d1,_0x4bc569);return;}logger[_0x5d4dd8(0x91)](_0x5d4dd8(0x75)+_0x4bc569[_0x5d4dd8(0x127)]);try{fs[_0x5d4dd8(0x8b)](_0x827fa1,_0x52c3c0);}catch(_0x2677e9){_0x4fc47b[_0x5d4dd8(0x6c)](),fs['unlink'](_0x827fa1,()=>{}),_0x118f90[_0x5d4dd8(0xf4)](_0x5243d1,_0x2677e9);return;}fs['unlink'](_0x827fa1,_0x1a64a6=>{const _0x217104=_0x5d4dd8;_0x1a64a6&&logger[_0x217104(0x91)](_0x217104(0x96)+_0x1a64a6[_0x217104(0x127)]);});}_0x4fc47b['close'](),_0x118f90[_0x5d4dd8(0xf4)](_0x226b7e,_0x52c3c0);});});});});});}static[a72_0x89a1a2(0xb3)](){const _0x29fc30=a72_0x89a1a2;if(process[_0x29fc30(0x118)][_0x29fc30(0xaa)])return JSON[_0x29fc30(0xbf)](process['env'][_0x29fc30(0xaa)]);return this['testFrameworkDetail'];}static[a72_0x89a1a2(0x99)](){const _0x181fc6=a72_0x89a1a2;if(process[_0x181fc6(0x118)][_0x181fc6(0x93)])return JSON['parse'](process['env'][_0x181fc6(0x93)]);return this[_0x181fc6(0x73)];}static[a72_0x89a1a2(0xa7)](_0x5ca973,_0x220a09){const _0x45d3f0=a72_0x89a1a2,_0x2be74d={'moDXW':_0x45d3f0(0xe7),'ENKbp':function(_0x339957,_0x9184ee){return _0x339957(_0x9184ee);},'Czvzo':function(_0x1f955f,_0x2e6478){return _0x1f955f||_0x2e6478;}},_0x453340=_0x2be74d[_0x45d3f0(0x6b)][_0x45d3f0(0x9a)]('|');let _0x459376=0x0;while(!![]){switch(_0x453340[_0x459376++]){case'0':process['env'][_0x45d3f0(0x93)]=JSON['stringify'](this[_0x45d3f0(0x73)]);continue;case'1':this[_0x45d3f0(0x11b)]={'name':_0x5ca973,'version':{[_0x5ca973]:_0x2be74d[_0x45d3f0(0xc8)](getFrameworkVersion,_0x5ca973)}};continue;case'2':_0x2be74d[_0x45d3f0(0xae)](!_0x5ca973,!_0x220a09)&&logger[_0x45d3f0(0xee)](_0x45d3f0(0xd4)+_0x5ca973+',\x20automationFramework='+_0x220a09);continue;case'3':process[_0x45d3f0(0x118)][_0x45d3f0(0xaa)]=JSON[_0x45d3f0(0x10d)](this[_0x45d3f0(0x11b)]);continue;case'4':this[_0x45d3f0(0x73)]={'name':_0x220a09,'version':_0x2be74d[_0x45d3f0(0xc8)](getFrameworkVersion,_0x220a09)};continue;}break;}}static['getHookRegistryKey'](_0x4c794d,_0x30ea4a){return _0x4c794d+':'+_0x30ea4a;}static[a72_0x89a1a2(0xc9)](){const _0x3c3077=a72_0x89a1a2;return process[_0x3c3077(0x126)]+':'+threadId;}static['shouldSkipSessionName'](_0x5dded3){const _0x37c6a1=a72_0x89a1a2;if(_0x5dded3['testContextOptions']&&_0x5dded3['testContextOptions'][_0x37c6a1(0xb5)])return!![];return![];}static[a72_0x89a1a2(0xe2)](_0x4342bc){const _0x452def=a72_0x89a1a2;if(_0x4342bc['testContextOptions']&&_0x4342bc[_0x452def(0xb9)]['skipSessionStatus'])return!![];return![];}static[a72_0x89a1a2(0xf1)](_0x1108cb){const _0x4dac68=a72_0x89a1a2,_0x4f8537=new RegExp(TestFrameworkConstants['HOOK_REGEX']);return _0x4f8537[_0x4dac68(0x12f)](_0x1108cb);}static[a72_0x89a1a2(0xa9)](_0x4669da,_0x12fadc){const _0x552b62=a72_0x89a1a2,_0x2f89a6={};_0x2f89a6['BJlcr']=function(_0x791c45,_0x23ef4e){return _0x791c45!==_0x23ef4e;},_0x2f89a6[_0x552b62(0xfa)]=function(_0x722cd7,_0x15fb49){return _0x722cd7===_0x15fb49;},_0x2f89a6['SgJCi']=_0x552b62(0x120);const _0x4e983f=_0x2f89a6;for(const [_0x363f03,_0x268a28]of Object[_0x552b62(0x128)](_0x12fadc)){if(_0x4e983f['BJlcr'](_0x268a28,null)&&_0x4e983f[_0x552b62(0xfa)](typeof _0x268a28,_0x4e983f[_0x552b62(0xec)])&&!Array[_0x552b62(0x95)](_0x268a28))_0x4669da[_0x363f03]=this[_0x552b62(0xa9)](_0x4669da[_0x363f03]||{},_0x268a28);else Array[_0x552b62(0x95)](_0x268a28)?_0x4669da[_0x363f03]=(_0x4669da[_0x363f03]||[])['concat'](_0x268a28):_0x4669da[_0x363f03]=_0x268a28;}return _0x4669da;}}module[a72_0x89a1a2(0x7d)]=CLIUtils;
@@ -1 +1 @@
1
- 'use strict';function a73_0x424b(_0x1a636c,_0x4b6c6a){const _0x2b32fb=a73_0x2b32();return a73_0x424b=function(_0x424bda,_0x10a5f3){_0x424bda=_0x424bda-0x185;let _0xa06c8b=_0x2b32fb[_0x424bda];return _0xa06c8b;},a73_0x424b(_0x1a636c,_0x4b6c6a);}const a73_0x5a1b8b=a73_0x424b;(function(_0x36495a,_0x13d495){const _0x53159c=a73_0x424b,_0x19f044=_0x36495a();while(!![]){try{const _0x57e07b=-parseInt(_0x53159c(0x206))/0x1+parseInt(_0x53159c(0x1e6))/0x2*(-parseInt(_0x53159c(0x20a))/0x3)+parseInt(_0x53159c(0x19f))/0x4*(parseInt(_0x53159c(0x19a))/0x5)+-parseInt(_0x53159c(0x185))/0x6*(parseInt(_0x53159c(0x1b3))/0x7)+-parseInt(_0x53159c(0x1f3))/0x8+-parseInt(_0x53159c(0x1d4))/0x9+-parseInt(_0x53159c(0x20d))/0xa*(-parseInt(_0x53159c(0x192))/0xb);if(_0x57e07b===_0x13d495)break;else _0x19f044['push'](_0x19f044['shift']());}catch(_0x3b3cec){_0x19f044['push'](_0x19f044['shift']());}}}(a73_0x2b32,0xf36cf));function a73_0x2b32(){const _0x213158=['toObject','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20empty\x20keyValue\x20—\x20no-op\x20per\x20API\x20contract','mergeIntoTags','_testInternals','mergeBuildLevelTags',',\x20finalTags=','statSync','string','POST','path','42308lyGjzs','modules','buildHashedId','from','KPlFc','retry','filter','xZRpG','getTestFramework','YMDYZ','getBuildTagsFilePath','endsWith','vCOej','mtimeMs','SNcde','getTestLevelTags','CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','getState','rVdNN','setTestDetails','VeDTx','eHHNq','GeMni','includes','wFzGx','testhubConfig','isArray','CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright','UcpLd','caopE','getInstance','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20non-string\x20keyValue\x20—\x20no-op\x20per\x20API\x20contract','entries','4698108ploMrU','getBuildLevelTags','null','parseCommaSeparatedValues','rlbjQ','.json','bstack_build_tags_','uUTRo','field_type','env','values','./modules/testhubModule','message','trim','oZNdz','GRibb','ms)\x20','iiDKa','1986914oGRZzO','stringify','CustomTagManager.setCustomTags:\x20BROWSERSTACK_TESTHUB_UUID\x20not\x20set;\x20skipping\x20build-tag\x20temp-file\x20write','KEY_TEST_ID','length','[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier=',',\x20values=','fXPxV','debug','testLevelTags','getTrackedInstance','utf8','multi_dropdown','3517984DrVGaP','./TestInfo','getAllData','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20skipping\x20stale\x20file\x20(>','./cliUtils','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20no\x20runId\x20provided;\x20nothing\x20to\x20aggregate','oOFbw','mergeValues','WvTOA','Tsonj','TEST','JLnIy','testInfo','CustomTagManager','gFOIP','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20os.tmpdir()\x20failed:\x20','setCustomTags','RYlWW','MODULE_NAME','226037ZPcOey','BROWSERSTACK_TESTHUB_UUID','buildLevelTags','./state/testFrameworkState','3lZZewA','VPBVi','join','10QHXJqf','getBuildTagsRunId',':jest-','startsWith','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20unlink\x20failed\x20for\x20stale\x20','12uMBwsV','unlinkSync','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20readdir\x20failed:\x20','pid','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20non-string\x20keyName\x20—\x20no-op\x20per\x20API\x20contract','sWFRj','tmpdir','./modules/playwrightDriverModule','../../helpers/helper','__jestCurrentTestIdentifier','aggregateBuildLevelTagsFromTmp','[CustomTagManager]\x20setCustomTags:\x20Merged\x20tag\x20key=','jest','30772423VbkeaN','zDoiM','NbRjm','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20unlink\x20failed\x20for\x20','CustomTagManager.setCustomTags:\x20build-tag\x20temp-file\x20write\x20failed:\x20','currentTest','[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier=','DpXPB','2090vjyFSM','getTestDetails','readFileSync','clearTags','now','3760Aezctb','get','parse','KEY_CUSTOM_TAGS','BUILD_TAG_FILE_PREFIX','exports',',\x20existingTags=','../../helpers/classLogger','OrnIU','EPYXi'];a73_0x2b32=function(){return _0x213158;};return a73_0x2b32();}const fs=require('fs'),os=require('os'),path=require(a73_0x5a1b8b(0x1b2)),helper=require(a73_0x5a1b8b(0x18d)),AutomationFramework=require('./framework/automationFramework'),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),PlaywrightDriverModule=require(a73_0x5a1b8b(0x18c)),TestInfo=require(a73_0x5a1b8b(0x1f4)),TestHubModule=require(a73_0x5a1b8b(0x1df)),{createClassLogger}=require(a73_0x5a1b8b(0x1a6)),logger=createClassLogger(a73_0x5a1b8b(0x200)),BUILD_TAG_FILE_PREFIX=a73_0x5a1b8b(0x1da);function getBuildTagsRunId(){const _0xebe61=a73_0x5a1b8b,_0x1f5087={};_0x1f5087[_0xebe61(0x1fb)]=function(_0x3da41a,_0x9fa5db){return _0x3da41a===_0x9fa5db;},_0x1f5087[_0xebe61(0x1ba)]=_0xebe61(0x1d6);const _0xa02825=_0x1f5087,_0x827341=process[_0xebe61(0x1dd)][_0xebe61(0x207)];if(!_0x827341||_0xa02825['WvTOA'](_0x827341,_0xa02825[_0xebe61(0x1ba)]))return null;return _0x827341;}function getBuildTagsFilePath(_0x45b0b2){const _0x3f4aa5=a73_0x5a1b8b;return path[_0x3f4aa5(0x20c)](os['tmpdir'](),''+BUILD_TAG_FILE_PREFIX+_0x45b0b2+'_'+process[_0x3f4aa5(0x188)]+_0x3f4aa5(0x1d9));}class CustomTagManager{static [a73_0x5a1b8b(0x208)]={};static [a73_0x5a1b8b(0x1ef)]={};static[a73_0x5a1b8b(0x1fa)](_0x5242a3,_0x49f883){const _0x5be0a2=a73_0x5a1b8b;return Array[_0x5be0a2(0x1b6)](new Set([..._0x5242a3||[],..._0x49f883||[]]));}static[a73_0x5a1b8b(0x1ab)](_0x3ca840,_0x624ea3,_0x310bb4){const _0x1bffa7=a73_0x5a1b8b,_0x58c6a1={};_0x58c6a1['VeDTx']=_0x1bffa7(0x1f2);const _0x4c7f20=_0x58c6a1;if(!_0x3ca840[_0x624ea3]){const _0x51cf0b={};_0x51cf0b[_0x1bffa7(0x1dc)]=_0x4c7f20[_0x1bffa7(0x1c7)],_0x51cf0b[_0x1bffa7(0x1de)]=[..._0x310bb4||[]],_0x3ca840[_0x624ea3]=_0x51cf0b;}else!_0x3ca840[_0x624ea3][_0x1bffa7(0x1dc)]&&(_0x3ca840[_0x624ea3]['field_type']=_0x4c7f20[_0x1bffa7(0x1c7)]),!Array[_0x1bffa7(0x1cd)](_0x3ca840[_0x624ea3]['values'])&&(_0x3ca840[_0x624ea3][_0x1bffa7(0x1de)]=[]),_0x3ca840[_0x624ea3][_0x1bffa7(0x1de)]=CustomTagManager['mergeValues'](_0x3ca840[_0x624ea3][_0x1bffa7(0x1de)],_0x310bb4);return _0x3ca840;}static async[a73_0x5a1b8b(0x203)](_0x1a5ff5,_0x44794e,_0x4fdc15=![]){const _0x5a526f=a73_0x5a1b8b,_0x9e74e9={'NbRjm':function(_0x5b6421,_0x5071d9){return _0x5b6421!==_0x5071d9;},'oZNdz':_0x5a526f(0x1b0),'RYlWW':_0x5a526f(0x189),'gFOIP':function(_0x5eb43a,_0x172e39){return _0x5eb43a!==_0x172e39;},'oOFbw':_0x5a526f(0x1d2),'zDoiM':function(_0x34230b,_0x51dcf4){return _0x34230b===_0x51dcf4;},'YINzs':'[CustomTagManager]\x20setCustomTags:\x20ignoring\x20empty\x20keyName\x20—\x20no-op\x20per\x20API\x20contract','rlbjQ':_0x5a526f(0x1aa),'VnaQq':function(_0x4e2dd0,_0x5e92f1){return _0x4e2dd0(_0x5e92f1);},'UcpLd':'./browserstackCLI','OrnIU':function(_0x37cd7a){return _0x37cd7a();},'EPYXi':_0x5a526f(0x1f2),'wFzGx':function(_0x414314,_0x55fd80){return _0x414314>_0x55fd80;},'sWFRj':function(_0x1eb565,_0x19d0e6){return _0x1eb565(_0x19d0e6);},'DpXPB':_0x5a526f(0x1e8),'fXPxV':_0x5a526f(0x20f),'YMDYZ':function(_0x4451d0,_0x227333){return _0x4451d0(_0x227333);},'rVdNN':_0x5a526f(0x1f7),'caopE':function(_0x17bcc4,_0x55994b){return _0x17bcc4===_0x55994b;},'GeMni':_0x5a526f(0x191),'wnTVG':'CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','vCOej':function(_0x5959e5,_0x3e02b6){return _0x5959e5(_0x3e02b6);},'JLnIy':_0x5a526f(0x1c3),'znlzS':function(_0x1bf180,_0x1c03a3){return _0x1bf180(_0x1c03a3);},'HKhTB':_0x5a526f(0x209),'Tsonj':'./state/hookState','VPBVi':_0x5a526f(0x1ce)};if(_0x9e74e9[_0x5a526f(0x194)](typeof _0x1a5ff5,_0x9e74e9[_0x5a526f(0x1e2)])){logger[_0x5a526f(0x1ee)](_0x9e74e9[_0x5a526f(0x204)]);return;}if(_0x9e74e9[_0x5a526f(0x201)](typeof _0x44794e,_0x9e74e9['oZNdz'])){logger[_0x5a526f(0x1ee)](_0x9e74e9[_0x5a526f(0x1f9)]);return;}if(_0x9e74e9[_0x5a526f(0x193)](_0x1a5ff5[_0x5a526f(0x1e1)](),'')){logger[_0x5a526f(0x1ee)](_0x9e74e9['YINzs']);return;}if(_0x9e74e9[_0x5a526f(0x193)](_0x44794e[_0x5a526f(0x1e1)](),'')){logger[_0x5a526f(0x1ee)](_0x9e74e9[_0x5a526f(0x1d8)]);return;}const _0x41e17b=helper[_0x5a526f(0x1d7)](_0x44794e);if(_0x4fdc15){const _0x2421c1=_0x9e74e9['VnaQq'](require,_0x9e74e9[_0x5a526f(0x1cf)]),_0x1b2dfc=_0x2421c1['getInstance'](),_0xbb8af2=_0x1b2dfc&&_0x1b2dfc[_0x5a526f(0x1b4)][TestHubModule[_0x5a526f(0x205)]];if(_0xbb8af2){const _0x44d101=_0xbb8af2?.[_0x5a526f(0x1cc)]?.[_0x5a526f(0x1a9)]()?.[_0x5a526f(0x1b5)];TestInfo['getTestUUID'](_0x44d101);const _0x427925=TestInfo[_0x5a526f(0x19b)](_0x44d101),_0x2241a5=_0x427925[TestFrameworkConstants[_0x5a526f(0x1a2)]]||{};CustomTagManager[_0x5a526f(0x1ab)](_0x2241a5,_0x1a5ff5,_0x41e17b),_0x427925[TestFrameworkConstants[_0x5a526f(0x1a2)]]=_0x2241a5,TestInfo[_0x5a526f(0x1c6)](_0x44d101,_0x427925);!this['buildLevelTags'][_0x44d101]&&(this[_0x5a526f(0x208)][_0x44d101]={});this['buildLevelTags'][_0x44d101][_0x1a5ff5]=CustomTagManager[_0x5a526f(0x1fa)](this[_0x5a526f(0x208)][_0x44d101][_0x1a5ff5],_0x41e17b);try{const _0x51b799=_0x9e74e9[_0x5a526f(0x1a7)](getBuildTagsRunId);if(_0x51b799){const _0x247b28={};for(const [_0x292cb1,_0x2431ea]of Object[_0x5a526f(0x1d3)](this[_0x5a526f(0x208)][_0x44d101]||{})){_0x247b28[_0x292cb1]={'field_type':_0x9e74e9[_0x5a526f(0x1a8)],'values':Array[_0x5a526f(0x1cd)](_0x2431ea)?[..._0x2431ea]:[]};}_0x9e74e9[_0x5a526f(0x1cb)](Object['keys'](_0x247b28)[_0x5a526f(0x1ea)],0x0)&&await fs['promises']['writeFile'](_0x9e74e9['sWFRj'](getBuildTagsFilePath,_0x51b799),JSON[_0x5a526f(0x1e7)](_0x247b28));}else logger[_0x5a526f(0x1ee)](_0x9e74e9[_0x5a526f(0x199)]);}catch(_0x2dc6da){logger[_0x5a526f(0x1ee)](_0x5a526f(0x196)+(_0x2dc6da&&_0x2dc6da['message']?_0x2dc6da[_0x5a526f(0x1e0)]:_0x2dc6da));}}}else{let _0x52f510;const _0x48a11a=global[_0x5a526f(0x18e)];let _0x42e8ee=![];if(_0x48a11a&&_0x48a11a[_0x5a526f(0x1ca)](_0x9e74e9['fXPxV']))_0x42e8ee=!![],_0x52f510=_0x48a11a;else try{const _0x24ad5f=_0x9e74e9[_0x5a526f(0x1bc)](require,_0x9e74e9[_0x5a526f(0x1c5)]),_0x277347=_0x9e74e9[_0x5a526f(0x18a)](require,_0x9e74e9[_0x5a526f(0x1cf)]);if(_0x277347[_0x5a526f(0x1d1)]()['isRunning']()){const _0xfcaa8d=_0x24ad5f['getTestFrameworkDetail']();if(_0x9e74e9[_0x5a526f(0x1d0)](_0xfcaa8d?.['name']?.['toLowerCase'](),_0x9e74e9[_0x5a526f(0x1c9)])){const _0x1b0716=AutomationFramework[_0x5a526f(0x1f0)]();_0x52f510=AutomationFramework[_0x5a526f(0x1c4)](_0x1b0716,PlaywrightDriverModule[_0x5a526f(0x1e9)],''),_0x52f510&&_0x52f510[_0x5a526f(0x1ca)](_0x9e74e9[_0x5a526f(0x1ed)])&&(_0x42e8ee=!![]);}}}catch(_0x5aa4d8){logger['debug']('CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20'+_0x5aa4d8);}if(_0x42e8ee){if(!_0x52f510)throw new Error(_0x9e74e9['wnTVG']);const _0xe35734=_0x9e74e9[_0x5a526f(0x1bf)](require,_0x9e74e9[_0x5a526f(0x1cf)]),_0x4f44b6=_0xe35734[_0x5a526f(0x1d1)]()[_0x5a526f(0x1bb)]();if(!_0x4f44b6)throw new Error(_0x9e74e9[_0x5a526f(0x1fe)]);const _0x5c6bdb=_0x9e74e9['znlzS'](require,_0x9e74e9['HKhTB']),_0x228c9c=_0x9e74e9['znlzS'](require,_0x9e74e9[_0x5a526f(0x1fc)]),_0x257d87=_0x4f44b6['resolveInstance'](_0x5c6bdb[_0x5a526f(0x1fd)],_0x228c9c[_0x5a526f(0x1b1)]);if(!_0x257d87)throw new Error(_0x9e74e9[_0x5a526f(0x20b)]);const _0x538b71=_0x257d87[_0x5a526f(0x1f5)]()[_0x5a526f(0x1a0)](_0x52f510)||{},_0x20e7fd=_0x538b71[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};logger[_0x5a526f(0x1ee)](_0x5a526f(0x1eb)+_0x52f510+',\x20key='+_0x1a5ff5+_0x5a526f(0x1ec)+JSON[_0x5a526f(0x1e7)](_0x41e17b)+_0x5a526f(0x1a5)+JSON[_0x5a526f(0x1e7)](_0x20e7fd)),CustomTagManager['mergeIntoTags'](_0x20e7fd,_0x1a5ff5,_0x41e17b),logger[_0x5a526f(0x1ee)](_0x5a526f(0x190)+_0x1a5ff5+'\x20->\x20values='+JSON['stringify'](_0x20e7fd[_0x1a5ff5][_0x5a526f(0x1de)]));const _0x15519f={[TestFrameworkConstants[_0x5a526f(0x1a2)]]:_0x20e7fd},_0x4c3f3c={};_0x4c3f3c[_0x52f510]=_0x15519f,_0x257d87['addMultipleEntries'](_0x4c3f3c),logger[_0x5a526f(0x1ee)](_0x5a526f(0x198)+_0x52f510+_0x5a526f(0x1ae)+JSON[_0x5a526f(0x1e7)](_0x20e7fd)),!this[_0x5a526f(0x1ef)][_0x52f510]&&(this[_0x5a526f(0x1ef)][_0x52f510]={}),this[_0x5a526f(0x1ef)][_0x52f510][_0x1a5ff5]=CustomTagManager[_0x5a526f(0x1fa)](this[_0x5a526f(0x1ef)][_0x52f510][_0x1a5ff5],_0x41e17b);}else{const _0x4b74b6=global['__workerDetails']?.[_0x5a526f(0x197)]?.[_0x5a526f(0x1ff)];if(!_0x4b74b6){const _0x4c18ce=AutomationFramework[_0x5a526f(0x1f0)]();_0x52f510=AutomationFramework[_0x5a526f(0x1c4)](_0x4c18ce,PlaywrightDriverModule[_0x5a526f(0x1e9)],'');}else _0x52f510=TestInfo['getTestIdentifierFromTestInfo'](_0x4b74b6,_0x4b74b6[_0x5a526f(0x1b8)]);const _0x4c2f83=TestInfo['getTestDetails'](_0x52f510),_0x3e1e6a=_0x4c2f83[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};CustomTagManager[_0x5a526f(0x1ab)](_0x3e1e6a,_0x1a5ff5,_0x41e17b),_0x4c2f83[TestFrameworkConstants[_0x5a526f(0x1a2)]]=_0x3e1e6a,TestInfo['setTestDetails'](_0x52f510,_0x4c2f83),!this[_0x5a526f(0x1ef)][_0x52f510]&&(this[_0x5a526f(0x1ef)][_0x52f510]={}),this[_0x5a526f(0x1ef)][_0x52f510][_0x1a5ff5]=CustomTagManager[_0x5a526f(0x1fa)](this['testLevelTags'][_0x52f510][_0x1a5ff5],_0x41e17b);}}}static[a73_0x5a1b8b(0x1d5)](){const _0x243514=a73_0x5a1b8b,_0x3e4328={...this[_0x243514(0x208)]};return _0x3e4328;}static[a73_0x5a1b8b(0x1c2)](){const _0x1d044b=a73_0x5a1b8b,_0xdd250d={...this[_0x1d044b(0x1ef)]};return _0xdd250d;}static[a73_0x5a1b8b(0x19d)](){const _0x4f3e21=a73_0x5a1b8b;this[_0x4f3e21(0x208)]={},this[_0x4f3e21(0x1ef)]={};}static['mergeBuildLevelTags'](_0x13eb66,_0x497443){const _0x3d63a2=a73_0x5a1b8b,_0x41d38b={};_0x41d38b['uUTRo']=function(_0x3dd2f5,_0x30224d){return _0x3dd2f5||_0x30224d;};const _0x3ce8fd=_0x41d38b;if(!_0x13eb66)return;!this[_0x3d63a2(0x208)][_0x13eb66]&&(this[_0x3d63a2(0x208)][_0x13eb66]={});for(const [_0x5d67e3,_0x4e038]of Object[_0x3d63a2(0x1d3)](_0x3ce8fd[_0x3d63a2(0x1db)](_0x497443,{}))){if(!_0x4e038||!Array[_0x3d63a2(0x1cd)](_0x4e038['values']))continue;this[_0x3d63a2(0x208)][_0x13eb66][_0x5d67e3]=CustomTagManager[_0x3d63a2(0x1fa)](this[_0x3d63a2(0x208)][_0x13eb66][_0x5d67e3],_0x4e038['values']);}}static[a73_0x5a1b8b(0x18f)](_0x5ee3f4,_0x5e2197){const _0x145321=a73_0x5a1b8b,_0x23a787={};_0x23a787['iiDKa']=_0x145321(0x1f8),_0x23a787[_0x145321(0x1c8)]=function(_0x34a68e,_0x5b9638){return _0x34a68e*_0x5b9638;},_0x23a787[_0x145321(0x1c1)]=function(_0x5f0bc4,_0x42bab2){return _0x5f0bc4*_0x42bab2;},_0x23a787[_0x145321(0x1b7)]=function(_0x1998aa,_0x2867ad){return _0x1998aa>_0x2867ad;},_0x23a787['ezbNE']=function(_0x1bb479,_0x548183){return _0x1bb479-_0x548183;},_0x23a787['GRibb']=_0x145321(0x1f1);const _0xfb3cee=_0x23a787;if(!_0x5ee3f4)return logger[_0x145321(0x1ee)](_0xfb3cee[_0x145321(0x1e5)]),0x0;let _0x11bae3;try{_0x11bae3=os[_0x145321(0x18b)]();}catch(_0xcfd15a){return logger[_0x145321(0x1ee)](_0x145321(0x202)+_0xcfd15a),0x0;}let _0x15f80f;try{_0x15f80f=fs['readdirSync'](_0x11bae3);}catch(_0x586cc2){return logger[_0x145321(0x1ee)](_0x145321(0x187)+_0x586cc2),0x0;}const _0x1258f4=''+BUILD_TAG_FILE_PREFIX+_0x5ee3f4+'_',_0x177239=_0x15f80f[_0x145321(0x1b9)](_0x567026=>_0x567026[_0x145321(0x210)](_0x1258f4)&&_0x567026[_0x145321(0x1be)](_0x145321(0x1d9))),_0x1f05fa=_0xfb3cee[_0x145321(0x1c8)](_0xfb3cee[_0x145321(0x1c8)](_0xfb3cee['SNcde'](0x2,0x3c),0x3c),0x3e8);let _0x2aa85e=0x0;for(const _0x17574c of _0x177239){const _0x46028b=path[_0x145321(0x20c)](_0x11bae3,_0x17574c);try{const _0xcd9112=fs[_0x145321(0x1af)](_0x46028b);if(_0xfb3cee['KPlFc'](_0xfb3cee['ezbNE'](Date[_0x145321(0x19e)](),_0xcd9112[_0x145321(0x1c0)]),_0x1f05fa)){logger['debug'](_0x145321(0x1f6)+_0x1f05fa+_0x145321(0x1e4)+_0x17574c);try{fs[_0x145321(0x186)](_0x46028b);}catch(_0x1013e7){logger[_0x145321(0x1ee)](_0x145321(0x211)+_0x17574c+':\x20'+(_0x1013e7&&_0x1013e7[_0x145321(0x1e0)]?_0x1013e7[_0x145321(0x1e0)]:_0x1013e7));}continue;}const _0xf6cff7=fs[_0x145321(0x19c)](_0x46028b,_0xfb3cee[_0x145321(0x1e3)]),_0x148782=JSON[_0x145321(0x1a1)](_0xf6cff7);this[_0x145321(0x1ad)](_0x5e2197,_0x148782),_0x2aa85e+=0x1;}catch(_0x5d5e97){logger[_0x145321(0x1ee)]('CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20error\x20reading\x20'+_0x17574c+':\x20'+(_0x5d5e97&&_0x5d5e97[_0x145321(0x1e0)]?_0x5d5e97[_0x145321(0x1e0)]:_0x5d5e97));}try{fs[_0x145321(0x186)](_0x46028b);}catch(_0x19751b){logger[_0x145321(0x1ee)](_0x145321(0x195)+_0x17574c+':\x20'+(_0x19751b&&_0x19751b[_0x145321(0x1e0)]?_0x19751b[_0x145321(0x1e0)]:_0x19751b));}}return _0x2aa85e;}}const a73_0x421906={};a73_0x421906[a73_0x5a1b8b(0x20e)]=getBuildTagsRunId,a73_0x421906[a73_0x5a1b8b(0x1bd)]=getBuildTagsFilePath,a73_0x421906[a73_0x5a1b8b(0x1a3)]=BUILD_TAG_FILE_PREFIX,CustomTagManager[a73_0x5a1b8b(0x1ac)]=a73_0x421906,module[a73_0x5a1b8b(0x1a4)]=CustomTagManager;
1
+ 'use strict';function a73_0x48a8(){const _0x2516f1=['636833KOLVpZ','getAllData','join','keys','POST','UJTzy','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20non-string\x20keyName\x20—\x20no-op\x20per\x20API\x20contract','from','promises','debug','PFNor','NsjTk','parseCommaSeparatedValues','length','dbpVo','testLevelTags','startsWith','3obcbeP','getInstance','KEY_TEST_ID','./modules/playwrightDriverModule','now','CustomTagManager.setCustomTags:\x20build-tag\x20temp-file\x20write\x20failed:\x20','getTestIdentifierFromTestInfo','4025690oSRwnX','./browserstackCLI','multi_dropdown','jFqiB','2996328TseLhQ','CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','jPtQC','KEY_CUSTOM_TAGS','toObject','mergeValues','values','endsWith','[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier=','getTrackedInstance','message','./state/testFrameworkState','AKDcP','writeFile','getTestDetails','binYa','CustomTagManager','9fFtzgK','testhubConfig','[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier=','Lzrza','./state/hookState','clearTags','42730bqmowX','../../helpers/helper','CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright','unlinkSync','get','readFileSync','getBuildTagsRunId','path','wGOLO','readdirSync','ZXedS','buildHashedId','CustomTagManager.setCustomTags:\x20BROWSERSTACK_TESTHUB_UUID\x20not\x20set;\x20skipping\x20build-tag\x20temp-file\x20write','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20no\x20runId\x20provided;\x20nothing\x20to\x20aggregate','wAvBt',',\x20values=','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20skipping\x20stale\x20file\x20(>','DLosB','__jestCurrentTestIdentifier','bmLVW','string','field_type','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20readdir\x20failed:\x20','./cliUtils','mergeIntoTags','NUVhh','./TestInfo','getBuildTagsFilePath','includes','pid','setTestDetails','trim','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20empty\x20keyName\x20—\x20no-op\x20per\x20API\x20contract','isArray','\x20->\x20values=','toLowerCase','366KASKRm','XUtsv','FWOQa','72JKaInI','hEfMA','null','603624pzilxC','getTestFrameworkDetail','MODULE_NAME','isRunning','buildLevelTags',',\x20key=','entries','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20','Scuog','./framework/automationFramework','resolveInstance','vVlbu','kNZZq','testInfo','getTestUUID','cNgBr','BROWSERSTACK_TESTHUB_UUID','filter','YKMHt',',\x20finalTags=',':jest-','mtimeMs','.json','rXTth',',\x20existingTags=','bstack_build_tags_','__workerDetails','kNAwy','SZlkQ','parse','../../helpers/classLogger','4708000qpbmwN','_testInternals','getState','1463834LBHegk','tmpdir','pbTJV','mioGJ','PIgnP','mWerh','stringify','setCustomTags'];a73_0x48a8=function(){return _0x2516f1;};return a73_0x48a8();}const a73_0x2bb70d=a73_0x25db;function a73_0x25db(_0x3ddb0c,_0x333ab8){const _0x48a8ee=a73_0x48a8();return a73_0x25db=function(_0x25db7c,_0xeb5446){_0x25db7c=_0x25db7c-0x11a;let _0x4c73e7=_0x48a8ee[_0x25db7c];return _0x4c73e7;},a73_0x25db(_0x3ddb0c,_0x333ab8);}(function(_0x2f290d,_0x2ff4cc){const _0x4b8767=a73_0x25db,_0x452956=_0x2f290d();while(!![]){try{const _0xc55fd4=parseInt(_0x4b8767(0x150))/0x1+-parseInt(_0x4b8767(0x148))/0x2+parseInt(_0x4b8767(0x161))/0x3*(parseInt(_0x4b8767(0x16c))/0x4)+-parseInt(_0x4b8767(0x183))/0x5*(-parseInt(_0x4b8767(0x120))/0x6)+parseInt(_0x4b8767(0x126))/0x7*(-parseInt(_0x4b8767(0x123))/0x8)+-parseInt(_0x4b8767(0x17d))/0x9*(parseInt(_0x4b8767(0x168))/0xa)+parseInt(_0x4b8767(0x145))/0xb;if(_0xc55fd4===_0x2ff4cc)break;else _0x452956['push'](_0x452956['shift']());}catch(_0x5b6137){_0x452956['push'](_0x452956['shift']());}}}(a73_0x48a8,0x67ac7));const fs=require('fs'),os=require('os'),path=require(a73_0x2bb70d(0x18a)),helper=require(a73_0x2bb70d(0x184)),AutomationFramework=require(a73_0x2bb70d(0x12f)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),PlaywrightDriverModule=require(a73_0x2bb70d(0x164)),TestInfo=require(a73_0x2bb70d(0x19d)),TestHubModule=require('./modules/testhubModule'),{createClassLogger}=require(a73_0x2bb70d(0x144)),logger=createClassLogger(a73_0x2bb70d(0x17c)),BUILD_TAG_FILE_PREFIX=a73_0x2bb70d(0x13f);function getBuildTagsRunId(){const _0x464f4a=a73_0x2bb70d,_0x389539={};_0x389539[_0x464f4a(0x135)]=function(_0x7aa265,_0x2ee99c){return _0x7aa265===_0x2ee99c;},_0x389539[_0x464f4a(0x155)]=_0x464f4a(0x125);const _0x3c676b=_0x389539,_0x475d85=process['env'][_0x464f4a(0x136)];if(!_0x475d85||_0x3c676b[_0x464f4a(0x135)](_0x475d85,_0x3c676b['UJTzy']))return null;return _0x475d85;}function getBuildTagsFilePath(_0x235876){const _0x94289=a73_0x2bb70d;return path['join'](os[_0x94289(0x149)](),''+BUILD_TAG_FILE_PREFIX+_0x235876+'_'+process[_0x94289(0x1a0)]+_0x94289(0x13c));}class CustomTagManager{static [a73_0x2bb70d(0x12a)]={};static [a73_0x2bb70d(0x15f)]={};static['mergeValues'](_0x199337,_0x4f0ab2){const _0xdc2fa=a73_0x2bb70d;return Array[_0xdc2fa(0x157)](new Set([..._0x199337||[],..._0x4f0ab2||[]]));}static[a73_0x2bb70d(0x19b)](_0x5c89e2,_0x2a777a,_0x5040ac){const _0x66fb9d=a73_0x2bb70d,_0x42a173={};_0x42a173[_0x66fb9d(0x14a)]=_0x66fb9d(0x16a);const _0x4df926=_0x42a173;if(!_0x5c89e2[_0x2a777a]){const _0x2a05d1={};_0x2a05d1[_0x66fb9d(0x198)]=_0x4df926['pbTJV'],_0x2a05d1[_0x66fb9d(0x172)]=[..._0x5040ac||[]],_0x5c89e2[_0x2a777a]=_0x2a05d1;}else!_0x5c89e2[_0x2a777a][_0x66fb9d(0x198)]&&(_0x5c89e2[_0x2a777a][_0x66fb9d(0x198)]=_0x4df926[_0x66fb9d(0x14a)]),!Array['isArray'](_0x5c89e2[_0x2a777a][_0x66fb9d(0x172)])&&(_0x5c89e2[_0x2a777a][_0x66fb9d(0x172)]=[]),_0x5c89e2[_0x2a777a]['values']=CustomTagManager['mergeValues'](_0x5c89e2[_0x2a777a]['values'],_0x5040ac);return _0x5c89e2;}static async[a73_0x2bb70d(0x14f)](_0x419950,_0x1cbacf,_0x54c3a1=![]){const _0xc4ab69=a73_0x2bb70d,_0x5528b9={'rXTth':function(_0x978d8c,_0x186603){return _0x978d8c!==_0x186603;},'mWerh':_0xc4ab69(0x197),'wGOLO':_0xc4ab69(0x156),'kNAwy':'[CustomTagManager]\x20setCustomTags:\x20ignoring\x20non-string\x20keyValue\x20—\x20no-op\x20per\x20API\x20contract','binYa':function(_0x57e7a4,_0x491909){return _0x57e7a4===_0x491909;},'AKDcP':_0xc4ab69(0x11c),'PFNor':'[CustomTagManager]\x20setCustomTags:\x20ignoring\x20empty\x20keyValue\x20—\x20no-op\x20per\x20API\x20contract','XUtsv':function(_0x594a2a,_0x9c76e0){return _0x594a2a(_0x9c76e0);},'jFqiB':_0xc4ab69(0x169),'bmLVW':function(_0x3c62ca){return _0x3c62ca();},'NwBnn':_0xc4ab69(0x16a),'jPtQC':function(_0x3aa89f,_0x516a27){return _0x3aa89f>_0x516a27;},'NsjTk':function(_0x4c50da,_0x732a1c){return _0x4c50da(_0x732a1c);},'Scuog':_0xc4ab69(0x18f),'NUVhh':_0xc4ab69(0x13a),'kNZZq':_0xc4ab69(0x19a),'mioGJ':'jest','wAvBt':'CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','vVlbu':_0xc4ab69(0x16d),'iEzpv':function(_0x37e997,_0x2acdb4){return _0x37e997(_0x2acdb4);},'Fqmez':_0xc4ab69(0x177),'DLosB':_0xc4ab69(0x181),'hEfMA':_0xc4ab69(0x185)};if(_0x5528b9[_0xc4ab69(0x13d)](typeof _0x419950,_0x5528b9['mWerh'])){logger['debug'](_0x5528b9[_0xc4ab69(0x18b)]);return;}if(_0x5528b9[_0xc4ab69(0x13d)](typeof _0x1cbacf,_0x5528b9[_0xc4ab69(0x14d)])){logger[_0xc4ab69(0x159)](_0x5528b9[_0xc4ab69(0x141)]);return;}if(_0x5528b9[_0xc4ab69(0x17b)](_0x419950['trim'](),'')){logger['debug'](_0x5528b9[_0xc4ab69(0x178)]);return;}if(_0x5528b9[_0xc4ab69(0x17b)](_0x1cbacf[_0xc4ab69(0x11b)](),'')){logger['debug'](_0x5528b9[_0xc4ab69(0x15a)]);return;}const _0x4d5ef9=helper[_0xc4ab69(0x15c)](_0x1cbacf);if(_0x54c3a1){const _0x29cf49=_0x5528b9[_0xc4ab69(0x121)](require,_0x5528b9[_0xc4ab69(0x16b)]),_0x32c2c8=_0x29cf49[_0xc4ab69(0x162)](),_0x296eb0=_0x32c2c8&&_0x32c2c8['modules'][TestHubModule[_0xc4ab69(0x128)]];if(_0x296eb0){const _0x201de9=_0x296eb0?.[_0xc4ab69(0x17e)]?.[_0xc4ab69(0x170)]()?.[_0xc4ab69(0x18e)];TestInfo[_0xc4ab69(0x134)](_0x201de9);const _0x16644f=TestInfo[_0xc4ab69(0x17a)](_0x201de9),_0x57462c=_0x16644f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};CustomTagManager[_0xc4ab69(0x19b)](_0x57462c,_0x419950,_0x4d5ef9),_0x16644f[TestFrameworkConstants[_0xc4ab69(0x16f)]]=_0x57462c,TestInfo['setTestDetails'](_0x201de9,_0x16644f);!this[_0xc4ab69(0x12a)][_0x201de9]&&(this['buildLevelTags'][_0x201de9]={});this[_0xc4ab69(0x12a)][_0x201de9][_0x419950]=CustomTagManager['mergeValues'](this[_0xc4ab69(0x12a)][_0x201de9][_0x419950],_0x4d5ef9);try{const _0x15f37c=_0x5528b9[_0xc4ab69(0x196)](getBuildTagsRunId);if(_0x15f37c){const _0x128ba8={};for(const [_0x35b12a,_0x260f47]of Object[_0xc4ab69(0x12c)](this[_0xc4ab69(0x12a)][_0x201de9]||{})){_0x128ba8[_0x35b12a]={'field_type':_0x5528b9['NwBnn'],'values':Array[_0xc4ab69(0x11d)](_0x260f47)?[..._0x260f47]:[]};}_0x5528b9[_0xc4ab69(0x16e)](Object[_0xc4ab69(0x153)](_0x128ba8)[_0xc4ab69(0x15d)],0x0)&&await fs[_0xc4ab69(0x158)][_0xc4ab69(0x179)](_0x5528b9['NsjTk'](getBuildTagsFilePath,_0x15f37c),JSON[_0xc4ab69(0x14e)](_0x128ba8));}else logger[_0xc4ab69(0x159)](_0x5528b9[_0xc4ab69(0x12e)]);}catch(_0x3ceea8){logger[_0xc4ab69(0x159)](_0xc4ab69(0x166)+(_0x3ceea8&&_0x3ceea8[_0xc4ab69(0x176)]?_0x3ceea8[_0xc4ab69(0x176)]:_0x3ceea8));}}}else{let _0xc3603f;const _0x47f9d6=global[_0xc4ab69(0x195)];let _0xcd6454=![];if(_0x47f9d6&&_0x47f9d6[_0xc4ab69(0x19f)](_0x5528b9['NUVhh']))_0xcd6454=!![],_0xc3603f=_0x47f9d6;else try{const _0x2c29ab=_0x5528b9[_0xc4ab69(0x15b)](require,_0x5528b9[_0xc4ab69(0x132)]),_0x11cae5=_0x5528b9[_0xc4ab69(0x15b)](require,_0x5528b9[_0xc4ab69(0x16b)]);if(_0x11cae5[_0xc4ab69(0x162)]()[_0xc4ab69(0x129)]()){const _0x56e47e=_0x2c29ab[_0xc4ab69(0x127)]();if(_0x5528b9[_0xc4ab69(0x17b)](_0x56e47e?.['name']?.[_0xc4ab69(0x11f)](),_0x5528b9[_0xc4ab69(0x14b)])){const _0x40f67d=AutomationFramework[_0xc4ab69(0x175)]();_0xc3603f=AutomationFramework[_0xc4ab69(0x147)](_0x40f67d,PlaywrightDriverModule[_0xc4ab69(0x163)],''),_0xc3603f&&_0xc3603f['includes'](_0x5528b9[_0xc4ab69(0x19c)])&&(_0xcd6454=!![]);}}}catch(_0x280db5){logger['debug'](_0xc4ab69(0x12d)+_0x280db5);}if(_0xcd6454){if(!_0xc3603f)throw new Error(_0x5528b9[_0xc4ab69(0x191)]);const _0xd192a3=_0x5528b9[_0xc4ab69(0x121)](require,_0x5528b9[_0xc4ab69(0x16b)]),_0x5536d3=_0xd192a3[_0xc4ab69(0x162)]()['getTestFramework']();if(!_0x5536d3)throw new Error(_0x5528b9[_0xc4ab69(0x131)]);const _0x1d14aa=_0x5528b9['iEzpv'](require,_0x5528b9['Fqmez']),_0x57bbe6=_0x5528b9[_0xc4ab69(0x15b)](require,_0x5528b9[_0xc4ab69(0x194)]),_0x42a015=_0x5536d3[_0xc4ab69(0x130)](_0x1d14aa['TEST'],_0x57bbe6[_0xc4ab69(0x154)]);if(!_0x42a015)throw new Error(_0x5528b9[_0xc4ab69(0x124)]);const _0x54eae8=_0x42a015[_0xc4ab69(0x151)]()[_0xc4ab69(0x187)](_0xc3603f)||{},_0x1aaada=_0x54eae8[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};logger[_0xc4ab69(0x159)](_0xc4ab69(0x17f)+_0xc3603f+_0xc4ab69(0x12b)+_0x419950+_0xc4ab69(0x192)+JSON[_0xc4ab69(0x14e)](_0x4d5ef9)+_0xc4ab69(0x13e)+JSON[_0xc4ab69(0x14e)](_0x1aaada)),CustomTagManager[_0xc4ab69(0x19b)](_0x1aaada,_0x419950,_0x4d5ef9),logger[_0xc4ab69(0x159)]('[CustomTagManager]\x20setCustomTags:\x20Merged\x20tag\x20key='+_0x419950+_0xc4ab69(0x11e)+JSON['stringify'](_0x1aaada[_0x419950][_0xc4ab69(0x172)]));const _0x3456d8={[TestFrameworkConstants[_0xc4ab69(0x16f)]]:_0x1aaada},_0x135c7a={};_0x135c7a[_0xc3603f]=_0x3456d8,_0x42a015['addMultipleEntries'](_0x135c7a),logger[_0xc4ab69(0x159)](_0xc4ab69(0x174)+_0xc3603f+_0xc4ab69(0x139)+JSON[_0xc4ab69(0x14e)](_0x1aaada)),!this[_0xc4ab69(0x15f)][_0xc3603f]&&(this[_0xc4ab69(0x15f)][_0xc3603f]={}),this['testLevelTags'][_0xc3603f][_0x419950]=CustomTagManager['mergeValues'](this[_0xc4ab69(0x15f)][_0xc3603f][_0x419950],_0x4d5ef9);}else{const _0x11c344=global[_0xc4ab69(0x140)]?.['currentTest']?.[_0xc4ab69(0x133)];if(!_0x11c344){const _0x424654=AutomationFramework[_0xc4ab69(0x175)]();_0xc3603f=AutomationFramework[_0xc4ab69(0x147)](_0x424654,PlaywrightDriverModule[_0xc4ab69(0x163)],'');}else _0xc3603f=TestInfo[_0xc4ab69(0x167)](_0x11c344,_0x11c344['retry']);const _0x59466c=TestInfo[_0xc4ab69(0x17a)](_0xc3603f),_0x425b34=_0x59466c[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};CustomTagManager['mergeIntoTags'](_0x425b34,_0x419950,_0x4d5ef9),_0x59466c[TestFrameworkConstants[_0xc4ab69(0x16f)]]=_0x425b34,TestInfo[_0xc4ab69(0x11a)](_0xc3603f,_0x59466c),!this[_0xc4ab69(0x15f)][_0xc3603f]&&(this['testLevelTags'][_0xc3603f]={}),this[_0xc4ab69(0x15f)][_0xc3603f][_0x419950]=CustomTagManager[_0xc4ab69(0x171)](this[_0xc4ab69(0x15f)][_0xc3603f][_0x419950],_0x4d5ef9);}}}static['getBuildLevelTags'](){const _0x502aac=a73_0x2bb70d,_0x43ca30={...this[_0x502aac(0x12a)]};return _0x43ca30;}static['getTestLevelTags'](){const _0x10dbac={...this['testLevelTags']};return _0x10dbac;}static[a73_0x2bb70d(0x182)](){const _0x30ffc5=a73_0x2bb70d;this['buildLevelTags']={},this[_0x30ffc5(0x15f)]={};}static['mergeBuildLevelTags'](_0x4fdef7,_0x8564a1){const _0x24fe13=a73_0x2bb70d,_0x5786bb={};_0x5786bb[_0x24fe13(0x138)]=function(_0x3a338e,_0x38f1a4){return _0x3a338e||_0x38f1a4;};const _0x56144e=_0x5786bb;if(!_0x4fdef7)return;!this[_0x24fe13(0x12a)][_0x4fdef7]&&(this[_0x24fe13(0x12a)][_0x4fdef7]={});for(const [_0x37ab40,_0x341213]of Object[_0x24fe13(0x12c)](_0x56144e[_0x24fe13(0x138)](_0x8564a1,{}))){if(!_0x341213||!Array[_0x24fe13(0x11d)](_0x341213[_0x24fe13(0x172)]))continue;this['buildLevelTags'][_0x4fdef7][_0x37ab40]=CustomTagManager[_0x24fe13(0x171)](this[_0x24fe13(0x12a)][_0x4fdef7][_0x37ab40],_0x341213[_0x24fe13(0x172)]);}}static['aggregateBuildLevelTagsFromTmp'](_0x4af33d,_0x166c8e){const _0x5dc5a3=a73_0x2bb70d,_0x4ce5f4={};_0x4ce5f4[_0x5dc5a3(0x18d)]=_0x5dc5a3(0x190),_0x4ce5f4['SZlkQ']=function(_0x3e6c96,_0xdfaff2){return _0x3e6c96*_0xdfaff2;},_0x4ce5f4[_0x5dc5a3(0x180)]=function(_0x27c17b,_0x546b7c){return _0x27c17b*_0x546b7c;},_0x4ce5f4['HbnKs']=function(_0x540ef0,_0x3af5ae){return _0x540ef0*_0x3af5ae;},_0x4ce5f4[_0x5dc5a3(0x14c)]=function(_0x57a514,_0x2e6c83){return _0x57a514>_0x2e6c83;},_0x4ce5f4[_0x5dc5a3(0x122)]=function(_0x4cd497,_0x5d3b77){return _0x4cd497-_0x5d3b77;},_0x4ce5f4['dbpVo']='utf8';const _0xa380b4=_0x4ce5f4;if(!_0x4af33d)return logger['debug'](_0xa380b4['ZXedS']),0x0;let _0x1272c9;try{_0x1272c9=os['tmpdir']();}catch(_0x3f50f6){return logger['debug']('CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20os.tmpdir()\x20failed:\x20'+_0x3f50f6),0x0;}let _0x40c714;try{_0x40c714=fs[_0x5dc5a3(0x18c)](_0x1272c9);}catch(_0x1f6e6e){return logger['debug'](_0x5dc5a3(0x199)+_0x1f6e6e),0x0;}const _0x54efbc=''+BUILD_TAG_FILE_PREFIX+_0x4af33d+'_',_0x55b38c=_0x40c714[_0x5dc5a3(0x137)](_0x1c3a24=>_0x1c3a24[_0x5dc5a3(0x160)](_0x54efbc)&&_0x1c3a24[_0x5dc5a3(0x173)](_0x5dc5a3(0x13c))),_0xe1e55d=_0xa380b4[_0x5dc5a3(0x142)](_0xa380b4[_0x5dc5a3(0x180)](_0xa380b4['HbnKs'](0x2,0x3c),0x3c),0x3e8);let _0xe104aa=0x0;for(const _0x198aa1 of _0x55b38c){const _0x3c9b8d=path[_0x5dc5a3(0x152)](_0x1272c9,_0x198aa1);try{const _0x46babe=fs['statSync'](_0x3c9b8d);if(_0xa380b4[_0x5dc5a3(0x14c)](_0xa380b4[_0x5dc5a3(0x122)](Date[_0x5dc5a3(0x165)](),_0x46babe[_0x5dc5a3(0x13b)]),_0xe1e55d)){logger[_0x5dc5a3(0x159)](_0x5dc5a3(0x193)+_0xe1e55d+'ms)\x20'+_0x198aa1);try{fs[_0x5dc5a3(0x186)](_0x3c9b8d);}catch(_0xd3a9e6){logger[_0x5dc5a3(0x159)]('CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20unlink\x20failed\x20for\x20stale\x20'+_0x198aa1+':\x20'+(_0xd3a9e6&&_0xd3a9e6[_0x5dc5a3(0x176)]?_0xd3a9e6[_0x5dc5a3(0x176)]:_0xd3a9e6));}continue;}const _0x89ec41=fs[_0x5dc5a3(0x188)](_0x3c9b8d,_0xa380b4[_0x5dc5a3(0x15e)]),_0x309e01=JSON[_0x5dc5a3(0x143)](_0x89ec41);this['mergeBuildLevelTags'](_0x166c8e,_0x309e01),_0xe104aa+=0x1;}catch(_0x51091d){logger['debug']('CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20error\x20reading\x20'+_0x198aa1+':\x20'+(_0x51091d&&_0x51091d['message']?_0x51091d[_0x5dc5a3(0x176)]:_0x51091d));}try{fs['unlinkSync'](_0x3c9b8d);}catch(_0x24be35){logger[_0x5dc5a3(0x159)]('CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20unlink\x20failed\x20for\x20'+_0x198aa1+':\x20'+(_0x24be35&&_0x24be35[_0x5dc5a3(0x176)]?_0x24be35[_0x5dc5a3(0x176)]:_0x24be35));}}return _0xe104aa;}}const a73_0x563db0={};a73_0x563db0[a73_0x2bb70d(0x189)]=getBuildTagsRunId,a73_0x563db0[a73_0x2bb70d(0x19e)]=getBuildTagsFilePath,a73_0x563db0['BUILD_TAG_FILE_PREFIX']=BUILD_TAG_FILE_PREFIX,CustomTagManager[a73_0x2bb70d(0x146)]=a73_0x563db0,module['exports']=CustomTagManager;
@@ -1 +1 @@
1
- const a74_0x14fd06=a74_0x15af;(function(_0x3bc7bc,_0x383a43){const _0x450a0c=a74_0x15af,_0x16ff6e=_0x3bc7bc();while(!![]){try{const _0x97608c=parseInt(_0x450a0c(0xb7))/0x1+parseInt(_0x450a0c(0xb5))/0x2+-parseInt(_0x450a0c(0xb2))/0x3*(-parseInt(_0x450a0c(0xc1))/0x4)+parseInt(_0x450a0c(0xb4))/0x5*(parseInt(_0x450a0c(0xbb))/0x6)+parseInt(_0x450a0c(0xbf))/0x7+-parseInt(_0x450a0c(0xbd))/0x8*(parseInt(_0x450a0c(0xb6))/0x9)+parseInt(_0x450a0c(0xba))/0xa*(-parseInt(_0x450a0c(0xbe))/0xb);if(_0x97608c===_0x383a43)break;else _0x16ff6e['push'](_0x16ff6e['shift']());}catch(_0x5cf4e5){_0x16ff6e['push'](_0x16ff6e['shift']());}}}(a74_0x3976,0x2e1d0));const {createClassLogger}=require('../../helpers/classLogger.js');function a74_0x3976(){const _0x22f67f=['947649bUglRx','observers','290815guPqsj','680850sUmmIy','18iHkfyU','315600SNgezt','registerObserver','fDOGh','8274450gKGVMK','6ixKmGQ','push','1207744COAzbd','11zrjuah','2017330mjvJSS','freeze','4nZBcAh'];a74_0x3976=function(){return _0x22f67f;};return a74_0x3976();}function a74_0x15af(_0x2493a3,_0xd5345a){const _0x397616=a74_0x3976();return a74_0x15af=function(_0x15af49,_0x4b0fd9){_0x15af49=_0x15af49-0xb2;let _0x338dc4=_0x397616[_0x15af49];return _0x338dc4;},a74_0x15af(_0x2493a3,_0xd5345a);}class EventDispatcher{static #instance=null;constructor(){const _0x27a491=a74_0x15af;this[_0x27a491(0xb3)]={};}static['getInstance'](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a74_0x14fd06(0xb8)](_0x1e3738,_0x28679c){const _0x445c42=a74_0x14fd06;!this[_0x445c42(0xb3)][_0x1e3738]&&(this[_0x445c42(0xb3)][_0x1e3738]=[]),this[_0x445c42(0xb3)][_0x1e3738][_0x445c42(0xbc)](_0x28679c);}async['notifyObserver'](_0xa95518,_0x364291){const _0x15359d=a74_0x14fd06,_0x4e0d4f={'fDOGh':function(_0x4fc87b,_0x39e59a){return _0x4fc87b(_0x39e59a);}};if(this['observers'][_0xa95518]){for(const _0x5d4b9f of this[_0x15359d(0xb3)][_0xa95518]){await _0x4e0d4f[_0x15359d(0xb9)](_0x5d4b9f,_0x364291);}return;}}}const eventDispatcher=EventDispatcher['getInstance']();Object[a74_0x14fd06(0xc0)](eventDispatcher),module['exports']=eventDispatcher;
1
+ const a74_0x17829c=a74_0x31c8;(function(_0x57dc06,_0xecc422){const _0x57ed45=a74_0x31c8,_0x4400e3=_0x57dc06();while(!![]){try{const _0x284bc8=parseInt(_0x57ed45(0x152))/0x1*(parseInt(_0x57ed45(0x14e))/0x2)+parseInt(_0x57ed45(0x155))/0x3*(parseInt(_0x57ed45(0x14d))/0x4)+parseInt(_0x57ed45(0x150))/0x5*(parseInt(_0x57ed45(0x14b))/0x6)+-parseInt(_0x57ed45(0x158))/0x7+-parseInt(_0x57ed45(0x14f))/0x8+-parseInt(_0x57ed45(0x153))/0x9+parseInt(_0x57ed45(0x154))/0xa;if(_0x284bc8===_0xecc422)break;else _0x4400e3['push'](_0x4400e3['shift']());}catch(_0x3e8b30){_0x4400e3['push'](_0x4400e3['shift']());}}}(a74_0xd2ae,0x2c9f2));function a74_0xd2ae(){const _0x34652f=['1852158TDROWw','freeze','notifyObserver','../../helpers/classLogger.js','18zQImJO','observers','23176GhjdFv','60yolXNZ','2260208xOWZLH','40725ccpElq','qeleY','4394kYfweN','1604925jZfWDh','7461660ccWOyg','3WWcxcn','exports','registerObserver'];a74_0xd2ae=function(){return _0x34652f;};return a74_0xd2ae();}function a74_0x31c8(_0x52eca5,_0x43478c){const _0xd2ae7d=a74_0xd2ae();return a74_0x31c8=function(_0x31c84f,_0x395ce2){_0x31c84f=_0x31c84f-0x148;let _0x4b042f=_0xd2ae7d[_0x31c84f];return _0x4b042f;},a74_0x31c8(_0x52eca5,_0x43478c);}const {createClassLogger}=require(a74_0x17829c(0x14a));class EventDispatcher{static #instance=null;constructor(){const _0x59d563=a74_0x17829c;this[_0x59d563(0x14c)]={};}static['getInstance'](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a74_0x17829c(0x157)](_0x426816,_0x2a365d){const _0x59b7d6=a74_0x17829c;!this['observers'][_0x426816]&&(this[_0x59b7d6(0x14c)][_0x426816]=[]),this['observers'][_0x426816]['push'](_0x2a365d);}async[a74_0x17829c(0x149)](_0x1562db,_0x3ef7ee){const _0x388f73=a74_0x17829c,_0x225ad9={'qeleY':function(_0x2b6ca5,_0x504972){return _0x2b6ca5(_0x504972);}};if(this[_0x388f73(0x14c)][_0x1562db]){for(const _0x41b5a1 of this[_0x388f73(0x14c)][_0x1562db]){await _0x225ad9[_0x388f73(0x151)](_0x41b5a1,_0x3ef7ee);}return;}}}const eventDispatcher=EventDispatcher['getInstance']();Object[a74_0x17829c(0x148)](eventDispatcher),module[a74_0x17829c(0x156)]=eventDispatcher;
@@ -1 +1 @@
1
- const a75_0x5cf16e=a75_0x4b97;(function(_0x170765,_0x20070f){const _0x5e0ce9=a75_0x4b97,_0x4097ff=_0x170765();while(!![]){try{const _0x4a756a=-parseInt(_0x5e0ce9(0x18b))/0x1+parseInt(_0x5e0ce9(0x179))/0x2+parseInt(_0x5e0ce9(0x18d))/0x3+-parseInt(_0x5e0ce9(0x17b))/0x4*(-parseInt(_0x5e0ce9(0x16b))/0x5)+parseInt(_0x5e0ce9(0x17e))/0x6*(parseInt(_0x5e0ce9(0x16c))/0x7)+-parseInt(_0x5e0ce9(0x181))/0x8*(-parseInt(_0x5e0ce9(0x17a))/0x9)+parseInt(_0x5e0ce9(0x188))/0xa*(-parseInt(_0x5e0ce9(0x17f))/0xb);if(_0x4a756a===_0x20070f)break;else _0x4097ff['push'](_0x4097ff['shift']());}catch(_0x52a9ff){_0x4097ff['push'](_0x4097ff['shift']());}}}(a75_0x21f2,0xa900a));const {createClassLogger}=require(a75_0x5cf16e(0x176)),util=require(a75_0x5cf16e(0x18c)),eventDispatcher=require(a75_0x5cf16e(0x183)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a75_0x5cf16e(0x170)),logger=createClassLogger(a75_0x5cf16e(0x175));function a75_0x4b97(_0xc1aee0,_0x5773e5){const _0x21f299=a75_0x21f2();return a75_0x4b97=function(_0x4b97c4,_0xc16ca9){_0x4b97c4=_0x4b97c4-0x168;let _0x31cb27=_0x21f299[_0x4b97c4];return _0x31cb27;},a75_0x4b97(_0xc1aee0,_0x5773e5);}function a75_0x21f2(){const _0x40e68c=['createContext','debug','setState','trackEvent','trackEvent:\x20automationFrameworkState=','155wELdIZ','7jRmXsd','getCurrentInstanceName','instances','runHooks','../instances/trackedInstance.js','automation_sessions','set','getAllData','getAutomationFrameworkVersion','AutomationFramework','../../../helpers/classLogger.js','KEY_AUTOMATION_SESSIONS','automationFrameworkVersion','2014876AScPRy','9GGswaY','148816iUadgG','getHookRegistryKey','getTrackedInstance','6277386egoTol','2699422QzOSYZ','notifyObserver','1285496ltzfHb','get','../eventDispatcher.js','getId','KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','getAutomationFrameworkName','exports','120ESuOTd','automationFrameworkName','registerObserver','374570lwdRRB','util','1931844BAOVnZ'];a75_0x21f2=function(){return _0x40e68c;};return a75_0x21f2();}class AutomationFramework{static [a75_0x5cf16e(0x16e)]=new Map();static [a75_0x5cf16e(0x177)]=a75_0x5cf16e(0x171);static [a75_0x5cf16e(0x185)]='non_browserstack_automation_sessions';constructor(_0x318bfe,_0x140f85){const _0x44c7f1=a75_0x5cf16e;this[_0x44c7f1(0x189)]=_0x318bfe,this[_0x44c7f1(0x178)]=_0x140f85;}[a75_0x5cf16e(0x186)](){const _0x5748a7=a75_0x5cf16e;return this[_0x5748a7(0x189)];}[a75_0x5cf16e(0x174)](){const _0x47a47a=a75_0x5cf16e;return this[_0x47a47a(0x178)];}async[a75_0x5cf16e(0x169)](_0x260189,_0x3f85ed,_0x37f9c5={}){const _0xdd0bc6=a75_0x5cf16e;logger[_0xdd0bc6(0x18f)](_0xdd0bc6(0x16a)+_0x260189+'\x20hookState='+_0x3f85ed);}async[a75_0x5cf16e(0x16f)](_0x4c53f7,_0x257093,_0x1e66fa,_0x4a3e88={}){const _0x2d13e9=a75_0x5cf16e,_0x3829b8=CLIUtils[_0x2d13e9(0x17c)](_0x257093,_0x1e66fa);_0x4c53f7&&_0x4c53f7[_0x2d13e9(0x168)](_0x257093),await eventDispatcher[_0x2d13e9(0x180)](_0x3829b8,_0x4a3e88);}static[a75_0x5cf16e(0x18a)](_0x5ef080,_0x49c45a,_0x5a5e9a){const _0x107b85=a75_0x5cf16e;eventDispatcher[_0x107b85(0x18a)](CLIUtils[_0x107b85(0x17c)](_0x5ef080,_0x49c45a),_0x5a5e9a);}static['setTrackedInstance'](_0x43ed13,_0x1a62ec){const _0x415f78=a75_0x5cf16e;AutomationFramework[_0x415f78(0x16e)][_0x415f78(0x172)](_0x43ed13[_0x415f78(0x184)](),_0x1a62ec);}static[a75_0x5cf16e(0x17d)](){const _0x1f19fb=a75_0x5cf16e,_0x241666=TrackedInstance[_0x1f19fb(0x18e)](CLIUtils[_0x1f19fb(0x16d)]());return AutomationFramework[_0x1f19fb(0x16e)][_0x1f19fb(0x182)](_0x241666[_0x1f19fb(0x184)]());}static[a75_0x5cf16e(0x168)](_0x4b20be,_0x39d352,_0x1a1da6){const _0x465f36=a75_0x5cf16e;_0x4b20be['getAllData']()[_0x465f36(0x172)](_0x39d352,_0x1a1da6);}static['getState'](_0xc0aeed,_0xdc1ac1){const _0x5abe7a=a75_0x5cf16e;return _0xc0aeed[_0x5abe7a(0x173)]()[_0x5abe7a(0x182)](_0xdc1ac1);}}module[a75_0x5cf16e(0x187)]=AutomationFramework;
1
+ const a75_0x258807=a75_0x2280;(function(_0x3ee680,_0x200d6a){const _0xa61d84=a75_0x2280,_0x402191=_0x3ee680();while(!![]){try{const _0x1d8d44=-parseInt(_0xa61d84(0x1cf))/0x1+-parseInt(_0xa61d84(0x1d5))/0x2*(parseInt(_0xa61d84(0x1be))/0x3)+-parseInt(_0xa61d84(0x1c7))/0x4*(parseInt(_0xa61d84(0x1bd))/0x5)+parseInt(_0xa61d84(0x1c5))/0x6*(-parseInt(_0xa61d84(0x1c0))/0x7)+parseInt(_0xa61d84(0x1c6))/0x8+-parseInt(_0xa61d84(0x1c3))/0x9*(parseInt(_0xa61d84(0x1db))/0xa)+parseInt(_0xa61d84(0x1d9))/0xb*(parseInt(_0xa61d84(0x1ce))/0xc);if(_0x1d8d44===_0x200d6a)break;else _0x402191['push'](_0x402191['shift']());}catch(_0x45f2f4){_0x402191['push'](_0x402191['shift']());}}}(a75_0x5873,0x74ca4));const {createClassLogger}=require(a75_0x258807(0x1c8)),util=require('util'),eventDispatcher=require(a75_0x258807(0x1b7)),CLIUtils=require(a75_0x258807(0x1ba)),TrackedInstance=require(a75_0x258807(0x1b9)),logger=createClassLogger(a75_0x258807(0x1d1));class AutomationFramework{static [a75_0x258807(0x1cc)]=new Map();static [a75_0x258807(0x1b5)]=a75_0x258807(0x1d2);static [a75_0x258807(0x1bc)]=a75_0x258807(0x1d8);constructor(_0x8d1ba1,_0x3ad6f7){const _0x386d0d=a75_0x258807;this[_0x386d0d(0x1c1)]=_0x8d1ba1,this[_0x386d0d(0x1cb)]=_0x3ad6f7;}['getAutomationFrameworkName'](){const _0x5e1130=a75_0x258807;return this[_0x5e1130(0x1c1)];}['getAutomationFrameworkVersion'](){const _0x4e0ef7=a75_0x258807;return this[_0x4e0ef7(0x1cb)];}async[a75_0x258807(0x1d6)](_0x13ac07,_0x547242,_0x392ae0={}){const _0x4118b4=a75_0x258807;logger[_0x4118b4(0x1d3)]('trackEvent:\x20automationFrameworkState='+_0x13ac07+_0x4118b4(0x1c9)+_0x547242);}async['runHooks'](_0x26b476,_0x1bc28b,_0x2d4062,_0x43199f={}){const _0x517e1a=a75_0x258807,_0x386e8a=CLIUtils['getHookRegistryKey'](_0x1bc28b,_0x2d4062);_0x26b476&&_0x26b476[_0x517e1a(0x1c2)](_0x1bc28b),await eventDispatcher[_0x517e1a(0x1bb)](_0x386e8a,_0x43199f);}static[a75_0x258807(0x1da)](_0x40157c,_0x25177b,_0x3bd205){const _0x4a152d=a75_0x258807;eventDispatcher[_0x4a152d(0x1da)](CLIUtils[_0x4a152d(0x1b6)](_0x40157c,_0x25177b),_0x3bd205);}static['setTrackedInstance'](_0x5439e6,_0x5ecdec){const _0x3a54bd=a75_0x258807;AutomationFramework[_0x3a54bd(0x1cc)]['set'](_0x5439e6[_0x3a54bd(0x1d4)](),_0x5ecdec);}static[a75_0x258807(0x1bf)](){const _0x544170=a75_0x258807,_0x282f8a=TrackedInstance[_0x544170(0x1b4)](CLIUtils[_0x544170(0x1d0)]());return AutomationFramework[_0x544170(0x1cc)][_0x544170(0x1c4)](_0x282f8a[_0x544170(0x1d4)]());}static[a75_0x258807(0x1c2)](_0xdf3ebe,_0x5c82c4,_0x3b6d8c){const _0x185f32=a75_0x258807;_0xdf3ebe[_0x185f32(0x1b8)]()[_0x185f32(0x1ca)](_0x5c82c4,_0x3b6d8c);}static[a75_0x258807(0x1d7)](_0x23fb95,_0x376f6d){const _0x28d0d1=a75_0x258807;return _0x23fb95[_0x28d0d1(0x1b8)]()[_0x28d0d1(0x1c4)](_0x376f6d);}}function a75_0x5873(){const _0x1b6b43=['setState','27BXrhDg','get','6GBqHeX','266096fcVEdK','260wEPkdu','../../../helpers/classLogger.js','\x20hookState=','set','automationFrameworkVersion','instances','exports','24eQUQux','915061qVHduk','getCurrentInstanceName','AutomationFramework','automation_sessions','debug','getId','2158qVOvOi','trackEvent','getState','non_browserstack_automation_sessions','15391585kXPtwU','registerObserver','1379390FzvykD','createContext','KEY_AUTOMATION_SESSIONS','getHookRegistryKey','../eventDispatcher.js','getAllData','../instances/trackedInstance.js','../cliUtils.js','notifyObserver','KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','41435gywTYT','1161LIPHZv','getTrackedInstance','477778tjoqDN','automationFrameworkName'];a75_0x5873=function(){return _0x1b6b43;};return a75_0x5873();}function a75_0x2280(_0x5e9f33,_0x2999d9){const _0x58736d=a75_0x5873();return a75_0x2280=function(_0x22801c,_0x5dab0c){_0x22801c=_0x22801c-0x1b4;let _0x119353=_0x58736d[_0x22801c];return _0x119353;},a75_0x2280(_0x5e9f33,_0x2999d9);}module[a75_0x258807(0x1cd)]=AutomationFramework;
@@ -1 +1 @@
1
- const a76_0x32aecd=a76_0x4ada;(function(_0x2633cd,_0x2fe6b6){const _0x3ece6e=a76_0x4ada,_0x3ff775=_0x2633cd();while(!![]){try{const _0x12e7b7=parseInt(_0x3ece6e(0x1b5))/0x1+-parseInt(_0x3ece6e(0x19e))/0x2*(parseInt(_0x3ece6e(0x19d))/0x3)+-parseInt(_0x3ece6e(0x1a3))/0x4*(-parseInt(_0x3ece6e(0x1a1))/0x5)+parseInt(_0x3ece6e(0x1b7))/0x6*(-parseInt(_0x3ece6e(0x19a))/0x7)+parseInt(_0x3ece6e(0x1a2))/0x8*(-parseInt(_0x3ece6e(0x19b))/0x9)+-parseInt(_0x3ece6e(0x19f))/0xa*(-parseInt(_0x3ece6e(0x197))/0xb)+parseInt(_0x3ece6e(0x1a8))/0xc;if(_0x12e7b7===_0x2fe6b6)break;else _0x3ff775['push'](_0x3ff775['shift']());}catch(_0x2c4fe5){_0x3ff775['push'](_0x3ff775['shift']());}}}(a76_0x3e89,0x3cbfd));const a76_0x2a8cdd={};function a76_0x3e89(){const _0x4ab40b=['COMMAND_QUIT','140404rxSwNi','KEY_CAPABILITIES','1497030UQrnrj','is_browserstack_hub','w3cexecutescript','ended_at','newsession','23419lXBcmU','w3cexecutescriptasync','BROWSERSTACK_PLATFORM_INDEX','7ZOPlIA','47349tDDmzq','COMMAND_GET','180TAwEqY','6122AUJeGu','70eOZPSJ','KEY_ENDED_AT','685IACjSp','216GAeaqa','860YDDujA','exports','started_at','KEY_PLATFORM_INDEX','get','7671348VzQxhA','KEY_HUB_URL','capabilities','screenshot','framework_session_id','COMMAND_W3C_EXECUTE_SCRIPT_ASYNC','KEY_INPUT_CAPABILITIES','hub_url','quit','COMMAND_NEW_SESSION','platform_index','COMMAND_SCREENSHOT'];a76_0x3e89=function(){return _0x4ab40b;};return a76_0x3e89();}function a76_0x4ada(_0x56ab9b,_0x55bcd4){const _0x3e8971=a76_0x3e89();return a76_0x4ada=function(_0x4adad5,_0x225983){_0x4adad5=_0x4adad5-0x196;let _0x2166d5=_0x3e8971[_0x4adad5];return _0x2166d5;},a76_0x4ada(_0x56ab9b,_0x55bcd4);}a76_0x2a8cdd['ENV_BROWSERSTACK_PLATFORM_INDEX']=a76_0x32aecd(0x199),a76_0x2a8cdd[a76_0x32aecd(0x1a9)]=a76_0x32aecd(0x1af),a76_0x2a8cdd['KEY_FRAMEWORK_SESSION_ID']=a76_0x32aecd(0x1ac),a76_0x2a8cdd[a76_0x32aecd(0x1ae)]='input_capabilities',a76_0x2a8cdd[a76_0x32aecd(0x1b6)]=a76_0x32aecd(0x1aa),a76_0x2a8cdd['KEY_IS_BROWSERSTACK_HUB']=a76_0x32aecd(0x1b8),a76_0x2a8cdd['KEY_STARTED_AT']=a76_0x32aecd(0x1a5),a76_0x2a8cdd[a76_0x32aecd(0x1a0)]=a76_0x32aecd(0x1ba),a76_0x2a8cdd[a76_0x32aecd(0x1a6)]=a76_0x32aecd(0x1b2),a76_0x2a8cdd[a76_0x32aecd(0x1b1)]=a76_0x32aecd(0x196),a76_0x2a8cdd[a76_0x32aecd(0x19c)]=a76_0x32aecd(0x1a7),a76_0x2a8cdd[a76_0x32aecd(0x1b3)]=a76_0x32aecd(0x1ab),a76_0x2a8cdd['COMMAND_W3C_EXECUTE_SCRIPT']=a76_0x32aecd(0x1b9),a76_0x2a8cdd[a76_0x32aecd(0x1ad)]=a76_0x32aecd(0x198),a76_0x2a8cdd[a76_0x32aecd(0x1b4)]=a76_0x32aecd(0x1b0);const AutomationFrameworkConstants=a76_0x2a8cdd;module[a76_0x32aecd(0x1a4)]=AutomationFrameworkConstants;
1
+ function a76_0x4738(){const _0x14f22c=['input_capabilities','screenshot','780374PDKCzs','KEY_STARTED_AT','KEY_ENDED_AT','started_at','386358xndQNu','hub_url','exports','get','platform_index','COMMAND_W3C_EXECUTE_SCRIPT_ASYNC','quit','348XfTaOg','ENV_BROWSERSTACK_PLATFORM_INDEX','659490HlkZHF','300882FxttxZ','COMMAND_SCREENSHOT','BROWSERSTACK_PLATFORM_INDEX','COMMAND_QUIT','KEY_PLATFORM_INDEX','KEY_HUB_URL','capabilities','34045YpybID','4910VEecEl','w3cexecutescriptasync','w3cexecutescript','COMMAND_GET','2924928ImAIOb','is_browserstack_hub','COMMAND_W3C_EXECUTE_SCRIPT'];a76_0x4738=function(){return _0x14f22c;};return a76_0x4738();}const a76_0x26b5a0=a76_0x52aa;(function(_0x5a25c4,_0x54fb00){const _0x3f4426=a76_0x52aa,_0x4907dc=_0x5a25c4();while(!![]){try{const _0x26f45b=-parseInt(_0x3f4426(0x1fa))/0x1+-parseInt(_0x3f4426(0x1e9))/0x2+parseInt(_0x3f4426(0x1f3))/0x3+-parseInt(_0x3f4426(0x1f0))/0x4*(-parseInt(_0x3f4426(0x1dc))/0x5)+-parseInt(_0x3f4426(0x1f2))/0x6+-parseInt(_0x3f4426(0x1e5))/0x7+parseInt(_0x3f4426(0x1e0))/0x8;if(_0x26f45b===_0x54fb00)break;else _0x4907dc['push'](_0x4907dc['shift']());}catch(_0xe0fd4d){_0x4907dc['push'](_0x4907dc['shift']());}}}(a76_0x4738,0x19143));const a76_0x1effbc={};a76_0x1effbc[a76_0x26b5a0(0x1f1)]=a76_0x26b5a0(0x1f5),a76_0x1effbc[a76_0x26b5a0(0x1f8)]=a76_0x26b5a0(0x1ea),a76_0x1effbc['KEY_FRAMEWORK_SESSION_ID']='framework_session_id',a76_0x1effbc['KEY_INPUT_CAPABILITIES']=a76_0x26b5a0(0x1e3),a76_0x1effbc['KEY_CAPABILITIES']=a76_0x26b5a0(0x1f9),a76_0x1effbc['KEY_IS_BROWSERSTACK_HUB']=a76_0x26b5a0(0x1e1),a76_0x1effbc[a76_0x26b5a0(0x1e6)]=a76_0x26b5a0(0x1e8),a76_0x1effbc[a76_0x26b5a0(0x1e7)]='ended_at',a76_0x1effbc[a76_0x26b5a0(0x1f7)]=a76_0x26b5a0(0x1ed),a76_0x1effbc['COMMAND_NEW_SESSION']='newsession',a76_0x1effbc[a76_0x26b5a0(0x1df)]=a76_0x26b5a0(0x1ec),a76_0x1effbc[a76_0x26b5a0(0x1f4)]=a76_0x26b5a0(0x1e4),a76_0x1effbc[a76_0x26b5a0(0x1e2)]=a76_0x26b5a0(0x1de),a76_0x1effbc[a76_0x26b5a0(0x1ee)]=a76_0x26b5a0(0x1dd),a76_0x1effbc[a76_0x26b5a0(0x1f6)]=a76_0x26b5a0(0x1ef);const AutomationFrameworkConstants=a76_0x1effbc;function a76_0x52aa(_0x1f4126,_0x2a9601){const _0x4738d8=a76_0x4738();return a76_0x52aa=function(_0x52aa09,_0x53246c){_0x52aa09=_0x52aa09-0x1dc;let _0xe14c61=_0x4738d8[_0x52aa09];return _0xe14c61;},a76_0x52aa(_0x1f4126,_0x2a9601);}module[a76_0x26b5a0(0x1eb)]=AutomationFrameworkConstants;
@@ -1 +1 @@
1
- const a77_0x1fc3c7=a77_0xcb76;(function(_0x1df056,_0x23d133){const _0x3bf344=a77_0xcb76,_0x996ad7=_0x1df056();while(!![]){try{const _0x6ea666=-parseInt(_0x3bf344(0x1c5))/0x1*(-parseInt(_0x3bf344(0x18a))/0x2)+parseInt(_0x3bf344(0x19e))/0x3+-parseInt(_0x3bf344(0x1c9))/0x4*(-parseInt(_0x3bf344(0x17e))/0x5)+-parseInt(_0x3bf344(0x1bf))/0x6*(parseInt(_0x3bf344(0x1ab))/0x7)+-parseInt(_0x3bf344(0x1ba))/0x8+parseInt(_0x3bf344(0x1b4))/0x9+-parseInt(_0x3bf344(0x1af))/0xa;if(_0x6ea666===_0x23d133)break;else _0x996ad7['push'](_0x996ad7['shift']());}catch(_0x4b98cb){_0x996ad7['push'](_0x996ad7['shift']());}}}(a77_0x2eb9,0x6afcc));function a77_0x2eb9(){const _0x33baf9=['hook_failure_type','34aPMcFt','KEY_CUSTOM_TAGS','test_started_at','KEY_TEST_FAILURE','hook_name','test_failure_type','test_logs','KEY_HOOKS_FINISHED','test_failure_reason','KEY_TEST_SCOPE','KEY_HOOK_FAILURE_REASON','KIND_SCREENSHOT','test_file_path','test_hooks_finished','file_size','TEST_SCREENSHOT','TEST_LOG','MAX_TOP_LEVEL_STEPS','automate_session_status','KIND_LOG','1410309GXunNd','hook_id','hook_failure','event_ended_at','KEY_TEST_RETRY_OF','KEY_TEST_META','test_id','KEY_TEST_LOGS','KEY_TEST_ENDED_AT','KEY_HOOKS_STARTED','test_scopes','KEY_PLATFORM_INDEX','test_attachments','6223hjWIRP','DEFAULT_TEST_RESULT','KEY_TEST_SCOPES','KEY_TEST_DURATION','3811700BlhvAk','test_result','platform_index','KEY_HOOK_LOGS','HOOK_REGEX','4393926OLufME','test_code','test_name','KEY_EVENT_ENDED_AT','KEY_TEST_ID','KEY_TEST_STARTED_AT','4062336ihnBib','retry_of','KEY_AUTOMATE_SESSION_STATUS','test_scope','file_path','5298xDFeDE','KEY_TEST_UUID','KEY_TEST_LOCATION','KEY_HOOK_FAILURE_TYPE','test_hook_last_finished','test_uuid','28742lKWYeR','KEY_TEST_NAME','test_meta','exports','1330476mHvVIu','automate_session_reason','test_ended_at','KEY_TEST_FAILURE_REASON','pending','test_duration','KEY_TEST_FILE_PATH','KEY_FILE_NAME','KEY_EVENT_STARTED_AT','KEY_HOOK_FAILURE','hook_result','10GzyFVO','KEY_SESSION_NAME','hook_logs','KEY_TEST_FAILURE_TYPE','automate_session_name','KEY_FILE_PATH','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_CODE','test_location','KEY_FILE_SIZE','event_started_at'];a77_0x2eb9=function(){return _0x33baf9;};return a77_0x2eb9();}const a77_0x389df7={};a77_0x389df7[a77_0x1fc3c7(0x1c0)]=a77_0x1fc3c7(0x1c4),a77_0x389df7[a77_0x1fc3c7(0x1b8)]=a77_0x1fc3c7(0x1a4),a77_0x389df7[a77_0x1fc3c7(0x1c6)]=a77_0x1fc3c7(0x1b6),a77_0x389df7[a77_0x1fc3c7(0x1cf)]=a77_0x1fc3c7(0x196),a77_0x389df7['KEY_TEST_TAGS']='test_tags',a77_0x389df7['KEY_TEST_RESULT']=a77_0x1fc3c7(0x1b0),a77_0x389df7['KEY_TEST_RESULT_AT']='test_result_at',a77_0x389df7[a77_0x1fc3c7(0x1b9)]=a77_0x1fc3c7(0x18c),a77_0x389df7[a77_0x1fc3c7(0x1a6)]=a77_0x1fc3c7(0x1cb),a77_0x389df7[a77_0x1fc3c7(0x1c1)]=a77_0x1fc3c7(0x186),a77_0x389df7[a77_0x1fc3c7(0x1ae)]=a77_0x1fc3c7(0x1ce),a77_0x389df7[a77_0x1fc3c7(0x193)]=a77_0x1fc3c7(0x1bd),a77_0x389df7[a77_0x1fc3c7(0x1ad)]=a77_0x1fc3c7(0x1a8),a77_0x389df7['KEY_TEST_FRAMEWORK_NAME']='test_framework_name',a77_0x389df7['KEY_TEST_FRAMEWORK_VERSION']='test_framework_version',a77_0x389df7[a77_0x1fc3c7(0x185)]=a77_0x1fc3c7(0x1b5),a77_0x389df7['KEY_TEST_RERUN_NAME']='test_rerun_name',a77_0x389df7[a77_0x1fc3c7(0x1a2)]=a77_0x1fc3c7(0x1bb),a77_0x389df7[a77_0x1fc3c7(0x1a9)]=a77_0x1fc3c7(0x1b1),a77_0x389df7[a77_0x1fc3c7(0x18d)]='test_failure',a77_0x389df7[a77_0x1fc3c7(0x181)]=a77_0x1fc3c7(0x18f),a77_0x389df7[a77_0x1fc3c7(0x1cc)]=a77_0x1fc3c7(0x192),a77_0x389df7[a77_0x1fc3c7(0x1a5)]=a77_0x1fc3c7(0x190),a77_0x389df7[a77_0x1fc3c7(0x1a3)]=a77_0x1fc3c7(0x1c7),a77_0x389df7[a77_0x1fc3c7(0x17f)]='test_session_name',a77_0x389df7[a77_0x1fc3c7(0x184)]=a77_0x1fc3c7(0x182),a77_0x389df7[a77_0x1fc3c7(0x1bc)]=a77_0x1fc3c7(0x19c),a77_0x389df7['KEY_AUTOMATE_SESSION_REASON']=a77_0x1fc3c7(0x1ca),a77_0x389df7[a77_0x1fc3c7(0x1d1)]=a77_0x1fc3c7(0x188),a77_0x389df7[a77_0x1fc3c7(0x1b7)]=a77_0x1fc3c7(0x1a1),a77_0x389df7['KEY_HOOK_ID']=a77_0x1fc3c7(0x19f),a77_0x389df7['KEY_HOOK_RESULT']=a77_0x1fc3c7(0x1d3),a77_0x389df7[a77_0x1fc3c7(0x1c2)]=a77_0x1fc3c7(0x189),a77_0x389df7[a77_0x1fc3c7(0x194)]='hook_failure_reason',a77_0x389df7[a77_0x1fc3c7(0x1d2)]=a77_0x1fc3c7(0x1a0),a77_0x389df7[a77_0x1fc3c7(0x1b2)]=a77_0x1fc3c7(0x180),a77_0x389df7['KEY_HOOK_NAME']=a77_0x1fc3c7(0x18e),a77_0x389df7[a77_0x1fc3c7(0x1ac)]=a77_0x1fc3c7(0x1cd),a77_0x389df7['DEFAULT_HOOK_RESULT']=a77_0x1fc3c7(0x1cd),a77_0x389df7[a77_0x1fc3c7(0x195)]=a77_0x1fc3c7(0x199),a77_0x389df7[a77_0x1fc3c7(0x19d)]=a77_0x1fc3c7(0x19a),a77_0x389df7[a77_0x1fc3c7(0x1b3)]='^(BEFORE_|AFTER_)',a77_0x389df7[a77_0x1fc3c7(0x1a7)]='test_hooks_started',a77_0x389df7[a77_0x1fc3c7(0x191)]=a77_0x1fc3c7(0x197),a77_0x389df7['KEY_HOOK_LAST_STARTED']='test_hook_last_started',a77_0x389df7['KEY_HOOK_LAST_FINISHED']=a77_0x1fc3c7(0x1c3),a77_0x389df7['KEY_LOGS']='logs',a77_0x389df7[a77_0x1fc3c7(0x18b)]='custom_metadata',a77_0x389df7['KEY_TEST_ATTACHMENTS']=a77_0x1fc3c7(0x1aa),a77_0x389df7[a77_0x1fc3c7(0x187)]=a77_0x1fc3c7(0x198),a77_0x389df7[a77_0x1fc3c7(0x1d0)]='file_name',a77_0x389df7[a77_0x1fc3c7(0x183)]=a77_0x1fc3c7(0x1be),a77_0x389df7['KEY_FILE_LEVEL']='file_level',a77_0x389df7[a77_0x1fc3c7(0x19b)]=0xa,a77_0x389df7['MAX_NESTED_STEP_DEPTH']=0x2;function a77_0xcb76(_0x161c8c,_0x3b9b0e){const _0x2eb923=a77_0x2eb9();return a77_0xcb76=function(_0xcb7661,_0x1586b0){_0xcb7661=_0xcb7661-0x17e;let _0x3096f1=_0x2eb923[_0xcb7661];return _0x3096f1;},a77_0xcb76(_0x161c8c,_0x3b9b0e);}const TestFrameworkConstants=a77_0x389df7;module[a77_0x1fc3c7(0x1c8)]=TestFrameworkConstants;
1
+ function a77_0x57b8(){const _0x522df3=['test_hooks_started','file_size','TEST_LOG','KEY_AUTOMATE_SESSION_REASON','hook_failure','test_scopes','test_tags','test_failure','file_name','hook_result','1140KXQpQm','KEY_TEST_RERUN_NAME','1923aHRTeT','9148KzHYtw','test_rerun_name','KEY_TEST_LOGS','pending','82098hkqROU','KEY_HOOK_ID','KEY_TEST_LOCATION','test_framework_version','KEY_TEST_RESULT_AT','KIND_SCREENSHOT','DEFAULT_HOOK_RESULT','test_meta','automate_session_status','test_result','KEY_TEST_FILE_PATH','KEY_TEST_UUID','test_logs','test_scope','file_level','1416981tYdKqW','test_failure_type','KEY_TEST_ATTACHMENTS','KEY_HOOK_RESULT','KEY_EVENT_STARTED_AT','automate_session_reason','1802058miwdbW','hook_id','automate_session_name','KEY_TEST_RETRY_OF','2894642TfPOmB','retry_of','test_file_path','28160825UnDYMg','test_session_name','KEY_SESSION_NAME','KEY_HOOK_LAST_FINISHED','test_failure_reason','KEY_TEST_FRAMEWORK_VERSION','MAX_NESTED_STEP_DEPTH','KEY_PLATFORM_INDEX','TEST_SCREENSHOT','exports','file_path','KEY_TEST_SCOPES','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_TAGS','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FAILURE_TYPE','test_code','KEY_HOOK_FAILURE_REASON','1079855SLTSah','KEY_HOOK_LAST_STARTED','platform_index','event_started_at','KEY_HOOK_FAILURE','custom_metadata','hook_failure_reason','KEY_FILE_LEVEL','KEY_HOOK_NAME','logs','KEY_FILE_NAME','test_framework_name','KEY_HOOKS_STARTED','KEY_TEST_ENDED_AT','hook_logs','event_ended_at','KEY_TEST_NAME','8oOyNOg','^(BEFORE_|AFTER_)','20yRWmlb','KEY_LOGS','test_duration','test_attachments','KEY_TEST_FAILURE_REASON','KEY_TEST_SCOPE','test_hook_last_finished'];a77_0x57b8=function(){return _0x522df3;};return a77_0x57b8();}function a77_0x32b0(_0x54a61c,_0x58c2aa){const _0x57b8ca=a77_0x57b8();return a77_0x32b0=function(_0x32b001,_0x1f9bdc){_0x32b001=_0x32b001-0xe0;let _0x528a39=_0x57b8ca[_0x32b001];return _0x528a39;},a77_0x32b0(_0x54a61c,_0x58c2aa);}const a77_0x2a2ca8=a77_0x32b0;(function(_0x7492a9,_0x35f01f){const _0x752bd0=a77_0x32b0,_0x11d013=_0x7492a9();while(!![]){try{const _0x3fa044=-parseInt(_0x752bd0(0x11f))/0x1+parseInt(_0x752bd0(0x129))/0x2+-parseInt(_0x752bd0(0x10b))/0x3*(parseInt(_0x752bd0(0x10c))/0x4)+parseInt(_0x752bd0(0xf8))/0x5*(-parseInt(_0x752bd0(0x125))/0x6)+parseInt(_0x752bd0(0xe5))/0x7*(-parseInt(_0x752bd0(0xf6))/0x8)+parseInt(_0x752bd0(0x110))/0x9*(parseInt(_0x752bd0(0x109))/0xa)+parseInt(_0x752bd0(0x12c))/0xb;if(_0x3fa044===_0x35f01f)break;else _0x11d013['push'](_0x11d013['shift']());}catch(_0x421134){_0x11d013['push'](_0x11d013['shift']());}}}(a77_0x57b8,0xc570f));const a77_0x1397f5={};a77_0x1397f5[a77_0x2a2ca8(0x11b)]='test_uuid',a77_0x1397f5['KEY_TEST_ID']='test_id',a77_0x1397f5[a77_0x2a2ca8(0xf5)]='test_name',a77_0x1397f5[a77_0x2a2ca8(0x11a)]=a77_0x2a2ca8(0x12b),a77_0x1397f5[a77_0x2a2ca8(0xe0)]=a77_0x2a2ca8(0x105),a77_0x1397f5['KEY_TEST_RESULT']=a77_0x2a2ca8(0x119),a77_0x1397f5[a77_0x2a2ca8(0x114)]='test_result_at',a77_0x1397f5['KEY_TEST_STARTED_AT']='test_started_at',a77_0x1397f5[a77_0x2a2ca8(0xf2)]='test_ended_at',a77_0x1397f5[a77_0x2a2ca8(0x112)]='test_location',a77_0x1397f5['KEY_TEST_DURATION']=a77_0x2a2ca8(0xfa),a77_0x1397f5[a77_0x2a2ca8(0xfd)]=a77_0x2a2ca8(0x11d),a77_0x1397f5[a77_0x2a2ca8(0x137)]=a77_0x2a2ca8(0x104),a77_0x1397f5[a77_0x2a2ca8(0x138)]=a77_0x2a2ca8(0xf0),a77_0x1397f5[a77_0x2a2ca8(0x131)]=a77_0x2a2ca8(0x113),a77_0x1397f5['KEY_TEST_CODE']=a77_0x2a2ca8(0xe3),a77_0x1397f5[a77_0x2a2ca8(0x10a)]=a77_0x2a2ca8(0x10d),a77_0x1397f5[a77_0x2a2ca8(0x128)]=a77_0x2a2ca8(0x12a),a77_0x1397f5[a77_0x2a2ca8(0x133)]=a77_0x2a2ca8(0xe7),a77_0x1397f5['KEY_TEST_FAILURE']=a77_0x2a2ca8(0x106),a77_0x1397f5[a77_0x2a2ca8(0xe2)]=a77_0x2a2ca8(0x120),a77_0x1397f5[a77_0x2a2ca8(0xfc)]=a77_0x2a2ca8(0x130),a77_0x1397f5[a77_0x2a2ca8(0x10e)]=a77_0x2a2ca8(0x11c),a77_0x1397f5['KEY_TEST_META']=a77_0x2a2ca8(0x117),a77_0x1397f5[a77_0x2a2ca8(0x12e)]=a77_0x2a2ca8(0x12d),a77_0x1397f5['KEY_AUTOMATE_SESSION_NAME']=a77_0x2a2ca8(0x127),a77_0x1397f5['KEY_AUTOMATE_SESSION_STATUS']=a77_0x2a2ca8(0x118),a77_0x1397f5[a77_0x2a2ca8(0x102)]=a77_0x2a2ca8(0x124),a77_0x1397f5[a77_0x2a2ca8(0x123)]=a77_0x2a2ca8(0xe8),a77_0x1397f5['KEY_EVENT_ENDED_AT']=a77_0x2a2ca8(0xf4),a77_0x1397f5[a77_0x2a2ca8(0x111)]=a77_0x2a2ca8(0x126),a77_0x1397f5[a77_0x2a2ca8(0x122)]=a77_0x2a2ca8(0x108),a77_0x1397f5[a77_0x2a2ca8(0xe1)]='hook_failure_type',a77_0x1397f5[a77_0x2a2ca8(0xe4)]=a77_0x2a2ca8(0xeb),a77_0x1397f5[a77_0x2a2ca8(0xe9)]=a77_0x2a2ca8(0x103),a77_0x1397f5['KEY_HOOK_LOGS']=a77_0x2a2ca8(0xf3),a77_0x1397f5[a77_0x2a2ca8(0xed)]='hook_name',a77_0x1397f5['DEFAULT_TEST_RESULT']=a77_0x2a2ca8(0x10f),a77_0x1397f5[a77_0x2a2ca8(0x116)]=a77_0x2a2ca8(0x10f),a77_0x1397f5[a77_0x2a2ca8(0x115)]=a77_0x2a2ca8(0x134),a77_0x1397f5['KIND_LOG']=a77_0x2a2ca8(0x101),a77_0x1397f5['HOOK_REGEX']=a77_0x2a2ca8(0xf7),a77_0x1397f5[a77_0x2a2ca8(0xf1)]=a77_0x2a2ca8(0xff),a77_0x1397f5['KEY_HOOKS_FINISHED']='test_hooks_finished',a77_0x1397f5[a77_0x2a2ca8(0xe6)]='test_hook_last_started',a77_0x1397f5[a77_0x2a2ca8(0x12f)]=a77_0x2a2ca8(0xfe),a77_0x1397f5[a77_0x2a2ca8(0xf9)]=a77_0x2a2ca8(0xee),a77_0x1397f5['KEY_CUSTOM_TAGS']=a77_0x2a2ca8(0xea),a77_0x1397f5[a77_0x2a2ca8(0x121)]=a77_0x2a2ca8(0xfb),a77_0x1397f5['KEY_FILE_SIZE']=a77_0x2a2ca8(0x100),a77_0x1397f5[a77_0x2a2ca8(0xef)]=a77_0x2a2ca8(0x107),a77_0x1397f5['KEY_FILE_PATH']=a77_0x2a2ca8(0x136),a77_0x1397f5[a77_0x2a2ca8(0xec)]=a77_0x2a2ca8(0x11e),a77_0x1397f5['MAX_TOP_LEVEL_STEPS']=0xa,a77_0x1397f5[a77_0x2a2ca8(0x132)]=0x2;const TestFrameworkConstants=a77_0x1397f5;module[a77_0x2a2ca8(0x135)]=TestFrameworkConstants;
@@ -1 +1 @@
1
- const a78_0x81620f=a78_0x1f59;function a78_0x1f59(_0xd8527e,_0x526118){const _0x2e15a9=a78_0x2e15();return a78_0x1f59=function(_0x1f59fb,_0x4c0340){_0x1f59fb=_0x1f59fb-0xd1;let _0x52a348=_0x2e15a9[_0x1f59fb];return _0x52a348;},a78_0x1f59(_0xd8527e,_0x526118);}function a78_0x2e15(){const _0x2b3b08=['WGBrc','getTestFrameworksVersions','failed','meta','KEY_TEST_FILE_PATH','PRE','matchHookRegex','vNvXQ','testFrameworkState','TEST','../../../helpers/classLogger.js','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_FAILURE','GLGVL','OumLD','KEY_EVENT_ENDED_AT','KEY_TEST_CODE','executionContext','1bEQGGF','toISOString','KEY_HOOK_NAME','Uvzfl','Processing\x20','uuid','KEY_TEST_FRAMEWORK_NAME','browserstackPlatformIndex','87fpBLCt','platformIndex','KEY_TEST_RERUN_NAME','69436lDiwAZ','tags','trackCucumberInstance:\x20saved\x20instance\x20contextId=','body','feEEX','get','concat','instance','KEY_TEST_RESULT_AT','KEY_TEST_FRAMEWORK_VERSION','uLDtF','KEY_TEST_TAGS','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','getTestUUID','\x20and\x20args\x20=\x20','addMultipleEntries','setTestDetails','KEY_TEST_FAILURE_TYPE','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KWabf','started_at','JGkFr','10OwnAeq','exports','debug','getCurrentTestState','KEY_HOOK_RESULT','test','Error\x20in\x20createTestFrameworkEventPayload:\x20','hook_type','addPendingHook','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','resolveInstance','KEY_TEST_FAILURE_REASON','util','NIDQL','location','8gljsUx','parseCucumberTest','CucumberTestFramework','KEY_TEST_NAME','createContext','hookData','../TestInfo.js','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','ceil','stringify','\x20pending\x20hooks\x20for\x20testId:\x20','\x20batch\x20','scopes','../instances/testFrameworkInstance.js','KEY_TEST_UUID','KEY_TEST_ATTACHMENTS','from','getContext','aJsUX','name','CbryI','failure_data','finishedAt','POST','CLqxI','trackCucumberInstance','test_run_id','args','processPendingHooks','KEY_HOOKS_FINISHED','199182UooIMU','getTestDetails','./constants/testFrameworkConstants.js','bImid','trackEvent','KEY_CUSTOM_TAGS','split','FUiGc','sendLogCreatedEvent','removePendingHooks','9469026KDrGlA','push','KEY_TEST_ID','parseCucumberTestResult','createTestFrameworkEventPayload','length','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','XlVca','6569783ALySRp','hooks','error','LOG_REPORT','key','HRdSO','inspect','rerun_name','readLogObjects','qryql','KEY_AUTOMATE_SESSION_NAME','code','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','DsRUP','INIT_TEST','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','../instances/trackedInstance.js','result','\x20\x20and\x20args\x20=\x20','Tracked\x20cucumber\x20hook\x20event:\x20','testFrameworkName','KEY_TEST_SCOPE','pop','toString','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','DEFAULT_TEST_RESULT','getTestFrameworks','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','amnSB','\x20&\x20hookState=','getInstance','runHooks','KEY_HOOK_ID',',\x20storing\x20as\x20pending\x20hook','testUUID','KEY_TEST_SCOPES','../../../helpers/helper.js','26667336qZLDof','failure','KEY_TEST_LOCATION','\x20payload=','failure_reason','xfgRt','KEY_HOOKS_STARTED','sendLogCreatedEvent:\x20for\x20testId:\x20','KEY_HOOK_LAST_STARTED','passed','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','\x20with\x20UUID:\x20','KEY_HOOK_FAILURE_REASON','failure_type','KEY_TEST_STARTED_AT','6084654gMZaak','setTrackedInstance','startedAt','Updated\x20cucumber\x20test\x20result:\x20','OnwmJ','getProcessId','trackHookEvent','4497580HagJeY','getThreadId','hookState','KEY_HOOK_LOGS','logCreatedEvent','kewer','../grpcClient','KEY_TEST_RESULT','detgY','tOeRW','\x20&\x20hook\x20=\x20','DEFAULT_HOOK_RESULT','testData','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','storePendingHook','KEY_TEST_META','TIdMz','\x20testState:\x20','\x20with\x20id\x20','getId','getAllData','NONE','trackEvent:\x20unsupported\x20testFrameworkState=','format','KEY_TEST_FAILURE','file_name','UnhandledError','KEY_TEST_ENDED_AT','KEY_HOOK_LAST_FINISHED','\x20with\x20result:\x20','endedAt','7RwogEN','../state/testFrameworkState.js','getPendingHooks','hasPendingHooks','getCurrentInstanceName','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','KEY_HOOK_FAILURE_TYPE','\x20target=','unknown'];a78_0x2e15=function(){return _0x2b3b08;};return a78_0x2e15();}(function(_0x4ae8c1,_0x137442){const _0x2e77a0=a78_0x1f59,_0x22a966=_0x4ae8c1();while(!![]){try{const _0x15caa4=-parseInt(_0x2e77a0(0x1a4))/0x1*(parseInt(_0x2e77a0(0x11d))/0x2)+parseInt(_0x2e77a0(0xd7))/0x3*(parseInt(_0x2e77a0(0xda))/0x4)+parseInt(_0x2e77a0(0x16a))/0x5+parseInt(_0x2e77a0(0x163))/0x6*(parseInt(_0x2e77a0(0x189))/0x7)+parseInt(_0x2e77a0(0xff))/0x8*(parseInt(_0x2e77a0(0x127))/0x9)+-parseInt(_0x2e77a0(0xf0))/0xa*(parseInt(_0x2e77a0(0x12f))/0xb)+-parseInt(_0x2e77a0(0x154))/0xc;if(_0x15caa4===_0x137442)break;else _0x22a966['push'](_0x22a966['shift']());}catch(_0x359b07){_0x22a966['push'](_0x22a966['shift']());}}}(a78_0x2e15,0x8648c));const TestFramework=require('./testFramework'),TestFrameworkState=require(a78_0x81620f(0x18a)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a78_0x81620f(0x19c)),TestFrameworkInstance=require(a78_0x81620f(0x10c)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a78_0x81620f(0x13f)),TestFrameworkConstants=require(a78_0x81620f(0x11f)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a78_0x81620f(0x153)),logger=createClassLogger(a78_0x81620f(0x101)),{v4:uuidv4}=require(a78_0x81620f(0xd4)),util=require(a78_0x81620f(0xfc)),TestInfo=require(a78_0x81620f(0x105)),GrpcClient=require(a78_0x81620f(0x170));class CucumberTestFramework extends TestFramework{constructor(_0x9db69b,_0x7a240b,_0x4b13db){super(_0x9db69b,_0x7a240b,_0x4b13db);}async[a78_0x81620f(0x121)](_0x3a753e,_0x12524c,_0x1d7873={}){const _0x4614bf=a78_0x81620f,_0x364255={};_0x364255[_0x4614bf(0x113)]=_0x4614bf(0x13e),_0x364255['NIDQL']=function(_0x49494c,_0x1e6e4a){return _0x49494c===_0x1e6e4a;},_0x364255[_0x4614bf(0x16f)]=function(_0x184967,_0x3735a6){return _0x184967===_0x3735a6;},_0x364255[_0x4614bf(0x199)]=_0x4614bf(0xf9);const _0x37c4a8=_0x364255;await super[_0x4614bf(0x121)](_0x3a753e,_0x12524c,_0x1d7873);const _0x52c1a8=this[_0x4614bf(0xfa)](_0x3a753e,_0x12524c,_0x1d7873);if(!_0x52c1a8){logger[_0x4614bf(0xf2)](_0x37c4a8[_0x4614bf(0x113)]);return;}try{let _0x244af2,_0x3c4aed;switch(_0x3a753e){case TestFrameworkState[_0x4614bf(0x19b)]:_0x244af2=_0x1d7873[_0x4614bf(0xf5)],_0x3c4aed=TestInfo[_0x4614bf(0xe7)](_0x244af2['id']);if(_0x37c4a8['NIDQL'](_0x12524c,HookState[_0x4614bf(0x197)])){logger['debug'](_0x4614bf(0x147)+_0x244af2['id']);const _0x10e541={};_0x10e541[_0x4614bf(0x151)]=_0x3c4aed,_0x10e541[_0x4614bf(0x176)]=_0x244af2,_0x52c1a8[_0x4614bf(0xe9)](this[_0x4614bf(0x100)](_0x10e541)),logger[_0x4614bf(0xf2)](_0x4614bf(0x177)+_0x244af2['id']),await this[_0x4614bf(0x11b)](_0x52c1a8,_0x244af2['id']);}else{if(_0x37c4a8[_0x4614bf(0xfd)](_0x12524c,HookState['POST'])){const _0x12f45c={};_0x12f45c['testUUID']=_0x3c4aed,_0x12f45c[_0x4614bf(0x176)]=_0x244af2,_0x52c1a8[_0x4614bf(0xe9)](this['parseCucumberTestResult'](_0x12f45c)),await this[_0x4614bf(0x11b)](_0x52c1a8,_0x244af2['id']);}}break;case TestFrameworkState[_0x4614bf(0x132)]:_0x37c4a8[_0x4614bf(0x16f)](_0x12524c,HookState[_0x4614bf(0x116)])&&await this[_0x4614bf(0x125)](_0x52c1a8,_0x3a753e,_0x1d7873);break;default:if(CLIUtils[_0x4614bf(0x198)](_0x3a753e['toString']()[_0x4614bf(0x123)]('.')[0x1])){const _0x11d0fc=await this[_0x4614bf(0x169)](_0x52c1a8,_0x3a753e,_0x12524c,_0x1d7873);_0x52c1a8[_0x4614bf(0xe9)](_0x11d0fc);}else logger[_0x4614bf(0xf2)](_0x4614bf(0x180)+_0x3a753e+_0x4614bf(0x14c)+_0x12524c);break;}}catch(_0x2bae1e){logger[_0x4614bf(0x131)](util[_0x4614bf(0x181)](_0x37c4a8[_0x4614bf(0x199)],_0x3a753e,_0x12524c,_0x1d7873['length'],_0x2bae1e));}_0x1d7873[_0x4614bf(0xe1)]=_0x52c1a8,await this[_0x4614bf(0x14e)](_0x52c1a8,_0x3a753e,_0x12524c,_0x1d7873);}[a78_0x81620f(0xfa)](_0x497e33,_0xfcd55e,_0x2dab3a={}){const _0x36970b=a78_0x81620f,_0x38c7fc={};_0x38c7fc[_0x36970b(0x117)]=function(_0x197885,_0x3da9fc){return _0x197885===_0x3da9fc;};const _0x49a46b=_0x38c7fc;let _0x58a26f=null;return(_0x49a46b[_0x36970b(0x117)](_0x497e33,TestFrameworkState[_0x36970b(0x13d)])||_0x49a46b[_0x36970b(0x117)](_0x497e33,TestFrameworkState['NONE']))&&this['trackCucumberInstance'](_0x497e33,_0x2dab3a),_0x58a26f=TestFramework['getTrackedInstance'](),_0x58a26f;}[a78_0x81620f(0x118)](_0x41e57f,_0x33e017){const _0x2c0608=a78_0x81620f,_0x2f1f33=CLIUtils[_0x2c0608(0x18d)](),_0x1a09aa=TrackedInstance[_0x2c0608(0x103)](_0x2f1f33);let _0x40e420=null;logger[_0x2c0608(0xf2)](_0x2c0608(0x106)+_0x2f1f33+',\x20state='+_0x41e57f),_0x40e420=new TestFrameworkInstance(_0x1a09aa,this[_0x2c0608(0x149)](),this[_0x2c0608(0x193)](),_0x41e57f,HookState[_0x2c0608(0x17f)]),TestFramework[_0x2c0608(0x164)](_0x1a09aa,_0x40e420),logger[_0x2c0608(0xf2)](_0x2c0608(0xdc)+_0x1a09aa[_0x2c0608(0x17d)]()+_0x2c0608(0x190)+_0x2f1f33);}['parseCucumberTest'](_0x49dc11){const _0x15bca9=a78_0x81620f,_0x4cf05f={};_0x4cf05f['feEEX']=_0x15bca9(0x18e);const _0x5ba9fb=_0x4cf05f,{testUUID:_0xb16fe0,testData:_0x3eab5a}=_0x49dc11;if(!_0x3eab5a||!_0x3eab5a[_0x15bca9(0xd4)])return logger[_0x15bca9(0xf2)](_0x5ba9fb[_0x15bca9(0xde)]),{};const _0x117b6b=_0xb16fe0,_0x26d475=_0x3eab5a[_0x15bca9(0xd4)],_0x17ad36=this[_0x15bca9(0x149)]()[0x0],_0x2b78af=this['getTestFrameworksVersions'](),_0x6e51d7={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x17ad36,[TestFrameworkConstants[_0x15bca9(0xe3)]]:_0x2b78af[_0x17ad36],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x15bca9(0x11c)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x15bca9(0x10d)]]:_0x117b6b,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x15bca9(0x148)],[TestFrameworkConstants[_0x15bca9(0x139)]]:_0x3eab5a[_0x15bca9(0x112)]||'',[TestFrameworkConstants[_0x15bca9(0x196)]]:_0x3eab5a[_0x15bca9(0x183)]||'',[TestFrameworkConstants[_0x15bca9(0x129)]]:_0x26d475,[TestFrameworkConstants[_0x15bca9(0x102)]]:_0x3eab5a[_0x15bca9(0x112)]||'',[TestFrameworkConstants[_0x15bca9(0x156)]]:_0x3eab5a[_0x15bca9(0xfe)]||'',[TestFrameworkConstants[_0x15bca9(0x1a2)]]:_0x3eab5a[_0x15bca9(0xdd)]?.[_0x15bca9(0x13a)]||null,[TestFrameworkConstants[_0x15bca9(0xe5)]]:_0x3eab5a[_0x15bca9(0xdb)]||[],[TestFrameworkConstants[_0x15bca9(0x162)]]:_0x3eab5a[_0x15bca9(0x165)]||new Date()[_0x15bca9(0x1a5)](),[TestFrameworkConstants[_0x15bca9(0x144)]]:_0x3eab5a[_0x15bca9(0x10b)]?.[0x0]||'',[TestFrameworkConstants[_0x15bca9(0x152)]]:_0x3eab5a['scopes']||[],[TestFrameworkConstants[_0x15bca9(0xd9)]]:_0x3eab5a['customRerunParam']?.[_0x15bca9(0x136)]||_0x3eab5a[_0x15bca9(0x112)]||'',[TestFrameworkConstants[_0x15bca9(0x122)]]:{},[TestFrameworkConstants[_0x15bca9(0x179)]]:_0x3eab5a[_0x15bca9(0x195)]||{}};TestInfo[_0x15bca9(0xea)](_0x26d475,_0x6e51d7),logger['debug']('Parsed\x20cucumber\x20test:\x20'+_0x3eab5a[_0x15bca9(0x112)]+_0x15bca9(0x15f)+_0x117b6b);const _0x3c97c5={};return _0x3c97c5[_0x26d475]=_0x6e51d7,_0x3c97c5;}[a78_0x81620f(0x12a)](_0x1feba1){const _0x8ccfd4=a78_0x81620f,_0x5623a3={'smDFq':'No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','jvBZc':_0x8ccfd4(0x191),'xfgRt':function(_0x420c3b,_0x455fbd){return _0x420c3b===_0x455fbd;},'TIdMz':_0x8ccfd4(0x194),'GLGVL':_0x8ccfd4(0x184),'detgY':function(_0x2d4bf7,_0x4f0f6c,_0x595efc){return _0x2d4bf7(_0x4f0f6c,_0x595efc);},'bImid':function(_0x4a1ae6,_0x193b39){return _0x4a1ae6>_0x193b39;},'CYheL':function(_0x306454,_0x4ce46a){return _0x306454>_0x4ce46a;}},{testUUID:_0x418a0e,testData:_0x3fe42e}=_0x1feba1;if(!_0x3fe42e||!_0x3fe42e['uuid'])return logger[_0x8ccfd4(0xf2)](_0x5623a3['smDFq']),{};const _0x17ed64=this[_0x8ccfd4(0xfa)](TestFrameworkState['TEST'],HookState[_0x8ccfd4(0x116)]),_0x230e17=_0x3fe42e[_0x8ccfd4(0xd4)],_0x444575=TestInfo[_0x8ccfd4(0x11e)](_0x230e17)||{},_0x390a70=_0x444575?_0x444575[TestFrameworkConstants[_0x8ccfd4(0x122)]]||{}:{},_0x554a1c={..._0x444575,[TestFrameworkConstants[_0x8ccfd4(0x171)]]:_0x3fe42e[_0x8ccfd4(0x140)]||_0x5623a3['jvBZc'],[TestFrameworkConstants[_0x8ccfd4(0x185)]]:_0x3fe42e[_0x8ccfd4(0x115)]||new Date()[_0x8ccfd4(0x1a5)](),[TestFrameworkConstants[_0x8ccfd4(0xe2)]]:new Date()[_0x8ccfd4(0x1a5)](),[TestFrameworkConstants[_0x8ccfd4(0x122)]]:_0x390a70,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x8ccfd4(0x179)]]:_0x3fe42e[_0x8ccfd4(0x195)]||{}};_0x5623a3[_0x8ccfd4(0x159)](_0x3fe42e[_0x8ccfd4(0x140)],_0x5623a3[_0x8ccfd4(0x17a)])&&_0x3fe42e['failure']&&(_0x554a1c[TestFrameworkConstants[_0x8ccfd4(0xeb)]]=_0x3fe42e['failure_type']||_0x5623a3[_0x8ccfd4(0x19f)],_0x554a1c[TestFrameworkConstants[_0x8ccfd4(0xfb)]]=_0x3fe42e[_0x8ccfd4(0x158)]||'',_0x554a1c[TestFrameworkConstants[_0x8ccfd4(0x182)]]=_0x3fe42e[_0x8ccfd4(0x155)]);const _0x1fa19b=TestInfo[_0x8ccfd4(0x11e)](_0x230e17)[TestFrameworkConstants[_0x8ccfd4(0x10e)]]||{},_0x3c0f21=_0x5623a3[_0x8ccfd4(0x172)](getManualUploadLogs,_0x1fa19b,_0x17ed64['getAllData']()[_0x8ccfd4(0xdf)](_0x230e17)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x5623a3[_0x8ccfd4(0x120)](_0x3c0f21['length'],0x0)){const _0x398eb6=_0x554a1c[TestFrameworkConstants['KEY_LOGS']]||[];_0x554a1c[TestFrameworkConstants['KEY_LOGS']]=[..._0x398eb6,..._0x3c0f21];}_0x3fe42e['hooks']&&_0x5623a3['CYheL'](_0x3fe42e['hooks'][_0x8ccfd4(0x12c)],0x0)&&(_0x554a1c[TestFrameworkConstants[_0x8ccfd4(0x11c)]]=_0x3fe42e[_0x8ccfd4(0x130)]);TestInfo[_0x8ccfd4(0xea)](_0x230e17,_0x554a1c),logger[_0x8ccfd4(0xf2)](_0x8ccfd4(0x166)+_0x3fe42e[_0x8ccfd4(0x112)]+_0x8ccfd4(0x187)+_0x3fe42e['result']);const _0x506dfd={};return _0x506dfd[_0x230e17]=_0x554a1c,_0x506dfd;}async['trackHookEvent'](_0x49b91a,_0x7ab408,_0x527f7f,_0xc36319){const _0x56f5c0=a78_0x81620f,_0x4d60a1={'tOeRW':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','KWabf':function(_0x24b153){return _0x24b153();},'OnwmJ':function(_0x1f238a,_0x381bbf){return _0x1f238a in _0x381bbf;},'WGBrc':function(_0x241e14,_0x124ef4){return _0x241e14===_0x124ef4;},'FUiGc':function(_0x5c576e,_0x3b71ae){return _0x5c576e===_0x3b71ae;},'nSthB':function(_0x326598,_0x1b265b){return _0x326598>_0x1b265b;},'qryql':_0x56f5c0(0x194),'DsRUP':_0x56f5c0(0x184),'xHEIo':_0x56f5c0(0x15d),'BCNfT':function(_0x39d83a,_0x3ac870){return _0x39d83a!==_0x3ac870;}},{hookData:_0x1d39fe}=_0xc36319;if(!_0x1d39fe)return logger[_0x56f5c0(0xf2)](_0x4d60a1[_0x56f5c0(0x173)]),{};const _0x231879=_0x1d39fe[_0x56f5c0(0xd4)]||_0x4d60a1[_0x56f5c0(0xed)](uuidv4),_0x758aee=_0x1d39fe[_0x56f5c0(0x119)],_0x40b374=_0x7ab408['toString']()[_0x56f5c0(0x123)]('.')[0x1],_0x5bfc03=TestInfo[_0x56f5c0(0x11e)](_0x758aee)[TestFrameworkConstants[_0x56f5c0(0x122)]]||{},_0x24679f=_0x49b91a[_0x56f5c0(0x17e)]()[_0x56f5c0(0xdf)](_0x758aee);if(!_0x24679f)return logger[_0x56f5c0(0xf2)](_0x56f5c0(0xec)+_0x758aee+_0x56f5c0(0x150)),this[_0x56f5c0(0x178)](_0x49b91a,_0x758aee,_0x7ab408,_0x527f7f,_0xc36319),{};let _0x4fb213=_0x24679f[TestFrameworkConstants[_0x56f5c0(0x15a)]];!_0x4fb213&&(_0x4fb213={});!_0x4d60a1[_0x56f5c0(0x167)](_0x40b374,_0x4fb213)&&(_0x4fb213[_0x40b374]=[]);let _0x5b13b9=_0x24679f[TestFrameworkConstants[_0x56f5c0(0x11c)]];!_0x5b13b9&&(_0x5b13b9={});!_0x4d60a1[_0x56f5c0(0x167)](_0x40b374,_0x5b13b9)&&(_0x5b13b9[_0x40b374]=[]);const _0x240697={[TestFrameworkConstants[_0x56f5c0(0x15a)]]:_0x4fb213,[TestFrameworkConstants[_0x56f5c0(0x11c)]]:_0x5b13b9},_0x4f8c23={};_0x4f8c23[_0x758aee]=_0x240697;const _0x4e113e=_0x4f8c23;if(_0x4d60a1[_0x56f5c0(0x192)](_0x527f7f,HookState[_0x56f5c0(0x197)])){const _0x1c08fb={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x231879,[TestFrameworkConstants[_0x56f5c0(0xf4)]]:TestFrameworkConstants[_0x56f5c0(0x175)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x1d39fe[_0x56f5c0(0xee)],[TestFrameworkConstants[_0x56f5c0(0x16d)]]:[],[TestFrameworkConstants[_0x56f5c0(0xd1)]]:_0x1d39fe[_0x56f5c0(0xf7)],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x5bfc03};_0x1c08fb[_0x56f5c0(0x133)]=_0x40b374;const _0x505185=_0x1c08fb;_0x4fb213[_0x40b374][_0x56f5c0(0x128)](_0x505185),_0x4e113e[_0x758aee][TestFrameworkConstants[_0x56f5c0(0x15c)]]=_0x40b374,logger[_0x56f5c0(0xf2)](_0x56f5c0(0xe6)+_0x40b374+_0x56f5c0(0x174)+_0x505185+_0x56f5c0(0x141)+_0xc36319);}else{if(_0x4d60a1[_0x56f5c0(0x124)](_0x527f7f,HookState[_0x56f5c0(0x116)])){const _0x1ae329=_0x1d39fe['result'],_0x4891de=_0x4fb213[_0x40b374]||[];logger[_0x56f5c0(0xf2)](_0x56f5c0(0x13b)+_0x4891de+_0x56f5c0(0xe8)+_0xc36319);if(_0x4d60a1['nSthB'](_0x4891de[_0x56f5c0(0x12c)],0x0)){const _0x42b47b=_0x4891de[_0x56f5c0(0x145)]();_0x4d60a1[_0x56f5c0(0x124)](_0x1d39fe[_0x56f5c0(0x140)],_0x4d60a1[_0x56f5c0(0x138)])&&_0x1d39fe[_0x56f5c0(0x114)]?(_0x42b47b[TestFrameworkConstants[_0x56f5c0(0x18f)]]=_0x1d39fe[_0x56f5c0(0x161)]||_0x4d60a1[_0x56f5c0(0x13c)],_0x42b47b[TestFrameworkConstants[_0x56f5c0(0x160)]]=_0x1d39fe[_0x56f5c0(0x158)]||'',_0x42b47b[TestFrameworkConstants[_0x56f5c0(0x19e)]]=_0x1d39fe['failure_data']):_0x42b47b[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4d60a1['xHEIo'];_0x4d60a1['BCNfT'](_0x1ae329,TestFrameworkConstants[_0x56f5c0(0x175)])&&(_0x42b47b[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1ae329);_0x42b47b[TestFrameworkConstants[_0x56f5c0(0x1a1)]]=_0x1d39fe['finished_at']||new Date()['toISOString'](),_0x42b47b[TestFrameworkConstants[_0x56f5c0(0x122)]]=_0x5bfc03;const _0x2ab827=_0x42b47b[TestFrameworkConstants[_0x56f5c0(0x14f)]];!_0x5b13b9[_0x40b374]&&(_0x5b13b9[_0x40b374]=[]),_0x5b13b9[_0x40b374]['push'](_0x42b47b),_0x4e113e[_0x758aee][TestFrameworkConstants[_0x56f5c0(0x186)]]=_0x40b374;}}}return logger[_0x56f5c0(0xf2)](_0x56f5c0(0x142)+_0x1d39fe[_0x56f5c0(0xf7)]+_0x56f5c0(0x17c)+_0x231879+'\x20for\x20test:\x20'+_0x758aee),_0x4e113e;}[a78_0x81620f(0x12b)](_0x39e583){const _0x9140e2=a78_0x81620f,_0x4bcfc2={};_0x4bcfc2[_0x9140e2(0xe4)]='base64';const _0x42055d=_0x4bcfc2;try{const _0x4acaed=_0x39e583['test']?_0x39e583[_0x9140e2(0xf5)]['id']:_0x39e583[_0x9140e2(0x104)][_0x9140e2(0x119)],_0x7c88d8=_0x39e583[_0x9140e2(0xe1)],_0x1b2293=_0x7c88d8[_0x9140e2(0x110)](),_0xace466=_0x7c88d8[_0x9140e2(0x17e)]()[_0x9140e2(0xdf)](_0x4acaed);if(!_0xace466)return logger[_0x9140e2(0xf2)](_0x9140e2(0x12d)+_0x4acaed),{};logger['debug']('createTestFrameworkEventPayload\x20testId:\x20'+_0x4acaed);const {[TestFrameworkConstants[_0x9140e2(0xd5)]]:_0x36ae7d='',[TestFrameworkConstants[_0x9140e2(0xe3)]]:_0x4f9dd4='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1bb137='',[TestFrameworkConstants[_0x9140e2(0x185)]]:_0x56db26=''}=_0xace466,_0xc776ec=_0x7c88d8[_0x9140e2(0xf3)]()['toString']()[_0x9140e2(0x123)]('.')[0x1],_0x156ee6=_0x7c88d8['getCurrentHookState']()[_0x9140e2(0x146)]()[_0x9140e2(0x123)]('.')[0x1],_0x1c75e1=global?.[_0x9140e2(0xd6)]??0x0,_0x4e00c4=_0x7c88d8['getRef'](),_0x3616e8=Buffer[_0x9140e2(0x10f)](JSON[_0x9140e2(0x108)](_0xace466))[_0x9140e2(0x146)](_0x42055d[_0x9140e2(0xe4)]),_0x404e19={'hash':_0x1b2293[_0x9140e2(0x17d)](),'threadId':_0x1b2293[_0x9140e2(0x16b)]()[_0x9140e2(0x146)](),'processId':_0x1b2293[_0x9140e2(0x168)]()[_0x9140e2(0x146)]()},_0x287b1c={};_0x287b1c[_0x9140e2(0xd8)]=_0x1c75e1,_0x287b1c[_0x9140e2(0x143)]=_0x36ae7d,_0x287b1c['testFrameworkVersion']=_0x4f9dd4,_0x287b1c[_0x9140e2(0x19a)]=_0xc776ec,_0x287b1c['hookState']=_0x156ee6,_0x287b1c[_0x9140e2(0x165)]=_0x1bb137,_0x287b1c[_0x9140e2(0x188)]=_0x56db26,_0x287b1c['uuid']=_0x4e00c4,_0x287b1c['eventJson']=_0x3616e8,_0x287b1c[_0x9140e2(0x1a3)]=_0x404e19;const _0x7c543c=_0x287b1c;return logger[_0x9140e2(0xf2)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x4acaed+_0x9140e2(0x17b)+_0xc776ec+'\x20hookState:\x20'+_0x156ee6),_0x7c543c;}catch(_0x149302){return logger[_0x9140e2(0x131)](_0x9140e2(0xf6)+util[_0x9140e2(0x181)](_0x149302)),{};}}async[a78_0x81620f(0x125)](_0x783e6f,_0x2fcba3,_0x46607c){const _0x2537c5=a78_0x81620f,_0x59c944={'XlVca':function(_0xa2fb6a,_0x5bf071,_0x53c11b){return _0xa2fb6a(_0x5bf071,_0x53c11b);},'JGkFr':function(_0x225b03,_0x373a24){return _0x225b03===_0x373a24;},'JCbOZ':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','aJsUX':function(_0x1bc6da,_0x589034){return _0x1bc6da/_0x589034;},'Uvzfl':function(_0x30a94f,_0x2c5e97){return _0x30a94f<_0x2c5e97;},'FXWaE':function(_0x236d9f,_0x48041a){return _0x236d9f*_0x48041a;},'HRdSO':function(_0x2aec89,_0x4644ad){return _0x2aec89+_0x4644ad;},'Bsnma':function(_0x258573,_0x388588){return _0x258573+_0x388588;},'OumLD':'Cucumber\x20log\x20created\x20event'};try{const _0x3f5830=_0x46607c[_0x2537c5(0x151)],_0x2d82e7=_0x783e6f['getAllData']()[_0x2537c5(0xdf)](_0x3f5830),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x58743f='',[TestFrameworkConstants[_0x2537c5(0xe3)]]:_0x527117=''}=_0x2d82e7,_0x4e7d0c=TestInfo[_0x2537c5(0x137)](_0x3f5830),_0x59b1a7=TestInfo[_0x2537c5(0x11e)](_0x3f5830)[TestFrameworkConstants[_0x2537c5(0x10e)]]||{},_0x129608=_0x59c944[_0x2537c5(0x12e)](getMediaArtifactsLogs,_0x59b1a7,_0x783e6f[_0x2537c5(0x17e)]()[_0x2537c5(0xdf)](_0x3f5830)[TestFrameworkConstants[_0x2537c5(0x10d)]]),_0x3cb1c7=(_0x4e7d0c||[])[_0x2537c5(0xe0)](_0x129608||[]);if(!_0x3cb1c7||_0x59c944[_0x2537c5(0xef)](_0x3cb1c7[_0x2537c5(0x12c)],0x0)){logger[_0x2537c5(0xf2)](_0x59c944['JCbOZ']);return;}const _0x2ae1ee=0x28,_0x263192=Math[_0x2537c5(0x107)](_0x59c944[_0x2537c5(0x111)](_0x3cb1c7[_0x2537c5(0x12c)],_0x2ae1ee));for(let _0x48224d=0x0;_0x59c944[_0x2537c5(0xd2)](_0x48224d,_0x263192);_0x48224d++){const _0x1cd9aa=_0x59c944['FXWaE'](_0x48224d,_0x2ae1ee),_0x50c6ef=_0x59c944['HRdSO'](_0x1cd9aa,_0x2ae1ee),_0x40bb15=_0x3cb1c7['slice'](_0x1cd9aa,_0x50c6ef),_0x552ca8={'platformIndex':global?.[_0x2537c5(0xd6)]??0x0,'logs':_0x40bb15,'testFrameworkName':_0x58743f,'testFrameworkVersion':_0x527117,'testFrameworkState':_0x2fcba3['toString']()['split']('.')[0x1]};logger[_0x2537c5(0xf2)](_0x2537c5(0x15b)+_0x3f5830+_0x2537c5(0x10a)+_0x59c944[_0x2537c5(0x134)](_0x48224d,0x1)+'/'+_0x263192+_0x2537c5(0x157)+util[_0x2537c5(0x135)](_0x552ca8));const _0x15e72c=await GrpcClient[_0x2537c5(0x14d)]()[_0x2537c5(0x16e)](_0x552ca8);logger['debug'](_0x2537c5(0x15b)+_0x3f5830+_0x2537c5(0x10a)+_0x59c944['Bsnma'](_0x48224d,0x1)+'/'+_0x263192+'\x20response='+util[_0x2537c5(0x135)](_0x15e72c));}}catch(_0x32e1b5){logger[_0x2537c5(0x131)]('sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20'+util[_0x2537c5(0x181)](_0x32e1b5));}logger[_0x2537c5(0xf2)](_0x59c944[_0x2537c5(0x1a0)]);}[a78_0x81620f(0x178)](_0x2ce7f6,_0x407fee,_0x6a21e4,_0x2d37ed,_0x123176){const _0x577073=a78_0x81620f,_0x2ac222={'testId':_0x407fee,'testFrameworkState':_0x6a21e4,'hookState':_0x2d37ed,'args':_0x123176,'timestamp':new Date()['toISOString']()};_0x2ce7f6[_0x577073(0xf8)](_0x407fee,_0x2ac222),logger[_0x577073(0xf2)](_0x577073(0x19d)+_0x407fee+',\x20state:\x20'+_0x6a21e4+',\x20hookState:\x20'+_0x2d37ed);}async[a78_0x81620f(0x11b)](_0x22ae99,_0x289c14){const _0x2ef784=a78_0x81620f,_0x200cb5={};_0x200cb5[_0x2ef784(0x14b)]=function(_0x3d33b7,_0xc8b8ff){return _0x3d33b7>_0xc8b8ff;};const _0x79615a=_0x200cb5;if(!_0x22ae99[_0x2ef784(0x18c)](_0x289c14))return;const _0x599ef5=_0x22ae99[_0x2ef784(0x18b)](_0x289c14);logger[_0x2ef784(0xf2)](_0x2ef784(0xd3)+_0x599ef5[_0x2ef784(0x12c)]+_0x2ef784(0x109)+_0x289c14);for(const _0x81e5dc of _0x599ef5){try{const _0x122413=await this[_0x2ef784(0x169)](_0x22ae99,_0x81e5dc['testFrameworkState'],_0x81e5dc[_0x2ef784(0x16c)],_0x81e5dc[_0x2ef784(0x11a)]);_0x122413&&_0x79615a['amnSB'](Object['keys'](_0x122413)[_0x2ef784(0x12c)],0x0)&&_0x22ae99['addMultipleEntries'](_0x122413),await this[_0x2ef784(0x14e)](_0x22ae99,_0x81e5dc[_0x2ef784(0x19a)],_0x81e5dc[_0x2ef784(0x16c)],_0x81e5dc[_0x2ef784(0x11a)]);}catch(_0x655e6d){logger[_0x2ef784(0x131)](_0x2ef784(0x14a)+_0x289c14+',\x20error:\x20'+_0x655e6d);}}_0x22ae99[_0x2ef784(0x126)](_0x289c14),logger[_0x2ef784(0xf2)](_0x2ef784(0x15e)+_0x289c14);}}module[a78_0x81620f(0xf1)]=CucumberTestFramework;
1
+ const a78_0x5ec0d6=a78_0xefcf;function a78_0x23f1(){const _0x267762=['\x20for\x20test:\x20','KEY_TEST_STARTED_AT','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','addPendingHook','KEY_HOOK_LAST_FINISHED','storePendingHook','failure_data','testUUID','createContext','KEY_HOOK_LAST_STARTED','failure_reason','../grpcClient','KEY_TEST_LOCATION','TEST','../instances/trackedInstance.js','getTrackedInstance','KEY_TEST_FILE_PATH','NONE','getId','ANqGC','Tracked\x20cucumber\x20hook\x20event:\x20','KEY_HOOKS_STARTED','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','stringify','instance','hooks','KEY_CUSTOM_TAGS','name','platformIndex','KEY_EVENT_STARTED_AT','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','lcaYM','pdybn','../cliUtils.js','\x20&\x20hookState=','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','phAaW','pop','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','test_run_id','getAllData','Updated\x20cucumber\x20test\x20result:\x20','testFrameworkVersion','push','XjsIp','MALPd','KEY_HOOK_ID','getTestFrameworks','getContext','OyeRz','10MqiCUa','hook_type','KEY_HOOKS_FINISHED','UnhandledError','vsFRS','executionContext','qwyyN','debug','getCurrentTestState','750681QlJQcZ','startedAt','rerun_name','KEY_TEST_ID','LOG_REPORT','UjxTv','Processing\x20','1367482acVsJL','wlRAO','meta','KEY_AUTOMATE_SESSION_NAME','1960475ZPrcsH','CucumberTestFramework','INIT_TEST','blgJy','sendLogCreatedEvent:\x20for\x20testId:\x20','key','getTestFrameworksVersions','toString','result','KEY_TEST_FAILURE_REASON','KEY_TEST_RESULT','SLUoI','OKwkb','testFrameworkName','9wxUITm','Parsed\x20cucumber\x20test:\x20','concat','\x20payload=','trackCucumberInstance:\x20saved\x20instance\x20contextId=','from','KEY_HOOK_FAILURE_REASON','getThreadId','getInstance','inspect','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','\x20with\x20id\x20','eWpyY','split','GYMbH','readLogObjects','exports','createTestFrameworkEventPayload\x20testId:\x20','util','getCurrentHookState','processPendingHooks','KEY_TEST_ATTACHMENTS','3759475LTRCAO','test','1068752bRPmYs','\x20batch\x20','DEFAULT_HOOK_RESULT','jBncq','./constants/testFrameworkConstants.js','../TestInfo.js','\x20testState:\x20','trackEvent:\x20unsupported\x20testFrameworkState=','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','matchHookRegex','\x20and\x20args\x20=\x20','browserstackPlatformIndex','TEtEZ','hgKxg','../../../helpers/classLogger.js','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','keys','SrOFJ','passed','HTkhf','VNfPL','KEY_TEST_FAILURE','scopes','resolveInstance','createTestFrameworkEventPayload','KEY_TEST_FRAMEWORK_NAME','parseCucumberTestResult','tags','aqkqY','args','trackCucumberInstance','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','KEY_TEST_LOGS','\x20response=','KEY_TEST_NAME','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','POST','length','KEY_EVENT_ENDED_AT','ceil','format','KEY_HOOK_FAILURE',',\x20hookState:\x20','KEY_TEST_FAILURE_TYPE','hasPendingHooks','fmLwu','testData','eventJson','failure','KEY_HOOK_FAILURE_TYPE','get','hookState','PRE','trackHookEvent','1488714ebPGrv','sendLogCreatedEvent','\x20target=','started_at','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',',\x20storing\x20as\x20pending\x20hook','772540shUsGT','slice','KEY_HOOK_RESULT','\x20with\x20result:\x20','KEY_TEST_UUID',',\x20state:\x20','CKaGe','KSBmU','\x20hookState:\x20','\x20\x20and\x20args\x20=\x20','setTestDetails','../state/hookState.js','7dLVsFp','endedAt','vZQoo','KEY_LOGS','toISOString','oXgmX','parseCucumberTest','3MTMkIV','addMultipleEntries','KEY_HOOK_LOGS','logCreatedEvent','testFrameworkState','failure_type','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','unknown','hookData','uuid','getTestDetails','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_TEST_TAGS','KEY_TEST_FRAMEWORK_VERSION',',\x20error:\x20','trackEvent','\x20pending\x20hooks\x20for\x20testId:\x20','runHooks','KEY_TEST_CODE','removePendingHooks','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','wIslX','error'];a78_0x23f1=function(){return _0x267762;};return a78_0x23f1();}(function(_0x3a452d,_0x571d7d){const _0x37cb3d=a78_0xefcf,_0x49d85c=_0x3a452d();while(!![]){try{const _0x3eb132=parseInt(_0x37cb3d(0x208))/0x1+parseInt(_0x37cb3d(0x20f))/0x2*(parseInt(_0x37cb3d(0x1b6))/0x3)+-parseInt(_0x37cb3d(0x1a3))/0x4+-parseInt(_0x37cb3d(0x237))/0x5+parseInt(_0x37cb3d(0x19d))/0x6*(-parseInt(_0x37cb3d(0x1af))/0x7)+parseInt(_0x37cb3d(0x239))/0x8*(parseInt(_0x37cb3d(0x221))/0x9)+-parseInt(_0x37cb3d(0x1ff))/0xa*(-parseInt(_0x37cb3d(0x213))/0xb);if(_0x3eb132===_0x571d7d)break;else _0x49d85c['push'](_0x49d85c['shift']());}catch(_0x379ecb){_0x49d85c['push'](_0x49d85c['shift']());}}}(a78_0x23f1,0x87084));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a78_0x5ec0d6(0x1ae)),{createClassLogger}=require(a78_0x5ec0d6(0x247)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a78_0x5ec0d6(0x1ee)),TrackedInstance=require(a78_0x5ec0d6(0x1db)),TestFrameworkConstants=require(a78_0x5ec0d6(0x23d)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a78_0x5ec0d6(0x214)),{v4:uuidv4}=require(a78_0x5ec0d6(0x1bf)),util=require(a78_0x5ec0d6(0x233)),TestInfo=require(a78_0x5ec0d6(0x23e)),GrpcClient=require(a78_0x5ec0d6(0x1d8));function a78_0xefcf(_0x3ac443,_0x4f561f){const _0x23f17e=a78_0x23f1();return a78_0xefcf=function(_0xefcff8,_0x5ea494){_0xefcff8=_0xefcff8-0x188;let _0x1c9920=_0x23f17e[_0xefcff8];return _0x1c9920;},a78_0xefcf(_0x3ac443,_0x4f561f);}class CucumberTestFramework extends TestFramework{constructor(_0x149f27,_0x1f01be,_0x54a037){super(_0x149f27,_0x1f01be,_0x54a037);}async['trackEvent'](_0x44846c,_0xb76707,_0x23f865={}){const _0x389061=a78_0x5ec0d6,_0x2bebd9={};_0x2bebd9[_0x389061(0x1a9)]=_0x389061(0x1a1),_0x2bebd9[_0x389061(0x1ec)]=function(_0x46e09c,_0x2b7ae3){return _0x46e09c===_0x2b7ae3;},_0x2bebd9[_0x389061(0x24a)]=_0x389061(0x1eb);const _0x311a5a=_0x2bebd9;await super[_0x389061(0x1c5)](_0x44846c,_0xb76707,_0x23f865);const _0x3eb711=this['resolveInstance'](_0x44846c,_0xb76707,_0x23f865);if(!_0x3eb711){logger[_0x389061(0x206)](_0x311a5a[_0x389061(0x1a9)]);return;}try{let _0x1b4dfb,_0x34df67;switch(_0x44846c){case TestFrameworkState[_0x389061(0x1da)]:_0x1b4dfb=_0x23f865[_0x389061(0x238)],_0x34df67=TestInfo['getTestUUID'](_0x1b4dfb['id']);if(_0x311a5a[_0x389061(0x1ec)](_0xb76707,HookState[_0x389061(0x19b)])){logger[_0x389061(0x206)](_0x389061(0x1f0)+_0x1b4dfb['id']);const _0x40ea7e={};_0x40ea7e[_0x389061(0x1d4)]=_0x34df67,_0x40ea7e[_0x389061(0x195)]=_0x1b4dfb,_0x3eb711[_0x389061(0x1b7)](this[_0x389061(0x1b5)](_0x40ea7e)),logger[_0x389061(0x206)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x1b4dfb['id']),await this[_0x389061(0x235)](_0x3eb711,_0x1b4dfb['id']);}else{if(_0x311a5a[_0x389061(0x1ec)](_0xb76707,HookState[_0x389061(0x18b)])){const _0x1abcca={};_0x1abcca[_0x389061(0x1d4)]=_0x34df67,_0x1abcca[_0x389061(0x195)]=_0x1b4dfb,_0x3eb711[_0x389061(0x1b7)](this['parseCucumberTestResult'](_0x1abcca)),await this[_0x389061(0x235)](_0x3eb711,_0x1b4dfb['id']);}}break;case TestFrameworkState[_0x389061(0x20c)]:_0x311a5a[_0x389061(0x1ec)](_0xb76707,HookState[_0x389061(0x18b)])&&await this['sendLogCreatedEvent'](_0x3eb711,_0x44846c,_0x23f865);break;default:if(CLIUtils[_0x389061(0x242)](_0x44846c[_0x389061(0x21a)]()[_0x389061(0x22e)]('.')[0x1])){const _0x2a5892=await this[_0x389061(0x19c)](_0x3eb711,_0x44846c,_0xb76707,_0x23f865);_0x3eb711['addMultipleEntries'](_0x2a5892);}else logger[_0x389061(0x206)](_0x389061(0x240)+_0x44846c+_0x389061(0x1ef)+_0xb76707);break;}}catch(_0x25fc90){logger['error'](util['format'](_0x311a5a[_0x389061(0x24a)],_0x44846c,_0xb76707,_0x23f865[_0x389061(0x18c)],_0x25fc90));}_0x23f865[_0x389061(0x1e5)]=_0x3eb711,await this[_0x389061(0x1c7)](_0x3eb711,_0x44846c,_0xb76707,_0x23f865);}['resolveInstance'](_0x34f055,_0x1ee5b8,_0x196515={}){const _0x55a3d2=a78_0x5ec0d6,_0x5ebac9={};_0x5ebac9[_0x55a3d2(0x210)]=function(_0x38986f,_0x11d0f2){return _0x38986f===_0x11d0f2;},_0x5ebac9['eWpyY']=function(_0x464e96,_0x74aac4){return _0x464e96===_0x74aac4;};const _0x5995cd=_0x5ebac9;let _0x4095ca=null;return(_0x5995cd[_0x55a3d2(0x210)](_0x34f055,TestFrameworkState[_0x55a3d2(0x215)])||_0x5995cd[_0x55a3d2(0x22d)](_0x34f055,TestFrameworkState[_0x55a3d2(0x1de)]))&&this[_0x55a3d2(0x257)](_0x34f055,_0x196515),_0x4095ca=TestFramework[_0x55a3d2(0x1dc)](),_0x4095ca;}['trackCucumberInstance'](_0x127463,_0x369605){const _0xd13113=a78_0x5ec0d6,_0x11f676=CLIUtils['getCurrentInstanceName'](),_0x3a3591=TrackedInstance[_0xd13113(0x1d5)](_0x11f676);let _0x557fce=null;logger['debug']('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x11f676+',\x20state='+_0x127463),_0x557fce=new TestFrameworkInstance(_0x3a3591,this[_0xd13113(0x1fc)](),this['getTestFrameworksVersions'](),_0x127463,HookState[_0xd13113(0x1de)]),TestFramework['setTrackedInstance'](_0x3a3591,_0x557fce),logger['debug'](_0xd13113(0x225)+_0x3a3591[_0xd13113(0x1df)]()+_0xd13113(0x19f)+_0x11f676);}[a78_0x5ec0d6(0x1b5)](_0x429ff7){const _0x2ee53d=a78_0x5ec0d6,_0x29c043={};_0x29c043[_0x2ee53d(0x205)]=_0x2ee53d(0x1e3);const _0x5a3e31=_0x29c043,{testUUID:_0x2ce78a,testData:_0x4fa280}=_0x429ff7;if(!_0x4fa280||!_0x4fa280[_0x2ee53d(0x1bf)])return logger[_0x2ee53d(0x206)](_0x5a3e31[_0x2ee53d(0x205)]),{};const _0x439e97=_0x2ce78a,_0x31261f=_0x4fa280[_0x2ee53d(0x1bf)],_0x44a092=this[_0x2ee53d(0x1fc)]()[0x0],_0x2e6c72=this[_0x2ee53d(0x219)](),_0x31e9fd={[TestFrameworkConstants[_0x2ee53d(0x252)]]:_0x44a092,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2e6c72[_0x44a092],[TestFrameworkConstants[_0x2ee53d(0x25a)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x2ee53d(0x1e2)]]:{},[TestFrameworkConstants[_0x2ee53d(0x1a7)]]:_0x439e97,[TestFrameworkConstants[_0x2ee53d(0x21d)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x2ee53d(0x212)]]:_0x4fa280[_0x2ee53d(0x1e8)]||'',[TestFrameworkConstants[_0x2ee53d(0x1dd)]]:_0x4fa280['file_name']||'',[TestFrameworkConstants[_0x2ee53d(0x20b)]]:_0x31261f,[TestFrameworkConstants[_0x2ee53d(0x189)]]:_0x4fa280[_0x2ee53d(0x1e8)]||'',[TestFrameworkConstants[_0x2ee53d(0x1d9)]]:_0x4fa280['location']||'',[TestFrameworkConstants[_0x2ee53d(0x1c8)]]:_0x4fa280['body']?.['code']||null,[TestFrameworkConstants[_0x2ee53d(0x1c2)]]:_0x4fa280[_0x2ee53d(0x254)]||[],[TestFrameworkConstants[_0x2ee53d(0x1ce)]]:_0x4fa280[_0x2ee53d(0x209)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x4fa280[_0x2ee53d(0x24f)]?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x4fa280['scopes']||[],[TestFrameworkConstants[_0x2ee53d(0x259)]]:_0x4fa280['customRerunParam']?.[_0x2ee53d(0x20a)]||_0x4fa280[_0x2ee53d(0x1e8)]||'',[TestFrameworkConstants[_0x2ee53d(0x1e7)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x4fa280[_0x2ee53d(0x211)]||{}};TestInfo[_0x2ee53d(0x1ad)](_0x31261f,_0x31e9fd),logger[_0x2ee53d(0x206)](_0x2ee53d(0x222)+_0x4fa280[_0x2ee53d(0x1e8)]+'\x20with\x20UUID:\x20'+_0x439e97);const _0x5ee417={};return _0x5ee417[_0x31261f]=_0x31e9fd,_0x5ee417;}[a78_0x5ec0d6(0x253)](_0x113c35){const _0x5bf66c=a78_0x5ec0d6,_0x366775={'SLUoI':_0x5bf66c(0x1f3),'QUpnq':_0x5bf66c(0x1bd),'GYMbH':function(_0x3640ee,_0x231bfa){return _0x3640ee===_0x231bfa;},'blgJy':'failed','aqkqY':_0x5bf66c(0x202),'KSBmU':function(_0x23946b,_0x27871b,_0x366fcc){return _0x23946b(_0x27871b,_0x366fcc);},'OyeRz':function(_0x26275f,_0x7b230b){return _0x26275f>_0x7b230b;},'phAaW':function(_0x4dfb94,_0x53297d){return _0x4dfb94>_0x53297d;}},{testUUID:_0x157982,testData:_0x211fc4}=_0x113c35;if(!_0x211fc4||!_0x211fc4[_0x5bf66c(0x1bf)])return logger[_0x5bf66c(0x206)](_0x366775[_0x5bf66c(0x21e)]),{};const _0x3741f9=this[_0x5bf66c(0x250)](TestFrameworkState[_0x5bf66c(0x1da)],HookState['POST']),_0xc5f57d=_0x211fc4[_0x5bf66c(0x1bf)],_0x2b45de=TestInfo[_0x5bf66c(0x1c0)](_0xc5f57d)||{},_0x4ac141=_0x2b45de?_0x2b45de[TestFrameworkConstants[_0x5bf66c(0x1e7)]]||{}:{},_0x20eab4={..._0x2b45de,[TestFrameworkConstants[_0x5bf66c(0x21d)]]:_0x211fc4['result']||_0x366775['QUpnq'],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x211fc4['finishedAt']||new Date()[_0x5bf66c(0x1b3)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5bf66c(0x1e7)]]:_0x4ac141,[TestFrameworkConstants[_0x5bf66c(0x1b2)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:_0x211fc4[_0x5bf66c(0x211)]||{}};_0x366775[_0x5bf66c(0x22f)](_0x211fc4[_0x5bf66c(0x21b)],_0x366775[_0x5bf66c(0x216)])&&_0x211fc4['failure']&&(_0x20eab4[TestFrameworkConstants[_0x5bf66c(0x192)]]=_0x211fc4[_0x5bf66c(0x1bb)]||_0x366775[_0x5bf66c(0x255)],_0x20eab4[TestFrameworkConstants[_0x5bf66c(0x21c)]]=_0x211fc4['failure_reason']||'',_0x20eab4[TestFrameworkConstants[_0x5bf66c(0x24e)]]=_0x211fc4[_0x5bf66c(0x197)]);const _0x2205eb=TestInfo[_0x5bf66c(0x1c0)](_0xc5f57d)[TestFrameworkConstants[_0x5bf66c(0x236)]]||{},_0x9d8574=_0x366775[_0x5bf66c(0x1aa)](getManualUploadLogs,_0x2205eb,_0x3741f9[_0x5bf66c(0x1f5)]()['get'](_0xc5f57d)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x366775[_0x5bf66c(0x1fe)](_0x9d8574[_0x5bf66c(0x18c)],0x0)){const _0xabe08=_0x20eab4[TestFrameworkConstants[_0x5bf66c(0x1b2)]]||[];_0x20eab4[TestFrameworkConstants[_0x5bf66c(0x1b2)]]=[..._0xabe08,..._0x9d8574];}_0x211fc4['hooks']&&_0x366775[_0x5bf66c(0x1f1)](_0x211fc4[_0x5bf66c(0x1e6)][_0x5bf66c(0x18c)],0x0)&&(_0x20eab4[TestFrameworkConstants[_0x5bf66c(0x201)]]=_0x211fc4[_0x5bf66c(0x1e6)]);TestInfo[_0x5bf66c(0x1ad)](_0xc5f57d,_0x20eab4),logger['debug'](_0x5bf66c(0x1f6)+_0x211fc4['name']+_0x5bf66c(0x1a6)+_0x211fc4[_0x5bf66c(0x21b)]);const _0x28e823={};return _0x28e823[_0xc5f57d]=_0x20eab4,_0x28e823;}async[a78_0x5ec0d6(0x19c)](_0x50f0ba,_0x2d4590,_0x1c4996,_0x5c3011){const _0x297ed2=a78_0x5ec0d6,_0x23211d={'VcHgB':_0x297ed2(0x1ca),'fmLwu':function(_0x59c9c8){return _0x59c9c8();},'RZsWG':function(_0x1524ac,_0x154d7c){return _0x1524ac in _0x154d7c;},'njlrQ':function(_0x1f40aa,_0x97421a){return _0x1f40aa===_0x97421a;},'VNfPL':function(_0x1e4b83,_0x2aeee4){return _0x1e4b83===_0x2aeee4;},'hgKxg':function(_0x4da42d,_0xaf9df9){return _0x4da42d>_0xaf9df9;},'XjsIp':'failed','pdybn':'UnhandledError','UjxTv':_0x297ed2(0x24b),'ANqGC':function(_0xd89365,_0x44e6a2){return _0xd89365!==_0x44e6a2;}},{hookData:_0x5f334a}=_0x5c3011;if(!_0x5f334a)return logger[_0x297ed2(0x206)](_0x23211d['VcHgB']),{};const _0x59807d=_0x5f334a[_0x297ed2(0x1bf)]||_0x23211d[_0x297ed2(0x194)](uuidv4),_0x85c304=_0x5f334a[_0x297ed2(0x1f4)],_0x6fc577=_0x2d4590[_0x297ed2(0x21a)]()[_0x297ed2(0x22e)]('.')[0x1],_0x19ff01=TestInfo[_0x297ed2(0x1c0)](_0x85c304)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x599713=_0x50f0ba[_0x297ed2(0x1f5)]()[_0x297ed2(0x199)](_0x85c304);if(!_0x599713)return logger['debug'](_0x297ed2(0x22b)+_0x85c304+_0x297ed2(0x1a2)),this['storePendingHook'](_0x50f0ba,_0x85c304,_0x2d4590,_0x1c4996,_0x5c3011),{};let _0x36c5dc=_0x599713[TestFrameworkConstants[_0x297ed2(0x1e2)]];!_0x36c5dc&&(_0x36c5dc={});!_0x23211d['RZsWG'](_0x6fc577,_0x36c5dc)&&(_0x36c5dc[_0x6fc577]=[]);let _0x11145c=_0x599713[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x11145c&&(_0x11145c={});!_0x23211d['RZsWG'](_0x6fc577,_0x11145c)&&(_0x11145c[_0x6fc577]=[]);const _0x5a0cc5={[TestFrameworkConstants[_0x297ed2(0x1e2)]]:_0x36c5dc,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x11145c},_0x5a2531={};_0x5a2531[_0x85c304]=_0x5a0cc5;const _0x566858=_0x5a2531;if(_0x23211d['njlrQ'](_0x1c4996,HookState[_0x297ed2(0x19b)])){const _0x46c138={[TestFrameworkConstants[_0x297ed2(0x1fb)]]:_0x59807d,[TestFrameworkConstants[_0x297ed2(0x1a5)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x297ed2(0x1ea)]]:_0x5f334a[_0x297ed2(0x1a0)],[TestFrameworkConstants[_0x297ed2(0x1b8)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x5f334a['hook_type'],[TestFrameworkConstants[_0x297ed2(0x1e7)]]:_0x19ff01};_0x46c138[_0x297ed2(0x218)]=_0x6fc577;const _0x4dcd58=_0x46c138;_0x36c5dc[_0x6fc577][_0x297ed2(0x1f8)](_0x4dcd58),_0x566858[_0x85c304][TestFrameworkConstants[_0x297ed2(0x1d6)]]=_0x6fc577,logger['debug'](_0x297ed2(0x1cf)+_0x6fc577+'\x20&\x20hook\x20=\x20'+_0x4dcd58+_0x297ed2(0x1ac)+_0x5c3011);}else{if(_0x23211d[_0x297ed2(0x24d)](_0x1c4996,HookState[_0x297ed2(0x18b)])){const _0x1f3726=_0x5f334a[_0x297ed2(0x21b)],_0x3820da=_0x36c5dc[_0x6fc577]||[];logger[_0x297ed2(0x206)](_0x297ed2(0x241)+_0x3820da+_0x297ed2(0x243)+_0x5c3011);if(_0x23211d[_0x297ed2(0x246)](_0x3820da['length'],0x0)){const _0x585fde=_0x3820da[_0x297ed2(0x1f2)]();_0x23211d[_0x297ed2(0x24d)](_0x5f334a[_0x297ed2(0x21b)],_0x23211d[_0x297ed2(0x1f9)])&&_0x5f334a[_0x297ed2(0x1d3)]?(_0x585fde[TestFrameworkConstants[_0x297ed2(0x198)]]=_0x5f334a[_0x297ed2(0x1bb)]||_0x23211d[_0x297ed2(0x1ed)],_0x585fde[TestFrameworkConstants[_0x297ed2(0x227)]]=_0x5f334a[_0x297ed2(0x1d7)]||'',_0x585fde[TestFrameworkConstants[_0x297ed2(0x190)]]=_0x5f334a[_0x297ed2(0x1d3)]):_0x585fde[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x23211d[_0x297ed2(0x20d)];_0x23211d[_0x297ed2(0x1e0)](_0x1f3726,TestFrameworkConstants[_0x297ed2(0x23b)])&&(_0x585fde[TestFrameworkConstants[_0x297ed2(0x1a5)]]=_0x1f3726);_0x585fde[TestFrameworkConstants[_0x297ed2(0x18d)]]=_0x5f334a['finished_at']||new Date()[_0x297ed2(0x1b3)](),_0x585fde[TestFrameworkConstants[_0x297ed2(0x1e7)]]=_0x19ff01;const _0x4aab9e=_0x585fde[TestFrameworkConstants['KEY_HOOK_ID']];!_0x11145c[_0x6fc577]&&(_0x11145c[_0x6fc577]=[]),_0x11145c[_0x6fc577]['push'](_0x585fde),_0x566858[_0x85c304][TestFrameworkConstants[_0x297ed2(0x1d1)]]=_0x6fc577;}}}return logger['debug'](_0x297ed2(0x1e1)+_0x5f334a[_0x297ed2(0x200)]+_0x297ed2(0x22c)+_0x59807d+_0x297ed2(0x1cd)+_0x85c304),_0x566858;}[a78_0x5ec0d6(0x251)](_0x2f549d){const _0x176e70=a78_0x5ec0d6,_0x5ec4a7={};_0x5ec4a7[_0x176e70(0x1b4)]='base64';const _0x1c74a6=_0x5ec4a7;try{const _0x58b5ba=_0x2f549d[_0x176e70(0x238)]?_0x2f549d['test']['id']:_0x2f549d[_0x176e70(0x1be)][_0x176e70(0x1f4)],_0x38c57a=_0x2f549d[_0x176e70(0x1e5)],_0x296062=_0x38c57a[_0x176e70(0x1fd)](),_0x495cf2=_0x38c57a[_0x176e70(0x1f5)]()[_0x176e70(0x199)](_0x58b5ba);if(!_0x495cf2)return logger[_0x176e70(0x206)](_0x176e70(0x1c1)+_0x58b5ba),{};logger['debug'](_0x176e70(0x232)+_0x58b5ba);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x56d611='',[TestFrameworkConstants[_0x176e70(0x1c3)]]:_0xcc5fc9='',[TestFrameworkConstants[_0x176e70(0x1ce)]]:_0x230528='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x20499d=''}=_0x495cf2,_0x57a9df=_0x38c57a[_0x176e70(0x207)]()[_0x176e70(0x21a)]()[_0x176e70(0x22e)]('.')[0x1],_0x4e794b=_0x38c57a[_0x176e70(0x234)]()['toString']()[_0x176e70(0x22e)]('.')[0x1],_0x22f6f6=global?.[_0x176e70(0x244)]??0x0,_0x3afcb8=_0x38c57a['getRef'](),_0x174cd1=Buffer[_0x176e70(0x226)](JSON[_0x176e70(0x1e4)](_0x495cf2))['toString'](_0x1c74a6['oXgmX']),_0x917712={'hash':_0x296062[_0x176e70(0x1df)](),'threadId':_0x296062[_0x176e70(0x228)]()[_0x176e70(0x21a)](),'processId':_0x296062['getProcessId']()[_0x176e70(0x21a)]()},_0x294fd0={};_0x294fd0[_0x176e70(0x1e9)]=_0x22f6f6,_0x294fd0[_0x176e70(0x220)]=_0x56d611,_0x294fd0[_0x176e70(0x1f7)]=_0xcc5fc9,_0x294fd0['testFrameworkState']=_0x57a9df,_0x294fd0[_0x176e70(0x19a)]=_0x4e794b,_0x294fd0['startedAt']=_0x230528,_0x294fd0[_0x176e70(0x1b0)]=_0x20499d,_0x294fd0[_0x176e70(0x1bf)]=_0x3afcb8,_0x294fd0[_0x176e70(0x196)]=_0x174cd1,_0x294fd0[_0x176e70(0x204)]=_0x917712;const _0xdc31b3=_0x294fd0;return logger[_0x176e70(0x206)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x58b5ba+_0x176e70(0x23f)+_0x57a9df+_0x176e70(0x1ab)+_0x4e794b),_0xdc31b3;}catch(_0x2d1713){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x176e70(0x18f)](_0x2d1713)),{};}}async[a78_0x5ec0d6(0x19e)](_0x1b7034,_0x3c510a,_0xdc05c1){const _0x9157aa=a78_0x5ec0d6,_0x48cdf8={'vZQoo':function(_0x1947c9,_0x35bac8,_0x307fe7){return _0x1947c9(_0x35bac8,_0x307fe7);},'vsFRS':function(_0x2fcfa1,_0x130d10){return _0x2fcfa1===_0x130d10;},'TeiNS':_0x9157aa(0x18a),'OKwkb':function(_0x35284c,_0x1f929f){return _0x35284c/_0x1f929f;},'wIslX':function(_0x488966,_0x1bec71){return _0x488966<_0x1bec71;},'MALPd':function(_0x135e7a,_0x57f949){return _0x135e7a*_0x57f949;},'TEtEZ':function(_0x21cfb7,_0xba03e3){return _0x21cfb7+_0xba03e3;},'sYJAn':function(_0x1ba78b,_0x302eed){return _0x1ba78b+_0x302eed;},'jBncq':'Cucumber\x20log\x20created\x20event'};try{const _0x4ba24d=_0xdc05c1['testUUID'],_0x567d92=_0x1b7034['getAllData']()[_0x9157aa(0x199)](_0x4ba24d),{[TestFrameworkConstants[_0x9157aa(0x252)]]:_0x5e85a6='',[TestFrameworkConstants[_0x9157aa(0x1c3)]]:_0x50a0f0=''}=_0x567d92,_0x32e34d=TestInfo[_0x9157aa(0x230)](_0x4ba24d),_0x538708=TestInfo[_0x9157aa(0x1c0)](_0x4ba24d)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x5f08c9=_0x48cdf8[_0x9157aa(0x1b1)](getMediaArtifactsLogs,_0x538708,_0x1b7034[_0x9157aa(0x1f5)]()['get'](_0x4ba24d)[TestFrameworkConstants[_0x9157aa(0x1a7)]]),_0x359d12=(_0x32e34d||[])[_0x9157aa(0x223)](_0x5f08c9||[]);if(!_0x359d12||_0x48cdf8[_0x9157aa(0x203)](_0x359d12[_0x9157aa(0x18c)],0x0)){logger['debug'](_0x48cdf8['TeiNS']);return;}const _0x15237b=0x28,_0x57c6cb=Math[_0x9157aa(0x18e)](_0x48cdf8[_0x9157aa(0x21f)](_0x359d12['length'],_0x15237b));for(let _0x386b86=0x0;_0x48cdf8[_0x9157aa(0x1cb)](_0x386b86,_0x57c6cb);_0x386b86++){const _0x1fa5b9=_0x48cdf8[_0x9157aa(0x1fa)](_0x386b86,_0x15237b),_0x21e141=_0x48cdf8['TEtEZ'](_0x1fa5b9,_0x15237b),_0xbfc382=_0x359d12[_0x9157aa(0x1a4)](_0x1fa5b9,_0x21e141),_0x318fa3={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0xbfc382,'testFrameworkName':_0x5e85a6,'testFrameworkVersion':_0x50a0f0,'testFrameworkState':_0x3c510a[_0x9157aa(0x21a)]()[_0x9157aa(0x22e)]('.')[0x1]};logger[_0x9157aa(0x206)](_0x9157aa(0x217)+_0x4ba24d+_0x9157aa(0x23a)+_0x48cdf8[_0x9157aa(0x245)](_0x386b86,0x1)+'/'+_0x57c6cb+_0x9157aa(0x224)+util[_0x9157aa(0x22a)](_0x318fa3));const _0x178ebb=await GrpcClient[_0x9157aa(0x229)]()[_0x9157aa(0x1b9)](_0x318fa3);logger[_0x9157aa(0x206)](_0x9157aa(0x217)+_0x4ba24d+_0x9157aa(0x23a)+_0x48cdf8['sYJAn'](_0x386b86,0x1)+'/'+_0x57c6cb+_0x9157aa(0x188)+util['inspect'](_0x178ebb));}}catch(_0x596da0){logger[_0x9157aa(0x1cc)](_0x9157aa(0x1bc)+util[_0x9157aa(0x18f)](_0x596da0));}logger[_0x9157aa(0x206)](_0x48cdf8[_0x9157aa(0x23c)]);}[a78_0x5ec0d6(0x1d2)](_0x4b9744,_0x663b47,_0xd4ded6,_0x9acb19,_0x56bc05){const _0x5b9c0e=a78_0x5ec0d6,_0x36bf07={'testId':_0x663b47,'testFrameworkState':_0xd4ded6,'hookState':_0x9acb19,'args':_0x56bc05,'timestamp':new Date()[_0x5b9c0e(0x1b3)]()};_0x4b9744[_0x5b9c0e(0x1d0)](_0x663b47,_0x36bf07),logger['debug'](_0x5b9c0e(0x258)+_0x663b47+_0x5b9c0e(0x1a8)+_0xd4ded6+_0x5b9c0e(0x191)+_0x9acb19);}async[a78_0x5ec0d6(0x235)](_0x49aa45,_0x3e50ff){const _0x1c4175=a78_0x5ec0d6,_0x13a87e={};_0x13a87e[_0x1c4175(0x24c)]=function(_0x389d59,_0x26273b){return _0x389d59>_0x26273b;};const _0x3d2405=_0x13a87e;if(!_0x49aa45[_0x1c4175(0x193)](_0x3e50ff))return;const _0x2343e1=_0x49aa45['getPendingHooks'](_0x3e50ff);logger[_0x1c4175(0x206)](_0x1c4175(0x20e)+_0x2343e1[_0x1c4175(0x18c)]+_0x1c4175(0x1c6)+_0x3e50ff);for(const _0x23abd5 of _0x2343e1){try{const _0x175f6e=await this[_0x1c4175(0x19c)](_0x49aa45,_0x23abd5[_0x1c4175(0x1ba)],_0x23abd5[_0x1c4175(0x19a)],_0x23abd5[_0x1c4175(0x256)]);_0x175f6e&&_0x3d2405[_0x1c4175(0x24c)](Object[_0x1c4175(0x249)](_0x175f6e)[_0x1c4175(0x18c)],0x0)&&_0x49aa45['addMultipleEntries'](_0x175f6e),await this[_0x1c4175(0x1c7)](_0x49aa45,_0x23abd5[_0x1c4175(0x1ba)],_0x23abd5[_0x1c4175(0x19a)],_0x23abd5[_0x1c4175(0x256)]);}catch(_0x5261dd){logger[_0x1c4175(0x1cc)](_0x1c4175(0x248)+_0x3e50ff+_0x1c4175(0x1c4)+_0x5261dd);}}_0x49aa45[_0x1c4175(0x1c9)](_0x3e50ff),logger[_0x1c4175(0x206)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x3e50ff);}}module[a78_0x5ec0d6(0x231)]=CucumberTestFramework;