browserstack-node-sdk 1.40.5 → 1.40.6

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 (173) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test_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/loadUtils.js +1 -1
  70. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  71. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  72. package/src/bin/mocha/command.js +1 -1
  73. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  74. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  75. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  76. package/src/bin/mocha/test.setup.js +1 -1
  77. package/src/bin/nightwatch/command.js +1 -1
  78. package/src/bin/playwright/accessibility-helper.js +1 -1
  79. package/src/bin/playwright/command.js +1 -1
  80. package/src/bin/playwright/globalSetup.js +1 -1
  81. package/src/bin/playwright/mock-process.js +1 -1
  82. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  83. package/src/bin/playwright/patches.js +1 -1
  84. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  85. package/src/bin/playwright/reporter/reporter.js +1 -1
  86. package/src/bin/playwright/reporter/test-details.js +1 -1
  87. package/src/bin/playwright/sessionDetails.js +1 -1
  88. package/src/bin/runner.js +1 -1
  89. package/src/bin/setup.js +1 -1
  90. package/src/bin/test-runner/index.js +1 -1
  91. package/src/bin/test-runner/runTest.js +1 -1
  92. package/src/bin/test-runner/testWorker.js +1 -1
  93. package/src/bin/utils/constants.js +1 -1
  94. package/src/bin/utils/log4jsAppender.js +1 -1
  95. package/src/bin/utils/logPatcher.js +1 -1
  96. package/src/bin/utils/logReportingAPI.js +1 -1
  97. package/src/bin/v2/TestInfo.js +1 -1
  98. package/src/bin/v2/browserstackCLI.js +1 -1
  99. package/src/bin/v2/cliUtils.js +1 -1
  100. package/src/bin/v2/customTagManager.js +1 -1
  101. package/src/bin/v2/eventDispatcher.js +1 -1
  102. package/src/bin/v2/framework/automationFramework.js +1 -1
  103. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  104. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  105. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  106. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  107. package/src/bin/v2/framework/testFramework.js +1 -1
  108. package/src/bin/v2/grpcClient.js +1 -1
  109. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  110. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  111. package/src/bin/v2/instances/trackedContext.js +1 -1
  112. package/src/bin/v2/instances/trackedInstance.js +1 -1
  113. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  114. package/src/bin/v2/modules/baseModule.js +1 -1
  115. package/src/bin/v2/modules/observabilityModule.js +1 -1
  116. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  117. package/src/bin/v2/modules/testhubModule.js +1 -1
  118. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  119. package/src/bin/v2/state/hookState.js +1 -1
  120. package/src/bin/v2/state/testFrameworkState.js +1 -1
  121. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  122. package/src/bin/vanilla-js/command.js +1 -1
  123. package/src/browserStackSdk.js +1 -1
  124. package/src/helpers/BrowserStackSetup.js +1 -1
  125. package/src/helpers/accessibility-automation/constants.js +1 -1
  126. package/src/helpers/accessibility-automation/helper.js +1 -1
  127. package/src/helpers/accessibility-automation/scripts.js +1 -1
  128. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  129. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  130. package/src/helpers/ats/constants.js +1 -1
  131. package/src/helpers/ats/helper.js +1 -1
  132. package/src/helpers/capsMapping.js +1 -1
  133. package/src/helpers/central-scanner/constants.js +1 -1
  134. package/src/helpers/central-scanner/helpers.js +1 -1
  135. package/src/helpers/classLogger.js +1 -1
  136. package/src/helpers/globals.js +1 -1
  137. package/src/helpers/helper.js +1 -1
  138. package/src/helpers/logger.js +1 -1
  139. package/src/helpers/metadata.js +1 -1
  140. package/src/helpers/patchHelper.js +1 -1
  141. package/src/helpers/patchHelpers.js +1 -1
  142. package/src/helpers/percy/Percy.js +1 -1
  143. package/src/helpers/percy/PercyBinary.js +1 -1
  144. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  145. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  146. package/src/helpers/percy/PercySDK.js +1 -1
  147. package/src/helpers/percy/index.js +1 -1
  148. package/src/helpers/percy/utils.js +1 -1
  149. package/src/helpers/performance/constants.js +1 -1
  150. package/src/helpers/performance/performance-tester.js +1 -1
  151. package/src/helpers/processHelper.js +1 -1
  152. package/src/helpers/request-spy.js +1 -1
  153. package/src/helpers/setKeepAlive.js +1 -1
  154. package/src/helpers/test-observability/constants.js +1 -1
  155. package/src/helpers/test-observability/error-handler.js +1 -1
  156. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  157. package/src/helpers/test-observability/sessionHandler.js +1 -1
  158. package/src/helpers/test-observability/utils.js +1 -1
  159. package/src/helpers/test-orchestration/constants.js +1 -1
  160. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  161. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  162. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  163. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  164. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  165. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  166. package/src/helpers/testhub/constants.js +1 -1
  167. package/src/helpers/testhub/testhubHandler.js +1 -1
  168. package/src/helpers/testhub/utils.js +1 -1
  169. package/src/helpers/timeoutPromise.js +1 -1
  170. package/src/helpers/utilities.js +1 -1
  171. package/src/helpers/w3cMapping.js +1 -1
  172. package/src/hubAllocationMethods.js +1 -1
  173. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a35_0x3c8e4e=a35_0x3efd;function a35_0x3efd(_0x3b190a,_0x45a560){const _0x51ccae=a35_0x51cc();return a35_0x3efd=function(_0x3efdc6,_0xc83c15){_0x3efdc6=_0x3efdc6-0x137;let _0x1b03bb=_0x51ccae[_0x3efdc6];return _0x1b03bb;},a35_0x3efd(_0x3b190a,_0x45a560);}function a35_0x51cc(){const _0x53e319=['OOXgF','MywcF','5621371TyXhbL','KMDCh','mztDh','rjFZI','error','udXZj','qTxKy','passed','capabilities','GMnLY','CZPte','trsfG','22099977WlgyQj','initQuit','util','xbpcS','failed','ZuaRg','isAccessibilityPlatform','Passed','EZCmD','state','IdaFS','qXQSU','uInns','AatdM','percyCaptureMode','../../helpers/performance/performance-tester','IWDkA','PERFORM_SCAN','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','qzspf','__sessionFailed','TIpmK','kEIqS','Failed\x20to\x20store\x20session\x20name:\x20','lsOsV','mAtvt','start','driverCleanup','getGlobal','finally','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20',',\x22level\x22:\x20\x22','fWqCQ','ObservabilitySync:','../../helpers/testhub/utils','../../helpers/performance/constants','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','afterEach','RhxBo','wbHJk','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','env','stringify','Kryvy','BeIrq','__platformCaps','ENV_VAR','PvODx','titlePath','HoShv','urTtA','../../helpers/accessibility-automation/scripts','info','browserstackTestName','command','afterTest','arAaU','vDyAm','BROWSERSTACK_TESTHUB_JWT','\x20|\x20','quitCount_','push','CBAMG','lZGXn','../../helpers/accessibility-automation/helper','SDK_HOOK','getCurrentUrl','etnge','mochaHooks','cnTBT','JIuzw','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','HTNlG','HBxLA','qlCTV','PxuRN','hCuin','fZJXM','RXeNX','appium:app','6430992DEzJLY','browserstackSessionName','eJdLf','../../helpers/globals','testAnalyticsId','percy','then','../utils/constants','SESSION_STATUS','YEJAH','nVYvC','__drivers','68345vqmWWA','message','AOoSH','WShAY','DjWNF','end','winstonLogger','protocol','\x20-\x20','xLnjO','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','shift','ifngn','length','thJwtToken','AwDci','shouldScanTestForAccessibility','JaTGG','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','beforeAll','accessibilityScanStarted','format','.\x20Error\x20:','228dDYexA','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','ArKpA','setGlobal','6GZttyw','measureWrapper','app','Performing\x20scan\x20before\x20saving\x20results','../../helpers/testhub/constants','34498nSmxqE','session_','thTestRunUuid','OlhVL','yXWNE','iMJNZ','haqgy','aGrzl','GWmWW','SWOYT','YzBrV','gyBiT','SYNC','frvVb','./test-observability/mochaUtils','gpJOY','join','Failed:\x20','fRodk','bstackA11yShouldScan','executeAsyncScript','Sriuk','\x22}}','yxYFG','oavNO','1705890aaZwUs','BROWSERSTACK_TESTHUB_UUID','uMKVX','wyKyt','bzVPS','rRgsL','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','debug','3290232ATozKV','../../helpers/logger','Automate\x20test\x20case\x20execution\x20has\x20started.','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','Mocha','startMonitoring','qvpKF','cuLEv','__error_messages__','index','saveTestResults','ERMwv','currentTest','performScan','LHveT','ylgnO','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','timeout','err'];a35_0x51cc=function(){return _0x53e319;};return a35_0x51cc();}(function(_0x4d8f5c,_0x359030){const _0xd9aa00=a35_0x3efd,_0x226b2c=_0x4d8f5c();while(!![]){try{const _0x17b99a=-parseInt(_0xd9aa00(0x140))/0x1*(parseInt(_0xd9aa00(0x145))/0x2)+-parseInt(_0xd9aa00(0x15e))/0x3+parseInt(_0xd9aa00(0x13c))/0x4*(-parseInt(_0xd9aa00(0x1e4))/0x5)+-parseInt(_0xd9aa00(0x166))/0x6+-parseInt(_0xd9aa00(0x17b))/0x7+parseInt(_0xd9aa00(0x1d8))/0x8+parseInt(_0xd9aa00(0x187))/0x9;if(_0x17b99a===_0x359030)break;else _0x226b2c['push'](_0x226b2c['shift']());}catch(_0x564f5c){_0x226b2c['push'](_0x226b2c['shift']());}}}(a35_0x51cc,0x6f829));const util=require(a35_0x3c8e4e(0x189)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a35_0x3c8e4e(0x1c7)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a35_0x3c8e4e(0x1df)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a35_0x3c8e4e(0x153)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a35_0x3c8e4e(0x196)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a35_0x3c8e4e(0x1aa)),scripts=require(a35_0x3c8e4e(0x1ba)),globals=require(a35_0x3c8e4e(0x1db)),logger=require(a35_0x3c8e4e(0x167))[a35_0x3c8e4e(0x1ea)],{shouldProcessEventForTesthub}=require(a35_0x3c8e4e(0x1a9)),testHubConstants=require(a35_0x3c8e4e(0x144));exports[a35_0x3c8e4e(0x1cb)]={'beforeAll'(){const _0x396120=a35_0x3c8e4e,_0x33921d={'kEIqS':function(_0x1a32c1,_0x3242a4,_0x7abb93,_0x1b346d){return _0x1a32c1(_0x3242a4,_0x7abb93,_0x1b346d);},'dMfZJ':_0x396120(0x18b),'SWOYT':_0x396120(0x1c2),'Rkucj':function(_0x4a3dcc,_0x416bbb,_0x14479f){return _0x4a3dcc(_0x416bbb,_0x14479f);},'CZPte':_0x396120(0x182),'yXWNE':function(_0x1afabb){return _0x1afabb();},'DjWNF':function(_0x187495,_0x5cf533,_0x3d627f){return _0x187495(_0x5cf533,_0x3d627f);},'BeIrq':_0x396120(0x16f),'ERMwv':_0x396120(0x138)};PerformanceTester[_0x396120(0x16b)]();const _0x56362f='browserstack internal helper hook';PerformanceTester[_0x396120(0x141)](PerformanceSdkEvents[_0x396120(0x1c8)],()=>{const _0x23c5c8=_0x396120,_0x35c3d1={'rRgsL':function(_0x49424d,_0xc32418,_0xe3a84a,_0x7bb987){const _0x45b5c5=a35_0x3efd;return _0x33921d[_0x45b5c5(0x19d)](_0x49424d,_0xc32418,_0xe3a84a,_0x7bb987);},'ArKpA':_0x33921d['dMfZJ'],'frvVb':_0x33921d[_0x23c5c8(0x14e)],'urTtA':function(_0x2a9f92,_0x4e4d0c,_0xafdd54){return _0x33921d['Rkucj'](_0x2a9f92,_0x4e4d0c,_0xafdd54);},'fZJXM':_0x33921d[_0x23c5c8(0x185)],'HBxLA':function(_0x46d9a0){const _0x5c812a=_0x23c5c8;return _0x33921d[_0x5c812a(0x149)](_0x46d9a0);}};global[_0x23c5c8(0x16e)]=[],global[_0x23c5c8(0x19b)]=![],global[_0x23c5c8(0x1a2)]=async()=>{const _0x5b7df5=_0x23c5c8;let _0x39b32d=![];try{await global[_0x5b7df5(0x1e3)][0x0][_0x5b7df5(0x146)],_0x39b32d=!![],global['__sessionFailed']?await _0x35c3d1[_0x5b7df5(0x163)](markSessionStatus,global[_0x5b7df5(0x1e3)][0x0],_0x35c3d1[_0x5b7df5(0x13e)],global[_0x5b7df5(0x16e)][_0x5b7df5(0x155)](_0x35c3d1[_0x5b7df5(0x152)])):await _0x35c3d1[_0x5b7df5(0x1b9)](markSessionStatus,global[_0x5b7df5(0x1e3)][0x0],_0x35c3d1[_0x5b7df5(0x1d5)]);}catch(_0x15d4cb){logger[_0x5b7df5(0x165)](_0x5b7df5(0x169)+_0x15d4cb);}global[_0x5b7df5(0x16e)]=[],global[_0x5b7df5(0x19b)]=![];if(_0x39b32d)try{try{_0x35c3d1[_0x5b7df5(0x1d1)](shouldProcessEventForTesthub)&&(global[_0x5b7df5(0x1e3)][0x0]&&await _0x35c3d1[_0x5b7df5(0x1b9)](sendPlatformDetails,global[_0x5b7df5(0x1e3)][0x0],this[_0x5b7df5(0x172)]?this[_0x5b7df5(0x172)][_0x5b7df5(0x1dc)]:null));}catch(_0x3a2e2d){logger['debug'](_0x5b7df5(0x176)+_0x3a2e2d);}await global[_0x5b7df5(0x1e3)][0x0][_0x5b7df5(0x188)]();}catch(_0x21ae31){logger[_0x5b7df5(0x165)](_0x5b7df5(0x1ee)+_0x21ae31);}};},{'platform':_0x33921d[_0x396120(0x1e8)](nestedKeyValue,global['__platformCaps'],[_0x33921d[_0x396120(0x1b3)]]),'hookType':_0x33921d[_0x396120(0x171)]})();},'beforeEach'(_0xf668be){const _0x2f6319=a35_0x3c8e4e,_0xbc8af0={'xbpcS':function(_0x24b546,_0x113048){return _0x24b546>_0x113048;},'AatdM':'\x20-\x20','mAtvt':function(_0x31bf6b,_0x47b24e,_0x31c351){return _0x31bf6b(_0x47b24e,_0x31c351);},'MywcF':'bstackA11yShouldScan','lZGXn':function(_0x315cba){return _0x315cba();},'PvODx':_0x2f6319(0x18d),'iMJNZ':function(_0x207db6,_0x1cf5b5){return _0x207db6===_0x1cf5b5;},'GMnLY':'http:','JgZpz':'https:','Kryvy':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','KMDCh':_0x2f6319(0x168),'qzspf':function(_0x22fb7a){return _0x22fb7a();},'LHveT':_0x2f6319(0x1bc),'YzBrV':'index','gyBiT':'beforeEach'};globals['setGlobal'](_0xbc8af0[_0x2f6319(0x174)],this[_0x2f6319(0x172)][_0x2f6319(0x1b7)]()[_0x2f6319(0x155)](_0xbc8af0[_0x2f6319(0x194)])),PerformanceTester[_0x2f6319(0x141)](PerformanceSdkEvents[_0x2f6319(0x1c8)],()=>{const _0x536cae='browserstack internal helper hook';new Promise(async _0x35fa22=>{const _0x14aa37=a35_0x3efd;let _0x1ac165=!![];try{_0xbc8af0[_0x14aa37(0x18a)](global[_0x14aa37(0x1e3)][_0x14aa37(0x1f1)],0x1)&&(await global[_0x14aa37(0x1a2)](),global[_0x14aa37(0x1e3)][_0x14aa37(0x1ef)]()),_0xbc8af0[_0x14aa37(0x18a)](global['__drivers'][0x0][_0x14aa37(0x1c3)],0x0)&&(_0x1ac165=![],await global[_0x14aa37(0x1a2)]());}catch(_0x1304ec){logger[_0x14aa37(0x165)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x1304ec);}try{Array['isArray'](global['__drivers'])&&global[_0x14aa37(0x1e3)][0x0]&&(global['__drivers'][0x0][_0x14aa37(0x1d9)]=this[_0x14aa37(0x172)][_0x14aa37(0x1b7)]()['join'](_0xbc8af0[_0x14aa37(0x194)])),global[_0x14aa37(0x1d9)]=this[_0x14aa37(0x172)][_0x14aa37(0x1b7)]()[_0x14aa37(0x155)](_0xbc8af0['AatdM']);}catch(_0x4b9bdd){logger[_0x14aa37(0x165)](_0x14aa37(0x19e)+_0x4b9bdd);}this[_0x14aa37(0x172)][_0x14aa37(0x1f4)]=_0xbc8af0['mAtvt'](shouldScanTestForAccessibility,this['currentTest'][_0x14aa37(0x1b7)](),!![]),globals[_0x14aa37(0x13f)](_0xbc8af0[_0x14aa37(0x17a)],this['currentTest'][_0x14aa37(0x1f4)]),this['currentTest']['accessibilityScanStarted']=!![];if(_0xbc8af0[_0x14aa37(0x1c6)](isAccessibilityAutomationSession)&&_0x1ac165&&Array['isArray'](global[_0x14aa37(0x1e3)])&&_0xbc8af0['xbpcS'](global[_0x14aa37(0x1e3)][_0x14aa37(0x1f1)],0x0)&&globals[_0x14aa37(0x1a3)](_0xbc8af0[_0x14aa37(0x1b6)]))try{const _0x3fb3ad=await global['__drivers'][0x0][_0x14aa37(0x146)];if(_0x3fb3ad){let _0xa21c26=!![];const _0x4ba660=await global[_0x14aa37(0x1e3)][0x0][_0x14aa37(0x1c9)]();let _0x16e7c2;try{_0x16e7c2=new URL(_0x4ba660);}catch(_0x1841ce){_0xa21c26=![];}_0xa21c26=_0xbc8af0[_0x14aa37(0x14a)](_0x16e7c2['protocol'],_0xbc8af0[_0x14aa37(0x184)])||_0xbc8af0[_0x14aa37(0x14a)](_0x16e7c2[_0x14aa37(0x1eb)],_0xbc8af0['JgZpz']),_0xa21c26&&(this[_0x14aa37(0x172)]['shouldScanTestForAccessibility']&&logger[_0x14aa37(0x1bb)](_0xbc8af0[_0x14aa37(0x1b2)])),this[_0x14aa37(0x172)][_0x14aa37(0x139)]=this[_0x14aa37(0x172)][_0x14aa37(0x1f4)],this[_0x14aa37(0x172)]['shouldScanTestForAccessibility']&&logger[_0x14aa37(0x1bb)](_0xbc8af0[_0x14aa37(0x17c)]);}}catch(_0x1ed219){logger['error'](_0x14aa37(0x164)+util['format'](_0x1ed219));}_0xbc8af0[_0x14aa37(0x19a)](_0x35fa22);})['then'](()=>{const _0x7fd203=a35_0x3efd;_0xbc8af0[_0x7fd203(0x19a)](_0xf668be);});},{'platform':_0xbc8af0[_0x2f6319(0x1a0)](nestedKeyValue,global[_0x2f6319(0x1b4)],[_0xbc8af0[_0x2f6319(0x14f)]]),'hookType':_0xbc8af0[_0x2f6319(0x150)]})();},'afterEach'(_0x5c37ec){const _0x1111b1=a35_0x3c8e4e,_0x14b1f2={'QSDdh':_0x1111b1(0x1ec),'eJdLf':function(_0x3505de,_0x548063){return _0x3505de!==_0x548063;},'YEJAH':_0x1111b1(0x182),'AOoSH':function(_0x2f6d11,_0x31aeba,_0xcdf917){return _0x2f6d11(_0x31aeba,_0xcdf917);},'QwIPQ':function(_0x5cef41,_0x3d391c){return _0x5cef41+_0x3d391c;},'RhxBo':_0x1111b1(0x156),'GWmWW':'error','trsfG':_0x1111b1(0x18e),'etnge':_0x1111b1(0x1bb),'MKnlF':function(_0x17e29e,_0x4345dc){return _0x17e29e>_0x4345dc;},'ZuaRg':function(_0x4dacee,_0x11d4ae){return _0x4dacee===_0x11d4ae;},'gpJOY':'testcase','ylgnO':_0x1111b1(0x1d7),'EZCmD':function(_0x34d79b,_0x59018c,_0x11fe4b,_0x120a9f){return _0x34d79b(_0x59018c,_0x11fe4b,_0x120a9f);},'JIuzw':_0x1111b1(0x18d),'HTNlG':_0x1111b1(0x158),'AwDci':_0x1111b1(0x137),'uInns':_0x1111b1(0x143),'pBnUq':_0x1111b1(0x1be),'bzVPS':_0x1111b1(0x1ab),'haqgy':function(_0x175790){return _0x175790();},'RXeNX':function(_0x5ae864,_0x145b8a,_0x710f5f){return _0x5ae864(_0x145b8a,_0x710f5f);},'sndZI':function(_0x1f8d9c){return _0x1f8d9c();},'JaTGG':function(_0x4970e4,_0x47c7f8,_0x391dbb){return _0x4970e4(_0x47c7f8,_0x391dbb);},'qvpKF':'debug','ttxLJ':function(_0x45b8b3){return _0x45b8b3();},'ifngn':_0x1111b1(0x16a),'IWDkA':_0x1111b1(0x16f),'qXQSU':_0x1111b1(0x1ac)},_0x591ad6='browserstack internal helper hook';this[_0x1111b1(0x177)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x14b1f2[_0x1111b1(0x1f0)]]),global['sessionName']=this[_0x1111b1(0x172)][_0x1111b1(0x1b7)]()[_0x1111b1(0x155)](_0x14b1f2['QSDdh']),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x1111b1(0x1c8)],()=>{const _0x40da4d=_0x1111b1,_0x1dee8b={'CBAMG':_0x14b1f2['QSDdh'],'arAaU':function(_0x4ca52c,_0x2edd65){const _0x549a01=a35_0x3efd;return _0x14b1f2[_0x549a01(0x1da)](_0x4ca52c,_0x2edd65);},'OlhVL':_0x14b1f2[_0x40da4d(0x1e1)],'HoShv':function(_0x22a714,_0x1347b5,_0x370a2b){const _0x2756fb=_0x40da4d;return _0x14b1f2[_0x2756fb(0x1e6)](_0x22a714,_0x1347b5,_0x370a2b);},'ydDpS':function(_0x540118,_0x4826be){return _0x14b1f2['QwIPQ'](_0x540118,_0x4826be);},'rDFnF':_0x14b1f2[_0x40da4d(0x1ad)],'hCuin':_0x14b1f2[_0x40da4d(0x14d)],'uMKVX':_0x14b1f2[_0x40da4d(0x186)],'OOXgF':_0x14b1f2[_0x40da4d(0x1ca)],'cuLEv':function(_0xfe4e24,_0x4d6de4){return _0x14b1f2['MKnlF'](_0xfe4e24,_0x4d6de4);},'mztDh':function(_0x326261,_0x413ee3){const _0x4244e4=_0x40da4d;return _0x14b1f2[_0x4244e4(0x18c)](_0x326261,_0x413ee3);},'WShAY':_0x14b1f2[_0x40da4d(0x154)],'dsTft':_0x14b1f2[_0x40da4d(0x175)],'lsOsV':function(_0x199067,_0x2d1ac1,_0x43be11,_0xb39a85){const _0x50e2ce=_0x40da4d;return _0x14b1f2[_0x50e2ce(0x18f)](_0x199067,_0x2d1ac1,_0x43be11,_0xb39a85);},'cnTBT':_0x14b1f2[_0x40da4d(0x1cd)],'aGrzl':_0x14b1f2[_0x40da4d(0x1d0)],'VAVRp':_0x14b1f2[_0x40da4d(0x1f3)],'oavNO':_0x14b1f2[_0x40da4d(0x193)],'qTxKy':_0x14b1f2['pBnUq'],'qlCTV':_0x14b1f2[_0x40da4d(0x162)],'rjFZI':function(_0x4cb1c1){const _0x37a3ad=_0x40da4d;return _0x14b1f2[_0x37a3ad(0x14b)](_0x4cb1c1);},'yvbAr':function(_0x2341ea,_0x3f2ce3,_0x229d04){const _0xa08d1a=_0x40da4d;return _0x14b1f2[_0xa08d1a(0x1d6)](_0x2341ea,_0x3f2ce3,_0x229d04);},'WqCIr':function(_0x2adc7a){return _0x14b1f2['sndZI'](_0x2adc7a);},'TIpmK':function(_0x155aa9,_0x488743,_0x441914){return _0x14b1f2['JaTGG'](_0x155aa9,_0x488743,_0x441914);},'wbHJk':_0x14b1f2[_0x40da4d(0x16c)],'udXZj':function(_0xc1b6b){return _0x14b1f2['ttxLJ'](_0xc1b6b);}},_0x4a586a=async(_0x128854,_0x29e6fd)=>{const _0x1ce1a2=_0x40da4d;await global[_0x1ce1a2(0x1e3)][0x0]['executeScript'](_0x1ce1a2(0x199)+_0x128854+_0x1ce1a2(0x1a6)+_0x29e6fd+_0x1ce1a2(0x15b));};new Promise(async _0x50bd6f=>{const _0x3eabf6=_0x40da4d,_0x43577a={'MgSQa':function(_0x31cf61,_0x44a853){const _0x3007c9=a35_0x3efd;return _0x1dee8b[_0x3007c9(0x1bf)](_0x31cf61,_0x44a853);},'IdaFS':_0x1dee8b[_0x3eabf6(0x148)],'nVYvC':function(_0x2a1a95,_0x1b6e4f,_0x4843f1){const _0x59553a=_0x3eabf6;return _0x1dee8b[_0x59553a(0x1b8)](_0x2a1a95,_0x1b6e4f,_0x4843f1);},'wyKyt':function(_0x2e8825,_0x37bb7f){return _0x1dee8b['ydDpS'](_0x2e8825,_0x37bb7f);},'httLX':_0x1dee8b['rDFnF'],'Sriuk':_0x1dee8b[_0x3eabf6(0x1d4)],'xLnjO':_0x1dee8b[_0x3eabf6(0x160)],'fRodk':_0x1dee8b[_0x3eabf6(0x179)]};try{_0x1dee8b[_0x3eabf6(0x16d)](global[_0x3eabf6(0x1e3)][_0x3eabf6(0x1f1)],0x1)&&(await global['driverCleanup'](),global[_0x3eabf6(0x1e3)][_0x3eabf6(0x1ef)](),global['__error_messages__']=[],global[_0x3eabf6(0x19b)]=![]);try{if(global[_0x3eabf6(0x1dd)]&&_0x1dee8b[_0x3eabf6(0x17d)](global[_0x3eabf6(0x195)],_0x1dee8b[_0x3eabf6(0x1e7)])&&global['__drivers'][0x0]){const _0x58d452=_0x1dee8b['cuLEv'](global[_0x3eabf6(0x183)][_0x3eabf6(0x1f1)],0x0)?!!global['capabilities'][0x0]['app']||!!global[_0x3eabf6(0x183)][0x0][_0x1dee8b['dsTft']]:![],_0x1e8da1={};_0x1e8da1[_0x3eabf6(0x142)]=_0x58d452,await _0x1dee8b[_0x3eabf6(0x19f)](percyAutoCapture,global[_0x3eabf6(0x1e3)][0x0],_0x1dee8b[_0x3eabf6(0x1e7)],_0x1e8da1);}}catch(_0x531bf6){logger[_0x3eabf6(0x165)](_0x3eabf6(0x1af)+_0x531bf6);}!global['__skipSessionName']&&(await PerformanceTester[_0x3eabf6(0x141)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x2d2892=_0x3eabf6;await global[_0x2d2892(0x1e3)][0x0]['executeScript'](_0x2d2892(0x1cf)+JSON[_0x2d2892(0x1b1)](this[_0x2d2892(0x172)][_0x2d2892(0x1b7)]()[_0x2d2892(0x155)](_0x1dee8b[_0x2d2892(0x1c5)]))+'}}');})(),global['__drivers'][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x3eabf6(0x1e0)],async()=>{const _0x33bf87=_0x3eabf6,_0x3dcf71=_0x43577a['MgSQa'](this['currentTest'][_0x33bf87(0x190)],_0x43577a[_0x33bf87(0x191)]);_0x3dcf71?(global['__sessionFailed']=!![],global[_0x33bf87(0x16e)][_0x33bf87(0x1c4)](this['currentTest'][_0x33bf87(0x178)][_0x33bf87(0x1e5)]),await _0x43577a[_0x33bf87(0x1e2)](_0x4a586a,JSON[_0x33bf87(0x1b1)](_0x43577a[_0x33bf87(0x161)](_0x43577a['httLX'],this[_0x33bf87(0x172)]['err']['message'])),_0x43577a[_0x33bf87(0x15a)])):await _0x43577a['nVYvC'](_0x4a586a,JSON['stringify'](_0x43577a[_0x33bf87(0x1ed)]),_0x43577a[_0x33bf87(0x157)]);})();}catch(_0x294d03){logger[_0x3eabf6(0x165)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x294d03);}try{if(this[_0x3eabf6(0x172)][_0x3eabf6(0x139)]&&globals['getGlobal'](_0x1dee8b[_0x3eabf6(0x1cc)])&&globals[_0x3eabf6(0x1a3)](_0x1dee8b[_0x3eabf6(0x14c)])){logger[_0x3eabf6(0x1bb)](_0x1dee8b['VAVRp']);const _0x261eed={};_0x261eed[_0x3eabf6(0x147)]=this[_0x3eabf6(0x172)][_0x3eabf6(0x1dc)],_0x261eed['thBuildUuid']=process['env'][testHubConstants['ENV_VAR'][_0x3eabf6(0x15f)]],_0x261eed[_0x3eabf6(0x1f2)]=process[_0x3eabf6(0x1b0)][testHubConstants[_0x3eabf6(0x1b5)][_0x3eabf6(0x1c1)]];const _0x29b238=_0x261eed;logger[_0x3eabf6(0x165)](_0x3eabf6(0x1a5)+JSON[_0x3eabf6(0x1b1)](_0x29b238)),logger[_0x3eabf6(0x165)](_0x1dee8b[_0x3eabf6(0x15d)]);const _0x1db996={};_0x1db996[_0x3eabf6(0x1bd)]=_0x1dee8b[_0x3eabf6(0x181)],await PerformanceTester[_0x3eabf6(0x141)](PerformanceA11yEvents[_0x3eabf6(0x198)],async()=>{const _0xfbb524=_0x3eabf6;logger[_0xfbb524(0x165)](util[_0xfbb524(0x13a)](await global[_0xfbb524(0x1e3)][0x0]['executeAsyncScript'](scripts[_0xfbb524(0x173)],{'method':global['browserstackSessionName']})));},_0x1db996)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x37ef75=_0x3eabf6;await global[_0x37ef75(0x1e3)][0x0][_0x37ef75(0x159)](scripts[_0x37ef75(0x170)],_0x29b238);})(),logger[_0x3eabf6(0x1bb)](_0x1dee8b[_0x3eabf6(0x1d2)]);}}catch(_0x473c96){logger[_0x3eabf6(0x17f)](_0x3eabf6(0x1ce)+this[_0x3eabf6(0x172)][_0x3eabf6(0x1b7)]()+_0x3eabf6(0x13b),_0x473c96);}try{try{if(_0x1dee8b[_0x3eabf6(0x17e)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x1dee8b['yvbAr'](sendPlatformDetails,global[_0x3eabf6(0x1e3)][0x0],this[_0x3eabf6(0x172)]?this[_0x3eabf6(0x172)][_0x3eabf6(0x1dc)]:null);if(_0x1dee8b['WqCIr'](isBrowserstackInfra)){PerformanceTester[_0x3eabf6(0x1a1)](PerformanceO11yEvents[_0x3eabf6(0x151)]);const _0x178c6a=_0x3eabf6(0x1a8)+Date['now']();await _0x1dee8b[_0x3eabf6(0x19c)](_0x4a586a,JSON[_0x3eabf6(0x1b1)](_0x178c6a),_0x1dee8b[_0x3eabf6(0x1ae)]),PerformanceTester[_0x3eabf6(0x1e9)](PerformanceO11yEvents[_0x3eabf6(0x151)]);}}}catch(_0x927583){logger[_0x3eabf6(0x165)](_0x3eabf6(0x13d)+_0x927583),PerformanceTester['end'](PerformanceO11yEvents[_0x3eabf6(0x151)],![],_0x927583);}_0x1dee8b[_0x3eabf6(0x16d)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x3eabf6(0x1a2)]();}catch(_0x4a981c){logger[_0x3eabf6(0x165)](_0x3eabf6(0x1ee)+_0x4a981c);}_0x1dee8b[_0x3eabf6(0x180)](_0x50bd6f);})[_0x40da4d(0x1de)](()=>{_0x1dee8b['rjFZI'](_0x5c37ec);});},{'platform':_0x14b1f2[_0x1111b1(0x1f5)](nestedKeyValue,global[_0x1111b1(0x1b4)],[_0x14b1f2[_0x1111b1(0x197)]]),'hookType':_0x14b1f2[_0x1111b1(0x192)]})();},'afterAll'(_0x58a299){const _0x596010=a35_0x3c8e4e,_0x19d41c={'yxYFG':function(_0x33533e){return _0x33533e();},'fWqCQ':_0x596010(0x16a),'PxuRN':function(_0x298d22,_0x159be2,_0xb7bda1){return _0x298d22(_0x159be2,_0xb7bda1);},'CzQci':'index','vDyAm':'afterAll'},_0x2acdae='browserstack internal helper hook';this[_0x596010(0x177)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x19d41c[_0x596010(0x1a7)]]),PerformanceTester[_0x596010(0x141)](PerformanceSdkEvents[_0x596010(0x1c8)],()=>{const _0x4ba901=_0x596010;new Promise(async _0x432aea=>{const _0x4d41e7=a35_0x3efd;await global['driverCleanup'](),_0x19d41c[_0x4d41e7(0x15c)](_0x432aea);})[_0x4ba901(0x1de)]()[_0x4ba901(0x1a4)](()=>{const _0x42a0a4=_0x4ba901;_0x19d41c[_0x42a0a4(0x15c)](_0x58a299);});},{'platform':_0x19d41c[_0x596010(0x1d3)](nestedKeyValue,global['__platformCaps'],[_0x19d41c['CzQci']]),'hookType':_0x19d41c[_0x596010(0x1c0)]})();}};
1
+ const a35_0x17ad7b=a35_0x8503;function a35_0x1058(){const _0xab8b9a=['protocol','5TDYykn','wyncz','util','aHdmv','.\x20Error\x20:','SAVE_RESULTS','now','measureWrapper','ReHeY','amFTL','QNjzP','sessionNameSet__','startMonitoring','__sessionFailed','__platformCaps','../../helpers/performance/performance-tester','hDBzf','getCurrentUrl','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','nPuBP','percyCaptureMode','\x20|\x20','afterAll','thJwtToken','370782rjBSXO',',\x22level\x22:\x20\x22','state','../../helpers/accessibility-automation/scripts','SESSION_NAME','552852cuzsRP','riofZ','../../helpers/helper','yEIiV','SYNC','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Lprgz','YQMXi','qGGIA','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','JAGDu','percy','BVrCj','FRozO','message','stringify','setGlobal','2Snottg','JCrIn','browserstackSessionName','dPNRZ','accessibilityScanStarted','debug','sAgWr','yZFqH','./test-observability/mochaUtils','capabilities','bstackA11yShouldScan','afterTest','LedOZ','thTestRunUuid','17479eUtYPo','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Passed','getGlobal','driverCleanup','mochaHooks','BROWSERSTACK_TESTHUB_JWT','258930lsKKlw','PgECi','push','oXOpQ','PTNhQ','index','../../helpers/percy/utils','133914nklXWk','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','shouldScanTestForAccessibility','isArray','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','tBbyw','\x20-\x20','OHaKL','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','../../helpers/testhub/utils','__skipSessionName','yABtP','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','puPcT','passed','qhtEW','SESSION_STATUS','VMBVU','QaNeO','131004jXEGOh','__drivers','env','IovZZ','vHJNG','11qKBILj','Mocha','oVXxJ','performScan','VMNDl','session_','lpsVP','MQiCm','BROWSERSTACK_TESTHUB_UUID','start','quitCount_','Failed:\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','ymRNB','length','info','afterEach','NKJem','geoNZ','tAntT','SDK_HOOK','then','qBfwd','command','executeScript','../../helpers/logger','testAnalyticsId','yBOgz','http:','err','xlqMf','timeout','thBuildUuid','zmVWQ','error','../../helpers/globals','executeAsyncScript','176jYxKnQ','app','KOTuO','saveTestResults','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','yVcPU','SwFSB','end','92350OqltMZ','titlePath','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','join','MwymG','currentTest','initQuit','isAccessibilityPlatform','Failed\x20to\x20store\x20session\x20name:\x20','testcase','FuFik','sessionName','format','winstonLogger','finally','MkKpM','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','ENV_VAR','UoDle','PERFORM_SCAN','beforeEach','MuMhr','aYHJc','appium:app','cLoEm','../../helpers/performance/constants','JBSqm'];a35_0x1058=function(){return _0xab8b9a;};return a35_0x1058();}function a35_0x8503(_0x29ab89,_0x3f000c){const _0x1058e2=a35_0x1058();return a35_0x8503=function(_0x8503d9,_0x30b1b5){_0x8503d9=_0x8503d9-0x159;let _0x25aa77=_0x1058e2[_0x8503d9];return _0x25aa77;},a35_0x8503(_0x29ab89,_0x3f000c);}(function(_0x336315,_0x15fab0){const _0x454788=a35_0x8503,_0x151adf=_0x336315();while(!![]){try{const _0x231217=parseInt(_0x454788(0x1be))/0x1*(parseInt(_0x454788(0x174))/0x2)+-parseInt(_0x454788(0x1da))/0x3+parseInt(_0x454788(0x1ed))/0x4+parseInt(_0x454788(0x190))/0x5*(-parseInt(_0x454788(0x1ad))/0x6)+-parseInt(_0x454788(0x1cc))/0x7*(-parseInt(_0x454788(0x16c))/0x8)+parseInt(_0x454788(0x1a8))/0x9+-parseInt(_0x454788(0x1d3))/0xa*(-parseInt(_0x454788(0x1f2))/0xb);if(_0x231217===_0x15fab0)break;else _0x151adf['push'](_0x151adf['shift']());}catch(_0x119bd3){_0x151adf['push'](_0x151adf['shift']());}}}(a35_0x1058,0x1af0a));const util=require(a35_0x17ad7b(0x192)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a35_0x17ad7b(0x1d9)),{sendPlatformDetails}=require(a35_0x17ad7b(0x1c6)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a35_0x17ad7b(0x1af)),PerformanceTester=require(a35_0x17ad7b(0x19f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a35_0x17ad7b(0x18d)),scripts=require(a35_0x17ad7b(0x1ab)),globals=require(a35_0x17ad7b(0x16a)),logger=require(a35_0x17ad7b(0x160))[a35_0x17ad7b(0x181)],{shouldProcessEventForTesthub}=require(a35_0x17ad7b(0x1e3)),testHubConstants=require('../../helpers/testhub/constants');exports[a35_0x17ad7b(0x1d1)]={'beforeAll'(){const _0x5ea1ed=a35_0x17ad7b,_0xecf55={'lHSFE':function(_0x4db102,_0x529655,_0x5e16ee,_0x3cff47){return _0x4db102(_0x529655,_0x5e16ee,_0x3cff47);},'SHREr':'failed','JCrIn':_0x5ea1ed(0x1a5),'wyncz':function(_0x4a65f2,_0x37bcf0,_0x5e00d6){return _0x4a65f2(_0x37bcf0,_0x5e00d6);},'geoNZ':_0x5ea1ed(0x1e8),'QaNeO':function(_0x32599a){return _0x32599a();},'zCFEl':_0x5ea1ed(0x1d8),'JBSqm':'beforeAll'};PerformanceTester[_0x5ea1ed(0x19c)]();const _0x24cd92='browserstack internal helper hook';PerformanceTester[_0x5ea1ed(0x197)](PerformanceSdkEvents[_0x5ea1ed(0x15b)],()=>{const _0x30b450=_0x5ea1ed;global['__error_messages__']=[],global[_0x30b450(0x19d)]=![],global[_0x30b450(0x1d0)]=async()=>{const _0x19da95=_0x30b450;let _0x23976d=![];try{await global['__drivers'][0x0][_0x19da95(0x1f7)],_0x23976d=!![],global[_0x19da95(0x19d)]?await _0xecf55['lHSFE'](markSessionStatus,global[_0x19da95(0x1ee)][0x0],_0xecf55['SHREr'],global['__error_messages__'][_0x19da95(0x177)](_0xecf55[_0x19da95(0x1bf)])):await _0xecf55['wyncz'](markSessionStatus,global['__drivers'][0x0],_0xecf55[_0x19da95(0x159)]);}catch(_0x1e1927){logger[_0x19da95(0x1c3)](_0x19da95(0x176)+_0x1e1927);}global['__error_messages__']=[],global[_0x19da95(0x19d)]=![];if(_0x23976d)try{try{_0xecf55[_0x19da95(0x1ec)](shouldProcessEventForTesthub)&&(global[_0x19da95(0x1ee)][0x0]&&await _0xecf55[_0x19da95(0x191)](sendPlatformDetails,global[_0x19da95(0x1ee)][0x0],this[_0x19da95(0x179)]?this[_0x19da95(0x179)]['testAnalyticsId']:null));}catch(_0x4e89e5){logger['debug'](_0x19da95(0x170)+_0x4e89e5);}await global[_0x19da95(0x1ee)][0x0][_0x19da95(0x17a)]();}catch(_0x3ec287){logger['debug'](_0x19da95(0x1de)+_0x3ec287);}};},{'platform':_0xecf55[_0x5ea1ed(0x191)](nestedKeyValue,global['__platformCaps'],[_0xecf55['zCFEl']]),'hookType':_0xecf55[_0x5ea1ed(0x18e)]})();},'beforeEach'(_0x470863){const _0x101a31=a35_0x17ad7b,_0x483152={'IovZZ':function(_0x4ea6bd,_0x2e1551){return _0x4ea6bd>_0x2e1551;},'KOTuO':function(_0x54926b,_0x1b162d){return _0x54926b>_0x1b162d;},'yVcPU':_0x101a31(0x1e0),'ebgYD':function(_0x5b5fa4,_0x5578bb,_0x5e1e9d){return _0x5b5fa4(_0x5578bb,_0x5e1e9d);},'ZzAfN':'bstackA11yShouldScan','xlqMf':function(_0x3aa63c){return _0x3aa63c();},'amFTL':_0x101a31(0x17b),'qGBRq':function(_0x451e6c,_0x27953f){return _0x451e6c===_0x27953f;},'YyUWL':_0x101a31(0x163),'yEIiV':function(_0xa7ca99,_0x41d26d){return _0xa7ca99===_0x41d26d;},'XFTNP':'https:','uYyRC':_0x101a31(0x1b6),'dPNRZ':'Automate\x20test\x20case\x20execution\x20has\x20started.','qGGIA':function(_0x485bde){return _0x485bde();},'nPuBP':'browserstackTestName','VMBVU':function(_0x2de70f,_0x191fc5,_0x2f34b7){return _0x2de70f(_0x191fc5,_0x2f34b7);},'MuMhr':'index','NAExB':_0x101a31(0x188)};globals[_0x101a31(0x1bd)](_0x483152[_0x101a31(0x1a3)],this['currentTest']['titlePath']()['join'](_0x483152[_0x101a31(0x171)])),PerformanceTester[_0x101a31(0x197)](PerformanceSdkEvents[_0x101a31(0x15b)],()=>{const _0x2d6aee=_0x101a31,_0x13ac0f={'cLoEm':function(_0x18f04c){const _0x451e51=a35_0x8503;return _0x483152[_0x451e51(0x1b5)](_0x18f04c);}},_0x5add0f='browserstack internal helper hook';new Promise(async _0x1a3802=>{const _0x40f0a3=a35_0x8503;let _0xf07056=!![];try{_0x483152[_0x40f0a3(0x1f0)](global[_0x40f0a3(0x1ee)][_0x40f0a3(0x200)],0x1)&&(await global[_0x40f0a3(0x1d0)](),global['__drivers']['shift']()),_0x483152[_0x40f0a3(0x16e)](global[_0x40f0a3(0x1ee)][0x0][_0x40f0a3(0x1fc)],0x0)&&(_0xf07056=![],await global['driverCleanup']());}catch(_0x3fbb18){logger[_0x40f0a3(0x1c3)](_0x40f0a3(0x1de)+_0x3fbb18);}try{Array['isArray'](global[_0x40f0a3(0x1ee)])&&global[_0x40f0a3(0x1ee)][0x0]&&(global['__drivers'][0x0][_0x40f0a3(0x1c0)]=this['currentTest'][_0x40f0a3(0x175)]()[_0x40f0a3(0x177)](_0x483152[_0x40f0a3(0x171)])),global[_0x40f0a3(0x1c0)]=this['currentTest'][_0x40f0a3(0x175)]()[_0x40f0a3(0x177)](_0x483152[_0x40f0a3(0x171)]);}catch(_0x44b849){logger[_0x40f0a3(0x1c3)](_0x40f0a3(0x17c)+_0x44b849);}this[_0x40f0a3(0x179)]['shouldScanTestForAccessibility']=_0x483152['ebgYD'](shouldScanTestForAccessibility,this[_0x40f0a3(0x179)][_0x40f0a3(0x175)](),!![]),globals[_0x40f0a3(0x1bd)](_0x483152['ZzAfN'],this[_0x40f0a3(0x179)][_0x40f0a3(0x1dc)]),this['currentTest']['accessibilityScanStarted']=!![];if(_0x483152[_0x40f0a3(0x165)](isAccessibilityAutomationSession)&&_0xf07056&&Array[_0x40f0a3(0x1dd)](global[_0x40f0a3(0x1ee)])&&_0x483152[_0x40f0a3(0x16e)](global[_0x40f0a3(0x1ee)][_0x40f0a3(0x200)],0x0)&&globals['getGlobal'](_0x483152[_0x40f0a3(0x199)]))try{const _0x590ff0=await global[_0x40f0a3(0x1ee)][0x0][_0x40f0a3(0x1f7)];if(_0x590ff0){let _0x40634d=!![];const _0x3c5e4b=await global[_0x40f0a3(0x1ee)][0x0][_0x40f0a3(0x1a1)]();let _0x360145;try{_0x360145=new URL(_0x3c5e4b);}catch(_0x99567a){_0x40634d=![];}_0x40634d=_0x483152['qGBRq'](_0x360145[_0x40f0a3(0x18f)],_0x483152['YyUWL'])||_0x483152[_0x40f0a3(0x1b0)](_0x360145['protocol'],_0x483152['XFTNP']),_0x40634d&&(this[_0x40f0a3(0x179)][_0x40f0a3(0x1dc)]&&logger[_0x40f0a3(0x201)](_0x483152['uYyRC'])),this[_0x40f0a3(0x179)][_0x40f0a3(0x1c2)]=this[_0x40f0a3(0x179)]['shouldScanTestForAccessibility'],this[_0x40f0a3(0x179)][_0x40f0a3(0x1dc)]&&logger[_0x40f0a3(0x201)](_0x483152[_0x40f0a3(0x1c1)]);}}catch(_0x26934d){logger[_0x40f0a3(0x169)](_0x40f0a3(0x184)+util[_0x40f0a3(0x180)](_0x26934d));}_0x483152['xlqMf'](_0x1a3802);})[_0x2d6aee(0x15c)](()=>{const _0x13325a=_0x2d6aee;_0x13ac0f[_0x13325a(0x18c)](_0x470863);});},{'platform':_0x483152[_0x101a31(0x1eb)](nestedKeyValue,global[_0x101a31(0x19e)],[_0x483152[_0x101a31(0x189)]]),'hookType':_0x483152['NAExB']})();},'afterEach'(_0x54c2ec){const _0x42bbfc=a35_0x17ad7b,_0x42d3c3={'sAgWr':function(_0x5dd82d,_0x200a23){return _0x5dd82d>_0x200a23;},'yBOgz':function(_0xd700cb,_0x1801a3){return _0xd700cb===_0x1801a3;},'LedOZ':_0x42bbfc(0x17d),'cPyme':_0x42bbfc(0x18b),'pGxWi':function(_0x34bf77,_0x2e1f52,_0x5ba3eb,_0x1939bd){return _0x34bf77(_0x2e1f52,_0x5ba3eb,_0x1939bd);},'Qeylg':_0x42bbfc(0x17b),'JAGDu':_0x42bbfc(0x1c8),'ymRNB':_0x42bbfc(0x1db),'BIzWz':'Performing\x20scan\x20before\x20saving\x20results','UoDle':_0x42bbfc(0x1c9),'lpsVP':_0x42bbfc(0x1b2),'MQiCm':function(_0x3d6df2){return _0x3d6df2();},'FuFik':function(_0x203111,_0x3097ab,_0x1a9d1e){return _0x203111(_0x3097ab,_0x1a9d1e);},'SwFSB':function(_0x2b5afb){return _0x2b5afb();},'oVXxJ':_0x42bbfc(0x1c3),'eRUDc':function(_0x59ab1c,_0x353d17){return _0x59ab1c>_0x353d17;},'zmVWQ':_0x42bbfc(0x1e0),'QNjzP':function(_0x243b6a,_0x3ff2ec){return _0x243b6a!==_0x3ff2ec;},'QnLaM':_0x42bbfc(0x1e8),'oXOpQ':function(_0x536502,_0x45e75a){return _0x536502+_0x45e75a;},'vHJNG':_0x42bbfc(0x1fd),'hDBzf':_0x42bbfc(0x169),'qBfwd':function(_0x55e477,_0x37b7d4,_0x47245c){return _0x55e477(_0x37b7d4,_0x47245c);},'yZFqH':_0x42bbfc(0x1ce),'puPcT':'info','VMNDl':function(_0x5ed941){return _0x5ed941();},'aHdmv':_0x42bbfc(0x1f3),'YQMXi':_0x42bbfc(0x1d8),'ReHeY':_0x42bbfc(0x202)},_0x1988b4='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x42d3c3[_0x42bbfc(0x193)]]),global[_0x42bbfc(0x17f)]=this['currentTest'][_0x42bbfc(0x175)]()[_0x42bbfc(0x177)](_0x42d3c3[_0x42bbfc(0x168)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x43163a=_0x42bbfc,_0x3b0f4b={'PgECi':_0x42d3c3[_0x43163a(0x168)],'MwymG':function(_0x55a369,_0x1c9f22){const _0x376f20=_0x43163a;return _0x42d3c3[_0x376f20(0x19a)](_0x55a369,_0x1c9f22);},'AeIGm':_0x42d3c3['QnLaM'],'NKJem':function(_0x563b9a,_0x56755e,_0x3d2116){const _0x9a3f4c=_0x43163a;return _0x42d3c3[_0x9a3f4c(0x17e)](_0x563b9a,_0x56755e,_0x3d2116);},'tBbyw':function(_0x35fe13,_0x2e7be0){const _0x26138b=_0x43163a;return _0x42d3c3[_0x26138b(0x1d6)](_0x35fe13,_0x2e7be0);},'PTNhQ':_0x42d3c3[_0x43163a(0x1f1)],'riofZ':_0x42d3c3[_0x43163a(0x1a0)],'tAntT':function(_0x122125,_0x421c84,_0x4baa94){const _0x356b8e=_0x43163a;return _0x42d3c3[_0x356b8e(0x15d)](_0x122125,_0x421c84,_0x4baa94);},'qhtEW':_0x42d3c3[_0x43163a(0x1c5)],'aYHJc':_0x42d3c3[_0x43163a(0x1e7)],'OHaKL':function(_0x3c5f8b){const _0x24e3a2=_0x43163a;return _0x42d3c3[_0x24e3a2(0x1f6)](_0x3c5f8b);}},_0x15cddb=async(_0x1aa009,_0x2dce6f)=>{const _0x1477f1=_0x43163a;await global[_0x1477f1(0x1ee)][0x0]['executeScript'](_0x1477f1(0x1a2)+_0x1aa009+_0x1477f1(0x1a9)+_0x2dce6f+'\x22}}');};new Promise(async _0x790518=>{const _0x3f893f=_0x43163a;try{_0x42d3c3[_0x3f893f(0x1c4)](global[_0x3f893f(0x1ee)]['length'],0x1)&&(await global[_0x3f893f(0x1d0)](),global['__drivers']['shift'](),global['__error_messages__']=[],global['__sessionFailed']=![]);try{if(global[_0x3f893f(0x1b8)]&&_0x42d3c3[_0x3f893f(0x162)](global[_0x3f893f(0x1a4)],_0x42d3c3[_0x3f893f(0x1ca)])&&global[_0x3f893f(0x1ee)][0x0]){const _0x2f1c62=_0x42d3c3[_0x3f893f(0x1c4)](global[_0x3f893f(0x1c7)][_0x3f893f(0x200)],0x0)?!!global[_0x3f893f(0x1c7)][0x0][_0x3f893f(0x16d)]||!!global['capabilities'][0x0][_0x42d3c3['cPyme']]:![],_0x4addcb={};_0x4addcb[_0x3f893f(0x16d)]=_0x2f1c62,await _0x42d3c3['pGxWi'](percyAutoCapture,global['__drivers'][0x0],_0x42d3c3['LedOZ'],_0x4addcb);}}catch(_0xa895ac){logger['debug'](_0x3f893f(0x1e6)+_0xa895ac);}!global[_0x3f893f(0x1e4)]&&(await PerformanceTester[_0x3f893f(0x197)](PerformanceAutEvents[_0x3f893f(0x1ac)],async()=>{const _0x309d98=_0x3f893f;await global[_0x309d98(0x1ee)][0x0][_0x309d98(0x15f)](_0x309d98(0x1cd)+JSON['stringify'](this[_0x309d98(0x179)][_0x309d98(0x175)]()[_0x309d98(0x177)](_0x3b0f4b[_0x309d98(0x1d4)]))+'}}');})(),global['__drivers'][0x0][_0x3f893f(0x19b)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x3f893f(0x1ea)],async()=>{const _0x19e719=_0x3f893f,_0x2d6320=_0x3b0f4b[_0x19e719(0x178)](this[_0x19e719(0x179)][_0x19e719(0x1aa)],_0x3b0f4b['AeIGm']);_0x2d6320?(global[_0x19e719(0x19d)]=!![],global['__error_messages__'][_0x19e719(0x1d5)](this['currentTest'][_0x19e719(0x164)][_0x19e719(0x1bb)]),await _0x3b0f4b[_0x19e719(0x203)](_0x15cddb,JSON[_0x19e719(0x1bc)](_0x3b0f4b[_0x19e719(0x1df)](_0x3b0f4b[_0x19e719(0x1d7)],this['currentTest']['err'][_0x19e719(0x1bb)])),_0x3b0f4b[_0x19e719(0x1ae)])):await _0x3b0f4b[_0x19e719(0x15a)](_0x15cddb,JSON[_0x19e719(0x1bc)](_0x3b0f4b[_0x19e719(0x1e9)]),_0x3b0f4b[_0x19e719(0x18a)]);})();}catch(_0xf3632){logger[_0x3f893f(0x1c3)](_0x3f893f(0x1e2)+_0xf3632);}try{if(this[_0x3f893f(0x179)][_0x3f893f(0x1c2)]&&globals[_0x3f893f(0x1cf)](_0x42d3c3['Qeylg'])&&globals[_0x3f893f(0x1cf)](_0x42d3c3[_0x3f893f(0x1b7)])){logger[_0x3f893f(0x201)](_0x42d3c3[_0x3f893f(0x1ff)]);const _0x46ad98={};_0x46ad98[_0x3f893f(0x1cb)]=this[_0x3f893f(0x179)][_0x3f893f(0x161)],_0x46ad98[_0x3f893f(0x167)]=process[_0x3f893f(0x1ef)][testHubConstants[_0x3f893f(0x185)][_0x3f893f(0x1fa)]],_0x46ad98[_0x3f893f(0x1a7)]=process[_0x3f893f(0x1ef)][testHubConstants['ENV_VAR'][_0x3f893f(0x1d2)]];const _0x36f9e6=_0x46ad98;logger['debug'](_0x3f893f(0x1fe)+JSON[_0x3f893f(0x1bc)](_0x36f9e6)),logger[_0x3f893f(0x1c3)](_0x42d3c3['BIzWz']);const _0x558188={};_0x558188[_0x3f893f(0x15e)]=_0x42d3c3[_0x3f893f(0x186)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3f893f(0x187)],async()=>{const _0x3d0e73=_0x3f893f;logger[_0x3d0e73(0x1c3)](util[_0x3d0e73(0x180)](await global[_0x3d0e73(0x1ee)][0x0][_0x3d0e73(0x16b)](scripts[_0x3d0e73(0x1f5)],{'method':global[_0x3d0e73(0x1c0)]})));},_0x558188)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3f893f(0x195)],async()=>{const _0x5cdff4=_0x3f893f;await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x5cdff4(0x16f)],_0x36f9e6);})(),logger['info'](_0x42d3c3[_0x3f893f(0x1f8)]);}}catch(_0x3fdd12){logger['error']('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x3f893f(0x179)][_0x3f893f(0x175)]()+_0x3f893f(0x194),_0x3fdd12);}try{try{if(_0x42d3c3[_0x3f893f(0x1f9)](shouldProcessEventForTesthub)){global[_0x3f893f(0x1ee)][0x0]&&await _0x42d3c3[_0x3f893f(0x17e)](sendPlatformDetails,global[_0x3f893f(0x1ee)][0x0],this[_0x3f893f(0x179)]?this['currentTest'][_0x3f893f(0x161)]:null);if(_0x42d3c3[_0x3f893f(0x172)](isBrowserstackInfra)){PerformanceTester[_0x3f893f(0x1fb)](PerformanceO11yEvents[_0x3f893f(0x1b1)]);const _0x2634ff='ObservabilitySync:'+Date[_0x3f893f(0x196)]();await _0x42d3c3[_0x3f893f(0x17e)](_0x15cddb,JSON['stringify'](_0x2634ff),_0x42d3c3[_0x3f893f(0x1f4)]),PerformanceTester[_0x3f893f(0x173)](PerformanceO11yEvents['SYNC']);}}}catch(_0x182443){logger[_0x3f893f(0x1c3)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x182443),PerformanceTester[_0x3f893f(0x173)](PerformanceO11yEvents[_0x3f893f(0x1b1)],![],_0x182443);}_0x42d3c3['eRUDc'](global[_0x3f893f(0x1ee)][0x0][_0x3f893f(0x1fc)],0x0)&&await global[_0x3f893f(0x1d0)]();}catch(_0x4502de){logger['debug'](_0x3f893f(0x1de)+_0x4502de);}_0x42d3c3[_0x3f893f(0x1f9)](_0x790518);})[_0x43163a(0x15c)](()=>{const _0x190024=_0x43163a;_0x3b0f4b[_0x190024(0x1e1)](_0x54c2ec);});},{'platform':_0x42d3c3['FuFik'](nestedKeyValue,global[_0x42bbfc(0x19e)],[_0x42d3c3[_0x42bbfc(0x1b4)]]),'hookType':_0x42d3c3[_0x42bbfc(0x198)]})();},'afterAll'(_0x50366b){const _0x4a645c=a35_0x17ad7b,_0x1d0788={'FRozO':function(_0x4b1d51){return _0x4b1d51();},'BVrCj':_0x4a645c(0x1f3),'huWNt':function(_0x53f939,_0x4b4678,_0x46a790){return _0x53f939(_0x4b4678,_0x46a790);},'MkKpM':_0x4a645c(0x1d8),'yABtP':_0x4a645c(0x1a6)},_0xcbad21='browserstack internal helper hook';this[_0x4a645c(0x166)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1d0788[_0x4a645c(0x1b9)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x4a645c(0x15b)],()=>{const _0x23fdb6=_0x4a645c,_0x125c89={'Lprgz':function(_0x3362b1){const _0x369e64=a35_0x8503;return _0x1d0788[_0x369e64(0x1ba)](_0x3362b1);}};new Promise(async _0x44428f=>{const _0xa411e4=a35_0x8503;await global[_0xa411e4(0x1d0)](),_0x125c89[_0xa411e4(0x1b3)](_0x44428f);})[_0x23fdb6(0x15c)]()[_0x23fdb6(0x182)](()=>{const _0x52de26=_0x23fdb6;_0x125c89[_0x52de26(0x1b3)](_0x50366b);});},{'platform':_0x1d0788['huWNt'](nestedKeyValue,global[_0x4a645c(0x19e)],[_0x1d0788[_0x4a645c(0x183)]]),'hookType':_0x1d0788[_0x4a645c(0x1e5)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a36_0x1684(_0x3e5264,_0x1744b1){const _0x515a50=a36_0x515a();return a36_0x1684=function(_0x168413,_0x3c638c){_0x168413=_0x168413-0x1b1;let _0x123b57=_0x515a50[_0x168413];return _0x123b57;},a36_0x1684(_0x3e5264,_0x1744b1);}const a36_0x44bd0d=a36_0x1684;function a36_0x515a(){const _0x3d426e=['../../helpers/BrowserStackSetup','UOKgX','3182276nwkJlN','2dssUPB','qPCLx','trim','existsSync','../../helpers/helper','filter','nightwatch.cmd','3043797KkImEU','host','RzmSr','child_process','TZliY','modifyBrowserStackW3CCaps','lnVUF','writeFileSync','join','splice','pHvqR','port','nightwatch','ecBDh','test_settings','hub.browserstack.com','push','now','1050474RkrKiG','krYuY','rUWod','../../helpers/logger','413LwOliS','699839YluGMD','10297296jTRWOD','nightwatch.json','exports','env','ArWTo','55768tvVIZf','--env','getPlatformName','nTJDr','config','forEach','selenium','slice','webdriver','xqKYR','sHOTb','KAhNr','nightwatch.conf.js','Deleting\x20','stringify','--config','kcgKR','25tysFbG','Getting\x20your\x20nightwatch\x20configs\x20from\x20','mergeDeep','findIndex','debug','ypfFc','desiredCapabilities','map','pYZON','41919010qkyZOK','cwd','nightwatch-browserstack.json','info','btsdw','isUndefined','test','YFeas','child\x20process\x20exited\x20with\x20code\x20','PUPxY'];a36_0x515a=function(){return _0x3d426e;};return a36_0x515a();}(function(_0x272311,_0x2642b6){const _0x35b41f=a36_0x1684,_0x4eda6d=_0x272311();while(!![]){try{const _0x482b49=parseInt(_0x35b41f(0x1ea))/0x1*(parseInt(_0x35b41f(0x1cc))/0x2)+-parseInt(_0x35b41f(0x1d3))/0x3+-parseInt(_0x35b41f(0x1cb))/0x4+-parseInt(_0x35b41f(0x1b6))/0x5*(parseInt(_0x35b41f(0x1e5))/0x6)+-parseInt(_0x35b41f(0x1e9))/0x7*(parseInt(_0x35b41f(0x1f0))/0x8)+-parseInt(_0x35b41f(0x1eb))/0x9+parseInt(_0x35b41f(0x1bf))/0xa;if(_0x482b49===_0x2642b6)break;else _0x4eda6d['push'](_0x4eda6d['shift']());}catch(_0x38beec){_0x4eda6d['push'](_0x4eda6d['shift']());}}}(a36_0x515a,0x9edf8));const fs=require('fs'),path=require('path'),{spawn}=require(a36_0x44bd0d(0x1d6)),logger=require(a36_0x44bd0d(0x1e8))['winstonLogger'],{default:BrowserStackSetup}=require(a36_0x44bd0d(0x1c9)),helper=require(a36_0x44bd0d(0x1d0)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x23a583,_0x5f0dae)=>{const _0x28d0f9=a36_0x44bd0d,_0x401910={'pHvqR':_0x28d0f9(0x1b1),'KAhNr':_0x28d0f9(0x1ec),'btsdw':function(_0x12a510,_0x381cc4){return _0x12a510(_0x381cc4);},'pYZON':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x540d71=null,_0x73b752={};const _0x2598cf=_0x5f0dae['findIndex'](_0x28bba2=>_0x28bba2===_0x28d0f9(0x1b4));if(!helper[_0x28d0f9(0x1c4)](_0x23a583[_0x28d0f9(0x1f4)])&&fs[_0x28d0f9(0x1cf)](path[_0x28d0f9(0x1db)](process[_0x28d0f9(0x1c0)](),_0x23a583[_0x28d0f9(0x1f4)])))_0x540d71=path['join'](process['cwd'](),_0x23a583[_0x28d0f9(0x1f4)]),_0x5f0dae[_0x28d0f9(0x1dc)](_0x2598cf,0x2);else{if(fs[_0x28d0f9(0x1cf)](path['join'](process[_0x28d0f9(0x1c0)](),_0x401910['pHvqR'])))_0x540d71=path['join'](process['cwd'](),_0x401910[_0x28d0f9(0x1dd)]);else fs[_0x28d0f9(0x1cf)](path[_0x28d0f9(0x1db)](process[_0x28d0f9(0x1c0)](),_0x401910[_0x28d0f9(0x1fb)]))&&(_0x540d71=path[_0x28d0f9(0x1db)](process[_0x28d0f9(0x1c0)](),_0x401910[_0x28d0f9(0x1fb)]));}return _0x540d71?(logger[_0x28d0f9(0x1c2)](_0x28d0f9(0x1b7)+_0x540d71),_0x73b752=_0x401910[_0x28d0f9(0x1c3)](require,_0x540d71)):logger[_0x28d0f9(0x1c2)](_0x401910[_0x28d0f9(0x1be)]),_0x73b752;},removeExistingEnvs=_0x58addc=>{const _0x319351=a36_0x44bd0d,_0x5112a0={};_0x5112a0[_0x319351(0x1b5)]=function(_0x29f8bd,_0x109795){return _0x29f8bd>_0x109795;},_0x5112a0[_0x319351(0x1f3)]=function(_0x457793,_0x3677ba){return _0x457793>_0x3677ba;};const _0x40a556=_0x5112a0;let _0x213acc=_0x58addc[_0x319351(0x1b9)](_0x23c9e9=>_0x23c9e9==='--env');_0x40a556[_0x319351(0x1b5)](_0x213acc,-0x1)&&_0x58addc['splice'](_0x213acc,0x2),_0x213acc=_0x58addc[_0x319351(0x1b9)](_0x5e693d=>_0x5e693d==='-e'),_0x40a556[_0x319351(0x1f3)](_0x213acc,-0x1)&&_0x58addc['splice'](_0x213acc,0x2);};function run(_0x319254,_0x10eb73,_0x30289a){const _0x4f8352=a36_0x44bd0d,_0x22005b={'qPCLx':_0x4f8352(0x1df),'ArWTo':function(_0x147e2d,_0x3e413e){return _0x147e2d+_0x3e413e;},'TZliY':_0x4f8352(0x1e1),'lnVUF':function(_0x4dfc7f,_0x2e6540,_0x257c16){return _0x4dfc7f(_0x2e6540,_0x257c16);},'YFeas':_0x4f8352(0x1e2),'Gdfkz':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','PUPxY':function(_0x287202,_0x36ada7){return _0x287202===_0x36ada7;},'sHOTb':_0x4f8352(0x1c1),'ypfFc':function(_0x394282,_0x4d0e77){return _0x394282(_0x4d0e77);},'ecBDh':function(_0x2a9a97,_0x38064d,_0x372616,_0x5a4b01){return _0x2a9a97(_0x38064d,_0x372616,_0x5a4b01);},'cQtPf':_0x4f8352(0x1d2),'xqKYR':_0x4f8352(0x1b4),'UOKgX':_0x4f8352(0x1f1),'zMMaL':'inherit','krYuY':'close'};if(!_0x30289a['config'])return;const _0x5665b0=_0x22005b[_0x4f8352(0x1d9)](getUserNightwatchConfigs,_0x319254,_0x10eb73),_0x257a30={};_0x257a30['start_process']=![];const _0x135733={};_0x135733[_0x4f8352(0x1d4)]=_0x22005b[_0x4f8352(0x1c6)],_0x135733[_0x4f8352(0x1de)]=0x1bb;const _0xb1dcf5={};_0xb1dcf5[_0x4f8352(0x1f8)]=_0x257a30,_0xb1dcf5[_0x4f8352(0x1f6)]=_0x135733;const _0x39ad63=_0xb1dcf5;logger[_0x4f8352(0x1c2)](_0x22005b['Gdfkz']);const _0x231f12={..._0x5665b0},_0x44369c=_0x231f12,_0x2490cb=helper['useW3C'](_0x30289a[_0x4f8352(0x1f4)]),_0x13652d=[];_0x30289a[_0x4f8352(0x1f4)]['platforms'][_0x4f8352(0x1f5)]((_0x37fab3,_0x20cdcc)=>{const _0x36438f=_0x4f8352;_0x2490cb?_0x13652d['push'](helper[_0x36438f(0x1d8)](_0x30289a[_0x36438f(0x1f4)],_0x22005b[_0x36438f(0x1cd)],_0x20cdcc)):_0x13652d['push'](helper['modifyBrowserStackCaps'](_0x30289a[_0x36438f(0x1f4)],_0x22005b[_0x36438f(0x1cd)],_0x20cdcc));});const _0xa2a54={},_0x526d7a=[];_0x319254[_0x4f8352(0x1ee)]=_0x319254['env']||_0x319254['e'];const _0x3c28aa=_0x319254[_0x4f8352(0x1ee)]?_0x319254[_0x4f8352(0x1ee)]['trim']()['split'](',')[_0x4f8352(0x1bd)](_0x3b22c1=>_0x3b22c1[_0x4f8352(0x1ce)]())[_0x4f8352(0x1d1)](_0x21aae1=>_0x21aae1!==''):[''];_0x22005b[_0x4f8352(0x1c8)](_0x3c28aa['length'],0x0)&&_0x3c28aa[_0x4f8352(0x1e3)]('');_0x3c28aa[_0x4f8352(0x1f5)](_0x1afdb7=>{const _0x1eb584=_0x4f8352,_0x55efe3={'rUWod':function(_0x1a6099,_0x5ad685){const _0x42841d=a36_0x1684;return _0x22005b[_0x42841d(0x1ef)](_0x1a6099,_0x5ad685);},'RzmSr':_0x22005b[_0x1eb584(0x1d7)]};_0x13652d['forEach'](_0x650c13=>{const _0x518a2c=_0x1eb584;let _0x239cac=_0x55efe3[_0x518a2c(0x1e7)](helper[_0x518a2c(0x1f2)](_0x650c13,'_'),'_'+Date[_0x518a2c(0x1e4)]());_0x1afdb7&&(_0x239cac+='_'+_0x1afdb7);if(_0x1afdb7&&(!_0x5665b0[_0x55efe3['RzmSr']]||!_0x5665b0[_0x55efe3[_0x518a2c(0x1d5)]][_0x1afdb7]))return;const _0x5149ee={..._0x39ad63};_0x5149ee[_0x518a2c(0x1bc)]=_0x650c13;const _0x2e3c36=_0x5149ee;_0xa2a54[_0x239cac]=_0x1afdb7?helper[_0x518a2c(0x1b8)](_0x5665b0[_0x55efe3[_0x518a2c(0x1d5)]][_0x1afdb7],_0x2e3c36):_0x2e3c36,_0x526d7a[_0x518a2c(0x1e3)](_0x239cac);});});!_0x44369c[_0x4f8352(0x1e1)]&&(_0x44369c[_0x4f8352(0x1e1)]={});_0x44369c[_0x4f8352(0x1e1)]={..._0x44369c[_0x4f8352(0x1e1)],..._0xa2a54};const _0x4172e4=path[_0x4f8352(0x1db)](__dirname,_0x22005b[_0x4f8352(0x1fa)]);fs[_0x4f8352(0x1da)](_0x4172e4,JSON[_0x4f8352(0x1b3)](_0x44369c)),_0x22005b[_0x4f8352(0x1bb)](removeExistingEnvs,_0x10eb73);const _0x59b0f2=_0x22005b[_0x4f8352(0x1e0)](spawn,/^win/[_0x4f8352(0x1c5)](process['platform'])?_0x22005b['cQtPf']:_0x22005b[_0x4f8352(0x1cd)],[_0x22005b[_0x4f8352(0x1f9)],_0x4172e4,..._0x10eb73[_0x4f8352(0x1f7)](0x1),_0x22005b[_0x4f8352(0x1ca)],_0x526d7a[_0x4f8352(0x1db)](',')],{'stdio':_0x22005b['zMMaL']});_0x59b0f2['on'](_0x22005b[_0x4f8352(0x1e6)],async _0x45a4ec=>{const _0x3fadde=_0x4f8352;logger[_0x3fadde(0x1ba)](_0x3fadde(0x1c7)+_0x45a4ec),logger['info'](_0x3fadde(0x1b2)+_0x4172e4),fs['unlinkSync'](_0x4172e4);});}module[a36_0x44bd0d(0x1ed)]=run;
2
+ 'use strict';function a36_0x3f50(){const _0x4f0d01=['stringify','test','nightwatch','forEach','trim','platform','hub.browserstack.com','vBqiv','push','fMwvI','1034982NgBLyX','nightwatch.conf.js','zJlkr','eLLhD','writeFileSync','join','selenium','mergeDeep','--env','inherit','length','info','debug','nightwatch.json','--config','CRBnL','useW3C','test_settings','5898jEcPNO','18fyICHx','ZDGPV','filter','471008NisycX','147aiwxtx','IQwvq','tsDMO','../../helpers/logger','1001445sHsnxl','4164853TZBdGM','AxQoo','env','port','host','existsSync','YFaKu','212188hWqVeq','../../helpers/helper','path','webdriver','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','child\x20process\x20exited\x20with\x20code\x20','slice','exports','debxN','../../helpers/BrowserStackSetup','platforms','close','../utils/constants','BXclV','CnbTA','pfoTW','BogTw','splice','now','Getting\x20your\x20nightwatch\x20configs\x20from\x20','5133960XXqPfF','isUndefined','Deleting\x20','130bREveF','map','cwd','child_process','winstonLogger','getPlatformName','config'];a36_0x3f50=function(){return _0x4f0d01;};return a36_0x3f50();}const a36_0x31345a=a36_0x4004;(function(_0x4ec003,_0x1ef246){const _0x38a0e3=a36_0x4004,_0x45179b=_0x4ec003();while(!![]){try{const _0x882328=-parseInt(_0x38a0e3(0x216))/0x1+parseInt(_0x38a0e3(0x212))/0x2*(parseInt(_0x38a0e3(0x217))/0x3)+-parseInt(_0x38a0e3(0x1d8))/0x4+parseInt(_0x38a0e3(0x21b))/0x5*(-parseInt(_0x38a0e3(0x213))/0x6)+-parseInt(_0x38a0e3(0x21c))/0x7+parseInt(_0x38a0e3(0x1ec))/0x8+-parseInt(_0x38a0e3(0x200))/0x9*(-parseInt(_0x38a0e3(0x1ef))/0xa);if(_0x882328===_0x1ef246)break;else _0x45179b['push'](_0x45179b['shift']());}catch(_0x33db84){_0x45179b['push'](_0x45179b['shift']());}}}(a36_0x3f50,0x890a7));function a36_0x4004(_0x383de7,_0x220d90){const _0x3f50ee=a36_0x3f50();return a36_0x4004=function(_0x400471,_0x467eff){_0x400471=_0x400471-0x1d4;let _0x3c2c72=_0x3f50ee[_0x400471];return _0x3c2c72;},a36_0x4004(_0x383de7,_0x220d90);}const fs=require('fs'),path=require(a36_0x31345a(0x1da)),{spawn}=require(a36_0x31345a(0x1f2)),logger=require(a36_0x31345a(0x21a))[a36_0x31345a(0x1f3)],{default:BrowserStackSetup}=require(a36_0x31345a(0x1e1)),helper=require(a36_0x31345a(0x1d9)),constants=require(a36_0x31345a(0x1e4)),getUserNightwatchConfigs=(_0x454c6e,_0x3a45a2)=>{const _0x21db81=a36_0x31345a,_0x8453ec={'eLLhD':_0x21db81(0x201),'zJlkr':_0x21db81(0x20d),'BogTw':function(_0x5eab38,_0xe3e950){return _0x5eab38(_0xe3e950);},'AxQoo':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x2b173e=null,_0x314fdb={};const _0x625dfc=_0x3a45a2['findIndex'](_0x45df92=>_0x45df92==='--config');if(!helper[_0x21db81(0x1ed)](_0x454c6e[_0x21db81(0x1f5)])&&fs[_0x21db81(0x1d6)](path[_0x21db81(0x205)](process[_0x21db81(0x1f1)](),_0x454c6e[_0x21db81(0x1f5)])))_0x2b173e=path[_0x21db81(0x205)](process[_0x21db81(0x1f1)](),_0x454c6e[_0x21db81(0x1f5)]),_0x3a45a2[_0x21db81(0x1e9)](_0x625dfc,0x2);else{if(fs[_0x21db81(0x1d6)](path[_0x21db81(0x205)](process['cwd'](),_0x8453ec[_0x21db81(0x203)])))_0x2b173e=path[_0x21db81(0x205)](process[_0x21db81(0x1f1)](),_0x8453ec['eLLhD']);else fs[_0x21db81(0x1d6)](path[_0x21db81(0x205)](process[_0x21db81(0x1f1)](),_0x8453ec[_0x21db81(0x202)]))&&(_0x2b173e=path[_0x21db81(0x205)](process[_0x21db81(0x1f1)](),_0x8453ec[_0x21db81(0x202)]));}return _0x2b173e?(logger[_0x21db81(0x20b)](_0x21db81(0x1eb)+_0x2b173e),_0x314fdb=_0x8453ec[_0x21db81(0x1e8)](require,_0x2b173e)):logger[_0x21db81(0x20b)](_0x8453ec[_0x21db81(0x21d)]),_0x314fdb;},removeExistingEnvs=_0x10db7f=>{const _0x286ad5=a36_0x31345a,_0x51107e={};_0x51107e[_0x286ad5(0x1d7)]=function(_0x168809,_0x456db9){return _0x168809>_0x456db9;};const _0x41fb9a=_0x51107e;let _0x573749=_0x10db7f['findIndex'](_0x5b3fc2=>_0x5b3fc2===_0x286ad5(0x208));_0x41fb9a[_0x286ad5(0x1d7)](_0x573749,-0x1)&&_0x10db7f[_0x286ad5(0x1e9)](_0x573749,0x2),_0x573749=_0x10db7f['findIndex'](_0x1171d3=>_0x1171d3==='-e'),_0x41fb9a['YFaKu'](_0x573749,-0x1)&&_0x10db7f[_0x286ad5(0x1e9)](_0x573749,0x2);};function run(_0x1ece68,_0x26bc80,_0x5cec14){const _0x942e26=a36_0x31345a,_0x25fa28={'CnbTA':_0x942e26(0x1f8),'qmzEb':function(_0x374ace,_0x4359b0){return _0x374ace+_0x4359b0;},'CRBnL':_0x942e26(0x211),'gstcE':function(_0x532363,_0x431c55,_0x597b3d){return _0x532363(_0x431c55,_0x597b3d);},'pfoTW':_0x942e26(0x1fc),'rpSXV':_0x942e26(0x1dc),'ZDGPV':function(_0x569e75,_0x22e739){return _0x569e75===_0x22e739;},'XpvzI':'nightwatch-browserstack.json','AWclg':function(_0xa25c29,_0x12866e){return _0xa25c29(_0x12866e);},'IQwvq':function(_0x25e74f,_0x27d664,_0x32bd58,_0x485e64){return _0x25e74f(_0x27d664,_0x32bd58,_0x485e64);},'tsDMO':'nightwatch.cmd','fMwvI':_0x942e26(0x20e),'vBqiv':'--env','BXclV':_0x942e26(0x209),'debxN':_0x942e26(0x1e3)};if(!_0x5cec14[_0x942e26(0x1f5)])return;const _0x5063d0=_0x25fa28['gstcE'](getUserNightwatchConfigs,_0x1ece68,_0x26bc80),_0x413bf7={};_0x413bf7['start_process']=![];const _0x57f6c3={};_0x57f6c3[_0x942e26(0x1d5)]=_0x25fa28[_0x942e26(0x1e7)],_0x57f6c3[_0x942e26(0x1d4)]=0x1bb;const _0x52b500={};_0x52b500[_0x942e26(0x1db)]=_0x413bf7,_0x52b500[_0x942e26(0x206)]=_0x57f6c3;const _0x5b018a=_0x52b500;logger[_0x942e26(0x20b)](_0x25fa28['rpSXV']);const _0x2717a9={..._0x5063d0},_0x3e29e6=_0x2717a9,_0x1fd645=helper[_0x942e26(0x210)](_0x5cec14['config']),_0x5bbd4e=[];_0x5cec14['config'][_0x942e26(0x1e2)]['forEach']((_0x2b3a14,_0x39a605)=>{const _0x334ca0=_0x942e26;_0x1fd645?_0x5bbd4e[_0x334ca0(0x1fe)](helper['modifyBrowserStackW3CCaps'](_0x5cec14[_0x334ca0(0x1f5)],_0x25fa28['CnbTA'],_0x39a605)):_0x5bbd4e['push'](helper['modifyBrowserStackCaps'](_0x5cec14[_0x334ca0(0x1f5)],_0x25fa28['CnbTA'],_0x39a605));});const _0x33c42a={},_0x87b269=[];_0x1ece68[_0x942e26(0x21e)]=_0x1ece68[_0x942e26(0x21e)]||_0x1ece68['e'];const _0xafaf82=_0x1ece68[_0x942e26(0x21e)]?_0x1ece68[_0x942e26(0x21e)]['trim']()['split'](',')[_0x942e26(0x1f0)](_0x40fc3b=>_0x40fc3b[_0x942e26(0x1fa)]())[_0x942e26(0x215)](_0x1b951e=>_0x1b951e!==''):[''];_0x25fa28[_0x942e26(0x214)](_0xafaf82[_0x942e26(0x20a)],0x0)&&_0xafaf82[_0x942e26(0x1fe)]('');_0xafaf82[_0x942e26(0x1f9)](_0x1c4d39=>{_0x5bbd4e['forEach'](_0x19a9fc=>{const _0x142757=a36_0x4004;let _0x58d43a=_0x25fa28['qmzEb'](helper[_0x142757(0x1f4)](_0x19a9fc,'_'),'_'+Date[_0x142757(0x1ea)]());_0x1c4d39&&(_0x58d43a+='_'+_0x1c4d39);if(_0x1c4d39&&(!_0x5063d0[_0x25fa28['CRBnL']]||!_0x5063d0[_0x25fa28[_0x142757(0x20f)]][_0x1c4d39]))return;const _0x35297d={..._0x5b018a};_0x35297d['desiredCapabilities']=_0x19a9fc;const _0x2a0ee2=_0x35297d;_0x33c42a[_0x58d43a]=_0x1c4d39?helper[_0x142757(0x207)](_0x5063d0[_0x25fa28[_0x142757(0x20f)]][_0x1c4d39],_0x2a0ee2):_0x2a0ee2,_0x87b269['push'](_0x58d43a);});});!_0x3e29e6[_0x942e26(0x211)]&&(_0x3e29e6[_0x942e26(0x211)]={});_0x3e29e6[_0x942e26(0x211)]={..._0x3e29e6[_0x942e26(0x211)],..._0x33c42a};const _0x1abce1=path[_0x942e26(0x205)](__dirname,_0x25fa28['XpvzI']);fs[_0x942e26(0x204)](_0x1abce1,JSON[_0x942e26(0x1f6)](_0x3e29e6)),_0x25fa28['AWclg'](removeExistingEnvs,_0x26bc80);const _0x2e18a7=_0x25fa28[_0x942e26(0x218)](spawn,/^win/[_0x942e26(0x1f7)](process[_0x942e26(0x1fb)])?_0x25fa28[_0x942e26(0x219)]:_0x25fa28[_0x942e26(0x1e6)],[_0x25fa28[_0x942e26(0x1ff)],_0x1abce1,..._0x26bc80[_0x942e26(0x1de)](0x1),_0x25fa28[_0x942e26(0x1fd)],_0x87b269[_0x942e26(0x205)](',')],{'stdio':_0x25fa28[_0x942e26(0x1e5)]});_0x2e18a7['on'](_0x25fa28[_0x942e26(0x1e0)],async _0x2b4abe=>{const _0x265de2=_0x942e26;logger[_0x265de2(0x20c)](_0x265de2(0x1dd)+_0x2b4abe),logger[_0x265de2(0x20b)](_0x265de2(0x1ee)+_0x1abce1),fs['unlinkSync'](_0x1abce1);});}module[a36_0x31345a(0x1df)]=run;
@@ -1 +1 @@
1
- const a37_0x46bab9=a37_0xe73b;function a37_0xe73b(_0x337ca6,_0x45c1a5){const _0xca57dd=a37_0xca57();return a37_0xe73b=function(_0xe73b6f,_0x200516){_0xe73b6f=_0xe73b6f-0xe5;let _0x1bd588=_0xca57dd[_0xe73b6f];return _0x1bd588;},a37_0xe73b(_0x337ca6,_0x45c1a5);}(function(_0x2f790d,_0x365bd5){const _0x28de30=a37_0xe73b,_0x45e0f9=_0x2f790d();while(!![]){try{const _0x402648=-parseInt(_0x28de30(0x124))/0x1+parseInt(_0x28de30(0x11a))/0x2+parseInt(_0x28de30(0x13a))/0x3+-parseInt(_0x28de30(0x151))/0x4*(-parseInt(_0x28de30(0xe9))/0x5)+parseInt(_0x28de30(0xf0))/0x6+-parseInt(_0x28de30(0x106))/0x7+-parseInt(_0x28de30(0x121))/0x8;if(_0x402648===_0x365bd5)break;else _0x45e0f9['push'](_0x45e0f9['shift']());}catch(_0x413687){_0x45e0f9['push'](_0x45e0f9['shift']());}}}(a37_0xca57,0x5aee5));const util=require(a37_0x46bab9(0xeb)),logger=require(a37_0x46bab9(0x122))[a37_0x46bab9(0xf7)],{isAccessibilityAutomationSession}=require(a37_0x46bab9(0x150)),{isUndefined,isBrowserstackInfra}=require(a37_0x46bab9(0x148)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a37_0x46bab9(0x123)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a37_0x46bab9(0x104));exports[a37_0x46bab9(0x149)]=async(_0x47c6dc,_0x771fec,_0xdd79f0={})=>{const _0x51b99c=a37_0x46bab9,_0x490bd2={};_0x490bd2[_0x51b99c(0x145)]='bstackSdkArgs';const _0x35bd85=_0x490bd2;return await _0x47c6dc[_0x51b99c(0x14c)]('(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'+_0x771fec['replace'](/arguments/g,_0x35bd85['lORcw'])+_0x51b99c(0x127)+JSON[_0x51b99c(0x141)](_0xdd79f0)+')');},exports[a37_0x46bab9(0x12c)]=async(_0x3e39e6,_0x21ceca,_0x4888c8={})=>{const _0xec6873=a37_0x46bab9,_0x2d4eed={};_0x2d4eed[_0xec6873(0xf5)]=function(_0x4dc809,_0x3a05b5){return _0x4dc809===_0x3a05b5;},_0x2d4eed[_0xec6873(0x157)]=_0xec6873(0x116),_0x2d4eed[_0xec6873(0x13c)]=function(_0x37c73f,_0x3d981f){return _0x37c73f===_0x3d981f;},_0x2d4eed[_0xec6873(0x14f)]='Playwright',_0x2d4eed[_0xec6873(0x10c)]=_0xec6873(0x147);const _0xf92086=_0x2d4eed;if(_0xf92086[_0xec6873(0xf5)](_0x3e39e6[_0xec6873(0xea)]['name'],_0xf92086[_0xec6873(0x157)]))return await _0x3e39e6[_0xec6873(0x11e)](_0x21ceca,_0x4888c8);else{if(_0xf92086[_0xec6873(0x13c)](_0x3e39e6['constructor'][_0xec6873(0x119)],_0xf92086[_0xec6873(0x14f)]))return await _0x3e39e6['executeScript'](_0xec6873(0x11f)+_0x21ceca['replace'](/arguments/g,_0xf92086[_0xec6873(0x10c)])+_0xec6873(0x156)+JSON[_0xec6873(0x141)](_0x4888c8)+')');}},exports[a37_0x46bab9(0xfd)]=async _0x3433d2=>{const _0x5a8c3e=a37_0x46bab9,_0x44aa57={};_0x44aa57[_0x5a8c3e(0x10b)]=_0x5a8c3e(0x136),_0x44aa57[_0x5a8c3e(0x130)]=_0x5a8c3e(0x138),_0x44aa57[_0x5a8c3e(0x14a)]='accessibilityOptions.includeIssueType.bestPractice',_0x44aa57[_0x5a8c3e(0xee)]='accessibilityOptions.includeIssueType.needsReview',_0x44aa57['YXBQY']=_0x5a8c3e(0x143),_0x44aa57[_0x5a8c3e(0x117)]=_0x5a8c3e(0x12a);const _0x426630=_0x44aa57;_0x3433d2[_0x5a8c3e(0x133)]&&(_0x3433d2[_0x5a8c3e(0x133)][_0x5a8c3e(0xfb)]&&(_0x3433d2[_0x426630[_0x5a8c3e(0x10b)]]=_0x3433d2[_0x5a8c3e(0x133)]['wcagVersion']),_0x3433d2[_0x5a8c3e(0x133)][_0x5a8c3e(0x115)]&&(_0x3433d2[_0x426630[_0x5a8c3e(0x130)]]=_0x3433d2[_0x5a8c3e(0x133)][_0x5a8c3e(0x115)]),_0x3433d2[_0x5a8c3e(0x133)][_0x5a8c3e(0xfe)]&&(_0x3433d2[_0x426630['aaqPR']]=_0x3433d2[_0x5a8c3e(0x133)][_0x5a8c3e(0xfe)][_0x5a8c3e(0x12e)],_0x3433d2[_0x426630[_0x5a8c3e(0xee)]]=_0x3433d2[_0x5a8c3e(0x133)]['includeIssueType']['needsReview']));const _0x46d043=JSON[_0x5a8c3e(0x118)](process[_0x5a8c3e(0x113)][_0x5a8c3e(0x153)])[_0x5a8c3e(0xfa)];_0x3433d2[_0x426630[_0x5a8c3e(0x114)]]=process[_0x5a8c3e(0x113)][_0x5a8c3e(0x10e)],_0x3433d2[_0x426630[_0x5a8c3e(0x117)]]=_0x46d043,delete _0x3433d2[_0x5a8c3e(0x133)];},exports[a37_0x46bab9(0x137)]=async _0x9b237f=>{const _0x551cc0=a37_0x46bab9,_0x14bb61={};_0x14bb61[_0x551cc0(0xe6)]=_0x551cc0(0xed),_0x14bb61['NyGrq']=_0x551cc0(0xe8);const _0xa82005=_0x14bb61;if(global[_0x551cc0(0x10d)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x9b237f,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x9b237f,scripts.getResults);})();return res;}catch{return logger[_0x551cc0(0x14e)](_0xa82005['tWbPT']),[];}else return logger['warn'](_0xa82005[_0x551cc0(0x139)]),[];},exports[a37_0x46bab9(0x13f)]=async(_0x3da83e,_0x47d41e='')=>{const _0x3ec77f=a37_0x46bab9;logger[_0x3ec77f(0x144)]('Performing\x20scan\x20with\x20method:\x20'+_0x47d41e+_0x3ec77f(0x152)+_0x3da83e);if(global[_0x3ec77f(0x10d)])return await PerformanceTester[_0x3ec77f(0x146)](PerformanceA11yEvents[_0x3ec77f(0xf6)],async()=>{const _0xc3cbdc=_0x3ec77f,_0x5784ea={};_0x5784ea['command']=_0x47d41e,await exports[_0xc3cbdc(0x149)](_0x3da83e,scripts['performScan'],_0x5784ea);},{'command':_0x47d41e})();},exports[a37_0x46bab9(0x10f)]=async _0x3e283f=>{const _0x25c051=a37_0x46bab9,_0x1de5d0={};_0x1de5d0[_0x25c051(0x129)]=_0x25c051(0x100),_0x1de5d0[_0x25c051(0xe5)]=_0x25c051(0xef);const _0x14b778=_0x1de5d0;if(global[_0x25c051(0x10d)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3e283f,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3e283f,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x25c051(0x144)](_0x14b778['exMgW']),{};}else return logger[_0x25c051(0x108)](_0x14b778['ZKvZx']),{};},exports['platformValidation']=async _0xec5104=>{const _0x524be1=a37_0x46bab9,_0x55dead={'JabwC':function(_0x2319f0,_0x177b63){return _0x2319f0!==_0x177b63;},'RvfaL':_0x524be1(0x134),'AIQSc':_0x524be1(0x10a),'ROMzw':_0x524be1(0xe7),'FCMwq':_0x524be1(0x125),'KtXuJ':_0x524be1(0xff),'CRImP':function(_0x5a71a1,_0xb0de66){return _0x5a71a1(_0xb0de66);},'FNSdz':function(_0x5779a9){return _0x5779a9();},'iMFRg':function(_0x198e25,_0x5b9e13){return _0x198e25<_0x5b9e13;},'NYpYZ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','mvihS':function(_0x45bfd4,_0x1eb6b7){return _0x45bfd4===_0x1eb6b7;},'HYaBr':'latest','vrspK':function(_0x3d32a7,_0x59ca66){return _0x3d32a7>_0x59ca66;},'DCqBB':_0x524be1(0x11c)};try{if(!_0x55dead[_0x524be1(0x140)](_0xec5104['deviceName'],''))return logger[_0x524be1(0x108)](_0x55dead['RvfaL']),![];const _0x1b7a2b=_0xec5104[_0x524be1(0xf8)];if(![_0x55dead[_0x524be1(0xec)],_0x55dead[_0x524be1(0x14b)],_0x55dead['FCMwq']]['includes'](_0x1b7a2b))return logger[_0x524be1(0x108)](_0x55dead[_0x524be1(0x111)]),![];const _0x310918=_0x55dead['CRImP'](parseInt,_0xec5104[_0x524be1(0xf2)]);!_0x55dead[_0x524be1(0xfc)](isBrowserstackInfra)&&(!_0x55dead[_0x524be1(0xf3)](_0x310918,0x64)&&logger['warn'](_0x55dead[_0x524be1(0x12b)]));if(!(_0x55dead[_0x524be1(0x142)](_0x310918,_0x55dead['HYaBr'])||_0x55dead[_0x524be1(0x132)](_0x310918,0x5e)))return logger[_0x524be1(0x108)](_0x55dead['DCqBB']),![];}catch(_0x399965){logger[_0x524be1(0x144)](_0x524be1(0x128)+util['format'](_0x399965));}return!![];},exports[a37_0x46bab9(0x105)]=(_0x124f88,_0x19f45f,_0x3508c3)=>{const _0x2ac4dd=a37_0x46bab9,_0x4b1f3b={'PsCIy':function(_0x35fb65){return _0x35fb65();},'Fspvg':_0x2ac4dd(0x126),'aPVvW':function(_0xab75d9,_0x1fb3cf){return _0xab75d9===_0x1fb3cf;},'banbK':'chrome','yCdFH':function(_0x3e92a8,_0x3604ff){return _0x3e92a8===_0x3604ff;},'Igqfn':'playwright-chromium','fpJzl':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','APDnK':function(_0x398fbc){return _0x398fbc();},'EGcPx':function(_0x358307,_0x4e684f){return _0x358307>_0x4e684f;},'hDtuN':_0x2ac4dd(0x112),'bMXXr':function(_0x598541,_0x142a75){return _0x598541===_0x142a75;},'nAJob':'latest','NHxDV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','WYCPa':function(_0xd803a8,_0x15f878){return _0xd803a8(_0x15f878);},'fYgrT':_0x2ac4dd(0x134),'tMjZV':function(_0x1ea6d5,_0x13a4a4){return _0x1ea6d5+_0x13a4a4;},'yWQoO':function(_0x1f87f8,_0x5b20ff){return _0x1f87f8(_0x5b20ff);}};try{if(_0x4b1f3b['PsCIy'](isAccessibilityAutomationSession)){global[_0x2ac4dd(0x10d)]=!![];!_0x124f88[_0x4b1f3b[_0x2ac4dd(0x107)]]&&(global[_0x2ac4dd(0x10d)]=![]);!(_0x4b1f3b['aPVvW'](_0x124f88[_0x2ac4dd(0x11b)],_0x4b1f3b[_0x2ac4dd(0x13b)])||_0x4b1f3b[_0x2ac4dd(0x103)](_0x124f88['browserName'],_0x4b1f3b[_0x2ac4dd(0xf1)])||_0x4b1f3b[_0x2ac4dd(0x103)](_0x124f88[_0x2ac4dd(0xf8)],_0x4b1f3b[_0x2ac4dd(0x13b)])||_0x4b1f3b['yCdFH'](_0x124f88['browser'],_0x4b1f3b[_0x2ac4dd(0xf1)]))&&(logger[_0x2ac4dd(0x108)](_0x4b1f3b[_0x2ac4dd(0x14d)]),global['accessibilityPlatform']=![]);!_0x4b1f3b[_0x2ac4dd(0xf4)](isBrowserstackInfra)&&(!_0x4b1f3b[_0x2ac4dd(0x131)](_0x124f88[_0x2ac4dd(0xf2)],0x64)&&logger[_0x2ac4dd(0x108)](_0x4b1f3b[_0x2ac4dd(0xf9)]));!(_0x4b1f3b['bMXXr'](_0x124f88[_0x2ac4dd(0xf2)],_0x4b1f3b[_0x2ac4dd(0x135)])||_0x4b1f3b[_0x2ac4dd(0x131)](_0x124f88['browser_version'],0x5e))&&(logger['warn'](_0x4b1f3b[_0x2ac4dd(0x154)]),global[_0x2ac4dd(0x10d)]=![]);!_0x4b1f3b[_0x2ac4dd(0x13d)](isUndefined,_0x124f88[_0x2ac4dd(0x109)])&&(logger[_0x2ac4dd(0x108)](_0x4b1f3b[_0x2ac4dd(0x13e)]),global['accessibilityPlatform']=![]);if(!global[_0x2ac4dd(0x10d)]){_0x124f88[_0x4b1f3b[_0x2ac4dd(0x107)]]=![];const _0x58c7de=_0x4b1f3b['tMjZV'](_0x19f45f,_0x4b1f3b[_0x2ac4dd(0x110)](encodeURIComponent,JSON[_0x2ac4dd(0x141)](_0x124f88)));_0x3508c3&&(_0x3508c3['currentTest'][_0x2ac4dd(0x155)][_0x2ac4dd(0x120)][_0x2ac4dd(0x11d)]['connectOptions'][_0x2ac4dd(0x12d)]=_0x58c7de,_0x3508c3['workerInfo']['project'][_0x2ac4dd(0x11d)][_0x2ac4dd(0x12f)]['wsEndpoint']=_0x58c7de);}}else global['accessibilityPlatform']=![];}catch(_0x1f8d03){logger[_0x2ac4dd(0x144)](_0x2ac4dd(0x102)+util[_0x2ac4dd(0x101)](_0x1f8d03));}};function a37_0xca57(){const _0x3f8963=['constructor','util','AIQSc','No\x20accessibility\x20results\x20were\x20found.','gBgRl','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','1404966kblUki','Igqfn','browser_version','iMFRg','APDnK','hudoQ','PERFORM_SCAN','winstonLogger','browser','hDtuN','scannerVersion','wcagVersion','FNSdz','setAccessibilityCapabilities','includeIssueType','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','No\x20summaryResults\x20found.','format','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','yCdFH','../../helpers/performance/constants','processAccessibilityCaps','474915bSiikd','Fspvg','warn','deviceName','chrome','mrrvY','lwHwV','accessibilityPlatform','BS_A11Y_JWT','getAccessibilityResultsSummary','yWQoO','KtXuJ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','env','YXBQY','scannerProcessingTimeout','WebDriver','qXCgg','parse','name','1276372fUTAzH','browserName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','use','executeAsyncScript','(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','project','10124528BIcoZO','../../helpers/logger','../../helpers/performance/performance-tester','388294tpREFh','chromium','browserstack.accessibility','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','exMgW','accessibilityOptions.scannerVersion','NYpYZ','browserStackExecuteDriver','wsEndpoint','bestPractice','connectOptions','sIPkN','EGcPx','vrspK','accessibilityOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','nAJob','accessibilityOptions.wcagVersion','getAccessibilityResults','accessibilityOptions.scannerProcessingTimeout','NyGrq','2118912cuNMCl','banbK','DZkci','WYCPa','fYgrT','performScan','JabwC','stringify','mvihS','accessibilityOptions.authToken','debug','lORcw','measureWrapper','bstackSdkArgs','../../helpers/helper','browserStackEvaluate','aaqPR','ROMzw','evaluate','fpJzl','error','CGzLW','../../helpers/accessibility-automation/helper','4Byarya','\x20page:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','NHxDV','testInfo','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','acSnL','ZKvZx','tWbPT','playwright-chromium','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','2577535ouWaWt'];a37_0xca57=function(){return _0x3f8963;};return a37_0xca57();}
1
+ const a37_0x1ebb8e=a37_0x4bb5;function a37_0x3272(){const _0x3984a7=['stringify','../../helpers/accessibility-automation/scripts','tVXsM','accessibilityOptions.authToken','FTiSd','name','yVxeg','108330SDyzix','format','OgIDm','setAccessibilityCapabilities','LGPGY','14546DeqSyX','browserStackExecuteDriver','(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','No\x20accessibility\x20results\x20were\x20found.','bWuaS','LEclS','2200041mUIHsv','wWKvR','PsOdW','\x20page:\x20','157hbukkc','djjtk','87dHvcdp','constructor','RdKpo','IMwKm','parse','wsEndpoint','318QiyZcR','CyYxp','xjeIc','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','debug','browser','includes','browser_version','performScan','Ovkmr','env','eIVRw','chrome','util','getAccessibilityResults','bYbsr','zvVJd','accessibilityOptions','nFoNt','browserName','chromium','deviceName','accessibilityOptions.scannerVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','(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','KMyRa','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','928GhPbVm','29365LTaoDc','cObXn','getAccessibilityResultsSummary','latest','scannerVersion','AnOBk','ikKBh','FOxXw','BS_A11Y_JWT','MxPgN','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','workerInfo','pXVTm','VmQoQ','replace','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','includeIssueType','../../helpers/accessibility-automation/helper','ooaYf','scannerProcessingTimeout','WRYkm','../../helpers/logger','FbrbN','evaluate','QVndF','wcagVersion','xfRGT','Performing\x20scan\x20with\x20method:\x20','zzUGd','No\x20summaryResults\x20found.','jDNOd','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','ddzxX','bstackSdkArgs','mAfkA','AfJHN','accessibilityOptions.includeIssueType.bestPractice','project','connectOptions','browserstack.accessibility','bVOmc','../../helpers/helper','WebDriver','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','usnZk','11448360xaHtrf','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','needsReview','accessibilityPlatform','browserStackEvaluate','Gsisi','PERFORM_SCAN','warn','accessibilityOptions.wcagVersion','6038dWQMDa','playwright-chromium','gQSQI','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','12384MZNZbc','accessibilityOptions.scannerProcessingTimeout','error'];a37_0x3272=function(){return _0x3984a7;};return a37_0x3272();}function a37_0x4bb5(_0x4eba40,_0x14b540){const _0x32727d=a37_0x3272();return a37_0x4bb5=function(_0x4bb5f1,_0x282a55){_0x4bb5f1=_0x4bb5f1-0xfc;let _0x230f79=_0x32727d[_0x4bb5f1];return _0x230f79;},a37_0x4bb5(_0x4eba40,_0x14b540);}(function(_0xde396c,_0x29cab3){const _0x4b5b6d=a37_0x4bb5,_0x33dfd9=_0xde396c();while(!![]){try{const _0x7c772a=-parseInt(_0x4b5b6d(0x168))/0x1*(parseInt(_0x4b5b6d(0x14b))/0x2)+parseInt(_0x4b5b6d(0x16a))/0x3*(parseInt(_0x4b5b6d(0x14f))/0x4)+-parseInt(_0x4b5b6d(0x115))/0x5*(parseInt(_0x4b5b6d(0x170))/0x6)+parseInt(_0x4b5b6d(0x15e))/0x7*(parseInt(_0x4b5b6d(0x114))/0x8)+-parseInt(_0x4b5b6d(0x164))/0x9+-parseInt(_0x4b5b6d(0x159))/0xa+parseInt(_0x4b5b6d(0x142))/0xb;if(_0x7c772a===_0x29cab3)break;else _0x33dfd9['push'](_0x33dfd9['shift']());}catch(_0x1a2e9f){_0x33dfd9['push'](_0x33dfd9['shift']());}}}(a37_0x3272,0x50d32));const util=require(a37_0x1ebb8e(0x105)),logger=require(a37_0x1ebb8e(0x12a))['winstonLogger'],{isAccessibilityAutomationSession}=require(a37_0x1ebb8e(0x126)),{isUndefined,isBrowserstackInfra}=require(a37_0x1ebb8e(0x13e)),scripts=require(a37_0x1ebb8e(0x153)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports[a37_0x1ebb8e(0x146)]=async(_0x20ae08,_0x2dcddf,_0x328b9d={})=>{const _0x5dcb51=a37_0x1ebb8e,_0x464e37={};_0x464e37['FOxXw']=_0x5dcb51(0x136);const _0x5269e5=_0x464e37;return await _0x20ae08[_0x5dcb51(0x12c)](_0x5dcb51(0x160)+_0x2dcddf[_0x5dcb51(0x123)](/arguments/g,_0x5269e5[_0x5dcb51(0x11c)])+_0x5dcb51(0x11f)+JSON[_0x5dcb51(0x152)](_0x328b9d)+')');},exports[a37_0x1ebb8e(0x15f)]=async(_0x438933,_0x1d3a63,_0x5d886a={})=>{const _0x2e4c49=a37_0x1ebb8e,_0x4e561b={};_0x4e561b[_0x2e4c49(0x171)]=function(_0x1ccefb,_0x202615){return _0x1ccefb===_0x202615;},_0x4e561b[_0x2e4c49(0x14d)]=_0x2e4c49(0x13f),_0x4e561b[_0x2e4c49(0x147)]='Playwright',_0x4e561b[_0x2e4c49(0x15b)]=_0x2e4c49(0x136);const _0x30d91d=_0x4e561b;if(_0x30d91d[_0x2e4c49(0x171)](_0x438933[_0x2e4c49(0x16b)]['name'],_0x30d91d[_0x2e4c49(0x14d)]))return await _0x438933['executeAsyncScript'](_0x1d3a63,_0x5d886a);else{if(_0x30d91d[_0x2e4c49(0x171)](_0x438933[_0x2e4c49(0x16b)][_0x2e4c49(0x157)],_0x30d91d[_0x2e4c49(0x147)]))return await _0x438933['executeScript'](_0x2e4c49(0x110)+_0x1d3a63[_0x2e4c49(0x123)](/arguments/g,_0x30d91d['OgIDm'])+_0x2e4c49(0x140)+JSON[_0x2e4c49(0x152)](_0x5d886a)+')');}},exports[a37_0x1ebb8e(0x15c)]=async _0x3e7577=>{const _0x1c0b54=a37_0x1ebb8e,_0x438aff={};_0x438aff[_0x1c0b54(0x138)]=_0x1c0b54(0x14a),_0x438aff[_0x1c0b54(0x12f)]=_0x1c0b54(0x150),_0x438aff[_0x1c0b54(0x121)]=_0x1c0b54(0x139),_0x438aff[_0x1c0b54(0x16c)]='accessibilityOptions.includeIssueType.needsReview',_0x438aff['aCuBq']=_0x1c0b54(0x155),_0x438aff[_0x1c0b54(0x163)]=_0x1c0b54(0x10e);const _0x188658=_0x438aff;_0x3e7577[_0x1c0b54(0x109)]&&(_0x3e7577[_0x1c0b54(0x109)][_0x1c0b54(0x12e)]&&(_0x3e7577[_0x188658[_0x1c0b54(0x138)]]=_0x3e7577['accessibilityOptions'][_0x1c0b54(0x12e)]),_0x3e7577[_0x1c0b54(0x109)]['scannerProcessingTimeout']&&(_0x3e7577[_0x188658[_0x1c0b54(0x12f)]]=_0x3e7577[_0x1c0b54(0x109)][_0x1c0b54(0x128)]),_0x3e7577['accessibilityOptions'][_0x1c0b54(0x125)]&&(_0x3e7577[_0x188658['pXVTm']]=_0x3e7577[_0x1c0b54(0x109)][_0x1c0b54(0x125)]['bestPractice'],_0x3e7577[_0x188658[_0x1c0b54(0x16c)]]=_0x3e7577[_0x1c0b54(0x109)][_0x1c0b54(0x125)][_0x1c0b54(0x144)]));const _0x24731f=JSON[_0x1c0b54(0x16e)](process[_0x1c0b54(0x102)][_0x1c0b54(0x134)])[_0x1c0b54(0x119)];_0x3e7577[_0x188658['aCuBq']]=process[_0x1c0b54(0x102)][_0x1c0b54(0x11d)],_0x3e7577[_0x188658[_0x1c0b54(0x163)]]=_0x24731f,delete _0x3e7577['accessibilityOptions'];},exports[a37_0x1ebb8e(0x106)]=async _0x5ad700=>{const _0x3f2e74=a37_0x1ebb8e,_0x2d4500={};_0x2d4500[_0x3f2e74(0x11e)]=_0x3f2e74(0x161),_0x2d4500['usnZk']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x416165=_0x2d4500;if(global[_0x3f2e74(0x145)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x5ad700,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x5ad700,scripts.getResults);})();return res;}catch{return logger[_0x3f2e74(0x151)](_0x416165[_0x3f2e74(0x11e)]),[];}else return logger['warn'](_0x416165[_0x3f2e74(0x141)]),[];},exports[a37_0x1ebb8e(0x100)]=async(_0x176684,_0x35a67f='')=>{const _0xccd423=a37_0x1ebb8e;logger[_0xccd423(0xfc)](_0xccd423(0x130)+_0x35a67f+_0xccd423(0x167)+_0x176684);if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xccd423(0x148)],async()=>{const _0x168b26=_0xccd423,_0x1a48a7={};_0x1a48a7['command']=_0x35a67f,await exports['browserStackEvaluate'](_0x176684,scripts[_0x168b26(0x100)],_0x1a48a7);},{'command':_0x35a67f})();},exports[a37_0x1ebb8e(0x117)]=async _0x4a12c3=>{const _0x530b4d=a37_0x1ebb8e,_0x14ede9={};_0x14ede9[_0x530b4d(0x133)]=_0x530b4d(0x132),_0x14ede9['kgVKx']=_0x530b4d(0x173);const _0x28d93a=_0x14ede9;if(global[_0x530b4d(0x145)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4a12c3,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4a12c3,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x530b4d(0xfc)](_0x28d93a[_0x530b4d(0x133)]),{};}else return logger['warn'](_0x28d93a['kgVKx']),{};},exports['platformValidation']=async _0x1990bc=>{const _0x1590cb=a37_0x1ebb8e,_0x4be230={'yVxeg':function(_0x2f4793,_0x5c5ef4){return _0x2f4793!==_0x5c5ef4;},'mAfkA':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','QVndF':_0x1590cb(0x104),'PTjxI':'playwright-chromium','wWKvR':_0x1590cb(0x10c),'bYbsr':_0x1590cb(0x10f),'DddwN':function(_0x2892c8,_0x119ee2){return _0x2892c8(_0x119ee2);},'bVOmc':function(_0x528754){return _0x528754();},'ddzxX':function(_0x33ad16,_0x6718f9){return _0x33ad16<_0x6718f9;},'bWuaS':_0x1590cb(0x112),'ikKBh':function(_0x448535,_0xd0a1ba){return _0x448535===_0xd0a1ba;},'tVXsM':_0x1590cb(0x118),'PsOdW':function(_0x596207,_0x53ce1a){return _0x596207>_0x53ce1a;},'VmQoQ':_0x1590cb(0x143)};try{if(!_0x4be230[_0x1590cb(0x158)](_0x1990bc[_0x1590cb(0x10d)],''))return logger[_0x1590cb(0x149)](_0x4be230[_0x1590cb(0x137)]),![];const _0xf6031c=_0x1990bc[_0x1590cb(0xfd)];if(![_0x4be230[_0x1590cb(0x12d)],_0x4be230['PTjxI'],_0x4be230[_0x1590cb(0x165)]][_0x1590cb(0xfe)](_0xf6031c))return logger[_0x1590cb(0x149)](_0x4be230[_0x1590cb(0x107)]),![];const _0x1f503c=_0x4be230['DddwN'](parseInt,_0x1990bc['browser_version']);!_0x4be230[_0x1590cb(0x13d)](isBrowserstackInfra)&&(!_0x4be230[_0x1590cb(0x135)](_0x1f503c,0x64)&&logger['warn'](_0x4be230[_0x1590cb(0x162)]));if(!(_0x4be230[_0x1590cb(0x11b)](_0x1f503c,_0x4be230[_0x1590cb(0x154)])||_0x4be230[_0x1590cb(0x166)](_0x1f503c,0x5e)))return logger[_0x1590cb(0x149)](_0x4be230[_0x1590cb(0x122)]),![];}catch(_0x28da9b){logger[_0x1590cb(0xfc)](_0x1590cb(0x124)+util[_0x1590cb(0x15a)](_0x28da9b));}return!![];},exports['processAccessibilityCaps']=(_0x4a7805,_0x3b5a65,_0x53d98d)=>{const _0x5c0093=a37_0x1ebb8e,_0x2a6b92={'AnOBk':function(_0x24f5e1){return _0x24f5e1();},'WRYkm':_0x5c0093(0x13c),'IMwKm':function(_0x312b4f,_0x4818a1){return _0x312b4f===_0x4818a1;},'FbrbN':_0x5c0093(0x104),'nFoNt':_0x5c0093(0x14c),'zzUGd':function(_0xc1632d,_0x557343){return _0xc1632d===_0x557343;},'zvVJd':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','eIVRw':function(_0x179024){return _0x179024();},'xjeIc':function(_0x327c44,_0x3b3548){return _0x327c44>_0x3b3548;},'KMyRa':_0x5c0093(0x112),'cObXn':function(_0xc1ea93,_0x5c84a0){return _0xc1ea93===_0x5c84a0;},'LGPGY':'latest','djjtk':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','FTiSd':function(_0x16f60d,_0x23ad64){return _0x16f60d(_0x23ad64);},'Ovkmr':_0x5c0093(0x113),'ooaYf':function(_0xbecb94,_0x431fcb){return _0xbecb94+_0x431fcb;}};try{if(_0x2a6b92[_0x5c0093(0x11a)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x4a7805[_0x2a6b92[_0x5c0093(0x129)]]&&(global[_0x5c0093(0x145)]=![]);!(_0x2a6b92['IMwKm'](_0x4a7805['browserName'],_0x2a6b92[_0x5c0093(0x12b)])||_0x2a6b92[_0x5c0093(0x16d)](_0x4a7805[_0x5c0093(0x10b)],_0x2a6b92[_0x5c0093(0x10a)])||_0x2a6b92[_0x5c0093(0x131)](_0x4a7805[_0x5c0093(0xfd)],_0x2a6b92[_0x5c0093(0x12b)])||_0x2a6b92[_0x5c0093(0x131)](_0x4a7805[_0x5c0093(0xfd)],_0x2a6b92[_0x5c0093(0x10a)]))&&(logger[_0x5c0093(0x149)](_0x2a6b92[_0x5c0093(0x108)]),global['accessibilityPlatform']=![]);!_0x2a6b92[_0x5c0093(0x103)](isBrowserstackInfra)&&(!_0x2a6b92[_0x5c0093(0x172)](_0x4a7805[_0x5c0093(0xff)],0x64)&&logger['warn'](_0x2a6b92[_0x5c0093(0x111)]));!(_0x2a6b92[_0x5c0093(0x116)](_0x4a7805[_0x5c0093(0xff)],_0x2a6b92[_0x5c0093(0x15d)])||_0x2a6b92[_0x5c0093(0x172)](_0x4a7805[_0x5c0093(0xff)],0x5e))&&(logger[_0x5c0093(0x149)](_0x2a6b92[_0x5c0093(0x169)]),global[_0x5c0093(0x145)]=![]);!_0x2a6b92['FTiSd'](isUndefined,_0x4a7805[_0x5c0093(0x10d)])&&(logger[_0x5c0093(0x149)](_0x2a6b92[_0x5c0093(0x101)]),global[_0x5c0093(0x145)]=![]);if(!global['accessibilityPlatform']){_0x4a7805[_0x2a6b92[_0x5c0093(0x129)]]=![];const _0x721bde=_0x2a6b92[_0x5c0093(0x127)](_0x3b5a65,_0x2a6b92[_0x5c0093(0x156)](encodeURIComponent,JSON[_0x5c0093(0x152)](_0x4a7805)));_0x53d98d&&(_0x53d98d['currentTest']['testInfo']['project']['use']['connectOptions'][_0x5c0093(0x16f)]=_0x721bde,_0x53d98d[_0x5c0093(0x120)][_0x5c0093(0x13a)]['use'][_0x5c0093(0x13b)]['wsEndpoint']=_0x721bde);}}else global[_0x5c0093(0x145)]=![];}catch(_0x24329e){logger[_0x5c0093(0xfc)](_0x5c0093(0x14e)+util[_0x5c0093(0x15a)](_0x24329e));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a38_0x91e7e8=a38_0x5ae2;(function(_0x4828fc,_0x115c4e){const _0x533669=a38_0x5ae2,_0x26e2a6=_0x4828fc();while(!![]){try{const _0x5cc902=-parseInt(_0x533669(0x12b))/0x1*(-parseInt(_0x533669(0x117))/0x2)+parseInt(_0x533669(0x148))/0x3*(-parseInt(_0x533669(0xd9))/0x4)+-parseInt(_0x533669(0x101))/0x5*(parseInt(_0x533669(0x17e))/0x6)+parseInt(_0x533669(0xed))/0x7*(-parseInt(_0x533669(0xde))/0x8)+-parseInt(_0x533669(0xf8))/0x9*(-parseInt(_0x533669(0x164))/0xa)+-parseInt(_0x533669(0x153))/0xb+parseInt(_0x533669(0x147))/0xc;if(_0x5cc902===_0x115c4e)break;else _0x26e2a6['push'](_0x26e2a6['shift']());}catch(_0x2c69b7){_0x26e2a6['push'](_0x26e2a6['shift']());}}}(a38_0x5ce1,0xdebaf));const fs=require('fs'),path=require(a38_0x91e7e8(0x159)),{spawn}=require(a38_0x91e7e8(0x178)),{format}=require('util'),logger=require('../../helpers/logger')[a38_0x91e7e8(0x124)],{default:BrowserStackSetup}=require(a38_0x91e7e8(0xf2)),helper=require(a38_0x91e7e8(0xdf)),utilities=require(a38_0x91e7e8(0x182)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a38_0x91e7e8(0xd8)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a38_0x91e7e8(0xda)),{setAccessibilityCapabilities}=require(a38_0x91e7e8(0x106)),{printBuildLink}=require(a38_0x91e7e8(0x135)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a38_0x91e7e8(0x12a)),PerformanceTester=require(a38_0x91e7e8(0x131)),BrowserstackCLI=require(a38_0x91e7e8(0x134)),PerformanceEvents=require(a38_0x91e7e8(0xe5))[a38_0x91e7e8(0x160)],CLIUtils=require(a38_0x91e7e8(0x10f)),TestInfo=require(a38_0x91e7e8(0x14c)),getUserPlaywrightConfig=async(_0x178ae5,_0x3af312)=>{const _0x39f25c=a38_0x91e7e8,_0x26832c={'wHMdi':function(_0xa41a04){return _0xa41a04();},'AEyyd':function(_0x115986,_0xaf4cb5){return _0x115986(_0xaf4cb5);},'Dkfsf':function(_0x4290b1,_0x5366eb){return _0x4290b1(_0x5366eb);},'exKPV':_0x39f25c(0x16c),'hoALu':_0x39f25c(0x11b)},_0x5dc1ea=!helper['isUndefined'](_0x178ae5[_0x39f25c(0x113)]),_0x1e892d=_0x5dc1ea?path[_0x39f25c(0xe3)](process['cwd'](),_0x178ae5['config']):process[_0x39f25c(0x17c)](),{resolveConfigFile:_0x3386ca,resolveConfigLocation:_0xc697e3}=helper[_0x39f25c(0x15c)]['apply'](null,_0x26832c[_0x39f25c(0x166)](getConfigLoaderPath)),_0x5f5146=_0x3386ca?_0x26832c[_0x39f25c(0xe0)](_0x3386ca,_0x1e892d):helper[_0x39f25c(0x171)](_0x26832c['Dkfsf'](_0xc697e3,_0x1e892d),[_0x26832c['exKPV']]),_0x4206b7={};if(_0x5dc1ea){const _0x4af3ca=_0x3af312[_0x39f25c(0xfb)](_0x435ff8=>_0x435ff8==='--config'||_0x435ff8==='-c'||_0x435ff8[_0x39f25c(0x152)](_0x39f25c(0x11b)));_0x3af312[_0x39f25c(0x14b)](_0x4af3ca,_0x3af312[_0x4af3ca][_0x39f25c(0x152)](_0x26832c[_0x39f25c(0x173)])?0x1:0x2);}const _0x43a686={};return _0x43a686['path']=_0x5f5146,_0x43a686[_0x39f25c(0x113)]=_0x4206b7,_0x43a686;},handleO11yRerun=_0x48178d=>{const _0x140ba5=a38_0x91e7e8,_0x1006a3={};_0x1006a3[_0x140ba5(0xd6)]=_0x140ba5(0x16e);const _0x5e04f6=_0x1006a3,_0x22eba5=helper['isTrue'](process[_0x140ba5(0x154)][_0x140ba5(0x10d)]);if(_0x22eba5){const _0x3180da=process[_0x140ba5(0x154)][_0x140ba5(0xd4)],_0x306d7f=[];if(helper[_0x140ba5(0xdb)](_0x3180da)&&!helper[_0x140ba5(0x155)](_0x3180da)){_0x3180da[_0x140ba5(0x115)](',')[_0x140ba5(0x15f)](_0x27cc69=>{const _0x5ba3f2=_0x140ba5;_0x306d7f[_0x5ba3f2(0x15b)]('('+_0x27cc69[_0x5ba3f2(0x14e)]()+')');});const _0x2c2ed6='^'+_0x306d7f[_0x140ba5(0x138)]('|')+'$';_0x48178d[_0x140ba5(0x15b)](_0x5e04f6[_0x140ba5(0xd6)],_0x2c2ed6);}}},spawnOriginalProcess=_0x3f096b=>{const _0x545eed=a38_0x91e7e8,_0x406c9b={'vGING':function(_0x4d7730,_0x166533,_0x2bf129,_0x25e1a7){return _0x4d7730(_0x166533,_0x2bf129,_0x25e1a7);},'ZtUDk':_0x545eed(0xec),'iujBS':_0x545eed(0xe6),'otzjm':function(_0x46ddf4,_0xb497fc){return _0x46ddf4===_0xb497fc;},'YTJdI':_0x545eed(0x13d),'OlvTM':_0x545eed(0x130)};_0x406c9b['vGING'](spawn,_0x406c9b[_0x545eed(0x172)],[_0x406c9b[_0x545eed(0x132)],..._0x3f096b[_0x545eed(0x133)](0x1)],{'shell':_0x406c9b[_0x545eed(0xd2)](process['platform'],_0x406c9b[_0x545eed(0xf4)]),'stdio':_0x406c9b[_0x545eed(0x165)],'cwd':process[_0x545eed(0x17c)]()});},isTestCommand=(_0x487ea8,_0x463cc9)=>{const _0x8ca9f7=a38_0x91e7e8,_0x53a203={};_0x53a203[_0x8ca9f7(0x137)]=function(_0x584103,_0x423914){return _0x584103>_0x423914;},_0x53a203[_0x8ca9f7(0x161)]=function(_0x3a6e3a,_0x143779){return _0x3a6e3a===_0x143779;},_0x53a203[_0x8ca9f7(0x10e)]=_0x8ca9f7(0x146);const _0x4a3af7=_0x53a203;if(_0x4a3af7['CUIPU'](_0x463cc9['length'],0x1)&&_0x4a3af7[_0x8ca9f7(0x161)](_0x463cc9[0x1],_0x4a3af7[_0x8ca9f7(0x10e)]))return!![];return![];};function a38_0x5ae2(_0x4c9bd8,_0x104296){const _0x5ce1c=a38_0x5ce1();return a38_0x5ae2=function(_0x5ae2a4,_0x95c7eb){_0x5ae2a4=_0x5ae2a4-0xcf;let _0x3d3712=_0x5ce1c[_0x5ae2a4];return _0x3d3712;},a38_0x5ae2(_0x4c9bd8,_0x104296);}async function run(_0x1bc44c,_0x1c059c,_0x5c1170){const _0x36d3c0=a38_0x91e7e8,_0x2a610f={'aEJfj':function(_0x43ed79){return _0x43ed79();},'bGtNA':function(_0x163021){return _0x163021();},'NbAVg':_0x36d3c0(0x122),'IGuoA':function(_0x3aaeed,_0x2e855a){return _0x3aaeed+_0x2e855a;},'QWRfj':'Error\x20in\x20closing\x20playwright','TFxYy':function(_0x6358dd,_0x311b43){return _0x6358dd(_0x311b43);},'QZhcS':_0x36d3c0(0xef),'fYZUp':function(_0x120aba,_0x1c48cd){return _0x120aba+_0x1c48cd;},'SKmQa':_0x36d3c0(0x15d),'SHcXc':_0x36d3c0(0xf6),'OcFHs':function(_0x7bc3d6,_0x4bd326){return _0x7bc3d6===_0x4bd326;},'KXxck':_0x36d3c0(0x169),'LWpXA':_0x36d3c0(0x180),'KAcae':function(_0x4dc7f6,_0x59c2e0){return _0x4dc7f6>=_0x59c2e0;},'opzYd':'automation','eZROW':function(_0x2f1408,_0x51a18f){return _0x2f1408!=_0x51a18f;},'ZtvJJ':function(_0x9facb0,_0x13fc01,_0x33b723){return _0x9facb0(_0x13fc01,_0x33b723);},'bWzCy':function(_0x30f6f0,_0x1870a6){return _0x30f6f0(_0x1870a6);},'YuaGK':_0x36d3c0(0xfd),'yMSdC':function(_0x33a969,_0x17257){return _0x33a969(_0x17257);},'JDvDH':_0x36d3c0(0xeb),'TkZkP':'playwright-browserstack-sdk.config.cjs','HjPUi':_0x36d3c0(0xf0),'ZQtXL':function(_0x170919,_0x2ece0f){return _0x170919-_0x2ece0f;},'kWyPY':function(_0x5256e3,_0x385845){return _0x5256e3+_0x385845;},'hXpAk':_0x36d3c0(0x141),'KUsZA':function(_0x2cb3bf,_0x3b2cdb){return _0x2cb3bf>_0x3b2cdb;},'jZbFU':function(_0x210e21,_0x1d1cca,_0x184dd8,_0x2d3d04){return _0x210e21(_0x1d1cca,_0x184dd8,_0x2d3d04);},'xrqnj':_0x36d3c0(0xec),'VqGup':_0x36d3c0(0xe6),'oEVFC':_0x36d3c0(0x146),'ussdt':_0x36d3c0(0x10c),'BZWEe':_0x36d3c0(0x13d),'frtMR':'inherit','UJyHm':_0x36d3c0(0x163),'Pnnod':function(_0x114dc9,_0x21a068){return _0x114dc9+_0x21a068;},'AjOww':_0x36d3c0(0x177)};try{const _0x263626=path[_0x36d3c0(0x138)](helper['homedir'](),_0x2a610f[_0x36d3c0(0x150)],_0x2a610f[_0x36d3c0(0xf9)]);fs[_0x36d3c0(0xf5)](_0x263626)&&fs[_0x36d3c0(0x13a)](_0x263626);}catch(_0x486e97){logger[_0x36d3c0(0x170)](_0x2a610f['Pnnod'](_0x2a610f['AjOww'],_0x486e97));}if(!_0x2a610f['ZtvJJ'](isTestCommand,_0x1bc44c,_0x1c059c)){_0x2a610f[_0x36d3c0(0xfe)](spawnOriginalProcess,_0x1c059c);return;}await PerformanceTester[_0x36d3c0(0x125)](PerformanceEvents[_0x36d3c0(0xe9)],async()=>{const _0x30618e=_0x36d3c0,_0x2f3da6={'vBXXo':function(_0x2638d4,_0x278ab4){const _0x5eed1d=a38_0x5ae2;return _0x2a610f[_0x5eed1d(0x110)](_0x2638d4,_0x278ab4);},'FWOyH':_0x2a610f['NbAVg'],'cBqWJ':_0x2a610f['QZhcS'],'nJusb':function(_0x50c443,_0x578ebb){const _0x45fe37=a38_0x5ae2;return _0x2a610f[_0x45fe37(0x181)](_0x50c443,_0x578ebb);},'UUPnS':_0x2a610f[_0x30618e(0x111)]};if(!_0x5c1170[_0x30618e(0x113)]){logger[_0x30618e(0x145)](_0x2a610f[_0x30618e(0xcf)]);return;}await _0x5c1170[_0x30618e(0xdd)](_0x1bc44c),CLIUtils[_0x30618e(0x13e)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x30618e(0x13c)]),BrowserstackCLI[_0x30618e(0x107)]()['setBrowserstackConfig'](_0x5c1170['config'],_0x5c1170[_0x30618e(0x156)]),await BrowserstackCLI[_0x30618e(0x107)]()[_0x30618e(0xd7)]();const _0x496d9c=BrowserstackCLI[_0x30618e(0x107)]()['getConfig']();!helper[_0x30618e(0x103)](_0x496d9c[_0x30618e(0x12e)])&&(process[_0x30618e(0x154)]['BROWSERSTACK_AUTOMATION']=!![]);_0x2a610f[_0x30618e(0x16f)](_0x496d9c[_0x30618e(0x12e)],![])&&(process[_0x30618e(0x154)]['BROWSERSTACK_AUTOMATION']=_0x2a610f['KXxck'],_0x1c059c=_0x1c059c['filter'](_0x4b0e85=>_0x4b0e85!==_0x30618e(0x168)));const _0x23a60f=_0x1c059c[_0x30618e(0xd3)](_0x2a610f['LWpXA']);(_0x2a610f['KAcae'](_0x23a60f,0x0)||_0x2a610f[_0x30618e(0x16f)](_0x496d9c[_0x30618e(0x157)],![]))&&(process[_0x30618e(0x154)][_0x30618e(0x109)]=_0x2a610f[_0x30618e(0x123)],_0x1c059c=_0x1c059c[_0x30618e(0x11f)](_0x16305e=>_0x16305e!==_0x30618e(0x180)));!helper[_0x30618e(0x155)](_0x5c1170[_0x30618e(0x156)])&&_0x5c1170[_0x30618e(0x156)][_0x30618e(0x17b)](_0x2a610f[_0x30618e(0xfc)])&&(process[_0x30618e(0x154)][_0x30618e(0xfa)]=_0x5c1170[_0x30618e(0x156)][_0x30618e(0x112)](_0x2a610f[_0x30618e(0xfc)])||!![]);_0x2a610f[_0x30618e(0x142)](_0x5c1170[_0x30618e(0x113)][_0x30618e(0x157)],null)&&!helper[_0x30618e(0x116)](process[_0x30618e(0x154)][_0x30618e(0x109)])&&(process[_0x30618e(0x154)][_0x30618e(0x109)]=process['env']['BROWSERSTACK_TEST_OBSERVABILITY']||_0x5c1170[_0x30618e(0x113)][_0x30618e(0x157)]);const _0x1c441a=!helper['isFalse'](process['env'][_0x30618e(0x109)]);_0x5c1170[_0x30618e(0x113)]['accessibilityOptions']&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x5c1170[_0x30618e(0x113)][_0x30618e(0xee)]));let _0x5dfeca=![];_0x5c1170['config']['accessibility']&&(_0x5dfeca=!![],process[_0x30618e(0x154)][_0x30618e(0x11e)]=_0x5c1170[_0x30618e(0x113)]['accessibility']);const _0x56fd50=_0x1c059c[_0x30618e(0xe7)](),_0x1ebb5c=await _0x2a610f[_0x30618e(0x140)](getUserPlaywrightConfig,_0x1bc44c,_0x1c059c);if(helper[_0x30618e(0x155)](_0x1ebb5c)){_0x2a610f[_0x30618e(0xfe)](spawnOriginalProcess,_0x56fd50);return;}const _0x19033e=_0x1ebb5c['path']?path[_0x30618e(0xe8)](_0x1ebb5c['path']):process['cwd']();process[_0x30618e(0x154)][_0x30618e(0x100)]=_0x19033e,await PerformanceTester['measureWrapper'](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x504b45=_0x30618e;!BrowserstackCLI[_0x504b45(0x107)]()[_0x504b45(0x16a)]()&&await TestHubHandler[_0x504b45(0x108)](FRAMEWORKS[_0x504b45(0x13c)],_0x5c1170),_0x1c441a&&_0x2f3da6[_0x504b45(0x121)](handleO11yRerun,_0x1c059c);})();if(!BrowserstackCLI[_0x30618e(0x107)]()[_0x30618e(0x16a)]()){let _0x2b31ce=_0x2a610f[_0x30618e(0x16f)](process[_0x30618e(0x154)][_0x30618e(0x11e)],_0x2a610f['YuaGK']);_0x2b31ce=_0x2b31ce||_0x2a610f[_0x30618e(0x144)](checkAccessibilityPlatformConfig,_0x5c1170['config']),process[_0x30618e(0x154)][_0x30618e(0x11e)]=_0x2b31ce,_0x2b31ce&&_0x2a610f[_0x30618e(0x144)](setAccessibilityCapabilities,_0x5c1170[_0x30618e(0x113)]);}const _0x713f1d=path['join'](_0x1ebb5c[_0x30618e(0x159)]?path[_0x30618e(0xe8)](_0x1ebb5c['path']):process[_0x30618e(0x17c)](),_0x2a610f[_0x30618e(0x176)]);fs[_0x30618e(0x118)](_0x713f1d,helper[_0x30618e(0x17f)](_0x5c1170[_0x30618e(0x113)])),process['env'][_0x30618e(0x127)]=_0x713f1d,helper[_0x30618e(0x179)]();let _0x93fa1c='';_0x2a610f[_0x30618e(0x16f)](helper[_0x30618e(0x162)](),constants[_0x30618e(0x175)][_0x30618e(0x16b)])?_0x93fa1c=_0x2a610f[_0x30618e(0x14a)]:_0x93fa1c=_0x2a610f[_0x30618e(0x120)];let _0x12bc57='';if(helper[_0x30618e(0xd5)](_0x1ebb5c['path'])){_0x12bc57=_0x30618e(0xf1);const _0x49f533=_0x93fa1c[_0x30618e(0x115)]('.');_0x49f533[_0x2a610f[_0x30618e(0x14d)](_0x49f533[_0x30618e(0x10b)],0x1)]='ts',_0x93fa1c=_0x49f533['join']('.'),logger[_0x30618e(0x170)](_0x2a610f[_0x30618e(0x104)](_0x2a610f['hXpAk'],_0x93fa1c));}else _0x12bc57=_0x30618e(0x119);const _0x4a9239=path[_0x30618e(0x138)](_0x1ebb5c[_0x30618e(0x159)]?path[_0x30618e(0xe8)](_0x1ebb5c[_0x30618e(0x159)]):process[_0x30618e(0x17c)](),_0x93fa1c);let _0x38d307=_0x1ebb5c['path']?_0x1ebb5c[_0x30618e(0x159)]:'';_0x38d307=_0x2a610f[_0x30618e(0x102)](_0x38d307[_0x30618e(0x10b)],0x0)?path[_0x30618e(0xe3)](_0x38d307):'',process['env'][_0x30618e(0x17d)]=_0x38d307;const _0x8ca1d6=helper[_0x30618e(0x13f)](_0x5c1170[_0x30618e(0x113)]);_0x8ca1d6&&(_0x12bc57=_0x2a610f[_0x30618e(0x143)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x8ca1d6+_0x30618e(0x114),_0x12bc57));helper['filterBrowserstackArgs']({},_0x1c059c),fs[_0x30618e(0x118)](_0x4a9239,_0x12bc57),PerformanceTester[_0x30618e(0x15e)](PerformanceEvents[_0x30618e(0x105)]);const _0x2b9b3c=_0x2a610f[_0x30618e(0xe1)](spawn,_0x2a610f[_0x30618e(0x167)],[_0x2a610f['VqGup'],_0x2a610f[_0x30618e(0x10a)],_0x2a610f['ussdt'],_0x4a9239,..._0x1c059c[_0x30618e(0x133)](0x2)],{'shell':_0x2a610f[_0x30618e(0x16f)](process[_0x30618e(0xe4)],_0x2a610f[_0x30618e(0x136)]),'stdio':_0x2a610f[_0x30618e(0x11c)],'cwd':process[_0x30618e(0x17c)](),'env':Object[_0x30618e(0x158)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x1bc44c),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5c1170[_0x30618e(0x113)]['testContextOptions'][_0x30618e(0x129)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5c1170[_0x30618e(0x113)]['testContextOptions']['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x5c1170[_0x30618e(0x113)][_0x30618e(0x128)]})}),_0x4f1530=()=>{const _0x109ab3=_0x30618e;try{const _0x2ab87a=path[_0x109ab3(0x138)](helper['homedir'](),_0x2f3da6[_0x109ab3(0xf3)],_0x2f3da6[_0x109ab3(0xea)]);if(fs[_0x109ab3(0xf5)](_0x2ab87a)){let _0x13d2e8=fs[_0x109ab3(0xe2)](_0x2ab87a);_0x13d2e8=JSON['parse'](_0x13d2e8),_0x5c1170[_0x109ab3(0xf7)]=_0x13d2e8,fs[_0x109ab3(0x13a)](_0x2ab87a);}}catch(_0x2c8037){logger[_0x109ab3(0x170)](_0x2f3da6[_0x109ab3(0x11d)](_0x2f3da6[_0x109ab3(0x151)],_0x2c8037));}};_0x2b9b3c['on'](_0x2a610f[_0x30618e(0x15a)],async _0x588c03=>{const _0xb0ee5e=_0x30618e;try{PerformanceTester['start'](PerformanceEvents[_0xb0ee5e(0x11a)]),_0x2a610f[_0xb0ee5e(0x17a)](_0x4f1530),await TestHubHandler['stop'](),await BrowserstackCLI[_0xb0ee5e(0x107)]()[_0xb0ee5e(0x12f)](),TestDetails[_0xb0ee5e(0xd0)](),_0x2a610f[_0xb0ee5e(0x14f)](printBuildLink),await utilities[_0xb0ee5e(0x13b)](_0x5c1170),process[_0xb0ee5e(0x174)]=_0x588c03,logger[_0xb0ee5e(0x170)](_0xb0ee5e(0x139)+_0x588c03),logger[_0xb0ee5e(0x12d)](_0xb0ee5e(0xd1)+_0x4a9239),fs[_0xb0ee5e(0x13a)](_0x4a9239);fs[_0xb0ee5e(0xf5)](_0x713f1d)&&(logger[_0xb0ee5e(0x170)](_0xb0ee5e(0xd1)+_0x713f1d),fs[_0xb0ee5e(0x13a)](_0x713f1d));const _0x234408=fs[_0xb0ee5e(0x16d)](path[_0xb0ee5e(0x138)](helper[_0xb0ee5e(0x149)](),_0x2a610f['NbAVg']))[_0xb0ee5e(0x11f)](_0x55cdf0=>_0x55cdf0[_0xb0ee5e(0x152)](_0xb0ee5e(0xdc)));_0x234408[_0xb0ee5e(0x12c)](_0x34b6b1=>{const _0x471ba9=_0xb0ee5e;fs[_0x471ba9(0x13a)](path['join'](helper['homedir'](),_0x2f3da6['FWOyH'],_0x34b6b1));});}catch(_0x480dd6){logger['debug'](_0x2a610f['IGuoA'](_0x2a610f[_0xb0ee5e(0x126)],_0x480dd6));}});})();}module[a38_0x91e7e8(0xff)]=run;function a38_0x5ce1(){const _0x5abf0e=['UUPnS','startsWith','7599757UAPikh','env','isUndefined','cliConfig','testObservability','assign','path','UJyHm','push','requirePWModule','Error\x20in\x20getting\x20funnel\x20data\x20results','end','map','EVENTS','zzhZm','getPackageType','close','44340ClLllR','OlvTM','wHMdi','xrqnj','--disable-browserstack-automation','false','isRunning','MODULE','resolvedConfigFile','readdirSync','--grep','OcFHs','debug','nestedKeyValue','ZtUDk','hoALu','exitCode','PACKAGE_TYPE','JDvDH','Error\x20in\x20deleting\x20playwright\x20results','child_process','clearTempPWConfig','aEJfj','has','cwd','USER_CONFIG_DETAILS_PATH','18NevVQt','serializeToYamlString','--disable-test-observability','fYZUp','../../helpers/utilities','SHcXc','shutdown','Deleting\x20','otzjm','indexOf','BROWSERSTACK_RERUN_TESTS','isTypescriptProject','UZSiY','bootstrap','../../helpers/test-observability/constants','148NeFBqp','../../helpers/accessibility-automation/helper','validateRerunTestList','trace_','initialize','8IkzeHn','../../helpers/helper','AEyyd','jZbFU','readFileSync','resolve','platform','../../helpers/performance/constants','playwright','concat','dirname','SDK_PRE_INITIALIZE','cBqWJ','browserstackSetupConfig.json','npx','9890538fkCsrg','accessibilityOptions','pw_result.json','playwright-browserstack-sdk.config.js','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','../../helpers/BrowserStackSetup','FWOyH','YTJdI','existsSync','BrowserStack\x20config\x20file\x20not\x20found.','errorMessage','1602ZYiCJT','QZhcS','BROWSERSTACK_AUTOMATION','findIndex','opzYd','true','bWzCy','exports','BROWSERSTACK_PW_CONFIG_DIR','2679890VtVYOA','KUsZA','isFalse','kWyPY','SDK_SETUP','./accessibility-helper','getInstance','launchBuild','BROWSERSTACK_TEST_OBSERVABILITY','oEVFC','length','--config','BROWSERSTACK_RERUN','DHACl','../v2/cliUtils','TFxYy','SKmQa','get','config','\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();','split','isTrue','2seeqeU','writeFileSync','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','SDK_CLEANUP','--config=','frtMR','nJusb','BROWSERSTACK_TEST_ACCESSIBILITY_YML','filter','HjPUi','vBXXo','.browserstack','KXxck','winstonLogger','measureWrapper','QWRfj','BROWSERSTACK_SETUP_CONFIG_PATH','logLevel','skipSessionStatus','../../helpers/testhub/testhubHandler','843473uXQTKP','forEach','info','browserstackAutomation','stop','inherit','../../helpers/performance/performance-tester','iujBS','slice','../v2/browserstackCLI','../../helpers/test-observability/utils','BZWEe','CUIPU','join','Playwright\x20process\x20exited\x20with\x20code\x20','unlinkSync','finalExecution','PLAYWRIGHT','win32','setFrameworkDetail','getProxyUrl','ZtvJJ','Updated\x20config\x20file\x20name\x20to\x20-\x20','eZROW','IGuoA','yMSdC','error','test','45237312PCdiUD','63117MEQgji','homedir','TkZkP','splice','../v2/TestInfo','ZQtXL','trim','bGtNA','NbAVg'];a38_0x5ce1=function(){return _0x5abf0e;};return a38_0x5ce1();}
2
+ 'use strict';const a38_0x278e1e=a38_0x3132;(function(_0x248159,_0x17b3f6){const _0x3972e7=a38_0x3132,_0x73a315=_0x248159();while(!![]){try{const _0x273de1=-parseInt(_0x3972e7(0x19b))/0x1+-parseInt(_0x3972e7(0x1a0))/0x2*(-parseInt(_0x3972e7(0x1cc))/0x3)+parseInt(_0x3972e7(0x1c5))/0x4+parseInt(_0x3972e7(0x215))/0x5+-parseInt(_0x3972e7(0x1dc))/0x6*(parseInt(_0x3972e7(0x211))/0x7)+parseInt(_0x3972e7(0x20b))/0x8*(parseInt(_0x3972e7(0x1f8))/0x9)+parseInt(_0x3972e7(0x200))/0xa;if(_0x273de1===_0x17b3f6)break;else _0x73a315['push'](_0x73a315['shift']());}catch(_0x143c92){_0x73a315['push'](_0x73a315['shift']());}}}(a38_0x4be3,0x3497b));const fs=require('fs'),path=require(a38_0x278e1e(0x1a6)),{spawn}=require(a38_0x278e1e(0x1bd)),{format}=require(a38_0x278e1e(0x223)),logger=require(a38_0x278e1e(0x1a8))[a38_0x278e1e(0x1ac)],{default:BrowserStackSetup}=require(a38_0x278e1e(0x1e9)),helper=require(a38_0x278e1e(0x1c4)),utilities=require('../../helpers/utilities'),constants=require(a38_0x278e1e(0x194)),{FRAMEWORKS}=require(a38_0x278e1e(0x22f)),{getConfigLoaderPath}=require(a38_0x278e1e(0x21c)),{checkAccessibilityPlatformConfig}=require(a38_0x278e1e(0x1fc)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a38_0x278e1e(0x22e)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a38_0x278e1e(0x1e1)),BrowserstackCLI=require(a38_0x278e1e(0x1ad)),PerformanceEvents=require(a38_0x278e1e(0x188))[a38_0x278e1e(0x210)],CLIUtils=require(a38_0x278e1e(0x208)),TestInfo=require(a38_0x278e1e(0x192)),getUserPlaywrightConfig=async(_0x12bdfc,_0x10ed92)=>{const _0x227b70=a38_0x278e1e,_0x87fa40={'jsPNv':function(_0x493c55){return _0x493c55();},'ZvOEY':function(_0x75aecd,_0x16c65f){return _0x75aecd(_0x16c65f);},'wWVgD':_0x227b70(0x1d4),'BXINC':_0x227b70(0x1d9)},_0x5e8f0e=!helper[_0x227b70(0x187)](_0x12bdfc[_0x227b70(0x1be)]),_0x3e47e6=_0x5e8f0e?path[_0x227b70(0x1a9)](process['cwd'](),_0x12bdfc['config']):process[_0x227b70(0x1a1)](),{resolveConfigFile:_0x4fea07,resolveConfigLocation:_0x4c37e3}=helper[_0x227b70(0x225)][_0x227b70(0x1d7)](null,_0x87fa40[_0x227b70(0x19d)](getConfigLoaderPath)),_0x19e388=_0x4fea07?_0x87fa40[_0x227b70(0x1f9)](_0x4fea07,_0x3e47e6):helper['nestedKeyValue'](_0x87fa40[_0x227b70(0x1f9)](_0x4c37e3,_0x3e47e6),[_0x87fa40[_0x227b70(0x1ca)]]),_0x33f4e9={};if(_0x5e8f0e){const _0x1d3952=_0x10ed92['findIndex'](_0x44cf87=>_0x44cf87===_0x227b70(0x19e)||_0x44cf87==='-c'||_0x44cf87[_0x227b70(0x1ef)]('--config='));_0x10ed92[_0x227b70(0x22c)](_0x1d3952,_0x10ed92[_0x1d3952]['startsWith'](_0x87fa40[_0x227b70(0x19a)])?0x1:0x2);}const _0x56747b={};return _0x56747b['path']=_0x19e388,_0x56747b[_0x227b70(0x1be)]=_0x33f4e9,_0x56747b;},handleO11yRerun=_0x545b80=>{const _0x1c806a=a38_0x278e1e,_0x2633ca={};_0x2633ca['oKYCP']=_0x1c806a(0x20d);const _0x2794c7=_0x2633ca,_0x3c5341=helper[_0x1c806a(0x216)](process[_0x1c806a(0x203)][_0x1c806a(0x226)]);if(_0x3c5341){const _0x270214=process[_0x1c806a(0x203)]['BROWSERSTACK_RERUN_TESTS'],_0x4d223a=[];if(helper['validateRerunTestList'](_0x270214)&&!helper['isUndefined'](_0x270214)){_0x270214[_0x1c806a(0x1ec)](',')[_0x1c806a(0x22a)](_0x30eba3=>{const _0x12621d=_0x1c806a;_0x4d223a[_0x12621d(0x1fb)]('('+_0x30eba3[_0x12621d(0x1d3)]()+')');});const _0x137787='^'+_0x4d223a[_0x1c806a(0x22b)]('|')+'$';_0x545b80[_0x1c806a(0x1fb)](_0x2794c7[_0x1c806a(0x18f)],_0x137787);}}},spawnOriginalProcess=_0x35a948=>{const _0x41be57=a38_0x278e1e,_0x27815b={'pEdqI':function(_0x594483,_0x593093,_0x1ff8bc,_0x2bdd41){return _0x594483(_0x593093,_0x1ff8bc,_0x2bdd41);},'bAmdE':'npx','IkyIj':'playwright','hvQNI':function(_0x27a5a1,_0x34f435){return _0x27a5a1===_0x34f435;},'WUSyO':_0x41be57(0x1c1),'AtOka':'inherit'};_0x27815b[_0x41be57(0x1ae)](spawn,_0x27815b[_0x41be57(0x220)],[_0x27815b[_0x41be57(0x21d)],..._0x35a948[_0x41be57(0x1d0)](0x1)],{'shell':_0x27815b[_0x41be57(0x230)](process['platform'],_0x27815b['WUSyO']),'stdio':_0x27815b[_0x41be57(0x20e)],'cwd':process[_0x41be57(0x1a1)]()});},isTestCommand=(_0x2caacb,_0x2f4b2d)=>{const _0x416766=a38_0x278e1e,_0x3118b1={};_0x3118b1[_0x416766(0x1e0)]=function(_0x10db45,_0x4d13b7){return _0x10db45>_0x4d13b7;},_0x3118b1['wcgYp']=function(_0x48aa80,_0x278727){return _0x48aa80===_0x278727;},_0x3118b1[_0x416766(0x1bf)]=_0x416766(0x189);const _0x589714=_0x3118b1;if(_0x589714[_0x416766(0x1e0)](_0x2f4b2d[_0x416766(0x1da)],0x1)&&_0x589714[_0x416766(0x1db)](_0x2f4b2d[0x1],_0x589714[_0x416766(0x1bf)]))return!![];return![];};function a38_0x3132(_0x30ef7f,_0xddc4e5){const _0x4be308=a38_0x4be3();return a38_0x3132=function(_0x3132b2,_0x3765dc){_0x3132b2=_0x3132b2-0x183;let _0x41fd8c=_0x4be308[_0x3132b2];return _0x41fd8c;},a38_0x3132(_0x30ef7f,_0xddc4e5);}async function run(_0x134d34,_0x520d5e,_0x42b566){const _0x1aa287=a38_0x278e1e,_0x5252ee={'bsCDd':function(_0x139044){return _0x139044();},'WbPxu':_0x1aa287(0x1e4),'wLnjb':function(_0x21639d,_0x497f31){return _0x21639d+_0x497f31;},'fdcQH':_0x1aa287(0x1b0),'hUqbK':function(_0x5e60d7,_0x1d07ca){return _0x5e60d7(_0x1d07ca);},'GtoGK':_0x1aa287(0x19f),'yxtZY':'Error\x20in\x20getting\x20funnel\x20data\x20results','rufyY':'BrowserStack\x20config\x20file\x20not\x20found.','lECpz':function(_0x3d0686,_0x52941a){return _0x3d0686===_0x52941a;},'BGMon':_0x1aa287(0x205),'PYeoi':_0x1aa287(0x228),'IqZYc':function(_0x27758d,_0x212452){return _0x27758d>=_0x212452;},'XghGY':'automation','fNZDK':function(_0x33606a,_0x167a2d){return _0x33606a!=_0x167a2d;},'GoWIt':function(_0x2d2918,_0x303326,_0x5f43a1){return _0x2d2918(_0x303326,_0x5f43a1);},'AiWxT':function(_0x51faba,_0x44719c){return _0x51faba(_0x44719c);},'Elknu':_0x1aa287(0x1d5),'SIyVA':function(_0x746d3c,_0x3989bb){return _0x746d3c(_0x3989bb);},'kQeDT':function(_0x2f49ec,_0x3b371b){return _0x2f49ec(_0x3b371b);},'LXNCF':'browserstackSetupConfig.json','OfekC':function(_0x16ee61,_0x38f303){return _0x16ee61===_0x38f303;},'nRidk':_0x1aa287(0x185),'nbxBd':_0x1aa287(0x1f3),'xPzRd':function(_0x599d33,_0x4045e6){return _0x599d33-_0x4045e6;},'XSCIh':_0x1aa287(0x196),'HLvyf':function(_0x5cda00,_0x32f8f8){return _0x5cda00>_0x32f8f8;},'GIlbB':function(_0x5395da,_0x598fc7,_0x3c173f,_0x3d80ce){return _0x5395da(_0x598fc7,_0x3c173f,_0x3d80ce);},'nNZQM':_0x1aa287(0x217),'LaiUu':'playwright','XDUhl':_0x1aa287(0x189),'IyfGr':_0x1aa287(0x19e),'zlInZ':_0x1aa287(0x1c1),'XtCaD':_0x1aa287(0x1f4),'wUrAA':_0x1aa287(0x191),'NAAbJ':function(_0x3f79f0,_0x2994bf){return _0x3f79f0+_0x2994bf;},'CuqaA':_0x1aa287(0x1c8)};try{const _0x2f6a32=path[_0x1aa287(0x22b)](helper[_0x1aa287(0x1e6)](),_0x5252ee[_0x1aa287(0x21a)],_0x5252ee['GtoGK']);fs[_0x1aa287(0x1b8)](_0x2f6a32)&&fs[_0x1aa287(0x1f5)](_0x2f6a32);}catch(_0x28b7a8){logger[_0x1aa287(0x190)](_0x5252ee[_0x1aa287(0x219)](_0x5252ee[_0x1aa287(0x20a)],_0x28b7a8));}if(!_0x5252ee['GoWIt'](isTestCommand,_0x134d34,_0x520d5e)){_0x5252ee[_0x1aa287(0x1a7)](spawnOriginalProcess,_0x520d5e);return;}await PerformanceTester['measureWrapper'](PerformanceEvents[_0x1aa287(0x18c)],async()=>{const _0x33cefb=_0x1aa287,_0x1323ee={'DQHZC':function(_0x4b4cf7,_0xc828f8){return _0x5252ee['hUqbK'](_0x4b4cf7,_0xc828f8);},'UZrDP':_0x5252ee['WbPxu'],'dWVjD':_0x5252ee['GtoGK'],'EDPAq':function(_0x2bb730,_0x5ea7a5){const _0x43f34a=a38_0x3132;return _0x5252ee[_0x43f34a(0x1d6)](_0x2bb730,_0x5ea7a5);},'oRMck':_0x5252ee['yxtZY']};if(!_0x42b566['config']){logger[_0x33cefb(0x1ea)](_0x5252ee['rufyY']);return;}await _0x42b566[_0x33cefb(0x193)](_0x134d34),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x33cefb(0x232)],FRAMEWORKS[_0x33cefb(0x232)]),BrowserstackCLI['getInstance']()[_0x33cefb(0x1cd)](_0x42b566[_0x33cefb(0x1be)],_0x42b566['cliConfig']),await BrowserstackCLI[_0x33cefb(0x21b)]()[_0x33cefb(0x1e8)]();const _0x3a6b2d=BrowserstackCLI[_0x33cefb(0x21b)]()[_0x33cefb(0x1b7)]();!helper[_0x33cefb(0x184)](_0x3a6b2d[_0x33cefb(0x202)])&&(process[_0x33cefb(0x203)]['BROWSERSTACK_AUTOMATION']=!![]);_0x5252ee[_0x33cefb(0x1b9)](_0x3a6b2d['browserstackAutomation'],![])&&(process[_0x33cefb(0x203)][_0x33cefb(0x18d)]=_0x5252ee[_0x33cefb(0x1a4)],_0x520d5e=_0x520d5e['filter'](_0x497220=>_0x497220!==_0x33cefb(0x212)));const _0x549362=_0x520d5e['indexOf'](_0x5252ee[_0x33cefb(0x1f6)]);(_0x5252ee[_0x33cefb(0x1fe)](_0x549362,0x0)||_0x5252ee['lECpz'](_0x3a6b2d[_0x33cefb(0x214)],![]))&&(process[_0x33cefb(0x203)][_0x33cefb(0x18a)]=_0x5252ee[_0x33cefb(0x1a4)],_0x520d5e=_0x520d5e['filter'](_0x380c39=>_0x380c39!=='--disable-test-observability'));!helper[_0x33cefb(0x187)](_0x42b566[_0x33cefb(0x1fa)])&&_0x42b566[_0x33cefb(0x1fa)][_0x33cefb(0x1e2)](_0x5252ee[_0x33cefb(0x213)])&&(process[_0x33cefb(0x203)][_0x33cefb(0x18d)]=_0x42b566[_0x33cefb(0x1fa)][_0x33cefb(0x221)](_0x5252ee[_0x33cefb(0x213)])||!![]);_0x5252ee[_0x33cefb(0x18b)](_0x42b566[_0x33cefb(0x1be)][_0x33cefb(0x214)],null)&&!helper[_0x33cefb(0x216)](process[_0x33cefb(0x203)][_0x33cefb(0x18a)])&&(process[_0x33cefb(0x203)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x33cefb(0x203)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x42b566['config']['testObservability']);const _0x1c0983=!helper[_0x33cefb(0x184)](process['env'][_0x33cefb(0x18a)]);_0x42b566['config'][_0x33cefb(0x1ce)]&&(process['env'][_0x33cefb(0x229)]=JSON[_0x33cefb(0x198)](_0x42b566[_0x33cefb(0x1be)][_0x33cefb(0x1ce)]));let _0xd11259=![];_0x42b566['config']['accessibility']&&(_0xd11259=!![],process[_0x33cefb(0x203)][_0x33cefb(0x1e3)]=_0x42b566[_0x33cefb(0x1be)][_0x33cefb(0x1b4)]);const _0x108850=_0x520d5e[_0x33cefb(0x186)](),_0x55d0e6=await _0x5252ee[_0x33cefb(0x1b2)](getUserPlaywrightConfig,_0x134d34,_0x520d5e);if(helper['isUndefined'](_0x55d0e6)){_0x5252ee['AiWxT'](spawnOriginalProcess,_0x108850);return;}const _0x4da426=_0x55d0e6['path']?path[_0x33cefb(0x209)](_0x55d0e6[_0x33cefb(0x1a6)]):process[_0x33cefb(0x1a1)]();process['env'][_0x33cefb(0x222)]=_0x4da426,await PerformanceTester[_0x33cefb(0x1b5)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0xe0dd2d=_0x33cefb;!BrowserstackCLI[_0xe0dd2d(0x21b)]()[_0xe0dd2d(0x1ab)]()&&await TestHubHandler[_0xe0dd2d(0x1c0)](FRAMEWORKS[_0xe0dd2d(0x232)],_0x42b566),_0x1c0983&&_0x1323ee[_0xe0dd2d(0x21f)](handleO11yRerun,_0x520d5e);})();if(!BrowserstackCLI[_0x33cefb(0x21b)]()[_0x33cefb(0x1ab)]()){let _0xb5279c=_0x5252ee[_0x33cefb(0x1b9)](process['env'][_0x33cefb(0x1e3)],_0x5252ee[_0x33cefb(0x22d)]);_0xb5279c=_0xb5279c||_0x5252ee[_0x33cefb(0x1df)](checkAccessibilityPlatformConfig,_0x42b566[_0x33cefb(0x1be)]),process[_0x33cefb(0x203)][_0x33cefb(0x1e3)]=_0xb5279c,_0xb5279c&&_0x5252ee[_0x33cefb(0x1a7)](setAccessibilityCapabilities,_0x42b566[_0x33cefb(0x1be)]);}const _0x624a3=path[_0x33cefb(0x22b)](_0x55d0e6[_0x33cefb(0x1a6)]?path['dirname'](_0x55d0e6[_0x33cefb(0x1a6)]):process[_0x33cefb(0x1a1)](),_0x5252ee[_0x33cefb(0x227)]);fs[_0x33cefb(0x20c)](_0x624a3,helper['serializeToYamlString'](_0x42b566[_0x33cefb(0x1be)])),process[_0x33cefb(0x203)][_0x33cefb(0x1f2)]=_0x624a3,helper[_0x33cefb(0x1c3)]();let _0x60c855='';_0x5252ee[_0x33cefb(0x231)](helper[_0x33cefb(0x1a3)](),constants[_0x33cefb(0x204)]['MODULE'])?_0x60c855=_0x5252ee[_0x33cefb(0x1f1)]:_0x60c855=_0x5252ee[_0x33cefb(0x1bb)];let _0x490292='';if(helper[_0x33cefb(0x1bc)](_0x55d0e6[_0x33cefb(0x1a6)])){_0x490292=_0x33cefb(0x197);const _0x25d4b4=_0x60c855[_0x33cefb(0x1ec)]('.');_0x25d4b4[_0x5252ee[_0x33cefb(0x1e5)](_0x25d4b4[_0x33cefb(0x1da)],0x1)]='ts',_0x60c855=_0x25d4b4['join']('.'),logger[_0x33cefb(0x190)](_0x5252ee[_0x33cefb(0x1d6)](_0x5252ee[_0x33cefb(0x1b1)],_0x60c855));}else _0x490292='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x5080f2=path[_0x33cefb(0x22b)](_0x55d0e6[_0x33cefb(0x1a6)]?path[_0x33cefb(0x209)](_0x55d0e6['path']):process['cwd'](),_0x60c855);let _0x4177c1=_0x55d0e6[_0x33cefb(0x1a6)]?_0x55d0e6[_0x33cefb(0x1a6)]:'';_0x4177c1=_0x5252ee[_0x33cefb(0x207)](_0x4177c1['length'],0x0)?path[_0x33cefb(0x1a9)](_0x4177c1):'',process[_0x33cefb(0x203)][_0x33cefb(0x1cf)]=_0x4177c1;const _0x581305=helper['getProxyUrl'](_0x42b566[_0x33cefb(0x1be)]);_0x581305&&(_0x490292=_0x5252ee[_0x33cefb(0x1d6)](_0x33cefb(0x1aa)+_0x581305+_0x33cefb(0x218),_0x490292));helper['filterBrowserstackArgs']({},_0x520d5e),fs[_0x33cefb(0x20c)](_0x5080f2,_0x490292),PerformanceTester[_0x33cefb(0x21e)](PerformanceEvents[_0x33cefb(0x1dd)]);const _0x46aaf8=_0x5252ee[_0x33cefb(0x1ff)](spawn,_0x5252ee[_0x33cefb(0x1f7)],[_0x5252ee['LaiUu'],_0x5252ee[_0x33cefb(0x1e7)],_0x5252ee[_0x33cefb(0x1d2)],_0x5080f2,..._0x520d5e['slice'](0x2)],{'shell':_0x5252ee[_0x33cefb(0x231)](process[_0x33cefb(0x1a5)],_0x5252ee[_0x33cefb(0x1b3)]),'stdio':_0x5252ee['XtCaD'],'cwd':process[_0x33cefb(0x1a1)](),'env':Object[_0x33cefb(0x1de)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x33cefb(0x183)](_0x134d34),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x42b566[_0x33cefb(0x1be)][_0x33cefb(0x1b6)][_0x33cefb(0x201)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x42b566['config']['testContextOptions'][_0x33cefb(0x1d8)],'BROWSERSTACK_LOG_LEVEL':_0x42b566['config'][_0x33cefb(0x1c6)]})}),_0x50e722=()=>{const _0x2b2be3=_0x33cefb;try{const _0x174203=path['join'](helper[_0x2b2be3(0x1e6)](),_0x1323ee[_0x2b2be3(0x195)],_0x1323ee[_0x2b2be3(0x1d1)]);if(fs['existsSync'](_0x174203)){let _0x1db51b=fs[_0x2b2be3(0x1fd)](_0x174203);_0x1db51b=JSON[_0x2b2be3(0x1ed)](_0x1db51b),_0x42b566['errorMessage']=_0x1db51b,fs[_0x2b2be3(0x1f5)](_0x174203);}}catch(_0x91eaeb){logger[_0x2b2be3(0x190)](_0x1323ee[_0x2b2be3(0x1c2)](_0x1323ee[_0x2b2be3(0x1f0)],_0x91eaeb));}};_0x46aaf8['on'](_0x5252ee[_0x33cefb(0x1eb)],async _0x5584a7=>{const _0x546c46=_0x33cefb;try{PerformanceTester[_0x546c46(0x20f)](PerformanceEvents['SDK_CLEANUP']),_0x5252ee['bsCDd'](_0x50e722),await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x546c46(0x1cb)](),TestDetails[_0x546c46(0x206)](),_0x5252ee[_0x546c46(0x1ba)](printBuildLink),await utilities[_0x546c46(0x1af)](_0x42b566),process[_0x546c46(0x199)]=_0x5584a7,logger[_0x546c46(0x190)](_0x546c46(0x1ee)+_0x5584a7),logger[_0x546c46(0x1a2)](_0x546c46(0x18e)+_0x5080f2),fs[_0x546c46(0x1f5)](_0x5080f2);fs['existsSync'](_0x624a3)&&(logger[_0x546c46(0x190)](_0x546c46(0x18e)+_0x624a3),fs[_0x546c46(0x1f5)](_0x624a3));const _0x345fca=fs[_0x546c46(0x1c9)](path['join'](helper[_0x546c46(0x1e6)](),_0x5252ee['WbPxu']))['filter'](_0x5d2667=>_0x5d2667[_0x546c46(0x1ef)](_0x546c46(0x1c7)));_0x345fca[_0x546c46(0x19c)](_0x19f37c=>{const _0xa0b7cd=_0x546c46;fs[_0xa0b7cd(0x1f5)](path['join'](helper[_0xa0b7cd(0x1e6)](),_0x1323ee[_0xa0b7cd(0x195)],_0x19f37c));});}catch(_0x423466){logger['debug'](_0x5252ee[_0x546c46(0x1d6)](_0x5252ee['fdcQH'],_0x423466));}});})();}module[a38_0x278e1e(0x224)]=run;function a38_0x4be3(){const _0x299993=['ZvOEY','cliConfig','push','../../helpers/accessibility-automation/helper','readFileSync','IqZYc','GIlbB','2697290tUoTxw','skipSessionStatus','browserstackAutomation','env','PACKAGE_TYPE','false','shutdown','HLvyf','../v2/cliUtils','dirname','CuqaA','632GaIVVI','writeFileSync','--grep','AtOka','start','EVENTS','7oCnbgb','--disable-browserstack-automation','XghGY','testObservability','909095GTDdjQ','isTrue','npx','\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();','NAAbJ','WbPxu','getInstance','./reporter/pwUtils','IkyIj','end','DQHZC','bAmdE','get','BROWSERSTACK_PW_CONFIG_DIR','util','exports','requirePWModule','BROWSERSTACK_RERUN','LXNCF','--disable-test-observability','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','map','join','splice','Elknu','./reporter/test-details','../../helpers/test-observability/constants','hvQNI','OfekC','PLAYWRIGHT','getConfigPath','isFalse','playwright-browserstack-sdk.config.cjs','concat','isUndefined','../../helpers/performance/constants','test','BROWSERSTACK_TEST_OBSERVABILITY','fNZDK','SDK_PRE_INITIALIZE','BROWSERSTACK_AUTOMATION','Deleting\x20','oKYCP','debug','close','../v2/TestInfo','initialize','../utils/constants','UZrDP','Updated\x20config\x20file\x20name\x20to\x20-\x20','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','stringify','exitCode','BXINC','335821QylpXP','forEach','jsPNv','--config','pw_result.json','2lYGwaH','cwd','info','getPackageType','BGMon','platform','path','kQeDT','../../helpers/logger','resolve','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','isRunning','winstonLogger','../v2/browserstackCLI','pEdqI','finalExecution','Error\x20in\x20closing\x20playwright','XSCIh','GoWIt','zlInZ','accessibility','measureWrapper','testContextOptions','getConfig','existsSync','lECpz','bsCDd','nbxBd','isTypescriptProject','child_process','config','RSuYJ','launchBuild','win32','EDPAq','clearTempPWConfig','../../helpers/helper','124604hxAZww','logLevel','trace_','Error\x20in\x20deleting\x20playwright\x20results','readdirSync','wWVgD','stop','350727ABkbIb','setBrowserstackConfig','accessibilityOptions','USER_CONFIG_DETAILS_PATH','slice','dWVjD','IyfGr','trim','resolvedConfigFile','true','wLnjb','apply','skipSessionName','--config=','length','wcgYp','1297932vSzVCA','SDK_SETUP','assign','SIyVA','PrLvA','../../helpers/performance/performance-tester','has','BROWSERSTACK_TEST_ACCESSIBILITY_YML','.browserstack','xPzRd','homedir','XDUhl','bootstrap','../../helpers/BrowserStackSetup','error','wUrAA','split','parse','Playwright\x20process\x20exited\x20with\x20code\x20','startsWith','oRMck','nRidk','BROWSERSTACK_SETUP_CONFIG_PATH','playwright-browserstack-sdk.config.js','inherit','unlinkSync','PYeoi','nNZQM','19134NGJYqN'];a38_0x4be3=function(){return _0x299993;};return a38_0x4be3();}
@@ -1 +1 @@
1
- const a39_0x3cf810=a39_0x324b;function a39_0x324b(_0x1a1424,_0x4f0c78){const _0x1434b7=a39_0x1434();return a39_0x324b=function(_0x324be6,_0x477661){_0x324be6=_0x324be6-0xea;let _0x2f5f63=_0x1434b7[_0x324be6];return _0x2f5f63;},a39_0x324b(_0x1a1424,_0x4f0c78);}(function(_0x189e17,_0x4b109c){const _0x270518=a39_0x324b,_0x4e1636=_0x189e17();while(!![]){try{const _0x5603e7=-parseInt(_0x270518(0x104))/0x1+parseInt(_0x270518(0x107))/0x2+parseInt(_0x270518(0xf9))/0x3*(parseInt(_0x270518(0x103))/0x4)+-parseInt(_0x270518(0xef))/0x5+parseInt(_0x270518(0x100))/0x6+parseInt(_0x270518(0x10a))/0x7*(parseInt(_0x270518(0xf4))/0x8)+parseInt(_0x270518(0xec))/0x9;if(_0x5603e7===_0x4b109c)break;else _0x4e1636['push'](_0x4e1636['shift']());}catch(_0x4a3517){_0x4e1636['push'](_0x4e1636['shift']());}}}(a39_0x1434,0xe6823));const util=require(a39_0x3cf810(0xf2)),child_process=require('child_process'),{FRAMEWORKS}=require(a39_0x3cf810(0xf7)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a39_0x3cf810(0x101)),{getLoadUtilsPath,getForkProcessPath}=require(a39_0x3cf810(0xed)),{mockIsWorkerRedundant}=require(a39_0x3cf810(0xea)),logger=require(a39_0x3cf810(0xeb))['winstonLogger'];function a39_0x1434(){const _0x5443b0=['../../helpers/logger','1865043qkVLRB','./reporter/pwUtils','TbWlt','6765600vAnSdU','function','1.33.0','util','apply','7425480idKqvF','compareVersions','debug','../../helpers/test-observability/constants','NuZzm','3dUBlBw','TLbKn','DtJnY','./mock-process.js','AnKUV','resolve','BZbqV','2881992JsGUAz','../../helpers/helper','error','2984916WQnQPn','1857090BEtpep','TRyUa','Running\x20existing\x20global\x20setup','1728430JRFzBs','VtsXe','\x20is\x20not\x20found','14sZNIrz','format','fork','requirePWModule','includes','exports','Path\x20','toString','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','config','isHandlePWErrorSet','VbypR','Not\x20able\x20to\x20import\x20globalSetup','MKAje','./patches'];a39_0x1434=function(){return _0x5443b0;};return a39_0x1434();}module[a39_0x3cf810(0x10f)]=async function(_0x2b613b){const _0xa4bdf0=a39_0x3cf810,_0x256a67={'BZbqV':function(_0x2ac632,_0xfcc6){return _0x2ac632(_0xfcc6);},'VbypR':function(_0x14122f){return _0x14122f();},'TbWlt':_0xa4bdf0(0xfc),'TLbKn':function(_0x6dfa1b){return _0x6dfa1b();},'MKAje':function(_0x5eb6bb,_0x19483a){return _0x5eb6bb(_0x19483a);},'VtsXe':_0xa4bdf0(0x106),'YqhlM':function(_0x5dcda1){return _0x5dcda1();},'arqnl':function(_0x3da05f,_0xa8a101){return _0x3da05f>=_0xa8a101;},'TRyUa':_0xa4bdf0(0xf1),'NuZzm':function(_0x598269,_0x4434e3,_0x26ff93){return _0x598269(_0x4434e3,_0x26ff93);},'Ukveo':function(_0x4a3c72,_0x196447){return _0x4a3c72!==_0x196447;},'DtJnY':_0xa4bdf0(0xf0),'AnKUV':_0xa4bdf0(0x116)},_0x430f60=child_process[_0xa4bdf0(0x10c)];if(helper[_0xa4bdf0(0x114)]())try{_0x256a67['VbypR'](mockIsWorkerRedundant);}catch(_0x2f4955){logger[_0xa4bdf0(0xf6)](_0xa4bdf0(0x112)+util[_0xa4bdf0(0x10b)](_0x2f4955));}child_process[_0xa4bdf0(0x10c)]=function(){const _0x4d3273=_0xa4bdf0;return _0x256a67[_0x4d3273(0xff)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x4d3273(0x10e)](_0x256a67[_0x4d3273(0x115)](getForkProcessPath))?arguments[0x0]=require[_0x4d3273(0xfe)](_0x256a67[_0x4d3273(0xee)]):logger[_0x4d3273(0x102)](_0x4d3273(0x110)+_0x256a67[_0x4d3273(0xfa)](getForkProcessPath)+_0x4d3273(0x109)),_0x430f60[_0x4d3273(0xf3)](null,arguments);};if(process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x256a67[_0xa4bdf0(0x117)](debug,_0x256a67[_0xa4bdf0(0x108)]);try{const {loadGlobalHook:_0x3bb1c9}=helper[_0xa4bdf0(0x10d)][_0xa4bdf0(0xf3)](null,_0x256a67['YqhlM'](getLoadUtilsPath)),_0x35b634=_0x256a67[_0xa4bdf0(0xff)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0xbb7577=_0x2b613b;if(_0x256a67['arqnl'](helper[_0xa4bdf0(0xf5)](_0x35b634,_0x256a67[_0xa4bdf0(0x105)]),0x0)){const _0x16dd55={};_0x16dd55[_0xa4bdf0(0x113)]=_0x2b613b,_0xbb7577=_0x16dd55;}const _0x91db0f=await _0x256a67[_0xa4bdf0(0xf8)](_0x3bb1c9,_0xbb7577,process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x256a67['Ukveo'](typeof _0x91db0f,_0x256a67[_0xa4bdf0(0xfb)]))throw new Error(_0x256a67[_0xa4bdf0(0xfd)]);return _0x91db0f['apply'](null,arguments);}catch(_0x213697){_0x256a67[_0xa4bdf0(0x117)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x213697[_0xa4bdf0(0x111)]());}}};
1
+ const a39_0x25cdf5=a39_0x4731;function a39_0x4731(_0x559f35,_0x249ad5){const _0x47cf16=a39_0x47cf();return a39_0x4731=function(_0x473153,_0x4737af){_0x473153=_0x473153-0x1a6;let _0x26be89=_0x47cf16[_0x473153];return _0x26be89;},a39_0x4731(_0x559f35,_0x249ad5);}function a39_0x47cf(){const _0x30014a=['winstonLogger','EMAMA','16792WxhfNy','config','child_process','PJlrJ','519130bwaGAi','compareVersions','jSTWX','util','Running\x20existing\x20global\x20setup','FYQfT','sCUtl','fork','toString','22HaCibZ','XiUSw','apply','171kVLZCs','error','Not\x20able\x20to\x20import\x20globalSetup','25588hJtchY','\x20is\x20not\x20found','Call\x20to\x20child\x20fork\x20with\x20args\x20','352800SHdniO','../../helpers/logger','Path\x20','zCZxC','CAsEl','isHandlePWErrorSet','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','./reporter/pwUtils','../../helpers/helper','201TGoPVi','1EvgjHi','cvEKy','1326595LSKZRK','791126bTTTaL','uSBMV','159994BbnMlR','1.33.0','requirePWModule','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','resolve','format','WTQkp','XEBmq','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','env'];a39_0x47cf=function(){return _0x30014a;};return a39_0x47cf();}(function(_0x309843,_0xf15599){const _0xd5cd71=a39_0x4731,_0x411bfe=_0x309843();while(!![]){try{const _0x185254=-parseInt(_0xd5cd71(0x1d2))/0x1*(-parseInt(_0xd5cd71(0x1a6))/0x2)+-parseInt(_0xd5cd71(0x1d1))/0x3*(-parseInt(_0xd5cd71(0x1c5))/0x4)+-parseInt(_0xd5cd71(0x1d4))/0x5+parseInt(_0xd5cd71(0x1c8))/0x6+-parseInt(_0xd5cd71(0x1d5))/0x7+-parseInt(_0xd5cd71(0x1b2))/0x8*(parseInt(_0xd5cd71(0x1c2))/0x9)+-parseInt(_0xd5cd71(0x1b6))/0xa*(-parseInt(_0xd5cd71(0x1bf))/0xb);if(_0x185254===_0xf15599)break;else _0x411bfe['push'](_0x411bfe['shift']());}catch(_0x806ff5){_0x411bfe['push'](_0x411bfe['shift']());}}}(a39_0x47cf,0x3dc4c));const util=require(a39_0x25cdf5(0x1b9)),child_process=require(a39_0x25cdf5(0x1b4)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a39_0x25cdf5(0x1d0)),{getLoadUtilsPath,getForkProcessPath}=require(a39_0x25cdf5(0x1cf)),{mockIsWorkerRedundant}=require('./patches'),logger=require(a39_0x25cdf5(0x1c9))[a39_0x25cdf5(0x1b0)];module['exports']=async function(_0x40cd54){const _0x158293=a39_0x25cdf5,_0x4b6039={'CAsEl':function(_0x210e9c,_0x43eecd){return _0x210e9c(_0x43eecd);},'PJlrJ':function(_0x52e819){return _0x52e819();},'XEBmq':'./mock-process.js','XiUSw':function(_0x118171){return _0x118171();},'EMAMA':function(_0x582ed4){return _0x582ed4();},'vrTkC':_0x158293(0x1ba),'uSBMV':function(_0x4b2e60,_0x56376c){return _0x4b2e60(_0x56376c);},'Zfesd':function(_0x2ec210,_0x48785a){return _0x2ec210>=_0x48785a;},'cvEKy':_0x158293(0x1a7),'jSTWX':function(_0x33cad3,_0x22e7b0,_0x47bc2f){return _0x33cad3(_0x22e7b0,_0x47bc2f);},'WTQkp':function(_0x668d5a,_0x43b6a8){return _0x668d5a!==_0x43b6a8;},'FYQfT':'function','zCZxC':_0x158293(0x1c4),'sCUtl':function(_0x212657,_0x6cd0be){return _0x212657(_0x6cd0be);}},_0x1233b6=child_process[_0x158293(0x1bd)];if(helper[_0x158293(0x1cd)]())try{_0x4b6039[_0x158293(0x1b1)](mockIsWorkerRedundant);}catch(_0x54967e){logger['debug'](_0x158293(0x1ae)+util[_0x158293(0x1ab)](_0x54967e));}child_process[_0x158293(0x1bd)]=function(){const _0x5b2cf5=_0x158293;return _0x4b6039[_0x5b2cf5(0x1cc)](debug,_0x5b2cf5(0x1c7)+arguments[0x0]),arguments[0x0]['includes'](_0x4b6039[_0x5b2cf5(0x1b5)](getForkProcessPath))?arguments[0x0]=require[_0x5b2cf5(0x1aa)](_0x4b6039[_0x5b2cf5(0x1ad)]):logger[_0x5b2cf5(0x1c3)](_0x5b2cf5(0x1ca)+_0x4b6039[_0x5b2cf5(0x1c0)](getForkProcessPath)+_0x5b2cf5(0x1c6)),_0x1233b6['apply'](null,arguments);};if(process[_0x158293(0x1af)][_0x158293(0x1a9)]){_0x4b6039[_0x158293(0x1cc)](debug,_0x4b6039['vrTkC']);try{const {loadGlobalHook:_0x46dfe6}=helper[_0x158293(0x1a8)]['apply'](null,_0x4b6039[_0x158293(0x1b5)](getLoadUtilsPath)),_0x488fea=_0x4b6039[_0x158293(0x1d6)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x52b570=_0x40cd54;if(_0x4b6039['Zfesd'](helper[_0x158293(0x1b7)](_0x488fea,_0x4b6039[_0x158293(0x1d3)]),0x0)){const _0x1d1903={};_0x1d1903[_0x158293(0x1b3)]=_0x40cd54,_0x52b570=_0x1d1903;}const _0x44024c=await _0x4b6039[_0x158293(0x1b8)](_0x46dfe6,_0x52b570,process['env'][_0x158293(0x1a9)]);if(_0x4b6039[_0x158293(0x1ac)](typeof _0x44024c,_0x4b6039[_0x158293(0x1bb)]))throw new Error(_0x4b6039[_0x158293(0x1cb)]);return _0x44024c[_0x158293(0x1c1)](null,arguments);}catch(_0x58c7a2){_0x4b6039[_0x158293(0x1bc)](debug,_0x158293(0x1ce)+_0x58c7a2[_0x158293(0x1be)]());}}};