browserstack-node-sdk 1.36.2 → 1.36.4

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 (194) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -7
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
  138. package/generated/sdk-messages-accessibility_grpc_pb.d.ts +0 -1
  139. package/generated/sdk-messages-accessibility_grpc_pb.js +0 -1
  140. package/generated/sdk-messages-accessibility_pb.d.ts +0 -279
  141. package/generated/sdk-messages-accessibility_pb.js +0 -2186
  142. package/generated/sdk-messages-ai_grpc_pb.d.ts +0 -1
  143. package/generated/sdk-messages-ai_grpc_pb.js +0 -1
  144. package/generated/sdk-messages-ai_pb.d.ts +0 -217
  145. package/generated/sdk-messages-ai_pb.js +0 -1650
  146. package/generated/sdk-messages-observability_grpc_pb.d.ts +0 -1
  147. package/generated/sdk-messages-observability_grpc_pb.js +0 -1
  148. package/generated/sdk-messages-observability_pb.d.ts +0 -178
  149. package/generated/sdk-messages-observability_pb.js +0 -1377
  150. package/generated/sdk-messages-percy_grpc_pb.d.ts +0 -1
  151. package/generated/sdk-messages-percy_grpc_pb.js +0 -1
  152. package/generated/sdk-messages-percy_pb.d.ts +0 -37
  153. package/generated/sdk-messages-percy_pb.js +0 -266
  154. package/generated/sdk-messages-testhub_grpc_pb.d.ts +0 -1
  155. package/generated/sdk-messages-testhub_grpc_pb.js +0 -1
  156. package/generated/sdk-messages-testhub_pb.d.ts +0 -39
  157. package/generated/sdk-messages-testhub_pb.js +0 -290
  158. package/generated/sdk-messages_grpc_pb.d.ts +0 -1
  159. package/generated/sdk-messages_grpc_pb.js +0 -1
  160. package/generated/sdk-messages_pb.d.ts +0 -1105
  161. package/generated/sdk-messages_pb.js +0 -8580
  162. package/generated/sdk_grpc_pb.d.ts +0 -113
  163. package/generated/sdk_grpc_pb.js +0 -609
  164. package/generated/sdk_pb.d.ts +0 -9
  165. package/generated/sdk_pb.js +0 -31
  166. package/src/bin/v2/TestInfo.js +0 -1
  167. package/src/bin/v2/browserstackCLI.js +0 -1
  168. package/src/bin/v2/cliUtils.js +0 -1
  169. package/src/bin/v2/customTagManager.js +0 -1
  170. package/src/bin/v2/eventDispatcher.js +0 -1
  171. package/src/bin/v2/framework/automationFramework.js +0 -1
  172. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +0 -1
  173. package/src/bin/v2/framework/constants/testFrameworkConstants.js +0 -1
  174. package/src/bin/v2/framework/playwrightAutomationFramework.js +0 -1
  175. package/src/bin/v2/framework/playwrightTestFramework.js +0 -1
  176. package/src/bin/v2/framework/testFramework.js +0 -1
  177. package/src/bin/v2/grpcClient.js +0 -1
  178. package/src/bin/v2/instances/automationFrameworkInstance.js +0 -1
  179. package/src/bin/v2/instances/testFrameworkInstance.js +0 -1
  180. package/src/bin/v2/instances/trackedContext.js +0 -1
  181. package/src/bin/v2/instances/trackedInstance.js +0 -1
  182. package/src/bin/v2/modules/accessibilityModule.js +0 -1
  183. package/src/bin/v2/modules/baseModule.js +0 -1
  184. package/src/bin/v2/modules/observabilityModule.js +0 -1
  185. package/src/bin/v2/modules/playwrightDriverModule.js +0 -1
  186. package/src/bin/v2/modules/testhubModule.js +0 -1
  187. package/src/bin/v2/state/automationFrameworkState.js +0 -1
  188. package/src/bin/v2/state/hookState.js +0 -1
  189. package/src/bin/v2/state/testFrameworkState.js +0 -1
  190. package/src/bin/v2/uploadAttachmentsManager.js +0 -1
  191. package/src/helpers/classLogger.js +0 -1
  192. package/src/helpers/test-orchestration/fail-fast/fileHelper.js +0 -1
  193. package/src/helpers/test-orchestration/fail-fast/jest.js +0 -1
  194. package/src/helpers/test-orchestration/fail-fast/requestUtils.js +0 -1
@@ -1 +1 @@
1
- const a29_0x2428b7=a29_0x5105;(function(_0x5f56a4,_0x59a953){const _0x2650c6=a29_0x5105,_0x5c8bba=_0x5f56a4();while(!![]){try{const _0x5ad693=parseInt(_0x2650c6(0x1dd))/0x1*(parseInt(_0x2650c6(0x1dc))/0x2)+parseInt(_0x2650c6(0x19b))/0x3*(-parseInt(_0x2650c6(0x1aa))/0x4)+-parseInt(_0x2650c6(0x1bb))/0x5*(-parseInt(_0x2650c6(0x1e2))/0x6)+-parseInt(_0x2650c6(0x191))/0x7+parseInt(_0x2650c6(0x186))/0x8*(parseInt(_0x2650c6(0x1cd))/0x9)+parseInt(_0x2650c6(0x171))/0xa+-parseInt(_0x2650c6(0x19a))/0xb;if(_0x5ad693===_0x59a953)break;else _0x5c8bba['push'](_0x5c8bba['shift']());}catch(_0x87264c){_0x5c8bba['push'](_0x5c8bba['shift']());}}}(a29_0x5424,0x529ad));function a29_0x5424(){const _0xb41003=['logLevel','capabilities_','setLogLevel','../accessibility-automation/helper','koxzo','safariOptions_','668454hfGMiM','1tPaCyx','CAPABILITY_KEY','getGlobal','lLGAm','Modifying\x20webdriver\x20builder','6LhggUI','wsLNQ','edgeOptions','gkvtF','optimalHubUrl','aCUbm','capability','YuapH','PHREM','4135990xoaHDj','Wqizj','uyvWl','MFxWZ','get','Setting\x20Browserstack\x20capabilities','Proxy\x20set\x20to\x20','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','then','proxy_','ieOptions','WjcTs','getAccessibilityResultsSummary','HttpClient','../../../hubAllocationMethods','push','global','split','edgeOptions_','getAccessibilityResults','getHubUrl','3440XDJSMg','quitCount_','firefoxOptions','/wd/hub','ms:edgeOptions','JvECg','mergeDeep','YbVdz','Builder','yzFit','hUMHL','2197741lIODLm','sAjMr','https://','./helpers/patchHelper','setServer','object','/session','send','newHubUrl','9866725wIzRBo','16350eqAfmb','isUndefined','LjInU','sRYSs','isPacProxy','chromeOptions_','JKpjr','Fdlyz','set','__setBrowserOptions','YQEeY','XgTGe','caps_','setGlobal','../../../helpers/patchHelpers','20kPntoL','proxyUrl','HRaqT','Uoyuf','../../../bin/utils/constants','proxySettings','session_','requireHttpClient','tkUlV','chromeOptions','VrpNs','../../../helpers/globals','firefoxOptions_','browserstackAgentObservability','YjjPO','ATYfa','originalBuilder','1980655POvUQe','nazUl','KyLLF','storeOptimalHubUrl','TksPs','options_','Hub\x20url\x20set\x20to\x20','overrideGet','keys','CwdJR','__driversArray','__drivers','winstonLogger','browserStackLogLevel','setCapabilities','ieOptions_','path','debug','9054exjXBd','url_','exports','safari.options','isBrowserstackInfra','updateHubUrl','QYPve','info','goog:chromeOptions'];a29_0x5424=function(){return _0xb41003;};return a29_0x5424();}function a29_0x5105(_0x4ecdff,_0x5a64d3){const _0x5424ca=a29_0x5424();return a29_0x5105=function(_0x51056c,_0x1205e7){_0x51056c=_0x51056c-0x171;let _0x38e81f=_0x5424ca[_0x51056c];return _0x38e81f;},a29_0x5105(_0x4ecdff,_0x5a64d3);}const logger=require('../../../helpers/logger')[a29_0x2428b7(0x1c7)],helper=require('../../../helpers/helper'),constants=require(a29_0x2428b7(0x1ae)),hubAllocator=require(a29_0x2428b7(0x17f)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x2428b7(0x1a9)),{setAccessibilityCapabilities,setExtension}=require(a29_0x2428b7(0x1d9)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x2428b7(0x1b5)),{overrideExecute}=require(a29_0x2428b7(0x194)),modify=(_0x3d2ef7,_0x27c9c4=null,_0x1f22d4=![])=>{const _0x269f35=a29_0x2428b7,_0x337f0f={'Uoyuf':function(_0x30a7a1,_0x44a132){return _0x30a7a1!==_0x44a132;},'TksPs':_0x269f35(0x197),'CwdJR':function(_0xa00a30,_0x41ae43){return _0xa00a30+_0x41ae43;},'YbVdz':function(_0x401963,_0x437564){return _0x401963+_0x437564;},'JvECg':_0x269f35(0x193),'VrpNs':_0x269f35(0x189),'LjInU':_0x269f35(0x1d5),'XgTGe':_0x269f35(0x1b3),'sAjMr':_0x269f35(0x18a),'iKgIo':_0x269f35(0x1e4),'PHREM':'moz:firefoxOptions','YuapH':_0x269f35(0x188),'YjjPO':_0x269f35(0x1d0),'aCUbm':'se:ieOptions','WjcTs':_0x269f35(0x17b),'ATYfa':function(_0x5b7bf6,_0x464227){return _0x5b7bf6===_0x464227;},'gAvEu':_0x269f35(0x196),'OlyQs':_0x269f35(0x176),'BvJQW':_0x269f35(0x1e6),'hUMHL':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','tkUlV':function(_0x9fe287,_0x47c38c,_0x330fbc){return _0x9fe287(_0x47c38c,_0x330fbc);},'koxzo':function(_0x380118,_0x5d6a55,_0x222584){return _0x380118(_0x5d6a55,_0x222584);},'sRYSs':function(_0x3038d6,_0x913439){return _0x3038d6(_0x913439);},'TAyvD':function(_0x342096,_0x25d39e,_0x5c0c3f){return _0x342096(_0x25d39e,_0x5c0c3f);},'KyLLF':'1|4|2|0|5|3','yzFit':function(_0x2e157b){return _0x2e157b();},'kahoC':function(_0x29cea4,_0x12ff38){return _0x29cea4(_0x12ff38);},'lLGAm':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','MFxWZ':'isAccessibilityPlatform','YQEeY':function(_0x2c9e91,_0x2e4160){return _0x2c9e91(_0x2e4160);},'HRaqT':function(_0x2031b6,_0x88eb18){return _0x2031b6(_0x88eb18);},'gkvtF':function(_0x52f249,_0x3750e6,_0x4c9038){return _0x52f249(_0x3750e6,_0x4c9038);},'nazUl':function(_0x14596b,_0x45a6e5){return _0x14596b!==_0x45a6e5;},'lXfnh':_0x269f35(0x178),'QYPve':_0x269f35(0x1e1)},_0x3185e8=helper[_0x269f35(0x1b1)]();let _0x385ddd;try{_0x385ddd=helper['requireSeleniumWebdriver'](),_0x385ddd[_0x269f35(0x1ba)]&&(_0x385ddd['Builder']=_0x385ddd[_0x269f35(0x1ba)]);}catch(_0x4cbbce){return;}if(helper[_0x269f35(0x1d1)]()){const _0x88b4b8={};_0x88b4b8[_0x269f35(0x1d6)]=_0x3d2ef7[_0x269f35(0x1c8)],helper[_0x269f35(0x1d8)](_0x88b4b8,new Map(),new Map()),logger[_0x269f35(0x1d4)](_0x337f0f['lXfnh']),logger[_0x269f35(0x1cc)](_0x337f0f[_0x269f35(0x1d3)]);}class _0x56d763 extends _0x3185e8[_0x269f35(0x17e)]{[_0x269f35(0x198)](_0x4bfbce){const _0x2c89c6=_0x269f35;if(_0x337f0f[_0x2c89c6(0x1ad)](_0x4bfbce[_0x2c89c6(0x1cb)],_0x337f0f[_0x2c89c6(0x1bf)])&&_0x337f0f[_0x2c89c6(0x1ad)](global[_0x2c89c6(0x199)],''))try{global[_0x2c89c6(0x199)]=_0x337f0f[_0x2c89c6(0x1c4)](_0x337f0f[_0x2c89c6(0x18d)](_0x337f0f[_0x2c89c6(0x18b)],global[_0x2c89c6(0x199)]),_0x337f0f[_0x2c89c6(0x1b4)]),this[_0x2c89c6(0x1c0)]=hubAllocator['getRequestOptions'](global[_0x2c89c6(0x199)]),logger[_0x2c89c6(0x1cc)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global[_0x2c89c6(0x199)]='';}catch(_0x1ddfa3){logger['error'](_0x1ddfa3);}return super['send'](_0x4bfbce);}}class _0x26812e extends _0x385ddd[_0x269f35(0x18e)]{[_0x269f35(0x195)](){const _0x1fcc81=_0x269f35;return this[_0x1fcc81(0x1ce)]=helper[_0x1fcc81(0x185)](_0x3d2ef7),logger[_0x1fcc81(0x1cc)](_0x1fcc81(0x1c1)+this['url_']),this;}['__setBrowserOptions'](_0x116320){const _0x5d1e72=_0x269f35;let _0x2466b6={};for(const _0x453880 in _0x116320){switch(_0x453880){case _0x337f0f[_0x5d1e72(0x19d)]:case _0x337f0f[_0x5d1e72(0x1a6)]:this[_0x5d1e72(0x1a0)]&&(_0x2466b6=this['chromeOptions_'][_0x5d1e72(0x175)](this[_0x5d1e72(0x1a0)]['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x5d1e72(0x1a3)](this[_0x5d1e72(0x1a0)][_0x5d1e72(0x1de)],helper[_0x5d1e72(0x18c)](_0x2466b6,_0x116320[_0x453880])));break;case _0x337f0f[_0x5d1e72(0x192)]:case _0x337f0f['iKgIo']:this['edgeOptions_']&&(_0x2466b6=this[_0x5d1e72(0x183)]['get'](this[_0x5d1e72(0x183)][_0x5d1e72(0x1de)])||{},this['edgeOptions_'][_0x5d1e72(0x1a3)](this[_0x5d1e72(0x183)]['CAPABILITY_KEY'],helper[_0x5d1e72(0x18c)](_0x2466b6,_0x116320[_0x453880])));break;case _0x337f0f[_0x5d1e72(0x1ea)]:case _0x337f0f[_0x5d1e72(0x1e9)]:this[_0x5d1e72(0x1b6)]&&(_0x2466b6=this[_0x5d1e72(0x1b6)]['get'](this[_0x5d1e72(0x1b6)][_0x5d1e72(0x1de)])||{},this[_0x5d1e72(0x1b6)][_0x5d1e72(0x1a3)](this['firefoxOptions_']['CAPABILITY_KEY'],helper[_0x5d1e72(0x18c)](_0x2466b6,_0x116320[_0x453880])));break;case _0x337f0f[_0x5d1e72(0x1b8)]:this[_0x5d1e72(0x1db)]&&(_0x2466b6=this[_0x5d1e72(0x1db)]['get'](this[_0x5d1e72(0x1db)][_0x5d1e72(0x1de)])||{},this[_0x5d1e72(0x1db)][_0x5d1e72(0x1a3)](this['safariOptions_'][_0x5d1e72(0x1de)],helper[_0x5d1e72(0x18c)](_0x2466b6,_0x116320[_0x453880])));break;case _0x337f0f[_0x5d1e72(0x1e7)]:case _0x337f0f[_0x5d1e72(0x17c)]:this['ieOptions_']&&(_0x2466b6=this[_0x5d1e72(0x1ca)][_0x5d1e72(0x175)](this[_0x5d1e72(0x1ca)][_0x5d1e72(0x1de)])||{},this[_0x5d1e72(0x1ca)][_0x5d1e72(0x1a3)](this[_0x5d1e72(0x1ca)]['CAPABILITY_KEY'],helper[_0x5d1e72(0x18c)](_0x2466b6,_0x116320[_0x453880])));break;}}}[_0x269f35(0x1c9)](){const _0x5318bc=_0x269f35,_0x503f1a={'Fdlyz':function(_0x41b444,_0x30ab9d){const _0x63a8a5=a29_0x5105;return _0x337f0f[_0x63a8a5(0x1b9)](_0x41b444,_0x30ab9d);},'JKpjr':_0x337f0f['gAvEu']};return logger[_0x5318bc(0x1cc)](_0x337f0f['OlyQs']),this[_0x5318bc(0x1a4)](_0x3d2ef7[_0x5318bc(0x1e8)]),Object[_0x5318bc(0x1c3)](_0x3d2ef7[_0x5318bc(0x1e8)])['forEach'](_0xcd88a=>{const _0x243594=_0x5318bc,_0x54ad46=this[_0x243594(0x1d7)][_0x243594(0x175)](_0xcd88a);_0x503f1a[_0x243594(0x1a2)](typeof _0x54ad46,_0x503f1a[_0x243594(0x1a1)])?this[_0x243594(0x1d7)][_0x243594(0x1a3)](_0xcd88a,helper[_0x243594(0x18c)](_0x54ad46,_0x3d2ef7[_0x243594(0x1e8)][_0xcd88a])):this[_0x243594(0x1d7)]['set'](_0xcd88a,_0x3d2ef7[_0x243594(0x1e8)][_0xcd88a]);}),this;}['build'](){const _0x4f0b28=_0x269f35,_0x10c364={'uyvWl':function(_0xf477d6,_0x1448df,_0x2baf76){const _0x5bb33f=a29_0x5105;return _0x337f0f[_0x5bb33f(0x1b2)](_0xf477d6,_0x1448df,_0x2baf76);},'wsLNQ':function(_0xd82716,_0x43918a,_0x3e0d44){return _0x337f0f['tkUlV'](_0xd82716,_0x43918a,_0x3e0d44);}};if(helper[_0x4f0b28(0x1d1)]()){const _0x3c7d13=_0x337f0f[_0x4f0b28(0x1bd)][_0x4f0b28(0x182)]('|');let _0x50d8f5=0x0;while(!![]){switch(_0x3c7d13[_0x50d8f5++]){case'0':if(helper[_0x4f0b28(0x19f)](_0x3d2ef7[_0x4f0b28(0x1af)][_0x4f0b28(0x1ab)]))this['agent_']=helper['getHttpAgent'](_0x3d2ef7['proxySettings'][_0x4f0b28(0x1ab)]);else _0x3d2ef7[_0x4f0b28(0x1af)]['proxyUrl']&&(this[_0x4f0b28(0x17a)]=_0x3d2ef7[_0x4f0b28(0x1af)][_0x4f0b28(0x1ab)],logger[_0x4f0b28(0x1cc)](_0x4f0b28(0x177)+this[_0x4f0b28(0x17a)]));continue;case'1':_0x337f0f[_0x4f0b28(0x18f)](isAccessibilityAutomationSession)&&_0x337f0f['kahoC'](setAccessibilityCapabilities,_0x3d2ef7);continue;case'2':this[_0x4f0b28(0x1c9)]();continue;case'3':logger[_0x4f0b28(0x1cc)](_0x337f0f[_0x4f0b28(0x1e0)]);continue;case'4':this[_0x4f0b28(0x195)]();continue;case'5':globals[_0x4f0b28(0x1df)](_0x337f0f[_0x4f0b28(0x174)])&&(!_0x337f0f[_0x4f0b28(0x1b2)](setExtension,this,_0x3d2ef7)&&globals[_0x4f0b28(0x1a8)](_0x337f0f['MFxWZ'],![]));continue;}break;}}const _0x105a9a=super['build']();return _0x105a9a[_0x4f0b28(0x1b0)][_0x4f0b28(0x179)](_0x1259e8=>{const _0x42a890=_0x4f0b28;try{const _0x132dcc=_0x1259e8[_0x42a890(0x1a7)][_0x42a890(0x175)](_0x337f0f['BvJQW']);_0x132dcc?(logger[_0x42a890(0x1cc)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x132dcc),hubAllocator[_0x42a890(0x1d2)](_0x132dcc),helper[_0x42a890(0x1be)](_0x132dcc)):logger['debug'](_0x337f0f[_0x42a890(0x190)]);}catch(_0x6b67bb){logger[_0x42a890(0x1cc)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x6b67bb);}}),_0x105a9a[_0x4f0b28(0x187)]=0x0,_0x105a9a['then']&&_0x105a9a[_0x4f0b28(0x179)](_0x360aef=>{const _0x3ea7e4=_0x4f0b28,_0x95b031={'Wqizj':function(_0x518a00,_0x458603,_0x2d3539){return _0x337f0f['tkUlV'](_0x518a00,_0x458603,_0x2d3539);}};_0x337f0f[_0x3ea7e4(0x1da)](overrideQuit,_0x360aef,_0x105a9a),_0x337f0f[_0x3ea7e4(0x19e)](overrideTakeScreenshot,_0x360aef),helper['overrideGet'](_0x360aef,_0x3d2ef7),_0x337f0f['TAyvD'](overrideExecute,_0x360aef,_0x3d2ef7),_0x360aef['getAccessibilityResultsSummary']=async()=>{const _0x4d794e=_0x3ea7e4;return await _0x95b031[_0x4d794e(0x172)](getAccessibilityResultsSummary,_0x360aef,global);},_0x360aef['getAccessibilityResults']=async()=>{const _0x25c8d1=_0x3ea7e4;return await _0x10c364[_0x25c8d1(0x173)](getAccessibilityResults,_0x360aef,global);};}),_0x105a9a[_0x4f0b28(0x17d)]=async()=>{const _0x215fcb=_0x4f0b28;return await _0x337f0f[_0x215fcb(0x1b2)](getAccessibilityResultsSummary,_0x105a9a,global);},_0x105a9a[_0x4f0b28(0x184)]=async()=>{const _0x4a499d=_0x4f0b28;return await _0x10c364[_0x4a499d(0x1e3)](getAccessibilityResults,_0x105a9a,global);},_0x337f0f[_0x4f0b28(0x1a5)](overrideTakeScreenshot,_0x105a9a),_0x337f0f[_0x4f0b28(0x1ac)](overrideQuit,_0x105a9a),helper[_0x4f0b28(0x1c2)](_0x105a9a,_0x3d2ef7),_0x337f0f[_0x4f0b28(0x1e5)](overrideExecute,_0x105a9a,_0x3d2ef7),helper[_0x4f0b28(0x19c)](global[_0x4f0b28(0x1c5)])&&(global[_0x4f0b28(0x1c5)]=[]),helper[_0x4f0b28(0x19c)](global[_0x4f0b28(0x1c6)])&&(global['__drivers']=[]),global['__driversArray'][_0x4f0b28(0x180)](_0x105a9a),global['__driver']=_0x105a9a,_0x337f0f['Uoyuf'](global[_0x4f0b28(0x1c6)],undefined)&&global[_0x4f0b28(0x1c6)][_0x4f0b28(0x180)](_0x105a9a),_0x27c9c4&&helper[_0x4f0b28(0x19c)](_0x27c9c4[_0x4f0b28(0x181)][_0x4f0b28(0x1c5)])&&(_0x27c9c4[_0x4f0b28(0x181)]['__driversArray']=[]),_0x27c9c4&&_0x337f0f[_0x4f0b28(0x1bc)](_0x27c9c4[_0x4f0b28(0x181)][_0x4f0b28(0x1c6)],undefined)&&(_0x27c9c4[_0x4f0b28(0x181)][_0x4f0b28(0x1c6)]['push'](_0x105a9a),_0x27c9c4[_0x4f0b28(0x181)][_0x4f0b28(0x1c5)]['push'](_0x105a9a)),_0x105a9a;}}return _0x385ddd[_0x269f35(0x1ba)]=_0x385ddd[_0x269f35(0x18e)],_0x385ddd['Builder']=_0x26812e,_0x3185e8[_0x269f35(0x17e)]=_0x56d763,_0x385ddd;};module[a29_0x2428b7(0x1cf)][a29_0x2428b7(0x1b7)]=modify;
1
+ const a29_0x34956f=a29_0x43d0;(function(_0x1620d5,_0x540749){const _0x168828=a29_0x43d0,_0x372389=_0x1620d5();while(!![]){try{const _0x113f14=parseInt(_0x168828(0x12e))/0x1+parseInt(_0x168828(0x137))/0x2*(-parseInt(_0x168828(0xeb))/0x3)+-parseInt(_0x168828(0x159))/0x4+parseInt(_0x168828(0x10e))/0x5+parseInt(_0x168828(0x11e))/0x6+parseInt(_0x168828(0x102))/0x7*(parseInt(_0x168828(0x118))/0x8)+parseInt(_0x168828(0x111))/0x9*(parseInt(_0x168828(0xf8))/0xa);if(_0x113f14===_0x540749)break;else _0x372389['push'](_0x372389['shift']());}catch(_0x1d5948){_0x372389['push'](_0x372389['shift']());}}}(a29_0x415f,0xf0080));const logger=require('../../../helpers/logger')[a29_0x34956f(0xfe)],helper=require('../../../helpers/helper'),constants=require(a29_0x34956f(0x115)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x34956f(0xe7)),{setAccessibilityCapabilities,setExtension}=require(a29_0x34956f(0xf4)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x34956f(0x135)),{overrideExecute}=require(a29_0x34956f(0x101)),modify=(_0x10920a,_0x2038cd=null,_0xa4f0fe=![])=>{const _0x5b3b0e=a29_0x34956f,_0x5d25c2={'sEGpz':function(_0xbedc2d,_0x4b34d2){return _0xbedc2d!==_0x4b34d2;},'Cfcuv':_0x5b3b0e(0x119),'Rldve':function(_0x5a3a90,_0x10c943){return _0x5a3a90+_0x10c943;},'ZYLxq':function(_0x3743ac,_0x3556a1){return _0x3743ac+_0x3556a1;},'DfDQv':'https://','KHfDC':_0x5b3b0e(0x10b),'ZWBkN':_0x5b3b0e(0x13d),'mQsZO':_0x5b3b0e(0xf2),'KWFYF':_0x5b3b0e(0xf0),'kBtPb':_0x5b3b0e(0x149),'cwPIv':_0x5b3b0e(0x116),'veWwP':'firefoxOptions','FopzL':_0x5b3b0e(0xf7),'KAZdP':_0x5b3b0e(0xe4),'ucRpf':_0x5b3b0e(0x14d),'SRhbL':function(_0x58164a,_0x140b45){return _0x58164a===_0x140b45;},'IVDNB':_0x5b3b0e(0xe2),'NJOOd':_0x5b3b0e(0x104),'FwbCE':function(_0x2210dc,_0x2ec045,_0x5209a4){return _0x2210dc(_0x2ec045,_0x5209a4);},'YGnfx':function(_0x36c74b,_0x3641af,_0x177969){return _0x36c74b(_0x3641af,_0x177969);},'VHmmT':_0x5b3b0e(0x11a),'rESnm':_0x5b3b0e(0xf6),'frXGH':function(_0x5dd842,_0x13fc2c){return _0x5dd842(_0x13fc2c);},'ExVhD':_0x5b3b0e(0x150),'IAIVR':_0x5b3b0e(0x132),'TMCZR':function(_0x2b5cdf,_0x1c288d,_0x45496d){return _0x2b5cdf(_0x1c288d,_0x45496d);},'KdonS':_0x5b3b0e(0x13e),'yoNoT':function(_0x15bf39){return _0x15bf39();},'hIqNL':function(_0x4cffcf,_0x4b6e21){return _0x4cffcf(_0x4b6e21);},'zfCMO':function(_0x4b88a0,_0x373beb){return _0x4b88a0(_0x373beb);},'Rnkif':function(_0x3e5323,_0x1cec7f){return _0x3e5323!==_0x1cec7f;},'KHtHK':_0x5b3b0e(0x10d),'Qdmns':_0x5b3b0e(0xde)},_0x3b17c6=helper[_0x5b3b0e(0xe0)]();let _0x5c43e6;try{_0x5c43e6=helper[_0x5b3b0e(0x152)](),_0x5c43e6[_0x5b3b0e(0x129)]&&(_0x5c43e6[_0x5b3b0e(0x105)]=_0x5c43e6[_0x5b3b0e(0x129)]);}catch(_0x1fd713){return;}if(helper[_0x5b3b0e(0x124)]()){const _0x55fc7f={};_0x55fc7f['logLevel']=_0x10920a[_0x5b3b0e(0xe8)],helper['setLogLevel'](_0x55fc7f,new Map(),new Map()),logger[_0x5b3b0e(0x130)](_0x5d25c2[_0x5b3b0e(0x143)]),logger['debug'](_0x5d25c2['Qdmns']);}class _0x5791c3 extends _0x3b17c6[_0x5b3b0e(0x11b)]{[_0x5b3b0e(0x103)](_0x4224c7){const _0x25574b=_0x5b3b0e;if(_0x5d25c2[_0x25574b(0xed)](_0x4224c7[_0x25574b(0x12d)],_0x5d25c2[_0x25574b(0x134)])&&_0x5d25c2[_0x25574b(0xed)](global['newHubUrl'],''))try{global[_0x25574b(0x11c)]=_0x5d25c2[_0x25574b(0x128)](_0x5d25c2[_0x25574b(0x14a)](_0x5d25c2['DfDQv'],global['newHubUrl']),_0x5d25c2[_0x25574b(0x157)]),this[_0x25574b(0xe1)]=hubAllocator['getRequestOptions'](global[_0x25574b(0x11c)]),logger['debug'](_0x25574b(0x13b)+global[_0x25574b(0x11c)]),global[_0x25574b(0x11c)]='';}catch(_0x3a5b67){logger[_0x25574b(0x136)](_0x3a5b67);}return super[_0x25574b(0x103)](_0x4224c7);}}class _0x1a5fc3 extends _0x5c43e6[_0x5b3b0e(0x105)]{[_0x5b3b0e(0x153)](){const _0x1c0d80=_0x5b3b0e;return this[_0x1c0d80(0x14b)]=helper['getHubUrl'](_0x10920a),logger['debug'](_0x1c0d80(0x15c)+this[_0x1c0d80(0x14b)]),this;}['__setBrowserOptions'](_0x56e2ec){const _0x440c50=_0x5b3b0e;let _0x51229c={};for(const _0x1448ed in _0x56e2ec){switch(_0x1448ed){case _0x5d25c2[_0x440c50(0x12b)]:case _0x5d25c2[_0x440c50(0x13a)]:this[_0x440c50(0x14f)]&&(_0x51229c=this[_0x440c50(0x14f)][_0x440c50(0x110)](this['chromeOptions_']['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x440c50(0x12f)](this[_0x440c50(0x14f)][_0x440c50(0xfd)],helper[_0x440c50(0x145)](_0x51229c,_0x56e2ec[_0x1448ed])));break;case _0x5d25c2[_0x440c50(0x144)]:case _0x5d25c2[_0x440c50(0x158)]:this[_0x440c50(0x151)]&&(_0x51229c=this['edgeOptions_'][_0x440c50(0x110)](this['edgeOptions_'][_0x440c50(0xfd)])||{},this[_0x440c50(0x151)][_0x440c50(0x12f)](this['edgeOptions_'][_0x440c50(0xfd)],helper['mergeDeep'](_0x51229c,_0x56e2ec[_0x1448ed])));break;case _0x5d25c2[_0x440c50(0x133)]:case _0x5d25c2[_0x440c50(0x155)]:this['firefoxOptions_']&&(_0x51229c=this[_0x440c50(0x146)][_0x440c50(0x110)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0x440c50(0x146)]['set'](this[_0x440c50(0x146)]['CAPABILITY_KEY'],helper[_0x440c50(0x145)](_0x51229c,_0x56e2ec[_0x1448ed])));break;case _0x5d25c2[_0x440c50(0x122)]:this[_0x440c50(0x121)]&&(_0x51229c=this[_0x440c50(0x121)][_0x440c50(0x110)](this[_0x440c50(0x121)][_0x440c50(0xfd)])||{},this[_0x440c50(0x121)][_0x440c50(0x12f)](this[_0x440c50(0x121)][_0x440c50(0xfd)],helper[_0x440c50(0x145)](_0x51229c,_0x56e2ec[_0x1448ed])));break;case _0x5d25c2['KAZdP']:case _0x5d25c2[_0x440c50(0xe9)]:this['ieOptions_']&&(_0x51229c=this[_0x440c50(0x12a)]['get'](this['ieOptions_'][_0x440c50(0xfd)])||{},this[_0x440c50(0x12a)][_0x440c50(0x12f)](this[_0x440c50(0x12a)][_0x440c50(0xfd)],helper['mergeDeep'](_0x51229c,_0x56e2ec[_0x1448ed])));break;}}}['setCapabilities'](){const _0x396cbd=_0x5b3b0e;return logger[_0x396cbd(0x106)](_0x5d25c2['NJOOd']),this[_0x396cbd(0xfa)](_0x10920a[_0x396cbd(0x112)]),Object[_0x396cbd(0x108)](_0x10920a['capability'])[_0x396cbd(0x131)](_0x30ce4b=>{const _0x341c8e=_0x396cbd,_0x30615e=this[_0x341c8e(0x15b)][_0x341c8e(0x110)](_0x30ce4b);_0x5d25c2[_0x341c8e(0x13c)](typeof _0x30615e,_0x5d25c2[_0x341c8e(0x120)])?this[_0x341c8e(0x15b)][_0x341c8e(0x12f)](_0x30ce4b,helper[_0x341c8e(0x145)](_0x30615e,_0x10920a[_0x341c8e(0x112)][_0x30ce4b])):this['capabilities_']['set'](_0x30ce4b,_0x10920a[_0x341c8e(0x112)][_0x30ce4b]);}),this;}['build'](){const _0x1fecf7=_0x5b3b0e,_0x268716={'CEMev':_0x5d25c2[_0x1fecf7(0x142)],'WiSGP':_0x5d25c2[_0x1fecf7(0x109)],'YCblt':function(_0x19b59d,_0x5a29a2,_0x3fb48e){const _0x21ff86=_0x1fecf7;return _0x5d25c2[_0x21ff86(0x139)](_0x19b59d,_0x5a29a2,_0x3fb48e);},'RmNrX':function(_0x5be650,_0x422422){const _0x36f9fb=_0x1fecf7;return _0x5d25c2[_0x36f9fb(0xff)](_0x5be650,_0x422422);},'rcRym':function(_0x2b32df,_0x268d89,_0x472541){const _0x26ca6b=_0x1fecf7;return _0x5d25c2[_0x26ca6b(0xec)](_0x2b32df,_0x268d89,_0x472541);}};if(helper[_0x1fecf7(0x124)]()){const _0x10d0f8=_0x5d25c2['ExVhD'][_0x1fecf7(0x14c)]('|');let _0x574cb7=0x0;while(!![]){switch(_0x10d0f8[_0x574cb7++]){case'0':globals[_0x1fecf7(0xf5)](_0x5d25c2[_0x1fecf7(0xf9)])&&(!_0x5d25c2[_0x1fecf7(0x140)](setExtension,this,_0x10920a)&&globals[_0x1fecf7(0xe5)](_0x5d25c2[_0x1fecf7(0xf9)],![]));continue;case'1':this[_0x1fecf7(0x153)]();continue;case'2':logger[_0x1fecf7(0x106)](_0x5d25c2[_0x1fecf7(0x10a)]);continue;case'3':this['setCapabilities']();continue;case'4':if(helper[_0x1fecf7(0xdf)](_0x10920a[_0x1fecf7(0x125)][_0x1fecf7(0xef)]))this[_0x1fecf7(0x13f)]=helper[_0x1fecf7(0x10f)](_0x10920a[_0x1fecf7(0x125)]['proxyUrl']);else _0x10920a[_0x1fecf7(0x125)][_0x1fecf7(0xef)]&&(this['proxy_']=_0x10920a[_0x1fecf7(0x125)][_0x1fecf7(0xef)],logger[_0x1fecf7(0x106)]('Proxy\x20set\x20to\x20'+this[_0x1fecf7(0x127)]));continue;case'5':_0x5d25c2[_0x1fecf7(0x141)](isAccessibilityAutomationSession)&&_0x5d25c2[_0x1fecf7(0xff)](setAccessibilityCapabilities,_0x10920a);continue;}break;}}const _0x4c6333=super[_0x1fecf7(0x147)]();return _0x4c6333[_0x1fecf7(0xfc)]['then'](_0x225574=>{const _0x5ea036=_0x1fecf7;try{const _0x522b51=_0x225574[_0x5ea036(0x126)][_0x5ea036(0x110)](_0x268716[_0x5ea036(0x10c)]);_0x522b51?(logger[_0x5ea036(0x106)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x522b51),hubAllocator[_0x5ea036(0x138)](_0x522b51),helper[_0x5ea036(0xee)](_0x522b51)):logger['debug'](_0x268716[_0x5ea036(0x15a)]);}catch(_0x5294e0){logger[_0x5ea036(0x106)](_0x5ea036(0xe3)+_0x5294e0);}}),_0x4c6333[_0x1fecf7(0xea)]=0x0,_0x4c6333[_0x1fecf7(0xfb)]&&_0x4c6333[_0x1fecf7(0xfb)](_0x281486=>{const _0xf22bcd=_0x1fecf7,_0x12e9de={'LYhej':function(_0x678f1b,_0x4eabd4,_0xbb2a28){const _0x2b2eac=a29_0x43d0;return _0x268716[_0x2b2eac(0x148)](_0x678f1b,_0x4eabd4,_0xbb2a28);}};_0x268716[_0xf22bcd(0x148)](overrideQuit,_0x281486,_0x4c6333),_0x268716[_0xf22bcd(0x100)](overrideTakeScreenshot,_0x281486),helper[_0xf22bcd(0x12c)](_0x281486,_0x10920a),_0x268716[_0xf22bcd(0x11d)](overrideExecute,_0x281486,_0x10920a),_0x281486[_0xf22bcd(0x117)]=async()=>{const _0x5800e2=_0xf22bcd;return await _0x268716[_0x5800e2(0x148)](getAccessibilityResultsSummary,_0x281486,global);},_0x281486['getAccessibilityResults']=async()=>{const _0x3e2a12=_0xf22bcd;return await _0x12e9de[_0x3e2a12(0x123)](getAccessibilityResults,_0x281486,global);};}),_0x4c6333[_0x1fecf7(0x117)]=async()=>{const _0x46e832=_0x1fecf7;return await _0x5d25c2[_0x46e832(0x139)](getAccessibilityResultsSummary,_0x4c6333,global);},_0x4c6333[_0x1fecf7(0xf1)]=async()=>{return await _0x5d25c2['YGnfx'](getAccessibilityResults,_0x4c6333,global);},_0x5d25c2[_0x1fecf7(0x156)](overrideTakeScreenshot,_0x4c6333),_0x5d25c2[_0x1fecf7(0x114)](overrideQuit,_0x4c6333),helper[_0x1fecf7(0x12c)](_0x4c6333,_0x10920a),_0x5d25c2['YGnfx'](overrideExecute,_0x4c6333,_0x10920a),helper[_0x1fecf7(0x107)](global[_0x1fecf7(0xf3)])&&(global[_0x1fecf7(0xf3)]=[]),helper[_0x1fecf7(0x107)](global[_0x1fecf7(0x11f)])&&(global[_0x1fecf7(0x11f)]=[]),global[_0x1fecf7(0xf3)][_0x1fecf7(0xe6)](_0x4c6333),global['__driver']=_0x4c6333,_0x5d25c2[_0x1fecf7(0xed)](global['__drivers'],undefined)&&global[_0x1fecf7(0x11f)]['push'](_0x4c6333),_0x2038cd&&helper[_0x1fecf7(0x107)](_0x2038cd[_0x1fecf7(0x113)][_0x1fecf7(0xf3)])&&(_0x2038cd[_0x1fecf7(0x113)][_0x1fecf7(0xf3)]=[]),_0x2038cd&&_0x5d25c2[_0x1fecf7(0x14e)](_0x2038cd[_0x1fecf7(0x113)]['__drivers'],undefined)&&(_0x2038cd[_0x1fecf7(0x113)][_0x1fecf7(0x11f)][_0x1fecf7(0xe6)](_0x4c6333),_0x2038cd[_0x1fecf7(0x113)]['__driversArray']['push'](_0x4c6333)),_0x4c6333;}}return _0x5c43e6[_0x5b3b0e(0x129)]=_0x5c43e6['Builder'],_0x5c43e6[_0x5b3b0e(0x105)]=_0x1a5fc3,_0x3b17c6[_0x5b3b0e(0x11b)]=_0x5791c3,_0x5c43e6;};function a29_0x43d0(_0x513e8e,_0x4914e7){const _0x415fe7=a29_0x415f();return a29_0x43d0=function(_0x43d047,_0x3518d6){_0x43d047=_0x43d047-0xde;let _0x4d67d7=_0x415fe7[_0x43d047];return _0x4d67d7;},a29_0x43d0(_0x513e8e,_0x4914e7);}function a29_0x415f(){const _0x3a162d=['../../../bin/utils/constants','moz:firefoxOptions','getAccessibilityResultsSummary','8IcuZmR','/session','optimalHubUrl','HttpClient','newHubUrl','rcRym','3585090xItxDB','__drivers','IVDNB','safariOptions_','FopzL','LYhej','isBrowserstackInfra','proxySettings','caps_','proxy_','Rldve','originalBuilder','ieOptions_','ZWBkN','overrideGet','path','567415UcNBVy','set','info','forEach','isAccessibilityPlatform','cwPIv','Cfcuv','../../../helpers/globals','error','111254SjPUYi','updateHubUrl','FwbCE','mQsZO','New\x20hub\x20url\x20set\x20to\x20','SRhbL','goog:chromeOptions','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','agent_','TMCZR','yoNoT','VHmmT','KHtHK','KWFYF','mergeDeep','firefoxOptions_','build','YCblt','edgeOptions','ZYLxq','url_','split','ieOptions','Rnkif','chromeOptions_','5|1|3|4|0|2','edgeOptions_','requireSeleniumWebdriver','setServer','exports','veWwP','hIqNL','KHfDC','kBtPb','2261988gMLzfn','WiSGP','capabilities_','Hub\x20url\x20set\x20to\x20','Modifying\x20webdriver\x20builder','isPacProxy','requireHttpClient','options_','object','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','se:ieOptions','setGlobal','push','../../../helpers/patchHelpers','browserStackLogLevel','ucRpf','quitCount_','69RuVJjr','YGnfx','sEGpz','storeOptimalHubUrl','proxyUrl','ms:edgeOptions','getAccessibilityResults','chromeOptions','__driversArray','../accessibility-automation/helper','getGlobal','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','safari.options','66510GQnWCQ','IAIVR','__setBrowserOptions','then','session_','CAPABILITY_KEY','winstonLogger','frXGH','RmNrX','./helpers/patchHelper','11173953SpICvm','send','Setting\x20Browserstack\x20capabilities','Builder','debug','isUndefined','keys','rESnm','KdonS','/wd/hub','CEMev','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','301130xsmgOI','getHttpAgent','get','9zJEDFS','capability','global','zfCMO'];a29_0x415f=function(){return _0x3a162d;};return a29_0x415f();}module[a29_0x34956f(0x154)]['browserstackAgentObservability']=modify;
@@ -1 +1 @@
1
- function a30_0x3e22(_0x19a1da,_0x33ee37){const _0xdcbf5f=a30_0xdcbf();return a30_0x3e22=function(_0x3e2242,_0x5a4f36){_0x3e2242=_0x3e2242-0x1c6;let _0x96ca47=_0xdcbf5f[_0x3e2242];return _0x96ca47;},a30_0x3e22(_0x19a1da,_0x33ee37);}const a30_0x259b7e=a30_0x3e22;(function(_0x4a9779,_0x25547d){const _0x42f788=a30_0x3e22,_0x2240d3=_0x4a9779();while(!![]){try{const _0x4f3b12=parseInt(_0x42f788(0x1d0))/0x1*(-parseInt(_0x42f788(0x1cb))/0x2)+parseInt(_0x42f788(0x1c6))/0x3*(parseInt(_0x42f788(0x1d4))/0x4)+parseInt(_0x42f788(0x1d5))/0x5*(-parseInt(_0x42f788(0x1c7))/0x6)+-parseInt(_0x42f788(0x1d1))/0x7*(parseInt(_0x42f788(0x1d6))/0x8)+-parseInt(_0x42f788(0x1d8))/0x9*(-parseInt(_0x42f788(0x1ce))/0xa)+-parseInt(_0x42f788(0x1cf))/0xb*(-parseInt(_0x42f788(0x1d3))/0xc)+parseInt(_0x42f788(0x1c8))/0xd;if(_0x4f3b12===_0x25547d)break;else _0x2240d3['push'](_0x2240d3['shift']());}catch(_0x2d0f2d){_0x2240d3['push'](_0x2240d3['shift']());}}}(a30_0xdcbf,0x39f2e));const requestSpy=require(a30_0x259b7e(0x1ca)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a30_0x259b7e(0x1c9));exports[a30_0x259b7e(0x1cd)]={'beforeAll'(){const _0x90e498=a30_0x259b7e,_0x4e0912={'JtsAG':function(_0x157a74){return _0x157a74();}},_0x5785a4='browserstack internal helper hook';_0x4e0912[_0x90e498(0x1d7)](addRequestSpy);},'afterAll'(){const _0x1667ef=a30_0x259b7e,_0x5c8861='browserstack internal helper hook';this[_0x1667ef(0x1cc)](0xea60),requestSpy[_0x1667ef(0x1d2)]();}};function a30_0xdcbf(){const _0x40de2a=['9jgEfHH','190347swwust','1116834pqiLbP','5406362Pxhneq','../../../helpers/test-observability/utils','../../../helpers/request-spy','298GRIGBr','timeout','mochaHooks','721490fzmqYn','11tKkhKl','914UCMlba','21DEWNQt','restore','1732668CqRIxt','12qsgsEF','5cNeJnH','701536jlumWC','JtsAG'];a30_0xdcbf=function(){return _0x40de2a;};return a30_0xdcbf();}
1
+ const a30_0x194915=a30_0x4874;(function(_0x54ccf1,_0x2c9061){const _0x45fb23=a30_0x4874,_0x145629=_0x54ccf1();while(!![]){try{const _0x31964e=parseInt(_0x45fb23(0xa4))/0x1*(-parseInt(_0x45fb23(0xab))/0x2)+parseInt(_0x45fb23(0xa7))/0x3*(parseInt(_0x45fb23(0xaa))/0x4)+-parseInt(_0x45fb23(0xa1))/0x5*(-parseInt(_0x45fb23(0xa5))/0x6)+-parseInt(_0x45fb23(0xa9))/0x7+parseInt(_0x45fb23(0xaf))/0x8+parseInt(_0x45fb23(0xac))/0x9*(-parseInt(_0x45fb23(0xad))/0xa)+parseInt(_0x45fb23(0xae))/0xb;if(_0x31964e===_0x2c9061)break;else _0x145629['push'](_0x145629['shift']());}catch(_0x362c47){_0x145629['push'](_0x145629['shift']());}}}(a30_0x495d,0x3ccc1));function a30_0x4874(_0x40d59c,_0xe846a4){const _0x495d51=a30_0x495d();return a30_0x4874=function(_0x4874ac,_0x20eb16){_0x4874ac=_0x4874ac-0xa1;let _0x41142d=_0x495d51[_0x4874ac];return _0x41142d;},a30_0x4874(_0x40d59c,_0xe846a4);}function a30_0x495d(){const _0x1cf57c=['2705NPAkLv','../../../helpers/request-spy','timeout','109JeDAxc','4386EeEcMQ','restore','12tDswcQ','../../../bin/utils/constants','1056720MDlglN','425176CVXURI','6766CIKDxm','21501WyQmGs','1390sSKFjz','1039610QVIhUI','1485168GGcKLr','../../../helpers/test-observability/utils'];a30_0x495d=function(){return _0x1cf57c;};return a30_0x495d();}const requestSpy=require(a30_0x194915(0xa2)),constants=require(a30_0x194915(0xa8)),{addRequestSpy}=require(a30_0x194915(0xb0));exports['mochaHooks']={'beforeAll'(){const _0x5a4c88={'eVkTH':function(_0x58506a){return _0x58506a();}},_0x56b103='browserstack internal helper hook';_0x5a4c88['eVkTH'](addRequestSpy);},'afterAll'(){const _0x497015=a30_0x194915,_0xad8e83='browserstack internal helper hook';this[_0x497015(0xa3)](0xea60),requestSpy[_0x497015(0xa6)]();}};
@@ -1 +1 @@
1
- function a31_0x8fba(){const _0x180436=['get','mecDJ','slice','pending','getTestEnv','split','getPlatform','aXzjT','failed','../../../helpers/testhub/utils','mapTestHooks','DlkuG','6Gytjcd','parent','131048DlvsUH','getHookDetails','TCKXB','cMCeB','concat','../../../helpers/test-observability/utils','unknown_grid','hookAnalyticsId','SaQrN','75BgwzSR','NXNiz','../../../../package.json','1180795rqxmth','fromEntries','180046oXoQdh','toJSON','browserstack','js-','sendPlatformDetails','getCapabilities','_beforeEach','JCcNf','KrpaK','9oXsLvS','SoCBt','837960YMOTfB','getHookSkippedTests','../../utils/logPatcher','VgUFR','oGKiV','7TBlnsZ','platformVersion','ZMtYf','IwMGM','aNocB','52043CUQDZy','488996PdYpxD','_afterAll','gAfVa','generic','82416CFHpNO','forEach','getBrowserVersion','ofeDK','nzIWa','TEST_PLATFORM','../../../helpers/helper','PwKWN','hook:','TgSXt','aHfcj','toISOString','_afterEach','simEE','getHooksForTest','__cloud_provider___','indexOf','oUZLQ','hook','passed','lodash','NZeue','_beforeAll','naWbw','markedStatus','ArCXE','lyiQo','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'];a31_0x8fba=function(){return _0x180436;};return a31_0x8fba();}const a31_0x1b8ecb=a31_0x2fe8;(function(_0x13785a,_0xc70073){const _0x4f61b5=a31_0x2fe8,_0x302d5b=_0x13785a();while(!![]){try{const _0x57d204=parseInt(_0x4f61b5(0x101))/0x1+parseInt(_0x4f61b5(0x13e))/0x2*(parseInt(_0x4f61b5(0x12e))/0x3)+-parseInt(_0x4f61b5(0x102))/0x4+-parseInt(_0x4f61b5(0x139))/0x5*(-parseInt(_0x4f61b5(0x106))/0x6)+-parseInt(_0x4f61b5(0x14e))/0x7*(parseInt(_0x4f61b5(0x130))/0x8)+parseInt(_0x4f61b5(0x147))/0x9*(-parseInt(_0x4f61b5(0x149))/0xa)+-parseInt(_0x4f61b5(0x13c))/0xb;if(_0x57d204===_0xc70073)break;else _0x302d5b['push'](_0x302d5b['shift']());}catch(_0x28ef19){_0x302d5b['push'](_0x302d5b['shift']());}}}(a31_0x8fba,0x1a746));function a31_0x2fe8(_0x5d6cbd,_0x3cc4b5){const _0x8fba03=a31_0x8fba();return a31_0x2fe8=function(_0x2fe87a,_0x26b49c){_0x2fe87a=_0x2fe87a-0xfd;let _0x2f1884=_0x8fba03[_0x2fe87a];return _0x2f1884;},a31_0x2fe8(_0x5d6cbd,_0x3cc4b5);}const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x1b8ecb(0x13b)),logPatcher=require(a31_0x1b8ecb(0x14b)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x1b8ecb(0x135)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a31_0x1b8ecb(0x10c)),{shouldProcessEventForTesthub}=require(a31_0x1b8ecb(0x12b)),{isFunction}=require(a31_0x1b8ecb(0x11a)),{patchConsoleLogger}=require(a31_0x1b8ecb(0x135));patchConsoleLogger(),exports[a31_0x1b8ecb(0x126)]=()=>{const _0x318705=a31_0x1b8ecb,_0x1142e2={'mecDJ':_0x318705(0x105),'DlkuG':function(_0x1950be){return _0x1950be();}};return{'ci':_0x1142e2[_0x318705(0x123)],'key':_0x1142e2[_0x318705(0x12d)](uuidv4),'version':version,'collector':_0x318705(0x141)+name};},exports[a31_0x1b8ecb(0x131)]=_0x5738eb=>{const _0x2ed091=a31_0x1b8ecb,_0x3f36ef={};_0x3f36ef[_0x2ed091(0x145)]=function(_0x59f3e5,_0x327ebd){return _0x59f3e5!==_0x327ebd;},_0x3f36ef[_0x2ed091(0x100)]='string',_0x3f36ef[_0x2ed091(0x133)]=_0x2ed091(0x10e),_0x3f36ef[_0x2ed091(0x10a)]=_0x2ed091(0x118);const _0x149e78=_0x3f36ef;if(!_0x5738eb||_0x149e78['JCcNf'](typeof _0x5738eb,_0x149e78[_0x2ed091(0x100)]))return[null,null];if(_0x149e78['JCcNf'](_0x5738eb[_0x2ed091(0x116)](_0x149e78[_0x2ed091(0x133)]),-0x1)){const _0x3f054f=_0x5738eb[_0x2ed091(0x127)](_0x149e78[_0x2ed091(0x133)]);return[_0x3f054f[0x0][_0x2ed091(0x124)](0x0,-0x1)[_0x2ed091(0x127)]('\x22')[0x1],_0x3f054f[0x1]['substring'](0x1)];}else{if(_0x149e78['JCcNf'](_0x5738eb[_0x2ed091(0x116)](_0x149e78['nzIWa']),-0x1)){const _0x4fbc93=_0x5738eb[_0x2ed091(0x127)](_0x149e78[_0x2ed091(0x10a)]);return[_0x4fbc93[0x0]['slice'](0x0,-0x1)[_0x2ed091(0x127)]('\x22')[0x1],_0x5738eb];}}return[null,null];},exports[a31_0x1b8ecb(0x114)]=_0x495f8f=>{const _0x5df981=a31_0x1b8ecb,_0x563eff={'aHfcj':function(_0xae2f19,_0x327e34){return _0xae2f19(_0x327e34);},'VgUFR':_0x5df981(0x11c),'TCKXB':_0x5df981(0x103),'mHkvD':_0x5df981(0x144),'aWJWu':_0x5df981(0x112)};if(!_0x495f8f||!_0x495f8f[_0x5df981(0x12f)])return[];const _0x257942=[];return[_0x563eff[_0x5df981(0x14c)],_0x563eff[_0x5df981(0x132)],_0x563eff['mHkvD'],_0x563eff['aWJWu']]['forEach'](_0x3a6018=>{const _0x38d908=_0x5df981,_0x4295d3={'aXzjT':function(_0x2bfe8b,_0x50e7c7){const _0x131708=a31_0x2fe8;return _0x563eff[_0x131708(0x110)](_0x2bfe8b,_0x50e7c7);}},_0x463ea8=_0x495f8f[_0x38d908(0x12f)][_0x3a6018]||[];_0x463ea8['forEach'](_0x802813=>{const _0x495240=_0x38d908;_0x802813[_0x495240(0x137)]&&!_0x4295d3[_0x495240(0x129)](isInternalHook,_0x802813['fn'])&&_0x257942['push'](_0x802813[_0x495240(0x137)]);});}),[..._0x257942,...exports[_0x5df981(0x114)](_0x495f8f['parent'])];},exports[a31_0x1b8ecb(0x12c)]=_0x7ada14=>{const _0x193bdc=a31_0x1b8ecb,_0x3cf266={'simEE':function(_0x3ee385){return _0x3ee385();},'ofeDK':function(_0x166ee3,_0x29d2cb){return _0x166ee3===_0x29d2cb;},'TgSXt':_0x193bdc(0x112),'ArCXE':function(_0xc79822){return _0xc79822();},'gAfVa':'_beforeAll','PwKWN':_0x193bdc(0x103),'NXNiz':'_beforeEach'};if(!_0x7ada14||!_0x7ada14[_0x193bdc(0x12f)])return;[_0x3cf266[_0x193bdc(0x104)],_0x3cf266[_0x193bdc(0x10d)],_0x3cf266[_0x193bdc(0x13a)],_0x3cf266[_0x193bdc(0x10f)]][_0x193bdc(0x107)](_0x10bd8f=>{const _0x396c67=_0x193bdc,_0x4cde09=_0x7ada14[_0x396c67(0x12f)][_0x10bd8f]||[];_0x4cde09[_0x396c67(0x107)](_0x279149=>{const _0x1dc511=_0x396c67;if(!_0x279149[_0x1dc511(0x137)])_0x279149[_0x1dc511(0x137)]=_0x3cf266[_0x1dc511(0x113)](uuidv4);else _0x279149[_0x1dc511(0x11e)]&&_0x3cf266[_0x1dc511(0x109)](_0x10bd8f,_0x3cf266[_0x1dc511(0x10f)])&&(_0x279149[_0x1dc511(0x137)]=_0x3cf266[_0x1dc511(0x11f)](uuidv4),delete _0x279149[_0x1dc511(0x11e)]);});}),exports['mapTestHooks'](_0x7ada14['parent']);},exports[a31_0x1b8ecb(0x142)]=async(_0x2ca01f,_0x75b678)=>{const _0x5014a7=a31_0x1b8ecb,_0x279703={'SaQrN':function(_0x157ad1){return _0x157ad1();},'NZeue':function(_0x185fc7,_0x4a0e64){return _0x185fc7(_0x4a0e64);},'oGKiV':_0x5014a7(0xfd),'qnivi':function(_0x1954e8,_0x52a5df){return _0x1954e8===_0x52a5df;},'oUZLQ':_0x5014a7(0x140),'KrpaK':_0x5014a7(0x136),'tTnda':_0x5014a7(0x10b),'WBAMy':function(_0x2a6324,_0x4db95f){return _0x2a6324(_0x4db95f);}};try{if(!_0x279703[_0x5014a7(0x138)](shouldProcessEventForTesthub))return;const _0x16880f=await _0x2ca01f[_0x5014a7(0x143)](),_0x413fbc=await _0x2ca01f['getSession'](),_0x4984fc={},_0x4edd59=Object[_0x5014a7(0x13d)](_0x413fbc[_0x5014a7(0x143)]()['map_']),_0x445853={'product':_0x279703[_0x5014a7(0x11b)](getObservabilityLinkedProductName,_0x4edd59),'capabilities':_0x4edd59,'platform':_0x16880f[_0x5014a7(0x128)](),'platform_version':_0x16880f[_0x5014a7(0x122)](_0x279703[_0x5014a7(0x14d)])?_0x16880f['get'](_0x279703['oGKiV']):_0x279703[_0x5014a7(0x11b)](getPlatformVersion,_0x279703['qnivi'](global[_0x5014a7(0x115)],_0x279703[_0x5014a7(0x117)])),'browser':_0x16880f['getBrowserName'](),'browser_version':_0x16880f[_0x5014a7(0x108)](),'session_id':_0x413fbc[_0x5014a7(0x13f)]()};global[_0x5014a7(0x115)]?_0x4984fc[global[_0x5014a7(0x115)]]=_0x445853:_0x4984fc[_0x279703[_0x5014a7(0x146)]]=_0x445853,process['emit']('bs:addPlatformDetails:'+process['pid'],{'timestamp':new Date()[_0x5014a7(0x111)](),'level':null,'message':null,'kind':_0x279703['tTnda'],'http_response':_0x4984fc,'uuid':_0x75b678});}catch(_0x2e83e4){_0x279703['WBAMy'](debug,_0x5014a7(0x121)+_0x2e83e4);}},exports[a31_0x1b8ecb(0x14a)]=_0x1f734a=>{const _0x4cbe43=a31_0x1b8ecb,_0x27711a={};_0x27711a[_0x4cbe43(0xff)]=function(_0x39bb36,_0x340e61){return _0x39bb36!==_0x340e61;},_0x27711a[_0x4cbe43(0x148)]=_0x4cbe43(0x118),_0x27711a[_0x4cbe43(0xfe)]=_0x4cbe43(0x119),_0x27711a[_0x4cbe43(0x11d)]=function(_0x151c2d,_0x52d6b1){return _0x151c2d!==_0x52d6b1;},_0x27711a[_0x4cbe43(0x120)]=_0x4cbe43(0x12a);const _0x24ac27=_0x27711a,_0x5a960e=_0x1f734a['suites']['reduce']((_0x12b0ad,_0x429f2d)=>{const _0x35fe8=exports['getHookSkippedTests'](_0x429f2d);return _0x35fe8&&(_0x12b0ad=_0x12b0ad['concat'](_0x35fe8)),_0x12b0ad;},[]),_0x198f8d=_0x1f734a['tests']['filter'](_0x22f0d4=>{const _0x34fe6c=_0x4cbe43,_0x1bcc6f=_0x24ac27[_0x34fe6c(0xff)](_0x22f0d4['type'],_0x24ac27[_0x34fe6c(0x148)])&&!_0x22f0d4[_0x34fe6c(0x11e)]&&_0x24ac27[_0x34fe6c(0xff)](_0x22f0d4['state'],_0x24ac27[_0x34fe6c(0xfe)])&&_0x24ac27[_0x34fe6c(0x11d)](_0x22f0d4['state'],_0x24ac27[_0x34fe6c(0x120)])&&!_0x22f0d4[_0x34fe6c(0x125)];return _0x1bcc6f;});return _0x198f8d[_0x4cbe43(0x134)](_0x5a960e);};
1
+ function a31_0x1985(_0x32b4a1,_0x2a8d5a){const _0x216877=a31_0x2168();return a31_0x1985=function(_0x198533,_0x3c2b30){_0x198533=_0x198533-0x149;let _0x4304f0=_0x216877[_0x198533];return _0x4304f0;},a31_0x1985(_0x32b4a1,_0x2a8d5a);}const a31_0x5901a8=a31_0x1985;(function(_0x385164,_0x41178d){const _0x4751a5=a31_0x1985,_0x27d49f=_0x385164();while(!![]){try{const _0x24fec2=parseInt(_0x4751a5(0x180))/0x1*(-parseInt(_0x4751a5(0x17c))/0x2)+parseInt(_0x4751a5(0x19c))/0x3+-parseInt(_0x4751a5(0x17b))/0x4+parseInt(_0x4751a5(0x14f))/0x5+parseInt(_0x4751a5(0x173))/0x6*(parseInt(_0x4751a5(0x15e))/0x7)+parseInt(_0x4751a5(0x158))/0x8+-parseInt(_0x4751a5(0x14a))/0x9;if(_0x24fec2===_0x41178d)break;else _0x27d49f['push'](_0x27d49f['shift']());}catch(_0x123eb5){_0x27d49f['push'](_0x27d49f['shift']());}}}(a31_0x2168,0xcd457));const {v4:uuidv4}=require(a31_0x5901a8(0x181)),{name,version}=require(a31_0x5901a8(0x19e)),logPatcher=require(a31_0x5901a8(0x18c)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a31_0x5901a8(0x19a)),{getPlatformVersion}=require(a31_0x5901a8(0x157)),{shouldProcessEventForTesthub}=require(a31_0x5901a8(0x165)),{isFunction}=require(a31_0x5901a8(0x189)),{patchConsoleLogger}=require(a31_0x5901a8(0x159));function a31_0x2168(){const _0x813bcc=['lodash','pnuFk','concat','../../utils/logPatcher','TEST_PLATFORM','state','zEAeO','__cloud_provider___','getHooksForTest','js-','sendPlatformDetails','rpEtT','passed','Hwisf','generic','KDiQL','kOSHu','../../../helpers/test-observability/constants','get','1590855psmMpa','hook','../../../../package.json','atJaE','GymVt','14731974SwAEEr','emit','browserstack','getPlatform','zHmqQ','6487360EUpnnx','SfIEZ','mapTestHooks','hookAnalyticsId','BvGvZ','reduce','getTestEnv','forEach','../../../helpers/helper','9372224AEXLJf','../../../helpers/test-observability/utils','jCgcH','getSession','_afterAll','CtnQO','21wpZVBg','qNyEp','unknown_grid','string','taTqw','uLOim','iNydD','../../../helpers/testhub/utils','pid','markedStatus','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','xgBdz','getCapabilities','YRKFn','_beforeAll','failed','filter','XTkma','fromEntries','platformVersion','nQKCa','1355352aNpXwJ','ZZygf','IYIyh','getBrowserName','map_','slice','tests','indexOf','879624OzipDT','979378IzQENr','aWDwB','substring','toJSON','2gIGcFZ','uuid','nSBFW','Iwppo','tZiwk','TQcLw','split','getHookDetails','parent'];a31_0x2168=function(){return _0x813bcc;};return a31_0x2168();}patchConsoleLogger(),exports[a31_0x5901a8(0x155)]=()=>{const _0x3a6a9f=a31_0x5901a8,_0x10c73a={'zEAeO':_0x3a6a9f(0x197),'TQcLw':function(_0x4af3b6){return _0x4af3b6();}};return{'ci':_0x10c73a[_0x3a6a9f(0x18f)],'key':_0x10c73a[_0x3a6a9f(0x185)](uuidv4),'version':version,'collector':_0x3a6a9f(0x192)+name};},exports[a31_0x5901a8(0x187)]=_0x41f574=>{const _0x35194d=a31_0x5901a8,_0x2fed0c={};_0x2fed0c[_0x35194d(0x199)]=function(_0x970867,_0x29ee69){return _0x970867!==_0x29ee69;},_0x2fed0c['xgBdz']=_0x35194d(0x161),_0x2fed0c[_0x35194d(0x162)]='hook:',_0x2fed0c[_0x35194d(0x194)]=function(_0x12562c,_0x4ade3e){return _0x12562c!==_0x4ade3e;},_0x2fed0c[_0x35194d(0x196)]=_0x35194d(0x19d);const _0x574707=_0x2fed0c;if(!_0x41f574||_0x574707[_0x35194d(0x199)](typeof _0x41f574,_0x574707[_0x35194d(0x169)]))return[null,null];if(_0x574707[_0x35194d(0x199)](_0x41f574[_0x35194d(0x17a)](_0x574707[_0x35194d(0x162)]),-0x1)){const _0x1c3d6a=_0x41f574[_0x35194d(0x186)](_0x574707[_0x35194d(0x162)]);return[_0x1c3d6a[0x0][_0x35194d(0x178)](0x0,-0x1)[_0x35194d(0x186)]('\x22')[0x1],_0x1c3d6a[0x1][_0x35194d(0x17e)](0x1)];}else{if(_0x574707[_0x35194d(0x194)](_0x41f574[_0x35194d(0x17a)](_0x574707[_0x35194d(0x196)]),-0x1)){const _0x3ec25d=_0x41f574[_0x35194d(0x186)](_0x574707[_0x35194d(0x196)]);return[_0x3ec25d[0x0][_0x35194d(0x178)](0x0,-0x1)[_0x35194d(0x186)]('\x22')[0x1],_0x41f574];}}return[null,null];},exports[a31_0x5901a8(0x191)]=_0x3b4c5a=>{const _0xac78a7=a31_0x5901a8,_0x222912={'SfIEZ':function(_0x542a98,_0x171770){return _0x542a98(_0x171770);},'qNyEp':_0xac78a7(0x16c),'IYIyh':_0xac78a7(0x15c),'aWDwB':'_beforeEach','pnuFk':'_afterEach'};if(!_0x3b4c5a||!_0x3b4c5a[_0xac78a7(0x188)])return[];const _0x5d985b=[];return[_0x222912[_0xac78a7(0x15f)],_0x222912[_0xac78a7(0x175)],_0x222912[_0xac78a7(0x17d)],_0x222912[_0xac78a7(0x18a)]][_0xac78a7(0x156)](_0x23f920=>{const _0x37facf={'jCgcH':function(_0xd1eab3,_0x2c36f4){const _0x28e829=a31_0x1985;return _0x222912[_0x28e829(0x150)](_0xd1eab3,_0x2c36f4);}},_0x3e80ee=_0x3b4c5a['parent'][_0x23f920]||[];_0x3e80ee['forEach'](_0x527c82=>{const _0x4a9732=a31_0x1985;_0x527c82[_0x4a9732(0x152)]&&!_0x37facf[_0x4a9732(0x15a)](isInternalHook,_0x527c82['fn'])&&_0x5d985b['push'](_0x527c82[_0x4a9732(0x152)]);});}),[..._0x5d985b,...exports[_0xac78a7(0x191)](_0x3b4c5a[_0xac78a7(0x188)])];},exports[a31_0x5901a8(0x151)]=_0x2325e3=>{const _0x2a8677=a31_0x5901a8,_0x30be81={'atJaE':function(_0x4aeb1d){return _0x4aeb1d();},'OeHje':function(_0x56aef3,_0x507ee0){return _0x56aef3===_0x507ee0;},'XTkma':'_afterEach','JOkDi':'_beforeAll','kJLPY':_0x2a8677(0x15c),'KDiQL':'_beforeEach'};if(!_0x2325e3||!_0x2325e3['parent'])return;[_0x30be81['JOkDi'],_0x30be81['kJLPY'],_0x30be81[_0x2a8677(0x198)],_0x30be81[_0x2a8677(0x16f)]][_0x2a8677(0x156)](_0xa12180=>{const _0x5963d4=_0x2a8677,_0x294752=_0x2325e3[_0x5963d4(0x188)][_0xa12180]||[];_0x294752[_0x5963d4(0x156)](_0x40da59=>{const _0x41d155=_0x5963d4;if(!_0x40da59['hookAnalyticsId'])_0x40da59['hookAnalyticsId']=_0x30be81[_0x41d155(0x19f)](uuidv4);else _0x40da59['markedStatus']&&_0x30be81['OeHje'](_0xa12180,_0x30be81[_0x41d155(0x16f)])&&(_0x40da59['hookAnalyticsId']=_0x30be81[_0x41d155(0x19f)](uuidv4),delete _0x40da59[_0x41d155(0x167)]);});}),exports[_0x2a8677(0x151)](_0x2325e3[_0x2a8677(0x188)]);},exports[a31_0x5901a8(0x193)]=async(_0x505881,_0x449ffd)=>{const _0xc3456a=a31_0x5901a8,_0x3c82ae={'iNydD':function(_0x56bdbd){return _0x56bdbd();},'tZiwk':function(_0x24ac61,_0x295fae){return _0x24ac61(_0x295fae);},'ZZygf':_0xc3456a(0x171),'jWGCT':function(_0x5f4d29,_0x2889f2){return _0x5f4d29===_0x2889f2;},'uLOim':_0xc3456a(0x14c),'OOZBo':_0xc3456a(0x160),'nQKCa':_0xc3456a(0x18d),'Iwppo':function(_0x23d49f,_0x214c4b){return _0x23d49f(_0x214c4b);}};try{if(!_0x3c82ae[_0xc3456a(0x164)](shouldProcessEventForTesthub))return;const _0x40f5c4=await _0x505881[_0xc3456a(0x16a)](),_0x17101c=await _0x505881[_0xc3456a(0x15b)](),_0x360dee={},_0xe73fc6=Object[_0xc3456a(0x170)](_0x17101c[_0xc3456a(0x16a)]()[_0xc3456a(0x177)]),_0xe4f0e7={'product':_0x3c82ae[_0xc3456a(0x184)](getObservabilityLinkedProductName,_0xe73fc6),'capabilities':_0xe73fc6,'platform':_0x40f5c4[_0xc3456a(0x14d)](),'platform_version':_0x40f5c4[_0xc3456a(0x19b)](_0x3c82ae[_0xc3456a(0x174)])?_0x40f5c4[_0xc3456a(0x19b)](_0x3c82ae[_0xc3456a(0x174)]):_0x3c82ae[_0xc3456a(0x184)](getPlatformVersion,_0x3c82ae['jWGCT'](global['__cloud_provider___'],_0x3c82ae[_0xc3456a(0x163)])),'browser':_0x40f5c4[_0xc3456a(0x176)](),'browser_version':_0x40f5c4['getBrowserVersion'](),'session_id':_0x17101c[_0xc3456a(0x17f)]()};global[_0xc3456a(0x190)]?_0x360dee[global[_0xc3456a(0x190)]]=_0xe4f0e7:_0x360dee[_0x3c82ae['OOZBo']]=_0xe4f0e7,process[_0xc3456a(0x14b)]('bs:addPlatformDetails:'+process[_0xc3456a(0x166)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x3c82ae[_0xc3456a(0x172)],'http_response':_0x360dee,'uuid':_0x449ffd});}catch(_0x313d03){_0x3c82ae[_0xc3456a(0x183)](debug,_0xc3456a(0x168)+_0x313d03);}},exports['getHookSkippedTests']=_0x418401=>{const _0x405c8=a31_0x5901a8,_0x8802d4={};_0x8802d4[_0x405c8(0x149)]=function(_0x324dbd,_0x2e3a6f){return _0x324dbd!==_0x2e3a6f;},_0x8802d4['BvGvZ']=_0x405c8(0x19d),_0x8802d4[_0x405c8(0x182)]=function(_0x1fe454,_0x5b0415){return _0x1fe454!==_0x5b0415;},_0x8802d4[_0x405c8(0x15d)]=_0x405c8(0x195),_0x8802d4[_0x405c8(0x16b)]=function(_0x2e4313,_0x4ee3bc){return _0x2e4313!==_0x4ee3bc;},_0x8802d4[_0x405c8(0x14e)]=_0x405c8(0x16d);const _0x79c24c=_0x8802d4,_0x248521=_0x418401['suites'][_0x405c8(0x154)]((_0x45216a,_0x458e96)=>{const _0x46c7df=_0x405c8,_0x2e8684=exports['getHookSkippedTests'](_0x458e96);return _0x2e8684&&(_0x45216a=_0x45216a[_0x46c7df(0x18b)](_0x2e8684)),_0x45216a;},[]),_0x54a3d3=_0x418401[_0x405c8(0x179)][_0x405c8(0x16e)](_0x175666=>{const _0x487505=_0x405c8,_0x2061f3=_0x79c24c[_0x487505(0x149)](_0x175666['type'],_0x79c24c[_0x487505(0x153)])&&!_0x175666['markedStatus']&&_0x79c24c[_0x487505(0x182)](_0x175666[_0x487505(0x18e)],_0x79c24c[_0x487505(0x15d)])&&_0x79c24c[_0x487505(0x16b)](_0x175666[_0x487505(0x18e)],_0x79c24c[_0x487505(0x14e)])&&!_0x175666['pending'];return _0x2061f3;});return _0x54a3d3['concat'](_0x248521);};
@@ -1 +1 @@
1
- function a32_0x2b8c(_0x3b9f60,_0x202ada){const _0x4669e=a32_0x4669();return a32_0x2b8c=function(_0x2b8c33,_0x2a6389){_0x2b8c33=_0x2b8c33-0x15b;let _0x34b978=_0x4669e[_0x2b8c33];return _0x34b978;},a32_0x2b8c(_0x3b9f60,_0x202ada);}function a32_0x4669(){const _0x5c7df7=['message','KHdoY','info','SESSION_NAME','TWvmJ','__platformCaps','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','session_','lALil','http:','lPdYL','grMND','3203025nBcAvo','.\x20Error\x20:','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','quitCount_','495422KewTzr','__error_messages__','ppAho','6ceLLgd','shift','lmoGj','testcase','isAccessibilityPlatform','app','tRHRD','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20',',\x22level\x22:\x20\x22','SdAqF','MNOVp','afterEach','start','then','end','bJjtU','join','PychG','YvUAu','KiiMO','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','xRWYW','UHvSD','PERFORM_SCAN','passed','browserstackSessionName','BCxwr','initQuit','\x22}}','JuHgM','24376fWBBMd','chXjj','vZQMn','WnWtD','beforeAll','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','winstonLogger','zCSVM','startMonitoring','accessibilityScanStarted','thTestRunUuid','MgLjV','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','sessionNameSet__','../../helpers/performance/performance-tester','isArray','3771112jNGjHl','dvMMn','__skipSessionName','Passed','env','PAwnd','../../helpers/globals','JpOYu','../../helpers/helper','Failed:\x20','MxSFA','state','titlePath','GzCWm','TumrH','getGlobal','__drivers','format','index','573279QaISIr','yqkSm','currentTest','debug','https:','util','XhTjt','afterAll','failed','XUhXJ','TZOfq','finally','getCurrentUrl','command','iFXul','../../helpers/logger','TdNac','setGlobal','stringify','AVHqW','xIoaA','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','testAnalyticsId','xYEnJ','__sessionFailed','capabilities','executeScript','PNyvz','percy','SDK_HOOK','GBcdY','jSkQH','sessionName','HeUNA','XwkLy','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','ANEAs','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','percyCaptureMode','../../helpers/percy/utils','appium:app','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','XDlSD','iXppR','EuKLH','xRwkr','SYNC','shouldScanTestForAccessibility','protocol','bstackA11yShouldScan','oBiBC','oegfC','../../helpers/testhub/utils','SpYzj','timeout','6cSyzin','beforeEach','DltSW','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','error','27224200QgxHnl','12048127taVvze','ditHt','KCuPA','lUvgZ','../../helpers/testhub/constants','driverCleanup','ENV_VAR','SlNHQ','BROWSERSTACK_TESTHUB_UUID','afterTest','DvjNi','Qklzw','gVUUh','\x20-\x20','length','IbrDQ','measureWrapper','2178guxPaf','gOaWh','./test-observability/mochaUtils','EDIuc','browserstackTestName','BIkVv','Kfpcp','SAVE_RESULTS','Performing\x20scan\x20before\x20saving\x20results','omhTO','err','RrELb','hThNa'];a32_0x4669=function(){return _0x5c7df7;};return a32_0x4669();}const a32_0x3e087e=a32_0x2b8c;(function(_0x313a8a,_0x87d0f8){const _0x42410f=a32_0x2b8c,_0xcefc88=_0x313a8a();while(!![]){try{const _0x69bb08=parseInt(_0x42410f(0x16d))/0x1+parseInt(_0x42410f(0x1d8))/0x2*(parseInt(_0x42410f(0x1db))/0x3)+parseInt(_0x42410f(0x209))/0x4+parseInt(_0x42410f(0x1d4))/0x5+parseInt(_0x42410f(0x1a4))/0x6*(parseInt(_0x42410f(0x1aa))/0x7)+parseInt(_0x42410f(0x1f9))/0x8*(-parseInt(_0x42410f(0x1bb))/0x9)+-parseInt(_0x42410f(0x1a9))/0xa;if(_0x69bb08===_0x87d0f8)break;else _0xcefc88['push'](_0xcefc88['shift']());}catch(_0x2d0b36){_0xcefc88['push'](_0xcefc88['shift']());}}}(a32_0x4669,0xdf02b));const util=require(a32_0x3e087e(0x172)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x3e087e(0x194)),{sendPlatformDetails}=require(a32_0x3e087e(0x1bd)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x3e087e(0x162)),PerformanceTester=require(a32_0x3e087e(0x207)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x3e087e(0x160)),logger=require(a32_0x3e087e(0x17c))[a32_0x3e087e(0x1ff)],{shouldProcessEventForTesthub}=require(a32_0x3e087e(0x1a1)),testHubConstants=require(a32_0x3e087e(0x1ae));exports['mochaHooks']={'beforeAll'(){const _0x9beba2=a32_0x3e087e,_0x1482be={'jbYsP':function(_0x29c7a4,_0x302ab2,_0x158a9a,_0x252442){return _0x29c7a4(_0x302ab2,_0x158a9a,_0x252442);},'jNLkH':_0x9beba2(0x175),'PNyvz':'\x20|\x20','avymi':function(_0x14879d,_0x438028,_0x332ed3){return _0x14879d(_0x438028,_0x332ed3);},'gsiVq':'passed','SpYzj':function(_0x4f7a1c){return _0x4f7a1c();},'mOyaT':'index','tqQJE':_0x9beba2(0x1fd)};PerformanceTester[_0x9beba2(0x201)]();const _0x45b150='browserstack internal helper hook';PerformanceTester[_0x9beba2(0x1ba)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x174a07=_0x9beba2,_0x596c7d={'TWvmJ':function(_0x71c6a6,_0x3dde09,_0xb99f1c,_0x33b488){return _0x1482be['jbYsP'](_0x71c6a6,_0x3dde09,_0xb99f1c,_0x33b488);},'GBcdY':_0x1482be['jNLkH'],'ppAho':_0x1482be[_0x174a07(0x188)],'EuKLH':function(_0x328450,_0x1801c5,_0x2765ea){return _0x1482be['avymi'](_0x328450,_0x1801c5,_0x2765ea);},'xRwkr':_0x1482be['gsiVq'],'WBEUH':function(_0x395a70){const _0x35cc7a=_0x174a07;return _0x1482be[_0x35cc7a(0x1a2)](_0x395a70);}};global[_0x174a07(0x1d9)]=[],global['__sessionFailed']=![],global[_0x174a07(0x1af)]=async()=>{const _0x1dcc71=_0x174a07;let _0x3a5386=![];try{await global[_0x1dcc71(0x16a)][0x0][_0x1dcc71(0x1cf)],_0x3a5386=!![],global[_0x1dcc71(0x185)]?await _0x596c7d[_0x1dcc71(0x1cc)](markSessionStatus,global[_0x1dcc71(0x16a)][0x0],_0x596c7d[_0x1dcc71(0x18b)],global[_0x1dcc71(0x1d9)]['join'](_0x596c7d[_0x1dcc71(0x1da)])):await _0x596c7d[_0x1dcc71(0x199)](markSessionStatus,global[_0x1dcc71(0x16a)][0x0],_0x596c7d[_0x1dcc71(0x19a)]);}catch(_0x2848ed){logger[_0x1dcc71(0x170)](_0x1dcc71(0x196)+_0x2848ed);}global[_0x1dcc71(0x1d9)]=[],global[_0x1dcc71(0x185)]=![];if(_0x3a5386)try{try{_0x596c7d['WBEUH'](shouldProcessEventForTesthub)&&(global[_0x1dcc71(0x16a)][0x0]&&await _0x596c7d[_0x1dcc71(0x199)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x1dcc71(0x16f)][_0x1dcc71(0x183)]:null));}catch(_0xc94b63){logger[_0x1dcc71(0x170)](_0x1dcc71(0x1ce)+_0xc94b63);}await global[_0x1dcc71(0x16a)][0x0][_0x1dcc71(0x1f6)]();}catch(_0x35341e){logger[_0x1dcc71(0x170)](_0x1dcc71(0x182)+_0x35341e);}};},{'platform':_0x1482be['avymi'](nestedKeyValue,global[_0x9beba2(0x1cd)],[_0x1482be['mOyaT']]),'hookType':_0x1482be['tqQJE']})();},'beforeEach'(_0x17aebe){const _0x3b538c=a32_0x3e087e,_0x535bff={'gOaWh':function(_0x9e0d40,_0x16443a){return _0x9e0d40>_0x16443a;},'chXjj':_0x3b538c(0x1b7),'JuHgM':function(_0x2e4691,_0x51d3d4,_0x691a3b){return _0x2e4691(_0x51d3d4,_0x691a3b);},'fnLem':_0x3b538c(0x19e),'bJjtU':function(_0x16ae0d){return _0x16ae0d();},'bFPrv':function(_0xd198c4,_0x10720c){return _0xd198c4>_0x10720c;},'TZOfq':'isAccessibilityPlatform','xIoaA':function(_0x2b36fa,_0x4ddf8a){return _0x2b36fa===_0x4ddf8a;},'eWpDr':_0x3b538c(0x1d1),'EDIuc':_0x3b538c(0x171),'SlNHQ':_0x3b538c(0x192),'SdAqF':'Automate\x20test\x20case\x20execution\x20has\x20started.','gSXqe':_0x3b538c(0x1bf),'PAwnd':function(_0x4d5ff5,_0x33ecd1,_0x2084c0){return _0x4d5ff5(_0x33ecd1,_0x2084c0);},'MNOVp':_0x3b538c(0x16c),'TumrH':_0x3b538c(0x1a5)};globals[_0x3b538c(0x17e)](_0x535bff['gSXqe'],this[_0x3b538c(0x16f)][_0x3b538c(0x166)]()[_0x3b538c(0x1eb)](_0x535bff[_0x3b538c(0x1fa)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3b538c(0x18a)],()=>{const _0x22a636=_0x3b538c,_0x8cde89='browserstack internal helper hook';new Promise(async _0x2781a8=>{const _0x4cd4cf=a32_0x2b8c;let _0x44fdf0=!![];try{_0x535bff[_0x4cd4cf(0x1bc)](global[_0x4cd4cf(0x16a)][_0x4cd4cf(0x1b8)],0x1)&&(await global[_0x4cd4cf(0x1af)](),global[_0x4cd4cf(0x16a)][_0x4cd4cf(0x1dc)]()),_0x535bff[_0x4cd4cf(0x1bc)](global[_0x4cd4cf(0x16a)][0x0][_0x4cd4cf(0x1d7)],0x0)&&(_0x44fdf0=![],await global['driverCleanup']());}catch(_0x33fe60){logger['debug'](_0x4cd4cf(0x182)+_0x33fe60);}try{Array[_0x4cd4cf(0x208)](global[_0x4cd4cf(0x16a)])&&global[_0x4cd4cf(0x16a)][0x0]&&(global[_0x4cd4cf(0x16a)][0x0][_0x4cd4cf(0x1f4)]=this[_0x4cd4cf(0x16f)]['titlePath']()['join'](_0x535bff[_0x4cd4cf(0x1fa)])),global[_0x4cd4cf(0x1f4)]=this[_0x4cd4cf(0x16f)]['titlePath']()[_0x4cd4cf(0x1eb)](_0x535bff[_0x4cd4cf(0x1fa)]);}catch(_0x18ba20){logger[_0x4cd4cf(0x170)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x18ba20);}this[_0x4cd4cf(0x16f)][_0x4cd4cf(0x19c)]=_0x535bff[_0x4cd4cf(0x1f8)](shouldScanTestForAccessibility,this['currentTest']['titlePath'](),!![]),globals[_0x4cd4cf(0x17e)](_0x535bff['fnLem'],this['currentTest']['shouldScanTestForAccessibility']),this['currentTest'][_0x4cd4cf(0x202)]=!![];if(_0x535bff[_0x4cd4cf(0x1ea)](isAccessibilityAutomationSession)&&_0x44fdf0&&Array[_0x4cd4cf(0x208)](global[_0x4cd4cf(0x16a)])&&_0x535bff['bFPrv'](global['__drivers']['length'],0x0)&&globals['getGlobal'](_0x535bff[_0x4cd4cf(0x177)]))try{const _0x3b209c=await global[_0x4cd4cf(0x16a)][0x0][_0x4cd4cf(0x1cf)];if(_0x3b209c){let _0x49b9e5=!![];const _0x40afe1=await global[_0x4cd4cf(0x16a)][0x0][_0x4cd4cf(0x179)]();let _0x511217;try{_0x511217=new URL(_0x40afe1);}catch(_0x5f13f4){_0x49b9e5=![];}_0x49b9e5=_0x535bff[_0x4cd4cf(0x181)](_0x511217[_0x4cd4cf(0x19d)],_0x535bff['eWpDr'])||_0x535bff[_0x4cd4cf(0x181)](_0x511217[_0x4cd4cf(0x19d)],_0x535bff[_0x4cd4cf(0x1be)]),_0x49b9e5&&(this[_0x4cd4cf(0x16f)][_0x4cd4cf(0x19c)]&&logger['info'](_0x535bff[_0x4cd4cf(0x1b1)])),this['currentTest'][_0x4cd4cf(0x202)]=this['currentTest'][_0x4cd4cf(0x19c)],this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x4cd4cf(0x1ca)](_0x535bff[_0x4cd4cf(0x1e4)]);}}catch(_0x415c25){logger['error'](_0x4cd4cf(0x1ef)+util['format'](_0x415c25));}_0x535bff[_0x4cd4cf(0x1ea)](_0x2781a8);})[_0x22a636(0x1e8)](()=>{const _0x320d7c=_0x22a636;_0x535bff[_0x320d7c(0x1ea)](_0x17aebe);});},{'platform':_0x535bff[_0x3b538c(0x15f)](nestedKeyValue,global[_0x3b538c(0x1cd)],[_0x535bff[_0x3b538c(0x1e5)]]),'hookType':_0x535bff[_0x3b538c(0x168)]})();},'afterEach'(_0x347bc1){const _0x445481=a32_0x3e087e,_0x1aa9fd={'iFXul':function(_0x38894c){return _0x38894c();},'WnWtD':_0x445481(0x1b7),'YwJXj':function(_0x503bad,_0x1e8554){return _0x503bad!==_0x1e8554;},'BIkVv':_0x445481(0x1f3),'DltSW':function(_0x579db1,_0x26edb7,_0x2682ec){return _0x579db1(_0x26edb7,_0x2682ec);},'EfAsh':function(_0x496dd4,_0x525e8d){return _0x496dd4+_0x525e8d;},'DaLxj':_0x445481(0x163),'ikvNW':_0x445481(0x1a8),'lmoGj':_0x445481(0x15d),'lUvgZ':_0x445481(0x1ca),'ogghZ':function(_0x2f7d55,_0x15434f){return _0x2f7d55>_0x15434f;},'ditHt':function(_0xd41fb4,_0x16a5ec){return _0xd41fb4===_0x16a5ec;},'UHvSD':_0x445481(0x1de),'KSXdO':_0x445481(0x195),'hThNa':function(_0x1b84be,_0x267400,_0x181467,_0x1fa4dc){return _0x1b84be(_0x267400,_0x181467,_0x1fa4dc);},'wJGXg':_0x445481(0x1df),'UYHUB':'bstackA11yShouldScan','SpzJo':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','xRWYW':_0x445481(0x1c3),'jSkQH':_0x445481(0x1b3),'omhTO':_0x445481(0x1fe),'lALil':function(_0x3fdff8){return _0x3fdff8();},'JpOYu':function(_0x5f0cd5){return _0x5f0cd5();},'Ihzxi':function(_0x488070,_0x13dc07,_0x358ba4){return _0x488070(_0x13dc07,_0x358ba4);},'RgFzu':_0x445481(0x170),'XwkLy':function(_0xb45956,_0x5164e1){return _0xb45956>_0x5164e1;},'XhTjt':function(_0x404a5f,_0x121a3c,_0xf68c3b){return _0x404a5f(_0x121a3c,_0xf68c3b);},'gVUUh':_0x445481(0x16c),'oBiBC':_0x445481(0x1e6)},_0x2bb133='browserstack internal helper hook';this['timeout'](0xfde8),global[_0x445481(0x18d)]=this[_0x445481(0x16f)][_0x445481(0x166)]()[_0x445481(0x1eb)](_0x1aa9fd[_0x445481(0x1fc)]),PerformanceTester[_0x445481(0x1ba)](PerformanceSdkEvents[_0x445481(0x18a)],()=>{const _0x264398=_0x445481,_0x132e27={'AglXO':_0x1aa9fd[_0x264398(0x1fc)],'vZQMn':function(_0x45cda9,_0xa6c805){return _0x1aa9fd['YwJXj'](_0x45cda9,_0xa6c805);},'mSyjD':_0x1aa9fd[_0x264398(0x1c0)],'MYqce':function(_0x31b571,_0x1e9dd5,_0x24453b){return _0x1aa9fd['DltSW'](_0x31b571,_0x1e9dd5,_0x24453b);},'eVIEb':function(_0x365840,_0xd92dcb){return _0x1aa9fd['EfAsh'](_0x365840,_0xd92dcb);},'TiOmB':_0x1aa9fd['DaLxj'],'XUhXJ':_0x1aa9fd['ikvNW'],'xYEnJ':_0x1aa9fd[_0x264398(0x1dd)],'vApyO':_0x1aa9fd[_0x264398(0x1ad)],'oegfC':function(_0x571ae4,_0x3743e3){return _0x1aa9fd['ogghZ'](_0x571ae4,_0x3743e3);},'JWzUD':function(_0x2a1571,_0x327b46){const _0x5e41c4=_0x264398;return _0x1aa9fd[_0x5e41c4(0x1ab)](_0x2a1571,_0x327b46);},'KCuPA':_0x1aa9fd[_0x264398(0x1f1)],'HeUNA':_0x1aa9fd['KSXdO'],'Qklzw':function(_0x40264a,_0x5b66da,_0x1b7bca,_0x4ac54c){const _0xb2e1ab=_0x264398;return _0x1aa9fd[_0xb2e1ab(0x1c7)](_0x40264a,_0x5b66da,_0x1b7bca,_0x4ac54c);},'KHdoY':_0x1aa9fd['wJGXg'],'MgLjV':_0x1aa9fd['UYHUB'],'ANEAs':_0x1aa9fd['SpzJo'],'yJOWY':_0x1aa9fd[_0x264398(0x1f0)],'DvjNi':_0x1aa9fd[_0x264398(0x18c)],'GzCWm':_0x1aa9fd[_0x264398(0x1c4)],'MxSFA':function(_0xbfc30){const _0x1d1267=_0x264398;return _0x1aa9fd[_0x1d1267(0x1d0)](_0xbfc30);},'dvMMn':function(_0x55da00,_0x127e11,_0x5c8452){const _0x2a2ca5=_0x264398;return _0x1aa9fd[_0x2a2ca5(0x1a6)](_0x55da00,_0x127e11,_0x5c8452);},'iXppR':function(_0x5dfbce){const _0x27c9ee=_0x264398;return _0x1aa9fd[_0x27c9ee(0x161)](_0x5dfbce);},'IbrDQ':function(_0x3a2ee8,_0x288ce8,_0x153d0b){return _0x1aa9fd['Ihzxi'](_0x3a2ee8,_0x288ce8,_0x153d0b);},'YvUAu':_0x1aa9fd['RgFzu'],'PychG':function(_0xaf161a,_0x232953){const _0x1125d2=_0x264398;return _0x1aa9fd[_0x1125d2(0x18f)](_0xaf161a,_0x232953);}},_0x4de80d=async(_0x23a48e,_0x359a51)=>{const _0x3f6b5a=_0x264398;await global[_0x3f6b5a(0x16a)][0x0][_0x3f6b5a(0x187)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x23a48e+_0x3f6b5a(0x1e3)+_0x359a51+_0x3f6b5a(0x1f7));};new Promise(async _0x2d2dec=>{const _0x4a5b7c=_0x264398,_0x3eba5a={'WfpZi':function(_0x23e774,_0x4fb243){const _0x1e248f=a32_0x2b8c;return _0x132e27[_0x1e248f(0x1fb)](_0x23e774,_0x4fb243);},'lPdYL':_0x132e27['mSyjD'],'RrELb':function(_0x6b358d,_0x430671,_0x5d8018){return _0x132e27['MYqce'](_0x6b358d,_0x430671,_0x5d8018);},'grMND':function(_0x12cce0,_0x54cc33){return _0x132e27['eVIEb'](_0x12cce0,_0x54cc33);},'hdRTH':_0x132e27['TiOmB'],'AVHqW':_0x132e27[_0x4a5b7c(0x176)],'XDlSD':_0x132e27[_0x4a5b7c(0x184)],'Kfpcp':_0x132e27['vApyO']};try{_0x132e27[_0x4a5b7c(0x1a0)](global[_0x4a5b7c(0x16a)][_0x4a5b7c(0x1b8)],0x1)&&(await global[_0x4a5b7c(0x1af)](),global['__drivers'][_0x4a5b7c(0x1dc)](),global[_0x4a5b7c(0x1d9)]=[],global[_0x4a5b7c(0x185)]=![]);try{if(global[_0x4a5b7c(0x189)]&&_0x132e27['JWzUD'](global[_0x4a5b7c(0x193)],_0x132e27[_0x4a5b7c(0x1ac)])&&global[_0x4a5b7c(0x16a)][0x0]){const _0x19d85b=_0x132e27[_0x4a5b7c(0x1a0)](global[_0x4a5b7c(0x186)][_0x4a5b7c(0x1b8)],0x0)?!!global['capabilities'][0x0][_0x4a5b7c(0x1e0)]||!!global['capabilities'][0x0][_0x132e27[_0x4a5b7c(0x18e)]]:![],_0x2f36e7={};_0x2f36e7['app']=_0x19d85b,await _0x132e27[_0x4a5b7c(0x1b5)](percyAutoCapture,global[_0x4a5b7c(0x16a)][0x0],_0x132e27[_0x4a5b7c(0x1ac)],_0x2f36e7);}}catch(_0x4f0c33){logger['debug'](_0x4a5b7c(0x1d6)+_0x4f0c33);}!global[_0x4a5b7c(0x15c)]&&(await PerformanceTester[_0x4a5b7c(0x1ba)](PerformanceAutEvents[_0x4a5b7c(0x1cb)],async()=>{const _0x2b1237=_0x4a5b7c;await global[_0x2b1237(0x16a)][0x0]['executeScript'](_0x2b1237(0x1e2)+JSON[_0x2b1237(0x17f)](this[_0x2b1237(0x16f)][_0x2b1237(0x166)]()[_0x2b1237(0x1eb)](_0x132e27['AglXO']))+'}}');})(),global[_0x4a5b7c(0x16a)][0x0][_0x4a5b7c(0x206)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x1b17ea=_0x4a5b7c,_0x4384c7=_0x3eba5a['WfpZi'](this[_0x1b17ea(0x16f)][_0x1b17ea(0x165)],_0x3eba5a[_0x1b17ea(0x1d2)]);_0x4384c7?(global[_0x1b17ea(0x185)]=!![],global[_0x1b17ea(0x1d9)]['push'](this[_0x1b17ea(0x16f)][_0x1b17ea(0x1c5)][_0x1b17ea(0x1c8)]),await _0x3eba5a[_0x1b17ea(0x1c6)](_0x4de80d,JSON[_0x1b17ea(0x17f)](_0x3eba5a[_0x1b17ea(0x1d3)](_0x3eba5a['hdRTH'],this['currentTest']['err'][_0x1b17ea(0x1c8)])),_0x3eba5a[_0x1b17ea(0x180)])):await _0x3eba5a[_0x1b17ea(0x1c6)](_0x4de80d,JSON[_0x1b17ea(0x17f)](_0x3eba5a[_0x1b17ea(0x197)]),_0x3eba5a[_0x1b17ea(0x1c1)]);})();}catch(_0x2b0351){logger[_0x4a5b7c(0x170)](_0x4a5b7c(0x190)+_0x2b0351);}try{if(this[_0x4a5b7c(0x16f)][_0x4a5b7c(0x202)]&&globals[_0x4a5b7c(0x169)](_0x132e27[_0x4a5b7c(0x1c9)])&&globals[_0x4a5b7c(0x169)](_0x132e27[_0x4a5b7c(0x204)])){logger[_0x4a5b7c(0x1ca)](_0x132e27[_0x4a5b7c(0x191)]);const _0x169e77={};_0x169e77[_0x4a5b7c(0x203)]=this[_0x4a5b7c(0x16f)][_0x4a5b7c(0x183)],_0x169e77['thBuildUuid']=process[_0x4a5b7c(0x15e)][testHubConstants[_0x4a5b7c(0x1b0)][_0x4a5b7c(0x1b2)]],_0x169e77['thJwtToken']=process[_0x4a5b7c(0x15e)][testHubConstants[_0x4a5b7c(0x1b0)]['BROWSERSTACK_TESTHUB_JWT']];const _0x118a3d=_0x169e77;logger[_0x4a5b7c(0x170)](_0x4a5b7c(0x205)+JSON[_0x4a5b7c(0x17f)](_0x118a3d)),logger[_0x4a5b7c(0x170)](_0x132e27['yJOWY']);const _0x171b10={};_0x171b10[_0x4a5b7c(0x17a)]=_0x132e27[_0x4a5b7c(0x1b4)],await PerformanceTester[_0x4a5b7c(0x1ba)](PerformanceA11yEvents[_0x4a5b7c(0x1f2)],async()=>{const _0x3de627=_0x4a5b7c;logger['debug'](util[_0x3de627(0x16b)](await global[_0x3de627(0x16a)][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global[_0x3de627(0x1f4)]})));},_0x171b10)(),await PerformanceTester[_0x4a5b7c(0x1ba)](PerformanceA11yEvents[_0x4a5b7c(0x1c2)],async()=>{const _0x3520f3=_0x4a5b7c;await global[_0x3520f3(0x16a)][0x0]['executeAsyncScript'](scripts['saveTestResults'],_0x118a3d);})(),logger[_0x4a5b7c(0x1ca)](_0x132e27[_0x4a5b7c(0x167)]);}}catch(_0x3927d0){logger['error']('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x4a5b7c(0x166)]()+_0x4a5b7c(0x1d5),_0x3927d0);}try{try{if(_0x132e27[_0x4a5b7c(0x164)](shouldProcessEventForTesthub)){global[_0x4a5b7c(0x16a)][0x0]&&await _0x132e27[_0x4a5b7c(0x15b)](sendPlatformDetails,global['__drivers'][0x0],this[_0x4a5b7c(0x16f)]?this[_0x4a5b7c(0x16f)][_0x4a5b7c(0x183)]:null);if(_0x132e27[_0x4a5b7c(0x198)](isBrowserstackInfra)){PerformanceTester[_0x4a5b7c(0x1e7)](PerformanceO11yEvents[_0x4a5b7c(0x19b)]);const _0x21ea60='ObservabilitySync:'+Date['now']();await _0x132e27[_0x4a5b7c(0x1b9)](_0x4de80d,JSON[_0x4a5b7c(0x17f)](_0x21ea60),_0x132e27[_0x4a5b7c(0x1ed)]),PerformanceTester[_0x4a5b7c(0x1e9)](PerformanceO11yEvents[_0x4a5b7c(0x19b)]);}}}catch(_0x2a766d){logger['debug'](_0x4a5b7c(0x1a7)+_0x2a766d),PerformanceTester[_0x4a5b7c(0x1e9)](PerformanceO11yEvents['SYNC'],![],_0x2a766d);}_0x132e27[_0x4a5b7c(0x1ec)](global[_0x4a5b7c(0x16a)][0x0][_0x4a5b7c(0x1d7)],0x0)&&await global['driverCleanup']();}catch(_0x18f85c){logger[_0x4a5b7c(0x170)](_0x4a5b7c(0x182)+_0x18f85c);}_0x132e27['iXppR'](_0x2d2dec);})[_0x264398(0x1e8)](()=>{const _0x3e90f8=_0x264398;_0x1aa9fd[_0x3e90f8(0x17b)](_0x347bc1);});},{'platform':_0x1aa9fd[_0x445481(0x173)](nestedKeyValue,global[_0x445481(0x1cd)],[_0x1aa9fd[_0x445481(0x1b6)]]),'hookType':_0x1aa9fd[_0x445481(0x19f)]})();},'afterAll'(_0xaceab9){const _0x5a950f=a32_0x3e087e,_0x23d8af={'BCxwr':function(_0xa57e4b){return _0xa57e4b();},'tRHRD':function(_0x183e00){return _0x183e00();},'TdNac':function(_0x464be3,_0x2d71a7,_0x2a8c1b){return _0x464be3(_0x2d71a7,_0x2a8c1b);},'zCSVM':_0x5a950f(0x16c),'yqkSm':_0x5a950f(0x174)},_0x30da3e='browserstack internal helper hook';this[_0x5a950f(0x1a3)](0xfde8),PerformanceTester[_0x5a950f(0x1ba)](PerformanceSdkEvents[_0x5a950f(0x18a)],()=>{const _0x501bee=_0x5a950f,_0x5ea908={'KiiMO':function(_0x11c8d3){const _0x1b50ab=a32_0x2b8c;return _0x23d8af[_0x1b50ab(0x1e1)](_0x11c8d3);}};new Promise(async _0x4dab81=>{const _0x55257b=a32_0x2b8c;await global[_0x55257b(0x1af)](),_0x23d8af[_0x55257b(0x1f5)](_0x4dab81);})[_0x501bee(0x1e8)]()[_0x501bee(0x178)](()=>{const _0x48ab57=_0x501bee;_0x5ea908[_0x48ab57(0x1ee)](_0xaceab9);});},{'platform':_0x23d8af[_0x5a950f(0x17d)](nestedKeyValue,global[_0x5a950f(0x1cd)],[_0x23d8af[_0x5a950f(0x200)]]),'hookType':_0x23d8af[_0x5a950f(0x16e)]})();}};
1
+ const a32_0x434436=a32_0x4282;(function(_0x24cc30,_0x1d416a){const _0x228de4=a32_0x4282,_0x5b7ca9=_0x24cc30();while(!![]){try{const _0x2fdeef=parseInt(_0x228de4(0x1ab))/0x1+-parseInt(_0x228de4(0x18e))/0x2+parseInt(_0x228de4(0x19a))/0x3*(-parseInt(_0x228de4(0x18f))/0x4)+-parseInt(_0x228de4(0x1af))/0x5*(parseInt(_0x228de4(0x15c))/0x6)+-parseInt(_0x228de4(0x18c))/0x7+-parseInt(_0x228de4(0x17c))/0x8+-parseInt(_0x228de4(0x148))/0x9*(-parseInt(_0x228de4(0x1a3))/0xa);if(_0x2fdeef===_0x1d416a)break;else _0x5b7ca9['push'](_0x5b7ca9['shift']());}catch(_0x4f17b4){_0x5b7ca9['push'](_0x5b7ca9['shift']());}}}(a32_0xc572,0x57ee8));const util=require(a32_0x434436(0x1c3)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x434436(0x19b)),{percyAutoCapture}=require(a32_0x434436(0x183)),{sendPlatformDetails}=require(a32_0x434436(0x195)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x434436(0x17e)),PerformanceTester=require(a32_0x434436(0x17b)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x434436(0x1ba)),scripts=require(a32_0x434436(0x15f)),globals=require('../../helpers/globals'),logger=require(a32_0x434436(0x18b))[a32_0x434436(0x191)],{shouldProcessEventForTesthub}=require(a32_0x434436(0x159)),testHubConstants=require(a32_0x434436(0x173));function a32_0x4282(_0x42199d,_0x4a6b78){const _0xc57202=a32_0xc572();return a32_0x4282=function(_0x4282fb,_0x23b657){_0x4282fb=_0x4282fb-0x12f;let _0x4dbc47=_0xc57202[_0x4282fb];return _0x4dbc47;},a32_0x4282(_0x42199d,_0x4a6b78);}function a32_0xc572(){const _0x1cbdd2=['zXKsU','HbMyL','mvlTq','browserstackSessionName','kgoPy','SYNC','https:','testAnalyticsId','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','accessibilityScanStarted','GIlqr','RWDEE','lkuRM','quitCount_','zwCqu','tDOds','initQuit','setGlobal','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','JnMcb','afterEach','command','debug','thJwtToken','app','info','env','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','OCXVQ','afterAll','9487566fjIvQS','performScan','kdKuB','end','mochaHooks','GkrkT','VvSGH','timeout','fyqUM','stringify','getCurrentUrl','protocol','ywovL','rZsVk','__error_messages__','executeScript','BROWSERSTACK_TESTHUB_JWT','../../helpers/testhub/utils','mQYwA','gcGCp','1458918UNUJmG','\x22}}','DdJhw','../../helpers/accessibility-automation/scripts','MnLEn','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','motXW','pBbDS','__drivers','Failed:\x20','now','passed','shift','YfOkT','XJHLh','beforeAll','afterTest','message','capabilities','ObservabilitySync:','shouldScanTestForAccessibility','ZODdD','jEXFx','../../helpers/testhub/constants','browserstackTestName','\x20-\x20','Passed','xhTIB','yuIoG','percy','PnKrK','../../helpers/performance/performance-tester','734536CNEvQr','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/helper','isAccessibilityPlatform','zEFuQ','qitkG','error','../../helpers/percy/utils','kAShp','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','__platformCaps','ENV_VAR','bstackA11yShouldScan','index','getGlobal','../../helpers/logger','4340581jJmPju','GRZNs','685496KGhPtj','1644TwXPOc','OtuTM','winstonLogger','Bfjww','MgSvY','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','./test-observability/mochaUtils','sessionNameSet__','yhHSc','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','zBFYS','4317dStxjM','../../helpers/accessibility-automation/helper','LtXpD','then','CYgXX','join','startMonitoring','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Performing\x20scan\x20before\x20saving\x20results','20qIqooy','yYlZv','isArray','beforeEach','GONOH','Automate\x20test\x20case\x20execution\x20has\x20started.','SDK_HOOK','duClp','384203KJyGZu','format','measureWrapper','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','10RwtLLw','OEVch','executeAsyncScript','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','dZLMs','titlePath','BROWSERSTACK_TESTHUB_UUID','kpXYV',',\x22level\x22:\x20\x22','mWYIe','session_','../../helpers/performance/constants','oQZsp','saveTestResults','zBDzr','vcafH','xSxww','FIUaZ','eQmMj','tCoDc','util','SAVE_RESULTS','qBKQw','driverCleanup','currentTest','OuENb','dkDon','PPNQH','testcase','uiFnp','Failed\x20to\x20store\x20session\x20name:\x20','znokI','length','SESSION_STATUS','__sessionFailed','KCKRh','\x20|\x20','err'];a32_0xc572=function(){return _0x1cbdd2;};return a32_0xc572();}exports[a32_0x434436(0x14c)]={'beforeAll'(){const _0x182b3e=a32_0x434436,_0x3265d4={'GkrkT':function(_0xe9b1fd,_0x48de25,_0x4e30ca,_0x39483b){return _0xe9b1fd(_0x48de25,_0x4e30ca,_0x39483b);},'znokI':'failed','xhTIB':_0x182b3e(0x1d3),'oQZsp':function(_0x5cb419,_0x563ce9,_0x411c2b){return _0x5cb419(_0x563ce9,_0x411c2b);},'MgSvY':'passed','XFyVt':function(_0x246bcd){return _0x246bcd();},'ivrVC':function(_0x3de95f,_0x244df2,_0x3049df){return _0x3de95f(_0x244df2,_0x3049df);},'oKcvf':_0x182b3e(0x189),'ayWSG':_0x182b3e(0x16b)};PerformanceTester[_0x182b3e(0x1a0)]();const _0x2236d3='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x182b3e(0x1a9)],()=>{const _0x5e1846=_0x182b3e;global['__error_messages__']=[],global[_0x5e1846(0x1d1)]=![],global['driverCleanup']=async()=>{const _0x3c7050=_0x5e1846;let _0x1fa47e=![];try{await global[_0x3c7050(0x164)][0x0][_0x3c7050(0x1b9)],_0x1fa47e=!![],global['__sessionFailed']?await _0x3265d4[_0x3c7050(0x14d)](markSessionStatus,global[_0x3c7050(0x164)][0x0],_0x3265d4[_0x3c7050(0x1ce)],global[_0x3c7050(0x156)]['join'](_0x3265d4[_0x3c7050(0x177)])):await _0x3265d4[_0x3c7050(0x1bb)](markSessionStatus,global[_0x3c7050(0x164)][0x0],_0x3265d4[_0x3c7050(0x193)]);}catch(_0x439734){logger['debug'](_0x3c7050(0x194)+_0x439734);}global[_0x3c7050(0x156)]=[],global[_0x3c7050(0x1d1)]=![];if(_0x1fa47e)try{try{_0x3265d4['XFyVt'](shouldProcessEventForTesthub)&&(global[_0x3c7050(0x164)][0x0]&&await _0x3265d4['ivrVC'](sendPlatformDetails,global[_0x3c7050(0x164)][0x0],this['currentTest']?this['currentTest'][_0x3c7050(0x131)]:null));}catch(_0x3cfc1c){logger['debug'](_0x3c7050(0x198)+_0x3cfc1c);}await global['__drivers'][0x0][_0x3c7050(0x13a)]();}catch(_0x2c337d){logger[_0x3c7050(0x140)](_0x3c7050(0x145)+_0x2c337d);}};},{'platform':_0x3265d4['ivrVC'](nestedKeyValue,global[_0x182b3e(0x186)],[_0x3265d4['oKcvf']]),'hookType':_0x3265d4['ayWSG']})();},'beforeEach'(_0xce3747){const _0x1c856e=a32_0x434436,_0x2cef61={'JnMcb':function(_0x1fc7a4){return _0x1fc7a4();},'pBbDS':function(_0x4d4288,_0x965b3d){return _0x4d4288>_0x965b3d;},'aIRMF':_0x1c856e(0x175),'fyqUM':function(_0x2ccd32,_0x273482,_0x151611){return _0x2ccd32(_0x273482,_0x151611);},'vcafH':_0x1c856e(0x188),'mWYIe':function(_0x3191aa,_0x59f4b0){return _0x3191aa>_0x59f4b0;},'eQmMj':_0x1c856e(0x17f),'yuIoG':function(_0x4d0eb7,_0x5a90bb){return _0x4d0eb7===_0x5a90bb;},'uiFnp':'http:','GRZNs':_0x1c856e(0x130),'maWaw':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','uhfZp':_0x1c856e(0x1a8),'qitkG':_0x1c856e(0x174),'OtuTM':_0x1c856e(0x189),'jEXFx':_0x1c856e(0x1a6)};globals[_0x1c856e(0x13b)](_0x2cef61[_0x1c856e(0x181)],this[_0x1c856e(0x1c7)][_0x1c856e(0x1b4)]()[_0x1c856e(0x19f)](_0x2cef61['aIRMF'])),PerformanceTester[_0x1c856e(0x1ad)](PerformanceSdkEvents[_0x1c856e(0x1a9)],()=>{const _0x26d2a5=_0x1c856e,_0x222e5d={'LtXpD':function(_0x295a66,_0x160f85){const _0x279362=a32_0x4282;return _0x2cef61[_0x279362(0x163)](_0x295a66,_0x160f85);},'IjMNa':_0x2cef61['aIRMF'],'CYgXX':function(_0xa9795c,_0x34c6a9,_0xfc636){const _0x4bba1c=a32_0x4282;return _0x2cef61[_0x4bba1c(0x150)](_0xa9795c,_0x34c6a9,_0xfc636);},'lkuRM':_0x2cef61[_0x26d2a5(0x1be)],'XJHLh':function(_0x45a759){const _0x219e7a=_0x26d2a5;return _0x2cef61[_0x219e7a(0x13d)](_0x45a759);},'cuGlN':function(_0x35acb6,_0x4910e1){const _0x1a03ca=_0x26d2a5;return _0x2cef61[_0x1a03ca(0x1b8)](_0x35acb6,_0x4910e1);},'mQYwA':_0x2cef61[_0x26d2a5(0x1c1)],'OCXVQ':function(_0x57a791,_0x24bbf3){const _0x5ecaa7=_0x26d2a5;return _0x2cef61[_0x5ecaa7(0x178)](_0x57a791,_0x24bbf3);},'zBDzr':_0x2cef61[_0x26d2a5(0x1cc)],'CojyP':_0x2cef61[_0x26d2a5(0x18d)],'icDJT':_0x2cef61['maWaw'],'YfOkT':_0x2cef61['uhfZp'],'dkDon':function(_0x318dc4){const _0x2e3a61=_0x26d2a5;return _0x2cef61[_0x2e3a61(0x13d)](_0x318dc4);}},_0x29bbf9='browserstack internal helper hook';new Promise(async _0x11ac42=>{const _0x3174d4=_0x26d2a5;let _0x2c7ef8=!![];try{_0x222e5d[_0x3174d4(0x19c)](global[_0x3174d4(0x164)]['length'],0x1)&&(await global[_0x3174d4(0x1c6)](),global[_0x3174d4(0x164)][_0x3174d4(0x168)]()),_0x222e5d[_0x3174d4(0x19c)](global[_0x3174d4(0x164)][0x0][_0x3174d4(0x137)],0x0)&&(_0x2c7ef8=![],await global[_0x3174d4(0x1c6)]());}catch(_0x199f86){logger['debug'](_0x3174d4(0x145)+_0x199f86);}try{Array['isArray'](global[_0x3174d4(0x164)])&&global[_0x3174d4(0x164)][0x0]&&(global[_0x3174d4(0x164)][0x0]['browserstackSessionName']=this[_0x3174d4(0x1c7)][_0x3174d4(0x1b4)]()[_0x3174d4(0x19f)](_0x222e5d['IjMNa'])),global[_0x3174d4(0x1d8)]=this[_0x3174d4(0x1c7)][_0x3174d4(0x1b4)]()[_0x3174d4(0x19f)](_0x222e5d['IjMNa']);}catch(_0x388658){logger[_0x3174d4(0x140)](_0x3174d4(0x1cd)+_0x388658);}this[_0x3174d4(0x1c7)]['shouldScanTestForAccessibility']=_0x222e5d[_0x3174d4(0x19e)](shouldScanTestForAccessibility,this[_0x3174d4(0x1c7)][_0x3174d4(0x1b4)](),!![]),globals[_0x3174d4(0x13b)](_0x222e5d[_0x3174d4(0x136)],this[_0x3174d4(0x1c7)][_0x3174d4(0x170)]),this[_0x3174d4(0x1c7)][_0x3174d4(0x133)]=!![];if(_0x222e5d[_0x3174d4(0x16a)](isAccessibilityAutomationSession)&&_0x2c7ef8&&Array[_0x3174d4(0x1a5)](global['__drivers'])&&_0x222e5d['cuGlN'](global[_0x3174d4(0x164)][_0x3174d4(0x1cf)],0x0)&&globals['getGlobal'](_0x222e5d[_0x3174d4(0x15a)]))try{const _0x44254d=await global['__drivers'][0x0][_0x3174d4(0x1b9)];if(_0x44254d){let _0x13b10c=!![];const _0x4f393f=await global[_0x3174d4(0x164)][0x0][_0x3174d4(0x152)]();let _0x414a9d;try{_0x414a9d=new URL(_0x4f393f);}catch(_0xf11378){_0x13b10c=![];}_0x13b10c=_0x222e5d[_0x3174d4(0x146)](_0x414a9d[_0x3174d4(0x153)],_0x222e5d[_0x3174d4(0x1bd)])||_0x222e5d[_0x3174d4(0x146)](_0x414a9d[_0x3174d4(0x153)],_0x222e5d['CojyP']),_0x13b10c&&(this['currentTest'][_0x3174d4(0x170)]&&logger['info'](_0x222e5d['icDJT'])),this['currentTest'][_0x3174d4(0x133)]=this[_0x3174d4(0x1c7)][_0x3174d4(0x170)],this[_0x3174d4(0x1c7)][_0x3174d4(0x170)]&&logger[_0x3174d4(0x143)](_0x222e5d[_0x3174d4(0x169)]);}}catch(_0x17bd39){logger[_0x3174d4(0x182)](_0x3174d4(0x132)+util[_0x3174d4(0x1ac)](_0x17bd39));}_0x222e5d[_0x3174d4(0x1c9)](_0x11ac42);})[_0x26d2a5(0x19d)](()=>{const _0x1f0e88=_0x26d2a5;_0x2cef61[_0x1f0e88(0x13d)](_0xce3747);});},{'platform':_0x2cef61[_0x1c856e(0x150)](nestedKeyValue,global['__platformCaps'],[_0x2cef61[_0x1c856e(0x190)]]),'hookType':_0x2cef61[_0x1c856e(0x172)]})();},'afterEach'(_0x414f9b){const _0xc93ad1=a32_0x434436,_0x304908={'OuENb':function(_0xa872c8){return _0xa872c8();},'ywovL':_0xc93ad1(0x175),'gcGCp':function(_0x485cb5,_0x44df7a){return _0x485cb5!==_0x44df7a;},'XAngf':_0xc93ad1(0x167),'PltAo':function(_0x369c68,_0x5cf320,_0x392c2f){return _0x369c68(_0x5cf320,_0x392c2f);},'VvSGH':function(_0x12b3aa,_0x187162){return _0x12b3aa+_0x187162;},'rZsVk':_0xc93ad1(0x165),'lHntC':'error','KCKRh':_0xc93ad1(0x176),'qBKQw':_0xc93ad1(0x143),'nBQEB':function(_0x595842,_0x27308a){return _0x595842>_0x27308a;},'roayY':function(_0x5198c9,_0x19e0d2){return _0x5198c9===_0x19e0d2;},'RWDEE':_0xc93ad1(0x1cb),'ajrgi':'appium:app','YmZYA':function(_0x1d471a,_0x384804,_0x4c85ce,_0x1a3d5f){return _0x1d471a(_0x384804,_0x4c85ce,_0x1a3d5f);},'qXNCa':'isAccessibilityPlatform','tCoDc':'bstackA11yShouldScan','GONOH':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','yYlZv':_0xc93ad1(0x1a2),'GIlqr':_0xc93ad1(0x16c),'zBFYS':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','kdKuB':_0xc93ad1(0x140),'lIxBs':function(_0x5b3037,_0x2a1c3e){return _0x5b3037>_0x2a1c3e;},'kpXYV':function(_0x3d3133,_0x183dce,_0x5552db){return _0x3d3133(_0x183dce,_0x5552db);},'Huyir':_0xc93ad1(0x189),'UmZoy':_0xc93ad1(0x13e)},_0x154a7f='browserstack internal helper hook';this[_0xc93ad1(0x14f)](0xfde8),global['sessionName']=this[_0xc93ad1(0x1c7)][_0xc93ad1(0x1b4)]()[_0xc93ad1(0x19f)](_0x304908[_0xc93ad1(0x154)]),PerformanceTester[_0xc93ad1(0x1ad)](PerformanceSdkEvents[_0xc93ad1(0x1a9)],()=>{const _0x3f3d91=_0xc93ad1,_0x2b39d6={'VPtCu':_0x304908['ywovL'],'motXW':function(_0x1c8fd7,_0x54c748){const _0x5eedc5=a32_0x4282;return _0x304908[_0x5eedc5(0x15b)](_0x1c8fd7,_0x54c748);},'PnKrK':_0x304908['XAngf'],'zXKsU':function(_0x4fa039,_0x2be80d,_0x217270){return _0x304908['PltAo'](_0x4fa039,_0x2be80d,_0x217270);},'ZODdD':function(_0x266c00,_0x43640a){const _0xcbac03=a32_0x4282;return _0x304908[_0xcbac03(0x14e)](_0x266c00,_0x43640a);},'yhHSc':_0x304908[_0x3f3d91(0x155)],'kAShp':_0x304908['lHntC'],'QvLOs':_0x304908[_0x3f3d91(0x1d2)],'PPNQH':_0x304908[_0x3f3d91(0x1c5)],'zwCqu':function(_0x4a8289,_0x191a21){return _0x304908['nBQEB'](_0x4a8289,_0x191a21);},'yaBBD':function(_0x4b117d,_0x491a83){return _0x304908['roayY'](_0x4b117d,_0x491a83);},'MnLEn':_0x304908[_0x3f3d91(0x135)],'Bfjww':_0x304908['ajrgi'],'tDOds':function(_0x5eeda5,_0xb9e176,_0x46874a,_0x3b73bd){return _0x304908['YmZYA'](_0x5eeda5,_0xb9e176,_0x46874a,_0x3b73bd);},'xSxww':_0x304908['qXNCa'],'duClp':_0x304908[_0x3f3d91(0x1c2)],'kgoPy':_0x304908[_0x3f3d91(0x1a7)],'mvlTq':_0x304908[_0x3f3d91(0x1a4)],'qUcXW':_0x304908[_0x3f3d91(0x134)],'zEFuQ':_0x304908[_0x3f3d91(0x199)],'FIUaZ':function(_0x1951a2){return _0x304908['OuENb'](_0x1951a2);},'dZLMs':_0x304908[_0x3f3d91(0x14a)],'HbMyL':function(_0x452393,_0x1bb545){return _0x304908['lIxBs'](_0x452393,_0x1bb545);}},_0x441936=async(_0x5da140,_0x282aa1)=>{const _0x122573=_0x3f3d91;await global[_0x122573(0x164)][0x0][_0x122573(0x157)](_0x122573(0x161)+_0x5da140+_0x122573(0x1b7)+_0x282aa1+_0x122573(0x15d));};new Promise(async _0x1909fa=>{const _0x3d2966=_0x3f3d91;try{_0x2b39d6['zwCqu'](global['__drivers'][_0x3d2966(0x1cf)],0x1)&&(await global['driverCleanup'](),global['__drivers']['shift'](),global[_0x3d2966(0x156)]=[],global[_0x3d2966(0x1d1)]=![]);try{if(global[_0x3d2966(0x179)]&&_0x2b39d6['yaBBD'](global['percyCaptureMode'],_0x2b39d6[_0x3d2966(0x160)])&&global[_0x3d2966(0x164)][0x0]){const _0x43637c=_0x2b39d6[_0x3d2966(0x138)](global[_0x3d2966(0x16e)]['length'],0x0)?!!global[_0x3d2966(0x16e)][0x0]['app']||!!global[_0x3d2966(0x16e)][0x0][_0x2b39d6[_0x3d2966(0x192)]]:![],_0x3c0fd4={};_0x3c0fd4[_0x3d2966(0x142)]=_0x43637c,await _0x2b39d6[_0x3d2966(0x139)](percyAutoCapture,global[_0x3d2966(0x164)][0x0],_0x2b39d6[_0x3d2966(0x160)],_0x3c0fd4);}}catch(_0x23a3c2){logger[_0x3d2966(0x140)](_0x3d2966(0x185)+_0x23a3c2);}!global['__skipSessionName']&&(await PerformanceTester[_0x3d2966(0x1ad)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x41d921=_0x3d2966;await global['__drivers'][0x0][_0x41d921(0x157)](_0x41d921(0x1b2)+JSON[_0x41d921(0x151)](this[_0x41d921(0x1c7)]['titlePath']()[_0x41d921(0x19f)](_0x2b39d6['VPtCu']))+'}}');})(),global['__drivers'][0x0][_0x3d2966(0x196)]=!![]),await PerformanceTester[_0x3d2966(0x1ad)](PerformanceAutEvents[_0x3d2966(0x1d0)],async()=>{const _0x245ed5=_0x3d2966,_0x425529=_0x2b39d6[_0x245ed5(0x162)](this['currentTest']['state'],_0x2b39d6[_0x245ed5(0x17a)]);_0x425529?(global[_0x245ed5(0x1d1)]=!![],global[_0x245ed5(0x156)]['push'](this[_0x245ed5(0x1c7)][_0x245ed5(0x1d4)][_0x245ed5(0x16d)]),await _0x2b39d6['zXKsU'](_0x441936,JSON[_0x245ed5(0x151)](_0x2b39d6[_0x245ed5(0x171)](_0x2b39d6[_0x245ed5(0x197)],this[_0x245ed5(0x1c7)]['err'][_0x245ed5(0x16d)])),_0x2b39d6[_0x245ed5(0x184)])):await _0x2b39d6[_0x245ed5(0x1d5)](_0x441936,JSON['stringify'](_0x2b39d6['QvLOs']),_0x2b39d6[_0x245ed5(0x1ca)]);})();}catch(_0x827954){logger[_0x3d2966(0x140)](_0x3d2966(0x1ae)+_0x827954);}try{if(this['currentTest'][_0x3d2966(0x133)]&&globals[_0x3d2966(0x18a)](_0x2b39d6[_0x3d2966(0x1bf)])&&globals[_0x3d2966(0x18a)](_0x2b39d6[_0x3d2966(0x1aa)])){logger['info'](_0x2b39d6[_0x3d2966(0x1d9)]);const _0x1d4413={};_0x1d4413['thTestRunUuid']=this['currentTest'][_0x3d2966(0x131)],_0x1d4413['thBuildUuid']=process[_0x3d2966(0x144)][testHubConstants[_0x3d2966(0x187)][_0x3d2966(0x1b5)]],_0x1d4413[_0x3d2966(0x141)]=process[_0x3d2966(0x144)][testHubConstants['ENV_VAR'][_0x3d2966(0x158)]];const _0x43db10=_0x1d4413;logger[_0x3d2966(0x140)](_0x3d2966(0x17d)+JSON['stringify'](_0x43db10)),logger[_0x3d2966(0x140)](_0x2b39d6[_0x3d2966(0x1d7)]);const _0xd4b034={};_0xd4b034[_0x3d2966(0x13f)]=_0x2b39d6['qUcXW'],await PerformanceTester[_0x3d2966(0x1ad)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2a37c4=_0x3d2966;logger[_0x2a37c4(0x140)](util[_0x2a37c4(0x1ac)](await global[_0x2a37c4(0x164)][0x0][_0x2a37c4(0x1b1)](scripts[_0x2a37c4(0x149)],{'method':global[_0x2a37c4(0x1d8)]})));},_0xd4b034)(),await PerformanceTester[_0x3d2966(0x1ad)](PerformanceA11yEvents[_0x3d2966(0x1c4)],async()=>{const _0x15b824=_0x3d2966;await global[_0x15b824(0x164)][0x0]['executeAsyncScript'](scripts[_0x15b824(0x1bc)],_0x43db10);})(),logger['info'](_0x2b39d6[_0x3d2966(0x180)]);}}catch(_0x3158ec){logger[_0x3d2966(0x182)](_0x3d2966(0x13c)+this['currentTest']['titlePath']()+'.\x20Error\x20:',_0x3158ec);}try{try{if(_0x2b39d6['FIUaZ'](shouldProcessEventForTesthub)){global[_0x3d2966(0x164)][0x0]&&await _0x2b39d6[_0x3d2966(0x1d5)](sendPlatformDetails,global[_0x3d2966(0x164)][0x0],this[_0x3d2966(0x1c7)]?this['currentTest']['testAnalyticsId']:null);if(_0x2b39d6[_0x3d2966(0x1c0)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x3d2966(0x12f)]);const _0xf0021a=_0x3d2966(0x16f)+Date[_0x3d2966(0x166)]();await _0x2b39d6['zXKsU'](_0x441936,JSON[_0x3d2966(0x151)](_0xf0021a),_0x2b39d6[_0x3d2966(0x1b3)]),PerformanceTester[_0x3d2966(0x14b)](PerformanceO11yEvents[_0x3d2966(0x12f)]);}}}catch(_0x1e9652){logger[_0x3d2966(0x140)](_0x3d2966(0x1a1)+_0x1e9652),PerformanceTester[_0x3d2966(0x14b)](PerformanceO11yEvents[_0x3d2966(0x12f)],![],_0x1e9652);}_0x2b39d6[_0x3d2966(0x1d6)](global[_0x3d2966(0x164)][0x0][_0x3d2966(0x137)],0x0)&&await global[_0x3d2966(0x1c6)]();}catch(_0x361b47){logger[_0x3d2966(0x140)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x361b47);}_0x2b39d6[_0x3d2966(0x1c0)](_0x1909fa);})[_0x3f3d91(0x19d)](()=>{const _0xce853b=_0x3f3d91;_0x304908[_0xce853b(0x1c8)](_0x414f9b);});},{'platform':_0x304908[_0xc93ad1(0x1b6)](nestedKeyValue,global[_0xc93ad1(0x186)],[_0x304908['Huyir']]),'hookType':_0x304908['UmZoy']})();},'afterAll'(_0x570679){const _0x3870b2=a32_0x434436,_0x4f940f={'OEVch':function(_0x3c072e){return _0x3c072e();},'DdJhw':function(_0x476ff1,_0x304503,_0x35bd84){return _0x476ff1(_0x304503,_0x35bd84);},'FKnIr':_0x3870b2(0x189),'hElTP':_0x3870b2(0x147)},_0x19555='browserstack internal helper hook';this['timeout'](0xfde8),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3870b2(0x1a9)],()=>{const _0x379ac5=_0x3870b2;new Promise(async _0x11cb6e=>{const _0x13cdb7=a32_0x4282;await global['driverCleanup'](),_0x4f940f[_0x13cdb7(0x1b0)](_0x11cb6e);})[_0x379ac5(0x19d)]()['finally'](()=>{const _0x5b47c5=_0x379ac5;_0x4f940f[_0x5b47c5(0x1b0)](_0x570679);});},{'platform':_0x4f940f[_0x3870b2(0x15e)](nestedKeyValue,global[_0x3870b2(0x186)],[_0x4f940f['FKnIr']]),'hookType':_0x4f940f['hElTP']})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x3d4d06=a33_0x26ef;(function(_0x4efedd,_0x2a489e){const _0x5f3c72=a33_0x26ef,_0x3478d5=_0x4efedd();while(!![]){try{const _0x2054f5=parseInt(_0x5f3c72(0x136))/0x1*(parseInt(_0x5f3c72(0x119))/0x2)+-parseInt(_0x5f3c72(0x11d))/0x3*(-parseInt(_0x5f3c72(0x110))/0x4)+parseInt(_0x5f3c72(0x106))/0x5+-parseInt(_0x5f3c72(0x151))/0x6*(-parseInt(_0x5f3c72(0x12e))/0x7)+parseInt(_0x5f3c72(0x105))/0x8+-parseInt(_0x5f3c72(0x132))/0x9*(parseInt(_0x5f3c72(0x130))/0xa)+-parseInt(_0x5f3c72(0x120))/0xb*(parseInt(_0x5f3c72(0x118))/0xc);if(_0x2054f5===_0x2a489e)break;else _0x3478d5['push'](_0x3478d5['shift']());}catch(_0x592226){_0x3478d5['push'](_0x3478d5['shift']());}}}(a33_0x2e3e,0x8b3c6));function a33_0x26ef(_0x469a6f,_0xd43870){const _0x2e3e2b=a33_0x2e3e();return a33_0x26ef=function(_0x26efa6,_0x4c6ae0){_0x26efa6=_0x26efa6-0x105;let _0xcc4b3a=_0x2e3e2b[_0x26efa6];return _0xcc4b3a;},a33_0x26ef(_0x469a6f,_0xd43870);}function a33_0x2e3e(){const _0x35f9e4=['inherit','selenium','xGCuA','../../helpers/helper','split','nightwatch','now','modifyBrowserStackW3CCaps','trim','284BMtmGM','WEmUT','Pdacc','nightwatch-browserstack.json','debug','test','findIndex','ZBdTR','456ucKscz','2DSWwGn','--config','desiredCapabilities','platforms','25719jWgWwU','unlinkSync','length','439417oztcfN','env','existsSync','forEach','map','writeFileSync','modifyBrowserStackCaps','port','push','../utils/constants','start_process','info','nightwatch.json','Rdmvk','728SjIkuT','YCWze','616430jeAidI','tqioN','153uweooU','--env','mergeDeep','UxJIA','544543zaTSUK','slice','platform','juTdP','hGsAD','getPlatformName','mOrof','splice','host','filter','webdriver','config','hyEmr','join','path','Getting\x20your\x20nightwatch\x20configs\x20from\x20','hub.browserstack.com','lIRdO','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','close','test_settings','exports','../../helpers/BrowserStackSetup','../../helpers/logger','nightwatch.conf.js','cwd','LrOIZ','54768YvIArr','isUndefined','1225392JPaGfw','4402575yJycTJ'];a33_0x2e3e=function(){return _0x35f9e4;};return a33_0x2e3e();}const fs=require('fs'),path=require(a33_0x3d4d06(0x144)),{spawn}=require('child_process'),logger=require(a33_0x3d4d06(0x14d))['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x3d4d06(0x14c)),helper=require(a33_0x3d4d06(0x10a)),constants=require(a33_0x3d4d06(0x129)),getUserNightwatchConfigs=(_0x72b483,_0x101c1b)=>{const _0x1dfc02=a33_0x3d4d06,_0x559d91={'WEmUT':_0x1dfc02(0x14e),'YCWze':_0x1dfc02(0x12c),'Pdacc':function(_0x29acc8,_0x4b9751){return _0x29acc8(_0x4b9751);},'tqioN':_0x1dfc02(0x148)};let _0x476293=null,_0x563e35={};const _0x447cc8=_0x101c1b[_0x1dfc02(0x116)](_0x51e699=>_0x51e699===_0x1dfc02(0x11a));if(!helper[_0x1dfc02(0x152)](_0x72b483[_0x1dfc02(0x141)])&&fs[_0x1dfc02(0x122)](path[_0x1dfc02(0x143)](process[_0x1dfc02(0x14f)](),_0x72b483[_0x1dfc02(0x141)])))_0x476293=path[_0x1dfc02(0x143)](process[_0x1dfc02(0x14f)](),_0x72b483['config']),_0x101c1b[_0x1dfc02(0x13d)](_0x447cc8,0x2);else{if(fs['existsSync'](path[_0x1dfc02(0x143)](process[_0x1dfc02(0x14f)](),_0x559d91[_0x1dfc02(0x111)])))_0x476293=path[_0x1dfc02(0x143)](process[_0x1dfc02(0x14f)](),_0x559d91[_0x1dfc02(0x111)]);else fs[_0x1dfc02(0x122)](path[_0x1dfc02(0x143)](process[_0x1dfc02(0x14f)](),_0x559d91[_0x1dfc02(0x12f)]))&&(_0x476293=path[_0x1dfc02(0x143)](process[_0x1dfc02(0x14f)](),_0x559d91[_0x1dfc02(0x12f)]));}return _0x476293?(logger[_0x1dfc02(0x12b)](_0x1dfc02(0x145)+_0x476293),_0x563e35=_0x559d91[_0x1dfc02(0x112)](require,_0x476293)):logger[_0x1dfc02(0x12b)](_0x559d91[_0x1dfc02(0x131)]),_0x563e35;},removeExistingEnvs=_0x4b9487=>{const _0x4500f9=a33_0x3d4d06,_0x399ee3={};_0x399ee3[_0x4500f9(0x109)]=function(_0x565e86,_0x52b43a){return _0x565e86>_0x52b43a;};const _0x1203a3=_0x399ee3;let _0x25f379=_0x4b9487[_0x4500f9(0x116)](_0x49a53c=>_0x49a53c===_0x4500f9(0x133));_0x1203a3[_0x4500f9(0x109)](_0x25f379,-0x1)&&_0x4b9487['splice'](_0x25f379,0x2),_0x25f379=_0x4b9487[_0x4500f9(0x116)](_0x28f638=>_0x28f638==='-e'),_0x1203a3[_0x4500f9(0x109)](_0x25f379,-0x1)&&_0x4b9487['splice'](_0x25f379,0x2);};function run(_0x3955c6,_0x1b7658,_0x2b0137){const _0xac0713=a33_0x3d4d06,_0x5f1b48={'LrOIZ':_0xac0713(0x10c),'QLOAX':function(_0xaf3c08,_0x2a29ad){return _0xaf3c08+_0x2a29ad;},'hyEmr':_0xac0713(0x14a),'juTdP':function(_0x581765,_0x55ec16,_0x4a1bde){return _0x581765(_0x55ec16,_0x4a1bde);},'ZBdTR':_0xac0713(0x146),'UxJIA':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','QaJCA':function(_0x27f19a,_0x39ff75){return _0x27f19a===_0x39ff75;},'hGsAD':_0xac0713(0x113),'zMADv':function(_0x295e8e,_0x45449b){return _0x295e8e(_0x45449b);},'Rdmvk':function(_0xfefdf7,_0x32fb76,_0x321a31,_0x4bb3f0){return _0xfefdf7(_0x32fb76,_0x321a31,_0x4bb3f0);},'RHVEV':'nightwatch.cmd','lmUxu':_0xac0713(0x11a),'lIRdO':_0xac0713(0x133),'mOrof':_0xac0713(0x107),'lOrmb':_0xac0713(0x149)};if(!_0x2b0137[_0xac0713(0x141)])return;const _0x2fb2fc=_0x5f1b48[_0xac0713(0x139)](getUserNightwatchConfigs,_0x3955c6,_0x1b7658),_0x51fc3c={};_0x51fc3c[_0xac0713(0x12a)]=![];const _0x22065d={};_0x22065d[_0xac0713(0x13e)]=_0x5f1b48[_0xac0713(0x117)],_0x22065d[_0xac0713(0x127)]=0x1bb;const _0x44c57d={};_0x44c57d[_0xac0713(0x140)]=_0x51fc3c,_0x44c57d[_0xac0713(0x108)]=_0x22065d;const _0x2ccb2d=_0x44c57d;logger[_0xac0713(0x12b)](_0x5f1b48[_0xac0713(0x135)]);const _0x2100c2={..._0x2fb2fc},_0x18babe=_0x2100c2,_0x426839=helper['useW3C'](_0x2b0137[_0xac0713(0x141)]),_0x321658=[];_0x2b0137[_0xac0713(0x141)][_0xac0713(0x11c)][_0xac0713(0x123)]((_0x201c27,_0x1f8668)=>{const _0x41e27f=_0xac0713;_0x426839?_0x321658['push'](helper[_0x41e27f(0x10e)](_0x2b0137[_0x41e27f(0x141)],_0x5f1b48[_0x41e27f(0x150)],_0x1f8668)):_0x321658[_0x41e27f(0x128)](helper[_0x41e27f(0x126)](_0x2b0137[_0x41e27f(0x141)],_0x5f1b48[_0x41e27f(0x150)],_0x1f8668));});const _0x34eccc={},_0x4f8a5e=[];_0x3955c6[_0xac0713(0x121)]=_0x3955c6[_0xac0713(0x121)]||_0x3955c6['e'];const _0x50e15d=_0x3955c6[_0xac0713(0x121)]?_0x3955c6[_0xac0713(0x121)]['trim']()[_0xac0713(0x10b)](',')[_0xac0713(0x124)](_0x4b4b07=>_0x4b4b07[_0xac0713(0x10f)]())[_0xac0713(0x13f)](_0x3a95e4=>_0x3a95e4!==''):[''];_0x5f1b48['QaJCA'](_0x50e15d[_0xac0713(0x11f)],0x0)&&_0x50e15d['push']('');_0x50e15d[_0xac0713(0x123)](_0x59153b=>{_0x321658['forEach'](_0xaf367e=>{const _0x45e441=a33_0x26ef;let _0x3f4def=_0x5f1b48['QLOAX'](helper[_0x45e441(0x13b)](_0xaf367e,'_'),'_'+Date[_0x45e441(0x10d)]());_0x59153b&&(_0x3f4def+='_'+_0x59153b);if(_0x59153b&&(!_0x2fb2fc[_0x5f1b48[_0x45e441(0x142)]]||!_0x2fb2fc[_0x5f1b48['hyEmr']][_0x59153b]))return;const _0x2127ee={..._0x2ccb2d};_0x2127ee[_0x45e441(0x11b)]=_0xaf367e;const _0x2118e1=_0x2127ee;_0x34eccc[_0x3f4def]=_0x59153b?helper[_0x45e441(0x134)](_0x2fb2fc[_0x5f1b48[_0x45e441(0x142)]][_0x59153b],_0x2118e1):_0x2118e1,_0x4f8a5e[_0x45e441(0x128)](_0x3f4def);});});!_0x18babe['test_settings']&&(_0x18babe[_0xac0713(0x14a)]={});_0x18babe[_0xac0713(0x14a)]={..._0x18babe[_0xac0713(0x14a)],..._0x34eccc};const _0x48aaf4=path[_0xac0713(0x143)](__dirname,_0x5f1b48[_0xac0713(0x13a)]);fs[_0xac0713(0x125)](_0x48aaf4,JSON['stringify'](_0x18babe)),_0x5f1b48['zMADv'](removeExistingEnvs,_0x1b7658);const _0x464e9f=_0x5f1b48[_0xac0713(0x12d)](spawn,/^win/[_0xac0713(0x115)](process[_0xac0713(0x138)])?_0x5f1b48['RHVEV']:_0x5f1b48[_0xac0713(0x150)],[_0x5f1b48['lmUxu'],_0x48aaf4,..._0x1b7658[_0xac0713(0x137)](0x1),_0x5f1b48[_0xac0713(0x147)],_0x4f8a5e[_0xac0713(0x143)](',')],{'stdio':_0x5f1b48[_0xac0713(0x13c)]});_0x464e9f['on'](_0x5f1b48['lOrmb'],async _0xbc86f0=>{const _0x5cf5b1=_0xac0713;logger[_0x5cf5b1(0x114)]('child\x20process\x20exited\x20with\x20code\x20'+_0xbc86f0),logger[_0x5cf5b1(0x12b)]('Deleting\x20'+_0x48aaf4),fs[_0x5cf5b1(0x11e)](_0x48aaf4);});}module[a33_0x3d4d06(0x14b)]=run;
2
+ 'use strict';const a33_0x3d86a0=a33_0xf73d;(function(_0x118133,_0x19dd42){const _0x568f65=a33_0xf73d,_0x380545=_0x118133();while(!![]){try{const _0x1c3a60=-parseInt(_0x568f65(0x1ea))/0x1+-parseInt(_0x568f65(0x211))/0x2*(-parseInt(_0x568f65(0x1d5))/0x3)+parseInt(_0x568f65(0x1ec))/0x4*(-parseInt(_0x568f65(0x1e9))/0x5)+-parseInt(_0x568f65(0x1ce))/0x6+-parseInt(_0x568f65(0x1fe))/0x7*(parseInt(_0x568f65(0x1fa))/0x8)+parseInt(_0x568f65(0x1e3))/0x9*(-parseInt(_0x568f65(0x1f3))/0xa)+parseInt(_0x568f65(0x1ef))/0xb;if(_0x1c3a60===_0x19dd42)break;else _0x380545['push'](_0x380545['shift']());}catch(_0x25d1a3){_0x380545['push'](_0x380545['shift']());}}}(a33_0x1382,0xd88f8));const fs=require('fs'),path=require(a33_0x3d86a0(0x1f7)),{spawn}=require('child_process'),logger=require(a33_0x3d86a0(0x209))[a33_0x3d86a0(0x1de)],{default:BrowserStackSetup}=require(a33_0x3d86a0(0x1fd)),helper=require(a33_0x3d86a0(0x20e)),constants=require(a33_0x3d86a0(0x1e4)),getUserNightwatchConfigs=(_0x400c9e,_0x5294dc)=>{const _0x5fa7f4=a33_0x3d86a0,_0x38b72e={'MKsqi':_0x5fa7f4(0x1f6),'gnnaU':_0x5fa7f4(0x212),'Vfcdh':function(_0x278da4,_0x204718){return _0x278da4(_0x204718);},'rlHAB':_0x5fa7f4(0x1eb)};let _0x4887a2=null,_0x31482b={};const _0x4804fb=_0x5294dc['findIndex'](_0x3c91dd=>_0x3c91dd===_0x5fa7f4(0x1df));if(!helper['isUndefined'](_0x400c9e[_0x5fa7f4(0x20b)])&&fs[_0x5fa7f4(0x1d4)](path['join'](process[_0x5fa7f4(0x1c8)](),_0x400c9e[_0x5fa7f4(0x20b)])))_0x4887a2=path[_0x5fa7f4(0x1d6)](process[_0x5fa7f4(0x1c8)](),_0x400c9e[_0x5fa7f4(0x20b)]),_0x5294dc[_0x5fa7f4(0x1da)](_0x4804fb,0x2);else{if(fs['existsSync'](path[_0x5fa7f4(0x1d6)](process[_0x5fa7f4(0x1c8)](),_0x38b72e[_0x5fa7f4(0x1ff)])))_0x4887a2=path[_0x5fa7f4(0x1d6)](process['cwd'](),_0x38b72e[_0x5fa7f4(0x1ff)]);else fs['existsSync'](path[_0x5fa7f4(0x1d6)](process[_0x5fa7f4(0x1c8)](),_0x38b72e['gnnaU']))&&(_0x4887a2=path[_0x5fa7f4(0x1d6)](process[_0x5fa7f4(0x1c8)](),_0x38b72e[_0x5fa7f4(0x1e2)]));}return _0x4887a2?(logger['info'](_0x5fa7f4(0x1e8)+_0x4887a2),_0x31482b=_0x38b72e[_0x5fa7f4(0x1f9)](require,_0x4887a2)):logger['info'](_0x38b72e[_0x5fa7f4(0x1fb)]),_0x31482b;},removeExistingEnvs=_0xc4493c=>{const _0x2a63db=a33_0x3d86a0,_0xf269b8={};_0xf269b8[_0x2a63db(0x1fc)]=function(_0x5205b7,_0x36094c){return _0x5205b7>_0x36094c;},_0xf269b8['TZeOF']=function(_0x31a52c,_0x462964){return _0x31a52c>_0x462964;};const _0x250bd3=_0xf269b8;let _0x1ffbd8=_0xc4493c['findIndex'](_0x586899=>_0x586899===_0x2a63db(0x1f2));_0x250bd3[_0x2a63db(0x1fc)](_0x1ffbd8,-0x1)&&_0xc4493c[_0x2a63db(0x1da)](_0x1ffbd8,0x2),_0x1ffbd8=_0xc4493c[_0x2a63db(0x208)](_0x15a40d=>_0x15a40d==='-e'),_0x250bd3[_0x2a63db(0x206)](_0x1ffbd8,-0x1)&&_0xc4493c['splice'](_0x1ffbd8,0x2);};function a33_0xf73d(_0x40f8ac,_0x1449f8){const _0x1382e2=a33_0x1382();return a33_0xf73d=function(_0xf73d65,_0xae9f2){_0xf73d65=_0xf73d65-0x1c8;let _0x15d90b=_0x1382e2[_0xf73d65];return _0x15d90b;},a33_0xf73d(_0x40f8ac,_0x1449f8);}function run(_0x2c8bdc,_0x23db64,_0xf5cfa9){const _0x2a62aa=a33_0x3d86a0,_0x51045e={'LpaEG':_0x2a62aa(0x20c),'bwVXu':function(_0x57e071,_0x308a45){return _0x57e071+_0x308a45;},'MJJqn':_0x2a62aa(0x1db),'fDSZU':function(_0x21469f,_0x3a5512,_0xcf7be0){return _0x21469f(_0x3a5512,_0xcf7be0);},'vHfPR':_0x2a62aa(0x1d8),'ZtyRB':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','zeDAm':function(_0x49d8d1,_0x57d3c8){return _0x49d8d1===_0x57d3c8;},'UPbYN':_0x2a62aa(0x1f0),'gTtgM':function(_0x57464b,_0x4f3992){return _0x57464b(_0x4f3992);},'efCpC':function(_0x2d9b11,_0x2dea4e,_0x5142f8,_0x273567){return _0x2d9b11(_0x2dea4e,_0x5142f8,_0x273567);},'Cavck':'nightwatch.cmd','QgVUJ':_0x2a62aa(0x1df),'JRhel':_0x2a62aa(0x1f2),'pRcnY':_0x2a62aa(0x1dd),'xTMkH':_0x2a62aa(0x20a)};if(!_0xf5cfa9[_0x2a62aa(0x20b)])return;const _0x4b7c4d=_0x51045e['fDSZU'](getUserNightwatchConfigs,_0x2c8bdc,_0x23db64),_0xd7a1b2={};_0xd7a1b2[_0x2a62aa(0x20d)]=![];const _0x44b8e9={};_0x44b8e9[_0x2a62aa(0x205)]=_0x51045e['vHfPR'],_0x44b8e9['port']=0x1bb;const _0x1672b8={};_0x1672b8[_0x2a62aa(0x1cb)]=_0xd7a1b2,_0x1672b8[_0x2a62aa(0x1f5)]=_0x44b8e9;const _0x306588=_0x1672b8;logger['info'](_0x51045e['ZtyRB']);const _0x14176f={..._0x4b7c4d},_0x2afdf8=_0x14176f,_0x212e24=helper[_0x2a62aa(0x1f8)](_0xf5cfa9['config']),_0x203d80=[];_0xf5cfa9[_0x2a62aa(0x20b)]['platforms'][_0x2a62aa(0x1cf)]((_0x4a638b,_0x370347)=>{const _0x5d9bbc=_0x2a62aa;_0x212e24?_0x203d80['push'](helper[_0x5d9bbc(0x1d7)](_0xf5cfa9[_0x5d9bbc(0x20b)],_0x51045e[_0x5d9bbc(0x200)],_0x370347)):_0x203d80[_0x5d9bbc(0x1dc)](helper[_0x5d9bbc(0x20f)](_0xf5cfa9['config'],_0x51045e[_0x5d9bbc(0x200)],_0x370347));});const _0x1407db={},_0x3d6901=[];_0x2c8bdc[_0x2a62aa(0x202)]=_0x2c8bdc[_0x2a62aa(0x202)]||_0x2c8bdc['e'];const _0x1356f9=_0x2c8bdc[_0x2a62aa(0x202)]?_0x2c8bdc[_0x2a62aa(0x202)][_0x2a62aa(0x210)]()[_0x2a62aa(0x1e5)](',')[_0x2a62aa(0x203)](_0x58cb75=>_0x58cb75[_0x2a62aa(0x210)]())[_0x2a62aa(0x1f4)](_0x533c00=>_0x533c00!==''):[''];_0x51045e['zeDAm'](_0x1356f9[_0x2a62aa(0x1d1)],0x0)&&_0x1356f9[_0x2a62aa(0x1dc)]('');_0x1356f9[_0x2a62aa(0x1cf)](_0x2a335a=>{const _0x14b402=_0x2a62aa;_0x203d80[_0x14b402(0x1cf)](_0x30b937=>{const _0x467593=_0x14b402;let _0x5d8a14=_0x51045e[_0x467593(0x1cc)](helper['getPlatformName'](_0x30b937,'_'),'_'+Date[_0x467593(0x1cd)]());_0x2a335a&&(_0x5d8a14+='_'+_0x2a335a);if(_0x2a335a&&(!_0x4b7c4d[_0x51045e[_0x467593(0x1e7)]]||!_0x4b7c4d[_0x51045e[_0x467593(0x1e7)]][_0x2a335a]))return;const _0xfeb0b9={..._0x306588};_0xfeb0b9[_0x467593(0x201)]=_0x30b937;const _0x188246=_0xfeb0b9;_0x1407db[_0x5d8a14]=_0x2a335a?helper[_0x467593(0x1e0)](_0x4b7c4d[_0x51045e[_0x467593(0x1e7)]][_0x2a335a],_0x188246):_0x188246,_0x3d6901['push'](_0x5d8a14);});});!_0x2afdf8[_0x2a62aa(0x1db)]&&(_0x2afdf8[_0x2a62aa(0x1db)]={});_0x2afdf8['test_settings']={..._0x2afdf8[_0x2a62aa(0x1db)],..._0x1407db};const _0x2cd018=path[_0x2a62aa(0x1d6)](__dirname,_0x51045e[_0x2a62aa(0x1f1)]);fs[_0x2a62aa(0x1d2)](_0x2cd018,JSON['stringify'](_0x2afdf8)),_0x51045e[_0x2a62aa(0x1ed)](removeExistingEnvs,_0x23db64);const _0x32d8c1=_0x51045e[_0x2a62aa(0x1d3)](spawn,/^win/[_0x2a62aa(0x1ee)](process['platform'])?_0x51045e[_0x2a62aa(0x1d0)]:_0x51045e[_0x2a62aa(0x200)],[_0x51045e[_0x2a62aa(0x1ca)],_0x2cd018,..._0x23db64[_0x2a62aa(0x1d9)](0x1),_0x51045e[_0x2a62aa(0x1c9)],_0x3d6901[_0x2a62aa(0x1d6)](',')],{'stdio':_0x51045e['pRcnY']});_0x32d8c1['on'](_0x51045e['xTMkH'],async _0x3cdad4=>{const _0x4306b9=_0x2a62aa;logger[_0x4306b9(0x1e1)](_0x4306b9(0x207)+_0x3cdad4),logger['info']('Deleting\x20'+_0x2cd018),fs[_0x4306b9(0x1e6)](_0x2cd018);});}function a33_0x1382(){const _0x5a7048=['join','modifyBrowserStackW3CCaps','hub.browserstack.com','slice','splice','test_settings','push','inherit','winstonLogger','--config','mergeDeep','debug','gnnaU','3923739EnjYet','../utils/constants','split','unlinkSync','MJJqn','Getting\x20your\x20nightwatch\x20configs\x20from\x20','3119345qxhUaB','851953MNoypc','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','4HAHdum','gTtgM','test','40485049ZXJPdU','nightwatch-browserstack.json','UPbYN','--env','10SyVvCb','filter','selenium','nightwatch.conf.js','path','useW3C','Vfcdh','5072nitwqt','rlHAB','edfkN','../../helpers/BrowserStackSetup','8932Dezuqv','MKsqi','LpaEG','desiredCapabilities','env','map','exports','host','TZeOF','child\x20process\x20exited\x20with\x20code\x20','findIndex','../../helpers/logger','close','config','nightwatch','start_process','../../helpers/helper','modifyBrowserStackCaps','trim','4ASOIUq','nightwatch.json','cwd','JRhel','QgVUJ','webdriver','bwVXu','now','3728472gVhKtR','forEach','Cavck','length','writeFileSync','efCpC','existsSync','823143WBQIEe'];a33_0x1382=function(){return _0x5a7048;};return a33_0x1382();}module[a33_0x3d86a0(0x204)]=run;
@@ -1 +1 @@
1
- function a34_0x51fd(_0x484be1,_0x5969d5){const _0x3cf55c=a34_0x3cf5();return a34_0x51fd=function(_0x51fd19,_0x20a068){_0x51fd19=_0x51fd19-0xeb;let _0x8f2235=_0x3cf55c[_0x51fd19];return _0x8f2235;},a34_0x51fd(_0x484be1,_0x5969d5);}const a34_0x4bec28=a34_0x51fd;(function(_0x3ac549,_0x382c77){const _0x515176=a34_0x51fd,_0x507203=_0x3ac549();while(!![]){try{const _0x1cc345=parseInt(_0x515176(0x150))/0x1*(-parseInt(_0x515176(0x116))/0x2)+-parseInt(_0x515176(0x11e))/0x3*(-parseInt(_0x515176(0x134))/0x4)+-parseInt(_0x515176(0x127))/0x5+parseInt(_0x515176(0x148))/0x6*(parseInt(_0x515176(0xef))/0x7)+parseInt(_0x515176(0x12b))/0x8+parseInt(_0x515176(0x139))/0x9+parseInt(_0x515176(0x155))/0xa*(-parseInt(_0x515176(0xeb))/0xb);if(_0x1cc345===_0x382c77)break;else _0x507203['push'](_0x507203['shift']());}catch(_0x1e3df7){_0x507203['push'](_0x507203['shift']());}}}(a34_0x3cf5,0x7d3b5));const util=require(a34_0x4bec28(0x136)),logger=require('../../helpers/logger')[a34_0x4bec28(0x11d)],{isAccessibilityAutomationSession}=require(a34_0x4bec28(0x14c)),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x4bec28(0xf1)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x4bec28(0x130));exports[a34_0x4bec28(0x14f)]=async(_0xe1b1bb,_0x5cb862,_0x4847e1={})=>{const _0x12b4e7=a34_0x4bec28,_0x2ef251={};_0x2ef251[_0x12b4e7(0x10d)]=_0x12b4e7(0x11c);const _0x182e3c=_0x2ef251;return await _0xe1b1bb[_0x12b4e7(0x124)](_0x12b4e7(0xf5)+_0x5cb862[_0x12b4e7(0x115)](/arguments/g,_0x182e3c[_0x12b4e7(0x10d)])+_0x12b4e7(0x13b)+JSON[_0x12b4e7(0x158)](_0x4847e1)+')');},exports[a34_0x4bec28(0xfd)]=async(_0x2964d5,_0x1d1fa1,_0x2f464b={})=>{const _0x11bfb1=a34_0x4bec28,_0x1bc37a={};_0x1bc37a[_0x11bfb1(0x10e)]=function(_0x4a5629,_0x2d91b8){return _0x4a5629===_0x2d91b8;},_0x1bc37a['qZEGC']=_0x11bfb1(0x118),_0x1bc37a[_0x11bfb1(0x100)]=_0x11bfb1(0x106),_0x1bc37a[_0x11bfb1(0xed)]='bstackSdkArgs';const _0x31a25a=_0x1bc37a;if(_0x31a25a[_0x11bfb1(0x10e)](_0x2964d5[_0x11bfb1(0x123)]['name'],_0x31a25a[_0x11bfb1(0x11b)]))return await _0x2964d5[_0x11bfb1(0x109)](_0x1d1fa1,_0x2f464b);else{if(_0x31a25a[_0x11bfb1(0x10e)](_0x2964d5[_0x11bfb1(0x123)][_0x11bfb1(0x12f)],_0x31a25a[_0x11bfb1(0x100)]))return await _0x2964d5['executeScript'](_0x11bfb1(0x121)+_0x1d1fa1[_0x11bfb1(0x115)](/arguments/g,_0x31a25a[_0x11bfb1(0xed)])+_0x11bfb1(0x138)+JSON[_0x11bfb1(0x158)](_0x2f464b)+')');}},exports['setAccessibilityCapabilities']=async _0x32721a=>{const _0x564b90=a34_0x4bec28,_0x4241b8={};_0x4241b8[_0x564b90(0x13a)]=_0x564b90(0x143),_0x4241b8[_0x564b90(0xfe)]='accessibilityOptions.scannerProcessingTimeout',_0x4241b8[_0x564b90(0x156)]=_0x564b90(0x149),_0x4241b8[_0x564b90(0x157)]=_0x564b90(0x14a),_0x4241b8['unJrb']=_0x564b90(0x117),_0x4241b8[_0x564b90(0x14b)]=_0x564b90(0xff);const _0x3a267f=_0x4241b8;_0x32721a[_0x564b90(0x144)]&&(_0x32721a[_0x564b90(0x144)]['wcagVersion']&&(_0x32721a[_0x3a267f[_0x564b90(0x13a)]]=_0x32721a[_0x564b90(0x144)][_0x564b90(0x132)]),_0x32721a[_0x564b90(0x144)]['scannerProcessingTimeout']&&(_0x32721a[_0x3a267f[_0x564b90(0xfe)]]=_0x32721a[_0x564b90(0x144)][_0x564b90(0x11a)]),_0x32721a['accessibilityOptions'][_0x564b90(0x104)]&&(_0x32721a[_0x3a267f[_0x564b90(0x156)]]=_0x32721a[_0x564b90(0x144)]['includeIssueType'][_0x564b90(0x125)],_0x32721a[_0x3a267f['pjKMG']]=_0x32721a[_0x564b90(0x144)][_0x564b90(0x104)]['needsReview']));const _0x1d651e=JSON[_0x564b90(0x12a)](process[_0x564b90(0x13c)][_0x564b90(0x147)])[_0x564b90(0x128)];_0x32721a[_0x3a267f[_0x564b90(0x119)]]=process[_0x564b90(0x13c)][_0x564b90(0x107)],_0x32721a[_0x3a267f[_0x564b90(0x14b)]]=_0x1d651e,delete _0x32721a[_0x564b90(0x144)];},exports[a34_0x4bec28(0x11f)]=async _0x314103=>{const _0x2c8ebc=a34_0x4bec28,_0x546021={};_0x546021[_0x2c8ebc(0xfb)]=_0x2c8ebc(0x154),_0x546021[_0x2c8ebc(0x10f)]=_0x2c8ebc(0x14d);const _0x5143ce=_0x546021;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x314103,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x314103,scripts.getResults);})();return res;}catch{return logger['error'](_0x5143ce[_0x2c8ebc(0xfb)]),[];}else return logger['warn'](_0x5143ce[_0x2c8ebc(0x10f)]),[];},exports['performScan']=async(_0x451e96,_0x1b1d16='')=>{const _0x25ac61=a34_0x4bec28;logger['debug'](_0x25ac61(0x131)+_0x1b1d16+_0x25ac61(0xf8)+_0x451e96);if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x25ac61(0x12d)],async()=>{const _0x409ed6=_0x25ac61,_0x5d4d58={};_0x5d4d58[_0x409ed6(0x13d)]=_0x1b1d16,await exports[_0x409ed6(0x14f)](_0x451e96,scripts['performScan'],_0x5d4d58);},{'command':_0x1b1d16})();},exports[a34_0x4bec28(0x146)]=async _0x1b299c=>{const _0xa149f6=a34_0x4bec28,_0xeaa439={};_0xeaa439['veZnV']='No\x20summaryResults\x20found.',_0xeaa439[_0xa149f6(0x114)]=_0xa149f6(0x113);const _0x3d5fdc=_0xeaa439;if(global[_0xa149f6(0x108)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1b299c,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1b299c,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0xa149f6(0x135)](_0x3d5fdc[_0xa149f6(0x126)]),{};}else return logger[_0xa149f6(0x142)](_0x3d5fdc[_0xa149f6(0x114)]),{};},exports[a34_0x4bec28(0x14e)]=async _0x32718a=>{const _0x5a0a67=a34_0x4bec28,_0x5e9789={'SlKSH':function(_0x5b0f64,_0x20214d){return _0x5b0f64!==_0x20214d;},'ZGJFG':_0x5a0a67(0xec),'YbQbl':function(_0x528ed2,_0xff473){return _0x528ed2===_0xff473;},'URoNG':'chrome','CIIIT':function(_0x320729,_0x10578d){return _0x320729===_0x10578d;},'AtmRk':'playwright-chromium','rtHRG':_0x5a0a67(0x102),'IYkdR':function(_0x37accc,_0x2e1ea4){return _0x37accc(_0x2e1ea4);},'WXfUz':_0x5a0a67(0x112),'yFaUy':function(_0x25a4a8,_0x236711){return _0x25a4a8>_0x236711;},'HCEIJ':_0x5a0a67(0xf7)};try{if(!_0x5e9789[_0x5a0a67(0x101)](_0x32718a[_0x5a0a67(0xf3)],''))return logger[_0x5a0a67(0x142)](_0x5e9789[_0x5a0a67(0xfc)]),![];const _0x39483f=_0x32718a['browser'];if(!(_0x5e9789['YbQbl'](_0x39483f,_0x5e9789[_0x5a0a67(0x10b)])||_0x5e9789[_0x5a0a67(0x10c)](_0x39483f,_0x5e9789[_0x5a0a67(0x137)])))return logger[_0x5a0a67(0x142)](_0x5e9789['rtHRG']),![];const _0x4c5168=_0x5e9789[_0x5a0a67(0x12e)](parseInt,_0x32718a[_0x5a0a67(0x145)]);if(!(_0x5e9789[_0x5a0a67(0x10c)](_0x4c5168,_0x5e9789[_0x5a0a67(0xf9)])||_0x5e9789['yFaUy'](_0x4c5168,0x5e)))return logger[_0x5a0a67(0x142)](_0x5e9789[_0x5a0a67(0x151)]),![];}catch(_0xf7f689){logger[_0x5a0a67(0x135)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x5a0a67(0x105)](_0xf7f689));}return!![];},exports[a34_0x4bec28(0xf0)]=(_0x246970,_0x2bf12b,_0xfd8073)=>{const _0x4f228d=a34_0x4bec28,_0x8e6f4f={'WoaMj':function(_0x4f12ae){return _0x4f12ae();},'hJChg':_0x4f228d(0x13f),'OeuTQ':function(_0x26dfe3,_0x2480e2){return _0x26dfe3===_0x2480e2;},'lSwuc':_0x4f228d(0x10a),'ECOJQ':'playwright-chromium','FshNG':function(_0x48c0c2,_0x2b7b9f){return _0x48c0c2===_0x2b7b9f;},'TtcHn':function(_0x3af6ec,_0x2b6344){return _0x3af6ec===_0x2b6344;},'oheBW':_0x4f228d(0x102),'ZsDvd':function(_0x8b1423,_0x5d0f07){return _0x8b1423===_0x5d0f07;},'ACgFX':'latest','nikvt':function(_0x5f5769,_0x2d9ee3){return _0x5f5769>_0x2d9ee3;},'sLkUm':_0x4f228d(0xf7),'HTxnN':function(_0x2e4d04,_0x9df60c){return _0x2e4d04(_0x9df60c);},'wFoAc':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','aUevH':function(_0x17f033,_0x190cea){return _0x17f033+_0x190cea;}};try{if(_0x8e6f4f[_0x4f228d(0x12c)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x246970[_0x8e6f4f['hJChg']]&&(global['accessibilityPlatform']=![]);!(_0x8e6f4f[_0x4f228d(0xf6)](_0x246970[_0x4f228d(0xf2)],_0x8e6f4f[_0x4f228d(0x129)])||_0x8e6f4f[_0x4f228d(0xf6)](_0x246970[_0x4f228d(0xf2)],_0x8e6f4f[_0x4f228d(0xf4)])||_0x8e6f4f['FshNG'](_0x246970[_0x4f228d(0x110)],_0x8e6f4f['lSwuc'])||_0x8e6f4f['TtcHn'](_0x246970[_0x4f228d(0x110)],_0x8e6f4f[_0x4f228d(0xf4)]))&&(logger['warn'](_0x8e6f4f[_0x4f228d(0xee)]),global[_0x4f228d(0x108)]=![]);!(_0x8e6f4f[_0x4f228d(0x153)](_0x246970[_0x4f228d(0x145)],_0x8e6f4f[_0x4f228d(0x122)])||_0x8e6f4f[_0x4f228d(0x140)](_0x246970[_0x4f228d(0x145)],0x5e))&&(logger['warn'](_0x8e6f4f['sLkUm']),global[_0x4f228d(0x108)]=![]);!_0x8e6f4f[_0x4f228d(0x13e)](isUndefined,_0x246970[_0x4f228d(0xf3)])&&(logger[_0x4f228d(0x142)](_0x8e6f4f[_0x4f228d(0x141)]),global[_0x4f228d(0x108)]=![]);if(!global[_0x4f228d(0x108)]){_0x246970[_0x8e6f4f['hJChg']]=![];const _0x50a4cb=_0x8e6f4f[_0x4f228d(0x120)](_0x2bf12b,_0x8e6f4f[_0x4f228d(0x13e)](encodeURIComponent,JSON[_0x4f228d(0x158)](_0x246970)));_0xfd8073&&(_0xfd8073['currentTest'][_0x4f228d(0x103)][_0x4f228d(0xfa)][_0x4f228d(0x133)]['connectOptions']['wsEndpoint']=_0x50a4cb,_0xfd8073[_0x4f228d(0x111)][_0x4f228d(0xfa)][_0x4f228d(0x133)][_0x4f228d(0x152)][_0x4f228d(0x159)]=_0x50a4cb);}}else global[_0x4f228d(0x108)]=![];}catch(_0x39f72a){logger[_0x4f228d(0x135)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x39f72a));}};function a34_0x3cf5(){const _0x4a1901=['browser','workerInfo','latest','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','YOpsm','replace','10KPSIhD','accessibilityOptions.authToken','WebDriver','unJrb','scannerProcessingTimeout','qZEGC','bstackSdkArgs','winstonLogger','2262BEOEMD','getAccessibilityResults','aUevH','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','ACgFX','constructor','evaluate','bestPractice','veZnV','76125YmWpxi','scannerVersion','lSwuc','parse','4638832wsHaDf','WoaMj','PERFORM_SCAN','IYkdR','name','../../helpers/performance/constants','Performing\x20scan\x20with\x20method:\x20','wcagVersion','use','4172joaQXU','debug','util','AtmRk','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','8447553IYQtnN','NZgKZ','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','env','command','HTxnN','browserstack.accessibility','nikvt','wFoAc','warn','accessibilityOptions.wcagVersion','accessibilityOptions','browser_version','getAccessibilityResultsSummary','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','6rEOMlo','accessibilityOptions.includeIssueType.bestPractice','accessibilityOptions.includeIssueType.needsReview','zfXCE','../../helpers/accessibility-automation/helper','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','platformValidation','browserStackEvaluate','62699gclVaP','HCEIJ','connectOptions','ZsDvd','No\x20accessibility\x20results\x20were\x20found.','1460AqapvZ','hCRZS','pjKMG','stringify','wsEndpoint','151778mbVJjM','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','xrYqO','oheBW','3858988GpSUfy','processAccessibilityCaps','../../helpers/performance/performance-tester','browserName','deviceName','ECOJQ','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','OeuTQ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','\x20page:\x20','WXfUz','project','DDaYU','ZGJFG','browserStackExecuteDriver','vKHhF','accessibilityOptions.scannerVersion','suQwq','SlKSH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','testInfo','includeIssueType','format','Playwright','BS_A11Y_JWT','accessibilityPlatform','executeAsyncScript','chrome','URoNG','CIIIT','LSGtr','DOfyq','JwKes'];a34_0x3cf5=function(){return _0x4a1901;};return a34_0x3cf5();}
1
+ const a34_0x322fa4=a34_0x2df6;function a34_0x2df6(_0xe16077,_0x4721cf){const _0x44f6f7=a34_0x44f6();return a34_0x2df6=function(_0x2df6bb,_0x497174){_0x2df6bb=_0x2df6bb-0x193;let _0x2756ea=_0x44f6f7[_0x2df6bb];return _0x2756ea;},a34_0x2df6(_0xe16077,_0x4721cf);}(function(_0x107d20,_0x85b4f7){const _0x3ea453=a34_0x2df6,_0x6afb5=_0x107d20();while(!![]){try{const _0x429fa0=-parseInt(_0x3ea453(0x199))/0x1*(-parseInt(_0x3ea453(0x1c1))/0x2)+parseInt(_0x3ea453(0x1dd))/0x3+parseInt(_0x3ea453(0x1e4))/0x4+-parseInt(_0x3ea453(0x1ce))/0x5+parseInt(_0x3ea453(0x1eb))/0x6+-parseInt(_0x3ea453(0x1d4))/0x7*(-parseInt(_0x3ea453(0x1c8))/0x8)+parseInt(_0x3ea453(0x1e5))/0x9*(-parseInt(_0x3ea453(0x1d9))/0xa);if(_0x429fa0===_0x85b4f7)break;else _0x6afb5['push'](_0x6afb5['shift']());}catch(_0x30eb00){_0x6afb5['push'](_0x6afb5['shift']());}}}(a34_0x44f6,0x75b09));function a34_0x44f6(){const _0x2f3b33=['accessibilityOptions.wcagVersion','accessibilityOptions','scannerProcessingTimeout','icFux','No\x20accessibility\x20results\x20were\x20found.','pOepm','accessibilityOptions.includeIssueType.needsReview','playwright-chromium','wsEndpoint','yOGVc','siCJP','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','cGwmB','executeAsyncScript','browserstack.accessibility','stringify','workerInfo','../../helpers/logger','gyxFa','3350coWIYT','uAjhc','accessibilityOptions.scannerVersion','erlli','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','STjSQ','esDRJ','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','deviceName','SXydK','executeScript','elAEZ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','YPxDr','YDMoo','IFRLR','testInfo','YJgCg','pzcwT','format','iWaMT','includeIssueType','scannerVersion','setAccessibilityCapabilities','UMbQn','connectOptions','browser','anchZ','browserStackEvaluate','needsReview','wEZUo','evaluate','debug','BS_A11Y_JWT','processAccessibilityCaps','accessibilityOptions.authToken','Cpwsz','accessibilityOptions.includeIssueType.bestPractice','rLRDp','WebDriver','74UhnIgR','../../helpers/performance/constants','browserName','constructor','replace','pilEG','use','888aGWwfg','../../helpers/accessibility-automation/helper','bestPractice','ZMIsO','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','name','3558945ymjgaY','Iksen','winstonLogger','chrome','util','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','47306tiXCdx','YuHtN','../../helpers/performance/performance-tester','../../helpers/helper','project','10GGZkMS','currentTest','browser_version','ZDogH','2844708rjhqeU','ceTOT','env','accessibilityPlatform','CwXcV','getAccessibilityResults','performScan','617008DmBCHO','8789481vMxagF','latest','MLuHH','OgToE','yifwm','browserStackExecuteDriver','1163274lvGbuC','OnuHk','warn'];a34_0x44f6=function(){return _0x2f3b33;};return a34_0x44f6();}const util=require(a34_0x322fa4(0x1d2)),logger=require(a34_0x322fa4(0x197))[a34_0x322fa4(0x1d0)],{isAccessibilityAutomationSession}=require(a34_0x322fa4(0x1c9)),{isUndefined}=require(a34_0x322fa4(0x1d7)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x322fa4(0x1d6)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x322fa4(0x1c2));exports[a34_0x322fa4(0x1b5)]=async(_0x28f84d,_0x26faf1,_0x3433ed={})=>{const _0x4b2ed3=a34_0x322fa4,_0x2219eb={};_0x2219eb[_0x4b2ed3(0x19c)]='bstackSdkArgs';const _0x2b39ef=_0x2219eb;return await _0x28f84d[_0x4b2ed3(0x1b8)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x26faf1[_0x4b2ed3(0x1c5)](/arguments/g,_0x2b39ef['erlli'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x3433ed)+')');},exports[a34_0x322fa4(0x1ea)]=async(_0x2752e6,_0x2d4e34,_0x7e0655={})=>{const _0x39bc0d=a34_0x322fa4,_0x3af5e3={};_0x3af5e3[_0x39bc0d(0x1bf)]=function(_0x3f8bd8,_0xce6d0){return _0x3f8bd8===_0xce6d0;},_0x3af5e3[_0x39bc0d(0x1a8)]=_0x39bc0d(0x1c0),_0x3af5e3[_0x39bc0d(0x1bd)]='Playwright',_0x3af5e3[_0x39bc0d(0x1fa)]='bstackSdkArgs';const _0x30295a=_0x3af5e3;if(_0x30295a['rLRDp'](_0x2752e6[_0x39bc0d(0x1c4)][_0x39bc0d(0x1cd)],_0x30295a[_0x39bc0d(0x1a8)]))return await _0x2752e6[_0x39bc0d(0x193)](_0x2d4e34,_0x7e0655);else{if(_0x30295a[_0x39bc0d(0x1bf)](_0x2752e6[_0x39bc0d(0x1c4)][_0x39bc0d(0x1cd)],_0x30295a[_0x39bc0d(0x1bd)]))return await _0x2752e6[_0x39bc0d(0x1a3)](_0x39bc0d(0x1f9)+_0x2d4e34[_0x39bc0d(0x1c5)](/arguments/g,_0x30295a[_0x39bc0d(0x1fa)])+_0x39bc0d(0x1a0)+JSON[_0x39bc0d(0x195)](_0x7e0655)+')');}},exports[a34_0x322fa4(0x1b0)]=async _0x52f680=>{const _0x377a33=a34_0x322fa4,_0x174d6c={};_0x174d6c[_0x377a33(0x1d5)]=_0x377a33(0x1ee),_0x174d6c['ceTOT']='accessibilityOptions.scannerProcessingTimeout',_0x174d6c[_0x377a33(0x1b7)]=_0x377a33(0x1be),_0x174d6c[_0x377a33(0x1a4)]=_0x377a33(0x1f4),_0x174d6c[_0x377a33(0x19a)]=_0x377a33(0x1bc),_0x174d6c[_0x377a33(0x1aa)]=_0x377a33(0x19b);const _0x24384f=_0x174d6c;_0x52f680['accessibilityOptions']&&(_0x52f680['accessibilityOptions']['wcagVersion']&&(_0x52f680[_0x24384f[_0x377a33(0x1d5)]]=_0x52f680['accessibilityOptions']['wcagVersion']),_0x52f680[_0x377a33(0x1ef)]['scannerProcessingTimeout']&&(_0x52f680[_0x24384f[_0x377a33(0x1de)]]=_0x52f680[_0x377a33(0x1ef)][_0x377a33(0x1f0)]),_0x52f680['accessibilityOptions'][_0x377a33(0x1ae)]&&(_0x52f680[_0x24384f['wEZUo']]=_0x52f680[_0x377a33(0x1ef)][_0x377a33(0x1ae)][_0x377a33(0x1ca)],_0x52f680[_0x24384f[_0x377a33(0x1a4)]]=_0x52f680[_0x377a33(0x1ef)][_0x377a33(0x1ae)][_0x377a33(0x1b6)]));const _0x17bf83=JSON['parse'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x377a33(0x1af)];_0x52f680[_0x24384f[_0x377a33(0x19a)]]=process[_0x377a33(0x1df)][_0x377a33(0x1ba)],_0x52f680[_0x24384f['YJgCg']]=_0x17bf83,delete _0x52f680['accessibilityOptions'];},exports[a34_0x322fa4(0x1e2)]=async _0x85e69e=>{const _0x2f4b9d=a34_0x322fa4,_0x1a5f47={};_0x1a5f47[_0x2f4b9d(0x1ec)]=_0x2f4b9d(0x1f2),_0x1a5f47[_0x2f4b9d(0x1ab)]=_0x2f4b9d(0x19d);const _0x47116c=_0x1a5f47;if(global[_0x2f4b9d(0x1e0)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x85e69e,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x85e69e,scripts.getResults);})();return res;}catch{return logger['error'](_0x47116c[_0x2f4b9d(0x1ec)]),[];}else return logger[_0x2f4b9d(0x1ed)](_0x47116c[_0x2f4b9d(0x1ab)]),[];},exports[a34_0x322fa4(0x1e3)]=async(_0x33b668,_0x46efa1='')=>{if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x49c5da=a34_0x2df6,_0x4c9d4a={};_0x4c9d4a['command']=_0x46efa1,await exports[_0x49c5da(0x1b5)](_0x33b668,scripts['performScan'],_0x4c9d4a);},{'command':_0x46efa1})();},exports['getAccessibilityResultsSummary']=async _0x5d4f61=>{const _0x5e5242=a34_0x322fa4,_0x281367={};_0x281367[_0x5e5242(0x1dc)]='No\x20summaryResults\x20found.',_0x281367[_0x5e5242(0x1e1)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x48b0b6=_0x281367;if(global[_0x5e5242(0x1e0)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x5d4f61,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x5d4f61,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x5e5242(0x1b9)](_0x48b0b6['ZDogH']),{};}else return logger[_0x5e5242(0x1ed)](_0x48b0b6[_0x5e5242(0x1e1)]),{};},exports['platformValidation']=async _0x322d0f=>{const _0x58eaa4=a34_0x322fa4,_0x10015a={'iWaMT':function(_0x7fc0bb,_0xfba61d){return _0x7fc0bb!==_0xfba61d;},'yOGVc':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','YDMoo':function(_0x3f00ef,_0x4c92b8){return _0x3f00ef===_0x4c92b8;},'pRUjt':_0x58eaa4(0x1d1),'hQAEw':_0x58eaa4(0x1f5),'icFux':_0x58eaa4(0x1d3),'esDRJ':function(_0x27ea77,_0x138369){return _0x27ea77(_0x138369);},'ZMIsO':_0x58eaa4(0x1e6),'YPxDr':function(_0x48ae15,_0x19c524){return _0x48ae15>_0x19c524;},'pOepm':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x10015a[_0x58eaa4(0x1ad)](_0x322d0f[_0x58eaa4(0x1a1)],''))return logger[_0x58eaa4(0x1ed)](_0x10015a[_0x58eaa4(0x1f7)]),![];const _0x7c6322=_0x322d0f[_0x58eaa4(0x1b3)];if(!(_0x10015a[_0x58eaa4(0x1a7)](_0x7c6322,_0x10015a['pRUjt'])||_0x10015a[_0x58eaa4(0x1a7)](_0x7c6322,_0x10015a['hQAEw'])))return logger[_0x58eaa4(0x1ed)](_0x10015a[_0x58eaa4(0x1f1)]),![];const _0x23b791=_0x10015a[_0x58eaa4(0x19f)](parseInt,_0x322d0f['browser_version']);if(!(_0x10015a['YDMoo'](_0x23b791,_0x10015a[_0x58eaa4(0x1cb)])||_0x10015a[_0x58eaa4(0x1a6)](_0x23b791,0x5e)))return logger[_0x58eaa4(0x1ed)](_0x10015a[_0x58eaa4(0x1f3)]),![];}catch(_0x34da66){logger[_0x58eaa4(0x1b9)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x58eaa4(0x1ac)](_0x34da66));}return!![];},exports[a34_0x322fa4(0x1bb)]=(_0x14c9ad,_0x36f3ad,_0x1c9076)=>{const _0xa0168c=a34_0x322fa4,_0x356e3f={'MLuHH':function(_0x3ee260){return _0x3ee260();},'STjSQ':_0xa0168c(0x194),'pilEG':function(_0x477897,_0x15a039){return _0x477897===_0x15a039;},'Iksen':_0xa0168c(0x1d1),'siCJP':_0xa0168c(0x1f5),'UMbQn':_0xa0168c(0x1d3),'SXydK':_0xa0168c(0x1e6),'yifwm':function(_0x5cb768,_0xfb78c6){return _0x5cb768>_0xfb78c6;},'anchZ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','OgToE':function(_0x127f0f,_0x3d541){return _0x127f0f(_0x3d541);},'gyxFa':_0xa0168c(0x1a5),'IKouz':function(_0xb88d8,_0x3ef2fe){return _0xb88d8+_0x3ef2fe;}};try{if(_0x356e3f[_0xa0168c(0x1e7)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x14c9ad[_0x356e3f[_0xa0168c(0x19e)]]&&(global[_0xa0168c(0x1e0)]=![]);!(_0x356e3f[_0xa0168c(0x1c6)](_0x14c9ad[_0xa0168c(0x1c3)],_0x356e3f[_0xa0168c(0x1cf)])||_0x356e3f[_0xa0168c(0x1c6)](_0x14c9ad[_0xa0168c(0x1c3)],_0x356e3f[_0xa0168c(0x1f8)]))&&(logger[_0xa0168c(0x1ed)](_0x356e3f[_0xa0168c(0x1b1)]),global[_0xa0168c(0x1e0)]=![]);!(_0x356e3f['pilEG'](_0x14c9ad[_0xa0168c(0x1db)],_0x356e3f[_0xa0168c(0x1a2)])||_0x356e3f[_0xa0168c(0x1e9)](_0x14c9ad['browser_version'],0x5e))&&(logger[_0xa0168c(0x1ed)](_0x356e3f[_0xa0168c(0x1b4)]),global[_0xa0168c(0x1e0)]=![]);!_0x356e3f[_0xa0168c(0x1e8)](isUndefined,_0x14c9ad['deviceName'])&&(logger['warn'](_0x356e3f[_0xa0168c(0x198)]),global[_0xa0168c(0x1e0)]=![]);if(!global['accessibilityPlatform']){_0x14c9ad[_0x356e3f[_0xa0168c(0x19e)]]=![];const _0x416ed6=_0x356e3f['IKouz'](_0x36f3ad,_0x356e3f[_0xa0168c(0x1e8)](encodeURIComponent,JSON[_0xa0168c(0x195)](_0x14c9ad)));_0x1c9076&&(_0x1c9076[_0xa0168c(0x1da)][_0xa0168c(0x1a9)][_0xa0168c(0x1d8)]['use'][_0xa0168c(0x1b2)]['wsEndpoint']=_0x416ed6,_0x1c9076[_0xa0168c(0x196)][_0xa0168c(0x1d8)][_0xa0168c(0x1c7)]['connectOptions'][_0xa0168c(0x1f6)]=_0x416ed6);}}}catch(_0x410f5f){logger[_0xa0168c(0x1b9)](_0xa0168c(0x1cc)+util[_0xa0168c(0x1ac)](_0x410f5f));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a35_0x7b2b(_0x12cf02,_0x5db380){const _0x1fdadf=a35_0x1fda();return a35_0x7b2b=function(_0x7b2b93,_0x3e366d){_0x7b2b93=_0x7b2b93-0x64;let _0x49b788=_0x1fdadf[_0x7b2b93];return _0x49b788;},a35_0x7b2b(_0x12cf02,_0x5db380);}const a35_0x3cf6cc=a35_0x7b2b;(function(_0x4cece8,_0x1c72b2){const _0x503058=a35_0x7b2b,_0x41a0ee=_0x4cece8();while(!![]){try{const _0x3644c1=-parseInt(_0x503058(0xd3))/0x1*(parseInt(_0x503058(0xe2))/0x2)+-parseInt(_0x503058(0xb4))/0x3+parseInt(_0x503058(0x111))/0x4+-parseInt(_0x503058(0x6f))/0x5*(-parseInt(_0x503058(0x73))/0x6)+parseInt(_0x503058(0xc6))/0x7+parseInt(_0x503058(0xdf))/0x8*(parseInt(_0x503058(0x8d))/0x9)+-parseInt(_0x503058(0xdd))/0xa;if(_0x3644c1===_0x1c72b2)break;else _0x41a0ee['push'](_0x41a0ee['shift']());}catch(_0x1dd053){_0x41a0ee['push'](_0x41a0ee['shift']());}}}(a35_0x1fda,0x79ca3));const fs=require('fs'),path=require(a35_0x3cf6cc(0xd1)),{spawn}=require(a35_0x3cf6cc(0xa4)),{format}=require(a35_0x3cf6cc(0xaa)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a35_0x3cf6cc(0x6d)),helper=require(a35_0x3cf6cc(0x86)),utilities=require(a35_0x3cf6cc(0x88)),constants=require(a35_0x3cf6cc(0x67)),{FRAMEWORKS}=require(a35_0x3cf6cc(0xfc)),{getConfigLoaderPath}=require(a35_0x3cf6cc(0xa1)),{checkAccessibilityPlatformConfig}=require(a35_0x3cf6cc(0xeb)),{setAccessibilityCapabilities}=require(a35_0x3cf6cc(0xf6)),{printBuildLink}=require(a35_0x3cf6cc(0xad)),TestDetails=require(a35_0x3cf6cc(0xed)),TestHubHandler=require(a35_0x3cf6cc(0xab)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a35_0x3cf6cc(0xe4)),PerformanceEvents=require('../../helpers/performance/constants')[a35_0x3cf6cc(0xd7)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a35_0x3cf6cc(0xcc)),getUserPlaywrightConfig=async(_0x2f5531,_0x14d86b)=>{const _0x5a8204=a35_0x3cf6cc,_0x2d7066={'DfATy':function(_0x105387){return _0x105387();},'MaQkF':function(_0x298112,_0x285070){return _0x298112(_0x285070);},'zysvB':_0x5a8204(0xbf),'SEWvV':_0x5a8204(0x8a)},_0xec5d08=!helper[_0x5a8204(0x74)](_0x2f5531[_0x5a8204(0x90)]),_0x29a69e=_0xec5d08?path[_0x5a8204(0xdc)](process[_0x5a8204(0x6a)](),_0x2f5531[_0x5a8204(0x90)]):process['cwd'](),{resolveConfigFile:_0x150607,resolveConfigLocation:_0x2722cd}=helper[_0x5a8204(0xe5)]['apply'](null,_0x2d7066[_0x5a8204(0x7a)](getConfigLoaderPath)),_0x1d0021=_0x150607?_0x2d7066[_0x5a8204(0x8b)](_0x150607,_0x29a69e):helper[_0x5a8204(0x106)](_0x2d7066['MaQkF'](_0x2722cd,_0x29a69e),[_0x2d7066[_0x5a8204(0xfd)]]),_0x42f56c={};if(_0xec5d08){const _0x5ef91f=_0x14d86b[_0x5a8204(0xc0)](_0x2f4c4e=>_0x2f4c4e===_0x5a8204(0x10f)||_0x2f4c4e==='-c'||_0x2f4c4e[_0x5a8204(0x103)](_0x5a8204(0x8a)));_0x14d86b[_0x5a8204(0xbe)](_0x5ef91f,_0x14d86b[_0x5ef91f]['startsWith'](_0x2d7066[_0x5a8204(0xa9)])?0x1:0x2);}const _0xe2e954={};return _0xe2e954[_0x5a8204(0xd1)]=_0x1d0021,_0xe2e954['config']=_0x42f56c,_0xe2e954;},handleO11yRerun=_0x3f0990=>{const _0x3ff46f=a35_0x3cf6cc,_0x2c7d49={};_0x2c7d49[_0x3ff46f(0xc3)]=_0x3ff46f(0x8f);const _0x4a8ba6=_0x2c7d49,_0x573e71=helper[_0x3ff46f(0x71)](process[_0x3ff46f(0xf4)][_0x3ff46f(0x7d)]);if(_0x573e71){const _0x1b24d7=process[_0x3ff46f(0xf4)]['BROWSERSTACK_RERUN_TESTS'],_0x1cdc1b=[];if(helper[_0x3ff46f(0xe3)](_0x1b24d7)&&!helper[_0x3ff46f(0x74)](_0x1b24d7)){_0x1b24d7[_0x3ff46f(0xb5)](',')[_0x3ff46f(0xf1)](_0x42d795=>{const _0x43d6d8=_0x3ff46f;_0x1cdc1b['push']('('+_0x42d795[_0x43d6d8(0x7f)]()+')');});const _0x5ceac2='^'+_0x1cdc1b[_0x3ff46f(0x89)]('|')+'$';_0x3f0990[_0x3ff46f(0x91)](_0x4a8ba6[_0x3ff46f(0xc3)],_0x5ceac2);}}},spawnOriginalProcess=_0x799bcc=>{const _0x454a84=a35_0x3cf6cc,_0x330f5f={'IbCQu':function(_0x35dce0,_0x4b8f84,_0xc0d9b3,_0x6a056c){return _0x35dce0(_0x4b8f84,_0xc0d9b3,_0x6a056c);},'Islsz':_0x454a84(0x98),'BpZpG':'playwright','ihQie':function(_0x5643a4,_0x76638a){return _0x5643a4===_0x76638a;},'TvRqu':'win32','HqGBM':_0x454a84(0xb7)};_0x330f5f['IbCQu'](spawn,_0x330f5f[_0x454a84(0x95)],[_0x330f5f[_0x454a84(0x101)],..._0x799bcc[_0x454a84(0xa7)](0x1)],{'shell':_0x330f5f[_0x454a84(0xdb)](process['platform'],_0x330f5f[_0x454a84(0x97)]),'stdio':_0x330f5f[_0x454a84(0xee)],'cwd':process['cwd']()});},isTestCommand=(_0x2836ea,_0x22f7a8)=>{const _0x39cf68=a35_0x3cf6cc,_0x355623={};_0x355623[_0x39cf68(0x92)]=function(_0x4f557a,_0x3ea20d){return _0x4f557a>_0x3ea20d;},_0x355623[_0x39cf68(0xb6)]=function(_0x4fa356,_0x48950b){return _0x4fa356===_0x48950b;},_0x355623[_0x39cf68(0xcd)]=_0x39cf68(0xf9);const _0x53a87f=_0x355623;if(_0x53a87f[_0x39cf68(0x92)](_0x22f7a8['length'],0x1)&&_0x53a87f[_0x39cf68(0xb6)](_0x22f7a8[0x1],_0x53a87f[_0x39cf68(0xcd)]))return!![];return![];};function a35_0x1fda(){const _0x393d87=['splice','resolvedConfigFile','findIndex','DtYGR','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','eZYaZ','length','pTOXQ','5251274ermshX','homedir','SHkWi','bdqja','BLLHH','YvgcO','../v2/TestInfo','DRrxF','serializeToYamlString','HTTVa','ZkjLc','path','indexOf','708259hvcsew','VjeYA','getConfig','snftV','EVENTS','logLevel','win32','BROWSERSTACK_SETUP_CONFIG_PATH','ihQie','resolve','6658170EMSSpc','OpxID','8EcrOOt','error','PSSLn','2SBsesj','validateRerunTestList','../v2/browserstackCLI','requirePWModule','filterBrowserstackArgs','BrowserStack\x20config\x20file\x20not\x20found.','gnpkh','playwright-browserstack-sdk.config.cjs','Deleting\x20','../../helpers/accessibility-automation/helper','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','./reporter/test-details','HqGBM','isTypescriptProject','fVjjb','map','BROWSERSTACK_PW_CONFIG_DIR','start','env','info','./accessibility-helper','SDK_CLEANUP','testObservability','test','IfHXp','isRunning','../../helpers/test-observability/constants','zysvB','AbDkV','ZDOdF','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','BpZpG','PLAYWRIGHT','startsWith','launchBuild','true','nestedKeyValue','playwright-browserstack-sdk.config.js','dKepn','end','BROWSERSTACK_TEST_OBSERVABILITY','clearTempPWConfig','forEach','initialize','vnlgX','--config','--disable-test-observability','3614888zELFvS','getProxyUrl','getPackageType','browserstackAutomation','accessibilityOptions','IzQCq','../utils/constants','existsSync','browserstackSetupConfig.json','cwd','iWtog','TFxtb','../../helpers/BrowserStackSetup','trace_','117775NLQHPB','--disable-browserstack-automation','isTrue','Okorn','90TfuCIG','isUndefined','dirname','USER_CONFIG_DETAILS_PATH','accessibility','bCGtX','getInstance','DfATy','skipSessionName','writeFileSync','BROWSERSTACK_RERUN','cliConfig','trim','debug','VZgjz','MODULE','has','Error\x20in\x20closing\x20playwright','TFjUN','../../helpers/helper','setBrowserstackConfig','../../helpers/utilities','join','--config=','MaQkF','BROWSERSTACK_TEST_ACCESSIBILITY_YML','6827913zPULTe','testContextOptions','--grep','config','push','FjVbN','jCUds','Ljmib','Islsz','BROWSERSTACK_AUTOMATION','TvRqu','npx','exports','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','mqUGH','Error\x20in\x20deleting\x20playwright\x20results','XdUqY','exitCode','nRpDi','getConfigPath','./reporter/pwUtils','PACKAGE_TYPE','isFalse','child_process','stop','Error\x20in\x20getting\x20funnel\x20data\x20results','slice','SDK_POST_INITIALIZE','SEWvV','util','../../helpers/testhub/testhubHandler','edoVh','../../helpers/test-observability/utils','YcFkw','unlinkSync','Playwright\x20process\x20exited\x20with\x20code\x20','filter','measureWrapper','KTuzu','2678877xKktWs','split','JErTW','inherit','assign','bootstrap','SDMuh','pw_result.json','SDK_SETUP','errorMessage'];a35_0x1fda=function(){return _0x393d87;};return a35_0x1fda();}async function run(_0x16d0e8,_0x1f0734,_0x1c364b){const _0x35a6e6=a35_0x3cf6cc,_0x22433c={'SDMuh':'.browserstack','ZDOdF':_0x35a6e6(0xbb),'nRpDi':function(_0x49a6c1,_0xeaf342){return _0x49a6c1+_0xeaf342;},'mQjBt':_0x35a6e6(0xa6),'edoVh':function(_0x469460){return _0x469460();},'utxZk':_0x35a6e6(0x84),'fVjjb':function(_0x576156,_0x1beddf){return _0x576156(_0x1beddf);},'IzQCq':_0x35a6e6(0xe7),'bdqja':function(_0xd4bad,_0x5f9994){return _0xd4bad===_0x5f9994;},'KTuzu':'false','pTOXQ':'--disable-test-observability','Okorn':function(_0xef341c,_0x395300){return _0xef341c>=_0x395300;},'vnlgX':function(_0x31c405,_0x2d86e1){return _0x31c405===_0x2d86e1;},'Ljmib':'automation','YcFkw':function(_0x39224b,_0x29fd13){return _0x39224b!=_0x29fd13;},'OpxID':function(_0x3b6d6b,_0x3afef6,_0xbffb7a){return _0x3b6d6b(_0x3afef6,_0xbffb7a);},'iWtog':function(_0x15e4b8,_0x19a0c2){return _0x15e4b8(_0x19a0c2);},'DtYGR':_0x35a6e6(0x105),'vuYGe':function(_0x64daf9,_0x3894ba){return _0x64daf9(_0x3894ba);},'VjeYA':_0x35a6e6(0x69),'IfHXp':function(_0xe445a0,_0xcf8a98){return _0xe445a0===_0xcf8a98;},'YvgcO':_0x35a6e6(0xe9),'SHkWi':_0x35a6e6(0x107),'nBiNR':function(_0x217b8a,_0x5ab2d3){return _0x217b8a-_0x5ab2d3;},'mqUGH':function(_0x3eae4e,_0x1c1cbe){return _0x3eae4e+_0x1c1cbe;},'PSSLn':'Updated\x20config\x20file\x20name\x20to\x20-\x20','TFxtb':function(_0x237b3f,_0x375b80){return _0x237b3f>_0x375b80;},'gnpkh':function(_0x12a3d7,_0x450b9b){return _0x12a3d7+_0x450b9b;},'HTTVa':function(_0x12c18b,_0x495090,_0x5b0475,_0x21d3a3){return _0x12c18b(_0x495090,_0x5b0475,_0x21d3a3);},'AbDkV':_0x35a6e6(0x98),'XdUqY':'playwright','qlvtl':_0x35a6e6(0xf9),'BLLHH':_0x35a6e6(0x10f),'TFjUN':function(_0x13df0a,_0x50e89f){return _0x13df0a===_0x50e89f;},'dKepn':_0x35a6e6(0xd9),'jCUds':_0x35a6e6(0xb7),'ZkjLc':'close','snftV':_0x35a6e6(0x9c),'VZgjz':function(_0x39d708,_0xd82577){return _0x39d708(_0xd82577);}};try{const _0x1eff5f=path[_0x35a6e6(0x89)](helper[_0x35a6e6(0xc7)](),_0x22433c[_0x35a6e6(0xba)],_0x22433c[_0x35a6e6(0xff)]);fs[_0x35a6e6(0x68)](_0x1eff5f)&&fs[_0x35a6e6(0xaf)](_0x1eff5f);}catch(_0x1de070){logger[_0x35a6e6(0x80)](_0x22433c[_0x35a6e6(0xe8)](_0x22433c[_0x35a6e6(0xd6)],_0x1de070));}if(!_0x22433c[_0x35a6e6(0xde)](isTestCommand,_0x16d0e8,_0x1f0734)){_0x22433c[_0x35a6e6(0x81)](spawnOriginalProcess,_0x1f0734);return;}await PerformanceTester[_0x35a6e6(0xb2)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x12a7c1=_0x35a6e6,_0x29f1e9={'NYRhY':function(_0x5af32b,_0x4f6656){return _0x22433c['fVjjb'](_0x5af32b,_0x4f6656);}};if(!_0x1c364b[_0x12a7c1(0x90)]){logger[_0x12a7c1(0xe0)](_0x22433c[_0x12a7c1(0x66)]);return;}await _0x1c364b[_0x12a7c1(0x10d)](_0x16d0e8),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x12a7c1(0x102)],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI[_0x12a7c1(0x79)]()[_0x12a7c1(0x87)](_0x1c364b[_0x12a7c1(0x90)]),await BrowserstackCLI[_0x12a7c1(0x79)]()[_0x12a7c1(0xb9)]();const _0x1a2dcf=BrowserstackCLI[_0x12a7c1(0x79)]()[_0x12a7c1(0xd5)]();!helper[_0x12a7c1(0xa3)](_0x1a2dcf[_0x12a7c1(0x64)])&&(process[_0x12a7c1(0xf4)]['BROWSERSTACK_AUTOMATION']=!![]);_0x22433c[_0x12a7c1(0xc9)](_0x1a2dcf[_0x12a7c1(0x64)],![])&&(process[_0x12a7c1(0xf4)][_0x12a7c1(0x96)]=_0x22433c[_0x12a7c1(0xb3)],_0x1f0734=_0x1f0734['filter'](_0x3d415f=>_0x3d415f!==_0x12a7c1(0x70)));const _0x4baba3=_0x1f0734[_0x12a7c1(0xd2)](_0x22433c[_0x12a7c1(0xc5)]);(_0x22433c[_0x12a7c1(0x72)](_0x4baba3,0x0)||_0x22433c[_0x12a7c1(0x10e)](_0x1a2dcf['testObservability'],![]))&&(process[_0x12a7c1(0xf4)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x22433c['KTuzu'],_0x1f0734=_0x1f0734['filter'](_0x4f1ce9=>_0x4f1ce9!==_0x12a7c1(0x110)));!helper[_0x12a7c1(0x74)](_0x1c364b['cliConfig'])&&_0x1c364b[_0x12a7c1(0x7e)][_0x12a7c1(0x83)](_0x22433c['Ljmib'])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x1c364b[_0x12a7c1(0x7e)]['get'](_0x22433c[_0x12a7c1(0x94)])||!![]);_0x22433c[_0x12a7c1(0xae)](_0x1c364b[_0x12a7c1(0x90)]['testObservability'],null)&&!helper[_0x12a7c1(0x71)](process[_0x12a7c1(0xf4)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x12a7c1(0xf4)][_0x12a7c1(0x10a)]=process[_0x12a7c1(0xf4)][_0x12a7c1(0x10a)]||_0x1c364b['config'][_0x12a7c1(0xf8)]);const _0x30fe08=!helper[_0x12a7c1(0xa3)](process[_0x12a7c1(0xf4)][_0x12a7c1(0x10a)]);_0x1c364b[_0x12a7c1(0x90)][_0x12a7c1(0x65)]&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x1c364b[_0x12a7c1(0x90)][_0x12a7c1(0x65)]));let _0x12bad9=![];_0x1c364b['config'][_0x12a7c1(0x77)]&&(_0x12bad9=!![],process[_0x12a7c1(0xf4)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1c364b[_0x12a7c1(0x90)][_0x12a7c1(0x77)]);const _0x30c3fd=_0x1f0734['concat'](),_0x5ea94a=await _0x22433c[_0x12a7c1(0xde)](getUserPlaywrightConfig,_0x16d0e8,_0x1f0734);if(helper['isUndefined'](_0x5ea94a)){_0x22433c[_0x12a7c1(0x6b)](spawnOriginalProcess,_0x30c3fd);return;}const _0x5b673f=_0x5ea94a[_0x12a7c1(0xd1)]?path[_0x12a7c1(0x75)](_0x5ea94a[_0x12a7c1(0xd1)]):process['cwd']();process['env'][_0x12a7c1(0xf2)]=_0x5b673f,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x12a7c1(0xa8)],async()=>{const _0x5f3f41=_0x12a7c1;!BrowserstackCLI['getInstance']()[_0x5f3f41(0xfb)]()&&await TestHubHandler[_0x5f3f41(0x104)](FRAMEWORKS['PLAYWRIGHT'],_0x1c364b),_0x30fe08&&_0x29f1e9['NYRhY'](handleO11yRerun,_0x1f0734);})();if(!BrowserstackCLI['getInstance']()[_0x12a7c1(0xfb)]()){let _0x10c60b=_0x22433c[_0x12a7c1(0xc9)](process[_0x12a7c1(0xf4)][_0x12a7c1(0x8c)],_0x22433c[_0x12a7c1(0xc1)]);_0x10c60b=_0x10c60b||_0x22433c[_0x12a7c1(0xf0)](checkAccessibilityPlatformConfig,_0x1c364b[_0x12a7c1(0x90)]),process[_0x12a7c1(0xf4)][_0x12a7c1(0x8c)]=_0x10c60b,_0x10c60b&&_0x22433c['vuYGe'](setAccessibilityCapabilities,_0x1c364b[_0x12a7c1(0x90)]);}const _0x40d246=path[_0x12a7c1(0x89)](_0x5ea94a[_0x12a7c1(0xd1)]?path[_0x12a7c1(0x75)](_0x5ea94a[_0x12a7c1(0xd1)]):process['cwd'](),_0x22433c[_0x12a7c1(0xd4)]);fs[_0x12a7c1(0x7c)](_0x40d246,helper[_0x12a7c1(0xce)](_0x1c364b[_0x12a7c1(0x90)])),process[_0x12a7c1(0xf4)][_0x12a7c1(0xda)]=_0x40d246,helper[_0x12a7c1(0x10b)]();let _0x3b117e='';_0x22433c[_0x12a7c1(0xfa)](helper[_0x12a7c1(0x113)](),constants[_0x12a7c1(0xa2)][_0x12a7c1(0x82)])?_0x3b117e=_0x22433c[_0x12a7c1(0xcb)]:_0x3b117e=_0x22433c[_0x12a7c1(0xc8)];let _0x5161a5='';if(helper[_0x12a7c1(0xef)](_0x5ea94a[_0x12a7c1(0xd1)])){_0x5161a5=_0x12a7c1(0xec);const _0x354107=_0x3b117e[_0x12a7c1(0xb5)]('.');_0x354107[_0x22433c['nBiNR'](_0x354107['length'],0x1)]='ts',_0x3b117e=_0x354107['join']('.'),logger[_0x12a7c1(0x80)](_0x22433c[_0x12a7c1(0x9b)](_0x22433c[_0x12a7c1(0xe1)],_0x3b117e));}else _0x5161a5=_0x12a7c1(0x100);const _0x4b32fa=path[_0x12a7c1(0x89)](_0x5ea94a['path']?path['dirname'](_0x5ea94a[_0x12a7c1(0xd1)]):process[_0x12a7c1(0x6a)](),_0x3b117e);let _0x1c3ef1=_0x5ea94a[_0x12a7c1(0xd1)]?_0x5ea94a['path']:'';_0x1c3ef1=_0x22433c[_0x12a7c1(0x6c)](_0x1c3ef1[_0x12a7c1(0xc4)],0x0)?path[_0x12a7c1(0xdc)](_0x1c3ef1):'',process['env'][_0x12a7c1(0x76)]=_0x1c3ef1;const _0x2214fb=helper[_0x12a7c1(0x112)](_0x1c364b['config']);_0x2214fb&&(_0x5161a5=_0x22433c[_0x12a7c1(0xe8)](_0x12a7c1(0x9a)+_0x2214fb+_0x12a7c1(0xc2),_0x5161a5));helper[_0x12a7c1(0xe6)]({},_0x1f0734),fs['writeFileSync'](_0x4b32fa,_0x5161a5),PerformanceTester[_0x12a7c1(0x109)](PerformanceEvents[_0x12a7c1(0xbc)]);const _0x33f7d2=_0x22433c[_0x12a7c1(0xcf)](spawn,_0x22433c[_0x12a7c1(0xfe)],[_0x22433c[_0x12a7c1(0x9d)],_0x22433c['qlvtl'],_0x22433c[_0x12a7c1(0xca)],_0x4b32fa,..._0x1f0734[_0x12a7c1(0xa7)](0x2)],{'shell':_0x22433c[_0x12a7c1(0x85)](process['platform'],_0x22433c[_0x12a7c1(0x108)]),'stdio':_0x22433c[_0x12a7c1(0x93)],'cwd':process[_0x12a7c1(0x6a)](),'env':Object[_0x12a7c1(0xb8)]({},process[_0x12a7c1(0xf4)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x12a7c1(0xa0)](_0x16d0e8),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1c364b[_0x12a7c1(0x90)][_0x12a7c1(0x8e)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1c364b[_0x12a7c1(0x90)][_0x12a7c1(0x8e)][_0x12a7c1(0x7b)],'BROWSERSTACK_LOG_LEVEL':_0x1c364b['config'][_0x12a7c1(0xd8)]})}),_0x5f0bd4=()=>{const _0x59f615=_0x12a7c1;try{const _0x25c9d3=path['join'](helper['homedir'](),_0x22433c[_0x59f615(0xba)],_0x22433c[_0x59f615(0xff)]);if(fs[_0x59f615(0x68)](_0x25c9d3)){let _0x435360=fs['readFileSync'](_0x25c9d3);_0x435360=JSON['parse'](_0x435360),_0x1c364b[_0x59f615(0xbd)]=_0x435360,fs[_0x59f615(0xaf)](_0x25c9d3);}}catch(_0x455d61){logger[_0x59f615(0x80)](_0x22433c[_0x59f615(0x9f)](_0x22433c['mQjBt'],_0x455d61));}};_0x33f7d2['on'](_0x22433c[_0x12a7c1(0xd0)],async _0x44068f=>{const _0xc787cd=_0x12a7c1,_0x445a75={};_0x445a75[_0xc787cd(0x78)]=_0x22433c['SDMuh'];const _0x43ed51=_0x445a75;try{PerformanceTester[_0xc787cd(0xf3)](PerformanceEvents[_0xc787cd(0xf7)]),_0x22433c[_0xc787cd(0xac)](_0x5f0bd4);!BrowserstackCLI[_0xc787cd(0x79)]()['isRunning']()&&await TestHubHandler[_0xc787cd(0xa5)]();await BrowserstackCLI[_0xc787cd(0x79)]()[_0xc787cd(0xa5)](),TestDetails['shutdown'](),_0x22433c[_0xc787cd(0xac)](printBuildLink),await utilities['finalExecution'](_0x1c364b),process[_0xc787cd(0x9e)]=_0x44068f,logger[_0xc787cd(0x80)](_0xc787cd(0xb0)+_0x44068f),logger[_0xc787cd(0xf5)](_0xc787cd(0xea)+_0x4b32fa),fs[_0xc787cd(0xaf)](_0x4b32fa);fs[_0xc787cd(0x68)](_0x40d246)&&(logger[_0xc787cd(0x80)](_0xc787cd(0xea)+_0x40d246),fs[_0xc787cd(0xaf)](_0x40d246));const _0x450417=fs['readdirSync'](path[_0xc787cd(0x89)](helper['homedir'](),_0x22433c[_0xc787cd(0xba)]))[_0xc787cd(0xb1)](_0xddc0fd=>_0xddc0fd[_0xc787cd(0x103)](_0xc787cd(0x6e)));_0x450417[_0xc787cd(0x10c)](_0x5bef09=>{const _0xeaa1e5=_0xc787cd;fs[_0xeaa1e5(0xaf)](path[_0xeaa1e5(0x89)](helper[_0xeaa1e5(0xc7)](),_0x43ed51['bCGtX'],_0x5bef09));});}catch(_0x2fdd34){logger[_0xc787cd(0x80)](_0x22433c[_0xc787cd(0x9f)](_0x22433c['utxZk'],_0x2fdd34));}});})();}module[a35_0x3cf6cc(0x99)]=run;
2
+ 'use strict';const a35_0x58d052=a35_0x4a4a;(function(_0x258b47,_0xd74344){const _0x2eee5a=a35_0x4a4a,_0x5086e6=_0x258b47();while(!![]){try{const _0x106c47=-parseInt(_0x2eee5a(0x13a))/0x1*(-parseInt(_0x2eee5a(0xf1))/0x2)+-parseInt(_0x2eee5a(0x109))/0x3*(-parseInt(_0x2eee5a(0xe6))/0x4)+parseInt(_0x2eee5a(0x143))/0x5*(-parseInt(_0x2eee5a(0x11b))/0x6)+-parseInt(_0x2eee5a(0x128))/0x7*(-parseInt(_0x2eee5a(0xc9))/0x8)+-parseInt(_0x2eee5a(0x152))/0x9*(-parseInt(_0x2eee5a(0x10a))/0xa)+parseInt(_0x2eee5a(0x159))/0xb+-parseInt(_0x2eee5a(0x121))/0xc;if(_0x106c47===_0xd74344)break;else _0x5086e6['push'](_0x5086e6['shift']());}catch(_0x524b4f){_0x5086e6['push'](_0x5086e6['shift']());}}}(a35_0x2d7e,0x3c92f));const fs=require('fs'),path=require(a35_0x58d052(0xed)),{spawn}=require('child_process'),{format}=require(a35_0x58d052(0x137)),logger=require(a35_0x58d052(0x12f))['winstonLogger'],{default:BrowserStackSetup}=require(a35_0x58d052(0xfe)),helper=require('../../helpers/helper'),utilities=require(a35_0x58d052(0xe0)),constants=require(a35_0x58d052(0x102)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a35_0x58d052(0x10e)),{checkAccessibilityPlatformConfig}=require(a35_0x58d052(0x129)),{setAccessibilityCapabilities}=require(a35_0x58d052(0xdc)),{printBuildLink}=require(a35_0x58d052(0xf5)),TestDetails=require(a35_0x58d052(0x119)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a35_0x58d052(0xfa)),PerformanceEvents=require(a35_0x58d052(0x147))[a35_0x58d052(0x13d)],getUserPlaywrightConfig=async(_0x44735a,_0x35eefd)=>{const _0x5bb082=a35_0x58d052,_0x1aadca={'tZAwc':function(_0x693cb9){return _0x693cb9();},'PHpTy':function(_0x165acc,_0x3e0fac){return _0x165acc(_0x3e0fac);},'TqNqs':function(_0x3a4805,_0x49e758){return _0x3a4805(_0x49e758);},'utnUE':_0x5bb082(0xf8),'kYhHZ':_0x5bb082(0x110)},_0x37869e=!helper[_0x5bb082(0xeb)](_0x44735a[_0x5bb082(0x139)]),_0x219c25=_0x37869e?path[_0x5bb082(0xd0)](process['cwd'](),_0x44735a[_0x5bb082(0x139)]):process[_0x5bb082(0x105)](),{resolveConfigFile:_0x609d1e,resolveConfigLocation:_0x1943cc}=helper[_0x5bb082(0xc7)][_0x5bb082(0xf6)](null,_0x1aadca[_0x5bb082(0x12d)](getConfigLoaderPath)),_0x3ab995=_0x609d1e?_0x1aadca['PHpTy'](_0x609d1e,_0x219c25):helper[_0x5bb082(0xf0)](_0x1aadca[_0x5bb082(0xd8)](_0x1943cc,_0x219c25),[_0x1aadca['utnUE']]),_0xb655a8={};if(_0x37869e){const _0x119c68=_0x35eefd['findIndex'](_0x2b0259=>_0x2b0259===_0x5bb082(0xf7)||_0x2b0259==='-c'||_0x2b0259[_0x5bb082(0xe7)]('--config='));_0x35eefd[_0x5bb082(0xce)](_0x119c68,_0x35eefd[_0x119c68]['startsWith'](_0x1aadca[_0x5bb082(0xca)])?0x1:0x2);}const _0x2499f1={};return _0x2499f1[_0x5bb082(0xed)]=_0x3ab995,_0x2499f1[_0x5bb082(0x139)]=_0xb655a8,_0x2499f1;},handleO11yRerun=_0xc31d25=>{const _0x573a79=a35_0x58d052,_0xf027a={};_0xf027a[_0x573a79(0x14f)]=_0x573a79(0x14b);const _0x450882=_0xf027a,_0x489484=helper[_0x573a79(0xfd)](process['env'][_0x573a79(0x15b)]);if(_0x489484){const _0x9a392e=process[_0x573a79(0x150)][_0x573a79(0xfc)],_0x1420f6=[];if(helper['validateRerunTestList'](_0x9a392e)&&!helper[_0x573a79(0xeb)](_0x9a392e)){_0x9a392e[_0x573a79(0x12a)](',')[_0x573a79(0xc8)](_0x2e5159=>{const _0x1ea4b9=_0x573a79;_0x1420f6['push']('('+_0x2e5159[_0x1ea4b9(0x130)]()+')');});const _0x5e503e='^'+_0x1420f6[_0x573a79(0xe3)]('|')+'$';_0xc31d25[_0x573a79(0x13e)](_0x450882['pKHdv'],_0x5e503e);}}},spawnOriginalProcess=_0x33774f=>{const _0x2d3215=a35_0x58d052,_0x26463a={'XMkLt':function(_0x46dfc9,_0xcdef72,_0x13890e,_0x239b3f){return _0x46dfc9(_0xcdef72,_0x13890e,_0x239b3f);},'twWhr':_0x2d3215(0xd9),'VsCrL':_0x2d3215(0x135),'lcPrc':function(_0x1181f7,_0x549038){return _0x1181f7===_0x549038;},'NdFvT':_0x2d3215(0x108),'POcZv':_0x2d3215(0x14c)};_0x26463a['XMkLt'](spawn,_0x26463a['twWhr'],[_0x26463a[_0x2d3215(0xe9)],..._0x33774f['slice'](0x1)],{'shell':_0x26463a[_0x2d3215(0xd4)](process['platform'],_0x26463a[_0x2d3215(0xfb)]),'stdio':_0x26463a[_0x2d3215(0x158)],'cwd':process[_0x2d3215(0x105)]()});},isTestCommand=(_0x23d254,_0x4dc164)=>{const _0x4bd11f=a35_0x58d052,_0x34e66f={};_0x34e66f[_0x4bd11f(0x148)]=function(_0x3bd9e2,_0x3f72d0){return _0x3bd9e2>_0x3f72d0;},_0x34e66f[_0x4bd11f(0x153)]=function(_0x43d620,_0x566beb){return _0x43d620===_0x566beb;},_0x34e66f[_0x4bd11f(0xd6)]=_0x4bd11f(0xdf);const _0x44465a=_0x34e66f;if(_0x44465a[_0x4bd11f(0x148)](_0x4dc164[_0x4bd11f(0xe1)],0x1)&&_0x44465a[_0x4bd11f(0x153)](_0x4dc164[0x1],_0x44465a[_0x4bd11f(0xd6)]))return!![];return![];};async function run(_0x15c288,_0x32d090,_0x2e32bd){const _0x341ffe=a35_0x58d052,_0x5010d5={'AVtQK':_0x341ffe(0xf2),'sXijE':_0x341ffe(0x14d),'UPTvl':function(_0x55dc66,_0x41cad5){return _0x55dc66+_0x41cad5;},'nDlXk':_0x341ffe(0x15c),'oUUSn':function(_0x3639a1){return _0x3639a1();},'mYGee':function(_0x20d5b7){return _0x20d5b7();},'YJaOa':function(_0x54f9cc,_0x565de8){return _0x54f9cc+_0x565de8;},'UOejf':'Error\x20in\x20closing\x20playwright','gSpMV':function(_0x8b428,_0x35f2c4){return _0x8b428(_0x35f2c4);},'SlHfp':_0x341ffe(0xd2),'DEwxx':_0x341ffe(0x13c),'uccPw':function(_0x1a4798,_0x339d4e){return _0x1a4798!=_0x339d4e;},'XEhGq':function(_0x3982f3,_0x264070,_0x987321){return _0x3982f3(_0x264070,_0x987321);},'cPfzl':function(_0x64bf5,_0x1b1e4a){return _0x64bf5===_0x1b1e4a;},'SiCXD':'true','exLJg':function(_0x379291,_0x43e632){return _0x379291(_0x43e632);},'RHLYi':function(_0x4eb0ab,_0x230c52){return _0x4eb0ab(_0x230c52);},'NRpKu':_0x341ffe(0xcd),'mIjJJ':_0x341ffe(0x106),'pBIXw':_0x341ffe(0x11c),'qxVvM':function(_0xd93251,_0x40ddf4){return _0xd93251-_0x40ddf4;},'byKRD':function(_0x3edf4e,_0x20e5d0){return _0x3edf4e+_0x20e5d0;},'HRKyV':_0x341ffe(0xef),'fgUMQ':function(_0x5e80e3,_0x557071){return _0x5e80e3>_0x557071;},'UEags':function(_0x2f2170,_0x26c577,_0x31d3d7,_0x300787){return _0x2f2170(_0x26c577,_0x31d3d7,_0x300787);},'njWiP':'npx','kaDlX':_0x341ffe(0x135),'gAUqo':_0x341ffe(0xdf),'cuBRZ':_0x341ffe(0xf7),'HweCj':'win32','Dscat':_0x341ffe(0x14c),'NxziX':_0x341ffe(0xcc),'aLmvz':function(_0xabab32,_0xd35d2f){return _0xabab32+_0xd35d2f;},'tuvVA':_0x341ffe(0x115),'najNg':function(_0x2063d5,_0x3ba8d8,_0x182f99){return _0x2063d5(_0x3ba8d8,_0x182f99);},'XFajw':function(_0x2ff167,_0x345d75){return _0x2ff167(_0x345d75);}};try{const _0x54167e=path[_0x341ffe(0xe3)](helper['homedir'](),_0x5010d5[_0x341ffe(0x132)],_0x5010d5[_0x341ffe(0x118)]);fs[_0x341ffe(0x126)](_0x54167e)&&fs['unlinkSync'](_0x54167e);}catch(_0x1bdf22){logger[_0x341ffe(0x13f)](_0x5010d5[_0x341ffe(0x11e)](_0x5010d5[_0x341ffe(0x133)],_0x1bdf22));}if(!_0x5010d5[_0x341ffe(0x14e)](isTestCommand,_0x15c288,_0x32d090)){_0x5010d5[_0x341ffe(0x138)](spawnOriginalProcess,_0x32d090);return;}await PerformanceTester[_0x341ffe(0x134)](PerformanceEvents[_0x341ffe(0xea)],async()=>{const _0xf647bd=_0x341ffe,_0x5989f={'TpTEV':function(_0x54a411,_0x7af2){return _0x5010d5['gSpMV'](_0x54a411,_0x7af2);}};if(!_0x2e32bd[_0xf647bd(0x139)]){logger['error'](_0x5010d5[_0xf647bd(0xd1)]);return;}await _0x2e32bd[_0xf647bd(0xe4)](_0x15c288);!helper[_0xf647bd(0xeb)](_0x2e32bd[_0xf647bd(0xff)])&&_0x2e32bd[_0xf647bd(0xff)][_0xf647bd(0x123)](_0x5010d5[_0xf647bd(0x112)])&&(process[_0xf647bd(0x150)][_0xf647bd(0x101)]=_0x2e32bd[_0xf647bd(0xff)][_0xf647bd(0x141)](_0x5010d5['DEwxx'])||!![]);_0x5010d5['uccPw'](_0x2e32bd[_0xf647bd(0x139)][_0xf647bd(0x117)],null)&&!helper[_0xf647bd(0xfd)](process[_0xf647bd(0x150)][_0xf647bd(0xe5)])&&(process[_0xf647bd(0x150)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0xf647bd(0x150)][_0xf647bd(0xe5)]||_0x2e32bd['config']['testObservability']);const _0x2bbd00=!helper[_0xf647bd(0x10c)](process[_0xf647bd(0x150)][_0xf647bd(0xe5)]);_0x2e32bd[_0xf647bd(0x139)][_0xf647bd(0xd7)]&&(process[_0xf647bd(0x150)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xf647bd(0x127)](_0x2e32bd['config'][_0xf647bd(0xd7)]));await PerformanceTester[_0xf647bd(0x134)](PerformanceEvents[_0xf647bd(0xcb)],async()=>{const _0x43ae59=_0xf647bd;await TestHubHandler[_0x43ae59(0x13b)](FRAMEWORKS[_0x43ae59(0x151)],_0x2e32bd),_0x2bbd00&&_0x5989f['TpTEV'](handleO11yRerun,_0x32d090);})();let _0x496bb1=![];_0x2e32bd[_0xf647bd(0x139)][_0xf647bd(0xf9)]&&(_0x496bb1=!![],process[_0xf647bd(0x150)][_0xf647bd(0x136)]=_0x2e32bd['config']['accessibility']);const _0x4f89a6=_0x32d090[_0xf647bd(0x145)](),_0x18ce78=await _0x5010d5[_0xf647bd(0x15a)](getUserPlaywrightConfig,_0x15c288,_0x32d090);if(helper[_0xf647bd(0xeb)](_0x18ce78)){_0x5010d5[_0xf647bd(0x14a)](spawnOriginalProcess,_0x4f89a6);return;}const _0x4243fa=_0x18ce78[_0xf647bd(0xed)]?path[_0xf647bd(0x11a)](_0x18ce78['path']):process[_0xf647bd(0x105)]();process[_0xf647bd(0x150)][_0xf647bd(0x157)]=_0x4243fa;let _0x10ae98=_0x5010d5[_0xf647bd(0x104)](process[_0xf647bd(0x150)][_0xf647bd(0x136)],_0x5010d5[_0xf647bd(0xf3)]);_0x10ae98=_0x10ae98||_0x5010d5[_0xf647bd(0xe2)](checkAccessibilityPlatformConfig,_0x2e32bd['config']),process[_0xf647bd(0x150)][_0xf647bd(0x136)]=_0x10ae98;_0x10ae98&&_0x5010d5['RHLYi'](setAccessibilityCapabilities,_0x2e32bd[_0xf647bd(0x139)]);const _0x277cb2=path['join'](_0x18ce78[_0xf647bd(0xed)]?path[_0xf647bd(0x11a)](_0x18ce78[_0xf647bd(0xed)]):process[_0xf647bd(0x105)](),_0x5010d5['NRpKu']);fs[_0xf647bd(0x15e)](_0x277cb2,helper[_0xf647bd(0x156)](_0x2e32bd[_0xf647bd(0x139)])),process[_0xf647bd(0x150)][_0xf647bd(0x11f)]=_0x277cb2,helper[_0xf647bd(0x11d)]();let _0x121195='';_0x5010d5[_0xf647bd(0x104)](helper['getPackageType'](),constants['PACKAGE_TYPE']['MODULE'])?_0x121195=_0x5010d5[_0xf647bd(0x122)]:_0x121195=_0x5010d5[_0xf647bd(0x107)];let _0x60ba82='';if(helper[_0xf647bd(0x142)](_0x18ce78[_0xf647bd(0xed)])){_0x60ba82=_0xf647bd(0xf4);const _0x59ec31=_0x121195[_0xf647bd(0x12a)]('.');_0x59ec31[_0x5010d5[_0xf647bd(0xda)](_0x59ec31[_0xf647bd(0xe1)],0x1)]='ts',_0x121195=_0x59ec31[_0xf647bd(0xe3)]('.'),logger['debug'](_0x5010d5['byKRD'](_0x5010d5[_0xf647bd(0xde)],_0x121195));}else _0x60ba82='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x110988=path['join'](_0x18ce78[_0xf647bd(0xed)]?path[_0xf647bd(0x11a)](_0x18ce78[_0xf647bd(0xed)]):process[_0xf647bd(0x105)](),_0x121195);let _0x54d5c1=_0x18ce78[_0xf647bd(0xed)]?_0x18ce78['path']:'';_0x54d5c1=_0x5010d5[_0xf647bd(0xc6)](_0x54d5c1[_0xf647bd(0xe1)],0x0)?path[_0xf647bd(0xd0)](_0x54d5c1):'',process[_0xf647bd(0x150)]['USER_CONFIG_DETAILS_PATH']=_0x54d5c1;const _0x51de55=helper['getProxyUrl'](_0x2e32bd[_0xf647bd(0x139)]);_0x51de55&&(_0x60ba82=_0x5010d5[_0xf647bd(0x12c)](_0xf647bd(0x146)+_0x51de55+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0x60ba82));helper['filterBrowserstackArgs']({},_0x32d090),fs[_0xf647bd(0x15e)](_0x110988,_0x60ba82),PerformanceTester[_0xf647bd(0x12b)](PerformanceEvents['SDK_SETUP']);const _0x20e931=_0x5010d5['UEags'](spawn,_0x5010d5[_0xf647bd(0x103)],[_0x5010d5[_0xf647bd(0x149)],_0x5010d5[_0xf647bd(0x120)],_0x5010d5['cuBRZ'],_0x110988,..._0x32d090[_0xf647bd(0x15d)](0x2)],{'shell':_0x5010d5[_0xf647bd(0x104)](process[_0xf647bd(0x10f)],_0x5010d5[_0xf647bd(0x155)]),'stdio':_0x5010d5[_0xf647bd(0x125)],'cwd':process['cwd'](),'env':Object[_0xf647bd(0x131)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xf647bd(0xdd)](_0x15c288),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x2e32bd[_0xf647bd(0x139)][_0xf647bd(0x114)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x2e32bd[_0xf647bd(0x139)][_0xf647bd(0x114)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x2e32bd[_0xf647bd(0x139)]['logLevel']})}),_0x7cffd5=()=>{const _0x5782bf=_0xf647bd;try{const _0x46baeb=path[_0x5782bf(0xe3)](helper['homedir'](),_0x5010d5[_0x5782bf(0x132)],_0x5010d5[_0x5782bf(0x118)]);if(fs[_0x5782bf(0x126)](_0x46baeb)){let _0x1d7c68=fs[_0x5782bf(0x144)](_0x46baeb);_0x1d7c68=JSON['parse'](_0x1d7c68),_0x2e32bd['errorMessage']=_0x1d7c68,fs[_0x5782bf(0xec)](_0x46baeb);}}catch(_0x280386){logger[_0x5782bf(0x13f)](_0x5010d5[_0x5782bf(0xd5)](_0x5010d5[_0x5782bf(0x15f)],_0x280386));}};_0x20e931['on'](_0x5010d5[_0xf647bd(0xd3)],async _0x1a0e0e=>{const _0x49e9e4=_0xf647bd,_0x337453={};_0x337453[_0x49e9e4(0x113)]=_0x5010d5[_0x49e9e4(0x132)];const _0x7ea02c=_0x337453;try{PerformanceTester[_0x49e9e4(0xcf)](PerformanceEvents[_0x49e9e4(0x10d)]),_0x5010d5[_0x49e9e4(0x100)](_0x7cffd5),await TestHubHandler[_0x49e9e4(0x10b)](),TestDetails[_0x49e9e4(0xee)](),_0x5010d5[_0x49e9e4(0xdb)](printBuildLink),await utilities['finalExecution'](_0x2e32bd),process[_0x49e9e4(0x12e)]=_0x1a0e0e,logger[_0x49e9e4(0x13f)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x1a0e0e),logger[_0x49e9e4(0xe8)](_0x49e9e4(0x116)+_0x110988),fs[_0x49e9e4(0xec)](_0x110988);fs[_0x49e9e4(0x126)](_0x277cb2)&&(logger[_0x49e9e4(0x13f)]('Deleting\x20'+_0x277cb2),fs['unlinkSync'](_0x277cb2));const _0x427d4e=fs['readdirSync'](path[_0x49e9e4(0xe3)](helper['homedir'](),_0x5010d5[_0x49e9e4(0x132)]))[_0x49e9e4(0x140)](_0x560d8d=>_0x560d8d[_0x49e9e4(0xe7)]('trace_'));_0x427d4e['forEach'](_0x15bc5e=>{const _0x4c6924=_0x49e9e4;fs['unlinkSync'](path['join'](helper[_0x4c6924(0x124)](),_0x7ea02c[_0x4c6924(0x113)],_0x15bc5e));});}catch(_0x4b622e){logger['debug'](_0x5010d5[_0x49e9e4(0x111)](_0x5010d5[_0x49e9e4(0x154)],_0x4b622e));}});})();}function a35_0x4a4a(_0xab966,_0xb45ddd){const _0x2d7e13=a35_0x2d7e();return a35_0x4a4a=function(_0x4a4a25,_0x5f3e5f){_0x4a4a25=_0x4a4a25-0xc6;let _0x131568=_0x2d7e13[_0x4a4a25];return _0x131568;},a35_0x4a4a(_0xab966,_0xb45ddd);}function a35_0x2d7e(){const _0x273138=['./reporter/test-details','dirname','266676HeLxwW','playwright-browserstack-sdk.config.js','clearTempPWConfig','aLmvz','BROWSERSTACK_SETUP_CONFIG_PATH','gAUqo','16309860glDQWA','mIjJJ','has','homedir','Dscat','existsSync','stringify','1270486eLXnYJ','../../helpers/accessibility-automation/helper','split','end','byKRD','tZAwc','exitCode','../../helpers/logger','trim','assign','AVtQK','tuvVA','measureWrapper','playwright','BROWSERSTACK_TEST_ACCESSIBILITY_YML','util','XFajw','config','288287vPKcLm','launchBuild','automation','EVENTS','push','debug','filter','get','isTypescriptProject','20loqHBp','readFileSync','concat','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','../../helpers/performance/constants','GtxHm','kaDlX','gSpMV','--grep','inherit','pw_result.json','najNg','pKHdv','env','PLAYWRIGHT','200529jLrMBm','ecczI','UOejf','HweCj','serializeToYamlString','BROWSERSTACK_PW_CONFIG_DIR','POcZv','5220160HQrUls','XEhGq','BROWSERSTACK_RERUN','Error\x20in\x20getting\x20funnel\x20data\x20results','slice','writeFileSync','nDlXk','fgUMQ','requirePWModule','map','8GfduxQ','kYhHZ','SDK_POST_INITIALIZE','close','browserstackSetupConfig.json','splice','start','resolve','SlHfp','BrowserStack\x20config\x20file\x20not\x20found.','NxziX','lcPrc','UPTvl','YAGHE','accessibilityOptions','TqNqs','npx','qxVvM','mYGee','./accessibility-helper','getConfigPath','HRKyV','test','../../helpers/utilities','length','exLJg','join','initialize','BROWSERSTACK_TEST_OBSERVABILITY','45092EnEMbp','startsWith','info','VsCrL','SDK_PRE_INITIALIZE','isUndefined','unlinkSync','path','shutdown','Updated\x20config\x20file\x20name\x20to\x20-\x20','nestedKeyValue','2QWdmSC','.browserstack','SiCXD','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','../../helpers/test-observability/utils','apply','--config','resolvedConfigFile','accessibility','../../helpers/performance/performance-tester','NdFvT','BROWSERSTACK_RERUN_TESTS','isTrue','../../helpers/BrowserStackSetup','cliConfig','oUUSn','BROWSERSTACK_AUTOMATION','../utils/constants','njWiP','cPfzl','cwd','playwright-browserstack-sdk.config.cjs','pBIXw','win32','117IuuMRk','180ERngVt','stop','isFalse','SDK_CLEANUP','./reporter/pwUtils','platform','--config=','YJaOa','DEwxx','ArBBs','testContextOptions','Error\x20in\x20deleting\x20playwright\x20results','Deleting\x20','testObservability','sXijE'];a35_0x2d7e=function(){return _0x273138;};return a35_0x2d7e();}module['exports']=run;
@@ -1 +1 @@
1
- const a36_0x1f19f1=a36_0x1391;(function(_0x42845a,_0x319380){const _0x10ab7c=a36_0x1391,_0x4c2fb9=_0x42845a();while(!![]){try{const _0x5a82d7=-parseInt(_0x10ab7c(0xc1))/0x1+-parseInt(_0x10ab7c(0xd8))/0x2+parseInt(_0x10ab7c(0xc2))/0x3*(-parseInt(_0x10ab7c(0xe5))/0x4)+-parseInt(_0x10ab7c(0xcc))/0x5*(-parseInt(_0x10ab7c(0xe2))/0x6)+parseInt(_0x10ab7c(0xe3))/0x7+-parseInt(_0x10ab7c(0xe0))/0x8+parseInt(_0x10ab7c(0xca))/0x9;if(_0x5a82d7===_0x319380)break;else _0x4c2fb9['push'](_0x4c2fb9['shift']());}catch(_0x4a55e5){_0x4c2fb9['push'](_0x4c2fb9['shift']());}}}(a36_0x3bd5,0x6d0c1));function a36_0x1391(_0x66df9,_0x5ef979){const _0x3bd578=a36_0x3bd5();return a36_0x1391=function(_0x13915e,_0xdd9d61){_0x13915e=_0x13915e-0xba;let _0xefb1d=_0x3bd578[_0x13915e];return _0xefb1d;},a36_0x1391(_0x66df9,_0x5ef979);}const util=require(a36_0x1f19f1(0xc6)),child_process=require(a36_0x1f19f1(0xdf)),{FRAMEWORKS}=require(a36_0x1f19f1(0xd6)),{getFrameworkVersion,debug}=require(a36_0x1f19f1(0xdb)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x1f19f1(0xc9)),{mockIsWorkerRedundant}=require(a36_0x1f19f1(0xdc)),logger=require(a36_0x1f19f1(0xbe))[a36_0x1f19f1(0xbc)];module['exports']=async function(_0x5b1379){const _0x108e24=a36_0x1f19f1,_0x295150={'wABqz':function(_0x594acf,_0x5592d2){return _0x594acf(_0x5592d2);},'esBrX':function(_0x58ab43){return _0x58ab43();},'lrYtc':_0x108e24(0xc4),'NKUXi':function(_0x1a7a86){return _0x1a7a86();},'tpUEm':function(_0x2ca8a9){return _0x2ca8a9();},'YECcX':function(_0x59c3cd,_0x2475c8){return _0x59c3cd(_0x2475c8);},'QJVmZ':'Running\x20existing\x20global\x20setup','uIrSv':function(_0x1b902b){return _0x1b902b();},'qqdIb':function(_0x421675,_0x262edd){return _0x421675(_0x262edd);},'umuGc':function(_0x506a6c,_0x2da63a){return _0x506a6c>=_0x2da63a;},'fvcyM':_0x108e24(0xbb),'rznUi':function(_0x548ae2,_0x1dff3a,_0x59ac38){return _0x548ae2(_0x1dff3a,_0x59ac38);},'UCisZ':function(_0x16aac0,_0x3d8d15){return _0x16aac0!==_0x3d8d15;},'mtvRU':'function','zHwWN':_0x108e24(0xcf)},_0xb48420=child_process['fork'];if(helper['isHandlePWErrorSet']())try{_0x295150[_0x108e24(0xce)](mockIsWorkerRedundant);}catch(_0x2715c9){logger[_0x108e24(0xda)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util['format'](_0x2715c9));}child_process[_0x108e24(0xcb)]=function(){const _0x32a765=_0x108e24;return _0x295150[_0x32a765(0xc8)](debug,_0x32a765(0xc3)+arguments[0x0]),arguments[0x0]['includes'](_0x295150[_0x32a765(0xd1)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x295150[_0x32a765(0xd0)]):logger['error'](_0x32a765(0xba)+_0x295150[_0x32a765(0xcd)](getForkProcessPath)+_0x32a765(0xc0)),_0xb48420[_0x32a765(0xd3)](null,arguments);};if(process[_0x108e24(0xd7)][_0x108e24(0xe4)]){_0x295150[_0x108e24(0xd5)](debug,_0x295150[_0x108e24(0xe1)]);try{const {loadGlobalHook:_0x35c9f7}=helper[_0x108e24(0xdd)][_0x108e24(0xd3)](null,_0x295150[_0x108e24(0xde)](getLoadUtilsPath)),_0x12eb2c=_0x295150['qqdIb'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x22165f=_0x5b1379;if(_0x295150[_0x108e24(0xbf)](helper[_0x108e24(0xd9)](_0x12eb2c,_0x295150[_0x108e24(0xc7)]),0x0)){const _0x1f38a6={};_0x1f38a6['config']=_0x5b1379,_0x22165f=_0x1f38a6;}const _0x5b144b=await _0x295150[_0x108e24(0xd2)](_0x35c9f7,_0x22165f,process[_0x108e24(0xd7)][_0x108e24(0xe4)]);if(_0x295150['UCisZ'](typeof _0x5b144b,_0x295150[_0x108e24(0xbd)]))throw new Error(_0x295150[_0x108e24(0xd4)]);return _0x5b144b['apply'](null,arguments);}catch(_0x418cc8){_0x295150[_0x108e24(0xc8)](debug,_0x108e24(0xc5)+_0x418cc8['toString']());}}};function a36_0x3bd5(){const _0xcb10ee=['lrYtc','esBrX','rznUi','apply','zHwWN','YECcX','../../helpers/test-observability/constants','env','1246262rwwlvG','compareVersions','debug','../../helpers/test-observability/utils','./patches','requirePWModule','uIrSv','child_process','608648jdulnV','QJVmZ','1509744TYMTCp','4196493CLlksJ','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','4652MHprUF','Path\x20','1.33.0','winstonLogger','mtvRU','../../helpers/logger','umuGc','\x20is\x20not\x20found','328501rbDsNr','528XRcWrf','Call\x20to\x20child\x20fork\x20with\x20args\x20','./mock-process.js','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','util','fvcyM','wABqz','./reporter/pwUtils','7451415YOYSjI','fork','5QUZgKb','NKUXi','tpUEm','Not\x20able\x20to\x20import\x20globalSetup'];a36_0x3bd5=function(){return _0xcb10ee;};return a36_0x3bd5();}
1
+ function a36_0x3173(_0x316113,_0x19f55e){const _0x14d41f=a36_0x14d4();return a36_0x3173=function(_0x3173c4,_0x2ece76){_0x3173c4=_0x3173c4-0x13d;let _0x22f2f7=_0x14d41f[_0x3173c4];return _0x22f2f7;},a36_0x3173(_0x316113,_0x19f55e);}const a36_0x2aeb40=a36_0x3173;(function(_0x2c9c42,_0x548d60){const _0x57ba95=a36_0x3173,_0x3bbf0b=_0x2c9c42();while(!![]){try{const _0x55d7eb=-parseInt(_0x57ba95(0x152))/0x1*(-parseInt(_0x57ba95(0x15c))/0x2)+parseInt(_0x57ba95(0x140))/0x3*(parseInt(_0x57ba95(0x16f))/0x4)+-parseInt(_0x57ba95(0x14d))/0x5+parseInt(_0x57ba95(0x155))/0x6+-parseInt(_0x57ba95(0x13f))/0x7*(-parseInt(_0x57ba95(0x15d))/0x8)+parseInt(_0x57ba95(0x16b))/0x9+-parseInt(_0x57ba95(0x165))/0xa;if(_0x55d7eb===_0x548d60)break;else _0x3bbf0b['push'](_0x3bbf0b['shift']());}catch(_0x180bb1){_0x3bbf0b['push'](_0x3bbf0b['shift']());}}}(a36_0x14d4,0xa3df0));const util=require(a36_0x2aeb40(0x141)),child_process=require(a36_0x2aeb40(0x144)),{FRAMEWORKS}=require(a36_0x2aeb40(0x153)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x2aeb40(0x159)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a36_0x2aeb40(0x143)),logger=require(a36_0x2aeb40(0x167))[a36_0x2aeb40(0x15b)];module[a36_0x2aeb40(0x13d)]=async function(_0x578f27){const _0x112ec9=a36_0x2aeb40,_0x3591d9={'GSCxe':function(_0x3371be,_0x4de18c){return _0x3371be(_0x4de18c);},'OZqgi':function(_0x3ca4ae){return _0x3ca4ae();},'kEFtf':_0x112ec9(0x168),'qfyIL':function(_0xf30563){return _0xf30563();},'AJFLP':function(_0x276470,_0xdd06f0){return _0x276470(_0xdd06f0);},'QcXHq':_0x112ec9(0x156),'fLgta':function(_0x157a7d){return _0x157a7d();},'ehedW':function(_0x1aa401,_0x1e7a9d){return _0x1aa401(_0x1e7a9d);},'egqQv':function(_0x5db30e,_0x59ffd9){return _0x5db30e>=_0x59ffd9;},'eLmaj':_0x112ec9(0x16d),'SEEgF':function(_0x4e310c,_0x2ea30b,_0x46badf){return _0x4e310c(_0x2ea30b,_0x46badf);},'tjdLI':function(_0x4ca112,_0x2a405b){return _0x4ca112!==_0x2a405b;},'RtvZQ':'function','PuJjX':_0x112ec9(0x14a),'YRLXU':function(_0x3f5dea,_0xf0b54){return _0x3f5dea(_0xf0b54);}},_0x4e41f3=child_process[_0x112ec9(0x13e)];if(helper[_0x112ec9(0x14e)]())try{_0x3591d9['qfyIL'](mockIsWorkerRedundant);}catch(_0x248367){logger[_0x112ec9(0x166)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util['format'](_0x248367));}child_process[_0x112ec9(0x13e)]=function(){const _0x2c4cce=_0x112ec9;return _0x3591d9['GSCxe'](debug,_0x2c4cce(0x164)+arguments[0x0]),arguments[0x0]['includes'](_0x3591d9[_0x2c4cce(0x158)](getForkProcessPath))?arguments[0x0]=require[_0x2c4cce(0x145)](_0x3591d9[_0x2c4cce(0x146)]):logger[_0x2c4cce(0x14c)](_0x2c4cce(0x150)+_0x3591d9[_0x2c4cce(0x14b)](getForkProcessPath)+_0x2c4cce(0x16c)),_0x4e41f3[_0x2c4cce(0x160)](null,arguments);};if(process[_0x112ec9(0x14f)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x3591d9['AJFLP'](debug,_0x3591d9[_0x112ec9(0x161)]);try{const {loadGlobalHook:_0x234974}=helper[_0x112ec9(0x16a)][_0x112ec9(0x160)](null,_0x3591d9[_0x112ec9(0x15a)](getLoadUtilsPath)),_0x487c68=_0x3591d9[_0x112ec9(0x154)](getFrameworkVersion,FRAMEWORKS[_0x112ec9(0x15f)]);let _0x3c361c=_0x578f27;if(_0x3591d9[_0x112ec9(0x15e)](helper[_0x112ec9(0x16e)](_0x487c68,_0x3591d9[_0x112ec9(0x151)]),0x0)){const _0x327455={};_0x327455[_0x112ec9(0x169)]=_0x578f27,_0x3c361c=_0x327455;}const _0x4f1efb=await _0x3591d9[_0x112ec9(0x148)](_0x234974,_0x3c361c,process[_0x112ec9(0x14f)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x3591d9[_0x112ec9(0x162)](typeof _0x4f1efb,_0x3591d9[_0x112ec9(0x142)]))throw new Error(_0x3591d9[_0x112ec9(0x157)]);return _0x4f1efb[_0x112ec9(0x160)](null,arguments);}catch(_0x37b764){_0x3591d9[_0x112ec9(0x147)](debug,_0x112ec9(0x163)+_0x37b764[_0x112ec9(0x149)]());}}};function a36_0x14d4(){const _0x4484e0=['1.33.0','compareVersions','2616PLxGyD','exports','fork','7YuvGQm','4893KRcNQr','util','RtvZQ','./patches','child_process','resolve','kEFtf','YRLXU','SEEgF','toString','Not\x20able\x20to\x20import\x20globalSetup','qfyIL','error','1393185sjtsLB','isHandlePWErrorSet','env','Path\x20','eLmaj','31IcZpDI','../../helpers/test-observability/constants','ehedW','6678024VUYjYI','Running\x20existing\x20global\x20setup','PuJjX','OZqgi','../../helpers/helper','fLgta','winstonLogger','42760YiAzsJ','8671592tLJXdL','egqQv','PLAYWRIGHT','apply','QcXHq','tjdLI','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','Call\x20to\x20child\x20fork\x20with\x20args\x20','36796520ecaTLi','debug','../../helpers/logger','./mock-process.js','config','requirePWModule','6327882unmMgN','\x20is\x20not\x20found'];a36_0x14d4=function(){return _0x4484e0;};return a36_0x14d4();}