browserstack-node-sdk 1.53.4 → 1.53.5

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 (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a115_0x2b6c16=a115_0x24c7;(function(_0x9f1711,_0x207ca8){const _0x4de7f7=a115_0x24c7,_0x4c9013=_0x9f1711();while(!![]){try{const _0x3cb1b4=parseInt(_0x4de7f7(0x227))/0x1+-parseInt(_0x4de7f7(0x1e1))/0x2*(-parseInt(_0x4de7f7(0x1e9))/0x3)+parseInt(_0x4de7f7(0x1e3))/0x4+-parseInt(_0x4de7f7(0x221))/0x5*(-parseInt(_0x4de7f7(0x228))/0x6)+-parseInt(_0x4de7f7(0x216))/0x7*(-parseInt(_0x4de7f7(0x1ea))/0x8)+parseInt(_0x4de7f7(0x222))/0x9+-parseInt(_0x4de7f7(0x1f7))/0xa*(parseInt(_0x4de7f7(0x206))/0xb);if(_0x3cb1b4===_0x207ca8)break;else _0x4c9013['push'](_0x4c9013['shift']());}catch(_0x82897d){_0x4c9013['push'](_0x4c9013['shift']());}}}(a115_0x413d,0x28a4f));const winston=require(a115_0x2b6c16(0x1ec)),path=require(a115_0x2b6c16(0x20e)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a115_0x2b6c16(0x21f)),tempLogDir='log';let redactRegex=null,lastConfigHash='';const logFormat=winston['format'](_0x380a20=>{const _0x5590d6=a115_0x2b6c16,_0x1cb959={};_0x1cb959[_0x5590d6(0x1f9)]=function(_0x1aaff3,_0x377762){return _0x1aaff3!==_0x377762;},_0x1cb959[_0x5590d6(0x1fa)]='string',_0x1cb959['SepDo']=function(_0x104446,_0x52f549){return _0x104446+_0x52f549;},_0x1cb959[_0x5590d6(0x1f2)]=function(_0x42d988,_0x1ffe35){return _0x42d988>_0x1ffe35;},_0x1cb959[_0x5590d6(0x20f)]=_0x5590d6(0x211);const _0x57e689=_0x1cb959;_0x57e689[_0x5590d6(0x1f9)](typeof _0x380a20[_0x5590d6(0x204)],_0x57e689['VgGoU'])&&(_0x380a20['message']=JSON[_0x5590d6(0x224)](_0x380a20[_0x5590d6(0x204)]));const _0x21a684=global[_0x5590d6(0x20b)]&&global['config'][_0x5590d6(0x1fd)]||'',_0x226f2d=global[_0x5590d6(0x20b)]&&global[_0x5590d6(0x20b)][_0x5590d6(0x223)]||'',_0x153b30=_0x57e689[_0x5590d6(0x209)](_0x57e689[_0x5590d6(0x209)](_0x21a684,'|'),_0x226f2d);if(_0x57e689[_0x5590d6(0x1f9)](_0x153b30,lastConfigHash)){lastConfigHash=_0x153b30;const _0x342aca=[_0x21a684,_0x226f2d][_0x5590d6(0x21a)](Boolean);if(_0x57e689[_0x5590d6(0x1f2)](_0x342aca[_0x5590d6(0x1f5)],0x0)){const _0x5a816b=_0x342aca['map'](_0x2543d0=>_0x2543d0[_0x5590d6(0x1eb)](/[.*+?^${}()|[\]\\]/g,_0x5590d6(0x1df)))[_0x5590d6(0x201)]('|');redactRegex=new RegExp(_0x5a816b,'g');}else redactRegex=null;}return redactRegex&&(_0x380a20[_0x5590d6(0x204)]=_0x380a20[_0x5590d6(0x204)]['replace'](redactRegex,_0x57e689[_0x5590d6(0x20f)])),_0x380a20;}),fetchLogDir=()=>{const _0x1d9e71=a115_0x2b6c16;if(process[_0x1d9e71(0x21c)][_0x1d9e71(0x1f1)])return process[_0x1d9e71(0x21c)][_0x1d9e71(0x1f1)];else!fs[_0x1d9e71(0x1f6)](tempLogDir)&&fs[_0x1d9e71(0x1dd)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x3bc4d6=a115_0x2b6c16,_0x31539a={};_0x31539a[_0x3bc4d6(0x217)]=_0x3bc4d6(0x20c);const _0xd9bf45=_0x31539a,_0x1b623c=process['env'][_0x3bc4d6(0x1e7)],_0x1889de=Object['keys'](winston[_0x3bc4d6(0x20b)][_0x3bc4d6(0x213)][_0x3bc4d6(0x203)]);if(_0x1b623c&&_0x1889de[_0x3bc4d6(0x21b)](_0x1b623c[_0x3bc4d6(0x1e6)]()))return _0x1b623c[_0x3bc4d6(0x1e6)]();return _0xd9bf45['cbrrv'];},initialLogLevel=getInitialLogLevel(),a115_0x4af26b={};a115_0x4af26b[a115_0x2b6c16(0x1fe)]=a115_0x2b6c16(0x1d9),a115_0x4af26b['level']=initialLogLevel;const transports={'loggerConsole':new winston[(a115_0x2b6c16(0x1dc))][(a115_0x2b6c16(0x212))](a115_0x4af26b),'loggerFile':new winston[(a115_0x2b6c16(0x1dc))][(a115_0x2b6c16(0x1f3))]({'filename':path[a115_0x2b6c16(0x201)](logDir,'/usage.log'),'level':initialLogLevel}),'debugLoggerFile':new winston[(a115_0x2b6c16(0x1dc))]['File']({'filename':path[a115_0x2b6c16(0x201)](logDir,a115_0x2b6c16(0x1db)),'level':a115_0x2b6c16(0x220)}),'debugCliLoggerFile':new winston[(a115_0x2b6c16(0x1dc))]['File']({'filename':path['join'](logDir,a115_0x2b6c16(0x208)),'level':a115_0x2b6c16(0x220)}),'buildLinkTransport':new winston[(a115_0x2b6c16(0x1dc))][(a115_0x2b6c16(0x1f3))]({'filename':path['join'](logDir,'/usage.log'),'level':a115_0x2b6c16(0x220)})},automationTransports={};process[a115_0x2b6c16(0x21c)][a115_0x2b6c16(0x1ee)]==='true'&&(automationTransports[a115_0x2b6c16(0x1fc)]=new winston[(a115_0x2b6c16(0x1dc))]['File']({'filename':path[a115_0x2b6c16(0x201)](logDir,a115_0x2b6c16(0x1d8)),'level':a115_0x2b6c16(0x220)}));transports['loggerConsole']['on'](a115_0x2b6c16(0x225),_0x58ae63=>{const _0x1c86b3=a115_0x2b6c16,_0x3be9f0={};_0x3be9f0[_0x1c86b3(0x20d)]=function(_0x4f640b,_0x44683a){return _0x4f640b===_0x44683a;},_0x3be9f0[_0x1c86b3(0x1e4)]='EPIPE',_0x3be9f0[_0x1c86b3(0x219)]=_0x1c86b3(0x205);const _0x160971=_0x3be9f0;if(_0x160971['LKeqt'](_0x58ae63['code'],_0x160971[_0x1c86b3(0x1e4)])){console[_0x1c86b3(0x210)](_0x160971[_0x1c86b3(0x219)],_0x58ae63['message']);return;}throw _0x58ae63;});const a115_0x2e0eb9={};a115_0x2e0eb9[a115_0x2b6c16(0x1ed)]=a115_0x2b6c16(0x229);const a115_0x56380e={};a115_0x56380e['level']=!![];const winstonLoggerParams={'format':winston[a115_0x2b6c16(0x1ed)]['combine'](winston[a115_0x2b6c16(0x1ed)]['timestamp'](a115_0x2e0eb9),winston['format'][a115_0x2b6c16(0x1e8)](a115_0x56380e),winston[a115_0x2b6c16(0x1ed)][a115_0x2b6c16(0x1da)](_0x44b3a8=>_0x44b3a8[a115_0x2b6c16(0x1e2)]+a115_0x2b6c16(0x1ef)+_0x44b3a8[a115_0x2b6c16(0x21e)]+':\x20'+_0x44b3a8[a115_0x2b6c16(0x204)])),'transports':[transports[a115_0x2b6c16(0x200)]]},a115_0x48b76e={};a115_0x48b76e[a115_0x2b6c16(0x1ed)]=a115_0x2b6c16(0x229);const a115_0x5919e2={};a115_0x5919e2[a115_0x2b6c16(0x21e)]=!![];const winstonFileLoggerParams={'format':winston[a115_0x2b6c16(0x1ed)][a115_0x2b6c16(0x21d)](winston[a115_0x2b6c16(0x1ed)][a115_0x2b6c16(0x1e2)](a115_0x48b76e),winston['format'][a115_0x2b6c16(0x1e8)](a115_0x5919e2),winston[a115_0x2b6c16(0x1ed)][a115_0x2b6c16(0x1da)](_0x199d36=>_0x199d36[a115_0x2b6c16(0x21e)]+':\x20'+_0x199d36[a115_0x2b6c16(0x204)])),'transports':[]},a115_0x19def4={};a115_0x19def4['format']=a115_0x2b6c16(0x229);const a115_0xadf836={};a115_0xadf836[a115_0x2b6c16(0x21e)]=!![];function a115_0x24c7(_0x180fa0,_0x43a5a2){const _0x413d79=a115_0x413d();return a115_0x24c7=function(_0x24c763,_0x225c02){_0x24c763=_0x24c763-0x1d8;let _0x532669=_0x413d79[_0x24c763];return _0x532669;},a115_0x24c7(_0x180fa0,_0x43a5a2);}function a115_0x413d(){const _0x5d4db1=['env','combine','level','../bin/utils/constants','silly','546075DbtfCl','2926341LhBUPW','accessKey','stringify','error','true','195734AnmbUv','6sUErSh','YYYY-MM-DD\x20HH:mm:ss','buildLinkTransport','automation.log','console.info','printf','/usage-debug.log','transports','mkdirSync','winstonLogger','\x5c$&','add','2VyYEbf','timestamp','616256TfhvDO','uzPWI','remove','toLowerCase','BROWSERSTACK_LOG_LEVEL','colorize','341385masDIA','1115272EgbwIC','replace','winston','format','BROWSERSTACK_AUTOMATION_LOGS','\x20-\x20','fileLogger','BROWSERSTACK_INTERNAL_LOG_DIR','PQyyA','File','logDir','length','existsSync','2290YKscKR','FFnxK','OOgLU','VgGoU','createLogger','automationLoggerFile','userName','name','getLogDir','loggerConsole','join','automationLogger','levels','message','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','41833icamUf','http','/sdk-cli-debug.log','SepDo','debugLoggerFile','config','info','LKeqt','path','crcff','log','[REDACTED]','Console','npm','warn','loggerFile','7iHZJbZ','cbrrv','uncolorize','skxbm','filter','includes'];a115_0x413d=function(){return _0x5d4db1;};return a115_0x413d();}const a115_0x599caa={};a115_0x599caa['level']=a115_0x2b6c16(0x220);const BuildLoggerParams={'format':winston[a115_0x2b6c16(0x1ed)][a115_0x2b6c16(0x21d)](winston[a115_0x2b6c16(0x1ed)][a115_0x2b6c16(0x1e2)](a115_0x19def4),winston['format'][a115_0x2b6c16(0x1e8)](a115_0xadf836),winston[a115_0x2b6c16(0x1ed)][a115_0x2b6c16(0x1da)](_0x255792=>_0x255792[a115_0x2b6c16(0x1e2)]+a115_0x2b6c16(0x1ef)+_0x255792[a115_0x2b6c16(0x21e)]+':\x20'+_0x255792[a115_0x2b6c16(0x204)])),'transports':[transports[a115_0x2b6c16(0x22a)],new winston[(a115_0x2b6c16(0x1dc))][(a115_0x2b6c16(0x212))](a115_0x599caa)]},a115_0x11a6a3={};a115_0x11a6a3[a115_0x2b6c16(0x207)]=()=>{},a115_0x11a6a3[a115_0x2b6c16(0x20c)]=()=>{},a115_0x11a6a3[a115_0x2b6c16(0x214)]=()=>{},a115_0x11a6a3['error']=()=>{},a115_0x11a6a3['debug']=()=>{},a115_0x11a6a3[a115_0x2b6c16(0x220)]=()=>{},exports[a115_0x2b6c16(0x202)]=process['env'][a115_0x2b6c16(0x1ee)]===a115_0x2b6c16(0x226)?winston[a115_0x2b6c16(0x1fb)]({'format':winston[a115_0x2b6c16(0x1ed)]['combine'](winston[a115_0x2b6c16(0x1ed)][a115_0x2b6c16(0x218)](),winston['format']['timestamp'](),logFormat(),winston['format'][a115_0x2b6c16(0x1da)](_0x3e16a3=>_0x3e16a3[a115_0x2b6c16(0x21e)]+':\x20'+_0x3e16a3[a115_0x2b6c16(0x204)])),'transports':[automationTransports['automationLoggerFile']]}):a115_0x11a6a3;const initialize=()=>{const _0xeefb0=a115_0x2b6c16,_0x4994e2={};_0x4994e2[_0xeefb0(0x1f8)]=_0xeefb0(0x220);const _0x9828a6=_0x4994e2,_0x210242=transports['loggerConsole'][_0xeefb0(0x21e)]||initialLogLevel;transports['loggerFile']&&(exports[_0xeefb0(0x1de)][_0xeefb0(0x1e5)](transports['loggerFile']),exports[_0xeefb0(0x1f0)]['remove'](transports['loggerFile'])),transports['debugLoggerFile']&&(exports[_0xeefb0(0x1de)][_0xeefb0(0x1e5)](transports[_0xeefb0(0x20a)]),exports[_0xeefb0(0x1f0)][_0xeefb0(0x1e5)](transports[_0xeefb0(0x20a)])),transports['loggerFile']=new winston[(_0xeefb0(0x1dc))][(_0xeefb0(0x1f3))]({'filename':path[_0xeefb0(0x201)](exports[_0xeefb0(0x1f4)],LOG_FILE_NAME),'level':_0x210242}),transports[_0xeefb0(0x20a)]=new winston[(_0xeefb0(0x1dc))][(_0xeefb0(0x1f3))]({'filename':path[_0xeefb0(0x201)](exports[_0xeefb0(0x1f4)],DEBUG_LOG_FILE_NAME),'level':_0x9828a6['FFnxK']}),exports['winstonLogger'][_0xeefb0(0x1e0)](transports[_0xeefb0(0x215)]),exports[_0xeefb0(0x1de)][_0xeefb0(0x1e0)](transports[_0xeefb0(0x20a)]),exports['fileLogger']['add'](transports[_0xeefb0(0x215)]),exports[_0xeefb0(0x1f0)][_0xeefb0(0x1e0)](transports[_0xeefb0(0x20a)]);};exports[a115_0x2b6c16(0x1de)]=new winston[(a115_0x2b6c16(0x1fb))](winstonLoggerParams),exports[a115_0x2b6c16(0x1f0)]=new winston[(a115_0x2b6c16(0x1fb))](winstonFileLoggerParams),exports['buildLogger']=new winston['createLogger'](BuildLoggerParams),exports[a115_0x2b6c16(0x1f4)]=logDir,exports[a115_0x2b6c16(0x1ff)]=()=>{const _0x3daae9=a115_0x2b6c16;return exports[_0x3daae9(0x1f4)];},exports[a115_0x2b6c16(0x1dc)]=transports,exports['initialize']=initialize;logDir&&initialize();
1
+ const a115_0x597f80=a115_0x5472;(function(_0x91bbc0,_0x3d263f){const _0x304b71=a115_0x5472,_0x2de09f=_0x91bbc0();while(!![]){try{const _0x2ee78f=-parseInt(_0x304b71(0xd2))/0x1+-parseInt(_0x304b71(0x106))/0x2+parseInt(_0x304b71(0xe3))/0x3+parseInt(_0x304b71(0xe1))/0x4+-parseInt(_0x304b71(0x116))/0x5*(parseInt(_0x304b71(0xf6))/0x6)+parseInt(_0x304b71(0xf2))/0x7*(-parseInt(_0x304b71(0xfd))/0x8)+parseInt(_0x304b71(0x10d))/0x9;if(_0x2ee78f===_0x3d263f)break;else _0x2de09f['push'](_0x2de09f['shift']());}catch(_0x59590b){_0x2de09f['push'](_0x2de09f['shift']());}}}(a115_0x21fa,0x639c3));const winston=require(a115_0x597f80(0x11a)),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a115_0x597f80(0xf5)),tempLogDir='log';let redactRegex=null,lastConfigHash='';const logFormat=winston['format'](_0x209320=>{const _0x2ee52d=a115_0x597f80,_0x430512={};_0x430512[_0x2ee52d(0xd0)]=function(_0x2f6c1b,_0x472ff2){return _0x2f6c1b!==_0x472ff2;},_0x430512['fUbGT']='string',_0x430512['weVau']=function(_0x52ba80,_0x5baed3){return _0x52ba80+_0x5baed3;},_0x430512[_0x2ee52d(0xd5)]=function(_0x53c2b3,_0x58a94e){return _0x53c2b3!==_0x58a94e;},_0x430512[_0x2ee52d(0xde)]=function(_0x2b22a7,_0x1d8727){return _0x2b22a7>_0x1d8727;},_0x430512['UtJWc']=_0x2ee52d(0x119);const _0x5d1e23=_0x430512;_0x5d1e23[_0x2ee52d(0xd0)](typeof _0x209320[_0x2ee52d(0x11c)],_0x5d1e23[_0x2ee52d(0x101)])&&(_0x209320['message']=JSON[_0x2ee52d(0x109)](_0x209320[_0x2ee52d(0x11c)]));const _0x1107b3=global[_0x2ee52d(0x114)]&&global[_0x2ee52d(0x114)]['userName']||'',_0x48f7f0=global['config']&&global['config'][_0x2ee52d(0xdc)]||'',_0x444bd7=_0x5d1e23[_0x2ee52d(0xd1)](_0x5d1e23[_0x2ee52d(0xd1)](_0x1107b3,'|'),_0x48f7f0);if(_0x5d1e23[_0x2ee52d(0xd5)](_0x444bd7,lastConfigHash)){lastConfigHash=_0x444bd7;const _0x5ded16=[_0x1107b3,_0x48f7f0][_0x2ee52d(0xd9)](Boolean);if(_0x5d1e23['HeXqd'](_0x5ded16[_0x2ee52d(0x103)],0x0)){const _0x83b108=_0x5ded16[_0x2ee52d(0x10a)](_0x4e664b=>_0x4e664b[_0x2ee52d(0xd7)](/[.*+?^${}()|[\]\\]/g,_0x2ee52d(0xfb)))['join']('|');redactRegex=new RegExp(_0x83b108,'g');}else redactRegex=null;}return redactRegex&&(_0x209320[_0x2ee52d(0x11c)]=_0x209320['message']['replace'](redactRegex,_0x5d1e23[_0x2ee52d(0xea)])),_0x209320;}),fetchLogDir=()=>{const _0x241d19=a115_0x597f80;if(process[_0x241d19(0xff)][_0x241d19(0x105)])return process[_0x241d19(0xff)][_0x241d19(0x105)];else!fs[_0x241d19(0x117)](tempLogDir)&&fs[_0x241d19(0x111)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x5406bc=a115_0x597f80,_0x4f1427={};_0x4f1427[_0x5406bc(0x112)]=_0x5406bc(0xf7);const _0x290dfb=_0x4f1427,_0x4384b4=process[_0x5406bc(0xff)]['BROWSERSTACK_LOG_LEVEL'],_0x40c645=Object[_0x5406bc(0xf8)](winston[_0x5406bc(0x114)][_0x5406bc(0xfc)][_0x5406bc(0xe6)]);if(_0x4384b4&&_0x40c645['includes'](_0x4384b4[_0x5406bc(0xd6)]()))return _0x4384b4[_0x5406bc(0xd6)]();return _0x290dfb[_0x5406bc(0x112)];},initialLogLevel=getInitialLogLevel(),a115_0x33ebdb={};a115_0x33ebdb[a115_0x597f80(0x107)]=a115_0x597f80(0xd8),a115_0x33ebdb[a115_0x597f80(0xfe)]=initialLogLevel;const transports={'loggerConsole':new winston[(a115_0x597f80(0xe7))]['Console'](a115_0x33ebdb),'loggerFile':new winston['transports']['File']({'filename':path[a115_0x597f80(0xce)](logDir,a115_0x597f80(0xe8)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a115_0x597f80(0xe7))][(a115_0x597f80(0x118))]({'filename':path[a115_0x597f80(0xce)](logDir,a115_0x597f80(0xec)),'level':'silly'}),'debugCliLoggerFile':new winston[(a115_0x597f80(0xe7))][(a115_0x597f80(0x118))]({'filename':path[a115_0x597f80(0xce)](logDir,a115_0x597f80(0xeb)),'level':a115_0x597f80(0x102)}),'buildLinkTransport':new winston['transports']['File']({'filename':path[a115_0x597f80(0xce)](logDir,a115_0x597f80(0xe8)),'level':a115_0x597f80(0x102)})},automationTransports={};process[a115_0x597f80(0xff)][a115_0x597f80(0xcf)]===a115_0x597f80(0x11d)&&(automationTransports[a115_0x597f80(0x11e)]=new winston[(a115_0x597f80(0xe7))][(a115_0x597f80(0x118))]({'filename':path[a115_0x597f80(0xce)](logDir,a115_0x597f80(0x108)),'level':a115_0x597f80(0x102)}));transports[a115_0x597f80(0xf9)]['on'](a115_0x597f80(0x10c),_0x562698=>{const _0x2b68e3=a115_0x597f80,_0xd440fd={};_0xd440fd[_0x2b68e3(0x110)]=function(_0x53c586,_0x2256f0){return _0x53c586===_0x2256f0;},_0xd440fd[_0x2b68e3(0xdb)]=_0x2b68e3(0x100),_0xd440fd[_0x2b68e3(0xe4)]=_0x2b68e3(0x10b);const _0x497a7e=_0xd440fd;if(_0x497a7e['hlqGd'](_0x562698['code'],_0x497a7e['bFCUg'])){console[_0x2b68e3(0xda)](_0x497a7e['mrqYg'],_0x562698[_0x2b68e3(0x11c)]);return;}throw _0x562698;});const a115_0x3eb620={};a115_0x3eb620['format']=a115_0x597f80(0xe0);function a115_0x5472(_0x1fd601,_0x3bac67){const _0x21faba=a115_0x21fa();return a115_0x5472=function(_0x54727a,_0x1ff288){_0x54727a=_0x54727a-0xce;let _0x5ea6d0=_0x21faba[_0x54727a];return _0x5ea6d0;},a115_0x5472(_0x1fd601,_0x3bac67);}const a115_0x2ec126={};a115_0x2ec126[a115_0x597f80(0xfe)]=!![];const winstonLoggerParams={'format':winston[a115_0x597f80(0xdf)]['combine'](winston[a115_0x597f80(0xdf)][a115_0x597f80(0x10f)](a115_0x3eb620),winston['format']['colorize'](a115_0x2ec126),winston['format'][a115_0x597f80(0xe5)](_0x19901b=>_0x19901b['timestamp']+a115_0x597f80(0xd3)+_0x19901b[a115_0x597f80(0xfe)]+':\x20'+_0x19901b[a115_0x597f80(0x11c)])),'transports':[transports[a115_0x597f80(0xf9)]]},a115_0x1e82a4={};a115_0x1e82a4[a115_0x597f80(0xdf)]=a115_0x597f80(0xe0);const a115_0x47d8a3={};a115_0x47d8a3[a115_0x597f80(0xfe)]=!![];const winstonFileLoggerParams={'format':winston['format'][a115_0x597f80(0xf3)](winston[a115_0x597f80(0xdf)][a115_0x597f80(0x10f)](a115_0x1e82a4),winston['format'][a115_0x597f80(0x10e)](a115_0x47d8a3),winston[a115_0x597f80(0xdf)][a115_0x597f80(0xe5)](_0x3d80c8=>_0x3d80c8[a115_0x597f80(0xfe)]+':\x20'+_0x3d80c8[a115_0x597f80(0x11c)])),'transports':[]},a115_0x293d34={};a115_0x293d34[a115_0x597f80(0xdf)]=a115_0x597f80(0xe0);const a115_0xd52637={};a115_0xd52637[a115_0x597f80(0xfe)]=!![];const a115_0xbdca63={};a115_0xbdca63[a115_0x597f80(0xfe)]=a115_0x597f80(0x102);const BuildLoggerParams={'format':winston[a115_0x597f80(0xdf)][a115_0x597f80(0xf3)](winston[a115_0x597f80(0xdf)]['timestamp'](a115_0x293d34),winston[a115_0x597f80(0xdf)][a115_0x597f80(0x10e)](a115_0xd52637),winston[a115_0x597f80(0xdf)]['printf'](_0x31e584=>_0x31e584[a115_0x597f80(0x10f)]+'\x20-\x20'+_0x31e584['level']+':\x20'+_0x31e584['message'])),'transports':[transports[a115_0x597f80(0xf1)],new winston['transports']['Console'](a115_0xbdca63)]},a115_0x4a1f7b={};a115_0x4a1f7b[a115_0x597f80(0x113)]=()=>{},a115_0x4a1f7b[a115_0x597f80(0xf7)]=()=>{},a115_0x4a1f7b[a115_0x597f80(0xe2)]=()=>{},a115_0x4a1f7b['error']=()=>{},a115_0x4a1f7b['debug']=()=>{},a115_0x4a1f7b['silly']=()=>{},exports[a115_0x597f80(0xf0)]=process[a115_0x597f80(0xff)][a115_0x597f80(0xcf)]===a115_0x597f80(0x11d)?winston['createLogger']({'format':winston[a115_0x597f80(0xdf)][a115_0x597f80(0xf3)](winston[a115_0x597f80(0xdf)]['uncolorize'](),winston[a115_0x597f80(0xdf)][a115_0x597f80(0x10f)](),logFormat(),winston[a115_0x597f80(0xdf)]['printf'](_0x2a3716=>_0x2a3716[a115_0x597f80(0xfe)]+':\x20'+_0x2a3716[a115_0x597f80(0x11c)])),'transports':[automationTransports[a115_0x597f80(0x11e)]]}):a115_0x4a1f7b;const initialize=()=>{const _0x45fca6=a115_0x597f80,_0x476a6c={};_0x476a6c[_0x45fca6(0xe9)]=_0x45fca6(0x102);const _0x2309b6=_0x476a6c,_0x265879=transports[_0x45fca6(0xf9)][_0x45fca6(0xfe)]||initialLogLevel;transports[_0x45fca6(0xf4)]&&(exports[_0x45fca6(0xfa)]['remove'](transports[_0x45fca6(0xf4)]),exports[_0x45fca6(0x11b)]['remove'](transports['loggerFile'])),transports['debugLoggerFile']&&(exports[_0x45fca6(0xfa)]['remove'](transports['debugLoggerFile']),exports[_0x45fca6(0x11b)][_0x45fca6(0xee)](transports[_0x45fca6(0x115)])),transports[_0x45fca6(0xf4)]=new winston[(_0x45fca6(0xe7))]['File']({'filename':path['join'](exports[_0x45fca6(0xd4)],LOG_FILE_NAME),'level':_0x265879}),transports[_0x45fca6(0x115)]=new winston[(_0x45fca6(0xe7))][(_0x45fca6(0x118))]({'filename':path['join'](exports[_0x45fca6(0xd4)],DEBUG_LOG_FILE_NAME),'level':_0x2309b6['FOJwX']}),exports['winstonLogger'][_0x45fca6(0xdd)](transports[_0x45fca6(0xf4)]),exports[_0x45fca6(0xfa)]['add'](transports[_0x45fca6(0x115)]),exports['fileLogger'][_0x45fca6(0xdd)](transports[_0x45fca6(0xf4)]),exports[_0x45fca6(0x11b)]['add'](transports[_0x45fca6(0x115)]);};exports[a115_0x597f80(0xfa)]=new winston['createLogger'](winstonLoggerParams),exports[a115_0x597f80(0x11b)]=new winston[(a115_0x597f80(0xef))](winstonFileLoggerParams),exports['buildLogger']=new winston[(a115_0x597f80(0xef))](BuildLoggerParams),exports[a115_0x597f80(0xd4)]=logDir,exports[a115_0x597f80(0xed)]=()=>{const _0x4ef2c8=a115_0x597f80;return exports[_0x4ef2c8(0xd4)];},exports['transports']=transports,exports[a115_0x597f80(0x104)]=initialize;logDir&&initialize();function a115_0x21fa(){const _0x2e5f37=['bFCUg','accessKey','add','HeXqd','format','YYYY-MM-DD\x20HH:mm:ss','3103264zEmKjR','warn','1305312CLdJix','mrqYg','printf','levels','transports','/usage.log','FOJwX','UtJWc','/sdk-cli-debug.log','/usage-debug.log','getLogDir','remove','createLogger','automationLogger','buildLinkTransport','2926qCVAKJ','combine','loggerFile','../bin/utils/constants','6bPHfCa','info','keys','loggerConsole','winstonLogger','\x5c$&','npm','12448CBNvkx','level','env','EPIPE','fUbGT','silly','length','initialize','BROWSERSTACK_INTERNAL_LOG_DIR','1499560axbUzS','name','automation.log','stringify','map','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','error','8320392TWsMKF','colorize','timestamp','hlqGd','mkdirSync','EJXgo','http','config','debugLoggerFile','1572815MDBRHZ','existsSync','File','[REDACTED]','winston','fileLogger','message','true','automationLoggerFile','join','BROWSERSTACK_AUTOMATION_LOGS','PUzEs','weVau','12654cBjmno','\x20-\x20','logDir','QtUsA','toLowerCase','replace','console.info','filter','log'];a115_0x21fa=function(){return _0x2e5f37;};return a115_0x21fa();}
@@ -1 +1 @@
1
- const a116_0x4c17ef=a116_0x259c;function a116_0x259c(_0x3266de,_0x2b910b){const _0xcdd60d=a116_0xcdd6();return a116_0x259c=function(_0x259c4d,_0x59c198){_0x259c4d=_0x259c4d-0x121;let _0x352b24=_0xcdd60d[_0x259c4d];return _0x352b24;},a116_0x259c(_0x3266de,_0x2b910b);}(function(_0x30f6ea,_0x30c88b){const _0x122362=a116_0x259c,_0xd9a28c=_0x30f6ea();while(!![]){try{const _0x4e4a13=parseInt(_0x122362(0x12c))/0x1*(-parseInt(_0x122362(0x130))/0x2)+-parseInt(_0x122362(0x135))/0x3*(-parseInt(_0x122362(0x137))/0x4)+parseInt(_0x122362(0x123))/0x5*(-parseInt(_0x122362(0x13a))/0x6)+-parseInt(_0x122362(0x127))/0x7+-parseInt(_0x122362(0x132))/0x8*(-parseInt(_0x122362(0x13b))/0x9)+-parseInt(_0x122362(0x128))/0xa*(parseInt(_0x122362(0x13c))/0xb)+parseInt(_0x122362(0x122))/0xc*(parseInt(_0x122362(0x12e))/0xd);if(_0x4e4a13===_0x30c88b)break;else _0xd9a28c['push'](_0xd9a28c['shift']());}catch(_0x11b824){_0xd9a28c['push'](_0xd9a28c['shift']());}}}(a116_0xcdd6,0x4e400));function a116_0xcdd6(){const _0x509065=['ATSCf','cbccM','lcnc','getCentralUser','string','testMeta','3677268QVourS','5znAsKe','./globals','setGlobal','./helper','751492ggDJXZ','1826860gXaVcM','length','oVfIp','RzQaF','1FyPEzx','FaWtA','13OxqnQp','The\x20metadata\x20object\x20is\x20not\x20valid.','758436aXvGSr','set','200CMNdTb','testRunUUID','identifier','244788RfLnQy','get','28aZchgI','getGlobal','./logger','2283384JAbHVF','177381RpWzZp','11oZrWbG','xGDsB'];a116_0xcdd6=function(){return _0x509065;};return a116_0xcdd6();}const globals=require(a116_0x4c17ef(0x124)),helper=require(a116_0x4c17ef(0x126)),logger=require(a116_0x4c17ef(0x139))['winstonLogger'];module['exports']=class TestMetadata{static[a116_0x4c17ef(0x131)](_0x318f51={}){const _0x54bfc7=a116_0x4c17ef,_0x4ebd82={};_0x4ebd82[_0x54bfc7(0x12a)]=_0x54bfc7(0x133),_0x4ebd82['RzQaF']=function(_0x3a8727,_0x193dce){return _0x3a8727===_0x193dce;},_0x4ebd82[_0x54bfc7(0x13d)]=_0x54bfc7(0x142),_0x4ebd82[_0x54bfc7(0x12d)]=function(_0x4d1e9d,_0x5b2a36){return _0x4d1e9d<=_0x5b2a36;},_0x4ebd82['gwAYs']='testMeta',_0x4ebd82[_0x54bfc7(0x13e)]=_0x54bfc7(0x12f);const _0x500cdd=_0x4ebd82,_0x4df7eb=globals[_0x54bfc7(0x138)](_0x500cdd[_0x54bfc7(0x12a)]),_0x5bad6=_0x318f51[_0x54bfc7(0x134)];helper[_0x54bfc7(0x141)]()[_0x54bfc7(0x140)]&&(_0x500cdd[_0x54bfc7(0x12b)](typeof _0x5bad6,_0x500cdd[_0x54bfc7(0x13d)])&&_0x500cdd[_0x54bfc7(0x12d)](_0x5bad6[_0x54bfc7(0x129)],0x28)?_0x4df7eb?globals[_0x54bfc7(0x125)]('testMeta-'+_0x4df7eb,_0x318f51):globals[_0x54bfc7(0x125)](_0x500cdd['gwAYs'],_0x318f51):logger['warn'](_0x500cdd[_0x54bfc7(0x13e)]));}static[a116_0x4c17ef(0x136)](_0x2660b1){const _0x22e33f=a116_0x4c17ef,_0x8d8936={};_0x8d8936[_0x22e33f(0x13f)]=_0x22e33f(0x121);const _0x107fdb=_0x8d8936;if(helper[_0x22e33f(0x141)]()[_0x22e33f(0x140)])return globals[_0x22e33f(0x138)]('testMeta-'+_0x2660b1)||globals[_0x22e33f(0x138)](_0x107fdb['cbccM'])||{};return{};}};
1
+ function a116_0x23fa(){const _0x410c46=['testRunUUID','string','499430WhuNCa','1660008pnYqVM','9CNLXNC','setGlobal','346555CUJuwk','identifier','exports','lEitc','JlGOh','winstonLogger','getCentralUser','12fXgMZf','testMeta-','qRJUh','ujXta','lcnc','1750896wnVbwL','get','63912nzwPnB','RnuBp','4veRLGF','./logger','SXpvk','32uJSQKj','getGlobal','./helper','set','2076679RJvQuV','testMeta','24yoFFHv','107776SixvIq','HTVWp','The\x20metadata\x20object\x20is\x20not\x20valid.'];a116_0x23fa=function(){return _0x410c46;};return a116_0x23fa();}const a116_0x343aa5=a116_0x55e9;(function(_0x7a0861,_0xe6f692){const _0x5bbf5e=a116_0x55e9,_0x8840e8=_0x7a0861();while(!![]){try{const _0x283b50=-parseInt(_0x5bbf5e(0xfb))/0x1*(-parseInt(_0x5bbf5e(0xe2))/0x2)+-parseInt(_0x5bbf5e(0xf9))/0x3*(parseInt(_0x5bbf5e(0xfe))/0x4)+parseInt(_0x5bbf5e(0xeb))/0x5*(parseInt(_0x5bbf5e(0xe1))/0x6)+-parseInt(_0x5bbf5e(0xe8))/0x7+parseInt(_0x5bbf5e(0xf7))/0x8+parseInt(_0x5bbf5e(0xe9))/0x9*(parseInt(_0x5bbf5e(0xe7))/0xa)+parseInt(_0x5bbf5e(0x102))/0xb*(-parseInt(_0x5bbf5e(0xf2))/0xc);if(_0x283b50===_0xe6f692)break;else _0x8840e8['push'](_0x8840e8['shift']());}catch(_0x43fad6){_0x8840e8['push'](_0x8840e8['shift']());}}}(a116_0x23fa,0x28574));const globals=require('./globals'),helper=require(a116_0x343aa5(0x100)),logger=require(a116_0x343aa5(0xfc))[a116_0x343aa5(0xf0)];function a116_0x55e9(_0x14e4ea,_0x4e6a7b){const _0x23fa42=a116_0x23fa();return a116_0x55e9=function(_0x55e998,_0x4a49ce){_0x55e998=_0x55e998-0xe1;let _0x150946=_0x23fa42[_0x55e998];return _0x150946;},a116_0x55e9(_0x14e4ea,_0x4e6a7b);}module[a116_0x343aa5(0xed)]=class TestMetadata{static[a116_0x343aa5(0x101)](_0xaab0b={}){const _0xef1bcf=a116_0x343aa5,_0x3e65d2={};_0x3e65d2[_0xef1bcf(0xe3)]=_0xef1bcf(0xe5),_0x3e65d2[_0xef1bcf(0xee)]=function(_0x3caee2,_0x5e683d){return _0x3caee2===_0x5e683d;},_0x3e65d2[_0xef1bcf(0xfa)]=_0xef1bcf(0xe6),_0x3e65d2[_0xef1bcf(0xf4)]=function(_0x2bc881,_0x450788){return _0x2bc881<=_0x450788;},_0x3e65d2[_0xef1bcf(0xf5)]=_0xef1bcf(0x103),_0x3e65d2[_0xef1bcf(0xef)]=_0xef1bcf(0xe4);const _0x435ac9=_0x3e65d2,_0x52dd38=globals['getGlobal'](_0x435ac9['HTVWp']),_0x5e02b6=_0xaab0b[_0xef1bcf(0xec)];helper[_0xef1bcf(0xf1)]()[_0xef1bcf(0xf6)]&&(_0x435ac9['lEitc'](typeof _0x5e02b6,_0x435ac9[_0xef1bcf(0xfa)])&&_0x435ac9[_0xef1bcf(0xf4)](_0x5e02b6['length'],0x28)?_0x52dd38?globals[_0xef1bcf(0xea)](_0xef1bcf(0xf3)+_0x52dd38,_0xaab0b):globals[_0xef1bcf(0xea)](_0x435ac9[_0xef1bcf(0xf5)],_0xaab0b):logger['warn'](_0x435ac9['JlGOh']));}static[a116_0x343aa5(0xf8)](_0x3c3dd6){const _0xcd255c=a116_0x343aa5,_0x361dc6={};_0x361dc6['SXpvk']=_0xcd255c(0x103);const _0x5a423f=_0x361dc6;if(helper[_0xcd255c(0xf1)]()[_0xcd255c(0xf6)])return globals[_0xcd255c(0xff)]('testMeta-'+_0x3c3dd6)||globals[_0xcd255c(0xff)](_0x5a423f[_0xcd255c(0xfd)])||{};return{};}};
@@ -1 +1 @@
1
- function a117_0xc848(_0x2a4739,_0x228190){const _0x4d4f08=a117_0x4d4f();return a117_0xc848=function(_0xc84876,_0x44a256){_0xc84876=_0xc84876-0x1ad;let _0x5774e8=_0x4d4f08[_0xc84876];return _0x5774e8;},a117_0xc848(_0x2a4739,_0x228190);}const a117_0x2a37df=a117_0xc848;(function(_0x1e6608,_0x22f42e){const _0x737c47=a117_0xc848,_0x2d81f9=_0x1e6608();while(!![]){try{const _0x4104a6=parseInt(_0x737c47(0x1b4))/0x1*(parseInt(_0x737c47(0x20a))/0x2)+-parseInt(_0x737c47(0x1d5))/0x3*(parseInt(_0x737c47(0x20d))/0x4)+-parseInt(_0x737c47(0x225))/0x5*(parseInt(_0x737c47(0x22d))/0x6)+parseInt(_0x737c47(0x1c1))/0x7*(-parseInt(_0x737c47(0x1d3))/0x8)+-parseInt(_0x737c47(0x201))/0x9+parseInt(_0x737c47(0x1ea))/0xa*(parseInt(_0x737c47(0x1ed))/0xb)+parseInt(_0x737c47(0x205))/0xc*(parseInt(_0x737c47(0x206))/0xd);if(_0x4104a6===_0x22f42e)break;else _0x2d81f9['push'](_0x2d81f9['shift']());}catch(_0x2c5729){_0x2d81f9['push'](_0x2d81f9['shift']());}}}(a117_0x4d4f,0x70891));function a117_0x4d4f(){const _0x21785c=['fCWew','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','40MhdbGo','aiHeal:setToken','LxQcs','local','RycVA','request','gioKc','GZIcV','url','Successfully\x20healed\x20command\x20using\x20new\x20','body','oyMql','FdcZQ','zpEHP','cZvRi','ekBNm','grSbs','setTcgToken','getSession','xtsjy','IvHjr','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','getGlobal',';\x20Trying\x20to\x20heal','460885xDlFUw','isSelfHealEnabled','abcBw','skipHealingSuccess','error','findElement\x20command\x20failed\x20with\x20cssPath:\x20','IbUAr','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','12GNnzph','AUTOMATION_LOG_COMMANDS','aiSdk_defaultLogDataEnabled','Xbmxc','includes','Ghrbn','CHQqD','Azrnv','execute','css\x20selector','setTcgTokenStatus','HqKOk','find','WWewQ','vMVKc','109CKSiDx','XISqd','QPeQe','Mygxj','isBrowserstackInfra','capability','Healing\x20failed\x20for\x20command\x20using\x20','toISOString','trNEM','toString','response','./logger','iJtQx','7bhJrUP','wMUfs','nestedKeyValue','hUrCp','VWCqO','PRE_EXECUTE','format','zJsZh','executeAsyncScript','iigIR','uDOcl','script','measureWrapper','LmhOJ','rpGeA','prcgP','value','BnOzI','1790744fPAwZe','uNrgf','162546CPecoL','nzWrs','browserstack.local','patchExecute','JavascriptError','message','vdyLF','NUDGE_LOCAL_ERRORS','GJcjt','AzKpC','getId','CuhsH','setAiSessionTimeStamp','name_','ywbEU','qTfIh','qeuRH','EDnvi','aiHeal_isAuthenticated','ErsXR','][\x20SDK-AUTOMATION\x20]\x20','410FIOCmg','jhdAY','name','141383LCixgb','tlnGD','KcQYB','overrideExecute','UesSC','args','GKWTM','./ai-sdk/autoHealHelper','parameters_','command','iCmMl','aiHeal_isHealingEnabled','Error\x20in\x20handling\x20TCG\x20Auth:\x20','using','ULkjc','NoSuchElementError','POST_EXECUTE','handleSuccess','handleFailure','uqkZw','3753657cJfkBd','findElement\x20command\x20failed\x20with\x20','rtGqL','hnWVM','5556HcQflb','10777HhQxsl','info','getTcgTokenStatus','exKVL','16830hwPnGS'];a117_0x4d4f=function(){return _0x21785c;};return a117_0x4d4f();}const {aiSdkWrapper}=require('./ai-sdk/aiSdkWrapper'),{commandRepository}=require(a117_0x2a37df(0x1f4)),PerformanceTester=require('./performance/performance-tester'),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require(a117_0x2a37df(0x1bf)),helper=require('./helper'),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require('./performance/constants'),util=require('util');exports[a117_0x2a37df(0x1f0)]=(_0x51ae39,_0x275f89)=>{const _0x5450c3=a117_0x2a37df,_0x1278e8={'ULkjc':_0x5450c3(0x1e7),'RycVA':_0x5450c3(0x20e),'MQVMS':function(_0x1a714a){return _0x1a714a();},'WIjVZ':_0x5450c3(0x22f),'iigIR':function(_0x581c62,_0x28323f){return _0x581c62===_0x28323f;},'IvHjr':'findElement','LxQcs':_0x5450c3(0x1f8),'AxgNP':'aiHeal:findElementSuccess','zJsZh':function(_0x505f9f){return _0x505f9f();},'GKWTM':'Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','KcQYB':_0x5450c3(0x1fc),'GJcjt':_0x5450c3(0x1d9),'rtGqL':function(_0x344076,_0xf1e63){return _0x344076===_0xf1e63;},'CuhsH':_0x5450c3(0x1ae),'jhdAY':function(_0x3047c6,_0x1942f7){return _0x3047c6+_0x1942f7;},'cZvRi':_0x5450c3(0x22a),'AzKpC':_0x5450c3(0x224),'irpLW':function(_0x5ea00e,_0x32ed82){return _0x5ea00e+_0x32ed82;},'abcBw':_0x5450c3(0x202),'aXSUC':'aiHeal:findElementFailure','nZBEL':function(_0x413d3f,_0x5d2595){return _0x413d3f&&_0x5d2595;},'iJtQx':function(_0x46f3d8,_0x2a1d02){return _0x46f3d8+_0x2a1d02;},'oyMql':_0x5450c3(0x20c),'xjEPn':function(_0x697e8d,_0x5ecf98){return _0x697e8d+_0x5ecf98;},'hnWVM':_0x5450c3(0x216),'HXRZU':_0x5450c3(0x22c),'fCWew':function(_0x3ba90d,_0x3ed0b7){return _0x3ba90d+_0x3ed0b7;},'nzWrs':_0x5450c3(0x1ba),'BnOzI':'get','tlnGD':_0x5450c3(0x1f5),'exKVL':_0x5450c3(0x215),'Xbmxc':_0x5450c3(0x222),'gioKc':_0x5450c3(0x1c9),'ilXuC':'executeScript','uCIsH':'string','IbUAr':_0x5450c3(0x1b9),'grSbs':_0x5450c3(0x1d7),'kkXaL':'bstack:options','KsUYh':_0x5450c3(0x210)},_0x2ebffa=_0x51ae39[_0x5450c3(0x1d8)]||(helper['nestedKeyValue'](_0x275f89,[_0x1278e8[_0x5450c3(0x22b)],_0x1278e8[_0x5450c3(0x21d)]])||helper[_0x5450c3(0x1c3)](_0x275f89,[_0x1278e8[_0x5450c3(0x22b)],_0x1278e8['kkXaL'],_0x1278e8['KsUYh']]));if(!globals[_0x5450c3(0x223)](_0x1278e8[_0x5450c3(0x1fb)])&&!globals[_0x5450c3(0x223)](_0x1278e8[_0x5450c3(0x20f)])&&_0x2ebffa)return;_0x51ae39[_0x5450c3(0x1d8)]=!![],_0x51ae39['initExecute']=_0x51ae39[_0x5450c3(0x1ad)],_0x51ae39[_0x5450c3(0x1ad)]=async _0x5cd969=>{const _0x11a77e=_0x5450c3,_0x54795d={'UesSC':_0x1278e8['WIjVZ'],'LmhOJ':function(_0x106845,_0x45abd4){return _0x1278e8['iigIR'](_0x106845,_0x45abd4);},'vMVKc':_0x1278e8[_0x11a77e(0x221)],'HqKOk':_0x1278e8[_0x11a77e(0x1fb)],'trNEM':_0x1278e8[_0x11a77e(0x20f)],'XISqd':_0x1278e8['AxgNP'],'zpEHP':function(_0x17f6b7){return _0x1278e8['zJsZh'](_0x17f6b7);},'wMUfs':_0x1278e8[_0x11a77e(0x1f3)],'WWewQ':_0x1278e8[_0x11a77e(0x1ef)],'Ghrbn':_0x1278e8[_0x11a77e(0x1dd)],'VWCqO':function(_0x5547bc,_0x2f216b){return _0x1278e8['iigIR'](_0x5547bc,_0x2f216b);},'ywbEU':function(_0x1c5f01,_0xbd10c0){return _0x1278e8['rtGqL'](_0x1c5f01,_0xbd10c0);},'Azrnv':_0x1278e8[_0x11a77e(0x1e0)],'ekBNm':function(_0x276d88,_0x21c2ee){const _0xe607af=_0x11a77e;return _0x1278e8[_0xe607af(0x1eb)](_0x276d88,_0x21c2ee);},'uNrgf':_0x1278e8[_0x11a77e(0x21b)],'vdyLF':_0x1278e8[_0x11a77e(0x1de)],'Mygxj':function(_0x3cae96,_0x31eda8){const _0x2a1e6b=_0x11a77e;return _0x1278e8[_0x2a1e6b(0x1eb)](_0x3cae96,_0x31eda8);},'iCmMl':function(_0x168580,_0x30ef7f){return _0x1278e8['irpLW'](_0x168580,_0x30ef7f);},'hUrCp':_0x1278e8[_0x11a77e(0x227)],'uDOcl':_0x1278e8['aXSUC'],'uqkZw':function(_0x4ac516){const _0x14bf17=_0x11a77e;return _0x1278e8[_0x14bf17(0x1c8)](_0x4ac516);},'xtsjy':function(_0xf390dd,_0x5e976e){return _0x1278e8['nZBEL'](_0xf390dd,_0x5e976e);},'GZIcV':function(_0x1cd73c,_0xe4f7f8){const _0x5c129c=_0x11a77e;return _0x1278e8[_0x5c129c(0x1c0)](_0x1cd73c,_0xe4f7f8);},'qeuRH':_0x1278e8[_0x11a77e(0x218)],'BZkkH':function(_0x1b2ff7,_0x5d08b2){return _0x1278e8['xjEPn'](_0x1b2ff7,_0x5d08b2);},'ErsXR':_0x1278e8[_0x11a77e(0x204)],'CHQqD':_0x1278e8['HXRZU'],'FdcZQ':function(_0x4fe24a,_0x1a5310){const _0x514aa4=_0x11a77e;return _0x1278e8[_0x514aa4(0x1c0)](_0x4fe24a,_0x1a5310);},'rpGeA':function(_0x1e2127,_0x25b0a0){const _0xec4ce3=_0x11a77e;return _0x1278e8[_0xec4ce3(0x20b)](_0x1e2127,_0x25b0a0);},'vWAkM':_0x1278e8[_0x11a77e(0x1d6)],'prcgP':_0x1278e8[_0x11a77e(0x1d2)],'qTfIh':_0x1278e8[_0x11a77e(0x1ee)],'GcbBu':_0x1278e8[_0x11a77e(0x209)],'QPeQe':_0x1278e8[_0x11a77e(0x230)]};try{const _0x3992bd={};_0x3992bd[_0x11a77e(0x1f6)]=_0x5cd969[_0x11a77e(0x1e2)],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x11a77e(0x1c6)],async()=>{const _0x9f2793=_0x11a77e,_0x54ec64={};_0x54ec64['EDnvi']=_0x1278e8[_0x9f2793(0x1fb)];const _0x758169=_0x54ec64;if(!commandRepository[_0x9f2793(0x208)]()&&globals['getGlobal'](_0x1278e8[_0x9f2793(0x1fb)])){const _0x3b10f3=PerformanceTester[_0x9f2793(0x1cd)](_0x1278e8[_0x9f2793(0x211)],async()=>{const _0x3828d6=_0x9f2793;try{commandRepository[_0x3828d6(0x1af)](!![]),await aiSdkWrapper[_0x3828d6(0x21e)]((await _0x51ae39[_0x3828d6(0x21f)]())['getId']());const _0x4d662f=globals['getGlobal'](_0x758169[_0x3828d6(0x1e6)]);_0x4d662f&&commandRepository[_0x3828d6(0x1e1)]((await _0x51ae39[_0x3828d6(0x21f)]())[_0x3828d6(0x1df)]());}catch(_0x1c5842){logger[_0x3828d6(0x229)](_0x3828d6(0x1f9)+_0x1c5842);}});await _0x1278e8['MQVMS'](_0x3b10f3);}},_0x3992bd)();const _0x5e37ca=await _0x51ae39['initExecute'](_0x5cd969);try{if(_0x1278e8[_0x11a77e(0x203)](_0x5cd969['name_'],_0x1278e8[_0x11a77e(0x213)])||_0x1278e8[_0x11a77e(0x1ca)](_0x5cd969['name_'],_0x1278e8['ilXuC'])){const _0x14a9fc=_0x5cd969[_0x11a77e(0x1f5)]&&_0x5cd969[_0x11a77e(0x1f5)][_0x11a77e(0x1cc)],_0x3c9549=_0x5cd969[_0x11a77e(0x1f5)]&&_0x5cd969[_0x11a77e(0x1f5)][_0x11a77e(0x1f2)],_0x11ef55=_0x3c9549&&util['format']('%j',_0x3c9549);if(_0x14a9fc&&_0x1278e8[_0x11a77e(0x1ca)](typeof _0x14a9fc,_0x1278e8['uCIsH'])){const _0x20e6f9=constants[_0x11a77e(0x22e)][_0x11a77e(0x1b1)](_0xf9b7fe=>_0x14a9fc[_0x11a77e(0x231)](_0xf9b7fe)||_0x11ef55&&_0x11ef55['includes'](_0xf9b7fe));if(_0x20e6f9){const _0x2daf7a={};_0x2daf7a[_0x11a77e(0x1f6)]=_0x20e6f9,_0x2daf7a['parameters']=_0x3c9549;const _0x3175f8={};_0x3175f8[_0x11a77e(0x217)]=_0x5e37ca;const _0x19f3dd={};_0x19f3dd[_0x11a77e(0x212)]=_0x2daf7a,_0x19f3dd[_0x11a77e(0x1be)]=_0x3175f8,automationLogger['silly']('['+new Date()[_0x11a77e(0x1bb)]()+_0x11a77e(0x1e9)+util[_0x11a77e(0x1c7)]('%j',_0x19f3dd));}}}}catch(_0x5eca93){logger['silly']('Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20'+_0x5eca93[_0x11a77e(0x1da)]);}return await PerformanceTester[_0x11a77e(0x1cd)](PerformanceDriverEvents[_0x11a77e(0x1fd)],async()=>{const _0x71615e=_0x11a77e;if(!helper[_0x71615e(0x1b8)]()&&(commandRepository['isSelfHealEnabled']()||globals[_0x71615e(0x223)](_0x54795d[_0x71615e(0x1f1)]))&&_0x54795d[_0x71615e(0x1ce)](_0x5cd969[_0x71615e(0x1e2)],_0x54795d['vMVKc'])&&!_0x5cd969[_0x71615e(0x228)]&&globals[_0x71615e(0x223)](_0x54795d[_0x71615e(0x1b0)])&&globals['getGlobal'](_0x54795d[_0x71615e(0x1bc)])){const _0x5cac9b=new Date(),_0x34b8ad=PerformanceTester['measureWrapper'](_0x54795d[_0x71615e(0x1b5)],async()=>{const _0x48be07=_0x71615e;return await aiSdkWrapper[_0x48be07(0x1fe)](_0x275f89,_0x51ae39,_0x5cd969);});await _0x54795d[_0x71615e(0x21a)](_0x34b8ad);}},{'command':_0x5cd969[_0x11a77e(0x1e2)]})(),_0x5e37ca;}catch(_0x1d5539){await PerformanceTester[_0x11a77e(0x1cd)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x5827aa=_0x11a77e;logger['debug'](_0x54795d[_0x5827aa(0x1c2)]);try{if(!helper[_0x5827aa(0x1b8)]()&&(_0x54795d[_0x5827aa(0x1ce)](_0x1d5539[_0x5827aa(0x1ec)],_0x54795d[_0x5827aa(0x1b2)])||_0x54795d[_0x5827aa(0x1ce)](_0x1d5539[_0x5827aa(0x1ec)],_0x54795d[_0x5827aa(0x232)]))&&_0x54795d[_0x5827aa(0x1c5)](_0x5cd969[_0x5827aa(0x1e2)],_0x54795d[_0x5827aa(0x1b3)])&&commandRepository[_0x5827aa(0x226)]()&&globals[_0x5827aa(0x223)](_0x54795d['HqKOk'])&&globals[_0x5827aa(0x223)](_0x54795d['trNEM'])){_0x54795d[_0x5827aa(0x1e3)](_0x5cd969[_0x5827aa(0x1f5)][_0x5827aa(0x1fa)],_0x54795d[_0x5827aa(0x234)])?logger[_0x5827aa(0x207)](_0x54795d['ekBNm'](_0x54795d[_0x5827aa(0x21c)](_0x54795d[_0x5827aa(0x1d4)],_0x5cd969['parameters_']['value']),_0x54795d[_0x5827aa(0x1db)])):logger[_0x5827aa(0x207)](_0x54795d[_0x5827aa(0x21c)](_0x54795d['Mygxj'](_0x54795d['iCmMl'](_0x54795d[_0x5827aa(0x1f7)](_0x54795d[_0x5827aa(0x1c4)],_0x5cd969['parameters_']['using']),':\x20'),_0x5cd969[_0x5827aa(0x1f5)]['value']),_0x54795d['vdyLF']));const _0x188a28=PerformanceTester[_0x5827aa(0x1cd)](_0x54795d[_0x5827aa(0x1cb)],async()=>{const _0x54fef9=_0x5827aa;return await aiSdkWrapper[_0x54fef9(0x1ff)](_0x275f89,_0x51ae39,_0x5cd969);}),_0x142767=new Date(),{locatorType:_0x5a2fbd,locatorValue:_0x9374da,commandHealed:_0x2b6b72}=await _0x54795d[_0x5827aa(0x200)](_0x188a28);if(_0x54795d[_0x5827aa(0x220)](_0x5a2fbd,_0x9374da)){_0x5cd969['parameters_'][_0x5827aa(0x1fa)]=_0x5a2fbd,_0x5cd969[_0x5827aa(0x1f5)][_0x5827aa(0x1d1)]=_0x9374da,_0x5cd969[_0x5827aa(0x228)]=!![];const _0x2112dc=_0x51ae39['execute'](_0x5cd969);return _0x54795d['VWCqO'](_0x5a2fbd,_0x54795d[_0x5827aa(0x234)])?logger['info'](_0x54795d[_0x5827aa(0x214)](_0x54795d[_0x5827aa(0x1e5)],_0x9374da)):logger[_0x5827aa(0x207)](_0x54795d[_0x5827aa(0x214)](_0x54795d['BZkkH'](_0x54795d['BZkkH'](_0x54795d[_0x5827aa(0x1e8)],_0x5a2fbd),':\x20'),_0x9374da)),_0x2112dc;}else!_0x2b6b72&&(_0x54795d['VWCqO'](_0x5a2fbd,_0x54795d['Azrnv'])?logger[_0x5827aa(0x207)](_0x54795d[_0x5827aa(0x1b7)](_0x54795d[_0x5827aa(0x233)],_0x5cd969[_0x5827aa(0x1f5)][_0x5827aa(0x1d1)])):logger[_0x5827aa(0x207)](_0x54795d[_0x5827aa(0x219)](_0x54795d['FdcZQ'](_0x54795d[_0x5827aa(0x1cf)](_0x54795d['vWAkM'],_0x5cd969[_0x5827aa(0x1f5)][_0x5827aa(0x1fa)]),':\x20'),_0x5cd969[_0x5827aa(0x1f5)]['value'])));}!_0x2ebffa&&_0x54795d[_0x5827aa(0x1ce)](_0x5cd969[_0x5827aa(0x1e2)],_0x54795d[_0x5827aa(0x1d0)])&&helper['nestedKeyValue'](_0x5cd969,[_0x54795d[_0x5827aa(0x1e4)],_0x54795d['GcbBu']])&&!!constants[_0x5827aa(0x1dc)]['find'](_0x1e55b6=>{const _0xc5ba75=_0x5827aa;return _0x1d5539[_0xc5ba75(0x1bd)]()[_0xc5ba75(0x231)](_0x1e55b6);})&&helper['getNudgeLocalNotSetError'](_0x5cd969[_0x5827aa(0x1f5)][_0x5827aa(0x215)],!![]);}catch(_0x43f5e6){logger['debug'](_0x54795d[_0x5827aa(0x1b6)],_0x43f5e6);}},{'success':![],'failure':_0x1d5539})();throw _0x1d5539;}};};
1
+ const a117_0x2b1e6e=a117_0x4ad1;(function(_0x5416cf,_0x3b3a84){const _0x55fb84=a117_0x4ad1,_0xfa3ecc=_0x5416cf();while(!![]){try{const _0x1b8ad8=parseInt(_0x55fb84(0x116))/0x1+-parseInt(_0x55fb84(0x12d))/0x2+parseInt(_0x55fb84(0x10e))/0x3+parseInt(_0x55fb84(0x154))/0x4*(-parseInt(_0x55fb84(0x110))/0x5)+parseInt(_0x55fb84(0x152))/0x6*(parseInt(_0x55fb84(0x143))/0x7)+-parseInt(_0x55fb84(0xf5))/0x8*(-parseInt(_0x55fb84(0x123))/0x9)+-parseInt(_0x55fb84(0x101))/0xa;if(_0x1b8ad8===_0x3b3a84)break;else _0xfa3ecc['push'](_0xfa3ecc['shift']());}catch(_0x295b14){_0xfa3ecc['push'](_0xfa3ecc['shift']());}}}(a117_0x115e,0xca468));function a117_0x4ad1(_0x99dc8e,_0x2b548a){const _0x115e1e=a117_0x115e();return a117_0x4ad1=function(_0x4ad1c1,_0x51547f){_0x4ad1c1=_0x4ad1c1-0xf5;let _0x5ce19d=_0x115e1e[_0x4ad1c1];return _0x5ce19d;},a117_0x4ad1(_0x99dc8e,_0x2b548a);}function a117_0x115e(){const _0xcc3635=['bfMTf','getSession','mwcJj','getNudgeLocalNotSetError','includes','pAKzY','Error\x20in\x20handling\x20TCG\x20Auth:\x20','13187850QqYxQO','PRE_EXECUTE','./ai-sdk/autoHealHelper','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','findElement\x20command\x20failed\x20with\x20','name','RZUEp','initExecute','info','pkThw','bstack:options','YsrOE','CFGAR','4043586xPbAmh','JfFfG','1476575XbNftc','qcvle','execute','getTcgTokenStatus','UGhTU','ZlpBB','1383484VGKlmO','find','format','string','command','./logger','AHZAK','xOPZa','nestedKeyValue','./performance/performance-tester','getId','value','aiHeal:setToken','9eihrym','./performance/constants','./ai-sdk/aiSdkWrapper','debug','message','isBrowserstackInfra','setAiSessionTimeStamp','url','Vazqb','JavascriptError','2485476ZoJsqu','AUTOMATION_LOG_COMMANDS','gHLQR','handleSuccess','lfXwK','body','hlehO','dzrzv','TVrdT','heIfY','JCVhE','toString','hMzRX','silly','Successfully\x20healed\x20command\x20using\x20new\x20','skipHealingSuccess','uYMtC','ckrIh','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','AAbae','POST_EXECUTE','iTfWS','7RrwnbL','findElement','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','request','name_','ZFvoY','IHAaZ','QECRo','browserstack.local','aiSdk_defaultLogDataEnabled','aiHeal:findElementFailure','get','WIZnY','jrCgx','executeScript','970908rYVRCg','local','12lcXxKa','css\x20selector','parameters_','Healing\x20failed\x20for\x20command\x20using\x20','geSXg','using','./globals','patchExecute','obbHu','TblzQ','ysBTd','executeAsyncScript','parameters','OTUGN','findElement\x20command\x20failed\x20with\x20cssPath:\x20','measureWrapper','setTcgToken','CuJMv','xxfar','util','toISOString','aiHeal_isAuthenticated','ZGeZd','getGlobal','qeUNQ','11062592VeoASg','overrideExecute','aiHeal_isHealingEnabled','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','isSelfHealEnabled'];a117_0x115e=function(){return _0xcc3635;};return a117_0x115e();}const {aiSdkWrapper}=require(a117_0x2b1e6e(0x125)),{commandRepository}=require(a117_0x2b1e6e(0x103)),PerformanceTester=require(a117_0x2b1e6e(0x11f)),globals=require(a117_0x2b1e6e(0x15a)),{winstonLogger:logger,automationLogger}=require(a117_0x2b1e6e(0x11b)),helper=require('./helper'),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require(a117_0x2b1e6e(0x124)),util=require(a117_0x2b1e6e(0x167));exports[a117_0x2b1e6e(0xf6)]=(_0x1504c4,_0x57f3d5)=>{const _0x18a12e=a117_0x2b1e6e,_0x1f6427={'AAbae':_0x18a12e(0x169),'ojxjL':_0x18a12e(0x122),'JfFfG':function(_0x5c55a0){return _0x5c55a0();},'mwcJj':_0x18a12e(0x14c),'CFGAR':function(_0x40ab16,_0x12db28){return _0x40ab16===_0x12db28;},'dzrzv':_0x18a12e(0x144),'TVrdT':_0x18a12e(0xf7),'pAKzY':'aiHeal:findElementSuccess','TPMvH':function(_0x5ae045){return _0x5ae045();},'lfXwK':_0x18a12e(0x13f),'xxfar':'NoSuchElementError','geSXg':function(_0x5d22e9,_0x1ad228){return _0x5d22e9===_0x1ad228;},'hlehO':_0x18a12e(0x12c),'ZFvoY':function(_0x709e83,_0x458e3b){return _0x709e83===_0x458e3b;},'ZGeZd':_0x18a12e(0x155),'iTfWS':function(_0x3fb211,_0x4dd212){return _0x3fb211+_0x4dd212;},'eOXOf':function(_0x11764b,_0xfa3859){return _0x11764b+_0xfa3859;},'obbHu':_0x18a12e(0x162),'ZlpBB':';\x20Trying\x20to\x20heal','qeUNQ':function(_0x39440d,_0x508183){return _0x39440d+_0x508183;},'gJlQi':function(_0x553b10,_0x1910f5){return _0x553b10+_0x1910f5;},'qcvle':function(_0x14aa9c,_0x4b7d6d){return _0x14aa9c+_0x4b7d6d;},'QECRo':_0x18a12e(0x105),'mRAJc':_0x18a12e(0x14d),'xOPZa':function(_0x5a1008){return _0x5a1008();},'AHZAK':function(_0x554ffc,_0x290689){return _0x554ffc&&_0x290689;},'hMzRX':function(_0x36a95d,_0x2446e9){return _0x36a95d+_0x2446e9;},'ckrIh':_0x18a12e(0xf8),'RZUEp':function(_0x5ec38b,_0x207c35){return _0x5ec38b+_0x207c35;},'heIfY':function(_0x36836b,_0x24eed1){return _0x36836b+_0x24eed1;},'TblzQ':_0x18a12e(0x13b),'gHLQR':function(_0x19af36,_0x4ea86c){return _0x19af36===_0x4ea86c;},'pkThw':function(_0x6b5306,_0x2c1225){return _0x6b5306+_0x2c1225;},'rEDdX':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','kVCUJ':_0x18a12e(0x157),'IHAaZ':function(_0x2d0a6c,_0xc5041f){return _0x2d0a6c===_0xc5041f;},'UGhTU':_0x18a12e(0x14e),'ysBTd':_0x18a12e(0x156),'uYMtC':_0x18a12e(0x12a),'Vazqb':_0x18a12e(0x145),'OTUGN':_0x18a12e(0x15f),'jrCgx':_0x18a12e(0x151),'WIZnY':_0x18a12e(0x119),'YsrOE':'capability','JCVhE':_0x18a12e(0x14b),'nHZkq':_0x18a12e(0x10b),'bfMTf':_0x18a12e(0x153)},_0x8c74b9=_0x1504c4[_0x18a12e(0x15b)]||(helper[_0x18a12e(0x11e)](_0x57f3d5,[_0x1f6427['YsrOE'],_0x1f6427[_0x18a12e(0x137)]])||helper[_0x18a12e(0x11e)](_0x57f3d5,[_0x1f6427[_0x18a12e(0x10c)],_0x1f6427['nHZkq'],_0x1f6427[_0x18a12e(0xfa)]]));if(!globals[_0x18a12e(0x16b)](_0x1f6427[_0x18a12e(0x140)])&&!globals[_0x18a12e(0x16b)](_0x1f6427[_0x18a12e(0x135)])&&_0x8c74b9)return;_0x1504c4[_0x18a12e(0x15b)]=!![],_0x1504c4[_0x18a12e(0x108)]=_0x1504c4['execute'],_0x1504c4[_0x18a12e(0x112)]=async _0xd054d8=>{const _0x56c991=_0x18a12e;try{const _0x161417={};_0x161417[_0x56c991(0x11a)]=_0xd054d8[_0x56c991(0x147)],await PerformanceTester[_0x56c991(0x163)](PerformanceDriverEvents[_0x56c991(0x102)],async()=>{const _0x4d17a9=_0x56c991,_0x54eb57={};_0x54eb57[_0x4d17a9(0x165)]=_0x1f6427[_0x4d17a9(0x140)];const _0x2ceb01=_0x54eb57;if(!commandRepository[_0x4d17a9(0x113)]()&&globals['getGlobal'](_0x1f6427[_0x4d17a9(0x140)])){const _0x57044b=PerformanceTester[_0x4d17a9(0x163)](_0x1f6427['ojxjL'],async()=>{const _0x5e8c46=_0x4d17a9;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper[_0x5e8c46(0x164)]((await _0x1504c4[_0x5e8c46(0xfb)]())[_0x5e8c46(0x120)]());const _0x13bb64=globals[_0x5e8c46(0x16b)](_0x2ceb01[_0x5e8c46(0x165)]);_0x13bb64&&commandRepository[_0x5e8c46(0x129)]((await _0x1504c4[_0x5e8c46(0xfb)]())[_0x5e8c46(0x120)]());}catch(_0x3cbcc2){logger['error'](_0x5e8c46(0x100)+_0x3cbcc2);}});await _0x1f6427[_0x4d17a9(0x10f)](_0x57044b);}},_0x161417)();const _0x52c009=await _0x1504c4[_0x56c991(0x108)](_0xd054d8);try{if(_0x1f6427[_0x56c991(0x12f)](_0xd054d8[_0x56c991(0x147)],_0x1f6427[_0x56c991(0x161)])||_0x1f6427[_0x56c991(0x10d)](_0xd054d8['name_'],_0x1f6427[_0x56c991(0x150)])){const _0x3d14ca=_0xd054d8[_0x56c991(0x156)]&&_0xd054d8[_0x56c991(0x156)]['script'],_0x3dcc92=_0xd054d8[_0x56c991(0x156)]&&_0xd054d8['parameters_']['args'],_0x4d226a=_0x3dcc92&&util[_0x56c991(0x118)]('%j',_0x3dcc92);if(_0x3d14ca&&_0x1f6427[_0x56c991(0x10d)](typeof _0x3d14ca,_0x1f6427[_0x56c991(0x14f)])){const _0x3ad67b=constants[_0x56c991(0x12e)][_0x56c991(0x117)](_0x46d2dc=>_0x3d14ca[_0x56c991(0xfe)](_0x46d2dc)||_0x4d226a&&_0x4d226a[_0x56c991(0xfe)](_0x46d2dc));if(_0x3ad67b){const _0x36e0a6={};_0x36e0a6[_0x56c991(0x11a)]=_0x3ad67b,_0x36e0a6[_0x56c991(0x160)]=_0x3dcc92;const _0x52dfe6={};_0x52dfe6[_0x56c991(0x132)]=_0x52c009;const _0x948d33={};_0x948d33[_0x56c991(0x146)]=_0x36e0a6,_0x948d33['response']=_0x52dfe6,automationLogger[_0x56c991(0x13a)]('['+new Date()[_0x56c991(0x168)]()+'][\x20SDK-AUTOMATION\x20]\x20'+util[_0x56c991(0x118)]('%j',_0x948d33));}}}}catch(_0x4e07ba){logger['silly'](_0x56c991(0x104)+_0x4e07ba[_0x56c991(0x127)]);}return await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x56c991(0x141)],async()=>{const _0x233a00=_0x56c991;if(!helper[_0x233a00(0x128)]()&&(commandRepository[_0x233a00(0xf9)]()||globals['getGlobal'](_0x1f6427[_0x233a00(0xfc)]))&&_0x1f6427[_0x233a00(0x10d)](_0xd054d8[_0x233a00(0x147)],_0x1f6427['dzrzv'])&&!_0xd054d8[_0x233a00(0x13c)]&&globals[_0x233a00(0x16b)](_0x1f6427[_0x233a00(0x140)])&&globals['getGlobal'](_0x1f6427['TVrdT'])){const _0x228434=new Date(),_0x1497c3=PerformanceTester[_0x233a00(0x163)](_0x1f6427[_0x233a00(0xff)],async()=>{const _0x23b412=_0x233a00;return await aiSdkWrapper[_0x23b412(0x130)](_0x57f3d5,_0x1504c4,_0xd054d8);});await _0x1f6427['TPMvH'](_0x1497c3);}},{'command':_0xd054d8[_0x56c991(0x147)]})(),_0x52c009;}catch(_0x251351){await PerformanceTester[_0x56c991(0x163)](PerformanceDriverEvents[_0x56c991(0x141)],async()=>{const _0x5949c9=_0x56c991;logger['debug'](_0x1f6427[_0x5949c9(0x131)]);try{if(!helper[_0x5949c9(0x128)]()&&(_0x1f6427[_0x5949c9(0x10d)](_0x251351[_0x5949c9(0x106)],_0x1f6427[_0x5949c9(0x166)])||_0x1f6427[_0x5949c9(0x158)](_0x251351[_0x5949c9(0x106)],_0x1f6427[_0x5949c9(0x133)]))&&_0x1f6427['geSXg'](_0xd054d8['name_'],_0x1f6427[_0x5949c9(0x134)])&&commandRepository[_0x5949c9(0xf9)]()&&globals['getGlobal'](_0x1f6427[_0x5949c9(0x140)])&&globals[_0x5949c9(0x16b)](_0x1f6427[_0x5949c9(0x135)])){_0x1f6427[_0x5949c9(0x148)](_0xd054d8[_0x5949c9(0x156)][_0x5949c9(0x159)],_0x1f6427['ZGeZd'])?logger[_0x5949c9(0x109)](_0x1f6427[_0x5949c9(0x142)](_0x1f6427['eOXOf'](_0x1f6427[_0x5949c9(0x15c)],_0xd054d8[_0x5949c9(0x156)][_0x5949c9(0x121)]),_0x1f6427['ZlpBB'])):logger[_0x5949c9(0x109)](_0x1f6427[_0x5949c9(0x16c)](_0x1f6427['eOXOf'](_0x1f6427['gJlQi'](_0x1f6427[_0x5949c9(0x111)](_0x1f6427[_0x5949c9(0x14a)],_0xd054d8[_0x5949c9(0x156)][_0x5949c9(0x159)]),':\x20'),_0xd054d8[_0x5949c9(0x156)]['value']),_0x1f6427[_0x5949c9(0x115)]));const _0x49360d=PerformanceTester['measureWrapper'](_0x1f6427['mRAJc'],async()=>{return await aiSdkWrapper['handleFailure'](_0x57f3d5,_0x1504c4,_0xd054d8);}),_0x255c29=new Date(),{locatorType:_0x44b137,locatorValue:_0x239da5,commandHealed:_0x523607}=await _0x1f6427[_0x5949c9(0x11d)](_0x49360d);if(_0x1f6427[_0x5949c9(0x11c)](_0x44b137,_0x239da5)){_0xd054d8[_0x5949c9(0x156)][_0x5949c9(0x159)]=_0x44b137,_0xd054d8[_0x5949c9(0x156)][_0x5949c9(0x121)]=_0x239da5,_0xd054d8['skipHealingSuccess']=!![];const _0x1095be=_0x1504c4['execute'](_0xd054d8);return _0x1f6427[_0x5949c9(0x158)](_0x44b137,_0x1f6427[_0x5949c9(0x16a)])?logger['info'](_0x1f6427[_0x5949c9(0x139)](_0x1f6427[_0x5949c9(0x13e)],_0x239da5)):logger[_0x5949c9(0x109)](_0x1f6427[_0x5949c9(0x107)](_0x1f6427[_0x5949c9(0x136)](_0x1f6427[_0x5949c9(0x107)](_0x1f6427[_0x5949c9(0x15d)],_0x44b137),':\x20'),_0x239da5)),_0x1095be;}else!_0x523607&&(_0x1f6427['gHLQR'](_0x44b137,_0x1f6427['ZGeZd'])?logger[_0x5949c9(0x109)](_0x1f6427[_0x5949c9(0x10a)](_0x1f6427['rEDdX'],_0xd054d8[_0x5949c9(0x156)][_0x5949c9(0x121)])):logger['info'](_0x1f6427[_0x5949c9(0x107)](_0x1f6427[_0x5949c9(0x136)](_0x1f6427['qcvle'](_0x1f6427['kVCUJ'],_0xd054d8['parameters_'][_0x5949c9(0x159)]),':\x20'),_0xd054d8[_0x5949c9(0x156)][_0x5949c9(0x121)])));}!_0x8c74b9&&_0x1f6427[_0x5949c9(0x149)](_0xd054d8[_0x5949c9(0x147)],_0x1f6427[_0x5949c9(0x114)])&&helper[_0x5949c9(0x11e)](_0xd054d8,[_0x1f6427[_0x5949c9(0x15e)],_0x1f6427[_0x5949c9(0x13d)]])&&!!constants['NUDGE_LOCAL_ERRORS'][_0x5949c9(0x117)](_0x25ec74=>{const _0xa41210=_0x5949c9;return _0x251351[_0xa41210(0x138)]()['includes'](_0x25ec74);})&&helper[_0x5949c9(0xfd)](_0xd054d8['parameters_'][_0x5949c9(0x12a)],!![]);}catch(_0x5e4fbc){logger[_0x5949c9(0x126)](_0x1f6427[_0x5949c9(0x12b)],_0x5e4fbc);}},{'success':![],'failure':_0x251351})();throw _0x251351;}};};
@@ -1 +1 @@
1
- const a118_0x1fada5=a118_0x48e4;function a118_0x48e4(_0x55781a,_0x4c50d4){const _0x4a4717=a118_0x4a47();return a118_0x48e4=function(_0x48e40c,_0x459cc5){_0x48e40c=_0x48e40c-0xad;let _0x209e35=_0x4a4717[_0x48e40c];return _0x209e35;},a118_0x48e4(_0x55781a,_0x4c50d4);}(function(_0x4842ca,_0x409d9c){const _0x3f0903=a118_0x48e4,_0x920592=_0x4842ca();while(!![]){try{const _0x2dd229=parseInt(_0x3f0903(0xb2))/0x1*(-parseInt(_0x3f0903(0xc0))/0x2)+-parseInt(_0x3f0903(0xbe))/0x3*(parseInt(_0x3f0903(0xad))/0x4)+parseInt(_0x3f0903(0xcc))/0x5+parseInt(_0x3f0903(0xbf))/0x6+parseInt(_0x3f0903(0xc8))/0x7*(parseInt(_0x3f0903(0xbd))/0x8)+-parseInt(_0x3f0903(0xc2))/0x9+-parseInt(_0x3f0903(0xbb))/0xa*(-parseInt(_0x3f0903(0xb0))/0xb);if(_0x2dd229===_0x409d9c)break;else _0x920592['push'](_0x920592['shift']());}catch(_0x4128c1){_0x920592['push'](_0x920592['shift']());}}}(a118_0x4a47,0xedf5f));const PerformanceTester=require('./performance/performance-tester'),O11yEvents=require(a118_0x1fada5(0xb3))['O11y_EVENTS'];function a118_0x4a47(){const _0x2176a0=['initQuit','408663WlMNmd','takeScreenshot','qvfhh','then','pid','vrAGL','19292WknTjy','quit','Xulrd','true','5394300TKDaIH','TEST_SCREENSHOT','emit','patchQuit','patchScreenshot','HhIGi','TAKE_SCREENSHOT','toISOString','992zkgmeo','catch','start','3634697bWuNCD','SuXdk','101SZxZjw','./performance/constants','overrideQuit','initScreenshot','quitCount_','bs:addLog:','gEIto','hqesE','end','40pMliTS','env','328MplyZk','4542SySLZU','3750360pvuAGH','34516KITvaX'];a118_0x4a47=function(){return _0x2176a0;};return a118_0x4a47();}exports['overrideTakeScreenshot']=_0x1e617c=>{const _0x31f857=a118_0x1fada5,_0x5167b3={'auEKQ':_0x31f857(0xcd),'hqesE':function(_0x34b3b2,_0x250aa8){return _0x34b3b2(_0x250aa8);},'XKTZx':function(_0x3c65c5,_0xb9550a){return _0x3c65c5!==_0xb9550a;},'vrAGL':_0x31f857(0xcb)};if(_0x5167b3['XKTZx'](process[_0x31f857(0xbc)]['BS_TESTOPS_ALLOW_SCREENSHOTS'],_0x5167b3[_0x31f857(0xc7)]))return;if(_0x1e617c[_0x31f857(0xd0)])return;_0x1e617c['patchScreenshot']=!![],_0x1e617c[_0x31f857(0xb5)]=_0x1e617c[_0x31f857(0xc3)],_0x1e617c[_0x31f857(0xc3)]=()=>{const _0x2c26d4={'SuXdk':_0x5167b3['auEKQ'],'INnGa':function(_0x43a837,_0x209877){const _0x2d9ec3=a118_0x48e4;return _0x5167b3[_0x2d9ec3(0xb9)](_0x43a837,_0x209877);}};return new Promise(function(_0x20ceca,_0x1d8670){const _0x442356=a118_0x48e4,_0x54a3d1={'HhIGi':_0x2c26d4[_0x442356(0xb1)],'gEIto':function(_0x17e22a,_0x2601e5){return _0x2c26d4['INnGa'](_0x17e22a,_0x2601e5);}};_0x1e617c[_0x442356(0xb5)]()[_0x442356(0xc5)](_0x4bb5f9=>{const _0x4848fe=_0x442356;PerformanceTester[_0x4848fe(0xaf)](O11yEvents[_0x4848fe(0xd2)]),process[_0x4848fe(0xce)](_0x4848fe(0xb7)+process[_0x4848fe(0xc6)],{'timestamp':new Date()[_0x4848fe(0xd3)](),'message':_0x4bb5f9,'kind':_0x54a3d1[_0x4848fe(0xd1)]}),_0x54a3d1[_0x4848fe(0xb8)](_0x20ceca,_0x4bb5f9),PerformanceTester[_0x4848fe(0xba)](O11yEvents[_0x4848fe(0xd2)]);})[_0x442356(0xae)](_0x1a3b2c=>{const _0x39641d=_0x442356;PerformanceTester[_0x39641d(0xba)](O11yEvents[_0x39641d(0xd2)]),_0x54a3d1[_0x39641d(0xb8)](_0x1d8670,_0x1a3b2c);});});};},exports[a118_0x1fada5(0xb4)]=(_0x321e7e,_0x2acbbf=null)=>{const _0x376a04=a118_0x1fada5,_0x5cd50a={'qvfhh':function(_0x295dbd){return _0x295dbd();},'PKhlL':function(_0x59b165,_0x6de54a){return _0x59b165>_0x6de54a;},'Xulrd':function(_0x30ca36,_0x546937){return _0x30ca36>_0x546937;}};if(_0x321e7e[_0x376a04(0xcf)])return;_0x321e7e[_0x376a04(0xcf)]=!![],_0x321e7e[_0x376a04(0xc1)]=_0x321e7e[_0x376a04(0xc9)],_0x321e7e['quit']=()=>{const _0x2796b4=_0x376a04;if(_0x2acbbf){_0x2acbbf['quitCount_']+=0x1;if(_0x5cd50a['PKhlL'](_0x2acbbf[_0x2796b4(0xb6)],0x1))return _0x321e7e[_0x2796b4(0xc1)]();}else{_0x321e7e[_0x2796b4(0xb6)]+=0x1;if(_0x5cd50a[_0x2796b4(0xca)](_0x321e7e[_0x2796b4(0xb6)],0x1))return _0x321e7e[_0x2796b4(0xc1)]();}return new Promise(function(_0x4647e0){const _0x5434bc=_0x2796b4;_0x5cd50a[_0x5434bc(0xc4)](_0x4647e0);});};};
1
+ const a118_0x3ed290=a118_0x31e5;(function(_0x220db8,_0x4b12dd){const _0x2195ba=a118_0x31e5,_0x4de86f=_0x220db8();while(!![]){try{const _0x1d4eb7=-parseInt(_0x2195ba(0x111))/0x1+-parseInt(_0x2195ba(0xfc))/0x2*(parseInt(_0x2195ba(0x106))/0x3)+-parseInt(_0x2195ba(0xef))/0x4+-parseInt(_0x2195ba(0x107))/0x5*(-parseInt(_0x2195ba(0x109))/0x6)+parseInt(_0x2195ba(0x108))/0x7*(parseInt(_0x2195ba(0x105))/0x8)+-parseInt(_0x2195ba(0xf4))/0x9+parseInt(_0x2195ba(0xee))/0xa;if(_0x1d4eb7===_0x4b12dd)break;else _0x4de86f['push'](_0x4de86f['shift']());}catch(_0x2ecd9c){_0x4de86f['push'](_0x4de86f['shift']());}}}(a118_0x2f35,0xb5c5a));function a118_0x31e5(_0x2ab42f,_0x497536){const _0x2f3587=a118_0x2f35();return a118_0x31e5=function(_0x31e5cf,_0x20116c){_0x31e5cf=_0x31e5cf-0xec;let _0x39079c=_0x2f3587[_0x31e5cf];return _0x39079c;},a118_0x31e5(_0x2ab42f,_0x497536);}const PerformanceTester=require(a118_0x3ed290(0xec)),O11yEvents=require(a118_0x3ed290(0x10f))['O11y_EVENTS'];function a118_0x2f35(){const _0x300614=['TAKE_SCREENSHOT','./performance/performance-tester','quit','7737520vKwajc','1218224XXBiHk','bs:addLog:','quitCount_','end','VMkYU','7862373rxlYbI','kOgdQ','true','overrideQuit','emit','RPOLj','iHWUm','start','240252mEeMRk','patchQuit','env','aqxqA','jSrRv','catch','TEST_SCREENSHOT','overrideTakeScreenshot','BS_TESTOPS_ALLOW_SCREENSHOTS','608ApcsZr','6jasMtK','2733155AWMutm','95774FUrOLc','12vcmnoj','ELmlD','initScreenshot','patchScreenshot','takeScreenshot','AISLF','./performance/constants','initQuit','743903XCdhgs'];a118_0x2f35=function(){return _0x300614;};return a118_0x2f35();}exports[a118_0x3ed290(0x103)]=_0x5270ca=>{const _0x15ea4f=a118_0x3ed290,_0x41d3ae={'iHWUm':_0x15ea4f(0x102),'VMkYU':function(_0x486218,_0x4adba7){return _0x486218(_0x4adba7);},'aqxqA':function(_0xd969f2,_0x274294){return _0xd969f2(_0x274294);},'AISLF':function(_0x5471a6,_0x3edae4){return _0x5471a6!==_0x3edae4;},'KdkXO':_0x15ea4f(0xf6)};if(_0x41d3ae[_0x15ea4f(0x10e)](process[_0x15ea4f(0xfe)][_0x15ea4f(0x104)],_0x41d3ae['KdkXO']))return;if(_0x5270ca[_0x15ea4f(0x10c)])return;_0x5270ca[_0x15ea4f(0x10c)]=!![],_0x5270ca[_0x15ea4f(0x10b)]=_0x5270ca['takeScreenshot'],_0x5270ca[_0x15ea4f(0x10d)]=()=>{const _0x1989c8={'FpAeR':function(_0x440b74,_0x2090db){const _0x357f15=a118_0x31e5;return _0x41d3ae[_0x357f15(0xff)](_0x440b74,_0x2090db);}};return new Promise(function(_0x404f7a,_0x2cd74f){const _0x5c3aa1=a118_0x31e5,_0xa77e49={'jSrRv':_0x41d3ae[_0x5c3aa1(0xfa)],'kOgdQ':function(_0x3af425,_0xac59f6){const _0x15cab8=_0x5c3aa1;return _0x41d3ae[_0x15cab8(0xf3)](_0x3af425,_0xac59f6);}};_0x5270ca[_0x5c3aa1(0x10b)]()['then'](_0x2471a1=>{const _0x40bef3=_0x5c3aa1;PerformanceTester[_0x40bef3(0xfb)](O11yEvents[_0x40bef3(0x112)]),process[_0x40bef3(0xf8)](_0x40bef3(0xf0)+process['pid'],{'timestamp':new Date()['toISOString'](),'message':_0x2471a1,'kind':_0xa77e49[_0x40bef3(0x100)]}),_0xa77e49[_0x40bef3(0xf5)](_0x404f7a,_0x2471a1),PerformanceTester[_0x40bef3(0xf2)](O11yEvents[_0x40bef3(0x112)]);})[_0x5c3aa1(0x101)](_0x4384da=>{const _0x5b3c49=_0x5c3aa1;PerformanceTester[_0x5b3c49(0xf2)](O11yEvents[_0x5b3c49(0x112)]),_0x1989c8['FpAeR'](_0x2cd74f,_0x4384da);});});};},exports[a118_0x3ed290(0xf7)]=(_0x539aff,_0x647e59=null)=>{const _0x1c8703=a118_0x3ed290,_0x5c6841={'RPOLj':function(_0xc5ed44){return _0xc5ed44();},'ELmlD':function(_0x32825b,_0x101310){return _0x32825b>_0x101310;},'npRbt':function(_0x551f8d,_0xa89afe){return _0x551f8d>_0xa89afe;}};if(_0x539aff[_0x1c8703(0xfd)])return;_0x539aff[_0x1c8703(0xfd)]=!![],_0x539aff[_0x1c8703(0x110)]=_0x539aff[_0x1c8703(0xed)],_0x539aff[_0x1c8703(0xed)]=()=>{const _0x45ac9d=_0x1c8703;if(_0x647e59){_0x647e59[_0x45ac9d(0xf1)]+=0x1;if(_0x5c6841[_0x45ac9d(0x10a)](_0x647e59['quitCount_'],0x1))return _0x539aff[_0x45ac9d(0x110)]();}else{_0x539aff['quitCount_']+=0x1;if(_0x5c6841['npRbt'](_0x539aff[_0x45ac9d(0xf1)],0x1))return _0x539aff[_0x45ac9d(0x110)]();}return new Promise(function(_0x7d5588){const _0x2824c0=_0x45ac9d;_0x5c6841[_0x2824c0(0xf9)](_0x7d5588);});};};
@@ -1 +1 @@
1
- const a119_0x5f43ef=a119_0x2ee8;(function(_0x5d8d5,_0x3f52b5){const _0xe78835=a119_0x2ee8,_0x1ed14a=_0x5d8d5();while(!![]){try{const _0x159d20=parseInt(_0xe78835(0xf2))/0x1*(parseInt(_0xe78835(0xef))/0x2)+-parseInt(_0xe78835(0x11d))/0x3+-parseInt(_0xe78835(0x128))/0x4*(-parseInt(_0xe78835(0xde))/0x5)+-parseInt(_0xe78835(0xf6))/0x6*(-parseInt(_0xe78835(0x102))/0x7)+parseInt(_0xe78835(0xe6))/0x8*(parseInt(_0xe78835(0x119))/0x9)+parseInt(_0xe78835(0xf0))/0xa+-parseInt(_0xe78835(0xe5))/0xb;if(_0x159d20===_0x3f52b5)break;else _0x1ed14a['push'](_0x1ed14a['shift']());}catch(_0x5f42f1){_0x1ed14a['push'](_0x1ed14a['shift']());}}}(a119_0x25a8,0x96c15));function a119_0x2ee8(_0x3d78d7,_0x292c71){const _0x25a8d6=a119_0x25a8();return a119_0x2ee8=function(_0x2ee866,_0x32fd44){_0x2ee866=_0x2ee866-0xdc;let _0x3b697c=_0x25a8d6[_0x2ee866];return _0x3b697c;},a119_0x2ee8(_0x3d78d7,_0x292c71);}const fs=require('fs'),path=require(a119_0x5f43ef(0x10b)),os=require('os'),{spawn}=require('child_process'),helper=require('../helper'),logger=require(a119_0x5f43ef(0x115))[a119_0x5f43ef(0xf5)],{getLogDir}=require('../logger'),testHubConstants=require('../../helpers/testhub/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a119_0x5f43ef(0x11b)),PercyBinary=require(a119_0x5f43ef(0x108));class Percy{#logfile=path[a119_0x5f43ef(0x11e)](getLogDir(),a119_0x5f43ef(0x118));#address=process[a119_0x5f43ef(0x12a)][a119_0x5f43ef(0x121)]||a119_0x5f43ef(0x120);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a119_0x5f43ef(0xfe)]=![];constructor(_0x531d53){this.#config=_0x531d53,!!_0x531d53['app']&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x184a00=a119_0x5f43ef;if(!this.#binaryPath){const _0x1a0db4=new PercyBinary();PerformanceTester[_0x184a00(0x10f)](PerformanceEvents['DOWNLOAD']),this.#binaryPath=await _0x1a0db4[_0x184a00(0x113)](this.#config),PerformanceTester[_0x184a00(0xf9)](PerformanceEvents[_0x184a00(0xed)]);}return this.#binaryPath;}async #sleep(_0x3cfbab){return new Promise(_0x5a92f5=>setTimeout(_0x5a92f5,_0x3cfbab));}async['healthcheck'](){const _0x5120be=a119_0x5f43ef,_0x2e2426={};_0x2e2426['vPbSt']=_0x5120be(0xf4),_0x2e2426[_0x5120be(0xea)]=_0x5120be(0x116);const _0x3cedf0=_0x2e2426;try{const _0x5621e5=await helper[_0x5120be(0x10c)](_0x3cedf0['vPbSt'],_0x3cedf0[_0x5120be(0xea)],null,null,this.#address);if(_0x5621e5)return!![];}catch(_0x4e305f){return![];}}async['start'](){const _0x2ae602=a119_0x5f43ef,_0x39e3f7={'OcIaE':_0x2ae602(0x129),'jcVkr':_0x2ae602(0x111),'yQHxN':function(_0x375be6,_0x42914f,_0xae0f8a,_0x3f8a5d){return _0x375be6(_0x42914f,_0xae0f8a,_0x3f8a5d);},'cGeor':_0x2ae602(0xf8),'qdJxh':_0x2ae602(0xff)},_0x11e86b=await this.#getBinaryPath(),_0x244e05={};_0x244e05[_0x2ae602(0xe9)]='a',this.#logStream=fs[_0x2ae602(0xe2)](this.#logfile,_0x244e05);const _0x24345f=await this[_0x2ae602(0x127)](),_0xcdae62=await this[_0x2ae602(0x125)]();if(!_0x24345f)return![];const _0x12a821=[(this.#isApp?_0x39e3f7[_0x2ae602(0x103)]:_0x39e3f7[_0x2ae602(0xf3)])+_0x2ae602(0xfd)];_0xcdae62&&_0x12a821['push']('-c',_0xcdae62);this.#proc=_0x39e3f7[_0x2ae602(0x117)](spawn,_0x11e86b,_0x12a821,{'env':Object[_0x2ae602(0x11a)](process[_0x2ae602(0x12a)],{'PERCY_TOKEN':_0x24345f,'TH_BUILD_UUID':process['env'][testHubConstants[_0x2ae602(0xe1)]['BROWSERSTACK_TESTHUB_UUID']]})}),this.#proc[_0x2ae602(0xe7)][_0x2ae602(0xdd)](this.#logStream),this.#proc[_0x2ae602(0xdc)][_0x2ae602(0xdd)](this.#logStream),this['isProcessRunning']=!![];var _0x54d27c=this;this.#proc['on'](_0x39e3f7['cGeor'],function(_0x43b916){const _0x2b6a00=_0x2ae602;_0x54d27c[_0x2b6a00(0xfe)]=![];});do{const _0x3d8463=await this[_0x2ae602(0x10d)]();if(_0x3d8463)return logger[_0x2ae602(0x101)](_0x39e3f7[_0x2ae602(0xe3)]),!![];await this.#sleep(0x3e8);}while(this[_0x2ae602(0xfe)]);return![];}async[a119_0x5f43ef(0x106)](){const _0x1e1445=a119_0x5f43ef,_0x50e316={'GAqve':function(_0x580419,_0x4f1770){return _0x580419(_0x4f1770);},'umCKf':function(_0x543bd8,_0x4a6831,_0x377361){return _0x543bd8(_0x4a6831,_0x377361);},'vAxsG':_0x1e1445(0xfc),'bhlNv':_0x1e1445(0xf8)},_0x27f603=await this.#getBinaryPath();return new Promise((_0x1438b6,_0x58e121)=>{const _0x2e1fb3=_0x1e1445,_0x3e524f={'DzjyX':function(_0x420e6a,_0x14f0de){const _0xccc06a=a119_0x2ee8;return _0x50e316[_0xccc06a(0xf7)](_0x420e6a,_0x14f0de);}},_0x2fcf51=_0x50e316[_0x2e1fb3(0x10a)](spawn,_0x27f603,[_0x50e316['vAxsG']]);_0x2fcf51['on'](_0x50e316[_0x2e1fb3(0xfa)],_0x4bdea9=>{const _0xaf60f5=_0x2e1fb3;this[_0xaf60f5(0xfe)]=![],this.#logStream&&(this.#logStream['end'](),this.#logStream=null),_0x3e524f['DzjyX'](_0x1438b6,_0x4bdea9);});});}[a119_0x5f43ef(0x104)](){const _0x24b34b=a119_0x5f43ef;return this[_0x24b34b(0xfe)];}async[a119_0x5f43ef(0x127)](){const _0x624838=a119_0x5f43ef,_0x5b999c={};_0x5b999c[_0x624838(0xec)]=_0x624838(0x126),_0x5b999c[_0x624838(0x100)]='automate',_0x5b999c[_0x624838(0x107)]=_0x624838(0xf4),_0x5b999c[_0x624838(0xe4)]='Percy\x20fetch\x20token\x20success';const _0x43585d=_0x5b999c,_0x100210=this.#config['projectName'];try{const _0x3503ee=this.#isApp?_0x43585d[_0x624838(0xec)]:_0x43585d[_0x624838(0x100)],_0x4df01d=await helper['nodeRequest'](_0x43585d['tcpEM'],_0x624838(0x124)+_0x100210+_0x624838(0x105)+_0x3503ee,{},this.#config),_0x5ad400=_0x4df01d[_0x624838(0x123)];return logger[_0x624838(0x101)](_0x43585d['LzkwK']),_0x5ad400[_0x624838(0x112)];}catch(_0x58b859){return logger[_0x624838(0x122)](_0x624838(0x109)+_0x58b859),null;}}async[a119_0x5f43ef(0x125)](){const _0x1c3472=a119_0x5f43ef,_0xe3a363={'RaznU':function(_0x8acda5,_0x50c1f0){return _0x8acda5(_0x50c1f0);},'KQXMp':function(_0x49d5c9,_0x740f95){return _0x49d5c9+_0x740f95;},'PQQiz':_0x1c3472(0x114),'slyLW':function(_0x368bb8,_0x50fb27){return _0x368bb8(_0x50fb27);},'FWBVs':'percy.json'};if(!this.#config[_0x1c3472(0xdf)])return null;const _0x47a393=path['join'](os[_0x1c3472(0xe8)](),_0xe3a363['FWBVs']),_0x20887a=this.#config[_0x1c3472(0xdf)];return!_0x20887a[_0x1c3472(0xee)]&&(_0x20887a['version']='2'),new Promise((_0x52875c,_0x4f75e3)=>{const _0x5db655=_0x1c3472,_0x506adc={'bKFGw':function(_0x1d6183,_0x2a6f73){return _0xe3a363['RaznU'](_0x1d6183,_0x2a6f73);},'fCjaa':function(_0x349505,_0x1f8a16){const _0x320bfa=a119_0x2ee8;return _0xe3a363[_0x320bfa(0xfb)](_0x349505,_0x1f8a16);},'bthNT':_0xe3a363[_0x5db655(0xf1)],'USxlH':function(_0x5759fa,_0x3e218d){return _0xe3a363['slyLW'](_0x5759fa,_0x3e218d);}};fs[_0x5db655(0x110)](_0x47a393,JSON[_0x5db655(0x11c)](_0x20887a),_0x40ae29=>{const _0x144acb=_0x5db655;_0x40ae29&&(logger[_0x144acb(0x122)](_0x144acb(0x10e)+_0x40ae29),_0x506adc[_0x144acb(0xe0)](_0x52875c,null)),logger[_0x144acb(0x101)](_0x506adc['fCjaa'](_0x506adc[_0x144acb(0x11f)],_0x47a393)),_0x506adc[_0x144acb(0xeb)](_0x52875c,_0x47a393);});});}}function a119_0x25a8(){const _0x1abfe6=['DOWNLOAD','version','20318dVfxni','9211040mCiVxa','PQQiz','70LOvMiH','jcVkr','GET','winstonLogger','6doeipo','GAqve','close','end','bhlNv','KQXMp','exec:stop',':start','isProcessRunning','Percy\x20healthcheck\x20successful','MGHAA','debug','482293SKtYTn','OcIaE','isRunning','&type=','stop','tcpEM','./PercyBinary','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','umCKf','path','nodeRequest','healthcheck','Error\x20creating\x20percy\x20config:\x20','start','writeFile','exec','token','getBinaryPath','Percy\x20config\x20created\x20at\x20','../logger','percy/healthcheck','yQHxN','percy.log','9ZMmJee','assign','../../helpers/performance/constants','stringify','3296067ydBkBc','join','bthNT','http://localhost:5338','PERCY_SERVER_ADDRESS','error','data','api/app_percy/get_project_token?name=','createPercyConfig','app','fetchPercyToken','60436yWxRbA','app:exec','env','stderr','pipe','335bHbSPP','percyOptions','bKFGw','ENV_VAR','createWriteStream','qdJxh','LzkwK','23377453cUyLCo','9023752KwZGsq','stdout','tmpdir','flags','hWHRi','USxlH','OiAfQ'];a119_0x25a8=function(){return _0x1abfe6;};return a119_0x25a8();}module['exports']=Percy;
1
+ const a119_0x72edde=a119_0x5291;(function(_0x5400e6,_0x49802d){const _0x15dcbd=a119_0x5291,_0x3d1c25=_0x5400e6();while(!![]){try{const _0x4b4668=parseInt(_0x15dcbd(0x1b3))/0x1+-parseInt(_0x15dcbd(0x187))/0x2*(parseInt(_0x15dcbd(0x1a7))/0x3)+-parseInt(_0x15dcbd(0x1a3))/0x4*(parseInt(_0x15dcbd(0x180))/0x5)+-parseInt(_0x15dcbd(0x181))/0x6+-parseInt(_0x15dcbd(0x1b4))/0x7+parseInt(_0x15dcbd(0x1b6))/0x8+-parseInt(_0x15dcbd(0x1c8))/0x9*(-parseInt(_0x15dcbd(0x188))/0xa);if(_0x4b4668===_0x49802d)break;else _0x3d1c25['push'](_0x3d1c25['shift']());}catch(_0x11de3a){_0x3d1c25['push'](_0x3d1c25['shift']());}}}(a119_0x58d3,0xed163));const fs=require('fs'),path=require(a119_0x72edde(0x1a1)),os=require('os'),{spawn}=require(a119_0x72edde(0x1c5)),helper=require(a119_0x72edde(0x18e)),logger=require(a119_0x72edde(0x1a9))[a119_0x72edde(0x1a5)],{getLogDir}=require('../logger'),testHubConstants=require(a119_0x72edde(0x1c2)),PerformanceTester=require(a119_0x72edde(0x1bf)),{PERCY_EVENTS:PerformanceEvents}=require(a119_0x72edde(0x1c1)),PercyBinary=require(a119_0x72edde(0x1c3));function a119_0x58d3(){const _0xa94941=['Percy\x20healthcheck\x20successful','close','1397934WEiXLY','10VnfvRT','createPercyConfig','hjtJR','vTZBv','getBinaryPath','ENV_VAR','../helper','push','percyOptions','GET','stringify','nodeRequest','kkdgz','stdout','Error\x20creating\x20percy\x20config:\x20','qwZSq','exports','Percy\x20config\x20created\x20at\x20','pipe','fetchPercyToken','tDjwp','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','lnuPf','fKeCZ','percy.json','path','ejbNb','1522580dbuRcx','ibIOP','winstonLogger','yYudq','3NywcbB','exec:stop','../logger','DOWNLOAD','assign','projectName','jUKDj','env','CxfMV','oClFx','exec','jnPHQ','876266VYUybE','11343318kaSZSN','writeFile','4590744UstFAa','szrNF','start','debug','tmpdir','uejhG','isProcessRunning','&type=','api/app_percy/get_project_token?name=','../../helpers/performance/performance-tester','QlNeE','../../helpers/performance/constants','../../helpers/testhub/constants','./PercyBinary','createWriteStream','child_process','dZrjx','app','41460669xzJJjd','isRunning','token','http://localhost:5338','error','app:exec','qcKhA','healthcheck','end','percy.log','automate','AJUcZ','stderr','flags','15RQzSmF','9746202iuDOfY','data','Percy\x20fetch\x20token\x20success','version'];a119_0x58d3=function(){return _0xa94941;};return a119_0x58d3();}function a119_0x5291(_0x47590c,_0x4ec86b){const _0x58d39c=a119_0x58d3();return a119_0x5291=function(_0x52914f,_0x1560c4){_0x52914f=_0x52914f-0x180;let _0x11e9aa=_0x58d39c[_0x52914f];return _0x11e9aa;},a119_0x5291(_0x47590c,_0x4ec86b);}class Percy{#logfile=path['join'](getLogDir(),a119_0x72edde(0x1d1));#address=process[a119_0x72edde(0x1ae)]['PERCY_SERVER_ADDRESS']||a119_0x72edde(0x1cb);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a119_0x72edde(0x1bc)]=![];constructor(_0x50cab3){const _0x2384a3=a119_0x72edde;this.#config=_0x50cab3,!!_0x50cab3[_0x2384a3(0x1c7)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x579c6c=a119_0x72edde;if(!this.#binaryPath){const _0x530c39=new PercyBinary();PerformanceTester[_0x579c6c(0x1b8)](PerformanceEvents[_0x579c6c(0x1aa)]),this.#binaryPath=await _0x530c39[_0x579c6c(0x18c)](this.#config),PerformanceTester[_0x579c6c(0x1d0)](PerformanceEvents[_0x579c6c(0x1aa)]);}return this.#binaryPath;}async #sleep(_0xdbc6f3){return new Promise(_0x336184=>setTimeout(_0x336184,_0xdbc6f3));}async[a119_0x72edde(0x1cf)](){const _0x4434bf=a119_0x72edde,_0x4809fc={};_0x4809fc['LxJuc']=_0x4434bf(0x191),_0x4809fc[_0x4434bf(0x1b7)]='percy/healthcheck';const _0x7706a9=_0x4809fc;try{const _0x5b6db7=await helper[_0x4434bf(0x193)](_0x7706a9['LxJuc'],_0x7706a9[_0x4434bf(0x1b7)],null,null,this.#address);if(_0x5b6db7)return!![];}catch(_0x9220c1){return![];}}async[a119_0x72edde(0x1b8)](){const _0x322b3a=a119_0x72edde,_0x4c775b={'uejhG':_0x322b3a(0x1cd),'AJUcZ':_0x322b3a(0x1b1),'ejbNb':function(_0x5b44f7,_0x1d7167,_0xfa8ed2,_0x5c67cb){return _0x5b44f7(_0x1d7167,_0xfa8ed2,_0x5c67cb);},'tDjwp':'close','yYudq':_0x322b3a(0x185)},_0x5eb431=await this.#getBinaryPath(),_0x5f0fee={};_0x5f0fee[_0x322b3a(0x1d5)]='a',this.#logStream=fs[_0x322b3a(0x1c4)](this.#logfile,_0x5f0fee);const _0x2a5023=await this['fetchPercyToken'](),_0x3cc440=await this[_0x322b3a(0x189)]();if(!_0x2a5023)return![];const _0xeac646=[(this.#isApp?_0x4c775b[_0x322b3a(0x1bb)]:_0x4c775b[_0x322b3a(0x1d3)])+':start'];_0x3cc440&&_0xeac646[_0x322b3a(0x18f)]('-c',_0x3cc440);this.#proc=_0x4c775b[_0x322b3a(0x1a2)](spawn,_0x5eb431,_0xeac646,{'env':Object[_0x322b3a(0x1ab)](process[_0x322b3a(0x1ae)],{'PERCY_TOKEN':_0x2a5023,'TH_BUILD_UUID':process[_0x322b3a(0x1ae)][testHubConstants[_0x322b3a(0x18d)]['BROWSERSTACK_TESTHUB_UUID']]})}),this.#proc[_0x322b3a(0x195)][_0x322b3a(0x19a)](this.#logStream),this.#proc[_0x322b3a(0x1d4)][_0x322b3a(0x19a)](this.#logStream),this['isProcessRunning']=!![];var _0x2eefa9=this;this.#proc['on'](_0x4c775b[_0x322b3a(0x19c)],function(_0x3ff095){const _0x1f36bc=_0x322b3a;_0x2eefa9[_0x1f36bc(0x1bc)]=![];});do{const _0x491d23=await this[_0x322b3a(0x1cf)]();if(_0x491d23)return logger[_0x322b3a(0x1b9)](_0x4c775b[_0x322b3a(0x1a6)]),!![];await this.#sleep(0x3e8);}while(this[_0x322b3a(0x1bc)]);return![];}async['stop'](){const _0x46da38=a119_0x72edde,_0x16fa17={'hjtJR':function(_0x38dcfb,_0x2aae0a){return _0x38dcfb(_0x2aae0a);},'QlNeE':function(_0x2a9346,_0x44d80f,_0x1d5d02){return _0x2a9346(_0x44d80f,_0x1d5d02);},'vTZBv':_0x46da38(0x1a8),'qwZSq':_0x46da38(0x186)},_0x2a6051=await this.#getBinaryPath();return new Promise((_0xf75a4d,_0x3d19a6)=>{const _0x5dd211=_0x46da38,_0x57a758={'oClFx':function(_0x160e4f,_0x738446){const _0x685425=a119_0x5291;return _0x16fa17[_0x685425(0x18a)](_0x160e4f,_0x738446);}},_0x5e411a=_0x16fa17[_0x5dd211(0x1c0)](spawn,_0x2a6051,[_0x16fa17[_0x5dd211(0x18b)]]);_0x5e411a['on'](_0x16fa17[_0x5dd211(0x197)],_0x1b25e2=>{const _0x26237b=_0x5dd211;this[_0x26237b(0x1bc)]=![],this.#logStream&&(this.#logStream[_0x26237b(0x1d0)](),this.#logStream=null),_0x57a758[_0x26237b(0x1b0)](_0xf75a4d,_0x1b25e2);});});}[a119_0x72edde(0x1c9)](){return this['isProcessRunning'];}async[a119_0x72edde(0x19b)](){const _0x402be9=a119_0x72edde,_0x14148a={};_0x14148a[_0x402be9(0x194)]='app',_0x14148a[_0x402be9(0x1b2)]=_0x402be9(0x1d2),_0x14148a[_0x402be9(0x1ce)]='GET',_0x14148a['dZrjx']=_0x402be9(0x183);const _0x25165d=_0x14148a,_0x1201ba=this.#config[_0x402be9(0x1ac)];try{const _0x3b47ec=this.#isApp?_0x25165d[_0x402be9(0x194)]:_0x25165d[_0x402be9(0x1b2)],_0x1c61d9=await helper[_0x402be9(0x193)](_0x25165d[_0x402be9(0x1ce)],_0x402be9(0x1be)+_0x1201ba+_0x402be9(0x1bd)+_0x3b47ec,{},this.#config),_0x3f2bc0=_0x1c61d9[_0x402be9(0x182)];return logger[_0x402be9(0x1b9)](_0x25165d[_0x402be9(0x1c6)]),_0x3f2bc0[_0x402be9(0x1ca)];}catch(_0x497210){return logger[_0x402be9(0x1cc)](_0x402be9(0x19d)+_0x497210),null;}}async[a119_0x72edde(0x189)](){const _0x3b16d3=a119_0x72edde,_0x443140={'ibIOP':function(_0x191fa7,_0x22eb72){return _0x191fa7(_0x22eb72);},'jUKDj':function(_0x148b75,_0x1bb385){return _0x148b75+_0x1bb385;},'fKeCZ':_0x3b16d3(0x199),'CxfMV':function(_0x18815f,_0x44ad01){return _0x18815f(_0x44ad01);},'lnuPf':_0x3b16d3(0x1a0)};if(!this.#config[_0x3b16d3(0x190)])return null;const _0x343db0=path['join'](os[_0x3b16d3(0x1ba)](),_0x443140[_0x3b16d3(0x19e)]),_0x528488=this.#config[_0x3b16d3(0x190)];return!_0x528488['version']&&(_0x528488[_0x3b16d3(0x184)]='2'),new Promise((_0x132014,_0x4de19a)=>{const _0x468cbb=_0x3b16d3;fs[_0x468cbb(0x1b5)](_0x343db0,JSON[_0x468cbb(0x192)](_0x528488),_0x33278a=>{const _0x5c3180=_0x468cbb;_0x33278a&&(logger[_0x5c3180(0x1cc)](_0x5c3180(0x196)+_0x33278a),_0x443140[_0x5c3180(0x1a4)](_0x132014,null)),logger['debug'](_0x443140[_0x5c3180(0x1ad)](_0x443140[_0x5c3180(0x19f)],_0x343db0)),_0x443140[_0x5c3180(0x1af)](_0x132014,_0x343db0);});});}}module[a119_0x72edde(0x198)]=Percy;
@@ -1 +1 @@
1
- const a120_0x1a1a18=a120_0x3d88;(function(_0x207f90,_0x525a7e){const _0x4caf78=a120_0x3d88,_0x39f5ae=_0x207f90();while(!![]){try{const _0x34627c=-parseInt(_0x4caf78(0x1ff))/0x1+parseInt(_0x4caf78(0x21d))/0x2*(parseInt(_0x4caf78(0x1e8))/0x3)+parseInt(_0x4caf78(0x1e9))/0x4+-parseInt(_0x4caf78(0x204))/0x5+-parseInt(_0x4caf78(0x1eb))/0x6*(-parseInt(_0x4caf78(0x1c7))/0x7)+parseInt(_0x4caf78(0x1cb))/0x8+-parseInt(_0x4caf78(0x1d8))/0x9*(parseInt(_0x4caf78(0x1d2))/0xa);if(_0x34627c===_0x525a7e)break;else _0x39f5ae['push'](_0x39f5ae['shift']());}catch(_0x3d6441){_0x39f5ae['push'](_0x39f5ae['shift']());}}}(a120_0x5713,0xdf699));const {https}=require(a120_0x1a1a18(0x22f)),url=require(a120_0x1a1a18(0x243)),yauzl=require('yauzl'),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require(a120_0x1a1a18(0x1e7)),logger=require(a120_0x1a1a18(0x238))[a120_0x1a1a18(0x1d0)];function a120_0x5713(){const _0x3ca5bd=['KRVga','url','platform','AbEXK','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','nYucX','fEwIh','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','qxgvZ','readEntry','pQvTX','uWgyf','getuid','R_OK','nupbZ','win32','statusCode','test','stdout','pipe','mXlBW','join','parse','fileName','146174FAGbvH','debug','TZDjb','gnstT','5986928WvUKCQ','chmod','createWriteStream','RYzAW','cwd','winstonLogger','tmpdir','20bkVNWz','IKRGH','proxyPort','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','entry','end','11383389mfwVRV','eosGq','uNnDG','mkdirSync','binaryPath','proxyHost','YpRRh','download','RhnMq','rcgYM','xzMcn','writeFileSync','.zip','HOMEDRIVE','gWcQE','https-proxy-agent','6ZyTiyQ','5495980FANYPa','once','456lCEAla','wDzbd','/home/','match','veyvc','cSASp','inXdq','cIElR','W_OK','warn','extractAndSaveBinary','nlovj','dsWFt','linux','percy.exe','https://github.com/percy/cli/releases/latest/download','darwin','PyvmZ','artPT','lazyEntries','1135570PiVqVL','percy','readFileSync','catch','AIJNm','1292010uRUFQB','USERNAME','get','PiaEd','/percy-linux.zip','evtbq','--version','function','SgZBm','homedir','error','qlUcF','EXaTi','port','sERqt','HOMEPATH','TFhCJ','Failed\x20to\x20save\x20ETag\x20file:\x20','tsMUp','.etag','TtFYu','ruSah','IOyrZ','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','close','1129318BdRNWs','accessSync','/root','getBinaryPath','MDoMc','GAdne','xoUVD','Error\x20trying\x20to\x20download\x20percy\x20binary','env','Failed\x20to\x20read\x20ETag\x20file:\x20','agent','then','Saved\x20new\x20ETag\x20for\x20percy\x20binary','LNAME','iwylx','lWLJf','useCaCertificate','openReadStream','follow-redirects','hLclW','vTBpn','validateBinary','destroy','mAEUM','headers','RJSDb','0755','../logger','If-None-Match','ZaJQH','GclwR','tTors','undefined','/percy-osx.zip','exports','data','xXZPk'];a120_0x5713=function(){return _0x3ca5bd;};return a120_0x5713();}class PercyBinary{#hostOS=process[a120_0x1a1a18(0x244)];#httpPath=null;#binaryName=a120_0x1a1a18(0x200);#orderedPaths=[path['join'](this.#homedir(),'.browserstack'),process[a120_0x1a1a18(0x1cf)](),os[a120_0x1a1a18(0x1d1)]()];constructor(){const _0x528158=a120_0x1a1a18,_0x1a098e={};_0x1a098e['vTBpn']=_0x528158(0x1fa),_0x1a098e[_0x528158(0x1d9)]=function(_0x88590e,_0x1cc79e){return _0x88590e+_0x1cc79e;},_0x1a098e[_0x528158(0x236)]=_0x528158(0x23e),_0x1a098e[_0x528158(0x23a)]=function(_0x52c063,_0x2670e7){return _0x52c063+_0x2670e7;},_0x1a098e[_0x528158(0x221)]='/percy-win.zip',_0x1a098e[_0x528158(0x24a)]=_0x528158(0x1f9),_0x1a098e[_0x528158(0x1e0)]=_0x528158(0x208);const _0x375ab6=_0x1a098e,_0x1e3c67=_0x375ab6[_0x528158(0x231)];if(this.#hostOS[_0x528158(0x1ee)](/darwin|mac os/i))this.#httpPath=_0x375ab6[_0x528158(0x1d9)](_0x1e3c67,_0x375ab6[_0x528158(0x236)]);else this.#hostOS[_0x528158(0x1ee)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x375ab6[_0x528158(0x23a)](_0x1e3c67,_0x375ab6[_0x528158(0x221)]),this.#binaryName=_0x375ab6[_0x528158(0x24a)]):this.#httpPath=_0x375ab6[_0x528158(0x1d9)](_0x1e3c67,_0x375ab6[_0x528158(0x1e0)]);}#getAvailableDirs(){const _0x25f40e=a120_0x1a1a18,_0x5ca9c0={};_0x5ca9c0['ruSah']=function(_0x376af9,_0x34ee57){return _0x376af9<_0x34ee57;},_0x5ca9c0[_0x25f40e(0x1ce)]=_0x25f40e(0x224);const _0x41406e=_0x5ca9c0;for(var _0x45172e=0x0;_0x41406e[_0x25f40e(0x219)](_0x45172e,this.#orderedPaths['length']);_0x45172e++){var _0x3ce21b=this.#orderedPaths[_0x45172e];if(this.#makePath(_0x3ce21b))return _0x3ce21b;}throw new Error(_0x41406e[_0x25f40e(0x1ce)]);}#makePath(_0x41928e){const _0x4992c2=a120_0x1a1a18;try{return _0x41928e&&!this.#checkPath(_0x41928e)&&fs[_0x4992c2(0x1db)](_0x41928e),!![];}catch{return![];}}#checkPath(_0x2b8f80,_0x58be35){const _0x134634=a120_0x1a1a18,_0x458a62={};_0x458a62[_0x134634(0x23c)]=function(_0x3bb500,_0x384778){return _0x3bb500|_0x384778;},_0x458a62[_0x134634(0x1e1)]=function(_0x5d82be,_0x13ea75){return _0x5d82be!==_0x13ea75;},_0x458a62[_0x134634(0x230)]=_0x134634(0x23d);const _0xa7e052=_0x458a62;_0x58be35=_0x58be35||_0xa7e052[_0x134634(0x23c)](fs[_0x134634(0x24f)],fs[_0x134634(0x1f3)]);try{return fs['accessSync'](_0x2b8f80,_0x58be35),!![];}catch(_0x4f8436){if(_0xa7e052[_0x134634(0x1e1)](typeof fs[_0x134634(0x21e)],_0xa7e052[_0x134634(0x230)]))return![];try{return fs['statSync'](_0x2b8f80),!![];}catch(_0x27bcc8){return![];}}}#getETagPath(_0x340404){const _0xc956b5=a120_0x1a1a18;return path[_0xc956b5(0x1c4)](_0x340404,this.#binaryName+_0xc956b5(0x217));}#loadETag(_0x5b44c1){const _0x1bc9bc=a120_0x1a1a18,_0x3ab6ab={};_0x3ab6ab['SgZBm']='utf8';const _0xe307b9=_0x3ab6ab,_0x1b2d8b=this.#getETagPath(_0x5b44c1);if(this.#checkPath(_0x1b2d8b))try{return fs[_0x1bc9bc(0x201)](_0x1b2d8b,_0xe307b9[_0x1bc9bc(0x20c)])['trim']();}catch(_0xd7415d){logger[_0x1bc9bc(0x1f4)](_0x1bc9bc(0x226)+_0xd7415d);}return null;}#saveETag(_0x400cde,_0x211352){const _0x22c619=a120_0x1a1a18,_0x257c40={};_0x257c40[_0x22c619(0x1de)]=_0x22c619(0x229);const _0x4974d7=_0x257c40;if(!_0x211352)return;try{const _0x1c3857=this.#getETagPath(_0x400cde);fs[_0x22c619(0x1e3)](_0x1c3857,_0x211352),logger[_0x22c619(0x1c8)](_0x4974d7['YpRRh']);}catch(_0x4bf67c){logger['warn'](_0x22c619(0x215)+_0x4bf67c);}}async #handleBinaryDownload(_0x510564,_0x2936e2,_0x33996e){const _0x178c52=a120_0x1a1a18,_0x1d270b={};_0x1d270b[_0x178c52(0x24d)]=_0x178c52(0x249);const _0x5c853d=_0x1d270b,_0x6ded77=await this[_0x178c52(0x232)](_0x510564['binaryPath']);if(!_0x6ded77){logger[_0x178c52(0x20e)](_0x5c853d[_0x178c52(0x24d)]);const _0x1b0fab=await this[_0x178c52(0x1df)](_0x2936e2,_0x33996e);return _0x1b0fab[_0x178c52(0x1dc)];}return _0x510564[_0x178c52(0x1dc)];}async[a120_0x1a1a18(0x220)](_0x4881e6){const _0x8d439f=a120_0x1a1a18,_0x185652={};_0x185652[_0x8d439f(0x1fd)]=_0x8d439f(0x246),_0x185652['vgBXM']=_0x8d439f(0x21b);const _0x363d8d=_0x185652,_0x1b7b8f=this.#getAvailableDirs(),_0x3549c5=path[_0x8d439f(0x1c4)](_0x1b7b8f,this.#binaryName);if(this.#checkPath(_0x3549c5,fs['X_OK'])){const _0x469adb=this.#loadETag(_0x1b7b8f);if(_0x469adb)try{const _0x582b92=await this[_0x8d439f(0x1df)](_0x4881e6,_0x1b7b8f,_0x469adb);if(!_0x582b92['needsUpdate'])return logger[_0x8d439f(0x1c8)](_0x363d8d[_0x8d439f(0x1fd)]),_0x3549c5;return logger[_0x8d439f(0x1c8)](_0x363d8d['vgBXM']),await this.#handleBinaryDownload(_0x582b92,_0x4881e6,_0x1b7b8f);}catch(_0x2d11b2){return logger['warn']('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x2d11b2),_0x3549c5;}}const _0x43a4d0=await this[_0x8d439f(0x1df)](_0x4881e6,_0x1b7b8f);return await this.#handleBinaryDownload(_0x43a4d0,_0x4881e6,_0x1b7b8f);}['download'](_0x3af095,_0x117ce1,_0x288038=null){const _0x1a4357=a120_0x1a1a18,_0x9c159f={'xoUVD':function(_0x115921,_0xd9a1d7){return _0x115921(_0xd9a1d7);},'PeFHO':function(_0x5095e7,_0x2702d5){return _0x5095e7===_0x2702d5;},'mXlBW':_0x1a4357(0x20e),'IOyrZ':'close','tsMUp':function(_0x311aef,_0x32a6ba){return _0x311aef+_0x32a6ba;},'fEwIh':_0x1a4357(0x1e4)};_0x117ce1&&!this.#checkPath(_0x117ce1)&&fs['mkdirSync'](_0x117ce1);const _0x4a6ced=this.#binaryName,_0x40c7f0=path['join'](_0x117ce1,_0x9c159f[_0x1a4357(0x216)](_0x4a6ced,_0x9c159f[_0x1a4357(0x248)])),_0x189ce5=fs['createWriteStream'](_0x40c7f0),_0x297e19=url[_0x1a4357(0x1c5)](this.#httpPath);if(_0x3af095[_0x1a4357(0x1dd)]&&_0x3af095[_0x1a4357(0x1d4)]){const _0x32be53={};_0x32be53['host']=_0x3af095[_0x1a4357(0x1dd)],_0x32be53[_0x1a4357(0x211)]=_0x3af095[_0x1a4357(0x1d4)],_0x297e19[_0x1a4357(0x227)]=new HttpsProxyAgent(_0x32be53);}if(_0x3af095[_0x1a4357(0x22d)])try{_0x297e19['ca']=fs[_0x1a4357(0x201)](_0x3af095[_0x1a4357(0x22d)]);}catch(_0x45c922){logger[_0x1a4357(0x20e)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x45c922);}if(_0x288038){const _0x1f0530={};_0x1f0530[_0x1a4357(0x239)]=_0x288038,_0x1f0530['Connection']=_0x9c159f[_0x1a4357(0x21a)],_0x297e19[_0x1a4357(0x235)]=_0x1f0530;}else{const _0x48e40e={};_0x48e40e['Connection']=_0x9c159f[_0x1a4357(0x21a)],_0x297e19['headers']=_0x48e40e;}return new Promise((_0x44092a,_0x34f0fa)=>{const _0x1b5042=_0x1a4357,_0x31f307={'cSASp':function(_0x556171,_0x16fc08){const _0x2973e7=a120_0x3d88;return _0x9c159f[_0x2973e7(0x223)](_0x556171,_0x16fc08);},'QCPDV':function(_0x49ce2d,_0x5d73c7){return _0x9c159f['xoUVD'](_0x49ce2d,_0x5d73c7);},'xXZPk':function(_0x41c417,_0x38255d){return _0x9c159f['PeFHO'](_0x41c417,_0x38255d);},'sERqt':_0x9c159f[_0x1b5042(0x1c3)],'veyvc':_0x9c159f[_0x1b5042(0x21a)]};https[_0x1b5042(0x206)](_0x297e19,_0x224cc7=>{const _0x4ea720=_0x1b5042,_0x48345c={'xzMcn':function(_0xe5ec1,_0x2feb48){return _0x31f307['QCPDV'](_0xe5ec1,_0x2feb48);}};if(_0x288038&&_0x31f307[_0x4ea720(0x241)](_0x224cc7[_0x4ea720(0x252)],0x130)){_0x189ce5[_0x4ea720(0x233)]();const _0x88dfb9={};_0x88dfb9['needsUpdate']=![],_0x31f307['cSASp'](_0x44092a,_0x88dfb9);return;}const _0x32f8d2=_0x224cc7[_0x4ea720(0x235)]['etag'];_0x32f8d2&&this.#saveETag(_0x117ce1,_0x32f8d2),_0x224cc7[_0x4ea720(0x1c2)](_0x189ce5),_0x224cc7['on'](_0x31f307[_0x4ea720(0x212)],function(_0x125b20){const _0x1b0060=_0x4ea720;logger['error']('Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20'+_0x125b20),_0x31f307[_0x1b0060(0x1f0)](_0x34f0fa,_0x125b20);}),_0x189ce5['on'](_0x31f307[_0x4ea720(0x212)],function(_0x2e2f9b){const _0x1d3dbf=_0x4ea720;logger['error'](_0x1d3dbf(0x1d5)+_0x2e2f9b),_0x48345c[_0x1d3dbf(0x1e2)](_0x34f0fa,_0x2e2f9b);}),_0x189ce5['on'](_0x31f307[_0x4ea720(0x1ef)],()=>{const _0x5caa8e=_0x4ea720;this[_0x5caa8e(0x1f5)](_0x40c7f0,_0x117ce1)[_0x5caa8e(0x228)](_0x81974b=>_0x44092a({'needsUpdate':!![],'binaryPath':_0x81974b}))[_0x5caa8e(0x202)](_0x34f0fa);});})['on'](_0x9c159f[_0x1b5042(0x1c3)],function(_0x5c66b3){const _0x7157c2=_0x1b5042;logger[_0x7157c2(0x20e)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0x5c66b3),_0x31f307[_0x7157c2(0x1f0)](_0x34f0fa,_0x5c66b3);});});}[a120_0x1a1a18(0x1f5)](_0x1e66ac,_0x1bde28){const _0x32a920=a120_0x1a1a18,_0x563af3={'uNnDG':function(_0x3da1df,_0x353d32){return _0x3da1df(_0x353d32);},'iwylx':_0x32a920(0x1d7),'nlovj':function(_0x5e67a4,_0x390cae){return _0x5e67a4===_0x390cae;},'EXaTi':function(_0x2c344d,_0x58135e){return _0x2c344d(_0x58135e);},'OOaQA':_0x32a920(0x1d6),'nNqgt':'error','nYucX':_0x32a920(0x237)},_0x1d6f4b=this.#binaryName,_0x5e0d2e=path[_0x32a920(0x1c4)](_0x1bde28,_0x1d6f4b);return new Promise((_0x41e4dd,_0xafe7b2)=>{const _0x36a75e=_0x32a920,_0x19232c={'qlUcF':function(_0xa65d13,_0x542e54){const _0x203142=a120_0x3d88;return _0x563af3[_0x203142(0x210)](_0xa65d13,_0x542e54);},'ZfYPF':_0x563af3[_0x36a75e(0x247)]},_0x5cbf11={};_0x5cbf11[_0x36a75e(0x1fe)]=!![],yauzl['open'](_0x1e66ac,_0x5cbf11,function(_0x45f688,_0x33d300){const _0x1552f5=_0x36a75e,_0x34091e={'RqDjw':function(_0x4adbee,_0x4f8995){const _0xa116db=a120_0x3d88;return _0x563af3[_0xa116db(0x1da)](_0x4adbee,_0x4f8995);},'IKRGH':_0x563af3[_0x1552f5(0x22b)],'PiaEd':function(_0x9f08e8,_0x4561fc){const _0x131e88=_0x1552f5;return _0x563af3[_0x131e88(0x1f6)](_0x9f08e8,_0x4561fc);},'szhWp':function(_0x58d505,_0x2bd99c){const _0x52e7ac=_0x1552f5;return _0x563af3[_0x52e7ac(0x210)](_0x58d505,_0x2bd99c);}};_0x45f688&&_0x563af3['uNnDG'](_0xafe7b2,_0x45f688),_0x33d300[_0x1552f5(0x24b)](),_0x33d300['on'](_0x563af3['OOaQA'],_0x34257c=>{const _0x1a0bd1=_0x1552f5;if(/\/$/[_0x1a0bd1(0x253)](_0x34257c[_0x1a0bd1(0x1c6)]))_0x33d300['readEntry']();else{const _0x28578a=fs[_0x1a0bd1(0x1cd)](path[_0x1a0bd1(0x1c4)](_0x1bde28,_0x34257c[_0x1a0bd1(0x1c6)]));_0x33d300[_0x1a0bd1(0x22e)](_0x34257c,function(_0x20501f,_0x3cc5d1){const _0x383fbf=_0x1a0bd1;_0x20501f&&_0x34091e['RqDjw'](_0xafe7b2,_0x45f688),_0x3cc5d1['on'](_0x34091e[_0x383fbf(0x1d3)],function(){const _0x5021db=_0x383fbf;_0x28578a[_0x5021db(0x21c)](),_0x33d300['readEntry']();}),_0x3cc5d1[_0x383fbf(0x1c2)](_0x28578a);}),_0x34091e[_0x1a0bd1(0x207)](_0x34257c[_0x1a0bd1(0x1c6)],_0x1d6f4b)&&_0x33d300[_0x1a0bd1(0x21c)]();}}),_0x33d300['on'](_0x563af3['nNqgt'],_0x58e5e2=>{_0x34091e['szhWp'](_0xafe7b2,_0x58e5e2);}),_0x33d300[_0x1552f5(0x1ea)](_0x563af3[_0x1552f5(0x22b)],()=>{const _0x3268e3=_0x1552f5,_0x4d4786={'cIElR':function(_0x5f990c,_0xf15f50){const _0x3498b9=a120_0x3d88;return _0x19232c[_0x3498b9(0x20f)](_0x5f990c,_0xf15f50);}};fs[_0x3268e3(0x1cc)](_0x5e0d2e,_0x19232c['ZfYPF'],function(_0x4df608){const _0x4d9823=_0x3268e3;_0x4df608&&_0x4d4786[_0x4d9823(0x1f2)](_0xafe7b2,_0x4df608),_0x4d4786[_0x4d9823(0x1f2)](_0x41e4dd,_0x5e0d2e);}),_0x33d300[_0x3268e3(0x21c)]();});});});}async[a120_0x1a1a18(0x232)](_0x3745bf){const _0x2dc2a6=a120_0x1a1a18,_0x153944={'inXdq':function(_0x3a60eb,_0x5b301e){return _0x3a60eb(_0x5b301e);},'lWLJf':function(_0x357c2f,_0xd5527c,_0x534375,_0x499765){return _0x357c2f(_0xd5527c,_0x534375,_0x499765);},'GclwR':_0x2dc2a6(0x20a),'nupbZ':_0x2dc2a6(0x240),'KRVga':_0x2dc2a6(0x21c)},_0x5f13b2=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x55a51b,_0x2996bd)=>{const _0x54d7dc=_0x2dc2a6,_0x2c313a={};_0x2c313a[_0x54d7dc(0x225)]=process[_0x54d7dc(0x225)];const _0x31820f=_0x153944[_0x54d7dc(0x22c)](spawn,_0x3745bf,[_0x153944[_0x54d7dc(0x23b)]],_0x2c313a);_0x31820f[_0x54d7dc(0x1c1)]['on'](_0x153944[_0x54d7dc(0x250)],_0x2440ed=>{const _0x3e3c02=_0x54d7dc;_0x5f13b2['test'](_0x2440ed)&&_0x153944[_0x3e3c02(0x1f1)](_0x55a51b,!![]);}),_0x31820f['on'](_0x153944[_0x54d7dc(0x242)],()=>{const _0x5b5136=_0x54d7dc;_0x153944[_0x5b5136(0x1f1)](_0x55a51b,![]);});});}#homedir(){const _0x26d8f8=a120_0x1a1a18,_0x44ac5b={};_0x44ac5b[_0x26d8f8(0x1f7)]=function(_0x45fa42,_0x1625d7){return _0x45fa42===_0x1625d7;},_0x44ac5b[_0x26d8f8(0x218)]=_0x26d8f8(0x20b),_0x44ac5b[_0x26d8f8(0x24c)]=_0x26d8f8(0x251),_0x44ac5b[_0x26d8f8(0x1fc)]=function(_0x32b8b0,_0x2839ed){return _0x32b8b0+_0x2839ed;},_0x44ac5b['evtbq']=function(_0x140b50,_0x395ae8){return _0x140b50===_0x395ae8;},_0x44ac5b['TFhCJ']=_0x26d8f8(0x1fb),_0x44ac5b[_0x26d8f8(0x1ec)]=function(_0x60e040,_0x2e162f){return _0x60e040+_0x2e162f;},_0x44ac5b[_0x26d8f8(0x203)]='/Users/',_0x44ac5b[_0x26d8f8(0x1e6)]=function(_0x4ecb01,_0x29f395){return _0x4ecb01===_0x29f395;},_0x44ac5b[_0x26d8f8(0x245)]=_0x26d8f8(0x1f8),_0x44ac5b[_0x26d8f8(0x1c9)]=_0x26d8f8(0x21f),_0x44ac5b[_0x26d8f8(0x234)]=function(_0x13ced8,_0x32fafd){return _0x13ced8+_0x32fafd;},_0x44ac5b[_0x26d8f8(0x222)]=_0x26d8f8(0x1ed),_0x44ac5b[_0x26d8f8(0x1ca)]=function(_0xd1fcf6,_0x252d76){return _0xd1fcf6||_0x252d76;};const _0x415fde=_0x44ac5b;if(_0x415fde[_0x26d8f8(0x1f7)](typeof os[_0x26d8f8(0x20d)],_0x415fde[_0x26d8f8(0x218)]))return os[_0x26d8f8(0x20d)]();const _0x2822cb=process[_0x26d8f8(0x225)],_0x21ff3c=_0x2822cb['HOME'],_0x4fb140=_0x2822cb['LOGNAME']||_0x2822cb['USER']||_0x2822cb[_0x26d8f8(0x22a)]||_0x2822cb[_0x26d8f8(0x205)];if(_0x415fde[_0x26d8f8(0x1f7)](process[_0x26d8f8(0x244)],_0x415fde[_0x26d8f8(0x24c)]))return _0x2822cb['USERPROFILE']||_0x415fde['PyvmZ'](_0x2822cb[_0x26d8f8(0x1e5)],_0x2822cb[_0x26d8f8(0x213)])||_0x21ff3c||null;if(_0x415fde[_0x26d8f8(0x209)](process[_0x26d8f8(0x244)],_0x415fde[_0x26d8f8(0x214)]))return _0x21ff3c||(_0x4fb140?_0x415fde[_0x26d8f8(0x1ec)](_0x415fde[_0x26d8f8(0x203)],_0x4fb140):null);if(_0x415fde[_0x26d8f8(0x1e6)](process[_0x26d8f8(0x244)],_0x415fde[_0x26d8f8(0x245)]))return _0x21ff3c||(_0x415fde['evtbq'](process[_0x26d8f8(0x24e)](),0x0)?_0x415fde[_0x26d8f8(0x1c9)]:_0x4fb140?_0x415fde[_0x26d8f8(0x234)](_0x415fde[_0x26d8f8(0x222)],_0x4fb140):null);return _0x415fde[_0x26d8f8(0x1ca)](_0x21ff3c,null);}}function a120_0x3d88(_0x2c9e8a,_0x2411d7){const _0x57135f=a120_0x5713();return a120_0x3d88=function(_0x3d88a3,_0x18becc){_0x3d88a3=_0x3d88a3-0x1c1;let _0x1472d0=_0x57135f[_0x3d88a3];return _0x1472d0;},a120_0x3d88(_0x2c9e8a,_0x2411d7);}module[a120_0x1a1a18(0x23f)]=PercyBinary;
1
+ const a120_0x31e286=a120_0x3727;(function(_0x1f73c9,_0x10673b){const _0x5dd751=a120_0x3727,_0x201f38=_0x1f73c9();while(!![]){try{const _0xd830b=parseInt(_0x5dd751(0xb5))/0x1+-parseInt(_0x5dd751(0x99))/0x2*(parseInt(_0x5dd751(0xb6))/0x3)+-parseInt(_0x5dd751(0xa3))/0x4*(-parseInt(_0x5dd751(0x78))/0x5)+parseInt(_0x5dd751(0x8b))/0x6*(parseInt(_0x5dd751(0xca))/0x7)+parseInt(_0x5dd751(0xa2))/0x8*(-parseInt(_0x5dd751(0xe7))/0x9)+parseInt(_0x5dd751(0x8a))/0xa+-parseInt(_0x5dd751(0xcd))/0xb*(parseInt(_0x5dd751(0xa9))/0xc);if(_0xd830b===_0x10673b)break;else _0x201f38['push'](_0x201f38['shift']());}catch(_0xf099b6){_0x201f38['push'](_0x201f38['shift']());}}}(a120_0x2824,0x22d4b));function a120_0x3727(_0x402b64,_0x214c97){const _0x2824d5=a120_0x2824();return a120_0x3727=function(_0x3727d0,_0xd7555c){_0x3727d0=_0x3727d0-0x6d;let _0x2397e8=_0x2824d5[_0x3727d0];return _0x2397e8;},a120_0x3727(_0x402b64,_0x214c97);}const {https}=require('follow-redirects'),url=require(a120_0x31e286(0xb3)),yauzl=require('yauzl'),fs=require('fs'),path=require(a120_0x31e286(0xb4)),os=require('os'),{spawn}=require(a120_0x31e286(0x9f)),HttpsProxyAgent=require(a120_0x31e286(0xa7)),logger=require(a120_0x31e286(0xd1))['winstonLogger'];class PercyBinary{#hostOS=process[a120_0x31e286(0x106)];#httpPath=null;#binaryName=a120_0x31e286(0x9c);#orderedPaths=[path[a120_0x31e286(0xf6)](this.#homedir(),a120_0x31e286(0xac)),process['cwd'](),os['tmpdir']()];constructor(){const _0x33f260=a120_0x31e286,_0x1e998c={};_0x1e998c['EGaUu']='https://github.com/percy/cli/releases/latest/download',_0x1e998c['gyaMd']=function(_0x1caccf,_0x532244){return _0x1caccf+_0x532244;},_0x1e998c['wDFCm']=_0x33f260(0xd5),_0x1e998c[_0x33f260(0xa1)]=function(_0x139516,_0x55ce45){return _0x139516+_0x55ce45;},_0x1e998c[_0x33f260(0x104)]=_0x33f260(0xb2),_0x1e998c[_0x33f260(0x86)]=_0x33f260(0x85),_0x1e998c[_0x33f260(0xd8)]=_0x33f260(0x7b);const _0x3db745=_0x1e998c,_0x8d00de=_0x3db745[_0x33f260(0xda)];if(this.#hostOS[_0x33f260(0xd6)](/darwin|mac os/i))this.#httpPath=_0x3db745[_0x33f260(0xba)](_0x8d00de,_0x3db745['wDFCm']);else this.#hostOS[_0x33f260(0xd6)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x3db745[_0x33f260(0xa1)](_0x8d00de,_0x3db745[_0x33f260(0x104)]),this.#binaryName=_0x3db745[_0x33f260(0x86)]):this.#httpPath=_0x3db745[_0x33f260(0xa1)](_0x8d00de,_0x3db745[_0x33f260(0xd8)]);}#getAvailableDirs(){const _0x4f9605=a120_0x31e286,_0x4e64ba={};_0x4e64ba[_0x4f9605(0xbf)]=function(_0x1d121b,_0x377463){return _0x1d121b<_0x377463;},_0x4e64ba[_0x4f9605(0xbc)]='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0x19c333=_0x4e64ba;for(var _0x47dcc1=0x0;_0x19c333[_0x4f9605(0xbf)](_0x47dcc1,this.#orderedPaths[_0x4f9605(0x72)]);_0x47dcc1++){var _0x847cc=this.#orderedPaths[_0x47dcc1];if(this.#makePath(_0x847cc))return _0x847cc;}throw new Error(_0x19c333[_0x4f9605(0xbc)]);}#makePath(_0x45f663){try{return _0x45f663&&!this.#checkPath(_0x45f663)&&fs['mkdirSync'](_0x45f663),!![];}catch{return![];}}#checkPath(_0x22fcae,_0x14f15d){const _0x393512=a120_0x31e286,_0x2c4ad6={};_0x2c4ad6['KPMtO']=function(_0x4a7441,_0x19237a){return _0x4a7441|_0x19237a;},_0x2c4ad6[_0x393512(0x100)]=function(_0x1d8c66,_0x5be9c2){return _0x1d8c66!==_0x5be9c2;},_0x2c4ad6[_0x393512(0x98)]=_0x393512(0x8f);const _0x5566c4=_0x2c4ad6;_0x14f15d=_0x14f15d||_0x5566c4['KPMtO'](fs[_0x393512(0x7c)],fs[_0x393512(0xe4)]);try{return fs['accessSync'](_0x22fcae,_0x14f15d),!![];}catch(_0x297ef3){if(_0x5566c4[_0x393512(0x100)](typeof fs['accessSync'],_0x5566c4[_0x393512(0x98)]))return![];try{return fs[_0x393512(0x91)](_0x22fcae),!![];}catch(_0xa18bfa){return![];}}}#getETagPath(_0x1ccb8a){const _0x2ab060=a120_0x31e286;return path['join'](_0x1ccb8a,this.#binaryName+_0x2ab060(0xe5));}#loadETag(_0x5cac51){const _0x3af167=a120_0x31e286,_0x325320={};_0x325320['IscQe']='utf8';const _0x202f1b=_0x325320,_0x23f26b=this.#getETagPath(_0x5cac51);if(this.#checkPath(_0x23f26b))try{return fs[_0x3af167(0x109)](_0x23f26b,_0x202f1b[_0x3af167(0x89)])[_0x3af167(0x88)]();}catch(_0x5bcdbd){logger['warn']('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x5bcdbd);}return null;}#saveETag(_0x2abca4,_0x9e67fc){const _0x108c8b=a120_0x31e286,_0xc55428={};_0xc55428[_0x108c8b(0xa6)]=_0x108c8b(0xc1);const _0xa63d71=_0xc55428;if(!_0x9e67fc)return;try{const _0x2adbe3=this.#getETagPath(_0x2abca4);fs[_0x108c8b(0xd3)](_0x2adbe3,_0x9e67fc),logger[_0x108c8b(0x7a)](_0xa63d71[_0x108c8b(0xa6)]);}catch(_0x1d27d3){logger[_0x108c8b(0xea)](_0x108c8b(0xa0)+_0x1d27d3);}}async #handleBinaryDownload(_0x40a0fa,_0x23f6ab,_0x50b870){const _0x1a69be=a120_0x31e286,_0x418239={};_0x418239[_0x1a69be(0xc9)]=_0x1a69be(0xeb);const _0x3a4d07=_0x418239,_0x387b69=await this['validateBinary'](_0x40a0fa[_0x1a69be(0xe3)]);if(!_0x387b69){logger[_0x1a69be(0xab)](_0x3a4d07[_0x1a69be(0xc9)]);const _0x4e8030=await this[_0x1a69be(0xe0)](_0x23f6ab,_0x50b870);return _0x4e8030['binaryPath'];}return _0x40a0fa[_0x1a69be(0xe3)];}async[a120_0x31e286(0x94)](_0x475db7){const _0x5ae439=a120_0x31e286,_0x4d3882={};_0x4d3882[_0x5ae439(0xcf)]=_0x5ae439(0xbd),_0x4d3882['kIZiw']=_0x5ae439(0x75);const _0x52d885=_0x4d3882,_0x38f538=this.#getAvailableDirs(),_0x603950=path['join'](_0x38f538,this.#binaryName);if(this.#checkPath(_0x603950,fs[_0x5ae439(0x90)])){const _0x341543=this.#loadETag(_0x38f538);if(_0x341543)try{const _0x416220=await this['download'](_0x475db7,_0x38f538,_0x341543);if(!_0x416220[_0x5ae439(0xf1)])return logger[_0x5ae439(0x7a)](_0x52d885[_0x5ae439(0xcf)]),_0x603950;return logger[_0x5ae439(0x7a)](_0x52d885[_0x5ae439(0xd7)]),await this.#handleBinaryDownload(_0x416220,_0x475db7,_0x38f538);}catch(_0xd04168){return logger[_0x5ae439(0xea)](_0x5ae439(0x82)+_0xd04168),_0x603950;}}const _0x48a582=await this[_0x5ae439(0xe0)](_0x475db7,_0x38f538);return await this.#handleBinaryDownload(_0x48a582,_0x475db7,_0x38f538);}['download'](_0x4375f2,_0x58c1f3,_0x5550da=null){const _0x1c5f37=a120_0x31e286,_0x462c3e={'KaDRG':function(_0x18625c,_0xff1007){return _0x18625c(_0xff1007);},'jFwaX':function(_0x37a091,_0x32ac1b){return _0x37a091(_0x32ac1b);},'yMGhk':function(_0x374636,_0x540706){return _0x374636===_0x540706;},'yTyJp':_0x1c5f37(0xab),'DTgVi':_0x1c5f37(0xee),'Vgqaf':function(_0x9ead53,_0x398f33){return _0x9ead53+_0x398f33;},'YNhfG':_0x1c5f37(0xef)};_0x58c1f3&&!this.#checkPath(_0x58c1f3)&&fs['mkdirSync'](_0x58c1f3);const _0x3e1653=this.#binaryName,_0x5d389f=path['join'](_0x58c1f3,_0x462c3e[_0x1c5f37(0xf5)](_0x3e1653,_0x462c3e[_0x1c5f37(0xc7)])),_0x197847=fs[_0x1c5f37(0x97)](_0x5d389f),_0x552072=url[_0x1c5f37(0x9d)](this.#httpPath);if(_0x4375f2['proxyHost']&&_0x4375f2[_0x1c5f37(0x73)]){const _0x319590={};_0x319590[_0x1c5f37(0xd2)]=_0x4375f2[_0x1c5f37(0x9b)],_0x319590['port']=_0x4375f2['proxyPort'],_0x552072[_0x1c5f37(0xc8)]=new HttpsProxyAgent(_0x319590);}if(_0x4375f2[_0x1c5f37(0xde)])try{_0x552072['ca']=fs[_0x1c5f37(0x109)](_0x4375f2[_0x1c5f37(0xde)]);}catch(_0x543e20){logger[_0x1c5f37(0xab)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x543e20);}if(_0x5550da){const _0x21067b={};_0x21067b[_0x1c5f37(0xdb)]=_0x5550da,_0x21067b[_0x1c5f37(0x6f)]=_0x462c3e[_0x1c5f37(0x81)],_0x552072[_0x1c5f37(0xfd)]=_0x21067b;}else{const _0x5f5b12={};_0x5f5b12[_0x1c5f37(0x6f)]=_0x462c3e['DTgVi'],_0x552072['headers']=_0x5f5b12;}return new Promise((_0x1d7daa,_0x3e7478)=>{const _0x5c2e90=_0x1c5f37,_0x348418={'chFsY':function(_0x2a6264,_0x2e677d){const _0x225cda=a120_0x3727;return _0x462c3e[_0x225cda(0x92)](_0x2a6264,_0x2e677d);},'WQmLj':function(_0x2e68da,_0x578a2a){const _0x2fbe84=a120_0x3727;return _0x462c3e[_0x2fbe84(0xae)](_0x2e68da,_0x578a2a);},'qDCfR':function(_0x140571,_0x3b5f7b){return _0x462c3e['yMGhk'](_0x140571,_0x3b5f7b);},'CPlrj':_0x462c3e[_0x5c2e90(0x79)],'ADXbM':_0x462c3e[_0x5c2e90(0x81)]};https[_0x5c2e90(0x107)](_0x552072,_0x494ddd=>{const _0x3493a4=_0x5c2e90,_0x460ada={'bnRPi':function(_0x47153f,_0x442007){const _0x5e723d=a120_0x3727;return _0x348418[_0x5e723d(0x93)](_0x47153f,_0x442007);}};if(_0x5550da&&_0x348418[_0x3493a4(0xc3)](_0x494ddd[_0x3493a4(0xf3)],0x130)){_0x197847[_0x3493a4(0xa4)]();const _0xc5d671={};_0xc5d671[_0x3493a4(0xf1)]=![],_0x348418['WQmLj'](_0x1d7daa,_0xc5d671);return;}const _0x3006c9=_0x494ddd[_0x3493a4(0xfd)][_0x3493a4(0x71)];_0x3006c9&&this.#saveETag(_0x58c1f3,_0x3006c9),_0x494ddd[_0x3493a4(0xad)](_0x197847),_0x494ddd['on'](_0x348418[_0x3493a4(0xfb)],function(_0x55905c){const _0x2e6546=_0x3493a4;logger[_0x2e6546(0xab)](_0x2e6546(0xdf)+_0x55905c),_0x460ada[_0x2e6546(0x6d)](_0x3e7478,_0x55905c);}),_0x197847['on'](_0x348418[_0x3493a4(0xfb)],function(_0x3c54bd){const _0x937b3=_0x3493a4;logger[_0x937b3(0xab)](_0x937b3(0xb7)+_0x3c54bd),_0x348418['chFsY'](_0x3e7478,_0x3c54bd);}),_0x197847['on'](_0x348418[_0x3493a4(0x84)],()=>{const _0x5e3625=_0x3493a4;this['extractAndSaveBinary'](_0x5d389f,_0x58c1f3)[_0x5e3625(0xec)](_0x17692e=>_0x1d7daa({'needsUpdate':!![],'binaryPath':_0x17692e}))[_0x5e3625(0x76)](_0x3e7478);});})['on'](_0x462c3e[_0x5c2e90(0x79)],function(_0x4a348e){const _0x50ede3=_0x5c2e90;logger[_0x50ede3(0xab)](_0x50ede3(0xaa)+_0x4a348e),_0x462c3e['KaDRG'](_0x3e7478,_0x4a348e);});});}['extractAndSaveBinary'](_0xad4cdc,_0x16de3a){const _0x263a3f=a120_0x31e286,_0x187a7f={'kFECQ':function(_0x4721ab,_0x1f2f00){return _0x4721ab(_0x1f2f00);},'NlEIZ':_0x263a3f(0xb1),'eZDUi':function(_0x5025c6,_0x599066){return _0x5025c6(_0x599066);},'Haqty':_0x263a3f(0x102),'lSKHi':_0x263a3f(0xb8),'VYHrJ':_0x263a3f(0xab),'TBbBK':function(_0x5972f5,_0x187ebe){return _0x5972f5===_0x187ebe;},'XHXux':function(_0x24993c,_0x310220){return _0x24993c(_0x310220);}},_0x2d64f4=this.#binaryName,_0x1c9dc8=path[_0x263a3f(0xf6)](_0x16de3a,_0x2d64f4);return new Promise((_0x245c15,_0x13832c)=>{const _0x3c6650=_0x263a3f,_0x5342b1={'QzMNL':function(_0x11e66f,_0x4745ab){const _0x1a5e31=a120_0x3727;return _0x187a7f[_0x1a5e31(0xc4)](_0x11e66f,_0x4745ab);},'zMbDp':function(_0x4b232c,_0x7bf2f9){const _0x444c93=a120_0x3727;return _0x187a7f[_0x444c93(0xe2)](_0x4b232c,_0x7bf2f9);}},_0x37bcb8={};_0x37bcb8['lazyEntries']=!![],yauzl[_0x3c6650(0xe9)](_0xad4cdc,_0x37bcb8,function(_0x18c0df,_0x9fcb11){const _0x3fee94=_0x3c6650,_0x4f9cd3={'fEgyI':function(_0x3d6344,_0x438732){const _0x5cdd6a=a120_0x3727;return _0x187a7f[_0x5cdd6a(0xf8)](_0x3d6344,_0x438732);},'IuPpH':_0x187a7f[_0x3fee94(0xfa)],'iWhgJ':function(_0x32b3ef,_0x12039e){const _0x361953=_0x3fee94;return _0x187a7f[_0x361953(0xd9)](_0x32b3ef,_0x12039e);},'VXwJT':function(_0x2b890e,_0x505dd2){const _0x45107e=_0x3fee94;return _0x187a7f[_0x45107e(0xd9)](_0x2b890e,_0x505dd2);},'lEKgR':_0x187a7f[_0x3fee94(0x101)]};_0x18c0df&&_0x187a7f['kFECQ'](_0x13832c,_0x18c0df),_0x9fcb11['readEntry'](),_0x9fcb11['on'](_0x187a7f['lSKHi'],_0x4ddf49=>{const _0x3e6a2a=_0x3fee94;if(/\/$/[_0x3e6a2a(0x77)](_0x4ddf49[_0x3e6a2a(0xd0)]))_0x9fcb11[_0x3e6a2a(0x8d)]();else{const _0x172e77=fs[_0x3e6a2a(0x97)](path[_0x3e6a2a(0xf6)](_0x16de3a,_0x4ddf49[_0x3e6a2a(0xd0)]));_0x9fcb11[_0x3e6a2a(0xbe)](_0x4ddf49,function(_0xc96ff7,_0x2cdb24){const _0xedc7b2=_0x3e6a2a;_0xc96ff7&&_0x4f9cd3[_0xedc7b2(0x95)](_0x13832c,_0x18c0df),_0x2cdb24['on'](_0x4f9cd3[_0xedc7b2(0xaf)],function(){const _0x4ad82c=_0xedc7b2;_0x172e77[_0x4ad82c(0xee)](),_0x9fcb11[_0x4ad82c(0x8d)]();}),_0x2cdb24[_0xedc7b2(0xad)](_0x172e77);}),_0x5342b1[_0x3e6a2a(0xdc)](_0x4ddf49[_0x3e6a2a(0xd0)],_0x2d64f4)&&_0x9fcb11['close']();}}),_0x9fcb11['on'](_0x187a7f[_0x3fee94(0x10b)],_0x425074=>{const _0x2e206b=_0x3fee94;_0x5342b1[_0x2e206b(0xed)](_0x13832c,_0x425074);}),_0x9fcb11['once'](_0x187a7f['NlEIZ'],()=>{const _0x129c40=_0x3fee94;fs[_0x129c40(0xc6)](_0x1c9dc8,_0x4f9cd3[_0x129c40(0xf7)],function(_0x2c33ca){const _0x16fc1a=_0x129c40;_0x2c33ca&&_0x4f9cd3[_0x16fc1a(0x83)](_0x13832c,_0x2c33ca),_0x4f9cd3[_0x16fc1a(0x10a)](_0x245c15,_0x1c9dc8);}),_0x9fcb11[_0x129c40(0xee)]();});});});}async[a120_0x31e286(0xe6)](_0x187226){const _0x4f5189=a120_0x31e286,_0x1eb770={'NPyEm':function(_0x8f2ab0,_0x262091){return _0x8f2ab0(_0x262091);},'utiDp':function(_0x56d3c2,_0x286ad9){return _0x56d3c2(_0x286ad9);},'JwRXB':function(_0x2b95ad,_0x4be5a8,_0x1f70bf,_0x246487){return _0x2b95ad(_0x4be5a8,_0x1f70bf,_0x246487);},'hyDiH':'--version','dkUqO':_0x4f5189(0xc0),'mkBBn':_0x4f5189(0xee)},_0x356b0c=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x2a3525,_0x318a69)=>{const _0x2945b2=_0x4f5189,_0x8f3548={'HJTPF':function(_0x32595b,_0x93fb04){const _0x5a0297=a120_0x3727;return _0x1eb770[_0x5a0297(0x8e)](_0x32595b,_0x93fb04);}},_0x582e35={};_0x582e35[_0x2945b2(0x6e)]=process[_0x2945b2(0x6e)];const _0x30603c=_0x1eb770[_0x2945b2(0xfe)](spawn,_0x187226,[_0x1eb770[_0x2945b2(0xdd)]],_0x582e35);_0x30603c[_0x2945b2(0xc2)]['on'](_0x1eb770[_0x2945b2(0x103)],_0x1f6800=>{const _0x2d678a=_0x2945b2;_0x356b0c['test'](_0x1f6800)&&_0x8f3548[_0x2d678a(0x70)](_0x2a3525,!![]);}),_0x30603c['on'](_0x1eb770[_0x2945b2(0xe1)],()=>{_0x1eb770['NPyEm'](_0x2a3525,![]);});});}#homedir(){const _0x25a93d=a120_0x31e286,_0x45a425={};_0x45a425['tvgJG']=function(_0xea2bd0,_0x38c049){return _0xea2bd0===_0x38c049;},_0x45a425[_0x25a93d(0xd4)]=_0x25a93d(0xcc),_0x45a425[_0x25a93d(0xf4)]=_0x25a93d(0x108),_0x45a425[_0x25a93d(0xa5)]=function(_0x4427ed,_0x5c35c1){return _0x4427ed+_0x5c35c1;},_0x45a425[_0x25a93d(0x105)]=_0x25a93d(0xf0),_0x45a425['GNwNm']=function(_0x4c81c3,_0x40cfec){return _0x4c81c3+_0x40cfec;},_0x45a425[_0x25a93d(0x7d)]=_0x25a93d(0xb0),_0x45a425[_0x25a93d(0xb9)]=function(_0x1a2185,_0x480c87){return _0x1a2185===_0x480c87;},_0x45a425[_0x25a93d(0x9e)]=_0x25a93d(0xa8),_0x45a425[_0x25a93d(0xf2)]=_0x25a93d(0x80),_0x45a425[_0x25a93d(0xbb)]=function(_0xbaa815,_0x3495aa){return _0xbaa815+_0x3495aa;},_0x45a425['Fgqma']=_0x25a93d(0xff),_0x45a425['Pkmem']=function(_0x324c49,_0xc30cbc){return _0x324c49||_0xc30cbc;};const _0x330e1a=_0x45a425;if(_0x330e1a['tvgJG'](typeof os[_0x25a93d(0x7e)],_0x330e1a[_0x25a93d(0xd4)]))return os[_0x25a93d(0x7e)]();const _0x1249fb=process[_0x25a93d(0x6e)],_0x266266=_0x1249fb[_0x25a93d(0xc5)],_0xf41aa0=_0x1249fb[_0x25a93d(0x74)]||_0x1249fb[_0x25a93d(0x8c)]||_0x1249fb[_0x25a93d(0x7f)]||_0x1249fb[_0x25a93d(0xfc)];if(_0x330e1a[_0x25a93d(0xce)](process[_0x25a93d(0x106)],_0x330e1a['rsDIX']))return _0x1249fb[_0x25a93d(0xcb)]||_0x330e1a[_0x25a93d(0xa5)](_0x1249fb[_0x25a93d(0xe8)],_0x1249fb[_0x25a93d(0xf9)])||_0x266266||null;if(_0x330e1a[_0x25a93d(0xce)](process[_0x25a93d(0x106)],_0x330e1a[_0x25a93d(0x105)]))return _0x266266||(_0xf41aa0?_0x330e1a['GNwNm'](_0x330e1a['kLNSr'],_0xf41aa0):null);if(_0x330e1a[_0x25a93d(0xb9)](process['platform'],_0x330e1a[_0x25a93d(0x9e)]))return _0x266266||(_0x330e1a[_0x25a93d(0xce)](process[_0x25a93d(0x87)](),0x0)?_0x330e1a[_0x25a93d(0xf2)]:_0xf41aa0?_0x330e1a[_0x25a93d(0xbb)](_0x330e1a[_0x25a93d(0x9a)],_0xf41aa0):null);return _0x330e1a['Pkmem'](_0x266266,null);}}module[a120_0x31e286(0x96)]=PercyBinary;function a120_0x2824(){const _0x22a2ce=['child_process','Failed\x20to\x20save\x20ETag\x20file:\x20','JXQMi','93416XteQem','616300ZFdAul','destroy','aUOjB','xxcRO','https-proxy-agent','linux','1128PGjkdy','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','error','.browserstack','pipe','KaDRG','IuPpH','/Users/','end','/percy-win.zip','url','path','168247hfAeSY','6453pDtjQD','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','entry','oxiTB','gyaMd','uDFcn','XnnHc','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','openReadStream','LaXHJ','data','Saved\x20new\x20ETag\x20for\x20percy\x20binary','stdout','qDCfR','TBbBK','HOME','chmod','YNhfG','agent','HYZsB','7nzNwGz','USERPROFILE','function','62931TBzCpw','tvgJG','uvriP','fileName','../logger','host','writeFileSync','Pgjay','/percy-osx.zip','match','kIZiw','KQzJz','eZDUi','EGaUu','If-None-Match','QzMNL','hyDiH','useCaCertificate','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','download','mkBBn','XHXux','binaryPath','W_OK','.etag','validateBinary','63RvEswM','HOMEDRIVE','open','warn','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','then','zMbDp','close','.zip','darwin','needsUpdate','SEeza','statusCode','rsDIX','Vgqaf','join','lEKgR','kFECQ','HOMEPATH','NlEIZ','CPlrj','USERNAME','headers','JwRXB','/home/','WIXpg','Haqty','0755','dkUqO','XMcLd','zuWdN','platform','get','win32','readFileSync','VXwJT','VYHrJ','bnRPi','env','Connection','HJTPF','etag','length','proxyPort','LOGNAME','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','catch','test','5jLPeTa','yTyJp','debug','/percy-linux.zip','R_OK','kLNSr','homedir','LNAME','/root','DTgVi','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','iWhgJ','ADXbM','percy.exe','LAVfp','getuid','trim','IscQe','2834330vGntwq','1351542VfGyPP','USER','readEntry','utiDp','undefined','X_OK','statSync','jFwaX','WQmLj','getBinaryPath','fEgyI','exports','createWriteStream','JKkHN','64UwEQbn','Fgqma','proxyHost','percy','parse','tgBMw'];a120_0x2824=function(){return _0x22a2ce;};return a120_0x2824();}
@@ -1 +1 @@
1
- var a121_0x42c46b=a121_0x2162;(function(_0xa1256b,_0x2f53cf){var _0x2c1420=a121_0x2162,_0x2b403f=_0xa1256b();while(!![]){try{var _0xcdf70c=parseInt(_0x2c1420(0x9f))/0x1*(-parseInt(_0x2c1420(0xa0))/0x2)+-parseInt(_0x2c1420(0xa6))/0x3+parseInt(_0x2c1420(0xa2))/0x4*(parseInt(_0x2c1420(0xaa))/0x5)+parseInt(_0x2c1420(0xa9))/0x6+parseInt(_0x2c1420(0xa1))/0x7+-parseInt(_0x2c1420(0xa8))/0x8*(parseInt(_0x2c1420(0x9e))/0x9)+-parseInt(_0x2c1420(0xa3))/0xa;if(_0xcdf70c===_0x2f53cf)break;else _0x2b403f['push'](_0x2b403f['shift']());}catch(_0x1abd73){_0x2b403f['push'](_0x2b403f['shift']());}}}(a121_0x42ed,0xc0fef));function a121_0x2162(_0xcdc740,_0x390374){var _0x42ede5=a121_0x42ed();return a121_0x2162=function(_0x21626e,_0x3ccc29){_0x21626e=_0x21626e-0x9e;var _0x57819e=_0x42ede5[_0x21626e];return _0x57819e;},a121_0x2162(_0xcdc740,_0x390374);}class PercyCaptureMap{#map={};[a121_0x42c46b(0xa5)](_0x232c50,_0x1cb80a){!this.#map[_0x232c50]&&(this.#map[_0x232c50]={}),!this.#map[_0x232c50][_0x1cb80a]&&(this.#map[_0x232c50][_0x1cb80a]=0x0),this.#map[_0x232c50][_0x1cb80a]++;}['getName'](_0x40f877,_0x24752b){var _0x1b711f=a121_0x42c46b;return _0x40f877+'-'+_0x24752b+'-'+this[_0x1b711f(0xa7)](_0x40f877,_0x24752b);}['get'](_0x272361,_0x2789a2){if(!this.#map[_0x272361])return 0x0;if(!this.#map[_0x272361][_0x2789a2])return 0x0;return this.#map[_0x272361][_0x2789a2];}}function a121_0x42ed(){var _0x2fd126=['increment','131718qXlQxc','get','84312wJGcMV','6301566hSVxDD','590FtdTmh','405RWhmnr','3AQCFcL','105536HRuZCX','2575118llvQIN','6420vQLDsb','1405490qSXASU','exports'];a121_0x42ed=function(){return _0x2fd126;};return a121_0x42ed();}module[a121_0x42c46b(0xa4)]=PercyCaptureMap;
1
+ var a121_0x2d6610=a121_0x5ec3;function a121_0x4b36(){var _0x4c26ae=['1103247gPlJcL','78845fwcVHW','387550mZuDNm','1841632pxaLys','exports','684708ZyPudC','1932168inqbpq','get','2KHfdBS','2074644iQeZUg'];a121_0x4b36=function(){return _0x4c26ae;};return a121_0x4b36();}function a121_0x5ec3(_0x6a8565,_0x5720d5){var _0x4b360a=a121_0x4b36();return a121_0x5ec3=function(_0x5ec370,_0xe148ca){_0x5ec370=_0x5ec370-0x1aa;var _0x61f97=_0x4b360a[_0x5ec370];return _0x61f97;},a121_0x5ec3(_0x6a8565,_0x5720d5);}(function(_0x3ae2d3,_0x42fc51){var _0x464366=a121_0x5ec3,_0x411734=_0x3ae2d3();while(!![]){try{var _0x3f378=parseInt(_0x464366(0x1ae))/0x1*(parseInt(_0x464366(0x1ab))/0x2)+-parseInt(_0x464366(0x1ad))/0x3+parseInt(_0x464366(0x1b2))/0x4+-parseInt(_0x464366(0x1af))/0x5+parseInt(_0x464366(0x1ac))/0x6+parseInt(_0x464366(0x1b3))/0x7+-parseInt(_0x464366(0x1b0))/0x8;if(_0x3f378===_0x42fc51)break;else _0x411734['push'](_0x411734['shift']());}catch(_0xfcd28d){_0x411734['push'](_0x411734['shift']());}}}(a121_0x4b36,0x2ff05));class PercyCaptureMap{#map={};['increment'](_0x25b741,_0xa39493){!this.#map[_0x25b741]&&(this.#map[_0x25b741]={}),!this.#map[_0x25b741][_0xa39493]&&(this.#map[_0x25b741][_0xa39493]=0x0),this.#map[_0x25b741][_0xa39493]++;}['getName'](_0x594ddf,_0x393124){var _0x5755fc=a121_0x5ec3;return _0x594ddf+'-'+_0x393124+'-'+this[_0x5755fc(0x1aa)](_0x594ddf,_0x393124);}['get'](_0x48458c,_0x347789){if(!this.#map[_0x48458c])return 0x0;if(!this.#map[_0x48458c][_0x347789])return 0x0;return this.#map[_0x48458c][_0x347789];}}module[a121_0x2d6610(0x1b1)]=PercyCaptureMap;
@@ -1 +1 @@
1
- var a122_0x175690=a122_0x5cfd;function a122_0x5cfd(_0x3764f6,_0x3e73c3){var _0x2c8e48=a122_0x2c8e();return a122_0x5cfd=function(_0x5cfde8,_0x191b54){_0x5cfde8=_0x5cfde8-0x91;var _0x1a1c41=_0x2c8e48[_0x5cfde8];return _0x1a1c41;},a122_0x5cfd(_0x3764f6,_0x3e73c3);}(function(_0x2573fd,_0x2c0221){var _0x391210=a122_0x5cfd,_0x2cde6d=_0x2573fd();while(!![]){try{var _0x21ada5=parseInt(_0x391210(0x9c))/0x1+-parseInt(_0x391210(0x9b))/0x2+parseInt(_0x391210(0x9f))/0x3*(parseInt(_0x391210(0x98))/0x4)+parseInt(_0x391210(0x95))/0x5+parseInt(_0x391210(0xa2))/0x6+parseInt(_0x391210(0x94))/0x7*(parseInt(_0x391210(0x9e))/0x8)+parseInt(_0x391210(0x91))/0x9*(-parseInt(_0x391210(0x96))/0xa);if(_0x21ada5===_0x2c0221)break;else _0x2cde6d['push'](_0x2cde6d['shift']());}catch(_0x28f919){_0x2cde6d['push'](_0x2cde6d['shift']());}}}(a122_0x2c8e,0x64717));var a122_0x1e8c34={};function a122_0x2c8e(){var _0x201d5=['40CCqQVD','1070385EeQVhm','takeScreenshot','testcase','3683808jmxOXx','2290626zcDoqm','auto','exports','45871Tejjli','1036855JGCGtT','70tfaGxP','sendKeys','8HpEDDB','driver','element','198404tNQKBy','724521CctzmY','click'];a122_0x2c8e=function(){return _0x201d5;};return a122_0x2c8e();}a122_0x1e8c34['driver']=[a122_0x175690(0xa0)],a122_0x1e8c34[a122_0x175690(0x9a)]=['click',a122_0x175690(0x97)];var a122_0x2a65d5={};a122_0x2a65d5[a122_0x175690(0x99)]=[a122_0x175690(0xa0)];var a122_0x573cd6={};a122_0x573cd6['element']=[a122_0x175690(0x9d)];var a122_0x412b89={};a122_0x412b89[a122_0x175690(0x92)]=a122_0x1e8c34,a122_0x412b89['screenshot']=a122_0x2a65d5,a122_0x412b89[a122_0x175690(0x9d)]=a122_0x573cd6,a122_0x412b89[a122_0x175690(0xa1)]={},a122_0x412b89['manual']={},module[a122_0x175690(0x93)]=a122_0x412b89;
1
+ function a122_0x4d69(){var _0x57cd16=['screenshot','1116836WeLgGr','auto','click','252HhYcwV','3022649sNLrTX','exports','takeScreenshot','8EVCIlW','9635904YWnAlb','1bEAdLd','22219681TRFBFN','2558124MSVsnR','sendKeys','11885sjdHbt','10rDhRjg','1934738mrIiMe','testcase'];a122_0x4d69=function(){return _0x57cd16;};return a122_0x4d69();}var a122_0x408e75=a122_0x38cd;(function(_0x42d7c2,_0x4fb3a6){var _0x2a8a20=a122_0x38cd,_0x262b88=_0x42d7c2();while(!![]){try{var _0x3972b1=parseInt(_0x2a8a20(0x18f))/0x1*(-parseInt(_0x2a8a20(0x195))/0x2)+-parseInt(_0x2a8a20(0x191))/0x3+-parseInt(_0x2a8a20(0x186))/0x4+parseInt(_0x2a8a20(0x193))/0x5*(parseInt(_0x2a8a20(0x189))/0x6)+parseInt(_0x2a8a20(0x18a))/0x7*(-parseInt(_0x2a8a20(0x18d))/0x8)+parseInt(_0x2a8a20(0x18e))/0x9+-parseInt(_0x2a8a20(0x194))/0xa*(-parseInt(_0x2a8a20(0x190))/0xb);if(_0x3972b1===_0x4fb3a6)break;else _0x262b88['push'](_0x262b88['shift']());}catch(_0x3e9ea6){_0x262b88['push'](_0x262b88['shift']());}}}(a122_0x4d69,0xa0fa8));var a122_0x37ce74={};a122_0x37ce74['driver']=[a122_0x408e75(0x18c)],a122_0x37ce74['element']=[a122_0x408e75(0x188),a122_0x408e75(0x192)];var a122_0x2bc93d={};function a122_0x38cd(_0x5d66a7,_0x4209db){var _0x4d6952=a122_0x4d69();return a122_0x38cd=function(_0x38cdb4,_0x3ef428){_0x38cdb4=_0x38cdb4-0x185;var _0x144b19=_0x4d6952[_0x38cdb4];return _0x144b19;},a122_0x38cd(_0x5d66a7,_0x4209db);}a122_0x2bc93d['driver']=[a122_0x408e75(0x18c)];var a122_0x5c0418={};a122_0x5c0418['element']=['click'];var a122_0xe6d2c={};a122_0xe6d2c[a122_0x408e75(0x187)]=a122_0x37ce74,a122_0xe6d2c[a122_0x408e75(0x185)]=a122_0x2bc93d,a122_0xe6d2c[a122_0x408e75(0x188)]=a122_0x5c0418,a122_0xe6d2c[a122_0x408e75(0x196)]={},a122_0xe6d2c['manual']={},module[a122_0x408e75(0x18b)]=a122_0xe6d2c;
@@ -1 +1 @@
1
- function a123_0x5b06(_0x570044,_0x3b433d){const _0x238de8=a123_0x238d();return a123_0x5b06=function(_0x5b0612,_0x4e0d00){_0x5b0612=_0x5b0612-0x16d;let _0x3b48bb=_0x238de8[_0x5b0612];return _0x3b48bb;},a123_0x5b06(_0x570044,_0x3b433d);}const a123_0x5670b6=a123_0x5b06;(function(_0x2e0c52,_0x310de1){const _0x25f047=a123_0x5b06,_0x2a7176=_0x2e0c52();while(!![]){try{const _0x5424c3=parseInt(_0x25f047(0x16f))/0x1*(parseInt(_0x25f047(0x186))/0x2)+parseInt(_0x25f047(0x17a))/0x3*(parseInt(_0x25f047(0x18c))/0x4)+-parseInt(_0x25f047(0x171))/0x5*(-parseInt(_0x25f047(0x17b))/0x6)+parseInt(_0x25f047(0x18d))/0x7*(-parseInt(_0x25f047(0x188))/0x8)+-parseInt(_0x25f047(0x180))/0x9+-parseInt(_0x25f047(0x187))/0xa*(parseInt(_0x25f047(0x184))/0xb)+parseInt(_0x25f047(0x17d))/0xc;if(_0x5424c3===_0x310de1)break;else _0x2a7176['push'](_0x2a7176['shift']());}catch(_0x279c58){_0x2a7176['push'](_0x2a7176['shift']());}}}(a123_0x238d,0x24153));function a123_0x238d(){const _0x10d15d=['20SQTGzZ','1606262QmUpii','testCase','rCciT','@percy/selenium-webdriver','IZejS','vyXcA','thTestCaseExecutionId','apply','Unsupported\x20driver\x20for\x20percy','29129NjruoC','../performance/performance-tester','155745KRusku','error','SCREENSHOT','SNAPSHOT','screenshot','browserstackPlatformIndex','rAsfc','uuid','platformIndex','46470RhvzGW','54OkFaMk','@percy/appium-app','3252180fveySh','winstonLogger','screenshotApp','1810593XsycjF','../../helpers/testhub/utils','name','browserstackPercyBestPlatform','21351GhLtrM','xJjLL','14yNuHem','1310wAcCtH','8jJgmag','length','measure','CzXVt'];a123_0x238d=function(){return _0x10d15d;};return a123_0x238d();}const tryRequire=function(_0x467ffa,_0x3411fd){const _0x25755f=a123_0x5b06,_0x235fd3={'xJjLL':function(_0x224cc4,_0x4fd9e5){return _0x224cc4(_0x4fd9e5);}};try{return _0x235fd3[_0x25755f(0x185)](require,_0x467ffa);}catch{return _0x3411fd;}},percySnapshot=tryRequire(a123_0x5670b6(0x190),null),{percyScreenshot}=tryRequire(a123_0x5670b6(0x190),{}),percyAppScreenshot=require(a123_0x5670b6(0x17c)),{getCurrentTestData}=require(a123_0x5670b6(0x181)),PerformanceTester=require(a123_0x5670b6(0x170)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants'),logger=require('../logger')[a123_0x5670b6(0x17e)];percySnapshot&&(exports['snapshot']=async function(){const _0xb38458=a123_0x5670b6,_0x2bc995={'vyXcA':function(_0x2ad02f,_0x38a6bf){return _0x2ad02f!==_0x38a6bf;},'UBIgL':function(_0xda27e3,_0x5cacff){return _0xda27e3>=_0x5cacff;},'CzXVt':function(_0x38bc59){return _0x38bc59();}};if(global[_0xb38458(0x176)]&&_0x2bc995[_0xb38458(0x192)](global[_0xb38458(0x176)],global[_0xb38458(0x183)]))return;const _0x403931=_0x2bc995['UBIgL'](arguments[_0xb38458(0x189)],0x2)?arguments[0x1]:'',_0x17a726=_0x2bc995[_0xb38458(0x18b)](getCurrentTestData),_0x5c26d0={};return _0x5c26d0['name']=_0x403931,_0x5c26d0[_0xb38458(0x18e)]=_0x17a726['name']||'',_0x5c26d0[_0xb38458(0x193)]=_0x17a726['uuid']||'',_0x5c26d0[_0xb38458(0x179)]=global[_0xb38458(0x176)],await PerformanceTester['measure'](PerformanceEvents[_0xb38458(0x174)],()=>percySnapshot[_0xb38458(0x16d)](null,arguments),_0x5c26d0);});percyScreenshot?exports[a123_0x5670b6(0x175)]=async function(){const _0x231ea9=a123_0x5670b6,_0x29a4ca={'rAsfc':function(_0x1072e4,_0x4c9a5a){return _0x1072e4>=_0x4c9a5a;},'xsGdz':function(_0x3d7e04){return _0x3d7e04();}},_0x54a1c3=_0x29a4ca[_0x231ea9(0x177)](arguments[_0x231ea9(0x189)],0x2)?arguments[0x1]:'',_0x281a19=_0x29a4ca['xsGdz'](getCurrentTestData),_0x3c0c90={};return _0x3c0c90[_0x231ea9(0x182)]=_0x54a1c3,_0x3c0c90[_0x231ea9(0x18e)]=_0x281a19[_0x231ea9(0x182)]||'',_0x3c0c90['thTestCaseExecutionId']=_0x281a19[_0x231ea9(0x178)]||'',_0x3c0c90[_0x231ea9(0x179)]=global[_0x231ea9(0x176)],await PerformanceTester[_0x231ea9(0x18a)](PerformanceEvents[_0x231ea9(0x173)],()=>percyScreenshot[_0x231ea9(0x16d)](null,arguments),_0x3c0c90);}:exports[a123_0x5670b6(0x175)]=()=>{const _0x3e19fd=a123_0x5670b6,_0x5aec8d={};_0x5aec8d['rCciT']=_0x3e19fd(0x16e);const _0x529b0c=_0x5aec8d;logger[_0x3e19fd(0x172)](_0x529b0c[_0x3e19fd(0x18f)]);};exports[a123_0x5670b6(0x17f)]=async function(){const _0x1079bb=a123_0x5670b6,_0x2f53ba={'zHhRm':function(_0x1cbda0,_0x4b5db6){return _0x1cbda0>=_0x4b5db6;},'IZejS':function(_0x25a9f6){return _0x25a9f6();}},_0x33d9f8=_0x2f53ba['zHhRm'](arguments[_0x1079bb(0x189)],0x2)?arguments[0x1]:'',_0x50ad46=_0x2f53ba[_0x1079bb(0x191)](getCurrentTestData),_0x25eb48={};return _0x25eb48['name']=_0x33d9f8,_0x25eb48[_0x1079bb(0x18e)]=_0x50ad46[_0x1079bb(0x182)]||'',_0x25eb48[_0x1079bb(0x193)]=_0x50ad46[_0x1079bb(0x178)]||'',_0x25eb48[_0x1079bb(0x179)]=global[_0x1079bb(0x176)],await PerformanceTester[_0x1079bb(0x18a)](PerformanceEvents['SCREENSHOT_APP'],()=>percyAppScreenshot['apply'](null,arguments),_0x25eb48);};
1
+ function a123_0x3f9e(){const _0x26eaef=['SCREENSHOT_APP','snapshot','length','apply','../logger','browserstackPlatformIndex','screenshot','YcajU','323482TtAOHn','Wgtfr','RBRFA','measure','../performance/constants','fvaOF','7165pvLXUy','thTestCaseExecutionId','618YaYsKg','60732iDgNex','name','1398504YqsuxD','kkXOh','30744xFgLZL','6LaUNgB','../../helpers/testhub/utils','SNAPSHOT','platformIndex','8066768mSOOYr','KpHpV','Unsupported\x20driver\x20for\x20percy','@percy/selenium-webdriver','uuid','../performance/performance-tester','mntKg','SCREENSHOT','KunAr','146070zBtcqU','110AoQVNi','winstonLogger','testCase'];a123_0x3f9e=function(){return _0x26eaef;};return a123_0x3f9e();}const a123_0x3e0524=a123_0x5d77;(function(_0x4fce93,_0x27f3c3){const _0xb1f7f5=a123_0x5d77,_0x306df2=_0x4fce93();while(!![]){try{const _0xb553f3=-parseInt(_0xb1f7f5(0x1ee))/0x1+-parseInt(_0xb1f7f5(0x1fa))/0x2*(-parseInt(_0xb1f7f5(0x208))/0x3)+-parseInt(_0xb1f7f5(0x205))/0x4+parseInt(_0xb1f7f5(0x200))/0x5*(-parseInt(_0xb1f7f5(0x202))/0x6)+-parseInt(_0xb1f7f5(0x203))/0x7+parseInt(_0xb1f7f5(0x20c))/0x8+parseInt(_0xb1f7f5(0x207))/0x9*(parseInt(_0xb1f7f5(0x1ef))/0xa);if(_0xb553f3===_0x27f3c3)break;else _0x306df2['push'](_0x306df2['shift']());}catch(_0x423f22){_0x306df2['push'](_0x306df2['shift']());}}}(a123_0x3f9e,0xaf279));const tryRequire=function(_0x8d6914,_0x4f31a9){const _0x465686=a123_0x5d77,_0x447972={'YcajU':function(_0xc1c48c,_0x4c7bc8){return _0xc1c48c(_0x4c7bc8);}};try{return _0x447972[_0x465686(0x1f9)](require,_0x8d6914);}catch{return _0x4f31a9;}},percySnapshot=tryRequire(a123_0x3e0524(0x1e8),null),{percyScreenshot}=tryRequire(a123_0x3e0524(0x1e8),{}),percyAppScreenshot=require('@percy/appium-app'),{getCurrentTestData}=require(a123_0x3e0524(0x209)),PerformanceTester=require(a123_0x3e0524(0x1ea)),{PERCY_EVENTS:PerformanceEvents}=require(a123_0x3e0524(0x1fe)),logger=require(a123_0x3e0524(0x1f6))[a123_0x3e0524(0x1f0)];percySnapshot&&(exports[a123_0x3e0524(0x1f3)]=async function(){const _0x397b61=a123_0x3e0524,_0x1aedcc={'Fczpl':function(_0x51cb3a,_0x1e6d51){return _0x51cb3a!==_0x1e6d51;},'KpHpV':function(_0x5cbc82,_0x16f2ac){return _0x5cbc82>=_0x16f2ac;},'Wgtfr':function(_0x3ce5b3){return _0x3ce5b3();}};if(global[_0x397b61(0x1f7)]&&_0x1aedcc['Fczpl'](global[_0x397b61(0x1f7)],global['browserstackPercyBestPlatform']))return;const _0x11ed8e=_0x1aedcc[_0x397b61(0x20d)](arguments[_0x397b61(0x1f4)],0x2)?arguments[0x1]:'',_0x27e0a5=_0x1aedcc[_0x397b61(0x1fb)](getCurrentTestData),_0x5f42f9={};return _0x5f42f9[_0x397b61(0x204)]=_0x11ed8e,_0x5f42f9[_0x397b61(0x1f1)]=_0x27e0a5['name']||'',_0x5f42f9['thTestCaseExecutionId']=_0x27e0a5[_0x397b61(0x1e9)]||'',_0x5f42f9[_0x397b61(0x20b)]=global['browserstackPlatformIndex'],await PerformanceTester[_0x397b61(0x1fd)](PerformanceEvents[_0x397b61(0x20a)],()=>percySnapshot[_0x397b61(0x1f5)](null,arguments),_0x5f42f9);});function a123_0x5d77(_0x43fda1,_0x3ce954){const _0x3f9e2b=a123_0x3f9e();return a123_0x5d77=function(_0x5d771d,_0x517665){_0x5d771d=_0x5d771d-0x1e8;let _0x544a00=_0x3f9e2b[_0x5d771d];return _0x544a00;},a123_0x5d77(_0x43fda1,_0x3ce954);}percyScreenshot?exports[a123_0x3e0524(0x1f8)]=async function(){const _0x582292=a123_0x3e0524,_0xe2123a={'kkXOh':function(_0x38b7d6,_0x18ec79){return _0x38b7d6>=_0x18ec79;},'mntKg':function(_0x44b766){return _0x44b766();}},_0x198012=_0xe2123a[_0x582292(0x206)](arguments[_0x582292(0x1f4)],0x2)?arguments[0x1]:'',_0x2a931e=_0xe2123a[_0x582292(0x1eb)](getCurrentTestData),_0x300ec6={};return _0x300ec6[_0x582292(0x204)]=_0x198012,_0x300ec6[_0x582292(0x1f1)]=_0x2a931e['name']||'',_0x300ec6['thTestCaseExecutionId']=_0x2a931e[_0x582292(0x1e9)]||'',_0x300ec6['platformIndex']=global[_0x582292(0x1f7)],await PerformanceTester[_0x582292(0x1fd)](PerformanceEvents[_0x582292(0x1ec)],()=>percyScreenshot[_0x582292(0x1f5)](null,arguments),_0x300ec6);}:exports[a123_0x3e0524(0x1f8)]=()=>{const _0xb21617=a123_0x3e0524,_0x3993bf={};_0x3993bf[_0xb21617(0x1ed)]=_0xb21617(0x20e);const _0x7ed345=_0x3993bf;logger['error'](_0x7ed345[_0xb21617(0x1ed)]);};exports['screenshotApp']=async function(){const _0xfdacfe=a123_0x3e0524,_0x559de8={'RBRFA':function(_0x9f179a,_0x1ced10){return _0x9f179a>=_0x1ced10;},'fvaOF':function(_0x49a34f){return _0x49a34f();}},_0x4c0402=_0x559de8[_0xfdacfe(0x1fc)](arguments[_0xfdacfe(0x1f4)],0x2)?arguments[0x1]:'',_0x2cad8e=_0x559de8[_0xfdacfe(0x1ff)](getCurrentTestData),_0x7e14bf={};return _0x7e14bf[_0xfdacfe(0x204)]=_0x4c0402,_0x7e14bf['testCase']=_0x2cad8e['name']||'',_0x7e14bf[_0xfdacfe(0x201)]=_0x2cad8e[_0xfdacfe(0x1e9)]||'',_0x7e14bf[_0xfdacfe(0x20b)]=global[_0xfdacfe(0x1f7)],await PerformanceTester[_0xfdacfe(0x1fd)](PerformanceEvents[_0xfdacfe(0x1f2)],()=>percyAppScreenshot[_0xfdacfe(0x1f5)](null,arguments),_0x7e14bf);};
@@ -1 +1 @@
1
- function a124_0x489b(_0x299757,_0x34cf87){var _0x170e1d=a124_0x170e();return a124_0x489b=function(_0x489b59,_0x42acbc){_0x489b59=_0x489b59-0xed;var _0x1677cc=_0x170e1d[_0x489b59];return _0x1677cc;},a124_0x489b(_0x299757,_0x34cf87);}var a124_0x14d404=a124_0x489b;function a124_0x170e(){var _0x5538f8=['./Percy','939683txznpC','3387984vGaGgI','exports','5831704GZawWA','3liUlFf','784116VUVjUt','4699765HZRHvC','1756166OuOJLb','2665271xFrWad'];a124_0x170e=function(){return _0x5538f8;};return a124_0x170e();}(function(_0x3141c2,_0x1acae0){var _0x49beaf=a124_0x489b,_0x7878c1=_0x3141c2();while(!![]){try{var _0x2170b0=-parseInt(_0x49beaf(0xf2))/0x1+-parseInt(_0x49beaf(0xef))/0x2*(-parseInt(_0x49beaf(0xf6))/0x3)+parseInt(_0x49beaf(0xf3))/0x4+parseInt(_0x49beaf(0xee))/0x5+-parseInt(_0x49beaf(0xed))/0x6+-parseInt(_0x49beaf(0xf0))/0x7+-parseInt(_0x49beaf(0xf5))/0x8;if(_0x2170b0===_0x1acae0)break;else _0x7878c1['push'](_0x7878c1['shift']());}catch(_0x5aa123){_0x7878c1['push'](_0x7878c1['shift']());}}}(a124_0x170e,0x76653),module[a124_0x14d404(0xf4)]=require(a124_0x14d404(0xf1)));
1
+ var a124_0x255b6b=a124_0x1035;function a124_0x1035(_0x44d9d9,_0x4d2d6a){var _0x361c1c=a124_0x361c();return a124_0x1035=function(_0x1035f7,_0x1b14fc){_0x1035f7=_0x1035f7-0x1b2;var _0x4a77a9=_0x361c1c[_0x1035f7];return _0x4a77a9;},a124_0x1035(_0x44d9d9,_0x4d2d6a);}function a124_0x361c(){var _0x462c71=['287810PcHfDi','4605ceqmZa','3637232btpojH','531618GOWdcO','21548WGsyaH','6nZjDKD','275plIYeB','3348018zswbrD','4876823nTcJzu','625FKLYPG','./Percy','154BdovGP'];a124_0x361c=function(){return _0x462c71;};return a124_0x361c();}(function(_0x4449c4,_0x1d93b3){var _0x820856=a124_0x1035,_0x3f9f2d=_0x4449c4();while(!![]){try{var _0x13c7d7=-parseInt(_0x820856(0x1b6))/0x1*(parseInt(_0x820856(0x1b4))/0x2)+parseInt(_0x820856(0x1b8))/0x3+parseInt(_0x820856(0x1b9))/0x4*(parseInt(_0x820856(0x1b2))/0x5)+-parseInt(_0x820856(0x1ba))/0x6*(-parseInt(_0x820856(0x1bd))/0x7)+-parseInt(_0x820856(0x1b7))/0x8+parseInt(_0x820856(0x1bc))/0x9+parseInt(_0x820856(0x1b5))/0xa*(-parseInt(_0x820856(0x1bb))/0xb);if(_0x13c7d7===_0x1d93b3)break;else _0x3f9f2d['push'](_0x3f9f2d['shift']());}catch(_0x27bcc9){_0x3f9f2d['push'](_0x3f9f2d['shift']());}}}(a124_0x361c,0x5f56c),module['exports']=require(a124_0x255b6b(0x1b3)));
@@ -1 +1 @@
1
- function a125_0x4b3f(){const _0x1c5b62=['isUndefined','screenshotApp','Error\x20patching\x20','percy','getName','stop','percyAutoCapture','overrideXforPercy','increment','stopPercy','measureWrapper','9VqNlxc','percyCaptureMode','chrome','patch','2362936pCCWyi','getDriver','manual','46830XltRmB','edge','63vvHGom','./PercySDK','322908SaLbvI','winstonLogger','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','729095XYnCNH','forEach','browser','jOsEY','./PercyCaptureMap','7340300IbUPCI','tDEAh','error','\x20for\x20percy\x20','OOabK','toLowerCase','element','debug','browserstackSessionName','139028Khghwt','STOP','zjjvi','getPercyOptions','getBestPlatformForPercySnapshot','20EJTLZU','84498YmMpPy','startPercy','prototype','NieKV','Starting\x20percy','./PercyCaptureModes','CiQiV','TUqFd','qgdfJ','deviceName','301tegwmw','../helper','browserstackPercyBestPlatform','safari','reduce','GeIQN','huyKs','../performance/performance-tester','start','browserStackPercyOptions','enuLo','START','browserstackPercyMap','browserName','driver'];a125_0x4b3f=function(){return _0x1c5b62;};return a125_0x4b3f();}function a125_0x3641(_0xde16c7,_0x54e72){const _0x4b3f42=a125_0x4b3f();return a125_0x3641=function(_0x3641cd,_0xe721c2){_0x3641cd=_0x3641cd-0x116;let _0x9268cb=_0x4b3f42[_0x3641cd];return _0x9268cb;},a125_0x3641(_0xde16c7,_0x54e72);}const a125_0x279340=a125_0x3641;(function(_0x6212f1,_0x5993e6){const _0x17d355=a125_0x3641,_0x521fc8=_0x6212f1();while(!![]){try{const _0x1e7ee5=-parseInt(_0x17d355(0x145))/0x1*(-parseInt(_0x17d355(0x11b))/0x2)+parseInt(_0x17d355(0x150))/0x3+-parseInt(_0x17d355(0x120))/0x4*(parseInt(_0x17d355(0x153))/0x5)+-parseInt(_0x17d355(0x121))/0x6*(parseInt(_0x17d355(0x12b))/0x7)+parseInt(_0x17d355(0x149))/0x8+-parseInt(_0x17d355(0x14e))/0x9*(-parseInt(_0x17d355(0x14c))/0xa)+parseInt(_0x17d355(0x158))/0xb;if(_0x1e7ee5===_0x5993e6)break;else _0x521fc8['push'](_0x521fc8['shift']());}catch(_0x4f66ae){_0x521fc8['push'](_0x521fc8['shift']());}}}(a125_0x4b3f,0x6033e));const Percy=require('./Percy'),PercySDK=require(a125_0x279340(0x14f)),PercyCaptureModes=require(a125_0x279340(0x126)),PercyCaptureMap=require(a125_0x279340(0x157)),logger=require('../logger')[a125_0x279340(0x151)],helper=require(a125_0x279340(0x12c)),PerformanceTester=require(a125_0x279340(0x132)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants');exports[a125_0x279340(0x122)]=PerformanceTester[a125_0x279340(0x144)](PerformanceEvents[a125_0x279340(0x136)],async _0x5d48fe=>{const _0x469ace=a125_0x279340,_0x1e44b2={};_0x1e44b2[_0x469ace(0x131)]=_0x469ace(0x125);const _0x14949b=_0x1e44b2;logger[_0x469ace(0x119)](_0x14949b[_0x469ace(0x131)]);const _0x4f2f58=new Percy(_0x5d48fe),_0x5e99b3=await _0x4f2f58[_0x469ace(0x133)]();if(_0x5e99b3)return _0x4f2f58;return null;}),exports[a125_0x279340(0x143)]=PerformanceTester[a125_0x279340(0x144)](PerformanceEvents[a125_0x279340(0x11c)],async _0x354544=>{const _0x2223d3=a125_0x279340,_0x35f7d9={};_0x35f7d9[_0x2223d3(0x128)]='Stopping\x20percy';const _0x1ff79a=_0x35f7d9;return logger[_0x2223d3(0x119)](_0x1ff79a['TUqFd']),_0x354544[_0x2223d3(0x13f)]();}),exports[a125_0x279340(0x11f)]=_0xb5a950=>{const _0x2814bf=a125_0x279340,_0x17a007={};_0x17a007[_0x2814bf(0x159)]=function(_0x19b2a8,_0x3302f7){return _0x19b2a8<_0x3302f7;};const _0x21e8f8=_0x17a007,_0x39df8c={};_0x39df8c[_0x2814bf(0x147)]=0x0,_0x39df8c['firefox']=0x1,_0x39df8c[_0x2814bf(0x14d)]=0x2,_0x39df8c[_0x2814bf(0x12e)]=0x3;const _0x5a3a21=_0x39df8c;return _0xb5a950[_0x2814bf(0x12f)]((_0x3ada12,_0x1261cc,_0x2edcee)=>{const _0x4beed4=_0x2814bf,_0x4ac16e=_0xb5a950[_0x3ada12];if(_0x1261cc[_0x4beed4(0x12a)])return _0x3ada12;if(_0x4ac16e[_0x4beed4(0x12a)])return _0x2edcee;const _0x6421ad=_0x1261cc[_0x4beed4(0x155)]?_0x1261cc['browser']:_0x1261cc[_0x4beed4(0x138)];if(_0x6421ad&&_0x21e8f8['tDEAh'](_0x5a3a21[_0x6421ad['toLowerCase']()],_0x5a3a21[_0x6421ad[_0x4beed4(0x117)]()]))return _0x2edcee;return _0x3ada12;},0x0);},exports[a125_0x279340(0x140)]=PerformanceTester[a125_0x279340(0x144)](PerformanceEvents['AUTO_CAPTURE'],async(_0x1a658f,_0x204f21,_0x2d715f)=>{const _0x1d56cf=a125_0x279340,_0x48aae7={};_0x48aae7['CiQiV']=_0x1d56cf(0x152);const _0x1df51c=_0x48aae7,_0x182d56=_0x1a658f[_0x1d56cf(0x137)];if(helper[_0x1d56cf(0x13a)](_0x1a658f[_0x1d56cf(0x11a)])){logger[_0x1d56cf(0x119)](_0x1df51c[_0x1d56cf(0x127)]);return;}const _0x346691=_0x182d56[_0x1d56cf(0x13e)](_0x1a658f[_0x1d56cf(0x11a)],_0x204f21);_0x2d715f['app']?await PercySDK[_0x1d56cf(0x13b)](_0x1a658f,_0x346691):await PercySDK['screenshot'](_0x1a658f,_0x346691),_0x182d56[_0x1d56cf(0x142)](_0x1a658f[_0x1d56cf(0x11a)],_0x204f21);}),exports['patchDriverPercy']=(_0x3ee857,_0x27858d,_0x11d758)=>{const _0x42a1a8=a125_0x279340,_0x3db05b={};_0x3db05b[_0x42a1a8(0x129)]=_0x42a1a8(0x134),_0x3db05b['jcsCx']='percy',_0x3db05b[_0x42a1a8(0x124)]=function(_0x2a6c7c,_0x3f08b4){return _0x2a6c7c!==_0x3f08b4;},_0x3db05b['OOabK']=_0x42a1a8(0x14b);const _0x33489b=_0x3db05b;if(!helper['nestedKeyValue'](_0x11d758,[_0x33489b[_0x42a1a8(0x129)],_0x33489b['jcsCx']]))return;if(_0x11d758[_0x42a1a8(0x134)][_0x42a1a8(0x13d)]&&_0x11d758[_0x42a1a8(0x134)][_0x42a1a8(0x146)]&&_0x33489b[_0x42a1a8(0x124)](_0x11d758[_0x42a1a8(0x134)][_0x42a1a8(0x146)],_0x33489b[_0x42a1a8(0x116)])&&!_0x3ee857[_0x42a1a8(0x137)]){global[_0x42a1a8(0x11a)]&&(_0x3ee857['browserstackSessionName']=global[_0x42a1a8(0x11a)]),_0x3ee857[_0x42a1a8(0x137)]=new PercyCaptureMap();const _0x242ce0=PercyCaptureModes[_0x11d758['browserStackPercyOptions'][_0x42a1a8(0x146)]];_0x242ce0['driver']&&_0x242ce0[_0x42a1a8(0x139)][_0x42a1a8(0x154)](_0x216a46=>this[_0x42a1a8(0x141)](_0x3ee857,_0x216a46,_0x11d758)),_0x242ce0[_0x42a1a8(0x118)]&&_0x242ce0[_0x42a1a8(0x118)]['forEach'](_0x4bbe69=>{const _0x59b7b7=_0x42a1a8;if(_0x27858d[_0x59b7b7(0x123)]['patch'+_0x4bbe69])return;_0x27858d[_0x59b7b7(0x123)][_0x59b7b7(0x148)+_0x4bbe69]=!![];const _0x30c726=_0x27858d[_0x59b7b7(0x123)][_0x4bbe69];_0x27858d[_0x59b7b7(0x123)][_0x4bbe69]=async function(){const _0x2d24f9=_0x59b7b7;let _0xebc832=_0x30c726['apply'](this,arguments);_0xebc832&&_0xebc832['then']&&(_0xebc832=await _0xebc832);try{const _0x1945e6=this[_0x2d24f9(0x14a)]();await exports['percyAutoCapture'](_0x1945e6,_0x4bbe69,_0x11d758);}catch(_0x22b312){logger[_0x2d24f9(0x15a)](_0x2d24f9(0x13c)+_0x4bbe69+'\x20for\x20percy\x20'+_0x22b312);}return _0xebc832;};});}},exports[a125_0x279340(0x141)]=function(_0x45fcfb,_0x333946,_0x4a003f){const _0x10a556=a125_0x279340,_0x55f19c={};_0x55f19c['zjjvi']=function(_0x5b5738,_0x1e0d21){return _0x5b5738+_0x1e0d21;},_0x55f19c['jOsEY']=_0x10a556(0x148),_0x55f19c['geTbJ']=function(_0xbfe29b,_0x469aad){return _0xbfe29b+_0x469aad;},_0x55f19c[_0x10a556(0x130)]='init';const _0x427236=_0x55f19c,_0x10a079=_0x427236[_0x10a556(0x11d)](_0x427236[_0x10a556(0x156)],_0x333946),_0x37fadd=_0x427236['geTbJ'](_0x427236[_0x10a556(0x130)],_0x333946),_0x5cdf4b=this;if(_0x45fcfb[_0x10a079]||!_0x45fcfb[_0x333946])return;_0x45fcfb[_0x10a079]=!![],_0x45fcfb[_0x37fadd]=_0x45fcfb[_0x333946],_0x45fcfb[_0x333946]=async()=>{const _0x23572b=_0x10a556;try{await _0x5cdf4b[_0x23572b(0x140)](_0x45fcfb,_0x333946,_0x4a003f);}catch(_0x59e605){logger['error'](_0x23572b(0x13c)+_0x333946+_0x23572b(0x15b)+_0x59e605);}return await _0x45fcfb[_0x37fadd]['apply'](_0x45fcfb,arguments);};},exports[a125_0x279340(0x11e)]=_0x1aa7e4=>{const _0x2eaaa9=a125_0x279340,_0x81b750={};_0x81b750[_0x2eaaa9(0x135)]='auto';const _0x3539c6=_0x81b750,_0x1d9234={};_0x1d9234[_0x2eaaa9(0x13d)]=_0x1aa7e4['percy'],_0x1d9234[_0x2eaaa9(0x146)]=_0x1aa7e4[_0x2eaaa9(0x146)]||_0x3539c6[_0x2eaaa9(0x135)];const _0xa30d98=_0x1d9234;_0x1aa7e4[_0x2eaaa9(0x13d)]&&(_0xa30d98[_0x2eaaa9(0x12d)]=exports[_0x2eaaa9(0x11f)](_0x1aa7e4['platforms']));;return _0xa30d98;};
1
+ const a125_0x144c72=a125_0x3d32;(function(_0x575c9c,_0x3e1517){const _0x486c34=a125_0x3d32,_0x1c7e5c=_0x575c9c();while(!![]){try{const _0x4fc1be=-parseInt(_0x486c34(0x1f1))/0x1*(-parseInt(_0x486c34(0x1cc))/0x2)+-parseInt(_0x486c34(0x1df))/0x3*(-parseInt(_0x486c34(0x1c9))/0x4)+parseInt(_0x486c34(0x1d9))/0x5*(parseInt(_0x486c34(0x1ce))/0x6)+parseInt(_0x486c34(0x1f6))/0x7*(-parseInt(_0x486c34(0x204))/0x8)+parseInt(_0x486c34(0x1fa))/0x9*(parseInt(_0x486c34(0x1e7))/0xa)+-parseInt(_0x486c34(0x1f9))/0xb+parseInt(_0x486c34(0x1bb))/0xc*(-parseInt(_0x486c34(0x1e5))/0xd);if(_0x4fc1be===_0x3e1517)break;else _0x1c7e5c['push'](_0x1c7e5c['shift']());}catch(_0x40de85){_0x1c7e5c['push'](_0x1c7e5c['shift']());}}}(a125_0x399d,0xa5eec));function a125_0x3d32(_0x2278d2,_0x1b52a9){const _0x399d54=a125_0x399d();return a125_0x3d32=function(_0x3d3234,_0x371581){_0x3d3234=_0x3d3234-0x1bb;let _0xd54e38=_0x399d54[_0x3d3234];return _0xd54e38;},a125_0x3d32(_0x2278d2,_0x1b52a9);}const Percy=require(a125_0x144c72(0x1d4)),PercySDK=require(a125_0x144c72(0x1e9)),PercyCaptureModes=require('./PercyCaptureModes'),PercyCaptureMap=require('./PercyCaptureMap'),logger=require(a125_0x144c72(0x1e6))[a125_0x144c72(0x1cd)],helper=require(a125_0x144c72(0x1e4)),PerformanceTester=require(a125_0x144c72(0x1c2)),{PERCY_EVENTS:PerformanceEvents}=require(a125_0x144c72(0x1f0));exports['startPercy']=PerformanceTester[a125_0x144c72(0x1de)](PerformanceEvents[a125_0x144c72(0x1c6)],async _0x1d2fcf=>{const _0x134b4a=a125_0x144c72,_0x338137={};_0x338137[_0x134b4a(0x203)]=_0x134b4a(0x1f5);const _0x2381d3=_0x338137;logger['debug'](_0x2381d3[_0x134b4a(0x203)]);const _0x9ad134=new Percy(_0x1d2fcf),_0x44c4d3=await _0x9ad134['start']();if(_0x44c4d3)return _0x9ad134;return null;}),exports[a125_0x144c72(0x1f4)]=PerformanceTester['measureWrapper'](PerformanceEvents['STOP'],async _0x2e9bfd=>{const _0x120f4a=a125_0x144c72,_0x8bed45={};_0x8bed45[_0x120f4a(0x1e2)]=_0x120f4a(0x1c4);const _0x1b6fca=_0x8bed45;return logger[_0x120f4a(0x1fe)](_0x1b6fca[_0x120f4a(0x1e2)]),_0x2e9bfd[_0x120f4a(0x1d8)]();}),exports[a125_0x144c72(0x1eb)]=_0x234d8a=>{const _0x30ff16=a125_0x144c72,_0x3ddeb7={};_0x3ddeb7[_0x30ff16(0x1bf)]=function(_0x319812,_0x3ffcf5){return _0x319812<_0x3ffcf5;};const _0x252932=_0x3ddeb7,_0x5a24a0={};_0x5a24a0[_0x30ff16(0x1e3)]=0x0,_0x5a24a0['firefox']=0x1,_0x5a24a0['edge']=0x2,_0x5a24a0['safari']=0x3;const _0x3cfca7=_0x5a24a0;return _0x234d8a['reduce']((_0x51a043,_0x40fd91,_0x3aaa30)=>{const _0x352bdb=_0x30ff16,_0x13ec33=_0x234d8a[_0x51a043];if(_0x40fd91['deviceName'])return _0x51a043;if(_0x13ec33[_0x352bdb(0x1ed)])return _0x3aaa30;const _0x4bf73b=_0x40fd91[_0x352bdb(0x206)]?_0x40fd91['browser']:_0x40fd91[_0x352bdb(0x1f2)];if(_0x4bf73b&&_0x252932['vWJuR'](_0x3cfca7[_0x4bf73b[_0x352bdb(0x1e1)]()],_0x3cfca7[_0x4bf73b[_0x352bdb(0x1e1)]()]))return _0x3aaa30;return _0x51a043;},0x0);},exports[a125_0x144c72(0x1fc)]=PerformanceTester[a125_0x144c72(0x1de)](PerformanceEvents['AUTO_CAPTURE'],async(_0x1126ba,_0x3983e8,_0x1c1b09)=>{const _0x18d7ac=a125_0x144c72,_0x485738={};_0x485738['KTnnI']=_0x18d7ac(0x1e0);const _0x58f4dc=_0x485738,_0x3ad6c2=_0x1126ba[_0x18d7ac(0x1ea)];if(helper[_0x18d7ac(0x1dc)](_0x1126ba[_0x18d7ac(0x1ff)])){logger['debug'](_0x58f4dc[_0x18d7ac(0x1dd)]);return;}const _0x1980f2=_0x3ad6c2[_0x18d7ac(0x1d5)](_0x1126ba[_0x18d7ac(0x1ff)],_0x3983e8);_0x1c1b09[_0x18d7ac(0x1e8)]?await PercySDK[_0x18d7ac(0x201)](_0x1126ba,_0x1980f2):await PercySDK[_0x18d7ac(0x1ca)](_0x1126ba,_0x1980f2),_0x3ad6c2[_0x18d7ac(0x205)](_0x1126ba[_0x18d7ac(0x1ff)],_0x3983e8);}),exports[a125_0x144c72(0x1ec)]=(_0x40846a,_0x19b625,_0x9181b6)=>{const _0x2d429e=a125_0x144c72,_0xba7a46={};_0xba7a46[_0x2d429e(0x1d6)]=_0x2d429e(0x202),_0xba7a46['Awdlg']=_0x2d429e(0x1ee),_0xba7a46[_0x2d429e(0x1ef)]=function(_0x560423,_0x34ae1c){return _0x560423!==_0x34ae1c;},_0xba7a46[_0x2d429e(0x1f3)]='manual';const _0x1fd0c1=_0xba7a46;if(!helper[_0x2d429e(0x1c1)](_0x9181b6,[_0x1fd0c1[_0x2d429e(0x1d6)],_0x1fd0c1['Awdlg']]))return;if(_0x9181b6[_0x2d429e(0x202)][_0x2d429e(0x1ee)]&&_0x9181b6[_0x2d429e(0x202)][_0x2d429e(0x1c0)]&&_0x1fd0c1[_0x2d429e(0x1ef)](_0x9181b6[_0x2d429e(0x202)][_0x2d429e(0x1c0)],_0x1fd0c1[_0x2d429e(0x1f3)])&&!_0x40846a[_0x2d429e(0x1ea)]){global[_0x2d429e(0x1ff)]&&(_0x40846a['browserstackSessionName']=global['browserstackSessionName']),_0x40846a['browserstackPercyMap']=new PercyCaptureMap();const _0x461d54=PercyCaptureModes[_0x9181b6[_0x2d429e(0x202)][_0x2d429e(0x1c0)]];_0x461d54['driver']&&_0x461d54[_0x2d429e(0x1fb)][_0x2d429e(0x1c8)](_0x131a5f=>this['overrideXforPercy'](_0x40846a,_0x131a5f,_0x9181b6)),_0x461d54['element']&&_0x461d54[_0x2d429e(0x1d2)]['forEach'](_0x4bd6a7=>{const _0x9be79f=_0x2d429e;if(_0x19b625[_0x9be79f(0x1db)][_0x9be79f(0x1d7)+_0x4bd6a7])return;_0x19b625[_0x9be79f(0x1db)][_0x9be79f(0x1d7)+_0x4bd6a7]=!![];const _0x4fefc9=_0x19b625['prototype'][_0x4bd6a7];_0x19b625[_0x9be79f(0x1db)][_0x4bd6a7]=async function(){const _0xb870b2=_0x9be79f;let _0x479af3=_0x4fefc9[_0xb870b2(0x1c5)](this,arguments);_0x479af3&&_0x479af3[_0xb870b2(0x1d3)]&&(_0x479af3=await _0x479af3);try{const _0x162b26=this[_0xb870b2(0x1f8)]();await exports[_0xb870b2(0x1fc)](_0x162b26,_0x4bd6a7,_0x9181b6);}catch(_0x501ddc){logger[_0xb870b2(0x200)](_0xb870b2(0x1cb)+_0x4bd6a7+_0xb870b2(0x1fd)+_0x501ddc);}return _0x479af3;};});}},exports[a125_0x144c72(0x1c3)]=function(_0x447705,_0x234f54,_0x41ceef){const _0x59a344=a125_0x144c72,_0x4fdefc={};_0x4fdefc['Kuawz']=function(_0x21e35d,_0x3064a0){return _0x21e35d+_0x3064a0;},_0x4fdefc['BPrZV']=_0x59a344(0x1d7),_0x4fdefc[_0x59a344(0x1cf)]=function(_0x13536d,_0x36f214){return _0x13536d+_0x36f214;},_0x4fdefc[_0x59a344(0x1bd)]=_0x59a344(0x1bc);const _0x4ab6e8=_0x4fdefc,_0x5440a8=_0x4ab6e8[_0x59a344(0x1da)](_0x4ab6e8[_0x59a344(0x1be)],_0x234f54),_0x5e2239=_0x4ab6e8[_0x59a344(0x1cf)](_0x4ab6e8[_0x59a344(0x1bd)],_0x234f54),_0x1228dc=this;if(_0x447705[_0x5440a8]||!_0x447705[_0x234f54])return;_0x447705[_0x5440a8]=!![],_0x447705[_0x5e2239]=_0x447705[_0x234f54],_0x447705[_0x234f54]=async()=>{const _0x25ea2d=_0x59a344;try{await _0x1228dc[_0x25ea2d(0x1fc)](_0x447705,_0x234f54,_0x41ceef);}catch(_0xb2a22a){logger[_0x25ea2d(0x200)]('Error\x20patching\x20'+_0x234f54+_0x25ea2d(0x1fd)+_0xb2a22a);}return await _0x447705[_0x5e2239][_0x25ea2d(0x1c5)](_0x447705,arguments);};},exports[a125_0x144c72(0x1f7)]=_0x208818=>{const _0x4288ff=a125_0x144c72,_0x44d385={};_0x44d385[_0x4288ff(0x1d1)]=_0x4288ff(0x1c7);const _0x515a8f=_0x44d385,_0xc76295={};_0xc76295['percy']=_0x208818[_0x4288ff(0x1ee)],_0xc76295[_0x4288ff(0x1c0)]=_0x208818['percyCaptureMode']||_0x515a8f['TxhbX'];const _0x3659ee=_0xc76295;_0x208818[_0x4288ff(0x1ee)]&&(_0x3659ee['browserstackPercyBestPlatform']=exports[_0x4288ff(0x1eb)](_0x208818[_0x4288ff(0x1d0)]));;return _0x3659ee;};function a125_0x399d(){const _0x5dcc20=['fCxtd','platforms','TxhbX','element','then','./Percy','getName','sMhzV','patch','stop','10PWkKPv','Kuawz','prototype','isUndefined','KTnnI','measureWrapper','176406GceqhJ','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','toLowerCase','PCchl','chrome','../helper','52FOUfFc','../logger','9650ZUvVFf','app','./PercySDK','browserstackPercyMap','getBestPlatformForPercySnapshot','patchDriverPercy','deviceName','percy','dLTEa','../performance/constants','3533reUBzY','browserName','Cyawd','stopPercy','Starting\x20percy','3381PuSecW','getPercyOptions','getDriver','10004511REwKCc','3321raiOfY','driver','percyAutoCapture','\x20for\x20percy\x20','debug','browserstackSessionName','error','screenshotApp','browserStackPercyOptions','cAEbz','15688fqLWNS','increment','browser','4265004AOFuTA','init','JjUop','BPrZV','vWJuR','percyCaptureMode','nestedKeyValue','../performance/performance-tester','overrideXforPercy','Stopping\x20percy','apply','START','auto','forEach','68XyzQFI','screenshot','Error\x20patching\x20','734rbHysq','winstonLogger','3916986gHnYZG'];a125_0x399d=function(){return _0x5dcc20;};return a125_0x399d();}
@@ -1 +1 @@
1
- const a126_0x2b6504=a126_0x4b65;(function(_0x297502,_0x5a4cfd){const _0x152521=a126_0x4b65,_0x138e44=_0x297502();while(!![]){try{const _0x9131e6=parseInt(_0x152521(0x1f6))/0x1*(parseInt(_0x152521(0x1e8))/0x2)+-parseInt(_0x152521(0x1b7))/0x3*(parseInt(_0x152521(0x1b5))/0x4)+-parseInt(_0x152521(0x1f1))/0x5*(-parseInt(_0x152521(0x218))/0x6)+parseInt(_0x152521(0x1d6))/0x7+parseInt(_0x152521(0x1cb))/0x8*(parseInt(_0x152521(0x219))/0x9)+parseInt(_0x152521(0x1ff))/0xa+parseInt(_0x152521(0x1d2))/0xb*(-parseInt(_0x152521(0x207))/0xc);if(_0x9131e6===_0x5a4cfd)break;else _0x138e44['push'](_0x138e44['shift']());}catch(_0x74b456){_0x138e44['push'](_0x138e44['shift']());}}}(a126_0x3575,0x63d83));const a126_0x246744={};function a126_0x4b65(_0x1561d6,_0x139683){const _0x3575bd=a126_0x3575();return a126_0x4b65=function(_0x4b65d6,_0x397265){_0x4b65d6=_0x4b65d6-0x193;let _0x58220e=_0x3575bd[_0x4b65d6];return _0x58220e;},a126_0x4b65(_0x1561d6,_0x139683);}function a126_0x3575(){const _0x203403=['9930Vqkjjo',':session-name','IDLE_TIMEOUT','START',':app-upload','SDK_CONNECT_BIN_SESSION','sdk:driver:post-initialization','BEFORE_ALL','SDK_TESTHUB','8108330kgnLEf','KEEP_ALIVE','sdk:auto-capture','SDK_CLI_ENQUEUE_TEST_EVENT',':post-execute','SDK_POST_TEST',':auto-capture','QUIT','19953768SSuFJv','sdk:a11y','sdk:findNearestHub','SDK_ACCESSIBILITY_CONFIG','sdk:cli:logCreatedEvent','SDK_OBSERVABILITY_CONFIG','sdk:testFrameworkEvent','GET_RESULTS','SDK_AUTOMATION_FRAMEWORK_INIT','SDK_CLI_DOWNLOAD','sdk:cli:enqueueTestEvent','sdk:cleanup','SDK_ON_STOP',':after-all','SDK_APP_AUTOMATE','AFTER_ALL',':before-all','235170OkilpM','27153SnuASu',':print-buildlink',':hub-management','SESSION_STATUS',':ci-artifacts','O11y_EVENTS','sdk:automationFrameworkStart','APP_UPLOAD','GET','SDK_START_BIN_SESSION','sdk:percy','sdk:setup','SDK_CLEANUP','SDK_PERCY',':driver-performscan','DOWNLOAD',':idle-timeout','sdk:driver','sdk:testhub','SDK_AUTOMATE','SDK_PROXY_SETUP','HOOK_EVENTS','TURBOSCALE_EVENTS',':pre-execute','SDK_DRIVER',':before-each','GENERATE_CI_ARTIFACT','sdk:automationFrameworkInit','sdk:observabilityConfig','SCREENSHOT','TESTHUB_EVENTS','DRIVER_MANAGE',':driver-takeScreenShot','PRE_EXECUTE','STOP','HUB_MANAGEMENT','sdk:app-automate','1647196JxIRJv','SDK_SETUP','3caWwsJ','sdk:cli:on-stop','PERCY_EVENTS','SDK_O11Y','SDK_AUTOMATION_FRAMEWORK_STOP','POST_EXECUTE','SNAPSHOT','TAKE_SCREENSHOT','SDK_PRE_INITIALIZE',':session-annotation','SDK_POST_INITIALIZE','sdk:turboscale','SDK_AUTOMATION_FRAMEWORK_START','SDK_CLI_CHECK_UPDATE','sdk:proxy-setup','sdk:automate','sdk:cli:on-connect',':driver-manage','SDK_A11Y',':screenshot-app','488mnhbzt','SDK_TEST_SESSION_EVENT','sdk:accessibilityConfig',':after','DRIVER_EVENT','EVENTS','sdk:cli:check-update','11NvLpZY',':download',':save-results','sdk:automationFrameworkStop','4545667bGgzKT','sdk:test','sdk:hook','SDK_CLI_ON_CONNECT','SAVE_RESULTS','APP_AUOTMATE_EVENTS','sdk:cli:download','sdk:onStop','LOCAL_STOP','SDK_CLI_LOG_CREATED_EVENT',':get-accessibility-results','PERFORM_SCAN',':local-start','SDK_CLI_ON_STOP','sdk:pre-test','SDK_HOOK',':after-each','A11Y_EVENTS','98HKjdXf',':quit','sdk:cli:on-bootstrap','AUTOMATE_EVENTS','sdk:connectBinSession','SDK_AI_SELF_HEAL_STEP','SDK_AUTO_CAPTURE','AFTER_EACH','PRINT_BUILDLINK','45LewpQi','sdk:aiSelfHealGetResult','SDK_TURBOSCALE','SDK_AI_SELF_HEAL_GET_RESULT',':get-accessibility-results-summary'];a126_0x3575=function(){return _0x203403;};return a126_0x3575();}a126_0x246744[a126_0x2b6504(0x1b6)]=a126_0x2b6504(0x19b),a126_0x246744[a126_0x2b6504(0x19c)]=a126_0x2b6504(0x212),a126_0x246744['SDK_PRE_TEST']=a126_0x2b6504(0x1e4),a126_0x246744['SDK_TEST']=a126_0x2b6504(0x1d7),a126_0x246744[a126_0x2b6504(0x204)]='sdk:post-test',a126_0x246744[a126_0x2b6504(0x1e5)]=a126_0x2b6504(0x1d8),a126_0x246744['SDK_DRIVER']=a126_0x2b6504(0x1a1),a126_0x246744[a126_0x2b6504(0x1c9)]=a126_0x2b6504(0x208),a126_0x246744[a126_0x2b6504(0x1ba)]='sdk:o11y',a126_0x246744[a126_0x2b6504(0x1ee)]=a126_0x2b6504(0x201),a126_0x246744[a126_0x2b6504(0x1a4)]=a126_0x2b6504(0x1c5),a126_0x246744[a126_0x2b6504(0x1fe)]=a126_0x2b6504(0x1a2),a126_0x246744[a126_0x2b6504(0x1a3)]=a126_0x2b6504(0x1c6),a126_0x246744[a126_0x2b6504(0x215)]=a126_0x2b6504(0x1b4),a126_0x246744[a126_0x2b6504(0x1f3)]=a126_0x2b6504(0x1c2),a126_0x246744['SDK_PERCY']=a126_0x2b6504(0x19a),a126_0x246744[a126_0x2b6504(0x1bf)]='sdk:driver:pre-initialization',a126_0x246744[a126_0x2b6504(0x1c1)]=a126_0x2b6504(0x1fc),a126_0x246744['SDK_CLI_START']='sdk:cli:start',a126_0x246744[a126_0x2b6504(0x210)]=a126_0x2b6504(0x1dc),a126_0x246744[a126_0x2b6504(0x1c4)]=a126_0x2b6504(0x1d1),a126_0x246744['SDK_CLI_ON_BOOTSTRAP']=a126_0x2b6504(0x1ea),a126_0x246744[a126_0x2b6504(0x1d9)]=a126_0x2b6504(0x1c7),a126_0x246744[a126_0x2b6504(0x1e3)]=a126_0x2b6504(0x1b8),a126_0x246744[a126_0x2b6504(0x199)]='sdk:startBinSession',a126_0x246744[a126_0x2b6504(0x1fb)]=a126_0x2b6504(0x1ec),a126_0x246744['SDK_DRIVER_INIT']='sdk:driverInit',a126_0x246744['SDK_FIND_NEAREST_HUB']=a126_0x2b6504(0x209),a126_0x246744[a126_0x2b6504(0x20f)]=a126_0x2b6504(0x1ab),a126_0x246744[a126_0x2b6504(0x1c3)]=a126_0x2b6504(0x196),a126_0x246744[a126_0x2b6504(0x20a)]=a126_0x2b6504(0x1cd),a126_0x246744[a126_0x2b6504(0x20c)]=a126_0x2b6504(0x1ac),a126_0x246744[a126_0x2b6504(0x1ed)]='sdk:aiSelfHealStep',a126_0x246744[a126_0x2b6504(0x1f4)]=a126_0x2b6504(0x1f2),a126_0x246744['SDK_TEST_FRAMEWORK_EVENT']=a126_0x2b6504(0x20d),a126_0x246744[a126_0x2b6504(0x1cc)]='sdk:testSessionEvent',a126_0x246744[a126_0x2b6504(0x1df)]=a126_0x2b6504(0x20b),a126_0x246744[a126_0x2b6504(0x202)]=a126_0x2b6504(0x211),a126_0x246744[a126_0x2b6504(0x1bb)]=a126_0x2b6504(0x1d5),a126_0x246744[a126_0x2b6504(0x213)]=a126_0x2b6504(0x1dd);const SDK_EVENTS=a126_0x246744,a126_0x4fac2a={};a126_0x4fac2a[a126_0x2b6504(0x1d0)]=SDK_EVENTS,a126_0x4fac2a[a126_0x2b6504(0x1ae)]={},a126_0x4fac2a[a126_0x2b6504(0x1eb)]={},a126_0x4fac2a[a126_0x2b6504(0x1e7)]={},a126_0x4fac2a[a126_0x2b6504(0x1b9)]={},a126_0x4fac2a[a126_0x2b6504(0x195)]={},a126_0x4fac2a[a126_0x2b6504(0x1a5)]={},a126_0x4fac2a[a126_0x2b6504(0x1a6)]={},a126_0x4fac2a[a126_0x2b6504(0x1db)]={},a126_0x4fac2a[a126_0x2b6504(0x1cf)]={},a126_0x4fac2a[a126_0x2b6504(0x1ae)][a126_0x2b6504(0x1f9)]=SDK_EVENTS[a126_0x2b6504(0x1fe)]+':start',a126_0x4fac2a[a126_0x2b6504(0x1ae)][a126_0x2b6504(0x1b2)]=SDK_EVENTS[a126_0x2b6504(0x1fe)]+':stop',a126_0x4fac2a[a126_0x2b6504(0x1eb)][a126_0x2b6504(0x200)]=SDK_EVENTS['SDK_AUTOMATE']+':keep-alive',a126_0x4fac2a[a126_0x2b6504(0x1eb)][a126_0x2b6504(0x1b3)]=SDK_EVENTS[a126_0x2b6504(0x1a3)]+a126_0x2b6504(0x21b),a126_0x4fac2a[a126_0x2b6504(0x1eb)]['LOCAL_START']=SDK_EVENTS[a126_0x2b6504(0x1a3)]+a126_0x2b6504(0x1e2),a126_0x4fac2a[a126_0x2b6504(0x1eb)][a126_0x2b6504(0x1de)]=SDK_EVENTS['SDK_AUTOMATE']+':local-stop',a126_0x4fac2a[a126_0x2b6504(0x1eb)][a126_0x2b6504(0x1af)]=SDK_EVENTS['SDK_AUTOMATE']+a126_0x2b6504(0x1c8),a126_0x4fac2a[a126_0x2b6504(0x1eb)]['SESSION_NAME']=SDK_EVENTS[a126_0x2b6504(0x1a3)]+a126_0x2b6504(0x1f7),a126_0x4fac2a[a126_0x2b6504(0x1eb)][a126_0x2b6504(0x193)]=SDK_EVENTS['SDK_AUTOMATE']+':session-status',a126_0x4fac2a[a126_0x2b6504(0x1eb)]['SESSION_ANNOTATION']=SDK_EVENTS['SDK_AUTOMATE']+a126_0x2b6504(0x1c0),a126_0x4fac2a[a126_0x2b6504(0x1eb)][a126_0x2b6504(0x1f8)]=SDK_EVENTS['SDK_AUTOMATE']+a126_0x2b6504(0x1a0),a126_0x4fac2a[a126_0x2b6504(0x1eb)][a126_0x2b6504(0x1aa)]=SDK_EVENTS['SDK_AUTOMATE']+a126_0x2b6504(0x194),a126_0x4fac2a[a126_0x2b6504(0x1eb)][a126_0x2b6504(0x1f0)]=SDK_EVENTS[a126_0x2b6504(0x1a3)]+a126_0x2b6504(0x21a),a126_0x4fac2a[a126_0x2b6504(0x1e7)][a126_0x2b6504(0x1e1)]=SDK_EVENTS[a126_0x2b6504(0x1c9)]+a126_0x2b6504(0x19e),a126_0x4fac2a[a126_0x2b6504(0x1e7)][a126_0x2b6504(0x1da)]=SDK_EVENTS[a126_0x2b6504(0x1c9)]+a126_0x2b6504(0x1d4),a126_0x4fac2a[a126_0x2b6504(0x1e7)][a126_0x2b6504(0x20e)]=SDK_EVENTS[a126_0x2b6504(0x1c9)]+a126_0x2b6504(0x1e0),a126_0x4fac2a[a126_0x2b6504(0x1e7)]['GET_RESULTS_SUMMARY']=SDK_EVENTS['SDK_A11Y']+a126_0x2b6504(0x1f5),a126_0x4fac2a[a126_0x2b6504(0x1b9)][a126_0x2b6504(0x19f)]=SDK_EVENTS[a126_0x2b6504(0x19d)]+a126_0x2b6504(0x1d3),a126_0x4fac2a[a126_0x2b6504(0x1b9)][a126_0x2b6504(0x1ad)]=SDK_EVENTS[a126_0x2b6504(0x19d)]+':screenshot',a126_0x4fac2a[a126_0x2b6504(0x1b9)][a126_0x2b6504(0x1f9)]=SDK_EVENTS[a126_0x2b6504(0x19d)]+':start',a126_0x4fac2a[a126_0x2b6504(0x1b9)][a126_0x2b6504(0x1b2)]=SDK_EVENTS[a126_0x2b6504(0x19d)]+':stop',a126_0x4fac2a[a126_0x2b6504(0x1b9)]['AUTO_CAPTURE']=SDK_EVENTS[a126_0x2b6504(0x19d)]+a126_0x2b6504(0x205),a126_0x4fac2a[a126_0x2b6504(0x1b9)][a126_0x2b6504(0x1bd)]=SDK_EVENTS[a126_0x2b6504(0x19d)]+':snapshot',a126_0x4fac2a[a126_0x2b6504(0x1b9)]['SCREENSHOT_APP']=SDK_EVENTS[a126_0x2b6504(0x19d)]+a126_0x2b6504(0x1ca),a126_0x4fac2a[a126_0x2b6504(0x195)]['SYNC']=SDK_EVENTS[a126_0x2b6504(0x1ba)]+':sync',a126_0x4fac2a[a126_0x2b6504(0x195)][a126_0x2b6504(0x1be)]=SDK_EVENTS[a126_0x2b6504(0x1ba)]+a126_0x2b6504(0x1b0),a126_0x4fac2a[a126_0x2b6504(0x195)]['PRINT_BUILDLINK']=SDK_EVENTS[a126_0x2b6504(0x1ba)]+':print-buildlink',a126_0x4fac2a[a126_0x2b6504(0x1a5)]['BEFORE_EACH']=SDK_EVENTS[a126_0x2b6504(0x1e5)]+a126_0x2b6504(0x1a9),a126_0x4fac2a[a126_0x2b6504(0x1a5)][a126_0x2b6504(0x1ef)]=SDK_EVENTS[a126_0x2b6504(0x1e5)]+a126_0x2b6504(0x1e6),a126_0x4fac2a[a126_0x2b6504(0x1a5)][a126_0x2b6504(0x216)]=SDK_EVENTS[a126_0x2b6504(0x1e5)]+a126_0x2b6504(0x214),a126_0x4fac2a[a126_0x2b6504(0x1a5)][a126_0x2b6504(0x1fd)]=SDK_EVENTS[a126_0x2b6504(0x1e5)]+a126_0x2b6504(0x217),a126_0x4fac2a[a126_0x2b6504(0x1a5)]['BEFORE']=SDK_EVENTS[a126_0x2b6504(0x1e5)]+':before',a126_0x4fac2a[a126_0x2b6504(0x1a5)]['AFTER']=SDK_EVENTS[a126_0x2b6504(0x1e5)]+a126_0x2b6504(0x1ce),a126_0x4fac2a[a126_0x2b6504(0x1a6)][a126_0x2b6504(0x1b3)]=SDK_EVENTS[a126_0x2b6504(0x1f3)]+a126_0x2b6504(0x21b),a126_0x4fac2a[a126_0x2b6504(0x1a6)]['PRINT_BUILDLINK']=SDK_EVENTS[a126_0x2b6504(0x1f3)]+':print-buildlink',a126_0x4fac2a[a126_0x2b6504(0x1db)][a126_0x2b6504(0x197)]=SDK_EVENTS[a126_0x2b6504(0x215)]+a126_0x2b6504(0x1fa),a126_0x4fac2a[a126_0x2b6504(0x1cf)][a126_0x2b6504(0x206)]=SDK_EVENTS[a126_0x2b6504(0x1a8)]+a126_0x2b6504(0x1e9),a126_0x4fac2a[a126_0x2b6504(0x1cf)][a126_0x2b6504(0x198)]=SDK_EVENTS['SDK_DRIVER']+':get',a126_0x4fac2a[a126_0x2b6504(0x1cf)][a126_0x2b6504(0x1b1)]=SDK_EVENTS[a126_0x2b6504(0x1a8)]+a126_0x2b6504(0x1a7),a126_0x4fac2a[a126_0x2b6504(0x1cf)][a126_0x2b6504(0x1bc)]=SDK_EVENTS[a126_0x2b6504(0x1a8)]+a126_0x2b6504(0x203),module['exports']=a126_0x4fac2a;
1
+ const a126_0xfd6e2e=a126_0x3925;function a126_0x3925(_0x33e5dd,_0x29647e){const _0x1abeb0=a126_0x1abe();return a126_0x3925=function(_0x3925d4,_0xfee53d){_0x3925d4=_0x3925d4-0xbc;let _0x19e223=_0x1abeb0[_0x3925d4];return _0x19e223;},a126_0x3925(_0x33e5dd,_0x29647e);}(function(_0x58c4d1,_0x2cf064){const _0x4d4f85=a126_0x3925,_0xb2fda2=_0x58c4d1();while(!![]){try{const _0x461a9c=parseInt(_0x4d4f85(0xec))/0x1*(-parseInt(_0x4d4f85(0x147))/0x2)+-parseInt(_0x4d4f85(0xc4))/0x3*(parseInt(_0x4d4f85(0x105))/0x4)+-parseInt(_0x4d4f85(0x12b))/0x5*(parseInt(_0x4d4f85(0x11c))/0x6)+parseInt(_0x4d4f85(0x13c))/0x7+parseInt(_0x4d4f85(0x142))/0x8*(parseInt(_0x4d4f85(0x124))/0x9)+parseInt(_0x4d4f85(0x10a))/0xa+parseInt(_0x4d4f85(0xe3))/0xb*(-parseInt(_0x4d4f85(0x144))/0xc);if(_0x461a9c===_0x2cf064)break;else _0xb2fda2['push'](_0xb2fda2['shift']());}catch(_0xb39872){_0xb2fda2['push'](_0xb2fda2['shift']());}}}(a126_0x1abe,0x1f14d));const a126_0x2c1892={};function a126_0x1abe(){const _0x235d2d=['6425TTVYAq',':idle-timeout','BEFORE','SDK_AI_SELF_HEAL_GET_RESULT','LOCAL_START',':sync','TURBOSCALE_EVENTS','sdk:automationFrameworkInit',':app-upload','HOOK_EVENTS','sdk:setup','sdk:automationFrameworkStart','sdk:automationFrameworkStop',':after','SDK_AUTOMATION_FRAMEWORK_INIT','GENERATE_CI_ARTIFACT','IDLE_TIMEOUT','419951HioQBk',':start','SDK_TEST','sdk:aiSelfHealGetResult','SDK_CLI_DOWNLOAD','POST_EXECUTE','8JnTZxh','SDK_POST_TEST','108zsibGe','SDK_CLI_ON_STOP',':get-accessibility-results-summary','2wsMOCb','sdk:a11y','SDK_PROXY_SETUP','SCREENSHOT_APP','sdk:cleanup','AFTER_EACH','DRIVER_EVENT','O11y_EVENTS','sdk:driver:pre-initialization','sdk:cli:download','SDK_O11Y','48JnKbSh','SDK_AUTOMATE','sdk:hook','STOP','sdk:automate','sdk:cli:on-bootstrap',':local-stop','SYNC','AUTOMATE_EVENTS',':screenshot','PERCY_EVENTS','SDK_CLI_ON_CONNECT','SDK_CLI_CHECK_UPDATE',':stop',':before',':before-each','QUIT','SDK_CLI_ENQUEUE_TEST_EVENT','AFTER','sdk:aiSelfHealStep','PRE_EXECUTE','sdk:testSessionEvent','sdk:driver','sdk:test','sdk:turboscale','SDK_CLI_LOG_CREATED_EVENT','sdk:proxy-setup','GET_RESULTS',':driver-manage','START','sdk:o11y','53218NCyvyK','APP_AUOTMATE_EVENTS','sdk:app-automate','LOCAL_STOP',':local-start','SDK_PRE_INITIALIZE','BEFORE_ALL','SDK_HOOK','PRINT_BUILDLINK','51043qrmWCg','DOWNLOAD','sdk:cli:on-stop',':after-all','SDK_TESTHUB','SDK_APP_AUTOMATE','SNAPSHOT','sdk:findNearestHub','SDK_ACCESSIBILITY_CONFIG','BEFORE_EACH','sdk:driver:post-initialization','sdk:cli:enqueueTestEvent','SDK_CONNECT_BIN_SESSION',':session-status','SDK_SETUP','SDK_POST_INITIALIZE','sdk:testFrameworkEvent','SDK_PERCY',':hub-management','SESSION_ANNOTATION','HUB_MANAGEMENT','SDK_CLEANUP','sdk:startBinSession','SDK_DRIVER_INIT','SDK_CLI_START','35384cJFcnx','SDK_A11Y','A11Y_EVENTS',':before-all','SDK_CLI_ON_BOOTSTRAP','2308680kaBvoz','SDK_ON_STOP','sdk:cli:start','PERFORM_SCAN','sdk:testhub',':get','sdk:cli:logCreatedEvent',':print-buildlink','TAKE_SCREENSHOT','SDK_AUTOMATION_FRAMEWORK_START',':auto-capture','sdk:cli:check-update','sdk:auto-capture','SDK_OBSERVABILITY_CONFIG','sdk:accessibilityConfig','SESSION_NAME','sdk:post-test','SDK_TURBOSCALE','354jSgAop','SESSION_STATUS','EVENTS','SDK_AUTOMATION_FRAMEWORK_STOP',':after-each','KEEP_ALIVE','sdk:connectBinSession','SDK_AI_SELF_HEAL_STEP','1335456gbHvre','SDK_DRIVER','TESTHUB_EVENTS','sdk:cli:on-connect',':session-annotation','APP_UPLOAD',':save-results'];a126_0x1abe=function(){return _0x235d2d;};return a126_0x1abe();}a126_0x2c1892[a126_0xfd6e2e(0xfa)]=a126_0xfd6e2e(0x135),a126_0x2c1892[a126_0xfd6e2e(0x101)]=a126_0xfd6e2e(0xbd),a126_0x2c1892['SDK_PRE_TEST']='sdk:pre-test',a126_0x2c1892[a126_0xfd6e2e(0x13e)]=a126_0xfd6e2e(0xdb),a126_0x2c1892[a126_0xfd6e2e(0x143)]=a126_0xfd6e2e(0x11a),a126_0x2c1892[a126_0xfd6e2e(0xea)]=a126_0xfd6e2e(0xc6),a126_0x2c1892[a126_0xfd6e2e(0x125)]=a126_0xfd6e2e(0xda),a126_0x2c1892['SDK_A11Y']=a126_0xfd6e2e(0x148),a126_0x2c1892[a126_0xfd6e2e(0xc3)]=a126_0xfd6e2e(0xe2),a126_0x2c1892['SDK_AUTO_CAPTURE']=a126_0xfd6e2e(0x116),a126_0x2c1892[a126_0xfd6e2e(0x149)]=a126_0xfd6e2e(0xde),a126_0x2c1892['SDK_TESTHUB']=a126_0xfd6e2e(0x10e),a126_0x2c1892['SDK_AUTOMATE']=a126_0xfd6e2e(0xc8),a126_0x2c1892[a126_0xfd6e2e(0xf1)]=a126_0xfd6e2e(0xe5),a126_0x2c1892[a126_0xfd6e2e(0x11b)]=a126_0xfd6e2e(0xdc),a126_0x2c1892[a126_0xfd6e2e(0xfd)]='sdk:percy',a126_0x2c1892[a126_0xfd6e2e(0xe8)]=a126_0xfd6e2e(0xc1),a126_0x2c1892[a126_0xfd6e2e(0xfb)]=a126_0xfd6e2e(0xf6),a126_0x2c1892[a126_0xfd6e2e(0x104)]=a126_0xfd6e2e(0x10c),a126_0x2c1892[a126_0xfd6e2e(0x140)]=a126_0xfd6e2e(0xc2),a126_0x2c1892[a126_0xfd6e2e(0xd0)]=a126_0xfd6e2e(0x115),a126_0x2c1892[a126_0xfd6e2e(0x109)]=a126_0xfd6e2e(0xc9),a126_0x2c1892[a126_0xfd6e2e(0xcf)]=a126_0xfd6e2e(0x127),a126_0x2c1892[a126_0xfd6e2e(0x145)]=a126_0xfd6e2e(0xee),a126_0x2c1892['SDK_START_BIN_SESSION']=a126_0xfd6e2e(0x102),a126_0x2c1892[a126_0xfd6e2e(0xf8)]=a126_0xfd6e2e(0x122),a126_0x2c1892[a126_0xfd6e2e(0x103)]='sdk:driverInit',a126_0x2c1892['SDK_FIND_NEAREST_HUB']=a126_0xfd6e2e(0xf3),a126_0x2c1892[a126_0xfd6e2e(0x139)]=a126_0xfd6e2e(0x132),a126_0x2c1892[a126_0xfd6e2e(0x113)]=a126_0xfd6e2e(0x136),a126_0x2c1892[a126_0xfd6e2e(0xf4)]=a126_0xfd6e2e(0x118),a126_0x2c1892[a126_0xfd6e2e(0x117)]='sdk:observabilityConfig',a126_0x2c1892[a126_0xfd6e2e(0x123)]=a126_0xfd6e2e(0xd7),a126_0x2c1892[a126_0xfd6e2e(0x12e)]=a126_0xfd6e2e(0x13f),a126_0x2c1892['SDK_TEST_FRAMEWORK_EVENT']=a126_0xfd6e2e(0xfc),a126_0x2c1892['SDK_TEST_SESSION_EVENT']=a126_0xfd6e2e(0xd9),a126_0x2c1892[a126_0xfd6e2e(0xdd)]=a126_0xfd6e2e(0x110),a126_0x2c1892[a126_0xfd6e2e(0xd5)]=a126_0xfd6e2e(0xf7),a126_0x2c1892[a126_0xfd6e2e(0x11f)]=a126_0xfd6e2e(0x137),a126_0x2c1892[a126_0xfd6e2e(0x10b)]='sdk:onStop';const SDK_EVENTS=a126_0x2c1892,a126_0x3acf50={};a126_0x3acf50[a126_0xfd6e2e(0x11e)]=SDK_EVENTS,a126_0x3acf50[a126_0xfd6e2e(0x126)]={},a126_0x3acf50[a126_0xfd6e2e(0xcc)]={},a126_0x3acf50[a126_0xfd6e2e(0x107)]={},a126_0x3acf50[a126_0xfd6e2e(0xce)]={},a126_0x3acf50[a126_0xfd6e2e(0xc0)]={},a126_0x3acf50[a126_0xfd6e2e(0x134)]={},a126_0x3acf50[a126_0xfd6e2e(0x131)]={},a126_0x3acf50[a126_0xfd6e2e(0xe4)]={},a126_0x3acf50[a126_0xfd6e2e(0xbf)]={},a126_0x3acf50[a126_0xfd6e2e(0x126)][a126_0xfd6e2e(0xe1)]=SDK_EVENTS[a126_0xfd6e2e(0xf0)]+a126_0xfd6e2e(0x13d),a126_0x3acf50[a126_0xfd6e2e(0x126)][a126_0xfd6e2e(0xc7)]=SDK_EVENTS['SDK_TESTHUB']+a126_0xfd6e2e(0xd1),a126_0x3acf50[a126_0xfd6e2e(0xcc)][a126_0xfd6e2e(0x121)]=SDK_EVENTS['SDK_AUTOMATE']+':keep-alive',a126_0x3acf50[a126_0xfd6e2e(0xcc)][a126_0xfd6e2e(0x100)]=SDK_EVENTS[a126_0xfd6e2e(0xc5)]+a126_0xfd6e2e(0xfe),a126_0x3acf50[a126_0xfd6e2e(0xcc)][a126_0xfd6e2e(0x12f)]=SDK_EVENTS[a126_0xfd6e2e(0xc5)]+a126_0xfd6e2e(0xe7),a126_0x3acf50[a126_0xfd6e2e(0xcc)][a126_0xfd6e2e(0xe6)]=SDK_EVENTS[a126_0xfd6e2e(0xc5)]+a126_0xfd6e2e(0xca),a126_0x3acf50[a126_0xfd6e2e(0xcc)]['DRIVER_MANAGE']=SDK_EVENTS[a126_0xfd6e2e(0xc5)]+a126_0xfd6e2e(0xe0),a126_0x3acf50[a126_0xfd6e2e(0xcc)][a126_0xfd6e2e(0x119)]=SDK_EVENTS['SDK_AUTOMATE']+':session-name',a126_0x3acf50[a126_0xfd6e2e(0xcc)][a126_0xfd6e2e(0x11d)]=SDK_EVENTS[a126_0xfd6e2e(0xc5)]+a126_0xfd6e2e(0xf9),a126_0x3acf50[a126_0xfd6e2e(0xcc)][a126_0xfd6e2e(0xff)]=SDK_EVENTS['SDK_AUTOMATE']+a126_0xfd6e2e(0x128),a126_0x3acf50[a126_0xfd6e2e(0xcc)][a126_0xfd6e2e(0x13b)]=SDK_EVENTS[a126_0xfd6e2e(0xc5)]+a126_0xfd6e2e(0x12c),a126_0x3acf50[a126_0xfd6e2e(0xcc)][a126_0xfd6e2e(0x13a)]=SDK_EVENTS[a126_0xfd6e2e(0xc5)]+':ci-artifacts',a126_0x3acf50[a126_0xfd6e2e(0xcc)][a126_0xfd6e2e(0xeb)]=SDK_EVENTS['SDK_AUTOMATE']+':print-buildlink',a126_0x3acf50[a126_0xfd6e2e(0x107)][a126_0xfd6e2e(0x10d)]=SDK_EVENTS[a126_0xfd6e2e(0x106)]+':driver-performscan',a126_0x3acf50[a126_0xfd6e2e(0x107)]['SAVE_RESULTS']=SDK_EVENTS[a126_0xfd6e2e(0x106)]+a126_0xfd6e2e(0x12a),a126_0x3acf50[a126_0xfd6e2e(0x107)][a126_0xfd6e2e(0xdf)]=SDK_EVENTS[a126_0xfd6e2e(0x106)]+':get-accessibility-results',a126_0x3acf50[a126_0xfd6e2e(0x107)]['GET_RESULTS_SUMMARY']=SDK_EVENTS['SDK_A11Y']+a126_0xfd6e2e(0x146),a126_0x3acf50[a126_0xfd6e2e(0xce)][a126_0xfd6e2e(0xed)]=SDK_EVENTS[a126_0xfd6e2e(0xfd)]+':download',a126_0x3acf50[a126_0xfd6e2e(0xce)]['SCREENSHOT']=SDK_EVENTS['SDK_PERCY']+a126_0xfd6e2e(0xcd),a126_0x3acf50[a126_0xfd6e2e(0xce)][a126_0xfd6e2e(0xe1)]=SDK_EVENTS[a126_0xfd6e2e(0xfd)]+a126_0xfd6e2e(0x13d),a126_0x3acf50[a126_0xfd6e2e(0xce)][a126_0xfd6e2e(0xc7)]=SDK_EVENTS[a126_0xfd6e2e(0xfd)]+a126_0xfd6e2e(0xd1),a126_0x3acf50[a126_0xfd6e2e(0xce)]['AUTO_CAPTURE']=SDK_EVENTS['SDK_PERCY']+a126_0xfd6e2e(0x114),a126_0x3acf50[a126_0xfd6e2e(0xce)][a126_0xfd6e2e(0xf2)]=SDK_EVENTS[a126_0xfd6e2e(0xfd)]+':snapshot',a126_0x3acf50[a126_0xfd6e2e(0xce)][a126_0xfd6e2e(0xbc)]=SDK_EVENTS['SDK_PERCY']+':screenshot-app',a126_0x3acf50[a126_0xfd6e2e(0xc0)][a126_0xfd6e2e(0xcb)]=SDK_EVENTS[a126_0xfd6e2e(0xc3)]+a126_0xfd6e2e(0x130),a126_0x3acf50[a126_0xfd6e2e(0xc0)][a126_0xfd6e2e(0x112)]=SDK_EVENTS[a126_0xfd6e2e(0xc3)]+':driver-takeScreenShot',a126_0x3acf50[a126_0xfd6e2e(0xc0)]['PRINT_BUILDLINK']=SDK_EVENTS[a126_0xfd6e2e(0xc3)]+':print-buildlink',a126_0x3acf50[a126_0xfd6e2e(0x134)][a126_0xfd6e2e(0xf5)]=SDK_EVENTS['SDK_HOOK']+a126_0xfd6e2e(0xd3),a126_0x3acf50[a126_0xfd6e2e(0x134)][a126_0xfd6e2e(0xbe)]=SDK_EVENTS[a126_0xfd6e2e(0xea)]+a126_0xfd6e2e(0x120),a126_0x3acf50[a126_0xfd6e2e(0x134)]['AFTER_ALL']=SDK_EVENTS[a126_0xfd6e2e(0xea)]+a126_0xfd6e2e(0xef),a126_0x3acf50[a126_0xfd6e2e(0x134)][a126_0xfd6e2e(0xe9)]=SDK_EVENTS[a126_0xfd6e2e(0xea)]+a126_0xfd6e2e(0x108),a126_0x3acf50[a126_0xfd6e2e(0x134)][a126_0xfd6e2e(0x12d)]=SDK_EVENTS[a126_0xfd6e2e(0xea)]+a126_0xfd6e2e(0xd2),a126_0x3acf50[a126_0xfd6e2e(0x134)][a126_0xfd6e2e(0xd6)]=SDK_EVENTS['SDK_HOOK']+a126_0xfd6e2e(0x138),a126_0x3acf50[a126_0xfd6e2e(0x131)][a126_0xfd6e2e(0x100)]=SDK_EVENTS[a126_0xfd6e2e(0x11b)]+a126_0xfd6e2e(0xfe),a126_0x3acf50[a126_0xfd6e2e(0x131)]['PRINT_BUILDLINK']=SDK_EVENTS['SDK_TURBOSCALE']+a126_0xfd6e2e(0x111),a126_0x3acf50[a126_0xfd6e2e(0xe4)][a126_0xfd6e2e(0x129)]=SDK_EVENTS[a126_0xfd6e2e(0xf1)]+a126_0xfd6e2e(0x133),a126_0x3acf50[a126_0xfd6e2e(0xbf)][a126_0xfd6e2e(0xd4)]=SDK_EVENTS['SDK_DRIVER']+':quit',a126_0x3acf50[a126_0xfd6e2e(0xbf)]['GET']=SDK_EVENTS[a126_0xfd6e2e(0x125)]+a126_0xfd6e2e(0x10f),a126_0x3acf50[a126_0xfd6e2e(0xbf)][a126_0xfd6e2e(0xd8)]=SDK_EVENTS[a126_0xfd6e2e(0x125)]+':pre-execute',a126_0x3acf50[a126_0xfd6e2e(0xbf)][a126_0xfd6e2e(0x141)]=SDK_EVENTS[a126_0xfd6e2e(0x125)]+':post-execute',module['exports']=a126_0x3acf50;