browserstack-node-sdk 1.57.0 → 1.57.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +3 -3
  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 -1
  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_0xde9411=a89_0x220d;(function(_0x8735a8,_0x2fb45c){const _0x264f55=a89_0x220d,_0x32c6ae=_0x8735a8();while(!![]){try{const _0x2400c5=-parseInt(_0x264f55(0x171))/0x1+parseInt(_0x264f55(0x172))/0x2+parseInt(_0x264f55(0x17c))/0x3*(-parseInt(_0x264f55(0x17f))/0x4)+-parseInt(_0x264f55(0x17d))/0x5*(parseInt(_0x264f55(0x16f))/0x6)+-parseInt(_0x264f55(0x17e))/0x7+-parseInt(_0x264f55(0x185))/0x8+parseInt(_0x264f55(0x17b))/0x9*(parseInt(_0x264f55(0x18b))/0xa);if(_0x2400c5===_0x2fb45c)break;else _0x32c6ae['push'](_0x32c6ae['shift']());}catch(_0xf47e5b){_0x32c6ae['push'](_0x32c6ae['shift']());}}}(a89_0x23a9,0xb23c1));function a89_0x220d(_0x116f11,_0x4290ca){const _0x23a960=a89_0x23a9();return a89_0x220d=function(_0x220d2a,_0x3f7518){_0x220d2a=_0x220d2a-0x16c;let _0x29a3a3=_0x23a960[_0x220d2a];return _0x29a3a3;},a89_0x220d(_0x116f11,_0x4290ca);}const TrackedContext=require(a89_0xde9411(0x186)),crypto=require(a89_0xde9411(0x175)),{threadId}=require(a89_0xde9411(0x16c));class TrackedInstance{static ['KEY_IS_BROWSERSTACK_AUTOMATION_SESSION']=a89_0xde9411(0x179);constructor(_0x30c296){const _0xcdd2a8=a89_0xde9411;this[_0xcdd2a8(0x176)]=_0x30c296,this[_0xcdd2a8(0x178)]=new Map();}[a89_0xde9411(0x182)](){const _0x501bdf=a89_0xde9411;return this[_0x501bdf(0x176)]['getId']();}['getContext'](){return this['context'];}[a89_0xde9411(0x173)](){const _0x5194f3=a89_0xde9411;return this[_0x5194f3(0x178)];}[a89_0xde9411(0x16e)](_0x430acf){const _0x3c073f=a89_0xde9411;Object[_0x3c073f(0x18a)](_0x430acf)['forEach'](_0x858ae8=>{const _0x43bb80=_0x3c073f;this[_0x43bb80(0x178)][_0x43bb80(0x16d)](_0x858ae8,_0x430acf[_0x858ae8]);});}['addMultipleEntries'](_0x5c2574){const _0x3293cd=a89_0xde9411;Object['entries'](_0x5c2574)[_0x3293cd(0x189)](([_0x3f8df1,_0x4f2d23])=>{const _0x495052=_0x3293cd,_0x8248ee=this['data'][_0x495052(0x174)](_0x3f8df1)||{},_0x5b6b34={..._0x8248ee,..._0x4f2d23},_0x4c11f3=_0x5b6b34;this[_0x495052(0x178)]['set'](_0x3f8df1,_0x4c11f3);});}[a89_0xde9411(0x180)](_0x4ea617){const _0x9a40a4=a89_0xde9411;return this['data'][_0x9a40a4(0x174)](_0x4ea617);}[a89_0xde9411(0x187)](_0x5d6827,_0x1b9ef2){const _0xb9d2ab=a89_0xde9411;this[_0xb9d2ab(0x178)]['set'](_0x5d6827,_0x1b9ef2);}static['createContext'](_0x40f450){const _0x21f590=a89_0xde9411,_0x318738={};_0x318738[_0x21f590(0x188)]='sha256',_0x318738['zqYCN']='hex',_0x318738['soaRx']=function(_0x4ab655,_0x129c08){return _0x4ab655||_0x129c08;};const _0xb0bab9=_0x318738;return new TrackedContext(crypto[_0x21f590(0x181)](_0xb0bab9[_0x21f590(0x188)])[_0x21f590(0x184)](_0x40f450)[_0x21f590(0x17a)](_0xb0bab9['zqYCN']),_0xb0bab9[_0x21f590(0x183)](threadId,0x0),process[_0x21f590(0x170)],typeof _0x40f450);}}module[a89_0xde9411(0x177)]=TrackedInstance;function a89_0x23a9(){const _0x29241c=['137832oQouXW','pid','554547kAkVXO','183944tdWrbx','getAllData','get','crypto','context','exports','data','isBrowserstackAutomationSession','digest','35372439mXTqZv','2787fhjHGB','80fKtdzL','1374933bveept','4724fIsdaC','getData','createHash','getRef','soaRx','update','8612216CIWDqI','./trackedContext','updateData','AKvji','forEach','keys','10NGEDxK','worker_threads','set','updateMultipleEntries'];a89_0x23a9=function(){return _0x29241c;};return a89_0x23a9();}
1
+ const a89_0x17bc3c=a89_0x48fa;(function(_0x7dea03,_0xde9406){const _0x412c0b=a89_0x48fa,_0x232f1c=_0x7dea03();while(!![]){try{const _0x296cd7=parseInt(_0x412c0b(0x121))/0x1*(parseInt(_0x412c0b(0x11e))/0x2)+-parseInt(_0x412c0b(0x117))/0x3+parseInt(_0x412c0b(0x126))/0x4*(-parseInt(_0x412c0b(0x119))/0x5)+parseInt(_0x412c0b(0x12f))/0x6+-parseInt(_0x412c0b(0x116))/0x7+parseInt(_0x412c0b(0x129))/0x8*(parseInt(_0x412c0b(0x130))/0x9)+-parseInt(_0x412c0b(0x122))/0xa;if(_0x296cd7===_0xde9406)break;else _0x232f1c['push'](_0x232f1c['shift']());}catch(_0x561ade){_0x232f1c['push'](_0x232f1c['shift']());}}}(a89_0x2918,0x7eadf));function a89_0x2918(){const _0x5b4c97=['exports','217063hUoMek','1224435qpJYFn','updateData','94745mClfnd','getId','updateMultipleEntries','keys','data','5854hGFlhq','digest','createContext','236LVEFzv','1606870uMeDAH','entries','set','sha256','188PlcFqC','./trackedContext','get','8ZsuJdj','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','pid','getData','crypto','context','4347336EerjGD','5345955kQNnnJ','getRef','hex','wnRZy','worker_threads','getAllData','isBrowserstackAutomationSession'];a89_0x2918=function(){return _0x5b4c97;};return a89_0x2918();}function a89_0x48fa(_0x4c404a,_0x2dbc5c){const _0x291811=a89_0x2918();return a89_0x48fa=function(_0x48faa9,_0x2a683b){_0x48faa9=_0x48faa9-0x116;let _0x357186=_0x291811[_0x48faa9];return _0x357186;},a89_0x48fa(_0x4c404a,_0x2dbc5c);}const TrackedContext=require(a89_0x17bc3c(0x127)),crypto=require(a89_0x17bc3c(0x12d)),{threadId}=require(a89_0x17bc3c(0x134));class TrackedInstance{static [a89_0x17bc3c(0x12a)]=a89_0x17bc3c(0x136);constructor(_0x1c9772){const _0x350337=a89_0x17bc3c;this[_0x350337(0x12e)]=_0x1c9772,this[_0x350337(0x11d)]=new Map();}[a89_0x17bc3c(0x131)](){const _0x1bc15b=a89_0x17bc3c;return this[_0x1bc15b(0x12e)][_0x1bc15b(0x11a)]();}['getContext'](){return this['context'];}[a89_0x17bc3c(0x135)](){const _0x18530e=a89_0x17bc3c;return this[_0x18530e(0x11d)];}[a89_0x17bc3c(0x11b)](_0x4a20dc){const _0x5d33c5=a89_0x17bc3c;Object[_0x5d33c5(0x11c)](_0x4a20dc)['forEach'](_0x5e1b25=>{const _0x146c18=_0x5d33c5;this[_0x146c18(0x11d)][_0x146c18(0x124)](_0x5e1b25,_0x4a20dc[_0x5e1b25]);});}['addMultipleEntries'](_0x4a3a6c){const _0xd0b0a2=a89_0x17bc3c;Object[_0xd0b0a2(0x123)](_0x4a3a6c)['forEach'](([_0x117b3b,_0x50855d])=>{const _0x465c77=_0xd0b0a2,_0x779f38=this[_0x465c77(0x11d)][_0x465c77(0x128)](_0x117b3b)||{},_0x32052d={..._0x779f38,..._0x50855d},_0x56420f=_0x32052d;this[_0x465c77(0x11d)][_0x465c77(0x124)](_0x117b3b,_0x56420f);});}[a89_0x17bc3c(0x12c)](_0x392443){const _0x495fd1=a89_0x17bc3c;return this[_0x495fd1(0x11d)][_0x495fd1(0x128)](_0x392443);}[a89_0x17bc3c(0x118)](_0x171427,_0x5a97fd){this['data']['set'](_0x171427,_0x5a97fd);}static[a89_0x17bc3c(0x120)](_0xe6982b){const _0x38da41=a89_0x17bc3c,_0x179184={};_0x179184['wnRZy']=_0x38da41(0x125),_0x179184['IlSSb']=_0x38da41(0x132),_0x179184['yWtDb']=function(_0x25838c,_0x79162a){return _0x25838c||_0x79162a;};const _0xb15bb5=_0x179184;return new TrackedContext(crypto['createHash'](_0xb15bb5[_0x38da41(0x133)])['update'](_0xe6982b)[_0x38da41(0x11f)](_0xb15bb5['IlSSb']),_0xb15bb5['yWtDb'](threadId,0x0),process[_0x38da41(0x12b)],typeof _0xe6982b);}}module[a89_0x17bc3c(0x137)]=TrackedInstance;
@@ -1 +1 @@
1
- const a90_0x4db811=a90_0x1c8b;(function(_0x3a93e7,_0x486b5a){const _0x2f3234=a90_0x1c8b,_0x35bd11=_0x3a93e7();while(!![]){try{const _0x486935=-parseInt(_0x2f3234(0x2a0))/0x1+-parseInt(_0x2f3234(0x25d))/0x2*(-parseInt(_0x2f3234(0x250))/0x3)+-parseInt(_0x2f3234(0x244))/0x4*(parseInt(_0x2f3234(0x1cf))/0x5)+-parseInt(_0x2f3234(0x159))/0x6*(parseInt(_0x2f3234(0x24d))/0x7)+parseInt(_0x2f3234(0x121))/0x8*(-parseInt(_0x2f3234(0x205))/0x9)+parseInt(_0x2f3234(0x217))/0xa+parseInt(_0x2f3234(0x21e))/0xb;if(_0x486935===_0x486b5a)break;else _0x35bd11['push'](_0x35bd11['shift']());}catch(_0x4c5f05){_0x35bd11['push'](_0x35bd11['shift']());}}}(a90_0xad6b,0x18f78));const BaseModule=require('./baseModule'),{createClassLogger}=require(a90_0x4db811(0x16d)),CLIUtils=require(a90_0x4db811(0x1ff)),AutomationFramework=require(a90_0x4db811(0x1e7)),TestFramework=require(a90_0x4db811(0x212)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a90_0x4db811(0x1ec)),GrpcClient=require(a90_0x4db811(0x158)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger('TrackedInstance'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a90_0x4db811(0x103)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a90_0x4db811(0x1f3)),{nestedKeyValue,isUndefined}=require(a90_0x4db811(0x289)),util=require(a90_0x4db811(0x2e8)),TestInfo=require(a90_0x4db811(0x18e)),TestFrameworkConstants=require(a90_0x4db811(0x21b)),accessibilityHelper=require('../../../helpers/accessibility-automation/helper');class AccessibilityModule extends BaseModule{static [a90_0x4db811(0x139)]=AccessibilityModule[a90_0x4db811(0x167)];static [a90_0x4db811(0x292)]=![];static [a90_0x4db811(0x25c)]={};constructor(_0x5178b8){const _0x48432b=a90_0x4db811,_0x343db6={};_0x343db6[_0x48432b(0x225)]=_0x48432b(0x296),_0x343db6['kBEUj']=_0x48432b(0x2ba),_0x343db6[_0x48432b(0x234)]=_0x48432b(0x1c6),_0x343db6[_0x48432b(0x29c)]=_0x48432b(0x104),_0x343db6[_0x48432b(0x24e)]=_0x48432b(0x187);const _0x3df793=_0x343db6,_0x569d43=_0x3df793[_0x48432b(0x225)][_0x48432b(0x19a)]('|');let _0xfcdd88=0x0;while(!![]){switch(_0x569d43[_0xfcdd88++]){case'0':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x48432b(0x1c5)],HookState[_0x48432b(0x26d)],this[_0x48432b(0x2f1)][_0x48432b(0x178)](this));continue;case'1':this[_0x48432b(0x2c7)]=[];continue;case'2':this[_0x48432b(0x138)]=!![];continue;case'3':this[_0x48432b(0x228)]=_0x5178b8[_0x48432b(0x151)]();continue;case'4':this['LOG_DISABLED_SHOWN']=new Map();continue;case'5':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x48432b(0x2af)],HookState[_0x48432b(0x26d)],this[_0x48432b(0x298)][_0x48432b(0x178)](this));continue;case'6':this[_0x48432b(0x19d)]=new Map();continue;case'7':this['KEY_INIT']=_0x3df793[_0x48432b(0x1c3)];continue;case'8':this['_mobileScanningDisabledLogged']=![];continue;case'9':this[_0x48432b(0x1ea)]=![];continue;case'10':super();continue;case'11':logger[_0x48432b(0x194)](_0x3df793[_0x48432b(0x234)]);continue;case'12':this['KEY_DRIVER_HAS_URL']=_0x3df793[_0x48432b(0x29c)];continue;case'13':AutomationFramework[_0x48432b(0x13b)](AutomationFrameworkState[_0x48432b(0x1f8)],HookState[_0x48432b(0x1b7)],this['onBeforeTest'][_0x48432b(0x178)](this));continue;case'14':this['setAccessibilityToken'](_0x5178b8[_0x48432b(0x197)]()[_0x48432b(0x262)]());continue;case'15':this[_0x48432b(0x29f)]=_0x3df793[_0x48432b(0x24e)];continue;case'16':this[_0x48432b(0x10f)]=![];continue;}break;}}[a90_0x4db811(0x138)](){const _0x39708a=a90_0x4db811;return this[_0x39708a(0x138)];}[a90_0x4db811(0x22d)](){const _0x2e3bbb=a90_0x4db811;return AccessibilityModule[_0x2e3bbb(0x139)];}[a90_0x4db811(0x193)](){const _0x503125=a90_0x4db811;return this[_0x503125(0x19d)][_0x503125(0x14b)](CLIUtils['getCurrentInstanceName'](),![]);}[a90_0x4db811(0x1bc)](){const _0x3448e4=a90_0x4db811;return this[_0x3448e4(0x142)][_0x3448e4(0x14b)](CLIUtils[_0x3448e4(0x20f)](),![]);}['setLogDisabledShown'](_0xb81e9b){const _0x43e42a=a90_0x4db811;this['LOG_DISABLED_SHOWN']['set'](CLIUtils[_0x43e42a(0x20f)](),_0xb81e9b);}[a90_0x4db811(0x28d)](){const _0x1c55ea=a90_0x4db811,_0x4f68da={'WHBRI':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','QKaRq':function(_0x8c49ac,_0x1c02ae){return _0x8c49ac(_0x1c02ae);},'wNZFF':'../../utils/playwright-patcher','koywY':_0x1c55ea(0x2f0),'lqobr':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this[_0x1c55ea(0x10f)]){logger['debug'](_0x4f68da[_0x1c55ea(0x252)]);return;}try{const _0xad259a=_0x4f68da[_0x1c55ea(0x1d6)](require,_0x4f68da[_0x1c55ea(0x1a4)]);_0xad259a&&_0xad259a[_0x1c55ea(0x2a6)]?(_0xad259a['patchSendMessageToServer'](),this[_0x1c55ea(0x10f)]=!![],logger['debug'](_0x4f68da['koywY'])):logger[_0x1c55ea(0x194)](_0x4f68da[_0x1c55ea(0x1b0)]);}catch(_0x33257f){logger[_0x1c55ea(0x194)](_0x1c55ea(0x11a)+util[_0x1c55ea(0x1eb)](_0x33257f));}}[a90_0x4db811(0x218)](_0x47e97d=null,_0x210e49=null,_0x164bae=null){const _0x41837d=a90_0x4db811,_0x3646d7={'Fiaba':function(_0x1a5672,_0x374bbd){return _0x1a5672&&_0x374bbd;},'kCQEI':_0x41837d(0x18f),'nbtVz':function(_0x218912,_0x30cceb){return _0x218912(_0x30cceb);},'UWuFL':'../../../helpers/helper','lTYAe':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','hiKhy':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','jLRot':function(_0x347a6e,_0xd98436){return _0x347a6e===_0xd98436;},'Blkhi':function(_0x4b2e01,_0x429846){return _0x4b2e01===_0x429846;},'IqivN':_0x41837d(0x21a),'qeLtM':function(_0x90f010,_0x25f19a){return _0x90f010===_0x25f19a;},'iqNcE':_0x41837d(0x128),'uOouD':_0x41837d(0x1fc),'USKQD':'goog:chromeOptions','aMoPw':function(_0x6ead19,_0x241103){return _0x6ead19!==_0x241103;},'RZpqv':_0x41837d(0x11c),'zYaOH':function(_0x4f9b33){return _0x4f9b33();},'Vdrbw':'on\x20non-BrowserStack\x20infrastructure\x20','XySYc':function(_0x531101,_0x104857){return _0x531101>_0x104857;},'nKAFN':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x3646d7[_0x41837d(0x2d1)](!_0x210e49,!_0x164bae))return logger[_0x41837d(0x194)](_0x3646d7[_0x41837d(0x17e)]),![];const {isUndefined:_0x1a73b9,isBrowserstackInfra:_0x29d58c}=_0x3646d7[_0x41837d(0x1dc)](require,_0x3646d7[_0x41837d(0x136)]);if(!accessibilityHelper['isAccessibilityAutomationSession']())return logger[_0x41837d(0x194)](_0x3646d7['lTYAe']),![];const _0x4efa9b=_0x210e49[_0x41837d(0x274)]||_0x210e49['browser'],_0x3e6a07=_0x210e49[_0x41837d(0x20b)]||_0x210e49[_0x41837d(0x248)];if(!accessibilityHelper[_0x41837d(0x243)](_0x4efa9b))return logger['warn'](_0x3646d7['hiKhy']),![];if(accessibilityHelper['requiresChromeOptionsValidation'](_0x4efa9b))try{const _0x4188b2=_0x210e49[_0x41837d(0x278)],_0x84eee2=_0x3646d7[_0x41837d(0x27a)](_0x4188b2,!![])||_0x3646d7[_0x41837d(0x290)](_0x4188b2,_0x3646d7[_0x41837d(0x211)])||_0x3646d7[_0x41837d(0x1f4)](typeof _0x4188b2,_0x3646d7[_0x41837d(0x12e)])&&_0x3646d7['qeLtM'](_0x4188b2[_0x41837d(0x1c1)](),_0x3646d7['IqivN']);if(_0x84eee2)return logger[_0x41837d(0x10b)](_0x3646d7['uOouD']),![];const _0x14a11e=_0x210e49?.[_0x41837d(0x2e7)]?.[_0x41837d(0x227)]||_0x210e49?.[_0x3646d7[_0x41837d(0x11f)]]?.[_0x41837d(0x227)]||[];if(Array[_0x41837d(0x1ba)](_0x14a11e)&&_0x14a11e[_0x41837d(0x2f5)](_0x151062=>typeof _0x151062===_0x41837d(0x128)&&(_0x151062===_0x41837d(0x24f)||_0x151062[_0x41837d(0x22a)](_0x41837d(0x191))&&_0x151062!==_0x41837d(0x215))))return logger[_0x41837d(0x10b)](_0x3646d7['uOouD']),![];}catch(_0x4a4e8c){logger[_0x41837d(0x194)](_0x41837d(0x1f5)+util['format'](_0x4a4e8c));}if(_0x3646d7['aMoPw'](_0x3e6a07,_0x3646d7[_0x41837d(0x1c0)])){const _0x47e448=_0x3646d7[_0x41837d(0x1a0)](_0x29d58c),_0x4a1fad=accessibilityHelper[_0x41837d(0x171)](_0x4efa9b,_0x47e448),_0x579780=accessibilityHelper[_0x41837d(0x1ee)](_0x4efa9b);if(!accessibilityHelper[_0x41837d(0x13e)](_0x3e6a07,_0x4a1fad)){const _0x2fe81c=_0x47e448?'':_0x3646d7['Vdrbw'];return logger[_0x41837d(0x10b)](_0x41837d(0x254)+_0x579780+'\x20browser\x20version\x20'+_0x4a1fad+'\x20or\x20higher\x20'+_0x2fe81c+'.'),![];}}else{const _0x421efe=_0x210e49[_0x41837d(0x20b)]||_0x210e49[_0x41837d(0x248)]||_0x210e49['version'];if(_0x421efe&&_0x3646d7[_0x41837d(0x18b)](_0x421efe,_0x3646d7[_0x41837d(0x1c0)])&&!_0x3646d7[_0x41837d(0x264)](_0x3646d7[_0x41837d(0x1dc)](parseFloat,_0x421efe),_0x3646d7['nbtVz'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x41837d(0x10b)](_0x3646d7[_0x41837d(0x1ad)]),![];}return!![];}catch(_0x5cbde0){return logger[_0x41837d(0x194)](_0x41837d(0x294)+_0x5cbde0[_0x41837d(0x181)]),![];}}[a90_0x4db811(0x273)](_0x5d228b=[],_0x5a6a68,_0x1e9d52='cucumber'){const _0xc466da=a90_0x4db811,_0x58e177={'UrAbu':function(_0x5df649,_0x26e1b7){return _0x5df649===_0x26e1b7;},'Xsblf':_0xc466da(0x2db),'FqhdG':function(_0x582191,_0x40ccc7){return _0x582191||_0x40ccc7;},'Pfavt':function(_0x15b565,_0x3e03f4){return _0x15b565&&_0x3e03f4;},'icxLo':_0xc466da(0x1a1),'anQyd':function(_0x3bf03b,_0x3f37c1){return _0x3bf03b(_0x3f37c1);},'vDzEr':function(_0x11abfa,_0x449dc8){return _0x11abfa>_0x449dc8;}};try{const _0x438051=process[_0xc466da(0x15a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']?JSON[_0xc466da(0x134)](process[_0xc466da(0x15a)][_0xc466da(0x1f9)]):null;if(!_0x438051)return!![];const _0x143b03=Array[_0xc466da(0x1ba)](_0x438051['includeTagsInTestingScope'])?_0x438051[_0xc466da(0x21d)]:[],_0x2fc782=Array[_0xc466da(0x1ba)](_0x438051[_0xc466da(0x281)])?_0x438051['excludeTagsInTestingScope']:[];if(_0x58e177[_0xc466da(0x2ae)](_0x1e9d52,_0x58e177[_0xc466da(0x200)])){let _0x5c4267;Array[_0xc466da(0x1ba)](_0x5d228b)?_0x5c4267=_0x5d228b[_0xc466da(0x226)]('\x20'):_0x5c4267=_0x58e177[_0xc466da(0x2e9)](_0x5d228b,'');const _0x20a62e=_0x2fc782[_0xc466da(0x2f5)](_0x2f53a6=>_0x5c4267[_0xc466da(0x1aa)](_0x2f53a6)),_0x578512=_0x58e177[_0xc466da(0x2ae)](_0x143b03[_0xc466da(0x2ca)],0x0)||_0x143b03['some'](_0x3baa12=>_0x5c4267[_0xc466da(0x1aa)](_0x3baa12)),_0x3bf39e=_0x58e177[_0xc466da(0x26b)](!_0x20a62e,_0x578512);return logger[_0xc466da(0x194)](_0xc466da(0x1dd)+(_0x5a6a68?.[_0xc466da(0x19e)]?.()||_0x58e177['icxLo'])+_0xc466da(0x1ef)+_0x3bf39e+_0xc466da(0x207)+_0x5c4267+_0xc466da(0x107)+JSON[_0xc466da(0x101)](_0x143b03)+_0xc466da(0x24b)+JSON[_0xc466da(0x101)](_0x2fc782)),_0x3bf39e;}const _0x20e1e0=Array[_0xc466da(0x1ba)](_0x5d228b)?_0x5d228b:[];let _0x1344d5=![],_0x33ebaa=_0x58e177[_0xc466da(0x2ae)](_0x143b03[_0xc466da(0x2ca)],0x0);const _0x3f1471=_0x40316a=>typeof _0x40316a==='string'?_0x40316a[_0xc466da(0x1b2)](/^@/,'')[_0xc466da(0x1c1)]()['trim']():_0x40316a,_0x6525fb=new Set(_0x143b03[_0xc466da(0x247)](_0x3f1471)),_0x4741d1=new Set(_0x2fc782[_0xc466da(0x247)](_0x3f1471));for(const _0x3e8685 of _0x20e1e0){const _0x307764=_0x58e177[_0xc466da(0x14f)](_0x3f1471,_0x3e8685);_0x4741d1[_0xc466da(0x28a)](_0x307764)&&(_0x1344d5=!![]),_0x58e177[_0xc466da(0x1ca)](_0x6525fb[_0xc466da(0x1b9)],0x0)&&_0x6525fb[_0xc466da(0x28a)](_0x307764)&&(_0x33ebaa=!![]);}const _0x2c466d=_0x58e177[_0xc466da(0x26b)](_0x33ebaa,!_0x1344d5);return logger[_0xc466da(0x194)](_0xc466da(0x1dd)+(_0x5a6a68?.[_0xc466da(0x19e)]?.()||_0x58e177[_0xc466da(0x2d7)])+_0xc466da(0x258)+_0x2c466d+_0xc466da(0x23d)+JSON[_0xc466da(0x101)](_0x20e1e0)+_0xc466da(0x107)+JSON[_0xc466da(0x101)](_0x143b03)+_0xc466da(0x24b)+JSON['stringify'](_0x2fc782)),_0x2c466d;}catch(_0x21b914){return logger[_0xc466da(0x194)](_0xc466da(0x1dd)+(_0x5a6a68?.[_0xc466da(0x19e)]?.()||_0x58e177['icxLo'])+_0xc466da(0x102)+_0x21b914[_0xc466da(0x181)]),![];}}async['onBeforeTest'](_0x4d6cd4){const _0xf1b5a7=a90_0x4db811,_0x56135b={};_0x56135b[_0xf1b5a7(0x12b)]=function(_0x5a8304,_0x25ac5c){return _0x5a8304!==_0x25ac5c;},_0x56135b[_0xf1b5a7(0x150)]=_0xf1b5a7(0x231),_0x56135b[_0xf1b5a7(0x17d)]=_0xf1b5a7(0x2db),_0x56135b[_0xf1b5a7(0x161)]=_0xf1b5a7(0x1b6),_0x56135b[_0xf1b5a7(0x2d6)]=_0xf1b5a7(0x22b),_0x56135b[_0xf1b5a7(0x1b3)]=_0xf1b5a7(0x196),_0x56135b['JPcWV']=_0xf1b5a7(0x12c),_0x56135b[_0xf1b5a7(0x16f)]='DRIVER_INIT',_0x56135b['yOJKm']=function(_0x43dc59,_0x2c853c){return _0x43dc59===_0x2c853c;},_0x56135b['VWcBZ']=function(_0x1f0142,_0x2cb53f){return _0x1f0142===_0x2cb53f;},_0x56135b['lPblz']='onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true',_0x56135b[_0xf1b5a7(0x114)]=function(_0x20a41b,_0x458d74){return _0x20a41b===_0x458d74;},_0x56135b['aMjVv']=_0xf1b5a7(0x1d7),_0x56135b[_0xf1b5a7(0x210)]=function(_0x508448,_0x5ce098){return _0x508448>_0x5ce098;},_0x56135b[_0xf1b5a7(0x2aa)]=function(_0xd9caf4,_0x102011){return _0xd9caf4===_0x102011;},_0x56135b[_0xf1b5a7(0x236)]=_0xf1b5a7(0x1d8),_0x56135b[_0xf1b5a7(0x21c)]=_0xf1b5a7(0x1a6),_0x56135b['uqjfl']=function(_0x11395d,_0xb625b6){return _0x11395d&&_0xb625b6;},_0x56135b[_0xf1b5a7(0x1fb)]='unknown',_0x56135b[_0xf1b5a7(0x22c)]=_0xf1b5a7(0x21a);const _0x376d91=_0x56135b;if(_0x376d91[_0xf1b5a7(0x12b)](_0x4d6cd4[_0xf1b5a7(0x209)],_0x376d91['Tkifo'])&&_0x376d91[_0xf1b5a7(0x12b)](_0x4d6cd4[_0xf1b5a7(0x209)],_0x376d91['MjlaX'])){logger[_0xf1b5a7(0x194)](_0x376d91[_0xf1b5a7(0x161)]);return;}try{const _0x432287=AutomationFramework[_0xf1b5a7(0x14a)](),_0x1e84db=TestFramework[_0xf1b5a7(0x14a)](),_0x518232=_0x4d6cd4[_0xf1b5a7(0x2c1)]||global[_0xf1b5a7(0x1d4)]?.[_0xf1b5a7(0x2c4)]||null;if(!_0x518232){_0x1e84db&&_0x1e84db[_0xf1b5a7(0x153)](_0x376d91[_0xf1b5a7(0x2d6)],!![]);logger['debug'](_0x376d91[_0xf1b5a7(0x1b3)]);return;}logger[_0xf1b5a7(0x194)](_0x376d91['JPcWV']);const _0x4a826e=_0x1e84db?.[_0xf1b5a7(0x1d3)](_0x376d91['OUTzl'],![]),_0x20474b=_0x1e84db?.[_0xf1b5a7(0x1d3)](_0x376d91[_0xf1b5a7(0x2d6)],![]);if(_0x376d91['yOJKm'](_0x4a826e,![])&&_0x376d91[_0xf1b5a7(0x15e)](_0x20474b,![])){_0x1e84db&&_0x1e84db['updateData'](_0x376d91[_0xf1b5a7(0x16f)],!![]);logger[_0xf1b5a7(0x194)](_0x376d91[_0xf1b5a7(0x1df)]);return;}_0x1e84db&&_0x1e84db['updateData'](_0x376d91[_0xf1b5a7(0x2d6)],!![]);let _0x60e949,_0x2752c5;const _0x3a4d79=_0x4d6cd4[_0xf1b5a7(0x209)]||_0x376d91[_0xf1b5a7(0x150)];if(_0x376d91[_0xf1b5a7(0x114)](_0x3a4d79,_0x376d91['MjlaX'])){_0x2752c5=_0x4d6cd4['testInfo']?.[_0xf1b5a7(0x29a)]||_0x4d6cd4[_0xf1b5a7(0x2d5)]?.['id']||global['__jestCurrentTestIdentifier']||global[_0xf1b5a7(0x1d4)]?.[_0xf1b5a7(0x220)]?.[_0xf1b5a7(0x29a)]||global['__workerDetails']?.[_0xf1b5a7(0x220)]?.['id'];const _0x1564a0=_0x1e84db?.['getAllData']()?.[_0xf1b5a7(0x14b)](_0x2752c5);if(_0x1564a0&&_0x1564a0[TestFrameworkConstants[_0xf1b5a7(0x232)]])_0x60e949=_0x1564a0[TestFrameworkConstants[_0xf1b5a7(0x232)]];else{if(_0x4d6cd4['testInfo']?.[_0xf1b5a7(0x14e)])_0x60e949=_0x4d6cd4[_0xf1b5a7(0x2d5)][_0xf1b5a7(0x14e)];else global[_0xf1b5a7(0x1d4)]?.['currentTest']?.[_0xf1b5a7(0x2d5)]?.['titlePath']?_0x60e949=global[_0xf1b5a7(0x1d4)]['currentTest'][_0xf1b5a7(0x2d5)]['titlePath']:_0x60e949=_0x376d91[_0xf1b5a7(0x23f)];}logger[_0xf1b5a7(0x194)](_0xf1b5a7(0x249)+_0x2752c5+_0xf1b5a7(0x207)+JSON[_0xf1b5a7(0x101)](_0x60e949));}else{_0x2752c5=this[_0xf1b5a7(0x268)](_0x4d6cd4);const _0x481067=TestInfo[_0xf1b5a7(0x1bb)](_0x2752c5);let _0x38f07e=[];if(_0x481067&&Array['isArray'](_0x481067[_0xf1b5a7(0x1a6)])&&_0x376d91[_0xf1b5a7(0x210)](_0x481067['test_tags']['length'],0x0))_0x38f07e=_0x481067[_0xf1b5a7(0x1a6)];else{if(_0x1e84db){const _0x35a418=_0x376d91[_0xf1b5a7(0x2aa)](typeof _0x1e84db['getData'],_0x376d91[_0xf1b5a7(0x236)])?_0x1e84db[_0xf1b5a7(0x1d3)](_0x376d91[_0xf1b5a7(0x21c)],[]):_0x1e84db[_0xf1b5a7(0x1a6)]||[];Array[_0xf1b5a7(0x1ba)](_0x35a418)&&(_0x38f07e=_0x35a418);}}_0x60e949=_0x38f07e;}logger['info'](_0xf1b5a7(0x25e)+JSON[_0xf1b5a7(0x101)](_0x60e949));const _0x17895c=this[_0xf1b5a7(0x218)](_0x432287,_0x4d6cd4['platformCaps'],_0x4d6cd4[_0xf1b5a7(0x2ac)]);logger[_0xf1b5a7(0x194)](_0xf1b5a7(0x267)+_0x17895c+',\x20isAppAccessibility='+this[_0xf1b5a7(0x1ea)]);const _0x3f252a=this[_0xf1b5a7(0x273)](_0x60e949,_0x432287,_0x3a4d79),_0x2cbeb9=_0x376d91[_0xf1b5a7(0x256)](_0x17895c,_0x3f252a),_0xf4550a=CLIUtils[_0xf1b5a7(0x20f)]();this[_0xf1b5a7(0x19d)][_0xf1b5a7(0x2b4)](_0xf4550a,_0x2cbeb9),global[_0xf1b5a7(0x283)]?.[_0xf1b5a7(0x26e)]&&global[_0xf1b5a7(0x283)][_0xf1b5a7(0x26e)]()[_0xf1b5a7(0x2dc)](_0x2cbeb9),logger['debug'](_0xf1b5a7(0x1dd)+(_0x432287?.[_0xf1b5a7(0x19e)]?.()||_0x376d91[_0xf1b5a7(0x1fb)])+_0xf1b5a7(0x174)+_0x2cbeb9),_0x2cbeb9?(global[_0xf1b5a7(0x2bf)]=!![],process[_0xf1b5a7(0x15a)][_0xf1b5a7(0x206)]=_0x376d91['eMGPC'],this['applySendMessageToServerPatch']()):global[_0xf1b5a7(0x2bf)]=![];}catch(_0x1d9efb){logger[_0xf1b5a7(0x2de)](_0xf1b5a7(0x188)+(_0x1d9efb[_0xf1b5a7(0x18c)]||_0x1d9efb['message']));const _0x3682a1=CLIUtils[_0xf1b5a7(0x20f)]();this['accessibility'][_0xf1b5a7(0x2b4)](_0x3682a1,![]),global[_0xf1b5a7(0x2bf)]=![];}}[a90_0x4db811(0x1e4)](){const _0x1e894b=a90_0x4db811;return this[_0x1e894b(0x2c7)][_0x1e894b(0x2ce)](_0x1fbe72=>_0x1fbe72[_0x1e894b(0x1e9)]()===_0x1e894b(0x2b6))?.[_0x1e894b(0x245)]()||'';}[a90_0x4db811(0x25b)](_0x2fabf5){const _0x2fd6a1=a90_0x4db811;try{const _0x43ed88=this[_0x2fd6a1(0x228)]?.[_0x2fd6a1(0x246)]?.[_0x2fd6a1(0x110)]||[],_0x9a7ea4=_0x43ed88[_0x2fd6a1(0x2ce)](_0x51ed4d=>_0x51ed4d[_0x2fd6a1(0x167)]===_0x2fabf5);return _0x9a7ea4?_0x9a7ea4['value']:null;}catch(_0x2ed0fc){return logger[_0x2fd6a1(0x194)](_0x2fd6a1(0x126)+_0x2fabf5+':\x20'+_0x2ed0fc[_0x2fd6a1(0x181)]),null;}}async[a90_0x4db811(0x116)](_0x24547f,_0x4cc7f7){const _0x5fd2cd=a90_0x4db811,_0x2a7205=_0x24547f['getAccessibility']()['getOptions'](),_0x177f42=_0x2a7205[_0x5fd2cd(0x1d9)](),_0x78bf22=_0x2a7205[_0x5fd2cd(0x10d)]()?.[_0x5fd2cd(0x28b)]();scripts['parseFromProto'](_0x177f42,_0x78bf22),scripts[_0x5fd2cd(0x113)]();const _0x4e8cc1=_0x2a7205['getCapabilitiesList']();this['capabilities']=_0x2a7205[_0x5fd2cd(0x262)](),await this['setAccessibilityToken'](_0x4e8cc1,_0x4cc7f7[_0x5fd2cd(0x2ac)]);}async[a90_0x4db811(0x169)](_0x5161c0,_0x8a88e3={}){const _0x324b71=a90_0x4db811,_0x4fd1db={'WpkLf':function(_0x245f3c,_0x4d184c){return _0x245f3c===_0x4d184c;},'sIRQk':_0x324b71(0x100),'VNyHb':_0x324b71(0x1cb),'GQlKq':function(_0x480a50,_0x4b3220){return _0x480a50(_0x4b3220);},'dqqwZ':_0x324b71(0x131),'ukyOd':function(_0x54026e,_0x378d20){return _0x54026e(_0x378d20);},'mQygi':_0x324b71(0x289),'iKjfy':_0x324b71(0x1f2),'fJEQM':_0x324b71(0x1a8),'cbpCI':function(_0x5cbb9b,_0x59f774){return _0x5cbb9b===_0x59f774;},'fztiI':'scannerVersion','xdpNE':_0x324b71(0x19f),'nsHGn':_0x324b71(0x162),'GthXi':_0x324b71(0x1c8),'zzPYS':function(_0x5b3d72,_0x3daef9){return _0x5b3d72===_0x3daef9;},'uwBng':_0x324b71(0x1f0),'mLxiN':function(_0x11ff7e,_0x52a755){return _0x11ff7e===_0x52a755;},'RErLI':function(_0x17b746,_0x7606a6){return _0x17b746===_0x7606a6;},'CJAJp':_0x324b71(0x21a)};global[_0x324b71(0x183)]=global[_0x324b71(0x183)]||{};for(const _0xef1008 of _0x5161c0){logger['info'](_0x324b71(0x2e5)+_0xef1008[_0x324b71(0x1e9)]()+_0x324b71(0x17a)+_0xef1008[_0x324b71(0x245)]());if(_0x4fd1db['WpkLf'](_0xef1008[_0x324b71(0x1e9)](),_0x4fd1db[_0x324b71(0x2f2)])){const _0x26a4ac=_0xef1008[_0x324b71(0x245)]();process[_0x324b71(0x15a)][_0x324b71(0x286)]=_0x26a4ac,global[_0x324b71(0x183)][_0x4fd1db[_0x324b71(0x179)]]=_0x26a4ac;const _0xc257d0=_0x4fd1db['GQlKq'](require,_0x4fd1db['dqqwZ']),{isTrue:_0x458142}=_0x4fd1db[_0x324b71(0x1e8)](require,_0x4fd1db['mQygi']),_0x1f9b47=_0xc257d0[_0x324b71(0x154)](_0x26a4ac);_0x1f9b47&&_0x4fd1db[_0x324b71(0x1e8)](_0x458142,_0x1f9b47[_0x324b71(0x112)])&&(process[_0x324b71(0x15a)][_0x324b71(0x2df)]=!![]);}else{if(_0x4fd1db[_0x324b71(0x2c3)](_0xef1008[_0x324b71(0x1e9)](),_0x4fd1db[_0x324b71(0xff)]))global[_0x324b71(0x183)][_0x4fd1db[_0x324b71(0x130)]]=_0xef1008['getValue']();else{if(_0x4fd1db[_0x324b71(0x2f3)](_0xef1008['getName'](),_0x4fd1db[_0x324b71(0x16b)]))global[_0x324b71(0x183)][_0x4fd1db[_0x324b71(0x148)]]=_0xef1008['getValue']();else{if(_0x4fd1db[_0x324b71(0x2c3)](_0xef1008[_0x324b71(0x1e9)](),_0x4fd1db[_0x324b71(0x2bc)]))global[_0x324b71(0x183)][_0x4fd1db[_0x324b71(0x257)]]=_0xef1008[_0x324b71(0x245)]();else{if(_0x4fd1db[_0x324b71(0x2a8)](_0xef1008[_0x324b71(0x1e9)](),_0x4fd1db['uwBng'])){const _0xc53a23=_0xef1008[_0x324b71(0x245)]();process[_0x324b71(0x15a)][_0x324b71(0x119)]=_0x4fd1db['GQlKq'](String,_0x4fd1db[_0x324b71(0x132)](_0xc53a23,!![])||_0x4fd1db[_0x324b71(0x176)](_0xc53a23,_0x4fd1db[_0x324b71(0x2d4)])),logger['debug'](_0x324b71(0x170)+_0xc53a23+'\x20env='+process[_0x324b71(0x15a)][_0x324b71(0x119)]);}}}}}}}async[a90_0x4db811(0x298)](_0x3589b0){const _0x30d6ae=a90_0x4db811,_0xb7c78={};_0xb7c78[_0x30d6ae(0x1de)]=function(_0x4189ba,_0x45f4c5){return _0x4189ba!==_0x45f4c5;},_0xb7c78[_0x30d6ae(0x189)]='cucumber',_0xb7c78[_0x30d6ae(0x270)]=_0x30d6ae(0x2db),_0xb7c78[_0x30d6ae(0x141)]=_0x30d6ae(0x253),_0xb7c78[_0x30d6ae(0x203)]=_0x30d6ae(0x1a1);const _0x468c65=_0xb7c78;if(_0x468c65[_0x30d6ae(0x1de)](_0x3589b0['testFramework'],_0x468c65['MhADv'])&&_0x468c65[_0x30d6ae(0x1de)](_0x3589b0[_0x30d6ae(0x209)],_0x468c65[_0x30d6ae(0x270)])){logger['debug'](_0x468c65[_0x30d6ae(0x141)]);return;}const _0x53412d=_0x3589b0[_0x30d6ae(0x2d5)]?.[_0x30d6ae(0x29a)]||_0x3589b0[_0x30d6ae(0x2d5)]?.['id']||global[_0x30d6ae(0x2c9)];logger[_0x30d6ae(0x235)](_0x30d6ae(0x11d)+_0x3589b0['testFramework']+_0x30d6ae(0x1fd)+_0x53412d);try{const _0x4ce8b1=_0x3589b0[_0x30d6ae(0x129)]||AutomationFramework[_0x30d6ae(0x14a)](),_0x5b6721=CLIUtils[_0x30d6ae(0x20f)](),_0x35a082=this[_0x30d6ae(0x193)]();logger[_0x30d6ae(0x194)](_0x30d6ae(0x1dd)+(_0x4ce8b1?.[_0x30d6ae(0x19e)]?.()||_0x468c65[_0x30d6ae(0x203)])+_0x30d6ae(0x2cf)+_0x35a082),_0x35a082&&await this[_0x30d6ae(0x27c)](_0x4ce8b1,_0x3589b0),this[_0x30d6ae(0x19d)][_0x30d6ae(0x251)](_0x5b6721),this[_0x30d6ae(0x142)]['delete'](_0x5b6721);}catch(_0x4da74b){logger[_0x30d6ae(0x2de)](_0x30d6ae(0x19c)+(_0x4da74b[_0x30d6ae(0x18c)]||_0x4da74b[_0x30d6ae(0x181)]));}}async[a90_0x4db811(0x27c)](_0x1ec51f,_0x123404){const _0x34588a=a90_0x4db811,_0x2dc030={};_0x2dc030[_0x34588a(0x27f)]=function(_0xdaa581,_0x349ad4){return _0xdaa581===_0x349ad4;},_0x2dc030['AfyPH']=_0x34588a(0x1d8),_0x2dc030['lvGKj']=function(_0x33b8a4,_0x46d446){return _0x33b8a4===_0x46d446;},_0x2dc030[_0x34588a(0x26a)]='jest',_0x2dc030[_0x34588a(0x2c5)]=_0x34588a(0x231),_0x2dc030[_0x34588a(0x27d)]=_0x34588a(0x20e),_0x2dc030[_0x34588a(0x163)]=_0x34588a(0x19d),_0x2dc030[_0x34588a(0x275)]=_0x34588a(0x2b2),_0x2dc030[_0x34588a(0x145)]='unknown',_0x2dc030[_0x34588a(0x1f6)]=_0x34588a(0x282),_0x2dc030[_0x34588a(0x133)]=_0x34588a(0x2ef),_0x2dc030[_0x34588a(0x2e4)]=function(_0x3eae70,_0x163ec9){return _0x3eae70===_0x163ec9;},_0x2dc030[_0x34588a(0x137)]=function(_0x63ac39,_0x38c984){return _0x63ac39||_0x38c984;},_0x2dc030[_0x34588a(0x201)]=function(_0x1f6dad,_0x20ae0f){return _0x1f6dad||_0x20ae0f;},_0x2dc030[_0x34588a(0x29e)]=function(_0x5876f7,_0x8fdb28){return _0x5876f7||_0x8fdb28;},_0x2dc030[_0x34588a(0x12f)]=_0x34588a(0x2c0),_0x2dc030[_0x34588a(0x2d9)]='AUTOMATION_SESSIONS',_0x2dc030['LSVAf']=_0x34588a(0x172);const _0x31d5b4=_0x2dc030;try{const _0x515392=_0x123404[_0x34588a(0x209)]||(_0x31d5b4[_0x34588a(0x182)](this[_0x34588a(0x15b)]?.[_0x34588a(0x167)]?.[_0x34588a(0x1c1)](),_0x31d5b4[_0x34588a(0x26a)])?_0x31d5b4['EOfks']:_0x31d5b4[_0x34588a(0x2c5)]);let _0x2b1aba='',_0x9fce78=null,_0x6e1905=null;if(_0x31d5b4[_0x34588a(0x27f)](_0x515392,_0x31d5b4[_0x34588a(0x26a)])){_0x9fce78=_0x123404['testInfo']?.[_0x34588a(0x29a)]||_0x123404[_0x34588a(0x2d5)]?.['id']||global[_0x34588a(0x2c9)];if(!_0x9fce78){logger['warn'](_0x31d5b4[_0x34588a(0x27d)]);return;}try{const _0x237724=await GrpcClient['getInstance']()[_0x34588a(0x202)](process['env'][_0x34588a(0x2ed)],_0x31d5b4['pvoeu'],_0x31d5b4['eLGPj'],_0x9fce78),_0x3a0868=AccessibilityModule[_0x34588a(0x2a1)](null,_0x237724);_0x2b1aba=_0x3a0868?.[_0x34588a(0x1e2)]||'',logger['debug']('[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x2b1aba+_0x34588a(0x17c)+_0x9fce78),_0x6e1905=_0x237724;}catch(_0x4bb9d5){logger[_0x34588a(0x2de)](_0x34588a(0x259)+_0x4bb9d5[_0x34588a(0x181)]);return;}}else{const _0x3a0f63=this['getTestId'](_0x123404);_0x2b1aba=TestInfo[_0x34588a(0x175)](_0x3a0f63);}const _0x4603de=((()=>{const _0x10e863=_0x34588a,_0x3c3a5c=(this[_0x10e863(0x228)]?.[_0x10e863(0x246)]?.['capabilitiesList']||[])[_0x10e863(0x2ce)](_0x2c1d56=>(typeof _0x2c1d56['getName']===_0x10e863(0x1d8)?_0x2c1d56[_0x10e863(0x1e9)]():_0x2c1d56['name'])===this[_0x10e863(0x29f)]);return _0x3c3a5c?_0x31d5b4[_0x10e863(0x27f)](typeof _0x3c3a5c[_0x10e863(0x245)],_0x31d5b4[_0x10e863(0x1fe)])?_0x3c3a5c[_0x10e863(0x245)]():_0x3c3a5c[_0x10e863(0x20a)]:'';})()),_0x4f4197=process[_0x34588a(0x15a)][_0x34588a(0x237)]||'';logger[_0x34588a(0x194)](_0x34588a(0x1dd)+(_0x1ec51f?.[_0x34588a(0x19e)]?.()||_0x31d5b4[_0x34588a(0x145)])+_0x34588a(0x214)+_0x2b1aba+_0x34588a(0x1c9)+_0x4603de+_0x34588a(0x2cc)+(_0x4f4197?_0x31d5b4[_0x34588a(0x1f6)]:_0x31d5b4[_0x34588a(0x133)]));let _0xfda85f;if(_0x31d5b4[_0x34588a(0x2e4)](_0x515392,_0x31d5b4[_0x34588a(0x26a)]))_0xfda85f=AccessibilityModule[_0x34588a(0x2a1)](_0x2b1aba,_0x6e1905);else{const _0x1997ba=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process[_0x34588a(0x15a)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x31d5b4[_0x34588a(0x163)],_0x31d5b4[_0x34588a(0x275)]);_0xfda85f=AccessibilityModule[_0x34588a(0x2a1)](_0x2b1aba,_0x1997ba);}logger[_0x34588a(0x194)](_0x34588a(0x15f)+JSON['stringify'](_0xfda85f));const _0x46d00a=Object['assign']({},{'thTestRunUuid':_0x31d5b4[_0x34588a(0x137)](_0x2b1aba,''),'thBuildUuid':_0x31d5b4[_0x34588a(0x201)](_0x4603de,''),'thJwtToken':_0x31d5b4[_0x34588a(0x29e)](_0x4f4197,'')},_0xfda85f);!this[_0x34588a(0x1ea)]&&this[_0x34588a(0x1e1)]()&&(_0x46d00a[_0x34588a(0x255)]=!![],logger[_0x34588a(0x194)](_0x31d5b4[_0x34588a(0x12f)]));logger[_0x34588a(0x194)](_0x34588a(0x13f)+_0x2b1aba+_0x34588a(0x26c)+this[_0x34588a(0x1ea)]);let _0x4daf1a=global['__workerDetails']?.['pwPage']||null;!_0x4daf1a&&(_0x4daf1a=AutomationFramework[_0x34588a(0x144)](_0x1ec51f,_0x31d5b4[_0x34588a(0x2d9)],null)),!_0x4daf1a&&(_0x4daf1a=AutomationFramework['getState'](_0x1ec51f,_0x31d5b4['LSVAf'],null)),await this[_0x34588a(0x28f)](this['getCurrentAccessibilityStatus'](),_0x2b1aba,_0x4daf1a,_0x46d00a,this[_0x34588a(0x1ea)]);}catch(_0x3f8a48){logger[_0x34588a(0x2de)](_0x34588a(0x1bd)+(_0x3f8a48['stack']||_0x3f8a48[_0x34588a(0x181)]));}}async[a90_0x4db811(0x28f)](_0x58c8ef,_0x1d864c,_0x170e90,_0x236246,_0x2e1658){const _0x37c8e4=a90_0x4db811,_0x298c62={};_0x298c62[_0x37c8e4(0x1a5)]=_0x37c8e4(0x2b2),_0x298c62[_0x37c8e4(0x166)]=function(_0x55f6a2,_0x3b5960){return _0x55f6a2&&_0x3b5960;},_0x298c62['jTUSh']=_0x37c8e4(0x10a),_0x298c62[_0x37c8e4(0x25f)]=function(_0x8a3137,_0x37ae4d){return _0x8a3137===_0x37ae4d;},_0x298c62[_0x37c8e4(0x11e)]='null',_0x298c62['GvvBi']='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x298c62['fJSiO']=_0x37c8e4(0x24a),_0x298c62[_0x37c8e4(0x277)]='afterTestHook',_0x298c62[_0x37c8e4(0x135)]='scan',_0x298c62[_0x37c8e4(0x13c)]=function(_0x5c73a3,_0x3e1059){return _0x5c73a3&&_0x3e1059;},_0x298c62['QdsHs']='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x298c62[_0x37c8e4(0x2be)]=_0x37c8e4(0x239),_0x298c62[_0x37c8e4(0x13d)]='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x1bd238=_0x298c62;try{const _0x544623=this[_0x37c8e4(0x287)](_0x1bd238[_0x37c8e4(0x1a5)]);if(_0x1bd238[_0x37c8e4(0x166)](!_0x2e1658,!_0x544623)){logger[_0x37c8e4(0x194)](_0x1bd238['jTUSh']);return;}if(!_0x1d864c||_0x1bd238['ZveRT'](_0x1d864c,_0x1bd238[_0x37c8e4(0x11e)])||_0x1bd238[_0x37c8e4(0x25f)](_0x1d864c,'')){logger[_0x37c8e4(0x194)](_0x1bd238[_0x37c8e4(0x17f)]);return;}logger[_0x37c8e4(0x194)](_0x37c8e4(0x168)+JSON[_0x37c8e4(0x101)](_0x236246)),_0x58c8ef&&(logger[_0x37c8e4(0x194)](_0x1bd238[_0x37c8e4(0x1be)]),await this[_0x37c8e4(0x198)](_0x170e90,_0x1d864c,_0x1bd238['UtEWN'],_0x236246,_0x2e1658,_0x1bd238[_0x37c8e4(0x135)]),_0x1bd238[_0x37c8e4(0x13c)](!_0x2e1658,_0x544623)&&(logger[_0x37c8e4(0x194)](_0x1bd238[_0x37c8e4(0x2da)]),await PerformanceTester[_0x37c8e4(0x2dd)](_0x1bd238['zSJOU'],async()=>{const _0x268025=_0x37c8e4;await this[_0x268025(0x198)](_0x170e90,_0x1d864c,_0x1bd238[_0x268025(0x1a5)],_0x236246,_0x2e1658,_0x1bd238[_0x268025(0x1a5)]);})()),logger[_0x37c8e4(0x235)](_0x1bd238[_0x37c8e4(0x13d)]));}catch(_0x3ab3d2){logger[_0x37c8e4(0x2de)](_0x37c8e4(0x173)+(_0x3ab3d2[_0x37c8e4(0x18c)]||_0x3ab3d2['message']));}}async[a90_0x4db811(0x2f1)](_0x26b970){const _0x10bb15=a90_0x4db811,_0x44b826={};_0x44b826['eYBhM']=function(_0x2ae77b,_0x466409){return _0x2ae77b!==_0x466409;},_0x44b826[_0x10bb15(0x23a)]=_0x10bb15(0x231),_0x44b826['kPUfF']=_0x10bb15(0x2db),_0x44b826['DZmah']=_0x10bb15(0x2e6),_0x44b826[_0x10bb15(0x2d3)]=_0x10bb15(0x1a1),_0x44b826[_0x10bb15(0x147)]=_0x10bb15(0x1c2),_0x44b826['JUHhH']=function(_0x412a2,_0x157bdd){return _0x412a2===_0x157bdd;},_0x44b826[_0x10bb15(0x272)]=_0x10bb15(0x155),_0x44b826['ThIVr']=_0x10bb15(0x19d),_0x44b826[_0x10bb15(0x2b7)]=_0x10bb15(0x1b8),_0x44b826[_0x10bb15(0x2a7)]=_0x10bb15(0x164),_0x44b826[_0x10bb15(0x177)]=_0x10bb15(0x187),_0x44b826[_0x10bb15(0x16e)]=function(_0x2b579b,_0x41cf65){return _0x2b579b===_0x41cf65;},_0x44b826[_0x10bb15(0x2b1)]='scan',_0x44b826['pCLeG']='null';const _0xa3f452=_0x44b826;if(_0xa3f452[_0x10bb15(0x28c)](_0x26b970[_0x10bb15(0x209)],_0xa3f452[_0x10bb15(0x23a)])&&_0xa3f452[_0x10bb15(0x28c)](_0x26b970['testFramework'],_0xa3f452['kPUfF'])){logger['debug'](_0xa3f452[_0x10bb15(0x222)]);return;}logger[_0x10bb15(0x194)](_0x10bb15(0x213)+(_0x26b970['commandName']||_0xa3f452[_0x10bb15(0x2d3)])+',\x20framework='+_0x26b970[_0x10bb15(0x209)]);try{const _0x19d4a9=_0x26b970[_0x10bb15(0x129)]||AutomationFramework[_0x10bb15(0x14a)](),_0x2a5e20=TestFramework[_0x10bb15(0x14a)](),_0x4ce3a1=_0x26b970[_0x10bb15(0x293)]||_0x26b970['command']?.[_0x10bb15(0x1e9)]();if(!_0x4ce3a1){logger[_0x10bb15(0x194)](_0xa3f452['nQiWB']);return;}if(!this[_0x10bb15(0x193)]()){logger[_0x10bb15(0x194)](_0x10bb15(0x146)+_0x4ce3a1);return;}if(!this[_0x10bb15(0x23e)](_0x4ce3a1)){logger[_0x10bb15(0x194)]('onBeforeExecute:\x20Command\x20'+_0x4ce3a1+_0x10bb15(0x19b));return;}const _0x5216dc=_0x26b970[_0x10bb15(0x2c1)]||global[_0x10bb15(0x1d4)]?.[_0x10bb15(0x2c4)];if(!_0x5216dc){logger[_0x10bb15(0x194)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x4ce3a1);return;}let _0x59eb69='',_0x3a7773=null;if(_0xa3f452[_0x10bb15(0x192)](_0x26b970[_0x10bb15(0x209)],_0xa3f452['kPUfF'])){_0x3a7773=_0x26b970[_0x10bb15(0x2d5)]?.[_0x10bb15(0x29a)]||_0x26b970['testInfo']?.['id']||global[_0x10bb15(0x2c9)];if(!_0x3a7773){logger[_0x10bb15(0x10b)](_0xa3f452[_0x10bb15(0x272)]);return;}try{const _0x56fcc1=await GrpcClient[_0x10bb15(0x1d2)]()[_0x10bb15(0x202)](process['env'][_0x10bb15(0x2ed)],_0xa3f452[_0x10bb15(0x14c)],_0xa3f452[_0x10bb15(0x2b7)],_0x3a7773),_0xf1d86d=AccessibilityModule[_0x10bb15(0x2a1)](null,_0x56fcc1);_0x59eb69=_0xf1d86d?.['thTestRunUuid']||'',logger[_0x10bb15(0x194)](_0x10bb15(0x1e0)+_0x59eb69+'\x20from\x20testIdentifier='+_0x3a7773);}catch(_0x33f72c){logger[_0x10bb15(0x2de)]('onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x33f72c[_0x10bb15(0x181)]);return;}}else _0x59eb69=this[_0x10bb15(0x25b)](_0xa3f452[_0x10bb15(0x2a7)])||'',!_0x59eb69&&this[_0x10bb15(0x1e1)]()&&(_0x59eb69=accessibilityHelper[_0x10bb15(0x299)]());const _0xcd337a=this[_0x10bb15(0x25b)](_0xa3f452[_0x10bb15(0x177)])||this[_0x10bb15(0x228)][this[_0x10bb15(0x29f)]]||null,_0xf28937=process[_0x10bb15(0x15a)][_0x10bb15(0x237)]||'',_0x10e80b=this[_0x10bb15(0x1c7)](_0x4ce3a1,_0x59eb69,_0xcd337a,_0xf28937),_0x2e229d=_0xa3f452[_0x10bb15(0x16e)](_0x26b970[_0x10bb15(0x209)],_0xa3f452[_0x10bb15(0x27e)])?await AccessibilityModule[_0x10bb15(0x2d2)](_0xa3f452['eeAHk'],_0x59eb69,_0x3a7773):await AccessibilityModule[_0x10bb15(0x2d2)](_0xa3f452[_0x10bb15(0x2b1)],_0x59eb69);logger[_0x10bb15(0x235)](_0x10bb15(0x1d0)+(_0x10e80b?JSON['stringify'](_0x10e80b):_0xa3f452[_0x10bb15(0x1c4)]));const _0x5c2f52=CLIUtils[_0x10bb15(0x199)](_0x10e80b,_0x2e229d);logger[_0x10bb15(0x235)](_0x10bb15(0x15c)+(_0x5c2f52?JSON[_0x10bb15(0x101)](_0x5c2f52):_0xa3f452[_0x10bb15(0x1c4)])),logger[_0x10bb15(0x194)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x4ce3a1);const _0x76c3fe=await this[_0x10bb15(0x198)](_0x5216dc,_0x59eb69,_0x4ce3a1,_0x5c2f52,this['isAppAccessibility']);logger[_0x10bb15(0x194)](_0x10bb15(0x1b4)+_0x4ce3a1+_0x10bb15(0x2ad)+JSON[_0x10bb15(0x101)](_0x76c3fe));}catch(_0x6ccac4){logger[_0x10bb15(0x2de)]('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x6ccac4[_0x10bb15(0x18c)]||_0x6ccac4[_0x10bb15(0x181)]));}}[a90_0x4db811(0x1f1)](){const _0x4c23b9=a90_0x4db811;return this[_0x4c23b9(0x193)]();}[a90_0x4db811(0x16a)](_0x23be70){const _0x267629=a90_0x4db811,_0x481b11=CLIUtils['getCurrentInstanceName']();this[_0x267629(0x19d)][_0x267629(0x2b4)](_0x481b11,_0x23be70);}async[a90_0x4db811(0x118)](_0x236113){const _0x1caaea=a90_0x4db811,_0x4f55ab={};_0x4f55ab[_0x1caaea(0x1f7)]=_0x1caaea(0x1a1);const _0x2f88a2=_0x4f55ab;try{const _0xd1bdd9=_0x236113[_0x1caaea(0x129)]||AutomationFramework['getTrackedInstance'](),_0x400657=_0xd1bdd9?.[_0x1caaea(0x1d3)]?.()?.[_0x1caaea(0x14b)]?.(this[_0x1caaea(0x1bf)])||![];if(_0x400657)return;PerformanceTester[_0x1caaea(0x261)](EVENTS[_0x1caaea(0x241)]);const _0x483682=await GrpcClient['getInstance']()['getAccessibilityConfig'](_0x236113);_0x483682&&_0x483682['getAccessibility']&&_0x483682[_0x1caaea(0x1b5)]()&&_0x483682[_0x1caaea(0x1b5)]()[_0x1caaea(0x123)]()?(await this[_0x1caaea(0x221)](_0x483682,_0x236113),_0xd1bdd9?.[_0x1caaea(0x1d3)]&&_0xd1bdd9[_0x1caaea(0x1d3)]()[_0x1caaea(0x2b4)](this['KEY_INIT'],!![]),logger[_0x1caaea(0x194)](_0x1caaea(0x1dd)+(_0xd1bdd9?.[_0x1caaea(0x19e)]?.()||_0x2f88a2[_0x1caaea(0x1f7)])+_0x1caaea(0x17b))):logger['debug'](_0x1caaea(0x1dd)+(_0xd1bdd9?.[_0x1caaea(0x19e)]?.()||_0x2f88a2[_0x1caaea(0x1f7)])+_0x1caaea(0x180)),PerformanceTester[_0x1caaea(0x2c2)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x316d67){PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x316d67['message']),logger[_0x1caaea(0x2de)](_0x1caaea(0x120)+(_0x316d67[_0x1caaea(0x18c)]||_0x316d67[_0x1caaea(0x181)]));}}async['loadAccessibilityConfig'](_0x2d3335,_0x339ecd){const _0x3a041b=a90_0x4db811;await this[_0x3a041b(0x116)](_0x2d3335,_0x339ecd);const _0x4e3238=_0x2d3335['getAccessibility']()[_0x3a041b(0x197)]();if(_0x4e3238){const _0x34d8e6=_0x2d3335[_0x3a041b(0x16c)]&&_0x2d3335['getTesthub']();_0x34d8e6&&(this[_0x3a041b(0x228)][this[_0x3a041b(0x29f)]]=_0x34d8e6['getBuildId']&&_0x34d8e6[_0x3a041b(0x1af)]());}}[a90_0x4db811(0x23e)](_0x2707d8){const _0x19a015=a90_0x4db811,_0x2b45eb={};_0x2b45eb[_0x19a015(0x185)]=function(_0x2272de,_0x2a646e){return _0x2272de===_0x2a646e;};const _0x23a67e=_0x2b45eb;try{if(!_0x2707d8)return![];const _0x2afe93=this[_0x19a015(0x228)]?.['options']?.[_0x19a015(0x11b)]?.[_0x19a015(0x25a)]||[],_0x35411b=_0x2afe93[_0x19a015(0x2f5)](_0x365c91=>{const _0x348780=_0x19a015;return _0x365c91[_0x348780(0x167)]&&_0x23a67e['NXvPq'](_0x365c91['name'][_0x348780(0x1c1)](),_0x2707d8['toLowerCase']());});return logger[_0x19a015(0x194)](_0x19a015(0x21f)+_0x2707d8+_0x19a015(0x2e2)+_0x35411b+',\x20available\x20commands:\x20'+JSON[_0x19a015(0x101)](_0x2afe93[_0x19a015(0x247)](_0x177a95=>_0x177a95['name']))),_0x35411b;}catch(_0x372635){return logger[_0x19a015(0x194)]('Error\x20in\x20shouldScanForCommand:\x20'+_0x372635[_0x19a015(0x181)]),![];}}[a90_0x4db811(0x27b)](_0x5f5a01){const _0x4fea3b=a90_0x4db811,_0x1e7423={};_0x1e7423[_0x4fea3b(0x1e6)]=function(_0x303267,_0x141451){return _0x303267===_0x141451;},_0x1e7423['mOIZk']=_0x4fea3b(0x128),_0x1e7423['nsXjR']=_0x4fea3b(0x2d8);const _0x6ce93=_0x1e7423,_0x437879=_0x5f5a01[_0x4fea3b(0x115)]&&_0x5f5a01[_0x4fea3b(0x115)]();return _0x437879&&_0x6ce93[_0x4fea3b(0x1e6)](typeof _0x437879,_0x6ce93[_0x4fea3b(0x223)])&&_0x437879[_0x4fea3b(0x1aa)](_0x6ce93[_0x4fea3b(0x284)]);}[a90_0x4db811(0x2ea)](_0x2cffda){const _0x3361ea=a90_0x4db811,_0x36077d={};_0x36077d[_0x3361ea(0x276)]=function(_0x286fc0,_0x268e14){return _0x286fc0!==_0x268e14;},_0x36077d['caHVj']='string',_0x36077d['GwyxB']=_0x3361ea(0x19d),_0x36077d[_0x3361ea(0x1e3)]=_0x3361ea(0x1b8),_0x36077d['pwwWE']='getResults',_0x36077d[_0x3361ea(0x22e)]=_0x3361ea(0x23b);const _0x23354c=_0x36077d,_0x3779de=_0x2cffda[_0x3361ea(0x115)]&&_0x2cffda[_0x3361ea(0x115)]();if(!_0x3779de||_0x23354c[_0x3361ea(0x276)](typeof _0x3779de,_0x23354c['caHVj']))return![];return _0x3779de[_0x3361ea(0x1aa)](_0x23354c[_0x3361ea(0x29b)])||_0x3779de[_0x3361ea(0x1aa)](_0x23354c[_0x3361ea(0x1e3)])||_0x3779de['includes'](_0x23354c[_0x3361ea(0x122)])||_0x3779de[_0x3361ea(0x1aa)](_0x23354c[_0x3361ea(0x22e)]);}['isMobileWebSession'](){const _0x6b84c=a90_0x4db811,_0x321ff6={'NeiKE':function(_0x50bee9,_0x11ae59){return _0x50bee9===_0x11ae59;},'NhOei':_0x6b84c(0x1d8),'JidIA':function(_0x1ead99,_0x33a2fc){return _0x1ead99(_0x33a2fc);},'YDnIr':_0x6b84c(0x2b0),'ZaCsi':function(_0x2d95d5,_0xf9b9f9){return _0x2d95d5(_0xf9b9f9);},'iSoeZ':_0x6b84c(0x274),'hGIfc':_0x6b84c(0x12a),'LFvrg':_0x6b84c(0x190)};try{const _0x14c4b4=this[_0x6b84c(0x228)]?.[_0x6b84c(0x246)]?.[_0x6b84c(0x110)]||[],_0x23a900=_0x4d06d3=>{const _0x13602e=_0x6b84c,_0x4d624e=_0x14c4b4['find'](_0x5d3159=>(typeof _0x5d3159[_0x13602e(0x1e9)]===_0x13602e(0x1d8)?_0x5d3159['getName']():_0x5d3159[_0x13602e(0x167)])===_0x4d06d3);return _0x4d624e?_0x321ff6[_0x13602e(0x22f)](typeof _0x4d624e[_0x13602e(0x245)],_0x321ff6[_0x13602e(0x2ee)])?_0x4d624e[_0x13602e(0x245)]():_0x4d624e[_0x13602e(0x20a)]:null;},_0x3db6f0=_0x321ff6[_0x6b84c(0x2e0)](_0x23a900,_0x321ff6[_0x6b84c(0x143)]),_0x536dd9=_0x321ff6[_0x6b84c(0x105)](_0x23a900,_0x321ff6[_0x6b84c(0x157)]),_0x3c6f31=global[_0x6b84c(0x1d1)]||_0x3db6f0&&_0x321ff6[_0x6b84c(0x22f)](_0x321ff6['ZaCsi'](String,_0x3db6f0)[_0x6b84c(0x1c1)](),_0x321ff6[_0x6b84c(0x20c)])&&_0x536dd9&&_0x321ff6[_0x6b84c(0x105)](String,_0x536dd9)['toLowerCase']()[_0x6b84c(0x1aa)](_0x321ff6[_0x6b84c(0x297)]);if(!_0x3c6f31)return![];if(!accessibilityHelper[_0x6b84c(0x1f0)]())return!this[_0x6b84c(0x1a3)]&&(logger['warn'](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),this[_0x6b84c(0x1a3)]=!![]),![];return!![];}catch(_0x313141){return logger[_0x6b84c(0x194)]('isMobileWebSession:\x20error\x20checking\x20driver\x20caps:\x20'+_0x313141[_0x6b84c(0x181)]),![];}}[a90_0x4db811(0x1c7)](_0x51b2a5,_0x34b07d,_0x4afa66,_0x5e42fe){const _0x33bc35=a90_0x4db811,_0x2632cf={};_0x2632cf['ThWsx']=function(_0x1b275d,_0xd0a91e){return _0x1b275d||_0xd0a91e;},_0x2632cf[_0x33bc35(0x1cc)]=function(_0x40d1e0,_0x199a34){return _0x40d1e0&&_0x199a34;},_0x2632cf[_0x33bc35(0x13a)]=function(_0x2b22d5,_0x325267){return _0x2b22d5||_0x325267;},_0x2632cf['aBueD']=function(_0x21da95,_0x13ffeb){return _0x21da95||_0x13ffeb;},_0x2632cf[_0x33bc35(0x184)]='getParamsForScanForCli:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session';const _0x34a166=_0x2632cf;let _0x1bb108=_0x34a166['ThWsx'](_0x34b07d,'');const _0x1c245d=!this['isAppAccessibility']&&this['isMobileWebSession']();_0x34a166[_0x33bc35(0x1cc)](_0x1c245d,!_0x1bb108)&&(_0x1bb108=accessibilityHelper[_0x33bc35(0x299)]());const _0x2570b4={'command':_0x51b2a5,'thTestRunUuid':_0x1bb108,'thBuildUuid':_0x34a166[_0x33bc35(0x13a)](_0x4afa66,''),'thJwtToken':_0x34a166[_0x33bc35(0x108)](_0x5e42fe,''),'timestamp':new Date()[_0x33bc35(0x2c8)]()};return _0x1c245d&&(_0x2570b4[_0x33bc35(0x255)]=!![],logger[_0x33bc35(0x194)](_0x34a166[_0x33bc35(0x184)])),_0x2570b4;}[a90_0x4db811(0x287)](_0x264509){const _0x10fe91=a90_0x4db811,_0x1f5ad5={};_0x1f5ad5[_0x10fe91(0x288)]=function(_0x3476e1,_0x3e2222){return _0x3476e1||_0x3e2222;};const _0x4590dd=_0x1f5ad5;try{const _0x28a3dc=this['accessibilityConfig']?.['options']?.[_0x10fe91(0x1a9)]||[],_0x5c9a72=_0x28a3dc[_0x10fe91(0x2ce)](_0x413590=>_0x413590['name']===_0x264509);return _0x4590dd[_0x10fe91(0x288)](_0x5c9a72,null);}catch(_0x357366){return logger['debug'](_0x10fe91(0x1ed)+_0x264509+':\x20'+_0x357366['message']),null;}}async[a90_0x4db811(0x2cb)](_0x411758,_0x28db5e,_0x147c93=null){const _0x2e8520=a90_0x4db811,_0x473107={'zvjie':function(_0x4dc1fb,_0x36297d){return _0x4dc1fb(_0x36297d);},'Qjuls':_0x2e8520(0x195)};try{if(!_0x411758)return logger[_0x2e8520(0x194)](_0x2e8520(0x242)+_0x28db5e),null;const _0x1a6129=this[_0x2e8520(0x287)](_0x28db5e);if(!_0x1a6129||!_0x1a6129[_0x2e8520(0x127)])return logger[_0x2e8520(0x194)](_0x2e8520(0x152)+_0x28db5e+_0x2e8520(0x10c)),null;logger[_0x2e8520(0x194)]('Executing\x20'+_0x28db5e+_0x2e8520(0x238));const _0x12c427=_0x473107['zvjie'](require,_0x473107[_0x2e8520(0x269)]),_0x4fad20=_0x147c93?await _0x12c427['browserStackEvaluate'](_0x411758,_0x1a6129[_0x2e8520(0x127)],_0x147c93):await _0x12c427[_0x2e8520(0x230)](_0x411758,_0x1a6129[_0x2e8520(0x127)]);return _0x4fad20;}catch(_0x59b545){return logger[_0x2e8520(0x2de)](_0x2e8520(0x160)+_0x28db5e+':\x20'+(_0x59b545['stack']||_0x59b545['message'])),null;}}async[a90_0x4db811(0x198)](_0x2502e2,_0x5ea25f,_0x3d6df3,_0x571c88,_0x3ab4e2,_0x44b33a=a90_0x4db811(0x1a7)){const _0x5ad5d6=a90_0x4db811,_0x426169={'mPovb':function(_0x5c486f,_0x30195a){return _0x5c486f===_0x30195a;},'MsDKI':'scan','IdDxs':function(_0xb1c263,_0x525ac6){return _0xb1c263(_0x525ac6);},'QUnqB':_0x5ad5d6(0x195),'SKpKY':function(_0x525432,_0x3315f9){return _0x525432(_0x3315f9);}};try{logger[_0x5ad5d6(0x194)](_0x5ad5d6(0x295)+_0x3d6df3+_0x5ad5d6(0x291)+_0x44b33a);const _0x1b9f85=this[_0x5ad5d6(0x287)](_0x44b33a);if(!_0x1b9f85||!_0x1b9f85[_0x5ad5d6(0x127)]){logger['debug'](_0x5ad5d6(0x23c)+_0x44b33a+_0x5ad5d6(0x149));return;}if(_0x426169[_0x5ad5d6(0x18a)](_0x44b33a,_0x426169['MsDKI'])){const _0x127ba0=_0x426169['IdDxs'](require,_0x426169['QUnqB']),_0x3dfb98={};_0x3dfb98[_0x5ad5d6(0x127)]=_0x3d6df3;const _0x544944=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5ad5d6(0x28e)],async()=>{const _0xfb2c2a=_0x5ad5d6;return await _0x127ba0['browserStackEvaluate'](_0x2502e2,_0x1b9f85[_0xfb2c2a(0x127)],_0x571c88);},_0x3dfb98)();return logger[_0x5ad5d6(0x235)](_0x5ad5d6(0x204)+_0x44b33a+_0x5ad5d6(0x2c6)+_0x3d6df3+':\x20'+util['format'](_0x544944)),_0x544944;}const _0x3e4cab=_0x426169[_0x5ad5d6(0x20d)](require,_0x426169[_0x5ad5d6(0x2b8)]),_0x11d4dc=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5ad5d6(0x1a2)],async()=>{const _0x43248f=_0x5ad5d6;return await _0x3e4cab[_0x43248f(0x230)](_0x2502e2,_0x1b9f85[_0x43248f(0x127)],_0x571c88);})();return logger['info']('Page\x20'+_0x44b33a+_0x5ad5d6(0x2c6)+_0x3d6df3+':\x20'+util['format'](_0x11d4dc)),_0x11d4dc;}catch(_0x2eed0b){logger['error'](_0x5ad5d6(0x18d)+_0x44b33a+':\x20'+(_0x2eed0b[_0x5ad5d6(0x18c)]||_0x2eed0b[_0x5ad5d6(0x181)]));}}async[a90_0x4db811(0x2a2)](_0x3482bf){const _0x51333a=a90_0x4db811,_0x39cc2a={'qvwqG':function(_0x183489,_0x5885fb){return _0x183489(_0x5885fb);},'zqliN':_0x51333a(0x131)};try{const _0x3cd5c7=_0x39cc2a[_0x51333a(0x1b1)](require,_0x39cc2a[_0x51333a(0x24c)]);return await _0x3cd5c7[_0x51333a(0x2ab)](_0x3482bf);}catch(_0x4442a6){return logger[_0x51333a(0x2de)](_0x51333a(0x1fa)+(_0x4442a6['stack']||_0x4442a6[_0x51333a(0x181)])),![];}}['processAccessibilityCaps'](_0x49e8fc,_0x349c0f,_0x4789ee){const _0x291c6d=a90_0x4db811,_0x911cde={'MUhtO':function(_0x43867b,_0x32252f){return _0x43867b(_0x32252f);},'JjHtp':'../../playwright/accessibility-helper','wFbXj':_0x291c6d(0x109),'aFDGT':_0x291c6d(0x265)};try{const _0x26e84b=_0x911cde[_0x291c6d(0x1ce)](require,_0x911cde[_0x291c6d(0x2d0)]);_0x26e84b[_0x291c6d(0x1ab)](_0x49e8fc,_0x349c0f,_0x4789ee);const _0x5db0d9=JSON['stringify'](_0x49e8fc)[_0x291c6d(0x1b2)](/"browserstack\.user":"[^"]*"/g,_0x911cde[_0x291c6d(0x2b5)])[_0x291c6d(0x1b2)](/"browserstack\.key":"[^"]*"/g,_0x911cde['aFDGT']);logger['debug'](_0x291c6d(0x271)+global[_0x291c6d(0x2bf)]+'\x20'+_0x5db0d9);}catch(_0x564dbb){logger[_0x291c6d(0x2de)](_0x291c6d(0x2b3)+(_0x564dbb[_0x291c6d(0x18c)]||_0x564dbb[_0x291c6d(0x181)]));}}async[a90_0x4db811(0x15d)](_0xdf048d){const _0x4c1cb9=a90_0x4db811,_0x2293a={};_0x2293a[_0x4c1cb9(0x260)]=_0x4c1cb9(0x1d5),_0x2293a[_0x4c1cb9(0x186)]=function(_0x5ccbde,_0x4efa47){return _0x5ccbde>_0x4efa47;},_0x2293a[_0x4c1cb9(0x285)]=_0x4c1cb9(0x106);const _0x12ae94=_0x2293a;try{if(!this[_0x4c1cb9(0x193)]())return logger[_0x4c1cb9(0x10b)](_0x12ae94['BISIM']),[];const _0x4202ba=this[_0x4c1cb9(0x1e1)]()?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x4c1cb9(0x299)]()}:{};_0x12ae94[_0x4c1cb9(0x186)](Object['keys'](_0x4202ba)[_0x4c1cb9(0x2ca)],0x0)&&logger[_0x4c1cb9(0x194)](_0x4c1cb9(0x2e3)+JSON['stringify'](_0x4202ba));const _0x4e3d80=_0x12ae94[_0x4c1cb9(0x186)](Object[_0x4c1cb9(0x1db)](_0x4202ba)[_0x4c1cb9(0x2ca)],0x0)?await this[_0x4c1cb9(0x2cb)](_0xdf048d,_0x12ae94[_0x4c1cb9(0x285)],_0x4202ba):await this[_0x4c1cb9(0x2cb)](_0xdf048d,_0x12ae94[_0x4c1cb9(0x285)]);return _0x4e3d80||[];}catch(_0x251895){return logger['error'](_0x4c1cb9(0x2bd)+(_0x251895['stack']||_0x251895['message'])),[];}}async['getAccessibilityResultsSummary'](_0x1f2237){const _0x38efd0=a90_0x4db811,_0x4a4dae={'XFRYY':_0x38efd0(0x1a7),'CqjbD':_0x38efd0(0x280),'QLblj':_0x38efd0(0x2a5),'KIbsU':function(_0x2d6d06,_0x1e7610){return _0x2d6d06(_0x1e7610);},'mFIqy':_0x38efd0(0x1ff),'dFrlr':function(_0x56975d,_0x43051e){return _0x56975d===_0x43051e;},'sHvxs':_0x38efd0(0x2db),'udaKq':_0x38efd0(0x224),'lgmNA':_0x38efd0(0x19d),'oujvt':'testhub_build_uuid','Tqeif':_0x38efd0(0x2f4),'ptsgz':_0x38efd0(0x164),'hdWSs':_0x38efd0(0x263),'FyogF':_0x38efd0(0x2e1)};try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x38efd0(0x10b)](_0x4a4dae[_0x38efd0(0x14d)]),{};const _0x44682c=_0x4a4dae[_0x38efd0(0x10e)](require,_0x4a4dae['mFIqy']),_0x2430a5=_0x44682c[_0x38efd0(0x233)](),_0x565f1d=_0x4a4dae[_0x38efd0(0x240)](_0x2430a5?.[_0x38efd0(0x167)]?.['toLowerCase'](),_0x4a4dae[_0x38efd0(0x124)]);let _0x3c9677='',_0x3941a3=null,_0x564a7c=null;if(_0x565f1d){_0x3941a3=global['__jestCurrentTestIdentifier']||global[_0x38efd0(0x1d4)]?.['currentTest']?.[_0x38efd0(0x29a)]||global[_0x38efd0(0x1d4)]?.[_0x38efd0(0x220)]?.['id'];if(!_0x3941a3)return logger[_0x38efd0(0x10b)](_0x4a4dae[_0x38efd0(0x29d)]),{};try{const _0x9b7c2d=await GrpcClient[_0x38efd0(0x1d2)]()[_0x38efd0(0x202)](process['env'][_0x38efd0(0x2ed)],_0x4a4dae[_0x38efd0(0x111)],_0x4a4dae[_0x38efd0(0x2eb)],_0x3941a3),_0x4f4fdb=AccessibilityModule[_0x38efd0(0x2a1)](null,_0x9b7c2d);_0x3c9677=_0x4f4fdb?.[_0x38efd0(0x1e2)]||'',logger[_0x38efd0(0x194)](_0x38efd0(0x266)+_0x3c9677+_0x38efd0(0x17c)+_0x3941a3);const _0x496728=await AccessibilityModule[_0x38efd0(0x2d2)](_0x4a4dae[_0x38efd0(0x2eb)],_0x3c9677,_0x3941a3),_0x5dd0cf=this[_0x38efd0(0x25b)](_0x4a4dae[_0x38efd0(0x2cd)])||this['accessibilityConfig'][this[_0x38efd0(0x29f)]]||null,_0x1f8897=process[_0x38efd0(0x15a)][_0x38efd0(0x237)]||'',_0x596848=this['getParamsForScanForCli'](_0x4a4dae[_0x38efd0(0x279)],_0x3c9677,_0x5dd0cf,_0x1f8897);_0x564a7c=_0x44682c['mergeObject'](_0x596848,_0x496728),logger['debug'](_0x38efd0(0x2b9)+JSON[_0x38efd0(0x101)](_0x564a7c));}catch(_0x17c635){return logger[_0x38efd0(0x2de)](_0x38efd0(0x26f)+_0x17c635[_0x38efd0(0x181)]),{};}}else{_0x3c9677=this['getCapabilityValue'](_0x4a4dae[_0x38efd0(0x1cd)])||'';!_0x3c9677&&this[_0x38efd0(0x1e1)]()&&(_0x3c9677=accessibilityHelper[_0x38efd0(0x299)]());const _0x141856=this[_0x38efd0(0x25b)](_0x4a4dae[_0x38efd0(0x2cd)])||this['accessibilityConfig'][this[_0x38efd0(0x29f)]]||null,_0x2a20eb=process[_0x38efd0(0x15a)]['BROWSERSTACK_TESTHUB_JWT']||'';_0x564a7c=this[_0x38efd0(0x1c7)](_0x4a4dae[_0x38efd0(0x279)],_0x3c9677,_0x141856,_0x2a20eb);}logger[_0x38efd0(0x194)](_0x4a4dae[_0x38efd0(0x1e5)]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xcdcaca=_0x38efd0,_0x2f73a5=await this[_0xcdcaca(0x2cb)](_0x1f2237,_0x4a4dae[_0xcdcaca(0x2a4)],_0x564a7c);logger[_0xcdcaca(0x194)](_0xcdcaca(0x229)+util[_0xcdcaca(0x1eb)](_0x2f73a5));},{'command':_0x4a4dae[_0x38efd0(0x279)]})();const _0x3d1fa5=await PerformanceTester[_0x38efd0(0x2dd)](PerformanceA11yEvents[_0x38efd0(0x2a9)],async()=>{const _0x1aaec0=_0x38efd0;return await this['executeScriptByName'](_0x1f2237,_0x4a4dae[_0x1aaec0(0x2eb)],_0x564a7c);})();if(!_0x3d1fa5)return logger['debug'](_0x4a4dae['FyogF']),{};return _0x3d1fa5;}catch(_0x19f6f7){return logger[_0x38efd0(0x2de)](_0x38efd0(0x2bb)+(_0x19f6f7[_0x38efd0(0x18c)]||_0x19f6f7[_0x38efd0(0x181)])),{};}}async['performPageScan'](_0x55422d,_0x31dbc5,_0x4a7a93=null){const _0x2b761e=a90_0x4db811,_0x58aea9={};_0x58aea9[_0x2b761e(0x125)]=_0x2b761e(0x1da),_0x58aea9[_0x2b761e(0x117)]=_0x2b761e(0x2a3),_0x58aea9[_0x2b761e(0x165)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x5eb5d0=_0x58aea9;try{if(!_0x55422d)return logger[_0x2b761e(0x194)](_0x5eb5d0[_0x2b761e(0x125)]),null;if(!_0x31dbc5)return logger[_0x2b761e(0x194)](_0x5eb5d0[_0x2b761e(0x117)]),null;logger[_0x2b761e(0x194)](_0x5eb5d0['yuBUY']);const _0x114f58=_0x4a7a93?await _0x55422d['evaluate'](_0x31dbc5,_0x4a7a93):await _0x55422d[_0x2b761e(0x219)](_0x31dbc5);return _0x114f58;}catch(_0xd64009){return logger['error']('Error\x20in\x20performPageScan:\x20'+(_0xd64009['stack']||_0xd64009[_0x2b761e(0x181)])),null;}}static['loadDriverExecuteParams'](_0x68be67,_0x554802){const _0x584a8f=a90_0x4db811,_0x2bd20f={};_0x2bd20f[_0x584a8f(0x2ec)]='ascii';const _0x7d9c0c=_0x2bd20f,_0x453092={};_0x453092[_0x584a8f(0x1e2)]=_0x68be67;const _0x2812b8=_0x453092;let _0x54f30c={};if(_0x554802[_0x584a8f(0x123)]()&&_0x554802[_0x584a8f(0x140)]())try{_0x54f30c=JSON[_0x584a8f(0x134)](new Buffer(_0x554802['getAccessibilityExecuteParams']())[_0x584a8f(0x1ac)](_0x7d9c0c[_0x584a8f(0x2ec)]));}catch(_0x3add33){logger[_0x584a8f(0x2de)](_0x584a8f(0x12d)+_0x3add33['message']),_0x54f30c={};}return CLIUtils[_0x584a8f(0x199)](_0x2812b8,_0x54f30c);}static async[a90_0x4db811(0x2d2)](_0x495550,_0x405a36='',_0x2ab541=null){const _0x5789ff=a90_0x4db811,_0x494a34={};_0x494a34['pxdhA']=_0x5789ff(0x156),_0x494a34[_0x5789ff(0x208)]=_0x5789ff(0x19d);const _0x3576ee=_0x494a34;try{if(!_0x2ab541&&AccessibilityModule[_0x5789ff(0x292)])return AccessibilityModule['_centralAuthA11yConfig'];if(!process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger[_0x5789ff(0x2de)](_0x3576ee[_0x5789ff(0x1ae)]),{};const _0x1b0e87=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process['env'][_0x5789ff(0x2ed)],_0x3576ee[_0x5789ff(0x208)],_0x495550,_0x2ab541),_0x45c0f4=_0x2ab541?AccessibilityModule['loadDriverExecuteParams'](null,_0x1b0e87)?.[_0x5789ff(0x1e2)]||_0x405a36:_0x405a36,_0x4dad16=AccessibilityModule[_0x5789ff(0x2a1)](_0x45c0f4,_0x1b0e87);return!_0x2ab541&&(AccessibilityModule['_centralAuthA11yConfig']=_0x4dad16,AccessibilityModule[_0x5789ff(0x292)]=!![]),_0x4dad16;}catch(_0x3f4e3d){return logger[_0x5789ff(0x2de)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x495550+':\x20'+(_0x3f4e3d['stack']||_0x3f4e3d[_0x5789ff(0x181)])),{};}}}function a90_0xad6b(){const _0x492af2=['initAccessibilityConfig','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','Error\x20applying\x20sendMessageToServer\x20patch:\x20','commandsToWrap','latest','[AccessibilityModule]\x20onAfterTest:\x20framework=','wulAW','USKQD','Error\x20in\x20initAccessibilityConfig:\x20','16DTYAQy','pwwWE','getSuccess','sHvxs','TCjPO','Error\x20getting\x20capability\x20value\x20for\x20','command','string','instance','android','nfJoP','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','iqNcE','YqvNq','fJEQM','../../../helpers/accessibility-automation/helper','mLxiN','OXSxY','parse','KUTQA','UWuFL','LBOlI','isEnabled','MODULE_NAME','GgyWg','registerObserver','zwpEs','Oqrmw','isVersionSupported','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','hasAccessibilityExecuteParams','cnGWy','LOG_DISABLED_SHOWN','YDnIr','getState','NmExF','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','nQiWB','xdpNE','\x20script\x20available\x20in\x20scriptsList','getTrackedInstance','get','ThIVr','QLblj','titlePath','anQyd','Tkifo','toObject','executeScriptByName:\x20No\x20','updateData','parseA11yJwtPayload','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','iSoeZ','../grpcClient','762894YJwJqy','env','testFrameworkData','MergedScanArgs:\x20','getAccessibilityResults','VWcBZ','Accessibility\x20data\x20for\x20extension:\x20','Error\x20executing\x20script\x20','UqDgu','scannerProcessingTimeout','pvoeu','test_run_id','yuBUY','KoceL','name','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','setAccessibilityToken','setShouldScanCurrentTest','fztiI','getTesthub','../../../helpers/classLogger','wHsrh','OUTzl','[AccessibilityModule]\x20isMobileScanningEnabledForGroup\x20cap\x20received:\x20raw=','getMinVersionForBrowser','NON_BROWSERSTACK_AUTOMATION_SESSIONS','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20',']\x20should\x20run\x20accessibility\x20value=','getTestUUID','RErLI','dzpwT','bind','VNyHb','\x20value=',']\x20Accessibility\x20configuration\x20initialized\x20successfully','\x20from\x20testIdentifier=','MjlaX','kCQEI','GvvBi',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','message','lvGKj','__accessibilityOptions','DTcxA','NXvPq','ucsgi','testhub_build_uuid','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','MhADv','mPovb','aMoPw','stack','Error\x20in\x20performScanForCli\x20for\x20script\x20','../TestInfo.js','isPlatformSupported:\x20caps\x20are\x20null','chrome','--headless=','JUHhH','getCurrentAccessibilityStatus','debug','../../playwright/accessibility-helper','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','getOptions','performScanForCli','mergeObject','split','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','accessibility','getPlatformIndex','browserstack.accessibilityOptions.scannerVersion','zYaOH','unknown','SAVE_RESULTS','_mobileScanningDisabledLogged','wNZFF','eiCux','test_tags','scan','browserstack.accessibilityOptions.wcagVersion','scriptsList','includes','processAccessibilityCaps','toString','nKAFN','pxdhA','getBuildId','lqobr','qvwqG','replace','YeGQb','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','getAccessibility','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','POST','performScan','size','isArray','getTestDetails','getLogDisabledShown','Error\x20in\x20stopTestCapture:\x20','fJSiO','KEY_INIT','RZpqv','toLowerCase','onBeforeExecute:\x20No\x20command\x20name\x20provided','kBEUj','pCLeG','EXECUTE','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','getParamsForScanForCli','browserstack.accessibilityOptions.scannerProcessingTimeout','\x20testHubUuid=','vDzEr','browserstack.accessibilityOptions.authToken','nfPJm','ptsgz','MUhtO','5eVPXCB','ScanArgs:\x20','isMobilePlatform','getInstance','getData','__workerDetails','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','QKaRq','Unknown\x20Test','function','getScriptsList','performPageScan:\x20Page\x20is\x20null','keys','nbtVz','[platform\x20-\x20','HqUOy','lPblz','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','isMobileWebSession','thTestRunUuid','ipFLc','getGoogleChromeOptions','hdWSs','RJdAf','../framework/automationFramework','ukyOd','getName','isAppAccessibility','format','../state/hookState','Error\x20getting\x20script\x20by\x20name\x20','getBrowserDisplayName',']\x20isEnabledTestcase\x20(jest)\x20result=','isMobileScanningEnabledForGroup','shouldScanCurrentTest','wcagVersion','../../../helpers/accessibility-automation/constants','qeLtM','Error\x20checking\x20headless\x20capability:\x20','dYPzP','eUnFw','CREATE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Error\x20in\x20validatePlatformForAccessibility:\x20','GNRtE','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.',',\x20testIdentifier=','AfyPH','../cliUtils','Xsblf','zeSgy','fetchDriverExecuteParamsEvent','ipvPA','Page\x20','512334seVJkU','BROWSERSTACK_TEST_ACCESSIBILITY_YML',',\x20testName=','GREGp','testFramework','value','browserVersion','hGIfc','SKpKY','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','getCurrentInstanceName','Egefn','IqivN','../framework/testFramework','onBeforeExecute:\x20command=',']\x20clear\x20','--headless=new','exports','1861720dZHrWl','isPlatformSupported','evaluate','true','../framework/constants/testFrameworkConstants.js','OGWjN','includeTagsInTestingScope','1656886QKidXv','shouldScanForCommand:\x20','currentTest','loadAccessibilityConfig','DZmah','mOIZk','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','sUJXm','join','args','accessibilityConfig','Scan\x20result:\x20','startsWith','TEST_INIT','eMGPC','getModuleName','ZFPcy','NeiKE','browserStackEvaluate','cucumber','KEY_TEST_NAME','getTestFrameworkDetail','fatjF','info','aTmcn','BROWSERSTACK_TESTHUB_JWT','\x20accessibility\x20script\x20on\x20page','a11y:save-results','etxNU','saveTestResults','performScanForCli:\x20No\x20',',\x20tags=','shouldScanForCommand','aMjVv','dFrlr','SDK_ACCESSIBILITY_CONFIG','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','isBrowserSupportedForAccessibility','136716rlCOYs','getValue','options','map','browser_version','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','Performing\x20scan\x20before\x20from\x20cli',',\x20excludeTags=','zqliN','7Axwfvz','gakmz','--headless','16551EhKIcX','delete','WHBRI','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','is_mobile_session','uqjfl','GthXi',']\x20isEnabledTestcase\x20(cucumber)\x20result=','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','commandsList','getCapabilityValue','_centralAuthA11yConfig','20aBuCvs','test-tags-->\x20','ZveRT','BISIM','start','getCapabilitiesList','Performing\x20scan\x20before\x20getting\x20results\x20summary','XySYc','\x22browserstack.key\x22:\x22[REDACTED]\x22','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','getTestId','Qjuls','EOfks','Pfavt',',\x20isAppAccessibility=','PRE','getContext','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','QVtDb','Processed\x20accessibility\x20caps\x20','PNNKo','isEnabledTestcase','browserName','eLGPj','kzXZG','UtEWN','headless','Tqeif','jLRot','isBrowserstackScriptCommand','stopTestCapture','FqrwP','kPUfF','NBUUi','getResultsSummary','excludeTagsInTestingScope','present','Context','nsXjR','SZiGk','BS_A11Y_JWT','getScriptByName','qQmIW','../../../helpers/helper','has','getCommandsList','eYBhM','applySendMessageToServerPatch','PERFORM_SCAN','finishScanningForCli','Blkhi','\x20using\x20script:\x20','_centralAuthConfigFetched','commandName','Exception\x20in\x20isPlatformSupported:\x20','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','10|0|13|5|2|3|6|4|9|1|16|8|14|11|7|12|15','LFvrg','onAfterTest','resolveMobileThTestRunUuid','testAnalyticsId','GwyxB','HTMHx','udaKq','zqDrH','KEY_TESTHUB_BUILD_ID','14524NvUgig','loadDriverExecuteParams','validatePlatformForAccessibility','performPageScan:\x20Script\x20is\x20null','XFRYY','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','patchSendMessageToServer','LXLOs','zzPYS','GET_RESULTS_SUMMARY','lTmgg','platformValidation','launchCaps',',\x20\x0a\x20','UrAbu','QUIT','platformName','eeAHk','saveResults','Error\x20in\x20processAccessibilityCaps:\x20','set','wFbXj','goog:chromeOptions','NexSm','QUnqB','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','ACCESSIBILITY_INITIALIZED','Error\x20in\x20getAccessibilityResultsSummary:\x20','nsHGn','Error\x20in\x20getAccessibilityResults:\x20','zSJOU','accessibilityPlatform','stopTestCapture:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','page','end','WpkLf','pwPage','wNHmZ','\x20result\x20for\x20','capabilities','toISOString','__jestCurrentTestIdentifier','length','executeScriptByName','\x20a11yToken=','oujvt','find',']\x20onAfterTest\x20should\x20scan=','JjHtp','Fiaba','fetchCentralAuthA11yConfig','MElrF','CJAJp','testInfo','Yfnql','icxLo','browserstack_executor','VkhCj','QdsHs','jest','setShouldScan','measureWrapper','error','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','JidIA','No\x20summaryResults\x20found.','\x20->\x20','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','ekCOV','name:\x20','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','chromeOptions','util','FqhdG','isAccessibilityScriptCommand','CqjbD','BqdTW','BROWSERSTACK_CLI_BIN_SESSION_ID','NhOei','null','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','onBeforeExecute','sIRQk','cbpCI','getAccessibilityResultsSummary','some','iKjfy','accessibilityToken','stringify',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','../../../helpers/performance/constants.js','DRIVER_HAS_URL','ZaCsi','getResults',',\x20includeTags=','aBueD','\x22browserstack.user\x22:\x22[REDACTED]\x22','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','warn','\x20script\x20available','getCommandsToWrap','KIbsU','_sendMessageServerPatchApplied','capabilitiesList','lgmNA','skipCDPConnectOverride','toJson','YLORh','getScript','setAccessibilityConfig','EPqmx'];a90_0xad6b=function(){return _0x492af2;};return a90_0xad6b();}function a90_0x1c8b(_0x1da9d9,_0xb69b78){const _0xad6bdf=a90_0xad6b();return a90_0x1c8b=function(_0x1c8bd6,_0x277af2){_0x1c8bd6=_0x1c8bd6-0xff;let _0x41b5a4=_0xad6bdf[_0x1c8bd6];return _0x41b5a4;},a90_0x1c8b(_0x1da9d9,_0xb69b78);};module[a90_0x4db811(0x216)]=AccessibilityModule;
1
+ const a90_0x2b5653=a90_0x4945;(function(_0x53ac96,_0x359bac){const _0x1fe839=a90_0x4945,_0x4bf341=_0x53ac96();while(!![]){try{const _0x2de296=-parseInt(_0x1fe839(0x1e5))/0x1+parseInt(_0x1fe839(0x2d9))/0x2+-parseInt(_0x1fe839(0x1c9))/0x3+-parseInt(_0x1fe839(0x2d0))/0x4*(parseInt(_0x1fe839(0x377))/0x5)+parseInt(_0x1fe839(0x33b))/0x6+-parseInt(_0x1fe839(0x231))/0x7+-parseInt(_0x1fe839(0x2c0))/0x8*(-parseInt(_0x1fe839(0x354))/0x9);if(_0x2de296===_0x359bac)break;else _0x4bf341['push'](_0x4bf341['shift']());}catch(_0x2285bb){_0x4bf341['push'](_0x4bf341['shift']());}}}(a90_0x5542,0x5301b));const BaseModule=require(a90_0x2b5653(0x31e)),{createClassLogger}=require(a90_0x2b5653(0x276)),CLIUtils=require(a90_0x2b5653(0x380)),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a90_0x2b5653(0x288)),AutomationFrameworkState=require(a90_0x2b5653(0x22e)),HookState=require(a90_0x2b5653(0x268)),GrpcClient=require(a90_0x2b5653(0x30e)),scripts=require(a90_0x2b5653(0x2a9)),logger=createClassLogger('TrackedInstance'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('../../../helpers/accessibility-automation/constants'),{nestedKeyValue,isUndefined}=require(a90_0x2b5653(0x277)),util=require(a90_0x2b5653(0x250)),TestInfo=require(a90_0x2b5653(0x27e)),TestFrameworkConstants=require(a90_0x2b5653(0x27c)),accessibilityHelper=require(a90_0x2b5653(0x1ce));class AccessibilityModule extends BaseModule{static [a90_0x2b5653(0x2a8)]=AccessibilityModule[a90_0x2b5653(0x25a)];static [a90_0x2b5653(0x358)]=![];static [a90_0x2b5653(0x352)]={};constructor(_0x21bd31){const _0x581d06=a90_0x2b5653,_0x213bf9={};_0x213bf9[_0x581d06(0x375)]=_0x581d06(0x30c),_0x213bf9['ozdps']=_0x581d06(0x337),_0x213bf9[_0x581d06(0x1c1)]=_0x581d06(0x2ef),_0x213bf9[_0x581d06(0x2d6)]=_0x581d06(0x2fd),_0x213bf9[_0x581d06(0x376)]=_0x581d06(0x37f);const _0x38bef9=_0x213bf9,_0x30c064=_0x38bef9['AGXQp'][_0x581d06(0x2bc)]('|');let _0x5c1b3a=0x0;while(!![]){switch(_0x30c064[_0x5c1b3a++]){case'0':AutomationFramework[_0x581d06(0x33d)](AutomationFrameworkState[_0x581d06(0x391)],HookState[_0x581d06(0x339)],this[_0x581d06(0x24e)]['bind'](this));continue;case'1':this['capabilities']=[];continue;case'2':this[_0x581d06(0x32b)]=_0x38bef9['ozdps'];continue;case'3':this['KEY_INIT']=_0x38bef9[_0x581d06(0x1c1)];continue;case'4':this[_0x581d06(0x24c)]=![];continue;case'5':logger[_0x581d06(0x1cf)](_0x38bef9[_0x581d06(0x2d6)]);continue;case'6':super();continue;case'7':this[_0x581d06(0x2ed)]=new Map();continue;case'8':AutomationFramework[_0x581d06(0x33d)](AutomationFrameworkState['QUIT'],HookState['PRE'],this[_0x581d06(0x22f)][_0x581d06(0x2f9)](this));continue;case'9':this[_0x581d06(0x30d)]=!![];continue;case'10':AutomationFramework[_0x581d06(0x33d)](AutomationFrameworkState[_0x581d06(0x21a)],HookState[_0x581d06(0x2c4)],this[_0x581d06(0x23a)][_0x581d06(0x2f9)](this));continue;case'11':this[_0x581d06(0x2a3)](_0x21bd31[_0x581d06(0x310)]()['getCapabilitiesList']());continue;case'12':this[_0x581d06(0x328)]=_0x38bef9[_0x581d06(0x376)];continue;case'13':this[_0x581d06(0x20c)]=_0x21bd31[_0x581d06(0x2a1)]();continue;case'14':this[_0x581d06(0x313)]=![];continue;case'15':this[_0x581d06(0x1d9)]=new Map();continue;case'16':this['isAppAccessibility']=![];continue;}break;}}[a90_0x2b5653(0x30d)](){return this['isEnabled'];}['getModuleName'](){const _0x542cc3=a90_0x2b5653;return AccessibilityModule[_0x542cc3(0x2a8)];}['getCurrentAccessibilityStatus'](){const _0x9a0c70=a90_0x2b5653;return this[_0x9a0c70(0x2ed)][_0x9a0c70(0x29c)](CLIUtils[_0x9a0c70(0x283)](),![]);}[a90_0x2b5653(0x210)](){const _0x7046ec=a90_0x2b5653;return this[_0x7046ec(0x1d9)][_0x7046ec(0x29c)](CLIUtils[_0x7046ec(0x283)](),![]);}[a90_0x2b5653(0x2b5)](_0x240889){const _0x42b0a8=a90_0x2b5653;this['LOG_DISABLED_SHOWN'][_0x42b0a8(0x2c1)](CLIUtils[_0x42b0a8(0x283)](),_0x240889);}[a90_0x2b5653(0x37b)](){const _0xbe1f97=a90_0x2b5653,_0x2a848d={'cyZkl':_0xbe1f97(0x311),'kViye':function(_0xd3e9d1,_0x3a7501){return _0xd3e9d1(_0x3a7501);},'Fstrc':_0xbe1f97(0x25d),'WcPVZ':_0xbe1f97(0x248),'Wcmln':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this['_sendMessageServerPatchApplied']){logger['debug'](_0x2a848d[_0xbe1f97(0x302)]);return;}try{const _0x35a413=_0x2a848d['kViye'](require,_0x2a848d[_0xbe1f97(0x1cb)]);_0x35a413&&_0x35a413[_0xbe1f97(0x1c4)]?(_0x35a413[_0xbe1f97(0x1c4)](),this[_0xbe1f97(0x24c)]=!![],logger['debug'](_0x2a848d[_0xbe1f97(0x1de)])):logger[_0xbe1f97(0x1cf)](_0x2a848d['Wcmln']);}catch(_0x387dbe){logger[_0xbe1f97(0x1cf)](_0xbe1f97(0x1cd)+util[_0xbe1f97(0x1b4)](_0x387dbe));}}['isPlatformSupported'](_0x144b4b=null,_0xb8abc7=null,_0x25d1fa=null){const _0x55fc2c=a90_0x2b5653,_0x3e0635={'nvgXD':function(_0x8ccfe5,_0x2170ee){return _0x8ccfe5&&_0x2170ee;},'tVJpi':'isPlatformSupported:\x20caps\x20are\x20null','uJNdN':function(_0x45349c,_0x407c7f){return _0x45349c(_0x407c7f);},'egAOp':_0x55fc2c(0x277),'hWXrS':_0x55fc2c(0x295),'PWzVU':_0x55fc2c(0x365),'TTplR':function(_0x33d48b,_0x4155af){return _0x33d48b===_0x4155af;},'lAlyx':_0x55fc2c(0x394),'HDWHg':_0x55fc2c(0x211),'HWXoD':function(_0x1c83f9,_0x1490f2){return _0x1c83f9===_0x1490f2;},'lTgAf':_0x55fc2c(0x33e),'dcXAE':_0x55fc2c(0x1e1),'NCAGA':function(_0xf9b2b5,_0x142546){return _0xf9b2b5!==_0x142546;},'wkqXt':_0x55fc2c(0x306),'FSQOQ':function(_0xebdcca){return _0xebdcca();},'JXsiq':_0x55fc2c(0x300),'swzFh':function(_0x39a577,_0x25acb6){return _0x39a577>_0x25acb6;},'cUYfb':function(_0x128935,_0xb6dfc5){return _0x128935(_0xb6dfc5);},'YFmVM':function(_0x31f882,_0x526811){return _0x31f882(_0x526811);},'jpSZD':_0x55fc2c(0x2d4)};try{if(_0x3e0635[_0x55fc2c(0x229)](!_0xb8abc7,!_0x25d1fa))return logger[_0x55fc2c(0x1cf)](_0x3e0635['tVJpi']),![];const {isUndefined:_0x16db3e,isBrowserstackInfra:_0x336668}=_0x3e0635['uJNdN'](require,_0x3e0635[_0x55fc2c(0x1f6)]);if(!accessibilityHelper['isAccessibilityAutomationSession']())return logger['debug'](_0x3e0635[_0x55fc2c(0x1d4)]),![];const _0x391790=_0xb8abc7[_0x55fc2c(0x26b)]||_0xb8abc7['browser'],_0x31ab00=_0xb8abc7[_0x55fc2c(0x243)]||_0xb8abc7[_0x55fc2c(0x205)];if(!accessibilityHelper[_0x55fc2c(0x23d)](_0x391790))return logger[_0x55fc2c(0x363)](_0x3e0635[_0x55fc2c(0x22c)]),![];if(accessibilityHelper['requiresChromeOptionsValidation'](_0x391790))try{const _0x45a93c=_0xb8abc7[_0x55fc2c(0x2b6)],_0x2d5186=_0x3e0635[_0x55fc2c(0x340)](_0x45a93c,!![])||_0x3e0635[_0x55fc2c(0x340)](_0x45a93c,_0x3e0635[_0x55fc2c(0x2d2)])||_0x3e0635['TTplR'](typeof _0x45a93c,_0x3e0635[_0x55fc2c(0x34e)])&&_0x3e0635[_0x55fc2c(0x1ef)](_0x45a93c[_0x55fc2c(0x254)](),_0x3e0635[_0x55fc2c(0x2d2)]);if(_0x2d5186)return logger[_0x55fc2c(0x363)](_0x3e0635[_0x55fc2c(0x275)]),![];const _0x47ce54=_0xb8abc7?.[_0x55fc2c(0x285)]?.[_0x55fc2c(0x284)]||_0xb8abc7?.[_0x3e0635[_0x55fc2c(0x236)]]?.[_0x55fc2c(0x284)]||[];if(Array[_0x55fc2c(0x325)](_0x47ce54)&&_0x47ce54[_0x55fc2c(0x1c5)](_0x3e417a=>typeof _0x3e417a===_0x55fc2c(0x211)&&(_0x3e417a===_0x55fc2c(0x2e5)||_0x3e417a[_0x55fc2c(0x359)]('--headless=')&&_0x3e417a!==_0x55fc2c(0x292))))return logger[_0x55fc2c(0x363)](_0x3e0635[_0x55fc2c(0x275)]),![];}catch(_0x5f4946){logger[_0x55fc2c(0x1cf)]('Error\x20checking\x20headless\x20capability:\x20'+util[_0x55fc2c(0x1b4)](_0x5f4946));}if(_0x3e0635[_0x55fc2c(0x234)](_0x31ab00,_0x3e0635[_0x55fc2c(0x1fe)])){const _0x254192=_0x3e0635[_0x55fc2c(0x329)](_0x336668),_0x2f3a09=accessibilityHelper['getMinVersionForBrowser'](_0x391790,_0x254192),_0x4aa3d2=accessibilityHelper['getBrowserDisplayName'](_0x391790);if(!accessibilityHelper['isVersionSupported'](_0x31ab00,_0x2f3a09)){const _0x23fa30=_0x254192?'':_0x3e0635['JXsiq'];return logger['warn'](_0x55fc2c(0x1d8)+_0x4aa3d2+_0x55fc2c(0x33f)+_0x2f3a09+_0x55fc2c(0x20b)+_0x23fa30+'.'),![];}}else{const _0x372298=_0xb8abc7[_0x55fc2c(0x243)]||_0xb8abc7[_0x55fc2c(0x205)]||_0xb8abc7[_0x55fc2c(0x24f)];if(_0x372298&&_0x3e0635[_0x55fc2c(0x234)](_0x372298,_0x3e0635[_0x55fc2c(0x1fe)])&&!_0x3e0635[_0x55fc2c(0x312)](_0x3e0635[_0x55fc2c(0x338)](parseFloat,_0x372298),_0x3e0635['YFmVM'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger['warn'](_0x3e0635[_0x55fc2c(0x216)]),![];}return!![];}catch(_0x5cb20e){return logger[_0x55fc2c(0x1cf)]('Exception\x20in\x20isPlatformSupported:\x20'+_0x5cb20e[_0x55fc2c(0x355)]),![];}}[a90_0x2b5653(0x327)](_0x4f7812=[],_0x18fde2,_0x2c0dd1='cucumber'){const _0x2f546b=a90_0x2b5653,_0x464a3a={'WTlFe':function(_0x4fc129,_0x10119d){return _0x4fc129===_0x10119d;},'slPvN':_0x2f546b(0x297),'wElZi':function(_0x49f168,_0x222a17){return _0x49f168||_0x222a17;},'Kvcir':function(_0x200337,_0x1fe420){return _0x200337===_0x1fe420;},'MOvng':function(_0x1683d5,_0x34447e){return _0x1683d5&&_0x34447e;},'DZEms':_0x2f546b(0x289),'mJVBh':function(_0x2c11e,_0x2daaac){return _0x2c11e(_0x2daaac);},'LShbD':function(_0x810e8e,_0x436110){return _0x810e8e>_0x436110;},'Hwamo':function(_0x11747a,_0x46f12c){return _0x11747a&&_0x46f12c;}};try{const _0x49c322=process['env'][_0x2f546b(0x1fd)]?JSON['parse'](process[_0x2f546b(0x32f)][_0x2f546b(0x1fd)]):null;if(!_0x49c322)return!![];const _0x3f9922=Array[_0x2f546b(0x325)](_0x49c322[_0x2f546b(0x1b1)])?_0x49c322[_0x2f546b(0x1b1)]:[],_0xfdef07=Array[_0x2f546b(0x325)](_0x49c322[_0x2f546b(0x23f)])?_0x49c322['excludeTagsInTestingScope']:[];if(_0x464a3a[_0x2f546b(0x2fe)](_0x2c0dd1,_0x464a3a['slPvN'])){let _0x4bfb73;Array[_0x2f546b(0x325)](_0x4f7812)?_0x4bfb73=_0x4f7812['join']('\x20'):_0x4bfb73=_0x464a3a[_0x2f546b(0x1c6)](_0x4f7812,'');const _0xe69697=_0xfdef07[_0x2f546b(0x1c5)](_0x5b343e=>_0x4bfb73[_0x2f546b(0x37e)](_0x5b343e)),_0x2e48aa=_0x464a3a[_0x2f546b(0x262)](_0x3f9922['length'],0x0)||_0x3f9922[_0x2f546b(0x1c5)](_0x1c4671=>_0x4bfb73[_0x2f546b(0x37e)](_0x1c4671)),_0x572c90=_0x464a3a[_0x2f546b(0x1d2)](!_0xe69697,_0x2e48aa);return logger[_0x2f546b(0x1cf)]('[platform\x20-\x20'+(_0x18fde2?.[_0x2f546b(0x32c)]?.()||_0x464a3a[_0x2f546b(0x360)])+']\x20isEnabledTestcase\x20(jest)\x20result='+_0x572c90+_0x2f546b(0x256)+_0x4bfb73+_0x2f546b(0x36e)+JSON[_0x2f546b(0x318)](_0x3f9922)+',\x20excludeTags='+JSON[_0x2f546b(0x318)](_0xfdef07)),_0x572c90;}const _0xd5ae84=Array[_0x2f546b(0x325)](_0x4f7812)?_0x4f7812:[];let _0x487125=![],_0x235be2=_0x464a3a['Kvcir'](_0x3f9922['length'],0x0);const _0x5f314c=_0x5617f7=>typeof _0x5617f7==='string'?_0x5617f7['replace'](/^@/,'')[_0x2f546b(0x254)]()[_0x2f546b(0x25c)]():_0x5617f7,_0x283695=new Set(_0x3f9922[_0x2f546b(0x1c2)](_0x5f314c)),_0x1c6b49=new Set(_0xfdef07[_0x2f546b(0x1c2)](_0x5f314c));for(const _0x3c58a6 of _0xd5ae84){const _0x2e4d8a=_0x464a3a['mJVBh'](_0x5f314c,_0x3c58a6);_0x1c6b49[_0x2f546b(0x34d)](_0x2e4d8a)&&(_0x487125=!![]),_0x464a3a[_0x2f546b(0x227)](_0x283695['size'],0x0)&&_0x283695[_0x2f546b(0x34d)](_0x2e4d8a)&&(_0x235be2=!![]);}const _0x46442a=_0x464a3a[_0x2f546b(0x29d)](_0x235be2,!_0x487125);return logger['debug']('[platform\x20-\x20'+(_0x18fde2?.[_0x2f546b(0x32c)]?.()||_0x464a3a['DZEms'])+_0x2f546b(0x280)+_0x46442a+_0x2f546b(0x2e2)+JSON[_0x2f546b(0x318)](_0xd5ae84)+_0x2f546b(0x36e)+JSON[_0x2f546b(0x318)](_0x3f9922)+_0x2f546b(0x38a)+JSON['stringify'](_0xfdef07)),_0x46442a;}catch(_0x597da6){return logger['debug'](_0x2f546b(0x2e1)+(_0x18fde2?.['getPlatformIndex']?.()||_0x464a3a['DZEms'])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x597da6['message']),![];}}async[a90_0x2b5653(0x23a)](_0x7e9f9b){const _0x123d80=a90_0x2b5653,_0x26c431={};_0x26c431[_0x123d80(0x309)]=function(_0x208e7,_0x3dfcb2){return _0x208e7!==_0x3dfcb2;},_0x26c431[_0x123d80(0x2ae)]=_0x123d80(0x385),_0x26c431['UtEGo']=_0x123d80(0x297),_0x26c431[_0x123d80(0x239)]=_0x123d80(0x2ba),_0x26c431[_0x123d80(0x28c)]=_0x123d80(0x1eb),_0x26c431['opSyb']=_0x123d80(0x386),_0x26c431[_0x123d80(0x2c7)]=_0x123d80(0x201),_0x26c431['pXGmg']=_0x123d80(0x2d1),_0x26c431[_0x123d80(0x36a)]=function(_0x2ff3cb,_0x20fe5c){return _0x2ff3cb===_0x20fe5c;},_0x26c431['cOmAz']=function(_0x363004,_0x4ecb2a){return _0x363004===_0x4ecb2a;},_0x26c431[_0x123d80(0x237)]='onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true',_0x26c431[_0x123d80(0x206)]=_0x123d80(0x1cc),_0x26c431[_0x123d80(0x323)]=function(_0x233e41,_0x2a2fa1){return _0x233e41>_0x2a2fa1;},_0x26c431[_0x123d80(0x230)]=function(_0x5c5b58,_0x1efb9c){return _0x5c5b58===_0x1efb9c;},_0x26c431[_0x123d80(0x293)]='function',_0x26c431[_0x123d80(0x271)]=_0x123d80(0x272),_0x26c431[_0x123d80(0x1d6)]=function(_0x4da2ad,_0x22b398){return _0x4da2ad&&_0x22b398;},_0x26c431['DqlxR']=_0x123d80(0x289),_0x26c431[_0x123d80(0x2b7)]='true';const _0x3c4666=_0x26c431;if(_0x3c4666[_0x123d80(0x309)](_0x7e9f9b['testFramework'],_0x3c4666['utWxB'])&&_0x3c4666[_0x123d80(0x309)](_0x7e9f9b[_0x123d80(0x346)],_0x3c4666[_0x123d80(0x353)])){logger['debug'](_0x3c4666[_0x123d80(0x239)]);return;}try{const _0x4692e3=AutomationFramework[_0x123d80(0x334)](),_0x4b8b82=TestFramework[_0x123d80(0x334)](),_0x4657e6=_0x7e9f9b[_0x123d80(0x2ee)]||global[_0x123d80(0x299)]?.[_0x123d80(0x2bf)]||null;if(!_0x4657e6){_0x4b8b82&&_0x4b8b82['updateData'](_0x3c4666[_0x123d80(0x28c)],!![]);logger[_0x123d80(0x1cf)](_0x3c4666[_0x123d80(0x32a)]);return;}logger[_0x123d80(0x1cf)](_0x3c4666[_0x123d80(0x2c7)]);const _0x3b7cd4=_0x4b8b82?.[_0x123d80(0x21f)](_0x3c4666[_0x123d80(0x2a6)],![]),_0x4db6ce=_0x4b8b82?.[_0x123d80(0x21f)](_0x3c4666[_0x123d80(0x28c)],![]);if(_0x3c4666[_0x123d80(0x36a)](_0x3b7cd4,![])&&_0x3c4666[_0x123d80(0x348)](_0x4db6ce,![])){_0x4b8b82&&_0x4b8b82[_0x123d80(0x25b)](_0x3c4666['pXGmg'],!![]);logger['debug'](_0x3c4666[_0x123d80(0x237)]);return;}_0x4b8b82&&_0x4b8b82['updateData'](_0x3c4666[_0x123d80(0x28c)],!![]);let _0x11fd34,_0x48071b;const _0xc1eba1=_0x7e9f9b[_0x123d80(0x346)]||_0x3c4666[_0x123d80(0x2ae)];if(_0x3c4666[_0x123d80(0x36a)](_0xc1eba1,_0x3c4666[_0x123d80(0x353)])){_0x48071b=_0x7e9f9b[_0x123d80(0x343)]?.['testAnalyticsId']||_0x7e9f9b['testInfo']?.['id']||global['__jestCurrentTestIdentifier']||global[_0x123d80(0x299)]?.[_0x123d80(0x1db)]?.[_0x123d80(0x273)]||global[_0x123d80(0x299)]?.[_0x123d80(0x1db)]?.['id'];const _0x2dc1e7=_0x4b8b82?.[_0x123d80(0x322)]()?.[_0x123d80(0x29c)](_0x48071b);if(_0x2dc1e7&&_0x2dc1e7[TestFrameworkConstants[_0x123d80(0x336)]])_0x11fd34=_0x2dc1e7[TestFrameworkConstants[_0x123d80(0x336)]];else{if(_0x7e9f9b[_0x123d80(0x343)]?.['titlePath'])_0x11fd34=_0x7e9f9b[_0x123d80(0x343)]['titlePath'];else global[_0x123d80(0x299)]?.['currentTest']?.[_0x123d80(0x343)]?.[_0x123d80(0x390)]?_0x11fd34=global[_0x123d80(0x299)]['currentTest'][_0x123d80(0x343)][_0x123d80(0x390)]:_0x11fd34=_0x3c4666[_0x123d80(0x206)];}logger[_0x123d80(0x1cf)]('[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier='+_0x48071b+',\x20testName='+JSON[_0x123d80(0x318)](_0x11fd34));}else{_0x48071b=this[_0x123d80(0x2b0)](_0x7e9f9b);const _0x27092a=TestInfo[_0x123d80(0x2c3)](_0x48071b);let _0x244932=[];if(_0x27092a&&Array[_0x123d80(0x325)](_0x27092a[_0x123d80(0x272)])&&_0x3c4666[_0x123d80(0x323)](_0x27092a['test_tags']['length'],0x0))_0x244932=_0x27092a[_0x123d80(0x272)];else{if(_0x4b8b82){const _0x2cdb01=_0x3c4666[_0x123d80(0x230)](typeof _0x4b8b82[_0x123d80(0x21f)],_0x3c4666['rZWdE'])?_0x4b8b82[_0x123d80(0x21f)](_0x3c4666[_0x123d80(0x271)],[]):_0x4b8b82[_0x123d80(0x272)]||[];Array['isArray'](_0x2cdb01)&&(_0x244932=_0x2cdb01);}}_0x11fd34=_0x244932;}logger[_0x123d80(0x393)]('test-tags-->\x20'+JSON['stringify'](_0x11fd34));const _0x15f3ec=this[_0x123d80(0x351)](_0x4692e3,_0x7e9f9b['platformCaps'],_0x7e9f9b[_0x123d80(0x21c)]);logger['debug'](_0x123d80(0x27b)+_0x15f3ec+_0x123d80(0x349)+this[_0x123d80(0x367)]);const _0x2a79bf=this['isEnabledTestcase'](_0x11fd34,_0x4692e3,_0xc1eba1),_0x11aab3=_0x3c4666['rkddr'](_0x15f3ec,_0x2a79bf),_0x4fa6c7=CLIUtils[_0x123d80(0x283)]();this[_0x123d80(0x2ed)][_0x123d80(0x2c1)](_0x4fa6c7,_0x11aab3),global['Context']?.[_0x123d80(0x33c)]&&global[_0x123d80(0x2b4)]['getContext']()[_0x123d80(0x35f)](_0x11aab3),logger[_0x123d80(0x1cf)](_0x123d80(0x2e1)+(_0x4692e3?.['getPlatformIndex']?.()||_0x3c4666['DqlxR'])+']\x20should\x20run\x20accessibility\x20value='+_0x11aab3),_0x11aab3?(global['accessibilityPlatform']=!![],process[_0x123d80(0x32f)][_0x123d80(0x1bd)]=_0x3c4666['bEGVj'],this[_0x123d80(0x37b)]()):global['accessibilityPlatform']=![];}catch(_0x5345eb){logger['error'](_0x123d80(0x249)+(_0x5345eb[_0x123d80(0x304)]||_0x5345eb['message']));const _0x196ece=CLIUtils['getCurrentInstanceName']();this[_0x123d80(0x2ed)][_0x123d80(0x2c1)](_0x196ece,![]),global[_0x123d80(0x31a)]=![];}}[a90_0x2b5653(0x251)](){const _0x22dce6=a90_0x2b5653;return this[_0x22dce6(0x384)][_0x22dce6(0x332)](_0xdfbf91=>_0xdfbf91['getName']()===_0x22dce6(0x1e1))?.[_0x22dce6(0x2f1)]()||'';}[a90_0x2b5653(0x342)](_0x38d6cb){const _0x3d0e30=a90_0x2b5653;try{const _0x5e960c=this[_0x3d0e30(0x20c)]?.[_0x3d0e30(0x258)]?.[_0x3d0e30(0x335)]||[],_0x43eb3b=_0x5e960c[_0x3d0e30(0x332)](_0x4dbd2e=>_0x4dbd2e['name']===_0x38d6cb);return _0x43eb3b?_0x43eb3b[_0x3d0e30(0x265)]:null;}catch(_0x294e8e){return logger[_0x3d0e30(0x1cf)](_0x3d0e30(0x2c5)+_0x38d6cb+':\x20'+_0x294e8e[_0x3d0e30(0x355)]),null;}}async['setAccessibilityConfig'](_0x26b5cd,_0x3071bc){const _0x5c82bc=a90_0x2b5653,_0x292a84=_0x26b5cd[_0x5c82bc(0x2f8)]()['getOptions'](),_0x20797a=_0x292a84['getScriptsList'](),_0x2ac8e3=_0x292a84[_0x5c82bc(0x2ad)]()?.[_0x5c82bc(0x291)]();scripts[_0x5c82bc(0x24a)](_0x20797a,_0x2ac8e3),scripts[_0x5c82bc(0x24b)]();const _0xba830d=_0x292a84[_0x5c82bc(0x1be)]();this['capabilities']=_0x292a84[_0x5c82bc(0x1be)](),await this[_0x5c82bc(0x2a3)](_0xba830d,_0x3071bc[_0x5c82bc(0x21c)]);}async['setAccessibilityToken'](_0x376d04,_0x2bdda4={}){const _0x2e82ac=a90_0x2b5653,_0x5cf13b={'JINnK':function(_0x19578a,_0x1fe1b7){return _0x19578a===_0x1fe1b7;},'UwqOJ':_0x2e82ac(0x32d),'hzJym':'browserstack.accessibilityOptions.authToken','jIOVI':function(_0x2a61d7,_0x368f7a){return _0x2a61d7(_0x368f7a);},'JqfnR':_0x2e82ac(0x1ce),'ZpWBh':_0x2e82ac(0x277),'EaCqP':function(_0x24a106,_0x18bcdc){return _0x24a106(_0x18bcdc);},'zZSkE':_0x2e82ac(0x1f5),'kzNzA':_0x2e82ac(0x221),'nDDYM':function(_0xfded75,_0x5dcd39){return _0xfded75===_0x5dcd39;},'Sypva':'scannerVersion','YFcpo':'browserstack.accessibilityOptions.scannerVersion','AhQKm':function(_0x2ed25e,_0x4ff119){return _0x2ed25e===_0x4ff119;},'NHLOI':'scannerProcessingTimeout','knBaZ':_0x2e82ac(0x388),'eyJKM':function(_0x18014f,_0x4fc57b){return _0x18014f===_0x4fc57b;},'nNGvh':_0x2e82ac(0x341),'dkenW':function(_0x1c7070,_0x309da8){return _0x1c7070===_0x309da8;},'gGHKv':_0x2e82ac(0x394)};global['__accessibilityOptions']=global[_0x2e82ac(0x21e)]||{};for(const _0x17e048 of _0x376d04){logger[_0x2e82ac(0x393)](_0x2e82ac(0x1da)+_0x17e048['getName']()+'\x20value='+_0x17e048[_0x2e82ac(0x2f1)]());if(_0x5cf13b[_0x2e82ac(0x22a)](_0x17e048[_0x2e82ac(0x267)](),_0x5cf13b[_0x2e82ac(0x1ca)])){const _0x218e3e=_0x17e048['getValue']();process[_0x2e82ac(0x32f)][_0x2e82ac(0x26e)]=_0x218e3e,global[_0x2e82ac(0x21e)][_0x5cf13b['hzJym']]=_0x218e3e;const _0x505453=_0x5cf13b['jIOVI'](require,_0x5cf13b[_0x2e82ac(0x28a)]),{isTrue:_0x1ac859}=_0x5cf13b[_0x2e82ac(0x2e9)](require,_0x5cf13b['ZpWBh']),_0x71811d=_0x505453[_0x2e82ac(0x31b)](_0x218e3e);_0x71811d&&_0x5cf13b['EaCqP'](_0x1ac859,_0x71811d['skipCDPConnectOverride'])&&(process[_0x2e82ac(0x32f)][_0x2e82ac(0x307)]=!![]);}else{if(_0x5cf13b[_0x2e82ac(0x22a)](_0x17e048[_0x2e82ac(0x267)](),_0x5cf13b[_0x2e82ac(0x24d)]))global[_0x2e82ac(0x21e)][_0x5cf13b[_0x2e82ac(0x235)]]=_0x17e048[_0x2e82ac(0x2f1)]();else{if(_0x5cf13b[_0x2e82ac(0x2ea)](_0x17e048[_0x2e82ac(0x267)](),_0x5cf13b[_0x2e82ac(0x2cc)]))global['__accessibilityOptions'][_0x5cf13b['YFcpo']]=_0x17e048[_0x2e82ac(0x2f1)]();else{if(_0x5cf13b[_0x2e82ac(0x2ff)](_0x17e048['getName'](),_0x5cf13b[_0x2e82ac(0x387)]))global[_0x2e82ac(0x21e)][_0x5cf13b[_0x2e82ac(0x330)]]=_0x17e048[_0x2e82ac(0x2f1)]();else{if(_0x5cf13b[_0x2e82ac(0x31c)](_0x17e048['getName'](),_0x5cf13b['nNGvh'])){const _0xb19f43=_0x17e048[_0x2e82ac(0x2f1)]();process[_0x2e82ac(0x32f)][_0x2e82ac(0x1b9)]=_0x5cf13b[_0x2e82ac(0x1e4)](String,_0x5cf13b[_0x2e82ac(0x1d3)](_0xb19f43,!![])||_0x5cf13b['JINnK'](_0xb19f43,_0x5cf13b[_0x2e82ac(0x2fa)])),logger[_0x2e82ac(0x1cf)](_0x2e82ac(0x247)+_0xb19f43+_0x2e82ac(0x2af)+process['env']['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']);}}}}}}}async['onAfterTest'](_0xe2370){const _0x5e2d4a=a90_0x2b5653,_0xee65a3={};_0xee65a3[_0x5e2d4a(0x30a)]=function(_0x4be03f,_0x542157){return _0x4be03f!==_0x542157;},_0xee65a3['GGVTg']=_0x5e2d4a(0x385),_0xee65a3[_0x5e2d4a(0x224)]=_0x5e2d4a(0x297),_0xee65a3[_0x5e2d4a(0x1c0)]=_0x5e2d4a(0x296),_0xee65a3[_0x5e2d4a(0x303)]='unknown';const _0x2e25f9=_0xee65a3;if(_0x2e25f9[_0x5e2d4a(0x30a)](_0xe2370['testFramework'],_0x2e25f9[_0x5e2d4a(0x274)])&&_0x2e25f9['BQgiw'](_0xe2370['testFramework'],_0x2e25f9['zRtCT'])){logger[_0x5e2d4a(0x1cf)](_0x2e25f9[_0x5e2d4a(0x1c0)]);return;}const _0x4a2beb=_0xe2370[_0x5e2d4a(0x343)]?.[_0x5e2d4a(0x273)]||_0xe2370[_0x5e2d4a(0x343)]?.['id']||global[_0x5e2d4a(0x20f)];logger['info'](_0x5e2d4a(0x1fb)+_0xe2370['testFramework']+_0x5e2d4a(0x324)+_0x4a2beb);try{const _0x214618=_0xe2370['instance']||AutomationFramework[_0x5e2d4a(0x334)](),_0x4f7ed8=CLIUtils[_0x5e2d4a(0x283)](),_0x518fc1=this[_0x5e2d4a(0x383)]();logger[_0x5e2d4a(0x1cf)](_0x5e2d4a(0x2e1)+(_0x214618?.[_0x5e2d4a(0x32c)]?.()||_0x2e25f9['HNFWg'])+_0x5e2d4a(0x361)+_0x518fc1),_0x518fc1&&await this[_0x5e2d4a(0x1af)](_0x214618,_0xe2370),this[_0x5e2d4a(0x2ed)]['delete'](_0x4f7ed8),this[_0x5e2d4a(0x1d9)][_0x5e2d4a(0x26f)](_0x4f7ed8);}catch(_0x372a89){logger[_0x5e2d4a(0x301)](_0x5e2d4a(0x31f)+(_0x372a89[_0x5e2d4a(0x304)]||_0x372a89['message']));}}async[a90_0x2b5653(0x1af)](_0x1fe01f,_0x7fb62b){const _0x25a415=a90_0x2b5653,_0xafce38={};_0xafce38[_0x25a415(0x2ab)]=function(_0x401e95,_0x516706){return _0x401e95===_0x516706;},_0xafce38[_0x25a415(0x1ad)]=_0x25a415(0x244),_0xafce38[_0x25a415(0x2f3)]=function(_0x3efa57,_0x323af0){return _0x3efa57===_0x323af0;},_0xafce38[_0x25a415(0x241)]=_0x25a415(0x297),_0xafce38['EGgJE']=_0x25a415(0x385),_0xafce38[_0x25a415(0x30b)]=_0x25a415(0x1f1),_0xafce38[_0x25a415(0x246)]=_0x25a415(0x2ed),_0xafce38[_0x25a415(0x34f)]=_0x25a415(0x1ba),_0xafce38[_0x25a415(0x1b8)]='unknown',_0xafce38[_0x25a415(0x282)]=_0x25a415(0x215),_0xafce38[_0x25a415(0x2c9)]=_0x25a415(0x203),_0xafce38[_0x25a415(0x1f8)]=function(_0x60289a,_0x1bbc90){return _0x60289a||_0x1bbc90;},_0xafce38[_0x25a415(0x29a)]=function(_0x4e6d67,_0x333400){return _0x4e6d67||_0x333400;},_0xafce38[_0x25a415(0x35c)]=function(_0x32b869,_0x35efb5){return _0x32b869||_0x35efb5;},_0xafce38[_0x25a415(0x36c)]='stopTestCapture:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session',_0xafce38[_0x25a415(0x32e)]=_0x25a415(0x2db),_0xafce38[_0x25a415(0x29f)]=_0x25a415(0x357);const _0x21636d=_0xafce38;try{const _0x4dd2a6=_0x7fb62b[_0x25a415(0x346)]||(_0x21636d[_0x25a415(0x2f3)](this[_0x25a415(0x333)]?.[_0x25a415(0x25a)]?.['toLowerCase'](),_0x21636d[_0x25a415(0x241)])?_0x21636d['hyQjZ']:_0x21636d['EGgJE']);let _0x838b76='',_0xa57212=null,_0x46d0d9=null;if(_0x21636d[_0x25a415(0x2ab)](_0x4dd2a6,_0x21636d[_0x25a415(0x241)])){_0xa57212=_0x7fb62b[_0x25a415(0x343)]?.[_0x25a415(0x273)]||_0x7fb62b[_0x25a415(0x343)]?.['id']||global[_0x25a415(0x20f)];if(!_0xa57212){logger[_0x25a415(0x363)](_0x21636d['TYBQB']);return;}try{const _0x1eae88=await GrpcClient['getInstance']()[_0x25a415(0x269)](process[_0x25a415(0x32f)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x21636d[_0x25a415(0x246)],_0x21636d['iBKjX'],_0xa57212),_0x1e8074=AccessibilityModule[_0x25a415(0x1c8)](null,_0x1eae88);_0x838b76=_0x1e8074?.[_0x25a415(0x2eb)]||'',logger[_0x25a415(0x1cf)](_0x25a415(0x281)+_0x838b76+_0x25a415(0x347)+_0xa57212),_0x46d0d9=_0x1eae88;}catch(_0x3f27ad){logger[_0x25a415(0x301)]('stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x3f27ad[_0x25a415(0x355)]);return;}}else{const _0x517d88=this[_0x25a415(0x2b0)](_0x7fb62b);_0x838b76=TestInfo[_0x25a415(0x1ec)](_0x517d88);}const _0x503652=((()=>{const _0x3b5396=_0x25a415,_0x549bd4=(this['accessibilityConfig']?.[_0x3b5396(0x258)]?.[_0x3b5396(0x335)]||[])[_0x3b5396(0x332)](_0xe4331b=>(typeof _0xe4331b['getName']===_0x3b5396(0x244)?_0xe4331b[_0x3b5396(0x267)]():_0xe4331b['name'])===this['KEY_TESTHUB_BUILD_ID']);return _0x549bd4?_0x21636d[_0x3b5396(0x2ab)](typeof _0x549bd4[_0x3b5396(0x2f1)],_0x21636d[_0x3b5396(0x1ad)])?_0x549bd4['getValue']():_0x549bd4[_0x3b5396(0x265)]:'';})()),_0x42875c=process[_0x25a415(0x32f)][_0x25a415(0x28e)]||'';logger[_0x25a415(0x1cf)](_0x25a415(0x2e1)+(_0x1fe01f?.['getPlatformIndex']?.()||_0x21636d[_0x25a415(0x1b8)])+']\x20clear\x20'+_0x838b76+_0x25a415(0x369)+_0x503652+_0x25a415(0x2ce)+(_0x42875c?_0x21636d[_0x25a415(0x282)]:_0x21636d[_0x25a415(0x2c9)]));let _0x3d5d79;if(_0x21636d[_0x25a415(0x2ab)](_0x4dd2a6,_0x21636d[_0x25a415(0x241)]))_0x3d5d79=AccessibilityModule[_0x25a415(0x1c8)](_0x838b76,_0x46d0d9);else{const _0x1342fb=await GrpcClient[_0x25a415(0x1ea)]()[_0x25a415(0x269)](process[_0x25a415(0x32f)][_0x25a415(0x316)],_0x21636d[_0x25a415(0x246)],_0x21636d['iBKjX']);_0x3d5d79=AccessibilityModule[_0x25a415(0x1c8)](_0x838b76,_0x1342fb);}logger[_0x25a415(0x1cf)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON['stringify'](_0x3d5d79));const _0x409c04=Object['assign']({},{'thTestRunUuid':_0x21636d[_0x25a415(0x1f8)](_0x838b76,''),'thBuildUuid':_0x21636d[_0x25a415(0x29a)](_0x503652,''),'thJwtToken':_0x21636d[_0x25a415(0x35c)](_0x42875c,'')},_0x3d5d79);!this[_0x25a415(0x367)]&&this[_0x25a415(0x217)]()&&(_0x409c04[_0x25a415(0x200)]=!![],logger[_0x25a415(0x1cf)](_0x21636d[_0x25a415(0x36c)]));logger[_0x25a415(0x1cf)](_0x25a415(0x1e6)+_0x838b76+_0x25a415(0x349)+this[_0x25a415(0x367)]);let _0x2c4cd7=global['__workerDetails']?.['pwPage']||null;!_0x2c4cd7&&(_0x2c4cd7=AutomationFramework[_0x25a415(0x2cf)](_0x1fe01f,_0x21636d['uTJYC'],null)),!_0x2c4cd7&&(_0x2c4cd7=AutomationFramework[_0x25a415(0x2cf)](_0x1fe01f,_0x21636d['VADvx'],null)),await this[_0x25a415(0x34a)](this[_0x25a415(0x383)](),_0x838b76,_0x2c4cd7,_0x409c04,this[_0x25a415(0x367)]);}catch(_0xe2ae07){logger['error'](_0x25a415(0x2b8)+(_0xe2ae07[_0x25a415(0x304)]||_0xe2ae07['message']));}}async[a90_0x2b5653(0x34a)](_0x5f09dd,_0x137353,_0xe0d65a,_0x46f81a,_0xec8a34){const _0x313b86=a90_0x2b5653,_0x357e8c={};_0x357e8c['QQlrW']=_0x313b86(0x1ba),_0x357e8c[_0x313b86(0x35e)]=function(_0x4ca95c,_0x4b57f4){return _0x4ca95c&&_0x4b57f4;},_0x357e8c[_0x313b86(0x2e0)]=_0x313b86(0x392),_0x357e8c['hkMHm']=function(_0x4539f,_0x4a2ad8){return _0x4539f===_0x4a2ad8;},_0x357e8c['wmRdK']=_0x313b86(0x203),_0x357e8c['MPoPg']=function(_0x5350c1,_0x9d2357){return _0x5350c1===_0x9d2357;},_0x357e8c[_0x313b86(0x261)]='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x357e8c[_0x313b86(0x29b)]=_0x313b86(0x326),_0x357e8c['dVcFz']=_0x313b86(0x290),_0x357e8c[_0x313b86(0x37d)]=_0x313b86(0x2de),_0x357e8c[_0x313b86(0x223)]=_0x313b86(0x364),_0x357e8c[_0x313b86(0x36d)]=_0x313b86(0x2f7),_0x357e8c[_0x313b86(0x1f9)]=_0x313b86(0x1fa);const _0x294630=_0x357e8c;try{const _0x5ef246=this['getScriptByName'](_0x294630['QQlrW']);if(_0x294630[_0x313b86(0x35e)](!_0xec8a34,!_0x5ef246)){logger[_0x313b86(0x1cf)](_0x294630[_0x313b86(0x2e0)]);return;}if(!_0x137353||_0x294630[_0x313b86(0x252)](_0x137353,_0x294630[_0x313b86(0x2d7)])||_0x294630[_0x313b86(0x370)](_0x137353,'')){logger[_0x313b86(0x1cf)](_0x294630['mYlVu']);return;}logger['debug'](_0x313b86(0x1b0)+JSON[_0x313b86(0x318)](_0x46f81a)),_0x5f09dd&&(logger[_0x313b86(0x1cf)](_0x294630['GeICQ']),await this[_0x313b86(0x1e0)](_0xe0d65a,_0x137353,_0x294630[_0x313b86(0x226)],_0x46f81a,_0xec8a34,_0x294630[_0x313b86(0x37d)]),_0x294630[_0x313b86(0x35e)](!_0xec8a34,_0x5ef246)&&(logger['debug'](_0x294630[_0x313b86(0x223)]),await PerformanceTester[_0x313b86(0x270)](_0x294630[_0x313b86(0x36d)],async()=>{const _0xd23c31=_0x313b86;await this[_0xd23c31(0x1e0)](_0xe0d65a,_0x137353,_0x294630['QQlrW'],_0x46f81a,_0xec8a34,_0x294630[_0xd23c31(0x26a)]);})()),logger[_0x313b86(0x393)](_0x294630['VzCXO']));}catch(_0x21fe30){logger[_0x313b86(0x301)](_0x313b86(0x35a)+(_0x21fe30[_0x313b86(0x304)]||_0x21fe30[_0x313b86(0x355)]));}}async[a90_0x2b5653(0x24e)](_0x2d8a62){const _0x5df4ab=a90_0x2b5653,_0x4e8ee6={};_0x4e8ee6[_0x5df4ab(0x2bb)]=function(_0x101e8e,_0x57ca32){return _0x101e8e!==_0x57ca32;},_0x4e8ee6['GDpYv']=_0x5df4ab(0x385),_0x4e8ee6[_0x5df4ab(0x1bc)]=_0x5df4ab(0x297),_0x4e8ee6['koxRd']='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x4e8ee6[_0x5df4ab(0x2f6)]=_0x5df4ab(0x289),_0x4e8ee6['WnqAq']='onBeforeExecute:\x20No\x20command\x20name\x20provided',_0x4e8ee6['hfvmc']=function(_0x12bdf8,_0x3fdd9b){return _0x12bdf8===_0x3fdd9b;},_0x4e8ee6['rHAqw']=_0x5df4ab(0x2be),_0x4e8ee6[_0x5df4ab(0x2ec)]='accessibility',_0x4e8ee6[_0x5df4ab(0x2f5)]=_0x5df4ab(0x2cd),_0x4e8ee6['AOZsI']=_0x5df4ab(0x31d),_0x4e8ee6[_0x5df4ab(0x2f2)]=_0x5df4ab(0x37f),_0x4e8ee6[_0x5df4ab(0x2ac)]=function(_0x2884b1,_0x31e275){return _0x2884b1===_0x31e275;},_0x4e8ee6['tkTzK']=_0x5df4ab(0x2de),_0x4e8ee6[_0x5df4ab(0x321)]=_0x5df4ab(0x203);const _0x30a8f9=_0x4e8ee6;if(_0x30a8f9[_0x5df4ab(0x2bb)](_0x2d8a62[_0x5df4ab(0x346)],_0x30a8f9['GDpYv'])&&_0x30a8f9[_0x5df4ab(0x2bb)](_0x2d8a62['testFramework'],_0x30a8f9[_0x5df4ab(0x1bc)])){logger['debug'](_0x30a8f9[_0x5df4ab(0x389)]);return;}logger['debug'](_0x5df4ab(0x245)+(_0x2d8a62[_0x5df4ab(0x233)]||_0x30a8f9[_0x5df4ab(0x2f6)])+_0x5df4ab(0x2fb)+_0x2d8a62['testFramework']);try{const _0x4400d9=_0x2d8a62[_0x5df4ab(0x2b3)]||AutomationFramework[_0x5df4ab(0x334)](),_0x2d6f76=TestFramework['getTrackedInstance'](),_0x7d6bdc=_0x2d8a62[_0x5df4ab(0x233)]||_0x2d8a62[_0x5df4ab(0x225)]?.['getName']();if(!_0x7d6bdc){logger[_0x5df4ab(0x1cf)](_0x30a8f9[_0x5df4ab(0x214)]);return;}if(!this[_0x5df4ab(0x383)]()){logger[_0x5df4ab(0x1cf)](_0x5df4ab(0x2da)+_0x7d6bdc);return;}if(!this[_0x5df4ab(0x1ff)](_0x7d6bdc)){logger['debug'](_0x5df4ab(0x344)+_0x7d6bdc+_0x5df4ab(0x1bb));return;}const _0x135b47=_0x2d8a62[_0x5df4ab(0x2ee)]||global[_0x5df4ab(0x299)]?.[_0x5df4ab(0x2bf)];if(!_0x135b47){logger[_0x5df4ab(0x1cf)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x7d6bdc);return;}let _0x3d6ddd='',_0x3ca738=null;if(_0x30a8f9[_0x5df4ab(0x35b)](_0x2d8a62[_0x5df4ab(0x346)],_0x30a8f9[_0x5df4ab(0x1bc)])){_0x3ca738=_0x2d8a62['testInfo']?.[_0x5df4ab(0x273)]||_0x2d8a62['testInfo']?.['id']||global[_0x5df4ab(0x20f)];if(!_0x3ca738){logger[_0x5df4ab(0x363)](_0x30a8f9[_0x5df4ab(0x259)]);return;}try{const _0x3fddbe=await GrpcClient[_0x5df4ab(0x1ea)]()[_0x5df4ab(0x269)](process[_0x5df4ab(0x32f)][_0x5df4ab(0x316)],_0x30a8f9[_0x5df4ab(0x2ec)],_0x30a8f9['OlFIX'],_0x3ca738),_0x4f3876=AccessibilityModule[_0x5df4ab(0x1c8)](null,_0x3fddbe);_0x3d6ddd=_0x4f3876?.[_0x5df4ab(0x2eb)]||'',logger[_0x5df4ab(0x1cf)](_0x5df4ab(0x26c)+_0x3d6ddd+_0x5df4ab(0x347)+_0x3ca738);}catch(_0x53de44){logger[_0x5df4ab(0x301)](_0x5df4ab(0x25f)+_0x53de44['message']);return;}}else _0x3d6ddd=this[_0x5df4ab(0x342)](_0x30a8f9[_0x5df4ab(0x37a)])||'',!_0x3d6ddd&&this[_0x5df4ab(0x217)]()&&(_0x3d6ddd=accessibilityHelper[_0x5df4ab(0x1e2)]());const _0x5873b5=this[_0x5df4ab(0x342)](_0x30a8f9[_0x5df4ab(0x2f2)])||this[_0x5df4ab(0x20c)][this[_0x5df4ab(0x328)]]||null,_0x232b62=process[_0x5df4ab(0x32f)][_0x5df4ab(0x28e)]||'',_0x184178=this['getParamsForScanForCli'](_0x7d6bdc,_0x3d6ddd,_0x5873b5,_0x232b62),_0x37e0b7=_0x30a8f9[_0x5df4ab(0x2ac)](_0x2d8a62[_0x5df4ab(0x346)],_0x30a8f9['NYQZU'])?await AccessibilityModule[_0x5df4ab(0x2cb)](_0x30a8f9[_0x5df4ab(0x209)],_0x3d6ddd,_0x3ca738):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x30a8f9[_0x5df4ab(0x209)],_0x3d6ddd);logger['info']('ScanArgs:\x20'+(_0x184178?JSON[_0x5df4ab(0x318)](_0x184178):_0x30a8f9['dpIdV']));const _0x11e81b=CLIUtils[_0x5df4ab(0x345)](_0x184178,_0x37e0b7);logger['info'](_0x5df4ab(0x308)+(_0x11e81b?JSON[_0x5df4ab(0x318)](_0x11e81b):_0x30a8f9[_0x5df4ab(0x321)])),logger[_0x5df4ab(0x1cf)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x7d6bdc);const _0x716973=await this['performScanForCli'](_0x135b47,_0x3d6ddd,_0x7d6bdc,_0x11e81b,this['isAppAccessibility']);logger[_0x5df4ab(0x1cf)](_0x5df4ab(0x264)+_0x7d6bdc+_0x5df4ab(0x366)+JSON[_0x5df4ab(0x318)](_0x716973));}catch(_0x5e323a){logger['error'](_0x5df4ab(0x1b5)+(_0x5e323a[_0x5df4ab(0x304)]||_0x5e323a[_0x5df4ab(0x355)]));}}['shouldScanCurrentTest'](){const _0x27e53=a90_0x2b5653;return this[_0x27e53(0x383)]();}['setShouldScanCurrentTest'](_0x137e23){const _0x5e1312=a90_0x2b5653,_0x132c21=CLIUtils['getCurrentInstanceName']();this[_0x5e1312(0x2ed)]['set'](_0x132c21,_0x137e23);}async[a90_0x2b5653(0x1fc)](_0x50b931){const _0xae17ba=a90_0x2b5653,_0x2f8471={};_0x2f8471[_0xae17ba(0x371)]=_0xae17ba(0x289);const _0x3f554d=_0x2f8471;try{const _0x1fecaa=_0x50b931[_0xae17ba(0x2b3)]||AutomationFramework[_0xae17ba(0x334)](),_0x1c5323=_0x1fecaa?.['getData']?.()?.['get']?.(this[_0xae17ba(0x1e3)])||![];if(_0x1c5323)return;PerformanceTester[_0xae17ba(0x253)](EVENTS[_0xae17ba(0x38e)]);const _0x330b51=await GrpcClient[_0xae17ba(0x1ea)]()[_0xae17ba(0x228)](_0x50b931);_0x330b51&&_0x330b51[_0xae17ba(0x2f8)]&&_0x330b51[_0xae17ba(0x2f8)]()&&_0x330b51[_0xae17ba(0x2f8)]()[_0xae17ba(0x350)]()?(await this[_0xae17ba(0x294)](_0x330b51,_0x50b931),_0x1fecaa?.[_0xae17ba(0x21f)]&&_0x1fecaa['getData']()[_0xae17ba(0x2c1)](this['KEY_INIT'],!![]),logger[_0xae17ba(0x1cf)](_0xae17ba(0x2e1)+(_0x1fecaa?.['getPlatformIndex']?.()||_0x3f554d[_0xae17ba(0x371)])+_0xae17ba(0x1e9))):logger['debug'](_0xae17ba(0x2e1)+(_0x1fecaa?.[_0xae17ba(0x32c)]?.()||_0x3f554d[_0xae17ba(0x371)])+_0xae17ba(0x2a0)),PerformanceTester[_0xae17ba(0x238)](EVENTS[_0xae17ba(0x38e)]);}catch(_0x47471e){PerformanceTester['end'](EVENTS[_0xae17ba(0x38e)],![],_0x47471e[_0xae17ba(0x355)]),logger[_0xae17ba(0x301)](_0xae17ba(0x21b)+(_0x47471e['stack']||_0x47471e[_0xae17ba(0x355)]));}}async[a90_0x2b5653(0x294)](_0x538e53,_0x557a37){const _0x286ffc=a90_0x2b5653;await this['setAccessibilityConfig'](_0x538e53,_0x557a37);const _0x5927b0=_0x538e53[_0x286ffc(0x2f8)]()['getOptions']();if(_0x5927b0){const _0x17d14e=_0x538e53[_0x286ffc(0x260)]&&_0x538e53[_0x286ffc(0x260)]();_0x17d14e&&(this['accessibilityConfig'][this[_0x286ffc(0x328)]]=_0x17d14e['getBuildId']&&_0x17d14e[_0x286ffc(0x20e)]());}}[a90_0x2b5653(0x1ff)](_0x448213){const _0x4f5830=a90_0x2b5653,_0x527ce7={};_0x527ce7['yuHIq']=function(_0x54ebd1,_0x42c103){return _0x54ebd1===_0x42c103;};const _0x359926=_0x527ce7;try{if(!_0x448213)return![];const _0x5f58d7=this[_0x4f5830(0x20c)]?.['options']?.[_0x4f5830(0x28d)]?.[_0x4f5830(0x314)]||[],_0x4d022c=_0x5f58d7['some'](_0x2079ab=>{const _0x418815=_0x4f5830;return _0x2079ab[_0x418815(0x25a)]&&_0x359926[_0x418815(0x232)](_0x2079ab[_0x418815(0x25a)][_0x418815(0x254)](),_0x448213[_0x418815(0x254)]());});return logger[_0x4f5830(0x1cf)](_0x4f5830(0x1b2)+_0x448213+_0x4f5830(0x38c)+_0x4d022c+_0x4f5830(0x23b)+JSON[_0x4f5830(0x318)](_0x5f58d7[_0x4f5830(0x1c2)](_0x3d3177=>_0x3d3177[_0x4f5830(0x25a)]))),_0x4d022c;}catch(_0x5d11f4){return logger[_0x4f5830(0x1cf)](_0x4f5830(0x255)+_0x5d11f4[_0x4f5830(0x355)]),![];}}[a90_0x2b5653(0x202)](_0xd9356){const _0x1cd72a=a90_0x2b5653,_0x498b00={};_0x498b00[_0x1cd72a(0x373)]=function(_0x592c1,_0x3c4661){return _0x592c1===_0x3c4661;},_0x498b00['FloWx']=_0x1cd72a(0x211),_0x498b00[_0x1cd72a(0x207)]=_0x1cd72a(0x2b9);const _0xc14c43=_0x498b00,_0x501ac7=_0xd9356[_0x1cd72a(0x1d0)]&&_0xd9356[_0x1cd72a(0x1d0)]();return _0x501ac7&&_0xc14c43[_0x1cd72a(0x373)](typeof _0x501ac7,_0xc14c43[_0x1cd72a(0x29e)])&&_0x501ac7[_0x1cd72a(0x37e)](_0xc14c43[_0x1cd72a(0x207)]);}['isAccessibilityScriptCommand'](_0x4069ef){const _0x76602f=a90_0x2b5653,_0x3c379d={};_0x3c379d[_0x76602f(0x2a5)]=function(_0x51ae85,_0x5f2238){return _0x51ae85!==_0x5f2238;},_0x3c379d[_0x76602f(0x2e7)]=_0x76602f(0x211),_0x3c379d['BwHWD']=_0x76602f(0x2ed),_0x3c379d[_0x76602f(0x25e)]=_0x76602f(0x2cd),_0x3c379d['srvfS']=_0x76602f(0x242),_0x3c379d[_0x76602f(0x1ee)]='saveTestResults';const _0x55f593=_0x3c379d,_0x2feb29=_0x4069ef['getScript']&&_0x4069ef[_0x76602f(0x1d0)]();if(!_0x2feb29||_0x55f593[_0x76602f(0x2a5)](typeof _0x2feb29,_0x55f593[_0x76602f(0x2e7)]))return![];return _0x2feb29[_0x76602f(0x37e)](_0x55f593[_0x76602f(0x33a)])||_0x2feb29['includes'](_0x55f593['DhKPR'])||_0x2feb29[_0x76602f(0x37e)](_0x55f593[_0x76602f(0x298)])||_0x2feb29['includes'](_0x55f593[_0x76602f(0x1ee)]);}['isMobileWebSession'](){const _0x5353ff=a90_0x2b5653,_0x4e8f49={'wekrU':function(_0x3f20d3,_0x5aa4f4){return _0x3f20d3===_0x5aa4f4;},'wWOmh':_0x5353ff(0x244),'ESCjf':function(_0x5503ee,_0x41cf45){return _0x5503ee(_0x41cf45);},'daNlK':'platformName','VgTNh':_0x5353ff(0x26b),'CYYkj':function(_0x5f3fcc,_0x1db4cd){return _0x5f3fcc===_0x1db4cd;},'Psipf':function(_0x1513ab,_0x5e52d8){return _0x1513ab(_0x5e52d8);},'tvTav':_0x5353ff(0x219),'EMCpd':_0x5353ff(0x2d8)};try{const _0x4069d1=this[_0x5353ff(0x20c)]?.[_0x5353ff(0x258)]?.[_0x5353ff(0x335)]||[],_0x2112da=_0x21c2ec=>{const _0x1386b9=_0x5353ff,_0x3613aa=_0x4069d1['find'](_0x13230d=>(typeof _0x13230d[_0x1386b9(0x267)]==='function'?_0x13230d[_0x1386b9(0x267)]():_0x13230d[_0x1386b9(0x25a)])===_0x21c2ec);return _0x3613aa?_0x4e8f49['wekrU'](typeof _0x3613aa[_0x1386b9(0x2f1)],_0x4e8f49['wWOmh'])?_0x3613aa[_0x1386b9(0x2f1)]():_0x3613aa['value']:null;},_0x155e38=_0x4e8f49[_0x5353ff(0x37c)](_0x2112da,_0x4e8f49[_0x5353ff(0x1f3)]),_0x41a155=_0x4e8f49[_0x5353ff(0x37c)](_0x2112da,_0x4e8f49[_0x5353ff(0x1dd)]),_0x3f2a28=global[_0x5353ff(0x1c3)]||_0x155e38&&_0x4e8f49['CYYkj'](_0x4e8f49[_0x5353ff(0x320)](String,_0x155e38)['toLowerCase'](),_0x4e8f49['tvTav'])&&_0x41a155&&_0x4e8f49[_0x5353ff(0x320)](String,_0x41a155)[_0x5353ff(0x254)]()[_0x5353ff(0x37e)](_0x4e8f49[_0x5353ff(0x2a7)]);if(!_0x3f2a28)return![];if(!accessibilityHelper[_0x5353ff(0x341)]())return!this[_0x5353ff(0x313)]&&(logger[_0x5353ff(0x363)](accessibilityHelper[_0x5353ff(0x38b)]),this['_mobileScanningDisabledLogged']=!![]),![];return!![];}catch(_0x4ad287){return logger[_0x5353ff(0x1cf)](_0x5353ff(0x212)+_0x4ad287[_0x5353ff(0x355)]),![];}}[a90_0x2b5653(0x278)](_0x2d891c,_0x4a993a,_0x243147,_0x5ba1a8){const _0x50f7d7=a90_0x2b5653,_0x3d1a42={};_0x3d1a42['dzCTu']=function(_0x2eeb61,_0x3cbe2a){return _0x2eeb61||_0x3cbe2a;},_0x3d1a42[_0x50f7d7(0x356)]=function(_0x35acf4,_0x3cb251){return _0x35acf4&&_0x3cb251;},_0x3d1a42['DxRpE']=function(_0x431c54,_0xdcf386){return _0x431c54||_0xdcf386;},_0x3d1a42[_0x50f7d7(0x1bf)]=_0x50f7d7(0x378);const _0x1cdff0=_0x3d1a42;let _0x43f5d5=_0x1cdff0[_0x50f7d7(0x2c6)](_0x4a993a,'');const _0x13cbf9=!this['isAppAccessibility']&&this[_0x50f7d7(0x217)]();_0x1cdff0[_0x50f7d7(0x356)](_0x13cbf9,!_0x43f5d5)&&(_0x43f5d5=accessibilityHelper[_0x50f7d7(0x1e2)]());const _0x2324ff={'command':_0x2d891c,'thTestRunUuid':_0x43f5d5,'thBuildUuid':_0x1cdff0[_0x50f7d7(0x1c7)](_0x243147,''),'thJwtToken':_0x1cdff0[_0x50f7d7(0x2c6)](_0x5ba1a8,''),'timestamp':new Date()[_0x50f7d7(0x2f0)]()};return _0x13cbf9&&(_0x2324ff[_0x50f7d7(0x200)]=!![],logger[_0x50f7d7(0x1cf)](_0x1cdff0[_0x50f7d7(0x1bf)])),_0x2324ff;}[a90_0x2b5653(0x2a2)](_0x56b0d4){const _0x4297c1=a90_0x2b5653,_0x540ae2={};_0x540ae2['vAali']=function(_0x1e3c6a,_0x3a8011){return _0x1e3c6a||_0x3a8011;};const _0x5af68d=_0x540ae2;try{const _0x5742e3=this['accessibilityConfig']?.['options']?.[_0x4297c1(0x21d)]||[],_0x58017c=_0x5742e3[_0x4297c1(0x332)](_0x4e4750=>_0x4e4750['name']===_0x56b0d4);return _0x5af68d[_0x4297c1(0x218)](_0x58017c,null);}catch(_0xae3a75){return logger[_0x4297c1(0x1cf)](_0x4297c1(0x1df)+_0x56b0d4+':\x20'+_0xae3a75[_0x4297c1(0x355)]),null;}}async[a90_0x2b5653(0x368)](_0x37a1ce,_0x19dd50,_0x1a57c2=null){const _0x5c4172=a90_0x2b5653,_0x407d2={'zZPOE':function(_0x1af988,_0x3aa6b8){return _0x1af988(_0x3aa6b8);},'Aefxu':_0x5c4172(0x2df)};try{if(!_0x37a1ce)return logger[_0x5c4172(0x1cf)](_0x5c4172(0x286)+_0x19dd50),null;const _0x3a8897=this[_0x5c4172(0x2a2)](_0x19dd50);if(!_0x3a8897||!_0x3a8897[_0x5c4172(0x225)])return logger[_0x5c4172(0x1cf)]('executeScriptByName:\x20No\x20'+_0x19dd50+'\x20script\x20available'),null;logger['debug']('Executing\x20'+_0x19dd50+'\x20accessibility\x20script\x20on\x20page');const _0x1f8891=_0x407d2[_0x5c4172(0x374)](require,_0x407d2[_0x5c4172(0x2c8)]),_0x378d13=_0x1a57c2?await _0x1f8891[_0x5c4172(0x38d)](_0x37a1ce,_0x3a8897['command'],_0x1a57c2):await _0x1f8891[_0x5c4172(0x38d)](_0x37a1ce,_0x3a8897[_0x5c4172(0x225)]);return _0x378d13;}catch(_0x2b6467){return logger[_0x5c4172(0x301)](_0x5c4172(0x1dc)+_0x19dd50+':\x20'+(_0x2b6467[_0x5c4172(0x304)]||_0x2b6467[_0x5c4172(0x355)])),null;}}async[a90_0x2b5653(0x1e0)](_0x361d47,_0x169caa,_0x5f368d,_0x21e4e3,_0x511aef,_0x369ded='scan'){const _0xfe7dbb=a90_0x2b5653,_0x26cf7f={'ecKdu':function(_0x1aaff1,_0x189ef2){return _0x1aaff1===_0x189ef2;},'yshkK':'scan','uOoZf':function(_0x593aba,_0x35bb05){return _0x593aba(_0x35bb05);},'psRFd':'../../playwright/accessibility-helper','eFTBU':function(_0x4b7ea6,_0x435d51){return _0x4b7ea6(_0x435d51);}};try{logger[_0xfe7dbb(0x1cf)](_0xfe7dbb(0x222)+_0x5f368d+'\x20using\x20script:\x20'+_0x369ded);const _0x13d40a=this[_0xfe7dbb(0x2a2)](_0x369ded);if(!_0x13d40a||!_0x13d40a['command']){logger[_0xfe7dbb(0x1cf)](_0xfe7dbb(0x20d)+_0x369ded+'\x20script\x20available\x20in\x20scriptsList');return;}if(_0x26cf7f['ecKdu'](_0x369ded,_0x26cf7f[_0xfe7dbb(0x23c)])){const _0x5602bc=_0x26cf7f[_0xfe7dbb(0x2c2)](require,_0x26cf7f[_0xfe7dbb(0x23e)]),_0x2abc75={};_0x2abc75[_0xfe7dbb(0x225)]=_0x5f368d;const _0x30c2ac=await PerformanceTester[_0xfe7dbb(0x270)](PerformanceA11yEvents[_0xfe7dbb(0x2e8)],async()=>{const _0x3192fc=_0xfe7dbb;return await _0x5602bc['browserStackEvaluate'](_0x361d47,_0x13d40a[_0x3192fc(0x225)],_0x21e4e3);},_0x2abc75)();return logger[_0xfe7dbb(0x393)](_0xfe7dbb(0x1e8)+_0x369ded+_0xfe7dbb(0x208)+_0x5f368d+':\x20'+util[_0xfe7dbb(0x1b4)](_0x30c2ac)),_0x30c2ac;}const _0x2e4955=_0x26cf7f[_0xfe7dbb(0x240)](require,_0x26cf7f[_0xfe7dbb(0x23e)]),_0x353cac=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xfe7dbb(0x220)],async()=>{const _0x18a78b=_0xfe7dbb;return await _0x2e4955[_0x18a78b(0x38d)](_0x361d47,_0x13d40a[_0x18a78b(0x225)],_0x21e4e3);})();return logger['info'](_0xfe7dbb(0x1e8)+_0x369ded+'\x20result\x20for\x20'+_0x5f368d+':\x20'+util[_0xfe7dbb(0x1b4)](_0x353cac)),_0x353cac;}catch(_0x248122){logger[_0xfe7dbb(0x301)](_0xfe7dbb(0x204)+_0x369ded+':\x20'+(_0x248122[_0xfe7dbb(0x304)]||_0x248122[_0xfe7dbb(0x355)]));}}async['validatePlatformForAccessibility'](_0x154a9c){const _0x12cc5f=a90_0x2b5653,_0x5d4519={'ClPhN':function(_0x255000,_0x353072){return _0x255000(_0x353072);},'kvvIs':_0x12cc5f(0x1ce)};try{const _0x7527ad=_0x5d4519[_0x12cc5f(0x20a)](require,_0x5d4519[_0x12cc5f(0x28f)]);return await _0x7527ad[_0x12cc5f(0x362)](_0x154a9c);}catch(_0x4c24e3){return logger[_0x12cc5f(0x301)]('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x4c24e3[_0x12cc5f(0x304)]||_0x4c24e3[_0x12cc5f(0x355)])),![];}}['processAccessibilityCaps'](_0x4d6846,_0x4bd785,_0x310c5e){const _0x3b7df4=a90_0x2b5653,_0x23fb6a={'cOCLf':function(_0x20436b,_0x17ef12){return _0x20436b(_0x17ef12);},'TJjHF':_0x3b7df4(0x2df),'OxEYa':'\x22browserstack.user\x22:\x22[REDACTED]\x22','mgTrR':_0x3b7df4(0x317)};try{const _0x706ad1=_0x23fb6a[_0x3b7df4(0x27d)](require,_0x23fb6a[_0x3b7df4(0x1f2)]);_0x706ad1[_0x3b7df4(0x27a)](_0x4d6846,_0x4bd785,_0x310c5e);const _0x338766=JSON['stringify'](_0x4d6846)['replace'](/"browserstack\.user":"[^"]*"/g,_0x23fb6a[_0x3b7df4(0x2d5)])['replace'](/"browserstack\.key":"[^"]*"/g,_0x23fb6a[_0x3b7df4(0x1f4)]);logger['debug'](_0x3b7df4(0x263)+global[_0x3b7df4(0x31a)]+'\x20'+_0x338766);}catch(_0x18e2a5){logger['error']('Error\x20in\x20processAccessibilityCaps:\x20'+(_0x18e2a5[_0x3b7df4(0x304)]||_0x18e2a5[_0x3b7df4(0x355)]));}}async[a90_0x2b5653(0x1d5)](_0x3f906a){const _0x85b103=a90_0x2b5653,_0x2bd2a8={};_0x2bd2a8[_0x85b103(0x22b)]=_0x85b103(0x319),_0x2bd2a8[_0x85b103(0x2a4)]=function(_0x1bbf36,_0x34fc25){return _0x1bbf36>_0x34fc25;},_0x2bd2a8[_0x85b103(0x2dc)]=function(_0x210c64,_0x571bb2){return _0x210c64>_0x571bb2;},_0x2bd2a8[_0x85b103(0x266)]=_0x85b103(0x242);const _0xcc2835=_0x2bd2a8;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x85b103(0x363)](_0xcc2835['lBovm']),[];const _0x37bb91=this['isMobileWebSession']()?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x85b103(0x1e2)]()}:{};_0xcc2835[_0x85b103(0x2a4)](Object[_0x85b103(0x34c)](_0x37bb91)[_0x85b103(0x1b3)],0x0)&&logger[_0x85b103(0x1cf)](_0x85b103(0x1ac)+JSON[_0x85b103(0x318)](_0x37bb91));const _0x5b70c5=_0xcc2835[_0x85b103(0x2dc)](Object['keys'](_0x37bb91)[_0x85b103(0x1b3)],0x0)?await this['executeScriptByName'](_0x3f906a,_0xcc2835[_0x85b103(0x266)],_0x37bb91):await this[_0x85b103(0x368)](_0x3f906a,_0xcc2835[_0x85b103(0x266)]);return _0x5b70c5||[];}catch(_0x565a7f){return logger[_0x85b103(0x301)](_0x85b103(0x1b6)+(_0x565a7f[_0x85b103(0x304)]||_0x565a7f['message'])),[];}}async[a90_0x2b5653(0x2dd)](_0x494c35){const _0x2a2c79=a90_0x2b5653,_0x18060b={'JUWsC':_0x2a2c79(0x2de),'uNsVY':_0x2a2c79(0x2b2),'jyJqP':_0x2a2c79(0x213),'gcsoc':function(_0x2917a0,_0xca4a97){return _0x2917a0(_0xca4a97);},'lxgUu':_0x2a2c79(0x380),'hhhRr':function(_0x2fc40a,_0x562bd9){return _0x2fc40a===_0x562bd9;},'GJjBa':_0x2a2c79(0x297),'VsaIs':_0x2a2c79(0x2aa),'nyzEj':_0x2a2c79(0x2ed),'vZZpW':_0x2a2c79(0x37f),'EetuW':_0x2a2c79(0x2dd),'YdcHk':_0x2a2c79(0x31d),'INYvO':_0x2a2c79(0x372),'yZdMt':_0x2a2c79(0x26d)};try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x2a2c79(0x363)](_0x18060b[_0x2a2c79(0x2e3)]),{};const _0x79980c=_0x18060b[_0x2a2c79(0x2bd)](require,_0x18060b[_0x2a2c79(0x1b7)]),_0x1d1784=_0x79980c[_0x2a2c79(0x1d1)](),_0x116cc6=_0x18060b[_0x2a2c79(0x36f)](_0x1d1784?.[_0x2a2c79(0x25a)]?.[_0x2a2c79(0x254)](),_0x18060b['GJjBa']);let _0xa34ea5='',_0x377af9=null,_0x6484bb=null;if(_0x116cc6){_0x377af9=global[_0x2a2c79(0x20f)]||global[_0x2a2c79(0x299)]?.[_0x2a2c79(0x1db)]?.[_0x2a2c79(0x273)]||global[_0x2a2c79(0x299)]?.[_0x2a2c79(0x1db)]?.['id'];if(!_0x377af9)return logger[_0x2a2c79(0x363)](_0x18060b[_0x2a2c79(0x381)]),{};try{const _0x380857=await GrpcClient[_0x2a2c79(0x1ea)]()[_0x2a2c79(0x269)](process[_0x2a2c79(0x32f)][_0x2a2c79(0x316)],_0x18060b[_0x2a2c79(0x331)],_0x18060b['uNsVY'],_0x377af9),_0x4ce500=AccessibilityModule[_0x2a2c79(0x1c8)](null,_0x380857);_0xa34ea5=_0x4ce500?.[_0x2a2c79(0x2eb)]||'',logger[_0x2a2c79(0x1cf)](_0x2a2c79(0x1ed)+_0xa34ea5+_0x2a2c79(0x347)+_0x377af9);const _0x48e70b=await AccessibilityModule[_0x2a2c79(0x2cb)](_0x18060b[_0x2a2c79(0x2fc)],_0xa34ea5,_0x377af9),_0x4260f2=this[_0x2a2c79(0x342)](_0x18060b[_0x2a2c79(0x30f)])||this[_0x2a2c79(0x20c)][this[_0x2a2c79(0x328)]]||null,_0x54bd2f=process[_0x2a2c79(0x32f)][_0x2a2c79(0x28e)]||'',_0x44e093=this[_0x2a2c79(0x278)](_0x18060b[_0x2a2c79(0x2e4)],_0xa34ea5,_0x4260f2,_0x54bd2f);_0x6484bb=_0x79980c[_0x2a2c79(0x345)](_0x44e093,_0x48e70b),logger[_0x2a2c79(0x1cf)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON[_0x2a2c79(0x318)](_0x6484bb));}catch(_0x325612){return logger[_0x2a2c79(0x301)](_0x2a2c79(0x2d3)+_0x325612[_0x2a2c79(0x355)]),{};}}else{_0xa34ea5=this['getCapabilityValue'](_0x18060b[_0x2a2c79(0x382)])||'';!_0xa34ea5&&this[_0x2a2c79(0x217)]()&&(_0xa34ea5=accessibilityHelper[_0x2a2c79(0x1e2)]());const _0x5ced87=this[_0x2a2c79(0x342)](_0x18060b[_0x2a2c79(0x30f)])||this[_0x2a2c79(0x20c)][this[_0x2a2c79(0x328)]]||null,_0x4b10c5=process[_0x2a2c79(0x32f)][_0x2a2c79(0x28e)]||'';_0x6484bb=this[_0x2a2c79(0x278)](_0x18060b['EetuW'],_0xa34ea5,_0x5ced87,_0x4b10c5);}logger[_0x2a2c79(0x1cf)](_0x18060b[_0x2a2c79(0x2f4)]),await PerformanceTester[_0x2a2c79(0x270)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x85ff11=_0x2a2c79,_0x2ce11d=await this[_0x85ff11(0x368)](_0x494c35,_0x18060b['JUWsC'],_0x6484bb);logger[_0x85ff11(0x1cf)](_0x85ff11(0x22d)+util[_0x85ff11(0x1b4)](_0x2ce11d));},{'command':_0x18060b[_0x2a2c79(0x2e4)]})();const _0x555191=await PerformanceTester[_0x2a2c79(0x270)](PerformanceA11yEvents[_0x2a2c79(0x279)],async()=>{const _0x5e5dd9=_0x2a2c79;return await this[_0x5e5dd9(0x368)](_0x494c35,_0x18060b[_0x5e5dd9(0x2fc)],_0x6484bb);})();if(!_0x555191)return logger[_0x2a2c79(0x1cf)](_0x18060b[_0x2a2c79(0x38f)]),{};return _0x555191;}catch(_0x2c8785){return logger[_0x2a2c79(0x301)]('Error\x20in\x20getAccessibilityResultsSummary:\x20'+(_0x2c8785[_0x2a2c79(0x304)]||_0x2c8785[_0x2a2c79(0x355)])),{};}}async[a90_0x2b5653(0x2b1)](_0xb44f2f,_0x4f448e,_0x256968=null){const _0x4c20a1=a90_0x2b5653,_0x2f582b={};_0x2f582b[_0x4c20a1(0x287)]='performPageScan:\x20Page\x20is\x20null',_0x2f582b['oKHoo']=_0x4c20a1(0x28b),_0x2f582b[_0x4c20a1(0x1e7)]=_0x4c20a1(0x379);const _0x331e5e=_0x2f582b;try{if(!_0xb44f2f)return logger['debug'](_0x331e5e[_0x4c20a1(0x287)]),null;if(!_0x4f448e)return logger[_0x4c20a1(0x1cf)](_0x331e5e[_0x4c20a1(0x2e6)]),null;logger[_0x4c20a1(0x1cf)](_0x331e5e['iJlVj']);const _0x5ee970=_0x256968?await _0xb44f2f[_0x4c20a1(0x1ae)](_0x4f448e,_0x256968):await _0xb44f2f['evaluate'](_0x4f448e);return _0x5ee970;}catch(_0xc4db32){return logger[_0x4c20a1(0x301)](_0x4c20a1(0x257)+(_0xc4db32[_0x4c20a1(0x304)]||_0xc4db32['message'])),null;}}static['loadDriverExecuteParams'](_0x786e2a,_0x3d56e9){const _0x44f1ab=a90_0x2b5653,_0x31fa29={};_0x31fa29[_0x44f1ab(0x1f0)]=_0x44f1ab(0x27f);const _0x3d782b=_0x31fa29,_0x5cd7e7={};_0x5cd7e7[_0x44f1ab(0x2eb)]=_0x786e2a;const _0x42be04=_0x5cd7e7;let _0x12eaa8={};if(_0x3d56e9[_0x44f1ab(0x350)]()&&_0x3d56e9['hasAccessibilityExecuteParams']())try{_0x12eaa8=JSON[_0x44f1ab(0x315)](new Buffer(_0x3d56e9[_0x44f1ab(0x2ca)]())[_0x44f1ab(0x36b)](_0x3d782b[_0x44f1ab(0x1f0)]));}catch(_0x256625){logger[_0x44f1ab(0x301)](_0x44f1ab(0x35d)+_0x256625['message']),_0x12eaa8={};}return CLIUtils[_0x44f1ab(0x345)](_0x42be04,_0x12eaa8);}static async[a90_0x2b5653(0x2cb)](_0x53d631,_0x2ccc0f='',_0x304575=null){const _0x1fe663=a90_0x2b5653,_0x2defa8={};_0x2defa8['nKycV']=_0x1fe663(0x34b),_0x2defa8[_0x1fe663(0x305)]=_0x1fe663(0x2ed);const _0x5f0c5b=_0x2defa8;try{if(!_0x304575&&AccessibilityModule[_0x1fe663(0x358)])return AccessibilityModule[_0x1fe663(0x352)];if(!process[_0x1fe663(0x32f)][_0x1fe663(0x316)])return logger['error'](_0x5f0c5b[_0x1fe663(0x1f7)]),{};const _0x3420c0=await GrpcClient[_0x1fe663(0x1ea)]()[_0x1fe663(0x269)](process[_0x1fe663(0x32f)][_0x1fe663(0x316)],_0x5f0c5b[_0x1fe663(0x305)],_0x53d631,_0x304575),_0x2d0ea2=_0x304575?AccessibilityModule['loadDriverExecuteParams'](null,_0x3420c0)?.[_0x1fe663(0x2eb)]||_0x2ccc0f:_0x2ccc0f,_0x3394cc=AccessibilityModule[_0x1fe663(0x1c8)](_0x2d0ea2,_0x3420c0);return!_0x304575&&(AccessibilityModule[_0x1fe663(0x352)]=_0x3394cc,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x3394cc;}catch(_0x3f5d5a){return logger[_0x1fe663(0x301)](_0x1fe663(0x1d7)+_0x53d631+':\x20'+(_0x3f5d5a[_0x1fe663(0x304)]||_0x3f5d5a[_0x1fe663(0x355)])),{};}}}function a90_0x4945(_0x2cbc05,_0x308649){const _0x554216=a90_0x5542();return a90_0x4945=function(_0x494518,_0x4d04bb){_0x494518=_0x494518-0x1ac;let _0x1d6d37=_0x554216[_0x494518];return _0x1d6d37;},a90_0x4945(_0x2cbc05,_0x308649);};module['exports']=AccessibilityModule;function a90_0x5542(){const _0x54860e=['excludeTagsInTestingScope','eFTBU','hyQjZ','getResults','browserVersion','function','onBeforeExecute:\x20command=','IHTch','[AccessibilityModule]\x20isMobileScanningEnabledForGroup\x20cap\x20received:\x20raw=','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','parseFromProto','toJson','_sendMessageServerPatchApplied','zZSkE','onBeforeExecute','version','util','getGoogleChromeOptions','hkMHm','start','toLowerCase','Error\x20in\x20shouldScanForCommand:\x20',',\x20testName=','Error\x20in\x20performPageScan:\x20','options','rHAqw','name','updateData','trim','../../utils/playwright-patcher','DhKPR','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','getTesthub','mYlVu','Kvcir','Processed\x20accessibility\x20caps\x20','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','value','xfxsp','getName','../state/hookState','fetchDriverExecuteParamsEvent','QQlrW','browserName','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','No\x20summaryResults\x20found.','BS_A11Y_JWT','delete','measureWrapper','yXAdD','test_tags','testAnalyticsId','GGVTg','lTgAf','../../../helpers/classLogger','../../../helpers/helper','getParamsForScanForCli','GET_RESULTS_SUMMARY','processAccessibilityCaps','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','../framework/constants/testFrameworkConstants.js','cOCLf','../TestInfo.js','ascii',']\x20isEnabledTestcase\x20(cucumber)\x20result=','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','KYDZI','getCurrentInstanceName','args','chromeOptions','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','LKPQD','../framework/testFramework','unknown','JqfnR','performPageScan:\x20Script\x20is\x20null','KeQdg','commandsToWrap','BROWSERSTACK_TESTHUB_JWT','kvvIs','afterTestHook','getCommandsList','--headless=new','rZWdE','loadAccessibilityConfig','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','jest','srvfS','__workerDetails','vHHTi','GeICQ','get','Hwamo','FloWx','VADvx',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','toObject','getScriptByName','setAccessibilityToken','julMN','pQRcS','pXGmg','EMCpd','MODULE_NAME','../../../helpers/accessibility-automation/scripts','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','JnWDa','RSitD','getCommandsToWrap','utWxB','\x20env=','getTestId','performPageScan','getResultsSummary','instance','Context','setLogDisabledShown','headless','bEGVj','Error\x20in\x20stopTestCapture:\x20','browserstack_executor','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','CxqSf','split','gcsoc','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','pwPage','4762488uhMltQ','set','uOoZf','getTestDetails','POST','Error\x20getting\x20capability\x20value\x20for\x20','dzCTu','wmWPM','Aefxu','SMCNk','getAccessibilityExecuteParams','fetchCentralAuthA11yConfig','Sypva','performScan','\x20a11yToken=','getState','49072ydpSiK','DRIVER_INIT','lAlyx','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','OxEYa','rmeri','wmRdK','chrome','879860CQTpgT','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','AUTOMATION_SESSIONS','uWfje','getAccessibilityResultsSummary','scan','../../playwright/accessibility-helper','HwWDV','[platform\x20-\x20',',\x20tags=','jyJqP','EetuW','--headless','oKHoo','ydTYz','PERFORM_SCAN','jIOVI','nDDYM','thTestRunUuid','VjbYp','accessibility','page','ACCESSIBILITY_INITIALIZED','toISOString','getValue','HAlPL','qUiOA','INYvO','OlFIX','NjAuM','a11y:save-results','getAccessibility','bind','gGHKv',',\x20framework=','uNsVY','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','WTlFe','AhQKm','on\x20non-BrowserStack\x20infrastructure\x20','error','cyZkl','HNFWg','stack','RbBtd','latest','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','MergedScanArgs:\x20','pqSRo','BQgiw','TYBQB','6|0|10|8|9|13|7|15|16|1|4|14|11|5|3|2|12','isEnabled','../grpcClient','vZZpW','getOptions','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','swzFh','_mobileScanningDisabledLogged','commandsList','parse','BROWSERSTACK_CLI_BIN_SESSION_ID','\x22browserstack.key\x22:\x22[REDACTED]\x22','stringify','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','accessibilityPlatform','parseA11yJwtPayload','eyJKM','test_run_id','./baseModule','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','Psipf','dpIdV','getAllData','dWduo',',\x20testIdentifier=','isArray','Performing\x20scan\x20before\x20from\x20cli','isEnabledTestcase','KEY_TESTHUB_BUILD_ID','FSQOQ','opSyb','KEY_DRIVER_HAS_URL','getPlatformIndex','accessibilityToken','uTJYC','env','knBaZ','nyzEj','find','testFrameworkData','getTrackedInstance','capabilitiesList','KEY_TEST_NAME','DRIVER_HAS_URL','cUYfb','PRE','BwHWD','395016IMaMxw','getContext','registerObserver','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','\x20browser\x20version\x20','TTplR','isMobileScanningEnabledForGroup','getCapabilityValue','testInfo','onBeforeExecute:\x20Command\x20','mergeObject','testFramework','\x20from\x20testIdentifier=','cOmAz',',\x20isAppAccessibility=','finishScanningForCli','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','keys','has','HDWHg','iBKjX','getSuccess','isPlatformSupported','_centralAuthA11yConfig','UtEGo','9RdDUoS','message','NdbET','NON_BROWSERSTACK_AUTOMATION_SESSIONS','_centralAuthConfigFetched','startsWith','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','hfvmc','atcnO','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','iUCHG','setShouldScan','DZEms',']\x20onAfterTest\x20should\x20scan=','platformValidation','warn','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.',',\x20\x0a\x20','isAppAccessibility','executeScriptByName','\x20testHubUuid=','fFEVU','toString','FECWR','KHTZV',',\x20includeTags=','hhhRr','MPoPg','fKPFC','Performing\x20scan\x20before\x20getting\x20results\x20summary','gGETa','zZPOE','AGXQp','MRonp','160eAbnTB','getParamsForScanForCli:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','Executing\x20accessibility\x20script\x20on\x20page','AOZsI','applySendMessageToServerPatch','ESCjf','egzvJ','includes','testhub_build_uuid','../cliUtils','VsaIs','YdcHk','getCurrentAccessibilityStatus','capabilities','cucumber','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','NHLOI','browserstack.accessibilityOptions.scannerProcessingTimeout','koxRd',',\x20excludeTags=','MOBILE_SCANNING_DISABLED_WARNING','\x20->\x20','browserStackEvaluate','SDK_ACCESSIBILITY_CONFIG','yZdMt','titlePath','EXECUTE','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','info','true','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','GFZtW','evaluate','stopTestCapture','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','includeTagsInTestingScope','shouldScanForCommand:\x20','length','format','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','Error\x20in\x20getAccessibilityResults:\x20','lxgUu','fUEpN','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','saveResults','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','NYQZU','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getCapabilitiesList','XprnD','DdLyt','mrsDn','map','isMobilePlatform','patchSendMessageToServer','some','wElZi','DxRpE','loadDriverExecuteParams','556617JwUGOg','UwqOJ','Fstrc','Unknown\x20Test','Error\x20applying\x20sendMessageToServer\x20patch:\x20','../../../helpers/accessibility-automation/helper','debug','getScript','getTestFrameworkDetail','MOvng','dkenW','hWXrS','getAccessibilityResults','rkddr','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','LOG_DISABLED_SHOWN','name:\x20','currentTest','Error\x20executing\x20script\x20','VgTNh','WcPVZ','Error\x20getting\x20script\x20by\x20name\x20','performScanForCli','goog:chromeOptions','resolveMobileThTestRunUuid','KEY_INIT','EaCqP','164242TBAafr','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','iJlVj','Page\x20',']\x20Accessibility\x20configuration\x20initialized\x20successfully','getInstance','TEST_INIT','getTestUUID','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','JdvnA','HWXoD','oaIEG','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','TJjHF','daNlK','mgTrR','wcagVersion','egAOp','nKycV','VdstH','VzCXO','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','[AccessibilityModule]\x20onAfterTest:\x20framework=','initAccessibilityConfig','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','wkqXt','shouldScanForCommand','is_mobile_session','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','isBrowserstackScriptCommand','null','Error\x20in\x20performScanForCli\x20for\x20script\x20','browser_version','FYPml','VIUqu','\x20result\x20for\x20','tkTzK','ClPhN','\x20or\x20higher\x20','accessibilityConfig','performScanForCli:\x20No\x20','getBuildId','__jestCurrentTestIdentifier','getLogDisabledShown','string','isMobileWebSession:\x20error\x20checking\x20driver\x20caps:\x20','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','WnqAq','present','jpSZD','isMobileWebSession','vAali','android','CREATE','Error\x20in\x20initAccessibilityConfig:\x20','launchCaps','scriptsList','__accessibilityOptions','getData','SAVE_RESULTS','browserstack.accessibilityOptions.wcagVersion','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','GalHt','zRtCT','command','dVcFz','LShbD','getAccessibilityConfig','nvgXD','JINnK','lBovm','PWzVU','Scan\x20result:\x20','../state/automationFrameworkState','onAfterTest','oPIKv','131075cpsVLl','yuHIq','commandName','NCAGA','kzNzA','dcXAE','ySxPi','end','jswwZ','onBeforeTest',',\x20available\x20commands:\x20','yshkK','isBrowserSupportedForAccessibility','psRFd'];a90_0x5542=function(){return _0x54860e;};return a90_0x5542();}
@@ -1 +1 @@
1
- const a91_0x435a05=a91_0x1bf4;function a91_0x1bf4(_0x254253,_0xabab7c){const _0x42e3e8=a91_0x42e3();return a91_0x1bf4=function(_0x1bf48a,_0x15e0e9){_0x1bf48a=_0x1bf48a-0x7b;let _0x5cac94=_0x42e3e8[_0x1bf48a];return _0x5cac94;},a91_0x1bf4(_0x254253,_0xabab7c);}(function(_0x4c8526,_0x481620){const _0x35471a=a91_0x1bf4,_0x534186=_0x4c8526();while(!![]){try{const _0x30d6ed=-parseInt(_0x35471a(0x7c))/0x1*(-parseInt(_0x35471a(0x93))/0x2)+parseInt(_0x35471a(0x97))/0x3*(parseInt(_0x35471a(0xa2))/0x4)+-parseInt(_0x35471a(0x98))/0x5*(-parseInt(_0x35471a(0x99))/0x6)+parseInt(_0x35471a(0xa5))/0x7+-parseInt(_0x35471a(0x8e))/0x8+parseInt(_0x35471a(0x81))/0x9+parseInt(_0x35471a(0x9c))/0xa*(-parseInt(_0x35471a(0xa3))/0xb);if(_0x30d6ed===_0x481620)break;else _0x534186['push'](_0x534186['shift']());}catch(_0x1d9af9){_0x534186['push'](_0x534186['shift']());}}}(a91_0x42e3,0x980eb));const logger=require(a91_0x435a05(0xa7))[a91_0x435a05(0x9f)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');class BaseModule{constructor(_0xd18f97=null){const _0x9eed68=a91_0x435a05,_0xb90e78={};_0xb90e78['cfgmW']='0|4|3|1|5|2',_0xb90e78[_0x9eed68(0x8a)]=_0x9eed68(0x95);const _0xd2d98=_0xb90e78,_0x49e8e7=_0xd2d98[_0x9eed68(0x9a)][_0x9eed68(0x89)]('|');let _0x34a25c=0x0;while(!![]){switch(_0x49e8e7[_0x34a25c++]){case'0':this['name']=_0xd2d98['tcFMB'];continue;case'1':this[_0x9eed68(0xa8)]={};continue;case'2':this[_0x9eed68(0x91)]=this['setTestFrameworkData'](_0xd18f97);continue;case'3':this['platformIndex']=0x0;continue;case'4':this['binSessionId']=null;continue;case'5':this[_0x9eed68(0xa0)]=null;continue;}break;}}[a91_0x435a05(0x87)](){const _0x44c4e=a91_0x435a05,_0x3194d0={};_0x3194d0[_0x44c4e(0x83)]=_0x44c4e(0x88);const _0x46b051=_0x3194d0;if(!this['binSessionId'])throw new Error(_0x46b051[_0x44c4e(0x83)]);}['getModuleName'](){const _0x308549=a91_0x435a05;return this[_0x308549(0x92)];}[a91_0x435a05(0x7b)](_0x4354f6,_0x3db81b,_0x488df4,_0x225779={}){const _0x229855=a91_0x435a05,_0x28b6ac={};_0x28b6ac[_0x229855(0xa4)]=_0x229855(0x8c);const _0x5259b0=_0x28b6ac,_0x29640d=_0x5259b0[_0x229855(0xa4)][_0x229855(0x89)]('|');let _0x425855=0x0;while(!![]){switch(_0x29640d[_0x425855++]){case'0':this[_0x229855(0x8d)]=_0x3db81b;continue;case'1':this[_0x229855(0xa0)]=_0x488df4;continue;case'2':this[_0x229855(0x9b)]=_0x4354f6;continue;case'3':this[_0x229855(0xa8)]=_0x225779;continue;case'4':logger['debug'](_0x229855(0x80)+this[_0x229855(0x86)]()+_0x229855(0x8b)+_0x4354f6+_0x229855(0x7e)+_0x3db81b);continue;}break;}}[a91_0x435a05(0xa6)](_0x3f4c70){const _0x30d986=a91_0x435a05,_0x431693={};_0x431693['oYxFt']=function(_0x3f263c,_0x30e9fd){return _0x3f263c===_0x30e9fd;};const _0x3d2a22=_0x431693;let _0x2406b1='';if(_0x3d2a22[_0x30d986(0x8f)](_0x3f4c70[_0x30d986(0x82)],FRAMEWORKS[_0x30d986(0x85)]))_0x2406b1=_0x3f4c70[_0x30d986(0x90)]?.[_0x30d986(0x9d)]?.['id']||_0x3f4c70[_0x30d986(0x90)]?.['testId'];else{if(_0x3d2a22[_0x30d986(0x8f)](_0x3f4c70[_0x30d986(0x82)],FRAMEWORKS[_0x30d986(0xa1)]))_0x2406b1=_0x3f4c70[_0x30d986(0x90)]?.[_0x30d986(0x7d)];else _0x3d2a22[_0x30d986(0x8f)](_0x3f4c70['testFramework'],FRAMEWORKS[_0x30d986(0x9e)])&&(_0x2406b1=_0x3f4c70[_0x30d986(0x90)]?.['id']);}return _0x2406b1;}[a91_0x435a05(0x7f)](_0x503661){const _0x563f34=a91_0x435a05,_0x5ce90f={};_0x5ce90f['eCsMP']=function(_0x10a0b5,_0x294ee3){return _0x10a0b5!==_0x294ee3;},_0x5ce90f['eyCwg']=_0x563f34(0x96);const _0x2b7475=_0x5ce90f;if(!_0x503661||_0x2b7475['eCsMP'](typeof _0x503661,_0x2b7475[_0x563f34(0x94)]))return null;const _0x174a41={};_0x174a41['name']=_0x503661[_0x563f34(0x92)],_0x174a41[_0x563f34(0x84)]=_0x503661[_0x563f34(0x84)]&&_0x503661[_0x563f34(0x84)][_0x503661[_0x563f34(0x92)]];const _0x48d39c=_0x174a41;return _0x48d39c;}}module[a91_0x435a05(0xa9)]=BaseModule;function a91_0x42e3(){const _0x4de762=['config','exports','configure','12ZzQymS','testCaseStartedId',',\x20platformIndex=','setTestFrameworkData','Configured\x20module\x20','8960148ZuamKO','testFramework','EIbQu','version','PLAYWRIGHT','getModuleName','ensureBinSession','Missing\x20binSessionId','split','tcFMB','\x20with\x20binSessionId=','2|0|1|3|4','platformIndex','2062104DwvLlv','oYxFt','testInfo','testFrameworkData','name','96580cwkglp','eyCwg','BaseModule','object','2082bcNANc','15DXYBJa','758916AhZKac','cfgmW','binSessionId','25242610NywpvB','_test','JEST','winstonLogger','client','CUCUMBER','2776pEFenm','11YSILxf','OVuZW','6780935YBguMj','getTestId','../../../helpers/logger.js'];a91_0x42e3=function(){return _0x4de762;};return a91_0x42e3();}
1
+ const a91_0x531184=a91_0x5809;(function(_0x565b6e,_0x2fb522){const _0x10e969=a91_0x5809,_0x349d44=_0x565b6e();while(!![]){try{const _0x1dedc5=-parseInt(_0x10e969(0x207))/0x1*(parseInt(_0x10e969(0x1f0))/0x2)+parseInt(_0x10e969(0x1f6))/0x3+-parseInt(_0x10e969(0x1e7))/0x4+-parseInt(_0x10e969(0x1df))/0x5*(parseInt(_0x10e969(0x1e0))/0x6)+parseInt(_0x10e969(0x1e6))/0x7*(-parseInt(_0x10e969(0x203))/0x8)+parseInt(_0x10e969(0x1dc))/0x9+parseInt(_0x10e969(0x209))/0xa*(parseInt(_0x10e969(0x1eb))/0xb);if(_0x1dedc5===_0x2fb522)break;else _0x349d44['push'](_0x349d44['shift']());}catch(_0x1e7a8c){_0x349d44['push'](_0x349d44['shift']());}}}(a91_0x2c3e,0x24748));const logger=require(a91_0x531184(0x20b))[a91_0x531184(0x1e9)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');class BaseModule{constructor(_0x5936e7=null){const _0x1a544e=a91_0x531184,_0x33fb6a={};_0x33fb6a[_0x1a544e(0x1f8)]='2|5|0|3|1|4',_0x33fb6a[_0x1a544e(0x1e2)]='BaseModule';const _0x58ef3e=_0x33fb6a,_0x348953=_0x58ef3e[_0x1a544e(0x1f8)][_0x1a544e(0x201)]('|');let _0x4bacf4=0x0;while(!![]){switch(_0x348953[_0x4bacf4++]){case'0':this[_0x1a544e(0x1e8)]=0x0;continue;case'1':this[_0x1a544e(0x204)]=null;continue;case'2':this[_0x1a544e(0x202)]=_0x58ef3e[_0x1a544e(0x1e2)];continue;case'3':this[_0x1a544e(0x1ee)]={};continue;case'4':this[_0x1a544e(0x1ec)]=this[_0x1a544e(0x1f1)](_0x5936e7);continue;case'5':this['binSessionId']=null;continue;}break;}}['ensureBinSession'](){const _0x5b9632=a91_0x531184,_0x4f1da3={};_0x4f1da3[_0x5b9632(0x1e4)]=_0x5b9632(0x1fe);const _0x3d0c7a=_0x4f1da3;if(!this[_0x5b9632(0x1f4)])throw new Error(_0x3d0c7a['pwAMh']);}[a91_0x531184(0x1fc)](){return this['name'];}[a91_0x531184(0x1fb)](_0x575c93,_0x16d01e,_0x486507,_0x1c79d9={}){const _0x564a8f=a91_0x531184,_0x31e65d={};_0x31e65d[_0x564a8f(0x208)]=_0x564a8f(0x20a);const _0x17a952=_0x31e65d,_0x54f897=_0x17a952['eYsEU']['split']('|');let _0x2c21b2=0x0;while(!![]){switch(_0x54f897[_0x2c21b2++]){case'0':this[_0x564a8f(0x204)]=_0x486507;continue;case'1':this[_0x564a8f(0x1e8)]=_0x16d01e;continue;case'2':this[_0x564a8f(0x1f4)]=_0x575c93;continue;case'3':this[_0x564a8f(0x1ee)]=_0x1c79d9;continue;case'4':logger[_0x564a8f(0x1dd)](_0x564a8f(0x1ed)+this['getModuleName']()+_0x564a8f(0x1e5)+_0x575c93+_0x564a8f(0x1e3)+_0x16d01e);continue;}break;}}['getTestId'](_0x178feb){const _0x39b41b=a91_0x531184,_0x959700={};_0x959700[_0x39b41b(0x1f9)]=function(_0x54a4a0,_0x572408){return _0x54a4a0===_0x572408;},_0x959700[_0x39b41b(0x1e1)]=function(_0x5c4776,_0x339646){return _0x5c4776===_0x339646;};const _0x1a0059=_0x959700;let _0xdd74f8='';if(_0x1a0059['nTMSm'](_0x178feb[_0x39b41b(0x206)],FRAMEWORKS[_0x39b41b(0x1ff)]))_0xdd74f8=_0x178feb[_0x39b41b(0x1ea)]?.[_0x39b41b(0x200)]?.['id']||_0x178feb[_0x39b41b(0x1ea)]?.[_0x39b41b(0x1f3)];else{if(_0x1a0059[_0x39b41b(0x1e1)](_0x178feb[_0x39b41b(0x206)],FRAMEWORKS[_0x39b41b(0x1de)]))_0xdd74f8=_0x178feb[_0x39b41b(0x1ea)]?.[_0x39b41b(0x1ef)];else _0x1a0059[_0x39b41b(0x1f9)](_0x178feb[_0x39b41b(0x206)],FRAMEWORKS[_0x39b41b(0x1f2)])&&(_0xdd74f8=_0x178feb[_0x39b41b(0x1ea)]?.['id']);}return _0xdd74f8;}[a91_0x531184(0x1f1)](_0x4d77bc){const _0x28098d=a91_0x531184,_0x40eede={};_0x40eede['TpjzS']=function(_0xff4b1b,_0x4d9a44){return _0xff4b1b!==_0x4d9a44;},_0x40eede[_0x28098d(0x1fa)]=_0x28098d(0x1f5);const _0x432ff4=_0x40eede;if(!_0x4d77bc||_0x432ff4[_0x28098d(0x1fd)](typeof _0x4d77bc,_0x432ff4[_0x28098d(0x1fa)]))return null;const _0x2da157={};_0x2da157[_0x28098d(0x202)]=_0x4d77bc['name'],_0x2da157['version']=_0x4d77bc[_0x28098d(0x1f7)]&&_0x4d77bc[_0x28098d(0x1f7)][_0x4d77bc[_0x28098d(0x202)]];const _0x25d442=_0x2da157;return _0x25d442;}}module[a91_0x531184(0x205)]=BaseModule;function a91_0x5809(_0x3d0061,_0x53f348){const _0x2c3efe=a91_0x2c3e();return a91_0x5809=function(_0x5809b7,_0x4596f6){_0x5809b7=_0x5809b7-0x1dc;let _0x1a41a8=_0x2c3efe[_0x5809b7];return _0x1a41a8;},a91_0x5809(_0x3d0061,_0x53f348);}function a91_0x2c3e(){const _0x3ed44e=['getModuleName','TpjzS','Missing\x20binSessionId','PLAYWRIGHT','_test','split','name','1496008OkwnAy','client','exports','testFramework','47cEMOXT','eYsEU','2520UznUZw','2|1|0|3|4','../../../helpers/logger.js','2425473FmIFRB','debug','CUCUMBER','5nJkgAN','1282086CNjltK','ugMgc','jNHwv',',\x20platformIndex=','pwAMh','\x20with\x20binSessionId=','7SzCIur','1025648IzYSuY','platformIndex','winstonLogger','testInfo','17996dZoLal','testFrameworkData','Configured\x20module\x20','config','testCaseStartedId','6914HiajTI','setTestFrameworkData','JEST','testId','binSessionId','object','861372tAtALH','version','vXuJk','nTMSm','CyNAV','configure'];a91_0x2c3e=function(){return _0x3ed44e;};return a91_0x2c3e();}
@@ -1 +1 @@
1
- function a92_0x298b(){const _0x514a3d=['BROWSERSTACK_LTS_SESSION_ID','pPEyX','true','overrideLoadTesting','JXSEw','MbiZB','1801572JWkWJB','1621300QkWEot','env','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','LoadTestModule','PZGYA','3279899ADLNPd','YsvIF','6945taaMCI','browserstackAutomation','BckPj','exports','setLTSSessionId\x20error:\x20','setLTSSessionId','QMzta','wpYMo','message','114jaKDjx','MrZhN','toLowerCase','isLTSSession','undefined','180QIbOQI','IjNMO','error','cgxQk','WKThf','LTS','YxwXA','../../../helpers/helper.js','358ijvjmG','pmQbj','2497HNnPdb','debug','fegOe','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','2815992nwFFSb','ZnKFh','21610LhuhES','8PjWPwu','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','../../../helpers/classLogger.js'];a92_0x298b=function(){return _0x514a3d;};return a92_0x298b();}const a92_0x4b777c=a92_0x117a;(function(_0x2956c6,_0x4bf61b){const _0xc9d70f=a92_0x117a,_0x23c937=_0x2956c6();while(!![]){try{const _0x22cd88=-parseInt(_0xc9d70f(0xcc))/0x1*(parseInt(_0xc9d70f(0xbf))/0x2)+parseInt(_0xc9d70f(0xde))/0x3+parseInt(_0xc9d70f(0xdf))/0x4+-parseInt(_0xc9d70f(0xe6))/0x5*(parseInt(_0xc9d70f(0xc4))/0x6)+parseInt(_0xc9d70f(0xe4))/0x7*(parseInt(_0xc9d70f(0xd5))/0x8)+-parseInt(_0xc9d70f(0xd2))/0x9+-parseInt(_0xc9d70f(0xd4))/0xa*(parseInt(_0xc9d70f(0xce))/0xb);if(_0x22cd88===_0x4bf61b)break;else _0x23c937['push'](_0x23c937['shift']());}catch(_0x63e119){_0x23c937['push'](_0x23c937['shift']());}}}(a92_0x298b,0x94a7f));const {createClassLogger}=require(a92_0x4b777c(0xd7)),logger=createClassLogger(a92_0x4b777c(0xe2)),{sendSdkEvents}=require(a92_0x4b777c(0xcb)),isLTSSession=(_0x503aaa=null)=>{const _0x3cce67=a92_0x4b777c,_0x47b435={};_0x47b435[_0x3cce67(0xc8)]=function(_0x5dbca2,_0x564063){return _0x5dbca2!==_0x564063;},_0x47b435[_0x3cce67(0xe5)]=_0x3cce67(0xc3),_0x47b435[_0x3cce67(0xc0)]=function(_0x2fb807,_0x2ed2ca){return _0x2fb807===_0x2ed2ca;},_0x47b435[_0x3cce67(0xd0)]='string',_0x47b435['PZGYA']=_0x3cce67(0xda),_0x47b435[_0x3cce67(0xcd)]=function(_0x55bc7c,_0x5ca01b){return _0x55bc7c===_0x5ca01b;},_0x47b435['MbiZB']=function(_0x23025c,_0x50e69f){return _0x23025c===_0x50e69f;},_0x47b435[_0x3cce67(0xc7)]='false';const _0x1445f2=_0x47b435;try{if(_0x1445f2['WKThf'](typeof process[_0x3cce67(0xe0)][_0x3cce67(0xdb)],_0x1445f2[_0x3cce67(0xe5)])){const _0x454d41=process[_0x3cce67(0xe0)][_0x3cce67(0xdb)];return _0x1445f2[_0x3cce67(0xc0)](typeof _0x454d41,_0x1445f2[_0x3cce67(0xd0)])?_0x1445f2['MrZhN'](_0x454d41[_0x3cce67(0xc1)](),_0x1445f2['PZGYA']):!!_0x454d41;}const _0x50e8a4=_0x503aaa&&_0x503aaa[_0x3cce67(0xdb)],_0x553746=!!(_0x503aaa&&(_0x1445f2[_0x3cce67(0xc0)](_0x503aaa[_0x3cce67(0xe7)],!![])||_0x1445f2['pmQbj'](_0x503aaa[_0x3cce67(0xe7)],_0x1445f2[_0x3cce67(0xe3)]))),_0x198746=!!(_0x50e8a4&&_0x1445f2[_0x3cce67(0xdd)](_0x50e8a4['toString']()['toLowerCase'](),_0x1445f2[_0x3cce67(0xe3)])&&!_0x553746);return process['env'][_0x3cce67(0xdb)]=_0x198746?_0x1445f2[_0x3cce67(0xe3)]:_0x1445f2[_0x3cce67(0xc7)],_0x198746;}catch(_0x18720b){return process[_0x3cce67(0xe0)][_0x3cce67(0xdb)]=_0x1445f2[_0x3cce67(0xc7)],![];}},getLTSSessionId=()=>{const _0x279f63=a92_0x4b777c,_0xa00635={'bSooN':function(_0x3574b0){return _0x3574b0();},'BckPj':'LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','IjNMO':_0x279f63(0xd6)};try{if(_0xa00635['bSooN'](isLTSSession))return logger[_0x279f63(0xcf)](_0xa00635[_0x279f63(0xe8)]),process[_0x279f63(0xe0)][_0x279f63(0xd8)]||'';}catch(_0x28f972){logger[_0x279f63(0xc6)](_0x279f63(0xd1)+(_0x28f972&&_0x28f972[_0x279f63(0xee)]));}return logger[_0x279f63(0xcf)](_0xa00635[_0x279f63(0xc5)]),'';},setLTSSessionId=async(_0x331c67={})=>{const _0x421360=a92_0x4b777c,_0x13eeee={'QMzta':function(_0x2e602a){return _0x2e602a();},'wpYMo':_0x421360(0xe1),'QyOGe':'BROWSERSTACK_LTS_SESSION_ID\x20cleared','YxwXA':_0x421360(0xc9),'ZnKFh':function(_0x5620d8,_0x100691){return _0x5620d8(_0x100691);},'JXSEw':function(_0x1fba6a,_0x3d37c3,_0x5b93c7){return _0x1fba6a(_0x3d37c3,_0x5b93c7);},'pPEyX':function(_0x149cac,_0x42d1c0){return _0x149cac||_0x42d1c0;}};try{const _0x3535b4=_0x13eeee[_0x421360(0xec)](getLTSSessionId);_0x3535b4?(process[_0x421360(0xe0)][_0x421360(0xd8)]=_0x3535b4,logger[_0x421360(0xcf)](_0x13eeee[_0x421360(0xed)])):(delete process['env'][_0x421360(0xd8)],logger[_0x421360(0xcf)](_0x13eeee['QyOGe']));try{const _0x92afb4={'feature':_0x13eeee[_0x421360(0xca)],'ltsEnabled':_0x13eeee[_0x421360(0xd3)](isLTSSession,_0x331c67),'ltsSessionIdPresent':!!_0x3535b4};await _0x13eeee[_0x421360(0xdc)](sendSdkEvents,_0x92afb4,_0x331c67);}catch(_0x2913d2){logger[_0x421360(0xcf)]('Failed\x20to\x20record\x20LTS\x20telemetry:\x20'+(_0x2913d2&&_0x2913d2[_0x421360(0xee)]));}return _0x13eeee[_0x421360(0xd9)](_0x3535b4,'');}catch(_0x58714f){return logger['debug'](_0x421360(0xea)+(_0x58714f&&_0x58714f['message'])),'';}},a92_0x114ece={};function a92_0x117a(_0x2d87b9,_0x31a941){const _0x298b06=a92_0x298b();return a92_0x117a=function(_0x117adb,_0x2894c2){_0x117adb=_0x117adb-0xbf;let _0x32905b=_0x298b06[_0x117adb];return _0x32905b;},a92_0x117a(_0x2d87b9,_0x31a941);}a92_0x114ece[a92_0x4b777c(0xc2)]=isLTSSession,a92_0x114ece['getLTSSessionId']=getLTSSessionId,a92_0x114ece[a92_0x4b777c(0xeb)]=setLTSSessionId,module[a92_0x4b777c(0xe9)]=a92_0x114ece;
1
+ function a92_0x18e9(_0x1ba82e,_0x29ae90){const _0x20584d=a92_0x2058();return a92_0x18e9=function(_0x18e92a,_0x491696){_0x18e92a=_0x18e92a-0x198;let _0x1d36cb=_0x20584d[_0x18e92a];return _0x1d36cb;},a92_0x18e9(_0x1ba82e,_0x29ae90);}function a92_0x2058(){const _0x472ce5=['42650xWBdFW','exports','mwiNc','toLowerCase','zzIzQ','5zKauvi','11gcaYmF','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','27419748OoGBvL','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','153PyvKph','browserstackAutomation','101813bKpmRT','setLTSSessionId\x20error:\x20','error','KZoYo','LoadTestModule','BROWSERSTACK_LTS_SESSION_ID\x20cleared','asMtg','eclXM','ObjwO','kIRvK','setLTSSessionId','1270356RCwvrp','4818ovQoVY','Yxaya','6246096AvEFPy','../../../helpers/helper.js','overrideLoadTesting','../../../helpers/classLogger.js','false','vHYLG','true','string','message','IWrtm','10031UPjZjJ','773154XyjzSk','6BBpLVt','TrztY','UeIEu','debug','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','BROWSERSTACK_LTS_SESSION_ID','JiHXJ','env'];a92_0x2058=function(){return _0x472ce5;};return a92_0x2058();}const a92_0x5d126e=a92_0x18e9;(function(_0x50d083,_0x429af9){const _0x368d15=a92_0x18e9,_0x1b7686=_0x50d083();while(!![]){try{const _0x33c88a=-parseInt(_0x368d15(0x1c2))/0x1+-parseInt(_0x368d15(0x1ac))/0x2*(parseInt(_0x368d15(0x1ad))/0x3)+parseInt(_0x368d15(0x19e))/0x4*(-parseInt(_0x368d15(0x1bb))/0x5)+parseInt(_0x368d15(0x19f))/0x6*(-parseInt(_0x368d15(0x1ab))/0x7)+parseInt(_0x368d15(0x1a1))/0x8+-parseInt(_0x368d15(0x1c0))/0x9*(parseInt(_0x368d15(0x1b6))/0xa)+-parseInt(_0x368d15(0x1bc))/0xb*(-parseInt(_0x368d15(0x1be))/0xc);if(_0x33c88a===_0x429af9)break;else _0x1b7686['push'](_0x1b7686['shift']());}catch(_0x18de02){_0x1b7686['push'](_0x1b7686['shift']());}}}(a92_0x2058,0x9eafd));const {createClassLogger}=require(a92_0x5d126e(0x1a4)),logger=createClassLogger(a92_0x5d126e(0x1c6)),{sendSdkEvents}=require(a92_0x5d126e(0x1a2)),isLTSSession=(_0x33a1e8=null)=>{const _0x345088=a92_0x5d126e,_0x5bd82f={};_0x5bd82f[_0x345088(0x1b8)]=function(_0x3f673d,_0x4620b4){return _0x3f673d!==_0x4620b4;},_0x5bd82f['asMtg']='undefined',_0x5bd82f['zzIzQ']=function(_0x17d250,_0x4b2684){return _0x17d250===_0x4b2684;},_0x5bd82f[_0x345088(0x19b)]=_0x345088(0x1a8),_0x5bd82f[_0x345088(0x19c)]=_0x345088(0x1a7),_0x5bd82f['IWrtm']=function(_0x108684,_0x56e085){return _0x108684===_0x56e085;},_0x5bd82f[_0x345088(0x1b4)]=_0x345088(0x1a5);const _0x53b019=_0x5bd82f;try{if(_0x53b019[_0x345088(0x1b8)](typeof process[_0x345088(0x1b5)][_0x345088(0x1a3)],_0x53b019[_0x345088(0x199)])){const _0x9f7665=process['env'][_0x345088(0x1a3)];return _0x53b019[_0x345088(0x1ba)](typeof _0x9f7665,_0x53b019['ObjwO'])?_0x53b019[_0x345088(0x1ba)](_0x9f7665[_0x345088(0x1b9)](),_0x53b019[_0x345088(0x19c)]):!!_0x9f7665;}const _0x43913b=_0x33a1e8&&_0x33a1e8['overrideLoadTesting'],_0x182ce9=!!(_0x33a1e8&&(_0x53b019[_0x345088(0x1aa)](_0x33a1e8[_0x345088(0x1c1)],!![])||_0x53b019[_0x345088(0x1ba)](_0x33a1e8[_0x345088(0x1c1)],_0x53b019[_0x345088(0x19c)]))),_0x23dae1=!!(_0x43913b&&_0x53b019['IWrtm'](_0x43913b['toString']()[_0x345088(0x1b9)](),_0x53b019[_0x345088(0x19c)])&&!_0x182ce9);return process[_0x345088(0x1b5)][_0x345088(0x1a3)]=_0x23dae1?_0x53b019[_0x345088(0x19c)]:_0x53b019[_0x345088(0x1b4)],_0x23dae1;}catch(_0x2975ca){return process[_0x345088(0x1b5)][_0x345088(0x1a3)]=_0x53b019['JiHXJ'],![];}},getLTSSessionId=()=>{const _0x2014a1=a92_0x5d126e,_0x7a586f={'KZoYo':function(_0x255b22){return _0x255b22();},'Yxaya':_0x2014a1(0x1bd),'UeIEu':_0x2014a1(0x1b2)};try{if(_0x7a586f[_0x2014a1(0x1c5)](isLTSSession))return logger[_0x2014a1(0x1b0)](_0x7a586f[_0x2014a1(0x1a0)]),process[_0x2014a1(0x1b5)][_0x2014a1(0x1b3)]||'';}catch(_0xaa16ae){logger[_0x2014a1(0x1c4)]('Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20'+(_0xaa16ae&&_0xaa16ae['message']));}return logger[_0x2014a1(0x1b0)](_0x7a586f[_0x2014a1(0x1af)]),'';},setLTSSessionId=async(_0x305b8a={})=>{const _0x1d4c8e=a92_0x5d126e,_0x2a8685={'eclXM':function(_0x257a08){return _0x257a08();},'CAMrs':_0x1d4c8e(0x1bf),'TrztY':_0x1d4c8e(0x198),'XkZDU':'LTS','aEhdo':function(_0x4824e0,_0x3f1fde){return _0x4824e0(_0x3f1fde);},'qsuVs':function(_0x3b5ffe,_0x3d283c,_0x4f1d2a){return _0x3b5ffe(_0x3d283c,_0x4f1d2a);},'vHYLG':function(_0x91e4c1,_0x1d801c){return _0x91e4c1||_0x1d801c;}};try{const _0x2f0fc8=_0x2a8685[_0x1d4c8e(0x19a)](getLTSSessionId);_0x2f0fc8?(process['env'][_0x1d4c8e(0x1b3)]=_0x2f0fc8,logger[_0x1d4c8e(0x1b0)](_0x2a8685['CAMrs'])):(delete process['env'][_0x1d4c8e(0x1b3)],logger['debug'](_0x2a8685[_0x1d4c8e(0x1ae)]));try{const _0x4cb447={'feature':_0x2a8685['XkZDU'],'ltsEnabled':_0x2a8685['aEhdo'](isLTSSession,_0x305b8a),'ltsSessionIdPresent':!!_0x2f0fc8};await _0x2a8685['qsuVs'](sendSdkEvents,_0x4cb447,_0x305b8a);}catch(_0x1a7b22){logger[_0x1d4c8e(0x1b0)](_0x1d4c8e(0x1b1)+(_0x1a7b22&&_0x1a7b22['message']));}return _0x2a8685[_0x1d4c8e(0x1a6)](_0x2f0fc8,'');}catch(_0x313475){return logger[_0x1d4c8e(0x1b0)](_0x1d4c8e(0x1c3)+(_0x313475&&_0x313475[_0x1d4c8e(0x1a9)])),'';}},a92_0x5d4daa={};a92_0x5d4daa['isLTSSession']=isLTSSession,a92_0x5d4daa['getLTSSessionId']=getLTSSessionId,a92_0x5d4daa[a92_0x5d126e(0x19d)]=setLTSSessionId,module[a92_0x5d126e(0x1b7)]=a92_0x5d4daa;
@@ -1 +1 @@
1
- const a93_0x16edd2=a93_0x4f79;function a93_0x4f79(_0xcdcbbc,_0xb1cc07){const _0x2e83bc=a93_0x2e83();return a93_0x4f79=function(_0x4f79bf,_0x2cadfd){_0x4f79bf=_0x4f79bf-0xcc;let _0x3ee4ef=_0x2e83bc[_0x4f79bf];return _0x3ee4ef;},a93_0x4f79(_0xcdcbbc,_0xb1cc07);}(function(_0x993928,_0x210a8b){const _0x5152ae=a93_0x4f79,_0x52d7ac=_0x993928();while(!![]){try{const _0x388112=-parseInt(_0x5152ae(0xe8))/0x1+parseInt(_0x5152ae(0xf1))/0x2+parseInt(_0x5152ae(0xdd))/0x3*(parseInt(_0x5152ae(0xd5))/0x4)+parseInt(_0x5152ae(0xd1))/0x5+-parseInt(_0x5152ae(0xd3))/0x6*(-parseInt(_0x5152ae(0xe7))/0x7)+-parseInt(_0x5152ae(0xd8))/0x8*(parseInt(_0x5152ae(0xe9))/0x9)+-parseInt(_0x5152ae(0xdb))/0xa;if(_0x388112===_0x210a8b)break;else _0x52d7ac['push'](_0x52d7ac['shift']());}catch(_0x5eb046){_0x52d7ac['push'](_0x52d7ac['shift']());}}}(a93_0x2e83,0x23ea7));const BaseModule=require(a93_0x16edd2(0xda)),{createClassLogger}=require(a93_0x16edd2(0xd2)),AutomationFramework=require(a93_0x16edd2(0xce)),AutomationFrameworkState=require(a93_0x16edd2(0xe1)),HookState=require(a93_0x16edd2(0xd0)),{playwrightAnnotate}=require(a93_0x16edd2(0xcd)),PerformanceTester=require(a93_0x16edd2(0xea)),{O11y_EVENTS}=require(a93_0x16edd2(0xdc)),constants=require(a93_0x16edd2(0xcc));function a93_0x2e83(){const _0x5d9159=['ObservabilitySync:','60788kMMBVu','onBeforeTest','onBeforeTest:\x20page\x20is\x20not\x20defined','8IVdYRF','zbiFy','./baseModule','2508810zdZntH','../../../helpers/performance/constants.js','36LsRHOH','ObservabilityModule','TEST_REPORTING_ANALYTICS','name','../state/automationFrameworkState.js','getModuleName','CvxEs','debug','POST','logger','83741OgllOh','110175NgEwhc','1894941xERlyB','../../../helpers/performance/performance-tester.js','tCxst','\x20sync\x20done','bind','ofWCl','FfSms','end','152570CWRVBV','now','page','MODULE_NAME','registerObserver','../../utils/constants.js','../../../helpers/helper.js','../framework/automationFramework.js','SYNC','../state/hookState.js','1163850kRGlJj','../../../helpers/classLogger.js','114mmEKTw'];a93_0x2e83=function(){return _0x5d9159;};return a93_0x2e83();}class ObservabilityModule extends BaseModule{[a93_0x16edd2(0xe6)]=createClassLogger('ObservabilityModule');constructor(_0x4e37aa){const _0x3f11a2=a93_0x16edd2,_0x530139={};_0x530139['FfSms']=_0x3f11a2(0xde);const _0x18ee6c=_0x530139;super(),this[_0x3f11a2(0xe0)]=_0x18ee6c[_0x3f11a2(0xef)],this['observabilityConfig']=_0x4e37aa,AutomationFramework[_0x3f11a2(0xf5)](AutomationFrameworkState['CREATE'],HookState[_0x3f11a2(0xe5)],this[_0x3f11a2(0xd6)][_0x3f11a2(0xed)](this));}[a93_0x16edd2(0xe2)](){const _0xc518a4=a93_0x16edd2;return ObservabilityModule[_0xc518a4(0xf4)];}async['onBeforeTest'](_0x22f8f4){const _0x172d72=a93_0x16edd2,_0x30a9bf={'zbiFy':function(_0x408ef7,_0x4a5490){return _0x408ef7+_0x4a5490;},'ofWCl':_0x172d72(0xd4),'ypkwm':function(_0x1109b2,_0x154dc1,_0x39cc33,_0x36bbc1){return _0x1109b2(_0x154dc1,_0x39cc33,_0x36bbc1);},'CvxEs':_0x172d72(0xe4),'tCxst':_0x172d72(0xd7)};if(_0x22f8f4[_0x172d72(0xf3)]){const _0x3eda34=_0x22f8f4[_0x172d72(0xf3)],_0x33f889=Date[_0x172d72(0xf2)](),_0x19ac8b=_0x30a9bf[_0x172d72(0xd9)](_0x30a9bf[_0x172d72(0xee)],_0x33f889);PerformanceTester['start'](O11y_EVENTS[_0x172d72(0xcf)]),await _0x30a9bf['ypkwm'](playwrightAnnotate,_0x3eda34,_0x19ac8b,_0x30a9bf[_0x172d72(0xe3)]),PerformanceTester[_0x172d72(0xf0)](O11y_EVENTS[_0x172d72(0xcf)]),this[_0x172d72(0xe6)]['info']('onBeforeTest:\x20'+constants[_0x172d72(0xdf)]+_0x172d72(0xec));}else this['logger']['debug'](_0x30a9bf[_0x172d72(0xeb)]);}}ObservabilityModule[a93_0x16edd2(0xf4)]=a93_0x16edd2(0xde),module['exports']=ObservabilityModule;
1
+ const a93_0x2ac359=a93_0x48b7;function a93_0x48b7(_0x45c0c9,_0x1c23df){const _0x328ee4=a93_0x328e();return a93_0x48b7=function(_0x48b7cd,_0x11ac4a){_0x48b7cd=_0x48b7cd-0x1ea;let _0x348478=_0x328ee4[_0x48b7cd];return _0x348478;},a93_0x48b7(_0x45c0c9,_0x1c23df);}function a93_0x328e(){const _0x4fa3fa=['MODULE_NAME','start','3016034MQmwpR','onBeforeTest:\x20page\x20is\x20not\x20defined','logger','registerObserver','../state/hookState.js','ObservabilityModule','479587mcqIiJ','1879545ivGqYP','SYNC','now','907358iefNgh','NrUoB','YXaWG','debug','name','CREATE','end','16Ckmuwn','3OVVXBu','../../../helpers/helper.js','POST','getModuleName','\x20sync\x20done','1103580hAgjlu','onBeforeTest','../../utils/constants.js','tXwID','exports','3781719geZQUW','./baseModule','page','../state/automationFrameworkState.js','../../../helpers/performance/performance-tester.js','1466440NUhVwr','UBiDS','ObservabilitySync:'];a93_0x328e=function(){return _0x4fa3fa;};return a93_0x328e();}(function(_0x1481b0,_0x1c5789){const _0x48272c=a93_0x48b7,_0x14e1ef=_0x1481b0();while(!![]){try{const _0xd59147=parseInt(_0x48272c(0x202))/0x1+parseInt(_0x48272c(0x206))/0x2*(-parseInt(_0x48272c(0x20e))/0x3)+parseInt(_0x48272c(0x1f7))/0x4+-parseInt(_0x48272c(0x203))/0x5+-parseInt(_0x48272c(0x1ed))/0x6+-parseInt(_0x48272c(0x1fc))/0x7+-parseInt(_0x48272c(0x20d))/0x8*(-parseInt(_0x48272c(0x1f2))/0x9);if(_0xd59147===_0x1c5789)break;else _0x14e1ef['push'](_0x14e1ef['shift']());}catch(_0x484201){_0x14e1ef['push'](_0x14e1ef['shift']());}}}(a93_0x328e,0x3b217));const BaseModule=require(a93_0x2ac359(0x1f3)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a93_0x2ac359(0x1f5)),HookState=require(a93_0x2ac359(0x200)),{playwrightAnnotate}=require(a93_0x2ac359(0x20f)),PerformanceTester=require(a93_0x2ac359(0x1f6)),{O11y_EVENTS}=require('../../../helpers/performance/constants.js'),constants=require(a93_0x2ac359(0x1ef));class ObservabilityModule extends BaseModule{[a93_0x2ac359(0x1fe)]=createClassLogger(a93_0x2ac359(0x201));constructor(_0x1614f1){const _0x50c5ad=a93_0x2ac359,_0x394b4a={};_0x394b4a['tXwID']=_0x50c5ad(0x201);const _0x42c3a7=_0x394b4a;super(),this[_0x50c5ad(0x20a)]=_0x42c3a7[_0x50c5ad(0x1f0)],this['observabilityConfig']=_0x1614f1,AutomationFramework[_0x50c5ad(0x1ff)](AutomationFrameworkState[_0x50c5ad(0x20b)],HookState[_0x50c5ad(0x1ea)],this[_0x50c5ad(0x1ee)]['bind'](this));}[a93_0x2ac359(0x1eb)](){return ObservabilityModule['MODULE_NAME'];}async[a93_0x2ac359(0x1ee)](_0x261a2e){const _0x358f5b=a93_0x2ac359,_0x1e6462={'eLuDY':function(_0x2ddabc,_0x35af4d){return _0x2ddabc+_0x35af4d;},'NrUoB':_0x358f5b(0x1f9),'YXaWG':function(_0x15e201,_0xbc0f83,_0x68fa99,_0x98ffb6){return _0x15e201(_0xbc0f83,_0x68fa99,_0x98ffb6);},'YpdRy':_0x358f5b(0x209),'UBiDS':_0x358f5b(0x1fd)};if(_0x261a2e[_0x358f5b(0x1f4)]){const _0x419d56=_0x261a2e[_0x358f5b(0x1f4)],_0x364cc9=Date[_0x358f5b(0x205)](),_0x386a54=_0x1e6462['eLuDY'](_0x1e6462[_0x358f5b(0x207)],_0x364cc9);PerformanceTester[_0x358f5b(0x1fb)](O11y_EVENTS[_0x358f5b(0x204)]),await _0x1e6462[_0x358f5b(0x208)](playwrightAnnotate,_0x419d56,_0x386a54,_0x1e6462['YpdRy']),PerformanceTester[_0x358f5b(0x20c)](O11y_EVENTS[_0x358f5b(0x204)]),this[_0x358f5b(0x1fe)]['info']('onBeforeTest:\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x358f5b(0x1ec));}else this[_0x358f5b(0x1fe)][_0x358f5b(0x209)](_0x1e6462[_0x358f5b(0x1f8)]);}}ObservabilityModule[a93_0x2ac359(0x1fa)]=a93_0x2ac359(0x201),module[a93_0x2ac359(0x1f1)]=ObservabilityModule;