browserstack-node-sdk 1.40.0 → 1.40.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +2 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test_before.setup.js +1 -1
  67. package/src/bin/launcher/launcher.js +1 -1
  68. package/src/bin/load/index.js +1 -1
  69. package/src/bin/load/load/index.js +46 -27
  70. package/src/bin/load/load/loadUtils.js +37 -31
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/processHelper.js +1 -1
  154. package/src/helpers/request-spy.js +1 -1
  155. package/src/helpers/setKeepAlive.js +1 -1
  156. package/src/helpers/test-observability/constants.js +1 -1
  157. package/src/helpers/test-observability/error-handler.js +1 -1
  158. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  159. package/src/helpers/test-observability/sessionHandler.js +1 -1
  160. package/src/helpers/test-observability/utils.js +1 -1
  161. package/src/helpers/test-orchestration/constants.js +1 -1
  162. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  163. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  164. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  165. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  166. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  167. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  168. package/src/helpers/testhub/constants.js +1 -1
  169. package/src/helpers/testhub/testhubHandler.js +1 -1
  170. package/src/helpers/testhub/utils.js +1 -1
  171. package/src/helpers/timeoutPromise.js +1 -1
  172. package/src/helpers/utilities.js +1 -1
  173. package/src/helpers/w3cMapping.js +1 -1
  174. package/src/hubAllocationMethods.js +1 -1
  175. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a34_0x5aeaa5=a34_0x1ac0;function a34_0x4554(){const _0x57de46=['Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','fqRqB','vPWXO','KFryx','_afterEach','toJSON','yEVcZ','_beforeEach','JYfKV','BdRJv','TIrzK','filter','parent','YepEo','indexOf','xphGU','TsazK','js-','__cloud_provider___','browserstack','hook:','../../../helpers/testhub/utils','VbKNm','lGXyh','split','1945cHPTRT','yxneR','384292kZlQbM','string','getTestEnv','substring','push','forEach','failed','state','getSession','DTKjR','SVpqV','reduce','sendPlatformDetails','getHookSkippedTests','markedStatus','pending','unknown_grid','map_','../../utils/logPatcher','DTmQQ','get','mapTestHooks','hookAnalyticsId','VZWKz','WdUDh','778452RsmxGt','uuid','fromEntries','806562Hxujbq','pid','../../../helpers/helper','bPzjL','BcAWz','_afterAll','emit','generic','concat','toISOString','_beforeAll','getHooksForTest','bs:addPlatformDetails:','Mnuji','lJQxD','56KhTHsN','suites','../../../helpers/test-observability/utils','hook','yuMJu','438592DhwoAZ','slice','NcOuV','getCapabilities','platformVersion','wlppq','44282PqIfRj','qTcOy','332313CMZbmQ'];a34_0x4554=function(){return _0x57de46;};return a34_0x4554();}(function(_0x40bc32,_0x52627a){const _0x2b3c01=a34_0x1ac0,_0x495bbc=_0x40bc32();while(!![]){try{const _0x18f5cb=parseInt(_0x2b3c01(0x21d))/0x1+-parseInt(_0x2b3c01(0x239))/0x2+-parseInt(_0x2b3c01(0x1fe))/0x3+parseInt(_0x2b3c01(0x215))/0x4+parseInt(_0x2b3c01(0x237))/0x5+parseInt(_0x2b3c01(0x201))/0x6+-parseInt(_0x2b3c01(0x21b))/0x7*(-parseInt(_0x2b3c01(0x210))/0x8);if(_0x18f5cb===_0x52627a)break;else _0x495bbc['push'](_0x495bbc['shift']());}catch(_0x5a0dcb){_0x495bbc['push'](_0x495bbc['shift']());}}}(a34_0x4554,0x295d5));function a34_0x1ac0(_0xfd789d,_0x32acf4){const _0x455405=a34_0x4554();return a34_0x1ac0=function(_0x1ac0e6,_0x22cdf1){_0x1ac0e6=_0x1ac0e6-0x1ef;let _0x249514=_0x455405[_0x1ac0e6];return _0x249514;},a34_0x1ac0(_0xfd789d,_0x32acf4);}const {v4:uuidv4}=require(a34_0x5aeaa5(0x1ff)),{name,version}=require('../../../../package.json'),logPatcher=require(a34_0x5aeaa5(0x1f7)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a34_0x5aeaa5(0x212)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a34_0x5aeaa5(0x203)),{shouldProcessEventForTesthub}=require(a34_0x5aeaa5(0x233)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a34_0x5aeaa5(0x212));patchConsoleLogger(),exports[a34_0x5aeaa5(0x23b)]=()=>{const _0x284042=a34_0x5aeaa5,_0x514518={'NJMvH':_0x284042(0x208),'flSbO':function(_0x10f1a1){return _0x10f1a1();}};return{'ci':_0x514518['NJMvH'],'key':_0x514518['flSbO'](uuidv4),'version':version,'collector':_0x284042(0x22f)+name};},exports['getHookDetails']=_0x411fb1=>{const _0x352e2f=a34_0x5aeaa5,_0x3c987f={};_0x3c987f['fqRqB']=function(_0x44902b,_0x1c4ed2){return _0x44902b!==_0x1c4ed2;},_0x3c987f[_0x352e2f(0x224)]=_0x352e2f(0x23a),_0x3c987f[_0x352e2f(0x22e)]=_0x352e2f(0x232),_0x3c987f['xphGU']=_0x352e2f(0x213);const _0x5ade94=_0x3c987f;if(!_0x411fb1||_0x5ade94[_0x352e2f(0x21f)](typeof _0x411fb1,_0x5ade94[_0x352e2f(0x224)]))return[null,null];if(_0x5ade94[_0x352e2f(0x21f)](_0x411fb1[_0x352e2f(0x22c)](_0x5ade94[_0x352e2f(0x22e)]),-0x1)){const _0x58ee34=_0x411fb1['split'](_0x5ade94[_0x352e2f(0x22e)]);return[_0x58ee34[0x0][_0x352e2f(0x216)](0x0,-0x1)[_0x352e2f(0x236)]('\x22')[0x1],_0x58ee34[0x1][_0x352e2f(0x23c)](0x1)];}else{if(_0x5ade94['fqRqB'](_0x411fb1['indexOf'](_0x5ade94[_0x352e2f(0x22d)]),-0x1)){const _0x101952=_0x411fb1['split'](_0x5ade94[_0x352e2f(0x22d)]);return[_0x101952[0x0][_0x352e2f(0x216)](0x0,-0x1)[_0x352e2f(0x236)]('\x22')[0x1],_0x411fb1];}}return[null,null];},exports[a34_0x5aeaa5(0x20c)]=_0x474076=>{const _0x238df0=a34_0x5aeaa5,_0xa4c79a={'vPWXO':function(_0x46d8cb,_0x47e573){return _0x46d8cb(_0x47e573);},'tQdnr':_0x238df0(0x20b),'qTcOy':_0x238df0(0x206),'lJQxD':_0x238df0(0x225),'YepEo':'_afterEach'};if(!_0x474076||!_0x474076[_0x238df0(0x22a)])return[];const _0x25b1db=[];return[_0xa4c79a['tQdnr'],_0xa4c79a[_0x238df0(0x21c)],_0xa4c79a[_0x238df0(0x20f)],_0xa4c79a[_0x238df0(0x22b)]][_0x238df0(0x23e)](_0x2e728b=>{const _0x23f3f6=_0x238df0,_0xf7470=_0x474076[_0x23f3f6(0x22a)][_0x2e728b]||[];_0xf7470[_0x23f3f6(0x23e)](_0x3e0b8e=>{const _0x1e0ad7=_0x23f3f6;_0x3e0b8e[_0x1e0ad7(0x1fb)]&&!_0xa4c79a[_0x1e0ad7(0x220)](isInternalHook,_0x3e0b8e['fn'])&&_0x25b1db[_0x1e0ad7(0x23d)](_0x3e0b8e[_0x1e0ad7(0x1fb)]);});}),[..._0x25b1db,...exports[_0x238df0(0x20c)](_0x474076[_0x238df0(0x22a)])];},exports[a34_0x5aeaa5(0x1fa)]=_0x3da77b=>{const _0x17c3e2=a34_0x5aeaa5,_0x263a23={'lGXyh':function(_0x4ccbc9){return _0x4ccbc9();},'BcAWz':function(_0xcf4ea9,_0x4fb253){return _0xcf4ea9===_0x4fb253;},'SVpqV':_0x17c3e2(0x222),'VZWKz':function(_0x1f43e0){return _0x1f43e0();},'WdUDh':'_beforeAll','JYfKV':_0x17c3e2(0x206),'wlppq':_0x17c3e2(0x225)};if(!_0x3da77b||!_0x3da77b[_0x17c3e2(0x22a)])return;[_0x263a23[_0x17c3e2(0x1fd)],_0x263a23[_0x17c3e2(0x226)],_0x263a23[_0x17c3e2(0x21a)],_0x263a23[_0x17c3e2(0x1ef)]]['forEach'](_0x12a44f=>{const _0x429fc8=_0x17c3e2,_0x35a333=_0x3da77b[_0x429fc8(0x22a)][_0x12a44f]||[];_0x35a333[_0x429fc8(0x23e)](_0x10d326=>{const _0x41c717=_0x429fc8;if(!_0x10d326[_0x41c717(0x1fb)])_0x10d326['hookAnalyticsId']=_0x263a23[_0x41c717(0x235)](uuidv4);else _0x10d326['markedStatus']&&_0x263a23[_0x41c717(0x205)](_0x12a44f,_0x263a23['SVpqV'])&&(_0x10d326[_0x41c717(0x1fb)]=_0x263a23[_0x41c717(0x1fc)](uuidv4),delete _0x10d326[_0x41c717(0x1f3)]);});}),exports[_0x17c3e2(0x1fa)](_0x3da77b['parent']);},exports[a34_0x5aeaa5(0x1f1)]=async(_0x8df45e,_0xcae6fc)=>{const _0xd89797=a34_0x5aeaa5,_0x2576b9={'KFryx':function(_0x4dd373){return _0x4dd373();},'fEwDS':function(_0x306fa7,_0x550676){return _0x306fa7(_0x550676);},'Mnuji':_0xd89797(0x219),'QsBaf':function(_0x42c8d3,_0x20cb0d){return _0x42c8d3(_0x20cb0d);},'bPzjL':function(_0x1b455c,_0x52df75){return _0x1b455c===_0x52df75;},'yuMJu':_0xd89797(0x231),'TIrzK':_0xd89797(0x1f5),'yxneR':'TEST_PLATFORM','NcOuV':function(_0x2fdb8d,_0x17ada3){return _0x2fdb8d(_0x17ada3);}};try{if(!_0x2576b9[_0xd89797(0x221)](shouldProcessEventForTesthub))return;const _0x1242fd=await _0x8df45e[_0xd89797(0x218)](),_0x2e6381=await _0x8df45e[_0xd89797(0x241)](),_0x4ca4a9={},_0x3dfe48=Object[_0xd89797(0x200)](_0x2e6381['getCapabilities']()[_0xd89797(0x1f6)]),_0x45b108={'product':_0x2576b9['fEwDS'](getObservabilityLinkedProductName,_0x3dfe48),'capabilities':_0x3dfe48,'platform':_0x1242fd['getPlatform'](),'platform_version':_0x1242fd[_0xd89797(0x1f9)](_0x2576b9[_0xd89797(0x20e)])?_0x1242fd['get'](_0x2576b9['Mnuji']):_0x2576b9['QsBaf'](getPlatformVersion,_0x2576b9[_0xd89797(0x204)](global[_0xd89797(0x230)],_0x2576b9[_0xd89797(0x214)])),'browser':_0x1242fd['getBrowserName'](),'browser_version':_0x1242fd['getBrowserVersion'](),'session_id':_0x2e6381[_0xd89797(0x223)]()};global[_0xd89797(0x230)]?_0x4ca4a9[global['__cloud_provider___']]=_0x45b108:_0x4ca4a9[_0x2576b9[_0xd89797(0x228)]]=_0x45b108,process[_0xd89797(0x207)](_0xd89797(0x20d)+process[_0xd89797(0x202)],{'timestamp':new Date()[_0xd89797(0x20a)](),'level':null,'message':null,'kind':_0x2576b9[_0xd89797(0x238)],'http_response':_0x4ca4a9,'uuid':_0xcae6fc});}catch(_0x49fe92){_0x2576b9[_0xd89797(0x217)](debug,_0xd89797(0x21e)+_0x49fe92);}},exports[a34_0x5aeaa5(0x1f2)]=_0x3b02c2=>{const _0x30951e=a34_0x5aeaa5,_0x33a84d={};_0x33a84d['DTKjR']=function(_0x4a1363,_0x1958ea){return _0x4a1363!==_0x1958ea;},_0x33a84d[_0x30951e(0x1f8)]=_0x30951e(0x213),_0x33a84d['BdRJv']='passed',_0x33a84d[_0x30951e(0x234)]=_0x30951e(0x23f);const _0x3497b6=_0x33a84d,_0x215f01=_0x3b02c2[_0x30951e(0x211)][_0x30951e(0x1f0)]((_0x3dedf8,_0x1fab1d)=>{const _0xc6c740=_0x30951e,_0x3172eb=exports['getHookSkippedTests'](_0x1fab1d);return _0x3172eb&&(_0x3dedf8=_0x3dedf8[_0xc6c740(0x209)](_0x3172eb)),_0x3dedf8;},[]),_0x177a23=_0x3b02c2['tests'][_0x30951e(0x229)](_0x17a7e3=>{const _0xb088a7=_0x30951e,_0x5631ea=_0x3497b6[_0xb088a7(0x242)](_0x17a7e3['type'],_0x3497b6[_0xb088a7(0x1f8)])&&!_0x17a7e3[_0xb088a7(0x1f3)]&&_0x3497b6['DTKjR'](_0x17a7e3[_0xb088a7(0x240)],_0x3497b6[_0xb088a7(0x227)])&&_0x3497b6[_0xb088a7(0x242)](_0x17a7e3[_0xb088a7(0x240)],_0x3497b6[_0xb088a7(0x234)])&&!_0x17a7e3[_0xb088a7(0x1f4)];return _0x5631ea;});return _0x177a23[_0x30951e(0x209)](_0x215f01);};
1
+ const a34_0x1c50d0=a34_0x20f3;(function(_0x53302e,_0x7b03ed){const _0x59f322=a34_0x20f3,_0x1b001e=_0x53302e();while(!![]){try{const _0x54b25b=parseInt(_0x59f322(0x21e))/0x1+parseInt(_0x59f322(0x1f2))/0x2+parseInt(_0x59f322(0x1dd))/0x3*(-parseInt(_0x59f322(0x1e5))/0x4)+parseInt(_0x59f322(0x21c))/0x5*(parseInt(_0x59f322(0x20b))/0x6)+parseInt(_0x59f322(0x1d4))/0x7*(parseInt(_0x59f322(0x202))/0x8)+-parseInt(_0x59f322(0x1ca))/0x9*(parseInt(_0x59f322(0x1f5))/0xa)+-parseInt(_0x59f322(0x216))/0xb;if(_0x54b25b===_0x7b03ed)break;else _0x1b001e['push'](_0x1b001e['shift']());}catch(_0x368325){_0x1b001e['push'](_0x1b001e['shift']());}}}(a34_0x308a,0xefb6e));function a34_0x20f3(_0x12c0f6,_0x437106){const _0x308ad2=a34_0x308a();return a34_0x20f3=function(_0x20f3c7,_0x3b1b7e){_0x20f3c7=_0x20f3c7-0x1ca;let _0x7565e9=_0x308ad2[_0x20f3c7];return _0x7565e9;},a34_0x20f3(_0x12c0f6,_0x437106);}const {v4:uuidv4}=require(a34_0x1c50d0(0x1ce)),{name,version}=require(a34_0x1c50d0(0x1fe)),logPatcher=require(a34_0x1c50d0(0x1d1)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a34_0x1c50d0(0x218)),{consoleHolder}=require(a34_0x1c50d0(0x20a)),{getPlatformVersion}=require(a34_0x1c50d0(0x200)),{shouldProcessEventForTesthub}=require(a34_0x1c50d0(0x215)),{isFunction}=require(a34_0x1c50d0(0x1d9)),{patchConsoleLogger}=require(a34_0x1c50d0(0x218));patchConsoleLogger(),exports[a34_0x1c50d0(0x1ed)]=()=>{const _0x424aee=a34_0x1c50d0,_0x3afb7f={'XHozP':_0x424aee(0x211),'TKHKU':function(_0x3c922e){return _0x3c922e();}};return{'ci':_0x3afb7f[_0x424aee(0x21d)],'key':_0x3afb7f[_0x424aee(0x21a)](uuidv4),'version':version,'collector':_0x424aee(0x1ec)+name};},exports[a34_0x1c50d0(0x1f6)]=_0x5defab=>{const _0x927edc=a34_0x1c50d0,_0x759f6d={};_0x759f6d[_0x927edc(0x1dc)]=function(_0x5d659a,_0x11db7a){return _0x5d659a!==_0x11db7a;},_0x759f6d[_0x927edc(0x1eb)]=_0x927edc(0x1f9),_0x759f6d[_0x927edc(0x1e9)]='hook:',_0x759f6d['LebQg']=function(_0x1dc34e,_0x18db90){return _0x1dc34e!==_0x18db90;},_0x759f6d[_0x927edc(0x203)]=_0x927edc(0x20d);const _0x846725=_0x759f6d;if(!_0x5defab||_0x846725[_0x927edc(0x1dc)](typeof _0x5defab,_0x846725[_0x927edc(0x1eb)]))return[null,null];if(_0x846725[_0x927edc(0x1dc)](_0x5defab['indexOf'](_0x846725[_0x927edc(0x1e9)]),-0x1)){const _0x270099=_0x5defab[_0x927edc(0x1d3)](_0x846725[_0x927edc(0x1e9)]);return[_0x270099[0x0][_0x927edc(0x1fa)](0x0,-0x1)['split']('\x22')[0x1],_0x270099[0x1][_0x927edc(0x1ee)](0x1)];}else{if(_0x846725[_0x927edc(0x1cb)](_0x5defab[_0x927edc(0x1f4)](_0x846725[_0x927edc(0x203)]),-0x1)){const _0x913386=_0x5defab[_0x927edc(0x1d3)](_0x846725[_0x927edc(0x203)]);return[_0x913386[0x0][_0x927edc(0x1fa)](0x0,-0x1)[_0x927edc(0x1d3)]('\x22')[0x1],_0x5defab];}}return[null,null];},exports[a34_0x1c50d0(0x1fc)]=_0x14d6bb=>{const _0x2b0df2=a34_0x1c50d0,_0x568476={'IkCWE':function(_0x5d7abf,_0x4d263e){return _0x5d7abf(_0x4d263e);},'XGyFe':_0x2b0df2(0x209),'LqvJm':_0x2b0df2(0x223),'bDdPT':_0x2b0df2(0x20e),'OirVN':_0x2b0df2(0x1e4)};if(!_0x14d6bb||!_0x14d6bb['parent'])return[];const _0x40f823=[];return[_0x568476[_0x2b0df2(0x1e0)],_0x568476[_0x2b0df2(0x1e6)],_0x568476[_0x2b0df2(0x1de)],_0x568476[_0x2b0df2(0x1ef)]][_0x2b0df2(0x1fd)](_0x237001=>{const _0x4053f6={'JpcZz':function(_0x3f281b,_0x229b8b){const _0x53141f=a34_0x20f3;return _0x568476[_0x53141f(0x20f)](_0x3f281b,_0x229b8b);}},_0x103ae5=_0x14d6bb['parent'][_0x237001]||[];_0x103ae5['forEach'](_0x203bd6=>{const _0x56fe23=a34_0x20f3;_0x203bd6[_0x56fe23(0x1e1)]&&!_0x4053f6[_0x56fe23(0x219)](isInternalHook,_0x203bd6['fn'])&&_0x40f823['push'](_0x203bd6[_0x56fe23(0x1e1)]);});}),[..._0x40f823,...exports[_0x2b0df2(0x1fc)](_0x14d6bb[_0x2b0df2(0x1cf)])];},exports[a34_0x1c50d0(0x21f)]=_0x16b145=>{const _0x3e18d1=a34_0x1c50d0,_0x51e2d0={'QubyY':function(_0x194db0){return _0x194db0();},'wSDZJ':function(_0x342511,_0x4c9626){return _0x342511===_0x4c9626;},'oHZOo':_0x3e18d1(0x1e4),'NebCm':function(_0x570a81){return _0x570a81();},'XaWpR':_0x3e18d1(0x209),'nuFMi':_0x3e18d1(0x223),'SuqyV':'_beforeEach'};if(!_0x16b145||!_0x16b145[_0x3e18d1(0x1cf)])return;[_0x51e2d0[_0x3e18d1(0x1f7)],_0x51e2d0[_0x3e18d1(0x1f0)],_0x51e2d0['SuqyV'],_0x51e2d0[_0x3e18d1(0x1d6)]]['forEach'](_0x588028=>{const _0x39611c=_0x3e18d1,_0x54258d=_0x16b145['parent'][_0x588028]||[];_0x54258d[_0x39611c(0x1fd)](_0xc1b5e2=>{const _0x37b264=_0x39611c;if(!_0xc1b5e2[_0x37b264(0x1e1)])_0xc1b5e2[_0x37b264(0x1e1)]=_0x51e2d0[_0x37b264(0x1e8)](uuidv4);else _0xc1b5e2[_0x37b264(0x212)]&&_0x51e2d0[_0x37b264(0x221)](_0x588028,_0x51e2d0[_0x37b264(0x1d6)])&&(_0xc1b5e2[_0x37b264(0x1e1)]=_0x51e2d0['NebCm'](uuidv4),delete _0xc1b5e2[_0x37b264(0x212)]);});}),exports['mapTestHooks'](_0x16b145[_0x3e18d1(0x1cf)]);},exports['sendPlatformDetails']=async(_0x1ee06f,_0x5e7eda)=>{const _0xe101aa=a34_0x1c50d0,_0xde9f24={'AGibQ':function(_0x38a474){return _0x38a474();},'LLuHX':function(_0x11d9f5,_0x4c952f){return _0x11d9f5(_0x4c952f);},'Uyzyl':_0xe101aa(0x206),'LhiWk':function(_0x45e287,_0x5e60f7){return _0x45e287===_0x5e60f7;},'cRhcD':_0xe101aa(0x214),'joXSi':_0xe101aa(0x1d2),'HACKn':_0xe101aa(0x1ff)};try{if(!_0xde9f24['AGibQ'](shouldProcessEventForTesthub))return;const _0x38c7cc=await _0x1ee06f['getCapabilities'](),_0x5d9ee1=await _0x1ee06f[_0xe101aa(0x1cc)](),_0x4f563d={},_0x27d8dc=Object[_0xe101aa(0x1d0)](_0x5d9ee1[_0xe101aa(0x1ea)]()['map_']),_0x518a93={'product':_0xde9f24['LLuHX'](getObservabilityLinkedProductName,_0x27d8dc),'capabilities':_0x27d8dc,'platform':_0x38c7cc[_0xe101aa(0x210)](),'platform_version':_0x38c7cc[_0xe101aa(0x1d8)](_0xde9f24[_0xe101aa(0x1fb)])?_0x38c7cc[_0xe101aa(0x1d8)](_0xde9f24['Uyzyl']):_0xde9f24['LLuHX'](getPlatformVersion,_0xde9f24[_0xe101aa(0x1f8)](global[_0xe101aa(0x213)],_0xde9f24[_0xe101aa(0x1e7)])),'browser':_0x38c7cc[_0xe101aa(0x1cd)](),'browser_version':_0x38c7cc[_0xe101aa(0x205)](),'session_id':_0x5d9ee1['toJSON']()};global[_0xe101aa(0x213)]?_0x4f563d[global[_0xe101aa(0x213)]]=_0x518a93:_0x4f563d[_0xde9f24[_0xe101aa(0x1f1)]]=_0x518a93,process[_0xe101aa(0x1df)](_0xe101aa(0x204)+process[_0xe101aa(0x1db)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0xde9f24[_0xe101aa(0x201)],'http_response':_0x4f563d,'uuid':_0x5e7eda});}catch(_0x5c37ba){_0xde9f24['LLuHX'](debug,_0xe101aa(0x220)+_0x5c37ba);}},exports[a34_0x1c50d0(0x208)]=_0x4f56f1=>{const _0x20a28d=a34_0x1c50d0,_0x37cf88={};_0x37cf88[_0x20a28d(0x222)]=function(_0x206f30,_0x5df0d1){return _0x206f30!==_0x5df0d1;},_0x37cf88[_0x20a28d(0x1d7)]=_0x20a28d(0x20d),_0x37cf88['CqoWT']=function(_0x4c7618,_0x190830){return _0x4c7618!==_0x190830;},_0x37cf88[_0x20a28d(0x224)]=_0x20a28d(0x217),_0x37cf88[_0x20a28d(0x1da)]=function(_0x2f25e6,_0x589417){return _0x2f25e6!==_0x589417;},_0x37cf88[_0x20a28d(0x207)]='failed';const _0x51cbb9=_0x37cf88,_0xc59549=_0x4f56f1['suites'][_0x20a28d(0x20c)]((_0x569a62,_0x46a8a9)=>{const _0x1a6a48=_0x20a28d,_0x1dbf5c=exports[_0x1a6a48(0x208)](_0x46a8a9);return _0x1dbf5c&&(_0x569a62=_0x569a62[_0x1a6a48(0x21b)](_0x1dbf5c)),_0x569a62;},[]),_0x1761c8=_0x4f56f1[_0x20a28d(0x1e3)]['filter'](_0x5273bf=>{const _0x136155=_0x20a28d,_0xbf6c44=_0x51cbb9[_0x136155(0x222)](_0x5273bf[_0x136155(0x1e2)],_0x51cbb9[_0x136155(0x1d7)])&&!_0x5273bf['markedStatus']&&_0x51cbb9['CqoWT'](_0x5273bf[_0x136155(0x1f3)],_0x51cbb9[_0x136155(0x224)])&&_0x51cbb9['xkgsw'](_0x5273bf[_0x136155(0x1f3)],_0x51cbb9[_0x136155(0x207)])&&!_0x5273bf[_0x136155(0x1d5)];return _0xbf6c44;});return _0x1761c8[_0x20a28d(0x21b)](_0xc59549);};function a34_0x308a(){const _0x306d80=['emit','XGyFe','hookAnalyticsId','type','tests','_afterEach','136492dmdqKu','LqvJm','cRhcD','QubyY','bKftd','getCapabilities','jQuux','js-','getTestEnv','substring','OirVN','nuFMi','joXSi','1453816fBdkQJ','state','indexOf','13756710BNGzVk','getHookDetails','XaWpR','LhiWk','string','slice','Uyzyl','getHooksForTest','forEach','../../../../package.json','TEST_PLATFORM','../../../helpers/helper','HACKn','8tWFmfl','UOKwd','bs:addPlatformDetails:','getBrowserVersion','platformVersion','bBTWl','getHookSkippedTests','_beforeAll','../../../helpers/test-observability/constants','989778DOfPOQ','reduce','hook','_beforeEach','IkCWE','getPlatform','generic','markedStatus','__cloud_provider___','browserstack','../../../helpers/testhub/utils','18859577pCmZEM','passed','../../../helpers/test-observability/utils','JpcZz','TKHKU','concat','5oRVTnz','XHozP','1725585CdcnSZ','mapTestHooks','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','wSDZJ','vXOlW','_afterAll','Fffrf','9EQQPvJ','LebQg','getSession','getBrowserName','uuid','parent','fromEntries','../../utils/logPatcher','unknown_grid','split','12809615YbAjsL','pending','oHZOo','fvUtn','get','lodash','xkgsw','pid','NEntJ','33HtidGR','bDdPT'];a34_0x308a=function(){return _0x306d80;};return a34_0x308a();}
@@ -1 +1 @@
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
+ const a35_0x1260e4=a35_0x4d42;function a35_0x4d42(_0x12cedf,_0x196546){const _0x2bdeb7=a35_0x2bde();return a35_0x4d42=function(_0x4d420c,_0x2a761f){_0x4d420c=_0x4d420c-0x131;let _0x132e22=_0x2bdeb7[_0x4d420c];return _0x132e22;},a35_0x4d42(_0x12cedf,_0x196546);}(function(_0x39a7f4,_0x38326c){const _0x33d02e=a35_0x4d42,_0x384b0e=_0x39a7f4();while(!![]){try{const _0x29b025=-parseInt(_0x33d02e(0x194))/0x1+-parseInt(_0x33d02e(0x174))/0x2*(parseInt(_0x33d02e(0x17d))/0x3)+-parseInt(_0x33d02e(0x189))/0x4*(parseInt(_0x33d02e(0x1c0))/0x5)+parseInt(_0x33d02e(0x1b2))/0x6*(parseInt(_0x33d02e(0x1a3))/0x7)+-parseInt(_0x33d02e(0x1de))/0x8+-parseInt(_0x33d02e(0x164))/0x9+parseInt(_0x33d02e(0x165))/0xa;if(_0x29b025===_0x38326c)break;else _0x384b0e['push'](_0x384b0e['shift']());}catch(_0x2669c7){_0x384b0e['push'](_0x384b0e['shift']());}}}(a35_0x2bde,0xe920d));const util=require(a35_0x1260e4(0x1ad)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a35_0x1260e4(0x197)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a35_0x1260e4(0x172)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a35_0x1260e4(0x1a8)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a35_0x1260e4(0x1cd)),logger=require('../../helpers/logger')[a35_0x1260e4(0x162)],{shouldProcessEventForTesthub}=require(a35_0x1260e4(0x17b)),testHubConstants=require(a35_0x1260e4(0x1ac));function a35_0x2bde(){const _0x14a7d5=['59834YHGoBu','protocol','choLV','LNBzK','WnyUL','kBkXp','format','../../helpers/testhub/utils','__error_messages__','150DWSMuL','CCpik','Mocha','accessibilityScanStarted','yCtXx','getGlobal','BROWSERSTACK_TESTHUB_JWT','afterTest','error','initQuit','wKTqC','SYNC','164308WmoGEB','SAVE_RESULTS','rJDbz','MkfWh','IzZGE','DLzwe','TpwSA','measureWrapper','quitCount_','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','executeAsyncScript','620694ehAvMR','ZzYJR','index','./test-observability/mochaUtils','__platformCaps','wAzWL','GcYmM','pFGTL','timeout','bstackA11yShouldScan','unrLD','\x20|\x20','\x20-\x20','passed','jXelR','7hlsHfi','QFMqm','thJwtToken','getCurrentUrl','percyCaptureMode','../../helpers/performance/constants','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','qecsj',',\x22level\x22:\x20\x22','../../helpers/testhub/constants','util','app','dnwqn','oaDYY','startMonitoring','8558904Fefwec','testcase','qDhLh','XRtfi','snwJu','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','sessionName','WmxIT','driverCleanup','BqLZj','dtpSO','session_','tynMT','currentTest','55ooooky','beforeEach','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','testAnalyticsId','xRTYY','end','wrWuv','MIGmr','tPbMJ','xEKAo','http:','shift','mochaHooks','../../helpers/globals','capabilities','FRSfE','NDucT','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','hPfox','ZmEOD','thBuildUuid','failed','__skipSessionName','fmjJo','Failed\x20to\x20store\x20session\x20name:\x20','MmXfY','Automate\x20test\x20case\x20execution\x20has\x20started.','shouldScanTestForAccessibility','saveTestResults','thTestRunUuid','6698232MqHRkl','uifjn','stringify','YKZnG','jBjSK','sHmFJ','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','ObservabilitySync:','env','BROWSERSTACK_TESTHUB_UUID','setGlobal','RpGok','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','isArray','rIPwT','mHVVT','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','info','beforeAll','hUDsy','browserstackTestName','__drivers','SESSION_STATUS','titlePath','executeScript','QDsVZ','percy','Performing\x20scan\x20before\x20saving\x20results','start','dMIbW','koRlI','INfcs','gWAyy','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','browserstackSessionName','pTKIp','DlemR','push','\x22}}','edIbR','LLIlB','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','zpToQ','hImbE','SESSION_NAME','skrOY','lSeDf','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','kbqAQ','HmVst','UocHW','eNvNU','debug','PERFORM_SCAN','sessionNameSet__','winstonLogger','SIURs','6702894rRmRSR','36788450CidamZ','ACWOm','ENV_VAR','appium:app','jSUtd','JUxwm','SDK_HOOK','length','then','Passed','__sessionFailed','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','now','../../helpers/performance/performance-tester','join'];a35_0x2bde=function(){return _0x14a7d5;};return a35_0x2bde();}exports[a35_0x1260e4(0x1cc)]={'beforeAll'(){const _0xd865a7=a35_0x1260e4,_0x144814={'LNBzK':function(_0x44d0d7,_0x505027,_0x1ce4e1,_0x2449eb){return _0x44d0d7(_0x505027,_0x1ce4e1,_0x2449eb);},'xEKAo':_0xd865a7(0x1d5),'jZKBl':_0xd865a7(0x19f),'pTKIp':function(_0x4a3bf4,_0x51bf90,_0x1e19fa){return _0x4a3bf4(_0x51bf90,_0x1e19fa);},'HtVqq':_0xd865a7(0x1a1),'dMIbW':function(_0x3c1e7b){return _0x3c1e7b();},'mHVVT':function(_0x3bd54a,_0x5247a2,_0xf86b5b){return _0x3bd54a(_0x5247a2,_0xf86b5b);},'aUrUw':_0xd865a7(0x196),'kBkXp':_0xd865a7(0x13d)};PerformanceTester[_0xd865a7(0x1b1)]();const _0xae8b7c='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0xd865a7(0x16b)],()=>{const _0x425384=_0xd865a7;global[_0x425384(0x17c)]=[],global[_0x425384(0x16f)]=![],global[_0x425384(0x1ba)]=async()=>{const _0x42c828=_0x425384;let _0x904898=![];try{await global[_0x42c828(0x140)][0x0][_0x42c828(0x1bd)],_0x904898=!![],global['__sessionFailed']?await _0x144814[_0x42c828(0x177)](markSessionStatus,global[_0x42c828(0x140)][0x0],_0x144814[_0x42c828(0x1c9)],global[_0x42c828(0x17c)][_0x42c828(0x173)](_0x144814['jZKBl'])):await _0x144814[_0x42c828(0x14e)](markSessionStatus,global['__drivers'][0x0],_0x144814['HtVqq']);}catch(_0x3549e9){logger[_0x42c828(0x15f)](_0x42c828(0x1b7)+_0x3549e9);}global[_0x42c828(0x17c)]=[],global[_0x42c828(0x16f)]=![];if(_0x904898)try{try{_0x144814[_0x42c828(0x148)](shouldProcessEventForTesthub)&&(global[_0x42c828(0x140)][0x0]&&await _0x144814[_0x42c828(0x14e)](sendPlatformDetails,global[_0x42c828(0x140)][0x0],this[_0x42c828(0x1bf)]?this[_0x42c828(0x1bf)]['testAnalyticsId']:null));}catch(_0x2ace38){logger[_0x42c828(0x15f)](_0x42c828(0x131)+_0x2ace38);}await global[_0x42c828(0x140)][0x0][_0x42c828(0x186)]();}catch(_0x35c4c9){logger[_0x42c828(0x15f)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x35c4c9);}};},{'platform':_0x144814[_0xd865a7(0x13a)](nestedKeyValue,global['__platformCaps'],[_0x144814['aUrUw']]),'hookType':_0x144814[_0xd865a7(0x179)]})();},'beforeEach'(_0x13751f){const _0x50cd17=a35_0x1260e4,_0x3da6d8={'lSeDf':function(_0x3b72f4){return _0x3b72f4();},'kbqAQ':function(_0x4a1a85,_0xd6b4cc){return _0x4a1a85>_0xd6b4cc;},'sNpxN':function(_0x138342,_0x1f9aa5){return _0x138342>_0x1f9aa5;},'edIbR':_0x50cd17(0x1a0),'XRtfi':function(_0x144599,_0xf1c332,_0x7d4ec4){return _0x144599(_0xf1c332,_0x7d4ec4);},'DlemR':_0x50cd17(0x19d),'koRlI':function(_0x441ec1){return _0x441ec1();},'ZmEOD':'isAccessibilityPlatform','sUHEo':function(_0x2e4210,_0x1b6372){return _0x2e4210===_0x1b6372;},'LDASZ':_0x50cd17(0x1ca),'VGkuf':'https:','MmXfY':_0x50cd17(0x13b),'NDucT':_0x50cd17(0x1da),'JUxwm':_0x50cd17(0x13f),'ZSUAc':_0x50cd17(0x196),'skrOY':_0x50cd17(0x1c1)};globals[_0x50cd17(0x135)](_0x3da6d8[_0x50cd17(0x16a)],this[_0x50cd17(0x1bf)][_0x50cd17(0x142)]()[_0x50cd17(0x173)](_0x3da6d8['edIbR'])),PerformanceTester[_0x50cd17(0x190)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x23c8b4=_0x50cd17,_0x1871bd={'MkfWh':function(_0x47f181,_0x395876){const _0x2e621a=a35_0x4d42;return _0x3da6d8[_0x2e621a(0x15b)](_0x47f181,_0x395876);},'hUDsy':function(_0x17ba98,_0x375617){return _0x3da6d8['sNpxN'](_0x17ba98,_0x375617);},'HmVst':_0x3da6d8[_0x23c8b4(0x152)],'QDsVZ':function(_0x396913,_0x15979f,_0x5dcca4){const _0x39d2ab=_0x23c8b4;return _0x3da6d8[_0x39d2ab(0x1b5)](_0x396913,_0x15979f,_0x5dcca4);},'oaDYY':_0x3da6d8[_0x23c8b4(0x14f)],'choLV':function(_0x46f07c){const _0xa05fdf=_0x23c8b4;return _0x3da6d8[_0xa05fdf(0x149)](_0x46f07c);},'UocHW':_0x3da6d8[_0x23c8b4(0x1d3)],'SIURs':function(_0x2cae81,_0x1c51cc){return _0x3da6d8['sUHEo'](_0x2cae81,_0x1c51cc);},'eNvNU':_0x3da6d8['LDASZ'],'qecsj':_0x3da6d8['VGkuf'],'tPbMJ':_0x3da6d8[_0x23c8b4(0x1d9)],'zpToQ':_0x3da6d8[_0x23c8b4(0x1d0)]},_0x3195e1='browserstack internal helper hook';new Promise(async _0xf68356=>{const _0x32a4dc=_0x23c8b4;let _0x2e94ea=!![];try{_0x1871bd[_0x32a4dc(0x18c)](global[_0x32a4dc(0x140)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x32a4dc(0x140)][_0x32a4dc(0x1cb)]()),_0x1871bd[_0x32a4dc(0x13e)](global['__drivers'][0x0][_0x32a4dc(0x191)],0x0)&&(_0x2e94ea=![],await global[_0x32a4dc(0x1ba)]());}catch(_0x51d327){logger['debug'](_0x32a4dc(0x1c2)+_0x51d327);}try{Array[_0x32a4dc(0x138)](global[_0x32a4dc(0x140)])&&global[_0x32a4dc(0x140)][0x0]&&(global[_0x32a4dc(0x140)][0x0]['browserstackSessionName']=this[_0x32a4dc(0x1bf)][_0x32a4dc(0x142)]()['join'](_0x1871bd[_0x32a4dc(0x15c)])),global[_0x32a4dc(0x14d)]=this['currentTest'][_0x32a4dc(0x142)]()['join'](_0x1871bd[_0x32a4dc(0x15c)]);}catch(_0xe1f5bf){logger['debug'](_0x32a4dc(0x1d8)+_0xe1f5bf);}this[_0x32a4dc(0x1bf)][_0x32a4dc(0x1db)]=_0x1871bd[_0x32a4dc(0x144)](shouldScanTestForAccessibility,this[_0x32a4dc(0x1bf)][_0x32a4dc(0x142)](),!![]),globals['setGlobal'](_0x1871bd[_0x32a4dc(0x1b0)],this[_0x32a4dc(0x1bf)][_0x32a4dc(0x1db)]),this['currentTest'][_0x32a4dc(0x180)]=!![];if(_0x1871bd[_0x32a4dc(0x176)](isAccessibilityAutomationSession)&&_0x2e94ea&&Array[_0x32a4dc(0x138)](global[_0x32a4dc(0x140)])&&_0x1871bd[_0x32a4dc(0x13e)](global[_0x32a4dc(0x140)][_0x32a4dc(0x16c)],0x0)&&globals[_0x32a4dc(0x182)](_0x1871bd[_0x32a4dc(0x15d)]))try{const _0x41dee7=await global[_0x32a4dc(0x140)][0x0][_0x32a4dc(0x1bd)];if(_0x41dee7){let _0x8bc49a=!![];const _0x5716d6=await global['__drivers'][0x0][_0x32a4dc(0x1a6)]();let _0x44655e;try{_0x44655e=new URL(_0x5716d6);}catch(_0x5c6230){_0x8bc49a=![];}_0x8bc49a=_0x1871bd[_0x32a4dc(0x163)](_0x44655e[_0x32a4dc(0x175)],_0x1871bd[_0x32a4dc(0x15e)])||_0x1871bd[_0x32a4dc(0x163)](_0x44655e[_0x32a4dc(0x175)],_0x1871bd[_0x32a4dc(0x1aa)]),_0x8bc49a&&(this[_0x32a4dc(0x1bf)]['shouldScanTestForAccessibility']&&logger[_0x32a4dc(0x13c)](_0x1871bd[_0x32a4dc(0x1c8)])),this['currentTest'][_0x32a4dc(0x180)]=this[_0x32a4dc(0x1bf)][_0x32a4dc(0x1db)],this[_0x32a4dc(0x1bf)][_0x32a4dc(0x1db)]&&logger['info'](_0x1871bd[_0x32a4dc(0x155)]);}}catch(_0x1bd6de){logger[_0x32a4dc(0x185)](_0x32a4dc(0x15a)+util[_0x32a4dc(0x17a)](_0x1bd6de));}_0x1871bd[_0x32a4dc(0x176)](_0xf68356);})[_0x23c8b4(0x16d)](()=>{const _0x221c59=_0x23c8b4;_0x3da6d8[_0x221c59(0x159)](_0x13751f);});},{'platform':_0x3da6d8[_0x50cd17(0x1b5)](nestedKeyValue,global[_0x50cd17(0x198)],[_0x3da6d8['ZSUAc']]),'hookType':_0x3da6d8[_0x50cd17(0x158)]})();},'afterEach'(_0x127bf7){const _0x52dd0d=a35_0x1260e4,_0x31889c={'xRTYY':function(_0xb9a05e,_0x1c7fc2){return _0xb9a05e!==_0x1c7fc2;},'RpGok':'passed','snwJu':function(_0x25dac7,_0x565051,_0x44e994){return _0x25dac7(_0x565051,_0x44e994);},'WmxIT':function(_0xc241ec,_0xcd1b3e){return _0xc241ec+_0xcd1b3e;},'etayW':'Failed:\x20','rIPwT':_0x52dd0d(0x185),'sHmFJ':function(_0x2cfd2f,_0x256d79,_0x2e5443){return _0x2cfd2f(_0x256d79,_0x2e5443);},'IzZGE':_0x52dd0d(0x16e),'DLzwe':_0x52dd0d(0x13c),'pFGTL':function(_0x4aece9,_0x3925bc){return _0x4aece9>_0x3925bc;},'wKTqC':function(_0x716e7a,_0x5592e9){return _0x716e7a===_0x5592e9;},'TpwSA':_0x52dd0d(0x1b3),'MIGmr':function(_0x36193a,_0x510fc1){return _0x36193a>_0x510fc1;},'ZzYJR':_0x52dd0d(0x168),'iLCkD':function(_0x4a87a2,_0x317dbb,_0x45cf1a,_0x5adb36){return _0x4a87a2(_0x317dbb,_0x45cf1a,_0x5adb36);},'BqLZj':'isAccessibilityPlatform','INfcs':_0x52dd0d(0x19d),'wrWuv':_0x52dd0d(0x137),'qDhLh':_0x52dd0d(0x146),'CCpik':_0x52dd0d(0x184),'rJDbz':_0x52dd0d(0x170),'jBjSK':function(_0x3295dc){return _0x3295dc();},'gWAyy':function(_0xff9fd0){return _0xff9fd0();},'hPfox':_0x52dd0d(0x15f),'fTVMe':function(_0x1a810c){return _0x1a810c();},'dtpSO':function(_0x4a9aff){return _0x4a9aff();},'LLIlB':'\x20-\x20','YKZnG':_0x52dd0d(0x17f),'tynMT':function(_0x137a80,_0x7c8a0f,_0x5f9ff8){return _0x137a80(_0x7c8a0f,_0x5f9ff8);},'wAzWL':_0x52dd0d(0x196),'GcYmM':'afterEach'},_0x1ad4e7='browserstack internal helper hook';this[_0x52dd0d(0x19c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x31889c[_0x52dd0d(0x1e1)]]),global[_0x52dd0d(0x1b8)]=this[_0x52dd0d(0x1bf)][_0x52dd0d(0x142)]()[_0x52dd0d(0x173)](_0x31889c[_0x52dd0d(0x153)]),PerformanceTester[_0x52dd0d(0x190)](PerformanceSdkEvents[_0x52dd0d(0x16b)],()=>{const _0x1c75e6=_0x52dd0d,_0x6e6062={};_0x6e6062[_0x1c75e6(0x1d7)]=_0x31889c[_0x1c75e6(0x153)];const _0xdc5a42=_0x6e6062,_0x189764=async(_0x34e1af,_0x44517f)=>{const _0x3da3bb=_0x1c75e6;await global[_0x3da3bb(0x140)][0x0]['executeScript'](_0x3da3bb(0x14c)+_0x34e1af+_0x3da3bb(0x1ab)+_0x44517f+_0x3da3bb(0x151));};new Promise(async _0x3c91bd=>{const _0x30bc62=_0x1c75e6,_0x3766e7={'jXelR':function(_0x44b58c,_0x389960){const _0x4193b5=a35_0x4d42;return _0x31889c[_0x4193b5(0x1c4)](_0x44b58c,_0x389960);},'unrLD':_0x31889c[_0x30bc62(0x136)],'tlJel':function(_0x24188f,_0x2e676b,_0xe24a27){const _0x5c8ef3=_0x30bc62;return _0x31889c[_0x5c8ef3(0x1b6)](_0x24188f,_0x2e676b,_0xe24a27);},'zrQYx':function(_0x43bafc,_0x2ebf79){const _0x46cd21=_0x30bc62;return _0x31889c[_0x46cd21(0x1b9)](_0x43bafc,_0x2ebf79);},'vWdxS':_0x31889c['etayW'],'FRSfE':_0x31889c[_0x30bc62(0x139)],'xZtng':function(_0x23f376,_0x3c627b,_0x5ec79c){const _0xd361b9=_0x30bc62;return _0x31889c[_0xd361b9(0x1e3)](_0x23f376,_0x3c627b,_0x5ec79c);},'hImbE':_0x31889c[_0x30bc62(0x18d)],'RZnEW':_0x31889c[_0x30bc62(0x18e)]};try{_0x31889c['pFGTL'](global['__drivers'][_0x30bc62(0x16c)],0x1)&&(await global[_0x30bc62(0x1ba)](),global[_0x30bc62(0x140)]['shift'](),global[_0x30bc62(0x17c)]=[],global[_0x30bc62(0x16f)]=![]);try{if(global[_0x30bc62(0x145)]&&_0x31889c[_0x30bc62(0x187)](global[_0x30bc62(0x1a7)],_0x31889c[_0x30bc62(0x18f)])&&global[_0x30bc62(0x140)][0x0]){const _0xbe5bd2=_0x31889c[_0x30bc62(0x1c7)](global[_0x30bc62(0x1ce)][_0x30bc62(0x16c)],0x0)?!!global[_0x30bc62(0x1ce)][0x0][_0x30bc62(0x1ae)]||!!global['capabilities'][0x0][_0x31889c[_0x30bc62(0x195)]]:![],_0x5335db={};_0x5335db['app']=_0xbe5bd2,await _0x31889c['iLCkD'](percyAutoCapture,global['__drivers'][0x0],_0x31889c[_0x30bc62(0x18f)],_0x5335db);}}catch(_0x6dd4c0){logger['debug'](_0x30bc62(0x192)+_0x6dd4c0);}!global[_0x30bc62(0x1d6)]&&(await PerformanceTester[_0x30bc62(0x190)](PerformanceAutEvents[_0x30bc62(0x157)],async()=>{const _0x3daf6a=_0x30bc62;await global[_0x3daf6a(0x140)][0x0][_0x3daf6a(0x143)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x3daf6a(0x1e0)](this[_0x3daf6a(0x1bf)]['titlePath']()[_0x3daf6a(0x173)](_0xdc5a42['fmjJo']))+'}}');})(),global[_0x30bc62(0x140)][0x0][_0x30bc62(0x161)]=!![]),await PerformanceTester[_0x30bc62(0x190)](PerformanceAutEvents[_0x30bc62(0x141)],async()=>{const _0x477ac4=_0x30bc62,_0x43208c=_0x3766e7[_0x477ac4(0x1a2)](this['currentTest']['state'],_0x3766e7[_0x477ac4(0x19e)]);_0x43208c?(global[_0x477ac4(0x16f)]=!![],global[_0x477ac4(0x17c)][_0x477ac4(0x150)](this[_0x477ac4(0x1bf)]['err']['message']),await _0x3766e7['tlJel'](_0x189764,JSON[_0x477ac4(0x1e0)](_0x3766e7['zrQYx'](_0x3766e7['vWdxS'],this[_0x477ac4(0x1bf)]['err']['message'])),_0x3766e7[_0x477ac4(0x1cf)])):await _0x3766e7['xZtng'](_0x189764,JSON[_0x477ac4(0x1e0)](_0x3766e7[_0x477ac4(0x156)]),_0x3766e7['RZnEW']);})();}catch(_0x381d44){logger[_0x30bc62(0x15f)](_0x30bc62(0x154)+_0x381d44);}try{if(this[_0x30bc62(0x1bf)]['accessibilityScanStarted']&&globals[_0x30bc62(0x182)](_0x31889c[_0x30bc62(0x1bb)])&&globals[_0x30bc62(0x182)](_0x31889c[_0x30bc62(0x14a)])){logger[_0x30bc62(0x13c)](_0x31889c[_0x30bc62(0x1c6)]);const _0x2b0596={};_0x2b0596[_0x30bc62(0x1dd)]=this[_0x30bc62(0x1bf)][_0x30bc62(0x1c3)],_0x2b0596[_0x30bc62(0x1d4)]=process[_0x30bc62(0x133)][testHubConstants['ENV_VAR'][_0x30bc62(0x134)]],_0x2b0596[_0x30bc62(0x1a5)]=process[_0x30bc62(0x133)][testHubConstants[_0x30bc62(0x167)][_0x30bc62(0x183)]];const _0x5782c1=_0x2b0596;logger[_0x30bc62(0x15f)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x5782c1)),logger['debug'](_0x31889c[_0x30bc62(0x1b4)]);const _0x5c4896={};_0x5c4896['command']=_0x31889c[_0x30bc62(0x17e)],await PerformanceTester[_0x30bc62(0x190)](PerformanceA11yEvents[_0x30bc62(0x160)],async()=>{const _0x5a3a8b=_0x30bc62;logger[_0x5a3a8b(0x15f)](util[_0x5a3a8b(0x17a)](await global['__drivers'][0x0][_0x5a3a8b(0x193)](scripts['performScan'],{'method':global[_0x5a3a8b(0x14d)]})));},_0x5c4896)(),await PerformanceTester[_0x30bc62(0x190)](PerformanceA11yEvents[_0x30bc62(0x18a)],async()=>{const _0x551717=_0x30bc62;await global['__drivers'][0x0][_0x551717(0x193)](scripts[_0x551717(0x1dc)],_0x5782c1);})(),logger[_0x30bc62(0x13c)](_0x31889c[_0x30bc62(0x18b)]);}}catch(_0x31dbf7){logger[_0x30bc62(0x185)](_0x30bc62(0x1d1)+this[_0x30bc62(0x1bf)][_0x30bc62(0x142)]()+'.\x20Error\x20:',_0x31dbf7);}try{try{if(_0x31889c[_0x30bc62(0x1e2)](shouldProcessEventForTesthub)){global[_0x30bc62(0x140)][0x0]&&await _0x31889c['sHmFJ'](sendPlatformDetails,global[_0x30bc62(0x140)][0x0],this['currentTest']?this[_0x30bc62(0x1bf)]['testAnalyticsId']:null);if(_0x31889c[_0x30bc62(0x14b)](isBrowserstackInfra)){PerformanceTester[_0x30bc62(0x147)](PerformanceO11yEvents[_0x30bc62(0x188)]);const _0x402dca=_0x30bc62(0x132)+Date[_0x30bc62(0x171)]();await _0x31889c[_0x30bc62(0x1b6)](_0x189764,JSON[_0x30bc62(0x1e0)](_0x402dca),_0x31889c[_0x30bc62(0x1d2)]),PerformanceTester[_0x30bc62(0x1c5)](PerformanceO11yEvents[_0x30bc62(0x188)]);}}}catch(_0x2a63b1){logger[_0x30bc62(0x15f)](_0x30bc62(0x1a9)+_0x2a63b1),PerformanceTester[_0x30bc62(0x1c5)](PerformanceO11yEvents[_0x30bc62(0x188)],![],_0x2a63b1);}_0x31889c[_0x30bc62(0x19b)](global[_0x30bc62(0x140)][0x0][_0x30bc62(0x191)],0x0)&&await global[_0x30bc62(0x1ba)]();}catch(_0x289b1a){logger[_0x30bc62(0x15f)](_0x30bc62(0x1c2)+_0x289b1a);}_0x31889c['fTVMe'](_0x3c91bd);})[_0x1c75e6(0x16d)](()=>{const _0x48e9a4=_0x1c75e6;_0x31889c[_0x48e9a4(0x1bc)](_0x127bf7);});},{'platform':_0x31889c[_0x52dd0d(0x1be)](nestedKeyValue,global[_0x52dd0d(0x198)],[_0x31889c[_0x52dd0d(0x199)]]),'hookType':_0x31889c[_0x52dd0d(0x19a)]})();},'afterAll'(_0x48d220){const _0x55c1cf=a35_0x1260e4,_0x84cbe1={'jSUtd':function(_0x2079ee){return _0x2079ee();},'WnyUL':function(_0x3286f8){return _0x3286f8();},'yCtXx':_0x55c1cf(0x17f),'ACWOm':function(_0x4dad8d,_0x4a26d0,_0x8b932e){return _0x4dad8d(_0x4a26d0,_0x8b932e);},'uifjn':_0x55c1cf(0x196),'QFMqm':'afterAll'},_0x21135a='browserstack internal helper hook';this[_0x55c1cf(0x19c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x84cbe1[_0x55c1cf(0x181)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x10e4c6=_0x55c1cf,_0x2ebb0f={'dnwqn':function(_0x5c79ab){const _0x53c120=a35_0x4d42;return _0x84cbe1[_0x53c120(0x178)](_0x5c79ab);}};new Promise(async _0x141532=>{const _0xea20da=a35_0x4d42;await global[_0xea20da(0x1ba)](),_0x84cbe1[_0xea20da(0x169)](_0x141532);})[_0x10e4c6(0x16d)]()['finally'](()=>{const _0x34f714=_0x10e4c6;_0x2ebb0f[_0x34f714(0x1af)](_0x48d220);});},{'platform':_0x84cbe1[_0x55c1cf(0x166)](nestedKeyValue,global['__platformCaps'],[_0x84cbe1[_0x55c1cf(0x1df)]]),'hookType':_0x84cbe1[_0x55c1cf(0x1a4)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
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;
2
+ 'use strict';function a36_0x11ca(_0x16ab1d,_0x40b362){const _0x456eb9=a36_0x456e();return a36_0x11ca=function(_0x11ca40,_0x2aabfc){_0x11ca40=_0x11ca40-0x71;let _0x486b5a=_0x456eb9[_0x11ca40];return _0x486b5a;},a36_0x11ca(_0x16ab1d,_0x40b362);}const a36_0x431395=a36_0x11ca;(function(_0x278c8d,_0x369828){const _0x5ab372=a36_0x11ca,_0x5efed4=_0x278c8d();while(!![]){try{const _0x5a7728=parseInt(_0x5ab372(0x9d))/0x1+parseInt(_0x5ab372(0x8f))/0x2+parseInt(_0x5ab372(0x8c))/0x3+parseInt(_0x5ab372(0xbd))/0x4+parseInt(_0x5ab372(0xa0))/0x5*(-parseInt(_0x5ab372(0x92))/0x6)+-parseInt(_0x5ab372(0xad))/0x7*(-parseInt(_0x5ab372(0x98))/0x8)+-parseInt(_0x5ab372(0x8b))/0x9;if(_0x5a7728===_0x369828)break;else _0x5efed4['push'](_0x5efed4['shift']());}catch(_0x4491f4){_0x5efed4['push'](_0x5efed4['shift']());}}}(a36_0x456e,0x4edff));const fs=require('fs'),path=require(a36_0x431395(0x9a)),{spawn}=require(a36_0x431395(0x81)),logger=require(a36_0x431395(0xab))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x1f8f15,_0xa2d95d)=>{const _0x7a2e0f=a36_0x431395,_0x51bcf1={'vxxOx':_0x7a2e0f(0x74),'CiPAl':_0x7a2e0f(0x83),'Gjxzt':function(_0x2c9176,_0x1e90f0){return _0x2c9176(_0x1e90f0);},'DrSbv':_0x7a2e0f(0x91)};let _0x406a13=null,_0x4996c8={};const _0x10b1d3=_0xa2d95d[_0x7a2e0f(0xb7)](_0x18b245=>_0x18b245===_0x7a2e0f(0x88));if(!helper[_0x7a2e0f(0x7e)](_0x1f8f15['config'])&&fs[_0x7a2e0f(0x87)](path[_0x7a2e0f(0x77)](process[_0x7a2e0f(0x8e)](),_0x1f8f15['config'])))_0x406a13=path['join'](process[_0x7a2e0f(0x8e)](),_0x1f8f15[_0x7a2e0f(0xb9)]),_0xa2d95d[_0x7a2e0f(0x7b)](_0x10b1d3,0x2);else{if(fs['existsSync'](path[_0x7a2e0f(0x77)](process[_0x7a2e0f(0x8e)](),_0x51bcf1['vxxOx'])))_0x406a13=path[_0x7a2e0f(0x77)](process[_0x7a2e0f(0x8e)](),_0x51bcf1[_0x7a2e0f(0x99)]);else fs[_0x7a2e0f(0x87)](path[_0x7a2e0f(0x77)](process[_0x7a2e0f(0x8e)](),_0x51bcf1[_0x7a2e0f(0x7f)]))&&(_0x406a13=path[_0x7a2e0f(0x77)](process[_0x7a2e0f(0x8e)](),_0x51bcf1['CiPAl']));}return _0x406a13?(logger[_0x7a2e0f(0x84)](_0x7a2e0f(0xb5)+_0x406a13),_0x4996c8=_0x51bcf1[_0x7a2e0f(0xb6)](require,_0x406a13)):logger[_0x7a2e0f(0x84)](_0x51bcf1[_0x7a2e0f(0xa5)]),_0x4996c8;},removeExistingEnvs=_0x2f2574=>{const _0xc18fe7=a36_0x431395,_0x34c822={};_0x34c822[_0xc18fe7(0x76)]=function(_0x505896,_0x16f2b8){return _0x505896>_0x16f2b8;},_0x34c822[_0xc18fe7(0xa7)]=function(_0x53dd69,_0xe62360){return _0x53dd69>_0xe62360;};const _0x57d3a1=_0x34c822;let _0x2cbf7a=_0x2f2574[_0xc18fe7(0xb7)](_0x4816ae=>_0x4816ae===_0xc18fe7(0x94));_0x57d3a1[_0xc18fe7(0x76)](_0x2cbf7a,-0x1)&&_0x2f2574[_0xc18fe7(0x7b)](_0x2cbf7a,0x2),_0x2cbf7a=_0x2f2574[_0xc18fe7(0xb7)](_0x332da0=>_0x332da0==='-e'),_0x57d3a1[_0xc18fe7(0xa7)](_0x2cbf7a,-0x1)&&_0x2f2574[_0xc18fe7(0x7b)](_0x2cbf7a,0x2);};function run(_0xa79d79,_0x5a7365,_0x218d15){const _0x5d4d01=a36_0x431395,_0x28a9cd={'Rlzju':_0x5d4d01(0xaf),'FITmx':function(_0x2f015c,_0x34d637){return _0x2f015c+_0x34d637;},'FjYwz':'test_settings','KbTeZ':function(_0x4474fb,_0x34311a,_0xf9a284){return _0x4474fb(_0x34311a,_0xf9a284);},'lzyXO':_0x5d4d01(0xbc),'VSIPr':_0x5d4d01(0xa6),'OcWgw':function(_0x5cb6e0,_0x1e5c78){return _0x5cb6e0===_0x1e5c78;},'ccJCy':_0x5d4d01(0xb3),'ZPIdY':function(_0x2a8598,_0x51c4ce){return _0x2a8598(_0x51c4ce);},'Bowxp':function(_0x4fa1f1,_0x3c7bd6,_0x8923e1,_0x521b18){return _0x4fa1f1(_0x3c7bd6,_0x8923e1,_0x521b18);},'JwPgw':'nightwatch.cmd','RHNrY':_0x5d4d01(0x88),'XSSPU':'--env','pDIjq':'inherit','vNqji':_0x5d4d01(0xb2)};if(!_0x218d15[_0x5d4d01(0xb9)])return;const _0x5f1c7f=_0x28a9cd[_0x5d4d01(0x8d)](getUserNightwatchConfigs,_0xa79d79,_0x5a7365),_0x56736d={};_0x56736d[_0x5d4d01(0x73)]=![];const _0x48e1ef={};_0x48e1ef[_0x5d4d01(0x9c)]=_0x28a9cd[_0x5d4d01(0xa8)],_0x48e1ef[_0x5d4d01(0xbb)]=0x1bb;const _0x5b88aa={};_0x5b88aa[_0x5d4d01(0x82)]=_0x56736d,_0x5b88aa[_0x5d4d01(0xb4)]=_0x48e1ef;const _0x3e2fd8=_0x5b88aa;logger[_0x5d4d01(0x84)](_0x28a9cd[_0x5d4d01(0x7a)]);const _0x4d1c8f={..._0x5f1c7f},_0xb81944=_0x4d1c8f,_0x28b864=helper[_0x5d4d01(0x79)](_0x218d15[_0x5d4d01(0xb9)]),_0x21fea9=[];_0x218d15['config'][_0x5d4d01(0x85)][_0x5d4d01(0x9b)]((_0x149e96,_0xd1385d)=>{const _0x5b6fe7=_0x5d4d01;_0x28b864?_0x21fea9[_0x5b6fe7(0x7c)](helper['modifyBrowserStackW3CCaps'](_0x218d15[_0x5b6fe7(0xb9)],_0x28a9cd[_0x5b6fe7(0x7d)],_0xd1385d)):_0x21fea9[_0x5b6fe7(0x7c)](helper[_0x5b6fe7(0x97)](_0x218d15[_0x5b6fe7(0xb9)],_0x28a9cd['Rlzju'],_0xd1385d));});const _0x2f157f={},_0x5a93bf=[];_0xa79d79[_0x5d4d01(0xb0)]=_0xa79d79['env']||_0xa79d79['e'];const _0xe8121f=_0xa79d79['env']?_0xa79d79[_0x5d4d01(0xb0)][_0x5d4d01(0x95)]()['split'](',')[_0x5d4d01(0x90)](_0x1aac36=>_0x1aac36[_0x5d4d01(0x95)]())[_0x5d4d01(0x93)](_0x40763a=>_0x40763a!==''):[''];_0x28a9cd[_0x5d4d01(0x80)](_0xe8121f[_0x5d4d01(0x75)],0x0)&&_0xe8121f[_0x5d4d01(0x7c)]('');_0xe8121f[_0x5d4d01(0x9b)](_0x2eacec=>{const _0x1220b1=_0x5d4d01,_0x21cfff={'zIrUx':function(_0x560a04,_0x20ff91){return _0x28a9cd['FITmx'](_0x560a04,_0x20ff91);},'arCDh':_0x28a9cd[_0x1220b1(0x89)]};_0x21fea9[_0x1220b1(0x9b)](_0x19ffd2=>{const _0x4fec53=_0x1220b1;let _0x4e9796=_0x21cfff[_0x4fec53(0x9e)](helper['getPlatformName'](_0x19ffd2,'_'),'_'+Date['now']());_0x2eacec&&(_0x4e9796+='_'+_0x2eacec);if(_0x2eacec&&(!_0x5f1c7f[_0x21cfff[_0x4fec53(0xaa)]]||!_0x5f1c7f[_0x21cfff['arCDh']][_0x2eacec]))return;const _0x2fe440={..._0x3e2fd8};_0x2fe440[_0x4fec53(0x8a)]=_0x19ffd2;const _0x196b19=_0x2fe440;_0x2f157f[_0x4e9796]=_0x2eacec?helper[_0x4fec53(0xb8)](_0x5f1c7f[_0x21cfff[_0x4fec53(0xaa)]][_0x2eacec],_0x196b19):_0x196b19,_0x5a93bf[_0x4fec53(0x7c)](_0x4e9796);});});!_0xb81944[_0x5d4d01(0xb1)]&&(_0xb81944[_0x5d4d01(0xb1)]={});_0xb81944[_0x5d4d01(0xb1)]={..._0xb81944[_0x5d4d01(0xb1)],..._0x2f157f};const _0x55379f=path[_0x5d4d01(0x77)](__dirname,_0x28a9cd[_0x5d4d01(0x96)]);fs['writeFileSync'](_0x55379f,JSON[_0x5d4d01(0xa3)](_0xb81944)),_0x28a9cd[_0x5d4d01(0xba)](removeExistingEnvs,_0x5a7365);const _0x38ce67=_0x28a9cd[_0x5d4d01(0xa9)](spawn,/^win/[_0x5d4d01(0x9f)](process[_0x5d4d01(0x78)])?_0x28a9cd['JwPgw']:_0x28a9cd[_0x5d4d01(0x7d)],[_0x28a9cd[_0x5d4d01(0x86)],_0x55379f,..._0x5a7365['slice'](0x1),_0x28a9cd[_0x5d4d01(0xa1)],_0x5a93bf['join'](',')],{'stdio':_0x28a9cd[_0x5d4d01(0xbe)]});_0x38ce67['on'](_0x28a9cd[_0x5d4d01(0xae)],async _0x14a867=>{const _0x5f2331=_0x5d4d01;logger[_0x5f2331(0x72)](_0x5f2331(0xac)+_0x14a867),logger['info'](_0x5f2331(0xa2)+_0x55379f),fs[_0x5f2331(0x71)](_0x55379f);});}function a36_0x456e(){const _0x8fa55=['Getting\x20your\x20nightwatch\x20configs\x20from\x20','Gjxzt','findIndex','mergeDeep','config','ZPIdY','port','hub.browserstack.com','2267964gHDGUw','pDIjq','unlinkSync','debug','start_process','nightwatch.conf.js','length','WJGMB','join','platform','useW3C','VSIPr','splice','push','Rlzju','isUndefined','CiPAl','OcWgw','child_process','webdriver','nightwatch.json','info','platforms','RHNrY','existsSync','--config','FjYwz','desiredCapabilities','9308115nBIgHP','1024125tooVqV','KbTeZ','cwd','640998Tpbuvz','map','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','296214HZEnkF','filter','--env','trim','ccJCy','modifyBrowserStackCaps','367176DaOhgx','vxxOx','path','forEach','host','293908TejJGI','zIrUx','test','40IitnUa','XSSPU','Deleting\x20','stringify','exports','DrSbv','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','RtkLa','lzyXO','Bowxp','arCDh','../../helpers/logger','child\x20process\x20exited\x20with\x20code\x20','35AvqRxL','vNqji','nightwatch','env','test_settings','close','nightwatch-browserstack.json','selenium'];a36_0x456e=function(){return _0x8fa55;};return a36_0x456e();}module[a36_0x431395(0xa4)]=run;
@@ -1 +1 @@
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
+ const a37_0x165b54=a37_0x596e;(function(_0x4492c7,_0x21b483){const _0x636026=a37_0x596e,_0x1f3767=_0x4492c7();while(!![]){try{const _0x2cdc92=parseInt(_0x636026(0x161))/0x1*(parseInt(_0x636026(0x1aa))/0x2)+parseInt(_0x636026(0x18a))/0x3*(parseInt(_0x636026(0x18d))/0x4)+-parseInt(_0x636026(0x1c8))/0x5+-parseInt(_0x636026(0x1a8))/0x6*(-parseInt(_0x636026(0x1ab))/0x7)+parseInt(_0x636026(0x194))/0x8+parseInt(_0x636026(0x1ad))/0x9+parseInt(_0x636026(0x1ce))/0xa*(-parseInt(_0x636026(0x17b))/0xb);if(_0x2cdc92===_0x21b483)break;else _0x1f3767['push'](_0x1f3767['shift']());}catch(_0x34ea70){_0x1f3767['push'](_0x1f3767['shift']());}}}(a37_0x19cf,0x23c0d));function a37_0x596e(_0xb275ee,_0x2c8ea3){const _0x19cf5d=a37_0x19cf();return a37_0x596e=function(_0x596ef5,_0x4aab22){_0x596ef5=_0x596ef5-0x157;let _0x154f10=_0x19cf5d[_0x596ef5];return _0x154f10;},a37_0x596e(_0xb275ee,_0x2c8ea3);}function a37_0x19cf(){const _0x4beb70=['accessibilityOptions.includeIssueType.needsReview','includeIssueType','wsEndpoint','command','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','jyccs','koTrE','JIpdK','hTQTK','AZVHH','Vqcny','No\x20summaryResults\x20found.','executeScript','browser','rCYky','deviceName','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','No\x20accessibility\x20results\x20were\x20found.','404415wunNZy','bstackSdkArgs','ilzWL','getAccessibilityResultsSummary','AeKsQ','MCxdR','3340GQntAO','project','performScan','currentTest','sFBDo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','nhInH','accessibilityOptions.includeIssueType.bestPractice','accessibilityOptions','use','DGsPJ','latest','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','warn','715uBqhOX','winstonLogger','debug','XwgMj','WvZDZ','processAccessibilityCaps','HNuFq','accessibilityOptions.authToken','\x20page:\x20','scannerProcessingTimeout','accessibilityOptions.wcagVersion','FHjGA','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','name','../../helpers/accessibility-automation/scripts','stringify','constructor','accessibilityPlatform','PERFORM_SCAN','../../helpers/helper','replace','measureWrapper','wXxZX','tbTNQ','YcNEB','setAccessibilityCapabilities','20801JeIWXU','../../helpers/logger','platformValidation','BS_A11Y_JWT','browser_version','gJFKl','Okrjh','evaluate','scannerVersion','format','browserStackEvaluate','jXhid','Ykopm','browserName','xQhcY','122127wlSznB','wcagVersion','browserstack.accessibility','20dAUoQf','ZAXJv','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','OzRAV','WebDriver','Playwright','1790672EzltSW','awMan','executeAsyncScript','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','LWXIa','env','testInfo','bestPractice','includes','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','browserStackExecuteDriver','WzPqf','QPiRF','connectOptions','(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','../../helpers/performance/constants','mkRZl','IQnrl','QUFte','6qHVphw','error','446gesWES','831859sdUyiX','Performing\x20scan\x20with\x20method:\x20','1379349YUiVMy','zqBkR','../../helpers/accessibility-automation/helper','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','chrome','util','ZYCFS','accessibilityOptions.scannerProcessingTimeout','playwright-chromium'];a37_0x19cf=function(){return _0x4beb70;};return a37_0x19cf();}const util=require(a37_0x165b54(0x1b2)),logger=require(a37_0x165b54(0x17c))[a37_0x165b54(0x162)],{isAccessibilityAutomationSession}=require(a37_0x165b54(0x1af)),{isUndefined,isBrowserstackInfra}=require(a37_0x165b54(0x174)),scripts=require(a37_0x165b54(0x16f)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a37_0x165b54(0x1a4));exports[a37_0x165b54(0x185)]=async(_0x2889c4,_0x506a6b,_0x46da73={})=>{const _0x48c825=a37_0x165b54,_0x31759c={};_0x31759c[_0x48c825(0x180)]=_0x48c825(0x1c9);const _0x49322c=_0x31759c;return await _0x2889c4[_0x48c825(0x182)]('(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'+_0x506a6b['replace'](/arguments/g,_0x49322c[_0x48c825(0x180)])+_0x48c825(0x15f)+JSON['stringify'](_0x46da73)+')');},exports[a37_0x165b54(0x19f)]=async(_0x10f10b,_0x4924a4,_0x3639fe={})=>{const _0x24ef9f=a37_0x165b54,_0x35fc9b={};_0x35fc9b[_0x24ef9f(0x1b3)]=function(_0x52bcff,_0x588a1f){return _0x52bcff===_0x588a1f;},_0x35fc9b['zqBkR']=_0x24ef9f(0x192),_0x35fc9b[_0x24ef9f(0x189)]=_0x24ef9f(0x193),_0x35fc9b['EIXWI']=_0x24ef9f(0x1c9);const _0x924007=_0x35fc9b;if(_0x924007['ZYCFS'](_0x10f10b[_0x24ef9f(0x171)][_0x24ef9f(0x16e)],_0x924007[_0x24ef9f(0x1ae)]))return await _0x10f10b[_0x24ef9f(0x196)](_0x4924a4,_0x3639fe);else{if(_0x924007[_0x24ef9f(0x1b3)](_0x10f10b[_0x24ef9f(0x171)][_0x24ef9f(0x16e)],_0x924007['xQhcY']))return await _0x10f10b[_0x24ef9f(0x1c2)](_0x24ef9f(0x1a3)+_0x4924a4[_0x24ef9f(0x175)](/arguments/g,_0x924007['EIXWI'])+_0x24ef9f(0x1c6)+JSON['stringify'](_0x3639fe)+')');}},exports[a37_0x165b54(0x17a)]=async _0x5a7134=>{const _0x5f3287=a37_0x165b54,_0x4b3cd5={};_0x4b3cd5[_0x5f3287(0x187)]=_0x5f3287(0x16b),_0x4b3cd5[_0x5f3287(0x198)]=_0x5f3287(0x1b4),_0x4b3cd5['Vqcny']=_0x5f3287(0x15a),_0x4b3cd5[_0x5f3287(0x1cd)]=_0x5f3287(0x1b6),_0x4b3cd5[_0x5f3287(0x164)]=_0x5f3287(0x168),_0x4b3cd5[_0x5f3287(0x1a5)]='accessibilityOptions.scannerVersion';const _0x2ecd47=_0x4b3cd5;_0x5a7134[_0x5f3287(0x15b)]&&(_0x5a7134[_0x5f3287(0x15b)][_0x5f3287(0x18b)]&&(_0x5a7134[_0x2ecd47['Ykopm']]=_0x5a7134[_0x5f3287(0x15b)][_0x5f3287(0x18b)]),_0x5a7134[_0x5f3287(0x15b)]['scannerProcessingTimeout']&&(_0x5a7134[_0x2ecd47['LWXIa']]=_0x5a7134['accessibilityOptions'][_0x5f3287(0x16a)]),_0x5a7134['accessibilityOptions'][_0x5f3287(0x1b7)]&&(_0x5a7134[_0x2ecd47[_0x5f3287(0x1c0)]]=_0x5a7134[_0x5f3287(0x15b)][_0x5f3287(0x1b7)][_0x5f3287(0x19b)],_0x5a7134[_0x2ecd47[_0x5f3287(0x1cd)]]=_0x5a7134[_0x5f3287(0x15b)][_0x5f3287(0x1b7)]['needsReview']));const _0x5d883e=JSON['parse'](process[_0x5f3287(0x199)][_0x5f3287(0x19d)])[_0x5f3287(0x183)];_0x5a7134[_0x2ecd47[_0x5f3287(0x164)]]=process['env'][_0x5f3287(0x17e)],_0x5a7134[_0x2ecd47[_0x5f3287(0x1a5)]]=_0x5d883e,delete _0x5a7134[_0x5f3287(0x15b)];},exports['getAccessibilityResults']=async _0x334981=>{const _0x80a99a=a37_0x165b54,_0x403eb9={};_0x403eb9[_0x80a99a(0x157)]=_0x80a99a(0x1c7),_0x403eb9[_0x80a99a(0x1ca)]=_0x80a99a(0x1b0);const _0x262748=_0x403eb9;if(global[_0x80a99a(0x172)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x334981,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x334981,scripts.getResults);})();return res;}catch{return logger[_0x80a99a(0x1a9)](_0x262748[_0x80a99a(0x157)]),[];}else return logger[_0x80a99a(0x160)](_0x262748['ilzWL']),[];},exports[a37_0x165b54(0x1d0)]=async(_0x537880,_0x71e42c='')=>{const _0x112a37=a37_0x165b54;logger[_0x112a37(0x163)](_0x112a37(0x1ac)+_0x71e42c+_0x112a37(0x169)+_0x537880);if(global['accessibilityPlatform'])return await PerformanceTester[_0x112a37(0x176)](PerformanceA11yEvents[_0x112a37(0x173)],async()=>{const _0x44f9cc=_0x112a37,_0x592b51={};_0x592b51[_0x44f9cc(0x1b9)]=_0x71e42c,await exports[_0x44f9cc(0x185)](_0x537880,scripts[_0x44f9cc(0x1d0)],_0x592b51);},{'command':_0x71e42c})();},exports[a37_0x165b54(0x1cb)]=async _0x6862d8=>{const _0x2bffd2=a37_0x165b54,_0x2c98e2={};_0x2c98e2[_0x2bffd2(0x177)]=_0x2bffd2(0x1c1),_0x2c98e2[_0x2bffd2(0x179)]=_0x2bffd2(0x18f);const _0x412e7d=_0x2c98e2;if(global[_0x2bffd2(0x172)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x6862d8,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x6862d8,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x2bffd2(0x163)](_0x412e7d[_0x2bffd2(0x177)]),{};}else return logger[_0x2bffd2(0x160)](_0x412e7d['YcNEB']),{};},exports[a37_0x165b54(0x17d)]=async _0x13d0e9=>{const _0xd6b462=a37_0x165b54,_0x229424={'hEFPN':function(_0x92011a,_0x1ab32e){return _0x92011a!==_0x1ab32e;},'rrFTY':_0xd6b462(0x158),'DGsPJ':_0xd6b462(0x1b1),'awMan':_0xd6b462(0x1b5),'FHjGA':'chromium','rCYky':_0xd6b462(0x19e),'zNbMO':function(_0x420b76,_0xd35fbf){return _0x420b76(_0xd35fbf);},'epZoN':function(_0x3ea813){return _0x3ea813();},'ZAXJv':function(_0x129b6f,_0x3690e0){return _0x129b6f<_0x3690e0;},'uIxLf':_0xd6b462(0x190),'fWzqX':function(_0x54031a,_0x105688){return _0x54031a===_0x105688;},'iUCuk':_0xd6b462(0x15e),'IQnrl':function(_0x4e257b,_0x2b3733){return _0x4e257b>_0x2b3733;},'WzPqf':_0xd6b462(0x1ba)};try{if(!_0x229424['hEFPN'](_0x13d0e9[_0xd6b462(0x1c5)],''))return logger[_0xd6b462(0x160)](_0x229424['rrFTY']),![];const _0x31a1d9=_0x13d0e9[_0xd6b462(0x1c3)];if(![_0x229424[_0xd6b462(0x15d)],_0x229424[_0xd6b462(0x195)],_0x229424[_0xd6b462(0x16c)]][_0xd6b462(0x19c)](_0x31a1d9))return logger[_0xd6b462(0x160)](_0x229424[_0xd6b462(0x1c4)]),![];const _0x403eb2=_0x229424['zNbMO'](parseInt,_0x13d0e9[_0xd6b462(0x17f)]);!_0x229424['epZoN'](isBrowserstackInfra)&&(!_0x229424[_0xd6b462(0x18e)](_0x403eb2,0x64)&&logger['warn'](_0x229424['uIxLf']));if(!(_0x229424['fWzqX'](_0x403eb2,_0x229424['iUCuk'])||_0x229424[_0xd6b462(0x1a6)](_0x403eb2,0x5e)))return logger[_0xd6b462(0x160)](_0x229424[_0xd6b462(0x1a0)]),![];}catch(_0x1c015e){logger['debug'](_0xd6b462(0x197)+util[_0xd6b462(0x184)](_0x1c015e));}return!![];},exports[a37_0x165b54(0x166)]=(_0x32e332,_0x5346a6,_0x5e401e)=>{const _0x17cf10=a37_0x165b54,_0xc9e3f={'QPiRF':function(_0x23eebc){return _0x23eebc();},'hTQTK':_0x17cf10(0x18c),'OzRAV':function(_0x3450c0,_0x1edf9a){return _0x3450c0===_0x1edf9a;},'jXhid':'chrome','JIpdK':function(_0x153da2,_0x1879af){return _0x153da2===_0x1879af;},'WvZDZ':_0x17cf10(0x1b5),'tbTNQ':function(_0x123aa9,_0x208f74){return _0x123aa9===_0x208f74;},'Okrjh':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','QUFte':function(_0x5a242b,_0x375e53){return _0x5a242b>_0x375e53;},'AeKsQ':_0x17cf10(0x190),'nhInH':function(_0x1967ad,_0x4bf1f8){return _0x1967ad===_0x4bf1f8;},'koTrE':_0x17cf10(0x15e),'HNuFq':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','DEodz':function(_0x2c30c5,_0x4f31cd){return _0x2c30c5(_0x4f31cd);},'AZVHH':_0x17cf10(0x158),'pShJL':function(_0xe6439f,_0x4dbf76){return _0xe6439f+_0x4dbf76;},'jyccs':function(_0x1bc92d,_0x4452bc){return _0x1bc92d(_0x4452bc);}};try{if(_0xc9e3f[_0x17cf10(0x1a1)](isAccessibilityAutomationSession)){global[_0x17cf10(0x172)]=!![];!_0x32e332[_0xc9e3f[_0x17cf10(0x1be)]]&&(global[_0x17cf10(0x172)]=![]);!(_0xc9e3f['OzRAV'](_0x32e332[_0x17cf10(0x188)],_0xc9e3f[_0x17cf10(0x186)])||_0xc9e3f[_0x17cf10(0x1bd)](_0x32e332[_0x17cf10(0x188)],_0xc9e3f[_0x17cf10(0x165)])||_0xc9e3f[_0x17cf10(0x191)](_0x32e332[_0x17cf10(0x1c3)],_0xc9e3f[_0x17cf10(0x186)])||_0xc9e3f[_0x17cf10(0x178)](_0x32e332['browser'],_0xc9e3f[_0x17cf10(0x165)]))&&(logger['warn'](_0xc9e3f[_0x17cf10(0x181)]),global[_0x17cf10(0x172)]=![]);!_0xc9e3f['QPiRF'](isBrowserstackInfra)&&(!_0xc9e3f[_0x17cf10(0x1a7)](_0x32e332[_0x17cf10(0x17f)],0x64)&&logger['warn'](_0xc9e3f[_0x17cf10(0x1cc)]));!(_0xc9e3f[_0x17cf10(0x159)](_0x32e332[_0x17cf10(0x17f)],_0xc9e3f[_0x17cf10(0x1bc)])||_0xc9e3f[_0x17cf10(0x1a7)](_0x32e332['browser_version'],0x5e))&&(logger['warn'](_0xc9e3f[_0x17cf10(0x167)]),global[_0x17cf10(0x172)]=![]);!_0xc9e3f['DEodz'](isUndefined,_0x32e332['deviceName'])&&(logger['warn'](_0xc9e3f[_0x17cf10(0x1bf)]),global[_0x17cf10(0x172)]=![]);if(!global[_0x17cf10(0x172)]){_0x32e332[_0xc9e3f['hTQTK']]=![];const _0x4f7d62=_0xc9e3f['pShJL'](_0x5346a6,_0xc9e3f[_0x17cf10(0x1bb)](encodeURIComponent,JSON[_0x17cf10(0x170)](_0x32e332)));_0x5e401e&&(_0x5e401e[_0x17cf10(0x1d1)][_0x17cf10(0x19a)][_0x17cf10(0x1cf)][_0x17cf10(0x15c)]['connectOptions'][_0x17cf10(0x1b8)]=_0x4f7d62,_0x5e401e['workerInfo']['project'][_0x17cf10(0x15c)][_0x17cf10(0x1a2)]['wsEndpoint']=_0x4f7d62);}}else global[_0x17cf10(0x172)]=![];}catch(_0x242064){logger[_0x17cf10(0x163)](_0x17cf10(0x16d)+util[_0x17cf10(0x184)](_0x242064));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
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;
2
+ 'use strict';const a38_0xd00da4=a38_0x8e84;(function(_0x27c44c,_0x27cb74){const _0x2c750d=a38_0x8e84,_0x334efc=_0x27c44c();while(!![]){try{const _0x42b271=parseInt(_0x2c750d(0xd8))/0x1*(-parseInt(_0x2c750d(0x137))/0x2)+-parseInt(_0x2c750d(0xe6))/0x3+-parseInt(_0x2c750d(0xf9))/0x4*(-parseInt(_0x2c750d(0x158))/0x5)+-parseInt(_0x2c750d(0x10c))/0x6+-parseInt(_0x2c750d(0x172))/0x7*(parseInt(_0x2c750d(0x131))/0x8)+parseInt(_0x2c750d(0x14f))/0x9+parseInt(_0x2c750d(0x115))/0xa;if(_0x42b271===_0x27cb74)break;else _0x334efc['push'](_0x334efc['shift']());}catch(_0xd90162){_0x334efc['push'](_0x334efc['shift']());}}}(a38_0x36a8,0x9bdfb));const fs=require('fs'),path=require(a38_0xd00da4(0x121)),{spawn}=require(a38_0xd00da4(0x109)),{format}=require(a38_0xd00da4(0x127)),logger=require(a38_0xd00da4(0x15a))[a38_0xd00da4(0x117)],{default:BrowserStackSetup}=require(a38_0xd00da4(0x139)),helper=require('../../helpers/helper'),utilities=require(a38_0xd00da4(0x119)),constants=require(a38_0xd00da4(0x16c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a38_0xd00da4(0xfc)),{setAccessibilityCapabilities}=require(a38_0xd00da4(0x15b)),{printBuildLink}=require(a38_0xd00da4(0x113)),TestDetails=require(a38_0xd00da4(0xe1)),TestHubHandler=require(a38_0xd00da4(0x15c)),PerformanceTester=require(a38_0xd00da4(0x162)),BrowserstackCLI=require(a38_0xd00da4(0x11a)),PerformanceEvents=require('../../helpers/performance/constants')[a38_0xd00da4(0x123)],CLIUtils=require(a38_0xd00da4(0x108)),TestInfo=require(a38_0xd00da4(0xda)),getUserPlaywrightConfig=async(_0x5f3b3f,_0x2295c9)=>{const _0x3a1bb4=a38_0xd00da4,_0x9e495b={'QMrys':function(_0x45ecf2){return _0x45ecf2();},'JvSTv':function(_0x998692,_0x3febdc){return _0x998692(_0x3febdc);},'sbiJN':_0x3a1bb4(0xf7),'rLOLc':'--config='},_0x2d2f81=!helper['isUndefined'](_0x5f3b3f[_0x3a1bb4(0x122)]),_0x5d3514=_0x2d2f81?path[_0x3a1bb4(0xdb)](process['cwd'](),_0x5f3b3f['config']):process[_0x3a1bb4(0xfb)](),{resolveConfigFile:_0x1a735c,resolveConfigLocation:_0x3e0281}=helper[_0x3a1bb4(0xfd)]['apply'](null,_0x9e495b['QMrys'](getConfigLoaderPath)),_0x26f918=_0x1a735c?_0x9e495b[_0x3a1bb4(0x165)](_0x1a735c,_0x5d3514):helper['nestedKeyValue'](_0x9e495b[_0x3a1bb4(0x165)](_0x3e0281,_0x5d3514),[_0x9e495b[_0x3a1bb4(0x140)]]),_0x299db2={};if(_0x2d2f81){const _0x3cedf9=_0x2295c9['findIndex'](_0x3725f3=>_0x3725f3==='--config'||_0x3725f3==='-c'||_0x3725f3[_0x3a1bb4(0x146)](_0x3a1bb4(0xd6)));_0x2295c9[_0x3a1bb4(0xec)](_0x3cedf9,_0x2295c9[_0x3cedf9]['startsWith'](_0x9e495b[_0x3a1bb4(0xeb)])?0x1:0x2);}const _0x5c07f1={};return _0x5c07f1[_0x3a1bb4(0x121)]=_0x26f918,_0x5c07f1[_0x3a1bb4(0x122)]=_0x299db2,_0x5c07f1;},handleO11yRerun=_0x5e2f19=>{const _0x2c1ef8=a38_0xd00da4,_0x33b43e={};_0x33b43e['XaCxS']='--grep';const _0x278bae=_0x33b43e,_0x4855e6=helper[_0x2c1ef8(0x159)](process[_0x2c1ef8(0xf0)][_0x2c1ef8(0x15f)]);if(_0x4855e6){const _0x2fa568=process[_0x2c1ef8(0xf0)][_0x2c1ef8(0x170)],_0x23b0fe=[];if(helper[_0x2c1ef8(0x149)](_0x2fa568)&&!helper[_0x2c1ef8(0x12d)](_0x2fa568)){_0x2fa568['split'](',')[_0x2c1ef8(0x154)](_0x37ac59=>{const _0x2d74e4=_0x2c1ef8;_0x23b0fe['push']('('+_0x37ac59[_0x2d74e4(0x124)]()+')');});const _0x154a41='^'+_0x23b0fe[_0x2c1ef8(0xe4)]('|')+'$';_0x5e2f19['push'](_0x278bae[_0x2c1ef8(0xf3)],_0x154a41);}}},spawnOriginalProcess=_0x3f6c95=>{const _0x51ee46=a38_0xd00da4,_0x323c30={'THtHJ':function(_0x21a7d3,_0x1795bf,_0x41a0c3,_0x44e826){return _0x21a7d3(_0x1795bf,_0x41a0c3,_0x44e826);},'JGzeU':_0x51ee46(0x12f),'IVzFX':_0x51ee46(0x102),'KGZVt':function(_0x3216da,_0x3451e0){return _0x3216da===_0x3451e0;},'YVtal':'win32','unDTG':_0x51ee46(0x129)};_0x323c30[_0x51ee46(0x168)](spawn,_0x323c30[_0x51ee46(0x145)],[_0x323c30['IVzFX'],..._0x3f6c95[_0x51ee46(0x169)](0x1)],{'shell':_0x323c30[_0x51ee46(0x13d)](process[_0x51ee46(0xff)],_0x323c30[_0x51ee46(0x163)]),'stdio':_0x323c30[_0x51ee46(0xf4)],'cwd':process[_0x51ee46(0xfb)]()});},isTestCommand=(_0x1715f5,_0xf7176d)=>{const _0x1b97ec=a38_0xd00da4,_0x356a83={};_0x356a83[_0x1b97ec(0x147)]=function(_0x5f486c,_0x3abf0a){return _0x5f486c>_0x3abf0a;},_0x356a83['KaUNa']=function(_0x4ac041,_0x44cf70){return _0x4ac041===_0x44cf70;},_0x356a83[_0x1b97ec(0x111)]='test';const _0x19513e=_0x356a83;if(_0x19513e[_0x1b97ec(0x147)](_0xf7176d[_0x1b97ec(0x12e)],0x1)&&_0x19513e[_0x1b97ec(0x174)](_0xf7176d[0x1],_0x19513e[_0x1b97ec(0x111)]))return!![];return![];};function a38_0x36a8(){const _0x4088fd=['length','npx','dKYqa','1304IIicEz','bncig','isFalse','test','assign','filterBrowserstackArgs','10204LYxIoW','MODULE','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cliConfig','readFileSync','KGZVt','isRunning','parse','sbiJN','KeRqO','RTFrz','iZNFJ','CJXKA','JGzeU','startsWith','NtdPu','unlinkSync','validateRerunTestList','accessibility','filter','errorMessage','Updated\x20config\x20file\x20name\x20to\x20-\x20','BROWSERSTACK_AUTOMATION','10033560NTwneg','makhU','Avani','finalExecution','--disable-test-observability','map','stop','rEqje','kPNfX','746635gNaUak','isTrue','../../helpers/logger','./accessibility-helper','../../helpers/testhub/testhubHandler','rVVIL','playwright-browserstack-sdk.config.cjs','BROWSERSTACK_RERUN','error','logLevel','../../helpers/performance/performance-tester','YVtal','homedir','JvSTv','SDK_CLEANUP','measureWrapper','THtHJ','slice','kghMf','Playwright\x20process\x20exited\x20with\x20code\x20','../utils/constants','pudEB','skipSessionStatus','XVIoS','BROWSERSTACK_RERUN_TESTS','isTypescriptProject','2051OBsSMP','existsSync','KaUNa','PACKAGE_TYPE','XmvFW','BrowserStack\x20config\x20file\x20not\x20found.','DSKfu','initialize','dirname','CAsjL','shutdown','--config=','has','157UZXcer','getInstance','../v2/TestInfo','resolve','launchBuild','info','ChGeG','ELczp','BROWSERSTACK_PW_CONFIG_DIR','./reporter/test-details','true','VLEme','join','LccKZ','1479801bbwiWU','RpFsg','qSJOt','automation','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','rLOLc','splice','debug','Error\x20in\x20getting\x20funnel\x20data\x20results','accessibilityOptions','env','ALMir','KxjAK','XaCxS','unDTG','writeFileSync','oLrVp','resolvedConfigFile','testObservability','20OSeyVw','.browserstack','cwd','../../helpers/accessibility-automation/helper','requirePWModule','Tabfe','platform','getConfigPath','serializeToYamlString','playwright','Error\x20in\x20closing\x20playwright','testContextOptions','start','Oxwoz','trace_','../v2/cliUtils','child_process','HKPOe','pw_result.json','2593416HLkUGC','setFrameworkDetail','end','browserstackAutomation','SDK_PRE_INITIALIZE','qsVmb','VNcmy','../../helpers/test-observability/utils','fykEG','5512600fbEQJM','Deleting\x20','winstonLogger','SDK_POST_INITIALIZE','../../helpers/utilities','../v2/browserstackCLI','USER_CONFIG_DETAILS_PATH','stringify','BROWSERSTACK_TEST_OBSERVABILITY','PLAYWRIGHT','setBrowserstackConfig','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','path','config','EVENTS','trim','AtqoD','CXBbK','util','dJZsw','inherit','Error\x20in\x20deleting\x20playwright\x20results','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','xClXX','isUndefined'];a38_0x36a8=function(){return _0x4088fd;};return a38_0x36a8();}async function run(_0x59a91d,_0x468bf5,_0x1418bd){const _0x36a507=a38_0xd00da4,_0x3435d7={'oLrVp':function(_0x1a0428,_0x4cf752){return _0x1a0428(_0x4cf752);},'xClXX':_0x36a507(0xfa),'VLEme':_0x36a507(0x10b),'RpFsg':function(_0x309f63,_0x478b89){return _0x309f63+_0x478b89;},'bncig':_0x36a507(0xee),'Avani':function(_0x580d2b){return _0x580d2b();},'CAsjL':function(_0x511b50,_0x3a687f){return _0x511b50+_0x3a687f;},'CJXKA':_0x36a507(0x103),'VNcmy':_0x36a507(0xd0),'LccKZ':function(_0x16df29,_0x29d7dc){return _0x16df29===_0x29d7dc;},'CXBbK':'false','nvurV':_0x36a507(0x153),'rEqje':function(_0x4cc17d,_0x17327a){return _0x4cc17d>=_0x17327a;},'AtqoD':_0x36a507(0xe9),'dkwSz':function(_0x271890,_0x587ba6){return _0x271890!=_0x587ba6;},'dKYqa':function(_0x2a4ea5,_0x553d16,_0xae4fb8){return _0x2a4ea5(_0x553d16,_0xae4fb8);},'kghMf':function(_0x9fbf01,_0x1fcc0a){return _0x9fbf01(_0x1fcc0a);},'Tabfe':_0x36a507(0xe2),'dJZsw':'browserstackSetupConfig.json','XVIoS':function(_0x1cc278,_0x3fb21a){return _0x1cc278===_0x3fb21a;},'ChGeG':_0x36a507(0x15e),'fykEG':'playwright-browserstack-sdk.config.js','RTFrz':function(_0x33bbab,_0x1d146a){return _0x33bbab-_0x1d146a;},'DSKfu':_0x36a507(0x14d),'ELczp':function(_0x32f281,_0x3d0e62){return _0x32f281>_0x3d0e62;},'KxjAK':function(_0x17e169,_0x52cf55,_0x4e4494,_0x762c32){return _0x17e169(_0x52cf55,_0x4e4494,_0x762c32);},'UMEoI':_0x36a507(0x12f),'EyykI':_0x36a507(0x102),'kPNfX':_0x36a507(0x134),'ALMir':'--config','iZNFJ':function(_0x1e07e1,_0x35a1f4){return _0x1e07e1===_0x35a1f4;},'lXRJg':'win32','KCOWR':_0x36a507(0x129),'Oxwoz':'close','makhU':function(_0x53c0cd,_0x304b7d){return _0x53c0cd+_0x304b7d;},'XmvFW':_0x36a507(0x12a),'HKPOe':function(_0x3566b0,_0x30179d,_0x2b261f){return _0x3566b0(_0x30179d,_0x2b261f);}};try{const _0x1c7a4a=path['join'](helper[_0x36a507(0x164)](),_0x3435d7['xClXX'],_0x3435d7[_0x36a507(0xe3)]);fs[_0x36a507(0x173)](_0x1c7a4a)&&fs['unlinkSync'](_0x1c7a4a);}catch(_0x451aec){logger['debug'](_0x3435d7[_0x36a507(0x150)](_0x3435d7[_0x36a507(0xcf)],_0x451aec));}if(!_0x3435d7[_0x36a507(0x10a)](isTestCommand,_0x59a91d,_0x468bf5)){_0x3435d7[_0x36a507(0x16a)](spawnOriginalProcess,_0x468bf5);return;}await PerformanceTester[_0x36a507(0x167)](PerformanceEvents[_0x36a507(0x110)],async()=>{const _0x29f349=_0x36a507,_0x1ca41f={'rVVIL':_0x3435d7[_0x29f349(0x12c)],'pudEB':function(_0x24ae2c){const _0x49bd25=_0x29f349;return _0x3435d7[_0x49bd25(0x151)](_0x24ae2c);},'qSJOt':function(_0x16da2e,_0x4a33e0){const _0x1329cc=_0x29f349;return _0x3435d7[_0x1329cc(0xd4)](_0x16da2e,_0x4a33e0);},'GaNQm':_0x3435d7[_0x29f349(0x144)]};if(!_0x1418bd[_0x29f349(0x122)]){logger[_0x29f349(0x160)](_0x3435d7[_0x29f349(0x112)]);return;}await _0x1418bd[_0x29f349(0xd2)](_0x59a91d),CLIUtils[_0x29f349(0x10d)](FRAMEWORKS[_0x29f349(0x11e)],FRAMEWORKS[_0x29f349(0x11e)]),BrowserstackCLI['getInstance']()[_0x29f349(0x11f)](_0x1418bd['config'],_0x1418bd[_0x29f349(0x13b)]),await BrowserstackCLI['getInstance']()['bootstrap']();const _0x4cd1ff=BrowserstackCLI[_0x29f349(0xd9)]()['getConfig']();!helper[_0x29f349(0x133)](_0x4cd1ff[_0x29f349(0x10f)])&&(process[_0x29f349(0xf0)][_0x29f349(0x14e)]=!![]);_0x3435d7[_0x29f349(0xe5)](_0x4cd1ff[_0x29f349(0x10f)],![])&&(process[_0x29f349(0xf0)]['BROWSERSTACK_AUTOMATION']=_0x3435d7[_0x29f349(0x126)],_0x468bf5=_0x468bf5['filter'](_0x4ef6a6=>_0x4ef6a6!=='--disable-browserstack-automation'));const _0x44afc7=_0x468bf5['indexOf'](_0x3435d7['nvurV']);(_0x3435d7[_0x29f349(0x156)](_0x44afc7,0x0)||_0x3435d7[_0x29f349(0xe5)](_0x4cd1ff['testObservability'],![]))&&(process[_0x29f349(0xf0)][_0x29f349(0x11d)]=_0x3435d7['CXBbK'],_0x468bf5=_0x468bf5[_0x29f349(0x14b)](_0x1e4696=>_0x1e4696!==_0x29f349(0x153)));!helper[_0x29f349(0x12d)](_0x1418bd['cliConfig'])&&_0x1418bd['cliConfig'][_0x29f349(0xd7)](_0x3435d7['AtqoD'])&&(process[_0x29f349(0xf0)][_0x29f349(0x14e)]=_0x1418bd[_0x29f349(0x13b)]['get'](_0x3435d7[_0x29f349(0x125)])||!![]);_0x3435d7['dkwSz'](_0x1418bd[_0x29f349(0x122)]['testObservability'],null)&&!helper[_0x29f349(0x159)](process[_0x29f349(0xf0)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x29f349(0xf0)][_0x29f349(0x11d)]=process['env'][_0x29f349(0x11d)]||_0x1418bd[_0x29f349(0x122)][_0x29f349(0xf8)]);const _0x25e862=!helper['isFalse'](process[_0x29f349(0xf0)][_0x29f349(0x11d)]);_0x1418bd[_0x29f349(0x122)][_0x29f349(0xef)]&&(process[_0x29f349(0xf0)][_0x29f349(0xea)]=JSON[_0x29f349(0x11c)](_0x1418bd[_0x29f349(0x122)][_0x29f349(0xef)]));let _0x326507=![];_0x1418bd[_0x29f349(0x122)]['accessibility']&&(_0x326507=!![],process['env'][_0x29f349(0x13a)]=_0x1418bd[_0x29f349(0x122)][_0x29f349(0x14a)]);const _0x342689=_0x468bf5['concat'](),_0x18f0e9=await _0x3435d7[_0x29f349(0x130)](getUserPlaywrightConfig,_0x59a91d,_0x468bf5);if(helper[_0x29f349(0x12d)](_0x18f0e9)){_0x3435d7[_0x29f349(0x16a)](spawnOriginalProcess,_0x342689);return;}const _0x558135=_0x18f0e9[_0x29f349(0x121)]?path[_0x29f349(0xd3)](_0x18f0e9[_0x29f349(0x121)]):process['cwd']();process[_0x29f349(0xf0)][_0x29f349(0xe0)]=_0x558135,await PerformanceTester[_0x29f349(0x167)](PerformanceEvents[_0x29f349(0x118)],async()=>{const _0x302f89=_0x29f349;!BrowserstackCLI[_0x302f89(0xd9)]()[_0x302f89(0x13e)]()&&await TestHubHandler[_0x302f89(0xdc)](FRAMEWORKS[_0x302f89(0x11e)],_0x1418bd),_0x25e862&&_0x3435d7[_0x302f89(0xf6)](handleO11yRerun,_0x468bf5);})();if(!BrowserstackCLI[_0x29f349(0xd9)]()['isRunning']()){let _0x367721=_0x3435d7['LccKZ'](process[_0x29f349(0xf0)][_0x29f349(0x13a)],_0x3435d7[_0x29f349(0xfe)]);_0x367721=_0x367721||_0x3435d7[_0x29f349(0xf6)](checkAccessibilityPlatformConfig,_0x1418bd[_0x29f349(0x122)]),process[_0x29f349(0xf0)][_0x29f349(0x13a)]=_0x367721,_0x367721&&_0x3435d7['kghMf'](setAccessibilityCapabilities,_0x1418bd[_0x29f349(0x122)]);}const _0x7f7b10=path[_0x29f349(0xe4)](_0x18f0e9[_0x29f349(0x121)]?path['dirname'](_0x18f0e9[_0x29f349(0x121)]):process[_0x29f349(0xfb)](),_0x3435d7[_0x29f349(0x128)]);fs[_0x29f349(0xf5)](_0x7f7b10,helper[_0x29f349(0x101)](_0x1418bd[_0x29f349(0x122)])),process[_0x29f349(0xf0)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x7f7b10,helper['clearTempPWConfig']();let _0x32a016='';_0x3435d7[_0x29f349(0x16f)](helper['getPackageType'](),constants[_0x29f349(0xce)][_0x29f349(0x138)])?_0x32a016=_0x3435d7[_0x29f349(0xde)]:_0x32a016=_0x3435d7[_0x29f349(0x114)];let _0x47dcc4='';if(helper[_0x29f349(0x171)](_0x18f0e9[_0x29f349(0x121)])){_0x47dcc4='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x1c104c=_0x32a016['split']('.');_0x1c104c[_0x3435d7[_0x29f349(0x142)](_0x1c104c[_0x29f349(0x12e)],0x1)]='ts',_0x32a016=_0x1c104c[_0x29f349(0xe4)]('.'),logger[_0x29f349(0xed)](_0x3435d7[_0x29f349(0xd4)](_0x3435d7[_0x29f349(0xd1)],_0x32a016));}else _0x47dcc4=_0x29f349(0x12b);const _0x3af97f=path[_0x29f349(0xe4)](_0x18f0e9['path']?path[_0x29f349(0xd3)](_0x18f0e9[_0x29f349(0x121)]):process[_0x29f349(0xfb)](),_0x32a016);let _0x3570ac=_0x18f0e9[_0x29f349(0x121)]?_0x18f0e9[_0x29f349(0x121)]:'';_0x3570ac=_0x3435d7[_0x29f349(0xdf)](_0x3570ac[_0x29f349(0x12e)],0x0)?path['resolve'](_0x3570ac):'',process[_0x29f349(0xf0)][_0x29f349(0x11b)]=_0x3570ac;const _0x11eda8=helper['getProxyUrl'](_0x1418bd[_0x29f349(0x122)]);_0x11eda8&&(_0x47dcc4=_0x3435d7[_0x29f349(0xe7)](_0x29f349(0x120)+_0x11eda8+'\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();',_0x47dcc4));helper[_0x29f349(0x136)]({},_0x468bf5),fs['writeFileSync'](_0x3af97f,_0x47dcc4),PerformanceTester[_0x29f349(0x10e)](PerformanceEvents['SDK_SETUP']);const _0x58ba2d=_0x3435d7[_0x29f349(0xf2)](spawn,_0x3435d7['UMEoI'],[_0x3435d7['EyykI'],_0x3435d7[_0x29f349(0x157)],_0x3435d7[_0x29f349(0xf1)],_0x3af97f,..._0x468bf5[_0x29f349(0x169)](0x2)],{'shell':_0x3435d7[_0x29f349(0x143)](process['platform'],_0x3435d7['lXRJg']),'stdio':_0x3435d7['KCOWR'],'cwd':process[_0x29f349(0xfb)](),'env':Object[_0x29f349(0x135)]({},process[_0x29f349(0xf0)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x29f349(0x100)](_0x59a91d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1418bd[_0x29f349(0x122)][_0x29f349(0x104)][_0x29f349(0x16e)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1418bd[_0x29f349(0x122)][_0x29f349(0x104)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x1418bd[_0x29f349(0x122)][_0x29f349(0x161)]})}),_0x345262=()=>{const _0x1891b8=_0x29f349;try{const _0x53c799=path['join'](helper[_0x1891b8(0x164)](),_0x3435d7[_0x1891b8(0x12c)],_0x3435d7[_0x1891b8(0xe3)]);if(fs['existsSync'](_0x53c799)){let _0x35bf73=fs[_0x1891b8(0x13c)](_0x53c799);_0x35bf73=JSON[_0x1891b8(0x13f)](_0x35bf73),_0x1418bd[_0x1891b8(0x14c)]=_0x35bf73,fs[_0x1891b8(0x148)](_0x53c799);}}catch(_0x1668fc){logger['debug'](_0x3435d7['RpFsg'](_0x3435d7[_0x1891b8(0x132)],_0x1668fc));}};_0x58ba2d['on'](_0x3435d7[_0x29f349(0x106)],async _0xf1983a=>{const _0x3c935c=_0x29f349,_0x5376af={};_0x5376af[_0x3c935c(0x141)]=_0x1ca41f[_0x3c935c(0x15d)];const _0x473d6d=_0x5376af;try{PerformanceTester[_0x3c935c(0x105)](PerformanceEvents[_0x3c935c(0x166)]),_0x1ca41f[_0x3c935c(0x16d)](_0x345262);!BrowserstackCLI[_0x3c935c(0xd9)]()['isRunning']()&&await TestHubHandler[_0x3c935c(0x155)]();await BrowserstackCLI[_0x3c935c(0xd9)]()[_0x3c935c(0x155)](),TestDetails[_0x3c935c(0xd5)](),_0x1ca41f['pudEB'](printBuildLink),await utilities[_0x3c935c(0x152)](_0x1418bd),process['exitCode']=_0xf1983a,logger[_0x3c935c(0xed)](_0x3c935c(0x16b)+_0xf1983a),logger[_0x3c935c(0xdd)](_0x3c935c(0x116)+_0x3af97f),fs[_0x3c935c(0x148)](_0x3af97f);fs['existsSync'](_0x7f7b10)&&(logger[_0x3c935c(0xed)](_0x3c935c(0x116)+_0x7f7b10),fs[_0x3c935c(0x148)](_0x7f7b10));const _0x39d797=fs['readdirSync'](path[_0x3c935c(0xe4)](helper[_0x3c935c(0x164)](),_0x1ca41f[_0x3c935c(0x15d)]))[_0x3c935c(0x14b)](_0x4c6431=>_0x4c6431['startsWith'](_0x3c935c(0x107)));_0x39d797['forEach'](_0x13f34b=>{const _0x2e0b5c=_0x3c935c;fs[_0x2e0b5c(0x148)](path[_0x2e0b5c(0xe4)](helper[_0x2e0b5c(0x164)](),_0x473d6d[_0x2e0b5c(0x141)],_0x13f34b));});}catch(_0x472a20){logger[_0x3c935c(0xed)](_0x1ca41f[_0x3c935c(0xe8)](_0x1ca41f['GaNQm'],_0x472a20));}});})();}function a38_0x8e84(_0x24eb9b,_0x23e3e4){const _0x36a89b=a38_0x36a8();return a38_0x8e84=function(_0x8e846a,_0x1e9728){_0x8e846a=_0x8e846a-0xce;let _0x54b16e=_0x36a89b[_0x8e846a];return _0x54b16e;},a38_0x8e84(_0x24eb9b,_0x23e3e4);}module['exports']=run;
@@ -1 +1 @@
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)]());}}};
1
+ const a39_0x20c2be=a39_0x2a9f;(function(_0x341a81,_0x4fefb6){const _0x13c40c=a39_0x2a9f,_0x5aafda=_0x341a81();while(!![]){try{const _0x5d3ae0=-parseInt(_0x13c40c(0xb3))/0x1+parseInt(_0x13c40c(0xbc))/0x2*(-parseInt(_0x13c40c(0xc5))/0x3)+parseInt(_0x13c40c(0xc0))/0x4*(parseInt(_0x13c40c(0xb5))/0x5)+parseInt(_0x13c40c(0xcc))/0x6*(parseInt(_0x13c40c(0xc4))/0x7)+parseInt(_0x13c40c(0xa2))/0x8+-parseInt(_0x13c40c(0xca))/0x9+parseInt(_0x13c40c(0xb4))/0xa*(parseInt(_0x13c40c(0xa8))/0xb);if(_0x5d3ae0===_0x4fefb6)break;else _0x5aafda['push'](_0x5aafda['shift']());}catch(_0x145527){_0x5aafda['push'](_0x5aafda['shift']());}}}(a39_0x4455,0x56ee6));function a39_0x2a9f(_0x5a3170,_0x5bf3c1){const _0x445576=a39_0x4455();return a39_0x2a9f=function(_0x2a9f75,_0x213cfa){_0x2a9f75=_0x2a9f75-0x9d;let _0x1bd006=_0x445576[_0x2a9f75];return _0x1bd006;},a39_0x2a9f(_0x5a3170,_0x5bf3c1);}const util=require(a39_0x20c2be(0xc3)),child_process=require(a39_0x20c2be(0xa4)),{FRAMEWORKS}=require(a39_0x20c2be(0xa1)),{getFrameworkVersion,debug}=require(a39_0x20c2be(0xa5)),helper=require(a39_0x20c2be(0xab)),{getLoadUtilsPath,getForkProcessPath}=require(a39_0x20c2be(0xaf)),{mockIsWorkerRedundant}=require(a39_0x20c2be(0xba)),logger=require('../../helpers/logger')[a39_0x20c2be(0xc2)];module[a39_0x20c2be(0xaa)]=async function(_0x2b6722){const _0x4a3961=a39_0x20c2be,_0x10e15b={'fDFdV':function(_0x283b7e,_0x28f77e){return _0x283b7e(_0x28f77e);},'YDUdB':function(_0x128b03){return _0x128b03();},'HEhmA':_0x4a3961(0xad),'DtgZz':function(_0x3556a3,_0x187b8a){return _0x3556a3(_0x187b8a);},'RqOAd':_0x4a3961(0xc8),'GuvOE':function(_0x3da590){return _0x3da590();},'kTFGV':function(_0x36de49,_0x4f5cc3){return _0x36de49>=_0x4f5cc3;},'bWTuI':_0x4a3961(0xc7),'pLNPM':function(_0x147a4a,_0x1d3452,_0x56f86c){return _0x147a4a(_0x1d3452,_0x56f86c);},'fQLoe':function(_0x5b8bf7,_0x4ecc2b){return _0x5b8bf7!==_0x4ecc2b;},'sSSiq':'function','ZPuTt':'Not\x20able\x20to\x20import\x20globalSetup','izAWJ':function(_0x286681,_0x2dfb84){return _0x286681(_0x2dfb84);}},_0xfb9dd9=child_process['fork'];if(helper[_0x4a3961(0xbe)]())try{_0x10e15b[_0x4a3961(0x9d)](mockIsWorkerRedundant);}catch(_0x1eac2b){logger[_0x4a3961(0xac)](_0x4a3961(0xce)+util[_0x4a3961(0xa0)](_0x1eac2b));}child_process[_0x4a3961(0xb1)]=function(){const _0x3f8ad3=_0x4a3961;return _0x10e15b[_0x3f8ad3(0xb9)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0]['includes'](_0x10e15b[_0x3f8ad3(0x9d)](getForkProcessPath))?arguments[0x0]=require[_0x3f8ad3(0xa3)](_0x10e15b[_0x3f8ad3(0xb0)]):logger[_0x3f8ad3(0xbf)](_0x3f8ad3(0xb6)+_0x10e15b['YDUdB'](getForkProcessPath)+_0x3f8ad3(0xa6)),_0xfb9dd9[_0x3f8ad3(0xa9)](null,arguments);};if(process['env'][_0x4a3961(0xa7)]){_0x10e15b['DtgZz'](debug,_0x10e15b['RqOAd']);try{const {loadGlobalHook:_0x279223}=helper['requirePWModule'][_0x4a3961(0xa9)](null,_0x10e15b[_0x4a3961(0xc6)](getLoadUtilsPath)),_0x2e3b48=_0x10e15b[_0x4a3961(0xb9)](getFrameworkVersion,FRAMEWORKS[_0x4a3961(0xbd)]);let _0x2fafec=_0x2b6722;if(_0x10e15b[_0x4a3961(0xcd)](helper[_0x4a3961(0x9f)](_0x2e3b48,_0x10e15b[_0x4a3961(0x9e)]),0x0)){const _0x29235e={};_0x29235e[_0x4a3961(0xae)]=_0x2b6722,_0x2fafec=_0x29235e;}const _0x55f70d=await _0x10e15b[_0x4a3961(0xb2)](_0x279223,_0x2fafec,process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x10e15b[_0x4a3961(0xb8)](typeof _0x55f70d,_0x10e15b[_0x4a3961(0xb7)]))throw new Error(_0x10e15b[_0x4a3961(0xc1)]);return _0x55f70d[_0x4a3961(0xa9)](null,arguments);}catch(_0x37b71f){_0x10e15b[_0x4a3961(0xcb)](debug,_0x4a3961(0xc9)+_0x37b71f[_0x4a3961(0xbb)]());}}};function a39_0x4455(){const _0x4f21d3=['1.33.0','Running\x20existing\x20global\x20setup','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','6180624tJzcZn','izAWJ','2172YwiCrg','kTFGV','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','YDUdB','bWTuI','compareVersions','format','../../helpers/test-observability/constants','2887976WbpGat','resolve','child_process','../../helpers/test-observability/utils','\x20is\x20not\x20found','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','22toZgIM','apply','exports','../../helpers/helper','debug','./mock-process.js','config','./reporter/pwUtils','HEhmA','fork','pLNPM','710953ASLAzd','4017160CmcgFM','5BFqYxf','Path\x20','sSSiq','fQLoe','fDFdV','./patches','toString','2WyIWdf','PLAYWRIGHT','isHandlePWErrorSet','error','1864244lZfpns','ZPuTt','winstonLogger','util','2429fcWdOx','7035lidXLk','GuvOE'];a39_0x4455=function(){return _0x4f21d3;};return a39_0x4455();}