browserstack-node-sdk 1.52.1 → 1.52.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 (193) 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 +5 -5
  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/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a32_0x494e(_0x595788,_0x48086b){const _0x11617d=a32_0x1161();return a32_0x494e=function(_0x494edf,_0x1ae573){_0x494edf=_0x494edf-0x108;let _0xd686ca=_0x11617d[_0x494edf];return _0xd686ca;},a32_0x494e(_0x595788,_0x48086b);}const a32_0x26ccc1=a32_0x494e;(function(_0x45a6d7,_0x346352){const _0x5e186c=a32_0x494e,_0x302930=_0x45a6d7();while(!![]){try{const _0x3ffabb=parseInt(_0x5e186c(0x130))/0x1*(parseInt(_0x5e186c(0x177))/0x2)+-parseInt(_0x5e186c(0x10d))/0x3*(parseInt(_0x5e186c(0x109))/0x4)+-parseInt(_0x5e186c(0x199))/0x5*(parseInt(_0x5e186c(0x144))/0x6)+parseInt(_0x5e186c(0x1dc))/0x7*(parseInt(_0x5e186c(0x115))/0x8)+-parseInt(_0x5e186c(0x136))/0x9*(-parseInt(_0x5e186c(0x19a))/0xa)+parseInt(_0x5e186c(0x1ca))/0xb*(parseInt(_0x5e186c(0x1b0))/0xc)+-parseInt(_0x5e186c(0x15d))/0xd;if(_0x3ffabb===_0x346352)break;else _0x302930['push'](_0x302930['shift']());}catch(_0x109236){_0x302930['push'](_0x302930['shift']());}}}(a32_0x1161,0x7902d));const chalk=require(a32_0x26ccc1(0x140)),logger=require(a32_0x26ccc1(0x195))['winstonLogger'],helper=require('../../helpers/helper'),utilities=require(a32_0x26ccc1(0x1ad)),testOpsHelper=require(a32_0x26ccc1(0x1ef)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a32_0x26ccc1(0x203)),{requireModule,nestedKeyValue}=require(a32_0x26ccc1(0x1b4)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule('mocha/lib/reporters/base.js',a32_0x26ccc1(0x11b)),collectFiles=requireModule('mocha/lib/cli/collect-files.js',a32_0x26ccc1(0x11b)),constants=require('../utils/constants'),PerformanceTester=require(a32_0x26ccc1(0x1d6)),PerformanceEvents=require(a32_0x26ccc1(0x145))['EVENTS'],centralScannerConstants=require(a32_0x26ccc1(0x19f)),{FRAMEWORKS}=require(a32_0x26ccc1(0x13a)),TestHubHandler=require(a32_0x26ccc1(0x11f)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function tag(_0x436d0a,_0xc77a9c,_0x1d1d05,_0x3be7fd){const _0xade95c=a32_0x26ccc1,_0x208ac1={'pumfT':function(_0x35ea1b,_0x2fd8f2){return _0x35ea1b+_0x2fd8f2;},'TmQUS':function(_0x23e8a3,_0xdb4edf){return _0x23e8a3+_0xdb4edf;},'IwIlY':function(_0x5bb73c,_0x3857ca){return _0x5bb73c(_0x3857ca);},'aNUQZ':function(_0x4582fa,_0x2719de){return _0x4582fa+_0x2719de;},'fqYrj':function(_0x5d2a52,_0x19f44d){return _0x5d2a52+_0x19f44d;},'Dxiqx':function(_0x408c95,_0x3cf20f){return _0x408c95+_0x3cf20f;},'HnNnU':function(_0xa92614,_0x4e8d36){return _0xa92614+_0x4e8d36;}},_0x2a86e7=_0x1d1d05?'/>':'>',_0x43132f=[];let _0x1c742c;for(const _0x3a05c2 in _0xc77a9c){Object['prototype'][_0xade95c(0x1e4)]['call'](_0xc77a9c,_0x3a05c2)&&_0x43132f['push'](_0x208ac1[_0xade95c(0x16c)](_0x208ac1[_0xade95c(0x209)](_0x208ac1[_0xade95c(0x16c)](_0x3a05c2,'=\x22'),_0x208ac1[_0xade95c(0x1c5)](escape,_0xc77a9c[_0x3a05c2])),'\x22'));}return _0x1c742c=_0x208ac1[_0xade95c(0x17d)](_0x208ac1['fqYrj'](_0x208ac1['aNUQZ']('<',_0x436d0a),_0x43132f['length']?_0x208ac1[_0xade95c(0x19b)]('\x20',_0x43132f[_0xade95c(0x201)]('\x20')):''),_0x2a86e7),_0x3be7fd&&(_0x1c742c+=_0x208ac1[_0xade95c(0x209)](_0x208ac1[_0xade95c(0x143)](_0x208ac1[_0xade95c(0x169)](_0x3be7fd,'</'),_0x436d0a),_0x2a86e7)),_0x1c742c;}let xunitContent='';function xunitWrite(_0xb80b03){xunitContent+=_0xb80b03;}function xunitTest(_0x5f2a5e,_0x51640e){const _0x4a7dc7=a32_0x26ccc1,_0x4b5a92={'lqGLN':function(_0x304d30,_0x4025f0){return _0x304d30/_0x4025f0;},'lNXXo':function(_0x1405bd,_0x435839){return _0x1405bd===_0x435839;},'yWfWi':_0x4a7dc7(0x156),'gyoqZ':function(_0x1e378c,_0x578e2b){return _0x1e378c+_0x578e2b;},'VKZyp':function(_0x48efc0,_0x2eda51){return _0x48efc0(_0x2eda51);},'VSsTk':function(_0x794c8f,_0x138d2c,_0x3a5bd1,_0x1f8250,_0x49a28e){return _0x794c8f(_0x138d2c,_0x3a5bd1,_0x1f8250,_0x49a28e);},'zYkSw':'testcase','QOTYi':_0x4a7dc7(0x1db),'KdnCd':function(_0x2f8b10,_0x19a81b){return _0x2f8b10(_0x19a81b);},'oPtXF':function(_0x17589c,_0x393e0e){return _0x17589c(_0x393e0e);},'yDkOu':function(_0x90080d,_0x287477){return _0x90080d(_0x287477);},'mKNHH':function(_0x12d80c,_0x522aa8,_0xc7068a,_0x3a939e,_0x3c85d4){return _0x12d80c(_0x522aa8,_0xc7068a,_0x3a939e,_0x3c85d4);},'HHyCq':function(_0x207aa6,_0x887841,_0x4331f6,_0x2f2fbb){return _0x207aa6(_0x887841,_0x4331f6,_0x2f2fbb);},'NNhma':_0x4a7dc7(0x1c2),'cqOsO':function(_0x38962a,_0x384565){return _0x38962a(_0x384565);}};Base[_0x4a7dc7(0x14d)]=![];var _0x4fc524={'classname':_0x5f2a5e[_0x4a7dc7(0x167)],'name':_0x5f2a5e[_0x4a7dc7(0x13d)],'time':_0x4b5a92['lqGLN'](_0x5f2a5e[_0x4a7dc7(0x11a)],0x3e8)||0x0,'platform':_0x51640e};if(_0x4b5a92[_0x4a7dc7(0x1cb)](_0x5f2a5e['state'],_0x4b5a92[_0x4a7dc7(0x16b)])){var _0x174933=_0x5f2a5e['err'],_0x4c383a=!Base[_0x4a7dc7(0x113)]&&Base[_0x4a7dc7(0x1ed)](_0x174933)?_0x4b5a92['gyoqZ']('\x0a',Base[_0x4a7dc7(0x1ec)](_0x174933['actual'],_0x174933[_0x4a7dc7(0x181)])):'';_0x4b5a92[_0x4a7dc7(0x10b)](xunitWrite,_0x4b5a92[_0x4a7dc7(0x20a)](tag,_0x4b5a92[_0x4a7dc7(0x1c8)],_0x4fc524,![],_0x4b5a92['VSsTk'](tag,_0x4b5a92[_0x4a7dc7(0x1f8)],{},![],_0x4b5a92['gyoqZ'](_0x4b5a92[_0x4a7dc7(0x135)](_0x4b5a92['gyoqZ'](_0x4b5a92[_0x4a7dc7(0x10b)](escape,_0x174933[_0x4a7dc7(0x17c)]),_0x4b5a92['KdnCd'](escape,_0x4c383a)),'\x0a'),_0x4b5a92['oPtXF'](escape,_0x174933[_0x4a7dc7(0x15f)])))));}else _0x5f2a5e[_0x4a7dc7(0x149)]?_0x4b5a92[_0x4a7dc7(0x194)](xunitWrite,_0x4b5a92['mKNHH'](tag,_0x4b5a92[_0x4a7dc7(0x1c8)],_0x4fc524,![],_0x4b5a92[_0x4a7dc7(0x159)](tag,_0x4b5a92[_0x4a7dc7(0x121)],{},!![]))):_0x4b5a92[_0x4a7dc7(0x15c)](xunitWrite,_0x4b5a92[_0x4a7dc7(0x159)](tag,_0x4b5a92[_0x4a7dc7(0x1c8)],_0x4fc524,!![]));};function getStats(_0xadbea6){const _0x17cbe9=a32_0x26ccc1,_0x90a74f={};_0x90a74f[_0x17cbe9(0x13e)]=_0x17cbe9(0x176),_0x90a74f[_0x17cbe9(0x11d)]=_0x17cbe9(0x1de),_0x90a74f[_0x17cbe9(0x12f)]=_0x17cbe9(0x156),_0x90a74f['ensVJ']=_0x17cbe9(0x1e1);const _0x17077f=_0x90a74f,_0x1408ae=Object[_0x17cbe9(0x1af)](_0xadbea6);let _0x3fda25=0x0,_0x7f7bc7=0x0,_0x2b30bb=0x0,_0x1fa09c=0x0;const _0x485ef9=new Set();_0x1408ae[_0x17cbe9(0x108)](_0x2cc560=>{const _0x37de14=_0x17cbe9;_0xadbea6[_0x2cc560][_0x17077f[_0x37de14(0x1d0)]][_0x37de14(0x108)](_0x2d36b0=>{const _0x33bbfe=_0x37de14;_0x485ef9[_0x33bbfe(0x1e0)](_0x2d36b0[_0x17077f['lNIdi']]),_0x3fda25++;switch(_0x2d36b0['state']){case _0x17077f[_0x33bbfe(0x11d)]:_0x2b30bb++;break;case _0x17077f[_0x33bbfe(0x12f)]:_0x7f7bc7++;break;default:_0x1fa09c++;}});});const _0x18c59c={};return _0x18c59c['testSuites']=_0x485ef9['size'],_0x18c59c[_0x17cbe9(0x17e)]=_0x1408ae,_0x18c59c[_0x17cbe9(0x189)]=_0x3fda25,_0x18c59c['testsFailed']=_0x7f7bc7,_0x18c59c[_0x17cbe9(0x1a7)]=_0x2b30bb,_0x18c59c['testsPending']=_0x1fa09c,_0x18c59c;}function errorJSON(_0x18830e){const _0x8de24e=a32_0x26ccc1;var _0x2b5809={};return Object[_0x8de24e(0x161)](_0x18830e)['forEach'](function(_0x11b2ef){_0x2b5809[_0x11b2ef]=_0x18830e[_0x11b2ef];},_0x18830e),_0x2b5809;}function cleanCycles(_0x11bcf6){const _0x5cee5f=a32_0x26ccc1,_0x4cc395={};_0x4cc395[_0x5cee5f(0x12e)]=function(_0x443184,_0x4165c6){return _0x443184===_0x4165c6;},_0x4cc395[_0x5cee5f(0x18b)]=_0x5cee5f(0x1b7),_0x4cc395['StcIe']=function(_0xc15bb9,_0x313c9a){return _0xc15bb9!==_0x313c9a;},_0x4cc395[_0x5cee5f(0x174)]=function(_0x313cb6,_0x42bf95){return _0x313cb6+_0x42bf95;};const _0xfc2c0c=_0x4cc395;var _0x2c974=[];return JSON['parse'](JSON[_0x5cee5f(0x190)](_0x11bcf6,function(_0x2223a9,_0x4e10c9){const _0x54d432=_0x5cee5f;if(_0xfc2c0c[_0x54d432(0x12e)](typeof _0x4e10c9,_0xfc2c0c[_0x54d432(0x18b)])&&_0xfc2c0c['StcIe'](_0x4e10c9,null)){if(_0xfc2c0c['StcIe'](_0x2c974[_0x54d432(0x1b3)](_0x4e10c9),-0x1))return _0xfc2c0c['IUFkG']('',_0x4e10c9);_0x2c974['push'](_0x4e10c9);}return _0x4e10c9;}));}function clean(_0x34d41e){const _0x4c5e81=a32_0x26ccc1,_0x5002f3={'HycgR':function(_0x5a7166,_0x42144b){return _0x5a7166 instanceof _0x42144b;},'XRpbw':function(_0x56334a,_0x3d0b0d){return _0x56334a(_0x3d0b0d);}};var _0x5418cc=_0x34d41e[_0x4c5e81(0x165)]||{};return _0x5002f3['HycgR'](_0x5418cc,Error)&&(_0x5418cc=_0x5002f3[_0x4c5e81(0x18a)](errorJSON,_0x5418cc)),{'title':_0x34d41e[_0x4c5e81(0x13d)],'fullTitle':_0x34d41e[_0x4c5e81(0x167)],'file':_0x34d41e[_0x4c5e81(0x160)],'duration':_0x34d41e[_0x4c5e81(0x11a)],'currentRetry':_0x34d41e[_0x4c5e81(0x1b8)],'speed':_0x34d41e[_0x4c5e81(0x1ee)],'err':_0x5002f3[_0x4c5e81(0x18a)](cleanCycles,_0x5418cc)};}function a32_0x1161(){const _0x251668=['getOwnPropertyNames','cjs','testsPending','BROWSERSTACK_TEST_OBSERVABILITY_YML','err','cYQhT','fullTitle','useW3C','HnNnU','includeEncodedExtension','yWfWi','pumfT','RODaz','yqmQJ','recursive','configuration','sSmSN','PMuqQ','tTJef','IUFkG','sort','suite','1902598gqmawf','reporterOptions','reporter','khBbD','accessibilityOptions','message','aNUQZ','platforms','\x20total','test','expected','ignore','qZSiN','config','platform','cliConfig','spec','rhhDE','totalTests','XRpbw','pzJce','errorMessage','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','MeVOu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stringify','ZQGrw','error','parseFileNames','yDkOu','../../helpers/logger','CYCsQ','\x20passed','logLevel','5ySyjdP','3730qCWAtE','fqYrj','Total\x20Platforms:\x20','exports','reporter-option','../../helpers/central-scanner/constants','QgwMF','Tests:\x20\x20\x20\x20\x20\x20\x20','excludeTagsInTestingScope','FQQvc','parallelsPerPlatform','push','Couldn\x27t\x20write\x20xunit\x20result\x20to','testsPassed','bstack:options','isUndefined','BROWSERSTACK_RERUN_TESTS','red','getErrorMessageFromResults','../../helpers/utilities','sDUwA','keys','1896LlFTFs','XiwSn','files','indexOf','../../helpers/helper','BmTAa','shouldReRunObservabilityTests','object','currentRetry','consoleLog','info','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','xunit','fuFgi','state','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','SDgqj','stats','skipped','env','jMyPe','IwIlY','oqEsJ','BuNvc','zYkSw','handleApp','24343DCxygf','lNXXo','moYXV','VrbNg','framework','log','ensVJ','Setting\x20non\x20exit\x20code\x20for\x20failures','cXvVP','list','lrdFE','finalExecution','../../helpers/performance/performance-tester','BAuKo','retries','testsFailed','retryTestsOnFailure','failure','7aelFMf','PYmzX','passed','pending','add','results','isTestObservabilitySession','maxRetries','hasOwnProperty','zTEpD','NJfHA','kqACT','\x20platforms','getTCGConfigFilePaths','printBuildLink','assign','generateDiff','showDiff','speed','../../helpers/test-observability/utils','CRBKj','rerunTests','xxRJs','unlinkSync','XsjBG','fireFunnelTestEvent','sXbXM','testObservability','QOTYi','Bpkuf','debug','titlePath','finally','TdNVD','AjAcE','ijBME','Mocha\x20Tests','join','wBxAZ','../test-runner','ruqzB','writeFileSync','BROWSERSTACK_GRR_US_HUB_URL','VMqka','MFifR','TmQUS','VSsTk','forEach','3534932SEAEjG','TGzjd','VKZyp','proxySettings','3XeqtbY','start','Listing\x20all\x20the\x20failures','Writing\x20json\x20result\x20to\x20file','SfQaa','UUSzx','hideDiff','bold','4949256mLmqRp','****\x20FAILURES\x20****','iJkRp','central_scanner','RAsaZ','duration','mocha','mXhGF','IJFtK','testSuites','../../helpers/testhub/testhubHandler','evfrB','NNhma','HjUrH','then','xiEgR','bSsYb','validPlatformsPresent','JCpGr','suiteName','qdYZo','wkRaB','prepareCapabilities','isBrowserstackInfra','SDK_CLEANUP','zoBrl','MqhLt','1WAUFBI','xAUXF','extension','capability','Total\x20Suites:\x20','gyoqZ','9576FfevKZ','getUserWorkerCount','length','PsELn','../../helpers/test-observability/constants','rsrkl','notifyUpdate','title','lNIdi','\x0a\x0a\x0a','chalk','Writing\x20xunit\x20result\x20to\x20file','rootHooks','Dxiqx','5589150yyiQYY','../../helpers/performance/constants','zYyHx','toUTCString','output','isPending','AWLEG','uguPA','map','useColors','failures','Running\x20your\x20mocha\x20tests\x20across\x20','bgBlueBright','getPlatformName','includeTagsInTestingScope','FRAMEWORKS','JDmYE','isNotUndefined','failed','MOCHA','accessibility','HHyCq','gBlcQ','initialize','cqOsO','72319QAPawd','IdOFC','stack','file'];a32_0x1161=function(){return _0x251668;};return a32_0x1161();}function printStats(_0x1d795a,_0x4bc211=a32_0x26ccc1(0x187),_0x5983ab={}){const _0x4a6c72=a32_0x26ccc1,_0x120429={'VrbNg':function(_0x3d9860,_0x1b2ed3){return _0x3d9860(_0x1b2ed3);},'FQQvc':function(_0x189ebc,_0x122225){return _0x189ebc===_0x122225;},'mXhGF':_0x4a6c72(0x1de),'RODaz':'passes','XiwSn':function(_0x5520ee,_0x38072e){return _0x5520ee===_0x38072e;},'jMyPe':_0x4a6c72(0x156),'WBRfx':_0x4a6c72(0x14e),'NJfHA':function(_0x188367,_0x10cb3e){return _0x188367(_0x10cb3e);},'sDUwA':_0x4a6c72(0x1df),'lrdFE':'results','BmTAa':function(_0x53dbff,_0x5cc508){return _0x53dbff===_0x5cc508;},'SRHjD':function(_0x10cb1d,_0x3e75c4){return _0x10cb1d*_0x3e75c4;},'IdOFC':function(_0x5f2ff6,_0x130b1a,_0x3f97bb){return _0x5f2ff6(_0x130b1a,_0x3f97bb);},'zTEpD':function(_0x41c13a,_0x54ba84){return _0x41c13a>_0x54ba84;},'AjAcE':function(_0x1f625f){return _0x1f625f();},'JuYwp':function(_0x5ecf22,_0x12b145){return _0x5ecf22===_0x12b145;},'JDmYE':'doc','cjrtB':function(_0x3c974d,_0x1e19a1){return _0x3c974d(_0x1e19a1);},'xiEgR':_0x4a6c72(0x1d1),'otVkp':'Printing\x20stats\x20of\x20tests','oqEsJ':function(_0x14cb5b,_0x188815){return _0x14cb5b+_0x188815;},'PJPPu':_0x4a6c72(0x19c),'gNUlh':_0x4a6c72(0x134),'rhhDE':function(_0x35af8e,_0x172a8a){return _0x35af8e+_0x172a8a;},'xRFCZ':_0x4a6c72(0x1a1),'qZSiN':function(_0x57451e,_0x5c1b18){return _0x57451e>_0x5c1b18;},'zYyHx':function(_0x4e1bcd,_0x5f89a5){return _0x4e1bcd>_0x5f89a5;},'xPTPc':function(_0x276f01,_0xcfab39){return _0x276f01+_0xcfab39;},'TdNVD':function(_0x3ac82c,_0x22b1e8){return _0x3ac82c+_0x22b1e8;},'moYXV':_0x4a6c72(0x13f),'fuFgi':function(_0x56a78f,_0x211725){return _0x56a78f===_0x211725;},'uguPA':'json','qdYZo':_0x4a6c72(0x110),'PYmzX':'Couldn\x27t\x20write\x20json\x20result\x20to','KcYTY':_0x4a6c72(0x1bb),'Bpkuf':_0x4a6c72(0x1bc),'khBbD':_0x4a6c72(0x200),'LPyQe':function(_0x1114de,_0x35f7cc){return _0x1114de||_0x35f7cc;},'HjUrH':function(_0x4fb267,_0x168432){return _0x4fb267(_0x168432);},'evfrB':function(_0xbd67ea,_0x4b9890,_0x1a8789,_0x22d4da){return _0xbd67ea(_0x4b9890,_0x1a8789,_0x22d4da);},'XsjBG':'testsuite','cYQhT':function(_0x334f4d,_0x2ed63d){return _0x334f4d-_0x2ed63d;},'wBxAZ':function(_0x55113d,_0x2595c9){return _0x55113d-_0x2595c9;},'SDgqj':function(_0x27e1bc,_0x35984a){return _0x27e1bc/_0x35984a;},'cXvVP':function(_0x6394e0,_0x35be28){return _0x6394e0(_0x35be28);},'Qwoug':'</testsuite>','CYCsQ':_0x4a6c72(0x141),'CRBKj':_0x4a6c72(0x1a6),'gBlcQ':_0x4a6c72(0x1bf),'iJkRp':function(_0x5250ce,_0x5a28f8){return _0x5250ce===_0x5a28f8;},'TGzjd':_0x4a6c72(0x10f),'bSsYb':_0x4a6c72(0x116)};if(_0x120429['JuYwp'](_0x4bc211,_0x120429[_0x4a6c72(0x154)]))return;const _0x584009=0x0,_0x35dd91=()=>{const _0x11e2c2=_0x4a6c72;return _0x120429[_0x11e2c2(0x1cd)](Array,_0x584009)[_0x11e2c2(0x201)]('\x20\x20');},{testSuites:_0x12c864,platforms:_0x3b44ab,totalTests:_0x179b37,testsFailed:_0x45a854,testsPassed:_0x32e275,testsPending:_0xd9d288}=_0x120429['cjrtB'](getStats,_0x1d795a);_0x120429[_0x4a6c72(0x1e5)](_0x45a854,0x0)&&(logger['debug'](_0x120429[_0x4a6c72(0x124)]),process['exitCode']=Math['min'](_0x45a854,0xff));logger[_0x4a6c72(0x1fa)](_0x120429['otVkp']);const _0x17ced9=''+_0x120429[_0x4a6c72(0x1c6)](chalk[_0x4a6c72(0x114)](_0x120429['PJPPu']),_0x3b44ab[_0x4a6c72(0x138)]),_0x24a4cd=''+_0x120429[_0x4a6c72(0x1c6)](chalk[_0x4a6c72(0x114)](_0x120429['gNUlh']),_0x12c864),_0x108a09=''+_0x120429[_0x4a6c72(0x188)](_0x120429[_0x4a6c72(0x1c6)](_0x120429[_0x4a6c72(0x1c6)](chalk['bold'](_0x120429['xRFCZ']),_0x120429['zTEpD'](_0x45a854,0x0)?chalk[_0x4a6c72(0x114)][_0x4a6c72(0x1ab)](_0x45a854+'\x20failed')+',\x20':''),_0x120429[_0x4a6c72(0x183)](_0xd9d288,0x0)?chalk[_0x4a6c72(0x114)]['yellow'](_0xd9d288+'\x20skipped')+',\x20':''),_0x120429[_0x4a6c72(0x146)](_0x32e275,0x0)?chalk[_0x4a6c72(0x114)]['green'](_0x32e275+_0x4a6c72(0x197))+',\x20':'')+_0x179b37+_0x4a6c72(0x17f);console['log'](_0x120429['xPTPc'](_0x120429[_0x4a6c72(0x1c6)](_0x120429[_0x4a6c72(0x1fd)](_0x120429[_0x4a6c72(0x1fd)](_0x120429[_0x4a6c72(0x1c6)](_0x120429[_0x4a6c72(0x1cc)],_0x17ced9),'\x0a'),_0x24a4cd),'\x0a'),_0x108a09));if(_0x120429[_0x4a6c72(0x1bd)](_0x4bc211,_0x120429[_0x4a6c72(0x14b)])){const _0x22c72d={},_0x44f554={};_0x44f554[_0x4a6c72(0x11e)]=_0x12c864,_0x44f554[_0x4a6c72(0x17e)]=_0x3b44ab,_0x44f554[_0x4a6c72(0x1d9)]=_0x45a854,_0x44f554[_0x4a6c72(0x1a7)]=_0x32e275,_0x44f554[_0x4a6c72(0x163)]=_0xd9d288,_0x22c72d[_0x4a6c72(0x1c1)]=_0x44f554,_0x3b44ab['forEach'](_0x549b0e=>{const _0x4dafa7=_0x4a6c72;_0x22c72d[_0x549b0e]={'pending':[],'failures':[],'passes':[],'tests':_0x1d795a[_0x549b0e][_0x120429['lrdFE']][_0x4dafa7(0x14c)](clean)},_0x1d795a[_0x549b0e][_0x120429[_0x4dafa7(0x1d4)]]['forEach'](_0x4245c0=>{const _0x55320e=_0x4dafa7;if(_0x120429[_0x55320e(0x1a3)](_0x4245c0[_0x55320e(0x1be)],_0x120429[_0x55320e(0x11c)]))_0x22c72d[_0x549b0e][_0x120429[_0x55320e(0x16d)]][_0x55320e(0x1a5)](_0x120429[_0x55320e(0x1cd)](clean,_0x4245c0));else _0x120429[_0x55320e(0x1b1)](_0x4245c0['state'],_0x120429[_0x55320e(0x1c4)])?_0x22c72d[_0x549b0e][_0x120429['WBRfx']][_0x55320e(0x1a5)](_0x120429[_0x55320e(0x1e6)](clean,_0x4245c0)):_0x22c72d[_0x549b0e][_0x120429[_0x55320e(0x1ae)]][_0x55320e(0x1a5)](_0x120429['NJfHA'](clean,_0x4245c0));});});if(_0x5983ab['output'])try{logger[_0x4a6c72(0x1fa)](_0x120429[_0x4a6c72(0x129)],_0x5983ab[_0x4a6c72(0x148)]),fs[_0x4a6c72(0x205)](_0x5983ab[_0x4a6c72(0x148)],JSON[_0x4a6c72(0x190)](_0x22c72d,null,0x3));}catch(_0x269ff6){logger['error'](_0x120429[_0x4a6c72(0x1dd)],_0x5983ab[_0x4a6c72(0x148)]),logger[_0x4a6c72(0x1fa)](_0x269ff6);}else logger['debug'](_0x120429['KcYTY']),console[_0x4a6c72(0x1cf)](JSON[_0x4a6c72(0x190)](_0x22c72d,null,0x3));}else{if(_0x120429[_0x4a6c72(0x1b1)](_0x4bc211,_0x120429[_0x4a6c72(0x1f9)])){let _0x145eba;const _0x2aed50=_0x120429[_0x4a6c72(0x17a)];_0x5983ab&&(_0x145eba=_0x5983ab[_0x4a6c72(0x128)]);_0x145eba=_0x120429['LPyQe'](_0x145eba,_0x2aed50);let _0x456840=0x0,_0x3b5e16=0x0,_0x2027bd=0x0,_0x405b52=0x0;_0x3b44ab[_0x4a6c72(0x108)](_0x5a8218=>{const _0x2862fe=_0x4a6c72,_0x44dc4f={'MFifR':function(_0x346534,_0x3f80a0){const _0x791369=a32_0x494e;return _0x120429[_0x791369(0x1a3)](_0x346534,_0x3f80a0);},'UUSzx':_0x120429[_0x2862fe(0x11c)],'VMqka':function(_0x44bacf,_0x29ecee){const _0x249762=_0x2862fe;return _0x120429[_0x249762(0x1b5)](_0x44bacf,_0x29ecee);},'kqACT':_0x120429[_0x2862fe(0x1c4)],'SfQaa':function(_0x23717d,_0x2bf1fb){return _0x120429['SRHjD'](_0x23717d,_0x2bf1fb);}};_0x1d795a[_0x5a8218][_0x120429['lrdFE']][_0x2862fe(0x108)](_0x18c6b2=>{const _0x11101a=_0x2862fe;if(_0x44dc4f[_0x11101a(0x208)](_0x18c6b2[_0x11101a(0x1be)],_0x44dc4f[_0x11101a(0x112)]))_0x456840++;else _0x44dc4f[_0x11101a(0x207)](_0x18c6b2['state'],_0x44dc4f[_0x11101a(0x1e7)])&&_0x3b5e16++;_0x2027bd++,_0x405b52+=_0x44dc4f[_0x11101a(0x111)](_0x18c6b2[_0x11101a(0x11a)],0x1);});}),_0x120429[_0x4a6c72(0x122)](xunitWrite,_0x120429[_0x4a6c72(0x120)](tag,_0x120429[_0x4a6c72(0x1f4)],{'name':_0x145eba,'tests':_0x2027bd,'failures':0x0,'errors':_0x3b5e16,'skipped':_0x120429[_0x4a6c72(0x166)](_0x120429[_0x4a6c72(0x202)](_0x2027bd,_0x3b5e16),_0x456840),'timestamp':new Date()[_0x4a6c72(0x147)](),'time':_0x120429[_0x4a6c72(0x1c0)](_0x405b52,0x3e8)||0x0},![])),_0x3b44ab['forEach'](_0x53a0b3=>{const _0x4e81c6=_0x4a6c72,_0x20513c={'PsELn':function(_0xb24192,_0x54c5fc,_0x953b0){const _0x1bc391=a32_0x494e;return _0x120429[_0x1bc391(0x15e)](_0xb24192,_0x54c5fc,_0x953b0);}};_0x1d795a[_0x53a0b3][_0x120429[_0x4e81c6(0x1d4)]][_0x4e81c6(0x108)](_0x27376d=>{const _0x5b3eb7=_0x4e81c6;_0x20513c[_0x5b3eb7(0x139)](xunitTest,_0x27376d,_0x53a0b3);});}),_0x120429[_0x4a6c72(0x1d2)](xunitWrite,_0x120429['Qwoug']);if(_0x5983ab[_0x4a6c72(0x148)])try{logger[_0x4a6c72(0x1fa)](_0x120429[_0x4a6c72(0x196)],_0x5983ab[_0x4a6c72(0x148)]),fs['writeFileSync'](_0x5983ab[_0x4a6c72(0x148)],xunitContent);}catch(_0x3339c8){logger[_0x4a6c72(0x192)](_0x120429[_0x4a6c72(0x1f0)],_0x5983ab[_0x4a6c72(0x148)]),logger[_0x4a6c72(0x1fa)](_0x3339c8);}else logger['debug'](_0x120429[_0x4a6c72(0x15a)]),console[_0x4a6c72(0x1cf)](xunitContent);}else{if(_0x120429[_0x4a6c72(0x117)](_0x45a854,0x0))return;console[_0x4a6c72(0x1cf)](),logger[_0x4a6c72(0x1fa)](_0x120429[_0x4a6c72(0x10a)]),console['log'](chalk[_0x4a6c72(0x114)]['bgRedBright'](_0x120429[_0x4a6c72(0x125)])),_0x3b44ab[_0x4a6c72(0x108)](_0x566623=>{const _0x41c798=_0x4a6c72,_0x1935a9={'UChYt':function(_0x91efee,_0x4a9ae9){const _0x337195=a32_0x494e;return _0x120429[_0x337195(0x1a3)](_0x91efee,_0x4a9ae9);},'sXbXM':_0x120429[_0x41c798(0x1c4)]},_0x2339dc=[];_0x1d795a[_0x566623][_0x120429['lrdFE']][_0x41c798(0x108)](_0x528ddf=>{const _0x45473f=_0x41c798;_0x1935a9['UChYt'](_0x528ddf[_0x45473f(0x1be)],_0x1935a9[_0x45473f(0x1f6)])&&(_0x528ddf[_0x45473f(0x1fb)]=()=>_0x528ddf['titlePathV'],_0x2339dc[_0x45473f(0x1a5)](_0x528ddf));}),_0x120429['zTEpD'](_0x2339dc['length'],0x0)&&(Base[_0x41c798(0x1b9)](),Base[_0x41c798(0x1b9)](_0x120429[_0x41c798(0x1fe)](_0x35dd91),chalk['bold'][_0x41c798(0x150)](_0x566623)),Base[_0x41c798(0x1d3)](_0x2339dc));});}}}async function run(_0x293569,_0x2eccdc,_0x555923){const _0x33ccf3=a32_0x26ccc1,_0x4e0b18={'xAUXF':function(_0x1d13c5,_0x214755,_0x50d96e,_0x2ea829){return _0x1d13c5(_0x214755,_0x50d96e,_0x2ea829);},'yqmQJ':_0x33ccf3(0x19e),'MeVOu':'error\x20removing\x20tcg\x20config\x20file','tTJef':'SDKTestSuccessful','BAuKo':function(_0x250044,_0x131dbc,_0x5a13df,_0x59a830){return _0x250044(_0x131dbc,_0x5a13df,_0x59a830);},'BuNvc':_0x33ccf3(0x11b),'xxRJs':function(_0x40ff49,_0x247807){return _0x40ff49!=_0x247807;},'sSmSN':_0x33ccf3(0x162),'QgwMF':'mjs','ruqzB':_0x33ccf3(0x180),'RAsaZ':_0x33ccf3(0x1f1),'rsrkl':function(_0x138ac2,_0x758981){return _0x138ac2(_0x758981);},'wkRaB':function(_0x56b190,_0x5da4b7,_0x13e769){return _0x56b190(_0x5da4b7,_0x13e769);},'OiEBK':'files','unuRF':_0x33ccf3(0x152),'JCpGr':_0x33ccf3(0x1a2),'qfJnb':_0x33ccf3(0x16a),'ijBME':'Running\x20your\x20mocha\x20tests','xZIBx':'Now,\x20showing\x20logs\x20from\x20mocha','PMuqQ':function(_0x1b1678,_0x17710d,_0x3764fe,_0x4d9c1a){return _0x1b1678(_0x17710d,_0x3764fe,_0x4d9c1a);},'AWLEG':function(_0x38c77c,_0x140c7c){return _0x38c77c*_0x140c7c;},'ZQGrw':function(_0x570ed9,_0x5353bf){return _0x570ed9!==_0x5353bf;},'Zfziv':function(_0x5d5917,_0x3e4229,_0x37a9dc,_0x1f0746){return _0x5d5917(_0x3e4229,_0x37a9dc,_0x1f0746);}};helper['setUserConfigPath'](_0x555923['framework'],_0x293569),await _0x555923[_0x33ccf3(0x15b)](_0x293569);helper[_0x33ccf3(0x12c)]()?await helper[_0x33ccf3(0x1c9)](_0x555923['config']):await _0x555923['setupTCGAuth']();const _0x5041d0=[];let _0x2cb564=[];if(!_0x555923['config'])return;!helper['isUndefined'](_0x555923[_0x33ccf3(0x184)][_0x33ccf3(0x17b)])&&(process[_0x33ccf3(0x1c3)][_0x33ccf3(0x18f)]=JSON[_0x33ccf3(0x190)](_0x555923[_0x33ccf3(0x184)][_0x33ccf3(0x17b)]));const _0x9d4482=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x33ccf3(0x157)],_0x555923);_0x4e0b18['xxRJs'](_0x555923['config']['testObservability'],null)&&(process[_0x33ccf3(0x1c3)][_0x33ccf3(0x164)]=_0x555923[_0x33ccf3(0x184)][_0x33ccf3(0x1f7)]);!helper[_0x33ccf3(0x1a9)](_0x555923[_0x33ccf3(0x184)][_0x33ccf3(0x158)])&&(process[_0x33ccf3(0x1c3)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x555923[_0x33ccf3(0x184)][_0x33ccf3(0x158)]);const {extension:extension=['js',_0x4e0b18[_0x33ccf3(0x171)],_0x4e0b18[_0x33ccf3(0x1a0)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4e0b18[_0x33ccf3(0x204)]]}=_0x293569,_0x2b7dfd={..._0x293569};_0x2b7dfd[_0x33ccf3(0x142)]=null;const _0x583173=_0x2b7dfd;let _0x22f554;if(testOpsHelper[_0x33ccf3(0x1e2)]()&&testOpsHelper[_0x33ccf3(0x1b6)]()){let _0x7baf7a=process[_0x33ccf3(0x1c3)][_0x33ccf3(0x1aa)];!helper[_0x33ccf3(0x1a9)](_0x555923[_0x33ccf3(0x186)])&&_0x555923[_0x33ccf3(0x186)]['has'](_0x4e0b18[_0x33ccf3(0x119)])&&(_0x7baf7a=_0x555923[_0x33ccf3(0x186)]['get'](_0x4e0b18['RAsaZ'])),_0x22f554=testOpsHelper[_0x33ccf3(0x193)](_0x7baf7a);}if(helper['isUndefined'](_0x22f554)){const _0x277444={};_0x277444[_0x33ccf3(0x182)]=ignore,_0x277444[_0x33ccf3(0x132)]=extension,_0x277444[_0x33ccf3(0x160)]=file,_0x277444[_0x33ccf3(0x16f)]=recursive,_0x277444[_0x33ccf3(0x175)]=sort,_0x277444['spec']=spec,_0x22f554=_0x4e0b18['rsrkl'](collectFiles,_0x277444),_0x4e0b18[_0x33ccf3(0x12a)](nestedKeyValue,_0x22f554,[_0x4e0b18['OiEBK']])&&(_0x22f554=_0x22f554[_0x33ccf3(0x1b2)]);}const _0x42b34a=helper['parseTestOrchestrationOptions'](_0x555923[_0x33ccf3(0x184)]);!helper['isEmpty'](_0x42b34a)&&helper[_0x33ccf3(0x155)](_0x42b34a['retryTestsOnFailure'])&&(_0x583173[_0x33ccf3(0x1d8)]=_0x42b34a[_0x33ccf3(0x1da)][_0x33ccf3(0x1e3)]);if(!helper[_0x33ccf3(0x12c)]()){const _0x271d62=0x1,_0x353449={..._0x583173};_0x353449['spec']=[..._0x22f554],_0x5041d0['push']({'mochaOpts':_0x353449,'configuration':{'platform':os[_0x33ccf3(0x185)]()}});if(_0x555923[_0x33ccf3(0x184)][_0x33ccf3(0x158)]){const _0xfaa01c={};_0xfaa01c[_0x33ccf3(0x158)]=!![];const _0x1858f6=_0xfaa01c;_0x4e0b18[_0x33ccf3(0x1f2)](_0x555923[_0x33ccf3(0x184)][_0x33ccf3(0x17b)],null)&&(_0x1858f6['accessibilityOptions']=_0x555923[_0x33ccf3(0x184)]['accessibilityOptions'],delete _0x1858f6[_0x33ccf3(0x17b)][_0x4e0b18['unuRF']],delete _0x1858f6[_0x33ccf3(0x17b)][_0x4e0b18[_0x33ccf3(0x127)]],delete _0x1858f6[_0x33ccf3(0x17b)][_0x4e0b18['qfJnb']]);const _0x3fb5b1={};_0x3fb5b1[_0x33ccf3(0x1a8)]=_0x1858f6,_0x5041d0[0x0][_0x33ccf3(0x170)][_0x33ccf3(0x133)]=_0x3fb5b1;}logger[_0x33ccf3(0x1ba)](_0x4e0b18[_0x33ccf3(0x1ff)]),logger[_0x33ccf3(0x1ba)](_0x4e0b18['xZIBx']),_0x4e0b18[_0x33ccf3(0x172)](parallelTestRun,_0x5041d0,_0x271d62,_0x555923)['then'](_0x50d147=>{const _0x1fbac8=_0x33ccf3;PerformanceTester[_0x1fbac8(0x10e)](PerformanceEvents['SDK_CLEANUP']),_0x4e0b18[_0x1fbac8(0x131)](printStats,_0x50d147,_0x293569[_0x1fbac8(0x179)],_0x293569['reporterOptions']||_0x293569[_0x4e0b18[_0x1fbac8(0x16e)]]);})[_0x33ccf3(0x1fc)](()=>{const _0x51408=_0x33ccf3;PerformanceTester[_0x51408(0x10e)](PerformanceEvents[_0x51408(0x12d)]);try{const {browserstackFolderPath:_0x8e392,tcgConfigPath:_0x298f44}=helper[_0x51408(0x1e9)]();fs[_0x51408(0x1f3)](_0x298f44),fs['rmdirSync'](_0x8e392);}catch(_0x1c2916){logger[_0x51408(0x1fa)](_0x4e0b18[_0x51408(0x18e)],_0x1c2916);}try{utilities[_0x51408(0x1f5)](_0x4e0b18[_0x51408(0x173)],{},_0x555923[_0x51408(0x184)],_0x555923[_0x51408(0x1ce)]);}catch(_0x3b860b){logger[_0x51408(0x1fa)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x3b860b[_0x51408(0x15f)]);}try{helper[_0x51408(0x13c)]();}catch(_0x4c7b17){logger['debug'](_0x51408(0x18d)+_0x4c7b17);}testOpsHelper[_0x51408(0x1ea)]();});}else{const _0x231269=helper[_0x33ccf3(0x168)](_0x555923[_0x33ccf3(0x184)]);let _0x574d6e=helper['getHubUrl'](_0x555923[_0x33ccf3(0x184)]);_0x2cb564=helper[_0x33ccf3(0x12b)](_0x555923[_0x33ccf3(0x184)],_0x231269,constants[_0x33ccf3(0x153)][_0x33ccf3(0x157)]);helper['getCentralUser']()[_0x33ccf3(0x118)]&&(_0x574d6e=centralScannerConstants[_0x33ccf3(0x206)]);let _0x57de6c;const _0x5e1465=_0x555923['config'][_0x33ccf3(0x1a4)]||helper[_0x33ccf3(0x137)](_0x293569,_0x2eccdc,_0x555923['config'],constants[_0x33ccf3(0x153)]['MOCHA'])||0x1;helper[_0x33ccf3(0x126)](_0x555923['config'])?_0x57de6c=_0x4e0b18[_0x33ccf3(0x14a)](_0x555923[_0x33ccf3(0x184)]['platforms']['length'],_0x5e1465):_0x57de6c=_0x5e1465;const _0x5fd911=_0x4e0b18[_0x33ccf3(0x13b)](getPercyOptions,_0x555923[_0x33ccf3(0x184)]);if(_0x4e0b18[_0x33ccf3(0x191)](_0x555923['config']['parallelsPerPlatform'],0x1))_0x22f554[_0x33ccf3(0x108)](_0x243126=>{const _0x134636=[];_0x2cb564['forEach']((_0x31be63,_0x3d0e66)=>{const _0x5b3eb6=a32_0x494e,_0x305ffa={};_0x305ffa[_0x5b3eb6(0x187)]=[_0x243126],_0x134636['push']({'mochaOpts':Object[_0x5b3eb6(0x1eb)]({},_0x583173,_0x305ffa),'configuration':{'server':_0x574d6e,'capability':_0x31be63,'proxySettings':_0x555923[_0x5b3eb6(0x184)][_0x5b3eb6(0x10c)],'platform':helper[_0x5b3eb6(0x151)](_0x31be63),'browserStackLogLevel':_0x555923[_0x5b3eb6(0x184)][_0x5b3eb6(0x198)],'platformIndex':_0x3d0e66,'browserStackPercyOptions':_0x5fd911,'platformCaps':Object[_0x5b3eb6(0x1eb)]({'index':_0x3d0e66},_0x555923[_0x5b3eb6(0x184)][_0x5b3eb6(0x17e)][_0x3d0e66])}});}),_0x5041d0['push'](..._0x134636);});else{const _0x227c49=[];_0x2cb564[_0x33ccf3(0x108)]((_0x3a30c9,_0x5ba49f)=>{const _0x3139c3=_0x33ccf3;let _0xf440e7=Object['assign']({},_0x583173);testOpsHelper[_0x3139c3(0x1e2)]()&&testOpsHelper[_0x3139c3(0x1b6)]()&&(_0xf440e7={..._0xf440e7,'spec':[..._0x22f554]}),_0x227c49['push']({'mochaOpts':_0xf440e7,'configuration':{'server':_0x574d6e,'capability':_0x3a30c9,'proxySettings':_0x555923['config'][_0x3139c3(0x10c)],'platform':helper[_0x3139c3(0x151)](_0x3a30c9),'browserStackLogLevel':_0x555923[_0x3139c3(0x184)]['logLevel'],'platformIndex':_0x5ba49f,'browserStackPercyOptions':_0x5fd911,'platformCaps':Object[_0x3139c3(0x1eb)]({'index':_0x5ba49f},_0x555923[_0x3139c3(0x184)]['platforms'][_0x5ba49f])}});}),_0x5041d0[_0x33ccf3(0x1a5)](..._0x227c49);}logger[_0x33ccf3(0x1ba)](_0x33ccf3(0x14f)+_0x555923['config']['platforms'][_0x33ccf3(0x138)]+_0x33ccf3(0x1e8)),logger[_0x33ccf3(0x1ba)](_0x4e0b18['xZIBx']);let _0x151fea;_0x4e0b18['Zfziv'](parallelTestRun,_0x5041d0,_0x57de6c,_0x555923)[_0x33ccf3(0x123)](_0x5bb1f2=>{const _0x515e17=_0x33ccf3;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x151fea=_0x5bb1f2,_0x4e0b18[_0x515e17(0x1d7)](printStats,_0x5bb1f2,_0x293569[_0x515e17(0x179)],_0x293569[_0x515e17(0x178)]||_0x293569[_0x4e0b18['yqmQJ']]);})['finally'](async()=>{const _0x1defd6=_0x33ccf3;PerformanceTester[_0x1defd6(0x10e)](PerformanceEvents[_0x1defd6(0x12d)]),_0x555923[_0x1defd6(0x18c)]=helper[_0x1defd6(0x1ac)](_0x151fea,_0x4e0b18[_0x1defd6(0x1c7)]),await utilities[_0x1defd6(0x1d5)](_0x555923),testOpsHelper[_0x1defd6(0x1ea)]();});}}module[a32_0x26ccc1(0x19d)]=run;
2
+ 'use strict';const a32_0x42be55=a32_0x2eaa;function a32_0x2213(){const _0x1e0627=['join','MkZiK','indexOf','trUdk','hIZuO','kpXKC','consoleLog','stack','spec','\x0a\x0a\x0a','hDOUX','rSPJp','2569eFuOwW','810545nfrxxD','HPjpz','lJGyf','lHUjw','isBrowserstackInfra','skipped','flmzH','excludeTagsInTestingScope','fyIJy','rnHhl','config','failed','rerunTests','../../helpers/central-scanner/constants','Listing\x20all\x20the\x20failures','zUjsk','3763uVaYWA','mjs','hasOwnProperty','SXhSp','keys','totalTests','configuration','stringify','capability','XvEas','lrDUH','setupTCGAuth','assign','titlePath','otqJt','../../helpers/logger','generateDiff','bgBlueBright','start','info','json','PVuiG','SDKTestSuccessful','files','cjs','bSrpa','bgRedBright','testObservability','mocha/lib/cli/collect-files.js','ikdsQ','BROWSERSTACK_RERUN_TESTS','tbIyD','suiteName','passed','finally','mCTel','\x20failed','setUserConfigPath','env','PjXMO','stats','QFTRr','LXQeo','test','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','output','getUserWorkerCount','amrmL','validPlatformsPresent','lsrLa','../utils/clientTroubleshootingService','300yuTBew','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','cphLs','JTHQn','ujknG','proxySettings','prototype','QMdAr','skNmu','mocha/lib/reporters/base.js','reporter','\x20skipped','UFGHB','Writing\x20json\x20result\x20to\x20file','nwfeQ','isNotUndefined','Setting\x20non\x20exit\x20code\x20for\x20failures','cliConfig','length','getTCGConfigFilePaths','duration','isUndefined','IUerh','includeTagsInTestingScope','testSuites','JmEAR','xunit','parallelsPerPlatform','7308630kMKZuG','parse','bNGzQ','title','platforms','2546204RMdKve','czPAl','speed','writeFileSync','sjcQq','Mocha\x20Tests','getHubUrl','BROWSERSTACK_TEST_ACCESSIBILITY_YML','launchBuild','KWoYD','30yojfOp','SDK_CLEANUP','bstack:options','Running\x20your\x20mocha\x20tests\x20across\x20','has','../../helpers/helper','nmOmp','eIJKo','JiaHh','list','pending','13528ldzqMy','GGxlc','Sevxu','../../helpers/test-observability/constants','fireFunnelTestEvent','xdIXs','mocha','log','ignore','bgLnj','ZUaIt','prepareCapabilities','err','testcase','call','BgAjO','../../helpers/testhub/testhubHandler','EVENTS','../../helpers/percy/utils','tKwhn','mwEdY','Kukda','iLTID','\x20platforms','Total\x20Platforms:\x20','JwxEP','98681gQGxmL','forEach','isPending','yRQgc','ELOqy','error','accessibility','bold','results','titlePathV','green','WEDLV','winstonLogger','JtBSc','initialize','WVMAW','parseFileNames','neRBz','logLevel','push','min','****\x20FAILURES\x20****','\x20total','Now,\x20showing\x20logs\x20from\x20mocha','fISfL','chalk','DOYUS','DRfVl','ZWYFb','printBuildLink','red','file','add','../../helpers/performance/constants','getOwnPropertyNames','DiEEy','central_scanner','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','Printing\x20stats\x20of\x20tests','object','FSmNA','hideDiff','iahmx','Running\x20your\x20mocha\x20tests','debug','sort','framework','OMoDd','testsPassed','failures','SAHnA','AgMMi','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','actual','message','error\x20removing\x20tcg\x20config\x20file','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','lRmCw','map','shouldReRunObservabilityTests','testsFailed','LNKaq','gGxJe','then','../../helpers/performance/performance-tester','lXVTp','aUdgR','fullTitle','hZcAG','DgTUz','accessibilityOptions','getCentralUser','state','qmcOy','platform','PxrNU','GWirU','currentRetry','uzyhv','parseTestOrchestrationOptions','</testsuite>','LvYnP','doc','MaTXD','ndGII','852663vxAaAy','suite','MrafD','NHyxd','finalExecution','wThcM','rootHooks','testsPending','unlinkSync','FRAMEWORKS','BROWSERSTACK_TEST_OBSERVABILITY_YML','passes','124MvDvvK','expected','MOCHA','get'];a32_0x2213=function(){return _0x1e0627;};return a32_0x2213();}(function(_0x4fae0a,_0x2238d5){const _0x6178fa=a32_0x2eaa,_0xef434a=_0x4fae0a();while(!![]){try{const _0x532053=-parseInt(_0x6178fa(0x1d4))/0x1*(parseInt(_0x6178fa(0x1b3))/0x2)+-parseInt(_0x6178fa(0x1a7))/0x3+parseInt(_0x6178fa(0x123))/0x4+parseInt(_0x6178fa(0x1c4))/0x5*(-parseInt(_0x6178fa(0x12d))/0x6)+parseInt(_0x6178fa(0x1c3))/0x7*(parseInt(_0x6178fa(0x138))/0x8)+parseInt(_0x6178fa(0x11e))/0x9+parseInt(_0x6178fa(0x102))/0xa*(-parseInt(_0x6178fa(0x152))/0xb);if(_0x532053===_0x2238d5)break;else _0xef434a['push'](_0xef434a['shift']());}catch(_0x42dcd5){_0xef434a['push'](_0xef434a['shift']());}}}(a32_0x2213,0x733d0));const chalk=require(a32_0x42be55(0x16b)),logger=require(a32_0x42be55(0x1e3))[a32_0x42be55(0x15e)],helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a32_0x42be55(0x132)),{getPercyOptions}=require(a32_0x42be55(0x14a)),Base=requireModule(a32_0x42be55(0x10b),a32_0x42be55(0x13e)),collectFiles=requireModule(a32_0x42be55(0xeb),'mocha'),constants=require('../utils/constants'),PerformanceTester=require(a32_0x42be55(0x192)),PerformanceEvents=require(a32_0x42be55(0x173))[a32_0x42be55(0x149)],centralScannerConstants=require(a32_0x42be55(0x1d1)),{FRAMEWORKS}=require(a32_0x42be55(0x13b)),TestHubHandler=require(a32_0x42be55(0x148)),ClientTroubleShootingService=require(a32_0x42be55(0x101));function tag(_0x36b46a,_0x2bd2a8,_0x167f15,_0x38d3a1){const _0x53a38e=a32_0x42be55,_0x51e6c4={'WVMAW':function(_0x5e175e,_0xcf768b){return _0x5e175e+_0xcf768b;},'JiaHh':function(_0x2d9d02,_0x1ffe27){return _0x2d9d02+_0x1ffe27;},'MaTXD':function(_0x2771ef,_0x4b0023){return _0x2771ef(_0x4b0023);},'fISfL':function(_0x48ce71,_0x33ec1a){return _0x48ce71+_0x33ec1a;},'neRBz':function(_0x31342d,_0x2563a6){return _0x31342d+_0x2563a6;},'uzyhv':function(_0x1bf1a1,_0xdc6689){return _0x1bf1a1+_0xdc6689;}},_0x33474c=_0x167f15?'/>':'>',_0x5b6cd1=[];let _0x38fe5a;for(const _0x1606e6 in _0x2bd2a8){Object[_0x53a38e(0x108)][_0x53a38e(0x1d6)][_0x53a38e(0x146)](_0x2bd2a8,_0x1606e6)&&_0x5b6cd1[_0x53a38e(0x165)](_0x51e6c4[_0x53a38e(0x161)](_0x51e6c4[_0x53a38e(0x135)](_0x51e6c4[_0x53a38e(0x135)](_0x1606e6,'=\x22'),_0x51e6c4[_0x53a38e(0x1a5)](escape,_0x2bd2a8[_0x1606e6])),'\x22'));}return _0x38fe5a=_0x51e6c4[_0x53a38e(0x135)](_0x51e6c4['fISfL'](_0x51e6c4[_0x53a38e(0x163)]('<',_0x36b46a),_0x5b6cd1[_0x53a38e(0x114)]?_0x51e6c4[_0x53a38e(0x1a0)]('\x20',_0x5b6cd1[_0x53a38e(0x1b7)]('\x20')):''),_0x33474c),_0x38d3a1&&(_0x38fe5a+=_0x51e6c4[_0x53a38e(0x16a)](_0x51e6c4[_0x53a38e(0x16a)](_0x51e6c4['JiaHh'](_0x38d3a1,'</'),_0x36b46a),_0x33474c)),_0x38fe5a;}let xunitContent='';function a32_0x2eaa(_0x274c19,_0x3db45f){const _0x22138d=a32_0x2213();return a32_0x2eaa=function(_0x2eaa5e,_0x17fc9d){_0x2eaa5e=_0x2eaa5e-0xe2;let _0x38eb37=_0x22138d[_0x2eaa5e];return _0x38eb37;},a32_0x2eaa(_0x274c19,_0x3db45f);}function xunitWrite(_0x6cbf7e){xunitContent+=_0x6cbf7e;}function xunitTest(_0x50e9d0,_0x10a130){const _0x56f70a=a32_0x42be55,_0x2cfec6={'UFGHB':function(_0x14c349,_0xdbe1c8){return _0x14c349/_0xdbe1c8;},'DrhMz':function(_0x5e55b1,_0x5287c2){return _0x5e55b1===_0x5287c2;},'Nsbdi':_0x56f70a(0x1cf),'bNGzQ':function(_0x4d31c6,_0x11c146){return _0x4d31c6+_0x11c146;},'bgLnj':function(_0x258754,_0x17d988){return _0x258754(_0x17d988);},'bSrpa':function(_0x4b97d3,_0x11c4de,_0x142a0a,_0x73c69,_0x2c40a4){return _0x4b97d3(_0x11c4de,_0x142a0a,_0x73c69,_0x2c40a4);},'nmOmp':_0x56f70a(0x145),'eIJKo':'failure','wThcM':function(_0x1f3510,_0x34f208){return _0x1f3510+_0x34f208;},'xdIXs':function(_0x281891,_0x26412e){return _0x281891+_0x26412e;},'wQKGU':function(_0x1760e6,_0x2e6d10){return _0x1760e6(_0x2e6d10);},'gBCHQ':function(_0x40fdfe,_0x2ca35c){return _0x40fdfe(_0x2ca35c);},'Pwqjz':function(_0x282f62,_0x1108aa,_0x1dc062,_0x195deb,_0x28630d){return _0x282f62(_0x1108aa,_0x1dc062,_0x195deb,_0x28630d);},'KWoYD':function(_0x4888da,_0x3718cb,_0x1695e7,_0x3690b4){return _0x4888da(_0x3718cb,_0x1695e7,_0x3690b4);},'mwEdY':_0x56f70a(0x1c9)};Base['useColors']=![];var _0x5cf465={'classname':_0x50e9d0[_0x56f70a(0x195)],'name':_0x50e9d0[_0x56f70a(0x121)],'time':_0x2cfec6[_0x56f70a(0x10e)](_0x50e9d0[_0x56f70a(0x116)],0x3e8)||0x0,'platform':_0x10a130};if(_0x2cfec6['DrhMz'](_0x50e9d0[_0x56f70a(0x19a)],_0x2cfec6['Nsbdi'])){var _0x2a2912=_0x50e9d0[_0x56f70a(0x144)],_0x199920=!Base[_0x56f70a(0x17b)]&&Base['showDiff'](_0x2a2912)?_0x2cfec6[_0x56f70a(0x120)]('\x0a',Base[_0x56f70a(0x1e4)](_0x2a2912[_0x56f70a(0x187)],_0x2a2912[_0x56f70a(0x1b4)])):'';_0x2cfec6[_0x56f70a(0x141)](xunitWrite,_0x2cfec6[_0x56f70a(0xe8)](tag,_0x2cfec6[_0x56f70a(0x133)],_0x5cf465,![],_0x2cfec6[_0x56f70a(0xe8)](tag,_0x2cfec6[_0x56f70a(0x134)],{},![],_0x2cfec6[_0x56f70a(0x1ac)](_0x2cfec6['wThcM'](_0x2cfec6[_0x56f70a(0x13d)](_0x2cfec6['bgLnj'](escape,_0x2a2912[_0x56f70a(0x188)]),_0x2cfec6[_0x56f70a(0x141)](escape,_0x199920)),'\x0a'),_0x2cfec6['wQKGU'](escape,_0x2a2912['stack'])))));}else _0x50e9d0[_0x56f70a(0x154)]?_0x2cfec6['gBCHQ'](xunitWrite,_0x2cfec6['Pwqjz'](tag,_0x2cfec6['nmOmp'],_0x5cf465,![],_0x2cfec6[_0x56f70a(0x12c)](tag,_0x2cfec6[_0x56f70a(0x14c)],{},!![]))):_0x2cfec6[_0x56f70a(0x141)](xunitWrite,_0x2cfec6[_0x56f70a(0x12c)](tag,_0x2cfec6[_0x56f70a(0x133)],_0x5cf465,!![]));};function getStats(_0x1e7082){const _0x395371=a32_0x42be55,_0x4fbc09={};_0x4fbc09[_0x395371(0x14b)]=_0x395371(0x1a8),_0x4fbc09[_0x395371(0x181)]='passed',_0x4fbc09[_0x395371(0x16e)]=_0x395371(0x1cf),_0x4fbc09[_0x395371(0x1cd)]='results';const _0x3e4981=_0x4fbc09,_0x5d2eee=Object[_0x395371(0x1d8)](_0x1e7082);let _0x96e743=0x0,_0x47410d=0x0,_0x42d041=0x0,_0x390b41=0x0;const _0xa878ea=new Set();_0x5d2eee[_0x395371(0x153)](_0x19c792=>{const _0x3a699a=_0x395371;_0x1e7082[_0x19c792][_0x3e4981[_0x3a699a(0x1cd)]][_0x3a699a(0x153)](_0x142b41=>{const _0x44bd76=_0x3a699a;_0xa878ea[_0x44bd76(0x172)](_0x142b41[_0x3e4981['tKwhn']]),_0x96e743++;switch(_0x142b41[_0x44bd76(0x19a)]){case _0x3e4981['OMoDd']:_0x42d041++;break;case _0x3e4981['ZWYFb']:_0x47410d++;break;default:_0x390b41++;}});});const _0x43ab9f={};return _0x43ab9f['testSuites']=_0xa878ea['size'],_0x43ab9f[_0x395371(0x122)]=_0x5d2eee,_0x43ab9f[_0x395371(0x1d9)]=_0x96e743,_0x43ab9f[_0x395371(0x18e)]=_0x47410d,_0x43ab9f['testsPassed']=_0x42d041,_0x43ab9f[_0x395371(0x1ae)]=_0x390b41,_0x43ab9f;}function errorJSON(_0x1feb50){const _0xfea0d5=a32_0x42be55;var _0x4af50c={};return Object[_0xfea0d5(0x174)](_0x1feb50)[_0xfea0d5(0x153)](function(_0x5f4539){_0x4af50c[_0x5f4539]=_0x1feb50[_0x5f4539];},_0x1feb50),_0x4af50c;}function cleanCycles(_0x5e15b3){const _0x115475=a32_0x42be55,_0x4a7a5c={};_0x4a7a5c[_0x115475(0xf8)]=function(_0xee899b,_0xbce243){return _0xee899b===_0xbce243;},_0x4a7a5c[_0x115475(0x18b)]=_0x115475(0x179),_0x4a7a5c[_0x115475(0x1de)]=function(_0x40f676,_0x26dc21){return _0x40f676!==_0x26dc21;},_0x4a7a5c[_0x115475(0x15f)]=function(_0x45fdf8,_0x1c3222){return _0x45fdf8+_0x1c3222;};const _0x4ed83e=_0x4a7a5c;var _0x320bb8=[];return JSON[_0x115475(0x11f)](JSON['stringify'](_0x5e15b3,function(_0x412504,_0x293584){const _0x5b222b=_0x115475;if(_0x4ed83e[_0x5b222b(0xf8)](typeof _0x293584,_0x4ed83e[_0x5b222b(0x18b)])&&_0x4ed83e[_0x5b222b(0x1de)](_0x293584,null)){if(_0x4ed83e[_0x5b222b(0x1de)](_0x320bb8[_0x5b222b(0x1b9)](_0x293584),-0x1))return _0x4ed83e[_0x5b222b(0x15f)]('',_0x293584);_0x320bb8['push'](_0x293584);}return _0x293584;}));}function clean(_0x1f031a){const _0x547f6f=a32_0x42be55,_0x55589d={'otqJt':function(_0x47efa7,_0x16b370){return _0x47efa7 instanceof _0x16b370;},'kpXKC':function(_0x55f406,_0x3ce10d){return _0x55f406(_0x3ce10d);},'DiEEy':function(_0x2a5643,_0x1a5109){return _0x2a5643(_0x1a5109);}};var _0x2bd23c=_0x1f031a[_0x547f6f(0x144)]||{};return _0x55589d[_0x547f6f(0x1e2)](_0x2bd23c,Error)&&(_0x2bd23c=_0x55589d[_0x547f6f(0x1bc)](errorJSON,_0x2bd23c)),{'title':_0x1f031a[_0x547f6f(0x121)],'fullTitle':_0x1f031a[_0x547f6f(0x195)],'file':_0x1f031a[_0x547f6f(0x171)],'duration':_0x1f031a[_0x547f6f(0x116)],'currentRetry':_0x1f031a[_0x547f6f(0x19f)],'speed':_0x1f031a[_0x547f6f(0x125)],'err':_0x55589d[_0x547f6f(0x175)](cleanCycles,_0x2bd23c)};}function printStats(_0x952c66,_0x6ac4a6='spec',_0x4e09c9={}){const _0x2ec03b=a32_0x42be55,_0x39df5c={'SXhSp':function(_0x1f20b0,_0x346f42){return _0x1f20b0(_0x346f42);},'NHyxd':function(_0x3c4ed5,_0x10c644){return _0x3c4ed5===_0x10c644;},'IUerh':_0x2ec03b(0xf0),'HPjpz':_0x2ec03b(0x1b2),'tbIyD':function(_0x1c2736,_0x975fc0){return _0x1c2736===_0x975fc0;},'ikdsQ':_0x2ec03b(0x1cf),'sjcQq':_0x2ec03b(0x183),'IADyU':_0x2ec03b(0x137),'DgTUz':_0x2ec03b(0x15a),'hIZuO':function(_0x277cbf,_0x54e01f){return _0x277cbf===_0x54e01f;},'jHjVp':function(_0x14e655,_0x41d090){return _0x14e655*_0x41d090;},'fyIJy':function(_0x2802f2,_0x4f5706,_0x122ecd){return _0x2802f2(_0x4f5706,_0x122ecd);},'AgMMi':function(_0x47ad09,_0x2cadfa){return _0x47ad09===_0x2cadfa;},'lJGyf':function(_0x18282b,_0x4fdffd){return _0x18282b>_0x4fdffd;},'LoRda':function(_0x40dd45){return _0x40dd45();},'PVuiG':function(_0x5c2a78,_0x25e0a7){return _0x5c2a78===_0x25e0a7;},'aUdgR':_0x2ec03b(0x1a4),'Kukda':function(_0x5cf089,_0x49fb67){return _0x5cf089(_0x49fb67);},'IVBiL':function(_0x323d4c,_0x4943d5){return _0x323d4c>_0x4943d5;},'AUFyJ':_0x2ec03b(0x112),'DOYUS':_0x2ec03b(0x178),'JTHQn':function(_0x35b166,_0x3c6887){return _0x35b166+_0x3c6887;},'xLJsG':_0x2ec03b(0x150),'nwfeQ':function(_0x1cfc08,_0x57ba57){return _0x1cfc08+_0x57ba57;},'skNmu':'Total\x20Suites:\x20','iLTID':function(_0x16633f,_0x120247){return _0x16633f+_0x120247;},'ELOqy':'Tests:\x20\x20\x20\x20\x20\x20\x20','lsrLa':function(_0x222400,_0x2c5acb){return _0x222400>_0x2c5acb;},'JwxEP':function(_0x5b1e57,_0x59781b){return _0x5b1e57>_0x59781b;},'ionLI':function(_0x56379c,_0x4ebbe8){return _0x56379c+_0x4ebbe8;},'GDxlN':function(_0x5a566e,_0x1833cd){return _0x5a566e+_0x1833cd;},'PxrNU':function(_0x30653c,_0x485558){return _0x30653c+_0x485558;},'pRnNx':function(_0x1adbe0,_0x36f345){return _0x1adbe0+_0x36f345;},'yRQgc':function(_0x6fa5e2,_0x265ba2){return _0x6fa5e2+_0x265ba2;},'JJWmS':_0x2ec03b(0x1c0),'MrafD':function(_0x373d36,_0x480c29){return _0x373d36===_0x480c29;},'GWirU':_0x2ec03b(0xe3),'ujknG':_0x2ec03b(0x10f),'lcCxB':'Couldn\x27t\x20write\x20json\x20result\x20to','NRbfD':_0x2ec03b(0x186),'Sevxu':function(_0x24298f,_0x59becb){return _0x24298f===_0x59becb;},'LvYnP':_0x2ec03b(0x11c),'FSmNA':_0x2ec03b(0x128),'lHUjw':function(_0x36e2be,_0x145857){return _0x36e2be||_0x145857;},'hDOUX':function(_0x2eb246,_0x2e8c13,_0x263d05,_0x408fdd){return _0x2eb246(_0x2e8c13,_0x263d05,_0x408fdd);},'hZcAG':'testsuite','BgAjO':function(_0x358c11,_0x31aaf3){return _0x358c11-_0x31aaf3;},'lXVTp':function(_0x2380f8,_0xf3d5ca){return _0x2380f8/_0xf3d5ca;},'GGxlc':function(_0x1b03c7,_0x365828){return _0x1b03c7(_0x365828);},'flmzH':_0x2ec03b(0x1a2),'RSlRo':'Writing\x20xunit\x20result\x20to\x20file','cphLs':'Couldn\x27t\x20write\x20xunit\x20result\x20to','QMdAr':_0x2ec03b(0x177),'trUdk':function(_0x4f4282,_0x2abde8){return _0x4f4282===_0x2abde8;},'SAHnA':_0x2ec03b(0x1d2),'VihIy':_0x2ec03b(0x167)};if(_0x39df5c[_0x2ec03b(0xe4)](_0x6ac4a6,_0x39df5c[_0x2ec03b(0x194)]))return;const _0x2b3f5a=0x0,_0x333ace=()=>{const _0x190afe=_0x2ec03b;return _0x39df5c[_0x190afe(0x1d7)](Array,_0x2b3f5a)[_0x190afe(0x1b7)]('\x20\x20');},{testSuites:_0xe13b74,platforms:_0x1e5b88,totalTests:_0x15b525,testsFailed:_0x598690,testsPassed:_0x57c1f7,testsPending:_0x58887e}=_0x39df5c[_0x2ec03b(0x14d)](getStats,_0x952c66);_0x39df5c['IVBiL'](_0x598690,0x0)&&(logger[_0x2ec03b(0x17e)](_0x39df5c['AUFyJ']),process['exitCode']=Math[_0x2ec03b(0x166)](_0x598690,0xff));logger[_0x2ec03b(0x17e)](_0x39df5c[_0x2ec03b(0x16c)]);const _0x4eb581=''+_0x39df5c[_0x2ec03b(0x105)](chalk[_0x2ec03b(0x159)](_0x39df5c['xLJsG']),_0x1e5b88[_0x2ec03b(0x114)]),_0x3d7476=''+_0x39df5c[_0x2ec03b(0x110)](chalk['bold'](_0x39df5c[_0x2ec03b(0x10a)]),_0xe13b74),_0x2be02d=''+_0x39df5c[_0x2ec03b(0x14e)](_0x39df5c[_0x2ec03b(0x14e)](_0x39df5c['iLTID'](chalk[_0x2ec03b(0x159)](_0x39df5c[_0x2ec03b(0x156)]),_0x39df5c[_0x2ec03b(0x1c6)](_0x598690,0x0)?chalk[_0x2ec03b(0x159)][_0x2ec03b(0x170)](_0x598690+_0x2ec03b(0xf3))+',\x20':''),_0x39df5c[_0x2ec03b(0x100)](_0x58887e,0x0)?chalk[_0x2ec03b(0x159)]['yellow'](_0x58887e+_0x2ec03b(0x10d))+',\x20':''),_0x39df5c[_0x2ec03b(0x151)](_0x57c1f7,0x0)?chalk[_0x2ec03b(0x159)][_0x2ec03b(0x15c)](_0x57c1f7+'\x20passed')+',\x20':'')+_0x15b525+_0x2ec03b(0x168);console[_0x2ec03b(0x13f)](_0x39df5c['ionLI'](_0x39df5c['GDxlN'](_0x39df5c[_0x2ec03b(0x19d)](_0x39df5c['pRnNx'](_0x39df5c[_0x2ec03b(0x155)](_0x39df5c['JJWmS'],_0x4eb581),'\x0a'),_0x3d7476),'\x0a'),_0x2be02d));if(_0x39df5c[_0x2ec03b(0x1a9)](_0x6ac4a6,_0x39df5c[_0x2ec03b(0x19e)])){const _0x333364={},_0x5073c7={};_0x5073c7[_0x2ec03b(0x11a)]=_0xe13b74,_0x5073c7[_0x2ec03b(0x122)]=_0x1e5b88,_0x5073c7[_0x2ec03b(0x18e)]=_0x598690,_0x5073c7[_0x2ec03b(0x182)]=_0x57c1f7,_0x5073c7['testsPending']=_0x58887e,_0x333364[_0x2ec03b(0xf7)]=_0x5073c7,_0x1e5b88['forEach'](_0x45bfff=>{const _0x192618=_0x2ec03b,_0x36683e={'LNKaq':function(_0x217b42,_0x122c68){const _0x1f4237=a32_0x2eaa;return _0x39df5c[_0x1f4237(0x1aa)](_0x217b42,_0x122c68);},'DKGMl':_0x39df5c[_0x192618(0x118)],'cfQgH':_0x39df5c[_0x192618(0x1c5)],'gGxJe':function(_0x1e2daf,_0x13b1d3){const _0x208a72=_0x192618;return _0x39df5c[_0x208a72(0x1d7)](_0x1e2daf,_0x13b1d3);},'qmcOy':function(_0x277bfc,_0x2a784d){const _0x2fd77a=_0x192618;return _0x39df5c[_0x2fd77a(0xee)](_0x277bfc,_0x2a784d);},'ZUaIt':_0x39df5c[_0x192618(0xec)],'iahmx':_0x39df5c[_0x192618(0x127)],'amrmL':_0x39df5c['IADyU']};_0x333364[_0x45bfff]={'pending':[],'failures':[],'passes':[],'tests':_0x952c66[_0x45bfff][_0x39df5c[_0x192618(0x197)]][_0x192618(0x18c)](clean)},_0x952c66[_0x45bfff][_0x39df5c[_0x192618(0x197)]][_0x192618(0x153)](_0x12e077=>{const _0x460c86=_0x192618;if(_0x36683e[_0x460c86(0x18f)](_0x12e077[_0x460c86(0x19a)],_0x36683e['DKGMl']))_0x333364[_0x45bfff][_0x36683e['cfQgH']][_0x460c86(0x165)](_0x36683e[_0x460c86(0x190)](clean,_0x12e077));else _0x36683e[_0x460c86(0x19b)](_0x12e077[_0x460c86(0x19a)],_0x36683e[_0x460c86(0x142)])?_0x333364[_0x45bfff][_0x36683e[_0x460c86(0x17c)]][_0x460c86(0x165)](_0x36683e[_0x460c86(0x190)](clean,_0x12e077)):_0x333364[_0x45bfff][_0x36683e[_0x460c86(0xfe)]][_0x460c86(0x165)](_0x36683e['gGxJe'](clean,_0x12e077));});});if(_0x4e09c9[_0x2ec03b(0xfc)])try{logger[_0x2ec03b(0x17e)](_0x39df5c[_0x2ec03b(0x106)],_0x4e09c9[_0x2ec03b(0xfc)]),fs[_0x2ec03b(0x126)](_0x4e09c9[_0x2ec03b(0xfc)],JSON['stringify'](_0x333364,null,0x3));}catch(_0x501dd2){logger[_0x2ec03b(0x157)](_0x39df5c['lcCxB'],_0x4e09c9[_0x2ec03b(0xfc)]),logger[_0x2ec03b(0x17e)](_0x501dd2);}else logger['debug'](_0x39df5c['NRbfD']),console[_0x2ec03b(0x13f)](JSON[_0x2ec03b(0x1db)](_0x333364,null,0x3));}else{if(_0x39df5c[_0x2ec03b(0x13a)](_0x6ac4a6,_0x39df5c[_0x2ec03b(0x1a3)])){let _0x45f7bb;const _0x5db43e=_0x39df5c[_0x2ec03b(0x17a)];_0x4e09c9&&(_0x45f7bb=_0x4e09c9[_0x2ec03b(0xef)]);_0x45f7bb=_0x39df5c[_0x2ec03b(0x1c7)](_0x45f7bb,_0x5db43e);let _0x1a2892=0x0,_0x181497=0x0,_0xd889b1=0x0,_0x247a74=0x0;_0x1e5b88[_0x2ec03b(0x153)](_0x1d9f96=>{_0x952c66[_0x1d9f96][_0x39df5c['DgTUz']]['forEach'](_0x11a020=>{const _0x2ae690=a32_0x2eaa;if(_0x39df5c[_0x2ae690(0xee)](_0x11a020[_0x2ae690(0x19a)],_0x39df5c[_0x2ae690(0x118)]))_0x1a2892++;else _0x39df5c[_0x2ae690(0x1bb)](_0x11a020[_0x2ae690(0x19a)],_0x39df5c['ikdsQ'])&&_0x181497++;_0xd889b1++,_0x247a74+=_0x39df5c['jHjVp'](_0x11a020['duration'],0x1);});}),_0x39df5c[_0x2ec03b(0x1d7)](xunitWrite,_0x39df5c[_0x2ec03b(0x1c1)](tag,_0x39df5c[_0x2ec03b(0x196)],{'name':_0x45f7bb,'tests':_0xd889b1,'failures':0x0,'errors':_0x181497,'skipped':_0x39df5c[_0x2ec03b(0x147)](_0x39df5c[_0x2ec03b(0x147)](_0xd889b1,_0x181497),_0x1a2892),'timestamp':new Date()['toUTCString'](),'time':_0x39df5c[_0x2ec03b(0x193)](_0x247a74,0x3e8)||0x0},![])),_0x1e5b88[_0x2ec03b(0x153)](_0x570b2e=>{const _0xb60109=_0x2ec03b;_0x952c66[_0x570b2e][_0x39df5c[_0xb60109(0x197)]][_0xb60109(0x153)](_0x14990a=>{const _0x28f3e3=_0xb60109;_0x39df5c[_0x28f3e3(0x1cc)](xunitTest,_0x14990a,_0x570b2e);});}),_0x39df5c[_0x2ec03b(0x139)](xunitWrite,_0x39df5c[_0x2ec03b(0x1ca)]);if(_0x4e09c9['output'])try{logger[_0x2ec03b(0x17e)](_0x39df5c['RSlRo'],_0x4e09c9[_0x2ec03b(0xfc)]),fs['writeFileSync'](_0x4e09c9[_0x2ec03b(0xfc)],xunitContent);}catch(_0x44d203){logger['error'](_0x39df5c[_0x2ec03b(0x104)],_0x4e09c9[_0x2ec03b(0xfc)]),logger[_0x2ec03b(0x17e)](_0x44d203);}else logger[_0x2ec03b(0x17e)](_0x39df5c[_0x2ec03b(0x109)]),console[_0x2ec03b(0x13f)](xunitContent);}else{if(_0x39df5c[_0x2ec03b(0x1ba)](_0x598690,0x0))return;console[_0x2ec03b(0x13f)](),logger[_0x2ec03b(0x17e)](_0x39df5c[_0x2ec03b(0x184)]),console[_0x2ec03b(0x13f)](chalk['bold'][_0x2ec03b(0xe9)](_0x39df5c['VihIy'])),_0x1e5b88['forEach'](_0x3e6f80=>{const _0x1b9cd3=_0x2ec03b,_0x199870=[];_0x952c66[_0x3e6f80][_0x39df5c[_0x1b9cd3(0x197)]][_0x1b9cd3(0x153)](_0x3eaa9f=>{const _0x3de2a3=_0x1b9cd3;_0x39df5c[_0x3de2a3(0x185)](_0x3eaa9f[_0x3de2a3(0x19a)],_0x39df5c[_0x3de2a3(0xec)])&&(_0x3eaa9f[_0x3de2a3(0x1e1)]=()=>_0x3eaa9f[_0x3de2a3(0x15b)],_0x199870[_0x3de2a3(0x165)](_0x3eaa9f));}),_0x39df5c[_0x1b9cd3(0x1c6)](_0x199870[_0x1b9cd3(0x114)],0x0)&&(Base[_0x1b9cd3(0x1bd)](),Base[_0x1b9cd3(0x1bd)](_0x39df5c['LoRda'](_0x333ace),chalk['bold'][_0x1b9cd3(0x1e5)](_0x3e6f80)),Base[_0x1b9cd3(0x136)](_0x199870));});}}}async function run(_0x47b90a,_0x222048,_0x3c1129){const _0x36e9c4=a32_0x42be55,_0x5ef89e={'XvEas':function(_0x12b749,_0x5dfa2b,_0x167e23,_0x73a939){return _0x12b749(_0x5dfa2b,_0x167e23,_0x73a939);},'JmEAR':'reporter-option','rEGww':_0x36e9c4(0x189),'AnfMX':_0x36e9c4(0xe5),'WEDLV':function(_0x21b90b,_0x2dc895,_0x5dd062,_0x161c84){return _0x21b90b(_0x2dc895,_0x5dd062,_0x161c84);},'gBjgs':_0x36e9c4(0x13e),'rgdaP':function(_0x5a380f,_0x3614ba){return _0x5a380f!=_0x3614ba;},'PjXMO':_0x36e9c4(0xe7),'afAYF':_0x36e9c4(0x1d5),'MkZiK':_0x36e9c4(0xfa),'zUjsk':_0x36e9c4(0x1d0),'oYWwc':function(_0x487b5a,_0x602b38){return _0x487b5a(_0x602b38);},'czPAl':function(_0x4e9036,_0x5def6e,_0x2bc956){return _0x4e9036(_0x5def6e,_0x2bc956);},'xHkNx':_0x36e9c4(0xe6),'OOtpF':function(_0x180e08,_0x5955d3){return _0x180e08!=_0x5955d3;},'vARYB':_0x36e9c4(0x119),'Qhhhz':_0x36e9c4(0x1cb),'ndGII':'includeEncodedExtension','LXQeo':_0x36e9c4(0x17d),'DRfVl':_0x36e9c4(0x169),'rSPJp':function(_0x8806a1,_0x357570){return _0x8806a1*_0x357570;},'mCTel':function(_0x1dcc56,_0x258a72){return _0x1dcc56!==_0x258a72;}};helper[_0x36e9c4(0xf4)](_0x3c1129[_0x36e9c4(0x180)],_0x47b90a),await _0x3c1129[_0x36e9c4(0x160)](_0x47b90a);helper[_0x36e9c4(0x1c8)]()?await helper['handleApp'](_0x3c1129[_0x36e9c4(0x1ce)]):await _0x3c1129[_0x36e9c4(0x1df)]();const _0x354827=[];let _0x31616e=[];if(!_0x3c1129[_0x36e9c4(0x1ce)])return;!helper[_0x36e9c4(0x117)](_0x3c1129[_0x36e9c4(0x1ce)][_0x36e9c4(0x198)])&&(process[_0x36e9c4(0xf5)][_0x36e9c4(0x18a)]=JSON[_0x36e9c4(0x1db)](_0x3c1129['config'][_0x36e9c4(0x198)]));const _0x32cabf=await TestHubHandler[_0x36e9c4(0x12b)](FRAMEWORKS[_0x36e9c4(0x1b5)],_0x3c1129);_0x5ef89e['rgdaP'](_0x3c1129['config'][_0x36e9c4(0xea)],null)&&(process[_0x36e9c4(0xf5)][_0x36e9c4(0x1b1)]=_0x3c1129[_0x36e9c4(0x1ce)]['testObservability']);!helper[_0x36e9c4(0x117)](_0x3c1129[_0x36e9c4(0x1ce)][_0x36e9c4(0x158)])&&(process[_0x36e9c4(0xf5)][_0x36e9c4(0x12a)]=_0x3c1129[_0x36e9c4(0x1ce)]['accessibility']);const {extension:extension=['js',_0x5ef89e[_0x36e9c4(0xf6)],_0x5ef89e['afAYF']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x5ef89e[_0x36e9c4(0x1b8)]]}=_0x47b90a,_0x562d09={..._0x47b90a};_0x562d09[_0x36e9c4(0x1ad)]=null;const _0x2a7ed2=_0x562d09;let _0x4dde7a;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x36e9c4(0x18d)]()){let _0x3c347e=process['env'][_0x36e9c4(0xed)];!helper[_0x36e9c4(0x117)](_0x3c1129[_0x36e9c4(0x113)])&&_0x3c1129[_0x36e9c4(0x113)][_0x36e9c4(0x131)](_0x5ef89e['zUjsk'])&&(_0x3c347e=_0x3c1129[_0x36e9c4(0x113)][_0x36e9c4(0x1b6)](_0x5ef89e[_0x36e9c4(0x1d3)])),_0x4dde7a=testOpsHelper[_0x36e9c4(0x162)](_0x3c347e);}if(helper[_0x36e9c4(0x117)](_0x4dde7a)){const _0x13f431={};_0x13f431[_0x36e9c4(0x140)]=ignore,_0x13f431['extension']=extension,_0x13f431[_0x36e9c4(0x171)]=file,_0x13f431['recursive']=recursive,_0x13f431[_0x36e9c4(0x17f)]=sort,_0x13f431[_0x36e9c4(0x1bf)]=spec,_0x4dde7a=_0x5ef89e['oYWwc'](collectFiles,_0x13f431),_0x5ef89e[_0x36e9c4(0x124)](nestedKeyValue,_0x4dde7a,[_0x5ef89e['xHkNx']])&&(_0x4dde7a=_0x4dde7a[_0x36e9c4(0xe6)]);}const _0x3d1914=helper[_0x36e9c4(0x1a1)](_0x3c1129[_0x36e9c4(0x1ce)]);!helper['isEmpty'](_0x3d1914)&&helper[_0x36e9c4(0x111)](_0x3d1914['retryTestsOnFailure'])&&(_0x2a7ed2['retries']=_0x3d1914['retryTestsOnFailure']['maxRetries']);if(!helper[_0x36e9c4(0x1c8)]()){const _0x196ac9=0x1,_0x288b9a={..._0x2a7ed2};_0x288b9a[_0x36e9c4(0x1bf)]=[..._0x4dde7a],_0x354827[_0x36e9c4(0x165)]({'mochaOpts':_0x288b9a,'configuration':{'platform':os[_0x36e9c4(0x19c)]()}});if(_0x3c1129[_0x36e9c4(0x1ce)]['accessibility']){const _0x19c556={};_0x19c556[_0x36e9c4(0x158)]=!![];const _0x277445=_0x19c556;_0x5ef89e['OOtpF'](_0x3c1129[_0x36e9c4(0x1ce)][_0x36e9c4(0x198)],null)&&(_0x277445['accessibilityOptions']=_0x3c1129['config'][_0x36e9c4(0x198)],delete _0x277445[_0x36e9c4(0x198)][_0x5ef89e['vARYB']],delete _0x277445[_0x36e9c4(0x198)][_0x5ef89e['Qhhhz']],delete _0x277445[_0x36e9c4(0x198)][_0x5ef89e[_0x36e9c4(0x1a6)]]);const _0x3be198={};_0x3be198[_0x36e9c4(0x12f)]=_0x277445,_0x354827[0x0][_0x36e9c4(0x1da)][_0x36e9c4(0x1dc)]=_0x3be198;}logger['info'](_0x5ef89e[_0x36e9c4(0xf9)]),logger[_0x36e9c4(0xe2)](_0x5ef89e[_0x36e9c4(0x16d)]),_0x5ef89e[_0x36e9c4(0x15d)](parallelTestRun,_0x354827,_0x196ac9,_0x3c1129)[_0x36e9c4(0x191)](_0x31433a=>{const _0x2f28aa=_0x36e9c4;PerformanceTester['start'](PerformanceEvents[_0x2f28aa(0x12e)]),_0x5ef89e[_0x2f28aa(0x1dd)](printStats,_0x31433a,_0x47b90a['reporter'],_0x47b90a['reporterOptions']||_0x47b90a[_0x5ef89e[_0x2f28aa(0x11b)]]);})[_0x36e9c4(0xf1)](()=>{const _0x41c16a=_0x36e9c4;PerformanceTester[_0x41c16a(0x1e6)](PerformanceEvents[_0x41c16a(0x12e)]);try{const {browserstackFolderPath:_0x4257c0,tcgConfigPath:_0x1cb9f3}=helper[_0x41c16a(0x115)]();fs[_0x41c16a(0x1af)](_0x1cb9f3),fs['rmdirSync'](_0x4257c0);}catch(_0xe874a0){logger[_0x41c16a(0x17e)](_0x5ef89e['rEGww'],_0xe874a0);}try{utilities[_0x41c16a(0x13c)](_0x5ef89e['AnfMX'],{},_0x3c1129[_0x41c16a(0x1ce)],_0x3c1129[_0x41c16a(0x180)]);}catch(_0x2fa9fd){logger[_0x41c16a(0x17e)](_0x41c16a(0x103)+_0x2fa9fd[_0x41c16a(0x1be)]);}try{helper['notifyUpdate']();}catch(_0x4e4b55){logger['debug'](_0x41c16a(0xfb)+_0x4e4b55);}testOpsHelper['printBuildLink']();});}else{const _0x5b5aed=helper['useW3C'](_0x3c1129['config']);let _0x126de5=helper[_0x36e9c4(0x129)](_0x3c1129[_0x36e9c4(0x1ce)]);_0x31616e=helper[_0x36e9c4(0x143)](_0x3c1129[_0x36e9c4(0x1ce)],_0x5b5aed,constants[_0x36e9c4(0x1b0)][_0x36e9c4(0x1b5)]);helper[_0x36e9c4(0x199)]()[_0x36e9c4(0x176)]&&(_0x126de5=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0x3d2440;const _0x38add6=_0x3c1129[_0x36e9c4(0x1ce)][_0x36e9c4(0x11d)]||helper[_0x36e9c4(0xfd)](_0x47b90a,_0x222048,_0x3c1129[_0x36e9c4(0x1ce)],constants['FRAMEWORKS'][_0x36e9c4(0x1b5)])||0x1;helper[_0x36e9c4(0xff)](_0x3c1129[_0x36e9c4(0x1ce)])?_0x3d2440=_0x5ef89e[_0x36e9c4(0x1c2)](_0x3c1129['config'][_0x36e9c4(0x122)][_0x36e9c4(0x114)],_0x38add6):_0x3d2440=_0x38add6;const _0x5e8ade=_0x5ef89e['oYWwc'](getPercyOptions,_0x3c1129[_0x36e9c4(0x1ce)]);if(_0x5ef89e[_0x36e9c4(0xf2)](_0x3c1129[_0x36e9c4(0x1ce)]['parallelsPerPlatform'],0x1))_0x4dde7a[_0x36e9c4(0x153)](_0x83691f=>{const _0x383940=_0x36e9c4,_0xb2aeef=[];_0x31616e[_0x383940(0x153)]((_0x218493,_0x43aeee)=>{const _0x34aa4d=_0x383940,_0xd9ad={};_0xd9ad[_0x34aa4d(0x1bf)]=[_0x83691f],_0xb2aeef[_0x34aa4d(0x165)]({'mochaOpts':Object['assign']({},_0x2a7ed2,_0xd9ad),'configuration':{'server':_0x126de5,'capability':_0x218493,'proxySettings':_0x3c1129['config'][_0x34aa4d(0x107)],'platform':helper['getPlatformName'](_0x218493),'browserStackLogLevel':_0x3c1129[_0x34aa4d(0x1ce)][_0x34aa4d(0x164)],'platformIndex':_0x43aeee,'browserStackPercyOptions':_0x5e8ade,'platformCaps':Object[_0x34aa4d(0x1e0)]({'index':_0x43aeee},_0x3c1129[_0x34aa4d(0x1ce)]['platforms'][_0x43aeee])}});}),_0x354827[_0x383940(0x165)](..._0xb2aeef);});else{const _0x27cf77=[];_0x31616e[_0x36e9c4(0x153)]((_0x3d6f8b,_0x5c7224)=>{const _0x3fd84f=_0x36e9c4;let _0x4e2fa3=Object['assign']({},_0x2a7ed2);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x3fd84f(0x18d)]()&&(_0x4e2fa3={..._0x4e2fa3,'spec':[..._0x4dde7a]}),_0x27cf77[_0x3fd84f(0x165)]({'mochaOpts':_0x4e2fa3,'configuration':{'server':_0x126de5,'capability':_0x3d6f8b,'proxySettings':_0x3c1129['config']['proxySettings'],'platform':helper['getPlatformName'](_0x3d6f8b),'browserStackLogLevel':_0x3c1129['config'][_0x3fd84f(0x164)],'platformIndex':_0x5c7224,'browserStackPercyOptions':_0x5e8ade,'platformCaps':Object[_0x3fd84f(0x1e0)]({'index':_0x5c7224},_0x3c1129[_0x3fd84f(0x1ce)][_0x3fd84f(0x122)][_0x5c7224])}});}),_0x354827['push'](..._0x27cf77);}logger['info'](_0x36e9c4(0x130)+_0x3c1129[_0x36e9c4(0x1ce)]['platforms'][_0x36e9c4(0x114)]+_0x36e9c4(0x14f)),logger[_0x36e9c4(0xe2)](_0x5ef89e[_0x36e9c4(0x16d)]);let _0x26686c;_0x5ef89e[_0x36e9c4(0x15d)](parallelTestRun,_0x354827,_0x3d2440,_0x3c1129)[_0x36e9c4(0x191)](_0x4d972c=>{const _0x2c3551=_0x36e9c4;PerformanceTester['start'](PerformanceEvents[_0x2c3551(0x12e)]),_0x26686c=_0x4d972c,_0x5ef89e['WEDLV'](printStats,_0x4d972c,_0x47b90a[_0x2c3551(0x10c)],_0x47b90a['reporterOptions']||_0x47b90a[_0x5ef89e[_0x2c3551(0x11b)]]);})[_0x36e9c4(0xf1)](async()=>{const _0x3a856d=_0x36e9c4;PerformanceTester[_0x3a856d(0x1e6)](PerformanceEvents[_0x3a856d(0x12e)]),_0x3c1129['errorMessage']=helper['getErrorMessageFromResults'](_0x26686c,_0x5ef89e['gBjgs']),await utilities[_0x3a856d(0x1ab)](_0x3c1129),testOpsHelper[_0x3a856d(0x16f)]();});}}module['exports']=run;
@@ -1 +1 @@
1
- const a33_0x5148f0=a33_0x3f36;(function(_0x453686,_0x3eac10){const _0x5e7083=a33_0x3f36,_0x311830=_0x453686();while(!![]){try{const _0x3d560a=parseInt(_0x5e7083(0x16c))/0x1*(parseInt(_0x5e7083(0x17d))/0x2)+-parseInt(_0x5e7083(0x164))/0x3+-parseInt(_0x5e7083(0x155))/0x4*(parseInt(_0x5e7083(0x178))/0x5)+-parseInt(_0x5e7083(0x19b))/0x6*(-parseInt(_0x5e7083(0x1a9))/0x7)+parseInt(_0x5e7083(0x17c))/0x8+-parseInt(_0x5e7083(0x161))/0x9*(-parseInt(_0x5e7083(0x14c))/0xa)+-parseInt(_0x5e7083(0x1a1))/0xb*(parseInt(_0x5e7083(0x198))/0xc);if(_0x3d560a===_0x3eac10)break;else _0x311830['push'](_0x311830['shift']());}catch(_0x99835b){_0x311830['push'](_0x311830['shift']());}}}(a33_0x5877,0x92b29));const logger=require(a33_0x5148f0(0x192))['winstonLogger'],helper=require(a33_0x5148f0(0x19c)),constants=require(a33_0x5148f0(0x16e)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x5148f0(0x14b)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x5148f0(0x1b9)),globals=require(a33_0x5148f0(0x18c)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x2982f9,_0x53031d=null,_0x23aae1=![])=>{const _0x4ea9ee=a33_0x5148f0,_0x589bcb={'veIGL':function(_0x464903,_0x288591){return _0x464903!==_0x288591;},'IpmPm':_0x4ea9ee(0x176),'UqoQo':function(_0x549388,_0x40af7f){return _0x549388+_0x40af7f;},'vCHCX':_0x4ea9ee(0x17b),'Okyro':_0x4ea9ee(0x1a0),'GxFsr':_0x4ea9ee(0x1ae),'Fhzzk':'chromeOptions','PrqSA':_0x4ea9ee(0x186),'BjrpN':_0x4ea9ee(0x14e),'wehrb':_0x4ea9ee(0x156),'NDDZb':'firefoxOptions','lVKxn':_0x4ea9ee(0x1b3),'sLfOX':_0x4ea9ee(0x150),'bmrOL':_0x4ea9ee(0x18e),'BdWSr':function(_0x95ee03,_0x1bc139){return _0x95ee03===_0x1bc139;},'rLNXJ':_0x4ea9ee(0x1a7),'jKOPR':'Setting\x20Browserstack\x20capabilities','CFJEJ':function(_0x4c15ce,_0x133540,_0xb8df8a){return _0x4c15ce(_0x133540,_0xb8df8a);},'vrysu':function(_0xdd5cf3,_0x284e1a){return _0xdd5cf3(_0x284e1a);},'WbhEi':_0x4ea9ee(0x19e),'ulJrY':_0x4ea9ee(0x14a),'pqNfu':'1|3|4|2|0|5','TMTsb':'isAccessibilityPlatform','YGfkg':function(_0xa786e9,_0x5500fa,_0x1c6507){return _0xa786e9(_0x5500fa,_0x1c6507);},'lbZVE':function(_0x269eac){return _0x269eac();},'vEhkD':_0x4ea9ee(0x166),'PsHoW':function(_0x23f93f,_0x1b1880){return _0x23f93f!==_0x1b1880;},'BKYix':function(_0x3861e4,_0x31d483){return _0x3861e4!==_0x31d483;},'PIGOz':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','JWShN':_0x4ea9ee(0x163)},_0x3839ec=helper[_0x4ea9ee(0x187)]();let _0x1de936;try{_0x1de936=helper[_0x4ea9ee(0x174)](),_0x1de936['originalBuilder']&&(_0x1de936['Builder']=_0x1de936['originalBuilder']);}catch(_0x13187e){return;}if(helper[_0x4ea9ee(0x152)]()){const _0x1c8109={};_0x1c8109[_0x4ea9ee(0x1ad)]=_0x2982f9[_0x4ea9ee(0x1aa)],helper[_0x4ea9ee(0x15e)](_0x1c8109,new Map(),new Map()),logger[_0x4ea9ee(0x168)](_0x589bcb['PIGOz']),logger['debug'](_0x589bcb['JWShN']);}class _0x5836db extends _0x3839ec[_0x4ea9ee(0x151)]{[_0x4ea9ee(0x1b1)](_0x3378bb){const _0x28d530=_0x4ea9ee;if(_0x589bcb[_0x28d530(0x158)](_0x3378bb['path'],_0x589bcb[_0x28d530(0x194)])&&_0x589bcb[_0x28d530(0x158)](global[_0x28d530(0x1a3)],''))try{global[_0x28d530(0x1a3)]=_0x589bcb[_0x28d530(0x1c0)](_0x589bcb[_0x28d530(0x1c0)](_0x589bcb['vCHCX'],global['newHubUrl']),_0x589bcb[_0x28d530(0x1b8)]),this[_0x28d530(0x173)]=hubAllocator[_0x28d530(0x1af)](global[_0x28d530(0x1a3)]),logger['debug'](_0x28d530(0x199)+global['newHubUrl']),global['newHubUrl']='';}catch(_0x452ad9){logger['error'](_0x452ad9);}return super[_0x28d530(0x1b1)](_0x3378bb);}}class _0x4c878a extends _0x1de936[_0x4ea9ee(0x167)]{[_0x4ea9ee(0x1b0)](){const _0x6f03b2=_0x4ea9ee;return this[_0x6f03b2(0x15c)]=helper['getHubUrl'](_0x2982f9),logger['debug'](_0x6f03b2(0x177)+this[_0x6f03b2(0x15c)]),this;}[_0x4ea9ee(0x1a8)](_0x1ea02b){const _0x140ec0=_0x4ea9ee;let _0x2a4faa={};for(const _0x2a38c4 in _0x1ea02b){switch(_0x2a38c4){case _0x589bcb[_0x140ec0(0x16a)]:case _0x589bcb['Fhzzk']:this[_0x140ec0(0x165)]&&(_0x2a4faa=this[_0x140ec0(0x165)][_0x140ec0(0x196)](this[_0x140ec0(0x165)][_0x140ec0(0x1bd)])||{},this[_0x140ec0(0x165)][_0x140ec0(0x1ba)](this[_0x140ec0(0x165)][_0x140ec0(0x1bd)],helper[_0x140ec0(0x18f)](_0x2a4faa,_0x1ea02b[_0x2a38c4])));break;case _0x589bcb[_0x140ec0(0x19d)]:case _0x589bcb[_0x140ec0(0x1a6)]:this[_0x140ec0(0x184)]&&(_0x2a4faa=this[_0x140ec0(0x184)]['get'](this['edgeOptions_'][_0x140ec0(0x1bd)])||{},this[_0x140ec0(0x184)][_0x140ec0(0x1ba)](this[_0x140ec0(0x184)][_0x140ec0(0x1bd)],helper[_0x140ec0(0x18f)](_0x2a4faa,_0x1ea02b[_0x2a38c4])));break;case _0x589bcb[_0x140ec0(0x172)]:case _0x589bcb[_0x140ec0(0x1be)]:this['firefoxOptions_']&&(_0x2a4faa=this[_0x140ec0(0x160)]['get'](this[_0x140ec0(0x160)][_0x140ec0(0x1bd)])||{},this['firefoxOptions_']['set'](this['firefoxOptions_'][_0x140ec0(0x1bd)],helper['mergeDeep'](_0x2a4faa,_0x1ea02b[_0x2a38c4])));break;case _0x589bcb['lVKxn']:this[_0x140ec0(0x190)]&&(_0x2a4faa=this[_0x140ec0(0x190)][_0x140ec0(0x196)](this[_0x140ec0(0x190)][_0x140ec0(0x1bd)])||{},this[_0x140ec0(0x190)]['set'](this[_0x140ec0(0x190)][_0x140ec0(0x1bd)],helper[_0x140ec0(0x18f)](_0x2a4faa,_0x1ea02b[_0x2a38c4])));break;case _0x589bcb[_0x140ec0(0x162)]:case _0x589bcb[_0x140ec0(0x170)]:this[_0x140ec0(0x195)]&&(_0x2a4faa=this['ieOptions_'][_0x140ec0(0x196)](this[_0x140ec0(0x195)]['CAPABILITY_KEY'])||{},this[_0x140ec0(0x195)]['set'](this[_0x140ec0(0x195)][_0x140ec0(0x1bd)],helper[_0x140ec0(0x18f)](_0x2a4faa,_0x1ea02b[_0x2a38c4])));break;}}}[_0x4ea9ee(0x180)](){const _0x36b65f=_0x4ea9ee,_0x1a3b1f={'yDGHy':function(_0x19671f,_0x463237){return _0x589bcb['BdWSr'](_0x19671f,_0x463237);},'RwCpk':_0x589bcb[_0x36b65f(0x1bc)]};return logger[_0x36b65f(0x159)](_0x589bcb[_0x36b65f(0x1a5)]),this[_0x36b65f(0x1a8)](_0x2982f9[_0x36b65f(0x17f)]),Object[_0x36b65f(0x154)](_0x2982f9[_0x36b65f(0x17f)])[_0x36b65f(0x15d)](_0x4f8b07=>{const _0x20d412=_0x36b65f,_0x47a9b9=this[_0x20d412(0x1b4)][_0x20d412(0x196)](_0x4f8b07);_0x1a3b1f[_0x20d412(0x19f)](typeof _0x47a9b9,_0x1a3b1f[_0x20d412(0x1bf)])?this[_0x20d412(0x1b4)][_0x20d412(0x1ba)](_0x4f8b07,helper[_0x20d412(0x18f)](_0x47a9b9,_0x2982f9[_0x20d412(0x17f)][_0x4f8b07])):this['capabilities_'][_0x20d412(0x1ba)](_0x4f8b07,_0x2982f9[_0x20d412(0x17f)][_0x4f8b07]);}),this;}['build'](){const _0x1a91c5=_0x4ea9ee,_0x46a6db={'PCceX':_0x589bcb['WbhEi'],'yIlEq':_0x589bcb['ulJrY'],'Ivmec':function(_0x295060,_0x275548,_0x4fbb18){const _0x1d8ed2=a33_0x3f36;return _0x589bcb[_0x1d8ed2(0x181)](_0x295060,_0x275548,_0x4fbb18);},'OlMSn':function(_0x3d23d4,_0xbf5874,_0x2c66f9){const _0x3d9003=a33_0x3f36;return _0x589bcb[_0x3d9003(0x181)](_0x3d23d4,_0xbf5874,_0x2c66f9);}};if(helper[_0x1a91c5(0x152)]()){const _0x41d757=_0x589bcb[_0x1a91c5(0x17a)][_0x1a91c5(0x1b7)]('|');let _0x4a8b12=0x0;while(!![]){switch(_0x41d757[_0x4a8b12++]){case'0':globals[_0x1a91c5(0x1bb)](_0x589bcb[_0x1a91c5(0x16f)])&&(!_0x589bcb[_0x1a91c5(0x182)](setExtension,this,_0x2982f9)&&globals['setGlobal'](_0x589bcb[_0x1a91c5(0x16f)],![]));continue;case'1':_0x589bcb[_0x1a91c5(0x185)](isAccessibilityAutomationSession)&&_0x589bcb[_0x1a91c5(0x1b5)](setAccessibilityCapabilities,_0x2982f9);continue;case'2':if(helper[_0x1a91c5(0x18d)](_0x2982f9[_0x1a91c5(0x14d)]['proxyUrl']))this[_0x1a91c5(0x183)]=helper[_0x1a91c5(0x1a2)](_0x2982f9[_0x1a91c5(0x14d)][_0x1a91c5(0x188)]);else _0x2982f9[_0x1a91c5(0x14d)][_0x1a91c5(0x188)]&&(this[_0x1a91c5(0x197)]=_0x2982f9[_0x1a91c5(0x14d)][_0x1a91c5(0x188)],logger[_0x1a91c5(0x159)]('Proxy\x20set\x20to\x20'+this[_0x1a91c5(0x197)]));continue;case'3':this[_0x1a91c5(0x1b0)]();continue;case'4':this[_0x1a91c5(0x180)]();continue;case'5':logger['debug'](_0x589bcb[_0x1a91c5(0x179)]);continue;}break;}}const _0x5b1893=super[_0x1a91c5(0x191)]();return _0x5b1893[_0x1a91c5(0x189)]['then'](_0x14a87a=>{const _0x186b01=_0x1a91c5;try{const _0x281ecc=_0x14a87a[_0x186b01(0x193)][_0x186b01(0x196)](_0x46a6db[_0x186b01(0x153)]);_0x281ecc?(logger['debug'](_0x186b01(0x1ab)+_0x281ecc),hubAllocator[_0x186b01(0x14f)](_0x281ecc),helper['storeOptimalHubUrl'](_0x281ecc)):logger[_0x186b01(0x159)](_0x46a6db[_0x186b01(0x149)]);}catch(_0x38f385){logger['debug'](_0x186b01(0x1a4)+_0x38f385);}}),_0x5b1893[_0x1a91c5(0x169)]=0x0,_0x5b1893['then']&&_0x5b1893[_0x1a91c5(0x18a)](_0x2f2306=>{const _0x5c5c89=_0x1a91c5,_0x5ccfb2={'FbxdK':function(_0x4efb7d,_0x52a9cb,_0x575aff){const _0x2939be=a33_0x3f36;return _0x589bcb[_0x2939be(0x181)](_0x4efb7d,_0x52a9cb,_0x575aff);}};_0x589bcb[_0x5c5c89(0x181)](overrideQuit,_0x2f2306,_0x5b1893),_0x589bcb['vrysu'](overrideTakeScreenshot,_0x2f2306),helper['overrideGet'](_0x2f2306,_0x2982f9),_0x589bcb['CFJEJ'](overrideExecute,_0x2f2306,_0x2982f9),_0x2f2306['getAccessibilityResultsSummary']=async()=>{const _0x24395b=_0x5c5c89;return await _0x5ccfb2[_0x24395b(0x1b2)](getAccessibilityResultsSummary,_0x2f2306,global);},_0x2f2306[_0x5c5c89(0x17e)]=async()=>{const _0x190be5=_0x5c5c89;return await _0x5ccfb2[_0x190be5(0x1b2)](getAccessibilityResults,_0x2f2306,global);};}),_0x5b1893[_0x1a91c5(0x16b)]=async()=>{const _0x2d4aba=_0x1a91c5;return await _0x46a6db[_0x2d4aba(0x19a)](getAccessibilityResultsSummary,_0x5b1893,global);},_0x5b1893['getAccessibilityResults']=async()=>{const _0x3e1020=_0x1a91c5;return await _0x46a6db[_0x3e1020(0x1b6)](getAccessibilityResults,_0x5b1893,global);},_0x589bcb[_0x1a91c5(0x1b5)](overrideTakeScreenshot,_0x5b1893),_0x589bcb[_0x1a91c5(0x1b5)](overrideQuit,_0x5b1893),helper[_0x1a91c5(0x157)](_0x5b1893,_0x2982f9),_0x589bcb[_0x1a91c5(0x182)](overrideExecute,_0x5b1893,_0x2982f9),helper[_0x1a91c5(0x18b)](global[_0x1a91c5(0x171)])&&(global[_0x1a91c5(0x171)]=[]),helper[_0x1a91c5(0x18b)](global[_0x1a91c5(0x1ac)])&&(global['__drivers']=[]),global[_0x1a91c5(0x171)]['push'](_0x5b1893),global[_0x1a91c5(0x15a)]=_0x5b1893,_0x589bcb[_0x1a91c5(0x16d)](global['__drivers'],undefined)&&global[_0x1a91c5(0x1ac)]['push'](_0x5b1893),_0x53031d&&helper[_0x1a91c5(0x18b)](_0x53031d['global'][_0x1a91c5(0x171)])&&(_0x53031d[_0x1a91c5(0x15b)]['__driversArray']=[]),_0x53031d&&_0x589bcb['BKYix'](_0x53031d[_0x1a91c5(0x15b)][_0x1a91c5(0x1ac)],undefined)&&(_0x53031d[_0x1a91c5(0x15b)][_0x1a91c5(0x1ac)][_0x1a91c5(0x15f)](_0x5b1893),_0x53031d[_0x1a91c5(0x15b)][_0x1a91c5(0x171)][_0x1a91c5(0x15f)](_0x5b1893)),_0x5b1893;}}return _0x1de936['originalBuilder']=_0x1de936[_0x4ea9ee(0x167)],_0x1de936[_0x4ea9ee(0x167)]=_0x4c878a,_0x3839ec['HttpClient']=_0x5836db,_0x1de936;};function a33_0x3f36(_0x5ee3c6,_0x241e72){const _0x58779a=a33_0x5877();return a33_0x3f36=function(_0x3f369b,_0x5d0a5e){_0x3f369b=_0x3f369b-0x149;let _0x4aa805=_0x58779a[_0x3f369b];return _0x4aa805;},a33_0x3f36(_0x5ee3c6,_0x241e72);}function a33_0x5877(){const _0x5c77fd=['PsHoW','../../../bin/utils/constants','TMTsb','bmrOL','__driversArray','wehrb','options_','requireSeleniumWebdriver','browserstackAgentObservability','/session','Hub\x20url\x20set\x20to\x20','1077865DZKwLR','vEhkD','pqNfu','https://','2605104QlmmkV','282292lQLPNi','getAccessibilityResults','capability','setCapabilities','CFJEJ','YGfkg','agent_','edgeOptions_','lbZVE','ms:edgeOptions','requireHttpClient','proxyUrl','session_','then','isUndefined','../../../helpers/globals','isPacProxy','ieOptions','mergeDeep','safariOptions_','build','../../../helpers/logger','caps_','IpmPm','ieOptions_','get','proxy_','12KjaLFH','New\x20hub\x20url\x20set\x20to\x20','Ivmec','24CbPmsS','../../../helpers/helper','PrqSA','optimalHubUrl','yDGHy','/wd/hub','7432931mtPwHV','getHttpAgent','newHubUrl','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','jKOPR','BjrpN','object','__setBrowserOptions','1068711CyLaQR','browserStackLogLevel','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','__drivers','logLevel','goog:chromeOptions','getRequestOptions','setServer','send','FbxdK','safari.options','capabilities_','vrysu','OlMSn','split','Okyro','../../../helpers/accessibility-automation/helper','set','getGlobal','rLNXJ','CAPABILITY_KEY','NDDZb','RwCpk','UqoQo','yIlEq','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','../../../helpers/patchHelpers','10KCyGKY','proxySettings','edgeOptions','updateHubUrl','se:ieOptions','HttpClient','isBrowserstackInfra','PCceX','keys','4hNfoFf','moz:firefoxOptions','overrideGet','veIGL','debug','__driver','global','url_','forEach','setLogLevel','push','firefoxOptions_','4569516gPvCSj','sLfOX','Modifying\x20webdriver\x20builder','3243165CCucHx','chromeOptions_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','Builder','info','quitCount_','GxFsr','getAccessibilityResultsSummary','8KctNRG'];a33_0x5877=function(){return _0x5c77fd;};return a33_0x5877();}module['exports'][a33_0x5148f0(0x175)]=modify;
1
+ function a33_0x5176(_0x1b8fd4,_0x322e25){const _0x384c80=a33_0x384c();return a33_0x5176=function(_0x5176d9,_0x5c1685){_0x5176d9=_0x5176d9-0xf9;let _0x13bf4a=_0x384c80[_0x5176d9];return _0x13bf4a;},a33_0x5176(_0x1b8fd4,_0x322e25);}const a33_0x547ab6=a33_0x5176;(function(_0x1e3b24,_0x29b95b){const _0x5ee1d6=a33_0x5176,_0x3498e1=_0x1e3b24();while(!![]){try{const _0xccc0e3=parseInt(_0x5ee1d6(0x155))/0x1*(-parseInt(_0x5ee1d6(0x166))/0x2)+parseInt(_0x5ee1d6(0x12a))/0x3+parseInt(_0x5ee1d6(0x141))/0x4*(-parseInt(_0x5ee1d6(0x14e))/0x5)+-parseInt(_0x5ee1d6(0x102))/0x6+-parseInt(_0x5ee1d6(0x164))/0x7+-parseInt(_0x5ee1d6(0x10c))/0x8*(-parseInt(_0x5ee1d6(0x113))/0x9)+parseInt(_0x5ee1d6(0x152))/0xa*(parseInt(_0x5ee1d6(0x14c))/0xb);if(_0xccc0e3===_0x29b95b)break;else _0x3498e1['push'](_0x3498e1['shift']());}catch(_0x2a104f){_0x3498e1['push'](_0x3498e1['shift']());}}}(a33_0x384c,0x4c508));function a33_0x384c(){const _0x36c1bf=['safariOptions_','22252noRqAz','split','Setting\x20Browserstack\x20capabilities','proxy_','VUrQx','firefoxOptions_','originalBuilder','wbKEb','PDsAi','../../../helpers/logger','edgeOptions_','options_','send','quitCount_','QQIFr','setServer','goog:chromeOptions','cUQli','tYBHM','keys','setGlobal','newHubUrl','Proxy\x20set\x20to\x20','caps_','../../../bin/utils/constants','1128348CUNuRI','agent_','2|5|4|1|3|0','IZiTa','jozJL','https://','ieOptions','getHubUrl','session_','UEKfk','8DOyufS','../../../helpers/helper','getGlobal','OrsXG','PbIMl','HttpClient','getAccessibilityResults','5253786dXobcS','url_','global','browserstackAgentObservability','firefoxOptions','iocLu','forEach','ms:edgeOptions','zLScl','Builder','gjfqu','jHSXO','qsfCj','LHGxv','SCVyv','moz:firefoxOptions','se:ieOptions','edgeOptions','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','winstonLogger','luJxu','setLogLevel','./helpers/patchHelper','1513245hkUDeJ','../../../hubAllocationMethods','getAccessibilityResultsSummary','chromeOptions_','../../../helpers/globals','__drivers','setCapabilities','../../../helpers/accessibility-automation/helper','isPacProxy','/wd/hub','capability','../accessibility-automation/helper','lMalo','requireSeleniumWebdriver','get','LrCGS','browserStackLogLevel','HvIoJ','object','mergeDeep','Hub\x20url\x20set\x20to\x20','isAccessibilityPlatform','set','4wJhHnk','safari.options','logLevel','ieOptions_','JRXKM','then','__driver','debug','SrbZR','CAPABILITY_KEY','proxyUrl','356279ltmYEb','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','2681660HIYLUq','exports','__driversArray','/session','80DYjwtZ','capabilities_','bDwIf','5zTUyjY','build','ZNDfZ','isBrowserstackInfra','upGHY','isUndefined','tYLRE','push','updateHubUrl','../../../helpers/patchHelpers','mBqYN','__setBrowserOptions','requireHttpClient','proxySettings','yVQKd','1782739OMnyWp'];a33_0x384c=function(){return _0x36c1bf;};return a33_0x384c();}const logger=require(a33_0x547ab6(0x16f))[a33_0x547ab6(0x126)],helper=require(a33_0x547ab6(0x10d)),constants=require(a33_0x547ab6(0x101)),hubAllocator=require(a33_0x547ab6(0x12b)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x547ab6(0x15e)),{setAccessibilityCapabilities,setExtension}=require(a33_0x547ab6(0x135)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x547ab6(0x131)),globals=require(a33_0x547ab6(0x12e)),{overrideExecute}=require(a33_0x547ab6(0x129)),modify=(_0x1df731,_0x1292c0=null,_0x33e3ec=![])=>{const _0x2162d0=a33_0x547ab6,_0x4c2680={'HvIoJ':function(_0x4485e8,_0x15d94b){return _0x4485e8!==_0x15d94b;},'gjfqu':_0x2162d0(0x151),'lMalo':function(_0x12d500,_0xa70a05){return _0x12d500!==_0xa70a05;},'LHGxv':function(_0x9f37da,_0x1710de){return _0x9f37da+_0x1710de;},'cUQli':_0x2162d0(0x107),'tslxT':_0x2162d0(0x133),'QQIFr':_0x2162d0(0xf9),'yVQKd':'chromeOptions','OrsXG':_0x2162d0(0x11a),'luJxu':_0x2162d0(0x124),'PbIMl':_0x2162d0(0x122),'qsfCj':_0x2162d0(0x117),'upGHY':_0x2162d0(0x142),'SadTP':_0x2162d0(0x123),'zLScl':_0x2162d0(0x108),'IZiTa':function(_0x183be8,_0xb84444){return _0x183be8===_0xb84444;},'mBqYN':_0x2162d0(0x13c),'SCVyv':_0x2162d0(0x168),'kjnIF':'optimalHubUrl','UEKfk':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','bDwIf':_0x2162d0(0x104),'jHSXO':function(_0x1d4c52,_0x387f4b,_0x50b9d7){return _0x1d4c52(_0x387f4b,_0x50b9d7);},'VUrQx':function(_0x7750ce,_0x6cdf9b){return _0x7750ce(_0x6cdf9b);},'iocLu':function(_0x26d522,_0x133ca6,_0x439015){return _0x26d522(_0x133ca6,_0x439015);},'sVjMT':function(_0x17ef55,_0x564b86,_0x5aea6f){return _0x17ef55(_0x564b86,_0x5aea6f);},'tDATI':function(_0x6914bd,_0x462df3,_0x2c052e){return _0x6914bd(_0x462df3,_0x2c052e);},'GOiSe':'3|4|0|1|5|2','TSFtq':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','tYLRE':function(_0x22be10){return _0x22be10();},'PDsAi':_0x2162d0(0x13f),'LrCGS':function(_0x966f6,_0x275ed9){return _0x966f6(_0x275ed9);},'XWeSf':function(_0x3e60d2,_0x348cbc){return _0x3e60d2!==_0x348cbc;},'wbKEb':_0x2162d0(0x125),'jozJL':'Modifying\x20webdriver\x20builder'},_0xe71037=helper[_0x2162d0(0x161)]();let _0x7bc17f;try{_0x7bc17f=helper[_0x2162d0(0x137)](),_0x7bc17f['originalBuilder']&&(_0x7bc17f[_0x2162d0(0x11c)]=_0x7bc17f[_0x2162d0(0x16c)]);}catch(_0x53c8ef){return;}if(helper[_0x2162d0(0x158)]()){const _0x2e07ca={};_0x2e07ca[_0x2162d0(0x143)]=_0x1df731[_0x2162d0(0x13a)],helper[_0x2162d0(0x128)](_0x2e07ca,new Map(),new Map()),logger['info'](_0x4c2680[_0x2162d0(0x16d)]),logger[_0x2162d0(0x148)](_0x4c2680[_0x2162d0(0x106)]);}class _0x3e5a23 extends _0xe71037['HttpClient']{['send'](_0x415d19){const _0x2f54f5=_0x2162d0;if(_0x4c2680[_0x2f54f5(0x13b)](_0x415d19['path'],_0x4c2680[_0x2f54f5(0x11d)])&&_0x4c2680[_0x2f54f5(0x136)](global[_0x2f54f5(0xfe)],''))try{global[_0x2f54f5(0xfe)]=_0x4c2680['LHGxv'](_0x4c2680[_0x2f54f5(0x120)](_0x4c2680[_0x2f54f5(0xfa)],global[_0x2f54f5(0xfe)]),_0x4c2680['tslxT']),this[_0x2f54f5(0x171)]=hubAllocator['getRequestOptions'](global[_0x2f54f5(0xfe)]),logger[_0x2f54f5(0x148)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global['newHubUrl']='';}catch(_0x5dbd9e){logger['error'](_0x5dbd9e);}return super[_0x2f54f5(0x172)](_0x415d19);}}class _0x6bf95d extends _0x7bc17f[_0x2162d0(0x11c)]{[_0x2162d0(0x175)](){const _0x2b1371=_0x2162d0;return this[_0x2b1371(0x114)]=helper[_0x2b1371(0x109)](_0x1df731),logger[_0x2b1371(0x148)](_0x2b1371(0x13e)+this['url_']),this;}[_0x2162d0(0x160)](_0x28a54a){const _0x328f33=_0x2162d0;let _0x13b326={};for(const _0x120bc3 in _0x28a54a){switch(_0x120bc3){case _0x4c2680[_0x328f33(0x174)]:case _0x4c2680[_0x328f33(0x163)]:this[_0x328f33(0x12d)]&&(_0x13b326=this[_0x328f33(0x12d)][_0x328f33(0x138)](this['chromeOptions_']['CAPABILITY_KEY'])||{},this[_0x328f33(0x12d)]['set'](this['chromeOptions_'][_0x328f33(0x14a)],helper[_0x328f33(0x13d)](_0x13b326,_0x28a54a[_0x120bc3])));break;case _0x4c2680[_0x328f33(0x10f)]:case _0x4c2680[_0x328f33(0x127)]:this[_0x328f33(0x170)]&&(_0x13b326=this[_0x328f33(0x170)]['get'](this[_0x328f33(0x170)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0x328f33(0x140)](this[_0x328f33(0x170)][_0x328f33(0x14a)],helper[_0x328f33(0x13d)](_0x13b326,_0x28a54a[_0x120bc3])));break;case _0x4c2680[_0x328f33(0x110)]:case _0x4c2680[_0x328f33(0x11f)]:this[_0x328f33(0x16b)]&&(_0x13b326=this[_0x328f33(0x16b)][_0x328f33(0x138)](this[_0x328f33(0x16b)][_0x328f33(0x14a)])||{},this[_0x328f33(0x16b)][_0x328f33(0x140)](this[_0x328f33(0x16b)]['CAPABILITY_KEY'],helper[_0x328f33(0x13d)](_0x13b326,_0x28a54a[_0x120bc3])));break;case _0x4c2680[_0x328f33(0x159)]:this['safariOptions_']&&(_0x13b326=this['safariOptions_'][_0x328f33(0x138)](this[_0x328f33(0x165)][_0x328f33(0x14a)])||{},this[_0x328f33(0x165)][_0x328f33(0x140)](this[_0x328f33(0x165)]['CAPABILITY_KEY'],helper[_0x328f33(0x13d)](_0x13b326,_0x28a54a[_0x120bc3])));break;case _0x4c2680['SadTP']:case _0x4c2680[_0x328f33(0x11b)]:this[_0x328f33(0x144)]&&(_0x13b326=this[_0x328f33(0x144)][_0x328f33(0x138)](this[_0x328f33(0x144)][_0x328f33(0x14a)])||{},this[_0x328f33(0x144)][_0x328f33(0x140)](this[_0x328f33(0x144)][_0x328f33(0x14a)],helper[_0x328f33(0x13d)](_0x13b326,_0x28a54a[_0x120bc3])));break;}}}[_0x2162d0(0x130)](){const _0x358dd5=_0x2162d0,_0x378ec4={'ZNDfZ':function(_0x4d4de2,_0x45b148){const _0x116e22=a33_0x5176;return _0x4c2680[_0x116e22(0x105)](_0x4d4de2,_0x45b148);},'tYBHM':_0x4c2680[_0x358dd5(0x15f)]};return logger['debug'](_0x4c2680[_0x358dd5(0x121)]),this[_0x358dd5(0x160)](_0x1df731['capability']),Object[_0x358dd5(0xfc)](_0x1df731['capability'])[_0x358dd5(0x119)](_0x53c291=>{const _0x328b20=_0x358dd5,_0x15b0c9=this[_0x328b20(0x153)][_0x328b20(0x138)](_0x53c291);_0x378ec4[_0x328b20(0x157)](typeof _0x15b0c9,_0x378ec4[_0x328b20(0xfb)])?this[_0x328b20(0x153)][_0x328b20(0x140)](_0x53c291,helper[_0x328b20(0x13d)](_0x15b0c9,_0x1df731[_0x328b20(0x134)][_0x53c291])):this[_0x328b20(0x153)]['set'](_0x53c291,_0x1df731[_0x328b20(0x134)][_0x53c291]);}),this;}[_0x2162d0(0x156)](){const _0x37f6fd=_0x2162d0,_0x4acb51={'SrbZR':function(_0x5bbbf7,_0x5cde92,_0x45941c){return _0x4c2680['sVjMT'](_0x5bbbf7,_0x5cde92,_0x45941c);},'JRXKM':function(_0x388dd6,_0x3dab64,_0x3d7f1d){return _0x4c2680['tDATI'](_0x388dd6,_0x3dab64,_0x3d7f1d);}};if(helper[_0x37f6fd(0x158)]()){const _0x1a09d0=_0x4c2680['GOiSe'][_0x37f6fd(0x167)]('|');let _0x304947=0x0;while(!![]){switch(_0x1a09d0[_0x304947++]){case'0':this['setCapabilities']();continue;case'1':if(helper[_0x37f6fd(0x132)](_0x1df731[_0x37f6fd(0x162)][_0x37f6fd(0x14b)]))this[_0x37f6fd(0x103)]=helper['getHttpAgent'](_0x1df731[_0x37f6fd(0x162)][_0x37f6fd(0x14b)]);else _0x1df731['proxySettings'][_0x37f6fd(0x14b)]&&(this[_0x37f6fd(0x169)]=_0x1df731[_0x37f6fd(0x162)][_0x37f6fd(0x14b)],logger[_0x37f6fd(0x148)](_0x37f6fd(0xff)+this[_0x37f6fd(0x169)]));continue;case'2':logger[_0x37f6fd(0x148)](_0x4c2680['TSFtq']);continue;case'3':_0x4c2680[_0x37f6fd(0x15b)](isAccessibilityAutomationSession)&&_0x4c2680[_0x37f6fd(0x16a)](setAccessibilityCapabilities,_0x1df731);continue;case'4':this['setServer']();continue;case'5':globals[_0x37f6fd(0x10e)](_0x4c2680[_0x37f6fd(0x16e)])&&(!_0x4c2680['jHSXO'](setExtension,this,_0x1df731)&&globals[_0x37f6fd(0xfd)](_0x4c2680[_0x37f6fd(0x16e)],![]));continue;}break;}}const _0x39ccc0=super[_0x37f6fd(0x156)]();return _0x39ccc0[_0x37f6fd(0x10a)][_0x37f6fd(0x146)](_0x5c6208=>{const _0x18e872=_0x37f6fd;try{const _0x12278d=_0x5c6208[_0x18e872(0x100)][_0x18e872(0x138)](_0x4c2680['kjnIF']);_0x12278d?(logger[_0x18e872(0x148)](_0x18e872(0x14d)+_0x12278d),hubAllocator[_0x18e872(0x15d)](_0x12278d),helper['storeOptimalHubUrl'](_0x12278d)):logger[_0x18e872(0x148)](_0x4c2680[_0x18e872(0x10b)]);}catch(_0x2636a6){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x2636a6);}}),_0x39ccc0[_0x37f6fd(0x173)]=0x0,_0x39ccc0[_0x37f6fd(0x146)]&&_0x39ccc0['then'](_0x51f37e=>{const _0x160922=_0x37f6fd,_0x219a7c=_0x4c2680[_0x160922(0x154)]['split']('|');let _0x59ce43=0x0;while(!![]){switch(_0x219a7c[_0x59ce43++]){case'0':_0x51f37e[_0x160922(0x112)]=async()=>{const _0x48e4ec=_0x160922;return await _0x4acb51[_0x48e4ec(0x145)](getAccessibilityResults,_0x51f37e,global);};continue;case'1':_0x4c2680[_0x160922(0x11e)](overrideExecute,_0x51f37e,_0x1df731);continue;case'2':_0x4c2680['jHSXO'](overrideQuit,_0x51f37e,_0x39ccc0);continue;case'3':_0x51f37e['getAccessibilityResultsSummary']=async()=>{const _0x32d8f5=_0x160922;return await _0x4acb51[_0x32d8f5(0x149)](getAccessibilityResultsSummary,_0x51f37e,global);};continue;case'4':helper['overrideGet'](_0x51f37e,_0x1df731);continue;case'5':_0x4c2680['VUrQx'](overrideTakeScreenshot,_0x51f37e);continue;}break;}}),_0x39ccc0[_0x37f6fd(0x12c)]=async()=>{return await _0x4acb51['JRXKM'](getAccessibilityResultsSummary,_0x39ccc0,global);},_0x39ccc0[_0x37f6fd(0x112)]=async()=>{const _0x4275e5=_0x37f6fd;return await _0x4c2680[_0x4275e5(0x118)](getAccessibilityResults,_0x39ccc0,global);},_0x4c2680[_0x37f6fd(0x139)](overrideTakeScreenshot,_0x39ccc0),_0x4c2680[_0x37f6fd(0x139)](overrideQuit,_0x39ccc0),helper['overrideGet'](_0x39ccc0,_0x1df731),_0x4c2680[_0x37f6fd(0x11e)](overrideExecute,_0x39ccc0,_0x1df731),helper[_0x37f6fd(0x15a)](global[_0x37f6fd(0x150)])&&(global['__driversArray']=[]),helper[_0x37f6fd(0x15a)](global[_0x37f6fd(0x12f)])&&(global['__drivers']=[]),global[_0x37f6fd(0x150)][_0x37f6fd(0x15c)](_0x39ccc0),global[_0x37f6fd(0x147)]=_0x39ccc0,_0x4c2680[_0x37f6fd(0x136)](global[_0x37f6fd(0x12f)],undefined)&&global['__drivers'][_0x37f6fd(0x15c)](_0x39ccc0),_0x1292c0&&helper['isUndefined'](_0x1292c0[_0x37f6fd(0x115)][_0x37f6fd(0x150)])&&(_0x1292c0['global']['__driversArray']=[]),_0x1292c0&&_0x4c2680['XWeSf'](_0x1292c0[_0x37f6fd(0x115)]['__drivers'],undefined)&&(_0x1292c0[_0x37f6fd(0x115)][_0x37f6fd(0x12f)][_0x37f6fd(0x15c)](_0x39ccc0),_0x1292c0[_0x37f6fd(0x115)][_0x37f6fd(0x150)][_0x37f6fd(0x15c)](_0x39ccc0)),_0x39ccc0;}}return _0x7bc17f[_0x2162d0(0x16c)]=_0x7bc17f[_0x2162d0(0x11c)],_0x7bc17f['Builder']=_0x6bf95d,_0xe71037[_0x2162d0(0x111)]=_0x3e5a23,_0x7bc17f;};module[a33_0x547ab6(0x14f)][a33_0x547ab6(0x116)]=modify;
@@ -1 +1 @@
1
- function a34_0x1ffe(_0xe28b93,_0x28f020){const _0x4cfe95=a34_0x4cfe();return a34_0x1ffe=function(_0x1ffe03,_0x5c1679){_0x1ffe03=_0x1ffe03-0x133;let _0x45db44=_0x4cfe95[_0x1ffe03];return _0x45db44;},a34_0x1ffe(_0xe28b93,_0x28f020);}function a34_0x4cfe(){const _0x33ed39=['606243cgkUrz','8330GVWmId','3893436EJOpuQ','restore','../../../helpers/request-spy','58210VffhvE','4sAQfGm','../../../helpers/test-observability/utils','../../../bin/utils/constants','4855560gxxHTy','1016728zmnqZL','mochaHooks','timeout','35HZNPCw','9999135TkSVTF','18777hexKBp','28CKSuYs','dkjKI'];a34_0x4cfe=function(){return _0x33ed39;};return a34_0x4cfe();}const a34_0x2f03c1=a34_0x1ffe;(function(_0x86b3b8,_0x58cbff){const _0x5406d=a34_0x1ffe,_0x1bebe4=_0x86b3b8();while(!![]){try{const _0x5f0974=parseInt(_0x5406d(0x140))/0x1*(parseInt(_0x5406d(0x138))/0x2)+-parseInt(_0x5406d(0x133))/0x3*(-parseInt(_0x5406d(0x139))/0x4)+parseInt(_0x5406d(0x13c))/0x5+-parseInt(_0x5406d(0x135))/0x6+parseInt(_0x5406d(0x143))/0x7*(-parseInt(_0x5406d(0x13d))/0x8)+parseInt(_0x5406d(0x141))/0x9+parseInt(_0x5406d(0x134))/0xa*(-parseInt(_0x5406d(0x142))/0xb);if(_0x5f0974===_0x58cbff)break;else _0x1bebe4['push'](_0x1bebe4['shift']());}catch(_0x210e19){_0x1bebe4['push'](_0x1bebe4['shift']());}}}(a34_0x4cfe,0xb0ae2));const requestSpy=require(a34_0x2f03c1(0x137)),constants=require(a34_0x2f03c1(0x13b)),{addRequestSpy}=require(a34_0x2f03c1(0x13a));exports[a34_0x2f03c1(0x13e)]={'beforeAll'(){const _0x59c5f2=a34_0x2f03c1,_0x22b0b1={'dkjKI':function(_0x966c2b){return _0x966c2b();}},_0xde29f8='browserstack internal helper hook';_0x22b0b1[_0x59c5f2(0x144)](addRequestSpy);},'afterAll'(){const _0x514a41=a34_0x2f03c1,_0x374be3='browserstack internal helper hook';this[_0x514a41(0x13f)](0xea60),requestSpy[_0x514a41(0x136)]();}};
1
+ function a34_0x29dd(_0x410d4f,_0x3c12c7){const _0x46f342=a34_0x46f3();return a34_0x29dd=function(_0x29dd96,_0x2bcbf9){_0x29dd96=_0x29dd96-0xd5;let _0x32020f=_0x46f342[_0x29dd96];return _0x32020f;},a34_0x29dd(_0x410d4f,_0x3c12c7);}const a34_0x578e90=a34_0x29dd;function a34_0x46f3(){const _0x4f92fa=['7LAtpYh','99204nsgyHI','263457UbNwcs','mochaHooks','859042LyrBlw','1566204ppjeru','1luTnDF','2751408KIxVaN','207449ZPITVP','../../../helpers/test-observability/utils','1172QMLCJa','timeout','../../../helpers/request-spy','3510UkEqBu','230bkqvCN','112pbMQTF'];a34_0x46f3=function(){return _0x4f92fa;};return a34_0x46f3();}(function(_0x469533,_0x11ef5f){const _0x21e66f=a34_0x29dd,_0x583149=_0x469533();while(!![]){try{const _0xb2c0ac=parseInt(_0x21e66f(0xdb))/0x1*(-parseInt(_0x21e66f(0xd9))/0x2)+-parseInt(_0x21e66f(0xd6))/0x3+parseInt(_0x21e66f(0xdf))/0x4*(parseInt(_0x21e66f(0xe2))/0x5)+-parseInt(_0x21e66f(0xda))/0x6*(-parseInt(_0x21e66f(0xd5))/0x7)+-parseInt(_0x21e66f(0xe4))/0x8*(parseInt(_0x21e66f(0xd7))/0x9)+-parseInt(_0x21e66f(0xe3))/0xa*(-parseInt(_0x21e66f(0xdd))/0xb)+parseInt(_0x21e66f(0xdc))/0xc;if(_0xb2c0ac===_0x11ef5f)break;else _0x583149['push'](_0x583149['shift']());}catch(_0x3794ce){_0x583149['push'](_0x583149['shift']());}}}(a34_0x46f3,0x3ed46));const requestSpy=require(a34_0x578e90(0xe1)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a34_0x578e90(0xde));exports[a34_0x578e90(0xd8)]={'beforeAll'(){const _0x10765b={'roLcS':function(_0x33e53c){return _0x33e53c();}},_0x200965='browserstack internal helper hook';_0x10765b['roLcS'](addRequestSpy);},'afterAll'(){const _0x1c5be0=a34_0x578e90,_0x297e5d='browserstack internal helper hook';this[_0x1c5be0(0xe0)](0xea60),requestSpy['restore']();}};
@@ -1 +1 @@
1
- const a35_0x4d53fa=a35_0x232a;(function(_0x16c2f7,_0x4a5146){const _0x6cf562=a35_0x232a,_0x50c9f0=_0x16c2f7();while(!![]){try{const _0x5daa99=parseInt(_0x6cf562(0x1e1))/0x1+parseInt(_0x6cf562(0x20e))/0x2*(-parseInt(_0x6cf562(0x1ff))/0x3)+-parseInt(_0x6cf562(0x1d5))/0x4*(-parseInt(_0x6cf562(0x21c))/0x5)+parseInt(_0x6cf562(0x219))/0x6*(-parseInt(_0x6cf562(0x204))/0x7)+-parseInt(_0x6cf562(0x1fd))/0x8+parseInt(_0x6cf562(0x1db))/0x9+-parseInt(_0x6cf562(0x1fc))/0xa*(-parseInt(_0x6cf562(0x1f0))/0xb);if(_0x5daa99===_0x4a5146)break;else _0x50c9f0['push'](_0x50c9f0['shift']());}catch(_0x57bb73){_0x50c9f0['push'](_0x50c9f0['shift']());}}}(a35_0x597d,0xcbd88));const {v4:uuidv4}=require(a35_0x4d53fa(0x209)),{name,version}=require(a35_0x4d53fa(0x1d8)),logPatcher=require(a35_0x4d53fa(0x218)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a35_0x4d53fa(0x20f)),{getPlatformVersion}=require(a35_0x4d53fa(0x1eb)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a35_0x4d53fa(0x216)),{patchConsoleLogger}=require(a35_0x4d53fa(0x20a));function a35_0x232a(_0x343d0b,_0x4c008c){const _0x597ddc=a35_0x597d();return a35_0x232a=function(_0x232a63,_0x2b2188){_0x232a63=_0x232a63-0x1d0;let _0x265cc7=_0x597ddc[_0x232a63];return _0x265cc7;},a35_0x232a(_0x343d0b,_0x4c008c);}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x3f9f01=a35_0x4d53fa,_0xe9330c={'RJamd':_0x3f9f01(0x214),'QMLjF':function(_0x17e942){return _0x17e942();}};return{'ci':_0xe9330c[_0x3f9f01(0x1fa)],'key':_0xe9330c[_0x3f9f01(0x225)](uuidv4),'version':version,'collector':_0x3f9f01(0x1f8)+name};},exports['getHookDetails']=_0x1fe5bb=>{const _0x163a8e=a35_0x4d53fa,_0x118ddd={};_0x118ddd['BRqVq']=function(_0x229a7b,_0x577b22){return _0x229a7b!==_0x577b22;},_0x118ddd['lQveA']='string',_0x118ddd[_0x163a8e(0x202)]=_0x163a8e(0x1ee),_0x118ddd['cILhe']=_0x163a8e(0x1d7);const _0x32f740=_0x118ddd;if(!_0x1fe5bb||_0x32f740[_0x163a8e(0x1fb)](typeof _0x1fe5bb,_0x32f740[_0x163a8e(0x1da)]))return[null,null];if(_0x32f740['BRqVq'](_0x1fe5bb[_0x163a8e(0x1dc)](_0x32f740[_0x163a8e(0x202)]),-0x1)){const _0x5bf4ed=_0x1fe5bb[_0x163a8e(0x1d1)](_0x32f740[_0x163a8e(0x202)]);return[_0x5bf4ed[0x0][_0x163a8e(0x1dd)](0x0,-0x1)[_0x163a8e(0x1d1)]('\x22')[0x1],_0x5bf4ed[0x1]['substring'](0x1)];}else{if(_0x32f740[_0x163a8e(0x1fb)](_0x1fe5bb['indexOf'](_0x32f740[_0x163a8e(0x21b)]),-0x1)){const _0xb246e0=_0x1fe5bb[_0x163a8e(0x1d1)](_0x32f740[_0x163a8e(0x21b)]);return[_0xb246e0[0x0][_0x163a8e(0x1dd)](0x0,-0x1)[_0x163a8e(0x1d1)]('\x22')[0x1],_0x1fe5bb];}}return[null,null];},exports[a35_0x4d53fa(0x1ea)]=_0x5f3179=>{const _0x3ddfb3=a35_0x4d53fa,_0x3a332d={'xfcRr':function(_0x54e25d,_0x50ba0f){return _0x54e25d(_0x50ba0f);},'fArOp':_0x3ddfb3(0x21f),'NQVST':_0x3ddfb3(0x1f3),'GHjQi':'_beforeEach','LLPmp':_0x3ddfb3(0x222)};if(!_0x5f3179||!_0x5f3179[_0x3ddfb3(0x20b)])return[];const _0x50de5a=[];return[_0x3a332d[_0x3ddfb3(0x213)],_0x3a332d[_0x3ddfb3(0x1ed)],_0x3a332d[_0x3ddfb3(0x1e6)],_0x3a332d[_0x3ddfb3(0x1e3)]][_0x3ddfb3(0x1e5)](_0x3c995a=>{const _0x395657=_0x3ddfb3,_0x4af304=_0x5f3179[_0x395657(0x20b)][_0x3c995a]||[];_0x4af304[_0x395657(0x1e5)](_0x5d0045=>{const _0x5b607f=_0x395657;_0x5d0045[_0x5b607f(0x224)]&&!_0x3a332d[_0x5b607f(0x207)](isInternalHook,_0x5d0045['fn'])&&_0x50de5a['push'](_0x5d0045[_0x5b607f(0x224)]);});}),[..._0x50de5a,...exports['getHooksForTest'](_0x5f3179['parent'])];},exports[a35_0x4d53fa(0x1f2)]=_0x5b67b3=>{const _0x109b73=a35_0x4d53fa,_0x1838ff={'OVopg':function(_0x222129){return _0x222129();},'BwZvl':function(_0x166223,_0x4d021a){return _0x166223===_0x4d021a;},'jLSyX':_0x109b73(0x222),'bpMWk':function(_0x41d29c){return _0x41d29c();},'MIBZr':'_beforeAll','PiQcz':_0x109b73(0x1f3),'zZCEJ':'_beforeEach'};if(!_0x5b67b3||!_0x5b67b3[_0x109b73(0x20b)])return;[_0x1838ff['MIBZr'],_0x1838ff[_0x109b73(0x210)],_0x1838ff[_0x109b73(0x200)],_0x1838ff[_0x109b73(0x215)]]['forEach'](_0x4883c6=>{const _0x276bf0=_0x109b73,_0x78ccd3=_0x5b67b3[_0x276bf0(0x20b)][_0x4883c6]||[];_0x78ccd3['forEach'](_0x354d7f=>{const _0x4f8fb0=_0x276bf0;if(!_0x354d7f['hookAnalyticsId'])_0x354d7f['hookAnalyticsId']=_0x1838ff[_0x4f8fb0(0x1e7)](uuidv4);else _0x354d7f[_0x4f8fb0(0x1f1)]&&_0x1838ff['BwZvl'](_0x4883c6,_0x1838ff['jLSyX'])&&(_0x354d7f[_0x4f8fb0(0x224)]=_0x1838ff[_0x4f8fb0(0x212)](uuidv4),delete _0x354d7f[_0x4f8fb0(0x1f1)]);});}),exports[_0x109b73(0x1f2)](_0x5b67b3[_0x109b73(0x20b)]);},exports[a35_0x4d53fa(0x21d)]=async(_0x3a4c8c,_0x4145b6)=>{const _0xc93c44=a35_0x4d53fa,_0x32e3d5={'zWylt':function(_0x37be1f){return _0x37be1f();},'HCILh':function(_0x491930,_0x1aa5ce){return _0x491930(_0x1aa5ce);},'raGml':_0xc93c44(0x1f4),'XdKra':function(_0x369dab,_0x40215c){return _0x369dab(_0x40215c);},'SPoIb':function(_0x3361dc,_0x448a13){return _0x3361dc===_0x448a13;},'OcFXV':'browserstack','namEE':_0xc93c44(0x1d4),'nVsYG':_0xc93c44(0x205)};try{if(!_0x32e3d5['zWylt'](shouldProcessEventForTesthub))return;const _0x25c771=await _0x3a4c8c[_0xc93c44(0x211)](),_0x5bb67a=await _0x3a4c8c[_0xc93c44(0x21a)](),_0x3355f6={},_0x2910ae=Object['fromEntries'](_0x5bb67a[_0xc93c44(0x211)]()[_0xc93c44(0x1fe)]),_0x2edc51={'product':_0x32e3d5['HCILh'](getObservabilityLinkedProductName,_0x2910ae),'capabilities':_0x2910ae,'platform':_0x25c771[_0xc93c44(0x206)](),'platform_version':_0x25c771[_0xc93c44(0x220)](_0x32e3d5[_0xc93c44(0x1f9)])?_0x25c771[_0xc93c44(0x220)](_0x32e3d5[_0xc93c44(0x1f9)]):_0x32e3d5['XdKra'](getPlatformVersion,_0x32e3d5[_0xc93c44(0x1df)](global[_0xc93c44(0x217)],_0x32e3d5['OcFXV'])),'browser':_0x25c771[_0xc93c44(0x20d)](),'browser_version':_0x25c771[_0xc93c44(0x1de)](),'session_id':_0x5bb67a[_0xc93c44(0x1f5)]()};global[_0xc93c44(0x217)]?_0x3355f6[global[_0xc93c44(0x217)]]=_0x2edc51:_0x3355f6[_0x32e3d5[_0xc93c44(0x1d2)]]=_0x2edc51,process[_0xc93c44(0x1d9)](_0xc93c44(0x208)+process[_0xc93c44(0x201)],{'timestamp':new Date()[_0xc93c44(0x1e9)](),'level':null,'message':null,'kind':_0x32e3d5[_0xc93c44(0x1e8)],'http_response':_0x3355f6,'uuid':_0x4145b6});}catch(_0x2f80e0){_0x32e3d5[_0xc93c44(0x1e4)](debug,_0xc93c44(0x1f6)+_0x2f80e0);}},exports['getHookSkippedTests']=_0x5ea6a4=>{const _0x47294b=a35_0x4d53fa,_0x279299={};_0x279299[_0x47294b(0x1ef)]=function(_0x4985f7,_0x8283b4){return _0x4985f7!==_0x8283b4;},_0x279299[_0x47294b(0x1f7)]=_0x47294b(0x1d7),_0x279299['TTcZN']=_0x47294b(0x1e2),_0x279299[_0x47294b(0x223)]=_0x47294b(0x1e0);const _0x290075=_0x279299,_0x22bdf6=_0x5ea6a4[_0x47294b(0x1d6)][_0x47294b(0x1ec)]((_0x3cd7af,_0x3bfdea)=>{const _0x6d0e7c=_0x47294b,_0x9c56fe=exports[_0x6d0e7c(0x21e)](_0x3bfdea);return _0x9c56fe&&(_0x3cd7af=_0x3cd7af[_0x6d0e7c(0x221)](_0x9c56fe)),_0x3cd7af;},[]),_0x5d9dc9=_0x5ea6a4[_0x47294b(0x20c)][_0x47294b(0x1d3)](_0x3a7721=>{const _0x17fdfe=_0x47294b,_0x1d702b=_0x290075[_0x17fdfe(0x1ef)](_0x3a7721['type'],_0x290075[_0x17fdfe(0x1f7)])&&!_0x3a7721['markedStatus']&&_0x290075[_0x17fdfe(0x1ef)](_0x3a7721[_0x17fdfe(0x1d0)],_0x290075['TTcZN'])&&_0x290075[_0x17fdfe(0x1ef)](_0x3a7721['state'],_0x290075[_0x17fdfe(0x223)])&&!_0x3a7721[_0x17fdfe(0x203)];return _0x1d702b;});return _0x5d9dc9[_0x47294b(0x221)](_0x22bdf6);};function a35_0x597d(){const _0x49e297=['odyQP','pending','715232lpwtZo','TEST_PLATFORM','getPlatform','xfcRr','bs:addPlatformDetails:','uuid','../../../helpers/test-observability/utils','parent','tests','getBrowserName','14bnfPtC','../../../helpers/test-observability/constants','PiQcz','getCapabilities','bpMWk','fArOp','generic','jLSyX','lodash','__cloud_provider___','../../utils/logPatcher','18MIxUxn','getSession','cILhe','1316135YcRTkx','sendPlatformDetails','getHookSkippedTests','_beforeAll','get','concat','_afterEach','xJQqn','hookAnalyticsId','QMLjF','state','split','namEE','filter','unknown_grid','16mCjSPD','suites','hook','../../../../package.json','emit','lQveA','2345220yjZOab','indexOf','slice','getBrowserVersion','SPoIb','failed','1221199UyhoRa','passed','LLPmp','XdKra','forEach','GHjQi','OVopg','nVsYG','toISOString','getHooksForTest','../../../helpers/helper','reduce','NQVST','hook:','FJMZa','55UKyOZq','markedStatus','mapTestHooks','_afterAll','platformVersion','toJSON','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','EXkRP','js-','raGml','RJamd','BRqVq','769030WOmQJa','8701688BwuqSA','map_','295719WlnDZN','zZCEJ','pid'];a35_0x597d=function(){return _0x49e297;};return a35_0x597d();}
1
+ function a35_0x4733(_0x53ec7b,_0x5da16f){const _0x1d6b61=a35_0x1d6b();return a35_0x4733=function(_0x4733ef,_0x2da142){_0x4733ef=_0x4733ef-0xa0;let _0x3f9dc1=_0x1d6b61[_0x4733ef];return _0x3f9dc1;},a35_0x4733(_0x53ec7b,_0x5da16f);}const a35_0x48438c=a35_0x4733;(function(_0x4900df,_0x1b3800){const _0x59be5c=a35_0x4733,_0x4727ca=_0x4900df();while(!![]){try{const _0x108ab8=-parseInt(_0x59be5c(0xe4))/0x1*(-parseInt(_0x59be5c(0xa6))/0x2)+-parseInt(_0x59be5c(0xba))/0x3*(parseInt(_0x59be5c(0xf5))/0x4)+parseInt(_0x59be5c(0xb7))/0x5+parseInt(_0x59be5c(0xc1))/0x6+-parseInt(_0x59be5c(0xa7))/0x7*(-parseInt(_0x59be5c(0xfa))/0x8)+-parseInt(_0x59be5c(0xc7))/0x9+-parseInt(_0x59be5c(0xe0))/0xa*(parseInt(_0x59be5c(0xaf))/0xb);if(_0x108ab8===_0x1b3800)break;else _0x4727ca['push'](_0x4727ca['shift']());}catch(_0x765998){_0x4727ca['push'](_0x4727ca['shift']());}}}(a35_0x1d6b,0x7907a));function a35_0x1d6b(){const _0x1155a0=['bs:addPlatformDetails:','browserstack','reduce','sqslG','emit','unknown_grid','IYoIo','kfedG','_beforeAll','hook:','../../../../package.json','../../../helpers/helper','markedStatus','../../../helpers/test-observability/constants','lhbJp','36MGNVVm','TTmtP','state','TEST_PLATFORM','suites','2874856KQlbNV','forEach','_beforeEach','get','_afterAll','platformVersion','getCapabilities','1333084WxADuA','7ZSZAwi','rcwtO','oMnku','getBrowserVersion','parent','getSession','PUBVd','filter','10824847vAMRpO','uuid','hook','yJCRi','EWDFK','indexOf','ZefHQ','getHookDetails','831735LaLCYv','KpADA','generic','45483GYXynB','push','getTestEnv','uZrPT','type','rtBEh','js-','3003528BSsBXX','WOCaZ','split','JHOeI','lodash','sendPlatformDetails','689130sTZTNI','pid','__cloud_provider___','FkBKV','oXNRq','fromEntries','string','hookAnalyticsId','passed','../../../helpers/test-observability/utils','rSfME','mapTestHooks','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','slice','map_','concat','Iclnu','getHookSkippedTests','getHooksForTest','dTdZk','xHhPb','../../utils/logPatcher','nGIUO','FqFQk','tvQIw','10mBVPQq','lXJXm','dBOiz','drENu','1WituhZ','_afterEach'];a35_0x1d6b=function(){return _0x1155a0;};return a35_0x1d6b();}const {v4:uuidv4}=require(a35_0x48438c(0xb0)),{name,version}=require(a35_0x48438c(0xf0)),logPatcher=require(a35_0x48438c(0xdc)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x48438c(0xd0)),{consoleHolder}=require(a35_0x48438c(0xf3)),{getPlatformVersion}=require(a35_0x48438c(0xf1)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a35_0x48438c(0xc5)),{patchConsoleLogger}=require(a35_0x48438c(0xd0));patchConsoleLogger(),exports[a35_0x48438c(0xbc)]=()=>{const _0x3599b7=a35_0x48438c,_0xaaad1b={'rcwtO':_0x3599b7(0xb9),'tvQIw':function(_0x5c4919){return _0x5c4919();}};return{'ci':_0xaaad1b[_0x3599b7(0xa8)],'key':_0xaaad1b[_0x3599b7(0xdf)](uuidv4),'version':version,'collector':_0x3599b7(0xc0)+name};},exports[a35_0x48438c(0xb6)]=_0x3e9882=>{const _0x511060=a35_0x48438c,_0xa032a7={};_0xa032a7['TTmtP']=function(_0x384d08,_0x142d47){return _0x384d08!==_0x142d47;},_0xa032a7['JHOeI']=_0x511060(0xcd),_0xa032a7[_0x511060(0xb3)]=_0x511060(0xef),_0xa032a7[_0x511060(0xd1)]=function(_0x1338f5,_0xebc201){return _0x1338f5!==_0xebc201;},_0xa032a7[_0x511060(0xb2)]=_0x511060(0xb1);const _0x55d38a=_0xa032a7;if(!_0x3e9882||_0x55d38a[_0x511060(0xf6)](typeof _0x3e9882,_0x55d38a[_0x511060(0xc4)]))return[null,null];if(_0x55d38a[_0x511060(0xf6)](_0x3e9882[_0x511060(0xb4)](_0x55d38a['EWDFK']),-0x1)){const _0x137de2=_0x3e9882['split'](_0x55d38a[_0x511060(0xb3)]);return[_0x137de2[0x0][_0x511060(0xd4)](0x0,-0x1)[_0x511060(0xc3)]('\x22')[0x1],_0x137de2[0x1]['substring'](0x1)];}else{if(_0x55d38a[_0x511060(0xd1)](_0x3e9882['indexOf'](_0x55d38a[_0x511060(0xb2)]),-0x1)){const _0x3e1c5e=_0x3e9882[_0x511060(0xc3)](_0x55d38a[_0x511060(0xb2)]);return[_0x3e1c5e[0x0][_0x511060(0xd4)](0x0,-0x1)['split']('\x22')[0x1],_0x3e9882];}}return[null,null];},exports[a35_0x48438c(0xd9)]=_0x4f833e=>{const _0x4d9cc6=a35_0x48438c,_0x6fc17={'sqslG':function(_0x2ce58e,_0x1ab692){return _0x2ce58e(_0x1ab692);},'UlIXH':'_beforeAll','Iclnu':_0x4d9cc6(0xa3),'KpADA':_0x4d9cc6(0xa1),'WOCaZ':'_afterEach'};if(!_0x4f833e||!_0x4f833e['parent'])return[];const _0x506837=[];return[_0x6fc17['UlIXH'],_0x6fc17[_0x4d9cc6(0xd7)],_0x6fc17[_0x4d9cc6(0xb8)],_0x6fc17[_0x4d9cc6(0xc2)]][_0x4d9cc6(0xa0)](_0x551d22=>{const _0x4c11c1={'CpXEV':function(_0x553416,_0xd7d9cd){const _0x4d0e7e=a35_0x4733;return _0x6fc17[_0x4d0e7e(0xe9)](_0x553416,_0xd7d9cd);}},_0x4daf03=_0x4f833e['parent'][_0x551d22]||[];_0x4daf03['forEach'](_0x1efb76=>{const _0x4d0776=a35_0x4733;_0x1efb76[_0x4d0776(0xce)]&&!_0x4c11c1['CpXEV'](isInternalHook,_0x1efb76['fn'])&&_0x506837[_0x4d0776(0xbb)](_0x1efb76[_0x4d0776(0xce)]);});}),[..._0x506837,...exports[_0x4d9cc6(0xd9)](_0x4f833e[_0x4d9cc6(0xab)])];},exports[a35_0x48438c(0xd2)]=_0x1ea39a=>{const _0x11e018=a35_0x48438c,_0x4d67fb={'lhbJp':function(_0x6777f8){return _0x6777f8();},'nGIUO':function(_0x4914ee,_0x3b3591){return _0x4914ee===_0x3b3591;},'ZefHQ':_0x11e018(0xe5),'xHhPb':_0x11e018(0xee),'uZrPT':'_afterAll','GyvOH':'_beforeEach'};if(!_0x1ea39a||!_0x1ea39a[_0x11e018(0xab)])return;[_0x4d67fb[_0x11e018(0xdb)],_0x4d67fb[_0x11e018(0xbd)],_0x4d67fb['GyvOH'],_0x4d67fb[_0x11e018(0xb5)]][_0x11e018(0xa0)](_0x34f7b4=>{const _0xa73bef=_0x11e018,_0xb4740c={'dTdZk':function(_0x1ac70e){const _0x406212=a35_0x4733;return _0x4d67fb[_0x406212(0xf4)](_0x1ac70e);},'oMnku':function(_0x2d682c,_0x3967ca){const _0x487fa3=a35_0x4733;return _0x4d67fb[_0x487fa3(0xdd)](_0x2d682c,_0x3967ca);},'lXJXm':_0x4d67fb[_0xa73bef(0xb5)],'oXNRq':function(_0x52441e){const _0x401744=_0xa73bef;return _0x4d67fb[_0x401744(0xf4)](_0x52441e);}},_0x34e1cc=_0x1ea39a[_0xa73bef(0xab)][_0x34f7b4]||[];_0x34e1cc[_0xa73bef(0xa0)](_0x31957d=>{const _0x515619=_0xa73bef;if(!_0x31957d[_0x515619(0xce)])_0x31957d[_0x515619(0xce)]=_0xb4740c[_0x515619(0xda)](uuidv4);else _0x31957d[_0x515619(0xf2)]&&_0xb4740c[_0x515619(0xa9)](_0x34f7b4,_0xb4740c[_0x515619(0xe1)])&&(_0x31957d['hookAnalyticsId']=_0xb4740c[_0x515619(0xcb)](uuidv4),delete _0x31957d[_0x515619(0xf2)]);});}),exports['mapTestHooks'](_0x1ea39a[_0x11e018(0xab)]);},exports[a35_0x48438c(0xc6)]=async(_0x32e3f5,_0x5de689)=>{const _0x407b31=a35_0x48438c,_0xbdbb1e={'dBOiz':function(_0x23c640){return _0x23c640();},'kfedG':function(_0x348a4a,_0x50f56b){return _0x348a4a(_0x50f56b);},'drENu':_0x407b31(0xa4),'FkBKV':function(_0x5472da,_0x10e0d0){return _0x5472da===_0x10e0d0;},'nwWbB':_0x407b31(0xe7),'PayEn':_0x407b31(0xeb),'jVcGW':_0x407b31(0xf8)};try{if(!_0xbdbb1e[_0x407b31(0xe2)](shouldProcessEventForTesthub))return;const _0x21dd3c=await _0x32e3f5[_0x407b31(0xa5)](),_0x15a92b=await _0x32e3f5[_0x407b31(0xac)](),_0x1dad19={},_0x472b8e=Object[_0x407b31(0xcc)](_0x15a92b[_0x407b31(0xa5)]()[_0x407b31(0xd5)]),_0xe19e97={'product':_0xbdbb1e['kfedG'](getObservabilityLinkedProductName,_0x472b8e),'capabilities':_0x472b8e,'platform':_0x21dd3c['getPlatform'](),'platform_version':_0x21dd3c[_0x407b31(0xa2)](_0xbdbb1e[_0x407b31(0xe3)])?_0x21dd3c[_0x407b31(0xa2)](_0xbdbb1e[_0x407b31(0xe3)]):_0xbdbb1e[_0x407b31(0xed)](getPlatformVersion,_0xbdbb1e[_0x407b31(0xca)](global[_0x407b31(0xc9)],_0xbdbb1e['nwWbB'])),'browser':_0x21dd3c['getBrowserName'](),'browser_version':_0x21dd3c[_0x407b31(0xaa)](),'session_id':_0x15a92b['toJSON']()};global[_0x407b31(0xc9)]?_0x1dad19[global[_0x407b31(0xc9)]]=_0xe19e97:_0x1dad19[_0xbdbb1e['PayEn']]=_0xe19e97,process[_0x407b31(0xea)](_0x407b31(0xe6)+process[_0x407b31(0xc8)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0xbdbb1e['jVcGW'],'http_response':_0x1dad19,'uuid':_0x5de689});}catch(_0x1d1ee5){_0xbdbb1e[_0x407b31(0xed)](debug,_0x407b31(0xd3)+_0x1d1ee5);}},exports[a35_0x48438c(0xd8)]=_0x3a5630=>{const _0x1f9053=a35_0x48438c,_0xc053fe={};_0xc053fe[_0x1f9053(0xec)]=function(_0x1799d9,_0x3c2a57){return _0x1799d9!==_0x3c2a57;},_0xc053fe[_0x1f9053(0xad)]=_0x1f9053(0xb1),_0xc053fe[_0x1f9053(0xde)]=_0x1f9053(0xcf),_0xc053fe[_0x1f9053(0xbf)]='failed';const _0x37e7b4=_0xc053fe,_0x5f149f=_0x3a5630[_0x1f9053(0xf9)][_0x1f9053(0xe8)]((_0x51801b,_0xa4d9fc)=>{const _0x1239a3=_0x1f9053,_0xed4d3f=exports[_0x1239a3(0xd8)](_0xa4d9fc);return _0xed4d3f&&(_0x51801b=_0x51801b[_0x1239a3(0xd6)](_0xed4d3f)),_0x51801b;},[]),_0xe7bf39=_0x3a5630['tests'][_0x1f9053(0xae)](_0x2169ec=>{const _0x2a9c7c=_0x1f9053,_0x1d761=_0x37e7b4[_0x2a9c7c(0xec)](_0x2169ec[_0x2a9c7c(0xbe)],_0x37e7b4[_0x2a9c7c(0xad)])&&!_0x2169ec[_0x2a9c7c(0xf2)]&&_0x37e7b4[_0x2a9c7c(0xec)](_0x2169ec[_0x2a9c7c(0xf7)],_0x37e7b4[_0x2a9c7c(0xde)])&&_0x37e7b4[_0x2a9c7c(0xec)](_0x2169ec[_0x2a9c7c(0xf7)],_0x37e7b4[_0x2a9c7c(0xbf)])&&!_0x2169ec['pending'];return _0x1d761;});return _0xe7bf39[_0x1f9053(0xd6)](_0x5f149f);};
@@ -1 +1 @@
1
- const a36_0x3567a9=a36_0x2926;(function(_0x8da8a6,_0x4f3e4e){const _0x534507=a36_0x2926,_0x10505b=_0x8da8a6();while(!![]){try{const _0x49b85b=parseInt(_0x534507(0x10a))/0x1*(parseInt(_0x534507(0xc9))/0x2)+parseInt(_0x534507(0x10f))/0x3+-parseInt(_0x534507(0xde))/0x4+parseInt(_0x534507(0x150))/0x5*(parseInt(_0x534507(0xcf))/0x6)+-parseInt(_0x534507(0xf8))/0x7*(parseInt(_0x534507(0x14a))/0x8)+-parseInt(_0x534507(0x13b))/0x9+parseInt(_0x534507(0x122))/0xa*(parseInt(_0x534507(0x149))/0xb);if(_0x49b85b===_0x4f3e4e)break;else _0x10505b['push'](_0x10505b['shift']());}catch(_0x214d66){_0x10505b['push'](_0x10505b['shift']());}}}(a36_0x3760,0x917d3));function a36_0x2926(_0x28c839,_0x16dffa){const _0x376046=a36_0x3760();return a36_0x2926=function(_0x292633,_0x481137){_0x292633=_0x292633-0xb4;let _0x42b787=_0x376046[_0x292633];return _0x42b787;},a36_0x2926(_0x28c839,_0x16dffa);}function a36_0x3760(){const _0x43dbaf=['WJNRz','dvITN','../../helpers/performance/constants','786950nFtwfM','PeWTH','irXMH','isArray','Passed','ENUPT','Accessibility\x20scan\x20completed\x20successfully','accessibilityScanStarted','failed','browserstackSessionName','../../helpers/accessibility-automation/helper','jqbjQ','KXqkX','afterEach','err','xvaQv','ZcDNf','SESSION_STATUS','ZXNsQ','http:','start','BNgdz','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','HDvhA','isAccessibilityPlatform','7447221IglBYg','getGlobal','timeout','PERFORM_SCAN','zsZYw','Failed:\x20','gNBBG','ZhUxh','format','dmnnX','capabilities','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','gZvAM','22aevjAf','64WZtYbv','hpDFL','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','eKUWG','../../helpers/helper','lzdUa','1012695qpZODA','../../helpers/globals','QaMZn','BROWSERSTACK_TESTHUB_JWT','__error_messages__','GkrQM','SESSION_NAME','RMBBp','quitCount_','winstonLogger','parse','../../helpers/testhub/constants','OGHgQ','testcase','IqwgZ','message','gZQRL','bOtGL','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','JKNMB','shouldScanTestForAccessibility','stringify','performScanWithRetry','ObservabilitySync:','passed','Mocha','driverCleanup','testAnalyticsId','__sessionFailed','yzZBN','bstackA11yShouldScan','../../helpers/accessibility-automation/accessibilityRetryHelper','protocol','wWFwk','HiDry','SAVE_RESULTS','Qubkr','mochaHooks','env','vDpVa','command','xIJQN','YvTYL','now','CKPkI','info','app','LzHwq','\x20-\x20','getCurrentUrl','sessionName','executeScript','RmfxJ','BROWSERSTACK_TESTHUB_UUID','percyCaptureMode','./test-observability/mochaUtils','end','error','qkKpS','130mKvPFf','then','Yfihq','measureWrapper','thJwtToken','csirr','18oijHGj','__skipSessionName','beforeAll','KTmDd','MVdWb','SQKhq','beforeEach','shift','YVfOT','index','LaCqi','debug','../../helpers/performance/performance-tester','pzvGj','Automate\x20test\x20case\x20execution\x20has\x20started.','4539136wHRqwT','sessionNameSet__','vObsT','UXGVC','fXRPt','nUQNQ','https:','nJUGY','session_','pNADF','length','LZyQG','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','uxGwR','DSPNE','bUWig','GKdHo','EefUA','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','cWoFC','SDK_HOOK','warn','CzOpX','finally','\x20|\x20','titlePath','169561jUVwUq','setGlobal','bkTTM','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','__drivers','SYNC','Uedwm','ENV_VAR','SuYvw','Qqnsp','GIKYL','BhKyD','.\x20Error\x20:','join','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','NUrgv','__platformCaps','../utils/constants','14645qBlsQJ','push','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','ffmbk','\x22}}','3105084otDxjr','startMonitoring','state','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','browserstackTestName','vmGfh','yAbxM','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','yYhHd','wyZKB','afterAll','dUCuc','currentTest','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','utadD','autoScanning'];a36_0x3760=function(){return _0x43dbaf;};return a36_0x3760();}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x3567a9(0x12c)),accessibilityRetryHelper=require(a36_0x3567a9(0x16f)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x3567a9(0x109)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a36_0x3567a9(0xc5)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x3567a9(0x14e)),PerformanceTester=require(a36_0x3567a9(0xdb)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x3567a9(0x121)),globals=require(a36_0x3567a9(0x151)),logger=require('../../helpers/logger')[a36_0x3567a9(0x159)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x3567a9(0x15b));exports[a36_0x3567a9(0x175)]={'beforeAll'(){const _0x42b8d5=a36_0x3567a9,_0x4d1a4d={'vDpVa':function(_0x405eb2,_0x104fe0,_0x1657e2,_0x589cf2){return _0x405eb2(_0x104fe0,_0x1657e2,_0x589cf2);},'ypRdB':_0x42b8d5(0x12a),'utadD':_0x42b8d5(0xf6),'nUQNQ':function(_0x6bf82d,_0x69f456,_0x54d7c8){return _0x6bf82d(_0x69f456,_0x54d7c8);},'LZyQG':_0x42b8d5(0x168),'VGXKE':function(_0x209ff1){return _0x209ff1();},'nPSki':function(_0xa76a7f,_0xe24e40,_0x536bf0){return _0xa76a7f(_0xe24e40,_0x536bf0);},'LzHwq':_0x42b8d5(0xd8),'yOasm':_0x42b8d5(0xd1)};PerformanceTester[_0x42b8d5(0x110)]();const _0x9e445c='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x42b8d5(0xf2)],()=>{const _0x539d73=_0x42b8d5,_0x3979fd={'MVdWb':function(_0x3ff8e0,_0x5af88e,_0xc264e3,_0x42cde6){const _0x5568bd=a36_0x2926;return _0x4d1a4d[_0x5568bd(0xb5)](_0x3ff8e0,_0x5af88e,_0xc264e3,_0x42cde6);},'boTDm':_0x4d1a4d['ypRdB'],'SuYvw':_0x4d1a4d[_0x539d73(0x11d)],'Qqnsp':function(_0x1f18ca,_0x42af0a,_0x1c3dbc){const _0x5e2475=_0x539d73;return _0x4d1a4d[_0x5e2475(0xe3)](_0x1f18ca,_0x42af0a,_0x1c3dbc);},'nJUGY':_0x4d1a4d[_0x539d73(0xe9)],'PukGI':function(_0x4416fb){return _0x4d1a4d['VGXKE'](_0x4416fb);},'yAbxM':function(_0x10016a,_0xb3a40e,_0x1f5597){return _0x4d1a4d['nPSki'](_0x10016a,_0xb3a40e,_0x1f5597);}};global[_0x539d73(0x154)]=[],global['__sessionFailed']=![],global[_0x539d73(0x16a)]=async()=>{const _0x234373=_0x539d73;let _0x3155d4=![];try{await global[_0x234373(0xfc)][0x0][_0x234373(0xe6)],_0x3155d4=!![],global[_0x234373(0x16c)]?await _0x3979fd[_0x234373(0xd3)](markSessionStatus,global[_0x234373(0xfc)][0x0],_0x3979fd['boTDm'],global[_0x234373(0x154)][_0x234373(0x105)](_0x3979fd[_0x234373(0x100)])):await _0x3979fd[_0x234373(0x101)](markSessionStatus,global[_0x234373(0xfc)][0x0],_0x3979fd[_0x234373(0xe5)]);}catch(_0x44bc64){logger[_0x234373(0xda)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x44bc64);}global['__error_messages__']=[],global[_0x234373(0x16c)]=![];if(_0x3155d4)try{try{_0x3979fd['PukGI'](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x3979fd[_0x234373(0x115)](sendPlatformDetails,global[_0x234373(0xfc)][0x0],this[_0x234373(0x11b)]?this['currentTest'][_0x234373(0x16b)]:null));}catch(_0x4dbcd9){logger[_0x234373(0xda)](_0x234373(0x138)+_0x4dbcd9);}await global['__drivers'][0x0]['initQuit']();}catch(_0xff81e){logger['debug'](_0x234373(0x10c)+_0xff81e);}};},{'platform':_0x4d1a4d['nUQNQ'](nestedKeyValue,global[_0x42b8d5(0x108)],[_0x4d1a4d[_0x42b8d5(0xbd)]]),'hookType':_0x4d1a4d['yOasm']})();},'beforeEach'(_0x272ad1){const _0x72a63c=a36_0x3567a9,_0x39b9b0={'DSPNE':function(_0x593c95){return _0x593c95();},'pNADF':function(_0x288444,_0x1a08af){return _0x288444>_0x1a08af;},'NUrgv':function(_0x3d033a,_0x254ac6){return _0x3d033a>_0x254ac6;},'ffmbk':_0x72a63c(0xbe),'yYhHd':function(_0xc222b9,_0x572d75,_0xace6fd){return _0xc222b9(_0x572d75,_0xace6fd);},'WJNRz':function(_0x1d68cd,_0x6dbb4){return _0x1d68cd===_0x6dbb4;},'CzOpX':'bstackA11yShouldScan','xjqoj':'bstackA11yScanOptions','GKdHo':function(_0x1523dc){return _0x1523dc();},'uxGwR':_0x72a63c(0x13a),'bkTTM':_0x72a63c(0x135),'qkKpS':function(_0x1a3d92,_0x3c1084){return _0x1a3d92===_0x3c1084;},'dUCuc':_0x72a63c(0xe4),'yzZBN':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','MhMAS':_0x72a63c(0xdd),'yjdds':_0x72a63c(0x113),'csirr':function(_0x475c93,_0x5db6f9,_0x515f31){return _0x475c93(_0x5db6f9,_0x515f31);},'ZErGM':'index','GkrQM':_0x72a63c(0xd5)};globals[_0x72a63c(0xf9)](_0x39b9b0['yjdds'],this[_0x72a63c(0x11b)]['titlePath']()[_0x72a63c(0x105)](_0x39b9b0['ffmbk'])),PerformanceTester[_0x72a63c(0xcc)](PerformanceSdkEvents[_0x72a63c(0xf2)],()=>{const _0x45916c=_0x72a63c,_0x326a78={'RmfxJ':function(_0x23a73d,_0x57104b){const _0xa74d03=a36_0x2926;return _0x39b9b0[_0xa74d03(0xe7)](_0x23a73d,_0x57104b);},'ZXNsQ':function(_0x2c87b1,_0x1b0c14){const _0x1ff6ad=a36_0x2926;return _0x39b9b0[_0x1ff6ad(0x107)](_0x2c87b1,_0x1b0c14);},'zsZYw':_0x39b9b0[_0x45916c(0x10d)],'YvTYL':function(_0x1006fc,_0x49836c,_0x4ee8e8){const _0x2d7a01=_0x45916c;return _0x39b9b0[_0x2d7a01(0x117)](_0x1006fc,_0x49836c,_0x4ee8e8);},'dvITN':function(_0x5e6e30,_0x233f66){const _0x2ff872=_0x45916c;return _0x39b9b0[_0x2ff872(0x11f)](_0x5e6e30,_0x233f66);},'cvIcB':_0x39b9b0[_0x45916c(0xf4)],'jGrSq':_0x39b9b0['xjqoj'],'KTmDd':function(_0x1e5a2a){const _0x5b642e=_0x45916c;return _0x39b9b0[_0x5b642e(0xee)](_0x1e5a2a);},'PeWTH':_0x39b9b0[_0x45916c(0xeb)],'RMBBp':_0x39b9b0[_0x45916c(0xfa)],'YvfTd':function(_0x5e6b96,_0x5aa7d2){const _0x1b424b=_0x45916c;return _0x39b9b0[_0x1b424b(0xc8)](_0x5e6b96,_0x5aa7d2);},'Qubkr':_0x39b9b0[_0x45916c(0x11a)],'bUWig':_0x39b9b0[_0x45916c(0x16d)],'CyouE':_0x39b9b0['MhMAS']},_0x1b327b='browserstack internal helper hook';new Promise(async _0x1356b8=>{const _0x5049ab=_0x45916c;let _0x13d035=!![];try{_0x326a78[_0x5049ab(0xc2)](global[_0x5049ab(0xfc)][_0x5049ab(0xe8)],0x1)&&(await global['driverCleanup'](),global[_0x5049ab(0xfc)][_0x5049ab(0xd6)]()),_0x326a78[_0x5049ab(0x134)](global[_0x5049ab(0xfc)][0x0][_0x5049ab(0x158)],0x0)&&(_0x13d035=![],await global[_0x5049ab(0x16a)]());}catch(_0x5f0774){logger[_0x5049ab(0xda)](_0x5049ab(0x10c)+_0x5f0774);}try{Array[_0x5049ab(0x125)](global[_0x5049ab(0xfc)])&&global[_0x5049ab(0xfc)][0x0]&&(global['__drivers'][0x0][_0x5049ab(0x12b)]=this['currentTest'][_0x5049ab(0xf7)]()[_0x5049ab(0x105)](_0x326a78[_0x5049ab(0x13f)])),global[_0x5049ab(0x12b)]=this[_0x5049ab(0x11b)][_0x5049ab(0xf7)]()[_0x5049ab(0x105)](_0x326a78[_0x5049ab(0x13f)]);}catch(_0x5d34e9){logger[_0x5049ab(0xda)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x5d34e9);}this[_0x5049ab(0x11b)][_0x5049ab(0x164)]=_0x326a78[_0x5049ab(0xb8)](shouldScanTestForAccessibility,this[_0x5049ab(0x11b)]['titlePath'](),!![]);let _0x464ad3=!![];try{const _0x435cb7=JSON[_0x5049ab(0x15a)](process[_0x5049ab(0xb4)][_0x5049ab(0x162)]||'{}');_0x326a78[_0x5049ab(0x120)](_0x435cb7[_0x5049ab(0x11e)],![])&&(_0x464ad3=![]);}catch(_0x1020c8){logger[_0x5049ab(0xda)]('Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x1020c8[_0x5049ab(0x15f)]);}const _0x3e057c=_0x464ad3&&this['currentTest'][_0x5049ab(0x164)];globals[_0x5049ab(0xf9)](_0x326a78['cvIcB'],_0x3e057c),globals[_0x5049ab(0xf9)](_0x326a78['jGrSq'],null),this[_0x5049ab(0x11b)][_0x5049ab(0x129)]=this[_0x5049ab(0x11b)][_0x5049ab(0x164)];if(_0x326a78[_0x5049ab(0xd2)](isAccessibilityAutomationSession)&&_0x13d035&&Array[_0x5049ab(0x125)](global[_0x5049ab(0xfc)])&&_0x326a78[_0x5049ab(0x134)](global['__drivers'][_0x5049ab(0xe8)],0x0)&&globals[_0x5049ab(0x13c)](_0x326a78[_0x5049ab(0x123)]))try{const _0x3feb48=await global[_0x5049ab(0xfc)][0x0][_0x5049ab(0xe6)];if(_0x3feb48){let _0x3e92be=!![];const _0x3ebd7b=await global['__drivers'][0x0][_0x5049ab(0xbf)]();let _0x5ce380;try{_0x5ce380=new URL(_0x3ebd7b),_0x3e92be=_0x326a78[_0x5049ab(0x120)](_0x5ce380[_0x5049ab(0x170)],_0x326a78[_0x5049ab(0x157)])||_0x326a78['YvfTd'](_0x5ce380[_0x5049ab(0x170)],_0x326a78[_0x5049ab(0x174)]);}catch(_0x511032){_0x3e92be=![];}_0x3e92be&&(this[_0x5049ab(0x11b)]['shouldScanTestForAccessibility']&&logger[_0x5049ab(0xbb)](_0x326a78[_0x5049ab(0xed)])),this[_0x5049ab(0x11b)][_0x5049ab(0x129)]=this[_0x5049ab(0x11b)][_0x5049ab(0x164)],_0x3e057c&&logger[_0x5049ab(0xbb)](_0x326a78['CyouE']);}}catch(_0x8d1ec1){logger[_0x5049ab(0xc7)](_0x5049ab(0x112)+util[_0x5049ab(0x143)](_0x8d1ec1));}_0x326a78[_0x5049ab(0xd2)](_0x1356b8);})[_0x45916c(0xca)](()=>{const _0x186380=_0x45916c;_0x39b9b0[_0x186380(0xec)](_0x272ad1);});},{'platform':_0x39b9b0[_0x72a63c(0xce)](nestedKeyValue,global['__platformCaps'],[_0x39b9b0['ZErGM']]),'hookType':_0x39b9b0[_0x72a63c(0x155)]})();},'afterEach'(_0x1661dd){const _0x1a2040=a36_0x3567a9,_0x46af3a={'jqbjQ':function(_0x2f732e,_0x5052ac){return _0x2f732e!==_0x5052ac;},'EefUA':_0x1a2040(0x168),'SQKhq':function(_0x3f148e,_0x50f453,_0x2aca79){return _0x3f148e(_0x50f453,_0x2aca79);},'gZQRL':function(_0x325717,_0x5e8100){return _0x325717+_0x5e8100;},'wrQtb':_0x1a2040(0x140),'gZvAM':_0x1a2040(0xc7),'YVfOT':_0x1a2040(0x126),'wyZKB':_0x1a2040(0xbb),'BGimx':function(_0xba12d7,_0x5aa68c){return _0xba12d7>_0x5aa68c;},'hpDFL':function(_0x51a29c,_0xf27e06){return _0x51a29c===_0xf27e06;},'fXRPt':_0x1a2040(0x15d),'HDvhA':'appium:app','vmGfh':function(_0x33e9ef,_0x457424,_0x84b83d,_0x2ae40d){return _0x33e9ef(_0x457424,_0x84b83d,_0x2ae40d);},'vqmdf':_0x1a2040(0x13a),'pzvGj':_0x1a2040(0x116),'eKUWG':_0x1a2040(0x16e),'GIKYL':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','QaMZn':'afterTest','GycUo':_0x1a2040(0x128),'GPRMI':_0x1a2040(0x147),'LaCqi':_0x1a2040(0xf0),'gNBBG':'Accessibility\x20results\x20saved\x20successfully','Yfihq':_0x1a2040(0x14c),'hzvjg':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','OGHgQ':function(_0x20111f){return _0x20111f();},'mmvGM':function(_0x4260ef,_0x32ebc2,_0x3de7b1){return _0x4260ef(_0x32ebc2,_0x3de7b1);},'HolmB':_0x1a2040(0xda),'IqwgZ':function(_0x1bb8e2,_0x1e191b){return _0x1bb8e2>_0x1e191b;},'vObsT':function(_0x396e74){return _0x396e74();},'UXGVC':_0x1a2040(0xbe),'BbxGJ':function(_0x5eeb24){return _0x5eeb24();},'wWFwk':_0x1a2040(0x169),'lzdUa':function(_0x4d820c,_0x2935ad,_0xa9291f){return _0x4d820c(_0x2935ad,_0xa9291f);},'CKPkI':_0x1a2040(0xd8),'GXJKU':_0x1a2040(0x12f)},_0x17757a='browserstack internal helper hook';this[_0x1a2040(0x13d)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x46af3a[_0x1a2040(0x171)]]),global[_0x1a2040(0xc0)]=this[_0x1a2040(0x11b)]['titlePath']()[_0x1a2040(0x105)](_0x46af3a[_0x1a2040(0xe1)]),PerformanceTester[_0x1a2040(0xcc)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x17a6ac=_0x1a2040,_0x6bd699={'BNgdz':_0x46af3a[_0x17a6ac(0xe1)],'JKNMB':function(_0x2cfbee){return _0x46af3a['BbxGJ'](_0x2cfbee);}},_0x6bef78=async(_0x3449a2,_0x34fe6b)=>{const _0x37ff43=_0x17a6ac;await global['__drivers'][0x0][_0x37ff43(0xc1)](_0x37ff43(0xfb)+_0x3449a2+',\x22level\x22:\x20\x22'+_0x34fe6b+_0x37ff43(0x10e));};new Promise(async _0x1db50b=>{const _0x1a572b=_0x17a6ac,_0x313ea9={'Uedwm':function(_0x481ec9,_0x2e132c){const _0x4d8165=a36_0x2926;return _0x46af3a[_0x4d8165(0x12d)](_0x481ec9,_0x2e132c);},'bOtGL':_0x46af3a[_0x1a572b(0xef)],'xIJQN':function(_0x5e33d7,_0xb2a32f,_0x3a9fbf){return _0x46af3a['SQKhq'](_0x5e33d7,_0xb2a32f,_0x3a9fbf);},'KXqkX':function(_0x9065ba,_0x53f465){const _0x122f67=_0x1a572b;return _0x46af3a[_0x122f67(0x160)](_0x9065ba,_0x53f465);},'xvaQv':_0x46af3a['wrQtb'],'ZcDNf':_0x46af3a[_0x1a572b(0x148)],'HiDry':function(_0x19849a,_0x5ccbe7,_0x3632f1){return _0x46af3a['SQKhq'](_0x19849a,_0x5ccbe7,_0x3632f1);},'cWoFC':_0x46af3a[_0x1a572b(0xd7)],'clPUl':_0x46af3a[_0x1a572b(0x118)]};try{_0x46af3a['BGimx'](global['__drivers'][_0x1a572b(0xe8)],0x1)&&(await global[_0x1a572b(0x16a)](),global[_0x1a572b(0xfc)][_0x1a572b(0xd6)](),global[_0x1a572b(0x154)]=[],global[_0x1a572b(0x16c)]=![]);try{if(global['percy']&&_0x46af3a[_0x1a572b(0x14b)](global[_0x1a572b(0xc4)],_0x46af3a[_0x1a572b(0xe2)])&&global[_0x1a572b(0xfc)][0x0]){const _0x2f5f4e=_0x46af3a['BGimx'](global[_0x1a572b(0x145)][_0x1a572b(0xe8)],0x0)?!!global[_0x1a572b(0x145)][0x0][_0x1a572b(0xbc)]||!!global[_0x1a572b(0x145)][0x0][_0x46af3a[_0x1a572b(0x139)]]:![],_0x73757e={};_0x73757e['app']=_0x2f5f4e,await _0x46af3a[_0x1a572b(0x114)](percyAutoCapture,global[_0x1a572b(0xfc)][0x0],_0x46af3a['fXRPt'],_0x73757e);}}catch(_0x20f933){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x20f933);}!global[_0x1a572b(0xd0)]&&(await PerformanceTester[_0x1a572b(0xcc)](PerformanceAutEvents[_0x1a572b(0x156)],async()=>{const _0x32deb8=_0x1a572b;await global['__drivers'][0x0][_0x32deb8(0xc1)](_0x32deb8(0xea)+JSON['stringify'](this[_0x32deb8(0x11b)][_0x32deb8(0xf7)]()[_0x32deb8(0x105)](_0x6bd699[_0x32deb8(0x137)]))+'}}');})(),global[_0x1a572b(0xfc)][0x0][_0x1a572b(0xdf)]=!![]),await PerformanceTester[_0x1a572b(0xcc)](PerformanceAutEvents[_0x1a572b(0x133)],async()=>{const _0x557996=_0x1a572b,_0x30d285=_0x313ea9[_0x557996(0xfe)](this['currentTest'][_0x557996(0x111)],_0x313ea9[_0x557996(0x161)]);_0x30d285?(global[_0x557996(0x16c)]=!![],global[_0x557996(0x154)][_0x557996(0x10b)](this['currentTest'][_0x557996(0x130)][_0x557996(0x15f)]),await _0x313ea9[_0x557996(0xb7)](_0x6bef78,JSON[_0x557996(0x165)](_0x313ea9[_0x557996(0x12e)](_0x313ea9[_0x557996(0x131)],this[_0x557996(0x11b)][_0x557996(0x130)][_0x557996(0x15f)])),_0x313ea9[_0x557996(0x132)])):await _0x313ea9[_0x557996(0x172)](_0x6bef78,JSON[_0x557996(0x165)](_0x313ea9[_0x557996(0xf1)]),_0x313ea9['clPUl']);})();}catch(_0x63c0df){logger['debug'](_0x1a572b(0x146)+_0x63c0df);}try{if(this[_0x1a572b(0x11b)][_0x1a572b(0x129)]&&globals['getGlobal'](_0x46af3a['vqmdf'])){logger[_0x1a572b(0xbb)](_0x46af3a[_0x1a572b(0xdc)]);const _0x349bc7={};_0x349bc7['thTestRunUuid']=this[_0x1a572b(0x11b)][_0x1a572b(0x16b)],_0x349bc7['thBuildUuid']=process[_0x1a572b(0xb4)][testHubConstants[_0x1a572b(0xff)][_0x1a572b(0xc3)]],_0x349bc7[_0x1a572b(0xcd)]=process[_0x1a572b(0xb4)][testHubConstants[_0x1a572b(0xff)][_0x1a572b(0x153)]];const _0x93968d=_0x349bc7;logger[_0x1a572b(0xda)](_0x1a572b(0x106)+JSON[_0x1a572b(0x165)](_0x93968d));if(globals[_0x1a572b(0x13c)](_0x46af3a[_0x1a572b(0x14d)])){logger['debug'](_0x46af3a[_0x1a572b(0x102)]);const _0x1f631a={};_0x1f631a[_0x1a572b(0xb6)]=_0x46af3a[_0x1a572b(0x152)];const _0x142802=await PerformanceTester[_0x1a572b(0xcc)](PerformanceA11yEvents[_0x1a572b(0x13e)],async()=>{const _0x5f1735=_0x1a572b;return await accessibilityRetryHelper[_0x5f1735(0x166)](global[_0x5f1735(0xfc)][0x0],global['browserstackSessionName']);},_0x1f631a)();_0x142802?logger[_0x1a572b(0xda)](_0x46af3a['GycUo']):logger[_0x1a572b(0xf3)](_0x46af3a['GPRMI']);}else logger[_0x1a572b(0xda)](_0x46af3a[_0x1a572b(0xd9)]);const _0x3848c1=await PerformanceTester[_0x1a572b(0xcc)](PerformanceA11yEvents[_0x1a572b(0x173)],async()=>{const _0x317d4f=_0x1a572b;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x317d4f(0xfc)][0x0],_0x93968d);})();_0x3848c1?logger[_0x1a572b(0xda)](_0x46af3a[_0x1a572b(0x141)]):logger[_0x1a572b(0xf3)](_0x46af3a[_0x1a572b(0xcb)]),logger[_0x1a572b(0xbb)](_0x46af3a['hzvjg']);}}catch(_0x22a270){logger[_0x1a572b(0xc7)](_0x1a572b(0x11c)+this['currentTest'][_0x1a572b(0xf7)]()+_0x1a572b(0x104),_0x22a270);}try{try{if(_0x46af3a['OGHgQ'](shouldProcessEventForTesthub)){global[_0x1a572b(0xfc)][0x0]&&await _0x46af3a[_0x1a572b(0xd4)](sendPlatformDetails,global[_0x1a572b(0xfc)][0x0],this[_0x1a572b(0x11b)]?this[_0x1a572b(0x11b)]['testAnalyticsId']:null);if(_0x46af3a[_0x1a572b(0x15c)](isBrowserstackInfra)){PerformanceTester[_0x1a572b(0x136)](PerformanceO11yEvents['SYNC']);const _0x3674c4=_0x1a572b(0x167)+Date[_0x1a572b(0xb9)]();await _0x46af3a['mmvGM'](_0x6bef78,JSON[_0x1a572b(0x165)](_0x3674c4),_0x46af3a['HolmB']),PerformanceTester[_0x1a572b(0xc6)](PerformanceO11yEvents[_0x1a572b(0xfd)]);}}}catch(_0x5ef9bb){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x5ef9bb),PerformanceTester['end'](PerformanceO11yEvents[_0x1a572b(0xfd)],![],_0x5ef9bb);}_0x46af3a[_0x1a572b(0x15e)](global[_0x1a572b(0xfc)][0x0]['quitCount_'],0x0)&&await global[_0x1a572b(0x16a)]();}catch(_0x7a3647){logger['debug'](_0x1a572b(0x10c)+_0x7a3647);}_0x46af3a[_0x1a572b(0xe0)](_0x1db50b);})[_0x17a6ac(0xca)](()=>{const _0x50f12b=_0x17a6ac;_0x6bd699[_0x50f12b(0x163)](_0x1661dd);});},{'platform':_0x46af3a[_0x1a2040(0x14f)](nestedKeyValue,global[_0x1a2040(0x108)],[_0x46af3a[_0x1a2040(0xba)]]),'hookType':_0x46af3a['GXJKU']})();},'afterAll'(_0x4e3073){const _0x54f8ca=a36_0x3567a9,_0x54c517={'ENUPT':function(_0x301b88){return _0x301b88();},'irXMH':_0x54f8ca(0x169),'ZhUxh':function(_0x45778b,_0x2b4388,_0x329ff6){return _0x45778b(_0x2b4388,_0x329ff6);},'STwms':_0x54f8ca(0xd8),'BhKyD':_0x54f8ca(0x119)},_0x66fcff='browserstack internal helper hook';this[_0x54f8ca(0x13d)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x54c517[_0x54f8ca(0x124)]]),PerformanceTester[_0x54f8ca(0xcc)](PerformanceSdkEvents[_0x54f8ca(0xf2)],()=>{const _0x4496fc=_0x54f8ca,_0x516c50={'dmnnX':function(_0x3b7b78){const _0x185136=a36_0x2926;return _0x54c517[_0x185136(0x127)](_0x3b7b78);}};new Promise(async _0x348d1d=>{const _0x2ed799=a36_0x2926;await global[_0x2ed799(0x16a)](),_0x54c517[_0x2ed799(0x127)](_0x348d1d);})[_0x4496fc(0xca)]()[_0x4496fc(0xf5)](()=>{const _0x537e5f=_0x4496fc;_0x516c50[_0x537e5f(0x144)](_0x4e3073);});},{'platform':_0x54c517[_0x54f8ca(0x142)](nestedKeyValue,global[_0x54f8ca(0x108)],[_0x54c517['STwms']]),'hookType':_0x54c517[_0x54f8ca(0x103)]})();}};
1
+ function a36_0x16ec(){const _0xeacd8e=['kcSsj','error','uVtVL','QPzIN','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','afterEach','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SESSION_STATUS','geJLO','appium:app','bstackA11yScanOptions','sessionNameSet__','../utils/constants','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','Myfmz','afterAll','OPKXg','http:','../../helpers/accessibility-automation/accessibilityRetryHelper','1253368CmWjyU','__error_messages__','currentTest','WSZOU','Accessibility\x20scan\x20completed\x20successfully','.\x20Error\x20:','ObservabilitySync:','start','__skipSessionName','BROWSERSTACK_TESTHUB_JWT','debug','KNfDI','message','14378KKONsP','beforeAll','cRgmz','../../helpers/accessibility-automation/helper','isAccessibilityPlatform','startMonitoring','zEnyQ','RjeFe','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Failed\x20to\x20store\x20session\x20name:\x20','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','1295382QLqyhP','./test-observability/mochaUtils','TQVhQ','WcWaB','VFxEk','measureWrapper','SESSION_NAME','protocol','length','WiVMt','afterTest','Automate\x20test\x20case\x20execution\x20has\x20started.','mQmRn','aGPTs','8630buTrNT','autoScanning','36pvCKUq','__platformCaps','SYNC','getGlobal','nhMPV','err','executeScript','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','capabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','CWtId',',\x22level\x22:\x20\x22','timeout','__sessionFailed','FxRCJ','setGlobal','gOIKX','eJTyP','zqjRP','3XdqPFD','kPOHT','browserstackTestName','accessibilityScanStarted','KWBgH','HdvQW','thJwtToken','uKvur','initQuit','LTTYP','env','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','xGppR','MzJtE','JeKHy','bstackA11yShouldScan','../../helpers/logger','kuJRk','htIRt','nxhht','JujQS','824448JNNHEQ','beforeEach','end','quitCount_','540908KYeVXi','1649658WFDUxr','__drivers','format','OLqHD','mEPYG','../../helpers/percy/utils','then','YYmoN','state','vctFZ','ZMlJo','KOEOY','mochaHooks','parse','Mocha','1920yIJDET','jZrlK','Passed','PJqmr','performScanWithRetry','percy','getCurrentUrl','now','5APCHxa','info','sessionName','BjJJJ','command','shouldScanTestForAccessibility','NZZHy','DoLCD','Accessibility\x20results\x20saved\x20successfully','pUdMu','browserstackSessionName','testAnalyticsId','BROWSERSTACK_TESTHUB_UUID','session_','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','IQsbd','../../helpers/performance/performance-tester','seIyH','thTestRunUuid','bZDsi','PERFORM_SCAN','Failed:\x20','stringify','XTEdM','ATthH','shift','SDK_HOOK','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','SNMAk','index','JeFcm','HuknU','driverCleanup','hbRUO','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','winstonLogger','\x20-\x20','\x22}}','JQgeW','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','jRNYy','3321RhGjzd','FjZHt','Lntdd','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','sSLQm','HTVGy','jgCNY','util','wTtJu','ENV_VAR','KoEOl','titlePath','https:','join','push'];a36_0x16ec=function(){return _0xeacd8e;};return a36_0x16ec();}function a36_0x1830(_0x4bb3d7,_0x4e7012){const _0x16ecd4=a36_0x16ec();return a36_0x1830=function(_0x183049,_0x14d53b){_0x183049=_0x183049-0x145;let _0x3d9e21=_0x16ecd4[_0x183049];return _0x3d9e21;},a36_0x1830(_0x4bb3d7,_0x4e7012);}const a36_0x205b5c=a36_0x1830;(function(_0x2964cd,_0x4385e5){const _0x584939=a36_0x1830,_0x4c0f06=_0x2964cd();while(!![]){try{const _0x13d34b=parseInt(_0x584939(0x1b3))/0x1+parseInt(_0x584939(0x1af))/0x2+parseInt(_0x584939(0x19a))/0x3*(-parseInt(_0x584939(0x15e))/0x4)+-parseInt(_0x584939(0x1cb))/0x5*(-parseInt(_0x584939(0x1b4))/0x6)+-parseInt(_0x584939(0x16b))/0x7*(parseInt(_0x584939(0x1c3))/0x8)+parseInt(_0x584939(0x1f4))/0x9*(parseInt(_0x584939(0x185))/0xa)+-parseInt(_0x584939(0x177))/0xb*(parseInt(_0x584939(0x187))/0xc);if(_0x13d34b===_0x4385e5)break;else _0x4c0f06['push'](_0x4c0f06['shift']());}catch(_0x30f124){_0x4c0f06['push'](_0x4c0f06['shift']());}}}(a36_0x16ec,0x5e776));const util=require(a36_0x205b5c(0x1fb)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x205b5c(0x16e)),accessibilityRetryHelper=require(a36_0x205b5c(0x15d)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x205b5c(0x157)),{percyAutoCapture}=require(a36_0x205b5c(0x1b9)),{sendPlatformDetails}=require(a36_0x205b5c(0x178)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x205b5c(0x1db)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require('../../helpers/globals'),logger=require(a36_0x205b5c(0x1aa))[a36_0x205b5c(0x1ee)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants');exports[a36_0x205b5c(0x1c0)]={'beforeAll'(){const _0x7c06c2=a36_0x205b5c,_0x17ffba={'NZZHy':function(_0x1386f5,_0xd859a0,_0xb23041,_0x169699){return _0x1386f5(_0xd859a0,_0xb23041,_0x169699);},'rfDiI':'failed','nxhht':'\x20|\x20','vZLFw':function(_0x141371,_0xd14376,_0x574749){return _0x141371(_0xd14376,_0x574749);},'gOIKX':'passed','hbRUO':function(_0x508a0a){return _0x508a0a();},'ZMlJo':function(_0x1620cc,_0x4d714,_0x202862){return _0x1620cc(_0x4d714,_0x202862);},'JeKHy':function(_0x5d0d6e,_0x12b5a8,_0x2a7f72){return _0x5d0d6e(_0x12b5a8,_0x2a7f72);},'SYLKd':_0x7c06c2(0x1e8),'JujQS':_0x7c06c2(0x16c)};PerformanceTester[_0x7c06c2(0x170)]();const _0x1e0a5f='browserstack internal helper hook';PerformanceTester[_0x7c06c2(0x17c)](PerformanceSdkEvents[_0x7c06c2(0x1e5)],()=>{const _0x3a2bc0=_0x7c06c2;global[_0x3a2bc0(0x15f)]=[],global[_0x3a2bc0(0x194)]=![],global[_0x3a2bc0(0x1eb)]=async()=>{const _0x1c6f80=_0x3a2bc0;let _0x596da9=![];try{await global[_0x1c6f80(0x1b5)][0x0][_0x1c6f80(0x1d8)],_0x596da9=!![],global[_0x1c6f80(0x194)]?await _0x17ffba[_0x1c6f80(0x1d1)](markSessionStatus,global[_0x1c6f80(0x1b5)][0x0],_0x17ffba['rfDiI'],global[_0x1c6f80(0x15f)][_0x1c6f80(0x149)](_0x17ffba[_0x1c6f80(0x1ad)])):await _0x17ffba['vZLFw'](markSessionStatus,global['__drivers'][0x0],_0x17ffba[_0x1c6f80(0x197)]);}catch(_0x47cba6){logger[_0x1c6f80(0x168)](_0x1c6f80(0x158)+_0x47cba6);}global[_0x1c6f80(0x15f)]=[],global[_0x1c6f80(0x194)]=![];if(_0x596da9)try{try{_0x17ffba[_0x1c6f80(0x1ec)](shouldProcessEventForTesthub)&&(global[_0x1c6f80(0x1b5)][0x0]&&await _0x17ffba[_0x1c6f80(0x1be)](sendPlatformDetails,global[_0x1c6f80(0x1b5)][0x0],this[_0x1c6f80(0x160)]?this['currentTest'][_0x1c6f80(0x1d6)]:null));}catch(_0x35ce2e){logger['debug'](_0x1c6f80(0x1e6)+_0x35ce2e);}await global['__drivers'][0x0][_0x1c6f80(0x1a2)]();}catch(_0x3ce685){logger[_0x1c6f80(0x168)](_0x1c6f80(0x175)+_0x3ce685);}};},{'platform':_0x17ffba[_0x7c06c2(0x1a8)](nestedKeyValue,global[_0x7c06c2(0x188)],[_0x17ffba['SYLKd']]),'hookType':_0x17ffba[_0x7c06c2(0x1ae)]})();},'beforeEach'(_0x54de08){const _0x3b039b=a36_0x205b5c,_0x5387f0={'jZrlK':function(_0x31ca2b){return _0x31ca2b();},'mQmRn':function(_0x51f9a0,_0x1cc2a4){return _0x51f9a0>_0x1cc2a4;},'JQgeW':_0x3b039b(0x1ef),'HdvQW':function(_0xa2e7ba,_0x8f5ad4,_0x535050){return _0xa2e7ba(_0x8f5ad4,_0x535050);},'kPOHT':function(_0x21767a,_0x4249bb){return _0x21767a===_0x4249bb;},'OhvWo':_0x3b039b(0x1a9),'wTtJu':_0x3b039b(0x155),'HixLH':_0x3b039b(0x16f),'KoEOl':_0x3b039b(0x15c),'xGppR':_0x3b039b(0x148),'geJLO':_0x3b039b(0x173),'MzJtE':_0x3b039b(0x182),'sTkcr':_0x3b039b(0x19c),'jgCNY':_0x3b039b(0x1e8),'CWtId':_0x3b039b(0x1b0)};globals[_0x3b039b(0x196)](_0x5387f0['sTkcr'],this[_0x3b039b(0x160)]['titlePath']()[_0x3b039b(0x149)](_0x5387f0['JQgeW'])),PerformanceTester[_0x3b039b(0x17c)](PerformanceSdkEvents[_0x3b039b(0x1e5)],()=>{const _0x5d65c9=_0x3b039b,_0x2be217={'WiVMt':function(_0x4a7b7a,_0x16cb96){const _0x2ff034=a36_0x1830;return _0x5387f0[_0x2ff034(0x183)](_0x4a7b7a,_0x16cb96);},'RjeFe':_0x5387f0[_0x5d65c9(0x1f1)],'VguAl':function(_0x36fd2d,_0x3eb915,_0x1570f8){const _0xfa1127=_0x5d65c9;return _0x5387f0[_0xfa1127(0x19f)](_0x36fd2d,_0x3eb915,_0x1570f8);},'zEnyQ':function(_0x1ef4e7,_0x57d781){const _0x2a90bb=_0x5d65c9;return _0x5387f0[_0x2a90bb(0x19b)](_0x1ef4e7,_0x57d781);},'kuJRk':_0x5387f0['OhvWo'],'rrHyY':_0x5387f0[_0x5d65c9(0x1fc)],'GzovX':function(_0x1c36d1){const _0x1e2845=_0x5d65c9;return _0x5387f0[_0x1e2845(0x1c4)](_0x1c36d1);},'htIRt':_0x5387f0['HixLH'],'HTVGy':function(_0x35c855,_0x2b4d02){const _0x386048=_0x5d65c9;return _0x5387f0[_0x386048(0x19b)](_0x35c855,_0x2b4d02);},'XTEdM':_0x5387f0[_0x5d65c9(0x146)],'brDuk':_0x5387f0[_0x5d65c9(0x1a6)],'Myfmz':_0x5387f0[_0x5d65c9(0x153)],'QPzIN':_0x5387f0[_0x5d65c9(0x1a7)]},_0x25bc96='browserstack internal helper hook';new Promise(async _0x20fca7=>{const _0x4ebc7a=_0x5d65c9;let _0x45c5a3=!![];try{_0x2be217[_0x4ebc7a(0x180)](global[_0x4ebc7a(0x1b5)][_0x4ebc7a(0x17f)],0x1)&&(await global['driverCleanup'](),global[_0x4ebc7a(0x1b5)][_0x4ebc7a(0x1e4)]()),_0x2be217[_0x4ebc7a(0x180)](global[_0x4ebc7a(0x1b5)][0x0][_0x4ebc7a(0x1b2)],0x0)&&(_0x45c5a3=![],await global['driverCleanup']());}catch(_0x480822){logger[_0x4ebc7a(0x168)](_0x4ebc7a(0x175)+_0x480822);}try{Array['isArray'](global['__drivers'])&&global[_0x4ebc7a(0x1b5)][0x0]&&(global[_0x4ebc7a(0x1b5)][0x0]['browserstackSessionName']=this[_0x4ebc7a(0x160)][_0x4ebc7a(0x147)]()[_0x4ebc7a(0x149)](_0x2be217[_0x4ebc7a(0x172)])),global[_0x4ebc7a(0x1d5)]=this[_0x4ebc7a(0x160)][_0x4ebc7a(0x147)]()['join'](_0x2be217['RjeFe']);}catch(_0x5c8c75){logger[_0x4ebc7a(0x168)](_0x4ebc7a(0x174)+_0x5c8c75);}this[_0x4ebc7a(0x160)][_0x4ebc7a(0x1d0)]=_0x2be217['VguAl'](shouldScanTestForAccessibility,this['currentTest'][_0x4ebc7a(0x147)](),!![]);let _0x56e1f2=!![];try{const _0x10b49d=JSON[_0x4ebc7a(0x1c1)](process[_0x4ebc7a(0x1a4)][_0x4ebc7a(0x190)]||'{}');_0x2be217[_0x4ebc7a(0x171)](_0x10b49d[_0x4ebc7a(0x186)],![])&&(_0x56e1f2=![]);}catch(_0x36a486){logger[_0x4ebc7a(0x168)](_0x4ebc7a(0x18e)+_0x36a486['message']);}const _0x8d4ba0=_0x56e1f2&&this[_0x4ebc7a(0x160)][_0x4ebc7a(0x1d0)];globals[_0x4ebc7a(0x196)](_0x2be217[_0x4ebc7a(0x1ab)],_0x8d4ba0),globals[_0x4ebc7a(0x196)](_0x2be217['rrHyY'],null),this[_0x4ebc7a(0x160)][_0x4ebc7a(0x19d)]=this['currentTest'][_0x4ebc7a(0x1d0)];if(_0x2be217['GzovX'](isAccessibilityAutomationSession)&&_0x45c5a3&&Array['isArray'](global[_0x4ebc7a(0x1b5)])&&_0x2be217['WiVMt'](global[_0x4ebc7a(0x1b5)][_0x4ebc7a(0x17f)],0x0)&&globals[_0x4ebc7a(0x18a)](_0x2be217[_0x4ebc7a(0x1ac)]))try{const _0x6e139f=await global[_0x4ebc7a(0x1b5)][0x0][_0x4ebc7a(0x1d8)];if(_0x6e139f){let _0x5c07e0=!![];const _0x1d5f53=await global[_0x4ebc7a(0x1b5)][0x0][_0x4ebc7a(0x1c9)]();let _0xe684a0;try{_0xe684a0=new URL(_0x1d5f53),_0x5c07e0=_0x2be217[_0x4ebc7a(0x1f9)](_0xe684a0['protocol'],_0x2be217[_0x4ebc7a(0x1e2)])||_0x2be217[_0x4ebc7a(0x1f9)](_0xe684a0[_0x4ebc7a(0x17e)],_0x2be217['brDuk']);}catch(_0x15ddd8){_0x5c07e0=![];}_0x5c07e0&&(this[_0x4ebc7a(0x160)]['shouldScanTestForAccessibility']&&logger[_0x4ebc7a(0x1cc)](_0x2be217[_0x4ebc7a(0x159)])),this['currentTest']['accessibilityScanStarted']=this[_0x4ebc7a(0x160)][_0x4ebc7a(0x1d0)],_0x8d4ba0&&logger[_0x4ebc7a(0x1cc)](_0x2be217[_0x4ebc7a(0x14e)]);}}catch(_0x515ae2){logger[_0x4ebc7a(0x14c)](_0x4ebc7a(0x1ed)+util[_0x4ebc7a(0x1b6)](_0x515ae2));}_0x2be217['GzovX'](_0x20fca7);})[_0x5d65c9(0x1ba)](()=>{const _0x1e1cc3=_0x5d65c9;_0x5387f0[_0x1e1cc3(0x1c4)](_0x54de08);});},{'platform':_0x5387f0[_0x3b039b(0x19f)](nestedKeyValue,global[_0x3b039b(0x188)],[_0x5387f0[_0x3b039b(0x1fa)]]),'hookType':_0x5387f0[_0x3b039b(0x191)]})();},'afterEach'(_0x11a49f){const _0x16e5c5=a36_0x205b5c,_0x4eaa2a={'vctFZ':_0x16e5c5(0x1ef),'TFjSp':function(_0x5c3330,_0x43ce90){return _0x5c3330>_0x43ce90;},'mEPYG':function(_0x49911a,_0x443b3e){return _0x49911a===_0x443b3e;},'KNfDI':'testcase','VFxEk':function(_0x500401,_0x1f7699){return _0x500401>_0x1f7699;},'hdGrD':_0x16e5c5(0x154),'nhMPV':function(_0x5df161,_0x153968,_0x1640c6,_0x18c342){return _0x5df161(_0x153968,_0x1640c6,_0x18c342);},'wOLyG':_0x16e5c5(0x16f),'Lntdd':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','bWzoP':_0x16e5c5(0x1a9),'kcSsj':_0x16e5c5(0x14f),'jRNYy':_0x16e5c5(0x181),'OLqHD':_0x16e5c5(0x162),'zqjRP':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','uKvur':_0x16e5c5(0x176),'scXOR':_0x16e5c5(0x1d3),'bgLwg':_0x16e5c5(0x1f2),'aGPTs':_0x16e5c5(0x151),'bZDsi':function(_0x3dd418){return _0x3dd418();},'JeFcm':function(_0x7233bc,_0x14a1ae,_0x287fb9){return _0x7233bc(_0x14a1ae,_0x287fb9);},'BfYcs':function(_0x2df0d6,_0x5b5342,_0x2b7456){return _0x2df0d6(_0x5b5342,_0x2b7456);},'KOEOY':_0x16e5c5(0x168),'seIyH':function(_0x5c4151,_0x4f36c3){return _0x5c4151>_0x4f36c3;},'BxZrG':function(_0x241bf5,_0xb570ce){return _0x241bf5!==_0xb570ce;},'cRgmz':'passed','KWBgH':function(_0x36a9ca,_0x17900b,_0x507ac3){return _0x36a9ca(_0x17900b,_0x507ac3);},'lFSpC':function(_0x38326c,_0x11d34e){return _0x38326c+_0x11d34e;},'SNMAk':_0x16e5c5(0x1e0),'WSZOU':_0x16e5c5(0x14c),'YBYZF':_0x16e5c5(0x1c5),'HuknU':_0x16e5c5(0x1cc),'FjZHt':_0x16e5c5(0x1c2),'WcWaB':function(_0x12faa6,_0x11704d,_0x179ff8){return _0x12faa6(_0x11704d,_0x179ff8);},'jpuND':_0x16e5c5(0x1e8),'kTFGG':_0x16e5c5(0x150)},_0x424cd6='browserstack internal helper hook';this[_0x16e5c5(0x193)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4eaa2a[_0x16e5c5(0x1f5)]]),global[_0x16e5c5(0x1cd)]=this[_0x16e5c5(0x160)][_0x16e5c5(0x147)]()[_0x16e5c5(0x149)](_0x4eaa2a[_0x16e5c5(0x1bd)]),PerformanceTester[_0x16e5c5(0x17c)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x3518d5=_0x16e5c5,_0x268bad={'OPKXg':function(_0x432e93,_0x1a6654){return _0x4eaa2a['BxZrG'](_0x432e93,_0x1a6654);},'PJqmr':_0x4eaa2a[_0x3518d5(0x16d)],'eJTyP':function(_0x23be18,_0x250b9d,_0x3f0644){const _0x3f1bcf=_0x3518d5;return _0x4eaa2a[_0x3f1bcf(0x19e)](_0x23be18,_0x250b9d,_0x3f0644);},'pUdMu':function(_0x33f7a4,_0x545ad0){return _0x4eaa2a['lFSpC'](_0x33f7a4,_0x545ad0);},'YYmoN':_0x4eaa2a[_0x3518d5(0x1e7)],'FxRCJ':_0x4eaa2a[_0x3518d5(0x161)],'BjJJJ':_0x4eaa2a['YBYZF'],'IclLz':_0x4eaa2a[_0x3518d5(0x1ea)],'TQVhQ':function(_0x16dc50){return _0x4eaa2a['bZDsi'](_0x16dc50);}},_0x4424b7=async(_0x5d74ca,_0x2a1f4f)=>{const _0x5094a9=_0x3518d5;await global[_0x5094a9(0x1b5)][0x0][_0x5094a9(0x18d)](_0x5094a9(0x1a5)+_0x5d74ca+_0x5094a9(0x192)+_0x2a1f4f+_0x5094a9(0x1f0));};new Promise(async _0x593920=>{const _0x5a253b=_0x3518d5,_0x85335={};_0x85335[_0x5a253b(0x1da)]=_0x4eaa2a['vctFZ'];const _0x56b214=_0x85335;try{_0x4eaa2a['TFjSp'](global[_0x5a253b(0x1b5)]['length'],0x1)&&(await global[_0x5a253b(0x1eb)](),global[_0x5a253b(0x1b5)]['shift'](),global[_0x5a253b(0x15f)]=[],global['__sessionFailed']=![]);try{if(global[_0x5a253b(0x1c8)]&&_0x4eaa2a[_0x5a253b(0x1b8)](global['percyCaptureMode'],_0x4eaa2a['KNfDI'])&&global[_0x5a253b(0x1b5)][0x0]){const _0x25a955=_0x4eaa2a[_0x5a253b(0x17b)](global['capabilities'][_0x5a253b(0x17f)],0x0)?!!global[_0x5a253b(0x18f)][0x0]['app']||!!global[_0x5a253b(0x18f)][0x0][_0x4eaa2a['hdGrD']]:![],_0x56f853={};_0x56f853['app']=_0x25a955,await _0x4eaa2a[_0x5a253b(0x18b)](percyAutoCapture,global[_0x5a253b(0x1b5)][0x0],_0x4eaa2a[_0x5a253b(0x169)],_0x56f853);}}catch(_0x189f3f){logger['debug'](_0x5a253b(0x1d9)+_0x189f3f);}!global[_0x5a253b(0x166)]&&(await PerformanceTester[_0x5a253b(0x17c)](PerformanceAutEvents[_0x5a253b(0x17d)],async()=>{const _0x1a7b25=_0x5a253b;await global['__drivers'][0x0][_0x1a7b25(0x18d)](_0x1a7b25(0x1f7)+JSON[_0x1a7b25(0x1e1)](this['currentTest']['titlePath']()[_0x1a7b25(0x149)](_0x56b214[_0x1a7b25(0x1da)]))+'}}');})(),global['__drivers'][0x0][_0x5a253b(0x156)]=!![]),await PerformanceTester[_0x5a253b(0x17c)](PerformanceAutEvents[_0x5a253b(0x152)],async()=>{const _0x498532=_0x5a253b,_0x2b3b37=_0x268bad[_0x498532(0x15b)](this[_0x498532(0x160)][_0x498532(0x1bc)],_0x268bad[_0x498532(0x1c6)]);_0x2b3b37?(global['__sessionFailed']=!![],global[_0x498532(0x15f)][_0x498532(0x14a)](this['currentTest']['err']['message']),await _0x268bad['eJTyP'](_0x4424b7,JSON['stringify'](_0x268bad[_0x498532(0x1d4)](_0x268bad[_0x498532(0x1bb)],this[_0x498532(0x160)][_0x498532(0x18c)][_0x498532(0x16a)])),_0x268bad[_0x498532(0x195)])):await _0x268bad[_0x498532(0x198)](_0x4424b7,JSON[_0x498532(0x1e1)](_0x268bad[_0x498532(0x1ce)]),_0x268bad['IclLz']);})();}catch(_0xed322){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0xed322);}try{if(this[_0x5a253b(0x160)][_0x5a253b(0x19d)]&&globals['getGlobal'](_0x4eaa2a['wOLyG'])){logger[_0x5a253b(0x1cc)](_0x4eaa2a[_0x5a253b(0x1f6)]);const _0x311769={};_0x311769[_0x5a253b(0x1dd)]=this[_0x5a253b(0x160)][_0x5a253b(0x1d6)],_0x311769['thBuildUuid']=process[_0x5a253b(0x1a4)][testHubConstants['ENV_VAR'][_0x5a253b(0x1d7)]],_0x311769[_0x5a253b(0x1a0)]=process['env'][testHubConstants[_0x5a253b(0x145)][_0x5a253b(0x167)]];const _0x34dbc2=_0x311769;logger[_0x5a253b(0x168)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x34dbc2));if(globals['getGlobal'](_0x4eaa2a['bWzoP'])){logger[_0x5a253b(0x168)](_0x4eaa2a[_0x5a253b(0x14b)]);const _0x4a5fbe={};_0x4a5fbe[_0x5a253b(0x1cf)]=_0x4eaa2a[_0x5a253b(0x1f3)];const _0x4b6cb0=await PerformanceTester[_0x5a253b(0x17c)](PerformanceA11yEvents[_0x5a253b(0x1df)],async()=>{const _0x24a50c=_0x5a253b;return await accessibilityRetryHelper[_0x24a50c(0x1c7)](global[_0x24a50c(0x1b5)][0x0],global[_0x24a50c(0x1d5)]);},_0x4a5fbe)();_0x4b6cb0?logger[_0x5a253b(0x168)](_0x4eaa2a[_0x5a253b(0x1b7)]):logger['warn'](_0x4eaa2a[_0x5a253b(0x199)]);}else logger[_0x5a253b(0x168)](_0x4eaa2a[_0x5a253b(0x1a1)]);const _0x26fe8d=await PerformanceTester[_0x5a253b(0x17c)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x5d2f66=_0x5a253b;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x5d2f66(0x1b5)][0x0],_0x34dbc2);})();_0x26fe8d?logger[_0x5a253b(0x168)](_0x4eaa2a['scXOR']):logger['warn'](_0x4eaa2a['bgLwg']),logger['info'](_0x4eaa2a[_0x5a253b(0x184)]);}}catch(_0x1eadf4){logger[_0x5a253b(0x14c)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x5a253b(0x147)]()+_0x5a253b(0x163),_0x1eadf4);}try{try{if(_0x4eaa2a[_0x5a253b(0x1de)](shouldProcessEventForTesthub)){global[_0x5a253b(0x1b5)][0x0]&&await _0x4eaa2a[_0x5a253b(0x1e9)](sendPlatformDetails,global[_0x5a253b(0x1b5)][0x0],this[_0x5a253b(0x160)]?this[_0x5a253b(0x160)]['testAnalyticsId']:null);if(_0x4eaa2a[_0x5a253b(0x1de)](isBrowserstackInfra)){PerformanceTester[_0x5a253b(0x165)](PerformanceO11yEvents[_0x5a253b(0x189)]);const _0x2da1a9=_0x5a253b(0x164)+Date[_0x5a253b(0x1ca)]();await _0x4eaa2a['BfYcs'](_0x4424b7,JSON[_0x5a253b(0x1e1)](_0x2da1a9),_0x4eaa2a[_0x5a253b(0x1bf)]),PerformanceTester[_0x5a253b(0x1b1)](PerformanceO11yEvents[_0x5a253b(0x189)]);}}}catch(_0x300988){logger[_0x5a253b(0x168)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x300988),PerformanceTester['end'](PerformanceO11yEvents[_0x5a253b(0x189)],![],_0x300988);}_0x4eaa2a[_0x5a253b(0x1dc)](global[_0x5a253b(0x1b5)][0x0][_0x5a253b(0x1b2)],0x0)&&await global[_0x5a253b(0x1eb)]();}catch(_0x589280){logger[_0x5a253b(0x168)](_0x5a253b(0x175)+_0x589280);}_0x4eaa2a[_0x5a253b(0x1de)](_0x593920);})[_0x3518d5(0x1ba)](()=>{const _0x459304=_0x3518d5;_0x268bad[_0x459304(0x179)](_0x11a49f);});},{'platform':_0x4eaa2a[_0x16e5c5(0x17a)](nestedKeyValue,global[_0x16e5c5(0x188)],[_0x4eaa2a['jpuND']]),'hookType':_0x4eaa2a['kTFGG']})();},'afterAll'(_0x291812){const _0x1bf867=a36_0x205b5c,_0x106794={'IfaEQ':function(_0x49af87){return _0x49af87();},'uVtVL':_0x1bf867(0x1c2),'LTTYP':function(_0x211207,_0x1000e1,_0x3d84f3){return _0x211207(_0x1000e1,_0x3d84f3);},'sSLQm':_0x1bf867(0x1e8),'ATthH':_0x1bf867(0x15a)},_0x183178='browserstack internal helper hook';this[_0x1bf867(0x193)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x106794[_0x1bf867(0x14d)]]),PerformanceTester[_0x1bf867(0x17c)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x401af7=_0x1bf867,_0x114294={'DoLCD':function(_0x5bf145){return _0x106794['IfaEQ'](_0x5bf145);}};new Promise(async _0x589f0e=>{await global['driverCleanup'](),_0x114294['DoLCD'](_0x589f0e);})[_0x401af7(0x1ba)]()['finally'](()=>{const _0xc797dd=_0x401af7;_0x114294[_0xc797dd(0x1d2)](_0x291812);});},{'platform':_0x106794[_0x1bf867(0x1a3)](nestedKeyValue,global[_0x1bf867(0x188)],[_0x106794[_0x1bf867(0x1f8)]]),'hookType':_0x106794[_0x1bf867(0x1e3)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a37_0x100a(){const _0x319f0b=['rZblA','4XASeHT','path','2868996MMKIrX','YKhYT','nightwatch.conf.js','../utils/constants','DwZQA','20VgXeif','hFPuL','kctaw','desiredCapabilities','length','platform','port','nightwatch-browserstack.json','56aMHxnO','nightwatch.cmd','NqXWj','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','isUndefined','34471888DZBanO','../../helpers/BrowserStackSetup','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','ImoAO','split','getPlatformName','nightwatch.json','push','7054938rrmWDd','start_process','yIflv','1113IFytAY','forEach','UuXZG','6252215LaAQIk','trim','slice','modifyBrowserStackW3CCaps','findIndex','existsSync','close','nKYbN','winstonLogger','inherit','zrtbU','KPrWE','erXiK','stringify','config','1402MuYzXm','test','env','cwd','exports','308322PjPnPn','1669698pJvCEL','test_settings','join','RUyLP','TqHJw','--env','ruqHP','info','VXhCV','child_process','host','debug','fduIh','vNCkV','modifyBrowserStackCaps','Nstoe','splice','Getting\x20your\x20nightwatch\x20configs\x20from\x20','hub.browserstack.com'];a37_0x100a=function(){return _0x319f0b;};return a37_0x100a();}const a37_0x57d0f2=a37_0xc4cf;(function(_0x4fba69,_0x31208d){const _0x1dca53=a37_0xc4cf,_0x53a24e=_0x4fba69();while(!![]){try{const _0x455659=parseInt(_0x1dca53(0x20e))/0x1*(-parseInt(_0x1dca53(0x1d5))/0x2)+parseInt(_0x1dca53(0x1f1))/0x3+parseInt(_0x1dca53(0x1ef))/0x4*(-parseInt(_0x1dca53(0x211))/0x5)+-parseInt(_0x1dca53(0x20b))/0x6+-parseInt(_0x1dca53(0x1da))/0x7*(-parseInt(_0x1dca53(0x1fe))/0x8)+-parseInt(_0x1dca53(0x1db))/0x9*(parseInt(_0x1dca53(0x1f6))/0xa)+parseInt(_0x1dca53(0x203))/0xb;if(_0x455659===_0x31208d)break;else _0x53a24e['push'](_0x53a24e['shift']());}catch(_0x31c3d9){_0x53a24e['push'](_0x53a24e['shift']());}}}(a37_0x100a,0xc86cb));const fs=require('fs'),path=require(a37_0x57d0f2(0x1f0)),{spawn}=require(a37_0x57d0f2(0x1e4)),logger=require('../../helpers/logger')[a37_0x57d0f2(0x219)],{default:BrowserStackSetup}=require(a37_0x57d0f2(0x204)),helper=require('../../helpers/helper'),constants=require(a37_0x57d0f2(0x1f4)),getUserNightwatchConfigs=(_0x20c589,_0x544dd5)=>{const _0x2ae900=a37_0x57d0f2,_0x14164f={'VXhCV':_0x2ae900(0x1f3),'DwZQA':_0x2ae900(0x209),'zrtbU':function(_0x602460,_0x1ec564){return _0x602460(_0x1ec564);},'yIflv':_0x2ae900(0x201)};let _0x39d841=null,_0x1a37db={};const _0x342a7c=_0x544dd5[_0x2ae900(0x215)](_0x422ebd=>_0x422ebd==='--config');if(!helper[_0x2ae900(0x202)](_0x20c589[_0x2ae900(0x1d4)])&&fs[_0x2ae900(0x216)](path[_0x2ae900(0x1dd)](process[_0x2ae900(0x1d8)](),_0x20c589[_0x2ae900(0x1d4)])))_0x39d841=path['join'](process[_0x2ae900(0x1d8)](),_0x20c589[_0x2ae900(0x1d4)]),_0x544dd5[_0x2ae900(0x1eb)](_0x342a7c,0x2);else{if(fs['existsSync'](path[_0x2ae900(0x1dd)](process['cwd'](),_0x14164f[_0x2ae900(0x1e3)])))_0x39d841=path[_0x2ae900(0x1dd)](process[_0x2ae900(0x1d8)](),_0x14164f[_0x2ae900(0x1e3)]);else fs[_0x2ae900(0x216)](path['join'](process[_0x2ae900(0x1d8)](),_0x14164f[_0x2ae900(0x1f5)]))&&(_0x39d841=path[_0x2ae900(0x1dd)](process[_0x2ae900(0x1d8)](),_0x14164f['DwZQA']));}return _0x39d841?(logger[_0x2ae900(0x1e2)](_0x2ae900(0x1ec)+_0x39d841),_0x1a37db=_0x14164f[_0x2ae900(0x21b)](require,_0x39d841)):logger[_0x2ae900(0x1e2)](_0x14164f[_0x2ae900(0x20d)]),_0x1a37db;},removeExistingEnvs=_0x417ead=>{const _0x41ca09=a37_0x57d0f2,_0x3c50ec={};_0x3c50ec[_0x41ca09(0x1e7)]=function(_0x32e9e4,_0xc553ce){return _0x32e9e4>_0xc553ce;},_0x3c50ec[_0x41ca09(0x1ea)]=function(_0x26fd76,_0x215ae4){return _0x26fd76>_0x215ae4;};const _0x50fa60=_0x3c50ec;let _0x402bdb=_0x417ead[_0x41ca09(0x215)](_0x295cee=>_0x295cee===_0x41ca09(0x1e0));_0x50fa60[_0x41ca09(0x1e7)](_0x402bdb,-0x1)&&_0x417ead[_0x41ca09(0x1eb)](_0x402bdb,0x2),_0x402bdb=_0x417ead[_0x41ca09(0x215)](_0x45cf11=>_0x45cf11==='-e'),_0x50fa60[_0x41ca09(0x1ea)](_0x402bdb,-0x1)&&_0x417ead[_0x41ca09(0x1eb)](_0x402bdb,0x2);};function a37_0xc4cf(_0x3de7bd,_0x27a862){const _0x100a1b=a37_0x100a();return a37_0xc4cf=function(_0xc4cf90,_0x148be4){_0xc4cf90=_0xc4cf90-0x1d3;let _0x36a4a6=_0x100a1b[_0xc4cf90];return _0x36a4a6;},a37_0xc4cf(_0x3de7bd,_0x27a862);}function run(_0x59d734,_0x3611f7,_0x1ba275){const _0xa13f49=a37_0x57d0f2,_0x18bc49={'vNCkV':'nightwatch','hFPuL':function(_0x5929ca,_0x4a7e73){return _0x5929ca+_0x4a7e73;},'TqHJw':_0xa13f49(0x1dc),'YKhYT':function(_0x1d1f71,_0x10b804,_0x194aff){return _0x1d1f71(_0x10b804,_0x194aff);},'kctaw':_0xa13f49(0x1ed),'KPrWE':_0xa13f49(0x205),'ruqHP':function(_0x58d1fb,_0x234442){return _0x58d1fb===_0x234442;},'UuXZG':_0xa13f49(0x1fd),'nKYbN':function(_0x423ae3,_0x3f3453){return _0x423ae3(_0x3f3453);},'NqXWj':function(_0x6ebf85,_0x5a2291,_0xd93126,_0x3fa998){return _0x6ebf85(_0x5a2291,_0xd93126,_0x3fa998);},'RUyLP':_0xa13f49(0x1ff),'erXiK':'--config','ImoAO':_0xa13f49(0x1e0),'roNpy':_0xa13f49(0x21a),'rZblA':_0xa13f49(0x217)};if(!_0x1ba275[_0xa13f49(0x1d4)])return;const _0x412b9d=_0x18bc49[_0xa13f49(0x1f2)](getUserNightwatchConfigs,_0x59d734,_0x3611f7),_0x900ca4={};_0x900ca4[_0xa13f49(0x20c)]=![];const _0x3ed9c0={};_0x3ed9c0[_0xa13f49(0x1e5)]=_0x18bc49[_0xa13f49(0x1f8)],_0x3ed9c0[_0xa13f49(0x1fc)]=0x1bb;const _0xfdc1f4={};_0xfdc1f4['webdriver']=_0x900ca4,_0xfdc1f4['selenium']=_0x3ed9c0;const _0x1750e4=_0xfdc1f4;logger['info'](_0x18bc49[_0xa13f49(0x21c)]);const _0x3a14a5={..._0x412b9d},_0x26c086=_0x3a14a5,_0x302bec=helper['useW3C'](_0x1ba275[_0xa13f49(0x1d4)]),_0x22351e=[];_0x1ba275[_0xa13f49(0x1d4)]['platforms'][_0xa13f49(0x20f)]((_0x5a8721,_0x47cc79)=>{const _0x49fbc5=_0xa13f49;_0x302bec?_0x22351e[_0x49fbc5(0x20a)](helper[_0x49fbc5(0x214)](_0x1ba275[_0x49fbc5(0x1d4)],_0x18bc49[_0x49fbc5(0x1e8)],_0x47cc79)):_0x22351e[_0x49fbc5(0x20a)](helper[_0x49fbc5(0x1e9)](_0x1ba275['config'],_0x18bc49['vNCkV'],_0x47cc79));});const _0x2a84f8={},_0x3a6814=[];_0x59d734[_0xa13f49(0x1d7)]=_0x59d734[_0xa13f49(0x1d7)]||_0x59d734['e'];const _0x1e1d04=_0x59d734[_0xa13f49(0x1d7)]?_0x59d734[_0xa13f49(0x1d7)][_0xa13f49(0x212)]()[_0xa13f49(0x207)](',')['map'](_0x323b8b=>_0x323b8b[_0xa13f49(0x212)]())['filter'](_0x430477=>_0x430477!==''):[''];_0x18bc49[_0xa13f49(0x1e1)](_0x1e1d04[_0xa13f49(0x1fa)],0x0)&&_0x1e1d04[_0xa13f49(0x20a)]('');_0x1e1d04[_0xa13f49(0x20f)](_0x1e5d3b=>{_0x22351e['forEach'](_0x1fa5be=>{const _0x541389=a37_0xc4cf;let _0x3f357a=_0x18bc49[_0x541389(0x1f7)](helper[_0x541389(0x208)](_0x1fa5be,'_'),'_'+Date['now']());_0x1e5d3b&&(_0x3f357a+='_'+_0x1e5d3b);if(_0x1e5d3b&&(!_0x412b9d[_0x18bc49['TqHJw']]||!_0x412b9d[_0x18bc49[_0x541389(0x1df)]][_0x1e5d3b]))return;const _0x5b0d5f={..._0x1750e4};_0x5b0d5f[_0x541389(0x1f9)]=_0x1fa5be;const _0x284fc7=_0x5b0d5f;_0x2a84f8[_0x3f357a]=_0x1e5d3b?helper['mergeDeep'](_0x412b9d[_0x18bc49[_0x541389(0x1df)]][_0x1e5d3b],_0x284fc7):_0x284fc7,_0x3a6814[_0x541389(0x20a)](_0x3f357a);});});!_0x26c086[_0xa13f49(0x1dc)]&&(_0x26c086['test_settings']={});_0x26c086[_0xa13f49(0x1dc)]={..._0x26c086[_0xa13f49(0x1dc)],..._0x2a84f8};const _0x5016de=path[_0xa13f49(0x1dd)](__dirname,_0x18bc49[_0xa13f49(0x210)]);fs['writeFileSync'](_0x5016de,JSON[_0xa13f49(0x1d3)](_0x26c086)),_0x18bc49[_0xa13f49(0x218)](removeExistingEnvs,_0x3611f7);const _0x3c1eb5=_0x18bc49[_0xa13f49(0x200)](spawn,/^win/[_0xa13f49(0x1d6)](process[_0xa13f49(0x1fb)])?_0x18bc49[_0xa13f49(0x1de)]:_0x18bc49[_0xa13f49(0x1e8)],[_0x18bc49[_0xa13f49(0x21d)],_0x5016de,..._0x3611f7[_0xa13f49(0x213)](0x1),_0x18bc49[_0xa13f49(0x206)],_0x3a6814['join'](',')],{'stdio':_0x18bc49['roNpy']});_0x3c1eb5['on'](_0x18bc49[_0xa13f49(0x1ee)],async _0x1a96bb=>{const _0x41e557=_0xa13f49;logger[_0x41e557(0x1e6)]('child\x20process\x20exited\x20with\x20code\x20'+_0x1a96bb),logger[_0x41e557(0x1e2)]('Deleting\x20'+_0x5016de),fs['unlinkSync'](_0x5016de);});}module[a37_0x57d0f2(0x1d9)]=run;
2
+ 'use strict';function a37_0x11c0(_0x3dc34c,_0x349921){const _0x14afc6=a37_0x14af();return a37_0x11c0=function(_0x11c0d9,_0x18b259){_0x11c0d9=_0x11c0d9-0xb4;let _0x513e56=_0x14afc6[_0x11c0d9];return _0x513e56;},a37_0x11c0(_0x3dc34c,_0x349921);}const a37_0xab318f=a37_0x11c0;(function(_0xa70af0,_0x4c0f9a){const _0x348826=a37_0x11c0,_0x4210d5=_0xa70af0();while(!![]){try{const _0x725c11=-parseInt(_0x348826(0xea))/0x1*(parseInt(_0x348826(0xf1))/0x2)+parseInt(_0x348826(0xe9))/0x3*(-parseInt(_0x348826(0xe8))/0x4)+parseInt(_0x348826(0xc9))/0x5+parseInt(_0x348826(0xfc))/0x6+-parseInt(_0x348826(0xe3))/0x7+parseInt(_0x348826(0xfd))/0x8+-parseInt(_0x348826(0xba))/0x9;if(_0x725c11===_0x4c0f9a)break;else _0x4210d5['push'](_0x4210d5['shift']());}catch(_0x4d4d75){_0x4210d5['push'](_0x4210d5['shift']());}}}(a37_0x14af,0x6a2cf));function a37_0x14af(){const _0x184f52=['spWuZ','FIDcL','child_process','info','trim','mQIfp','wPcVb','stringify','push','now','modifyBrowserStackW3CCaps','CcCmy','writeFileSync','296821uXaHSn','exports','cwd','fhkdc','split','88ymSuMq','91443rtifPl','2059QyuzrH','forEach','slice','splice','FBhSY','../../helpers/BrowserStackSetup','gRNEc','4McfvWN','test_settings','nightwatch.conf.js','nightwatch','xUQIf','--env','vxwxC','crPVn','start_process','OPwbf','close','4645092lzJUxg','4015368PhQJoY','platform','nightwatch-browserstack.json','unlinkSync','NDpCS','modifyBrowserStackCaps','EVatj','SqXgT','xyzpm','2775393zqFMWP','useW3C','MqIth','btzUs','getPlatformName','--config','filter','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','port','desiredCapabilities','JfLsU','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','join','path','env','921360SFiMga','erECa','findIndex','map','nightwatch.json','Deleting\x20','existsSync','inherit','selenium','LjTJt','webdriver','nightwatch.cmd','config'];a37_0x14af=function(){return _0x184f52;};return a37_0x14af();}const fs=require('fs'),path=require(a37_0xab318f(0xc7)),{spawn}=require(a37_0xab318f(0xd8)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a37_0xab318f(0xef)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x175ec3,_0x13520c)=>{const _0x10403b=a37_0xab318f,_0x17cbf8={'SqXgT':_0x10403b(0xf3),'Lfaqy':_0x10403b(0xcd),'NDpCS':function(_0x14b652,_0xf26a1a){return _0x14b652(_0xf26a1a);},'erECa':_0x10403b(0xc1)};let _0x4c00b9=null,_0x1c2743={};const _0x354150=_0x13520c[_0x10403b(0xcb)](_0x4f2b0b=>_0x4f2b0b===_0x10403b(0xbf));if(!helper['isUndefined'](_0x175ec3['config'])&&fs[_0x10403b(0xcf)](path[_0x10403b(0xc6)](process[_0x10403b(0xe5)](),_0x175ec3[_0x10403b(0xd5)])))_0x4c00b9=path[_0x10403b(0xc6)](process[_0x10403b(0xe5)](),_0x175ec3[_0x10403b(0xd5)]),_0x13520c[_0x10403b(0xed)](_0x354150,0x2);else{if(fs[_0x10403b(0xcf)](path[_0x10403b(0xc6)](process[_0x10403b(0xe5)](),_0x17cbf8['SqXgT'])))_0x4c00b9=path['join'](process['cwd'](),_0x17cbf8[_0x10403b(0xb8)]);else fs[_0x10403b(0xcf)](path[_0x10403b(0xc6)](process[_0x10403b(0xe5)](),_0x17cbf8['Lfaqy']))&&(_0x4c00b9=path['join'](process[_0x10403b(0xe5)](),_0x17cbf8['Lfaqy']));}return _0x4c00b9?(logger[_0x10403b(0xd9)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x4c00b9),_0x1c2743=_0x17cbf8[_0x10403b(0xb5)](require,_0x4c00b9)):logger[_0x10403b(0xd9)](_0x17cbf8[_0x10403b(0xca)]),_0x1c2743;},removeExistingEnvs=_0x21a7b5=>{const _0x2accec=a37_0xab318f,_0x1f5304={};_0x1f5304[_0x2accec(0xbd)]=function(_0x428db4,_0x33d5c6){return _0x428db4>_0x33d5c6;},_0x1f5304[_0x2accec(0xf7)]=function(_0x5653dc,_0x38c80e){return _0x5653dc>_0x38c80e;};const _0x2b4a8c=_0x1f5304;let _0x5f3bbe=_0x21a7b5[_0x2accec(0xcb)](_0x543f74=>_0x543f74===_0x2accec(0xf6));_0x2b4a8c['btzUs'](_0x5f3bbe,-0x1)&&_0x21a7b5['splice'](_0x5f3bbe,0x2),_0x5f3bbe=_0x21a7b5[_0x2accec(0xcb)](_0x394dd6=>_0x394dd6==='-e'),_0x2b4a8c[_0x2accec(0xf7)](_0x5f3bbe,-0x1)&&_0x21a7b5[_0x2accec(0xed)](_0x5f3bbe,0x2);};function run(_0x224476,_0x369262,_0x18ac10){const _0x1bdf62=a37_0xab318f,_0x57b2ac={'mQIfp':_0x1bdf62(0xf4),'spWuZ':function(_0x380b2c,_0x3b6e3d){return _0x380b2c+_0x3b6e3d;},'JfLsU':'test_settings','OPwbf':function(_0x18a4e7,_0x124d8c,_0x227135){return _0x18a4e7(_0x124d8c,_0x227135);},'wPcVb':'hub.browserstack.com','fhkdc':_0x1bdf62(0xc5),'MqIth':function(_0x259cf7,_0x5708ba){return _0x259cf7===_0x5708ba;},'FBhSY':_0x1bdf62(0xff),'YhXwX':function(_0xe0e0b4,_0x9e734c){return _0xe0e0b4(_0x9e734c);},'crPVn':function(_0x961c88,_0x163fb4,_0x31e02,_0x3877b3){return _0x961c88(_0x163fb4,_0x31e02,_0x3877b3);},'LjTJt':_0x1bdf62(0xd4),'xyzpm':_0x1bdf62(0xbf),'gRNEc':_0x1bdf62(0xf6),'EVatj':_0x1bdf62(0xd0),'xUQIf':_0x1bdf62(0xfb)};if(!_0x18ac10['config'])return;const _0x12b44b=_0x57b2ac[_0x1bdf62(0xfa)](getUserNightwatchConfigs,_0x224476,_0x369262),_0x2ca369={};_0x2ca369[_0x1bdf62(0xf9)]=![];const _0x5b57d5={};_0x5b57d5['host']=_0x57b2ac[_0x1bdf62(0xdc)],_0x5b57d5[_0x1bdf62(0xc2)]=0x1bb;const _0x5c94d0={};_0x5c94d0[_0x1bdf62(0xd3)]=_0x2ca369,_0x5c94d0[_0x1bdf62(0xd1)]=_0x5b57d5;const _0x26864a=_0x5c94d0;logger[_0x1bdf62(0xd9)](_0x57b2ac[_0x1bdf62(0xe6)]);const _0x3a6bf1={..._0x12b44b},_0xd49b88=_0x3a6bf1,_0x529ab3=helper[_0x1bdf62(0xbb)](_0x18ac10[_0x1bdf62(0xd5)]),_0x5ace1e=[];_0x18ac10[_0x1bdf62(0xd5)]['platforms']['forEach']((_0x1909e3,_0x1216e7)=>{const _0x17e423=_0x1bdf62;_0x529ab3?_0x5ace1e[_0x17e423(0xde)](helper[_0x17e423(0xe0)](_0x18ac10[_0x17e423(0xd5)],_0x57b2ac[_0x17e423(0xdb)],_0x1216e7)):_0x5ace1e[_0x17e423(0xde)](helper[_0x17e423(0xb6)](_0x18ac10['config'],_0x57b2ac[_0x17e423(0xdb)],_0x1216e7));});const _0x41e4d8={},_0x440b3a=[];_0x224476[_0x1bdf62(0xc8)]=_0x224476[_0x1bdf62(0xc8)]||_0x224476['e'];const _0x3b155d=_0x224476['env']?_0x224476[_0x1bdf62(0xc8)][_0x1bdf62(0xda)]()[_0x1bdf62(0xe7)](',')[_0x1bdf62(0xcc)](_0x25e632=>_0x25e632[_0x1bdf62(0xda)]())[_0x1bdf62(0xc0)](_0x419932=>_0x419932!==''):[''];_0x57b2ac[_0x1bdf62(0xbc)](_0x3b155d['length'],0x0)&&_0x3b155d[_0x1bdf62(0xde)]('');_0x3b155d['forEach'](_0x3c3dc0=>{const _0x1cb277=_0x1bdf62,_0x2e7716={'CcCmy':function(_0x3c1280,_0x211ac1){const _0x20b82b=a37_0x11c0;return _0x57b2ac[_0x20b82b(0xd6)](_0x3c1280,_0x211ac1);},'FIDcL':_0x57b2ac[_0x1cb277(0xc4)]};_0x5ace1e[_0x1cb277(0xeb)](_0x5be509=>{const _0x3c3bcb=_0x1cb277;let _0x98ab90=_0x2e7716[_0x3c3bcb(0xe1)](helper[_0x3c3bcb(0xbe)](_0x5be509,'_'),'_'+Date[_0x3c3bcb(0xdf)]());_0x3c3dc0&&(_0x98ab90+='_'+_0x3c3dc0);if(_0x3c3dc0&&(!_0x12b44b[_0x2e7716[_0x3c3bcb(0xd7)]]||!_0x12b44b[_0x2e7716[_0x3c3bcb(0xd7)]][_0x3c3dc0]))return;const _0x3cd626={..._0x26864a};_0x3cd626[_0x3c3bcb(0xc3)]=_0x5be509;const _0x3eb9b2=_0x3cd626;_0x41e4d8[_0x98ab90]=_0x3c3dc0?helper['mergeDeep'](_0x12b44b[_0x2e7716['FIDcL']][_0x3c3dc0],_0x3eb9b2):_0x3eb9b2,_0x440b3a['push'](_0x98ab90);});});!_0xd49b88[_0x1bdf62(0xf2)]&&(_0xd49b88[_0x1bdf62(0xf2)]={});_0xd49b88[_0x1bdf62(0xf2)]={..._0xd49b88[_0x1bdf62(0xf2)],..._0x41e4d8};const _0xc327f4=path[_0x1bdf62(0xc6)](__dirname,_0x57b2ac[_0x1bdf62(0xee)]);fs[_0x1bdf62(0xe2)](_0xc327f4,JSON[_0x1bdf62(0xdd)](_0xd49b88)),_0x57b2ac['YhXwX'](removeExistingEnvs,_0x369262);const _0x4885e0=_0x57b2ac[_0x1bdf62(0xf8)](spawn,/^win/['test'](process[_0x1bdf62(0xfe)])?_0x57b2ac[_0x1bdf62(0xd2)]:_0x57b2ac[_0x1bdf62(0xdb)],[_0x57b2ac[_0x1bdf62(0xb9)],_0xc327f4,..._0x369262[_0x1bdf62(0xec)](0x1),_0x57b2ac[_0x1bdf62(0xf0)],_0x440b3a[_0x1bdf62(0xc6)](',')],{'stdio':_0x57b2ac[_0x1bdf62(0xb7)]});_0x4885e0['on'](_0x57b2ac[_0x1bdf62(0xf5)],async _0x58e5a3=>{const _0x4ba51b=_0x1bdf62;logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x58e5a3),logger[_0x4ba51b(0xd9)](_0x4ba51b(0xce)+_0xc327f4),fs[_0x4ba51b(0xb4)](_0xc327f4);});}module[a37_0xab318f(0xe4)]=run;