browserstack-node-sdk 1.47.2 → 1.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) 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/generated/sdk-messages-accessibility_pb.d.ts +6 -0
  41. package/generated/sdk-messages-accessibility_pb.js +49 -1
  42. package/generated/sdk-messages_pb.d.ts +12 -0
  43. package/generated/sdk-messages_pb.js +98 -2
  44. package/package.json +1 -1
  45. package/src/ai-sdk-node/bundle.js +1 -1
  46. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  47. package/src/bin/codeceptjs/command.js +1 -1
  48. package/src/bin/codeceptjs/helper.js +1 -1
  49. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  50. package/src/bin/cucumber-js/command.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  52. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  53. package/src/bin/cucumber-js/test-observability.js +1 -1
  54. package/src/bin/cucumber-js/test.setup.js +1 -1
  55. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  56. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  57. package/src/bin/integrations/command.js +1 -1
  58. package/src/bin/integrations/constants.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  79. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  80. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  81. package/src/bin/mocha/test.setup.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/runner.js +1 -1
  94. package/src/bin/setup.js +1 -1
  95. package/src/bin/test-runner/index.js +1 -1
  96. package/src/bin/test-runner/runTest.js +1 -1
  97. package/src/bin/test-runner/testWorker.js +1 -1
  98. package/src/bin/utils/apiUtilityMethods.js +1 -1
  99. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  100. package/src/bin/utils/constants.js +1 -1
  101. package/src/bin/utils/log4jsAppender.js +1 -1
  102. package/src/bin/utils/logPatcher.js +1 -1
  103. package/src/bin/utils/logReportingAPI.js +1 -1
  104. package/src/bin/utils/playwright-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/testFramework.js +1 -1
  120. package/src/bin/v2/grpcClient.js +1 -1
  121. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  122. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/trackedContext.js +1 -1
  124. package/src/bin/v2/instances/trackedInstance.js +1 -1
  125. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  126. package/src/bin/v2/modules/baseModule.js +1 -1
  127. package/src/bin/v2/modules/loadTestModule.js +1 -1
  128. package/src/bin/v2/modules/observabilityModule.js +1 -1
  129. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  130. package/src/bin/v2/modules/testhubModule.js +1 -1
  131. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  132. package/src/bin/v2/state/hookState.js +1 -1
  133. package/src/bin/v2/state/testFrameworkState.js +1 -1
  134. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  135. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  136. package/src/bin/v2/utils/jest-utils.js +1 -1
  137. package/src/bin/vanilla-js/command.js +1 -1
  138. package/src/browserStackSdk.js +1 -1
  139. package/src/helpers/BrowserStackSetup.js +1 -1
  140. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  141. package/src/helpers/accessibility-automation/constants.js +1 -1
  142. package/src/helpers/accessibility-automation/helper.js +1 -1
  143. package/src/helpers/accessibility-automation/scripts.js +1 -1
  144. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  145. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  146. package/src/helpers/ats/constants.js +1 -1
  147. package/src/helpers/ats/helper.js +1 -1
  148. package/src/helpers/capsMapping.js +1 -1
  149. package/src/helpers/central-scanner/constants.js +1 -1
  150. package/src/helpers/central-scanner/helpers.js +1 -1
  151. package/src/helpers/classLogger.js +1 -1
  152. package/src/helpers/globals.js +1 -1
  153. package/src/helpers/helper.js +1 -1
  154. package/src/helpers/logger.js +1 -1
  155. package/src/helpers/metadata.js +1 -1
  156. package/src/helpers/patchHelper.js +1 -1
  157. package/src/helpers/patchHelpers.js +1 -1
  158. package/src/helpers/percy/Percy.js +1 -1
  159. package/src/helpers/percy/PercyBinary.js +1 -1
  160. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  161. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  162. package/src/helpers/percy/PercySDK.js +1 -1
  163. package/src/helpers/percy/index.js +1 -1
  164. package/src/helpers/percy/utils.js +1 -1
  165. package/src/helpers/performance/constants.js +1 -1
  166. package/src/helpers/performance/performance-tester.js +1 -1
  167. package/src/helpers/playwright-helper.js +1 -1
  168. package/src/helpers/processHelper.js +1 -1
  169. package/src/helpers/request-spy.js +1 -1
  170. package/src/helpers/setKeepAlive.js +1 -1
  171. package/src/helpers/test-observability/constants.js +1 -1
  172. package/src/helpers/test-observability/error-handler.js +1 -1
  173. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  174. package/src/helpers/test-observability/sessionHandler.js +1 -1
  175. package/src/helpers/test-observability/utils.js +1 -1
  176. package/src/helpers/test-orchestration/constants.js +1 -1
  177. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  178. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  179. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  180. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  181. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  182. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  183. package/src/helpers/testhub/constants.js +1 -1
  184. package/src/helpers/testhub/testhubHandler.js +1 -1
  185. package/src/helpers/testhub/utils.js +1 -1
  186. package/src/helpers/timeoutPromise.js +1 -1
  187. package/src/helpers/utilities.js +1 -1
  188. package/src/helpers/w3cMapping.js +1 -1
  189. package/src/hubAllocationMethods.js +1 -1
  190. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a32_0x2075a1=a32_0x2d66;function a32_0x2d66(_0x3f257d,_0x21d4f2){const _0x4fcb22=a32_0x4fcb();return a32_0x2d66=function(_0x2d6692,_0x59cea9){_0x2d6692=_0x2d6692-0x118;let _0x429884=_0x4fcb22[_0x2d6692];return _0x429884;},a32_0x2d66(_0x3f257d,_0x21d4f2);}(function(_0x1760d3,_0x2b6ab4){const _0x3907d9=a32_0x2d66,_0x23a8cf=_0x1760d3();while(!![]){try{const _0x528665=-parseInt(_0x3907d9(0x1e4))/0x1*(-parseInt(_0x3907d9(0x160))/0x2)+-parseInt(_0x3907d9(0x196))/0x3+-parseInt(_0x3907d9(0x1d8))/0x4+parseInt(_0x3907d9(0x20e))/0x5+parseInt(_0x3907d9(0x120))/0x6*(parseInt(_0x3907d9(0x1e8))/0x7)+-parseInt(_0x3907d9(0x13b))/0x8+parseInt(_0x3907d9(0x1ba))/0x9*(-parseInt(_0x3907d9(0x16b))/0xa);if(_0x528665===_0x2b6ab4)break;else _0x23a8cf['push'](_0x23a8cf['shift']());}catch(_0x21134e){_0x23a8cf['push'](_0x23a8cf['shift']());}}}(a32_0x4fcb,0xcbf27));const chalk=require(a32_0x2075a1(0x1c1)),logger=require(a32_0x2075a1(0x167))[a32_0x2075a1(0x1de)],helper=require(a32_0x2075a1(0x1fe)),utilities=require(a32_0x2075a1(0x122)),testOpsHelper=require(a32_0x2075a1(0x154)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a32_0x2075a1(0x1fe)),{getPercyOptions}=require(a32_0x2075a1(0x184)),Base=requireModule(a32_0x2075a1(0x12d),a32_0x2075a1(0x1e9)),collectFiles=requireModule(a32_0x2075a1(0x1ad),'mocha'),constants=require(a32_0x2075a1(0x1b7)),PerformanceTester=require(a32_0x2075a1(0x1ec)),PerformanceEvents=require('../../helpers/performance/constants')[a32_0x2075a1(0x119)],centralScannerConstants=require(a32_0x2075a1(0x1ac)),{FRAMEWORKS}=require(a32_0x2075a1(0x14a)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),ClientTroubleShootingService=require(a32_0x2075a1(0x131));function tag(_0x4489a6,_0x4cbeaa,_0x4a5629,_0x4b171f){const _0x5bd26c=a32_0x2075a1,_0x3a075b={'HAYVR':function(_0x32f6d7,_0x1c1c08){return _0x32f6d7+_0x1c1c08;},'NTpLA':function(_0x1e3c9d,_0x1f99a9){return _0x1e3c9d(_0x1f99a9);},'eUfWc':function(_0x351a6a,_0x2e7ea5){return _0x351a6a+_0x2e7ea5;},'ASePX':function(_0x6f0c97,_0x26fb70){return _0x6f0c97+_0x26fb70;}},_0x1929e1=_0x4a5629?'/>':'>',_0x26970e=[];let _0x451d2c;for(const _0x22e653 in _0x4cbeaa){Object[_0x5bd26c(0x150)][_0x5bd26c(0x1f3)]['call'](_0x4cbeaa,_0x22e653)&&_0x26970e[_0x5bd26c(0x1aa)](_0x3a075b[_0x5bd26c(0x182)](_0x3a075b[_0x5bd26c(0x182)](_0x3a075b[_0x5bd26c(0x182)](_0x22e653,'=\x22'),_0x3a075b[_0x5bd26c(0x203)](escape,_0x4cbeaa[_0x22e653])),'\x22'));}return _0x451d2c=_0x3a075b['HAYVR'](_0x3a075b[_0x5bd26c(0x182)](_0x3a075b[_0x5bd26c(0x182)]('<',_0x4489a6),_0x26970e[_0x5bd26c(0x1d4)]?_0x3a075b['HAYVR']('\x20',_0x26970e['join']('\x20')):''),_0x1929e1),_0x4b171f&&(_0x451d2c+=_0x3a075b[_0x5bd26c(0x18d)](_0x3a075b[_0x5bd26c(0x161)](_0x3a075b[_0x5bd26c(0x18d)](_0x4b171f,'</'),_0x4489a6),_0x1929e1)),_0x451d2c;}let xunitContent='';function xunitWrite(_0x5339bc){xunitContent+=_0x5339bc;}function xunitTest(_0x2e94f8,_0x3f8ac3){const _0x2b98c4=a32_0x2075a1,_0x3b60bb={'gKdHO':function(_0x2faf4b,_0x19c3ad){return _0x2faf4b/_0x19c3ad;},'sJjPj':function(_0x475bfd,_0xa70221){return _0x475bfd===_0xa70221;},'fUByc':_0x2b98c4(0x1ab),'puAiF':function(_0x426acb,_0x5bc7b0){return _0x426acb+_0x5bc7b0;},'ootRU':function(_0x34c941,_0x3ae18f){return _0x34c941(_0x3ae18f);},'zBpzX':function(_0x44e7c7,_0x38ec55,_0x1f7788,_0x2c25c0,_0x428f46){return _0x44e7c7(_0x38ec55,_0x1f7788,_0x2c25c0,_0x428f46);},'rEqRB':_0x2b98c4(0x16e),'ZDAoo':_0x2b98c4(0x1a0),'YkNfC':function(_0x3ff3f8,_0x40c5b1){return _0x3ff3f8+_0x40c5b1;},'MCYNV':function(_0x303297,_0x906baa){return _0x303297+_0x906baa;},'PoLNt':function(_0x4d3a66,_0xcdede3){return _0x4d3a66(_0xcdede3);},'BZCsi':function(_0x409d82,_0xa0833e,_0xa3773a,_0x2ba963){return _0x409d82(_0xa0833e,_0xa3773a,_0x2ba963);},'WPTte':_0x2b98c4(0x17c),'eSFQK':function(_0xf895c0,_0x423d6c){return _0xf895c0(_0x423d6c);}};Base[_0x2b98c4(0x1e1)]=![];var _0x1d2bdc={'classname':_0x2e94f8[_0x2b98c4(0x1ea)],'name':_0x2e94f8['title'],'time':_0x3b60bb['gKdHO'](_0x2e94f8[_0x2b98c4(0x216)],0x3e8)||0x0,'platform':_0x3f8ac3};if(_0x3b60bb['sJjPj'](_0x2e94f8['state'],_0x3b60bb[_0x2b98c4(0x1b0)])){var _0x25796b=_0x2e94f8[_0x2b98c4(0x126)],_0x3af6fa=!Base['hideDiff']&&Base['showDiff'](_0x25796b)?_0x3b60bb[_0x2b98c4(0x19d)]('\x0a',Base['generateDiff'](_0x25796b[_0x2b98c4(0x174)],_0x25796b['expected'])):'';_0x3b60bb[_0x2b98c4(0x1b1)](xunitWrite,_0x3b60bb['zBpzX'](tag,_0x3b60bb['rEqRB'],_0x1d2bdc,![],_0x3b60bb[_0x2b98c4(0x12e)](tag,_0x3b60bb[_0x2b98c4(0x118)],{},![],_0x3b60bb['puAiF'](_0x3b60bb['YkNfC'](_0x3b60bb['MCYNV'](_0x3b60bb[_0x2b98c4(0x1b1)](escape,_0x25796b[_0x2b98c4(0x12b)]),_0x3b60bb[_0x2b98c4(0x1b1)](escape,_0x3af6fa)),'\x0a'),_0x3b60bb['ootRU'](escape,_0x25796b[_0x2b98c4(0x149)])))));}else _0x2e94f8[_0x2b98c4(0x179)]?_0x3b60bb[_0x2b98c4(0x1ed)](xunitWrite,_0x3b60bb[_0x2b98c4(0x12e)](tag,_0x3b60bb[_0x2b98c4(0x1b6)],_0x1d2bdc,![],_0x3b60bb[_0x2b98c4(0x200)](tag,_0x3b60bb[_0x2b98c4(0x1b3)],{},!![]))):_0x3b60bb[_0x2b98c4(0x21d)](xunitWrite,_0x3b60bb[_0x2b98c4(0x200)](tag,_0x3b60bb[_0x2b98c4(0x1b6)],_0x1d2bdc,!![]));};function getStats(_0x4fbba8){const _0x19ef31=a32_0x2075a1,_0x282599={};_0x282599[_0x19ef31(0x1f7)]=_0x19ef31(0x17e),_0x282599[_0x19ef31(0x1f1)]='passed',_0x282599[_0x19ef31(0x16c)]=_0x19ef31(0x1ab),_0x282599[_0x19ef31(0x128)]=_0x19ef31(0x172);const _0x934f8c=_0x282599,_0xb272e2=Object[_0x19ef31(0x17b)](_0x4fbba8);let _0x4fa6bf=0x0,_0x1253b8=0x0,_0x3bc1ad=0x0,_0x460364=0x0;const _0x5de971=new Set();_0xb272e2[_0x19ef31(0x180)](_0x175e37=>{const _0x5c887c=_0x19ef31,_0x564b7a={};_0x564b7a[_0x5c887c(0x21b)]=_0x934f8c['KDHHI'],_0x564b7a['LcGxr']=_0x934f8c[_0x5c887c(0x1f1)],_0x564b7a[_0x5c887c(0x1a6)]=_0x934f8c[_0x5c887c(0x16c)];const _0x4fabec=_0x564b7a;_0x4fbba8[_0x175e37][_0x934f8c['EaPvd']][_0x5c887c(0x180)](_0xd17b61=>{const _0x1b673c=_0x5c887c;_0x5de971[_0x1b673c(0x1cd)](_0xd17b61[_0x4fabec['pauco']]),_0x4fa6bf++;switch(_0xd17b61[_0x1b673c(0x13d)]){case _0x4fabec[_0x1b673c(0x171)]:_0x3bc1ad++;break;case _0x4fabec[_0x1b673c(0x1a6)]:_0x1253b8++;break;default:_0x460364++;}});});const _0x9aed51={};return _0x9aed51[_0x19ef31(0x11e)]=_0x5de971[_0x19ef31(0x129)],_0x9aed51[_0x19ef31(0x146)]=_0xb272e2,_0x9aed51[_0x19ef31(0x1d1)]=_0x4fa6bf,_0x9aed51['testsFailed']=_0x1253b8,_0x9aed51[_0x19ef31(0x19a)]=_0x3bc1ad,_0x9aed51[_0x19ef31(0x137)]=_0x460364,_0x9aed51;}function errorJSON(_0xbd9c96){const _0x4c5f70=a32_0x2075a1;var _0x15f3d4={};return Object['getOwnPropertyNames'](_0xbd9c96)[_0x4c5f70(0x180)](function(_0x551910){_0x15f3d4[_0x551910]=_0xbd9c96[_0x551910];},_0xbd9c96),_0x15f3d4;}function cleanCycles(_0x4b3858){const _0x28e5fc=a32_0x2075a1,_0x1f2c2f={};_0x1f2c2f['RNEZI']=function(_0x58ab0b,_0x10fa6d){return _0x58ab0b===_0x10fa6d;},_0x1f2c2f['lHZVB']=_0x28e5fc(0x1df),_0x1f2c2f[_0x28e5fc(0x1c3)]=function(_0x2a92a9,_0x49b5f9){return _0x2a92a9!==_0x49b5f9;},_0x1f2c2f[_0x28e5fc(0x1fd)]=function(_0x24c61e,_0x2be987){return _0x24c61e+_0x2be987;};const _0x3cdb0a=_0x1f2c2f;var _0x33a6bb=[];return JSON[_0x28e5fc(0x20b)](JSON['stringify'](_0x4b3858,function(_0x30fda3,_0x3db7d5){const _0x230ee1=_0x28e5fc;if(_0x3cdb0a['RNEZI'](typeof _0x3db7d5,_0x3cdb0a[_0x230ee1(0x1dd)])&&_0x3cdb0a[_0x230ee1(0x1c3)](_0x3db7d5,null)){if(_0x3cdb0a[_0x230ee1(0x1c3)](_0x33a6bb['indexOf'](_0x3db7d5),-0x1))return _0x3cdb0a['Emmup']('',_0x3db7d5);_0x33a6bb['push'](_0x3db7d5);}return _0x3db7d5;}));}function clean(_0x2df9cb){const _0x43a7d6=a32_0x2075a1,_0xa79f20={'xhvEa':function(_0x19d2e1,_0x157ee7){return _0x19d2e1 instanceof _0x157ee7;},'UDunN':function(_0x4a8db4,_0x4230e3){return _0x4a8db4(_0x4230e3);}};var _0x5f4f0a=_0x2df9cb['err']||{};return _0xa79f20[_0x43a7d6(0x1fc)](_0x5f4f0a,Error)&&(_0x5f4f0a=_0xa79f20[_0x43a7d6(0x1d6)](errorJSON,_0x5f4f0a)),{'title':_0x2df9cb[_0x43a7d6(0x162)],'fullTitle':_0x2df9cb['fullTitle'],'file':_0x2df9cb[_0x43a7d6(0x205)],'duration':_0x2df9cb['duration'],'currentRetry':_0x2df9cb[_0x43a7d6(0x124)],'speed':_0x2df9cb['speed'],'err':_0xa79f20[_0x43a7d6(0x1d6)](cleanCycles,_0x5f4f0a)};}function printStats(_0x5f1542,_0x4c9130=a32_0x2075a1(0x173),_0x36d99f={}){const _0x3e36bd=a32_0x2075a1,_0x3eb8e9={'kFMPT':function(_0x191464,_0x2c26cd){return _0x191464(_0x2c26cd);},'xqaJF':function(_0x3d4a5c,_0x5d4aec){return _0x3d4a5c===_0x5d4aec;},'Mgprp':_0x3e36bd(0x178),'uugUI':_0x3e36bd(0x15b),'RZgkA':_0x3e36bd(0x1ab),'EGmYs':'failures','BAyXU':_0x3e36bd(0x21c),'gqdpI':_0x3e36bd(0x172),'vKaZg':function(_0x45efb9,_0x5c55ff){return _0x45efb9===_0x5c55ff;},'geesN':function(_0x9bc3e5,_0x452597){return _0x9bc3e5*_0x452597;},'KUvbV':function(_0x4298b7,_0x9efdba,_0x43af5d){return _0x4298b7(_0x9efdba,_0x43af5d);},'Bhmlo':function(_0x4bcc83,_0x38d981){return _0x4bcc83===_0x38d981;},'bbFiy':function(_0x3b93c4,_0x251468){return _0x3b93c4>_0x251468;},'nYWJg':function(_0x59d1b0){return _0x59d1b0();},'YZLss':function(_0xfc811b,_0x270dfb){return _0xfc811b===_0x270dfb;},'kTgaD':_0x3e36bd(0x12c),'PIVsQ':function(_0xd2d8e9,_0x3dfa9a){return _0xd2d8e9>_0x3dfa9a;},'Gpcdk':_0x3e36bd(0x134),'zUmPX':_0x3e36bd(0x202),'qcTZD':function(_0x28edc5,_0x47d0cb){return _0x28edc5+_0x47d0cb;},'muPwD':_0x3e36bd(0x1d0),'kOGDy':function(_0x3cbae2,_0x522d69){return _0x3cbae2+_0x522d69;},'OfUQF':_0x3e36bd(0x143),'ixmYJ':function(_0x45a777,_0xa2aa04){return _0x45a777+_0xa2aa04;},'ORZeV':_0x3e36bd(0x1ff),'qHSAj':function(_0x323e2c,_0x4e8811){return _0x323e2c>_0x4e8811;},'dxRjg':function(_0x3cf188,_0x4b7d71){return _0x3cf188+_0x4b7d71;},'HlKuU':function(_0x78ad2b,_0x2b4434){return _0x78ad2b+_0x2b4434;},'ddiEI':function(_0x21259c,_0x10bd21){return _0x21259c+_0x10bd21;},'nWvmx':_0x3e36bd(0x183),'XIWcW':_0x3e36bd(0x19b),'JvgFs':_0x3e36bd(0x1c5),'uXENy':_0x3e36bd(0x201),'LuPyv':_0x3e36bd(0x14d),'FaOBK':function(_0x39de3f,_0x2bf30f){return _0x39de3f===_0x2bf30f;},'jOmSB':_0x3e36bd(0x207),'lRtQD':'Mocha\x20Tests','rJwBI':function(_0x293e15,_0x7724a){return _0x293e15||_0x7724a;},'vBfID':function(_0x1c87a5,_0x90c144,_0x2c4e40,_0x29258e){return _0x1c87a5(_0x90c144,_0x2c4e40,_0x29258e);},'NqTeA':'testsuite','XfTBm':function(_0x301b65,_0x34d168){return _0x301b65-_0x34d168;},'fsISf':function(_0x34f639,_0x3c6257){return _0x34f639/_0x3c6257;},'JLWzy':'</testsuite>','JnKse':'Writing\x20xunit\x20result\x20to\x20file','oqUlT':'Couldn\x27t\x20write\x20xunit\x20result\x20to','ETLFt':_0x3e36bd(0x1b8),'WhMqy':function(_0x2b5e6d,_0x17bcf2){return _0x2b5e6d===_0x17bcf2;},'gJfQm':_0x3e36bd(0x163),'MJUaG':_0x3e36bd(0x217)};if(_0x3eb8e9['YZLss'](_0x4c9130,_0x3eb8e9[_0x3e36bd(0x21a)]))return;const _0x1aa63d=0x0,_0x1b32c2=()=>{const _0x47d9ff=_0x3e36bd;return _0x3eb8e9[_0x47d9ff(0x145)](Array,_0x1aa63d)[_0x47d9ff(0x17a)]('\x20\x20');},{testSuites:_0xca564e,platforms:_0x3c86a5,totalTests:_0x454487,testsFailed:_0x53a7cc,testsPassed:_0x59f56e,testsPending:_0x390356}=_0x3eb8e9[_0x3e36bd(0x145)](getStats,_0x5f1542);_0x3eb8e9['PIVsQ'](_0x53a7cc,0x0)&&(logger[_0x3e36bd(0x1c7)](_0x3eb8e9[_0x3e36bd(0x147)]),process[_0x3e36bd(0x133)]=Math['min'](_0x53a7cc,0xff));logger[_0x3e36bd(0x1c7)](_0x3eb8e9['zUmPX']);const _0x260110=''+_0x3eb8e9[_0x3e36bd(0x144)](chalk['bold'](_0x3eb8e9[_0x3e36bd(0x1e2)]),_0x3c86a5['length']),_0x2ddb08=''+_0x3eb8e9['kOGDy'](chalk[_0x3e36bd(0x1cf)](_0x3eb8e9[_0x3e36bd(0x15f)]),_0xca564e),_0x1ab97d=''+_0x3eb8e9[_0x3e36bd(0x1af)](_0x3eb8e9[_0x3e36bd(0x1a1)](_0x3eb8e9['kOGDy'](chalk[_0x3e36bd(0x1cf)](_0x3eb8e9[_0x3e36bd(0x151)]),_0x3eb8e9['PIVsQ'](_0x53a7cc,0x0)?chalk[_0x3e36bd(0x1cf)]['red'](_0x53a7cc+_0x3e36bd(0x206))+',\x20':''),_0x3eb8e9[_0x3e36bd(0x14f)](_0x390356,0x0)?chalk[_0x3e36bd(0x1cf)][_0x3e36bd(0x1bf)](_0x390356+_0x3e36bd(0x18c))+',\x20':''),_0x3eb8e9['PIVsQ'](_0x59f56e,0x0)?chalk[_0x3e36bd(0x1cf)][_0x3e36bd(0x214)](_0x59f56e+_0x3e36bd(0x20c))+',\x20':'')+_0x454487+_0x3e36bd(0x148);console['log'](_0x3eb8e9[_0x3e36bd(0x219)](_0x3eb8e9[_0x3e36bd(0x1f2)](_0x3eb8e9['ixmYJ'](_0x3eb8e9['ddiEI'](_0x3eb8e9[_0x3e36bd(0x1af)](_0x3eb8e9[_0x3e36bd(0x13e)],_0x260110),'\x0a'),_0x2ddb08),'\x0a'),_0x1ab97d));if(_0x3eb8e9[_0x3e36bd(0x16d)](_0x4c9130,_0x3eb8e9['XIWcW'])){const _0x1686a9={},_0x45976b={};_0x45976b[_0x3e36bd(0x11e)]=_0xca564e,_0x45976b['platforms']=_0x3c86a5,_0x45976b[_0x3e36bd(0x1ce)]=_0x53a7cc,_0x45976b[_0x3e36bd(0x19a)]=_0x59f56e,_0x45976b['testsPending']=_0x390356,_0x1686a9['stats']=_0x45976b,_0x3c86a5[_0x3e36bd(0x180)](_0x232f24=>{const _0x236eb0=_0x3e36bd,_0x27ba9b={'tVbkW':function(_0x2d417b,_0x25eb9b){const _0xbdd847=a32_0x2d66;return _0x3eb8e9[_0xbdd847(0x139)](_0x2d417b,_0x25eb9b);},'aHJcX':_0x3eb8e9['Mgprp'],'ETXqP':_0x3eb8e9['uugUI'],'tGBIH':function(_0x2f2f20,_0x143757){const _0x40bb75=a32_0x2d66;return _0x3eb8e9[_0x40bb75(0x145)](_0x2f2f20,_0x143757);},'qKYdH':function(_0xc2ca7d,_0x402306){const _0xe30cc9=a32_0x2d66;return _0x3eb8e9[_0xe30cc9(0x139)](_0xc2ca7d,_0x402306);},'HITEw':_0x3eb8e9[_0x236eb0(0x188)],'uDPVf':_0x3eb8e9[_0x236eb0(0x1bd)],'POwKs':_0x3eb8e9[_0x236eb0(0x1fb)]};_0x1686a9[_0x232f24]={'pending':[],'failures':[],'passes':[],'tests':_0x5f1542[_0x232f24][_0x3eb8e9[_0x236eb0(0x1ee)]]['map'](clean)},_0x5f1542[_0x232f24][_0x3eb8e9[_0x236eb0(0x1ee)]][_0x236eb0(0x180)](_0x498d6c=>{const _0x3f6c9e=_0x236eb0;if(_0x27ba9b[_0x3f6c9e(0x1b2)](_0x498d6c[_0x3f6c9e(0x13d)],_0x27ba9b[_0x3f6c9e(0x11b)]))_0x1686a9[_0x232f24][_0x27ba9b[_0x3f6c9e(0x1fa)]]['push'](_0x27ba9b[_0x3f6c9e(0x209)](clean,_0x498d6c));else _0x27ba9b['qKYdH'](_0x498d6c['state'],_0x27ba9b[_0x3f6c9e(0x199)])?_0x1686a9[_0x232f24][_0x27ba9b[_0x3f6c9e(0x11f)]][_0x3f6c9e(0x1aa)](_0x27ba9b[_0x3f6c9e(0x209)](clean,_0x498d6c)):_0x1686a9[_0x232f24][_0x27ba9b[_0x3f6c9e(0x1e5)]][_0x3f6c9e(0x1aa)](_0x27ba9b[_0x3f6c9e(0x209)](clean,_0x498d6c));});});if(_0x36d99f[_0x3e36bd(0x1d3)])try{logger[_0x3e36bd(0x1c7)](_0x3eb8e9['JvgFs'],_0x36d99f[_0x3e36bd(0x1d3)]),fs[_0x3e36bd(0x1e3)](_0x36d99f['output'],JSON[_0x3e36bd(0x12a)](_0x1686a9,null,0x3));}catch(_0x535f78){logger[_0x3e36bd(0x156)](_0x3eb8e9[_0x3e36bd(0x1f4)],_0x36d99f[_0x3e36bd(0x1d3)]),logger['debug'](_0x535f78);}else logger[_0x3e36bd(0x1c7)](_0x3eb8e9[_0x3e36bd(0x1d9)]),console['log'](JSON[_0x3e36bd(0x12a)](_0x1686a9,null,0x3));}else{if(_0x3eb8e9['FaOBK'](_0x4c9130,_0x3eb8e9[_0x3e36bd(0x1c4)])){let _0x2c4227;const _0x405de1=_0x3eb8e9[_0x3e36bd(0x1f5)];_0x36d99f&&(_0x2c4227=_0x36d99f[_0x3e36bd(0x186)]);_0x2c4227=_0x3eb8e9[_0x3e36bd(0x138)](_0x2c4227,_0x405de1);let _0x2ca9e6=0x0,_0x79ca17=0x0,_0x5a6a05=0x0,_0x176325=0x0;_0x3c86a5[_0x3e36bd(0x180)](_0x31ebef=>{const _0x1adb13=_0x3e36bd;_0x5f1542[_0x31ebef][_0x3eb8e9[_0x1adb13(0x1ee)]][_0x1adb13(0x180)](_0x2fac53=>{const _0x5e26b0=_0x1adb13;if(_0x3eb8e9[_0x5e26b0(0x139)](_0x2fac53[_0x5e26b0(0x13d)],_0x3eb8e9[_0x5e26b0(0x12f)]))_0x2ca9e6++;else _0x3eb8e9[_0x5e26b0(0x16d)](_0x2fac53[_0x5e26b0(0x13d)],_0x3eb8e9['RZgkA'])&&_0x79ca17++;_0x5a6a05++,_0x176325+=_0x3eb8e9[_0x5e26b0(0x181)](_0x2fac53[_0x5e26b0(0x216)],0x1);});}),_0x3eb8e9[_0x3e36bd(0x145)](xunitWrite,_0x3eb8e9[_0x3e36bd(0x157)](tag,_0x3eb8e9[_0x3e36bd(0x176)],{'name':_0x2c4227,'tests':_0x5a6a05,'failures':0x0,'errors':_0x79ca17,'skipped':_0x3eb8e9[_0x3e36bd(0x166)](_0x3eb8e9[_0x3e36bd(0x166)](_0x5a6a05,_0x79ca17),_0x2ca9e6),'timestamp':new Date()[_0x3e36bd(0x1a9)](),'time':_0x3eb8e9[_0x3e36bd(0x165)](_0x176325,0x3e8)||0x0},![])),_0x3c86a5['forEach'](_0x431626=>{const _0x122bf5=_0x3e36bd;_0x5f1542[_0x431626][_0x3eb8e9[_0x122bf5(0x1ee)]]['forEach'](_0x4e7464=>{_0x3eb8e9['KUvbV'](xunitTest,_0x4e7464,_0x431626);});}),_0x3eb8e9[_0x3e36bd(0x145)](xunitWrite,_0x3eb8e9['JLWzy']);if(_0x36d99f[_0x3e36bd(0x1d3)])try{logger[_0x3e36bd(0x1c7)](_0x3eb8e9[_0x3e36bd(0x18e)],_0x36d99f[_0x3e36bd(0x1d3)]),fs[_0x3e36bd(0x1e3)](_0x36d99f[_0x3e36bd(0x1d3)],xunitContent);}catch(_0x520f96){logger['error'](_0x3eb8e9[_0x3e36bd(0x140)],_0x36d99f['output']),logger[_0x3e36bd(0x1c7)](_0x520f96);}else logger[_0x3e36bd(0x1c7)](_0x3eb8e9[_0x3e36bd(0x210)]),console['log'](xunitContent);}else{if(_0x3eb8e9['WhMqy'](_0x53a7cc,0x0))return;console[_0x3e36bd(0x1db)](),logger['debug'](_0x3eb8e9[_0x3e36bd(0x1b4)]),console[_0x3e36bd(0x1db)](chalk['bold'][_0x3e36bd(0x142)](_0x3eb8e9[_0x3e36bd(0x14e)])),_0x3c86a5['forEach'](_0x4cddc2=>{const _0x37869f=_0x3e36bd,_0x3fefa2=[];_0x5f1542[_0x4cddc2][_0x3eb8e9[_0x37869f(0x1ee)]][_0x37869f(0x180)](_0x534c78=>{const _0x333401=_0x37869f;_0x3eb8e9[_0x333401(0x16f)](_0x534c78[_0x333401(0x13d)],_0x3eb8e9[_0x333401(0x188)])&&(_0x534c78['titlePath']=()=>_0x534c78['titlePathV'],_0x3fefa2['push'](_0x534c78));}),_0x3eb8e9[_0x37869f(0x19f)](_0x3fefa2['length'],0x0)&&(Base['consoleLog'](),Base[_0x37869f(0x211)](_0x3eb8e9[_0x37869f(0x1da)](_0x1b32c2),chalk[_0x37869f(0x1cf)][_0x37869f(0x190)](_0x4cddc2)),Base[_0x37869f(0x1f8)](_0x3fefa2));});}}}function a32_0x4fcb(){const _0x50452b=['Now,\x20showing\x20logs\x20from\x20mocha','testSuites','uDPVf','18DYKhXa','parseTestOrchestrationOptions','../../helpers/utilities','szVil','currentRetry','FYbPC','err','cjs','EaPvd','size','stringify','message','doc','mocha/lib/reporters/base.js','zBpzX','Mgprp','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../utils/clientTroubleshootingService','Running\x20your\x20mocha\x20tests','exitCode','Setting\x20non\x20exit\x20code\x20for\x20failures','reporterOptions','env','testsPending','rJwBI','xqaJF','isBrowserstackInfra','11102744MEaeiH','isUndefined','state','nWvmx','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','oqUlT','rootHooks','bgRedBright','Total\x20Suites:\x20','qcTZD','kFMPT','platforms','Gpcdk','\x20total','stack','../../helpers/test-observability/constants','cnnrc','excludeTagsInTestingScope','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','MJUaG','qHSAj','prototype','ORZeV','SDK_CLEANUP','launchBuild','../../helpers/test-observability/utils','files','error','vBfID','FRAMEWORKS','BHAwl','maxRetries','passes','accessibility','useW3C','reporter','OfUQF','20MDIxdV','ASePX','title','Listing\x20all\x20the\x20failures','rmdirSync','fsISf','XfTBm','../../helpers/logger','retryTestsOnFailure','setUserConfigPath','GATSj','602350TaQRke','qbkhh','vKaZg','testcase','Bhmlo','shouldReRunObservabilityTests','LcGxr','results','spec','actual','initialize','NqTeA','hTvkL','passed','isPending','join','keys','skipped','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','suite','SDKTestSuccessful','forEach','geesN','HAYVR','\x0a\x0a\x0a','../../helpers/percy/utils','proxySettings','suiteName','includeTagsInTestingScope','RZgkA','notifyUpdate','exports','finally','\x20skipped','eUfWc','JnKse','\x20platforms','bgBlueBright','framework','testObservability','JpGqK','setupTCGAuth','bstack:options','1506423xwEHSF','has','kCeTr','HITEw','testsPassed','json','getUserWorkerCount','puAiF','Aindr','bbFiy','failure','ixmYJ','mjs','start','config','wJvmw','ybAkp','central_scanner','FfNzL','toUTCString','push','failed','../../helpers/central-scanner/constants','mocha/lib/cli/collect-files.js','Running\x20your\x20mocha\x20tests\x20across\x20','kOGDy','fUByc','ootRU','tVbkW','WPTte','gJfQm','YJiZv','rEqRB','../utils/constants','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','retries','63SFFltJ','then','isNotUndefined','EGmYs','kOlda','yellow','getHubUrl','chalk','info','tgAVM','jOmSB','Writing\x20json\x20result\x20to\x20file','ignore','debug','cdoVt','tgrTU','printBuildLink','reporter-option','fireFunnelTestEvent','add','testsFailed','bold','Total\x20Platforms:\x20','totalTests','capability','output','length','validPlatformsPresent','UDunN','cGwvS','818772BsKgTn','LuPyv','nYWJg','log','logLevel','lHZVB','winstonLogger','object','isEmpty','useColors','muPwD','writeFileSync','75733TdjdPy','POwKs','configuration','sort','2637733bTSMJu','mocha','fullTitle','accessibilityOptions','../../helpers/performance/performance-tester','PoLNt','gqdpI','assign','RsmtP','eXhEo','HlKuU','hasOwnProperty','uXENy','lRtQD','platform','KDHHI','list','isTestObservabilitySession','ETXqP','BAyXU','xhvEa','Emmup','../../helpers/helper','Tests:\x20\x20\x20\x20\x20\x20\x20','BZCsi','Couldn\x27t\x20write\x20json\x20result\x20to','Printing\x20stats\x20of\x20tests','NTpLA','BROWSERSTACK_TEST_ACCESSIBILITY_YML','file','\x20failed','xunit','get','tGBIH','JyBKe','parse','\x20passed','getCentralUser','7319510VFtMSa','MOCHA','ETLFt','consoleLog','Zowux','cliConfig','green','parallelsPerPlatform','duration','****\x20FAILURES\x20****','qhHWs','dxRjg','kTgaD','pauco','pending','eSFQK','ZDAoo','EVENTS','BROWSERSTACK_TEST_OBSERVABILITY_YML','aHJcX','handleApp'];a32_0x4fcb=function(){return _0x50452b;};return a32_0x4fcb();}async function run(_0x4084ed,_0x1b1cdb,_0x3442f6){const _0x4ce32e=a32_0x2075a1,_0x1ea039={'YJiZv':function(_0x4ee644,_0x5f17bb,_0x4b4eee,_0x1357f4){return _0x4ee644(_0x5f17bb,_0x4b4eee,_0x1357f4);},'FYbPC':_0x4ce32e(0x1cb),'FfNzL':'error\x20removing\x20tcg\x20config\x20file','uruRo':_0x4ce32e(0x17f),'Aindr':function(_0x23de13,_0x3372b7,_0x55c2f9,_0x49fcab){return _0x23de13(_0x3372b7,_0x55c2f9,_0x49fcab);},'pcjub':_0x4ce32e(0x1e9),'qhHWs':function(_0x40fa1c,_0x3964ba){return _0x40fa1c!=_0x3964ba;},'BHAwl':_0x4ce32e(0x127),'RsmtP':_0x4ce32e(0x1a2),'VcoXV':'test','kCeTr':'rerunTests','FqjJT':function(_0x3a39f9,_0x427180){return _0x3a39f9(_0x427180);},'JyBKe':function(_0x42f8dc,_0x57e18c,_0x464d03){return _0x42f8dc(_0x57e18c,_0x464d03);},'cdoVt':_0x4ce32e(0x155),'kOlda':_0x4ce32e(0x187),'tgrTU':_0x4ce32e(0x14c),'cGwvS':'includeEncodedExtension','wJvmw':_0x4ce32e(0x132),'GATSj':_0x4ce32e(0x11d),'cnnrc':function(_0x50d7a7,_0x5f4fd7,_0x58929e,_0x454e11){return _0x50d7a7(_0x5f4fd7,_0x58929e,_0x454e11);},'JpGqK':function(_0x5f1229,_0x2cf19e){return _0x5f1229*_0x2cf19e;},'szVil':function(_0x45fb78,_0x402368){return _0x45fb78(_0x402368);},'hTvkL':function(_0x2fd80e,_0x422bc9){return _0x2fd80e!==_0x422bc9;},'Zowux':function(_0x88866b,_0x639228,_0x46143e,_0x2e8861){return _0x88866b(_0x639228,_0x46143e,_0x2e8861);}};helper[_0x4ce32e(0x169)](_0x3442f6[_0x4ce32e(0x191)],_0x4084ed),await _0x3442f6[_0x4ce32e(0x175)](_0x4084ed);helper[_0x4ce32e(0x13a)]()?await helper[_0x4ce32e(0x11c)](_0x3442f6[_0x4ce32e(0x1a4)]):await _0x3442f6[_0x4ce32e(0x194)]();const _0x516a60=[];let _0x4f6b68=[];if(!_0x3442f6[_0x4ce32e(0x1a4)])return;!helper[_0x4ce32e(0x13c)](_0x3442f6[_0x4ce32e(0x1a4)]['accessibilityOptions'])&&(process[_0x4ce32e(0x136)][_0x4ce32e(0x130)]=JSON[_0x4ce32e(0x12a)](_0x3442f6[_0x4ce32e(0x1a4)][_0x4ce32e(0x1eb)]));const _0x5be767=await TestHubHandler[_0x4ce32e(0x153)](FRAMEWORKS[_0x4ce32e(0x20f)],_0x3442f6);_0x1ea039[_0x4ce32e(0x218)](_0x3442f6[_0x4ce32e(0x1a4)][_0x4ce32e(0x192)],null)&&(process[_0x4ce32e(0x136)][_0x4ce32e(0x11a)]=_0x3442f6[_0x4ce32e(0x1a4)][_0x4ce32e(0x192)]);!helper['isUndefined'](_0x3442f6['config'][_0x4ce32e(0x15c)])&&(process[_0x4ce32e(0x136)][_0x4ce32e(0x204)]=_0x3442f6[_0x4ce32e(0x1a4)][_0x4ce32e(0x15c)]);const {extension:extension=['js',_0x1ea039[_0x4ce32e(0x159)],_0x1ea039[_0x4ce32e(0x1f0)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x1ea039['VcoXV']]}=_0x4084ed,_0x173c8c={..._0x4084ed};_0x173c8c[_0x4ce32e(0x141)]=null;const _0x492ffe=_0x173c8c;let _0x54adb5;if(testOpsHelper[_0x4ce32e(0x1f9)]()&&testOpsHelper[_0x4ce32e(0x170)]()){let _0x17e728=process['env']['BROWSERSTACK_RERUN_TESTS'];!helper[_0x4ce32e(0x13c)](_0x3442f6['cliConfig'])&&_0x3442f6[_0x4ce32e(0x213)][_0x4ce32e(0x197)](_0x1ea039['kCeTr'])&&(_0x17e728=_0x3442f6[_0x4ce32e(0x213)][_0x4ce32e(0x208)](_0x1ea039[_0x4ce32e(0x198)])),_0x54adb5=testOpsHelper['parseFileNames'](_0x17e728);}if(helper[_0x4ce32e(0x13c)](_0x54adb5)){const _0x3de480={};_0x3de480[_0x4ce32e(0x1c6)]=ignore,_0x3de480['extension']=extension,_0x3de480[_0x4ce32e(0x205)]=file,_0x3de480['recursive']=recursive,_0x3de480[_0x4ce32e(0x1e7)]=sort,_0x3de480[_0x4ce32e(0x173)]=spec,_0x54adb5=_0x1ea039['FqjJT'](collectFiles,_0x3de480),_0x1ea039[_0x4ce32e(0x20a)](nestedKeyValue,_0x54adb5,[_0x1ea039[_0x4ce32e(0x1c8)]])&&(_0x54adb5=_0x54adb5[_0x4ce32e(0x155)]);}const _0x52d672=helper[_0x4ce32e(0x121)](_0x3442f6[_0x4ce32e(0x1a4)]);!helper[_0x4ce32e(0x1e0)](_0x52d672)&&helper[_0x4ce32e(0x1bc)](_0x52d672['retryTestsOnFailure'])&&(_0x492ffe[_0x4ce32e(0x1b9)]=_0x52d672[_0x4ce32e(0x168)][_0x4ce32e(0x15a)]);if(!helper['isBrowserstackInfra']()){const _0x5684c7=0x1,_0x244240={..._0x492ffe};_0x244240[_0x4ce32e(0x173)]=[..._0x54adb5],_0x516a60['push']({'mochaOpts':_0x244240,'configuration':{'platform':os[_0x4ce32e(0x1f6)]()}});if(_0x3442f6[_0x4ce32e(0x1a4)][_0x4ce32e(0x15c)]){const _0x3ac4ec={};_0x3ac4ec[_0x4ce32e(0x15c)]=!![];const _0x4fa937=_0x3ac4ec;_0x1ea039[_0x4ce32e(0x218)](_0x3442f6[_0x4ce32e(0x1a4)][_0x4ce32e(0x1eb)],null)&&(_0x4fa937[_0x4ce32e(0x1eb)]=_0x3442f6[_0x4ce32e(0x1a4)]['accessibilityOptions'],delete _0x4fa937['accessibilityOptions'][_0x1ea039[_0x4ce32e(0x1be)]],delete _0x4fa937[_0x4ce32e(0x1eb)][_0x1ea039[_0x4ce32e(0x1c9)]],delete _0x4fa937[_0x4ce32e(0x1eb)][_0x1ea039[_0x4ce32e(0x1d7)]]);const _0x50e90e={};_0x50e90e[_0x4ce32e(0x195)]=_0x4fa937,_0x516a60[0x0][_0x4ce32e(0x1e6)][_0x4ce32e(0x1d2)]=_0x50e90e;}logger['info'](_0x1ea039[_0x4ce32e(0x1a5)]),logger[_0x4ce32e(0x1c2)](_0x1ea039[_0x4ce32e(0x16a)]),_0x1ea039[_0x4ce32e(0x14b)](parallelTestRun,_0x516a60,_0x5684c7,_0x3442f6)['then'](_0x9b7fe6=>{const _0x521113=_0x4ce32e;PerformanceTester[_0x521113(0x1a3)](PerformanceEvents[_0x521113(0x152)]),_0x1ea039[_0x521113(0x1b5)](printStats,_0x9b7fe6,_0x4084ed[_0x521113(0x15e)],_0x4084ed['reporterOptions']||_0x4084ed[_0x1ea039[_0x521113(0x125)]]);})[_0x4ce32e(0x18b)](()=>{const _0x19c556=_0x4ce32e;PerformanceTester[_0x19c556(0x1a3)](PerformanceEvents[_0x19c556(0x152)]);try{const {browserstackFolderPath:_0x29db8a,tcgConfigPath:_0x41de20}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x41de20),fs[_0x19c556(0x164)](_0x29db8a);}catch(_0xc4b65d){logger[_0x19c556(0x1c7)](_0x1ea039[_0x19c556(0x1a8)],_0xc4b65d);}try{utilities[_0x19c556(0x1cc)](_0x1ea039['uruRo'],{},_0x3442f6[_0x19c556(0x1a4)],_0x3442f6[_0x19c556(0x191)]);}catch(_0x38e70b){logger[_0x19c556(0x1c7)](_0x19c556(0x13f)+_0x38e70b[_0x19c556(0x149)]);}try{helper[_0x19c556(0x189)]();}catch(_0x23bbaa){logger[_0x19c556(0x1c7)](_0x19c556(0x17d)+_0x23bbaa);}testOpsHelper[_0x19c556(0x1ca)]();});}else{const _0x167f31=helper[_0x4ce32e(0x15d)](_0x3442f6['config']);let _0x262277=helper[_0x4ce32e(0x1c0)](_0x3442f6[_0x4ce32e(0x1a4)]);_0x4f6b68=helper['prepareCapabilities'](_0x3442f6[_0x4ce32e(0x1a4)],_0x167f31,constants[_0x4ce32e(0x158)][_0x4ce32e(0x20f)]);helper[_0x4ce32e(0x20d)]()[_0x4ce32e(0x1a7)]&&(_0x262277=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0x2e6bd0;const _0x477899=_0x3442f6[_0x4ce32e(0x1a4)][_0x4ce32e(0x215)]||helper[_0x4ce32e(0x19c)](_0x4084ed,_0x1b1cdb,_0x3442f6['config'],constants[_0x4ce32e(0x158)][_0x4ce32e(0x20f)])||0x1;helper[_0x4ce32e(0x1d5)](_0x3442f6[_0x4ce32e(0x1a4)])?_0x2e6bd0=_0x1ea039[_0x4ce32e(0x193)](_0x3442f6[_0x4ce32e(0x1a4)][_0x4ce32e(0x146)]['length'],_0x477899):_0x2e6bd0=_0x477899;const _0x1a1136=_0x1ea039[_0x4ce32e(0x123)](getPercyOptions,_0x3442f6[_0x4ce32e(0x1a4)]);if(_0x1ea039[_0x4ce32e(0x177)](_0x3442f6['config'][_0x4ce32e(0x215)],0x1))_0x54adb5[_0x4ce32e(0x180)](_0x1d1d6d=>{const _0x7b85e9=_0x4ce32e,_0x351f3d=[];_0x4f6b68[_0x7b85e9(0x180)]((_0x23dd3d,_0xa8cce8)=>{const _0x2cbfa3=_0x7b85e9,_0x343a5d={};_0x343a5d[_0x2cbfa3(0x173)]=[_0x1d1d6d],_0x351f3d[_0x2cbfa3(0x1aa)]({'mochaOpts':Object['assign']({},_0x492ffe,_0x343a5d),'configuration':{'server':_0x262277,'capability':_0x23dd3d,'proxySettings':_0x3442f6[_0x2cbfa3(0x1a4)][_0x2cbfa3(0x185)],'platform':helper['getPlatformName'](_0x23dd3d),'browserStackLogLevel':_0x3442f6[_0x2cbfa3(0x1a4)][_0x2cbfa3(0x1dc)],'platformIndex':_0xa8cce8,'browserStackPercyOptions':_0x1a1136,'platformCaps':Object[_0x2cbfa3(0x1ef)]({'index':_0xa8cce8},_0x3442f6[_0x2cbfa3(0x1a4)][_0x2cbfa3(0x146)][_0xa8cce8])}});}),_0x516a60[_0x7b85e9(0x1aa)](..._0x351f3d);});else{const _0x5e52ae=[];_0x4f6b68[_0x4ce32e(0x180)]((_0x51958f,_0x20c5d0)=>{const _0x8ecb8d=_0x4ce32e;let _0x47e4ab=Object['assign']({},_0x492ffe);testOpsHelper[_0x8ecb8d(0x1f9)]()&&testOpsHelper[_0x8ecb8d(0x170)]()&&(_0x47e4ab={..._0x47e4ab,'spec':[..._0x54adb5]}),_0x5e52ae['push']({'mochaOpts':_0x47e4ab,'configuration':{'server':_0x262277,'capability':_0x51958f,'proxySettings':_0x3442f6[_0x8ecb8d(0x1a4)][_0x8ecb8d(0x185)],'platform':helper['getPlatformName'](_0x51958f),'browserStackLogLevel':_0x3442f6[_0x8ecb8d(0x1a4)][_0x8ecb8d(0x1dc)],'platformIndex':_0x20c5d0,'browserStackPercyOptions':_0x1a1136,'platformCaps':Object[_0x8ecb8d(0x1ef)]({'index':_0x20c5d0},_0x3442f6[_0x8ecb8d(0x1a4)]['platforms'][_0x20c5d0])}});}),_0x516a60[_0x4ce32e(0x1aa)](..._0x5e52ae);}logger['info'](_0x4ce32e(0x1ae)+_0x3442f6[_0x4ce32e(0x1a4)][_0x4ce32e(0x146)][_0x4ce32e(0x1d4)]+_0x4ce32e(0x18f)),logger['info'](_0x1ea039[_0x4ce32e(0x16a)]);let _0x4de165;_0x1ea039[_0x4ce32e(0x212)](parallelTestRun,_0x516a60,_0x2e6bd0,_0x3442f6)[_0x4ce32e(0x1bb)](_0x57482e=>{const _0x36cb0c=_0x4ce32e;PerformanceTester[_0x36cb0c(0x1a3)](PerformanceEvents[_0x36cb0c(0x152)]),_0x4de165=_0x57482e,_0x1ea039[_0x36cb0c(0x19e)](printStats,_0x57482e,_0x4084ed[_0x36cb0c(0x15e)],_0x4084ed[_0x36cb0c(0x135)]||_0x4084ed[_0x1ea039[_0x36cb0c(0x125)]]);})[_0x4ce32e(0x18b)](async()=>{const _0x47660f=_0x4ce32e;PerformanceTester[_0x47660f(0x1a3)](PerformanceEvents[_0x47660f(0x152)]),_0x3442f6['errorMessage']=helper['getErrorMessageFromResults'](_0x4de165,_0x1ea039['pcjub']),await utilities['finalExecution'](_0x3442f6),testOpsHelper['printBuildLink']();});}}module[a32_0x2075a1(0x18a)]=run;
2
+ 'use strict';const a32_0x4ea79d=a32_0x1468;(function(_0x159945,_0x4d9398){const _0x3d55af=a32_0x1468,_0x65d8f=_0x159945();while(!![]){try{const _0x39bbf5=parseInt(_0x3d55af(0x279))/0x1*(-parseInt(_0x3d55af(0x200))/0x2)+-parseInt(_0x3d55af(0x2ad))/0x3*(parseInt(_0x3d55af(0x250))/0x4)+parseInt(_0x3d55af(0x2b4))/0x5*(parseInt(_0x3d55af(0x24a))/0x6)+-parseInt(_0x3d55af(0x29a))/0x7+parseInt(_0x3d55af(0x1ea))/0x8*(-parseInt(_0x3d55af(0x25d))/0x9)+-parseInt(_0x3d55af(0x244))/0xa+parseInt(_0x3d55af(0x2ba))/0xb;if(_0x39bbf5===_0x4d9398)break;else _0x65d8f['push'](_0x65d8f['shift']());}catch(_0x2746ed){_0x65d8f['push'](_0x65d8f['shift']());}}}(a32_0x1e43,0xb39f5));function a32_0x1468(_0x19bc4d,_0x332318){const _0x1e4337=a32_0x1e43();return a32_0x1468=function(_0x1468a7,_0x42d6f8){_0x1468a7=_0x1468a7-0x1ce;let _0x2918a7=_0x1e4337[_0x1468a7];return _0x2918a7;},a32_0x1468(_0x19bc4d,_0x332318);}const chalk=require(a32_0x4ea79d(0x251)),logger=require('../../helpers/logger')[a32_0x4ea79d(0x26d)],helper=require(a32_0x4ea79d(0x1fc)),utilities=require(a32_0x4ea79d(0x29d)),testOpsHelper=require(a32_0x4ea79d(0x1db)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a32_0x4ea79d(0x2d1)),{requireModule,nestedKeyValue}=require(a32_0x4ea79d(0x1fc)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule('mocha/lib/reporters/base.js',a32_0x4ea79d(0x2ab)),collectFiles=requireModule(a32_0x4ea79d(0x22d),a32_0x4ea79d(0x2ab)),constants=require(a32_0x4ea79d(0x20b)),PerformanceTester=require(a32_0x4ea79d(0x208)),PerformanceEvents=require(a32_0x4ea79d(0x243))[a32_0x4ea79d(0x1f0)],centralScannerConstants=require(a32_0x4ea79d(0x25c)),{FRAMEWORKS}=require(a32_0x4ea79d(0x260)),TestHubHandler=require(a32_0x4ea79d(0x29e)),ClientTroubleShootingService=require(a32_0x4ea79d(0x2c1));function tag(_0x11f3f5,_0x2f0151,_0xaeb983,_0x1617d8){const _0x1875e3=a32_0x4ea79d,_0x115e17={'JBkVx':function(_0x3c6f6c,_0x359ce9){return _0x3c6f6c+_0x359ce9;},'KZDmu':function(_0x247dae,_0x3ba818){return _0x247dae+_0x3ba818;},'UnbYO':function(_0x1b9605,_0x257aec){return _0x1b9605+_0x257aec;},'arCXY':function(_0x42966a,_0x223b65){return _0x42966a(_0x223b65);},'vHirM':function(_0x2f9864,_0xa11097){return _0x2f9864+_0xa11097;},'KFXEB':function(_0xabd7ba,_0x33b925){return _0xabd7ba+_0x33b925;},'UnnGw':function(_0xf7eef8,_0x396021){return _0xf7eef8+_0x396021;}},_0x151469=_0xaeb983?'/>':'>',_0xb1a986=[];let _0x16325f;for(const _0x321133 in _0x2f0151){Object[_0x1875e3(0x29b)]['hasOwnProperty']['call'](_0x2f0151,_0x321133)&&_0xb1a986['push'](_0x115e17['JBkVx'](_0x115e17['KZDmu'](_0x115e17[_0x1875e3(0x248)](_0x321133,'=\x22'),_0x115e17['arCXY'](escape,_0x2f0151[_0x321133])),'\x22'));}return _0x16325f=_0x115e17[_0x1875e3(0x2d9)](_0x115e17[_0x1875e3(0x248)](_0x115e17[_0x1875e3(0x1f7)]('<',_0x11f3f5),_0xb1a986[_0x1875e3(0x275)]?_0x115e17[_0x1875e3(0x1f7)]('\x20',_0xb1a986[_0x1875e3(0x2da)]('\x20')):''),_0x151469),_0x1617d8&&(_0x16325f+=_0x115e17['UnnGw'](_0x115e17[_0x1875e3(0x248)](_0x115e17[_0x1875e3(0x2a9)](_0x1617d8,'</'),_0x11f3f5),_0x151469)),_0x16325f;}let xunitContent='';function xunitWrite(_0x25b834){xunitContent+=_0x25b834;}function xunitTest(_0xaa5e34,_0x43a99f){const _0x390bce=a32_0x4ea79d,_0x3d9d09={'VJYqq':function(_0x456a6e,_0xa23635){return _0x456a6e/_0xa23635;},'tRMEX':function(_0x233325,_0x3c007d){return _0x233325===_0x3c007d;},'iDivh':'failed','RscHW':function(_0x5f00bc,_0x29b8b7){return _0x5f00bc+_0x29b8b7;},'XReks':function(_0xcdab06,_0x30b7b0){return _0xcdab06(_0x30b7b0);},'XnbVU':function(_0x4e3114,_0x394603,_0x5423a6,_0x27ae9c,_0x475b60){return _0x4e3114(_0x394603,_0x5423a6,_0x27ae9c,_0x475b60);},'XzeGH':_0x390bce(0x1dd),'pVqRr':function(_0x431e36,_0x5105fa,_0x3d1579,_0x525e8f,_0x454990){return _0x431e36(_0x5105fa,_0x3d1579,_0x525e8f,_0x454990);},'UuDbM':_0x390bce(0x2cc),'ZoPto':function(_0x3b3261,_0xa0700e){return _0x3b3261+_0xa0700e;},'jODWN':function(_0x5d5456,_0x1dd847){return _0x5d5456(_0x1dd847);},'BnuXC':function(_0x1e8c53,_0x41b677){return _0x1e8c53(_0x41b677);},'RQFbK':function(_0x10df1f,_0x172104,_0x1ae200,_0x57cad4,_0x4379c2){return _0x10df1f(_0x172104,_0x1ae200,_0x57cad4,_0x4379c2);},'czPQC':function(_0x566adc,_0x91c52f,_0x457600,_0x3b90e1){return _0x566adc(_0x91c52f,_0x457600,_0x3b90e1);},'tPlYw':_0x390bce(0x1e9)};Base[_0x390bce(0x207)]=![];var _0x39245e={'classname':_0xaa5e34['fullTitle'],'name':_0xaa5e34[_0x390bce(0x2b6)],'time':_0x3d9d09[_0x390bce(0x29c)](_0xaa5e34[_0x390bce(0x1fa)],0x3e8)||0x0,'platform':_0x43a99f};if(_0x3d9d09[_0x390bce(0x239)](_0xaa5e34[_0x390bce(0x218)],_0x3d9d09[_0x390bce(0x1ee)])){var _0x3b7eeb=_0xaa5e34[_0x390bce(0x2c5)],_0x5d2848=!Base[_0x390bce(0x294)]&&Base['showDiff'](_0x3b7eeb)?_0x3d9d09[_0x390bce(0x1fd)]('\x0a',Base['generateDiff'](_0x3b7eeb[_0x390bce(0x22b)],_0x3b7eeb[_0x390bce(0x272)])):'';_0x3d9d09['XReks'](xunitWrite,_0x3d9d09[_0x390bce(0x20d)](tag,_0x3d9d09['XzeGH'],_0x39245e,![],_0x3d9d09[_0x390bce(0x1ef)](tag,_0x3d9d09[_0x390bce(0x2cb)],{},![],_0x3d9d09[_0x390bce(0x1fd)](_0x3d9d09['RscHW'](_0x3d9d09['ZoPto'](_0x3d9d09[_0x390bce(0x273)](escape,_0x3b7eeb[_0x390bce(0x204)]),_0x3d9d09[_0x390bce(0x216)](escape,_0x5d2848)),'\x0a'),_0x3d9d09[_0x390bce(0x214)](escape,_0x3b7eeb[_0x390bce(0x282)])))));}else _0xaa5e34['isPending']?_0x3d9d09[_0x390bce(0x214)](xunitWrite,_0x3d9d09[_0x390bce(0x222)](tag,_0x3d9d09[_0x390bce(0x285)],_0x39245e,![],_0x3d9d09[_0x390bce(0x276)](tag,_0x3d9d09[_0x390bce(0x22a)],{},!![]))):_0x3d9d09[_0x390bce(0x214)](xunitWrite,_0x3d9d09[_0x390bce(0x276)](tag,_0x3d9d09['XzeGH'],_0x39245e,!![]));};function getStats(_0x5edb98){const _0x465500=a32_0x4ea79d,_0x115498={};_0x115498[_0x465500(0x213)]=_0x465500(0x240),_0x115498[_0x465500(0x1d8)]='passed',_0x115498['XRBcj']=_0x465500(0x229),_0x115498[_0x465500(0x2a6)]=_0x465500(0x2a3);const _0x323b5b=_0x115498,_0x2dd176=Object[_0x465500(0x26f)](_0x5edb98);let _0x94a5da=0x0,_0x1f8949=0x0,_0x1f6408=0x0,_0x4c55fe=0x0;const _0x8a96d6=new Set();_0x2dd176[_0x465500(0x24b)](_0x2577c5=>{const _0x3fb476=_0x465500;_0x5edb98[_0x2577c5][_0x323b5b[_0x3fb476(0x2a6)]][_0x3fb476(0x24b)](_0x35a9a2=>{const _0x22f648=_0x3fb476;_0x8a96d6[_0x22f648(0x2b3)](_0x35a9a2[_0x323b5b[_0x22f648(0x213)]]),_0x94a5da++;switch(_0x35a9a2['state']){case _0x323b5b[_0x22f648(0x1d8)]:_0x1f6408++;break;case _0x323b5b['XRBcj']:_0x1f8949++;break;default:_0x4c55fe++;}});});const _0x2b6fc6={};return _0x2b6fc6[_0x465500(0x246)]=_0x8a96d6[_0x465500(0x21e)],_0x2b6fc6[_0x465500(0x27e)]=_0x2dd176,_0x2b6fc6['totalTests']=_0x94a5da,_0x2b6fc6[_0x465500(0x1ce)]=_0x1f8949,_0x2b6fc6[_0x465500(0x230)]=_0x1f6408,_0x2b6fc6[_0x465500(0x257)]=_0x4c55fe,_0x2b6fc6;}function errorJSON(_0x58d85a){const _0x5480ec=a32_0x4ea79d;var _0x255a17={};return Object[_0x5480ec(0x2c3)](_0x58d85a)[_0x5480ec(0x24b)](function(_0x320c4f){_0x255a17[_0x320c4f]=_0x58d85a[_0x320c4f];},_0x58d85a),_0x255a17;}function cleanCycles(_0x418c65){const _0x11358c=a32_0x4ea79d,_0x4abf10={};_0x4abf10[_0x11358c(0x245)]=function(_0x4ab1df,_0x1382e9){return _0x4ab1df===_0x1382e9;},_0x4abf10[_0x11358c(0x295)]=_0x11358c(0x20a),_0x4abf10[_0x11358c(0x233)]=function(_0x20bb79,_0x72aea4){return _0x20bb79!==_0x72aea4;},_0x4abf10[_0x11358c(0x224)]=function(_0x262767,_0x281b1e){return _0x262767!==_0x281b1e;},_0x4abf10['UeSKp']=function(_0x1fcd12,_0x57c3ae){return _0x1fcd12+_0x57c3ae;};const _0x14f3b9=_0x4abf10;var _0x2d7cfb=[];return JSON[_0x11358c(0x299)](JSON[_0x11358c(0x226)](_0x418c65,function(_0x1f0a3e,_0x4c6888){const _0x3be4e9=_0x11358c;if(_0x14f3b9[_0x3be4e9(0x245)](typeof _0x4c6888,_0x14f3b9[_0x3be4e9(0x295)])&&_0x14f3b9[_0x3be4e9(0x233)](_0x4c6888,null)){if(_0x14f3b9['qCRck'](_0x2d7cfb[_0x3be4e9(0x212)](_0x4c6888),-0x1))return _0x14f3b9[_0x3be4e9(0x291)]('',_0x4c6888);_0x2d7cfb['push'](_0x4c6888);}return _0x4c6888;}));}function clean(_0x5c3e70){const _0x113fda=a32_0x4ea79d,_0x15a679={'IXIgm':function(_0xb9d9ad,_0x28147a){return _0xb9d9ad instanceof _0x28147a;},'oPAuT':function(_0x2d3223,_0x346d1b){return _0x2d3223(_0x346d1b);},'MMkFT':function(_0x875798,_0x5bd52d){return _0x875798(_0x5bd52d);}};var _0x5509ac=_0x5c3e70['err']||{};return _0x15a679['IXIgm'](_0x5509ac,Error)&&(_0x5509ac=_0x15a679[_0x113fda(0x1dc)](errorJSON,_0x5509ac)),{'title':_0x5c3e70['title'],'fullTitle':_0x5c3e70[_0x113fda(0x26e)],'file':_0x5c3e70['file'],'duration':_0x5c3e70[_0x113fda(0x1fa)],'currentRetry':_0x5c3e70[_0x113fda(0x1e2)],'speed':_0x5c3e70['speed'],'err':_0x15a679[_0x113fda(0x270)](cleanCycles,_0x5509ac)};}function printStats(_0x2e4e20,_0x37b122=a32_0x4ea79d(0x269),_0x2de5de={}){const _0x3ade6b=a32_0x4ea79d,_0x585208={'EsEBn':function(_0x7dd35,_0x654f92){return _0x7dd35(_0x654f92);},'xEXaF':function(_0x55f96e,_0x62b497){return _0x55f96e===_0x62b497;},'SSAjx':_0x3ade6b(0x25b),'VARwJ':'passes','GJUkI':function(_0x113470,_0x13f88a){return _0x113470===_0x13f88a;},'syHFW':_0x3ade6b(0x229),'SYfFy':_0x3ade6b(0x287),'DmqKR':function(_0xe2ef7b,_0x6728d6){return _0xe2ef7b(_0x6728d6);},'JpgIh':'pending','yKZje':function(_0x3289d0,_0x1171f8){return _0x3289d0(_0x1171f8);},'DjjJv':'results','taEll':function(_0x42d510,_0x1acf1a){return _0x42d510*_0x1acf1a;},'YfdAp':function(_0x15f233,_0x420f3c,_0x111ed0){return _0x15f233(_0x420f3c,_0x111ed0);},'scMUZ':function(_0x4a7f28,_0x2c73b5){return _0x4a7f28>_0x2c73b5;},'KWhnB':function(_0x54a59b){return _0x54a59b();},'qeJKy':function(_0x29c284,_0xc4fe32){return _0x29c284===_0xc4fe32;},'RRLLp':_0x3ade6b(0x1e5),'yuZlm':function(_0x46f9e8,_0x1005a5){return _0x46f9e8(_0x1005a5);},'jZdUk':function(_0x2aedf8,_0x2be51e){return _0x2aedf8>_0x2be51e;},'snXeH':_0x3ade6b(0x2cd),'HyNdL':_0x3ade6b(0x1f6),'XTVhQ':function(_0xfe25dd,_0x282fb8){return _0xfe25dd+_0x282fb8;},'dKLDD':_0x3ade6b(0x24c),'bJkIs':_0x3ade6b(0x238),'Tlohf':function(_0x31f08d,_0x16f799){return _0x31f08d+_0x16f799;},'NZjps':function(_0x8bdd4b,_0x1717e0){return _0x8bdd4b+_0x1717e0;},'voKnb':'Tests:\x20\x20\x20\x20\x20\x20\x20','oynSr':function(_0x2be445,_0x113f42){return _0x2be445+_0x113f42;},'DuqsY':function(_0x2462fb,_0xc52275){return _0x2462fb+_0xc52275;},'hLQcs':_0x3ade6b(0x284),'Lwnpc':_0x3ade6b(0x1df),'zOtXi':_0x3ade6b(0x247),'fpQIR':_0x3ade6b(0x2c8),'gWKKc':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','oHeHu':function(_0x5c3edc,_0xfeb1f0){return _0x5c3edc===_0xfeb1f0;},'rhAAB':_0x3ade6b(0x225),'JCwEM':'Mocha\x20Tests','cQcWN':function(_0x1d5848,_0x437294){return _0x1d5848||_0x437294;},'yEYZH':function(_0x127a5c,_0x57b55d){return _0x127a5c(_0x57b55d);},'MflfK':function(_0x27f05e,_0xdbfcf,_0x186800,_0xee6165){return _0x27f05e(_0xdbfcf,_0x186800,_0xee6165);},'zMCfp':_0x3ade6b(0x215),'JOExw':function(_0x2909d8,_0xfdc215){return _0x2909d8-_0xfdc215;},'tCckn':function(_0x2651a5,_0x2767d8){return _0x2651a5/_0x2767d8;},'dVSPU':function(_0x463b5a,_0x3aa791){return _0x463b5a(_0x3aa791);},'NufNk':_0x3ade6b(0x1fb),'CJATD':_0x3ade6b(0x20f),'ltXdi':_0x3ade6b(0x1e1),'cVJCB':_0x3ade6b(0x28e),'VXwkg':function(_0x32ed45,_0x4f38ac){return _0x32ed45===_0x4f38ac;},'YMhhU':_0x3ade6b(0x20e),'kKdln':_0x3ade6b(0x271)};if(_0x585208['qeJKy'](_0x37b122,_0x585208[_0x3ade6b(0x2b7)]))return;const _0x3d4b83=0x0,_0xb05b30=()=>{const _0x13a8a7=_0x3ade6b;return _0x585208[_0x13a8a7(0x259)](Array,_0x3d4b83)[_0x13a8a7(0x2da)]('\x20\x20');},{testSuites:_0x57d295,platforms:_0x3d3d2d,totalTests:_0x5f2d62,testsFailed:_0x3c3547,testsPassed:_0x47355e,testsPending:_0x2f2f5e}=_0x585208['yuZlm'](getStats,_0x2e4e20);_0x585208[_0x3ade6b(0x27a)](_0x3c3547,0x0)&&(logger['debug'](_0x585208[_0x3ade6b(0x1eb)]),process[_0x3ade6b(0x24d)]=Math['min'](_0x3c3547,0xff));logger[_0x3ade6b(0x2a5)](_0x585208[_0x3ade6b(0x2b8)]);const _0x119531=''+_0x585208[_0x3ade6b(0x1f4)](chalk[_0x3ade6b(0x206)](_0x585208[_0x3ade6b(0x1f1)]),_0x3d3d2d[_0x3ade6b(0x275)]),_0x3ac831=''+_0x585208[_0x3ade6b(0x1f4)](chalk['bold'](_0x585208[_0x3ade6b(0x1d0)]),_0x57d295),_0x5bdbee=''+_0x585208[_0x3ade6b(0x2a2)](_0x585208[_0x3ade6b(0x1d5)](_0x585208[_0x3ade6b(0x2a2)](chalk[_0x3ade6b(0x206)](_0x585208[_0x3ade6b(0x232)]),_0x585208[_0x3ade6b(0x1f8)](_0x3c3547,0x0)?chalk[_0x3ade6b(0x206)][_0x3ade6b(0x2d3)](_0x3c3547+'\x20failed')+',\x20':''),_0x585208[_0x3ade6b(0x27a)](_0x2f2f5e,0x0)?chalk['bold']['yellow'](_0x2f2f5e+_0x3ade6b(0x1e6))+',\x20':''),_0x585208[_0x3ade6b(0x1f8)](_0x47355e,0x0)?chalk['bold'][_0x3ade6b(0x221)](_0x47355e+_0x3ade6b(0x1d1))+',\x20':'')+_0x5f2d62+_0x3ade6b(0x231);console[_0x3ade6b(0x22c)](_0x585208[_0x3ade6b(0x2c4)](_0x585208[_0x3ade6b(0x297)](_0x585208[_0x3ade6b(0x2c4)](_0x585208[_0x3ade6b(0x2a2)](_0x585208[_0x3ade6b(0x1f4)](_0x585208[_0x3ade6b(0x21b)],_0x119531),'\x0a'),_0x3ac831),'\x0a'),_0x5bdbee));if(_0x585208[_0x3ade6b(0x1d9)](_0x37b122,_0x585208[_0x3ade6b(0x1cf)])){const _0x15e9da={},_0x373f9b={};_0x373f9b[_0x3ade6b(0x246)]=_0x57d295,_0x373f9b[_0x3ade6b(0x27e)]=_0x3d3d2d,_0x373f9b[_0x3ade6b(0x1ce)]=_0x3c3547,_0x373f9b[_0x3ade6b(0x230)]=_0x47355e,_0x373f9b[_0x3ade6b(0x257)]=_0x2f2f5e,_0x15e9da['stats']=_0x373f9b,_0x3d3d2d[_0x3ade6b(0x24b)](_0x5372cd=>{const _0x29b926=_0x3ade6b;_0x15e9da[_0x5372cd]={'pending':[],'failures':[],'passes':[],'tests':_0x2e4e20[_0x5372cd][_0x585208[_0x29b926(0x1f2)]][_0x29b926(0x2d2)](clean)},_0x2e4e20[_0x5372cd][_0x585208[_0x29b926(0x1f2)]][_0x29b926(0x24b)](_0x560340=>{const _0x4b484b=_0x29b926;if(_0x585208['xEXaF'](_0x560340[_0x4b484b(0x218)],_0x585208[_0x4b484b(0x1e0)]))_0x15e9da[_0x5372cd][_0x585208[_0x4b484b(0x2cf)]][_0x4b484b(0x277)](_0x585208[_0x4b484b(0x259)](clean,_0x560340));else _0x585208[_0x4b484b(0x1d9)](_0x560340['state'],_0x585208['syHFW'])?_0x15e9da[_0x5372cd][_0x585208[_0x4b484b(0x236)]][_0x4b484b(0x277)](_0x585208[_0x4b484b(0x2ce)](clean,_0x560340)):_0x15e9da[_0x5372cd][_0x585208[_0x4b484b(0x217)]][_0x4b484b(0x277)](_0x585208[_0x4b484b(0x2d8)](clean,_0x560340));});});if(_0x2de5de['output'])try{logger[_0x3ade6b(0x2a5)](_0x585208[_0x3ade6b(0x249)],_0x2de5de[_0x3ade6b(0x28a)]),fs[_0x3ade6b(0x23e)](_0x2de5de['output'],JSON[_0x3ade6b(0x226)](_0x15e9da,null,0x3));}catch(_0x1f8778){logger[_0x3ade6b(0x289)](_0x585208['fpQIR'],_0x2de5de['output']),logger[_0x3ade6b(0x2a5)](_0x1f8778);}else logger[_0x3ade6b(0x2a5)](_0x585208['gWKKc']),console[_0x3ade6b(0x22c)](JSON[_0x3ade6b(0x226)](_0x15e9da,null,0x3));}else{if(_0x585208[_0x3ade6b(0x267)](_0x37b122,_0x585208[_0x3ade6b(0x25e)])){let _0x5af680;const _0x2b4818=_0x585208[_0x3ade6b(0x298)];_0x2de5de&&(_0x5af680=_0x2de5de['suiteName']);_0x5af680=_0x585208[_0x3ade6b(0x237)](_0x5af680,_0x2b4818);let _0x2a8a76=0x0,_0x492377=0x0,_0x3faace=0x0,_0x4aceba=0x0;_0x3d3d2d[_0x3ade6b(0x24b)](_0x14753e=>{const _0x55e6c5=_0x3ade6b,_0x43fe88={'VvQdD':function(_0x4c0148,_0x2f3fdc){const _0x3af2e8=a32_0x1468;return _0x585208[_0x3af2e8(0x201)](_0x4c0148,_0x2f3fdc);},'RMqxT':_0x585208['SSAjx'],'IigBU':function(_0x585067,_0x3805c5){const _0x1bf2ee=a32_0x1468;return _0x585208[_0x1bf2ee(0x1d9)](_0x585067,_0x3805c5);},'TPWwN':_0x585208['syHFW'],'egGuB':function(_0x188910,_0x3de9c){const _0x2fe748=a32_0x1468;return _0x585208[_0x2fe748(0x21f)](_0x188910,_0x3de9c);}};_0x2e4e20[_0x14753e][_0x585208['DjjJv']][_0x55e6c5(0x24b)](_0x1f2d61=>{const _0xed321b=_0x55e6c5;if(_0x43fe88['VvQdD'](_0x1f2d61[_0xed321b(0x218)],_0x43fe88[_0xed321b(0x26b)]))_0x2a8a76++;else _0x43fe88['IigBU'](_0x1f2d61['state'],_0x43fe88['TPWwN'])&&_0x492377++;_0x3faace++,_0x4aceba+=_0x43fe88[_0xed321b(0x23b)](_0x1f2d61['duration'],0x1);});}),_0x585208['yEYZH'](xunitWrite,_0x585208['MflfK'](tag,_0x585208[_0x3ade6b(0x203)],{'name':_0x5af680,'tests':_0x3faace,'failures':0x0,'errors':_0x492377,'skipped':_0x585208['JOExw'](_0x585208[_0x3ade6b(0x22f)](_0x3faace,_0x492377),_0x2a8a76),'timestamp':new Date()[_0x3ade6b(0x241)](),'time':_0x585208[_0x3ade6b(0x220)](_0x4aceba,0x3e8)||0x0},![])),_0x3d3d2d[_0x3ade6b(0x24b)](_0x1d374a=>{const _0x562c23=_0x3ade6b;_0x2e4e20[_0x1d374a][_0x585208[_0x562c23(0x1f2)]][_0x562c23(0x24b)](_0x561751=>{const _0xd3f3b=_0x562c23;_0x585208[_0xd3f3b(0x21a)](xunitTest,_0x561751,_0x1d374a);});}),_0x585208[_0x3ade6b(0x274)](xunitWrite,_0x585208['NufNk']);if(_0x2de5de['output'])try{logger[_0x3ade6b(0x2a5)](_0x585208[_0x3ade6b(0x253)],_0x2de5de[_0x3ade6b(0x28a)]),fs[_0x3ade6b(0x23e)](_0x2de5de['output'],xunitContent);}catch(_0x3b1011){logger[_0x3ade6b(0x289)](_0x585208[_0x3ade6b(0x28f)],_0x2de5de[_0x3ade6b(0x28a)]),logger[_0x3ade6b(0x2a5)](_0x3b1011);}else logger[_0x3ade6b(0x2a5)](_0x585208[_0x3ade6b(0x2c2)]),console[_0x3ade6b(0x22c)](xunitContent);}else{if(_0x585208[_0x3ade6b(0x1f9)](_0x3c3547,0x0))return;console['log'](),logger[_0x3ade6b(0x2a5)](_0x585208[_0x3ade6b(0x26c)]),console[_0x3ade6b(0x22c)](chalk['bold'][_0x3ade6b(0x219)](_0x585208[_0x3ade6b(0x296)])),_0x3d3d2d[_0x3ade6b(0x24b)](_0x3e7f7e=>{const _0x330d73=_0x3ade6b,_0x248d62={'ljGAK':function(_0xfc10d5,_0xe6add8){const _0xb15ad9=a32_0x1468;return _0x585208[_0xb15ad9(0x201)](_0xfc10d5,_0xe6add8);},'tpdTT':_0x585208['syHFW']},_0x5e3f30=[];_0x2e4e20[_0x3e7f7e][_0x585208[_0x330d73(0x1f2)]][_0x330d73(0x24b)](_0x39d49e=>{const _0x5b696f=_0x330d73;_0x248d62[_0x5b696f(0x1e3)](_0x39d49e[_0x5b696f(0x218)],_0x248d62[_0x5b696f(0x235)])&&(_0x39d49e[_0x5b696f(0x2c0)]=()=>_0x39d49e[_0x5b696f(0x2c7)],_0x5e3f30['push'](_0x39d49e));}),_0x585208[_0x330d73(0x1f8)](_0x5e3f30[_0x330d73(0x275)],0x0)&&(Base[_0x330d73(0x1d7)](),Base[_0x330d73(0x1d7)](_0x585208[_0x330d73(0x2ae)](_0xb05b30),chalk['bold']['bgBlueBright'](_0x3e7f7e)),Base[_0x330d73(0x211)](_0x5e3f30));});}}}async function run(_0x34de03,_0xcf465c,_0x4804cb){const _0x245d77=a32_0x4ea79d,_0x167426={'FRBZj':function(_0x262e5a,_0x17e0db,_0x32cb43,_0x26ba10){return _0x262e5a(_0x17e0db,_0x32cb43,_0x26ba10);},'PdhjN':_0x245d77(0x1e7),'ATqbQ':_0x245d77(0x258),'bAFuT':_0x245d77(0x1e8),'yTSnI':'mocha','YlyvV':function(_0x14350c,_0x3df881){return _0x14350c!=_0x3df881;},'RVqxq':_0x245d77(0x22e),'kXKhF':_0x245d77(0x20c),'VbTAI':_0x245d77(0x281),'RVquW':_0x245d77(0x25f),'BQlbI':function(_0x3f584f,_0x269b11){return _0x3f584f(_0x269b11);},'nWcbo':function(_0x4e9dd5,_0x2deb0a,_0x42934e){return _0x4e9dd5(_0x2deb0a,_0x42934e);},'hjxCI':'files','PmNKh':function(_0x96bf9f,_0x51a6b5){return _0x96bf9f!=_0x51a6b5;},'oRUHm':_0x245d77(0x2af),'jHoqO':_0x245d77(0x254),'JxFDt':_0x245d77(0x290),'wltoE':'Running\x20your\x20mocha\x20tests','YYmBu':'Now,\x20showing\x20logs\x20from\x20mocha','TXJsT':function(_0x495fc9,_0x789abe,_0x371203,_0x46e7d6){return _0x495fc9(_0x789abe,_0x371203,_0x46e7d6);},'tzwbS':function(_0x18747a,_0x2fa562){return _0x18747a*_0x2fa562;},'dxQfV':function(_0x4aee77,_0x256e62){return _0x4aee77(_0x256e62);},'CiJAm':function(_0x3ec1d1,_0x58dde0){return _0x3ec1d1!==_0x58dde0;}};helper[_0x245d77(0x1d2)](_0x4804cb[_0x245d77(0x24e)],_0x34de03),await _0x4804cb[_0x245d77(0x2d0)](_0x34de03);helper[_0x245d77(0x1da)]()?await helper['handleApp'](_0x4804cb[_0x245d77(0x27f)]):await _0x4804cb[_0x245d77(0x23c)]();const _0x1e74d9=[];let _0xf72f3c=[];if(!_0x4804cb[_0x245d77(0x27f)])return;!helper[_0x245d77(0x268)](_0x4804cb[_0x245d77(0x27f)]['accessibilityOptions'])&&(process['env'][_0x245d77(0x28c)]=JSON[_0x245d77(0x226)](_0x4804cb[_0x245d77(0x27f)][_0x245d77(0x2d6)]));const _0x2a4b7d=await TestHubHandler['launchBuild'](FRAMEWORKS['MOCHA'],_0x4804cb);_0x167426[_0x245d77(0x286)](_0x4804cb['config'][_0x245d77(0x228)],null)&&(process[_0x245d77(0x27c)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4804cb[_0x245d77(0x27f)]['testObservability']);!helper[_0x245d77(0x268)](_0x4804cb[_0x245d77(0x27f)]['accessibility'])&&(process[_0x245d77(0x27c)][_0x245d77(0x2bf)]=_0x4804cb[_0x245d77(0x27f)][_0x245d77(0x21d)]);const {extension:extension=['js',_0x167426[_0x245d77(0x1d3)],_0x167426['kXKhF']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x167426[_0x245d77(0x252)]]}=_0x34de03,_0x481eca={..._0x34de03};_0x481eca[_0x245d77(0x27d)]=null;const _0x4f8785=_0x481eca;let _0x585111;if(testOpsHelper[_0x245d77(0x21c)]()&&testOpsHelper[_0x245d77(0x256)]()){let _0x2c89ad=process[_0x245d77(0x27c)]['BROWSERSTACK_RERUN_TESTS'];!helper['isUndefined'](_0x4804cb['cliConfig'])&&_0x4804cb[_0x245d77(0x2d7)][_0x245d77(0x2bb)](_0x167426[_0x245d77(0x1de)])&&(_0x2c89ad=_0x4804cb[_0x245d77(0x2d7)][_0x245d77(0x234)](_0x167426[_0x245d77(0x1de)])),_0x585111=testOpsHelper[_0x245d77(0x1ff)](_0x2c89ad);}if(helper[_0x245d77(0x268)](_0x585111)){const _0x3faec2={};_0x3faec2[_0x245d77(0x2a0)]=ignore,_0x3faec2[_0x245d77(0x23a)]=extension,_0x3faec2[_0x245d77(0x1f3)]=file,_0x3faec2[_0x245d77(0x264)]=recursive,_0x3faec2[_0x245d77(0x27b)]=sort,_0x3faec2[_0x245d77(0x269)]=spec,_0x585111=_0x167426['BQlbI'](collectFiles,_0x3faec2),_0x167426[_0x245d77(0x28d)](nestedKeyValue,_0x585111,[_0x167426[_0x245d77(0x1f5)]])&&(_0x585111=_0x585111[_0x245d77(0x2be)]);}const _0x22c8c4=helper[_0x245d77(0x29f)](_0x4804cb['config']);!helper[_0x245d77(0x2b0)](_0x22c8c4)&&helper[_0x245d77(0x288)](_0x22c8c4[_0x245d77(0x2bc)])&&(_0x4f8785[_0x245d77(0x23f)]=_0x22c8c4[_0x245d77(0x2bc)]['maxRetries']);if(!helper[_0x245d77(0x1da)]()){const _0x30f5c8=0x1,_0x57e14a={..._0x4f8785};_0x57e14a['spec']=[..._0x585111],_0x1e74d9[_0x245d77(0x277)]({'mochaOpts':_0x57e14a,'configuration':{'platform':os['platform']()}});if(_0x4804cb[_0x245d77(0x27f)][_0x245d77(0x21d)]){const _0x4b8168={};_0x4b8168['accessibility']=!![];const _0x30a3b5=_0x4b8168;_0x167426[_0x245d77(0x293)](_0x4804cb[_0x245d77(0x27f)][_0x245d77(0x2d6)],null)&&(_0x30a3b5[_0x245d77(0x2d6)]=_0x4804cb['config'][_0x245d77(0x2d6)],delete _0x30a3b5['accessibilityOptions'][_0x167426[_0x245d77(0x1ec)]],delete _0x30a3b5[_0x245d77(0x2d6)][_0x167426[_0x245d77(0x2b9)]],delete _0x30a3b5[_0x245d77(0x2d6)][_0x167426[_0x245d77(0x25a)]]);const _0x3aa35e={};_0x3aa35e[_0x245d77(0x280)]=_0x30a3b5,_0x1e74d9[0x0][_0x245d77(0x2ac)]['capability']=_0x3aa35e;}logger[_0x245d77(0x223)](_0x167426[_0x245d77(0x227)]),logger[_0x245d77(0x223)](_0x167426[_0x245d77(0x255)]),_0x167426[_0x245d77(0x2a8)](parallelTestRun,_0x1e74d9,_0x30f5c8,_0x4804cb)['then'](_0x68dd33=>{const _0x4d7f7a=_0x245d77;PerformanceTester[_0x4d7f7a(0x2b2)](PerformanceEvents[_0x4d7f7a(0x2c9)]),_0x167426[_0x4d7f7a(0x2d4)](printStats,_0x68dd33,_0x34de03[_0x4d7f7a(0x202)],_0x34de03[_0x4d7f7a(0x1fe)]||_0x34de03[_0x167426['PdhjN']]);})[_0x245d77(0x2ca)](()=>{const _0x3aedc8=_0x245d77;PerformanceTester[_0x3aedc8(0x2b2)](PerformanceEvents[_0x3aedc8(0x2c9)]);try{const {browserstackFolderPath:_0x5cd2fb,tcgConfigPath:_0x29bc90}=helper[_0x3aedc8(0x1d4)]();fs[_0x3aedc8(0x23d)](_0x29bc90),fs[_0x3aedc8(0x261)](_0x5cd2fb);}catch(_0x1b17c4){logger[_0x3aedc8(0x2a5)](_0x167426[_0x3aedc8(0x1ed)],_0x1b17c4);}try{utilities[_0x3aedc8(0x2aa)](_0x167426[_0x3aedc8(0x292)],{},_0x4804cb[_0x3aedc8(0x27f)],_0x4804cb['framework']);}catch(_0x293718){logger[_0x3aedc8(0x2a5)](_0x3aedc8(0x26a)+_0x293718['stack']);}try{helper['notifyUpdate']();}catch(_0xaaf034){logger['debug'](_0x3aedc8(0x2a4)+_0xaaf034);}testOpsHelper[_0x3aedc8(0x266)]();});}else{const _0x3313a5=helper[_0x245d77(0x2db)](_0x4804cb['config']);let _0x14118d=helper[_0x245d77(0x24f)](_0x4804cb[_0x245d77(0x27f)]);_0xf72f3c=helper[_0x245d77(0x278)](_0x4804cb[_0x245d77(0x27f)],_0x3313a5,constants[_0x245d77(0x283)][_0x245d77(0x210)]);helper[_0x245d77(0x2d5)]()['central_scanner']&&(_0x14118d=centralScannerConstants[_0x245d77(0x2a7)]);let _0x2f57ae;const _0x17837f=_0x4804cb[_0x245d77(0x27f)][_0x245d77(0x242)]||helper[_0x245d77(0x2a1)](_0x34de03,_0xcf465c,_0x4804cb[_0x245d77(0x27f)],constants['FRAMEWORKS']['MOCHA'])||0x1;helper[_0x245d77(0x205)](_0x4804cb[_0x245d77(0x27f)])?_0x2f57ae=_0x167426[_0x245d77(0x2b1)](_0x4804cb[_0x245d77(0x27f)][_0x245d77(0x27e)][_0x245d77(0x275)],_0x17837f):_0x2f57ae=_0x17837f;const _0x31e004=_0x167426['dxQfV'](getPercyOptions,_0x4804cb[_0x245d77(0x27f)]);if(_0x167426['CiJAm'](_0x4804cb[_0x245d77(0x27f)][_0x245d77(0x242)],0x1))_0x585111[_0x245d77(0x24b)](_0x2e02a6=>{const _0x53c775=[];_0xf72f3c['forEach']((_0x49f933,_0x2070a9)=>{const _0x24acd3=a32_0x1468,_0x2147ed={};_0x2147ed['spec']=[_0x2e02a6],_0x53c775[_0x24acd3(0x277)]({'mochaOpts':Object['assign']({},_0x4f8785,_0x2147ed),'configuration':{'server':_0x14118d,'capability':_0x49f933,'proxySettings':_0x4804cb[_0x24acd3(0x27f)]['proxySettings'],'platform':helper[_0x24acd3(0x1e4)](_0x49f933),'browserStackLogLevel':_0x4804cb[_0x24acd3(0x27f)][_0x24acd3(0x28b)],'platformIndex':_0x2070a9,'browserStackPercyOptions':_0x31e004,'platformCaps':Object[_0x24acd3(0x2bd)]({'index':_0x2070a9},_0x4804cb[_0x24acd3(0x27f)]['platforms'][_0x2070a9])}});}),_0x1e74d9['push'](..._0x53c775);});else{const _0x5ed3f0=[];_0xf72f3c[_0x245d77(0x24b)]((_0xf8e8b6,_0x503af7)=>{const _0x4a84f2=_0x245d77;let _0x52b849=Object[_0x4a84f2(0x2bd)]({},_0x4f8785);testOpsHelper[_0x4a84f2(0x21c)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x52b849={..._0x52b849,'spec':[..._0x585111]}),_0x5ed3f0['push']({'mochaOpts':_0x52b849,'configuration':{'server':_0x14118d,'capability':_0xf8e8b6,'proxySettings':_0x4804cb['config'][_0x4a84f2(0x263)],'platform':helper['getPlatformName'](_0xf8e8b6),'browserStackLogLevel':_0x4804cb[_0x4a84f2(0x27f)][_0x4a84f2(0x28b)],'platformIndex':_0x503af7,'browserStackPercyOptions':_0x31e004,'platformCaps':Object[_0x4a84f2(0x2bd)]({'index':_0x503af7},_0x4804cb[_0x4a84f2(0x27f)][_0x4a84f2(0x27e)][_0x503af7])}});}),_0x1e74d9[_0x245d77(0x277)](..._0x5ed3f0);}logger[_0x245d77(0x223)](_0x245d77(0x209)+_0x4804cb[_0x245d77(0x27f)]['platforms'][_0x245d77(0x275)]+_0x245d77(0x1d6)),logger[_0x245d77(0x223)](_0x167426[_0x245d77(0x255)]);let _0x3a3acc;_0x167426[_0x245d77(0x2a8)](parallelTestRun,_0x1e74d9,_0x2f57ae,_0x4804cb)[_0x245d77(0x262)](_0x2dc27a=>{const _0x5c86c2=_0x245d77;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x3a3acc=_0x2dc27a,_0x167426[_0x5c86c2(0x2d4)](printStats,_0x2dc27a,_0x34de03[_0x5c86c2(0x202)],_0x34de03[_0x5c86c2(0x1fe)]||_0x34de03[_0x167426['PdhjN']]);})[_0x245d77(0x2ca)](async()=>{const _0x58e4b9=_0x245d77;PerformanceTester[_0x58e4b9(0x2b2)](PerformanceEvents[_0x58e4b9(0x2c9)]),_0x4804cb[_0x58e4b9(0x265)]=helper[_0x58e4b9(0x2b5)](_0x3a3acc,_0x167426['yTSnI']),await utilities[_0x58e4b9(0x2c6)](_0x4804cb),testOpsHelper[_0x58e4b9(0x266)]();});}}function a32_0x1e43(){const _0x102a39=['mocha/lib/cli/collect-files.js','cjs','JOExw','testsPassed','\x20total','voKnb','HIWMC','get','tpdTT','SYfFy','cQcWN','Total\x20Suites:\x20','tRMEX','extension','egGuB','setupTCGAuth','unlinkSync','writeFileSync','retries','suite','toUTCString','parallelsPerPlatform','../../helpers/performance/constants','7876830obLaYk','vMEdS','testSuites','Writing\x20json\x20result\x20to\x20file','UnbYO','zOtXi','6wTSLBD','forEach','Total\x20Platforms:\x20','exitCode','framework','getHubUrl','91848SfnNhT','chalk','VbTAI','CJATD','excludeTagsInTestingScope','YYmBu','shouldReRunObservabilityTests','testsPending','error\x20removing\x20tcg\x20config\x20file','EsEBn','JxFDt','passed','../../helpers/central-scanner/constants','27hJArZe','rhAAB','rerunTests','../../helpers/test-observability/constants','rmdirSync','then','proxySettings','recursive','errorMessage','printBuildLink','oHeHu','isUndefined','spec','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','RMqxT','YMhhU','winstonLogger','fullTitle','keys','MMkFT','****\x20FAILURES\x20****','expected','XReks','dVSPU','length','czPQC','push','prepareCapabilities','49696LoTfWk','jZdUk','sort','env','rootHooks','platforms','config','bstack:options','test','stack','FRAMEWORKS','\x0a\x0a\x0a','XzeGH','YlyvV','failures','isNotUndefined','error','output','logLevel','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','nWcbo','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','ltXdi','includeEncodedExtension','UeSKp','bAFuT','PmNKh','hideDiff','gscTP','kKdln','DuqsY','JCwEM','parse','10128167UJOknW','prototype','VJYqq','../../helpers/utilities','../../helpers/testhub/testhubHandler','parseTestOrchestrationOptions','ignore','getUserWorkerCount','Tlohf','results','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','debug','ANiEU','BROWSERSTACK_GRR_US_HUB_URL','TXJsT','KZDmu','fireFunnelTestEvent','mocha','configuration','132SkFhaZ','KWhnB','includeTagsInTestingScope','isEmpty','tzwbS','start','add','2084095tATqzP','getErrorMessageFromResults','title','RRLLp','HyNdL','jHoqO','55617540ismGRR','has','retryTestsOnFailure','assign','files','BROWSERSTACK_TEST_ACCESSIBILITY_YML','titlePath','../utils/clientTroubleshootingService','cVJCB','getOwnPropertyNames','oynSr','err','finalExecution','titlePathV','Couldn\x27t\x20write\x20json\x20result\x20to','SDK_CLEANUP','finally','UuDbM','failure','Setting\x20non\x20exit\x20code\x20for\x20failures','DmqKR','VARwJ','initialize','../test-runner','map','red','FRBZj','getCentralUser','accessibilityOptions','cliConfig','yKZje','vHirM','join','useW3C','testsFailed','Lwnpc','bJkIs','\x20passed','setUserConfigPath','RVqxq','getTCGConfigFilePaths','NZjps','\x20platforms','consoleLog','TOGzH','GJUkI','isBrowserstackInfra','../../helpers/test-observability/utils','oPAuT','testcase','RVquW','json','SSAjx','Couldn\x27t\x20write\x20xunit\x20result\x20to','currentRetry','ljGAK','getPlatformName','doc','\x20skipped','reporter-option','SDKTestSuccessful','skipped','2919376vcstEg','snXeH','oRUHm','ATqbQ','iDivh','pVqRr','EVENTS','dKLDD','DjjJv','file','XTVhQ','hjxCI','Printing\x20stats\x20of\x20tests','KFXEB','scMUZ','VXwkg','duration','</testsuite>','../../helpers/helper','RscHW','reporterOptions','parseFileNames','16zLTTYY','xEXaF','reporter','zMCfp','message','validPlatformsPresent','bold','useColors','../../helpers/performance/performance-tester','Running\x20your\x20mocha\x20tests\x20across\x20','object','../utils/constants','mjs','XnbVU','Listing\x20all\x20the\x20failures','Writing\x20xunit\x20result\x20to\x20file','MOCHA','list','indexOf','DrVFq','BnuXC','testsuite','jODWN','JpgIh','state','bgRedBright','YfdAp','hLQcs','isTestObservabilitySession','accessibility','size','taEll','tCckn','green','RQFbK','info','qCRck','xunit','stringify','wltoE','testObservability','failed','tPlYw','actual','log'];a32_0x1e43=function(){return _0x102a39;};return a32_0x1e43();}module['exports']=run;
@@ -1 +1 @@
1
- const a33_0x4b0af5=a33_0x3376;(function(_0x19dc6e,_0x557cd5){const _0x52c9cf=a33_0x3376,_0xe1a833=_0x19dc6e();while(!![]){try{const _0x2adc22=parseInt(_0x52c9cf(0x11f))/0x1+-parseInt(_0x52c9cf(0x15a))/0x2+-parseInt(_0x52c9cf(0x135))/0x3+-parseInt(_0x52c9cf(0xe8))/0x4+parseInt(_0x52c9cf(0xf7))/0x5+-parseInt(_0x52c9cf(0x136))/0x6*(-parseInt(_0x52c9cf(0xf3))/0x7)+-parseInt(_0x52c9cf(0x14a))/0x8;if(_0x2adc22===_0x557cd5)break;else _0xe1a833['push'](_0xe1a833['shift']());}catch(_0xdcd205){_0xe1a833['push'](_0xe1a833['shift']());}}}(a33_0x3bd9,0x8106e));const logger=require(a33_0x4b0af5(0x140))[a33_0x4b0af5(0xf0)],helper=require('../../../helpers/helper'),constants=require(a33_0x4b0af5(0x13b)),hubAllocator=require(a33_0x4b0af5(0x13e)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x4b0af5(0x141)),{setAccessibilityCapabilities,setExtension}=require(a33_0x4b0af5(0xed)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x4b0af5(0xfb)),{overrideExecute}=require(a33_0x4b0af5(0x116)),modify=(_0x34bc81,_0x498735=null,_0x237cbd=![])=>{const _0x5a854f=a33_0x4b0af5,_0x29636d={'mAlrn':function(_0x343d90,_0x4d6c7c){return _0x343d90!==_0x4d6c7c;},'GtmuM':_0x5a854f(0xf2),'nKtIl':function(_0x75a93b,_0x3f871b){return _0x75a93b+_0x3f871b;},'JQWPt':function(_0x29b7fa,_0x128cab){return _0x29b7fa+_0x128cab;},'oDcaf':_0x5a854f(0x12c),'RiiIG':_0x5a854f(0x114),'iBGKX':_0x5a854f(0x139),'bvOwV':'chromeOptions','EiHqu':_0x5a854f(0x119),'zONLP':_0x5a854f(0x156),'BEcGH':_0x5a854f(0x14d),'yBNTI':'firefoxOptions','xKBnU':_0x5a854f(0x127),'GuAUh':_0x5a854f(0x148),'KGpvi':_0x5a854f(0xe4),'YwNyA':function(_0x1819e9,_0xe1a768){return _0x1819e9===_0xe1a768;},'ZjMqR':_0x5a854f(0x15d),'GKrap':_0x5a854f(0xfc),'EJbWc':function(_0x5a8097,_0x5c186b,_0x24f83e){return _0x5a8097(_0x5c186b,_0x24f83e);},'EKQAv':function(_0x4baebc,_0x4ee387,_0x399d55){return _0x4baebc(_0x4ee387,_0x399d55);},'DjAJu':function(_0xb385da,_0x4f8dcc){return _0xb385da(_0x4f8dcc);},'dGvTM':function(_0x3509a9,_0x5418bc,_0x32a44e){return _0x3509a9(_0x5418bc,_0x32a44e);},'rCKwu':_0x5a854f(0x128),'cWaHH':_0x5a854f(0x157),'FKUvT':function(_0x53c467,_0x5de404,_0x597c5d){return _0x53c467(_0x5de404,_0x597c5d);},'dQurm':'4|3|5|0|1|2','dDhkr':'isAccessibilityPlatform','DePJG':_0x5a854f(0xef),'hMllV':function(_0x250fea){return _0x250fea();},'NZAlH':function(_0xf58dca,_0x37db29){return _0xf58dca(_0x37db29);},'pSrfA':function(_0x4520c7,_0x12e72f){return _0x4520c7!==_0x12e72f;},'lWrJV':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','GuTHL':_0x5a854f(0x14b)},_0x3cda6f=helper[_0x5a854f(0x122)]();let _0xdfa79e;try{_0xdfa79e=helper[_0x5a854f(0x118)](),_0xdfa79e[_0x5a854f(0xfd)]&&(_0xdfa79e[_0x5a854f(0xfe)]=_0xdfa79e[_0x5a854f(0xfd)]);}catch(_0x4c75a8){return;}if(helper[_0x5a854f(0xf8)]()){const _0x227a10={};_0x227a10[_0x5a854f(0x145)]=_0x34bc81['browserStackLogLevel'],helper[_0x5a854f(0x13a)](_0x227a10,new Map(),new Map()),logger[_0x5a854f(0x11c)](_0x29636d[_0x5a854f(0x134)]),logger[_0x5a854f(0xf1)](_0x29636d[_0x5a854f(0x123)]);}class _0x7c020b extends _0x3cda6f['HttpClient']{['send'](_0x4bdf38){const _0x5dcade=_0x5a854f;if(_0x29636d['mAlrn'](_0x4bdf38['path'],_0x29636d[_0x5dcade(0x120)])&&_0x29636d[_0x5dcade(0x15e)](global[_0x5dcade(0xf6)],''))try{global[_0x5dcade(0xf6)]=_0x29636d[_0x5dcade(0x10b)](_0x29636d[_0x5dcade(0x112)](_0x29636d['oDcaf'],global[_0x5dcade(0xf6)]),_0x29636d[_0x5dcade(0x143)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x5dcade(0xf6)]),logger[_0x5dcade(0xf1)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global['newHubUrl']='';}catch(_0x5214fc){logger[_0x5dcade(0x12b)](_0x5214fc);}return super[_0x5dcade(0x10d)](_0x4bdf38);}}class _0x216535 extends _0xdfa79e[_0x5a854f(0xfe)]{['setServer'](){const _0xafb725=_0x5a854f;return this[_0xafb725(0xea)]=helper['getHubUrl'](_0x34bc81),logger[_0xafb725(0xf1)](_0xafb725(0x13d)+this[_0xafb725(0xea)]),this;}[_0x5a854f(0x10e)](_0x1ab68e){const _0x3d4c16=_0x5a854f;let _0x34dfd3={};for(const _0x3d4472 in _0x1ab68e){switch(_0x3d4472){case _0x29636d[_0x3d4c16(0x11a)]:case _0x29636d[_0x3d4c16(0x15b)]:this['chromeOptions_']&&(_0x34dfd3=this['chromeOptions_'][_0x3d4c16(0xe6)](this[_0x3d4c16(0x130)][_0x3d4c16(0xfa)])||{},this['chromeOptions_']['set'](this[_0x3d4c16(0x130)][_0x3d4c16(0xfa)],helper[_0x3d4c16(0x138)](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;case _0x29636d[_0x3d4c16(0x124)]:case _0x29636d[_0x3d4c16(0x108)]:this[_0x3d4c16(0x10c)]&&(_0x34dfd3=this[_0x3d4c16(0x10c)][_0x3d4c16(0xe6)](this[_0x3d4c16(0x10c)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0x3d4c16(0x109)](this[_0x3d4c16(0x10c)][_0x3d4c16(0xfa)],helper[_0x3d4c16(0x138)](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;case _0x29636d[_0x3d4c16(0x100)]:case _0x29636d['yBNTI']:this[_0x3d4c16(0x14f)]&&(_0x34dfd3=this[_0x3d4c16(0x14f)]['get'](this['firefoxOptions_'][_0x3d4c16(0xfa)])||{},this[_0x3d4c16(0x14f)][_0x3d4c16(0x109)](this['firefoxOptions_'][_0x3d4c16(0xfa)],helper['mergeDeep'](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;case _0x29636d[_0x3d4c16(0x147)]:this[_0x3d4c16(0x113)]&&(_0x34dfd3=this[_0x3d4c16(0x113)][_0x3d4c16(0xe6)](this[_0x3d4c16(0x113)][_0x3d4c16(0xfa)])||{},this[_0x3d4c16(0x113)][_0x3d4c16(0x109)](this[_0x3d4c16(0x113)][_0x3d4c16(0xfa)],helper[_0x3d4c16(0x138)](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;case _0x29636d[_0x3d4c16(0x142)]:case _0x29636d[_0x3d4c16(0x106)]:this[_0x3d4c16(0x103)]&&(_0x34dfd3=this[_0x3d4c16(0x103)][_0x3d4c16(0xe6)](this[_0x3d4c16(0x103)][_0x3d4c16(0xfa)])||{},this[_0x3d4c16(0x103)][_0x3d4c16(0x109)](this['ieOptions_'][_0x3d4c16(0xfa)],helper[_0x3d4c16(0x138)](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;}}}['setCapabilities'](){const _0x30c795=_0x5a854f,_0x41a807={'pSPuA':function(_0x177c5b,_0x599ccb){const _0x48cc59=a33_0x3376;return _0x29636d[_0x48cc59(0x131)](_0x177c5b,_0x599ccb);},'FiURz':_0x29636d[_0x30c795(0xeb)]};return logger[_0x30c795(0xf1)](_0x29636d[_0x30c795(0x159)]),this[_0x30c795(0x10e)](_0x34bc81['capability']),Object[_0x30c795(0x115)](_0x34bc81[_0x30c795(0x102)])[_0x30c795(0x14c)](_0x60afd0=>{const _0x20348e=_0x30c795,_0xa0c2d6=this['capabilities_'][_0x20348e(0xe6)](_0x60afd0);_0x41a807['pSPuA'](typeof _0xa0c2d6,_0x41a807[_0x20348e(0xf4)])?this['capabilities_'][_0x20348e(0x109)](_0x60afd0,helper['mergeDeep'](_0xa0c2d6,_0x34bc81[_0x20348e(0x102)][_0x60afd0])):this['capabilities_'][_0x20348e(0x109)](_0x60afd0,_0x34bc81[_0x20348e(0x102)][_0x60afd0]);}),this;}['build'](){const _0x30026d=_0x5a854f,_0x143276={'LIupw':_0x29636d[_0x30026d(0x153)],'yCbJa':_0x29636d[_0x30026d(0x137)],'YOPux':function(_0x2d303b,_0x10b631,_0x547a00){return _0x29636d['FKUvT'](_0x2d303b,_0x10b631,_0x547a00);}};if(helper[_0x30026d(0xf8)]()){const _0x582eb7=_0x29636d[_0x30026d(0x11e)][_0x30026d(0x149)]('|');let _0x7bc404=0x0;while(!![]){switch(_0x582eb7[_0x7bc404++]){case'0':if(helper[_0x30026d(0x11d)](_0x34bc81[_0x30026d(0x12d)][_0x30026d(0x11b)]))this[_0x30026d(0x101)]=helper[_0x30026d(0x15c)](_0x34bc81[_0x30026d(0x12d)][_0x30026d(0x11b)]);else _0x34bc81[_0x30026d(0x12d)][_0x30026d(0x11b)]&&(this[_0x30026d(0x110)]=_0x34bc81[_0x30026d(0x12d)][_0x30026d(0x11b)],logger[_0x30026d(0xf1)](_0x30026d(0x14e)+this['proxy_']));continue;case'1':globals['getGlobal'](_0x29636d[_0x30026d(0x151)])&&(!_0x29636d['EKQAv'](setExtension,this,_0x34bc81)&&globals[_0x30026d(0x144)](_0x29636d['dDhkr'],![]));continue;case'2':logger['debug'](_0x29636d['DePJG']);continue;case'3':this[_0x30026d(0x146)]();continue;case'4':_0x29636d[_0x30026d(0x117)](isAccessibilityAutomationSession)&&_0x29636d['DjAJu'](setAccessibilityCapabilities,_0x34bc81);continue;case'5':this[_0x30026d(0x126)]();continue;}break;}}const _0x1aa450=super[_0x30026d(0x12e)]();return _0x1aa450[_0x30026d(0x13f)]['then'](_0x57cd6b=>{const _0x4909d7=_0x30026d;try{const _0xd9eb8f=_0x57cd6b[_0x4909d7(0x158)][_0x4909d7(0xe6)](_0x143276[_0x4909d7(0x129)]);_0xd9eb8f?(logger[_0x4909d7(0xf1)](_0x4909d7(0x10f)+_0xd9eb8f),hubAllocator[_0x4909d7(0xec)](_0xd9eb8f),helper['storeOptimalHubUrl'](_0xd9eb8f)):logger[_0x4909d7(0xf1)](_0x143276[_0x4909d7(0xe7)]);}catch(_0x4efa42){logger[_0x4909d7(0xf1)](_0x4909d7(0x10a)+_0x4efa42);}}),_0x1aa450[_0x30026d(0x107)]=0x0,_0x1aa450['then']&&_0x1aa450['then'](_0x2cf3dd=>{const _0x2af696=_0x30026d,_0x3d2f73={'BFlpO':function(_0x15a6f1,_0x34e90b,_0x840063){const _0x5616d2=a33_0x3376;return _0x29636d[_0x5616d2(0xff)](_0x15a6f1,_0x34e90b,_0x840063);},'hOCyk':function(_0x1b915e,_0x37c25f,_0x290646){const _0x1fd676=a33_0x3376;return _0x29636d[_0x1fd676(0xff)](_0x1b915e,_0x37c25f,_0x290646);}};_0x29636d[_0x2af696(0xe5)](overrideQuit,_0x2cf3dd,_0x1aa450),_0x29636d[_0x2af696(0x150)](overrideTakeScreenshot,_0x2cf3dd),helper[_0x2af696(0x152)](_0x2cf3dd,_0x34bc81),_0x29636d[_0x2af696(0xff)](overrideExecute,_0x2cf3dd,_0x34bc81),_0x2cf3dd[_0x2af696(0x104)]=async()=>{const _0x1e6a1d=_0x2af696;return await _0x3d2f73[_0x1e6a1d(0x12f)](getAccessibilityResultsSummary,_0x2cf3dd,global);},_0x2cf3dd['getAccessibilityResults']=async()=>{const _0x4a8c7f=_0x2af696;return await _0x3d2f73[_0x4a8c7f(0x132)](getAccessibilityResults,_0x2cf3dd,global);};}),_0x1aa450[_0x30026d(0x104)]=async()=>{const _0x400f2d=_0x30026d;return await _0x143276[_0x400f2d(0xf9)](getAccessibilityResultsSummary,_0x1aa450,global);},_0x1aa450['getAccessibilityResults']=async()=>{const _0x3c057d=_0x30026d;return await _0x29636d[_0x3c057d(0xe9)](getAccessibilityResults,_0x1aa450,global);},_0x29636d[_0x30026d(0x150)](overrideTakeScreenshot,_0x1aa450),_0x29636d[_0x30026d(0xf5)](overrideQuit,_0x1aa450),helper[_0x30026d(0x152)](_0x1aa450,_0x34bc81),_0x29636d[_0x30026d(0xff)](overrideExecute,_0x1aa450,_0x34bc81),helper[_0x30026d(0x12a)](global[_0x30026d(0x121)])&&(global[_0x30026d(0x121)]=[]),helper[_0x30026d(0x12a)](global[_0x30026d(0xee)])&&(global[_0x30026d(0xee)]=[]),global[_0x30026d(0x121)][_0x30026d(0x13c)](_0x1aa450),global[_0x30026d(0x133)]=_0x1aa450,_0x29636d['mAlrn'](global[_0x30026d(0xee)],undefined)&&global[_0x30026d(0xee)][_0x30026d(0x13c)](_0x1aa450),_0x498735&&helper[_0x30026d(0x12a)](_0x498735['global'][_0x30026d(0x121)])&&(_0x498735[_0x30026d(0x155)][_0x30026d(0x121)]=[]),_0x498735&&_0x29636d[_0x30026d(0x105)](_0x498735['global']['__drivers'],undefined)&&(_0x498735[_0x30026d(0x155)][_0x30026d(0xee)][_0x30026d(0x13c)](_0x1aa450),_0x498735[_0x30026d(0x155)][_0x30026d(0x121)][_0x30026d(0x13c)](_0x1aa450)),_0x1aa450;}}return _0xdfa79e[_0x5a854f(0xfd)]=_0xdfa79e[_0x5a854f(0xfe)],_0xdfa79e[_0x5a854f(0xfe)]=_0x216535,_0x3cda6f[_0x5a854f(0x125)]=_0x7c020b,_0xdfa79e;};function a33_0x3376(_0x7581a6,_0x4cd63c){const _0x3bd9bd=a33_0x3bd9();return a33_0x3376=function(_0x33760f,_0x436f39){_0x33760f=_0x33760f-0xe4;let _0x4c9391=_0x3bd9bd[_0x33760f];return _0x4c9391;},a33_0x3376(_0x7581a6,_0x4cd63c);}function a33_0x3bd9(){const _0x48121e=['YOPux','CAPABILITY_KEY','../../../helpers/globals','Setting\x20Browserstack\x20capabilities','originalBuilder','Builder','EJbWc','BEcGH','agent_','capability','ieOptions_','getAccessibilityResultsSummary','pSrfA','KGpvi','quitCount_','zONLP','set','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','nKtIl','edgeOptions_','send','__setBrowserOptions','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','proxy_','exports','JQWPt','safariOptions_','/wd/hub','keys','./helpers/patchHelper','hMllV','requireSeleniumWebdriver','ms:edgeOptions','iBGKX','proxyUrl','info','isPacProxy','dQurm','769008WXDyHJ','GtmuM','__driversArray','requireHttpClient','GuTHL','EiHqu','HttpClient','setCapabilities','safari.options','optimalHubUrl','LIupw','isUndefined','error','https://','proxySettings','build','BFlpO','chromeOptions_','YwNyA','hOCyk','__driver','lWrJV','39942AAdqqE','1223544BLzQXw','cWaHH','mergeDeep','goog:chromeOptions','setLogLevel','../../../bin/utils/constants','push','Hub\x20url\x20set\x20to\x20','../../../hubAllocationMethods','session_','../../../helpers/logger','../../../helpers/patchHelpers','GuAUh','RiiIG','setGlobal','logLevel','setServer','xKBnU','se:ieOptions','split','4143224RLCemx','Modifying\x20webdriver\x20builder','forEach','moz:firefoxOptions','Proxy\x20set\x20to\x20','firefoxOptions_','DjAJu','dDhkr','overrideGet','rCKwu','browserstackAgentObservability','global','edgeOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','caps_','GKrap','1731206GeIkHG','bvOwV','getHttpAgent','object','mAlrn','ieOptions','EKQAv','get','yCbJa','1837344HFIQuF','dGvTM','url_','ZjMqR','updateHubUrl','../accessibility-automation/helper','__drivers','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','winstonLogger','debug','/session','35ADFzmN','FiURz','NZAlH','newHubUrl','2980110yiCodO','isBrowserstackInfra'];a33_0x3bd9=function(){return _0x48121e;};return a33_0x3bd9();}module[a33_0x4b0af5(0x111)][a33_0x4b0af5(0x154)]=modify;
1
+ const a33_0x4e2fad=a33_0x2399;(function(_0x376bb3,_0x2194fd){const _0x56dcae=a33_0x2399,_0x393cba=_0x376bb3();while(!![]){try{const _0x303270=parseInt(_0x56dcae(0xe2))/0x1*(parseInt(_0x56dcae(0xb3))/0x2)+-parseInt(_0x56dcae(0xd1))/0x3+parseInt(_0x56dcae(0xad))/0x4*(-parseInt(_0x56dcae(0xdf))/0x5)+parseInt(_0x56dcae(0x7e))/0x6+parseInt(_0x56dcae(0xd2))/0x7*(-parseInt(_0x56dcae(0xc6))/0x8)+parseInt(_0x56dcae(0xe1))/0x9*(parseInt(_0x56dcae(0xd8))/0xa)+-parseInt(_0x56dcae(0xbf))/0xb*(parseInt(_0x56dcae(0xba))/0xc);if(_0x303270===_0x2194fd)break;else _0x393cba['push'](_0x393cba['shift']());}catch(_0x24dc0b){_0x393cba['push'](_0x393cba['shift']());}}}(a33_0x57dc,0x72437));const logger=require(a33_0x4e2fad(0x83))[a33_0x4e2fad(0xea)],helper=require(a33_0x4e2fad(0xc2)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a33_0x4e2fad(0xcf)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x4e2fad(0xa5)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x4e2fad(0xa7)),globals=require(a33_0x4e2fad(0xe4)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x106d5e,_0xf6a357=null,_0x3ca339=![])=>{const _0x194214=a33_0x4e2fad,_0x80c4bd={'CfMcg':function(_0x455422,_0x4fe86c){return _0x455422!==_0x4fe86c;},'nZBbU':_0x194214(0x8b),'YcuUl':function(_0x673e51,_0x408d8f){return _0x673e51+_0x408d8f;},'eFJkB':_0x194214(0xf4),'Icjzg':_0x194214(0x93),'LDsQu':_0x194214(0xed),'plUzs':_0x194214(0xce),'CiDZo':_0x194214(0xf5),'yWBDx':'edgeOptions','mXrQU':_0x194214(0xee),'yYBkM':_0x194214(0x9d),'GTPaY':_0x194214(0x85),'CJZKA':_0x194214(0xdd),'lutsd':'ieOptions','QgaTF':function(_0x4e9f1a,_0x5217be){return _0x4e9f1a===_0x5217be;},'AroLJ':_0x194214(0xc5),'MAmgB':_0x194214(0xb7),'zgFKd':_0x194214(0xb2),'aRiIq':_0x194214(0x8c),'vTNdr':function(_0x1ace02,_0xa7ca72,_0x1eaaae){return _0x1ace02(_0xa7ca72,_0x1eaaae);},'CsCFc':function(_0x45b571,_0x231a77,_0x4dcc5d){return _0x45b571(_0x231a77,_0x4dcc5d);},'vKPKe':function(_0x473d48,_0x2d16d2){return _0x473d48(_0x2d16d2);},'GnwTV':function(_0x4de841,_0x1bbc03,_0x4542f9){return _0x4de841(_0x1bbc03,_0x4542f9);},'Fxwvf':_0x194214(0xdc),'GlEhB':_0x194214(0xc4),'ZUAGQ':function(_0x4752f9){return _0x4752f9();},'apzes':_0x194214(0xd5),'XoHos':function(_0x4ccb6d,_0x171cde){return _0x4ccb6d(_0x171cde);},'MTNkd':function(_0x34cd5c,_0x32a6ac){return _0x34cd5c!==_0x32a6ac;},'goonz':function(_0x33cc07,_0x461289){return _0x33cc07!==_0x461289;},'MQBfC':_0x194214(0x8f),'UFnWc':'Modifying\x20webdriver\x20builder'},_0x3125c4=helper[_0x194214(0xef)]();let _0x25b8c9;try{_0x25b8c9=helper[_0x194214(0xc3)](),_0x25b8c9[_0x194214(0xd9)]&&(_0x25b8c9[_0x194214(0xda)]=_0x25b8c9[_0x194214(0xd9)]);}catch(_0x13b6b8){return;}if(helper[_0x194214(0xbe)]()){const _0x4ad29e={};_0x4ad29e['logLevel']=_0x106d5e[_0x194214(0xab)],helper[_0x194214(0xca)](_0x4ad29e,new Map(),new Map()),logger[_0x194214(0xc7)](_0x80c4bd[_0x194214(0xb6)]),logger[_0x194214(0x90)](_0x80c4bd['UFnWc']);}class _0x3e7754 extends _0x3125c4[_0x194214(0xa1)]{[_0x194214(0xb5)](_0x57917a){const _0xa8a599=_0x194214;if(_0x80c4bd['CfMcg'](_0x57917a[_0xa8a599(0x9f)],_0x80c4bd[_0xa8a599(0xcb)])&&_0x80c4bd['CfMcg'](global[_0xa8a599(0xd4)],''))try{global[_0xa8a599(0xd4)]=_0x80c4bd[_0xa8a599(0x7f)](_0x80c4bd[_0xa8a599(0x7f)](_0x80c4bd[_0xa8a599(0xc8)],global['newHubUrl']),_0x80c4bd[_0xa8a599(0x96)]),this[_0xa8a599(0xd6)]=hubAllocator[_0xa8a599(0xdb)](global[_0xa8a599(0xd4)]),logger[_0xa8a599(0x90)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0xa8a599(0xd4)]),global[_0xa8a599(0xd4)]='';}catch(_0x4e9b88){logger[_0xa8a599(0xb9)](_0x4e9b88);}return super[_0xa8a599(0xb5)](_0x57917a);}}class _0x4c6746 extends _0x25b8c9[_0x194214(0xda)]{['setServer'](){const _0x2f5229=_0x194214;return this['url_']=helper[_0x2f5229(0xb4)](_0x106d5e),logger['debug'](_0x2f5229(0xe6)+this[_0x2f5229(0xf0)]),this;}[_0x194214(0xb8)](_0x595867){const _0x295b49=_0x194214;let _0x1b836d={};for(const _0x37c626 in _0x595867){switch(_0x37c626){case _0x80c4bd[_0x295b49(0x8d)]:case _0x80c4bd['plUzs']:this[_0x295b49(0x87)]&&(_0x1b836d=this[_0x295b49(0x87)][_0x295b49(0xb0)](this[_0x295b49(0x87)][_0x295b49(0xde)])||{},this[_0x295b49(0x87)][_0x295b49(0xae)](this[_0x295b49(0x87)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x1b836d,_0x595867[_0x37c626])));break;case _0x80c4bd[_0x295b49(0x9b)]:case _0x80c4bd[_0x295b49(0xe8)]:this[_0x295b49(0xe5)]&&(_0x1b836d=this['edgeOptions_'][_0x295b49(0xb0)](this[_0x295b49(0xe5)][_0x295b49(0xde)])||{},this['edgeOptions_']['set'](this['edgeOptions_'][_0x295b49(0xde)],helper[_0x295b49(0xbb)](_0x1b836d,_0x595867[_0x37c626])));break;case _0x80c4bd[_0x295b49(0x99)]:case _0x80c4bd[_0x295b49(0xd7)]:this[_0x295b49(0xf1)]&&(_0x1b836d=this[_0x295b49(0xf1)]['get'](this[_0x295b49(0xf1)][_0x295b49(0xde)])||{},this[_0x295b49(0xf1)][_0x295b49(0xae)](this[_0x295b49(0xf1)][_0x295b49(0xde)],helper[_0x295b49(0xbb)](_0x1b836d,_0x595867[_0x37c626])));break;case _0x80c4bd['GTPaY']:this[_0x295b49(0x8a)]&&(_0x1b836d=this[_0x295b49(0x8a)][_0x295b49(0xb0)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x295b49(0x8a)]['set'](this['safariOptions_'][_0x295b49(0xde)],helper[_0x295b49(0xbb)](_0x1b836d,_0x595867[_0x37c626])));break;case _0x80c4bd[_0x295b49(0xaa)]:case _0x80c4bd[_0x295b49(0xc0)]:this[_0x295b49(0xec)]&&(_0x1b836d=this[_0x295b49(0xec)]['get'](this['ieOptions_'][_0x295b49(0xde)])||{},this[_0x295b49(0xec)]['set'](this[_0x295b49(0xec)][_0x295b49(0xde)],helper['mergeDeep'](_0x1b836d,_0x595867[_0x37c626])));break;}}}[_0x194214(0xe7)](){const _0x539f6e=_0x194214;return logger[_0x539f6e(0x90)](_0x80c4bd[_0x539f6e(0x89)]),this['__setBrowserOptions'](_0x106d5e[_0x539f6e(0xc1)]),Object[_0x539f6e(0xa3)](_0x106d5e[_0x539f6e(0xc1)])[_0x539f6e(0x7c)](_0x167013=>{const _0x2bdef7=_0x539f6e,_0x31c20f=this[_0x2bdef7(0x81)][_0x2bdef7(0xb0)](_0x167013);_0x80c4bd[_0x2bdef7(0x82)](typeof _0x31c20f,_0x80c4bd[_0x2bdef7(0xc9)])?this[_0x2bdef7(0x81)]['set'](_0x167013,helper['mergeDeep'](_0x31c20f,_0x106d5e[_0x2bdef7(0xc1)][_0x167013])):this[_0x2bdef7(0x81)][_0x2bdef7(0xae)](_0x167013,_0x106d5e[_0x2bdef7(0xc1)][_0x167013]);}),this;}[_0x194214(0x7d)](){const _0x2c5407=_0x194214,_0x837673={'xvOfr':function(_0x4da9b8,_0x3c6915,_0x5513c8){const _0x51b15c=a33_0x2399;return _0x80c4bd[_0x51b15c(0x92)](_0x4da9b8,_0x3c6915,_0x5513c8);}};if(helper[_0x2c5407(0xbe)]()){const _0x2ff6d3=_0x80c4bd[_0x2c5407(0xcd)][_0x2c5407(0x8e)]('|');let _0x32fc80=0x0;while(!![]){switch(_0x2ff6d3[_0x32fc80++]){case'0':this['setServer']();continue;case'1':logger['debug'](_0x80c4bd[_0x2c5407(0x9e)]);continue;case'2':_0x80c4bd['ZUAGQ'](isAccessibilityAutomationSession)&&_0x80c4bd['vKPKe'](setAccessibilityCapabilities,_0x106d5e);continue;case'3':if(helper[_0x2c5407(0x9c)](_0x106d5e[_0x2c5407(0xa2)][_0x2c5407(0xa4)]))this[_0x2c5407(0x86)]=helper['getHttpAgent'](_0x106d5e[_0x2c5407(0xa2)][_0x2c5407(0xa4)]);else _0x106d5e[_0x2c5407(0xa2)]['proxyUrl']&&(this[_0x2c5407(0xf6)]=_0x106d5e[_0x2c5407(0xa2)][_0x2c5407(0xa4)],logger['debug'](_0x2c5407(0x84)+this['proxy_']));continue;case'4':this['setCapabilities']();continue;case'5':globals['getGlobal'](_0x80c4bd[_0x2c5407(0xe3)])&&(!_0x80c4bd[_0x2c5407(0x91)](setExtension,this,_0x106d5e)&&globals[_0x2c5407(0x95)](_0x80c4bd[_0x2c5407(0xe3)],![]));continue;}break;}}const _0x13fa6a=super[_0x2c5407(0x7d)]();return _0x13fa6a[_0x2c5407(0x94)][_0x2c5407(0x88)](_0x2d6e83=>{const _0x4cc920=_0x2c5407;try{const _0x415826=_0x2d6e83[_0x4cc920(0x98)][_0x4cc920(0xb0)](_0x80c4bd[_0x4cc920(0xa9)]);_0x415826?(logger[_0x4cc920(0x90)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x415826),hubAllocator[_0x4cc920(0xbd)](_0x415826),helper[_0x4cc920(0xa6)](_0x415826)):logger[_0x4cc920(0x90)](_0x80c4bd[_0x4cc920(0xa8)]);}catch(_0x1def6f){logger[_0x4cc920(0x90)](_0x4cc920(0x80)+_0x1def6f);}}),_0x13fa6a[_0x2c5407(0xac)]=0x0,_0x13fa6a[_0x2c5407(0x88)]&&_0x13fa6a['then'](_0x576ea8=>{const _0x2da3c4=_0x2c5407,_0x55109d={'supgd':function(_0x54b4c4,_0x3f474c,_0x3bfa83){const _0x3ff9e5=a33_0x2399;return _0x80c4bd[_0x3ff9e5(0xe9)](_0x54b4c4,_0x3f474c,_0x3bfa83);}};_0x80c4bd['CsCFc'](overrideQuit,_0x576ea8,_0x13fa6a),_0x80c4bd[_0x2da3c4(0xcc)](overrideTakeScreenshot,_0x576ea8),helper[_0x2da3c4(0xaf)](_0x576ea8,_0x106d5e),_0x80c4bd[_0x2da3c4(0x92)](overrideExecute,_0x576ea8,_0x106d5e),_0x576ea8[_0x2da3c4(0xf3)]=async()=>{const _0x4231e6=_0x2da3c4;return await _0x837673[_0x4231e6(0xe0)](getAccessibilityResultsSummary,_0x576ea8,global);},_0x576ea8[_0x2da3c4(0xbc)]=async()=>{return await _0x55109d['supgd'](getAccessibilityResults,_0x576ea8,global);};}),_0x13fa6a[_0x2c5407(0xf3)]=async()=>{const _0x241ba5=_0x2c5407;return await _0x80c4bd[_0x241ba5(0xe9)](getAccessibilityResultsSummary,_0x13fa6a,global);},_0x13fa6a[_0x2c5407(0xbc)]=async()=>{return await _0x80c4bd['GnwTV'](getAccessibilityResults,_0x13fa6a,global);},_0x80c4bd[_0x2c5407(0xcc)](overrideTakeScreenshot,_0x13fa6a),_0x80c4bd['XoHos'](overrideQuit,_0x13fa6a),helper[_0x2c5407(0xaf)](_0x13fa6a,_0x106d5e),_0x80c4bd[_0x2c5407(0x92)](overrideExecute,_0x13fa6a,_0x106d5e),helper[_0x2c5407(0xf2)](global[_0x2c5407(0xd3)])&&(global['__driversArray']=[]),helper[_0x2c5407(0xf2)](global['__drivers'])&&(global['__drivers']=[]),global['__driversArray'][_0x2c5407(0xd0)](_0x13fa6a),global[_0x2c5407(0x9a)]=_0x13fa6a,_0x80c4bd[_0x2c5407(0xeb)](global['__drivers'],undefined)&&global[_0x2c5407(0xa0)][_0x2c5407(0xd0)](_0x13fa6a),_0xf6a357&&helper['isUndefined'](_0xf6a357['global'][_0x2c5407(0xd3)])&&(_0xf6a357[_0x2c5407(0x97)][_0x2c5407(0xd3)]=[]),_0xf6a357&&_0x80c4bd['goonz'](_0xf6a357[_0x2c5407(0x97)][_0x2c5407(0xa0)],undefined)&&(_0xf6a357['global'][_0x2c5407(0xa0)][_0x2c5407(0xd0)](_0x13fa6a),_0xf6a357[_0x2c5407(0x97)]['__driversArray'][_0x2c5407(0xd0)](_0x13fa6a)),_0x13fa6a;}}return _0x25b8c9[_0x194214(0xd9)]=_0x25b8c9[_0x194214(0xda)],_0x25b8c9[_0x194214(0xda)]=_0x4c6746,_0x3125c4[_0x194214(0xa1)]=_0x3e7754,_0x25b8c9;};function a33_0x2399(_0x5b8449,_0x8a3095){const _0x57dcdb=a33_0x57dc();return a33_0x2399=function(_0x2399d8,_0x35a8c4){_0x2399d8=_0x2399d8-0x7c;let _0xa87d9f=_0x57dcdb[_0x2399d8];return _0xa87d9f;},a33_0x2399(_0x5b8449,_0x8a3095);}module[a33_0x4e2fad(0xb1)]['browserstackAgentObservability']=modify;function a33_0x57dc(){const _0x4b329b=['Hub\x20url\x20set\x20to\x20','setCapabilities','yWBDx','vTNdr','winstonLogger','MTNkd','ieOptions_','goog:chromeOptions','moz:firefoxOptions','requireHttpClient','url_','firefoxOptions_','isUndefined','getAccessibilityResultsSummary','https://','ms:edgeOptions','proxy_','forEach','build','4561110cucJlb','YcuUl','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','capabilities_','QgaTF','../../../helpers/logger','Proxy\x20set\x20to\x20','safari.options','agent_','chromeOptions_','then','MAmgB','safariOptions_','/session','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','LDsQu','split','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','debug','GnwTV','CsCFc','/wd/hub','session_','setGlobal','Icjzg','global','caps_','mXrQU','__driver','CiDZo','isPacProxy','firefoxOptions','GlEhB','path','__drivers','HttpClient','proxySettings','keys','proxyUrl','../../../helpers/patchHelpers','storeOptimalHubUrl','../../../helpers/accessibility-automation/helper','aRiIq','zgFKd','CJZKA','browserStackLogLevel','quitCount_','12cJLYCE','set','overrideGet','get','exports','optimalHubUrl','604RmkITt','getHubUrl','send','MQBfC','Setting\x20Browserstack\x20capabilities','__setBrowserOptions','error','475548xCETaB','mergeDeep','getAccessibilityResults','updateHubUrl','isBrowserstackInfra','231wgewIY','lutsd','capability','../../../helpers/helper','requireSeleniumWebdriver','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','object','637016iBqBXE','info','eFJkB','AroLJ','setLogLevel','nZBbU','vKPKe','Fxwvf','chromeOptions','../../../hubAllocationMethods','push','236976joIQFN','21YajhJv','__driversArray','newHubUrl','isAccessibilityPlatform','options_','yYBkM','10qIgHGy','originalBuilder','Builder','getRequestOptions','2|0|4|3|5|1','se:ieOptions','CAPABILITY_KEY','775755Uctuhx','xvOfr','3536199khmffb','3081rtTEJi','apzes','../../../helpers/globals','edgeOptions_'];a33_0x57dc=function(){return _0x4b329b;};return a33_0x57dc();}
@@ -1 +1 @@
1
- const a34_0x3ae314=a34_0x435c;function a34_0x55a6(){const _0x34e43d=['7foPKDL','1002081LTJmNV','timeout','restore','62007fCzfBn','1621718uimKWg','mochaHooks','ZgWYn','../../../helpers/test-observability/utils','36xqgAsx','3184209IuWfbQ','138265KiKSMO','../../../bin/utils/constants','4503240QTGNJU','120RAOygM','../../../helpers/request-spy','2255848madyQM','1HdBfLt'];a34_0x55a6=function(){return _0x34e43d;};return a34_0x55a6();}(function(_0x5e78c7,_0x16f508){const _0x26df78=a34_0x435c,_0x9a6ab8=_0x5e78c7();while(!![]){try{const _0x58b9ee=parseInt(_0x26df78(0xeb))/0x1*(parseInt(_0x26df78(0xf1))/0x2)+-parseInt(_0x26df78(0xed))/0x3+-parseInt(_0x26df78(0xf5))/0x4*(parseInt(_0x26df78(0xf7))/0x5)+parseInt(_0x26df78(0xf9))/0x6+parseInt(_0x26df78(0xec))/0x7*(-parseInt(_0x26df78(0xea))/0x8)+-parseInt(_0x26df78(0xf6))/0x9+parseInt(_0x26df78(0xe8))/0xa*(parseInt(_0x26df78(0xf0))/0xb);if(_0x58b9ee===_0x16f508)break;else _0x9a6ab8['push'](_0x9a6ab8['shift']());}catch(_0x3927de){_0x9a6ab8['push'](_0x9a6ab8['shift']());}}}(a34_0x55a6,0x642f5));const requestSpy=require(a34_0x3ae314(0xe9)),constants=require(a34_0x3ae314(0xf8)),{addRequestSpy}=require(a34_0x3ae314(0xf4));function a34_0x435c(_0x2722cc,_0x28b1b7){const _0x55a6ad=a34_0x55a6();return a34_0x435c=function(_0x435c3d,_0x4ab713){_0x435c3d=_0x435c3d-0xe8;let _0x57d2f0=_0x55a6ad[_0x435c3d];return _0x57d2f0;},a34_0x435c(_0x2722cc,_0x28b1b7);}exports[a34_0x3ae314(0xf2)]={'beforeAll'(){const _0x439549=a34_0x3ae314,_0x4702ec={'ZgWYn':function(_0x31b23b){return _0x31b23b();}},_0x29efbb='browserstack internal helper hook';_0x4702ec[_0x439549(0xf3)](addRequestSpy);},'afterAll'(){const _0x5cae69=a34_0x3ae314,_0xde63e='browserstack internal helper hook';this[_0x5cae69(0xee)](0xea60),requestSpy[_0x5cae69(0xef)]();}};
1
+ function a34_0x2368(_0x122cd7,_0x27585c){const _0x5a6aef=a34_0x5a6a();return a34_0x2368=function(_0x23684e,_0x1c8171){_0x23684e=_0x23684e-0x88;let _0x7f9e71=_0x5a6aef[_0x23684e];return _0x7f9e71;},a34_0x2368(_0x122cd7,_0x27585c);}const a34_0x423ae4=a34_0x2368;(function(_0x157bc1,_0x517078){const _0xa551f1=a34_0x2368,_0x302a80=_0x157bc1();while(!![]){try{const _0x399b83=parseInt(_0xa551f1(0x8c))/0x1*(-parseInt(_0xa551f1(0x95))/0x2)+-parseInt(_0xa551f1(0x92))/0x3*(parseInt(_0xa551f1(0x99))/0x4)+parseInt(_0xa551f1(0x96))/0x5+-parseInt(_0xa551f1(0x8b))/0x6*(parseInt(_0xa551f1(0x8d))/0x7)+-parseInt(_0xa551f1(0x9a))/0x8+-parseInt(_0xa551f1(0x8f))/0x9*(parseInt(_0xa551f1(0x8a))/0xa)+-parseInt(_0xa551f1(0x98))/0xb*(-parseInt(_0xa551f1(0x97))/0xc);if(_0x399b83===_0x517078)break;else _0x302a80['push'](_0x302a80['shift']());}catch(_0x4472b1){_0x302a80['push'](_0x302a80['shift']());}}}(a34_0x5a6a,0x6a556));function a34_0x5a6a(){const _0x467618=['3322kglTpg','9164UNsPDN','5470376HKLeaE','mochaHooks','../../../bin/utils/constants','10whjSWr','12uANhnN','107HGlVDt','2368961NdAdYw','restore','1116621HVwFEG','ccfrM','../../../helpers/request-spy','759oqfiTK','timeout','../../../helpers/test-observability/utils','2078ZmdSnp','2858220FMumsX','81036GUTjlu'];a34_0x5a6a=function(){return _0x467618;};return a34_0x5a6a();}const requestSpy=require(a34_0x423ae4(0x91)),constants=require(a34_0x423ae4(0x89)),{addRequestSpy}=require(a34_0x423ae4(0x94));exports[a34_0x423ae4(0x88)]={'beforeAll'(){const _0x18a3d4=a34_0x423ae4,_0x2a4283={'ccfrM':function(_0x1205e7){return _0x1205e7();}},_0x1bb041='browserstack internal helper hook';_0x2a4283[_0x18a3d4(0x90)](addRequestSpy);},'afterAll'(){const _0x488002=a34_0x423ae4,_0x16660a='browserstack internal helper hook';this[_0x488002(0x93)](0xea60),requestSpy[_0x488002(0x8e)]();}};
@@ -1 +1 @@
1
- const a35_0x5d4d0b=a35_0x1564;(function(_0x3138f2,_0x67e0f5){const _0x2c2a9f=a35_0x1564,_0xce5e28=_0x3138f2();while(!![]){try{const _0x51ea16=parseInt(_0x2c2a9f(0x1e7))/0x1*(parseInt(_0x2c2a9f(0x1d4))/0x2)+-parseInt(_0x2c2a9f(0x1b1))/0x3*(parseInt(_0x2c2a9f(0x1db))/0x4)+parseInt(_0x2c2a9f(0x1b7))/0x5*(-parseInt(_0x2c2a9f(0x1f2))/0x6)+-parseInt(_0x2c2a9f(0x1f0))/0x7*(-parseInt(_0x2c2a9f(0x1d5))/0x8)+parseInt(_0x2c2a9f(0x1f5))/0x9+parseInt(_0x2c2a9f(0x1e9))/0xa+-parseInt(_0x2c2a9f(0x1eb))/0xb*(parseInt(_0x2c2a9f(0x1e1))/0xc);if(_0x51ea16===_0x67e0f5)break;else _0xce5e28['push'](_0xce5e28['shift']());}catch(_0x53d26f){_0xce5e28['push'](_0xce5e28['shift']());}}}(a35_0x9441,0x974c3));const {v4:uuidv4}=require(a35_0x5d4d0b(0x1cf)),{name,version}=require(a35_0x5d4d0b(0x1f6)),logPatcher=require(a35_0x5d4d0b(0x1b3)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a35_0x5d4d0b(0x1e5)),{getPlatformVersion}=require(a35_0x5d4d0b(0x1c1)),{shouldProcessEventForTesthub}=require(a35_0x5d4d0b(0x1c8)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a35_0x5d4d0b(0x1da));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x22b453=a35_0x5d4d0b,_0x3d67e4={'LqvvB':'generic','IkTCK':function(_0x17264d){return _0x17264d();}};return{'ci':_0x3d67e4[_0x22b453(0x1bc)],'key':_0x3d67e4[_0x22b453(0x1e6)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x648092=>{const _0x5cb2cb=a35_0x5d4d0b,_0x3d436c={};_0x3d436c['DslyX']=function(_0x14569a,_0x15ad03){return _0x14569a!==_0x15ad03;},_0x3d436c['kjhwW']=_0x5cb2cb(0x1d0),_0x3d436c[_0x5cb2cb(0x1a3)]='hook:',_0x3d436c[_0x5cb2cb(0x1dc)]='hook';const _0x5c353b=_0x3d436c;if(!_0x648092||_0x5c353b[_0x5cb2cb(0x1b0)](typeof _0x648092,_0x5c353b[_0x5cb2cb(0x1ea)]))return[null,null];if(_0x5c353b[_0x5cb2cb(0x1b0)](_0x648092[_0x5cb2cb(0x1b2)](_0x5c353b['JXVAo']),-0x1)){const _0x31314e=_0x648092['split'](_0x5c353b[_0x5cb2cb(0x1a3)]);return[_0x31314e[0x0][_0x5cb2cb(0x1d2)](0x0,-0x1)[_0x5cb2cb(0x1a5)]('\x22')[0x1],_0x31314e[0x1][_0x5cb2cb(0x1a4)](0x1)];}else{if(_0x5c353b[_0x5cb2cb(0x1b0)](_0x648092[_0x5cb2cb(0x1b2)](_0x5c353b[_0x5cb2cb(0x1dc)]),-0x1)){const _0x10c547=_0x648092[_0x5cb2cb(0x1a5)](_0x5c353b[_0x5cb2cb(0x1dc)]);return[_0x10c547[0x0]['slice'](0x0,-0x1)[_0x5cb2cb(0x1a5)]('\x22')[0x1],_0x648092];}}return[null,null];},exports[a35_0x5d4d0b(0x1ac)]=_0x6a47d8=>{const _0x5132c9=a35_0x5d4d0b,_0x43d87c={'VPkKs':function(_0x33d1c8,_0x459a9b){return _0x33d1c8(_0x459a9b);},'OdzCM':_0x5132c9(0x1aa),'vdwBe':_0x5132c9(0x1ab),'hLNyb':_0x5132c9(0x1e2),'IxWqL':_0x5132c9(0x1a1)};if(!_0x6a47d8||!_0x6a47d8['parent'])return[];const _0x30fb31=[];return[_0x43d87c[_0x5132c9(0x1bf)],_0x43d87c['vdwBe'],_0x43d87c[_0x5132c9(0x1d9)],_0x43d87c['IxWqL']][_0x5132c9(0x1d6)](_0x2954c7=>{const _0x570bea=_0x5132c9,_0x2c74c2=_0x6a47d8[_0x570bea(0x1c2)][_0x2954c7]||[];_0x2c74c2[_0x570bea(0x1d6)](_0x216d5f=>{const _0x59f313=_0x570bea;_0x216d5f[_0x59f313(0x1c6)]&&!_0x43d87c['VPkKs'](isInternalHook,_0x216d5f['fn'])&&_0x30fb31[_0x59f313(0x1a7)](_0x216d5f[_0x59f313(0x1c6)]);});}),[..._0x30fb31,...exports[_0x5132c9(0x1ac)](_0x6a47d8[_0x5132c9(0x1c2)])];},exports[a35_0x5d4d0b(0x1d3)]=_0x250260=>{const _0x2d6565=a35_0x5d4d0b,_0x5ea7c6={'sOMmX':function(_0x52250c){return _0x52250c();},'rxMTd':function(_0x3ba2cc,_0x768b3d){return _0x3ba2cc===_0x768b3d;},'uLHeL':_0x2d6565(0x1a1),'ykakA':'_beforeAll','twqye':'_afterAll','aBDEd':_0x2d6565(0x1e2)};if(!_0x250260||!_0x250260[_0x2d6565(0x1c2)])return;[_0x5ea7c6['ykakA'],_0x5ea7c6['twqye'],_0x5ea7c6[_0x2d6565(0x1c4)],_0x5ea7c6['uLHeL']]['forEach'](_0x435fad=>{const _0x727ea4=_0x2d6565,_0x577704={'nGUnt':function(_0x4cacf7){const _0x150ff8=a35_0x1564;return _0x5ea7c6[_0x150ff8(0x1b9)](_0x4cacf7);},'mtEeR':function(_0x5dd7a4,_0x236f75){const _0x1c0b62=a35_0x1564;return _0x5ea7c6[_0x1c0b62(0x1f3)](_0x5dd7a4,_0x236f75);},'HXvpW':_0x5ea7c6[_0x727ea4(0x1bd)],'hMBgF':function(_0x2d7b2b){const _0x3ea925=_0x727ea4;return _0x5ea7c6[_0x3ea925(0x1b9)](_0x2d7b2b);}},_0x20ed2c=_0x250260[_0x727ea4(0x1c2)][_0x435fad]||[];_0x20ed2c[_0x727ea4(0x1d6)](_0x5e93ce=>{const _0x2f0ce1=_0x727ea4;if(!_0x5e93ce[_0x2f0ce1(0x1c6)])_0x5e93ce[_0x2f0ce1(0x1c6)]=_0x577704['nGUnt'](uuidv4);else _0x5e93ce[_0x2f0ce1(0x1e3)]&&_0x577704[_0x2f0ce1(0x1a6)](_0x435fad,_0x577704['HXvpW'])&&(_0x5e93ce[_0x2f0ce1(0x1c6)]=_0x577704['hMBgF'](uuidv4),delete _0x5e93ce['markedStatus']);});}),exports[_0x2d6565(0x1d3)](_0x250260['parent']);},exports[a35_0x5d4d0b(0x1dd)]=async(_0x50c12d,_0x436e58)=>{const _0x30f2e9=a35_0x5d4d0b,_0x103a0a={'uKYYz':function(_0x5df2ac){return _0x5df2ac();},'YAeVT':function(_0x47df6d,_0x391050){return _0x47df6d(_0x391050);},'JdPhW':_0x30f2e9(0x1e0),'UREyQ':function(_0x5e7b8a,_0x1a6057){return _0x5e7b8a===_0x1a6057;},'OVxuq':_0x30f2e9(0x1ca),'qKBQu':_0x30f2e9(0x1b8),'qCynD':_0x30f2e9(0x1b5)};try{if(!_0x103a0a[_0x30f2e9(0x1cc)](shouldProcessEventForTesthub))return;const _0x202d5d=await _0x50c12d[_0x30f2e9(0x1ef)](),_0x4174e0=await _0x50c12d[_0x30f2e9(0x1df)](),_0x39ece2={},_0x4e0ef6=Object[_0x30f2e9(0x1af)](_0x4174e0[_0x30f2e9(0x1ef)]()[_0x30f2e9(0x1cb)]),_0x2683db={'product':_0x103a0a[_0x30f2e9(0x1bb)](getObservabilityLinkedProductName,_0x4e0ef6),'capabilities':_0x4e0ef6,'platform':_0x202d5d[_0x30f2e9(0x1a9)](),'platform_version':_0x202d5d[_0x30f2e9(0x1c7)](_0x103a0a[_0x30f2e9(0x1c5)])?_0x202d5d[_0x30f2e9(0x1c7)](_0x103a0a['JdPhW']):_0x103a0a[_0x30f2e9(0x1bb)](getPlatformVersion,_0x103a0a[_0x30f2e9(0x1a8)](global[_0x30f2e9(0x1e4)],_0x103a0a[_0x30f2e9(0x1d8)])),'browser':_0x202d5d[_0x30f2e9(0x1c3)](),'browser_version':_0x202d5d['getBrowserVersion'](),'session_id':_0x4174e0[_0x30f2e9(0x1ed)]()};global[_0x30f2e9(0x1e4)]?_0x39ece2[global['__cloud_provider___']]=_0x2683db:_0x39ece2[_0x103a0a[_0x30f2e9(0x1ba)]]=_0x2683db,process[_0x30f2e9(0x1c9)](_0x30f2e9(0x1ec)+process[_0x30f2e9(0x1ae)],{'timestamp':new Date()[_0x30f2e9(0x1f4)](),'level':null,'message':null,'kind':_0x103a0a[_0x30f2e9(0x1cd)],'http_response':_0x39ece2,'uuid':_0x436e58});}catch(_0x1779d2){_0x103a0a['YAeVT'](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x1779d2);}},exports['getHookSkippedTests']=_0x5087c5=>{const _0x53f596=a35_0x5d4d0b,_0x24cbae={};_0x24cbae[_0x53f596(0x1ad)]=function(_0xf95151,_0x2b9a24){return _0xf95151!==_0x2b9a24;},_0x24cbae[_0x53f596(0x1de)]=_0x53f596(0x1ee),_0x24cbae[_0x53f596(0x1ce)]=_0x53f596(0x1a0),_0x24cbae['dxYfX']=function(_0x280051,_0x1c4e17){return _0x280051!==_0x1c4e17;},_0x24cbae[_0x53f596(0x1b6)]=_0x53f596(0x1d7);const _0x10eeb9=_0x24cbae,_0x2436ba=_0x5087c5['suites'][_0x53f596(0x1e8)]((_0x127ab0,_0x57f6b8)=>{const _0x179e3d=exports['getHookSkippedTests'](_0x57f6b8);return _0x179e3d&&(_0x127ab0=_0x127ab0['concat'](_0x179e3d)),_0x127ab0;},[]),_0x24c5b8=_0x5087c5[_0x53f596(0x1be)][_0x53f596(0x1f1)](_0x4c9c94=>{const _0x2a21bd=_0x53f596,_0x13bdc6=_0x10eeb9[_0x2a21bd(0x1ad)](_0x4c9c94['type'],_0x10eeb9[_0x2a21bd(0x1de)])&&!_0x4c9c94[_0x2a21bd(0x1e3)]&&_0x10eeb9[_0x2a21bd(0x1ad)](_0x4c9c94[_0x2a21bd(0x1c0)],_0x10eeb9[_0x2a21bd(0x1ce)])&&_0x10eeb9[_0x2a21bd(0x1a2)](_0x4c9c94[_0x2a21bd(0x1c0)],_0x10eeb9['IuJIl'])&&!_0x4c9c94[_0x2a21bd(0x1d1)];return _0x13bdc6;});return _0x24c5b8[_0x53f596(0x1b4)](_0x2436ba);};function a35_0x1564(_0x525a60,_0x176d62){const _0x9441ac=a35_0x9441();return a35_0x1564=function(_0x156474,_0x563b09){_0x156474=_0x156474-0x1a0;let _0x202886=_0x9441ac[_0x156474];return _0x202886;},a35_0x1564(_0x525a60,_0x176d62);}function a35_0x9441(){const _0x539cb1=['markedStatus','__cloud_provider___','../../../helpers/test-observability/constants','IkTCK','62002Mifzmx','reduce','10434080ILuMlU','kjhwW','66gxegAJ','bs:addPlatformDetails:','toJSON','hook','getCapabilities','147KZkmAg','filter','17058lVLjlC','rxMTd','toISOString','2568006NjzZQZ','../../../../package.json','passed','_afterEach','dxYfX','JXVAo','substring','split','mtEeR','push','UREyQ','getPlatform','_beforeAll','_afterAll','getHooksForTest','kzXKG','pid','fromEntries','DslyX','39iFGvEJ','indexOf','../../utils/logPatcher','concat','TEST_PLATFORM','IuJIl','655QrkabW','unknown_grid','sOMmX','qKBQu','YAeVT','LqvvB','uLHeL','tests','OdzCM','state','../../../helpers/helper','parent','getBrowserName','aBDEd','JdPhW','hookAnalyticsId','get','../../../helpers/testhub/utils','emit','browserstack','map_','uKYYz','qCynD','Kjwsk','uuid','string','pending','slice','mapTestHooks','38nHDTsk','305736xURNKA','forEach','failed','OVxuq','hLNyb','../../../helpers/test-observability/utils','12868lDQXJG','hGTuL','sendPlatformDetails','Nllwi','getSession','platformVersion','4550736CRhuxD','_beforeEach'];a35_0x9441=function(){return _0x539cb1;};return a35_0x9441();}
1
+ const a35_0x22d09f=a35_0x6dbe;function a35_0x106d(){const _0xdb061f=['getCapabilities','emit','nGugB','209FSJVmK','../../utils/logPatcher','302244DqYxQS','eurni','dlQTI','1343574FZVoQR','hook','rvCvm','49279umkXMU','forEach','bLOwD','vtyDk','getHookSkippedTests','fromEntries','64lPMjyo','parent','1281366LqRqOR','browserstack','js-','ABtyk','__cloud_provider___','aQQxC','1266xMwGjI','SyALS','hookAnalyticsId','getPlatform','_afterEach','_beforeEach','getTestEnv','../../../../package.json','filter','zBcrP','_beforeAll','generic','tests','aXxHv','eiHgl','../../../helpers/helper','getHookDetails','MVqVM','failed','KqMlq','wUDpp','59910HMUsTe','hrZCv','sendPlatformDetails','krizl','string','TEST_PLATFORM','toJSON','VSBPJ','_afterAll','type','mapTestHooks','lodash','AlVXI','uuid','2avojtx','get','1960EaQKnM','pending','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','GPgsu','indexOf','push','../../../helpers/test-observability/utils','state','getBrowserVersion','split','DUlnr','concat','getHooksForTest','oIlAo','urrdq','JXMfH','mxCwi','../../../helpers/testhub/utils','PqJqg','markedStatus','555280kHscGs','suites','slice','WjqWG','bs:addPlatformDetails:','PTOGI','lyZak','kfTFl','../../../helpers/test-observability/constants','10mcSLot','zDQQP'];a35_0x106d=function(){return _0xdb061f;};return a35_0x106d();}function a35_0x6dbe(_0x1ee1aa,_0x345ec2){const _0x106dc5=a35_0x106d();return a35_0x6dbe=function(_0x6dbe08,_0x476488){_0x6dbe08=_0x6dbe08-0xf7;let _0x21dfa2=_0x106dc5[_0x6dbe08];return _0x21dfa2;},a35_0x6dbe(_0x1ee1aa,_0x345ec2);}(function(_0x569617,_0x2cb719){const _0x4097f5=a35_0x6dbe,_0x415c65=_0x569617();while(!![]){try{const _0x20a740=parseInt(_0x4097f5(0x13b))/0x1*(parseInt(_0x4097f5(0x10f))/0x2)+parseInt(_0x4097f5(0x138))/0x3+-parseInt(_0x4097f5(0x141))/0x4*(-parseInt(_0x4097f5(0x101))/0x5)+-parseInt(_0x4097f5(0x149))/0x6*(parseInt(_0x4097f5(0x111))/0x7)+-parseInt(_0x4097f5(0x125))/0x8+parseInt(_0x4097f5(0x143))/0x9*(parseInt(_0x4097f5(0x12e))/0xa)+-parseInt(_0x4097f5(0x133))/0xb*(parseInt(_0x4097f5(0x135))/0xc);if(_0x20a740===_0x2cb719)break;else _0x415c65['push'](_0x415c65['shift']());}catch(_0x346b66){_0x415c65['push'](_0x415c65['shift']());}}}(a35_0x106d,0x36bb4));const {v4:uuidv4}=require(a35_0x22d09f(0x10e)),{name,version}=require(a35_0x22d09f(0x150)),logPatcher=require(a35_0x22d09f(0x134)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x22d09f(0x117)),{consoleHolder}=require(a35_0x22d09f(0x12d)),{getPlatformVersion}=require(a35_0x22d09f(0xfb)),{shouldProcessEventForTesthub}=require(a35_0x22d09f(0x122)),{isFunction}=require(a35_0x22d09f(0x10c)),{patchConsoleLogger}=require(a35_0x22d09f(0x117));patchConsoleLogger(),exports[a35_0x22d09f(0x14f)]=()=>{const _0x568d0f=a35_0x22d09f,_0x17a12e={'kfTFl':_0x568d0f(0xf7),'AlVXI':function(_0x48f43a){return _0x48f43a();}};return{'ci':_0x17a12e[_0x568d0f(0x12c)],'key':_0x17a12e[_0x568d0f(0x10d)](uuidv4),'version':version,'collector':_0x568d0f(0x145)+name};},exports[a35_0x22d09f(0xfc)]=_0x9f0080=>{const _0x402df3=a35_0x22d09f,_0x5a8a45={};_0x5a8a45[_0x402df3(0xff)]=function(_0x216eca,_0x1f414e){return _0x216eca!==_0x1f414e;},_0x5a8a45[_0x402df3(0xf9)]=_0x402df3(0x105),_0x5a8a45[_0x402df3(0x13a)]=function(_0x177b49,_0x4a59db){return _0x177b49!==_0x4a59db;},_0x5a8a45['bLOwD']='hook:',_0x5a8a45[_0x402df3(0xfd)]=function(_0x599f03,_0x2bc948){return _0x599f03!==_0x2bc948;},_0x5a8a45[_0x402df3(0x11e)]=_0x402df3(0x139);const _0x4709af=_0x5a8a45;if(!_0x9f0080||_0x4709af[_0x402df3(0xff)](typeof _0x9f0080,_0x4709af[_0x402df3(0xf9)]))return[null,null];if(_0x4709af[_0x402df3(0x13a)](_0x9f0080['indexOf'](_0x4709af[_0x402df3(0x13d)]),-0x1)){const _0x239929=_0x9f0080[_0x402df3(0x11a)](_0x4709af[_0x402df3(0x13d)]);return[_0x239929[0x0][_0x402df3(0x127)](0x0,-0x1)[_0x402df3(0x11a)]('\x22')[0x1],_0x239929[0x1]['substring'](0x1)];}else{if(_0x4709af[_0x402df3(0xfd)](_0x9f0080[_0x402df3(0x115)](_0x4709af['oIlAo']),-0x1)){const _0x34ce33=_0x9f0080[_0x402df3(0x11a)](_0x4709af[_0x402df3(0x11e)]);return[_0x34ce33[0x0][_0x402df3(0x127)](0x0,-0x1)[_0x402df3(0x11a)]('\x22')[0x1],_0x9f0080];}}return[null,null];},exports[a35_0x22d09f(0x11d)]=_0x5b24a9=>{const _0x362fb2=a35_0x22d09f,_0x31a394={'wUDpp':function(_0xd43051,_0xb329bc){return _0xd43051(_0xb329bc);},'JYijU':_0x362fb2(0x153),'PTOGI':_0x362fb2(0x109),'dlQTI':_0x362fb2(0x14e),'urrdq':_0x362fb2(0x14d)};if(!_0x5b24a9||!_0x5b24a9[_0x362fb2(0x142)])return[];const _0x3824c9=[];return[_0x31a394['JYijU'],_0x31a394[_0x362fb2(0x12a)],_0x31a394[_0x362fb2(0x137)],_0x31a394[_0x362fb2(0x11f)]][_0x362fb2(0x13c)](_0x2c53ce=>{const _0x97a6b9=_0x362fb2,_0x4ffd73={'VSBPJ':function(_0x377621,_0x69276){const _0x4d1078=a35_0x6dbe;return _0x31a394[_0x4d1078(0x100)](_0x377621,_0x69276);}},_0x348ff7=_0x5b24a9['parent'][_0x2c53ce]||[];_0x348ff7[_0x97a6b9(0x13c)](_0x3d68fa=>{const _0x36befd=_0x97a6b9;_0x3d68fa[_0x36befd(0x14b)]&&!_0x4ffd73[_0x36befd(0x108)](isInternalHook,_0x3d68fa['fn'])&&_0x3824c9[_0x36befd(0x116)](_0x3d68fa[_0x36befd(0x14b)]);});}),[..._0x3824c9,...exports[_0x362fb2(0x11d)](_0x5b24a9[_0x362fb2(0x142)])];},exports[a35_0x22d09f(0x10b)]=_0x5b9bfc=>{const _0x2c1ea4=a35_0x22d09f,_0x323640={'JXMfH':function(_0x5ec6df){return _0x5ec6df();},'zBcrP':function(_0x448295,_0x5d2a1e){return _0x448295===_0x5d2a1e;},'eiHgl':'_afterEach','mxCwi':_0x2c1ea4(0x153),'aQQxC':_0x2c1ea4(0x109),'SyALS':'_beforeEach'};if(!_0x5b9bfc||!_0x5b9bfc['parent'])return;[_0x323640[_0x2c1ea4(0x121)],_0x323640[_0x2c1ea4(0x148)],_0x323640[_0x2c1ea4(0x14a)],_0x323640['eiHgl']][_0x2c1ea4(0x13c)](_0xe6e3ea=>{const _0x5d91d4=_0x2c1ea4,_0xd1dab0={'zDQQP':function(_0x55cb3f){const _0x17c532=a35_0x6dbe;return _0x323640[_0x17c532(0x120)](_0x55cb3f);},'yfLNp':function(_0xa31bcd,_0x2568e7){const _0x16dbd8=a35_0x6dbe;return _0x323640[_0x16dbd8(0x152)](_0xa31bcd,_0x2568e7);},'zjTNn':_0x323640[_0x5d91d4(0xfa)]},_0x5d4b45=_0x5b9bfc[_0x5d91d4(0x142)][_0xe6e3ea]||[];_0x5d4b45[_0x5d91d4(0x13c)](_0x5ac3e2=>{const _0x1e9b48=_0x5d91d4;if(!_0x5ac3e2[_0x1e9b48(0x14b)])_0x5ac3e2[_0x1e9b48(0x14b)]=_0xd1dab0[_0x1e9b48(0x12f)](uuidv4);else _0x5ac3e2[_0x1e9b48(0x124)]&&_0xd1dab0['yfLNp'](_0xe6e3ea,_0xd1dab0['zjTNn'])&&(_0x5ac3e2[_0x1e9b48(0x14b)]=_0xd1dab0[_0x1e9b48(0x12f)](uuidv4),delete _0x5ac3e2[_0x1e9b48(0x124)]);});}),exports[_0x2c1ea4(0x10b)](_0x5b9bfc[_0x2c1ea4(0x142)]);},exports[a35_0x22d09f(0x103)]=async(_0x2970c7,_0x5a2e1e)=>{const _0x236382=a35_0x22d09f,_0x14a3ec={'lyZak':function(_0x5f29eb){return _0x5f29eb();},'vtyDk':function(_0x5ce89e,_0x39ffb6){return _0x5ce89e(_0x39ffb6);},'DUlnr':'platformVersion','krizl':function(_0x2ea8d2,_0x5426b7){return _0x2ea8d2(_0x5426b7);},'AciIi':function(_0x5910a1,_0x37b9be){return _0x5910a1===_0x37b9be;},'pgRSM':_0x236382(0x144),'nGugB':'unknown_grid','eFJHS':_0x236382(0x106),'LexjU':function(_0x34d12e,_0x1a78f4){return _0x34d12e(_0x1a78f4);}};try{if(!_0x14a3ec[_0x236382(0x12b)](shouldProcessEventForTesthub))return;const _0x11858d=await _0x2970c7[_0x236382(0x130)](),_0x2a679b=await _0x2970c7['getSession'](),_0x2f4e09={},_0x1abb6e=Object[_0x236382(0x140)](_0x2a679b[_0x236382(0x130)]()['map_']),_0x1b4d41={'product':_0x14a3ec[_0x236382(0x13e)](getObservabilityLinkedProductName,_0x1abb6e),'capabilities':_0x1abb6e,'platform':_0x11858d[_0x236382(0x14c)](),'platform_version':_0x11858d[_0x236382(0x110)](_0x14a3ec['DUlnr'])?_0x11858d[_0x236382(0x110)](_0x14a3ec[_0x236382(0x11b)]):_0x14a3ec[_0x236382(0x104)](getPlatformVersion,_0x14a3ec['AciIi'](global[_0x236382(0x147)],_0x14a3ec['pgRSM'])),'browser':_0x11858d['getBrowserName'](),'browser_version':_0x11858d[_0x236382(0x119)](),'session_id':_0x2a679b[_0x236382(0x107)]()};global['__cloud_provider___']?_0x2f4e09[global[_0x236382(0x147)]]=_0x1b4d41:_0x2f4e09[_0x14a3ec[_0x236382(0x132)]]=_0x1b4d41,process[_0x236382(0x131)](_0x236382(0x129)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x14a3ec['eFJHS'],'http_response':_0x2f4e09,'uuid':_0x5a2e1e});}catch(_0x112057){_0x14a3ec['LexjU'](debug,_0x236382(0x113)+_0x112057);}},exports[a35_0x22d09f(0x13f)]=_0x1ef198=>{const _0x25c3ca=a35_0x22d09f,_0x1f7a82={};_0x1f7a82[_0x25c3ca(0x102)]=function(_0x2c220f,_0x36c4f4){return _0x2c220f!==_0x36c4f4;},_0x1f7a82[_0x25c3ca(0x136)]=_0x25c3ca(0x139),_0x1f7a82[_0x25c3ca(0x114)]=function(_0x48ba52,_0x51c15e){return _0x48ba52!==_0x51c15e;},_0x1f7a82[_0x25c3ca(0x128)]='passed',_0x1f7a82['ABtyk']=function(_0x34525c,_0x42a48b){return _0x34525c!==_0x42a48b;},_0x1f7a82[_0x25c3ca(0x123)]=_0x25c3ca(0xfe);const _0x52b67e=_0x1f7a82,_0x29f399=_0x1ef198[_0x25c3ca(0x126)]['reduce']((_0x26cad0,_0x1202d4)=>{const _0x597337=_0x25c3ca,_0x566775=exports[_0x597337(0x13f)](_0x1202d4);return _0x566775&&(_0x26cad0=_0x26cad0[_0x597337(0x11c)](_0x566775)),_0x26cad0;},[]),_0x4c5448=_0x1ef198[_0x25c3ca(0xf8)][_0x25c3ca(0x151)](_0x27e054=>{const _0x2adfb3=_0x25c3ca,_0x106488=_0x52b67e['hrZCv'](_0x27e054[_0x2adfb3(0x10a)],_0x52b67e['eurni'])&&!_0x27e054[_0x2adfb3(0x124)]&&_0x52b67e[_0x2adfb3(0x114)](_0x27e054[_0x2adfb3(0x118)],_0x52b67e[_0x2adfb3(0x128)])&&_0x52b67e[_0x2adfb3(0x146)](_0x27e054[_0x2adfb3(0x118)],_0x52b67e[_0x2adfb3(0x123)])&&!_0x27e054[_0x2adfb3(0x112)];return _0x106488;});return _0x4c5448['concat'](_0x29f399);};
@@ -1 +1 @@
1
- function a36_0x33ff(_0x53a4d8,_0xd2615d){const _0x23029c=a36_0x2302();return a36_0x33ff=function(_0x33ff8f,_0x1872a0){_0x33ff8f=_0x33ff8f-0x196;let _0x45a6cd=_0x23029c[_0x33ff8f];return _0x45a6cd;},a36_0x33ff(_0x53a4d8,_0xd2615d);}const a36_0x14b1af=a36_0x33ff;(function(_0x3ba744,_0x296dd7){const _0x81d7f4=a36_0x33ff,_0x7fbefd=_0x3ba744();while(!![]){try{const _0x3c18d1=-parseInt(_0x81d7f4(0x1e6))/0x1*(-parseInt(_0x81d7f4(0x1c4))/0x2)+-parseInt(_0x81d7f4(0x1d0))/0x3+-parseInt(_0x81d7f4(0x1a9))/0x4*(-parseInt(_0x81d7f4(0x249))/0x5)+parseInt(_0x81d7f4(0x19d))/0x6+parseInt(_0x81d7f4(0x223))/0x7*(-parseInt(_0x81d7f4(0x1b1))/0x8)+parseInt(_0x81d7f4(0x21c))/0x9*(parseInt(_0x81d7f4(0x1c3))/0xa)+-parseInt(_0x81d7f4(0x1dd))/0xb;if(_0x3c18d1===_0x296dd7)break;else _0x7fbefd['push'](_0x7fbefd['shift']());}catch(_0xb8cb81){_0x7fbefd['push'](_0x7fbefd['shift']());}}}(a36_0x2302,0x1910d));const util=require(a36_0x14b1af(0x248)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x14b1af(0x219)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x14b1af(0x24c)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a36_0x14b1af(0x1a2)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x14b1af(0x1e0)),PerformanceTester=require(a36_0x14b1af(0x1eb)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x14b1af(0x1e2)),globals=require(a36_0x14b1af(0x247)),logger=require(a36_0x14b1af(0x1da))[a36_0x14b1af(0x21f)],{shouldProcessEventForTesthub}=require(a36_0x14b1af(0x227)),testHubConstants=require('../../helpers/testhub/constants');exports['mochaHooks']={'beforeAll'(){const _0xe5e9a4=a36_0x14b1af,_0x4a6414={'YvQaV':function(_0x1ad4bd,_0x2ba538,_0x42b1dc,_0x57b387){return _0x1ad4bd(_0x2ba538,_0x42b1dc,_0x57b387);},'JCQYM':_0xe5e9a4(0x206),'bIJTy':_0xe5e9a4(0x1ea),'qALXE':function(_0x169115,_0x48ae1f,_0x72c32d){return _0x169115(_0x48ae1f,_0x72c32d);},'UBFRy':_0xe5e9a4(0x237),'XAiMR':function(_0x453cf6){return _0x453cf6();},'STfEv':function(_0x55a34c,_0x2fc4f4,_0x2d3821){return _0x55a34c(_0x2fc4f4,_0x2d3821);},'lgoRC':_0xe5e9a4(0x1f1),'zXkKt':_0xe5e9a4(0x1a8)};PerformanceTester[_0xe5e9a4(0x214)]();const _0x29b55e='browserstack internal helper hook';PerformanceTester[_0xe5e9a4(0x222)](PerformanceSdkEvents[_0xe5e9a4(0x1b8)],()=>{const _0x177159=_0xe5e9a4;global['__error_messages__']=[],global[_0x177159(0x1e5)]=![],global[_0x177159(0x231)]=async()=>{const _0x31601e=_0x177159;let _0x57c9c3=![];try{await global['__drivers'][0x0]['session_'],_0x57c9c3=!![],global[_0x31601e(0x1e5)]?await _0x4a6414['YvQaV'](markSessionStatus,global[_0x31601e(0x1fc)][0x0],_0x4a6414['JCQYM'],global[_0x31601e(0x1fd)]['join'](_0x4a6414[_0x31601e(0x23e)])):await _0x4a6414[_0x31601e(0x1f6)](markSessionStatus,global['__drivers'][0x0],_0x4a6414[_0x31601e(0x1cd)]);}catch(_0x56fd13){logger[_0x31601e(0x22e)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x56fd13);}global[_0x31601e(0x1fd)]=[],global[_0x31601e(0x1e5)]=![];if(_0x57c9c3)try{try{_0x4a6414[_0x31601e(0x1e8)](shouldProcessEventForTesthub)&&(global[_0x31601e(0x1fc)][0x0]&&await _0x4a6414['STfEv'](sendPlatformDetails,global[_0x31601e(0x1fc)][0x0],this[_0x31601e(0x24a)]?this[_0x31601e(0x24a)][_0x31601e(0x23a)]:null));}catch(_0x86bbc7){logger[_0x31601e(0x22e)](_0x31601e(0x1d1)+_0x86bbc7);}await global['__drivers'][0x0]['initQuit']();}catch(_0x37cd6b){logger[_0x31601e(0x22e)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x37cd6b);}};},{'platform':_0x4a6414[_0xe5e9a4(0x1cc)](nestedKeyValue,global['__platformCaps'],[_0x4a6414[_0xe5e9a4(0x1ad)]]),'hookType':_0x4a6414[_0xe5e9a4(0x1a5)]})();},'beforeEach'(_0x96d3b1){const _0x5e1ea3=a36_0x14b1af,_0x8094d={'NYLJO':function(_0x3607c0){return _0x3607c0();},'iKUPT':function(_0x4d202e,_0x303abd){return _0x4d202e>_0x303abd;},'utzuI':_0x5e1ea3(0x19e),'QlOaj':function(_0x589844,_0x41fdd2,_0x393847){return _0x589844(_0x41fdd2,_0x393847);},'DvhhA':_0x5e1ea3(0x1f5),'znHyg':function(_0x275940){return _0x275940();},'JMzob':_0x5e1ea3(0x1c1),'vRWMk':function(_0xc931c5,_0x440437){return _0xc931c5===_0x440437;},'INzzV':_0x5e1ea3(0x1f3),'UMyTL':'https:','ZmSLB':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','AbvLg':'Automate\x20test\x20case\x20execution\x20has\x20started.','ZcZZV':_0x5e1ea3(0x243),'WUjzg':_0x5e1ea3(0x1f1),'eGjsg':'beforeEach'};globals[_0x5e1ea3(0x1c2)](_0x8094d['ZcZZV'],this[_0x5e1ea3(0x24a)][_0x5e1ea3(0x1d4)]()[_0x5e1ea3(0x23f)](_0x8094d['utzuI'])),PerformanceTester[_0x5e1ea3(0x222)](PerformanceSdkEvents[_0x5e1ea3(0x1b8)],()=>{const _0x5ebab4=_0x5e1ea3,_0x53bfd7={'GtoyM':function(_0x417f8f,_0x33a60b){return _0x8094d['iKUPT'](_0x417f8f,_0x33a60b);},'CBIWh':function(_0x1c7dfc,_0x5c625f){const _0x3ce335=a36_0x33ff;return _0x8094d[_0x3ce335(0x1ec)](_0x1c7dfc,_0x5c625f);},'KYRIi':_0x8094d[_0x5ebab4(0x1f0)],'SyBEX':function(_0x461b00,_0x18de4a,_0x27fdf8){const _0x35ee07=_0x5ebab4;return _0x8094d[_0x35ee07(0x23b)](_0x461b00,_0x18de4a,_0x27fdf8);},'moDCq':_0x8094d[_0x5ebab4(0x20b)],'GZDkL':function(_0x1b728c){const _0x2460b1=_0x5ebab4;return _0x8094d[_0x2460b1(0x210)](_0x1b728c);},'qVRpn':_0x8094d[_0x5ebab4(0x1f8)],'CBrlZ':function(_0x28f1b8,_0x131087){const _0x235447=_0x5ebab4;return _0x8094d[_0x235447(0x201)](_0x28f1b8,_0x131087);},'PccFY':_0x8094d['INzzV'],'OeCMx':function(_0x388342,_0x1bd099){const _0x5b0ee3=_0x5ebab4;return _0x8094d[_0x5b0ee3(0x201)](_0x388342,_0x1bd099);},'LZVrQ':_0x8094d[_0x5ebab4(0x1b4)],'SkYPA':_0x8094d[_0x5ebab4(0x1bd)],'RKOij':_0x8094d['AbvLg']},_0x19dfdc='browserstack internal helper hook';new Promise(async _0x3979ad=>{const _0x3997e3=_0x5ebab4;let _0x5ce061=!![];try{_0x53bfd7[_0x3997e3(0x1d5)](global[_0x3997e3(0x1fc)][_0x3997e3(0x1b9)],0x1)&&(await global[_0x3997e3(0x231)](),global[_0x3997e3(0x1fc)][_0x3997e3(0x246)]()),_0x53bfd7[_0x3997e3(0x1be)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x5ce061=![],await global[_0x3997e3(0x231)]());}catch(_0x4b61ce){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x4b61ce);}try{Array['isArray'](global[_0x3997e3(0x1fc)])&&global[_0x3997e3(0x1fc)][0x0]&&(global[_0x3997e3(0x1fc)][0x0][_0x3997e3(0x1d3)]=this[_0x3997e3(0x24a)][_0x3997e3(0x1d4)]()[_0x3997e3(0x23f)](_0x53bfd7['KYRIi'])),global['browserstackSessionName']=this[_0x3997e3(0x24a)]['titlePath']()[_0x3997e3(0x23f)](_0x53bfd7[_0x3997e3(0x242)]);}catch(_0xa5386){logger[_0x3997e3(0x22e)](_0x3997e3(0x216)+_0xa5386);}this[_0x3997e3(0x24a)]['shouldScanTestForAccessibility']=_0x53bfd7[_0x3997e3(0x21d)](shouldScanTestForAccessibility,this[_0x3997e3(0x24a)][_0x3997e3(0x1d4)](),!![]),globals[_0x3997e3(0x1c2)](_0x53bfd7[_0x3997e3(0x1bc)],this[_0x3997e3(0x24a)][_0x3997e3(0x20c)]),this[_0x3997e3(0x24a)]['accessibilityScanStarted']=!![];if(_0x53bfd7['GZDkL'](isAccessibilityAutomationSession)&&_0x5ce061&&Array[_0x3997e3(0x203)](global[_0x3997e3(0x1fc)])&&_0x53bfd7['GtoyM'](global[_0x3997e3(0x1fc)][_0x3997e3(0x1b9)],0x0)&&globals[_0x3997e3(0x22c)](_0x53bfd7[_0x3997e3(0x1ee)]))try{const _0x3ccf81=await global[_0x3997e3(0x1fc)][0x0]['session_'];if(_0x3ccf81){let _0xd0b873=!![];const _0x5e8b09=await global[_0x3997e3(0x1fc)][0x0]['getCurrentUrl']();let _0x3afdd1;try{_0x3afdd1=new URL(_0x5e8b09);}catch(_0x35780d){_0xd0b873=![];}_0xd0b873=_0x53bfd7[_0x3997e3(0x21e)](_0x3afdd1[_0x3997e3(0x1e3)],_0x53bfd7[_0x3997e3(0x212)])||_0x53bfd7[_0x3997e3(0x19c)](_0x3afdd1[_0x3997e3(0x1e3)],_0x53bfd7[_0x3997e3(0x1a7)]),_0xd0b873&&(this[_0x3997e3(0x24a)][_0x3997e3(0x20c)]&&logger[_0x3997e3(0x235)](_0x53bfd7[_0x3997e3(0x225)])),this[_0x3997e3(0x24a)]['accessibilityScanStarted']=this[_0x3997e3(0x24a)][_0x3997e3(0x20c)],this[_0x3997e3(0x24a)][_0x3997e3(0x20c)]&&logger[_0x3997e3(0x235)](_0x53bfd7[_0x3997e3(0x236)]);}}catch(_0x5c934b){logger[_0x3997e3(0x20f)](_0x3997e3(0x1d2)+util[_0x3997e3(0x1ca)](_0x5c934b));}_0x53bfd7[_0x3997e3(0x1b2)](_0x3979ad);})[_0x5ebab4(0x1ab)](()=>{const _0x30c4dd=_0x5ebab4;_0x8094d[_0x30c4dd(0x1e1)](_0x96d3b1);});},{'platform':_0x8094d[_0x5e1ea3(0x23b)](nestedKeyValue,global['__platformCaps'],[_0x8094d[_0x5e1ea3(0x1ac)]]),'hookType':_0x8094d[_0x5e1ea3(0x21a)]})();},'afterEach'(_0x755c4b){const _0x410d75=a36_0x14b1af,_0x3d380c={'lLQQc':_0x410d75(0x19e),'dhwDc':function(_0x4bb6bb,_0x127c10){return _0x4bb6bb>_0x127c10;},'EuDoE':function(_0x4d91b9,_0x4b95d9){return _0x4d91b9===_0x4b95d9;},'xflBF':_0x410d75(0x1ef),'DljzW':'appium:app','GLNgV':function(_0x19b46a,_0x402f72,_0x4794ce,_0xb0d48a){return _0x19b46a(_0x402f72,_0x4794ce,_0xb0d48a);},'KGJMy':_0x410d75(0x1c1),'qJwAX':'bstackA11yShouldScan','kjpza':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','fCCUd':_0x410d75(0x1ed),'yLREk':_0x410d75(0x1c9),'dZXta':'Accessibility\x20scan\x20completed\x20successfully','IQxrG':_0x410d75(0x234),'qiNEF':'Accessibility\x20results\x20saved\x20successfully','EZNZQ':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','ADHso':_0x410d75(0x200),'JlVzy':function(_0x22b928){return _0x22b928();},'iimQi':function(_0xde05ed,_0x4d75fe,_0x3c9268){return _0xde05ed(_0x4d75fe,_0x3c9268);},'ToIcN':function(_0x1aec61){return _0x1aec61();},'EvSIA':function(_0x3f5971,_0x3b617d,_0x5537ce){return _0x3f5971(_0x3b617d,_0x5537ce);},'JCaLM':_0x410d75(0x22e),'FfaqV':function(_0x495050,_0x5e90a6){return _0x495050>_0x5e90a6;},'GtZwt':function(_0x3ec9cd,_0x4a3ec1){return _0x3ec9cd!==_0x4a3ec1;},'EnYWz':_0x410d75(0x237),'aHAiK':function(_0x3fa54a,_0x325688){return _0x3fa54a+_0x325688;},'zJAcG':_0x410d75(0x20a),'NjuXs':_0x410d75(0x20f),'iLiwW':_0x410d75(0x23c),'lFDpB':_0x410d75(0x235),'kQtHE':function(_0x44a5cf){return _0x44a5cf();},'pxOFh':_0x410d75(0x1c7),'tYOlF':function(_0x36415c,_0x36ae7d,_0x1a15cf){return _0x36415c(_0x36ae7d,_0x1a15cf);},'xWDOY':_0x410d75(0x1f1),'hiERi':_0x410d75(0x22a)},_0xa8833f='browserstack internal helper hook';this[_0x410d75(0x1a0)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3d380c[_0x410d75(0x1a3)]]),global[_0x410d75(0x1b0)]=this[_0x410d75(0x24a)][_0x410d75(0x1d4)]()[_0x410d75(0x23f)](_0x3d380c['lLQQc']),PerformanceTester[_0x410d75(0x222)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2f0b57=_0x410d75,_0x4208cc={'alOWz':function(_0x44ad5c,_0x1a33a2){const _0x4935e1=a36_0x33ff;return _0x3d380c[_0x4935e1(0x1ff)](_0x44ad5c,_0x1a33a2);},'hatWU':_0x3d380c[_0x2f0b57(0x207)],'oQeri':function(_0x4c0cee,_0x24cce6,_0x25dc1f){return _0x3d380c['iimQi'](_0x4c0cee,_0x24cce6,_0x25dc1f);},'jgTKd':function(_0x273395,_0x19f66d){const _0xd5ec46=_0x2f0b57;return _0x3d380c[_0xd5ec46(0x1bf)](_0x273395,_0x19f66d);},'wWlJo':_0x3d380c[_0x2f0b57(0x1d6)],'Lrsoz':_0x3d380c[_0x2f0b57(0x215)],'GfgNs':_0x3d380c['iLiwW'],'xvchB':_0x3d380c[_0x2f0b57(0x21b)],'WbiDM':function(_0xa06efb){const _0x17399d=_0x2f0b57;return _0x3d380c[_0x17399d(0x197)](_0xa06efb);}},_0x12bdd5=async(_0x4368be,_0x2b86a4)=>{const _0x4533ca=_0x2f0b57;await global[_0x4533ca(0x1fc)][0x0][_0x4533ca(0x1cb)](_0x4533ca(0x1ba)+_0x4368be+',\x22level\x22:\x20\x22'+_0x2b86a4+_0x4533ca(0x208));};new Promise(async _0x1e5fc2=>{const _0x2869ad=_0x2f0b57,_0x317021={};_0x317021[_0x2869ad(0x204)]=_0x3d380c[_0x2869ad(0x209)];const _0x69894b=_0x317021;try{_0x3d380c[_0x2869ad(0x1f9)](global['__drivers'][_0x2869ad(0x1b9)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x2869ad(0x246)](),global[_0x2869ad(0x1fd)]=[],global[_0x2869ad(0x1e5)]=![]);try{if(global[_0x2869ad(0x1b6)]&&_0x3d380c[_0x2869ad(0x226)](global[_0x2869ad(0x205)],_0x3d380c['xflBF'])&&global['__drivers'][0x0]){const _0x352ecf=_0x3d380c[_0x2869ad(0x1f9)](global[_0x2869ad(0x1a1)]['length'],0x0)?!!global[_0x2869ad(0x1a1)][0x0][_0x2869ad(0x1a6)]||!!global['capabilities'][0x0][_0x3d380c[_0x2869ad(0x1c8)]]:![],_0x552e52={};_0x552e52[_0x2869ad(0x1a6)]=_0x352ecf,await _0x3d380c[_0x2869ad(0x211)](percyAutoCapture,global[_0x2869ad(0x1fc)][0x0],_0x3d380c[_0x2869ad(0x1b3)],_0x552e52);}}catch(_0x4f8bb6){logger[_0x2869ad(0x22e)](_0x2869ad(0x233)+_0x4f8bb6);}!global[_0x2869ad(0x1e4)]&&(await PerformanceTester[_0x2869ad(0x222)](PerformanceAutEvents[_0x2869ad(0x22f)],async()=>{const _0x38c858=_0x2869ad;await global[_0x38c858(0x1fc)][0x0][_0x38c858(0x1cb)](_0x38c858(0x22d)+JSON[_0x38c858(0x1b5)](this[_0x38c858(0x24a)][_0x38c858(0x1d4)]()[_0x38c858(0x23f)](_0x69894b[_0x38c858(0x204)]))+'}}');})(),global[_0x2869ad(0x1fc)][0x0][_0x2869ad(0x1af)]=!![]),await PerformanceTester[_0x2869ad(0x222)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x56d51b=_0x2869ad,_0x520fe0=_0x4208cc[_0x56d51b(0x1e7)](this['currentTest'][_0x56d51b(0x1c6)],_0x4208cc[_0x56d51b(0x1c0)]);_0x520fe0?(global['__sessionFailed']=!![],global['__error_messages__'][_0x56d51b(0x240)](this[_0x56d51b(0x24a)]['err'][_0x56d51b(0x1dc)]),await _0x4208cc[_0x56d51b(0x232)](_0x12bdd5,JSON[_0x56d51b(0x1b5)](_0x4208cc[_0x56d51b(0x239)](_0x4208cc[_0x56d51b(0x20e)],this['currentTest'][_0x56d51b(0x19a)]['message'])),_0x4208cc[_0x56d51b(0x1a4)])):await _0x4208cc['oQeri'](_0x12bdd5,JSON[_0x56d51b(0x1b5)](_0x4208cc['GfgNs']),_0x4208cc[_0x56d51b(0x1bb)]);})();}catch(_0x3f77ae){logger[_0x2869ad(0x22e)](_0x2869ad(0x1cf)+_0x3f77ae);}try{if(this[_0x2869ad(0x24a)][_0x2869ad(0x19f)]&&globals['getGlobal'](_0x3d380c[_0x2869ad(0x229)])&&globals['getGlobal'](_0x3d380c[_0x2869ad(0x224)])){logger[_0x2869ad(0x235)](_0x3d380c[_0x2869ad(0x220)]);const _0x784593={};_0x784593[_0x2869ad(0x1db)]=this[_0x2869ad(0x24a)]['testAnalyticsId'],_0x784593[_0x2869ad(0x1d9)]=process[_0x2869ad(0x1ce)][testHubConstants[_0x2869ad(0x24b)][_0x2869ad(0x198)]],_0x784593[_0x2869ad(0x245)]=process[_0x2869ad(0x1ce)][testHubConstants[_0x2869ad(0x24b)][_0x2869ad(0x1fe)]];const _0x57cb5b=_0x784593;logger['debug'](_0x2869ad(0x1fb)+JSON[_0x2869ad(0x1b5)](_0x57cb5b)),logger['debug'](_0x3d380c[_0x2869ad(0x202)]);const _0x284b13={};_0x284b13['command']=_0x3d380c[_0x2869ad(0x1ae)];const _0x1c0035=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2869ad(0x22b)],async()=>{const _0x2c481c=_0x2869ad;return await accessibilityRetryHelper[_0x2c481c(0x1f7)](global['__drivers'][0x0],global[_0x2c481c(0x1d3)]);},_0x284b13)();_0x1c0035?logger['debug'](_0x3d380c['dZXta']):logger[_0x2869ad(0x1d7)](_0x3d380c[_0x2869ad(0x228)]);const _0x353c7e=await PerformanceTester[_0x2869ad(0x222)](PerformanceA11yEvents[_0x2869ad(0x1c5)],async()=>{const _0x238cc8=_0x2869ad;return await accessibilityRetryHelper[_0x238cc8(0x1aa)](global[_0x238cc8(0x1fc)][0x0],_0x57cb5b);})();_0x353c7e?logger['debug'](_0x3d380c['qiNEF']):logger[_0x2869ad(0x1d7)](_0x3d380c[_0x2869ad(0x1de)]),logger[_0x2869ad(0x235)](_0x3d380c[_0x2869ad(0x221)]);}}catch(_0x486877){logger[_0x2869ad(0x20f)](_0x2869ad(0x213)+this['currentTest']['titlePath']()+_0x2869ad(0x20d),_0x486877);}try{try{if(_0x3d380c['JlVzy'](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x3d380c[_0x2869ad(0x1e9)](sendPlatformDetails,global[_0x2869ad(0x1fc)][0x0],this[_0x2869ad(0x24a)]?this[_0x2869ad(0x24a)][_0x2869ad(0x23a)]:null);if(_0x3d380c['ToIcN'](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x2869ad(0x1f2)]);const _0x20b37d=_0x2869ad(0x1df)+Date['now']();await _0x3d380c[_0x2869ad(0x1fa)](_0x12bdd5,JSON[_0x2869ad(0x1b5)](_0x20b37d),_0x3d380c[_0x2869ad(0x244)]),PerformanceTester[_0x2869ad(0x1d8)](PerformanceO11yEvents[_0x2869ad(0x1f2)]);}}}catch(_0x15fb34){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x15fb34),PerformanceTester[_0x2869ad(0x1d8)](PerformanceO11yEvents[_0x2869ad(0x1f2)],![],_0x15fb34);}_0x3d380c['FfaqV'](global[_0x2869ad(0x1fc)][0x0][_0x2869ad(0x1b7)],0x0)&&await global['driverCleanup']();}catch(_0x4db918){logger[_0x2869ad(0x22e)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x4db918);}_0x3d380c[_0x2869ad(0x230)](_0x1e5fc2);})[_0x2f0b57(0x1ab)](()=>{const _0x31d670=_0x2f0b57;_0x4208cc[_0x31d670(0x19b)](_0x755c4b);});},{'platform':_0x3d380c[_0x410d75(0x1f4)](nestedKeyValue,global[_0x410d75(0x23d)],[_0x3d380c[_0x410d75(0x218)]]),'hookType':_0x3d380c[_0x410d75(0x217)]})();},'afterAll'(_0x53683c){const _0x4c6f38=a36_0x14b1af,_0x1420a0={'uNUCx':function(_0x5230ea){return _0x5230ea();},'NGMMr':function(_0x45933e){return _0x45933e();},'dnbvW':_0x4c6f38(0x1c7),'YSxTQ':function(_0x5c5b58,_0x19dbbd,_0x3ed513){return _0x5c5b58(_0x19dbbd,_0x3ed513);},'zgNvA':_0x4c6f38(0x1f1),'LbWaJ':'afterAll'},_0x4c12f8='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1420a0['dnbvW']]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x4c6f38(0x1b8)],()=>{const _0x1a5386=_0x4c6f38,_0x1ae725={'pyimF':function(_0x5e4294){const _0x56cc60=a36_0x33ff;return _0x1420a0[_0x56cc60(0x24d)](_0x5e4294);}};new Promise(async _0x381ea4=>{const _0x9d4fa=a36_0x33ff;await global[_0x9d4fa(0x231)](),_0x1ae725[_0x9d4fa(0x199)](_0x381ea4);})[_0x1a5386(0x1ab)]()[_0x1a5386(0x238)](()=>{const _0x2c8bd6=_0x1a5386;_0x1420a0[_0x2c8bd6(0x196)](_0x53683c);});},{'platform':_0x1420a0['YSxTQ'](nestedKeyValue,global['__platformCaps'],[_0x1420a0[_0x4c6f38(0x241)]]),'hookType':_0x1420a0['LbWaJ']})();}};function a36_0x2302(){const _0x9184db=['STfEv','UBFRy','env','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','422616BIfkyQ','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','browserstackSessionName','titlePath','GtoyM','zJAcG','warn','end','thBuildUuid','../../helpers/logger','thTestRunUuid','message','3461084QiFbek','EZNZQ','ObservabilitySync:','../../helpers/helper','NYLJO','../../helpers/performance/constants','protocol','__skipSessionName','__sessionFailed','1TRHVoR','alOWz','XAiMR','iimQi','\x20|\x20','../../helpers/performance/performance-tester','iKUPT','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','qVRpn','testcase','utzuI','index','SYNC','http:','tYOlF','bstackA11yShouldScan','qALXE','performScanWithRetry','JMzob','dhwDc','EvSIA','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','__drivers','__error_messages__','BROWSERSTACK_TESTHUB_JWT','GtZwt','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','vRWMk','fCCUd','isArray','diehK','percyCaptureMode','failed','EnYWz','\x22}}','lLQQc','Failed:\x20','DvhhA','shouldScanTestForAccessibility','.\x20Error\x20:','wWlJo','error','znHyg','GLNgV','PccFY','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','startMonitoring','NjuXs','Failed\x20to\x20store\x20session\x20name:\x20','hiERi','xWDOY','../../helpers/accessibility-automation/accessibilityRetryHelper','eGjsg','lFDpB','9pOYhUV','SyBEX','CBrlZ','winstonLogger','kjpza','ADHso','measureWrapper','199731XQZkUo','qJwAX','SkYPA','EuDoE','../../helpers/testhub/utils','IQxrG','KGJMy','afterEach','PERFORM_SCAN','getGlobal','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','debug','SESSION_NAME','ToIcN','driverCleanup','oQeri','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','info','RKOij','passed','finally','jgTKd','testAnalyticsId','QlOaj','Passed','__platformCaps','bIJTy','join','push','zgNvA','KYRIi','browserstackTestName','JCaLM','thJwtToken','shift','../../helpers/globals','util','987135OVWdea','currentTest','ENV_VAR','../utils/constants','NGMMr','uNUCx','kQtHE','BROWSERSTACK_TESTHUB_UUID','pyimF','err','WbiDM','OeCMx','971526QHRdRB','\x20-\x20','accessibilityScanStarted','timeout','capabilities','./test-observability/mochaUtils','pxOFh','Lrsoz','zXkKt','app','LZVrQ','beforeAll','4zOruWx','saveAccessibilityResultsWithRetry','then','WUjzg','lgoRC','yLREk','sessionNameSet__','sessionName','56UiSuzC','GZDkL','xflBF','UMyTL','stringify','percy','quitCount_','SDK_HOOK','length','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','xvchB','moDCq','ZmSLB','CBIWh','aHAiK','hatWU','isAccessibilityPlatform','setGlobal','1990010EToUvx','399134sPHSpX','SAVE_RESULTS','state','Mocha','DljzW','afterTest','format','executeScript'];a36_0x2302=function(){return _0x9184db;};return a36_0x2302();}
1
+ function a36_0x5a90(_0x459387,_0xf45bb7){const _0x5bf6fb=a36_0x5bf6();return a36_0x5a90=function(_0x5a9048,_0x2ae03a){_0x5a9048=_0x5a9048-0x167;let _0x25ebf4=_0x5bf6fb[_0x5a9048];return _0x25ebf4;},a36_0x5a90(_0x459387,_0xf45bb7);}const a36_0x2db1cd=a36_0x5a90;(function(_0x4d45ef,_0x361972){const _0x4d03f9=a36_0x5a90,_0x4482c6=_0x4d45ef();while(!![]){try{const _0x5b92d9=-parseInt(_0x4d03f9(0x16c))/0x1+-parseInt(_0x4d03f9(0x20e))/0x2+parseInt(_0x4d03f9(0x1b9))/0x3*(parseInt(_0x4d03f9(0x209))/0x4)+parseInt(_0x4d03f9(0x204))/0x5+parseInt(_0x4d03f9(0x1d4))/0x6*(-parseInt(_0x4d03f9(0x1e9))/0x7)+parseInt(_0x4d03f9(0x1cb))/0x8*(parseInt(_0x4d03f9(0x1ed))/0x9)+-parseInt(_0x4d03f9(0x20b))/0xa;if(_0x5b92d9===_0x361972)break;else _0x4482c6['push'](_0x4482c6['shift']());}catch(_0x242c04){_0x4482c6['push'](_0x4482c6['shift']());}}}(a36_0x5bf6,0x1f9dd));const util=require(a36_0x2db1cd(0x183)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x2db1cd(0x1ae)),accessibilityRetryHelper=require(a36_0x2db1cd(0x1db)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x2db1cd(0x1b0)),{percyAutoCapture}=require(a36_0x2db1cd(0x193)),{sendPlatformDetails}=require(a36_0x2db1cd(0x1cf)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x2db1cd(0x19d)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x2db1cd(0x1fb)),globals=require(a36_0x2db1cd(0x1b2)),logger=require(a36_0x2db1cd(0x1a6))['winstonLogger'],{shouldProcessEventForTesthub}=require(a36_0x2db1cd(0x17f)),testHubConstants=require(a36_0x2db1cd(0x1c5));exports[a36_0x2db1cd(0x17a)]={'beforeAll'(){const _0x2d7062=a36_0x2db1cd,_0xdcdebd={'icTkY':function(_0x5090d7,_0x1c0b08,_0x208020,_0x42d186){return _0x5090d7(_0x1c0b08,_0x208020,_0x42d186);},'evTKf':'failed','CCTnm':'\x20|\x20','oMFGK':function(_0x27c01c,_0x12d427,_0x2cd826){return _0x27c01c(_0x12d427,_0x2cd826);},'qezSy':_0x2d7062(0x208),'ZQuMP':function(_0x14bc4b){return _0x14bc4b();},'kSWyb':_0x2d7062(0x1da),'PudvM':_0x2d7062(0x1dd)};PerformanceTester[_0x2d7062(0x1d8)]();const _0x442f13='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2d7062(0x188)],()=>{const _0x54e514=_0x2d7062;global['__error_messages__']=[],global[_0x54e514(0x1af)]=![],global[_0x54e514(0x1e5)]=async()=>{const _0x26b59d=_0x54e514;let _0x2f2079=![];try{await global[_0x26b59d(0x215)][0x0][_0x26b59d(0x19e)],_0x2f2079=!![],global[_0x26b59d(0x1af)]?await _0xdcdebd[_0x26b59d(0x219)](markSessionStatus,global[_0x26b59d(0x215)][0x0],_0xdcdebd['evTKf'],global['__error_messages__'][_0x26b59d(0x1e7)](_0xdcdebd[_0x26b59d(0x1bf)])):await _0xdcdebd[_0x26b59d(0x1c0)](markSessionStatus,global[_0x26b59d(0x215)][0x0],_0xdcdebd['qezSy']);}catch(_0x4ee75a){logger['debug'](_0x26b59d(0x177)+_0x4ee75a);}global[_0x26b59d(0x1f9)]=[],global[_0x26b59d(0x1af)]=![];if(_0x2f2079)try{try{_0xdcdebd['ZQuMP'](shouldProcessEventForTesthub)&&(global[_0x26b59d(0x215)][0x0]&&await _0xdcdebd[_0x26b59d(0x1c0)](sendPlatformDetails,global[_0x26b59d(0x215)][0x0],this[_0x26b59d(0x20f)]?this[_0x26b59d(0x20f)]['testAnalyticsId']:null));}catch(_0x347a25){logger[_0x26b59d(0x1cd)](_0x26b59d(0x1ca)+_0x347a25);}await global[_0x26b59d(0x215)][0x0][_0x26b59d(0x218)]();}catch(_0x38d87e){logger[_0x26b59d(0x1cd)](_0x26b59d(0x195)+_0x38d87e);}};},{'platform':_0xdcdebd['oMFGK'](nestedKeyValue,global[_0x2d7062(0x1f1)],[_0xdcdebd[_0x2d7062(0x171)]]),'hookType':_0xdcdebd['PudvM']})();},'beforeEach'(_0x5152f5){const _0x5d46a5=a36_0x2db1cd,_0x22212a={'ujZUG':function(_0x3465fa,_0x54ba29){return _0x3465fa>_0x54ba29;},'tZLfq':function(_0x7119f9,_0x33bd89){return _0x7119f9>_0x33bd89;},'Ygvcz':'\x20-\x20','lbRDF':function(_0x5c675d,_0x292ed8,_0x252bc3){return _0x5c675d(_0x292ed8,_0x252bc3);},'EzArR':_0x5d46a5(0x1eb),'iuswr':function(_0x50215c){return _0x50215c();},'KjcNT':function(_0x2ab086,_0x17d91a){return _0x2ab086>_0x17d91a;},'FjBuv':_0x5d46a5(0x211),'RwwYl':function(_0x28cccc,_0x25f808){return _0x28cccc===_0x25f808;},'AVQiq':_0x5d46a5(0x16d),'dytzZ':function(_0x40c283,_0x55643f){return _0x40c283===_0x55643f;},'SwVPI':_0x5d46a5(0x1e6),'htRGc':_0x5d46a5(0x179),'rvByt':'Automate\x20test\x20case\x20execution\x20has\x20started.','QbFfC':_0x5d46a5(0x1a0),'aCkkv':function(_0x385e24,_0x6cab99,_0x371c41){return _0x385e24(_0x6cab99,_0x371c41);},'KHFzT':_0x5d46a5(0x1da),'SkmGs':'beforeEach'};globals['setGlobal'](_0x22212a[_0x5d46a5(0x1f4)],this[_0x5d46a5(0x20f)][_0x5d46a5(0x1b4)]()[_0x5d46a5(0x1e7)](_0x22212a['Ygvcz'])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x5d46a5(0x188)],()=>{const _0x42fede={'elfNU':function(_0x512510){return _0x22212a['iuswr'](_0x512510);}},_0x955c9a='browserstack internal helper hook';new Promise(async _0x3aee88=>{const _0x274818=a36_0x5a90;let _0x3e3d95=!![];try{_0x22212a[_0x274818(0x1a1)](global[_0x274818(0x215)][_0x274818(0x1ab)],0x1)&&(await global[_0x274818(0x1e5)](),global[_0x274818(0x215)][_0x274818(0x1e3)]()),_0x22212a[_0x274818(0x212)](global[_0x274818(0x215)][0x0]['quitCount_'],0x0)&&(_0x3e3d95=![],await global[_0x274818(0x1e5)]());}catch(_0x3f2214){logger[_0x274818(0x1cd)](_0x274818(0x195)+_0x3f2214);}try{Array[_0x274818(0x17e)](global[_0x274818(0x215)])&&global[_0x274818(0x215)][0x0]&&(global[_0x274818(0x215)][0x0][_0x274818(0x21a)]=this['currentTest']['titlePath']()[_0x274818(0x1e7)](_0x22212a[_0x274818(0x181)])),global[_0x274818(0x21a)]=this[_0x274818(0x20f)]['titlePath']()[_0x274818(0x1e7)](_0x22212a[_0x274818(0x181)]);}catch(_0x14e46f){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x14e46f);}this['currentTest'][_0x274818(0x1b7)]=_0x22212a[_0x274818(0x1f6)](shouldScanTestForAccessibility,this['currentTest'][_0x274818(0x1b4)](),!![]),globals[_0x274818(0x1b6)](_0x22212a[_0x274818(0x1b5)],this['currentTest'][_0x274818(0x1b7)]),this[_0x274818(0x20f)][_0x274818(0x197)]=!![];if(_0x22212a[_0x274818(0x213)](isAccessibilityAutomationSession)&&_0x3e3d95&&Array[_0x274818(0x17e)](global[_0x274818(0x215)])&&_0x22212a[_0x274818(0x184)](global[_0x274818(0x215)][_0x274818(0x1ab)],0x0)&&globals[_0x274818(0x1ba)](_0x22212a[_0x274818(0x1a3)]))try{const _0x31edc4=await global[_0x274818(0x215)][0x0][_0x274818(0x19e)];if(_0x31edc4){let _0x5f597c=!![];const _0x4ecd10=await global['__drivers'][0x0][_0x274818(0x20c)]();let _0x38d2e9;try{_0x38d2e9=new URL(_0x4ecd10);}catch(_0x41a81c){_0x5f597c=![];}_0x5f597c=_0x22212a[_0x274818(0x173)](_0x38d2e9[_0x274818(0x1a4)],_0x22212a['AVQiq'])||_0x22212a[_0x274818(0x1f7)](_0x38d2e9[_0x274818(0x1a4)],_0x22212a['SwVPI']),_0x5f597c&&(this['currentTest'][_0x274818(0x1b7)]&&logger[_0x274818(0x1c9)](_0x22212a['htRGc'])),this['currentTest'][_0x274818(0x197)]=this[_0x274818(0x20f)][_0x274818(0x1b7)],this[_0x274818(0x20f)]['shouldScanTestForAccessibility']&&logger[_0x274818(0x1c9)](_0x22212a[_0x274818(0x210)]);}}catch(_0xc50815){logger[_0x274818(0x1f3)](_0x274818(0x16a)+util[_0x274818(0x1d0)](_0xc50815));}_0x22212a[_0x274818(0x213)](_0x3aee88);})['then'](()=>{const _0x63716e=a36_0x5a90;_0x42fede[_0x63716e(0x17d)](_0x5152f5);});},{'platform':_0x22212a[_0x5d46a5(0x1df)](nestedKeyValue,global[_0x5d46a5(0x1f1)],[_0x22212a['KHFzT']]),'hookType':_0x22212a[_0x5d46a5(0x1ce)]})();},'afterEach'(_0x4855b9){const _0x4ad50b=a36_0x2db1cd,_0x593f28={'PFWZo':function(_0x111758,_0x3e1ecb){return _0x111758!==_0x3e1ecb;},'rdKLZ':'passed','ZvMir':function(_0x4d4857,_0x3e9b0f,_0x427d87){return _0x4d4857(_0x3e9b0f,_0x427d87);},'bLyHn':function(_0x4a0d3b,_0x565df1){return _0x4a0d3b+_0x565df1;},'klKpP':'Failed:\x20','EndpM':_0x4ad50b(0x1f3),'Opypy':'Passed','QZaPA':_0x4ad50b(0x1c9),'BzzES':_0x4ad50b(0x1ec),'rxqWZ':function(_0x612de1,_0x3c67b8){return _0x612de1>_0x3c67b8;},'MnNys':function(_0x713f12,_0x58cb5e){return _0x713f12===_0x58cb5e;},'AsfDY':_0x4ad50b(0x196),'yllBO':_0x4ad50b(0x1ef),'NrwCL':function(_0x31b058,_0x9ac685,_0x447195,_0x420da3){return _0x31b058(_0x9ac685,_0x447195,_0x420da3);},'PQwdH':_0x4ad50b(0x211),'DiRWc':_0x4ad50b(0x1eb),'pSAWX':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','DrILO':_0x4ad50b(0x1c1),'hrIAs':'afterTest','joAIX':_0x4ad50b(0x1fa),'lYlWP':_0x4ad50b(0x167),'GwaLl':_0x4ad50b(0x1d9),'EisWP':_0x4ad50b(0x1a2),'rjHMz':_0x4ad50b(0x189),'ErWnL':function(_0x45bc5d){return _0x45bc5d();},'PpCTw':function(_0x3ca4b7,_0x54caef,_0x32b5a0){return _0x3ca4b7(_0x54caef,_0x32b5a0);},'ZbEZp':_0x4ad50b(0x1cd),'rfEzI':function(_0x2f5b9d){return _0x2f5b9d();},'pBlKN':'Mocha','zkCNH':_0x4ad50b(0x1da),'OvJnC':_0x4ad50b(0x182)},_0x80e09e='browserstack internal helper hook';this[_0x4ad50b(0x1be)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x593f28['pBlKN']]),global[_0x4ad50b(0x170)]=this['currentTest']['titlePath']()[_0x4ad50b(0x1e7)](_0x593f28[_0x4ad50b(0x205)]),PerformanceTester[_0x4ad50b(0x1e8)](PerformanceSdkEvents[_0x4ad50b(0x188)],()=>{const _0x4a568c=_0x4ad50b,_0x47392a={'ddDgj':function(_0x127aa3,_0x2bf919){const _0x47a1ba=a36_0x5a90;return _0x593f28[_0x47a1ba(0x1e0)](_0x127aa3,_0x2bf919);},'PLXKE':_0x593f28[_0x4a568c(0x192)],'KQaTC':function(_0x1855d0,_0x346f7b,_0x480847){const _0x2981af=_0x4a568c;return _0x593f28[_0x2981af(0x187)](_0x1855d0,_0x346f7b,_0x480847);},'GrDeV':function(_0x1b0e68,_0x8bdf1c){return _0x593f28['bLyHn'](_0x1b0e68,_0x8bdf1c);},'HlgzD':_0x593f28['klKpP'],'qxfRs':_0x593f28[_0x4a568c(0x217)],'oJQWb':function(_0x55cd88,_0x318cfc,_0x14b8ad){return _0x593f28['ZvMir'](_0x55cd88,_0x318cfc,_0x14b8ad);},'IiZDO':_0x593f28['Opypy'],'LlJYC':_0x593f28[_0x4a568c(0x20d)],'GTgPB':_0x593f28[_0x4a568c(0x205)],'NWMQS':function(_0x375e56,_0x59b631){const _0x45c4de=_0x4a568c;return _0x593f28[_0x45c4de(0x1f8)](_0x375e56,_0x59b631);},'BDleN':function(_0x177a75,_0x418cc2){return _0x593f28['MnNys'](_0x177a75,_0x418cc2);},'xBaaT':_0x593f28[_0x4a568c(0x202)],'OKceR':function(_0x38d54c,_0x67fb04){return _0x593f28['rxqWZ'](_0x38d54c,_0x67fb04);},'TfBnw':_0x593f28[_0x4a568c(0x1f2)],'VQJJj':function(_0x355cf9,_0x4d1aa2,_0x5c2f29,_0x197c38){const _0x3c1e78=_0x4a568c;return _0x593f28[_0x3c1e78(0x174)](_0x355cf9,_0x4d1aa2,_0x5c2f29,_0x197c38);},'vjHBB':_0x593f28['PQwdH'],'oBaQw':_0x593f28[_0x4a568c(0x1ff)],'WtITp':_0x593f28[_0x4a568c(0x186)],'KjSIo':_0x593f28['DrILO'],'AZADG':_0x593f28[_0x4a568c(0x19b)],'mXhsX':_0x593f28[_0x4a568c(0x1b8)],'qXQoD':_0x593f28[_0x4a568c(0x1fe)],'XHnNW':_0x593f28[_0x4a568c(0x1d2)],'hHaPk':_0x593f28[_0x4a568c(0x1c4)],'kDwZN':_0x593f28['rjHMz'],'ZVOKP':function(_0xfec68a){const _0x11e007=_0x4a568c;return _0x593f28[_0x11e007(0x1b3)](_0xfec68a);},'nSajx':function(_0x87bb5e,_0x40b8f4,_0x54611b){const _0xa7829e=_0x4a568c;return _0x593f28[_0xa7829e(0x191)](_0x87bb5e,_0x40b8f4,_0x54611b);},'mXCmk':_0x593f28[_0x4a568c(0x1c3)],'qHzbk':function(_0x4bafbd){const _0x1bc982=_0x4a568c;return _0x593f28[_0x1bc982(0x1cc)](_0x4bafbd);},'mgDrY':function(_0x52b583){const _0x50caad=_0x4a568c;return _0x593f28[_0x50caad(0x1cc)](_0x52b583);}},_0x5a4abd=async(_0x32ccd1,_0x152b86)=>{const _0x5ebcb2=_0x4a568c;await global[_0x5ebcb2(0x215)][0x0][_0x5ebcb2(0x207)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x32ccd1+_0x5ebcb2(0x18d)+_0x152b86+_0x5ebcb2(0x20a));};new Promise(async _0x203b4=>{const _0x57da98=_0x4a568c,_0x340a0e={};_0x340a0e[_0x57da98(0x1a9)]=_0x47392a[_0x57da98(0x168)];const _0x38a0da=_0x340a0e;try{_0x47392a[_0x57da98(0x1ad)](global[_0x57da98(0x215)]['length'],0x1)&&(await global[_0x57da98(0x1e5)](),global[_0x57da98(0x215)][_0x57da98(0x1e3)](),global[_0x57da98(0x1f9)]=[],global[_0x57da98(0x1af)]=![]);try{if(global['percy']&&_0x47392a[_0x57da98(0x1f0)](global[_0x57da98(0x214)],_0x47392a['xBaaT'])&&global[_0x57da98(0x215)][0x0]){const _0x20fd2f=_0x47392a[_0x57da98(0x18f)](global[_0x57da98(0x1e2)][_0x57da98(0x1ab)],0x0)?!!global['capabilities'][0x0]['app']||!!global['capabilities'][0x0][_0x47392a[_0x57da98(0x1d5)]]:![],_0x3950c4={};_0x3950c4['app']=_0x20fd2f,await _0x47392a['VQJJj'](percyAutoCapture,global[_0x57da98(0x215)][0x0],_0x47392a[_0x57da98(0x190)],_0x3950c4);}}catch(_0x36997b){logger[_0x57da98(0x1cd)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x36997b);}!global[_0x57da98(0x176)]&&(await PerformanceTester[_0x57da98(0x1e8)](PerformanceAutEvents[_0x57da98(0x1fd)],async()=>{const _0x142d54=_0x57da98;await global[_0x142d54(0x215)][0x0][_0x142d54(0x207)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x142d54(0x1bb)](this[_0x142d54(0x20f)][_0x142d54(0x1b4)]()[_0x142d54(0x1e7)](_0x38a0da['auKIl']))+'}}');})(),global[_0x57da98(0x215)][0x0][_0x57da98(0x1c2)]=!![]),await PerformanceTester[_0x57da98(0x1e8)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x497ee6=_0x57da98,_0x164f67=_0x47392a[_0x497ee6(0x216)](this[_0x497ee6(0x20f)][_0x497ee6(0x1d1)],_0x47392a['PLXKE']);_0x164f67?(global[_0x497ee6(0x1af)]=!![],global[_0x497ee6(0x1f9)][_0x497ee6(0x1d7)](this[_0x497ee6(0x20f)]['err'][_0x497ee6(0x1aa)]),await _0x47392a[_0x497ee6(0x203)](_0x5a4abd,JSON[_0x497ee6(0x1bb)](_0x47392a[_0x497ee6(0x1bc)](_0x47392a['HlgzD'],this[_0x497ee6(0x20f)][_0x497ee6(0x1ea)][_0x497ee6(0x1aa)])),_0x47392a['qxfRs'])):await _0x47392a['oJQWb'](_0x5a4abd,JSON[_0x497ee6(0x1bb)](_0x47392a['IiZDO']),_0x47392a[_0x497ee6(0x1c6)]);})();}catch(_0x1bb685){logger[_0x57da98(0x1cd)](_0x57da98(0x1d6)+_0x1bb685);}try{if(this[_0x57da98(0x20f)][_0x57da98(0x197)]&&globals['getGlobal'](_0x47392a[_0x57da98(0x1fc)])&&globals[_0x57da98(0x1ba)](_0x47392a['oBaQw'])){logger['info'](_0x47392a['WtITp']);const _0x5884a3={};_0x5884a3[_0x57da98(0x1f5)]=this[_0x57da98(0x20f)]['testAnalyticsId'],_0x5884a3['thBuildUuid']=process[_0x57da98(0x1bd)][testHubConstants[_0x57da98(0x1ac)][_0x57da98(0x1a5)]],_0x5884a3[_0x57da98(0x1ee)]=process[_0x57da98(0x1bd)][testHubConstants[_0x57da98(0x1ac)][_0x57da98(0x18c)]];const _0x1e740d=_0x5884a3;logger[_0x57da98(0x1cd)](_0x57da98(0x198)+JSON[_0x57da98(0x1bb)](_0x1e740d)),logger['debug'](_0x47392a['KjSIo']);const _0x179ec5={};_0x179ec5[_0x57da98(0x18b)]=_0x47392a[_0x57da98(0x1a8)];const _0x2e7b35=await PerformanceTester[_0x57da98(0x1e8)](PerformanceA11yEvents[_0x57da98(0x18e)],async()=>{const _0x28d13e=_0x57da98;return await accessibilityRetryHelper[_0x28d13e(0x1b1)](global[_0x28d13e(0x215)][0x0],global['browserstackSessionName']);},_0x179ec5)();_0x2e7b35?logger[_0x57da98(0x1cd)](_0x47392a[_0x57da98(0x1c8)]):logger[_0x57da98(0x19f)](_0x47392a[_0x57da98(0x16b)]);const _0x553b94=await PerformanceTester[_0x57da98(0x1e8)](PerformanceA11yEvents[_0x57da98(0x185)],async()=>{const _0x5774e7=_0x57da98;return await accessibilityRetryHelper[_0x5774e7(0x17c)](global[_0x5774e7(0x215)][0x0],_0x1e740d);})();_0x553b94?logger[_0x57da98(0x1cd)](_0x47392a['XHnNW']):logger[_0x57da98(0x19f)](_0x47392a[_0x57da98(0x194)]),logger[_0x57da98(0x1c9)](_0x47392a[_0x57da98(0x1c7)]);}}catch(_0xb4c94b){logger[_0x57da98(0x1f3)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x57da98(0x1b4)]()+'.\x20Error\x20:',_0xb4c94b);}try{try{if(_0x47392a[_0x57da98(0x17b)](shouldProcessEventForTesthub)){global[_0x57da98(0x215)][0x0]&&await _0x47392a[_0x57da98(0x169)](sendPlatformDetails,global[_0x57da98(0x215)][0x0],this[_0x57da98(0x20f)]?this[_0x57da98(0x20f)][_0x57da98(0x1e1)]:null);if(_0x47392a['ZVOKP'](isBrowserstackInfra)){PerformanceTester[_0x57da98(0x206)](PerformanceO11yEvents[_0x57da98(0x18a)]);const _0x22cdf3=_0x57da98(0x175)+Date[_0x57da98(0x19a)]();await _0x47392a[_0x57da98(0x180)](_0x5a4abd,JSON[_0x57da98(0x1bb)](_0x22cdf3),_0x47392a[_0x57da98(0x1de)]),PerformanceTester[_0x57da98(0x16e)](PerformanceO11yEvents[_0x57da98(0x18a)]);}}}catch(_0x1ccee0){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x1ccee0),PerformanceTester[_0x57da98(0x16e)](PerformanceO11yEvents[_0x57da98(0x18a)],![],_0x1ccee0);}_0x47392a['NWMQS'](global[_0x57da98(0x215)][0x0][_0x57da98(0x178)],0x0)&&await global[_0x57da98(0x1e5)]();}catch(_0x11a8ac){logger['debug'](_0x57da98(0x195)+_0x11a8ac);}_0x47392a[_0x57da98(0x1e4)](_0x203b4);})[_0x4a568c(0x1a7)](()=>{const _0x4e68ae=_0x4a568c;_0x47392a[_0x4e68ae(0x1d3)](_0x4855b9);});},{'platform':_0x593f28['PpCTw'](nestedKeyValue,global[_0x4ad50b(0x1f1)],[_0x593f28['zkCNH']]),'hookType':_0x593f28[_0x4ad50b(0x172)]})();},'afterAll'(_0x50cb77){const _0x34113d=a36_0x2db1cd,_0xf14435={'qelwf':function(_0x4b3d14){return _0x4b3d14();},'AXHCb':function(_0x402b46){return _0x402b46();},'PBkYs':'Mocha','NdJZZ':function(_0x1f73bf,_0x3794aa,_0x3b1880){return _0x1f73bf(_0x3794aa,_0x3b1880);},'FRFuy':_0x34113d(0x1da),'hrrRF':_0x34113d(0x200)},_0x272cf9='browserstack internal helper hook';this[_0x34113d(0x1be)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xf14435[_0x34113d(0x16f)]]),PerformanceTester[_0x34113d(0x1e8)](PerformanceSdkEvents[_0x34113d(0x188)],()=>{const _0x4748b7=_0x34113d,_0x210343={'oSGJw':function(_0x545cda){return _0xf14435['AXHCb'](_0x545cda);}};new Promise(async _0x5c200d=>{const _0x760184=a36_0x5a90;await global[_0x760184(0x1e5)](),_0x210343['oSGJw'](_0x5c200d);})[_0x4748b7(0x1a7)]()[_0x4748b7(0x1dc)](()=>{const _0x494ceb=_0x4748b7;_0xf14435[_0x494ceb(0x19c)](_0x50cb77);});},{'platform':_0xf14435[_0x34113d(0x201)](nestedKeyValue,global[_0x34113d(0x1f1)],[_0xf14435['FRFuy']]),'hookType':_0xf14435[_0x34113d(0x199)]})();}};function a36_0x5bf6(){const _0x416581=['mgDrY','18jEowhX','TfBnw','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','push','startMonitoring','Accessibility\x20results\x20saved\x20successfully','index','../../helpers/accessibility-automation/accessibilityRetryHelper','finally','beforeAll','mXCmk','aCkkv','PFWZo','testAnalyticsId','capabilities','shift','qHzbk','driverCleanup','https:','join','measureWrapper','548919kbOobj','err','bstackA11yShouldScan','\x20-\x20','657yzZRYI','thJwtToken','appium:app','BDleN','__platformCaps','yllBO','error','QbFfC','thTestRunUuid','lbRDF','dytzZ','rxqWZ','__error_messages__','Accessibility\x20scan\x20completed\x20successfully','../../helpers/performance/constants','vjHBB','SESSION_NAME','lYlWP','DiRWc','afterAll','NdJZZ','AsfDY','KQaTC','1186140ZKNvHz','BzzES','start','executeScript','passed','8RPfxOt','\x22}}','865700UvTGtm','getCurrentUrl','QZaPA','173338fFqlUZ','currentTest','rvByt','isAccessibilityPlatform','tZLfq','iuswr','percyCaptureMode','__drivers','ddDgj','EndpM','initQuit','icTkY','browserstackSessionName','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','GTgPB','oJQWb','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','qXQoD','159747hyWwxs','http:','end','PBkYs','sessionName','kSWyb','OvJnC','RwwYl','NrwCL','ObservabilitySync:','__skipSessionName','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','quitCount_','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','mochaHooks','ZVOKP','saveAccessibilityResultsWithRetry','elfNU','isArray','../../helpers/testhub/utils','nSajx','Ygvcz','afterEach','util','KjcNT','SAVE_RESULTS','pSAWX','ZvMir','SDK_HOOK','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SYNC','command','BROWSERSTACK_TESTHUB_JWT',',\x22level\x22:\x20\x22','PERFORM_SCAN','OKceR','xBaaT','PpCTw','rdKLZ','../../helpers/percy/utils','hHaPk','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','testcase','accessibilityScanStarted','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','hrrRF','now','hrIAs','qelwf','../../helpers/performance/performance-tester','session_','warn','browserstackTestName','ujZUG','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','FjBuv','protocol','BROWSERSTACK_TESTHUB_UUID','../../helpers/logger','then','AZADG','auKIl','message','length','ENV_VAR','NWMQS','../../helpers/accessibility-automation/helper','__sessionFailed','../utils/constants','performScanWithRetry','../../helpers/globals','ErWnL','titlePath','EzArR','setGlobal','shouldScanTestForAccessibility','joAIX','329634SweCEt','getGlobal','stringify','GrDeV','env','timeout','CCTnm','oMFGK','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','sessionNameSet__','ZbEZp','EisWP','../../helpers/testhub/constants','LlJYC','kDwZN','mXhsX','info','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','26384iRQMZs','rfEzI','debug','SkmGs','./test-observability/mochaUtils','format','state','GwaLl'];a36_0x5bf6=function(){return _0x416581;};return a36_0x5bf6();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a37_0x1b3dbf=a37_0x3844;(function(_0x1e4a13,_0x1567c){const _0xbd3078=a37_0x3844,_0x5520ce=_0x1e4a13();while(!![]){try{const _0x119bb7=parseInt(_0xbd3078(0x1b5))/0x1+-parseInt(_0xbd3078(0x1da))/0x2*(parseInt(_0xbd3078(0x19e))/0x3)+parseInt(_0xbd3078(0x19f))/0x4+-parseInt(_0xbd3078(0x1d5))/0x5+-parseInt(_0xbd3078(0x19b))/0x6+-parseInt(_0xbd3078(0x1ba))/0x7*(parseInt(_0xbd3078(0x195))/0x8)+parseInt(_0xbd3078(0x1d1))/0x9*(parseInt(_0xbd3078(0x1bc))/0xa);if(_0x119bb7===_0x1567c)break;else _0x5520ce['push'](_0x5520ce['shift']());}catch(_0x29f185){_0x5520ce['push'](_0x5520ce['shift']());}}}(a37_0x4c64,0x6a81f));function a37_0x4c64(){const _0x2bd628=['yIukS','info','FpNJU','host','../utils/constants','dCzAg','UoHNs','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Getting\x20your\x20nightwatch\x20configs\x20from\x20','ctoFD','start_process','webdriver','env','split','tOfbe','findIndex','wdkqR','desiredCapabilities','507163CIYPLl','writeFileSync','now','join','stringify','7DCGYQj','test','2412020QyBcRe','winstonLogger','test_settings','trim','port','forEach','rLJLz','close','inherit','ixPWV','AEMqg','ikywS','platform','cpSqJ','length','isUndefined','cwd','../../helpers/logger','Deleting\x20','child\x20process\x20exited\x20with\x20code\x20','modifyBrowserStackW3CCaps','36kWikxS','config','existsSync','push','3399170ASSMiW','BhhHC','../../helpers/helper','splice','fwjwv','2uIkCLi','MHwah','nightwatch.cmd','RffZe','unlinkSync','path','slice','2749712nIimhP','getPlatformName','iDsot','fEZBx','NxjEX','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','489726HCldWJ','selenium','nightwatch.conf.js','1264299pnmovc','1963544vipqfm','--config','filter','modifyBrowserStackCaps'];a37_0x4c64=function(){return _0x2bd628;};return a37_0x4c64();}const fs=require('fs'),path=require(a37_0x1b3dbf(0x193)),{spawn}=require('child_process'),logger=require(a37_0x1b3dbf(0x1cd))[a37_0x1b3dbf(0x1bd)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a37_0x1b3dbf(0x1d7)),constants=require(a37_0x1b3dbf(0x1a7)),getUserNightwatchConfigs=(_0x3a25db,_0x399b0c)=>{const _0x3cf260=a37_0x1b3dbf,_0x44e892={'iDsot':_0x3cf260(0x19d),'ixPWV':'nightwatch.json','yIukS':function(_0x4d4b84,_0x562f19){return _0x4d4b84(_0x562f19);},'AEMqg':_0x3cf260(0x19a)};let _0x19707f=null,_0x4701c4={};const _0x161503=_0x399b0c[_0x3cf260(0x1b2)](_0x162223=>_0x162223===_0x3cf260(0x1a0));if(!helper[_0x3cf260(0x1cb)](_0x3a25db[_0x3cf260(0x1d2)])&&fs['existsSync'](path['join'](process[_0x3cf260(0x1cc)](),_0x3a25db['config'])))_0x19707f=path[_0x3cf260(0x1b8)](process[_0x3cf260(0x1cc)](),_0x3a25db[_0x3cf260(0x1d2)]),_0x399b0c[_0x3cf260(0x1d8)](_0x161503,0x2);else{if(fs[_0x3cf260(0x1d3)](path[_0x3cf260(0x1b8)](process['cwd'](),_0x44e892[_0x3cf260(0x197)])))_0x19707f=path[_0x3cf260(0x1b8)](process[_0x3cf260(0x1cc)](),_0x44e892[_0x3cf260(0x197)]);else fs[_0x3cf260(0x1d3)](path[_0x3cf260(0x1b8)](process[_0x3cf260(0x1cc)](),_0x44e892[_0x3cf260(0x1c5)]))&&(_0x19707f=path[_0x3cf260(0x1b8)](process[_0x3cf260(0x1cc)](),_0x44e892[_0x3cf260(0x1c5)]));}return _0x19707f?(logger[_0x3cf260(0x1a4)](_0x3cf260(0x1ab)+_0x19707f),_0x4701c4=_0x44e892[_0x3cf260(0x1a3)](require,_0x19707f)):logger[_0x3cf260(0x1a4)](_0x44e892[_0x3cf260(0x1c6)]),_0x4701c4;},removeExistingEnvs=_0x25184a=>{const _0x2e1f4e=a37_0x1b3dbf,_0x4287fe={};_0x4287fe[_0x2e1f4e(0x1c2)]=function(_0x132d57,_0x35738f){return _0x132d57>_0x35738f;};const _0xc63f74=_0x4287fe;let _0x18cdc1=_0x25184a[_0x2e1f4e(0x1b2)](_0x616a80=>_0x616a80==='--env');_0xc63f74[_0x2e1f4e(0x1c2)](_0x18cdc1,-0x1)&&_0x25184a['splice'](_0x18cdc1,0x2),_0x18cdc1=_0x25184a[_0x2e1f4e(0x1b2)](_0x461284=>_0x461284==='-e'),_0xc63f74['rLJLz'](_0x18cdc1,-0x1)&&_0x25184a[_0x2e1f4e(0x1d8)](_0x18cdc1,0x2);};function run(_0x285906,_0x2eee8b,_0x554f95){const _0x4aa22c=a37_0x1b3dbf,_0x22a889={'BhhHC':'nightwatch','dCzAg':function(_0x4b1ebe,_0x18a1eb){return _0x4b1ebe+_0x18a1eb;},'NxjEX':_0x4aa22c(0x1be),'fwjwv':function(_0x42ef11,_0x300d46,_0x391663){return _0x42ef11(_0x300d46,_0x391663);},'cpSqJ':'hub.browserstack.com','ikywS':_0x4aa22c(0x1aa),'tVNAq':function(_0x3174cd,_0x568d5a){return _0x3174cd===_0x568d5a;},'BtHRu':'nightwatch-browserstack.json','RffZe':function(_0x3d99e2,_0x372e02){return _0x3d99e2(_0x372e02);},'ctoFD':function(_0x5eb66b,_0x1d9172,_0x266549,_0x8d1057){return _0x5eb66b(_0x1d9172,_0x266549,_0x8d1057);},'wdkqR':_0x4aa22c(0x190),'BTEuV':_0x4aa22c(0x1a0),'UoHNs':'--env','FpNJU':_0x4aa22c(0x1c4),'fEZBx':_0x4aa22c(0x1c3)};if(!_0x554f95[_0x4aa22c(0x1d2)])return;const _0x2bb308=_0x22a889[_0x4aa22c(0x1d9)](getUserNightwatchConfigs,_0x285906,_0x2eee8b),_0x43a07c={};_0x43a07c[_0x4aa22c(0x1ad)]=![];const _0xbd4205={};_0xbd4205[_0x4aa22c(0x1a6)]=_0x22a889[_0x4aa22c(0x1c9)],_0xbd4205[_0x4aa22c(0x1c0)]=0x1bb;const _0x48e503={};_0x48e503[_0x4aa22c(0x1ae)]=_0x43a07c,_0x48e503[_0x4aa22c(0x19c)]=_0xbd4205;const _0x24ef7e=_0x48e503;logger[_0x4aa22c(0x1a4)](_0x22a889[_0x4aa22c(0x1c7)]);const _0x56c976={..._0x2bb308},_0x28af38=_0x56c976,_0x50b275=helper['useW3C'](_0x554f95[_0x4aa22c(0x1d2)]),_0x342846=[];_0x554f95[_0x4aa22c(0x1d2)]['platforms'][_0x4aa22c(0x1c1)]((_0x476b13,_0x35a9b1)=>{const _0x3d6691=_0x4aa22c;_0x50b275?_0x342846['push'](helper[_0x3d6691(0x1d0)](_0x554f95[_0x3d6691(0x1d2)],_0x22a889['BhhHC'],_0x35a9b1)):_0x342846[_0x3d6691(0x1d4)](helper[_0x3d6691(0x1a2)](_0x554f95[_0x3d6691(0x1d2)],_0x22a889[_0x3d6691(0x1d6)],_0x35a9b1));});const _0x43cb5b={},_0x44099f=[];_0x285906[_0x4aa22c(0x1af)]=_0x285906[_0x4aa22c(0x1af)]||_0x285906['e'];const _0x32eef9=_0x285906[_0x4aa22c(0x1af)]?_0x285906['env'][_0x4aa22c(0x1bf)]()[_0x4aa22c(0x1b0)](',')['map'](_0x4d3a0e=>_0x4d3a0e[_0x4aa22c(0x1bf)]())[_0x4aa22c(0x1a1)](_0x51d782=>_0x51d782!==''):[''];_0x22a889['tVNAq'](_0x32eef9[_0x4aa22c(0x1ca)],0x0)&&_0x32eef9[_0x4aa22c(0x1d4)]('');_0x32eef9[_0x4aa22c(0x1c1)](_0xaa4fd9=>{const _0x508911=_0x4aa22c,_0x1980e={'tOfbe':function(_0x150f35,_0x1eaa0d){const _0x57b28c=a37_0x3844;return _0x22a889[_0x57b28c(0x1a8)](_0x150f35,_0x1eaa0d);},'MHwah':_0x22a889[_0x508911(0x199)]};_0x342846['forEach'](_0x29f2fe=>{const _0x473cbf=_0x508911;let _0xebacdd=_0x1980e[_0x473cbf(0x1b1)](helper[_0x473cbf(0x196)](_0x29f2fe,'_'),'_'+Date[_0x473cbf(0x1b7)]());_0xaa4fd9&&(_0xebacdd+='_'+_0xaa4fd9);if(_0xaa4fd9&&(!_0x2bb308[_0x1980e[_0x473cbf(0x18f)]]||!_0x2bb308[_0x1980e['MHwah']][_0xaa4fd9]))return;const _0x583d10={..._0x24ef7e};_0x583d10[_0x473cbf(0x1b4)]=_0x29f2fe;const _0x2bd90a=_0x583d10;_0x43cb5b[_0xebacdd]=_0xaa4fd9?helper['mergeDeep'](_0x2bb308[_0x1980e[_0x473cbf(0x18f)]][_0xaa4fd9],_0x2bd90a):_0x2bd90a,_0x44099f['push'](_0xebacdd);});});!_0x28af38['test_settings']&&(_0x28af38['test_settings']={});_0x28af38['test_settings']={..._0x28af38['test_settings'],..._0x43cb5b};const _0x36e801=path[_0x4aa22c(0x1b8)](__dirname,_0x22a889['BtHRu']);fs[_0x4aa22c(0x1b6)](_0x36e801,JSON[_0x4aa22c(0x1b9)](_0x28af38)),_0x22a889[_0x4aa22c(0x191)](removeExistingEnvs,_0x2eee8b);const _0x242ada=_0x22a889[_0x4aa22c(0x1ac)](spawn,/^win/[_0x4aa22c(0x1bb)](process[_0x4aa22c(0x1c8)])?_0x22a889[_0x4aa22c(0x1b3)]:_0x22a889[_0x4aa22c(0x1d6)],[_0x22a889['BTEuV'],_0x36e801,..._0x2eee8b[_0x4aa22c(0x194)](0x1),_0x22a889[_0x4aa22c(0x1a9)],_0x44099f[_0x4aa22c(0x1b8)](',')],{'stdio':_0x22a889[_0x4aa22c(0x1a5)]});_0x242ada['on'](_0x22a889[_0x4aa22c(0x198)],async _0x2286b6=>{const _0x35afcb=_0x4aa22c;logger['debug'](_0x35afcb(0x1cf)+_0x2286b6),logger[_0x35afcb(0x1a4)](_0x35afcb(0x1ce)+_0x36e801),fs[_0x35afcb(0x192)](_0x36e801);});}function a37_0x3844(_0x2e6b98,_0x1e2abc){const _0x4c642e=a37_0x4c64();return a37_0x3844=function(_0x3844f4,_0x26897f){_0x3844f4=_0x3844f4-0x18f;let _0x364587=_0x4c642e[_0x3844f4];return _0x364587;},a37_0x3844(_0x2e6b98,_0x1e2abc);}module['exports']=run;
2
+ 'use strict';const a37_0x4e0348=a37_0x158e;(function(_0x22b093,_0x284c94){const _0xeae91=a37_0x158e,_0x41ae18=_0x22b093();while(!![]){try{const _0x23eb3e=parseInt(_0xeae91(0x14c))/0x1*(parseInt(_0xeae91(0x139))/0x2)+-parseInt(_0xeae91(0x165))/0x3+parseInt(_0xeae91(0x155))/0x4*(-parseInt(_0xeae91(0x136))/0x5)+-parseInt(_0xeae91(0x15d))/0x6+parseInt(_0xeae91(0x133))/0x7*(-parseInt(_0xeae91(0x137))/0x8)+parseInt(_0xeae91(0x15f))/0x9*(-parseInt(_0xeae91(0x129))/0xa)+parseInt(_0xeae91(0x143))/0xb*(parseInt(_0xeae91(0x122))/0xc);if(_0x23eb3e===_0x284c94)break;else _0x41ae18['push'](_0x41ae18['shift']());}catch(_0x5a3cc8){_0x41ae18['push'](_0x41ae18['shift']());}}}(a37_0x3530,0x85811));function a37_0x158e(_0x31d222,_0x5f2dae){const _0x353047=a37_0x3530();return a37_0x158e=function(_0x158e04,_0x1b6b83){_0x158e04=_0x158e04-0x11e;let _0x44620f=_0x353047[_0x158e04];return _0x44620f;},a37_0x158e(_0x31d222,_0x5f2dae);}function a37_0x3530(){const _0x1a0a2a=['970YzrEjz','winstonLogger','cwd','child\x20process\x20exited\x20with\x20code\x20','../utils/constants','FYeYm','../../helpers/helper','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch.cmd','mgolw','7HgaHCC','NzndA','IPLyL','5ywkAcM','8627144QxcuSJ','selenium','4vHswwY','modifyBrowserStackW3CCaps','../../helpers/BrowserStackSetup','unlinkSync','VxEhX','AeAao','MYenZ','writeFileSync','KbHUs','hub.browserstack.com','14102yRpfcj','forEach','SqLWJ','nightwatch.json','info','join','nightwatch','getPlatformName','modifyBrowserStackCaps','456569JjWROX','filter','GRFCf','wckLc','close','desiredCapabilities','path','XmXEd','--env','3343668JRzXsj','nightwatch.conf.js','jJluR','nightwatch-browserstack.json','OdmHe','platform','--config','vjKKz','37506ypgMhG','port','32517PZAdwP','webdriver','SQPhh','push','env','test_settings','1262493mMsIam','findIndex','lQbyK','start_process','CSFeN','Getting\x20your\x20nightwatch\x20configs\x20from\x20','isUndefined','yWVxW','slice','Deleting\x20','now','../../helpers/logger','EnVfw','config','platforms','21768yNrQSm','splice','trim','existsSync','length','mYZJi','map'];a37_0x3530=function(){return _0x1a0a2a;};return a37_0x3530();}const fs=require('fs'),path=require(a37_0x4e0348(0x152)),{spawn}=require('child_process'),logger=require(a37_0x4e0348(0x11e))[a37_0x4e0348(0x12a)],{default:BrowserStackSetup}=require(a37_0x4e0348(0x13b)),helper=require(a37_0x4e0348(0x12f)),constants=require(a37_0x4e0348(0x12d)),getUserNightwatchConfigs=(_0xdae08a,_0x2b8cba)=>{const _0x4995ef=a37_0x4e0348,_0x167361={'SQPhh':_0x4995ef(0x156),'vjKKz':_0x4995ef(0x146),'yWVxW':function(_0x24b888,_0x374634){return _0x24b888(_0x374634);},'SqLWJ':_0x4995ef(0x130)};let _0x5e0df3=null,_0x4219fc={};const _0x28a834=_0x2b8cba[_0x4995ef(0x166)](_0x4cddf8=>_0x4cddf8==='--config');if(!helper[_0x4995ef(0x16b)](_0xdae08a['config'])&&fs[_0x4995ef(0x125)](path[_0x4995ef(0x148)](process[_0x4995ef(0x12b)](),_0xdae08a[_0x4995ef(0x120)])))_0x5e0df3=path[_0x4995ef(0x148)](process[_0x4995ef(0x12b)](),_0xdae08a[_0x4995ef(0x120)]),_0x2b8cba[_0x4995ef(0x123)](_0x28a834,0x2);else{if(fs['existsSync'](path[_0x4995ef(0x148)](process[_0x4995ef(0x12b)](),_0x167361[_0x4995ef(0x161)])))_0x5e0df3=path[_0x4995ef(0x148)](process[_0x4995ef(0x12b)](),_0x167361['SQPhh']);else fs[_0x4995ef(0x125)](path[_0x4995ef(0x148)](process[_0x4995ef(0x12b)](),_0x167361[_0x4995ef(0x15c)]))&&(_0x5e0df3=path[_0x4995ef(0x148)](process[_0x4995ef(0x12b)](),_0x167361[_0x4995ef(0x15c)]));}return _0x5e0df3?(logger[_0x4995ef(0x147)](_0x4995ef(0x16a)+_0x5e0df3),_0x4219fc=_0x167361[_0x4995ef(0x16c)](require,_0x5e0df3)):logger[_0x4995ef(0x147)](_0x167361[_0x4995ef(0x145)]),_0x4219fc;},removeExistingEnvs=_0x5a3799=>{const _0x5d3ca4=a37_0x4e0348,_0x9356a5={};_0x9356a5['IPLyL']=function(_0x2adcb1,_0x4c9fb0){return _0x2adcb1>_0x4c9fb0;},_0x9356a5[_0x5d3ca4(0x134)]=function(_0x3938f5,_0x3361c7){return _0x3938f5>_0x3361c7;};const _0x199a70=_0x9356a5;let _0x1bf459=_0x5a3799[_0x5d3ca4(0x166)](_0xfe7fba=>_0xfe7fba===_0x5d3ca4(0x154));_0x199a70[_0x5d3ca4(0x135)](_0x1bf459,-0x1)&&_0x5a3799[_0x5d3ca4(0x123)](_0x1bf459,0x2),_0x1bf459=_0x5a3799[_0x5d3ca4(0x166)](_0x53e3b3=>_0x53e3b3==='-e'),_0x199a70[_0x5d3ca4(0x134)](_0x1bf459,-0x1)&&_0x5a3799[_0x5d3ca4(0x123)](_0x1bf459,0x2);};function run(_0x2e6ee9,_0xcb5d4a,_0x223acd){const _0x59dc70=a37_0x4e0348,_0x139b12={'AeAao':_0x59dc70(0x149),'GRFCf':function(_0x4fee74,_0x45adba){return _0x4fee74+_0x45adba;},'MYenZ':'test_settings','OdmHe':function(_0x1c5c1f,_0x58f7da,_0x26def1){return _0x1c5c1f(_0x58f7da,_0x26def1);},'knamU':_0x59dc70(0x142),'wckLc':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','mYZJi':function(_0x53f1d2,_0x5e0625){return _0x53f1d2===_0x5e0625;},'FYeYm':_0x59dc70(0x158),'mgolw':function(_0x1d01f5,_0x4dda1e){return _0x1d01f5(_0x4dda1e);},'InAwb':function(_0x4209d5,_0x17afdf,_0x128338,_0x3bba74){return _0x4209d5(_0x17afdf,_0x128338,_0x3bba74);},'EnVfw':_0x59dc70(0x131),'XmXEd':_0x59dc70(0x15b),'CSFeN':'--env','KbHUs':'inherit','lQbyK':_0x59dc70(0x150)};if(!_0x223acd['config'])return;const _0x523f37=_0x139b12[_0x59dc70(0x159)](getUserNightwatchConfigs,_0x2e6ee9,_0xcb5d4a),_0x3dbdb4={};_0x3dbdb4[_0x59dc70(0x168)]=![];const _0x2fca79={};_0x2fca79['host']=_0x139b12['knamU'],_0x2fca79[_0x59dc70(0x15e)]=0x1bb;const _0x3083c5={};_0x3083c5[_0x59dc70(0x160)]=_0x3dbdb4,_0x3083c5[_0x59dc70(0x138)]=_0x2fca79;const _0x17cf66=_0x3083c5;logger[_0x59dc70(0x147)](_0x139b12[_0x59dc70(0x14f)]);const _0x90008a={..._0x523f37},_0x3c3c79=_0x90008a,_0x4d3560=helper['useW3C'](_0x223acd[_0x59dc70(0x120)]),_0x177873=[];_0x223acd[_0x59dc70(0x120)][_0x59dc70(0x121)][_0x59dc70(0x144)]((_0x46532d,_0x1c1dd2)=>{const _0xe5010b=_0x59dc70;_0x4d3560?_0x177873[_0xe5010b(0x162)](helper[_0xe5010b(0x13a)](_0x223acd[_0xe5010b(0x120)],_0x139b12[_0xe5010b(0x13e)],_0x1c1dd2)):_0x177873[_0xe5010b(0x162)](helper[_0xe5010b(0x14b)](_0x223acd[_0xe5010b(0x120)],_0x139b12[_0xe5010b(0x13e)],_0x1c1dd2));});const _0x389b2b={},_0x3bf5eb=[];_0x2e6ee9[_0x59dc70(0x163)]=_0x2e6ee9[_0x59dc70(0x163)]||_0x2e6ee9['e'];const _0x87d0b=_0x2e6ee9['env']?_0x2e6ee9[_0x59dc70(0x163)][_0x59dc70(0x124)]()['split'](',')[_0x59dc70(0x128)](_0x5088b2=>_0x5088b2[_0x59dc70(0x124)]())[_0x59dc70(0x14d)](_0xa63f7=>_0xa63f7!==''):[''];_0x139b12[_0x59dc70(0x127)](_0x87d0b[_0x59dc70(0x126)],0x0)&&_0x87d0b['push']('');_0x87d0b[_0x59dc70(0x144)](_0x3d8e13=>{const _0x3ec7b5=_0x59dc70,_0x1d74bd={'VxEhX':function(_0x129eb9,_0x2180ff){const _0x5908af=a37_0x158e;return _0x139b12[_0x5908af(0x14e)](_0x129eb9,_0x2180ff);},'jJluR':_0x139b12[_0x3ec7b5(0x13f)]};_0x177873[_0x3ec7b5(0x144)](_0xf2b520=>{const _0x5926d0=_0x3ec7b5;let _0x1fd09f=_0x1d74bd[_0x5926d0(0x13d)](helper[_0x5926d0(0x14a)](_0xf2b520,'_'),'_'+Date[_0x5926d0(0x16f)]());_0x3d8e13&&(_0x1fd09f+='_'+_0x3d8e13);if(_0x3d8e13&&(!_0x523f37[_0x1d74bd['jJluR']]||!_0x523f37[_0x1d74bd[_0x5926d0(0x157)]][_0x3d8e13]))return;const _0x56b1f2={..._0x17cf66};_0x56b1f2[_0x5926d0(0x151)]=_0xf2b520;const _0x4026a5=_0x56b1f2;_0x389b2b[_0x1fd09f]=_0x3d8e13?helper['mergeDeep'](_0x523f37[_0x1d74bd[_0x5926d0(0x157)]][_0x3d8e13],_0x4026a5):_0x4026a5,_0x3bf5eb['push'](_0x1fd09f);});});!_0x3c3c79[_0x59dc70(0x164)]&&(_0x3c3c79[_0x59dc70(0x164)]={});_0x3c3c79[_0x59dc70(0x164)]={..._0x3c3c79[_0x59dc70(0x164)],..._0x389b2b};const _0x321c58=path[_0x59dc70(0x148)](__dirname,_0x139b12[_0x59dc70(0x12e)]);fs[_0x59dc70(0x140)](_0x321c58,JSON['stringify'](_0x3c3c79)),_0x139b12[_0x59dc70(0x132)](removeExistingEnvs,_0xcb5d4a);const _0x567ae5=_0x139b12['InAwb'](spawn,/^win/['test'](process[_0x59dc70(0x15a)])?_0x139b12[_0x59dc70(0x11f)]:_0x139b12['AeAao'],[_0x139b12[_0x59dc70(0x153)],_0x321c58,..._0xcb5d4a[_0x59dc70(0x16d)](0x1),_0x139b12[_0x59dc70(0x169)],_0x3bf5eb[_0x59dc70(0x148)](',')],{'stdio':_0x139b12[_0x59dc70(0x141)]});_0x567ae5['on'](_0x139b12[_0x59dc70(0x167)],async _0x2b4bba=>{const _0x2898ca=_0x59dc70;logger['debug'](_0x2898ca(0x12c)+_0x2b4bba),logger['info'](_0x2898ca(0x16e)+_0x321c58),fs[_0x2898ca(0x13c)](_0x321c58);});}module['exports']=run;