browserstack-node-sdk 1.34.0 → 1.34.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) 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/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +2 -2
  36. package/src/ai-sdk-node/bundle.js +1 -0
  37. package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
  38. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  39. package/src/bin/codeceptjs/command.js +1 -1
  40. package/src/bin/codeceptjs/helper.js +1 -1
  41. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  42. package/src/bin/cucumber-js/command.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  44. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  45. package/src/bin/cucumber-js/test-observability.js +1 -1
  46. package/src/bin/cucumber-js/test.setup.js +1 -1
  47. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  48. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  49. package/src/bin/integrations/command.js +1 -1
  50. package/src/bin/integrations/constants.js +1 -1
  51. package/src/bin/jest/command.js +1 -1
  52. package/src/bin/jest/customImplements/customCircus.js +1 -1
  53. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  54. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  55. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  56. package/src/bin/jest/jest.setup.js +1 -1
  57. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  58. package/src/bin/jest/test-observability/helper.js +1 -1
  59. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  60. package/src/bin/jest/test-observability/test-details.js +1 -1
  61. package/src/bin/jest/test_before.setup.js +1 -1
  62. package/src/bin/launcher/launcher.js +1 -1
  63. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  64. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  65. package/src/bin/mocha/command.js +1 -1
  66. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  67. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  68. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  69. package/src/bin/mocha/test.setup.js +1 -1
  70. package/src/bin/nightwatch/command.js +1 -1
  71. package/src/bin/playwright/accessibility-helper.js +1 -1
  72. package/src/bin/playwright/command.js +1 -1
  73. package/src/bin/playwright/globalSetup.js +1 -1
  74. package/src/bin/playwright/mock-process.js +1 -1
  75. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  76. package/src/bin/playwright/patches.js +1 -1
  77. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  78. package/src/bin/playwright/reporter/reporter.js +1 -1
  79. package/src/bin/playwright/reporter/test-details.js +1 -1
  80. package/src/bin/playwright/sessionDetails.js +1 -1
  81. package/src/bin/runner.js +1 -1
  82. package/src/bin/setup.js +1 -1
  83. package/src/bin/test-runner/index.js +1 -1
  84. package/src/bin/test-runner/runTest.js +1 -1
  85. package/src/bin/test-runner/testWorker.js +1 -1
  86. package/src/bin/utils/constants.js +1 -1
  87. package/src/bin/utils/log4jsAppender.js +1 -1
  88. package/src/bin/utils/logPatcher.js +1 -1
  89. package/src/bin/utils/logReportingAPI.js +1 -1
  90. package/src/bin/vanilla-js/command.js +1 -1
  91. package/src/browserStackSdk.js +1 -1
  92. package/src/helpers/BrowserStackSetup.js +1 -1
  93. package/src/helpers/accessibility-automation/constants.js +1 -1
  94. package/src/helpers/accessibility-automation/helper.js +1 -1
  95. package/src/helpers/accessibility-automation/scripts.js +1 -1
  96. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -0
  97. package/src/helpers/ai-sdk/autoHealHelper.js +1 -0
  98. package/src/helpers/ats/constants.js +1 -1
  99. package/src/helpers/ats/helper.js +1 -1
  100. package/src/helpers/capsMapping.js +1 -1
  101. package/src/helpers/globals.js +1 -1
  102. package/src/helpers/helper.js +1 -1
  103. package/src/helpers/logger.js +1 -1
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -0
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- var a48_0x5b5bf7=a48_0x511d;(function(_0x366670,_0x599128){var _0x28af26=a48_0x511d,_0x5738a1=_0x366670();while(!![]){try{var _0x30aa39=-parseInt(_0x28af26(0x216))/0x1+parseInt(_0x28af26(0x1f6))/0x2*(-parseInt(_0x28af26(0x1e9))/0x3)+-parseInt(_0x28af26(0x22e))/0x4+-parseInt(_0x28af26(0x201))/0x5+parseInt(_0x28af26(0x222))/0x6+parseInt(_0x28af26(0x1e6))/0x7*(parseInt(_0x28af26(0x219))/0x8)+parseInt(_0x28af26(0x1e0))/0x9*(parseInt(_0x28af26(0x1ea))/0xa);if(_0x30aa39===_0x599128)break;else _0x5738a1['push'](_0x5738a1['shift']());}catch(_0x452c7f){_0x5738a1['push'](_0x5738a1['shift']());}}}(a48_0x2c21,0x5036b));var a48_0x11351d={};a48_0x11351d[a48_0x5b5bf7(0x213)]=a48_0x5b5bf7(0x1ff),a48_0x11351d[a48_0x5b5bf7(0x221)]=a48_0x5b5bf7(0x20b);var a48_0x4659ae={};a48_0x4659ae[a48_0x5b5bf7(0x213)]=a48_0x5b5bf7(0x229);var a48_0x3d8dfd={};a48_0x3d8dfd[a48_0x5b5bf7(0x213)]='Run\x20mocha\x20tests\x20on\x20browserstack';var a48_0x3f1518={};a48_0x3f1518[a48_0x5b5bf7(0x213)]=a48_0x5b5bf7(0x1de);function a48_0x2c21(){var _0x36ea7c=['.ipa','exports','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','OBSERVABILITY_SUPPORTED_FWS','Specify\x20--help\x20for\x20available\x20options','ERR_NAME_RESOLUTION_FAILED','wss://cdp.browserstack.com/playwright?caps=','MOCHA','COMMONJS','edgeOptions','ERR_SOCKS_CONNECTION_FAILED','unhandledPromptBehavior','INFO','ROOT_CAPS','https://api.browserstack.com','592851GlbpvP','ERR_NAME_NOT_RESOLVED','.apk','249544ooPJHV','PLAYWRIGHT','CODECEPTJS','browserVersion','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','jest','codeceptjs','HUB_URL_REGEX','HELP','2660532PZowca','invalidTestInputType','APP_UPLOAD_URL','timeouts','hubUrl','automate','...[TRUNCATED]','Run\x20jest\x20tests\x20on\x20browserstack','ERR_SOCKET_NOT_CONNECTED','PERCY_SUPPORTED_FRAMEWORKS','ERR_PROXY_CONNECTION_FAILED','Playwright','2331948dsKuIB','cucumber','app-automate','Run\x20codeceptjs\x20tests\x20on\x20browserstack','CUCUMBER','https://upload-observability.browserstack.com','HST','pageLoadStrategy','NUDGE_LOCAL_ERRORS','CODECEPT','FRAMEWORKS','Run\x20nightwatch\x20tests\x20on\x20browserstack','ieOptions','https://api-cloud.browserstack.com','OBSERVABILITY_UPLOAD_URL','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','ERR_TIMED_OUT','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','BSTACK_DELTA','VERSION','Run\x20cucumber-js\x20tests\x20on\x20browserstack','ERR_CONNECTION_REFUSED','1241307qVSslc','FUNNEL_INSTRUMENTATION_API_URL','uniqueDependency','CI_ARTIFACTS_PATH','AUTOMATE_PRODUCTS','CUSTOM_ID_REGEX','133opserZ','MODULE','BROWSERSTACK_API_URL','1771869outFgE','120edZvCj','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','acceptInsecureCerts','PLAYWRIGHT_CONFIG_OPTION_ERRORS','ERR_NETWORK_CHANGED','Run\x20playwright\x20tests\x20on\x20Browserstack','ERR_ADDRESS_UNREACHABLE','https://hub.browserstack.com/wd/hub','MAX_GIT_META_DATA_SIZE_IN_BYTES','invalidKeys','strictFileInteractability','mocha','2onCwbh','PACKAGE_TYPE','observability','GIT_META_DATA_TRUNCATED','ERR_CONNECTION_ABORTED','ROOT_REGEX','Run\x20js\x20tests\x20on\x20browserstack','chromeOptions','AUTOLOGCAPTURE_NOTIFICATION','shows\x20version\x20information','.aab','2980745YWHeXx','acceptSslCert','acceptSslCerts','VANILLA','JEST'];a48_0x2c21=function(){return _0x36ea7c;};return a48_0x2c21();}var a48_0x4e5365={};a48_0x4e5365['INFO']=a48_0x5b5bf7(0x1fc);var a48_0x38366a={};a48_0x38366a[a48_0x5b5bf7(0x213)]=a48_0x5b5bf7(0x239);var a48_0x230bf1={};a48_0x230bf1[a48_0x5b5bf7(0x213)]=a48_0x5b5bf7(0x1ef);var a48_0x21e6ff={};a48_0x21e6ff['INFO']=a48_0x5b5bf7(0x231);var a48_0x52c253={};a48_0x52c253[a48_0x5b5bf7(0x213)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';var a48_0x2ade82={};a48_0x2ade82[a48_0x5b5bf7(0x213)]=a48_0x5b5bf7(0x209);function a48_0x511d(_0x286a5d,_0x49347c){var _0x2c21f2=a48_0x2c21();return a48_0x511d=function(_0x511df8,_0x19a46c){_0x511df8=_0x511df8-0x1d8;var _0x521002=_0x2c21f2[_0x511df8];return _0x521002;},a48_0x511d(_0x286a5d,_0x49347c);}var a48_0x47bc1d={};a48_0x47bc1d[a48_0x5b5bf7(0x21a)]='Playwright',a48_0x47bc1d[a48_0x5b5bf7(0x20e)]=a48_0x5b5bf7(0x1f5),a48_0x47bc1d[a48_0x5b5bf7(0x205)]=a48_0x5b5bf7(0x21e),a48_0x47bc1d[a48_0x5b5bf7(0x237)]=a48_0x5b5bf7(0x21f),a48_0x47bc1d['CUCUMBER']=a48_0x5b5bf7(0x22f);var a48_0x480b17={};a48_0x480b17[a48_0x5b5bf7(0x1f3)]='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a48_0x480b17[a48_0x5b5bf7(0x1e2)]=a48_0x5b5bf7(0x21d),a48_0x480b17['mandatoryDependency']=a48_0x5b5bf7(0x208),a48_0x480b17[a48_0x5b5bf7(0x223)]='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';var a48_0x255080={};a48_0x255080[a48_0x5b5bf7(0x20f)]='commonjs',a48_0x255080[a48_0x5b5bf7(0x1e7)]='module';var a48_0xb83004={};a48_0xb83004[a48_0x5b5bf7(0x1dd)]=a48_0x11351d,a48_0xb83004[a48_0x5b5bf7(0x205)]=a48_0x4659ae,a48_0xb83004[a48_0x5b5bf7(0x20e)]=a48_0x3d8dfd,a48_0xb83004[a48_0x5b5bf7(0x232)]=a48_0x3f1518,a48_0xb83004[a48_0x5b5bf7(0x204)]=a48_0x4e5365,a48_0xb83004['NIGHTWATCH']=a48_0x38366a,a48_0xb83004[a48_0x5b5bf7(0x21a)]=a48_0x230bf1,a48_0xb83004[a48_0x5b5bf7(0x21b)]=a48_0x21e6ff,a48_0xb83004[a48_0x5b5bf7(0x234)]=a48_0x52c253,a48_0xb83004['INTEGRATIONS']=a48_0x2ade82,a48_0xb83004[a48_0x5b5bf7(0x1dc)]=0xf*0x3c*0x3e8,a48_0xb83004[a48_0x5b5bf7(0x226)]=a48_0x5b5bf7(0x1f1),a48_0xb83004[a48_0x5b5bf7(0x220)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a48_0xb83004[a48_0x5b5bf7(0x214)]=[a48_0x5b5bf7(0x1ec),a48_0x5b5bf7(0x235),a48_0x5b5bf7(0x1f4),a48_0x5b5bf7(0x212),a48_0x5b5bf7(0x225),'browserName',a48_0x5b5bf7(0x21c),a48_0x5b5bf7(0x203),a48_0x5b5bf7(0x202),a48_0x5b5bf7(0x1fd),'firefoxOptions',a48_0x5b5bf7(0x210),a48_0x5b5bf7(0x23a)],a48_0xb83004[a48_0x5b5bf7(0x1fb)]=/^[\w-]+:.*$/,a48_0xb83004['PRIVATE_DOMAIN_OR_IP_REGEX']=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a48_0xb83004[a48_0x5b5bf7(0x1e8)]=a48_0x5b5bf7(0x215),a48_0xb83004[a48_0x5b5bf7(0x224)]=a48_0x5b5bf7(0x23b),a48_0xb83004[a48_0x5b5bf7(0x1e1)]='sdk/v1/event',a48_0xb83004[a48_0x5b5bf7(0x1e4)]=[a48_0x5b5bf7(0x227),a48_0x5b5bf7(0x1f8)],a48_0xb83004['APP_AUTOMATE_PRODUCTS']=[a48_0x5b5bf7(0x230),a48_0x5b5bf7(0x1f8)],a48_0xb83004[a48_0x5b5bf7(0x1d9)]=[a48_0x5b5bf7(0x1f8)],a48_0xb83004[a48_0x5b5bf7(0x1d8)]=a48_0x5b5bf7(0x233),a48_0xb83004[a48_0x5b5bf7(0x20a)]=[a48_0x5b5bf7(0x1f5),a48_0x5b5bf7(0x22d)],a48_0xb83004['AUTOMATE']=[a48_0x5b5bf7(0x227)],a48_0xb83004['APP_AUTOMATE']=[a48_0x5b5bf7(0x230)],a48_0xb83004[a48_0x5b5bf7(0x236)]=['ERR_FAILED',a48_0x5b5bf7(0x1da),'ERR_BLOCKED_BY_CLIENT',a48_0x5b5bf7(0x1ee),a48_0x5b5bf7(0x22a),'ERR_CONNECTION_CLOSED','ERR_CONNECTION_RESET',a48_0x5b5bf7(0x1df),a48_0x5b5bf7(0x1fa),'ERR_CONNECTION_FAILED',a48_0x5b5bf7(0x217),'ERR_ADDRESS_INVALID',a48_0x5b5bf7(0x1f0),'ERR_TUNNEL_CONNECTION_FAILED','ERR_CONNECTION_TIMED_OUT',a48_0x5b5bf7(0x211),a48_0x5b5bf7(0x1eb),a48_0x5b5bf7(0x22c),a48_0x5b5bf7(0x217),a48_0x5b5bf7(0x20c),'ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a48_0xb83004['VALID_APP_EXTENSION']=[a48_0x5b5bf7(0x218),a48_0x5b5bf7(0x200),a48_0x5b5bf7(0x206)],a48_0xb83004[a48_0x5b5bf7(0x1e5)]='^[a-zA-Z0-9_.-]*$',a48_0xb83004['SHAREABLE_ID_REGEX']=a48_0x5b5bf7(0x1db),a48_0xb83004[a48_0x5b5bf7(0x1e3)]='./browserstack-artifacts/',a48_0xb83004['PLAYWRIGHT_HUB_URL']=a48_0x5b5bf7(0x20d),a48_0xb83004[a48_0x5b5bf7(0x238)]=a48_0x47bc1d,a48_0xb83004[a48_0x5b5bf7(0x22b)]=[a48_0x5b5bf7(0x21e),a48_0x5b5bf7(0x1f5)],a48_0xb83004[a48_0x5b5bf7(0x1ed)]=a48_0x480b17,a48_0xb83004[a48_0x5b5bf7(0x1fe)]='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a48_0xb83004[a48_0x5b5bf7(0x1f7)]=a48_0x255080,a48_0xb83004[a48_0x5b5bf7(0x1f2)]=0x40*0x400,a48_0xb83004[a48_0x5b5bf7(0x1f9)]=a48_0x5b5bf7(0x228),module[a48_0x5b5bf7(0x207)]=a48_0xb83004;
1
+ var a49_0x2c86ac=a49_0x2e8d;(function(_0x31a6d6,_0x53a34e){var _0x4d9d25=a49_0x2e8d,_0x3a5818=_0x31a6d6();while(!![]){try{var _0x197f1f=-parseInt(_0x4d9d25(0x1a9))/0x1+parseInt(_0x4d9d25(0x16c))/0x2*(-parseInt(_0x4d9d25(0x17c))/0x3)+-parseInt(_0x4d9d25(0x1ae))/0x4+-parseInt(_0x4d9d25(0x1a6))/0x5+-parseInt(_0x4d9d25(0x165))/0x6+-parseInt(_0x4d9d25(0x1c9))/0x7*(parseInt(_0x4d9d25(0x16a))/0x8)+parseInt(_0x4d9d25(0x173))/0x9;if(_0x197f1f===_0x53a34e)break;else _0x3a5818['push'](_0x3a5818['shift']());}catch(_0x3495fa){_0x3a5818['push'](_0x3a5818['shift']());}}}(a49_0x653f,0xa291f));var a49_0x55f158={};a49_0x55f158[a49_0x2c86ac(0x1d2)]='shows\x20version\x20information',a49_0x55f158[a49_0x2c86ac(0x17a)]=a49_0x2c86ac(0x1bf);var a49_0x11bfe2={};a49_0x11bfe2['INFO']='Run\x20jest\x20tests\x20on\x20browserstack';var a49_0x36d17b={};a49_0x36d17b[a49_0x2c86ac(0x1d2)]=a49_0x2c86ac(0x196);var a49_0x3b2ac7={};a49_0x3b2ac7['INFO']=a49_0x2c86ac(0x1d6);var a49_0x527f73={};a49_0x527f73[a49_0x2c86ac(0x1d2)]=a49_0x2c86ac(0x1d1);function a49_0x2e8d(_0x2484fe,_0x4021c5){var _0x653f89=a49_0x653f();return a49_0x2e8d=function(_0x2e8d54,_0x2b065b){_0x2e8d54=_0x2e8d54-0x164;var _0x419af1=_0x653f89[_0x2e8d54];return _0x419af1;},a49_0x2e8d(_0x2484fe,_0x4021c5);}var a49_0x4a5238={};a49_0x4a5238[a49_0x2c86ac(0x1d2)]=a49_0x2c86ac(0x1bc);var a49_0x1f8c9a={};a49_0x1f8c9a[a49_0x2c86ac(0x1d2)]=a49_0x2c86ac(0x1a5);var a49_0x250877={};a49_0x250877[a49_0x2c86ac(0x1d2)]=a49_0x2c86ac(0x179);var a49_0x50a289={};a49_0x50a289[a49_0x2c86ac(0x1d2)]=a49_0x2c86ac(0x176);var a49_0x21b2ea={};a49_0x21b2ea['INFO']=a49_0x2c86ac(0x1b4);var a49_0x39a1a6={};a49_0x39a1a6[a49_0x2c86ac(0x1d0)]=a49_0x2c86ac(0x1b5),a49_0x39a1a6[a49_0x2c86ac(0x18d)]='mocha',a49_0x39a1a6[a49_0x2c86ac(0x18c)]='jest',a49_0x39a1a6['CODECEPT']='codeceptjs',a49_0x39a1a6[a49_0x2c86ac(0x180)]=a49_0x2c86ac(0x1d3);var a49_0x3215a9={};a49_0x3215a9[a49_0x2c86ac(0x1a1)]='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x3215a9[a49_0x2c86ac(0x1cf)]=a49_0x2c86ac(0x1c8),a49_0x3215a9[a49_0x2c86ac(0x19c)]=a49_0x2c86ac(0x1a0),a49_0x3215a9['invalidTestInputType']=a49_0x2c86ac(0x1a3);var a49_0x48f961={};a49_0x48f961[a49_0x2c86ac(0x19b)]=a49_0x2c86ac(0x16b),a49_0x48f961['MODULE']='module';function a49_0x653f(){var _0x10494f=['Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','GIT_META_DATA_TRUNCATED','1333148DuEzCe','SDKTestInitFailedResponse','app-automate','ERR_CONNECTION_RESET','SDKTestInvalidTcgAuthResponseWithUserImpact','exports','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','Playwright','wss://cdp.browserstack.com/playwright?caps=','AUTOMATE_PRODUCTS','AI_INIT_FAILURE','sdk/v1/event','HEALING_FAILURE_TIMEOUT','PACKAGE_TYPE','Run\x20nightwatch\x20tests\x20on\x20browserstack','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','.ipa','Specify\x20--help\x20for\x20available\x20options','AI_PROXY_FAILURE','acceptInsecureCerts','AI_INIT_SUCCESSFUL','APP_UPLOAD_URL','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','SET_TCG_TOKEN_TIMEOUT','./browserstack-artifacts/','VALID_APP_EXTENSION','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','877849Dvqpnr','INVALID_INIT_RESP_WITH_USER_IMPACT','TCG_AUTH_TIMEOUT','ERR_TIMED_OUT','HST','...[TRUNCATED]','uniqueDependency','PLAYWRIGHT','Run\x20js\x20tests\x20on\x20browserstack','INFO','cucumber','browserVersion','MAX_GIT_META_DATA_SIZE_IN_BYTES','Run\x20cucumber-js\x20tests\x20on\x20browserstack','https://tcg.browserstack.com','6436956SHkdhO','unhandledPromptBehavior','mocha','Upgrade\x20required','browserName','56sPbNHL','commonjs','38aXFvEW','ERR_SOCKS_CONNECTION_FAILED','HEALING_LOG_DATA_TIMEOUT','timeouts','use','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','OBSERVABILITY_UPLOAD_URL','45347274GjJPmt','SDKTestTcgProxyFailure','firefoxOptions','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','ERR_CONNECTION_CLOSED','APP_AUTOMATE','Run\x20codeceptjs\x20tests\x20on\x20browserstack','HELP','SDKTestTcgDownResponse','75921fxxRZI','ERR_SOCKET_NOT_CONNECTED','ROOT_REGEX','https://api.browserstack.com','CUCUMBER','SDKTestTcgAuthFailure','CUSTOM_ID_REGEX','INTEGRATIONS','PLAYWRIGHT_HUB_URL','^[a-zA-Z0-9_.-]*$','ERR_CONNECTION_TIMED_OUT','TCG_AUTH_FAILURE','BSTACK_DELTA','acceptSslCerts','automate','APP_AUTOMATE_PRODUCTS','JEST','MOCHA','POLL_HEALING_RESULT_TIMEOUT','FUNNEL_INSTRUMENTATION_API_URL','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','.apk','chromeOptions','ERR_CONNECTION_ABORTED','ERR_TUNNEL_CONNECTION_FAILED','AUTOLOGCAPTURE_NOTIFICATION','Run\x20mocha\x20tests\x20on\x20browserstack','PRIVATE_DOMAIN_OR_IP_REGEX','VANILLA','PLAYWRIGHT_CONFIG_OPTION_ERRORS','UPGRADE_REQUIRED','COMMONJS','mandatoryDependency','acceptSslCert','observability','jest','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','invalidKeys','ROOT_CAPS','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','ERR_NAME_NOT_RESOLVED','Run\x20playwright\x20tests\x20on\x20Browserstack','2660945lmtpYP','BROWSERSTACK_API_URL','TCG_URL','1075715FJAnbb','NIGHTWATCH','ERR_CONNECTION_REFUSED'];a49_0x653f=function(){return _0x10494f;};return a49_0x653f();}var a49_0x12eae9={};a49_0x12eae9['VERSION']=a49_0x55f158,a49_0x12eae9['JEST']=a49_0x11bfe2,a49_0x12eae9[a49_0x2c86ac(0x18d)]=a49_0x36d17b,a49_0x12eae9[a49_0x2c86ac(0x180)]=a49_0x3b2ac7,a49_0x12eae9[a49_0x2c86ac(0x198)]=a49_0x527f73,a49_0x12eae9[a49_0x2c86ac(0x1aa)]=a49_0x4a5238,a49_0x12eae9[a49_0x2c86ac(0x1d0)]=a49_0x1f8c9a,a49_0x12eae9['CODECEPTJS']=a49_0x250877,a49_0x12eae9[a49_0x2c86ac(0x1cd)]=a49_0x50a289,a49_0x12eae9[a49_0x2c86ac(0x183)]=a49_0x21b2ea,a49_0x12eae9[a49_0x2c86ac(0x188)]=0xf*0x3c*0x3e8,a49_0x12eae9['hubUrl']='https://hub.browserstack.com/wd/hub',a49_0x12eae9[a49_0x2c86ac(0x1a8)]=a49_0x2c86ac(0x164),a49_0x12eae9['TCG_REGION']=a49_0x2c86ac(0x170),a49_0x12eae9['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x12eae9[a49_0x2c86ac(0x1a2)]=[a49_0x2c86ac(0x1c1),'pageLoadStrategy','strictFileInteractability',a49_0x2c86ac(0x166),a49_0x2c86ac(0x16f),a49_0x2c86ac(0x169),a49_0x2c86ac(0x1d4),a49_0x2c86ac(0x189),a49_0x2c86ac(0x19d),a49_0x2c86ac(0x192),a49_0x2c86ac(0x175),'edgeOptions','ieOptions'],a49_0x12eae9[a49_0x2c86ac(0x17e)]=/^[\w-]+:.*$/,a49_0x12eae9[a49_0x2c86ac(0x197)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x12eae9[a49_0x2c86ac(0x1a7)]=a49_0x2c86ac(0x17f),a49_0x12eae9[a49_0x2c86ac(0x1c3)]='https://api-cloud.browserstack.com',a49_0x12eae9[a49_0x2c86ac(0x18f)]=a49_0x2c86ac(0x1b9),a49_0x12eae9[a49_0x2c86ac(0x1b7)]=[a49_0x2c86ac(0x18a),a49_0x2c86ac(0x19e)],a49_0x12eae9[a49_0x2c86ac(0x18b)]=[a49_0x2c86ac(0x1b0),a49_0x2c86ac(0x19e)],a49_0x12eae9[a49_0x2c86ac(0x1c4)]=['observability'],a49_0x12eae9[a49_0x2c86ac(0x172)]='https://upload-observability.browserstack.com',a49_0x12eae9['OBSERVABILITY_SUPPORTED_FWS']=[a49_0x2c86ac(0x167),a49_0x2c86ac(0x1b5)],a49_0x12eae9['AUTOMATE']=['automate'],a49_0x12eae9[a49_0x2c86ac(0x178)]=[a49_0x2c86ac(0x1b0)],a49_0x12eae9['NUDGE_LOCAL_ERRORS']=['ERR_FAILED',a49_0x2c86ac(0x1cc),'ERR_BLOCKED_BY_CLIENT','ERR_NETWORK_CHANGED',a49_0x2c86ac(0x17d),a49_0x2c86ac(0x177),a49_0x2c86ac(0x1b1),a49_0x2c86ac(0x1ab),a49_0x2c86ac(0x193),'ERR_CONNECTION_FAILED','ERR_NAME_NOT_RESOLVED','ERR_ADDRESS_INVALID','ERR_ADDRESS_UNREACHABLE',a49_0x2c86ac(0x194),a49_0x2c86ac(0x186),a49_0x2c86ac(0x16d),a49_0x2c86ac(0x1bd),'ERR_PROXY_CONNECTION_FAILED',a49_0x2c86ac(0x1a4),'ERR_NAME_RESOLUTION_FAILED',a49_0x2c86ac(0x171)],a49_0x12eae9[a49_0x2c86ac(0x1c7)]=[a49_0x2c86ac(0x191),'.aab',a49_0x2c86ac(0x1be)],a49_0x12eae9[a49_0x2c86ac(0x182)]=a49_0x2c86ac(0x185),a49_0x12eae9['SHAREABLE_ID_REGEX']=a49_0x2c86ac(0x190),a49_0x12eae9['CI_ARTIFACTS_PATH']=a49_0x2c86ac(0x1c6),a49_0x12eae9[a49_0x2c86ac(0x184)]=a49_0x2c86ac(0x1b6),a49_0x12eae9['FRAMEWORKS']=a49_0x39a1a6,a49_0x12eae9['PERCY_SUPPORTED_FRAMEWORKS']=[a49_0x2c86ac(0x19f),a49_0x2c86ac(0x167)],a49_0x12eae9[a49_0x2c86ac(0x199)]=a49_0x3215a9,a49_0x12eae9[a49_0x2c86ac(0x195)]=a49_0x2c86ac(0x1ac),a49_0x12eae9[a49_0x2c86ac(0x1bb)]=a49_0x48f961,a49_0x12eae9[a49_0x2c86ac(0x1d5)]=0x40*0x400,a49_0x12eae9[a49_0x2c86ac(0x1ad)]=a49_0x2c86ac(0x1ce),a49_0x12eae9[a49_0x2c86ac(0x19a)]=a49_0x2c86ac(0x168),a49_0x12eae9['TCG_DOWN']=a49_0x2c86ac(0x17b),a49_0x12eae9[a49_0x2c86ac(0x1ca)]=a49_0x2c86ac(0x1b2),a49_0x12eae9[a49_0x2c86ac(0x187)]=a49_0x2c86ac(0x181),a49_0x12eae9[a49_0x2c86ac(0x1c2)]='SDKTestTcgtInitSuccessful',a49_0x12eae9[a49_0x2c86ac(0x1b8)]=a49_0x2c86ac(0x1af),a49_0x12eae9[a49_0x2c86ac(0x1c0)]=a49_0x2c86ac(0x174),a49_0x12eae9[a49_0x2c86ac(0x1cb)]=0x1388,a49_0x12eae9[a49_0x2c86ac(0x1c5)]=0x1388,a49_0x12eae9[a49_0x2c86ac(0x16e)]=0x1388,a49_0x12eae9[a49_0x2c86ac(0x1ba)]=0x1388,a49_0x12eae9[a49_0x2c86ac(0x18e)]=0xc350,module[a49_0x2c86ac(0x1b3)]=a49_0x12eae9;
@@ -1 +1 @@
1
- function a49_0x36b7(){const _0x101900=['3340pusMCj','822zznWqS','colouredLayout','35063JckedA','layout','data','type','848574kkHTuN','level','join','configure','1189852KlWiSF','./logReportingAPI','timezoneOffset','uxzJU','3579AydCEo','130ePDCga','3755355OQlPxZ','levelStr','10964944DeooXq','1007736IwSHDQ'];a49_0x36b7=function(){return _0x101900;};return a49_0x36b7();}const a49_0x116c07=a49_0x4f29;(function(_0x171b41,_0xd0d1fd){const _0x564f62=a49_0x4f29,_0x5dc6e3=_0x171b41();while(!![]){try{const _0x3c018=-parseInt(_0x564f62(0x178))/0x1+-parseInt(_0x564f62(0x16f))/0x2+parseInt(_0x564f62(0x173))/0x3*(parseInt(_0x564f62(0x179))/0x4)+parseInt(_0x564f62(0x175))/0x5+parseInt(_0x564f62(0x17a))/0x6*(parseInt(_0x564f62(0x17c))/0x7)+parseInt(_0x564f62(0x177))/0x8+-parseInt(_0x564f62(0x16b))/0x9*(parseInt(_0x564f62(0x174))/0xa);if(_0x3c018===_0xd0d1fd)break;else _0x5dc6e3['push'](_0x5dc6e3['shift']());}catch(_0x5be72f){_0x5dc6e3['push'](_0x5dc6e3['shift']());}}}(a49_0x36b7,0xee351));const logReportingAPI=require(a49_0x116c07(0x170)),BSTestOpsLogger=new logReportingAPI({});function a49_0x4f29(_0x42620a,_0x103ab7){const _0x36b7ff=a49_0x36b7();return a49_0x4f29=function(_0x4f296b,_0xb7c918){_0x4f296b=_0x4f296b-0x169;let _0x4bdbab=_0x36b7ff[_0x4f296b];return _0x4bdbab;},a49_0x4f29(_0x42620a,_0x103ab7);}function BSTestOpsLog4JSAppender(_0x3d7a44,_0x41d5ba){return _0x404391=>{const _0xc6c523=a49_0x4f29;BSTestOpsLogger['log']({'level':_0x404391[_0xc6c523(0x16c)]?_0x404391[_0xc6c523(0x16c)][_0xc6c523(0x176)]:null,'message':_0x404391['data']?_0x404391[_0xc6c523(0x169)][_0xc6c523(0x16d)]('\x20'):null});};}exports[a49_0x116c07(0x16e)]=(_0x308c82,_0x20cda8)=>{const _0x5ce6f7=a49_0x116c07,_0x44e9a0={'uxzJU':function(_0x2ac09c,_0x565e6f,_0x18a7db){return _0x2ac09c(_0x565e6f,_0x18a7db);}};let _0x50e360=_0x20cda8[_0x5ce6f7(0x17b)];return _0x308c82[_0x5ce6f7(0x17d)]&&(_0x50e360=_0x20cda8[_0x5ce6f7(0x17d)](_0x308c82[_0x5ce6f7(0x17d)][_0x5ce6f7(0x16a)],_0x308c82['layout'])),_0x44e9a0[_0x5ce6f7(0x172)](BSTestOpsLog4JSAppender,_0x50e360,_0x308c82[_0x5ce6f7(0x171)]);};
1
+ const a50_0x146453=a50_0x37f0;(function(_0x322b85,_0x84be18){const _0x4e202c=a50_0x37f0,_0x25514b=_0x322b85();while(!![]){try{const _0x4dedec=parseInt(_0x4e202c(0x1da))/0x1+-parseInt(_0x4e202c(0x1dd))/0x2+parseInt(_0x4e202c(0x1de))/0x3+parseInt(_0x4e202c(0x1e9))/0x4+parseInt(_0x4e202c(0x1e4))/0x5+-parseInt(_0x4e202c(0x1db))/0x6+-parseInt(_0x4e202c(0x1dc))/0x7;if(_0x4dedec===_0x84be18)break;else _0x25514b['push'](_0x25514b['shift']());}catch(_0x8e1f5b){_0x25514b['push'](_0x25514b['shift']());}}}(a50_0x4efc,0x87338));const logReportingAPI=require(a50_0x146453(0x1e6)),BSTestOpsLogger=new logReportingAPI({});function a50_0x37f0(_0x32afbe,_0x5bcbb6){const _0x4efc79=a50_0x4efc();return a50_0x37f0=function(_0x37f0c6,_0x450d7c){_0x37f0c6=_0x37f0c6-0x1da;let _0x1df07a=_0x4efc79[_0x37f0c6];return _0x1df07a;},a50_0x37f0(_0x32afbe,_0x5bcbb6);}function a50_0x4efc(){const _0x98eea6=['layout','2438432pJqvhX','205521qSqFTM','4661436rxXvmj','4354266BMvpEj','495646XfGnuH','2404467MLRILC','data','level','log','configure','colouredLayout','2919665gmoSiz','levelStr','./logReportingAPI','timezoneOffset'];a50_0x4efc=function(){return _0x98eea6;};return a50_0x4efc();}function BSTestOpsLog4JSAppender(_0x4f6113,_0x1d1a4e){return _0x454c73=>{const _0x2cb5fc=a50_0x37f0;BSTestOpsLogger[_0x2cb5fc(0x1e1)]({'level':_0x454c73['level']?_0x454c73[_0x2cb5fc(0x1e0)][_0x2cb5fc(0x1e5)]:null,'message':_0x454c73[_0x2cb5fc(0x1df)]?_0x454c73['data']['join']('\x20'):null});};}exports[a50_0x146453(0x1e2)]=(_0x3722c4,_0x2c18f8)=>{const _0x2ce8a0=a50_0x146453,_0x31152f={'uYTNm':function(_0x9c2aba,_0x57a31b,_0x5dab28){return _0x9c2aba(_0x57a31b,_0x5dab28);}};let _0x2926ec=_0x2c18f8[_0x2ce8a0(0x1e3)];return _0x3722c4['layout']&&(_0x2926ec=_0x2c18f8['layout'](_0x3722c4[_0x2ce8a0(0x1e8)]['type'],_0x3722c4[_0x2ce8a0(0x1e8)])),_0x31152f['uYTNm'](BSTestOpsLog4JSAppender,_0x2926ec,_0x3722c4[_0x2ce8a0(0x1e7)]);};
@@ -1 +1 @@
1
- function a50_0x126e(_0x2296d3,_0x1599e6){const _0x2f5e03=a50_0x2f5e();return a50_0x126e=function(_0x126e4f,_0x337589){_0x126e4f=_0x126e4f-0x103;let _0x223bba=_0x2f5e03[_0x126e4f];return _0x223bba;},a50_0x126e(_0x2296d3,_0x1599e6);}const a50_0x502c52=a50_0x126e;function a50_0x2f5e(){const _0x4d6ded=['toLowerCase','error','debug','INFO','join','664805SJnjSV','DEBUG','45mSwwEF','44lMCDqO','toUpperCase','../../helpers/test-observability/constants','exports','logToTestOps','610572MZGpRS','30027xjBOtd','38869FlFhkq','230840GTryxI','winston-transport','trace','toISOString','237307xFXNkz','bs:addLog:','3902560cCzSYz','TEST_LOG','emit','TRACE','2SfxQQv','info','log','ZnmOV','ERROR','WARN'];a50_0x2f5e=function(){return _0x4d6ded;};return a50_0x2f5e();}(function(_0x2b875e,_0x4982ee){const _0x5bdf42=a50_0x126e,_0xb7f8a2=_0x2b875e();while(!![]){try{const _0x17fb8f=-parseInt(_0x5bdf42(0x120))/0x1*(-parseInt(_0x5bdf42(0x10b))/0x2)+parseInt(_0x5bdf42(0x11f))/0x3*(-parseInt(_0x5bdf42(0x119))/0x4)+-parseInt(_0x5bdf42(0x116))/0x5+parseInt(_0x5bdf42(0x11e))/0x6+-parseInt(_0x5bdf42(0x105))/0x7+parseInt(_0x5bdf42(0x121))/0x8*(-parseInt(_0x5bdf42(0x118))/0x9)+parseInt(_0x5bdf42(0x107))/0xa;if(_0x17fb8f===_0x4982ee)break;else _0xb7f8a2['push'](_0xb7f8a2['shift']());}catch(_0x40b817){_0xb7f8a2['push'](_0xb7f8a2['shift']());}}}(a50_0x2f5e,0x1ac53));const Transport=require(a50_0x502c52(0x122)),{consoleHolder}=require(a50_0x502c52(0x11b)),a50_0x47739d={};a50_0x47739d['INFO']=a50_0x502c52(0x114),a50_0x47739d[a50_0x502c52(0x10f)]=a50_0x502c52(0x10f),a50_0x47739d[a50_0x502c52(0x117)]='DEBUG',a50_0x47739d[a50_0x502c52(0x10a)]=a50_0x502c52(0x10a),a50_0x47739d[a50_0x502c52(0x110)]=a50_0x502c52(0x110);const LOG_LEVELS=a50_0x47739d;class logPatcher extends Transport{constructor(_0x15ba3e){super(_0x15ba3e);}[a50_0x502c52(0x11d)]=(_0x50e008=LOG_LEVELS[a50_0x502c52(0x114)],_0x45f06f=[''])=>{const _0xfa7d32=a50_0x502c52,_0x2e57fd={};_0x2e57fd['ZnmOV']=_0xfa7d32(0x108);const _0x59de25=_0x2e57fd;consoleHolder[_0x50e008[_0xfa7d32(0x111)]()](..._0x45f06f),process[_0xfa7d32(0x109)](_0xfa7d32(0x106)+process['pid'],{'timestamp':new Date()[_0xfa7d32(0x104)](),'level':_0x50e008[_0xfa7d32(0x11a)](),'message':'\x22'+_0x45f06f[_0xfa7d32(0x115)](',\x20')+'\x22','kind':_0x59de25[_0xfa7d32(0x10e)],'http_response':{}});};[a50_0x502c52(0x103)]=(..._0x150d1a)=>{const _0x314c53=a50_0x502c52;this[_0x314c53(0x11d)](LOG_LEVELS[_0x314c53(0x10a)],_0x150d1a);};[a50_0x502c52(0x113)]=(..._0x5c65bb)=>{const _0x4a7e22=a50_0x502c52;this[_0x4a7e22(0x11d)](LOG_LEVELS[_0x4a7e22(0x117)],_0x5c65bb);};[a50_0x502c52(0x10c)]=(..._0x7e8a08)=>{const _0x3bab5d=a50_0x502c52;this[_0x3bab5d(0x11d)](LOG_LEVELS[_0x3bab5d(0x114)],_0x7e8a08);};['warn']=(..._0x346afb)=>{const _0xc60bc5=a50_0x502c52;this[_0xc60bc5(0x11d)](LOG_LEVELS[_0xc60bc5(0x110)],_0x346afb);};[a50_0x502c52(0x112)]=(..._0x3958a8)=>{const _0x11c166=a50_0x502c52;this['logToTestOps'](LOG_LEVELS[_0x11c166(0x10f)],_0x3958a8);};[a50_0x502c52(0x10d)]=(..._0x48ff4f)=>{const _0x59cf82=a50_0x502c52;this[_0x59cf82(0x11d)](LOG_LEVELS[_0x59cf82(0x114)],_0x48ff4f);};};module[a50_0x502c52(0x11c)]=logPatcher;
1
+ const a51_0x567096=a51_0x51e6;(function(_0x492e6a,_0x1b5f3a){const _0x19d90c=a51_0x51e6,_0x1479b4=_0x492e6a();while(!![]){try{const _0x24b646=-parseInt(_0x19d90c(0x14e))/0x1*(-parseInt(_0x19d90c(0x158))/0x2)+parseInt(_0x19d90c(0x166))/0x3+parseInt(_0x19d90c(0x159))/0x4+parseInt(_0x19d90c(0x157))/0x5+parseInt(_0x19d90c(0x155))/0x6*(-parseInt(_0x19d90c(0x152))/0x7)+parseInt(_0x19d90c(0x15e))/0x8+-parseInt(_0x19d90c(0x153))/0x9*(parseInt(_0x19d90c(0x150))/0xa);if(_0x24b646===_0x1b5f3a)break;else _0x1479b4['push'](_0x1479b4['shift']());}catch(_0x4e9202){_0x1479b4['push'](_0x1479b4['shift']());}}}(a51_0x3c01,0xb6ec3));const Transport=require('winston-transport'),{consoleHolder}=require(a51_0x567096(0x160)),a51_0x290f27={};function a51_0x51e6(_0x201557,_0xd42b05){const _0x3c018c=a51_0x3c01();return a51_0x51e6=function(_0x51e608,_0x367b9b){_0x51e608=_0x51e608-0x14b;let _0x41628f=_0x3c018c[_0x51e608];return _0x41628f;},a51_0x51e6(_0x201557,_0xd42b05);}a51_0x290f27['INFO']=a51_0x567096(0x163),a51_0x290f27[a51_0x567096(0x15a)]=a51_0x567096(0x15a),a51_0x290f27['DEBUG']=a51_0x567096(0x165),a51_0x290f27[a51_0x567096(0x15b)]=a51_0x567096(0x15b),a51_0x290f27[a51_0x567096(0x154)]=a51_0x567096(0x154);function a51_0x3c01(){const _0x3ebda9=['INFO','bs:addLog:','DEBUG','4126215SMYYYU','info','join','TEST_LOG','77411CjVgJy','toISOString','201530DYVMfj','logToTestOps','7zVxaLV','1044nitcDm','WARN','2224788eqUcCZ','debug','2112605WNGLnb','20LyEKuZ','840748gRvsWA','ERROR','TRACE','toLowerCase','log','5404592oYfpea','toUpperCase','../../helpers/test-observability/constants','warn','pid'];a51_0x3c01=function(){return _0x3ebda9;};return a51_0x3c01();}const LOG_LEVELS=a51_0x290f27;class logPatcher extends Transport{constructor(_0x3bfa28){super(_0x3bfa28);}[a51_0x567096(0x151)]=(_0x1173c3=LOG_LEVELS[a51_0x567096(0x163)],_0x1b8d5c=[''])=>{const _0x31f710=a51_0x567096,_0x166661={};_0x166661['Wayof']=_0x31f710(0x14d);const _0x53a819=_0x166661;consoleHolder[_0x1173c3[_0x31f710(0x15c)]()](..._0x1b8d5c),process['emit'](_0x31f710(0x164)+process[_0x31f710(0x162)],{'timestamp':new Date()[_0x31f710(0x14f)](),'level':_0x1173c3[_0x31f710(0x15f)](),'message':'\x22'+_0x1b8d5c[_0x31f710(0x14c)](',\x20')+'\x22','kind':_0x53a819['Wayof'],'http_response':{}});};['trace']=(..._0x3bb91f)=>{const _0xee7272=a51_0x567096;this['logToTestOps'](LOG_LEVELS[_0xee7272(0x15b)],_0x3bb91f);};[a51_0x567096(0x156)]=(..._0x3b82a2)=>{const _0x3bf17a=a51_0x567096;this[_0x3bf17a(0x151)](LOG_LEVELS[_0x3bf17a(0x165)],_0x3b82a2);};[a51_0x567096(0x14b)]=(..._0x303d0d)=>{const _0x16c44d=a51_0x567096;this[_0x16c44d(0x151)](LOG_LEVELS[_0x16c44d(0x163)],_0x303d0d);};[a51_0x567096(0x161)]=(..._0x59fab6)=>{this['logToTestOps'](LOG_LEVELS['WARN'],_0x59fab6);};['error']=(..._0x5c5403)=>{this['logToTestOps'](LOG_LEVELS['ERROR'],_0x5c5403);};[a51_0x567096(0x15d)]=(..._0x2425ea)=>{const _0x51ac26=a51_0x567096;this[_0x51ac26(0x151)](LOG_LEVELS[_0x51ac26(0x163)],_0x2425ea);};};module['exports']=logPatcher;
@@ -1 +1 @@
1
- const a51_0x2574c7=a51_0x24b1;(function(_0x4808b4,_0x32e4f7){const _0x35de83=a51_0x24b1,_0x422c42=_0x4808b4();while(!![]){try{const _0x27e85c=parseInt(_0x35de83(0x83))/0x1+parseInt(_0x35de83(0x87))/0x2+-parseInt(_0x35de83(0x91))/0x3*(-parseInt(_0x35de83(0x9f))/0x4)+-parseInt(_0x35de83(0x9d))/0x5*(-parseInt(_0x35de83(0x85))/0x6)+parseInt(_0x35de83(0x97))/0x7*(-parseInt(_0x35de83(0x92))/0x8)+-parseInt(_0x35de83(0x81))/0x9+parseInt(_0x35de83(0x7b))/0xa;if(_0x27e85c===_0x32e4f7)break;else _0x422c42['push'](_0x422c42['shift']());}catch(_0x3e8ba2){_0x422c42['push'](_0x422c42['shift']());}}}(a51_0x5cdb,0xb8229));function a51_0x5cdb(){const _0x72c62=['WARN','emit','logToTestOps','toLowerCase','7WJusuO','info','pid','bs:addLog:','warn','xQNxu','4826955YtejMp','spNxP','4QUKRzI','xLihb','../../helpers/test-observability/constants','12184410FtWTbE','message','error','logged','VxUhl','BLsBt','11829609TalrDh','DEBUG','457858ohnyZl','koGmC','6paPxsF','exports','469476jqTFfW','toISOString','INFO','log','toUpperCase','TRACE','trace','TEST_LOG','debug','ERROR','113817dMIdqM','6765992IQqmBR'];a51_0x5cdb=function(){return _0x72c62;};return a51_0x5cdb();}const Transport=require('winston-transport'),{consoleHolder}=require(a51_0x2574c7(0x7a)),a51_0x47ea16={};a51_0x47ea16[a51_0x2574c7(0x89)]=a51_0x2574c7(0x89),a51_0x47ea16[a51_0x2574c7(0x90)]=a51_0x2574c7(0x90),a51_0x47ea16['DEBUG']=a51_0x2574c7(0x82),a51_0x47ea16[a51_0x2574c7(0x8c)]=a51_0x2574c7(0x8c),a51_0x47ea16[a51_0x2574c7(0x93)]=a51_0x2574c7(0x93);const LOG_LEVELS=a51_0x47ea16;class logReportingAPI extends Transport{constructor(_0x5508d5){super(_0x5508d5);}[a51_0x2574c7(0x8a)](_0x3f7e43,_0x246038){const _0x200ae1=a51_0x2574c7,_0x1e7ca5={'xLihb':_0x200ae1(0x7e),'VxUhl':function(_0x286184,_0x218251){return _0x286184(_0x218251);},'BLsBt':function(_0x4cee8e,_0x5e93f7){return _0x4cee8e===_0x5e93f7;},'xQNxu':'object','spNxP':function(_0xbe1410){return _0xbe1410();}};_0x1e7ca5[_0x200ae1(0x7f)](setImmediate,()=>{const _0x250452=_0x200ae1;this[_0x250452(0x94)](_0x1e7ca5[_0x250452(0xa0)],_0x3f7e43);}),_0x1e7ca5[_0x200ae1(0x80)](typeof _0x3f7e43,_0x1e7ca5[_0x200ae1(0x9c)])?this[_0x200ae1(0x95)](_0x3f7e43['level']||LOG_LEVELS[_0x200ae1(0x89)],_0x3f7e43[_0x200ae1(0x7c)],![]):this[_0x200ae1(0x95)](LOG_LEVELS[_0x200ae1(0x89)],_0x3f7e43),_0x246038&&_0x1e7ca5[_0x200ae1(0x9e)](_0x246038);}[a51_0x2574c7(0x95)]=(_0x141bcf=LOG_LEVELS[a51_0x2574c7(0x89)],_0x2a43b1='',_0x4115ec=!![])=>{const _0x4a1596=a51_0x2574c7,_0x406374={};_0x406374[_0x4a1596(0x84)]=_0x4a1596(0x8e);const _0x2211a2=_0x406374;_0x4115ec&&consoleHolder[_0x141bcf[_0x4a1596(0x96)]()](_0x2a43b1),process['emit'](_0x4a1596(0x9a)+process[_0x4a1596(0x99)],{'timestamp':new Date()[_0x4a1596(0x88)](),'level':_0x141bcf[_0x4a1596(0x8b)](),'message':_0x2a43b1,'kind':_0x2211a2[_0x4a1596(0x84)],'http_response':{}});};[a51_0x2574c7(0x8d)]=(_0x4fc6af,_0x149ac2)=>{const _0x291f19=a51_0x2574c7;this[_0x291f19(0x95)](LOG_LEVELS['TRACE'],_0x4fc6af);};[a51_0x2574c7(0x8f)]=(_0x2886dd,_0x4c8aec)=>{const _0x137881=a51_0x2574c7;this[_0x137881(0x95)](LOG_LEVELS[_0x137881(0x82)],_0x2886dd);};[a51_0x2574c7(0x98)]=(_0x4c2879,_0x24b669)=>{const _0x33cf30=a51_0x2574c7;this[_0x33cf30(0x95)](LOG_LEVELS[_0x33cf30(0x89)],_0x4c2879);};[a51_0x2574c7(0x9b)]=(_0x326eb8,_0x31caee)=>{const _0x268ad6=a51_0x2574c7;this[_0x268ad6(0x95)](LOG_LEVELS[_0x268ad6(0x93)],_0x326eb8);};[a51_0x2574c7(0x7d)]=(_0x394080,_0x9e1a5c)=>{const _0x3f385b=a51_0x2574c7;this[_0x3f385b(0x95)](LOG_LEVELS[_0x3f385b(0x90)],_0x394080);};}function a51_0x24b1(_0x47c22b,_0x18b7e7){const _0x5cdbad=a51_0x5cdb();return a51_0x24b1=function(_0x24b18c,_0x17c36b){_0x24b18c=_0x24b18c-0x7a;let _0x60e1=_0x5cdbad[_0x24b18c];return _0x60e1;},a51_0x24b1(_0x47c22b,_0x18b7e7);};module[a51_0x2574c7(0x86)]=logReportingAPI;
1
+ const a52_0x33eca4=a52_0x5606;(function(_0x582eb0,_0x20b4fa){const _0x51e185=a52_0x5606,_0x182e87=_0x582eb0();while(!![]){try{const _0xefb01f=-parseInt(_0x51e185(0x17a))/0x1*(-parseInt(_0x51e185(0x19c))/0x2)+parseInt(_0x51e185(0x19b))/0x3*(parseInt(_0x51e185(0x180))/0x4)+parseInt(_0x51e185(0x18b))/0x5*(parseInt(_0x51e185(0x187))/0x6)+-parseInt(_0x51e185(0x184))/0x7*(-parseInt(_0x51e185(0x179))/0x8)+parseInt(_0x51e185(0x17e))/0x9*(parseInt(_0x51e185(0x192))/0xa)+parseInt(_0x51e185(0x183))/0xb*(-parseInt(_0x51e185(0x18c))/0xc)+-parseInt(_0x51e185(0x19d))/0xd;if(_0xefb01f===_0x20b4fa)break;else _0x182e87['push'](_0x182e87['shift']());}catch(_0x24a59c){_0x182e87['push'](_0x182e87['shift']());}}}(a52_0x23ad,0x76524));function a52_0x5606(_0x5a8709,_0x5c1e19){const _0x23ad98=a52_0x23ad();return a52_0x5606=function(_0x5606bc,_0x2604db){_0x5606bc=_0x5606bc-0x179;let _0x3f5325=_0x23ad98[_0x5606bc];return _0x3f5325;},a52_0x5606(_0x5a8709,_0x5c1e19);}const Transport=require(a52_0x33eca4(0x181)),{consoleHolder}=require(a52_0x33eca4(0x18d)),a52_0x44187b={};function a52_0x23ad(){const _0x5a9a74=['5eJwkiX','ERROR','error','TRACE','1848645WxdKVU','emit','40VGSRMl','winston-transport','logToTestOps','6259VnpMbk','464793Tixcrg','INFO','exports','3005478NklCEA','warn','message','pid','5echqDp','4596RZJvcS','../../helpers/test-observability/constants','dstkl','fhJfc','level','DEBUG','40XmmjZf','oQxxr','trace','WARN','info','debug','toUpperCase','toLowerCase','toISOString','27498bBFGYY','60086oMDSCQ','22425312xIBMnq','104rdFdsx'];a52_0x23ad=function(){return _0x5a9a74;};return a52_0x23ad();}a52_0x44187b[a52_0x33eca4(0x185)]=a52_0x33eca4(0x185),a52_0x44187b[a52_0x33eca4(0x17b)]=a52_0x33eca4(0x17b),a52_0x44187b['DEBUG']=a52_0x33eca4(0x191),a52_0x44187b[a52_0x33eca4(0x17d)]='TRACE',a52_0x44187b[a52_0x33eca4(0x195)]=a52_0x33eca4(0x195);const LOG_LEVELS=a52_0x44187b;class logReportingAPI extends Transport{constructor(_0x2a0eda){super(_0x2a0eda);}['log'](_0x366e66,_0x535368){const _0x186758=a52_0x33eca4,_0x2a048d={'fhJfc':'logged','gWABN':function(_0x20d948,_0x14f993){return _0x20d948(_0x14f993);},'dstkl':function(_0x438202,_0x370c3a){return _0x438202===_0x370c3a;},'oQxxr':'object','hASJt':function(_0x456405){return _0x456405();}};_0x2a048d['gWABN'](setImmediate,()=>{const _0x476a1b=a52_0x5606;this['emit'](_0x2a048d[_0x476a1b(0x18f)],_0x366e66);}),_0x2a048d[_0x186758(0x18e)](typeof _0x366e66,_0x2a048d[_0x186758(0x193)])?this['logToTestOps'](_0x366e66[_0x186758(0x190)]||LOG_LEVELS[_0x186758(0x185)],_0x366e66[_0x186758(0x189)],![]):this[_0x186758(0x182)](LOG_LEVELS[_0x186758(0x185)],_0x366e66),_0x535368&&_0x2a048d['hASJt'](_0x535368);}['logToTestOps']=(_0x564dd9=LOG_LEVELS[a52_0x33eca4(0x185)],_0x38a68f='',_0x1333d9=!![])=>{const _0x75de73=a52_0x33eca4,_0xcedf07={};_0xcedf07['jHGjk']='TEST_LOG';const _0x230768=_0xcedf07;_0x1333d9&&consoleHolder[_0x564dd9[_0x75de73(0x199)]()](_0x38a68f),process[_0x75de73(0x17f)]('bs:addLog:'+process[_0x75de73(0x18a)],{'timestamp':new Date()[_0x75de73(0x19a)](),'level':_0x564dd9[_0x75de73(0x198)](),'message':_0x38a68f,'kind':_0x230768['jHGjk'],'http_response':{}});};[a52_0x33eca4(0x194)]=(_0x218deb,_0x3d25b7)=>{const _0x58b93e=a52_0x33eca4;this[_0x58b93e(0x182)](LOG_LEVELS[_0x58b93e(0x17d)],_0x218deb);};[a52_0x33eca4(0x197)]=(_0x191c14,_0x2fc1f2)=>{const _0x23d6a9=a52_0x33eca4;this[_0x23d6a9(0x182)](LOG_LEVELS[_0x23d6a9(0x191)],_0x191c14);};[a52_0x33eca4(0x196)]=(_0x3b75ca,_0x5cf652)=>{const _0x64e67b=a52_0x33eca4;this['logToTestOps'](LOG_LEVELS[_0x64e67b(0x185)],_0x3b75ca);};[a52_0x33eca4(0x188)]=(_0x5b3419,_0x6b3607)=>{const _0x1b7ac1=a52_0x33eca4;this[_0x1b7ac1(0x182)](LOG_LEVELS['WARN'],_0x5b3419);};[a52_0x33eca4(0x17c)]=(_0x24918c,_0x5d017a)=>{const _0x3cf6c7=a52_0x33eca4;this[_0x3cf6c7(0x182)](LOG_LEVELS[_0x3cf6c7(0x17b)],_0x24918c);};};module[a52_0x33eca4(0x186)]=logReportingAPI;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a52_0x2dd426=a52_0x3b6a;(function(_0x29f962,_0x55b75d){const _0x5e120a=a52_0x3b6a,_0x3c504c=_0x29f962();while(!![]){try{const _0x15fca3=-parseInt(_0x5e120a(0xc3))/0x1*(parseInt(_0x5e120a(0x9b))/0x2)+parseInt(_0x5e120a(0x9c))/0x3*(parseInt(_0x5e120a(0xb5))/0x4)+parseInt(_0x5e120a(0xc1))/0x5+-parseInt(_0x5e120a(0xa2))/0x6+-parseInt(_0x5e120a(0xa7))/0x7*(-parseInt(_0x5e120a(0xc8))/0x8)+-parseInt(_0x5e120a(0xbf))/0x9*(parseInt(_0x5e120a(0xc6))/0xa)+-parseInt(_0x5e120a(0x9f))/0xb;if(_0x15fca3===_0x55b75d)break;else _0x3c504c['push'](_0x3c504c['shift']());}catch(_0x246c0e){_0x3c504c['push'](_0x3c504c['shift']());}}}(a52_0x4141,0x33788));function a52_0x3b6a(_0x29794b,_0x229ab1){const _0x414164=a52_0x4141();return a52_0x3b6a=function(_0x3b6a0e,_0x24acc9){_0x3b6a0e=_0x3b6a0e-0x9b;let _0x521926=_0x414164[_0x3b6a0e];return _0x521926;},a52_0x3b6a(_0x29794b,_0x229ab1);}const fs=require('fs'),path=require(a52_0x2dd426(0xb7)),logger=require(a52_0x2dd426(0xbb))[a52_0x2dd426(0xbe)],{default:BrowserStackSetup}=require(a52_0x2dd426(0x9e)),helper=require(a52_0x2dd426(0xa9)),constants=require('../utils/constants'),{parallelVanillaRun}=require(a52_0x2dd426(0xb4));function a52_0x4141(){const _0x27ae1d=['vanilla','then','modifyBrowserStackCaps','initialize','hvdRk','OShpU','cwd','platforms','../test-runner','4180VDNFiR','exports','path','\x20doesn\x27t\x20exist','useW3C','args','../../helpers/logger','VBUAx','config','winstonLogger','27CtBPHO','existsSync','321090xUMFkv','parallelsPerPlatform','6186EfZfEX','tjfly','dPAAW','603030rFGhGN','markSDKSetupComplete','8QiTNti','configuration','26FxvWhI','1167AdsYoL','handleApp','../../helpers/BrowserStackSetup','1154593KSoEtI','push','File\x20path\x20is\x20required','1751202nZGglU','forEach','getHubUrl','YWjUh','proxySettings','2787806uWVAaQ','file','../../helpers/helper','join','XLUFZ'];a52_0x4141=function(){return _0x27ae1d;};return a52_0x4141();}async function run(_0x163a81,_0x132176){const _0x33f58f=a52_0x2dd426,_0x5b172d={'XLUFZ':_0x33f58f(0xac),'hvdRk':function(_0x60994e,_0x691602){return _0x60994e(_0x691602);},'dPAAW':_0x33f58f(0xa1),'OShpU':'Config\x20yml\x20is\x20required','VBUAx':function(_0x9aac90,_0x1c0c82){return _0x9aac90>_0x1c0c82;},'tjfly':function(_0x312bef,_0xca792f){return _0x312bef*_0xca792f;},'YWjUh':function(_0x448aaf,_0x401b49,_0xe93b1b){return _0x448aaf(_0x401b49,_0xe93b1b);}},_0x292999=new BrowserStackSetup(_0x163a81,_0x5b172d[_0x33f58f(0xab)]);await _0x292999[_0x33f58f(0xaf)](),await helper[_0x33f58f(0x9d)](_0x292999[_0x33f58f(0xbd)]);const _0x167343=[];if(helper['isUndefined'](_0x163a81['_'][0x1]))throw _0x5b172d['hvdRk'](Error,_0x5b172d[_0x33f58f(0xc5)]);const _0x1e3330=path[_0x33f58f(0xaa)](process[_0x33f58f(0xb2)](),_0x163a81['_'][0x1]);if(!fs[_0x33f58f(0xc0)](_0x1e3330))throw _0x5b172d[_0x33f58f(0xb0)](Error,'File\x20'+_0x163a81['_'][0x1]+_0x33f58f(0xb8));if(!_0x292999['config'])throw _0x5b172d[_0x33f58f(0xb0)](Error,_0x5b172d[_0x33f58f(0xb1)]);const _0x2efae9=helper[_0x33f58f(0xb9)](_0x292999[_0x33f58f(0xbd)]);_0x292999['config'][_0x33f58f(0xb3)]&&_0x5b172d['VBUAx'](_0x292999[_0x33f58f(0xbd)]['platforms']['length'],0x0)&&_0x292999[_0x33f58f(0xbd)][_0x33f58f(0xb3)][_0x33f58f(0xa3)]((_0xc62fdd,_0x18e552)=>{const _0x95a355=_0x33f58f;_0x2efae9?_0x167343[_0x95a355(0xa0)](helper['modifyBrowserStackW3CCaps'](_0x292999[_0x95a355(0xbd)],_0x5b172d['XLUFZ'],_0x18e552)):_0x167343[_0x95a355(0xa0)](helper['modifyBrowserStackCaps'](_0x292999[_0x95a355(0xbd)],_0x5b172d[_0x95a355(0xab)],_0x18e552));});let _0x5cb50d,_0x29632a;const _0x1440c2=[];if(_0x5b172d[_0x33f58f(0xbc)](_0x167343['length'],0x0))_0x167343[_0x33f58f(0xa3)]((_0x9821c7,_0x34f07e)=>{const _0x1f13e4=_0x33f58f;_0x5cb50d={'server':helper['getHubUrl'](_0x292999[_0x1f13e4(0xbd)]),'proxySettings':_0x292999['config'][_0x1f13e4(0xa6)],'platform':helper['getPlatformName'](_0x9821c7),'platformCaps':_0x292999[_0x1f13e4(0xbd)][_0x1f13e4(0xb3)][_0x34f07e]};const _0x37b7b0={'capability':_0x9821c7,..._0x5cb50d};_0x37b7b0[_0x1f13e4(0xa8)]=_0x1e3330,_0x37b7b0[_0x1f13e4(0xba)]=_0x132176;const _0xbe11a1={};_0xbe11a1[_0x1f13e4(0xc9)]=_0x37b7b0,_0x29632a=_0xbe11a1,_0x1440c2[_0x1f13e4(0xa0)](_0x29632a);});else{let _0x3a47ee;_0x2efae9?_0x3a47ee=helper['modifyBrowserStackW3CCaps'](_0x292999[_0x33f58f(0xbd)],_0x5b172d[_0x33f58f(0xab)],0x0):_0x3a47ee=helper[_0x33f58f(0xae)](_0x292999[_0x33f58f(0xbd)],_0x5b172d[_0x33f58f(0xab)],0x0);_0x5cb50d={'server':helper[_0x33f58f(0xa4)](_0x292999[_0x33f58f(0xbd)]),'proxySettings':_0x292999[_0x33f58f(0xbd)][_0x33f58f(0xa6)]};const _0x26b424={'capability':_0x3a47ee,..._0x5cb50d};_0x26b424[_0x33f58f(0xa8)]=_0x1e3330,_0x26b424[_0x33f58f(0xba)]=_0x132176;const _0x1328cc={};_0x1328cc[_0x33f58f(0xc9)]=_0x26b424,_0x29632a=_0x1328cc,_0x1440c2[_0x33f58f(0xa0)](_0x29632a);}const _0xc0036f=_0x5b172d[_0x33f58f(0xc4)](_0x292999[_0x33f58f(0xbd)][_0x33f58f(0xb3)]['length']||0x1,_0x292999[_0x33f58f(0xbd)][_0x33f58f(0xc2)]||0x1);helper[_0x33f58f(0xc7)](),_0x5b172d[_0x33f58f(0xa5)](parallelVanillaRun,_0x1440c2,_0xc0036f)[_0x33f58f(0xad)](_0x3fb63b=>{})['finally'](async()=>{await helper['finalExecution'](_0x292999);});}module[a52_0x2dd426(0xb6)]=run;
2
+ 'use strict';const a53_0xceb321=a53_0x123c;function a53_0x123c(_0x4f9bcb,_0x58704a){const _0x27991b=a53_0x2799();return a53_0x123c=function(_0x123cf7,_0x1cb9ea){_0x123cf7=_0x123cf7-0x11a;let _0xbafde3=_0x27991b[_0x123cf7];return _0xbafde3;},a53_0x123c(_0x4f9bcb,_0x58704a);}(function(_0x388316,_0x170c7f){const _0x10cae6=a53_0x123c,_0x4343b5=_0x388316();while(!![]){try{const _0x5bef22=-parseInt(_0x10cae6(0x140))/0x1*(-parseInt(_0x10cae6(0x12e))/0x2)+-parseInt(_0x10cae6(0x148))/0x3*(parseInt(_0x10cae6(0x136))/0x4)+parseInt(_0x10cae6(0x125))/0x5*(-parseInt(_0x10cae6(0x13e))/0x6)+parseInt(_0x10cae6(0x134))/0x7+-parseInt(_0x10cae6(0x146))/0x8+-parseInt(_0x10cae6(0x11f))/0x9+parseInt(_0x10cae6(0x11a))/0xa*(parseInt(_0x10cae6(0x12c))/0xb);if(_0x5bef22===_0x170c7f)break;else _0x4343b5['push'](_0x4343b5['shift']());}catch(_0x30b2c9){_0x4343b5['push'](_0x4343b5['shift']());}}}(a53_0x2799,0xe1b19));function a53_0x2799(){const _0x3955c7=['then','296XVSICv','yGPrp','../test-runner','Config\x20yml\x20is\x20required','forEach','ecQnV','7835863HYzfym','proxySettings','112fkPoOu','File\x20','modifyBrowserStackCaps','length','../../helpers/logger','DTOea','../../helpers/helper','vlCRe','6mwNLkr','exports','5645OEFPtK','push','wdUen','parallelsPerPlatform','vanilla','finally','2465832XnfBTW','useW3C','58674vNoVtm','10FRWHgD','initialize','file','sqlzv','TAfFZ','13288374uBhzRt','finalExecution','join','getHubUrl','platforms','cwd','3888350RkyNtB','File\x20path\x20is\x20required','kTfpq','\x20doesn\x27t\x20exist','config','args','isUndefined','22875391AGSYrb'];a53_0x2799=function(){return _0x3955c7;};return a53_0x2799();}const fs=require('fs'),path=require('path'),logger=require(a53_0xceb321(0x13a))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a53_0xceb321(0x13c)),constants=require('../utils/constants'),{parallelVanillaRun}=require(a53_0xceb321(0x130));async function run(_0xc5ef4e,_0x4018ad){const _0x343dd6=a53_0xceb321,_0x31a855={'DTOea':_0x343dd6(0x144),'TAfFZ':function(_0x497a0c,_0x540248){return _0x497a0c(_0x540248);},'vlCRe':_0x343dd6(0x126),'ecQnV':function(_0x836ab6,_0x39e7f7){return _0x836ab6(_0x39e7f7);},'OcwuZ':function(_0x5d3b20,_0x11d35a){return _0x5d3b20(_0x11d35a);},'kTfpq':_0x343dd6(0x131),'wdUen':function(_0x1fbfaf,_0x2bc9c9){return _0x1fbfaf>_0x2bc9c9;},'nOGCN':function(_0x5f26c1,_0x5e3984){return _0x5f26c1>_0x5e3984;},'yGPrp':function(_0x164daa,_0x2f9b2d){return _0x164daa*_0x2f9b2d;},'sqlzv':function(_0x14458f,_0x2d7d3a,_0x2a31a5){return _0x14458f(_0x2d7d3a,_0x2a31a5);}},_0x55032a=new BrowserStackSetup(_0xc5ef4e,_0x31a855[_0x343dd6(0x13b)]);await _0x55032a[_0x343dd6(0x11b)](),await helper['handleApp'](_0x55032a[_0x343dd6(0x129)]);const _0x35b141=[];if(helper[_0x343dd6(0x12b)](_0xc5ef4e['_'][0x1]))throw _0x31a855[_0x343dd6(0x11e)](Error,_0x31a855[_0x343dd6(0x13d)]);const _0x1a22b8=path[_0x343dd6(0x121)](process[_0x343dd6(0x124)](),_0xc5ef4e['_'][0x1]);if(!fs['existsSync'](_0x1a22b8))throw _0x31a855[_0x343dd6(0x133)](Error,_0x343dd6(0x137)+_0xc5ef4e['_'][0x1]+_0x343dd6(0x128));if(!_0x55032a[_0x343dd6(0x129)])throw _0x31a855['OcwuZ'](Error,_0x31a855[_0x343dd6(0x127)]);const _0xd9733a=helper[_0x343dd6(0x147)](_0x55032a[_0x343dd6(0x129)]);_0x55032a[_0x343dd6(0x129)][_0x343dd6(0x123)]&&_0x31a855[_0x343dd6(0x142)](_0x55032a['config']['platforms'][_0x343dd6(0x139)],0x0)&&_0x55032a['config'][_0x343dd6(0x123)][_0x343dd6(0x132)]((_0x52fb81,_0x4f2007)=>{const _0x4425c7=_0x343dd6;_0xd9733a?_0x35b141[_0x4425c7(0x141)](helper['modifyBrowserStackW3CCaps'](_0x55032a['config'],_0x31a855['DTOea'],_0x4f2007)):_0x35b141[_0x4425c7(0x141)](helper[_0x4425c7(0x138)](_0x55032a[_0x4425c7(0x129)],_0x31a855[_0x4425c7(0x13b)],_0x4f2007));});let _0x44316b,_0x1e50bf;const _0x19cf85=[];if(_0x31a855['nOGCN'](_0x35b141[_0x343dd6(0x139)],0x0))_0x35b141[_0x343dd6(0x132)]((_0x3c7b13,_0x307e16)=>{const _0x208e7d=_0x343dd6;_0x44316b={'server':helper[_0x208e7d(0x122)](_0x55032a['config']),'proxySettings':_0x55032a[_0x208e7d(0x129)][_0x208e7d(0x135)],'platform':helper['getPlatformName'](_0x3c7b13),'platformCaps':_0x55032a[_0x208e7d(0x129)][_0x208e7d(0x123)][_0x307e16]};const _0x5e18e3={'capability':_0x3c7b13,..._0x44316b};_0x5e18e3[_0x208e7d(0x11c)]=_0x1a22b8,_0x5e18e3['args']=_0x4018ad;const _0x2e66d5={};_0x2e66d5['configuration']=_0x5e18e3,_0x1e50bf=_0x2e66d5,_0x19cf85[_0x208e7d(0x141)](_0x1e50bf);});else{let _0x5ef073;_0xd9733a?_0x5ef073=helper['modifyBrowserStackW3CCaps'](_0x55032a[_0x343dd6(0x129)],_0x31a855['DTOea'],0x0):_0x5ef073=helper['modifyBrowserStackCaps'](_0x55032a[_0x343dd6(0x129)],_0x31a855[_0x343dd6(0x13b)],0x0);_0x44316b={'server':helper['getHubUrl'](_0x55032a[_0x343dd6(0x129)]),'proxySettings':_0x55032a[_0x343dd6(0x129)]['proxySettings']};const _0x13f5ab={'capability':_0x5ef073,..._0x44316b};_0x13f5ab[_0x343dd6(0x11c)]=_0x1a22b8,_0x13f5ab[_0x343dd6(0x12a)]=_0x4018ad;const _0x25bed5={};_0x25bed5['configuration']=_0x13f5ab,_0x1e50bf=_0x25bed5,_0x19cf85['push'](_0x1e50bf);}const _0x17c023=_0x31a855[_0x343dd6(0x12f)](_0x55032a['config']['platforms'][_0x343dd6(0x139)]||0x1,_0x55032a[_0x343dd6(0x129)][_0x343dd6(0x143)]||0x1);helper['markSDKSetupComplete'](),_0x31a855[_0x343dd6(0x11d)](parallelVanillaRun,_0x19cf85,_0x17c023)[_0x343dd6(0x12d)](_0x43e343=>{})[_0x343dd6(0x145)](async()=>{const _0x552283=_0x343dd6;await helper[_0x552283(0x120)](_0x55032a);});}module[a53_0xceb321(0x13f)]=run;
@@ -1 +1 @@
1
- const a53_0x20f502=a53_0x52a8;function a53_0x52a8(_0x1d93c0,_0x50e828){const _0x11f381=a53_0x11f3();return a53_0x52a8=function(_0x52a815,_0x17cfd6){_0x52a815=_0x52a815-0xc4;let _0x3c5dcc=_0x11f381[_0x52a815];return _0x3c5dcc;},a53_0x52a8(_0x1d93c0,_0x50e828);}(function(_0x2d5836,_0x44592f){const _0x206746=a53_0x52a8,_0x1b59af=_0x2d5836();while(!![]){try{const _0xb18b0f=parseInt(_0x206746(0xc4))/0x1*(-parseInt(_0x206746(0xd9))/0x2)+parseInt(_0x206746(0xe5))/0x3+parseInt(_0x206746(0xd5))/0x4*(parseInt(_0x206746(0xdd))/0x5)+parseInt(_0x206746(0xd2))/0x6+parseInt(_0x206746(0xe0))/0x7+parseInt(_0x206746(0xcd))/0x8+parseInt(_0x206746(0xc6))/0x9*(-parseInt(_0x206746(0xcc))/0xa);if(_0xb18b0f===_0x44592f)break;else _0x1b59af['push'](_0x1b59af['shift']());}catch(_0xf2c81f){_0x1b59af['push'](_0x1b59af['shift']());}}}(a53_0x11f3,0xc9db7));function a53_0x11f3(){const _0x3bc1f5=['aqxeh','browser','TLHPq','PgaVU','bEpvS','10OgatFv','8366072tdcHTb','yDPmw','platform_version','Bucox','device','2891334seWMzr','customVariables','browser_version','112UzOWCx','browserName','fvElM','platformVersion','410038imnIzI','exports','__platformCaps','os_version','64945KmCQWz','yEZNG','rDFwU','598703MQZFqG','XDNtE','iaENz','getCurrentPlatform','deviceName','986781KpphaD','CFwwl','platformName','1vxODEb','osVersion','11465730saYQjY'];a53_0x11f3=function(){return _0x3bc1f5;};return a53_0x11f3();}class BrowserStackSdk{static[a53_0x20f502(0xe3)](){const _0x31eddf=a53_0x20f502,_0x432e77={};_0x432e77['uusWN']=_0x31eddf(0xdc),_0x432e77[_0x31eddf(0xe6)]=_0x31eddf(0xc5),_0x432e77[_0x31eddf(0xca)]=_0x31eddf(0xc8),_0x432e77[_0x31eddf(0xc9)]=_0x31eddf(0xd6),_0x432e77[_0x31eddf(0xe1)]=_0x31eddf(0xd4),_0x432e77[_0x31eddf(0xde)]='browserVersion',_0x432e77['iaENz']=_0x31eddf(0xd1),_0x432e77['Bucox']=_0x31eddf(0xe4),_0x432e77[_0x31eddf(0xdf)]='platform',_0x432e77['bEpvS']=_0x31eddf(0xe7),_0x432e77[_0x31eddf(0xc7)]=_0x31eddf(0xcf),_0x432e77['fvElM']=_0x31eddf(0xd8),_0x432e77[_0x31eddf(0xce)]=_0x31eddf(0xd3);const _0x1d3ddf=_0x432e77,_0x35bdb4={};if(global[_0x31eddf(0xdb)]){const _0x44feea=global['__platformCaps'],_0x228dae=_0x44feea[_0x1d3ddf['uusWN']]||_0x44feea[_0x1d3ddf[_0x31eddf(0xe6)]],_0x3a0593=_0x44feea[_0x1d3ddf['PgaVU']]||_0x44feea[_0x1d3ddf[_0x31eddf(0xc9)]],_0x59ea30=_0x44feea[_0x1d3ddf[_0x31eddf(0xe1)]]||_0x44feea[_0x1d3ddf['yEZNG']],_0x3704f2=_0x44feea[_0x1d3ddf[_0x31eddf(0xe2)]]||_0x44feea[_0x1d3ddf[_0x31eddf(0xd0)]],_0x23179b=_0x44feea[_0x1d3ddf['rDFwU']]||_0x44feea[_0x1d3ddf[_0x31eddf(0xcb)]],_0xf506ac=_0x44feea[_0x1d3ddf[_0x31eddf(0xc7)]]||_0x44feea[_0x1d3ddf[_0x31eddf(0xd7)]];_0x44feea['os']&&(_0x35bdb4['os']=_0x44feea['os']),_0x228dae&&(_0x35bdb4[_0x1d3ddf[_0x31eddf(0xe6)]]=_0x228dae),_0x3a0593&&(_0x35bdb4[_0x1d3ddf[_0x31eddf(0xc9)]]=_0x3a0593),_0x59ea30&&(_0x35bdb4[_0x1d3ddf[_0x31eddf(0xde)]]=_0x59ea30),_0x3704f2&&(_0x35bdb4[_0x1d3ddf[_0x31eddf(0xd0)]]=_0x3704f2),_0x23179b&&(_0x35bdb4[_0x1d3ddf[_0x31eddf(0xcb)]]=_0x23179b),_0xf506ac&&(_0x35bdb4[_0x1d3ddf['fvElM']]=_0xf506ac),_0x44feea[_0x1d3ddf[_0x31eddf(0xce)]]&&(_0x35bdb4[_0x1d3ddf['yDPmw']]=_0x44feea[_0x1d3ddf[_0x31eddf(0xce)]]);}return _0x35bdb4;}}module[a53_0x20f502(0xda)]=BrowserStackSdk;
1
+ const a54_0x3c7c54=a54_0x15f8;(function(_0x13544b,_0x3c9be3){const _0x3a4a98=a54_0x15f8,_0x28d6c5=_0x13544b();while(!![]){try{const _0x2fe7f6=parseInt(_0x3a4a98(0x1c2))/0x1+parseInt(_0x3a4a98(0x1c8))/0x2*(-parseInt(_0x3a4a98(0x1cf))/0x3)+-parseInt(_0x3a4a98(0x1c9))/0x4+parseInt(_0x3a4a98(0x1c0))/0x5+-parseInt(_0x3a4a98(0x1bd))/0x6*(-parseInt(_0x3a4a98(0x1cb))/0x7)+-parseInt(_0x3a4a98(0x1bf))/0x8+parseInt(_0x3a4a98(0x1b7))/0x9*(parseInt(_0x3a4a98(0x1c5))/0xa);if(_0x2fe7f6===_0x3c9be3)break;else _0x28d6c5['push'](_0x28d6c5['shift']());}catch(_0x12e7ba){_0x28d6c5['push'](_0x28d6c5['shift']());}}}(a54_0x1e04,0xca0a1));function a54_0x15f8(_0x378c2e,_0x342aa1){const _0x1e04e1=a54_0x1e04();return a54_0x15f8=function(_0x15f83b,_0x2b186e){_0x15f83b=_0x15f83b-0x1ac;let _0x517180=_0x1e04e1[_0x15f83b];return _0x517180;},a54_0x15f8(_0x378c2e,_0x342aa1);}class BrowserStackSdk{static[a54_0x3c7c54(0x1c3)](){const _0x2f0f07=a54_0x3c7c54,_0x34a3a4={};_0x34a3a4[_0x2f0f07(0x1bb)]=_0x2f0f07(0x1cd),_0x34a3a4[_0x2f0f07(0x1c7)]=_0x2f0f07(0x1c1),_0x34a3a4[_0x2f0f07(0x1b5)]='browser',_0x34a3a4[_0x2f0f07(0x1ce)]=_0x2f0f07(0x1cc),_0x34a3a4['hGUdq']=_0x2f0f07(0x1b2),_0x34a3a4[_0x2f0f07(0x1be)]=_0x2f0f07(0x1bc),_0x34a3a4[_0x2f0f07(0x1b0)]=_0x2f0f07(0x1d0),_0x34a3a4[_0x2f0f07(0x1b8)]=_0x2f0f07(0x1ad),_0x34a3a4[_0x2f0f07(0x1af)]='platform',_0x34a3a4[_0x2f0f07(0x1ac)]=_0x2f0f07(0x1b1),_0x34a3a4[_0x2f0f07(0x1b4)]=_0x2f0f07(0x1ae),_0x34a3a4[_0x2f0f07(0x1c4)]=_0x2f0f07(0x1b6),_0x34a3a4[_0x2f0f07(0x1b3)]=_0x2f0f07(0x1ba);const _0x6e12f2=_0x34a3a4,_0x1855dc={};if(global[_0x2f0f07(0x1ca)]){const _0x53b345=global['__platformCaps'],_0x1ae2e5=_0x53b345[_0x6e12f2[_0x2f0f07(0x1bb)]]||_0x53b345[_0x6e12f2[_0x2f0f07(0x1c7)]],_0x12f1db=_0x53b345[_0x6e12f2['pptJn']]||_0x53b345[_0x6e12f2[_0x2f0f07(0x1ce)]],_0x2ed6ba=_0x53b345[_0x6e12f2[_0x2f0f07(0x1c6)]]||_0x53b345[_0x6e12f2[_0x2f0f07(0x1be)]],_0x1ce818=_0x53b345[_0x6e12f2[_0x2f0f07(0x1b0)]]||_0x53b345[_0x6e12f2[_0x2f0f07(0x1b8)]],_0x403f0c=_0x53b345[_0x6e12f2[_0x2f0f07(0x1af)]]||_0x53b345[_0x6e12f2[_0x2f0f07(0x1ac)]],_0x1df75d=_0x53b345[_0x6e12f2['ZVyMr']]||_0x53b345[_0x6e12f2[_0x2f0f07(0x1c4)]];_0x53b345['os']&&(_0x1855dc['os']=_0x53b345['os']),_0x1ae2e5&&(_0x1855dc[_0x6e12f2['LVTaD']]=_0x1ae2e5),_0x12f1db&&(_0x1855dc[_0x6e12f2[_0x2f0f07(0x1ce)]]=_0x12f1db),_0x2ed6ba&&(_0x1855dc[_0x6e12f2[_0x2f0f07(0x1be)]]=_0x2ed6ba),_0x1ce818&&(_0x1855dc[_0x6e12f2[_0x2f0f07(0x1b8)]]=_0x1ce818),_0x403f0c&&(_0x1855dc[_0x6e12f2[_0x2f0f07(0x1ac)]]=_0x403f0c),_0x1df75d&&(_0x1855dc[_0x6e12f2['rxsPb']]=_0x1df75d),_0x53b345[_0x6e12f2[_0x2f0f07(0x1b3)]]&&(_0x1855dc[_0x6e12f2[_0x2f0f07(0x1b3)]]=_0x53b345[_0x6e12f2[_0x2f0f07(0x1b3)]]);}return _0x1855dc;}}function a54_0x1e04(){const _0x1a1c88=['270870vEmoCB','hGUdq','LVTaD','172uqJYKK','1902096sKAfIk','__platformCaps','257362BiwSWW','browserName','os_version','ZqImR','42621ENawIl','device','eoaVD','deviceName','platform_version','jZCIx','dAnqW','platformName','browser_version','JmqxB','ZVyMr','pptJn','platformVersion','747bYQqnn','SsfLg','exports','customVariables','iWLEi','browserVersion','24JsDiwI','eQveE','10506208GTwkbV','1685560dcWiEb','osVersion','1105758OkdExJ','getCurrentPlatform','rxsPb'];a54_0x1e04=function(){return _0x1a1c88;};return a54_0x1e04();}module[a54_0x3c7c54(0x1b9)]=BrowserStackSdk;
@@ -1 +1 @@
1
- const a54_0x4efd8c=a54_0x1bd8;function a54_0x1bd8(_0x172685,_0xf934d){const _0x3444b1=a54_0x3444();return a54_0x1bd8=function(_0x1bd873,_0x318bf1){_0x1bd873=_0x1bd873-0xc5;let _0xbe378f=_0x3444b1[_0x1bd873];return _0xbe378f;},a54_0x1bd8(_0x172685,_0xf934d);}(function(_0x56c35d,_0x5223c7){const _0x136458=a54_0x1bd8,_0x5660db=_0x56c35d();while(!![]){try{const _0x40ceae=-parseInt(_0x136458(0x161))/0x1+parseInt(_0x136458(0x117))/0x2*(-parseInt(_0x136458(0xcf))/0x3)+-parseInt(_0x136458(0x14d))/0x4*(-parseInt(_0x136458(0x122))/0x5)+parseInt(_0x136458(0xe0))/0x6+parseInt(_0x136458(0x112))/0x7+parseInt(_0x136458(0xf7))/0x8+-parseInt(_0x136458(0x155))/0x9;if(_0x40ceae===_0x5223c7)break;else _0x5660db['push'](_0x5660db['shift']());}catch(_0x21398d){_0x5660db['push'](_0x5660db['shift']());}}}(a54_0x3444,0x2ca30));const util=require('util'),os=require('os'),dotenv=require(a54_0x4efd8c(0xdb)),{v4:uuidv4}=require(a54_0x4efd8c(0x169)),constants=require(a54_0x4efd8c(0x14b)),{isTurboScaleSession}=require('./ats/helper'),logger=require(a54_0x4efd8c(0x15c))[a54_0x4efd8c(0x134)],helper=require(a54_0x4efd8c(0x172)),percyHelper=require(a54_0x4efd8c(0x137)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a54_0x4efd8c(0x10d)),SessionHandler=require(a54_0x4efd8c(0xc7)),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a54_0x4efd8c(0xff));class BrowserStackSetup{constructor(_0xd6a4b0,_0x5e4955){const _0x1853de=a54_0x4efd8c,_0x4de1fd={'UuXjY':_0x1853de(0x140),'QhHEk':function(_0x4dea78,_0x18c5b6){return _0x4dea78+_0x18c5b6;},'qNJrN':_0x1853de(0x128),'ldtro':_0x1853de(0x142),'codML':_0x1853de(0x126),'JhCCQ':'SIGINT','jnFPQ':_0x1853de(0xf8),'srFvB':_0x1853de(0xf5),'ftTay':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','dQqXG':function(_0x3c21a2,_0x486144){return _0x3c21a2<_0x486144;},'ExOMc':function(_0x5ce936,_0x350bc6){return _0x5ce936(_0x350bc6);},'xTelR':_0x1853de(0x131),'kUikA':function(_0x34fb1b,_0x2e6358){return _0x34fb1b===_0x2e6358;},'TuleH':_0x1853de(0xe3),'sLtWh':_0x1853de(0x133),'bhNot':function(_0x2e2339,_0xc7a969){return _0x2e2339!==_0xc7a969;},'CmtPe':_0x1853de(0x16d),'VjXru':_0x1853de(0xe7),'cvPjR':_0x1853de(0x160),'elazv':_0x1853de(0xfb),'YUiHr':_0x1853de(0x136),'IfSWh':'userName\x20or\x20accessKey\x20is\x20not\x20defined','seUbP':function(_0x502e6e){return _0x502e6e();},'tFnNk':'beforeExit'},_0x7a5277=_0x4de1fd[_0x1853de(0xd4)][_0x1853de(0x13d)]('|');let _0x3e464a=0x0;while(!![]){switch(_0x7a5277[_0x3e464a++]){case'0':if(this[_0x1853de(0x11e)][_0x1853de(0xde)]){logger[_0x1853de(0x143)](_0x4de1fd[_0x1853de(0xe6)](_0x4de1fd[_0x1853de(0x170)],this[_0x1853de(0x11e)][_0x1853de(0xde)]));const _0x3a1719={};_0x3a1719[_0x1853de(0x176)]=this[_0x1853de(0x11e)][_0x1853de(0xde)],dotenv[_0x1853de(0x11e)](_0x3a1719);}else dotenv['config']();continue;case'1':process['on'](_0x4de1fd[_0x1853de(0x165)],this[_0x1853de(0x103)]);continue;case'2':this['percy']=null;continue;case'3':global[_0x1853de(0x11e)]=this[_0x1853de(0x11e)];continue;case'4':this['config'][_0x1853de(0xed)][_0x1853de(0xea)]=!helper[_0x1853de(0xf4)]()||helper['isTrue'](this[_0x1853de(0x11e)][_0x1853de(0xed)][_0x1853de(0xea)]);continue;case'5':global[_0x1853de(0xd8)]=this['sdkRunID'];continue;case'6':this[_0x1853de(0x10b)]=null;continue;case'7':this['intExitHandler']=this['intExitHandler'][_0x1853de(0xdf)](this);continue;case'8':try{process[_0x1853de(0x14f)][_0x1853de(0x15b)]=_0xd6a4b0['_'][0x0],helper[_0x1853de(0x149)](_0x4de1fd[_0x1853de(0x16a)],{},this[_0x1853de(0x11e)],this[_0x1853de(0x119)]);}catch(_0x3936dd){logger[_0x1853de(0x125)](_0x1853de(0x127)+_0x3936dd);}continue;case'9':process['on'](_0x4de1fd[_0x1853de(0x178)],this['intExitHandler']);continue;case'10':global[_0x1853de(0x119)]=_0x5e4955;continue;case'11':this[_0x1853de(0x162)]=null;continue;case'12':this[_0x1853de(0x11d)]=helper[_0x1853de(0x167)]();continue;case'13':helper[_0x1853de(0x109)](this['config'],this[_0x1853de(0xd7)],this[_0x1853de(0x11d)]);continue;case'14':this[_0x1853de(0x11e)]=helper['readConfig'](helper[_0x1853de(0xef)](_0xd6a4b0));continue;case'15':this[_0x1853de(0x119)]=_0x5e4955;continue;case'16':this[_0x1853de(0xc8)]={};continue;case'17':if(this['config'][_0x1853de(0xd0)])throw new Error(this[_0x1853de(0x11e)][_0x1853de(0xd0)]);continue;case'18':!this['config'][_0x1853de(0xed)]&&(this['config'][_0x1853de(0xed)]={});continue;case'19':if(helper['isUndefined'](this[_0x1853de(0x11e)]))throw new Error(_0x4de1fd[_0x1853de(0x12e)]);continue;case'20':(helper['isUndefined'](this[_0x1853de(0x11e)][_0x1853de(0x15d)])||helper[_0x1853de(0x123)](this['config']['platforms'][_0x1853de(0x113)]))&&(helper[_0x1853de(0x123)](this[_0x1853de(0x11e)]['parallelsPerPlatform'])?logger[_0x1853de(0x143)](_0x4de1fd[_0x1853de(0x13a)]):logger['warn'](_0x4de1fd[_0x1853de(0xc6)]),this[_0x1853de(0x11e)][_0x1853de(0x15d)]=[]);continue;case'21':helper['requireSeleniumWebdriverCheck'](_0x5e4955)&&(_0x4de1fd[_0x1853de(0x16c)](_0x4de1fd[_0x1853de(0xfa)](parseInt,helper[_0x1853de(0x15e)](_0x4de1fd[_0x1853de(0x13e)])),0x3)&&(this['config'][_0x1853de(0x129)]=![]),_0x4de1fd[_0x1853de(0x106)](helper[_0x1853de(0xda)](helper[_0x1853de(0x15e)](_0x4de1fd[_0x1853de(0x13e)]),_0x4de1fd[_0x1853de(0x14c)]),0x1)&&(this[_0x1853de(0x11e)][_0x1853de(0x129)]=!![]));continue;case'22':process['on'](_0x4de1fd[_0x1853de(0x12f)],this[_0x1853de(0x103)]);continue;case'23':!this[_0x1853de(0x11e)][_0x1853de(0x108)]&&(this[_0x1853de(0x11e)][_0x1853de(0x108)]=this[_0x1853de(0x11e)][_0x1853de(0x10a)]||{});continue;case'24':!this[_0x1853de(0x11e)]['disableAutoCaptureLogs']&&logger[_0x1853de(0x143)](constants['AUTOLOGCAPTURE_NOTIFICATION']);continue;case'25':helper[_0x1853de(0x102)](this[_0x1853de(0x11e)],this[_0x1853de(0xd7)]);continue;case'26':_0x4de1fd[_0x1853de(0x175)](process[_0x1853de(0x145)],_0x4de1fd[_0x1853de(0x105)])?(process['on'](_0x4de1fd[_0x1853de(0x15a)],this[_0x1853de(0x103)]),process['on'](_0x4de1fd[_0x1853de(0xeb)],this[_0x1853de(0x103)])):process['on'](_0x4de1fd['elazv'],this[_0x1853de(0x103)]);continue;case'27':helper[_0x1853de(0x168)](this[_0x1853de(0x11e)],this['cliConfig'],this[_0x1853de(0x11d)]);continue;case'28':if(_0x4de1fd[_0x1853de(0x106)](_0x5e4955,_0x4de1fd[_0x1853de(0xe4)]))return;continue;case'29':if(helper['isUndefined'](helper['getUserName'](this[_0x1853de(0x11e)]))||helper['isUndefined'](helper[_0x1853de(0xd1)](this[_0x1853de(0x11e)])))throw new Error(_0x4de1fd['IfSWh']);continue;case'30':this[_0x1853de(0x16e)]=[];continue;case'31':this['sdkRunID']=_0x4de1fd[_0x1853de(0x166)](uuidv4);continue;case'32':this[_0x1853de(0x11e)][_0x1853de(0xed)]=this[_0x1853de(0x11e)][_0x1853de(0xed)]||{};continue;case'33':process['on'](_0x4de1fd[_0x1853de(0x14a)],this[_0x1853de(0xd5)]());continue;case'34':this['config']['testContextOptions'][_0x1853de(0x141)]=!helper['isBrowserstackInfra']()||helper[_0x1853de(0x114)](this[_0x1853de(0x11e)][_0x1853de(0xed)][_0x1853de(0x141)]);continue;case'35':this[_0x1853de(0x11e)][_0x1853de(0x15d)]=this['config'][_0x1853de(0x15d)]||[];continue;case'36':helper['sanitizeCaps'](this[_0x1853de(0x11e)]);continue;case'37':process[_0x1853de(0x14f)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x1853de(0x11e)][_0x1853de(0x11c)]=helper[_0x1853de(0x114)](process[_0x1853de(0x14f)][_0x1853de(0x132)]),this[_0x1853de(0x11e)][_0x1853de(0x111)]=this[_0x1853de(0x11e)][_0x1853de(0x111)]||{});continue;case'38':this['handleExceptions']();continue;case'39':this[_0x1853de(0x11e)]['browserStackLocalOptions'][_0x1853de(0x16f)]=helper[_0x1853de(0x114)](this['config']['browserStackLocalOptions'][_0x1853de(0x16f)]);continue;case'40':this[_0x1853de(0xd7)]=helper[_0x1853de(0x148)](_0xd6a4b0);continue;case'41':helper['getLocalConfig'](this[_0x1853de(0x11e)])&&helper[_0x1853de(0x123)](helper[_0x1853de(0xc9)](this['config']))&&(!helper[_0x1853de(0x123)](this['config'][_0x1853de(0x108)])&&_0x4de1fd['kUikA'](this[_0x1853de(0x11e)][_0x1853de(0x108)]['constructor'],Object)?!helper[_0x1853de(0x114)](this['config'][_0x1853de(0x108)][_0x1853de(0x16f)])&&(this['config'][_0x1853de(0x108)]['localIdentifier']=helper[_0x1853de(0x13f)]()):this[_0x1853de(0x11e)][_0x1853de(0x108)]={'localIdentifier':helper[_0x1853de(0x13f)]()});continue;case'42':if(!helper['isBrowserstackInfra']()){try{process['env'][_0x1853de(0x15b)]=_0x5e4955,helper[_0x1853de(0x149)](_0x4de1fd[_0x1853de(0x16a)],{},this['config'],this['framework']);}catch(_0x59a5c3){logger[_0x1853de(0x125)](_0x1853de(0x127)+_0x59a5c3);}return;}continue;}break;}}async[a54_0x4efd8c(0x100)](){const _0x37ef63=a54_0x4efd8c,_0xb5d1b2={'OnvKE':function(_0x305f49,_0x2b8fd2){return _0x305f49(_0x2b8fd2);},'TqXIR':_0x37ef63(0x159),'iZLwL':_0x37ef63(0xd9),'Kmowy':_0x37ef63(0x163),'gSiBs':function(_0x1f0533,_0x2e401d){return _0x1f0533===_0x2e401d;},'Qiyuz':_0x37ef63(0x101),'pKIZo':function(_0x45f9bd,_0x307c50){return _0x45f9bd+_0x307c50;},'uEHWt':_0x37ef63(0x158),'bfQOb':_0x37ef63(0xe1)};if(_0xb5d1b2[_0x37ef63(0x153)](isTurboScaleSession,this[_0x37ef63(0x11e)])){const _0xecb8fa=await helper['getTurboScaleGridDetails'](this[_0x37ef63(0x11e)]);this[_0x37ef63(0x11e)][_0x37ef63(0x12c)]=_0xecb8fa,_0xecb8fa['isTrialGrid']&&(this[_0x37ef63(0x11e)][_0x37ef63(0x162)]=!![],this[_0x37ef63(0x11e)][_0x37ef63(0x108)][_0x37ef63(0x10c)]=_0xb5d1b2[_0x37ef63(0xdc)],this[_0x37ef63(0x11e)][_0x37ef63(0x108)][_0xb5d1b2[_0x37ef63(0xcc)]]=_0xecb8fa['customRepeaters'][_0x37ef63(0x11b)](','),this[_0x37ef63(0x11e)][_0x37ef63(0x108)][_0x37ef63(0x152)]=_0xb5d1b2['Kmowy']),this[_0x37ef63(0x11e)][_0x37ef63(0x150)]=_0xecb8fa['url'],this[_0x37ef63(0x119)]&&_0xb5d1b2['gSiBs'](this[_0x37ef63(0x119)][_0x37ef63(0x171)](),_0xb5d1b2[_0x37ef63(0x135)])&&(this[_0x37ef63(0x11e)][_0x37ef63(0x150)]=_0xb5d1b2[_0x37ef63(0xd2)](_0xecb8fa[_0x37ef63(0x118)],_0xb5d1b2[_0x37ef63(0xdd)])),constants[_0x37ef63(0x164)]=helper['getHubUrl'](this[_0x37ef63(0x11e)]),logger[_0x37ef63(0x125)](_0x37ef63(0xd6)+constants[_0x37ef63(0x164)]);}helper[_0x37ef63(0xfe)](this[_0x37ef63(0x11e)]),this[_0x37ef63(0xcd)](),_0xb5d1b2[_0x37ef63(0x153)](setPercyFlag,this),await this[_0x37ef63(0x107)](),![_0xb5d1b2[_0x37ef63(0x154)]]['includes'](this[_0x37ef63(0x119)])&&!_0xb5d1b2[_0x37ef63(0x153)](isTurboScaleSession,this[_0x37ef63(0x11e)])&&await this[_0x37ef63(0xf6)]();}async[a54_0x4efd8c(0x147)](){const _0x5bad49=a54_0x4efd8c,_0x26fb68={};_0x26fb68[_0x5bad49(0xfc)]=function(_0x34b877,_0x46909e){return _0x34b877===_0x46909e;},_0x26fb68[_0x5bad49(0xf1)]=_0x5bad49(0xf2),_0x26fb68['twbkJ']='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x26fb68[_0x5bad49(0x11a)]=_0x5bad49(0x138),_0x26fb68['gdDOG']=_0x5bad49(0x163),_0x26fb68[_0x5bad49(0x13c)]='beforeExit';const _0x1cdafe=_0x26fb68;if(helper[_0x5bad49(0x114)](this[_0x5bad49(0x11e)][_0x5bad49(0x12d)])&&(!this[_0x5bad49(0x12d)]||!this[_0x5bad49(0x12d)][_0x5bad49(0x13b)]()))try{this[_0x5bad49(0x12d)]=await percyHelper['startPercy'](this['config']);if(!this[_0x5bad49(0x12d)]){process['env'][_0x5bad49(0x116)]=_0x1cdafe[_0x5bad49(0xf1)];throw new Error(_0x1cdafe[_0x5bad49(0x174)]);}logger[_0x5bad49(0x143)](_0x1cdafe['RwdzR']),process[_0x5bad49(0x14f)][_0x5bad49(0x116)]=_0x1cdafe[_0x5bad49(0xc5)];let _0x48d4a8=0x0;const _0x5461fc=async()=>{const _0x1fe18e=_0x5bad49;_0x48d4a8++,_0x1cdafe['QMeEc'](_0x48d4a8,0x1)&&await this[_0x1fe18e(0xee)]();};process['on'](_0x1cdafe[_0x5bad49(0x13c)],_0x5461fc);}catch(_0xfe30dc){process[_0x5bad49(0x14f)][_0x5bad49(0x116)]=_0x1cdafe[_0x5bad49(0xf1)],logger['debug']('Error\x20in\x20percy\x20setup\x20'+_0xfe30dc);throw new Error(_0xfe30dc[_0x5bad49(0xe8)]());}}async[a54_0x4efd8c(0xee)](){const _0x5149aa=a54_0x4efd8c,_0x514a2c={};_0x514a2c[_0x5149aa(0x157)]='Percy\x20stopped',_0x514a2c[_0x5149aa(0x173)]=_0x5149aa(0x130);const _0x30e68a=_0x514a2c;if(this[_0x5149aa(0x12d)]&&this[_0x5149aa(0x12d)]['isRunning']())try{await percyHelper[_0x5149aa(0xee)](this[_0x5149aa(0x12d)]),logger[_0x5149aa(0x143)](_0x30e68a[_0x5149aa(0x157)]);}catch(_0x4588aa){logger[_0x5149aa(0xd0)](_0x30e68a[_0x5149aa(0x173)],_0x4588aa['message']);}}async[a54_0x4efd8c(0x107)](){const _0x49892f=a54_0x4efd8c,_0x315127={};_0x315127[_0x49892f(0xca)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x315127[_0x49892f(0x110)]=_0x49892f(0x12b);const _0x5b0542=_0x315127;if(helper['isBrowserstackInfra']()&&helper['isTrue'](this[_0x49892f(0x11e)][_0x49892f(0x162)])&&(!this[_0x49892f(0x162)]||!this['browserstackLocal'][_0x49892f(0x13b)]()))try{if(this[_0x49892f(0x11e)][_0x49892f(0x108)][_0x49892f(0x16f)]){logger[_0x49892f(0x125)](_0x5b0542[_0x49892f(0xca)]);return;}this['browserstackLocal']=await helper[_0x49892f(0xf3)](this[_0x49892f(0x11e)]),logger['info'](_0x5b0542['QtKdh']);}catch(_0x1bf7a0){logger['debug'](_0x1bf7a0);throw new Error(_0x1bf7a0[_0x49892f(0xe8)]());}}async[a54_0x4efd8c(0x151)](){const _0x2e6d1f=a54_0x4efd8c,_0x4d3baa={};_0x4d3baa[_0x2e6d1f(0x124)]=_0x2e6d1f(0xfd),_0x4d3baa['QiMzr']=_0x2e6d1f(0x10f);const _0x41cab5=_0x4d3baa;if(this[_0x2e6d1f(0x162)]&&this[_0x2e6d1f(0x162)][_0x2e6d1f(0x13b)]())try{await helper['stopLocalBinary'](this[_0x2e6d1f(0x162)]),logger[_0x2e6d1f(0x143)](_0x41cab5[_0x2e6d1f(0x124)]);}catch(_0xcf18de){logger[_0x2e6d1f(0xd0)](_0x41cab5['QiMzr'],_0xcf18de[_0x2e6d1f(0x12a)]);}}async[a54_0x4efd8c(0xf6)](){const _0x114cf7=a54_0x4efd8c;await hubAllocator['allocateHub'](this[_0x114cf7(0x11e)]);}['setupKeepAlive'](){const _0x4ef31b=a54_0x4efd8c,_0x52a0eb={'Mxilo':function(_0x418b76,_0x54f146){return _0x418b76(_0x54f146);},'uJMTv':_0x4ef31b(0xec)};_0x52a0eb[_0x4ef31b(0xe9)](require,_0x52a0eb[_0x4ef31b(0xf9)])();}[a54_0x4efd8c(0x120)](){const _0x5b426e=a54_0x4efd8c,_0x4ce971={};_0x4ce971['wgpRz']=_0x5b426e(0x156),_0x4ce971[_0x5b426e(0x16b)]='uncaughtException';const _0x389280=_0x4ce971,_0x18ef09=_0x5dc982=>{const _0x3c7803=_0x5b426e;logger[_0x3c7803(0xd0)](_0x5dc982[_0x3c7803(0x12a)]),logger['debug'](util[_0x3c7803(0x115)](_0x5dc982)),this[_0x3c7803(0x16e)][_0x3c7803(0x146)](util[_0x3c7803(0x115)]('%j',_0x5dc982)),PerformanceTester['captureError'](_0x5dc982);};process['on'](_0x389280[_0x5b426e(0x15f)],_0x18ef09),process['on'](_0x389280[_0x5b426e(0x16b)],_0x18ef09);}async[a54_0x4efd8c(0x103)](_0x547ae8){const _0x49e3e3=a54_0x4efd8c,_0x5d1b3e={};_0x5d1b3e['xUXGl']=_0x49e3e3(0xcb),_0x5d1b3e[_0x49e3e3(0x139)]=function(_0x35d49c,_0xc460e){return _0x35d49c+_0xc460e;},_0x5d1b3e[_0x49e3e3(0xce)]=_0x49e3e3(0x104),_0x5d1b3e['UEuCH']=function(_0x3ffb5a,_0x5a26b8){return _0x3ffb5a+_0x5a26b8;},_0x5d1b3e[_0x49e3e3(0x11f)]=_0x49e3e3(0x144);const _0x5c0614=_0x5d1b3e,_0x355ced=_0x5c0614[_0x49e3e3(0xd3)]['split']('|');let _0x342af6=0x0;while(!![]){switch(_0x355ced[_0x342af6++]){case'0':this['killSignal']=_0x547ae8;continue;case'1':if(this[_0x5c0614['NBHtz'](_0x5c0614[_0x49e3e3(0xce)],_0x547ae8)])return;continue;case'2':logger['info'](_0x5c0614[_0x49e3e3(0xe2)](_0x5c0614[_0x49e3e3(0x11f)],_0x547ae8));continue;case'3':this[_0x5c0614[_0x49e3e3(0x139)](_0x5c0614[_0x49e3e3(0xce)],_0x547ae8)]=!![];continue;case'4':await TestHubHandler[_0x49e3e3(0x10e)](_0x547ae8);continue;}break;}}[a54_0x4efd8c(0xd5)](){const _0x5d81d8=a54_0x4efd8c,_0x199512={};_0x199512['vTwLp']=function(_0x16727a,_0x849059){return _0x16727a===_0x849059;},_0x199512[_0x5d81d8(0x177)]=_0x5d81d8(0xf0);const _0x475537=_0x199512;let _0x20d51f=0x0;return async()=>{const _0x5e2695=_0x5d81d8;_0x20d51f++;if(_0x475537[_0x5e2695(0x121)](_0x20d51f,0x1)){helper[_0x5e2695(0x14e)](this[_0x5e2695(0x119)])&&await this['stopBrowserstackLocal']();try{logger[_0x5e2695(0x125)](_0x475537[_0x5e2695(0x177)]),await TestHubHandler['stop'](_0x20d51f);}catch(_0x2296fd){logger['debug'](_0x5e2695(0xe5)+util[_0x5e2695(0x115)](_0x2296fd));}}};}}function a54_0x3444(){const _0x391d8f=['setBrowserstackInfraFromConfig','intExitHandler','handled','CmtPe','kUikA','setupBrowserstackLocal','browserStackLocalOptions','getFinalCaps','localOptions','killSignal','localIdentifier','./performance-tester','stop','Error\x20occured\x20while\x20stopping\x20local\x20binary','QtKdh','turboScaleOptions','1599514gfSfmg','length','isTrue','format','BROWSERSTACK_PERCY','2238YBiUDK','playwrightUrl','framework','RwdzR','join','turboScale','envConfig','config','uZhcS','handleExceptions','vTwLp','161385DekkCo','isUndefined','kRDpp','debug','SDKTestAttempted','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','Loading\x20environment\x20from:\x20','useW3C','message','Local\x20binary\x20started\x20successfully','turboScaleGridDetails','percy','jnFPQ','sLtWh','Error\x20occured\x20while\x20stopping\x20percy','selenium-webdriver','BROWSERSTACK_TURBOSCALE','SIGTERM','winstonLogger','Qiyuz','integrations','./percy/utils','Percy\x20started\x20successfully','NBHtz','srFvB','isRunning','gWGyU','split','xTelR','generateLocalIdentifier','30|40|12|11|2|14|35|32|16|3|10|36|15|31|6|5|19|17|25|4|34|13|23|29|41|39|27|28|38|37|42|21|20|0|18|8|24|7|22|9|1|26|33','skipSessionName','SIGHUP','info','Shutdown\x20triggered\x20by\x20','platform','push','setupPercy','setCLICaps','fireFunnelTestEvent','tFnNk','../bin/utils/constants','TuleH','4sNdHpc','checkStopLocalBinaryOnExit','env','turboScaleUrl','stopBrowserstackLocal','forceLocal','OnvKE','bfQOb','626814XtVLSa','unhandledRejection','vFYtS','?caps=','ats-repeater','VjXru','FRAMEWORK','./logger','platforms','getPackageVersion','wgpRz','SIGQUIT','33573IeUwob','browserstackLocal','true','hubUrl','ldtro','seUbP','setEnvCaps','setLogLevel','uuid','codML','SbNBO','dQqXG','win32','unhandledErrors','skipBinaryInitialisation','qNJrN','toLowerCase','./helper','oDgab','twbkJ','bhNot','path','YNkHa','JhCCQ','gdDOG','ftTay','./test-observability/sessionHandler','errorMessage','getLocalIdentifier','LcqRN','1|3|2|0|4','iZLwL','setupKeepAlive','KiiEn','900evGpuJ','error','getAccessKey','pKIZo','xUXGl','UuXjY','exitHandler','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','cliConfig','sdkRunID','custom-repeater','compareVersions','dotenv','TqXIR','uEHWt','envFile','bind','1321500ztrNiQ','codeceptjs','UEuCH','4.5.0','YUiHr','Error\x20in\x20sending\x20testhub\x20stop:\x20','QhHEk','SIGABRT','toString','Mxilo','skipSessionStatus','cvPjR','./setKeepAlive','testContextOptions','stopPercy','getConfigPath','Calling\x20Build\x20Stop\x20from\x20ExitHandler','vXJMB','false','startLocalBinary','isBrowserstackInfra','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','setUpHubUrl','1125776YwWYLr','No\x20config\x20provided.','uJMTv','ExOMc','SIGBREAK','QMeEc','Local\x20binary\x20stopped','setProxySettings','./testhub/testhubHandler','initialize','playwright'];a54_0x3444=function(){return _0x391d8f;};return a54_0x3444();}exports['default']=BrowserStackSetup;
1
+ const a55_0x10e6c0=a55_0x54d9;(function(_0x3ae501,_0x5b3974){const _0x2b9ad3=a55_0x54d9,_0x2775bc=_0x3ae501();while(!![]){try{const _0x1b88dc=parseInt(_0x2b9ad3(0x235))/0x1+parseInt(_0x2b9ad3(0x1a6))/0x2+parseInt(_0x2b9ad3(0x159))/0x3*(-parseInt(_0x2b9ad3(0x1be))/0x4)+-parseInt(_0x2b9ad3(0x1e6))/0x5*(-parseInt(_0x2b9ad3(0x202))/0x6)+parseInt(_0x2b9ad3(0x234))/0x7*(-parseInt(_0x2b9ad3(0x161))/0x8)+parseInt(_0x2b9ad3(0x204))/0x9+parseInt(_0x2b9ad3(0x19b))/0xa*(parseInt(_0x2b9ad3(0x172))/0xb);if(_0x1b88dc===_0x5b3974)break;else _0x2775bc['push'](_0x2775bc['shift']());}catch(_0x35dad0){_0x2775bc['push'](_0x2775bc['shift']());}}}(a55_0x2294,0x9b162));const util=require(a55_0x10e6c0(0x21c)),os=require('os'),path=require(a55_0x10e6c0(0x1cd)),dotenv=require(a55_0x10e6c0(0x1fb)),{v4:uuidv4}=require(a55_0x10e6c0(0x223)),constants=require(a55_0x10e6c0(0x1af)),{isTurboScaleSession}=require('./ats/helper'),logger=require(a55_0x10e6c0(0x164))[a55_0x10e6c0(0x165)],helper=require('./helper'),percyHelper=require(a55_0x10e6c0(0x231)),hubAllocator=require(a55_0x10e6c0(0x1f2)),PerformanceTester=require(a55_0x10e6c0(0x224)),SessionHandler=require(a55_0x10e6c0(0x1e8)),{setPercyFlag}=require(a55_0x10e6c0(0x173)),TestHubHandler=require(a55_0x10e6c0(0x20f)),globals=require(a55_0x10e6c0(0x22e)),timeoutPromise=require('./timeoutPromise');class BrowserStackSetup{constructor(_0x1d5a04,_0x1716d9){const _0x4711cc=a55_0x10e6c0,_0x49b5f2={'wtPiS':'42|16|5|7|14|27|32|18|11|25|1|43|13|23|30|10|36|4|38|28|19|2|0|24|41|26|33|3|12|8|35|29|20|39|15|9|22|17|37|31|34|6|40|21','FNAYg':_0x4711cc(0x1aa),'YVIvY':function(_0x107444,_0x100c9a){return _0x107444===_0x100c9a;},'JSGEg':_0x4711cc(0x214),'xeTAd':function(_0x5de77f,_0x55760c){return _0x5de77f+_0x55760c;},'IgZeH':_0x4711cc(0x16e),'iXUcC':function(_0x38cb39,_0x2d2afc){return _0x38cb39<_0x2d2afc;},'WEzSV':function(_0x2108ea,_0x2af26b){return _0x2108ea(_0x2af26b);},'yiGjE':_0x4711cc(0x1ba),'WrebH':_0x4711cc(0x1b6),'QGbZX':_0x4711cc(0x1e2),'HYYwy':_0x4711cc(0x1ad),'nwBrl':function(_0x324dcf){return _0x324dcf();},'oghLc':'userName\x20or\x20accessKey\x20is\x20not\x20defined','NPCjI':'SIGTERM','FwOQz':_0x4711cc(0x157),'WaOel':_0x4711cc(0x14e),'bWvzv':_0x4711cc(0x215),'MJDQH':_0x4711cc(0x153),'kYeqk':function(_0x1a8e9a,_0x35e12b){return _0x1a8e9a!==_0x35e12b;},'ygybH':'win32','APtHy':_0x4711cc(0x1a8),'JEqHi':_0x4711cc(0x1fd),'dswqC':_0x4711cc(0x197)},_0x5a68d9=_0x49b5f2[_0x4711cc(0x22a)]['split']('|');let _0x1f5a4c=0x0;while(!![]){switch(_0x5a68d9[_0x1f5a4c++]){case'0':!this[_0x4711cc(0x150)]['browserStackLocalOptions']&&(this['config'][_0x4711cc(0x1c7)]=this[_0x4711cc(0x150)][_0x4711cc(0x213)]||{});continue;case'1':global['framework']=_0x1716d9;continue;case'2':helper[_0x4711cc(0x20a)](this[_0x4711cc(0x150)],this[_0x4711cc(0x193)],this['envConfig']);continue;case'3':helper[_0x4711cc(0x1dc)](this['config']);continue;case'4':if(this[_0x4711cc(0x150)][_0x4711cc(0x188)])throw new Error(this['config'][_0x4711cc(0x188)]);continue;case'5':this[_0x4711cc(0x155)]=helper['setEnvCaps']();continue;case'6':process['on'](_0x49b5f2[_0x4711cc(0x196)],this[_0x4711cc(0x207)]);continue;case'7':this['browserstackLocal']=null;continue;case'8':this[_0x4711cc(0x178)]();continue;case'9':!this[_0x4711cc(0x150)][_0x4711cc(0x1d5)]&&(this[_0x4711cc(0x150)][_0x4711cc(0x1d5)]={});continue;case'10':global['sdkRunID']=this[_0x4711cc(0x212)];continue;case'11':this[_0x4711cc(0x1f6)]={};continue;case'12':if(_0x49b5f2['YVIvY'](_0x1716d9,_0x49b5f2['JSGEg']))return;continue;case'13':this['framework']=_0x1716d9;continue;case'14':this[_0x4711cc(0x1f3)]=null;continue;case'15':if(this[_0x4711cc(0x150)][_0x4711cc(0x1d6)]){logger[_0x4711cc(0x160)](_0x49b5f2[_0x4711cc(0x18f)](_0x49b5f2['IgZeH'],this['config'][_0x4711cc(0x1d6)]));const _0x2681ac={};_0x2681ac['path']=this[_0x4711cc(0x150)][_0x4711cc(0x1d6)],dotenv[_0x4711cc(0x150)](_0x2681ac);}else dotenv[_0x4711cc(0x150)]();continue;case'16':this['cliConfig']=helper[_0x4711cc(0x169)](_0x1d5a04);continue;case'17':!this['config'][_0x4711cc(0x18e)]&&logger[_0x4711cc(0x160)](constants['AUTOLOGCAPTURE_NOTIFICATION']);continue;case'18':this[_0x4711cc(0x150)][_0x4711cc(0x1d5)]=this[_0x4711cc(0x150)][_0x4711cc(0x1d5)]||{};continue;case'19':this[_0x4711cc(0x150)]['testContextOptions'][_0x4711cc(0x17e)]=!helper['isBrowserstackInfra']()||helper[_0x4711cc(0x1ea)](this[_0x4711cc(0x150)][_0x4711cc(0x1d5)]['skipSessionName']);continue;case'20':helper[_0x4711cc(0x144)](_0x1716d9)&&(_0x49b5f2[_0x4711cc(0x16a)](_0x49b5f2[_0x4711cc(0x146)](parseInt,helper[_0x4711cc(0x183)](_0x49b5f2['yiGjE'])),0x3)&&(this[_0x4711cc(0x150)][_0x4711cc(0x1bb)]=![]),_0x49b5f2[_0x4711cc(0x166)](helper[_0x4711cc(0x1b0)](helper['getPackageVersion'](_0x49b5f2[_0x4711cc(0x184)]),_0x49b5f2[_0x4711cc(0x1a5)]),0x1)&&(this[_0x4711cc(0x150)][_0x4711cc(0x1bb)]=!![]));continue;case'21':process['on'](_0x49b5f2[_0x4711cc(0x17a)],this[_0x4711cc(0x1e5)]());continue;case'22':try{process['env']['FRAMEWORK']=_0x1d5a04['_'][0x0],helper[_0x4711cc(0x180)](_0x49b5f2[_0x4711cc(0x1c6)],{},this[_0x4711cc(0x150)],this[_0x4711cc(0x22d)]);}catch(_0x4aa745){logger[_0x4711cc(0x14d)](_0x4711cc(0x221)+_0x4aa745);}continue;case'23':this['sdkRunID']=_0x49b5f2['nwBrl'](uuidv4);continue;case'24':if(helper[_0x4711cc(0x1fe)](helper['getUserName'](this['config']))||helper['isUndefined'](helper[_0x4711cc(0x16b)](this[_0x4711cc(0x150)])))throw new Error(_0x49b5f2[_0x4711cc(0x1ce)]);continue;case'25':global[_0x4711cc(0x150)]=this[_0x4711cc(0x150)];continue;case'26':this['config'][_0x4711cc(0x1c7)][_0x4711cc(0x15d)]=helper[_0x4711cc(0x1ea)](this['config'][_0x4711cc(0x1c7)][_0x4711cc(0x15d)]);continue;case'27':this[_0x4711cc(0x150)]=helper[_0x4711cc(0x1b1)](helper[_0x4711cc(0x229)](_0x1d5a04));continue;case'28':this['config'][_0x4711cc(0x1d5)]['skipSessionStatus']=!helper[_0x4711cc(0x177)]()||helper[_0x4711cc(0x1ea)](this[_0x4711cc(0x150)]['testContextOptions'][_0x4711cc(0x205)]);continue;case'29':if(!helper[_0x4711cc(0x177)]()){try{process[_0x4711cc(0x198)][_0x4711cc(0x19d)]=_0x1716d9,helper[_0x4711cc(0x180)](_0x49b5f2[_0x4711cc(0x1c6)],{},this[_0x4711cc(0x150)],this[_0x4711cc(0x22d)]);}catch(_0x77bcbf){logger[_0x4711cc(0x14d)](_0x4711cc(0x221)+_0x77bcbf);}return;}continue;case'30':this[_0x4711cc(0x147)]=null;continue;case'31':process['on'](_0x49b5f2['NPCjI'],this[_0x4711cc(0x207)]);continue;case'32':this[_0x4711cc(0x150)][_0x4711cc(0x163)]=this[_0x4711cc(0x150)][_0x4711cc(0x163)]||[];continue;case'33':helper[_0x4711cc(0x175)](this['config'],this[_0x4711cc(0x193)],this[_0x4711cc(0x155)]);continue;case'34':process['on'](_0x49b5f2[_0x4711cc(0x22f)],this[_0x4711cc(0x207)]);continue;case'35':process['env'][_0x4711cc(0x216)]&&(this[_0x4711cc(0x150)][_0x4711cc(0x15f)]=helper[_0x4711cc(0x1ea)](process[_0x4711cc(0x198)]['BROWSERSTACK_TURBOSCALE']),this['config'][_0x4711cc(0x15e)]=this[_0x4711cc(0x150)][_0x4711cc(0x15e)]||{});continue;case'36':if(helper['isUndefined'](this['config']))throw new Error(_0x49b5f2[_0x4711cc(0x167)]);continue;case'37':this[_0x4711cc(0x207)]=this[_0x4711cc(0x207)][_0x4711cc(0x189)](this);continue;case'38':helper[_0x4711cc(0x170)](this[_0x4711cc(0x150)],this[_0x4711cc(0x193)]);continue;case'39':(helper[_0x4711cc(0x1fe)](this[_0x4711cc(0x150)][_0x4711cc(0x163)])||helper[_0x4711cc(0x1fe)](this[_0x4711cc(0x150)][_0x4711cc(0x163)][_0x4711cc(0x208)]))&&(helper['isUndefined'](this[_0x4711cc(0x150)][_0x4711cc(0x21e)])?logger['info'](_0x49b5f2[_0x4711cc(0x1b5)]):logger[_0x4711cc(0x19c)](_0x49b5f2[_0x4711cc(0x17b)]),this[_0x4711cc(0x150)][_0x4711cc(0x163)]=[]);continue;case'40':_0x49b5f2['kYeqk'](process[_0x4711cc(0x186)],_0x49b5f2[_0x4711cc(0x1d8)])?(process['on'](_0x49b5f2['APtHy'],this[_0x4711cc(0x207)]),process['on'](_0x49b5f2[_0x4711cc(0x20e)],this[_0x4711cc(0x207)])):process['on'](_0x49b5f2[_0x4711cc(0x1f8)],this[_0x4711cc(0x207)]);continue;case'41':helper[_0x4711cc(0x1ec)](this[_0x4711cc(0x150)])&&helper[_0x4711cc(0x1fe)](helper[_0x4711cc(0x19e)](this['config']))&&(!helper['isUndefined'](this[_0x4711cc(0x150)][_0x4711cc(0x1c7)])&&_0x49b5f2[_0x4711cc(0x166)](this[_0x4711cc(0x150)][_0x4711cc(0x1c7)][_0x4711cc(0x1eb)],Object)?!helper['isTrue'](this[_0x4711cc(0x150)]['browserStackLocalOptions'][_0x4711cc(0x15d)])&&(this[_0x4711cc(0x150)][_0x4711cc(0x1c7)][_0x4711cc(0x17c)]=helper[_0x4711cc(0x1df)]()):this[_0x4711cc(0x150)][_0x4711cc(0x1c7)]={'localIdentifier':helper[_0x4711cc(0x1df)]()});continue;case'42':this[_0x4711cc(0x203)]=[];continue;case'43':helper['sanitizeCaps'](this[_0x4711cc(0x150)]);continue;}break;}}async['initialize'](){const _0x336404=a55_0x10e6c0,_0x119307={'vGeEd':function(_0x1fa0a6,_0x5e4489){return _0x1fa0a6(_0x5e4489);},'Nemcg':'ats-repeater','xpVOs':'custom-repeater','tZdDF':'true','hQsaC':function(_0x3639bd,_0x406c63){return _0x3639bd===_0x406c63;},'BOfsh':'playwright','PpRcB':function(_0x11ace9,_0x2e172c){return _0x11ace9+_0x2e172c;},'ZadVf':'?caps=','hIHtF':_0x336404(0x1e9),'GqJvG':function(_0x1aa3d5,_0x3ed9be){return _0x1aa3d5(_0x3ed9be);}};if(_0x119307['vGeEd'](isTurboScaleSession,this['config'])){const _0x3970bf=await helper[_0x336404(0x17d)](this[_0x336404(0x150)]);this['config'][_0x336404(0x1ed)]=_0x3970bf,_0x3970bf[_0x336404(0x15b)]&&(this[_0x336404(0x150)][_0x336404(0x1a1)]=!![],this[_0x336404(0x150)][_0x336404(0x1c7)][_0x336404(0x17c)]=_0x119307[_0x336404(0x14a)],this[_0x336404(0x150)][_0x336404(0x1c7)][_0x119307[_0x336404(0x1c3)]]=_0x3970bf['customRepeaters'][_0x336404(0x1c1)](','),this[_0x336404(0x150)][_0x336404(0x1c7)][_0x336404(0x1b9)]=_0x119307[_0x336404(0x1f4)]),this[_0x336404(0x150)][_0x336404(0x1d3)]=_0x3970bf[_0x336404(0x18d)],this[_0x336404(0x22d)]&&_0x119307[_0x336404(0x176)](this[_0x336404(0x22d)][_0x336404(0x1ee)](),_0x119307['BOfsh'])&&(this[_0x336404(0x150)][_0x336404(0x1d3)]=_0x119307[_0x336404(0x1c4)](_0x3970bf[_0x336404(0x1ae)],_0x119307[_0x336404(0x20c)])),constants[_0x336404(0x14b)]=helper[_0x336404(0x206)](this[_0x336404(0x150)]),logger[_0x336404(0x14d)](_0x336404(0x21d)+constants[_0x336404(0x14b)]);}helper[_0x336404(0x211)](this['config']),this[_0x336404(0x209)](),_0x119307[_0x336404(0x1d7)](setPercyFlag,this),await this[_0x336404(0x1b4)](),![_0x119307[_0x336404(0x179)]][_0x336404(0x218)](this[_0x336404(0x22d)])&&!_0x119307[_0x336404(0x225)](isTurboScaleSession,this[_0x336404(0x150)])&&await this[_0x336404(0x1e4)]();}async['setupPercy'](){const _0x2fd5d3=a55_0x10e6c0,_0x5aa1bd={};_0x5aa1bd['xiIzJ']=function(_0x210655,_0x4ed644){return _0x210655===_0x4ed644;},_0x5aa1bd[_0x2fd5d3(0x1b3)]=_0x2fd5d3(0x152),_0x5aa1bd[_0x2fd5d3(0x1a4)]=_0x2fd5d3(0x21f),_0x5aa1bd[_0x2fd5d3(0x1dd)]=_0x2fd5d3(0x190),_0x5aa1bd['uZsIu']=_0x2fd5d3(0x1b8),_0x5aa1bd[_0x2fd5d3(0x1bd)]=_0x2fd5d3(0x1e2);const _0x16fe2a=_0x5aa1bd;if(helper[_0x2fd5d3(0x1ea)](this['config'][_0x2fd5d3(0x1f3)])&&(!this[_0x2fd5d3(0x1f3)]||!this['percy'][_0x2fd5d3(0x20d)]()))try{this[_0x2fd5d3(0x1f3)]=await percyHelper[_0x2fd5d3(0x1c0)](this[_0x2fd5d3(0x150)]);if(!this['percy']){process[_0x2fd5d3(0x198)][_0x2fd5d3(0x1fa)]=_0x16fe2a[_0x2fd5d3(0x1b3)];throw new Error(_0x16fe2a['gxYpd']);}logger[_0x2fd5d3(0x160)](_0x16fe2a[_0x2fd5d3(0x1dd)]),process[_0x2fd5d3(0x198)][_0x2fd5d3(0x1fa)]=_0x16fe2a[_0x2fd5d3(0x1d2)];let _0x273a7c=0x0;const _0x4d13fe=async()=>{const _0x3df44b=_0x2fd5d3;_0x273a7c++,_0x16fe2a[_0x3df44b(0x1fc)](_0x273a7c,0x1)&&await this[_0x3df44b(0x1d9)]();};process['on'](_0x16fe2a['PFsmP'],_0x4d13fe);}catch(_0x2a57e3){process[_0x2fd5d3(0x198)]['BROWSERSTACK_PERCY']=_0x16fe2a[_0x2fd5d3(0x1b3)],logger[_0x2fd5d3(0x14d)](_0x2fd5d3(0x1ac)+_0x2a57e3);throw new Error(_0x2a57e3[_0x2fd5d3(0x21a)]());}}async[a55_0x10e6c0(0x1d9)](){const _0x3ee041=a55_0x10e6c0,_0x205ec6={};_0x205ec6['XwNNO']=_0x3ee041(0x187),_0x205ec6[_0x3ee041(0x1bf)]='Error\x20occured\x20while\x20stopping\x20percy';const _0x1fc89a=_0x205ec6;if(this[_0x3ee041(0x1f3)]&&this[_0x3ee041(0x1f3)][_0x3ee041(0x20d)]())try{await percyHelper['stopPercy'](this[_0x3ee041(0x1f3)]),logger['info'](_0x1fc89a[_0x3ee041(0x20b)]);}catch(_0x3a232a){logger['error'](_0x1fc89a['iORfn'],_0x3a232a[_0x3ee041(0x14c)]);}}async['setupBrowserstackLocal'](){const _0x14f50c=a55_0x10e6c0,_0x10ee21={};_0x10ee21[_0x14f50c(0x1c8)]=_0x14f50c(0x15a),_0x10ee21['sbGIG']=_0x14f50c(0x226);const _0x139ffd=_0x10ee21;if(helper[_0x14f50c(0x177)]()&&helper[_0x14f50c(0x1ea)](this[_0x14f50c(0x150)][_0x14f50c(0x1a1)])&&(!this[_0x14f50c(0x1a1)]||!this[_0x14f50c(0x1a1)]['isRunning']()))try{if(this[_0x14f50c(0x150)][_0x14f50c(0x1c7)][_0x14f50c(0x15d)]){logger[_0x14f50c(0x14d)](_0x139ffd[_0x14f50c(0x1c8)]);return;}this['browserstackLocal']=await helper[_0x14f50c(0x191)](this[_0x14f50c(0x150)]),logger[_0x14f50c(0x160)](_0x139ffd[_0x14f50c(0x222)]);}catch(_0x36c175){logger['debug'](_0x36c175);throw new Error(_0x36c175[_0x14f50c(0x21a)]());}}async[a55_0x10e6c0(0x1ca)](){const _0x3f19c0=a55_0x10e6c0,_0x21ef79={};_0x21ef79['ulbbO']='Local\x20binary\x20stopped',_0x21ef79[_0x3f19c0(0x182)]=_0x3f19c0(0x18a);const _0x5c0350=_0x21ef79;if(this[_0x3f19c0(0x1a1)]&&this[_0x3f19c0(0x1a1)]['isRunning']())try{await helper[_0x3f19c0(0x194)](this[_0x3f19c0(0x1a1)]),logger[_0x3f19c0(0x160)](_0x5c0350['ulbbO']);}catch(_0x25ee93){logger[_0x3f19c0(0x188)](_0x5c0350['mJtoU'],_0x25ee93['message']);}}async[a55_0x10e6c0(0x1e4)](){const _0x493555=a55_0x10e6c0;await hubAllocator['allocateHub'](this[_0x493555(0x150)]);}async['setupTCGAuth'](){const _0x239a88=a55_0x10e6c0,_0x313191={'GQvDj':function(_0x359a07,_0x2d401e){return _0x359a07(_0x2d401e);},'JGsVM':'../ai-sdk-node/bundle','HuCUz':function(_0x5dd7f4,_0x433a2c,_0xd9e742,_0x42f130,_0x26d08a,_0x530ae5,_0x15a960){return _0x5dd7f4(_0x433a2c,_0xd9e742,_0x42f130,_0x26d08a,_0x530ae5,_0x15a960);},'GHytu':_0x239a88(0x232),'cStmU':_0x239a88(0x1a7),'AKzdI':'../../package.json','spMIR':_0x239a88(0x1ff),'OEJyu':function(_0x2a7e79,_0x3ece6f){return _0x2a7e79===_0x3ece6f;},'hjCxc':_0x239a88(0x1b8),'ZWrqA':function(_0x16036e,_0x3426d8){return _0x16036e===_0x3426d8;},'qFOlV':function(_0x10eac0,_0x3689a5){return _0x10eac0===_0x3689a5;},'dDNsW':function(_0x57901b,_0x35d437){return _0x57901b===_0x35d437;},'zCgnC':_0x239a88(0x1e1),'koaVp':_0x239a88(0x1cc),'leOnm':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','kHwpz':_0x239a88(0x1cb),'ZMmpU':function(_0x26ccd4,_0x422b09){return _0x26ccd4>=_0x422b09;},'brLsD':function(_0x2fa652,_0x34ecbf){return _0x2fa652<_0x34ecbf;},'zGzRU':function(_0x431e99,_0x5f13c4){return _0x431e99>=_0x5f13c4;},'fYROQ':_0x239a88(0x168),'WKUmU':_0x239a88(0x1d4),'YOwil':function(_0x2e1806){return _0x2e1806();}},_0x48e8a3=PerformanceTester[_0x239a88(0x22b)](_0x313191[_0x239a88(0x200)],async()=>{const _0xc2c624=_0x239a88;try{const _0x387eab=new Date(),_0x5b3655=helper[_0xc2c624(0x1b7)](this['config']),_0x22d2b7=_0x313191[_0xc2c624(0x1d1)](require,path[_0xc2c624(0x1c1)](__dirname,_0x313191[_0xc2c624(0x1e7)])),_0x4d5a3c=_0x313191['HuCUz'](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x313191[_0xc2c624(0x230)],_0x313191[_0xc2c624(0x1a2)],_0x387eab,this['config'],this[_0xc2c624(0x22d)]),_0x11be55={'tcgUrl':constants[_0xc2c624(0x19f)],'sdkVersion':_0x313191[_0xc2c624(0x1d1)](require,_0x313191[_0xc2c624(0x15c)])['version'],'methodUsed':_0x313191[_0xc2c624(0x217)],'proxyConfig':_0x5b3655,'os':os['platform']()};if(_0x5b3655&&_0x5b3655[_0xc2c624(0x1c2)]){helper[_0xc2c624(0x180)](constants[_0xc2c624(0x19a)],_0x11be55,this[_0xc2c624(0x150)],this['framework']);return;}const _0x482dba={};_0x482dba[_0xc2c624(0x192)]=_0x5b3655;const _0x1f2b41=await Promise[_0xc2c624(0x1c5)]([_0x22d2b7[_0xc2c624(0x1cf)](this['config'][_0xc2c624(0x21b)],this[_0xc2c624(0x150)]['userName'],constants['TCG_URL'],_0x313191['GQvDj'](require,_0x313191['AKzdI'])['version'],_0x482dba)['then'](_0x1010ad=>{return _0x4d5a3c['cancel'](),_0x1010ad;}),_0x4d5a3c]);_0x1f2b41[_0xc2c624(0x1db)]=_0x313191[_0xc2c624(0x227)](_0x1f2b41[_0xc2c624(0x1db)],_0x313191[_0xc2c624(0x220)])||_0x313191[_0xc2c624(0x149)](_0x1f2b41[_0xc2c624(0x1db)],!![]);const _0x5d4f2c=_0x313191['qFOlV'](this[_0xc2c624(0x150)][_0xc2c624(0x1d0)],!![])||_0x313191[_0xc2c624(0x145)](this[_0xc2c624(0x150)]['selfHeal'],_0x313191['hjCxc']);if(_0x313191[_0xc2c624(0x1f0)](_0x1f2b41['message'],constants[_0xc2c624(0x22c)])&&_0x5d4f2c)logger[_0xc2c624(0x160)](_0x313191[_0xc2c624(0x158)]);else{if(!_0x1f2b41[_0xc2c624(0x1ab)]&&_0x313191['OEJyu'](_0x1f2b41[_0xc2c624(0x1da)],0x1f7)&&_0x5d4f2c)logger['info'](_0x313191[_0xc2c624(0x1f5)]),helper[_0xc2c624(0x180)](constants['TCG_DOWN'],_0x11be55,this[_0xc2c624(0x150)],this[_0xc2c624(0x22d)]);else{if(!_0x1f2b41[_0xc2c624(0x1ab)]&&_0x5d4f2c){logger[_0xc2c624(0x160)](_0x313191[_0xc2c624(0x1e3)]);const _0x49f898={'tcgUrl':constants[_0xc2c624(0x19f)],'sdkVersion':_0x313191[_0xc2c624(0x1d1)](require,_0x313191[_0xc2c624(0x15c)])[_0xc2c624(0x1a9)],'methodUsed':_0x313191['spMIR'],'proxyConfig':_0x5b3655,'os':os[_0xc2c624(0x186)]()};helper[_0xc2c624(0x180)](constants[_0xc2c624(0x1c9)],_0x49f898,this[_0xc2c624(0x150)],this[_0xc2c624(0x22d)]);}else{if(_0x1f2b41[_0xc2c624(0x1ab)]&&!_0x1f2b41[_0xc2c624(0x1db)]&&_0x5d4f2c)logger['info'](_0x313191[_0xc2c624(0x1de)]);else{if(_0x313191[_0xc2c624(0x156)](_0x1f2b41[_0xc2c624(0x1da)],0xc8)&&_0x313191[_0xc2c624(0x1a3)](_0x1f2b41[_0xc2c624(0x1da)],0x12c))helper[_0xc2c624(0x180)](constants[_0xc2c624(0x148)],_0x11be55,this[_0xc2c624(0x150)],this[_0xc2c624(0x22d)]);else{if(_0x313191[_0xc2c624(0x174)](_0x1f2b41[_0xc2c624(0x1da)],0x190))_0x11be55['status']=_0x1f2b41[_0xc2c624(0x1da)],helper['fireFunnelTestEvent'](constants[_0xc2c624(0x16d)],_0x11be55,this['config'],this[_0xc2c624(0x22d)]);else!_0x1f2b41['status']&&helper[_0xc2c624(0x180)](constants['INVALID_INIT_RESP_WITH_USER_IMPACT'],_0x11be55,this[_0xc2c624(0x150)],this[_0xc2c624(0x22d)]);}}}}}if(_0x1f2b41[_0xc2c624(0x1ab)]&&_0x1f2b41['isHealingEnabled']){const _0x174b40={};_0x174b40[_0xc2c624(0x16f)]=_0x1f2b41;const _0x56b6c7=_0x174b40;_0x5b3655&&(_0x56b6c7[_0xc2c624(0x185)]=_0x5b3655),_0x56b6c7[_0xc2c624(0x22d)]=this[_0xc2c624(0x22d)],_0x56b6c7[_0xc2c624(0x1f1)]=this[_0xc2c624(0x150)],helper['setupTcgConfigFile'](_0x56b6c7),logger[_0xc2c624(0x14d)](_0x313191[_0xc2c624(0x233)]);}}catch(_0x308d18){logger[_0xc2c624(0x14d)]('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x308d18[_0xc2c624(0x14c)]?_0x308d18[_0xc2c624(0x14c)]:''));}});await _0x313191['YOwil'](_0x48e8a3);}[a55_0x10e6c0(0x209)](){const _0x3c3208=a55_0x10e6c0,_0x48f5e3={'jcUxf':function(_0x5a0ab6,_0x3b2653){return _0x5a0ab6(_0x3b2653);},'oZXEW':'./setKeepAlive'};_0x48f5e3[_0x3c3208(0x1a0)](require,_0x48f5e3[_0x3c3208(0x171)])();}[a55_0x10e6c0(0x178)](){const _0x23b522=a55_0x10e6c0,_0x34ec8c={};_0x34ec8c[_0x23b522(0x162)]=_0x23b522(0x154),_0x34ec8c[_0x23b522(0x1bc)]=_0x23b522(0x14f);const _0x514676=_0x34ec8c,_0x109b00=_0x1b4d4c=>{const _0x109079=_0x23b522;logger[_0x109079(0x188)](_0x1b4d4c['message']),logger[_0x109079(0x14d)](util[_0x109079(0x1b2)](_0x1b4d4c)),this['unhandledErrors']['push'](util[_0x109079(0x1b2)]('%j',_0x1b4d4c)),PerformanceTester[_0x109079(0x17f)](_0x1b4d4c);};process['on'](_0x514676[_0x23b522(0x162)],_0x109b00),process['on'](_0x514676['FTOHY'],_0x109b00);}async['intExitHandler'](_0x433744){const _0x2c4af1=a55_0x10e6c0,_0x3061a0={};_0x3061a0[_0x2c4af1(0x195)]=_0x2c4af1(0x210),_0x3061a0[_0x2c4af1(0x1ef)]=function(_0x258a23,_0x5bf715){return _0x258a23+_0x5bf715;},_0x3061a0['xKGTw']=_0x2c4af1(0x201),_0x3061a0[_0x2c4af1(0x1e0)]=function(_0x18757c,_0x1078ac){return _0x18757c+_0x1078ac;},_0x3061a0[_0x2c4af1(0x199)]=_0x2c4af1(0x219);const _0x1c7e0c=_0x3061a0,_0x1734c7=_0x1c7e0c[_0x2c4af1(0x195)][_0x2c4af1(0x1f7)]('|');let _0xff6ff6=0x0;while(!![]){switch(_0x1734c7[_0xff6ff6++]){case'0':if(this[_0x1c7e0c[_0x2c4af1(0x1ef)](_0x1c7e0c[_0x2c4af1(0x1f9)],_0x433744)])return;continue;case'1':this[_0x1c7e0c['fVaYX'](_0x1c7e0c[_0x2c4af1(0x1f9)],_0x433744)]=!![];continue;case'2':await TestHubHandler['stop'](_0x433744);continue;case'3':this[_0x2c4af1(0x147)]=_0x433744;continue;case'4':logger[_0x2c4af1(0x160)](_0x1c7e0c[_0x2c4af1(0x1e0)](_0x1c7e0c[_0x2c4af1(0x199)],_0x433744));continue;}break;}}[a55_0x10e6c0(0x1e5)](){const _0x40e5bc=a55_0x10e6c0,_0x1fadb5={};_0x1fadb5[_0x40e5bc(0x151)]=function(_0x781890,_0x48429e){return _0x781890===_0x48429e;},_0x1fadb5[_0x40e5bc(0x16c)]=_0x40e5bc(0x18c);const _0x343bba=_0x1fadb5;let _0x170de5=0x0;return async()=>{const _0x22cf17=_0x40e5bc;_0x170de5++;if(_0x343bba[_0x22cf17(0x151)](_0x170de5,0x1)){helper[_0x22cf17(0x18b)](this[_0x22cf17(0x22d)])&&await this['stopBrowserstackLocal']();try{logger[_0x22cf17(0x14d)](_0x343bba[_0x22cf17(0x16c)]),await TestHubHandler[_0x22cf17(0x181)](_0x170de5);}catch(_0x12d641){logger[_0x22cf17(0x14d)]('Error\x20in\x20sending\x20testhub\x20stop:\x20'+util['format'](_0x12d641));}}};}}function a55_0x2294(){const _0xc1bad0=['dswqC','xKGTw','BROWSERSTACK_PERCY','dotenv','xiIzJ','SIGQUIT','isUndefined','BrowserstackHealing.init','WKUmU','handled','918vKJMPR','unhandledErrors','5815026EHSVoJ','skipSessionStatus','getHubUrl','intExitHandler','length','setupKeepAlive','getFinalCaps','XwNNO','ZadVf','isRunning','JEqHi','./testhub/testhubHandler','0|1|4|3|2','setProxySettings','sdkRunID','localOptions','integrations','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','BROWSERSTACK_TURBOSCALE','spMIR','includes','Shutdown\x20triggered\x20by\x20','toString','accessKey','util','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','parallelsPerPlatform','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','hjCxc','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','sbGIG','uuid','./performance-tester','GqJvG','Local\x20binary\x20started\x20successfully','OEJyu','default','getConfigPath','wtPiS','measureWrapper','UPGRADE_REQUIRED','framework','../helpers/globals','FwOQz','GHytu','./percy/utils','BrowserstackHealing.init\x20method\x20timed\x20out','fYROQ','201285mFWuBw','309889gZyuTk','requireSeleniumWebdriverCheck','dDNsW','WEzSV','killSignal','AI_INIT_SUCCESSFUL','ZWrqA','Nemcg','hubUrl','message','debug','No\x20config\x20provided.','uncaughtException','config','Aczyg','false','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','unhandledRejection','envConfig','ZMmpU','SIGINT','zCgnC','3nNYEyv','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','isTrialGrid','AKzdI','skipBinaryInitialisation','turboScaleOptions','turboScale','info','296vYKtZs','NlOzp','platforms','./logger','winstonLogger','YVIvY','WaOel','tcg\x20config\x20setup\x20successful.','setCLICaps','iXUcC','getAccessKey','GFDXc','AI_INIT_FAILURE','Loading\x20environment\x20from:\x20','tcgAuthConfig','setBrowserstackInfraFromConfig','oZXEW','1748956FwcYLE','./testhub/utils','zGzRU','setLogLevel','hQsaC','isBrowserstackInfra','handleExceptions','hIHtF','QGbZX','MJDQH','localIdentifier','getTurboScaleGridDetails','skipSessionName','captureError','fireFunnelTestEvent','stop','mJtoU','getPackageVersion','yiGjE','proxyConfig','platform','Percy\x20stopped','error','bind','Error\x20occured\x20while\x20stopping\x20local\x20binary','checkStopLocalBinaryOnExit','Calling\x20Build\x20Stop\x20from\x20ExitHandler','url','disableAutoCaptureLogs','xeTAd','Percy\x20started\x20successfully','startLocalBinary','proxy','cliConfig','stopLocalBinary','gyXnU','FNAYg','SIGBREAK','env','kmAaS','AI_PROXY_FAILURE','30wnHGQy','warn','FRAMEWORK','getLocalIdentifier','TCG_URL','jcUxf','browserstackLocal','cStmU','brLsD','gxYpd','WrebH','614494wDdebp','BrowserstackHealingInitFailed','SIGABRT','version','SIGHUP','isAuthenticated','Error\x20in\x20percy\x20setup\x20','SDKTestAttempted','playwrightUrl','../bin/utils/constants','compareVersions','readConfig','format','TOmIi','setupBrowserstackLocal','bWvzv','4.5.0','getProxyConfigForTcg','true','forceLocal','selenium-webdriver','useW3C','FTOHY','PFsmP','2625740ZZFYJT','iORfn','startPercy','join','proxyUrl','xpVOs','PpRcB','race','HYYwy','browserStackLocalOptions','lRzjx','TCG_AUTH_FAILURE','stopBrowserstackLocal','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','path','oghLc','init','selfHeal','GQvDj','uZsIu','turboScaleUrl','aiHeal:tcgAuth','testContextOptions','envFile','vGeEd','ygybH','stopPercy','status','isHealingEnabled','setHandlePWError','hYlJt','kHwpz','generateLocalIdentifier','fVaYX','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','beforeExit','leOnm','setUpHubUrl','exitHandler','20110WIdjSq','JGsVM','./test-observability/sessionHandler','codeceptjs','isTrue','constructor','getLocalConfig','turboScaleGridDetails','toLowerCase','lRQGt','qFOlV','bstackConfig','../hubAllocationMethods','percy','tZdDF','koaVp','errorMessage','split'];a55_0x2294=function(){return _0xc1bad0;};return a55_0x2294();}function a55_0x54d9(_0x22518e,_0x5026a4){const _0x229449=a55_0x2294();return a55_0x54d9=function(_0x54d93e,_0x3cbb1d){_0x54d93e=_0x54d93e-0x144;let _0x2f0daa=_0x229449[_0x54d93e];return _0x2f0daa;},a55_0x54d9(_0x22518e,_0x5026a4);}exports[a55_0x10e6c0(0x228)]=BrowserStackSetup;
@@ -1 +1 @@
1
- function a55_0x5403(_0x1e0dc7,_0x5bef20){var _0x4b51f7=a55_0x4b51();return a55_0x5403=function(_0x5403be,_0x28ac9d){_0x5403be=_0x5403be-0x79;var _0x3a6a39=_0x4b51f7[_0x5403be];return _0x3a6a39;},a55_0x5403(_0x1e0dc7,_0x5bef20);}(function(_0x52e748,_0x3427e4){var _0xd87355=a55_0x5403,_0x51582b=_0x52e748();while(!![]){try{var _0x586fd1=parseInt(_0xd87355(0x79))/0x1+parseInt(_0xd87355(0x7f))/0x2+-parseInt(_0xd87355(0x7c))/0x3+parseInt(_0xd87355(0x7d))/0x4+-parseInt(_0xd87355(0x7e))/0x5+-parseInt(_0xd87355(0x7b))/0x6*(parseInt(_0xd87355(0x7a))/0x7)+parseInt(_0xd87355(0x80))/0x8;if(_0x586fd1===_0x3427e4)break;else _0x51582b['push'](_0x51582b['shift']());}catch(_0x45995b){_0x51582b['push'](_0x51582b['shift']());}}}(a55_0x4b51,0x1b46a),exports['API_URL']='https://accessibility.browserstack.com/api');function a55_0x4b51(){var _0x2eaf67=['71004TvjMlo','2225816JpvXBh','128244naRPic','14TfVUSu','637722NMaQxy','100347LIZaSh','98676CvKLzn','544485hYYeIQ'];a55_0x4b51=function(){return _0x2eaf67;};return a55_0x4b51();}
1
+ function a56_0xdf8a(){var _0x15f865=['319008iKfpZr','3451052BIOkPq','10CZopvf','API_URL','14bPDXZJ','45rIofzl','1302552lebVXP','33484YcdcXX','11240rRaKOi','310563HYogus','315pLAUcJ','122589MCpKYq'];a56_0xdf8a=function(){return _0x15f865;};return a56_0xdf8a();}var a56_0x195d39=a56_0x186a;function a56_0x186a(_0x5dcb61,_0x166319){var _0xdf8a96=a56_0xdf8a();return a56_0x186a=function(_0x186ab9,_0x21c93f){_0x186ab9=_0x186ab9-0x17e;var _0x3623e7=_0xdf8a96[_0x186ab9];return _0x3623e7;},a56_0x186a(_0x5dcb61,_0x166319);}(function(_0x26c376,_0x353ef1){var _0x5c105d=a56_0x186a,_0x5d4d53=_0x26c376();while(!![]){try{var _0x3204c3=-parseInt(_0x5c105d(0x185))/0x1+-parseInt(_0x5c105d(0x189))/0x2*(-parseInt(_0x5c105d(0x184))/0x3)+-parseInt(_0x5c105d(0x180))/0x4*(-parseInt(_0x5c105d(0x17e))/0x5)+-parseInt(_0x5c105d(0x17f))/0x6+-parseInt(_0x5c105d(0x183))/0x7*(-parseInt(_0x5c105d(0x181))/0x8)+-parseInt(_0x5c105d(0x182))/0x9*(parseInt(_0x5c105d(0x187))/0xa)+parseInt(_0x5c105d(0x186))/0xb;if(_0x3204c3===_0x353ef1)break;else _0x5d4d53['push'](_0x5d4d53['shift']());}catch(_0x12fdab){_0x5d4d53['push'](_0x5d4d53['shift']());}}}(a56_0xdf8a,0x28f32),exports[a56_0x195d39(0x188)]='https://accessibility.browserstack.com/api');
@@ -1 +1 @@
1
- const a56_0x39473e=a56_0x28ff;function a56_0x28ff(_0x2c8b3a,_0x408171){const _0x1d9f31=a56_0x1d9f();return a56_0x28ff=function(_0x28ff04,_0x2374be){_0x28ff04=_0x28ff04-0x1aa;let _0x18dd5e=_0x1d9f31[_0x28ff04];return _0x18dd5e;},a56_0x28ff(_0x2c8b3a,_0x408171);}(function(_0x50a563,_0xe916fa){const _0x23c09f=a56_0x28ff,_0x2738e5=_0x50a563();while(!![]){try{const _0x3fa13f=parseInt(_0x23c09f(0x1e6))/0x1*(parseInt(_0x23c09f(0x1be))/0x2)+parseInt(_0x23c09f(0x1d8))/0x3+parseInt(_0x23c09f(0x1c2))/0x4*(parseInt(_0x23c09f(0x21d))/0x5)+parseInt(_0x23c09f(0x1e1))/0x6+parseInt(_0x23c09f(0x1fb))/0x7*(parseInt(_0x23c09f(0x1c7))/0x8)+-parseInt(_0x23c09f(0x1c4))/0x9+-parseInt(_0x23c09f(0x1da))/0xa;if(_0x3fa13f===_0xe916fa)break;else _0x2738e5['push'](_0x2738e5['shift']());}catch(_0x49e656){_0x2738e5['push'](_0x2738e5['shift']());}}}(a56_0x1d9f,0x55286));function a56_0x1d9f(){const _0x5e1d6b=['getTestFrameworkDetails','Performing\x20scan\x20before\x20getting\x20results\x20summary','2320kEGnNt','UgPsc','CxEGq','AqiOd','getResultsSummary','string','getUserName','nnMJV','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','response','script','XyVWr','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','AoqSS','body','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','1544430NVttBj','env','9331220CzzBrm','../globals','OaKlQ','error','SSQna','a11y:stop','Build\x20creation\x20had\x20failed.','756426IKuJdM','errors','stack','success','SgDwN','203989PrKfuR','dkJsf','format','fetchPlatformDetails','winstonLogger','javascript','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getGitMetaData','wYkMQ','getResults','RiSFG','Authorization','zUqYp','isTrue','ptwDp','accessibilityToken','nodeRequest','auth','toISOString','executeAsyncScript','cwd','8442odletV','yvxqo','debug','pass','YljEn','QRBzE','Ngjfb','BROWSERSTACK_TEST_ACCESSIBILITY_YML','length','fOFqW','FdrMr','util','Qjcuh','statusText','isAccessibilityPlatform','Content-Type','getPlatform','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','isAccessibilityAutomationSession','toJson','assign','a11y:start','TAaSC','warn','parse','GuZvV','getAccessKey','false','bpUQG','isBrowserStackCommandExecutor','NqzkI','../helper','some','playwright','20mQRwGe','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','forEach','browserstackSessionName','qijiZ','stopAccessibilityTestRun','isUndefined','krbcQ','basename','BzaSz','getBrowserVersion','user','sHKuH','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','message','browserstack_executor','parseFromJson','../performance-tester','wWQSD','stringify','info','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','WNuVY','measureWrapper','bGEra','../logger','data','nfRTf','UNhmO','BS_A11Y_JWT','json','bstackA11yShouldScan','VQZOc','Bearer\x20','UuLMG','includes','status','application/json','JPsSJ','eUyrx','resolve','AtCTL','No\x20accessibility\x20summary\x20was\x20found.','excludeTagsInTestingScope','gZXVN','getAccessibilityResultsSummary','VNJWG','createAccessibilityTestRun','getPlatformVersion','accessibility','checkAccessibilityPlatformConfig','includeTagsInTestingScope','scannerVersion','RTksc','getGlobal','iNsvG','buildDescription','LXoMj','projectName','performScan','2hjyxMI','getBrowserName','HTtHd','__cloud_provider___','108952gOlzyp','isBrowserstackInfra','194706LYNgaN'];a56_0x1d9f=function(){return _0x5e1d6b;};return a56_0x1d9f();}const path=require('path'),util=require(a56_0x39473e(0x206)),bsSetupHelper=require(a56_0x39473e(0x21a)),logger=require(a56_0x39473e(0x236))[a56_0x39473e(0x1ea)],{API_URL}=require('./constants'),PerformanceTester=require(a56_0x39473e(0x22e)),scripts=require('./scripts'),globals=require(a56_0x39473e(0x1db));exports[a56_0x39473e(0x1e9)]=async _0x2e40ed=>{const _0x1e0fea=a56_0x39473e,_0x441470={};_0x441470[_0x1e0fea(0x219)]=function(_0x59f1fa,_0x1cc2b5){return _0x59f1fa===_0x1cc2b5;},_0x441470['OaKlQ']='browserstack';const _0x2bfe2e=_0x441470;let _0x59103d={};try{const _0x4ff067=await _0x2e40ed['getCapabilities']();_0x59103d={'os_name':_0x4ff067[_0x1e0fea(0x20b)](),'os_version':bsSetupHelper[_0x1e0fea(0x1b2)](_0x2bfe2e[_0x1e0fea(0x219)](global[_0x1e0fea(0x1c1)],_0x2bfe2e[_0x1e0fea(0x1dc)])),'browser_name':_0x4ff067[_0x1e0fea(0x1bf)](),'browser_version':_0x4ff067[_0x1e0fea(0x227)]()};}catch(_0x2b5d69){logger[_0x1e0fea(0x1fd)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x2b5d69);}return _0x59103d;},exports[a56_0x39473e(0x20d)]=()=>{const _0x131092=a56_0x39473e,_0x3be6aa={};_0x3be6aa['YljEn']=function(_0x4f6ea1,_0x59ef18){return _0x4f6ea1===_0x59ef18;},_0x3be6aa['wWQSD']=_0x131092(0x1cc),_0x3be6aa['Xvveq']=function(_0x30ac6c,_0x451824){return _0x30ac6c>_0x451824;},_0x3be6aa[_0x131092(0x1d2)]=function(_0x580795,_0x158052){return _0x580795!==_0x158052;},_0x3be6aa[_0x131092(0x1f2)]='null',_0x3be6aa[_0x131092(0x211)]=function(_0xa05ed3,_0x28e0d7){return _0xa05ed3&&_0x28e0d7;};const _0x401090=_0x3be6aa;try{if(!bsSetupHelper[_0x131092(0x1c3)]())return![];const _0x31b9fa=bsSetupHelper[_0x131092(0x1f3)](process[_0x131092(0x1d9)][_0x131092(0x202)])||bsSetupHelper['isTrue'](process[_0x131092(0x1d9)][_0x131092(0x1d3)]),_0x23aea3=_0x401090[_0x131092(0x1ff)](typeof process[_0x131092(0x1d9)][_0x131092(0x23a)],_0x401090[_0x131092(0x22f)])&&_0x401090['Xvveq'](process[_0x131092(0x1d9)][_0x131092(0x23a)]['length'],0x0)&&_0x401090['XyVWr'](process['env'][_0x131092(0x23a)],_0x401090[_0x131092(0x1f2)]);return _0x401090[_0x131092(0x211)](_0x31b9fa,_0x23aea3);}catch(_0x3fa5f6){logger['debug'](_0x131092(0x1d7)+_0x3fa5f6);}return![];},exports['shouldScanTestForAccessibility']=(_0x399b71=null,_0x11c471=!![],_0x4889d8=[])=>{const _0x3e65f8=a56_0x39473e,_0x1e911f={};_0x1e911f[_0x3e65f8(0x214)]=function(_0x52c953,_0x2fd3e6){return _0x52c953==_0x2fd3e6;},_0x1e911f['eUyrx']=function(_0x15dbb8,_0x535e65){return _0x15dbb8>_0x535e65;},_0x1e911f[_0x3e65f8(0x1c9)]=function(_0x2ee2fe,_0x50ede7){return _0x2ee2fe===_0x50ede7;},_0x1e911f[_0x3e65f8(0x1e7)]=function(_0xeba9a6,_0x2f7ba8){return _0xeba9a6&&_0x2f7ba8;},_0x1e911f[_0x3e65f8(0x23f)]=function(_0x42b188,_0x5518ac){return _0x42b188===_0x5518ac;};const _0x35cd17=_0x1e911f;if(_0x35cd17['GuZvV'](process['env'][_0x3e65f8(0x1ec)],null))return!![];try{const _0x1c9dad=JSON[_0x3e65f8(0x213)](process[_0x3e65f8(0x1d9)][_0x3e65f8(0x1ec)]),_0x56b4a3=Array['isArray'](_0x1c9dad[_0x3e65f8(0x1b5)])?_0x1c9dad[_0x3e65f8(0x1b5)]:[],_0xd049b6=Array['isArray'](_0x1c9dad[_0x3e65f8(0x1ad)])?_0x1c9dad[_0x3e65f8(0x1ad)]:[];if(bsSetupHelper['isUndefined'](_0x399b71)){if(_0x35cd17[_0x3e65f8(0x244)](_0x4889d8['length'],0x0)){const _0x4f697a=_0xd049b6[_0x3e65f8(0x21b)](_0x2caa68=>_0x4889d8[_0x3e65f8(0x240)](_0x2caa68)),_0x365587=_0x35cd17[_0x3e65f8(0x1c9)](_0x56b4a3[_0x3e65f8(0x203)],0x0)||_0x56b4a3[_0x3e65f8(0x21b)](_0x461957=>_0x4889d8[_0x3e65f8(0x240)](_0x461957));return _0x35cd17[_0x3e65f8(0x1e7)](!_0x4f697a,_0x365587);}return!![];}let _0x1d9c9e;_0x11c471?_0x1d9c9e=_0x399b71['join']('/'):_0x1d9c9e=_0x399b71;const _0x44117a=_0xd049b6[_0x3e65f8(0x21b)](_0x38c766=>_0x1d9c9e['includes'](_0x38c766)),_0x5eff6e=_0x35cd17[_0x3e65f8(0x23f)](_0x56b4a3['length'],0x0)||_0x56b4a3['some'](_0x3dee27=>_0x1d9c9e[_0x3e65f8(0x240)](_0x3dee27));return _0x35cd17[_0x3e65f8(0x1e7)](!_0x44117a,_0x5eff6e);}catch(_0x12f24b){logger[_0x3e65f8(0x1fd)](_0x3e65f8(0x22a)+util[_0x3e65f8(0x1e8)](_0x12f24b));}return![];},exports[a56_0x39473e(0x1b4)]=_0x578a34=>{const _0x40fabf=a56_0x39473e;let _0x270a4a=![];try{_0x578a34['platforms'][_0x40fabf(0x21f)](_0x2d31fb=>{const _0x4d583a=_0x40fabf;if(bsSetupHelper[_0x4d583a(0x1f3)](_0x2d31fb[_0x4d583a(0x1b3)]))return _0x270a4a=!![],!![];});}catch(_0x4cd1dd){logger[_0x40fabf(0x1fd)](_0x40fabf(0x20c)+_0x4cd1dd);}return _0x270a4a||bsSetupHelper[_0x40fabf(0x1f3)](_0x578a34[_0x40fabf(0x1b3)]);},exports[a56_0x39473e(0x1b1)]=PerformanceTester[a56_0x39473e(0x234)](a56_0x39473e(0x210),async function(_0x4beefb,_0x5e5dc8){const _0x2a642a=a56_0x39473e,_0x459a80={};_0x459a80[_0x2a642a(0x201)]='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x459a80[_0x2a642a(0x1c8)]=_0x2a642a(0x21c),_0x459a80[_0x2a642a(0x200)]=_0x2a642a(0x1eb),_0x459a80[_0x2a642a(0x238)]=_0x2a642a(0x242),_0x459a80['LXoMj']='POST',_0x459a80['kRFBs']='v2/test_runs',_0x459a80[_0x2a642a(0x1de)]=function(_0x473ec4,_0x1a0eb9){return _0x473ec4===_0x1a0eb9;},_0x459a80['wYkMQ']='Invalid\x20configuration\x20passed.',_0x459a80[_0x2a642a(0x224)]=_0x2a642a(0x216);const _0x22dc64=_0x459a80,_0x57df10=bsSetupHelper[_0x2a642a(0x1cd)](_0x4beefb),_0x1d9979=bsSetupHelper[_0x2a642a(0x215)](_0x4beefb);if(bsSetupHelper[_0x2a642a(0x223)](_0x57df10)||bsSetupHelper[_0x2a642a(0x223)](_0x1d9979))return logger[_0x2a642a(0x1dd)](_0x22dc64['Ngjfb']),[null,null];try{let _0x585df9;bsSetupHelper[_0x2a642a(0x223)](process[_0x2a642a(0x1d9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x585df9={}:_0x585df9=JSON[_0x2a642a(0x213)](process[_0x2a642a(0x1d9)][_0x2a642a(0x1ec)]);const {name:_0x5b9aa5,version:_0x3fc679}=bsSetupHelper[_0x2a642a(0x1c5)](_0x4beefb,_0x5e5dc8),_0x338fe3={'projectName':_0x4beefb[_0x2a642a(0x1bc)],'buildName':_0x4beefb['buildName']||path[_0x2a642a(0x225)](path[_0x2a642a(0x1aa)](process[_0x2a642a(0x1fa)]())),'startTime':new Date()[_0x2a642a(0x1f8)](),'description':_0x4beefb[_0x2a642a(0x1ba)]||'','source':{'frameworkName':_0x5e5dc8[_0x2a642a(0x240)](_0x22dc64[_0x2a642a(0x1c8)])?_0x22dc64[_0x2a642a(0x1c8)]:_0x5e5dc8,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x5e5dc8),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x22dc64[_0x2a642a(0x200)],'testFramework':_0x5b9aa5,'testFrameworkVersion':_0x3fc679},'settings':_0x585df9,'versionControl':await bsSetupHelper[_0x2a642a(0x1ed)](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0x2a642a(0x1c3)]()},_0x46e21f={};_0x46e21f[_0x2a642a(0x228)]=_0x57df10,_0x46e21f[_0x2a642a(0x1fe)]=_0x1d9979;const _0xfa8d03={};_0xfa8d03[_0x2a642a(0x20a)]=_0x22dc64[_0x2a642a(0x238)];const _0x4af35d={};_0x4af35d[_0x2a642a(0x1f7)]=_0x46e21f,_0x4af35d['headers']=_0xfa8d03;const _0x3520ac=_0x4af35d,_0x6d1821={};_0x6d1821[_0x2a642a(0x1d5)]=_0x338fe3,_0x6d1821[_0x2a642a(0x23b)]=!![];const _0x4f2554=Object[_0x2a642a(0x20f)](_0x3520ac,_0x6d1821),_0x46cfba=await bsSetupHelper[_0x2a642a(0x1f6)](_0x22dc64[_0x2a642a(0x1bb)],_0x22dc64['kRFBs'],_0x4f2554,_0x4beefb,API_URL);let _0x503bf0=process[_0x2a642a(0x1d9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x503bf0?_0x503bf0=JSON[_0x2a642a(0x213)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x503bf0={},scripts[_0x2a642a(0x22d)](_0x46cfba[_0x2a642a(0x237)][_0x2a642a(0x237)]),scripts[_0x2a642a(0x20e)](),_0x503bf0[_0x2a642a(0x1b6)]=_0x46cfba[_0x2a642a(0x237)]['data'][_0x2a642a(0x1b6)],process[_0x2a642a(0x1d9)][_0x2a642a(0x1ec)]=JSON[_0x2a642a(0x230)](_0x503bf0),[_0x46cfba[_0x2a642a(0x237)]['data'][_0x2a642a(0x1f5)],_0x46cfba[_0x2a642a(0x237)][_0x2a642a(0x237)]['id']];}catch(_0x41aed5){if(_0x41aed5[_0x2a642a(0x1d0)])logger[_0x2a642a(0x1dd)](_0x2a642a(0x1d6)+_0x41aed5['response'][_0x2a642a(0x241)]+'\x20'+_0x41aed5[_0x2a642a(0x1d0)][_0x2a642a(0x208)]+'\x20'+JSON[_0x2a642a(0x230)](_0x41aed5[_0x2a642a(0x1d0)][_0x2a642a(0x237)]));else{if(_0x22dc64['SSQna'](_0x41aed5[_0x2a642a(0x22b)],_0x22dc64[_0x2a642a(0x1ee)])){logger[_0x2a642a(0x1dd)](_0x2a642a(0x1d6)+(_0x41aed5['message']||_0x41aed5[_0x2a642a(0x1e3)]));for(const _0xe886ea of _0x41aed5[_0x2a642a(0x1e2)]){logger['error'](_0xe886ea[_0x2a642a(0x22b)]);}process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x22dc64['krbcQ'],process[_0x2a642a(0x1d9)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x22dc64[_0x2a642a(0x224)];}else logger[_0x2a642a(0x1dd)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x41aed5[_0x2a642a(0x22b)]||_0x41aed5[_0x2a642a(0x1e3)]));}return[null,null];}}),exports[a56_0x39473e(0x222)]=PerformanceTester['measureWrapper'](a56_0x39473e(0x1df),async function(_0x2e999b){const _0x446468=a56_0x39473e,_0x8ecd4a={};_0x8ecd4a[_0x446468(0x233)]=function(_0x44f19f,_0x509781){return _0x44f19f!==_0x509781;},_0x8ecd4a[_0x446468(0x1b7)]=_0x446468(0x1cc),_0x8ecd4a[_0x446468(0x229)]=_0x446468(0x1dd),_0x8ecd4a['gZXVN']=_0x446468(0x1e0),_0x8ecd4a[_0x446468(0x243)]=_0x446468(0x242),_0x8ecd4a[_0x446468(0x1d4)]='PUT',_0x8ecd4a[_0x446468(0x205)]='test_runs/stop',_0x8ecd4a['nnMJV']=function(_0x5b9f38,_0x698bb6){return _0x5b9f38+_0x698bb6;},_0x8ecd4a[_0x446468(0x1f4)]='Invalid\x20request:\x20',_0x8ecd4a[_0x446468(0x204)]=_0x446468(0x1e4);const _0x16f05a=_0x8ecd4a;if(bsSetupHelper[_0x446468(0x223)](process[_0x446468(0x1d9)][_0x446468(0x23a)])||_0x16f05a[_0x446468(0x233)](typeof process[_0x446468(0x1d9)][_0x446468(0x23a)],_0x16f05a[_0x446468(0x1b7)])){const _0x45d3dd={};return _0x45d3dd['status']=_0x16f05a[_0x446468(0x229)],_0x45d3dd[_0x446468(0x22b)]=_0x16f05a[_0x446468(0x1ae)],_0x45d3dd;}const _0x569415={'endTime':new Date()['toISOString']()},_0xa74e10={};_0xa74e10[_0x446468(0x1f1)]=_0x446468(0x23e)+process[_0x446468(0x1d9)][_0x446468(0x23a)],_0xa74e10['Content-Type']=_0x16f05a[_0x446468(0x243)];const _0x72817d={};_0x72817d['headers']=_0xa74e10;const _0x18fe9b=_0x72817d,_0x584c9d={};_0x584c9d[_0x446468(0x1d5)]=_0x569415,_0x584c9d['auth']=null,_0x584c9d['json']=!![];const _0x356f5a=Object[_0x446468(0x20f)](_0x18fe9b,_0x584c9d);try{const _0x30c156=await bsSetupHelper[_0x446468(0x1f6)](_0x16f05a[_0x446468(0x1d4)],_0x16f05a[_0x446468(0x205)],_0x356f5a,_0x2e999b,API_URL);if(_0x30c156[_0x446468(0x237)][_0x446468(0x1dd)])throw new Error(_0x16f05a[_0x446468(0x1ce)](_0x16f05a[_0x446468(0x1f4)],_0x30c156[_0x446468(0x237)][_0x446468(0x1dd)]));else{logger[_0x446468(0x231)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x446468(0x1f8)]());const _0x442695={};return _0x442695[_0x446468(0x241)]=_0x16f05a[_0x446468(0x204)],_0x442695[_0x446468(0x22b)]='',_0x442695;}}catch(_0x1b44c9){_0x1b44c9[_0x446468(0x1d0)]?logger['error'](_0x446468(0x232)+_0x1b44c9['response'][_0x446468(0x241)]+'\x20'+_0x1b44c9[_0x446468(0x1d0)][_0x446468(0x208)]+'\x20'+JSON['stringify'](_0x1b44c9['response'][_0x446468(0x237)])):logger[_0x446468(0x1dd)](_0x446468(0x232)+(_0x1b44c9['message']||util['format'](_0x1b44c9)));const _0x1ab8ed={};return _0x1ab8ed[_0x446468(0x241)]=_0x16f05a[_0x446468(0x229)],_0x1ab8ed[_0x446468(0x22b)]=_0x1b44c9['message']||(_0x1b44c9[_0x446468(0x1d0)]?_0x1b44c9[_0x446468(0x1d0)][_0x446468(0x241)]+':'+_0x1b44c9[_0x446468(0x1d0)][_0x446468(0x208)]:_0x1b44c9),_0x1ab8ed;}}),exports[a56_0x39473e(0x1bd)]=async(_0x5e86fa,_0x2becbc=null)=>{const _0x26431d=a56_0x39473e,_0x4bd91d={};_0x4bd91d[_0x26431d(0x1e5)]=_0x26431d(0x209),_0x4bd91d[_0x26431d(0x1ca)]=_0x26431d(0x23c),_0x4bd91d[_0x26431d(0x1c0)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.';const _0x3dcebb=_0x4bd91d;if(!this[_0x26431d(0x20d)]()||!globals[_0x26431d(0x1b8)](_0x3dcebb[_0x26431d(0x1e5)])||!globals[_0x26431d(0x1b8)](_0x3dcebb['AqiOd'])){logger[_0x26431d(0x212)](_0x3dcebb[_0x26431d(0x1c0)]);return;}const _0x45c653={};_0x45c653['method']=_0x2becbc||global['browserstackSessionName'],logger['debug'](util[_0x26431d(0x1e8)](await _0x5e86fa[_0x26431d(0x1f9)](scripts['performScan'],_0x45c653)));},exports['getAccessibilityResults']=async(_0x4574c8,_0x2e688f)=>{const _0x4baf01=a56_0x39473e,_0x219f1b={};_0x219f1b[_0x4baf01(0x1b9)]=_0x4baf01(0x209),_0x219f1b['lVauJ']=_0x4baf01(0x23c),_0x219f1b[_0x4baf01(0x23d)]=_0x4baf01(0x21e),_0x219f1b[_0x4baf01(0x1f0)]='Performing\x20scan\x20before\x20getting\x20results',_0x219f1b['yvxqo']='No\x20accessibility\x20results\x20were\x20found.';const _0x368218=_0x219f1b;if(!this[_0x4baf01(0x20d)]()||!globals['getGlobal'](_0x368218[_0x4baf01(0x1b9)])||!globals[_0x4baf01(0x1b8)](_0x368218['lVauJ']))return logger[_0x4baf01(0x212)](_0x368218[_0x4baf01(0x23d)]),[];try{logger[_0x4baf01(0x1fd)](_0x368218[_0x4baf01(0x1f0)]);const _0x11c7ba={};_0x11c7ba['method']=_0x2e688f['browserstackSessionName'],logger[_0x4baf01(0x1fd)](util[_0x4baf01(0x1e8)](await _0x4574c8[_0x4baf01(0x1f9)](scripts[_0x4baf01(0x1bd)],_0x11c7ba)));const _0x17c8fe=await _0x4574c8['executeAsyncScript'](scripts[_0x4baf01(0x1ef)]);return _0x17c8fe;}catch{return logger[_0x4baf01(0x1dd)](_0x368218[_0x4baf01(0x1fc)]),[];}},exports[a56_0x39473e(0x1af)]=async(_0x474e41,_0x851c0d)=>{const _0x9a6eac=a56_0x39473e,_0x1539dd={};_0x1539dd[_0x9a6eac(0x235)]='isAccessibilityPlatform',_0x1539dd[_0x9a6eac(0x239)]=_0x9a6eac(0x23c),_0x1539dd[_0x9a6eac(0x1ab)]=_0x9a6eac(0x1cf),_0x1539dd[_0x9a6eac(0x226)]=_0x9a6eac(0x1c6),_0x1539dd['bpUQG']=_0x9a6eac(0x1ac);const _0x23e2dd=_0x1539dd;if(!this[_0x9a6eac(0x20d)]()||!globals[_0x9a6eac(0x1b8)](_0x23e2dd['bGEra'])||!globals[_0x9a6eac(0x1b8)](_0x23e2dd[_0x9a6eac(0x239)]))return logger['warn'](_0x23e2dd[_0x9a6eac(0x1ab)]),{};try{logger[_0x9a6eac(0x1fd)](_0x23e2dd[_0x9a6eac(0x226)]);const _0x4e55aa={};_0x4e55aa['method']=_0x851c0d[_0x9a6eac(0x220)],logger[_0x9a6eac(0x1fd)](util[_0x9a6eac(0x1e8)](await _0x474e41[_0x9a6eac(0x1f9)](scripts['performScan'],_0x4e55aa)));const _0x1c718f=await _0x474e41[_0x9a6eac(0x1f9)](scripts[_0x9a6eac(0x1cb)]);return _0x1c718f;}catch{return logger[_0x9a6eac(0x1dd)](_0x23e2dd[_0x9a6eac(0x217)]),{};}},exports[a56_0x39473e(0x218)]=_0x32fff9=>{const _0x1f3fd3=a56_0x39473e,_0x110d4b={};_0x110d4b[_0x1f3fd3(0x207)]=function(_0x50b974,_0x182dc0){return _0x50b974===_0x182dc0;},_0x110d4b['qijiZ']='string',_0x110d4b['VNJWG']=_0x1f3fd3(0x22c);const _0x1065b8=_0x110d4b;if(_0x32fff9&&_0x32fff9[_0x1f3fd3(0x1d1)]&&_0x1065b8[_0x1f3fd3(0x207)](typeof _0x32fff9[_0x1f3fd3(0x1d1)],_0x1065b8[_0x1f3fd3(0x221)]))return _0x32fff9[_0x1f3fd3(0x1d1)][_0x1f3fd3(0x240)](_0x1065b8[_0x1f3fd3(0x1b0)]);return![];};
1
+ const a57_0x328135=a57_0x1714;(function(_0x6d5fc9,_0x4a0bdd){const _0x3b8923=a57_0x1714,_0x53518c=_0x6d5fc9();while(!![]){try{const _0x5daed2=parseInt(_0x3b8923(0x125))/0x1*(-parseInt(_0x3b8923(0x11a))/0x2)+-parseInt(_0x3b8923(0xeb))/0x3*(parseInt(_0x3b8923(0x103))/0x4)+-parseInt(_0x3b8923(0x119))/0x5*(parseInt(_0x3b8923(0xf8))/0x6)+-parseInt(_0x3b8923(0x178))/0x7+parseInt(_0x3b8923(0x175))/0x8*(-parseInt(_0x3b8923(0x10b))/0x9)+parseInt(_0x3b8923(0x16a))/0xa*(parseInt(_0x3b8923(0x159))/0xb)+parseInt(_0x3b8923(0x124))/0xc;if(_0x5daed2===_0x4a0bdd)break;else _0x53518c['push'](_0x53518c['shift']());}catch(_0x42f9dc){_0x53518c['push'](_0x53518c['shift']());}}}(a57_0x1322,0x48f8f));function a57_0x1322(){const _0x76f27f=['string','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','6204TfJMfe','getAccessibilityResultsSummary','../helper','CLpjK','GuBNX','createAccessibilityTestRun','getPlatform','includeTagsInTestingScope','27eVpJuB','warn','isAccessibilityAutomationSession','getCiInfo','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','browserstack','debug','ntROj','auth','Build\x20creation\x20had\x20failed.','gzDZH','../logger','browserstackSessionName','resolve','275365xwdgmG','664390jhVaPu','browserstack_executor','__cloud_provider___','HFDir','./constants','getUserName','toISOString','basename','getAccessibilityResults','rsLoj','17874912RZCmRX','1TNFoqc','stack','getAccessKey','Invalid\x20configuration\x20passed.','OrfRk','kYrHo','eqKon','NenqA','nodeRequest','uLNwn','format','getCapabilities','scannerVersion','bstackA11yShouldScan','response','xXjHp','false','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','DVmQg','error','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','MywOu','isBrowserstackInfra','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','KjRSg','NBLff','bYEyU','Authorization','env','parseFromJson','projectName','assign','method','script','executeAsyncScript','forEach','QJlPE','util','buildName','EerWq','MtuId','status','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','isAccessibilityPlatform','hjVsj','measureWrapper','buildDescription','JExyf','excludeTagsInTestingScope','getGlobal','12001IZLVqG','Invalid\x20request:\x20','platforms','shouldScanTestForAccessibility','getResultsSummary','SSioz','TMCQk','mvEkA','statusText','tWHjo','aArzk','json','getPackageVersion','TAyIT','getHostInfo','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','jtZwU','2120KdMVdx','yCsjO','BS_A11Y_JWT','info','getTestFrameworkDetails','body','isUndefined','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','includes','rqDVR','getResults','631096WtzVsw','No\x20accessibility\x20summary\x20was\x20found.','javascript','2214772swyEWJ','stringify','isBrowserStackCommandExecutor','performScan','swhvP','gXGPt','length','isTrue','PUT','isArray','UOrxp','BYAQm','FlMlA','DtkZv','cwd','some','zrldr','qlPKU','Performing\x20scan\x20before\x20getting\x20results\x20summary','accessibility','getBrowserVersion','AcQlX','399UOLAGB','getAgentVersion','accessibilityToken','success','pass','parse','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','message','Content-Type','PdDQP','data','olkxf','winstonLogger','36cwOQaD','headers','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','getPlatformVersion','LsPYC','NXzgj','path','application/json','a11y:start'];a57_0x1322=function(){return _0x76f27f;};return a57_0x1322();}function a57_0x1714(_0x35875f,_0x1fdfc3){const _0x132258=a57_0x1322();return a57_0x1714=function(_0x17149b,_0x533ccf){_0x17149b=_0x17149b-0xde;let _0x11465f=_0x132258[_0x17149b];return _0x11465f;},a57_0x1714(_0x35875f,_0x1fdfc3);}const path=require(a57_0x328135(0xfe)),util=require(a57_0x328135(0x14c)),bsSetupHelper=require(a57_0x328135(0x105)),logger=require(a57_0x328135(0x116))[a57_0x328135(0xf7)],{API_URL}=require(a57_0x328135(0x11e)),PerformanceTester=require('../performance-tester'),scripts=require('./scripts'),globals=require('../globals');exports['fetchPlatformDetails']=async _0x340091=>{const _0x4d0f54=a57_0x328135,_0x5ebced={};_0x5ebced[_0x4d0f54(0x139)]=function(_0x613ee8,_0x482749){return _0x613ee8===_0x482749;},_0x5ebced[_0x4d0f54(0x15f)]=_0x4d0f54(0x110);const _0x36405d=_0x5ebced;let _0x453031={};try{const _0x5f48f2=await _0x340091[_0x4d0f54(0x130)]();_0x453031={'os_name':_0x5f48f2[_0x4d0f54(0x109)](),'os_version':bsSetupHelper[_0x4d0f54(0xfb)](_0x36405d['DVmQg'](global[_0x4d0f54(0x11c)],_0x36405d['TMCQk'])),'browser_name':_0x5f48f2['getBrowserName'](),'browser_version':_0x5f48f2[_0x4d0f54(0xe9)]()};}catch(_0x59a338){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x59a338);}return _0x453031;},exports[a57_0x328135(0x10d)]=()=>{const _0x59464d=a57_0x328135,_0x45c0cf={};_0x45c0cf[_0x59464d(0xfc)]=function(_0x4734e3,_0x3797e8){return _0x4734e3===_0x3797e8;},_0x45c0cf[_0x59464d(0x12b)]=_0x59464d(0x101),_0x45c0cf['kYrHo']=function(_0x378e4d,_0x34615a){return _0x378e4d>_0x34615a;},_0x45c0cf[_0x59464d(0x13c)]=function(_0x5e42ae,_0x506709){return _0x5e42ae!==_0x506709;},_0x45c0cf['rsLoj']='null',_0x45c0cf[_0x59464d(0x160)]=function(_0x5726f2,_0x19f1a6){return _0x5726f2&&_0x19f1a6;};const _0x286b37=_0x45c0cf;try{if(!bsSetupHelper[_0x59464d(0x13d)]())return![];const _0x2214d5=bsSetupHelper[_0x59464d(0x17f)](process['env'][_0x59464d(0x138)])||bsSetupHelper[_0x59464d(0x17f)](process[_0x59464d(0x143)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']),_0x52c29f=_0x286b37[_0x59464d(0xfc)](typeof process[_0x59464d(0x143)]['BS_A11Y_JWT'],_0x286b37[_0x59464d(0x12b)])&&_0x286b37[_0x59464d(0x12a)](process[_0x59464d(0x143)][_0x59464d(0x16c)]['length'],0x0)&&_0x286b37[_0x59464d(0x13c)](process[_0x59464d(0x143)]['BS_A11Y_JWT'],_0x286b37[_0x59464d(0x123)]);return _0x286b37['mvEkA'](_0x2214d5,_0x52c29f);}catch(_0x2c1aa0){logger['debug'](_0x59464d(0x10f)+_0x2c1aa0);}return![];},exports[a57_0x328135(0x15c)]=(_0x3a9256=null,_0xc982b4=!![],_0x3f202d=[])=>{const _0x221369=a57_0x328135,_0x5ba789={};_0x5ba789[_0x221369(0x16b)]=function(_0x2de61e,_0x281748){return _0x2de61e==_0x281748;},_0x5ba789[_0x221369(0x17c)]=function(_0x2f7bfb,_0xb4be45){return _0x2f7bfb>_0xb4be45;},_0x5ba789[_0x221369(0xf4)]=function(_0x2b8b48,_0x501fdc){return _0x2b8b48===_0x501fdc;},_0x5ba789[_0x221369(0xe0)]=function(_0x5b2963,_0xf303f2){return _0x5b2963&&_0xf303f2;};const _0x2a61a2=_0x5ba789;if(_0x2a61a2[_0x221369(0x16b)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0xbe1d9=JSON[_0x221369(0xf0)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x2f1f45=Array['isArray'](_0xbe1d9[_0x221369(0x10a)])?_0xbe1d9['includeTagsInTestingScope']:[],_0x2a5614=Array[_0x221369(0xde)](_0xbe1d9['excludeTagsInTestingScope'])?_0xbe1d9[_0x221369(0x157)]:[];if(bsSetupHelper[_0x221369(0x170)](_0x3a9256)){if(_0x2a61a2[_0x221369(0x17c)](_0x3f202d[_0x221369(0x17e)],0x0)){const _0x4575af=_0x2a5614[_0x221369(0xe4)](_0x50dec3=>_0x3f202d[_0x221369(0x172)](_0x50dec3)),_0x203e74=_0x2a61a2['PdDQP'](_0x2f1f45['length'],0x0)||_0x2f1f45[_0x221369(0xe4)](_0xf7be86=>_0x3f202d[_0x221369(0x172)](_0xf7be86));return _0x2a61a2['BYAQm'](!_0x4575af,_0x203e74);}return!![];}let _0x82b69e;_0xc982b4?_0x82b69e=_0x3a9256['join']('/'):_0x82b69e=_0x3a9256;const _0x3e9d5f=_0x2a5614[_0x221369(0xe4)](_0x1651b5=>_0x82b69e['includes'](_0x1651b5)),_0x267bb7=_0x2a61a2[_0x221369(0xf4)](_0x2f1f45[_0x221369(0x17e)],0x0)||_0x2f1f45['some'](_0x268a0e=>_0x82b69e['includes'](_0x268a0e));return _0x2a61a2[_0x221369(0xe0)](!_0x3e9d5f,_0x267bb7);}catch(_0x4b61f2){logger['debug'](_0x221369(0x137)+util['format'](_0x4b61f2));}return![];},exports['checkAccessibilityPlatformConfig']=_0x227571=>{const _0x128abe=a57_0x328135;let _0xefa2f9=![];try{_0x227571[_0x128abe(0x15b)][_0x128abe(0x14a)](_0x488450=>{const _0x14f8a6=_0x128abe;if(bsSetupHelper[_0x14f8a6(0x17f)](_0x488450[_0x14f8a6(0xe8)]))return _0xefa2f9=!![],!![];});}catch(_0x5025ce){logger[_0x128abe(0x111)](_0x128abe(0x168)+_0x5025ce);}return _0xefa2f9||bsSetupHelper[_0x128abe(0x17f)](_0x227571[_0x128abe(0xe8)]);},exports[a57_0x328135(0x108)]=PerformanceTester[a57_0x328135(0x154)](a57_0x328135(0x100),async function(_0x2d56b1,_0x11602a){const _0x20e497=a57_0x328135,_0x220a45={};_0x220a45[_0x20e497(0x106)]=_0x20e497(0x13b),_0x220a45[_0x20e497(0xfd)]='playwright',_0x220a45[_0x20e497(0x156)]=_0x20e497(0x177),_0x220a45['hjVsj']='application/json',_0x220a45['ntROj']='POST',_0x220a45['zrldr']='v2/test_runs',_0x220a45['MtuId']=function(_0x5acfcc,_0x126f0d){return _0x5acfcc===_0x126f0d;},_0x220a45[_0x20e497(0xf6)]=_0x20e497(0x128),_0x220a45['UOrxp']=_0x20e497(0x135);const _0x37c277=_0x220a45,_0x1e60c3=bsSetupHelper[_0x20e497(0x11f)](_0x2d56b1),_0x443615=bsSetupHelper[_0x20e497(0x127)](_0x2d56b1);if(bsSetupHelper[_0x20e497(0x170)](_0x1e60c3)||bsSetupHelper[_0x20e497(0x170)](_0x443615))return logger[_0x20e497(0x13a)](_0x37c277['CLpjK']),[null,null];try{let _0x3e6c16;bsSetupHelper[_0x20e497(0x170)](process[_0x20e497(0x143)][_0x20e497(0x102)])?_0x3e6c16={}:_0x3e6c16=JSON['parse'](process[_0x20e497(0x143)][_0x20e497(0x102)]);const {name:_0x2883de,version:_0x4694eb}=bsSetupHelper[_0x20e497(0x16e)](_0x2d56b1,_0x11602a),_0x29f861={'projectName':_0x2d56b1[_0x20e497(0x145)],'buildName':_0x2d56b1[_0x20e497(0x14d)]||path[_0x20e497(0x121)](path[_0x20e497(0x118)](process[_0x20e497(0xe3)]())),'startTime':new Date()[_0x20e497(0x120)](),'description':_0x2d56b1[_0x20e497(0x155)]||'','source':{'frameworkName':_0x11602a['includes'](_0x37c277[_0x20e497(0xfd)])?_0x37c277[_0x20e497(0xfd)]:_0x11602a,'frameworkVersion':bsSetupHelper[_0x20e497(0x165)](_0x11602a),'sdkVersion':bsSetupHelper[_0x20e497(0xec)](),'language':_0x37c277[_0x20e497(0x156)],'testFramework':_0x2883de,'testFrameworkVersion':_0x4694eb},'settings':_0x3e6c16,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x20e497(0x10e)](),'hostInfo':bsSetupHelper[_0x20e497(0x167)](),'browserstackAutomation':bsSetupHelper[_0x20e497(0x13d)]()},_0x4dc888={};_0x4dc888['user']=_0x1e60c3,_0x4dc888[_0x20e497(0xef)]=_0x443615;const _0x3d7739={};_0x3d7739[_0x20e497(0xf3)]=_0x37c277[_0x20e497(0x153)];const _0x594eb9={};_0x594eb9[_0x20e497(0x113)]=_0x4dc888,_0x594eb9[_0x20e497(0xf9)]=_0x3d7739;const _0x2ca2d9=_0x594eb9,_0x58ddb2={};_0x58ddb2['body']=_0x29f861,_0x58ddb2[_0x20e497(0x164)]=!![];const _0x50fed5=Object[_0x20e497(0x146)](_0x2ca2d9,_0x58ddb2),_0x30a7d8=await bsSetupHelper[_0x20e497(0x12d)](_0x37c277[_0x20e497(0x112)],_0x37c277[_0x20e497(0xe5)],_0x50fed5,_0x2d56b1,API_URL);let _0x447ee4=process['env'][_0x20e497(0x102)];return _0x447ee4?_0x447ee4=JSON[_0x20e497(0xf0)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x447ee4={},scripts[_0x20e497(0x144)](_0x30a7d8[_0x20e497(0xf5)]['data']),scripts['toJson'](),_0x447ee4[_0x20e497(0x131)]=_0x30a7d8['data'][_0x20e497(0xf5)][_0x20e497(0x131)],process[_0x20e497(0x143)][_0x20e497(0x102)]=JSON[_0x20e497(0x179)](_0x447ee4),[_0x30a7d8[_0x20e497(0xf5)][_0x20e497(0xf5)][_0x20e497(0xed)],_0x30a7d8[_0x20e497(0xf5)]['data']['id']];}catch(_0x5c9ba3){if(_0x5c9ba3[_0x20e497(0x133)])logger[_0x20e497(0x13a)](_0x20e497(0x136)+_0x5c9ba3[_0x20e497(0x133)][_0x20e497(0x150)]+'\x20'+_0x5c9ba3[_0x20e497(0x133)][_0x20e497(0x161)]+'\x20'+JSON[_0x20e497(0x179)](_0x5c9ba3[_0x20e497(0x133)][_0x20e497(0xf5)]));else{if(_0x37c277[_0x20e497(0x14f)](_0x5c9ba3[_0x20e497(0xf2)],_0x37c277[_0x20e497(0xf6)])){logger['error'](_0x20e497(0x136)+(_0x5c9ba3[_0x20e497(0xf2)]||_0x5c9ba3[_0x20e497(0x126)]));for(const _0x3c50fc of _0x5c9ba3['errors']){logger['error'](_0x3c50fc[_0x20e497(0xf2)]);}process[_0x20e497(0x143)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x37c277[_0x20e497(0xdf)],process[_0x20e497(0x143)][_0x20e497(0xf1)]=_0x37c277[_0x20e497(0xdf)];}else logger[_0x20e497(0x13a)](_0x20e497(0x136)+(_0x5c9ba3['message']||_0x5c9ba3[_0x20e497(0x126)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester['measureWrapper']('a11y:stop',async function(_0x4e5bcc){const _0x41e8b8=a57_0x328135,_0x41d508={};_0x41d508[_0x41e8b8(0x15e)]=function(_0x282044,_0x5e3dc6){return _0x282044!==_0x5e3dc6;},_0x41d508[_0x41e8b8(0x13f)]=_0x41e8b8(0x101),_0x41d508[_0x41e8b8(0x141)]=_0x41e8b8(0x13a),_0x41d508[_0x41e8b8(0x17d)]=_0x41e8b8(0x114),_0x41d508[_0x41e8b8(0x163)]=_0x41e8b8(0xff),_0x41d508[_0x41e8b8(0xea)]=_0x41e8b8(0x180),_0x41d508['EerWq']='test_runs/stop',_0x41d508['TAyIT']=function(_0x4964d1,_0x2f3b74){return _0x4964d1+_0x2f3b74;},_0x41d508['VyiHX']=_0x41e8b8(0x15a),_0x41d508['DtkZv']=_0x41e8b8(0xee);const _0x8b7dfa=_0x41d508;if(bsSetupHelper[_0x41e8b8(0x170)](process[_0x41e8b8(0x143)]['BS_A11Y_JWT'])||_0x8b7dfa[_0x41e8b8(0x15e)](typeof process['env'][_0x41e8b8(0x16c)],_0x8b7dfa['KjRSg'])){const _0x3d4e08={};return _0x3d4e08[_0x41e8b8(0x150)]=_0x8b7dfa['bYEyU'],_0x3d4e08[_0x41e8b8(0xf2)]=_0x8b7dfa['gXGPt'],_0x3d4e08;}const _0x4e577b={'endTime':new Date()[_0x41e8b8(0x120)]()},_0xc951aa={};_0xc951aa[_0x41e8b8(0x142)]='Bearer\x20'+process['env'][_0x41e8b8(0x16c)],_0xc951aa[_0x41e8b8(0xf3)]=_0x8b7dfa[_0x41e8b8(0x163)];const _0x568080={};_0x568080[_0x41e8b8(0xf9)]=_0xc951aa;const _0x35988a=_0x568080,_0x38c67f={};_0x38c67f[_0x41e8b8(0x16f)]=_0x4e577b,_0x38c67f[_0x41e8b8(0x113)]=null,_0x38c67f[_0x41e8b8(0x164)]=!![];const _0x32dd37=Object[_0x41e8b8(0x146)](_0x35988a,_0x38c67f);try{const _0x281394=await bsSetupHelper[_0x41e8b8(0x12d)](_0x8b7dfa[_0x41e8b8(0xea)],_0x8b7dfa[_0x41e8b8(0x14e)],_0x32dd37,_0x4e5bcc,API_URL);if(_0x281394['data'][_0x41e8b8(0x13a)])throw new Error(_0x8b7dfa[_0x41e8b8(0x166)](_0x8b7dfa['VyiHX'],_0x281394['data'][_0x41e8b8(0x13a)]));else{logger[_0x41e8b8(0x16d)](_0x41e8b8(0xfa)+new Date()[_0x41e8b8(0x120)]());const _0x2fdf14={};return _0x2fdf14[_0x41e8b8(0x150)]=_0x8b7dfa[_0x41e8b8(0xe2)],_0x2fdf14[_0x41e8b8(0xf2)]='',_0x2fdf14;}}catch(_0x3a0839){_0x3a0839['response']?logger['error'](_0x41e8b8(0x151)+_0x3a0839[_0x41e8b8(0x133)][_0x41e8b8(0x150)]+'\x20'+_0x3a0839[_0x41e8b8(0x133)]['statusText']+'\x20'+JSON[_0x41e8b8(0x179)](_0x3a0839[_0x41e8b8(0x133)]['data'])):logger[_0x41e8b8(0x13a)](_0x41e8b8(0x151)+(_0x3a0839[_0x41e8b8(0xf2)]||util[_0x41e8b8(0x12f)](_0x3a0839)));const _0x427ca4={};return _0x427ca4[_0x41e8b8(0x150)]=_0x8b7dfa[_0x41e8b8(0x141)],_0x427ca4['message']=_0x3a0839[_0x41e8b8(0xf2)]||(_0x3a0839[_0x41e8b8(0x133)]?_0x3a0839[_0x41e8b8(0x133)]['status']+':'+_0x3a0839[_0x41e8b8(0x133)][_0x41e8b8(0x161)]:_0x3a0839),_0x427ca4;}}),exports[a57_0x328135(0x17b)]=async(_0x1e41fd,_0x3f983f=null)=>{const _0x2e0c6=a57_0x328135,_0x50ac53={};_0x50ac53['adESI']=_0x2e0c6(0x152),_0x50ac53[_0x2e0c6(0x12c)]=_0x2e0c6(0x132),_0x50ac53['NBLff']=_0x2e0c6(0x13e);const _0xf0f539=_0x50ac53;if(!this[_0x2e0c6(0x10d)]()||!globals['getGlobal'](_0xf0f539['adESI'])||!globals[_0x2e0c6(0x158)](_0xf0f539['NenqA'])){logger[_0x2e0c6(0x10c)](_0xf0f539[_0x2e0c6(0x140)]);return;}const _0x4716a6={};_0x4716a6[_0x2e0c6(0x147)]=_0x3f983f||global[_0x2e0c6(0x117)],logger[_0x2e0c6(0x111)](util[_0x2e0c6(0x12f)](await _0x1e41fd['executeAsyncScript'](scripts['performScan'],_0x4716a6)));},exports[a57_0x328135(0x122)]=async(_0x43e77d,_0x5e24ae)=>{const _0x460531=a57_0x328135,_0x35bcf3={};_0x35bcf3[_0x460531(0x169)]='isAccessibilityPlatform',_0x35bcf3[_0x460531(0x129)]=_0x460531(0x132),_0x35bcf3[_0x460531(0xe1)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x35bcf3[_0x460531(0x11d)]='Performing\x20scan\x20before\x20getting\x20results',_0x35bcf3[_0x460531(0x115)]='No\x20accessibility\x20results\x20were\x20found.';const _0x2ef52d=_0x35bcf3;if(!this[_0x460531(0x10d)]()||!globals[_0x460531(0x158)](_0x2ef52d[_0x460531(0x169)])||!globals[_0x460531(0x158)](_0x2ef52d[_0x460531(0x129)]))return logger[_0x460531(0x10c)](_0x2ef52d[_0x460531(0xe1)]),[];try{logger[_0x460531(0x111)](_0x2ef52d['HFDir']);const _0xbdddcb={};_0xbdddcb[_0x460531(0x147)]=_0x5e24ae['browserstackSessionName'],logger['debug'](util['format'](await _0x43e77d[_0x460531(0x149)](scripts[_0x460531(0x17b)],_0xbdddcb)));const _0x560189=await _0x43e77d[_0x460531(0x149)](scripts[_0x460531(0x174)]);return _0x560189;}catch{return logger[_0x460531(0x13a)](_0x2ef52d['gzDZH']),[];}},exports[a57_0x328135(0x104)]=async(_0x413c73,_0x3cef8c)=>{const _0x389c66=a57_0x328135,_0xbb0cf6={};_0xbb0cf6['pfEcW']=_0x389c66(0x152),_0xbb0cf6[_0x389c66(0x134)]=_0x389c66(0x132),_0xbb0cf6[_0x389c66(0x12e)]=_0x389c66(0x171),_0xbb0cf6[_0x389c66(0x14b)]=_0x389c66(0xe7),_0xbb0cf6[_0x389c66(0x162)]=_0x389c66(0x176);const _0x4ede72=_0xbb0cf6;if(!this[_0x389c66(0x10d)]()||!globals[_0x389c66(0x158)](_0x4ede72['pfEcW'])||!globals[_0x389c66(0x158)](_0x4ede72[_0x389c66(0x134)]))return logger['warn'](_0x4ede72['uLNwn']),{};try{logger[_0x389c66(0x111)](_0x4ede72[_0x389c66(0x14b)]);const _0x33e4e9={};_0x33e4e9[_0x389c66(0x147)]=_0x3cef8c[_0x389c66(0x117)],logger['debug'](util[_0x389c66(0x12f)](await _0x413c73['executeAsyncScript'](scripts['performScan'],_0x33e4e9)));const _0x8a1524=await _0x413c73[_0x389c66(0x149)](scripts[_0x389c66(0x15d)]);return _0x8a1524;}catch{return logger[_0x389c66(0x13a)](_0x4ede72[_0x389c66(0x162)]),{};}},exports[a57_0x328135(0x17a)]=_0x4ed993=>{const _0x18885b=a57_0x328135,_0x5467ec={};_0x5467ec[_0x18885b(0x107)]=function(_0x3fffb7,_0x538dd5){return _0x3fffb7===_0x538dd5;},_0x5467ec[_0x18885b(0x173)]=_0x18885b(0x101),_0x5467ec[_0x18885b(0xe6)]=_0x18885b(0x11b);const _0x5aa692=_0x5467ec;if(_0x4ed993&&_0x4ed993[_0x18885b(0x148)]&&_0x5aa692['GuBNX'](typeof _0x4ed993['script'],_0x5aa692[_0x18885b(0x173)]))return _0x4ed993['script'][_0x18885b(0x172)](_0x5aa692['qlPKU']);return![];};
@@ -1 +1 @@
1
- const a57_0x27fc77=a57_0xac36;(function(_0x227704,_0x187753){const _0x1aba4c=a57_0xac36,_0x532615=_0x227704();while(!![]){try{const _0xfa31d2=-parseInt(_0x1aba4c(0x137))/0x1*(parseInt(_0x1aba4c(0x155))/0x2)+parseInt(_0x1aba4c(0x154))/0x3*(-parseInt(_0x1aba4c(0x153))/0x4)+-parseInt(_0x1aba4c(0x13f))/0x5+parseInt(_0x1aba4c(0x150))/0x6+parseInt(_0x1aba4c(0x152))/0x7*(parseInt(_0x1aba4c(0x142))/0x8)+parseInt(_0x1aba4c(0x151))/0x9*(-parseInt(_0x1aba4c(0x162))/0xa)+-parseInt(_0x1aba4c(0x14d))/0xb*(-parseInt(_0x1aba4c(0x147))/0xc);if(_0xfa31d2===_0x187753)break;else _0x532615['push'](_0x532615['shift']());}catch(_0x5e371a){_0x532615['push'](_0x532615['shift']());}}}(a57_0x42c8,0x9625a));function a57_0xac36(_0x19ec6f,_0x1034a8){const _0x42c8d4=a57_0x42c8();return a57_0xac36=function(_0xac36d5,_0x5dcc29){_0xac36d5=_0xac36d5-0x137;let _0x4cf443=_0x42c8d4[_0xac36d5];return _0x4cf443;},a57_0xac36(_0x19ec6f,_0x1034a8);}function a57_0x42c8(){const _0x3a36ee=['2592825pCGhKX','commandsToWrap','shouldWrapCommand','344ZUOPvx','htabI','exports','xEeJV','scan','5517528QgaTmy','homedir','0|5|3|1|4|6|2','path','findIndex','browserstackFolderPath','22TpPLGn','parseFromJson','toJson','3754890TYhZhf','27yyiJbt','154378gAEjSm','3868024ZNFUJm','3ZAkznG','50imRala','commands','ruubq','saveTestResults','../helper','split','stringify','fromJson','toLowerCase','foOyS','getResultsSummary','mkdirSync','existsSync','1159590ezULsK','name','scripts','1811hQPDSs','saveResults','getResults','commands.json','commandsPath','join','performScan','TXvOJ'];a57_0x42c8=function(){return _0x3a36ee;};return a57_0x42c8();}const path=require(a57_0x27fc77(0x14a)),fs=require('fs'),helper=require(a57_0x27fc77(0x159));class Scripts{constructor(){const _0x4573b7=a57_0x27fc77,_0x76cae3={};_0x76cae3[_0x4573b7(0x15e)]=_0x4573b7(0x149),_0x76cae3['ruubq']='.browserstack',_0x76cae3[_0x4573b7(0x143)]=_0x4573b7(0x13a);const _0x5d9ae7=_0x76cae3,_0x471d47=_0x5d9ae7[_0x4573b7(0x15e)][_0x4573b7(0x15a)]('|');let _0x3bbc3b=0x0;while(!![]){switch(_0x471d47[_0x3bbc3b++]){case'0':this[_0x4573b7(0x13d)]=null;continue;case'1':this[_0x4573b7(0x158)]=null;continue;case'2':this[_0x4573b7(0x15c)]();continue;case'3':this[_0x4573b7(0x15f)]=null;continue;case'4':this['browserstackFolderPath']=path[_0x4573b7(0x13c)](helper[_0x4573b7(0x148)](),_0x5d9ae7[_0x4573b7(0x157)]);continue;case'5':this[_0x4573b7(0x139)]=null;continue;case'6':this[_0x4573b7(0x13b)]=path[_0x4573b7(0x13c)](this['browserstackFolderPath'],_0x5d9ae7[_0x4573b7(0x143)]);continue;}break;}}['parseFromJson'](_0x2d6678){const _0x3c4190=a57_0x27fc77;_0x2d6678[_0x3c4190(0x164)]&&(this[_0x3c4190(0x13d)]=_0x2d6678['scripts'][_0x3c4190(0x146)],this[_0x3c4190(0x139)]=_0x2d6678['scripts'][_0x3c4190(0x139)],this[_0x3c4190(0x15f)]=_0x2d6678[_0x3c4190(0x164)]['getResultsSummary'],this[_0x3c4190(0x158)]=_0x2d6678[_0x3c4190(0x164)][_0x3c4190(0x138)]),this[_0x3c4190(0x140)]=_0x2d6678[_0x3c4190(0x156)];}[a57_0x27fc77(0x141)](_0x55f06f){const _0x4e0b67=a57_0x27fc77,_0x5699bb={};_0x5699bb[_0x4e0b67(0x13e)]=function(_0x176625,_0x155790){return _0x176625!==_0x155790;};const _0x460a08=_0x5699bb;try{return _0x460a08[_0x4e0b67(0x13e)](this[_0x4e0b67(0x140)][_0x4e0b67(0x14b)](_0x25e179=>_0x25e179[_0x4e0b67(0x163)]['toLowerCase']()===_0x55f06f[_0x4e0b67(0x15d)]()),-0x1);}catch{}return![];}[a57_0x27fc77(0x14f)](){const _0x375617=a57_0x27fc77;!fs[_0x375617(0x161)](this[_0x375617(0x14c)])&&fs[_0x375617(0x160)](this[_0x375617(0x14c)]),fs['writeFileSync'](this[_0x375617(0x13b)],JSON[_0x375617(0x15b)]({'scripts':{'scan':this['performScan'],'getResults':this[_0x375617(0x139)],'getResultsSummary':this['getResultsSummary'],'saveResults':this['saveTestResults']},'commands':this[_0x375617(0x140)]}));}[a57_0x27fc77(0x15c)](){const _0x525200=a57_0x27fc77,_0x403db5={'xEeJV':function(_0x2352e3,_0x39716e){return _0x2352e3(_0x39716e);}};fs[_0x525200(0x161)](this['commandsPath'])&&this[_0x525200(0x14e)](_0x403db5[_0x525200(0x145)](require,this[_0x525200(0x13b)]));}}module[a57_0x27fc77(0x144)]=new Scripts();
1
+ function a58_0x4ff3(_0xe9d278,_0x1e556c){const _0x567c19=a58_0x567c();return a58_0x4ff3=function(_0x4ff389,_0x5049a1){_0x4ff389=_0x4ff389-0x11b;let _0x47fcf2=_0x567c19[_0x4ff389];return _0x47fcf2;},a58_0x4ff3(_0xe9d278,_0x1e556c);}const a58_0x5c62f5=a58_0x4ff3;(function(_0x42c52b,_0x6bda72){const _0x10f116=a58_0x4ff3,_0xb2a24a=_0x42c52b();while(!![]){try{const _0x5a8eac=parseInt(_0x10f116(0x12e))/0x1+parseInt(_0x10f116(0x11e))/0x2+-parseInt(_0x10f116(0x132))/0x3*(parseInt(_0x10f116(0x120))/0x4)+parseInt(_0x10f116(0x126))/0x5*(-parseInt(_0x10f116(0x129))/0x6)+parseInt(_0x10f116(0x133))/0x7+-parseInt(_0x10f116(0x139))/0x8+parseInt(_0x10f116(0x11b))/0x9;if(_0x5a8eac===_0x6bda72)break;else _0xb2a24a['push'](_0xb2a24a['shift']());}catch(_0x261868){_0xb2a24a['push'](_0xb2a24a['shift']());}}}(a58_0x567c,0xc26d9));const path=require('path'),fs=require('fs'),helper=require(a58_0x5c62f5(0x13a));class Scripts{constructor(){const _0x41cd8a=a58_0x5c62f5,_0x2f34c8={};_0x2f34c8['aoqzA']=_0x41cd8a(0x138),_0x2f34c8[_0x41cd8a(0x12d)]=_0x41cd8a(0x12a),_0x2f34c8['yWjMv']='commands.json';const _0x17a2a0=_0x2f34c8,_0x4c06e4=_0x17a2a0['aoqzA']['split']('|');let _0x5c0633=0x0;while(!![]){switch(_0x4c06e4[_0x5c0633++]){case'0':this[_0x41cd8a(0x12f)]=null;continue;case'1':this['getResultsSummary']=null;continue;case'2':this['performScan']=null;continue;case'3':this[_0x41cd8a(0x137)]();continue;case'4':this[_0x41cd8a(0x13b)]=null;continue;case'5':this[_0x41cd8a(0x121)]=path[_0x41cd8a(0x135)](helper[_0x41cd8a(0x123)](),_0x17a2a0[_0x41cd8a(0x12d)]);continue;case'6':this['commandsPath']=path['join'](this['browserstackFolderPath'],_0x17a2a0['yWjMv']);continue;}break;}}[a58_0x5c62f5(0x134)](_0x471703){const _0x293a28=a58_0x5c62f5;_0x471703[_0x293a28(0x13c)]&&(this['performScan']=_0x471703['scripts']['scan'],this[_0x293a28(0x13b)]=_0x471703[_0x293a28(0x13c)]['getResults'],this[_0x293a28(0x131)]=_0x471703['scripts']['getResultsSummary'],this[_0x293a28(0x12f)]=_0x471703[_0x293a28(0x13c)]['saveResults']),this[_0x293a28(0x128)]=_0x471703['commands'];}[a58_0x5c62f5(0x12c)](_0x4a2a9a){const _0x486364=a58_0x5c62f5,_0x3f4df1={};_0x3f4df1[_0x486364(0x11d)]=function(_0x34a0d3,_0x1aa18d){return _0x34a0d3!==_0x1aa18d;};const _0x1ebad1=_0x3f4df1;try{return _0x1ebad1[_0x486364(0x11d)](this[_0x486364(0x128)][_0x486364(0x122)](_0x3ddf08=>_0x3ddf08['name'][_0x486364(0x124)]()===_0x4a2a9a[_0x486364(0x124)]()),-0x1);}catch{}return![];}[a58_0x5c62f5(0x127)](){const _0x4cf7bf=a58_0x5c62f5;!fs[_0x4cf7bf(0x136)](this['browserstackFolderPath'])&&fs[_0x4cf7bf(0x11f)](this[_0x4cf7bf(0x121)]),fs['writeFileSync'](this['commandsPath'],JSON['stringify']({'scripts':{'scan':this[_0x4cf7bf(0x130)],'getResults':this[_0x4cf7bf(0x13b)],'getResultsSummary':this['getResultsSummary'],'saveResults':this[_0x4cf7bf(0x12f)]},'commands':this['commandsToWrap']}));}[a58_0x5c62f5(0x137)](){const _0x3cee75=a58_0x5c62f5,_0x191e8e={'vuvdt':function(_0x301e4f,_0x48d4ee){return _0x301e4f(_0x48d4ee);}};fs[_0x3cee75(0x136)](this['commandsPath'])&&this[_0x3cee75(0x134)](_0x191e8e[_0x3cee75(0x125)](require,this[_0x3cee75(0x11c)]));}}module[a58_0x5c62f5(0x12b)]=new Scripts();function a58_0x567c(){const _0x268d47=['hjJnI','656940aWVzAE','saveTestResults','performScan','getResultsSummary','6EldnFR','8880900izXhnU','parseFromJson','join','existsSync','fromJson','2|4|1|0|5|6|3','9690040quqDQe','../helper','getResults','scripts','17206893mHeVPO','commandsPath','pLdEf','724524aooRSU','mkdirSync','2810204sHZpzh','browserstackFolderPath','findIndex','homedir','toLowerCase','vuvdt','787045mXPglN','toJson','commandsToWrap','30cDVscS','.browserstack','exports','shouldWrapCommand'];a58_0x567c=function(){return _0x268d47;};return a58_0x567c();}
@@ -0,0 +1 @@
1
+ const a59_0x3c9a6e=a59_0x55c5;(function(_0x2084da,_0x3254b5){const _0x59d648=a59_0x55c5,_0x3c7175=_0x2084da();while(!![]){try{const _0x152a6d=-parseInt(_0x59d648(0xcb))/0x1+parseInt(_0x59d648(0x9d))/0x2+parseInt(_0x59d648(0xb8))/0x3*(-parseInt(_0x59d648(0x8e))/0x4)+parseInt(_0x59d648(0xa9))/0x5+-parseInt(_0x59d648(0xc7))/0x6+parseInt(_0x59d648(0x95))/0x7*(parseInt(_0x59d648(0x72))/0x8)+parseInt(_0x59d648(0x84))/0x9;if(_0x152a6d===_0x3254b5)break;else _0x3c7175['push'](_0x3c7175['shift']());}catch(_0x32a367){_0x3c7175['push'](_0x3c7175['shift']());}}}(a59_0x2dfd,0xa9da5));function a59_0x2dfd(){const _0x4a193a=['wpuES','getTestName','race','getCommands','vWGRd','path','2605127UxRlZh','gBxaR','MxHml','aiHeal_groupId','../../bin/utils/constants','POLL_HEALING_RESULT_TIMEOUT','kZeuy','selector','1185452sELoUS','BrowserstackHealing.pollResult\x20method\x20timed\x20out','getCapabilities','_handleEvent','locatorType','logData','\x22:\x20{\x22endpoint\x22:\x20\x22','BrowserstackHealingHealFailureFailed','browserstackSessionName','AoZgU','aiHealing','QHpfx','6670600OAwdfr','JVdpS','BrowserstackHealingPollResultFailed','get','handleFailure','getProjectName','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','VLtRi','TCG_URL','error','framework','../globals','parameters_','BrowserstackHealing.setToken\x20method\x20timed\x20out','aiHeal_isGroupAIEnabled','380802XuWRSg','qdkMJ','getSession','set','aiHeal_userId','setTcgToken','\x22}}}','debug','freeze','aiHeal_sessionToken','healFailure','initializeCapabilities','../logger','Olict','split','7138620FswkJy','getId','value','initializeHealingCapabilities','1274413oaOcyi','handleSuccess','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','ZmPiN','BrowserstackHealing','winstonLogger','LJyMB','map_','forEach','16ROlXmq','rPqVQ','asSOx','HEALING_LOG_DATA_TIMEOUT','../../ai-sdk-node/bundle','capabilities_','ipXoX','XiWTw','TCG_REGION','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','getGlobal','replace','EguPW','CyOFq','cancel','jukcY','BrowserstackHealingSetTcgTokenFailed','message','6683400xeTcDn','EcKII','setToken','name_','isSelfHealEnabled','BrowserstackHealing.logData\x20method\x20timed\x20out','then','BrowserstackHealingLogDataFailed','config','using','8VUcFjk'];a59_0x2dfd=function(){return _0x4a193a;};return a59_0x2dfd();}function a59_0x55c5(_0x2a3514,_0x3c3a7b){const _0x2dfd75=a59_0x2dfd();return a59_0x55c5=function(_0x55c5c9,_0x160050){_0x55c5c9=_0x55c5c9-0x72;let _0x6a4daf=_0x2dfd75[_0x55c5c9];return _0x6a4daf;},a59_0x55c5(_0x2a3514,_0x3c3a7b);}const path=require(a59_0x3c9a6e(0x94)),{commandRepository}=require('./autoHealHelper'),constants=require(a59_0x3c9a6e(0x99)),logger=require(a59_0x3c9a6e(0xc4))[a59_0x3c9a6e(0xd0)],globals=require(a59_0x3c9a6e(0xb4)),timeoutPromise=require('../../helpers/timeoutPromise'),isUndefinedOrNull=_0x47fcdc=>_0x47fcdc===undefined||_0x47fcdc===null||_0x47fcdc==='',isNotUndefinedOrNull=_0x3f1b27=>!isUndefinedOrNull(_0x3f1b27),isString=_0x30849b=>isNotUndefinedOrNull(_0x30849b)&&typeof _0x30849b==='string';class AiSdkWrapper{constructor(){const _0x209ea8=a59_0x3c9a6e,_0x58bf4c={'MxHml':function(_0x91aeb2,_0x237e7a){return _0x91aeb2(_0x237e7a);},'ZmPiN':_0x209ea8(0x76)};this[_0x209ea8(0xcf)]=undefined;try{this[_0x209ea8(0xcf)]=_0x58bf4c[_0x209ea8(0x97)](require,path['join'](__dirname,_0x58bf4c[_0x209ea8(0xce)]));}catch(_0x4ea66d){logger[_0x209ea8(0xb2)](_0x209ea8(0xaf)+(_0x4ea66d&&_0x4ea66d[_0x209ea8(0x83)]?_0x4ea66d[_0x209ea8(0x83)]:''));}}[a59_0x3c9a6e(0xca)](_0x5a50e5){const _0x54f3ca=a59_0x3c9a6e;try{const _0x27b191=this[_0x54f3ca(0xcf)][_0x54f3ca(0xc3)](Object['fromEntries'](_0x5a50e5[_0x54f3ca(0x9f)]()[_0x54f3ca(0xd2)]));Object['keys'](_0x27b191)[_0x54f3ca(0xd3)](_0xbecb99=>{const _0x379dc9=_0x54f3ca,_0x3723d1=_0x5a50e5[_0x379dc9(0x77)][_0x379dc9(0xac)](_0xbecb99);_0x5a50e5[_0x379dc9(0x77)][_0x379dc9(0xbb)](_0xbecb99,_0x27b191[_0xbecb99]);});}catch(_0x4daf2e){logger[_0x54f3ca(0xb2)]('Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20'+(_0x4daf2e&&_0x4daf2e[_0x54f3ca(0x83)]?_0x4daf2e['message']:''));}}async[a59_0x3c9a6e(0xbd)](_0x4eb4ce){const _0x50cc7d=a59_0x3c9a6e,_0xff12e5={'WeuOK':function(_0x4e90be,_0x1ca17b,_0x47e580,_0x3ae9f6,_0xfe74c1,_0x2c1395,_0x5c557d){return _0x4e90be(_0x1ca17b,_0x47e580,_0x3ae9f6,_0xfe74c1,_0x2c1395,_0x5c557d);},'qdkMJ':_0x50cc7d(0xb6),'coYtn':_0x50cc7d(0x82),'kZeuy':'aiHeal_sessionToken'},_0x3f3144=new Date(),_0xb7dd0a=_0xff12e5['WeuOK'](timeoutPromise,constants['SET_TCG_TOKEN_TIMEOUT'],_0xff12e5[_0x50cc7d(0xb9)],_0xff12e5['coYtn'],_0x3f3144,this[_0x50cc7d(0x8c)],this[_0x50cc7d(0xb3)]);await Promise[_0x50cc7d(0x91)]([this[_0x50cc7d(0xcf)][_0x50cc7d(0x86)](_0x4eb4ce,globals[_0x50cc7d(0x7c)](_0xff12e5[_0x50cc7d(0x9b)]),constants[_0x50cc7d(0xb1)])[_0x50cc7d(0x8a)](()=>{_0xb7dd0a['cancel']();}),_0xb7dd0a]);}async[a59_0x3c9a6e(0xa0)](_0x361288,_0x247cf4,_0x1c8c68,_0x20db2){const _0x2a8d10=a59_0x3c9a6e,_0xfa804f={'EcKII':function(_0x4f16d8,_0x163b64){return _0x4f16d8===_0x163b64;},'Olict':function(_0x4ff6ae,_0x13b933){return _0x4ff6ae(_0x13b933);},'CyOFq':function(_0x3aac68,_0x203963){return _0x3aac68(_0x203963);},'LJyMB':function(_0x1d05b0,_0x641741){return _0x1d05b0(_0x641741);},'gBxaR':function(_0x2297c4,_0x433c0c){return _0x2297c4(_0x433c0c);},'XiWTw':function(_0x510851,_0xb65f84){return _0x510851(_0xb65f84);},'JVdpS':function(_0x481a30,_0x7eba0c){return _0x481a30(_0x7eba0c);},'rPqVQ':function(_0x13c473,_0x3ddb0d){return _0x13c473(_0x3ddb0d);},'wpuES':'s://','asSOx':_0x2a8d10(0xbc),'iTCDg':_0x2a8d10(0x98),'QHpfx':_0x2a8d10(0xb7),'VLtRi':function(_0x2ee18d,_0xeccd5c,_0x5dd7a3,_0x37bd03,_0x13feb2,_0x48b973,_0x5bdd44){return _0x2ee18d(_0xeccd5c,_0x5dd7a3,_0x37bd03,_0x13feb2,_0x48b973,_0x5bdd44);},'bItuv':_0x2a8d10(0x89),'vWGRd':_0x2a8d10(0x8b),'oWTvo':function(_0x481dc1,_0x5d31cf,_0x941d9b,_0x2acae8,_0x5ef970,_0x23e2d1,_0x46a8d1){return _0x481dc1(_0x5d31cf,_0x941d9b,_0x2acae8,_0x5ef970,_0x23e2d1,_0x46a8d1);},'HjELg':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','AoZgU':_0x2a8d10(0xa4)},_0x2b406b=(await _0x247cf4[_0x2a8d10(0xba)]())[_0x2a8d10(0xc8)]();let _0x6b2429='';if(commandRepository[_0x2a8d10(0x88)]()&&_0xfa804f[_0x2a8d10(0x85)](_0x20db2,![])||_0xfa804f[_0x2a8d10(0x85)](_0x20db2,!![])){const _0x4485c0=_0xfa804f['Olict'](isNotUndefinedOrNull,_0x1c8c68[_0x2a8d10(0xb5)][_0x2a8d10(0x8d)])&&_0xfa804f[_0x2a8d10(0x7f)](isString,_0x1c8c68[_0x2a8d10(0xb5)][_0x2a8d10(0x8d)])?_0x1c8c68['parameters_'][_0x2a8d10(0x8d)]['replace'](/'/g,'\x5c\x27')[_0x2a8d10(0x7d)](/"/g,'\x5c\x22'):'',_0x3f9dbe=_0xfa804f[_0x2a8d10(0xc5)](isNotUndefinedOrNull,_0x1c8c68[_0x2a8d10(0xb5)]['using'])&&_0xfa804f[_0x2a8d10(0xd1)](isString,_0x1c8c68[_0x2a8d10(0xb5)][_0x2a8d10(0xc9)])?_0x1c8c68[_0x2a8d10(0xb5)]['value'][_0x2a8d10(0x7d)](/'/g,'\x5c\x27')[_0x2a8d10(0x7d)](/"/g,'\x5c\x22'):'',_0x434756=_0xfa804f[_0x2a8d10(0x96)](isNotUndefinedOrNull,commandRepository['getProjectName']())&&_0xfa804f[_0x2a8d10(0xc5)](isString,commandRepository[_0x2a8d10(0xae)]())?commandRepository[_0x2a8d10(0xae)]()['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';let _0x3b455f=_0xfa804f[_0x2a8d10(0x79)](isNotUndefinedOrNull,global[_0x2a8d10(0xa5)])&&_0xfa804f['JVdpS'](isString,global[_0x2a8d10(0xa5)])?global[_0x2a8d10(0xa5)][_0x2a8d10(0x7d)](/'/g,'\x5c\x27')[_0x2a8d10(0x7d)](/"/g,'\x5c\x22'):'';!_0x3b455f&&(_0x3b455f=_0xfa804f[_0x2a8d10(0x73)](isNotUndefinedOrNull,commandRepository[_0x2a8d10(0x90)]())&&_0xfa804f[_0x2a8d10(0xc5)](isString,commandRepository[_0x2a8d10(0x90)]())?commandRepository[_0x2a8d10(0x90)]()['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'');let _0x552f64='{\x22region\x22:\x20\x22'+constants[_0x2a8d10(0x7a)]+'\x22,\x20\x22tcgUrls\x22:\x20{\x22'+constants[_0x2a8d10(0x7a)]+_0x2a8d10(0xa3)+constants[_0x2a8d10(0xb1)][_0x2a8d10(0xc6)](_0xfa804f[_0x2a8d10(0x8f)])[0x1]+_0x2a8d10(0xbe);_0x552f64=_0xfa804f[_0x2a8d10(0xaa)](isNotUndefinedOrNull,_0x552f64)&&_0xfa804f[_0x2a8d10(0x73)](isString,_0x552f64)?_0x552f64[_0x2a8d10(0x7d)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';const _0x2f02a6=commandRepository[_0x2a8d10(0x92)](_0x2b406b),_0x5acffc=globals['getGlobal'](_0xfa804f[_0x2a8d10(0x74)]),_0x30dca5=globals[_0x2a8d10(0x7c)](_0xfa804f['iTCDg']),_0x3688ce=globals[_0x2a8d10(0x7c)](_0xfa804f[_0x2a8d10(0xa8)]),_0x17a21e=![],_0xa9b150=new Date();if(_0x20db2){const _0x45fe75=_0xfa804f[_0x2a8d10(0xb0)](timeoutPromise,constants[_0x2a8d10(0x75)],_0xfa804f['bItuv'],_0xfa804f[_0x2a8d10(0x93)],_0xa9b150,this[_0x2a8d10(0x8c)],this[_0x2a8d10(0xb3)]);_0x6b2429=await Promise[_0x2a8d10(0x91)]([this[_0x2a8d10(0xcf)][_0x2a8d10(0xa2)](_0x4485c0,_0x3f9dbe,_0x434756,_0x3b455f,_0x30dca5,_0x2b406b,_0x2f02a6,_0x552f64)[_0x2a8d10(0x8a)](_0xe2dc3d=>{const _0x3c7ce2=_0x2a8d10;return _0x45fe75[_0x3c7ce2(0x80)](),_0xe2dc3d;}),_0x45fe75]);}else{if(commandRepository[_0x2a8d10(0x88)]()){const _0x2e5372=_0xfa804f['oWTvo'](timeoutPromise,constants['HEALING_FAILURE_TIMEOUT'],_0xfa804f['HjELg'],_0xfa804f[_0x2a8d10(0xa6)],_0xa9b150,this[_0x2a8d10(0x8c)],this[_0x2a8d10(0xb3)]);_0x6b2429=await Promise['race']([this[_0x2a8d10(0xcf)][_0x2a8d10(0xc2)](_0x4485c0,_0x3f9dbe,_0x434756,_0x3b455f,_0x5acffc,_0x30dca5,_0x2b406b,_0x2f02a6,_0x17a21e,_0x3688ce,_0x552f64)[_0x2a8d10(0x8a)](_0x4ea491=>{const _0x331b29=_0x2a8d10;return _0x2e5372[_0x331b29(0x80)](),_0x4ea491;}),_0x2e5372]);}}_0x6b2429&&await _0x247cf4['executeScript'](_0x6b2429);}}async[a59_0x3c9a6e(0xcc)](_0x20119a,_0x1d8ba1,_0x45aa45){const _0x5ab52e=a59_0x3c9a6e;try{await this['_handleEvent'](_0x20119a,_0x1d8ba1,_0x45aa45,!![]);}catch(_0x158329){return logger[_0x5ab52e(0xb2)](_0x5ab52e(0xcd)+(_0x158329&&_0x158329[_0x5ab52e(0x83)]?_0x158329[_0x5ab52e(0x83)]:'')),![];}return!![];}async[a59_0x3c9a6e(0xad)](_0x242679,_0x3637e6,_0x485d50){const _0xd93e67=a59_0x3c9a6e,_0x22ebfa={'EjLmI':function(_0x59942f,_0x30045e,_0x54a95d,_0x1fe81a,_0x4fbe7e,_0x41f570,_0x2b2c5b){return _0x59942f(_0x30045e,_0x54a95d,_0x1fe81a,_0x4fbe7e,_0x41f570,_0x2b2c5b);},'ipXoX':_0xd93e67(0x9e),'jukcY':_0xd93e67(0xab),'EguPW':_0xd93e67(0xc1)};try{await this[_0xd93e67(0xa0)](_0x242679,_0x3637e6,_0x485d50,![]);const _0x3ff411=(await _0x3637e6['getSession']())[_0xd93e67(0xc8)](),_0x9d7fe4=new Date(),_0x16124c=_0x22ebfa['EjLmI'](timeoutPromise,constants[_0xd93e67(0x9a)],_0x22ebfa[_0xd93e67(0x78)],_0x22ebfa[_0xd93e67(0x81)],_0x9d7fe4,this['config'],this[_0xd93e67(0xb3)]),_0x205811=await Promise[_0xd93e67(0x91)]([this[_0xd93e67(0xcf)]['pollResult'](constants[_0xd93e67(0xb1)],_0x3ff411,globals[_0xd93e67(0x7c)](_0x22ebfa[_0xd93e67(0x7e)]))[_0xd93e67(0x8a)](_0x5300d4=>{const _0x11fe8d=_0xd93e67;return _0x16124c[_0x11fe8d(0x80)](),_0x5300d4;}),_0x16124c]);if(_0x205811&&_0x205811[_0xd93e67(0x9c)]&&_0x205811[_0xd93e67(0xc9)]){const _0x5e5073={};return _0x5e5073[_0xd93e67(0xa1)]=_0x205811[_0xd93e67(0x9c)],_0x5e5073['locatorValue']=_0x205811[_0xd93e67(0xc9)],_0x5e5073[_0xd93e67(0xa7)]=!![],_0x5e5073;}const _0x22c404={};return _0x22c404[_0xd93e67(0xa1)]=_0x485d50[_0xd93e67(0xb5)][_0xd93e67(0x8d)],_0x22c404['locatorValue']=_0x205811[_0xd93e67(0xc9)],_0x22c404[_0xd93e67(0xa7)]=!![],_0x22c404;}catch(_0x26cb3c){return logger[_0xd93e67(0xbf)](_0xd93e67(0x7b)+(_0x26cb3c&&_0x26cb3c[_0xd93e67(0x83)]?_0x26cb3c[_0xd93e67(0x83)]:'')),logger['info']('Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20'+_0x485d50[_0xd93e67(0x87)]+'\x20command'),_0x485d50;}}}exports['aiSdkWrapper']=Object[a59_0x3c9a6e(0xc0)](new AiSdkWrapper());
@@ -0,0 +1 @@
1
+ function a60_0xd406(){const _0xf141b9=['setAuthInfo','getFramework','getGlobal','setProjectNameForHealingContext','commands','101080kyguin','pushCommand','join','aiHeal_isHealingEnabled','WQryI','245291SlvQsN','45285IyDsxc','setTcgTokenStatus','commandRepository','getAuthInfo','map','XYrDW','dYoXy','stringify','../globals','BwgQe','projectName','DdjEn','framework','winstonLogger','authInfo','selfHeal','2WCjQra','setFramework','258JPMUmP','OnGmX','_pushCommand','getTestName','accessKey','4|0|5|2|3|1','getCommands','method','config','ASCKn','push','isTcgTokenSet','split','../logger','setAiSessionTimeStamp','userName','now','setTestNameForHealingContext','190227AIJWkI','2463615JaImcS','1579018GouixO','testName','9036140eKeGdl','getConfig','debug','8UZZhsq','true'];a60_0xd406=function(){return _0xf141b9;};return a60_0xd406();}const a60_0x412ef3=a60_0x54ff;function a60_0x54ff(_0x5b60e4,_0x5266ef){const _0xd4063c=a60_0xd406();return a60_0x54ff=function(_0x54ff6f,_0x2c6bb8){_0x54ff6f=_0x54ff6f-0x88;let _0x545ecf=_0xd4063c[_0x54ff6f];return _0x545ecf;},a60_0x54ff(_0x5b60e4,_0x5266ef);}(function(_0x37602e,_0x42bffd){const _0x1edd09=a60_0x54ff,_0x3d32a7=_0x37602e();while(!![]){try{const _0x3ac24f=parseInt(_0x1edd09(0xb6))/0x1+-parseInt(_0x1edd09(0x8f))/0x2*(parseInt(_0x1edd09(0xa3))/0x3)+parseInt(_0x1edd09(0xb1))/0x4+parseInt(_0x1edd09(0xb7))/0x5*(-parseInt(_0x1edd09(0x91))/0x6)+-parseInt(_0x1edd09(0xa5))/0x7*(parseInt(_0x1edd09(0xaa))/0x8)+-parseInt(_0x1edd09(0xa4))/0x9+parseInt(_0x1edd09(0xa7))/0xa;if(_0x3ac24f===_0x42bffd)break;else _0x3d32a7['push'](_0x3d32a7['shift']());}catch(_0x40b1e1){_0x3d32a7['push'](_0x3d32a7['shift']());}}}(a60_0xd406,0x36336));const calculateTimeDiff=_0x50f35d=>Date[a60_0x412ef3(0xa1)]()-_0x50f35d,logger=require(a60_0x412ef3(0x9e))[a60_0x412ef3(0x8c)],globals=require(a60_0x412ef3(0xbf));class HealingCommandRepo{constructor(){const _0x48d3d7=a60_0x412ef3,_0x51fc48={};_0x51fc48['dYoXy']=_0x48d3d7(0x96);const _0x40eb97=_0x51fc48,_0x5a3979=_0x40eb97[_0x48d3d7(0xbd)]['split']('|');let _0x5a28da=0x0;while(!![]){switch(_0x5a3979[_0x5a28da++]){case'0':this['aiSessionTimeStamp']={};continue;case'1':this['isTcgTokenSet']=![];continue;case'2':this[_0x48d3d7(0xa6)]='';continue;case'3':this['authInfo']={};continue;case'4':this[_0x48d3d7(0xb0)]={};continue;case'5':this['projectName']='';continue;}break;}}[a60_0x412ef3(0x93)](_0x541051,_0x4b6696){const _0x101780=a60_0x412ef3,_0x2740e2={};_0x2740e2[_0x101780(0x88)]=function(_0x44fe65,_0x501097){return _0x44fe65 in _0x501097;};const _0x11954f=_0x2740e2;!_0x11954f['BwgQe'](_0x541051,this['commands'])&&(this[_0x101780(0xb0)][_0x541051]=[]),this[_0x101780(0xb0)][_0x541051][_0x101780(0x9b)](_0x4b6696);}[a60_0x412ef3(0xb2)](_0x33423a,_0x4d0696){const _0x41de9c=a60_0x412ef3,_0x11b85c={'HYnKn':function(_0x2150f7,_0x2ca776){return _0x2150f7(_0x2ca776);}},_0x1ecd26=_0x4d0696[_0x41de9c(0x98)],_0x2a207d=_0x4d0696['path'][_0x41de9c(0x9d)](_0x33423a)[0x1],_0x2e1b90=this['aiSessionTimeStamp'][_0x33423a],_0x457166={'k':_0x1ecd26+':'+_0x2a207d,'t':_0x11b85c['HYnKn'](calculateTimeDiff,_0x2e1b90)};this[_0x41de9c(0x93)](_0x33423a,_0x457166);}[a60_0x412ef3(0x9f)](_0x59ae82){this['aiSessionTimeStamp'][_0x59ae82]=Date['now']();}['setAuthInfo'](_0x274795,_0x225727){const _0x1a1975=a60_0x412ef3;this[_0x1a1975(0x8d)]['userName']=_0x274795,this[_0x1a1975(0x8d)]['accessKey']=_0x225727;}[a60_0x412ef3(0xba)](){const _0x4c00aa=a60_0x412ef3;return this[_0x4c00aa(0x8d)];}[a60_0x412ef3(0xaf)](_0x187ee8){const _0x4608f7=a60_0x412ef3;this[_0x4608f7(0x89)]=_0x187ee8;}[a60_0x412ef3(0xa2)](_0x164500){this['testName']=_0x164500;}['setConfig'](_0x4eb009){const _0x36f2b5=a60_0x412ef3;this[_0x36f2b5(0x99)]=_0x4eb009,this['setProjectNameForHealingContext'](_0x4eb009[_0x36f2b5(0x89)]),this[_0x36f2b5(0xac)](_0x4eb009[_0x36f2b5(0xa0)],_0x4eb009[_0x36f2b5(0x95)]);}[a60_0x412ef3(0x90)](_0x2344e2){this['framework']=_0x2344e2;}[a60_0x412ef3(0xb8)](_0x158485){const _0x790aca=a60_0x412ef3;this[_0x790aca(0x9c)]=_0x158485;}['getConfig'](){return this['config'];}[a60_0x412ef3(0xad)](){const _0x5608cf=a60_0x412ef3;return this[_0x5608cf(0x8b)];}['getProjectName'](){const _0xd8bab2=a60_0x412ef3;return this[_0xd8bab2(0x89)];}[a60_0x412ef3(0x94)](){const _0x561c76=a60_0x412ef3;return this[_0x561c76(0xa6)];}[a60_0x412ef3(0x97)](_0xc59aae){const _0x33b158=a60_0x412ef3,_0x7e57be={};_0x7e57be[_0x33b158(0x92)]='aiHeal_isAuthenticated',_0x7e57be[_0x33b158(0x9a)]=_0x33b158(0xb4),_0x7e57be[_0x33b158(0xbc)]=function(_0x2b1da9,_0x7a554d){return _0x2b1da9===_0x7a554d;},_0x7e57be['FAjJn']=function(_0x1d5866,_0x48eed6){return _0x1d5866+_0x48eed6;},_0x7e57be['JjVXK']='No\x20commands\x20found\x20for\x20session:\x20';const _0x3d08c3=_0x7e57be,_0x19b23e=this[_0x33b158(0xb0)][_0xc59aae];this['commands'][_0xc59aae]=[];if(globals[_0x33b158(0xae)](_0x3d08c3['OnGmX'])&&globals[_0x33b158(0xae)](_0x3d08c3[_0x33b158(0x9a)])&&!_0x19b23e||_0x3d08c3['XYrDW'](_0x19b23e['length'],0x0))return logger[_0x33b158(0xa9)](_0x3d08c3['FAjJn'](_0x3d08c3['JjVXK'],_0xc59aae)),'';return _0x19b23e[_0x33b158(0xbb)](_0x3583d=>JSON[_0x33b158(0xbe)](_0x3583d))[_0x33b158(0xb3)](',');}['isSelfHealEnabled'](){const _0xde8641=a60_0x412ef3,_0x3ab0bf={};_0x3ab0bf[_0xde8641(0x8a)]=function(_0x5d4e66,_0x489ee5){return _0x5d4e66===_0x489ee5;},_0x3ab0bf[_0xde8641(0xb5)]=_0xde8641(0xab);const _0x6cc3c=_0x3ab0bf;let _0x3c81fe=![];return this['getConfig']()&&(_0x6cc3c['DdjEn'](this['getConfig']()[_0xde8641(0x8e)],!![])||_0x6cc3c[_0xde8641(0x8a)](this[_0xde8641(0xa8)]()[_0xde8641(0x8e)],_0x6cc3c[_0xde8641(0xb5)]))&&(_0x3c81fe=!![]),_0x3c81fe;}['getTcgTokenStatus'](){return this['isTcgTokenSet'];}}exports[a60_0x412ef3(0xb9)]=new HealingCommandRepo();
@@ -1 +1 @@
1
- var a58_0x4cee33=a58_0x388f;function a58_0x388f(_0x2fb3de,_0x31d02b){var _0x30ac96=a58_0x30ac();return a58_0x388f=function(_0x388f62,_0x988997){_0x388f62=_0x388f62-0x15e;var _0x3be67f=_0x30ac96[_0x388f62];return _0x3be67f;},a58_0x388f(_0x2fb3de,_0x31d02b);}(function(_0x461537,_0x56cdc2){var _0x5ccc21=a58_0x388f,_0x288c39=_0x461537();while(!![]){try{var _0x217ff9=-parseInt(_0x5ccc21(0x161))/0x1*(-parseInt(_0x5ccc21(0x15e))/0x2)+-parseInt(_0x5ccc21(0x16c))/0x3+parseInt(_0x5ccc21(0x16b))/0x4*(-parseInt(_0x5ccc21(0x16a))/0x5)+-parseInt(_0x5ccc21(0x16d))/0x6*(-parseInt(_0x5ccc21(0x165))/0x7)+-parseInt(_0x5ccc21(0x168))/0x8+-parseInt(_0x5ccc21(0x160))/0x9*(parseInt(_0x5ccc21(0x164))/0xa)+parseInt(_0x5ccc21(0x15f))/0xb*(parseInt(_0x5ccc21(0x162))/0xc);if(_0x217ff9===_0x56cdc2)break;else _0x288c39['push'](_0x288c39['shift']());}catch(_0x393efc){_0x288c39['push'](_0x288c39['shift']());}}}(a58_0x30ac,0xb7d9f));var a58_0x1cd222={};function a58_0x30ac(){var _0x52ad46=['18qCamCY','1sEtRdz','84wsgheN','exports','6431970FdtRwd','21uxTZEz','automate-turboscale/v1','BUILDS_DASHBOARD_URL','8303024XvktQp','https://grid.browserstack.com/dashboard/builds','254780OQLNlC','8bhFyOF','4469442JFUjnN','1946346xUUTtH','1884706MnXcha','4326971YyoCni'];a58_0x30ac=function(){return _0x52ad46;};return a58_0x30ac();}a58_0x1cd222[a58_0x4cee33(0x167)]=a58_0x4cee33(0x169),a58_0x1cd222['API_ENDPOINT']=a58_0x4cee33(0x166),module[a58_0x4cee33(0x163)]=a58_0x1cd222;
1
+ function a61_0x4901(){var _0x38f5ed=['45968730ejOMwV','8275347FAACie','exports','5135596Rnfftj','3ogWCty','5240637qUdfBM','718810GSIAMk','automate-turboscale/v1','API_ENDPOINT','40AMCPEP','78EuhQSk','689214yTBmaK','986923GSyYJJ','BUILDS_DASHBOARD_URL','https://grid.browserstack.com/dashboard/builds'];a61_0x4901=function(){return _0x38f5ed;};return a61_0x4901();}var a61_0x4ef906=a61_0xa084;(function(_0x4ac5a0,_0x479d1c){var _0x551d62=a61_0xa084,_0x459fee=_0x4ac5a0();while(!![]){try{var _0xb12ba4=parseInt(_0x551d62(0xe4))/0x1*(parseInt(_0x551d62(0xdc))/0x2)+-parseInt(_0x551d62(0xe5))/0x3+-parseInt(_0x551d62(0xe3))/0x4+parseInt(_0x551d62(0xe6))/0x5*(-parseInt(_0x551d62(0xdb))/0x6)+-parseInt(_0x551d62(0xdd))/0x7*(parseInt(_0x551d62(0xda))/0x8)+parseInt(_0x551d62(0xe1))/0x9+parseInt(_0x551d62(0xe0))/0xa;if(_0xb12ba4===_0x479d1c)break;else _0x459fee['push'](_0x459fee['shift']());}catch(_0x6210f0){_0x459fee['push'](_0x459fee['shift']());}}}(a61_0x4901,0xe6d8c));function a61_0xa084(_0x1a5af1,_0x351692){var _0x49011d=a61_0x4901();return a61_0xa084=function(_0xa0849b,_0x15cca4){_0xa0849b=_0xa0849b-0xd9;var _0x326d69=_0x49011d[_0xa0849b];return _0x326d69;},a61_0xa084(_0x1a5af1,_0x351692);}var a61_0x2e5d38={};a61_0x2e5d38[a61_0x4ef906(0xde)]=a61_0x4ef906(0xdf),a61_0x2e5d38[a61_0x4ef906(0xd9)]=a61_0x4ef906(0xe7),module[a61_0x4ef906(0xe2)]=a61_0x2e5d38;