browserstack-node-sdk 1.56.2 → 1.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.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
- function a89_0x3161(_0x594696,_0x2fc8db){const _0x490c9a=a89_0x490c();return a89_0x3161=function(_0x3161ff,_0x28291d){_0x3161ff=_0x3161ff-0x13f;let _0x5e62ab=_0x490c9a[_0x3161ff];return _0x5e62ab;},a89_0x3161(_0x594696,_0x2fc8db);}const a89_0xe0853e=a89_0x3161;(function(_0x38b8ff,_0xcce63b){const _0xe0ca39=a89_0x3161,_0x11609b=_0x38b8ff();while(!![]){try{const _0x53c4f1=parseInt(_0xe0ca39(0x159))/0x1*(parseInt(_0xe0ca39(0x152))/0x2)+-parseInt(_0xe0ca39(0x160))/0x3+-parseInt(_0xe0ca39(0x15f))/0x4+parseInt(_0xe0ca39(0x147))/0x5*(-parseInt(_0xe0ca39(0x14d))/0x6)+-parseInt(_0xe0ca39(0x14a))/0x7+-parseInt(_0xe0ca39(0x148))/0x8+-parseInt(_0xe0ca39(0x14e))/0x9*(-parseInt(_0xe0ca39(0x140))/0xa);if(_0x53c4f1===_0xcce63b)break;else _0x11609b['push'](_0x11609b['shift']());}catch(_0x41c079){_0x11609b['push'](_0x11609b['shift']());}}}(a89_0x490c,0xb1676));const TrackedContext=require(a89_0xe0853e(0x156)),crypto=require(a89_0xe0853e(0x144)),{threadId}=require('worker_threads');class TrackedInstance{static [a89_0xe0853e(0x15a)]=a89_0xe0853e(0x161);constructor(_0x47e93d){const _0x2abf1c=a89_0xe0853e;this['context']=_0x47e93d,this[_0x2abf1c(0x155)]=new Map();}[a89_0xe0853e(0x142)](){const _0x5d0cbe=a89_0xe0853e;return this[_0x5d0cbe(0x157)][_0x5d0cbe(0x13f)]();}[a89_0xe0853e(0x141)](){return this['context'];}['getAllData'](){const _0x3a5369=a89_0xe0853e;return this[_0x3a5369(0x155)];}[a89_0xe0853e(0x158)](_0x18f57f){const _0x184f9e=a89_0xe0853e;Object[_0x184f9e(0x15b)](_0x18f57f)['forEach'](_0x4327dd=>{const _0x229c89=_0x184f9e;this[_0x229c89(0x155)]['set'](_0x4327dd,_0x18f57f[_0x4327dd]);});}[a89_0xe0853e(0x15d)](_0x7d8818){const _0x18f7a7=a89_0xe0853e;Object[_0x18f7a7(0x154)](_0x7d8818)[_0x18f7a7(0x14b)](([_0x2ddb80,_0x455f0c])=>{const _0x4ba58f=_0x18f7a7,_0x255056=this['data'][_0x4ba58f(0x151)](_0x2ddb80)||{},_0x535f8a={..._0x255056,..._0x455f0c},_0x59c15b=_0x535f8a;this[_0x4ba58f(0x155)]['set'](_0x2ddb80,_0x59c15b);});}[a89_0xe0853e(0x14c)](_0x4b2568){const _0x5324b1=a89_0xe0853e;return this[_0x5324b1(0x155)][_0x5324b1(0x151)](_0x4b2568);}[a89_0xe0853e(0x153)](_0x44f5a0,_0x341d46){const _0x214745=a89_0xe0853e;this['data'][_0x214745(0x149)](_0x44f5a0,_0x341d46);}static[a89_0xe0853e(0x146)](_0x2d8f40){const _0x3e8097=a89_0xe0853e,_0x9b687e={};_0x9b687e[_0x3e8097(0x15c)]=_0x3e8097(0x145),_0x9b687e['EFlyU']=_0x3e8097(0x14f),_0x9b687e[_0x3e8097(0x15e)]=function(_0x326245,_0x549218){return _0x326245||_0x549218;};const _0x2aa4c8=_0x9b687e;return new TrackedContext(crypto[_0x3e8097(0x150)](_0x2aa4c8[_0x3e8097(0x15c)])[_0x3e8097(0x143)](_0x2d8f40)['digest'](_0x2aa4c8['EFlyU']),_0x2aa4c8[_0x3e8097(0x15e)](threadId,0x0),process['pid'],typeof _0x2d8f40);}}module['exports']=TrackedInstance;function a89_0x490c(){const _0x1317bb=['updateData','entries','data','./trackedContext','context','updateMultipleEntries','44ySrNqx','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','keys','ojslR','addMultipleEntries','Ziytk','3583100OXmCaF','2868495kNpbxl','isBrowserstackAutomationSession','getId','980EKVIIo','getContext','getRef','update','crypto','sha256','createContext','3587615xnVoQy','710704krsOVl','set','9872149FPkUtj','forEach','getData','6RiaLjX','425583vJEpzF','hex','createHash','get','7324xviMIx'];a89_0x490c=function(){return _0x1317bb;};return a89_0x490c();}
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 +1 @@
1
- const a90_0xf28d3b=a90_0x4901;(function(_0x416a59,_0x8ed26){const _0xc0c457=a90_0x4901,_0x346b83=_0x416a59();while(!![]){try{const _0x1e6631=-parseInt(_0xc0c457(0x26c))/0x1*(-parseInt(_0xc0c457(0x2cd))/0x2)+-parseInt(_0xc0c457(0x1b6))/0x3*(parseInt(_0xc0c457(0x2e3))/0x4)+-parseInt(_0xc0c457(0x2fd))/0x5+-parseInt(_0xc0c457(0x16f))/0x6*(-parseInt(_0xc0c457(0x191))/0x7)+parseInt(_0xc0c457(0x12c))/0x8*(parseInt(_0xc0c457(0x235))/0x9)+-parseInt(_0xc0c457(0x2fe))/0xa*(-parseInt(_0xc0c457(0x299))/0xb)+-parseInt(_0xc0c457(0x1e7))/0xc;if(_0x1e6631===_0x8ed26)break;else _0x346b83['push'](_0x346b83['shift']());}catch(_0x44ed9b){_0x346b83['push'](_0x346b83['shift']());}}}(a90_0x2899,0xeaef9));const BaseModule=require(a90_0xf28d3b(0x1cc)),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require(a90_0xf28d3b(0x1f8)),AutomationFramework=require(a90_0xf28d3b(0x26a)),TestFramework=require(a90_0xf28d3b(0x20d)),AutomationFrameworkState=require(a90_0xf28d3b(0x195)),HookState=require(a90_0xf28d3b(0x130)),GrpcClient=require(a90_0xf28d3b(0x157)),scripts=require(a90_0xf28d3b(0x293)),logger=createClassLogger(a90_0xf28d3b(0x1fa)),PerformanceTester=require(a90_0xf28d3b(0x2eb)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a90_0xf28d3b(0x19c)),{nestedKeyValue,isUndefined}=require('../../../helpers/helper'),util=require('util'),TestInfo=require('../TestInfo.js'),TestFrameworkConstants=require(a90_0xf28d3b(0x29b)),accessibilityHelper=require('../../../helpers/accessibility-automation/helper');class AccessibilityModule extends BaseModule{static ['MODULE_NAME']=AccessibilityModule[a90_0xf28d3b(0x1d5)];static [a90_0xf28d3b(0x24d)]=![];static ['_centralAuthA11yConfig']={};constructor(_0xac5774){const _0x41b7af=a90_0xf28d3b,_0x205c93={};_0x205c93['vZUob']=_0x41b7af(0x291),_0x205c93[_0x41b7af(0x28d)]=_0x41b7af(0x1a4),_0x205c93['CYLSC']=_0x41b7af(0x14b),_0x205c93[_0x41b7af(0x1b0)]='DRIVER_HAS_URL',_0x205c93[_0x41b7af(0x199)]=_0x41b7af(0x17b);const _0x4af2ce=_0x205c93,_0x3c814b=_0x4af2ce[_0x41b7af(0x14a)]['split']('|');let _0x22fc7d=0x0;while(!![]){switch(_0x3c814b[_0x22fc7d++]){case'0':this[_0x41b7af(0x277)]=![];continue;case'1':logger[_0x41b7af(0x1bb)](_0x4af2ce[_0x41b7af(0x28d)]);continue;case'2':this['LOG_DISABLED_SHOWN']=new Map();continue;case'3':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x41b7af(0x1ea)],HookState[_0x41b7af(0x1c4)],this['onBeforeTest']['bind'](this));continue;case'4':this[_0x41b7af(0x22f)]=_0xac5774['toObject']();continue;case'5':this['KEY_TESTHUB_BUILD_ID']=_0x4af2ce[_0x41b7af(0x12a)];continue;case'6':this['setAccessibilityToken'](_0xac5774[_0x41b7af(0x238)]()['getCapabilitiesList']());continue;case'7':this['isEnabled']=!![];continue;case'8':super();continue;case'9':AutomationFramework[_0x41b7af(0x262)](AutomationFrameworkState[_0x41b7af(0x2a5)],HookState[_0x41b7af(0x1ca)],this[_0x41b7af(0x2d7)]['bind'](this));continue;case'10':this[_0x41b7af(0x128)]=[];continue;case'11':this['_mobileScanningDisabledLogged']=![];continue;case'12':this['KEY_DRIVER_HAS_URL']=_0x4af2ce[_0x41b7af(0x1b0)];continue;case'13':this[_0x41b7af(0x135)]=new Map();continue;case'14':AutomationFramework[_0x41b7af(0x262)](AutomationFrameworkState[_0x41b7af(0x178)],HookState[_0x41b7af(0x1ca)],this[_0x41b7af(0x2db)]['bind'](this));continue;case'15':this[_0x41b7af(0x177)]=_0x4af2ce[_0x41b7af(0x199)];continue;case'16':this[_0x41b7af(0x304)]=![];continue;}break;}}[a90_0xf28d3b(0x171)](){const _0x212d61=a90_0xf28d3b;return this[_0x212d61(0x171)];}[a90_0xf28d3b(0x2e4)](){const _0xc95705=a90_0xf28d3b;return AccessibilityModule[_0xc95705(0x210)];}[a90_0xf28d3b(0x1ae)](){const _0x3d93cc=a90_0xf28d3b;return this[_0x3d93cc(0x135)]['get'](CLIUtils[_0x3d93cc(0x26b)](),![]);}[a90_0xf28d3b(0x22e)](){const _0x493c6f=a90_0xf28d3b;return this[_0x493c6f(0x2bb)][_0x493c6f(0x25b)](CLIUtils[_0x493c6f(0x26b)](),![]);}[a90_0xf28d3b(0x212)](_0x5f2d88){const _0x49db45=a90_0xf28d3b;this[_0x49db45(0x2bb)]['set'](CLIUtils[_0x49db45(0x26b)](),_0x5f2d88);}[a90_0xf28d3b(0x163)](){const _0x12972c=a90_0xf28d3b,_0x40d009={'zuUHE':_0x12972c(0x2c4),'HcJIR':function(_0x221f54,_0x17c53c){return _0x221f54(_0x17c53c);},'CGecf':_0x12972c(0x13a),'bFOdc':_0x12972c(0x1a2),'ejxjf':_0x12972c(0x172)};if(this[_0x12972c(0x277)]){logger[_0x12972c(0x1bb)](_0x40d009[_0x12972c(0x2f8)]);return;}try{const _0x24178d=_0x40d009['HcJIR'](require,_0x40d009['CGecf']);_0x24178d&&_0x24178d[_0x12972c(0x167)]?(_0x24178d[_0x12972c(0x167)](),this[_0x12972c(0x277)]=!![],logger[_0x12972c(0x1bb)](_0x40d009[_0x12972c(0x246)])):logger['debug'](_0x40d009[_0x12972c(0x166)]);}catch(_0x1c5859){logger[_0x12972c(0x1bb)](_0x12972c(0x223)+util[_0x12972c(0x2c6)](_0x1c5859));}}[a90_0xf28d3b(0x1c7)](_0x2fd85e=null,_0x5cefb3=null,_0x517352=null){const _0x275823=a90_0xf28d3b,_0x477afb={'uwoql':function(_0x1940f3,_0x28fa67){return _0x1940f3&&_0x28fa67;},'IREkk':_0x275823(0x183),'GxOyt':function(_0x145b3b,_0x3e18d2){return _0x145b3b(_0x3e18d2);},'JRRLE':'../../../helpers/helper','CKfUu':_0x275823(0x207),'poUpD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','JIGyw':function(_0x2be7b6,_0x880b2b){return _0x2be7b6===_0x880b2b;},'VxDaR':_0x275823(0x182),'pZNsE':_0x275823(0x24b),'XgNaj':_0x275823(0x1b3),'zhzgi':_0x275823(0x248),'uOHNl':function(_0x262cdb,_0x564d9d){return _0x262cdb!==_0x564d9d;},'wUhXR':'latest','WOREf':function(_0x262120){return _0x262120();},'IZGBS':'on\x20non-BrowserStack\x20infrastructure\x20','mRmPQ':function(_0x4695e3,_0x16f479){return _0x4695e3>_0x16f479;},'UHthH':function(_0x3becbd,_0x52a543){return _0x3becbd(_0x52a543);},'wEtQG':function(_0x514a50,_0x385296){return _0x514a50(_0x385296);},'GAKPD':_0x275823(0x1dd)};try{if(_0x477afb[_0x275823(0x22a)](!_0x5cefb3,!_0x517352))return logger[_0x275823(0x1bb)](_0x477afb[_0x275823(0x292)]),![];const {isUndefined:_0x8d0ccd,isBrowserstackInfra:_0x30345c}=_0x477afb[_0x275823(0x2a9)](require,_0x477afb['JRRLE']);if(!accessibilityHelper['isAccessibilityAutomationSession']())return logger['debug'](_0x477afb[_0x275823(0x2b5)]),![];const _0x6d1c7e=_0x5cefb3['browserName']||_0x5cefb3[_0x275823(0x140)],_0x5822f8=_0x5cefb3[_0x275823(0x1c3)]||_0x5cefb3[_0x275823(0x181)];if(!accessibilityHelper[_0x275823(0x149)](_0x6d1c7e))return logger['warn'](_0x477afb[_0x275823(0x1bd)]),![];if(accessibilityHelper['requiresChromeOptionsValidation'](_0x6d1c7e))try{const _0x2a4602=_0x5cefb3[_0x275823(0x1f0)],_0x22ed21=_0x477afb['JIGyw'](_0x2a4602,!![])||_0x477afb[_0x275823(0x244)](_0x2a4602,_0x477afb['VxDaR'])||_0x477afb[_0x275823(0x244)](typeof _0x2a4602,_0x477afb[_0x275823(0x267)])&&_0x477afb[_0x275823(0x244)](_0x2a4602[_0x275823(0x243)](),_0x477afb[_0x275823(0x245)]);if(_0x22ed21)return logger[_0x275823(0x1e3)](_0x477afb[_0x275823(0x1de)]),![];const _0x303917=_0x5cefb3?.[_0x275823(0x232)]?.['args']||_0x5cefb3?.[_0x477afb[_0x275823(0x29d)]]?.['args']||[];if(Array[_0x275823(0x2bd)](_0x303917)&&_0x303917[_0x275823(0x250)](_0x330966=>typeof _0x330966===_0x275823(0x24b)&&(_0x330966==='--headless'||_0x330966[_0x275823(0x26f)](_0x275823(0x257))&&_0x330966!==_0x275823(0x170))))return logger[_0x275823(0x1e3)](_0x477afb['XgNaj']),![];}catch(_0x1169e6){logger['debug']('Error\x20checking\x20headless\x20capability:\x20'+util[_0x275823(0x2c6)](_0x1169e6));}if(_0x477afb[_0x275823(0x1df)](_0x5822f8,_0x477afb[_0x275823(0x123)])){const _0x3a4963=_0x477afb[_0x275823(0x252)](_0x30345c),_0x1c65c0=accessibilityHelper[_0x275823(0x132)](_0x6d1c7e,_0x3a4963),_0x3a6100=accessibilityHelper[_0x275823(0x209)](_0x6d1c7e);if(!accessibilityHelper[_0x275823(0x155)](_0x5822f8,_0x1c65c0)){const _0xcd729b=_0x3a4963?'':_0x477afb[_0x275823(0x125)];return logger[_0x275823(0x1e3)](_0x275823(0x2ee)+_0x3a6100+'\x20browser\x20version\x20'+_0x1c65c0+_0x275823(0x255)+_0xcd729b+'.'),![];}}else{const _0xaa129d=_0x5cefb3['browserVersion']||_0x5cefb3[_0x275823(0x181)]||_0x5cefb3[_0x275823(0x16b)];if(_0xaa129d&&_0x477afb[_0x275823(0x1df)](_0xaa129d,_0x477afb[_0x275823(0x123)])&&!_0x477afb[_0x275823(0x24c)](_0x477afb[_0x275823(0x2a1)](parseFloat,_0xaa129d),_0x477afb[_0x275823(0x2be)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger['warn'](_0x477afb[_0x275823(0x173)]),![];}return!![];}catch(_0x5b3156){return logger['debug'](_0x275823(0x29f)+_0x5b3156[_0x275823(0x16c)]),![];}}[a90_0xf28d3b(0x301)](_0x5ba616=[],_0x3fd422,_0x2afeb3=a90_0xf28d3b(0x184)){const _0x2fecbf=a90_0xf28d3b,_0x35e1f3={'weLLN':function(_0x173d69,_0x2bce09){return _0x173d69===_0x2bce09;},'AtmxP':_0x2fecbf(0x296),'WZkxh':function(_0x114e7b,_0x3ad005){return _0x114e7b||_0x3ad005;},'vZPsP':function(_0x34fba5,_0x264092){return _0x34fba5===_0x264092;},'zxvBW':function(_0x450649,_0x4f975e){return _0x450649&&_0x4f975e;},'Trbpq':_0x2fecbf(0x2a3),'FElfg':function(_0x1d8cac,_0x218aec){return _0x1d8cac(_0x218aec);},'ravrz':function(_0x3afcfd,_0x456227){return _0x3afcfd>_0x456227;}};try{const _0x2e4c11=process['env'][_0x2fecbf(0x20f)]?JSON[_0x2fecbf(0x142)](process[_0x2fecbf(0x2ec)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):null;if(!_0x2e4c11)return!![];const _0x31ba18=Array[_0x2fecbf(0x2bd)](_0x2e4c11[_0x2fecbf(0x234)])?_0x2e4c11['includeTagsInTestingScope']:[],_0x37beb2=Array[_0x2fecbf(0x2bd)](_0x2e4c11[_0x2fecbf(0x24a)])?_0x2e4c11[_0x2fecbf(0x24a)]:[];if(_0x35e1f3[_0x2fecbf(0x134)](_0x2afeb3,_0x35e1f3[_0x2fecbf(0x148)])){let _0x3eac2b;Array[_0x2fecbf(0x2bd)](_0x5ba616)?_0x3eac2b=_0x5ba616[_0x2fecbf(0x13e)]('\x20'):_0x3eac2b=_0x35e1f3['WZkxh'](_0x5ba616,'');const _0x3a5d9e=_0x37beb2[_0x2fecbf(0x250)](_0x4536d1=>_0x3eac2b['includes'](_0x4536d1)),_0x2c9ef4=_0x35e1f3[_0x2fecbf(0x2d8)](_0x31ba18['length'],0x0)||_0x31ba18[_0x2fecbf(0x250)](_0x471a94=>_0x3eac2b[_0x2fecbf(0x1d8)](_0x471a94)),_0x4d9064=_0x35e1f3[_0x2fecbf(0x120)](!_0x3a5d9e,_0x2c9ef4);return logger['debug'](_0x2fecbf(0x1f6)+(_0x3fd422?.[_0x2fecbf(0x2d5)]?.()||_0x35e1f3[_0x2fecbf(0x29e)])+']\x20isEnabledTestcase\x20(jest)\x20result='+_0x4d9064+_0x2fecbf(0x27c)+_0x3eac2b+_0x2fecbf(0x18a)+JSON['stringify'](_0x31ba18)+_0x2fecbf(0x2b3)+JSON[_0x2fecbf(0x225)](_0x37beb2)),_0x4d9064;}const _0x5d8e19=Array['isArray'](_0x5ba616)?_0x5ba616:[];let _0x107c62=![],_0x2c1f39=_0x35e1f3['weLLN'](_0x31ba18[_0x2fecbf(0x2f4)],0x0);const _0x830688=_0x43ad7a=>typeof _0x43ad7a===_0x2fecbf(0x24b)?_0x43ad7a[_0x2fecbf(0x13f)](/^@/,'')[_0x2fecbf(0x243)]()[_0x2fecbf(0x12b)]():_0x43ad7a,_0x1de7a2=new Set(_0x31ba18['map'](_0x830688)),_0x17896f=new Set(_0x37beb2[_0x2fecbf(0x264)](_0x830688));for(const _0xe829de of _0x5d8e19){const _0x532256=_0x35e1f3[_0x2fecbf(0x1d0)](_0x830688,_0xe829de);_0x17896f['has'](_0x532256)&&(_0x107c62=!![]),_0x35e1f3['ravrz'](_0x1de7a2[_0x2fecbf(0x1b1)],0x0)&&_0x1de7a2['has'](_0x532256)&&(_0x2c1f39=!![]);}const _0x5e2c5f=_0x35e1f3[_0x2fecbf(0x120)](_0x2c1f39,!_0x107c62);return logger[_0x2fecbf(0x1bb)](_0x2fecbf(0x1f6)+(_0x3fd422?.['getPlatformIndex']?.()||_0x35e1f3[_0x2fecbf(0x29e)])+_0x2fecbf(0x2f2)+_0x5e2c5f+_0x2fecbf(0x13d)+JSON['stringify'](_0x5d8e19)+_0x2fecbf(0x18a)+JSON['stringify'](_0x31ba18)+',\x20excludeTags='+JSON['stringify'](_0x37beb2)),_0x5e2c5f;}catch(_0x1ff94d){return logger[_0x2fecbf(0x1bb)](_0x2fecbf(0x1f6)+(_0x3fd422?.[_0x2fecbf(0x2d5)]?.()||_0x35e1f3[_0x2fecbf(0x29e)])+_0x2fecbf(0x15b)+_0x1ff94d['message']),![];}}async[a90_0xf28d3b(0x2ff)](_0x4ec8c1){const _0x4f427a=a90_0xf28d3b,_0x1461e1={};_0x1461e1[_0x4f427a(0x161)]=function(_0x1ae673,_0x215200){return _0x1ae673!==_0x215200;},_0x1461e1[_0x4f427a(0x2d2)]=_0x4f427a(0x184),_0x1461e1['fEFpD']=function(_0x144b18,_0x5427bb){return _0x144b18!==_0x5427bb;},_0x1461e1[_0x4f427a(0x18c)]=_0x4f427a(0x296),_0x1461e1[_0x4f427a(0x1a0)]='onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x1461e1[_0x4f427a(0x2ae)]=_0x4f427a(0x1c9),_0x1461e1[_0x4f427a(0x211)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x1461e1[_0x4f427a(0x145)]=_0x4f427a(0x169),_0x1461e1[_0x4f427a(0x13c)]='DRIVER_INIT',_0x1461e1[_0x4f427a(0x16e)]=function(_0x48a8f3,_0x3a8fa8){return _0x48a8f3===_0x3a8fa8;},_0x1461e1['DwDfJ']=function(_0x31359d,_0x1c4fcc){return _0x31359d===_0x1c4fcc;},_0x1461e1[_0x4f427a(0x1a9)]='onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true',_0x1461e1[_0x4f427a(0x26d)]=function(_0x5b1fa6,_0x437f30){return _0x5b1fa6===_0x437f30;},_0x1461e1[_0x4f427a(0x236)]=_0x4f427a(0x2e0),_0x1461e1['OyWIr']=function(_0x76f968,_0x19902b){return _0x76f968>_0x19902b;},_0x1461e1[_0x4f427a(0x2c8)]=function(_0x1fd50b,_0x262030){return _0x1fd50b===_0x262030;},_0x1461e1[_0x4f427a(0x28a)]=_0x4f427a(0x164),_0x1461e1[_0x4f427a(0x1ad)]=_0x4f427a(0x1ba),_0x1461e1['pDJXK']=function(_0x28b8aa,_0x3159e6){return _0x28b8aa&&_0x3159e6;},_0x1461e1[_0x4f427a(0x2bc)]='unknown',_0x1461e1['NByqF']=_0x4f427a(0x182);const _0x5f538a=_0x1461e1;if(_0x5f538a['FfyQd'](_0x4ec8c1['testFramework'],_0x5f538a['NYATz'])&&_0x5f538a[_0x4f427a(0x1db)](_0x4ec8c1[_0x4f427a(0x1e4)],_0x5f538a[_0x4f427a(0x18c)])){logger['debug'](_0x5f538a[_0x4f427a(0x1a0)]);return;}try{const _0x50449f=AutomationFramework[_0x4f427a(0x21c)](),_0x17ca2c=TestFramework[_0x4f427a(0x21c)](),_0x47c4da=_0x4ec8c1[_0x4f427a(0x22d)]||global[_0x4f427a(0x23f)]?.[_0x4f427a(0x189)]||null;if(!_0x47c4da){_0x17ca2c&&_0x17ca2c[_0x4f427a(0x1cf)](_0x5f538a[_0x4f427a(0x2ae)],!![]);logger[_0x4f427a(0x1bb)](_0x5f538a['XEJME']);return;}logger[_0x4f427a(0x1bb)](_0x5f538a['bIEoJ']);const _0x44e2ec=_0x17ca2c?.['getData'](_0x5f538a[_0x4f427a(0x13c)],![]),_0x171408=_0x17ca2c?.[_0x4f427a(0x1fe)](_0x5f538a[_0x4f427a(0x2ae)],![]);if(_0x5f538a[_0x4f427a(0x16e)](_0x44e2ec,![])&&_0x5f538a['DwDfJ'](_0x171408,![])){_0x17ca2c&&_0x17ca2c['updateData'](_0x5f538a[_0x4f427a(0x13c)],!![]);logger[_0x4f427a(0x1bb)](_0x5f538a['MeZCm']);return;}_0x17ca2c&&_0x17ca2c['updateData'](_0x5f538a[_0x4f427a(0x2ae)],!![]);let _0x13bc54,_0x3e7fcb;const _0x2c6210=_0x4ec8c1[_0x4f427a(0x1e4)]||_0x5f538a[_0x4f427a(0x2d2)];if(_0x5f538a[_0x4f427a(0x26d)](_0x2c6210,_0x5f538a['NmoqS'])){_0x3e7fcb=_0x4ec8c1[_0x4f427a(0x27f)]?.[_0x4f427a(0x2dd)]||_0x4ec8c1[_0x4f427a(0x27f)]?.['id']||global[_0x4f427a(0x1ab)]||global['__workerDetails']?.[_0x4f427a(0x17a)]?.[_0x4f427a(0x2dd)]||global[_0x4f427a(0x23f)]?.['currentTest']?.['id'];const _0x1b5e8e=_0x17ca2c?.['getAllData']()?.[_0x4f427a(0x25b)](_0x3e7fcb);if(_0x1b5e8e&&_0x1b5e8e[TestFrameworkConstants['KEY_TEST_NAME']])_0x13bc54=_0x1b5e8e[TestFrameworkConstants[_0x4f427a(0x1f5)]];else{if(_0x4ec8c1['testInfo']?.[_0x4f427a(0x1aa)])_0x13bc54=_0x4ec8c1[_0x4f427a(0x27f)][_0x4f427a(0x1aa)];else global[_0x4f427a(0x23f)]?.[_0x4f427a(0x17a)]?.[_0x4f427a(0x27f)]?.[_0x4f427a(0x1aa)]?_0x13bc54=global[_0x4f427a(0x23f)][_0x4f427a(0x17a)][_0x4f427a(0x27f)][_0x4f427a(0x1aa)]:_0x13bc54=_0x5f538a[_0x4f427a(0x236)];}logger['debug'](_0x4f427a(0x282)+_0x3e7fcb+_0x4f427a(0x27c)+JSON[_0x4f427a(0x225)](_0x13bc54));}else{_0x3e7fcb=this[_0x4f427a(0x2ba)](_0x4ec8c1);const _0x55847f=TestInfo['getTestDetails'](_0x3e7fcb);let _0x43e5bf=[];if(_0x55847f&&Array['isArray'](_0x55847f[_0x4f427a(0x1ba)])&&_0x5f538a[_0x4f427a(0x221)](_0x55847f['test_tags'][_0x4f427a(0x2f4)],0x0))_0x43e5bf=_0x55847f[_0x4f427a(0x1ba)];else{if(_0x17ca2c){const _0x8cf5c7=_0x5f538a[_0x4f427a(0x2c8)](typeof _0x17ca2c[_0x4f427a(0x1fe)],_0x5f538a[_0x4f427a(0x28a)])?_0x17ca2c[_0x4f427a(0x1fe)](_0x5f538a[_0x4f427a(0x1ad)],[]):_0x17ca2c[_0x4f427a(0x1ba)]||[];Array[_0x4f427a(0x2bd)](_0x8cf5c7)&&(_0x43e5bf=_0x8cf5c7);}}_0x13bc54=_0x43e5bf;}logger[_0x4f427a(0x253)](_0x4f427a(0x18f)+JSON[_0x4f427a(0x225)](_0x13bc54));const _0x48337=this[_0x4f427a(0x1c7)](_0x50449f,_0x4ec8c1[_0x4f427a(0x269)],_0x4ec8c1[_0x4f427a(0x1cb)]);logger[_0x4f427a(0x1bb)](_0x4f427a(0x297)+_0x48337+',\x20isAppAccessibility='+this['isAppAccessibility']);const _0x284c45=this[_0x4f427a(0x301)](_0x13bc54,_0x50449f,_0x2c6210),_0x26e6bd=_0x5f538a[_0x4f427a(0x287)](_0x48337,_0x284c45),_0x5c47b5=CLIUtils[_0x4f427a(0x26b)]();this['accessibility'][_0x4f427a(0x176)](_0x5c47b5,_0x26e6bd),global[_0x4f427a(0x300)]?.['getContext']&&global['Context']['getContext']()[_0x4f427a(0x15e)](_0x26e6bd),logger[_0x4f427a(0x1bb)]('[platform\x20-\x20'+(_0x50449f?.['getPlatformIndex']?.()||_0x5f538a[_0x4f427a(0x2bc)])+_0x4f427a(0x2c3)+_0x26e6bd),_0x26e6bd?(global[_0x4f427a(0x29c)]=!![],process[_0x4f427a(0x2ec)][_0x4f427a(0x23a)]=_0x5f538a[_0x4f427a(0x1a5)],this[_0x4f427a(0x163)]()):global[_0x4f427a(0x29c)]=![];}catch(_0x4f5a43){logger[_0x4f427a(0x21a)](_0x4f427a(0x1b9)+(_0x4f5a43[_0x4f427a(0x2b2)]||_0x4f5a43[_0x4f427a(0x16c)]));const _0x2bf2c5=CLIUtils[_0x4f427a(0x26b)]();this[_0x4f427a(0x135)][_0x4f427a(0x176)](_0x2bf2c5,![]),global[_0x4f427a(0x29c)]=![];}}[a90_0xf28d3b(0x1ed)](){const _0x590131=a90_0xf28d3b;return this[_0x590131(0x128)]['find'](_0x55794b=>_0x55794b['getName']()===_0x590131(0x248))?.[_0x590131(0x259)]()||'';}['getCapabilityValue'](_0x472b43){const _0x3593e2=a90_0xf28d3b;try{const _0x4850a1=this[_0x3593e2(0x22f)]?.[_0x3593e2(0x127)]?.[_0x3593e2(0x131)]||[],_0x55f56=_0x4850a1[_0x3593e2(0x25d)](_0xeffcaa=>_0xeffcaa[_0x3593e2(0x1d5)]===_0x472b43);return _0x55f56?_0x55f56['value']:null;}catch(_0x3c3f82){return logger['debug'](_0x3593e2(0x15a)+_0x472b43+':\x20'+_0x3c3f82[_0x3593e2(0x16c)]),null;}}async[a90_0xf28d3b(0x303)](_0x1af76c,_0x5e7df5){const _0x2e9c84=a90_0xf28d3b,_0x515dd8=_0x1af76c['getAccessibility']()['getOptions'](),_0x44cb1a=_0x515dd8[_0x2e9c84(0x2d4)](),_0x1a0516=_0x515dd8[_0x2e9c84(0x2dc)]()?.[_0x2e9c84(0x2da)]();scripts[_0x2e9c84(0x1d3)](_0x44cb1a,_0x1a0516),scripts[_0x2e9c84(0x268)]();const _0x3dbd3e=_0x515dd8[_0x2e9c84(0x224)]();this[_0x2e9c84(0x128)]=_0x515dd8[_0x2e9c84(0x224)](),await this[_0x2e9c84(0x2ed)](_0x3dbd3e,_0x5e7df5['launchCaps']);}async[a90_0xf28d3b(0x2ed)](_0x2de60a,_0x5745ae={}){const _0x1f8a62=a90_0xf28d3b,_0x2f08e9={'mLGcV':function(_0x305cec,_0x42c6c1){return _0x305cec===_0x42c6c1;},'YtthX':_0x1f8a62(0x19e),'cpqwM':'browserstack.accessibilityOptions.authToken','fLhue':function(_0x5c41e5,_0x11762f){return _0x5c41e5(_0x11762f);},'wruWY':_0x1f8a62(0x23e),'LWbrP':function(_0x2fdd67,_0x4b3a1c){return _0x2fdd67(_0x4b3a1c);},'XISFk':_0x1f8a62(0x2b9),'leUCm':'wcagVersion','fEIyp':_0x1f8a62(0x279),'xyKwe':'scannerVersion','dkrGZ':_0x1f8a62(0x228),'Fyodk':function(_0x1269b2,_0x3b38fc){return _0x1269b2===_0x3b38fc;},'TlPHX':_0x1f8a62(0x2e1),'NcknE':'browserstack.accessibilityOptions.scannerProcessingTimeout','zkroW':_0x1f8a62(0x1fb),'FlBYf':function(_0xab2d56,_0x55e3b4){return _0xab2d56(_0x55e3b4);},'ViHWA':function(_0x57adea,_0xdb54a9){return _0x57adea===_0xdb54a9;},'OMKPS':_0x1f8a62(0x182)};global[_0x1f8a62(0x193)]=global['__accessibilityOptions']||{};for(const _0x2460a4 of _0x2de60a){logger[_0x1f8a62(0x253)](_0x1f8a62(0x306)+_0x2460a4[_0x1f8a62(0x286)]()+_0x1f8a62(0x289)+_0x2460a4['getValue']());if(_0x2f08e9[_0x1f8a62(0x1cd)](_0x2460a4[_0x1f8a62(0x286)](),_0x2f08e9[_0x1f8a62(0x1ef)])){const _0x2e4132=_0x2460a4[_0x1f8a62(0x259)]();process['env'][_0x1f8a62(0x1fd)]=_0x2e4132,global[_0x1f8a62(0x193)][_0x2f08e9[_0x1f8a62(0x2df)]]=_0x2e4132;const _0x2b328a=_0x2f08e9['fLhue'](require,_0x2f08e9[_0x1f8a62(0x218)]),{isTrue:_0x37f95e}=_0x2f08e9[_0x1f8a62(0x1c8)](require,_0x2f08e9[_0x1f8a62(0x1fc)]),_0x25a348=_0x2b328a['parseA11yJwtPayload'](_0x2e4132);_0x25a348&&_0x2f08e9[_0x1f8a62(0x14d)](_0x37f95e,_0x25a348[_0x1f8a62(0x25a)])&&(process[_0x1f8a62(0x2ec)][_0x1f8a62(0x1c0)]=!![]);}else{if(_0x2f08e9['mLGcV'](_0x2460a4[_0x1f8a62(0x286)](),_0x2f08e9[_0x1f8a62(0x2cb)]))global[_0x1f8a62(0x193)][_0x2f08e9[_0x1f8a62(0x258)]]=_0x2460a4['getValue']();else{if(_0x2f08e9[_0x1f8a62(0x1cd)](_0x2460a4['getName'](),_0x2f08e9[_0x1f8a62(0x186)]))global[_0x1f8a62(0x193)][_0x2f08e9[_0x1f8a62(0x2bf)]]=_0x2460a4[_0x1f8a62(0x259)]();else{if(_0x2f08e9['Fyodk'](_0x2460a4['getName'](),_0x2f08e9[_0x1f8a62(0x229)]))global['__accessibilityOptions'][_0x2f08e9[_0x1f8a62(0x305)]]=_0x2460a4['getValue']();else{if(_0x2f08e9[_0x1f8a62(0x19a)](_0x2460a4[_0x1f8a62(0x286)](),_0x2f08e9[_0x1f8a62(0x230)])){const _0x113018=_0x2460a4[_0x1f8a62(0x259)]();process[_0x1f8a62(0x2ec)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x2f08e9[_0x1f8a62(0x278)](String,_0x2f08e9['ViHWA'](_0x113018,!![])||_0x2f08e9[_0x1f8a62(0x1a1)](_0x113018,_0x2f08e9[_0x1f8a62(0x22b)])),logger[_0x1f8a62(0x1bb)]('[AccessibilityModule]\x20isMobileScanningEnabledForGroup\x20cap\x20received:\x20raw='+_0x113018+_0x1f8a62(0x2aa)+process[_0x1f8a62(0x2ec)][_0x1f8a62(0x26e)]);}}}}}}}async[a90_0xf28d3b(0x2d7)](_0x5027f1){const _0x5256d5=a90_0xf28d3b,_0x48c021={};_0x48c021['yDhml']=function(_0x46eba2,_0x159584){return _0x46eba2!==_0x159584;},_0x48c021['mmIdl']=_0x5256d5(0x184),_0x48c021['oaxuG']=function(_0x448086,_0x3440c1){return _0x448086!==_0x3440c1;},_0x48c021['AmgUI']=_0x5256d5(0x296),_0x48c021[_0x5256d5(0x242)]=_0x5256d5(0x162),_0x48c021[_0x5256d5(0x2ef)]='unknown';const _0x79abb3=_0x48c021;if(_0x79abb3[_0x5256d5(0x175)](_0x5027f1[_0x5256d5(0x1e4)],_0x79abb3[_0x5256d5(0x150)])&&_0x79abb3['oaxuG'](_0x5027f1[_0x5256d5(0x1e4)],_0x79abb3['AmgUI'])){logger[_0x5256d5(0x1bb)](_0x79abb3['VxLyF']);return;}const _0x2c4f3d=_0x5027f1[_0x5256d5(0x27f)]?.[_0x5256d5(0x2dd)]||_0x5027f1[_0x5256d5(0x27f)]?.['id']||global[_0x5256d5(0x1ab)];logger[_0x5256d5(0x253)](_0x5256d5(0x17c)+_0x5027f1['testFramework']+_0x5256d5(0x1be)+_0x2c4f3d);try{const _0x136504=_0x5027f1[_0x5256d5(0x2d1)]||AutomationFramework[_0x5256d5(0x21c)](),_0x52a85f=CLIUtils[_0x5256d5(0x26b)](),_0x24eeef=this['getCurrentAccessibilityStatus']();logger[_0x5256d5(0x1bb)]('[platform\x20-\x20'+(_0x136504?.[_0x5256d5(0x2d5)]?.()||_0x79abb3[_0x5256d5(0x2ef)])+_0x5256d5(0x1d7)+_0x24eeef),_0x24eeef&&await this[_0x5256d5(0x2ea)](_0x136504,_0x5027f1),this[_0x5256d5(0x135)][_0x5256d5(0x12e)](_0x52a85f),this['LOG_DISABLED_SHOWN'][_0x5256d5(0x12e)](_0x52a85f);}catch(_0x1c369f){logger[_0x5256d5(0x21a)](_0x5256d5(0x2ab)+(_0x1c369f[_0x5256d5(0x2b2)]||_0x1c369f[_0x5256d5(0x16c)]));}}async[a90_0xf28d3b(0x2ea)](_0x3406e1,_0x9e832e){const _0x18f154=a90_0xf28d3b,_0x1b804e={};_0x1b804e['SwhhD']=function(_0x4a0af0,_0x3c799f){return _0x4a0af0===_0x3c799f;},_0x1b804e[_0x18f154(0x1ac)]=_0x18f154(0x164),_0x1b804e[_0x18f154(0x1a7)]=_0x18f154(0x296),_0x1b804e['dbazi']=_0x18f154(0x184),_0x1b804e['dSSAU']=_0x18f154(0x14e),_0x1b804e[_0x18f154(0x21f)]='accessibility',_0x1b804e[_0x18f154(0x240)]='saveResults',_0x1b804e['HuMzI']='unknown',_0x1b804e['gXQAP']=_0x18f154(0x160),_0x1b804e['mYMAO']='null',_0x1b804e[_0x18f154(0x2fa)]=function(_0x554b60,_0x1bd575){return _0x554b60||_0x1bd575;},_0x1b804e[_0x18f154(0x23b)]=function(_0x16e19c,_0x32afa1){return _0x16e19c||_0x32afa1;},_0x1b804e[_0x18f154(0x198)]=function(_0x560ed5,_0x3ffada){return _0x560ed5||_0x3ffada;},_0x1b804e[_0x18f154(0x121)]=_0x18f154(0x1b7),_0x1b804e[_0x18f154(0x1d6)]=_0x18f154(0x1e8),_0x1b804e[_0x18f154(0x1b2)]=_0x18f154(0x13b);const _0x2e2971=_0x1b804e;try{const _0x5e34e6=_0x9e832e[_0x18f154(0x1e4)]||(_0x2e2971[_0x18f154(0x272)](this[_0x18f154(0x1d1)]?.[_0x18f154(0x1d5)]?.[_0x18f154(0x243)](),_0x2e2971[_0x18f154(0x1a7)])?_0x2e2971[_0x18f154(0x1a7)]:_0x2e2971[_0x18f154(0x1a6)]);let _0x469688='',_0xf2b6a4=null,_0x13bdae=null;if(_0x2e2971[_0x18f154(0x272)](_0x5e34e6,_0x2e2971[_0x18f154(0x1a7)])){_0xf2b6a4=_0x9e832e[_0x18f154(0x27f)]?.['testAnalyticsId']||_0x9e832e[_0x18f154(0x27f)]?.['id']||global[_0x18f154(0x1ab)];if(!_0xf2b6a4){logger['warn'](_0x2e2971[_0x18f154(0x15d)]);return;}try{const _0x14cbb7=await GrpcClient[_0x18f154(0x197)]()[_0x18f154(0x24e)](process[_0x18f154(0x2ec)][_0x18f154(0x284)],_0x2e2971['fqtjA'],_0x2e2971[_0x18f154(0x240)],_0xf2b6a4),_0x5050b2=AccessibilityModule[_0x18f154(0x133)](null,_0x14cbb7);_0x469688=_0x5050b2?.[_0x18f154(0x201)]||'',logger[_0x18f154(0x1bb)](_0x18f154(0x19d)+_0x469688+_0x18f154(0x137)+_0xf2b6a4),_0x13bdae=_0x14cbb7;}catch(_0x31af8f){logger[_0x18f154(0x21a)](_0x18f154(0x28c)+_0x31af8f[_0x18f154(0x16c)]);return;}}else{const _0x266a4b=this[_0x18f154(0x2ba)](_0x9e832e);_0x469688=TestInfo['getTestUUID'](_0x266a4b);}const _0x30e249=((()=>{const _0x56e5f2=_0x18f154,_0x2116ce=(this[_0x56e5f2(0x22f)]?.[_0x56e5f2(0x127)]?.[_0x56e5f2(0x131)]||[])[_0x56e5f2(0x25d)](_0x56514e=>(typeof _0x56514e[_0x56e5f2(0x286)]===_0x56e5f2(0x164)?_0x56514e[_0x56e5f2(0x286)]():_0x56514e[_0x56e5f2(0x1d5)])===this[_0x56e5f2(0x1af)]);return _0x2116ce?_0x2e2971['SwhhD'](typeof _0x2116ce[_0x56e5f2(0x259)],_0x2e2971[_0x56e5f2(0x1ac)])?_0x2116ce[_0x56e5f2(0x259)]():_0x2116ce[_0x56e5f2(0x192)]:'';})()),_0x17b066=process[_0x18f154(0x2ec)][_0x18f154(0x2a6)]||'';logger[_0x18f154(0x1bb)](_0x18f154(0x1f6)+(_0x3406e1?.[_0x18f154(0x2d5)]?.()||_0x2e2971['HuMzI'])+_0x18f154(0x159)+_0x469688+_0x18f154(0x1ce)+_0x30e249+_0x18f154(0x219)+(_0x17b066?_0x2e2971[_0x18f154(0x226)]:_0x2e2971[_0x18f154(0x1c6)]));let _0x7554e5;if(_0x2e2971[_0x18f154(0x272)](_0x5e34e6,_0x2e2971[_0x18f154(0x1a7)]))_0x7554e5=AccessibilityModule['loadDriverExecuteParams'](_0x469688,_0x13bdae);else{const _0x4c3514=await GrpcClient['getInstance']()[_0x18f154(0x24e)](process[_0x18f154(0x2ec)][_0x18f154(0x284)],_0x2e2971[_0x18f154(0x21f)],_0x2e2971['VrQqr']);_0x7554e5=AccessibilityModule['loadDriverExecuteParams'](_0x469688,_0x4c3514);}logger[_0x18f154(0x1bb)](_0x18f154(0x2f7)+JSON[_0x18f154(0x225)](_0x7554e5));const _0x3eacf0=Object[_0x18f154(0x12f)]({},{'thTestRunUuid':_0x2e2971['qucPV'](_0x469688,''),'thBuildUuid':_0x2e2971[_0x18f154(0x23b)](_0x30e249,''),'thJwtToken':_0x2e2971[_0x18f154(0x198)](_0x17b066,'')},_0x7554e5);!this[_0x18f154(0x304)]&&this['isMobileWebSession']()&&(_0x3eacf0[_0x18f154(0x270)]=!![],logger[_0x18f154(0x1bb)](_0x2e2971[_0x18f154(0x121)]));logger['debug'](_0x18f154(0x202)+_0x469688+',\x20isAppAccessibility='+this['isAppAccessibility']);let _0x4d79cb=global[_0x18f154(0x23f)]?.[_0x18f154(0x189)]||null;!_0x4d79cb&&(_0x4d79cb=AutomationFramework['getState'](_0x3406e1,_0x2e2971[_0x18f154(0x1d6)],null)),!_0x4d79cb&&(_0x4d79cb=AutomationFramework['getState'](_0x3406e1,_0x2e2971[_0x18f154(0x1b2)],null)),await this['finishScanningForCli'](this[_0x18f154(0x1ae)](),_0x469688,_0x4d79cb,_0x3eacf0,this[_0x18f154(0x304)]);}catch(_0x4d9a84){logger['error']('Error\x20in\x20stopTestCapture:\x20'+(_0x4d9a84[_0x18f154(0x2b2)]||_0x4d9a84[_0x18f154(0x16c)]));}}async['finishScanningForCli'](_0x5c48bf,_0x3740ce,_0xd0abe4,_0x56b45d,_0x1e3ba3){const _0x262603=a90_0xf28d3b,_0x3c0776={};_0x3c0776[_0x262603(0x20a)]='saveResults',_0x3c0776[_0x262603(0x1f2)]=function(_0x54141f,_0x415112){return _0x54141f&&_0x415112;},_0x3c0776[_0x262603(0x2ca)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x3c0776['HIWiQ']=function(_0x29e27b,_0x5558d7){return _0x29e27b===_0x5558d7;},_0x3c0776[_0x262603(0x1a8)]=_0x262603(0x15f),_0x3c0776['kjTqJ']=function(_0x1a51e2,_0x5c6f8f){return _0x1a51e2===_0x5c6f8f;},_0x3c0776[_0x262603(0x233)]=_0x262603(0x220),_0x3c0776[_0x262603(0x185)]=_0x262603(0x147),_0x3c0776[_0x262603(0x168)]='afterTestHook',_0x3c0776[_0x262603(0x1e2)]='scan',_0x3c0776[_0x262603(0x153)]=_0x262603(0x188),_0x3c0776['OBnfO']=_0x262603(0x29a),_0x3c0776['FZOBr']=_0x262603(0x302);const _0x4150dd=_0x3c0776;try{const _0x946965=this[_0x262603(0x1bf)](_0x4150dd[_0x262603(0x20a)]);if(_0x4150dd[_0x262603(0x1f2)](!_0x1e3ba3,!_0x946965)){logger[_0x262603(0x1bb)](_0x4150dd[_0x262603(0x2ca)]);return;}if(!_0x3740ce||_0x4150dd[_0x262603(0x124)](_0x3740ce,_0x4150dd['oHQeR'])||_0x4150dd[_0x262603(0x249)](_0x3740ce,'')){logger[_0x262603(0x1bb)](_0x4150dd[_0x262603(0x233)]);return;}logger[_0x262603(0x1bb)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON[_0x262603(0x225)](_0x56b45d)),_0x5c48bf&&(logger[_0x262603(0x1bb)](_0x4150dd[_0x262603(0x185)]),await this[_0x262603(0x15c)](_0xd0abe4,_0x3740ce,_0x4150dd[_0x262603(0x168)],_0x56b45d,_0x1e3ba3,_0x4150dd[_0x262603(0x1e2)]),_0x4150dd['xYIJD'](!_0x1e3ba3,_0x946965)&&(logger['debug'](_0x4150dd[_0x262603(0x153)]),await PerformanceTester[_0x262603(0x17d)](_0x4150dd[_0x262603(0x25c)],async()=>{const _0xe0cc59=_0x262603;await this['performScanForCli'](_0xd0abe4,_0x3740ce,_0x4150dd[_0xe0cc59(0x20a)],_0x56b45d,_0x1e3ba3,_0x4150dd[_0xe0cc59(0x20a)]);})()),logger['info'](_0x4150dd[_0x262603(0x21b)]));}catch(_0x46d83b){logger[_0x262603(0x21a)](_0x262603(0x2e8)+(_0x46d83b[_0x262603(0x2b2)]||_0x46d83b[_0x262603(0x16c)]));}}async['onBeforeExecute'](_0x18251f){const _0x2c3a98=a90_0xf28d3b,_0x24524b={};_0x24524b[_0x2c3a98(0x1f4)]=function(_0x202ce4,_0x3d6199){return _0x202ce4!==_0x3d6199;},_0x24524b[_0x2c3a98(0x16d)]='cucumber',_0x24524b[_0x2c3a98(0x206)]=function(_0x58eae9,_0x2c4315){return _0x58eae9!==_0x2c4315;},_0x24524b[_0x2c3a98(0x1ee)]=_0x2c3a98(0x296),_0x24524b['GaQjH']='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x24524b[_0x2c3a98(0x251)]='unknown',_0x24524b[_0x2c3a98(0x215)]=_0x2c3a98(0x19f),_0x24524b[_0x2c3a98(0x2ad)]=function(_0x43347a,_0x318c66){return _0x43347a===_0x318c66;},_0x24524b['wFiQH']=_0x2c3a98(0x2cc),_0x24524b[_0x2c3a98(0x1dc)]='accessibility',_0x24524b[_0x2c3a98(0x260)]=_0x2c3a98(0x180),_0x24524b['rDwjB']='test_run_id',_0x24524b[_0x2c3a98(0x1c1)]=_0x2c3a98(0x14b),_0x24524b['luADj']=function(_0x51513b,_0x246ea8){return _0x51513b===_0x246ea8;},_0x24524b[_0x2c3a98(0x27e)]=_0x2c3a98(0x144),_0x24524b[_0x2c3a98(0x261)]=_0x2c3a98(0x15f);const _0x3e6850=_0x24524b;if(_0x3e6850[_0x2c3a98(0x1f4)](_0x18251f[_0x2c3a98(0x1e4)],_0x3e6850[_0x2c3a98(0x16d)])&&_0x3e6850[_0x2c3a98(0x206)](_0x18251f['testFramework'],_0x3e6850[_0x2c3a98(0x1ee)])){logger[_0x2c3a98(0x1bb)](_0x3e6850[_0x2c3a98(0x1e0)]);return;}logger['debug']('onBeforeExecute:\x20command='+(_0x18251f[_0x2c3a98(0x138)]||_0x3e6850['wOcbS'])+_0x2c3a98(0x16a)+_0x18251f[_0x2c3a98(0x1e4)]);try{const _0x1c66f7=_0x18251f[_0x2c3a98(0x2d1)]||AutomationFramework[_0x2c3a98(0x21c)](),_0x4d7194=TestFramework[_0x2c3a98(0x21c)](),_0x43c489=_0x18251f[_0x2c3a98(0x138)]||_0x18251f[_0x2c3a98(0x152)]?.['getName']();if(!_0x43c489){logger['debug'](_0x3e6850[_0x2c3a98(0x215)]);return;}if(!this['getCurrentAccessibilityStatus']()){logger['debug']('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x43c489);return;}if(!this[_0x2c3a98(0x2c0)](_0x43c489)){logger[_0x2c3a98(0x1bb)](_0x2c3a98(0x1f1)+_0x43c489+_0x2c3a98(0x17f));return;}const _0x46fb0a=_0x18251f['page']||global[_0x2c3a98(0x23f)]?.[_0x2c3a98(0x189)];if(!_0x46fb0a){logger[_0x2c3a98(0x1bb)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x43c489);return;}let _0x4b3d71='',_0x634f99=null;if(_0x3e6850[_0x2c3a98(0x2ad)](_0x18251f['testFramework'],_0x3e6850[_0x2c3a98(0x1ee)])){_0x634f99=_0x18251f[_0x2c3a98(0x27f)]?.[_0x2c3a98(0x2dd)]||_0x18251f[_0x2c3a98(0x27f)]?.['id']||global[_0x2c3a98(0x1ab)];if(!_0x634f99){logger[_0x2c3a98(0x1e3)](_0x3e6850[_0x2c3a98(0x274)]);return;}try{const _0x388860=await GrpcClient[_0x2c3a98(0x197)]()[_0x2c3a98(0x24e)](process[_0x2c3a98(0x2ec)][_0x2c3a98(0x284)],_0x3e6850['xIkdE'],_0x3e6850[_0x2c3a98(0x260)],_0x634f99),_0x2fb3b4=AccessibilityModule[_0x2c3a98(0x133)](null,_0x388860);_0x4b3d71=_0x2fb3b4?.[_0x2c3a98(0x201)]||'',logger[_0x2c3a98(0x1bb)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x4b3d71+_0x2c3a98(0x137)+_0x634f99);}catch(_0x594286){logger[_0x2c3a98(0x21a)](_0x2c3a98(0x2de)+_0x594286[_0x2c3a98(0x16c)]);return;}}else _0x4b3d71=this[_0x2c3a98(0x1d4)](_0x3e6850['rDwjB'])||'',!_0x4b3d71&&this['isMobileWebSession']()&&(_0x4b3d71=accessibilityHelper[_0x2c3a98(0x2f0)]());const _0x27efe0=this[_0x2c3a98(0x1d4)](_0x3e6850['QDfSt'])||this[_0x2c3a98(0x22f)][this[_0x2c3a98(0x1af)]]||null,_0x13780d=process[_0x2c3a98(0x2ec)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x222d5a=this[_0x2c3a98(0x187)](_0x43c489,_0x4b3d71,_0x27efe0,_0x13780d),_0x472efe=_0x3e6850[_0x2c3a98(0x122)](_0x18251f[_0x2c3a98(0x1e4)],_0x3e6850[_0x2c3a98(0x1ee)])?await AccessibilityModule[_0x2c3a98(0x2d0)](_0x3e6850[_0x2c3a98(0x27e)],_0x4b3d71,_0x634f99):await AccessibilityModule[_0x2c3a98(0x2d0)](_0x3e6850[_0x2c3a98(0x27e)],_0x4b3d71);logger['info'](_0x2c3a98(0x27b)+(_0x222d5a?JSON['stringify'](_0x222d5a):_0x3e6850[_0x2c3a98(0x261)]));const _0x59c09d=CLIUtils['mergeObject'](_0x222d5a,_0x472efe);logger[_0x2c3a98(0x253)](_0x2c3a98(0x2f9)+(_0x59c09d?JSON[_0x2c3a98(0x225)](_0x59c09d):_0x3e6850[_0x2c3a98(0x261)])),logger['debug'](_0x2c3a98(0x254)+_0x43c489);const _0x3817fe=await this[_0x2c3a98(0x15c)](_0x46fb0a,_0x4b3d71,_0x43c489,_0x59c09d,this['isAppAccessibility']);logger['debug'](_0x2c3a98(0x2e6)+_0x43c489+',\x20\x0a\x20'+JSON[_0x2c3a98(0x225)](_0x3817fe));}catch(_0xb586e3){logger[_0x2c3a98(0x21a)](_0x2c3a98(0x290)+(_0xb586e3[_0x2c3a98(0x2b2)]||_0xb586e3['message']));}}[a90_0xf28d3b(0x21e)](){return this['getCurrentAccessibilityStatus']();}[a90_0xf28d3b(0x14f)](_0x213b3a){const _0x3f9320=a90_0xf28d3b,_0x3e1c6d=CLIUtils[_0x3f9320(0x26b)]();this[_0x3f9320(0x135)][_0x3f9320(0x176)](_0x3e1c6d,_0x213b3a);}async[a90_0xf28d3b(0x239)](_0x42fe33){const _0x18275c=a90_0xf28d3b,_0x56987c={};_0x56987c[_0x18275c(0x273)]=_0x18275c(0x2a3);const _0x477d4e=_0x56987c;try{const _0x5f2acb=_0x42fe33[_0x18275c(0x2d1)]||AutomationFramework[_0x18275c(0x21c)](),_0x414aac=_0x5f2acb?.[_0x18275c(0x1fe)]?.()?.[_0x18275c(0x25b)]?.(this[_0x18275c(0x177)])||![];if(_0x414aac)return;PerformanceTester[_0x18275c(0x21d)](EVENTS[_0x18275c(0x18d)]);const _0x33922a=await GrpcClient[_0x18275c(0x197)]()[_0x18275c(0x1a3)](_0x42fe33);_0x33922a&&_0x33922a[_0x18275c(0x19b)]&&_0x33922a[_0x18275c(0x19b)]()&&_0x33922a[_0x18275c(0x19b)]()[_0x18275c(0x2cf)]()?(await this[_0x18275c(0x2ac)](_0x33922a,_0x42fe33),_0x5f2acb?.[_0x18275c(0x1fe)]&&_0x5f2acb[_0x18275c(0x1fe)]()[_0x18275c(0x176)](this[_0x18275c(0x177)],!![]),logger['debug']('[platform\x20-\x20'+(_0x5f2acb?.['getPlatformIndex']?.()||_0x477d4e[_0x18275c(0x273)])+']\x20Accessibility\x20configuration\x20initialized\x20successfully')):logger[_0x18275c(0x1bb)]('[platform\x20-\x20'+(_0x5f2acb?.[_0x18275c(0x2d5)]?.()||_0x477d4e[_0x18275c(0x273)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x435e9f){PerformanceTester[_0x18275c(0x283)](EVENTS[_0x18275c(0x18d)],![],_0x435e9f['message']),logger[_0x18275c(0x21a)](_0x18275c(0x2b7)+(_0x435e9f['stack']||_0x435e9f[_0x18275c(0x16c)]));}}async[a90_0xf28d3b(0x2ac)](_0x51d80b,_0x1785e0){const _0x551b9f=a90_0xf28d3b;await this[_0x551b9f(0x303)](_0x51d80b,_0x1785e0);const _0x783f8e=_0x51d80b['getAccessibility']()[_0x551b9f(0x238)]();if(_0x783f8e){const _0x334283=_0x51d80b[_0x551b9f(0x2fc)]&&_0x51d80b['getTesthub']();_0x334283&&(this[_0x551b9f(0x22f)][this[_0x551b9f(0x1af)]]=_0x334283[_0x551b9f(0x2ce)]&&_0x334283[_0x551b9f(0x2ce)]());}}[a90_0xf28d3b(0x2c0)](_0x5ef21f){const _0x5c229a=a90_0xf28d3b,_0x47e020={};_0x47e020['Pguha']=function(_0x590492,_0x302fab){return _0x590492===_0x302fab;};const _0x324fa3=_0x47e020;try{if(!_0x5ef21f)return![];const _0x35d402=this[_0x5c229a(0x22f)]?.['options']?.[_0x5c229a(0x165)]?.[_0x5c229a(0x2f3)]||[],_0x1026dd=_0x35d402[_0x5c229a(0x250)](_0x13782a=>{const _0x1100e1=_0x5c229a;return _0x13782a[_0x1100e1(0x1d5)]&&_0x324fa3[_0x1100e1(0x1c2)](_0x13782a[_0x1100e1(0x1d5)][_0x1100e1(0x243)](),_0x5ef21f[_0x1100e1(0x243)]());});return logger[_0x5c229a(0x1bb)](_0x5c229a(0x2a7)+_0x5ef21f+'\x20->\x20'+_0x1026dd+',\x20available\x20commands:\x20'+JSON[_0x5c229a(0x225)](_0x35d402['map'](_0xe073cd=>_0xe073cd[_0x5c229a(0x1d5)]))),_0x1026dd;}catch(_0x20d86e){return logger[_0x5c229a(0x1bb)]('Error\x20in\x20shouldScanForCommand:\x20'+_0x20d86e['message']),![];}}[a90_0xf28d3b(0x143)](_0x52b6b2){const _0x4b22db=a90_0xf28d3b,_0x4497ca={};_0x4497ca[_0x4b22db(0x196)]=function(_0x2d385f,_0x701dc5){return _0x2d385f===_0x701dc5;},_0x4497ca['OjDNx']=_0x4b22db(0x24b),_0x4497ca[_0x4b22db(0x27a)]=_0x4b22db(0x23c);const _0x489d43=_0x4497ca,_0x21e0d7=_0x52b6b2[_0x4b22db(0x288)]&&_0x52b6b2[_0x4b22db(0x288)]();return _0x21e0d7&&_0x489d43[_0x4b22db(0x196)](typeof _0x21e0d7,_0x489d43[_0x4b22db(0x2e7)])&&_0x21e0d7[_0x4b22db(0x1d8)](_0x489d43['epxhH']);}['isAccessibilityScriptCommand'](_0x440fd8){const _0x17cf8e=a90_0xf28d3b,_0x7cd446={};_0x7cd446[_0x17cf8e(0x1da)]=function(_0x2290de,_0x3d7883){return _0x2290de!==_0x3d7883;},_0x7cd446['xjFPN']='string',_0x7cd446[_0x17cf8e(0x2c7)]='accessibility',_0x7cd446[_0x17cf8e(0x2a8)]=_0x17cf8e(0x180),_0x7cd446['VXnAf']=_0x17cf8e(0x2d3),_0x7cd446[_0x17cf8e(0x285)]=_0x17cf8e(0x2c1);const _0x25f877=_0x7cd446,_0x55de8a=_0x440fd8[_0x17cf8e(0x288)]&&_0x440fd8['getScript']();if(!_0x55de8a||_0x25f877['CQHyi'](typeof _0x55de8a,_0x25f877['xjFPN']))return![];return _0x55de8a[_0x17cf8e(0x1d8)](_0x25f877[_0x17cf8e(0x2c7)])||_0x55de8a[_0x17cf8e(0x1d8)](_0x25f877[_0x17cf8e(0x2a8)])||_0x55de8a['includes'](_0x25f877[_0x17cf8e(0x1ec)])||_0x55de8a[_0x17cf8e(0x1d8)](_0x25f877[_0x17cf8e(0x285)]);}[a90_0xf28d3b(0x1bc)](){const _0x4112b5=a90_0xf28d3b,_0x1c70fe={'cYNUu':function(_0x5f0890,_0x3eb540){return _0x5f0890===_0x3eb540;},'uafcJ':_0x4112b5(0x164),'NkVjf':function(_0x6347a9,_0x4317ff){return _0x6347a9(_0x4317ff);},'axNHL':_0x4112b5(0x275),'yTJQn':_0x4112b5(0x231),'TIpSZ':_0x4112b5(0x237),'cYgxA':'chrome'};try{const _0x12649e=this[_0x4112b5(0x22f)]?.['options']?.[_0x4112b5(0x131)]||[],_0xb1f0bc=_0x482669=>{const _0x39976a=_0x4112b5,_0x5b0187=_0x12649e[_0x39976a(0x25d)](_0x3fa0aa=>(typeof _0x3fa0aa[_0x39976a(0x286)]==='function'?_0x3fa0aa[_0x39976a(0x286)]():_0x3fa0aa[_0x39976a(0x1d5)])===_0x482669);return _0x5b0187?_0x1c70fe['cYNUu'](typeof _0x5b0187['getValue'],_0x1c70fe[_0x39976a(0x158)])?_0x5b0187[_0x39976a(0x259)]():_0x5b0187[_0x39976a(0x192)]:null;},_0x46668b=_0x1c70fe[_0x4112b5(0x1e5)](_0xb1f0bc,_0x1c70fe[_0x4112b5(0x2d9)]),_0x3c2a0d=_0x1c70fe[_0x4112b5(0x1e5)](_0xb1f0bc,_0x1c70fe[_0x4112b5(0x2fb)]),_0x43326f=global[_0x4112b5(0x2a0)]||_0x46668b&&_0x1c70fe['cYNUu'](_0x1c70fe[_0x4112b5(0x1e5)](String,_0x46668b)['toLowerCase'](),_0x1c70fe['TIpSZ'])&&_0x3c2a0d&&_0x1c70fe[_0x4112b5(0x1e5)](String,_0x3c2a0d)[_0x4112b5(0x243)]()['includes'](_0x1c70fe['cYgxA']);if(!_0x43326f)return![];if(!accessibilityHelper['isMobileScanningEnabledForGroup']())return!this[_0x4112b5(0x1b5)]&&(logger[_0x4112b5(0x1e3)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),this[_0x4112b5(0x1b5)]=!![]),![];return!![];}catch(_0x2c1277){return logger['debug']('isMobileWebSession:\x20error\x20checking\x20driver\x20caps:\x20'+_0x2c1277['message']),![];}}['getParamsForScanForCli'](_0x131428,_0x2596f8,_0x2868ba,_0x3f0f05){const _0x358640=a90_0xf28d3b,_0x4ec5a1={};_0x4ec5a1[_0x358640(0x17e)]=function(_0x47a693,_0x6c6b97){return _0x47a693||_0x6c6b97;},_0x4ec5a1[_0x358640(0x2c9)]=function(_0x5e2b01,_0x398484){return _0x5e2b01&&_0x398484;},_0x4ec5a1[_0x358640(0x1f9)]=function(_0x29e1be,_0x22ff86){return _0x29e1be||_0x22ff86;},_0x4ec5a1[_0x358640(0x28b)]=_0x358640(0x217);const _0x46ec8c=_0x4ec5a1;let _0x3ea960=_0x46ec8c[_0x358640(0x17e)](_0x2596f8,'');const _0x4a79fc=!this[_0x358640(0x304)]&&this['isMobileWebSession']();_0x46ec8c[_0x358640(0x2c9)](_0x4a79fc,!_0x3ea960)&&(_0x3ea960=accessibilityHelper[_0x358640(0x2f0)]());const _0x40afa2={'command':_0x131428,'thTestRunUuid':_0x3ea960,'thBuildUuid':_0x46ec8c[_0x358640(0x17e)](_0x2868ba,''),'thJwtToken':_0x46ec8c[_0x358640(0x1f9)](_0x3f0f05,''),'timestamp':new Date()['toISOString']()};return _0x4a79fc&&(_0x40afa2[_0x358640(0x270)]=!![],logger[_0x358640(0x1bb)](_0x46ec8c[_0x358640(0x28b)])),_0x40afa2;}[a90_0xf28d3b(0x1bf)](_0x39f501){const _0x506df1=a90_0xf28d3b,_0x48c3de={};_0x48c3de[_0x506df1(0x1e6)]=function(_0x244c60,_0x1173e9){return _0x244c60||_0x1173e9;};const _0x41f0c2=_0x48c3de;try{const _0x8caad1=this[_0x506df1(0x22f)]?.[_0x506df1(0x127)]?.[_0x506df1(0x141)]||[],_0xa344a3=_0x8caad1[_0x506df1(0x25d)](_0x13c890=>_0x13c890['name']===_0x39f501);return _0x41f0c2[_0x506df1(0x1e6)](_0xa344a3,null);}catch(_0x3da9fa){return logger['debug'](_0x506df1(0x28e)+_0x39f501+':\x20'+_0x3da9fa[_0x506df1(0x16c)]),null;}}async[a90_0xf28d3b(0x20c)](_0x2e943e,_0x44c8b9,_0x3b478d=null){const _0x49d9a0=a90_0xf28d3b,_0x3d77a9={'nImbk':function(_0x2201e0,_0x412920){return _0x2201e0(_0x412920);},'wXoSE':'../../playwright/accessibility-helper'};try{if(!_0x2e943e)return logger[_0x49d9a0(0x1bb)](_0x49d9a0(0x1f7)+_0x44c8b9),null;const _0x2e95e5=this[_0x49d9a0(0x1bf)](_0x44c8b9);if(!_0x2e95e5||!_0x2e95e5[_0x49d9a0(0x152)])return logger['debug'](_0x49d9a0(0x1b8)+_0x44c8b9+_0x49d9a0(0x174)),null;logger[_0x49d9a0(0x1bb)](_0x49d9a0(0x271)+_0x44c8b9+'\x20accessibility\x20script\x20on\x20page');const _0x4774e9=_0x3d77a9[_0x49d9a0(0x129)](require,_0x3d77a9['wXoSE']),_0x2f1ccc=_0x3b478d?await _0x4774e9[_0x49d9a0(0x1eb)](_0x2e943e,_0x2e95e5[_0x49d9a0(0x152)],_0x3b478d):await _0x4774e9['browserStackEvaluate'](_0x2e943e,_0x2e95e5[_0x49d9a0(0x152)]);return _0x2f1ccc;}catch(_0x3d1861){return logger['error'](_0x49d9a0(0x139)+_0x44c8b9+':\x20'+(_0x3d1861[_0x49d9a0(0x2b2)]||_0x3d1861[_0x49d9a0(0x16c)])),null;}}async['performScanForCli'](_0x403b4f,_0x143ae8,_0x3b8a84,_0x1bc2a1,_0x2d59bf,_0x56331b=a90_0xf28d3b(0x144)){const _0x45e29a=a90_0xf28d3b,_0x1f9f97={'jYndo':function(_0x3d4191,_0x4d0e7d){return _0x3d4191===_0x4d0e7d;},'yIjud':'scan','ZADzd':function(_0x5e2fef,_0x306085){return _0x5e2fef(_0x306085);},'VIxVP':_0x45e29a(0x194)};try{logger[_0x45e29a(0x1bb)](_0x45e29a(0x28f)+_0x3b8a84+_0x45e29a(0x2a4)+_0x56331b);const _0x3f7476=this['getScriptByName'](_0x56331b);if(!_0x3f7476||!_0x3f7476[_0x45e29a(0x152)]){logger[_0x45e29a(0x1bb)]('performScanForCli:\x20No\x20'+_0x56331b+_0x45e29a(0x20e));return;}if(_0x1f9f97[_0x45e29a(0x2c2)](_0x56331b,_0x1f9f97['yIjud'])){const _0x54b021=_0x1f9f97[_0x45e29a(0x156)](require,_0x1f9f97['VIxVP']),_0x55266b={};_0x55266b['command']=_0x3b8a84;const _0x380155=await PerformanceTester[_0x45e29a(0x17d)](PerformanceA11yEvents[_0x45e29a(0x25f)],async()=>{const _0x1367ea=_0x45e29a;return await _0x54b021[_0x1367ea(0x1eb)](_0x403b4f,_0x3f7476[_0x1367ea(0x152)],_0x1bc2a1);},_0x55266b)();return logger[_0x45e29a(0x253)](_0x45e29a(0x146)+_0x56331b+_0x45e29a(0x2f6)+_0x3b8a84+':\x20'+util[_0x45e29a(0x2c6)](_0x380155)),_0x380155;}const _0x3cd12f=_0x1f9f97[_0x45e29a(0x156)](require,_0x1f9f97['VIxVP']),_0x58ddfa=await PerformanceTester[_0x45e29a(0x17d)](PerformanceA11yEvents[_0x45e29a(0x276)],async()=>{const _0x40d704=_0x45e29a;return await _0x3cd12f['browserStackEvaluate'](_0x403b4f,_0x3f7476[_0x40d704(0x152)],_0x1bc2a1);})();return logger['info'](_0x45e29a(0x146)+_0x56331b+'\x20result\x20for\x20'+_0x3b8a84+':\x20'+util[_0x45e29a(0x2c6)](_0x58ddfa)),_0x58ddfa;}catch(_0x5a1433){logger[_0x45e29a(0x21a)](_0x45e29a(0x222)+_0x56331b+':\x20'+(_0x5a1433[_0x45e29a(0x2b2)]||_0x5a1433['message']));}}async['validatePlatformForAccessibility'](_0x2f2969){const _0x559806=a90_0xf28d3b,_0x33f005={'vAEhN':function(_0x2aa3a0,_0x4c6180){return _0x2aa3a0(_0x4c6180);},'ikmzx':_0x559806(0x23e)};try{const _0x58741b=_0x33f005[_0x559806(0x2e9)](require,_0x33f005[_0x559806(0x1b4)]);return await _0x58741b[_0x559806(0x2b0)](_0x2f2969);}catch(_0x5874be){return logger[_0x559806(0x21a)]('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x5874be['stack']||_0x5874be['message'])),![];}}[a90_0xf28d3b(0x295)](_0xaffc54,_0x522186,_0xb58962){const _0x4d17b0=a90_0xf28d3b,_0x4c3c6a={'MIamJ':function(_0x586f12,_0xe0c453){return _0x586f12(_0xe0c453);},'cLPcu':'../../playwright/accessibility-helper','EGleB':_0x4d17b0(0x208),'EUtPD':_0x4d17b0(0x136)};try{const _0x121992=_0x4c3c6a[_0x4d17b0(0x2af)](require,_0x4c3c6a['cLPcu']);_0x121992[_0x4d17b0(0x295)](_0xaffc54,_0x522186,_0xb58962);const _0x5cc22e=JSON['stringify'](_0xaffc54)[_0x4d17b0(0x13f)](/"browserstack\.user":"[^"]*"/g,_0x4c3c6a[_0x4d17b0(0x24f)])['replace'](/"browserstack\.key":"[^"]*"/g,_0x4c3c6a['EUtPD']);logger[_0x4d17b0(0x1bb)](_0x4d17b0(0x2b1)+global[_0x4d17b0(0x29c)]+'\x20'+_0x5cc22e);}catch(_0x4e9e85){logger[_0x4d17b0(0x21a)](_0x4d17b0(0x20b)+(_0x4e9e85['stack']||_0x4e9e85[_0x4d17b0(0x16c)]));}}async[a90_0xf28d3b(0x2f5)](_0x4374b8){const _0x5be157=a90_0xf28d3b,_0x11db63={};_0x11db63['rdqLZ']=_0x5be157(0x213),_0x11db63[_0x5be157(0x205)]=function(_0xa71176,_0x27a364){return _0xa71176>_0x27a364;},_0x11db63['KRdZJ']='getResults';const _0x61cf94=_0x11db63;try{if(!this[_0x5be157(0x1ae)]())return logger[_0x5be157(0x1e3)](_0x61cf94['rdqLZ']),[];const _0xb98bc5=this[_0x5be157(0x1bc)]()?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0x61cf94['jlZTo'](Object[_0x5be157(0x280)](_0xb98bc5)[_0x5be157(0x2f4)],0x0)&&logger[_0x5be157(0x1bb)]('getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20'+JSON['stringify'](_0xb98bc5));const _0x4ff262=_0x61cf94[_0x5be157(0x205)](Object[_0x5be157(0x280)](_0xb98bc5)[_0x5be157(0x2f4)],0x0)?await this[_0x5be157(0x20c)](_0x4374b8,_0x61cf94[_0x5be157(0x151)],_0xb98bc5):await this[_0x5be157(0x20c)](_0x4374b8,_0x61cf94[_0x5be157(0x151)]);return _0x4ff262||[];}catch(_0x398f3a){return logger['error'](_0x5be157(0x263)+(_0x398f3a[_0x5be157(0x2b2)]||_0x398f3a[_0x5be157(0x16c)])),[];}}async[a90_0xf28d3b(0x1ff)](_0x2b9883){const _0x11f82c=a90_0xf28d3b,_0x401db={'eCIDO':'scan','dmkMo':_0x11f82c(0x2a2),'lSpGk':_0x11f82c(0x241),'hCwjw':function(_0x545252,_0x56c79b){return _0x545252(_0x56c79b);},'FWrsK':_0x11f82c(0x1f8),'HyCHr':function(_0x16868f,_0x265824){return _0x16868f===_0x265824;},'TUlSt':_0x11f82c(0x296),'HLqdf':'getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','ntYEW':_0x11f82c(0x135),'JVbhU':_0x11f82c(0x14b),'hqRKQ':_0x11f82c(0x1ff),'etRSS':'test_run_id','UWOGK':'Performing\x20scan\x20before\x20getting\x20results\x20summary','YBoPQ':_0x11f82c(0x126)};try{if(!this[_0x11f82c(0x1ae)]())return logger[_0x11f82c(0x1e3)](_0x401db[_0x11f82c(0x22c)]),{};const _0x4fdb82=_0x401db['hCwjw'](require,_0x401db[_0x11f82c(0x1c5)]),_0x4716e6=_0x4fdb82[_0x11f82c(0x154)](),_0x335a21=_0x401db[_0x11f82c(0x179)](_0x4716e6?.[_0x11f82c(0x1d5)]?.[_0x11f82c(0x243)](),_0x401db[_0x11f82c(0x227)]);let _0x87bf25='',_0x34602f=null,_0x17d901=null;if(_0x335a21){_0x34602f=global[_0x11f82c(0x1ab)]||global['__workerDetails']?.[_0x11f82c(0x17a)]?.[_0x11f82c(0x2dd)]||global[_0x11f82c(0x23f)]?.[_0x11f82c(0x17a)]?.['id'];if(!_0x34602f)return logger[_0x11f82c(0x1e3)](_0x401db[_0x11f82c(0x23d)]),{};try{const _0x1a0213=await GrpcClient[_0x11f82c(0x197)]()[_0x11f82c(0x24e)](process[_0x11f82c(0x2ec)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x401db[_0x11f82c(0x2b8)],_0x401db['dmkMo'],_0x34602f),_0x563430=AccessibilityModule[_0x11f82c(0x133)](null,_0x1a0213);_0x87bf25=_0x563430?.[_0x11f82c(0x201)]||'',logger[_0x11f82c(0x1bb)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x87bf25+'\x20from\x20testIdentifier='+_0x34602f);const _0x292ef3=await AccessibilityModule[_0x11f82c(0x2d0)](_0x401db[_0x11f82c(0x1e9)],_0x87bf25,_0x34602f),_0x1355e2=this[_0x11f82c(0x1d4)](_0x401db[_0x11f82c(0x2d6)])||this['accessibilityConfig'][this[_0x11f82c(0x1af)]]||null,_0x4bd4b8=process[_0x11f82c(0x2ec)][_0x11f82c(0x2a6)]||'',_0x287f74=this[_0x11f82c(0x187)](_0x401db['hqRKQ'],_0x87bf25,_0x1355e2,_0x4bd4b8);_0x17d901=_0x4fdb82[_0x11f82c(0x2e5)](_0x287f74,_0x292ef3),logger[_0x11f82c(0x1bb)](_0x11f82c(0x2b4)+JSON[_0x11f82c(0x225)](_0x17d901));}catch(_0xb9fd50){return logger[_0x11f82c(0x21a)](_0x11f82c(0x266)+_0xb9fd50[_0x11f82c(0x16c)]),{};}}else{_0x87bf25=this[_0x11f82c(0x1d4)](_0x401db[_0x11f82c(0x18e)])||'';!_0x87bf25&&this[_0x11f82c(0x1bc)]()&&(_0x87bf25=accessibilityHelper[_0x11f82c(0x2f0)]());const _0x300a50=this[_0x11f82c(0x1d4)](_0x401db[_0x11f82c(0x2d6)])||this[_0x11f82c(0x22f)][this[_0x11f82c(0x1af)]]||null,_0x39b915=process['env'][_0x11f82c(0x2a6)]||'';_0x17d901=this[_0x11f82c(0x187)](_0x401db[_0x11f82c(0x27d)],_0x87bf25,_0x300a50,_0x39b915);}logger[_0x11f82c(0x1bb)](_0x401db[_0x11f82c(0x256)]),await PerformanceTester[_0x11f82c(0x17d)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4a33fb=_0x11f82c,_0x3da187=await this['executeScriptByName'](_0x2b9883,_0x401db[_0x4a33fb(0x2f1)],_0x17d901);logger[_0x4a33fb(0x1bb)]('Scan\x20result:\x20'+util[_0x4a33fb(0x2c6)](_0x3da187));},{'command':_0x401db[_0x11f82c(0x27d)]})();const _0x4488dc=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x11f82c(0x2b6)],async()=>{const _0x3a4801=_0x11f82c;return await this[_0x3a4801(0x20c)](_0x2b9883,_0x401db['dmkMo'],_0x17d901);})();if(!_0x4488dc)return logger[_0x11f82c(0x1bb)](_0x401db[_0x11f82c(0x25e)]),{};return _0x4488dc;}catch(_0x441289){return logger[_0x11f82c(0x21a)](_0x11f82c(0x214)+(_0x441289['stack']||_0x441289[_0x11f82c(0x16c)])),{};}}async[a90_0xf28d3b(0x203)](_0x97fe94,_0x55d267,_0x37e1b3=null){const _0x3020f2=a90_0xf28d3b,_0x1037c4={};_0x1037c4[_0x3020f2(0x281)]=_0x3020f2(0x1e1),_0x1037c4[_0x3020f2(0x12d)]=_0x3020f2(0x2c5),_0x1037c4[_0x3020f2(0x1d2)]=_0x3020f2(0x190);const _0x426447=_0x1037c4;try{if(!_0x97fe94)return logger[_0x3020f2(0x1bb)](_0x426447[_0x3020f2(0x281)]),null;if(!_0x55d267)return logger['debug'](_0x426447[_0x3020f2(0x12d)]),null;logger['debug'](_0x426447[_0x3020f2(0x1d2)]);const _0x5d1a4a=_0x37e1b3?await _0x97fe94[_0x3020f2(0x298)](_0x55d267,_0x37e1b3):await _0x97fe94[_0x3020f2(0x298)](_0x55d267);return _0x5d1a4a;}catch(_0x4de3ad){return logger[_0x3020f2(0x21a)](_0x3020f2(0x14c)+(_0x4de3ad['stack']||_0x4de3ad['message'])),null;}}static['loadDriverExecuteParams'](_0x597033,_0x478e3f){const _0x256177=a90_0xf28d3b,_0x443496={};_0x443496[_0x256177(0x2e2)]=_0x256177(0x1d9);const _0x23095e=_0x443496,_0x231aa2={};_0x231aa2[_0x256177(0x201)]=_0x597033;const _0x2cec5b=_0x231aa2;let _0x1787b3={};if(_0x478e3f['getSuccess']()&&_0x478e3f[_0x256177(0x265)]())try{_0x1787b3=JSON[_0x256177(0x142)](new Buffer(_0x478e3f['getAccessibilityExecuteParams']())['toString'](_0x23095e[_0x256177(0x2e2)]));}catch(_0xfaa7f8){logger['error'](_0x256177(0x294)+_0xfaa7f8[_0x256177(0x16c)]),_0x1787b3={};}return CLIUtils['mergeObject'](_0x2cec5b,_0x1787b3);}static async[a90_0xf28d3b(0x2d0)](_0x39b303,_0x489a2a='',_0x21b135=null){const _0xf79e74=a90_0xf28d3b,_0x27b661={};_0x27b661[_0xf79e74(0x247)]=_0xf79e74(0x216),_0x27b661['bwhqd']='accessibility';const _0x3260fc=_0x27b661;try{if(!_0x21b135&&AccessibilityModule[_0xf79e74(0x24d)])return AccessibilityModule[_0xf79e74(0x200)];if(!process[_0xf79e74(0x2ec)][_0xf79e74(0x284)])return logger[_0xf79e74(0x21a)](_0x3260fc['kotNk']),{};const _0x271ee1=await GrpcClient['getInstance']()[_0xf79e74(0x24e)](process[_0xf79e74(0x2ec)][_0xf79e74(0x284)],_0x3260fc[_0xf79e74(0x18b)],_0x39b303,_0x21b135),_0x159f23=_0x21b135?AccessibilityModule['loadDriverExecuteParams'](null,_0x271ee1)?.[_0xf79e74(0x201)]||_0x489a2a:_0x489a2a,_0x321c35=AccessibilityModule[_0xf79e74(0x133)](_0x159f23,_0x271ee1);return!_0x21b135&&(AccessibilityModule[_0xf79e74(0x200)]=_0x321c35,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x321c35;}catch(_0x583320){return logger[_0xf79e74(0x21a)](_0xf79e74(0x1f3)+_0x39b303+':\x20'+(_0x583320[_0xf79e74(0x2b2)]||_0x583320[_0xf79e74(0x16c)])),{};}}}function a90_0x2899(){const _0x10e203=['xIkdE','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','XgNaj','uOHNl','GaQjH','performPageScan:\x20Page\x20is\x20null','DZCqV','warn','testFramework','NkVjf','noWpt','4125744XaXhZz','AUTOMATION_SESSIONS','dmkMo','CREATE','browserStackEvaluate','VXnAf','getGoogleChromeOptions','ApHKz','YtthX','headless','onBeforeExecute:\x20Command\x20','xYIJD','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','CMmvO','KEY_TEST_NAME','[platform\x20-\x20','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','../cliUtils','aLqOq','TrackedInstance','isMobileScanningEnabledForGroup','XISFk','BS_A11Y_JWT','getData','getAccessibilityResultsSummary','_centralAuthA11yConfig','thTestRunUuid','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','performPageScan','exports','jlZTo','MnbCe','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','\x22browserstack.user\x22:\x22[REDACTED]\x22','getBrowserDisplayName','rWUyp','Error\x20in\x20processAccessibilityCaps:\x20','executeScriptByName','../framework/testFramework','\x20script\x20available\x20in\x20scriptsList','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','MODULE_NAME','XEJME','setLogDisabledShown','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','Error\x20in\x20getAccessibilityResultsSummary:\x20','tmipR','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','getParamsForScanForCli:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','wruWY','\x20a11yToken=','error','FZOBr','getTrackedInstance','start','shouldScanCurrentTest','fqtjA','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','OyWIr','Error\x20in\x20performScanForCli\x20for\x20script\x20','Error\x20applying\x20sendMessageToServer\x20patch:\x20','getCapabilitiesList','stringify','gXQAP','TUlSt','browserstack.accessibilityOptions.scannerVersion','TlPHX','uwoql','OMKPS','lSpGk','page','getLogDisabledShown','accessibilityConfig','zkroW','browserName','chromeOptions','WIcFw','includeTagsInTestingScope','36wlVWkl','yEIkE','android','getOptions','initAccessibilityConfig','BROWSERSTACK_TEST_ACCESSIBILITY_YML','qnpfZ','browserstack_executor','HLqdf','../../../helpers/accessibility-automation/helper','__workerDetails','VrQqr','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','VxLyF','toLowerCase','JIGyw','VxDaR','bFOdc','kotNk','goog:chromeOptions','kjTqJ','excludeTagsInTestingScope','string','mRmPQ','_centralAuthConfigFetched','fetchDriverExecuteParamsEvent','EGleB','some','wOcbS','WOREf','info','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','\x20or\x20higher\x20','UWOGK','--headless=','fEIyp','getValue','skipCDPConnectOverride','get','OBnfO','find','YBoPQ','PERFORM_SCAN','BDtHB','LACmt','registerObserver','Error\x20in\x20getAccessibilityResults:\x20','map','hasAccessibilityExecuteParams','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','pZNsE','toJson','platformCaps','../framework/automationFramework','getCurrentInstanceName','1QHnuNu','QTdlZ','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','startsWith','is_mobile_session','Executing\x20','SwhhD','yBuqT','wFiQH','platformName','SAVE_RESULTS','_sendMessageServerPatchApplied','FlBYf','browserstack.accessibilityOptions.wcagVersion','epxhH','ScanArgs:\x20',',\x20testName=','hqRKQ','HSbIm','testInfo','keys','EVdPH','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','end','BROWSERSTACK_CLI_BIN_SESSION_ID','fQGAw','getName','pDJXK','getScript','\x20value=','vibzd','odtzT','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','JMFZU','Error\x20getting\x20script\x20by\x20name\x20','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','8|14|3|9|7|4|13|2|16|10|0|11|6|1|15|12|5','IREkk','../../../helpers/accessibility-automation/scripts','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','processAccessibilityCaps','jest','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','evaluate','1177itVslW','a11y:save-results','../framework/constants/testFrameworkConstants.js','accessibilityPlatform','zhzgi','Trbpq','Exception\x20in\x20isPlatformSupported:\x20','isMobilePlatform','UHthH','getResultsSummary','unknown','\x20using\x20script:\x20','QUIT','BROWSERSTACK_TESTHUB_JWT','shouldScanForCommand:\x20','egkfh','GxOyt','\x20env=','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','loadAccessibilityConfig','rnhjr','SOsaR','MIamJ','platformValidation','Processed\x20accessibility\x20caps\x20','stack',',\x20excludeTags=','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','CKfUu','GET_RESULTS_SUMMARY','Error\x20in\x20initAccessibilityConfig:\x20','ntYEW','../../../helpers/helper','getTestId','LOG_DISABLED_SHOWN','hlArG','isArray','wEtQG','dkrGZ','shouldScanForCommand','saveTestResults','jYndo',']\x20should\x20run\x20accessibility\x20value=','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','performPageScan:\x20Script\x20is\x20null','format','TcaRg','dVmWZ','lkSuD','lZhlX','leUCm','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','2184132BvmPJC','getBuildId','getSuccess','fetchCentralAuthA11yConfig','instance','NYATz','getResults','getScriptsList','getPlatformIndex','JVbhU','onAfterTest','vZPsP','axNHL','getCommandsList','onBeforeExecute','getCommandsToWrap','testAnalyticsId','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','cpqwM','Unknown\x20Test','scannerProcessingTimeout','Urlma','372aQgLiC','getModuleName','mergeObject','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','OjDNx','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','vAEhN','stopTestCapture','../../../helpers/performance/performance-tester.js','env','setAccessibilityToken','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','rLCvz','resolveMobileThTestRunUuid','eCIDO',']\x20isEnabledTestcase\x20(cucumber)\x20result=','commandsList','length','getAccessibilityResults','\x20result\x20for\x20','Accessibility\x20data\x20for\x20extension:\x20','zuUHE','MergedScanArgs:\x20','qucPV','yTJQn','getTesthub','3320275ZvvMda','34870cQGtIx','onBeforeTest','Context','isEnabledTestcase','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','setAccessibilityConfig','isAppAccessibility','NcknE','name:\x20','zxvBW','LuLFz','luADj','wUhXR','HIWiQ','IZGBS','No\x20summaryResults\x20found.','options','capabilities','nImbk','CYLSC','trim','1824176CPSKaM','WzWfi','delete','assign','../state/hookState','capabilitiesList','getMinVersionForBrowser','loadDriverExecuteParams','weLLN','accessibility','\x22browserstack.key\x22:\x22[REDACTED]\x22','\x20from\x20testIdentifier=','commandName','Error\x20executing\x20script\x20','../../utils/playwright-patcher','NON_BROWSERSTACK_AUTOMATION_SESSIONS','bxKYb',',\x20tags=','join','replace','browser','scriptsList','parse','isBrowserstackScriptCommand','scan','bIEoJ','Page\x20','Performing\x20scan\x20before\x20from\x20cli','AtmxP','isBrowserSupportedForAccessibility','vZUob','testhub_build_uuid','Error\x20in\x20performPageScan:\x20','fLhue','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','setShouldScanCurrentTest','mmIdl','KRdZJ','command','UwqYU','getTestFrameworkDetail','isVersionSupported','ZADzd','../grpcClient','uafcJ',']\x20clear\x20','Error\x20getting\x20capability\x20value\x20for\x20',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','performScanForCli','dSSAU','setShouldScan','null','present','FfyQd','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','applySendMessageToServerPatch','function','commandsToWrap','ejxjf','patchSendMessageToServer','HbsDB','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation',',\x20framework=','version','message','pFwDo','FsJdL','781266OBEmwd','--headless=new','isEnabled','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','GAKPD','\x20script\x20available','yDhml','set','KEY_INIT','EXECUTE','HyCHr','currentTest','ACCESSIBILITY_INITIALIZED','[AccessibilityModule]\x20onAfterTest:\x20framework=','measureWrapper','RcXCC','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','performScan','browser_version','true','isPlatformSupported:\x20caps\x20are\x20null','cucumber','CmxjM','xyKwe','getParamsForScanForCli','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','pwPage',',\x20includeTags=','bwhqd','NmoqS','SDK_ACCESSIBILITY_CONFIG','etRSS','test-tags-->\x20','Executing\x20accessibility\x20script\x20on\x20page','35cqQopq','value','__accessibilityOptions','../../playwright/accessibility-helper','../state/automationFrameworkState','vbywB','getInstance','ZbNPY','GoYrv','Fyodk','getAccessibility','../../../helpers/accessibility-automation/constants','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','accessibilityToken','onBeforeExecute:\x20No\x20command\x20name\x20provided','bYSWG','ViHWA','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','getAccessibilityConfig','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','NByqF','dbazi','gHIkQ','oHQeR','MeZCm','titlePath','__jestCurrentTestIdentifier','ekIBj','lYbLd','getCurrentAccessibilityStatus','KEY_TESTHUB_BUILD_ID','dDvxX','size','xALRL','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','ikmzx','_mobileScanningDisabledLogged','34134FSKctO','stopTestCapture:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','executeScriptByName:\x20No\x20','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','test_tags','debug','isMobileWebSession','poUpD',',\x20testIdentifier=','getScriptByName','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','QDfSt','Pguha','browserVersion','POST','FWrsK','mYMAO','isPlatformSupported','LWbrP','TEST_INIT','PRE','launchCaps','./baseModule','mLGcV','\x20testHubUuid=','updateData','FElfg','testFrameworkData','Bgrlm','parseFromProto','getCapabilityValue','name','zXPgj',']\x20onAfterTest\x20should\x20scan=','includes','ascii','CQHyi','fEFpD'];a90_0x2899=function(){return _0x10e203;};return a90_0x2899();}function a90_0x4901(_0xb9d4d6,_0x35c027){const _0x2899dd=a90_0x2899();return a90_0x4901=function(_0x4901b9,_0x4f914f){_0x4901b9=_0x4901b9-0x120;let _0x11e4f5=_0x2899dd[_0x4901b9];return _0x11e4f5;},a90_0x4901(_0xb9d4d6,_0x35c027);};module[a90_0xf28d3b(0x204)]=AccessibilityModule;
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 +1 @@
1
- const a91_0x4c3fee=a91_0x1c15;(function(_0x3ad481,_0x59a92e){const _0x293a26=a91_0x1c15,_0x510e43=_0x3ad481();while(!![]){try{const _0x228bd7=-parseInt(_0x293a26(0xf4))/0x1*(parseInt(_0x293a26(0xef))/0x2)+parseInt(_0x293a26(0xde))/0x3*(parseInt(_0x293a26(0xdf))/0x4)+-parseInt(_0x293a26(0xd1))/0x5+-parseInt(_0x293a26(0xd0))/0x6+parseInt(_0x293a26(0xf2))/0x7*(-parseInt(_0x293a26(0xe0))/0x8)+parseInt(_0x293a26(0xd5))/0x9+parseInt(_0x293a26(0xf7))/0xa*(parseInt(_0x293a26(0xd6))/0xb);if(_0x228bd7===_0x59a92e)break;else _0x510e43['push'](_0x510e43['shift']());}catch(_0x42eab1){_0x510e43['push'](_0x510e43['shift']());}}}(a91_0xfef9,0x8baf2));const logger=require(a91_0x4c3fee(0xda))['winstonLogger'],{FRAMEWORKS}=require(a91_0x4c3fee(0xe1));function a91_0x1c15(_0xa90b6e,_0x571bff){const _0xfef909=a91_0xfef9();return a91_0x1c15=function(_0x1c15cb,_0x275178){_0x1c15cb=_0x1c15cb-0xcf;let _0x2a73f1=_0xfef909[_0x1c15cb];return _0x2a73f1;},a91_0x1c15(_0xa90b6e,_0x571bff);}function a91_0xfef9(){const _0x139634=['testCaseStartedId','104zZOFie','nWkYL','Configured\x20module\x20','448RaBleH','testFramework','8231vJsbqt','name',',\x20platformIndex=','30xrncWa','split','client','jEWzx','1736082NVPcmO','5687330PNRewe','HQfNO','2|0|4|3|5|1','binSessionId','8934399lzUfNE','5473457DGpHea','CUCUMBER','setTestFrameworkData','\x20with\x20binSessionId=','../../../helpers/logger.js','getModuleName','getTestId','exports','1947825WxTshx','4iYiUbR','88472eggkKy','../../../helpers/test-observability/constants.js','debug','QhLDd','BaseModule','object','kWcwk','testFrameworkData','LDvCb','config','testInfo','xQMPP','Missing\x20binSessionId','PLAYWRIGHT'];a91_0xfef9=function(){return _0x139634;};return a91_0xfef9();}class BaseModule{constructor(_0x354bfc=null){const _0x4fdfd8=a91_0x4c3fee,_0x339417={};_0x339417[_0x4fdfd8(0xf0)]=_0x4fdfd8(0xd3),_0x339417[_0x4fdfd8(0xd2)]=_0x4fdfd8(0xe4);const _0x3fd58b=_0x339417,_0x443b6a=_0x3fd58b[_0x4fdfd8(0xf0)][_0x4fdfd8(0xf8)]('|');let _0x2fa2a8=0x0;while(!![]){switch(_0x443b6a[_0x2fa2a8++]){case'0':this[_0x4fdfd8(0xd4)]=null;continue;case'1':this[_0x4fdfd8(0xe7)]=this[_0x4fdfd8(0xd8)](_0x354bfc);continue;case'2':this[_0x4fdfd8(0xf5)]=_0x3fd58b[_0x4fdfd8(0xd2)];continue;case'3':this[_0x4fdfd8(0xe9)]={};continue;case'4':this['platformIndex']=0x0;continue;case'5':this[_0x4fdfd8(0xf9)]=null;continue;}break;}}['ensureBinSession'](){const _0x2a6ee8=a91_0x4c3fee,_0x23ec62={};_0x23ec62[_0x2a6ee8(0xcf)]=_0x2a6ee8(0xec);const _0x21a90c=_0x23ec62;if(!this['binSessionId'])throw new Error(_0x21a90c[_0x2a6ee8(0xcf)]);}[a91_0x4c3fee(0xdb)](){const _0x16491b=a91_0x4c3fee;return this[_0x16491b(0xf5)];}['configure'](_0x1cab7c,_0x57166a,_0x52cce7,_0x14e0e1={}){const _0x47769a=a91_0x4c3fee,_0x1cc88c={};_0x1cc88c['ljFXM']='1|4|2|0|3';const _0x32ff49=_0x1cc88c,_0x255df5=_0x32ff49['ljFXM'][_0x47769a(0xf8)]('|');let _0x2f9f67=0x0;while(!![]){switch(_0x255df5[_0x2f9f67++]){case'0':this[_0x47769a(0xe9)]=_0x14e0e1;continue;case'1':this['binSessionId']=_0x1cab7c;continue;case'2':this[_0x47769a(0xf9)]=_0x52cce7;continue;case'3':logger[_0x47769a(0xe2)](_0x47769a(0xf1)+this[_0x47769a(0xdb)]()+_0x47769a(0xd9)+_0x1cab7c+_0x47769a(0xf6)+_0x57166a);continue;case'4':this['platformIndex']=_0x57166a;continue;}break;}}[a91_0x4c3fee(0xdc)](_0x50effb){const _0x211b78=a91_0x4c3fee,_0x24203a={};_0x24203a[_0x211b78(0xe6)]=function(_0x2c449d,_0x40e0c5){return _0x2c449d===_0x40e0c5;},_0x24203a[_0x211b78(0xe3)]=function(_0x36dd5e,_0x4b6d2a){return _0x36dd5e===_0x4b6d2a;};const _0x2f10d1=_0x24203a;let _0x3cbb51='';if(_0x2f10d1[_0x211b78(0xe6)](_0x50effb[_0x211b78(0xf3)],FRAMEWORKS[_0x211b78(0xed)]))_0x3cbb51=_0x50effb[_0x211b78(0xea)]?.['_test']?.['id']||_0x50effb[_0x211b78(0xea)]?.['testId'];else{if(_0x2f10d1[_0x211b78(0xe3)](_0x50effb[_0x211b78(0xf3)],FRAMEWORKS[_0x211b78(0xd7)]))_0x3cbb51=_0x50effb[_0x211b78(0xea)]?.[_0x211b78(0xee)];else _0x2f10d1[_0x211b78(0xe6)](_0x50effb[_0x211b78(0xf3)],FRAMEWORKS['JEST'])&&(_0x3cbb51=_0x50effb['testInfo']?.['id']);}return _0x3cbb51;}[a91_0x4c3fee(0xd8)](_0x1878b){const _0x5e4fce=a91_0x4c3fee,_0xbde69f={};_0xbde69f[_0x5e4fce(0xe8)]=function(_0x259105,_0x44ce4e){return _0x259105!==_0x44ce4e;},_0xbde69f['xQMPP']=_0x5e4fce(0xe5);const _0x1d5098=_0xbde69f;if(!_0x1878b||_0x1d5098[_0x5e4fce(0xe8)](typeof _0x1878b,_0x1d5098[_0x5e4fce(0xeb)]))return null;const _0x160b67={};_0x160b67[_0x5e4fce(0xf5)]=_0x1878b[_0x5e4fce(0xf5)],_0x160b67['version']=_0x1878b['version']&&_0x1878b['version'][_0x1878b['name']];const _0x1c6956=_0x160b67;return _0x1c6956;}}module[a91_0x4c3fee(0xdd)]=BaseModule;
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 +1 @@
1
- function a92_0x51b8(){const _0x1eb13f=['string','VXvdp','../../../helpers/helper.js','GHMym','Cmzwo','overrideLoadTesting','LTS','env','isLTSSession','false','message','1083775qzXqgK','getLTSSessionId','exports','browserstackAutomation','aaaIQ','yZPFH','lkkJh','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','BWtfr','wrPdJ','BROWSERSTACK_LTS_SESSION_ID','SdUaH','toLowerCase','mLnBz','dfKTZ','1116GCElHf','HGDIx','debug','jVRKU','FMNmp','505596ljkmOR','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','362Alkmbb','VlAwE','UDvmL','6XpIaoo','toString','TSYoo','10HbDlOi','26IgJRTI','2129AnrnQs','1495585bIQbsT','219DEvtoM','true','920815bUZVPd','UvPfS','21604KCdbUx','3512wEAkEG','setLTSSessionId'];a92_0x51b8=function(){return _0x1eb13f;};return a92_0x51b8();}function a92_0x31b1(_0x1ed16e,_0x5121b1){const _0x51b8cc=a92_0x51b8();return a92_0x31b1=function(_0x31b1af,_0x26e7a6){_0x31b1af=_0x31b1af-0x142;let _0x14b0d5=_0x51b8cc[_0x31b1af];return _0x14b0d5;},a92_0x31b1(_0x1ed16e,_0x5121b1);}const a92_0x26f2cc=a92_0x31b1;(function(_0x4a3872,_0x2144a4){const _0x3be268=a92_0x31b1,_0x3a097c=_0x4a3872();while(!![]){try{const _0x4845d9=parseInt(_0x3be268(0x171))/0x1*(parseInt(_0x3be268(0x169))/0x2)+-parseInt(_0x3be268(0x173))/0x3*(-parseInt(_0x3be268(0x144))/0x4)+parseInt(_0x3be268(0x172))/0x5*(-parseInt(_0x3be268(0x16c))/0x6)+-parseInt(_0x3be268(0x142))/0x7+-parseInt(_0x3be268(0x145))/0x8*(-parseInt(_0x3be268(0x161))/0x9)+parseInt(_0x3be268(0x16f))/0xa*(-parseInt(_0x3be268(0x152))/0xb)+parseInt(_0x3be268(0x166))/0xc*(-parseInt(_0x3be268(0x170))/0xd);if(_0x4845d9===_0x2144a4)break;else _0x3a097c['push'](_0x3a097c['shift']());}catch(_0x3b5a8c){_0x3a097c['push'](_0x3a097c['shift']());}}}(a92_0x51b8,0x35dbd));const {createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger('LoadTestModule'),{sendSdkEvents}=require(a92_0x26f2cc(0x149)),isLTSSession=(_0x3b65ed=null)=>{const _0x580f37=a92_0x26f2cc,_0x116030={};_0x116030[_0x580f37(0x156)]=function(_0x51bb31,_0x4c93b6){return _0x51bb31!==_0x4c93b6;},_0x116030['cwkxf']='undefined',_0x116030[_0x580f37(0x158)]=function(_0x1c4f52,_0x518cbf){return _0x1c4f52===_0x518cbf;},_0x116030[_0x580f37(0x157)]=_0x580f37(0x147),_0x116030['FMNmp']=function(_0x54281e,_0x4df264){return _0x54281e===_0x4df264;},_0x116030[_0x580f37(0x15f)]=_0x580f37(0x174),_0x116030[_0x580f37(0x15b)]=function(_0x1b8a88,_0x4a91b8){return _0x1b8a88===_0x4a91b8;},_0x116030[_0x580f37(0x148)]=function(_0x3ad392,_0x868d57){return _0x3ad392===_0x868d57;},_0x116030[_0x580f37(0x15d)]=function(_0x44a09b,_0x437420){return _0x44a09b===_0x437420;},_0x116030[_0x580f37(0x14a)]=_0x580f37(0x150);const _0x56306d=_0x116030;try{if(_0x56306d['aaaIQ'](typeof process[_0x580f37(0x14e)][_0x580f37(0x14c)],_0x56306d['cwkxf'])){const _0x35acb1=process[_0x580f37(0x14e)]['overrideLoadTesting'];return _0x56306d['lkkJh'](typeof _0x35acb1,_0x56306d['yZPFH'])?_0x56306d[_0x580f37(0x165)](_0x35acb1[_0x580f37(0x15e)](),_0x56306d[_0x580f37(0x15f)]):!!_0x35acb1;}const _0x1a1e29=_0x3b65ed&&_0x3b65ed[_0x580f37(0x14c)],_0x487128=!!(_0x3b65ed&&(_0x56306d[_0x580f37(0x15b)](_0x3b65ed['browserstackAutomation'],!![])||_0x56306d['VXvdp'](_0x3b65ed[_0x580f37(0x155)],_0x56306d['mLnBz']))),_0x38ed9b=!!(_0x1a1e29&&_0x56306d[_0x580f37(0x15d)](_0x1a1e29[_0x580f37(0x16d)]()[_0x580f37(0x15e)](),_0x56306d[_0x580f37(0x15f)])&&!_0x487128);return process[_0x580f37(0x14e)][_0x580f37(0x14c)]=_0x38ed9b?_0x56306d['mLnBz']:_0x56306d[_0x580f37(0x14a)],_0x38ed9b;}catch(_0x13b249){return process[_0x580f37(0x14e)][_0x580f37(0x14c)]=_0x56306d[_0x580f37(0x14a)],![];}},getLTSSessionId=()=>{const _0x243c0c=a92_0x26f2cc,_0x124848={'dfKTZ':function(_0x1a0ae6){return _0x1a0ae6();},'VlAwE':'LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','Cmzwo':_0x243c0c(0x168)};try{if(_0x124848[_0x243c0c(0x160)](isLTSSession))return logger[_0x243c0c(0x163)](_0x124848[_0x243c0c(0x16a)]),process[_0x243c0c(0x14e)][_0x243c0c(0x15c)]||'';}catch(_0xdefc4f){logger['error'](_0x243c0c(0x159)+(_0xdefc4f&&_0xdefc4f[_0x243c0c(0x151)]));}return logger[_0x243c0c(0x163)](_0x124848[_0x243c0c(0x14b)]),'';},setLTSSessionId=async(_0x27c3cf={})=>{const _0x361054=a92_0x26f2cc,_0x246dc5={'BWtfr':function(_0x3a4566){return _0x3a4566();},'TSYoo':_0x361054(0x167),'tyWdu':'BROWSERSTACK_LTS_SESSION_ID\x20cleared','HGDIx':_0x361054(0x14d),'UvPfS':function(_0x46cde,_0x2c30f4){return _0x46cde(_0x2c30f4);},'jVRKU':function(_0x586c59,_0x2df250,_0x88ef6d){return _0x586c59(_0x2df250,_0x88ef6d);},'UDvmL':function(_0x38b801,_0x3dafef){return _0x38b801||_0x3dafef;}};try{const _0x281064=_0x246dc5[_0x361054(0x15a)](getLTSSessionId);_0x281064?(process[_0x361054(0x14e)][_0x361054(0x15c)]=_0x281064,logger[_0x361054(0x163)](_0x246dc5[_0x361054(0x16e)])):(delete process[_0x361054(0x14e)][_0x361054(0x15c)],logger[_0x361054(0x163)](_0x246dc5['tyWdu']));try{const _0x2df503={'feature':_0x246dc5[_0x361054(0x162)],'ltsEnabled':_0x246dc5[_0x361054(0x143)](isLTSSession,_0x27c3cf),'ltsSessionIdPresent':!!_0x281064};await _0x246dc5[_0x361054(0x164)](sendSdkEvents,_0x2df503,_0x27c3cf);}catch(_0x2462f9){logger[_0x361054(0x163)]('Failed\x20to\x20record\x20LTS\x20telemetry:\x20'+(_0x2462f9&&_0x2462f9[_0x361054(0x151)]));}return _0x246dc5[_0x361054(0x16b)](_0x281064,'');}catch(_0x4a50f2){return logger[_0x361054(0x163)]('setLTSSessionId\x20error:\x20'+(_0x4a50f2&&_0x4a50f2[_0x361054(0x151)])),'';}},a92_0x16ca9c={};a92_0x16ca9c[a92_0x26f2cc(0x14f)]=isLTSSession,a92_0x16ca9c[a92_0x26f2cc(0x153)]=getLTSSessionId,a92_0x16ca9c[a92_0x26f2cc(0x146)]=setLTSSessionId,module[a92_0x26f2cc(0x154)]=a92_0x16ca9c;
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 +1 @@
1
- function a93_0x23e4(_0x3b9d4a,_0x558cd3){const _0x5291e6=a93_0x5291();return a93_0x23e4=function(_0x23e43b,_0x2cd38f){_0x23e43b=_0x23e43b-0x76;let _0x173e2f=_0x5291e6[_0x23e43b];return _0x173e2f;},a93_0x23e4(_0x3b9d4a,_0x558cd3);}function a93_0x5291(){const _0x493ab2=['observabilityConfig','end','getModuleName','RBRCm','page','onBeforeTest:\x20page\x20is\x20not\x20defined','1IfhZTD','PHZnh','registerObserver','../../../helpers/classLogger.js','265482JXAbkD','svkUr','../state/hookState.js','name','onBeforeTest','10lOGnVb','\x20sync\x20done','./baseModule','SYNC','3754192ZHYOOS','../../../helpers/helper.js','../state/automationFrameworkState.js','MODULE_NAME','2448670xusBeA','3rzDYVq','exports','CREATE','9OBaphV','2796380RHvTvf','653732KRnWVI','VCVZG','29233721xryGBS','POST','qgDPv','debug','2607912kqwWoS','Ouotk','ObservabilitySync:','logger','ObservabilityModule','../../../helpers/performance/constants.js','../../utils/constants.js'];a93_0x5291=function(){return _0x493ab2;};return a93_0x5291();}const a93_0x3231a6=a93_0x23e4;(function(_0x34deab,_0x527de5){const _0x5a7117=a93_0x23e4,_0x20db4a=_0x34deab();while(!![]){try{const _0x56ffa4=parseInt(_0x5a7117(0x8c))/0x1*(-parseInt(_0x5a7117(0x79))/0x2)+-parseInt(_0x5a7117(0x9e))/0x3*(parseInt(_0x5a7117(0x7f))/0x4)+-parseInt(_0x5a7117(0x78))/0x5+parseInt(_0x5a7117(0x90))/0x6+-parseInt(_0x5a7117(0x9d))/0x7+-parseInt(_0x5a7117(0x99))/0x8*(parseInt(_0x5a7117(0x77))/0x9)+parseInt(_0x5a7117(0x95))/0xa*(parseInt(_0x5a7117(0x7b))/0xb);if(_0x56ffa4===_0x527de5)break;else _0x20db4a['push'](_0x20db4a['shift']());}catch(_0x436a86){_0x20db4a['push'](_0x20db4a['shift']());}}}(a93_0x5291,0x5424e));const BaseModule=require(a93_0x3231a6(0x97)),{createClassLogger}=require(a93_0x3231a6(0x8f)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a93_0x3231a6(0x9b)),HookState=require(a93_0x3231a6(0x92)),{playwrightAnnotate}=require(a93_0x3231a6(0x9a)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require(a93_0x3231a6(0x84)),constants=require(a93_0x3231a6(0x85));class ObservabilityModule extends BaseModule{[a93_0x3231a6(0x82)]=createClassLogger('ObservabilityModule');constructor(_0x107ede){const _0xe0154f=a93_0x3231a6,_0xf7f370={};_0xf7f370[_0xe0154f(0x8d)]=_0xe0154f(0x83);const _0x307b2f=_0xf7f370;super(),this[_0xe0154f(0x93)]=_0x307b2f[_0xe0154f(0x8d)],this[_0xe0154f(0x86)]=_0x107ede,AutomationFramework[_0xe0154f(0x8e)](AutomationFrameworkState[_0xe0154f(0x76)],HookState[_0xe0154f(0x7c)],this[_0xe0154f(0x94)]['bind'](this));}[a93_0x3231a6(0x88)](){return ObservabilityModule['MODULE_NAME'];}async['onBeforeTest'](_0x277002){const _0x1b4feb=a93_0x3231a6,_0x3e2c85={'qgDPv':function(_0xf5eed2,_0x2acd42){return _0xf5eed2+_0x2acd42;},'Ouotk':_0x1b4feb(0x81),'VCVZG':function(_0x6a8b60,_0x476ead,_0x1adcbe,_0x55ca5b){return _0x6a8b60(_0x476ead,_0x1adcbe,_0x55ca5b);},'RBRCm':'debug','svkUr':_0x1b4feb(0x8b)};if(_0x277002[_0x1b4feb(0x8a)]){const _0x43f858=_0x277002['page'],_0x25ab89=Date['now'](),_0x371e60=_0x3e2c85[_0x1b4feb(0x7d)](_0x3e2c85[_0x1b4feb(0x80)],_0x25ab89);PerformanceTester['start'](O11y_EVENTS[_0x1b4feb(0x98)]),await _0x3e2c85[_0x1b4feb(0x7a)](playwrightAnnotate,_0x43f858,_0x371e60,_0x3e2c85[_0x1b4feb(0x89)]),PerformanceTester[_0x1b4feb(0x87)](O11y_EVENTS[_0x1b4feb(0x98)]),this['logger']['info']('onBeforeTest:\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x1b4feb(0x96));}else this[_0x1b4feb(0x82)][_0x1b4feb(0x7e)](_0x3e2c85[_0x1b4feb(0x91)]);}}ObservabilityModule[a93_0x3231a6(0x9c)]=a93_0x3231a6(0x83),module[a93_0x3231a6(0x9f)]=ObservabilityModule;
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;