browserstack-node-sdk 1.60.0 → 1.61.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 (216) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  79. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  80. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  81. package/src/bin/mocha/test.setup.js +1 -1
  82. package/src/bin/newman/command.js +1 -1
  83. package/src/bin/newman/helper.js +1 -1
  84. package/src/bin/newman/reporter/index.js +1 -1
  85. package/src/bin/newman/scriptRunner.js +1 -1
  86. package/src/bin/nightwatch/command.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/sessionDetails.js +1 -1
  97. package/src/bin/puppeteer/patches.js +1 -1
  98. package/src/bin/puppeteer/sessionDetails.js +1 -1
  99. package/src/bin/puppeteer/test.setup.js +1 -1
  100. package/src/bin/runner.js +1 -1
  101. package/src/bin/setup.js +1 -1
  102. package/src/bin/test-runner/index.js +1 -1
  103. package/src/bin/test-runner/runTest.js +1 -1
  104. package/src/bin/test-runner/testWorker.js +1 -1
  105. package/src/bin/testcafe/a11y-runner.js +1 -1
  106. package/src/bin/testcafe/command.js +1 -1
  107. package/src/bin/testcafe/reporter/index.js +1 -1
  108. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  109. package/src/bin/testcafe/session-registry.js +1 -1
  110. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  111. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  112. package/src/bin/testcafe/w3c-driver.js +1 -1
  113. package/src/bin/utils/apiUtilityMethods.js +1 -1
  114. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  115. package/src/bin/utils/constants.js +1 -1
  116. package/src/bin/utils/log4jsAppender.js +1 -1
  117. package/src/bin/utils/logPatcher.js +1 -1
  118. package/src/bin/utils/logReportingAPI.js +1 -1
  119. package/src/bin/utils/playwright-patcher.js +1 -1
  120. package/src/bin/utils/puppeteer-patcher.js +1 -1
  121. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  122. package/src/bin/utils/sharedUtils.js +1 -1
  123. package/src/bin/v2/TestInfo.js +1 -1
  124. package/src/bin/v2/browserstackCLI.js +1 -1
  125. package/src/bin/v2/cliUtils.js +1 -1
  126. package/src/bin/v2/customTagManager.js +1 -1
  127. package/src/bin/v2/eventDispatcher.js +1 -1
  128. package/src/bin/v2/framework/automationFramework.js +1 -1
  129. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  130. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  132. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  133. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  134. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  136. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/testFramework.js +1 -1
  138. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  140. package/src/bin/v2/grpcClient.js +1 -1
  141. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  142. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/trackedContext.js +1 -1
  144. package/src/bin/v2/instances/trackedInstance.js +1 -1
  145. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  146. package/src/bin/v2/modules/baseModule.js +1 -1
  147. package/src/bin/v2/modules/loadTestModule.js +1 -1
  148. package/src/bin/v2/modules/observabilityModule.js +1 -1
  149. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  150. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  151. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testhubModule.js +1 -1
  153. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  154. package/src/bin/v2/state/hookState.js +1 -1
  155. package/src/bin/v2/state/testFrameworkState.js +1 -1
  156. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  157. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  158. package/src/bin/v2/utils/jest-utils.js +1 -1
  159. package/src/bin/vanilla-js/command.js +1 -1
  160. package/src/browserStackSdk.js +1 -1
  161. package/src/helpers/BrowserStackSetup.js +1 -1
  162. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  163. package/src/helpers/accessibility-automation/constants.js +1 -1
  164. package/src/helpers/accessibility-automation/helper.js +1 -1
  165. package/src/helpers/accessibility-automation/scripts.js +1 -1
  166. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  167. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  168. package/src/helpers/ats/constants.js +1 -1
  169. package/src/helpers/ats/helper.js +1 -1
  170. package/src/helpers/caCertHelper.js +1 -1
  171. package/src/helpers/capsMapping.js +1 -1
  172. package/src/helpers/central-scanner/constants.js +1 -1
  173. package/src/helpers/central-scanner/helpers.js +1 -1
  174. package/src/helpers/classLogger.js +1 -1
  175. package/src/helpers/driverInitErrorReporter.js +1 -1
  176. package/src/helpers/globals.js +1 -1
  177. package/src/helpers/helper.js +1 -1
  178. package/src/helpers/logger.js +1 -1
  179. package/src/helpers/metadata.js +1 -1
  180. package/src/helpers/patchHelper.js +1 -1
  181. package/src/helpers/patchHelpers.js +1 -1
  182. package/src/helpers/percy/Percy.js +1 -1
  183. package/src/helpers/percy/PercyBinary.js +1 -1
  184. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  185. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  186. package/src/helpers/percy/PercySDK.js +1 -1
  187. package/src/helpers/percy/index.js +1 -1
  188. package/src/helpers/percy/utils.js +1 -1
  189. package/src/helpers/performance/constants.js +1 -1
  190. package/src/helpers/performance/performance-tester.js +1 -1
  191. package/src/helpers/playwright-helper.js +1 -1
  192. package/src/helpers/processHelper.js +1 -1
  193. package/src/helpers/puppeteer-helper.js +1 -1
  194. package/src/helpers/request-spy.js +1 -1
  195. package/src/helpers/setKeepAlive.js +1 -1
  196. package/src/helpers/stackFrameUtils.js +1 -1
  197. package/src/helpers/test-observability/constants.js +1 -1
  198. package/src/helpers/test-observability/error-handler.js +1 -1
  199. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  200. package/src/helpers/test-observability/sessionHandler.js +1 -1
  201. package/src/helpers/test-observability/utils.js +1 -1
  202. package/src/helpers/test-orchestration/constants.js +1 -1
  203. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  204. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  205. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  206. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  207. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  208. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  209. package/src/helpers/testhub/constants.js +1 -1
  210. package/src/helpers/testhub/testhubHandler.js +1 -1
  211. package/src/helpers/testhub/utils.js +1 -1
  212. package/src/helpers/timeoutPromise.js +1 -1
  213. package/src/helpers/utilities.js +1 -1
  214. package/src/helpers/w3cMapping.js +1 -1
  215. package/src/hubAllocationMethods.js +1 -1
  216. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a115_0x2d1384=a115_0x3cbc;function a115_0x1170(){const _0x57f776=['testInfo','mkdirSync','__workerDetails','rmSync','toLowerCase','testhubConfig','unlinkSync','rekjg','EjJQe','BhLdm','addMultipleEntries','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','Attachment\x20recevied\x20for\x20path:\x20%s','statusCode','close','./framework/automationFramework','startsWith','1457028RxwQXF','getInstance','basename','get','debug','2439794GdyGib','trackFile','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','format','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','modules','rGBXc','44847tfPVjs','recursive','./state/hookState','XNKbf','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','QnztN','6RzxbyX','Kduxr','getTestFrameworkDetail','https://','currentTest','pyrHu','27DpUYHP','size','uploadAttachmentsManager','MZbwo','SjPIc','POST','./modules/playwrightDriverModule','finish','nprFm','statSync','KEY_TEST_ID','exports','KEY_FILE_PATH','SDyzy','NRyOz','jibzP','Created\x20.browserstack\x20folder\x20at:\x20%s','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','txVKO','getAllData','gLfmo','341752rRDAjl','LudlJ','getTestDetails','bVboe','cpmcr','getTrackedInstance','getState','toFixed','uploadAttachments','SnOKB','AWzGd','xWNDN','oUWIW','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','204335cRKGJr','TestLevel','KEY_FILE_LEVEL','existsSync','./TestInfo',',\x20filepath:\x20','name','QNaIh','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','MuttJ','KEY_FILE_NAME','zHcOq','pYJoE','message','sRoJa','./browserstackCLI','TestHubModule','isRunning','pipe','setTestDetails','File\x20downloaded\x20to:\x20%s','KEY_TEST_ATTACHMENTS','KEY_FILE_SIZE','path','7130040YURokx','buildHashedId','createWriteStream','SmhJX','logger','ZPsGd','homedir','mzGrC','.browserstack','jYMcj','resolveInstance','toObject','http','975086zcjewf','jest','join','GKsTW','16cgmxXQ','TEST','AzQOa','https','DuRmJ','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','./framework/constants/testFrameworkConstants'];a115_0x1170=function(){return _0x57f776;};return a115_0x1170();}(function(_0x5a13b9,_0x14183b){const _0x2fd9ca=a115_0x3cbc,_0x1bef4b=_0x5a13b9();while(!![]){try{const _0x32ba21=parseInt(_0x2fd9ca(0x181))/0x1+-parseInt(_0x2fd9ca(0x158))/0x2+-parseInt(_0x2fd9ca(0x18d))/0x3*(parseInt(_0x2fd9ca(0x1a2))/0x4)+parseInt(_0x2fd9ca(0x1b0))/0x5*(parseInt(_0x2fd9ca(0x187))/0x6)+-parseInt(_0x2fd9ca(0x17a))/0x7*(-parseInt(_0x2fd9ca(0x15c))/0x8)+parseInt(_0x2fd9ca(0x175))/0x9+parseInt(_0x2fd9ca(0x14b))/0xa;if(_0x32ba21===_0x14183b)break;else _0x1bef4b['push'](_0x1bef4b['shift']());}catch(_0x2b6889){_0x1bef4b['push'](_0x1bef4b['shift']());}}}(a115_0x1170,0x61f39));function a115_0x3cbc(_0x8b4c06,_0x16d5e8){const _0x117056=a115_0x1170();return a115_0x3cbc=function(_0x3cbc99,_0x272e42){_0x3cbc99=_0x3cbc99-0x142;let _0x2dbc64=_0x117056[_0x3cbc99];return _0x2dbc64;},a115_0x3cbc(_0x8b4c06,_0x16d5e8);}const os=require('os'),fs=require('fs'),path=require(a115_0x2d1384(0x14a)),util=require('util'),BrowserstackCLI=require(a115_0x2d1384(0x142)),https=require(a115_0x2d1384(0x15f)),http=require(a115_0x2d1384(0x157)),AutomationFramework=require(a115_0x2d1384(0x173)),PlaywrightDriverModule=require(a115_0x2d1384(0x193)),TestInfo=require(a115_0x2d1384(0x1b4)),TestFrameworkConstants=require(a115_0x2d1384(0x162)),{createClassLogger}=require('../../helpers/classLogger.js');class uploadAttachmentsManager{static [a115_0x2d1384(0x14f)]=createClassLogger(a115_0x2d1384(0x18f));static[a115_0x2d1384(0x1aa)](_0x53d544,_0x1d4c37=![]){const _0x2e2106=a115_0x2d1384,_0x153847={};_0x153847[_0x2e2106(0x1ae)]=function(_0x20a490,_0x3f8435){return _0x20a490/_0x3f8435;},_0x153847[_0x2e2106(0x152)]=function(_0x546350,_0x3e7739){return _0x546350*_0x3e7739;},_0x153847[_0x2e2106(0x1a3)]=function(_0x12eaa6,_0x1ca2eb){return _0x12eaa6>_0x1ca2eb;},_0x153847[_0x2e2106(0x186)]=_0x2e2106(0x17e),_0x153847[_0x2e2106(0x15b)]=_0x2e2106(0x147),_0x153847[_0x2e2106(0x19b)]=function(_0x414717,_0x1e6846){return _0x414717===_0x1e6846;},_0x153847[_0x2e2106(0x150)]=_0x2e2106(0x194),_0x153847['rekjg']='Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload',_0x153847[_0x2e2106(0x1bb)]='Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload',_0x153847[_0x2e2106(0x1be)]=_0x2e2106(0x170),_0x153847['nprFm']=_0x2e2106(0x153),_0x153847['MuttJ']=_0x2e2106(0x17c),_0x153847[_0x2e2106(0x19a)]=_0x2e2106(0x19d),_0x153847[_0x2e2106(0x154)]='Created\x20folder:\x20%s',_0x153847['cpmcr']=function(_0x4c3656,_0x5c9614){return _0x4c3656===_0x5c9614;},_0x153847['WBPBK']=_0x2e2106(0x19e),_0x153847[_0x2e2106(0x180)]=_0x2e2106(0x18a),_0x153847['BhLdm']='http://',_0x153847['EjJQe']='error',_0x153847[_0x2e2106(0x1a1)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x153847[_0x2e2106(0x1a5)]=function(_0x25dbe3,_0x373ae0){return _0x25dbe3/_0x373ae0;},_0x153847[_0x2e2106(0x1ab)]=function(_0x452132,_0xa3abe1){return _0x452132*_0xa3abe1;},_0x153847[_0x2e2106(0x1b7)]=_0x2e2106(0x161);const _0x25e66f=_0x153847;this[_0x2e2106(0x14f)]['debug'](util['format'](_0x25e66f[_0x2e2106(0x1be)],_0x53d544));const _0x42fa3f=os[_0x2e2106(0x151)](),_0x5e3b9e=path[_0x2e2106(0x15a)](_0x42fa3f,_0x25e66f[_0x2e2106(0x195)]);!fs['existsSync'](_0x5e3b9e)&&(this['logger']['debug'](util['format'](_0x25e66f[_0x2e2106(0x1b9)],_0x5e3b9e)),fs[_0x2e2106(0x164)](_0x5e3b9e),this[_0x2e2106(0x14f)][_0x2e2106(0x179)](util[_0x2e2106(0x17d)](_0x25e66f['SDyzy'],_0x5e3b9e)));const _0x23309d=BrowserstackCLI['getInstance']()[_0x2e2106(0x17f)][_0x2e2106(0x143)]?.[_0x2e2106(0x168)]?.[_0x2e2106(0x156)]()?.[_0x2e2106(0x14c)],_0x4c7f4f=path[_0x2e2106(0x15a)](_0x5e3b9e,_0x23309d);!fs[_0x2e2106(0x1b3)](_0x4c7f4f)&&(fs['mkdirSync'](_0x4c7f4f),this['logger'][_0x2e2106(0x179)](util['format'](_0x25e66f[_0x2e2106(0x154)],_0x4c7f4f)));if(_0x25e66f[_0x2e2106(0x1a6)](_0x53d544['trim'](),'')){this[_0x2e2106(0x14f)][_0x2e2106(0x179)](util[_0x2e2106(0x17d)](_0x25e66f['WBPBK']));return;}if(_0x53d544['startsWith'](_0x25e66f['rGBXc'])||_0x53d544[_0x2e2106(0x174)](_0x25e66f[_0x2e2106(0x16c)])){const _0x2d6749=_0x53d544['startsWith'](_0x25e66f[_0x2e2106(0x180)])?https:http,_0x4d5e7d=path[_0x2e2106(0x177)](_0x53d544),_0x46a7ac=path['join'](_0x4c7f4f,_0x4d5e7d),_0x3fd94f=fs[_0x2e2106(0x14d)](_0x46a7ac);_0x2d6749[_0x2e2106(0x178)](_0x53d544,_0x5be2c6=>{const _0x37071e=_0x2e2106;if(_0x25e66f['NRyOz'](_0x5be2c6[_0x37071e(0x171)],0xc8))_0x5be2c6[_0x37071e(0x145)](_0x3fd94f),_0x3fd94f['on'](_0x25e66f['ZPsGd'],()=>{const _0x4f55f3=_0x37071e;_0x3fd94f[_0x4f55f3(0x172)]();const _0x289d9e=fs['statSync'](_0x46a7ac),_0x327a9f=_0x25e66f[_0x4f55f3(0x1ae)](_0x289d9e[_0x4f55f3(0x18e)],_0x25e66f['mzGrC'](0x400,0x400));if(_0x25e66f[_0x4f55f3(0x1a3)](_0x327a9f,0x64)){this[_0x4f55f3(0x14f)][_0x4f55f3(0x179)](util[_0x4f55f3(0x17d)](_0x25e66f[_0x4f55f3(0x186)],_0x327a9f['toFixed'](0x2))),fs['unlinkSync'](_0x46a7ac);return;}this['logger'][_0x4f55f3(0x179)](util[_0x4f55f3(0x17d)](_0x25e66f[_0x4f55f3(0x15b)],_0x46a7ac)),uploadAttachmentsManager['trackFile'](_0x46a7ac,_0x1d4c37);});else{this[_0x37071e(0x14f)][_0x37071e(0x179)](util[_0x37071e(0x17d)](_0x25e66f[_0x37071e(0x16a)],_0x5be2c6[_0x37071e(0x171)])),_0x3fd94f['close'](),fs[_0x37071e(0x169)](_0x46a7ac);return;}})['on'](_0x25e66f[_0x2e2106(0x16b)],_0x2dc0b6=>{const _0x23e539=_0x2e2106;this[_0x23e539(0x14f)]['debug'](util[_0x23e539(0x17d)](_0x25e66f[_0x23e539(0x1bb)],_0x2dc0b6['message'])),_0x3fd94f[_0x23e539(0x172)](),fs[_0x23e539(0x169)](_0x46a7ac);return;});}else{if(!fs[_0x2e2106(0x1b3)](_0x53d544)){this[_0x2e2106(0x14f)][_0x2e2106(0x179)](util['format'](_0x25e66f[_0x2e2106(0x1a1)],_0x53d544));return;}const _0x1d0bff=fs[_0x2e2106(0x196)](_0x53d544),_0x1370c0=_0x25e66f['bVboe'](_0x1d0bff[_0x2e2106(0x18e)],_0x25e66f[_0x2e2106(0x1ab)](0x400,0x400));if(_0x25e66f[_0x2e2106(0x1a3)](_0x1370c0,0x64)){this[_0x2e2106(0x14f)]['debug'](util['format'](_0x25e66f['QNaIh'],_0x1370c0[_0x2e2106(0x1a9)](0x2)));return;}const _0x23e158=path[_0x2e2106(0x177)](_0x53d544),_0x4a0ccb=path[_0x2e2106(0x15a)](_0x4c7f4f,_0x23e158);fs['copyFileSync'](_0x53d544,_0x4a0ccb),uploadAttachmentsManager[_0x2e2106(0x17b)](_0x4a0ccb,_0x1d4c37);}}static[a115_0x2d1384(0x17b)](_0x383f6a,_0x56c003){const _0x7ef89e=a115_0x2d1384,_0x37b533={'AWzGd':function(_0x10d216,_0xf92e55){return _0x10d216(_0xf92e55);},'qAMTK':_0x7ef89e(0x142),'AzQOa':'./cliUtils','DuRmJ':function(_0x97d9f3,_0x10abf6){return _0x97d9f3===_0x10abf6;},'SjPIc':_0x7ef89e(0x159),'jibzP':_0x7ef89e(0x1b8),'pYJoE':'BuildLevel','txVKO':_0x7ef89e(0x1b1),'PnHxE':_0x7ef89e(0x185),'Awira':'./state/testFrameworkState','SmhJX':function(_0x5540b8,_0x5df462){return _0x5540b8(_0x5df462);},'pyrHu':_0x7ef89e(0x183),'Gnvnv':'trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','XNKbf':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','MZTom':'Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload'};try{let _0x200ec8;const _0x2dd203=global[_0x7ef89e(0x165)]?.[_0x7ef89e(0x18b)]?.[_0x7ef89e(0x163)],_0x263840=_0x37b533[_0x7ef89e(0x1ac)](require,_0x37b533['qAMTK']),_0x3078a6=_0x37b533[_0x7ef89e(0x1ac)](require,_0x37b533[_0x7ef89e(0x15e)]),_0x5e2276=_0x263840[_0x7ef89e(0x176)]()[_0x7ef89e(0x144)]()&&_0x37b533[_0x7ef89e(0x160)](_0x3078a6[_0x7ef89e(0x189)]()?.[_0x7ef89e(0x1b6)]?.[_0x7ef89e(0x167)](),_0x37b533[_0x7ef89e(0x191)]);if(_0x5e2276){_0x200ec8=global['__jestCurrentTestIdentifier'];if(!_0x200ec8){const _0x532153=AutomationFramework[_0x7ef89e(0x1a7)]();_0x200ec8=AutomationFramework[_0x7ef89e(0x1a8)](_0x532153,PlaywrightDriverModule[_0x7ef89e(0x197)],'');}this[_0x7ef89e(0x14f)][_0x7ef89e(0x179)](_0x7ef89e(0x16e)+_0x200ec8);}else{if(!_0x2dd203){const _0x369dfb=AutomationFramework[_0x7ef89e(0x1a7)]();_0x200ec8=AutomationFramework[_0x7ef89e(0x1a8)](_0x369dfb,PlaywrightDriverModule[_0x7ef89e(0x197)],'');}else _0x200ec8=TestInfo['getTestIdentifierFromTestInfo'](_0x2dd203,_0x2dd203['retry']);this[_0x7ef89e(0x14f)]['debug']('trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20'+_0x200ec8);}if(!_0x200ec8){this[_0x7ef89e(0x14f)][_0x7ef89e(0x179)](_0x37b533[_0x7ef89e(0x19c)]);return;}const _0x6731a3={[TestFrameworkConstants[_0x7ef89e(0x149)]]:fs[_0x7ef89e(0x196)](_0x383f6a)[_0x7ef89e(0x18e)],[TestFrameworkConstants[_0x7ef89e(0x1ba)]]:path['basename'](_0x383f6a),[TestFrameworkConstants[_0x7ef89e(0x199)]]:_0x383f6a,[TestFrameworkConstants[_0x7ef89e(0x1b2)]]:_0x56c003?_0x37b533[_0x7ef89e(0x1bc)]:_0x37b533[_0x7ef89e(0x19f)]};if(_0x5e2276){const _0x1eb53c=_0x263840[_0x7ef89e(0x176)]()['getTestFramework']();if(!_0x1eb53c){this[_0x7ef89e(0x14f)][_0x7ef89e(0x179)](_0x37b533['PnHxE']);return;}const _0x6d8d3d=_0x37b533[_0x7ef89e(0x1ac)](require,_0x37b533['Awira']),_0x2bb4d4=_0x37b533[_0x7ef89e(0x14e)](require,_0x37b533[_0x7ef89e(0x18c)]),_0x246711=_0x1eb53c[_0x7ef89e(0x155)](_0x6d8d3d[_0x7ef89e(0x15d)],_0x2bb4d4[_0x7ef89e(0x192)]);if(!_0x246711){this[_0x7ef89e(0x14f)][_0x7ef89e(0x179)](_0x37b533['Gnvnv']);return;}const _0x586057=_0x246711[_0x7ef89e(0x1a0)]()[_0x7ef89e(0x178)](_0x200ec8)||{},_0x5ee90e=_0x586057[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3246a5={..._0x5ee90e};_0x3246a5[_0x383f6a]=_0x6731a3;const _0x1189f1=_0x3246a5,_0x4b7b2b={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:_0x1189f1},_0x5b06b2={};_0x5b06b2[_0x200ec8]=_0x4b7b2b,_0x246711[_0x7ef89e(0x16d)](_0x5b06b2),this[_0x7ef89e(0x14f)][_0x7ef89e(0x179)](_0x7ef89e(0x1af)+_0x200ec8+_0x7ef89e(0x1b5)+_0x383f6a);}else{const _0x2bdf5e=TestInfo[_0x7ef89e(0x1a4)](_0x200ec8),_0x2d78d0=_0x2bdf5e[TestFrameworkConstants[_0x7ef89e(0x148)]]||{};_0x2d78d0[_0x383f6a]=_0x6731a3,_0x2bdf5e[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x2d78d0,TestInfo[_0x7ef89e(0x146)](_0x200ec8,_0x2bdf5e),this['logger']['debug'](_0x7ef89e(0x16f)+_0x200ec8+_0x7ef89e(0x1b5)+_0x383f6a);}this[_0x7ef89e(0x14f)]['debug'](util[_0x7ef89e(0x17d)](_0x37b533[_0x7ef89e(0x184)],_0x383f6a));}catch(_0x5848e7){this[_0x7ef89e(0x14f)][_0x7ef89e(0x179)](util[_0x7ef89e(0x17d)](_0x37b533['MZTom'],_0x5848e7[_0x7ef89e(0x1bd)]));}}static['clearAttachments'](){const _0x3add8d=a115_0x2d1384,_0x3837e0={};_0x3837e0['MZbwo']='.browserstack',_0x3837e0['Kduxr']='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x3837e0[_0x3add8d(0x1ad)]='Cleared\x20attachment\x20folder';const _0x4bee1d=_0x3837e0,_0xf39868=os['homedir'](),_0x5b977e=path[_0x3add8d(0x15a)](_0xf39868,_0x4bee1d[_0x3add8d(0x190)]);if(!fs[_0x3add8d(0x1b3)](_0x5b977e))return;const _0x47af4b=BrowserstackCLI['getInstance']()['modules'][_0x3add8d(0x143)]?.['testhubConfig']?.[_0x3add8d(0x156)]()?.['buildHashedId'],_0x4d09b3=_0x47af4b?path[_0x3add8d(0x15a)](_0x5b977e,_0x47af4b):null;if(!_0x4d09b3||!fs[_0x3add8d(0x1b3)](_0x4d09b3)){this[_0x3add8d(0x14f)][_0x3add8d(0x179)](util[_0x3add8d(0x17d)](_0x4bee1d[_0x3add8d(0x188)],_0x47af4b));return;}const _0x3420eb={};_0x3420eb[_0x3add8d(0x182)]=!![],_0x3420eb['force']=!![],fs[_0x3add8d(0x166)](_0x4d09b3,_0x3420eb),this['logger'][_0x3add8d(0x179)](util[_0x3add8d(0x17d)](_0x4bee1d[_0x3add8d(0x1ad)]));}}module[a115_0x2d1384(0x198)]=uploadAttachmentsManager;
1
+ const a115_0x44b11a=a115_0x5a29;(function(_0x3c0b22,_0x5a9ce3){const _0xc80444=a115_0x5a29,_0xb573fe=_0x3c0b22();while(!![]){try{const _0x2c6e45=-parseInt(_0xc80444(0xd5))/0x1*(parseInt(_0xc80444(0x139))/0x2)+parseInt(_0xc80444(0x116))/0x3*(-parseInt(_0xc80444(0x12b))/0x4)+-parseInt(_0xc80444(0x10e))/0x5*(-parseInt(_0xc80444(0xb6))/0x6)+parseInt(_0xc80444(0x13e))/0x7+parseInt(_0xc80444(0x109))/0x8+-parseInt(_0xc80444(0xcb))/0x9*(-parseInt(_0xc80444(0x129))/0xa)+parseInt(_0xc80444(0x118))/0xb*(parseInt(_0xc80444(0x137))/0xc);if(_0x2c6e45===_0x5a9ce3)break;else _0xb573fe['push'](_0xb573fe['shift']());}catch(_0x18ac2e){_0xb573fe['push'](_0xb573fe['shift']());}}}(a115_0x4a59,0x1aae8));const os=require('os'),fs=require('fs'),path=require(a115_0x44b11a(0xd2)),util=require(a115_0x44b11a(0xde)),BrowserstackCLI=require(a115_0x44b11a(0x11f)),https=require(a115_0x44b11a(0xed)),http=require(a115_0x44b11a(0xe4)),AutomationFramework=require(a115_0x44b11a(0x11e)),PlaywrightDriverModule=require(a115_0x44b11a(0xec)),TestInfo=require('./TestInfo'),TestFrameworkConstants=require(a115_0x44b11a(0x105)),{createClassLogger}=require(a115_0x44b11a(0xf3));class uploadAttachmentsManager{static ['logger']=createClassLogger(a115_0x44b11a(0x10b));static[a115_0x44b11a(0x110)](_0x1d233b,_0x10bcf7=![]){const _0x3a270f=a115_0x44b11a,_0x44cd26={};_0x44cd26['blFCi']=function(_0x26f4c5,_0x27764f){return _0x26f4c5/_0x27764f;},_0x44cd26['vpkuD']=function(_0x2415e8,_0x2d3aaa){return _0x2415e8*_0x2d3aaa;},_0x44cd26[_0x3a270f(0x10a)]=function(_0x1f9a88,_0x381113){return _0x1f9a88>_0x381113;},_0x44cd26[_0x3a270f(0x121)]=_0x3a270f(0xdd),_0x44cd26[_0x3a270f(0xbd)]=_0x3a270f(0x12a),_0x44cd26[_0x3a270f(0x13d)]=function(_0x7c1812,_0x23846d){return _0x7c1812===_0x23846d;},_0x44cd26['beWzP']=_0x3a270f(0xda),_0x44cd26[_0x3a270f(0x104)]=_0x3a270f(0xd8),_0x44cd26[_0x3a270f(0xd6)]=_0x3a270f(0xe5),_0x44cd26[_0x3a270f(0x119)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0x44cd26[_0x3a270f(0xc0)]=_0x3a270f(0x13f),_0x44cd26[_0x3a270f(0x133)]=_0x3a270f(0xc1),_0x44cd26[_0x3a270f(0x13a)]=_0x3a270f(0xdc),_0x44cd26[_0x3a270f(0xf5)]=_0x3a270f(0xb7),_0x44cd26['EmvSF']=_0x3a270f(0xc7),_0x44cd26['XzgRv']='https://',_0x44cd26['bOxBa']='http://',_0x44cd26[_0x3a270f(0x12e)]=_0x3a270f(0xce),_0x44cd26['JdOfI']=_0x3a270f(0xe3),_0x44cd26[_0x3a270f(0xdb)]=_0x3a270f(0xe2);const _0x135cc3=_0x44cd26;this['logger'][_0x3a270f(0xc9)](util['format'](_0x135cc3['sRvMO'],_0x1d233b));const _0x5c8304=os[_0x3a270f(0x100)](),_0x40bc06=path[_0x3a270f(0x114)](_0x5c8304,_0x135cc3[_0x3a270f(0xc0)]);!fs[_0x3a270f(0xfc)](_0x40bc06)&&(this['logger'][_0x3a270f(0xc9)](util[_0x3a270f(0xfd)](_0x135cc3['Ctpjt'],_0x40bc06)),fs[_0x3a270f(0xea)](_0x40bc06),this[_0x3a270f(0xd4)][_0x3a270f(0xc9)](util['format'](_0x135cc3['vJxYw'],_0x40bc06)));const _0x467271=BrowserstackCLI[_0x3a270f(0x120)]()[_0x3a270f(0xe9)][_0x3a270f(0x10f)]?.['testhubConfig']?.[_0x3a270f(0x11c)]()?.['buildHashedId'],_0x12183f=path['join'](_0x40bc06,_0x467271);!fs['existsSync'](_0x12183f)&&(fs[_0x3a270f(0xea)](_0x12183f),this[_0x3a270f(0xd4)][_0x3a270f(0xc9)](util[_0x3a270f(0xfd)](_0x135cc3[_0x3a270f(0xf5)],_0x12183f)));if(_0x135cc3[_0x3a270f(0x13d)](_0x1d233b['trim'](),'')){this[_0x3a270f(0xd4)][_0x3a270f(0xc9)](util[_0x3a270f(0xfd)](_0x135cc3[_0x3a270f(0xbb)]));return;}if(_0x1d233b['startsWith'](_0x135cc3['XzgRv'])||_0x1d233b[_0x3a270f(0x10d)](_0x135cc3[_0x3a270f(0x113)])){const _0x257f7c=_0x1d233b[_0x3a270f(0x10d)](_0x135cc3[_0x3a270f(0x112)])?https:http,_0x3d387a=path[_0x3a270f(0x130)](_0x1d233b),_0x64970e=path[_0x3a270f(0x114)](_0x12183f,_0x3d387a),_0x2d2f46=fs['createWriteStream'](_0x64970e);_0x257f7c[_0x3a270f(0x111)](_0x1d233b,_0x1e6653=>{const _0x56057c=_0x3a270f,_0x43e1ab={'BhqMy':function(_0x694fd5,_0x191c78){const _0x2ad70e=a115_0x5a29;return _0x135cc3[_0x2ad70e(0x11b)](_0x694fd5,_0x191c78);},'LtsgJ':function(_0x52f216,_0x432c20){return _0x135cc3['vpkuD'](_0x52f216,_0x432c20);},'qQvMa':function(_0x44bc45,_0x1f4060){const _0x1357c8=a115_0x5a29;return _0x135cc3[_0x1357c8(0x10a)](_0x44bc45,_0x1f4060);},'UUUgf':_0x135cc3['XOSaf'],'jFjeD':_0x135cc3[_0x56057c(0xbd)]};if(_0x135cc3[_0x56057c(0x13d)](_0x1e6653[_0x56057c(0x10c)],0xc8))_0x1e6653[_0x56057c(0xf0)](_0x2d2f46),_0x2d2f46['on'](_0x135cc3[_0x56057c(0xcf)],()=>{const _0x3689c6=_0x56057c;_0x2d2f46[_0x3689c6(0x12f)]();const _0xd2a102=fs['statSync'](_0x64970e),_0x29395d=_0x43e1ab[_0x3689c6(0xeb)](_0xd2a102['size'],_0x43e1ab[_0x3689c6(0xdf)](0x400,0x400));if(_0x43e1ab['qQvMa'](_0x29395d,0x64)){this['logger'][_0x3689c6(0xc9)](util[_0x3689c6(0xfd)](_0x43e1ab[_0x3689c6(0x125)],_0x29395d[_0x3689c6(0xbc)](0x2))),fs[_0x3689c6(0x123)](_0x64970e);return;}this['logger'][_0x3689c6(0xc9)](util['format'](_0x43e1ab[_0x3689c6(0x107)],_0x64970e)),uploadAttachmentsManager[_0x3689c6(0x132)](_0x64970e,_0x10bcf7);});else{this[_0x56057c(0xd4)][_0x56057c(0xc9)](util[_0x56057c(0xfd)](_0x135cc3[_0x56057c(0x104)],_0x1e6653['statusCode'])),_0x2d2f46[_0x56057c(0x12f)](),fs[_0x56057c(0x123)](_0x64970e);return;}})['on'](_0x135cc3[_0x3a270f(0x12e)],_0x2a6b6d=>{const _0x15942c=_0x3a270f;this[_0x15942c(0xd4)]['debug'](util[_0x15942c(0xfd)](_0x135cc3[_0x15942c(0xd6)],_0x2a6b6d[_0x15942c(0xe1)])),_0x2d2f46['close'](),fs[_0x15942c(0x123)](_0x64970e);return;});}else{if(!fs['existsSync'](_0x1d233b)){this['logger'][_0x3a270f(0xc9)](util['format'](_0x135cc3[_0x3a270f(0x128)],_0x1d233b));return;}const _0x574f1a=fs[_0x3a270f(0xf6)](_0x1d233b),_0x3a89d2=_0x135cc3[_0x3a270f(0x11b)](_0x574f1a['size'],_0x135cc3[_0x3a270f(0xe6)](0x400,0x400));if(_0x135cc3[_0x3a270f(0x10a)](_0x3a89d2,0x64)){this[_0x3a270f(0xd4)][_0x3a270f(0xc9)](util[_0x3a270f(0xfd)](_0x135cc3[_0x3a270f(0xdb)],_0x3a89d2[_0x3a270f(0xbc)](0x2)));return;}const _0x2d455f=path[_0x3a270f(0x130)](_0x1d233b),_0x5a31fd=path[_0x3a270f(0x114)](_0x12183f,_0x2d455f);fs['copyFileSync'](_0x1d233b,_0x5a31fd),uploadAttachmentsManager[_0x3a270f(0x132)](_0x5a31fd,_0x10bcf7);}}static['trackFile'](_0x2e54bb,_0x38ce23){const _0x15d8c7=a115_0x44b11a,_0x210788={'RuoHE':function(_0xc9d769,_0x32383){return _0xc9d769(_0x32383);},'sxxyR':'./browserstackCLI','NyJxp':'./cliUtils','KDZMo':function(_0x1d2f6f,_0x879e31){return _0x1d2f6f===_0x879e31;},'lDdPG':_0x15d8c7(0xfe),'VBgZY':_0x15d8c7(0xb9),'NOtzg':_0x15d8c7(0xc2),'iLGty':_0x15d8c7(0x115),'ywGWn':_0x15d8c7(0xc5),'OOVci':function(_0x48c5e1,_0x2095cf){return _0x48c5e1(_0x2095cf);},'dWPlM':_0x15d8c7(0x102),'FdvmK':_0x15d8c7(0xf4),'sfiMx':_0x15d8c7(0x122),'hiJgj':_0x15d8c7(0xca),'yMnYg':_0x15d8c7(0xbe)};try{let _0x5019e9;const _0x1d0a46=global[_0x15d8c7(0xe7)]?.[_0x15d8c7(0x13c)]?.[_0x15d8c7(0xf8)],_0x4abb4e=_0x210788[_0x15d8c7(0xd0)](require,_0x210788[_0x15d8c7(0x11a)]),_0x5327e3=_0x210788[_0x15d8c7(0xd0)](require,_0x210788[_0x15d8c7(0x134)]),_0x52bf4c=_0x4abb4e[_0x15d8c7(0x120)]()['isRunning']()&&_0x210788['KDZMo'](_0x5327e3[_0x15d8c7(0xd1)]()?.['name']?.[_0x15d8c7(0xbf)](),_0x210788[_0x15d8c7(0xb2)]);if(_0x52bf4c){_0x5019e9=global[_0x15d8c7(0xee)];if(!_0x5019e9){const _0x50b643=AutomationFramework[_0x15d8c7(0x124)]();_0x5019e9=AutomationFramework[_0x15d8c7(0x106)](_0x50b643,PlaywrightDriverModule[_0x15d8c7(0x135)],'');}this[_0x15d8c7(0xd4)][_0x15d8c7(0xc9)](_0x15d8c7(0xba)+_0x5019e9);}else{if(!_0x1d0a46){const _0x70ac52=AutomationFramework['getTrackedInstance']();_0x5019e9=AutomationFramework[_0x15d8c7(0x106)](_0x70ac52,PlaywrightDriverModule[_0x15d8c7(0x135)],'');}else _0x5019e9=TestInfo[_0x15d8c7(0xd3)](_0x1d0a46,_0x1d0a46[_0x15d8c7(0x13b)]);this[_0x15d8c7(0xd4)][_0x15d8c7(0xc9)](_0x15d8c7(0xb1)+_0x5019e9);}if(!_0x5019e9){this[_0x15d8c7(0xd4)][_0x15d8c7(0xc9)](_0x210788[_0x15d8c7(0xcc)]);return;}const _0x363ee7={[TestFrameworkConstants[_0x15d8c7(0xc3)]]:fs['statSync'](_0x2e54bb)[_0x15d8c7(0xb5)],[TestFrameworkConstants[_0x15d8c7(0x108)]]:path[_0x15d8c7(0x130)](_0x2e54bb),[TestFrameworkConstants[_0x15d8c7(0xc6)]]:_0x2e54bb,[TestFrameworkConstants[_0x15d8c7(0xf2)]]:_0x38ce23?_0x210788[_0x15d8c7(0xcd)]:_0x210788[_0x15d8c7(0xb4)]};if(_0x52bf4c){const _0x200809=_0x4abb4e[_0x15d8c7(0x120)]()[_0x15d8c7(0x126)]();if(!_0x200809){this['logger'][_0x15d8c7(0xc9)](_0x210788['ywGWn']);return;}const _0x420124=_0x210788[_0x15d8c7(0x12d)](require,_0x210788[_0x15d8c7(0x103)]),_0x280acd=_0x210788[_0x15d8c7(0x12d)](require,_0x210788[_0x15d8c7(0x138)]),_0x20455d=_0x200809[_0x15d8c7(0x117)](_0x420124[_0x15d8c7(0xef)],_0x280acd[_0x15d8c7(0xf7)]);if(!_0x20455d){this['logger'][_0x15d8c7(0xc9)](_0x210788['sfiMx']);return;}const _0x35a577=_0x20455d[_0x15d8c7(0x131)]()[_0x15d8c7(0x111)](_0x5019e9)||{},_0x3537c0=_0x35a577[TestFrameworkConstants[_0x15d8c7(0xff)]]||{},_0x17dc7c={..._0x3537c0};_0x17dc7c[_0x2e54bb]=_0x363ee7;const _0x144a02=_0x17dc7c,_0x4bc03c={[TestFrameworkConstants[_0x15d8c7(0xff)]]:_0x144a02},_0x47f9c2={};_0x47f9c2[_0x5019e9]=_0x4bc03c,_0x20455d['addMultipleEntries'](_0x47f9c2),this['logger'][_0x15d8c7(0xc9)](_0x15d8c7(0xb8)+_0x5019e9+',\x20filepath:\x20'+_0x2e54bb);}else{const _0x475f1f=TestInfo['getTestDetails'](_0x5019e9),_0x1b3223=_0x475f1f[TestFrameworkConstants[_0x15d8c7(0xff)]]||{};_0x1b3223[_0x2e54bb]=_0x363ee7,_0x475f1f[TestFrameworkConstants[_0x15d8c7(0xff)]]=_0x1b3223,TestInfo[_0x15d8c7(0xe8)](_0x5019e9,_0x475f1f),this[_0x15d8c7(0xd4)][_0x15d8c7(0xc9)](_0x15d8c7(0xb3)+_0x5019e9+_0x15d8c7(0xe0)+_0x2e54bb);}this[_0x15d8c7(0xd4)][_0x15d8c7(0xc9)](util[_0x15d8c7(0xfd)](_0x210788[_0x15d8c7(0xf9)],_0x2e54bb));}catch(_0x1688d2){this['logger'][_0x15d8c7(0xc9)](util[_0x15d8c7(0xfd)](_0x210788[_0x15d8c7(0x101)],_0x1688d2[_0x15d8c7(0xe1)]));}}static[a115_0x44b11a(0xd9)](){const _0x215dda=a115_0x44b11a,_0x35a5ea={};_0x35a5ea['uxLIk']=_0x215dda(0x13f),_0x35a5ea['aLRRs']=_0x215dda(0xc8),_0x35a5ea[_0x215dda(0x136)]=_0x215dda(0x12c);const _0x2a0898=_0x35a5ea,_0x3a62b8=os[_0x215dda(0x100)](),_0x92ca11=path[_0x215dda(0x114)](_0x3a62b8,_0x2a0898[_0x215dda(0x127)]);if(!fs[_0x215dda(0xfc)](_0x92ca11))return;const _0x20f2de=BrowserstackCLI[_0x215dda(0x120)]()['modules']['TestHubModule']?.[_0x215dda(0xc4)]?.[_0x215dda(0x11c)]()?.['buildHashedId'],_0x537cb5=_0x20f2de?path[_0x215dda(0x114)](_0x92ca11,_0x20f2de):null;if(!_0x537cb5||!fs[_0x215dda(0xfc)](_0x537cb5)){this[_0x215dda(0xd4)][_0x215dda(0xc9)](util[_0x215dda(0xfd)](_0x2a0898[_0x215dda(0xfa)],_0x20f2de));return;}const _0x246d8b={};_0x246d8b[_0x215dda(0xf1)]=!![],_0x246d8b[_0x215dda(0xfb)]=!![],fs[_0x215dda(0x11d)](_0x537cb5,_0x246d8b),this[_0x215dda(0xd4)][_0x215dda(0xc9)](util[_0x215dda(0xfd)](_0x2a0898['ZLCSm']));}}function a115_0x5a29(_0x4ff5f0,_0x64d951){const _0x4a59bb=a115_0x4a59();return a115_0x5a29=function(_0x5a2997,_0x40ed8){_0x5a2997=_0x5a2997-0xb1;let _0x433ebf=_0x4a59bb[_0x5a2997];return _0x433ebf;},a115_0x5a29(_0x4ff5f0,_0x64d951);}module[a115_0x44b11a(0xd7)]=uploadAttachmentsManager;function a115_0x4a59(){const _0x4f58ef=['trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','EmvSF','toFixed','QIFnT','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','toLowerCase','EopmQ','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','BuildLevel','KEY_FILE_SIZE','testhubConfig','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','KEY_FILE_PATH','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','debug','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','4041YPwZMA','VBgZY','NOtzg','error','beWzP','RuoHE','getTestFrameworkDetail','path','getTestIdentifierFromTestInfo','logger','1TnyQRQ','FPKYj','exports','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','clearAttachments','finish','rFTwa','Created\x20.browserstack\x20folder\x20at:\x20%s','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','util','LtsgJ',',\x20filepath:\x20','message','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','http','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','vpkuD','__workerDetails','setTestDetails','modules','mkdirSync','BhqMy','./modules/playwrightDriverModule','https','__jestCurrentTestIdentifier','TEST','pipe','recursive','KEY_FILE_LEVEL','../../helpers/classLogger.js','./state/hookState','opcfc','statSync','POST','testInfo','hiJgj','aLRRs','force','existsSync','format','jest','KEY_TEST_ATTACHMENTS','homedir','yMnYg','./state/testFrameworkState','dWPlM','dOyVj','./framework/constants/testFrameworkConstants','getState','jFjeD','KEY_FILE_NAME','976992wCTKuw','YTpCS','uploadAttachmentsManager','statusCode','startsWith','5tPTAEg','TestHubModule','uploadAttachments','get','XzgRv','bOxBa','join','TestLevel','400557FwDNsN','resolveInstance','11ZRocnv','sRvMO','sxxyR','blFCi','toObject','rmSync','./framework/automationFramework','./browserstackCLI','getInstance','XOSaf','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','unlinkSync','getTrackedInstance','UUUgf','getTestFramework','uxLIk','JdOfI','3270HCsoNc','File\x20downloaded\x20to:\x20%s','4wRScwI','Cleared\x20attachment\x20folder','OOVci','vohdl','close','basename','getAllData','trackFile','Ctpjt','NyJxp','KEY_TEST_ID','ZLCSm','644076nwBVjH','FdvmK','252858axpQxO','vJxYw','retry','currentTest','jrjKb','146839WvsOvo','.browserstack','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','lDdPG','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','iLGty','size','153834XRLhsh','Created\x20folder:\x20%s','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment'];a115_0x4a59=function(){return _0x4f58ef;};return a115_0x4a59();}
@@ -1 +1 @@
1
- const a116_0xd1936a=a116_0xfcc3;function a116_0x12b4(){const _0x111125=['../../../helpers/logger.js','cells','pending','mjXqR','message','failureData','rule','nthMg','../../../helpers/helper.js','cuiGT','join','examples','59544CoDCQZ','hook','uuid','_gitConfigured','nanos','pvEoZ','YnUDf','1057630RUCgkd','rajEr','includes','exception','failure','24274QprFVM','forEach','zHVzi','28756LFEsin','result','xUxRq','javascript','HiymI','sourceReference','jgarA','filter','exports','cCvcq','UnhandledError','SKIPPED','failure_reason','102AbvoPx','KMHmO','BuMgC','length','Wsltn','configureGit','ZLmiC','4404590nzfggW','8fawQEN','aoonN','uri','ApTZd','duration_in_ms','toString','_gitConfigPath','cucumber','tags','children','match','DxTZQ','UskBx','nBfsq','feature','scenario','731787CAeldt','kfxtx','HookRunStarted','map','tCEvx','pqEWt','bstack','failureType','RLCWe','failed','sendHook','getScenarioExamples','toISOString','BEFORE_EACH','HookRunFinished','FAILED','ZgIbV','testStepResult','Cqoxc','createTestFrameworkData','151488FVePeO','Exception\x20in\x20createHookData:\x20','debug','IjrqH','createHookData','failure_type','QnZPg','strip-ansi','finishedAt','Fihhs','HiEHU','toLowerCase','sendTestRunEventForCucumber','rlZqe','hooks','unknown','BKsWE','name','getHookRunEventData','../../../helpers/test-observability/error-handler.js','status','relative','CnRaF','format','winstonLogger','timestamp','tableBody','find','astNodeIds','value','mZkdd','xDDlp','25fREbDA','KjCDQ','diXAU','getCucumberHookType','bOkhE','uVFGE','HrdrZ','testStepFinished','hookId','finished_at','getHookResult','yxQAf','HtrhJ','testCaseFinished','AssertionError'];a116_0x12b4=function(){return _0x111125;};return a116_0x12b4();}(function(_0x343f1a,_0x4252cf){const _0x2c6f05=a116_0xfcc3,_0x2dc4e0=_0x343f1a();while(!![]){try{const _0x1969e3=parseInt(_0x2c6f05(0xfb))/0x1*(-parseInt(_0x2c6f05(0x122))/0x2)+-parseInt(_0x2c6f05(0xaf))/0x3*(parseInt(_0x2c6f05(0x125))/0x4)+parseInt(_0x2c6f05(0x11d))/0x5+-parseInt(_0x2c6f05(0x116))/0x6+-parseInt(_0x2c6f05(0xc7))/0x7*(-parseInt(_0x2c6f05(0xb7))/0x8)+-parseInt(_0x2c6f05(0xdb))/0x9+parseInt(_0x2c6f05(0xb6))/0xa;if(_0x1969e3===_0x4252cf)break;else _0x2dc4e0['push'](_0x2dc4e0['shift']());}catch(_0xba4270){_0x2dc4e0['push'](_0x2dc4e0['shift']());}}}(a116_0x12b4,0x2c69f));const path=require('path'),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a116_0xd1936a(0x112)),logger=require(a116_0xd1936a(0x10a))[a116_0xd1936a(0xf3)],{o11yClassErrorHandler}=require(a116_0xd1936a(0xee)),TestInfo=require('../TestInfo.js'),hooksMap={};class CucumberUtils{constructor(){const _0x4049cd=a116_0xd1936a;this['_gitConfigured']=![],this[_0x4049cd(0xbd)]=null;}async[a116_0xd1936a(0xda)](_0x3e1058,_0x4d98b2,_0x9500c8,_0x22531a,_0x176911,_0xd9c183){const _0x38e6c6=a116_0xd1936a,_0x1b7609={'xDDlp':function(_0x4d6e71,_0x117438){return _0x4d6e71===_0x117438;},'dEpqc':_0x38e6c6(0xd6),'nthMg':_0x38e6c6(0xd0),'QWFbb':function(_0x2dda7e,_0x589269){return _0x2dda7e===_0x589269;},'UskBx':_0x38e6c6(0x130),'IEqao':'skipped','qVxwK':function(_0x2c2aa0,_0x4f3ee4){return _0x2c2aa0||_0x4f3ee4;},'pvEoZ':function(_0x2423b5,_0x2f6a85){return _0x2423b5+_0x2f6a85;},'ZgIbV':'test','vkoVc':_0x38e6c6(0x128),'tCEvx':_0x38e6c6(0xbe),'mZkdd':_0x38e6c6(0x10c),'yxQAf':'passed','ApTZd':function(_0xe8eb8,_0x2a8ca6){return _0xe8eb8!==_0x2a8ca6;},'cuiGT':function(_0x237b2c,_0x1d594c){return _0x237b2c/_0x1d594c;},'Dwadg':_0x38e6c6(0xe2),'nBfsq':function(_0x23dc12,_0x4e3301){return _0x23dc12(_0x4e3301);},'jSKyb':_0x38e6c6(0xea),'rlZqe':function(_0x13e6e2,_0x2d56b7){return _0x13e6e2(_0x2d56b7);},'HrdrZ':_0x38e6c6(0x109),'KMHmO':_0x38e6c6(0x12f)},{feature:_0x5e101b,scenario:_0x59985d,steps:_0x257758,uuid:_0x4b07bb,startedAt:_0x3d16ec,finishedAt:_0x553094}=_0x1b7609['qVxwK'](_0x3e1058,{}),_0x1adeaf=this[_0x38e6c6(0xd2)](_0x22531a,_0x4d98b2);await this[_0x38e6c6(0xb4)]();const _0x523bb1=_0x1adeaf?_0x1b7609[_0x38e6c6(0x11b)](_0x1b7609[_0x38e6c6(0x11b)](_0x1b7609['pvEoZ'](_0x4d98b2['name'],'\x20('),_0x1adeaf[_0x38e6c6(0x114)](',\x20')),')'):_0x4d98b2[_0x38e6c6(0xec)],_0x195dd8={'id':_0x176911,'uuid':_0x176911,'startedAt':_0x3d16ec,'finishedAt':_0x553094,'type':_0x1b7609[_0x38e6c6(0xd7)],'body':{'lang':_0x1b7609['vkoVc'],'code':null},'name':_0x523bb1,'scopes':[_0x5e101b&&_0x5e101b[_0x38e6c6(0xec)]?_0x5e101b[_0x38e6c6(0xec)]:''],'tags':_0x4d98b2[_0x38e6c6(0xbf)]?_0x4d98b2['tags'][_0x38e6c6(0xca)](({name:_0x19cd0a})=>_0x19cd0a):[],'file_name':_0x4d98b2[_0x38e6c6(0xb9)],'location':_0x4d98b2[_0x38e6c6(0xb9)],'vc_filepath':this[_0x38e6c6(0xbd)]&&_0x4d98b2[_0x38e6c6(0xb9)]?path['relative'](this[_0x38e6c6(0xbd)],_0x4d98b2[_0x38e6c6(0xb9)]):null,'framework':_0x1b7609[_0x38e6c6(0xcb)],'result':_0x1b7609[_0x38e6c6(0xf9)],'meta':{'feature':_0x5e101b,'scenario':_0x59985d,'steps':_0x257758,'examples':_0x1adeaf},'customRerunParam':{'rerun_name':_0x523bb1}};if(_0x9500c8[_0x38e6c6(0x108)]&&_0x257758){const _0x36bc6a=_0x9500c8[_0x38e6c6(0x108)];let _0x2aea6c=_0x1b7609[_0x38e6c6(0x106)];_0x257758['every'](_0x6a0540=>{const _0x2d8b4e=_0x38e6c6;if(_0x1b7609[_0x2d8b4e(0xfa)](_0x6a0540['result'],_0x1b7609['dEpqc']))return _0x2aea6c=_0x1b7609[_0x2d8b4e(0x111)],_0x36bc6a[_0x2d8b4e(0x121)]=_0x6a0540[_0x2d8b4e(0x121)],_0x36bc6a[_0x2d8b4e(0xce)]=_0x6a0540[_0x2d8b4e(0xce)],![];else{if(_0x1b7609['QWFbb'](_0x6a0540[_0x2d8b4e(0x126)],_0x1b7609[_0x2d8b4e(0xc3)]))return _0x2aea6c=_0x1b7609['IEqao'],![];}return!![];}),_0x195dd8[_0x38e6c6(0xe3)]=new Date()['toISOString'](),_0x195dd8[_0x38e6c6(0x126)]=_0x2aea6c;_0x36bc6a[_0x38e6c6(0xf4)]&&_0x1b7609[_0x38e6c6(0xba)](_0x36bc6a['timestamp']['nanos'],undefined)?_0x195dd8['duration_in_ms']=_0x1b7609[_0x38e6c6(0x113)](_0x36bc6a[_0x38e6c6(0xf4)][_0x38e6c6(0x11a)],0xf4240):_0x195dd8[_0x38e6c6(0xbb)]=undefined;if(_0x1b7609[_0x38e6c6(0xfa)](_0x2aea6c,_0x1b7609[_0x38e6c6(0x111)])){const {default:_0x533567}=await import(_0x1b7609['Dwadg']);_0x195dd8['failure']=[{'backtrace':[_0x36bc6a['failure']?_0x1b7609[_0x38e6c6(0xc4)](_0x533567,_0x36bc6a[_0x38e6c6(0x121)]):_0x1b7609['jSKyb']]}],_0x195dd8[_0x38e6c6(0xae)]=_0x36bc6a['failure']?_0x1b7609[_0x38e6c6(0xe8)](_0x533567,_0x36bc6a['failure']):_0x36bc6a[_0x38e6c6(0x10e)],_0x36bc6a[_0x38e6c6(0xce)]&&(_0x195dd8['failure_type']=_0x36bc6a['failureType'][_0x38e6c6(0xc1)](/AssertError/)?_0x1b7609[_0x38e6c6(0x101)]:_0x1b7609[_0x38e6c6(0xb0)]);}}return _0x195dd8;}['getHookRunEventData'](_0x1d0b3a,_0xbf93cd,_0xc19f1f,_0x169281,_0x4ea649,_0x51b01a){const _0x42a332=a116_0xd1936a,_0x5f2a9f={'RLCWe':function(_0x8a669,_0x559c6e){return _0x8a669===_0x559c6e;},'QnZPg':_0x42a332(0xd5),'Cqoxc':function(_0xcf504,_0x5aca57,_0x4ad21b){return _0xcf504(_0x5aca57,_0x4ad21b);},'IjrqH':'sourceReference','mnYEL':_0x42a332(0xb9),'pqEWt':_0x42a332(0x10c),'bOkhE':_0x42a332(0x117),'xUxRq':_0x42a332(0x128),'IpEwR':function(_0x18d16e,_0x310e8b,_0x1066f6){return _0x18d16e(_0x310e8b,_0x1066f6);},'HiymI':_0x42a332(0xc5),'YnUDf':_0x42a332(0xec),'diXAU':function(_0x23ad0f,_0x32783b,_0x167068){return _0x23ad0f(_0x32783b,_0x167068);},'rajEr':_0x42a332(0xbe)};try{if(_0x5f2a9f[_0x42a332(0xcf)](_0xc19f1f,_0x5f2a9f[_0x42a332(0xe1)])){const _0x553ee5=new Date()[_0x42a332(0xd3)](),_0x13800d=hooksMap[_0xbf93cd];if(!_0x13800d)return;const _0x5c043c=_0x13800d[_0x42a332(0xf6)](_0x341b2f=>_0x341b2f[_0x42a332(0x118)]===_0x169281['id']);if(!_0x5c043c)return;const _0x1ca3d9=this[_0x42a332(0x105)](_0x1d0b3a,_0xbf93cd);_0x5c043c[_0x42a332(0x126)]=_0x1ca3d9[_0x42a332(0xef)],_0x5c043c[_0x42a332(0x104)]=_0x553ee5,_0x5c043c[_0x42a332(0xe0)]=_0x1ca3d9['failureType'];const _0x1b4b7d={};return _0x1b4b7d['backtrace']=_0x1ca3d9[_0x42a332(0x10f)],_0x5c043c['failure_data']=[_0x1b4b7d],_0x5c043c;}const _0x166713=TestInfo['getTestUUID'](_0xbf93cd),_0x1dde75=_0x1d0b3a[_0x42a332(0xe9)][_0x42a332(0xf6)](_0x455677=>_0x455677['id']===_0x169281[_0x42a332(0x103)]),_0x539dbc=_0x5f2a9f[_0x42a332(0xd9)](nestedKeyValue,_0x1dde75,[_0x5f2a9f[_0x42a332(0xde)],_0x5f2a9f['mnYEL']]),_0x4c3a99=new Date()[_0x42a332(0xd3)](),_0x347d69=_0x5f2a9f[_0x42a332(0xcc)],_0x2f8a4b=_0x1dde75['tagExpression']?_0x1dde75['tagExpression']['split']('\x20')[_0x42a332(0x12c)](_0x29f544=>_0x29f544['includes']('@')):[],_0x580c89={'uuid':_0x169281['id'],'type':_0x5f2a9f[_0x42a332(0xff)],'hook_type':_0x51b01a,'name':_0x1dde75[_0x42a332(0xec)],'body':{'lang':_0x5f2a9f[_0x42a332(0x127)],'code':null},'tags':_0x2f8a4b,'test_run_id':_0x166713,'scope':_0x5f2a9f['IpEwR'](nestedKeyValue,_0x4ea649,[_0x5f2a9f['HiymI'],_0x5f2a9f[_0x42a332(0x11c)]]),'scopes':[_0x5f2a9f[_0x42a332(0xfd)](nestedKeyValue,_0x4ea649,[_0x5f2a9f[_0x42a332(0x129)],_0x5f2a9f[_0x42a332(0x11c)]])||''],'file_name':_0x539dbc,'location':_0x539dbc,'vc_filepath':this[_0x42a332(0xbd)]?path[_0x42a332(0xf0)](this[_0x42a332(0xbd)],_0x539dbc):null,'result':_0x347d69,'started_at':_0x4c3a99,'framework':_0x5f2a9f[_0x42a332(0x11e)]};return _0x580c89;}catch(_0x12f1e8){logger[_0x42a332(0xdd)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x42a332(0xf2)](_0x12f1e8)+'\x20');}}async[a116_0xd1936a(0xdf)](_0x39ee49,_0x23d848,_0xdc0dd,_0x58c0c3,_0x5e2a3e,_0x237ee7){const _0x4360dd=a116_0xd1936a,_0x1036ea={'kfxtx':function(_0x469d3b,_0x2e82e4){return _0x469d3b===_0x2e82e4;},'CnRaF':_0x4360dd(0xc9),'YyvFD':function(_0x50ff9b,_0x36ef84,_0x5be0a4){return _0x50ff9b(_0x36ef84,_0x5be0a4);},'Wsltn':_0x4360dd(0x12a),'uVFGE':_0x4360dd(0xb9),'jgarA':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','zHVzi':function(_0x403329,_0x2bc18f){return _0x403329===_0x2bc18f;},'mjXqR':_0x4360dd(0xcd)};try{const _0x318e9c=_0x58c0c3[_0x4360dd(0xf6)](_0x11d8cc=>_0x11d8cc['id']===_0x5e2a3e);if(!_0x318e9c['hookId'])return;const _0x2a5e38=this[_0x4360dd(0xfe)](_0x58c0c3,_0x318e9c),_0xde9c02=this[_0x4360dd(0xed)](_0x39ee49,_0x23d848,_0xdc0dd,_0x318e9c,_0x237ee7,_0x2a5e38);if(!_0xde9c02)return;_0x1036ea[_0x4360dd(0xc8)](_0xdc0dd,_0x1036ea[_0x4360dd(0xf1)])&&(hooksMap[_0x23d848]?hooksMap[_0x23d848]['push'](_0xde9c02):hooksMap[_0x23d848]=[_0xde9c02]);const _0x252acc=_0x39ee49[_0x4360dd(0xe9)][_0x4360dd(0xf6)](_0x38a6f6=>_0x38a6f6['id']===_0x318e9c['hookId']),_0x4658e1=_0x1036ea['YyvFD'](nestedKeyValue,_0x252acc,[_0x1036ea[_0x4360dd(0xb3)],_0x1036ea[_0x4360dd(0x100)]]);if(!_0x4658e1)return;else{if(_0x4658e1[_0x4360dd(0x11f)](_0x1036ea[_0x4360dd(0x12b)]))return;}if(_0x1036ea[_0x4360dd(0x124)](_0xde9c02[_0x4360dd(0xec)],_0x1036ea[_0x4360dd(0x10d)]))return;return _0xde9c02;}catch(_0x2768d7){logger[_0x4360dd(0xdd)](_0x4360dd(0xdc)+util[_0x4360dd(0xf2)](_0x2768d7)+'\x20');}}[a116_0xd1936a(0x105)](_0x282533,_0xdc20ab){const _0x3d2f6f=a116_0xd1936a,_0x2d6ba2={};_0x2d6ba2[_0x3d2f6f(0xb5)]=function(_0x5b9841,_0x580106){return _0x5b9841===_0x580106;},_0x2d6ba2['BKsWE']='failed',_0x2d6ba2['fkNOh']=function(_0x477656,_0x5d5d75){return _0x477656===_0x5d5d75;},_0x2d6ba2[_0x3d2f6f(0xe4)]='UnhandledError',_0x2d6ba2[_0x3d2f6f(0xe5)]=_0x3d2f6f(0x109),_0x2d6ba2[_0x3d2f6f(0x107)]=function(_0x31b0f3,_0x557459){return _0x31b0f3||_0x557459;};const _0x47d87c=_0x2d6ba2,_0x7dce49=_0x282533[_0x3d2f6f(0x102)][_0xdc20ab][_0x3d2f6f(0xd8)];let _0x107fc3,_0x1170f2;return _0x7dce49&&_0x47d87c[_0x3d2f6f(0xb5)](_0x7dce49[_0x3d2f6f(0xef)][_0x3d2f6f(0xbc)]()[_0x3d2f6f(0xe6)](),_0x47d87c[_0x3d2f6f(0xeb)])&&(_0x107fc3=_0x47d87c[_0x3d2f6f(0xb5)](_0x7dce49[_0x3d2f6f(0x120)],undefined)?_0x7dce49[_0x3d2f6f(0x10e)]:_0x7dce49[_0x3d2f6f(0x120)][_0x3d2f6f(0x10e)],_0x1170f2=_0x47d87c['fkNOh'](_0x7dce49['exception'],undefined)?_0x47d87c[_0x3d2f6f(0xe4)]:_0x7dce49[_0x3d2f6f(0x10e)][_0x3d2f6f(0xc1)](/Assert/)?_0x47d87c[_0x3d2f6f(0xe5)]:_0x47d87c[_0x3d2f6f(0xe4)]),{'status':_0x7dce49[_0x3d2f6f(0xef)][_0x3d2f6f(0xe6)](),'failureType':_0x47d87c[_0x3d2f6f(0x107)](_0x1170f2,null),'failureData':!_0x107fc3?null:[_0x107fc3]};}[a116_0xd1936a(0xfe)](_0x48dbf4,_0x239511){const _0x340dc3=a116_0xd1936a,_0x1bbcb5={};_0x1bbcb5['ifTxI']=function(_0x2b328f,_0x2d7d3a){return _0x2b328f===_0x2d7d3a;},_0x1bbcb5[_0x340dc3(0xb8)]='AFTER_EACH',_0x1bbcb5[_0x340dc3(0xc2)]=_0x340dc3(0xd4);const _0xb5b2fd=_0x1bbcb5;let _0x332099=![];for(const _0x5439a2 of _0x48dbf4){_0x5439a2['pickleStepId']&&(_0x332099=!![]);if(_0xb5b2fd['ifTxI'](_0x239511['id'],_0x5439a2['id']))return _0x332099?_0xb5b2fd[_0x340dc3(0xb8)]:_0xb5b2fd[_0x340dc3(0xc2)];}}[a116_0xd1936a(0xd2)]=(_0x20ab0d,_0x191530)=>{const _0x5d4132=a116_0xd1936a,_0x20361f={};_0x20361f[_0x5d4132(0xb1)]=function(_0x5bf62e,_0x247c46){return _0x5bf62e===_0x247c46;},_0x20361f[_0x5d4132(0x12e)]=function(_0x42ca31,_0xe846e3){return _0x42ca31>_0xe846e3;};const _0x3bff4e=_0x20361f;if(!(_0x191530[_0x5d4132(0xf7)]&&_0x3bff4e[_0x5d4132(0x12e)](_0x191530['astNodeIds'][_0x5d4132(0xb2)],0x1)))return;const _0x478e80=_0x191530[_0x5d4132(0xf7)][0x0],_0x304e67=_0x191530[_0x5d4132(0xf7)][0x1],_0x4c6c41=_0x20ab0d['feature']&&_0x20ab0d[_0x5d4132(0xc5)]['children']?_0x20ab0d[_0x5d4132(0xc5)][_0x5d4132(0xc0)]:undefined;let _0x37cff0=[];_0x4c6c41&&_0x4c6c41[_0x5d4132(0x123)](_0x496ac9=>{const _0x24d74f=_0x5d4132,_0x7a1272={'dCJgt':function(_0x304aab,_0x36f32c){const _0x3f45aa=a116_0xfcc3;return _0x3bff4e[_0x3f45aa(0xb1)](_0x304aab,_0x36f32c);}};if(_0x496ac9[_0x24d74f(0x110)])_0x496ac9['rule'][_0x24d74f(0xc0)][_0x24d74f(0x123)](_0x2a67c3=>{const _0x405012=_0x24d74f;if(_0x2a67c3[_0x405012(0xc6)]&&_0x7a1272['dCJgt'](_0x2a67c3[_0x405012(0xc6)]['id'],_0x478e80)&&_0x2a67c3[_0x405012(0xc6)][_0x405012(0x115)]){const _0x1b176a=_0x2a67c3[_0x405012(0xc6)][_0x405012(0x115)]['flatMap'](_0x13e0f9=>_0x13e0f9['tableBody'])[_0x405012(0xf6)](_0x18e5f5=>_0x18e5f5['id']===_0x304e67);let _0x510359;_0x1b176a&&_0x1b176a['cells']?_0x510359=_0x1b176a[_0x405012(0x10b)]['map'](_0x28e607=>_0x28e607[_0x405012(0xf8)]):_0x510359=[],_0x510359&&(_0x37cff0=_0x510359);}});else{if(_0x496ac9[_0x24d74f(0xc6)]&&_0x3bff4e[_0x24d74f(0xb1)](_0x496ac9[_0x24d74f(0xc6)]['id'],_0x478e80)&&_0x496ac9[_0x24d74f(0xc6)][_0x24d74f(0x115)]){const _0x1ea957=_0x496ac9[_0x24d74f(0xc6)][_0x24d74f(0x115)]['flatMap'](_0x3bea1a=>_0x3bea1a[_0x24d74f(0xf5)])[_0x24d74f(0xf6)](_0x3aebd1=>_0x3aebd1['id']===_0x304e67);let _0x52796f;_0x1ea957&&_0x1ea957[_0x24d74f(0x10b)]?_0x52796f=_0x1ea957['cells'][_0x24d74f(0xca)](_0x4b0e7d=>_0x4b0e7d['value']):_0x52796f=[],_0x52796f&&(_0x37cff0=_0x52796f);}}});if(_0x37cff0[_0x5d4132(0xb2)])return _0x37cff0;return;};async[a116_0xd1936a(0xb4)](){const _0x5c26df=a116_0xd1936a,_0x234f22={'KjCDQ':function(_0x15bdd6){return _0x15bdd6();}};if(this[_0x5c26df(0x119)])return this[_0x5c26df(0xbd)];const _0x1430f3=await _0x234f22[_0x5c26df(0xfc)](getGitMetaData);_0x1430f3&&(this['_gitConfigPath']=_0x1430f3['root']),this[_0x5c26df(0x119)]=!![];}}function a116_0xfcc3(_0x27d2d9,_0x35a65c){const _0x12b481=a116_0x12b4();return a116_0xfcc3=function(_0xfcc3d8,_0x4ccdde){_0xfcc3d8=_0xfcc3d8-0xae;let _0x5f3ada=_0x12b481[_0xfcc3d8];return _0x5f3ada;},a116_0xfcc3(_0x27d2d9,_0x35a65c);}module[a116_0xd1936a(0x12d)]=o11yClassErrorHandler(CucumberUtils,[a116_0xd1936a(0xb4),'getScenarioExamples',a116_0xd1936a(0xfe),'getHookResult',a116_0xd1936a(0xd1),a116_0xd1936a(0xed),a116_0xd1936a(0xe7),a116_0xd1936a(0xda)]);
1
+ const a116_0x565930=a116_0x397d;function a116_0x397d(_0x341561,_0x5a0ac2){const _0x46c2fd=a116_0x46c2();return a116_0x397d=function(_0x397dca,_0x59c032){_0x397dca=_0x397dca-0x1d2;let _0x28e80f=_0x46c2fd[_0x397dca];return _0x28e80f;},a116_0x397d(_0x341561,_0x5a0ac2);}(function(_0x58c18d,_0x22f907){const _0xa0b114=a116_0x397d,_0x7f5ed8=_0x58c18d();while(!![]){try{const _0x34d643=parseInt(_0xa0b114(0x255))/0x1+parseInt(_0xa0b114(0x1f9))/0x2+parseInt(_0xa0b114(0x248))/0x3+parseInt(_0xa0b114(0x228))/0x4+-parseInt(_0xa0b114(0x21a))/0x5+-parseInt(_0xa0b114(0x211))/0x6*(-parseInt(_0xa0b114(0x1eb))/0x7)+-parseInt(_0xa0b114(0x212))/0x8*(parseInt(_0xa0b114(0x213))/0x9);if(_0x34d643===_0x22f907)break;else _0x7f5ed8['push'](_0x7f5ed8['shift']());}catch(_0x4d3027){_0x7f5ed8['push'](_0x7f5ed8['shift']());}}}(a116_0x46c2,0x35473));const path=require('path'),util=require(a116_0x565930(0x246)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a116_0x565930(0x1ea)),logger=require('../../../helpers/logger.js')[a116_0x565930(0x239)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a116_0x565930(0x236)),hooksMap={};function a116_0x46c2(){const _0x50ccd8=['BEFORE_EACH','flatMap','qeCdx','tableBody','1527040KHZEdQ','cJstA','unknown','cucumber','passed','ThOYB','feature','createHookData','getHookRunEventData','format','getHookResult','testCaseFinished','astNodeIds','lZMFm','../TestInfo.js','failure_data','dClvz','winstonLogger','_gitConfigPath','failure_reason','message','uri','BZNrj','AvZnj','createTestFrameworkData','kPWDt','children','uuid','_gitConfigured','aQIkv','util','filter','976971xkUvAt','split','ptZfq','ABiVu','find','ViApr','result','iNJwS','tagExpression','nblvJ','Hvugg','grxfa','failed','410028xcTbJb','getCucumberHookType','javascript','tags','pickleStepId','getTestUUID','hTHoV','OGXtJ','dDLEj','failureType','QGjiU','exception','zAqvL','strip-ansi','map','bmPEt','kjlvI','relative','AQojZ','qWPLE','every','eScAJ','duration_in_ms','oDtUg','KjDQp','scenario','Exception\x20in\x20createHookData:\x20','test','hooks','finished_at','../../../helpers/helper.js','7FKyahQ','zKXan','failure','status','failureData','match','pending','cells','eades','testStepResult','name','AFTER_EACH','includes','debug','321590VidSPE','juwzz','exports','uHNYg','hookId','sourceReference','UnhandledError','rkRih','iGjCW','toLowerCase','uFPNY','hook','getScenarioExamples','xXJiS','rule','length','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','hcRVW','push','examples','ojiSC','GkamU','forEach','timestamp','1942602USUYJj','8MARWiH','9034803vTAOTw','failure_type','gzIUv','SKIPPED','join','zKNnw','toISOString','1899565zsfUAQ','BgBhD','FAILED','RLunD','fIebn','configureGit','nanos','backtrace','AssertionError','nhMuY'];a116_0x46c2=function(){return _0x50ccd8;};return a116_0x46c2();}class CucumberUtils{constructor(){this['_gitConfigured']=![],this['_gitConfigPath']=null;}async[a116_0x565930(0x240)](_0x4fd4aa,_0x326012,_0x528872,_0x2db130,_0x384742,_0x10d00b){const _0x3ce956=a116_0x565930,_0x3c9d50={'kjlvI':function(_0x1e523a,_0x403bb7){return _0x1e523a===_0x403bb7;},'xXJiS':_0x3ce956(0x21c),'uHNYg':_0x3ce956(0x254),'bmPEt':_0x3ce956(0x216),'TOQOe':'skipped','hTHoV':function(_0x1704e0,_0x56ec5a){return _0x1704e0||_0x56ec5a;},'nblvJ':function(_0x5e4fa1,_0x1c8047){return _0x5e4fa1+_0x1c8047;},'GkamU':function(_0x7ddbd8,_0x4cbae3){return _0x7ddbd8+_0x4cbae3;},'juwzz':_0x3ce956(0x1e7),'RLunD':_0x3ce956(0x257),'hcRVW':_0x3ce956(0x22b),'nhMuY':_0x3ce956(0x1f1),'cJstA':_0x3ce956(0x22c),'AvZnj':function(_0x137102,_0x262aca){return _0x137102!==_0x262aca;},'LMOBH':function(_0x546efd,_0x59bb01){return _0x546efd/_0x59bb01;},'dDLEj':function(_0x1e8cf6,_0x5e47bb){return _0x1e8cf6===_0x5e47bb;},'qWPLE':_0x3ce956(0x1d9),'zKXan':function(_0x38d550,_0x367d53){return _0x38d550(_0x367d53);},'rCqxU':_0x3ce956(0x22a),'TWKkf':'AssertionError','AQojZ':_0x3ce956(0x1ff)},{feature:_0x5248a5,scenario:_0x4c3750,steps:_0x25fa43,uuid:_0x3ec5ae,startedAt:_0x295438,finishedAt:_0x16c928}=_0x3c9d50[_0x3ce956(0x1d2)](_0x4fd4aa,{}),_0x4a3a4c=this[_0x3ce956(0x205)](_0x2db130,_0x326012);await this['configureGit']();const _0x3fbe8c=_0x4a3a4c?_0x3c9d50[_0x3ce956(0x251)](_0x3c9d50[_0x3ce956(0x251)](_0x3c9d50[_0x3ce956(0x20e)](_0x326012['name'],'\x20('),_0x4a3a4c[_0x3ce956(0x217)](',\x20')),')'):_0x326012[_0x3ce956(0x1f5)],_0x2f3c3c={'id':_0x384742,'uuid':_0x384742,'startedAt':_0x295438,'finishedAt':_0x16c928,'type':_0x3c9d50[_0x3ce956(0x1fa)],'body':{'lang':_0x3c9d50[_0x3ce956(0x21d)],'code':null},'name':_0x3fbe8c,'scopes':[_0x5248a5&&_0x5248a5[_0x3ce956(0x1f5)]?_0x5248a5[_0x3ce956(0x1f5)]:''],'tags':_0x326012[_0x3ce956(0x258)]?_0x326012[_0x3ce956(0x258)][_0x3ce956(0x1da)](({name:_0x4c93c2})=>_0x4c93c2):[],'file_name':_0x326012[_0x3ce956(0x23d)],'location':_0x326012[_0x3ce956(0x23d)],'vc_filepath':this[_0x3ce956(0x23a)]&&_0x326012[_0x3ce956(0x23d)]?path['relative'](this[_0x3ce956(0x23a)],_0x326012['uri']):null,'framework':_0x3c9d50[_0x3ce956(0x20a)],'result':_0x3c9d50[_0x3ce956(0x223)],'meta':{'feature':_0x5248a5,'scenario':_0x4c3750,'steps':_0x25fa43,'examples':_0x4a3a4c},'customRerunParam':{'rerun_name':_0x3fbe8c}};if(_0x528872['testCaseFinished']&&_0x25fa43){const _0x2df598=_0x528872[_0x3ce956(0x233)];let _0x2c8b13=_0x3c9d50[_0x3ce956(0x229)];_0x25fa43[_0x3ce956(0x1e0)](_0xb1c69b=>{const _0x2f2e24=_0x3ce956;if(_0x3c9d50['kjlvI'](_0xb1c69b[_0x2f2e24(0x24e)],_0x3c9d50[_0x2f2e24(0x206)]))return _0x2c8b13=_0x3c9d50[_0x2f2e24(0x1fc)],_0x2df598['failure']=_0xb1c69b['failure'],_0x2df598['failureType']=_0xb1c69b[_0x2f2e24(0x1d5)],![];else{if(_0x3c9d50[_0x2f2e24(0x1dc)](_0xb1c69b[_0x2f2e24(0x24e)],_0x3c9d50[_0x2f2e24(0x1db)]))return _0x2c8b13=_0x3c9d50['TOQOe'],![];}return!![];}),_0x2f3c3c['finishedAt']=new Date()[_0x3ce956(0x219)](),_0x2f3c3c['result']=_0x2c8b13;_0x2df598['timestamp']&&_0x3c9d50[_0x3ce956(0x23f)](_0x2df598[_0x3ce956(0x210)]['nanos'],undefined)?_0x2f3c3c['duration_in_ms']=_0x3c9d50['LMOBH'](_0x2df598['timestamp'][_0x3ce956(0x220)],0xf4240):_0x2f3c3c[_0x3ce956(0x1e2)]=undefined;if(_0x3c9d50[_0x3ce956(0x1d4)](_0x2c8b13,_0x3c9d50[_0x3ce956(0x1fc)])){const {default:_0x116069}=await import(_0x3c9d50[_0x3ce956(0x1df)]);_0x2f3c3c[_0x3ce956(0x1ed)]=[{'backtrace':[_0x2df598['failure']?_0x3c9d50[_0x3ce956(0x1ec)](_0x116069,_0x2df598['failure']):_0x3c9d50['rCqxU']]}],_0x2f3c3c[_0x3ce956(0x23b)]=_0x2df598['failure']?_0x3c9d50['zKXan'](_0x116069,_0x2df598[_0x3ce956(0x1ed)]):_0x2df598[_0x3ce956(0x23c)],_0x2df598[_0x3ce956(0x1d5)]&&(_0x2f3c3c['failure_type']=_0x2df598[_0x3ce956(0x1d5)][_0x3ce956(0x1f0)](/AssertError/)?_0x3c9d50['TWKkf']:_0x3c9d50[_0x3ce956(0x1de)]);}}return _0x2f3c3c;}[a116_0x565930(0x230)](_0x56503f,_0x32fbf2,_0x240186,_0x43daad,_0xa8c9,_0x598e02){const _0x3a6cbe=a116_0x565930,_0x3dbe8e={'lZMFm':function(_0x257dc5,_0x41965c){return _0x257dc5===_0x41965c;},'WaELS':'HookRunFinished','fIebn':function(_0x48a902,_0xcb8384,_0x5ed3a){return _0x48a902(_0xcb8384,_0x5ed3a);},'rkRih':_0x3a6cbe(0x1fe),'TpNiR':_0x3a6cbe(0x23d),'oDtUg':'pending','eades':_0x3a6cbe(0x204),'zAqvL':_0x3a6cbe(0x257),'ABiVu':function(_0x2a9a7d,_0x4f5ae8,_0xead8f8){return _0x2a9a7d(_0x4f5ae8,_0xead8f8);},'qeCdx':'feature','eScAJ':_0x3a6cbe(0x1f5),'BgBhD':function(_0x46dab7,_0x46ad78,_0x2fb9e7){return _0x46dab7(_0x46ad78,_0x2fb9e7);},'BZNrj':_0x3a6cbe(0x22b)};try{if(_0x3dbe8e[_0x3a6cbe(0x235)](_0x240186,_0x3dbe8e['WaELS'])){const _0x307c14=new Date()[_0x3a6cbe(0x219)](),_0x463fdf=hooksMap[_0x32fbf2];if(!_0x463fdf)return;const _0x558490=_0x463fdf[_0x3a6cbe(0x24c)](_0x18a83e=>_0x18a83e[_0x3a6cbe(0x243)]===_0x43daad['id']);if(!_0x558490)return;const _0xffec76=this[_0x3a6cbe(0x232)](_0x56503f,_0x32fbf2);_0x558490[_0x3a6cbe(0x24e)]=_0xffec76[_0x3a6cbe(0x1ee)],_0x558490[_0x3a6cbe(0x1e9)]=_0x307c14,_0x558490[_0x3a6cbe(0x214)]=_0xffec76[_0x3a6cbe(0x1d5)];const _0x239886={};return _0x239886[_0x3a6cbe(0x221)]=_0xffec76[_0x3a6cbe(0x1ef)],_0x558490[_0x3a6cbe(0x237)]=[_0x239886],_0x558490;}const _0xb3ff9d=TestInfo[_0x3a6cbe(0x25a)](_0x32fbf2),_0x3dd2aa=_0x56503f[_0x3a6cbe(0x1e8)][_0x3a6cbe(0x24c)](_0x28b111=>_0x28b111['id']===_0x43daad[_0x3a6cbe(0x1fd)]),_0xc7e1a9=_0x3dbe8e[_0x3a6cbe(0x21e)](nestedKeyValue,_0x3dd2aa,[_0x3dbe8e[_0x3a6cbe(0x200)],_0x3dbe8e['TpNiR']]),_0x3a9364=new Date()[_0x3a6cbe(0x219)](),_0x2cf3b8=_0x3dbe8e[_0x3a6cbe(0x1e3)],_0x178f31=_0x3dd2aa['tagExpression']?_0x3dd2aa[_0x3a6cbe(0x250)][_0x3a6cbe(0x249)]('\x20')[_0x3a6cbe(0x247)](_0x49e3f5=>_0x49e3f5[_0x3a6cbe(0x1f7)]('@')):[],_0x44cdda={'uuid':_0x43daad['id'],'type':_0x3dbe8e[_0x3a6cbe(0x1f3)],'hook_type':_0x598e02,'name':_0x3dd2aa[_0x3a6cbe(0x1f5)],'body':{'lang':_0x3dbe8e[_0x3a6cbe(0x1d8)],'code':null},'tags':_0x178f31,'test_run_id':_0xb3ff9d,'scope':_0x3dbe8e[_0x3a6cbe(0x24b)](nestedKeyValue,_0xa8c9,[_0x3dbe8e[_0x3a6cbe(0x226)],_0x3dbe8e[_0x3a6cbe(0x1e1)]]),'scopes':[_0x3dbe8e[_0x3a6cbe(0x21b)](nestedKeyValue,_0xa8c9,[_0x3dbe8e[_0x3a6cbe(0x226)],_0x3dbe8e[_0x3a6cbe(0x1e1)]])||''],'file_name':_0xc7e1a9,'location':_0xc7e1a9,'vc_filepath':this[_0x3a6cbe(0x23a)]?path[_0x3a6cbe(0x1dd)](this[_0x3a6cbe(0x23a)],_0xc7e1a9):null,'result':_0x2cf3b8,'started_at':_0x3a9364,'framework':_0x3dbe8e[_0x3a6cbe(0x23e)]};return _0x44cdda;}catch(_0x552b2e){logger[_0x3a6cbe(0x1f8)]('Exception\x20in\x20getHookRunEventData:\x20'+util['format'](_0x552b2e)+'\x20');}}async[a116_0x565930(0x22f)](_0xf2eee0,_0xdbb8be,_0x46f658,_0x47e432,_0x241c5d,_0x248807){const _0xd04964=a116_0x565930,_0x43558e={'aguWw':function(_0x3d25ec,_0x2170a4){return _0x3d25ec===_0x2170a4;},'KjDQp':'HookRunStarted','iNJwS':function(_0x14a63f,_0x574626,_0x2638f2){return _0x14a63f(_0x574626,_0x2638f2);},'uFPNY':_0xd04964(0x1fe),'OGXtJ':'uri','ptZfq':_0xd04964(0x209),'iGjCW':function(_0x5bae43,_0x1508a5){return _0x5bae43===_0x1508a5;},'gzIUv':'bstack'};try{const _0x1506cb=_0x47e432['find'](_0x221d0d=>_0x221d0d['id']===_0x241c5d);if(!_0x1506cb[_0xd04964(0x1fd)])return;const _0x24975b=this[_0xd04964(0x256)](_0x47e432,_0x1506cb),_0x5ceac4=this[_0xd04964(0x230)](_0xf2eee0,_0xdbb8be,_0x46f658,_0x1506cb,_0x248807,_0x24975b);if(!_0x5ceac4)return;_0x43558e['aguWw'](_0x46f658,_0x43558e[_0xd04964(0x1e4)])&&(hooksMap[_0xdbb8be]?hooksMap[_0xdbb8be][_0xd04964(0x20b)](_0x5ceac4):hooksMap[_0xdbb8be]=[_0x5ceac4]);const _0x4605d5=_0xf2eee0[_0xd04964(0x1e8)][_0xd04964(0x24c)](_0x55e32d=>_0x55e32d['id']===_0x1506cb[_0xd04964(0x1fd)]),_0x39f060=_0x43558e[_0xd04964(0x24f)](nestedKeyValue,_0x4605d5,[_0x43558e[_0xd04964(0x203)],_0x43558e[_0xd04964(0x1d3)]]);if(!_0x39f060)return;else{if(_0x39f060[_0xd04964(0x1f7)](_0x43558e[_0xd04964(0x24a)]))return;}if(_0x43558e[_0xd04964(0x201)](_0x5ceac4[_0xd04964(0x1f5)],_0x43558e[_0xd04964(0x215)]))return;return _0x5ceac4;}catch(_0x43f442){logger['debug'](_0xd04964(0x1e6)+util[_0xd04964(0x231)](_0x43f442)+'\x20');}}['getHookResult'](_0x1a1330,_0x17d57f){const _0x57a253=a116_0x565930,_0x459183={};_0x459183[_0x57a253(0x22d)]=function(_0x54667a,_0x3a6cae){return _0x54667a===_0x3a6cae;},_0x459183[_0x57a253(0x252)]=_0x57a253(0x254),_0x459183['OjCbm']=function(_0x4734ef,_0x3de1cc){return _0x4734ef===_0x3de1cc;},_0x459183[_0x57a253(0x1d6)]=_0x57a253(0x1ff),_0x459183[_0x57a253(0x218)]=_0x57a253(0x222),_0x459183[_0x57a253(0x24d)]=function(_0x1d020b,_0x4090cd){return _0x1d020b||_0x4090cd;};const _0x282017=_0x459183,_0x4481bf=_0x1a1330['testStepFinished'][_0x17d57f][_0x57a253(0x1f4)];let _0x2f3e0d,_0x3c6880;return _0x4481bf&&_0x282017[_0x57a253(0x22d)](_0x4481bf[_0x57a253(0x1ee)]['toString']()[_0x57a253(0x202)](),_0x282017['Hvugg'])&&(_0x2f3e0d=_0x282017[_0x57a253(0x22d)](_0x4481bf[_0x57a253(0x1d7)],undefined)?_0x4481bf[_0x57a253(0x23c)]:_0x4481bf[_0x57a253(0x1d7)][_0x57a253(0x23c)],_0x3c6880=_0x282017['OjCbm'](_0x4481bf[_0x57a253(0x1d7)],undefined)?_0x282017[_0x57a253(0x1d6)]:_0x4481bf[_0x57a253(0x23c)]['match'](/Assert/)?_0x282017['zKNnw']:_0x282017[_0x57a253(0x1d6)]),{'status':_0x4481bf[_0x57a253(0x1ee)]['toLowerCase'](),'failureType':_0x282017[_0x57a253(0x24d)](_0x3c6880,null),'failureData':!_0x2f3e0d?null:[_0x2f3e0d]};}[a116_0x565930(0x256)](_0x445dda,_0x5e0c1a){const _0x251c7a=a116_0x565930,_0xa21db7={};_0xa21db7[_0x251c7a(0x20d)]=function(_0x32e723,_0x54c19a){return _0x32e723===_0x54c19a;},_0xa21db7[_0x251c7a(0x253)]=_0x251c7a(0x1f6),_0xa21db7[_0x251c7a(0x245)]=_0x251c7a(0x224);const _0xd4c485=_0xa21db7;let _0x141991=![];for(const _0x406d2e of _0x445dda){_0x406d2e[_0x251c7a(0x259)]&&(_0x141991=!![]);if(_0xd4c485[_0x251c7a(0x20d)](_0x5e0c1a['id'],_0x406d2e['id']))return _0x141991?_0xd4c485['grxfa']:_0xd4c485[_0x251c7a(0x245)];}}['getScenarioExamples']=(_0x1e6991,_0x1a50a4)=>{const _0x18334a=a116_0x565930,_0x563b61={};_0x563b61[_0x18334a(0x238)]=function(_0x1c83f3,_0x51a5f3){return _0x1c83f3===_0x51a5f3;},_0x563b61[_0x18334a(0x241)]=function(_0x279f9e,_0x1d9867){return _0x279f9e===_0x1d9867;},_0x563b61['EMSeA']=function(_0x420e83,_0x29440c){return _0x420e83>_0x29440c;};const _0x5443d3=_0x563b61;if(!(_0x1a50a4[_0x18334a(0x234)]&&_0x5443d3['EMSeA'](_0x1a50a4[_0x18334a(0x234)][_0x18334a(0x208)],0x1)))return;const _0xa294e5=_0x1a50a4[_0x18334a(0x234)][0x0],_0x145b99=_0x1a50a4['astNodeIds'][0x1],_0x539d4a=_0x1e6991[_0x18334a(0x22e)]&&_0x1e6991['feature']['children']?_0x1e6991[_0x18334a(0x22e)][_0x18334a(0x242)]:undefined;let _0x2ead38=[];_0x539d4a&&_0x539d4a[_0x18334a(0x20f)](_0x24a1bf=>{const _0x2991f4=_0x18334a;if(_0x24a1bf[_0x2991f4(0x207)])_0x24a1bf['rule'][_0x2991f4(0x242)][_0x2991f4(0x20f)](_0xd9b895=>{const _0x41e190=_0x2991f4;if(_0xd9b895[_0x41e190(0x1e5)]&&_0x5443d3[_0x41e190(0x238)](_0xd9b895['scenario']['id'],_0xa294e5)&&_0xd9b895[_0x41e190(0x1e5)]['examples']){const _0x1ec6e3=_0xd9b895[_0x41e190(0x1e5)][_0x41e190(0x20c)][_0x41e190(0x225)](_0xe507bb=>_0xe507bb[_0x41e190(0x227)])['find'](_0x16e871=>_0x16e871['id']===_0x145b99);let _0x21d3fd;_0x1ec6e3&&_0x1ec6e3[_0x41e190(0x1f2)]?_0x21d3fd=_0x1ec6e3[_0x41e190(0x1f2)]['map'](_0x158479=>_0x158479['value']):_0x21d3fd=[],_0x21d3fd&&(_0x2ead38=_0x21d3fd);}});else{if(_0x24a1bf['scenario']&&_0x5443d3[_0x2991f4(0x241)](_0x24a1bf[_0x2991f4(0x1e5)]['id'],_0xa294e5)&&_0x24a1bf[_0x2991f4(0x1e5)][_0x2991f4(0x20c)]){const _0x5af8b4=_0x24a1bf[_0x2991f4(0x1e5)][_0x2991f4(0x20c)][_0x2991f4(0x225)](_0x16439d=>_0x16439d['tableBody'])[_0x2991f4(0x24c)](_0xc7aa9b=>_0xc7aa9b['id']===_0x145b99);let _0x39ee84;_0x5af8b4&&_0x5af8b4[_0x2991f4(0x1f2)]?_0x39ee84=_0x5af8b4[_0x2991f4(0x1f2)][_0x2991f4(0x1da)](_0x49c8e2=>_0x49c8e2['value']):_0x39ee84=[],_0x39ee84&&(_0x2ead38=_0x39ee84);}}});if(_0x2ead38['length'])return _0x2ead38;return;};async[a116_0x565930(0x21f)](){const _0x2ebd7f=a116_0x565930,_0x915136={'JlIzv':function(_0x4870ea){return _0x4870ea();}};if(this[_0x2ebd7f(0x244)])return this[_0x2ebd7f(0x23a)];const _0xb35a1e=await _0x915136['JlIzv'](getGitMetaData);_0xb35a1e&&(this[_0x2ebd7f(0x23a)]=_0xb35a1e['root']),this[_0x2ebd7f(0x244)]=!![];}}module[a116_0x565930(0x1fb)]=o11yClassErrorHandler(CucumberUtils,[a116_0x565930(0x21f),a116_0x565930(0x205),a116_0x565930(0x256),a116_0x565930(0x232),'sendHook',a116_0x565930(0x230),'sendTestRunEventForCucumber','createTestFrameworkData']);
@@ -1 +1 @@
1
- const a117_0x1efdf8=a117_0xbb8f;(function(_0x40a5f1,_0x59f873){const _0x74b52d=a117_0xbb8f,_0x518601=_0x40a5f1();while(!![]){try{const _0x3fbb3e=-parseInt(_0x74b52d(0x1e1))/0x1*(-parseInt(_0x74b52d(0x225))/0x2)+-parseInt(_0x74b52d(0x1ac))/0x3+-parseInt(_0x74b52d(0x1d1))/0x4*(-parseInt(_0x74b52d(0x181))/0x5)+parseInt(_0x74b52d(0x1b2))/0x6+-parseInt(_0x74b52d(0x1fa))/0x7+-parseInt(_0x74b52d(0x191))/0x8+parseInt(_0x74b52d(0x1d0))/0x9;if(_0x3fbb3e===_0x59f873)break;else _0x518601['push'](_0x518601['shift']());}catch(_0x2fcd6f){_0x518601['push'](_0x518601['shift']());}}}(a117_0x1120,0x858b4));const path=require(a117_0x1efdf8(0x21c)),util=require(a117_0x1efdf8(0x1a0)),crypto=require(a117_0x1efdf8(0x1e7)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a117_0x1efdf8(0x185)),logger=require(a117_0x1efdf8(0x1fc))[a117_0x1efdf8(0x1f2)],{o11yClassErrorHandler}=require(a117_0x1efdf8(0x211)),TestInfo=require(a117_0x1efdf8(0x1a1)),{failureData,getFailureType,PathHelper}=require(a117_0x1efdf8(0x1d3)),stackTrace=require('stack-trace'),{pickUserFrameFile}=require(a117_0x1efdf8(0x22c)),a117_0x24ac24={};a117_0x24ac24[a117_0x1efdf8(0x1e8)]=a117_0x1efdf8(0x1d4),a117_0x24ac24['afterAll']=a117_0x1efdf8(0x20d),a117_0x24ac24['beforeEach']=a117_0x1efdf8(0x1f0),a117_0x24ac24['afterEach']=a117_0x1efdf8(0x1bf);function a117_0x1120(){const _0xa11947=['gYKlj','asyncError','562MRyJci','javascript','aNspD','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','errors','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','jest-circus','../../../helpers/stackFrameUtils','__jestCurrentTestIdentifier','tJHwx','currentTest','parse','reverse','md5','title','push','UfQxO','IzpDv','MGnSM','brxgK','sWKKt','getHierarchy','423880HbyYzb','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','[jestUtils]\x20Created\x20identifier:\x20','../../../helpers/helper.js','failure_backtrace','ZpgQi','passed','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','_gitConfigPath','find','failure_type','getHookRunEventData','pending','includes','gVSHS','5863808iUQrdo','error',',\x20testIdentifier:\x20','fullName','skipped','getName','recreateIdentifierFromTestInfo','[jestUtils]\x20No\x20test\x20object\x20provided','toString','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','backtrace','startedAt','pdPOW','name','rDady','util','../TestInfo.js','debug','root','tZnWI','exports','iFJKw','YncBO','toUpperCase','eDQMU','started_at','expect','1965846fCzFQu','DiyCY','_gitConfigured',':jest-','hooks','getTime','2848824BzxDVR','lxBSt','sVoAV','XzTIN','agDUy','errorsDetailed','split','format','isJestInternalHook','failed','result','toISOString','zImMY','AFTER_EACH','Unknown\x20Test','vjrRh','inspect','update','[jestUtils]\x20Error\x20creating\x20identifier:\x20','testAnalyticsId','ZBIle','relative','XFPZK','getTestIdentifier','nJOeD','prefixTestPath','extractTestFilePath','ROOT_DESCRIBE_BLOCK','OzxNI','FCMIS','5709483YrPkhN','36LHcpmV','cHyoI','../../../helpers/test-observability/utils','BEFORE_ALL','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','hex','getState','qamhG','createHookData','testPath','lhjQJ','\x22\x20hook\x20for\x20\x22','TestRunFinished','substring','File\x20path\x20could\x20not\x20be\x20found','file','502gLFoLz','Tymcl','parent','getRootParentFile','MtXpO','EUOYZ','crypto','beforeAll','apply','\x20from\x20compositeKey:\x20','configureGit','_paths','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','BEFORE_EACH','createIdentifierFromJestTest','winstonLogger','Exception\x20in\x20createHookData:\x20','clearHooksMap','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','match','failure_reason','err','nQPKG','545881TCifWz','retryOf','../../../helpers/logger.js','JecDh','MfUGz','mgMFW','VqCAf','aLGqc','rWkKy','kxjRz','testIdentifier','failure_data','test','TestRunSkipped','unknown','Exception\x20in\x20createTestFrameworkData:\x20','pid','HookRunStarted','createHash','AFTER_ALL','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','stack','expanded','../../../helpers/test-observability/error-handler.js','tcEzk','finishedAt','createJestTestIdentifier','duration','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','displayName','length','createTestFrameworkData','FwtwP','getFileName','path','OMWYv','finished_at','type','Creating\x20hook\x20data\x20for\x20eventType:\x20','ycNuL','failure_reason_expanded'];a117_0x1120=function(){return _0xa11947;};return a117_0x1120();}const HOOK_TYPES_MAP=a117_0x24ac24,hooksMap={};class JestUtils{constructor(){const _0xe47110=a117_0x1efdf8;this[_0xe47110(0x1ae)]=![],this[_0xe47110(0x18a)]=null,this['_paths']=new PathHelper({'cwd':process['cwd']()},undefined);}async[a117_0x1efdf8(0x219)](_0x260142,_0x192d8e,_0x198850=a117_0x1efdf8(0x1dd),_0x5cc7c2=undefined){const _0x842d30=a117_0x1efdf8,_0x1a9751={'FwtwP':_0x842d30(0x216),'EUOYZ':_0x842d30(0x22b),'nJOeD':_0x842d30(0x1df),'pdPOW':function(_0x4c6eb6,_0x2fe72a){return _0x4c6eb6!==_0x2fe72a;},'vjrRh':_0x842d30(0x206),'aLGqc':function(_0x1a4a4d,_0x4d71db){return _0x1a4a4d!==_0x4d71db;},'XzTIN':_0x842d30(0x1f8),'sWKKt':_0x842d30(0x18e),'tcEzk':function(_0x42f3d4,_0x2c0c05){return _0x42f3d4===_0x2c0c05;},'VqCAf':_0x842d30(0x207),'zImMY':_0x842d30(0x195),'agDUy':function(_0x142d6a,_0x401c89){return _0x142d6a>_0x401c89;},'rWkKy':'failed','hgLrF':_0x842d30(0x188),'tWJpJ':function(_0x51e322,_0x455552){return _0x51e322!==_0x455552;},'ZpgQi':function(_0x4c8c4a,_0x250a59){return _0x4c8c4a-_0x250a59;},'OzxNI':_0x842d30(0x226),'KsPEG':'jest','jakcI':function(_0x193c69,_0x2eec00){return _0x193c69(_0x2eec00);},'OMWYv':_0x842d30(0x1dd)};logger[_0x842d30(0x1a2)]('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x198850+_0x842d30(0x193)+_0x192d8e);try{if(!_0x260142)return logger['debug'](_0x1a9751[_0x842d30(0x21a)]),null;if(_0x260142['fn']&&_0x260142['fn'][_0x842d30(0x199)]()['match'](/browserstack internal helper hook/))return null;await this[_0x842d30(0x1eb)]();let _0x33820c;try{_0x33820c=this['getRootParentFile'](_0x260142);if(_0x33820c&&_0x33820c[_0x842d30(0x18f)](_0x1a9751[_0x842d30(0x1e6)]))return null;}catch(_0xe6f6f4){logger['debug'](_0x842d30(0x228)+util[_0x842d30(0x1b9)](_0xe6f6f4)),_0x33820c=null;}const _0x55831e=this['getHierarchy'](_0x260142),_0x39f6a5=this[_0x842d30(0x196)](_0x260142),_0xcc586a=_0x33820c?this[_0x842d30(0x1ec)][_0x842d30(0x1cb)](_0x33820c):_0x1a9751[_0x842d30(0x1ca)];let _0x1268d1=[];const _0x5a265a=_0x260142[_0x842d30(0x1b7)]||_0x260142[_0x842d30(0x229)];if(_0x1a9751[_0x842d30(0x19d)](_0x5a265a,undefined))_0x1268d1=[_0x5a265a,_0x1a9751[_0x842d30(0x1c1)]];else _0x1a9751['aLGqc'](_0x5cc7c2,undefined)&&(_0x1268d1=[_0x5cc7c2,_0x1a9751[_0x842d30(0x1b5)]]);const _0x903e5c=_0x1a9751['aLGqc'](_0x5a265a,undefined)?util['inspect'](_0x5a265a[0x0]):_0x1a9751[_0x842d30(0x201)](_0x5cc7c2,undefined)?_0x5cc7c2[_0x842d30(0x199)]():undefined;let _0x19d451=_0x1a9751[_0x842d30(0x239)];if(_0x1a9751[_0x842d30(0x212)](_0x198850,_0x1a9751['VqCAf']))_0x19d451=_0x1a9751[_0x842d30(0x1be)];else _0x5a265a&&_0x1a9751[_0x842d30(0x1b6)](_0x5a265a['length'],0x0)?_0x19d451=_0x1a9751[_0x842d30(0x202)]:_0x19d451=_0x1a9751['hgLrF'];let _0xf8f579=null;if(_0x1a9751['tWJpJ'](_0x260142[_0x842d30(0x215)],undefined))_0xf8f579=_0x260142[_0x842d30(0x215)];else(_0x198850[_0x842d30(0x1f6)](/Finished/)||_0x198850[_0x842d30(0x1f6)](/Skipped/))&&(_0x260142[_0x842d30(0x1aa)]&&(_0xf8f579=_0x1a9751[_0x842d30(0x187)](Date['now'](),new Date(_0x260142[_0x842d30(0x1aa)])[_0x842d30(0x1b1)]())));const _0x32274e=_0x260142['fn']?_0x260142['fn'][_0x842d30(0x199)]():null,_0x5cc7da={'id':_0x192d8e,'uuid':_0x192d8e,'startedAt':_0x260142[_0x842d30(0x1aa)]||new Date()[_0x842d30(0x1bd)](),'finishedAt':_0x198850[_0x842d30(0x1f6)](/Finished/)||_0x198850[_0x842d30(0x1f6)](/Skipped/)?new Date()['toISOString']():null,'type':_0x1a9751[_0x842d30(0x1c1)],'body':{'lang':_0x1a9751[_0x842d30(0x1ce)],'code':_0x32274e},'name':_0x39f6a5,'errorsDetailed':_0x1a9751[_0x842d30(0x1b6)](_0x5a265a?.['length'],0x0)?_0x5a265a[0x0]:_0x5a265a?_0x5a265a:undefined,'scopes':_0x55831e,'file_name':_0xcc586a,'location':_0xcc586a,'vc_filepath':this['_gitConfigPath']&&_0x33820c?path[_0x842d30(0x1c7)](this[_0x842d30(0x18a)],_0x33820c):null,'framework':_0x1a9751['KsPEG'],'result':_0x19d451,'failure_reason':_0x903e5c,'duration_in_ms':_0xf8f579,'failure':failureData[_0x842d30(0x1e9)](null,_0x1268d1),'failure_type':!_0x903e5c?null:_0x1a9751['jakcI'](getFailureType,_0x903e5c),'retry_of':_0x260142[_0x842d30(0x1fb)]||null,'customRerunParam':{'rerun_name':_0x39f6a5}};_0x1a9751[_0x842d30(0x212)](_0x198850,_0x1a9751['VqCAf'])&&!_0x5cc7da[_0x842d30(0x19c)]&&(_0x5cc7da[_0x842d30(0x19c)]=_0x5cc7da[_0x842d30(0x213)]);const _0x14c7d3=_0x5cc7da['failure']&&_0x5cc7da['failure'][0x0];return _0x14c7d3&&(_0x5cc7da[_0x842d30(0x186)]=_0x14c7d3[_0x842d30(0x19b)],_0x5cc7da[_0x842d30(0x222)]=_0x14c7d3[_0x842d30(0x210)]),(_0x1a9751['tcEzk'](_0x198850,_0x1a9751[_0x842d30(0x21d)])||_0x1a9751[_0x842d30(0x212)](_0x198850,_0x1a9751[_0x842d30(0x200)]))&&(_0x260142[_0x842d30(0x1b0)]&&(_0x5cc7da[_0x842d30(0x1b0)]=_0x260142[_0x842d30(0x1b0)])),_0x5cc7da;}catch(_0x2573ba){return logger[_0x842d30(0x1a2)](_0x842d30(0x209)+util[_0x842d30(0x1b9)](_0x2573ba)),null;}}async[a117_0x1efdf8(0x1d9)](_0x5e0e0f,_0xef84d0,_0x13c430,_0xaf3670){const _0x1a845a=a117_0x1efdf8,_0x53cdcf={'JecDh':_0x1a845a(0x22a),'JyLkV':_0x1a845a(0x22b),'oGPgw':'browserstack-node-agent/src/bin/jest','TgArv':_0x1a845a(0x208),'ltyix':_0x1a845a(0x18e),'gYKlj':function(_0x5d01a4,_0x9c3a61){return _0x5d01a4===_0x9c3a61;},'UfQxO':'HookRunFinished','qamhG':function(_0x5cdd3d,_0x4d74af){return _0x5cdd3d>_0x4d74af;},'MGnSM':'failed','RdLoN':function(_0x4b7d8a,_0x2bf501){return _0x4b7d8a(_0x2bf501);},'uhVGK':'test','ycNuL':_0x1a845a(0x188),'sVoAV':'hook','FLToN':'javascript','aNspD':'jest','GmfLE':function(_0x155c09,_0x1eeb9f){return _0x155c09===_0x1eeb9f;},'FCMIS':_0x1a845a(0x20b)};logger['debug'](_0x1a845a(0x220)+_0x13c430+',\x20hookUUID:\x20'+_0xef84d0+',\x20testRunId:\x20'+_0xaf3670);try{if(!_0x5e0e0f)return logger[_0x1a845a(0x1a2)](_0x53cdcf[_0x1a845a(0x1fd)]),null;if(this[_0x1a845a(0x1ba)](_0x5e0e0f))return null;await this[_0x1a845a(0x1eb)]();let _0x319809=null;try{_0x319809=this['getRootParentFile'](_0x5e0e0f);if(_0x319809&&_0x319809[_0x1a845a(0x18f)](_0x53cdcf['JyLkV']))return null;if(_0x319809&&_0x319809[_0x1a845a(0x18f)](_0x53cdcf['oGPgw']))return null;}catch(_0x15cf2f){logger[_0x1a845a(0x1a2)](_0x1a845a(0x1f5)+util['format'](_0x15cf2f));}const _0x5f0f38=_0x319809?this[_0x1a845a(0x1ec)][_0x1a845a(0x1cb)](_0x319809):_0x319809,_0x5b5b11=this[_0x1a845a(0x196)](_0x5e0e0f),_0x26624c=_0x5e0e0f[_0x1a845a(0x21f)]||_0x53cdcf['TgArv'],_0xa9cb6f=HOOK_TYPES_MAP[_0x26624c]||_0x26624c[_0x1a845a(0x1a8)](),_0x5a9330=_0x5e0e0f[_0x1a845a(0x1e3)]&&_0x5e0e0f['parent'][_0x1a845a(0x19e)]?_0x5e0e0f[_0x1a845a(0x1e3)]['name']:'';let _0x10fbbb=_0x53cdcf['ltyix'],_0x3d07c6=null,_0x43c681=null,_0x50fb58=null,_0x12263c=null;_0x53cdcf[_0x1a845a(0x223)](_0x13c430,_0x53cdcf[_0x1a845a(0x235)])&&(_0x12263c=new Date()[_0x1a845a(0x1bd)](),_0x5e0e0f['errorsDetailed']&&_0x53cdcf[_0x1a845a(0x1d8)](_0x5e0e0f[_0x1a845a(0x1b7)][_0x1a845a(0x218)],0x0)?(_0x10fbbb=_0x53cdcf[_0x1a845a(0x237)],_0x43c681=util[_0x1a845a(0x1c2)](_0x5e0e0f[_0x1a845a(0x1b7)][0x0]),_0x3d07c6=_0x53cdcf['RdLoN'](getFailureType,_0x43c681),_0x50fb58=failureData[_0x1a845a(0x1e9)](null,[_0x5e0e0f['errorsDetailed'],_0x53cdcf['uhVGK']])):_0x10fbbb=_0x53cdcf[_0x1a845a(0x221)]);const _0x366909={'uuid':_0xef84d0,'type':_0x53cdcf[_0x1a845a(0x1b4)],'hook_type':_0xa9cb6f,'name':_0x5b5b11,'body':{'lang':_0x53cdcf['FLToN'],'code':_0x5e0e0f['fn']?_0x5e0e0f['fn'][_0x1a845a(0x199)]():null},'tags':[],'test_run_id':_0xaf3670,'scope':_0x5a9330,'scopes':[_0x5a9330],'file_name':_0x5f0f38,'location':_0x5f0f38,'vc_filepath':this[_0x1a845a(0x18a)]&&_0x319809?path[_0x1a845a(0x1c7)](this['_gitConfigPath'],_0x319809):null,'result':_0x10fbbb,'started_at':_0x5e0e0f[_0x1a845a(0x1aa)]||new Date()[_0x1a845a(0x1bd)](),'finished_at':_0x12263c,'failure_type':_0x3d07c6,'failure_reason':_0x43c681,'failure_data':_0x50fb58,'framework':_0x53cdcf[_0x1a845a(0x227)]};return _0x53cdcf['GmfLE'](_0x13c430,_0x53cdcf[_0x1a845a(0x1cf)])&&(hooksMap[_0xaf3670]?hooksMap[_0xaf3670][_0x1a845a(0x234)](_0x366909):hooksMap[_0xaf3670]=[_0x366909]),_0x366909;}catch(_0x97372){return logger['debug'](_0x1a845a(0x1f3)+util[_0x1a845a(0x1b9)](_0x97372)),null;}}[a117_0x1efdf8(0x18d)](_0x53b0f2,_0x585fb0,_0x5bb9b7){const _0x531c49=a117_0x1efdf8,_0x2d7888={'DiyCY':function(_0x9ce003,_0x296105){return _0x9ce003>_0x296105;},'tJHwx':_0x531c49(0x1bb),'IzpDv':function(_0x427adb,_0x45d679){return _0x427adb(_0x45d679);},'pNjnk':_0x531c49(0x206),'brxgK':_0x531c49(0x188)};try{const _0x1a2c48=hooksMap[_0x53b0f2];if(!_0x1a2c48)return null;const _0x55a9fb=_0x1a2c48[_0x531c49(0x18b)](_0x167991=>_0x167991['uuid']===_0x585fb0);if(!_0x55a9fb)return null;return _0x55a9fb[_0x531c49(0x21e)]=new Date()[_0x531c49(0x1bd)](),_0x5bb9b7['errorsDetailed']&&_0x2d7888[_0x531c49(0x1ad)](_0x5bb9b7[_0x531c49(0x1b7)][_0x531c49(0x218)],0x0)?(_0x55a9fb[_0x531c49(0x1bc)]=_0x2d7888[_0x531c49(0x22e)],_0x55a9fb[_0x531c49(0x1f7)]=util[_0x531c49(0x1c2)](_0x5bb9b7[_0x531c49(0x1b7)][0x0]),_0x55a9fb[_0x531c49(0x18c)]=_0x2d7888[_0x531c49(0x236)](getFailureType,_0x55a9fb[_0x531c49(0x1f7)]),_0x55a9fb[_0x531c49(0x205)]=failureData['apply'](null,[_0x5bb9b7['errorsDetailed'],_0x2d7888['pNjnk']])):_0x55a9fb[_0x531c49(0x1bc)]=_0x2d7888[_0x531c49(0x238)],_0x55a9fb;}catch(_0x6745ed){return logger[_0x531c49(0x1a2)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x531c49(0x1b9)](_0x6745ed)),null;}}[a117_0x1efdf8(0x196)](_0x5e66d4){const _0x286590=a117_0x1efdf8,_0xc3ab1e={};_0xc3ab1e[_0x286590(0x1a9)]=function(_0x1b73df,_0x13a033){return _0x1b73df!==_0x13a033;},_0xc3ab1e[_0x286590(0x1c8)]=_0x286590(0x206),_0xc3ab1e['GTvUb']=_0x286590(0x1c0);const _0x587aa7=_0xc3ab1e;if(_0x587aa7[_0x286590(0x1a9)](_0x5e66d4[_0x286590(0x21f)],_0x587aa7['XFPZK']))return'\x22'+_0x5e66d4[_0x286590(0x21f)]+_0x286590(0x1dc)+(_0x5e66d4[_0x286590(0x1e3)]&&_0x5e66d4[_0x286590(0x1e3)][_0x286590(0x19e)])+'\x22';return _0x5e66d4[_0x286590(0x19e)]||_0x587aa7['GTvUb'];}['getHierarchy'](_0x48ac18){const _0x136152=a117_0x1efdf8,_0x76b1d7={};_0x76b1d7['MtXpO']=function(_0xa8d019,_0x3ad116){return _0xa8d019!==_0x3ad116;},_0x76b1d7['lxBSt']=function(_0x43ca9d,_0x4fffd1){return _0x43ca9d!==_0x4fffd1;},_0x76b1d7['MfUGz']=_0x136152(0x1cd);const _0x438f46=_0x76b1d7,_0x58d11d=[];if(_0x48ac18&&_0x48ac18[_0x136152(0x1e3)]){let _0x1724a5=_0x48ac18[_0x136152(0x1e3)];while(_0x1724a5&&_0x1724a5[_0x136152(0x19e)]&&_0x438f46[_0x136152(0x1e5)](_0x1724a5['name'],'')&&_0x438f46[_0x136152(0x1b3)](_0x1724a5['name'],_0x438f46[_0x136152(0x1fe)])){_0x58d11d['push'](_0x1724a5[_0x136152(0x19e)]),_0x1724a5=_0x1724a5[_0x136152(0x1e3)];}}return _0x58d11d[_0x136152(0x231)](),_0x58d11d;}[a117_0x1efdf8(0x1e4)](_0x40e790){const _0x42af3b=a117_0x1efdf8,_0xd56fed={'cHyoI':function(_0x3707c0,_0xda2226){return _0x3707c0(_0xda2226);}};if(_0x40e790[_0x42af3b(0x1e0)])return _0x40e790[_0x42af3b(0x1e0)];if(_0x40e790[_0x42af3b(0x224)])try{const _0xaa1cf0=stackTrace[_0x42af3b(0x230)]['call'](stackTrace,_0x40e790['asyncError']),_0x486e81=_0xd56fed[_0x42af3b(0x1d2)](pickUserFrameFile,_0xaa1cf0);if(_0x486e81)return _0x486e81;logger[_0x42af3b(0x1a2)](_0x42af3b(0x20e)+_0xaa1cf0['length']+')');}catch(_0x203132){logger['debug'](_0x42af3b(0x1ed)+util[_0x42af3b(0x1b9)](_0x203132));}return null;}[a117_0x1efdf8(0x1ba)](_0x1d53a3){const _0xb9389f=a117_0x1efdf8,_0x54552a={};_0x54552a[_0xb9389f(0x1e2)]=_0xb9389f(0x22b);const _0xd264e8=_0x54552a;try{const _0x360db4=this['getRootParentFile'](_0x1d53a3);if(!_0x360db4||_0x360db4['includes'](_0xd264e8[_0xb9389f(0x1e2)]))return!![];}catch(_0x477509){logger[_0xb9389f(0x1a2)](_0xb9389f(0x19a)+util[_0xb9389f(0x1b9)](_0x477509));}return![];}[a117_0x1efdf8(0x1c9)](_0x30a939=null){const _0xa2c15c=a117_0x1efdf8;try{const _0x516d07=_0x30a939||global['__workerDetails']||{};if(global[_0xa2c15c(0x22d)])return global['__jestCurrentTestIdentifier'];if(_0x516d07?.[_0xa2c15c(0x22f)]?.[_0xa2c15c(0x1c5)])return _0x516d07['currentTest'][_0xa2c15c(0x1c5)];if(_0x516d07?.[_0xa2c15c(0x22f)]?.['id'])return _0x516d07[_0xa2c15c(0x22f)]['id'];return null;}catch(_0x5bf2f8){return logger[_0xa2c15c(0x1a2)](_0xa2c15c(0x1ee)+util[_0xa2c15c(0x1b9)](_0x5bf2f8)),null;}}async['configureGit'](){const _0xa576da=a117_0x1efdf8,_0x3dd77a={'iFJKw':function(_0x4f648f){return _0x4f648f();}};if(this[_0xa576da(0x1ae)])return this['_gitConfigPath'];const _0x6fca49=await _0x3dd77a[_0xa576da(0x1a6)](getGitMetaData);_0x6fca49&&(this['_gitConfigPath']=_0x6fca49[_0xa576da(0x1a3)]),this['_gitConfigured']=!![];}['clearHooksMap'](_0x56fb1b){hooksMap[_0x56fb1b]&&delete hooksMap[_0x56fb1b];}['extractTestFilePath'](_0x393b0a){const _0x54fea9=a117_0x1efdf8,_0x3be306={'mgMFW':'jest-circus','kxjRz':function(_0x364a0c,_0x3996c4){return _0x364a0c(_0x3996c4);},'gVSHS':_0x54fea9(0x1ab)};if(_0x393b0a[_0x54fea9(0x1e0)])return _0x393b0a[_0x54fea9(0x1e0)];if(_0x393b0a[_0x54fea9(0x224)]){try{const _0xd0b58e=stackTrace[_0x54fea9(0x230)](_0x393b0a[_0x54fea9(0x224)]);if(_0xd0b58e[0x0]&&_0xd0b58e[0x0][_0x54fea9(0x21b)]){const _0x308578=_0xd0b58e[0x0][_0x54fea9(0x21b)]();if(_0x308578&&!_0x308578['includes'](_0x3be306[_0x54fea9(0x1ff)]))return _0x308578;}}catch(_0x40d136){logger[_0x54fea9(0x1a2)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x54fea9(0x1b9)](_0x40d136));}if(_0x393b0a[_0x54fea9(0x224)]['stack']){const _0x28be6d=_0x393b0a[_0x54fea9(0x224)][_0x54fea9(0x20f)][_0x54fea9(0x1b8)]('\x0a');for(const _0x148ad8 of _0x28be6d){const _0x464ead=_0x148ad8[_0x54fea9(0x1f6)](/at (.+?):\d+:\d+/);if(_0x464ead&&_0x464ead[0x1]&&!_0x464ead[0x1][_0x54fea9(0x18f)](_0x3be306['mgMFW']))return _0x464ead[0x1];}}}let _0x33cef5=_0x393b0a[_0x54fea9(0x1e3)];while(_0x33cef5){if(_0x33cef5['file'])return _0x33cef5['file'];if(_0x33cef5[_0x54fea9(0x224)])try{const _0x1c6e05=stackTrace['parse'](_0x33cef5[_0x54fea9(0x224)]);if(_0x1c6e05[0x0]&&_0x1c6e05[0x0][_0x54fea9(0x21b)]){const _0x2e0715=_0x1c6e05[0x0][_0x54fea9(0x21b)]();if(_0x2e0715&&!_0x2e0715[_0x54fea9(0x18f)](_0x3be306['mgMFW']))return _0x2e0715;}}catch(_0x178a76){}_0x33cef5=_0x33cef5[_0x54fea9(0x1e3)];}try{const _0x14327c=_0x3be306[_0x54fea9(0x203)](require,_0x3be306[_0x54fea9(0x190)]);if(_0x14327c&&_0x14327c[_0x54fea9(0x1d7)]){const _0x420280=_0x14327c[_0x54fea9(0x1d7)]();if(_0x420280&&_0x420280['testPath'])return _0x420280['testPath'];}}catch(_0x4a337e){logger[_0x54fea9(0x1a2)](_0x54fea9(0x1d5)+util[_0x54fea9(0x1b9)](_0x4a337e));}return null;}[a117_0x1efdf8(0x214)](_0x5ac52b){const _0x302931=a117_0x1efdf8,_0xc01279={};_0xc01279[_0x302931(0x1db)]=_0x302931(0x183),_0xc01279[_0x302931(0x1a7)]=function(_0x511548,_0x591a65){return _0x511548!==_0x591a65;},_0xc01279[_0x302931(0x1f9)]=_0x302931(0x1cd),_0xc01279[_0x302931(0x1a4)]='jest-circus',_0xc01279[_0x302931(0x19f)]=_0x302931(0x232),_0xc01279['brizF']=_0x302931(0x1d6);const _0x4aa41e=_0xc01279;try{if(!_0x5ac52b)return logger['error'](_0x4aa41e[_0x302931(0x1db)]),null;const _0xfce21a=_0x5ac52b[_0x302931(0x194)]||_0x5ac52b[_0x302931(0x19e)]||_0x5ac52b['title']||_0x5ac52b[_0x302931(0x217)];let _0xa6cdee=_0xfce21a;if(_0x5ac52b['parent']&&_0x5ac52b[_0x302931(0x1e3)][_0x302931(0x19e)]&&_0x4aa41e[_0x302931(0x1a7)](_0x5ac52b[_0x302931(0x1e3)][_0x302931(0x19e)],_0x4aa41e['nQPKG'])){const _0x1b59a3=_0x5ac52b[_0x302931(0x19e)]||_0x5ac52b[_0x302931(0x233)];_0x1b59a3&&(_0xa6cdee=_0x5ac52b['parent'][_0x302931(0x19e)]+'\x20'+_0x1b59a3);}let _0x4e7037=_0x5ac52b['testPath'];if(!_0x4e7037&&_0x5ac52b[_0x302931(0x224)]){try{const _0x493daa=stackTrace[_0x302931(0x230)](_0x5ac52b['asyncError']);if(_0x493daa[0x0]&&_0x493daa[0x0][_0x302931(0x21b)]){const _0x307e70=_0x493daa[0x0][_0x302931(0x21b)]();_0x307e70&&!_0x307e70['includes'](_0x4aa41e['tZnWI'])&&(_0x4e7037=_0x307e70);}}catch(_0x5f09f9){logger['debug'](_0x302931(0x189)+util[_0x302931(0x1b9)](_0x5f09f9));}if(!_0x4e7037&&_0x5ac52b[_0x302931(0x224)]['stack']){const _0x591095=_0x5ac52b[_0x302931(0x224)][_0x302931(0x20f)][_0x302931(0x1b8)]('\x0a');for(const _0x202b42 of _0x591095){const _0x2d76f1=_0x202b42[_0x302931(0x1f6)](/at (.+?):\d+:\d+/);if(_0x2d76f1&&_0x2d76f1[0x1]&&!_0x2d76f1[0x1]['includes'](_0x4aa41e['tZnWI'])){_0x4e7037=_0x2d76f1[0x1];break;}}}}const _0x276001=_0x4e7037+'::'+_0xa6cdee,_0x1d5b68=crypto[_0x302931(0x20c)](_0x4aa41e[_0x302931(0x19f)])[_0x302931(0x1c3)](_0x276001)['digest'](_0x4aa41e['brizF'])[_0x302931(0x1de)](0x0,0x8),_0x529e51=process[_0x302931(0x20a)]+_0x302931(0x1af)+_0x1d5b68;return logger['debug'](_0x302931(0x184)+_0x529e51+_0x302931(0x1ea)+_0x276001),_0x529e51;}catch(_0x1db953){return logger[_0x302931(0x192)](_0x302931(0x1c4)+util[_0x302931(0x1b9)](_0x1db953)),null;}}[a117_0x1efdf8(0x1f1)](_0x5a28aa){const _0x471ef2=a117_0x1efdf8,_0x33c14a={};_0x33c14a[_0x471ef2(0x1c6)]=_0x471ef2(0x198);const _0xb81519=_0x33c14a;if(!_0x5a28aa)return logger[_0x471ef2(0x1a2)](_0xb81519[_0x471ef2(0x1c6)]),null;const _0xfeb2a0=this[_0x471ef2(0x1cc)](_0x5a28aa),_0x3b159e={};_0x3b159e[_0x471ef2(0x19e)]=_0x5a28aa[_0x471ef2(0x19e)]||_0x5a28aa[_0x471ef2(0x233)],_0x3b159e[_0x471ef2(0x1e3)]=_0x5a28aa[_0x471ef2(0x1e3)],_0x3b159e[_0x471ef2(0x1da)]=_0xfeb2a0,_0x3b159e[_0x471ef2(0x224)]=_0x5a28aa['asyncError'];const _0x18cb32=_0x3b159e;return this[_0x471ef2(0x214)](_0x18cb32);}[a117_0x1efdf8(0x197)](_0x560a06,_0x54fae9=null){const _0x15c97c=a117_0x1efdf8,_0x52c4f9={};_0x52c4f9['wWeSR']=_0x15c97c(0x1ef);const _0x343a5c=_0x52c4f9;if(!_0x560a06)return logger[_0x15c97c(0x1a2)](_0x343a5c['wWeSR']),_0x54fae9;if(_0x560a06[_0x15c97c(0x204)])return logger[_0x15c97c(0x1a2)](_0x15c97c(0x182)+_0x560a06[_0x15c97c(0x204)]),_0x560a06[_0x15c97c(0x204)];return this[_0x15c97c(0x214)](_0x560a06)||_0x54fae9;}}function a117_0xbb8f(_0x394ce0,_0x5447ab){const _0x112018=a117_0x1120();return a117_0xbb8f=function(_0xbb8f2a,_0x25946e){_0xbb8f2a=_0xbb8f2a-0x181;let _0x30b978=_0x112018[_0xbb8f2a];return _0x30b978;},a117_0xbb8f(_0x394ce0,_0x5447ab);}module[a117_0x1efdf8(0x1a5)]=o11yClassErrorHandler(JestUtils,[a117_0x1efdf8(0x1eb),a117_0x1efdf8(0x23a),a117_0x1efdf8(0x1e4),a117_0x1efdf8(0x196),a117_0x1efdf8(0x1ba),'getTestIdentifier',a117_0x1efdf8(0x219),a117_0x1efdf8(0x1d9),a117_0x1efdf8(0x18d),a117_0x1efdf8(0x1f4),a117_0x1efdf8(0x1cc),a117_0x1efdf8(0x214),a117_0x1efdf8(0x1f1),a117_0x1efdf8(0x197)]);
1
+ const a117_0xee5537=a117_0x3588;(function(_0x2ef27e,_0x2fe29c){const _0x4348ee=a117_0x3588,_0x447e0b=_0x2ef27e();while(!![]){try{const _0x1fd41a=parseInt(_0x4348ee(0x19a))/0x1*(-parseInt(_0x4348ee(0x1fe))/0x2)+-parseInt(_0x4348ee(0x22a))/0x3+parseInt(_0x4348ee(0x18c))/0x4+parseInt(_0x4348ee(0x225))/0x5+-parseInt(_0x4348ee(0x19c))/0x6+parseInt(_0x4348ee(0x21f))/0x7+-parseInt(_0x4348ee(0x1d1))/0x8;if(_0x1fd41a===_0x2fe29c)break;else _0x447e0b['push'](_0x447e0b['shift']());}catch(_0x26a796){_0x447e0b['push'](_0x447e0b['shift']());}}}(a117_0x3e62,0xb8b65));function a117_0x3588(_0x4e533c,_0x4161a5){const _0x3e6243=a117_0x3e62();return a117_0x3588=function(_0x3588c8,_0x42310f){_0x3588c8=_0x3588c8-0x176;let _0x50d2d0=_0x3e6243[_0x3588c8];return _0x50d2d0;},a117_0x3588(_0x4e533c,_0x4161a5);}const path=require('path'),util=require(a117_0xee5537(0x235)),crypto=require(a117_0xee5537(0x1b1)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a117_0xee5537(0x237)),logger=require(a117_0xee5537(0x1f3))[a117_0xee5537(0x1ed)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a117_0xee5537(0x1b9)),{failureData,getFailureType,PathHelper}=require('../../../helpers/test-observability/utils'),stackTrace=require(a117_0xee5537(0x205)),{pickUserFrameFile}=require(a117_0xee5537(0x1d4)),a117_0x58c6d9={};a117_0x58c6d9[a117_0xee5537(0x21c)]=a117_0xee5537(0x1a9),a117_0x58c6d9[a117_0xee5537(0x184)]=a117_0xee5537(0x1ef),a117_0x58c6d9[a117_0xee5537(0x226)]='BEFORE_EACH',a117_0x58c6d9[a117_0xee5537(0x1fc)]=a117_0xee5537(0x18a);const HOOK_TYPES_MAP=a117_0x58c6d9,hooksMap={};function a117_0x3e62(){const _0xed771a=[',\x20testIdentifier:\x20','RSXRl','HDDSW','svCDu','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','ikWBx','BEFORE_ALL','KEZMt','relative','expect','stack','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','createJestTestIdentifier','reverse','crypto','getTime','unknown','error','bomUc','asyncError','createTestFrameworkData','uuid','../TestInfo.js','vBpSm','FZRmY',':jest-','testIdentifier','fullName','failure','startedAt','sNzqA','finishedAt','jwZGA','javascript','finished_at','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','WUqkL','testAnalyticsId','zYDiY','XHbLL','NywQv','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','Exception\x20in\x20getHookRunEventData:\x20','_gitConfigPath','pid','errorsDetailed','4403792BVaifa','FDapu','started_at','../../../helpers/stackFrameUtils','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','call','currentTest','Exception\x20in\x20createTestFrameworkData:\x20','extractTestFilePath','dkYAG','length','getTestIdentifier','type','JBNUV','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','duration','ePBOB','failure_reason_expanded','includes','_paths','XkTVD','err','__workerDetails','failed','KkrzT','getName','StSzo','ZlETd','winstonLogger','nGdOJ','AFTER_ALL','ROOT_DESCRIBE_BLOCK','browserstack-node-agent/src/bin/jest','jest-circus','../../../helpers/logger.js','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','split','qnyhA','file','Hadvj','iwKpI','eqtBg','FMPje','afterEach','getState','2fUpIHW','qfZbT','root','test','displayName','FNxef','ZiZsE','stack-trace','debug','backtrace',',\x20hookUUID:\x20','substring','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','clearHooksMap','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','md5','hex','createHash','parse','UpziN','format','toString','apekE','apply','OSpya','hooks','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','passed','Creating\x20hook\x20data\x20for\x20eventType:\x20','retryOf','beforeAll','parent','find','7819133PSJRaD','createIdentifierFromJestTest','[jestUtils]\x20Created\x20identifier:\x20','result','TgMjB','failure_data','1123190BNRHxR','beforeEach','[jestUtils]\x20No\x20test\x20object\x20provided','RnqEs','prefixTestPath','1041162QjAKqf','getHierarchy','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','szOdK','getHookRunEventData','testPath','isJestInternalHook','mBSPb','pending','skipped','yXeFh','util','kRecO','../../../helpers/helper.js','toUpperCase','Unknown\x20Test','XPWVr','obNRK','title','RmkBn','HookRunFinished','NlmWD','bvGup','configureGit','failure_backtrace','_gitConfigured','PUxbr','jest','getFileName','afterAll','TxCdb',',\x20testRunId:\x20','nUEVD','gUAFT','exports','AFTER_EACH','SWxPY','4749544GrVsPg','match','createHookData','\x20from\x20compositeKey:\x20','gyCQf','errors','HdVwK','TPpBD','getRootParentFile','inspect','toISOString','qSapV','bAoii','[jestUtils]\x20Error\x20creating\x20identifier:\x20','499739TbKEbM','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','2251170oXzkiU','recreateIdentifierFromTestInfo','zbJYj','name','QQwwA','failure_reason','File\x20path\x20could\x20not\x20be\x20found'];a117_0x3e62=function(){return _0xed771a;};return a117_0x3e62();}class JestUtils{constructor(){const _0x3dfc29=a117_0xee5537;this[_0x3dfc29(0x180)]=![],this[_0x3dfc29(0x1ce)]=null,this[_0x3dfc29(0x1e4)]=new PathHelper({'cwd':process['cwd']()},undefined);}async[a117_0xee5537(0x1b7)](_0x392d4d,_0x28aef6,_0x38b5ed='TestRunFinished',_0x4969e9=undefined){const _0x49081f=a117_0xee5537,_0x56082c={'qfZbT':'No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','SWxPY':'jest-circus','usLzk':_0x49081f(0x1a2),'nGdOJ':function(_0x3e5609,_0x40b618){return _0x3e5609!==_0x40b618;},'XPWVr':_0x49081f(0x201),'NlmWD':_0x49081f(0x1e6),'sNzqA':_0x49081f(0x232),'KkrzT':function(_0x20429a,_0x16fcfe){return _0x20429a===_0x16fcfe;},'oLfxf':'TestRunSkipped','vBpSm':_0x49081f(0x233),'qSapV':function(_0x353ccf,_0x2b1b2a){return _0x353ccf===_0x2b1b2a;},'TgMjB':'TestRunFinished','dkYAG':function(_0xaac055,_0x489798){return _0xaac055>_0x489798;},'FMPje':'failed','EGxHv':'passed','WUqkL':function(_0x5879c5,_0x5b35c6){return _0x5879c5!==_0x5b35c6;},'PUxbr':function(_0x2b6a3d,_0x4265d0){return _0x2b6a3d-_0x4265d0;},'zbJYj':_0x49081f(0x1c4),'ePBOB':function(_0x339f54,_0x25de8c){return _0x339f54>_0x25de8c;},'KEZMt':'jest','TxCdb':function(_0x2bcae6,_0x312d99){return _0x2bcae6(_0x312d99);},'jwZGA':function(_0x221039,_0x53fe4a){return _0x221039===_0x53fe4a;}};logger[_0x49081f(0x206)]('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x38b5ed+_0x49081f(0x1a3)+_0x28aef6);try{if(!_0x392d4d)return logger[_0x49081f(0x206)](_0x56082c[_0x49081f(0x1ff)]),null;if(_0x392d4d['fn']&&_0x392d4d['fn'][_0x49081f(0x213)]()[_0x49081f(0x18d)](/browserstack internal helper hook/))return null;await this[_0x49081f(0x17e)]();let _0x2d3c63;try{_0x2d3c63=this[_0x49081f(0x194)](_0x392d4d);if(_0x2d3c63&&_0x2d3c63[_0x49081f(0x1e3)](_0x56082c[_0x49081f(0x18b)]))return null;}catch(_0xb8461f){logger[_0x49081f(0x206)](_0x49081f(0x19b)+util[_0x49081f(0x212)](_0xb8461f)),_0x2d3c63=null;}const _0x241e0b=this[_0x49081f(0x22b)](_0x392d4d),_0x534286=this[_0x49081f(0x1ea)](_0x392d4d),_0x491602=_0x2d3c63?this[_0x49081f(0x1e4)][_0x49081f(0x229)](_0x2d3c63):_0x56082c['usLzk'];let _0xa27e6d=[];const _0x3ec41e=_0x392d4d[_0x49081f(0x1d0)]||_0x392d4d[_0x49081f(0x191)];if(_0x56082c[_0x49081f(0x1ee)](_0x3ec41e,undefined))_0xa27e6d=[_0x3ec41e,_0x56082c['XPWVr']];else _0x56082c[_0x49081f(0x1ee)](_0x4969e9,undefined)&&(_0xa27e6d=[_0x4969e9,_0x56082c[_0x49081f(0x17c)]]);const _0x280f63=_0x56082c[_0x49081f(0x1ee)](_0x3ec41e,undefined)?util[_0x49081f(0x195)](_0x3ec41e[0x0]):_0x56082c[_0x49081f(0x1ee)](_0x4969e9,undefined)?_0x4969e9[_0x49081f(0x213)]():undefined;let _0x2f389d=_0x56082c[_0x49081f(0x1c1)];if(_0x56082c[_0x49081f(0x1e9)](_0x38b5ed,_0x56082c['oLfxf']))_0x2f389d=_0x56082c[_0x49081f(0x1ba)];else _0x56082c[_0x49081f(0x197)](_0x38b5ed,_0x56082c[_0x49081f(0x223)])&&(_0x3ec41e&&_0x56082c[_0x49081f(0x1da)](_0x3ec41e[_0x49081f(0x1db)],0x0)?_0x2f389d=_0x56082c[_0x49081f(0x1fb)]:_0x2f389d=_0x56082c['EGxHv']);let _0x58374d=null;if(_0x56082c[_0x49081f(0x1c7)](_0x392d4d[_0x49081f(0x1e0)],undefined))_0x58374d=_0x392d4d[_0x49081f(0x1e0)];else(_0x38b5ed[_0x49081f(0x18d)](/Finished/)||_0x38b5ed[_0x49081f(0x18d)](/Skipped/))&&(_0x392d4d[_0x49081f(0x1d3)]&&(_0x58374d=_0x56082c[_0x49081f(0x181)](Date['now'](),new Date(_0x392d4d[_0x49081f(0x1d3)])[_0x49081f(0x1b2)]())));const _0x27f6b3=_0x392d4d['fn']?_0x392d4d['fn'][_0x49081f(0x213)]():null,_0x55e611={'id':_0x28aef6,'uuid':_0x28aef6,'startedAt':_0x392d4d[_0x49081f(0x1d3)]||new Date()[_0x49081f(0x196)](),'finishedAt':_0x38b5ed[_0x49081f(0x18d)](/Finished/)||_0x38b5ed[_0x49081f(0x18d)](/Skipped/)?new Date()[_0x49081f(0x196)]():null,'type':_0x56082c[_0x49081f(0x177)],'body':{'lang':_0x56082c[_0x49081f(0x19e)],'code':_0x27f6b3},'name':_0x534286,'errorsDetailed':_0x56082c[_0x49081f(0x1e1)](_0x3ec41e?.['length'],0x0)?_0x3ec41e[0x0]:_0x3ec41e?_0x3ec41e:undefined,'scopes':_0x241e0b,'file_name':_0x491602,'location':_0x491602,'vc_filepath':this[_0x49081f(0x1ce)]&&_0x2d3c63?path[_0x49081f(0x1ab)](this[_0x49081f(0x1ce)],_0x2d3c63):null,'framework':_0x56082c[_0x49081f(0x1aa)],'result':_0x2f389d,'failure_reason':_0x280f63,'duration_in_ms':_0x58374d,'failure':failureData[_0x49081f(0x215)](null,_0xa27e6d),'failure_type':!_0x280f63?null:_0x56082c[_0x49081f(0x185)](getFailureType,_0x280f63),'retry_of':_0x392d4d[_0x49081f(0x21b)]||null,'customRerunParam':{'rerun_name':_0x534286}};_0x56082c[_0x49081f(0x197)](_0x38b5ed,_0x56082c['oLfxf'])&&!_0x55e611['startedAt']&&(_0x55e611[_0x49081f(0x1c0)]=_0x55e611[_0x49081f(0x1c2)]);const _0x46d715=_0x55e611[_0x49081f(0x1bf)]&&_0x55e611['failure'][0x0];return _0x46d715&&(_0x55e611[_0x49081f(0x17f)]=_0x46d715[_0x49081f(0x207)],_0x55e611[_0x49081f(0x1e2)]=_0x46d715['expanded']),(_0x56082c[_0x49081f(0x1c3)](_0x38b5ed,_0x56082c['TgMjB'])||_0x56082c[_0x49081f(0x197)](_0x38b5ed,_0x56082c['oLfxf']))&&(_0x392d4d[_0x49081f(0x217)]&&(_0x55e611[_0x49081f(0x217)]=_0x392d4d[_0x49081f(0x217)])),_0x55e611;}catch(_0x312394){return logger[_0x49081f(0x206)](_0x49081f(0x1d8)+util[_0x49081f(0x212)](_0x312394)),null;}}async[a117_0xee5537(0x18e)](_0x2249fa,_0x23b3ba,_0x494db5,_0x34f2dd){const _0x58a06c=a117_0xee5537,_0x123c0c={'FDapu':_0x58a06c(0x1cc),'DmpwF':'jest-circus','HdVwK':_0x58a06c(0x1f1),'gyCQf':_0x58a06c(0x1b3),'eqtBg':_0x58a06c(0x232),'FNxef':function(_0x236f44,_0x228757){return _0x236f44===_0x228757;},'obNRK':_0x58a06c(0x17b),'JBNUV':function(_0x78a864,_0x5c5ad6){return _0x78a864>_0x5c5ad6;},'RnqEs':_0x58a06c(0x1e8),'nUEVD':function(_0x18383a,_0x1d7095){return _0x18383a(_0x1d7095);},'kRecO':_0x58a06c(0x201),'apekE':_0x58a06c(0x219),'QQwwA':'hook','StSzo':_0x58a06c(0x1c4),'qnyhA':_0x58a06c(0x182),'bAoii':function(_0x30fa8d,_0x539e2e){return _0x30fa8d===_0x539e2e;},'svCDu':'HookRunStarted'};logger['debug'](_0x58a06c(0x21a)+_0x494db5+_0x58a06c(0x208)+_0x23b3ba+_0x58a06c(0x186)+_0x34f2dd);try{if(!_0x2249fa)return logger[_0x58a06c(0x206)](_0x123c0c[_0x58a06c(0x1d2)]),null;if(this[_0x58a06c(0x230)](_0x2249fa))return null;await this[_0x58a06c(0x17e)]();let _0x48a818=null;try{_0x48a818=this[_0x58a06c(0x194)](_0x2249fa);if(_0x48a818&&_0x48a818[_0x58a06c(0x1e3)](_0x123c0c['DmpwF']))return null;if(_0x48a818&&_0x48a818['includes'](_0x123c0c[_0x58a06c(0x192)]))return null;}catch(_0x2a3d9b){logger[_0x58a06c(0x206)](_0x58a06c(0x1d5)+util[_0x58a06c(0x212)](_0x2a3d9b));}const _0x2b09e8=_0x48a818?this[_0x58a06c(0x1e4)]['prefixTestPath'](_0x48a818):_0x48a818,_0x1e88d2=this[_0x58a06c(0x1ea)](_0x2249fa),_0x2ee1d7=_0x2249fa[_0x58a06c(0x1dd)]||_0x123c0c[_0x58a06c(0x190)],_0x2421f7=HOOK_TYPES_MAP[_0x2ee1d7]||_0x2ee1d7[_0x58a06c(0x238)](),_0x4c1dc3=_0x2249fa[_0x58a06c(0x21d)]&&_0x2249fa[_0x58a06c(0x21d)][_0x58a06c(0x19f)]?_0x2249fa[_0x58a06c(0x21d)]['name']:'';let _0x49a628=_0x123c0c[_0x58a06c(0x1fa)],_0x111f43=null,_0x2e9ad1=null,_0xff5f40=null,_0x57a467=null;_0x123c0c[_0x58a06c(0x203)](_0x494db5,_0x123c0c[_0x58a06c(0x178)])&&(_0x57a467=new Date()[_0x58a06c(0x196)](),_0x2249fa[_0x58a06c(0x1d0)]&&_0x123c0c[_0x58a06c(0x1de)](_0x2249fa[_0x58a06c(0x1d0)][_0x58a06c(0x1db)],0x0)?(_0x49a628=_0x123c0c[_0x58a06c(0x228)],_0x2e9ad1=util[_0x58a06c(0x195)](_0x2249fa[_0x58a06c(0x1d0)][0x0]),_0x111f43=_0x123c0c[_0x58a06c(0x187)](getFailureType,_0x2e9ad1),_0xff5f40=failureData[_0x58a06c(0x215)](null,[_0x2249fa['errorsDetailed'],_0x123c0c[_0x58a06c(0x236)]])):_0x49a628=_0x123c0c[_0x58a06c(0x214)]);const _0x1d8534={'uuid':_0x23b3ba,'type':_0x123c0c[_0x58a06c(0x1a0)],'hook_type':_0x2421f7,'name':_0x1e88d2,'body':{'lang':_0x123c0c[_0x58a06c(0x1eb)],'code':_0x2249fa['fn']?_0x2249fa['fn'][_0x58a06c(0x213)]():null},'tags':[],'test_run_id':_0x34f2dd,'scope':_0x4c1dc3,'scopes':[_0x4c1dc3],'file_name':_0x2b09e8,'location':_0x2b09e8,'vc_filepath':this[_0x58a06c(0x1ce)]&&_0x48a818?path[_0x58a06c(0x1ab)](this[_0x58a06c(0x1ce)],_0x48a818):null,'result':_0x49a628,'started_at':_0x2249fa[_0x58a06c(0x1d3)]||new Date()[_0x58a06c(0x196)](),'finished_at':_0x57a467,'failure_type':_0x111f43,'failure_reason':_0x2e9ad1,'failure_data':_0xff5f40,'framework':_0x123c0c[_0x58a06c(0x1f6)]};return _0x123c0c[_0x58a06c(0x198)](_0x494db5,_0x123c0c[_0x58a06c(0x1a6)])&&(hooksMap[_0x34f2dd]?hooksMap[_0x34f2dd]['push'](_0x1d8534):hooksMap[_0x34f2dd]=[_0x1d8534]),_0x1d8534;}catch(_0x566eb7){return logger['debug']('Exception\x20in\x20createHookData:\x20'+util[_0x58a06c(0x212)](_0x566eb7)),null;}}['getHookRunEventData'](_0x54106a,_0x2b69b4,_0x1ec16c){const _0x107f8b=a117_0xee5537,_0x4522d5={'RmkBn':function(_0x53c38c,_0x737b4b){return _0x53c38c>_0x737b4b;},'szOdK':_0x107f8b(0x1e8),'OSpya':function(_0x1a1d0e,_0x344242){return _0x1a1d0e(_0x344242);},'gUAFT':_0x107f8b(0x201),'nforb':_0x107f8b(0x219)};try{const _0x1e7659=hooksMap[_0x54106a];if(!_0x1e7659)return null;const _0x39bc9b=_0x1e7659[_0x107f8b(0x21e)](_0x24a67c=>_0x24a67c[_0x107f8b(0x1b8)]===_0x2b69b4);if(!_0x39bc9b)return null;return _0x39bc9b[_0x107f8b(0x1c5)]=new Date()[_0x107f8b(0x196)](),_0x1ec16c[_0x107f8b(0x1d0)]&&_0x4522d5[_0x107f8b(0x17a)](_0x1ec16c[_0x107f8b(0x1d0)][_0x107f8b(0x1db)],0x0)?(_0x39bc9b['result']=_0x4522d5[_0x107f8b(0x22d)],_0x39bc9b['failure_reason']=util[_0x107f8b(0x195)](_0x1ec16c[_0x107f8b(0x1d0)][0x0]),_0x39bc9b['failure_type']=_0x4522d5[_0x107f8b(0x216)](getFailureType,_0x39bc9b[_0x107f8b(0x1a1)]),_0x39bc9b[_0x107f8b(0x224)]=failureData[_0x107f8b(0x215)](null,[_0x1ec16c[_0x107f8b(0x1d0)],_0x4522d5[_0x107f8b(0x188)]])):_0x39bc9b[_0x107f8b(0x222)]=_0x4522d5['nforb'],_0x39bc9b;}catch(_0xe02d4e){return logger[_0x107f8b(0x206)](_0x107f8b(0x1cd)+util[_0x107f8b(0x212)](_0xe02d4e)),null;}}['getName'](_0x35b1ec){const _0x270337=a117_0xee5537,_0x4e61ef={};_0x4e61ef[_0x270337(0x1a8)]=function(_0x282352,_0x58f57f){return _0x282352!==_0x58f57f;},_0x4e61ef[_0x270337(0x234)]=_0x270337(0x201),_0x4e61ef[_0x270337(0x1a4)]=_0x270337(0x176);const _0x3056ca=_0x4e61ef;if(_0x3056ca[_0x270337(0x1a8)](_0x35b1ec[_0x270337(0x1dd)],_0x3056ca[_0x270337(0x234)]))return'\x22'+_0x35b1ec[_0x270337(0x1dd)]+'\x22\x20hook\x20for\x20\x22'+(_0x35b1ec[_0x270337(0x21d)]&&_0x35b1ec[_0x270337(0x21d)][_0x270337(0x19f)])+'\x22';return _0x35b1ec[_0x270337(0x19f)]||_0x3056ca[_0x270337(0x1a4)];}[a117_0xee5537(0x22b)](_0x381700){const _0x1e1d26=a117_0xee5537,_0x598d54={};_0x598d54[_0x1e1d26(0x17d)]=function(_0x15d668,_0x59a4ac){return _0x15d668!==_0x59a4ac;},_0x598d54[_0x1e1d26(0x1ec)]=_0x1e1d26(0x1f0);const _0x261c35=_0x598d54,_0x4db4b5=[];if(_0x381700&&_0x381700[_0x1e1d26(0x21d)]){let _0x42b0ba=_0x381700[_0x1e1d26(0x21d)];while(_0x42b0ba&&_0x42b0ba[_0x1e1d26(0x19f)]&&_0x261c35['bvGup'](_0x42b0ba['name'],'')&&_0x261c35[_0x1e1d26(0x17d)](_0x42b0ba[_0x1e1d26(0x19f)],_0x261c35[_0x1e1d26(0x1ec)])){_0x4db4b5['push'](_0x42b0ba[_0x1e1d26(0x19f)]),_0x42b0ba=_0x42b0ba[_0x1e1d26(0x21d)];}}return _0x4db4b5[_0x1e1d26(0x1b0)](),_0x4db4b5;}['getRootParentFile'](_0x24b73a){const _0x45023d=a117_0xee5537,_0x34acfb={'XkTVD':function(_0x11e804,_0x1c77fc){return _0x11e804(_0x1c77fc);}};if(_0x24b73a[_0x45023d(0x1f7)])return _0x24b73a[_0x45023d(0x1f7)];if(_0x24b73a[_0x45023d(0x1b6)])try{const _0x4962e0=stackTrace[_0x45023d(0x210)][_0x45023d(0x1d6)](stackTrace,_0x24b73a[_0x45023d(0x1b6)]),_0x7d2e11=_0x34acfb[_0x45023d(0x1e5)](pickUserFrameFile,_0x4962e0);if(_0x7d2e11)return _0x7d2e11;logger['debug'](_0x45023d(0x1df)+_0x4962e0['length']+')');}catch(_0x84aa2b){logger[_0x45023d(0x206)](_0x45023d(0x218)+util[_0x45023d(0x212)](_0x84aa2b));}return null;}[a117_0xee5537(0x230)](_0x1df48a){const _0x23a57e=a117_0xee5537,_0x57cda9={};_0x57cda9['zYDiY']=_0x23a57e(0x1f2);const _0x3a31dc=_0x57cda9;try{const _0x44a5c0=this[_0x23a57e(0x194)](_0x1df48a);if(!_0x44a5c0||_0x44a5c0[_0x23a57e(0x1e3)](_0x3a31dc[_0x23a57e(0x1c9)]))return!![];}catch(_0x2c5738){logger[_0x23a57e(0x206)](_0x23a57e(0x20a)+util[_0x23a57e(0x212)](_0x2c5738));}return![];}[a117_0xee5537(0x1dc)](_0x154729=null){const _0x240b03=a117_0xee5537;try{const _0x5a4d64=_0x154729||global[_0x240b03(0x1e7)]||{};if(global['__jestCurrentTestIdentifier'])return global['__jestCurrentTestIdentifier'];if(_0x5a4d64?.[_0x240b03(0x1d7)]?.[_0x240b03(0x1c8)])return _0x5a4d64[_0x240b03(0x1d7)][_0x240b03(0x1c8)];if(_0x5a4d64?.[_0x240b03(0x1d7)]?.['id'])return _0x5a4d64[_0x240b03(0x1d7)]['id'];return null;}catch(_0x49c306){return logger[_0x240b03(0x206)](_0x240b03(0x22c)+util[_0x240b03(0x212)](_0x49c306)),null;}}async[a117_0xee5537(0x17e)](){const _0x16f7c1=a117_0xee5537,_0x22cdaa={'ZNYrL':function(_0x119cde){return _0x119cde();}};if(this[_0x16f7c1(0x180)])return this[_0x16f7c1(0x1ce)];const _0x153ca3=await _0x22cdaa['ZNYrL'](getGitMetaData);_0x153ca3&&(this[_0x16f7c1(0x1ce)]=_0x153ca3[_0x16f7c1(0x200)]),this[_0x16f7c1(0x180)]=!![];}['clearHooksMap'](_0x5381af){hooksMap[_0x5381af]&&delete hooksMap[_0x5381af];}[a117_0xee5537(0x1d9)](_0x484c8a){const _0x16b2a6=a117_0xee5537,_0x388f62={'UpziN':'jest-circus','ZiZsE':function(_0x5ba576,_0x4b5034){return _0x5ba576(_0x4b5034);},'NywQv':_0x16b2a6(0x1ac)};if(_0x484c8a['file'])return _0x484c8a[_0x16b2a6(0x1f7)];if(_0x484c8a[_0x16b2a6(0x1b6)]){try{const _0x15ee90=stackTrace[_0x16b2a6(0x210)](_0x484c8a[_0x16b2a6(0x1b6)]);if(_0x15ee90[0x0]&&_0x15ee90[0x0][_0x16b2a6(0x183)]){const _0x21adc4=_0x15ee90[0x0]['getFileName']();if(_0x21adc4&&!_0x21adc4[_0x16b2a6(0x1e3)](_0x388f62[_0x16b2a6(0x211)]))return _0x21adc4;}}catch(_0x1010f8){logger[_0x16b2a6(0x206)](_0x16b2a6(0x1c6)+util[_0x16b2a6(0x212)](_0x1010f8));}if(_0x484c8a[_0x16b2a6(0x1b6)][_0x16b2a6(0x1ad)]){const _0x41049f=_0x484c8a[_0x16b2a6(0x1b6)][_0x16b2a6(0x1ad)]['split']('\x0a');for(const _0x2abb1e of _0x41049f){const _0x54ba38=_0x2abb1e[_0x16b2a6(0x18d)](/at (.+?):\d+:\d+/);if(_0x54ba38&&_0x54ba38[0x1]&&!_0x54ba38[0x1][_0x16b2a6(0x1e3)](_0x388f62[_0x16b2a6(0x211)]))return _0x54ba38[0x1];}}}let _0x216e8e=_0x484c8a['parent'];while(_0x216e8e){if(_0x216e8e[_0x16b2a6(0x1f7)])return _0x216e8e['file'];if(_0x216e8e[_0x16b2a6(0x1b6)])try{const _0x517aa4=stackTrace[_0x16b2a6(0x210)](_0x216e8e[_0x16b2a6(0x1b6)]);if(_0x517aa4[0x0]&&_0x517aa4[0x0][_0x16b2a6(0x183)]){const _0x29a7dd=_0x517aa4[0x0][_0x16b2a6(0x183)]();if(_0x29a7dd&&!_0x29a7dd[_0x16b2a6(0x1e3)](_0x388f62[_0x16b2a6(0x211)]))return _0x29a7dd;}}catch(_0x25c181){}_0x216e8e=_0x216e8e[_0x16b2a6(0x21d)];}try{const _0x509ec0=_0x388f62[_0x16b2a6(0x204)](require,_0x388f62[_0x16b2a6(0x1cb)]);if(_0x509ec0&&_0x509ec0[_0x16b2a6(0x1fd)]){const _0x3ffb40=_0x509ec0[_0x16b2a6(0x1fd)]();if(_0x3ffb40&&_0x3ffb40['testPath'])return _0x3ffb40[_0x16b2a6(0x22f)];}}catch(_0x523fe7){logger[_0x16b2a6(0x206)](_0x16b2a6(0x1ae)+util[_0x16b2a6(0x212)](_0x523fe7));}return null;}[a117_0xee5537(0x1af)](_0x369015){const _0x1f0ebc=a117_0xee5537,_0x57c211={};_0x57c211[_0x1f0ebc(0x1f9)]=_0x1f0ebc(0x1f4),_0x57c211[_0x1f0ebc(0x1bb)]=function(_0x4a5b85,_0x5a00bc){return _0x4a5b85!==_0x5a00bc;},_0x57c211[_0x1f0ebc(0x1f8)]='ROOT_DESCRIBE_BLOCK',_0x57c211['XHbLL']=_0x1f0ebc(0x1f2),_0x57c211[_0x1f0ebc(0x193)]=_0x1f0ebc(0x20d),_0x57c211[_0x1f0ebc(0x1a5)]=_0x1f0ebc(0x20e);const _0xc688ea=_0x57c211;try{if(!_0x369015)return logger[_0x1f0ebc(0x1b4)](_0xc688ea[_0x1f0ebc(0x1f9)]),null;const _0x2b2c9c=_0x369015[_0x1f0ebc(0x1be)]||_0x369015[_0x1f0ebc(0x19f)]||_0x369015[_0x1f0ebc(0x179)]||_0x369015[_0x1f0ebc(0x202)];let _0x5c3488=_0x2b2c9c;if(_0x369015[_0x1f0ebc(0x21d)]&&_0x369015['parent'][_0x1f0ebc(0x19f)]&&_0xc688ea['FZRmY'](_0x369015[_0x1f0ebc(0x21d)][_0x1f0ebc(0x19f)],_0xc688ea['Hadvj'])){const _0x2eee1f=_0x369015[_0x1f0ebc(0x19f)]||_0x369015[_0x1f0ebc(0x179)];_0x2eee1f&&(_0x5c3488=_0x369015['parent'][_0x1f0ebc(0x19f)]+'\x20'+_0x2eee1f);}let _0x4c7b64=_0x369015[_0x1f0ebc(0x22f)];if(!_0x4c7b64&&_0x369015[_0x1f0ebc(0x1b6)]){try{const _0xb7cbd2=stackTrace['parse'](_0x369015[_0x1f0ebc(0x1b6)]);if(_0xb7cbd2[0x0]&&_0xb7cbd2[0x0][_0x1f0ebc(0x183)]){const _0x1bd21f=_0xb7cbd2[0x0]['getFileName']();_0x1bd21f&&!_0x1bd21f['includes'](_0xc688ea[_0x1f0ebc(0x1ca)])&&(_0x4c7b64=_0x1bd21f);}}catch(_0x323a98){logger[_0x1f0ebc(0x206)](_0x1f0ebc(0x1c6)+util[_0x1f0ebc(0x212)](_0x323a98));}if(!_0x4c7b64&&_0x369015[_0x1f0ebc(0x1b6)][_0x1f0ebc(0x1ad)]){const _0x4be564=_0x369015[_0x1f0ebc(0x1b6)]['stack'][_0x1f0ebc(0x1f5)]('\x0a');for(const _0x14cbe1 of _0x4be564){const _0x329235=_0x14cbe1['match'](/at (.+?):\d+:\d+/);if(_0x329235&&_0x329235[0x1]&&!_0x329235[0x1][_0x1f0ebc(0x1e3)](_0xc688ea[_0x1f0ebc(0x1ca)])){_0x4c7b64=_0x329235[0x1];break;}}}}const _0x41a81d=_0x4c7b64+'::'+_0x5c3488,_0x1921eb=crypto[_0x1f0ebc(0x20f)](_0xc688ea[_0x1f0ebc(0x193)])['update'](_0x41a81d)['digest'](_0xc688ea[_0x1f0ebc(0x1a5)])[_0x1f0ebc(0x209)](0x0,0x8),_0x285134=process[_0x1f0ebc(0x1cf)]+_0x1f0ebc(0x1bc)+_0x1921eb;return logger[_0x1f0ebc(0x206)](_0x1f0ebc(0x221)+_0x285134+_0x1f0ebc(0x18f)+_0x41a81d),_0x285134;}catch(_0x2d8082){return logger[_0x1f0ebc(0x1b4)](_0x1f0ebc(0x199)+util[_0x1f0ebc(0x212)](_0x2d8082)),null;}}[a117_0xee5537(0x220)](_0x2e7ead){const _0x41d418=a117_0xee5537,_0x3a5aed={};_0x3a5aed[_0x41d418(0x1b5)]=_0x41d418(0x227);const _0x18e779=_0x3a5aed;if(!_0x2e7ead)return logger[_0x41d418(0x206)](_0x18e779[_0x41d418(0x1b5)]),null;const _0xb5186f=this[_0x41d418(0x1d9)](_0x2e7ead),_0x33da18={};_0x33da18[_0x41d418(0x19f)]=_0x2e7ead[_0x41d418(0x19f)]||_0x2e7ead[_0x41d418(0x179)],_0x33da18[_0x41d418(0x21d)]=_0x2e7ead['parent'],_0x33da18['testPath']=_0xb5186f,_0x33da18['asyncError']=_0x2e7ead[_0x41d418(0x1b6)];const _0x1a5ca9=_0x33da18;return this['createJestTestIdentifier'](_0x1a5ca9);}[a117_0xee5537(0x19d)](_0x4b8ef3,_0x42bc3c=null){const _0x259507=a117_0xee5537,_0x39cab0={};_0x39cab0[_0x259507(0x231)]=_0x259507(0x1a7);const _0x3652ab=_0x39cab0;if(!_0x4b8ef3)return logger[_0x259507(0x206)](_0x3652ab['mBSPb']),_0x42bc3c;if(_0x4b8ef3[_0x259507(0x1bd)])return logger[_0x259507(0x206)](_0x259507(0x20c)+_0x4b8ef3[_0x259507(0x1bd)]),_0x4b8ef3[_0x259507(0x1bd)];return this[_0x259507(0x1af)](_0x4b8ef3)||_0x42bc3c;}}module[a117_0xee5537(0x189)]=o11yClassErrorHandler(JestUtils,['configureGit',a117_0xee5537(0x22b),a117_0xee5537(0x194),a117_0xee5537(0x1ea),a117_0xee5537(0x230),a117_0xee5537(0x1dc),'createTestFrameworkData',a117_0xee5537(0x18e),a117_0xee5537(0x22e),a117_0xee5537(0x20b),'extractTestFilePath',a117_0xee5537(0x1af),a117_0xee5537(0x220),a117_0xee5537(0x19d)]);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a118_0x16e5b2=a118_0x5c04;function a118_0x5c04(_0x3d12a5,_0x38d627){const _0x5deb4a=a118_0x5deb();return a118_0x5c04=function(_0x5c04a2,_0x41c5ed){_0x5c04a2=_0x5c04a2-0x1ac;let _0x2927d4=_0x5deb4a[_0x5c04a2];return _0x2927d4;},a118_0x5c04(_0x3d12a5,_0x38d627);}(function(_0x1cb1f5,_0x3363d2){const _0x1fddf2=a118_0x5c04,_0x4d0f80=_0x1cb1f5();while(!![]){try{const _0x561d52=-parseInt(_0x1fddf2(0x1b2))/0x1+parseInt(_0x1fddf2(0x1b3))/0x2+-parseInt(_0x1fddf2(0x1cc))/0x3*(-parseInt(_0x1fddf2(0x1c5))/0x4)+parseInt(_0x1fddf2(0x1cd))/0x5+parseInt(_0x1fddf2(0x1ac))/0x6*(parseInt(_0x1fddf2(0x1e5))/0x7)+-parseInt(_0x1fddf2(0x1af))/0x8+-parseInt(_0x1fddf2(0x1ca))/0x9*(parseInt(_0x1fddf2(0x1c3))/0xa);if(_0x561d52===_0x3363d2)break;else _0x4d0f80['push'](_0x4d0f80['shift']());}catch(_0x179d2a){_0x4d0f80['push'](_0x4d0f80['shift']());}}}(a118_0x5deb,0x976b4));const fs=require('fs'),path=require(a118_0x16e5b2(0x1e8)),{default:BrowserStackSetup}=require(a118_0x16e5b2(0x1c6)),helper=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a118_0x16e5b2(0x1e0))[a118_0x16e5b2(0x1b7)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require(a118_0x16e5b2(0x1dc)),TestHubHandler=require(a118_0x16e5b2(0x1c7)),BrowserstackCLI=require(a118_0x16e5b2(0x1c9));function a118_0x5deb(){const _0xe1c007=['modifyBrowserStackW3CCaps','config','finalExecution','cwd','getHubUrl','60RDlbYQ','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','4TSMlzb','../../helpers/BrowserStackSetup','../../helpers/testhub/testhubHandler','parallelsPerPlatform','../v2/browserstackCLI','97830jcaXDV','File\x20path\x20is\x20required','299307BzHigJ','4486420PSkVHQ','startsWith','pAqOC','end','push','platforms','length','forEach','File\x20path\x20','wnjoq','tjuuF','WzGRN','useW3C','SDK_CLEANUP','launchBuild','../test-runner','ZZnoL','vanilla','isUndefined','../../helpers/performance/constants','index','exports','handleApp','fHoSa','7dFXprh','Config\x20yml\x20is\x20required','vfgJM','path','finally','3268434IewoRL','getPlatformName','file','5015432qtyQqA','initialize','sep','477013ZrCRsJ','495164aiCmBm','assign','VPdYP','configuration','EVENTS','resolve','proxySettings','isRunning','bKOPQ','NejGq','args'];a118_0x5deb=function(){return _0xe1c007;};return a118_0x5deb();}async function run(_0x21b186,_0x279d68,_0x8bbf3){const _0x171f88=a118_0x16e5b2,_0x430942={'VPdYP':_0x171f88(0x1de),'wnjoq':function(_0x4de105,_0x4c5657){return _0x4de105(_0x4c5657);},'pAqOC':_0x171f88(0x1cb),'NejGq':function(_0x545205,_0x5188ca){return _0x545205!==_0x5188ca;},'JLnyp':function(_0x59cf99,_0x2be531){return _0x59cf99+_0x2be531;},'bKOPQ':function(_0x24540a,_0x4c5c19){return _0x24540a(_0x4c5c19);},'ZZnoL':_0x171f88(0x1e6),'vfgJM':function(_0x2093fc,_0x57c067){return _0x2093fc>_0x57c067;},'WzGRN':function(_0x1ac5e3,_0x3dac5c){return _0x1ac5e3>_0x3dac5c;},'tjuuF':function(_0x4cdff4,_0x91d0e4){return _0x4cdff4*_0x91d0e4;},'fHoSa':function(_0x3ca383,_0x554a24,_0x3a8095){return _0x3ca383(_0x554a24,_0x3a8095);}};await _0x8bbf3[_0x171f88(0x1b0)](_0x21b186);!BrowserstackCLI['getInstance']()[_0x171f88(0x1ba)]()&&await _0x8bbf3['setupBrowserstackLocal']();await helper[_0x171f88(0x1e3)](_0x8bbf3[_0x171f88(0x1bf)]);const _0x3dbf1f=[];if(helper[_0x171f88(0x1df)](_0x21b186['_'][0x1]))throw _0x430942[_0x171f88(0x1d6)](Error,_0x430942[_0x171f88(0x1cf)]);const _0x2c61d7=process[_0x171f88(0x1c1)](),_0x38b7e1=path[_0x171f88(0x1b8)](_0x2c61d7,_0x21b186['_'][0x1]);if(_0x430942[_0x171f88(0x1bc)](_0x38b7e1,_0x2c61d7)&&!_0x38b7e1[_0x171f88(0x1ce)](_0x430942['JLnyp'](_0x2c61d7,path[_0x171f88(0x1b1)])))throw _0x430942['wnjoq'](Error,_0x171f88(0x1d5)+_0x21b186['_'][0x1]+_0x171f88(0x1c4));if(!fs['existsSync'](_0x38b7e1))throw _0x430942[_0x171f88(0x1d6)](Error,'File\x20'+_0x21b186['_'][0x1]+'\x20doesn\x27t\x20exist');if(!_0x8bbf3[_0x171f88(0x1bf)])throw _0x430942[_0x171f88(0x1bb)](Error,_0x430942[_0x171f88(0x1dd)]);const _0x18080a=helper[_0x171f88(0x1d9)](_0x8bbf3[_0x171f88(0x1bf)]);_0x8bbf3[_0x171f88(0x1bf)]['platforms']&&_0x430942[_0x171f88(0x1e7)](_0x8bbf3[_0x171f88(0x1bf)][_0x171f88(0x1d2)]['length'],0x0)&&_0x8bbf3[_0x171f88(0x1bf)][_0x171f88(0x1d2)][_0x171f88(0x1d4)]((_0x539331,_0x253029)=>{const _0x5dd41e=_0x171f88;_0x18080a?_0x3dbf1f[_0x5dd41e(0x1d1)](helper[_0x5dd41e(0x1be)](_0x8bbf3[_0x5dd41e(0x1bf)],_0x430942[_0x5dd41e(0x1b5)],_0x253029)):_0x3dbf1f[_0x5dd41e(0x1d1)](helper['modifyBrowserStackCaps'](_0x8bbf3[_0x5dd41e(0x1bf)],_0x430942[_0x5dd41e(0x1b5)],_0x253029));});let _0x921eec,_0x4a3515;const _0x4e48ff=[];if(_0x430942[_0x171f88(0x1d8)](_0x3dbf1f['length'],0x0))_0x3dbf1f[_0x171f88(0x1d4)]((_0x20f745,_0x2e2068)=>{const _0x58fb59=_0x171f88,_0x2dcab6={};_0x2dcab6[_0x58fb59(0x1e1)]=_0x2e2068,_0x921eec={'server':helper['getHubUrl'](_0x8bbf3[_0x58fb59(0x1bf)]),'proxySettings':_0x8bbf3[_0x58fb59(0x1bf)][_0x58fb59(0x1b9)],'platform':helper[_0x58fb59(0x1ad)](_0x20f745),'platformCaps':Object[_0x58fb59(0x1b4)](_0x2dcab6,_0x8bbf3[_0x58fb59(0x1bf)][_0x58fb59(0x1d2)][_0x2e2068])};const _0x514e4f={'capability':_0x20f745,..._0x921eec};_0x514e4f[_0x58fb59(0x1ae)]=_0x38b7e1,_0x514e4f[_0x58fb59(0x1bd)]=_0x279d68;const _0x49494b={};_0x49494b['configuration']=_0x514e4f,_0x4a3515=_0x49494b,_0x4e48ff['push'](_0x4a3515);});else{let _0x5bfb37;_0x18080a?_0x5bfb37=helper[_0x171f88(0x1be)](_0x8bbf3[_0x171f88(0x1bf)],_0x430942[_0x171f88(0x1b5)],0x0):_0x5bfb37=helper['modifyBrowserStackCaps'](_0x8bbf3[_0x171f88(0x1bf)],_0x430942['VPdYP'],0x0);_0x921eec={'server':helper[_0x171f88(0x1c2)](_0x8bbf3[_0x171f88(0x1bf)]),'proxySettings':_0x8bbf3[_0x171f88(0x1bf)][_0x171f88(0x1b9)]};const _0x345868={'capability':_0x5bfb37,..._0x921eec};_0x345868[_0x171f88(0x1ae)]=_0x38b7e1,_0x345868['args']=_0x279d68;const _0x3267d1={};_0x3267d1[_0x171f88(0x1b6)]=_0x345868,_0x4a3515=_0x3267d1,_0x4e48ff[_0x171f88(0x1d1)](_0x4a3515);}const _0x41f7c6=await TestHubHandler[_0x171f88(0x1db)](_0x430942[_0x171f88(0x1b5)],_0x8bbf3),_0x1cf7ea=_0x430942[_0x171f88(0x1d7)](_0x8bbf3[_0x171f88(0x1bf)]['platforms'][_0x171f88(0x1d3)]||0x1,_0x8bbf3[_0x171f88(0x1bf)][_0x171f88(0x1c8)]||0x1);PerformanceTester[_0x171f88(0x1d0)](PerformanceEvents['SDK_SETUP']),_0x430942[_0x171f88(0x1e4)](parallelVanillaRun,_0x4e48ff,_0x1cf7ea)['then'](_0x3470db=>{})[_0x171f88(0x1e9)](async()=>{const _0x5f51fb=_0x171f88;PerformanceTester['start'](PerformanceEvents[_0x5f51fb(0x1da)]),await utilities[_0x5f51fb(0x1c0)](_0x8bbf3);});}module[a118_0x16e5b2(0x1e2)]=run;
2
+ 'use strict';const a118_0x4e809b=a118_0x11c8;(function(_0x2f6355,_0x588db7){const _0x3d4eb3=a118_0x11c8,_0x5bade2=_0x2f6355();while(!![]){try{const _0x192592=parseInt(_0x3d4eb3(0xb6))/0x1*(parseInt(_0x3d4eb3(0x9c))/0x2)+parseInt(_0x3d4eb3(0x8c))/0x3*(-parseInt(_0x3d4eb3(0xa0))/0x4)+-parseInt(_0x3d4eb3(0xbd))/0x5*(parseInt(_0x3d4eb3(0xa9))/0x6)+-parseInt(_0x3d4eb3(0xa4))/0x7*(-parseInt(_0x3d4eb3(0xbe))/0x8)+parseInt(_0x3d4eb3(0xb9))/0x9*(parseInt(_0x3d4eb3(0xc0))/0xa)+-parseInt(_0x3d4eb3(0xab))/0xb+parseInt(_0x3d4eb3(0x92))/0xc;if(_0x192592===_0x588db7)break;else _0x5bade2['push'](_0x5bade2['shift']());}catch(_0x27f020){_0x5bade2['push'](_0x5bade2['shift']());}}}(a118_0x5ebf,0xbb791));function a118_0x11c8(_0x53434a,_0x29ba34){const _0x5ebff0=a118_0x5ebf();return a118_0x11c8=function(_0x11c892,_0x206ca3){_0x11c892=_0x11c892-0x86;let _0xad6773=_0x5ebff0[_0x11c892];return _0xad6773;},a118_0x11c8(_0x53434a,_0x29ba34);}const fs=require('fs'),path=require('path'),{default:BrowserStackSetup}=require(a118_0x4e809b(0x93)),helper=require(a118_0x4e809b(0xae)),PerformanceTester=require(a118_0x4e809b(0x88)),PerformanceEvents=require(a118_0x4e809b(0x97))['EVENTS'],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require(a118_0x4e809b(0xa2)),TestHubHandler=require(a118_0x4e809b(0x91)),BrowserstackCLI=require('../v2/browserstackCLI');async function run(_0x3b7b96,_0x57b32e,_0x3d3e5a){const _0x1f91a2=a118_0x4e809b,_0x452e66={'CNyKU':_0x1f91a2(0xa6),'iqrxQ':function(_0x2dade3,_0x3a218e){return _0x2dade3(_0x3a218e);},'avDft':_0x1f91a2(0xbf),'HPtYU':function(_0x5347fb,_0x1caab0){return _0x5347fb!==_0x1caab0;},'IzEwf':function(_0xf230cb,_0x5372c1){return _0xf230cb+_0x5372c1;},'hBlJl':function(_0x4fea74,_0x4a6ed0){return _0x4fea74(_0x4a6ed0);},'Umitf':_0x1f91a2(0x9b),'zvBAc':function(_0x7ebd10,_0x11b91f){return _0x7ebd10>_0x11b91f;},'WYSAp':function(_0x4f24f6,_0x220107){return _0x4f24f6>_0x220107;},'qLNqG':function(_0x28f1bd,_0xcfe858){return _0x28f1bd*_0xcfe858;},'ETIrB':function(_0x33442d,_0x1ba30e,_0x5c9dfc){return _0x33442d(_0x1ba30e,_0x5c9dfc);}};await _0x3d3e5a[_0x1f91a2(0xbb)](_0x3b7b96);!BrowserstackCLI[_0x1f91a2(0xa8)]()[_0x1f91a2(0xb3)]()&&await _0x3d3e5a[_0x1f91a2(0xbc)]();await helper[_0x1f91a2(0x98)](_0x3d3e5a[_0x1f91a2(0x8b)]);const _0x234425=[];if(helper[_0x1f91a2(0x87)](_0x3b7b96['_'][0x1]))throw _0x452e66['iqrxQ'](Error,_0x452e66[_0x1f91a2(0xc1)]);const _0x5d720a=process['cwd'](),_0x5eb8b7=path[_0x1f91a2(0xb1)](_0x5d720a,_0x3b7b96['_'][0x1]);if(_0x452e66[_0x1f91a2(0xb4)](_0x5eb8b7,_0x5d720a)&&!_0x5eb8b7[_0x1f91a2(0xac)](_0x452e66[_0x1f91a2(0xaf)](_0x5d720a,path[_0x1f91a2(0x89)])))throw _0x452e66[_0x1f91a2(0x95)](Error,_0x1f91a2(0xb2)+_0x3b7b96['_'][0x1]+'\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected');if(!fs[_0x1f91a2(0xa1)](_0x5eb8b7))throw _0x452e66['hBlJl'](Error,_0x1f91a2(0x8f)+_0x3b7b96['_'][0x1]+'\x20doesn\x27t\x20exist');if(!_0x3d3e5a[_0x1f91a2(0x8b)])throw _0x452e66[_0x1f91a2(0x96)](Error,_0x452e66[_0x1f91a2(0x86)]);const _0xa43e7e=helper[_0x1f91a2(0x9a)](_0x3d3e5a[_0x1f91a2(0x8b)]);_0x3d3e5a['config'][_0x1f91a2(0x94)]&&_0x452e66[_0x1f91a2(0x8d)](_0x3d3e5a[_0x1f91a2(0x8b)][_0x1f91a2(0x94)][_0x1f91a2(0xba)],0x0)&&_0x3d3e5a[_0x1f91a2(0x8b)]['platforms'][_0x1f91a2(0xb0)]((_0x3c7764,_0x10d773)=>{const _0x288b04=_0x1f91a2;_0xa43e7e?_0x234425[_0x288b04(0xb8)](helper[_0x288b04(0x9f)](_0x3d3e5a['config'],_0x452e66[_0x288b04(0x9e)],_0x10d773)):_0x234425[_0x288b04(0xb8)](helper[_0x288b04(0x99)](_0x3d3e5a['config'],_0x452e66[_0x288b04(0x9e)],_0x10d773));});let _0x43ff6b,_0x24ba14;const _0xc83c09=[];if(_0x452e66['WYSAp'](_0x234425['length'],0x0))_0x234425[_0x1f91a2(0xb0)]((_0x3241d2,_0xe9ad16)=>{const _0x46b7d2=_0x1f91a2,_0x587fcb={};_0x587fcb[_0x46b7d2(0x8e)]=_0xe9ad16,_0x43ff6b={'server':helper[_0x46b7d2(0x90)](_0x3d3e5a['config']),'proxySettings':_0x3d3e5a[_0x46b7d2(0x8b)][_0x46b7d2(0xa5)],'platform':helper[_0x46b7d2(0xad)](_0x3241d2),'platformCaps':Object[_0x46b7d2(0xc2)](_0x587fcb,_0x3d3e5a['config'][_0x46b7d2(0x94)][_0xe9ad16])};const _0x184d39={'capability':_0x3241d2,..._0x43ff6b};_0x184d39['file']=_0x5eb8b7,_0x184d39[_0x46b7d2(0xaa)]=_0x57b32e;const _0x5d1b30={};_0x5d1b30[_0x46b7d2(0x9d)]=_0x184d39,_0x24ba14=_0x5d1b30,_0xc83c09[_0x46b7d2(0xb8)](_0x24ba14);});else{let _0x44933e;_0xa43e7e?_0x44933e=helper[_0x1f91a2(0x9f)](_0x3d3e5a['config'],_0x452e66[_0x1f91a2(0x9e)],0x0):_0x44933e=helper['modifyBrowserStackCaps'](_0x3d3e5a[_0x1f91a2(0x8b)],_0x452e66[_0x1f91a2(0x9e)],0x0);_0x43ff6b={'server':helper[_0x1f91a2(0x90)](_0x3d3e5a['config']),'proxySettings':_0x3d3e5a[_0x1f91a2(0x8b)][_0x1f91a2(0xa5)]};const _0x42ba79={'capability':_0x44933e,..._0x43ff6b};_0x42ba79[_0x1f91a2(0xb5)]=_0x5eb8b7,_0x42ba79['args']=_0x57b32e;const _0x2b6d35={};_0x2b6d35['configuration']=_0x42ba79,_0x24ba14=_0x2b6d35,_0xc83c09['push'](_0x24ba14);}const _0x3a1439=await TestHubHandler['launchBuild'](_0x452e66[_0x1f91a2(0x9e)],_0x3d3e5a),_0x2fc52b=_0x452e66[_0x1f91a2(0xa3)](_0x3d3e5a[_0x1f91a2(0x8b)][_0x1f91a2(0x94)][_0x1f91a2(0xba)]||0x1,_0x3d3e5a[_0x1f91a2(0x8b)]['parallelsPerPlatform']||0x1);PerformanceTester[_0x1f91a2(0xb7)](PerformanceEvents['SDK_SETUP']),_0x452e66['ETIrB'](parallelVanillaRun,_0xc83c09,_0x2fc52b)[_0x1f91a2(0x8a)](_0x170f46=>{})['finally'](async()=>{PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),await utilities['finalExecution'](_0x3d3e5a);});}function a118_0x5ebf(){const _0x2af5a0=['index','File\x20','getHubUrl','../../helpers/testhub/testhubHandler','38548812EvJkqs','../../helpers/BrowserStackSetup','platforms','iqrxQ','hBlJl','../../helpers/performance/constants','handleApp','modifyBrowserStackCaps','useW3C','Config\x20yml\x20is\x20required','96mIKQcE','configuration','CNyKU','modifyBrowserStackW3CCaps','2326676dymMMy','existsSync','../test-runner','qLNqG','7FUgyJo','proxySettings','vanilla','exports','getInstance','3414TTFzSW','args','9860048txZqpc','startsWith','getPlatformName','../../helpers/helper','IzEwf','forEach','resolve','File\x20path\x20','isRunning','HPtYU','file','14866uYaliD','end','push','38565JVuMfY','length','initialize','setupBrowserstackLocal','13285Dbywvl','702392tZSFEg','File\x20path\x20is\x20required','760iVTsJU','avDft','assign','Umitf','isUndefined','../../helpers/performance/performance-tester','sep','then','config','6PHdArQ','zvBAc'];a118_0x5ebf=function(){return _0x2af5a0;};return a118_0x5ebf();}module[a118_0x4e809b(0xa7)]=run;
@@ -1 +1 @@
1
- function a119_0x5082(){const _0x2ac996=['2930EHPvBv','set','getCurrentPlatform','EDutK','JJOtD','__platformCaps','60704cvgtDW','XWSpS','browserName','bKYNH','mzYsU','deviceName','247ZqXkWE','1089201AmFWMj','browser_version','platformName','tBwFs','aAZEe','5772833Ndrzqp','205828qTGzpT','browserVersion','exports','fKZEd','YJNwc','dLfhV','197688xDDqSd','platform_version','10ZwkVfP','42dVHuoR','NVrhf','3120vxOyqy','eZKdX','FxndU','297CPLYwz','device','13AErtzI','44944QBJtfI','platformVersion'];a119_0x5082=function(){return _0x2ac996;};return a119_0x5082();}const a119_0x127ea2=a119_0x21bc;(function(_0x5402d6,_0x4d4ee1){const _0x50a55c=a119_0x21bc,_0x21de14=_0x5402d6();while(!![]){try{const _0x42d71b=parseInt(_0x50a55c(0x10d))/0x1*(-parseInt(_0x50a55c(0x116))/0x2)+parseInt(_0x50a55c(0x11d))/0x3+parseInt(_0x50a55c(0x12e))/0x4*(-parseInt(_0x50a55c(0x110))/0x5)+parseInt(_0x50a55c(0x12c))/0x6*(parseInt(_0x50a55c(0x123))/0x7)+-parseInt(_0x50a55c(0x10e))/0x8*(parseInt(_0x50a55c(0x131))/0x9)+parseInt(_0x50a55c(0x12b))/0xa*(parseInt(_0x50a55c(0x122))/0xb)+-parseInt(_0x50a55c(0x129))/0xc*(-parseInt(_0x50a55c(0x11c))/0xd);if(_0x42d71b===_0x4d4ee1)break;else _0x21de14['push'](_0x21de14['shift']());}catch(_0x1bd3d3){_0x21de14['push'](_0x21de14['shift']());}}}(a119_0x5082,0x5a3f6));const TestMetadata=require('./helpers/metadata');function a119_0x21bc(_0x523ea3,_0x1fc155){const _0x50822d=a119_0x5082();return a119_0x21bc=function(_0x21bcd4,_0x5e8d61){_0x21bcd4=_0x21bcd4-0x10c;let _0x5098e9=_0x50822d[_0x21bcd4];return _0x5098e9;},a119_0x21bc(_0x523ea3,_0x1fc155);}class BrowserStackSdk{static[a119_0x127ea2(0x112)](){const _0x3e988b=a119_0x127ea2,_0x14656e={};_0x14656e[_0x3e988b(0x120)]='os_version',_0x14656e[_0x3e988b(0x119)]='osVersion',_0x14656e['NVrhf']='browser',_0x14656e[_0x3e988b(0x121)]=_0x3e988b(0x118),_0x14656e['XWSpS']=_0x3e988b(0x11e),_0x14656e[_0x3e988b(0x12f)]=_0x3e988b(0x124),_0x14656e[_0x3e988b(0x128)]=_0x3e988b(0x10c),_0x14656e[_0x3e988b(0x11a)]=_0x3e988b(0x11b),_0x14656e['fKZEd']='platform',_0x14656e['FxndU']=_0x3e988b(0x11f),_0x14656e[_0x3e988b(0x114)]=_0x3e988b(0x12a),_0x14656e[_0x3e988b(0x113)]=_0x3e988b(0x10f),_0x14656e['YJNwc']='customVariables';const _0x475498=_0x14656e,_0x10ce23={};if(global[_0x3e988b(0x115)]){const _0x394ec1=global[_0x3e988b(0x115)],_0x2d27de=_0x394ec1[_0x475498[_0x3e988b(0x120)]]||_0x394ec1[_0x475498['bKYNH']],_0x5dfa26=_0x394ec1[_0x475498[_0x3e988b(0x12d)]]||_0x394ec1[_0x475498[_0x3e988b(0x121)]],_0x4d9b1c=_0x394ec1[_0x475498[_0x3e988b(0x117)]]||_0x394ec1[_0x475498['eZKdX']],_0x4f3cf0=_0x394ec1[_0x475498['dLfhV']]||_0x394ec1[_0x475498[_0x3e988b(0x11a)]],_0x423394=_0x394ec1[_0x475498[_0x3e988b(0x126)]]||_0x394ec1[_0x475498[_0x3e988b(0x130)]],_0x525ff4=_0x394ec1[_0x475498['JJOtD']]||_0x394ec1[_0x475498[_0x3e988b(0x113)]];_0x394ec1['os']&&(_0x10ce23['os']=_0x394ec1['os']),_0x2d27de&&(_0x10ce23[_0x475498[_0x3e988b(0x119)]]=_0x2d27de),_0x5dfa26&&(_0x10ce23[_0x475498['aAZEe']]=_0x5dfa26),_0x4d9b1c&&(_0x10ce23[_0x475498[_0x3e988b(0x12f)]]=_0x4d9b1c),_0x4f3cf0&&(_0x10ce23[_0x475498['mzYsU']]=_0x4f3cf0),_0x423394&&(_0x10ce23[_0x475498[_0x3e988b(0x130)]]=_0x423394),_0x525ff4&&(_0x10ce23[_0x475498['EDutK']]=_0x525ff4),_0x394ec1[_0x475498[_0x3e988b(0x127)]]&&(_0x10ce23[_0x475498[_0x3e988b(0x127)]]=_0x394ec1[_0x475498[_0x3e988b(0x127)]]);}return _0x10ce23;}static['setTestMetadata'](_0xfad468={}){const _0x43c194=a119_0x127ea2;TestMetadata[_0x43c194(0x111)](_0xfad468);}}module[a119_0x127ea2(0x125)]=BrowserStackSdk;
1
+ function a119_0x45d7(){const _0x2c65e0=['8058963SWiRaI','16112hzmIZg','12807DPFyRh','platform_version','browser_version','393636RlkCsn','__platformCaps','platform','browser','getCurrentPlatform','964176hYlSZs','browserVersion','cmohi','111dkorol','SHgkY','ALaSk','Mjhnc','4890TJkkwG','826SSKVnl','device','iyjUN','4319586CAkchu','browserName','XMSgU','os_version','vinOH','15utsssJ','PLdTV','customVariables','./helpers/metadata','sUcVB','NIPPh','20882iCicMK','NoOdk','set','IpSfc'];a119_0x45d7=function(){return _0x2c65e0;};return a119_0x45d7();}const a119_0x3e7b5e=a119_0x4941;(function(_0xa0ff5d,_0xbc5a4c){const _0x5ca09a=a119_0x4941,_0x52892d=_0xa0ff5d();while(!![]){try{const _0x34b2a1=parseInt(_0x5ca09a(0x102))/0x1+parseInt(_0x5ca09a(0xf9))/0x2*(parseInt(_0x5ca09a(0xe6))/0x3)+-parseInt(_0x5ca09a(0xe3))/0x4*(parseInt(_0x5ca09a(0xf3))/0x5)+-parseInt(_0x5ca09a(0xee))/0x6+-parseInt(_0x5ca09a(0xeb))/0x7*(parseInt(_0x5ca09a(0xfe))/0x8)+parseInt(_0x5ca09a(0xff))/0x9*(parseInt(_0x5ca09a(0xea))/0xa)+parseInt(_0x5ca09a(0xfd))/0xb;if(_0x34b2a1===_0xbc5a4c)break;else _0x52892d['push'](_0x52892d['shift']());}catch(_0xb2848b){_0x52892d['push'](_0x52892d['shift']());}}}(a119_0x45d7,0x80d66));function a119_0x4941(_0x3ce923,_0x44c7a5){const _0x45d7a4=a119_0x45d7();return a119_0x4941=function(_0x49414f,_0x5dbc61){_0x49414f=_0x49414f-0xe0;let _0x5b8b7=_0x45d7a4[_0x49414f];return _0x5b8b7;},a119_0x4941(_0x3ce923,_0x44c7a5);}const TestMetadata=require(a119_0x3e7b5e(0xf6));class BrowserStackSdk{static[a119_0x3e7b5e(0xe2)](){const _0xab900=a119_0x3e7b5e,_0x1a0896={};_0x1a0896[_0xab900(0xe7)]=_0xab900(0xf1),_0x1a0896[_0xab900(0xfa)]='osVersion',_0x1a0896['iGsmL']=_0xab900(0xe1),_0x1a0896['Mjhnc']=_0xab900(0xef),_0x1a0896[_0xab900(0xf0)]=_0xab900(0x101),_0x1a0896[_0xab900(0xe5)]=_0xab900(0xe4),_0x1a0896[_0xab900(0xf8)]=_0xab900(0xec),_0x1a0896[_0xab900(0xfc)]='deviceName',_0x1a0896['ALaSk']=_0xab900(0xe0),_0x1a0896['sUcVB']='platformName',_0x1a0896[_0xab900(0xed)]=_0xab900(0x100),_0x1a0896['vinOH']='platformVersion',_0x1a0896[_0xab900(0xf4)]=_0xab900(0xf5);const _0x47311f=_0x1a0896,_0x291e0f={};if(global['__platformCaps']){const _0x5e3222=global[_0xab900(0x103)],_0x3054ec=_0x5e3222[_0x47311f[_0xab900(0xe7)]]||_0x5e3222[_0x47311f[_0xab900(0xfa)]],_0x4f3468=_0x5e3222[_0x47311f['iGsmL']]||_0x5e3222[_0x47311f['Mjhnc']],_0x38edd5=_0x5e3222[_0x47311f[_0xab900(0xf0)]]||_0x5e3222[_0x47311f[_0xab900(0xe5)]],_0x33af5e=_0x5e3222[_0x47311f[_0xab900(0xf8)]]||_0x5e3222[_0x47311f[_0xab900(0xfc)]],_0x1bc18f=_0x5e3222[_0x47311f[_0xab900(0xe8)]]||_0x5e3222[_0x47311f['sUcVB']],_0x45277b=_0x5e3222[_0x47311f[_0xab900(0xed)]]||_0x5e3222[_0x47311f[_0xab900(0xf2)]];_0x5e3222['os']&&(_0x291e0f['os']=_0x5e3222['os']),_0x3054ec&&(_0x291e0f[_0x47311f[_0xab900(0xfa)]]=_0x3054ec),_0x4f3468&&(_0x291e0f[_0x47311f[_0xab900(0xe9)]]=_0x4f3468),_0x38edd5&&(_0x291e0f[_0x47311f[_0xab900(0xe5)]]=_0x38edd5),_0x33af5e&&(_0x291e0f[_0x47311f[_0xab900(0xfc)]]=_0x33af5e),_0x1bc18f&&(_0x291e0f[_0x47311f[_0xab900(0xf7)]]=_0x1bc18f),_0x45277b&&(_0x291e0f[_0x47311f['vinOH']]=_0x45277b),_0x5e3222[_0x47311f[_0xab900(0xf4)]]&&(_0x291e0f[_0x47311f[_0xab900(0xf4)]]=_0x5e3222[_0x47311f[_0xab900(0xf4)]]);}return _0x291e0f;}static['setTestMetadata'](_0x5e0053={}){const _0xe4c189=a119_0x3e7b5e;TestMetadata[_0xe4c189(0xfb)](_0x5e0053);}}module['exports']=BrowserStackSdk;
@@ -1 +1 @@
1
- const a120_0x127f3a=a120_0x401f;(function(_0x4c90a4,_0x3a3e21){const _0x473b65=a120_0x401f,_0x3d3c08=_0x4c90a4();while(!![]){try{const _0x4f73d5=parseInt(_0x473b65(0x114))/0x1+-parseInt(_0x473b65(0x154))/0x2+parseInt(_0x473b65(0x14d))/0x3*(parseInt(_0x473b65(0x168))/0x4)+parseInt(_0x473b65(0x1d4))/0x5*(-parseInt(_0x473b65(0x1e9))/0x6)+-parseInt(_0x473b65(0x221))/0x7*(-parseInt(_0x473b65(0x21e))/0x8)+-parseInt(_0x473b65(0x125))/0x9+parseInt(_0x473b65(0x11e))/0xa;if(_0x4f73d5===_0x3a3e21)break;else _0x3d3c08['push'](_0x3d3c08['shift']());}catch(_0x5587b0){_0x3d3c08['push'](_0x3d3c08['shift']());}}}(a120_0x1f70,0x2b229));const util=require(a120_0x127f3a(0x18c)),os=require('os'),path=require(a120_0x127f3a(0x197)),{v4:uuidv4}=require(a120_0x127f3a(0x1c5)),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require('./logger')[a120_0x127f3a(0x222)],fileLogger=require(a120_0x127f3a(0x140))[a120_0x127f3a(0x1a4)],{getLogDir}=require(a120_0x127f3a(0x140)),helper=require(a120_0x127f3a(0x1a7)),utilities=require(a120_0x127f3a(0x12f)),percyHelper=require(a120_0x127f3a(0x207)),hubAllocator=require(a120_0x127f3a(0x184)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a120_0x127f3a(0x1c3)),{setPercyFlag}=require(a120_0x127f3a(0x1a5)),TestHubHandler=require(a120_0x127f3a(0x11a)),timeoutPromise=require(a120_0x127f3a(0x1c8)),BrowserstackCLI=require(a120_0x127f3a(0x1d1)),LoadTestModule=require(a120_0x127f3a(0x1d5)),{getEdsInstrumentationAPIUrl}=require(a120_0x127f3a(0x21c)),ClientTroubleShootingService=require(a120_0x127f3a(0x1a1));function a120_0x401f(_0x2a6887,_0x1f333b){const _0x1f70ca=a120_0x1f70();return a120_0x401f=function(_0x401ff4,_0x4eb661){_0x401ff4=_0x401ff4-0x10e;let _0x338c10=_0x1f70ca[_0x401ff4];return _0x338c10;},a120_0x401f(_0x2a6887,_0x1f333b);}class BrowserStackSetup{constructor(_0x480e2d,_0x52a857){const _0x4e344f=a120_0x127f3a,_0x1034e5={'HYgON':'21|12|22|9|5|17|8|14|7|0|4|16|10|26|6|13|20|2|18|25|23|15|19|3|24|11|1','pRzUB':function(_0x403fec,_0x32813d){return _0x403fec(_0x32813d);},'yxKBj':'./caCertHelper','saipe':_0x4e344f(0x1b1),'vkdfD':function(_0xd23e7b){return _0xd23e7b();}},_0xb63870=_0x1034e5[_0x4e344f(0x1fb)][_0x4e344f(0x123)]('|');let _0x5f28b8=0x0;while(!![]){switch(_0xb63870[_0x5f28b8++]){case'0':this[_0x4e344f(0x1cd)][_0x4e344f(0x1db)]=this[_0x4e344f(0x1cd)]['testContextOptions']||{};continue;case'1':try{_0x1034e5[_0x4e344f(0x1ca)](require,_0x1034e5[_0x4e344f(0x173)])[_0x4e344f(0x12e)](this[_0x4e344f(0x1cd)],logger);}catch(_0x3697bf){}continue;case'2':helper['setBrowserstackInfraFromConfig'](this['config'],this[_0x4e344f(0x180)]);continue;case'3':helper[_0x4e344f(0x202)](this[_0x4e344f(0x1cd)]);continue;case'4':this[_0x4e344f(0x139)]={};continue;case'5':this[_0x4e344f(0x20b)]=null;continue;case'6':if(helper[_0x4e344f(0x19e)](this['config']))throw new Error(_0x1034e5[_0x4e344f(0x205)]);continue;case'7':this['config'][_0x4e344f(0x1b3)]=this[_0x4e344f(0x1cd)][_0x4e344f(0x1b3)]||[];continue;case'8':this[_0x4e344f(0x1cd)]=helper[_0x4e344f(0x15a)](this[_0x4e344f(0x1b6)]);continue;case'9':this[_0x4e344f(0x164)]=null;continue;case'10':this[_0x4e344f(0x141)]=_0x52a857;continue;case'11':PerformanceTester[_0x4e344f(0x1d9)]();continue;case'12':helper[_0x4e344f(0x10e)]();continue;case'13':if(this['config']['error'])throw new Error(this[_0x4e344f(0x1cd)][_0x4e344f(0x1b0)]);continue;case'14':this[_0x4e344f(0x180)]=helper[_0x4e344f(0x163)](_0x480e2d);continue;case'15':helper[_0x4e344f(0x111)](this['config'],this[_0x4e344f(0x180)],this[_0x4e344f(0x148)]);continue;case'16':this[_0x4e344f(0x1ce)]=_0x1034e5[_0x4e344f(0x18d)](uuidv4);continue;case'17':this[_0x4e344f(0x1b6)]=helper[_0x4e344f(0x19a)](_0x480e2d);continue;case'18':helper['setCredentialsFromYmlConfig'](this[_0x4e344f(0x1cd)]);continue;case'19':helper[_0x4e344f(0x175)](this[_0x4e344f(0x1cd)],this[_0x4e344f(0x180)],this[_0x4e344f(0x148)]);continue;case'20':helper[_0x4e344f(0x1ed)](this['config'],this[_0x4e344f(0x141)]);continue;case'21':this[_0x4e344f(0x171)]=[];continue;case'22':this[_0x4e344f(0x148)]=helper[_0x4e344f(0x1c1)]();continue;case'23':this[_0x4e344f(0x1cd)][_0x4e344f(0x1db)][_0x4e344f(0x223)]=!helper[_0x4e344f(0x1ba)]()||helper['isTrue'](this[_0x4e344f(0x1cd)][_0x4e344f(0x1db)][_0x4e344f(0x223)]);continue;case'24':helper[_0x4e344f(0x1ee)](this[_0x4e344f(0x1cd)],this[_0x4e344f(0x180)],this[_0x4e344f(0x148)]);continue;case'25':this[_0x4e344f(0x1cd)]['testContextOptions'][_0x4e344f(0x157)]=!helper[_0x4e344f(0x1ba)]()||helper[_0x4e344f(0x15f)](this[_0x4e344f(0x1cd)]['testContextOptions'][_0x4e344f(0x157)]);continue;case'26':global[_0x4e344f(0x141)]=_0x52a857;continue;}break;}}['preInitialize'](_0x2bad10){const _0x24a486=a120_0x127f3a,_0x27c063={'oANMs':_0x24a486(0x1f2),'ArShE':function(_0x5ae9f1,_0x433aac){return _0x5ae9f1===_0x433aac;},'MwakH':_0x24a486(0x1cc),'fWutA':_0x24a486(0x146),'CLwlu':function(_0x3d70e6,_0x4c17d9){return _0x3d70e6<_0x4c17d9;},'iShuK':function(_0x31aacb,_0x583885){return _0x31aacb(_0x583885);},'KvnGK':_0x24a486(0x167),'PaGhE':_0x24a486(0x12c),'tWipn':_0x24a486(0x1fc),'LnSNp':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','TSFTR':_0x24a486(0x211),'VOLpL':'SIGINT','TKPrF':'SIGHUP','FOqAA':function(_0x958125,_0x2f6cab){return _0x958125!==_0x2f6cab;},'VqDjH':'win32','XBTOM':_0x24a486(0x165),'HIxpv':'SIGQUIT','oOVDn':_0x24a486(0x121),'JrmzU':_0x24a486(0x1e5)},_0x1e1ddc=this['framework'];global[_0x24a486(0x1cd)]=this[_0x24a486(0x1cd)],helper['sanitizeCaps'](this[_0x24a486(0x1cd)]),this[_0x24a486(0x16d)]=null,global[_0x24a486(0x1ce)]=this[_0x24a486(0x1ce)],logger[_0x24a486(0x1f4)](_0x24a486(0x19c)+this[_0x24a486(0x1ce)]),!this['config'][_0x24a486(0x1a2)]&&(this[_0x24a486(0x1cd)][_0x24a486(0x1a2)]=this['config']['localOptions']||{});if(helper[_0x24a486(0x19e)](helper[_0x24a486(0x17c)](this[_0x24a486(0x1cd)]))||helper[_0x24a486(0x19e)](helper['getAccessKey'](this[_0x24a486(0x1cd)])))throw new Error(_0x27c063[_0x24a486(0x15d)]);helper['getLocalConfig'](this[_0x24a486(0x1cd)])&&helper[_0x24a486(0x19e)](helper[_0x24a486(0x1c0)](this[_0x24a486(0x1cd)]))&&(!helper[_0x24a486(0x19e)](this[_0x24a486(0x1cd)][_0x24a486(0x1a2)])&&_0x27c063[_0x24a486(0x1f3)](this[_0x24a486(0x1cd)][_0x24a486(0x1a2)][_0x24a486(0x20e)],Object)?!helper[_0x24a486(0x15f)](this['config'][_0x24a486(0x1a2)][_0x24a486(0x191)])&&(this['config'][_0x24a486(0x1a2)][_0x24a486(0x12a)]=helper[_0x24a486(0x16c)]()):this[_0x24a486(0x1cd)][_0x24a486(0x1a2)]={'localIdentifier':helper[_0x24a486(0x16c)]()});this[_0x24a486(0x1cd)][_0x24a486(0x1a2)][_0x24a486(0x191)]=helper[_0x24a486(0x15f)](this[_0x24a486(0x1cd)][_0x24a486(0x1a2)][_0x24a486(0x191)]),helper['setHandlePWError'](this['config']);if(_0x27c063[_0x24a486(0x1f3)](_0x1e1ddc,_0x27c063[_0x24a486(0x118)]))return;this['handleExceptions']();process[_0x24a486(0x193)][_0x24a486(0x1cb)]&&(this[_0x24a486(0x1cd)]['turboScale']=helper[_0x24a486(0x15f)](process['env'][_0x24a486(0x1cb)]),this[_0x24a486(0x1cd)][_0x24a486(0x1be)]=this['config']['turboScaleOptions']||{});helper[_0x24a486(0x1a0)](this[_0x24a486(0x1cd)])&&(process[_0x24a486(0x193)]['BROWSERSTACK_TURBOSCALE']=!![]);LoadTestModule['isLTSSession'](this[_0x24a486(0x1cd)])&&logger[_0x24a486(0x13c)](_0x24a486(0x1e7)+this[_0x24a486(0x1ce)]);if(!helper[_0x24a486(0x1ba)]()){try{process[_0x24a486(0x193)]['FRAMEWORK']=_0x1e1ddc,utilities[_0x24a486(0x11c)](_0x27c063[_0x24a486(0x1f5)],{},this[_0x24a486(0x1cd)],this[_0x24a486(0x141)]);}catch(_0x3184a3){logger[_0x24a486(0x13c)](_0x24a486(0x1b4)+_0x3184a3);}return;}if(helper[_0x24a486(0x198)](_0x1e1ddc)){if(global[_0x24a486(0x13a)]||global['__isPuppeteerInstalled'])return;_0x27c063[_0x24a486(0x1ff)](_0x27c063['iShuK'](parseInt,helper[_0x24a486(0x204)](_0x27c063[_0x24a486(0x185)])),0x3)&&(this['config'][_0x24a486(0x156)]=![]),_0x27c063[_0x24a486(0x1f3)](helper[_0x24a486(0x1f8)](helper[_0x24a486(0x204)](_0x27c063[_0x24a486(0x185)]),_0x27c063['PaGhE']),0x1)&&(this[_0x24a486(0x1cd)][_0x24a486(0x156)]=!![]);}(helper[_0x24a486(0x19e)](this['config']['platforms'])||helper[_0x24a486(0x19e)](this[_0x24a486(0x1cd)]['platforms'][_0x24a486(0x14b)]))&&(helper[_0x24a486(0x19e)](this[_0x24a486(0x1cd)][_0x24a486(0x1b7)])?logger['info'](_0x27c063[_0x24a486(0x131)]):logger[_0x24a486(0x1e0)](_0x27c063[_0x24a486(0x1a3)]),this[_0x24a486(0x1cd)][_0x24a486(0x1b3)]=[]);!this[_0x24a486(0x1cd)][_0x24a486(0x1db)]&&(this[_0x24a486(0x1cd)]['testContextOptions']={});try{process[_0x24a486(0x193)][_0x24a486(0x13e)]=_0x2bad10['_'][0x0],utilities[_0x24a486(0x11c)](_0x27c063[_0x24a486(0x1f5)],{},this[_0x24a486(0x1cd)],this[_0x24a486(0x141)]);}catch(_0x9dff76){logger[_0x24a486(0x13c)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x9dff76);}!this[_0x24a486(0x1cd)][_0x24a486(0x147)]&&logger[_0x24a486(0x1f4)](constants[_0x24a486(0x132)]),this['intExitHandler']=this[_0x24a486(0x206)][_0x24a486(0x187)](this),process['on'](_0x27c063[_0x24a486(0x19b)],this[_0x24a486(0x206)]),process['on'](_0x27c063['VOLpL'],this['intExitHandler']),process['on'](_0x27c063['TKPrF'],this[_0x24a486(0x206)]),_0x27c063[_0x24a486(0x176)](process['platform'],_0x27c063['VqDjH'])?(process['on'](_0x27c063[_0x24a486(0x135)],this[_0x24a486(0x206)]),process['on'](_0x27c063[_0x24a486(0x14e)],this[_0x24a486(0x206)])):process['on'](_0x27c063[_0x24a486(0x194)],this['intExitHandler']),process['on'](_0x27c063[_0x24a486(0x136)],this[_0x24a486(0x181)]());}async[a120_0x127f3a(0x1b9)](_0x9ca18a){const _0x7a8a90=a120_0x127f3a,_0x167b0e={'fuLqH':_0x7a8a90(0x129),'HHFQO':_0x7a8a90(0x11f),'CsxKW':_0x7a8a90(0x1de),'VBTkF':function(_0x58b223,_0x323462){return _0x58b223===_0x323462;},'ESFJT':'playwright','fEaOA':function(_0x446503,_0x41974a){return _0x446503+_0x41974a;},'MbVCn':_0x7a8a90(0x218),'OsRKh':function(_0x2738ad,_0x2603eb){return _0x2738ad(_0x2603eb);},'rAZvT':_0x7a8a90(0x1bf)};this[_0x7a8a90(0x212)](_0x9ca18a);if(helper[_0x7a8a90(0x1a0)](this['config'])){const _0x176349=await helper['getTurboScaleGridDetails'](this['config']);this[_0x7a8a90(0x1cd)][_0x7a8a90(0x144)]=_0x176349,_0x176349['isTrialGrid']&&helper[_0x7a8a90(0x19d)](this[_0x7a8a90(0x1cd)][_0x7a8a90(0x164)])&&helper[_0x7a8a90(0x15f)](this[_0x7a8a90(0x1cd)][_0x7a8a90(0x164)])&&(this[_0x7a8a90(0x1cd)]['browserStackLocalOptions']['localIdentifier']=_0x167b0e['fuLqH'],this[_0x7a8a90(0x1cd)][_0x7a8a90(0x1a2)][_0x167b0e['HHFQO']]=_0x176349[_0x7a8a90(0x11b)]['join'](','),this[_0x7a8a90(0x1cd)][_0x7a8a90(0x1a2)]['forceLocal']=_0x167b0e[_0x7a8a90(0x16e)]),this[_0x7a8a90(0x1cd)][_0x7a8a90(0x170)]=_0x176349[_0x7a8a90(0x159)],this['framework']&&_0x167b0e[_0x7a8a90(0x1c4)](this['framework'][_0x7a8a90(0x1fa)](),_0x167b0e[_0x7a8a90(0x126)])?this[_0x7a8a90(0x1cd)][_0x7a8a90(0x170)]=_0x167b0e[_0x7a8a90(0x14a)](_0x176349[_0x7a8a90(0x1f6)],_0x167b0e[_0x7a8a90(0x1e1)]):constants[_0x7a8a90(0x20a)]=helper[_0x7a8a90(0x20f)](this['config']),logger[_0x7a8a90(0x13c)](_0x7a8a90(0x208)+constants['hubUrl']);}helper[_0x7a8a90(0x1c7)](this[_0x7a8a90(0x1cd)]),this[_0x7a8a90(0x18a)](),_0x167b0e[_0x7a8a90(0x179)](setPercyFlag,this),![_0x167b0e[_0x7a8a90(0x1fd)],_0x167b0e[_0x7a8a90(0x126)]][_0x7a8a90(0x10f)](this[_0x7a8a90(0x141)])&&!helper[_0x7a8a90(0x1a0)](this[_0x7a8a90(0x1cd)])&&!helper[_0x7a8a90(0x152)]()['central_scanner']&&await this['setUpHubUrl']();}async['setupPercy'](){const _0x5004e8=a120_0x127f3a,_0x32ef40={};_0x32ef40[_0x5004e8(0x112)]=function(_0xcd1252,_0x4ad8f0){return _0xcd1252===_0x4ad8f0;},_0x32ef40[_0x5004e8(0x1af)]=_0x5004e8(0x150),_0x32ef40[_0x5004e8(0x160)]=_0x5004e8(0x169),_0x32ef40[_0x5004e8(0x166)]=_0x5004e8(0x209),_0x32ef40[_0x5004e8(0x153)]='true',_0x32ef40[_0x5004e8(0x1ae)]=_0x5004e8(0x1e5);const _0x2de2b0=_0x32ef40;if(helper[_0x5004e8(0x15f)](this[_0x5004e8(0x1cd)][_0x5004e8(0x20b)])&&(!this[_0x5004e8(0x20b)]||!this[_0x5004e8(0x20b)]['isRunning']()))try{this['percy']=await percyHelper['startPercy'](this['config']);if(!this[_0x5004e8(0x20b)]){process['env'][_0x5004e8(0x19f)]=_0x2de2b0[_0x5004e8(0x1af)];throw new Error(_0x2de2b0['dohGI']);}logger[_0x5004e8(0x1f4)](_0x2de2b0[_0x5004e8(0x166)]),process['env'][_0x5004e8(0x19f)]=_0x2de2b0['HnJJv'];let _0x42e84f=0x0;const _0x291458=async()=>{const _0x576413=_0x5004e8;_0x42e84f++,_0x2de2b0[_0x576413(0x112)](_0x42e84f,0x1)&&await this['stopPercy']();};process['on'](_0x2de2b0[_0x5004e8(0x1ae)],_0x291458);}catch(_0x2bef4a){process[_0x5004e8(0x193)][_0x5004e8(0x19f)]=_0x2de2b0[_0x5004e8(0x1af)],logger[_0x5004e8(0x13c)](_0x5004e8(0x1c9)+_0x2bef4a);throw new Error(_0x2bef4a['toString']());}}async[a120_0x127f3a(0x1d8)](){const _0x269335=a120_0x127f3a,_0x41ffcd={};_0x41ffcd[_0x269335(0x1e2)]='Percy\x20stopped',_0x41ffcd[_0x269335(0x189)]=_0x269335(0x14c);const _0x2aaaa1=_0x41ffcd;if(this[_0x269335(0x20b)]&&this[_0x269335(0x20b)][_0x269335(0x162)]())try{await percyHelper[_0x269335(0x1d8)](this['percy']),logger[_0x269335(0x1f4)](_0x2aaaa1[_0x269335(0x1e2)]);}catch(_0x4ae4cb){logger[_0x269335(0x1b0)](_0x2aaaa1[_0x269335(0x189)],_0x4ae4cb['message']);}}async['setupBrowserstackLocal'](){const _0x6bf545=a120_0x127f3a,_0x18366f={};_0x18366f[_0x6bf545(0x186)]=_0x6bf545(0x21f),_0x18366f[_0x6bf545(0x183)]=_0x6bf545(0x1f7);const _0xe240f4=_0x18366f;if(helper[_0x6bf545(0x1ba)]()&&helper[_0x6bf545(0x15f)](this[_0x6bf545(0x1cd)][_0x6bf545(0x164)])&&(!this[_0x6bf545(0x164)]||!this['browserstackLocal'][_0x6bf545(0x162)]()))try{if(this[_0x6bf545(0x1cd)]['browserStackLocalOptions'][_0x6bf545(0x191)]){logger[_0x6bf545(0x13c)](_0xe240f4['Cpwiv']);return;}this[_0x6bf545(0x164)]=await helper[_0x6bf545(0x1d3)](this['config']),logger[_0x6bf545(0x1f4)](_0xe240f4[_0x6bf545(0x183)]);}catch(_0x3b6fc1){logger[_0x6bf545(0x13c)](_0x3b6fc1);throw new Error(_0x3b6fc1[_0x6bf545(0x116)]());}}async[a120_0x127f3a(0x16a)](){const _0x1a361e=a120_0x127f3a,_0x34604e={};_0x34604e[_0x1a361e(0x203)]=_0x1a361e(0x1b8),_0x34604e[_0x1a361e(0x1dd)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x5678be=_0x34604e;if(this[_0x1a361e(0x164)]&&this[_0x1a361e(0x164)]['isRunning']())try{await helper[_0x1a361e(0x1a8)](this[_0x1a361e(0x164)]),logger[_0x1a361e(0x1f4)](_0x5678be[_0x1a361e(0x203)]);}catch(_0x41511c){logger['error'](_0x5678be[_0x1a361e(0x1dd)],_0x41511c[_0x1a361e(0x1ef)]);}}async[a120_0x127f3a(0x1ad)](){const _0x46e48b=a120_0x127f3a;return PerformanceTester[_0x46e48b(0x188)](PerformanceAutEvents[_0x46e48b(0x21b)],async()=>{const _0x55826a=_0x46e48b;await hubAllocator[_0x55826a(0x174)](this[_0x55826a(0x1cd)]);})();}async[a120_0x127f3a(0x1e3)](){const _0x475e4b=a120_0x127f3a,_0x20e92b={'GLpAu':function(_0x52fc14,_0x201a05){return _0x52fc14(_0x201a05);},'uUbBH':_0x475e4b(0x20c),'QJzXx':function(_0x162958,_0x1fe9c6,_0x4c1013,_0x143eac,_0x3cef90,_0x2768ef,_0x29a95f){return _0x162958(_0x1fe9c6,_0x4c1013,_0x143eac,_0x3cef90,_0x2768ef,_0x29a95f);},'QxgFW':_0x475e4b(0x1b2),'ZPRIs':'BrowserstackHealingInitFailed','iGvvd':'../../package.json','ZIsSt':_0x475e4b(0x137),'BllDs':function(_0x4e41a7,_0x5b00e8){return _0x4e41a7(_0x5b00e8);},'NNnyo':function(_0x3fbb6c,_0x5ac6e3){return _0x3fbb6c===_0x5ac6e3;},'hAtbf':'true','osdJw':function(_0x2e9096,_0x32d6b1){return _0x2e9096===_0x32d6b1;},'NCCmr':function(_0x58a919,_0x3d86d4){return _0x58a919===_0x3d86d4;},'HbJdg':function(_0x1b633f,_0x3acca7){return _0x1b633f===_0x3acca7;},'ucnGR':_0x475e4b(0x190),'McuXc':_0x475e4b(0x1ac),'PaUMR':_0x475e4b(0x1c6),'fLaro':_0x475e4b(0x145),'tUHwg':function(_0x33dbf4,_0x217885){return _0x33dbf4>=_0x217885;},'LMgBZ':function(_0x39fe65,_0x374873){return _0x39fe65<_0x374873;},'Ijkgs':_0x475e4b(0x1df),'wlMcC':_0x475e4b(0x1f1),'cctLt':function(_0x33c734){return _0x33c734();}},_0x561d25=PerformanceTester[_0x475e4b(0x188)](_0x20e92b[_0x475e4b(0x192)],async()=>{const _0x2eb49b=_0x475e4b;try{const _0x1819e4=new Date(),_0x54b72a=helper[_0x2eb49b(0x158)](this['config']),_0x64133f=_0x20e92b[_0x2eb49b(0x149)](require,path[_0x2eb49b(0x219)](__dirname,_0x20e92b[_0x2eb49b(0x178)])),_0x23dbd5=_0x20e92b[_0x2eb49b(0x172)](timeoutPromise,constants[_0x2eb49b(0x13d)],_0x20e92b[_0x2eb49b(0x1e8)],_0x20e92b[_0x2eb49b(0x1ec)],_0x1819e4,this['config'],this[_0x2eb49b(0x141)]),_0x559cee={'tcgUrl':constants[_0x2eb49b(0x216)],'sdkVersion':_0x20e92b[_0x2eb49b(0x149)](require,_0x20e92b['iGvvd'])[_0x2eb49b(0x1ea)],'methodUsed':_0x20e92b[_0x2eb49b(0x220)],'proxyConfig':_0x54b72a,'os':os[_0x2eb49b(0x213)]()};if(_0x54b72a&&_0x54b72a[_0x2eb49b(0x199)]){utilities[_0x2eb49b(0x11c)](constants[_0x2eb49b(0x17a)],_0x559cee,this['config'],this[_0x2eb49b(0x141)]);return;}const _0x34800b={};_0x34800b['proxy']=_0x54b72a;const _0x4412e9=await Promise[_0x2eb49b(0x18b)]([_0x64133f[_0x2eb49b(0x1dc)](this[_0x2eb49b(0x1cd)]['accessKey'],this['config'][_0x2eb49b(0x124)],constants[_0x2eb49b(0x216)],_0x20e92b['BllDs'](require,_0x20e92b['iGvvd'])[_0x2eb49b(0x1ea)],_0x34800b)[_0x2eb49b(0x17f)](_0x537d0c=>{const _0x148428=_0x2eb49b;return _0x23dbd5[_0x148428(0x143)](),_0x537d0c;}),_0x23dbd5]);_0x4412e9[_0x2eb49b(0x1eb)]=_0x20e92b[_0x2eb49b(0x210)](_0x4412e9[_0x2eb49b(0x1eb)],_0x20e92b[_0x2eb49b(0x1d7)])||_0x20e92b[_0x2eb49b(0x210)](_0x4412e9[_0x2eb49b(0x1eb)],!![]);const _0x1b7e9e=_0x20e92b[_0x2eb49b(0x214)](this[_0x2eb49b(0x1cd)][_0x2eb49b(0x1d2)],!![])||_0x20e92b[_0x2eb49b(0x182)](this[_0x2eb49b(0x1cd)][_0x2eb49b(0x1d2)],_0x20e92b[_0x2eb49b(0x1d7)]);if(_0x20e92b[_0x2eb49b(0x120)](_0x4412e9[_0x2eb49b(0x1ef)],constants[_0x2eb49b(0x1ab)])&&_0x1b7e9e)logger['info'](_0x20e92b['ucnGR']);else{if(!_0x4412e9[_0x2eb49b(0x115)]&&_0x20e92b['NCCmr'](_0x4412e9['status'],0x1f7)&&_0x1b7e9e)logger['info'](_0x20e92b['McuXc']),utilities[_0x2eb49b(0x11c)](constants[_0x2eb49b(0x217)],_0x559cee,this['config'],this[_0x2eb49b(0x141)]);else{if(!_0x4412e9['isAuthenticated']&&_0x1b7e9e){logger['info'](_0x20e92b[_0x2eb49b(0x1aa)]);const _0x578d55={'tcgUrl':constants[_0x2eb49b(0x216)],'sdkVersion':_0x20e92b[_0x2eb49b(0x15c)](require,_0x20e92b['iGvvd'])[_0x2eb49b(0x1ea)],'methodUsed':_0x20e92b[_0x2eb49b(0x220)],'proxyConfig':_0x54b72a,'os':os['platform']()};utilities[_0x2eb49b(0x11c)](constants['TCG_AUTH_FAILURE'],_0x578d55,this[_0x2eb49b(0x1cd)],this['framework']);}else{if(_0x4412e9[_0x2eb49b(0x115)]&&!_0x4412e9['isHealingEnabled']&&_0x1b7e9e)logger[_0x2eb49b(0x1f4)](_0x20e92b[_0x2eb49b(0x117)]);else{if(_0x20e92b['tUHwg'](_0x4412e9['status'],0xc8)&&_0x20e92b[_0x2eb49b(0x12b)](_0x4412e9['status'],0x12c))utilities[_0x2eb49b(0x11c)](constants[_0x2eb49b(0x1d6)],_0x559cee,this[_0x2eb49b(0x1cd)],this[_0x2eb49b(0x141)]);else{if(_0x20e92b[_0x2eb49b(0x200)](_0x4412e9[_0x2eb49b(0x1a6)],0x190))_0x559cee[_0x2eb49b(0x1a6)]=_0x4412e9[_0x2eb49b(0x1a6)],utilities[_0x2eb49b(0x11c)](constants[_0x2eb49b(0x177)],_0x559cee,this[_0x2eb49b(0x1cd)],this[_0x2eb49b(0x141)]);else!_0x4412e9[_0x2eb49b(0x1a6)]&&utilities['fireFunnelTestEvent'](constants[_0x2eb49b(0x1e4)],_0x559cee,this['config'],this[_0x2eb49b(0x141)]);}}}}}if(_0x4412e9['isAuthenticated']&&_0x4412e9[_0x2eb49b(0x1eb)]){const _0x4be5dc={};_0x4be5dc['tcgAuthConfig']=_0x4412e9;const _0x2bdefc=_0x4be5dc;_0x54b72a&&(_0x2bdefc[_0x2eb49b(0x1a9)]=_0x54b72a),_0x2bdefc[_0x2eb49b(0x141)]=this['framework'],_0x2bdefc[_0x2eb49b(0x1e6)]=this[_0x2eb49b(0x1cd)],helper[_0x2eb49b(0x20d)](_0x2bdefc),logger[_0x2eb49b(0x13c)](_0x20e92b[_0x2eb49b(0x18f)]);}}catch(_0x28e0bb){logger[_0x2eb49b(0x13c)](_0x2eb49b(0x1bc)+(_0x28e0bb['message']?_0x28e0bb[_0x2eb49b(0x1ef)]:''));}});await _0x20e92b[_0x475e4b(0x110)](_0x561d25);}[a120_0x127f3a(0x18a)](){const _0x7f49d9=a120_0x127f3a,_0x13caf6={'FVGSe':function(_0x1ab305,_0x2f0efb){return _0x1ab305(_0x2f0efb);},'QhRtq':'./setKeepAlive'};_0x13caf6['FVGSe'](require,_0x13caf6[_0x7f49d9(0x215)])();}[a120_0x127f3a(0x128)](){const _0x211d37=a120_0x127f3a,_0x410a67={};_0x410a67[_0x211d37(0x1fe)]=_0x211d37(0x133),_0x410a67[_0x211d37(0x16b)]=_0x211d37(0x161),_0x410a67[_0x211d37(0x17e)]='uncaughtException';const _0x3b25b8=_0x410a67,_0x154b06=_0x44056e=>{const _0x8cfcd2=_0x211d37,_0x4a5953=_0x3b25b8[_0x8cfcd2(0x1fe)][_0x8cfcd2(0x123)]('|');let _0x634179=0x0;while(!![]){switch(_0x4a5953[_0x634179++]){case'0':this['unhandledErrors'][_0x8cfcd2(0x13b)](util['format']('%j',_0x44056e));continue;case'1':PerformanceTester[_0x8cfcd2(0x17b)](_0x44056e);continue;case'2':logger[_0x8cfcd2(0x13c)](util[_0x8cfcd2(0x14f)](_0x44056e));continue;case'3':logger[_0x8cfcd2(0x1b0)](_0x44056e[_0x8cfcd2(0x1ef)]);continue;case'4':ClientTroubleShootingService[_0x8cfcd2(0x119)]();continue;}break;}};process['on'](_0x3b25b8[_0x211d37(0x16b)],_0x154b06),process['on'](_0x3b25b8[_0x211d37(0x17e)],_0x154b06);}async['intExitHandler'](_0x20c09d){const _0x55df87=a120_0x127f3a,_0xc8b060={};_0xc8b060[_0x55df87(0x196)]='7|1|6|0|3|2|4|5',_0xc8b060[_0x55df87(0x201)]=function(_0x55c9df,_0x3d6568){return _0x55c9df+_0x3d6568;},_0xc8b060[_0x55df87(0x1cf)]=_0x55df87(0x142),_0xc8b060['jwZLq']=function(_0x2b347d,_0x4a826a){return _0x2b347d+_0x4a826a;},_0xc8b060[_0x55df87(0x12d)]='Shutdown\x20triggered\x20by\x20';const _0x42f116=_0xc8b060,_0x49f3bd=_0x42f116[_0x55df87(0x196)][_0x55df87(0x123)]('|');let _0x5f3cd3=0x0;while(!![]){switch(_0x49f3bd[_0x5f3cd3++]){case'0':this[_0x55df87(0x16d)]=_0x20c09d;continue;case'1':this[_0x42f116[_0x55df87(0x201)](_0x42f116[_0x55df87(0x1cf)],_0x20c09d)]=!![];continue;case'2':await TestHubHandler['stop'](_0x20c09d);continue;case'3':await ClientTroubleShootingService[_0x55df87(0x113)](_0x20c09d);continue;case'4':await ClientTroubleShootingService[_0x55df87(0x119)]();continue;case'5':await BrowserstackCLI[_0x55df87(0x130)]()[_0x55df87(0x1f9)]();continue;case'6':logger[_0x55df87(0x1f4)](_0x42f116['jwZLq'](_0x42f116['nmIzC'],_0x20c09d));continue;case'7':if(this[_0x42f116['LmOUx'](_0x42f116[_0x55df87(0x1cf)],_0x20c09d)])return;continue;}break;}}[a120_0x127f3a(0x181)](){const _0x2ecf24=a120_0x127f3a,_0x28e120={'oqBVS':function(_0x11c98f,_0x571804){return _0x11c98f===_0x571804;},'mHBrj':_0x2ecf24(0x151),'ufsGp':function(_0xd5b068,_0x17f2be){return _0xd5b068>_0x17f2be;},'fblfN':function(_0x1851a0,_0x930bc8){return _0x1851a0>_0x930bc8;},'KYVJF':function(_0x43859d,_0x4a3698){return _0x43859d(_0x4a3698);},'JtTBH':function(_0x4b2f5e){return _0x4b2f5e();},'ekFzn':_0x2ecf24(0x134)};let _0x523614=0x0;return async()=>{const _0x2ca5f4=_0x2ecf24;_0x523614++;if(_0x28e120[_0x2ca5f4(0x21d)](_0x523614,0x1)){helper[_0x2ca5f4(0x195)](this[_0x2ca5f4(0x141)])&&await this[_0x2ca5f4(0x16a)]();try{logger['debug'](_0x28e120['mHBrj']),await TestHubHandler['stop'](_0x523614),await ClientTroubleShootingService[_0x2ca5f4(0x119)](),await BrowserstackCLI[_0x2ca5f4(0x130)]()[_0x2ca5f4(0x1f9)]('1');}catch(_0x8421bb){logger[_0x2ca5f4(0x13c)](_0x2ca5f4(0x122)+util['format'](_0x8421bb));}PerformanceTester[_0x2ca5f4(0x138)](PerformanceEvents['SDK_CLEANUP']);if(PerformanceTester['isEnabled']()){const {measures:_0x186d21,errors:_0x367216}=await PerformanceTester[_0x2ca5f4(0x1f0)](),_0x3d25a2={};if(_0x186d21&&_0x28e120[_0x2ca5f4(0x1bd)](_0x186d21[_0x2ca5f4(0x14b)],0x0)||_0x367216&&_0x28e120[_0x2ca5f4(0x1d0)](_0x367216[_0x2ca5f4(0x14b)],0x0)){const _0x3f4c4a={};_0x3f4c4a[_0x2ca5f4(0x155)]=_0x186d21,_0x3f4c4a['exceptions']=_0x367216,Object[_0x2ca5f4(0x13f)](_0x3d25a2,_0x3f4c4a);}try{const _0x5ba45c=await helper[_0x2ca5f4(0x11d)](_0x3d25a2,this[_0x2ca5f4(0x1cd)]);logger[_0x2ca5f4(0x13c)](_0x2ca5f4(0x17d)+_0x28e120[_0x2ca5f4(0x1da)](getEdsInstrumentationAPIUrl,'')+_0x2ca5f4(0x1c2)+_0x5ba45c['statusCode']);}catch(_0x2e781b){logger[_0x2ca5f4(0x13c)](_0x2ca5f4(0x1bb)+_0x28e120[_0x2ca5f4(0x1da)](getEdsInstrumentationAPIUrl,'')+_0x2ca5f4(0x15e)+util['format'](_0x2e781b));}try{fs[_0x2ca5f4(0x16f)](path[_0x2ca5f4(0x219)](_0x28e120[_0x2ca5f4(0x1b5)](getLogDir),_0x28e120[_0x2ca5f4(0x21a)]),JSON[_0x2ca5f4(0x127)](_0x3d25a2));}catch(_0x296586){logger['debug'](_0x2ca5f4(0x18e)+_0x296586);}}}logger&&logger['close'](),fileLogger&&fileLogger['close']();};}}exports[a120_0x127f3a(0x15b)]=BrowserStackSetup;function a120_0x1f70(){const _0x101a18=['NCCmr','RmOXn','../hubAllocationMethods','KvnGK','Cpwiv','bind','measureWrapper','uXBYE','setupKeepAlive','race','util','vkdfD','Error\x20in\x20writing\x20events\x20to\x20file\x20','Ijkgs','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','skipBinaryInitialisation','wlMcC','env','oOVDn','checkStopLocalBinaryOnExit','ELljQ','path','requireSeleniumWebdriverCheck','proxyUrl','getConfigPath','TSFTR','SDK\x20run\x20started\x20with\x20id:\x20','isNotUndefined','isUndefined','BROWSERSTACK_PERCY','isTurboScaleSession','../bin/utils/clientTroubleshootingService','browserStackLocalOptions','LnSNp','fileLogger','./testhub/utils','status','./helper','stopLocalBinary','proxyConfig','PaUMR','UPGRADE_REQUIRED','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','setUpHubUrl','pSXSU','oqzcH','error','No\x20config\x20provided.','BrowserstackHealing.init\x20method\x20timed\x20out','platforms','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','JtTBH','configPath','parallelsPerPlatform','Local\x20binary\x20stopped','initialize','isBrowserstackInfra','Failed\x20to\x20send\x20data\x20to\x20','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','ufsGp','turboScaleOptions','codeceptjs','getLocalIdentifier','setEnvCaps','\x20with\x20response\x20','./performance/constants','VBTkF','uuid','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','setProxySettings','./timeoutPromise','Error\x20in\x20percy\x20setup\x20','pRzUB','BROWSERSTACK_TURBOSCALE','integrations','config','sdkRunId','cqbAe','fblfN','../bin/v2/browserstackCLI','selfHeal','startLocalBinary','5pBAfqR','../bin/v2/modules/loadTestModule','AI_INIT_SUCCESSFUL','hAtbf','stopPercy','startMonitoring','KYVJF','testContextOptions','init','PEMiW','true','tcg\x20config\x20setup\x20successful.','warn','MbVCn','ENDlu','setupTCGAuth','INVALID_INIT_RESP_WITH_USER_IMPACT','beforeExit','bstackConfig','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','QxgFW','2096970jHxhxU','version','isHealingEnabled','ZPRIs','validateSkipAppOverride','setLogLevel','message','finalize','aiHeal:tcgAuth','userName\x20or\x20accessKey\x20is\x20not\x20defined','ArShE','info','fWutA','playwrightUrl','Local\x20binary\x20started\x20successfully','compareVersions','stop','toLowerCase','HYgON','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','rAZvT','uzoas','CLwlu','tUHwg','LmOUx','setLogDir','EcDoa','getPackageVersion','saipe','intExitHandler','./percy/utils','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','Percy\x20started\x20successfully','hubUrl','percy','../ai-sdk-node/bundle','setupTcgConfigFile','constructor','getHubUrl','NNnyo','SIGTERM','preInitialize','platform','osdJw','QhRtq','TCG_URL','TCG_DOWN','?caps=','join','ekFzn','HUB_MANAGEMENT','../bin/utils/apiUtilityMethods','oqBVS','337272lKFMON','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','ZIsSt','35JuoADz','winstonLogger','skipSessionName','normalizeTestReportingEnvVars','includes','cctLt','getFinalCaps','BZxHJ','reportProcessInterruptionSituation','99571HhIOmA','isAuthenticated','toString','fLaro','MwakH','reportFinalDetectionState','./testhub/testhubHandler','customRepeaters','fireFunnelTestEvent','sendToEDS','619510FNUDem','custom-repeater','HbJdg','SIGBREAK','Error\x20in\x20sending\x20testhub\x20stop:\x20','split','userName','1102158JoigNf','ESFJT','stringify','handleExceptions','ats-repeater','localIdentifier','LMgBZ','4.5.0','nmIzC','setupCaCertificate','./utilities','getInstance','tWipn','AUTOLOGCAPTURE_NOTIFICATION','3|2|0|1|4','events.json','XBTOM','JrmzU','BrowserstackHealing.init','end','errorMessage','__isPlaywrightInstalled','push','debug','TCG_AUTH_TIMEOUT','FRAMEWORK','assign','./logger','framework','handled','cancel','turboScaleGridDetails','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','SDKTestAttempted','disableAutoCaptureLogs','envConfig','GLpAu','fEaOA','length','Error\x20occured\x20while\x20stopping\x20percy','132309dPxqPg','HIxpv','format','false','Calling\x20Build\x20Stop\x20from\x20ExitHandler','getCentralUser','HnJJv','153006DUiMUb','measures','useW3C','skipSessionStatus','getProxyConfigForTcg','url','readConfig','default','BllDs','oANMs','\x20with\x20error\x20','isTrue','dohGI','unhandledRejection','isRunning','setCLICaps','browserstackLocal','SIGABRT','KRYKn','selenium-webdriver','32extwHE','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','stopBrowserstackLocal','vlQSi','generateLocalIdentifier','killSignal','CsxKW','writeFileSync','turboScaleUrl','unhandledErrors','QJzXx','yxKBj','allocateHub','setSmartTestSelectionFeatureBranchesConfig','FOqAA','AI_INIT_FAILURE','uUbBH','OsRKh','AI_PROXY_FAILURE','captureError','getUserName','Data\x20sent\x20successfully\x20to\x20','wMPHD','then','cliConfig','exitHandler'];a120_0x1f70=function(){return _0x101a18;};return a120_0x1f70();}
1
+ function a120_0xd265(_0x5eafec,_0x3a2efb){const _0x4e387f=a120_0x4e38();return a120_0xd265=function(_0xd265be,_0x1d8644){_0xd265be=_0xd265be-0x1d2;let _0x488c87=_0x4e387f[_0xd265be];return _0x488c87;},a120_0xd265(_0x5eafec,_0x3a2efb);}const a120_0x762a1e=a120_0xd265;(function(_0x30b2a0,_0x127420){const _0x484a7a=a120_0xd265,_0x2267b4=_0x30b2a0();while(!![]){try{const _0x24f5bf=-parseInt(_0x484a7a(0x208))/0x1*(-parseInt(_0x484a7a(0x272))/0x2)+-parseInt(_0x484a7a(0x1fd))/0x3*(-parseInt(_0x484a7a(0x235))/0x4)+-parseInt(_0x484a7a(0x294))/0x5+parseInt(_0x484a7a(0x220))/0x6*(parseInt(_0x484a7a(0x2b2))/0x7)+parseInt(_0x484a7a(0x217))/0x8*(parseInt(_0x484a7a(0x263))/0x9)+-parseInt(_0x484a7a(0x293))/0xa*(parseInt(_0x484a7a(0x2b3))/0xb)+parseInt(_0x484a7a(0x2c7))/0xc*(-parseInt(_0x484a7a(0x1d2))/0xd);if(_0x24f5bf===_0x127420)break;else _0x2267b4['push'](_0x2267b4['shift']());}catch(_0x198be5){_0x2267b4['push'](_0x2267b4['shift']());}}}(a120_0x4e38,0xb885f));const util=require(a120_0x762a1e(0x2c4)),os=require('os'),path=require(a120_0x762a1e(0x230)),{v4:uuidv4}=require(a120_0x762a1e(0x2dd)),fs=require('fs'),constants=require(a120_0x762a1e(0x236)),logger=require(a120_0x762a1e(0x2ba))[a120_0x762a1e(0x1e5)],fileLogger=require('./logger')[a120_0x762a1e(0x1dc)],{getLogDir}=require(a120_0x762a1e(0x2ba)),helper=require(a120_0x762a1e(0x2d0)),utilities=require('./utilities'),percyHelper=require(a120_0x762a1e(0x1e3)),hubAllocator=require(a120_0x762a1e(0x216)),PerformanceTester=require(a120_0x762a1e(0x242)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a120_0x762a1e(0x287)),{setPercyFlag}=require(a120_0x762a1e(0x2e5)),TestHubHandler=require(a120_0x762a1e(0x2be)),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require('../bin/v2/browserstackCLI'),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require(a120_0x762a1e(0x22d)),ClientTroubleShootingService=require(a120_0x762a1e(0x269));class BrowserStackSetup{constructor(_0x2deef1,_0x581809){const _0x11e2ce=a120_0x762a1e,_0x288d30={'ApJYw':_0x11e2ce(0x2c0),'Qcgmf':function(_0xa0d85e){return _0xa0d85e();},'uIfke':function(_0x257496,_0x2ebae5){return _0x257496(_0x2ebae5);},'urNpK':'./caCertHelper','OPRzv':_0x11e2ce(0x288)},_0x5be253=_0x288d30[_0x11e2ce(0x2cb)][_0x11e2ce(0x26f)]('|');let _0x42b088=0x0;while(!![]){switch(_0x5be253[_0x42b088++]){case'0':this[_0x11e2ce(0x29c)]=null;continue;case'1':this['envConfig']=helper[_0x11e2ce(0x246)]();continue;case'2':this['config']['testContextOptions']=this[_0x11e2ce(0x215)][_0x11e2ce(0x2b8)]||{};continue;case'3':helper[_0x11e2ce(0x2d1)](this['config'],this['cliConfig'],this[_0x11e2ce(0x2ed)]);continue;case'4':helper[_0x11e2ce(0x1d9)](this[_0x11e2ce(0x215)],this[_0x11e2ce(0x2e4)]);continue;case'5':this[_0x11e2ce(0x215)][_0x11e2ce(0x240)]=this[_0x11e2ce(0x215)][_0x11e2ce(0x240)]||[];continue;case'6':helper[_0x11e2ce(0x238)](this[_0x11e2ce(0x215)],this[_0x11e2ce(0x218)]);continue;case'7':if(this[_0x11e2ce(0x215)][_0x11e2ce(0x23c)])throw new Error(this[_0x11e2ce(0x215)][_0x11e2ce(0x23c)]);continue;case'8':this[_0x11e2ce(0x265)]=_0x288d30[_0x11e2ce(0x1fe)](uuidv4);continue;case'9':this[_0x11e2ce(0x243)]=helper[_0x11e2ce(0x1d8)](_0x2deef1);continue;case'10':helper['normalizeTestReportingEnvVars']();continue;case'11':try{_0x288d30[_0x11e2ce(0x254)](require,_0x288d30[_0x11e2ce(0x2ab)])[_0x11e2ce(0x28e)](this[_0x11e2ce(0x215)],logger);}catch(_0x21084d){}continue;case'12':global['framework']=_0x581809;continue;case'13':PerformanceTester[_0x11e2ce(0x2aa)]();continue;case'14':this[_0x11e2ce(0x215)][_0x11e2ce(0x2b8)][_0x11e2ce(0x214)]=!helper['isBrowserstackInfra']()||helper['isTrue'](this[_0x11e2ce(0x215)][_0x11e2ce(0x2b8)]['skipSessionName']);continue;case'15':this['framework']=_0x581809;continue;case'16':helper['setLogLevel'](this[_0x11e2ce(0x215)],this[_0x11e2ce(0x218)],this['envConfig']);continue;case'17':helper[_0x11e2ce(0x27e)](this['config']);continue;case'18':helper['setLogDir'](this[_0x11e2ce(0x215)]);continue;case'19':if(helper[_0x11e2ce(0x22e)](this[_0x11e2ce(0x215)]))throw new Error(_0x288d30['OPRzv']);continue;case'20':helper[_0x11e2ce(0x2ef)](this[_0x11e2ce(0x215)],this[_0x11e2ce(0x218)],this[_0x11e2ce(0x2ed)]);continue;case'21':this['errorMessage']={};continue;case'22':this[_0x11e2ce(0x2ce)]=null;continue;case'23':this['config']=helper[_0x11e2ce(0x2bc)](this[_0x11e2ce(0x243)]);continue;case'24':this[_0x11e2ce(0x289)]=[];continue;case'25':this[_0x11e2ce(0x215)]['testContextOptions']['skipSessionStatus']=!helper['isBrowserstackInfra']()||helper[_0x11e2ce(0x23d)](this[_0x11e2ce(0x215)][_0x11e2ce(0x2b8)][_0x11e2ce(0x2a4)]);continue;case'26':this['cliConfig']=helper[_0x11e2ce(0x20e)](_0x2deef1);continue;}break;}}[a120_0x762a1e(0x25e)](_0x1c6c4b){const _0x4224fc=a120_0x762a1e,_0x4615be={'WueVg':_0x4224fc(0x2e8),'bXeNb':function(_0x2a66b0,_0x6e0b75){return _0x2a66b0===_0x6e0b75;},'SIQak':function(_0x22456e,_0x3a3d29){return _0x22456e===_0x3a3d29;},'nyQwz':_0x4224fc(0x2a7),'bcWsV':_0x4224fc(0x1de),'EFxzy':function(_0x4515b4,_0x58ca13){return _0x4515b4<_0x58ca13;},'POprl':function(_0x39ee3a,_0x508338){return _0x39ee3a(_0x508338);},'webFR':_0x4224fc(0x2f1),'RmQOh':function(_0x5ad7e9,_0xedea08){return _0x5ad7e9===_0xedea08;},'MUFDX':_0x4224fc(0x281),'UBmsd':_0x4224fc(0x2e1),'mTpPu':_0x4224fc(0x239),'IFujY':_0x4224fc(0x248),'NaXFk':'SIGINT','SuBPO':'SIGHUP','LQXyi':function(_0x1e5eb9,_0x146e7d){return _0x1e5eb9!==_0x146e7d;},'lgGAc':'win32','yVFHA':_0x4224fc(0x22a),'wufsk':_0x4224fc(0x280),'KieRM':_0x4224fc(0x2db),'ANaka':'beforeExit'},_0x1c9295=this[_0x4224fc(0x2e4)];global[_0x4224fc(0x215)]=this[_0x4224fc(0x215)],helper[_0x4224fc(0x2bd)](this[_0x4224fc(0x215)]),this['killSignal']=null,global['sdkRunId']=this['sdkRunId'],logger['info'](_0x4224fc(0x2e3)+this[_0x4224fc(0x265)]),!this[_0x4224fc(0x215)]['browserStackLocalOptions']&&(this[_0x4224fc(0x215)][_0x4224fc(0x2bf)]=this[_0x4224fc(0x215)][_0x4224fc(0x2a2)]||{});if(helper[_0x4224fc(0x22e)](helper[_0x4224fc(0x253)](this[_0x4224fc(0x215)]))||helper['isUndefined'](helper[_0x4224fc(0x27a)](this['config'])))throw new Error(_0x4615be[_0x4224fc(0x26d)]);helper['getLocalConfig'](this['config'])&&helper[_0x4224fc(0x22e)](helper[_0x4224fc(0x264)](this[_0x4224fc(0x215)]))&&(!helper['isUndefined'](this[_0x4224fc(0x215)][_0x4224fc(0x2bf)])&&_0x4615be[_0x4224fc(0x2e6)](this['config'][_0x4224fc(0x2bf)][_0x4224fc(0x1f4)],Object)?!helper[_0x4224fc(0x23d)](this['config']['browserStackLocalOptions'][_0x4224fc(0x266)])&&(this['config'][_0x4224fc(0x2bf)][_0x4224fc(0x23e)]=helper[_0x4224fc(0x204)]()):this['config']['browserStackLocalOptions']={'localIdentifier':helper[_0x4224fc(0x204)]()});this['config'][_0x4224fc(0x2bf)][_0x4224fc(0x266)]=helper[_0x4224fc(0x23d)](this[_0x4224fc(0x215)][_0x4224fc(0x2bf)][_0x4224fc(0x266)]),helper[_0x4224fc(0x277)](this[_0x4224fc(0x215)]);if(_0x4615be['SIQak'](_0x1c9295,_0x4615be[_0x4224fc(0x211)]))return;this[_0x4224fc(0x2d8)]();process['env']['BROWSERSTACK_TURBOSCALE']&&(this[_0x4224fc(0x215)][_0x4224fc(0x2d6)]=helper[_0x4224fc(0x23d)](process[_0x4224fc(0x1ee)][_0x4224fc(0x20f)]),this[_0x4224fc(0x215)][_0x4224fc(0x29b)]=this[_0x4224fc(0x215)][_0x4224fc(0x29b)]||{});helper[_0x4224fc(0x241)](this[_0x4224fc(0x215)])&&(process[_0x4224fc(0x1ee)][_0x4224fc(0x20f)]=!![]);LoadTestModule[_0x4224fc(0x1f1)](this['config'])&&logger[_0x4224fc(0x1d5)]('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this[_0x4224fc(0x265)]);if(!helper[_0x4224fc(0x1ff)]()){try{process[_0x4224fc(0x1ee)][_0x4224fc(0x1f5)]=_0x1c9295,utilities[_0x4224fc(0x226)](_0x4615be[_0x4224fc(0x1f8)],{},this['config'],this[_0x4224fc(0x2e4)]);}catch(_0xefb3){logger[_0x4224fc(0x1d5)](_0x4224fc(0x257)+_0xefb3);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x1c9295)){if(global[_0x4224fc(0x2bb)]||global[_0x4224fc(0x1e8)])return;_0x4615be[_0x4224fc(0x231)](_0x4615be[_0x4224fc(0x1e0)](parseInt,helper[_0x4224fc(0x203)](_0x4615be[_0x4224fc(0x27f)])),0x3)&&(this['config'][_0x4224fc(0x1d3)]=![]),_0x4615be[_0x4224fc(0x2ae)](helper[_0x4224fc(0x258)](helper[_0x4224fc(0x203)](_0x4615be['webFR']),_0x4615be[_0x4224fc(0x25b)]),0x1)&&(this['config']['useW3C']=!![]);}(helper[_0x4224fc(0x22e)](this[_0x4224fc(0x215)][_0x4224fc(0x240)])||helper[_0x4224fc(0x22e)](this[_0x4224fc(0x215)][_0x4224fc(0x240)][_0x4224fc(0x2cd)]))&&(helper[_0x4224fc(0x22e)](this[_0x4224fc(0x215)][_0x4224fc(0x206)])?logger[_0x4224fc(0x2cc)](_0x4615be['UBmsd']):logger['warn'](_0x4615be[_0x4224fc(0x297)]),this[_0x4224fc(0x215)][_0x4224fc(0x240)]=[]);!this[_0x4224fc(0x215)][_0x4224fc(0x2b8)]&&(this[_0x4224fc(0x215)][_0x4224fc(0x2b8)]={});try{process[_0x4224fc(0x1ee)][_0x4224fc(0x1f5)]=_0x1c6c4b['_'][0x0],utilities[_0x4224fc(0x226)](_0x4615be['bcWsV'],{},this[_0x4224fc(0x215)],this['framework']);}catch(_0x383832){logger[_0x4224fc(0x1d5)](_0x4224fc(0x257)+_0x383832);}!this[_0x4224fc(0x215)]['disableAutoCaptureLogs']&&logger[_0x4224fc(0x2cc)](constants[_0x4224fc(0x296)]),this['intExitHandler']=this[_0x4224fc(0x2eb)][_0x4224fc(0x2dc)](this),process['on'](_0x4615be[_0x4224fc(0x28b)],this['intExitHandler']),process['on'](_0x4615be[_0x4224fc(0x1fa)],this[_0x4224fc(0x2eb)]),process['on'](_0x4615be[_0x4224fc(0x251)],this[_0x4224fc(0x2eb)]),_0x4615be[_0x4224fc(0x223)](process['platform'],_0x4615be['lgGAc'])?(process['on'](_0x4615be['yVFHA'],this[_0x4224fc(0x2eb)]),process['on'](_0x4615be[_0x4224fc(0x23a)],this['intExitHandler'])):process['on'](_0x4615be[_0x4224fc(0x260)],this[_0x4224fc(0x2eb)]),process['on'](_0x4615be['ANaka'],this[_0x4224fc(0x292)]());}async['initialize'](_0x4eeabf){const _0xfc886b=a120_0x762a1e,_0x41ff18={'ZedfI':_0xfc886b(0x286),'eEapN':_0xfc886b(0x2e7),'jjfgn':_0xfc886b(0x1f6),'KAEBD':function(_0x87eb5f,_0x49b163){return _0x87eb5f===_0x49b163;},'DhQMQ':_0xfc886b(0x237),'yCFeK':function(_0x32b4d4,_0xd2ae44){return _0x32b4d4+_0xd2ae44;},'Kovla':'?caps=','BwXtT':function(_0x1b9bd5,_0x3632d2){return _0x1b9bd5(_0x3632d2);},'sCjPy':_0xfc886b(0x2df)};this['preInitialize'](_0x4eeabf);if(helper[_0xfc886b(0x241)](this[_0xfc886b(0x215)])){const _0x3857d8=await helper['getTurboScaleGridDetails'](this[_0xfc886b(0x215)]);this[_0xfc886b(0x215)][_0xfc886b(0x225)]=_0x3857d8,_0x3857d8[_0xfc886b(0x24f)]&&helper[_0xfc886b(0x27c)](this['config'][_0xfc886b(0x29c)])&&helper['isTrue'](this[_0xfc886b(0x215)][_0xfc886b(0x29c)])&&(this['config'][_0xfc886b(0x2bf)]['localIdentifier']=_0x41ff18[_0xfc886b(0x2d5)],this[_0xfc886b(0x215)][_0xfc886b(0x2bf)][_0x41ff18[_0xfc886b(0x1d4)]]=_0x3857d8[_0xfc886b(0x256)][_0xfc886b(0x1ed)](','),this[_0xfc886b(0x215)][_0xfc886b(0x2bf)][_0xfc886b(0x283)]=_0x41ff18[_0xfc886b(0x26b)]),this[_0xfc886b(0x215)]['turboScaleUrl']=_0x3857d8[_0xfc886b(0x2b0)],this[_0xfc886b(0x2e4)]&&_0x41ff18[_0xfc886b(0x26c)](this[_0xfc886b(0x2e4)][_0xfc886b(0x1e6)](),_0x41ff18[_0xfc886b(0x2ec)])?this[_0xfc886b(0x215)][_0xfc886b(0x1f2)]=_0x41ff18[_0xfc886b(0x24b)](_0x3857d8[_0xfc886b(0x210)],_0x41ff18['Kovla']):constants[_0xfc886b(0x1dd)]=helper['getHubUrl'](this[_0xfc886b(0x215)]),logger[_0xfc886b(0x1d5)](_0xfc886b(0x259)+constants[_0xfc886b(0x1dd)]);}helper[_0xfc886b(0x22b)](this[_0xfc886b(0x215)]),this[_0xfc886b(0x25c)](),_0x41ff18[_0xfc886b(0x229)](setPercyFlag,this),![_0x41ff18[_0xfc886b(0x20b)],_0x41ff18['DhQMQ']][_0xfc886b(0x275)](this[_0xfc886b(0x2e4)])&&!helper[_0xfc886b(0x241)](this[_0xfc886b(0x215)])&&!helper[_0xfc886b(0x2c1)]()[_0xfc886b(0x2c6)]&&await this[_0xfc886b(0x20a)]();}async[a120_0x762a1e(0x224)](){const _0x18b05a=a120_0x762a1e,_0x3aa702={};_0x3aa702[_0x18b05a(0x2c9)]=function(_0x3167bd,_0x5d9eed){return _0x3167bd===_0x5d9eed;},_0x3aa702[_0x18b05a(0x2a1)]=_0x18b05a(0x2d2),_0x3aa702[_0x18b05a(0x1f0)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x3aa702['YepRB']=_0x18b05a(0x28d),_0x3aa702['lMLIx']='true',_0x3aa702[_0x18b05a(0x201)]='beforeExit';const _0x2edea1=_0x3aa702;if(helper[_0x18b05a(0x23d)](this[_0x18b05a(0x215)][_0x18b05a(0x2ce)])&&(!this[_0x18b05a(0x2ce)]||!this[_0x18b05a(0x2ce)][_0x18b05a(0x1da)]()))try{this['percy']=await percyHelper['startPercy'](this[_0x18b05a(0x215)]);if(!this[_0x18b05a(0x2ce)]){process[_0x18b05a(0x1ee)]['BROWSERSTACK_PERCY']=_0x2edea1[_0x18b05a(0x2a1)];throw new Error(_0x2edea1[_0x18b05a(0x1f0)]);}logger[_0x18b05a(0x2cc)](_0x2edea1[_0x18b05a(0x2b7)]),process[_0x18b05a(0x1ee)][_0x18b05a(0x2c3)]=_0x2edea1[_0x18b05a(0x1e2)];let _0xd0741e=0x0;const _0x2418b6=async()=>{const _0x38b978=_0x18b05a;_0xd0741e++,_0x2edea1[_0x38b978(0x2c9)](_0xd0741e,0x1)&&await this['stopPercy']();};process['on'](_0x2edea1[_0x18b05a(0x201)],_0x2418b6);}catch(_0x51673e){process[_0x18b05a(0x1ee)][_0x18b05a(0x2c3)]=_0x2edea1[_0x18b05a(0x2a1)],logger[_0x18b05a(0x1d5)](_0x18b05a(0x21f)+_0x51673e);throw new Error(_0x51673e['toString']());}}async[a120_0x762a1e(0x2a6)](){const _0x5bd88a=a120_0x762a1e,_0x3f8a83={};_0x3f8a83[_0x5bd88a(0x1ea)]=_0x5bd88a(0x234),_0x3f8a83[_0x5bd88a(0x1ef)]=_0x5bd88a(0x279);const _0x3621d8=_0x3f8a83;if(this[_0x5bd88a(0x2ce)]&&this['percy'][_0x5bd88a(0x1da)]())try{await percyHelper[_0x5bd88a(0x2a6)](this[_0x5bd88a(0x2ce)]),logger[_0x5bd88a(0x2cc)](_0x3621d8[_0x5bd88a(0x1ea)]);}catch(_0x2fcec5){logger[_0x5bd88a(0x23c)](_0x3621d8['GgRKJ'],_0x2fcec5[_0x5bd88a(0x1df)]);}}async[a120_0x762a1e(0x291)](){const _0x3463d9=a120_0x762a1e,_0x4e8d97={};_0x4e8d97[_0x3463d9(0x21b)]=_0x3463d9(0x2d4),_0x4e8d97['tizPM']=_0x3463d9(0x2b6);const _0x3ebbac=_0x4e8d97;if(helper['isBrowserstackInfra']()&&helper[_0x3463d9(0x23d)](this[_0x3463d9(0x215)]['browserstackLocal'])&&(!this['browserstackLocal']||!this[_0x3463d9(0x29c)][_0x3463d9(0x1da)]()))try{if(this[_0x3463d9(0x215)]['browserStackLocalOptions']['skipBinaryInitialisation']){logger[_0x3463d9(0x1d5)](_0x3ebbac[_0x3463d9(0x21b)]);return;}this[_0x3463d9(0x29c)]=await helper['startLocalBinary'](this['config']),logger[_0x3463d9(0x2cc)](_0x3ebbac[_0x3463d9(0x222)]);}catch(_0x4cc02c){logger[_0x3463d9(0x1d5)](_0x4cc02c);throw new Error(_0x4cc02c[_0x3463d9(0x2c5)]());}}async[a120_0x762a1e(0x26e)](){const _0x2e301f=a120_0x762a1e,_0x375ae8={};_0x375ae8['nvJsq']='Local\x20binary\x20stopped',_0x375ae8[_0x2e301f(0x1db)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x3d89e6=_0x375ae8;if(this[_0x2e301f(0x29c)]&&this[_0x2e301f(0x29c)]['isRunning']())try{await helper[_0x2e301f(0x247)](this[_0x2e301f(0x29c)]),logger[_0x2e301f(0x2cc)](_0x3d89e6['nvJsq']);}catch(_0x1883b1){logger[_0x2e301f(0x23c)](_0x3d89e6['iIHLz'],_0x1883b1[_0x2e301f(0x1df)]);}}async['setUpHubUrl'](){return PerformanceTester['measureWrapper'](PerformanceAutEvents['HUB_MANAGEMENT'],async()=>{const _0x38389e=a120_0xd265;await hubAllocator[_0x38389e(0x298)](this[_0x38389e(0x215)]);})();}async[a120_0x762a1e(0x262)](){const _0x5c58b1=a120_0x762a1e,_0x17e1c1={'UBbzH':function(_0x35477a,_0x3d0daa){return _0x35477a(_0x3d0daa);},'TBAkT':_0x5c58b1(0x25a),'Sctbl':function(_0x445501,_0x3cab76,_0x2e8c58,_0x42c5fa,_0x2c0632,_0x5a5d8e,_0x3c2dfb){return _0x445501(_0x3cab76,_0x2e8c58,_0x42c5fa,_0x2c0632,_0x5a5d8e,_0x3c2dfb);},'ohoAU':'BrowserstackHealing.init\x20method\x20timed\x20out','rAiYP':'BrowserstackHealingInitFailed','tQAdM':function(_0x3a530c,_0x36248f){return _0x3a530c(_0x36248f);},'wivDP':_0x5c58b1(0x2c2),'kAPqn':'BrowserstackHealing.init','eBAmg':function(_0x18b6b9,_0x115c23){return _0x18b6b9===_0x115c23;},'cYUll':'true','uLUlM':function(_0x51b0bb,_0x14b590){return _0x51b0bb===_0x14b590;},'kchWH':_0x5c58b1(0x2a3),'RyvcN':function(_0x423e24,_0x8d2e67){return _0x423e24===_0x8d2e67;},'IUVDl':_0x5c58b1(0x1ec),'OlJSH':_0x5c58b1(0x2b4),'zdvku':function(_0x57cce6,_0x209fde){return _0x57cce6(_0x209fde);},'vnwhU':_0x5c58b1(0x2da),'PYEvk':function(_0x4aaff0,_0x1acc43){return _0x4aaff0>=_0x1acc43;},'dfPeF':function(_0xd2bd10,_0x5c791a){return _0xd2bd10<_0x5c791a;},'JBgBh':function(_0xf373c3,_0xc969e9){return _0xf373c3>=_0xc969e9;},'VUvWQ':'tcg\x20config\x20setup\x20successful.','nZLRM':_0x5c58b1(0x24a),'tFxWb':function(_0x1d0508){return _0x1d0508();}},_0x248a69=PerformanceTester[_0x5c58b1(0x2ea)](_0x17e1c1[_0x5c58b1(0x29f)],async()=>{const _0x263d59=_0x5c58b1;try{const _0x5dcfc0=new Date(),_0x4dc6d7=helper[_0x263d59(0x2a5)](this[_0x263d59(0x215)]),_0x3aaefe=_0x17e1c1['UBbzH'](require,path['join'](__dirname,_0x17e1c1[_0x263d59(0x27b)])),_0x386e4c=_0x17e1c1[_0x263d59(0x1d6)](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x17e1c1[_0x263d59(0x271)],_0x17e1c1[_0x263d59(0x29a)],_0x5dcfc0,this[_0x263d59(0x215)],this[_0x263d59(0x2e4)]),_0x5bd347={'tcgUrl':constants[_0x263d59(0x285)],'sdkVersion':_0x17e1c1[_0x263d59(0x200)](require,_0x17e1c1[_0x263d59(0x274)])[_0x263d59(0x233)],'methodUsed':_0x17e1c1[_0x263d59(0x205)],'proxyConfig':_0x4dc6d7,'os':os[_0x263d59(0x2d7)]()};if(_0x4dc6d7&&_0x4dc6d7[_0x263d59(0x278)]){utilities['fireFunnelTestEvent'](constants[_0x263d59(0x20c)],_0x5bd347,this[_0x263d59(0x215)],this[_0x263d59(0x2e4)]);return;}const _0x222f7f={};_0x222f7f[_0x263d59(0x1d7)]=_0x4dc6d7;const _0x3f07bc=await Promise[_0x263d59(0x252)]([_0x3aaefe['init'](this['config'][_0x263d59(0x249)],this[_0x263d59(0x215)][_0x263d59(0x1e4)],constants[_0x263d59(0x285)],_0x17e1c1['tQAdM'](require,_0x17e1c1['wivDP'])['version'],_0x222f7f)[_0x263d59(0x228)](_0x46b171=>{const _0x142249=_0x263d59;return _0x386e4c[_0x142249(0x284)](),_0x46b171;}),_0x386e4c]);_0x3f07bc['isHealingEnabled']=_0x17e1c1['eBAmg'](_0x3f07bc['isHealingEnabled'],_0x17e1c1[_0x263d59(0x2e0)])||_0x17e1c1['uLUlM'](_0x3f07bc[_0x263d59(0x27d)],!![]);const _0x4c0107=_0x17e1c1[_0x263d59(0x21d)](this[_0x263d59(0x215)]['selfHeal'],!![])||_0x17e1c1[_0x263d59(0x21d)](this['config'][_0x263d59(0x244)],_0x17e1c1[_0x263d59(0x2e0)]);if(_0x17e1c1[_0x263d59(0x207)](_0x3f07bc['message'],constants[_0x263d59(0x25d)])&&_0x4c0107)logger[_0x263d59(0x2cc)](_0x17e1c1['kchWH']);else{if(!_0x3f07bc[_0x263d59(0x299)]&&_0x17e1c1[_0x263d59(0x2b5)](_0x3f07bc[_0x263d59(0x295)],0x1f7)&&_0x4c0107)logger[_0x263d59(0x2cc)](_0x17e1c1[_0x263d59(0x1f3)]),utilities[_0x263d59(0x226)](constants[_0x263d59(0x2cf)],_0x5bd347,this['config'],this[_0x263d59(0x2e4)]);else{if(!_0x3f07bc[_0x263d59(0x299)]&&_0x4c0107){logger['info'](_0x17e1c1[_0x263d59(0x1fc)]);const _0x1d725a={'tcgUrl':constants[_0x263d59(0x285)],'sdkVersion':_0x17e1c1[_0x263d59(0x270)](require,_0x17e1c1[_0x263d59(0x274)])['version'],'methodUsed':_0x17e1c1[_0x263d59(0x205)],'proxyConfig':_0x4dc6d7,'os':os[_0x263d59(0x2d7)]()};utilities[_0x263d59(0x226)](constants[_0x263d59(0x23b)],_0x1d725a,this[_0x263d59(0x215)],this['framework']);}else{if(_0x3f07bc['isAuthenticated']&&!_0x3f07bc[_0x263d59(0x27d)]&&_0x4c0107)logger['info'](_0x17e1c1['vnwhU']);else{if(_0x17e1c1['PYEvk'](_0x3f07bc[_0x263d59(0x295)],0xc8)&&_0x17e1c1[_0x263d59(0x2d9)](_0x3f07bc[_0x263d59(0x295)],0x12c))utilities[_0x263d59(0x226)](constants['AI_INIT_SUCCESSFUL'],_0x5bd347,this[_0x263d59(0x215)],this[_0x263d59(0x2e4)]);else{if(_0x17e1c1[_0x263d59(0x219)](_0x3f07bc['status'],0x190))_0x5bd347['status']=_0x3f07bc[_0x263d59(0x295)],utilities[_0x263d59(0x226)](constants['AI_INIT_FAILURE'],_0x5bd347,this['config'],this[_0x263d59(0x2e4)]);else!_0x3f07bc[_0x263d59(0x295)]&&utilities['fireFunnelTestEvent'](constants[_0x263d59(0x2e2)],_0x5bd347,this['config'],this['framework']);}}}}}if(_0x3f07bc['isAuthenticated']&&_0x3f07bc[_0x263d59(0x27d)]){const _0x421aee={};_0x421aee['tcgAuthConfig']=_0x3f07bc;const _0x36c6ae=_0x421aee;_0x4dc6d7&&(_0x36c6ae[_0x263d59(0x2ad)]=_0x4dc6d7),_0x36c6ae['framework']=this[_0x263d59(0x2e4)],_0x36c6ae[_0x263d59(0x2f0)]=this[_0x263d59(0x215)],helper[_0x263d59(0x23f)](_0x36c6ae),logger[_0x263d59(0x1d5)](_0x17e1c1['VUvWQ']);}}catch(_0x5545c2){logger[_0x263d59(0x1d5)]('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x5545c2['message']?_0x5545c2[_0x263d59(0x1df)]:''));}});await _0x17e1c1[_0x5c58b1(0x276)](_0x248a69);}[a120_0x762a1e(0x25c)](){const _0x49ce8c=a120_0x762a1e,_0x525604={'kafQQ':function(_0x4a1c89,_0xe9d403){return _0x4a1c89(_0xe9d403);},'aEUZp':_0x49ce8c(0x2e9)};_0x525604[_0x49ce8c(0x28c)](require,_0x525604[_0x49ce8c(0x221)])();}[a120_0x762a1e(0x2d8)](){const _0x4ae060=a120_0x762a1e,_0x545a02={};_0x545a02[_0x4ae060(0x282)]=_0x4ae060(0x1e7),_0x545a02[_0x4ae060(0x20d)]=_0x4ae060(0x245),_0x545a02[_0x4ae060(0x1f9)]=_0x4ae060(0x209);const _0x3baeac=_0x545a02,_0x18aa41=_0x53831e=>{const _0x1dd9fb=_0x4ae060,_0x435a0f=_0x3baeac[_0x1dd9fb(0x282)][_0x1dd9fb(0x26f)]('|');let _0x248cab=0x0;while(!![]){switch(_0x435a0f[_0x248cab++]){case'0':logger[_0x1dd9fb(0x1d5)](util[_0x1dd9fb(0x255)](_0x53831e));continue;case'1':PerformanceTester[_0x1dd9fb(0x29d)](_0x53831e);continue;case'2':ClientTroubleShootingService[_0x1dd9fb(0x2af)]();continue;case'3':this['unhandledErrors']['push'](util[_0x1dd9fb(0x255)]('%j',_0x53831e));continue;case'4':logger['error'](_0x53831e[_0x1dd9fb(0x1df)]);continue;}break;}};process['on'](_0x3baeac[_0x4ae060(0x20d)],_0x18aa41),process['on'](_0x3baeac[_0x4ae060(0x1f9)],_0x18aa41);}async[a120_0x762a1e(0x2eb)](_0x527763){const _0x3113e5=a120_0x762a1e,_0x85f377={'MTTLG':function(_0x1f31ce,_0x517ec0){return _0x1f31ce+_0x517ec0;},'JFzPf':'Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','HsTfN':_0x3113e5(0x24e),'CNWfp':function(_0xa28be5,_0x4bac34,_0x31817a){return _0xa28be5(_0x4bac34,_0x31817a);},'wadoO':function(_0x2411b1,_0x26a102){return _0x2411b1+_0x26a102;},'XEacK':_0x3113e5(0x2ca),'DjPjQ':function(_0xd47b3c,_0x236f95){return _0xd47b3c+_0x236f95;},'ivrqC':_0x3113e5(0x202),'rMDmo':function(_0x281022,_0x461836){return _0x281022(_0x461836);},'crnGI':function(_0x2cac8d,_0x1da8b8){return _0x2cac8d===_0x1da8b8;},'gZFkq':_0x3113e5(0x227),'HpDRs':_0x3113e5(0x1e1),'pqmeT':_0x3113e5(0x2a8)};if(this[_0x85f377[_0x3113e5(0x2a9)](_0x85f377[_0x3113e5(0x29e)],_0x527763)])return;this[_0x85f377[_0x3113e5(0x1eb)](_0x85f377['XEacK'],_0x527763)]=!![],logger[_0x3113e5(0x2cc)](_0x85f377[_0x3113e5(0x2a0)](_0x85f377['ivrqC'],_0x527763)),this[_0x3113e5(0x21e)]=_0x527763;const _0x3950e7=0x7530;let _0x406911;const _0xfde043=(async()=>{const _0x369e1b=_0x3113e5;await ClientTroubleShootingService[_0x369e1b(0x2de)](_0x527763),await TestHubHandler[_0x369e1b(0x261)](_0x527763),await ClientTroubleShootingService[_0x369e1b(0x2af)](),await BrowserstackCLI[_0x369e1b(0x273)]()[_0x369e1b(0x261)]();})()[_0x3113e5(0x228)](()=>'completed')['catch'](_0x5246d2=>{const _0x16a90c=_0x3113e5;return logger['debug'](_0x85f377[_0x16a90c(0x2a0)](_0x85f377[_0x16a90c(0x26a)],util['format'](_0x5246d2))),_0x85f377[_0x16a90c(0x267)];}),_0x8b9f48=new Promise(_0x64f294=>{const _0xfe8b15=_0x3113e5;_0x406911=_0x85f377['CNWfp'](setTimeout,()=>_0x64f294(_0xfe8b15(0x227)),_0x3950e7),_0x406911[_0xfe8b15(0x24c)]&&_0x406911[_0xfe8b15(0x24c)]();}),_0x13a042=await Promise['race']([_0xfde043,_0x8b9f48]);_0x85f377[_0x3113e5(0x28a)](clearTimeout,_0x406911),_0x85f377[_0x3113e5(0x2d3)](_0x13a042,_0x85f377['gZFkq'])&&(logger[_0x3113e5(0x21a)](_0x85f377[_0x3113e5(0x2a0)](_0x85f377[_0x3113e5(0x2a9)](_0x85f377[_0x3113e5(0x22f)],_0x3950e7),_0x85f377[_0x3113e5(0x250)])),process[_0x3113e5(0x28f)](process[_0x3113e5(0x213)]||0x0));}['exitHandler'](){const _0x671e71=a120_0x762a1e,_0x331fba={'ianMp':function(_0x52e6b6,_0x36f704){return _0x52e6b6===_0x36f704;},'fGLsO':_0x671e71(0x2ac),'XEDVQ':function(_0x5b3637,_0x4f72a9){return _0x5b3637>_0x4f72a9;},'hyiYF':function(_0xd14a89,_0x69e2e6){return _0xd14a89>_0x69e2e6;},'aykuW':function(_0x46694,_0x265fef){return _0x46694(_0x265fef);},'itzeM':function(_0x59a6ee){return _0x59a6ee();},'nmURw':_0x671e71(0x24d)};let _0x5a02a9=0x0;return async()=>{const _0x513401=_0x671e71;_0x5a02a9++;if(_0x331fba[_0x513401(0x25f)](_0x5a02a9,0x1)){helper['checkStopLocalBinaryOnExit'](this['framework'])&&await this[_0x513401(0x26e)]();try{logger[_0x513401(0x1d5)](_0x331fba['fGLsO']),await TestHubHandler[_0x513401(0x261)](_0x5a02a9),await ClientTroubleShootingService[_0x513401(0x2af)](),await BrowserstackCLI[_0x513401(0x273)]()[_0x513401(0x261)]('1');}catch(_0x71cf68){logger['debug']('Error\x20in\x20sending\x20testhub\x20stop:\x20'+util['format'](_0x71cf68));}PerformanceTester[_0x513401(0x232)](PerformanceEvents['SDK_CLEANUP']);if(PerformanceTester[_0x513401(0x2c8)]()){const {measures:_0x44916d,errors:_0x471cd7}=await PerformanceTester[_0x513401(0x1f7)](),_0x566a7f={};if(_0x44916d&&_0x331fba['XEDVQ'](_0x44916d['length'],0x0)||_0x471cd7&&_0x331fba['hyiYF'](_0x471cd7[_0x513401(0x2cd)],0x0)){const _0x3dae1b={};_0x3dae1b['measures']=_0x44916d,_0x3dae1b['exceptions']=_0x471cd7,Object[_0x513401(0x212)](_0x566a7f,_0x3dae1b);}try{const _0x2ef1bf=await helper[_0x513401(0x2ee)](_0x566a7f,this[_0x513401(0x215)]);logger[_0x513401(0x1d5)](_0x513401(0x1e9)+_0x331fba[_0x513401(0x21c)](getEdsInstrumentationAPIUrl,'')+_0x513401(0x290)+_0x2ef1bf['statusCode']);}catch(_0x343ab7){logger[_0x513401(0x1d5)]('Failed\x20to\x20send\x20data\x20to\x20'+_0x331fba[_0x513401(0x21c)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20error\x20'+util['format'](_0x343ab7));}try{fs[_0x513401(0x1fb)](path[_0x513401(0x1ed)](_0x331fba[_0x513401(0x2b1)](getLogDir),_0x331fba['nmURw']),JSON[_0x513401(0x2b9)](_0x566a7f));}catch(_0x3618ce){logger[_0x513401(0x1d5)](_0x513401(0x268)+_0x3618ce);}}}logger&&logger[_0x513401(0x22c)](),fileLogger&&fileLogger[_0x513401(0x22c)]();};}}function a120_0x4e38(){const _0x1da7d5=['handled','ApJYw','info','length','percy','TCG_DOWN','./helper','setSmartTestSelectionFeatureBranchesConfig','false','crnGI','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','ZedfI','turboScale','platform','handleExceptions','dfPeF','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','SIGBREAK','bind','uuid','reportProcessInterruptionSituation','codeceptjs','cYUll','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','INVALID_INIT_RESP_WITH_USER_IMPACT','SDK\x20run\x20started\x20with\x20id:\x20','framework','./testhub/utils','bXeNb','custom-repeater','userName\x20or\x20accessKey\x20is\x20not\x20defined','./setKeepAlive','measureWrapper','intExitHandler','DhQMQ','envConfig','sendToEDS','getFinalCaps','bstackConfig','selenium-webdriver','19253bMGQIC','useW3C','eEapN','debug','Sctbl','proxy','getConfigPath','validateSkipAppOverride','isRunning','iIHLz','fileLogger','hubUrl','SDKTestAttempted','message','POprl','Signal\x20shutdown\x20timed\x20out\x20after\x20','lMLIx','./percy/utils','userName','winstonLogger','toLowerCase','4|0|3|1|2','__isPuppeteerInstalled','Data\x20sent\x20successfully\x20to\x20','QmiJv','DjPjQ','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','join','env','GgRKJ','bvzth','isLTSSession','turboScaleUrl','IUVDl','constructor','FRAMEWORK','true','finalize','bcWsV','OrZfH','NaXFk','writeFileSync','OlJSH','322017XEpfvn','Qcgmf','isBrowserstackInfra','tQAdM','zTMNO','Shutdown\x20triggered\x20by\x20','getPackageVersion','generateLocalIdentifier','kAPqn','parallelsPerPlatform','uLUlM','7UvIfHQ','uncaughtException','setUpHubUrl','sCjPy','AI_PROXY_FAILURE','jcFhi','setCLICaps','BROWSERSTACK_TURBOSCALE','playwrightUrl','nyQwz','assign','exitCode','skipSessionName','config','../hubAllocationMethods','80ffyLsy','cliConfig','JBgBh','warn','ZyjNZ','aykuW','eBAmg','killSignal','Error\x20in\x20percy\x20setup\x20','264GEvyoy','aEUZp','tizPM','LQXyi','setupPercy','turboScaleGridDetails','fireFunnelTestEvent','timed-out','then','BwXtT','SIGABRT','setProxySettings','close','../bin/utils/apiUtilityMethods','isUndefined','HpDRs','path','EFxzy','end','version','Percy\x20stopped','40igLTMp','../bin/utils/constants','playwright','setBrowserstackInfraFromConfig','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','wufsk','TCG_AUTH_FAILURE','error','isTrue','localIdentifier','setupTcgConfigFile','platforms','isTurboScaleSession','./performance/performance-tester','configPath','selfHeal','unhandledRejection','setEnvCaps','stopLocalBinary','SIGTERM','accessKey','aiHeal:tcgAuth','yCFeK','unref','events.json','completed','isTrialGrid','pqmeT','SuBPO','race','getUserName','uIfke','format','customRepeaters','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','compareVersions','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','../ai-sdk-node/bundle','MUFDX','setupKeepAlive','UPGRADE_REQUIRED','preInitialize','ianMp','KieRM','stop','setupTCGAuth','79083jUJBtf','getLocalIdentifier','sdkRunId','skipBinaryInitialisation','HsTfN','Error\x20in\x20writing\x20events\x20to\x20file\x20','../bin/utils/clientTroubleshootingService','JFzPf','jjfgn','KAEBD','WueVg','stopBrowserstackLocal','split','zdvku','ohoAU','330054vVCMgb','getInstance','wivDP','includes','tFxWb','setHandlePWError','proxyUrl','Error\x20occured\x20while\x20stopping\x20percy','getAccessKey','TBAkT','isNotUndefined','isHealingEnabled','setCredentialsFromYmlConfig','webFR','SIGQUIT','4.5.0','RtVgX','forceLocal','cancel','TCG_URL','ats-repeater','./performance/constants','No\x20config\x20provided.','unhandledErrors','rMDmo','IFujY','kafQQ','Percy\x20started\x20successfully','setupCaCertificate','exit','\x20with\x20response\x20','setupBrowserstackLocal','exitHandler','260BpMEOz','5679200EyJNeX','status','AUTOLOGCAPTURE_NOTIFICATION','mTpPu','allocateHub','isAuthenticated','rAiYP','turboScaleOptions','browserstackLocal','captureError','XEacK','nZLRM','MTTLG','YWHon','localOptions','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','skipSessionStatus','getProxyConfigForTcg','stopPercy','integrations','ms;\x20forcing\x20exit','wadoO','startMonitoring','urNpK','Calling\x20Build\x20Stop\x20from\x20ExitHandler','proxyConfig','RmQOh','reportFinalDetectionState','url','itzeM','205366SEdenU','521598PzDGXA','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','RyvcN','Local\x20binary\x20started\x20successfully','YepRB','testContextOptions','stringify','./logger','__isPlaywrightInstalled','readConfig','sanitizeCaps','./testhub/testhubHandler','browserStackLocalOptions','24|10|1|0|22|9|23|26|5|2|21|8|15|12|19|7|4|6|17|25|14|20|3|18|16|13|11','getCentralUser','../../package.json','BROWSERSTACK_PERCY','util','toString','central_scanner','3912GRngNe','isEnabled','SLzDN'];a120_0x4e38=function(){return _0x1da7d5;};return a120_0x4e38();}exports['default']=BrowserStackSetup;