browserstack-node-sdk 1.55.2 → 1.55.3

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 (198) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/constants.js +1 -1
  185. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  186. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  187. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  188. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  189. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  190. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  191. package/src/helpers/testhub/constants.js +1 -1
  192. package/src/helpers/testhub/testhubHandler.js +1 -1
  193. package/src/helpers/testhub/utils.js +1 -1
  194. package/src/helpers/timeoutPromise.js +1 -1
  195. package/src/helpers/utilities.js +1 -1
  196. package/src/helpers/w3cMapping.js +1 -1
  197. package/src/hubAllocationMethods.js +1 -1
  198. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a36_0x4197fa=a36_0x1c19;function a36_0x1c19(_0x2444c0,_0xa4cf28){const _0x7079a9=a36_0x7079();return a36_0x1c19=function(_0x1c19fa,_0x44fe59){_0x1c19fa=_0x1c19fa-0xd8;let _0x4f417d=_0x7079a9[_0x1c19fa];return _0x4f417d;},a36_0x1c19(_0x2444c0,_0xa4cf28);}(function(_0x549185,_0x107705){const _0x13c916=a36_0x1c19,_0x32fb3f=_0x549185();while(!![]){try{const _0x1218fe=parseInt(_0x13c916(0x11a))/0x1+parseInt(_0x13c916(0x19f))/0x2*(-parseInt(_0x13c916(0x176))/0x3)+-parseInt(_0x13c916(0x15d))/0x4*(-parseInt(_0x13c916(0x142))/0x5)+-parseInt(_0x13c916(0x113))/0x6*(parseInt(_0x13c916(0x16c))/0x7)+parseInt(_0x13c916(0x11b))/0x8+-parseInt(_0x13c916(0x10d))/0x9+parseInt(_0x13c916(0x10a))/0xa;if(_0x1218fe===_0x107705)break;else _0x32fb3f['push'](_0x32fb3f['shift']());}catch(_0x45ee02){_0x32fb3f['push'](_0x32fb3f['shift']());}}}(a36_0x7079,0x7f437));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x4197fa(0x187)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a36_0x4197fa(0xff)),{sendPlatformDetails}=require(a36_0x4197fa(0x163)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x4197fa(0x15e)),PerformanceTester=require(a36_0x4197fa(0x159)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x4197fa(0x123)),globals=require(a36_0x4197fa(0x17f)),logger=require(a36_0x4197fa(0x170))['winstonLogger'],{shouldProcessEventForTesthub}=require(a36_0x4197fa(0xf4)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x7079(){const _0x9d7a6d=['afterEach','thJwtToken','./test-observability/mochaUtils','JQFwS','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','PVndS','\x20-\x20','length','bHfeb','warn','__platformCaps','7AbzkQz','vTJjR','oEeEH','SigKd','../../helpers/logger','qYRgZ','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','push','__error_messages__','getGlobal','66867CBDOBk','thBuildUuid','join','oFtRA','error','Mocha','shouldScanTestForAccessibility','then','HwHUh','../../helpers/globals','__drivers','oIMsS','capabilities','executeScript','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','XQTOf','titlePath','../../helpers/accessibility-automation/helper','env','Accessibility\x20scan\x20completed\x20successfully','WDyqe','getCurrentUrl','XMDhF','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','protocol','DTXVC','stringify','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','mPDuz','measureWrapper','accessibilityScanStarted','YjfJm','start','setGlobal','alhHo','EKiks','SDK_HOOK','index','debug','VHsXI','__skipSessionName','62AxETps','YifHB','rTIKQ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','hgfMP','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Accessibility\x20results\x20saved\x20successfully','end','GWqiu','zyIme','quitCount_','pDufD','BpBLN','gOoeU','\x20|\x20','YGNEn','CANpd','SQexQ','LglFL','testAnalyticsId','yqZqO','err','HFskq','\x22}}','lTGtH','state','urMIP','lUSgI','rfQwm','app','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','zrRTw','percy','message','EYBiX','UxHGb','gpoxC','../../helpers/testhub/utils','PJDYX','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','ferVN','__sessionFailed','ZUNqV','passed','fPeGF','soiZN','afterAll','GQjrc','../../helpers/percy/utils','mochaHooks','performScanWithRetry','autoScanning','OWRws','nCLgV','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','NDrXF','EsVFf','OSGat','CbmaB','1930770YObYbW','BROWSERSTACK_TESTHUB_JWT','eAWva','4136229YwVeMw','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','LaeCw','driverCleanup','POFnK','kXmvy','3059538slXlrx','ZcXWO','cJLUe','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','https:','UGXFU','isAccessibilityPlatform','676373OLHCPN','5669432CGTvRF','YjRYY','TKPIY','qMQSn','afterTest','RBWkM','QZEyY','LbquV','../../helpers/performance/constants','bstackA11yShouldScan','aeSuS','browserstackTestName','LcZdg','RVukW','startMonitoring','Automate\x20test\x20case\x20execution\x20has\x20started.','timeout','LmJUy','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','http:','vyMON','yJshA','FPgQd','session_','SGaeY','PERFORM_SCAN','VtzTG','browserstackSessionName','KozKk','ohbXq','sTiXE','rDPIO','HLrkN','tRbpa','isArray','udAKU','sessionNameSet__','XzusI','currentTest','3018025YBqVvi','SESSION_STATUS','XPVBo','Tibuv','SjXCh','yneIN','Failed:\x20','SYNC','hYbyB','format','dAXyL','percyCaptureMode','ENV_VAR','saveAccessibilityResultsWithRetry','info','VqnaU','FeSxE','BROWSERSTACK_TESTHUB_UUID','JmVhK',',\x22level\x22:\x20\x22','zqwQH','boIwD','zhMAx','../../helpers/performance/performance-tester','command','finally','now','4mLijaV','../../helpers/helper','beforeEach','rRuQj'];a36_0x7079=function(){return _0x9d7a6d;};return a36_0x7079();}exports[a36_0x4197fa(0x100)]={'beforeAll'(){const _0x2c5c78=a36_0x4197fa,_0x5bd000={'SGaeY':function(_0x5628fd,_0xed5467,_0x3e60b4,_0x575791){return _0x5628fd(_0xed5467,_0x3e60b4,_0x575791);},'aeSuS':'failed','vyMON':_0x2c5c78(0xdd),'soiZN':function(_0xb5c948,_0x1b627b,_0x16385c){return _0xb5c948(_0x1b627b,_0x16385c);},'XMDhF':_0x2c5c78(0xfa),'TfqrC':function(_0x85ed9b){return _0x85ed9b();},'hgfMP':function(_0x1c8200,_0x1dc8eb,_0x2afb75){return _0x1c8200(_0x1dc8eb,_0x2afb75);},'mPDuz':_0x2c5c78(0x19b),'UGXFU':'beforeAll'};PerformanceTester[_0x2c5c78(0x129)]();const _0x55b57b='browserstack internal helper hook';PerformanceTester[_0x2c5c78(0x193)](PerformanceSdkEvents[_0x2c5c78(0x19a)],()=>{const _0x493618=_0x2c5c78,_0x1daa6a={'zqwQH':function(_0x430917,_0xd4ce84,_0x2e068e,_0x3c792f){const _0x3c2045=a36_0x1c19;return _0x5bd000[_0x3c2045(0x133)](_0x430917,_0xd4ce84,_0x2e068e,_0x3c792f);},'rDPIO':_0x5bd000[_0x493618(0x125)],'YGNEn':_0x5bd000[_0x493618(0x12f)],'YjRYY':function(_0x3429bf,_0x4ccdd9,_0x35ee58){return _0x5bd000['soiZN'](_0x3429bf,_0x4ccdd9,_0x35ee58);},'aGTOJ':_0x5bd000[_0x493618(0x18c)],'qYRgZ':function(_0x1a689b){return _0x5bd000['TfqrC'](_0x1a689b);},'rJASs':function(_0x13e784,_0x25a387,_0x774371){const _0x3c3880=_0x493618;return _0x5bd000[_0x3c3880(0x1a3)](_0x13e784,_0x25a387,_0x774371);}};global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x84d9=_0x493618;let _0x513f71=![];try{await global[_0x84d9(0x180)][0x0][_0x84d9(0x132)],_0x513f71=!![],global[_0x84d9(0xf8)]?await _0x1daa6a[_0x84d9(0x156)](markSessionStatus,global['__drivers'][0x0],_0x1daa6a[_0x84d9(0x13a)],global[_0x84d9(0x174)]['join'](_0x1daa6a[_0x84d9(0xde)])):await _0x1daa6a[_0x84d9(0x11c)](markSessionStatus,global[_0x84d9(0x180)][0x0],_0x1daa6a['aGTOJ']);}catch(_0x407fa0){logger[_0x84d9(0x19c)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x407fa0);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x513f71)try{try{_0x1daa6a[_0x84d9(0x171)](shouldProcessEventForTesthub)&&(global[_0x84d9(0x180)][0x0]&&await _0x1daa6a['rJASs'](sendPlatformDetails,global[_0x84d9(0x180)][0x0],this[_0x84d9(0x141)]?this['currentTest'][_0x84d9(0xe2)]:null));}catch(_0x1bf97d){logger[_0x84d9(0x19c)](_0x84d9(0xf6)+_0x1bf97d);}await global[_0x84d9(0x180)][0x0]['initQuit']();}catch(_0x526c89){logger[_0x84d9(0x19c)](_0x84d9(0x172)+_0x526c89);}};},{'platform':_0x5bd000[_0x2c5c78(0xfc)](nestedKeyValue,global[_0x2c5c78(0x16b)],[_0x5bd000[_0x2c5c78(0x192)]]),'hookType':_0x5bd000[_0x2c5c78(0x118)]})();},'beforeEach'(_0x15df76){const _0x53fa99=a36_0x4197fa,_0x205939={'OSGat':function(_0x4ee2b1){return _0x4ee2b1();},'pDufD':function(_0x5be43d,_0x2ab6fb){return _0x5be43d>_0x2ab6fb;},'GQjrc':_0x53fa99(0x167),'vTJjR':function(_0x4ec3bf,_0x75b5e5,_0x4de5fc){return _0x4ec3bf(_0x75b5e5,_0x4de5fc);},'uTKwq':function(_0x73d673,_0x40d998){return _0x73d673===_0x40d998;},'UxHGb':_0x53fa99(0x124),'xerDJ':'bstackA11yScanOptions','YjfJm':_0x53fa99(0x119),'jyCRM':function(_0x36d544,_0x3e3380){return _0x36d544===_0x3e3380;},'oFtRA':_0x53fa99(0x12e),'LbquV':function(_0x4c4b06,_0x248c31){return _0x4c4b06===_0x248c31;},'HwHUh':_0x53fa99(0x117),'zhMAx':_0x53fa99(0x165),'nCLgV':_0x53fa99(0x12a),'hYbyB':function(_0x1def95){return _0x1def95();},'dAXyL':_0x53fa99(0x126),'kXmvy':_0x53fa99(0x19b),'HFskq':_0x53fa99(0x15f)};globals[_0x53fa99(0x197)](_0x205939[_0x53fa99(0x14c)],this[_0x53fa99(0x141)]['titlePath']()[_0x53fa99(0x178)](_0x205939[_0x53fa99(0xfe)])),PerformanceTester[_0x53fa99(0x193)](PerformanceSdkEvents[_0x53fa99(0x19a)],()=>{const _0x37c83a=_0x53fa99,_0xea9f00={'gOoeU':function(_0x4fa018,_0x31fe04){const _0x33af80=a36_0x1c19;return _0x205939[_0x33af80(0xda)](_0x4fa018,_0x31fe04);},'rTIKQ':_0x205939[_0x37c83a(0xfe)],'VtzTG':function(_0x30262e,_0x510860,_0x2ed220){const _0x4772ad=_0x37c83a;return _0x205939[_0x4772ad(0x16d)](_0x30262e,_0x510860,_0x2ed220);},'aQXrI':function(_0x275a6a,_0x341783){return _0x205939['uTKwq'](_0x275a6a,_0x341783);},'JmVhK':_0x205939[_0x37c83a(0xf2)],'cJLUe':_0x205939['xerDJ'],'fPeGF':function(_0x3b4895){const _0x25a9ca=_0x37c83a;return _0x205939[_0x25a9ca(0x108)](_0x3b4895);},'eUUjU':function(_0x301893,_0x295e8a){return _0x205939['pDufD'](_0x301893,_0x295e8a);},'alhHo':_0x205939[_0x37c83a(0x195)],'DTXVC':function(_0xee2ba8,_0x24f263){return _0x205939['jyCRM'](_0xee2ba8,_0x24f263);},'CANpd':_0x205939[_0x37c83a(0x179)],'NnrfO':function(_0x59cd20,_0x95538b){const _0x4e48d1=_0x37c83a;return _0x205939[_0x4e48d1(0x122)](_0x59cd20,_0x95538b);},'rfQwm':_0x205939[_0x37c83a(0x17e)],'FWNnF':_0x205939[_0x37c83a(0x158)],'EsVFf':_0x205939[_0x37c83a(0x104)],'aGjHj':function(_0x5c6fd8){const _0x4a5adc=_0x37c83a;return _0x205939[_0x4a5adc(0x14a)](_0x5c6fd8);}},_0xe614ea='browserstack internal helper hook';new Promise(async _0x27631b=>{const _0x50f5c6=_0x37c83a;let _0x79aafe=!![];try{_0xea9f00['gOoeU'](global[_0x50f5c6(0x180)][_0x50f5c6(0x168)],0x1)&&(await global['driverCleanup'](),global[_0x50f5c6(0x180)]['shift']()),_0xea9f00[_0x50f5c6(0xdc)](global[_0x50f5c6(0x180)][0x0][_0x50f5c6(0xd9)],0x0)&&(_0x79aafe=![],await global[_0x50f5c6(0x110)]());}catch(_0x1be52e){logger[_0x50f5c6(0x19c)](_0x50f5c6(0x172)+_0x1be52e);}try{Array['isArray'](global['__drivers'])&&global[_0x50f5c6(0x180)][0x0]&&(global[_0x50f5c6(0x180)][0x0][_0x50f5c6(0x136)]=this[_0x50f5c6(0x141)]['titlePath']()[_0x50f5c6(0x178)](_0xea9f00[_0x50f5c6(0x1a1)])),global[_0x50f5c6(0x136)]=this['currentTest'][_0x50f5c6(0x186)]()['join'](_0xea9f00[_0x50f5c6(0x1a1)]);}catch(_0x4db686){logger[_0x50f5c6(0x19c)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x4db686);}this[_0x50f5c6(0x141)][_0x50f5c6(0x17c)]=_0xea9f00[_0x50f5c6(0x135)](shouldScanTestForAccessibility,this[_0x50f5c6(0x141)][_0x50f5c6(0x186)](),!![]);let _0x22dc0c=!![];try{const _0x184f5c=JSON['parse'](process[_0x50f5c6(0x188)][_0x50f5c6(0x1a2)]||'{}');_0xea9f00['aQXrI'](_0x184f5c[_0x50f5c6(0x102)],![])&&(_0x22dc0c=![]);}catch(_0x348ce2){logger[_0x50f5c6(0x19c)](_0x50f5c6(0x18d)+_0x348ce2[_0x50f5c6(0xf0)]);}const _0x4a2f03=_0x22dc0c&&this['currentTest'][_0x50f5c6(0x17c)];globals['setGlobal'](_0xea9f00[_0x50f5c6(0x154)],_0x4a2f03),globals['setGlobal'](_0xea9f00[_0x50f5c6(0x115)],null),this[_0x50f5c6(0x141)][_0x50f5c6(0x194)]=this[_0x50f5c6(0x141)][_0x50f5c6(0x17c)];if(_0xea9f00[_0x50f5c6(0xfb)](isAccessibilityAutomationSession)&&_0x79aafe&&Array[_0x50f5c6(0x13d)](global[_0x50f5c6(0x180)])&&_0xea9f00['eUUjU'](global['__drivers']['length'],0x0)&&globals[_0x50f5c6(0x175)](_0xea9f00[_0x50f5c6(0x198)]))try{const _0x5786e0=await global['__drivers'][0x0][_0x50f5c6(0x132)];if(_0x5786e0){let _0x279c56=!![];const _0x1ad66c=await global['__drivers'][0x0][_0x50f5c6(0x18b)]();let _0xe98241;try{_0xe98241=new URL(_0x1ad66c),_0x279c56=_0xea9f00[_0x50f5c6(0x18f)](_0xe98241[_0x50f5c6(0x18e)],_0xea9f00[_0x50f5c6(0xdf)])||_0xea9f00['NnrfO'](_0xe98241[_0x50f5c6(0x18e)],_0xea9f00[_0x50f5c6(0xeb)]);}catch(_0x116318){_0x279c56=![];}_0x279c56&&(this[_0x50f5c6(0x141)]['shouldScanTestForAccessibility']&&logger['info'](_0xea9f00['FWNnF'])),this[_0x50f5c6(0x141)][_0x50f5c6(0x194)]=this[_0x50f5c6(0x141)][_0x50f5c6(0x17c)],_0x4a2f03&&logger[_0x50f5c6(0x150)](_0xea9f00[_0x50f5c6(0x107)]);}}catch(_0xcd2e1b){logger[_0x50f5c6(0x17a)](_0x50f5c6(0xed)+util[_0x50f5c6(0x14b)](_0xcd2e1b));}_0xea9f00['aGjHj'](_0x27631b);})[_0x37c83a(0x17d)](()=>{const _0x214804=_0x37c83a;_0x205939[_0x214804(0x108)](_0x15df76);});},{'platform':_0x205939['vTJjR'](nestedKeyValue,global[_0x53fa99(0x16b)],[_0x205939[_0x53fa99(0x112)]]),'hookType':_0x205939[_0x53fa99(0xe5)]})();},'afterEach'(_0x4d0821){const _0x500640=a36_0x4197fa,_0x4c77d1={'QZEyY':function(_0x4cea7c,_0x1dbb9b){return _0x4cea7c!==_0x1dbb9b;},'RVukW':'passed','LmJUy':function(_0x54990f,_0x28ad17,_0xd4b7a8){return _0x54990f(_0x28ad17,_0xd4b7a8);},'ZUNqV':function(_0x1abb8d,_0x3598b9){return _0x1abb8d+_0x3598b9;},'tRbpa':_0x500640(0x148),'yneIN':_0x500640(0x17a),'EKiks':'Passed','Tibuv':_0x500640(0x150),'LglFL':_0x500640(0x167),'oEeEH':function(_0xd2c9ca,_0x296a14){return _0xd2c9ca>_0x296a14;},'CbmaB':function(_0x2bc512,_0x5690c6){return _0x2bc512===_0x5690c6;},'TTPkk':'testcase','HLrkN':'appium:app','WHKDv':function(_0x4c73f8,_0xe48d73,_0x33eed6,_0x405a5c){return _0x4c73f8(_0xe48d73,_0x33eed6,_0x405a5c);},'PJDYX':_0x500640(0x119),'qMQSn':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','rRuQj':_0x500640(0x124),'oIMsS':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','boIwD':_0x500640(0x11f),'hAsxl':_0x500640(0x189),'SQGsV':_0x500640(0x105),'RBWkM':_0x500640(0x12d),'YxsTC':_0x500640(0x1a5),'VFRha':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','YifHB':_0x500640(0x10e),'udAKU':function(_0x57bc16){return _0x57bc16();},'SigKd':function(_0x380038){return _0x380038();},'XPVBo':_0x500640(0x19c),'HPGbS':_0x500640(0x17b),'TKPIY':function(_0xede6d,_0x55ff7f,_0x3952b0){return _0xede6d(_0x55ff7f,_0x3952b0);},'UMqtX':_0x500640(0x19b),'PVndS':_0x500640(0x161)},_0x16d4c4='browserstack internal helper hook';this[_0x500640(0x12b)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4c77d1['HPGbS']]),global['sessionName']=this[_0x500640(0x141)][_0x500640(0x186)]()[_0x500640(0x178)](_0x4c77d1[_0x500640(0xe1)]),PerformanceTester[_0x500640(0x193)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x3558b9=_0x500640,_0x2f30c0={'lagEN':function(_0x5e7538,_0x2f2c42){const _0x305b3a=a36_0x1c19;return _0x4c77d1[_0x305b3a(0x121)](_0x5e7538,_0x2f2c42);},'LaeCw':_0x4c77d1[_0x3558b9(0x128)],'urMIP':function(_0x52b749,_0x39ab92,_0x1e3aa3){const _0x1a5ac8=_0x3558b9;return _0x4c77d1[_0x1a5ac8(0x12c)](_0x52b749,_0x39ab92,_0x1e3aa3);},'ETqAx':function(_0x582d78,_0x26de28){const _0x251aa6=_0x3558b9;return _0x4c77d1[_0x251aa6(0xf9)](_0x582d78,_0x26de28);},'onIaT':_0x4c77d1[_0x3558b9(0x13c)],'XQTOf':_0x4c77d1[_0x3558b9(0x147)],'fypkF':_0x4c77d1[_0x3558b9(0x199)],'POFnK':_0x4c77d1[_0x3558b9(0x145)],'WDyqe':_0x4c77d1[_0x3558b9(0xe1)],'FeSxE':function(_0x509425,_0x313a02){const _0x5b3cf6=_0x3558b9;return _0x4c77d1[_0x5b3cf6(0x16e)](_0x509425,_0x313a02);},'SQexQ':function(_0x1fd2a1,_0x2e13e8){const _0x4c7781=_0x3558b9;return _0x4c77d1[_0x4c7781(0x109)](_0x1fd2a1,_0x2e13e8);},'sTiXE':_0x4c77d1['TTPkk'],'VHsXI':_0x4c77d1[_0x3558b9(0x13b)],'LcZdg':function(_0x49e964,_0xee39a7,_0x47b6aa,_0x1898af){return _0x4c77d1['WHKDv'](_0x49e964,_0xee39a7,_0x47b6aa,_0x1898af);},'lTGtH':_0x4c77d1[_0x3558b9(0xf5)],'FPgQd':_0x4c77d1[_0x3558b9(0x11e)],'JQFwS':_0x4c77d1[_0x3558b9(0x160)],'VqnaU':_0x4c77d1[_0x3558b9(0x181)],'zrRTw':_0x4c77d1[_0x3558b9(0x157)],'ferVN':_0x4c77d1['hAsxl'],'ZcXWO':_0x4c77d1['SQGsV'],'ohbXq':_0x4c77d1[_0x3558b9(0x120)],'BpBLN':_0x4c77d1['YxsTC'],'SjXCh':_0x4c77d1['VFRha'],'KozKk':_0x4c77d1[_0x3558b9(0x1a0)],'bHfeb':function(_0xb49ffc){return _0x4c77d1['udAKU'](_0xb49ffc);},'NDrXF':function(_0x98c675,_0x15def0,_0x41912e){const _0xbd549b=_0x3558b9;return _0x4c77d1[_0xbd549b(0x12c)](_0x98c675,_0x15def0,_0x41912e);},'lUSgI':function(_0x3e1c1f){const _0x7fa527=_0x3558b9;return _0x4c77d1[_0x7fa527(0x16f)](_0x3e1c1f);},'zyIme':_0x4c77d1[_0x3558b9(0x144)],'eAWva':function(_0x1ffef8,_0x594b1f){return _0x4c77d1['oEeEH'](_0x1ffef8,_0x594b1f);},'yqZqO':function(_0x296f9f){const _0x2c80fb=_0x3558b9;return _0x4c77d1[_0x2c80fb(0x13e)](_0x296f9f);}},_0xf0785a=async(_0x4d348d,_0x17c26d)=>{const _0x583a82=_0x3558b9;await global[_0x583a82(0x180)][0x0][_0x583a82(0x183)](_0x583a82(0x116)+_0x4d348d+_0x583a82(0x155)+_0x17c26d+_0x583a82(0xe6));};new Promise(async _0x3044fc=>{const _0x2868d4=_0x3558b9,_0x138892={};_0x138892[_0x2868d4(0xf3)]=_0x2f30c0[_0x2868d4(0x18a)];const _0x3bc063=_0x138892;try{_0x2f30c0['FeSxE'](global[_0x2868d4(0x180)][_0x2868d4(0x168)],0x1)&&(await global['driverCleanup'](),global[_0x2868d4(0x180)]['shift'](),global[_0x2868d4(0x174)]=[],global[_0x2868d4(0xf8)]=![]);try{if(global[_0x2868d4(0xef)]&&_0x2f30c0[_0x2868d4(0xe0)](global[_0x2868d4(0x14d)],_0x2f30c0[_0x2868d4(0x139)])&&global[_0x2868d4(0x180)][0x0]){const _0x2f1c60=_0x2f30c0[_0x2868d4(0x152)](global[_0x2868d4(0x182)][_0x2868d4(0x168)],0x0)?!!global['capabilities'][0x0][_0x2868d4(0xec)]||!!global[_0x2868d4(0x182)][0x0][_0x2f30c0[_0x2868d4(0x19d)]]:![],_0x70b2c={};_0x70b2c[_0x2868d4(0xec)]=_0x2f1c60,await _0x2f30c0[_0x2868d4(0x127)](percyAutoCapture,global[_0x2868d4(0x180)][0x0],_0x2f30c0[_0x2868d4(0x139)],_0x70b2c);}}catch(_0x3b8ba1){logger[_0x2868d4(0x19c)](_0x2868d4(0x191)+_0x3b8ba1);}!global[_0x2868d4(0x19e)]&&(await PerformanceTester[_0x2868d4(0x193)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x50c0a8=_0x2868d4;await global[_0x50c0a8(0x180)][0x0][_0x50c0a8(0x183)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x50c0a8(0x190)](this[_0x50c0a8(0x141)]['titlePath']()[_0x50c0a8(0x178)](_0x3bc063[_0x50c0a8(0xf3)]))+'}}');})(),global['__drivers'][0x0][_0x2868d4(0x13f)]=!![]),await PerformanceTester[_0x2868d4(0x193)](PerformanceAutEvents[_0x2868d4(0x143)],async()=>{const _0x4a396e=_0x2868d4,_0x3a9492=_0x2f30c0['lagEN'](this['currentTest'][_0x4a396e(0xe8)],_0x2f30c0[_0x4a396e(0x10f)]);_0x3a9492?(global[_0x4a396e(0xf8)]=!![],global[_0x4a396e(0x174)][_0x4a396e(0x173)](this[_0x4a396e(0x141)][_0x4a396e(0xe4)][_0x4a396e(0xf0)]),await _0x2f30c0[_0x4a396e(0xe9)](_0xf0785a,JSON[_0x4a396e(0x190)](_0x2f30c0['ETqAx'](_0x2f30c0['onIaT'],this['currentTest'][_0x4a396e(0xe4)][_0x4a396e(0xf0)])),_0x2f30c0[_0x4a396e(0x185)])):await _0x2f30c0[_0x4a396e(0xe9)](_0xf0785a,JSON[_0x4a396e(0x190)](_0x2f30c0['fypkF']),_0x2f30c0[_0x4a396e(0x111)]);})();}catch(_0xb70a0b){logger[_0x2868d4(0x19c)](_0x2868d4(0x1a4)+_0xb70a0b);}try{if(this[_0x2868d4(0x141)][_0x2868d4(0x194)]&&globals[_0x2868d4(0x175)](_0x2f30c0[_0x2868d4(0xe7)])){logger[_0x2868d4(0x150)](_0x2f30c0[_0x2868d4(0x131)]);const _0x5343bc={};_0x5343bc['thTestRunUuid']=this[_0x2868d4(0x141)]['testAnalyticsId'],_0x5343bc[_0x2868d4(0x177)]=process[_0x2868d4(0x188)][testHubConstants[_0x2868d4(0x14e)][_0x2868d4(0x153)]],_0x5343bc[_0x2868d4(0x162)]=process[_0x2868d4(0x188)][testHubConstants[_0x2868d4(0x14e)][_0x2868d4(0x10b)]];const _0x3ceb71=_0x5343bc;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x2868d4(0x190)](_0x3ceb71));if(globals[_0x2868d4(0x175)](_0x2f30c0[_0x2868d4(0x164)])){logger[_0x2868d4(0x19c)](_0x2f30c0[_0x2868d4(0x151)]);const _0x32b1ec={};_0x32b1ec[_0x2868d4(0x15a)]=_0x2f30c0[_0x2868d4(0xee)];const _0x3f01c1=await PerformanceTester[_0x2868d4(0x193)](PerformanceA11yEvents[_0x2868d4(0x134)],async()=>{const _0x39092a=_0x2868d4;return await accessibilityRetryHelper[_0x39092a(0x101)](global[_0x39092a(0x180)][0x0],global[_0x39092a(0x136)]);},_0x32b1ec)();_0x3f01c1?logger[_0x2868d4(0x19c)](_0x2f30c0[_0x2868d4(0xf7)]):logger[_0x2868d4(0x16a)](_0x2f30c0[_0x2868d4(0x114)]);}else logger[_0x2868d4(0x19c)](_0x2f30c0[_0x2868d4(0x138)]);const _0x2475b7=await PerformanceTester[_0x2868d4(0x193)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x4da2d3=_0x2868d4;return await accessibilityRetryHelper[_0x4da2d3(0x14f)](global['__drivers'][0x0],_0x3ceb71);})();_0x2475b7?logger[_0x2868d4(0x19c)](_0x2f30c0[_0x2868d4(0xdb)]):logger['warn'](_0x2f30c0[_0x2868d4(0x146)]),logger[_0x2868d4(0x150)](_0x2f30c0[_0x2868d4(0x137)]);}}catch(_0x552593){logger[_0x2868d4(0x17a)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x2868d4(0x141)][_0x2868d4(0x186)]()+'.\x20Error\x20:',_0x552593);}try{try{if(_0x2f30c0[_0x2868d4(0x169)](shouldProcessEventForTesthub)){global[_0x2868d4(0x180)][0x0]&&await _0x2f30c0[_0x2868d4(0x106)](sendPlatformDetails,global[_0x2868d4(0x180)][0x0],this['currentTest']?this[_0x2868d4(0x141)][_0x2868d4(0xe2)]:null);if(_0x2f30c0[_0x2868d4(0xea)](isBrowserstackInfra)){PerformanceTester[_0x2868d4(0x196)](PerformanceO11yEvents[_0x2868d4(0x149)]);const _0xf8f458='ObservabilitySync:'+Date[_0x2868d4(0x15c)]();await _0x2f30c0[_0x2868d4(0x106)](_0xf0785a,JSON['stringify'](_0xf8f458),_0x2f30c0[_0x2868d4(0xd8)]),PerformanceTester['end'](PerformanceO11yEvents[_0x2868d4(0x149)]);}}}catch(_0x564ffb){logger[_0x2868d4(0x19c)](_0x2868d4(0x184)+_0x564ffb),PerformanceTester[_0x2868d4(0x1a6)](PerformanceO11yEvents['SYNC'],![],_0x564ffb);}_0x2f30c0[_0x2868d4(0x10c)](global[_0x2868d4(0x180)][0x0]['quitCount_'],0x0)&&await global[_0x2868d4(0x110)]();}catch(_0x111b19){logger[_0x2868d4(0x19c)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x111b19);}_0x2f30c0[_0x2868d4(0xe3)](_0x3044fc);})['then'](()=>{const _0x6bd3c3=_0x3558b9;_0x2f30c0[_0x6bd3c3(0x169)](_0x4d0821);});},{'platform':_0x4c77d1[_0x500640(0x11d)](nestedKeyValue,global[_0x500640(0x16b)],[_0x4c77d1['UMqtX']]),'hookType':_0x4c77d1[_0x500640(0x166)]})();},'afterAll'(_0x258a73){const _0xecda53=a36_0x4197fa,_0x59d0e7={'GWqiu':function(_0x4535d5){return _0x4535d5();},'OWRws':_0xecda53(0x17b),'WfnuF':function(_0x3803be,_0x15c06f,_0x436ca1){return _0x3803be(_0x15c06f,_0x436ca1);},'EYBiX':'index','yJshA':_0xecda53(0xfd)},_0x2dc183='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x59d0e7[_0xecda53(0x103)]]),PerformanceTester[_0xecda53(0x193)](PerformanceSdkEvents[_0xecda53(0x19a)],()=>{const _0x366a16=_0xecda53,_0x3e424f={'XzusI':function(_0x33693e){const _0x5f2ef5=a36_0x1c19;return _0x59d0e7[_0x5f2ef5(0x1a7)](_0x33693e);}};new Promise(async _0x1e918f=>{const _0x29d9d8=a36_0x1c19;await global['driverCleanup'](),_0x3e424f[_0x29d9d8(0x140)](_0x1e918f);})[_0x366a16(0x17d)]()[_0x366a16(0x15b)](()=>{const _0x1b7bf9=_0x366a16;_0x3e424f[_0x1b7bf9(0x140)](_0x258a73);});},{'platform':_0x59d0e7['WfnuF'](nestedKeyValue,global[_0xecda53(0x16b)],[_0x59d0e7[_0xecda53(0xf1)]]),'hookType':_0x59d0e7[_0xecda53(0x130)]})();}};
1
+ const a36_0x19eff0=a36_0x3502;function a36_0x3502(_0xe466fa,_0x470e91){const _0x23871e=a36_0x2387();return a36_0x3502=function(_0x3502be,_0x528d40){_0x3502be=_0x3502be-0x1b8;let _0x106762=_0x23871e[_0x3502be];return _0x106762;},a36_0x3502(_0xe466fa,_0x470e91);}(function(_0x3993e1,_0x5bf07c){const _0x181dd2=a36_0x3502,_0x198d44=_0x3993e1();while(!![]){try{const _0x287310=parseInt(_0x181dd2(0x1eb))/0x1*(parseInt(_0x181dd2(0x28a))/0x2)+parseInt(_0x181dd2(0x1d1))/0x3+parseInt(_0x181dd2(0x1e6))/0x4+parseInt(_0x181dd2(0x261))/0x5+parseInt(_0x181dd2(0x25c))/0x6*(-parseInt(_0x181dd2(0x1c7))/0x7)+-parseInt(_0x181dd2(0x1f9))/0x8+parseInt(_0x181dd2(0x271))/0x9;if(_0x287310===_0x5bf07c)break;else _0x198d44['push'](_0x198d44['shift']());}catch(_0x311176){_0x198d44['push'](_0x198d44['shift']());}}}(a36_0x2387,0x2bef3));const util=require(a36_0x19eff0(0x224)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x19eff0(0x278)),accessibilityRetryHelper=require(a36_0x19eff0(0x25d)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x19eff0(0x285)),{percyAutoCapture}=require(a36_0x19eff0(0x1dc)),{sendPlatformDetails}=require(a36_0x19eff0(0x1ec)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x19eff0(0x244)),PerformanceTester=require(a36_0x19eff0(0x26f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x19eff0(0x207)),globals=require(a36_0x19eff0(0x21f)),logger=require('../../helpers/logger')[a36_0x19eff0(0x1c2)],{shouldProcessEventForTesthub}=require(a36_0x19eff0(0x1fb)),testHubConstants=require(a36_0x19eff0(0x215));function a36_0x2387(){const _0x5af0ba=['NmMsM','lqTDs','pIprH','../../helpers/testhub/constants','now','aadjJ','YQOoC','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','HRfvW','hsogM','kZxZW','nSByC','ZgZsg','../../helpers/globals','NAGek','EBcVO','beforeAll','pilXa','util','shift','rINiy','http:','DELTo','fvoBN','EfsYp','uBAEF','SDK_HOOK','aaLXE','CKLSZ','ENV_VAR','titlePath','setGlobal','uzHoW','TSXdX','PERFORM_SCAN','VznrT','cQkdv','tKUOM','uqrvi','NceBX','MiqiY','rVFrL','LVxoy','__drivers','xqZpZ','isArray','YjNBx','sQmWy','push','AShnm','../../helpers/helper','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','percyCaptureMode','quitCount_','SYNC','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','FCOXJ','mgxEp','YOgIt','then','Mocha','index','YMJbl','thTestRunUuid','pZYWl','vxkGL','Jxdyi','dTTeZ','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','performScanWithRetry','nydbP','gkVkX','hAbFX','RUWkC','784266LiTtBc','../../helpers/accessibility-automation/accessibilityRetryHelper','end','SAVE_RESULTS','BROWSERSTACK_TESTHUB_UUID','510800dVbqYM','bstackA11yScanOptions','getGlobal','yjCob','vZgId','Failed\x20to\x20store\x20session\x20name:\x20','length','GhlTv','nFCao','percy','PVEZs','XeKEl','message','fRBuf','../../helpers/performance/performance-tester','measureWrapper','766179CZjTuT','finally','join','env','rhKrh','aSQgy','command','../../helpers/accessibility-automation/helper','STANx','warn','SESSION_STATUS','zHIhq','jAcVp','https:','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','lEeWF','appium:app','Tktbm','FeqQm','NDWSV','../utils/constants','ypMsO','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','autoScanning','2aWKYQm','Vssmi','zlqzh','afterTest','mochaHooks','\x22}}','currentTest','browserstackSessionName','timeout','aFRIf','error','lpWDi','tiMmv','CKliH','TYUwn','sessionName','BwVpz','RPpZi','isAccessibilityPlatform','__error_messages__','woiti','kbQNu','pakDo','oQIEo','EtgGX','afterAll','session_','getCurrentUrl','winstonLogger','shouldScanTestForAccessibility','executeScript','browserstackTestName','start','7KRXYjw','__skipSessionName','debug','info','testAnalyticsId','thJwtToken','\x20-\x20','app','format','ObservabilitySync:','152967KTYgcp','kYoTa','OxWxr','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','mLiPS','EZoOg','jqGmB','Automate\x20test\x20case\x20execution\x20has\x20started.','GtSoU','Obfge','OIXoI','../../helpers/percy/utils','Failed:\x20','aNlsI','uNASe','TQyBW','HMEfC','.\x20Error\x20:','testcase','xeTnc','bqeGW','85772HOewvw','mvNcW','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','DQFhd','Accessibility\x20scan\x20completed\x20successfully','148727krYiat','./test-observability/mochaUtils','sgFJg','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','EOjEJ','startMonitoring','lRctX','failed','sessionNameSet__','ZgZip','__sessionFailed','bstackA11yShouldScan','quASM','IpdCJ','782272sxOnFa','passed','../../helpers/testhub/utils','CNFQX','Passed','BjENV','beforeEach','WYtXS','capabilities','apkdC','__platformCaps','CUQGQ','stringify','bxONF','../../helpers/performance/constants','BMuSH','\x20|\x20','initQuit','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','tVnRD','UqbxX','driverCleanup','err','accessibilityScanStarted'];a36_0x2387=function(){return _0x5af0ba;};return a36_0x2387();}exports[a36_0x19eff0(0x28e)]={'beforeAll'(){const _0x25a35f=a36_0x19eff0,_0x40cd63={'xUBGx':function(_0x59d509,_0x141b68,_0x2a6a54,_0x34a532){return _0x59d509(_0x141b68,_0x2a6a54,_0x34a532);},'uBAEF':_0x25a35f(0x1f2),'NThWh':_0x25a35f(0x209),'pZYWl':function(_0x3f5e92,_0x522a0b,_0x23bf61){return _0x3f5e92(_0x522a0b,_0x23bf61);},'jqGmB':_0x25a35f(0x1fa),'NAGek':function(_0x1ae201){return _0x1ae201();},'DQFhd':'index','MiqiY':_0x25a35f(0x222)};PerformanceTester[_0x25a35f(0x1f0)]();const _0x2f6a53='browserstack internal helper hook';PerformanceTester[_0x25a35f(0x270)](PerformanceSdkEvents[_0x25a35f(0x22c)],()=>{const _0x1d92ba=_0x25a35f,_0x4b02f6={'BwVpz':function(_0x5b816a,_0x247a11,_0x4c067e,_0x296e94){return _0x40cd63['xUBGx'](_0x5b816a,_0x247a11,_0x4c067e,_0x296e94);},'XeKEl':_0x40cd63[_0x1d92ba(0x22b)],'EBcVO':_0x40cd63['NThWh'],'bxONF':function(_0x508f2b,_0x2c15df,_0x221798){const _0x4ad95c=_0x1d92ba;return _0x40cd63[_0x4ad95c(0x252)](_0x508f2b,_0x2c15df,_0x221798);},'ZhuVI':_0x40cd63[_0x1d92ba(0x1d7)],'jAcVp':function(_0x3b6367){const _0x556685=_0x1d92ba;return _0x40cd63[_0x556685(0x220)](_0x3b6367);}};global[_0x1d92ba(0x1b9)]=[],global[_0x1d92ba(0x1f5)]=![],global[_0x1d92ba(0x20f)]=async()=>{const _0x4c752e=_0x1d92ba;let _0x5b5327=![];try{await global[_0x4c752e(0x23d)][0x0][_0x4c752e(0x1c0)],_0x5b5327=!![],global[_0x4c752e(0x1f5)]?await _0x4b02f6[_0x4c752e(0x29a)](markSessionStatus,global[_0x4c752e(0x23d)][0x0],_0x4b02f6[_0x4c752e(0x26c)],global[_0x4c752e(0x1b9)][_0x4c752e(0x273)](_0x4b02f6[_0x4c752e(0x221)])):await _0x4b02f6[_0x4c752e(0x206)](markSessionStatus,global['__drivers'][0x0],_0x4b02f6['ZhuVI']);}catch(_0x2998b6){logger[_0x4c752e(0x1c9)](_0x4c752e(0x1ee)+_0x2998b6);}global[_0x4c752e(0x1b9)]=[],global[_0x4c752e(0x1f5)]=![];if(_0x5b5327)try{try{_0x4b02f6[_0x4c752e(0x27d)](shouldProcessEventForTesthub)&&(global[_0x4c752e(0x23d)][0x0]&&await _0x4b02f6[_0x4c752e(0x206)](sendPlatformDetails,global[_0x4c752e(0x23d)][0x0],this[_0x4c752e(0x290)]?this['currentTest'][_0x4c752e(0x1cb)]:null));}catch(_0x26fd7c){logger[_0x4c752e(0x1c9)](_0x4c752e(0x219)+_0x26fd7c);}await global[_0x4c752e(0x23d)][0x0][_0x4c752e(0x20a)]();}catch(_0x261d77){logger[_0x4c752e(0x1c9)](_0x4c752e(0x245)+_0x261d77);}};},{'platform':_0x40cd63[_0x25a35f(0x252)](nestedKeyValue,global[_0x25a35f(0x203)],[_0x40cd63[_0x25a35f(0x1e9)]]),'hookType':_0x40cd63[_0x25a35f(0x23a)]})();},'beforeEach'(_0x474acf){const _0x3e0ed1=a36_0x19eff0,_0x17fe44={'IpdCJ':function(_0x2b6a78){return _0x2b6a78();},'fRBuf':function(_0x30077f,_0x2f3825){return _0x30077f>_0x2f3825;},'lRctX':function(_0x23432e,_0x3d8949){return _0x23432e>_0x3d8949;},'zlqzh':'\x20-\x20','mLiPS':function(_0x1bb6de,_0x59e707,_0x5f097d){return _0x1bb6de(_0x59e707,_0x5f097d);},'nydbP':function(_0x22db0e,_0xf6e621){return _0x22db0e===_0xf6e621;},'RPpZi':_0x3e0ed1(0x1f6),'YMJbl':_0x3e0ed1(0x262),'YQOoC':function(_0x1c8dc8){return _0x1c8dc8();},'Vssmi':_0x3e0ed1(0x1b8),'aFRIf':function(_0x3aa25f,_0x482717){return _0x3aa25f===_0x482717;},'CNFQX':_0x3e0ed1(0x227),'apkdC':_0x3e0ed1(0x27e),'Tktbm':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','xqZpZ':_0x3e0ed1(0x1d8),'pIprH':_0x3e0ed1(0x1c5),'lqTDs':_0x3e0ed1(0x24f),'dTTeZ':_0x3e0ed1(0x1ff)};globals[_0x3e0ed1(0x231)](_0x17fe44[_0x3e0ed1(0x214)],this[_0x3e0ed1(0x290)][_0x3e0ed1(0x230)]()[_0x3e0ed1(0x273)](_0x17fe44[_0x3e0ed1(0x28c)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3e0ed1(0x22c)],()=>{const _0x562081=_0x3e0ed1,_0x4d9017={'uzHoW':function(_0x5d232b,_0x441c28){const _0x1eea82=a36_0x3502;return _0x17fe44[_0x1eea82(0x26e)](_0x5d232b,_0x441c28);},'hsogM':function(_0x3409f6,_0xa64d3f){const _0x472a59=a36_0x3502;return _0x17fe44[_0x472a59(0x1f1)](_0x3409f6,_0xa64d3f);},'YCswL':_0x17fe44[_0x562081(0x28c)],'ZgZsg':function(_0x594d6f,_0x224751,_0x218a80){const _0xd15afc=_0x562081;return _0x17fe44[_0xd15afc(0x1d5)](_0x594d6f,_0x224751,_0x218a80);},'gkVkX':function(_0x5cb12a,_0x175bab){const _0x3be381=_0x562081;return _0x17fe44[_0x3be381(0x258)](_0x5cb12a,_0x175bab);},'STANx':_0x17fe44[_0x562081(0x29b)],'tiMmv':_0x17fe44[_0x562081(0x250)],'sQmWy':function(_0x382595){const _0x1adcaf=_0x562081;return _0x17fe44[_0x1adcaf(0x218)](_0x382595);},'bqeGW':_0x17fe44[_0x562081(0x28b)],'KyExQ':function(_0x3c9740,_0x5a4e68){const _0x2029a7=_0x562081;return _0x17fe44[_0x2029a7(0x293)](_0x3c9740,_0x5a4e68);},'fGIls':_0x17fe44[_0x562081(0x1fc)],'MYZOV':_0x17fe44[_0x562081(0x202)],'hWsCw':_0x17fe44[_0x562081(0x282)],'Obfge':_0x17fe44[_0x562081(0x23e)]},_0x1330da='browserstack internal helper hook';new Promise(async _0x27a6a2=>{const _0x599e09=_0x562081;let _0x5b1da9=!![];try{_0x4d9017[_0x599e09(0x232)](global[_0x599e09(0x23d)][_0x599e09(0x267)],0x1)&&(await global[_0x599e09(0x20f)](),global[_0x599e09(0x23d)][_0x599e09(0x225)]()),_0x4d9017[_0x599e09(0x21b)](global['__drivers'][0x0][_0x599e09(0x247)],0x0)&&(_0x5b1da9=![],await global['driverCleanup']());}catch(_0x2e995f){logger[_0x599e09(0x1c9)](_0x599e09(0x245)+_0x2e995f);}try{Array['isArray'](global['__drivers'])&&global[_0x599e09(0x23d)][0x0]&&(global[_0x599e09(0x23d)][0x0][_0x599e09(0x291)]=this['currentTest'][_0x599e09(0x230)]()['join'](_0x4d9017['YCswL'])),global[_0x599e09(0x291)]=this[_0x599e09(0x290)]['titlePath']()[_0x599e09(0x273)](_0x4d9017['YCswL']);}catch(_0x3b998e){logger[_0x599e09(0x1c9)](_0x599e09(0x266)+_0x3b998e);}this[_0x599e09(0x290)][_0x599e09(0x1c3)]=_0x4d9017[_0x599e09(0x21e)](shouldScanTestForAccessibility,this['currentTest'][_0x599e09(0x230)](),!![]);let _0x4a7933=!![];try{const _0x900188=JSON['parse'](process[_0x599e09(0x274)][_0x599e09(0x288)]||'{}');_0x4d9017[_0x599e09(0x259)](_0x900188[_0x599e09(0x289)],![])&&(_0x4a7933=![]);}catch(_0x238f8c){logger[_0x599e09(0x1c9)](_0x599e09(0x256)+_0x238f8c[_0x599e09(0x26d)]);}const _0x56d3e2=_0x4a7933&&this[_0x599e09(0x290)][_0x599e09(0x1c3)];globals[_0x599e09(0x231)](_0x4d9017[_0x599e09(0x279)],_0x56d3e2),globals[_0x599e09(0x231)](_0x4d9017[_0x599e09(0x296)],null),this[_0x599e09(0x290)][_0x599e09(0x211)]=this['currentTest'][_0x599e09(0x1c3)];if(_0x4d9017[_0x599e09(0x241)](isAccessibilityAutomationSession)&&_0x5b1da9&&Array[_0x599e09(0x23f)](global[_0x599e09(0x23d)])&&_0x4d9017[_0x599e09(0x232)](global['__drivers'][_0x599e09(0x267)],0x0)&&globals[_0x599e09(0x263)](_0x4d9017[_0x599e09(0x1e5)]))try{const _0x2424f3=await global[_0x599e09(0x23d)][0x0]['session_'];if(_0x2424f3){let _0x2a4ceb=!![];const _0x3c51c6=await global['__drivers'][0x0][_0x599e09(0x1c1)]();let _0x1a087c;try{_0x1a087c=new URL(_0x3c51c6),_0x2a4ceb=_0x4d9017['KyExQ'](_0x1a087c['protocol'],_0x4d9017['fGIls'])||_0x4d9017['KyExQ'](_0x1a087c['protocol'],_0x4d9017['MYZOV']);}catch(_0x23f6c7){_0x2a4ceb=![];}_0x2a4ceb&&(this[_0x599e09(0x290)][_0x599e09(0x1c3)]&&logger[_0x599e09(0x1ca)](_0x4d9017['hWsCw'])),this[_0x599e09(0x290)][_0x599e09(0x211)]=this[_0x599e09(0x290)]['shouldScanTestForAccessibility'],_0x56d3e2&&logger[_0x599e09(0x1ca)](_0x4d9017[_0x599e09(0x1da)]);}}catch(_0x13b6d6){logger[_0x599e09(0x294)](_0x599e09(0x27f)+util[_0x599e09(0x1cf)](_0x13b6d6));}_0x4d9017[_0x599e09(0x241)](_0x27a6a2);})[_0x562081(0x24d)](()=>{const _0x449f9f=_0x562081;_0x17fe44[_0x449f9f(0x1f8)](_0x474acf);});},{'platform':_0x17fe44['mLiPS'](nestedKeyValue,global[_0x3e0ed1(0x203)],[_0x17fe44[_0x3e0ed1(0x213)]]),'hookType':_0x17fe44[_0x3e0ed1(0x255)]})();},'afterEach'(_0x1f337b){const _0x266d25=a36_0x19eff0,_0x7c8c00={'kYoTa':_0x266d25(0x1cd),'NmMsM':function(_0xebb333,_0x36c6a7){return _0xebb333!==_0x36c6a7;},'yjCob':'passed','lEeWF':function(_0x29e512,_0x476848,_0x50afbc){return _0x29e512(_0x476848,_0x50afbc);},'TYUwn':function(_0x49d096,_0x3f7720){return _0x49d096+_0x3f7720;},'mgxEp':_0x266d25(0x1dd),'rhKrh':'error','HRfvW':_0x266d25(0x1fd),'kbQNu':_0x266d25(0x1ca),'tPJeE':function(_0x40a676,_0xcc23b){return _0x40a676>_0xcc23b;},'LVxoy':function(_0xea0fdc,_0x2c57d5){return _0xea0fdc===_0x2c57d5;},'FCOXJ':_0x266d25(0x1e3),'PVEZs':_0x266d25(0x281),'ZgZip':function(_0x1b2da3,_0xbde988,_0x2ff42e,_0x47bbc1){return _0x1b2da3(_0xbde988,_0x2ff42e,_0x47bbc1);},'hAbFX':_0x266d25(0x1b8),'woiti':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','TQyBW':'bstackA11yShouldScan','HMEfC':_0x266d25(0x249),'YOgIt':_0x266d25(0x28d),'EtgGX':_0x266d25(0x1ea),'tKUOM':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','aSQgy':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','tVnRD':'Accessibility\x20results\x20saved\x20successfully','oQIEo':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','mvNcW':_0x266d25(0x1d4),'quASM':function(_0xe3d41){return _0xe3d41();},'ODBNL':_0x266d25(0x1c9),'lpWDi':function(_0x13e766){return _0x13e766();},'pilXa':function(_0x5f50f8){return _0x5f50f8();},'cQkdv':_0x266d25(0x24e),'aNlsI':'index','kZxZW':'afterEach'},_0x4152d6='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x7c8c00[_0x266d25(0x236)]]),global[_0x266d25(0x299)]=this['currentTest']['titlePath']()['join'](_0x7c8c00[_0x266d25(0x1d2)]),PerformanceTester[_0x266d25(0x270)](PerformanceSdkEvents[_0x266d25(0x22c)],()=>{const _0x517b57=_0x266d25,_0x2a650b={'GtSoU':_0x7c8c00[_0x517b57(0x1d2)],'EZoOg':function(_0x566234,_0x8e6c8c){const _0xd3ca6a=_0x517b57;return _0x7c8c00[_0xd3ca6a(0x212)](_0x566234,_0x8e6c8c);},'Jxdyi':_0x7c8c00[_0x517b57(0x264)],'EOjEJ':function(_0xb9725,_0x57b396,_0x36c52c){const _0x5107ec=_0x517b57;return _0x7c8c00[_0x5107ec(0x280)](_0xb9725,_0x57b396,_0x36c52c);},'GhlTv':function(_0x38b3c9,_0x3af6a3){const _0x4a543f=_0x517b57;return _0x7c8c00[_0x4a543f(0x298)](_0x38b3c9,_0x3af6a3);},'VznrT':_0x7c8c00[_0x517b57(0x24b)],'UqbxX':_0x7c8c00[_0x517b57(0x275)],'FeqQm':_0x7c8c00[_0x517b57(0x21a)],'CKliH':_0x7c8c00[_0x517b57(0x1bb)],'YjNBx':function(_0xdb2d05,_0x556977){return _0x7c8c00['tPJeE'](_0xdb2d05,_0x556977);},'uqrvi':function(_0x562b66,_0x4832d1){const _0x3c41a1=_0x517b57;return _0x7c8c00[_0x3c41a1(0x23c)](_0x562b66,_0x4832d1);},'xeTnc':_0x7c8c00[_0x517b57(0x24a)],'sCfey':function(_0x100d4b,_0x10d0cb){return _0x7c8c00['tPJeE'](_0x100d4b,_0x10d0cb);},'NDWSV':_0x7c8c00[_0x517b57(0x26b)],'vZgId':function(_0x42609f,_0x2e7dc8,_0x2f4e53,_0x14e3d1){const _0xcd2934=_0x517b57;return _0x7c8c00[_0xcd2934(0x1f4)](_0x42609f,_0x2e7dc8,_0x2f4e53,_0x14e3d1);},'lkCHN':_0x7c8c00[_0x517b57(0x25a)],'NceBX':_0x7c8c00[_0x517b57(0x1ba)],'mzKKi':_0x7c8c00[_0x517b57(0x1e0)],'fvoBN':_0x7c8c00[_0x517b57(0x1e1)],'rINiy':_0x7c8c00[_0x517b57(0x24c)],'VeGRn':_0x7c8c00[_0x517b57(0x1be)],'BMuSH':_0x7c8c00[_0x517b57(0x237)],'TSXdX':_0x7c8c00[_0x517b57(0x276)],'rVFrL':_0x7c8c00[_0x517b57(0x20d)],'zHIhq':_0x7c8c00[_0x517b57(0x1bd)],'CUQGQ':_0x7c8c00[_0x517b57(0x1e7)],'uNASe':function(_0x109757){const _0x350faf=_0x517b57;return _0x7c8c00[_0x350faf(0x1f7)](_0x109757);},'aadjJ':function(_0x5ec2c5,_0x5639bb,_0xb9723c){const _0x1f869e=_0x517b57;return _0x7c8c00[_0x1f869e(0x280)](_0x5ec2c5,_0x5639bb,_0xb9723c);},'BjENV':_0x7c8c00['ODBNL'],'pakDo':function(_0x59633f){const _0x4fb433=_0x517b57;return _0x7c8c00[_0x4fb433(0x295)](_0x59633f);},'SATje':function(_0x1c8653){const _0x31d2=_0x517b57;return _0x7c8c00[_0x31d2(0x223)](_0x1c8653);}},_0x49160b=async(_0x19055a,_0x557401)=>{const _0x3add52=_0x517b57;await global[_0x3add52(0x23d)][0x0][_0x3add52(0x1c4)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x19055a+',\x22level\x22:\x20\x22'+_0x557401+_0x3add52(0x28f));};new Promise(async _0xc4a4f5=>{const _0x1337a4=_0x517b57,_0x321f64={'XpQvR':function(_0x415807,_0x4d541a){const _0x4b4b4a=a36_0x3502;return _0x2a650b[_0x4b4b4a(0x1d6)](_0x415807,_0x4d541a);},'WYtXS':_0x2a650b[_0x1337a4(0x254)],'vxkGL':function(_0x3d36f0,_0x52b78c,_0x477589){const _0x3b0f06=_0x1337a4;return _0x2a650b[_0x3b0f06(0x1ef)](_0x3d36f0,_0x52b78c,_0x477589);},'aaLXE':function(_0x5c729a,_0x3f7142){const _0x5656a9=_0x1337a4;return _0x2a650b[_0x5656a9(0x268)](_0x5c729a,_0x3f7142);},'RUWkC':_0x2a650b[_0x1337a4(0x235)],'CKLSZ':_0x2a650b[_0x1337a4(0x20e)],'nFCao':_0x2a650b[_0x1337a4(0x283)],'OIXoI':_0x2a650b[_0x1337a4(0x297)]};try{_0x2a650b[_0x1337a4(0x240)](global[_0x1337a4(0x23d)][_0x1337a4(0x267)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x1337a4(0x225)](),global[_0x1337a4(0x1b9)]=[],global[_0x1337a4(0x1f5)]=![]);try{if(global[_0x1337a4(0x26a)]&&_0x2a650b[_0x1337a4(0x238)](global[_0x1337a4(0x246)],_0x2a650b[_0x1337a4(0x1e4)])&&global[_0x1337a4(0x23d)][0x0]){const _0x1d41a2=_0x2a650b['sCfey'](global[_0x1337a4(0x201)][_0x1337a4(0x267)],0x0)?!!global[_0x1337a4(0x201)][0x0]['app']||!!global['capabilities'][0x0][_0x2a650b[_0x1337a4(0x284)]]:![],_0x316218={};_0x316218[_0x1337a4(0x1ce)]=_0x1d41a2,await _0x2a650b[_0x1337a4(0x265)](percyAutoCapture,global[_0x1337a4(0x23d)][0x0],_0x2a650b['xeTnc'],_0x316218);}}catch(_0x1c9152){logger[_0x1337a4(0x1c9)](_0x1337a4(0x287)+_0x1c9152);}!global[_0x1337a4(0x1c8)]&&(await PerformanceTester[_0x1337a4(0x270)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x1e74ff=_0x1337a4;await global[_0x1e74ff(0x23d)][0x0][_0x1e74ff(0x1c4)](_0x1e74ff(0x1e8)+JSON[_0x1e74ff(0x205)](this['currentTest'][_0x1e74ff(0x230)]()[_0x1e74ff(0x273)](_0x2a650b[_0x1e74ff(0x1d9)]))+'}}');})(),global['__drivers'][0x0][_0x1337a4(0x1f3)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x1337a4(0x27b)],async()=>{const _0x5b6541=_0x1337a4,_0x4e2259=_0x321f64['XpQvR'](this[_0x5b6541(0x290)]['state'],_0x321f64[_0x5b6541(0x200)]);_0x4e2259?(global[_0x5b6541(0x1f5)]=!![],global[_0x5b6541(0x1b9)][_0x5b6541(0x242)](this[_0x5b6541(0x290)][_0x5b6541(0x210)]['message']),await _0x321f64[_0x5b6541(0x253)](_0x49160b,JSON[_0x5b6541(0x205)](_0x321f64[_0x5b6541(0x22d)](_0x321f64[_0x5b6541(0x25b)],this[_0x5b6541(0x290)][_0x5b6541(0x210)][_0x5b6541(0x26d)])),_0x321f64[_0x5b6541(0x22e)])):await _0x321f64['vxkGL'](_0x49160b,JSON[_0x5b6541(0x205)](_0x321f64[_0x5b6541(0x269)]),_0x321f64[_0x5b6541(0x1db)]);})();}catch(_0x35808d){logger['debug'](_0x1337a4(0x20c)+_0x35808d);}try{if(this[_0x1337a4(0x290)]['accessibilityScanStarted']&&globals[_0x1337a4(0x263)](_0x2a650b['lkCHN'])){logger[_0x1337a4(0x1ca)](_0x2a650b[_0x1337a4(0x239)]);const _0x4db449={};_0x4db449[_0x1337a4(0x251)]=this[_0x1337a4(0x290)][_0x1337a4(0x1cb)],_0x4db449['thBuildUuid']=process[_0x1337a4(0x274)][testHubConstants[_0x1337a4(0x22f)][_0x1337a4(0x260)]],_0x4db449[_0x1337a4(0x1cc)]=process[_0x1337a4(0x274)][testHubConstants[_0x1337a4(0x22f)]['BROWSERSTACK_TESTHUB_JWT']];const _0xa28fda=_0x4db449;logger[_0x1337a4(0x1c9)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0xa28fda));if(globals[_0x1337a4(0x263)](_0x2a650b['mzKKi'])){logger[_0x1337a4(0x1c9)](_0x2a650b[_0x1337a4(0x229)]);const _0x389b4a={};_0x389b4a[_0x1337a4(0x277)]=_0x2a650b[_0x1337a4(0x226)];const _0x170539=await PerformanceTester[_0x1337a4(0x270)](PerformanceA11yEvents[_0x1337a4(0x234)],async()=>{const _0x28564d=_0x1337a4;return await accessibilityRetryHelper[_0x28564d(0x257)](global['__drivers'][0x0],global[_0x28564d(0x291)]);},_0x389b4a)();_0x170539?logger[_0x1337a4(0x1c9)](_0x2a650b['VeGRn']):logger[_0x1337a4(0x27a)](_0x2a650b[_0x1337a4(0x208)]);}else logger[_0x1337a4(0x1c9)](_0x2a650b[_0x1337a4(0x233)]);const _0x3c10a8=await PerformanceTester[_0x1337a4(0x270)](PerformanceA11yEvents[_0x1337a4(0x25f)],async()=>{return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0xa28fda);})();_0x3c10a8?logger[_0x1337a4(0x1c9)](_0x2a650b[_0x1337a4(0x23b)]):logger['warn'](_0x2a650b[_0x1337a4(0x27c)]),logger[_0x1337a4(0x1ca)](_0x2a650b[_0x1337a4(0x204)]);}}catch(_0x58b987){logger[_0x1337a4(0x294)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x1337a4(0x290)][_0x1337a4(0x230)]()+_0x1337a4(0x1e2),_0x58b987);}try{try{if(_0x2a650b['uNASe'](shouldProcessEventForTesthub)){global[_0x1337a4(0x23d)][0x0]&&await _0x2a650b[_0x1337a4(0x217)](sendPlatformDetails,global[_0x1337a4(0x23d)][0x0],this[_0x1337a4(0x290)]?this['currentTest'][_0x1337a4(0x1cb)]:null);if(_0x2a650b[_0x1337a4(0x1df)](isBrowserstackInfra)){PerformanceTester[_0x1337a4(0x1c6)](PerformanceO11yEvents['SYNC']);const _0x5c5d08=_0x1337a4(0x1d0)+Date[_0x1337a4(0x216)]();await _0x2a650b[_0x1337a4(0x1ef)](_0x49160b,JSON[_0x1337a4(0x205)](_0x5c5d08),_0x2a650b[_0x1337a4(0x1fe)]),PerformanceTester[_0x1337a4(0x25e)](PerformanceO11yEvents[_0x1337a4(0x248)]);}}}catch(_0x50c49d){logger['debug'](_0x1337a4(0x20b)+_0x50c49d),PerformanceTester[_0x1337a4(0x25e)](PerformanceO11yEvents[_0x1337a4(0x248)],![],_0x50c49d);}_0x2a650b['sCfey'](global[_0x1337a4(0x23d)][0x0][_0x1337a4(0x247)],0x0)&&await global[_0x1337a4(0x20f)]();}catch(_0x4a027e){logger['debug'](_0x1337a4(0x245)+_0x4a027e);}_0x2a650b[_0x1337a4(0x1bc)](_0xc4a4f5);})[_0x517b57(0x24d)](()=>{_0x2a650b['SATje'](_0x1f337b);});},{'platform':_0x7c8c00['lEeWF'](nestedKeyValue,global[_0x266d25(0x203)],[_0x7c8c00[_0x266d25(0x1de)]]),'hookType':_0x7c8c00[_0x266d25(0x21c)]})();},'afterAll'(_0x1dd4a9){const _0x311a76=a36_0x19eff0,_0x59b04d={'AShnm':function(_0x53cfb7){return _0x53cfb7();},'nSByC':function(_0xa300b1){return _0xa300b1();},'ypMsO':_0x311a76(0x24e),'sgFJg':function(_0x422d2d,_0x2fd062,_0x44d75d){return _0x422d2d(_0x2fd062,_0x44d75d);},'EfsYp':'index','DELTo':_0x311a76(0x1bf)},_0x1b5960='browserstack internal helper hook';this[_0x311a76(0x292)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x59b04d[_0x311a76(0x286)]]),PerformanceTester[_0x311a76(0x270)](PerformanceSdkEvents[_0x311a76(0x22c)],()=>{const _0x5d7c9c=_0x311a76,_0x33d49b={'OxWxr':function(_0x10215c){const _0x36b8d5=a36_0x3502;return _0x59b04d[_0x36b8d5(0x21d)](_0x10215c);}};new Promise(async _0x180beb=>{const _0x521afe=a36_0x3502;await global[_0x521afe(0x20f)](),_0x59b04d[_0x521afe(0x243)](_0x180beb);})[_0x5d7c9c(0x24d)]()[_0x5d7c9c(0x272)](()=>{const _0x1c8b19=_0x5d7c9c;_0x33d49b[_0x1c8b19(0x1d3)](_0x1dd4a9);});},{'platform':_0x59b04d[_0x311a76(0x1ed)](nestedKeyValue,global['__platformCaps'],[_0x59b04d[_0x311a76(0x22a)]]),'hookType':_0x59b04d[_0x311a76(0x228)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a37_0x15e097=a37_0x347d;(function(_0x27b7dc,_0x17f0fe){const _0x44619e=a37_0x347d,_0x2ca1b2=_0x27b7dc();while(!![]){try{const _0x304bf0=-parseInt(_0x44619e(0x1cc))/0x1+-parseInt(_0x44619e(0x20b))/0x2*(-parseInt(_0x44619e(0x1ea))/0x3)+parseInt(_0x44619e(0x1e1))/0x4+parseInt(_0x44619e(0x1dd))/0x5+parseInt(_0x44619e(0x209))/0x6+parseInt(_0x44619e(0x213))/0x7*(parseInt(_0x44619e(0x1d0))/0x8)+-parseInt(_0x44619e(0x1e6))/0x9;if(_0x304bf0===_0x17f0fe)break;else _0x2ca1b2['push'](_0x2ca1b2['shift']());}catch(_0x39683f){_0x2ca1b2['push'](_0x2ca1b2['shift']());}}}(a37_0x4dd7,0xb328f));const path=require(a37_0x15e097(0x1c5)),Module=require(a37_0x15e097(0x1c8)),{fork}=require(a37_0x15e097(0x208)),logger=require('../../helpers/logger')[a37_0x15e097(0x219)],helper=require(a37_0x15e097(0x21d)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{FRAMEWORKS}=require(a37_0x15e097(0x1f0)),{printBuildLink}=require(a37_0x15e097(0x1b9)),BrowserstackCLI=require(a37_0x15e097(0x1db)),CLIUtils=require(a37_0x15e097(0x1f5));function a37_0x4dd7(){const _0x4677a6=['false','KVrnd','error','exports','bDrqn','VgjQS','dlOHT','tbSEW','oKlUp','length','MaThU','concat','RjbQQ','OqayL','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','../../helpers/test-observability/utils','IRRmM','scriptRunner.js','EBgHQ','close','uYckA','endsWith','JuWBb','GNByJ','configPath','newman-reporter-browserstack','blHpM','path','newman','kxUll','module','TkeXM','true','launchBuild','762685MwkKuh','stop','lxIcH','setFrameworkDetail','8gECIEq','OXaoX','--reporters','setBrowserstackConfig','O11yHashedID','node','resolve','Failed\x20to\x20bootstrap\x20CLI:\x20','shutdown','kKpAX','package.json','../v2/browserstackCLI','reporter','971700mHZeNC','UgDZU','aYsks','createRequire','1236884wYoWvT','ayQek','xhfJI','Failed\x20to\x20launch\x20build:\x20','JqaTa','19477548jRLNYX','call','hnUyi','.js','172509NhcUyw','VvQOJ','VxwWu','join','BtZFO','TOhjx','../../helpers/test-observability/constants','run','ukGtP','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','YdSmv','../v2/cliUtils','nLbIL','CAFuD','EtaAY','IaQdy','bVBUF','Ctrtr','NEWMAN','BFywC','GBYna','failures','GAsxO','testObservability','_resolveFilename','BROWSERSTACK_TESTHUB_JWT','jtHJX','bootstrap','inherit','warn','child_process','5885256qVNObA','kYTYW','38SLeIjt','getInstance',',browserstack','WRFSY','parallelsPerPlatform','jdEey','cli,browserstack','PAkYM','7585914EiSHje','Newman\x20CLI\x20not\x20found:\x20','newman/bin/newman','assign','MzPRh','jzoHG','winstonLogger','exitCode','config','message','../../helpers/helper','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','CxpTx','cliConfig','env'];a37_0x4dd7=function(){return _0x4677a6;};return a37_0x4dd7();}function registerBrowserStackReporter(){const _0x4a0c72=a37_0x15e097,_0x35a66d={};_0x35a66d[_0x4a0c72(0x1ba)]=function(_0xa1ea75,_0x3b41a5){return _0xa1ea75===_0x3b41a5;},_0x35a66d[_0x4a0c72(0x1ec)]=_0x4a0c72(0x1c3),_0x35a66d[_0x4a0c72(0x212)]=_0x4a0c72(0x1dc),_0x35a66d[_0x4a0c72(0x20e)]='index.js';const _0x202536=_0x35a66d,_0x5aaef0=path[_0x4a0c72(0x1ed)](__dirname,_0x202536[_0x4a0c72(0x212)],_0x202536['WRFSY']),_0x3ad2d1=Module[_0x4a0c72(0x202)];Module['_resolveFilename']=function(_0x568b1e,_0x4a1c04,_0x138c25,_0x1bd376){const _0x4fcc6d=_0x4a0c72;if(_0x202536['IRRmM'](_0x568b1e,_0x202536[_0x4fcc6d(0x1ec)]))return _0x5aaef0;return _0x3ad2d1[_0x4fcc6d(0x1e7)](this,_0x568b1e,_0x4a1c04,_0x138c25,_0x1bd376);};}function a37_0x347d(_0x9c012b,_0x3cff30){const _0x4dd79c=a37_0x4dd7();return a37_0x347d=function(_0x347d13,_0x240f08){_0x347d13=_0x347d13-0x1ab;let _0x2b5370=_0x4dd79c[_0x347d13];return _0x2b5370;},a37_0x347d(_0x9c012b,_0x3cff30);}function injectReporterIntoArgs(_0x243097){const _0x2c6002=a37_0x15e097,_0x3c965a={};_0x3c965a[_0x2c6002(0x1be)]=function(_0x475095,_0x160666){return _0x475095<_0x160666;},_0x3c965a[_0x2c6002(0x1ae)]=function(_0x4332a6,_0x34d8fd){return _0x4332a6===_0x34d8fd;},_0x3c965a[_0x2c6002(0x1ee)]=function(_0x121e80,_0x346bcc){return _0x121e80===_0x346bcc;},_0x3c965a[_0x2c6002(0x1f6)]=_0x2c6002(0x1d2),_0x3c965a[_0x2c6002(0x1bc)]=function(_0x1a325d,_0x43fe14){return _0x1a325d+_0x43fe14;},_0x3c965a[_0x2c6002(0x1c9)]=function(_0x58ae58,_0x57ba2d){return _0x58ae58+_0x57ba2d;},_0x3c965a['KVrnd']='browserstack',_0x3c965a[_0x2c6002(0x204)]=function(_0x491988,_0x11adfd){return _0x491988+_0x11adfd;},_0x3c965a[_0x2c6002(0x20a)]=_0x2c6002(0x20d),_0x3c965a[_0x2c6002(0x1d9)]=_0x2c6002(0x211);const _0x2b919d=_0x3c965a,_0x3c6cd1=_0x243097['slice']();for(let _0x5a987a=0x0;_0x2b919d['uYckA'](_0x5a987a,_0x3c6cd1[_0x2c6002(0x1b3)]);_0x5a987a++){if(_0x2b919d['bDrqn'](_0x3c6cd1[_0x5a987a],'-r')||_0x2b919d[_0x2c6002(0x1ee)](_0x3c6cd1[_0x5a987a],_0x2b919d[_0x2c6002(0x1f6)]))return _0x3c6cd1[_0x2b919d['EBgHQ'](_0x5a987a,0x1)]&&_0x2b919d[_0x2c6002(0x1ae)](_0x3c6cd1[_0x2b919d[_0x2c6002(0x1c9)](_0x5a987a,0x1)]['indexOf'](_0x2b919d[_0x2c6002(0x1ab)]),-0x1)&&(_0x3c6cd1[_0x2b919d[_0x2c6002(0x204)](_0x5a987a,0x1)]+=_0x2b919d[_0x2c6002(0x20a)]),_0x3c6cd1;}return _0x3c6cd1['push']('-r',_0x2b919d[_0x2c6002(0x1d9)]),_0x3c6cd1;}function runNewmanCLI(_0x203fd3){const _0x108b38=a37_0x15e097,_0x541411={'UgDZU':function(_0x7ba97c,_0x23acac){return _0x7ba97c>_0x23acac;},'OqayL':function(_0x1475cf,_0xe0437b){return _0x1475cf(_0xe0437b);},'oKlUp':function(_0x1fc5d7,_0x33af88,_0x5fb2a4){return _0x1fc5d7(_0x33af88,_0x5fb2a4);},'VgjQS':_0x108b38(0x1c6),'JuWBb':_0x108b38(0x21f),'DUVCg':_0x108b38(0x1c8),'ukGtP':_0x108b38(0x1da),'RjbQQ':function(_0x50627b,_0x84e1e1){return _0x50627b(_0x84e1e1);},'hnUyi':_0x108b38(0x215),'VvQOJ':_0x108b38(0x1d5),'bVBUF':function(_0x6cf2da,_0x36a586){return _0x6cf2da+_0x36a586;},'aYsks':_0x108b38(0x214)};return new Promise(_0x47e7ea=>{const _0x1dbc27=_0x108b38,_0x2f9b3e={'QCFFV':function(_0x5b4314,_0x5a12aa){const _0x85c69a=a37_0x347d;return _0x541411[_0x85c69a(0x1de)](_0x5b4314,_0x5a12aa);},'OXaoX':function(_0x1e7a53,_0x5eb9dd){const _0x5c8bfb=a37_0x347d;return _0x541411[_0x5c8bfb(0x1b7)](_0x1e7a53,_0x5eb9dd);},'GAsxO':function(_0x2a8410,_0x21fe06,_0x198da7){const _0x37c6b0=a37_0x347d;return _0x541411[_0x37c6b0(0x1b2)](_0x2a8410,_0x21fe06,_0x198da7);}};let _0x143f5b;try{_0x143f5b=helper['requireModule'](_0x541411['VgjQS'],_0x541411[_0x1dbc27(0x1af)]);}catch(_0x6890da){return logger['error'](_0x541411[_0x1dbc27(0x1c0)]),_0x541411[_0x1dbc27(0x1b7)](_0x47e7ea,0x1);}const _0x3aceb7=_0x143f5b[_0x1dbc27(0x1f1)];_0x143f5b[_0x1dbc27(0x1f1)]=function(_0x24261b,_0x588025){const _0x1e5b6a=_0x1dbc27;return _0x143f5b[_0x1e5b6a(0x1f1)]=_0x3aceb7,_0x3aceb7['call'](_0x143f5b,_0x24261b,(_0x34cecf,_0x5b7715)=>{const _0x16e3c9=_0x1e5b6a,_0xa4bfdb=_0x5b7715&&_0x5b7715[_0x16e3c9(0x1f1)]&&(_0x5b7715[_0x16e3c9(0x1f1)][_0x16e3c9(0x1ac)]||_0x5b7715[_0x16e3c9(0x1f1)][_0x16e3c9(0x1ff)]&&_0x2f9b3e['QCFFV'](_0x5b7715[_0x16e3c9(0x1f1)]['failures']['length'],0x0));_0x2f9b3e[_0x16e3c9(0x1d1)](_0x47e7ea,_0xa4bfdb?0x1:0x0),_0x588025&&_0x2f9b3e[_0x16e3c9(0x200)](_0x588025,_0x34cecf,_0x5b7715);});};try{const _0x553bbc=_0x541411['OqayL'](require,_0x541411['DUVCg'])[_0x1dbc27(0x1e0)](path['join'](process['cwd'](),_0x541411[_0x1dbc27(0x1f2)]));_0x541411[_0x1dbc27(0x1b6)](_0x553bbc,_0x541411[_0x1dbc27(0x1e8)])([_0x541411[_0x1dbc27(0x1eb)],_0x541411[_0x1dbc27(0x1af)]][_0x1dbc27(0x1b5)](_0x203fd3));}catch(_0x275358){_0x143f5b['run']=_0x3aceb7,logger[_0x1dbc27(0x1ac)](_0x541411[_0x1dbc27(0x1fa)](_0x541411[_0x1dbc27(0x1df)],_0x275358['message'])),_0x541411[_0x1dbc27(0x1b6)](_0x47e7ea,0x1);}});}function runNewmanScript(_0x3229e0,_0x4d9aa4){const _0x39e290=a37_0x15e097,_0xe6136f={'xhfJI':function(_0x280862,_0x326f4a){return _0x280862(_0x326f4a);},'jzoHG':function(_0x394f38,_0x3b57c6){return _0x394f38||_0x3b57c6;},'Ctrtr':function(_0x5a39ec,_0x50231b,_0x35ee5b,_0x2a39c0){return _0x5a39ec(_0x50231b,_0x35ee5b,_0x2a39c0);},'BFywC':_0x39e290(0x1bb),'GNByJ':function(_0x246621,_0x521796){return _0x246621(_0x521796);},'kxUll':_0x39e290(0x206),'CAFuD':_0x39e290(0x1bd)};return new Promise(function(_0x2ca62e){const _0x3e31ab=_0x39e290,_0x40f456=_0xe6136f[_0x3e31ab(0x1fb)](fork,path['join'](__dirname,_0xe6136f[_0x3e31ab(0x1fd)]),[_0x3229e0,_0xe6136f[_0x3e31ab(0x1c1)](String,_0xe6136f[_0x3e31ab(0x218)](_0x4d9aa4,0x0))],{'stdio':_0xe6136f[_0x3e31ab(0x1c7)],'env':Object[_0x3e31ab(0x216)]({},process[_0x3e31ab(0x222)])});_0x40f456['on'](_0xe6136f[_0x3e31ab(0x1f7)],function(_0x3de930){const _0xaca7cb=_0x3e31ab;_0xe6136f[_0xaca7cb(0x1e3)](_0x2ca62e,_0xe6136f[_0xaca7cb(0x218)](_0x3de930,0x0));});});}function hasO11yBuild(){const _0x14c709=a37_0x15e097,_0x38388d={};_0x38388d[_0x14c709(0x1e5)]=function(_0xbce63e,_0x4c3b45){return _0xbce63e!==_0x4c3b45;},_0x38388d[_0x14c709(0x1f8)]='null';const _0x3eefc1=_0x38388d;return!!(BrowserstackCLI[_0x14c709(0x1d4)]||process[_0x14c709(0x222)][_0x14c709(0x203)]&&_0x3eefc1[_0x14c709(0x1e5)](process[_0x14c709(0x222)][_0x14c709(0x203)],_0x3eefc1[_0x14c709(0x1f8)]));}function runWithoutObservability(_0x227e0c,_0x5bb789){const _0x21e226=a37_0x15e097,_0x455e93={'CxpTx':function(_0x3d108c,_0x1e3a2d){return _0x3d108c(_0x1e3a2d);}};if(_0x227e0c)return _0x455e93[_0x21e226(0x220)](require,path[_0x21e226(0x1d6)](_0x227e0c)),0x0;return _0x455e93[_0x21e226(0x220)](runNewmanCLI,_0x5bb789);}module[a37_0x15e097(0x1ad)]=async function(_0x5a072c,_0x18fd4f,_0x59d452){const _0x50472f=a37_0x15e097,_0x37c2c3={'eVBvS':_0x50472f(0x1e9),'dlOHT':function(_0x526390,_0x46a1dc){return _0x526390===_0x46a1dc;},'MaThU':_0x50472f(0x223),'tbSEW':function(_0x46b8c8,_0x1d1b34,_0x2c3f1b){return _0x46b8c8(_0x1d1b34,_0x2c3f1b);},'MzPRh':function(_0x3a6364,_0x345ce3){return _0x3a6364!=_0x345ce3;},'YdSmv':_0x50472f(0x1ca),'ayQek':_0x50472f(0x1c6),'ftcui':function(_0x3b07e5,_0x3aee9d){return _0x3b07e5+_0x3aee9d;},'blHpM':_0x50472f(0x1d7),'jdEey':_0x50472f(0x1e4),'IaQdy':function(_0x473053){return _0x473053();},'TOhjx':_0x50472f(0x21e),'lxIcH':function(_0x1ce4ff,_0x20f5eb){return _0x1ce4ff(_0x20f5eb);},'GBYna':_0x50472f(0x1b8)},_0x4ae743=_0x18fd4f['slice'](0x1),_0x20d082=_0x4ae743[0x0]&&_0x4ae743[0x0][_0x50472f(0x1bf)](_0x37c2c3['eVBvS'])?_0x4ae743[0x0]:null;if(!_0x59d452['config']||_0x37c2c3[_0x50472f(0x1b0)](_0x59d452[_0x50472f(0x21b)]['testObservability'],![])||_0x37c2c3[_0x50472f(0x1b0)](_0x59d452[_0x50472f(0x21b)][_0x50472f(0x201)],_0x37c2c3[_0x50472f(0x1b4)])){process['exitCode']=await _0x37c2c3[_0x50472f(0x1b1)](runWithoutObservability,_0x20d082,_0x4ae743)||0x0;return;}process[_0x50472f(0x222)]['BROWSERSTACK_AUTOMATION']=_0x37c2c3[_0x50472f(0x1b4)],process[_0x50472f(0x222)][_0x50472f(0x1f3)]=_0x37c2c3[_0x50472f(0x1b4)],process[_0x50472f(0x222)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x37c2c3[_0x50472f(0x217)](_0x59d452[_0x50472f(0x21b)][_0x50472f(0x201)],null)?_0x59d452[_0x50472f(0x21b)][_0x50472f(0x201)]:_0x37c2c3[_0x50472f(0x1f4)],CLIUtils[_0x50472f(0x1cf)](_0x37c2c3[_0x50472f(0x1e2)],_0x37c2c3[_0x50472f(0x1e2)]),BrowserstackCLI[_0x50472f(0x20c)]()[_0x50472f(0x1d3)](_0x59d452[_0x50472f(0x21b)],_0x59d452[_0x50472f(0x1c2)],_0x59d452[_0x50472f(0x221)]);try{await BrowserstackCLI['getInstance']()[_0x50472f(0x205)]();}catch(_0x79fb0e){logger[_0x50472f(0x1ac)](_0x37c2c3['ftcui'](_0x37c2c3[_0x50472f(0x1c4)],_0x79fb0e[_0x50472f(0x21c)]||_0x79fb0e));}if(!BrowserstackCLI[_0x50472f(0x20c)]()['isRunning']())try{await TestHubHandler[_0x50472f(0x1cb)](FRAMEWORKS[_0x50472f(0x1fc)],_0x59d452);}catch(_0x43f26b){logger['error'](_0x37c2c3['ftcui'](_0x37c2c3[_0x50472f(0x210)],_0x43f26b[_0x50472f(0x21c)]||_0x43f26b));}!_0x37c2c3[_0x50472f(0x1f9)](hasO11yBuild)&&logger[_0x50472f(0x207)](_0x37c2c3[_0x50472f(0x1ef)]);_0x37c2c3[_0x50472f(0x1f9)](registerBrowserStackReporter);let _0x5cad27;_0x20d082?_0x5cad27=await _0x37c2c3[_0x50472f(0x1b1)](runNewmanScript,_0x20d082,_0x59d452[_0x50472f(0x21b)][_0x50472f(0x20f)]):_0x5cad27=await _0x37c2c3[_0x50472f(0x1ce)](runNewmanCLI,_0x37c2c3[_0x50472f(0x1ce)](injectReporterIntoArgs,_0x4ae743));try{await TestHubHandler['stop']();}catch(_0x248373){}try{await BrowserstackCLI[_0x50472f(0x20c)]()[_0x50472f(0x1cd)]();}catch(_0x6bafe){}try{await RequestQueueHandler[_0x50472f(0x20c)]()[_0x50472f(0x1d8)]();}catch(_0x5154d4){}if(_0x37c2c3[_0x50472f(0x1f9)](hasO11yBuild))try{_0x37c2c3[_0x50472f(0x1f9)](printBuildLink);}catch(_0x29713b){}else logger[_0x50472f(0x207)](_0x37c2c3[_0x50472f(0x1fe)]);process[_0x50472f(0x21a)]=_0x5cad27;};
2
+ 'use strict';const a37_0x182404=a37_0xf5f0;(function(_0x271385,_0x5ace7a){const _0x776f5=a37_0xf5f0,_0x3c299f=_0x271385();while(!![]){try{const _0x234181=parseInt(_0x776f5(0x20f))/0x1*(parseInt(_0x776f5(0x1f1))/0x2)+parseInt(_0x776f5(0x1ec))/0x3+parseInt(_0x776f5(0x22d))/0x4*(-parseInt(_0x776f5(0x244))/0x5)+-parseInt(_0x776f5(0x207))/0x6+parseInt(_0x776f5(0x23f))/0x7*(-parseInt(_0x776f5(0x23b))/0x8)+-parseInt(_0x776f5(0x1e5))/0x9+parseInt(_0x776f5(0x222))/0xa;if(_0x234181===_0x5ace7a)break;else _0x3c299f['push'](_0x3c299f['shift']());}catch(_0x28b260){_0x3c299f['push'](_0x3c299f['shift']());}}}(a37_0x4903,0xedfb0));function a37_0x4903(){const _0x568165=['null','module','parallelsPerPlatform','../../helpers/testhub/testhubHandler','join','testObservability','createRequire','oDBgx','failures','WmMFQ','iYamS','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','99368zSXMJe','../../helpers/helper','assign','.js','469QmlENB','indexOf','cXmVx','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','config','15ymILvn','JUcxK','../../helpers/test-observability/utils','scriptRunner.js','SkuVZ','env','jUgZk','getInstance','stop','newman','yqZbv','uWBoA','VpLxI','tTwrL','Uxtvg','newman/bin/newman','TXByO','Lakyw','iFpTG','gKaVw','jAxHB','exports','node','905634MhLdNp','hNnhT','resolve','inherit','newman-reporter-browserstack','BROWSERSTACK_TESTHUB_JWT','concat','26118DlqLmb','--reporters','true','Aikyl','../v2/browserstackCLI','6yvlEgn','iklbR','ZSYxb','error','cwd','BTdYt','setBrowserstackConfig','cliConfig','bhAWi','cli,browserstack','call','winstonLogger','Failed\x20to\x20bootstrap\x20CLI:\x20','dllBI','lfpux','pZSYJ','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','message','IKGWH','../../helpers/test-observability/requestQueueHandler','BJJQQ','ivlOJ','10622340eABZeb','close','index.js','MbYjk','EqGTX','haGul','BROWSERSTACK_TEST_OBSERVABILITY_YML','bootstrap','259179wlNHCN','../../helpers/logger','gxpWn','Failed\x20to\x20launch\x20build:\x20','setFrameworkDetail','xjUwV','endsWith','../v2/cliUtils','VYMAM','uAKVg','exitCode','warn','path','ehzYd','rAGch','isRunning','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','nMNrc','XeWHN','47397690rsfRot','vLdMA','BVyXo','configPath','Newman\x20CLI\x20not\x20found:\x20','package.json','_resolveFilename','run','launchBuild','browserstack','AUkge','2464028cNGFiF','ulMAa'];a37_0x4903=function(){return _0x568165;};return a37_0x4903();}function a37_0xf5f0(_0x11270c,_0x42afa3){const _0x490386=a37_0x4903();return a37_0xf5f0=function(_0xf5f056,_0x27e8c2){_0xf5f056=_0xf5f056-0x1e0;let _0x3295b8=_0x490386[_0xf5f056];return _0x3295b8;},a37_0xf5f0(_0x11270c,_0x42afa3);}const path=require(a37_0x182404(0x21b)),Module=require('module'),{fork}=require('child_process'),logger=require(a37_0x182404(0x210))[a37_0x182404(0x1fc)],helper=require(a37_0x182404(0x23c)),TestHubHandler=require(a37_0x182404(0x232)),RequestQueueHandler=require(a37_0x182404(0x204)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require(a37_0x182404(0x246)),BrowserstackCLI=require(a37_0x182404(0x1f0)),CLIUtils=require(a37_0x182404(0x216));function registerBrowserStackReporter(){const _0x3e355b=a37_0x182404,_0x2c2780={};_0x2c2780['AUkge']=function(_0x9989e4,_0x3d6b79){return _0x9989e4===_0x3d6b79;},_0x2c2780[_0x3e355b(0x239)]=_0x3e355b(0x1e9),_0x2c2780[_0x3e355b(0x241)]='reporter',_0x2c2780[_0x3e355b(0x24a)]=_0x3e355b(0x209);const _0x5293a3=_0x2c2780,_0x40025c=path[_0x3e355b(0x233)](__dirname,_0x5293a3[_0x3e355b(0x241)],_0x5293a3[_0x3e355b(0x24a)]),_0x2696c5=Module[_0x3e355b(0x228)];Module['_resolveFilename']=function(_0x19b50c,_0x3fd4e7,_0x104cf5,_0x1b5b16){const _0x4bea7c=_0x3e355b;if(_0x5293a3[_0x4bea7c(0x22c)](_0x19b50c,_0x5293a3[_0x4bea7c(0x239)]))return _0x40025c;return _0x2696c5[_0x4bea7c(0x1fb)](this,_0x19b50c,_0x3fd4e7,_0x104cf5,_0x1b5b16);};}function injectReporterIntoArgs(_0x509911){const _0x545e5f=a37_0x182404,_0x10e2d7={};_0x10e2d7[_0x545e5f(0x22e)]=function(_0x39c0cb,_0x37eb82){return _0x39c0cb<_0x37eb82;},_0x10e2d7[_0x545e5f(0x255)]=function(_0x98da87,_0x22a860){return _0x98da87===_0x22a860;},_0x10e2d7[_0x545e5f(0x217)]=_0x545e5f(0x1ed),_0x10e2d7['xjUwV']=function(_0x4755ad,_0x2c4726){return _0x4755ad+_0x2c4726;},_0x10e2d7[_0x545e5f(0x20a)]=function(_0x181afa,_0x2fd7cf){return _0x181afa===_0x2fd7cf;},_0x10e2d7[_0x545e5f(0x250)]=_0x545e5f(0x22b),_0x10e2d7[_0x545e5f(0x1e1)]=function(_0x298758,_0x1a67f7){return _0x298758+_0x1a67f7;},_0x10e2d7['nmKVa']=',browserstack',_0x10e2d7[_0x545e5f(0x238)]=_0x545e5f(0x1fa);const _0x41ce59=_0x10e2d7,_0x1305a6=_0x509911['slice']();for(let _0x518abf=0x0;_0x41ce59['ulMAa'](_0x518abf,_0x1305a6['length']);_0x518abf++){if(_0x41ce59[_0x545e5f(0x255)](_0x1305a6[_0x518abf],'-r')||_0x41ce59[_0x545e5f(0x255)](_0x1305a6[_0x518abf],_0x41ce59['VYMAM']))return _0x1305a6[_0x41ce59[_0x545e5f(0x214)](_0x518abf,0x1)]&&_0x41ce59[_0x545e5f(0x20a)](_0x1305a6[_0x41ce59[_0x545e5f(0x214)](_0x518abf,0x1)][_0x545e5f(0x240)](_0x41ce59['VpLxI']),-0x1)&&(_0x1305a6[_0x41ce59['gKaVw'](_0x518abf,0x1)]+=_0x41ce59['nmKVa']),_0x1305a6;}return _0x1305a6['push']('-r',_0x41ce59[_0x545e5f(0x238)]),_0x1305a6;}function runNewmanCLI(_0x553d66){const _0x4731b0=a37_0x182404,_0x1d9dfb={'wtCZz':function(_0x35f09c,_0x418128){return _0x35f09c>_0x418128;},'rAGch':function(_0x405efe,_0x45cb8e){return _0x405efe(_0x45cb8e);},'uWBoA':function(_0x368fd0,_0x52d7d9,_0x4a4bae){return _0x368fd0(_0x52d7d9,_0x4a4bae);},'oDBgx':_0x4731b0(0x24d),'fyaJk':_0x4731b0(0x242),'bhAWi':function(_0x2fcf26,_0x42e39c){return _0x2fcf26(_0x42e39c);},'iklbR':_0x4731b0(0x230),'JUcxK':_0x4731b0(0x227),'IeFoi':_0x4731b0(0x253),'dllBI':_0x4731b0(0x1e4),'ibPFe':function(_0x268ef8,_0x4f207e){return _0x268ef8+_0x4f207e;},'nMNrc':_0x4731b0(0x226),'haGul':function(_0x4e5df4,_0x29379a){return _0x4e5df4(_0x29379a);}};return new Promise(_0x40caea=>{const _0x2ba66=_0x4731b0,_0x338374={'BJJQQ':function(_0x3ecf02,_0x328dc1){return _0x1d9dfb['wtCZz'](_0x3ecf02,_0x328dc1);},'OAXVh':function(_0x518c43,_0x209eed){const _0x3d66aa=a37_0xf5f0;return _0x1d9dfb[_0x3d66aa(0x21d)](_0x518c43,_0x209eed);},'OQPbo':function(_0x38bb42,_0x13dd05,_0x320f58){const _0x14bc59=a37_0xf5f0;return _0x1d9dfb[_0x14bc59(0x24f)](_0x38bb42,_0x13dd05,_0x320f58);}};let _0x517861;try{_0x517861=helper['requireModule'](_0x1d9dfb[_0x2ba66(0x236)],_0x1d9dfb[_0x2ba66(0x236)]);}catch(_0x2681c6){return logger[_0x2ba66(0x1f4)](_0x1d9dfb['fyaJk']),_0x1d9dfb[_0x2ba66(0x21d)](_0x40caea,0x1);}const _0x3d2a29=_0x517861[_0x2ba66(0x229)];_0x517861['run']=function(_0x40208d,_0x11d3e3){const _0x16f4da=_0x2ba66;return _0x517861[_0x16f4da(0x229)]=_0x3d2a29,_0x3d2a29[_0x16f4da(0x1fb)](_0x517861,_0x40208d,(_0x12339c,_0x42239f)=>{const _0xa9e20=_0x16f4da,_0x577317=_0x42239f&&_0x42239f[_0xa9e20(0x229)]&&(_0x42239f[_0xa9e20(0x229)]['error']||_0x42239f[_0xa9e20(0x229)]['failures']&&_0x338374[_0xa9e20(0x205)](_0x42239f[_0xa9e20(0x229)][_0xa9e20(0x237)]['length'],0x0));_0x338374['OAXVh'](_0x40caea,_0x577317?0x1:0x0),_0x11d3e3&&_0x338374['OQPbo'](_0x11d3e3,_0x12339c,_0x42239f);});};try{const _0x18a37a=_0x1d9dfb[_0x2ba66(0x1f9)](require,_0x1d9dfb[_0x2ba66(0x1f2)])[_0x2ba66(0x235)](path['join'](process[_0x2ba66(0x1f5)](),_0x1d9dfb[_0x2ba66(0x245)]));_0x1d9dfb[_0x2ba66(0x21d)](_0x18a37a,_0x1d9dfb['IeFoi'])([_0x1d9dfb[_0x2ba66(0x1fe)],_0x1d9dfb[_0x2ba66(0x236)]][_0x2ba66(0x1eb)](_0x553d66));}catch(_0x35d0c5){_0x517861[_0x2ba66(0x229)]=_0x3d2a29,logger['error'](_0x1d9dfb['ibPFe'](_0x1d9dfb[_0x2ba66(0x220)],_0x35d0c5[_0x2ba66(0x202)])),_0x1d9dfb[_0x2ba66(0x20c)](_0x40caea,0x1);}});}function runNewmanScript(_0xb35b91,_0x310fd5){const _0x4f021c=a37_0x182404,_0x48fc2b={'ZSYxb':function(_0x247e60,_0x5ac13e){return _0x247e60(_0x5ac13e);},'uAKVg':function(_0x3b677,_0x5d8f5c){return _0x3b677||_0x5d8f5c;},'fXUdZ':function(_0xa89a0,_0x423eb2,_0x10d743,_0x346e92){return _0xa89a0(_0x423eb2,_0x10d743,_0x346e92);},'bZaXC':_0x4f021c(0x247),'BVyXo':_0x4f021c(0x1e8),'jAxHB':_0x4f021c(0x208)};return new Promise(function(_0x258080){const _0x598bfc=_0x4f021c,_0xc351ce=_0x48fc2b['fXUdZ'](fork,path[_0x598bfc(0x233)](__dirname,_0x48fc2b['bZaXC']),[_0xb35b91,_0x48fc2b[_0x598bfc(0x1f3)](String,_0x48fc2b[_0x598bfc(0x218)](_0x310fd5,0x0))],{'stdio':_0x48fc2b[_0x598bfc(0x224)],'env':Object[_0x598bfc(0x23d)]({},process[_0x598bfc(0x249)])});_0xc351ce['on'](_0x48fc2b[_0x598bfc(0x1e2)],function(_0x19d2f1){const _0xd45d80=_0x598bfc;_0x48fc2b[_0xd45d80(0x1f3)](_0x258080,_0x48fc2b[_0xd45d80(0x218)](_0x19d2f1,0x0));});});}function hasO11yBuild(){const _0x2bdf60=a37_0x182404,_0x32ea29={};_0x32ea29[_0x2bdf60(0x1f6)]=function(_0x3a581e,_0x1505da){return _0x3a581e!==_0x1505da;},_0x32ea29['ivlOJ']=_0x2bdf60(0x22f);const _0x24cf42=_0x32ea29;return!!(BrowserstackCLI['O11yHashedID']||process[_0x2bdf60(0x249)][_0x2bdf60(0x1ea)]&&_0x24cf42[_0x2bdf60(0x1f6)](process[_0x2bdf60(0x249)][_0x2bdf60(0x1ea)],_0x24cf42[_0x2bdf60(0x206)]));}function runWithoutObservability(_0x361de0,_0x3ea337){const _0x13f6b5=a37_0x182404,_0x3c1947={'XeWHN':function(_0xe009ed,_0x51c5aa){return _0xe009ed(_0x51c5aa);}};if(_0x361de0)return _0x3c1947[_0x13f6b5(0x221)](require,path[_0x13f6b5(0x1e7)](_0x361de0)),0x0;return _0x3c1947[_0x13f6b5(0x221)](runNewmanCLI,_0x3ea337);}module[a37_0x182404(0x1e3)]=async function(_0xcf2945,_0x4f9053,_0x26163e){const _0x5d5fc8=a37_0x182404,_0x37f1af={'iFpTG':_0x5d5fc8(0x23e),'ehzYd':function(_0x505a74,_0x25edc3){return _0x505a74===_0x25edc3;},'gxpWn':'false','lfpux':function(_0x65524e,_0x4b10be,_0x1ffd00){return _0x65524e(_0x4b10be,_0x1ffd00);},'AIhDs':function(_0x5eca1b,_0x32f44e){return _0x5eca1b!=_0x32f44e;},'tTwrL':_0x5d5fc8(0x1ee),'SkuVZ':_0x5d5fc8(0x24d),'yqZbv':function(_0x171050,_0x37d87a){return _0x171050+_0x37d87a;},'IKGWH':_0x5d5fc8(0x1fd),'Aikyl':_0x5d5fc8(0x212),'Uxtvg':function(_0x4a2ddd){return _0x4a2ddd();},'vLdMA':_0x5d5fc8(0x21f),'EqGTX':function(_0x208067,_0x581819){return _0x208067(_0x581819);},'pZSYJ':function(_0x4b55a3){return _0x4b55a3();},'TXByO':function(_0x6b9a74){return _0x6b9a74();},'hNnhT':_0x5d5fc8(0x23a)},_0x2a34f6=_0x4f9053['slice'](0x1),_0x3722d0=_0x2a34f6[0x0]&&_0x2a34f6[0x0][_0x5d5fc8(0x215)](_0x37f1af[_0x5d5fc8(0x1e0)])?_0x2a34f6[0x0]:null;if(!_0x26163e['config']||_0x37f1af[_0x5d5fc8(0x21c)](_0x26163e[_0x5d5fc8(0x243)][_0x5d5fc8(0x234)],![])||_0x37f1af[_0x5d5fc8(0x21c)](_0x26163e[_0x5d5fc8(0x243)][_0x5d5fc8(0x234)],_0x37f1af['gxpWn'])){process[_0x5d5fc8(0x219)]=await _0x37f1af[_0x5d5fc8(0x1ff)](runWithoutObservability,_0x3722d0,_0x2a34f6)||0x0;return;}process['env']['BROWSERSTACK_AUTOMATION']=_0x37f1af[_0x5d5fc8(0x211)],process[_0x5d5fc8(0x249)][_0x5d5fc8(0x201)]=_0x37f1af[_0x5d5fc8(0x211)],process['env'][_0x5d5fc8(0x20d)]=_0x37f1af['AIhDs'](_0x26163e[_0x5d5fc8(0x243)][_0x5d5fc8(0x234)],null)?_0x26163e['config']['testObservability']:_0x37f1af[_0x5d5fc8(0x251)],CLIUtils[_0x5d5fc8(0x213)](_0x37f1af[_0x5d5fc8(0x248)],_0x37f1af[_0x5d5fc8(0x248)]),BrowserstackCLI[_0x5d5fc8(0x24b)]()[_0x5d5fc8(0x1f7)](_0x26163e[_0x5d5fc8(0x243)],_0x26163e[_0x5d5fc8(0x225)],_0x26163e[_0x5d5fc8(0x1f8)]);try{await BrowserstackCLI['getInstance']()[_0x5d5fc8(0x20e)]();}catch(_0x8b83c1){logger[_0x5d5fc8(0x1f4)](_0x37f1af['yqZbv'](_0x37f1af[_0x5d5fc8(0x203)],_0x8b83c1[_0x5d5fc8(0x202)]||_0x8b83c1));}if(!BrowserstackCLI[_0x5d5fc8(0x24b)]()[_0x5d5fc8(0x21e)]())try{await TestHubHandler[_0x5d5fc8(0x22a)](FRAMEWORKS['NEWMAN'],_0x26163e);}catch(_0x453dc3){logger[_0x5d5fc8(0x1f4)](_0x37f1af[_0x5d5fc8(0x24e)](_0x37f1af[_0x5d5fc8(0x1ef)],_0x453dc3['message']||_0x453dc3));}!_0x37f1af[_0x5d5fc8(0x252)](hasO11yBuild)&&logger[_0x5d5fc8(0x21a)](_0x37f1af[_0x5d5fc8(0x223)]);_0x37f1af['Uxtvg'](registerBrowserStackReporter);let _0x43871f;_0x3722d0?_0x43871f=await _0x37f1af[_0x5d5fc8(0x1ff)](runNewmanScript,_0x3722d0,_0x26163e[_0x5d5fc8(0x243)][_0x5d5fc8(0x231)]):_0x43871f=await _0x37f1af[_0x5d5fc8(0x20b)](runNewmanCLI,_0x37f1af[_0x5d5fc8(0x20b)](injectReporterIntoArgs,_0x2a34f6));try{await TestHubHandler[_0x5d5fc8(0x24c)]();}catch(_0x19d890){}try{await BrowserstackCLI[_0x5d5fc8(0x24b)]()[_0x5d5fc8(0x24c)]();}catch(_0x5e5012){}try{await RequestQueueHandler[_0x5d5fc8(0x24b)]()['shutdown']();}catch(_0x4e6408){}if(_0x37f1af[_0x5d5fc8(0x200)](hasO11yBuild))try{_0x37f1af[_0x5d5fc8(0x254)](printBuildLink);}catch(_0x5acb77){}else logger[_0x5d5fc8(0x21a)](_0x37f1af[_0x5d5fc8(0x1e6)]);process[_0x5d5fc8(0x219)]=_0x43871f;};
@@ -1 +1 @@
1
- const a38_0x371124=a38_0x54c1;function a38_0x54c1(_0x202c77,_0x4585ec){const _0x23a884=a38_0x23a8();return a38_0x54c1=function(_0x54c188,_0x47a86c){_0x54c188=_0x54c188-0x69;let _0xf53faf=_0x23a884[_0x54c188];return _0xf53faf;},a38_0x54c1(_0x202c77,_0x4585ec);}(function(_0xaca95f,_0x170c47){const _0x37dd2b=a38_0x54c1,_0x171ca5=_0xaca95f();while(!![]){try{const _0x106b3c=-parseInt(_0x37dd2b(0x76))/0x1*(parseInt(_0x37dd2b(0x7b))/0x2)+-parseInt(_0x37dd2b(0x75))/0x3*(parseInt(_0x37dd2b(0x71))/0x4)+parseInt(_0x37dd2b(0x7d))/0x5*(-parseInt(_0x37dd2b(0x6d))/0x6)+parseInt(_0x37dd2b(0x70))/0x7*(parseInt(_0x37dd2b(0x69))/0x8)+parseInt(_0x37dd2b(0x6e))/0x9*(parseInt(_0x37dd2b(0x6a))/0xa)+parseInt(_0x37dd2b(0x72))/0xb+parseInt(_0x37dd2b(0x74))/0xc;if(_0x106b3c===_0x170c47)break;else _0x171ca5['push'](_0x171ca5['shift']());}catch(_0x3be35e){_0x171ca5['push'](_0x171ca5['shift']());}}}(a38_0x23a8,0x9b3fb));function isNewman(_0x275efe){const _0x51342c=a38_0x54c1,_0x2ab6f2={'EZvvr':function(_0x1811e9,_0x20558b){return _0x1811e9===_0x20558b;},'UxeZM':_0x51342c(0x78),'ECoFX':function(_0x145f36,_0x569b8c){return _0x145f36===_0x569b8c;},'ikEVk':function(_0x4b66d3,_0x5cab34){return _0x4b66d3(_0x5cab34);},'UCQYr':function(_0x1f75dc,_0x2fdd8f){return _0x1f75dc||_0x2fdd8f;}},_0x46875d=process[_0x51342c(0x6f)]['BROWSERSTACK_FRAMEWORK']||'';let _0x32b212='';_0x275efe&&_0x275efe[_0x51342c(0x73)]&&(_0x32b212=_0x275efe[_0x51342c(0x73)]);const _0xfa5b82=_0x2ab6f2['EZvvr'](_0x46875d[_0x51342c(0x6c)](),_0x2ab6f2['UxeZM']),_0x19e689=_0x2ab6f2[_0x51342c(0x77)](_0x2ab6f2[_0x51342c(0x7a)](String,_0x32b212)[_0x51342c(0x6c)](),_0x2ab6f2[_0x51342c(0x79)]);return _0x2ab6f2[_0x51342c(0x7c)](_0xfa5b82,_0x19e689);};const a38_0x54f647={};a38_0x54f647[a38_0x371124(0x6b)]=isNewman,module['exports']=a38_0x54f647;function a38_0x23a8(){const _0x12bb29=['21nZLtgW','7204MsnDwK','2222902sVBRbp','framework','13258152mzmIQO','1503TAtlXt','547401ikKidN','ECoFX','newman','UxeZM','ikEVk','2CrQace','UCQYr','81710IKQeqb','1789864frGPgk','20yadVGl','isNewman','toLowerCase','252NnMhxd','3572271Efzorg','env'];a38_0x23a8=function(){return _0x12bb29;};return a38_0x23a8();}
1
+ (function(_0xd7913c,_0x2e25e2){const _0x2b8650=a38_0x3d55,_0xed69de=_0xd7913c();while(!![]){try{const _0x2b55e9=parseInt(_0x2b8650(0x16f))/0x1+-parseInt(_0x2b8650(0x175))/0x2+parseInt(_0x2b8650(0x16e))/0x3*(-parseInt(_0x2b8650(0x177))/0x4)+parseInt(_0x2b8650(0x169))/0x5*(-parseInt(_0x2b8650(0x16c))/0x6)+-parseInt(_0x2b8650(0x171))/0x7+-parseInt(_0x2b8650(0x173))/0x8+-parseInt(_0x2b8650(0x176))/0x9*(-parseInt(_0x2b8650(0x16b))/0xa);if(_0x2b55e9===_0x2e25e2)break;else _0xed69de['push'](_0xed69de['shift']());}catch(_0xe12bbd){_0xed69de['push'](_0xed69de['shift']());}}}(a38_0x1977,0xb3d99));function isNewman(_0x3759b1){const _0x1fbf3d=a38_0x3d55,_0x57c66a={'qnIfU':function(_0x3fde5a,_0x2f329b){return _0x3fde5a===_0x2f329b;},'waVyz':_0x1fbf3d(0x178),'gSNAY':function(_0x479424,_0x369120){return _0x479424(_0x369120);},'QiBbk':function(_0x1fc880,_0x4b68fd){return _0x1fc880||_0x4b68fd;}},_0x594feb=process[_0x1fbf3d(0x16d)][_0x1fbf3d(0x172)]||'';let _0x24149f='';_0x3759b1&&_0x3759b1['framework']&&(_0x24149f=_0x3759b1['framework']);const _0x3a1bd7=_0x57c66a[_0x1fbf3d(0x170)](_0x594feb[_0x1fbf3d(0x174)](),_0x57c66a[_0x1fbf3d(0x179)]),_0x17a402=_0x57c66a[_0x1fbf3d(0x170)](_0x57c66a['gSNAY'](String,_0x24149f)['toLowerCase'](),_0x57c66a['waVyz']);return _0x57c66a[_0x1fbf3d(0x16a)](_0x3a1bd7,_0x17a402);}function a38_0x1977(){const _0x5e510a=['10peuvRL','6gKKaUs','env','27EOXFan','660782YVsSOo','qnIfU','2796787RxkjPr','BROWSERSTACK_FRAMEWORK','11494176wcLiwL','toLowerCase','1432146wKjYdI','32060799CGjtga','82204hsiWDY','newman','waVyz','3745415bhJEcd','QiBbk'];a38_0x1977=function(){return _0x5e510a;};return a38_0x1977();}function a38_0x3d55(_0x156749,_0x427394){const _0x1977d2=a38_0x1977();return a38_0x3d55=function(_0x3d5551,_0x28b1de){_0x3d5551=_0x3d5551-0x169;let _0x3bac8e=_0x1977d2[_0x3d5551];return _0x3bac8e;},a38_0x3d55(_0x156749,_0x427394);};const a38_0x384c67={};a38_0x384c67['isNewman']=isNewman,module['exports']=a38_0x384c67;
@@ -1 +1 @@
1
- 'use strict';const a39_0x12bea7=a39_0x148d;(function(_0x4ea479,_0x3a7a15){const _0x37e3da=a39_0x148d,_0x1588af=_0x4ea479();while(!![]){try{const _0x2f48ba=-parseInt(_0x37e3da(0x106))/0x1+parseInt(_0x37e3da(0x191))/0x2*(parseInt(_0x37e3da(0x11f))/0x3)+parseInt(_0x37e3da(0x1a3))/0x4*(parseInt(_0x37e3da(0x116))/0x5)+-parseInt(_0x37e3da(0x1a7))/0x6*(-parseInt(_0x37e3da(0x12a))/0x7)+-parseInt(_0x37e3da(0xe7))/0x8+-parseInt(_0x37e3da(0x193))/0x9+parseInt(_0x37e3da(0x149))/0xa;if(_0x2f48ba===_0x3a7a15)break;else _0x1588af['push'](_0x1588af['shift']());}catch(_0x261fe4){_0x1588af['push'](_0x1588af['shift']());}}}(a39_0x2071,0xa51c2));function a39_0x2071(){const _0x2a370b=['BdmNJ','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','BAoyq','JGjgI','HOawj','result','assert','argv','newman','ftmBb','cZXFJ','EqPFM','expanded','fRkZM','ojJrG','ref','POST','scopes','collectionPath','AeCTJ','BeTSA','ydQln','cursor','forEach','eiWME','AssertionError','qZZqh','lastResponseCode','relative','3530860uoAvmD','../../../helpers/test-observability/sessionHandler','timestamp','TXZyn','sMsFh','exports','message','responseTime','\x20(no\x20assertions)','response','GzLtT','OaAUB','http_response','location','console','TestRunStarted','FTNfd','iteration','headers','KpTgO','startedAt','iQSkk','duration_ms','FdkSR','failureReason','itemName','lRygr','method','ZqZFw','HOVFh','DGqNg','http','ERROR','Script\x20error\x20(','pid','CiScB','njDdJ','collection','PRE','nWYBj','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','ECrvr','failed','TRACE','../../../helpers/test-observability/utils','done','resolve','cwd','lBGcU','now','toISOString','svybp','messages','LXYIq','IYlFc','set','RJpvW','ngPvh','name','hCOpI','../../v2/state/hookState','YzKRU','httpLog','OIImp','ZadvV','path','logs','search','winstonLogger','toString','event_type','startsWith','2473742ylTIeJ','uKFzI','2128725JsVCti','run','failureType','durationMs','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','uuid','info','\x20->\x20','url','Assertion\x20','GgeYw','nLywn','N/A','HTTP','toUpperCase','nGTLJ','228BNCjdA','startTimestamp','exception','yoSCD','19626LLyYYp','CnukY','KzWgu','javascript','\x20(HTTP\x20','WKLNF','bs:addLog:','assertions','seSoB','testFrameworkVersion','logCreatedEvent','removeListener','WARN','join','length','bufferedLogs','mhOuA','vesEf','concat','LUvJQ','pxKAl','aoRxe','item','TEST_LOG','pending','ztngv','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','GPdQp','repmj','testFrameworkState','nPaXg','uEfAc','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','WwOEw','AmDki','NMnDj','XWQtC','TEST','SjiYp','platformIndex','TPTbb','collectionName','uploadEventData','failure_reason_expanded','status_code','CSvDJ','sRmzt','eyBNv','assertion','No\x20HTTP\x20response\x20received','kVrWW','request','parent','xgRDg','host','isRunning','test_run','get','bzEUm','getInstance','YQmyj','9063904BVjhDo','indexOf','level','../../v2/state/testFrameworkState','stringify','HTTP\x20','DEBUG','identifier','includes','beforeIteration','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','slice','failure_backtrace','XBlcQ','lCIKV','[Newman\x20Reporter]\x20emitTest\x20error:\x20','object','delete','INFO','../../v2/browserstackCLI','owCai','push','xlJaM','\x20—\x20response\x20status\x20in\x20failure\x20range','GyNAB','err','testFrameworkName','pmwAa','RsKxy','getTestFramework','kind','946608MsbpIc','script','bQmWW','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','uGkzu','eMWno','aCNoP','sVJTy','hostname','split','GjLZs','BjTbJ','getTime','qNrMa','pctPn','[Newman\x20Reporter]\x20emitLog\x20error:\x20','107815OZknKQ','PWzqM','GoWuI','pathname','event','lBtJE','JAVQY','vpQOH','MgAbD','3eWccqT','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','wsyhX','finishedAt','unknown','../../../helpers/logger','tVTSb','error','listen','SQCFJ','yTyhS','371llqsDE','failure'];a39_0x2071=function(){return _0x2a370b;};return a39_0x2071();}const path=require(a39_0x12bea7(0x18a)),{v4:uuidv4}=require('uuid'),SessionHandler=require(a39_0x12bea7(0x14a)),{debug}=require(a39_0x12bea7(0x175)),logger=require(a39_0x12bea7(0x124))[a39_0x12bea7(0x18d)],BrowserstackCLI=require(a39_0x12bea7(0xfa)),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a39_0x12bea7(0xea)),HookState=require(a39_0x12bea7(0x185)),LOG_LEVELS=['INFO',a39_0x12bea7(0x1b3),a39_0x12bea7(0x169),a39_0x12bea7(0xed),a39_0x12bea7(0x174)];function isCLIRunning(){const _0xaa18e0=a39_0x12bea7;try{return BrowserstackCLI['getInstance']()[_0xaa18e0(0xe1)]();}catch(_0x3ec661){return![];}}function getParentTitles(_0x155116){const _0x6337f8=a39_0x12bea7,_0x2d1868={'owCai':function(_0x26d4d0,_0x513f9a){return _0x26d4d0(_0x513f9a);},'MgAbD':function(_0x1b1bc3,_0x2e9f40){return _0x1b1bc3(_0x2e9f40);}},_0x3d2ede=[],_0x3205c9=_0x155116['parent']();return _0x3205c9&&_0x3d2ede[_0x6337f8(0xfc)]['apply'](_0x3d2ede,_0x2d1868[_0x6337f8(0xfb)](getParentTitles,_0x3205c9)),_0x155116['name']&&_0x3d2ede['push'](_0x2d1868[_0x6337f8(0x11e)](String,_0x155116['name'])),_0x3d2ede;}function normalizeLogLevel(_0x557d53){const _0x24ea69=a39_0x12bea7,_0xa8d1e9={};_0xa8d1e9[_0x24ea69(0x1a6)]='INFO',_0xa8d1e9['GgeYw']=function(_0x2cb75d,_0x3e045f){return _0x2cb75d!==_0x3e045f;};const _0x45e250=_0xa8d1e9;if(!_0x557d53)return _0x45e250[_0x24ea69(0x1a6)];const _0x4980fd=_0x557d53[_0x24ea69(0x1a1)]();return _0x45e250[_0x24ea69(0x19d)](LOG_LEVELS[_0x24ea69(0xe8)](_0x4980fd),-0x1)?_0x4980fd:_0x45e250[_0x24ea69(0x1a6)];}function resolveCollectionFile(_0x524f9c,_0x4522c4){const _0x61521c=a39_0x12bea7,_0x40da71={};_0x40da71[_0x61521c(0x17f)]=function(_0x3b047d,_0x5c1d7a){return _0x3b047d===_0x5c1d7a;},_0x40da71[_0x61521c(0x1c3)]='string',_0x40da71[_0x61521c(0xff)]=_0x61521c(0x194),_0x40da71['NMnDj']=function(_0x220baf,_0x3e05fe){return _0x220baf!==_0x3e05fe;},_0x40da71[_0x61521c(0x1af)]=function(_0x1ce558,_0x41d182){return _0x1ce558<_0x41d182;},_0x40da71[_0x61521c(0x13a)]=function(_0x61bb14,_0x5628a7){return _0x61bb14+_0x5628a7;},_0x40da71[_0x61521c(0x137)]=function(_0x2e32a3,_0x2f09be){return _0x2e32a3+_0x2f09be;},_0x40da71['FdkSR']=_0x61521c(0x12d),_0x40da71[_0x61521c(0x15c)]='collection.json';const _0x3e8d50=_0x40da71;try{if(_0x4522c4&&_0x4522c4['collectionPath'])return path[_0x61521c(0x148)](process[_0x61521c(0x178)](),path[_0x61521c(0x177)](_0x4522c4[_0x61521c(0x13e)]));const _0x3163c1=_0x524f9c[_0x61521c(0x16e)];if(_0x3e8d50['IYlFc'](typeof _0x3163c1,_0x3e8d50[_0x61521c(0x1c3)]))return path[_0x61521c(0x148)](process[_0x61521c(0x178)](),path[_0x61521c(0x177)](_0x3163c1));const _0x423997=process[_0x61521c(0x133)]['indexOf'](_0x3e8d50['GyNAB']);if(_0x3e8d50[_0x61521c(0x1ca)](_0x423997,-0x1)&&_0x3e8d50[_0x61521c(0x1af)](_0x3e8d50[_0x61521c(0x13a)](_0x423997,0x1),process[_0x61521c(0x133)][_0x61521c(0x1b5)])){const _0x3be84e=process[_0x61521c(0x133)][_0x3e8d50[_0x61521c(0x137)](_0x423997,0x1)];if(_0x3be84e&&!_0x3be84e[_0x61521c(0x190)]('-'))return path[_0x61521c(0x148)](process[_0x61521c(0x178)](),path[_0x61521c(0x177)](_0x3be84e));}}catch(_0x11b48e){}return logger[_0x61521c(0x199)](_0x3e8d50[_0x61521c(0x160)]),_0x3e8d50[_0x61521c(0x15c)];}function resolveCollectionName(_0x531c27){const _0x46d0d0=a39_0x12bea7,_0x3da913={};_0x3da913['sVJTy']=function(_0x44535e,_0x97299){return _0x44535e===_0x97299;},_0x3da913[_0x46d0d0(0x1b7)]=_0x46d0d0(0xf7);const _0x354620=_0x3da913;try{const _0x1b48ab=_0x531c27[_0x46d0d0(0x16e)];if(_0x1b48ab&&_0x354620[_0x46d0d0(0x10d)](typeof _0x1b48ab,_0x354620[_0x46d0d0(0x1b7)]))return _0x1b48ab[_0x46d0d0(0x183)]||_0x1b48ab[_0x46d0d0(0x199)]&&_0x1b48ab[_0x46d0d0(0x199)]['name']||null;}catch(_0x282b07){}return null;}function emitTest(_0xc4c2d5,_0x4be5e5,_0x3f2947,_0x1584b9,_0x4be8fe){const _0x392a28=a39_0x12bea7,_0x251c13={'uZgbw':function(_0x408abf){return _0x408abf();},'sRmzt':_0x392a28(0x1bf),'wsyhX':function(_0x3d23db,_0x331f22){return _0x3d23db(_0x331f22);},'ztngv':_0x392a28(0x134),'RJpvW':_0x392a28(0x1aa),'fgXQv':function(_0x5e07d4,_0x4e45d9){return _0x5e07d4!=_0x4e45d9;},'pctPn':function(_0x5d24b2,_0x16d54e){return _0x5d24b2===_0x16d54e;},'uEfAc':_0x392a28(0x158),'tVTSb':'TestRunFinished'};if(_0x251c13['uZgbw'](isCLIRunning))try{const _0xa5dba7=BrowserstackCLI[_0x392a28(0xe5)]()[_0x392a28(0x104)]();if(!_0xa5dba7)return;_0xa5dba7['trackEvent'](TestFrameworkState[_0x392a28(0x1cc)],_0xc4c2d5,{'test':{'uuid':_0x4be5e5[_0x392a28(0x198)],'name':_0x4be5e5[_0x392a28(0x183)],'scopes':_0x3f2947['scopes'],'scope':_0x3f2947['scopes']['join']('\x20'),'file_path':_0x1584b9,'location':_0x3f2947[_0x392a28(0x1d0)],'started_at':_0x3f2947[_0x392a28(0x15d)],'finished_at':_0x4be8fe['finishedAt']||null,'result':_0x4be8fe['result']||_0x251c13[_0x392a28(0x1d5)],'failure':_0x4be8fe[_0x392a28(0x12b)]||[],'failure_type':_0x4be8fe[_0x392a28(0x195)]||null,'failure_reason':_0x4be8fe[_0x392a28(0x161)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x418fd0){_0x251c13[_0x392a28(0x121)](debug,_0x392a28(0xf6)+_0x418fd0);}else{const _0xd9ecaf={'uuid':_0x4be5e5[_0x392a28(0x198)],'name':_0x4be5e5['name'],'framework':_0x251c13[_0x392a28(0x1c0)],'body':{'lang':_0x251c13[_0x392a28(0x181)],'code':null},'scope':_0x3f2947[_0x392a28(0x13d)][_0x392a28(0x1b4)]('\x20'),'scopes':_0x3f2947['scopes'],'identifier':_0x4be5e5[_0x392a28(0xee)],'file_name':_0x3f2947[_0x392a28(0x1d0)],'vc_filepath':_0x3f2947[_0x392a28(0x156)],'location':_0x3f2947[_0x392a28(0x156)],'started_at':_0x3f2947[_0x392a28(0x15d)],'finished_at':_0x4be8fe[_0x392a28(0x122)]||null,'duration_in_ms':_0x251c13['fgXQv'](_0x4be8fe[_0x392a28(0x196)],null)?Math['max'](0x0,_0x4be8fe[_0x392a28(0x196)]):null,'result':_0x4be8fe[_0x392a28(0x131)]||_0x251c13[_0x392a28(0x1d5)],'failure_reason':_0x4be8fe['failureReason']||null,'failure_type':_0x4be8fe['failureType']||null,'failure':_0x4be8fe[_0x392a28(0x12b)]||[],'retry_of':null,'hooks':[]};_0xd9ecaf[_0x392a28(0x12b)][0x0]&&(_0xd9ecaf[_0x392a28(0xf3)]=_0xd9ecaf[_0x392a28(0x12b)][0x0]['backtrace'],_0xd9ecaf[_0x392a28(0x1d2)]=_0xd9ecaf[_0x392a28(0x12b)][0x0][_0x392a28(0x138)]);const _0x375b07=_0x251c13[_0x392a28(0x114)](_0xc4c2d5,HookState[_0x392a28(0x16f)])?_0x251c13[_0x392a28(0x1c6)]:_0x251c13[_0x392a28(0x125)],_0x39c9e9={};_0x39c9e9[_0x392a28(0x18f)]=_0x375b07,_0x39c9e9[_0x392a28(0xe2)]=_0xd9ecaf,SessionHandler[_0x392a28(0x1d1)](_0x39c9e9);}}function emitLog(_0x16ac07,_0x4cf87c){const _0x518d57=a39_0x12bea7,_0x4ba8c9={'GjLZs':_0x518d57(0x1be),'YQmyj':function(_0xd05e13){return _0xd05e13();},'CSvDJ':function(_0x3227cb,_0x37c127){return _0x3227cb===_0x37c127;},'BAoyq':'HTTP','XWQtC':'newman','ydQln':_0x518d57(0x1cc),'ngPvh':'INFO','vesEf':function(_0x3bf93e,_0x42c375){return _0x3bf93e(_0x42c375);},'lRygr':function(_0x127a96,_0x10f1d2){return _0x127a96+_0x10f1d2;},'pxKAl':_0x518d57(0x115),'cZXFJ':'LogCreated'},_0xb111c=_0x4cf87c[_0x518d57(0x105)]||_0x4ba8c9[_0x518d57(0x110)],_0x4216d0=_0x4cf87c[_0x518d57(0x14b)]||new Date()[_0x518d57(0x17b)]();if(_0x4ba8c9[_0x518d57(0xe6)](isCLIRunning))try{const _0x38ff38=_0x4ba8c9[_0x518d57(0x1d4)](_0xb111c,_0x4ba8c9[_0x518d57(0x12e)])?JSON[_0x518d57(0xeb)](_0x4cf87c):_0x4cf87c['message']||'',_0x4a8914={};_0x4a8914[_0x518d57(0x1ce)]=0x0,_0x4a8914[_0x518d57(0x101)]=_0x4ba8c9[_0x518d57(0x1cb)],_0x4a8914[_0x518d57(0x1b0)]='',_0x4a8914[_0x518d57(0x1c4)]=_0x4ba8c9[_0x518d57(0x141)],_0x4a8914[_0x518d57(0x18b)]=[{'uuid':_0x16ac07,'timestamp':_0x4216d0,'kind':_0xb111c,'level':_0x4cf87c[_0x518d57(0xe9)]||_0x4ba8c9[_0x518d57(0x182)],'message':_0x38ff38}],GrpcClient[_0x518d57(0xe5)]()[_0x518d57(0x1b1)](_0x4a8914);}catch(_0x579c53){_0x4ba8c9[_0x518d57(0x1b8)](debug,_0x4ba8c9[_0x518d57(0x163)](_0x4ba8c9[_0x518d57(0x1bb)],_0x579c53));}else{const _0x30d120={};_0x30d120['test_run_uuid']=_0x16ac07,_0x30d120[_0x518d57(0x14b)]=_0x4216d0,_0x30d120[_0x518d57(0xe9)]=_0x4cf87c[_0x518d57(0xe9)]||null,_0x30d120[_0x518d57(0x14f)]=_0x4cf87c[_0x518d57(0x14f)]||null,_0x30d120[_0x518d57(0x105)]=_0xb111c,_0x30d120['http_response']=_0x4cf87c[_0x518d57(0x155)]||{};const _0x3a0f30={};_0x3a0f30[_0x518d57(0x18f)]=_0x4ba8c9[_0x518d57(0x136)],_0x3a0f30[_0x518d57(0x18b)]=[_0x30d120],SessionHandler[_0x518d57(0x1d1)](_0x3a0f30);}}function a39_0x148d(_0x3f7b0c,_0x3eb1f9){const _0x2071d0=a39_0x2071();return a39_0x148d=function(_0x148d98,_0x147f2c){_0x148d98=_0x148d98-0xdf;let _0x6df42b=_0x2071d0[_0x148d98];return _0x6df42b;},a39_0x148d(_0x3f7b0c,_0x3eb1f9);}function BrowserStackNewmanReporter(_0x3b83cf,_0x1d488e,_0x406d05){const _0xa92da4=a39_0x12bea7,_0x11f427={'FTNfd':function(_0x2e5b6f,_0xb854c4,_0x5adb7b){return _0x2e5b6f(_0xb854c4,_0x5adb7b);},'XBlcQ':function(_0xc95c06,_0x4e2945){return _0xc95c06(_0x4e2945);},'iQSkk':function(_0x244c95,_0x566656){return _0x244c95(_0x566656);},'fRkZM':function(_0x133b77,_0x454f21){return _0x133b77>_0x454f21;},'lCIKV':_0xa92da4(0x168),'OLIbs':function(_0x3d20a4,_0x1ec52b){return _0x3d20a4+_0x1ec52b;},'BjTbJ':'GET','WKLNF':function(_0x1da90d,_0x4734c5){return _0x1da90d(_0x4734c5);},'uGkzu':'TEST_LOG','nWYBj':function(_0x57a71b,_0x3094c7){return _0x57a71b+_0x3094c7;},'ZadvV':function(_0x2866e4){return _0x2866e4();},'nGTLJ':function(_0x41b09f,_0x206359){return _0x41b09f||_0x206359;},'CnukY':function(_0x33e07a,_0x19d609,_0x41da9d,_0x354e5c,_0x25c9b6,_0x3076b7){return _0x33e07a(_0x19d609,_0x41da9d,_0x354e5c,_0x25c9b6,_0x3076b7);},'vpQOH':function(_0x52085c,_0x5944db){return _0x52085c===_0x5944db;},'aCNoP':_0xa92da4(0x1a0),'WwOEw':function(_0x293592,_0x25c67a){return _0x293592+_0x25c67a;},'nPaXg':function(_0x58f49b,_0x2ef903){return _0x58f49b+_0x2ef903;},'YzKRU':function(_0x1ec3e7,_0x1e2ed4){return _0x1ec3e7+_0x1e2ed4;},'RsKxy':function(_0x1a45e6,_0x1c80f3){return _0x1a45e6+_0x1c80f3;},'xlJaM':_0xa92da4(0x19a),'eiWME':'ms)','lBGcU':_0xa92da4(0xf9),'HOawj':function(_0x4cd682,_0x40394d){return _0x4cd682>_0x40394d;},'yTyhS':function(_0x26bb6d,_0x225736){return _0x26bb6d-_0x225736;},'LUvJQ':function(_0x4e1da5,_0x55976a,_0x40d3f4){return _0x4e1da5(_0x55976a,_0x40d3f4);},'hCOpI':function(_0x35c1a8,_0x3fcab4){return _0x35c1a8(_0x3fcab4);},'LXYIq':function(_0x1d1335,_0x1d3c44){return _0x1d1335(_0x1d3c44);},'bzEUm':function(_0x5b818a,_0x400ed3){return _0x5b818a&&_0x400ed3;},'BdmNJ':function(_0x3c4583,_0x1aacd8){return _0x3c4583>_0x1aacd8;},'fqDbJ':function(_0xe87d8a,_0x59931c){return _0xe87d8a-_0x59931c;},'AmDki':function(_0x57dc6e,_0x324aff,_0x4bb30){return _0x57dc6e(_0x324aff,_0x4bb30);},'xgRDg':function(_0x44da0a,_0x3c067e){return _0x44da0a+_0x3c067e;},'TXZyn':'Exception:\x20','svybp':'ERROR','aoRxe':function(_0x5de73b,_0x2c5bd3){return _0x5de73b+_0x2c5bd3;},'GPdQp':_0xa92da4(0x1c7),'JGjgI':function(_0xdb4b3a,_0x3e6f55){return _0xdb4b3a>_0x3e6f55;},'bQmWW':function(_0x12a711,_0x175ee6){return _0x12a711-_0x175ee6;},'GoWuI':_0xa92da4(0x123),'BeTSA':function(_0x1f6989,_0x25f085){return _0x1f6989+_0x25f085;},'MJfTo':_0xa92da4(0x16a),'TjDII':'):\x20','PWzqM':function(_0x28e987,_0x116f31){return _0x28e987+_0x116f31;},'SQCFJ':_0xa92da4(0xf1),'qZZqh':_0xa92da4(0x173),'DGqNg':'passed','rpLEl':function(_0x89289a,_0x5675fa){return _0x89289a===_0x5675fa;},'bAOMo':_0xa92da4(0x145),'qNrMa':_0xa92da4(0x132),'AeCTJ':'UnhandledError','uKFzI':function(_0x35f366,_0x89929d,_0x8bcd30,_0x4c9046,_0xe6ce59,_0x581ee4){return _0x35f366(_0x89929d,_0x8bcd30,_0x4c9046,_0xe6ce59,_0x581ee4);},'JAVQY':function(_0xbfe79,_0x46187e){return _0xbfe79!=_0x46187e;},'OIImp':function(_0x1de786,_0x3b20d0){return _0x1de786>=_0x3b20d0;},'sMsFh':function(_0x5a0a7c,_0x202981){return _0x5a0a7c<_0x202981;},'ZqZFw':_0xa92da4(0x19f),'eyBNv':_0xa92da4(0x1d8),'nAZTT':function(_0x76f2aa,_0x26f86b,_0x42105a){return _0x76f2aa(_0x26f86b,_0x42105a);},'TPTbb':function(_0x4d8748,_0x225bf9){return _0x4d8748+_0x225bf9;},'ECrvr':function(_0x112078,_0x36208e){return _0x112078+_0x36208e;},'njDdJ':function(_0x1aacf0,_0x52adb5){return _0x1aacf0+_0x52adb5;},'SjiYp':function(_0x188890,_0x2d52c7){return _0x188890+_0x2d52c7;},'eMWno':function(_0x198a6d,_0x345fe1){return _0x198a6d+_0x345fe1;},'jdjMh':function(_0x29d70a,_0x1582f3){return _0x29d70a+_0x1582f3;},'vBfUA':function(_0x2f847e,_0x1d1909,_0x426157){return _0x2f847e(_0x1d1909,_0x426157);},'KZGzF':function(_0x49544a,_0x5e468b,_0x388779){return _0x49544a(_0x5e468b,_0x388779);},'pmwAa':'HTTP\x20Status:\x20','fMkBI':_0xa92da4(0x151),'WxbDV':function(_0x2299ee,_0x429390,_0x29f2f2){return _0x2299ee(_0x429390,_0x29f2f2);},'GzLtT':function(_0x3736ca,_0x4f58aa){return _0x3736ca(_0x4f58aa);},'lBtJE':_0xa92da4(0x176),'HOVFh':_0xa92da4(0xf0),'OaAUB':'beforeItem','CiScB':_0xa92da4(0x1da),'KzWgu':_0xa92da4(0x1d7),'ftmBb':_0xa92da4(0x157),'trvrx':_0xa92da4(0x1a5),'zxLsO':_0xa92da4(0x107),'kVrWW':'item'},_0xf9f082=new Map();let _0x46da0d=null,_0x1d0fd0=0x0;const _0x7cf0c4=_0x11f427['WxbDV'](resolveCollectionFile,_0x406d05,_0x1d488e),_0x423d75=_0x11f427[_0xa92da4(0x153)](resolveCollectionName,_0x406d05)||_0x7cf0c4,_0x53b23b=path[_0xa92da4(0x177)](_0x7cf0c4),_0x4b4900=_0xa92da4(0x1ad)+process[_0xa92da4(0x16b)],_0x426600=_0x1a3206=>{const _0x3f323c=_0xa92da4;try{_0x46da0d&&_0x11f427[_0x3f323c(0x159)](emitLog,_0x46da0d,_0x1a3206);}catch(_0x3b60cd){_0x11f427[_0x3f323c(0xf4)](debug,_0x3f323c(0x171)+_0x3b60cd);}};process['on'](_0x4b4900,_0x426600),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x11b)],()=>{const _0x3416c7=_0xa92da4;process[_0x3416c7(0x1b2)](_0x4b4900,_0x426600),_0xf9f082['clear']();}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x166)],(_0x4489f7,_0x351998)=>{const _0x4632ed=_0xa92da4;_0x351998&&_0x351998['cursor']&&(_0x1d0fd0=_0x351998[_0x4632ed(0x142)][_0x4632ed(0x15a)]||0x0);}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x154)],(_0x1a4685,_0x233acd)=>{const _0xf3d23c=_0xa92da4;try{_0x46da0d=null;const _0x230fa8=_0x233acd[_0xf3d23c(0x1bd)],_0x2069c2=_0x230fa8[_0xf3d23c(0x1db)]()?_0x11f427[_0xf3d23c(0x15e)](getParentTitles,_0x230fa8[_0xf3d23c(0x1db)]()):[],_0x1de0fc=_0x11f427[_0xf3d23c(0x139)](_0x2069c2[_0xf3d23c(0x1b5)],0x1)?_0x2069c2[_0xf3d23c(0xf2)](0x1):_0x2069c2,_0x4e32ad=_0x233acd['cursor']&&_0x233acd[_0xf3d23c(0x142)][_0xf3d23c(0x13b)],_0x2a005e={'itemName':_0x230fa8[_0xf3d23c(0x183)],'scopes':_0x1de0fc[_0xf3d23c(0x1b9)]([_0x230fa8[_0xf3d23c(0x183)]]),'location':_0x7cf0c4,'collectionName':_0x423d75,'startedAt':new Date()[_0xf3d23c(0x17b)](),'startTimestamp':Date[_0xf3d23c(0x17a)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0xf9f082[_0xf3d23c(0x180)](_0x230fa8['id']+'_'+_0x1d0fd0,_0x2a005e),_0x4e32ad&&_0xf9f082[_0xf3d23c(0x180)](_0x4e32ad+'_'+_0x1d0fd0,_0x2a005e);}catch(_0x2cb68e){_0x11f427[_0xf3d23c(0xf4)](debug,_0xf3d23c(0x120)+_0x2cb68e);}}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x16c)],(_0x36e92b,_0x2722be)=>{const _0x4e1dc6=_0xa92da4;try{if(!_0x2722be||!_0x2722be[_0x4e1dc6(0x1bd)])return;const _0x2393ba=_0xf9f082[_0x4e1dc6(0xe3)](_0x2722be[_0x4e1dc6(0x1bd)]['id']+'_'+_0x1d0fd0);if(!_0x2393ba)return;_0x2722be[_0x4e1dc6(0x152)]&&(_0x2393ba[_0x4e1dc6(0x147)]=_0x2722be[_0x4e1dc6(0x152)]['code']||null);if(!_0x2722be[_0x4e1dc6(0x1da)])return;let _0x5289d3='',_0x2101bc='';if(_0x2722be[_0x4e1dc6(0x1da)][_0x4e1dc6(0x19b)])try{const _0x37a622=_0x2722be[_0x4e1dc6(0x1da)][_0x4e1dc6(0x19b)][_0x4e1dc6(0x18e)](),_0x5c912a=new URL(_0x37a622[_0x4e1dc6(0x190)](_0x11f427[_0x4e1dc6(0xf5)])?_0x37a622:'http://'+_0x37a622);_0x5289d3=_0x5c912a[_0x4e1dc6(0x10e)],_0x2101bc=_0x11f427['OLIbs'](_0x5c912a[_0x4e1dc6(0x119)],_0x5c912a[_0x4e1dc6(0x18c)]);}catch(_0x489843){_0x2101bc=_0x2722be['request']['url'][_0x4e1dc6(0x18e)]();}const _0x4e9348={};_0x4e9348['host']=_0x5289d3,_0x4e9348[_0x4e1dc6(0x18a)]=_0x2101bc,_0x4e9348[_0x4e1dc6(0x164)]=_0x2722be['request'][_0x4e1dc6(0x164)]||_0x11f427[_0x4e1dc6(0x111)],_0x4e9348[_0x4e1dc6(0x15b)]={},_0x4e9348[_0x4e1dc6(0x1d3)]=_0x2722be[_0x4e1dc6(0x152)]?_0x2722be['response']['code']||0x0:0x0,_0x4e9348[_0x4e1dc6(0x15f)]=_0x2722be[_0x4e1dc6(0x152)]?_0x2722be[_0x4e1dc6(0x152)][_0x4e1dc6(0x150)]||0x0:0x0,_0x2393ba['httpLog']=_0x4e9348;}catch(_0x246fea){_0x11f427[_0x4e1dc6(0x1ac)](debug,_0x4e1dc6(0x197)+_0x246fea);}}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x1a9)],(_0x50ee9c,_0x3108c3)=>{const _0x40f6b5=_0xa92da4;try{if(!_0x3108c3||!_0x3108c3[_0x40f6b5(0x1bd)])return;const _0x533335=_0xf9f082[_0x40f6b5(0xe3)](_0x3108c3[_0x40f6b5(0x1bd)]['id']+'_'+_0x1d0fd0);if(!_0x533335)return;const _0x3396c3=_0x3108c3[_0x40f6b5(0x1d7)]||_0x40f6b5(0x19c)+_0x11f427['nWYBj'](_0x533335[_0x40f6b5(0x1ae)][_0x40f6b5(0x1b5)],0x1),_0x295133=_0x11f427[_0x40f6b5(0x189)](uuidv4),_0x33cc48=_0x533335['scopes'][_0x40f6b5(0x1b9)]([_0x3396c3])['join']('\x20');_0x533335[_0x40f6b5(0x1ae)]['push']({'uuid':_0x295133,'name':_0x3396c3,'identifier':_0x33cc48,'err':_0x11f427[_0x40f6b5(0x1a2)](_0x50ee9c,null)});const _0x31266b={};_0x31266b[_0x40f6b5(0x198)]=_0x295133,_0x31266b[_0x40f6b5(0x183)]=_0x3396c3,_0x31266b[_0x40f6b5(0xee)]=_0x33cc48,_0x11f427[_0x40f6b5(0x1a8)](emitTest,HookState[_0x40f6b5(0x16f)],_0x31266b,_0x533335,_0x53b23b,{});_0x11f427[_0x40f6b5(0x11d)](_0x533335[_0x40f6b5(0x1ae)][_0x40f6b5(0x1b5)],0x1)&&_0x11f427[_0x40f6b5(0x139)](_0x533335[_0x40f6b5(0x1b6)]['length'],0x0)&&(_0x533335['bufferedLogs'][_0x40f6b5(0x143)](_0xce0f11=>{const _0x5ba99b=_0x40f6b5;_0x11f427[_0x5ba99b(0x159)](emitLog,_0x295133,{'kind':_0x11f427[_0x5ba99b(0x10a)],'message':_0xce0f11[_0x5ba99b(0x14f)],'level':_0xce0f11[_0x5ba99b(0xe9)]});}),_0x533335[_0x40f6b5(0x1b6)]=[]);if(_0x533335[_0x40f6b5(0x187)]){_0x11f427['FTNfd'](emitLog,_0x295133,{'kind':_0x11f427[_0x40f6b5(0x10c)],'http_response':_0x533335['httpLog']});const _0x4d7b4f=_0x11f427[_0x40f6b5(0x1c8)](_0x11f427[_0x40f6b5(0x1c8)](_0x11f427[_0x40f6b5(0x1c5)](_0x11f427[_0x40f6b5(0x186)](_0x11f427[_0x40f6b5(0x1c5)](_0x11f427['nWYBj'](_0x11f427[_0x40f6b5(0x103)](_0x11f427[_0x40f6b5(0x186)](_0x533335[_0x40f6b5(0x187)]['method']||_0x11f427[_0x40f6b5(0x111)],'\x20'),_0x533335[_0x40f6b5(0x187)]['host']),_0x533335[_0x40f6b5(0x187)][_0x40f6b5(0x18a)]),_0x11f427[_0x40f6b5(0xfd)]),_0x533335[_0x40f6b5(0x187)][_0x40f6b5(0x1d3)]),'\x20('),_0x533335[_0x40f6b5(0x187)][_0x40f6b5(0x15f)]),_0x11f427[_0x40f6b5(0x144)]);_0x11f427[_0x40f6b5(0x159)](emitLog,_0x295133,{'kind':_0x11f427[_0x40f6b5(0x10a)],'message':_0x4d7b4f,'level':_0x11f427[_0x40f6b5(0x179)]});}_0x46da0d=_0x295133;}catch(_0x55e9c2){_0x11f427['iQSkk'](debug,_0x40f6b5(0x1c1)+_0x55e9c2);}}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x135)],(_0x2ffcb7,_0xd95e92)=>{const _0x21c71e=_0xa92da4;try{if(!_0xd95e92)return;let _0x52508b=_0x46da0d;if(!_0x52508b&&_0xd95e92[_0x21c71e(0x142)]&&_0xd95e92[_0x21c71e(0x142)][_0x21c71e(0x13b)]){const _0x9578ba=_0xf9f082[_0x21c71e(0xe3)](_0xd95e92[_0x21c71e(0x142)][_0x21c71e(0x13b)]+'_'+_0x1d0fd0);_0x9578ba&&_0x11f427[_0x21c71e(0x130)](_0x9578ba[_0x21c71e(0x1ae)][_0x21c71e(0x1b5)],0x0)&&(_0x52508b=_0x9578ba[_0x21c71e(0x1ae)][_0x11f427[_0x21c71e(0x129)](_0x9578ba[_0x21c71e(0x1ae)][_0x21c71e(0x1b5)],0x1)][_0x21c71e(0x198)]);}const _0x4dddfa=_0xd95e92['messages']?_0xd95e92[_0x21c71e(0x17d)][_0x21c71e(0x1b4)](',\x20'):'';if(_0x52508b)_0x11f427[_0x21c71e(0x1ba)](emitLog,_0x52508b,{'kind':_0x11f427[_0x21c71e(0x10a)],'message':_0x4dddfa,'level':_0x11f427[_0x21c71e(0x1ac)](normalizeLogLevel,_0xd95e92[_0x21c71e(0xe9)])});else{if(_0xd95e92[_0x21c71e(0x142)]&&_0xd95e92[_0x21c71e(0x142)]['ref']){const _0x11d1ac=_0xf9f082[_0x21c71e(0xe3)](_0xd95e92[_0x21c71e(0x142)][_0x21c71e(0x13b)]+'_'+_0x1d0fd0);_0x11d1ac&&_0x11d1ac[_0x21c71e(0x1b6)]['push']({'timestamp':new Date()[_0x21c71e(0x17b)](),'level':_0x11f427[_0x21c71e(0x184)](normalizeLogLevel,_0xd95e92[_0x21c71e(0xe9)]),'message':_0x4dddfa});}}}catch(_0x391f59){_0x11f427[_0x21c71e(0x17e)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x391f59);}}),_0x3b83cf['on'](_0x11f427['trvrx'],(_0x3fad0a,_0x18e466)=>{const _0x3c5b3a=_0xa92da4;try{if(!_0x3fad0a&&(!_0x18e466||!_0x18e466[_0x3c5b3a(0x126)]))return;const _0x13d024=_0x3fad0a||_0x18e466[_0x3c5b3a(0x126)],_0x380847=_0x13d024['message']||_0x11f427['XBlcQ'](String,_0x13d024),_0x610fe=_0x13d024['stack']||_0x380847;let _0x18fb69=_0x46da0d;if(_0x11f427[_0x3c5b3a(0xe4)](!_0x18fb69,_0x18e466)&&_0x18e466[_0x3c5b3a(0x142)]&&_0x18e466[_0x3c5b3a(0x142)][_0x3c5b3a(0x13b)]){const _0x5ca13e=_0xf9f082[_0x3c5b3a(0xe3)](_0x18e466[_0x3c5b3a(0x142)][_0x3c5b3a(0x13b)]+'_'+_0x1d0fd0);_0x5ca13e&&_0x11f427['BdmNJ'](_0x5ca13e['assertions'][_0x3c5b3a(0x1b5)],0x0)&&(_0x18fb69=_0x5ca13e['assertions'][_0x11f427['fqDbJ'](_0x5ca13e['assertions'][_0x3c5b3a(0x1b5)],0x1)][_0x3c5b3a(0x198)]);}_0x18fb69&&_0x11f427['AmDki'](emitLog,_0x18fb69,{'kind':_0x11f427[_0x3c5b3a(0x10a)],'message':_0x11f427[_0x3c5b3a(0xdf)](_0x11f427[_0x3c5b3a(0x14c)],_0x610fe),'level':_0x11f427[_0x3c5b3a(0x17c)]});}catch(_0x1ecbef){_0x11f427[_0x3c5b3a(0x17e)](debug,_0x11f427[_0x3c5b3a(0x1bc)](_0x11f427[_0x3c5b3a(0x1c2)],_0x1ecbef));}}),_0x3b83cf['on'](_0x11f427['zxLsO'],(_0x139720,_0x6e3ade)=>{const _0x3a3617=_0xa92da4;try{if(!_0x6e3ade||!_0x6e3ade['execution'])return;let _0x402a84=_0x46da0d;if(!_0x402a84&&_0x6e3ade[_0x3a3617(0x142)]&&_0x6e3ade[_0x3a3617(0x142)][_0x3a3617(0x13b)]){const _0x1b684e=_0xf9f082[_0x3a3617(0xe3)](_0x6e3ade['cursor'][_0x3a3617(0x13b)]+'_'+_0x1d0fd0);_0x1b684e&&_0x11f427[_0x3a3617(0x12f)](_0x1b684e[_0x3a3617(0x1ae)][_0x3a3617(0x1b5)],0x0)&&(_0x402a84=_0x1b684e[_0x3a3617(0x1ae)][_0x11f427[_0x3a3617(0x108)](_0x1b684e['assertions'][_0x3a3617(0x1b5)],0x1)]['uuid']);}if(!_0x402a84)return;const _0x9949b5=_0x6e3ade[_0x3a3617(0x11a)]&&_0x6e3ade[_0x3a3617(0x11a)][_0x3a3617(0x127)]||_0x11f427[_0x3a3617(0x118)];_0x139720&&_0x11f427[_0x3a3617(0x1c9)](emitLog,_0x402a84,{'kind':_0x11f427[_0x3a3617(0x10a)],'message':_0x11f427[_0x3a3617(0x140)](_0x11f427[_0x3a3617(0x170)](_0x11f427[_0x3a3617(0x186)](_0x11f427['MJfTo'],_0x9949b5),_0x11f427['TjDII']),_0x139720[_0x3a3617(0x14f)]||_0x139720),'level':_0x11f427[_0x3a3617(0x17c)]});}catch(_0x898760){_0x11f427[_0x3a3617(0xf4)](debug,_0x11f427[_0x3a3617(0x117)](_0x11f427[_0x3a3617(0x128)],_0x898760));}}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x1d9)],(_0x56f6df,_0x1bc6ce)=>{const _0x1e287e=_0xa92da4,_0x3f2bef={'nLywn':function(_0xfeb4a1,_0xb55f61,_0x77e3f7){const _0x77171=a39_0x148d;return _0x11f427[_0x77171(0x1ba)](_0xfeb4a1,_0xb55f61,_0x77e3f7);},'ZeOei':_0x11f427[_0x1e287e(0x10a)]};try{if(!_0x1bc6ce||!_0x1bc6ce[_0x1e287e(0x1bd)])return;const _0x5367c3=_0x1bc6ce['item']['id']+'_'+_0x1d0fd0,_0x209c79=_0xf9f082['get'](_0x5367c3);if(!_0x209c79)return;const _0x50cc29=new Date(),_0x267455=_0x11f427['fqDbJ'](_0x50cc29[_0x1e287e(0x112)](),_0x209c79[_0x1e287e(0x1a4)]);if(_0x11f427[_0x1e287e(0x12c)](_0x209c79[_0x1e287e(0x1ae)][_0x1e287e(0x1b5)],0x0))_0x209c79[_0x1e287e(0x1ae)][_0x1e287e(0x143)](_0xa239e1=>{const _0xc0ebdd=_0x1e287e,_0x397bad=!!_0xa239e1['err'],_0xc8507={'finishedAt':_0x50cc29[_0xc0ebdd(0x17b)](),'durationMs':_0x267455,'result':_0x397bad?_0x11f427[_0xc0ebdd(0x146)]:_0x11f427['DGqNg']};_0x397bad&&(_0xc8507[_0xc0ebdd(0x161)]=_0xa239e1[_0xc0ebdd(0x100)][_0xc0ebdd(0x14f)]||'',_0xc8507[_0xc0ebdd(0x195)]=_0x11f427['rpLEl'](_0xa239e1[_0xc0ebdd(0x100)][_0xc0ebdd(0x183)],_0x11f427['bAOMo'])||_0xa239e1[_0xc0ebdd(0x100)]['message']&&_0xa239e1['err'][_0xc0ebdd(0x14f)][_0xc0ebdd(0xef)](_0x11f427[_0xc0ebdd(0x113)])?_0x11f427['bAOMo']:_0x11f427[_0xc0ebdd(0x13f)],_0xc8507['failure']=[{'backtrace':_0xa239e1[_0xc0ebdd(0x100)]['stack']?_0xa239e1[_0xc0ebdd(0x100)]['stack'][_0xc0ebdd(0x10f)]('\x0a'):[_0xa239e1['err'][_0xc0ebdd(0x14f)]||''],'expanded':[]}]),_0x11f427[_0xc0ebdd(0x192)](emitTest,HookState[_0xc0ebdd(0x13c)],_0xa239e1,_0x209c79,_0x53b23b,_0xc8507);});else{const _0x24870f=_0x11f427[_0x1e287e(0x189)](uuidv4),_0x1d5e49=_0x209c79[_0x1e287e(0x147)],_0x229405=_0x11f427[_0x1e287e(0x11c)](_0x1d5e49,null)&&_0x11f427[_0x1e287e(0x188)](_0x1d5e49,0xc8)&&_0x11f427[_0x1e287e(0x14d)](_0x1d5e49,0x190),_0x3162d4=_0x209c79[_0x1e287e(0x162)]+_0x1e287e(0x1ab)+_0x11f427['nGTLJ'](_0x1d5e49,_0x11f427['ZqZFw'])+')',_0x5c5fe2={'uuid':_0x24870f,'name':_0x3162d4,'identifier':_0x209c79[_0x1e287e(0x13d)][_0x1e287e(0x1b9)]([_0x3162d4])[_0x1e287e(0x1b4)]('\x20')},_0x1a1b1a={'finishedAt':_0x50cc29[_0x1e287e(0x17b)](),'durationMs':_0x267455,'result':_0x229405?_0x11f427[_0x1e287e(0x167)]:_0x11f427[_0x1e287e(0x146)]};!_0x229405&&(_0x1a1b1a[_0x1e287e(0x161)]=_0x11f427['JAVQY'](_0x1d5e49,null)?_0x1e287e(0xec)+_0x1d5e49+_0x1e287e(0xfe):_0x11f427[_0x1e287e(0x1d6)],_0x1a1b1a[_0x1e287e(0x195)]=_0x11f427[_0x1e287e(0x13f)],_0x1a1b1a[_0x1e287e(0x12b)]=[{'backtrace':[_0x1a1b1a[_0x1e287e(0x161)]],'expanded':[]}]);_0x11f427[_0x1e287e(0x192)](emitTest,HookState[_0x1e287e(0x16f)],_0x5c5fe2,_0x209c79,_0x53b23b,{}),_0x209c79[_0x1e287e(0x1b6)][_0x1e287e(0x143)](_0x54c78d=>{const _0x20b0ec=_0x1e287e;_0x3f2bef[_0x20b0ec(0x19e)](emitLog,_0x24870f,{'kind':_0x3f2bef['ZeOei'],'message':_0x54c78d['message'],'level':_0x54c78d['level']});});if(_0x209c79[_0x1e287e(0x187)]){_0x11f427['nAZTT'](emitLog,_0x24870f,{'kind':_0x11f427['aCNoP'],'http_response':_0x209c79['httpLog']});const _0x2d2d07=_0x11f427[_0x1e287e(0x1cf)](_0x11f427[_0x1e287e(0x172)](_0x11f427[_0x1e287e(0x16d)](_0x11f427[_0x1e287e(0x1cd)](_0x11f427[_0x1e287e(0x1c5)](_0x11f427[_0x1e287e(0x10b)](_0x11f427['jdjMh'](_0x11f427[_0x1e287e(0x117)](_0x209c79[_0x1e287e(0x187)][_0x1e287e(0x164)]||_0x11f427[_0x1e287e(0x111)],'\x20'),_0x209c79[_0x1e287e(0x187)][_0x1e287e(0xe0)]),_0x209c79[_0x1e287e(0x187)]['path']),_0x11f427[_0x1e287e(0xfd)]),_0x209c79[_0x1e287e(0x187)][_0x1e287e(0x1d3)]),'\x20('),_0x209c79[_0x1e287e(0x187)][_0x1e287e(0x15f)]),_0x11f427[_0x1e287e(0x144)]);_0x11f427['vBfUA'](emitLog,_0x24870f,{'kind':_0x11f427['uGkzu'],'message':_0x2d2d07,'level':_0x11f427[_0x1e287e(0x179)]});}else _0x11f427['KZGzF'](emitLog,_0x24870f,{'kind':_0x11f427[_0x1e287e(0x10a)],'message':_0x11f427[_0x1e287e(0xdf)](_0x11f427['PWzqM'](_0x11f427[_0x1e287e(0x102)],_0x11f427[_0x1e287e(0x1a2)](_0x1d5e49,_0x11f427[_0x1e287e(0x165)])),_0x11f427['fMkBI']),'level':_0x11f427['lBGcU']});_0x11f427[_0x1e287e(0x192)](emitTest,HookState[_0x1e287e(0x13c)],_0x5c5fe2,_0x209c79,_0x53b23b,_0x1a1b1a);}_0xf9f082[_0x1e287e(0xf8)](_0x5367c3),_0x1bc6ce['cursor']&&_0x1bc6ce[_0x1e287e(0x142)]['ref']&&_0xf9f082[_0x1e287e(0xf8)](_0x1bc6ce[_0x1e287e(0x142)]['ref']+'_'+_0x1d0fd0);}catch(_0x1e190c){_0x11f427[_0x1e287e(0x184)](debug,_0x1e287e(0x109)+_0x1e190c);}});}module[a39_0x12bea7(0x14e)]=BrowserStackNewmanReporter;
1
+ 'use strict';const a39_0x3ec2d1=a39_0x4f45;(function(_0x465c45,_0x140cb5){const _0x3bdf7c=a39_0x4f45,_0x103d39=_0x465c45();while(!![]){try{const _0x221257=parseInt(_0x3bdf7c(0x176))/0x1*(-parseInt(_0x3bdf7c(0x1b6))/0x2)+parseInt(_0x3bdf7c(0x227))/0x3*(parseInt(_0x3bdf7c(0x173))/0x4)+parseInt(_0x3bdf7c(0x194))/0x5*(-parseInt(_0x3bdf7c(0x1c0))/0x6)+parseInt(_0x3bdf7c(0x1b5))/0x7+parseInt(_0x3bdf7c(0x203))/0x8+parseInt(_0x3bdf7c(0x240))/0x9+-parseInt(_0x3bdf7c(0x1b8))/0xa;if(_0x221257===_0x140cb5)break;else _0x103d39['push'](_0x103d39['shift']());}catch(_0x59e546){_0x103d39['push'](_0x103d39['shift']());}}}(a39_0x32ce,0x671ec));const path=require('path'),{v4:uuidv4}=require(a39_0x3ec2d1(0x212)),SessionHandler=require(a39_0x3ec2d1(0x190)),{debug}=require('../../../helpers/test-observability/utils'),logger=require('../../../helpers/logger')[a39_0x3ec2d1(0x1b4)],BrowserstackCLI=require(a39_0x3ec2d1(0x1ae)),GrpcClient=require(a39_0x3ec2d1(0x1ee)),TestFrameworkState=require(a39_0x3ec2d1(0x1bf)),HookState=require('../../v2/state/hookState'),LOG_LEVELS=[a39_0x3ec2d1(0x23d),a39_0x3ec2d1(0x1a5),'ERROR',a39_0x3ec2d1(0x1b7),a39_0x3ec2d1(0x22b)];function isCLIRunning(){const _0x11c38e=a39_0x3ec2d1;try{return BrowserstackCLI[_0x11c38e(0x21c)]()['isRunning']();}catch(_0x167c9c){return![];}}function getParentTitles(_0x4a617b){const _0x4082b3=a39_0x3ec2d1,_0x28ebfe={'EErLT':function(_0x5ca7f7,_0x40437a){return _0x5ca7f7(_0x40437a);},'GgvtG':function(_0x12ae73,_0x516072){return _0x12ae73(_0x516072);}},_0x3e1b7b=[],_0x49aa7f=_0x4a617b[_0x4082b3(0x175)]();return _0x49aa7f&&_0x3e1b7b[_0x4082b3(0x1c5)]['apply'](_0x3e1b7b,_0x28ebfe['EErLT'](getParentTitles,_0x49aa7f)),_0x4a617b['name']&&_0x3e1b7b['push'](_0x28ebfe['GgvtG'](String,_0x4a617b[_0x4082b3(0x1e1)])),_0x3e1b7b;}function normalizeLogLevel(_0x231263){const _0x400ef5=a39_0x3ec2d1,_0xd2fab4={};_0xd2fab4['OhjAd']=_0x400ef5(0x23d),_0xd2fab4[_0x400ef5(0x1b1)]=function(_0x37c323,_0x578624){return _0x37c323!==_0x578624;};const _0x2d48f6=_0xd2fab4;if(!_0x231263)return _0x2d48f6[_0x400ef5(0x213)];const _0x2869d1=_0x231263['toUpperCase']();return _0x2d48f6['TAGkJ'](LOG_LEVELS['indexOf'](_0x2869d1),-0x1)?_0x2869d1:_0x2d48f6['OhjAd'];}function resolveCollectionFile(_0x470f6a,_0x13172b){const _0x20eef9=a39_0x3ec2d1,_0x132779={};_0x132779[_0x20eef9(0x191)]=function(_0x5f1825,_0x37170c){return _0x5f1825===_0x37170c;},_0x132779['lFRwD']=_0x20eef9(0x15c),_0x132779[_0x20eef9(0x1e4)]=_0x20eef9(0x19b),_0x132779[_0x20eef9(0x16a)]=function(_0x1f9c4b,_0x5a9340){return _0x1f9c4b!==_0x5a9340;},_0x132779[_0x20eef9(0x1dd)]=function(_0x4c318e,_0x5a8c1c){return _0x4c318e<_0x5a8c1c;},_0x132779['NteuS']=function(_0xaa860d,_0x3e2fec){return _0xaa860d+_0x3e2fec;},_0x132779[_0x20eef9(0x170)]=function(_0x4e8392,_0x456667){return _0x4e8392+_0x456667;},_0x132779['YdnUh']='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0x132779['WZDYW']=_0x20eef9(0x1cb);const _0x113f21=_0x132779;try{if(_0x13172b&&_0x13172b[_0x20eef9(0x200)])return path['relative'](process[_0x20eef9(0x235)](),path[_0x20eef9(0x177)](_0x13172b[_0x20eef9(0x200)]));const _0x5d28d2=_0x470f6a[_0x20eef9(0x1a1)];if(_0x113f21[_0x20eef9(0x191)](typeof _0x5d28d2,_0x113f21['lFRwD']))return path[_0x20eef9(0x164)](process[_0x20eef9(0x235)](),path[_0x20eef9(0x177)](_0x5d28d2));const _0x550291=process[_0x20eef9(0x19c)][_0x20eef9(0x180)](_0x113f21[_0x20eef9(0x1e4)]);if(_0x113f21['EJowb'](_0x550291,-0x1)&&_0x113f21['LTzab'](_0x113f21[_0x20eef9(0x168)](_0x550291,0x1),process[_0x20eef9(0x19c)][_0x20eef9(0x236)])){const _0x2de06d=process[_0x20eef9(0x19c)][_0x113f21[_0x20eef9(0x170)](_0x550291,0x1)];if(_0x2de06d&&!_0x2de06d[_0x20eef9(0x187)]('-'))return path[_0x20eef9(0x164)](process[_0x20eef9(0x235)](),path[_0x20eef9(0x177)](_0x2de06d));}}catch(_0x17e6aa){}return logger['info'](_0x113f21[_0x20eef9(0x1a9)]),_0x113f21['WZDYW'];}function resolveCollectionName(_0x3de4e3){const _0x269097=a39_0x3ec2d1,_0x2a7d95={};_0x2a7d95['nBfNH']=function(_0x33af11,_0x1baabb){return _0x33af11===_0x1baabb;},_0x2a7d95['znuMY']=_0x269097(0x1f3);const _0x47ebad=_0x2a7d95;try{const _0x11d717=_0x3de4e3['collection'];if(_0x11d717&&_0x47ebad['nBfNH'](typeof _0x11d717,_0x47ebad[_0x269097(0x1dc)]))return _0x11d717[_0x269097(0x1e1)]||_0x11d717[_0x269097(0x179)]&&_0x11d717[_0x269097(0x179)][_0x269097(0x1e1)]||null;}catch(_0x3e2e1f){}return null;}function a39_0x4f45(_0x264b51,_0x23c50d){const _0x32ce4d=a39_0x32ce();return a39_0x4f45=function(_0x4f45b3,_0x44da60){_0x4f45b3=_0x4f45b3-0x15c;let _0x2c5982=_0x32ce4d[_0x4f45b3];return _0x2c5982;},a39_0x4f45(_0x264b51,_0x23c50d);}function a39_0x32ce(){const _0x126f49=['LTzab','Assertion\x20','max','DZPPY','name','oMAOW','ZfKpE','KcMmk','ms)','LogCreated','dHaTn','YWBhJ','aMxPW','TEST','JCjFl','knHPx','collectionName','../../v2/grpcClient','location','slice','iVnGw','result','object','jarKo','BqsYq','vBlTw','ref','UPlyU','failed','nEBSa','TestRunStarted','bxaTH','url','PQiWL','TEST_LOG','collectionPath','fPvbu','messages','2599440YovsBX','HTTP','zXrTI','stringify','CYuWe','pending','ODiFu','event_type','code','xwWDb','BUGUi','delete','lLkFt','exception','axloo','uuid','OhjAd','lmDBJ','split','startTimestamp','gHMUu','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','request','nzZfx','ligGr','getInstance','cSouB','concat','listen','ZYBzQ','\x20->\x20','ECTBN','jVhwJ','now','\x20—\x20response\x20status\x20in\x20failure\x20range','N/A','3aFkGeH','toString','Surkn','expanded','TRACE','XzRyK','assertion','[Newman\x20Reporter]\x20emitTest\x20error:\x20','YHHXu','HTTP\x20','cursor','XhtKD','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','AFssQ','cwd','length','duration_ms','getTime','exFbX','HZTzY','bufferedLogs','OLzhx','INFO','qylJr','test_run','3341592uexzyL','uploadEventData','):\x20','RZKCa','backtrace','script','PRE','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','status_code','YDnGu','QPXmX','WAoml','bs:addLog:','qwsyH','KESGf','jjnfC','string','event','Script\x20error\x20(','javascript','pzVqB','axULh','nYJdI','logs','relative','mrRbu','aEwaz','join','NteuS','scopes','EJowb','beforeItem','PcPQX','set','LokmC','testFrameworkName','aoJhV','headers','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','1439476ceUkcX','path','parent','21599TibUFy','resolve','TkbLt','info','CFrcb','execution','wqiKz','iteration','method','failure','indexOf','nImuf','YxndE','fThBB','failureType','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','InvWD','startsWith','get','beforeIteration','boefm','removeListener','kctEL','stack','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','testFrameworkVersion','../../../helpers/test-observability/sessionHandler','GqUpz','item','err','3830SOfcYv','TWetq','Exception:\x20','clear','nunUr','fasIF','zxLOS','run','argv','rZblD','hawWu','testFrameworkState','durationMs','collection','POST','jrNNI','lastResponseCode','WARN','nBgFQ','assertions','startedAt','YdnUh','console','toISOString','search','Abaqp','../../v2/browserstackCLI','\x20(no\x20assertions)','zoekI','TAGkJ','VBqQx','\x20(HTTP\x20','winstonLogger','2730553honWuC','46IBApOj','DEBUG','4404510jGfuhf','RyYES','response','uCmSU','failure_backtrace','MbrGr','kind','../../v2/state/testFrameworkState','678qCZgdS','iAXiH','timestamp','failureReason','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','push','error','message','itemName','hhomS','zyeAT','collection.json','SdHpW','httpLog','finishedAt','YgDfo','platformIndex','test_run_uuid','hqscR','HTTP\x20Status:\x20','unknown','newman','ezRwQ','level','uapgC','host','btzrm','forEach','znuMY'];a39_0x32ce=function(){return _0x126f49;};return a39_0x32ce();}function emitTest(_0x3b94b4,_0x29272e,_0x50257f,_0x1b94df,_0x3e405b){const _0x1f8d0a=a39_0x3ec2d1,_0x20978a={'UPlyU':function(_0x11949c){return _0x11949c();},'ZYBzQ':_0x1f8d0a(0x208),'jrNNI':function(_0x53975d,_0x1803a6){return _0x53975d(_0x1803a6);},'nYJdI':'newman','mrRbu':_0x1f8d0a(0x15f),'zyeAT':function(_0x5e3599,_0x2e10b6){return _0x5e3599!=_0x2e10b6;},'OLzhx':function(_0x1a9fc,_0x24d3fc){return _0x1a9fc===_0x24d3fc;},'cSouB':_0x1f8d0a(0x1fb),'zoekI':'TestRunFinished'};if(_0x20978a[_0x1f8d0a(0x1f8)](isCLIRunning))try{const _0x39f7f2=BrowserstackCLI['getInstance']()['getTestFramework']();if(!_0x39f7f2)return;_0x39f7f2['trackEvent'](TestFrameworkState[_0x1f8d0a(0x1ea)],_0x3b94b4,{'test':{'uuid':_0x29272e[_0x1f8d0a(0x212)],'name':_0x29272e[_0x1f8d0a(0x1e1)],'scopes':_0x50257f[_0x1f8d0a(0x169)],'scope':_0x50257f[_0x1f8d0a(0x169)][_0x1f8d0a(0x167)]('\x20'),'file_path':_0x1b94df,'location':_0x50257f[_0x1f8d0a(0x1ed)],'started_at':_0x50257f[_0x1f8d0a(0x1a8)],'finished_at':_0x3e405b[_0x1f8d0a(0x1ce)]||null,'result':_0x3e405b[_0x1f8d0a(0x1f2)]||_0x20978a[_0x1f8d0a(0x220)],'failure':_0x3e405b['failure']||[],'failure_type':_0x3e405b[_0x1f8d0a(0x184)]||null,'failure_reason':_0x3e405b[_0x1f8d0a(0x1c3)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x224f97){_0x20978a[_0x1f8d0a(0x1a3)](debug,_0x1f8d0a(0x22e)+_0x224f97);}else{const _0x10ccd5={'uuid':_0x29272e[_0x1f8d0a(0x212)],'name':_0x29272e[_0x1f8d0a(0x1e1)],'framework':_0x20978a[_0x1f8d0a(0x162)],'body':{'lang':_0x20978a[_0x1f8d0a(0x165)],'code':null},'scope':_0x50257f[_0x1f8d0a(0x169)][_0x1f8d0a(0x167)]('\x20'),'scopes':_0x50257f['scopes'],'identifier':_0x29272e['identifier'],'file_name':_0x50257f[_0x1f8d0a(0x1ed)],'vc_filepath':_0x50257f['location'],'location':_0x50257f[_0x1f8d0a(0x1ef)],'started_at':_0x50257f[_0x1f8d0a(0x1a8)],'finished_at':_0x3e405b[_0x1f8d0a(0x1ce)]||null,'duration_in_ms':_0x20978a[_0x1f8d0a(0x1ca)](_0x3e405b[_0x1f8d0a(0x1a0)],null)?Math[_0x1f8d0a(0x1df)](0x0,_0x3e405b[_0x1f8d0a(0x1a0)]):null,'result':_0x3e405b[_0x1f8d0a(0x1f2)]||_0x20978a[_0x1f8d0a(0x220)],'failure_reason':_0x3e405b[_0x1f8d0a(0x1c3)]||null,'failure_type':_0x3e405b[_0x1f8d0a(0x184)]||null,'failure':_0x3e405b[_0x1f8d0a(0x17f)]||[],'retry_of':null,'hooks':[]};_0x10ccd5['failure'][0x0]&&(_0x10ccd5[_0x1f8d0a(0x1bc)]=_0x10ccd5[_0x1f8d0a(0x17f)][0x0][_0x1f8d0a(0x244)],_0x10ccd5['failure_reason_expanded']=_0x10ccd5[_0x1f8d0a(0x17f)][0x0][_0x1f8d0a(0x22a)]);const _0x26be17=_0x20978a[_0x1f8d0a(0x23c)](_0x3b94b4,HookState['PRE'])?_0x20978a[_0x1f8d0a(0x21d)]:_0x20978a[_0x1f8d0a(0x1b0)],_0x353497={};_0x353497[_0x1f8d0a(0x20a)]=_0x26be17,_0x353497[_0x1f8d0a(0x23f)]=_0x10ccd5,SessionHandler['uploadEventData'](_0x353497);}}function emitLog(_0x300f4a,_0x560939){const _0x2c6169=a39_0x3ec2d1,_0x4c14e3={'zfYvl':'TEST_LOG','RZKCa':function(_0x47881e){return _0x47881e();},'ezRwQ':function(_0x410840,_0x1a9f71){return _0x410840===_0x1a9f71;},'nImuf':_0x2c6169(0x204),'InvWD':_0x2c6169(0x1d5),'iWVXn':'TEST','vBlTw':_0x2c6169(0x23d),'ZbbTH':function(_0x460c60,_0x2fea76){return _0x460c60(_0x2fea76);},'pcwsm':function(_0x2e7ab0,_0x58a7f0){return _0x2e7ab0+_0x58a7f0;},'YWBhJ':'[Newman\x20Reporter]\x20emitLog\x20error:\x20','LokmC':_0x2c6169(0x1e6)},_0x10da36=_0x560939[_0x2c6169(0x1be)]||_0x4c14e3['zfYvl'],_0x117795=_0x560939[_0x2c6169(0x1c2)]||new Date()[_0x2c6169(0x1ab)]();if(_0x4c14e3[_0x2c6169(0x243)](isCLIRunning))try{const _0x3e0d8e=_0x4c14e3[_0x2c6169(0x1d6)](_0x10da36,_0x4c14e3[_0x2c6169(0x181)])?JSON[_0x2c6169(0x206)](_0x560939):_0x560939[_0x2c6169(0x1c7)]||'',_0x11fc33={};_0x11fc33[_0x2c6169(0x1d0)]=0x0,_0x11fc33[_0x2c6169(0x16f)]=_0x4c14e3[_0x2c6169(0x186)],_0x11fc33[_0x2c6169(0x18f)]='',_0x11fc33[_0x2c6169(0x19f)]=_0x4c14e3['iWVXn'],_0x11fc33[_0x2c6169(0x163)]=[{'uuid':_0x300f4a,'timestamp':_0x117795,'kind':_0x10da36,'level':_0x560939[_0x2c6169(0x1d7)]||_0x4c14e3[_0x2c6169(0x1f6)],'message':_0x3e0d8e}],GrpcClient[_0x2c6169(0x21c)]()['logCreatedEvent'](_0x11fc33);}catch(_0x3eafa2){_0x4c14e3['ZbbTH'](debug,_0x4c14e3['pcwsm'](_0x4c14e3[_0x2c6169(0x1e8)],_0x3eafa2));}else{const _0x590805={};_0x590805[_0x2c6169(0x1d1)]=_0x300f4a,_0x590805['timestamp']=_0x117795,_0x590805['level']=_0x560939['level']||null,_0x590805[_0x2c6169(0x1c7)]=_0x560939[_0x2c6169(0x1c7)]||null,_0x590805[_0x2c6169(0x1be)]=_0x10da36,_0x590805['http_response']=_0x560939['http_response']||{};const _0x3eb529={};_0x3eb529[_0x2c6169(0x20a)]=_0x4c14e3[_0x2c6169(0x16e)],_0x3eb529['logs']=[_0x590805],SessionHandler[_0x2c6169(0x241)](_0x3eb529);}}function BrowserStackNewmanReporter(_0x25fbff,_0x46d389,_0x420ad2){const _0x5b8533=a39_0x3ec2d1,_0x2c2fcb={'qwsyH':function(_0x5271e1,_0x59d63e,_0x33661d){return _0x5271e1(_0x59d63e,_0x33661d);},'lLkFt':function(_0x120016,_0x5b61dd){return _0x120016(_0x5b61dd);},'QPXmX':function(_0x5e8bec,_0x15d7a6){return _0x5e8bec>_0x15d7a6;},'AFssQ':function(_0x25774c,_0x126bca){return _0x25774c(_0x126bca);},'aEwaz':'http','BqsYq':function(_0xd1590,_0x2a1c0b){return _0xd1590+_0x2a1c0b;},'WAoml':'GET','VBqQx':function(_0x18dbf4,_0x4872d0){return _0x18dbf4(_0x4872d0);},'jarKo':_0x5b8533(0x1ff),'iAXiH':function(_0x5680d6,_0x28aeb8){return _0x5680d6+_0x28aeb8;},'TkbLt':function(_0x445891){return _0x445891();},'YxndE':function(_0x1e1dda,_0x19c383){return _0x1e1dda||_0x19c383;},'exFbX':function(_0x4d5644,_0x283fd0,_0x27a06c,_0x117e6b,_0x4030ad,_0x3111ce){return _0x4d5644(_0x283fd0,_0x27a06c,_0x117e6b,_0x4030ad,_0x3111ce);},'wqiKz':function(_0xc78318,_0x2e4b2b){return _0xc78318===_0x2e4b2b;},'pzVqB':function(_0x25e156,_0x5745ec,_0x62c0fa){return _0x25e156(_0x5745ec,_0x62c0fa);},'SdHpW':'HTTP','BUGUi':function(_0x9d1b8d,_0x22f49f){return _0x9d1b8d+_0x22f49f;},'YDnGu':function(_0x51e267,_0x1de20b){return _0x51e267+_0x1de20b;},'nunUr':function(_0x45b4c5,_0x299119){return _0x45b4c5+_0x299119;},'sQiSi':function(_0xe2c880,_0xb332f4){return _0xe2c880+_0xb332f4;},'YHHXu':_0x5b8533(0x221),'dHaTn':_0x5b8533(0x1e5),'boefm':function(_0x3037fe,_0x1fc4d8,_0x4a1404){return _0x3037fe(_0x1fc4d8,_0x4a1404);},'Abaqp':_0x5b8533(0x23d),'JCjFl':function(_0x2ac55f,_0x5e993b){return _0x2ac55f>_0x5e993b;},'ligGr':function(_0x8d508b,_0x3033e2){return _0x8d508b-_0x3033e2;},'btzrm':function(_0x25d2b3,_0x4290aa,_0x55f75b){return _0x25d2b3(_0x4290aa,_0x55f75b);},'nEBSa':function(_0x1c8c80,_0x211f3c){return _0x1c8c80(_0x211f3c);},'ODiFu':function(_0x142c3f,_0xe2a0dc){return _0x142c3f(_0xe2a0dc);},'iVnGw':function(_0x4b49a6,_0x3731a0){return _0x4b49a6&&_0x3731a0;},'jVhwJ':function(_0x2d2e2c,_0x7c3a3c,_0x4c9a7f){return _0x2d2e2c(_0x7c3a3c,_0x4c9a7f);},'GYZlh':function(_0x5b2d70,_0x4b0ed0){return _0x5b2d70+_0x4b0ed0;},'kctEL':_0x5b8533(0x196),'DZPPY':'ERROR','zXrTI':function(_0x2d33f4,_0x688acd){return _0x2d33f4(_0x688acd);},'axULh':function(_0x5e8581,_0x2e9fbf){return _0x5e8581+_0x2e9fbf;},'CYuWe':_0x5b8533(0x218),'CFrcb':function(_0x111682,_0x3208ab){return _0x111682>_0x3208ab;},'hhomS':function(_0xc9bccf,_0x1caf6b){return _0xc9bccf-_0x1caf6b;},'axloo':_0x5b8533(0x1d4),'hcSOd':function(_0x277131,_0x4173bb,_0x45767e){return _0x277131(_0x4173bb,_0x45767e);},'bxaTH':function(_0x1c7c7d,_0xa8df69){return _0x1c7c7d+_0xa8df69;},'PcPQX':_0x5b8533(0x15e),'hawWu':_0x5b8533(0x242),'TWetq':function(_0x2d0dcd,_0x4de7ba){return _0x2d0dcd(_0x4de7ba);},'Surkn':_0x5b8533(0x247),'jjnfC':function(_0x36eff4,_0x358ec1,_0x594d08){return _0x36eff4(_0x358ec1,_0x594d08);},'zxLOS':_0x5b8533(0x1f9),'fasIF':'passed','WvdlJ':'AssertionError','wMNFQ':'assert','xwWDb':'UnhandledError','ECTBN':function(_0x25c871,_0x2fdd02){return _0x25c871>_0x2fdd02;},'SSsSL':function(_0x4c571d){return _0x4c571d();},'XhtKD':function(_0x474ce4,_0x3b5d99){return _0x474ce4!=_0x3b5d99;},'JpXDS':function(_0x4a95c4,_0x291b6e){return _0x4a95c4>=_0x291b6e;},'YgDfo':function(_0x5e74d0,_0x44056a){return _0x5e74d0<_0x44056a;},'aMxPW':_0x5b8533(0x226),'nBgFQ':function(_0x5232d5,_0x264db6){return _0x5232d5!=_0x264db6;},'oMAOW':'No\x20HTTP\x20response\x20received','WVKwr':function(_0xb3b858,_0x29ce56){return _0xb3b858+_0x29ce56;},'lmDBJ':function(_0x383c34,_0x4b8f42){return _0x383c34+_0x4b8f42;},'uapgC':function(_0x3febb2,_0x1ef605){return _0x3febb2+_0x1ef605;},'rTQMc':function(_0x49d063,_0x409467,_0x327dbb){return _0x49d063(_0x409467,_0x327dbb);},'jaVhz':function(_0x30e810,_0x531bb1,_0x84fe01){return _0x30e810(_0x531bb1,_0x84fe01);},'tDSOL':_0x5b8533(0x1d3),'NGQxv':function(_0xb40488,_0x1e83c9){return _0xb40488||_0x1e83c9;},'qylJr':_0x5b8533(0x1af),'MbrGr':function(_0x564c3d,_0xba88e9,_0xc1a259){return _0x564c3d(_0xba88e9,_0xc1a259);},'RyYES':function(_0x2f6bd6,_0x3ce13a){return _0x2f6bd6(_0x3ce13a);},'XzRyK':'done','ZfKpE':_0x5b8533(0x189),'eMPtT':_0x5b8533(0x16b),'knHPx':_0x5b8533(0x219),'HZTzY':_0x5b8533(0x22d),'KESGf':_0x5b8533(0x1aa),'hqscR':_0x5b8533(0x210),'nzZfx':_0x5b8533(0x245),'uCmSU':_0x5b8533(0x192)},_0x3f12ec=new Map();let _0x357460=null,_0x22eeaa=0x0;const _0x4559e6=_0x2c2fcb[_0x5b8533(0x1bd)](resolveCollectionFile,_0x420ad2,_0x46d389),_0x1ab3ef=_0x2c2fcb[_0x5b8533(0x1b9)](resolveCollectionName,_0x420ad2)||_0x4559e6,_0x441ebb=path['resolve'](_0x4559e6),_0x54b33f=_0x5b8533(0x24c)+process['pid'],_0xd12b4c=_0x599970=>{const _0x59726b=_0x5b8533;try{_0x357460&&_0x2c2fcb[_0x59726b(0x24d)](emitLog,_0x357460,_0x599970);}catch(_0x129a2a){_0x2c2fcb['lLkFt'](debug,_0x59726b(0x185)+_0x129a2a);}};process['on'](_0x54b33f,_0xd12b4c),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x22c)],()=>{const _0x5106f0=_0x5b8533;process[_0x5106f0(0x18b)](_0x54b33f,_0xd12b4c),_0x3f12ec[_0x5106f0(0x197)]();}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x1e3)],(_0x3d5f0e,_0x1fdcbb)=>{const _0x10fd2a=_0x5b8533;_0x1fdcbb&&_0x1fdcbb[_0x10fd2a(0x231)]&&(_0x22eeaa=_0x1fdcbb[_0x10fd2a(0x231)][_0x10fd2a(0x17d)]||0x0);}),_0x25fbff['on'](_0x2c2fcb['eMPtT'],(_0x76ebad,_0x4a73c0)=>{const _0xc453bd=_0x5b8533;try{_0x357460=null;const _0xb20e75=_0x4a73c0[_0xc453bd(0x192)],_0x345a3e=_0xb20e75[_0xc453bd(0x175)]()?_0x2c2fcb[_0xc453bd(0x20f)](getParentTitles,_0xb20e75[_0xc453bd(0x175)]()):[],_0x4b0f37=_0x2c2fcb[_0xc453bd(0x24a)](_0x345a3e[_0xc453bd(0x236)],0x1)?_0x345a3e[_0xc453bd(0x1f0)](0x1):_0x345a3e,_0x109ba5=_0x4a73c0[_0xc453bd(0x231)]&&_0x4a73c0[_0xc453bd(0x231)]['ref'],_0x4a3bce={'itemName':_0xb20e75[_0xc453bd(0x1e1)],'scopes':_0x4b0f37[_0xc453bd(0x21e)]([_0xb20e75[_0xc453bd(0x1e1)]]),'location':_0x4559e6,'collectionName':_0x1ab3ef,'startedAt':new Date()[_0xc453bd(0x1ab)](),'startTimestamp':Date[_0xc453bd(0x224)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x3f12ec[_0xc453bd(0x16d)](_0xb20e75['id']+'_'+_0x22eeaa,_0x4a3bce),_0x109ba5&&_0x3f12ec[_0xc453bd(0x16d)](_0x109ba5+'_'+_0x22eeaa,_0x4a3bce);}catch(_0x111a3d){_0x2c2fcb[_0xc453bd(0x234)](debug,_0xc453bd(0x233)+_0x111a3d);}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x1ec)],(_0x359120,_0x44f301)=>{const _0x181c60=_0x5b8533;try{if(!_0x44f301||!_0x44f301[_0x181c60(0x192)])return;const _0x1b573f=_0x3f12ec['get'](_0x44f301['item']['id']+'_'+_0x22eeaa);if(!_0x1b573f)return;_0x44f301['response']&&(_0x1b573f[_0x181c60(0x1a4)]=_0x44f301[_0x181c60(0x1ba)][_0x181c60(0x20b)]||null);if(!_0x44f301[_0x181c60(0x219)])return;let _0x4fba5f='',_0x3de449='';if(_0x44f301[_0x181c60(0x219)][_0x181c60(0x1fd)])try{const _0x4da647=_0x44f301['request'][_0x181c60(0x1fd)][_0x181c60(0x228)](),_0x242eb4=new URL(_0x4da647[_0x181c60(0x187)](_0x2c2fcb[_0x181c60(0x166)])?_0x4da647:'http://'+_0x4da647);_0x4fba5f=_0x242eb4['hostname'],_0x3de449=_0x2c2fcb['BqsYq'](_0x242eb4['pathname'],_0x242eb4[_0x181c60(0x1ac)]);}catch(_0x3ae9ed){_0x3de449=_0x44f301[_0x181c60(0x219)][_0x181c60(0x1fd)][_0x181c60(0x228)]();}const _0x3bf67a={};_0x3bf67a[_0x181c60(0x1d9)]=_0x4fba5f,_0x3bf67a[_0x181c60(0x174)]=_0x3de449,_0x3bf67a[_0x181c60(0x17e)]=_0x44f301[_0x181c60(0x219)][_0x181c60(0x17e)]||_0x2c2fcb[_0x181c60(0x24b)],_0x3bf67a[_0x181c60(0x171)]={},_0x3bf67a[_0x181c60(0x248)]=_0x44f301['response']?_0x44f301[_0x181c60(0x1ba)]['code']||0x0:0x0,_0x3bf67a[_0x181c60(0x237)]=_0x44f301[_0x181c60(0x1ba)]?_0x44f301[_0x181c60(0x1ba)]['responseTime']||0x0:0x0,_0x1b573f['httpLog']=_0x3bf67a;}catch(_0x48acb3){_0x2c2fcb[_0x181c60(0x1b2)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x48acb3);}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x23a)],(_0x5e519a,_0x3baa29)=>{const _0x544445=_0x5b8533;try{if(!_0x3baa29||!_0x3baa29[_0x544445(0x192)])return;const _0x2baf14=_0x3f12ec[_0x544445(0x188)](_0x3baa29[_0x544445(0x192)]['id']+'_'+_0x22eeaa);if(!_0x2baf14)return;const _0x5615f7=_0x3baa29[_0x544445(0x22d)]||_0x544445(0x1de)+_0x2c2fcb[_0x544445(0x1c1)](_0x2baf14[_0x544445(0x1a7)]['length'],0x1),_0x54f500=_0x2c2fcb[_0x544445(0x178)](uuidv4),_0x4608ed=_0x2baf14[_0x544445(0x169)][_0x544445(0x21e)]([_0x5615f7])[_0x544445(0x167)]('\x20');_0x2baf14[_0x544445(0x1a7)]['push']({'uuid':_0x54f500,'name':_0x5615f7,'identifier':_0x4608ed,'err':_0x2c2fcb[_0x544445(0x182)](_0x5e519a,null)});const _0x57fb3e={};_0x57fb3e[_0x544445(0x212)]=_0x54f500,_0x57fb3e[_0x544445(0x1e1)]=_0x5615f7,_0x57fb3e['identifier']=_0x4608ed,_0x2c2fcb[_0x544445(0x239)](emitTest,HookState[_0x544445(0x246)],_0x57fb3e,_0x2baf14,_0x441ebb,{});_0x2c2fcb['wqiKz'](_0x2baf14[_0x544445(0x1a7)][_0x544445(0x236)],0x1)&&_0x2c2fcb[_0x544445(0x24a)](_0x2baf14[_0x544445(0x23b)]['length'],0x0)&&(_0x2baf14[_0x544445(0x23b)][_0x544445(0x1db)](_0x25a216=>{const _0x97f895=_0x544445;_0x2c2fcb[_0x97f895(0x24d)](emitLog,_0x54f500,{'kind':_0x2c2fcb['jarKo'],'message':_0x25a216['message'],'level':_0x25a216[_0x97f895(0x1d7)]});}),_0x2baf14[_0x544445(0x23b)]=[]);if(_0x2baf14[_0x544445(0x1cd)]){_0x2c2fcb[_0x544445(0x160)](emitLog,_0x54f500,{'kind':_0x2c2fcb[_0x544445(0x1cc)],'http_response':_0x2baf14[_0x544445(0x1cd)]});const _0x5b7c63=_0x2c2fcb[_0x544445(0x1f5)](_0x2c2fcb['iAXiH'](_0x2c2fcb[_0x544445(0x20d)](_0x2c2fcb[_0x544445(0x249)](_0x2c2fcb['BqsYq'](_0x2c2fcb[_0x544445(0x198)](_0x2c2fcb[_0x544445(0x1c1)](_0x2c2fcb['sQiSi'](_0x2baf14[_0x544445(0x1cd)][_0x544445(0x17e)]||_0x2c2fcb['WAoml'],'\x20'),_0x2baf14[_0x544445(0x1cd)][_0x544445(0x1d9)]),_0x2baf14[_0x544445(0x1cd)][_0x544445(0x174)]),_0x2c2fcb[_0x544445(0x22f)]),_0x2baf14['httpLog'][_0x544445(0x248)]),'\x20('),_0x2baf14[_0x544445(0x1cd)]['duration_ms']),_0x2c2fcb[_0x544445(0x1e7)]);_0x2c2fcb[_0x544445(0x18a)](emitLog,_0x54f500,{'kind':_0x2c2fcb['jarKo'],'message':_0x5b7c63,'level':_0x2c2fcb[_0x544445(0x1ad)]});}_0x357460=_0x54f500;}catch(_0xf61a0b){_0x2c2fcb[_0x544445(0x20f)](debug,_0x544445(0x18e)+_0xf61a0b);}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x24e)],(_0x2ed614,_0x204ff5)=>{const _0x1ae37d=_0x5b8533;try{if(!_0x204ff5)return;let _0x277a9e=_0x357460;if(!_0x277a9e&&_0x204ff5['cursor']&&_0x204ff5['cursor']['ref']){const _0x12a977=_0x3f12ec[_0x1ae37d(0x188)](_0x204ff5['cursor'][_0x1ae37d(0x1f7)]+'_'+_0x22eeaa);_0x12a977&&_0x2c2fcb[_0x1ae37d(0x1eb)](_0x12a977[_0x1ae37d(0x1a7)][_0x1ae37d(0x236)],0x0)&&(_0x277a9e=_0x12a977[_0x1ae37d(0x1a7)][_0x2c2fcb[_0x1ae37d(0x21b)](_0x12a977[_0x1ae37d(0x1a7)][_0x1ae37d(0x236)],0x1)][_0x1ae37d(0x212)]);}const _0x5311a1=_0x204ff5[_0x1ae37d(0x202)]?_0x204ff5[_0x1ae37d(0x202)][_0x1ae37d(0x167)](',\x20'):'';if(_0x277a9e)_0x2c2fcb[_0x1ae37d(0x1da)](emitLog,_0x277a9e,{'kind':_0x2c2fcb['jarKo'],'message':_0x5311a1,'level':_0x2c2fcb['nEBSa'](normalizeLogLevel,_0x204ff5[_0x1ae37d(0x1d7)])});else{if(_0x204ff5['cursor']&&_0x204ff5[_0x1ae37d(0x231)][_0x1ae37d(0x1f7)]){const _0x3b26e3=_0x3f12ec[_0x1ae37d(0x188)](_0x204ff5[_0x1ae37d(0x231)]['ref']+'_'+_0x22eeaa);_0x3b26e3&&_0x3b26e3[_0x1ae37d(0x23b)][_0x1ae37d(0x1c5)]({'timestamp':new Date()[_0x1ae37d(0x1ab)](),'level':_0x2c2fcb[_0x1ae37d(0x20f)](normalizeLogLevel,_0x204ff5[_0x1ae37d(0x1d7)]),'message':_0x5311a1});}}}catch(_0x5c2725){_0x2c2fcb[_0x1ae37d(0x1fa)](debug,_0x1ae37d(0x1c4)+_0x5c2725);}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x1d2)],(_0x4f32a3,_0x356bbd)=>{const _0x1f992f=_0x5b8533;try{if(!_0x4f32a3&&(!_0x356bbd||!_0x356bbd[_0x1f992f(0x1c6)]))return;const _0x3c10fa=_0x4f32a3||_0x356bbd[_0x1f992f(0x1c6)],_0x70345a=_0x3c10fa['message']||_0x2c2fcb[_0x1f992f(0x209)](String,_0x3c10fa),_0x41a276=_0x3c10fa[_0x1f992f(0x18d)]||_0x70345a;let _0x201212=_0x357460;if(_0x2c2fcb[_0x1f992f(0x1f1)](!_0x201212,_0x356bbd)&&_0x356bbd[_0x1f992f(0x231)]&&_0x356bbd['cursor'][_0x1f992f(0x1f7)]){const _0x5c4f44=_0x3f12ec[_0x1f992f(0x188)](_0x356bbd[_0x1f992f(0x231)][_0x1f992f(0x1f7)]+'_'+_0x22eeaa);_0x5c4f44&&_0x2c2fcb[_0x1f992f(0x24a)](_0x5c4f44[_0x1f992f(0x1a7)]['length'],0x0)&&(_0x201212=_0x5c4f44['assertions'][_0x2c2fcb[_0x1f992f(0x21b)](_0x5c4f44['assertions'][_0x1f992f(0x236)],0x1)]['uuid']);}_0x201212&&_0x2c2fcb[_0x1f992f(0x223)](emitLog,_0x201212,{'kind':_0x2c2fcb[_0x1f992f(0x1f4)],'message':_0x2c2fcb['GYZlh'](_0x2c2fcb[_0x1f992f(0x18c)],_0x41a276),'level':_0x2c2fcb[_0x1f992f(0x1e0)]});}catch(_0x3ef548){_0x2c2fcb[_0x1f992f(0x205)](debug,_0x2c2fcb['axULh'](_0x2c2fcb[_0x1f992f(0x207)],_0x3ef548));}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x21a)],(_0x56112d,_0x5193de)=>{const _0x2491b7=_0x5b8533;try{if(!_0x5193de||!_0x5193de[_0x2491b7(0x17b)])return;let _0x3aa964=_0x357460;if(!_0x3aa964&&_0x5193de[_0x2491b7(0x231)]&&_0x5193de[_0x2491b7(0x231)]['ref']){const _0x5e5c00=_0x3f12ec[_0x2491b7(0x188)](_0x5193de[_0x2491b7(0x231)][_0x2491b7(0x1f7)]+'_'+_0x22eeaa);_0x5e5c00&&_0x2c2fcb[_0x2491b7(0x17a)](_0x5e5c00[_0x2491b7(0x1a7)]['length'],0x0)&&(_0x3aa964=_0x5e5c00['assertions'][_0x2c2fcb[_0x2491b7(0x1c9)](_0x5e5c00[_0x2491b7(0x1a7)][_0x2491b7(0x236)],0x1)][_0x2491b7(0x212)]);}if(!_0x3aa964)return;const _0x5f4d6b=_0x5193de['event']&&_0x5193de[_0x2491b7(0x15d)][_0x2491b7(0x21f)]||_0x2c2fcb[_0x2491b7(0x211)];_0x56112d&&_0x2c2fcb['hcSOd'](emitLog,_0x3aa964,{'kind':_0x2c2fcb[_0x2491b7(0x1f4)],'message':_0x2c2fcb['iAXiH'](_0x2c2fcb[_0x2491b7(0x1c1)](_0x2c2fcb['bxaTH'](_0x2c2fcb[_0x2491b7(0x16c)],_0x5f4d6b),_0x2c2fcb[_0x2491b7(0x19e)]),_0x56112d[_0x2491b7(0x1c7)]||_0x56112d),'level':_0x2c2fcb[_0x2491b7(0x1e0)]});}catch(_0x1fc717){_0x2c2fcb[_0x2491b7(0x195)](debug,_0x2c2fcb[_0x2491b7(0x1c1)](_0x2c2fcb[_0x2491b7(0x229)],_0x1fc717));}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x1bb)],(_0x2a5cec,_0x33e34e)=>{const _0x4d4c82=_0x5b8533,_0x1c43ba={'NBuUs':_0x2c2fcb[_0x4d4c82(0x19a)],'uxZPj':_0x2c2fcb[_0x4d4c82(0x199)],'PQiWL':function(_0x18aade,_0x46cfbe){const _0x5b299e=_0x4d4c82;return _0x2c2fcb[_0x5b299e(0x17c)](_0x18aade,_0x46cfbe);},'fThBB':_0x2c2fcb['WvdlJ'],'rZblD':_0x2c2fcb['wMNFQ'],'gHMUu':_0x2c2fcb[_0x4d4c82(0x20c)],'fPvbu':function(_0x242707,_0x4c41f8,_0xa1085d,_0x14f000,_0x4120e3,_0x3ac820){const _0x5a0ddf=_0x4d4c82;return _0x2c2fcb[_0x5a0ddf(0x239)](_0x242707,_0x4c41f8,_0xa1085d,_0x14f000,_0x4120e3,_0x3ac820);}};try{if(!_0x33e34e||!_0x33e34e[_0x4d4c82(0x192)])return;const _0x164b97=_0x33e34e['item']['id']+'_'+_0x22eeaa,_0x12c5df=_0x3f12ec['get'](_0x164b97);if(!_0x12c5df)return;const _0x59130d=new Date(),_0x9d6060=_0x2c2fcb[_0x4d4c82(0x21b)](_0x59130d[_0x4d4c82(0x238)](),_0x12c5df[_0x4d4c82(0x216)]);if(_0x2c2fcb[_0x4d4c82(0x222)](_0x12c5df[_0x4d4c82(0x1a7)][_0x4d4c82(0x236)],0x0))_0x12c5df[_0x4d4c82(0x1a7)][_0x4d4c82(0x1db)](_0x499e4c=>{const _0x409cb2=_0x4d4c82,_0x4f6b26=!!_0x499e4c[_0x409cb2(0x193)],_0x248ecd={'finishedAt':_0x59130d[_0x409cb2(0x1ab)](),'durationMs':_0x9d6060,'result':_0x4f6b26?_0x1c43ba['NBuUs']:_0x1c43ba['uxZPj']};_0x4f6b26&&(_0x248ecd['failureReason']=_0x499e4c['err'][_0x409cb2(0x1c7)]||'',_0x248ecd[_0x409cb2(0x184)]=_0x1c43ba[_0x409cb2(0x1fe)](_0x499e4c[_0x409cb2(0x193)][_0x409cb2(0x1e1)],_0x1c43ba['fThBB'])||_0x499e4c[_0x409cb2(0x193)]['message']&&_0x499e4c[_0x409cb2(0x193)][_0x409cb2(0x1c7)]['includes'](_0x1c43ba[_0x409cb2(0x19d)])?_0x1c43ba[_0x409cb2(0x183)]:_0x1c43ba[_0x409cb2(0x217)],_0x248ecd[_0x409cb2(0x17f)]=[{'backtrace':_0x499e4c[_0x409cb2(0x193)][_0x409cb2(0x18d)]?_0x499e4c['err']['stack'][_0x409cb2(0x215)]('\x0a'):[_0x499e4c['err'][_0x409cb2(0x1c7)]||''],'expanded':[]}]),_0x1c43ba[_0x409cb2(0x201)](emitTest,HookState[_0x409cb2(0x1a2)],_0x499e4c,_0x12c5df,_0x441ebb,_0x248ecd);});else{const _0x52cc8b=_0x2c2fcb['SSsSL'](uuidv4),_0x9527aa=_0x12c5df[_0x4d4c82(0x1a4)],_0x2b01c8=_0x2c2fcb[_0x4d4c82(0x232)](_0x9527aa,null)&&_0x2c2fcb['JpXDS'](_0x9527aa,0xc8)&&_0x2c2fcb[_0x4d4c82(0x1cf)](_0x9527aa,0x190),_0x5446e5=_0x12c5df[_0x4d4c82(0x1c8)]+_0x4d4c82(0x1b3)+_0x2c2fcb['YxndE'](_0x9527aa,_0x2c2fcb[_0x4d4c82(0x1e9)])+')',_0x495089={'uuid':_0x52cc8b,'name':_0x5446e5,'identifier':_0x12c5df[_0x4d4c82(0x169)]['concat']([_0x5446e5])[_0x4d4c82(0x167)]('\x20')},_0x3b51b8={'finishedAt':_0x59130d['toISOString'](),'durationMs':_0x9d6060,'result':_0x2b01c8?_0x2c2fcb[_0x4d4c82(0x199)]:_0x2c2fcb[_0x4d4c82(0x19a)]};!_0x2b01c8&&(_0x3b51b8[_0x4d4c82(0x1c3)]=_0x2c2fcb[_0x4d4c82(0x1a6)](_0x9527aa,null)?_0x4d4c82(0x230)+_0x9527aa+_0x4d4c82(0x225):_0x2c2fcb[_0x4d4c82(0x1e2)],_0x3b51b8[_0x4d4c82(0x184)]=_0x2c2fcb['xwWDb'],_0x3b51b8[_0x4d4c82(0x17f)]=[{'backtrace':[_0x3b51b8[_0x4d4c82(0x1c3)]],'expanded':[]}]);_0x2c2fcb[_0x4d4c82(0x239)](emitTest,HookState[_0x4d4c82(0x246)],_0x495089,_0x12c5df,_0x441ebb,{}),_0x12c5df['bufferedLogs'][_0x4d4c82(0x1db)](_0x24387a=>{const _0x22b974=_0x4d4c82;_0x2c2fcb[_0x22b974(0x24f)](emitLog,_0x52cc8b,{'kind':_0x2c2fcb[_0x22b974(0x1f4)],'message':_0x24387a['message'],'level':_0x24387a[_0x22b974(0x1d7)]});});if(_0x12c5df[_0x4d4c82(0x1cd)]){_0x2c2fcb[_0x4d4c82(0x1da)](emitLog,_0x52cc8b,{'kind':_0x2c2fcb[_0x4d4c82(0x1cc)],'http_response':_0x12c5df[_0x4d4c82(0x1cd)]});const _0x418c02=_0x2c2fcb['WVKwr'](_0x2c2fcb[_0x4d4c82(0x1fc)](_0x2c2fcb[_0x4d4c82(0x249)](_0x2c2fcb[_0x4d4c82(0x214)](_0x2c2fcb[_0x4d4c82(0x198)](_0x2c2fcb[_0x4d4c82(0x20d)](_0x2c2fcb['lmDBJ'](_0x2c2fcb[_0x4d4c82(0x1d8)](_0x12c5df['httpLog']['method']||_0x2c2fcb[_0x4d4c82(0x24b)],'\x20'),_0x12c5df[_0x4d4c82(0x1cd)]['host']),_0x12c5df['httpLog'][_0x4d4c82(0x174)]),_0x2c2fcb['YHHXu']),_0x12c5df[_0x4d4c82(0x1cd)][_0x4d4c82(0x248)]),'\x20('),_0x12c5df['httpLog'][_0x4d4c82(0x237)]),_0x2c2fcb[_0x4d4c82(0x1e7)]);_0x2c2fcb['rTQMc'](emitLog,_0x52cc8b,{'kind':_0x2c2fcb[_0x4d4c82(0x1f4)],'message':_0x418c02,'level':_0x2c2fcb[_0x4d4c82(0x1ad)]});}else _0x2c2fcb['jaVhz'](emitLog,_0x52cc8b,{'kind':_0x2c2fcb[_0x4d4c82(0x1f4)],'message':_0x2c2fcb[_0x4d4c82(0x1c1)](_0x2c2fcb[_0x4d4c82(0x161)](_0x2c2fcb['tDSOL'],_0x2c2fcb['NGQxv'](_0x9527aa,_0x2c2fcb[_0x4d4c82(0x1e9)])),_0x2c2fcb[_0x4d4c82(0x23e)]),'level':_0x2c2fcb[_0x4d4c82(0x1ad)]});_0x2c2fcb[_0x4d4c82(0x239)](emitTest,HookState[_0x4d4c82(0x1a2)],_0x495089,_0x12c5df,_0x441ebb,_0x3b51b8);}_0x3f12ec[_0x4d4c82(0x20e)](_0x164b97),_0x33e34e['cursor']&&_0x33e34e[_0x4d4c82(0x231)][_0x4d4c82(0x1f7)]&&_0x3f12ec[_0x4d4c82(0x20e)](_0x33e34e[_0x4d4c82(0x231)][_0x4d4c82(0x1f7)]+'_'+_0x22eeaa);}catch(_0x20de98){_0x2c2fcb['AFssQ'](debug,_0x4d4c82(0x172)+_0x20de98);}});}module['exports']=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a40_0x3a62(){const _0x37e508=['gMdTY','reporter','ktbWF','twWgg','browserstack','concat','218338HsvWax','mbxnd','collectionPath','message','UYHie','AmMTN','_load','module','cli','create','2001600oLuQhX','aMIdZ','jtRUh','newman','2860716HLpCZp','xUwTG','BprhB','resolve','3zxNMUK','stderr','6ljTIbU','NfRMn','NhXaq','739940ZBiiVX','wbnRm','assign','beforeExit','AsuKU','exit','77823XbXcKG','5503141ITKMxn','460zEJdPl','CjgOv','length','skzuz','kfzOs','error','exitCode','LyhHU','run','bind','gKjyD','path','write','collection','mPcgx','vOMLy','uDJEo','indexOf','7379296BEpSvf','call','p-limit','failures','getInstance','pHFmz','PNXTo'];a40_0x3a62=function(){return _0x37e508;};return a40_0x3a62();}const a40_0x342dd9=a40_0x37e1;(function(_0x297a8a,_0x44de0c){const _0x5a9315=a40_0x37e1,_0x43c476=_0x297a8a();while(!![]){try{const _0x579571=parseInt(_0x5a9315(0x1d8))/0x1*(parseInt(_0x5a9315(0x1c6))/0x2)+-parseInt(_0x5a9315(0x1d4))/0x3+parseInt(_0x5a9315(0x1d0))/0x4+parseInt(_0x5a9315(0x1dd))/0x5*(parseInt(_0x5a9315(0x1da))/0x6)+-parseInt(_0x5a9315(0x1e4))/0x7+parseInt(_0x5a9315(0x1b9))/0x8+-parseInt(_0x5a9315(0x1e3))/0x9*(-parseInt(_0x5a9315(0x1e5))/0xa);if(_0x579571===_0x44de0c)break;else _0x43c476['push'](_0x43c476['shift']());}catch(_0x2b0aae){_0x43c476['push'](_0x43c476['shift']());}}}(a40_0x3a62,0x87d2e));const path=require(a40_0x342dd9(0x1b2)),Module=require(a40_0x342dd9(0x1cd)),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process['argv'][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;!scriptFile&&(process[a40_0x342dd9(0x1d9)][a40_0x342dd9(0x1b3)]('[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a'),process[a40_0x342dd9(0x1e2)](0x1));const reporterPath=path['join'](__dirname,a40_0x342dd9(0x1c1),'index.js'),originalResolveFilename=Module['_resolveFilename'];Module['_resolveFilename']=function(_0xbb8749,_0x45c7a1,_0x4cc65e,_0x5cd14e){const _0x378b6a=a40_0x342dd9,_0x18e899={};_0x18e899['kfzOs']=function(_0x559166,_0x1a20b8){return _0x559166===_0x1a20b8;},_0x18e899[_0x378b6a(0x1b1)]='newman-reporter-browserstack';const _0x29fc0c=_0x18e899;if(_0x29fc0c[_0x378b6a(0x1ab)](_0xbb8749,_0x29fc0c[_0x378b6a(0x1b1)]))return reporterPath;return originalResolveFilename['call'](this,_0xbb8749,_0x45c7a1,_0x4cc65e,_0x5cd14e);};let limit;try{const pLimit=require(a40_0x342dd9(0x1bb)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a40_0x4c2e7d){limit=function(_0x12d827){const _0xa1c73c=a40_0x342dd9,_0x2d1325={'NhXaq':function(_0x275f89){return _0x275f89();}};return _0x2d1325[_0xa1c73c(0x1dc)](_0x12d827);};}function a40_0x37e1(_0x5242c8,_0x5a7e34){const _0x3a6232=a40_0x3a62();return a40_0x37e1=function(_0x37e1cc,_0x331bde){_0x37e1cc=_0x37e1cc-0x1a9;let _0x3de02a=_0x3a6232[_0x37e1cc];return _0x3de02a;},a40_0x37e1(_0x5242c8,_0x5a7e34);}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a40_0x342dd9(0x1cc)];Module[a40_0x342dd9(0x1cc)]=function(_0x23e1ce,_0x32da86,_0x4b0ec5){const _0x4477a7=a40_0x342dd9,_0x56f048={'LyhHU':function(_0x50798a,_0x55ed90){return _0x50798a>_0x55ed90;},'wbnRm':function(_0x4f29c3,_0x4b1230){return _0x4f29c3||_0x4b1230;},'PNXTo':function(_0x3b51d8,_0x32c8d4,_0x5ecdac){return _0x3b51d8(_0x32c8d4,_0x5ecdac);},'aMIdZ':function(_0x5c5629,_0x1252b6){return _0x5c5629(_0x1252b6);},'skzuz':_0x4477a7(0x1ce),'uDJEo':function(_0x3f8155,_0x3a5b7c){return _0x3f8155===_0x3a5b7c;},'vOMLy':_0x4477a7(0x1c4),'PDQFW':function(_0xfd3b7f,_0x3f7df6){return _0xfd3b7f===_0x3f7df6;},'FsxGW':'string','pHFmz':function(_0x4c3c08,_0x4a682e){return _0x4c3c08!==_0x4a682e;},'Vqviy':_0x4477a7(0x1d3)},_0x518222=originalLoad[_0x4477a7(0x1ba)](this,_0x23e1ce,_0x32da86,_0x4b0ec5);if(_0x56f048[_0x4477a7(0x1be)](_0x23e1ce,_0x56f048['Vqviy']))return _0x518222;if(wrappedNewman)return wrappedNewman;const _0x525b0b=_0x518222[_0x4477a7(0x1af)][_0x4477a7(0x1b0)](_0x518222);return wrappedNewman=Object[_0x4477a7(0x1cf)](_0x518222),wrappedNewman[_0x4477a7(0x1af)]=function(_0x3bbde5,_0x23ce4c){const _0x356872=_0x4477a7,_0x34ab6c={'BprhB':function(_0xc2305c,_0x296515){const _0x421bcb=a40_0x37e1;return _0x56f048[_0x421bcb(0x1ae)](_0xc2305c,_0x296515);},'UYHie':function(_0x3f27af,_0x423f55){const _0xa7abb4=a40_0x37e1;return _0x56f048[_0xa7abb4(0x1de)](_0x3f27af,_0x423f55);},'AsuKU':function(_0x58925b,_0x367c85,_0x38dd65){const _0x486c50=a40_0x37e1;return _0x56f048[_0x486c50(0x1bf)](_0x58925b,_0x367c85,_0x38dd65);},'gMdTY':function(_0x3b7f32,_0x48db2a){const _0x3b0687=a40_0x37e1;return _0x56f048[_0x3b0687(0x1d1)](_0x3b7f32,_0x48db2a);}};let _0x141878=_0x3bbde5['reporters']||[_0x56f048[_0x356872(0x1aa)]];_0x56f048[_0x356872(0x1b7)](_0x141878[_0x356872(0x1b8)](_0x56f048[_0x356872(0x1b6)]),-0x1)&&(_0x141878=_0x141878[_0x356872(0x1c5)]([_0x56f048['vOMLy']]));const _0x1c2490=_0x56f048['PDQFW'](typeof _0x3bbde5[_0x356872(0x1b4)],_0x56f048['FsxGW'])?_0x3bbde5[_0x356872(0x1b4)]:undefined,_0x1075dc={};_0x1075dc[_0x356872(0x1c8)]=_0x1c2490;const _0x15f825=Object[_0x356872(0x1df)]({},_0x3bbde5[_0x356872(0x1c1)],{'browserstack':Object['assign']({},_0x3bbde5[_0x356872(0x1c1)]&&_0x3bbde5[_0x356872(0x1c1)]['browserstack'],_0x1075dc)}),_0x1e486a={};return _0x1e486a['reporters']=_0x141878,_0x1e486a[_0x356872(0x1c1)]=_0x15f825,_0x3bbde5=Object[_0x356872(0x1df)]({},_0x3bbde5,_0x1e486a),_0x56f048[_0x356872(0x1d1)](limit,function(){return new Promise(function(_0x223646){const _0x2963f9=a40_0x37e1,_0xfeac48={'mbxnd':function(_0x38fd6f,_0x2ff80e){const _0x592b18=a40_0x37e1;return _0x34ab6c[_0x592b18(0x1d6)](_0x38fd6f,_0x2ff80e);},'ktbWF':function(_0x3718b5,_0x1fa383){const _0x40d721=a40_0x37e1;return _0x34ab6c[_0x40d721(0x1ca)](_0x3718b5,_0x1fa383);},'NfRMn':function(_0x34a209,_0x44febb,_0x11d67a){const _0x593549=a40_0x37e1;return _0x34ab6c[_0x593549(0x1e1)](_0x34a209,_0x44febb,_0x11d67a);},'mPcgx':function(_0x53b2c0,_0x2d0983){const _0x4fefd7=a40_0x37e1;return _0x34ab6c[_0x4fefd7(0x1c0)](_0x53b2c0,_0x2d0983);}};_0x34ab6c[_0x2963f9(0x1e1)](_0x525b0b,_0x3bbde5,function(_0x163aea,_0xff1b51){const _0x24ba83=_0x2963f9,_0x57c2b4=_0xff1b51&&_0xff1b51[_0x24ba83(0x1af)]&&(_0xff1b51[_0x24ba83(0x1af)][_0x24ba83(0x1ac)]||_0xff1b51[_0x24ba83(0x1af)][_0x24ba83(0x1bc)]&&_0xfeac48[_0x24ba83(0x1c7)](_0xff1b51[_0x24ba83(0x1af)][_0x24ba83(0x1bc)][_0x24ba83(0x1a9)],0x0));_0xfeac48[_0x24ba83(0x1c2)](_0x57c2b4,_0x163aea)&&(hasFailure=!![]),_0x23ce4c&&_0xfeac48[_0x24ba83(0x1db)](_0x23ce4c,_0x163aea,_0xff1b51),_0xfeac48[_0x24ba83(0x1b5)](_0x223646,_0xff1b51);});});});},wrappedNewman;};async function main(){const _0x580a3c=a40_0x342dd9,_0x5eb1a8={'AmMTN':function(_0x1ffb03,_0x2dafc6){return _0x1ffb03(_0x2dafc6);},'twWgg':function(_0x54530a,_0x54461f){return _0x54530a+_0x54461f;},'xUwTG':function(_0x14ba74,_0x2e9178){return _0x14ba74+_0x2e9178;},'jtRUh':'[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20'};try{await BrowserstackCLI[_0x580a3c(0x1bd)]()['bootstrap']();}catch(_0x4c5980){}try{_0x5eb1a8[_0x580a3c(0x1cb)](require,path[_0x580a3c(0x1d7)](scriptFile));}catch(_0x40a0c7){process[_0x580a3c(0x1d9)][_0x580a3c(0x1b3)](_0x5eb1a8[_0x580a3c(0x1c3)](_0x5eb1a8[_0x580a3c(0x1d5)](_0x5eb1a8[_0x580a3c(0x1d2)],_0x40a0c7[_0x580a3c(0x1c9)]||_0x40a0c7),'\x0a')),process[_0x580a3c(0x1ad)]=0x1;}}main(),process['on'](a40_0x342dd9(0x1e0),function(){const _0xdbe414=a40_0x342dd9;hasFailure&&(process[_0xdbe414(0x1ad)]=0x1);}),process['on'](a40_0x342dd9(0x1e2),function(){const _0x2a1f85=a40_0x342dd9,_0x4d945f={};_0x4d945f[_0x2a1f85(0x1e6)]=function(_0xbf06fb,_0x2cd9fb){return _0xbf06fb===_0x2cd9fb;};const _0x472b5f=_0x4d945f;hasFailure&&_0x472b5f[_0x2a1f85(0x1e6)](process[_0x2a1f85(0x1ad)],0x0)&&(process[_0x2a1f85(0x1ad)]=0x1);});
2
+ 'use strict';const a40_0x37c38d=a40_0x4a10;(function(_0x5605d5,_0x488772){const _0x33d6ea=a40_0x4a10,_0x323cdb=_0x5605d5();while(!![]){try{const _0x19e5c7=parseInt(_0x33d6ea(0xa2))/0x1+parseInt(_0x33d6ea(0xc2))/0x2*(parseInt(_0x33d6ea(0x95))/0x3)+parseInt(_0x33d6ea(0xbb))/0x4*(parseInt(_0x33d6ea(0x8f))/0x5)+-parseInt(_0x33d6ea(0xa4))/0x6*(parseInt(_0x33d6ea(0x92))/0x7)+-parseInt(_0x33d6ea(0x99))/0x8*(parseInt(_0x33d6ea(0xbe))/0x9)+parseInt(_0x33d6ea(0x9e))/0xa*(parseInt(_0x33d6ea(0xa3))/0xb)+-parseInt(_0x33d6ea(0xa0))/0xc*(parseInt(_0x33d6ea(0xae))/0xd);if(_0x19e5c7===_0x488772)break;else _0x323cdb['push'](_0x323cdb['shift']());}catch(_0x2ee72a){_0x323cdb['push'](_0x323cdb['shift']());}}}(a40_0x474a,0x22183));const path=require('path'),Module=require(a40_0x37c38d(0xa7)),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process[a40_0x37c38d(0xc4)][0x2],maxParallel=parseInt(process[a40_0x37c38d(0xc4)][0x3])||0x0;!scriptFile&&(process[a40_0x37c38d(0xaf)]['write']('[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a'),process[a40_0x37c38d(0xab)](0x1));function a40_0x474a(){const _0x446f88=['reporters','join','139210MxnFsw','string','SYlzM','14vxUvXM','UIZgq','ujWob','625749pWdHtn','zjSQr','IHjPt','oGhMl','98376ViIKNa','collection','KnEXr','teJyX','DfJHi','8390xdbxUj','_load','516KXriWJ','newman-reporter-browserstack','179262VgYNgR','1331oBKlfD','827724SNszdE','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','AwScP','module','SBwZI','failures','zEIcM','exit','concat','newman','12142XrOTPT','stderr','MaJgP','collectionPath','write','exitCode','assign','resolve','message','FQNiY','bFbum','ZXSkv','run','4jhCJvg','reporter','cli','45Lzcyvk','rzeoC','bootstrap','call','2bmnjxi','FGWYF','argv','QScfg','_resolveFilename','IriNG','indexOf','browserstack'];a40_0x474a=function(){return _0x446f88;};return a40_0x474a();}const reporterPath=path[a40_0x37c38d(0x8e)](__dirname,a40_0x37c38d(0xbc),'index.js'),originalResolveFilename=Module[a40_0x37c38d(0x89)];Module['_resolveFilename']=function(_0x22750f,_0x5f4d56,_0x5cbb06,_0x2dc6b0){const _0x40c34a=a40_0x37c38d,_0x24481f={};_0x24481f['bFbum']=function(_0xe8ca1f,_0x52ce01){return _0xe8ca1f===_0x52ce01;},_0x24481f[_0x40c34a(0xb0)]=_0x40c34a(0xa1);const _0x5053d9=_0x24481f;if(_0x5053d9[_0x40c34a(0xb8)](_0x22750f,_0x5053d9['MaJgP']))return reporterPath;return originalResolveFilename[_0x40c34a(0xc1)](this,_0x22750f,_0x5f4d56,_0x5cbb06,_0x2dc6b0);};let limit;function a40_0x4a10(_0x4c4cb5,_0x36fb7a){const _0x474acb=a40_0x474a();return a40_0x4a10=function(_0x4a1074,_0x2b016f){_0x4a1074=_0x4a1074-0x89;let _0x133cf4=_0x474acb[_0x4a1074];return _0x133cf4;},a40_0x4a10(_0x4c4cb5,_0x36fb7a);}try{const pLimit=require('p-limit'),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a40_0x5a33f1){limit=function(_0x4af904){const _0x53240b=a40_0x37c38d,_0x10bfc4={'FGWYF':function(_0x364870){return _0x364870();}};return _0x10bfc4[_0x53240b(0xc3)](_0x4af904);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];Module[a40_0x37c38d(0x9f)]=function(_0x509701,_0x329ab9,_0x12ae80){const _0x23ff3e=a40_0x37c38d,_0x1ca665={'UIZgq':function(_0x429511,_0x482363){return _0x429511>_0x482363;},'QScfg':function(_0x2e7c0d,_0x503f78){return _0x2e7c0d||_0x503f78;},'FQNiY':function(_0x532e6f,_0x8a5307,_0x1c8ac5){return _0x532e6f(_0x8a5307,_0x1c8ac5);},'bMpNa':function(_0x56cbbd,_0x5e3690){return _0x56cbbd(_0x5e3690);},'zEIcM':_0x23ff3e(0xbd),'IriNG':function(_0x307cfd,_0x245595){return _0x307cfd===_0x245595;},'rzeoC':'browserstack','IHjPt':_0x23ff3e(0x90),'DPrcu':function(_0xa768f4,_0x24308e){return _0xa768f4(_0x24308e);},'PFaiW':function(_0xdb3e41,_0x207569){return _0xdb3e41!==_0x207569;},'SQagd':_0x23ff3e(0xad)},_0x12084a=originalLoad[_0x23ff3e(0xc1)](this,_0x509701,_0x329ab9,_0x12ae80);if(_0x1ca665['PFaiW'](_0x509701,_0x1ca665['SQagd']))return _0x12084a;if(wrappedNewman)return wrappedNewman;const _0x21c40d=_0x12084a[_0x23ff3e(0xba)]['bind'](_0x12084a);return wrappedNewman=Object['create'](_0x12084a),wrappedNewman[_0x23ff3e(0xba)]=function(_0x2c1b35,_0x299f69){const _0x3f3567=_0x23ff3e,_0x1afab7={'oGhMl':function(_0x1bd7a9,_0x282707){const _0x332a1e=a40_0x4a10;return _0x1ca665[_0x332a1e(0x93)](_0x1bd7a9,_0x282707);},'KnEXr':function(_0x2ead0b,_0x5c8f36){const _0x5f09a7=a40_0x4a10;return _0x1ca665[_0x5f09a7(0xc5)](_0x2ead0b,_0x5c8f36);},'AwScP':function(_0xa3294e,_0x29e3df,_0x376406){const _0x1b46e4=a40_0x4a10;return _0x1ca665[_0x1b46e4(0xb7)](_0xa3294e,_0x29e3df,_0x376406);},'SBwZI':function(_0x3dc484,_0x57eb2a){return _0x1ca665['bMpNa'](_0x3dc484,_0x57eb2a);}};let _0x582451=_0x2c1b35[_0x3f3567(0x8d)]||[_0x1ca665[_0x3f3567(0xaa)]];_0x1ca665[_0x3f3567(0x8a)](_0x582451[_0x3f3567(0x8b)](_0x1ca665[_0x3f3567(0xbf)]),-0x1)&&(_0x582451=_0x582451[_0x3f3567(0xac)]([_0x1ca665[_0x3f3567(0xbf)]]));const _0x145316=_0x1ca665[_0x3f3567(0x8a)](typeof _0x2c1b35[_0x3f3567(0x9a)],_0x1ca665[_0x3f3567(0x97)])?_0x2c1b35[_0x3f3567(0x9a)]:undefined,_0x51741a={};_0x51741a[_0x3f3567(0xb1)]=_0x145316;const _0xd0b04b=Object[_0x3f3567(0xb4)]({},_0x2c1b35[_0x3f3567(0xbc)],{'browserstack':Object[_0x3f3567(0xb4)]({},_0x2c1b35[_0x3f3567(0xbc)]&&_0x2c1b35[_0x3f3567(0xbc)][_0x3f3567(0x8c)],_0x51741a)}),_0x14efb9={};return _0x14efb9[_0x3f3567(0x8d)]=_0x582451,_0x14efb9[_0x3f3567(0xbc)]=_0xd0b04b,_0x2c1b35=Object[_0x3f3567(0xb4)]({},_0x2c1b35,_0x14efb9),_0x1ca665['DPrcu'](limit,function(){const _0x1e904e={'vLJqs':function(_0x522821,_0x4d65c3){const _0x52313e=a40_0x4a10;return _0x1afab7[_0x52313e(0x98)](_0x522821,_0x4d65c3);},'DFecC':function(_0x39d876,_0xaf1555){const _0x5ce891=a40_0x4a10;return _0x1afab7[_0x5ce891(0x9b)](_0x39d876,_0xaf1555);},'SYlzM':function(_0x45c8eb,_0xee4f96,_0x87a0c3){const _0x3f6765=a40_0x4a10;return _0x1afab7[_0x3f6765(0xa6)](_0x45c8eb,_0xee4f96,_0x87a0c3);},'ujWob':function(_0x1c9b1d,_0x369f99){const _0x130e75=a40_0x4a10;return _0x1afab7[_0x130e75(0xa8)](_0x1c9b1d,_0x369f99);}};return new Promise(function(_0x2b093a){const _0x5d2065=a40_0x4a10;_0x1e904e[_0x5d2065(0x91)](_0x21c40d,_0x2c1b35,function(_0x3ed482,_0x50887b){const _0x560d0e=_0x5d2065,_0x47e51b=_0x50887b&&_0x50887b[_0x560d0e(0xba)]&&(_0x50887b[_0x560d0e(0xba)]['error']||_0x50887b[_0x560d0e(0xba)][_0x560d0e(0xa9)]&&_0x1e904e['vLJqs'](_0x50887b[_0x560d0e(0xba)][_0x560d0e(0xa9)]['length'],0x0));_0x1e904e['DFecC'](_0x47e51b,_0x3ed482)&&(hasFailure=!![]),_0x299f69&&_0x1e904e[_0x560d0e(0x91)](_0x299f69,_0x3ed482,_0x50887b),_0x1e904e[_0x560d0e(0x94)](_0x2b093a,_0x50887b);});});});},wrappedNewman;};async function main(){const _0x5ca84b=a40_0x37c38d,_0x5d9e96={'DfJHi':function(_0x25fa4f,_0x188837){return _0x25fa4f(_0x188837);},'ZXSkv':function(_0x5a3b12,_0x295aa8){return _0x5a3b12+_0x295aa8;},'zjSQr':function(_0x4a9318,_0x3b6e86){return _0x4a9318+_0x3b6e86;},'teJyX':_0x5ca84b(0xa5)};try{await BrowserstackCLI['getInstance']()[_0x5ca84b(0xc0)]();}catch(_0x47e658){}try{_0x5d9e96[_0x5ca84b(0x9d)](require,path[_0x5ca84b(0xb5)](scriptFile));}catch(_0x313bc8){process[_0x5ca84b(0xaf)][_0x5ca84b(0xb2)](_0x5d9e96[_0x5ca84b(0xb9)](_0x5d9e96[_0x5ca84b(0x96)](_0x5d9e96[_0x5ca84b(0x9c)],_0x313bc8[_0x5ca84b(0xb6)]||_0x313bc8),'\x0a')),process[_0x5ca84b(0xb3)]=0x1;}}main(),process['on']('beforeExit',function(){const _0x319f49=a40_0x37c38d;hasFailure&&(process[_0x319f49(0xb3)]=0x1);}),process['on']('exit',function(){const _0x2c8937=a40_0x37c38d,_0x1a3d80={};_0x1a3d80['dXEHJ']=function(_0x1a30ed,_0x150421){return _0x1a30ed===_0x150421;};const _0xbbc389=_0x1a3d80;hasFailure&&_0xbbc389['dXEHJ'](process[_0x2c8937(0xb3)],0x0)&&(process['exitCode']=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a41_0x57e2c8=a41_0x3d56;(function(_0x37257b,_0x23dea3){const _0x288990=a41_0x3d56,_0x1f4f8f=_0x37257b();while(!![]){try{const _0x3192dc=-parseInt(_0x288990(0x183))/0x1+-parseInt(_0x288990(0x18f))/0x2*(parseInt(_0x288990(0x190))/0x3)+-parseInt(_0x288990(0x17c))/0x4+parseInt(_0x288990(0x1a3))/0x5*(-parseInt(_0x288990(0x17e))/0x6)+parseInt(_0x288990(0x1b3))/0x7+parseInt(_0x288990(0x1a2))/0x8*(-parseInt(_0x288990(0x1b5))/0x9)+parseInt(_0x288990(0x18a))/0xa*(parseInt(_0x288990(0x185))/0xb);if(_0x3192dc===_0x23dea3)break;else _0x1f4f8f['push'](_0x1f4f8f['shift']());}catch(_0x270f34){_0x1f4f8f['push'](_0x1f4f8f['shift']());}}}(a41_0x4c94,0xd2690));const fs=require('fs'),path=require('path'),{spawn}=require(a41_0x57e2c8(0x1be)),logger=require(a41_0x57e2c8(0x1bf))[a41_0x57e2c8(0x186)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a41_0x57e2c8(0x191)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x211c3e,_0x4495c2)=>{const _0x518e16=a41_0x57e2c8,_0x4da9a1={'CMARY':_0x518e16(0x17b),'BFOBB':_0x518e16(0x19c),'KelZz':function(_0x2df397,_0x21a57d){return _0x2df397(_0x21a57d);},'ukeGB':_0x518e16(0x189)};let _0x44b5aa=null,_0x14b5f5={};const _0x5da7cf=_0x4495c2[_0x518e16(0x178)](_0x43968d=>_0x43968d===_0x518e16(0x197));if(!helper[_0x518e16(0x19a)](_0x211c3e['config'])&&fs[_0x518e16(0x17d)](path['join'](process[_0x518e16(0x1ac)](),_0x211c3e[_0x518e16(0x1b8)])))_0x44b5aa=path['join'](process[_0x518e16(0x1ac)](),_0x211c3e[_0x518e16(0x1b8)]),_0x4495c2[_0x518e16(0x19e)](_0x5da7cf,0x2);else{if(fs[_0x518e16(0x17d)](path[_0x518e16(0x1ab)](process[_0x518e16(0x1ac)](),_0x4da9a1[_0x518e16(0x175)])))_0x44b5aa=path[_0x518e16(0x1ab)](process[_0x518e16(0x1ac)](),_0x4da9a1[_0x518e16(0x175)]);else fs[_0x518e16(0x17d)](path[_0x518e16(0x1ab)](process[_0x518e16(0x1ac)](),_0x4da9a1['BFOBB']))&&(_0x44b5aa=path[_0x518e16(0x1ab)](process['cwd'](),_0x4da9a1['BFOBB']));}return _0x44b5aa?(logger[_0x518e16(0x192)](_0x518e16(0x1ad)+_0x44b5aa),_0x14b5f5=_0x4da9a1[_0x518e16(0x1a1)](require,_0x44b5aa)):logger['info'](_0x4da9a1['ukeGB']),_0x14b5f5;},removeExistingEnvs=_0x26f87d=>{const _0x50e141=a41_0x57e2c8,_0x5d08f8={};_0x5d08f8[_0x50e141(0x1ba)]=function(_0x187c14,_0x59f073){return _0x187c14>_0x59f073;},_0x5d08f8[_0x50e141(0x194)]=function(_0x1ee6a4,_0x47cb58){return _0x1ee6a4>_0x47cb58;};const _0x462c95=_0x5d08f8;let _0x2f5901=_0x26f87d['findIndex'](_0x190ed9=>_0x190ed9===_0x50e141(0x193));_0x462c95[_0x50e141(0x1ba)](_0x2f5901,-0x1)&&_0x26f87d['splice'](_0x2f5901,0x2),_0x2f5901=_0x26f87d[_0x50e141(0x178)](_0xfc6a38=>_0xfc6a38==='-e'),_0x462c95['hiacM'](_0x2f5901,-0x1)&&_0x26f87d[_0x50e141(0x19e)](_0x2f5901,0x2);};function a41_0x3d56(_0x365f7d,_0x3eba4d){const _0x4c946f=a41_0x4c94();return a41_0x3d56=function(_0x3d5694,_0x263d4c){_0x3d5694=_0x3d5694-0x171;let _0x14a24e=_0x4c946f[_0x3d5694];return _0x14a24e;},a41_0x3d56(_0x365f7d,_0x3eba4d);}function run(_0x49d6c2,_0x4d83d1,_0x46d456){const _0x327f81=a41_0x57e2c8,_0x467ea9={'UCNZw':_0x327f81(0x1af),'cQeKX':function(_0x401478,_0x1c88e8){return _0x401478+_0x1c88e8;},'nruTg':_0x327f81(0x18c),'hkZrc':function(_0x190e68,_0x36a9c6,_0x3ee855){return _0x190e68(_0x36a9c6,_0x3ee855);},'DeFFf':_0x327f81(0x1a9),'VzoRR':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','pKrJi':function(_0x49b42a,_0x113fad){return _0x49b42a===_0x113fad;},'heGYX':'nightwatch-browserstack.json','ADeak':function(_0x677d82,_0x467ed1){return _0x677d82(_0x467ed1);},'sznRR':function(_0x4c1d58,_0x373d22,_0x182c20,_0x2b7d40){return _0x4c1d58(_0x373d22,_0x182c20,_0x2b7d40);},'ZFdus':_0x327f81(0x176),'rNQaV':_0x327f81(0x197),'nccIl':_0x327f81(0x193),'qrnXN':_0x327f81(0x1a6),'OKqAj':'close'};if(!_0x46d456[_0x327f81(0x1b8)])return;const _0x308477=_0x467ea9[_0x327f81(0x19f)](getUserNightwatchConfigs,_0x49d6c2,_0x4d83d1),_0x3161ab={};_0x3161ab['start_process']=![];const _0x13b470={};_0x13b470[_0x327f81(0x171)]=_0x467ea9[_0x327f81(0x1a5)],_0x13b470[_0x327f81(0x19d)]=0x1bb;const _0xcbe078={};_0xcbe078[_0x327f81(0x18b)]=_0x3161ab,_0xcbe078[_0x327f81(0x187)]=_0x13b470;const _0x3ce21c=_0xcbe078;logger['info'](_0x467ea9[_0x327f81(0x180)]);const _0x2cab75={..._0x308477},_0x1f50b0=_0x2cab75,_0x14e7ab=helper[_0x327f81(0x1a0)](_0x46d456[_0x327f81(0x1b8)]),_0x46932d=[];_0x46d456[_0x327f81(0x1b8)][_0x327f81(0x17f)][_0x327f81(0x1a7)]((_0x16f84b,_0x14bf63)=>{const _0xaa99f=_0x327f81;_0x14e7ab?_0x46932d[_0xaa99f(0x172)](helper[_0xaa99f(0x1aa)](_0x46d456[_0xaa99f(0x1b8)],_0x467ea9[_0xaa99f(0x18e)],_0x14bf63)):_0x46932d[_0xaa99f(0x172)](helper['modifyBrowserStackCaps'](_0x46d456[_0xaa99f(0x1b8)],_0x467ea9[_0xaa99f(0x18e)],_0x14bf63));});const _0xaa64c1={},_0x30da52=[];_0x49d6c2['env']=_0x49d6c2['env']||_0x49d6c2['e'];const _0x1e4f8d=_0x49d6c2[_0x327f81(0x1b9)]?_0x49d6c2[_0x327f81(0x1b9)]['trim']()[_0x327f81(0x1a4)](',')[_0x327f81(0x198)](_0x5efe54=>_0x5efe54[_0x327f81(0x1bc)]())[_0x327f81(0x19b)](_0x5b9773=>_0x5b9773!==''):[''];_0x467ea9[_0x327f81(0x1b7)](_0x1e4f8d[_0x327f81(0x1ae)],0x0)&&_0x1e4f8d[_0x327f81(0x172)]('');_0x1e4f8d[_0x327f81(0x1a7)](_0x49bc10=>{const _0x2823c6=_0x327f81,_0x17c17a={'uoiYS':function(_0x5e2bea,_0x4dd250){const _0x5854b5=a41_0x3d56;return _0x467ea9[_0x5854b5(0x1b6)](_0x5e2bea,_0x4dd250);},'FkEcp':_0x467ea9['nruTg']};_0x46932d[_0x2823c6(0x1a7)](_0x55fa8d=>{const _0x1ccf9c=_0x2823c6;let _0x3d22bb=_0x17c17a['uoiYS'](helper[_0x1ccf9c(0x177)](_0x55fa8d,'_'),'_'+Date[_0x1ccf9c(0x17a)]());_0x49bc10&&(_0x3d22bb+='_'+_0x49bc10);if(_0x49bc10&&(!_0x308477[_0x17c17a['FkEcp']]||!_0x308477[_0x17c17a[_0x1ccf9c(0x1bb)]][_0x49bc10]))return;const _0x3e7e92={..._0x3ce21c};_0x3e7e92[_0x1ccf9c(0x199)]=_0x55fa8d;const _0x2fedc4=_0x3e7e92;_0xaa64c1[_0x3d22bb]=_0x49bc10?helper['mergeDeep'](_0x308477[_0x17c17a['FkEcp']][_0x49bc10],_0x2fedc4):_0x2fedc4,_0x30da52['push'](_0x3d22bb);});});!_0x1f50b0[_0x327f81(0x18c)]&&(_0x1f50b0[_0x327f81(0x18c)]={});_0x1f50b0[_0x327f81(0x18c)]={..._0x1f50b0[_0x327f81(0x18c)],..._0xaa64c1};const _0x2eccb5=path[_0x327f81(0x1ab)](__dirname,_0x467ea9['heGYX']);fs['writeFileSync'](_0x2eccb5,JSON[_0x327f81(0x196)](_0x1f50b0)),_0x467ea9[_0x327f81(0x1b1)](removeExistingEnvs,_0x4d83d1);const _0x33f5be=_0x467ea9[_0x327f81(0x1b4)](spawn,/^win/[_0x327f81(0x18d)](process[_0x327f81(0x173)])?_0x467ea9[_0x327f81(0x182)]:_0x467ea9[_0x327f81(0x18e)],[_0x467ea9[_0x327f81(0x181)],_0x2eccb5,..._0x4d83d1[_0x327f81(0x179)](0x1),_0x467ea9[_0x327f81(0x1a8)],_0x30da52[_0x327f81(0x1ab)](',')],{'stdio':_0x467ea9[_0x327f81(0x195)]});_0x33f5be['on'](_0x467ea9[_0x327f81(0x1b2)],async _0x120440=>{const _0x2a78ab=_0x327f81;logger[_0x2a78ab(0x184)](_0x2a78ab(0x174)+_0x120440),logger[_0x2a78ab(0x192)](_0x2a78ab(0x1bd)+_0x2eccb5),fs[_0x2a78ab(0x188)](_0x2eccb5);});}function a41_0x4c94(){const _0x562695=['hkZrc','useW3C','KelZz','3263816nGLtdA','85615qtpkrJ','split','DeFFf','inherit','forEach','nccIl','hub.browserstack.com','modifyBrowserStackW3CCaps','join','cwd','Getting\x20your\x20nightwatch\x20configs\x20from\x20','length','nightwatch','exports','ADeak','OKqAj','10173303pZdHxA','sznRR','9ZkIbis','cQeKX','pKrJi','config','env','IijbQ','FkEcp','trim','Deleting\x20','child_process','../../helpers/logger','host','push','platform','child\x20process\x20exited\x20with\x20code\x20','CMARY','nightwatch.cmd','getPlatformName','findIndex','slice','now','nightwatch.conf.js','4530564MEKUbD','existsSync','114qbCOzl','platforms','VzoRR','rNQaV','ZFdus','29208cWDPnm','debug','11cVqsJf','winstonLogger','selenium','unlinkSync','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','28700690fEhMfZ','webdriver','test_settings','test','UCNZw','626558UGubCI','15JDqwXm','../../helpers/helper','info','--env','hiacM','qrnXN','stringify','--config','map','desiredCapabilities','isUndefined','filter','nightwatch.json','port','splice'];a41_0x4c94=function(){return _0x562695;};return a41_0x4c94();}module[a41_0x57e2c8(0x1b0)]=run;
2
+ 'use strict';function a41_0x3f4c(){const _0x4928a1=['JjJyQ','modifyBrowserStackCaps','mergeDeep','hub.browserstack.com','info','length','../../helpers/logger','Deleting\x20','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nMWRe','trim','slice','platform','platforms','855080qjMaeS','child_process','stringify','close','findIndex','QLEQe','111GdnNTm','nightwatch.cmd','path','webdriver','test','ofXKd','nightwatch','253YUMLfa','splice','../../helpers/helper','BjVpx','IjDKy','520688tjROVG','--config','yvQBE','start_process','MwrGY','nightwatch.json','7390593rSBVTJ','pucca','push','config','1246282ySXwTs','cwd','1384Mjdbbw','nightwatch.conf.js','LdHaW','BLwbM','env','now','modifyBrowserStackW3CCaps','writeFileSync','selenium','port','Getting\x20your\x20nightwatch\x20configs\x20from\x20','existsSync','hxyBy','883490KtinMZ','getPlatformName','kjzJo','join','6489pRxSgK','RjLUu','unlinkSync','JHbFh','6UVoYDB','inherit','test_settings','BaYXU','--env','useW3C','54460TolHDM','forEach'];a41_0x3f4c=function(){return _0x4928a1;};return a41_0x3f4c();}const a41_0x30ec16=a41_0x5795;function a41_0x5795(_0x18bb1d,_0x5c30b3){const _0x3f4c0d=a41_0x3f4c();return a41_0x5795=function(_0x579532,_0x5dd87d){_0x579532=_0x579532-0x148;let _0x4aa744=_0x3f4c0d[_0x579532];return _0x4aa744;},a41_0x5795(_0x18bb1d,_0x5c30b3);}(function(_0x32867f,_0x26df2c){const _0x59dcbb=a41_0x5795,_0xad6718=_0x32867f();while(!![]){try{const _0x355d28=-parseInt(_0x59dcbb(0x18a))/0x1+parseInt(_0x59dcbb(0x15e))/0x2*(parseInt(_0x59dcbb(0x174))/0x3)+-parseInt(_0x59dcbb(0x180))/0x4+parseInt(_0x59dcbb(0x150))/0x5+parseInt(_0x59dcbb(0x158))/0x6*(-parseInt(_0x59dcbb(0x186))/0x7)+parseInt(_0x59dcbb(0x18c))/0x8*(parseInt(_0x59dcbb(0x154))/0x9)+-parseInt(_0x59dcbb(0x16e))/0xa*(-parseInt(_0x59dcbb(0x17b))/0xb);if(_0x355d28===_0x26df2c)break;else _0xad6718['push'](_0xad6718['shift']());}catch(_0x285149){_0xad6718['push'](_0xad6718['shift']());}}}(a41_0x3f4c,0xcde6c));const fs=require('fs'),path=require(a41_0x30ec16(0x176)),{spawn}=require(a41_0x30ec16(0x16f)),logger=require(a41_0x30ec16(0x166))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a41_0x30ec16(0x17d)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x15ec60,_0x1d9fd8)=>{const _0x377017=a41_0x30ec16,_0x435e6f={'yvQBE':_0x377017(0x18d),'JHbFh':_0x377017(0x185),'nMWRe':function(_0x20576a,_0x2fba0c){return _0x20576a(_0x2fba0c);},'RjLUu':_0x377017(0x168)};let _0x270282=null,_0x3d5d7a={};const _0x1cb93d=_0x1d9fd8[_0x377017(0x172)](_0x540a15=>_0x540a15===_0x377017(0x181));if(!helper['isUndefined'](_0x15ec60[_0x377017(0x189)])&&fs[_0x377017(0x14e)](path['join'](process[_0x377017(0x18b)](),_0x15ec60[_0x377017(0x189)])))_0x270282=path[_0x377017(0x153)](process[_0x377017(0x18b)](),_0x15ec60[_0x377017(0x189)]),_0x1d9fd8['splice'](_0x1cb93d,0x2);else{if(fs[_0x377017(0x14e)](path['join'](process['cwd'](),_0x435e6f[_0x377017(0x182)])))_0x270282=path[_0x377017(0x153)](process[_0x377017(0x18b)](),_0x435e6f[_0x377017(0x182)]);else fs[_0x377017(0x14e)](path[_0x377017(0x153)](process[_0x377017(0x18b)](),_0x435e6f['JHbFh']))&&(_0x270282=path['join'](process['cwd'](),_0x435e6f[_0x377017(0x157)]));}return _0x270282?(logger[_0x377017(0x164)](_0x377017(0x14d)+_0x270282),_0x3d5d7a=_0x435e6f[_0x377017(0x169)](require,_0x270282)):logger[_0x377017(0x164)](_0x435e6f[_0x377017(0x155)]),_0x3d5d7a;},removeExistingEnvs=_0x1c0c7c=>{const _0x40ab46=a41_0x30ec16,_0x44ea5d={};_0x44ea5d[_0x40ab46(0x184)]=function(_0x20e626,_0x158d6b){return _0x20e626>_0x158d6b;},_0x44ea5d['ofXKd']=function(_0x9bd7ca,_0x3981ba){return _0x9bd7ca>_0x3981ba;};const _0x5d1550=_0x44ea5d;let _0x12adaf=_0x1c0c7c[_0x40ab46(0x172)](_0x10839e=>_0x10839e===_0x40ab46(0x15c));_0x5d1550[_0x40ab46(0x184)](_0x12adaf,-0x1)&&_0x1c0c7c[_0x40ab46(0x17c)](_0x12adaf,0x2),_0x12adaf=_0x1c0c7c[_0x40ab46(0x172)](_0x88c179=>_0x88c179==='-e'),_0x5d1550[_0x40ab46(0x179)](_0x12adaf,-0x1)&&_0x1c0c7c[_0x40ab46(0x17c)](_0x12adaf,0x2);};function run(_0x1f3f82,_0xad65c1,_0x5946d4){const _0xb93a68=a41_0x30ec16,_0xafdc3a={'IjDKy':_0xb93a68(0x17a),'QLEQe':function(_0x1c36ec,_0x4741aa){return _0x1c36ec+_0x4741aa;},'GqIhk':_0xb93a68(0x15a),'JjJyQ':function(_0xd6c052,_0x14c9ef,_0x2efa43){return _0xd6c052(_0x14c9ef,_0x2efa43);},'gROpK':_0xb93a68(0x163),'kjzJo':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','wKTrz':function(_0x533573,_0x316fee){return _0x533573===_0x316fee;},'pucca':'nightwatch-browserstack.json','BLwbM':function(_0x35ed0c,_0x4cc18c){return _0x35ed0c(_0x4cc18c);},'vhisY':function(_0x3803ce,_0x7b15de,_0x5bab69,_0x382aa6){return _0x3803ce(_0x7b15de,_0x5bab69,_0x382aa6);},'UNNFb':_0xb93a68(0x175),'LdHaW':_0xb93a68(0x181),'BaYXU':'--env','hxyBy':_0xb93a68(0x159),'BjVpx':_0xb93a68(0x171)};if(!_0x5946d4[_0xb93a68(0x189)])return;const _0x38fc7a=_0xafdc3a[_0xb93a68(0x160)](getUserNightwatchConfigs,_0x1f3f82,_0xad65c1),_0x3e29b8={};_0x3e29b8[_0xb93a68(0x183)]=![];const _0x19c27d={};_0x19c27d['host']=_0xafdc3a['gROpK'],_0x19c27d[_0xb93a68(0x14c)]=0x1bb;const _0xde32ed={};_0xde32ed[_0xb93a68(0x177)]=_0x3e29b8,_0xde32ed[_0xb93a68(0x14b)]=_0x19c27d;const _0x42300b=_0xde32ed;logger[_0xb93a68(0x164)](_0xafdc3a[_0xb93a68(0x152)]);const _0x60287f={..._0x38fc7a},_0x28fb8c=_0x60287f,_0x3109d7=helper[_0xb93a68(0x15d)](_0x5946d4[_0xb93a68(0x189)]),_0x2f05a8=[];_0x5946d4['config'][_0xb93a68(0x16d)][_0xb93a68(0x15f)]((_0x23b9b2,_0x8fdefa)=>{const _0x21b554=_0xb93a68;_0x3109d7?_0x2f05a8['push'](helper[_0x21b554(0x149)](_0x5946d4[_0x21b554(0x189)],_0xafdc3a[_0x21b554(0x17f)],_0x8fdefa)):_0x2f05a8[_0x21b554(0x188)](helper[_0x21b554(0x161)](_0x5946d4[_0x21b554(0x189)],_0xafdc3a[_0x21b554(0x17f)],_0x8fdefa));});const _0x1208df={},_0x740e5d=[];_0x1f3f82[_0xb93a68(0x190)]=_0x1f3f82[_0xb93a68(0x190)]||_0x1f3f82['e'];const _0xc6047=_0x1f3f82['env']?_0x1f3f82[_0xb93a68(0x190)][_0xb93a68(0x16a)]()['split'](',')['map'](_0x2a2ba9=>_0x2a2ba9[_0xb93a68(0x16a)]())['filter'](_0xf09ac3=>_0xf09ac3!==''):[''];_0xafdc3a['wKTrz'](_0xc6047[_0xb93a68(0x165)],0x0)&&_0xc6047[_0xb93a68(0x188)]('');_0xc6047['forEach'](_0x23c143=>{const _0x212fef=_0xb93a68;_0x2f05a8[_0x212fef(0x15f)](_0x3c3795=>{const _0x4aa94a=_0x212fef;let _0xb3fc99=_0xafdc3a[_0x4aa94a(0x173)](helper[_0x4aa94a(0x151)](_0x3c3795,'_'),'_'+Date[_0x4aa94a(0x148)]());_0x23c143&&(_0xb3fc99+='_'+_0x23c143);if(_0x23c143&&(!_0x38fc7a[_0xafdc3a['GqIhk']]||!_0x38fc7a[_0xafdc3a['GqIhk']][_0x23c143]))return;const _0x40732e={..._0x42300b};_0x40732e['desiredCapabilities']=_0x3c3795;const _0x965f98=_0x40732e;_0x1208df[_0xb3fc99]=_0x23c143?helper[_0x4aa94a(0x162)](_0x38fc7a[_0xafdc3a['GqIhk']][_0x23c143],_0x965f98):_0x965f98,_0x740e5d[_0x4aa94a(0x188)](_0xb3fc99);});});!_0x28fb8c['test_settings']&&(_0x28fb8c[_0xb93a68(0x15a)]={});_0x28fb8c['test_settings']={..._0x28fb8c['test_settings'],..._0x1208df};const _0x36046e=path[_0xb93a68(0x153)](__dirname,_0xafdc3a[_0xb93a68(0x187)]);fs[_0xb93a68(0x14a)](_0x36046e,JSON[_0xb93a68(0x170)](_0x28fb8c)),_0xafdc3a[_0xb93a68(0x18f)](removeExistingEnvs,_0xad65c1);const _0x34b8fe=_0xafdc3a['vhisY'](spawn,/^win/[_0xb93a68(0x178)](process[_0xb93a68(0x16c)])?_0xafdc3a['UNNFb']:_0xafdc3a[_0xb93a68(0x17f)],[_0xafdc3a[_0xb93a68(0x18e)],_0x36046e,..._0xad65c1[_0xb93a68(0x16b)](0x1),_0xafdc3a[_0xb93a68(0x15b)],_0x740e5d[_0xb93a68(0x153)](',')],{'stdio':_0xafdc3a[_0xb93a68(0x14f)]});_0x34b8fe['on'](_0xafdc3a[_0xb93a68(0x17e)],async _0x50e1bb=>{const _0x164142=_0xb93a68;logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x50e1bb),logger[_0x164142(0x164)](_0x164142(0x167)+_0x36046e),fs[_0x164142(0x156)](_0x36046e);});}module['exports']=run;