browserstack-node-sdk 1.40.1 → 1.40.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) 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 +2 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test_before.setup.js +1 -1
  67. package/src/bin/launcher/launcher.js +1 -1
  68. package/src/bin/load/index.js +1 -1
  69. package/src/bin/load/load/index.js +46 -27
  70. package/src/bin/load/load/loadUtils.js +37 -31
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/processHelper.js +1 -1
  154. package/src/helpers/request-spy.js +1 -1
  155. package/src/helpers/setKeepAlive.js +1 -1
  156. package/src/helpers/test-observability/constants.js +1 -1
  157. package/src/helpers/test-observability/error-handler.js +1 -1
  158. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  159. package/src/helpers/test-observability/sessionHandler.js +1 -1
  160. package/src/helpers/test-observability/utils.js +1 -1
  161. package/src/helpers/test-orchestration/constants.js +1 -1
  162. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  163. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  164. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  165. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  166. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  167. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  168. package/src/helpers/testhub/constants.js +1 -1
  169. package/src/helpers/testhub/testhubHandler.js +1 -1
  170. package/src/helpers/testhub/utils.js +1 -1
  171. package/src/helpers/timeoutPromise.js +1 -1
  172. package/src/helpers/utilities.js +1 -1
  173. package/src/helpers/w3cMapping.js +1 -1
  174. package/src/hubAllocationMethods.js +1 -1
  175. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a34_0x18c9(_0x20a2d8,_0x5b4f90){const _0x7232c7=a34_0x7232();return a34_0x18c9=function(_0x18c96e,_0x339a4c){_0x18c96e=_0x18c96e-0x167;let _0x4e4a8c=_0x7232c7[_0x18c96e];return _0x4e4a8c;},a34_0x18c9(_0x20a2d8,_0x5b4f90);}const a34_0x4246a9=a34_0x18c9;(function(_0x3f8300,_0x4b8523){const _0x5eace0=a34_0x18c9,_0x4897f0=_0x3f8300();while(!![]){try{const _0x2c9797=-parseInt(_0x5eace0(0x186))/0x1+parseInt(_0x5eace0(0x1b9))/0x2+parseInt(_0x5eace0(0x1a8))/0x3*(-parseInt(_0x5eace0(0x188))/0x4)+-parseInt(_0x5eace0(0x1ab))/0x5*(parseInt(_0x5eace0(0x1ae))/0x6)+-parseInt(_0x5eace0(0x182))/0x7+-parseInt(_0x5eace0(0x17a))/0x8+parseInt(_0x5eace0(0x171))/0x9;if(_0x2c9797===_0x4b8523)break;else _0x4897f0['push'](_0x4897f0['shift']());}catch(_0x232ce3){_0x4897f0['push'](_0x4897f0['shift']());}}}(a34_0x7232,0xbec68));const {v4:uuidv4}=require(a34_0x4246a9(0x168)),{name,version}=require(a34_0x4246a9(0x1b4)),logPatcher=require(a34_0x4246a9(0x173)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a34_0x4246a9(0x183)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a34_0x4246a9(0x1a7)),{shouldProcessEventForTesthub}=require(a34_0x4246a9(0x184)),{isFunction}=require(a34_0x4246a9(0x1a5)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a34_0x7232(){const _0x3190b1=['uuid','reduce','KzVYh','substring','aFtFz','failed','lSxwR','slice','SPvek','31048884iSlTiG','getSession','../../utils/logPatcher','toJSON','pending','_beforeEach','forEach','string','nXunz','11160368CKTuuE','rtwfH','_afterEach','gIxGe','browserstack','_beforeAll','PerTx','getBrowserVersion','2344671sJGFyo','../../../helpers/test-observability/utils','../../../helpers/testhub/utils','parent','1154941eHUtlL','getPlatform','16hVeKUU','get','bs:addPlatformDetails:','getHookSkippedTests','APmoR','concat','generic','passed','nCzYv','getTestEnv','esqMZ','Sqlvk','Owuie','DtupP','kwPQZ','mapTestHooks','__cloud_provider___','getBrowserName','getCapabilities','HHewZ','getHookDetails','tWpFV','DikNt','type','_afterAll','state','YSozk','split','platformVersion','lodash','QVKBk','../../../helpers/helper','261381unuQoN','toISOString','Pedwb','2777935ObECXK','ZzvTe','markedStatus','6KLcEbW','getHooksForTest','bQaKp','hook:','suites','CSBQE','../../../../package.json','indexOf','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','sendPlatformDetails','ZlPFf','2241150NNWIPh','hookAnalyticsId','ZaWGs','aAKwp','map_','tests','AnwcR','fromEntries'];a34_0x7232=function(){return _0x3190b1;};return a34_0x7232();}patchConsoleLogger(),exports[a34_0x4246a9(0x191)]=()=>{const _0x4a6e72=a34_0x4246a9,_0x247714={'bQaKp':_0x4a6e72(0x18e),'Pedwb':function(_0x597b93){return _0x597b93();}};return{'ci':_0x247714[_0x4a6e72(0x1b0)],'key':_0x247714[_0x4a6e72(0x1aa)](uuidv4),'version':version,'collector':'js-'+name};},exports[a34_0x4246a9(0x19c)]=_0x18d61e=>{const _0x4b0c4b=a34_0x4246a9,_0x45ae0f={};_0x45ae0f[_0x4b0c4b(0x16c)]=function(_0x22ff5d,_0x30961b){return _0x22ff5d!==_0x30961b;},_0x45ae0f[_0x4b0c4b(0x1b8)]=_0x4b0c4b(0x178),_0x45ae0f[_0x4b0c4b(0x1a6)]=function(_0x1e8acb,_0x5eede6){return _0x1e8acb!==_0x5eede6;},_0x45ae0f[_0x4b0c4b(0x1bf)]=_0x4b0c4b(0x1b1),_0x45ae0f[_0x4b0c4b(0x193)]=function(_0x158a9c,_0x395035){return _0x158a9c!==_0x395035;},_0x45ae0f[_0x4b0c4b(0x1a2)]='hook';const _0x5e2ebd=_0x45ae0f;if(!_0x18d61e||_0x5e2ebd['aFtFz'](typeof _0x18d61e,_0x5e2ebd['ZlPFf']))return[null,null];if(_0x5e2ebd[_0x4b0c4b(0x1a6)](_0x18d61e[_0x4b0c4b(0x1b5)](_0x5e2ebd[_0x4b0c4b(0x1bf)]),-0x1)){const _0x38f496=_0x18d61e[_0x4b0c4b(0x1a3)](_0x5e2ebd['AnwcR']);return[_0x38f496[0x0][_0x4b0c4b(0x16f)](0x0,-0x1)['split']('\x22')[0x1],_0x38f496[0x1][_0x4b0c4b(0x16b)](0x1)];}else{if(_0x5e2ebd[_0x4b0c4b(0x193)](_0x18d61e[_0x4b0c4b(0x1b5)](_0x5e2ebd[_0x4b0c4b(0x1a2)]),-0x1)){const _0x53d112=_0x18d61e['split'](_0x5e2ebd['YSozk']);return[_0x53d112[0x0]['slice'](0x0,-0x1)[_0x4b0c4b(0x1a3)]('\x22')[0x1],_0x18d61e];}}return[null,null];},exports[a34_0x4246a9(0x1af)]=_0x4bfb5e=>{const _0x23e80d=a34_0x4246a9,_0x1a5d7f={'CSBQE':function(_0x2bc5aa,_0x5ba1e8){return _0x2bc5aa(_0x5ba1e8);},'APmoR':'_beforeAll','PerTx':'_afterAll','rtwfH':_0x23e80d(0x176),'esqMZ':_0x23e80d(0x17c)};if(!_0x4bfb5e||!_0x4bfb5e['parent'])return[];const _0x1616c8=[];return[_0x1a5d7f[_0x23e80d(0x18c)],_0x1a5d7f[_0x23e80d(0x180)],_0x1a5d7f[_0x23e80d(0x17b)],_0x1a5d7f[_0x23e80d(0x192)]][_0x23e80d(0x177)](_0x63e503=>{const _0x5b4463=_0x23e80d,_0x577ee5=_0x4bfb5e[_0x5b4463(0x185)][_0x63e503]||[];_0x577ee5[_0x5b4463(0x177)](_0x8ca322=>{const _0x57ab96=_0x5b4463;_0x8ca322[_0x57ab96(0x1ba)]&&!_0x1a5d7f[_0x57ab96(0x1b3)](isInternalHook,_0x8ca322['fn'])&&_0x1616c8['push'](_0x8ca322[_0x57ab96(0x1ba)]);});}),[..._0x1616c8,...exports[_0x23e80d(0x1af)](_0x4bfb5e[_0x23e80d(0x185)])];},exports[a34_0x4246a9(0x197)]=_0x1eb991=>{const _0x5bfee6=a34_0x4246a9,_0x1e9086={'BBNtf':function(_0x984a32){return _0x984a32();},'DtpID':function(_0x11aa2a,_0xd33f0a){return _0x11aa2a===_0xd33f0a;},'bvrsl':_0x5bfee6(0x17c),'aAKwp':_0x5bfee6(0x17f),'SPvek':_0x5bfee6(0x1a0),'nXunz':_0x5bfee6(0x176)};if(!_0x1eb991||!_0x1eb991[_0x5bfee6(0x185)])return;[_0x1e9086[_0x5bfee6(0x1bc)],_0x1e9086[_0x5bfee6(0x170)],_0x1e9086[_0x5bfee6(0x179)],_0x1e9086['bvrsl']][_0x5bfee6(0x177)](_0x1123c5=>{const _0x2e67c6=_0x5bfee6,_0xbeff11={'Owuie':function(_0x51aa3d){return _0x1e9086['BBNtf'](_0x51aa3d);},'jFQXY':function(_0x4fc406,_0x5f0dfa){return _0x1e9086['DtpID'](_0x4fc406,_0x5f0dfa);},'HHewZ':_0x1e9086['bvrsl']},_0x496176=_0x1eb991[_0x2e67c6(0x185)][_0x1123c5]||[];_0x496176[_0x2e67c6(0x177)](_0x16a60c=>{const _0x570415=_0x2e67c6;if(!_0x16a60c['hookAnalyticsId'])_0x16a60c[_0x570415(0x1ba)]=_0xbeff11[_0x570415(0x194)](uuidv4);else _0x16a60c['markedStatus']&&_0xbeff11['jFQXY'](_0x1123c5,_0xbeff11[_0x570415(0x19b)])&&(_0x16a60c[_0x570415(0x1ba)]=_0xbeff11[_0x570415(0x194)](uuidv4),delete _0x16a60c[_0x570415(0x1ad)]);});}),exports[_0x5bfee6(0x197)](_0x1eb991[_0x5bfee6(0x185)]);},exports[a34_0x4246a9(0x1b7)]=async(_0x4140e6,_0x494e7c)=>{const _0x2eb1e4=a34_0x4246a9,_0x560108={'eBYFH':function(_0x26edf1){return _0x26edf1();},'lSxwR':function(_0x57eb92,_0x3614b0){return _0x57eb92(_0x3614b0);},'kwPQZ':_0x2eb1e4(0x1a4),'hevbf':function(_0x19d226,_0x27e400){return _0x19d226===_0x27e400;},'ZaWGs':_0x2eb1e4(0x17e),'DtupP':'unknown_grid','DikNt':'TEST_PLATFORM'};try{if(!_0x560108['eBYFH'](shouldProcessEventForTesthub))return;const _0x1099e0=await _0x4140e6[_0x2eb1e4(0x19a)](),_0x49350d=await _0x4140e6[_0x2eb1e4(0x172)](),_0x3af825={},_0x5b7e43=Object[_0x2eb1e4(0x167)](_0x49350d['getCapabilities']()[_0x2eb1e4(0x1bd)]),_0x285a5f={'product':_0x560108['lSxwR'](getObservabilityLinkedProductName,_0x5b7e43),'capabilities':_0x5b7e43,'platform':_0x1099e0[_0x2eb1e4(0x187)](),'platform_version':_0x1099e0[_0x2eb1e4(0x189)](_0x560108['kwPQZ'])?_0x1099e0[_0x2eb1e4(0x189)](_0x560108[_0x2eb1e4(0x196)]):_0x560108['lSxwR'](getPlatformVersion,_0x560108['hevbf'](global[_0x2eb1e4(0x198)],_0x560108[_0x2eb1e4(0x1bb)])),'browser':_0x1099e0[_0x2eb1e4(0x199)](),'browser_version':_0x1099e0[_0x2eb1e4(0x181)](),'session_id':_0x49350d[_0x2eb1e4(0x174)]()};global[_0x2eb1e4(0x198)]?_0x3af825[global['__cloud_provider___']]=_0x285a5f:_0x3af825[_0x560108[_0x2eb1e4(0x195)]]=_0x285a5f,process['emit'](_0x2eb1e4(0x18a)+process['pid'],{'timestamp':new Date()[_0x2eb1e4(0x1a9)](),'level':null,'message':null,'kind':_0x560108[_0x2eb1e4(0x19e)],'http_response':_0x3af825,'uuid':_0x494e7c});}catch(_0x485cfa){_0x560108[_0x2eb1e4(0x16e)](debug,_0x2eb1e4(0x1b6)+_0x485cfa);}},exports[a34_0x4246a9(0x18b)]=_0x53753c=>{const _0x2ae575=a34_0x4246a9,_0x263d6c={};_0x263d6c['nCzYv']=function(_0x3a5ce9,_0x57756b){return _0x3a5ce9!==_0x57756b;},_0x263d6c[_0x2ae575(0x19d)]='hook',_0x263d6c[_0x2ae575(0x17d)]=function(_0x1534d2,_0x11e528){return _0x1534d2!==_0x11e528;},_0x263d6c['KzVYh']=_0x2ae575(0x18f),_0x263d6c['ZzvTe']=_0x2ae575(0x16d);const _0x3fe64c=_0x263d6c,_0x417a0a=_0x53753c[_0x2ae575(0x1b2)][_0x2ae575(0x169)]((_0x56e1f3,_0x13fdba)=>{const _0x34b39c=_0x2ae575,_0x18a44b=exports[_0x34b39c(0x18b)](_0x13fdba);return _0x18a44b&&(_0x56e1f3=_0x56e1f3['concat'](_0x18a44b)),_0x56e1f3;},[]),_0xf1a9d9=_0x53753c[_0x2ae575(0x1be)]['filter'](_0x457311=>{const _0x4fe27b=_0x2ae575,_0x76c2c2=_0x3fe64c[_0x4fe27b(0x190)](_0x457311[_0x4fe27b(0x19f)],_0x3fe64c['tWpFV'])&&!_0x457311[_0x4fe27b(0x1ad)]&&_0x3fe64c[_0x4fe27b(0x17d)](_0x457311[_0x4fe27b(0x1a1)],_0x3fe64c[_0x4fe27b(0x16a)])&&_0x3fe64c[_0x4fe27b(0x190)](_0x457311[_0x4fe27b(0x1a1)],_0x3fe64c[_0x4fe27b(0x1ac)])&&!_0x457311[_0x4fe27b(0x175)];return _0x76c2c2;});return _0xf1a9d9[_0x2ae575(0x18d)](_0x417a0a);};
1
+ const a34_0x43db5b=a34_0x2437;(function(_0x1598ba,_0x12b12d){const _0x42079f=a34_0x2437,_0x3db03c=_0x1598ba();while(!![]){try{const _0x581188=parseInt(_0x42079f(0x16f))/0x1*(parseInt(_0x42079f(0x187))/0x2)+parseInt(_0x42079f(0x1a9))/0x3+-parseInt(_0x42079f(0x1b6))/0x4+-parseInt(_0x42079f(0x16c))/0x5+-parseInt(_0x42079f(0x16d))/0x6+parseInt(_0x42079f(0x1a5))/0x7+parseInt(_0x42079f(0x19f))/0x8;if(_0x581188===_0x12b12d)break;else _0x3db03c['push'](_0x3db03c['shift']());}catch(_0x4d8902){_0x3db03c['push'](_0x3db03c['shift']());}}}(a34_0x2b1a,0x3c83a));function a34_0x2437(_0x38bbe3,_0x699e97){const _0x2b1aff=a34_0x2b1a();return a34_0x2437=function(_0x243779,_0x1bf335){_0x243779=_0x243779-0x162;let _0x252491=_0x2b1aff[_0x243779];return _0x252491;},a34_0x2437(_0x38bbe3,_0x699e97);}const {v4:uuidv4}=require('uuid'),{name,version}=require(a34_0x43db5b(0x17b)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a34_0x43db5b(0x1a8)),{consoleHolder}=require(a34_0x43db5b(0x19e)),{getPlatformVersion}=require(a34_0x43db5b(0x17e)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a34_0x43db5b(0x190)),{patchConsoleLogger}=require(a34_0x43db5b(0x1a8));patchConsoleLogger(),exports[a34_0x43db5b(0x162)]=()=>{const _0x1f4b98=a34_0x43db5b,_0x1de656={'XTeaB':'generic','Okdhq':function(_0xcdadd){return _0xcdadd();}};return{'ci':_0x1de656[_0x1f4b98(0x1af)],'key':_0x1de656[_0x1f4b98(0x188)](uuidv4),'version':version,'collector':_0x1f4b98(0x19b)+name};},exports[a34_0x43db5b(0x195)]=_0x3603dc=>{const _0x1a627d=a34_0x43db5b,_0x5b01bc={};_0x5b01bc[_0x1a627d(0x1b2)]=function(_0x28bb6f,_0x40d5e7){return _0x28bb6f!==_0x40d5e7;},_0x5b01bc['TotsI']=_0x1a627d(0x17a),_0x5b01bc[_0x1a627d(0x171)]='hook:',_0x5b01bc['vQLex']=_0x1a627d(0x1b7);const _0x213ea3=_0x5b01bc;if(!_0x3603dc||_0x213ea3[_0x1a627d(0x1b2)](typeof _0x3603dc,_0x213ea3[_0x1a627d(0x18d)]))return[null,null];if(_0x213ea3[_0x1a627d(0x1b2)](_0x3603dc[_0x1a627d(0x1a1)](_0x213ea3['PRElz']),-0x1)){const _0x38cbe5=_0x3603dc['split'](_0x213ea3[_0x1a627d(0x171)]);return[_0x38cbe5[0x0][_0x1a627d(0x180)](0x0,-0x1)['split']('\x22')[0x1],_0x38cbe5[0x1][_0x1a627d(0x1b3)](0x1)];}else{if(_0x213ea3[_0x1a627d(0x1b2)](_0x3603dc[_0x1a627d(0x1a1)](_0x213ea3[_0x1a627d(0x1b1)]),-0x1)){const _0x3f60a9=_0x3603dc['split'](_0x213ea3[_0x1a627d(0x1b1)]);return[_0x3f60a9[0x0]['slice'](0x0,-0x1)[_0x1a627d(0x1a4)]('\x22')[0x1],_0x3603dc];}}return[null,null];},exports[a34_0x43db5b(0x182)]=_0x117028=>{const _0x5e6ac9=a34_0x43db5b,_0x3e6796={'XVAhh':function(_0x4c4472,_0x529d37){return _0x4c4472(_0x529d37);},'CAflv':_0x5e6ac9(0x1ae),'ypEUV':'_afterAll','DgFYu':'_beforeEach','eDQvu':'_afterEach'};if(!_0x117028||!_0x117028[_0x5e6ac9(0x18f)])return[];const _0x128855=[];return[_0x3e6796[_0x5e6ac9(0x176)],_0x3e6796[_0x5e6ac9(0x178)],_0x3e6796[_0x5e6ac9(0x167)],_0x3e6796[_0x5e6ac9(0x165)]][_0x5e6ac9(0x191)](_0x3e8a36=>{const _0xbf969c=_0x5e6ac9,_0x598c7e={'fOiQv':function(_0x2dc419,_0x985fc8){return _0x3e6796['XVAhh'](_0x2dc419,_0x985fc8);}},_0x318ee7=_0x117028['parent'][_0x3e8a36]||[];_0x318ee7[_0xbf969c(0x191)](_0x425fee=>{const _0x3996db=_0xbf969c;_0x425fee[_0x3996db(0x181)]&&!_0x598c7e['fOiQv'](isInternalHook,_0x425fee['fn'])&&_0x128855[_0x3996db(0x1a2)](_0x425fee[_0x3996db(0x181)]);});}),[..._0x128855,...exports[_0x5e6ac9(0x182)](_0x117028[_0x5e6ac9(0x18f)])];},exports[a34_0x43db5b(0x17d)]=_0x1d4f94=>{const _0x6c6ed7=a34_0x43db5b,_0x1d800b={'VMgtr':function(_0x299a7f){return _0x299a7f();},'jcLlO':function(_0x25deec,_0x501bb6){return _0x25deec===_0x501bb6;},'abxLT':_0x6c6ed7(0x185),'QDAkL':function(_0x570637){return _0x570637();},'twdaZ':'_beforeAll','lFeWr':_0x6c6ed7(0x192),'tIAvn':_0x6c6ed7(0x197)};if(!_0x1d4f94||!_0x1d4f94[_0x6c6ed7(0x18f)])return;[_0x1d800b['twdaZ'],_0x1d800b[_0x6c6ed7(0x1aa)],_0x1d800b[_0x6c6ed7(0x1a0)],_0x1d800b[_0x6c6ed7(0x183)]][_0x6c6ed7(0x191)](_0x98737a=>{const _0x579860=_0x6c6ed7,_0x17e5dd=_0x1d4f94['parent'][_0x98737a]||[];_0x17e5dd[_0x579860(0x191)](_0x5b011a=>{const _0x5ab2af=_0x579860;if(!_0x5b011a['hookAnalyticsId'])_0x5b011a[_0x5ab2af(0x181)]=_0x1d800b[_0x5ab2af(0x199)](uuidv4);else _0x5b011a[_0x5ab2af(0x163)]&&_0x1d800b[_0x5ab2af(0x196)](_0x98737a,_0x1d800b['abxLT'])&&(_0x5b011a[_0x5ab2af(0x181)]=_0x1d800b[_0x5ab2af(0x170)](uuidv4),delete _0x5b011a['markedStatus']);});}),exports['mapTestHooks'](_0x1d4f94[_0x6c6ed7(0x18f)]);},exports[a34_0x43db5b(0x186)]=async(_0x4a0a18,_0x285cfb)=>{const _0x52229a=a34_0x43db5b,_0x358e23={'fqGns':function(_0x511a85){return _0x511a85();},'HKFZS':function(_0x22efea,_0x157cd2){return _0x22efea(_0x157cd2);},'DtWgP':_0x52229a(0x1a3),'QisUe':function(_0x162634,_0x35d172){return _0x162634(_0x35d172);},'BGEgB':function(_0x54084b,_0x2d8891){return _0x54084b===_0x2d8891;},'ZBoic':_0x52229a(0x179),'SzXzB':_0x52229a(0x1b5),'ugUTd':_0x52229a(0x1b0),'LFTgv':function(_0x32628e,_0x7b3fb5){return _0x32628e(_0x7b3fb5);}};try{if(!_0x358e23['fqGns'](shouldProcessEventForTesthub))return;const _0x36c694=await _0x4a0a18[_0x52229a(0x17c)](),_0x5d7126=await _0x4a0a18[_0x52229a(0x189)](),_0x5722cd={},_0x1d1ebd=Object[_0x52229a(0x19d)](_0x5d7126['getCapabilities']()[_0x52229a(0x168)]),_0x48b921={'product':_0x358e23['HKFZS'](getObservabilityLinkedProductName,_0x1d1ebd),'capabilities':_0x1d1ebd,'platform':_0x36c694[_0x52229a(0x18e)](),'platform_version':_0x36c694[_0x52229a(0x173)](_0x358e23[_0x52229a(0x169)])?_0x36c694['get'](_0x358e23['DtWgP']):_0x358e23['QisUe'](getPlatformVersion,_0x358e23['BGEgB'](global['__cloud_provider___'],_0x358e23[_0x52229a(0x174)])),'browser':_0x36c694[_0x52229a(0x177)](),'browser_version':_0x36c694[_0x52229a(0x164)](),'session_id':_0x5d7126[_0x52229a(0x172)]()};global[_0x52229a(0x18c)]?_0x5722cd[global['__cloud_provider___']]=_0x48b921:_0x5722cd[_0x358e23['SzXzB']]=_0x48b921,process['emit'](_0x52229a(0x18a)+process[_0x52229a(0x1a6)],{'timestamp':new Date()[_0x52229a(0x18b)](),'level':null,'message':null,'kind':_0x358e23[_0x52229a(0x17f)],'http_response':_0x5722cd,'uuid':_0x285cfb});}catch(_0x3de41f){_0x358e23[_0x52229a(0x16e)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x3de41f);}},exports[a34_0x43db5b(0x1ad)]=_0x54baa7=>{const _0x1dc30c=a34_0x43db5b,_0x482969={};_0x482969['coPSb']=function(_0x5b3b81,_0x14cf2d){return _0x5b3b81!==_0x14cf2d;},_0x482969[_0x1dc30c(0x1ac)]=_0x1dc30c(0x1b7),_0x482969['pOQvQ']=function(_0x170727,_0x15a8a4){return _0x170727!==_0x15a8a4;},_0x482969[_0x1dc30c(0x1ab)]=_0x1dc30c(0x16a),_0x482969[_0x1dc30c(0x16b)]=function(_0x74f6f2,_0x58067b){return _0x74f6f2!==_0x58067b;},_0x482969[_0x1dc30c(0x193)]=_0x1dc30c(0x175);const _0x249c25=_0x482969,_0x5ce71d=_0x54baa7['suites'][_0x1dc30c(0x19a)]((_0x1d72bb,_0x2f5b20)=>{const _0x55a962=_0x1dc30c,_0x136c59=exports[_0x55a962(0x1ad)](_0x2f5b20);return _0x136c59&&(_0x1d72bb=_0x1d72bb[_0x55a962(0x194)](_0x136c59)),_0x1d72bb;},[]),_0x61b5f0=_0x54baa7[_0x1dc30c(0x184)][_0x1dc30c(0x19c)](_0x23d9c9=>{const _0x2e04b9=_0x1dc30c,_0x480b30=_0x249c25[_0x2e04b9(0x166)](_0x23d9c9['type'],_0x249c25[_0x2e04b9(0x1ac)])&&!_0x23d9c9[_0x2e04b9(0x163)]&&_0x249c25[_0x2e04b9(0x1a7)](_0x23d9c9[_0x2e04b9(0x198)],_0x249c25[_0x2e04b9(0x1ab)])&&_0x249c25[_0x2e04b9(0x16b)](_0x23d9c9['state'],_0x249c25[_0x2e04b9(0x193)])&&!_0x23d9c9[_0x2e04b9(0x1b4)];return _0x480b30;});return _0x61b5f0[_0x1dc30c(0x194)](_0x5ce71d);};function a34_0x2b1a(){const _0xdcc9e4=['getHookDetails','jcLlO','_beforeEach','state','VMgtr','reduce','js-','filter','fromEntries','../../../helpers/test-observability/constants','5744896liVnmR','tIAvn','indexOf','push','platformVersion','split','1068130YKAnKb','pid','pOQvQ','../../../helpers/test-observability/utils','99267WKmKSt','lFeWr','dTOmO','nMikj','getHookSkippedTests','_beforeAll','XTeaB','TEST_PLATFORM','vQLex','lCZrC','substring','pending','unknown_grid','1687476gNEytN','hook','getTestEnv','markedStatus','getBrowserVersion','eDQvu','coPSb','DgFYu','map_','DtWgP','passed','tOwFk','2258415KEztyn','1522914Wcivwb','LFTgv','2MNCjId','QDAkL','PRElz','toJSON','get','ZBoic','failed','CAflv','getBrowserName','ypEUV','browserstack','string','../../../../package.json','getCapabilities','mapTestHooks','../../../helpers/helper','ugUTd','slice','hookAnalyticsId','getHooksForTest','abxLT','tests','_afterEach','sendPlatformDetails','471446wzNKqz','Okdhq','getSession','bs:addPlatformDetails:','toISOString','__cloud_provider___','TotsI','getPlatform','parent','lodash','forEach','_afterAll','DjMLW','concat'];a34_0x2b1a=function(){return _0xdcc9e4;};return a34_0x2b1a();}
@@ -1 +1 @@
1
- const a35_0x18c7a6=a35_0x3b60;(function(_0x3d7def,_0x44ee99){const _0x5bfd2e=a35_0x3b60,_0x3e3e67=_0x3d7def();while(!![]){try{const _0x5d406c=-parseInt(_0x5bfd2e(0x1c2))/0x1+-parseInt(_0x5bfd2e(0x1d5))/0x2*(parseInt(_0x5bfd2e(0x155))/0x3)+parseInt(_0x5bfd2e(0x1b4))/0x4*(parseInt(_0x5bfd2e(0x1ed))/0x5)+parseInt(_0x5bfd2e(0x153))/0x6*(-parseInt(_0x5bfd2e(0x1ac))/0x7)+parseInt(_0x5bfd2e(0x168))/0x8+parseInt(_0x5bfd2e(0x152))/0x9+-parseInt(_0x5bfd2e(0x1b6))/0xa;if(_0x5d406c===_0x44ee99)break;else _0x3e3e67['push'](_0x3e3e67['shift']());}catch(_0x59c510){_0x3e3e67['push'](_0x3e3e67['shift']());}}}(a35_0x51e1,0x52d3a));const util=require(a35_0x18c7a6(0x1c5)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a35_0x18c7a6(0x145)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a35_0x18c7a6(0x1ba)),{percyAutoCapture}=require(a35_0x18c7a6(0x1b1)),{sendPlatformDetails}=require(a35_0x18c7a6(0x1bb)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a35_0x18c7a6(0x1e0)),PerformanceTester=require(a35_0x18c7a6(0x19e)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a35_0x18c7a6(0x18e)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a35_0x18c7a6(0x1d8)),logger=require('../../helpers/logger')[a35_0x18c7a6(0x1c4)],{shouldProcessEventForTesthub}=require(a35_0x18c7a6(0x186)),testHubConstants=require(a35_0x18c7a6(0x1b8));function a35_0x3b60(_0x411c00,_0x2132dd){const _0x51e19b=a35_0x51e1();return a35_0x3b60=function(_0x3b604c,_0x412a6a){_0x3b604c=_0x3b604c-0x144;let _0x188298=_0x51e19b[_0x3b604c];return _0x188298;},a35_0x3b60(_0x411c00,_0x2132dd);}function a35_0x51e1(){const _0x4f783d=['PEyjT','../../helpers/testhub/constants','error','../utils/constants','./test-observability/mochaUtils','OdXSk','Automate\x20test\x20case\x20execution\x20has\x20started.','failed','Vqwtn','HmnGz','length','369732sRMVub','state','winstonLogger','util','Mocha','beforeAll','kGmdy','app','.\x20Error\x20:','UreSZ','http:','capabilities','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','startMonitoring','uvBEc','RtyWr','mUQpw','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','AEkJo','542OTFptk','WchEY','quitCount_','../../helpers/globals','dCHJd','sessionNameSet__','HUpAL','tDLwD','ZaAZO','command','RSxfR','../../helpers/helper','setGlobal','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','SESSION_STATUS','nLBpl','debug','qaKzg','env','currentTest','shouldScanTestForAccessibility','titlePath','timeout','getGlobal','1011135cgQGdm','ENV_VAR','FQqNL','join','eQUFW','YfCBj','accessibilityScanStarted','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','DOKaa','vkYNO','../../helpers/accessibility-automation/helper','now','jzTdY','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','qiQZA','lpqSI','WfPNk','Piemy','format','session_','browserstackSessionName','passed','YsWrX','4910301nICDdE','2456478fmuEaM','testAnalyticsId','4371FMxbFS','xFLua','NrFDC','DpoAc','RsKhD','jJztX','finally','thJwtToken','hRDsW','ywpOn','thBuildUuid','NaQxx','hJlvA','shift','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','dSCXo','NiKfH','end','znYUG','5334600otxqWL','afterAll','protocol','ezRad','BROWSERSTACK_TESTHUB_UUID','Izvie','isArray','message','jnMsV','Failed:\x20','yXkkB','appium:app','cVEjM','QlrXH','start','then','__sessionFailed','AvvgI','Performing\x20scan\x20before\x20saving\x20results','LqeXB','initQuit','testcase','executeAsyncScript','wjXQX','__platformCaps','__skipSessionName','cggTw','BROWSERSTACK_TESTHUB_JWT','beforeEach','mQqix','../../helpers/testhub/utils','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','\x20-\x20','__drivers','KhUxQ','info','Umbyn','sXaWx','../../helpers/performance/constants','isAccessibilityPlatform','\x22}}','afterTest','bstackA11yShouldScan','xmbdy','uGDoj','SDK_HOOK','push','percyCaptureMode','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','saveTestResults','iaHVP','browserstackTestName','SYNC','../../helpers/performance/performance-tester','asJuW','SAVE_RESULTS','zxINW','uXXcG','iSNwH','driverCleanup','PERFORM_SCAN','HCDkd','__error_messages__','err','Failed\x20to\x20store\x20session\x20name:\x20','fWqMc','https:','7hahuSL','mdEwL','measureWrapper','XgKlO','stringify','../../helpers/percy/utils','xSBCn','zZlsL','8YUIElS','rdDIy','1036180AJZxPs'];a35_0x51e1=function(){return _0x4f783d;};return a35_0x51e1();}exports['mochaHooks']={'beforeAll'(){const _0x4a0d33=a35_0x18c7a6,_0x21cbb5={'UhBhC':function(_0x114877,_0x727029,_0x5ea868,_0x1dfdba){return _0x114877(_0x727029,_0x5ea868,_0x1dfdba);},'FQqNL':_0x4a0d33(0x1be),'wjXQX':'\x20|\x20','uXXcG':function(_0x103b9c,_0x359d75,_0x255d91){return _0x103b9c(_0x359d75,_0x255d91);},'KhUxQ':_0x4a0d33(0x150),'eQUFW':function(_0x257aa4){return _0x257aa4();},'xmbdy':function(_0x21b4be,_0x310be7,_0x26c282){return _0x21b4be(_0x310be7,_0x26c282);},'hRDsW':'index','Vqwtn':_0x4a0d33(0x1c7)};PerformanceTester[_0x4a0d33(0x1cf)]();const _0x1d8971='browserstack internal helper hook';PerformanceTester[_0x4a0d33(0x1ae)](PerformanceSdkEvents[_0x4a0d33(0x195)],()=>{const _0x3fa374=_0x4a0d33,_0x1e1b26={'KkaDV':function(_0x16ad4b,_0x1b3a3b,_0x29e7e1,_0xc2bdc4){return _0x21cbb5['UhBhC'](_0x16ad4b,_0x1b3a3b,_0x29e7e1,_0xc2bdc4);},'DtawS':_0x21cbb5[_0x3fa374(0x1ef)],'asJuW':_0x21cbb5[_0x3fa374(0x17f)],'WchEY':function(_0x2d7472,_0x2d9478,_0x1b329a){const _0x56ffa8=_0x3fa374;return _0x21cbb5[_0x56ffa8(0x1a2)](_0x2d7472,_0x2d9478,_0x1b329a);},'cVEjM':_0x21cbb5[_0x3fa374(0x18a)],'lpqSI':function(_0x8cd249){const _0x1904f0=_0x3fa374;return _0x21cbb5[_0x1904f0(0x1f1)](_0x8cd249);}};global[_0x3fa374(0x1a7)]=[],global[_0x3fa374(0x178)]=![],global[_0x3fa374(0x1a4)]=async()=>{const _0x3b8b8e=_0x3fa374;let _0x3e7087=![];try{await global['__drivers'][0x0][_0x3b8b8e(0x14e)],_0x3e7087=!![],global['__sessionFailed']?await _0x1e1b26['KkaDV'](markSessionStatus,global[_0x3b8b8e(0x189)][0x0],_0x1e1b26['DtawS'],global[_0x3b8b8e(0x1a7)]['join'](_0x1e1b26[_0x3b8b8e(0x19f)])):await _0x1e1b26['WchEY'](markSessionStatus,global[_0x3b8b8e(0x189)][0x0],_0x1e1b26[_0x3b8b8e(0x174)]);}catch(_0x3b0428){logger[_0x3b8b8e(0x1e5)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x3b0428);}global['__error_messages__']=[],global[_0x3b8b8e(0x178)]=![];if(_0x3e7087)try{try{_0x1e1b26[_0x3b8b8e(0x14a)](shouldProcessEventForTesthub)&&(global[_0x3b8b8e(0x189)][0x0]&&await _0x1e1b26[_0x3b8b8e(0x1d6)](sendPlatformDetails,global[_0x3b8b8e(0x189)][0x0],this[_0x3b8b8e(0x1e8)]?this[_0x3b8b8e(0x1e8)][_0x3b8b8e(0x154)]:null));}catch(_0x460696){logger['debug'](_0x3b8b8e(0x163)+_0x460696);}await global[_0x3b8b8e(0x189)][0x0][_0x3b8b8e(0x17c)]();}catch(_0x3a6375){logger[_0x3b8b8e(0x1e5)](_0x3b8b8e(0x1ce)+_0x3a6375);}};},{'platform':_0x21cbb5[_0x4a0d33(0x193)](nestedKeyValue,global[_0x4a0d33(0x180)],[_0x21cbb5[_0x4a0d33(0x15d)]]),'hookType':_0x21cbb5[_0x4a0d33(0x1bf)]})();},'beforeEach'(_0x20febb){const _0x5d55db=a35_0x18c7a6,_0x42bb2c={'zZlsL':function(_0xe1e923,_0xc2cabf){return _0xe1e923>_0xc2cabf;},'eWUon':function(_0x5830d3,_0x5ea9f5){return _0x5830d3>_0x5ea9f5;},'tDLwD':_0x5d55db(0x188),'iaHVP':function(_0x488a9b,_0x31616a,_0x2c87c3){return _0x488a9b(_0x31616a,_0x2c87c3);},'ezRad':_0x5d55db(0x192),'YfCBj':function(_0x5d8a48){return _0x5d8a48();},'spDzl':function(_0x4e34bf,_0x3bd005){return _0x4e34bf>_0x3bd005;},'pGmED':_0x5d55db(0x18f),'UreSZ':function(_0x4b1bd7,_0x4636b0){return _0x4b1bd7===_0x4636b0;},'GhJon':_0x5d55db(0x1cc),'uGDoj':function(_0x5e75d9,_0x22a35c){return _0x5e75d9===_0x22a35c;},'jzTdY':_0x5d55db(0x1ab),'TBoiD':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','dSCXo':_0x5d55db(0x1bd),'hqgcS':_0x5d55db(0x19c),'ZaAZO':'index','kwMTY':_0x5d55db(0x184)};globals[_0x5d55db(0x1e1)](_0x42bb2c['hqgcS'],this[_0x5d55db(0x1e8)][_0x5d55db(0x1ea)]()[_0x5d55db(0x1f0)](_0x42bb2c['tDLwD'])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x5d55db(0x195)],()=>{const _0xffa239=_0x5d55db,_0x37a646={'OooWc':function(_0x4628e7,_0x1c5f58){const _0x3640c9=a35_0x3b60;return _0x42bb2c[_0x3640c9(0x1b3)](_0x4628e7,_0x1c5f58);},'VnBjQ':function(_0xbd5184,_0x2e6538){return _0x42bb2c['eWUon'](_0xbd5184,_0x2e6538);},'uvBEc':_0x42bb2c[_0xffa239(0x1dc)],'qaKzg':function(_0x4c766a,_0x41d1f8,_0x3701ab){return _0x42bb2c['iaHVP'](_0x4c766a,_0x41d1f8,_0x3701ab);},'jnMsV':_0x42bb2c[_0xffa239(0x16b)],'sXaWx':function(_0x4655f0){const _0x693d60=_0xffa239;return _0x42bb2c[_0x693d60(0x1f2)](_0x4655f0);},'AvvgI':function(_0x24b943,_0x33fbfd){return _0x42bb2c['spDzl'](_0x24b943,_0x33fbfd);},'LqeXB':_0x42bb2c['pGmED'],'NrFDC':function(_0x514897,_0x1c10e3){const _0x3c411d=_0xffa239;return _0x42bb2c[_0x3c411d(0x1cb)](_0x514897,_0x1c10e3);},'PzqzF':_0x42bb2c['GhJon'],'kGmdy':function(_0x458465,_0xfc29e1){const _0x1140fa=_0xffa239;return _0x42bb2c[_0x1140fa(0x194)](_0x458465,_0xfc29e1);},'NiKfH':_0x42bb2c[_0xffa239(0x147)],'fWqMc':_0x42bb2c['TBoiD'],'YsWrX':_0x42bb2c[_0xffa239(0x164)],'WfPNk':function(_0x5016be){const _0x4f7f39=_0xffa239;return _0x42bb2c[_0x4f7f39(0x1f2)](_0x5016be);},'dCHJd':function(_0x3833e1){return _0x42bb2c['YfCBj'](_0x3833e1);}},_0xbaa86c='browserstack internal helper hook';new Promise(async _0xe38ffa=>{const _0x509d69=_0xffa239;let _0x2e745f=!![];try{_0x37a646['OooWc'](global[_0x509d69(0x189)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x509d69(0x189)]['shift']()),_0x37a646['VnBjQ'](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x2e745f=![],await global[_0x509d69(0x1a4)]());}catch(_0x3d84e2){logger[_0x509d69(0x1e5)](_0x509d69(0x1ce)+_0x3d84e2);}try{Array[_0x509d69(0x16e)](global[_0x509d69(0x189)])&&global[_0x509d69(0x189)][0x0]&&(global[_0x509d69(0x189)][0x0]['browserstackSessionName']=this[_0x509d69(0x1e8)]['titlePath']()['join'](_0x37a646[_0x509d69(0x1d0)])),global[_0x509d69(0x14f)]=this[_0x509d69(0x1e8)]['titlePath']()['join'](_0x37a646['uvBEc']);}catch(_0x1bd1ea){logger[_0x509d69(0x1e5)](_0x509d69(0x1a9)+_0x1bd1ea);}this[_0x509d69(0x1e8)][_0x509d69(0x1e9)]=_0x37a646[_0x509d69(0x1e6)](shouldScanTestForAccessibility,this[_0x509d69(0x1e8)]['titlePath'](),!![]),globals[_0x509d69(0x1e1)](_0x37a646[_0x509d69(0x170)],this[_0x509d69(0x1e8)][_0x509d69(0x1e9)]),this[_0x509d69(0x1e8)][_0x509d69(0x1f3)]=!![];if(_0x37a646[_0x509d69(0x18d)](isAccessibilityAutomationSession)&&_0x2e745f&&Array[_0x509d69(0x16e)](global[_0x509d69(0x189)])&&_0x37a646[_0x509d69(0x179)](global['__drivers'][_0x509d69(0x1c1)],0x0)&&globals[_0x509d69(0x1ec)](_0x37a646[_0x509d69(0x17b)]))try{const _0x5120e5=await global[_0x509d69(0x189)][0x0]['session_'];if(_0x5120e5){let _0x5183dd=!![];const _0x1496c7=await global['__drivers'][0x0]['getCurrentUrl']();let _0x253666;try{_0x253666=new URL(_0x1496c7);}catch(_0x4af059){_0x5183dd=![];}_0x5183dd=_0x37a646[_0x509d69(0x157)](_0x253666[_0x509d69(0x16a)],_0x37a646['PzqzF'])||_0x37a646[_0x509d69(0x1c8)](_0x253666[_0x509d69(0x16a)],_0x37a646[_0x509d69(0x165)]),_0x5183dd&&(this['currentTest'][_0x509d69(0x1e9)]&&logger['info'](_0x37a646[_0x509d69(0x1aa)])),this[_0x509d69(0x1e8)]['accessibilityScanStarted']=this['currentTest'][_0x509d69(0x1e9)],this['currentTest'][_0x509d69(0x1e9)]&&logger[_0x509d69(0x18b)](_0x37a646[_0x509d69(0x151)]);}}catch(_0x2791b6){logger[_0x509d69(0x1b9)](_0x509d69(0x199)+util[_0x509d69(0x14d)](_0x2791b6));}_0x37a646[_0x509d69(0x14b)](_0xe38ffa);})['then'](()=>{const _0x371f6e=_0xffa239;_0x37a646[_0x371f6e(0x1d9)](_0x20febb);});},{'platform':_0x42bb2c[_0x5d55db(0x19b)](nestedKeyValue,global['__platformCaps'],[_0x42bb2c[_0x5d55db(0x1dd)]]),'hookType':_0x42bb2c['kwMTY']})();},'afterEach'(_0xdea63b){const _0x40ae25=a35_0x18c7a6,_0x525989={'XgKlO':function(_0x5e6136,_0x54f426){return _0x5e6136>_0x54f426;},'mUQpw':function(_0x109e0f,_0x39ff48){return _0x109e0f===_0x39ff48;},'qiQZA':_0x40ae25(0x17d),'xSBCn':function(_0x10f782,_0x4a5760){return _0x10f782>_0x4a5760;},'Izvie':_0x40ae25(0x173),'AEkJo':function(_0x3dd9ea,_0x59be6b,_0x408dc3,_0x30a633){return _0x3dd9ea(_0x59be6b,_0x408dc3,_0x30a633);},'rdDIy':_0x40ae25(0x18f),'ywpOn':_0x40ae25(0x192),'VQVKq':_0x40ae25(0x198),'hFmjr':_0x40ae25(0x17a),'jJztX':_0x40ae25(0x191),'nwXTG':_0x40ae25(0x187),'vkYNO':function(_0x13e545){return _0x13e545();},'nLBpl':function(_0x2b3bcc,_0x5a4f80,_0x4d8075){return _0x2b3bcc(_0x5a4f80,_0x4d8075);},'HUpAL':function(_0x230359){return _0x230359();},'Umbyn':'debug','DpoAc':function(_0x3c8d7f,_0x3eb726){return _0x3c8d7f>_0x3eb726;},'iSNwH':_0x40ae25(0x188),'HCDkd':function(_0x2eff2b,_0x119b4b){return _0x2eff2b!==_0x119b4b;},'PEyjT':_0x40ae25(0x150),'hJlvA':function(_0x4f6a84,_0x541749,_0x161a12){return _0x4f6a84(_0x541749,_0x161a12);},'mQqix':function(_0x1a1c1c,_0x32eecc){return _0x1a1c1c+_0x32eecc;},'RtyWr':_0x40ae25(0x171),'NsWEr':_0x40ae25(0x1b9),'znYUG':function(_0x575185,_0x3d6e1c,_0x5b08cf){return _0x575185(_0x3d6e1c,_0x5b08cf);},'RsKhD':'Passed','CMaLu':'info','Ekhcn':_0x40ae25(0x1c6),'wuGMT':'index','cggTw':'afterEach'},_0x4c0fcc='browserstack internal helper hook';this[_0x40ae25(0x1eb)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x525989['Ekhcn']]),global['sessionName']=this[_0x40ae25(0x1e8)]['titlePath']()[_0x40ae25(0x1f0)](_0x525989[_0x40ae25(0x1a3)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x40ae25(0x195)],()=>{const _0x2fef5c=_0x40ae25,_0x22d945={'tijdj':_0x525989[_0x2fef5c(0x1a3)],'NaQxx':function(_0x213b8a,_0x4e4839){const _0x59c7bb=_0x2fef5c;return _0x525989[_0x59c7bb(0x1a6)](_0x213b8a,_0x4e4839);},'RSxfR':_0x525989[_0x2fef5c(0x1b7)],'OdXSk':function(_0x44cdeb,_0x4a8c91,_0x407d04){const _0x263fe1=_0x2fef5c;return _0x525989[_0x263fe1(0x161)](_0x44cdeb,_0x4a8c91,_0x407d04);},'mdEwL':function(_0xdbf675,_0x2aaf18){const _0x971674=_0x2fef5c;return _0x525989[_0x971674(0x185)](_0xdbf675,_0x2aaf18);},'Bzagm':_0x525989[_0x2fef5c(0x1d1)],'Piemy':_0x525989['NsWEr'],'xFLua':function(_0x1ac6af,_0x3b9187,_0x49bf98){const _0x5d201e=_0x2fef5c;return _0x525989[_0x5d201e(0x167)](_0x1ac6af,_0x3b9187,_0x49bf98);},'eoknJ':_0x525989[_0x2fef5c(0x159)],'MvSJO':_0x525989['CMaLu']},_0x2ddd26=async(_0x101a0b,_0x1301e1)=>{const _0x4f1916=_0x2fef5c;await global[_0x4f1916(0x189)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x101a0b+',\x22level\x22:\x20\x22'+_0x1301e1+_0x4f1916(0x190));};new Promise(async _0x370c28=>{const _0x46c447=_0x2fef5c;try{_0x525989[_0x46c447(0x1af)](global[_0x46c447(0x189)][_0x46c447(0x1c1)],0x1)&&(await global[_0x46c447(0x1a4)](),global[_0x46c447(0x189)][_0x46c447(0x162)](),global[_0x46c447(0x1a7)]=[],global[_0x46c447(0x178)]=![]);try{if(global['percy']&&_0x525989[_0x46c447(0x1d2)](global[_0x46c447(0x197)],_0x525989[_0x46c447(0x149)])&&global['__drivers'][0x0]){const _0x5d70da=_0x525989[_0x46c447(0x1b2)](global[_0x46c447(0x1cd)]['length'],0x0)?!!global['capabilities'][0x0][_0x46c447(0x1c9)]||!!global['capabilities'][0x0][_0x525989[_0x46c447(0x16d)]]:![],_0x79c59a={};_0x79c59a[_0x46c447(0x1c9)]=_0x5d70da,await _0x525989[_0x46c447(0x1d4)](percyAutoCapture,global[_0x46c447(0x189)][0x0],_0x525989[_0x46c447(0x149)],_0x79c59a);}}catch(_0x2cb2dd){logger['debug'](_0x46c447(0x1d3)+_0x2cb2dd);}!global[_0x46c447(0x181)]&&(await PerformanceTester[_0x46c447(0x1ae)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x4cd0d2=_0x46c447;await global[_0x4cd0d2(0x189)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x4cd0d2(0x1b0)](this[_0x4cd0d2(0x1e8)][_0x4cd0d2(0x1ea)]()[_0x4cd0d2(0x1f0)](_0x22d945['tijdj']))+'}}');})(),global[_0x46c447(0x189)][0x0][_0x46c447(0x1da)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x46c447(0x1e3)],async()=>{const _0x4edac9=_0x46c447,_0x28de32=_0x22d945[_0x4edac9(0x160)](this[_0x4edac9(0x1e8)][_0x4edac9(0x1c3)],_0x22d945[_0x4edac9(0x1df)]);_0x28de32?(global[_0x4edac9(0x178)]=!![],global[_0x4edac9(0x1a7)][_0x4edac9(0x196)](this[_0x4edac9(0x1e8)][_0x4edac9(0x1a8)][_0x4edac9(0x16f)]),await _0x22d945[_0x4edac9(0x1bc)](_0x2ddd26,JSON[_0x4edac9(0x1b0)](_0x22d945[_0x4edac9(0x1ad)](_0x22d945['Bzagm'],this[_0x4edac9(0x1e8)][_0x4edac9(0x1a8)][_0x4edac9(0x16f)])),_0x22d945[_0x4edac9(0x14c)])):await _0x22d945[_0x4edac9(0x156)](_0x2ddd26,JSON['stringify'](_0x22d945['eoknJ']),_0x22d945['MvSJO']);})();}catch(_0x3e8e74){logger[_0x46c447(0x1e5)](_0x46c447(0x148)+_0x3e8e74);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x46c447(0x1ec)](_0x525989[_0x46c447(0x1b5)])&&globals[_0x46c447(0x1ec)](_0x525989[_0x46c447(0x15e)])){logger[_0x46c447(0x18b)](_0x525989['VQVKq']);const _0x4681d0={};_0x4681d0['thTestRunUuid']=this[_0x46c447(0x1e8)]['testAnalyticsId'],_0x4681d0[_0x46c447(0x15f)]=process[_0x46c447(0x1e7)][testHubConstants[_0x46c447(0x1ee)][_0x46c447(0x16c)]],_0x4681d0[_0x46c447(0x15c)]=process['env'][testHubConstants[_0x46c447(0x1ee)][_0x46c447(0x183)]];const _0x2a443c=_0x4681d0;logger[_0x46c447(0x1e5)](_0x46c447(0x1f4)+JSON[_0x46c447(0x1b0)](_0x2a443c)),logger[_0x46c447(0x1e5)](_0x525989['hFmjr']);const _0x281f95={};_0x281f95[_0x46c447(0x1de)]=_0x525989[_0x46c447(0x15a)],await PerformanceTester[_0x46c447(0x1ae)](PerformanceA11yEvents[_0x46c447(0x1a5)],async()=>{const _0x359411=_0x46c447;logger['debug'](util[_0x359411(0x14d)](await global[_0x359411(0x189)][0x0][_0x359411(0x17e)](scripts['performScan'],{'method':global[_0x359411(0x14f)]})));},_0x281f95)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x46c447(0x1a0)],async()=>{const _0x1ee5ee=_0x46c447;await global[_0x1ee5ee(0x189)][0x0]['executeAsyncScript'](scripts[_0x1ee5ee(0x19a)],_0x2a443c);})(),logger[_0x46c447(0x18b)](_0x525989['nwXTG']);}}catch(_0x3d16e1){logger[_0x46c447(0x1b9)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x46c447(0x1e8)][_0x46c447(0x1ea)]()+_0x46c447(0x1ca),_0x3d16e1);}try{try{if(_0x525989[_0x46c447(0x144)](shouldProcessEventForTesthub)){global[_0x46c447(0x189)][0x0]&&await _0x525989[_0x46c447(0x1e4)](sendPlatformDetails,global[_0x46c447(0x189)][0x0],this['currentTest']?this[_0x46c447(0x1e8)][_0x46c447(0x154)]:null);if(_0x525989['HUpAL'](isBrowserstackInfra)){PerformanceTester[_0x46c447(0x176)](PerformanceO11yEvents[_0x46c447(0x19d)]);const _0x3d29f6='ObservabilitySync:'+Date[_0x46c447(0x146)]();await _0x525989[_0x46c447(0x1e4)](_0x2ddd26,JSON['stringify'](_0x3d29f6),_0x525989[_0x46c447(0x18c)]),PerformanceTester[_0x46c447(0x166)](PerformanceO11yEvents[_0x46c447(0x19d)]);}}}catch(_0x48d3eb){logger[_0x46c447(0x1e5)](_0x46c447(0x1e2)+_0x48d3eb),PerformanceTester[_0x46c447(0x166)](PerformanceO11yEvents[_0x46c447(0x19d)],![],_0x48d3eb);}_0x525989[_0x46c447(0x158)](global[_0x46c447(0x189)][0x0][_0x46c447(0x1d7)],0x0)&&await global[_0x46c447(0x1a4)]();}catch(_0xcc100f){logger[_0x46c447(0x1e5)](_0x46c447(0x1ce)+_0xcc100f);}_0x525989[_0x46c447(0x144)](_0x370c28);})[_0x2fef5c(0x177)](()=>{const _0x374142=_0x2fef5c;_0x525989[_0x374142(0x1db)](_0xdea63b);});},{'platform':_0x525989['znYUG'](nestedKeyValue,global['__platformCaps'],[_0x525989['wuGMT']]),'hookType':_0x525989[_0x40ae25(0x182)]})();},'afterAll'(_0x270764){const _0x1a7524=a35_0x18c7a6,_0x2fcef2={'zxINW':function(_0x4e269c){return _0x4e269c();},'QlrXH':_0x1a7524(0x1c6),'sddSC':function(_0x2e95dd,_0x4f8cef,_0x19da18){return _0x2e95dd(_0x4f8cef,_0x19da18);},'HmnGz':'index','yXkkB':_0x1a7524(0x169)},_0x24f37e='browserstack internal helper hook';this[_0x1a7524(0x1eb)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x2fcef2[_0x1a7524(0x175)]]),PerformanceTester[_0x1a7524(0x1ae)](PerformanceSdkEvents[_0x1a7524(0x195)],()=>{const _0x58fd96=_0x1a7524,_0x59df13={'DOKaa':function(_0x274f05){const _0x2f2deb=a35_0x3b60;return _0x2fcef2[_0x2f2deb(0x1a1)](_0x274f05);}};new Promise(async _0x499535=>{const _0xa918e9=a35_0x3b60;await global[_0xa918e9(0x1a4)](),_0x59df13[_0xa918e9(0x1f5)](_0x499535);})['then']()[_0x58fd96(0x15b)](()=>{const _0x3d2b3e=_0x58fd96;_0x59df13[_0x3d2b3e(0x1f5)](_0x270764);});},{'platform':_0x2fcef2['sddSC'](nestedKeyValue,global[_0x1a7524(0x180)],[_0x2fcef2[_0x1a7524(0x1c0)]]),'hookType':_0x2fcef2[_0x1a7524(0x172)]})();}};
1
+ function a35_0x5d29(_0x279716,_0x2483b4){const _0x3e29c8=a35_0x3e29();return a35_0x5d29=function(_0x5d29c5,_0x50ef8a){_0x5d29c5=_0x5d29c5-0x1d1;let _0x553362=_0x3e29c8[_0x5d29c5];return _0x553362;},a35_0x5d29(_0x279716,_0x2483b4);}const a35_0x2aff98=a35_0x5d29;(function(_0x33c334,_0x1fe4f4){const _0x35e0e2=a35_0x5d29,_0x47c91a=_0x33c334();while(!![]){try{const _0x56ae68=parseInt(_0x35e0e2(0x220))/0x1*(-parseInt(_0x35e0e2(0x1f9))/0x2)+parseInt(_0x35e0e2(0x267))/0x3*(-parseInt(_0x35e0e2(0x263))/0x4)+parseInt(_0x35e0e2(0x209))/0x5+parseInt(_0x35e0e2(0x262))/0x6+parseInt(_0x35e0e2(0x25e))/0x7*(-parseInt(_0x35e0e2(0x271))/0x8)+-parseInt(_0x35e0e2(0x1d3))/0x9+parseInt(_0x35e0e2(0x1f5))/0xa*(parseInt(_0x35e0e2(0x1e2))/0xb);if(_0x56ae68===_0x1fe4f4)break;else _0x47c91a['push'](_0x47c91a['shift']());}catch(_0x1cd84b){_0x47c91a['push'](_0x47c91a['shift']());}}}(a35_0x3e29,0xb02df));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a35_0x2aff98(0x23d)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a35_0x2aff98(0x1dc)),{percyAutoCapture}=require(a35_0x2aff98(0x257)),{sendPlatformDetails}=require(a35_0x2aff98(0x26f)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a35_0x2aff98(0x243)),PerformanceTester=require(a35_0x2aff98(0x26a)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a35_0x2aff98(0x20f)),scripts=require(a35_0x2aff98(0x24d)),globals=require(a35_0x2aff98(0x261)),logger=require(a35_0x2aff98(0x1e9))['winstonLogger'],{shouldProcessEventForTesthub}=require(a35_0x2aff98(0x1d7)),testHubConstants=require('../../helpers/testhub/constants');exports[a35_0x2aff98(0x21c)]={'beforeAll'(){const _0x185124=a35_0x2aff98,_0x4127f5={'QUxwg':function(_0x3f249f,_0x3f924e,_0x228b44,_0x128475){return _0x3f249f(_0x3f924e,_0x228b44,_0x128475);},'piUxQ':_0x185124(0x1d8),'OCMOB':_0x185124(0x260),'xRBEF':function(_0x5206d3,_0x28a2d1,_0x2bfdbf){return _0x5206d3(_0x28a2d1,_0x2bfdbf);},'ePxbx':_0x185124(0x1f2),'XIfvq':function(_0x4b8894){return _0x4b8894();},'tgGrO':function(_0x90972f,_0x50a845,_0x20e112){return _0x90972f(_0x50a845,_0x20e112);},'JSjDZ':function(_0x1427a1,_0x908ca2,_0x199662){return _0x1427a1(_0x908ca2,_0x199662);},'aGyTc':_0x185124(0x26d),'mtuPb':'beforeAll'};PerformanceTester[_0x185124(0x23b)]();const _0x2ce412='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x185124(0x1fa)],()=>{const _0x3e224d=_0x185124;global['__error_messages__']=[],global[_0x3e224d(0x22f)]=![],global[_0x3e224d(0x20b)]=async()=>{const _0x3874d6=_0x3e224d;let _0x2f60ec=![];try{await global[_0x3874d6(0x231)][0x0][_0x3874d6(0x252)],_0x2f60ec=!![],global['__sessionFailed']?await _0x4127f5['QUxwg'](markSessionStatus,global[_0x3874d6(0x231)][0x0],_0x4127f5['piUxQ'],global[_0x3874d6(0x268)][_0x3874d6(0x25c)](_0x4127f5['OCMOB'])):await _0x4127f5[_0x3874d6(0x266)](markSessionStatus,global[_0x3874d6(0x231)][0x0],_0x4127f5[_0x3874d6(0x1fe)]);}catch(_0x3e2749){logger[_0x3874d6(0x265)](_0x3874d6(0x1f8)+_0x3e2749);}global[_0x3874d6(0x268)]=[],global[_0x3874d6(0x22f)]=![];if(_0x2f60ec)try{try{_0x4127f5[_0x3874d6(0x211)](shouldProcessEventForTesthub)&&(global[_0x3874d6(0x231)][0x0]&&await _0x4127f5[_0x3874d6(0x230)](sendPlatformDetails,global[_0x3874d6(0x231)][0x0],this[_0x3874d6(0x1ed)]?this[_0x3874d6(0x1ed)][_0x3874d6(0x272)]:null));}catch(_0x238f43){logger[_0x3874d6(0x265)](_0x3874d6(0x213)+_0x238f43);}await global[_0x3874d6(0x231)][0x0][_0x3874d6(0x223)]();}catch(_0x86cc35){logger[_0x3874d6(0x265)](_0x3874d6(0x203)+_0x86cc35);}};},{'platform':_0x4127f5[_0x185124(0x26e)](nestedKeyValue,global[_0x185124(0x207)],[_0x4127f5['aGyTc']]),'hookType':_0x4127f5['mtuPb']})();},'beforeEach'(_0x11b394){const _0x3c6df6=a35_0x2aff98,_0x18b9c6={'cKOrW':function(_0x5b9440,_0xc9251c){return _0x5b9440>_0xc9251c;},'mQbge':_0x3c6df6(0x225),'mYXOd':function(_0x5a4bc6,_0x3bdf21,_0x410877){return _0x5a4bc6(_0x3bdf21,_0x410877);},'OlwpA':_0x3c6df6(0x1fc),'cfPKv':function(_0x475a39){return _0x475a39();},'xINrI':'isAccessibilityPlatform','XbSGO':function(_0x281c5f,_0x19d8c3){return _0x281c5f===_0x19d8c3;},'iNBFB':_0x3c6df6(0x264),'csOPz':_0x3c6df6(0x20a),'omMgk':_0x3c6df6(0x1ea),'lBhmJ':_0x3c6df6(0x258),'GMZyh':_0x3c6df6(0x25b),'mFNhH':_0x3c6df6(0x26d),'qtPcy':_0x3c6df6(0x1f0)};globals[_0x3c6df6(0x236)](_0x18b9c6[_0x3c6df6(0x217)],this[_0x3c6df6(0x1ed)][_0x3c6df6(0x1f3)]()['join'](_0x18b9c6[_0x3c6df6(0x200)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3c6df6(0x1fa)],()=>{const _0x43bf85=_0x3c6df6,_0x22683c={'QapWi':function(_0x3a32a3,_0x2d0799){const _0xf51a89=a35_0x5d29;return _0x18b9c6[_0xf51a89(0x210)](_0x3a32a3,_0x2d0799);},'abhwi':_0x18b9c6[_0x43bf85(0x200)],'PJKKu':function(_0xd769f3,_0x4c03d8,_0x5bfae6){const _0xc8c76=_0x43bf85;return _0x18b9c6[_0xc8c76(0x228)](_0xd769f3,_0x4c03d8,_0x5bfae6);},'ETNug':_0x18b9c6[_0x43bf85(0x21a)],'RIymW':function(_0x926921){return _0x18b9c6['cfPKv'](_0x926921);},'hMdQR':_0x18b9c6['xINrI'],'iqiRC':function(_0x286e61,_0x3cf579){const _0x89de94=_0x43bf85;return _0x18b9c6[_0x89de94(0x278)](_0x286e61,_0x3cf579);},'CeceY':_0x18b9c6[_0x43bf85(0x226)],'kgckb':_0x18b9c6[_0x43bf85(0x1eb)],'gsRuj':_0x18b9c6[_0x43bf85(0x239)],'GnBAR':_0x18b9c6[_0x43bf85(0x204)]},_0x4e0886='browserstack internal helper hook';new Promise(async _0x201135=>{const _0x5ea431=_0x43bf85;let _0x3ad1da=!![];try{_0x22683c['QapWi'](global[_0x5ea431(0x231)][_0x5ea431(0x1d5)],0x1)&&(await global[_0x5ea431(0x20b)](),global['__drivers'][_0x5ea431(0x227)]()),_0x22683c[_0x5ea431(0x201)](global[_0x5ea431(0x231)][0x0]['quitCount_'],0x0)&&(_0x3ad1da=![],await global[_0x5ea431(0x20b)]());}catch(_0x448b8a){logger[_0x5ea431(0x265)](_0x5ea431(0x203)+_0x448b8a);}try{Array[_0x5ea431(0x221)](global['__drivers'])&&global[_0x5ea431(0x231)][0x0]&&(global[_0x5ea431(0x231)][0x0][_0x5ea431(0x1e5)]=this['currentTest'][_0x5ea431(0x1f3)]()[_0x5ea431(0x25c)](_0x22683c[_0x5ea431(0x20c)])),global[_0x5ea431(0x1e5)]=this['currentTest']['titlePath']()['join'](_0x22683c[_0x5ea431(0x20c)]);}catch(_0x5c96e0){logger[_0x5ea431(0x265)](_0x5ea431(0x235)+_0x5c96e0);}this[_0x5ea431(0x1ed)][_0x5ea431(0x1d2)]=_0x22683c[_0x5ea431(0x26b)](shouldScanTestForAccessibility,this[_0x5ea431(0x1ed)][_0x5ea431(0x1f3)](),!![]),globals['setGlobal'](_0x22683c[_0x5ea431(0x21e)],this[_0x5ea431(0x1ed)][_0x5ea431(0x1d2)]),this[_0x5ea431(0x1ed)][_0x5ea431(0x22a)]=!![];if(_0x22683c[_0x5ea431(0x1d1)](isAccessibilityAutomationSession)&&_0x3ad1da&&Array[_0x5ea431(0x221)](global[_0x5ea431(0x231)])&&_0x22683c['QapWi'](global['__drivers']['length'],0x0)&&globals[_0x5ea431(0x237)](_0x22683c['hMdQR']))try{const _0x5817c6=await global['__drivers'][0x0][_0x5ea431(0x252)];if(_0x5817c6){let _0x30495f=!![];const _0x594612=await global['__drivers'][0x0][_0x5ea431(0x1f4)]();let _0x2053da;try{_0x2053da=new URL(_0x594612);}catch(_0x504d96){_0x30495f=![];}_0x30495f=_0x22683c[_0x5ea431(0x255)](_0x2053da[_0x5ea431(0x1e0)],_0x22683c[_0x5ea431(0x1fb)])||_0x22683c[_0x5ea431(0x255)](_0x2053da[_0x5ea431(0x1e0)],_0x22683c['kgckb']),_0x30495f&&(this['currentTest'][_0x5ea431(0x1d2)]&&logger[_0x5ea431(0x23e)](_0x22683c[_0x5ea431(0x1e7)])),this[_0x5ea431(0x1ed)]['accessibilityScanStarted']=this['currentTest']['shouldScanTestForAccessibility'],this[_0x5ea431(0x1ed)]['shouldScanTestForAccessibility']&&logger[_0x5ea431(0x23e)](_0x22683c[_0x5ea431(0x222)]);}}catch(_0x40a7fa){logger[_0x5ea431(0x269)](_0x5ea431(0x219)+util[_0x5ea431(0x245)](_0x40a7fa));}_0x22683c[_0x5ea431(0x1d1)](_0x201135);})[_0x43bf85(0x23c)](()=>{const _0x1fa23d=_0x43bf85;_0x22683c[_0x1fa23d(0x1d1)](_0x11b394);});},{'platform':_0x18b9c6['mYXOd'](nestedKeyValue,global['__platformCaps'],[_0x18b9c6['mFNhH']]),'hookType':_0x18b9c6['qtPcy']})();},'afterEach'(_0x14de1d){const _0x3090df=a35_0x2aff98,_0x1ac109={'uTPnE':function(_0x224924,_0x5636b8){return _0x224924!==_0x5636b8;},'axvPe':'passed','uRfOE':function(_0x3d93c9,_0x18cd9a,_0xeef8c9){return _0x3d93c9(_0x18cd9a,_0xeef8c9);},'jKsgW':function(_0x4b7f48,_0x1917fb){return _0x4b7f48+_0x1917fb;},'RuxRI':'Failed:\x20','ycvcj':_0x3090df(0x269),'EDiKe':_0x3090df(0x24a),'NKiaf':_0x3090df(0x23e),'GREWd':function(_0x164089,_0x40d1bc){return _0x164089>_0x40d1bc;},'nIZYU':function(_0x2df341,_0x4e8715){return _0x2df341===_0x4e8715;},'dadqt':_0x3090df(0x216),'rBuqY':function(_0x2b2807,_0x475450){return _0x2b2807>_0x475450;},'nQFuW':_0x3090df(0x233),'iMgbE':function(_0x1f1413,_0x36d44b,_0x379280,_0x457ee0){return _0x1f1413(_0x36d44b,_0x379280,_0x457ee0);},'uxaoG':'isAccessibilityPlatform','pnlqR':_0x3090df(0x1fc),'qhJaZ':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','pEuLX':'Performing\x20scan\x20before\x20saving\x20results','tLWyM':'afterTest','GDKzc':_0x3090df(0x25a),'vLSCL':function(_0x445769){return _0x445769();},'dtxOT':function(_0x2eb3ae,_0x1e2391,_0x57cf4d){return _0x2eb3ae(_0x1e2391,_0x57cf4d);},'pqbQJ':function(_0x157817){return _0x157817();},'VGCwR':_0x3090df(0x265),'vcKar':function(_0x234da7){return _0x234da7();},'hNjFf':_0x3090df(0x225),'AgVUL':_0x3090df(0x1dd),'elhQS':function(_0x59b802,_0x4c440c,_0x37484c){return _0x59b802(_0x4c440c,_0x37484c);},'GYHxM':_0x3090df(0x26d),'fufPs':_0x3090df(0x241)},_0x1f0f80='browserstack internal helper hook';this[_0x3090df(0x250)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1ac109['AgVUL']]),global[_0x3090df(0x205)]=this['currentTest'][_0x3090df(0x1f3)]()[_0x3090df(0x25c)](_0x1ac109[_0x3090df(0x21d)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3090df(0x1fa)],()=>{const _0x3383c8=_0x3090df,_0x2ad93b={};_0x2ad93b[_0x3383c8(0x24b)]=_0x1ac109[_0x3383c8(0x21d)];const _0x84a7c8=_0x2ad93b,_0x292b3e=async(_0x9882e4,_0x165fc5)=>{const _0x5e25e7=_0x3383c8;await global[_0x5e25e7(0x231)][0x0][_0x5e25e7(0x1e6)](_0x5e25e7(0x240)+_0x9882e4+_0x5e25e7(0x1ff)+_0x165fc5+'\x22}}');};new Promise(async _0x5f51a3=>{const _0x508c1c=_0x3383c8,_0x49fdf1={'zCNeX':function(_0x8361cd,_0x58cdd8){return _0x1ac109['uTPnE'](_0x8361cd,_0x58cdd8);},'TzDlx':_0x1ac109[_0x508c1c(0x25d)],'AhGTz':function(_0x5969b9,_0x340866,_0x45c1de){return _0x1ac109['uRfOE'](_0x5969b9,_0x340866,_0x45c1de);},'FnQwO':function(_0x3ebaaf,_0xef4256){const _0x4c4e73=_0x508c1c;return _0x1ac109[_0x4c4e73(0x208)](_0x3ebaaf,_0xef4256);},'vitED':_0x1ac109[_0x508c1c(0x1df)],'sghRG':_0x1ac109[_0x508c1c(0x22b)],'sMbaR':function(_0x264dc2,_0x577698,_0xb8f8b1){const _0x9791df=_0x508c1c;return _0x1ac109[_0x9791df(0x21b)](_0x264dc2,_0x577698,_0xb8f8b1);},'dtmQm':_0x1ac109[_0x508c1c(0x249)],'XMkKL':_0x1ac109['NKiaf']};try{_0x1ac109[_0x508c1c(0x247)](global['__drivers'][_0x508c1c(0x1d5)],0x1)&&(await global['driverCleanup'](),global[_0x508c1c(0x231)][_0x508c1c(0x227)](),global['__error_messages__']=[],global[_0x508c1c(0x22f)]=![]);try{if(global[_0x508c1c(0x229)]&&_0x1ac109['nIZYU'](global[_0x508c1c(0x24e)],_0x1ac109[_0x508c1c(0x248)])&&global[_0x508c1c(0x231)][0x0]){const _0x2822e7=_0x1ac109['rBuqY'](global[_0x508c1c(0x206)][_0x508c1c(0x1d5)],0x0)?!!global[_0x508c1c(0x206)][0x0][_0x508c1c(0x1f1)]||!!global[_0x508c1c(0x206)][0x0][_0x1ac109['nQFuW']]:![],_0x67a0df={};_0x67a0df[_0x508c1c(0x1f1)]=_0x2822e7,await _0x1ac109[_0x508c1c(0x1db)](percyAutoCapture,global[_0x508c1c(0x231)][0x0],_0x1ac109['dadqt'],_0x67a0df);}}catch(_0x44f90e){logger[_0x508c1c(0x265)](_0x508c1c(0x21f)+_0x44f90e);}!global[_0x508c1c(0x1de)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x508c1c(0x253)],async()=>{const _0x50c2e3=_0x508c1c;await global['__drivers'][0x0][_0x50c2e3(0x1e6)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x50c2e3(0x202)](this[_0x50c2e3(0x1ed)][_0x50c2e3(0x1f3)]()[_0x50c2e3(0x25c)](_0x84a7c8[_0x50c2e3(0x24b)]))+'}}');})(),global[_0x508c1c(0x231)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x508c1c(0x273)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0xc8c19e=_0x508c1c,_0x5bb480=_0x49fdf1['zCNeX'](this['currentTest']['state'],_0x49fdf1[_0xc8c19e(0x277)]);_0x5bb480?(global[_0xc8c19e(0x22f)]=!![],global[_0xc8c19e(0x268)][_0xc8c19e(0x218)](this[_0xc8c19e(0x1ed)]['err'][_0xc8c19e(0x22e)]),await _0x49fdf1[_0xc8c19e(0x254)](_0x292b3e,JSON['stringify'](_0x49fdf1[_0xc8c19e(0x23f)](_0x49fdf1[_0xc8c19e(0x276)],this['currentTest']['err'][_0xc8c19e(0x22e)])),_0x49fdf1[_0xc8c19e(0x232)])):await _0x49fdf1[_0xc8c19e(0x1e1)](_0x292b3e,JSON[_0xc8c19e(0x202)](_0x49fdf1[_0xc8c19e(0x1f6)]),_0x49fdf1[_0xc8c19e(0x1f7)]);})();}catch(_0x3d79f4){logger[_0x508c1c(0x265)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x3d79f4);}try{if(this[_0x508c1c(0x1ed)][_0x508c1c(0x22a)]&&globals[_0x508c1c(0x237)](_0x1ac109['uxaoG'])&&globals[_0x508c1c(0x237)](_0x1ac109[_0x508c1c(0x274)])){logger['info'](_0x1ac109[_0x508c1c(0x23a)]);const _0x1a5eb5={};_0x1a5eb5['thTestRunUuid']=this[_0x508c1c(0x1ed)]['testAnalyticsId'],_0x1a5eb5['thBuildUuid']=process[_0x508c1c(0x256)][testHubConstants[_0x508c1c(0x1ec)][_0x508c1c(0x1d6)]],_0x1a5eb5[_0x508c1c(0x24c)]=process[_0x508c1c(0x256)][testHubConstants[_0x508c1c(0x1ec)][_0x508c1c(0x234)]];const _0x515630=_0x1a5eb5;logger[_0x508c1c(0x265)](_0x508c1c(0x1da)+JSON[_0x508c1c(0x202)](_0x515630)),logger[_0x508c1c(0x265)](_0x1ac109[_0x508c1c(0x215)]);const _0x29707c={};_0x29707c[_0x508c1c(0x24f)]=_0x1ac109[_0x508c1c(0x1ee)],await PerformanceTester[_0x508c1c(0x273)](PerformanceA11yEvents[_0x508c1c(0x22d)],async()=>{const _0x75c114=_0x508c1c;logger['debug'](util[_0x75c114(0x245)](await global[_0x75c114(0x231)][0x0][_0x75c114(0x259)](scripts['performScan'],{'method':global[_0x75c114(0x1e5)]})));},_0x29707c)(),await PerformanceTester[_0x508c1c(0x273)](PerformanceA11yEvents[_0x508c1c(0x244)],async()=>{const _0x23578a=_0x508c1c;await global[_0x23578a(0x231)][0x0][_0x23578a(0x259)](scripts['saveTestResults'],_0x515630);})(),logger['info'](_0x1ac109['GDKzc']);}}catch(_0x4ba879){logger['error'](_0x508c1c(0x238)+this['currentTest'][_0x508c1c(0x1f3)]()+'.\x20Error\x20:',_0x4ba879);}try{try{if(_0x1ac109[_0x508c1c(0x20d)](shouldProcessEventForTesthub)){global[_0x508c1c(0x231)][0x0]&&await _0x1ac109[_0x508c1c(0x1e4)](sendPlatformDetails,global[_0x508c1c(0x231)][0x0],this[_0x508c1c(0x1ed)]?this[_0x508c1c(0x1ed)][_0x508c1c(0x272)]:null);if(_0x1ac109['pqbQJ'](isBrowserstackInfra)){PerformanceTester[_0x508c1c(0x242)](PerformanceO11yEvents[_0x508c1c(0x214)]);const _0x3b1c49='ObservabilitySync:'+Date[_0x508c1c(0x1fd)]();await _0x1ac109[_0x508c1c(0x1e4)](_0x292b3e,JSON[_0x508c1c(0x202)](_0x3b1c49),_0x1ac109[_0x508c1c(0x251)]),PerformanceTester[_0x508c1c(0x212)](PerformanceO11yEvents['SYNC']);}}}catch(_0x4752e1){logger[_0x508c1c(0x265)](_0x508c1c(0x1ef)+_0x4752e1),PerformanceTester[_0x508c1c(0x212)](PerformanceO11yEvents[_0x508c1c(0x214)],![],_0x4752e1);}_0x1ac109[_0x508c1c(0x26c)](global[_0x508c1c(0x231)][0x0][_0x508c1c(0x20e)],0x0)&&await global[_0x508c1c(0x20b)]();}catch(_0x982e36){logger[_0x508c1c(0x265)](_0x508c1c(0x203)+_0x982e36);}_0x1ac109['vLSCL'](_0x5f51a3);})[_0x3383c8(0x23c)](()=>{const _0x4950b6=_0x3383c8;_0x1ac109[_0x4950b6(0x1e3)](_0x14de1d);});},{'platform':_0x1ac109['elhQS'](nestedKeyValue,global[_0x3090df(0x207)],[_0x1ac109[_0x3090df(0x1e8)]]),'hookType':_0x1ac109['fufPs']})();},'afterAll'(_0x4e18df){const _0x41b5b0=a35_0x2aff98,_0x177464={'Bpqbk':function(_0x3bf1a8){return _0x3bf1a8();},'ewmUo':function(_0x80a408){return _0x80a408();},'ZsoKB':'Mocha','IBIze':function(_0x19bc65,_0x17a550,_0x2d3ffc){return _0x19bc65(_0x17a550,_0x2d3ffc);},'DUdiQ':_0x41b5b0(0x26d),'utveY':_0x41b5b0(0x275)},_0x86a264='browserstack internal helper hook';this[_0x41b5b0(0x250)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x177464[_0x41b5b0(0x22c)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x41b5b0(0x1fa)],()=>{const _0x4e9580=_0x41b5b0,_0x2c5310={'nbPeX':function(_0x551fc2){const _0x3b2dec=a35_0x5d29;return _0x177464[_0x3b2dec(0x270)](_0x551fc2);}};new Promise(async _0x4a5cbd=>{const _0x4cb419=a35_0x5d29;await global[_0x4cb419(0x20b)](),_0x177464[_0x4cb419(0x1d9)](_0x4a5cbd);})[_0x4e9580(0x23c)]()[_0x4e9580(0x224)](()=>{const _0xf93da0=_0x4e9580;_0x2c5310[_0xf93da0(0x246)](_0x4e18df);});},{'platform':_0x177464['IBIze'](nestedKeyValue,global[_0x41b5b0(0x207)],[_0x177464[_0x41b5b0(0x25f)]]),'hookType':_0x177464[_0x41b5b0(0x1d4)]})();}};function a35_0x3e29(){const _0x33f10c=['XMkKL','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','616EPKHJh','SDK_HOOK','CeceY','bstackA11yShouldScan','now','ePxbx',',\x22level\x22:\x20\x22','mQbge','QapWi','stringify','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','lBhmJ','sessionName','capabilities','__platformCaps','jKsgW','6921670XAvKQU','https:','driverCleanup','abhwi','vLSCL','quitCount_','../../helpers/performance/constants','cKOrW','XIfvq','end','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','SYNC','pEuLX','testcase','GMZyh','push','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','OlwpA','uRfOE','mochaHooks','hNjFf','ETNug','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','2866JyLLZl','isArray','GnBAR','initQuit','finally','\x20-\x20','iNBFB','shift','mYXOd','percy','accessibilityScanStarted','ycvcj','ZsoKB','PERFORM_SCAN','message','__sessionFailed','tgGrO','__drivers','sghRG','appium:app','BROWSERSTACK_TESTHUB_JWT','Failed\x20to\x20store\x20session\x20name:\x20','setGlobal','getGlobal','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','omMgk','qhJaZ','startMonitoring','then','../../helpers/accessibility-automation/helper','info','FnQwO','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','afterEach','start','../../helpers/helper','SAVE_RESULTS','format','nbPeX','GREWd','dadqt','EDiKe','Passed','fkLKy','thJwtToken','../../helpers/accessibility-automation/scripts','percyCaptureMode','command','timeout','VGCwR','session_','SESSION_NAME','AhGTz','iqiRC','env','../../helpers/percy/utils','Automate\x20test\x20case\x20execution\x20has\x20started.','executeAsyncScript','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','browserstackTestName','join','axvPe','9623236caKvsp','DUdiQ','\x20|\x20','../../helpers/globals','6334272ENdUFa','8jtppOh','http:','debug','xRBEF','403314tnRlwV','__error_messages__','error','../../helpers/performance/performance-tester','PJKKu','rBuqY','index','JSjDZ','./test-observability/mochaUtils','ewmUo','8YpZnJL','testAnalyticsId','measureWrapper','pnlqR','afterAll','vitED','TzDlx','XbSGO','RIymW','shouldScanTestForAccessibility','10681614ckabJL','utveY','length','BROWSERSTACK_TESTHUB_UUID','../../helpers/testhub/utils','failed','Bpqbk','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','iMgbE','../utils/constants','Mocha','__skipSessionName','RuxRI','protocol','sMbaR','21942613eixcIi','vcKar','dtxOT','browserstackSessionName','executeScript','gsRuj','GYHxM','../../helpers/logger','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','csOPz','ENV_VAR','currentTest','tLWyM','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','beforeEach','app','passed','titlePath','getCurrentUrl','10JujWIw','dtmQm'];a35_0x3e29=function(){return _0x33f10c;};return a35_0x3e29();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a36_0x159265=a36_0x625c;(function(_0x274485,_0x485303){const _0x3226b1=a36_0x625c,_0x1d427c=_0x274485();while(!![]){try{const _0x3d0768=parseInt(_0x3226b1(0x1dd))/0x1+-parseInt(_0x3226b1(0x1ed))/0x2+-parseInt(_0x3226b1(0x1d7))/0x3*(-parseInt(_0x3226b1(0x1af))/0x4)+parseInt(_0x3226b1(0x1d8))/0x5+-parseInt(_0x3226b1(0x1cc))/0x6*(parseInt(_0x3226b1(0x1db))/0x7)+-parseInt(_0x3226b1(0x1c4))/0x8*(-parseInt(_0x3226b1(0x1a8))/0x9)+-parseInt(_0x3226b1(0x1de))/0xa*(parseInt(_0x3226b1(0x1b3))/0xb);if(_0x3d0768===_0x485303)break;else _0x1d427c['push'](_0x1d427c['shift']());}catch(_0x3ae930){_0x1d427c['push'](_0x1d427c['shift']());}}}(a36_0x4ed6,0xf3a17));const fs=require('fs'),path=require(a36_0x159265(0x1c8)),{spawn}=require(a36_0x159265(0x1d9)),logger=require('../../helpers/logger')[a36_0x159265(0x1c6)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a36_0x159265(0x1b9)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x5b6acb,_0x29f7f5)=>{const _0xfff6e7=a36_0x159265,_0x191a1d={'WoRjc':_0xfff6e7(0x1b4),'DWfiT':_0xfff6e7(0x1ca),'HLxTW':function(_0x31d1cc,_0x120466){return _0x31d1cc(_0x120466);},'khyaN':_0xfff6e7(0x1bd)};let _0x1798d4=null,_0x5d7426={};const _0x3fdc7b=_0x29f7f5[_0xfff6e7(0x1be)](_0x3bb266=>_0x3bb266===_0xfff6e7(0x1aa));if(!helper['isUndefined'](_0x5b6acb[_0xfff6e7(0x1a4)])&&fs['existsSync'](path['join'](process[_0xfff6e7(0x1e2)](),_0x5b6acb[_0xfff6e7(0x1a4)])))_0x1798d4=path[_0xfff6e7(0x1b0)](process[_0xfff6e7(0x1e2)](),_0x5b6acb[_0xfff6e7(0x1a4)]),_0x29f7f5[_0xfff6e7(0x1d2)](_0x3fdc7b,0x2);else{if(fs[_0xfff6e7(0x1bc)](path['join'](process[_0xfff6e7(0x1e2)](),_0x191a1d[_0xfff6e7(0x1ec)])))_0x1798d4=path[_0xfff6e7(0x1b0)](process[_0xfff6e7(0x1e2)](),_0x191a1d[_0xfff6e7(0x1ec)]);else fs['existsSync'](path['join'](process['cwd'](),_0x191a1d[_0xfff6e7(0x1c5)]))&&(_0x1798d4=path[_0xfff6e7(0x1b0)](process[_0xfff6e7(0x1e2)](),_0x191a1d['DWfiT']));}return _0x1798d4?(logger[_0xfff6e7(0x1ce)](_0xfff6e7(0x1ab)+_0x1798d4),_0x5d7426=_0x191a1d[_0xfff6e7(0x1ac)](require,_0x1798d4)):logger[_0xfff6e7(0x1ce)](_0x191a1d['khyaN']),_0x5d7426;},removeExistingEnvs=_0x51f1da=>{const _0x57e318=a36_0x159265,_0x28453a={};_0x28453a[_0x57e318(0x1c2)]=function(_0x281b8e,_0x1b1b04){return _0x281b8e>_0x1b1b04;};const _0x1fd4a6=_0x28453a;let _0x36a0a6=_0x51f1da[_0x57e318(0x1be)](_0x60c510=>_0x60c510===_0x57e318(0x1c9));_0x1fd4a6[_0x57e318(0x1c2)](_0x36a0a6,-0x1)&&_0x51f1da['splice'](_0x36a0a6,0x2),_0x36a0a6=_0x51f1da[_0x57e318(0x1be)](_0x58ae8c=>_0x58ae8c==='-e'),_0x1fd4a6['bUINx'](_0x36a0a6,-0x1)&&_0x51f1da[_0x57e318(0x1d2)](_0x36a0a6,0x2);};function a36_0x4ed6(){const _0x2c45ec=['kSzLc','splice','bLzuF','Ujwba','Deleting\x20','nightwatch','1338ZsNOwK','4037645AsmwuL','child_process','split','64939EFLwuq','close','1611993rNIqQp','910XfKMEx','platforms','CUwHp','trim','cwd','YbhbI','ieQms','host','now','push','webdriver','test_settings','dugvd','VKDfu','WoRjc','3868780JlyGsV','config','PREQz','forEach','platform','117BSanfZ','getPlatformName','--config','Getting\x20your\x20nightwatch\x20configs\x20from\x20','HLxTW','child\x20process\x20exited\x20with\x20code\x20','port','668ePohjY','join','nightwatch-browserstack.json','test','17039VsvOXr','nightwatch.conf.js','haagI','stringify','exports','vIAbH','../../helpers/helper','length','writeFileSync','existsSync','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','findIndex','aSJhH','ktrIL','URPqq','bUINx','unlinkSync','1041536sekSDL','DWfiT','winstonLogger','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','path','--env','nightwatch.json','hub.browserstack.com','720WgdRod','start_process','info','env','tYpjZ'];a36_0x4ed6=function(){return _0x2c45ec;};return a36_0x4ed6();}function a36_0x625c(_0xe7e737,_0xc6404){const _0x4ed664=a36_0x4ed6();return a36_0x625c=function(_0x625c5d,_0x975252){_0x625c5d=_0x625c5d-0x1a4;let _0x2f48c0=_0x4ed664[_0x625c5d];return _0x2f48c0;},a36_0x625c(_0xe7e737,_0xc6404);}function run(_0x1e2645,_0x148588,_0x3f5f6f){const _0x5e9fd9=a36_0x159265,_0x183d98={'bLzuF':_0x5e9fd9(0x1d6),'PREQz':function(_0x3bd0f5,_0x22b9a2){return _0x3bd0f5+_0x22b9a2;},'ieQms':_0x5e9fd9(0x1e9),'Ujwba':function(_0xd173ee,_0x5c5827,_0x57f4fe){return _0xd173ee(_0x5c5827,_0x57f4fe);},'ktrIL':_0x5e9fd9(0x1cb),'VKDfu':_0x5e9fd9(0x1c7),'aSJhH':function(_0x174ba8,_0x231ab7){return _0x174ba8===_0x231ab7;},'tYpjZ':_0x5e9fd9(0x1b1),'CUwHp':function(_0x5b6d38,_0x4a1fdf){return _0x5b6d38(_0x4a1fdf);},'vIAbH':function(_0xcdd10c,_0x808b80,_0x310d31,_0xf532e9){return _0xcdd10c(_0x808b80,_0x310d31,_0xf532e9);},'dugvd':'nightwatch.cmd','kSzLc':_0x5e9fd9(0x1aa),'URPqq':_0x5e9fd9(0x1c9),'YbhbI':'inherit','haagI':_0x5e9fd9(0x1dc)};if(!_0x3f5f6f[_0x5e9fd9(0x1a4)])return;const _0x17b381=_0x183d98[_0x5e9fd9(0x1d4)](getUserNightwatchConfigs,_0x1e2645,_0x148588),_0x1a7dc4={};_0x1a7dc4[_0x5e9fd9(0x1cd)]=![];const _0x2c5385={};_0x2c5385[_0x5e9fd9(0x1e5)]=_0x183d98[_0x5e9fd9(0x1c0)],_0x2c5385[_0x5e9fd9(0x1ae)]=0x1bb;const _0x1197e6={};_0x1197e6[_0x5e9fd9(0x1e8)]=_0x1a7dc4,_0x1197e6['selenium']=_0x2c5385;const _0x253bb2=_0x1197e6;logger['info'](_0x183d98[_0x5e9fd9(0x1eb)]);const _0xe4ca5f={..._0x17b381},_0x16e77e=_0xe4ca5f,_0x53d176=helper['useW3C'](_0x3f5f6f[_0x5e9fd9(0x1a4)]),_0x2f38c5=[];_0x3f5f6f['config'][_0x5e9fd9(0x1df)]['forEach']((_0x49a684,_0x8621bc)=>{const _0x20f905=_0x5e9fd9;_0x53d176?_0x2f38c5[_0x20f905(0x1e7)](helper['modifyBrowserStackW3CCaps'](_0x3f5f6f[_0x20f905(0x1a4)],_0x183d98[_0x20f905(0x1d3)],_0x8621bc)):_0x2f38c5['push'](helper['modifyBrowserStackCaps'](_0x3f5f6f[_0x20f905(0x1a4)],_0x183d98[_0x20f905(0x1d3)],_0x8621bc));});const _0x381087={},_0x423366=[];_0x1e2645[_0x5e9fd9(0x1cf)]=_0x1e2645[_0x5e9fd9(0x1cf)]||_0x1e2645['e'];const _0x48fc05=_0x1e2645['env']?_0x1e2645[_0x5e9fd9(0x1cf)][_0x5e9fd9(0x1e1)]()[_0x5e9fd9(0x1da)](',')['map'](_0x32fca8=>_0x32fca8[_0x5e9fd9(0x1e1)]())['filter'](_0x16a3ce=>_0x16a3ce!==''):[''];_0x183d98[_0x5e9fd9(0x1bf)](_0x48fc05[_0x5e9fd9(0x1ba)],0x0)&&_0x48fc05[_0x5e9fd9(0x1e7)]('');_0x48fc05['forEach'](_0x1065c3=>{const _0x57f0cc=_0x5e9fd9;_0x2f38c5[_0x57f0cc(0x1a6)](_0x28c208=>{const _0x11d61d=_0x57f0cc;let _0x28de5a=_0x183d98[_0x11d61d(0x1a5)](helper[_0x11d61d(0x1a9)](_0x28c208,'_'),'_'+Date[_0x11d61d(0x1e6)]());_0x1065c3&&(_0x28de5a+='_'+_0x1065c3);if(_0x1065c3&&(!_0x17b381[_0x183d98[_0x11d61d(0x1e4)]]||!_0x17b381[_0x183d98[_0x11d61d(0x1e4)]][_0x1065c3]))return;const _0x435ae2={..._0x253bb2};_0x435ae2['desiredCapabilities']=_0x28c208;const _0x1bba8e=_0x435ae2;_0x381087[_0x28de5a]=_0x1065c3?helper['mergeDeep'](_0x17b381[_0x183d98[_0x11d61d(0x1e4)]][_0x1065c3],_0x1bba8e):_0x1bba8e,_0x423366[_0x11d61d(0x1e7)](_0x28de5a);});});!_0x16e77e[_0x5e9fd9(0x1e9)]&&(_0x16e77e[_0x5e9fd9(0x1e9)]={});_0x16e77e[_0x5e9fd9(0x1e9)]={..._0x16e77e[_0x5e9fd9(0x1e9)],..._0x381087};const _0x15875c=path[_0x5e9fd9(0x1b0)](__dirname,_0x183d98[_0x5e9fd9(0x1d0)]);fs[_0x5e9fd9(0x1bb)](_0x15875c,JSON[_0x5e9fd9(0x1b6)](_0x16e77e)),_0x183d98[_0x5e9fd9(0x1e0)](removeExistingEnvs,_0x148588);const _0x57c0b3=_0x183d98[_0x5e9fd9(0x1b8)](spawn,/^win/[_0x5e9fd9(0x1b2)](process[_0x5e9fd9(0x1a7)])?_0x183d98[_0x5e9fd9(0x1ea)]:_0x183d98[_0x5e9fd9(0x1d3)],[_0x183d98[_0x5e9fd9(0x1d1)],_0x15875c,..._0x148588['slice'](0x1),_0x183d98[_0x5e9fd9(0x1c1)],_0x423366[_0x5e9fd9(0x1b0)](',')],{'stdio':_0x183d98[_0x5e9fd9(0x1e3)]});_0x57c0b3['on'](_0x183d98[_0x5e9fd9(0x1b5)],async _0x36a4a1=>{const _0x4d780f=_0x5e9fd9;logger['debug'](_0x4d780f(0x1ad)+_0x36a4a1),logger[_0x4d780f(0x1ce)](_0x4d780f(0x1d5)+_0x15875c),fs[_0x4d780f(0x1c3)](_0x15875c);});}module[a36_0x159265(0x1b7)]=run;
2
+ 'use strict';const a36_0x42d49f=a36_0x5102;(function(_0x3047e7,_0x5eda49){const _0x5e027e=a36_0x5102,_0x10dcf3=_0x3047e7();while(!![]){try{const _0x43ec63=parseInt(_0x5e027e(0x98))/0x1+parseInt(_0x5e027e(0xab))/0x2*(parseInt(_0x5e027e(0x87))/0x3)+parseInt(_0x5e027e(0xa5))/0x4+-parseInt(_0x5e027e(0x9a))/0x5+parseInt(_0x5e027e(0x7b))/0x6+-parseInt(_0x5e027e(0x79))/0x7*(-parseInt(_0x5e027e(0x84))/0x8)+-parseInt(_0x5e027e(0x7f))/0x9*(parseInt(_0x5e027e(0x77))/0xa);if(_0x43ec63===_0x5eda49)break;else _0x10dcf3['push'](_0x10dcf3['shift']());}catch(_0x18b72e){_0x10dcf3['push'](_0x10dcf3['shift']());}}}(a36_0x2da5,0xe5df8));function a36_0x5102(_0xe09fd,_0x440075){const _0x2da57f=a36_0x2da5();return a36_0x5102=function(_0x510202,_0x181cd5){_0x510202=_0x510202-0x77;let _0xb76621=_0x2da57f[_0x510202];return _0xb76621;},a36_0x5102(_0xe09fd,_0x440075);}const fs=require('fs'),path=require(a36_0x42d49f(0x93)),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a36_0x42d49f(0xad)],{default:BrowserStackSetup}=require(a36_0x42d49f(0xa7)),helper=require(a36_0x42d49f(0xac)),constants=require(a36_0x42d49f(0xa3)),getUserNightwatchConfigs=(_0x18f31d,_0x49d911)=>{const _0x321c4d=a36_0x42d49f,_0x5f2dd5={'yLLwi':_0x321c4d(0xb4),'pHvVm':'nightwatch.json','aTldc':function(_0x30ff90,_0x1167f1){return _0x30ff90(_0x1167f1);},'yRlEQ':_0x321c4d(0xa8)};let _0x4e70fa=null,_0x4d4346={};const _0x3d5ebe=_0x49d911[_0x321c4d(0x80)](_0x50fa3f=>_0x50fa3f==='--config');if(!helper[_0x321c4d(0xae)](_0x18f31d[_0x321c4d(0x89)])&&fs[_0x321c4d(0xb9)](path[_0x321c4d(0xb3)](process['cwd'](),_0x18f31d['config'])))_0x4e70fa=path['join'](process[_0x321c4d(0x85)](),_0x18f31d[_0x321c4d(0x89)]),_0x49d911['splice'](_0x3d5ebe,0x2);else{if(fs[_0x321c4d(0xb9)](path[_0x321c4d(0xb3)](process['cwd'](),_0x5f2dd5['yLLwi'])))_0x4e70fa=path[_0x321c4d(0xb3)](process['cwd'](),_0x5f2dd5[_0x321c4d(0x8d)]);else fs['existsSync'](path['join'](process[_0x321c4d(0x85)](),_0x5f2dd5[_0x321c4d(0x78)]))&&(_0x4e70fa=path[_0x321c4d(0xb3)](process[_0x321c4d(0x85)](),_0x5f2dd5[_0x321c4d(0x78)]));}return _0x4e70fa?(logger['info'](_0x321c4d(0xbd)+_0x4e70fa),_0x4d4346=_0x5f2dd5[_0x321c4d(0x81)](require,_0x4e70fa)):logger[_0x321c4d(0x9d)](_0x5f2dd5[_0x321c4d(0xa6)]),_0x4d4346;},removeExistingEnvs=_0x26b750=>{const _0x23f58d=a36_0x42d49f,_0x1ffdd3={};_0x1ffdd3[_0x23f58d(0x8f)]=function(_0xcfe292,_0x40001b){return _0xcfe292>_0x40001b;},_0x1ffdd3[_0x23f58d(0xaa)]=function(_0x29a165,_0x1b9c9e){return _0x29a165>_0x1b9c9e;};const _0xf55cae=_0x1ffdd3;let _0x13ada1=_0x26b750[_0x23f58d(0x80)](_0x116d2e=>_0x116d2e==='--env');_0xf55cae[_0x23f58d(0x8f)](_0x13ada1,-0x1)&&_0x26b750['splice'](_0x13ada1,0x2),_0x13ada1=_0x26b750[_0x23f58d(0x80)](_0x22a4ab=>_0x22a4ab==='-e'),_0xf55cae[_0x23f58d(0xaa)](_0x13ada1,-0x1)&&_0x26b750[_0x23f58d(0x8a)](_0x13ada1,0x2);};function a36_0x2da5(){const _0x54d553=['now','yLLwi','trim','WCvgK','modifyBrowserStackW3CCaps','env','port','path','forEach','desiredCapabilities','VgfjB','start_process','1410877EEliNb','split','5641645FPuQKk','webdriver','filter','info','platform','--config','VTNvC','msMQB','getPlatformName','../utils/constants','test','3311236pkuLGw','yRlEQ','../../helpers/BrowserStackSetup','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','child\x20process\x20exited\x20with\x20code\x20','kTzOL','2158nyHRVm','../../helpers/helper','winstonLogger','isUndefined','selenium','modifyBrowserStackCaps','YqmUh','nightwatch-browserstack.json','join','nightwatch.conf.js','writeFileSync','length','host','push','existsSync','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','jzVPH','mergeDeep','Getting\x20your\x20nightwatch\x20configs\x20from\x20','RJUMN','17476090nTEKXB','pHvVm','279181uCPDZE','close','571842lqpCBN','slice','HibEh','nightwatch','9WCrlUE','findIndex','aTldc','UfbpJ','uSeBA','24iPOCzY','cwd','inherit','3792DVISNd','platforms','config','splice','test_settings'];a36_0x2da5=function(){return _0x54d553;};return a36_0x2da5();}function run(_0x5cd92a,_0x47e6f7,_0x37b986){const _0x436dee=a36_0x42d49f,_0x276d35={'UfbpJ':_0x436dee(0x7e),'FzeNb':function(_0x20a498,_0x51748a){return _0x20a498+_0x51748a;},'uSeBA':_0x436dee(0x8b),'Mielp':function(_0x5cc5f6,_0x4a53ca,_0x93295b){return _0x5cc5f6(_0x4a53ca,_0x93295b);},'VgfjB':'hub.browserstack.com','GsZyy':_0x436dee(0xba),'ZcEBr':function(_0x13ec21,_0x21f2ca){return _0x13ec21===_0x21f2ca;},'QGMjw':_0x436dee(0xb2),'GaIuW':function(_0x222626,_0x291887){return _0x222626(_0x291887);},'ukNNg':function(_0x346752,_0x292969,_0x852662,_0x5a0abe){return _0x346752(_0x292969,_0x852662,_0x5a0abe);},'jzVPH':'nightwatch.cmd','RJUMN':_0x436dee(0x9f),'HibEh':'--env','YqmUh':_0x436dee(0x86),'msMQB':_0x436dee(0x7a)};if(!_0x37b986[_0x436dee(0x89)])return;const _0x496b0d=_0x276d35['Mielp'](getUserNightwatchConfigs,_0x5cd92a,_0x47e6f7),_0x2f84a9={};_0x2f84a9[_0x436dee(0x97)]=![];const _0x58bd4d={};_0x58bd4d[_0x436dee(0xb7)]=_0x276d35[_0x436dee(0x96)],_0x58bd4d[_0x436dee(0x92)]=0x1bb;const _0x1d4899={};_0x1d4899[_0x436dee(0x9b)]=_0x2f84a9,_0x1d4899[_0x436dee(0xaf)]=_0x58bd4d;const _0x8c001c=_0x1d4899;logger[_0x436dee(0x9d)](_0x276d35['GsZyy']);const _0x9d3a14={..._0x496b0d},_0x25f806=_0x9d3a14,_0x1d4771=helper['useW3C'](_0x37b986[_0x436dee(0x89)]),_0x3bb60b=[];_0x37b986[_0x436dee(0x89)][_0x436dee(0x88)][_0x436dee(0x94)]((_0x1454b7,_0x919dba)=>{const _0x565053=_0x436dee;_0x1d4771?_0x3bb60b['push'](helper[_0x565053(0x90)](_0x37b986[_0x565053(0x89)],_0x276d35[_0x565053(0x82)],_0x919dba)):_0x3bb60b[_0x565053(0xb8)](helper[_0x565053(0xb0)](_0x37b986[_0x565053(0x89)],_0x276d35[_0x565053(0x82)],_0x919dba));});const _0x4c59c0={},_0x3a7d29=[];_0x5cd92a['env']=_0x5cd92a[_0x436dee(0x91)]||_0x5cd92a['e'];const _0xcec3e3=_0x5cd92a[_0x436dee(0x91)]?_0x5cd92a[_0x436dee(0x91)][_0x436dee(0x8e)]()[_0x436dee(0x99)](',')['map'](_0x431091=>_0x431091[_0x436dee(0x8e)]())[_0x436dee(0x9c)](_0x3af89f=>_0x3af89f!==''):[''];_0x276d35['ZcEBr'](_0xcec3e3[_0x436dee(0xb6)],0x0)&&_0xcec3e3[_0x436dee(0xb8)]('');_0xcec3e3[_0x436dee(0x94)](_0x2939c5=>{const _0x459b12=_0x436dee,_0x2dd123={'Aorst':function(_0x2d4158,_0x4e859f){return _0x276d35['FzeNb'](_0x2d4158,_0x4e859f);},'VTNvC':_0x276d35[_0x459b12(0x83)]};_0x3bb60b['forEach'](_0x10c5ae=>{const _0xe62cd=_0x459b12;let _0xf77b44=_0x2dd123['Aorst'](helper[_0xe62cd(0xa2)](_0x10c5ae,'_'),'_'+Date[_0xe62cd(0x8c)]());_0x2939c5&&(_0xf77b44+='_'+_0x2939c5);if(_0x2939c5&&(!_0x496b0d[_0x2dd123[_0xe62cd(0xa0)]]||!_0x496b0d[_0x2dd123['VTNvC']][_0x2939c5]))return;const _0x26352f={..._0x8c001c};_0x26352f[_0xe62cd(0x95)]=_0x10c5ae;const _0x8ac154=_0x26352f;_0x4c59c0[_0xf77b44]=_0x2939c5?helper[_0xe62cd(0xbc)](_0x496b0d[_0x2dd123[_0xe62cd(0xa0)]][_0x2939c5],_0x8ac154):_0x8ac154,_0x3a7d29[_0xe62cd(0xb8)](_0xf77b44);});});!_0x25f806[_0x436dee(0x8b)]&&(_0x25f806[_0x436dee(0x8b)]={});_0x25f806[_0x436dee(0x8b)]={..._0x25f806['test_settings'],..._0x4c59c0};const _0x18c3fa=path[_0x436dee(0xb3)](__dirname,_0x276d35['QGMjw']);fs[_0x436dee(0xb5)](_0x18c3fa,JSON['stringify'](_0x25f806)),_0x276d35['GaIuW'](removeExistingEnvs,_0x47e6f7);const _0x426c68=_0x276d35['ukNNg'](spawn,/^win/[_0x436dee(0xa4)](process[_0x436dee(0x9e)])?_0x276d35[_0x436dee(0xbb)]:_0x276d35['UfbpJ'],[_0x276d35[_0x436dee(0xbe)],_0x18c3fa,..._0x47e6f7[_0x436dee(0x7c)](0x1),_0x276d35[_0x436dee(0x7d)],_0x3a7d29[_0x436dee(0xb3)](',')],{'stdio':_0x276d35[_0x436dee(0xb1)]});_0x426c68['on'](_0x276d35[_0x436dee(0xa1)],async _0x2c65f6=>{const _0x553384=_0x436dee;logger['debug'](_0x553384(0xa9)+_0x2c65f6),logger['info']('Deleting\x20'+_0x18c3fa),fs['unlinkSync'](_0x18c3fa);});}module['exports']=run;
@@ -1 +1 @@
1
- function a37_0x11f4(){const _0x17ff3c=['865666ThspGE','winstonLogger','PSvOb','accessibilityOptions.scannerProcessingTimeout','diFrs','env','bstackSdkArgs','platformValidation','qmDLi','285165jUroio','BS_A11Y_JWT','parse','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','No\x20summaryResults\x20found.','nEiqF','(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','280YtpAWT','deviceName','measureWrapper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','rUavU','WebDriver','currentTest','../../helpers/performance/performance-tester','PwGBU','eOxgI','workerInfo','JoIix','dUALQ','scannerProcessingTimeout','232LKbpTC','oHpzC','debug','playwright-chromium','../../helpers/accessibility-automation/helper','browser','warn','IHeBM','accessibilityOptions.includeIssueType.needsReview','OCpCz','chromium','269180XiTWxt','tLpDk','cvHSQ','browser_version','includeIssueType','../../helpers/accessibility-automation/scripts','performScan','IiQjg','wcagVersion','use','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','error','accessibilityOptions','../../helpers/logger','browserName','FpfRK','name','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','vhCpT','ckfnO','replace','stringify','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','wsEndpoint','\x20page:\x20','project','ERZaz','47614oHUXvG','PpzSz','1419558bYdKPU','nNFQd','nuKLB','accessibilityOptions.wcagVersion','5632608pDzWQj','FdSIH','browserStackExecuteDriver','connectOptions','VjcJs','No\x20accessibility\x20results\x20were\x20found.','UBSwW','YSFxl','oGHQT','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','getAccessibilityResults','MrWtF','hAXAO','browserstack.accessibility','PERFORM_SCAN','bestPractice','138ZZWHow','getAccessibilityResultsSummary','IKjBw','KXvwL','../../helpers/helper','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','executeScript','accessibilityPlatform','TgEoD','(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','command','KtZmg','needsReview','testInfo','Performing\x20scan\x20with\x20method:\x20','executeAsyncScript','VIOpL','util','includes','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','latest','format','18695DxYdLj','cXWRX','fZfFN','QvwRg','constructor','pNLDU','ArnWB','cIabE','jzSbb'];a37_0x11f4=function(){return _0x17ff3c;};return a37_0x11f4();}const a37_0x48a530=a37_0x19ea;(function(_0x3b7bdf,_0x364784){const _0x536403=a37_0x19ea,_0x366ccf=_0x3b7bdf();while(!![]){try{const _0x2750dc=-parseInt(_0x536403(0x22d))/0x1+parseInt(_0x536403(0x1dd))/0x2+-parseInt(_0x536403(0x1fa))/0x3+-parseInt(_0x536403(0x24b))/0x4*(-parseInt(_0x536403(0x224))/0x5)+-parseInt(_0x536403(0x20e))/0x6*(parseInt(_0x536403(0x1f8))/0x7)+parseInt(_0x536403(0x1fe))/0x8+-parseInt(_0x536403(0x236))/0x9*(-parseInt(_0x536403(0x23d))/0xa);if(_0x2750dc===_0x364784)break;else _0x366ccf['push'](_0x366ccf['shift']());}catch(_0x24b030){_0x366ccf['push'](_0x366ccf['shift']());}}}(a37_0x11f4,0x6d3b2));function a37_0x19ea(_0x4265d9,_0x59e29f){const _0x11f42f=a37_0x11f4();return a37_0x19ea=function(_0x19eab7,_0x2baf19){_0x19eab7=_0x19eab7-0x1d4;let _0x59c72b=_0x11f42f[_0x19eab7];return _0x59c72b;},a37_0x19ea(_0x4265d9,_0x59e29f);}const util=require(a37_0x48a530(0x21f)),logger=require(a37_0x48a530(0x1ea))[a37_0x48a530(0x22e)],{isAccessibilityAutomationSession}=require(a37_0x48a530(0x1d6)),{isUndefined,isBrowserstackInfra}=require(a37_0x48a530(0x212)),scripts=require(a37_0x48a530(0x1e2)),PerformanceTester=require(a37_0x48a530(0x244)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports['browserStackEvaluate']=async(_0x35f9f5,_0x1cfb9a,_0x10d645={})=>{const _0x3e91ee=a37_0x48a530,_0x1bab90={};_0x1bab90[_0x3e91ee(0x1db)]=_0x3e91ee(0x233);const _0x2299f8=_0x1bab90;return await _0x35f9f5['evaluate'](_0x3e91ee(0x23c)+_0x1cfb9a[_0x3e91ee(0x1f1)](/arguments/g,_0x2299f8[_0x3e91ee(0x1db)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x3e91ee(0x1f2)](_0x10d645)+')');},exports[a37_0x48a530(0x200)]=async(_0x45efc9,_0xf6333a,_0x1c61ee={})=>{const _0x1ce531=a37_0x48a530,_0x19fbc9={};_0x19fbc9['TgEoD']=function(_0x2e45ae,_0x5d9416){return _0x2e45ae===_0x5d9416;},_0x19fbc9[_0x1ce531(0x246)]=_0x1ce531(0x242),_0x19fbc9[_0x1ce531(0x22c)]='Playwright',_0x19fbc9[_0x1ce531(0x241)]=_0x1ce531(0x233);const _0x2da509=_0x19fbc9;if(_0x2da509[_0x1ce531(0x216)](_0x45efc9[_0x1ce531(0x228)][_0x1ce531(0x1ed)],_0x2da509[_0x1ce531(0x246)]))return await _0x45efc9[_0x1ce531(0x21d)](_0xf6333a,_0x1c61ee);else{if(_0x2da509[_0x1ce531(0x216)](_0x45efc9[_0x1ce531(0x228)][_0x1ce531(0x1ed)],_0x2da509['jzSbb']))return await _0x45efc9[_0x1ce531(0x214)](_0x1ce531(0x217)+_0xf6333a[_0x1ce531(0x1f1)](/arguments/g,_0x2da509[_0x1ce531(0x241)])+_0x1ce531(0x239)+JSON['stringify'](_0x1c61ee)+')');}},exports['setAccessibilityCapabilities']=async _0x2c459f=>{const _0x39e9f0=a37_0x48a530,_0x5b1ce0={};_0x5b1ce0[_0x39e9f0(0x1d9)]=_0x39e9f0(0x1fd),_0x5b1ce0[_0x39e9f0(0x227)]=_0x39e9f0(0x230),_0x5b1ce0[_0x39e9f0(0x1f7)]='accessibilityOptions.includeIssueType.bestPractice',_0x5b1ce0[_0x39e9f0(0x1f0)]=_0x39e9f0(0x1da),_0x5b1ce0[_0x39e9f0(0x235)]='accessibilityOptions.authToken',_0x5b1ce0['PSvOb']='accessibilityOptions.scannerVersion';const _0x25fdd1=_0x5b1ce0;_0x2c459f['accessibilityOptions']&&(_0x2c459f['accessibilityOptions'][_0x39e9f0(0x1e5)]&&(_0x2c459f[_0x25fdd1[_0x39e9f0(0x1d9)]]=_0x2c459f[_0x39e9f0(0x1e9)]['wcagVersion']),_0x2c459f['accessibilityOptions']['scannerProcessingTimeout']&&(_0x2c459f[_0x25fdd1[_0x39e9f0(0x227)]]=_0x2c459f[_0x39e9f0(0x1e9)][_0x39e9f0(0x24a)]),_0x2c459f[_0x39e9f0(0x1e9)]['includeIssueType']&&(_0x2c459f[_0x25fdd1['ERZaz']]=_0x2c459f[_0x39e9f0(0x1e9)][_0x39e9f0(0x1e1)][_0x39e9f0(0x20d)],_0x2c459f[_0x25fdd1[_0x39e9f0(0x1f0)]]=_0x2c459f['accessibilityOptions'][_0x39e9f0(0x1e1)][_0x39e9f0(0x21a)]));const _0x192a0c=JSON[_0x39e9f0(0x238)](process[_0x39e9f0(0x232)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])['scannerVersion'];_0x2c459f[_0x25fdd1['qmDLi']]=process[_0x39e9f0(0x232)][_0x39e9f0(0x237)],_0x2c459f[_0x25fdd1[_0x39e9f0(0x22f)]]=_0x192a0c,delete _0x2c459f['accessibilityOptions'];},exports[a37_0x48a530(0x208)]=async _0x1cd02e=>{const _0x33c032=a37_0x48a530,_0x190614={};_0x190614['dUALQ']=_0x33c032(0x203),_0x190614['nEiqF']=_0x33c032(0x213);const _0x5eda5a=_0x190614;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x1cd02e,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x1cd02e,scripts.getResults);})();return res;}catch{return logger[_0x33c032(0x1e8)](_0x5eda5a[_0x33c032(0x249)]),[];}else return logger['warn'](_0x5eda5a[_0x33c032(0x23b)]),[];},exports[a37_0x48a530(0x1e3)]=async(_0x4562f8,_0x21a808='')=>{const _0x450e95=a37_0x48a530;logger[_0x450e95(0x1d4)](_0x450e95(0x21c)+_0x21a808+_0x450e95(0x1f5)+_0x4562f8);if(global['accessibilityPlatform'])return await PerformanceTester[_0x450e95(0x23f)](PerformanceA11yEvents[_0x450e95(0x20c)],async()=>{const _0x4cdf79=_0x450e95,_0x4e3ec0={};_0x4e3ec0[_0x4cdf79(0x218)]=_0x21a808,await exports['browserStackEvaluate'](_0x4562f8,scripts['performScan'],_0x4e3ec0);},{'command':_0x21a808})();},exports[a37_0x48a530(0x20f)]=async _0x4731a2=>{const _0x2dff01=a37_0x48a530,_0xdb68bc={};_0xdb68bc['UBSwW']=_0x2dff01(0x23a),_0xdb68bc[_0x2dff01(0x211)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x4e27b0=_0xdb68bc;if(global[_0x2dff01(0x215)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4731a2,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4731a2,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x2dff01(0x1d4)](_0x4e27b0[_0x2dff01(0x204)]),{};}else return logger[_0x2dff01(0x1d8)](_0x4e27b0['KXvwL']),{};},exports[a37_0x48a530(0x234)]=async _0x62e763=>{const _0x5a6c25=a37_0x48a530,_0x20c000={'VjcJs':function(_0x25f8bd,_0x3c2f3c){return _0x25f8bd!==_0x3c2f3c;},'KtZmg':_0x5a6c25(0x240),'TTCzH':'chrome','PpzSz':'playwright-chromium','FdSIH':_0x5a6c25(0x1dc),'diFrs':_0x5a6c25(0x1e7),'rfVPi':function(_0x1fca38,_0x35b463){return _0x1fca38(_0x35b463);},'fZfFN':function(_0x11a478){return _0x11a478();},'hsuOA':function(_0x236d38,_0x332821){return _0x236d38<_0x332821;},'nuKLB':_0x5a6c25(0x1f3),'dlQVh':function(_0x531092,_0x304fde){return _0x531092===_0x304fde;},'ZySNS':_0x5a6c25(0x222),'VIOpL':function(_0x1798f4,_0x37d511){return _0x1798f4>_0x37d511;},'hAXAO':_0x5a6c25(0x221)};try{if(!_0x20c000[_0x5a6c25(0x202)](_0x62e763['deviceName'],''))return logger[_0x5a6c25(0x1d8)](_0x20c000[_0x5a6c25(0x219)]),![];const _0x16926a=_0x62e763[_0x5a6c25(0x1d7)];if(![_0x20c000['TTCzH'],_0x20c000[_0x5a6c25(0x1f9)],_0x20c000[_0x5a6c25(0x1ff)]][_0x5a6c25(0x220)](_0x16926a))return logger[_0x5a6c25(0x1d8)](_0x20c000[_0x5a6c25(0x231)]),![];const _0x11351b=_0x20c000['rfVPi'](parseInt,_0x62e763[_0x5a6c25(0x1e0)]);!_0x20c000[_0x5a6c25(0x226)](isBrowserstackInfra)&&(!_0x20c000['hsuOA'](_0x11351b,0x64)&&logger[_0x5a6c25(0x1d8)](_0x20c000[_0x5a6c25(0x1fc)]));if(!(_0x20c000['dlQVh'](_0x11351b,_0x20c000['ZySNS'])||_0x20c000[_0x5a6c25(0x21e)](_0x11351b,0x5e)))return logger['warn'](_0x20c000[_0x5a6c25(0x20a)]),![];}catch(_0x42d86f){logger[_0x5a6c25(0x1d4)](_0x5a6c25(0x1ee)+util['format'](_0x42d86f));}return!![];},exports['processAccessibilityCaps']=(_0x2c4dc0,_0x28b2b1,_0x59ad78)=>{const _0x384e7a=a37_0x48a530,_0x100e9c={'IKjBw':function(_0x44a524){return _0x44a524();},'oGHQT':_0x384e7a(0x20b),'JoIix':function(_0x145f10,_0x3b10ff){return _0x145f10===_0x3b10ff;},'ArnWB':'chrome','IiQjg':_0x384e7a(0x1d5),'oHpzC':function(_0x5bbc1e,_0x4c2ad5){return _0x5bbc1e===_0x4c2ad5;},'FpfRK':_0x384e7a(0x1e7),'vhCpT':function(_0x559b39){return _0x559b39();},'cXWRX':function(_0x581263,_0x36e149){return _0x581263>_0x36e149;},'YSFxl':_0x384e7a(0x1f3),'cvHSQ':function(_0x19bc00,_0x57d8e9){return _0x19bc00===_0x57d8e9;},'pNLDU':_0x384e7a(0x222),'tLpDk':function(_0x6cda6f,_0x5c5b0b){return _0x6cda6f>_0x5c5b0b;},'PwGBU':_0x384e7a(0x221),'cIabE':function(_0x47ea55,_0x20578b){return _0x47ea55(_0x20578b);},'JWhNi':_0x384e7a(0x240),'MrWtF':function(_0x1aae89,_0x3df109){return _0x1aae89+_0x3df109;},'nNFQd':function(_0x4945df,_0x206ab9){return _0x4945df(_0x206ab9);}};try{if(_0x100e9c[_0x384e7a(0x210)](isAccessibilityAutomationSession)){global[_0x384e7a(0x215)]=!![];!_0x2c4dc0[_0x100e9c['oGHQT']]&&(global[_0x384e7a(0x215)]=![]);!(_0x100e9c[_0x384e7a(0x248)](_0x2c4dc0[_0x384e7a(0x1eb)],_0x100e9c[_0x384e7a(0x22a)])||_0x100e9c[_0x384e7a(0x248)](_0x2c4dc0[_0x384e7a(0x1eb)],_0x100e9c[_0x384e7a(0x1e4)])||_0x100e9c[_0x384e7a(0x24c)](_0x2c4dc0[_0x384e7a(0x1d7)],_0x100e9c[_0x384e7a(0x22a)])||_0x100e9c['JoIix'](_0x2c4dc0[_0x384e7a(0x1d7)],_0x100e9c[_0x384e7a(0x1e4)]))&&(logger[_0x384e7a(0x1d8)](_0x100e9c[_0x384e7a(0x1ec)]),global[_0x384e7a(0x215)]=![]);!_0x100e9c[_0x384e7a(0x1ef)](isBrowserstackInfra)&&(!_0x100e9c[_0x384e7a(0x225)](_0x2c4dc0[_0x384e7a(0x1e0)],0x64)&&logger[_0x384e7a(0x1d8)](_0x100e9c[_0x384e7a(0x205)]));!(_0x100e9c[_0x384e7a(0x1df)](_0x2c4dc0[_0x384e7a(0x1e0)],_0x100e9c[_0x384e7a(0x229)])||_0x100e9c[_0x384e7a(0x1de)](_0x2c4dc0[_0x384e7a(0x1e0)],0x5e))&&(logger[_0x384e7a(0x1d8)](_0x100e9c[_0x384e7a(0x245)]),global[_0x384e7a(0x215)]=![]);!_0x100e9c[_0x384e7a(0x22b)](isUndefined,_0x2c4dc0[_0x384e7a(0x23e)])&&(logger['warn'](_0x100e9c['JWhNi']),global[_0x384e7a(0x215)]=![]);if(!global[_0x384e7a(0x215)]){_0x2c4dc0[_0x100e9c[_0x384e7a(0x206)]]=![];const _0x3d2de2=_0x100e9c[_0x384e7a(0x209)](_0x28b2b1,_0x100e9c[_0x384e7a(0x1fb)](encodeURIComponent,JSON[_0x384e7a(0x1f2)](_0x2c4dc0)));_0x59ad78&&(_0x59ad78[_0x384e7a(0x243)][_0x384e7a(0x21b)]['project'][_0x384e7a(0x1e6)][_0x384e7a(0x201)][_0x384e7a(0x1f4)]=_0x3d2de2,_0x59ad78[_0x384e7a(0x247)][_0x384e7a(0x1f6)][_0x384e7a(0x1e6)][_0x384e7a(0x201)][_0x384e7a(0x1f4)]=_0x3d2de2);}}else global[_0x384e7a(0x215)]=![];}catch(_0x462306){logger[_0x384e7a(0x1d4)](_0x384e7a(0x207)+util[_0x384e7a(0x223)](_0x462306));}};
1
+ function a37_0x3363(){const _0x230d69=['Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','accessibilityOptions.includeIssueType.needsReview','getAccessibilityResults','71600HuJmBK','chromium','../../helpers/accessibility-automation/scripts','sFOBW','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','3879dMJzVh','debug','VKRGV','includeIssueType','No\x20accessibility\x20results\x20were\x20found.','No\x20summaryResults\x20found.','stringify','jGUOf','../../helpers/helper','BjAxV','browser_version','playwright-chromium','browserStackEvaluate','replace','OJPKL','deviceName','accessibilityPlatform','WebDriver','evaluate','winstonLogger','VXEDA','wmgMu','measureWrapper','accessibilityOptions.includeIssueType.bestPractice','uasBe','connectOptions','DzVAy','\x20page:\x20','browser','needsReview','../../helpers/logger','btZJF','1460DLZsdh','hnMEH','performScan','Performing\x20scan\x20with\x20method:\x20','540505KrihfB','199830onwPLx','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','currentTest','AIygk','6129wSdRwD','mrfJw','ZsbbT','scannerVersion','(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','yjoyg','YYghU','executeScript','accessibilityOptions.scannerProcessingTimeout','../../helpers/performance/constants','accessibilityOptions.wcagVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','(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','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','fJEhO','name','platformValidation','parse','PvXAR','constructor','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','format','latest','MbxcM','browserStackExecuteDriver','env','project','../../helpers/accessibility-automation/helper','aQzki','getAccessibilityResultsSummary','LgXpr','../../helpers/performance/performance-tester','ewyKu','OSYgh','browserName','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','pCqfO','733944lGrZfa','6301526dNAVaP','12NjtrZS','dpEeu','tJCwC','xcanr','accessibilityOptions','LAwQW','util','Ktpry','FqjaD','includes','use','warn','processAccessibilityCaps','bstackSdkArgs','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','ygefL','otRrR','kYZNe','wcagVersion','8SwEKDI','kTAXh','PERFORM_SCAN','scannerProcessingTimeout','accessibilityOptions.authToken','workerInfo','QdBNW','TDEPE','KIrnL','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','setAccessibilityCapabilities','aTtof','wsEndpoint','326OSIrMo'];a37_0x3363=function(){return _0x230d69;};return a37_0x3363();}const a37_0x1ae385=a37_0x3fcf;function a37_0x3fcf(_0x4d7035,_0x45744f){const _0x33634d=a37_0x3363();return a37_0x3fcf=function(_0x3fcfa1,_0x26a182){_0x3fcfa1=_0x3fcfa1-0xec;let _0x4d6c6d=_0x33634d[_0x3fcfa1];return _0x4d6c6d;},a37_0x3fcf(_0x4d7035,_0x45744f);}(function(_0x799bdb,_0x2e0e3b){const _0x44f503=a37_0x3fcf,_0x2414c6=_0x799bdb();while(!![]){try{const _0xa48ecd=-parseInt(_0x44f503(0xf1))/0x1+-parseInt(_0x44f503(0xed))/0x2*(parseInt(_0x44f503(0xf7))/0x3)+-parseInt(_0x44f503(0x147))/0x4*(-parseInt(_0x44f503(0x11c))/0x5)+-parseInt(_0x44f503(0x145))/0x6+parseInt(_0x44f503(0x11b))/0x7*(-parseInt(_0x44f503(0x15a))/0x8)+parseInt(_0x44f503(0x120))/0x9*(-parseInt(_0x44f503(0x117))/0xa)+parseInt(_0x44f503(0x146))/0xb;if(_0xa48ecd===_0x2e0e3b)break;else _0x2414c6['push'](_0x2414c6['shift']());}catch(_0x4269f9){_0x2414c6['push'](_0x2414c6['shift']());}}}(a37_0x3363,0x1b350));const util=require(a37_0x1ae385(0x14d)),logger=require(a37_0x1ae385(0x115))[a37_0x1ae385(0x10a)],{isAccessibilityAutomationSession}=require(a37_0x1ae385(0x13b)),{isUndefined,isBrowserstackInfra}=require(a37_0x1ae385(0xff)),scripts=require(a37_0x1ae385(0xf3)),PerformanceTester=require(a37_0x1ae385(0x13f)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a37_0x1ae385(0x129));exports[a37_0x1ae385(0x103)]=async(_0x58184a,_0x3c726e,_0x2b84ce={})=>{const _0x2a08f6=a37_0x1ae385,_0x23b220={};_0x23b220[_0x2a08f6(0x132)]=_0x2a08f6(0x154);const _0x47e2fd=_0x23b220;return await _0x58184a[_0x2a08f6(0x109)](_0x2a08f6(0x124)+_0x3c726e[_0x2a08f6(0x104)](/arguments/g,_0x47e2fd[_0x2a08f6(0x132)])+_0x2a08f6(0x143)+JSON[_0x2a08f6(0xfd)](_0x2b84ce)+')');},exports[a37_0x1ae385(0x138)]=async(_0x4f59a8,_0xfc44da,_0xad97c1={})=>{const _0xdb0721=a37_0x1ae385,_0x407c5b={};_0x407c5b[_0xdb0721(0x111)]=function(_0x40c740,_0x25e5bf){return _0x40c740===_0x25e5bf;},_0x407c5b[_0xdb0721(0x165)]=_0xdb0721(0x108),_0x407c5b[_0xdb0721(0x10f)]=function(_0xfe8e1c,_0x228e00){return _0xfe8e1c===_0x228e00;},_0x407c5b[_0xdb0721(0xfe)]='Playwright',_0x407c5b[_0xdb0721(0xf4)]=_0xdb0721(0x154);const _0x574ed7=_0x407c5b;if(_0x574ed7[_0xdb0721(0x111)](_0x4f59a8['constructor'][_0xdb0721(0x12f)],_0x574ed7[_0xdb0721(0x165)]))return await _0x4f59a8['executeAsyncScript'](_0xfc44da,_0xad97c1);else{if(_0x574ed7[_0xdb0721(0x10f)](_0x4f59a8[_0xdb0721(0x133)]['name'],_0x574ed7['jGUOf']))return await _0x4f59a8[_0xdb0721(0x127)](_0xdb0721(0x12c)+_0xfc44da[_0xdb0721(0x104)](/arguments/g,_0x574ed7[_0xdb0721(0xf4)])+_0xdb0721(0x11d)+JSON[_0xdb0721(0xfd)](_0xad97c1)+')');}},exports[a37_0x1ae385(0x164)]=async _0x2bcf5b=>{const _0x47b93b=a37_0x1ae385,_0x92418d={};_0x92418d[_0x47b93b(0x116)]=_0x47b93b(0x12a),_0x92418d[_0x47b93b(0x160)]=_0x47b93b(0x128),_0x92418d[_0x47b93b(0x11f)]=_0x47b93b(0x10e),_0x92418d[_0x47b93b(0x121)]=_0x47b93b(0xef),_0x92418d[_0x47b93b(0x156)]=_0x47b93b(0x15e),_0x92418d[_0x47b93b(0x149)]='accessibilityOptions.scannerVersion';const _0xf58093=_0x92418d;_0x2bcf5b[_0x47b93b(0x14b)]&&(_0x2bcf5b['accessibilityOptions'][_0x47b93b(0x159)]&&(_0x2bcf5b[_0xf58093['btZJF']]=_0x2bcf5b[_0x47b93b(0x14b)]['wcagVersion']),_0x2bcf5b[_0x47b93b(0x14b)][_0x47b93b(0x15d)]&&(_0x2bcf5b[_0xf58093[_0x47b93b(0x160)]]=_0x2bcf5b[_0x47b93b(0x14b)][_0x47b93b(0x15d)]),_0x2bcf5b[_0x47b93b(0x14b)][_0x47b93b(0xfa)]&&(_0x2bcf5b[_0xf58093['AIygk']]=_0x2bcf5b[_0x47b93b(0x14b)]['includeIssueType']['bestPractice'],_0x2bcf5b[_0xf58093[_0x47b93b(0x121)]]=_0x2bcf5b[_0x47b93b(0x14b)][_0x47b93b(0xfa)][_0x47b93b(0x114)]));const _0x5a87ca=JSON[_0x47b93b(0x131)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x47b93b(0x123)];_0x2bcf5b[_0xf58093[_0x47b93b(0x156)]]=process[_0x47b93b(0x139)]['BS_A11Y_JWT'],_0x2bcf5b[_0xf58093[_0x47b93b(0x149)]]=_0x5a87ca,delete _0x2bcf5b[_0x47b93b(0x14b)];},exports[a37_0x1ae385(0xf0)]=async _0x4d6cfc=>{const _0x4b968f=a37_0x1ae385,_0x568534={};_0x568534['VKRGV']=_0x4b968f(0xfb),_0x568534[_0x4b968f(0x13c)]=_0x4b968f(0x163);const _0x5c2956=_0x568534;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x4d6cfc,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x4d6cfc,scripts.getResults);})();return res;}catch{return logger['error'](_0x5c2956[_0x4b968f(0xf9)]),[];}else return logger[_0x4b968f(0x152)](_0x5c2956[_0x4b968f(0x13c)]),[];},exports[a37_0x1ae385(0x119)]=async(_0x130227,_0x2d88c7='')=>{const _0x40df0a=a37_0x1ae385;logger['debug'](_0x40df0a(0x11a)+_0x2d88c7+_0x40df0a(0x112)+_0x130227);if(global[_0x40df0a(0x107)])return await PerformanceTester[_0x40df0a(0x10d)](PerformanceA11yEvents[_0x40df0a(0x15c)],async()=>{const _0x2eb614={};_0x2eb614['command']=_0x2d88c7,await exports['browserStackEvaluate'](_0x130227,scripts['performScan'],_0x2eb614);},{'command':_0x2d88c7})();},exports[a37_0x1ae385(0x13d)]=async _0x565b0c=>{const _0x2ae7e0=a37_0x1ae385,_0xe089bf={};_0xe089bf['pCqfO']=_0x2ae7e0(0xfc),_0xe089bf['ohpPa']=_0x2ae7e0(0xee);const _0x52f47f=_0xe089bf;if(global[_0x2ae7e0(0x107)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x565b0c,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x565b0c,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x52f47f[_0x2ae7e0(0x144)]),{};}else return logger['warn'](_0x52f47f['ohpPa']),{};},exports[a37_0x1ae385(0x130)]=async _0x16df6a=>{const _0x1b5cc1=a37_0x1ae385,_0x5c4d2f={'pntzm':function(_0x393909,_0x25849b){return _0x393909!==_0x25849b;},'fJEhO':_0x1b5cc1(0xf6),'mGwsT':'chrome','MbxcM':_0x1b5cc1(0x102),'VXEDA':_0x1b5cc1(0xf2),'yjoyg':_0x1b5cc1(0xf5),'KIrnL':function(_0x51d211,_0xc62c2c){return _0x51d211(_0xc62c2c);},'FqjaD':function(_0x280dbf){return _0x280dbf();},'TDEPE':function(_0x58a007,_0x22c189){return _0x58a007<_0x22c189;},'LAwQW':_0x1b5cc1(0x12b),'YvNDB':function(_0x472604,_0x2c956a){return _0x472604===_0x2c956a;},'rdhas':'latest','kYZNe':function(_0x50b3bc,_0x1720e1){return _0x50b3bc>_0x1720e1;},'OSYgh':_0x1b5cc1(0x12d)};try{if(!_0x5c4d2f['pntzm'](_0x16df6a[_0x1b5cc1(0x106)],''))return logger[_0x1b5cc1(0x152)](_0x5c4d2f[_0x1b5cc1(0x12e)]),![];const _0x13af58=_0x16df6a[_0x1b5cc1(0x113)];if(![_0x5c4d2f['mGwsT'],_0x5c4d2f[_0x1b5cc1(0x137)],_0x5c4d2f[_0x1b5cc1(0x10b)]][_0x1b5cc1(0x150)](_0x13af58))return logger[_0x1b5cc1(0x152)](_0x5c4d2f[_0x1b5cc1(0x125)]),![];const _0x331ba2=_0x5c4d2f[_0x1b5cc1(0x162)](parseInt,_0x16df6a['browser_version']);!_0x5c4d2f[_0x1b5cc1(0x14f)](isBrowserstackInfra)&&(!_0x5c4d2f[_0x1b5cc1(0x161)](_0x331ba2,0x64)&&logger[_0x1b5cc1(0x152)](_0x5c4d2f[_0x1b5cc1(0x14c)]));if(!(_0x5c4d2f['YvNDB'](_0x331ba2,_0x5c4d2f['rdhas'])||_0x5c4d2f[_0x1b5cc1(0x158)](_0x331ba2,0x5e)))return logger[_0x1b5cc1(0x152)](_0x5c4d2f[_0x1b5cc1(0x141)]),![];}catch(_0x104d0d){logger[_0x1b5cc1(0xf8)](_0x1b5cc1(0x155)+util['format'](_0x104d0d));}return!![];},exports[a37_0x1ae385(0x153)]=(_0x42d7e5,_0x39b3c6,_0x54fbad)=>{const _0x3f6412=a37_0x1ae385,_0x41448d={'dpEeu':function(_0x28585d){return _0x28585d();},'BjAxV':'browserstack.accessibility','wmgMu':function(_0x451b49,_0x5a6632){return _0x451b49===_0x5a6632;},'OJPKL':'chrome','YYghU':'playwright-chromium','xcanr':_0x3f6412(0xf5),'LgXpr':function(_0x8aa2a6){return _0x8aa2a6();},'kTAXh':function(_0x454dad,_0x741c14){return _0x454dad>_0x741c14;},'fRbWY':_0x3f6412(0x12b),'ZsbbT':function(_0x471b56,_0x940c37){return _0x471b56===_0x940c37;},'cJZOe':_0x3f6412(0x136),'hnMEH':function(_0x19fc56,_0x506ac0){return _0x19fc56>_0x506ac0;},'ewyKu':_0x3f6412(0x12d),'Ktpry':function(_0x2c2578,_0x481159){return _0x2c2578(_0x481159);},'MOZJL':_0x3f6412(0xf6),'otRrR':function(_0x1f91e8,_0x256ba7){return _0x1f91e8+_0x256ba7;}};try{if(_0x41448d[_0x3f6412(0x148)](isAccessibilityAutomationSession)){global[_0x3f6412(0x107)]=!![];!_0x42d7e5[_0x41448d[_0x3f6412(0x100)]]&&(global[_0x3f6412(0x107)]=![]);!(_0x41448d['wmgMu'](_0x42d7e5['browserName'],_0x41448d['OJPKL'])||_0x41448d['wmgMu'](_0x42d7e5[_0x3f6412(0x142)],_0x41448d[_0x3f6412(0x126)])||_0x41448d[_0x3f6412(0x10c)](_0x42d7e5[_0x3f6412(0x113)],_0x41448d[_0x3f6412(0x105)])||_0x41448d['wmgMu'](_0x42d7e5[_0x3f6412(0x113)],_0x41448d['YYghU']))&&(logger[_0x3f6412(0x152)](_0x41448d[_0x3f6412(0x14a)]),global[_0x3f6412(0x107)]=![]);!_0x41448d[_0x3f6412(0x13e)](isBrowserstackInfra)&&(!_0x41448d[_0x3f6412(0x15b)](_0x42d7e5[_0x3f6412(0x101)],0x64)&&logger['warn'](_0x41448d['fRbWY']));!(_0x41448d[_0x3f6412(0x122)](_0x42d7e5[_0x3f6412(0x101)],_0x41448d['cJZOe'])||_0x41448d[_0x3f6412(0x118)](_0x42d7e5['browser_version'],0x5e))&&(logger['warn'](_0x41448d[_0x3f6412(0x140)]),global[_0x3f6412(0x107)]=![]);!_0x41448d[_0x3f6412(0x14e)](isUndefined,_0x42d7e5[_0x3f6412(0x106)])&&(logger['warn'](_0x41448d['MOZJL']),global[_0x3f6412(0x107)]=![]);if(!global[_0x3f6412(0x107)]){_0x42d7e5[_0x41448d['BjAxV']]=![];const _0x24f732=_0x41448d[_0x3f6412(0x157)](_0x39b3c6,_0x41448d[_0x3f6412(0x14e)](encodeURIComponent,JSON[_0x3f6412(0xfd)](_0x42d7e5)));_0x54fbad&&(_0x54fbad[_0x3f6412(0x11e)]['testInfo'][_0x3f6412(0x13a)][_0x3f6412(0x151)][_0x3f6412(0x110)][_0x3f6412(0xec)]=_0x24f732,_0x54fbad[_0x3f6412(0x15f)][_0x3f6412(0x13a)][_0x3f6412(0x151)][_0x3f6412(0x110)][_0x3f6412(0xec)]=_0x24f732);}}else global[_0x3f6412(0x107)]=![];}catch(_0x4dd6e5){logger[_0x3f6412(0xf8)](_0x3f6412(0x134)+util[_0x3f6412(0x135)](_0x4dd6e5));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a38_0x1727e8=a38_0xdcfa;(function(_0xfc7ba6,_0x24da6c){const _0xd2bf64=a38_0xdcfa,_0x11fa4a=_0xfc7ba6();while(!![]){try{const _0xa924f1=-parseInt(_0xd2bf64(0x1ce))/0x1*(parseInt(_0xd2bf64(0x1f8))/0x2)+-parseInt(_0xd2bf64(0x20a))/0x3+parseInt(_0xd2bf64(0x17f))/0x4+parseInt(_0xd2bf64(0x1b7))/0x5*(-parseInt(_0xd2bf64(0x20e))/0x6)+-parseInt(_0xd2bf64(0x1f7))/0x7+-parseInt(_0xd2bf64(0x1c9))/0x8+parseInt(_0xd2bf64(0x1d8))/0x9*(parseInt(_0xd2bf64(0x1b2))/0xa);if(_0xa924f1===_0x24da6c)break;else _0x11fa4a['push'](_0x11fa4a['shift']());}catch(_0x3c3fd6){_0x11fa4a['push'](_0x11fa4a['shift']());}}}(a38_0x4de8,0x8dfba));function a38_0xdcfa(_0x1507c1,_0x45028e){const _0x4de88b=a38_0x4de8();return a38_0xdcfa=function(_0xdcfa18,_0x47e216){_0xdcfa18=_0xdcfa18-0x167;let _0x38dbd6=_0x4de88b[_0xdcfa18];return _0x38dbd6;},a38_0xdcfa(_0x1507c1,_0x45028e);}const fs=require('fs'),path=require(a38_0x1727e8(0x178)),{spawn}=require('child_process'),{format}=require(a38_0x1727e8(0x209)),logger=require('../../helpers/logger')[a38_0x1727e8(0x1dc)],{default:BrowserStackSetup}=require(a38_0x1727e8(0x185)),helper=require(a38_0x1727e8(0x1ec)),utilities=require(a38_0x1727e8(0x215)),constants=require(a38_0x1727e8(0x19e)),{FRAMEWORKS}=require(a38_0x1727e8(0x179)),{getConfigLoaderPath}=require(a38_0x1727e8(0x199)),{checkAccessibilityPlatformConfig}=require(a38_0x1727e8(0x18f)),{setAccessibilityCapabilities}=require(a38_0x1727e8(0x20b)),{printBuildLink}=require(a38_0x1727e8(0x1d6)),TestDetails=require(a38_0x1727e8(0x1b9)),TestHubHandler=require(a38_0x1727e8(0x174)),PerformanceTester=require(a38_0x1727e8(0x16a)),BrowserstackCLI=require(a38_0x1727e8(0x196)),PerformanceEvents=require(a38_0x1727e8(0x1bc))[a38_0x1727e8(0x1e5)],CLIUtils=require(a38_0x1727e8(0x1ab)),TestInfo=require(a38_0x1727e8(0x1bd)),getUserPlaywrightConfig=async(_0x49846b,_0x1ba84a)=>{const _0xce1d42=a38_0x1727e8,_0x409c41={'GtozW':function(_0x195e28){return _0x195e28();},'uFXAs':function(_0x478b57,_0x481ec9){return _0x478b57(_0x481ec9);},'iFJjr':_0xce1d42(0x1ae),'gPZVU':'--config='},_0x3f175b=!helper[_0xce1d42(0x16c)](_0x49846b[_0xce1d42(0x18d)]),_0xa9b415=_0x3f175b?path[_0xce1d42(0x211)](process[_0xce1d42(0x175)](),_0x49846b['config']):process[_0xce1d42(0x175)](),{resolveConfigFile:_0x3ba521,resolveConfigLocation:_0x17feff}=helper[_0xce1d42(0x213)][_0xce1d42(0x1f1)](null,_0x409c41[_0xce1d42(0x16d)](getConfigLoaderPath)),_0x2ec175=_0x3ba521?_0x409c41[_0xce1d42(0x1cf)](_0x3ba521,_0xa9b415):helper[_0xce1d42(0x20d)](_0x409c41[_0xce1d42(0x1cf)](_0x17feff,_0xa9b415),[_0x409c41['iFJjr']]),_0x52df91={};if(_0x3f175b){const _0x3c2341=_0x1ba84a[_0xce1d42(0x1bb)](_0x5848bf=>_0x5848bf===_0xce1d42(0x172)||_0x5848bf==='-c'||_0x5848bf[_0xce1d42(0x1d0)](_0xce1d42(0x17a)));_0x1ba84a['splice'](_0x3c2341,_0x1ba84a[_0x3c2341]['startsWith'](_0x409c41[_0xce1d42(0x1d1)])?0x1:0x2);}const _0x47b8d8={};return _0x47b8d8['path']=_0x2ec175,_0x47b8d8[_0xce1d42(0x18d)]=_0x52df91,_0x47b8d8;},handleO11yRerun=_0x42cce2=>{const _0x3b31c4=a38_0x1727e8,_0x124777={};_0x124777[_0x3b31c4(0x189)]=_0x3b31c4(0x1a7);const _0x337ec7=_0x124777,_0x358680=helper[_0x3b31c4(0x1b5)](process['env'][_0x3b31c4(0x1dd)]);if(_0x358680){const _0x1b4c6a=process['env'][_0x3b31c4(0x210)],_0x47eed6=[];if(helper[_0x3b31c4(0x181)](_0x1b4c6a)&&!helper['isUndefined'](_0x1b4c6a)){_0x1b4c6a['split'](',')[_0x3b31c4(0x21a)](_0x140adb=>{const _0x2feec1=_0x3b31c4;_0x47eed6['push']('('+_0x140adb[_0x2feec1(0x17c)]()+')');});const _0x5e15d1='^'+_0x47eed6[_0x3b31c4(0x203)]('|')+'$';_0x42cce2[_0x3b31c4(0x1a0)](_0x337ec7[_0x3b31c4(0x189)],_0x5e15d1);}}},spawnOriginalProcess=_0x1ddace=>{const _0x19df5b=a38_0x1727e8,_0x14a237={'VFIWz':function(_0x403010,_0x453516,_0x5b184a,_0x297573){return _0x403010(_0x453516,_0x5b184a,_0x297573);},'NLHap':_0x19df5b(0x1b6),'zWAnZ':_0x19df5b(0x1eb),'aCeeb':function(_0x1d6c5c,_0x1f050c){return _0x1d6c5c===_0x1f050c;},'NbBHw':_0x19df5b(0x167),'nGKkp':_0x19df5b(0x1aa)};_0x14a237[_0x19df5b(0x1c7)](spawn,_0x14a237[_0x19df5b(0x1de)],[_0x14a237[_0x19df5b(0x19d)],..._0x1ddace['slice'](0x1)],{'shell':_0x14a237[_0x19df5b(0x1be)](process[_0x19df5b(0x218)],_0x14a237[_0x19df5b(0x1a1)]),'stdio':_0x14a237[_0x19df5b(0x1f2)],'cwd':process[_0x19df5b(0x175)]()});},isTestCommand=(_0x2e528f,_0x51a5ea)=>{const _0x4a3617=a38_0x1727e8,_0x31edb6={};_0x31edb6[_0x4a3617(0x18a)]=function(_0x137a28,_0xdeea15){return _0x137a28>_0xdeea15;},_0x31edb6[_0x4a3617(0x1b3)]=function(_0x3f10c6,_0xd849b9){return _0x3f10c6===_0xd849b9;},_0x31edb6[_0x4a3617(0x205)]='test';const _0x388b49=_0x31edb6;if(_0x388b49[_0x4a3617(0x18a)](_0x51a5ea[_0x4a3617(0x194)],0x1)&&_0x388b49[_0x4a3617(0x1b3)](_0x51a5ea[0x1],_0x388b49[_0x4a3617(0x205)]))return!![];return![];};async function run(_0x35a085,_0xf3b196,_0x5054f6){const _0x471c77=a38_0x1727e8,_0x53e30a={'STYQP':function(_0x1b342a,_0x2a3182){return _0x1b342a(_0x2a3182);},'BrMLZ':_0x471c77(0x1e3),'RLlwN':_0x471c77(0x1e4),'QFKPb':function(_0xbbddec,_0x4be802){return _0xbbddec+_0x4be802;},'OCUDR':_0x471c77(0x1cb),'edgSD':function(_0x327cdf){return _0x327cdf();},'WDvSL':function(_0x84aae9,_0x1a6cda){return _0x84aae9+_0x1a6cda;},'rZZat':_0x471c77(0x18e),'SkmiN':_0x471c77(0x168),'Cofkp':function(_0x432b50,_0x330f8d){return _0x432b50===_0x330f8d;},'kALbR':_0x471c77(0x16b),'oPrqL':_0x471c77(0x1f6),'HdfCE':function(_0x1302b0,_0x219a6a){return _0x1302b0>=_0x219a6a;},'tbaIS':_0x471c77(0x1ea),'IMGJd':function(_0x516b3a,_0x5e2d72){return _0x516b3a!=_0x5e2d72;},'rXfCc':function(_0x136d3e,_0xbad442,_0x384291){return _0x136d3e(_0xbad442,_0x384291);},'RhLGu':function(_0x46066d,_0x31b905){return _0x46066d(_0x31b905);},'hZoEd':_0x471c77(0x16e),'MpkEg':function(_0x2d98b8,_0x4084d1){return _0x2d98b8(_0x4084d1);},'nCzuJ':function(_0x14c855,_0x4ebb68){return _0x14c855(_0x4ebb68);},'bxRxn':_0x471c77(0x1c6),'UgZTV':function(_0x3e0d92,_0x17bb13){return _0x3e0d92===_0x17bb13;},'iZAyK':_0x471c77(0x1df),'bDOPT':_0x471c77(0x219),'fRXFL':function(_0x50d88f,_0x1d91bf){return _0x50d88f-_0x1d91bf;},'xspYw':function(_0x46a019,_0x580885){return _0x46a019+_0x580885;},'EIpNj':_0x471c77(0x1f4),'OtxQw':function(_0x50a3ed,_0x34d92f){return _0x50a3ed>_0x34d92f;},'eYpGu':function(_0x1b273c,_0x832b7c){return _0x1b273c+_0x832b7c;},'NWNXY':function(_0x57b795,_0x3c5c98,_0x4ed44c,_0x87bba8){return _0x57b795(_0x3c5c98,_0x4ed44c,_0x87bba8);},'fWxMd':_0x471c77(0x1b6),'PBOrw':'playwright','SVbrE':_0x471c77(0x184),'vYWVv':_0x471c77(0x172),'IDIKE':function(_0x3f3100,_0x2f3e30){return _0x3f3100===_0x2f3e30;},'ELscC':_0x471c77(0x167),'aesoQ':_0x471c77(0x1aa),'TMLCo':_0x471c77(0x1bf),'hfRah':_0x471c77(0x186),'hmVWZ':function(_0x368a53,_0x249c99,_0xd129ec){return _0x368a53(_0x249c99,_0xd129ec);}};try{const _0x4f0a5e=path[_0x471c77(0x203)](helper['homedir'](),_0x53e30a['BrMLZ'],_0x53e30a['RLlwN']);fs['existsSync'](_0x4f0a5e)&&fs[_0x471c77(0x195)](_0x4f0a5e);}catch(_0x36e6aa){logger[_0x471c77(0x18b)](_0x53e30a[_0x471c77(0x1fd)](_0x53e30a[_0x471c77(0x1a6)],_0x36e6aa));}if(!_0x53e30a['hmVWZ'](isTestCommand,_0x35a085,_0xf3b196)){_0x53e30a[_0x471c77(0x21b)](spawnOriginalProcess,_0xf3b196);return;}await PerformanceTester['measureWrapper'](PerformanceEvents[_0x471c77(0x1d3)],async()=>{const _0x2643cc=_0x471c77,_0x37482b={'gizmC':_0x53e30a[_0x2643cc(0x1ad)],'lydFp':_0x53e30a[_0x2643cc(0x1c8)],'NriNo':function(_0x54f7be,_0x417415){const _0x1e14b8=_0x2643cc;return _0x53e30a[_0x1e14b8(0x1fd)](_0x54f7be,_0x417415);},'CZMhB':_0x53e30a[_0x2643cc(0x193)],'LHBRP':function(_0x4514b0){const _0x3f5902=_0x2643cc;return _0x53e30a[_0x3f5902(0x1fe)](_0x4514b0);},'exdiN':function(_0x2cb47e,_0x26a04c){const _0x16e8dc=_0x2643cc;return _0x53e30a[_0x16e8dc(0x1c4)](_0x2cb47e,_0x26a04c);},'DnyND':_0x53e30a[_0x2643cc(0x18c)]};if(!_0x5054f6[_0x2643cc(0x18d)]){logger[_0x2643cc(0x21e)](_0x53e30a[_0x2643cc(0x173)]);return;}await _0x5054f6['initialize'](_0x35a085),CLIUtils[_0x2643cc(0x17d)](FRAMEWORKS[_0x2643cc(0x1e6)],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI[_0x2643cc(0x1ee)]()[_0x2643cc(0x1f5)](_0x5054f6[_0x2643cc(0x18d)],_0x5054f6[_0x2643cc(0x1c1)]),await BrowserstackCLI[_0x2643cc(0x1ee)]()[_0x2643cc(0x1a9)]();const _0x4bfe21=BrowserstackCLI[_0x2643cc(0x1ee)]()['getConfig']();!helper[_0x2643cc(0x201)](_0x4bfe21[_0x2643cc(0x1e0)])&&(process[_0x2643cc(0x1af)][_0x2643cc(0x1cc)]=!![]);_0x53e30a[_0x2643cc(0x1f0)](_0x4bfe21['browserstackAutomation'],![])&&(process[_0x2643cc(0x1af)][_0x2643cc(0x1cc)]=_0x53e30a['kALbR'],_0xf3b196=_0xf3b196['filter'](_0x5c0fc9=>_0x5c0fc9!==_0x2643cc(0x1b0)));const _0x16161b=_0xf3b196['indexOf'](_0x53e30a[_0x2643cc(0x1ed)]);(_0x53e30a[_0x2643cc(0x19f)](_0x16161b,0x0)||_0x53e30a[_0x2643cc(0x1f0)](_0x4bfe21['testObservability'],![]))&&(process['env'][_0x2643cc(0x1fa)]=_0x53e30a[_0x2643cc(0x20c)],_0xf3b196=_0xf3b196[_0x2643cc(0x198)](_0x41c48d=>_0x41c48d!==_0x2643cc(0x1f6)));!helper['isUndefined'](_0x5054f6[_0x2643cc(0x1c1)])&&_0x5054f6[_0x2643cc(0x1c1)][_0x2643cc(0x1a2)](_0x53e30a[_0x2643cc(0x1fb)])&&(process['env'][_0x2643cc(0x1cc)]=_0x5054f6[_0x2643cc(0x1c1)][_0x2643cc(0x19a)](_0x53e30a[_0x2643cc(0x1fb)])||!![]);_0x53e30a['IMGJd'](_0x5054f6[_0x2643cc(0x18d)]['testObservability'],null)&&!helper[_0x2643cc(0x1b5)](process[_0x2643cc(0x1af)][_0x2643cc(0x1fa)])&&(process[_0x2643cc(0x1af)][_0x2643cc(0x1fa)]=process[_0x2643cc(0x1af)][_0x2643cc(0x1fa)]||_0x5054f6[_0x2643cc(0x18d)]['testObservability']);const _0x3eb87c=!helper[_0x2643cc(0x201)](process[_0x2643cc(0x1af)][_0x2643cc(0x1fa)]);_0x5054f6[_0x2643cc(0x18d)]['accessibilityOptions']&&(process[_0x2643cc(0x1af)][_0x2643cc(0x1b1)]=JSON[_0x2643cc(0x190)](_0x5054f6[_0x2643cc(0x18d)][_0x2643cc(0x21d)]));let _0x4098bf=![];_0x5054f6['config'][_0x2643cc(0x1e1)]&&(_0x4098bf=!![],process['env'][_0x2643cc(0x1da)]=_0x5054f6['config']['accessibility']);const _0x590800=_0xf3b196[_0x2643cc(0x16f)](),_0x457ba9=await _0x53e30a[_0x2643cc(0x1b4)](getUserPlaywrightConfig,_0x35a085,_0xf3b196);if(helper['isUndefined'](_0x457ba9)){_0x53e30a[_0x2643cc(0x21b)](spawnOriginalProcess,_0x590800);return;}const _0x44793c=_0x457ba9[_0x2643cc(0x178)]?path['dirname'](_0x457ba9[_0x2643cc(0x178)]):process[_0x2643cc(0x175)]();process['env'][_0x2643cc(0x1d2)]=_0x44793c,await PerformanceTester[_0x2643cc(0x1ba)](PerformanceEvents[_0x2643cc(0x1f3)],async()=>{const _0x1dd490=_0x2643cc;!BrowserstackCLI[_0x1dd490(0x1ee)]()['isRunning']()&&await TestHubHandler[_0x1dd490(0x1db)](FRAMEWORKS['PLAYWRIGHT'],_0x5054f6),_0x3eb87c&&_0x53e30a[_0x1dd490(0x17b)](handleO11yRerun,_0xf3b196);})();if(!BrowserstackCLI['getInstance']()[_0x2643cc(0x1a5)]()){let _0x3852ee=_0x53e30a[_0x2643cc(0x1f0)](process[_0x2643cc(0x1af)][_0x2643cc(0x1da)],_0x53e30a[_0x2643cc(0x182)]);_0x3852ee=_0x3852ee||_0x53e30a[_0x2643cc(0x170)](checkAccessibilityPlatformConfig,_0x5054f6[_0x2643cc(0x18d)]),process[_0x2643cc(0x1af)][_0x2643cc(0x1da)]=_0x3852ee,_0x3852ee&&_0x53e30a[_0x2643cc(0x217)](setAccessibilityCapabilities,_0x5054f6['config']);}const _0x25b802=path[_0x2643cc(0x203)](_0x457ba9[_0x2643cc(0x178)]?path[_0x2643cc(0x1d9)](_0x457ba9[_0x2643cc(0x178)]):process['cwd'](),_0x53e30a[_0x2643cc(0x206)]);fs['writeFileSync'](_0x25b802,helper[_0x2643cc(0x1ef)](_0x5054f6[_0x2643cc(0x18d)])),process[_0x2643cc(0x1af)][_0x2643cc(0x1d5)]=_0x25b802,helper['clearTempPWConfig']();let _0x59d110='';_0x53e30a[_0x2643cc(0x1e8)](helper[_0x2643cc(0x183)](),constants[_0x2643cc(0x1c0)]['MODULE'])?_0x59d110=_0x53e30a[_0x2643cc(0x177)]:_0x59d110=_0x53e30a[_0x2643cc(0x191)];let _0x222cec='';if(helper['isTypescriptProject'](_0x457ba9[_0x2643cc(0x178)])){_0x222cec=_0x2643cc(0x1fc);const _0x3998a9=_0x59d110['split']('.');_0x3998a9[_0x53e30a['fRXFL'](_0x3998a9[_0x2643cc(0x194)],0x1)]='ts',_0x59d110=_0x3998a9[_0x2643cc(0x203)]('.'),logger['debug'](_0x53e30a['xspYw'](_0x53e30a[_0x2643cc(0x21c)],_0x59d110));}else _0x222cec=_0x2643cc(0x1c5);const _0x1cf4d9=path[_0x2643cc(0x203)](_0x457ba9[_0x2643cc(0x178)]?path[_0x2643cc(0x1d9)](_0x457ba9[_0x2643cc(0x178)]):process[_0x2643cc(0x175)](),_0x59d110);let _0x2cc686=_0x457ba9[_0x2643cc(0x178)]?_0x457ba9[_0x2643cc(0x178)]:'';_0x2cc686=_0x53e30a[_0x2643cc(0x1a3)](_0x2cc686['length'],0x0)?path[_0x2643cc(0x211)](_0x2cc686):'',process[_0x2643cc(0x1af)][_0x2643cc(0x208)]=_0x2cc686;const _0x352ce5=helper['getProxyUrl'](_0x5054f6[_0x2643cc(0x18d)]);_0x352ce5&&(_0x222cec=_0x53e30a['eYpGu'](_0x2643cc(0x1e9)+_0x352ce5+_0x2643cc(0x202),_0x222cec));helper[_0x2643cc(0x1ca)]({},_0xf3b196),fs[_0x2643cc(0x187)](_0x1cf4d9,_0x222cec),PerformanceTester['end'](PerformanceEvents[_0x2643cc(0x1e2)]);const _0x206219=_0x53e30a[_0x2643cc(0x1d7)](spawn,_0x53e30a['fWxMd'],[_0x53e30a[_0x2643cc(0x1f9)],_0x53e30a[_0x2643cc(0x1e7)],_0x53e30a[_0x2643cc(0x214)],_0x1cf4d9,..._0xf3b196[_0x2643cc(0x19c)](0x2)],{'shell':_0x53e30a[_0x2643cc(0x1b8)](process[_0x2643cc(0x218)],_0x53e30a['ELscC']),'stdio':_0x53e30a[_0x2643cc(0x180)],'cwd':process[_0x2643cc(0x175)](),'env':Object['assign']({},process[_0x2643cc(0x1af)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x2643cc(0x1a8)](_0x35a085),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5054f6['config']['testContextOptions']['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5054f6[_0x2643cc(0x18d)][_0x2643cc(0x17e)][_0x2643cc(0x171)],'BROWSERSTACK_LOG_LEVEL':_0x5054f6[_0x2643cc(0x18d)][_0x2643cc(0x188)]})}),_0x6f4c92=()=>{const _0x18642a=_0x2643cc;try{const _0x3f0f27=path[_0x18642a(0x203)](helper['homedir'](),_0x37482b[_0x18642a(0x216)],_0x37482b[_0x18642a(0x1c2)]);if(fs[_0x18642a(0x1d4)](_0x3f0f27)){let _0x462ec2=fs[_0x18642a(0x212)](_0x3f0f27);_0x462ec2=JSON[_0x18642a(0x1a4)](_0x462ec2),_0x5054f6['errorMessage']=_0x462ec2,fs[_0x18642a(0x195)](_0x3f0f27);}}catch(_0x3779a7){logger['debug'](_0x37482b[_0x18642a(0x192)](_0x37482b[_0x18642a(0x1c3)],_0x3779a7));}};_0x206219['on'](_0x53e30a[_0x2643cc(0x204)],async _0x495c5f=>{const _0x3ac90f=_0x2643cc;try{PerformanceTester[_0x3ac90f(0x1ff)](PerformanceEvents[_0x3ac90f(0x176)]),_0x37482b[_0x3ac90f(0x207)](_0x6f4c92);!BrowserstackCLI[_0x3ac90f(0x1ee)]()[_0x3ac90f(0x1a5)]()&&await TestHubHandler['stop']();await BrowserstackCLI[_0x3ac90f(0x1ee)]()[_0x3ac90f(0x169)](),TestDetails['shutdown'](),_0x37482b[_0x3ac90f(0x207)](printBuildLink),await utilities[_0x3ac90f(0x200)](_0x5054f6),process['exitCode']=_0x495c5f,logger['debug'](_0x3ac90f(0x20f)+_0x495c5f),logger[_0x3ac90f(0x197)](_0x3ac90f(0x1ac)+_0x1cf4d9),fs[_0x3ac90f(0x195)](_0x1cf4d9);fs[_0x3ac90f(0x1d4)](_0x25b802)&&(logger[_0x3ac90f(0x18b)](_0x3ac90f(0x1ac)+_0x25b802),fs[_0x3ac90f(0x195)](_0x25b802));const _0x4cccf4=fs['readdirSync'](path[_0x3ac90f(0x203)](helper[_0x3ac90f(0x19b)](),_0x37482b[_0x3ac90f(0x216)]))['filter'](_0x318570=>_0x318570['startsWith'](_0x3ac90f(0x21f)));_0x4cccf4['forEach'](_0x12926b=>{const _0x1bb730=_0x3ac90f;fs[_0x1bb730(0x195)](path[_0x1bb730(0x203)](helper[_0x1bb730(0x19b)](),_0x37482b[_0x1bb730(0x216)],_0x12926b));});}catch(_0x283a0f){logger[_0x3ac90f(0x18b)](_0x37482b['exdiN'](_0x37482b['DnyND'],_0x283a0f));}});})();}function a38_0x4de8(){const _0x44b367=['debug','rZZat','config','Error\x20in\x20closing\x20playwright','../../helpers/accessibility-automation/helper','stringify','bDOPT','NriNo','OCUDR','length','unlinkSync','../v2/browserstackCLI','info','filter','./reporter/pwUtils','get','homedir','slice','zWAnZ','../utils/constants','HdfCE','push','NbBHw','has','OtxQw','parse','isRunning','hfRah','--grep','getConfigPath','bootstrap','inherit','../v2/cliUtils','Deleting\x20','BrMLZ','resolvedConfigFile','env','--disable-browserstack-automation','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','5149670DvWcuJ','WFNFS','rXfCc','isTrue','npx','15SUqhML','IDIKE','./reporter/test-details','measureWrapper','findIndex','../../helpers/performance/constants','../v2/TestInfo','aCeeb','close','PACKAGE_TYPE','cliConfig','lydFp','CZMhB','WDvSL','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','browserstackSetupConfig.json','VFIWz','RLlwN','6956384fZWhPc','filterBrowserstackArgs','Error\x20in\x20getting\x20funnel\x20data\x20results','BROWSERSTACK_AUTOMATION','exports','9hxRnZn','uFXAs','startsWith','gPZVU','BROWSERSTACK_PW_CONFIG_DIR','SDK_PRE_INITIALIZE','existsSync','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/test-observability/utils','NWNXY','63zWhiEi','dirname','BROWSERSTACK_TEST_ACCESSIBILITY_YML','launchBuild','winstonLogger','BROWSERSTACK_RERUN','NLHap','playwright-browserstack-sdk.config.cjs','browserstackAutomation','accessibility','SDK_SETUP','.browserstack','pw_result.json','EVENTS','PLAYWRIGHT','SVbrE','UgZTV','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','automation','playwright','../../helpers/helper','oPrqL','getInstance','serializeToYamlString','Cofkp','apply','nGKkp','SDK_POST_INITIALIZE','Updated\x20config\x20file\x20name\x20to\x20-\x20','setBrowserstackConfig','--disable-test-observability','3053498ftJNOk','191494UWzqzE','PBOrw','BROWSERSTACK_TEST_OBSERVABILITY','tbaIS','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','QFKPb','edgSD','start','finalExecution','isFalse','\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();','join','TMLCo','LwfWm','bxRxn','LHBRP','USER_CONFIG_DETAILS_PATH','util','2763747ZiHNgS','./accessibility-helper','kALbR','nestedKeyValue','1318956uKGVWf','Playwright\x20process\x20exited\x20with\x20code\x20','BROWSERSTACK_RERUN_TESTS','resolve','readFileSync','requirePWModule','vYWVv','../../helpers/utilities','gizmC','nCzuJ','platform','playwright-browserstack-sdk.config.js','map','RhLGu','EIpNj','accessibilityOptions','error','trace_','win32','BrowserStack\x20config\x20file\x20not\x20found.','stop','../../helpers/performance/performance-tester','false','isUndefined','GtozW','true','concat','MpkEg','skipSessionName','--config','SkmiN','../../helpers/testhub/testhubHandler','cwd','SDK_CLEANUP','iZAyK','path','../../helpers/test-observability/constants','--config=','STYQP','trim','setFrameworkDetail','testContextOptions','2900020PcrUIX','aesoQ','validateRerunTestList','hZoEd','getPackageType','test','../../helpers/BrowserStackSetup','Error\x20in\x20deleting\x20playwright\x20results','writeFileSync','logLevel','NGxCu','pyOlK'];a38_0x4de8=function(){return _0x44b367;};return a38_0x4de8();}module[a38_0x1727e8(0x1cd)]=run;
2
+ 'use strict';function a38_0x4830(){const _0x227751=['stringify','oMjQx','Qswwm','dirname','homedir','5130PEqJiF','path','launchBuild','pw_result.json','Error\x20in\x20deleting\x20playwright\x20results','isUndefined','../../helpers/accessibility-automation/helper','exports','ICoyW','biGng','skipSessionName','kIDeJ','--config=','DwKXg','.browserstack','logLevel','--disable-test-observability','rXXhR','env','HmWrQ','PLAYWRIGHT','getInstance','cliConfig','../v2/browserstackCLI','nestedKeyValue','HsDBF','push','skipSessionStatus','start','RZGRi','resolve','suCBe','config','dVUWN','NTwSv','TMBFX','split','abLKD','BROWSERSTACK_RERUN_TESTS','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','Error\x20in\x20getting\x20funnel\x20data\x20results','BROWSERSTACK_RERUN','filter','EqZZV','unlinkSync','isTrue','141980ubTKqJ','getPackageType','../../helpers/test-observability/constants','writeFileSync','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Playwright\x20process\x20exited\x20with\x20code\x20','SDK_SETUP','BROWSERSTACK_TEST_OBSERVABILITY','zXrFP','PACKAGE_TYPE','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','false','jIwtm','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','playwright','cwd','stop','testObservability','LQpVP','2972952OgXpKF','readFileSync','has','validateRerunTestList','TmrgU','browserstackAutomation','EVENTS','15qzpZJk','oDXYA','NRMAF','rjqMJ','NVoQZ','XUACJ','NyWKP','resolvedConfigFile','hoIXk','join','Updated\x20config\x20file\x20name\x20to\x20-\x20','Deleting\x20','win32','finalExecution','../utils/constants','BROWSERSTACK_SETUP_CONFIG_PATH','isTypescriptProject','2bNzPoe','filterBrowserstackArgs','FcBwW','isRunning','483pGoMIn','SDK_PRE_INITIALIZE','forEach','--disable-browserstack-automation','zfOOh','RUMvp','MODULE','inherit','ylEML','HLrDW','slice','splice','UybVd','BROWSERSTACK_AUTOMATION','../v2/TestInfo','winstonLogger','accessibilityOptions','--grep','pcACr','qNeRH','existsSync','measureWrapper','BROWSERSTACK_TEST_ACCESSIBILITY_YML','close','../../helpers/helper','../../helpers/performance/constants','./accessibility-helper','frIeJ','child_process','pOqzt','serializeToYamlString','isFalse','MUkeX','assign','shutdown','EZElL','get','test','BrowserStack\x20config\x20file\x20not\x20found.','npx','automation','yrwyI','map','getConfigPath','388228IdlIiL','../../helpers/performance/performance-tester','1473399KUkPuF','ekbtl','initialize','AhjsB','bootstrap','accessibility','cVcIy','length','cPeGI','nFLSt','forTv','concat','USER_CONFIG_DETAILS_PATH','NHYUH','error','trim','trace_','debug','264507yldpwN','testContextOptions','playwright-browserstack-sdk.config.js','getConfig','../../helpers/testhub/testhubHandler','bTJnh','../../helpers/BrowserStackSetup','lvwGH','--config','util','info','163979kjiQJP','BROWSERSTACK_PW_CONFIG_DIR','Xkegh','./reporter/test-details','../../helpers/logger'];a38_0x4830=function(){return _0x227751;};return a38_0x4830();}const a38_0x42950d=a38_0x5c58;(function(_0x54d26a,_0x92c657){const _0x4a1244=a38_0x5c58,_0xa713bc=_0x54d26a();while(!![]){try{const _0x2e496c=-parseInt(_0x4a1244(0x132))/0x1+parseInt(_0x4a1244(0xe3))/0x2*(parseInt(_0x4a1244(0x127))/0x3)+-parseInt(_0x4a1244(0x113))/0x4*(parseInt(_0x4a1244(0x184))/0x5)+parseInt(_0x4a1244(0x13c))/0x6*(parseInt(_0x4a1244(0xe7))/0x7)+parseInt(_0x4a1244(0x17d))/0x8+parseInt(_0x4a1244(0x115))/0x9+-parseInt(_0x4a1244(0x16a))/0xa;if(_0x2e496c===_0x92c657)break;else _0xa713bc['push'](_0xa713bc['shift']());}catch(_0x34c2eb){_0xa713bc['push'](_0xa713bc['shift']());}}}(a38_0x4830,0x3409a));const fs=require('fs'),path=require(a38_0x42950d(0x13d)),{spawn}=require(a38_0x42950d(0x103)),{format}=require(a38_0x42950d(0x130)),logger=require(a38_0x42950d(0x136))[a38_0x42950d(0xf6)],{default:BrowserStackSetup}=require(a38_0x42950d(0x12d)),helper=require(a38_0x42950d(0xff)),utilities=require('../../helpers/utilities'),constants=require(a38_0x42950d(0xe0)),{FRAMEWORKS}=require(a38_0x42950d(0x16c)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a38_0x42950d(0x142)),{setAccessibilityCapabilities}=require(a38_0x42950d(0x101)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a38_0x42950d(0x135)),TestHubHandler=require(a38_0x42950d(0x12b)),PerformanceTester=require(a38_0x42950d(0x114)),BrowserstackCLI=require(a38_0x42950d(0x153)),PerformanceEvents=require(a38_0x42950d(0x100))[a38_0x42950d(0x183)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a38_0x42950d(0xf5)),getUserPlaywrightConfig=async(_0xcbd78d,_0x350d4c)=>{const _0x2cdcd8=a38_0x42950d,_0xa94127={'kIDeJ':function(_0xdfe2e6){return _0xdfe2e6();},'cPeGI':function(_0x5016bc,_0x44e5ea){return _0x5016bc(_0x44e5ea);},'RZGRi':function(_0x415730,_0xb0a705){return _0x415730(_0xb0a705);},'frIeJ':_0x2cdcd8(0xd9),'CLpYa':'--config='},_0x37b6f7=!helper[_0x2cdcd8(0x141)](_0xcbd78d[_0x2cdcd8(0x15c)]),_0x11412a=_0x37b6f7?path[_0x2cdcd8(0x15a)](process[_0x2cdcd8(0x179)](),_0xcbd78d['config']):process['cwd'](),{resolveConfigFile:_0x31e741,resolveConfigLocation:_0x353f27}=helper['requirePWModule']['apply'](null,_0xa94127[_0x2cdcd8(0x147)](getConfigLoaderPath)),_0x2d5577=_0x31e741?_0xa94127[_0x2cdcd8(0x11d)](_0x31e741,_0x11412a):helper[_0x2cdcd8(0x154)](_0xa94127[_0x2cdcd8(0x159)](_0x353f27,_0x11412a),[_0xa94127[_0x2cdcd8(0x102)]]),_0x158c1a={};if(_0x37b6f7){const _0x382782=_0x350d4c['findIndex'](_0x58a381=>_0x58a381==='--config'||_0x58a381==='-c'||_0x58a381['startsWith'](_0x2cdcd8(0x148)));_0x350d4c[_0x2cdcd8(0xf2)](_0x382782,_0x350d4c[_0x382782]['startsWith'](_0xa94127['CLpYa'])?0x1:0x2);}const _0x53cdbd={};return _0x53cdbd[_0x2cdcd8(0x13d)]=_0x2d5577,_0x53cdbd[_0x2cdcd8(0x15c)]=_0x158c1a,_0x53cdbd;},handleO11yRerun=_0x460a96=>{const _0xd2989d=a38_0x42950d,_0x2c939a={};_0x2c939a['dVUWN']=_0xd2989d(0xf8);const _0x5a66b0=_0x2c939a,_0x598d53=helper[_0xd2989d(0x169)](process['env'][_0xd2989d(0x165)]);if(_0x598d53){const _0x1de977=process[_0xd2989d(0x14e)][_0xd2989d(0x162)],_0x3b9bc1=[];if(helper[_0xd2989d(0x180)](_0x1de977)&&!helper[_0xd2989d(0x141)](_0x1de977)){_0x1de977[_0xd2989d(0x160)](',')[_0xd2989d(0x111)](_0x3252d3=>{const _0x5bd9f6=_0xd2989d;_0x3b9bc1[_0x5bd9f6(0x156)]('('+_0x3252d3[_0x5bd9f6(0x124)]()+')');});const _0x27730f='^'+_0x3b9bc1[_0xd2989d(0xdb)]('|')+'$';_0x460a96['push'](_0x5a66b0[_0xd2989d(0x15d)],_0x27730f);}}},spawnOriginalProcess=_0x5471ae=>{const _0x3cea39=a38_0x42950d,_0x5e7886={'UybVd':function(_0x185083,_0x3643ae,_0x1c5846,_0x2d6d2e){return _0x185083(_0x3643ae,_0x1c5846,_0x2d6d2e);},'NTwSv':_0x3cea39(0x10e),'abLKD':_0x3cea39(0x178),'DBbtc':function(_0x1e0849,_0x3d91ef){return _0x1e0849===_0x3d91ef;},'zXrFP':_0x3cea39(0xde),'oMjQx':'inherit'};_0x5e7886[_0x3cea39(0xf3)](spawn,_0x5e7886[_0x3cea39(0x15e)],[_0x5e7886[_0x3cea39(0x161)],..._0x5471ae[_0x3cea39(0xf1)](0x1)],{'shell':_0x5e7886['DBbtc'](process['platform'],_0x5e7886[_0x3cea39(0x172)]),'stdio':_0x5e7886[_0x3cea39(0x138)],'cwd':process[_0x3cea39(0x179)]()});},isTestCommand=(_0x5f01ec,_0x727e1)=>{const _0x24c9a1=a38_0x42950d,_0x49ad42={};_0x49ad42[_0x24c9a1(0xf0)]=function(_0x59fa42,_0x1cc03b){return _0x59fa42>_0x1cc03b;},_0x49ad42[_0x24c9a1(0xe5)]=function(_0xedca22,_0x59fd7b){return _0xedca22===_0x59fd7b;},_0x49ad42[_0x24c9a1(0x11f)]=_0x24c9a1(0x10c);const _0x2786cb=_0x49ad42;if(_0x2786cb[_0x24c9a1(0xf0)](_0x727e1[_0x24c9a1(0x11c)],0x1)&&_0x2786cb[_0x24c9a1(0xe5)](_0x727e1[0x1],_0x2786cb[_0x24c9a1(0x11f)]))return!![];return![];};async function run(_0x3a088d,_0x4358a8,_0x1f762d){const _0x1a5341=a38_0x42950d,_0x185031={'DwoxU':function(_0x52867d,_0x4dd71f){return _0x52867d(_0x4dd71f);},'EZElL':_0x1a5341(0x14a),'cVcIy':function(_0x3e427a){return _0x3e427a();},'dAibO':function(_0x4c11e8){return _0x4c11e8();},'pOqzt':function(_0x28b93f,_0x48785b){return _0x28b93f+_0x48785b;},'oDXYA':'Error\x20in\x20closing\x20playwright','rjqMJ':_0x1a5341(0x13f),'LQpVP':_0x1a5341(0x164),'suCBe':_0x1a5341(0x10d),'EqZZV':function(_0x390ce9,_0x4d8098){return _0x390ce9===_0x4d8098;},'Qswwm':_0x1a5341(0x175),'lvwGH':_0x1a5341(0x14c),'HmWrQ':function(_0xc9890,_0xad2b97){return _0xc9890>=_0xad2b97;},'TmrgU':_0x1a5341(0x10f),'nFLSt':function(_0x5c9e05,_0x3934d1){return _0x5c9e05!=_0x3934d1;},'biGng':function(_0x19ab17,_0x33c1a3,_0x5a570a){return _0x19ab17(_0x33c1a3,_0x5a570a);},'XUACJ':function(_0x30e70a,_0x2030f2){return _0x30e70a(_0x2030f2);},'yrwyI':function(_0x100a1b,_0x1601d3){return _0x100a1b===_0x1601d3;},'DwKXg':'true','TMBFX':function(_0x35e335,_0x244f13){return _0x35e335(_0x244f13);},'ylEML':function(_0x44c284,_0x569bc3){return _0x44c284(_0x569bc3);},'FhiZo':'browserstackSetupConfig.json','NHYUH':function(_0x4505c1,_0x44d85c){return _0x4505c1===_0x44d85c;},'RUMvp':'playwright-browserstack-sdk.config.cjs','MUkeX':_0x1a5341(0x129),'bTJnh':function(_0x31b77c,_0x5282c1){return _0x31b77c-_0x5282c1;},'WvsvV':_0x1a5341(0xdc),'NyWKP':function(_0x35e0b5,_0x23949c){return _0x35e0b5>_0x23949c;},'AhjsB':function(_0x5a089c,_0x3a331e){return _0x5a089c+_0x3a331e;},'KlWmI':function(_0x113218,_0x4cebad,_0x25a05f,_0x30ede7){return _0x113218(_0x4cebad,_0x25a05f,_0x30ede7);},'jIwtm':'npx','NVoQZ':_0x1a5341(0x178),'PFZEp':_0x1a5341(0x10c),'HsDBF':_0x1a5341(0x12f),'NRMAF':'win32','ICoyW':_0x1a5341(0xee),'MMAkn':_0x1a5341(0xfe),'pcACr':_0x1a5341(0x140),'zfOOh':function(_0x323707,_0x1ee724){return _0x323707(_0x1ee724);}};try{const _0x3946c0=path[_0x1a5341(0xdb)](helper[_0x1a5341(0x13b)](),_0x185031[_0x1a5341(0x10a)],_0x185031['rjqMJ']);fs[_0x1a5341(0xfb)](_0x3946c0)&&fs['unlinkSync'](_0x3946c0);}catch(_0xc518a){logger[_0x1a5341(0x126)](_0x185031[_0x1a5341(0x118)](_0x185031[_0x1a5341(0xf9)],_0xc518a));}if(!_0x185031[_0x1a5341(0x145)](isTestCommand,_0x3a088d,_0x4358a8)){_0x185031[_0x1a5341(0xeb)](spawnOriginalProcess,_0x4358a8);return;}await PerformanceTester[_0x1a5341(0xfc)](PerformanceEvents[_0x1a5341(0xe8)],async()=>{const _0x22f3a8=_0x1a5341,_0x4ca61c={'rXXhR':_0x185031[_0x22f3a8(0x10a)],'Xkegh':_0x185031[_0x22f3a8(0xd5)],'qNeRH':function(_0x42100b,_0x5313dc){const _0x5db307=_0x22f3a8;return _0x185031[_0x5db307(0x104)](_0x42100b,_0x5313dc);},'ekbtl':_0x185031[_0x22f3a8(0x17c)]};if(!_0x1f762d[_0x22f3a8(0x15c)]){logger[_0x22f3a8(0x123)](_0x185031[_0x22f3a8(0x15b)]);return;}await _0x1f762d[_0x22f3a8(0x117)](_0x3a088d),CLIUtils['setFrameworkDetail'](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x22f3a8(0x150)]),BrowserstackCLI[_0x22f3a8(0x151)]()['setBrowserstackConfig'](_0x1f762d[_0x22f3a8(0x15c)],_0x1f762d[_0x22f3a8(0x152)]),await BrowserstackCLI[_0x22f3a8(0x151)]()[_0x22f3a8(0x119)]();const _0x48abeb=BrowserstackCLI[_0x22f3a8(0x151)]()[_0x22f3a8(0x12a)]();!helper[_0x22f3a8(0x106)](_0x48abeb[_0x22f3a8(0x182)])&&(process[_0x22f3a8(0x14e)][_0x22f3a8(0xf4)]=!![]);_0x185031['EqZZV'](_0x48abeb[_0x22f3a8(0x182)],![])&&(process[_0x22f3a8(0x14e)]['BROWSERSTACK_AUTOMATION']=_0x185031[_0x22f3a8(0x139)],_0x4358a8=_0x4358a8[_0x22f3a8(0x166)](_0x4e8558=>_0x4e8558!==_0x22f3a8(0xea)));const _0x5b15e6=_0x4358a8['indexOf'](_0x185031[_0x22f3a8(0x12e)]);(_0x185031[_0x22f3a8(0x14f)](_0x5b15e6,0x0)||_0x185031[_0x22f3a8(0x167)](_0x48abeb[_0x22f3a8(0x17b)],![]))&&(process[_0x22f3a8(0x14e)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x185031[_0x22f3a8(0x139)],_0x4358a8=_0x4358a8[_0x22f3a8(0x166)](_0x470b0d=>_0x470b0d!=='--disable-test-observability'));!helper[_0x22f3a8(0x141)](_0x1f762d[_0x22f3a8(0x152)])&&_0x1f762d[_0x22f3a8(0x152)][_0x22f3a8(0x17f)](_0x185031[_0x22f3a8(0x181)])&&(process[_0x22f3a8(0x14e)]['BROWSERSTACK_AUTOMATION']=_0x1f762d[_0x22f3a8(0x152)][_0x22f3a8(0x10b)](_0x185031[_0x22f3a8(0x181)])||!![]);_0x185031[_0x22f3a8(0x11e)](_0x1f762d[_0x22f3a8(0x15c)]['testObservability'],null)&&!helper[_0x22f3a8(0x169)](process[_0x22f3a8(0x14e)][_0x22f3a8(0x171)])&&(process['env'][_0x22f3a8(0x171)]=process['env'][_0x22f3a8(0x171)]||_0x1f762d[_0x22f3a8(0x15c)][_0x22f3a8(0x17b)]);const _0xb6b06c=!helper[_0x22f3a8(0x106)](process[_0x22f3a8(0x14e)][_0x22f3a8(0x171)]);_0x1f762d[_0x22f3a8(0x15c)][_0x22f3a8(0xf7)]&&(process['env'][_0x22f3a8(0x16e)]=JSON[_0x22f3a8(0x137)](_0x1f762d[_0x22f3a8(0x15c)][_0x22f3a8(0xf7)]));let _0x503abf=![];_0x1f762d[_0x22f3a8(0x15c)][_0x22f3a8(0x11a)]&&(_0x503abf=!![],process[_0x22f3a8(0x14e)][_0x22f3a8(0xfd)]=_0x1f762d[_0x22f3a8(0x15c)]['accessibility']);const _0x2cbc62=_0x4358a8[_0x22f3a8(0x120)](),_0xb5de6a=await _0x185031[_0x22f3a8(0x145)](getUserPlaywrightConfig,_0x3a088d,_0x4358a8);if(helper['isUndefined'](_0xb5de6a)){_0x185031[_0x22f3a8(0xd7)](spawnOriginalProcess,_0x2cbc62);return;}const _0x142139=_0xb5de6a[_0x22f3a8(0x13d)]?path[_0x22f3a8(0x13a)](_0xb5de6a['path']):process['cwd']();process['env'][_0x22f3a8(0x133)]=_0x142139,await PerformanceTester[_0x22f3a8(0xfc)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x27e45e=_0x22f3a8;!BrowserstackCLI[_0x27e45e(0x151)]()[_0x27e45e(0xe6)]()&&await TestHubHandler[_0x27e45e(0x13e)](FRAMEWORKS[_0x27e45e(0x150)],_0x1f762d),_0xb6b06c&&_0x185031['DwoxU'](handleO11yRerun,_0x4358a8);})();if(!BrowserstackCLI[_0x22f3a8(0x151)]()['isRunning']()){let _0x1557c6=_0x185031[_0x22f3a8(0x110)](process[_0x22f3a8(0x14e)][_0x22f3a8(0xfd)],_0x185031[_0x22f3a8(0x149)]);_0x1557c6=_0x1557c6||_0x185031[_0x22f3a8(0x15f)](checkAccessibilityPlatformConfig,_0x1f762d[_0x22f3a8(0x15c)]),process[_0x22f3a8(0x14e)][_0x22f3a8(0xfd)]=_0x1557c6,_0x1557c6&&_0x185031[_0x22f3a8(0xef)](setAccessibilityCapabilities,_0x1f762d['config']);}const _0x514d4e=path[_0x22f3a8(0xdb)](_0xb5de6a[_0x22f3a8(0x13d)]?path[_0x22f3a8(0x13a)](_0xb5de6a[_0x22f3a8(0x13d)]):process[_0x22f3a8(0x179)](),_0x185031['FhiZo']);fs['writeFileSync'](_0x514d4e,helper[_0x22f3a8(0x105)](_0x1f762d[_0x22f3a8(0x15c)])),process[_0x22f3a8(0x14e)][_0x22f3a8(0xe1)]=_0x514d4e,helper['clearTempPWConfig']();let _0xf268c0='';_0x185031[_0x22f3a8(0x122)](helper[_0x22f3a8(0x16b)](),constants[_0x22f3a8(0x173)][_0x22f3a8(0xed)])?_0xf268c0=_0x185031[_0x22f3a8(0xec)]:_0xf268c0=_0x185031[_0x22f3a8(0x107)];let _0x124a04='';if(helper[_0x22f3a8(0xe2)](_0xb5de6a[_0x22f3a8(0x13d)])){_0x124a04=_0x22f3a8(0x177);const _0x4523eb=_0xf268c0[_0x22f3a8(0x160)]('.');_0x4523eb[_0x185031[_0x22f3a8(0x12c)](_0x4523eb[_0x22f3a8(0x11c)],0x1)]='ts',_0xf268c0=_0x4523eb['join']('.'),logger[_0x22f3a8(0x126)](_0x185031[_0x22f3a8(0x104)](_0x185031['WvsvV'],_0xf268c0));}else _0x124a04=_0x22f3a8(0x174);const _0x4e75fc=path['join'](_0xb5de6a[_0x22f3a8(0x13d)]?path[_0x22f3a8(0x13a)](_0xb5de6a[_0x22f3a8(0x13d)]):process['cwd'](),_0xf268c0);let _0x5473da=_0xb5de6a['path']?_0xb5de6a[_0x22f3a8(0x13d)]:'';_0x5473da=_0x185031[_0x22f3a8(0xd8)](_0x5473da['length'],0x0)?path[_0x22f3a8(0x15a)](_0x5473da):'',process[_0x22f3a8(0x14e)][_0x22f3a8(0x121)]=_0x5473da;const _0xfc0864=helper['getProxyUrl'](_0x1f762d['config']);_0xfc0864&&(_0x124a04=_0x185031['AhjsB'](_0x22f3a8(0x163)+_0xfc0864+'\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();',_0x124a04));helper[_0x22f3a8(0xe4)]({},_0x4358a8),fs[_0x22f3a8(0x16d)](_0x4e75fc,_0x124a04),PerformanceTester['end'](PerformanceEvents[_0x22f3a8(0x170)]);const _0x1dca79=_0x185031['KlWmI'](spawn,_0x185031[_0x22f3a8(0x176)],[_0x185031[_0x22f3a8(0xd6)],_0x185031['PFZEp'],_0x185031[_0x22f3a8(0x155)],_0x4e75fc,..._0x4358a8[_0x22f3a8(0xf1)](0x2)],{'shell':_0x185031[_0x22f3a8(0x167)](process['platform'],_0x185031[_0x22f3a8(0x186)]),'stdio':_0x185031[_0x22f3a8(0x144)],'cwd':process['cwd'](),'env':Object[_0x22f3a8(0x108)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x22f3a8(0x112)](_0x3a088d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1f762d[_0x22f3a8(0x15c)]['testContextOptions'][_0x22f3a8(0x157)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1f762d[_0x22f3a8(0x15c)][_0x22f3a8(0x128)][_0x22f3a8(0x146)],'BROWSERSTACK_LOG_LEVEL':_0x1f762d[_0x22f3a8(0x15c)][_0x22f3a8(0x14b)]})}),_0x408f89=()=>{const _0x135622=_0x22f3a8;try{const _0x51b837=path[_0x135622(0xdb)](helper[_0x135622(0x13b)](),_0x4ca61c[_0x135622(0x14d)],_0x4ca61c[_0x135622(0x134)]);if(fs[_0x135622(0xfb)](_0x51b837)){let _0xf4bd67=fs[_0x135622(0x17e)](_0x51b837);_0xf4bd67=JSON['parse'](_0xf4bd67),_0x1f762d['errorMessage']=_0xf4bd67,fs[_0x135622(0x168)](_0x51b837);}}catch(_0x1005da){logger[_0x135622(0x126)](_0x4ca61c[_0x135622(0xfa)](_0x4ca61c[_0x135622(0x116)],_0x1005da));}};_0x1dca79['on'](_0x185031['MMAkn'],async _0x5534ce=>{const _0x5d5e7f=_0x22f3a8,_0x4d4207={};_0x4d4207[_0x5d5e7f(0xda)]=_0x185031[_0x5d5e7f(0x10a)];const _0x31d84a=_0x4d4207;try{PerformanceTester[_0x5d5e7f(0x158)](PerformanceEvents['SDK_CLEANUP']),_0x185031[_0x5d5e7f(0x11b)](_0x408f89);!BrowserstackCLI[_0x5d5e7f(0x151)]()[_0x5d5e7f(0xe6)]()&&await TestHubHandler[_0x5d5e7f(0x17a)]();await BrowserstackCLI[_0x5d5e7f(0x151)]()[_0x5d5e7f(0x17a)](),TestDetails[_0x5d5e7f(0x109)](),_0x185031['dAibO'](printBuildLink),await utilities[_0x5d5e7f(0xdf)](_0x1f762d),process['exitCode']=_0x5534ce,logger[_0x5d5e7f(0x126)](_0x5d5e7f(0x16f)+_0x5534ce),logger[_0x5d5e7f(0x131)](_0x5d5e7f(0xdd)+_0x4e75fc),fs[_0x5d5e7f(0x168)](_0x4e75fc);fs['existsSync'](_0x514d4e)&&(logger[_0x5d5e7f(0x126)](_0x5d5e7f(0xdd)+_0x514d4e),fs['unlinkSync'](_0x514d4e));const _0x916818=fs['readdirSync'](path['join'](helper[_0x5d5e7f(0x13b)](),_0x185031['EZElL']))[_0x5d5e7f(0x166)](_0x3d51fe=>_0x3d51fe['startsWith'](_0x5d5e7f(0x125)));_0x916818[_0x5d5e7f(0xe9)](_0x29dffe=>{const _0x40de36=_0x5d5e7f;fs[_0x40de36(0x168)](path[_0x40de36(0xdb)](helper['homedir'](),_0x31d84a[_0x40de36(0xda)],_0x29dffe));});}catch(_0x59a5ad){logger['debug'](_0x185031[_0x5d5e7f(0x104)](_0x185031[_0x5d5e7f(0x185)],_0x59a5ad));}});})();}function a38_0x5c58(_0x5b7819,_0x5d1eb5){const _0x4830e8=a38_0x4830();return a38_0x5c58=function(_0x5c584f,_0x28c3ad){_0x5c584f=_0x5c584f-0xd5;let _0x4e543f=_0x4830e8[_0x5c584f];return _0x4e543f;},a38_0x5c58(_0x5b7819,_0x5d1eb5);}module[a38_0x42950d(0x143)]=run;
@@ -1 +1 @@
1
- function a39_0x2086(){const _0xdd26e1=['resolve','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','7130586aaakeU','qTgRk','2wigffF','../../helpers/test-observability/utils','GfCmb','UIuTm','error','../../helpers/test-observability/constants','kNycs','child_process','1100181reibrf','601241DBKoqu','exports','util','Running\x20existing\x20global\x20setup','16719640BsEklI','132615TAOqyy','isHandlePWErrorSet','1.33.0','apply','rqGTk','./mock-process.js','5IjEmdc','debug','./reporter/pwUtils','GwGzs','Not\x20able\x20to\x20import\x20globalSetup','vlwZx','env','../../helpers/logger','ELZJy','3168156VowjlX','format','424uQOKuD','includes','winstonLogger','fork','7964334HWPEbP'];a39_0x2086=function(){return _0xdd26e1;};return a39_0x2086();}const a39_0x26bb34=a39_0x39e4;(function(_0x159966,_0x2ec1fb){const _0x3ddb82=a39_0x39e4,_0x21ab3e=_0x159966();while(!![]){try{const _0x3dcc0d=parseInt(_0x3ddb82(0x101))/0x1*(parseInt(_0x3ddb82(0xf8))/0x2)+-parseInt(_0x3ddb82(0x100))/0x3+-parseInt(_0x3ddb82(0xec))/0x4*(parseInt(_0x3ddb82(0xe3))/0x5)+parseInt(_0x3ddb82(0xf6))/0x6+-parseInt(_0x3ddb82(0xdd))/0x7*(-parseInt(_0x3ddb82(0xee))/0x8)+parseInt(_0x3ddb82(0xf2))/0x9+-parseInt(_0x3ddb82(0x105))/0xa;if(_0x3dcc0d===_0x2ec1fb)break;else _0x21ab3e['push'](_0x21ab3e['shift']());}catch(_0x148e99){_0x21ab3e['push'](_0x21ab3e['shift']());}}}(a39_0x2086,0xcf051));function a39_0x39e4(_0x2fcfa9,_0x15d40e){const _0x208664=a39_0x2086();return a39_0x39e4=function(_0x39e4d1,_0x21c855){_0x39e4d1=_0x39e4d1-0xdd;let _0x58e9bb=_0x208664[_0x39e4d1];return _0x58e9bb;},a39_0x39e4(_0x2fcfa9,_0x15d40e);}const util=require(a39_0x26bb34(0x103)),child_process=require(a39_0x26bb34(0xff)),{FRAMEWORKS}=require(a39_0x26bb34(0xfd)),{getFrameworkVersion,debug}=require(a39_0x26bb34(0xf9)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a39_0x26bb34(0xe5)),{mockIsWorkerRedundant}=require('./patches'),logger=require(a39_0x26bb34(0xea))[a39_0x26bb34(0xf0)];module[a39_0x26bb34(0x102)]=async function(_0x856c24){const _0x168c6a=a39_0x26bb34,_0x469f75={'UIuTm':function(_0x49992f,_0x387261){return _0x49992f(_0x387261);},'ELZJy':function(_0x1191ce){return _0x1191ce();},'kHKWL':_0x168c6a(0xe2),'GfCmb':function(_0x43c838){return _0x43c838();},'NfEZD':_0x168c6a(0x104),'rqGTk':function(_0x562a2a,_0x5cbc49){return _0x562a2a(_0x5cbc49);},'GwGzs':function(_0x308532,_0x8a83ea){return _0x308532>=_0x8a83ea;},'FSSCT':_0x168c6a(0xdf),'vlwZx':function(_0x4d9bd3,_0x4a348c,_0x2e92fa){return _0x4d9bd3(_0x4a348c,_0x2e92fa);},'BNMvF':function(_0x1e0260,_0x1be692){return _0x1e0260!==_0x1be692;},'LBCPf':'function','qTgRk':_0x168c6a(0xe7),'kNycs':function(_0x432d19,_0x5eadf2){return _0x432d19(_0x5eadf2);}},_0x757e1b=child_process['fork'];if(helper[_0x168c6a(0xde)]())try{_0x469f75['GfCmb'](mockIsWorkerRedundant);}catch(_0x1b954d){logger[_0x168c6a(0xe4)](_0x168c6a(0xf5)+util[_0x168c6a(0xed)](_0x1b954d));}child_process[_0x168c6a(0xf1)]=function(){const _0x4b3fe6=_0x168c6a;return _0x469f75[_0x4b3fe6(0xfb)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x4b3fe6(0xef)](_0x469f75['ELZJy'](getForkProcessPath))?arguments[0x0]=require[_0x4b3fe6(0xf3)](_0x469f75['kHKWL']):logger[_0x4b3fe6(0xfc)]('Path\x20'+_0x469f75[_0x4b3fe6(0xeb)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x757e1b[_0x4b3fe6(0xe0)](null,arguments);};if(process[_0x168c6a(0xe9)][_0x168c6a(0xf4)]){_0x469f75[_0x168c6a(0xfb)](debug,_0x469f75['NfEZD']);try{const {loadGlobalHook:_0x379e4a}=helper['requirePWModule']['apply'](null,_0x469f75[_0x168c6a(0xfa)](getLoadUtilsPath)),_0x281721=_0x469f75[_0x168c6a(0xe1)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x5a90b6=_0x856c24;if(_0x469f75[_0x168c6a(0xe6)](helper['compareVersions'](_0x281721,_0x469f75['FSSCT']),0x0)){const _0x5c5bb9={};_0x5c5bb9['config']=_0x856c24,_0x5a90b6=_0x5c5bb9;}const _0x5a50eb=await _0x469f75[_0x168c6a(0xe8)](_0x379e4a,_0x5a90b6,process['env'][_0x168c6a(0xf4)]);if(_0x469f75['BNMvF'](typeof _0x5a50eb,_0x469f75['LBCPf']))throw new Error(_0x469f75[_0x168c6a(0xf7)]);return _0x5a50eb[_0x168c6a(0xe0)](null,arguments);}catch(_0x110978){_0x469f75[_0x168c6a(0xfe)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x110978['toString']());}}};
1
+ const a39_0x5d43e9=a39_0x2d58;(function(_0x4df08d,_0x43d707){const _0x1ba129=a39_0x2d58,_0x15da0f=_0x4df08d();while(!![]){try{const _0x1f5c21=parseInt(_0x1ba129(0x158))/0x1+-parseInt(_0x1ba129(0x15f))/0x2*(parseInt(_0x1ba129(0x170))/0x3)+-parseInt(_0x1ba129(0x179))/0x4*(-parseInt(_0x1ba129(0x16d))/0x5)+-parseInt(_0x1ba129(0x156))/0x6*(parseInt(_0x1ba129(0x171))/0x7)+parseInt(_0x1ba129(0x15d))/0x8*(-parseInt(_0x1ba129(0x166))/0x9)+-parseInt(_0x1ba129(0x167))/0xa+-parseInt(_0x1ba129(0x159))/0xb*(-parseInt(_0x1ba129(0x172))/0xc);if(_0x1f5c21===_0x43d707)break;else _0x15da0f['push'](_0x15da0f['shift']());}catch(_0x445d2c){_0x15da0f['push'](_0x15da0f['shift']());}}}(a39_0x12d3,0x522b9));function a39_0x2d58(_0x22eb20,_0x57daf5){const _0x12d3e5=a39_0x12d3();return a39_0x2d58=function(_0x2d58e0,_0x1ff08b){_0x2d58e0=_0x2d58e0-0x155;let _0xd7c19f=_0x12d3e5[_0x2d58e0];return _0xd7c19f;},a39_0x2d58(_0x22eb20,_0x57daf5);}const util=require(a39_0x5d43e9(0x17d)),child_process=require(a39_0x5d43e9(0x161)),{FRAMEWORKS}=require(a39_0x5d43e9(0x155)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a39_0x5d43e9(0x16e)),{getLoadUtilsPath,getForkProcessPath}=require(a39_0x5d43e9(0x15a)),{mockIsWorkerRedundant}=require(a39_0x5d43e9(0x15e)),logger=require(a39_0x5d43e9(0x180))['winstonLogger'];function a39_0x12d3(){const _0x242abf=['szQYh','env','apply','5823pKJYHW','2946710NTcUaT','requirePWModule','isHandlePWErrorSet','exports','qPbvL','config','57295cckIPO','../../helpers/helper','Call\x20to\x20child\x20fork\x20with\x20args\x20','3ACWWvt','756lOmxiC','5718252xNtVuP','rXkKX','wnGHs','ehFmD','RvDGj','xKACQ','\x20is\x20not\x20found','140FgYhbh','Not\x20able\x20to\x20import\x20globalSetup','fork','debug','util','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','Running\x20existing\x20global\x20setup','../../helpers/logger','ZwLtZ','LGArL','function','format','../../helpers/test-observability/constants','22026GWUPoa','EDmGU','337425HygXUz','33BEXiUR','./reporter/pwUtils','includes','EWLpi','6920SjNYKm','./patches','1161380PXtnOX','toString','child_process','EuBkm'];a39_0x12d3=function(){return _0x242abf;};return a39_0x12d3();}module[a39_0x5d43e9(0x16a)]=async function(_0x594988){const _0x2f81d5=a39_0x5d43e9,_0x3f311c={'LGArL':function(_0x5e70cc,_0x579b70){return _0x5e70cc(_0x579b70);},'xKACQ':function(_0x411af2){return _0x411af2();},'EWLpi':'./mock-process.js','rXkKX':function(_0x2f0eac){return _0x2f0eac();},'ehFmD':_0x2f81d5(0x17f),'qPbvL':function(_0x1eaf4c){return _0x1eaf4c();},'szQYh':function(_0x33b8e1,_0x3c9435){return _0x33b8e1(_0x3c9435);},'sywZA':function(_0x5aec57,_0x44dedc){return _0x5aec57>=_0x44dedc;},'eJcqv':'1.33.0','EDmGU':function(_0x549099,_0x2afad6,_0x54f83e){return _0x549099(_0x2afad6,_0x54f83e);},'wnGHs':function(_0x524f45,_0x2a9d46){return _0x524f45!==_0x2a9d46;},'EuBkm':_0x2f81d5(0x183),'ZwLtZ':_0x2f81d5(0x17a),'RvDGj':function(_0xad068e,_0x506ae1){return _0xad068e(_0x506ae1);}},_0x13055f=child_process['fork'];if(helper[_0x2f81d5(0x169)]())try{_0x3f311c[_0x2f81d5(0x173)](mockIsWorkerRedundant);}catch(_0x519ae6){logger[_0x2f81d5(0x17c)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x2f81d5(0x184)](_0x519ae6));}child_process[_0x2f81d5(0x17b)]=function(){const _0x3a4f36=_0x2f81d5;return _0x3f311c[_0x3a4f36(0x182)](debug,_0x3a4f36(0x16f)+arguments[0x0]),arguments[0x0][_0x3a4f36(0x15b)](_0x3f311c[_0x3a4f36(0x177)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x3f311c[_0x3a4f36(0x15c)]):logger['error']('Path\x20'+_0x3f311c['xKACQ'](getForkProcessPath)+_0x3a4f36(0x178)),_0x13055f[_0x3a4f36(0x165)](null,arguments);};if(process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x3f311c[_0x2f81d5(0x182)](debug,_0x3f311c[_0x2f81d5(0x175)]);try{const {loadGlobalHook:_0x538a8e}=helper[_0x2f81d5(0x168)][_0x2f81d5(0x165)](null,_0x3f311c[_0x2f81d5(0x16b)](getLoadUtilsPath)),_0x145bfb=_0x3f311c[_0x2f81d5(0x163)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x401772=_0x594988;if(_0x3f311c['sywZA'](helper['compareVersions'](_0x145bfb,_0x3f311c['eJcqv']),0x0)){const _0x4e87b4={};_0x4e87b4[_0x2f81d5(0x16c)]=_0x594988,_0x401772=_0x4e87b4;}const _0x4d4299=await _0x3f311c[_0x2f81d5(0x157)](_0x538a8e,_0x401772,process[_0x2f81d5(0x164)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x3f311c[_0x2f81d5(0x174)](typeof _0x4d4299,_0x3f311c[_0x2f81d5(0x162)]))throw new Error(_0x3f311c[_0x2f81d5(0x181)]);return _0x4d4299[_0x2f81d5(0x165)](null,arguments);}catch(_0x3f629b){_0x3f311c[_0x2f81d5(0x176)](debug,_0x2f81d5(0x17e)+_0x3f629b[_0x2f81d5(0x160)]());}}};