browserstack-node-sdk 1.56.1 → 1.56.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/caCertHelper.js +1 -1
  156. package/src/helpers/capsMapping.js +1 -1
  157. package/src/helpers/central-scanner/constants.js +1 -1
  158. package/src/helpers/central-scanner/helpers.js +1 -1
  159. package/src/helpers/classLogger.js +1 -1
  160. package/src/helpers/driverInitErrorReporter.js +1 -0
  161. package/src/helpers/globals.js +1 -1
  162. package/src/helpers/helper.js +1 -1
  163. package/src/helpers/logger.js +1 -1
  164. package/src/helpers/metadata.js +1 -1
  165. package/src/helpers/patchHelper.js +1 -1
  166. package/src/helpers/patchHelpers.js +1 -1
  167. package/src/helpers/percy/Percy.js +1 -1
  168. package/src/helpers/percy/PercyBinary.js +1 -1
  169. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  170. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  171. package/src/helpers/percy/PercySDK.js +1 -1
  172. package/src/helpers/percy/index.js +1 -1
  173. package/src/helpers/percy/utils.js +1 -1
  174. package/src/helpers/performance/constants.js +1 -1
  175. package/src/helpers/performance/performance-tester.js +1 -1
  176. package/src/helpers/playwright-helper.js +1 -1
  177. package/src/helpers/processHelper.js +1 -1
  178. package/src/helpers/puppeteer-helper.js +1 -1
  179. package/src/helpers/request-spy.js +1 -1
  180. package/src/helpers/setKeepAlive.js +1 -1
  181. package/src/helpers/stackFrameUtils.js +1 -1
  182. package/src/helpers/test-observability/constants.js +1 -1
  183. package/src/helpers/test-observability/error-handler.js +1 -1
  184. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  185. package/src/helpers/test-observability/sessionHandler.js +1 -1
  186. package/src/helpers/test-observability/utils.js +1 -1
  187. package/src/helpers/test-orchestration/constants.js +1 -1
  188. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  189. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  190. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  191. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  192. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  193. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  194. package/src/helpers/testhub/constants.js +1 -1
  195. package/src/helpers/testhub/testhubHandler.js +1 -1
  196. package/src/helpers/testhub/utils.js +1 -1
  197. package/src/helpers/timeoutPromise.js +1 -1
  198. package/src/helpers/utilities.js +1 -1
  199. package/src/helpers/w3cMapping.js +1 -1
  200. package/src/hubAllocationMethods.js +1 -1
  201. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a89_0x158c76=a89_0x1066;function a89_0x1e54(){const _0x286327=['crypto','getRef','isBrowserstackAutomationSession','RABVu','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','18eCgNVD','hex','6308904nXGdTU','set','entries','getId','updateMultipleEntries','4839130bLeccw','digest','keys','get','./trackedContext','DcnUf','18275400OeeMuz','forEach','pid','worker_threads','57aEwrcO','107378iqGblm','addMultipleEntries','956RLsMxE','createContext','update','aoLHk','getContext','data','createHash','context','2799180OiQFpP','2566998pfBCVm','exports','getData','sha256'];a89_0x1e54=function(){return _0x286327;};return a89_0x1e54();}(function(_0x387952,_0x35e998){const _0x3820a2=a89_0x1066,_0x9966d3=_0x387952();while(!![]){try{const _0x153526=-parseInt(_0x3820a2(0x1c8))/0x1*(-parseInt(_0x3820a2(0x1b6))/0x2)+-parseInt(_0x3820a2(0x1c7))/0x3*(-parseInt(_0x3820a2(0x1ca))/0x4)+parseInt(_0x3820a2(0x1bd))/0x5+-parseInt(_0x3820a2(0x1ac))/0x6+parseInt(_0x3820a2(0x1ad))/0x7+parseInt(_0x3820a2(0x1b8))/0x8+-parseInt(_0x3820a2(0x1c3))/0x9;if(_0x153526===_0x35e998)break;else _0x9966d3['push'](_0x9966d3['shift']());}catch(_0x3690bf){_0x9966d3['push'](_0x9966d3['shift']());}}}(a89_0x1e54,0x91be6));const TrackedContext=require(a89_0x158c76(0x1c1)),crypto=require(a89_0x158c76(0x1b1)),{threadId}=require(a89_0x158c76(0x1c6));function a89_0x1066(_0x1d87a4,_0x4dc32e){const _0x1e542c=a89_0x1e54();return a89_0x1066=function(_0x10661a,_0x170dff){_0x10661a=_0x10661a-0x1aa;let _0x29072f=_0x1e542c[_0x10661a];return _0x29072f;},a89_0x1066(_0x1d87a4,_0x4dc32e);}class TrackedInstance{static [a89_0x158c76(0x1b5)]=a89_0x158c76(0x1b3);constructor(_0x5a592a){const _0x32b84d=a89_0x158c76;this['context']=_0x5a592a,this[_0x32b84d(0x1cf)]=new Map();}[a89_0x158c76(0x1b2)](){const _0x10687a=a89_0x158c76;return this[_0x10687a(0x1ab)][_0x10687a(0x1bb)]();}[a89_0x158c76(0x1ce)](){const _0xbc8959=a89_0x158c76;return this[_0xbc8959(0x1ab)];}['getAllData'](){const _0x570774=a89_0x158c76;return this[_0x570774(0x1cf)];}[a89_0x158c76(0x1bc)](_0x572958){const _0x129606=a89_0x158c76;Object[_0x129606(0x1bf)](_0x572958)['forEach'](_0x19da99=>{const _0x4dbe5a=_0x129606;this[_0x4dbe5a(0x1cf)][_0x4dbe5a(0x1b9)](_0x19da99,_0x572958[_0x19da99]);});}[a89_0x158c76(0x1c9)](_0x2b3268){const _0x39f7dd=a89_0x158c76;Object[_0x39f7dd(0x1ba)](_0x2b3268)[_0x39f7dd(0x1c4)](([_0x35d92d,_0x30f33e])=>{const _0x15f35b=_0x39f7dd,_0x18d78c=this[_0x15f35b(0x1cf)]['get'](_0x35d92d)||{},_0x5e4be4={..._0x18d78c,..._0x30f33e},_0x1b4319=_0x5e4be4;this[_0x15f35b(0x1cf)][_0x15f35b(0x1b9)](_0x35d92d,_0x1b4319);});}[a89_0x158c76(0x1af)](_0x1b346e){const _0x4abd62=a89_0x158c76;return this[_0x4abd62(0x1cf)][_0x4abd62(0x1c0)](_0x1b346e);}['updateData'](_0x2563fa,_0x592784){const _0x34270f=a89_0x158c76;this[_0x34270f(0x1cf)]['set'](_0x2563fa,_0x592784);}static[a89_0x158c76(0x1cb)](_0x2df86c){const _0x33cc41=a89_0x158c76,_0x5aba9a={};_0x5aba9a[_0x33cc41(0x1c2)]=_0x33cc41(0x1b0),_0x5aba9a[_0x33cc41(0x1cd)]=_0x33cc41(0x1b7),_0x5aba9a[_0x33cc41(0x1b4)]=function(_0x37000c,_0x27f20a){return _0x37000c||_0x27f20a;};const _0x16dfe7=_0x5aba9a;return new TrackedContext(crypto[_0x33cc41(0x1aa)](_0x16dfe7[_0x33cc41(0x1c2)])[_0x33cc41(0x1cc)](_0x2df86c)[_0x33cc41(0x1be)](_0x16dfe7['aoLHk']),_0x16dfe7['RABVu'](threadId,0x0),process[_0x33cc41(0x1c5)],typeof _0x2df86c);}}module[a89_0x158c76(0x1ae)]=TrackedInstance;
1
+ const a89_0x24a182=a89_0x574b;(function(_0xadf94d,_0x35540f){const _0x13e902=a89_0x574b,_0x403b04=_0xadf94d();while(!![]){try{const _0x3a4419=parseInt(_0x13e902(0x84))/0x1*(parseInt(_0x13e902(0x7d))/0x2)+parseInt(_0x13e902(0x75))/0x3*(parseInt(_0x13e902(0x74))/0x4)+parseInt(_0x13e902(0x81))/0x5+parseInt(_0x13e902(0x6c))/0x6+parseInt(_0x13e902(0x7f))/0x7*(-parseInt(_0x13e902(0x83))/0x8)+parseInt(_0x13e902(0x67))/0x9+-parseInt(_0x13e902(0x78))/0xa*(parseInt(_0x13e902(0x68))/0xb);if(_0x3a4419===_0x35540f)break;else _0x403b04['push'](_0x403b04['shift']());}catch(_0x336fc8){_0x403b04['push'](_0x403b04['shift']());}}}(a89_0x11a2,0x678b5));const TrackedContext=require('./trackedContext'),crypto=require(a89_0x24a182(0x82)),{threadId}=require('worker_threads');class TrackedInstance{static [a89_0x24a182(0x6e)]='isBrowserstackAutomationSession';constructor(_0x175e7b){const _0x6a2370=a89_0x24a182;this[_0x6a2370(0x7a)]=_0x175e7b,this[_0x6a2370(0x70)]=new Map();}[a89_0x24a182(0x6d)](){const _0x4e60a6=a89_0x24a182;return this['context'][_0x4e60a6(0x85)]();}['getContext'](){const _0xbd43ee=a89_0x24a182;return this[_0xbd43ee(0x7a)];}['getAllData'](){const _0x2c38da=a89_0x24a182;return this[_0x2c38da(0x70)];}[a89_0x24a182(0x86)](_0x160d81){const _0x49048c=a89_0x24a182;Object['keys'](_0x160d81)[_0x49048c(0x76)](_0xababfb=>{const _0x42d5ef=_0x49048c;this[_0x42d5ef(0x70)]['set'](_0xababfb,_0x160d81[_0xababfb]);});}[a89_0x24a182(0x71)](_0x4067bd){const _0x2daf32=a89_0x24a182;Object[_0x2daf32(0x7e)](_0x4067bd)[_0x2daf32(0x76)](([_0x481110,_0x265cbb])=>{const _0x414dc5=_0x2daf32,_0x31b2d9=this[_0x414dc5(0x70)]['get'](_0x481110)||{},_0x3300b4={..._0x31b2d9,..._0x265cbb},_0x4d28c5=_0x3300b4;this[_0x414dc5(0x70)][_0x414dc5(0x80)](_0x481110,_0x4d28c5);});}[a89_0x24a182(0x7b)](_0x546512){const _0x55c53f=a89_0x24a182;return this['data'][_0x55c53f(0x79)](_0x546512);}[a89_0x24a182(0x6a)](_0x4c4020,_0x9f41da){const _0x8458a4=a89_0x24a182;this[_0x8458a4(0x70)][_0x8458a4(0x80)](_0x4c4020,_0x9f41da);}static['createContext'](_0x36471a){const _0x49b1ad=a89_0x24a182,_0x573559={};_0x573559['pnzCr']='sha256',_0x573559[_0x49b1ad(0x6b)]='hex',_0x573559['LTlgU']=function(_0x481cbe,_0x145b9b){return _0x481cbe||_0x145b9b;};const _0x138725=_0x573559;return new TrackedContext(crypto[_0x49b1ad(0x72)](_0x138725[_0x49b1ad(0x7c)])[_0x49b1ad(0x73)](_0x36471a)[_0x49b1ad(0x69)](_0x138725[_0x49b1ad(0x6b)]),_0x138725['LTlgU'](threadId,0x0),process[_0x49b1ad(0x6f)],typeof _0x36471a);}}function a89_0x574b(_0x488ae8,_0x5af4a5){const _0x11a217=a89_0x11a2();return a89_0x574b=function(_0x574b55,_0x19344e){_0x574b55=_0x574b55-0x67;let _0x58ff9b=_0x11a217[_0x574b55];return _0x58ff9b;},a89_0x574b(_0x488ae8,_0x5af4a5);}function a89_0x11a2(){const _0x258f72=['pid','data','addMultipleEntries','createHash','update','956MiEleV','9510vtOsBP','forEach','exports','19420aeVjJv','get','context','getData','pnzCr','832XUPRyV','entries','175iJEYOU','set','1298845RiPmZA','crypto','48072JeuKSY','1524ellbss','getId','updateMultipleEntries','7361604IafogU','11484WiUxPr','digest','updateData','bFlex','794706bjUkOn','getRef','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION'];a89_0x11a2=function(){return _0x258f72;};return a89_0x11a2();}module[a89_0x24a182(0x77)]=TrackedInstance;
@@ -1 +1 @@
1
- const a90_0x2d5ab2=a90_0x1bd4;(function(_0x4f41e2,_0x230a1a){const _0x320c8a=a90_0x1bd4,_0x570611=_0x4f41e2();while(!![]){try{const _0x224db4=-parseInt(_0x320c8a(0x2c3))/0x1*(parseInt(_0x320c8a(0x25b))/0x2)+-parseInt(_0x320c8a(0x19b))/0x3+parseInt(_0x320c8a(0x2a6))/0x4+parseInt(_0x320c8a(0x1a6))/0x5+parseInt(_0x320c8a(0x2c2))/0x6+-parseInt(_0x320c8a(0x224))/0x7+parseInt(_0x320c8a(0x2f9))/0x8;if(_0x224db4===_0x230a1a)break;else _0x570611['push'](_0x570611['shift']());}catch(_0x2bc585){_0x570611['push'](_0x570611['shift']());}}}(a90_0x5881,0x81a2c));function a90_0x1bd4(_0x401e11,_0x587cce){const _0x5881a9=a90_0x5881();return a90_0x1bd4=function(_0x1bd4e2,_0x12a5ef){_0x1bd4e2=_0x1bd4e2-0x158;let _0x4f7adc=_0x5881a9[_0x1bd4e2];return _0x4f7adc;},a90_0x1bd4(_0x401e11,_0x587cce);}const BaseModule=require(a90_0x2d5ab2(0x191)),{createClassLogger}=require(a90_0x2d5ab2(0x269)),CLIUtils=require(a90_0x2d5ab2(0x22a)),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a90_0x2d5ab2(0x1e6)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require('../state/hookState'),GrpcClient=require(a90_0x2d5ab2(0x225)),scripts=require(a90_0x2d5ab2(0x254)),logger=createClassLogger(a90_0x2d5ab2(0x2a0)),PerformanceTester=require(a90_0x2d5ab2(0x2aa)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a90_0x2d5ab2(0x15d)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a90_0x2d5ab2(0x2a9)),{nestedKeyValue,isUndefined}=require('../../../helpers/helper'),util=require('util'),TestInfo=require(a90_0x2d5ab2(0x24a)),TestFrameworkConstants=require(a90_0x2d5ab2(0x2ad)),accessibilityHelper=require(a90_0x2d5ab2(0x324));class AccessibilityModule extends BaseModule{static ['MODULE_NAME']=AccessibilityModule[a90_0x2d5ab2(0x307)];static [a90_0x2d5ab2(0x2a5)]=![];static [a90_0x2d5ab2(0x1fd)]={};constructor(_0x2ffc33){const _0x45410a=a90_0x2d5ab2,_0x3888c6={};_0x3888c6[_0x45410a(0x31e)]='15|10|16|11|14|8|4|12|0|7|6|5|9|1|2|13|3',_0x3888c6[_0x45410a(0x2ee)]='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x3888c6[_0x45410a(0x278)]='ACCESSIBILITY_INITIALIZED',_0x3888c6['OATsM']='testhub_build_uuid',_0x3888c6[_0x45410a(0x215)]=_0x45410a(0x329);const _0x3b8764=_0x3888c6,_0x2a6ac8=_0x3b8764[_0x45410a(0x31e)][_0x45410a(0x301)]('|');let _0x53343e=0x0;while(!![]){switch(_0x2a6ac8[_0x53343e++]){case'0':this['isAppAccessibility']=![];continue;case'1':logger['debug'](_0x3b8764[_0x45410a(0x2ee)]);continue;case'2':this['KEY_INIT']=_0x3b8764[_0x45410a(0x278)];continue;case'3':this[_0x45410a(0x27d)]=_0x3b8764[_0x45410a(0x317)];continue;case'4':this[_0x45410a(0x309)]=new Map();continue;case'5':this[_0x45410a(0x1b9)]=![];continue;case'6':this[_0x45410a(0x1ba)]=![];continue;case'7':this['capabilities']=[];continue;case'8':this[_0x45410a(0x1bf)]=_0x2ffc33[_0x45410a(0x298)]();continue;case'9':this[_0x45410a(0x21d)](_0x2ffc33[_0x45410a(0x250)]()[_0x45410a(0x16f)]());continue;case'10':AutomationFramework[_0x45410a(0x1fb)](AutomationFrameworkState['EXECUTE'],HookState[_0x45410a(0x30e)],this[_0x45410a(0x19f)][_0x45410a(0x230)](this));continue;case'11':AutomationFramework[_0x45410a(0x1fb)](AutomationFrameworkState[_0x45410a(0x1d5)],HookState['PRE'],this[_0x45410a(0x162)][_0x45410a(0x230)](this));continue;case'12':this['LOG_DISABLED_SHOWN']=new Map();continue;case'13':this[_0x45410a(0x289)]=_0x3b8764['TZqWl'];continue;case'14':this['isEnabled']=!![];continue;case'15':super();continue;case'16':AutomationFramework[_0x45410a(0x1fb)](AutomationFrameworkState[_0x45410a(0x25a)],HookState[_0x45410a(0x33b)],this['onBeforeTest'][_0x45410a(0x230)](this));continue;}break;}}[a90_0x2d5ab2(0x21c)](){const _0x306c64=a90_0x2d5ab2;return this[_0x306c64(0x21c)];}[a90_0x2d5ab2(0x17f)](){const _0x13c3b8=a90_0x2d5ab2;return AccessibilityModule[_0x13c3b8(0x15c)];}[a90_0x2d5ab2(0x29d)](){const _0x278d57=a90_0x2d5ab2;return this['accessibility']['get'](CLIUtils[_0x278d57(0x180)](),![]);}['getLogDisabledShown'](){const _0x269900=a90_0x2d5ab2;return this['LOG_DISABLED_SHOWN'][_0x269900(0x23c)](CLIUtils['getCurrentInstanceName'](),![]);}[a90_0x2d5ab2(0x1ce)](_0x1ac7d3){const _0x3d38a4=a90_0x2d5ab2;this[_0x3d38a4(0x23e)][_0x3d38a4(0x2fc)](CLIUtils[_0x3d38a4(0x180)](),_0x1ac7d3);}[a90_0x2d5ab2(0x24c)](){const _0x31c8c0=a90_0x2d5ab2,_0x5e567f={'lUgYg':_0x31c8c0(0x20e),'gxvVM':function(_0x14cfcc,_0x1c7446){return _0x14cfcc(_0x1c7446);},'sOKFV':_0x31c8c0(0x29f),'MoAKO':_0x31c8c0(0x2e2),'vsLCZ':_0x31c8c0(0x1d7)};if(this[_0x31c8c0(0x1ba)]){logger['debug'](_0x5e567f[_0x31c8c0(0x258)]);return;}try{const _0x367b46=_0x5e567f[_0x31c8c0(0x2e3)](require,_0x5e567f[_0x31c8c0(0x247)]);_0x367b46&&_0x367b46[_0x31c8c0(0x290)]?(_0x367b46['patchSendMessageToServer'](),this[_0x31c8c0(0x1ba)]=!![],logger[_0x31c8c0(0x30b)](_0x5e567f[_0x31c8c0(0x23d)])):logger['debug'](_0x5e567f[_0x31c8c0(0x2f5)]);}catch(_0xaad8e1){logger[_0x31c8c0(0x30b)](_0x31c8c0(0x1d9)+util[_0x31c8c0(0x1e2)](_0xaad8e1));}}[a90_0x2d5ab2(0x274)](_0x523da4=null,_0x58da0f=null,_0x1f8733=null){const _0x488b5b=a90_0x2d5ab2,_0x5aa107={'JMinF':function(_0x448d0b,_0x376c93){return _0x448d0b&&_0x376c93;},'xmBdd':_0x488b5b(0x27e),'mMKEh':function(_0x52c202,_0x89b032){return _0x52c202(_0x89b032);},'gnHmQ':_0x488b5b(0x24b),'iKrSK':_0x488b5b(0x211),'tsjMp':_0x488b5b(0x2e0),'VvYyi':function(_0x5a82da,_0x5d9a04){return _0x5a82da===_0x5d9a04;},'kADYl':_0x488b5b(0x2d6),'hPnnK':'string','cutdR':_0x488b5b(0x222),'gPUYp':'goog:chromeOptions','kRvvM':function(_0x526c91,_0x23ae5c){return _0x526c91!==_0x23ae5c;},'zpSas':'latest','mXDqs':function(_0x1f2494){return _0x1f2494();},'NRPCL':_0x488b5b(0x17c),'jfsqE':function(_0x27f6e2,_0x10e5e8){return _0x27f6e2!==_0x10e5e8;},'Sxfav':function(_0x4afdb5,_0x122495){return _0x4afdb5>_0x122495;},'HYAAb':function(_0x139f52,_0x49daeb){return _0x139f52(_0x49daeb);},'RCTYD':_0x488b5b(0x2c9)};try{if(_0x5aa107[_0x488b5b(0x1ec)](!_0x58da0f,!_0x1f8733))return logger[_0x488b5b(0x30b)](_0x5aa107[_0x488b5b(0x18f)]),![];const {isUndefined:_0x5a85ea,isBrowserstackInfra:_0x566a1f}=_0x5aa107[_0x488b5b(0x335)](require,_0x5aa107[_0x488b5b(0x2e9)]);if(!accessibilityHelper[_0x488b5b(0x319)]())return logger[_0x488b5b(0x30b)](_0x5aa107['iKrSK']),![];const _0x41f8d3=_0x58da0f['browserName']||_0x58da0f[_0x488b5b(0x1c5)],_0x52a57e=_0x58da0f[_0x488b5b(0x31b)]||_0x58da0f['browser_version'];if(!accessibilityHelper[_0x488b5b(0x164)](_0x41f8d3))return logger[_0x488b5b(0x331)](_0x5aa107['tsjMp']),![];if(accessibilityHelper[_0x488b5b(0x1fa)](_0x41f8d3))try{const _0x2c68ff=_0x58da0f[_0x488b5b(0x2b6)],_0x3b1f1f=_0x5aa107[_0x488b5b(0x2d5)](_0x2c68ff,!![])||_0x5aa107['VvYyi'](_0x2c68ff,_0x5aa107[_0x488b5b(0x237)])||_0x5aa107[_0x488b5b(0x2d5)](typeof _0x2c68ff,_0x5aa107[_0x488b5b(0x2e1)])&&_0x5aa107[_0x488b5b(0x2d5)](_0x2c68ff[_0x488b5b(0x280)](),_0x5aa107[_0x488b5b(0x237)]);if(_0x3b1f1f)return logger['warn'](_0x5aa107['cutdR']),![];const _0x1490c3=_0x58da0f?.[_0x488b5b(0x205)]?.[_0x488b5b(0x175)]||_0x58da0f?.[_0x5aa107[_0x488b5b(0x1c8)]]?.[_0x488b5b(0x175)]||[];if(Array['isArray'](_0x1490c3)&&_0x1490c3['some'](_0x2aa6ec=>typeof _0x2aa6ec===_0x488b5b(0x276)&&(_0x2aa6ec==='--headless'||_0x2aa6ec[_0x488b5b(0x1a0)](_0x488b5b(0x1e4))&&_0x2aa6ec!==_0x488b5b(0x193))))return logger[_0x488b5b(0x331)](_0x5aa107[_0x488b5b(0x182)]),![];}catch(_0x4872e1){logger[_0x488b5b(0x30b)](_0x488b5b(0x167)+util[_0x488b5b(0x1e2)](_0x4872e1));}if(_0x5aa107[_0x488b5b(0x1f0)](_0x52a57e,_0x5aa107[_0x488b5b(0x32d)])){const _0x494594=_0x5aa107[_0x488b5b(0x18b)](_0x566a1f),_0x2df019=accessibilityHelper[_0x488b5b(0x26e)](_0x41f8d3,_0x494594),_0x94221=accessibilityHelper[_0x488b5b(0x23b)](_0x41f8d3);if(!accessibilityHelper[_0x488b5b(0x194)](_0x52a57e,_0x2df019)){const _0x4dde9a=_0x494594?'':_0x5aa107[_0x488b5b(0x1b3)];return logger[_0x488b5b(0x331)](_0x488b5b(0x1b0)+_0x94221+_0x488b5b(0x286)+_0x2df019+'\x20or\x20higher\x20'+_0x4dde9a+'.'),![];}}else{const _0x2658f3=_0x58da0f[_0x488b5b(0x31b)]||_0x58da0f[_0x488b5b(0x268)]||_0x58da0f[_0x488b5b(0x287)];if(_0x2658f3&&_0x5aa107[_0x488b5b(0x30a)](_0x2658f3,_0x5aa107[_0x488b5b(0x32d)])&&!_0x5aa107[_0x488b5b(0x202)](_0x5aa107['mMKEh'](parseFloat,_0x2658f3),_0x5aa107[_0x488b5b(0x305)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger['warn'](_0x5aa107[_0x488b5b(0x1b5)]),![];}return!![];}catch(_0x2e5471){return logger[_0x488b5b(0x30b)](_0x488b5b(0x158)+_0x2e5471['message']),![];}}[a90_0x2d5ab2(0x2b3)](_0x3c09a0=[],_0x23fad9,_0x360956=a90_0x2d5ab2(0x243)){const _0x566fe3=a90_0x2d5ab2,_0x559caa={'Rosfx':function(_0x54342c,_0x480c84){return _0x54342c===_0x480c84;},'nCKWZ':_0x566fe3(0x21e),'CpuKs':function(_0x53041d,_0x519599){return _0x53041d||_0x519599;},'IAGha':function(_0x305f08,_0x411691){return _0x305f08&&_0x411691;},'FcSKr':'unknown','Fewpg':function(_0x2bfb2c,_0xd0f952){return _0x2bfb2c===_0xd0f952;},'yVDuD':function(_0x53ed0d,_0x2d9a6a){return _0x53ed0d(_0x2d9a6a);},'SLzMt':function(_0x15af8a,_0x3acdb8){return _0x15af8a>_0x3acdb8;},'tCmQD':function(_0x36fe1a,_0x444787){return _0x36fe1a&&_0x444787;}};try{const _0x5615ba=process[_0x566fe3(0x18e)][_0x566fe3(0x1ac)]?JSON[_0x566fe3(0x25f)](process['env'][_0x566fe3(0x1ac)]):null;if(!_0x5615ba)return!![];const _0x2c1efb=Array[_0x566fe3(0x219)](_0x5615ba[_0x566fe3(0x28b)])?_0x5615ba['includeTagsInTestingScope']:[],_0x2ced16=Array[_0x566fe3(0x219)](_0x5615ba[_0x566fe3(0x1cf)])?_0x5615ba[_0x566fe3(0x1cf)]:[];if(_0x559caa[_0x566fe3(0x240)](_0x360956,_0x559caa['nCKWZ'])){let _0x2359a6;Array['isArray'](_0x3c09a0)?_0x2359a6=_0x3c09a0[_0x566fe3(0x266)]('\x20'):_0x2359a6=_0x559caa[_0x566fe3(0x1dc)](_0x3c09a0,'');const _0x54d27f=_0x2ced16[_0x566fe3(0x30d)](_0x3d6dee=>_0x2359a6[_0x566fe3(0x1df)](_0x3d6dee)),_0x5b7599=_0x559caa['Rosfx'](_0x2c1efb[_0x566fe3(0x173)],0x0)||_0x2c1efb[_0x566fe3(0x30d)](_0x2b7d0a=>_0x2359a6[_0x566fe3(0x1df)](_0x2b7d0a)),_0x3d1607=_0x559caa[_0x566fe3(0x1b2)](!_0x54d27f,_0x5b7599);return logger[_0x566fe3(0x30b)]('[platform\x20-\x20'+(_0x23fad9?.[_0x566fe3(0x20f)]?.()||_0x559caa['FcSKr'])+_0x566fe3(0x31f)+_0x3d1607+_0x566fe3(0x1d2)+_0x2359a6+_0x566fe3(0x33f)+JSON[_0x566fe3(0x1b1)](_0x2c1efb)+_0x566fe3(0x2ac)+JSON[_0x566fe3(0x1b1)](_0x2ced16)),_0x3d1607;}const _0x4a585e=Array['isArray'](_0x3c09a0)?_0x3c09a0:[];let _0x5e898f=![],_0x47a020=_0x559caa[_0x566fe3(0x306)](_0x2c1efb[_0x566fe3(0x173)],0x0);const _0x4004d8=_0x3bd058=>typeof _0x3bd058===_0x566fe3(0x276)?_0x3bd058[_0x566fe3(0x1db)](/^@/,'')[_0x566fe3(0x280)]()['trim']():_0x3bd058,_0x4900e7=new Set(_0x2c1efb[_0x566fe3(0x327)](_0x4004d8)),_0x1c37b3=new Set(_0x2ced16[_0x566fe3(0x327)](_0x4004d8));for(const _0x3d3f62 of _0x4a585e){const _0x3ede7e=_0x559caa[_0x566fe3(0x1c9)](_0x4004d8,_0x3d3f62);_0x1c37b3[_0x566fe3(0x1e0)](_0x3ede7e)&&(_0x5e898f=!![]),_0x559caa[_0x566fe3(0x32e)](_0x4900e7[_0x566fe3(0x2c0)],0x0)&&_0x4900e7[_0x566fe3(0x1e0)](_0x3ede7e)&&(_0x47a020=!![]);}const _0x430e4b=_0x559caa[_0x566fe3(0x2e6)](_0x47a020,!_0x5e898f);return logger[_0x566fe3(0x30b)](_0x566fe3(0x2c5)+(_0x23fad9?.['getPlatformIndex']?.()||_0x559caa[_0x566fe3(0x1eb)])+_0x566fe3(0x20a)+_0x430e4b+_0x566fe3(0x20c)+JSON['stringify'](_0x4a585e)+',\x20includeTags='+JSON[_0x566fe3(0x1b1)](_0x2c1efb)+_0x566fe3(0x2ac)+JSON[_0x566fe3(0x1b1)](_0x2ced16)),_0x430e4b;}catch(_0x7f2908){return logger[_0x566fe3(0x30b)](_0x566fe3(0x2c5)+(_0x23fad9?.['getPlatformIndex']?.()||_0x559caa[_0x566fe3(0x1eb)])+_0x566fe3(0x326)+_0x7f2908[_0x566fe3(0x1c7)]),![];}}async[a90_0x2d5ab2(0x1ea)](_0x1c7fde){const _0x5acf05=a90_0x2d5ab2,_0x2eb1f7={};_0x2eb1f7['gcusi']=function(_0x531b7d,_0x5c02b5){return _0x531b7d!==_0x5c02b5;},_0x2eb1f7[_0x5acf05(0x1d1)]='cucumber',_0x2eb1f7[_0x5acf05(0x17d)]=function(_0x16aec0,_0x532f2c){return _0x16aec0!==_0x532f2c;},_0x2eb1f7[_0x5acf05(0x277)]='jest',_0x2eb1f7[_0x5acf05(0x1f1)]='onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x2eb1f7[_0x5acf05(0x1cd)]=_0x5acf05(0x2b0),_0x2eb1f7[_0x5acf05(0x33c)]=_0x5acf05(0x315),_0x2eb1f7['mGutf']=_0x5acf05(0x2b5),_0x2eb1f7[_0x5acf05(0x16e)]=_0x5acf05(0x16c),_0x2eb1f7[_0x5acf05(0x196)]=function(_0x3bec53,_0x47f5ec){return _0x3bec53===_0x47f5ec;},_0x2eb1f7[_0x5acf05(0x2ca)]='onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true',_0x2eb1f7[_0x5acf05(0x2fa)]=_0x5acf05(0x233),_0x2eb1f7[_0x5acf05(0x15b)]=function(_0x331e6d,_0x5181b7){return _0x331e6d>_0x5181b7;},_0x2eb1f7[_0x5acf05(0x2a7)]=function(_0x2c168e,_0x204938){return _0x2c168e===_0x204938;},_0x2eb1f7[_0x5acf05(0x232)]=_0x5acf05(0x2e8),_0x2eb1f7[_0x5acf05(0x270)]=_0x5acf05(0x265),_0x2eb1f7['PjvJX']=function(_0x45ffad,_0x1a8743){return _0x45ffad&&_0x1a8743;},_0x2eb1f7[_0x5acf05(0x291)]=_0x5acf05(0x2ff),_0x2eb1f7[_0x5acf05(0x1d6)]=_0x5acf05(0x2d6);const _0x37ccda=_0x2eb1f7;if(_0x37ccda[_0x5acf05(0x18a)](_0x1c7fde[_0x5acf05(0x26c)],_0x37ccda['GwJDx'])&&_0x37ccda[_0x5acf05(0x17d)](_0x1c7fde[_0x5acf05(0x26c)],_0x37ccda['YyClV'])){logger[_0x5acf05(0x30b)](_0x37ccda[_0x5acf05(0x1f1)]);return;}try{const _0x2f29ed=AutomationFramework['getTrackedInstance'](),_0x23a7a8=TestFramework[_0x5acf05(0x1dd)](),_0x5086b3=_0x1c7fde[_0x5acf05(0x238)]||global[_0x5acf05(0x1b7)]?.[_0x5acf05(0x275)]||null;if(!_0x5086b3){_0x23a7a8&&_0x23a7a8[_0x5acf05(0x251)](_0x37ccda[_0x5acf05(0x1cd)],!![]);logger[_0x5acf05(0x30b)](_0x37ccda[_0x5acf05(0x33c)]);return;}logger[_0x5acf05(0x30b)](_0x37ccda[_0x5acf05(0x2b1)]);const _0x426dfa=_0x23a7a8?.[_0x5acf05(0x234)](_0x37ccda[_0x5acf05(0x16e)],![]),_0x37dfde=_0x23a7a8?.[_0x5acf05(0x234)](_0x37ccda['ybLyf'],![]);if(_0x37ccda['UqVHq'](_0x426dfa,![])&&_0x37ccda[_0x5acf05(0x196)](_0x37dfde,![])){_0x23a7a8&&_0x23a7a8[_0x5acf05(0x251)](_0x37ccda[_0x5acf05(0x16e)],!![]);logger[_0x5acf05(0x30b)](_0x37ccda[_0x5acf05(0x2ca)]);return;}_0x23a7a8&&_0x23a7a8[_0x5acf05(0x251)](_0x37ccda[_0x5acf05(0x1cd)],!![]);let _0x3db72d,_0x5cb55d;const _0x383e49=_0x1c7fde[_0x5acf05(0x26c)]||_0x37ccda[_0x5acf05(0x1d1)];if(_0x37ccda[_0x5acf05(0x196)](_0x383e49,_0x37ccda[_0x5acf05(0x277)])){_0x5cb55d=_0x1c7fde['testInfo']?.[_0x5acf05(0x192)]||_0x1c7fde[_0x5acf05(0x32c)]?.['id']||global[_0x5acf05(0x263)]||global[_0x5acf05(0x1b7)]?.[_0x5acf05(0x1ae)]?.[_0x5acf05(0x192)]||global[_0x5acf05(0x1b7)]?.[_0x5acf05(0x1ae)]?.['id'];const _0x5207bf=_0x23a7a8?.[_0x5acf05(0x24f)]()?.[_0x5acf05(0x23c)](_0x5cb55d);if(_0x5207bf&&_0x5207bf[TestFrameworkConstants[_0x5acf05(0x20d)]])_0x3db72d=_0x5207bf[TestFrameworkConstants[_0x5acf05(0x20d)]];else{if(_0x1c7fde[_0x5acf05(0x32c)]?.[_0x5acf05(0x2bc)])_0x3db72d=_0x1c7fde['testInfo'][_0x5acf05(0x2bc)];else global[_0x5acf05(0x1b7)]?.[_0x5acf05(0x1ae)]?.[_0x5acf05(0x32c)]?.[_0x5acf05(0x2bc)]?_0x3db72d=global['__workerDetails'][_0x5acf05(0x1ae)][_0x5acf05(0x32c)]['titlePath']:_0x3db72d=_0x37ccda[_0x5acf05(0x2fa)];}logger[_0x5acf05(0x30b)](_0x5acf05(0x302)+_0x5cb55d+_0x5acf05(0x1d2)+JSON[_0x5acf05(0x1b1)](_0x3db72d));}else{_0x5cb55d=this['getTestId'](_0x1c7fde);const _0x20d24e=TestInfo[_0x5acf05(0x328)](_0x5cb55d);let _0x5256e4=[];if(_0x20d24e&&Array[_0x5acf05(0x219)](_0x20d24e['test_tags'])&&_0x37ccda[_0x5acf05(0x15b)](_0x20d24e[_0x5acf05(0x265)][_0x5acf05(0x173)],0x0))_0x5256e4=_0x20d24e[_0x5acf05(0x265)];else{if(_0x23a7a8){const _0x799b41=_0x37ccda[_0x5acf05(0x2a7)](typeof _0x23a7a8['getData'],_0x37ccda[_0x5acf05(0x232)])?_0x23a7a8['getData'](_0x37ccda['oABzl'],[]):_0x23a7a8[_0x5acf05(0x265)]||[];Array[_0x5acf05(0x219)](_0x799b41)&&(_0x5256e4=_0x799b41);}}_0x3db72d=_0x5256e4;}logger[_0x5acf05(0x2d9)](_0x5acf05(0x294)+JSON[_0x5acf05(0x1b1)](_0x3db72d));const _0x38f893=this[_0x5acf05(0x274)](_0x2f29ed,_0x1c7fde[_0x5acf05(0x2c1)],_0x1c7fde[_0x5acf05(0x1b8)]);logger[_0x5acf05(0x30b)]('[AccessibilityModule]\x20onBeforeTest:\x20platformSupported='+_0x38f893+_0x5acf05(0x30f)+this[_0x5acf05(0x1ff)]);const _0x396c20=this[_0x5acf05(0x2b3)](_0x3db72d,_0x2f29ed,_0x383e49),_0x1c7e98=_0x37ccda[_0x5acf05(0x2af)](_0x38f893,_0x396c20),_0xdcaec1=CLIUtils['getCurrentInstanceName']();this[_0x5acf05(0x309)]['set'](_0xdcaec1,_0x1c7e98),global[_0x5acf05(0x28a)]?.[_0x5acf05(0x2f3)]&&global[_0x5acf05(0x28a)][_0x5acf05(0x2f3)]()[_0x5acf05(0x189)](_0x1c7e98),logger[_0x5acf05(0x30b)](_0x5acf05(0x2c5)+(_0x2f29ed?.[_0x5acf05(0x20f)]?.()||_0x37ccda[_0x5acf05(0x291)])+_0x5acf05(0x312)+_0x1c7e98),_0x1c7e98?(global['accessibilityPlatform']=!![],process[_0x5acf05(0x18e)][_0x5acf05(0x272)]=_0x37ccda[_0x5acf05(0x1d6)],this[_0x5acf05(0x24c)]()):global[_0x5acf05(0x23a)]=![];}catch(_0x21de48){logger[_0x5acf05(0x15f)](_0x5acf05(0x32a)+(_0x21de48[_0x5acf05(0x310)]||_0x21de48[_0x5acf05(0x1c7)]));const _0x4bb1dd=CLIUtils[_0x5acf05(0x180)]();this[_0x5acf05(0x309)][_0x5acf05(0x2fc)](_0x4bb1dd,![]),global['accessibilityPlatform']=![];}}[a90_0x2d5ab2(0x282)](){const _0x367eef=a90_0x2d5ab2;return this[_0x367eef(0x2ce)]['find'](_0x57dea8=>_0x57dea8[_0x367eef(0x241)]()===_0x367eef(0x206))?.[_0x367eef(0x239)]()||'';}[a90_0x2d5ab2(0x332)](_0x1334e3){const _0x5c6ecb=a90_0x2d5ab2;try{const _0x102320=this[_0x5c6ecb(0x1bf)]?.[_0x5c6ecb(0x186)]?.[_0x5c6ecb(0x2ef)]||[],_0x377409=_0x102320[_0x5c6ecb(0x32f)](_0x134e1f=>_0x134e1f[_0x5c6ecb(0x307)]===_0x1334e3);return _0x377409?_0x377409[_0x5c6ecb(0x15e)]:null;}catch(_0x2b549c){return logger[_0x5c6ecb(0x30b)]('Error\x20getting\x20capability\x20value\x20for\x20'+_0x1334e3+':\x20'+_0x2b549c['message']),null;}}async['setAccessibilityConfig'](_0x104888,_0x3fd8ef){const _0x58ac83=a90_0x2d5ab2,_0x338485=_0x104888[_0x58ac83(0x176)]()[_0x58ac83(0x250)](),_0x3ac57f=_0x338485['getScriptsList'](),_0x56f811=_0x338485['getCommandsToWrap']()?.['getCommandsList']();scripts[_0x58ac83(0x339)](_0x3ac57f,_0x56f811),scripts[_0x58ac83(0x262)]();const _0x540998=_0x338485[_0x58ac83(0x16f)]();this[_0x58ac83(0x2ce)]=_0x338485['getCapabilitiesList'](),await this[_0x58ac83(0x21d)](_0x540998,_0x3fd8ef[_0x58ac83(0x1b8)]);}async['setAccessibilityToken'](_0xcb3ad7,_0x296b3f={}){const _0x43ff62=a90_0x2d5ab2,_0x225ac9={'ForgK':function(_0x2fbc04,_0x7e1bc9){return _0x2fbc04===_0x7e1bc9;},'UklPd':'accessibilityToken','aKJRT':'browserstack.accessibilityOptions.authToken','MQjHa':function(_0xe2cd14,_0x3bdf43){return _0xe2cd14(_0x3bdf43);},'SJzjn':_0x43ff62(0x324),'yAjNm':function(_0x2a9ad4,_0x3760a2){return _0x2a9ad4(_0x3760a2);},'ZuXZV':_0x43ff62(0x24b),'aaQkr':_0x43ff62(0x216),'KEIKM':'browserstack.accessibilityOptions.wcagVersion','MdVTl':_0x43ff62(0x2f8),'wNtzo':_0x43ff62(0x181),'tyVUz':_0x43ff62(0x313),'TtpPt':_0x43ff62(0x2e5),'QfUfN':function(_0x3fb84d,_0x59982d){return _0x3fb84d===_0x59982d;},'dZdOh':_0x43ff62(0x330),'viuvS':function(_0x4f6fa9,_0x56d79f){return _0x4f6fa9(_0x56d79f);},'FWDvW':'true'};global['__accessibilityOptions']=global[_0x43ff62(0x159)]||{};for(const _0x5ebad1 of _0xcb3ad7){logger[_0x43ff62(0x2d9)]('name:\x20'+_0x5ebad1['getName']()+'\x20value='+_0x5ebad1['getValue']());if(_0x225ac9[_0x43ff62(0x1e5)](_0x5ebad1[_0x43ff62(0x241)](),_0x225ac9[_0x43ff62(0x172)])){const _0x5edf37=_0x5ebad1['getValue']();process[_0x43ff62(0x18e)][_0x43ff62(0x1a1)]=_0x5edf37,global[_0x43ff62(0x159)][_0x225ac9[_0x43ff62(0x2ba)]]=_0x5edf37;const _0x3fcb1a=_0x225ac9[_0x43ff62(0x1da)](require,_0x225ac9[_0x43ff62(0x2a1)]),{isTrue:_0x4fa5a5}=_0x225ac9[_0x43ff62(0x184)](require,_0x225ac9['ZuXZV']),_0xc2d865=_0x3fcb1a['parseA11yJwtPayload'](_0x5edf37);_0xc2d865&&_0x225ac9[_0x43ff62(0x184)](_0x4fa5a5,_0xc2d865[_0x43ff62(0x26a)])&&(process[_0x43ff62(0x18e)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![]);}else{if(_0x225ac9['ForgK'](_0x5ebad1['getName'](),_0x225ac9[_0x43ff62(0x166)]))global[_0x43ff62(0x159)][_0x225ac9['KEIKM']]=_0x5ebad1[_0x43ff62(0x239)]();else{if(_0x225ac9[_0x43ff62(0x1e5)](_0x5ebad1['getName'](),_0x225ac9[_0x43ff62(0x246)]))global['__accessibilityOptions'][_0x225ac9[_0x43ff62(0x2c8)]]=_0x5ebad1['getValue']();else{if(_0x225ac9['ForgK'](_0x5ebad1['getName'](),_0x225ac9[_0x43ff62(0x31a)]))global[_0x43ff62(0x159)][_0x225ac9[_0x43ff62(0x26b)]]=_0x5ebad1[_0x43ff62(0x239)]();else{if(_0x225ac9[_0x43ff62(0x2d4)](_0x5ebad1[_0x43ff62(0x241)](),_0x225ac9[_0x43ff62(0x259)])){const _0x59f73e=_0x5ebad1[_0x43ff62(0x239)]();process[_0x43ff62(0x18e)][_0x43ff62(0x165)]=_0x225ac9['viuvS'](String,_0x225ac9[_0x43ff62(0x2d4)](_0x59f73e,!![])||_0x225ac9[_0x43ff62(0x2d4)](_0x59f73e,_0x225ac9[_0x43ff62(0x22c)])),logger[_0x43ff62(0x30b)](_0x43ff62(0x242)+_0x59f73e+_0x43ff62(0x1a7)+process[_0x43ff62(0x18e)][_0x43ff62(0x165)]);}}}}}}}async[a90_0x2d5ab2(0x162)](_0x47393e){const _0x2984f7=a90_0x2d5ab2,_0x5109e0={};_0x5109e0[_0x2984f7(0x15a)]=function(_0x55fa4e,_0x1f5d67){return _0x55fa4e!==_0x1f5d67;},_0x5109e0[_0x2984f7(0x25c)]='cucumber',_0x5109e0[_0x2984f7(0x2bb)]=function(_0x450174,_0x254c83){return _0x450174!==_0x254c83;},_0x5109e0[_0x2984f7(0x264)]=_0x2984f7(0x21e),_0x5109e0[_0x2984f7(0x1f8)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x5109e0['AaDuq']=_0x2984f7(0x2ff);const _0xd506a4=_0x5109e0;if(_0xd506a4[_0x2984f7(0x15a)](_0x47393e[_0x2984f7(0x26c)],_0xd506a4[_0x2984f7(0x25c)])&&_0xd506a4[_0x2984f7(0x2bb)](_0x47393e[_0x2984f7(0x26c)],_0xd506a4['OOgPk'])){logger[_0x2984f7(0x30b)](_0xd506a4['YoaBI']);return;}const _0x368ad4=_0x47393e['testInfo']?.[_0x2984f7(0x192)]||_0x47393e[_0x2984f7(0x32c)]?.['id']||global[_0x2984f7(0x263)];logger['info'](_0x2984f7(0x2db)+_0x47393e[_0x2984f7(0x26c)]+_0x2984f7(0x213)+_0x368ad4);try{const _0x1ba264=_0x47393e['instance']||AutomationFramework[_0x2984f7(0x1dd)](),_0x213b18=CLIUtils['getCurrentInstanceName'](),_0x1a2051=this[_0x2984f7(0x29d)]();logger[_0x2984f7(0x30b)](_0x2984f7(0x2c5)+(_0x1ba264?.[_0x2984f7(0x20f)]?.()||_0xd506a4[_0x2984f7(0x2be)])+_0x2984f7(0x325)+_0x1a2051),_0x1a2051&&await this['stopTestCapture'](_0x1ba264,_0x47393e),this[_0x2984f7(0x309)][_0x2984f7(0x33a)](_0x213b18),this[_0x2984f7(0x23e)][_0x2984f7(0x33a)](_0x213b18);}catch(_0x25f32a){logger[_0x2984f7(0x15f)](_0x2984f7(0x160)+(_0x25f32a[_0x2984f7(0x310)]||_0x25f32a[_0x2984f7(0x1c7)]));}}async[a90_0x2d5ab2(0x223)](_0x21f209,_0x4050ba){const _0x4192f3=a90_0x2d5ab2,_0x79dafa={};_0x79dafa[_0x4192f3(0x170)]=function(_0x3372ad,_0x496d38){return _0x3372ad===_0x496d38;},_0x79dafa[_0x4192f3(0x336)]='function',_0x79dafa[_0x4192f3(0x1af)]=function(_0x2c4377,_0x57b766){return _0x2c4377===_0x57b766;},_0x79dafa['cbMSd']=_0x4192f3(0x21e),_0x79dafa[_0x4192f3(0x285)]=_0x4192f3(0x243),_0x79dafa[_0x4192f3(0x314)]=_0x4192f3(0x217),_0x79dafa[_0x4192f3(0x23f)]=_0x4192f3(0x309),_0x79dafa['KKSjs']='saveResults',_0x79dafa['itdva']=_0x4192f3(0x2ff),_0x79dafa['AetOK']='present',_0x79dafa[_0x4192f3(0x190)]=_0x4192f3(0x236),_0x79dafa[_0x4192f3(0x2c4)]=function(_0x1ae410,_0x2fb397){return _0x1ae410===_0x2fb397;},_0x79dafa['BOytc']=function(_0x4443ba,_0x30b676){return _0x4443ba||_0x30b676;},_0x79dafa['hFLSz']=function(_0x2bf205,_0x20f300){return _0x2bf205||_0x20f300;},_0x79dafa['ehxGK']=_0x4192f3(0x2fd),_0x79dafa['FDNcx']='AUTOMATION_SESSIONS',_0x79dafa[_0x4192f3(0x2b9)]=_0x4192f3(0x2d8);const _0x21d2e7=_0x79dafa;try{const _0x2c7915=_0x4050ba[_0x4192f3(0x26c)]||(_0x21d2e7['rxcST'](this[_0x4192f3(0x2da)]?.[_0x4192f3(0x307)]?.[_0x4192f3(0x280)](),_0x21d2e7[_0x4192f3(0x2e7)])?_0x21d2e7['cbMSd']:_0x21d2e7[_0x4192f3(0x285)]);let _0x20be83='',_0x333637=null,_0x4157d6=null;if(_0x21d2e7[_0x4192f3(0x1af)](_0x2c7915,_0x21d2e7[_0x4192f3(0x2e7)])){_0x333637=_0x4050ba[_0x4192f3(0x32c)]?.['testAnalyticsId']||_0x4050ba['testInfo']?.['id']||global[_0x4192f3(0x263)];if(!_0x333637){logger[_0x4192f3(0x331)](_0x21d2e7['XZNdF']);return;}try{const _0x4bf7a0=await GrpcClient[_0x4192f3(0x21b)]()[_0x4192f3(0x1cc)](process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x21d2e7[_0x4192f3(0x23f)],_0x21d2e7[_0x4192f3(0x31c)],_0x333637),_0x26a1b0=AccessibilityModule[_0x4192f3(0x18d)](null,_0x4bf7a0);_0x20be83=_0x26a1b0?.[_0x4192f3(0x22f)]||'',logger[_0x4192f3(0x30b)](_0x4192f3(0x257)+_0x20be83+_0x4192f3(0x220)+_0x333637),_0x4157d6=_0x4bf7a0;}catch(_0xb3e0a7){logger[_0x4192f3(0x15f)](_0x4192f3(0x200)+_0xb3e0a7[_0x4192f3(0x1c7)]);return;}}else{const _0x4fd87c=this[_0x4192f3(0x2f6)](_0x4050ba);_0x20be83=TestInfo[_0x4192f3(0x267)](_0x4fd87c);}const _0x4a24cb=((()=>{const _0x365262=_0x4192f3,_0x3bce3c=(this[_0x365262(0x1bf)]?.[_0x365262(0x186)]?.[_0x365262(0x2ef)]||[])[_0x365262(0x32f)](_0x12a627=>(typeof _0x12a627['getName']===_0x365262(0x2e8)?_0x12a627[_0x365262(0x241)]():_0x12a627[_0x365262(0x307)])===this['KEY_TESTHUB_BUILD_ID']);return _0x3bce3c?_0x21d2e7[_0x365262(0x170)](typeof _0x3bce3c[_0x365262(0x239)],_0x21d2e7[_0x365262(0x336)])?_0x3bce3c[_0x365262(0x239)]():_0x3bce3c[_0x365262(0x15e)]:'';})()),_0x1bb20b=process[_0x4192f3(0x18e)]['BROWSERSTACK_TESTHUB_JWT']||'';logger[_0x4192f3(0x30b)]('[platform\x20-\x20'+(_0x21f209?.['getPlatformIndex']?.()||_0x21d2e7[_0x4192f3(0x26d)])+']\x20clear\x20'+_0x20be83+'\x20testHubUuid='+_0x4a24cb+_0x4192f3(0x1ab)+(_0x1bb20b?_0x21d2e7[_0x4192f3(0x1a2)]:_0x21d2e7[_0x4192f3(0x190)]));let _0x32ebd7;if(_0x21d2e7[_0x4192f3(0x2c4)](_0x2c7915,_0x21d2e7[_0x4192f3(0x2e7)]))_0x32ebd7=AccessibilityModule[_0x4192f3(0x18d)](_0x20be83,_0x4157d6);else{const _0x11fb0c=await GrpcClient[_0x4192f3(0x21b)]()[_0x4192f3(0x1cc)](process['env'][_0x4192f3(0x304)],_0x21d2e7[_0x4192f3(0x23f)],_0x21d2e7[_0x4192f3(0x31c)]);_0x32ebd7=AccessibilityModule[_0x4192f3(0x18d)](_0x20be83,_0x11fb0c);}logger[_0x4192f3(0x30b)](_0x4192f3(0x2dc)+JSON[_0x4192f3(0x1b1)](_0x32ebd7));const _0x27580d=Object[_0x4192f3(0x2d1)]({},{'thTestRunUuid':_0x21d2e7[_0x4192f3(0x261)](_0x20be83,''),'thBuildUuid':_0x21d2e7[_0x4192f3(0x2d2)](_0x4a24cb,''),'thJwtToken':_0x21d2e7['BOytc'](_0x1bb20b,'')},_0x32ebd7);!this['isAppAccessibility']&&this[_0x4192f3(0x1c2)]()&&(_0x27580d[_0x4192f3(0x28e)]=!![],logger['debug'](_0x21d2e7[_0x4192f3(0x27a)]));logger[_0x4192f3(0x30b)](_0x4192f3(0x279)+_0x20be83+_0x4192f3(0x30f)+this[_0x4192f3(0x1ff)]);let _0x124aa6=global[_0x4192f3(0x1b7)]?.[_0x4192f3(0x275)]||null;!_0x124aa6&&(_0x124aa6=AutomationFramework['getState'](_0x21f209,_0x21d2e7[_0x4192f3(0x16a)],null)),!_0x124aa6&&(_0x124aa6=AutomationFramework['getState'](_0x21f209,_0x21d2e7[_0x4192f3(0x2b9)],null)),await this[_0x4192f3(0x33d)](this[_0x4192f3(0x29d)](),_0x20be83,_0x124aa6,_0x27580d,this[_0x4192f3(0x1ff)]);}catch(_0x3ada91){logger[_0x4192f3(0x15f)](_0x4192f3(0x1a9)+(_0x3ada91[_0x4192f3(0x310)]||_0x3ada91[_0x4192f3(0x1c7)]));}}async[a90_0x2d5ab2(0x33d)](_0x970f43,_0x10d1f2,_0x4dcd44,_0x55ed2b,_0x1ec1bb){const _0x5c11d0=a90_0x2d5ab2,_0x63217d={};_0x63217d[_0x5c11d0(0x171)]=_0x5c11d0(0x316),_0x63217d[_0x5c11d0(0x2cd)]=function(_0x3ff1bf,_0x26e5c3){return _0x3ff1bf&&_0x26e5c3;},_0x63217d[_0x5c11d0(0x209)]=_0x5c11d0(0x284),_0x63217d['wFuOH']=function(_0x281e05,_0x20259c){return _0x281e05===_0x20259c;},_0x63217d[_0x5c11d0(0x199)]='null',_0x63217d[_0x5c11d0(0x218)]=function(_0x24cf5f,_0x4270fc){return _0x24cf5f===_0x4270fc;},_0x63217d['GlWQj']=_0x5c11d0(0x1e9),_0x63217d[_0x5c11d0(0x19c)]='Performing\x20scan\x20before\x20from\x20cli',_0x63217d[_0x5c11d0(0x2f1)]='afterTestHook',_0x63217d['zspBn']=_0x5c11d0(0x1c0),_0x63217d[_0x5c11d0(0x2ed)]=_0x5c11d0(0x183),_0x63217d[_0x5c11d0(0x2f0)]=_0x5c11d0(0x1c1),_0x63217d[_0x5c11d0(0x1f9)]='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x279584=_0x63217d;try{const _0x496cc5=this[_0x5c11d0(0x1f3)](_0x279584[_0x5c11d0(0x171)]);if(_0x279584['vbovV'](!_0x1ec1bb,!_0x496cc5)){logger[_0x5c11d0(0x30b)](_0x279584[_0x5c11d0(0x209)]);return;}if(!_0x10d1f2||_0x279584[_0x5c11d0(0x2c7)](_0x10d1f2,_0x279584[_0x5c11d0(0x199)])||_0x279584[_0x5c11d0(0x218)](_0x10d1f2,'')){logger['debug'](_0x279584[_0x5c11d0(0x1bb)]);return;}logger[_0x5c11d0(0x30b)](_0x5c11d0(0x248)+JSON[_0x5c11d0(0x1b1)](_0x55ed2b)),_0x970f43&&(logger[_0x5c11d0(0x30b)](_0x279584[_0x5c11d0(0x19c)]),await this[_0x5c11d0(0x1ee)](_0x4dcd44,_0x10d1f2,_0x279584[_0x5c11d0(0x2f1)],_0x55ed2b,_0x1ec1bb,_0x279584[_0x5c11d0(0x29e)]),_0x279584[_0x5c11d0(0x2cd)](!_0x1ec1bb,_0x496cc5)&&(logger[_0x5c11d0(0x30b)](_0x279584[_0x5c11d0(0x2ed)]),await PerformanceTester[_0x5c11d0(0x1ed)](_0x279584['SByTA'],async()=>{const _0x3a907e=_0x5c11d0;await this[_0x3a907e(0x1ee)](_0x4dcd44,_0x10d1f2,_0x279584[_0x3a907e(0x171)],_0x55ed2b,_0x1ec1bb,_0x279584[_0x3a907e(0x171)]);})()),logger[_0x5c11d0(0x2d9)](_0x279584[_0x5c11d0(0x1f9)]));}catch(_0x100dcf){logger[_0x5c11d0(0x15f)](_0x5c11d0(0x1c6)+(_0x100dcf[_0x5c11d0(0x310)]||_0x100dcf[_0x5c11d0(0x1c7)]));}}async[a90_0x2d5ab2(0x19f)](_0x56128c){const _0x2b43c3=a90_0x2d5ab2,_0x560e38={};_0x560e38['Ovkio']=function(_0x3142fa,_0x48ed21){return _0x3142fa!==_0x48ed21;},_0x560e38[_0x2b43c3(0x17a)]=_0x2b43c3(0x243),_0x560e38[_0x2b43c3(0x177)]=function(_0x200af5,_0x3ac7da){return _0x200af5!==_0x3ac7da;},_0x560e38[_0x2b43c3(0x323)]=_0x2b43c3(0x21e),_0x560e38[_0x2b43c3(0x288)]=_0x2b43c3(0x321),_0x560e38[_0x2b43c3(0x2b8)]=_0x2b43c3(0x2ff),_0x560e38['jUGTB']=_0x2b43c3(0x2dd),_0x560e38[_0x2b43c3(0x253)]=function(_0xec63c8,_0x27b190){return _0xec63c8===_0x27b190;},_0x560e38[_0x2b43c3(0x29c)]=_0x2b43c3(0x19a),_0x560e38[_0x2b43c3(0x2bf)]=_0x2b43c3(0x309),_0x560e38[_0x2b43c3(0x271)]=_0x2b43c3(0x26f),_0x560e38['CDCbl']='test_run_id',_0x560e38[_0x2b43c3(0x299)]=_0x2b43c3(0x187),_0x560e38[_0x2b43c3(0x2b7)]=_0x2b43c3(0x1c0),_0x560e38[_0x2b43c3(0x295)]=_0x2b43c3(0x236);const _0x97ab8b=_0x560e38;if(_0x97ab8b[_0x2b43c3(0x1d4)](_0x56128c[_0x2b43c3(0x26c)],_0x97ab8b[_0x2b43c3(0x17a)])&&_0x97ab8b[_0x2b43c3(0x177)](_0x56128c[_0x2b43c3(0x26c)],_0x97ab8b[_0x2b43c3(0x323)])){logger[_0x2b43c3(0x30b)](_0x97ab8b['UwMap']);return;}logger['debug'](_0x2b43c3(0x28c)+(_0x56128c[_0x2b43c3(0x231)]||_0x97ab8b[_0x2b43c3(0x2b8)])+',\x20framework='+_0x56128c['testFramework']);try{const _0x5cb440=_0x56128c[_0x2b43c3(0x174)]||AutomationFramework[_0x2b43c3(0x1dd)](),_0x13b189=TestFramework[_0x2b43c3(0x1dd)](),_0x414932=_0x56128c[_0x2b43c3(0x231)]||_0x56128c[_0x2b43c3(0x2a2)]?.[_0x2b43c3(0x241)]();if(!_0x414932){logger[_0x2b43c3(0x30b)](_0x97ab8b['jUGTB']);return;}if(!this[_0x2b43c3(0x29d)]()){logger['debug']('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x414932);return;}if(!this[_0x2b43c3(0x1ad)](_0x414932)){logger[_0x2b43c3(0x30b)](_0x2b43c3(0x1a3)+_0x414932+'\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned');return;}const _0x131626=_0x56128c['page']||global[_0x2b43c3(0x1b7)]?.['pwPage'];if(!_0x131626){logger[_0x2b43c3(0x30b)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x414932);return;}let _0x1759f9='',_0x11c117=null;if(_0x97ab8b[_0x2b43c3(0x253)](_0x56128c['testFramework'],_0x97ab8b[_0x2b43c3(0x323)])){_0x11c117=_0x56128c[_0x2b43c3(0x32c)]?.['testAnalyticsId']||_0x56128c[_0x2b43c3(0x32c)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x11c117){logger['warn'](_0x97ab8b[_0x2b43c3(0x29c)]);return;}try{const _0x42b5dd=await GrpcClient[_0x2b43c3(0x21b)]()[_0x2b43c3(0x1cc)](process[_0x2b43c3(0x18e)][_0x2b43c3(0x304)],_0x97ab8b[_0x2b43c3(0x2bf)],_0x97ab8b[_0x2b43c3(0x271)],_0x11c117),_0x4d3593=AccessibilityModule[_0x2b43c3(0x18d)](null,_0x42b5dd);_0x1759f9=_0x4d3593?.[_0x2b43c3(0x22f)]||'',logger[_0x2b43c3(0x30b)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x1759f9+_0x2b43c3(0x220)+_0x11c117);}catch(_0x5446aa){logger[_0x2b43c3(0x15f)](_0x2b43c3(0x340)+_0x5446aa[_0x2b43c3(0x1c7)]);return;}}else _0x1759f9=this['getCapabilityValue'](_0x97ab8b[_0x2b43c3(0x2fe)])||'',!_0x1759f9&&this[_0x2b43c3(0x1c2)]()&&(_0x1759f9=accessibilityHelper[_0x2b43c3(0x1bd)]());const _0xa90ccd=this['getCapabilityValue'](_0x97ab8b['RQZrd'])||this[_0x2b43c3(0x1bf)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x46154c=process[_0x2b43c3(0x18e)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x445585=this['getParamsForScanForCli'](_0x414932,_0x1759f9,_0xa90ccd,_0x46154c),_0x13495e=_0x97ab8b[_0x2b43c3(0x253)](_0x56128c[_0x2b43c3(0x26c)],_0x97ab8b[_0x2b43c3(0x323)])?await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x97ab8b[_0x2b43c3(0x2b7)],_0x1759f9,_0x11c117):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x97ab8b[_0x2b43c3(0x2b7)],_0x1759f9);logger[_0x2b43c3(0x2d9)]('ScanArgs:\x20'+(_0x445585?JSON['stringify'](_0x445585):_0x97ab8b[_0x2b43c3(0x295)]));const _0x5c6446=CLIUtils['mergeObject'](_0x445585,_0x13495e);logger['info'](_0x2b43c3(0x1ef)+(_0x5c6446?JSON[_0x2b43c3(0x1b1)](_0x5c6446):_0x97ab8b[_0x2b43c3(0x295)])),logger[_0x2b43c3(0x30b)](_0x2b43c3(0x244)+_0x414932);const _0x539a14=await this[_0x2b43c3(0x1ee)](_0x131626,_0x1759f9,_0x414932,_0x5c6446,this['isAppAccessibility']);logger['debug'](_0x2b43c3(0x2a4)+_0x414932+_0x2b43c3(0x25e)+JSON['stringify'](_0x539a14));}catch(_0x3673c2){logger[_0x2b43c3(0x15f)](_0x2b43c3(0x2df)+(_0x3673c2[_0x2b43c3(0x310)]||_0x3673c2[_0x2b43c3(0x1c7)]));}}[a90_0x2d5ab2(0x318)](){const _0x14ff9f=a90_0x2d5ab2;return this[_0x14ff9f(0x29d)]();}[a90_0x2d5ab2(0x197)](_0xe04ef6){const _0x572fa7=a90_0x2d5ab2,_0x48edc7=CLIUtils[_0x572fa7(0x180)]();this[_0x572fa7(0x309)][_0x572fa7(0x2fc)](_0x48edc7,_0xe04ef6);}async[a90_0x2d5ab2(0x1d3)](_0x266ad8){const _0x5589fc=a90_0x2d5ab2,_0xe2ee1f={};_0xe2ee1f[_0x5589fc(0x16d)]='unknown';const _0x306f24=_0xe2ee1f;try{const _0x299847=_0x266ad8[_0x5589fc(0x174)]||AutomationFramework[_0x5589fc(0x1dd)](),_0x2ed45a=_0x299847?.[_0x5589fc(0x234)]?.()?.[_0x5589fc(0x23c)]?.(this[_0x5589fc(0x24d)])||![];if(_0x2ed45a)return;PerformanceTester[_0x5589fc(0x256)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);const _0x10fe9a=await GrpcClient[_0x5589fc(0x21b)]()['getAccessibilityConfig'](_0x266ad8);_0x10fe9a&&_0x10fe9a[_0x5589fc(0x176)]&&_0x10fe9a[_0x5589fc(0x176)]()&&_0x10fe9a[_0x5589fc(0x176)]()[_0x5589fc(0x2eb)]()?(await this[_0x5589fc(0x203)](_0x10fe9a,_0x266ad8),_0x299847?.['getData']&&_0x299847[_0x5589fc(0x234)]()[_0x5589fc(0x2fc)](this['KEY_INIT'],!![]),logger[_0x5589fc(0x30b)]('[platform\x20-\x20'+(_0x299847?.[_0x5589fc(0x20f)]?.()||_0x306f24[_0x5589fc(0x16d)])+_0x5589fc(0x1ca))):logger[_0x5589fc(0x30b)](_0x5589fc(0x2c5)+(_0x299847?.[_0x5589fc(0x20f)]?.()||_0x306f24[_0x5589fc(0x16d)])+_0x5589fc(0x21f)),PerformanceTester[_0x5589fc(0x338)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x425295){PerformanceTester[_0x5589fc(0x338)](EVENTS[_0x5589fc(0x2f4)],![],_0x425295[_0x5589fc(0x1c7)]),logger['error'](_0x5589fc(0x311)+(_0x425295['stack']||_0x425295['message']));}}async[a90_0x2d5ab2(0x203)](_0x2a7318,_0x53c864){const _0x28acf6=a90_0x2d5ab2;await this[_0x28acf6(0x1f4)](_0x2a7318,_0x53c864);const _0x2b95a5=_0x2a7318[_0x28acf6(0x176)]()[_0x28acf6(0x250)]();if(_0x2b95a5){const _0x565386=_0x2a7318['getTesthub']&&_0x2a7318[_0x28acf6(0x1a4)]();_0x565386&&(this[_0x28acf6(0x1bf)][this[_0x28acf6(0x27d)]]=_0x565386[_0x28acf6(0x1fe)]&&_0x565386[_0x28acf6(0x1fe)]());}}[a90_0x2d5ab2(0x1ad)](_0x586e25){const _0x224083=a90_0x2d5ab2,_0x1f4851={};_0x1f4851['YfiSR']=function(_0x2d6cb8,_0x366ec0){return _0x2d6cb8===_0x366ec0;};const _0x2d10e0=_0x1f4851;try{if(!_0x586e25)return![];const _0x2cd339=this[_0x224083(0x1bf)]?.[_0x224083(0x186)]?.['commandsToWrap']?.['commandsList']||[],_0x2c2bda=_0x2cd339['some'](_0x45b881=>{const _0x37abd7=_0x224083;return _0x45b881[_0x37abd7(0x307)]&&_0x2d10e0[_0x37abd7(0x2ae)](_0x45b881['name']['toLowerCase'](),_0x586e25['toLowerCase']());});return logger[_0x224083(0x30b)](_0x224083(0x1d0)+_0x586e25+_0x224083(0x24e)+_0x2c2bda+_0x224083(0x201)+JSON[_0x224083(0x1b1)](_0x2cd339[_0x224083(0x327)](_0x12aca3=>_0x12aca3[_0x224083(0x307)]))),_0x2c2bda;}catch(_0x51e319){return logger[_0x224083(0x30b)]('Error\x20in\x20shouldScanForCommand:\x20'+_0x51e319[_0x224083(0x1c7)]),![];}}[a90_0x2d5ab2(0x212)](_0x431746){const _0x6878bd=a90_0x2d5ab2,_0x146b71={};_0x146b71[_0x6878bd(0x255)]=function(_0x2b93ce,_0x4a6575){return _0x2b93ce===_0x4a6575;},_0x146b71['AgxpX']=_0x6878bd(0x276),_0x146b71[_0x6878bd(0x1f5)]='browserstack_executor';const _0x513626=_0x146b71,_0x32c219=_0x431746[_0x6878bd(0x221)]&&_0x431746[_0x6878bd(0x221)]();return _0x32c219&&_0x513626[_0x6878bd(0x255)](typeof _0x32c219,_0x513626[_0x6878bd(0x226)])&&_0x32c219[_0x6878bd(0x1df)](_0x513626[_0x6878bd(0x1f5)]);}[a90_0x2d5ab2(0x245)](_0x57a38e){const _0xd5b368=a90_0x2d5ab2,_0x4c75f3={};_0x4c75f3[_0xd5b368(0x2bd)]=function(_0x4be437,_0x4dccff){return _0x4be437!==_0x4dccff;},_0x4c75f3[_0xd5b368(0x2d3)]=_0xd5b368(0x276),_0x4c75f3[_0xd5b368(0x1aa)]=_0xd5b368(0x309),_0x4c75f3[_0xd5b368(0x229)]='performScan',_0x4c75f3['KAdmH']='getResults',_0x4c75f3['bAwiJ']='saveTestResults';const _0x248dc6=_0x4c75f3,_0xb9b2ef=_0x57a38e[_0xd5b368(0x221)]&&_0x57a38e[_0xd5b368(0x221)]();if(!_0xb9b2ef||_0x248dc6['BCQZx'](typeof _0xb9b2ef,_0x248dc6[_0xd5b368(0x2d3)]))return![];return _0xb9b2ef['includes'](_0x248dc6['FUHbs'])||_0xb9b2ef[_0xd5b368(0x1df)](_0x248dc6['zqUlx'])||_0xb9b2ef['includes'](_0x248dc6[_0xd5b368(0x2e4)])||_0xb9b2ef[_0xd5b368(0x1df)](_0x248dc6['bAwiJ']);}[a90_0x2d5ab2(0x1c2)](){const _0x2372c1=a90_0x2d5ab2,_0x54c9d9={'UXRRM':function(_0x49f5ed,_0x38b4ff){return _0x49f5ed===_0x38b4ff;},'TWnmc':_0x2372c1(0x2e8),'xArIy':function(_0x1f36f9,_0x3e713f){return _0x1f36f9(_0x3e713f);},'mmDzw':_0x2372c1(0x1de),'OOwnb':function(_0x2be31a,_0x57e315){return _0x2be31a(_0x57e315);},'HtWSR':_0x2372c1(0x308),'ZfHov':_0x2372c1(0x179),'XeOXe':_0x2372c1(0x283)};try{const _0x4f5f18=this[_0x2372c1(0x1bf)]?.[_0x2372c1(0x186)]?.[_0x2372c1(0x2ef)]||[],_0x49da55=_0x14ab11=>{const _0x2e2bfe=_0x2372c1,_0x17b070=_0x4f5f18[_0x2e2bfe(0x32f)](_0x4803ed=>(typeof _0x4803ed[_0x2e2bfe(0x241)]===_0x2e2bfe(0x2e8)?_0x4803ed[_0x2e2bfe(0x241)]():_0x4803ed[_0x2e2bfe(0x307)])===_0x14ab11);return _0x17b070?_0x54c9d9['UXRRM'](typeof _0x17b070[_0x2e2bfe(0x239)],_0x54c9d9['TWnmc'])?_0x17b070[_0x2e2bfe(0x239)]():_0x17b070['value']:null;},_0x47c1c3=_0x54c9d9[_0x2372c1(0x292)](_0x49da55,_0x54c9d9['mmDzw']),_0x42fb67=_0x54c9d9[_0x2372c1(0x2de)](_0x49da55,_0x54c9d9[_0x2372c1(0x296)]),_0xae4833=global[_0x2372c1(0x2d0)]||_0x47c1c3&&_0x54c9d9[_0x2372c1(0x208)](_0x54c9d9[_0x2372c1(0x292)](String,_0x47c1c3)[_0x2372c1(0x280)](),_0x54c9d9[_0x2372c1(0x198)])&&_0x42fb67&&_0x54c9d9[_0x2372c1(0x292)](String,_0x42fb67)[_0x2372c1(0x280)]()[_0x2372c1(0x1df)](_0x54c9d9[_0x2372c1(0x28d)]);if(!_0xae4833)return![];if(!accessibilityHelper[_0x2372c1(0x330)]())return!this[_0x2372c1(0x1b9)]&&(logger[_0x2372c1(0x331)](accessibilityHelper[_0x2372c1(0x2c6)]),this['_mobileScanningDisabledLogged']=!![]),![];return!![];}catch(_0x77c890){return logger[_0x2372c1(0x30b)]('isMobileWebSession:\x20error\x20checking\x20driver\x20caps:\x20'+_0x77c890['message']),![];}}[a90_0x2d5ab2(0x1e8)](_0xb3baf,_0x5c45b5,_0x476820,_0x4ff986){const _0x1e71d2=a90_0x2d5ab2,_0x16b13e={};_0x16b13e[_0x1e71d2(0x2fb)]=function(_0xe15647,_0x49e89e){return _0xe15647||_0x49e89e;},_0x16b13e[_0x1e71d2(0x342)]=function(_0x34a7e4,_0x3ed1f9){return _0x34a7e4&&_0x3ed1f9;},_0x16b13e[_0x1e71d2(0x1fc)]=function(_0x4d5873,_0x443e70){return _0x4d5873||_0x443e70;},_0x16b13e[_0x1e71d2(0x303)]=_0x1e71d2(0x204);const _0x72f68c=_0x16b13e;let _0x1e9684=_0x72f68c['IriLB'](_0x5c45b5,'');const _0xa3285=!this[_0x1e71d2(0x1ff)]&&this[_0x1e71d2(0x1c2)]();_0x72f68c[_0x1e71d2(0x342)](_0xa3285,!_0x1e9684)&&(_0x1e9684=accessibilityHelper[_0x1e71d2(0x1bd)]());const _0x242191={'command':_0xb3baf,'thTestRunUuid':_0x1e9684,'thBuildUuid':_0x72f68c['IriLB'](_0x476820,''),'thJwtToken':_0x72f68c[_0x1e71d2(0x1fc)](_0x4ff986,''),'timestamp':new Date()[_0x1e71d2(0x2f2)]()};return _0xa3285&&(_0x242191[_0x1e71d2(0x28e)]=!![],logger[_0x1e71d2(0x30b)](_0x72f68c[_0x1e71d2(0x303)])),_0x242191;}['getScriptByName'](_0x144309){const _0x2702cd=a90_0x2d5ab2,_0x207e52={};_0x207e52[_0x2702cd(0x2d7)]=function(_0x16bb0b,_0x502644){return _0x16bb0b||_0x502644;};const _0x4979b9=_0x207e52;try{const _0x5f53d6=this['accessibilityConfig']?.['options']?.['scriptsList']||[],_0x311ae4=_0x5f53d6[_0x2702cd(0x32f)](_0x450250=>_0x450250[_0x2702cd(0x307)]===_0x144309);return _0x4979b9[_0x2702cd(0x2d7)](_0x311ae4,null);}catch(_0x390321){return logger[_0x2702cd(0x30b)](_0x2702cd(0x185)+_0x144309+':\x20'+_0x390321['message']),null;}}async[a90_0x2d5ab2(0x33e)](_0x3e6172,_0x1c9553,_0x276949=null){const _0x189e0d=a90_0x2d5ab2,_0x2e6749={'nUYUk':function(_0x4c2a3d,_0xae7fe6){return _0x4c2a3d(_0xae7fe6);},'QiksW':_0x189e0d(0x210)};try{if(!_0x3e6172)return logger['debug'](_0x189e0d(0x300)+_0x1c9553),null;const _0x49c100=this[_0x189e0d(0x1f3)](_0x1c9553);if(!_0x49c100||!_0x49c100[_0x189e0d(0x2a2)])return logger[_0x189e0d(0x30b)](_0x189e0d(0x16b)+_0x1c9553+_0x189e0d(0x2f7)),null;logger[_0x189e0d(0x30b)](_0x189e0d(0x341)+_0x1c9553+_0x189e0d(0x1e1));const _0x42540d=_0x2e6749['nUYUk'](require,_0x2e6749[_0x189e0d(0x207)]),_0x303eb6=_0x276949?await _0x42540d[_0x189e0d(0x334)](_0x3e6172,_0x49c100[_0x189e0d(0x2a2)],_0x276949):await _0x42540d[_0x189e0d(0x334)](_0x3e6172,_0x49c100[_0x189e0d(0x2a2)]);return _0x303eb6;}catch(_0x5b5f46){return logger['error'](_0x189e0d(0x27c)+_0x1c9553+':\x20'+(_0x5b5f46[_0x189e0d(0x310)]||_0x5b5f46[_0x189e0d(0x1c7)])),null;}}async[a90_0x2d5ab2(0x1ee)](_0x3516c1,_0x743aed,_0x11fa97,_0x219070,_0x2b1cfc,_0x5072c4=a90_0x2d5ab2(0x1c0)){const _0x3e0dfd=a90_0x2d5ab2,_0x3e8f8e={'wqyyB':function(_0x317e6b,_0x2119ce){return _0x317e6b===_0x2119ce;},'ZlSCG':_0x3e0dfd(0x1c0),'sqClZ':function(_0x88f0e9,_0x537e26){return _0x88f0e9(_0x537e26);},'BEZJv':_0x3e0dfd(0x210)};try{logger[_0x3e0dfd(0x30b)](_0x3e0dfd(0x1bc)+_0x11fa97+_0x3e0dfd(0x1f2)+_0x5072c4);const _0x201fd5=this[_0x3e0dfd(0x1f3)](_0x5072c4);if(!_0x201fd5||!_0x201fd5[_0x3e0dfd(0x2a2)]){logger[_0x3e0dfd(0x30b)](_0x3e0dfd(0x22e)+_0x5072c4+_0x3e0dfd(0x2b4));return;}if(_0x3e8f8e[_0x3e0dfd(0x32b)](_0x5072c4,_0x3e8f8e['ZlSCG'])){const _0x18082e=_0x3e8f8e['sqClZ'](require,_0x3e8f8e[_0x3e0dfd(0x235)]),_0x9b75c4={};_0x9b75c4[_0x3e0dfd(0x2a2)]=_0x11fa97;const _0x28a3e6=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3e0dfd(0x188)],async()=>{const _0x51389d=_0x3e0dfd;return await _0x18082e[_0x51389d(0x334)](_0x3516c1,_0x201fd5[_0x51389d(0x2a2)],_0x219070);},_0x9b75c4)();return logger['info'](_0x3e0dfd(0x27b)+_0x5072c4+_0x3e0dfd(0x163)+_0x11fa97+':\x20'+util[_0x3e0dfd(0x1e2)](_0x28a3e6)),_0x28a3e6;}const _0x3c7e44=_0x3e8f8e[_0x3e0dfd(0x1f6)](require,_0x3e8f8e[_0x3e0dfd(0x235)]),_0x441b79=await PerformanceTester[_0x3e0dfd(0x1ed)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x3c68e9=_0x3e0dfd;return await _0x3c7e44[_0x3c68e9(0x334)](_0x3516c1,_0x201fd5[_0x3c68e9(0x2a2)],_0x219070);})();return logger['info'](_0x3e0dfd(0x27b)+_0x5072c4+'\x20result\x20for\x20'+_0x11fa97+':\x20'+util[_0x3e0dfd(0x1e2)](_0x441b79)),_0x441b79;}catch(_0x4d6683){logger[_0x3e0dfd(0x15f)](_0x3e0dfd(0x20b)+_0x5072c4+':\x20'+(_0x4d6683[_0x3e0dfd(0x310)]||_0x4d6683[_0x3e0dfd(0x1c7)]));}}async[a90_0x2d5ab2(0x31d)](_0x5e635b){const _0x2c50d7=a90_0x2d5ab2,_0x81f097={'vDJqK':function(_0x2a335d,_0x31e3ab){return _0x2a335d(_0x31e3ab);},'NpiIG':'../../../helpers/accessibility-automation/helper'};try{const _0x3c6ea1=_0x81f097['vDJqK'](require,_0x81f097[_0x2c50d7(0x2ab)]);return await _0x3c6ea1[_0x2c50d7(0x30c)](_0x5e635b);}catch(_0x56a3b1){return logger[_0x2c50d7(0x15f)]('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x56a3b1['stack']||_0x56a3b1[_0x2c50d7(0x1c7)])),![];}}['processAccessibilityCaps'](_0x26b3cb,_0x2f43af,_0x5d162b){const _0x1ab553=a90_0x2d5ab2,_0x310e3b={'hUEsg':function(_0x5558ba,_0x1cb4c3){return _0x5558ba(_0x1cb4c3);},'pCEMf':_0x1ab553(0x210),'OnQsT':_0x1ab553(0x19d),'tYmFd':_0x1ab553(0x249)};try{const _0x36e7e4=_0x310e3b[_0x1ab553(0x2cf)](require,_0x310e3b[_0x1ab553(0x19e)]);_0x36e7e4[_0x1ab553(0x1a8)](_0x26b3cb,_0x2f43af,_0x5d162b);const _0x14ab8e=JSON[_0x1ab553(0x1b1)](_0x26b3cb)[_0x1ab553(0x1db)](/"browserstack\.user":"[^"]*"/g,_0x310e3b['OnQsT'])[_0x1ab553(0x1db)](/"browserstack\.key":"[^"]*"/g,_0x310e3b['tYmFd']);logger[_0x1ab553(0x30b)]('Processed\x20accessibility\x20caps\x20'+global[_0x1ab553(0x23a)]+'\x20'+_0x14ab8e);}catch(_0x5b489c){logger[_0x1ab553(0x15f)](_0x1ab553(0x228)+(_0x5b489c[_0x1ab553(0x310)]||_0x5b489c[_0x1ab553(0x1c7)]));}}async['getAccessibilityResults'](_0x191efe){const _0x4d7a03=a90_0x2d5ab2,_0x4e8a82={};_0x4e8a82[_0x4d7a03(0x178)]=_0x4d7a03(0x22d),_0x4e8a82[_0x4d7a03(0x25d)]=function(_0xcbaa91,_0x48fc70){return _0xcbaa91>_0x48fc70;},_0x4e8a82['XUqZY']=function(_0x13eb73,_0x1e77bb){return _0x13eb73>_0x1e77bb;},_0x4e8a82['EMLvj']=_0x4d7a03(0x1e3);const _0x295558=_0x4e8a82;try{if(!this[_0x4d7a03(0x29d)]())return logger['warn'](_0x295558[_0x4d7a03(0x178)]),[];const _0x2ffce4=this[_0x4d7a03(0x1c2)]()?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x4d7a03(0x1bd)]()}:{};_0x295558[_0x4d7a03(0x25d)](Object[_0x4d7a03(0x1e7)](_0x2ffce4)['length'],0x0)&&logger['debug']('getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20'+JSON[_0x4d7a03(0x1b1)](_0x2ffce4));const _0x136cfb=_0x295558[_0x4d7a03(0x18c)](Object[_0x4d7a03(0x1e7)](_0x2ffce4)[_0x4d7a03(0x173)],0x0)?await this['executeScriptByName'](_0x191efe,_0x295558[_0x4d7a03(0x17b)],_0x2ffce4):await this[_0x4d7a03(0x33e)](_0x191efe,_0x295558[_0x4d7a03(0x17b)]);return _0x136cfb||[];}catch(_0x482b12){return logger[_0x4d7a03(0x15f)](_0x4d7a03(0x320)+(_0x482b12[_0x4d7a03(0x310)]||_0x482b12[_0x4d7a03(0x1c7)])),[];}}async[a90_0x2d5ab2(0x297)](_0xfcfd55){const _0x1ca577=a90_0x2d5ab2,_0x181601={'HVDwp':_0x1ca577(0x1c0),'acOTS':'getResultsSummary','yNQLP':_0x1ca577(0x2b2),'SmQBF':function(_0x42b272,_0x254d57){return _0x42b272(_0x254d57);},'xmKku':_0x1ca577(0x22a),'rYXiR':function(_0x19a632,_0x5853ab){return _0x19a632===_0x5853ab;},'igdlj':_0x1ca577(0x21e),'eIwXs':_0x1ca577(0x214),'ugbOS':_0x1ca577(0x309),'yJPaO':_0x1ca577(0x187),'ItciK':_0x1ca577(0x297),'NQXIQ':'test_run_id','XopEf':_0x1ca577(0x1b4),'qfFFQ':'No\x20summaryResults\x20found.'};try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x1ca577(0x331)](_0x181601[_0x1ca577(0x17e)]),{};const _0x2a476d=_0x181601[_0x1ca577(0x2cc)](require,_0x181601[_0x1ca577(0x195)]),_0x3f5b02=_0x2a476d['getTestFrameworkDetail'](),_0x558252=_0x181601[_0x1ca577(0x2a8)](_0x3f5b02?.[_0x1ca577(0x307)]?.[_0x1ca577(0x280)](),_0x181601[_0x1ca577(0x1be)]);let _0x420422='',_0x5d86b8=null,_0x3a52ee=null;if(_0x558252){_0x5d86b8=global[_0x1ca577(0x263)]||global[_0x1ca577(0x1b7)]?.[_0x1ca577(0x1ae)]?.[_0x1ca577(0x192)]||global['__workerDetails']?.[_0x1ca577(0x1ae)]?.['id'];if(!_0x5d86b8)return logger[_0x1ca577(0x331)](_0x181601[_0x1ca577(0x1a5)]),{};try{const _0x3a16d4=await GrpcClient['getInstance']()[_0x1ca577(0x1cc)](process['env'][_0x1ca577(0x304)],_0x181601['ugbOS'],_0x181601[_0x1ca577(0x322)],_0x5d86b8),_0x1664be=AccessibilityModule[_0x1ca577(0x18d)](null,_0x3a16d4);_0x420422=_0x1664be?.[_0x1ca577(0x22f)]||'',logger[_0x1ca577(0x30b)](_0x1ca577(0x227)+_0x420422+_0x1ca577(0x220)+_0x5d86b8);const _0x1fe439=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x181601[_0x1ca577(0x322)],_0x420422,_0x5d86b8),_0x471d36=this[_0x1ca577(0x332)](_0x181601[_0x1ca577(0x1d8)])||this[_0x1ca577(0x1bf)][this[_0x1ca577(0x27d)]]||null,_0x31952f=process[_0x1ca577(0x18e)][_0x1ca577(0x293)]||'',_0x5714b2=this['getParamsForScanForCli'](_0x181601['ItciK'],_0x420422,_0x471d36,_0x31952f);_0x3a52ee=_0x2a476d[_0x1ca577(0x29a)](_0x5714b2,_0x1fe439),logger[_0x1ca577(0x30b)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON['stringify'](_0x3a52ee));}catch(_0x750db2){return logger[_0x1ca577(0x15f)]('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x750db2[_0x1ca577(0x1c7)]),{};}}else{_0x420422=this[_0x1ca577(0x332)](_0x181601[_0x1ca577(0x2a3)])||'';!_0x420422&&this[_0x1ca577(0x1c2)]()&&(_0x420422=accessibilityHelper[_0x1ca577(0x1bd)]());const _0x521877=this[_0x1ca577(0x332)](_0x181601['yJPaO'])||this[_0x1ca577(0x1bf)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x1d8025=process[_0x1ca577(0x18e)][_0x1ca577(0x293)]||'';_0x3a52ee=this[_0x1ca577(0x1e8)](_0x181601[_0x1ca577(0x337)],_0x420422,_0x521877,_0x1d8025);}logger[_0x1ca577(0x30b)](_0x181601['XopEf']),await PerformanceTester[_0x1ca577(0x1ed)](PerformanceA11yEvents[_0x1ca577(0x188)],async()=>{const _0xb17ec3=_0x1ca577,_0x4393bb=await this['executeScriptByName'](_0xfcfd55,_0x181601['HVDwp'],_0x3a52ee);logger[_0xb17ec3(0x30b)](_0xb17ec3(0x252)+util['format'](_0x4393bb));},{'command':_0x181601['ItciK']})();const _0xbf2d84=await PerformanceTester[_0x1ca577(0x1ed)](PerformanceA11yEvents[_0x1ca577(0x260)],async()=>{const _0x21fee6=_0x1ca577;return await this[_0x21fee6(0x33e)](_0xfcfd55,_0x181601[_0x21fee6(0x322)],_0x3a52ee);})();if(!_0xbf2d84)return logger['debug'](_0x181601[_0x1ca577(0x1c3)]),{};return _0xbf2d84;}catch(_0x38d8e8){return logger[_0x1ca577(0x15f)](_0x1ca577(0x273)+(_0x38d8e8[_0x1ca577(0x310)]||_0x38d8e8[_0x1ca577(0x1c7)])),{};}}async[a90_0x2d5ab2(0x161)](_0x101fc4,_0x4520a2,_0x2554f6=null){const _0x48b920=a90_0x2d5ab2,_0x3aed03={};_0x3aed03[_0x48b920(0x27f)]=_0x48b920(0x1c4),_0x3aed03[_0x48b920(0x2ec)]='performPageScan:\x20Script\x20is\x20null',_0x3aed03[_0x48b920(0x2ea)]=_0x48b920(0x1f7);const _0x22b076=_0x3aed03;try{if(!_0x101fc4)return logger['debug'](_0x22b076[_0x48b920(0x27f)]),null;if(!_0x4520a2)return logger['debug'](_0x22b076[_0x48b920(0x2ec)]),null;logger[_0x48b920(0x30b)](_0x22b076['KIcBt']);const _0x71fb83=_0x2554f6?await _0x101fc4[_0x48b920(0x1b6)](_0x4520a2,_0x2554f6):await _0x101fc4[_0x48b920(0x1b6)](_0x4520a2);return _0x71fb83;}catch(_0x5b6069){return logger[_0x48b920(0x15f)]('Error\x20in\x20performPageScan:\x20'+(_0x5b6069['stack']||_0x5b6069['message'])),null;}}static['loadDriverExecuteParams'](_0x19d1fe,_0x4aaa28){const _0x38b8b6=a90_0x2d5ab2,_0xa89b50={};_0xa89b50['FqePz']=_0x38b8b6(0x28f);const _0xd6e85d=_0xa89b50,_0x3cffae={};_0x3cffae[_0x38b8b6(0x22f)]=_0x19d1fe;const _0x2f3846=_0x3cffae;let _0x318830={};if(_0x4aaa28[_0x38b8b6(0x2eb)]()&&_0x4aaa28[_0x38b8b6(0x168)]())try{_0x318830=JSON['parse'](new Buffer(_0x4aaa28[_0x38b8b6(0x22b)]())[_0x38b8b6(0x21a)](_0xd6e85d['FqePz']));}catch(_0x3066ab){logger[_0x38b8b6(0x15f)]('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x3066ab[_0x38b8b6(0x1c7)]),_0x318830={};}return CLIUtils[_0x38b8b6(0x29a)](_0x2f3846,_0x318830);}static async[a90_0x2d5ab2(0x281)](_0x3f0c36,_0x52f8fd='',_0x46546d=null){const _0xab5a6d=a90_0x2d5ab2,_0x48e751={};_0x48e751[_0xab5a6d(0x169)]=_0xab5a6d(0x29b),_0x48e751[_0xab5a6d(0x2cb)]='accessibility';const _0x2aa3f1=_0x48e751;try{if(!_0x46546d&&AccessibilityModule[_0xab5a6d(0x2a5)])return AccessibilityModule[_0xab5a6d(0x1fd)];if(!process[_0xab5a6d(0x18e)]['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger['error'](_0x2aa3f1['ITaFs']),{};const _0x89a5fe=await GrpcClient[_0xab5a6d(0x21b)]()[_0xab5a6d(0x1cc)](process[_0xab5a6d(0x18e)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x2aa3f1[_0xab5a6d(0x2cb)],_0x3f0c36,_0x46546d),_0x33c525=_0x46546d?AccessibilityModule[_0xab5a6d(0x18d)](null,_0x89a5fe)?.[_0xab5a6d(0x22f)]||_0x52f8fd:_0x52f8fd,_0x4f593a=AccessibilityModule['loadDriverExecuteParams'](_0x33c525,_0x89a5fe);return!_0x46546d&&(AccessibilityModule[_0xab5a6d(0x1fd)]=_0x4f593a,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x4f593a;}catch(_0x2065bb){return logger[_0xab5a6d(0x15f)](_0xab5a6d(0x333)+_0x3f0c36+':\x20'+(_0x2065bb[_0xab5a6d(0x310)]||_0x2065bb[_0xab5a6d(0x1c7)])),{};}}};module[a90_0x2d5ab2(0x1cb)]=AccessibilityModule;function a90_0x5881(){const _0x55430e=['getResults','--headless=','ForgK','../framework/testFramework','keys','getParamsForScanForCli','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','onBeforeTest','FcSKr','JMinF','measureWrapper','performScanForCli','MergedScanArgs:\x20','kRvvM','uPhdv','\x20using\x20script:\x20','getScriptByName','setAccessibilityConfig','IVImh','sqClZ','Executing\x20accessibility\x20script\x20on\x20page','YoaBI','wmKym','requiresChromeOptionsValidation','registerObserver','yPpZu','_centralAuthA11yConfig','getBuildId','isAppAccessibility','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20',',\x20available\x20commands:\x20','Sxfav','loadAccessibilityConfig','getParamsForScanForCli:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','chromeOptions','goog:chromeOptions','QiksW','UXRRM','ADFRm',']\x20isEnabledTestcase\x20(cucumber)\x20result=','Error\x20in\x20performScanForCli\x20for\x20script\x20',',\x20tags=','KEY_TEST_NAME','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','getPlatformIndex','../../playwright/accessibility-helper','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','isBrowserstackScriptCommand',',\x20testIdentifier=','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','TZqWl','wcagVersion','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','GtzLS','isArray','toString','getInstance','isEnabled','setAccessibilityToken','jest',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','\x20from\x20testIdentifier=','getScript','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','stopTestCapture','3120096sYyjni','../grpcClient','AgxpX','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','Error\x20in\x20processAccessibilityCaps:\x20','zqUlx','../cliUtils','getAccessibilityExecuteParams','FWDvW','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','performScanForCli:\x20No\x20','thTestRunUuid','bind','commandName','trBbA','Unknown\x20Test','getData','BEZJv','null','kADYl','page','getValue','accessibilityPlatform','getBrowserDisplayName','get','MoAKO','LOG_DISABLED_SHOWN','WThtS','Rosfx','getName','[AccessibilityModule]\x20isMobileScanningEnabledForGroup\x20cap\x20received:\x20raw=','cucumber','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','isAccessibilityScriptCommand','MdVTl','sOKFV','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','\x22browserstack.key\x22:\x22[REDACTED]\x22','../TestInfo.js','../../../helpers/helper','applySendMessageToServerPatch','KEY_INIT','\x20->\x20','getAllData','getOptions','updateData','Scan\x20result:\x20','lPeHY','../../../helpers/accessibility-automation/scripts','OBSuX','start','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','lUgYg','dZdOh','CREATE','41018aZVhab','pzStM','Mnahk',',\x20\x0a\x20','parse','GET_RESULTS_SUMMARY','BOytc','toJson','__jestCurrentTestIdentifier','OOgPk','test_tags','join','getTestUUID','browser_version','../../../helpers/classLogger','skipCDPConnectOverride','TtpPt','testFramework','itdva','getMinVersionForBrowser','performScan','oABzl','askoV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Error\x20in\x20getAccessibilityResultsSummary:\x20','isPlatformSupported','pwPage','string','YyClV','ULuBS','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','ehxGK','Page\x20','Error\x20executing\x20script\x20','KEY_TESTHUB_BUILD_ID','isPlatformSupported:\x20caps\x20are\x20null','ZZZcw','toLowerCase','fetchCentralAuthA11yConfig','getGoogleChromeOptions','chrome','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','KrfMz','\x20browser\x20version\x20','version','UwMap','KEY_DRIVER_HAS_URL','Context','includeTagsInTestingScope','onBeforeExecute:\x20command=','XeOXe','is_mobile_session','ascii','patchSendMessageToServer','HVeyU','xArIy','BROWSERSTACK_TESTHUB_JWT','test-tags-->\x20','wmNOI','HtWSR','getAccessibilityResultsSummary','toObject','RQZrd','mergeObject','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','YIrOy','getCurrentAccessibilityStatus','zspBn','../../utils/playwright-patcher','TrackedInstance','SJzjn','command','NQXIQ','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','_centralAuthConfigFetched','348172zLLshQ','fLmfm','rYXiR','../../../helpers/accessibility-automation/constants','../../../helpers/performance/performance-tester.js','NpiIG',',\x20excludeTags=','../framework/constants/testFrameworkConstants.js','YfiSR','PjvJX','TEST_INIT','mGutf','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','isEnabledTestcase','\x20script\x20available\x20in\x20scriptsList','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','headless','FDbpQ','RAAgM','aATFp','aKJRT','tGhHM','titlePath','BCQZx','AaDuq','kKzGD','size','platformCaps','935718eWDHwc','47Ngachy','uPqVj','[platform\x20-\x20','MOBILE_SCANNING_DISABLED_WARNING','wFuOH','wNtzo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','jOOoU','hFTXI','SmQBF','vbovV','capabilities','hUEsg','isMobilePlatform','assign','hFLSz','Rokbp','QfUfN','VvYyi','true','Gtbwb','NON_BROWSERSTACK_AUTOMATION_SESSIONS','info','testFrameworkData','[AccessibilityModule]\x20onAfterTest:\x20framework=','Accessibility\x20data\x20for\x20extension:\x20','onBeforeExecute:\x20No\x20command\x20name\x20provided','OOwnb','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','hPnnK','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','gxvVM','KAdmH','browserstack.accessibilityOptions.scannerProcessingTimeout','tCmQD','cbMSd','function','gnHmQ','KIcBt','getSuccess','JzRrK','pzjdw','NHrwQ','capabilitiesList','SByTA','flTGG','toISOString','getContext','SDK_ACCESSIBILITY_CONFIG','vsLCZ','getTestId','\x20script\x20available','scannerVersion','20212912dKxkEu','ZAuAg','IriLB','set','stopTestCapture:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','CDCbl','unknown','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','split','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','TUYxn','BROWSERSTACK_CLI_BIN_SESSION_ID','HYAAb','Fewpg','name','browserName','accessibility','jfsqE','debug','platformValidation','some','PRE',',\x20isAppAccessibility=','stack','Error\x20in\x20initAccessibilityConfig:\x20',']\x20should\x20run\x20accessibility\x20value=','scannerProcessingTimeout','XZNdF','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','saveResults','OATsM','shouldScanCurrentTest','isAccessibilityAutomationSession','tyVUz','browserVersion','KKSjs','validatePlatformForAccessibility','jfXqZ',']\x20isEnabledTestcase\x20(jest)\x20result=','Error\x20in\x20getAccessibilityResults:\x20','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','acOTS','ZTcKW','../../../helpers/accessibility-automation/helper',']\x20onAfterTest\x20should\x20scan=',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','map','getTestDetails','DRIVER_HAS_URL','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','wqyyB','testInfo','zpSas','SLzMt','find','isMobileScanningEnabledForGroup','warn','getCapabilityValue','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','browserStackEvaluate','mMKEh','saWTi','ItciK','end','parseFromProto','delete','POST','ejQrm','finishScanningForCli','executeScriptByName',',\x20includeTags=','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','Executing\x20','XeMGb','Exception\x20in\x20isPlatformSupported:\x20','__accessibilityOptions','PImQT','LVIvk','MODULE_NAME','../../../helpers/performance/constants.js','value','error','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','performPageScan','onAfterTest','\x20result\x20for\x20','isBrowserSupportedForAccessibility','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','aaQkr','Error\x20checking\x20headless\x20capability:\x20','hasAccessibilityExecuteParams','ITaFs','FDNcx','executeScriptByName:\x20No\x20','DRIVER_INIT','TVbzw','SkTse','getCapabilitiesList','ZDIkG','DADmx','UklPd','length','instance','args','getAccessibility','nsPJE','ixqjI','android','LZNGD','EMLvj','on\x20non-BrowserStack\x20infrastructure\x20','oJzeT','yNQLP','getModuleName','getCurrentInstanceName','browserstack.accessibilityOptions.scannerVersion','cutdR','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','yAjNm','Error\x20getting\x20script\x20by\x20name\x20','options','testhub_build_uuid','PERFORM_SCAN','setShouldScan','gcusi','mXDqs','XUqZY','loadDriverExecuteParams','env','xmBdd','xVcPl','./baseModule','testAnalyticsId','--headless=new','isVersionSupported','xmKku','UqVHq','setShouldScanCurrentTest','ZfHov','pGbRL','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','2790102lVVwsj','mfKnJ','\x22browserstack.user\x22:\x22[REDACTED]\x22','pCEMf','onBeforeExecute','startsWith','BS_A11Y_JWT','AetOK','onBeforeExecute:\x20Command\x20','getTesthub','eIwXs','505315flbueO','\x20env=','processAccessibilityCaps','Error\x20in\x20stopTestCapture:\x20','FUHbs','\x20a11yToken=','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','shouldScanForCommand','currentTest','rxcST','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','stringify','IAGha','NRPCL','Performing\x20scan\x20before\x20getting\x20results\x20summary','RCTYD','evaluate','__workerDetails','launchCaps','_mobileScanningDisabledLogged','_sendMessageServerPatchApplied','GlWQj','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','resolveMobileThTestRunUuid','igdlj','accessibilityConfig','scan','a11y:save-results','isMobileWebSession','qfFFQ','performPageScan:\x20Page\x20is\x20null','browser','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','message','gPUYp','yVDuD',']\x20Accessibility\x20configuration\x20initialized\x20successfully','exports','fetchDriverExecuteParamsEvent','ybLyf','setLogDisabledShown','excludeTagsInTestingScope','shouldScanForCommand:\x20','GwJDx',',\x20testName=','initAccessibilityConfig','Ovkio','QUIT','vEgWB','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','yJPaO','Error\x20applying\x20sendMessageToServer\x20patch:\x20','MQjHa','replace','CpuKs','getTrackedInstance','platformName','includes','has','\x20accessibility\x20script\x20on\x20page','format'];a90_0x5881=function(){return _0x55430e;};return a90_0x5881();}
1
+ const a90_0x53144d=a90_0x4020;(function(_0x33d9bc,_0x5270f2){const _0x1a1342=a90_0x4020,_0x47394e=_0x33d9bc();while(!![]){try{const _0xfba330=-parseInt(_0x1a1342(0x36f))/0x1*(parseInt(_0x1a1342(0x220))/0x2)+-parseInt(_0x1a1342(0x2bf))/0x3+-parseInt(_0x1a1342(0x329))/0x4*(parseInt(_0x1a1342(0x241))/0x5)+parseInt(_0x1a1342(0x1c2))/0x6+-parseInt(_0x1a1342(0x1b9))/0x7+parseInt(_0x1a1342(0x313))/0x8*(-parseInt(_0x1a1342(0x34f))/0x9)+parseInt(_0x1a1342(0x294))/0xa;if(_0xfba330===_0x5270f2)break;else _0x47394e['push'](_0x47394e['shift']());}catch(_0x4b47ef){_0x47394e['push'](_0x47394e['shift']());}}}(a90_0x3fd9,0x575bc));const BaseModule=require(a90_0x53144d(0x25a)),{createClassLogger}=require(a90_0x53144d(0x253)),CLIUtils=require('../cliUtils'),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a90_0x53144d(0x33b)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a90_0x53144d(0x1b5)),GrpcClient=require('../grpcClient'),scripts=require(a90_0x53144d(0x25d)),logger=createClassLogger(a90_0x53144d(0x2c7)),PerformanceTester=require(a90_0x53144d(0x22c)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a90_0x53144d(0x2d5)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a90_0x53144d(0x261)),{nestedKeyValue,isUndefined}=require('../../../helpers/helper'),util=require('util'),TestInfo=require(a90_0x53144d(0x312)),TestFrameworkConstants=require(a90_0x53144d(0x273)),accessibilityHelper=require(a90_0x53144d(0x2e3));class AccessibilityModule extends BaseModule{static [a90_0x53144d(0x31b)]=AccessibilityModule[a90_0x53144d(0x202)];static [a90_0x53144d(0x277)]=![];static [a90_0x53144d(0x377)]={};constructor(_0x3267f8){const _0x2ea639=a90_0x53144d,_0x544550={};_0x544550[_0x2ea639(0x2ef)]='13|16|8|4|6|9|14|7|12|3|2|11|10|0|5|15|1',_0x544550[_0x2ea639(0x363)]=_0x2ea639(0x257),_0x544550[_0x2ea639(0x315)]=_0x2ea639(0x1f0),_0x544550[_0x2ea639(0x30b)]=_0x2ea639(0x2c5),_0x544550[_0x2ea639(0x256)]=_0x2ea639(0x349);const _0x1994cd=_0x544550,_0x3577e0=_0x1994cd[_0x2ea639(0x2ef)][_0x2ea639(0x37a)]('|');let _0xc7d8fe=0x0;while(!![]){switch(_0x3577e0[_0xc7d8fe++]){case'0':logger[_0x2ea639(0x27a)](_0x1994cd['wanOb']);continue;case'1':this['KEY_TESTHUB_BUILD_ID']=_0x1994cd['qJgLM'];continue;case'2':this['_sendMessageServerPatchApplied']=![];continue;case'3':this[_0x2ea639(0x1bf)]=[];continue;case'4':AutomationFramework[_0x2ea639(0x1ec)](AutomationFrameworkState['QUIT'],HookState[_0x2ea639(0x2ea)],this[_0x2ea639(0x2c4)][_0x2ea639(0x1c4)](this));continue;case'5':this[_0x2ea639(0x264)]=_0x1994cd[_0x2ea639(0x30b)];continue;case'6':this[_0x2ea639(0x2f7)]=!![];continue;case'7':this[_0x2ea639(0x2fb)]=new Map();continue;case'8':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x2ea639(0x21b)],HookState[_0x2ea639(0x229)],this[_0x2ea639(0x1ee)][_0x2ea639(0x1c4)](this));continue;case'9':this[_0x2ea639(0x1df)]=_0x3267f8['toObject']();continue;case'10':this[_0x2ea639(0x31c)](_0x3267f8[_0x2ea639(0x35e)]()['getCapabilitiesList']());continue;case'11':this[_0x2ea639(0x1b8)]=![];continue;case'12':this['isAppAccessibility']=![];continue;case'13':super();continue;case'14':this[_0x2ea639(0x262)]=new Map();continue;case'15':this['KEY_DRIVER_HAS_URL']=_0x1994cd[_0x2ea639(0x256)];continue;case'16':AutomationFramework[_0x2ea639(0x1ec)](AutomationFrameworkState[_0x2ea639(0x231)],HookState[_0x2ea639(0x2ea)],this['onBeforeExecute'][_0x2ea639(0x1c4)](this));continue;}break;}}[a90_0x53144d(0x2f7)](){const _0x181569=a90_0x53144d;return this[_0x181569(0x2f7)];}[a90_0x53144d(0x2bc)](){const _0x525b03=a90_0x53144d;return AccessibilityModule[_0x525b03(0x31b)];}['getCurrentAccessibilityStatus'](){const _0x330c88=a90_0x53144d;return this[_0x330c88(0x262)][_0x330c88(0x2d2)](CLIUtils[_0x330c88(0x1ed)](),![]);}[a90_0x53144d(0x369)](){const _0xfba5ba=a90_0x53144d;return this[_0xfba5ba(0x2fb)][_0xfba5ba(0x2d2)](CLIUtils['getCurrentInstanceName'](),![]);}['setLogDisabledShown'](_0x30fcef){const _0x3c90ca=a90_0x53144d;this[_0x3c90ca(0x2fb)]['set'](CLIUtils['getCurrentInstanceName'](),_0x30fcef);}[a90_0x53144d(0x24c)](){const _0x23850f=a90_0x53144d,_0x1e4663={'PDDJu':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','EWUoT':function(_0x1c8b2d,_0x513e85){return _0x1c8b2d(_0x513e85);},'DgYyt':'../../utils/playwright-patcher','aQbvt':'Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','IngPv':_0x23850f(0x371)};if(this['_sendMessageServerPatchApplied']){logger[_0x23850f(0x27a)](_0x1e4663[_0x23850f(0x2d8)]);return;}try{const _0x1a8558=_0x1e4663[_0x23850f(0x2cf)](require,_0x1e4663['DgYyt']);_0x1a8558&&_0x1a8558[_0x23850f(0x254)]?(_0x1a8558[_0x23850f(0x254)](),this[_0x23850f(0x2ca)]=!![],logger[_0x23850f(0x27a)](_0x1e4663[_0x23850f(0x32d)])):logger[_0x23850f(0x27a)](_0x1e4663[_0x23850f(0x2c2)]);}catch(_0x3eaa2b){logger['debug'](_0x23850f(0x2c8)+util[_0x23850f(0x350)](_0x3eaa2b));}}[a90_0x53144d(0x2e6)](_0x26866b=null,_0x44eda4=null,_0x1a8e8c=null){const _0x4e3812=a90_0x53144d,_0x210fb8={'DVQGr':function(_0x30e59e,_0x510d01){return _0x30e59e&&_0x510d01;},'fggve':_0x4e3812(0x28b),'cMMky':function(_0x2b4dc2,_0x59caf5){return _0x2b4dc2(_0x59caf5);},'nQrQE':_0x4e3812(0x348),'WLrQa':_0x4e3812(0x19d),'eIPEH':_0x4e3812(0x360),'sIxiY':function(_0x557cce,_0x4667a7){return _0x557cce===_0x4667a7;},'XvwBX':_0x4e3812(0x259),'QsJLg':function(_0x4bd2aa,_0x453881){return _0x4bd2aa===_0x453881;},'VzknL':_0x4e3812(0x333),'mmisP':_0x4e3812(0x351),'gOSKd':_0x4e3812(0x321),'MjSFt':function(_0x5046b4,_0x4f5fbc){return _0x5046b4!==_0x4f5fbc;},'txDmb':'latest','rqVCM':function(_0x51b5a2){return _0x51b5a2();},'YTlXV':'on\x20non-BrowserStack\x20infrastructure\x20','yYRCN':function(_0x3d80dc,_0x595032){return _0x3d80dc!==_0x595032;},'OdNBp':function(_0x38c46b,_0x4b0db4){return _0x38c46b>_0x4b0db4;},'ocZen':function(_0x1359f7,_0x5c825f){return _0x1359f7(_0x5c825f);},'ZrvSh':function(_0x28ed3d,_0x59fd83){return _0x28ed3d(_0x59fd83);},'ROvEb':_0x4e3812(0x30c)};try{if(_0x210fb8[_0x4e3812(0x272)](!_0x44eda4,!_0x1a8e8c))return logger[_0x4e3812(0x27a)](_0x210fb8[_0x4e3812(0x1b0)]),![];const {isUndefined:_0x1ba313,isBrowserstackInfra:_0xcbe7a4}=_0x210fb8[_0x4e3812(0x1ae)](require,_0x210fb8['nQrQE']);if(!accessibilityHelper['isAccessibilityAutomationSession']())return logger[_0x4e3812(0x27a)](_0x210fb8['WLrQa']),![];const _0x1dc3d9=_0x44eda4['browserName']||_0x44eda4[_0x4e3812(0x25c)],_0x248781=_0x44eda4[_0x4e3812(0x293)]||_0x44eda4[_0x4e3812(0x330)];if(!accessibilityHelper[_0x4e3812(0x19a)](_0x1dc3d9))return logger[_0x4e3812(0x27d)](_0x210fb8[_0x4e3812(0x227)]),![];if(accessibilityHelper[_0x4e3812(0x2bb)](_0x1dc3d9))try{const _0x7b0380=_0x44eda4[_0x4e3812(0x334)],_0x3cb1de=_0x210fb8[_0x4e3812(0x2a9)](_0x7b0380,!![])||_0x210fb8['sIxiY'](_0x7b0380,_0x210fb8[_0x4e3812(0x2e9)])||_0x210fb8[_0x4e3812(0x1f8)](typeof _0x7b0380,_0x210fb8[_0x4e3812(0x201)])&&_0x210fb8[_0x4e3812(0x1f8)](_0x7b0380['toLowerCase'](),_0x210fb8[_0x4e3812(0x2e9)]);if(_0x3cb1de)return logger[_0x4e3812(0x27d)](_0x210fb8['mmisP']),![];const _0x7dfead=_0x44eda4?.[_0x4e3812(0x24d)]?.[_0x4e3812(0x37d)]||_0x44eda4?.[_0x210fb8[_0x4e3812(0x2a3)]]?.['args']||[];if(Array[_0x4e3812(0x2b1)](_0x7dfead)&&_0x7dfead[_0x4e3812(0x1b4)](_0x2a6381=>typeof _0x2a6381===_0x4e3812(0x333)&&(_0x2a6381===_0x4e3812(0x325)||_0x2a6381[_0x4e3812(0x365)](_0x4e3812(0x2b0))&&_0x2a6381!=='--headless=new')))return logger['warn'](_0x210fb8[_0x4e3812(0x295)]),![];}catch(_0x93d28){logger[_0x4e3812(0x27a)]('Error\x20checking\x20headless\x20capability:\x20'+util[_0x4e3812(0x350)](_0x93d28));}if(_0x210fb8['MjSFt'](_0x248781,_0x210fb8[_0x4e3812(0x33a)])){const _0x119a83=_0x210fb8['rqVCM'](_0xcbe7a4),_0x58f5ab=accessibilityHelper['getMinVersionForBrowser'](_0x1dc3d9,_0x119a83),_0x8f7b3d=accessibilityHelper[_0x4e3812(0x270)](_0x1dc3d9);if(!accessibilityHelper[_0x4e3812(0x1ab)](_0x248781,_0x58f5ab)){const _0x2e58f1=_0x119a83?'':_0x210fb8[_0x4e3812(0x200)];return logger[_0x4e3812(0x27d)](_0x4e3812(0x372)+_0x8f7b3d+_0x4e3812(0x233)+_0x58f5ab+_0x4e3812(0x24b)+_0x2e58f1+'.'),![];}}else{const _0xc767d1=_0x44eda4['browserVersion']||_0x44eda4[_0x4e3812(0x330)]||_0x44eda4[_0x4e3812(0x2b7)];if(_0xc767d1&&_0x210fb8[_0x4e3812(0x2d7)](_0xc767d1,_0x210fb8[_0x4e3812(0x33a)])&&!_0x210fb8[_0x4e3812(0x219)](_0x210fb8[_0x4e3812(0x337)](parseFloat,_0xc767d1),_0x210fb8[_0x4e3812(0x228)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x4e3812(0x27d)](_0x210fb8[_0x4e3812(0x1a2)]),![];}return!![];}catch(_0x56c1f0){return logger[_0x4e3812(0x27a)](_0x4e3812(0x297)+_0x56c1f0[_0x4e3812(0x32e)]),![];}}[a90_0x53144d(0x26d)](_0x207f12=[],_0x50f39f,_0x55c046=a90_0x53144d(0x1ef)){const _0x14663a=a90_0x53144d,_0x572593={'dAdkD':function(_0xd08f39,_0x2f22e9){return _0xd08f39===_0x2f22e9;},'HFTHz':_0x14663a(0x1bd),'krmnc':function(_0x3af25a,_0x195308){return _0x3af25a||_0x195308;},'iVpZt':function(_0x13f15c,_0x3bbaa0){return _0x13f15c===_0x3bbaa0;},'JqMoD':function(_0x5ab808,_0x3ac0da){return _0x5ab808&&_0x3ac0da;},'OGpCv':_0x14663a(0x232),'kzAit':function(_0x461302,_0x4cab85){return _0x461302(_0x4cab85);},'EqDAO':function(_0x16287f,_0x5ef3fa){return _0x16287f>_0x5ef3fa;},'pKrVg':function(_0x431651,_0x4cb40b){return _0x431651&&_0x4cb40b;}};try{const _0x5c5f29=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']?JSON['parse'](process[_0x14663a(0x356)][_0x14663a(0x1d4)]):null;if(!_0x5c5f29)return!![];const _0x3fcb32=Array[_0x14663a(0x2b1)](_0x5c5f29[_0x14663a(0x2b8)])?_0x5c5f29['includeTagsInTestingScope']:[],_0x3cf133=Array[_0x14663a(0x2b1)](_0x5c5f29[_0x14663a(0x197)])?_0x5c5f29[_0x14663a(0x197)]:[];if(_0x572593['dAdkD'](_0x55c046,_0x572593[_0x14663a(0x27b)])){let _0x3a364a;Array['isArray'](_0x207f12)?_0x3a364a=_0x207f12[_0x14663a(0x326)]('\x20'):_0x3a364a=_0x572593[_0x14663a(0x26a)](_0x207f12,'');const _0x1c802d=_0x3cf133[_0x14663a(0x1b4)](_0xd13afb=>_0x3a364a[_0x14663a(0x20c)](_0xd13afb)),_0x14fb11=_0x572593[_0x14663a(0x2a4)](_0x3fcb32[_0x14663a(0x221)],0x0)||_0x3fcb32[_0x14663a(0x1b4)](_0x2cf29a=>_0x3a364a['includes'](_0x2cf29a)),_0x55f189=_0x572593[_0x14663a(0x210)](!_0x1c802d,_0x14fb11);return logger[_0x14663a(0x27a)](_0x14663a(0x2d0)+(_0x50f39f?.[_0x14663a(0x289)]?.()||_0x572593[_0x14663a(0x304)])+_0x14663a(0x36c)+_0x55f189+_0x14663a(0x248)+_0x3a364a+_0x14663a(0x344)+JSON[_0x14663a(0x23a)](_0x3fcb32)+_0x14663a(0x204)+JSON[_0x14663a(0x23a)](_0x3cf133)),_0x55f189;}const _0x3e904d=Array[_0x14663a(0x2b1)](_0x207f12)?_0x207f12:[];let _0x5b4e20=![],_0x13035d=_0x572593['dAdkD'](_0x3fcb32[_0x14663a(0x221)],0x0);const _0x301299=_0x74e8af=>typeof _0x74e8af==='string'?_0x74e8af[_0x14663a(0x37b)](/^@/,'')[_0x14663a(0x1a5)]()['trim']():_0x74e8af,_0x429ebf=new Set(_0x3fcb32[_0x14663a(0x30f)](_0x301299)),_0x92370c=new Set(_0x3cf133[_0x14663a(0x30f)](_0x301299));for(const _0x5e6169 of _0x3e904d){const _0x47dff9=_0x572593['kzAit'](_0x301299,_0x5e6169);_0x92370c[_0x14663a(0x317)](_0x47dff9)&&(_0x5b4e20=!![]),_0x572593[_0x14663a(0x240)](_0x429ebf[_0x14663a(0x2cb)],0x0)&&_0x429ebf[_0x14663a(0x317)](_0x47dff9)&&(_0x13035d=!![]);}const _0xef0d59=_0x572593[_0x14663a(0x1a4)](_0x13035d,!_0x5b4e20);return logger[_0x14663a(0x27a)](_0x14663a(0x2d0)+(_0x50f39f?.['getPlatformIndex']?.()||_0x572593[_0x14663a(0x304)])+_0x14663a(0x30d)+_0xef0d59+_0x14663a(0x230)+JSON[_0x14663a(0x23a)](_0x3e904d)+_0x14663a(0x344)+JSON[_0x14663a(0x23a)](_0x3fcb32)+_0x14663a(0x204)+JSON[_0x14663a(0x23a)](_0x3cf133)),_0xef0d59;}catch(_0x5ce04c){return logger[_0x14663a(0x27a)](_0x14663a(0x2d0)+(_0x50f39f?.[_0x14663a(0x289)]?.()||_0x572593[_0x14663a(0x304)])+_0x14663a(0x1ba)+_0x5ce04c['message']),![];}}async[a90_0x53144d(0x1ee)](_0x100e18){const _0x4d0e6d=a90_0x53144d,_0x4b2837={};_0x4b2837[_0x4d0e6d(0x1a0)]=function(_0x208518,_0x5ad4e9){return _0x208518!==_0x5ad4e9;},_0x4b2837[_0x4d0e6d(0x237)]='cucumber',_0x4b2837[_0x4d0e6d(0x285)]=function(_0x2ac4c6,_0xa7f355){return _0x2ac4c6!==_0xa7f355;},_0x4b2837[_0x4d0e6d(0x2d1)]=_0x4d0e6d(0x1bd),_0x4b2837[_0x4d0e6d(0x283)]=_0x4d0e6d(0x24e),_0x4b2837[_0x4d0e6d(0x374)]=_0x4d0e6d(0x308),_0x4b2837[_0x4d0e6d(0x194)]=_0x4d0e6d(0x324),_0x4b2837['hfDrx']=_0x4d0e6d(0x2ec),_0x4b2837[_0x4d0e6d(0x2ae)]=_0x4d0e6d(0x1de),_0x4b2837[_0x4d0e6d(0x1e2)]=function(_0x50115c,_0x5462ec){return _0x50115c===_0x5462ec;},_0x4b2837[_0x4d0e6d(0x1a6)]=_0x4d0e6d(0x1cc),_0x4b2837[_0x4d0e6d(0x1e3)]=function(_0x58d458,_0x4dad91){return _0x58d458===_0x4dad91;},_0x4b2837['wVcJq']=_0x4d0e6d(0x21f),_0x4b2837['eAZci']=function(_0x1f8106,_0x555b89){return _0x1f8106>_0x555b89;},_0x4b2837[_0x4d0e6d(0x267)]=_0x4d0e6d(0x266),_0x4b2837[_0x4d0e6d(0x1fe)]=_0x4d0e6d(0x1d3),_0x4b2837[_0x4d0e6d(0x1c0)]=function(_0x4bbe0b,_0x2bf794){return _0x4bbe0b&&_0x2bf794;},_0x4b2837['xrRhS']=_0x4d0e6d(0x232),_0x4b2837['Tdkld']=_0x4d0e6d(0x259);const _0x83331e=_0x4b2837;if(_0x83331e[_0x4d0e6d(0x1a0)](_0x100e18['testFramework'],_0x83331e[_0x4d0e6d(0x237)])&&_0x83331e[_0x4d0e6d(0x285)](_0x100e18[_0x4d0e6d(0x1bc)],_0x83331e[_0x4d0e6d(0x2d1)])){logger[_0x4d0e6d(0x27a)](_0x83331e[_0x4d0e6d(0x283)]);return;}try{const _0x11b0c9=AutomationFramework[_0x4d0e6d(0x316)](),_0x26f4ef=TestFramework[_0x4d0e6d(0x316)](),_0x18315c=_0x100e18[_0x4d0e6d(0x305)]||global['__workerDetails']?.[_0x4d0e6d(0x335)]||null;if(!_0x18315c){_0x26f4ef&&_0x26f4ef['updateData'](_0x83331e[_0x4d0e6d(0x374)],!![]);logger['debug'](_0x83331e[_0x4d0e6d(0x194)]);return;}logger['debug'](_0x83331e[_0x4d0e6d(0x296)]);const _0x43f65d=_0x26f4ef?.[_0x4d0e6d(0x33d)](_0x83331e[_0x4d0e6d(0x2ae)],![]),_0x101605=_0x26f4ef?.[_0x4d0e6d(0x33d)](_0x83331e[_0x4d0e6d(0x374)],![]);if(_0x83331e[_0x4d0e6d(0x1e2)](_0x43f65d,![])&&_0x83331e['RTFVX'](_0x101605,![])){_0x26f4ef&&_0x26f4ef['updateData'](_0x83331e[_0x4d0e6d(0x2ae)],!![]);logger['debug'](_0x83331e[_0x4d0e6d(0x1a6)]);return;}_0x26f4ef&&_0x26f4ef[_0x4d0e6d(0x35d)](_0x83331e[_0x4d0e6d(0x374)],!![]);let _0x130f8b,_0xf23090;const _0x21c322=_0x100e18[_0x4d0e6d(0x1bc)]||_0x83331e[_0x4d0e6d(0x237)];if(_0x83331e[_0x4d0e6d(0x1e3)](_0x21c322,_0x83331e[_0x4d0e6d(0x2d1)])){_0xf23090=_0x100e18['testInfo']?.['testAnalyticsId']||_0x100e18[_0x4d0e6d(0x357)]?.['id']||global[_0x4d0e6d(0x2ce)]||global['__workerDetails']?.[_0x4d0e6d(0x2f5)]?.[_0x4d0e6d(0x243)]||global[_0x4d0e6d(0x1e4)]?.[_0x4d0e6d(0x2f5)]?.['id'];const _0x33bfa5=_0x26f4ef?.[_0x4d0e6d(0x2f6)]()?.['get'](_0xf23090);if(_0x33bfa5&&_0x33bfa5[TestFrameworkConstants[_0x4d0e6d(0x25e)]])_0x130f8b=_0x33bfa5[TestFrameworkConstants[_0x4d0e6d(0x25e)]];else{if(_0x100e18[_0x4d0e6d(0x357)]?.[_0x4d0e6d(0x209)])_0x130f8b=_0x100e18['testInfo']['titlePath'];else global[_0x4d0e6d(0x1e4)]?.[_0x4d0e6d(0x2f5)]?.[_0x4d0e6d(0x357)]?.[_0x4d0e6d(0x209)]?_0x130f8b=global[_0x4d0e6d(0x1e4)][_0x4d0e6d(0x2f5)][_0x4d0e6d(0x357)][_0x4d0e6d(0x209)]:_0x130f8b=_0x83331e[_0x4d0e6d(0x28c)];}logger[_0x4d0e6d(0x27a)](_0x4d0e6d(0x1f7)+_0xf23090+_0x4d0e6d(0x248)+JSON[_0x4d0e6d(0x23a)](_0x130f8b));}else{_0xf23090=this[_0x4d0e6d(0x366)](_0x100e18);const _0x3f781f=TestInfo[_0x4d0e6d(0x287)](_0xf23090);let _0x3356ad=[];if(_0x3f781f&&Array['isArray'](_0x3f781f[_0x4d0e6d(0x1d3)])&&_0x83331e[_0x4d0e6d(0x212)](_0x3f781f[_0x4d0e6d(0x1d3)][_0x4d0e6d(0x221)],0x0))_0x3356ad=_0x3f781f['test_tags'];else{if(_0x26f4ef){const _0x4470a8=_0x83331e[_0x4d0e6d(0x1e2)](typeof _0x26f4ef[_0x4d0e6d(0x33d)],_0x83331e['yyBnx'])?_0x26f4ef[_0x4d0e6d(0x33d)](_0x83331e[_0x4d0e6d(0x1fe)],[]):_0x26f4ef[_0x4d0e6d(0x1d3)]||[];Array[_0x4d0e6d(0x2b1)](_0x4470a8)&&(_0x3356ad=_0x4470a8);}}_0x130f8b=_0x3356ad;}logger['info'](_0x4d0e6d(0x20d)+JSON[_0x4d0e6d(0x23a)](_0x130f8b));const _0x47fdc0=this[_0x4d0e6d(0x2e6)](_0x11b0c9,_0x100e18[_0x4d0e6d(0x2cd)],_0x100e18[_0x4d0e6d(0x1e1)]);logger[_0x4d0e6d(0x27a)]('[AccessibilityModule]\x20onBeforeTest:\x20platformSupported='+_0x47fdc0+_0x4d0e6d(0x2dd)+this[_0x4d0e6d(0x1dc)]);const _0x3a1035=this[_0x4d0e6d(0x26d)](_0x130f8b,_0x11b0c9,_0x21c322),_0x277c40=_0x83331e['uOZHi'](_0x47fdc0,_0x3a1035),_0xe1fc7f=CLIUtils[_0x4d0e6d(0x1ed)]();this[_0x4d0e6d(0x262)][_0x4d0e6d(0x284)](_0xe1fc7f,_0x277c40),global['Context']?.['getContext']&&global[_0x4d0e6d(0x27f)][_0x4d0e6d(0x1a8)]()['setShouldScan'](_0x277c40),logger['debug'](_0x4d0e6d(0x2d0)+(_0x11b0c9?.[_0x4d0e6d(0x289)]?.()||_0x83331e[_0x4d0e6d(0x2f2)])+']\x20should\x20run\x20accessibility\x20value='+_0x277c40),_0x277c40?(global['accessibilityPlatform']=!![],process[_0x4d0e6d(0x356)][_0x4d0e6d(0x19e)]=_0x83331e[_0x4d0e6d(0x1fb)],this[_0x4d0e6d(0x24c)]()):global[_0x4d0e6d(0x1cf)]=![];}catch(_0x287d9b){logger['error']('Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20'+(_0x287d9b[_0x4d0e6d(0x2e7)]||_0x287d9b[_0x4d0e6d(0x32e)]));const _0x327ca7=CLIUtils[_0x4d0e6d(0x1ed)]();this[_0x4d0e6d(0x262)][_0x4d0e6d(0x284)](_0x327ca7,![]),global['accessibilityPlatform']=![];}}[a90_0x53144d(0x31e)](){const _0xe19e67=a90_0x53144d;return this[_0xe19e67(0x1bf)]['find'](_0x216b19=>_0x216b19[_0xe19e67(0x338)]()==='goog:chromeOptions')?.['getValue']()||'';}[a90_0x53144d(0x2e5)](_0x12ba85){const _0x311119=a90_0x53144d;try{const _0x56b251=this['accessibilityConfig']?.[_0x311119(0x260)]?.[_0x311119(0x2de)]||[],_0x25e05d=_0x56b251[_0x311119(0x1d9)](_0x28e9de=>_0x28e9de['name']===_0x12ba85);return _0x25e05d?_0x25e05d[_0x311119(0x280)]:null;}catch(_0x18af89){return logger[_0x311119(0x27a)](_0x311119(0x2b4)+_0x12ba85+':\x20'+_0x18af89[_0x311119(0x32e)]),null;}}async[a90_0x53144d(0x276)](_0x2912bc,_0x42bba5){const _0x56a864=a90_0x53144d,_0x30e06c=_0x2912bc[_0x56a864(0x2a0)]()[_0x56a864(0x35e)](),_0x1be4b7=_0x30e06c['getScriptsList'](),_0x4e6d2a=_0x30e06c[_0x56a864(0x36e)]()?.['getCommandsList']();scripts[_0x56a864(0x2a2)](_0x1be4b7,_0x4e6d2a),scripts[_0x56a864(0x23e)]();const _0xda575f=_0x30e06c['getCapabilitiesList']();this['capabilities']=_0x30e06c[_0x56a864(0x2c6)](),await this[_0x56a864(0x31c)](_0xda575f,_0x42bba5['launchCaps']);}async[a90_0x53144d(0x31c)](_0x4e563e,_0x450238={}){const _0x420a99=a90_0x53144d,_0x2e38d6={'JFkTk':function(_0x2cbd50,_0x116377){return _0x2cbd50===_0x116377;},'MTmli':'accessibilityToken','nZgnG':'browserstack.accessibilityOptions.authToken','ZgIzT':function(_0x33de84,_0xf4eb7){return _0x33de84(_0xf4eb7);},'bXImm':_0x420a99(0x2e3),'RktwA':_0x420a99(0x348),'pbgkp':function(_0x79dd09,_0x1e4905){return _0x79dd09(_0x1e4905);},'lshbQ':function(_0x44937c,_0x3f8f61){return _0x44937c===_0x3f8f61;},'aeCWk':_0x420a99(0x35b),'fUkic':'browserstack.accessibilityOptions.wcagVersion','dMGPf':function(_0x5012e7,_0x19ff1b){return _0x5012e7===_0x19ff1b;},'zHgpf':_0x420a99(0x320),'QcZQA':_0x420a99(0x275),'JvvAU':function(_0x345d54,_0x145143){return _0x345d54===_0x145143;},'KFFSL':_0x420a99(0x1e6),'sAmAw':_0x420a99(0x2c0),'VZzIv':_0x420a99(0x37c),'tMhmG':function(_0x43a376,_0x4e7ef6){return _0x43a376(_0x4e7ef6);},'IRISQ':function(_0x3db543,_0x544296){return _0x3db543===_0x544296;},'EYULe':_0x420a99(0x259)};global[_0x420a99(0x318)]=global['__accessibilityOptions']||{};for(const _0xfc3ddf of _0x4e563e){logger[_0x420a99(0x298)](_0x420a99(0x1eb)+_0xfc3ddf['getName']()+_0x420a99(0x2ed)+_0xfc3ddf['getValue']());if(_0x2e38d6[_0x420a99(0x288)](_0xfc3ddf[_0x420a99(0x338)](),_0x2e38d6['MTmli'])){const _0x2cd765=_0xfc3ddf[_0x420a99(0x28d)]();process[_0x420a99(0x356)][_0x420a99(0x2ab)]=_0x2cd765,global[_0x420a99(0x318)][_0x2e38d6['nZgnG']]=_0x2cd765;const _0x3667a9=_0x2e38d6[_0x420a99(0x2be)](require,_0x2e38d6['bXImm']),{isTrue:_0x631b4c}=_0x2e38d6[_0x420a99(0x2be)](require,_0x2e38d6['RktwA']),_0x47db50=_0x3667a9[_0x420a99(0x198)](_0x2cd765);_0x47db50&&_0x2e38d6[_0x420a99(0x26f)](_0x631b4c,_0x47db50[_0x420a99(0x32f)])&&(process[_0x420a99(0x356)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![]);}else{if(_0x2e38d6[_0x420a99(0x268)](_0xfc3ddf[_0x420a99(0x338)](),_0x2e38d6[_0x420a99(0x2fc)]))global[_0x420a99(0x318)][_0x2e38d6['fUkic']]=_0xfc3ddf['getValue']();else{if(_0x2e38d6[_0x420a99(0x20a)](_0xfc3ddf['getName'](),_0x2e38d6[_0x420a99(0x332)]))global[_0x420a99(0x318)][_0x2e38d6[_0x420a99(0x2e8)]]=_0xfc3ddf[_0x420a99(0x28d)]();else{if(_0x2e38d6[_0x420a99(0x247)](_0xfc3ddf[_0x420a99(0x338)](),_0x2e38d6[_0x420a99(0x30e)]))global[_0x420a99(0x318)][_0x2e38d6['sAmAw']]=_0xfc3ddf[_0x420a99(0x28d)]();else{if(_0x2e38d6['lshbQ'](_0xfc3ddf[_0x420a99(0x338)](),_0x2e38d6[_0x420a99(0x22b)])){const _0x5a7e83=_0xfc3ddf[_0x420a99(0x28d)]();process['env']['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x2e38d6[_0x420a99(0x2f1)](String,_0x2e38d6['JFkTk'](_0x5a7e83,!![])||_0x2e38d6[_0x420a99(0x1be)](_0x5a7e83,_0x2e38d6[_0x420a99(0x2a1)])),logger[_0x420a99(0x27a)](_0x420a99(0x22d)+_0x5a7e83+'\x20env='+process[_0x420a99(0x356)][_0x420a99(0x319)]);}}}}}}}async['onAfterTest'](_0x393512){const _0x237031=a90_0x53144d,_0x30607e={};_0x30607e[_0x237031(0x244)]=function(_0x51bb20,_0x46889a){return _0x51bb20!==_0x46889a;},_0x30607e[_0x237031(0x1ea)]='cucumber',_0x30607e['CZfam']=function(_0x3b54a6,_0x1f4776){return _0x3b54a6!==_0x1f4776;},_0x30607e[_0x237031(0x271)]=_0x237031(0x1bd),_0x30607e[_0x237031(0x23b)]=_0x237031(0x249),_0x30607e[_0x237031(0x1cd)]='unknown';const _0x59288b=_0x30607e;if(_0x59288b[_0x237031(0x244)](_0x393512['testFramework'],_0x59288b[_0x237031(0x1ea)])&&_0x59288b[_0x237031(0x2b3)](_0x393512[_0x237031(0x1bc)],_0x59288b[_0x237031(0x271)])){logger['debug'](_0x59288b[_0x237031(0x23b)]);return;}const _0x6d61c=_0x393512['testInfo']?.[_0x237031(0x243)]||_0x393512[_0x237031(0x357)]?.['id']||global[_0x237031(0x2ce)];logger[_0x237031(0x298)]('[AccessibilityModule]\x20onAfterTest:\x20framework='+_0x393512['testFramework']+',\x20testIdentifier='+_0x6d61c);try{const _0x4d5751=_0x393512[_0x237031(0x2bd)]||AutomationFramework[_0x237031(0x316)](),_0x4b0b0c=CLIUtils[_0x237031(0x1ed)](),_0x1eac8a=this[_0x237031(0x32c)]();logger['debug'](_0x237031(0x2d0)+(_0x4d5751?.['getPlatformIndex']?.()||_0x59288b[_0x237031(0x1cd)])+_0x237031(0x1dd)+_0x1eac8a),_0x1eac8a&&await this[_0x237031(0x36d)](_0x4d5751,_0x393512),this[_0x237031(0x262)][_0x237031(0x1db)](_0x4b0b0c),this[_0x237031(0x2fb)][_0x237031(0x1db)](_0x4b0b0c);}catch(_0x1d58a6){logger[_0x237031(0x1c9)](_0x237031(0x281)+(_0x1d58a6[_0x237031(0x2e7)]||_0x1d58a6[_0x237031(0x32e)]));}}async['stopTestCapture'](_0x525330,_0xeca37f){const _0x282451=a90_0x53144d,_0x6988fb={};_0x6988fb[_0x282451(0x2aa)]=function(_0x552ab8,_0x2e2253){return _0x552ab8===_0x2e2253;},_0x6988fb[_0x282451(0x1fa)]=_0x282451(0x266),_0x6988fb[_0x282451(0x222)]=_0x282451(0x1bd),_0x6988fb[_0x282451(0x2b5)]=_0x282451(0x1ef),_0x6988fb['GgmtA']=function(_0xa9facf,_0x45c706){return _0xa9facf===_0x45c706;},_0x6988fb[_0x282451(0x339)]=_0x282451(0x28a),_0x6988fb[_0x282451(0x34a)]=_0x282451(0x262),_0x6988fb[_0x282451(0x1f3)]='saveResults',_0x6988fb['aGReP']=_0x282451(0x232),_0x6988fb[_0x282451(0x2f4)]=_0x282451(0x255),_0x6988fb[_0x282451(0x28e)]=_0x282451(0x1b2),_0x6988fb[_0x282451(0x346)]=function(_0x1213ac,_0x1ae4cf){return _0x1213ac===_0x1ae4cf;},_0x6988fb['wAIDk']=function(_0xddc7d,_0xc2d883){return _0xddc7d||_0xc2d883;},_0x6988fb['GtdiC']=function(_0x563799,_0x18e09e){return _0x563799||_0x18e09e;},_0x6988fb['PEgfY']=function(_0x5eaf7c,_0x2137c7){return _0x5eaf7c||_0x2137c7;},_0x6988fb[_0x282451(0x1c3)]=_0x282451(0x25b),_0x6988fb['eaklv']=_0x282451(0x2d9),_0x6988fb[_0x282451(0x1d7)]=_0x282451(0x26e);const _0x463056=_0x6988fb;try{const _0x2c2c18=_0xeca37f[_0x282451(0x1bc)]||(_0x463056['aOKjU'](this[_0x282451(0x1ce)]?.[_0x282451(0x202)]?.[_0x282451(0x1a5)](),_0x463056['aIdbb'])?_0x463056[_0x282451(0x222)]:_0x463056[_0x282451(0x2b5)]);let _0x175d23='',_0x4c6247=null,_0x10a59d=null;if(_0x463056['GgmtA'](_0x2c2c18,_0x463056[_0x282451(0x222)])){_0x4c6247=_0xeca37f['testInfo']?.[_0x282451(0x243)]||_0xeca37f[_0x282451(0x357)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x4c6247){logger['warn'](_0x463056[_0x282451(0x339)]);return;}try{const _0x4b8a2a=await GrpcClient['getInstance']()[_0x282451(0x1ff)](process[_0x282451(0x356)][_0x282451(0x1f2)],_0x463056[_0x282451(0x34a)],_0x463056['cgves'],_0x4c6247),_0x418fe7=AccessibilityModule[_0x282451(0x19c)](null,_0x4b8a2a);_0x175d23=_0x418fe7?.[_0x282451(0x2b2)]||'',logger[_0x282451(0x27a)](_0x282451(0x35a)+_0x175d23+_0x282451(0x2f3)+_0x4c6247),_0x10a59d=_0x4b8a2a;}catch(_0x22643b){logger['error'](_0x282451(0x242)+_0x22643b[_0x282451(0x32e)]);return;}}else{const _0x49fac4=this[_0x282451(0x366)](_0xeca37f);_0x175d23=TestInfo['getTestUUID'](_0x49fac4);}const _0x442032=((()=>{const _0x800281=_0x282451,_0x59b6b7=(this[_0x800281(0x1df)]?.[_0x800281(0x260)]?.[_0x800281(0x2de)]||[])[_0x800281(0x1d9)](_0x5200fb=>(typeof _0x5200fb[_0x800281(0x338)]==='function'?_0x5200fb[_0x800281(0x338)]():_0x5200fb['name'])===this['KEY_TESTHUB_BUILD_ID']);return _0x59b6b7?_0x463056[_0x800281(0x2aa)](typeof _0x59b6b7[_0x800281(0x28d)],_0x463056[_0x800281(0x1fa)])?_0x59b6b7[_0x800281(0x28d)]():_0x59b6b7['value']:'';})()),_0x3449d0=process[_0x282451(0x356)][_0x282451(0x322)]||'';logger['debug'](_0x282451(0x2d0)+(_0x525330?.[_0x282451(0x289)]?.()||_0x463056['aGReP'])+_0x282451(0x1c8)+_0x175d23+_0x282451(0x238)+_0x442032+_0x282451(0x21c)+(_0x3449d0?_0x463056[_0x282451(0x2f4)]:_0x463056[_0x282451(0x28e)]));let _0x36cdf3;if(_0x463056['SDPCo'](_0x2c2c18,_0x463056[_0x282451(0x222)]))_0x36cdf3=AccessibilityModule['loadDriverExecuteParams'](_0x175d23,_0x10a59d);else{const _0x11c421=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process[_0x282451(0x356)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x463056[_0x282451(0x34a)],_0x463056[_0x282451(0x1f3)]);_0x36cdf3=AccessibilityModule['loadDriverExecuteParams'](_0x175d23,_0x11c421);}logger[_0x282451(0x27a)](_0x282451(0x307)+JSON[_0x282451(0x23a)](_0x36cdf3));const _0x1beb3e=Object[_0x282451(0x2ff)]({},{'thTestRunUuid':_0x463056[_0x282451(0x27e)](_0x175d23,''),'thBuildUuid':_0x463056['GtdiC'](_0x442032,''),'thJwtToken':_0x463056[_0x282451(0x1ad)](_0x3449d0,'')},_0x36cdf3);!this['isAppAccessibility']&&this[_0x282451(0x362)]()&&(_0x1beb3e[_0x282451(0x1f4)]=!![],logger[_0x282451(0x27a)](_0x463056['mFUdq']));logger[_0x282451(0x27a)]('[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid='+_0x175d23+',\x20isAppAccessibility='+this[_0x282451(0x1dc)]);let _0x197f60=global[_0x282451(0x1e4)]?.['pwPage']||null;!_0x197f60&&(_0x197f60=AutomationFramework[_0x282451(0x1a3)](_0x525330,_0x463056[_0x282451(0x252)],null)),!_0x197f60&&(_0x197f60=AutomationFramework[_0x282451(0x1a3)](_0x525330,_0x463056[_0x282451(0x1d7)],null)),await this[_0x282451(0x1bb)](this[_0x282451(0x32c)](),_0x175d23,_0x197f60,_0x1beb3e,this[_0x282451(0x1dc)]);}catch(_0x3f7f7f){logger[_0x282451(0x1c9)]('Error\x20in\x20stopTestCapture:\x20'+(_0x3f7f7f[_0x282451(0x2e7)]||_0x3f7f7f['message']));}}async[a90_0x53144d(0x1bb)](_0x16d3bc,_0x58cf43,_0x2e615d,_0x53c2e2,_0x489875){const _0x507545=a90_0x53144d,_0x3e3fc7={};_0x3e3fc7['GUiwO']=_0x507545(0x2a8),_0x3e3fc7[_0x507545(0x353)]=function(_0x5d9e7d,_0x182810){return _0x5d9e7d&&_0x182810;},_0x3e3fc7[_0x507545(0x245)]=_0x507545(0x1d0),_0x3e3fc7['tnlGI']=function(_0xd6b085,_0x22bfd0){return _0xd6b085===_0x22bfd0;},_0x3e3fc7['mrXVj']=_0x507545(0x1b2),_0x3e3fc7[_0x507545(0x1e8)]=function(_0x3bab2c,_0x572e58){return _0x3bab2c===_0x572e58;},_0x3e3fc7['pGmMu']=_0x507545(0x2cc),_0x3e3fc7[_0x507545(0x340)]=_0x507545(0x29b),_0x3e3fc7[_0x507545(0x2af)]=_0x507545(0x2ad),_0x3e3fc7[_0x507545(0x263)]=_0x507545(0x2d6),_0x3e3fc7[_0x507545(0x21a)]=function(_0x4c76a0,_0x4bb065){return _0x4c76a0&&_0x4bb065;},_0x3e3fc7['GtQbp']='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x3e3fc7[_0x507545(0x1f1)]=_0x507545(0x235),_0x3e3fc7[_0x507545(0x354)]=_0x507545(0x28f);const _0x2a172c=_0x3e3fc7;try{const _0x19382f=this['getScriptByName'](_0x2a172c[_0x507545(0x37f)]);if(_0x2a172c['vVPbq'](!_0x489875,!_0x19382f)){logger[_0x507545(0x27a)](_0x2a172c[_0x507545(0x245)]);return;}if(!_0x58cf43||_0x2a172c[_0x507545(0x223)](_0x58cf43,_0x2a172c[_0x507545(0x1f9)])||_0x2a172c[_0x507545(0x1e8)](_0x58cf43,'')){logger['debug'](_0x2a172c[_0x507545(0x20f)]);return;}logger[_0x507545(0x27a)](_0x507545(0x29d)+JSON[_0x507545(0x23a)](_0x53c2e2)),_0x16d3bc&&(logger[_0x507545(0x27a)](_0x2a172c['ORBhg']),await this['performScanForCli'](_0x2e615d,_0x58cf43,_0x2a172c[_0x507545(0x2af)],_0x53c2e2,_0x489875,_0x2a172c[_0x507545(0x263)]),_0x2a172c[_0x507545(0x21a)](!_0x489875,_0x19382f)&&(logger[_0x507545(0x27a)](_0x2a172c[_0x507545(0x2ba)]),await PerformanceTester['measureWrapper'](_0x2a172c[_0x507545(0x1f1)],async()=>{const _0x3ad3e7=_0x507545;await this[_0x3ad3e7(0x376)](_0x2e615d,_0x58cf43,_0x2a172c[_0x3ad3e7(0x37f)],_0x53c2e2,_0x489875,_0x2a172c[_0x3ad3e7(0x37f)]);})()),logger[_0x507545(0x298)](_0x2a172c[_0x507545(0x354)]));}catch(_0x5d191c){logger[_0x507545(0x1c9)]('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x5d191c['stack']||_0x5d191c[_0x507545(0x32e)]));}}async['onBeforeExecute'](_0x132bb3){const _0xbf3ec1=a90_0x53144d,_0x4974ad={};_0x4974ad['nQtEY']=function(_0x4790d7,_0xd8fe8){return _0x4790d7!==_0xd8fe8;},_0x4974ad[_0xbf3ec1(0x36a)]=_0xbf3ec1(0x1ef),_0x4974ad[_0xbf3ec1(0x2d4)]=_0xbf3ec1(0x1bd),_0x4974ad['JRPlt']=_0xbf3ec1(0x336),_0x4974ad[_0xbf3ec1(0x234)]=_0xbf3ec1(0x232),_0x4974ad['bjeyo']=_0xbf3ec1(0x31f),_0x4974ad['BvGJi']=function(_0x999f07,_0x909110){return _0x999f07===_0x909110;},_0x4974ad[_0xbf3ec1(0x367)]=_0xbf3ec1(0x331),_0x4974ad[_0xbf3ec1(0x345)]=_0xbf3ec1(0x262),_0x4974ad[_0xbf3ec1(0x24a)]=_0xbf3ec1(0x22e),_0x4974ad['jvaVZ']=_0xbf3ec1(0x2f8),_0x4974ad['VHFzu']='testhub_build_uuid',_0x4974ad['jJfOz']=function(_0x2df092,_0x1db5c2){return _0x2df092===_0x1db5c2;},_0x4974ad[_0xbf3ec1(0x1fc)]=_0xbf3ec1(0x2d6),_0x4974ad[_0xbf3ec1(0x1c7)]='null';const _0x2f9120=_0x4974ad;if(_0x2f9120[_0xbf3ec1(0x1c5)](_0x132bb3[_0xbf3ec1(0x1bc)],_0x2f9120[_0xbf3ec1(0x36a)])&&_0x2f9120[_0xbf3ec1(0x1c5)](_0x132bb3[_0xbf3ec1(0x1bc)],_0x2f9120[_0xbf3ec1(0x2d4)])){logger[_0xbf3ec1(0x27a)](_0x2f9120['JRPlt']);return;}logger[_0xbf3ec1(0x27a)]('onBeforeExecute:\x20command='+(_0x132bb3[_0xbf3ec1(0x216)]||_0x2f9120[_0xbf3ec1(0x234)])+_0xbf3ec1(0x2f0)+_0x132bb3[_0xbf3ec1(0x1bc)]);try{const _0x556455=_0x132bb3[_0xbf3ec1(0x2bd)]||AutomationFramework['getTrackedInstance'](),_0x3e5cfc=TestFramework[_0xbf3ec1(0x316)](),_0x5b7e95=_0x132bb3[_0xbf3ec1(0x216)]||_0x132bb3[_0xbf3ec1(0x23c)]?.['getName']();if(!_0x5b7e95){logger[_0xbf3ec1(0x27a)](_0x2f9120[_0xbf3ec1(0x274)]);return;}if(!this[_0xbf3ec1(0x32c)]()){logger['debug']('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x5b7e95);return;}if(!this[_0xbf3ec1(0x301)](_0x5b7e95)){logger[_0xbf3ec1(0x27a)]('onBeforeExecute:\x20Command\x20'+_0x5b7e95+_0xbf3ec1(0x1e9));return;}const _0x3bac2b=_0x132bb3[_0xbf3ec1(0x305)]||global[_0xbf3ec1(0x1e4)]?.[_0xbf3ec1(0x335)];if(!_0x3bac2b){logger[_0xbf3ec1(0x27a)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x5b7e95);return;}let _0x1c3acc='',_0x4f42ef=null;if(_0x2f9120[_0xbf3ec1(0x2da)](_0x132bb3[_0xbf3ec1(0x1bc)],_0x2f9120[_0xbf3ec1(0x2d4)])){_0x4f42ef=_0x132bb3[_0xbf3ec1(0x357)]?.[_0xbf3ec1(0x243)]||_0x132bb3[_0xbf3ec1(0x357)]?.['id']||global[_0xbf3ec1(0x2ce)];if(!_0x4f42ef){logger[_0xbf3ec1(0x27d)](_0x2f9120['JZpRT']);return;}try{const _0x413789=await GrpcClient[_0xbf3ec1(0x355)]()[_0xbf3ec1(0x1ff)](process[_0xbf3ec1(0x356)][_0xbf3ec1(0x1f2)],_0x2f9120[_0xbf3ec1(0x345)],_0x2f9120[_0xbf3ec1(0x24a)],_0x4f42ef),_0x58ea94=AccessibilityModule[_0xbf3ec1(0x19c)](null,_0x413789);_0x1c3acc=_0x58ea94?.[_0xbf3ec1(0x2b2)]||'',logger[_0xbf3ec1(0x27a)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x1c3acc+_0xbf3ec1(0x2f3)+_0x4f42ef);}catch(_0x56c16e){logger['error'](_0xbf3ec1(0x23f)+_0x56c16e['message']);return;}}else _0x1c3acc=this[_0xbf3ec1(0x2e5)](_0x2f9120[_0xbf3ec1(0x282)])||'',!_0x1c3acc&&this[_0xbf3ec1(0x362)]()&&(_0x1c3acc=accessibilityHelper[_0xbf3ec1(0x358)]());const _0x113bdc=this[_0xbf3ec1(0x2e5)](_0x2f9120[_0xbf3ec1(0x299)])||this['accessibilityConfig'][this[_0xbf3ec1(0x1cb)]]||null,_0x7d6c7=process[_0xbf3ec1(0x356)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x1b7352=this[_0xbf3ec1(0x213)](_0x5b7e95,_0x1c3acc,_0x113bdc,_0x7d6c7),_0x21f206=_0x2f9120[_0xbf3ec1(0x1b3)](_0x132bb3[_0xbf3ec1(0x1bc)],_0x2f9120['GdnXq'])?await AccessibilityModule[_0xbf3ec1(0x1ac)](_0x2f9120[_0xbf3ec1(0x1fc)],_0x1c3acc,_0x4f42ef):await AccessibilityModule[_0xbf3ec1(0x1ac)](_0x2f9120['PIert'],_0x1c3acc);logger['info'](_0xbf3ec1(0x1c1)+(_0x1b7352?JSON[_0xbf3ec1(0x23a)](_0x1b7352):_0x2f9120[_0xbf3ec1(0x1c7)]));const _0x1dca0f=CLIUtils[_0xbf3ec1(0x2d3)](_0x1b7352,_0x21f206);logger['info'](_0xbf3ec1(0x211)+(_0x1dca0f?JSON[_0xbf3ec1(0x23a)](_0x1dca0f):_0x2f9120[_0xbf3ec1(0x1c7)])),logger[_0xbf3ec1(0x27a)](_0xbf3ec1(0x225)+_0x5b7e95);const _0x1f3f97=await this['performScanForCli'](_0x3bac2b,_0x1c3acc,_0x5b7e95,_0x1dca0f,this[_0xbf3ec1(0x1dc)]);logger[_0xbf3ec1(0x27a)]('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x5b7e95+_0xbf3ec1(0x279)+JSON['stringify'](_0x1f3f97));}catch(_0x32881a){logger[_0xbf3ec1(0x1c9)]('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x32881a[_0xbf3ec1(0x2e7)]||_0x32881a[_0xbf3ec1(0x32e)]));}}['shouldScanCurrentTest'](){return this['getCurrentAccessibilityStatus']();}[a90_0x53144d(0x2b6)](_0x15ab10){const _0x5a5297=a90_0x53144d,_0x1a4943=CLIUtils[_0x5a5297(0x1ed)]();this[_0x5a5297(0x262)][_0x5a5297(0x284)](_0x1a4943,_0x15ab10);}async['initAccessibilityConfig'](_0x409a9d){const _0x46f801=a90_0x53144d,_0x1723ba={};_0x1723ba[_0x46f801(0x300)]=_0x46f801(0x232);const _0x2346e2=_0x1723ba;try{const _0x62f2ba=_0x409a9d['instance']||AutomationFramework['getTrackedInstance'](),_0x2d71ac=_0x62f2ba?.['getData']?.()?.['get']?.(this[_0x46f801(0x264)])||![];if(_0x2d71ac)return;PerformanceTester['start'](EVENTS[_0x46f801(0x34b)]);const _0x10da79=await GrpcClient['getInstance']()[_0x46f801(0x251)](_0x409a9d);_0x10da79&&_0x10da79[_0x46f801(0x2a0)]&&_0x10da79[_0x46f801(0x2a0)]()&&_0x10da79['getAccessibility']()[_0x46f801(0x269)]()?(await this[_0x46f801(0x291)](_0x10da79,_0x409a9d),_0x62f2ba?.[_0x46f801(0x33d)]&&_0x62f2ba[_0x46f801(0x33d)]()[_0x46f801(0x284)](this[_0x46f801(0x264)],!![]),logger[_0x46f801(0x27a)]('[platform\x20-\x20'+(_0x62f2ba?.[_0x46f801(0x289)]?.()||_0x2346e2[_0x46f801(0x300)])+_0x46f801(0x2a5))):logger[_0x46f801(0x27a)]('[platform\x20-\x20'+(_0x62f2ba?.[_0x46f801(0x289)]?.()||_0x2346e2[_0x46f801(0x300)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester[_0x46f801(0x302)](EVENTS[_0x46f801(0x34b)]);}catch(_0x567672){PerformanceTester[_0x46f801(0x302)](EVENTS[_0x46f801(0x34b)],![],_0x567672[_0x46f801(0x32e)]),logger['error'](_0x46f801(0x1b1)+(_0x567672[_0x46f801(0x2e7)]||_0x567672[_0x46f801(0x32e)]));}}async[a90_0x53144d(0x291)](_0x5f08b8,_0x2911a2){const _0x2507e7=a90_0x53144d;await this[_0x2507e7(0x276)](_0x5f08b8,_0x2911a2);const _0xa5a679=_0x5f08b8[_0x2507e7(0x2a0)]()[_0x2507e7(0x35e)]();if(_0xa5a679){const _0x3b3272=_0x5f08b8['getTesthub']&&_0x5f08b8[_0x2507e7(0x323)]();_0x3b3272&&(this[_0x2507e7(0x1df)][this[_0x2507e7(0x1cb)]]=_0x3b3272[_0x2507e7(0x1a9)]&&_0x3b3272[_0x2507e7(0x1a9)]());}}['shouldScanForCommand'](_0x30e585){const _0xcaf41b=a90_0x53144d,_0x362fe8={};_0x362fe8['vDwFf']=function(_0x8217d2,_0x43a79e){return _0x8217d2===_0x43a79e;};const _0x4cca65=_0x362fe8;try{if(!_0x30e585)return![];const _0x4c8faa=this[_0xcaf41b(0x1df)]?.[_0xcaf41b(0x260)]?.[_0xcaf41b(0x370)]?.['commandsList']||[],_0x54d1f5=_0x4c8faa[_0xcaf41b(0x1b4)](_0x19b587=>{const _0x25fefd=_0xcaf41b;return _0x19b587[_0x25fefd(0x202)]&&_0x4cca65[_0x25fefd(0x2fe)](_0x19b587['name'][_0x25fefd(0x1a5)](),_0x30e585['toLowerCase']());});return logger['debug'](_0xcaf41b(0x368)+_0x30e585+'\x20->\x20'+_0x54d1f5+_0xcaf41b(0x34d)+JSON[_0xcaf41b(0x23a)](_0x4c8faa[_0xcaf41b(0x30f)](_0x347989=>_0x347989[_0xcaf41b(0x202)]))),_0x54d1f5;}catch(_0x260cbd){return logger['debug']('Error\x20in\x20shouldScanForCommand:\x20'+_0x260cbd[_0xcaf41b(0x32e)]),![];}}[a90_0x53144d(0x23d)](_0x1a16c9){const _0x1c9c1a=a90_0x53144d,_0x5ef2c8={};_0x5ef2c8[_0x1c9c1a(0x1fd)]=function(_0x156a21,_0x5194c7){return _0x156a21===_0x5194c7;},_0x5ef2c8[_0x1c9c1a(0x218)]='string',_0x5ef2c8[_0x1c9c1a(0x203)]=_0x1c9c1a(0x31a);const _0x3be625=_0x5ef2c8,_0x5242e4=_0x1a16c9['getScript']&&_0x1a16c9[_0x1c9c1a(0x196)]();return _0x5242e4&&_0x3be625[_0x1c9c1a(0x1fd)](typeof _0x5242e4,_0x3be625['xIvXD'])&&_0x5242e4[_0x1c9c1a(0x20c)](_0x3be625['RATNe']);}[a90_0x53144d(0x2b9)](_0x4ddb72){const _0x351e41=a90_0x53144d,_0x52fbf3={};_0x52fbf3['oKjpU']=function(_0x5124b0,_0x3f5c42){return _0x5124b0!==_0x3f5c42;},_0x52fbf3[_0x351e41(0x2a7)]='string',_0x52fbf3[_0x351e41(0x379)]=_0x351e41(0x262),_0x52fbf3[_0x351e41(0x2db)]='performScan',_0x52fbf3[_0x351e41(0x37e)]=_0x351e41(0x1da),_0x52fbf3[_0x351e41(0x327)]=_0x351e41(0x1d5);const _0x2633d0=_0x52fbf3,_0xa614b2=_0x4ddb72['getScript']&&_0x4ddb72['getScript']();if(!_0xa614b2||_0x2633d0['oKjpU'](typeof _0xa614b2,_0x2633d0[_0x351e41(0x2a7)]))return![];return _0xa614b2['includes'](_0x2633d0['dqCRM'])||_0xa614b2[_0x351e41(0x20c)](_0x2633d0['ZoDaU'])||_0xa614b2['includes'](_0x2633d0[_0x351e41(0x37e)])||_0xa614b2['includes'](_0x2633d0[_0x351e41(0x327)]);}[a90_0x53144d(0x362)](){const _0x2676b3=a90_0x53144d,_0x57f390={'JmCsO':function(_0xbd8ff5,_0x2f5ba5){return _0xbd8ff5===_0x2f5ba5;},'kIalK':'function','mxEFc':function(_0x40cb73,_0xa1ef6b){return _0x40cb73(_0xa1ef6b);},'DbvuR':_0x2676b3(0x27c),'pROeu':function(_0x49d795,_0xfabc66){return _0x49d795(_0xfabc66);},'aeqFx':'browserName','UPxvZ':function(_0x477df9,_0x41a4cc){return _0x477df9===_0x41a4cc;},'qzAoS':function(_0x2d53b3,_0x14f964){return _0x2d53b3(_0x14f964);},'AJmCE':_0x2676b3(0x26c),'cdVgr':_0x2676b3(0x29f)};try{const _0x401a13=this[_0x2676b3(0x1df)]?.[_0x2676b3(0x260)]?.['capabilitiesList']||[],_0x19fe21=_0x5ccaf2=>{const _0x31a93d=_0x2676b3,_0x5afd8c=_0x401a13[_0x31a93d(0x1d9)](_0x3fb98b=>(typeof _0x3fb98b['getName']===_0x31a93d(0x266)?_0x3fb98b[_0x31a93d(0x338)]():_0x3fb98b['name'])===_0x5ccaf2);return _0x5afd8c?_0x57f390['JmCsO'](typeof _0x5afd8c[_0x31a93d(0x28d)],_0x57f390[_0x31a93d(0x1c6)])?_0x5afd8c[_0x31a93d(0x28d)]():_0x5afd8c['value']:null;},_0x4206ce=_0x57f390[_0x2676b3(0x32a)](_0x19fe21,_0x57f390[_0x2676b3(0x1d8)]),_0x1c2fb2=_0x57f390[_0x2676b3(0x343)](_0x19fe21,_0x57f390[_0x2676b3(0x1e5)]),_0x174c7f=global[_0x2676b3(0x26b)]||_0x4206ce&&_0x57f390[_0x2676b3(0x2e0)](_0x57f390[_0x2676b3(0x328)](String,_0x4206ce)[_0x2676b3(0x1a5)](),_0x57f390[_0x2676b3(0x206)])&&_0x1c2fb2&&_0x57f390[_0x2676b3(0x328)](String,_0x1c2fb2)[_0x2676b3(0x1a5)]()[_0x2676b3(0x20c)](_0x57f390['cdVgr']);if(!_0x174c7f)return![];if(!accessibilityHelper['isMobileScanningEnabledForGroup']())return!this['_mobileScanningDisabledLogged']&&(logger['warn'](accessibilityHelper[_0x2676b3(0x1d6)]),this[_0x2676b3(0x1b8)]=!![]),![];return!![];}catch(_0x313b7b){return logger['debug'](_0x2676b3(0x2ee)+_0x313b7b['message']),![];}}[a90_0x53144d(0x213)](_0x4d3bf3,_0x5cd482,_0x5bca51,_0x4ad460){const _0x308363=a90_0x53144d,_0x45344f={};_0x45344f[_0x308363(0x306)]=function(_0x5c1162,_0x201288){return _0x5c1162||_0x201288;},_0x45344f['BAzxY']=function(_0x2dc92f,_0x28a0ee){return _0x2dc92f&&_0x28a0ee;},_0x45344f[_0x308363(0x2dc)]=function(_0x127148,_0x393499){return _0x127148||_0x393499;},_0x45344f[_0x308363(0x1d1)]=function(_0x350f3c,_0x16b566){return _0x350f3c||_0x16b566;},_0x45344f[_0x308363(0x1ca)]=_0x308363(0x378);const _0x3e306b=_0x45344f;let _0x342e32=_0x3e306b[_0x308363(0x306)](_0x5cd482,'');const _0x4e8fd3=!this[_0x308363(0x1dc)]&&this[_0x308363(0x362)]();_0x3e306b[_0x308363(0x224)](_0x4e8fd3,!_0x342e32)&&(_0x342e32=accessibilityHelper[_0x308363(0x358)]());const _0x2a2294={'command':_0x4d3bf3,'thTestRunUuid':_0x342e32,'thBuildUuid':_0x3e306b['cmEJe'](_0x5bca51,''),'thJwtToken':_0x3e306b['jyTIV'](_0x4ad460,''),'timestamp':new Date()[_0x308363(0x20b)]()};return _0x4e8fd3&&(_0x2a2294[_0x308363(0x1f4)]=!![],logger['debug'](_0x3e306b[_0x308363(0x1ca)])),_0x2a2294;}['getScriptByName'](_0x5294a6){const _0xd5c235=a90_0x53144d,_0x49b954={};_0x49b954[_0xd5c235(0x1e0)]=function(_0x125029,_0x9407f4){return _0x125029||_0x9407f4;};const _0x398b7d=_0x49b954;try{const _0xfb08ec=this[_0xd5c235(0x1df)]?.[_0xd5c235(0x260)]?.['scriptsList']||[],_0x2afc90=_0xfb08ec[_0xd5c235(0x1d9)](_0x49eb72=>_0x49eb72[_0xd5c235(0x202)]===_0x5294a6);return _0x398b7d[_0xd5c235(0x1e0)](_0x2afc90,null);}catch(_0x56a9c7){return logger[_0xd5c235(0x27a)]('Error\x20getting\x20script\x20by\x20name\x20'+_0x5294a6+':\x20'+_0x56a9c7['message']),null;}}async[a90_0x53144d(0x205)](_0x4a7b6f,_0x1547a0,_0x2beb32=null){const _0x2106e7=a90_0x53144d,_0x1c8e9f={'YFOzN':function(_0x1bec92,_0x522ed7){return _0x1bec92(_0x522ed7);},'vrAuX':_0x2106e7(0x19f)};try{if(!_0x4a7b6f)return logger['debug'](_0x2106e7(0x2ac)+_0x1547a0),null;const _0x427168=this[_0x2106e7(0x1b6)](_0x1547a0);if(!_0x427168||!_0x427168[_0x2106e7(0x23c)])return logger['debug'](_0x2106e7(0x310)+_0x1547a0+_0x2106e7(0x309)),null;logger[_0x2106e7(0x27a)](_0x2106e7(0x364)+_0x1547a0+_0x2106e7(0x246));const _0xa300e0=_0x1c8e9f[_0x2106e7(0x36b)](require,_0x1c8e9f[_0x2106e7(0x33e)]),_0x48cbf5=_0x2beb32?await _0xa300e0['browserStackEvaluate'](_0x4a7b6f,_0x427168['command'],_0x2beb32):await _0xa300e0['browserStackEvaluate'](_0x4a7b6f,_0x427168[_0x2106e7(0x23c)]);return _0x48cbf5;}catch(_0x374d92){return logger[_0x2106e7(0x1c9)]('Error\x20executing\x20script\x20'+_0x1547a0+':\x20'+(_0x374d92[_0x2106e7(0x2e7)]||_0x374d92[_0x2106e7(0x32e)])),null;}}async[a90_0x53144d(0x376)](_0x4fe28e,_0x310a81,_0x5eb864,_0x2650d2,_0x42b547,_0x495023=a90_0x53144d(0x2d6)){const _0x787ef9=a90_0x53144d,_0x395709={'ribIC':function(_0x11ea02,_0x1549ba){return _0x11ea02===_0x1549ba;},'TXpHg':_0x787ef9(0x2d6),'nXzNI':function(_0x575abf,_0x330a0b){return _0x575abf(_0x330a0b);},'PeIdh':_0x787ef9(0x19f)};try{logger[_0x787ef9(0x27a)]('[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x5eb864+'\x20using\x20script:\x20'+_0x495023);const _0xaa6fb0=this[_0x787ef9(0x1b6)](_0x495023);if(!_0xaa6fb0||!_0xaa6fb0[_0x787ef9(0x23c)]){logger[_0x787ef9(0x27a)](_0x787ef9(0x207)+_0x495023+_0x787ef9(0x1f6));return;}if(_0x395709['ribIC'](_0x495023,_0x395709[_0x787ef9(0x2c9)])){const _0x10710=_0x395709['nXzNI'](require,_0x395709[_0x787ef9(0x29a)]),_0x6a7708={};_0x6a7708[_0x787ef9(0x23c)]=_0x5eb864;const _0x932bc=await PerformanceTester[_0x787ef9(0x1aa)](PerformanceA11yEvents[_0x787ef9(0x2eb)],async()=>{const _0x24bf22=_0x787ef9;return await _0x10710[_0x24bf22(0x359)](_0x4fe28e,_0xaa6fb0[_0x24bf22(0x23c)],_0x2650d2);},_0x6a7708)();return logger[_0x787ef9(0x298)](_0x787ef9(0x215)+_0x495023+'\x20result\x20for\x20'+_0x5eb864+':\x20'+util['format'](_0x932bc)),_0x932bc;}const _0x3166b2=_0x395709[_0x787ef9(0x1af)](require,_0x395709[_0x787ef9(0x29a)]),_0x1386b3=await PerformanceTester[_0x787ef9(0x1aa)](PerformanceA11yEvents[_0x787ef9(0x250)],async()=>{const _0x33c44e=_0x787ef9;return await _0x3166b2[_0x33c44e(0x359)](_0x4fe28e,_0xaa6fb0[_0x33c44e(0x23c)],_0x2650d2);})();return logger[_0x787ef9(0x298)](_0x787ef9(0x215)+_0x495023+_0x787ef9(0x373)+_0x5eb864+':\x20'+util['format'](_0x1386b3)),_0x1386b3;}catch(_0x199c5c){logger['error'](_0x787ef9(0x292)+_0x495023+':\x20'+(_0x199c5c[_0x787ef9(0x2e7)]||_0x199c5c[_0x787ef9(0x32e)]));}}async['validatePlatformForAccessibility'](_0x282af0){const _0x327391=a90_0x53144d,_0x3bc445={'gwchp':function(_0x1270ba,_0x17d330){return _0x1270ba(_0x17d330);},'lmOOJ':_0x327391(0x2e3)};try{const _0x2491b4=_0x3bc445[_0x327391(0x258)](require,_0x3bc445[_0x327391(0x20e)]);return await _0x2491b4[_0x327391(0x311)](_0x282af0);}catch(_0xfa59bc){return logger[_0x327391(0x1c9)](_0x327391(0x217)+(_0xfa59bc[_0x327391(0x2e7)]||_0xfa59bc['message'])),![];}}[a90_0x53144d(0x1f5)](_0x45ee9e,_0x4f4cfe,_0x523ef0){const _0x53e3f5=a90_0x53144d,_0x173f94={'EnTwe':function(_0x2e4a81,_0x201d23){return _0x2e4a81(_0x201d23);},'UlMXQ':_0x53e3f5(0x19f),'JJEaQ':'\x22browserstack.user\x22:\x22[REDACTED]\x22','PCDOJ':_0x53e3f5(0x33f)};try{const _0x455788=_0x173f94[_0x53e3f5(0x208)](require,_0x173f94['UlMXQ']);_0x455788['processAccessibilityCaps'](_0x45ee9e,_0x4f4cfe,_0x523ef0);const _0x2bcfe8=JSON[_0x53e3f5(0x23a)](_0x45ee9e)['replace'](/"browserstack\.user":"[^"]*"/g,_0x173f94[_0x53e3f5(0x236)])['replace'](/"browserstack\.key":"[^"]*"/g,_0x173f94[_0x53e3f5(0x1b7)]);logger[_0x53e3f5(0x27a)](_0x53e3f5(0x1a1)+global[_0x53e3f5(0x1cf)]+'\x20'+_0x2bcfe8);}catch(_0x21b48e){logger[_0x53e3f5(0x1c9)](_0x53e3f5(0x21d)+(_0x21b48e['stack']||_0x21b48e['message']));}}async['getAccessibilityResults'](_0x1e9b3b){const _0x47ce16=a90_0x53144d,_0x3b686b={};_0x3b686b[_0x47ce16(0x199)]=_0x47ce16(0x29e),_0x3b686b[_0x47ce16(0x1d2)]=function(_0x37b184,_0xdf92fc){return _0x37b184>_0xdf92fc;},_0x3b686b[_0x47ce16(0x25f)]=function(_0x565cc2,_0x5d269b){return _0x565cc2>_0x5d269b;},_0x3b686b[_0x47ce16(0x214)]=_0x47ce16(0x1da);const _0x2989ff=_0x3b686b;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x47ce16(0x27d)](_0x2989ff[_0x47ce16(0x199)]),[];const _0x20dc24=this[_0x47ce16(0x362)]()?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x47ce16(0x358)]()}:{};_0x2989ff['pYzDb'](Object[_0x47ce16(0x29c)](_0x20dc24)[_0x47ce16(0x221)],0x0)&&logger['debug'](_0x47ce16(0x341)+JSON[_0x47ce16(0x23a)](_0x20dc24));const _0x282d85=_0x2989ff[_0x47ce16(0x25f)](Object[_0x47ce16(0x29c)](_0x20dc24)[_0x47ce16(0x221)],0x0)?await this[_0x47ce16(0x205)](_0x1e9b3b,_0x2989ff[_0x47ce16(0x214)],_0x20dc24):await this['executeScriptByName'](_0x1e9b3b,_0x2989ff[_0x47ce16(0x214)]);return _0x282d85||[];}catch(_0x303dc8){return logger[_0x47ce16(0x1c9)](_0x47ce16(0x21e)+(_0x303dc8[_0x47ce16(0x2e7)]||_0x303dc8[_0x47ce16(0x32e)])),[];}}async[a90_0x53144d(0x22f)](_0x1d9f57){const _0x5c54cf=a90_0x53144d,_0x4ed762={'wyfzO':_0x5c54cf(0x2d6),'usSDI':'getResultsSummary','ARMEF':_0x5c54cf(0x2c3),'BMEFn':function(_0x4d5f96,_0x32c37f){return _0x4d5f96(_0x32c37f);},'oPZlr':_0x5c54cf(0x2e4),'dYNIZ':function(_0xbc4430,_0x470ebc){return _0xbc4430===_0x470ebc;},'pOVBc':_0x5c54cf(0x1bd),'Cxcnm':_0x5c54cf(0x31d),'ciXYI':_0x5c54cf(0x262),'jsTpm':_0x5c54cf(0x1f0),'wjviu':'getAccessibilityResultsSummary','hfzDe':'test_run_id','qWxJt':_0x5c54cf(0x361),'qVNVh':_0x5c54cf(0x2fd)};try{if(!this[_0x5c54cf(0x32c)]())return logger[_0x5c54cf(0x27d)](_0x4ed762[_0x5c54cf(0x352)]),{};const _0x499431=_0x4ed762[_0x5c54cf(0x2f9)](require,_0x4ed762['oPZlr']),_0x4555ab=_0x499431['getTestFrameworkDetail'](),_0x3bdd28=_0x4ed762[_0x5c54cf(0x2e2)](_0x4555ab?.[_0x5c54cf(0x202)]?.[_0x5c54cf(0x1a5)](),_0x4ed762[_0x5c54cf(0x2e1)]);let _0x382d95='',_0x1a94eb=null,_0x103cef=null;if(_0x3bdd28){_0x1a94eb=global['__jestCurrentTestIdentifier']||global[_0x5c54cf(0x1e4)]?.['currentTest']?.[_0x5c54cf(0x243)]||global[_0x5c54cf(0x1e4)]?.[_0x5c54cf(0x2f5)]?.['id'];if(!_0x1a94eb)return logger[_0x5c54cf(0x27d)](_0x4ed762[_0x5c54cf(0x265)]),{};try{const _0x5855ed=await GrpcClient[_0x5c54cf(0x355)]()[_0x5c54cf(0x1ff)](process[_0x5c54cf(0x356)][_0x5c54cf(0x1f2)],_0x4ed762[_0x5c54cf(0x286)],_0x4ed762[_0x5c54cf(0x239)],_0x1a94eb),_0x2a9b7b=AccessibilityModule[_0x5c54cf(0x19c)](null,_0x5855ed);_0x382d95=_0x2a9b7b?.[_0x5c54cf(0x2b2)]||'',logger[_0x5c54cf(0x27a)](_0x5c54cf(0x35c)+_0x382d95+_0x5c54cf(0x2f3)+_0x1a94eb);const _0x50dd83=await AccessibilityModule[_0x5c54cf(0x1ac)](_0x4ed762[_0x5c54cf(0x239)],_0x382d95,_0x1a94eb),_0xddeeed=this[_0x5c54cf(0x2e5)](_0x4ed762[_0x5c54cf(0x1e7)])||this[_0x5c54cf(0x1df)][this[_0x5c54cf(0x1cb)]]||null,_0x281fca=process[_0x5c54cf(0x356)][_0x5c54cf(0x322)]||'',_0x27c9cc=this[_0x5c54cf(0x213)](_0x4ed762[_0x5c54cf(0x35f)],_0x382d95,_0xddeeed,_0x281fca);_0x103cef=_0x499431['mergeObject'](_0x27c9cc,_0x50dd83),logger[_0x5c54cf(0x27a)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON[_0x5c54cf(0x23a)](_0x103cef));}catch(_0x16ff77){return logger[_0x5c54cf(0x1c9)](_0x5c54cf(0x342)+_0x16ff77[_0x5c54cf(0x32e)]),{};}}else{_0x382d95=this[_0x5c54cf(0x2e5)](_0x4ed762['hfzDe'])||'';!_0x382d95&&this[_0x5c54cf(0x362)]()&&(_0x382d95=accessibilityHelper['resolveMobileThTestRunUuid']());const _0x596786=this['getCapabilityValue'](_0x4ed762[_0x5c54cf(0x1e7)])||this['accessibilityConfig'][this[_0x5c54cf(0x1cb)]]||null,_0x4932a2=process[_0x5c54cf(0x356)][_0x5c54cf(0x322)]||'';_0x103cef=this[_0x5c54cf(0x213)](_0x4ed762[_0x5c54cf(0x35f)],_0x382d95,_0x596786,_0x4932a2);}logger[_0x5c54cf(0x27a)](_0x4ed762['qWxJt']),await PerformanceTester[_0x5c54cf(0x1aa)](PerformanceA11yEvents[_0x5c54cf(0x2eb)],async()=>{const _0x474b55=_0x5c54cf,_0x41a74c=await this[_0x474b55(0x205)](_0x1d9f57,_0x4ed762['wyfzO'],_0x103cef);logger[_0x474b55(0x27a)]('Scan\x20result:\x20'+util[_0x474b55(0x350)](_0x41a74c));},{'command':_0x4ed762['wjviu']})();const _0x48caff=await PerformanceTester[_0x5c54cf(0x1aa)](PerformanceA11yEvents[_0x5c54cf(0x278)],async()=>{const _0x5ac1d4=_0x5c54cf;return await this['executeScriptByName'](_0x1d9f57,_0x4ed762[_0x5ac1d4(0x239)],_0x103cef);})();if(!_0x48caff)return logger[_0x5c54cf(0x27a)](_0x4ed762[_0x5c54cf(0x2a6)]),{};return _0x48caff;}catch(_0x3cb09a){return logger['error'](_0x5c54cf(0x19b)+(_0x3cb09a['stack']||_0x3cb09a[_0x5c54cf(0x32e)])),{};}}async[a90_0x53144d(0x375)](_0x9a9911,_0xefce89,_0xb22c75=null){const _0x29b1a5=a90_0x53144d,_0x47148a={};_0x47148a[_0x29b1a5(0x2c1)]='performPageScan:\x20Page\x20is\x20null',_0x47148a[_0x29b1a5(0x2fa)]=_0x29b1a5(0x22a),_0x47148a[_0x29b1a5(0x34c)]=_0x29b1a5(0x314);const _0x5ec789=_0x47148a;try{if(!_0x9a9911)return logger[_0x29b1a5(0x27a)](_0x5ec789[_0x29b1a5(0x2c1)]),null;if(!_0xefce89)return logger[_0x29b1a5(0x27a)](_0x5ec789[_0x29b1a5(0x2fa)]),null;logger[_0x29b1a5(0x27a)](_0x5ec789['VvEVR']);const _0x32b33a=_0xb22c75?await _0x9a9911[_0x29b1a5(0x290)](_0xefce89,_0xb22c75):await _0x9a9911[_0x29b1a5(0x290)](_0xefce89);return _0x32b33a;}catch(_0x14dd9d){return logger[_0x29b1a5(0x1c9)](_0x29b1a5(0x1a7)+(_0x14dd9d[_0x29b1a5(0x2e7)]||_0x14dd9d[_0x29b1a5(0x32e)])),null;}}static['loadDriverExecuteParams'](_0x35e7c7,_0x2dd4d2){const _0x974134=a90_0x53144d,_0x5b7ba2={};_0x5b7ba2[_0x974134(0x24f)]=_0x974134(0x2df);const _0xda18e3=_0x5b7ba2,_0x236677={};_0x236677[_0x974134(0x2b2)]=_0x35e7c7;const _0x304319=_0x236677;let _0x3b9caf={};if(_0x2dd4d2[_0x974134(0x269)]()&&_0x2dd4d2[_0x974134(0x226)]())try{_0x3b9caf=JSON[_0x974134(0x30a)](new Buffer(_0x2dd4d2['getAccessibilityExecuteParams']())[_0x974134(0x195)](_0xda18e3[_0x974134(0x24f)]));}catch(_0x1ee014){logger[_0x974134(0x1c9)](_0x974134(0x33c)+_0x1ee014[_0x974134(0x32e)]),_0x3b9caf={};}return CLIUtils[_0x974134(0x2d3)](_0x304319,_0x3b9caf);}static async[a90_0x53144d(0x1ac)](_0x63e00a,_0x5cf60d='',_0x35e3a3=null){const _0x9d7ea5=a90_0x53144d,_0x2b0ba0={};_0x2b0ba0[_0x9d7ea5(0x303)]=_0x9d7ea5(0x32b),_0x2b0ba0['vkwvD']='accessibility';const _0x23b6a7=_0x2b0ba0;try{if(!_0x35e3a3&&AccessibilityModule[_0x9d7ea5(0x277)])return AccessibilityModule['_centralAuthA11yConfig'];if(!process[_0x9d7ea5(0x356)][_0x9d7ea5(0x1f2)])return logger['error'](_0x23b6a7[_0x9d7ea5(0x303)]),{};const _0x76f1d=await GrpcClient[_0x9d7ea5(0x355)]()['fetchDriverExecuteParamsEvent'](process['env'][_0x9d7ea5(0x1f2)],_0x23b6a7['vkwvD'],_0x63e00a,_0x35e3a3),_0x2c8d0b=_0x35e3a3?AccessibilityModule[_0x9d7ea5(0x19c)](null,_0x76f1d)?.['thTestRunUuid']||_0x5cf60d:_0x5cf60d,_0x14f00a=AccessibilityModule[_0x9d7ea5(0x19c)](_0x2c8d0b,_0x76f1d);return!_0x35e3a3&&(AccessibilityModule[_0x9d7ea5(0x377)]=_0x14f00a,AccessibilityModule[_0x9d7ea5(0x277)]=!![]),_0x14f00a;}catch(_0x25100e){return logger[_0x9d7ea5(0x1c9)](_0x9d7ea5(0x34e)+_0x63e00a+':\x20'+(_0x25100e[_0x9d7ea5(0x2e7)]||_0x25100e['message'])),{};}}};function a90_0x4020(_0x546bbf,_0x31fe32){const _0x3fd928=a90_0x3fd9();return a90_0x4020=function(_0x402092,_0x2b3271){_0x402092=_0x402092-0x194;let _0x3f1442=_0x3fd928[_0x402092];return _0x3f1442;},a90_0x4020(_0x546bbf,_0x31fe32);}module[a90_0x53144d(0x347)]=AccessibilityModule;function a90_0x3fd9(){const _0x5d67d1=['onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','hdIYj','SAVE_RESULTS','getAccessibilityConfig','eaklv','../../../helpers/classLogger','patchSendMessageToServer','present','jdiJZ','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','gwchp','true','./baseModule','stopTestCapture:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','browser','../../../helpers/accessibility-automation/scripts','KEY_TEST_NAME','PUyOc','options','../../../helpers/accessibility-automation/constants','accessibility','AEuvb','KEY_INIT','Cxcnm','function','yyBnx','lshbQ','getSuccess','krmnc','isMobilePlatform','android','isEnabledTestcase','NON_BROWSERSTACK_AUTOMATION_SESSIONS','pbgkp','getBrowserDisplayName','qiEHV','DVQGr','../framework/constants/testFrameworkConstants.js','bjeyo','browserstack.accessibilityOptions.scannerVersion','setAccessibilityConfig','_centralAuthConfigFetched','GET_RESULTS_SUMMARY',',\x20\x0a\x20','debug','HFTHz','platformName','warn','wAIDk','Context','value','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','jvaVZ','aONQt','set','BwMAm','ciXYI','getTestDetails','JFkTk','getPlatformIndex','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','isPlatformSupported:\x20caps\x20are\x20null','wVcJq','getValue','zwZwn','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','evaluate','loadAccessibilityConfig','Error\x20in\x20performScanForCli\x20for\x20script\x20','browserVersion','23783990LisiJV','mmisP','hfDrx','Exception\x20in\x20isPlatformSupported:\x20','info','VHFzu','PeIdh','Performing\x20scan\x20before\x20from\x20cli','keys','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','chrome','getAccessibility','EYULe','parseFromProto','gOSKd','iVpZt',']\x20Accessibility\x20configuration\x20initialized\x20successfully','qVNVh','MgxSB','saveResults','sIxiY','aOKjU','BS_A11Y_JWT','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','afterTestHook','PrGji','qbBVl','--headless=','isArray','thTestRunUuid','CZfam','Error\x20getting\x20capability\x20value\x20for\x20','ohjvb','setShouldScanCurrentTest','version','includeTagsInTestingScope','isAccessibilityScriptCommand','GtQbp','requiresChromeOptionsValidation','getModuleName','instance','ZgIzT','1314951plFrdD','browserstack.accessibilityOptions.scannerProcessingTimeout','zKAWt','IngPv','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','onAfterTest','ACCESSIBILITY_INITIALIZED','getCapabilitiesList','TrackedInstance','Error\x20applying\x20sendMessageToServer\x20patch:\x20','TXpHg','_sendMessageServerPatchApplied','size','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','platformCaps','__jestCurrentTestIdentifier','EWUoT','[platform\x20-\x20','nJETD','get','mergeObject','GdnXq','../../../helpers/performance/constants.js','scan','yYRCN','PDDJu','AUTOMATION_SESSIONS','BvGJi','ZoDaU','cmEJe',',\x20isAppAccessibility=','capabilitiesList','ascii','UPxvZ','pOVBc','dYNIZ','../../../helpers/accessibility-automation/helper','../cliUtils','getCapabilityValue','isPlatformSupported','stack','QcZQA','XvwBX','PRE','PERFORM_SCAN','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','\x20value=','isMobileWebSession:\x20error\x20checking\x20driver\x20caps:\x20','QYfXI',',\x20framework=','tMhmG','xrRhS','\x20from\x20testIdentifier=','JjZZx','currentTest','getAllData','isEnabled','test_run_id','BMEFn','buDXy','LOG_DISABLED_SHOWN','aeCWk','No\x20summaryResults\x20found.','vDwFf','assign','qeCGr','shouldScanForCommand','end','szytC','OGpCv','page','lpIHL','Accessibility\x20data\x20for\x20extension:\x20','TEST_INIT','\x20script\x20available','parse','gwjqe','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',']\x20isEnabledTestcase\x20(cucumber)\x20result=','KFFSL','map','executeScriptByName:\x20No\x20','platformValidation','../TestInfo.js','424xZDjTa','Executing\x20accessibility\x20script\x20on\x20page','qJgLM','getTrackedInstance','has','__accessibilityOptions','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','browserstack_executor','MODULE_NAME','setAccessibilityToken','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','getGoogleChromeOptions','onBeforeExecute:\x20No\x20command\x20name\x20provided','scannerVersion','goog:chromeOptions','BROWSERSTACK_TESTHUB_JWT','getTesthub','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','--headless','join','NlaZQ','qzAoS','3012IBfVhn','mxEFc','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','getCurrentAccessibilityStatus','aQbvt','message','skipCDPConnectOverride','browser_version','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','zHgpf','string','headless','pwPage','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','ocZen','getName','lflLK','txDmb','../framework/testFramework','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','getData','vrAuX','\x22browserstack.key\x22:\x22[REDACTED]\x22','ORBhg','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','pROeu',',\x20includeTags=','gAoui','SDPCo','exports','../../../helpers/helper','DRIVER_HAS_URL','jgjdg','SDK_ACCESSIBILITY_CONFIG','VvEVR',',\x20available\x20commands:\x20','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','36900KVNEmA','format','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','ARMEF','vVPbq','ZRbxd','getInstance','env','testInfo','resolveMobileThTestRunUuid','browserStackEvaluate','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','wcagVersion','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','updateData','getOptions','wjviu','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','Performing\x20scan\x20before\x20getting\x20results\x20summary','isMobileWebSession','wanOb','Executing\x20','startsWith','getTestId','JZpRT','shouldScanForCommand:\x20','getLogDisabledShown','AjpAO','YFOzN',']\x20isEnabledTestcase\x20(jest)\x20result=','stopTestCapture','getCommandsToWrap','286489ZhOjLp','commandsToWrap','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','\x20result\x20for\x20','eGKsj','performPageScan','performScanForCli','_centralAuthA11yConfig','getParamsForScanForCli:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','dqCRM','split','replace','isMobileScanningEnabledForGroup','args','SkpaV','GUiwO','OLQdU','toString','getScript','excludeTagsInTestingScope','parseA11yJwtPayload','tIQcP','isBrowserSupportedForAccessibility','Error\x20in\x20getAccessibilityResultsSummary:\x20','loadDriverExecuteParams','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../playwright/accessibility-helper','rodVt','Processed\x20accessibility\x20caps\x20','ROvEb','getState','pKrVg','toLowerCase','JYGJb','Error\x20in\x20performPageScan:\x20','getContext','getBuildId','measureWrapper','isVersionSupported','fetchCentralAuthA11yConfig','PEgfY','cMMky','nXzNI','fggve','Error\x20in\x20initAccessibilityConfig:\x20','null','jJfOz','some','../state/hookState','getScriptByName','PCDOJ','_mobileScanningDisabledLogged','4428753OVGnRq',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','finishScanningForCli','testFramework','jest','IRISQ','capabilities','uOZHi','ScanArgs:\x20','928176UgYJOI','mFUdq','bind','nQtEY','kIalK','hMCEX',']\x20clear\x20','error','JAVuX','KEY_TESTHUB_BUILD_ID','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','mLsDS','testFrameworkData','accessibilityPlatform','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','jyTIV','pYzDb','test_tags','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','saveTestResults','MOBILE_SCANNING_DISABLED_WARNING','VxOtt','DbvuR','find','getResults','delete','isAppAccessibility',']\x20onAfterTest\x20should\x20scan=','DRIVER_INIT','accessibilityConfig','RZRRF','launchCaps','RTFVX','AuoCL','__workerDetails','aeqFx','scannerProcessingTimeout','jsTpm','ZGLXI','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','yqSRb','name:\x20','registerObserver','getCurrentInstanceName','onBeforeTest','cucumber','testhub_build_uuid','gnPJW','BROWSERSTACK_CLI_BIN_SESSION_ID','cgves','is_mobile_session','processAccessibilityCaps','\x20script\x20available\x20in\x20scriptsList','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','QsJLg','mrXVj','LobVZ','Tdkld','PIert','YLyxK','VpxYR','fetchDriverExecuteParamsEvent','YTlXV','VzknL','name','RATNe',',\x20excludeTags=','executeScriptByName','AJmCE','performScanForCli:\x20No\x20','EnTwe','titlePath','dMGPf','toISOString','includes','test-tags-->\x20','lmOOJ','pGmMu','JqMoD','MergedScanArgs:\x20','eAZci','getParamsForScanForCli','kUDYP','Page\x20','commandName','Error\x20in\x20validatePlatformForAccessibility:\x20','xIvXD','OdNBp','BMnVh','CREATE','\x20a11yToken=','Error\x20in\x20processAccessibilityCaps:\x20','Error\x20in\x20getAccessibilityResults:\x20','Unknown\x20Test','4NdWMzd','length','aIdbb','tnlGI','BAzxY','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','hasAccessibilityExecuteParams','eIPEH','ZrvSh','POST','performPageScan:\x20Script\x20is\x20null','VZzIv','../../../helpers/performance/performance-tester.js','[AccessibilityModule]\x20isMobileScanningEnabledForGroup\x20cap\x20received:\x20raw=','performScan','getAccessibilityResultsSummary',',\x20tags=','EXECUTE','unknown','\x20browser\x20version\x20','znjaQ','a11y:save-results','JJEaQ','MnrjZ','\x20testHubUuid=','usSDI','stringify','RAuMu','command','isBrowserstackScriptCommand','toJson','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','EqDAO','2085kWjzqI','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','testAnalyticsId','WWCaL','NphZm','\x20accessibility\x20script\x20on\x20page','JvvAU',',\x20testName=','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','MWCoB','\x20or\x20higher\x20','applySendMessageToServerPatch','chromeOptions'];a90_0x3fd9=function(){return _0x5d67d1;};return a90_0x3fd9();}
@@ -1 +1 @@
1
- const a91_0x446fe3=a91_0x47e5;(function(_0x16b3f8,_0xe5ef52){const _0x118313=a91_0x47e5,_0x12a728=_0x16b3f8();while(!![]){try{const _0x40fbdb=-parseInt(_0x118313(0x91))/0x1+-parseInt(_0x118313(0xb1))/0x2+-parseInt(_0x118313(0xad))/0x3+-parseInt(_0x118313(0xa7))/0x4+-parseInt(_0x118313(0xac))/0x5+-parseInt(_0x118313(0xb6))/0x6*(parseInt(_0x118313(0x97))/0x7)+parseInt(_0x118313(0x93))/0x8*(parseInt(_0x118313(0xb5))/0x9);if(_0x40fbdb===_0xe5ef52)break;else _0x12a728['push'](_0x12a728['shift']());}catch(_0x4bdb9e){_0x12a728['push'](_0x12a728['shift']());}}}(a91_0x1af6,0xd4946));function a91_0x1af6(){const _0x3c8112=['0|3|4|2|1','5208QnEtaW','testFrameworkData','getTestId','../../../helpers/test-observability/constants.js','3405619koAioQ','testInfo','version','bqdtB','getModuleName','object','exports','AWSRI','split','testCaseStartedId','Missing\x20binSessionId','VJcPN','SDpGi','config','PLAYWRIGHT','_test','6253300aPfnLE','testId','debug','name','\x20with\x20binSessionId=','2437415nZkIKP','2027976qIxWgh','BaseModule','CUCUMBER','setTestFrameworkData','2736432YQPEMr','testFramework','client','JEUGz','102726RzPAMm','18ngQkPE','ensureBinSession','qpiyZ','platformIndex','uyZXj','HOnKs','JEST','UFtxo','binSessionId','Configured\x20module\x20','1005221SVaEUV'];a91_0x1af6=function(){return _0x3c8112;};return a91_0x1af6();}const logger=require('../../../helpers/logger.js')['winstonLogger'],{FRAMEWORKS}=require(a91_0x446fe3(0x96));function a91_0x47e5(_0x14db9d,_0x57fe82){const _0x1af654=a91_0x1af6();return a91_0x47e5=function(_0x47e554,_0x471ba2){_0x47e554=_0x47e554-0x8c;let _0x2f0ee3=_0x1af654[_0x47e554];return _0x2f0ee3;},a91_0x47e5(_0x14db9d,_0x57fe82);}class BaseModule{constructor(_0x42431b=null){const _0x196ced=a91_0x446fe3,_0x2364ea={};_0x2364ea[_0x196ced(0x9e)]='3|4|2|0|1|5',_0x2364ea[_0x196ced(0xba)]=_0x196ced(0xae);const _0x3b79f8=_0x2364ea,_0x230886=_0x3b79f8[_0x196ced(0x9e)][_0x196ced(0x9f)]('|');let _0x59f614=0x0;while(!![]){switch(_0x230886[_0x59f614++]){case'0':this[_0x196ced(0xa4)]={};continue;case'1':this[_0x196ced(0xb3)]=null;continue;case'2':this[_0x196ced(0xb9)]=0x0;continue;case'3':this[_0x196ced(0xaa)]=_0x3b79f8[_0x196ced(0xba)];continue;case'4':this[_0x196ced(0x8f)]=null;continue;case'5':this[_0x196ced(0x94)]=this['setTestFrameworkData'](_0x42431b);continue;}break;}}[a91_0x446fe3(0xb7)](){const _0x1f5d9e=a91_0x446fe3,_0x240697={};_0x240697[_0x1f5d9e(0x9a)]=_0x1f5d9e(0xa1);const _0x55e11c=_0x240697;if(!this[_0x1f5d9e(0x8f)])throw new Error(_0x55e11c[_0x1f5d9e(0x9a)]);}[a91_0x446fe3(0x9b)](){return this['name'];}['configure'](_0x246a85,_0x1b4180,_0x3fc28d,_0x2ea18d={}){const _0x26db72=a91_0x446fe3,_0x55e8a6={};_0x55e8a6[_0x26db72(0xb4)]=_0x26db72(0x92);const _0x4993fa=_0x55e8a6,_0x56fb1d=_0x4993fa[_0x26db72(0xb4)]['split']('|');let _0x117f87=0x0;while(!![]){switch(_0x56fb1d[_0x117f87++]){case'0':this[_0x26db72(0x8f)]=_0x246a85;continue;case'1':logger[_0x26db72(0xa9)](_0x26db72(0x90)+this[_0x26db72(0x9b)]()+_0x26db72(0xab)+_0x246a85+',\x20platformIndex='+_0x1b4180);continue;case'2':this[_0x26db72(0xa4)]=_0x2ea18d;continue;case'3':this[_0x26db72(0xb9)]=_0x1b4180;continue;case'4':this[_0x26db72(0xb3)]=_0x3fc28d;continue;}break;}}[a91_0x446fe3(0x95)](_0x22e50e){const _0x2440aa=a91_0x446fe3,_0x12860b={};_0x12860b[_0x2440aa(0xa3)]=function(_0x536ef2,_0x18cfd1){return _0x536ef2===_0x18cfd1;},_0x12860b[_0x2440aa(0xb8)]=function(_0x58182c,_0x21300a){return _0x58182c===_0x21300a;},_0x12860b[_0x2440aa(0x8c)]=function(_0x4bb707,_0x12383e){return _0x4bb707===_0x12383e;};const _0x3fce1d=_0x12860b;let _0x9c4036='';if(_0x3fce1d[_0x2440aa(0xa3)](_0x22e50e[_0x2440aa(0xb2)],FRAMEWORKS[_0x2440aa(0xa5)]))_0x9c4036=_0x22e50e[_0x2440aa(0x98)]?.[_0x2440aa(0xa6)]?.['id']||_0x22e50e['testInfo']?.[_0x2440aa(0xa8)];else{if(_0x3fce1d[_0x2440aa(0xb8)](_0x22e50e[_0x2440aa(0xb2)],FRAMEWORKS[_0x2440aa(0xaf)]))_0x9c4036=_0x22e50e['testInfo']?.[_0x2440aa(0xa0)];else _0x3fce1d['HOnKs'](_0x22e50e[_0x2440aa(0xb2)],FRAMEWORKS[_0x2440aa(0x8d)])&&(_0x9c4036=_0x22e50e[_0x2440aa(0x98)]?.['id']);}return _0x9c4036;}[a91_0x446fe3(0xb0)](_0x13864a){const _0x4cc60d=a91_0x446fe3,_0x4da2b7={};_0x4da2b7[_0x4cc60d(0xa2)]=function(_0xc81c7b,_0x4d796b){return _0xc81c7b!==_0x4d796b;},_0x4da2b7[_0x4cc60d(0x8e)]=_0x4cc60d(0x9c);const _0x59a2ac=_0x4da2b7;if(!_0x13864a||_0x59a2ac['VJcPN'](typeof _0x13864a,_0x59a2ac[_0x4cc60d(0x8e)]))return null;const _0x4dc5dc={};_0x4dc5dc[_0x4cc60d(0xaa)]=_0x13864a[_0x4cc60d(0xaa)],_0x4dc5dc['version']=_0x13864a[_0x4cc60d(0x99)]&&_0x13864a[_0x4cc60d(0x99)][_0x13864a['name']];const _0x32a00a=_0x4dc5dc;return _0x32a00a;}}module[a91_0x446fe3(0x9d)]=BaseModule;
1
+ const a91_0x2adcb2=a91_0x175b;(function(_0x3b7462,_0x3fc2b0){const _0x4e968f=a91_0x175b,_0x134969=_0x3b7462();while(!![]){try{const _0x27ae0a=-parseInt(_0x4e968f(0x17f))/0x1+-parseInt(_0x4e968f(0x18a))/0x2+-parseInt(_0x4e968f(0x19f))/0x3+-parseInt(_0x4e968f(0x18b))/0x4+-parseInt(_0x4e968f(0x187))/0x5*(parseInt(_0x4e968f(0x198))/0x6)+-parseInt(_0x4e968f(0x193))/0x7*(-parseInt(_0x4e968f(0x1ad))/0x8)+parseInt(_0x4e968f(0x1ab))/0x9;if(_0x27ae0a===_0x3fc2b0)break;else _0x134969['push'](_0x134969['shift']());}catch(_0x288945){_0x134969['push'](_0x134969['shift']());}}}(a91_0x3538,0xbe259));function a91_0x3538(){const _0x1f5d35=['getTestId','0|1|5|3|2|4','tsxwg','1401852vINfdB','winstonLogger','Configured\x20module\x20','testFrameworkData','split','VEXXt','\x20with\x20binSessionId=','config','testCaseStartedId','platformIndex','FKRMy','BaseModule','40905117DKxjar','qcpcr','8SHNgfb','configure','51158hKJFZb','4|1|0|2|3','TXkqy','xIWMO','mPXuP','Missing\x20binSessionId','YqRSl','client','3095wmTTDu','CUCUMBER','testId','2708818nydIAr','5470540wCCuOD','../../../helpers/test-observability/constants.js','PLAYWRIGHT','version',',\x20platformIndex=','binSessionId','testFramework','ugPlr','5666479rvPqxa','name','getModuleName','debug','testInfo','12942gzobDI','ensureBinSession','setTestFrameworkData','exports'];a91_0x3538=function(){return _0x1f5d35;};return a91_0x3538();}const logger=require('../../../helpers/logger.js')[a91_0x2adcb2(0x1a0)],{FRAMEWORKS}=require(a91_0x2adcb2(0x18c));class BaseModule{constructor(_0x426ad9=null){const _0x1ff21a=a91_0x2adcb2,_0x5ab731={};_0x5ab731[_0x1ff21a(0x185)]=_0x1ff21a(0x19d),_0x5ab731[_0x1ff21a(0x182)]=_0x1ff21a(0x1aa);const _0x548346=_0x5ab731,_0x4a1091=_0x548346['YqRSl'][_0x1ff21a(0x1a3)]('|');let _0x178167=0x0;while(!![]){switch(_0x4a1091[_0x178167++]){case'0':this[_0x1ff21a(0x194)]=_0x548346[_0x1ff21a(0x182)];continue;case'1':this[_0x1ff21a(0x190)]=null;continue;case'2':this['client']=null;continue;case'3':this[_0x1ff21a(0x1a6)]={};continue;case'4':this[_0x1ff21a(0x1a2)]=this[_0x1ff21a(0x19a)](_0x426ad9);continue;case'5':this[_0x1ff21a(0x1a8)]=0x0;continue;}break;}}[a91_0x2adcb2(0x199)](){const _0x4fc16f=a91_0x2adcb2,_0x2b1ab5={};_0x2b1ab5[_0x4fc16f(0x1ac)]=_0x4fc16f(0x184);const _0x1b8c8c=_0x2b1ab5;if(!this[_0x4fc16f(0x190)])throw new Error(_0x1b8c8c['qcpcr']);}[a91_0x2adcb2(0x195)](){const _0xdf5636=a91_0x2adcb2;return this[_0xdf5636(0x194)];}[a91_0x2adcb2(0x1ae)](_0x4c927d,_0x23cee3,_0x5b53d2,_0x437a16={}){const _0x45c3ec=a91_0x2adcb2,_0x11a52a={};_0x11a52a[_0x45c3ec(0x1a4)]=_0x45c3ec(0x180);const _0x2bd524=_0x11a52a,_0x3a90c6=_0x2bd524[_0x45c3ec(0x1a4)][_0x45c3ec(0x1a3)]('|');let _0x4b94aa=0x0;while(!![]){switch(_0x3a90c6[_0x4b94aa++]){case'0':this[_0x45c3ec(0x186)]=_0x5b53d2;continue;case'1':this['platformIndex']=_0x23cee3;continue;case'2':this[_0x45c3ec(0x1a6)]=_0x437a16;continue;case'3':logger[_0x45c3ec(0x196)](_0x45c3ec(0x1a1)+this[_0x45c3ec(0x195)]()+_0x45c3ec(0x1a5)+_0x4c927d+_0x45c3ec(0x18f)+_0x23cee3);continue;case'4':this[_0x45c3ec(0x190)]=_0x4c927d;continue;}break;}}[a91_0x2adcb2(0x19c)](_0x28cd1f){const _0x225973=a91_0x2adcb2,_0x9cf255={};_0x9cf255[_0x225973(0x19e)]=function(_0x23547b,_0x47c019){return _0x23547b===_0x47c019;},_0x9cf255[_0x225973(0x181)]=function(_0x37db86,_0x4f5721){return _0x37db86===_0x4f5721;},_0x9cf255[_0x225973(0x183)]=function(_0x4ea23d,_0x37c774){return _0x4ea23d===_0x37c774;};const _0x227d8e=_0x9cf255;let _0x2e3dc8='';if(_0x227d8e['tsxwg'](_0x28cd1f['testFramework'],FRAMEWORKS[_0x225973(0x18d)]))_0x2e3dc8=_0x28cd1f[_0x225973(0x197)]?.['_test']?.['id']||_0x28cd1f['testInfo']?.[_0x225973(0x189)];else{if(_0x227d8e[_0x225973(0x181)](_0x28cd1f[_0x225973(0x191)],FRAMEWORKS[_0x225973(0x188)]))_0x2e3dc8=_0x28cd1f[_0x225973(0x197)]?.[_0x225973(0x1a7)];else _0x227d8e[_0x225973(0x183)](_0x28cd1f[_0x225973(0x191)],FRAMEWORKS['JEST'])&&(_0x2e3dc8=_0x28cd1f[_0x225973(0x197)]?.['id']);}return _0x2e3dc8;}['setTestFrameworkData'](_0x2b208b){const _0x259559=a91_0x2adcb2,_0x38e16c={};_0x38e16c['ugPlr']=function(_0xa95a3d,_0x532a2e){return _0xa95a3d!==_0x532a2e;},_0x38e16c[_0x259559(0x1a9)]='object';const _0xba6d09=_0x38e16c;if(!_0x2b208b||_0xba6d09[_0x259559(0x192)](typeof _0x2b208b,_0xba6d09[_0x259559(0x1a9)]))return null;const _0x7a586={};_0x7a586[_0x259559(0x194)]=_0x2b208b[_0x259559(0x194)],_0x7a586[_0x259559(0x18e)]=_0x2b208b['version']&&_0x2b208b[_0x259559(0x18e)][_0x2b208b[_0x259559(0x194)]];const _0x57338c=_0x7a586;return _0x57338c;}}function a91_0x175b(_0x121691,_0x332139){const _0x35388b=a91_0x3538();return a91_0x175b=function(_0x175b14,_0x343ef7){_0x175b14=_0x175b14-0x17f;let _0x100a35=_0x35388b[_0x175b14];return _0x100a35;},a91_0x175b(_0x121691,_0x332139);}module[a91_0x2adcb2(0x19b)]=BaseModule;
@@ -1 +1 @@
1
- const a92_0x3b2514=a92_0x560d;(function(_0x27e32a,_0x356040){const _0x5a1c10=a92_0x560d,_0x2afbd5=_0x27e32a();while(!![]){try{const _0x1a0089=-parseInt(_0x5a1c10(0xa8))/0x1*(-parseInt(_0x5a1c10(0x85))/0x2)+parseInt(_0x5a1c10(0xad))/0x3+-parseInt(_0x5a1c10(0xa3))/0x4+parseInt(_0x5a1c10(0x99))/0x5*(parseInt(_0x5a1c10(0x93))/0x6)+parseInt(_0x5a1c10(0x8b))/0x7+-parseInt(_0x5a1c10(0x8a))/0x8*(-parseInt(_0x5a1c10(0x95))/0x9)+-parseInt(_0x5a1c10(0x82))/0xa;if(_0x1a0089===_0x356040)break;else _0x2afbd5['push'](_0x2afbd5['shift']());}catch(_0xa7c82f){_0x2afbd5['push'](_0x2afbd5['shift']());}}}(a92_0x2fca,0x90173));function a92_0x2fca(){const _0x930553=['LoadTestModule','tuneW','../../../helpers/helper.js','getLTSSessionId','../../../helpers/classLogger.js','FogiW','19288330dATGTX','toLowerCase','toString','6cTIugn','undefined','zuQkf','exports','tGHic','2291584AWEmrm','2597889vhuxmW','setLTSSessionId','false','string','env','isLTSSession','LTS','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','345522OejGLo','BROWSERSTACK_LTS_SESSION_ID','27pxTVOV','fLYPp','overrideLoadTesting','nELCh','10bnsqWF','VcIsk','setLTSSessionId\x20error:\x20','vVurP','true','QQzQj','ZZLai','kHqnl','debug','HCySw','347220jtcNRB','dzObO','BROWSERSTACK_LTS_SESSION_ID\x20cleared','MsMVK','browserstackAutomation','58999aITlda','fWTUm','message','tcjwD','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','3249573MUsbeA'];a92_0x2fca=function(){return _0x930553;};return a92_0x2fca();}const {createClassLogger}=require(a92_0x3b2514(0xb2)),logger=createClassLogger(a92_0x3b2514(0xae)),{sendSdkEvents}=require(a92_0x3b2514(0xb0)),isLTSSession=(_0x367ee1=null)=>{const _0x5ec773=a92_0x3b2514,_0xb58dfc={};_0xb58dfc[_0x5ec773(0x98)]=function(_0x407043,_0x141392){return _0x407043!==_0x141392;},_0xb58dfc[_0x5ec773(0x96)]=_0x5ec773(0x86),_0xb58dfc['PQtGB']=function(_0x5c1dc9,_0x3621bd){return _0x5c1dc9===_0x3621bd;},_0xb58dfc[_0x5ec773(0x9a)]=_0x5ec773(0x8e),_0xb58dfc[_0x5ec773(0xa6)]=function(_0x6ae2a0,_0x5534d1){return _0x6ae2a0===_0x5534d1;},_0xb58dfc[_0x5ec773(0x87)]=_0x5ec773(0x9d),_0xb58dfc[_0x5ec773(0x9c)]=function(_0x49e508,_0x1f17b6){return _0x49e508===_0x1f17b6;},_0xb58dfc['QQzQj']=function(_0x5f5d70,_0x4c576e){return _0x5f5d70===_0x4c576e;},_0xb58dfc[_0x5ec773(0xa2)]=function(_0x143e93,_0x3592f9){return _0x143e93===_0x3592f9;},_0xb58dfc[_0x5ec773(0xa4)]=_0x5ec773(0x8d);const _0x45418b=_0xb58dfc;try{if(_0x45418b[_0x5ec773(0x98)](typeof process[_0x5ec773(0x8f)][_0x5ec773(0x97)],_0x45418b[_0x5ec773(0x96)])){const _0x4eeb3c=process[_0x5ec773(0x8f)][_0x5ec773(0x97)];return _0x45418b['PQtGB'](typeof _0x4eeb3c,_0x45418b[_0x5ec773(0x9a)])?_0x45418b[_0x5ec773(0xa6)](_0x4eeb3c['toLowerCase'](),_0x45418b['zuQkf']):!!_0x4eeb3c;}const _0x40da56=_0x367ee1&&_0x367ee1[_0x5ec773(0x97)],_0x156ab0=!!(_0x367ee1&&(_0x45418b[_0x5ec773(0x9c)](_0x367ee1[_0x5ec773(0xa7)],!![])||_0x45418b[_0x5ec773(0x9e)](_0x367ee1[_0x5ec773(0xa7)],_0x45418b[_0x5ec773(0x87)]))),_0x5a7244=!!(_0x40da56&&_0x45418b['HCySw'](_0x40da56[_0x5ec773(0x84)]()[_0x5ec773(0x83)](),_0x45418b[_0x5ec773(0x87)])&&!_0x156ab0);return process[_0x5ec773(0x8f)][_0x5ec773(0x97)]=_0x5a7244?_0x45418b[_0x5ec773(0x87)]:_0x45418b[_0x5ec773(0xa4)],_0x5a7244;}catch(_0x3eb696){return process[_0x5ec773(0x8f)][_0x5ec773(0x97)]=_0x45418b[_0x5ec773(0xa4)],![];}},getLTSSessionId=()=>{const _0x35aed5=a92_0x3b2514,_0x4f5973={'nDLwR':function(_0x20ac72){return _0x20ac72();},'kHqnl':'LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','tGHic':'LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id'};try{if(_0x4f5973['nDLwR'](isLTSSession))return logger[_0x35aed5(0xa1)](_0x4f5973[_0x35aed5(0xa0)]),process['env'][_0x35aed5(0x94)]||'';}catch(_0x10462c){logger['error'](_0x35aed5(0xac)+(_0x10462c&&_0x10462c[_0x35aed5(0xaa)]));}return logger['debug'](_0x4f5973[_0x35aed5(0x89)]),'';},setLTSSessionId=async(_0xcc2845={})=>{const _0x522ce6=a92_0x3b2514,_0x322848={'fWTUm':function(_0xf207cb){return _0xf207cb();},'auPRS':_0x522ce6(0x92),'FogiW':_0x522ce6(0xa5),'ZZLai':_0x522ce6(0x91),'tcjwD':function(_0x4435b6,_0x454b2a){return _0x4435b6(_0x454b2a);},'eGHfO':function(_0x98e012,_0x544aea,_0x33161d){return _0x98e012(_0x544aea,_0x33161d);},'tuneW':function(_0x23123f,_0x1c364e){return _0x23123f||_0x1c364e;}};try{const _0x2d7f90=_0x322848[_0x522ce6(0xa9)](getLTSSessionId);_0x2d7f90?(process[_0x522ce6(0x8f)][_0x522ce6(0x94)]=_0x2d7f90,logger[_0x522ce6(0xa1)](_0x322848['auPRS'])):(delete process[_0x522ce6(0x8f)][_0x522ce6(0x94)],logger['debug'](_0x322848[_0x522ce6(0xb3)]));try{const _0x1f99fc={'feature':_0x322848[_0x522ce6(0x9f)],'ltsEnabled':_0x322848[_0x522ce6(0xab)](isLTSSession,_0xcc2845),'ltsSessionIdPresent':!!_0x2d7f90};await _0x322848['eGHfO'](sendSdkEvents,_0x1f99fc,_0xcc2845);}catch(_0x12eebf){logger[_0x522ce6(0xa1)]('Failed\x20to\x20record\x20LTS\x20telemetry:\x20'+(_0x12eebf&&_0x12eebf['message']));}return _0x322848[_0x522ce6(0xaf)](_0x2d7f90,'');}catch(_0x4a40c4){return logger[_0x522ce6(0xa1)](_0x522ce6(0x9b)+(_0x4a40c4&&_0x4a40c4[_0x522ce6(0xaa)])),'';}},a92_0x533578={};function a92_0x560d(_0x5f20fb,_0x1cfaa6){const _0x2fcab0=a92_0x2fca();return a92_0x560d=function(_0x560d8b,_0x28176f){_0x560d8b=_0x560d8b-0x82;let _0x226379=_0x2fcab0[_0x560d8b];return _0x226379;},a92_0x560d(_0x5f20fb,_0x1cfaa6);}a92_0x533578[a92_0x3b2514(0x90)]=isLTSSession,a92_0x533578[a92_0x3b2514(0xb1)]=getLTSSessionId,a92_0x533578[a92_0x3b2514(0x8c)]=setLTSSessionId,module[a92_0x3b2514(0x88)]=a92_0x533578;
1
+ const a92_0x3d0a2f=a92_0x35d6;function a92_0x8b9b(){const _0x2eb80f=['toString','ZbfQt','200NTFaQV','getLTSSessionId','IdXDp','BROWSERSTACK_LTS_SESSION_ID','undefined','browserstackAutomation','66552blhZqE','1532kAYusW','overrideLoadTesting','setLTSSessionId','2270RSwkAq','TcXPj','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','32049CNXBaz','BROWSERSTACK_LTS_SESSION_ID\x20cleared','1TcgNcp','MVhGG','615uFuknr','AjuWM','zeNUb','umjmI','615926UrvzqC','LoadTestModule','DeMNR','13215301ReGZJB','debug','BFLCc','IUpuX','315014ZUoyIa','ojfyB','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','env','../../../helpers/helper.js','exports','setLTSSessionId\x20error:\x20','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','LTS','27661212ZsYSHW','muSbP','message','4020inVjwj','string','../../../helpers/classLogger.js','true','COSve','toLowerCase'];a92_0x8b9b=function(){return _0x2eb80f;};return a92_0x8b9b();}function a92_0x35d6(_0x10cb99,_0x2474d4){const _0x8b9b99=a92_0x8b9b();return a92_0x35d6=function(_0x35d685,_0x285a0a){_0x35d685=_0x35d685-0x14d;let _0x302f55=_0x8b9b99[_0x35d685];return _0x302f55;},a92_0x35d6(_0x10cb99,_0x2474d4);}(function(_0x450ed9,_0x497a29){const _0x11cc04=a92_0x35d6,_0x101823=_0x450ed9();while(!![]){try{const _0x547e25=parseInt(_0x11cc04(0x17b))/0x1*(-parseInt(_0x11cc04(0x151))/0x2)+parseInt(_0x11cc04(0x164))/0x3*(parseInt(_0x11cc04(0x173))/0x4)+parseInt(_0x11cc04(0x14d))/0x5*(parseInt(_0x11cc04(0x172))/0x6)+parseInt(_0x11cc04(0x158))/0x7*(-parseInt(_0x11cc04(0x16c))/0x8)+-parseInt(_0x11cc04(0x179))/0x9*(parseInt(_0x11cc04(0x176))/0xa)+-parseInt(_0x11cc04(0x154))/0xb+parseInt(_0x11cc04(0x161))/0xc;if(_0x547e25===_0x497a29)break;else _0x101823['push'](_0x101823['shift']());}catch(_0x36c97f){_0x101823['push'](_0x101823['shift']());}}}(a92_0x8b9b,0xb4a2e));const {createClassLogger}=require(a92_0x3d0a2f(0x166)),logger=createClassLogger(a92_0x3d0a2f(0x152)),{sendSdkEvents}=require(a92_0x3d0a2f(0x15c)),isLTSSession=(_0x2ebba7=null)=>{const _0x49c5c7=a92_0x3d0a2f,_0x831621={};_0x831621[_0x49c5c7(0x168)]=function(_0x202647,_0x974bd9){return _0x202647!==_0x974bd9;},_0x831621[_0x49c5c7(0x14f)]=_0x49c5c7(0x170),_0x831621[_0x49c5c7(0x153)]=function(_0x1ccd51,_0x7ef127){return _0x1ccd51===_0x7ef127;},_0x831621[_0x49c5c7(0x16b)]=_0x49c5c7(0x165),_0x831621[_0x49c5c7(0x14e)]=function(_0x1ac981,_0x10e13e){return _0x1ac981===_0x10e13e;},_0x831621[_0x49c5c7(0x17c)]=_0x49c5c7(0x167),_0x831621[_0x49c5c7(0x162)]=function(_0x525ed9,_0x374742){return _0x525ed9===_0x374742;},_0x831621['IUpuX']='false';const _0x2db55f=_0x831621;try{if(_0x2db55f[_0x49c5c7(0x168)](typeof process[_0x49c5c7(0x15b)][_0x49c5c7(0x174)],_0x2db55f['zeNUb'])){const _0x44426c=process[_0x49c5c7(0x15b)][_0x49c5c7(0x174)];return _0x2db55f[_0x49c5c7(0x153)](typeof _0x44426c,_0x2db55f[_0x49c5c7(0x16b)])?_0x2db55f[_0x49c5c7(0x14e)](_0x44426c[_0x49c5c7(0x169)](),_0x2db55f[_0x49c5c7(0x17c)]):!!_0x44426c;}const _0x1d2ad3=_0x2ebba7&&_0x2ebba7[_0x49c5c7(0x174)],_0x1a8cf3=!!(_0x2ebba7&&(_0x2db55f[_0x49c5c7(0x153)](_0x2ebba7[_0x49c5c7(0x171)],!![])||_0x2db55f['muSbP'](_0x2ebba7[_0x49c5c7(0x171)],_0x2db55f[_0x49c5c7(0x17c)]))),_0x52a007=!!(_0x1d2ad3&&_0x2db55f[_0x49c5c7(0x14e)](_0x1d2ad3[_0x49c5c7(0x16a)]()[_0x49c5c7(0x169)](),_0x2db55f[_0x49c5c7(0x17c)])&&!_0x1a8cf3);return process[_0x49c5c7(0x15b)][_0x49c5c7(0x174)]=_0x52a007?_0x2db55f[_0x49c5c7(0x17c)]:_0x2db55f[_0x49c5c7(0x157)],_0x52a007;}catch(_0x5b260c){return process[_0x49c5c7(0x15b)][_0x49c5c7(0x174)]=_0x2db55f[_0x49c5c7(0x157)],![];}},getLTSSessionId=()=>{const _0x5b6a06=a92_0x3d0a2f,_0x468d4c={'BFLCc':function(_0x580a14){return _0x580a14();},'ppZqQ':_0x5b6a06(0x178),'NnEqy':'LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id'};try{if(_0x468d4c[_0x5b6a06(0x156)](isLTSSession))return logger['debug'](_0x468d4c['ppZqQ']),process['env'][_0x5b6a06(0x16f)]||'';}catch(_0x4a9370){logger['error']('Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20'+(_0x4a9370&&_0x4a9370[_0x5b6a06(0x163)]));}return logger[_0x5b6a06(0x155)](_0x468d4c['NnEqy']),'';},setLTSSessionId=async(_0x30a0ec={})=>{const _0x3361ac=a92_0x3d0a2f,_0xf190cb={'zNcVg':function(_0x2997eb){return _0x2997eb();},'umjmI':_0x3361ac(0x15a),'IdXDp':_0x3361ac(0x17a),'fKlae':_0x3361ac(0x160),'TcXPj':function(_0x1bec9e,_0x11bc8e){return _0x1bec9e(_0x11bc8e);},'eZzlx':function(_0x10cdb7,_0x3e5e5e,_0x22a75b){return _0x10cdb7(_0x3e5e5e,_0x22a75b);},'ojfyB':function(_0x24fae5,_0x261071){return _0x24fae5||_0x261071;}};try{const _0x5c85ee=_0xf190cb['zNcVg'](getLTSSessionId);_0x5c85ee?(process['env'][_0x3361ac(0x16f)]=_0x5c85ee,logger['debug'](_0xf190cb[_0x3361ac(0x150)])):(delete process[_0x3361ac(0x15b)]['BROWSERSTACK_LTS_SESSION_ID'],logger[_0x3361ac(0x155)](_0xf190cb[_0x3361ac(0x16e)]));try{const _0x58764b={'feature':_0xf190cb['fKlae'],'ltsEnabled':_0xf190cb[_0x3361ac(0x177)](isLTSSession,_0x30a0ec),'ltsSessionIdPresent':!!_0x5c85ee};await _0xf190cb['eZzlx'](sendSdkEvents,_0x58764b,_0x30a0ec);}catch(_0x3764c2){logger[_0x3361ac(0x155)](_0x3361ac(0x15f)+(_0x3764c2&&_0x3764c2[_0x3361ac(0x163)]));}return _0xf190cb[_0x3361ac(0x159)](_0x5c85ee,'');}catch(_0x2dfb17){return logger['debug'](_0x3361ac(0x15e)+(_0x2dfb17&&_0x2dfb17[_0x3361ac(0x163)])),'';}},a92_0x428eb6={};a92_0x428eb6['isLTSSession']=isLTSSession,a92_0x428eb6[a92_0x3d0a2f(0x16d)]=getLTSSessionId,a92_0x428eb6[a92_0x3d0a2f(0x175)]=setLTSSessionId,module[a92_0x3d0a2f(0x15d)]=a92_0x428eb6;
@@ -1 +1 @@
1
- function a93_0xfac3(_0x1b7f95,_0x5eb774){const _0x5c2820=a93_0x5c28();return a93_0xfac3=function(_0xfac35e,_0x10befb){_0xfac35e=_0xfac35e-0xd1;let _0x30cc49=_0x5c2820[_0xfac35e];return _0x30cc49;},a93_0xfac3(_0x1b7f95,_0x5eb774);}const a93_0x352e56=a93_0xfac3;function a93_0x5c28(){const _0x5c6718=['ObservabilitySync:','now','HbJmj','36YIqTPN','../../../helpers/classLogger.js','MODULE_NAME','ObservabilityModule','exports','6562632JBIZdh','TEST_REPORTING_ANALYTICS','../state/automationFrameworkState.js','page','1067928ijIMwr','287447LgKtWv','24864770ulTlAt','observabilityConfig','5xvNZGQ','../../utils/constants.js','getModuleName','CREATE','../../../helpers/performance/constants.js','end','registerObserver','1432888hFaiVT','9784943NkiPzw','../../../helpers/helper.js','logger','info','menCO','POST','SYNC','ezHul','name','onBeforeTest:\x20','debug','cLOBP','914206BRVhtB','aSFmW','bind','9bIAZJO'];a93_0x5c28=function(){return _0x5c6718;};return a93_0x5c28();}(function(_0x295af0,_0x5d5d2e){const _0x17ec3a=a93_0xfac3,_0x24d0d6=_0x295af0();while(!![]){try{const _0x590f82=parseInt(_0x17ec3a(0xf5))/0x1+-parseInt(_0x17ec3a(0xe4))/0x2*(parseInt(_0x17ec3a(0xe7))/0x3)+-parseInt(_0x17ec3a(0xf4))/0x4+parseInt(_0x17ec3a(0xf8))/0x5*(-parseInt(_0x17ec3a(0xf0))/0x6)+parseInt(_0x17ec3a(0xd8))/0x7+parseInt(_0x17ec3a(0xd7))/0x8*(-parseInt(_0x17ec3a(0xeb))/0x9)+parseInt(_0x17ec3a(0xf6))/0xa;if(_0x590f82===_0x5d5d2e)break;else _0x24d0d6['push'](_0x24d0d6['shift']());}catch(_0x4c373d){_0x24d0d6['push'](_0x24d0d6['shift']());}}}(a93_0x5c28,0xb0942));const BaseModule=require('./baseModule'),{createClassLogger}=require(a93_0x352e56(0xec)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a93_0x352e56(0xf2)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a93_0x352e56(0xd9)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require(a93_0x352e56(0xd4)),constants=require(a93_0x352e56(0xd1));class ObservabilityModule extends BaseModule{[a93_0x352e56(0xda)]=createClassLogger(a93_0x352e56(0xee));constructor(_0x523564){const _0x33323e=a93_0x352e56,_0x47932d={};_0x47932d[_0x33323e(0xe3)]=_0x33323e(0xee);const _0x7d45b6=_0x47932d;super(),this[_0x33323e(0xe0)]=_0x7d45b6[_0x33323e(0xe3)],this[_0x33323e(0xf7)]=_0x523564,AutomationFramework[_0x33323e(0xd6)](AutomationFrameworkState[_0x33323e(0xd3)],HookState[_0x33323e(0xdd)],this['onBeforeTest'][_0x33323e(0xe6)](this));}[a93_0x352e56(0xd2)](){return ObservabilityModule['MODULE_NAME'];}async['onBeforeTest'](_0x3e5875){const _0x7f3598=a93_0x352e56,_0x25f57b={'HbJmj':function(_0x7f0011,_0x388ef5){return _0x7f0011+_0x388ef5;},'ezHul':_0x7f3598(0xe8),'niZhC':function(_0x23656a,_0x3f163b,_0x11cfc5,_0x5ca445){return _0x23656a(_0x3f163b,_0x11cfc5,_0x5ca445);},'menCO':_0x7f3598(0xe2),'aSFmW':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x3e5875[_0x7f3598(0xf3)]){const _0x405ccb=_0x3e5875[_0x7f3598(0xf3)],_0x521372=Date[_0x7f3598(0xe9)](),_0x5ce553=_0x25f57b[_0x7f3598(0xea)](_0x25f57b[_0x7f3598(0xdf)],_0x521372);PerformanceTester['start'](O11y_EVENTS[_0x7f3598(0xde)]),await _0x25f57b['niZhC'](playwrightAnnotate,_0x405ccb,_0x5ce553,_0x25f57b[_0x7f3598(0xdc)]),PerformanceTester[_0x7f3598(0xd5)](O11y_EVENTS['SYNC']),this[_0x7f3598(0xda)][_0x7f3598(0xdb)](_0x7f3598(0xe1)+constants[_0x7f3598(0xf1)]+'\x20sync\x20done');}else this[_0x7f3598(0xda)][_0x7f3598(0xe2)](_0x25f57b[_0x7f3598(0xe5)]);}}ObservabilityModule[a93_0x352e56(0xed)]='ObservabilityModule',module[a93_0x352e56(0xef)]=ObservabilityModule;
1
+ const a93_0x49e9cc=a93_0x17ca;(function(_0x3ae01d,_0x140d2a){const _0x181626=a93_0x17ca,_0x314011=_0x3ae01d();while(!![]){try{const _0x21f42f=parseInt(_0x181626(0x11b))/0x1*(parseInt(_0x181626(0x115))/0x2)+parseInt(_0x181626(0x11a))/0x3+parseInt(_0x181626(0xfd))/0x4+parseInt(_0x181626(0x101))/0x5+parseInt(_0x181626(0x102))/0x6+-parseInt(_0x181626(0x11f))/0x7*(parseInt(_0x181626(0xfe))/0x8)+-parseInt(_0x181626(0xfa))/0x9;if(_0x21f42f===_0x140d2a)break;else _0x314011['push'](_0x314011['shift']());}catch(_0x1086a3){_0x314011['push'](_0x314011['shift']());}}}(a93_0x2a8d,0x6ce2d));const BaseModule=require(a93_0x49e9cc(0x111)),{createClassLogger}=require(a93_0x49e9cc(0x112)),AutomationFramework=require(a93_0x49e9cc(0x100)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a93_0x49e9cc(0x11d)),PerformanceTester=require(a93_0x49e9cc(0x103)),{O11y_EVENTS}=require(a93_0x49e9cc(0x121)),constants=require('../../utils/constants.js');class ObservabilityModule extends BaseModule{[a93_0x49e9cc(0x10d)]=createClassLogger(a93_0x49e9cc(0x10f));constructor(_0x4d6a12){const _0x64555a=a93_0x49e9cc,_0x2cf4da={};_0x2cf4da[_0x64555a(0xf9)]='ObservabilityModule';const _0x3d21cb=_0x2cf4da;super(),this[_0x64555a(0xfb)]=_0x3d21cb['CyFQk'],this['observabilityConfig']=_0x4d6a12,AutomationFramework[_0x64555a(0x10a)](AutomationFrameworkState[_0x64555a(0x105)],HookState[_0x64555a(0x106)],this[_0x64555a(0x104)]['bind'](this));}[a93_0x49e9cc(0x117)](){const _0x2061c0=a93_0x49e9cc;return ObservabilityModule[_0x2061c0(0x118)];}async[a93_0x49e9cc(0x104)](_0x3ab3ed){const _0x3d1aef=a93_0x49e9cc,_0x4b4a3a={'lREBL':function(_0x135b69,_0x43d791){return _0x135b69+_0x43d791;},'wwZOK':_0x3d1aef(0x10c),'BkqnA':function(_0x69febb,_0xc132bc,_0x471bc0,_0x133e7a){return _0x69febb(_0xc132bc,_0x471bc0,_0x133e7a);},'HUYQQ':'debug','mhwGV':_0x3d1aef(0x11e)};if(_0x3ab3ed['page']){const _0x8116a6=_0x3ab3ed['page'],_0x210c9f=Date[_0x3d1aef(0x113)](),_0x14be50=_0x4b4a3a[_0x3d1aef(0x10b)](_0x4b4a3a[_0x3d1aef(0xff)],_0x210c9f);PerformanceTester[_0x3d1aef(0x119)](O11y_EVENTS['SYNC']),await _0x4b4a3a[_0x3d1aef(0x109)](playwrightAnnotate,_0x8116a6,_0x14be50,_0x4b4a3a[_0x3d1aef(0x116)]),PerformanceTester[_0x3d1aef(0x11c)](O11y_EVENTS[_0x3d1aef(0x107)]),this['logger'][_0x3d1aef(0x120)](_0x3d1aef(0x10e)+constants[_0x3d1aef(0x114)]+_0x3d1aef(0x108));}else this[_0x3d1aef(0x10d)][_0x3d1aef(0xfc)](_0x4b4a3a[_0x3d1aef(0x110)]);}}function a93_0x17ca(_0x466675,_0x2f8e34){const _0x2a8d50=a93_0x2a8d();return a93_0x17ca=function(_0x17ca98,_0x33b110){_0x17ca98=_0x17ca98-0xf9;let _0x89fcf1=_0x2a8d50[_0x17ca98];return _0x89fcf1;},a93_0x17ca(_0x466675,_0x2f8e34);}function a93_0x2a8d(){const _0x4c1a0f=['mhwGV','./baseModule','../../../helpers/classLogger.js','now','TEST_REPORTING_ANALYTICS','441296cJnjjS','HUYQQ','getModuleName','MODULE_NAME','start','1030584suMSFf','1kGngOZ','end','../../../helpers/helper.js','onBeforeTest:\x20page\x20is\x20not\x20defined','7vyefaF','info','../../../helpers/performance/constants.js','CyFQk','14760bNLSMd','name','debug','1696912osYpCB','6625576QpVviI','wwZOK','../framework/automationFramework.js','1099310DUSKjG','405408tcjrgk','../../../helpers/performance/performance-tester.js','onBeforeTest','CREATE','POST','SYNC','\x20sync\x20done','BkqnA','registerObserver','lREBL','ObservabilitySync:','logger','onBeforeTest:\x20','ObservabilityModule'];a93_0x2a8d=function(){return _0x4c1a0f;};return a93_0x2a8d();}ObservabilityModule[a93_0x49e9cc(0x118)]=a93_0x49e9cc(0x10f),module['exports']=ObservabilityModule;