browserstack-node-sdk 1.38.2 → 1.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +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 +2 -0
  69. package/src/bin/load/load/index.js +114 -0
  70. package/src/bin/load/load/loadUtils.js +58 -0
  71. package/src/bin/load/loadUtils.js +1 -0
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/processHelper.js +1 -1
  154. package/src/helpers/request-spy.js +1 -1
  155. package/src/helpers/setKeepAlive.js +1 -1
  156. package/src/helpers/test-observability/constants.js +1 -1
  157. package/src/helpers/test-observability/error-handler.js +1 -1
  158. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  159. package/src/helpers/test-observability/sessionHandler.js +1 -1
  160. package/src/helpers/test-observability/utils.js +1 -1
  161. package/src/helpers/test-orchestration/constants.js +1 -1
  162. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  163. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  164. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  165. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  166. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  167. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  168. package/src/helpers/testhub/constants.js +1 -1
  169. package/src/helpers/testhub/testhubHandler.js +1 -1
  170. package/src/helpers/testhub/utils.js +1 -1
  171. package/src/helpers/timeoutPromise.js +1 -1
  172. package/src/helpers/utilities.js +1 -1
  173. package/src/helpers/w3cMapping.js +1 -1
  174. package/src/hubAllocationMethods.js +1 -1
  175. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a33_0x33fb(_0x5911a3,_0x4dcd56){const _0x54597e=a33_0x5459();return a33_0x33fb=function(_0x33fbe4,_0x17ac72){_0x33fbe4=_0x33fbe4-0x7f;let _0x1c1a6e=_0x54597e[_0x33fbe4];return _0x1c1a6e;},a33_0x33fb(_0x5911a3,_0x4dcd56);}function a33_0x5459(){const _0x4306e2=['9610oefzby','testAnalyticsId','jKEli','failed','beforeAll','../../helpers/percy/utils','3978cHhbFm','passed','driverCleanup','PERFORM_SCAN','executeAsyncScript','hBidI','2815jxveaX','state','thJwtToken','hMwlL','index','QATkH','mochaHooks','\x20|\x20','tSuMP','app','nUVuY','finally','push','CAOcE','adSRw','qPVKF','saveTestResults','testcase','5022402MiFfpQ','stringify','getGlobal','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','__platformCaps','timeout','VFRPm','error','AGDMt','CaNhF','EBriq','GsnHb','eswfE','err','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','\x20-\x20','BROWSERSTACK_TESTHUB_JWT','iSsRS','SYNC','./test-observability/mochaUtils','OYZTg','../../helpers/testhub/constants','MxKPv','CaTzh','CFdpI','isAccessibilityPlatform','quitCount_','bstackA11yShouldScan','1764AfTUxS','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','asEsr','browserstackSessionName','GQrBG','shift','executeScript','IgsZc','Failed\x20to\x20store\x20session\x20name:\x20','YHWCS','../../helpers/accessibility-automation/helper','Idmmh','message','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','percyCaptureMode','sessionName','setGlobal','QHDSa','ENV_VAR','DyAdb','shouldScanTestForAccessibility','qsyvR','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','119tQVpxu','session_','216056AcitOx','QHSad','measureWrapper','debug','gkwBg','info','afterTest','../../helpers/performance/constants','dZtGd','1765239OujjRJ','eSNpM','protocol','Failed:\x20','afterAll','nIDoV','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','currentTest','vWzrw','IEqcR','252jWrQuM','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','LPmfj','appium:app','titlePath','Performing\x20scan\x20before\x20saving\x20results','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','join','vapgd','ObservabilitySync:','4482cGqqcO','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','env','hVGrP','tNDvv','NWAvq','format','end','thTestRunUuid','__skipSessionName','HEfPy','__sessionFailed','__error_messages__','FgWOS','__drivers','Keioo','http:','then','initQuit','browserstackTestName','DRlSF','capabilities','632868gJnFzL',',\x22level\x22:\x20\x22','../../helpers/logger','command','fdhDZ','xTmVk','beforeEach','QRCoB','NyTJD','startMonitoring','SDK_HOOK','SESSION_STATUS','isArray','iLcOq','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','ILOwM','util','length','zYSLA','accessibilityScanStarted'];a33_0x5459=function(){return _0x4306e2;};return a33_0x5459();}const a33_0x1bec74=a33_0x33fb;(function(_0x1ecaf5,_0x500183){const _0x372c27=a33_0x33fb,_0x325190=_0x1ecaf5();while(!![]){try{const _0x1ba30a=parseInt(_0x372c27(0xe7))/0x1*(parseInt(_0x372c27(0xf1))/0x2)+parseInt(_0x372c27(0xdd))/0x3+-parseInt(_0x372c27(0xba))/0x4*(parseInt(_0x372c27(0x8c))/0x5)+-parseInt(_0x372c27(0x108))/0x6+parseInt(_0x372c27(0xd2))/0x7*(-parseInt(_0x372c27(0xd4))/0x8)+-parseInt(_0x372c27(0x86))/0x9*(-parseInt(_0x372c27(0x80))/0xa)+-parseInt(_0x372c27(0x9e))/0xb;if(_0x1ba30a===_0x500183)break;else _0x325190['push'](_0x325190['shift']());}catch(_0x52f388){_0x325190['push'](_0x325190['shift']());}}}(a33_0x5459,0x4b4dd));const util=require(a33_0x1bec74(0x118)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a33_0x1bec74(0xc4)),{percyAutoCapture}=require(a33_0x1bec74(0x85)),{sendPlatformDetails}=require(a33_0x1bec74(0xb1)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a33_0x1bec74(0xdb)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),logger=require(a33_0x1bec74(0x10a))['winstonLogger'],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a33_0x1bec74(0xb3));exports[a33_0x1bec74(0x92)]={'beforeAll'(){const _0x10332d=a33_0x1bec74,_0x128c76={'tSuMP':function(_0x314699,_0x43997b,_0x1b3dd6,_0x1cefda){return _0x314699(_0x43997b,_0x1b3dd6,_0x1cefda);},'DRlSF':_0x10332d(0x83),'GsnHb':_0x10332d(0x93),'CaNhF':function(_0x229db3,_0x1dda06,_0x3877d9){return _0x229db3(_0x1dda06,_0x3877d9);},'fbtAY':'passed','dhPKM':function(_0x223bb5){return _0x223bb5();},'FgWOS':_0x10332d(0x90),'EygMB':_0x10332d(0x84)};PerformanceTester[_0x10332d(0x111)]();const _0x33dad2='browserstack internal helper hook';PerformanceTester[_0x10332d(0xd6)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x374dc2=_0x10332d;global['__error_messages__']=[],global[_0x374dc2(0xfd)]=![],global[_0x374dc2(0x88)]=async()=>{const _0x14188b=_0x374dc2;let _0x48d9c2=![];try{await global[_0x14188b(0x100)][0x0][_0x14188b(0xd3)],_0x48d9c2=!![],global[_0x14188b(0xfd)]?await _0x128c76[_0x14188b(0x94)](markSessionStatus,global[_0x14188b(0x100)][0x0],_0x128c76[_0x14188b(0x106)],global[_0x14188b(0xfe)][_0x14188b(0xee)](_0x128c76[_0x14188b(0xa9)])):await _0x128c76[_0x14188b(0xa7)](markSessionStatus,global['__drivers'][0x0],_0x128c76['fbtAY']);}catch(_0xb360fc){logger[_0x14188b(0xd7)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0xb360fc);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x48d9c2)try{try{_0x128c76['dhPKM'](shouldProcessEventForTesthub)&&(global[_0x14188b(0x100)][0x0]&&await _0x128c76['CaNhF'](sendPlatformDetails,global[_0x14188b(0x100)][0x0],this[_0x14188b(0xe4)]?this[_0x14188b(0xe4)]['testAnalyticsId']:null));}catch(_0x2f6efb){logger[_0x14188b(0xd7)](_0x14188b(0xf3)+_0x2f6efb);}await global[_0x14188b(0x100)][0x0][_0x14188b(0x104)]();}catch(_0x3e5dce){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x3e5dce);}};},{'platform':_0x128c76[_0x10332d(0xa7)](nestedKeyValue,global[_0x10332d(0xa2)],[_0x128c76[_0x10332d(0xff)]]),'hookType':_0x128c76['EygMB']})();},'beforeEach'(_0x4a9db7){const _0x374d7f=a33_0x1bec74,_0x19295e={'YHWCS':function(_0x1549ef,_0x12672e){return _0x1549ef>_0x12672e;},'qsyvR':_0x374d7f(0xad),'jKEli':function(_0x2ced9c,_0x54d0b2,_0xeccb83){return _0x2ced9c(_0x54d0b2,_0xeccb83);},'AGDMt':_0x374d7f(0xb9),'gkwBg':function(_0x1f5372){return _0x1f5372();},'QHDSa':'isAccessibilityPlatform','hMwlL':function(_0x53972d,_0x1c1925){return _0x53972d===_0x1c1925;},'zYSLA':_0x374d7f(0x102),'VFRPm':'https:','CAOcE':_0x374d7f(0xa1),'GuBKG':'Automate\x20test\x20case\x20execution\x20has\x20started.','iLcOq':_0x374d7f(0x105),'asEsr':function(_0x121f5c,_0x3fea60,_0x50c7dc){return _0x121f5c(_0x3fea60,_0x50c7dc);},'nIDoV':_0x374d7f(0x90),'nUVuY':_0x374d7f(0x10e)};globals['setGlobal'](_0x19295e[_0x374d7f(0x115)],this['currentTest'][_0x374d7f(0xeb)]()[_0x374d7f(0xee)](_0x19295e[_0x374d7f(0xcf)])),PerformanceTester[_0x374d7f(0xd6)](PerformanceSdkEvents[_0x374d7f(0x112)],()=>{const _0x4afdb5=_0x374d7f,_0x555d40='browserstack internal helper hook';new Promise(async _0x355032=>{const _0x251517=a33_0x33fb;let _0x3d6e32=!![];try{_0x19295e['YHWCS'](global[_0x251517(0x100)][_0x251517(0x119)],0x1)&&(await global[_0x251517(0x88)](),global[_0x251517(0x100)][_0x251517(0xbf)]()),_0x19295e[_0x251517(0xc3)](global[_0x251517(0x100)][0x0]['quitCount_'],0x0)&&(_0x3d6e32=![],await global[_0x251517(0x88)]());}catch(_0x4c2d46){logger[_0x251517(0xd7)](_0x251517(0xd0)+_0x4c2d46);}try{Array[_0x251517(0x114)](global[_0x251517(0x100)])&&global[_0x251517(0x100)][0x0]&&(global[_0x251517(0x100)][0x0][_0x251517(0xbd)]=this['currentTest']['titlePath']()[_0x251517(0xee)](_0x19295e[_0x251517(0xcf)])),global[_0x251517(0xbd)]=this[_0x251517(0xe4)][_0x251517(0xeb)]()[_0x251517(0xee)](_0x19295e[_0x251517(0xcf)]);}catch(_0x404bf9){logger[_0x251517(0xd7)](_0x251517(0xc2)+_0x404bf9);}this[_0x251517(0xe4)][_0x251517(0xce)]=_0x19295e[_0x251517(0x82)](shouldScanTestForAccessibility,this[_0x251517(0xe4)][_0x251517(0xeb)](),!![]),globals[_0x251517(0xca)](_0x19295e[_0x251517(0xa6)],this[_0x251517(0xe4)][_0x251517(0xce)]),this[_0x251517(0xe4)]['accessibilityScanStarted']=!![];if(_0x19295e[_0x251517(0xd8)](isAccessibilityAutomationSession)&&_0x3d6e32&&Array[_0x251517(0x114)](global[_0x251517(0x100)])&&_0x19295e[_0x251517(0xc3)](global[_0x251517(0x100)][_0x251517(0x119)],0x0)&&globals[_0x251517(0xa0)](_0x19295e[_0x251517(0xcb)]))try{const _0x947ccc=await global['__drivers'][0x0][_0x251517(0xd3)];if(_0x947ccc){let _0x3200b1=!![];const _0x3db68f=await global[_0x251517(0x100)][0x0]['getCurrentUrl']();let _0x531ef8;try{_0x531ef8=new URL(_0x3db68f);}catch(_0x219e98){_0x3200b1=![];}_0x3200b1=_0x19295e[_0x251517(0x8f)](_0x531ef8[_0x251517(0xdf)],_0x19295e[_0x251517(0x11a)])||_0x19295e[_0x251517(0x8f)](_0x531ef8[_0x251517(0xdf)],_0x19295e[_0x251517(0xa4)]),_0x3200b1&&(this[_0x251517(0xe4)][_0x251517(0xce)]&&logger[_0x251517(0xd9)](_0x19295e[_0x251517(0x99)])),this['currentTest'][_0x251517(0x7f)]=this['currentTest']['shouldScanTestForAccessibility'],this[_0x251517(0xe4)][_0x251517(0xce)]&&logger[_0x251517(0xd9)](_0x19295e['GuBKG']);}}catch(_0x15e4f5){logger[_0x251517(0xa5)](_0x251517(0xe3)+util['format'](_0x15e4f5));}_0x19295e['gkwBg'](_0x355032);})[_0x4afdb5(0x103)](()=>{const _0x31aed3=_0x4afdb5;_0x19295e[_0x31aed3(0xd8)](_0x4a9db7);});},{'platform':_0x19295e[_0x374d7f(0xbc)](nestedKeyValue,global[_0x374d7f(0xa2)],[_0x19295e[_0x374d7f(0xe2)]]),'hookType':_0x19295e[_0x374d7f(0x96)]})();},'afterEach'(_0x42d87a){const _0x351489=a33_0x1bec74,_0x27e6de={'QATkH':'\x20-\x20','eSNpM':function(_0x16bb07,_0x5d8625){return _0x16bb07>_0x5d8625;},'VLLdC':function(_0x2b99d4,_0x3f69e5){return _0x2b99d4===_0x3f69e5;},'MxKPv':_0x351489(0x9d),'QapPr':function(_0x33474b,_0x2448d3){return _0x33474b>_0x2448d3;},'IgsZc':_0x351489(0xea),'AEmgc':function(_0x46b6fd,_0x4a28b3,_0x38b599,_0x5926ec){return _0x46b6fd(_0x4a28b3,_0x38b599,_0x5926ec);},'TauKR':_0x351489(0xb7),'GQrBG':'bstackA11yShouldScan','imNQH':_0x351489(0xbb),'hBidI':_0x351489(0xec),'iKZHn':_0x351489(0xda),'ILOwM':_0x351489(0xac),'Idmmh':function(_0x30f7f3){return _0x30f7f3();},'lpPaq':function(_0x336e91,_0x1fe7b2,_0x16d948){return _0x336e91(_0x1fe7b2,_0x16d948);},'iSsRS':function(_0x5b5fa6,_0x3d1ac7,_0x520085){return _0x5b5fa6(_0x3d1ac7,_0x520085);},'IEqcR':_0x351489(0xd7),'BQdng':function(_0x213176){return _0x213176();},'vWzrw':function(_0x5589f2,_0xf1b014){return _0x5589f2!==_0xf1b014;},'fdhDZ':_0x351489(0x87),'OYZTg':function(_0xa75ad5,_0x581557){return _0xa75ad5+_0x581557;},'NyTJD':_0x351489(0xe0),'EBriq':_0x351489(0xa5),'QRCoB':'Passed','qPVKF':_0x351489(0xd9),'cyqrC':function(_0x59eba8){return _0x59eba8();},'hVGrP':function(_0x3c3d1f,_0x4d259c,_0xe69b80){return _0x3c3d1f(_0x4d259c,_0xe69b80);},'cpVrc':_0x351489(0x90),'CFdpI':'afterEach'},_0x35d031='browserstack internal helper hook';this['timeout'](0xfde8),global[_0x351489(0xc9)]=this[_0x351489(0xe4)]['titlePath']()['join'](_0x27e6de[_0x351489(0x91)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x351489(0x112)],()=>{const _0x463186=_0x351489,_0x32b8bb={'QHSad':function(_0x3549e0,_0x55d01d){const _0x50b7af=a33_0x33fb;return _0x27e6de[_0x50b7af(0xe5)](_0x3549e0,_0x55d01d);},'upVBL':_0x27e6de[_0x463186(0x10c)],'eswfE':function(_0x58afbb,_0x4a3d14,_0x8defcc){const _0x327174=_0x463186;return _0x27e6de[_0x327174(0xaf)](_0x58afbb,_0x4a3d14,_0x8defcc);},'vapgd':function(_0xf15dba,_0x59fcb2){const _0x53c123=_0x463186;return _0x27e6de[_0x53c123(0xb2)](_0xf15dba,_0x59fcb2);},'DyAdb':_0x27e6de[_0x463186(0x110)],'CaTzh':_0x27e6de[_0x463186(0xa8)],'NWAvq':_0x27e6de[_0x463186(0x10f)],'dZtGd':_0x27e6de[_0x463186(0x9b)],'ypwPJ':function(_0x58d182){return _0x27e6de['cyqrC'](_0x58d182);}},_0x38343c=async(_0x47582d,_0x75b82c)=>{const _0x2a11b0=_0x463186;await global[_0x2a11b0(0x100)][0x0]['executeScript'](_0x2a11b0(0xed)+_0x47582d+_0x2a11b0(0x109)+_0x75b82c+'\x22}}');};new Promise(async _0x5ca4ce=>{const _0x101872=_0x463186,_0x3e574d={};_0x3e574d[_0x101872(0xe9)]=_0x27e6de['QATkH'];const _0x28a23d=_0x3e574d;try{_0x27e6de[_0x101872(0xde)](global[_0x101872(0x100)][_0x101872(0x119)],0x1)&&(await global[_0x101872(0x88)](),global[_0x101872(0x100)][_0x101872(0xbf)](),global[_0x101872(0xfe)]=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x27e6de['VLLdC'](global[_0x101872(0xc8)],_0x27e6de[_0x101872(0xb4)])&&global['__drivers'][0x0]){const _0xdeb530=_0x27e6de['QapPr'](global[_0x101872(0x107)][_0x101872(0x119)],0x0)?!!global[_0x101872(0x107)][0x0][_0x101872(0x95)]||!!global[_0x101872(0x107)][0x0][_0x27e6de[_0x101872(0xc1)]]:![],_0x5901d5={};_0x5901d5[_0x101872(0x95)]=_0xdeb530,await _0x27e6de['AEmgc'](percyAutoCapture,global['__drivers'][0x0],_0x27e6de[_0x101872(0xb4)],_0x5901d5);}}catch(_0x379813){logger['debug'](_0x101872(0x116)+_0x379813);}!global[_0x101872(0xfb)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x52b18e=_0x101872;await global['__drivers'][0x0][_0x52b18e(0xc0)](_0x52b18e(0xd1)+JSON[_0x52b18e(0x9f)](this[_0x52b18e(0xe4)]['titlePath']()['join'](_0x28a23d[_0x52b18e(0xe9)]))+'}}');})(),global[_0x101872(0x100)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x101872(0xd6)](PerformanceAutEvents[_0x101872(0x113)],async()=>{const _0x4db526=_0x101872,_0x103ea1=_0x32b8bb[_0x4db526(0xd5)](this[_0x4db526(0xe4)][_0x4db526(0x8d)],_0x32b8bb['upVBL']);_0x103ea1?(global['__sessionFailed']=!![],global[_0x4db526(0xfe)][_0x4db526(0x98)](this['currentTest']['err'][_0x4db526(0xc6)]),await _0x32b8bb[_0x4db526(0xaa)](_0x38343c,JSON['stringify'](_0x32b8bb[_0x4db526(0xef)](_0x32b8bb[_0x4db526(0xcd)],this[_0x4db526(0xe4)][_0x4db526(0xab)]['message'])),_0x32b8bb[_0x4db526(0xb5)])):await _0x32b8bb[_0x4db526(0xaa)](_0x38343c,JSON[_0x4db526(0x9f)](_0x32b8bb[_0x4db526(0xf7)]),_0x32b8bb[_0x4db526(0xdc)]);})();}catch(_0xe6ab16){logger[_0x101872(0xd7)](_0x101872(0xf2)+_0xe6ab16);}try{if(this[_0x101872(0xe4)][_0x101872(0x7f)]&&globals['getGlobal'](_0x27e6de['TauKR'])&&globals[_0x101872(0xa0)](_0x27e6de[_0x101872(0xbe)])){logger[_0x101872(0xd9)](_0x27e6de['imNQH']);const _0x4f615b={};_0x4f615b[_0x101872(0xfa)]=this['currentTest'][_0x101872(0x81)],_0x4f615b['thBuildUuid']=process[_0x101872(0xf4)][testHubConstants[_0x101872(0xcc)]['BROWSERSTACK_TESTHUB_UUID']],_0x4f615b[_0x101872(0x8e)]=process[_0x101872(0xf4)][testHubConstants[_0x101872(0xcc)][_0x101872(0xae)]];const _0x33609d=_0x4f615b;logger['debug'](_0x101872(0xe8)+JSON['stringify'](_0x33609d)),logger['debug'](_0x27e6de[_0x101872(0x8b)]);const _0x216a66={};_0x216a66[_0x101872(0x10b)]=_0x27e6de['iKZHn'],await PerformanceTester[_0x101872(0xd6)](PerformanceA11yEvents[_0x101872(0x89)],async()=>{const _0x4d6048=_0x101872;logger[_0x4d6048(0xd7)](util[_0x4d6048(0xf8)](await global[_0x4d6048(0x100)][0x0][_0x4d6048(0x8a)](scripts['performScan'],{'method':global[_0x4d6048(0xbd)]})));},_0x216a66)(),await PerformanceTester[_0x101872(0xd6)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x3dd3d3=_0x101872;await global[_0x3dd3d3(0x100)][0x0][_0x3dd3d3(0x8a)](scripts[_0x3dd3d3(0x9c)],_0x33609d);})(),logger[_0x101872(0xd9)](_0x27e6de[_0x101872(0x117)]);}}catch(_0x1314de){logger[_0x101872(0xa5)](_0x101872(0xc7)+this[_0x101872(0xe4)][_0x101872(0xeb)]()+'.\x20Error\x20:',_0x1314de);}try{try{if(_0x27e6de[_0x101872(0xc5)](shouldProcessEventForTesthub)){global[_0x101872(0x100)][0x0]&&await _0x27e6de['lpPaq'](sendPlatformDetails,global[_0x101872(0x100)][0x0],this[_0x101872(0xe4)]?this[_0x101872(0xe4)]['testAnalyticsId']:null);if(_0x27e6de[_0x101872(0xc5)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x101872(0xb0)]);const _0x25a194=_0x101872(0xf0)+Date['now']();await _0x27e6de[_0x101872(0xaf)](_0x38343c,JSON['stringify'](_0x25a194),_0x27e6de[_0x101872(0xe6)]),PerformanceTester[_0x101872(0xf9)](PerformanceO11yEvents[_0x101872(0xb0)]);}}}catch(_0x22d814){logger[_0x101872(0xd7)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x22d814),PerformanceTester['end'](PerformanceO11yEvents[_0x101872(0xb0)],![],_0x22d814);}_0x27e6de[_0x101872(0xde)](global['__drivers'][0x0][_0x101872(0xb8)],0x0)&&await global['driverCleanup']();}catch(_0x10fc26){logger[_0x101872(0xd7)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x10fc26);}_0x27e6de['BQdng'](_0x5ca4ce);})[_0x463186(0x103)](()=>{_0x32b8bb['ypwPJ'](_0x42d87a);});},{'platform':_0x27e6de[_0x351489(0xf5)](nestedKeyValue,global[_0x351489(0xa2)],[_0x27e6de['cpVrc']]),'hookType':_0x27e6de[_0x351489(0xb6)]})();},'afterAll'(_0x6c6c20){const _0x32d8de=a33_0x1bec74,_0x52e524={'xTmVk':function(_0x35fe01){return _0x35fe01();},'Keioo':function(_0x3b3d03,_0x51f46e,_0x2a42ea){return _0x3b3d03(_0x51f46e,_0x2a42ea);},'adSRw':'index','HEfPy':_0x32d8de(0xe1)},_0x532bee='browserstack internal helper hook';this[_0x32d8de(0xa3)](0xfde8),PerformanceTester[_0x32d8de(0xd6)](PerformanceSdkEvents[_0x32d8de(0x112)],()=>{const _0x277374=_0x32d8de,_0x2b4fe7={'tNDvv':function(_0x224af1){const _0x1847d7=a33_0x33fb;return _0x52e524[_0x1847d7(0x10d)](_0x224af1);}};new Promise(async _0x361d37=>{const _0x579d90=a33_0x33fb;await global[_0x579d90(0x88)](),_0x2b4fe7[_0x579d90(0xf6)](_0x361d37);})[_0x277374(0x103)]()[_0x277374(0x97)](()=>{const _0x53a96d=_0x277374;_0x2b4fe7[_0x53a96d(0xf6)](_0x6c6c20);});},{'platform':_0x52e524[_0x32d8de(0x101)](nestedKeyValue,global[_0x32d8de(0xa2)],[_0x52e524[_0x32d8de(0x9a)]]),'hookType':_0x52e524[_0x32d8de(0xfc)]})();}};
1
+ const a35_0x183446=a35_0x1eeb;(function(_0x321c,_0x39c40c){const _0x43a107=a35_0x1eeb,_0x4d5c5d=_0x321c();while(!![]){try{const _0x3f01f2=-parseInt(_0x43a107(0xe8))/0x1+-parseInt(_0x43a107(0xe7))/0x2*(parseInt(_0x43a107(0xe4))/0x3)+-parseInt(_0x43a107(0xf2))/0x4*(-parseInt(_0x43a107(0x137))/0x5)+parseInt(_0x43a107(0x112))/0x6*(-parseInt(_0x43a107(0x158))/0x7)+-parseInt(_0x43a107(0xcc))/0x8+-parseInt(_0x43a107(0x160))/0x9+parseInt(_0x43a107(0x131))/0xa*(parseInt(_0x43a107(0xff))/0xb);if(_0x3f01f2===_0x39c40c)break;else _0x4d5c5d['push'](_0x4d5c5d['shift']());}catch(_0x55543b){_0x4d5c5d['push'](_0x4d5c5d['shift']());}}}(a35_0x4bba,0xa3486));function a35_0x4bba(){const _0x17fe86=['shouldScanTestForAccessibility','zVxvC',',\x22level\x22:\x20\x22','SYNC','afterTest','initQuit','ObservabilitySync:','KtAPY','quitCount_','SAVE_RESULTS','SESSION_STATUS','RdtfS','WXSJC','KNzGM','bOXiZ','NIjMF','Automate\x20test\x20case\x20execution\x20has\x20started.','VPjmD','accessibilityScanStarted','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','appium:app','message','length','executeScript','end','MucjK','../../helpers/performance/constants','session_','8160840NPfWzl','pCRHK','browserstackTestName','../../helpers/accessibility-automation/scripts','beforeEach','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','getGlobal','beforeAll','saveTestResults','LNYgO','OtmBn','protocol','qZUVT','command','app','OVFIa','env','BROWSERSTACK_TESTHUB_UUID','zcUdt','../../helpers/testhub/constants','YLjyi','uPJIs','WMRrL','timeout','3FCLsPF','passed','http:','1670744ouGVCv','398232VwEwaO','zdiZH','vzxEg','gnYFt','OjXzH','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','setGlobal','XKssz','FUzCj','Yxpnf','202252YBCVrb','xPLvt','getCurrentUrl','../../helpers/testhub/utils','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','format','debug','executeAsyncScript','SESSION_NAME','vfCiC','../../helpers/helper','QGSPE','thBuildUuid','128601bkYqUd','__platformCaps','LMIFm','PERFORM_SCAN','Failed:\x20','isArray','FKuQf','kOqlE','ANSsF','push','ypdGY','state','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','mochaHooks','xthgm','druID','.\x20Error\x20:','dPOFK','ewPRu','18STvYLc','sessionName','titlePath','\x20-\x20','util','EOflt','stringify','percyCaptureMode','VJwGx','olKER','winstonLogger','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','kongz','tpOrN','__error_messages__','mjOCL','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','thTestRunUuid','browserstackSessionName','join','driverCleanup','GtkiB','afterAll','jcLUx','Passed','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','__sessionFailed','index','ChaKe','__drivers','error','3760swrubJ','RvnDX','err','start','ENV_VAR','bstackA11yShouldScan','5mqjLNx','wQxFb','IGREd','gPpoT','testAnalyticsId','LaXUo','ujiaK','aKxlg','capabilities','now','isAccessibilityPlatform','currentTest','ysVeM','JqJFU','FJPZa','info','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','sessionNameSet__','XdPcp','BHMdq','cEQbu','qXGGI','./test-observability/mochaUtils','kzQRy','percy','SDK_HOOK','then','performScan','Ajcnz','EtnEx','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','testcase','2740234txttxE','__skipSessionName','../../helpers/percy/utils','WpRMJ','RbEMn','measureWrapper','AuFiu','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','3145302SxuQyX','shift','sXNBF','wLqNq'];a35_0x4bba=function(){return _0x17fe86;};return a35_0x4bba();}function a35_0x1eeb(_0x3fad80,_0x1b7c06){const _0x4bbabb=a35_0x4bba();return a35_0x1eeb=function(_0x1eeb45,_0x1d5529){_0x1eeb45=_0x1eeb45-0xbf;let _0x31b656=_0x4bbabb[_0x1eeb45];return _0x31b656;},a35_0x1eeb(_0x3fad80,_0x1b7c06);}const util=require(a35_0x183446(0x116)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a35_0x183446(0x15a)),{sendPlatformDetails}=require(a35_0x183446(0x14d)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a35_0x183446(0xfc)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a35_0x183446(0xca)),scripts=require(a35_0x183446(0xcf)),globals=require('../../helpers/globals'),logger=require('../../helpers/logger')[a35_0x183446(0x11c)],{shouldProcessEventForTesthub}=require(a35_0x183446(0xf5)),testHubConstants=require(a35_0x183446(0xdf));exports[a35_0x183446(0x10c)]={'beforeAll'(){const _0x3da372=a35_0x183446,_0x3fd375={'Tmtwi':function(_0x35149d,_0x26eea9,_0x1dd982,_0x211d7e){return _0x35149d(_0x26eea9,_0x1dd982,_0x211d7e);},'dPOFK':'failed','NIjMF':'\x20|\x20','Ajcnz':function(_0x5a5d56,_0x17d76d,_0x32834f){return _0x5a5d56(_0x17d76d,_0x32834f);},'RdtfS':_0x3da372(0xe5),'WmTrH':function(_0x3399a2){return _0x3399a2();},'ANSsF':function(_0x2e51a9,_0x3b1e48,_0xf7c661){return _0x2e51a9(_0x3b1e48,_0xf7c661);},'YLjyi':function(_0x3dd8db,_0x45afb8,_0x584a2d){return _0x3dd8db(_0x45afb8,_0x584a2d);},'ujiaK':_0x3da372(0x12d),'zMCOz':_0x3da372(0xd3)};PerformanceTester['startMonitoring']();const _0x2c31ad='browserstack internal helper hook';PerformanceTester[_0x3da372(0x15d)](PerformanceSdkEvents[_0x3da372(0x150)],()=>{const _0x56eede=_0x3da372;global[_0x56eede(0x120)]=[],global[_0x56eede(0x12c)]=![],global[_0x56eede(0x126)]=async()=>{const _0xbf5c89=_0x56eede;let _0xe58338=![];try{await global['__drivers'][0x0][_0xbf5c89(0xcb)],_0xe58338=!![],global['__sessionFailed']?await _0x3fd375['Tmtwi'](markSessionStatus,global[_0xbf5c89(0x12f)][0x0],_0x3fd375[_0xbf5c89(0x110)],global[_0xbf5c89(0x120)][_0xbf5c89(0x125)](_0x3fd375[_0xbf5c89(0xbf)])):await _0x3fd375[_0xbf5c89(0x153)](markSessionStatus,global[_0xbf5c89(0x12f)][0x0],_0x3fd375[_0xbf5c89(0x16f)]);}catch(_0x7ab384){logger[_0xbf5c89(0xf8)](_0xbf5c89(0x11d)+_0x7ab384);}global[_0xbf5c89(0x120)]=[],global[_0xbf5c89(0x12c)]=![];if(_0xe58338)try{try{_0x3fd375['WmTrH'](shouldProcessEventForTesthub)&&(global[_0xbf5c89(0x12f)][0x0]&&await _0x3fd375[_0xbf5c89(0x107)](sendPlatformDetails,global[_0xbf5c89(0x12f)][0x0],this[_0xbf5c89(0x142)]?this[_0xbf5c89(0x142)]['testAnalyticsId']:null));}catch(_0x12be85){logger[_0xbf5c89(0xf8)](_0xbf5c89(0xf6)+_0x12be85);}await global[_0xbf5c89(0x12f)][0x0][_0xbf5c89(0x169)]();}catch(_0x4b74ec){logger[_0xbf5c89(0xf8)](_0xbf5c89(0x156)+_0x4b74ec);}};},{'platform':_0x3fd375[_0x3da372(0xe0)](nestedKeyValue,global[_0x3da372(0x100)],[_0x3fd375[_0x3da372(0x13d)]]),'hookType':_0x3fd375['zMCOz']})();},'beforeEach'(_0x1f2795){const _0xba8b09=a35_0x183446,_0x471829={'FUzCj':function(_0x4c3174,_0x1157d0){return _0x4c3174>_0x1157d0;},'ynLuL':_0xba8b09(0x115),'FJPZa':function(_0x9735ab,_0x74c0e6,_0x5752d3){return _0x9735ab(_0x74c0e6,_0x5752d3);},'BHMdq':_0xba8b09(0x136),'wQxFb':function(_0x5a3c43){return _0x5a3c43();},'cEQbu':_0xba8b09(0x141),'JqJFU':function(_0x3be5ae,_0x58212a){return _0x3be5ae===_0x58212a;},'kOqlE':_0xba8b09(0xe6),'gnYFt':'https:','VUnmd':_0xba8b09(0xc3),'ChaKe':_0xba8b09(0xc0),'RbEMn':_0xba8b09(0xce),'LMIFm':function(_0x597325,_0x79b110,_0x441a76){return _0x597325(_0x79b110,_0x441a76);},'kongz':_0xba8b09(0x12d),'RKmsw':_0xba8b09(0xd0)};globals[_0xba8b09(0xee)](_0x471829[_0xba8b09(0x15c)],this[_0xba8b09(0x142)][_0xba8b09(0x114)]()[_0xba8b09(0x125)](_0x471829['ynLuL'])),PerformanceTester[_0xba8b09(0x15d)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x40b33d=_0xba8b09,_0x458b93={'HXCwM':function(_0x5ebbcf,_0x19481e){const _0x2a3585=a35_0x1eeb;return _0x471829[_0x2a3585(0xf0)](_0x5ebbcf,_0x19481e);},'WXSJC':_0x471829['ynLuL'],'EtnEx':function(_0x2b99f4,_0x5e1966,_0x2717a3){const _0x12ad68=a35_0x1eeb;return _0x471829[_0x12ad68(0x145)](_0x2b99f4,_0x5e1966,_0x2717a3);},'hcxdO':_0x471829[_0x40b33d(0x14a)],'RvnDX':function(_0x343eb7){const _0x34628d=_0x40b33d;return _0x471829[_0x34628d(0x138)](_0x343eb7);},'KNzGM':function(_0x407afa,_0x22e964){const _0x789940=_0x40b33d;return _0x471829[_0x789940(0xf0)](_0x407afa,_0x22e964);},'IGREd':_0x471829[_0x40b33d(0x14b)],'WMRrL':function(_0x2707b5,_0x11d06c){const _0x549ff2=_0x40b33d;return _0x471829[_0x549ff2(0x144)](_0x2707b5,_0x11d06c);},'WpRMJ':_0x471829[_0x40b33d(0x106)],'vzxEg':_0x471829[_0x40b33d(0xeb)],'MucjK':_0x471829['VUnmd'],'QGSPE':_0x471829[_0x40b33d(0x12e)]},_0x1c80c6='browserstack internal helper hook';new Promise(async _0x113160=>{const _0x3cff5a=_0x40b33d;let _0x33b2f0=!![];try{_0x458b93['HXCwM'](global[_0x3cff5a(0x12f)][_0x3cff5a(0xc6)],0x1)&&(await global[_0x3cff5a(0x126)](),global[_0x3cff5a(0x12f)][_0x3cff5a(0x161)]()),_0x458b93['HXCwM'](global[_0x3cff5a(0x12f)][0x0][_0x3cff5a(0x16c)],0x0)&&(_0x33b2f0=![],await global[_0x3cff5a(0x126)]());}catch(_0x36750b){logger[_0x3cff5a(0xf8)](_0x3cff5a(0x156)+_0x36750b);}try{Array[_0x3cff5a(0x104)](global[_0x3cff5a(0x12f)])&&global[_0x3cff5a(0x12f)][0x0]&&(global['__drivers'][0x0][_0x3cff5a(0x124)]=this[_0x3cff5a(0x142)]['titlePath']()['join'](_0x458b93[_0x3cff5a(0x170)])),global['browserstackSessionName']=this[_0x3cff5a(0x142)][_0x3cff5a(0x114)]()['join'](_0x458b93[_0x3cff5a(0x170)]);}catch(_0x2227db){logger[_0x3cff5a(0xf8)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x2227db);}this[_0x3cff5a(0x142)][_0x3cff5a(0x164)]=_0x458b93[_0x3cff5a(0x154)](shouldScanTestForAccessibility,this[_0x3cff5a(0x142)][_0x3cff5a(0x114)](),!![]),globals[_0x3cff5a(0xee)](_0x458b93['hcxdO'],this[_0x3cff5a(0x142)][_0x3cff5a(0x164)]),this[_0x3cff5a(0x142)][_0x3cff5a(0xc2)]=!![];if(_0x458b93[_0x3cff5a(0x132)](isAccessibilityAutomationSession)&&_0x33b2f0&&Array[_0x3cff5a(0x104)](global['__drivers'])&&_0x458b93[_0x3cff5a(0x171)](global[_0x3cff5a(0x12f)][_0x3cff5a(0xc6)],0x0)&&globals[_0x3cff5a(0xd2)](_0x458b93[_0x3cff5a(0x139)]))try{const _0x5906e4=await global[_0x3cff5a(0x12f)][0x0][_0x3cff5a(0xcb)];if(_0x5906e4){let _0x590814=!![];const _0x2d916d=await global['__drivers'][0x0][_0x3cff5a(0xf4)]();let _0xd54cb7;try{_0xd54cb7=new URL(_0x2d916d);}catch(_0x507b59){_0x590814=![];}_0x590814=_0x458b93[_0x3cff5a(0xe2)](_0xd54cb7['protocol'],_0x458b93[_0x3cff5a(0x15b)])||_0x458b93['WMRrL'](_0xd54cb7[_0x3cff5a(0xd7)],_0x458b93[_0x3cff5a(0xea)]),_0x590814&&(this[_0x3cff5a(0x142)][_0x3cff5a(0x164)]&&logger['info'](_0x458b93[_0x3cff5a(0xc9)])),this['currentTest'][_0x3cff5a(0xc2)]=this[_0x3cff5a(0x142)][_0x3cff5a(0x164)],this[_0x3cff5a(0x142)][_0x3cff5a(0x164)]&&logger[_0x3cff5a(0x146)](_0x458b93[_0x3cff5a(0xfd)]);}}catch(_0x5b8a90){logger[_0x3cff5a(0x130)](_0x3cff5a(0x147)+util[_0x3cff5a(0xf7)](_0x5b8a90));}_0x458b93[_0x3cff5a(0x132)](_0x113160);})['then'](()=>{const _0x3be2d0=_0x40b33d;_0x458b93[_0x3be2d0(0x132)](_0x1f2795);});},{'platform':_0x471829[_0xba8b09(0x101)](nestedKeyValue,global[_0xba8b09(0x100)],[_0x471829[_0xba8b09(0x11e)]]),'hookType':_0x471829['RKmsw']})();},'afterEach'(_0x59ab61){const _0x2ed8ee=a35_0x183446,_0x36b9e7={'OjXzH':_0x2ed8ee(0x115),'zcUdt':function(_0x89911e,_0x8514bf){return _0x89911e!==_0x8514bf;},'VPjmD':'passed','pCRHK':function(_0x71f911,_0x2df104,_0x23499e){return _0x71f911(_0x2df104,_0x23499e);},'qZUVT':function(_0x1bbe87,_0x35acae){return _0x1bbe87+_0x35acae;},'GtkiB':_0x2ed8ee(0x103),'XKssz':_0x2ed8ee(0x130),'FKuQf':_0x2ed8ee(0x12a),'wLqNq':_0x2ed8ee(0x146),'sXNBF':function(_0x6261aa,_0x5d80c0){return _0x6261aa>_0x5d80c0;},'mjOCL':function(_0x28a643,_0x54194d){return _0x28a643===_0x54194d;},'zdiZH':_0x2ed8ee(0x157),'uPJIs':_0x2ed8ee(0xc4),'ewPRu':function(_0x1f290a,_0x128cbf,_0x286846,_0x2a87f5){return _0x1f290a(_0x128cbf,_0x286846,_0x2a87f5);},'xthgm':_0x2ed8ee(0x141),'OVFIa':'bstackA11yShouldScan','qXGGI':_0x2ed8ee(0x12b),'VJwGx':'Performing\x20scan\x20before\x20saving\x20results','OtmBn':_0x2ed8ee(0x168),'bOXiZ':_0x2ed8ee(0x122),'druID':function(_0x51ef69){return _0x51ef69();},'xPLvt':function(_0x596de8){return _0x596de8();},'EOflt':function(_0x5ec7d9,_0x4413ff,_0x5ebf33){return _0x5ec7d9(_0x4413ff,_0x5ebf33);},'jcLUx':'debug','LNYgO':function(_0x4641db){return _0x4641db();},'Yxpnf':function(_0x208c05){return _0x208c05();},'KtAPY':function(_0x473779,_0x3ccac1,_0x387f61){return _0x473779(_0x3ccac1,_0x387f61);},'SBKaL':'index','tNdAz':'afterEach'},_0x11ff2a='browserstack internal helper hook';this[_0x2ed8ee(0xe3)](0xfde8),global[_0x2ed8ee(0x113)]=this[_0x2ed8ee(0x142)][_0x2ed8ee(0x114)]()[_0x2ed8ee(0x125)](_0x36b9e7[_0x2ed8ee(0xec)]),PerformanceTester[_0x2ed8ee(0x15d)](PerformanceSdkEvents[_0x2ed8ee(0x150)],()=>{const _0x5b4e98=_0x2ed8ee,_0x2ec41e={'zVxvC':function(_0x1827d4){const _0x16dd73=a35_0x1eeb;return _0x36b9e7[_0x16dd73(0xf1)](_0x1827d4);}},_0x1638fd=async(_0xa2d71c,_0x35202c)=>{const _0x353a3f=a35_0x1eeb;await global[_0x353a3f(0x12f)][0x0][_0x353a3f(0xc7)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xa2d71c+_0x353a3f(0x166)+_0x35202c+'\x22}}');};new Promise(async _0x2d5f69=>{const _0x388999=a35_0x1eeb,_0x485f8d={'gPpoT':_0x36b9e7['OjXzH'],'AuFiu':function(_0x1307f3,_0x1c8749){const _0x245ae8=a35_0x1eeb;return _0x36b9e7[_0x245ae8(0xde)](_0x1307f3,_0x1c8749);},'ypdGY':_0x36b9e7[_0x388999(0xc1)],'MHnKX':function(_0x2cb073,_0x378671,_0x192d5c){const _0x1f1611=_0x388999;return _0x36b9e7[_0x1f1611(0xcd)](_0x2cb073,_0x378671,_0x192d5c);},'LaXUo':function(_0x385ba5,_0x4d0088){const _0x4db216=_0x388999;return _0x36b9e7[_0x4db216(0xd8)](_0x385ba5,_0x4d0088);},'olKER':_0x36b9e7[_0x388999(0x127)],'tpOrN':_0x36b9e7[_0x388999(0xef)],'XdPcp':_0x36b9e7[_0x388999(0x105)],'aKxlg':_0x36b9e7[_0x388999(0x163)]};try{_0x36b9e7['sXNBF'](global[_0x388999(0x12f)]['length'],0x1)&&(await global[_0x388999(0x126)](),global[_0x388999(0x12f)][_0x388999(0x161)](),global['__error_messages__']=[],global[_0x388999(0x12c)]=![]);try{if(global[_0x388999(0x14f)]&&_0x36b9e7[_0x388999(0x121)](global[_0x388999(0x119)],_0x36b9e7['zdiZH'])&&global[_0x388999(0x12f)][0x0]){const _0x3b3944=_0x36b9e7['sXNBF'](global[_0x388999(0x13f)][_0x388999(0xc6)],0x0)?!!global['capabilities'][0x0][_0x388999(0xda)]||!!global[_0x388999(0x13f)][0x0][_0x36b9e7[_0x388999(0xe1)]]:![],_0x51a89e={};_0x51a89e[_0x388999(0xda)]=_0x3b3944,await _0x36b9e7[_0x388999(0x111)](percyAutoCapture,global['__drivers'][0x0],_0x36b9e7[_0x388999(0xe9)],_0x51a89e);}}catch(_0x3c7a46){logger[_0x388999(0xf8)](_0x388999(0xed)+_0x3c7a46);}!global[_0x388999(0x159)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x388999(0xfa)],async()=>{const _0x21dfcd=_0x388999;await global[_0x21dfcd(0x12f)][0x0][_0x21dfcd(0xc7)](_0x21dfcd(0x15f)+JSON[_0x21dfcd(0x118)](this['currentTest']['titlePath']()[_0x21dfcd(0x125)](_0x485f8d[_0x21dfcd(0x13a)]))+'}}');})(),global['__drivers'][0x0][_0x388999(0x148)]=!![]),await PerformanceTester[_0x388999(0x15d)](PerformanceAutEvents[_0x388999(0x16e)],async()=>{const _0x44d009=_0x388999,_0x51eac3=_0x485f8d[_0x44d009(0x15e)](this[_0x44d009(0x142)][_0x44d009(0x10a)],_0x485f8d[_0x44d009(0x109)]);_0x51eac3?(global[_0x44d009(0x12c)]=!![],global[_0x44d009(0x120)][_0x44d009(0x108)](this[_0x44d009(0x142)][_0x44d009(0x133)][_0x44d009(0xc5)]),await _0x485f8d['MHnKX'](_0x1638fd,JSON[_0x44d009(0x118)](_0x485f8d[_0x44d009(0x13c)](_0x485f8d[_0x44d009(0x11b)],this[_0x44d009(0x142)][_0x44d009(0x133)][_0x44d009(0xc5)])),_0x485f8d[_0x44d009(0x11f)])):await _0x485f8d['MHnKX'](_0x1638fd,JSON[_0x44d009(0x118)](_0x485f8d[_0x44d009(0x149)]),_0x485f8d[_0x44d009(0x13e)]);})();}catch(_0x1ea0d2){logger[_0x388999(0xf8)](_0x388999(0x155)+_0x1ea0d2);}try{if(this['currentTest'][_0x388999(0xc2)]&&globals[_0x388999(0xd2)](_0x36b9e7[_0x388999(0x10d)])&&globals[_0x388999(0xd2)](_0x36b9e7[_0x388999(0xdb)])){logger[_0x388999(0x146)](_0x36b9e7[_0x388999(0x14c)]);const _0x108cb9={};_0x108cb9[_0x388999(0x123)]=this['currentTest'][_0x388999(0x13b)],_0x108cb9[_0x388999(0xfe)]=process[_0x388999(0xdc)][testHubConstants['ENV_VAR'][_0x388999(0xdd)]],_0x108cb9['thJwtToken']=process[_0x388999(0xdc)][testHubConstants[_0x388999(0x135)]['BROWSERSTACK_TESTHUB_JWT']];const _0x5d16d3=_0x108cb9;logger[_0x388999(0xf8)](_0x388999(0x10b)+JSON['stringify'](_0x5d16d3)),logger[_0x388999(0xf8)](_0x36b9e7[_0x388999(0x11a)]);const _0x1c3410={};_0x1c3410[_0x388999(0xd9)]=_0x36b9e7[_0x388999(0xd6)],await PerformanceTester[_0x388999(0x15d)](PerformanceA11yEvents[_0x388999(0x102)],async()=>{const _0x4156dd=_0x388999;logger[_0x4156dd(0xf8)](util[_0x4156dd(0xf7)](await global[_0x4156dd(0x12f)][0x0][_0x4156dd(0xf9)](scripts[_0x4156dd(0x152)],{'method':global[_0x4156dd(0x124)]})));},_0x1c3410)(),await PerformanceTester[_0x388999(0x15d)](PerformanceA11yEvents[_0x388999(0x16d)],async()=>{const _0x48cb18=_0x388999;await global[_0x48cb18(0x12f)][0x0][_0x48cb18(0xf9)](scripts[_0x48cb18(0xd4)],_0x5d16d3);})(),logger['info'](_0x36b9e7[_0x388999(0x172)]);}}catch(_0x5295be){logger[_0x388999(0x130)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x388999(0x142)]['titlePath']()+_0x388999(0x10f),_0x5295be);}try{try{if(_0x36b9e7[_0x388999(0x10e)](shouldProcessEventForTesthub)){global[_0x388999(0x12f)][0x0]&&await _0x36b9e7[_0x388999(0xcd)](sendPlatformDetails,global[_0x388999(0x12f)][0x0],this[_0x388999(0x142)]?this[_0x388999(0x142)][_0x388999(0x13b)]:null);if(_0x36b9e7[_0x388999(0xf3)](isBrowserstackInfra)){PerformanceTester[_0x388999(0x134)](PerformanceO11yEvents[_0x388999(0x167)]);const _0x2af8f3=_0x388999(0x16a)+Date[_0x388999(0x140)]();await _0x36b9e7[_0x388999(0x117)](_0x1638fd,JSON[_0x388999(0x118)](_0x2af8f3),_0x36b9e7[_0x388999(0x129)]),PerformanceTester[_0x388999(0xc8)](PerformanceO11yEvents[_0x388999(0x167)]);}}}catch(_0x49322e){logger[_0x388999(0xf8)](_0x388999(0xd1)+_0x49322e),PerformanceTester[_0x388999(0xc8)](PerformanceO11yEvents[_0x388999(0x167)],![],_0x49322e);}_0x36b9e7[_0x388999(0x162)](global[_0x388999(0x12f)][0x0][_0x388999(0x16c)],0x0)&&await global['driverCleanup']();}catch(_0x46e565){logger[_0x388999(0xf8)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x46e565);}_0x36b9e7[_0x388999(0xd5)](_0x2d5f69);})[_0x5b4e98(0x151)](()=>{const _0x32a547=_0x5b4e98;_0x2ec41e[_0x32a547(0x165)](_0x59ab61);});},{'platform':_0x36b9e7[_0x2ed8ee(0x16b)](nestedKeyValue,global['__platformCaps'],[_0x36b9e7['SBKaL']]),'hookType':_0x36b9e7['tNdAz']})();},'afterAll'(_0x533f3a){const _0x24e613=a35_0x183446,_0x5d84b9={'kzQRy':function(_0x5f4d46){return _0x5f4d46();},'ysVeM':function(_0x24d1ed,_0x273693,_0x55d821){return _0x24d1ed(_0x273693,_0x55d821);},'zQkVK':_0x24e613(0x12d),'vfCiC':_0x24e613(0x128)},_0x5e8f13='browserstack internal helper hook';this[_0x24e613(0xe3)](0xfde8),PerformanceTester[_0x24e613(0x15d)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x3154dd=_0x24e613;new Promise(async _0x5ef462=>{const _0x1395a5=a35_0x1eeb;await global[_0x1395a5(0x126)](),_0x5d84b9['kzQRy'](_0x5ef462);})[_0x3154dd(0x151)]()['finally'](()=>{const _0x33984f=_0x3154dd;_0x5d84b9[_0x33984f(0x14e)](_0x533f3a);});},{'platform':_0x5d84b9[_0x24e613(0x143)](nestedKeyValue,global[_0x24e613(0x100)],[_0x5d84b9['zQkVK']]),'hookType':_0x5d84b9[_0x24e613(0xfb)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a34_0x2454cf=a34_0x3102;(function(_0x8cad11,_0x447a47){const _0xc9211a=a34_0x3102,_0x570b4c=_0x8cad11();while(!![]){try{const _0x3b96a4=parseInt(_0xc9211a(0x149))/0x1+parseInt(_0xc9211a(0x12c))/0x2*(-parseInt(_0xc9211a(0x111))/0x3)+-parseInt(_0xc9211a(0x107))/0x4*(-parseInt(_0xc9211a(0x146))/0x5)+-parseInt(_0xc9211a(0x141))/0x6+-parseInt(_0xc9211a(0x121))/0x7*(parseInt(_0xc9211a(0x130))/0x8)+parseInt(_0xc9211a(0x10f))/0x9*(-parseInt(_0xc9211a(0x12f))/0xa)+parseInt(_0xc9211a(0x10c))/0xb;if(_0x3b96a4===_0x447a47)break;else _0x570b4c['push'](_0x570b4c['shift']());}catch(_0x1354e1){_0x570b4c['push'](_0x570b4c['shift']());}}}(a34_0x3fee,0xc3308));const fs=require('fs'),path=require(a34_0x2454cf(0x150)),{spawn}=require('child_process'),logger=require(a34_0x2454cf(0x143))[a34_0x2454cf(0x126)],{default:BrowserStackSetup}=require(a34_0x2454cf(0x10a)),helper=require('../../helpers/helper'),constants=require(a34_0x2454cf(0x115)),getUserNightwatchConfigs=(_0x2945d7,_0x38bc52)=>{const _0x5981f8=a34_0x2454cf,_0x1b0da4={'tdqYz':_0x5981f8(0x114),'MERtZ':'nightwatch.json','dVgWT':function(_0x2ff4f5,_0x1af0f8){return _0x2ff4f5(_0x1af0f8);},'PbEud':_0x5981f8(0x10d)};let _0x93cec0=null,_0x1101ee={};const _0x9177ed=_0x38bc52[_0x5981f8(0x11c)](_0xaaafa7=>_0xaaafa7===_0x5981f8(0x131));if(!helper[_0x5981f8(0x11b)](_0x2945d7[_0x5981f8(0x122)])&&fs[_0x5981f8(0x134)](path[_0x5981f8(0x13d)](process[_0x5981f8(0x12d)](),_0x2945d7[_0x5981f8(0x122)])))_0x93cec0=path[_0x5981f8(0x13d)](process[_0x5981f8(0x12d)](),_0x2945d7['config']),_0x38bc52[_0x5981f8(0x136)](_0x9177ed,0x2);else{if(fs['existsSync'](path[_0x5981f8(0x13d)](process[_0x5981f8(0x12d)](),_0x1b0da4[_0x5981f8(0x14a)])))_0x93cec0=path[_0x5981f8(0x13d)](process[_0x5981f8(0x12d)](),_0x1b0da4[_0x5981f8(0x14a)]);else fs[_0x5981f8(0x134)](path[_0x5981f8(0x13d)](process[_0x5981f8(0x12d)](),_0x1b0da4[_0x5981f8(0x14c)]))&&(_0x93cec0=path[_0x5981f8(0x13d)](process[_0x5981f8(0x12d)](),_0x1b0da4['MERtZ']));}return _0x93cec0?(logger[_0x5981f8(0x144)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x93cec0),_0x1101ee=_0x1b0da4[_0x5981f8(0x11e)](require,_0x93cec0)):logger[_0x5981f8(0x144)](_0x1b0da4[_0x5981f8(0x139)]),_0x1101ee;},removeExistingEnvs=_0x569b2e=>{const _0x2f9609=a34_0x2454cf,_0x25e331={};_0x25e331[_0x2f9609(0x14b)]=function(_0x327262,_0x58803d){return _0x327262>_0x58803d;};const _0x5e8338=_0x25e331;let _0x24cb15=_0x569b2e[_0x2f9609(0x11c)](_0x2a7d2f=>_0x2a7d2f==='--env');_0x5e8338[_0x2f9609(0x14b)](_0x24cb15,-0x1)&&_0x569b2e[_0x2f9609(0x136)](_0x24cb15,0x2),_0x24cb15=_0x569b2e[_0x2f9609(0x11c)](_0x46b97a=>_0x46b97a==='-e'),_0x5e8338['svtfH'](_0x24cb15,-0x1)&&_0x569b2e[_0x2f9609(0x136)](_0x24cb15,0x2);};function run(_0x3465c9,_0xc220e9,_0x13539f){const _0x2b297c=a34_0x2454cf,_0x4be322={'FkSmk':_0x2b297c(0x138),'mzpjj':function(_0x3ea863,_0x345d97){return _0x3ea863+_0x345d97;},'EWhNp':_0x2b297c(0x142),'DefAM':function(_0x49130a,_0x478dd9,_0x41a183){return _0x49130a(_0x478dd9,_0x41a183);},'IcPzs':_0x2b297c(0x12a),'fNmua':_0x2b297c(0x10b),'UneVK':function(_0x2d562d,_0x443733){return _0x2d562d===_0x443733;},'XZcYz':_0x2b297c(0x132),'iAigE':function(_0x1dbb1a,_0x4bcb0b){return _0x1dbb1a(_0x4bcb0b);},'ckpzR':function(_0x39dc15,_0x370fc8,_0x422fdb,_0x5be1b7){return _0x39dc15(_0x370fc8,_0x422fdb,_0x5be1b7);},'msoqv':'nightwatch.cmd','FkqVR':_0x2b297c(0x131),'LQmfG':'--env','ixKYH':_0x2b297c(0x140),'zIlQK':'close'};if(!_0x13539f[_0x2b297c(0x122)])return;const _0x5515c8=_0x4be322[_0x2b297c(0x110)](getUserNightwatchConfigs,_0x3465c9,_0xc220e9),_0x207b44={};_0x207b44[_0x2b297c(0x12b)]=![];const _0x27b26c={};_0x27b26c['host']=_0x4be322[_0x2b297c(0x147)],_0x27b26c[_0x2b297c(0x148)]=0x1bb;const _0x55fd3b={};_0x55fd3b['webdriver']=_0x207b44,_0x55fd3b[_0x2b297c(0x13b)]=_0x27b26c;const _0x515cbc=_0x55fd3b;logger[_0x2b297c(0x144)](_0x4be322[_0x2b297c(0x129)]);const _0x1c7b25={..._0x5515c8},_0xab6e16=_0x1c7b25,_0x5ba88b=helper[_0x2b297c(0x113)](_0x13539f[_0x2b297c(0x122)]),_0x6dfd8c=[];_0x13539f[_0x2b297c(0x122)][_0x2b297c(0x112)][_0x2b297c(0x118)]((_0x42cb42,_0x48aad2)=>{const _0x586e7c=_0x2b297c;_0x5ba88b?_0x6dfd8c[_0x586e7c(0x11a)](helper[_0x586e7c(0x13f)](_0x13539f[_0x586e7c(0x122)],_0x4be322[_0x586e7c(0x14f)],_0x48aad2)):_0x6dfd8c[_0x586e7c(0x11a)](helper[_0x586e7c(0x128)](_0x13539f['config'],_0x4be322[_0x586e7c(0x14f)],_0x48aad2));});const _0x5df6d6={},_0x292bb2=[];_0x3465c9[_0x2b297c(0x135)]=_0x3465c9['env']||_0x3465c9['e'];const _0x1ac44d=_0x3465c9[_0x2b297c(0x135)]?_0x3465c9['env'][_0x2b297c(0x109)]()['split'](',')[_0x2b297c(0x116)](_0x4c0bc4=>_0x4c0bc4[_0x2b297c(0x109)]())['filter'](_0x3f1b18=>_0x3f1b18!==''):[''];_0x4be322[_0x2b297c(0x125)](_0x1ac44d[_0x2b297c(0x14d)],0x0)&&_0x1ac44d['push']('');_0x1ac44d[_0x2b297c(0x118)](_0x1c3803=>{const _0x257915=_0x2b297c,_0xf4e04b={'kucQp':function(_0x3c7609,_0x27680f){const _0x5972fc=a34_0x3102;return _0x4be322[_0x5972fc(0x10e)](_0x3c7609,_0x27680f);},'ncTrs':_0x4be322[_0x257915(0x127)]};_0x6dfd8c[_0x257915(0x118)](_0x4da307=>{const _0x27a797=_0x257915;let _0x3f5b24=_0xf4e04b[_0x27a797(0x124)](helper[_0x27a797(0x12e)](_0x4da307,'_'),'_'+Date[_0x27a797(0x123)]());_0x1c3803&&(_0x3f5b24+='_'+_0x1c3803);if(_0x1c3803&&(!_0x5515c8[_0xf4e04b[_0x27a797(0x117)]]||!_0x5515c8[_0xf4e04b[_0x27a797(0x117)]][_0x1c3803]))return;const _0x1aee7a={..._0x515cbc};_0x1aee7a['desiredCapabilities']=_0x4da307;const _0x378eb2=_0x1aee7a;_0x5df6d6[_0x3f5b24]=_0x1c3803?helper[_0x27a797(0x13e)](_0x5515c8[_0xf4e04b[_0x27a797(0x117)]][_0x1c3803],_0x378eb2):_0x378eb2,_0x292bb2['push'](_0x3f5b24);});});!_0xab6e16['test_settings']&&(_0xab6e16['test_settings']={});_0xab6e16[_0x2b297c(0x142)]={..._0xab6e16[_0x2b297c(0x142)],..._0x5df6d6};const _0x26ea3e=path[_0x2b297c(0x13d)](__dirname,_0x4be322['XZcYz']);fs[_0x2b297c(0x137)](_0x26ea3e,JSON['stringify'](_0xab6e16)),_0x4be322[_0x2b297c(0x133)](removeExistingEnvs,_0xc220e9);const _0x8c5dbe=_0x4be322[_0x2b297c(0x13c)](spawn,/^win/[_0x2b297c(0x120)](process['platform'])?_0x4be322[_0x2b297c(0x108)]:_0x4be322['FkSmk'],[_0x4be322[_0x2b297c(0x11f)],_0x26ea3e,..._0xc220e9[_0x2b297c(0x13a)](0x1),_0x4be322[_0x2b297c(0x14e)],_0x292bb2[_0x2b297c(0x13d)](',')],{'stdio':_0x4be322['ixKYH']});_0x8c5dbe['on'](_0x4be322['zIlQK'],async _0x1e45eb=>{const _0x454eb9=_0x2b297c;logger[_0x454eb9(0x119)](_0x454eb9(0x145)+_0x1e45eb),logger[_0x454eb9(0x144)]('Deleting\x20'+_0x26ea3e),fs['unlinkSync'](_0x26ea3e);});}function a34_0x3102(_0xa648d6,_0x4e1a4d){const _0x3fee15=a34_0x3fee();return a34_0x3102=function(_0x310265,_0x15176c){_0x310265=_0x310265-0x107;let _0x4d47cb=_0x3fee15[_0x310265];return _0x4d47cb;},a34_0x3102(_0xa648d6,_0x4e1a4d);}module[a34_0x2454cf(0x11d)]=run;function a34_0x3fee(){const _0x41bf63=['config','now','kucQp','UneVK','winstonLogger','EWhNp','modifyBrowserStackCaps','fNmua','hub.browserstack.com','start_process','14XuZeAJ','cwd','getPlatformName','3474820SNBVpB','149696edqKtF','--config','nightwatch-browserstack.json','iAigE','existsSync','env','splice','writeFileSync','nightwatch','PbEud','slice','selenium','ckpzR','join','mergeDeep','modifyBrowserStackW3CCaps','inherit','3214872WYFbLn','test_settings','../../helpers/logger','info','child\x20process\x20exited\x20with\x20code\x20','5zTaZVr','IcPzs','port','972206IgKCHb','tdqYz','svtfH','MERtZ','length','LQmfG','FkSmk','path','5685452eJmCSy','msoqv','trim','../../helpers/BrowserStackSetup','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','15362996gREaSW','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','mzpjj','36SEktdf','DefAM','263949OcRwpB','platforms','useW3C','nightwatch.conf.js','../utils/constants','map','ncTrs','forEach','debug','push','isUndefined','findIndex','exports','dVgWT','FkqVR','test','168ojKzfo'];a34_0x3fee=function(){return _0x41bf63;};return a34_0x3fee();}
2
+ 'use strict';function a36_0xa6e3(_0x277d10,_0x576d19){const _0x87b8fe=a36_0x87b8();return a36_0xa6e3=function(_0xa6e38a,_0x210574){_0xa6e38a=_0xa6e38a-0x1a8;let _0x51aaaa=_0x87b8fe[_0xa6e38a];return _0x51aaaa;},a36_0xa6e3(_0x277d10,_0x576d19);}const a36_0x33b4cf=a36_0xa6e3;(function(_0x45a643,_0x31b790){const _0x5b8cc7=a36_0xa6e3,_0x1a1a6d=_0x45a643();while(!![]){try{const _0x14356a=-parseInt(_0x5b8cc7(0x1b5))/0x1*(-parseInt(_0x5b8cc7(0x1f3))/0x2)+-parseInt(_0x5b8cc7(0x1e4))/0x3+parseInt(_0x5b8cc7(0x1ce))/0x4+parseInt(_0x5b8cc7(0x1ec))/0x5*(-parseInt(_0x5b8cc7(0x1da))/0x6)+-parseInt(_0x5b8cc7(0x1f5))/0x7*(-parseInt(_0x5b8cc7(0x1c2))/0x8)+parseInt(_0x5b8cc7(0x1bd))/0x9*(parseInt(_0x5b8cc7(0x1ee))/0xa)+-parseInt(_0x5b8cc7(0x1d8))/0xb;if(_0x14356a===_0x31b790)break;else _0x1a1a6d['push'](_0x1a1a6d['shift']());}catch(_0x581bcc){_0x1a1a6d['push'](_0x1a1a6d['shift']());}}}(a36_0x87b8,0x5a0de));function a36_0x87b8(){const _0x46be8a=['ipmDv','SEsHG','nightwatch.conf.js','nightwatch.json','hub.browserstack.com','platforms','isUndefined','desiredCapabilities','host','winstonLogger','Swwpx','slice','329591bYIWMS','--env','test','exports','test_settings','config','push','Deleting\x20','72HxFILx','mergeDeep','IYwkV','nightwatch','HtVyP','9944BWkIbT','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','inherit','nightwatch.cmd','XHNfB','--config','../../helpers/BrowserStackSetup','existsSync','path','stringify','forEach','join','744784UvNTho','selenium','env','QctND','now','irZSH','debug','map','UDXjC','port','2729925sUSFra','lZVSU','333012wXYFHu','cwd','platform','HbhUg','info','filter','trim','peMmx','start_process','Mxvvk','469131mycsbB','getPlatformName','splice','unlinkSync','dpWjy','nightwatch-browserstack.json','length','close','40wzOZbq','IrNwB','142130nMiNWW','split','FtufO','child\x20process\x20exited\x20with\x20code\x20','findIndex','2ugtiYX','VwlnH','3311QdEnmq','../utils/constants'];a36_0x87b8=function(){return _0x46be8a;};return a36_0x87b8();}const fs=require('fs'),path=require(a36_0x33b4cf(0x1ca)),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a36_0x33b4cf(0x1b2)],{default:BrowserStackSetup}=require(a36_0x33b4cf(0x1c8)),helper=require('../../helpers/helper'),constants=require(a36_0x33b4cf(0x1a8)),getUserNightwatchConfigs=(_0x97ac7f,_0x44b461)=>{const _0x4a7717=a36_0x33b4cf,_0x3245ea={'peMmx':_0x4a7717(0x1ab),'IrNwB':_0x4a7717(0x1ac),'SEsHG':function(_0x5e26fa,_0x8672e3){return _0x5e26fa(_0x8672e3);},'VwlnH':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x5b5ed8=null,_0x36b272={};const _0xe4fcd5=_0x44b461[_0x4a7717(0x1f2)](_0x284bea=>_0x284bea==='--config');if(!helper[_0x4a7717(0x1af)](_0x97ac7f[_0x4a7717(0x1ba)])&&fs[_0x4a7717(0x1c9)](path['join'](process[_0x4a7717(0x1db)](),_0x97ac7f['config'])))_0x5b5ed8=path[_0x4a7717(0x1cd)](process['cwd'](),_0x97ac7f[_0x4a7717(0x1ba)]),_0x44b461[_0x4a7717(0x1e6)](_0xe4fcd5,0x2);else{if(fs[_0x4a7717(0x1c9)](path['join'](process[_0x4a7717(0x1db)](),_0x3245ea[_0x4a7717(0x1e1)])))_0x5b5ed8=path['join'](process[_0x4a7717(0x1db)](),_0x3245ea[_0x4a7717(0x1e1)]);else fs[_0x4a7717(0x1c9)](path['join'](process[_0x4a7717(0x1db)](),_0x3245ea['IrNwB']))&&(_0x5b5ed8=path[_0x4a7717(0x1cd)](process[_0x4a7717(0x1db)](),_0x3245ea[_0x4a7717(0x1ed)]));}return _0x5b5ed8?(logger[_0x4a7717(0x1de)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x5b5ed8),_0x36b272=_0x3245ea[_0x4a7717(0x1aa)](require,_0x5b5ed8)):logger[_0x4a7717(0x1de)](_0x3245ea[_0x4a7717(0x1f4)]),_0x36b272;},removeExistingEnvs=_0x43097f=>{const _0x521583=a36_0x33b4cf,_0x18b20d={};_0x18b20d[_0x521583(0x1d6)]=function(_0x562afd,_0x41bd57){return _0x562afd>_0x41bd57;};const _0x435465=_0x18b20d;let _0x46fa97=_0x43097f[_0x521583(0x1f2)](_0x1c6fae=>_0x1c6fae===_0x521583(0x1b6));_0x435465[_0x521583(0x1d6)](_0x46fa97,-0x1)&&_0x43097f[_0x521583(0x1e6)](_0x46fa97,0x2),_0x46fa97=_0x43097f[_0x521583(0x1f2)](_0x349996=>_0x349996==='-e'),_0x435465[_0x521583(0x1d6)](_0x46fa97,-0x1)&&_0x43097f['splice'](_0x46fa97,0x2);};function run(_0x39109f,_0x5e5fb3,_0x20eeb7){const _0x54157e=a36_0x33b4cf,_0x5a9d50={'IYwkV':_0x54157e(0x1c0),'FtufO':function(_0x3d28f5,_0x279039){return _0x3d28f5+_0x279039;},'QctND':_0x54157e(0x1b9),'YURzc':function(_0xc78e11,_0x35d03b,_0x5cf9d3){return _0xc78e11(_0x35d03b,_0x5cf9d3);},'XHNfB':_0x54157e(0x1ad),'ipmDv':_0x54157e(0x1c3),'lZVSU':function(_0x14326f,_0x251f22){return _0x14326f===_0x251f22;},'Swwpx':_0x54157e(0x1e9),'RUmNZ':function(_0x280a2f,_0x2163a7){return _0x280a2f(_0x2163a7);},'irZSH':function(_0x39f827,_0x3e7437,_0x4cbf31,_0x13fbcd){return _0x39f827(_0x3e7437,_0x4cbf31,_0x13fbcd);},'VetEb':_0x54157e(0x1c5),'Mxvvk':_0x54157e(0x1c7),'dpWjy':_0x54157e(0x1b6),'HbhUg':_0x54157e(0x1c4),'HtVyP':_0x54157e(0x1eb)};if(!_0x20eeb7[_0x54157e(0x1ba)])return;const _0x55cff4=_0x5a9d50['YURzc'](getUserNightwatchConfigs,_0x39109f,_0x5e5fb3),_0x506913={};_0x506913[_0x54157e(0x1e2)]=![];const _0x2acbe8={};_0x2acbe8[_0x54157e(0x1b1)]=_0x5a9d50[_0x54157e(0x1c6)],_0x2acbe8[_0x54157e(0x1d7)]=0x1bb;const _0x54c36d={};_0x54c36d['webdriver']=_0x506913,_0x54c36d[_0x54157e(0x1cf)]=_0x2acbe8;const _0x43a91f=_0x54c36d;logger['info'](_0x5a9d50[_0x54157e(0x1a9)]);const _0x5a74ad={..._0x55cff4},_0x416555=_0x5a74ad,_0x5779c3=helper['useW3C'](_0x20eeb7[_0x54157e(0x1ba)]),_0x2cec64=[];_0x20eeb7['config'][_0x54157e(0x1ae)][_0x54157e(0x1cc)]((_0x3b3fe4,_0x5d57c7)=>{const _0x53d7bf=_0x54157e;_0x5779c3?_0x2cec64['push'](helper['modifyBrowserStackW3CCaps'](_0x20eeb7['config'],_0x5a9d50['IYwkV'],_0x5d57c7)):_0x2cec64[_0x53d7bf(0x1bb)](helper['modifyBrowserStackCaps'](_0x20eeb7[_0x53d7bf(0x1ba)],_0x5a9d50[_0x53d7bf(0x1bf)],_0x5d57c7));});const _0x1dc190={},_0x3e50e2=[];_0x39109f[_0x54157e(0x1d0)]=_0x39109f[_0x54157e(0x1d0)]||_0x39109f['e'];const _0x4ac5de=_0x39109f[_0x54157e(0x1d0)]?_0x39109f[_0x54157e(0x1d0)][_0x54157e(0x1e0)]()[_0x54157e(0x1ef)](',')[_0x54157e(0x1d5)](_0x4acbad=>_0x4acbad[_0x54157e(0x1e0)]())[_0x54157e(0x1df)](_0x2cb135=>_0x2cb135!==''):[''];_0x5a9d50[_0x54157e(0x1d9)](_0x4ac5de[_0x54157e(0x1ea)],0x0)&&_0x4ac5de['push']('');_0x4ac5de[_0x54157e(0x1cc)](_0x48aeba=>{const _0x27965b=_0x54157e;_0x2cec64[_0x27965b(0x1cc)](_0x853ba0=>{const _0x78eb57=_0x27965b;let _0x4f71a7=_0x5a9d50[_0x78eb57(0x1f0)](helper[_0x78eb57(0x1e5)](_0x853ba0,'_'),'_'+Date[_0x78eb57(0x1d2)]());_0x48aeba&&(_0x4f71a7+='_'+_0x48aeba);if(_0x48aeba&&(!_0x55cff4[_0x5a9d50['QctND']]||!_0x55cff4[_0x5a9d50[_0x78eb57(0x1d1)]][_0x48aeba]))return;const _0x2e1fde={..._0x43a91f};_0x2e1fde[_0x78eb57(0x1b0)]=_0x853ba0;const _0x2f436b=_0x2e1fde;_0x1dc190[_0x4f71a7]=_0x48aeba?helper[_0x78eb57(0x1be)](_0x55cff4[_0x5a9d50[_0x78eb57(0x1d1)]][_0x48aeba],_0x2f436b):_0x2f436b,_0x3e50e2[_0x78eb57(0x1bb)](_0x4f71a7);});});!_0x416555['test_settings']&&(_0x416555[_0x54157e(0x1b9)]={});_0x416555[_0x54157e(0x1b9)]={..._0x416555[_0x54157e(0x1b9)],..._0x1dc190};const _0x27fde5=path[_0x54157e(0x1cd)](__dirname,_0x5a9d50[_0x54157e(0x1b3)]);fs['writeFileSync'](_0x27fde5,JSON[_0x54157e(0x1cb)](_0x416555)),_0x5a9d50['RUmNZ'](removeExistingEnvs,_0x5e5fb3);const _0x5760c2=_0x5a9d50[_0x54157e(0x1d3)](spawn,/^win/[_0x54157e(0x1b7)](process[_0x54157e(0x1dc)])?_0x5a9d50['VetEb']:_0x5a9d50[_0x54157e(0x1bf)],[_0x5a9d50[_0x54157e(0x1e3)],_0x27fde5,..._0x5e5fb3[_0x54157e(0x1b4)](0x1),_0x5a9d50[_0x54157e(0x1e8)],_0x3e50e2[_0x54157e(0x1cd)](',')],{'stdio':_0x5a9d50[_0x54157e(0x1dd)]});_0x5760c2['on'](_0x5a9d50[_0x54157e(0x1c1)],async _0x4e6a93=>{const _0x295181=_0x54157e;logger[_0x295181(0x1d4)](_0x295181(0x1f1)+_0x4e6a93),logger[_0x295181(0x1de)](_0x295181(0x1bc)+_0x27fde5),fs[_0x295181(0x1e7)](_0x27fde5);});}module[a36_0x33b4cf(0x1b8)]=run;
@@ -1 +1 @@
1
- function a35_0x191a(_0x5fc2d4,_0x25ca0b){const _0x3cd61f=a35_0x3cd6();return a35_0x191a=function(_0x191a2c,_0x5d181c){_0x191a2c=_0x191a2c-0x16e;let _0x8b5e49=_0x3cd61f[_0x191a2c];return _0x8b5e49;},a35_0x191a(_0x5fc2d4,_0x25ca0b);}function a35_0x3cd6(){const _0x1eeeb6=['slxoO','warn','ZjiTo','dACZO','accessibilityOptions.authToken','format','UMwKQ','minum','bstackSdkArgs','WpjSi','platformValidation','use','wdWsd','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','BS_A11Y_JWT','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','aEbbb','util','stringify','GQjyD','Riytf','browserName','measureWrapper','browserstack.accessibility','IhPBd','dJzJU','browser_version','replace','debug','PERFORM_SCAN','BfWQo','workerInfo','includeIssueType','Playwright','16mWOcDr','KgmYq','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','Kjyri','818741dmkTDw','oueZe','playwright-chromium','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','name','pidUK','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','335895VIGtqP','1238096VcyudA','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','153996awEfpA','deviceName','nBieP','executeScript','gJszm','browserStackEvaluate','uaxpf','TJeFS','env','nVHDK','oixNf','WyETZ','BlSTZ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','HnboU','Yjbll','bestPractice','browser','(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','wcagVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','latest','browserStackExecuteDriver','processAccessibilityCaps','../../helpers/accessibility-automation/helper','5730606TEdLfc','chrome','accessibilityOptions.wcagVersion','BLamt','evaluate','FWcoU','scannerProcessingTimeout','QsWlE','currentTest','executeAsyncScript','eVZve','getAccessibilityResults','error','../../helpers/logger','xCBxd','accessibilityOptions.scannerProcessingTimeout','MIbQn','accessibilityOptions','accessibilityOptions.includeIssueType.needsReview','accessibilityPlatform','IjtSk','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','../../helpers/performance/performance-tester','../../helpers/performance/constants','mZBsr','getAccessibilityResultsSummary','OwTIM','YNnre','winstonLogger','project','No\x20accessibility\x20results\x20were\x20found.','testInfo','constructor','25BNDaFW','\x20page:\x20','connectOptions','997314OigyJi','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','wsEndpoint','184360LCAtDa','bmOmk'];a35_0x3cd6=function(){return _0x1eeeb6;};return a35_0x3cd6();}const a35_0x29a41a=a35_0x191a;(function(_0x5b1f34,_0x12f6e7){const _0x53fc56=a35_0x191a,_0x1d3185=_0x5b1f34();while(!![]){try{const _0x10bf0f=-parseInt(_0x53fc56(0x1bb))/0x1+-parseInt(_0x53fc56(0x18c))/0x2+-parseInt(_0x53fc56(0x189))/0x3+-parseInt(_0x53fc56(0x1bc))/0x4+parseInt(_0x53fc56(0x186))/0x5*(-parseInt(_0x53fc56(0x1be))/0x6)+parseInt(_0x53fc56(0x1b4))/0x7+parseInt(_0x53fc56(0x1b0))/0x8*(parseInt(_0x53fc56(0x1d8))/0x9);if(_0x10bf0f===_0x12f6e7)break;else _0x1d3185['push'](_0x1d3185['shift']());}catch(_0x3876d2){_0x1d3185['push'](_0x1d3185['shift']());}}}(a35_0x3cd6,0x2ee40));const util=require(a35_0x29a41a(0x19f)),logger=require(a35_0x29a41a(0x172))[a35_0x29a41a(0x181)],{isAccessibilityAutomationSession}=require(a35_0x29a41a(0x1d7)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a35_0x29a41a(0x17b)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a35_0x29a41a(0x17c));exports[a35_0x29a41a(0x1c3)]=async(_0x454b37,_0x192fee,_0x18f2a0={})=>{const _0x178f73=a35_0x29a41a,_0x3ea55b={};_0x3ea55b[_0x178f73(0x19e)]=_0x178f73(0x196);const _0x2c9d88=_0x3ea55b;return await _0x454b37[_0x178f73(0x1dc)](_0x178f73(0x1d1)+_0x192fee[_0x178f73(0x1a9)](/arguments/g,_0x2c9d88[_0x178f73(0x19e)])+_0x178f73(0x18a)+JSON[_0x178f73(0x1a0)](_0x18f2a0)+')');},exports[a35_0x29a41a(0x1d5)]=async(_0x1d647d,_0x1bc962,_0x241aed={})=>{const _0x8cff67=a35_0x29a41a,_0x5b90ea={};_0x5b90ea['OuHEW']=function(_0x5ee647,_0xc030ce){return _0x5ee647===_0xc030ce;},_0x5b90ea[_0x8cff67(0x1c2)]='WebDriver',_0x5b90ea[_0x8cff67(0x197)]=function(_0x2144e0,_0x37d377){return _0x2144e0===_0x37d377;},_0x5b90ea['LmcfF']=_0x8cff67(0x1af),_0x5b90ea[_0x8cff67(0x190)]=_0x8cff67(0x196);const _0x4552d6=_0x5b90ea;if(_0x4552d6['OuHEW'](_0x1d647d[_0x8cff67(0x185)][_0x8cff67(0x1b8)],_0x4552d6[_0x8cff67(0x1c2)]))return await _0x1d647d[_0x8cff67(0x16e)](_0x1bc962,_0x241aed);else{if(_0x4552d6['WpjSi'](_0x1d647d[_0x8cff67(0x185)][_0x8cff67(0x1b8)],_0x4552d6['LmcfF']))return await _0x1d647d[_0x8cff67(0x1c1)]('(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'+_0x1bc962['replace'](/arguments/g,_0x4552d6['ZjiTo'])+_0x8cff67(0x17a)+JSON[_0x8cff67(0x1a0)](_0x241aed)+')');}},exports['setAccessibilityCapabilities']=async _0x38aa40=>{const _0x2cab9e=a35_0x29a41a,_0x2b6d41={};_0x2b6d41[_0x2cab9e(0x191)]=_0x2cab9e(0x1da),_0x2b6d41['cZqiP']=_0x2cab9e(0x174),_0x2b6d41[_0x2cab9e(0x18e)]='accessibilityOptions.includeIssueType.bestPractice',_0x2b6d41[_0x2cab9e(0x1b1)]=_0x2cab9e(0x177),_0x2b6d41[_0x2cab9e(0x1a7)]=_0x2cab9e(0x192),_0x2b6d41[_0x2cab9e(0x17f)]='accessibilityOptions.scannerVersion';const _0x481f15=_0x2b6d41;_0x38aa40[_0x2cab9e(0x176)]&&(_0x38aa40[_0x2cab9e(0x176)][_0x2cab9e(0x1d2)]&&(_0x38aa40[_0x481f15[_0x2cab9e(0x191)]]=_0x38aa40[_0x2cab9e(0x176)][_0x2cab9e(0x1d2)]),_0x38aa40[_0x2cab9e(0x176)][_0x2cab9e(0x1de)]&&(_0x38aa40[_0x481f15['cZqiP']]=_0x38aa40[_0x2cab9e(0x176)][_0x2cab9e(0x1de)]),_0x38aa40[_0x2cab9e(0x176)][_0x2cab9e(0x1ae)]&&(_0x38aa40[_0x481f15[_0x2cab9e(0x18e)]]=_0x38aa40[_0x2cab9e(0x176)]['includeIssueType'][_0x2cab9e(0x1cf)],_0x38aa40[_0x481f15['KgmYq']]=_0x38aa40['accessibilityOptions']['includeIssueType']['needsReview']));const _0xa708f5=JSON['parse'](process[_0x2cab9e(0x1c6)][_0x2cab9e(0x19d)])['scannerVersion'];_0x38aa40[_0x481f15[_0x2cab9e(0x1a7)]]=process[_0x2cab9e(0x1c6)][_0x2cab9e(0x19c)],_0x38aa40[_0x481f15[_0x2cab9e(0x17f)]]=_0xa708f5,delete _0x38aa40[_0x2cab9e(0x176)];},exports[a35_0x29a41a(0x170)]=async _0x3a28a1=>{const _0x121dc9=a35_0x29a41a,_0x5bc4ed={};_0x5bc4ed[_0x121dc9(0x1cd)]=_0x121dc9(0x183),_0x5bc4ed[_0x121dc9(0x1a6)]=_0x121dc9(0x1d3);const _0x5d1aa4=_0x5bc4ed;if(global[_0x121dc9(0x178)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x3a28a1,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x3a28a1,scripts.getResults);})();return res;}catch{return logger[_0x121dc9(0x171)](_0x5d1aa4[_0x121dc9(0x1cd)]),[];}else return logger[_0x121dc9(0x18f)](_0x5d1aa4[_0x121dc9(0x1a6)]),[];},exports['performScan']=async(_0x4c970c,_0x39d49b='')=>{const _0x167335=a35_0x29a41a;logger[_0x167335(0x1aa)]('Performing\x20scan\x20with\x20method:\x20'+_0x39d49b+_0x167335(0x187)+_0x4c970c);if(global[_0x167335(0x178)])return await PerformanceTester[_0x167335(0x1a4)](PerformanceA11yEvents[_0x167335(0x1ab)],async()=>{const _0x44a5f0=_0x167335,_0x543bd6={};_0x543bd6['command']=_0x39d49b,await exports[_0x44a5f0(0x1c3)](_0x4c970c,scripts['performScan'],_0x543bd6);},{'command':_0x39d49b})();},exports[a35_0x29a41a(0x17e)]=async _0x38da84=>{const _0x59df74=a35_0x29a41a,_0xe74892={};_0xe74892['FWcoU']='No\x20summaryResults\x20found.',_0xe74892[_0x59df74(0x1b3)]=_0x59df74(0x1cc);const _0x4ae02b=_0xe74892;if(global[_0x59df74(0x178)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x38da84,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x38da84,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x59df74(0x1aa)](_0x4ae02b[_0x59df74(0x1dd)]),{};}else return logger['warn'](_0x4ae02b['Kjyri']),{};},exports[a35_0x29a41a(0x198)]=async _0x49d247=>{const _0x16f4b3=a35_0x29a41a,_0x472a19={'BLamt':function(_0xa27330,_0x176202){return _0xa27330!==_0x176202;},'BfWQo':_0x16f4b3(0x1bd),'WyETZ':function(_0x358a27,_0x428e80){return _0x358a27===_0x428e80;},'GQjyD':_0x16f4b3(0x1d9),'vdfGa':function(_0x3de740,_0x25c4ed){return _0x3de740===_0x25c4ed;},'oueZe':'playwright-chromium','QsWlE':_0x16f4b3(0x19b),'ALgDr':function(_0x13484b,_0x34aaca){return _0x13484b(_0x34aaca);},'bmOmk':function(_0x23d909){return _0x23d909();},'nVHDK':function(_0x1471bc,_0x1ac240){return _0x1471bc<_0x1ac240;},'oixNf':_0x16f4b3(0x1ba),'mZBsr':_0x16f4b3(0x1d4),'YNnre':function(_0x541de6,_0x5171f5){return _0x541de6>_0x5171f5;},'UMwKQ':_0x16f4b3(0x1cb)};try{if(!_0x472a19[_0x16f4b3(0x1db)](_0x49d247[_0x16f4b3(0x1bf)],''))return logger[_0x16f4b3(0x18f)](_0x472a19[_0x16f4b3(0x1ac)]),![];const _0x3bd984=_0x49d247[_0x16f4b3(0x1d0)];if(!(_0x472a19[_0x16f4b3(0x1c9)](_0x3bd984,_0x472a19[_0x16f4b3(0x1a1)])||_0x472a19['vdfGa'](_0x3bd984,_0x472a19[_0x16f4b3(0x1b5)])))return logger[_0x16f4b3(0x18f)](_0x472a19[_0x16f4b3(0x1df)]),![];const _0x372282=_0x472a19['ALgDr'](parseInt,_0x49d247['browser_version']);!_0x472a19[_0x16f4b3(0x18d)](isBrowserstackInfra)&&(!_0x472a19[_0x16f4b3(0x1c7)](_0x372282,0x64)&&logger[_0x16f4b3(0x18f)](_0x472a19[_0x16f4b3(0x1c8)]));if(!(_0x472a19[_0x16f4b3(0x1c9)](_0x372282,_0x472a19[_0x16f4b3(0x17d)])||_0x472a19[_0x16f4b3(0x180)](_0x372282,0x5e)))return logger[_0x16f4b3(0x18f)](_0x472a19[_0x16f4b3(0x194)]),![];}catch(_0x5702ce){logger['debug'](_0x16f4b3(0x1b2)+util['format'](_0x5702ce));}return!![];},exports[a35_0x29a41a(0x1d6)]=(_0x3c14c3,_0x848def,_0x36a872)=>{const _0x403a47=a35_0x29a41a,_0x3be7e4={'eVZve':function(_0x312190){return _0x312190();},'minum':_0x403a47(0x1a5),'Riytf':function(_0x4d31e9,_0x3d2205){return _0x4d31e9===_0x3d2205;},'pidUK':'chrome','wdWsd':function(_0x2becf1,_0x4a624b){return _0x2becf1===_0x4a624b;},'uaxpf':_0x403a47(0x1b6),'BlSTZ':function(_0x32c581,_0x1f7c37){return _0x32c581===_0x1f7c37;},'CCPtU':_0x403a47(0x19b),'nBieP':function(_0x502128){return _0x502128();},'MIbQn':function(_0x45c9b9,_0x192824){return _0x45c9b9>_0x192824;},'CfzzJ':_0x403a47(0x1ba),'xCBxd':'latest','TJeFS':_0x403a47(0x1cb),'IjtSk':function(_0x12c1d3,_0x366e56){return _0x12c1d3(_0x366e56);},'Yjbll':_0x403a47(0x1bd),'YrVuN':function(_0x1c9183,_0x15b383){return _0x1c9183+_0x15b383;}};try{if(_0x3be7e4[_0x403a47(0x16f)](isAccessibilityAutomationSession)){global[_0x403a47(0x178)]=!![];!_0x3c14c3[_0x3be7e4['minum']]&&(global[_0x403a47(0x178)]=![]);!(_0x3be7e4[_0x403a47(0x1a2)](_0x3c14c3[_0x403a47(0x1a3)],_0x3be7e4[_0x403a47(0x1b9)])||_0x3be7e4[_0x403a47(0x19a)](_0x3c14c3[_0x403a47(0x1a3)],_0x3be7e4['uaxpf'])||_0x3be7e4['BlSTZ'](_0x3c14c3[_0x403a47(0x1d0)],_0x3be7e4[_0x403a47(0x1b9)])||_0x3be7e4[_0x403a47(0x1ca)](_0x3c14c3[_0x403a47(0x1d0)],_0x3be7e4[_0x403a47(0x1c4)]))&&(logger[_0x403a47(0x18f)](_0x3be7e4['CCPtU']),global[_0x403a47(0x178)]=![]);!_0x3be7e4[_0x403a47(0x1c0)](isBrowserstackInfra)&&(!_0x3be7e4[_0x403a47(0x175)](_0x3c14c3[_0x403a47(0x1a8)],0x64)&&logger['warn'](_0x3be7e4['CfzzJ']));!(_0x3be7e4[_0x403a47(0x19a)](_0x3c14c3['browser_version'],_0x3be7e4[_0x403a47(0x173)])||_0x3be7e4[_0x403a47(0x175)](_0x3c14c3[_0x403a47(0x1a8)],0x5e))&&(logger['warn'](_0x3be7e4[_0x403a47(0x1c5)]),global[_0x403a47(0x178)]=![]);!_0x3be7e4[_0x403a47(0x179)](isUndefined,_0x3c14c3[_0x403a47(0x1bf)])&&(logger['warn'](_0x3be7e4[_0x403a47(0x1ce)]),global[_0x403a47(0x178)]=![]);if(!global[_0x403a47(0x178)]){_0x3c14c3[_0x3be7e4[_0x403a47(0x195)]]=![];const _0x2dee82=_0x3be7e4['YrVuN'](_0x848def,_0x3be7e4[_0x403a47(0x179)](encodeURIComponent,JSON['stringify'](_0x3c14c3)));_0x36a872&&(_0x36a872[_0x403a47(0x1e0)][_0x403a47(0x184)][_0x403a47(0x182)][_0x403a47(0x199)][_0x403a47(0x188)][_0x403a47(0x18b)]=_0x2dee82,_0x36a872[_0x403a47(0x1ad)]['project'][_0x403a47(0x199)][_0x403a47(0x188)][_0x403a47(0x18b)]=_0x2dee82);}}else global[_0x403a47(0x178)]=![];}catch(_0x221d2f){logger[_0x403a47(0x1aa)](_0x403a47(0x1b7)+util[_0x403a47(0x193)](_0x221d2f));}};
1
+ const a37_0x101dc6=a37_0x3230;(function(_0x5b3960,_0x5d2717){const _0x227887=a37_0x3230,_0x4fa6ff=_0x5b3960();while(!![]){try{const _0x30fb0c=-parseInt(_0x227887(0x1ac))/0x1*(parseInt(_0x227887(0x1a9))/0x2)+parseInt(_0x227887(0x144))/0x3+parseInt(_0x227887(0x1a8))/0x4*(-parseInt(_0x227887(0x187))/0x5)+parseInt(_0x227887(0x16f))/0x6*(-parseInt(_0x227887(0x164))/0x7)+-parseInt(_0x227887(0x1a3))/0x8*(-parseInt(_0x227887(0x149))/0x9)+parseInt(_0x227887(0x163))/0xa*(-parseInt(_0x227887(0x1a5))/0xb)+parseInt(_0x227887(0x1af))/0xc;if(_0x30fb0c===_0x5d2717)break;else _0x4fa6ff['push'](_0x4fa6ff['shift']());}catch(_0x44cc2a){_0x4fa6ff['push'](_0x4fa6ff['shift']());}}}(a37_0x4126,0xe0697));function a37_0x3230(_0x58f80d,_0x5c01b0){const _0x41265a=a37_0x4126();return a37_0x3230=function(_0x323035,_0x6aa647){_0x323035=_0x323035-0x13b;let _0x55683f=_0x41265a[_0x323035];return _0x55683f;},a37_0x3230(_0x58f80d,_0x5c01b0);}const util=require(a37_0x101dc6(0x17d)),logger=require(a37_0x101dc6(0x160))[a37_0x101dc6(0x15f)],{isAccessibilityAutomationSession}=require(a37_0x101dc6(0x158)),{isUndefined,isBrowserstackInfra}=require(a37_0x101dc6(0x17b)),scripts=require(a37_0x101dc6(0x184)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a37_0x101dc6(0x166));function a37_0x4126(){const _0x32f61d=['../../helpers/performance/constants','UkCDE','browser','KkNQU','scannerProcessingTimeout','uNjPG','includes','QKexF','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','5344110LVYmBW','platformValidation','accessibilityOptions','NcyLP','bstackSdkArgs','executeScript','OcPWU','env','accessibilityOptions.wcagVersion','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','bestPractice','getAccessibilityResults','../../helpers/helper','currentTest','util','HTAdx','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','ZKgCR','playwright-chromium','KPUia','workerInfo','../../helpers/accessibility-automation/scripts','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','debug','5vzVMSW','latest','replace','executeAsyncScript','KsqHe','use','(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','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','measureWrapper','command','wsoJS','vFBHJ','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','kXskQ','jWBta','browser_version','wcagVersion','browserName','fNIvG','VaEyL','McbQC','KmQBs','(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','MImAQ','Playwright','accessibilityOptions.includeIssueType.needsReview','WGQOz','pDZuR','1575752WpcIxi','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','11BXOdzG','stringify','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','3780692eewxUD','196978rFQbYo','ZBpho','nJELo','12UvGsej','wsEndpoint','No\x20accessibility\x20results\x20were\x20found.','65629560LumKIY','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','WebDriver','PERFORM_SCAN','fdylg','mzTGS','includeIssueType','No\x20summaryResults\x20found.','warn','browserStackExecuteDriver','MyAey','BS_A11Y_JWT','1193316mDZhLx','RtIQD','format','qGTXs','gkykr','9mfVEXz','error','TzyUd','\x20page:\x20','accessibilityOptions.includeIssueType.bestPractice','browserStackEvaluate','project','deviceName','getAccessibilityResultsSummary','HMncv','BmjjU','accessibilityPlatform','EkrGc','constructor','rkHeJ','../../helpers/accessibility-automation/helper','connectOptions','xZrdP','XPDuW','accessibilityOptions.scannerVersion','setAccessibilityCapabilities','KLmgG','winstonLogger','../../helpers/logger','needsReview','NPLcc','12362690aWxbME','14kzKMAZ','RAoSr'];a37_0x4126=function(){return _0x32f61d;};return a37_0x4126();}exports[a37_0x101dc6(0x14e)]=async(_0x39ed32,_0xb55258,_0x4dae1a={})=>{const _0x3a4da0=a37_0x101dc6,_0x16c12d={};_0x16c12d[_0x3a4da0(0x157)]=_0x3a4da0(0x173);const _0x65fff6=_0x16c12d;return await _0x39ed32['evaluate'](_0x3a4da0(0x18d)+_0xb55258['replace'](/arguments/g,_0x65fff6[_0x3a4da0(0x157)])+_0x3a4da0(0x1a4)+JSON[_0x3a4da0(0x1a6)](_0x4dae1a)+')');},exports[a37_0x101dc6(0x141)]=async(_0x5aa7d5,_0x41b5cb,_0x4d332f={})=>{const _0x2cf9d4=a37_0x101dc6,_0x33919e={};_0x33919e['HMncv']=function(_0x4050b9,_0x5c97ce){return _0x4050b9===_0x5c97ce;},_0x33919e[_0x2cf9d4(0x16b)]=_0x2cf9d4(0x1b1),_0x33919e[_0x2cf9d4(0x191)]=_0x2cf9d4(0x19f),_0x33919e[_0x2cf9d4(0x17e)]=_0x2cf9d4(0x173);const _0x4e25c0=_0x33919e;if(_0x4e25c0['HMncv'](_0x5aa7d5[_0x2cf9d4(0x156)]['name'],_0x4e25c0[_0x2cf9d4(0x16b)]))return await _0x5aa7d5[_0x2cf9d4(0x18a)](_0x41b5cb,_0x4d332f);else{if(_0x4e25c0[_0x2cf9d4(0x152)](_0x5aa7d5[_0x2cf9d4(0x156)]['name'],_0x4e25c0[_0x2cf9d4(0x191)]))return await _0x5aa7d5[_0x2cf9d4(0x174)](_0x2cf9d4(0x19d)+_0x41b5cb[_0x2cf9d4(0x189)](/arguments/g,_0x4e25c0[_0x2cf9d4(0x17e)])+_0x2cf9d4(0x193)+JSON[_0x2cf9d4(0x1a6)](_0x4d332f)+')');}},exports[a37_0x101dc6(0x15d)]=async _0x5a613d=>{const _0xcc6bcd=a37_0x101dc6,_0x251b9={};_0x251b9[_0xcc6bcd(0x19b)]=_0xcc6bcd(0x177),_0x251b9[_0xcc6bcd(0x165)]='accessibilityOptions.scannerProcessingTimeout',_0x251b9['jWBta']=_0xcc6bcd(0x14d),_0x251b9[_0xcc6bcd(0x147)]=_0xcc6bcd(0x1a0),_0x251b9[_0xcc6bcd(0x155)]='accessibilityOptions.authToken',_0x251b9['KJAgg']=_0xcc6bcd(0x15c);const _0x36a2b1=_0x251b9;_0x5a613d[_0xcc6bcd(0x171)]&&(_0x5a613d['accessibilityOptions'][_0xcc6bcd(0x197)]&&(_0x5a613d[_0x36a2b1[_0xcc6bcd(0x19b)]]=_0x5a613d[_0xcc6bcd(0x171)][_0xcc6bcd(0x197)]),_0x5a613d[_0xcc6bcd(0x171)][_0xcc6bcd(0x16a)]&&(_0x5a613d[_0x36a2b1['RAoSr']]=_0x5a613d[_0xcc6bcd(0x171)][_0xcc6bcd(0x16a)]),_0x5a613d[_0xcc6bcd(0x171)][_0xcc6bcd(0x13e)]&&(_0x5a613d[_0x36a2b1[_0xcc6bcd(0x195)]]=_0x5a613d[_0xcc6bcd(0x171)]['includeIssueType'][_0xcc6bcd(0x179)],_0x5a613d[_0x36a2b1[_0xcc6bcd(0x147)]]=_0x5a613d[_0xcc6bcd(0x171)][_0xcc6bcd(0x13e)][_0xcc6bcd(0x161)]));const _0x3f01b8=JSON['parse'](process[_0xcc6bcd(0x176)][_0xcc6bcd(0x18e)])['scannerVersion'];_0x5a613d[_0x36a2b1['EkrGc']]=process[_0xcc6bcd(0x176)][_0xcc6bcd(0x143)],_0x5a613d[_0x36a2b1['KJAgg']]=_0x3f01b8,delete _0x5a613d['accessibilityOptions'];},exports[a37_0x101dc6(0x17a)]=async _0x731de5=>{const _0x39fe8b=a37_0x101dc6,_0x24fe14={};_0x24fe14['ACUQe']=_0x39fe8b(0x1ae),_0x24fe14[_0x39fe8b(0x15b)]=_0x39fe8b(0x1a7);const _0x1bf200=_0x24fe14;if(global[_0x39fe8b(0x154)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x731de5,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x731de5,scripts.getResults);})();return res;}catch{return logger[_0x39fe8b(0x14a)](_0x1bf200['ACUQe']),[];}else return logger['warn'](_0x1bf200[_0x39fe8b(0x15b)]),[];},exports['performScan']=async(_0x40839d,_0x57f77e='')=>{const _0x519630=a37_0x101dc6;logger[_0x519630(0x186)]('Performing\x20scan\x20with\x20method:\x20'+_0x57f77e+_0x519630(0x14c)+_0x40839d);if(global[_0x519630(0x154)])return await PerformanceTester[_0x519630(0x18f)](PerformanceA11yEvents[_0x519630(0x13b)],async()=>{const _0x443e23=_0x519630,_0x1001f0={};_0x1001f0[_0x443e23(0x190)]=_0x57f77e,await exports[_0x443e23(0x14e)](_0x40839d,scripts['performScan'],_0x1001f0);},{'command':_0x57f77e})();},exports[a37_0x101dc6(0x151)]=async _0x3f5f1f=>{const _0x39bafe=a37_0x101dc6,_0x396303={};_0x396303[_0x39bafe(0x15a)]=_0x39bafe(0x13f),_0x396303[_0x39bafe(0x19c)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x1fcd8e=_0x396303;if(global[_0x39bafe(0x154)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3f5f1f,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3f5f1f,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x39bafe(0x186)](_0x1fcd8e[_0x39bafe(0x15a)]),{};}else return logger[_0x39bafe(0x140)](_0x1fcd8e[_0x39bafe(0x19c)]),{};},exports[a37_0x101dc6(0x170)]=async _0x2a3613=>{const _0x538f77=a37_0x101dc6,_0x43fb43={'VaEyL':function(_0x31f4f5,_0x489049){return _0x31f4f5!==_0x489049;},'KkNQU':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','ZBpho':'chrome','WGQOz':_0x538f77(0x181),'GEnKy':'chromium','gkykr':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','KsqHe':function(_0x444a60,_0x42c582){return _0x444a60(_0x42c582);},'pDZuR':function(_0x11a811){return _0x11a811();},'OcPWU':function(_0x150ed3,_0x5d1f08){return _0x150ed3<_0x5d1f08;},'NcyLP':_0x538f77(0x1b0),'mzTGS':function(_0x2b44a4,_0x2c54e1){return _0x2b44a4===_0x2c54e1;},'kXskQ':_0x538f77(0x188),'UkCDE':function(_0x25d951,_0x466466){return _0x25d951>_0x466466;},'JEyxD':_0x538f77(0x16e)};try{if(!_0x43fb43[_0x538f77(0x19a)](_0x2a3613[_0x538f77(0x150)],''))return logger['warn'](_0x43fb43[_0x538f77(0x169)]),![];const _0x117b40=_0x2a3613[_0x538f77(0x168)];if(![_0x43fb43[_0x538f77(0x1aa)],_0x43fb43[_0x538f77(0x1a1)],_0x43fb43['GEnKy']][_0x538f77(0x16c)](_0x117b40))return logger[_0x538f77(0x140)](_0x43fb43[_0x538f77(0x148)]),![];const _0x237ba2=_0x43fb43[_0x538f77(0x18b)](parseInt,_0x2a3613[_0x538f77(0x196)]);!_0x43fb43[_0x538f77(0x1a2)](isBrowserstackInfra)&&(!_0x43fb43[_0x538f77(0x175)](_0x237ba2,0x64)&&logger[_0x538f77(0x140)](_0x43fb43[_0x538f77(0x172)]));if(!(_0x43fb43[_0x538f77(0x13d)](_0x237ba2,_0x43fb43[_0x538f77(0x194)])||_0x43fb43[_0x538f77(0x167)](_0x237ba2,0x5e)))return logger[_0x538f77(0x140)](_0x43fb43['JEyxD']),![];}catch(_0x5cdd87){logger[_0x538f77(0x186)](_0x538f77(0x178)+util[_0x538f77(0x146)](_0x5cdd87));}return!![];},exports['processAccessibilityCaps']=(_0x4da3e6,_0x27452b,_0x55a081)=>{const _0x250a52=a37_0x101dc6,_0x1d4d1c={'IfiCm':function(_0x1f20da){return _0x1f20da();},'BmjjU':'browserstack.accessibility','fdylg':function(_0x529e7c,_0x44f81e){return _0x529e7c===_0x44f81e;},'nJELo':'chrome','MyAey':_0x250a52(0x181),'QKexF':function(_0x240050,_0x9fe8b9){return _0x240050===_0x9fe8b9;},'vFBHJ':_0x250a52(0x185),'HvEJx':function(_0x28ee17){return _0x28ee17();},'TzyUd':function(_0x33307d,_0x14864d){return _0x33307d>_0x14864d;},'KPUia':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','NPLcc':_0x250a52(0x188),'RtIQD':function(_0x12da06,_0xc7d9c2){return _0x12da06>_0xc7d9c2;},'KLmgG':_0x250a52(0x16e),'MImAQ':function(_0x362901,_0x21c7e0){return _0x362901(_0x21c7e0);},'ZKgCR':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fNIvG':function(_0x4849f0,_0x4ce481){return _0x4849f0+_0x4ce481;}};try{if(_0x1d4d1c['IfiCm'](isAccessibilityAutomationSession)){global[_0x250a52(0x154)]=!![];!_0x4da3e6[_0x1d4d1c[_0x250a52(0x153)]]&&(global[_0x250a52(0x154)]=![]);!(_0x1d4d1c[_0x250a52(0x13c)](_0x4da3e6[_0x250a52(0x198)],_0x1d4d1c[_0x250a52(0x1ab)])||_0x1d4d1c[_0x250a52(0x13c)](_0x4da3e6[_0x250a52(0x198)],_0x1d4d1c[_0x250a52(0x142)])||_0x1d4d1c[_0x250a52(0x13c)](_0x4da3e6[_0x250a52(0x168)],_0x1d4d1c[_0x250a52(0x1ab)])||_0x1d4d1c[_0x250a52(0x16d)](_0x4da3e6[_0x250a52(0x168)],_0x1d4d1c[_0x250a52(0x142)]))&&(logger[_0x250a52(0x140)](_0x1d4d1c[_0x250a52(0x192)]),global['accessibilityPlatform']=![]);!_0x1d4d1c['HvEJx'](isBrowserstackInfra)&&(!_0x1d4d1c[_0x250a52(0x14b)](_0x4da3e6[_0x250a52(0x196)],0x64)&&logger[_0x250a52(0x140)](_0x1d4d1c[_0x250a52(0x182)]));!(_0x1d4d1c[_0x250a52(0x13c)](_0x4da3e6[_0x250a52(0x196)],_0x1d4d1c[_0x250a52(0x162)])||_0x1d4d1c[_0x250a52(0x145)](_0x4da3e6[_0x250a52(0x196)],0x5e))&&(logger[_0x250a52(0x140)](_0x1d4d1c[_0x250a52(0x15e)]),global['accessibilityPlatform']=![]);!_0x1d4d1c[_0x250a52(0x19e)](isUndefined,_0x4da3e6[_0x250a52(0x150)])&&(logger[_0x250a52(0x140)](_0x1d4d1c[_0x250a52(0x180)]),global[_0x250a52(0x154)]=![]);if(!global[_0x250a52(0x154)]){_0x4da3e6[_0x1d4d1c[_0x250a52(0x153)]]=![];const _0x1bc62e=_0x1d4d1c[_0x250a52(0x199)](_0x27452b,_0x1d4d1c[_0x250a52(0x19e)](encodeURIComponent,JSON[_0x250a52(0x1a6)](_0x4da3e6)));_0x55a081&&(_0x55a081[_0x250a52(0x17c)]['testInfo'][_0x250a52(0x14f)][_0x250a52(0x18c)][_0x250a52(0x159)][_0x250a52(0x1ad)]=_0x1bc62e,_0x55a081[_0x250a52(0x183)]['project'][_0x250a52(0x18c)][_0x250a52(0x159)][_0x250a52(0x1ad)]=_0x1bc62e);}}else global[_0x250a52(0x154)]=![];}catch(_0xd2a228){logger[_0x250a52(0x186)](_0x250a52(0x17f)+util[_0x250a52(0x146)](_0xd2a228));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a36_0x28f817=a36_0x14fd;(function(_0xc48e7f,_0xbd1376){const _0x2ed44c=a36_0x14fd,_0x4411a5=_0xc48e7f();while(!![]){try{const _0xb31dc8=parseInt(_0x2ed44c(0x1e5))/0x1+-parseInt(_0x2ed44c(0x272))/0x2+-parseInt(_0x2ed44c(0x1ff))/0x3+-parseInt(_0x2ed44c(0x257))/0x4*(parseInt(_0x2ed44c(0x274))/0x5)+parseInt(_0x2ed44c(0x1d0))/0x6+-parseInt(_0x2ed44c(0x1e9))/0x7*(parseInt(_0x2ed44c(0x1de))/0x8)+parseInt(_0x2ed44c(0x260))/0x9*(parseInt(_0x2ed44c(0x21e))/0xa);if(_0xb31dc8===_0xbd1376)break;else _0x4411a5['push'](_0x4411a5['shift']());}catch(_0x16482e){_0x4411a5['push'](_0x4411a5['shift']());}}}(a36_0xdb56,0x6e49f));function a36_0xdb56(){const _0x1f5050=['child_process','gxGHH','../../helpers/utilities','180OeNvni','CZfvG','getPackageType','--config=','map','browserstackSetupConfig.json','../../helpers/performance/constants','readdirSync','slice','initialize','--config','findIndex','browserstackAutomation','nestedKeyValue','exitCode','YevoD','PLAYWRIGHT','gzwav','../../helpers/accessibility-automation/helper','Error\x20in\x20deleting\x20playwright\x20results','JSsjA','cliConfig','Deleting\x20','filter','npx','abMjB','info','true','end','isTypescriptProject','--disable-test-observability','FLVGa','path','SDK_POST_INITIALIZE','playwright','Error\x20in\x20closing\x20playwright','BROWSERSTACK_SETUP_CONFIG_PATH','trim','BROWSERSTACK_TEST_ACCESSIBILITY_YML','EzIHg','isTrue','unlinkSync','xzcKg','length','env','winstonLogger','skipSessionName','finalExecution','SDK_CLEANUP','resolvedConfigFile','get','win32','logLevel','close','veKes','cSESu','oLoNT','568AXqLCP','getProxyUrl','skipSessionStatus','getConfig','UMTYD','FrFbO','SDK_SETUP','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','indexOf','401607TZmSLZ','accessibility','zaJqf','EVENTS','has','pw_result.json','Qkodf','CoBjo','start','ARYsc','dirname','gfEcY','../../helpers/test-observability/utils','existsSync','filterBrowserstackArgs','clearTempPWConfig','Updated\x20config\x20file\x20name\x20to\x20-\x20','getInstance','205740UuQyYI','BROWSERSTACK_RERUN_TESTS','7265zuWVdQ','QKijJ','exports','config','getConfigPath','stringify','concat','cJZQN','2792820tTQwZt','BROWSERSTACK_RERUN','jppnp','join','BROWSERSTACK_AUTOMATION','tJAjj','hrnKe','AZlke','tQhSz','writeFileSync','OfhWQ','CsTja','homedir','../v2/TestInfo','48ydAJkc','split','oytzy','Error\x20in\x20getting\x20funnel\x20data\x20results','serializeToYamlString','push','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','592084XTuZOv','testContextOptions','../../helpers/BrowserStackSetup','ieSnd','315959vRamRf','USER_CONFIG_DETAILS_PATH','./reporter/test-details','testObservability','\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();','dSTGR','isRunning','startsWith','stop','bootstrap','test','resolve','../../helpers/logger','OuHEN','Ludrg','automation','iZRqL','ygekL','JeRUj','EIrwi','cwd','./accessibility-helper','2487021ulQyuV','isUndefined','error','measureWrapper','SDK_PRE_INITIALIZE','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','EEXHk','inherit','PBkdU','BROWSERSTACK_TEST_OBSERVABILITY','setFrameworkDetail','util','PACKAGE_TYPE','isFalse','playwright-browserstack-sdk.config.js','wbRBj','AfUpi','shutdown','oRSIj','jSQBB','debug','jKQgp','tIQGP','platform','.browserstack','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','gFwJS','assign'];a36_0xdb56=function(){return _0x1f5050;};return a36_0xdb56();}const fs=require('fs'),path=require('path'),{spawn}=require(a36_0x28f817(0x21b)),{format}=require(a36_0x28f817(0x20a)),logger=require(a36_0x28f817(0x1f5))[a36_0x28f817(0x24b)],{default:BrowserStackSetup}=require(a36_0x28f817(0x1e7)),helper=require('../../helpers/helper'),utilities=require(a36_0x28f817(0x21d)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a36_0x28f817(0x230)),{setAccessibilityCapabilities}=require(a36_0x28f817(0x1fe)),{printBuildLink}=require(a36_0x28f817(0x26c)),TestDetails=require(a36_0x28f817(0x1eb)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a36_0x28f817(0x224))[a36_0x28f817(0x263)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a36_0x28f817(0x1dd)),getUserPlaywrightConfig=async(_0x48bf27,_0x3b5bdf)=>{const _0x3c24c2=a36_0x28f817,_0x8a6db4={'EkJkc':function(_0x2610c3){return _0x2610c3();},'CsTja':function(_0x28a20b,_0x26c34e){return _0x28a20b(_0x26c34e);},'ieSnd':_0x3c24c2(0x24f),'CZfvG':_0x3c24c2(0x221)},_0x527f79=!helper[_0x3c24c2(0x200)](_0x48bf27['config']),_0x329af0=_0x527f79?path[_0x3c24c2(0x1f4)](process[_0x3c24c2(0x1fd)](),_0x48bf27[_0x3c24c2(0x1cb)]):process[_0x3c24c2(0x1fd)](),{resolveConfigFile:_0x307100,resolveConfigLocation:_0x5cc764}=helper['requirePWModule']['apply'](null,_0x8a6db4['EkJkc'](getConfigLoaderPath)),_0x5a56c9=_0x307100?_0x8a6db4['CsTja'](_0x307100,_0x329af0):helper[_0x3c24c2(0x22b)](_0x8a6db4[_0x3c24c2(0x1db)](_0x5cc764,_0x329af0),[_0x8a6db4[_0x3c24c2(0x1e8)]]),_0x22a3be={};if(_0x527f79){const _0x1f4777=_0x3b5bdf[_0x3c24c2(0x229)](_0x3c9f29=>_0x3c9f29===_0x3c24c2(0x228)||_0x3c9f29==='-c'||_0x3c9f29[_0x3c24c2(0x1f0)](_0x3c24c2(0x221)));_0x3b5bdf['splice'](_0x1f4777,_0x3b5bdf[_0x1f4777][_0x3c24c2(0x1f0)](_0x8a6db4[_0x3c24c2(0x21f)])?0x1:0x2);}const _0x1aae5b={};return _0x1aae5b[_0x3c24c2(0x23e)]=_0x5a56c9,_0x1aae5b['config']=_0x22a3be,_0x1aae5b;},handleO11yRerun=_0x6c1c79=>{const _0x5b1843=a36_0x28f817,_0x8b3f73={};_0x8b3f73[_0x5b1843(0x1d8)]='--grep';const _0x2067c0=_0x8b3f73,_0x547c6=helper['isTrue'](process['env'][_0x5b1843(0x1d1)]);if(_0x547c6){const _0x4e2686=process[_0x5b1843(0x24a)][_0x5b1843(0x273)],_0x3e57ed=[];if(helper['validateRerunTestList'](_0x4e2686)&&!helper[_0x5b1843(0x200)](_0x4e2686)){_0x4e2686['split'](',')[_0x5b1843(0x222)](_0x5cacf1=>{const _0x51a1ee=_0x5b1843;_0x3e57ed['push']('('+_0x5cacf1[_0x51a1ee(0x243)]()+')');});const _0x358db0='^'+_0x3e57ed[_0x5b1843(0x1d3)]('|')+'$';_0x6c1c79[_0x5b1843(0x1e3)](_0x2067c0[_0x5b1843(0x1d8)],_0x358db0);}}},spawnOriginalProcess=_0x3f0873=>{const _0x10886e=a36_0x28f817,_0x5a137a={'AfUpi':function(_0x537de8,_0x15ebb9,_0x46fed1,_0x391900){return _0x537de8(_0x15ebb9,_0x46fed1,_0x391900);},'PBkdU':_0x10886e(0x236),'FLVGa':_0x10886e(0x240),'MNgaW':function(_0xaeea57,_0x685c68){return _0xaeea57===_0x685c68;},'THeZb':_0x10886e(0x251),'QKijJ':_0x10886e(0x206)};_0x5a137a[_0x10886e(0x20f)](spawn,_0x5a137a[_0x10886e(0x207)],[_0x5a137a[_0x10886e(0x23d)],..._0x3f0873[_0x10886e(0x226)](0x1)],{'shell':_0x5a137a['MNgaW'](process['platform'],_0x5a137a['THeZb']),'stdio':_0x5a137a[_0x10886e(0x1c9)],'cwd':process[_0x10886e(0x1fd)]()});},isTestCommand=(_0x175a0b,_0x960511)=>{const _0x461465=a36_0x28f817,_0x7c4530={};_0x7c4530[_0x461465(0x1d7)]=function(_0x3703c9,_0x53263d){return _0x3703c9>_0x53263d;},_0x7c4530[_0x461465(0x212)]=function(_0x207423,_0x410258){return _0x207423===_0x410258;},_0x7c4530['EIrwi']=_0x461465(0x1f3);const _0x2626a9=_0x7c4530;if(_0x2626a9[_0x461465(0x1d7)](_0x960511[_0x461465(0x249)],0x1)&&_0x2626a9[_0x461465(0x212)](_0x960511[0x1],_0x2626a9[_0x461465(0x1fc)]))return!![];return![];};async function run(_0x10326a,_0x1a8aa7,_0x5763e1){const _0x5e8ce7=a36_0x28f817,_0x53c8e6={'dSTGR':function(_0x360e8c,_0x113297){return _0x360e8c(_0x113297);},'OfhWQ':_0x5e8ce7(0x217),'jKQgp':_0x5e8ce7(0x265),'gFwJS':function(_0x1c1dbb,_0x4fc552){return _0x1c1dbb+_0x4fc552;},'UMTYD':_0x5e8ce7(0x1e1),'aQXAe':function(_0x51e8e9){return _0x51e8e9();},'hDdUw':function(_0x15a395){return _0x15a395();},'gfEcY':function(_0xf32515,_0x548e51){return _0xf32515+_0x548e51;},'gxGHH':_0x5e8ce7(0x241),'cSESu':'BrowserStack\x20config\x20file\x20not\x20found.','EEXHk':function(_0x11c180,_0x26a31d){return _0x11c180===_0x26a31d;},'JSsjA':'false','SJCAc':_0x5e8ce7(0x23c),'JeRUj':function(_0x3ea9f2,_0x1fa89b){return _0x3ea9f2>=_0x1fa89b;},'ARYsc':_0x5e8ce7(0x1f8),'zaJqf':function(_0x183d19,_0x5549e1){return _0x183d19!=_0x5549e1;},'efxSq':function(_0x11261f,_0x133ea1,_0x284203){return _0x11261f(_0x133ea1,_0x284203);},'JjUwH':function(_0x3f224c,_0xee7e87){return _0x3f224c===_0xee7e87;},'gzwav':_0x5e8ce7(0x239),'cJZQN':function(_0x774617,_0x536bb1){return _0x774617(_0x536bb1);},'oLoNT':function(_0x101db6,_0x3de613){return _0x101db6(_0x3de613);},'tIQGP':_0x5e8ce7(0x223),'FrFbO':function(_0x5dd6ad,_0x4e84a9){return _0x5dd6ad===_0x4e84a9;},'iZRqL':'playwright-browserstack-sdk.config.cjs','OuHEN':_0x5e8ce7(0x20d),'CoBjo':function(_0x4fb41d,_0x53e4a6){return _0x4fb41d-_0x53e4a6;},'veKes':function(_0x2d828a,_0x2df6dc){return _0x2d828a+_0x2df6dc;},'oRSIj':_0x5e8ce7(0x270),'Dgddi':function(_0x495c3c,_0x4d365f){return _0x495c3c>_0x4d365f;},'EzIHg':function(_0xa1c006,_0x5181a5,_0x4ba15e,_0x2322c0){return _0xa1c006(_0x5181a5,_0x4ba15e,_0x2322c0);},'wbRBj':_0x5e8ce7(0x236),'icZXC':_0x5e8ce7(0x240),'ygekL':_0x5e8ce7(0x1f3),'RzSLr':'--config','slmYc':_0x5e8ce7(0x251),'tJAjj':_0x5e8ce7(0x206),'xzcKg':_0x5e8ce7(0x253),'DGORI':function(_0x1a7bb3,_0x159fb3){return _0x1a7bb3+_0x159fb3;},'hrnKe':_0x5e8ce7(0x231),'YevoD':function(_0xaaf2e9,_0x34d57c){return _0xaaf2e9(_0x34d57c);}};try{const _0x36726a=path[_0x5e8ce7(0x1d3)](helper[_0x5e8ce7(0x1dc)](),_0x53c8e6[_0x5e8ce7(0x1da)],_0x53c8e6[_0x5e8ce7(0x214)]);fs[_0x5e8ce7(0x26d)](_0x36726a)&&fs['unlinkSync'](_0x36726a);}catch(_0x137357){logger[_0x5e8ce7(0x213)](_0x53c8e6['DGORI'](_0x53c8e6[_0x5e8ce7(0x1d6)],_0x137357));}if(!_0x53c8e6['efxSq'](isTestCommand,_0x10326a,_0x1a8aa7)){_0x53c8e6[_0x5e8ce7(0x22d)](spawnOriginalProcess,_0x1a8aa7);return;}await PerformanceTester[_0x5e8ce7(0x202)](PerformanceEvents[_0x5e8ce7(0x203)],async()=>{const _0x3b9fd6=_0x5e8ce7,_0x11bb02={'abMjB':_0x53c8e6[_0x3b9fd6(0x1da)],'PWqqZ':_0x53c8e6['jKQgp'],'jppnp':function(_0xd06f4d,_0x2eac62){const _0x42261b=_0x3b9fd6;return _0x53c8e6[_0x42261b(0x219)](_0xd06f4d,_0x2eac62);},'FpcKw':_0x53c8e6[_0x3b9fd6(0x25b)],'oytzy':function(_0x4e11d3){return _0x53c8e6['aQXAe'](_0x4e11d3);},'Qkodf':function(_0x31f245){return _0x53c8e6['hDdUw'](_0x31f245);},'Ludrg':function(_0x3a6981,_0x4de4d8){const _0x5ea31e=_0x3b9fd6;return _0x53c8e6[_0x5ea31e(0x26b)](_0x3a6981,_0x4de4d8);},'CljXj':_0x53c8e6[_0x3b9fd6(0x21c)]};if(!_0x5763e1[_0x3b9fd6(0x1cb)]){logger[_0x3b9fd6(0x201)](_0x53c8e6[_0x3b9fd6(0x255)]);return;}await _0x5763e1[_0x3b9fd6(0x227)](_0x10326a),CLIUtils[_0x3b9fd6(0x209)](FRAMEWORKS[_0x3b9fd6(0x22e)],FRAMEWORKS[_0x3b9fd6(0x22e)]),BrowserstackCLI[_0x3b9fd6(0x271)]()['setBrowserstackConfig'](_0x5763e1[_0x3b9fd6(0x1cb)],_0x5763e1[_0x3b9fd6(0x233)]),await BrowserstackCLI[_0x3b9fd6(0x271)]()[_0x3b9fd6(0x1f2)]();const _0x2bdd01=BrowserstackCLI[_0x3b9fd6(0x271)]()[_0x3b9fd6(0x25a)]();!helper[_0x3b9fd6(0x20c)](_0x2bdd01[_0x3b9fd6(0x22a)])&&(process[_0x3b9fd6(0x24a)][_0x3b9fd6(0x1d4)]=!![]);_0x53c8e6[_0x3b9fd6(0x205)](_0x2bdd01[_0x3b9fd6(0x22a)],![])&&(process['env'][_0x3b9fd6(0x1d4)]=_0x53c8e6[_0x3b9fd6(0x232)],_0x1a8aa7=_0x1a8aa7[_0x3b9fd6(0x235)](_0x2e1606=>_0x2e1606!=='--disable-browserstack-automation'));const _0x1b72e4=_0x1a8aa7[_0x3b9fd6(0x25f)](_0x53c8e6['SJCAc']);(_0x53c8e6[_0x3b9fd6(0x1fb)](_0x1b72e4,0x0)||_0x53c8e6[_0x3b9fd6(0x205)](_0x2bdd01['testObservability'],![]))&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x53c8e6['JSsjA'],_0x1a8aa7=_0x1a8aa7[_0x3b9fd6(0x235)](_0x2fcd54=>_0x2fcd54!==_0x3b9fd6(0x23c)));!helper[_0x3b9fd6(0x200)](_0x5763e1['cliConfig'])&&_0x5763e1[_0x3b9fd6(0x233)][_0x3b9fd6(0x264)](_0x53c8e6[_0x3b9fd6(0x269)])&&(process[_0x3b9fd6(0x24a)]['BROWSERSTACK_AUTOMATION']=_0x5763e1['cliConfig'][_0x3b9fd6(0x250)](_0x53c8e6[_0x3b9fd6(0x269)])||!![]);_0x53c8e6[_0x3b9fd6(0x262)](_0x5763e1[_0x3b9fd6(0x1cb)][_0x3b9fd6(0x1ec)],null)&&!helper[_0x3b9fd6(0x246)](process['env'][_0x3b9fd6(0x208)])&&(process[_0x3b9fd6(0x24a)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x3b9fd6(0x24a)][_0x3b9fd6(0x208)]||_0x5763e1['config'][_0x3b9fd6(0x1ec)]);const _0xce3d29=!helper[_0x3b9fd6(0x20c)](process[_0x3b9fd6(0x24a)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0x5763e1[_0x3b9fd6(0x1cb)]['accessibilityOptions']&&(process['env'][_0x3b9fd6(0x1e4)]=JSON[_0x3b9fd6(0x1cd)](_0x5763e1[_0x3b9fd6(0x1cb)]['accessibilityOptions']));let _0x2a707a=![];_0x5763e1[_0x3b9fd6(0x1cb)][_0x3b9fd6(0x261)]&&(_0x2a707a=!![],process[_0x3b9fd6(0x24a)][_0x3b9fd6(0x244)]=_0x5763e1[_0x3b9fd6(0x1cb)][_0x3b9fd6(0x261)]);const _0x5f5496=_0x1a8aa7[_0x3b9fd6(0x1ce)](),_0x403e3b=await _0x53c8e6['efxSq'](getUserPlaywrightConfig,_0x10326a,_0x1a8aa7);if(helper['isUndefined'](_0x403e3b)){_0x53c8e6[_0x3b9fd6(0x1ee)](spawnOriginalProcess,_0x5f5496);return;}const _0x5459c4=_0x403e3b[_0x3b9fd6(0x23e)]?path[_0x3b9fd6(0x26a)](_0x403e3b[_0x3b9fd6(0x23e)]):process[_0x3b9fd6(0x1fd)]();process[_0x3b9fd6(0x24a)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x5459c4,await PerformanceTester[_0x3b9fd6(0x202)](PerformanceEvents[_0x3b9fd6(0x23f)],async()=>{const _0xae139a=_0x3b9fd6;!BrowserstackCLI[_0xae139a(0x271)]()[_0xae139a(0x1ef)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0xae139a(0x22e)],_0x5763e1),_0xce3d29&&_0x53c8e6['dSTGR'](handleO11yRerun,_0x1a8aa7);})();if(!BrowserstackCLI[_0x3b9fd6(0x271)]()['isRunning']()){let _0x17efa6=_0x53c8e6['JjUwH'](process[_0x3b9fd6(0x24a)][_0x3b9fd6(0x244)],_0x53c8e6[_0x3b9fd6(0x22f)]);_0x17efa6=_0x17efa6||_0x53c8e6[_0x3b9fd6(0x1cf)](checkAccessibilityPlatformConfig,_0x5763e1['config']),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x17efa6,_0x17efa6&&_0x53c8e6[_0x3b9fd6(0x256)](setAccessibilityCapabilities,_0x5763e1[_0x3b9fd6(0x1cb)]);}const _0x3be17b=path[_0x3b9fd6(0x1d3)](_0x403e3b[_0x3b9fd6(0x23e)]?path['dirname'](_0x403e3b[_0x3b9fd6(0x23e)]):process[_0x3b9fd6(0x1fd)](),_0x53c8e6[_0x3b9fd6(0x215)]);fs[_0x3b9fd6(0x1d9)](_0x3be17b,helper[_0x3b9fd6(0x1e2)](_0x5763e1[_0x3b9fd6(0x1cb)])),process[_0x3b9fd6(0x24a)][_0x3b9fd6(0x242)]=_0x3be17b,helper[_0x3b9fd6(0x26f)]();let _0x5589f6='';_0x53c8e6[_0x3b9fd6(0x25c)](helper[_0x3b9fd6(0x220)](),constants[_0x3b9fd6(0x20b)]['MODULE'])?_0x5589f6=_0x53c8e6[_0x3b9fd6(0x1f9)]:_0x5589f6=_0x53c8e6[_0x3b9fd6(0x1f6)];let _0x461d5b='';if(helper[_0x3b9fd6(0x23b)](_0x403e3b[_0x3b9fd6(0x23e)])){_0x461d5b=_0x3b9fd6(0x218);const _0x2aacc5=_0x5589f6[_0x3b9fd6(0x1df)]('.');_0x2aacc5[_0x53c8e6[_0x3b9fd6(0x267)](_0x2aacc5[_0x3b9fd6(0x249)],0x1)]='ts',_0x5589f6=_0x2aacc5['join']('.'),logger[_0x3b9fd6(0x213)](_0x53c8e6[_0x3b9fd6(0x254)](_0x53c8e6[_0x3b9fd6(0x211)],_0x5589f6));}else _0x461d5b=_0x3b9fd6(0x25e);const _0x19d42c=path['join'](_0x403e3b[_0x3b9fd6(0x23e)]?path['dirname'](_0x403e3b[_0x3b9fd6(0x23e)]):process[_0x3b9fd6(0x1fd)](),_0x5589f6);let _0x375dd6=_0x403e3b['path']?_0x403e3b[_0x3b9fd6(0x23e)]:'';_0x375dd6=_0x53c8e6['Dgddi'](_0x375dd6[_0x3b9fd6(0x249)],0x0)?path[_0x3b9fd6(0x1f4)](_0x375dd6):'',process[_0x3b9fd6(0x24a)][_0x3b9fd6(0x1ea)]=_0x375dd6;const _0x2f2bbb=helper[_0x3b9fd6(0x258)](_0x5763e1[_0x3b9fd6(0x1cb)]);_0x2f2bbb&&(_0x461d5b=_0x53c8e6[_0x3b9fd6(0x219)](_0x3b9fd6(0x204)+_0x2f2bbb+_0x3b9fd6(0x1ed),_0x461d5b));helper[_0x3b9fd6(0x26e)]({},_0x1a8aa7),fs[_0x3b9fd6(0x1d9)](_0x19d42c,_0x461d5b),PerformanceTester[_0x3b9fd6(0x23a)](PerformanceEvents[_0x3b9fd6(0x25d)]);const _0x2eb139=_0x53c8e6[_0x3b9fd6(0x245)](spawn,_0x53c8e6[_0x3b9fd6(0x20e)],[_0x53c8e6['icZXC'],_0x53c8e6[_0x3b9fd6(0x1fa)],_0x53c8e6['RzSLr'],_0x19d42c,..._0x1a8aa7[_0x3b9fd6(0x226)](0x2)],{'shell':_0x53c8e6[_0x3b9fd6(0x25c)](process[_0x3b9fd6(0x216)],_0x53c8e6['slmYc']),'stdio':_0x53c8e6[_0x3b9fd6(0x1d5)],'cwd':process[_0x3b9fd6(0x1fd)](),'env':Object[_0x3b9fd6(0x21a)]({},process[_0x3b9fd6(0x24a)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3b9fd6(0x1cc)](_0x10326a),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5763e1['config'][_0x3b9fd6(0x1e6)][_0x3b9fd6(0x259)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5763e1['config'][_0x3b9fd6(0x1e6)][_0x3b9fd6(0x24c)],'BROWSERSTACK_LOG_LEVEL':_0x5763e1[_0x3b9fd6(0x1cb)][_0x3b9fd6(0x252)]})}),_0x1d6c81=()=>{const _0x306f13=_0x3b9fd6;try{const _0xfa513e=path[_0x306f13(0x1d3)](helper[_0x306f13(0x1dc)](),_0x11bb02[_0x306f13(0x237)],_0x11bb02['PWqqZ']);if(fs[_0x306f13(0x26d)](_0xfa513e)){let _0x401db3=fs['readFileSync'](_0xfa513e);_0x401db3=JSON['parse'](_0x401db3),_0x5763e1['errorMessage']=_0x401db3,fs[_0x306f13(0x247)](_0xfa513e);}}catch(_0x434be2){logger[_0x306f13(0x213)](_0x11bb02[_0x306f13(0x1d2)](_0x11bb02['FpcKw'],_0x434be2));}};_0x2eb139['on'](_0x53c8e6[_0x3b9fd6(0x248)],async _0x155285=>{const _0x151432=_0x3b9fd6;try{PerformanceTester[_0x151432(0x268)](PerformanceEvents[_0x151432(0x24e)]),_0x11bb02[_0x151432(0x1e0)](_0x1d6c81);!BrowserstackCLI[_0x151432(0x271)]()[_0x151432(0x1ef)]()&&await TestHubHandler[_0x151432(0x1f1)]();await BrowserstackCLI[_0x151432(0x271)]()[_0x151432(0x1f1)](),TestDetails[_0x151432(0x210)](),_0x11bb02[_0x151432(0x266)](printBuildLink),await utilities[_0x151432(0x24d)](_0x5763e1),process[_0x151432(0x22c)]=_0x155285,logger['debug']('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x155285),logger[_0x151432(0x238)](_0x151432(0x234)+_0x19d42c),fs[_0x151432(0x247)](_0x19d42c);fs[_0x151432(0x26d)](_0x3be17b)&&(logger['debug'](_0x151432(0x234)+_0x3be17b),fs[_0x151432(0x247)](_0x3be17b));const _0x174f41=fs[_0x151432(0x225)](path[_0x151432(0x1d3)](helper[_0x151432(0x1dc)](),_0x11bb02[_0x151432(0x237)]))['filter'](_0x109d6b=>_0x109d6b['startsWith']('trace_'));_0x174f41['forEach'](_0x59f1df=>{const _0x480346=_0x151432;fs[_0x480346(0x247)](path[_0x480346(0x1d3)](helper[_0x480346(0x1dc)](),_0x11bb02['abMjB'],_0x59f1df));});}catch(_0x5e980f){logger[_0x151432(0x213)](_0x11bb02[_0x151432(0x1f7)](_0x11bb02['CljXj'],_0x5e980f));}});})();}function a36_0x14fd(_0xe3830f,_0xcdf350){const _0xdb5674=a36_0xdb56();return a36_0x14fd=function(_0x14fda2,_0xf5bea8){_0x14fda2=_0x14fda2-0x1c9;let _0x684ff2=_0xdb5674[_0x14fda2];return _0x684ff2;},a36_0x14fd(_0xe3830f,_0xcdf350);}module[a36_0x28f817(0x1ca)]=run;
2
+ 'use strict';const a38_0x2d1cd2=a38_0x3021;(function(_0x54c93b,_0x224d64){const _0x5f4c19=a38_0x3021,_0x5a7ae8=_0x54c93b();while(!![]){try{const _0x5c0f3f=-parseInt(_0x5f4c19(0x1ef))/0x1+parseInt(_0x5f4c19(0x256))/0x2+-parseInt(_0x5f4c19(0x1ed))/0x3+parseInt(_0x5f4c19(0x25a))/0x4*(parseInt(_0x5f4c19(0x1e8))/0x5)+parseInt(_0x5f4c19(0x237))/0x6*(parseInt(_0x5f4c19(0x272))/0x7)+parseInt(_0x5f4c19(0x251))/0x8*(parseInt(_0x5f4c19(0x1fd))/0x9)+-parseInt(_0x5f4c19(0x200))/0xa;if(_0x5c0f3f===_0x224d64)break;else _0x5a7ae8['push'](_0x5a7ae8['shift']());}catch(_0x12c779){_0x5a7ae8['push'](_0x5a7ae8['shift']());}}}(a38_0x5984,0x80453));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),{format}=require('util'),logger=require(a38_0x2d1cd2(0x1f1))[a38_0x2d1cd2(0x1e9)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a38_0x2d1cd2(0x23f)),utilities=require(a38_0x2d1cd2(0x24c)),constants=require(a38_0x2d1cd2(0x1f6)),{FRAMEWORKS}=require(a38_0x2d1cd2(0x24f)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a38_0x2d1cd2(0x1f9)),{setAccessibilityCapabilities}=require(a38_0x2d1cd2(0x261)),{printBuildLink}=require(a38_0x2d1cd2(0x229)),TestDetails=require(a38_0x2d1cd2(0x270)),TestHubHandler=require(a38_0x2d1cd2(0x262)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a38_0x2d1cd2(0x260)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],CLIUtils=require('../v2/cliUtils'),TestInfo=require('../v2/TestInfo'),getUserPlaywrightConfig=async(_0x24e3a7,_0x3830aa)=>{const _0x31948c=a38_0x2d1cd2,_0x4787b7={'AeqGv':function(_0x1e9015){return _0x1e9015();},'ZjAJq':function(_0x270332,_0x29f2d7){return _0x270332(_0x29f2d7);},'dEqIw':function(_0x11c888,_0x5b3a41){return _0x11c888(_0x5b3a41);},'VXjMv':_0x31948c(0x1f5),'GnjRr':'--config='},_0x145ada=!helper[_0x31948c(0x1ec)](_0x24e3a7[_0x31948c(0x24d)]),_0x104182=_0x145ada?path[_0x31948c(0x1d7)](process[_0x31948c(0x249)](),_0x24e3a7['config']):process[_0x31948c(0x249)](),{resolveConfigFile:_0xeba4c8,resolveConfigLocation:_0x185c68}=helper[_0x31948c(0x223)][_0x31948c(0x20d)](null,_0x4787b7[_0x31948c(0x24e)](getConfigLoaderPath)),_0x45a967=_0xeba4c8?_0x4787b7[_0x31948c(0x1f2)](_0xeba4c8,_0x104182):helper[_0x31948c(0x1d3)](_0x4787b7[_0x31948c(0x253)](_0x185c68,_0x104182),[_0x4787b7['VXjMv']]),_0x3d6a14={};if(_0x145ada){const _0x290502=_0x3830aa[_0x31948c(0x26e)](_0x4f4679=>_0x4f4679===_0x31948c(0x244)||_0x4f4679==='-c'||_0x4f4679['startsWith'](_0x31948c(0x228)));_0x3830aa[_0x31948c(0x243)](_0x290502,_0x3830aa[_0x290502]['startsWith'](_0x4787b7[_0x31948c(0x258)])?0x1:0x2);}const _0x5acc76={};return _0x5acc76['path']=_0x45a967,_0x5acc76[_0x31948c(0x24d)]=_0x3d6a14,_0x5acc76;},handleO11yRerun=_0xf755ce=>{const _0x4f9f4b=a38_0x2d1cd2,_0x547a19={};_0x547a19[_0x4f9f4b(0x231)]='--grep';const _0x31216e=_0x547a19,_0x3132a1=helper['isTrue'](process[_0x4f9f4b(0x221)]['BROWSERSTACK_RERUN']);if(_0x3132a1){const _0x284fc0=process[_0x4f9f4b(0x221)][_0x4f9f4b(0x1e2)],_0x828277=[];if(helper[_0x4f9f4b(0x254)](_0x284fc0)&&!helper[_0x4f9f4b(0x1ec)](_0x284fc0)){_0x284fc0['split'](',')[_0x4f9f4b(0x26c)](_0x6cc5e1=>{const _0x14cb96=_0x4f9f4b;_0x828277[_0x14cb96(0x227)]('('+_0x6cc5e1[_0x14cb96(0x25b)]()+')');});const _0x14e016='^'+_0x828277[_0x4f9f4b(0x1da)]('|')+'$';_0xf755ce['push'](_0x31216e[_0x4f9f4b(0x231)],_0x14e016);}}},spawnOriginalProcess=_0x406268=>{const _0x31389b=a38_0x2d1cd2,_0x5aab95={'xUqoP':function(_0x222c76,_0x239dd9,_0x2a5e9f,_0x2e0706){return _0x222c76(_0x239dd9,_0x2a5e9f,_0x2e0706);},'VQStQ':_0x31389b(0x1d5),'prxWE':_0x31389b(0x204),'gLFhO':function(_0x28cf5d,_0x25588a){return _0x28cf5d===_0x25588a;},'Iqhck':'win32','yMtVz':_0x31389b(0x220)};_0x5aab95['xUqoP'](spawn,_0x5aab95[_0x31389b(0x20f)],[_0x5aab95['prxWE'],..._0x406268[_0x31389b(0x269)](0x1)],{'shell':_0x5aab95[_0x31389b(0x1ee)](process[_0x31389b(0x1d6)],_0x5aab95['Iqhck']),'stdio':_0x5aab95[_0x31389b(0x245)],'cwd':process['cwd']()});},isTestCommand=(_0x30e03e,_0x556435)=>{const _0x39a156=a38_0x2d1cd2,_0x1a42a8={};_0x1a42a8[_0x39a156(0x24b)]=function(_0x2f9359,_0x36de5c){return _0x2f9359>_0x36de5c;},_0x1a42a8[_0x39a156(0x26f)]=function(_0x1323da,_0x4b82c5){return _0x1323da===_0x4b82c5;},_0x1a42a8[_0x39a156(0x20e)]=_0x39a156(0x22d);const _0x2df8c2=_0x1a42a8;if(_0x2df8c2['YtncV'](_0x556435[_0x39a156(0x215)],0x1)&&_0x2df8c2[_0x39a156(0x26f)](_0x556435[0x1],_0x2df8c2[_0x39a156(0x20e)]))return!![];return![];};async function run(_0x5f2a9f,_0x1f751b,_0x2781c3){const _0x59167c=a38_0x2d1cd2,_0x26599f={'YiNDk':_0x59167c(0x252),'LSjbi':_0x59167c(0x21e),'lFTUH':function(_0xa3821,_0x453c41){return _0xa3821+_0x453c41;},'QSwbu':_0x59167c(0x1fc),'groLk':function(_0x5bd66f){return _0x5bd66f();},'sgdds':function(_0x782b05){return _0x782b05();},'AnNVG':'Error\x20in\x20closing\x20playwright','KQcaF':function(_0x49c124,_0x27a94f){return _0x49c124(_0x27a94f);},'CoXfO':'BrowserStack\x20config\x20file\x20not\x20found.','rERQL':function(_0x28f156,_0x5320fd){return _0x28f156===_0x5320fd;},'BMdPx':'false','jObvU':'--disable-test-observability','wZPXi':function(_0x40a884,_0x54e8fc){return _0x40a884>=_0x54e8fc;},'yQwqC':_0x59167c(0x1e7),'XRkmY':function(_0x19f922,_0x49e687){return _0x19f922!=_0x49e687;},'JOdSA':function(_0x1f2fbc,_0x11a128,_0x5e5118){return _0x1f2fbc(_0x11a128,_0x5e5118);},'bdqdB':function(_0x501d12,_0x79f514){return _0x501d12(_0x79f514);},'WXPZZ':'true','srabz':function(_0x40085b,_0x3582a3){return _0x40085b(_0x3582a3);},'HvBkV':_0x59167c(0x1ea),'PZkVd':_0x59167c(0x1f0),'dPiDi':_0x59167c(0x265),'MEmhI':function(_0x527bf5,_0x60cbdd){return _0x527bf5-_0x60cbdd;},'ISwRR':function(_0x20dd41,_0x3f3669){return _0x20dd41+_0x3f3669;},'KmMqs':_0x59167c(0x1dd),'UeEis':function(_0x1666d4,_0x392412){return _0x1666d4>_0x392412;},'fDwFv':function(_0x254049,_0x5bf360,_0x22b626,_0x4a97f2){return _0x254049(_0x5bf360,_0x22b626,_0x4a97f2);},'jFhnC':_0x59167c(0x1d5),'zhYqK':'playwright','UbGGr':'test','XyOfU':_0x59167c(0x244),'nDbBy':function(_0x5ccb96,_0x59a516){return _0x5ccb96===_0x59a516;},'htquW':_0x59167c(0x25e),'DmXGK':_0x59167c(0x220),'ZsVeq':_0x59167c(0x26b),'NFzeO':function(_0x30110f,_0x43dfa8){return _0x30110f+_0x43dfa8;},'sSgwo':'Error\x20in\x20deleting\x20playwright\x20results'};try{const _0x44c19d=path[_0x59167c(0x1da)](helper[_0x59167c(0x247)](),_0x26599f[_0x59167c(0x1db)],_0x26599f[_0x59167c(0x241)]);fs[_0x59167c(0x1de)](_0x44c19d)&&fs['unlinkSync'](_0x44c19d);}catch(_0x4a2f16){logger[_0x59167c(0x21b)](_0x26599f[_0x59167c(0x239)](_0x26599f[_0x59167c(0x24a)],_0x4a2f16));}if(!_0x26599f[_0x59167c(0x235)](isTestCommand,_0x5f2a9f,_0x1f751b)){_0x26599f['srabz'](spawnOriginalProcess,_0x1f751b);return;}await PerformanceTester['measureWrapper'](PerformanceEvents[_0x59167c(0x238)],async()=>{const _0x5d3fb0=_0x59167c,_0x10a586={'aAYin':function(_0x1f9cea,_0x46786e){const _0x587ea9=a38_0x3021;return _0x26599f[_0x587ea9(0x21a)](_0x1f9cea,_0x46786e);}};if(!_0x2781c3[_0x5d3fb0(0x24d)]){logger['error'](_0x26599f[_0x5d3fb0(0x1d8)]);return;}await _0x2781c3[_0x5d3fb0(0x250)](_0x5f2a9f),CLIUtils[_0x5d3fb0(0x23a)](FRAMEWORKS[_0x5d3fb0(0x1e0)],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI['getInstance']()[_0x5d3fb0(0x234)](_0x2781c3['config'],_0x2781c3[_0x5d3fb0(0x264)]),await BrowserstackCLI[_0x5d3fb0(0x21c)]()[_0x5d3fb0(0x230)]();const _0x135f45=BrowserstackCLI['getInstance']()[_0x5d3fb0(0x213)]();!helper[_0x5d3fb0(0x1f4)](_0x135f45[_0x5d3fb0(0x216)])&&(process[_0x5d3fb0(0x221)][_0x5d3fb0(0x246)]=!![]);_0x26599f[_0x5d3fb0(0x25c)](_0x135f45[_0x5d3fb0(0x216)],![])&&(process[_0x5d3fb0(0x221)][_0x5d3fb0(0x246)]=_0x26599f[_0x5d3fb0(0x25d)],_0x1f751b=_0x1f751b[_0x5d3fb0(0x23b)](_0x5cd4b5=>_0x5cd4b5!==_0x5d3fb0(0x217)));const _0xfd5dca=_0x1f751b[_0x5d3fb0(0x1fa)](_0x26599f[_0x5d3fb0(0x219)]);(_0x26599f[_0x5d3fb0(0x1e3)](_0xfd5dca,0x0)||_0x26599f[_0x5d3fb0(0x25c)](_0x135f45[_0x5d3fb0(0x225)],![]))&&(process[_0x5d3fb0(0x221)][_0x5d3fb0(0x23e)]=_0x26599f[_0x5d3fb0(0x25d)],_0x1f751b=_0x1f751b['filter'](_0x2e92d1=>_0x2e92d1!==_0x5d3fb0(0x267)));!helper['isUndefined'](_0x2781c3[_0x5d3fb0(0x264)])&&_0x2781c3[_0x5d3fb0(0x264)]['has'](_0x26599f[_0x5d3fb0(0x240)])&&(process[_0x5d3fb0(0x221)][_0x5d3fb0(0x246)]=_0x2781c3['cliConfig'][_0x5d3fb0(0x236)](_0x26599f[_0x5d3fb0(0x240)])||!![]);_0x26599f['XRkmY'](_0x2781c3['config'][_0x5d3fb0(0x225)],null)&&!helper[_0x5d3fb0(0x208)](process[_0x5d3fb0(0x221)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process['env'][_0x5d3fb0(0x23e)]=process[_0x5d3fb0(0x221)][_0x5d3fb0(0x23e)]||_0x2781c3[_0x5d3fb0(0x24d)][_0x5d3fb0(0x225)]);const _0x21892c=!helper['isFalse'](process['env'][_0x5d3fb0(0x23e)]);_0x2781c3['config']['accessibilityOptions']&&(process[_0x5d3fb0(0x221)][_0x5d3fb0(0x1f3)]=JSON['stringify'](_0x2781c3[_0x5d3fb0(0x24d)]['accessibilityOptions']));let _0x572c95=![];_0x2781c3[_0x5d3fb0(0x24d)][_0x5d3fb0(0x1d9)]&&(_0x572c95=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2781c3[_0x5d3fb0(0x24d)]['accessibility']);const _0x39c164=_0x1f751b[_0x5d3fb0(0x20a)](),_0x40f789=await _0x26599f[_0x5d3fb0(0x235)](getUserPlaywrightConfig,_0x5f2a9f,_0x1f751b);if(helper[_0x5d3fb0(0x1ec)](_0x40f789)){_0x26599f[_0x5d3fb0(0x1ff)](spawnOriginalProcess,_0x39c164);return;}const _0x2d0848=_0x40f789[_0x5d3fb0(0x263)]?path[_0x5d3fb0(0x224)](_0x40f789[_0x5d3fb0(0x263)]):process[_0x5d3fb0(0x249)]();process[_0x5d3fb0(0x221)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x2d0848,await PerformanceTester[_0x5d3fb0(0x1f7)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x3d44b4=_0x5d3fb0;!BrowserstackCLI[_0x3d44b4(0x21c)]()[_0x3d44b4(0x22c)]()&&await TestHubHandler[_0x3d44b4(0x206)](FRAMEWORKS[_0x3d44b4(0x1e0)],_0x2781c3),_0x21892c&&_0x10a586[_0x3d44b4(0x1df)](handleO11yRerun,_0x1f751b);})();if(!BrowserstackCLI[_0x5d3fb0(0x21c)]()[_0x5d3fb0(0x22c)]()){let _0x78b020=_0x26599f[_0x5d3fb0(0x25c)](process[_0x5d3fb0(0x221)][_0x5d3fb0(0x248)],_0x26599f['WXPZZ']);_0x78b020=_0x78b020||_0x26599f[_0x5d3fb0(0x1dc)](checkAccessibilityPlatformConfig,_0x2781c3[_0x5d3fb0(0x24d)]),process[_0x5d3fb0(0x221)][_0x5d3fb0(0x248)]=_0x78b020,_0x78b020&&_0x26599f[_0x5d3fb0(0x1ff)](setAccessibilityCapabilities,_0x2781c3[_0x5d3fb0(0x24d)]);}const _0x24589d=path[_0x5d3fb0(0x1da)](_0x40f789[_0x5d3fb0(0x263)]?path[_0x5d3fb0(0x224)](_0x40f789[_0x5d3fb0(0x263)]):process[_0x5d3fb0(0x249)](),_0x26599f[_0x5d3fb0(0x25f)]);fs[_0x5d3fb0(0x218)](_0x24589d,helper[_0x5d3fb0(0x202)](_0x2781c3[_0x5d3fb0(0x24d)])),process[_0x5d3fb0(0x221)][_0x5d3fb0(0x210)]=_0x24589d,helper[_0x5d3fb0(0x26a)]();let _0x3cd50e='';_0x26599f['rERQL'](helper[_0x5d3fb0(0x1d2)](),constants[_0x5d3fb0(0x211)][_0x5d3fb0(0x1e5)])?_0x3cd50e=_0x26599f[_0x5d3fb0(0x1f8)]:_0x3cd50e=_0x26599f[_0x5d3fb0(0x21f)];let _0x36b7c2='';if(helper['isTypescriptProject'](_0x40f789[_0x5d3fb0(0x263)])){_0x36b7c2='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x121a63=_0x3cd50e['split']('.');_0x121a63[_0x26599f['MEmhI'](_0x121a63['length'],0x1)]='ts',_0x3cd50e=_0x121a63[_0x5d3fb0(0x1da)]('.'),logger['debug'](_0x26599f[_0x5d3fb0(0x209)](_0x26599f[_0x5d3fb0(0x1e1)],_0x3cd50e));}else _0x36b7c2='\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 _0x2099b0=path[_0x5d3fb0(0x1da)](_0x40f789['path']?path[_0x5d3fb0(0x224)](_0x40f789['path']):process[_0x5d3fb0(0x249)](),_0x3cd50e);let _0x573f2a=_0x40f789[_0x5d3fb0(0x263)]?_0x40f789[_0x5d3fb0(0x263)]:'';_0x573f2a=_0x26599f[_0x5d3fb0(0x1fb)](_0x573f2a['length'],0x0)?path[_0x5d3fb0(0x1d7)](_0x573f2a):'',process[_0x5d3fb0(0x221)]['USER_CONFIG_DETAILS_PATH']=_0x573f2a;const _0x78d7=helper[_0x5d3fb0(0x22a)](_0x2781c3[_0x5d3fb0(0x24d)]);_0x78d7&&(_0x36b7c2=_0x26599f[_0x5d3fb0(0x233)](_0x5d3fb0(0x23d)+_0x78d7+_0x5d3fb0(0x20c),_0x36b7c2));helper['filterBrowserstackArgs']({},_0x1f751b),fs[_0x5d3fb0(0x218)](_0x2099b0,_0x36b7c2),PerformanceTester['end'](PerformanceEvents[_0x5d3fb0(0x1e4)]);const _0xbd1ab2=_0x26599f[_0x5d3fb0(0x1e6)](spawn,_0x26599f[_0x5d3fb0(0x20b)],[_0x26599f[_0x5d3fb0(0x203)],_0x26599f[_0x5d3fb0(0x259)],_0x26599f['XyOfU'],_0x2099b0,..._0x1f751b['slice'](0x2)],{'shell':_0x26599f['nDbBy'](process[_0x5d3fb0(0x1d6)],_0x26599f[_0x5d3fb0(0x201)]),'stdio':_0x26599f['DmXGK'],'cwd':process['cwd'](),'env':Object['assign']({},process[_0x5d3fb0(0x221)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x5d3fb0(0x1fe)](_0x5f2a9f),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x2781c3['config'][_0x5d3fb0(0x21d)][_0x5d3fb0(0x22f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x2781c3[_0x5d3fb0(0x24d)]['testContextOptions']['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x2781c3['config'][_0x5d3fb0(0x255)]})}),_0x5614bb=()=>{const _0x5cb943=_0x5d3fb0;try{const _0x38eb7a=path[_0x5cb943(0x1da)](helper[_0x5cb943(0x247)](),_0x26599f[_0x5cb943(0x1db)],_0x26599f[_0x5cb943(0x241)]);if(fs['existsSync'](_0x38eb7a)){let _0xe38172=fs[_0x5cb943(0x222)](_0x38eb7a);_0xe38172=JSON['parse'](_0xe38172),_0x2781c3['errorMessage']=_0xe38172,fs[_0x5cb943(0x242)](_0x38eb7a);}}catch(_0xe44620){logger[_0x5cb943(0x21b)](_0x26599f[_0x5cb943(0x233)](_0x26599f[_0x5cb943(0x1d4)],_0xe44620));}};_0xbd1ab2['on'](_0x26599f[_0x5d3fb0(0x266)],async _0xc6ba13=>{const _0x5163f9=_0x5d3fb0,_0x36db3b={};_0x36db3b['TxRJm']=_0x26599f[_0x5163f9(0x1db)];const _0x3986df=_0x36db3b;try{PerformanceTester[_0x5163f9(0x271)](PerformanceEvents[_0x5163f9(0x23c)]),_0x26599f[_0x5163f9(0x22e)](_0x5614bb);!BrowserstackCLI[_0x5163f9(0x21c)]()[_0x5163f9(0x22c)]()&&await TestHubHandler[_0x5163f9(0x205)]();await BrowserstackCLI['getInstance']()[_0x5163f9(0x205)](),TestDetails[_0x5163f9(0x232)](),_0x26599f[_0x5163f9(0x226)](printBuildLink),await utilities[_0x5163f9(0x1eb)](_0x2781c3),process[_0x5163f9(0x207)]=_0xc6ba13,logger[_0x5163f9(0x21b)](_0x5163f9(0x22b)+_0xc6ba13),logger['info']('Deleting\x20'+_0x2099b0),fs[_0x5163f9(0x242)](_0x2099b0);fs[_0x5163f9(0x1de)](_0x24589d)&&(logger[_0x5163f9(0x21b)]('Deleting\x20'+_0x24589d),fs[_0x5163f9(0x242)](_0x24589d));const _0x14e818=fs[_0x5163f9(0x212)](path[_0x5163f9(0x1da)](helper[_0x5163f9(0x247)](),_0x26599f[_0x5163f9(0x1db)]))['filter'](_0x4b39ba=>_0x4b39ba['startsWith']('trace_'));_0x14e818[_0x5163f9(0x257)](_0x301ea3=>{const _0x4c7e05=_0x5163f9;fs['unlinkSync'](path[_0x4c7e05(0x1da)](helper[_0x4c7e05(0x247)](),_0x3986df[_0x4c7e05(0x268)],_0x301ea3));});}catch(_0x208f33){logger[_0x5163f9(0x21b)](_0x26599f['lFTUH'](_0x26599f[_0x5163f9(0x26d)],_0x208f33));}});})();}function a38_0x5984(){const _0x590d39=['wZPXi','SDK_SETUP','MODULE','fDwFv','automation','155WmWFVq','winstonLogger','browserstackSetupConfig.json','finalExecution','isUndefined','1853949sVtLNL','gLFhO','515539RUhUWY','playwright-browserstack-sdk.config.cjs','../../helpers/logger','ZjAJq','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isFalse','resolvedConfigFile','../utils/constants','measureWrapper','PZkVd','../../helpers/accessibility-automation/helper','indexOf','UeEis','Error\x20in\x20getting\x20funnel\x20data\x20results','301626xTNJrU','getConfigPath','bdqdB','4626550KYtsln','htquW','serializeToYamlString','zhYqK','playwright','stop','launchBuild','exitCode','isTrue','ISwRR','concat','jFhnC','\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();','apply','hKacz','VQStQ','BROWSERSTACK_SETUP_CONFIG_PATH','PACKAGE_TYPE','readdirSync','getConfig','exports','length','browserstackAutomation','--disable-browserstack-automation','writeFileSync','jObvU','KQcaF','debug','getInstance','testContextOptions','pw_result.json','dPiDi','inherit','env','readFileSync','requirePWModule','dirname','testObservability','sgdds','push','--config=','../../helpers/test-observability/utils','getProxyUrl','Playwright\x20process\x20exited\x20with\x20code\x20','isRunning','test','groLk','skipSessionStatus','bootstrap','yEOVi','shutdown','lFTUH','setBrowserstackConfig','JOdSA','get','258oDvmmq','SDK_PRE_INITIALIZE','NFzeO','setFrameworkDetail','filter','SDK_CLEANUP','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/helper','yQwqC','LSjbi','unlinkSync','splice','--config','yMtVz','BROWSERSTACK_AUTOMATION','homedir','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cwd','sSgwo','YtncV','../../helpers/utilities','config','AeqGv','../../helpers/test-observability/constants','initialize','192PnWMsd','.browserstack','dEqIw','validateRerunTestList','logLevel','1738308ApaASa','forEach','GnjRr','UbGGr','43996WqgtGq','trim','rERQL','BMdPx','win32','HvBkV','../v2/browserstackCLI','./accessibility-helper','../../helpers/testhub/testhubHandler','path','cliConfig','playwright-browserstack-sdk.config.js','ZsVeq','--disable-test-observability','TxRJm','slice','clearTempPWConfig','close','map','AnNVG','findIndex','NZLsY','./reporter/test-details','start','17437jGWXhz','getPackageType','nestedKeyValue','QSwbu','npx','platform','resolve','CoXfO','accessibility','join','YiNDk','srabz','Updated\x20config\x20file\x20name\x20to\x20-\x20','existsSync','aAYin','PLAYWRIGHT','KmMqs','BROWSERSTACK_RERUN_TESTS'];a38_0x5984=function(){return _0x590d39;};return a38_0x5984();}function a38_0x3021(_0x218af1,_0x53a9aa){const _0x5984d0=a38_0x5984();return a38_0x3021=function(_0x302117,_0x5aec4e){_0x302117=_0x302117-0x1d2;let _0x3429ad=_0x5984d0[_0x302117];return _0x3429ad;},a38_0x3021(_0x218af1,_0x53a9aa);}module[a38_0x2d1cd2(0x214)]=run;
@@ -1 +1 @@
1
- const a37_0x23352b=a37_0x5003;(function(_0x2855c1,_0x4c9713){const _0x2168ab=a37_0x5003,_0x4643b9=_0x2855c1();while(!![]){try{const _0xd941f2=parseInt(_0x2168ab(0x1d0))/0x1+-parseInt(_0x2168ab(0x1d4))/0x2+-parseInt(_0x2168ab(0x1d5))/0x3*(parseInt(_0x2168ab(0x1bb))/0x4)+-parseInt(_0x2168ab(0x1df))/0x5+-parseInt(_0x2168ab(0x1c3))/0x6+parseInt(_0x2168ab(0x1db))/0x7*(-parseInt(_0x2168ab(0x1c8))/0x8)+-parseInt(_0x2168ab(0x1dc))/0x9*(-parseInt(_0x2168ab(0x1d7))/0xa);if(_0xd941f2===_0x4c9713)break;else _0x4643b9['push'](_0x4643b9['shift']());}catch(_0x43206b){_0x4643b9['push'](_0x4643b9['shift']());}}}(a37_0x46e8,0x68437));function a37_0x46e8(){const _0xeae6ab=['Path\x20','PLAYWRIGHT','env','./mock-process.js','Running\x20existing\x20global\x20setup','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','util','../../helpers/test-observability/utils','winstonLogger','isHandlePWErrorSet','1060vQURxM','emIiA','./reporter/pwUtils','DrYgJ','jhDhB','\x20is\x20not\x20found','vpUBl','config','1077564sHwoNa','lBCTr','Hvrzk','format','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','8DDmeNT','exports','requirePWModule','Call\x20to\x20child\x20fork\x20with\x20args\x20','resolve','VixXP','ZBjXK','toString','235537XYvVkx','1.33.0','compareVersions','apply','282538ftaSTu','327dxVsNk','debug','8830jEUXEf','RncZZ','../../helpers/logger','fork','1822107KEIjAA','14184SNuBUQ','includes','RNtvu','2950165noKuig','vLush'];a37_0x46e8=function(){return _0xeae6ab;};return a37_0x46e8();}const util=require(a37_0x23352b(0x1b7)),child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a37_0x23352b(0x1b8)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a37_0x23352b(0x1bd)),{mockIsWorkerRedundant}=require('./patches'),logger=require(a37_0x23352b(0x1d9))[a37_0x23352b(0x1b9)];function a37_0x5003(_0x241007,_0x156b7a){const _0x46e855=a37_0x46e8();return a37_0x5003=function(_0x500317,_0x108296){_0x500317=_0x500317-0x1b5;let _0x35f7d1=_0x46e855[_0x500317];return _0x35f7d1;},a37_0x5003(_0x241007,_0x156b7a);}module[a37_0x23352b(0x1c9)]=async function(_0x4656be){const _0x417f91=a37_0x23352b,_0x5cac8a={'VixXP':function(_0x482303,_0x285451){return _0x482303(_0x285451);},'jhDhB':function(_0x40a3a7){return _0x40a3a7();},'ZBjXK':_0x417f91(0x1e4),'vpUBl':function(_0x59f8fc){return _0x59f8fc();},'emIiA':function(_0x29e435,_0x2998fa){return _0x29e435(_0x2998fa);},'vLush':_0x417f91(0x1b5),'lfZdq':function(_0x50b4c9,_0x44a863){return _0x50b4c9(_0x44a863);},'StbKL':function(_0x560472,_0xf98c8c){return _0x560472>=_0xf98c8c;},'lBCTr':_0x417f91(0x1d1),'RNtvu':function(_0x41508e,_0x5cb908,_0x2c28c0){return _0x41508e(_0x5cb908,_0x2c28c0);},'DrYgJ':function(_0x245fca,_0x29d57e){return _0x245fca!==_0x29d57e;},'Hvrzk':'function','RncZZ':'Not\x20able\x20to\x20import\x20globalSetup'},_0x4a114f=child_process[_0x417f91(0x1da)];if(helper[_0x417f91(0x1ba)]())try{_0x5cac8a[_0x417f91(0x1c1)](mockIsWorkerRedundant);}catch(_0x40ce7d){logger[_0x417f91(0x1d6)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x417f91(0x1c6)](_0x40ce7d));}child_process['fork']=function(){const _0x592d80=_0x417f91;return _0x5cac8a[_0x592d80(0x1cd)](debug,_0x592d80(0x1cb)+arguments[0x0]),arguments[0x0][_0x592d80(0x1dd)](_0x5cac8a['jhDhB'](getForkProcessPath))?arguments[0x0]=require[_0x592d80(0x1cc)](_0x5cac8a[_0x592d80(0x1ce)]):logger['error'](_0x592d80(0x1e1)+_0x5cac8a[_0x592d80(0x1bf)](getForkProcessPath)+_0x592d80(0x1c0)),_0x4a114f['apply'](null,arguments);};if(process[_0x417f91(0x1e3)][_0x417f91(0x1b6)]){_0x5cac8a['emIiA'](debug,_0x5cac8a[_0x417f91(0x1e0)]);try{const {loadGlobalHook:_0x22e977}=helper[_0x417f91(0x1ca)][_0x417f91(0x1d3)](null,_0x5cac8a['vpUBl'](getLoadUtilsPath)),_0x38ef00=_0x5cac8a['lfZdq'](getFrameworkVersion,FRAMEWORKS[_0x417f91(0x1e2)]);let _0x2bbfd2=_0x4656be;if(_0x5cac8a['StbKL'](helper[_0x417f91(0x1d2)](_0x38ef00,_0x5cac8a[_0x417f91(0x1c4)]),0x0)){const _0x5bced5={};_0x5bced5[_0x417f91(0x1c2)]=_0x4656be,_0x2bbfd2=_0x5bced5;}const _0x21ffbf=await _0x5cac8a[_0x417f91(0x1de)](_0x22e977,_0x2bbfd2,process[_0x417f91(0x1e3)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x5cac8a[_0x417f91(0x1be)](typeof _0x21ffbf,_0x5cac8a[_0x417f91(0x1c5)]))throw new Error(_0x5cac8a[_0x417f91(0x1d8)]);return _0x21ffbf[_0x417f91(0x1d3)](null,arguments);}catch(_0x49b3fb){_0x5cac8a[_0x417f91(0x1bc)](debug,_0x417f91(0x1c7)+_0x49b3fb[_0x417f91(0x1cf)]());}}};
1
+ function a39_0x142b(){const _0x1b5501=['ScMOX','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','HyhSt','PLAYWRIGHT','error','oMzRy','DRSoa','includes','2dAYFWE','8465KDaNWY','./patches','cRFAS','DVgET','kQsgw','491384IGzqrp','winstonLogger','isHandlePWErrorSet','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','Running\x20existing\x20global\x20setup','KNmdC','LJcGn','exports','129231UIbsyY','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','compareVersions','debug','env','requirePWModule','function','config','1.33.0','Not\x20able\x20to\x20import\x20globalSetup','1293896kmcFIT','186pNZxzX','18wEQQpT','toString','format','./reporter/pwUtils','./mock-process.js','frmDK','329990miwmYs','util','../../helpers/test-observability/constants','fork','WLgPJ','900564IFietv','Kkxqf','Call\x20to\x20child\x20fork\x20with\x20args\x20','Znedr','child_process','582483GIABEP','apply'];a39_0x142b=function(){return _0x1b5501;};return a39_0x142b();}function a39_0x7881(_0x4571e1,_0x9d4f18){const _0x142b05=a39_0x142b();return a39_0x7881=function(_0x7881ff,_0x53f8b5){_0x7881ff=_0x7881ff-0xf1;let _0x152925=_0x142b05[_0x7881ff];return _0x152925;},a39_0x7881(_0x4571e1,_0x9d4f18);}const a39_0x3ad307=a39_0x7881;(function(_0x2e45d9,_0x716302){const _0x3ee65e=a39_0x7881,_0x3cb04a=_0x2e45d9();while(!![]){try{const _0x31d4a2=-parseInt(_0x3ee65e(0x123))/0x1+parseInt(_0x3ee65e(0x115))/0x2*(parseInt(_0x3ee65e(0x10b))/0x3)+-parseInt(_0x3ee65e(0x11b))/0x4+-parseInt(_0x3ee65e(0x116))/0x5*(parseInt(_0x3ee65e(0xfa))/0x6)+parseInt(_0x3ee65e(0x106))/0x7+parseInt(_0x3ee65e(0xf9))/0x8+parseInt(_0x3ee65e(0xfb))/0x9*(-parseInt(_0x3ee65e(0x101))/0xa);if(_0x31d4a2===_0x716302)break;else _0x3cb04a['push'](_0x3cb04a['shift']());}catch(_0x2e1664){_0x3cb04a['push'](_0x3cb04a['shift']());}}}(a39_0x142b,0x1bd48));const util=require(a39_0x3ad307(0x102)),child_process=require(a39_0x3ad307(0x10a)),{FRAMEWORKS}=require(a39_0x3ad307(0x103)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a39_0x3ad307(0xfe)),{mockIsWorkerRedundant}=require(a39_0x3ad307(0x117)),logger=require('../../helpers/logger')[a39_0x3ad307(0x11c)];module[a39_0x3ad307(0x122)]=async function(_0x3a7535){const _0x4df2b6=a39_0x3ad307,_0x3bf862={'LJcGn':function(_0x4573fa,_0x12f67e){return _0x4573fa(_0x12f67e);},'HyhSt':function(_0xeb708a){return _0xeb708a();},'KNmdC':_0x4df2b6(0xff),'yZVLJ':function(_0x103b0e){return _0x103b0e();},'Kkxqf':function(_0xe874c3){return _0xe874c3();},'LLrxm':function(_0x2dc29a,_0x4cd923){return _0x2dc29a(_0x4cd923);},'cRFAS':_0x4df2b6(0x11f),'WLgPJ':function(_0x28e28b){return _0x28e28b();},'oMzRy':function(_0x565d19,_0x3e696f){return _0x565d19>=_0x3e696f;},'DVgET':_0x4df2b6(0xf7),'Znedr':function(_0x43acac,_0x429760,_0x56892c){return _0x43acac(_0x429760,_0x56892c);},'kQsgw':function(_0x596ed6,_0x1edded){return _0x596ed6!==_0x1edded;},'ScMOX':_0x4df2b6(0xf5),'frmDK':_0x4df2b6(0xf8),'DRSoa':function(_0x38b388,_0x6dea84){return _0x38b388(_0x6dea84);}},_0x14133c=child_process[_0x4df2b6(0x104)];if(helper[_0x4df2b6(0x11d)]())try{_0x3bf862[_0x4df2b6(0x107)](mockIsWorkerRedundant);}catch(_0x4a5081){logger[_0x4df2b6(0xf2)](_0x4df2b6(0x10e)+util[_0x4df2b6(0xfd)](_0x4a5081));}child_process[_0x4df2b6(0x104)]=function(){const _0x41711d=_0x4df2b6;return _0x3bf862['LJcGn'](debug,_0x41711d(0x108)+arguments[0x0]),arguments[0x0][_0x41711d(0x114)](_0x3bf862[_0x41711d(0x10f)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x3bf862[_0x41711d(0x120)]):logger[_0x41711d(0x111)]('Path\x20'+_0x3bf862['yZVLJ'](getForkProcessPath)+'\x20is\x20not\x20found'),_0x14133c[_0x41711d(0x10c)](null,arguments);};if(process['env'][_0x4df2b6(0x124)]){_0x3bf862['LLrxm'](debug,_0x3bf862[_0x4df2b6(0x118)]);try{const {loadGlobalHook:_0x1d4931}=helper[_0x4df2b6(0xf4)][_0x4df2b6(0x10c)](null,_0x3bf862[_0x4df2b6(0x105)](getLoadUtilsPath)),_0x1726c=_0x3bf862[_0x4df2b6(0x121)](getFrameworkVersion,FRAMEWORKS[_0x4df2b6(0x110)]);let _0x41e1aa=_0x3a7535;if(_0x3bf862[_0x4df2b6(0x112)](helper[_0x4df2b6(0xf1)](_0x1726c,_0x3bf862[_0x4df2b6(0x119)]),0x0)){const _0x336af4={};_0x336af4[_0x4df2b6(0xf6)]=_0x3a7535,_0x41e1aa=_0x336af4;}const _0x525196=await _0x3bf862[_0x4df2b6(0x109)](_0x1d4931,_0x41e1aa,process[_0x4df2b6(0xf3)][_0x4df2b6(0x124)]);if(_0x3bf862[_0x4df2b6(0x11a)](typeof _0x525196,_0x3bf862[_0x4df2b6(0x10d)]))throw new Error(_0x3bf862[_0x4df2b6(0x100)]);return _0x525196[_0x4df2b6(0x10c)](null,arguments);}catch(_0x5e9c95){_0x3bf862[_0x4df2b6(0x113)](debug,_0x4df2b6(0x11e)+_0x5e9c95[_0x4df2b6(0xfc)]());}}};