browserstack-node-sdk 1.40.7 → 1.40.8

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 (173) 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_before.setup.js +1 -1
  67. package/src/bin/launcher/launcher.js +1 -1
  68. package/src/bin/load/index.js +1 -1
  69. package/src/bin/load/loadUtils.js +1 -1
  70. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  71. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  72. package/src/bin/mocha/command.js +1 -1
  73. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  74. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  75. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  76. package/src/bin/mocha/test.setup.js +1 -1
  77. package/src/bin/nightwatch/command.js +1 -1
  78. package/src/bin/playwright/accessibility-helper.js +1 -1
  79. package/src/bin/playwright/command.js +1 -1
  80. package/src/bin/playwright/globalSetup.js +1 -1
  81. package/src/bin/playwright/mock-process.js +1 -1
  82. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  83. package/src/bin/playwright/patches.js +1 -1
  84. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  85. package/src/bin/playwright/reporter/reporter.js +1 -1
  86. package/src/bin/playwright/reporter/test-details.js +1 -1
  87. package/src/bin/playwright/sessionDetails.js +1 -1
  88. package/src/bin/runner.js +1 -1
  89. package/src/bin/setup.js +1 -1
  90. package/src/bin/test-runner/index.js +1 -1
  91. package/src/bin/test-runner/runTest.js +1 -1
  92. package/src/bin/test-runner/testWorker.js +1 -1
  93. package/src/bin/utils/constants.js +1 -1
  94. package/src/bin/utils/log4jsAppender.js +1 -1
  95. package/src/bin/utils/logPatcher.js +1 -1
  96. package/src/bin/utils/logReportingAPI.js +1 -1
  97. package/src/bin/v2/TestInfo.js +1 -1
  98. package/src/bin/v2/browserstackCLI.js +1 -1
  99. package/src/bin/v2/cliUtils.js +1 -1
  100. package/src/bin/v2/customTagManager.js +1 -1
  101. package/src/bin/v2/eventDispatcher.js +1 -1
  102. package/src/bin/v2/framework/automationFramework.js +1 -1
  103. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  104. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  105. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  106. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  107. package/src/bin/v2/framework/testFramework.js +1 -1
  108. package/src/bin/v2/grpcClient.js +1 -1
  109. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  110. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  111. package/src/bin/v2/instances/trackedContext.js +1 -1
  112. package/src/bin/v2/instances/trackedInstance.js +1 -1
  113. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  114. package/src/bin/v2/modules/baseModule.js +1 -1
  115. package/src/bin/v2/modules/observabilityModule.js +1 -1
  116. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  117. package/src/bin/v2/modules/testhubModule.js +1 -1
  118. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  119. package/src/bin/v2/state/hookState.js +1 -1
  120. package/src/bin/v2/state/testFrameworkState.js +1 -1
  121. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  122. package/src/bin/vanilla-js/command.js +1 -1
  123. package/src/browserStackSdk.js +1 -1
  124. package/src/helpers/BrowserStackSetup.js +1 -1
  125. package/src/helpers/accessibility-automation/constants.js +1 -1
  126. package/src/helpers/accessibility-automation/helper.js +1 -1
  127. package/src/helpers/accessibility-automation/scripts.js +1 -1
  128. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  129. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  130. package/src/helpers/ats/constants.js +1 -1
  131. package/src/helpers/ats/helper.js +1 -1
  132. package/src/helpers/capsMapping.js +1 -1
  133. package/src/helpers/central-scanner/constants.js +1 -1
  134. package/src/helpers/central-scanner/helpers.js +1 -1
  135. package/src/helpers/classLogger.js +1 -1
  136. package/src/helpers/globals.js +1 -1
  137. package/src/helpers/helper.js +1 -1
  138. package/src/helpers/logger.js +1 -1
  139. package/src/helpers/metadata.js +1 -1
  140. package/src/helpers/patchHelper.js +1 -1
  141. package/src/helpers/patchHelpers.js +1 -1
  142. package/src/helpers/percy/Percy.js +1 -1
  143. package/src/helpers/percy/PercyBinary.js +1 -1
  144. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  145. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  146. package/src/helpers/percy/PercySDK.js +1 -1
  147. package/src/helpers/percy/index.js +1 -1
  148. package/src/helpers/percy/utils.js +1 -1
  149. package/src/helpers/performance/constants.js +1 -1
  150. package/src/helpers/performance/performance-tester.js +1 -1
  151. package/src/helpers/processHelper.js +1 -1
  152. package/src/helpers/request-spy.js +1 -1
  153. package/src/helpers/setKeepAlive.js +1 -1
  154. package/src/helpers/test-observability/constants.js +1 -1
  155. package/src/helpers/test-observability/error-handler.js +1 -1
  156. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  157. package/src/helpers/test-observability/sessionHandler.js +1 -1
  158. package/src/helpers/test-observability/utils.js +1 -1
  159. package/src/helpers/test-orchestration/constants.js +1 -1
  160. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  161. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  162. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  163. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  164. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  165. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  166. package/src/helpers/testhub/constants.js +1 -1
  167. package/src/helpers/testhub/testhubHandler.js +1 -1
  168. package/src/helpers/testhub/utils.js +1 -1
  169. package/src/helpers/timeoutPromise.js +1 -1
  170. package/src/helpers/utilities.js +1 -1
  171. package/src/helpers/w3cMapping.js +1 -1
  172. package/src/hubAllocationMethods.js +1 -1
  173. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a97_0x4aafdd=a97_0x4e72;(function(_0x4026d9,_0x2fe8fc){const _0x3075e1=a97_0x4e72,_0x5b3b10=_0x4026d9();while(!![]){try{const _0x5360a3=-parseInt(_0x3075e1(0x1e9))/0x1+-parseInt(_0x3075e1(0x1cc))/0x2*(parseInt(_0x3075e1(0x1e0))/0x3)+parseInt(_0x3075e1(0x1fb))/0x4*(-parseInt(_0x3075e1(0x1d9))/0x5)+parseInt(_0x3075e1(0x1ef))/0x6*(-parseInt(_0x3075e1(0x202))/0x7)+parseInt(_0x3075e1(0x1da))/0x8*(-parseInt(_0x3075e1(0x1ea))/0x9)+parseInt(_0x3075e1(0x1dc))/0xa*(parseInt(_0x3075e1(0x1d2))/0xb)+parseInt(_0x3075e1(0x1de))/0xc*(parseInt(_0x3075e1(0x1c7))/0xd);if(_0x5360a3===_0x2fe8fc)break;else _0x5b3b10['push'](_0x5b3b10['shift']());}catch(_0x25f0eb){_0x5b3b10['push'](_0x5b3b10['shift']());}}}(a97_0x5539,0x66451));const winston=require(a97_0x4aafdd(0x1c5)),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require('../bin/utils/constants'),tempLogDir=a97_0x4aafdd(0x1d8),logFormat=winston[a97_0x4aafdd(0x1c0)](_0x392162=>{const _0x59eaac=a97_0x4aafdd,_0x936a20={};_0x936a20[_0x59eaac(0x1f6)]=function(_0x1ef2f4,_0x423e1c){return _0x1ef2f4!==_0x423e1c;},_0x936a20[_0x59eaac(0x1e4)]='string',_0x936a20['JGiuW']=function(_0x13ee0a,_0x243b57){return _0x13ee0a===_0x243b57;},_0x936a20[_0x59eaac(0x1db)]=_0x59eaac(0x1d0),_0x936a20['OMcig']=function(_0x3ad7d4,_0x541935){return _0x3ad7d4===_0x541935;};const _0xf2bd8e=_0x936a20;return _0xf2bd8e['BqLdP'](typeof _0x392162[_0x59eaac(0x1d1)],_0xf2bd8e[_0x59eaac(0x1e4)])&&(_0x392162['message']=JSON[_0x59eaac(0x1d3)](_0x392162['message'])),global[_0x59eaac(0x203)]?.[_0x59eaac(0x1f3)]?.[_0x59eaac(0x1ca)]&&_0xf2bd8e[_0x59eaac(0x1ff)](typeof _0x392162[_0x59eaac(0x1d1)],_0xf2bd8e[_0x59eaac(0x1e4)])&&(_0x392162[_0x59eaac(0x1d1)]=_0x392162[_0x59eaac(0x1d1)]['replace'](new RegExp(global[_0x59eaac(0x203)][_0x59eaac(0x1f3)]['userName'],'g'),_0xf2bd8e[_0x59eaac(0x1db)])),global[_0x59eaac(0x203)]?.['config']?.[_0x59eaac(0x1cd)]&&_0xf2bd8e[_0x59eaac(0x1c6)](typeof _0x392162[_0x59eaac(0x1d1)],_0xf2bd8e['gcNjK'])&&(_0x392162[_0x59eaac(0x1d1)]=_0x392162['message'][_0x59eaac(0x1d5)](new RegExp(global[_0x59eaac(0x203)][_0x59eaac(0x1f3)]['accessKey'],'g'),_0xf2bd8e['feCDn'])),_0x392162;}),fetchLogDir=()=>{const _0x2eaec8=a97_0x4aafdd;if(process[_0x2eaec8(0x1eb)][_0x2eaec8(0x207)])return process[_0x2eaec8(0x1eb)][_0x2eaec8(0x207)];else!fs['existsSync'](tempLogDir)&&fs['mkdirSync'](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),a97_0x19ec73={};a97_0x19ec73['name']=a97_0x4aafdd(0x1fa);const transports={'loggerConsole':new winston[(a97_0x4aafdd(0x1fc))][(a97_0x4aafdd(0x1fd))](a97_0x19ec73),'loggerFile':new winston[(a97_0x4aafdd(0x1fc))][(a97_0x4aafdd(0x1fe))]({'filename':path[a97_0x4aafdd(0x1f7)](logDir,a97_0x4aafdd(0x1f4))}),'debugLoggerFile':new winston['transports'][(a97_0x4aafdd(0x1fe))]({'filename':path[a97_0x4aafdd(0x1f7)](logDir,a97_0x4aafdd(0x1cb)),'level':'silly'}),'debugCliLoggerFile':new winston[(a97_0x4aafdd(0x1fc))][(a97_0x4aafdd(0x1fe))]({'filename':path[a97_0x4aafdd(0x1f7)](logDir,a97_0x4aafdd(0x1bf)),'level':a97_0x4aafdd(0x1ce)})},automationTransports={};process[a97_0x4aafdd(0x1eb)][a97_0x4aafdd(0x1e2)]===a97_0x4aafdd(0x1f0)&&(automationTransports['automationLoggerFile']=new winston[(a97_0x4aafdd(0x1fc))]['File']({'filename':path['join'](logDir,a97_0x4aafdd(0x1f9)),'level':a97_0x4aafdd(0x1ce)}));transports[a97_0x4aafdd(0x204)]['on']('error',_0x2d89f1=>{const _0x538c00=a97_0x4aafdd,_0x14546f={};_0x14546f[_0x538c00(0x1e3)]=function(_0x5c17ea,_0xcad603){return _0x5c17ea===_0xcad603;},_0x14546f[_0x538c00(0x1ec)]='EPIPE',_0x14546f[_0x538c00(0x1f1)]=_0x538c00(0x1e1);const _0x3f0328=_0x14546f;if(_0x3f0328[_0x538c00(0x1e3)](_0x2d89f1[_0x538c00(0x1c3)],_0x3f0328[_0x538c00(0x1ec)])){console['log'](_0x3f0328[_0x538c00(0x1f1)],_0x2d89f1[_0x538c00(0x1d1)]);return;}throw _0x2d89f1;});const a97_0x2ad274={};a97_0x2ad274[a97_0x4aafdd(0x1c0)]='YYYY-MM-DD\x20HH:mm:ss';const a97_0x50c62f={};a97_0x50c62f[a97_0x4aafdd(0x1d4)]=!![];function a97_0x4e72(_0x33a76f,_0x66710e){const _0x5539d0=a97_0x5539();return a97_0x4e72=function(_0x4e723b,_0x557a97){_0x4e723b=_0x4e723b-0x1bf;let _0x28460f=_0x5539d0[_0x4e723b];return _0x28460f;},a97_0x4e72(_0x33a76f,_0x66710e);}const winstonLoggerParams={'format':winston['format'][a97_0x4aafdd(0x1d7)](winston[a97_0x4aafdd(0x1c0)][a97_0x4aafdd(0x1f2)](a97_0x2ad274),winston['format'][a97_0x4aafdd(0x1dd)](a97_0x50c62f),winston[a97_0x4aafdd(0x1c0)]['printf'](_0x3e1841=>_0x3e1841[a97_0x4aafdd(0x1f2)]+a97_0x4aafdd(0x1c1)+_0x3e1841[a97_0x4aafdd(0x1d4)]+':\x20'+_0x3e1841[a97_0x4aafdd(0x1d1)])),'transports':[transports[a97_0x4aafdd(0x204)]]},a97_0x2d1213={};a97_0x2d1213[a97_0x4aafdd(0x1c0)]='YYYY-MM-DD\x20HH:mm:ss';const a97_0x187c93={};function a97_0x5539(){const _0x4d603b=['true','HkzNU','timestamp','config','/usage.log','error','BqLdP','join','automationLogger','automation.log','console.info','8728pwuBpW','transports','Console','File','JGiuW','logDir','info','35uKNIJP','session','loggerConsole','oeAlB','getLogDir','BROWSERSTACK_INTERNAL_LOG_DIR','add','/sdk-cli-debug.log','format','\x20-\x20','debug','code','initialize','winston','OMcig','36884393cbRfEf','winstonLogger','createLogger','userName','/usage-debug.log','478492xmtVUe','accessKey','silly','fileLogger','[REDACTED]','message','106161jiimKn','stringify','level','replace','dCUxM','combine','log','1915IgVZIp','107088kwDMMz','feCDn','190KWGoSJ','colorize','12vIlrdG','printf','9WGolFa','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','BROWSERSTACK_AUTOMATION_LOGS','LaXNj','gcNjK','warn','loggerFile','split','debugLoggerFile','103810JSogOw','441jjHrYb','env','xgiNC','http','1|0|5|3|4|2','346278jlMbgR'];a97_0x5539=function(){return _0x4d603b;};return a97_0x5539();}a97_0x187c93[a97_0x4aafdd(0x1d4)]=!![];const winstonFileLoggerParams={'format':winston[a97_0x4aafdd(0x1c0)][a97_0x4aafdd(0x1d7)](winston[a97_0x4aafdd(0x1c0)][a97_0x4aafdd(0x1f2)](a97_0x2d1213),winston[a97_0x4aafdd(0x1c0)][a97_0x4aafdd(0x1dd)](a97_0x187c93),winston['format']['printf'](_0x3a43b1=>_0x3a43b1[a97_0x4aafdd(0x1d4)]+':\x20'+_0x3a43b1[a97_0x4aafdd(0x1d1)])),'transports':[]},a97_0x4cfc05={};a97_0x4cfc05[a97_0x4aafdd(0x1ed)]=()=>{},a97_0x4cfc05[a97_0x4aafdd(0x201)]=()=>{},a97_0x4cfc05[a97_0x4aafdd(0x1e5)]=()=>{},a97_0x4cfc05[a97_0x4aafdd(0x1f5)]=()=>{},a97_0x4cfc05[a97_0x4aafdd(0x1c2)]=()=>{},a97_0x4cfc05['silly']=()=>{},exports[a97_0x4aafdd(0x1f8)]=process[a97_0x4aafdd(0x1eb)][a97_0x4aafdd(0x1e2)]===a97_0x4aafdd(0x1f0)?winston[a97_0x4aafdd(0x1c9)]({'format':winston['format'][a97_0x4aafdd(0x1d7)](winston[a97_0x4aafdd(0x1c0)]['uncolorize'](),winston[a97_0x4aafdd(0x1c0)]['timestamp'](),logFormat(),winston['format'][a97_0x4aafdd(0x1df)](_0x5d2b32=>_0x5d2b32[a97_0x4aafdd(0x1d4)]+':\x20'+_0x5d2b32[a97_0x4aafdd(0x1d1)])),'transports':[automationTransports['automationLoggerFile']]}):a97_0x4cfc05;const initialize=()=>{const _0x237455=a97_0x4aafdd,_0x30b9aa={};_0x30b9aa[_0x237455(0x205)]=_0x237455(0x1ee),_0x30b9aa[_0x237455(0x1d6)]=_0x237455(0x1ce);const _0x24d13f=_0x30b9aa,_0xcdca67=_0x24d13f[_0x237455(0x205)][_0x237455(0x1e7)]('|');let _0x41704b=0x0;while(!![]){switch(_0xcdca67[_0x41704b++]){case'0':transports['debugLoggerFile']=new winston[(_0x237455(0x1fc))]['File']({'filename':path[_0x237455(0x1f7)](exports[_0x237455(0x200)],DEBUG_LOG_FILE_NAME),'level':_0x24d13f[_0x237455(0x1d6)]});continue;case'1':transports['loggerFile']=new winston[(_0x237455(0x1fc))]['File']({'filename':path[_0x237455(0x1f7)](exports['logDir'],LOG_FILE_NAME)});continue;case'2':exports['fileLogger']['add'](transports[_0x237455(0x1e8)]);continue;case'3':exports[_0x237455(0x1c8)][_0x237455(0x208)](transports['debugLoggerFile']);continue;case'4':exports[_0x237455(0x1cf)][_0x237455(0x208)](transports[_0x237455(0x1e6)]);continue;case'5':exports['winstonLogger'][_0x237455(0x208)](transports[_0x237455(0x1e6)]);continue;}break;}};exports['winstonLogger']=new winston[(a97_0x4aafdd(0x1c9))](winstonLoggerParams),exports['fileLogger']=new winston[(a97_0x4aafdd(0x1c9))](winstonFileLoggerParams),exports[a97_0x4aafdd(0x200)]=logDir,exports[a97_0x4aafdd(0x206)]=()=>{return exports['logDir'];},exports[a97_0x4aafdd(0x1fc)]=transports,exports[a97_0x4aafdd(0x1c4)]=initialize;logDir&&initialize();
1
+ const a97_0x587c06=a97_0x2b1f;function a97_0x2b1f(_0xbebd71,_0x47d089){const _0x1b2b83=a97_0x1b2b();return a97_0x2b1f=function(_0x2b1f4f,_0x49ce03){_0x2b1f4f=_0x2b1f4f-0x1a0;let _0x5b7d17=_0x1b2b83[_0x2b1f4f];return _0x5b7d17;},a97_0x2b1f(_0xbebd71,_0x47d089);}(function(_0x54d6e1,_0x3dc3c8){const _0x228ea3=a97_0x2b1f,_0x352836=_0x54d6e1();while(!![]){try{const _0x2bc4a8=parseInt(_0x228ea3(0x1c9))/0x1*(parseInt(_0x228ea3(0x1b9))/0x2)+parseInt(_0x228ea3(0x1e3))/0x3*(-parseInt(_0x228ea3(0x1ea))/0x4)+-parseInt(_0x228ea3(0x1a0))/0x5*(parseInt(_0x228ea3(0x1d8))/0x6)+parseInt(_0x228ea3(0x1b8))/0x7*(-parseInt(_0x228ea3(0x1ba))/0x8)+parseInt(_0x228ea3(0x1a1))/0x9+parseInt(_0x228ea3(0x1d7))/0xa+-parseInt(_0x228ea3(0x1ce))/0xb*(parseInt(_0x228ea3(0x1c6))/0xc);if(_0x2bc4a8===_0x3dc3c8)break;else _0x352836['push'](_0x352836['shift']());}catch(_0x2ba8b7){_0x352836['push'](_0x352836['shift']());}}}(a97_0x1b2b,0xcaf2e));const winston=require('winston'),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a97_0x587c06(0x1a7)),tempLogDir=a97_0x587c06(0x1b5),logFormat=winston['format'](_0xe15c5e=>{const _0x224913=a97_0x587c06,_0x7d896={};_0x7d896[_0x224913(0x1d3)]=function(_0x4952af,_0x410ac4){return _0x4952af!==_0x410ac4;},_0x7d896[_0x224913(0x1c3)]=_0x224913(0x1e9),_0x7d896[_0x224913(0x1cd)]=function(_0x3e3fb8,_0x1acb52){return _0x3e3fb8===_0x1acb52;},_0x7d896['eHcQS']=_0x224913(0x1b7),_0x7d896[_0x224913(0x1e8)]=function(_0x3d33d3,_0x441642){return _0x3d33d3===_0x441642;};const _0x43be16=_0x7d896;return _0x43be16[_0x224913(0x1d3)](typeof _0xe15c5e['message'],_0x43be16[_0x224913(0x1c3)])&&(_0xe15c5e[_0x224913(0x1c1)]=JSON[_0x224913(0x1b1)](_0xe15c5e['message'])),global[_0x224913(0x1ca)]?.['config']?.[_0x224913(0x1a8)]&&_0x43be16[_0x224913(0x1cd)](typeof _0xe15c5e[_0x224913(0x1c1)],_0x43be16['jpfFJ'])&&(_0xe15c5e[_0x224913(0x1c1)]=_0xe15c5e[_0x224913(0x1c1)][_0x224913(0x1a3)](new RegExp(global[_0x224913(0x1ca)][_0x224913(0x1de)][_0x224913(0x1a8)],'g'),_0x43be16[_0x224913(0x1b2)])),global[_0x224913(0x1ca)]?.[_0x224913(0x1de)]?.['accessKey']&&_0x43be16[_0x224913(0x1e8)](typeof _0xe15c5e[_0x224913(0x1c1)],_0x43be16[_0x224913(0x1c3)])&&(_0xe15c5e[_0x224913(0x1c1)]=_0xe15c5e[_0x224913(0x1c1)][_0x224913(0x1a3)](new RegExp(global[_0x224913(0x1ca)][_0x224913(0x1de)]['accessKey'],'g'),_0x43be16[_0x224913(0x1b2)])),_0xe15c5e;}),fetchLogDir=()=>{const _0x3367e9=a97_0x587c06;if(process[_0x3367e9(0x1cc)][_0x3367e9(0x1c7)])return process[_0x3367e9(0x1cc)][_0x3367e9(0x1c7)];else!fs[_0x3367e9(0x1dd)](tempLogDir)&&fs[_0x3367e9(0x1d4)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),a97_0x4826b0={};a97_0x4826b0[a97_0x587c06(0x1bc)]='console.info';const transports={'loggerConsole':new winston[(a97_0x587c06(0x1cf))][(a97_0x587c06(0x1e5))](a97_0x4826b0),'loggerFile':new winston['transports'][(a97_0x587c06(0x1e6))]({'filename':path[a97_0x587c06(0x1a4)](logDir,a97_0x587c06(0x1e0))}),'debugLoggerFile':new winston['transports'][(a97_0x587c06(0x1e6))]({'filename':path['join'](logDir,a97_0x587c06(0x1d0)),'level':'silly'}),'debugCliLoggerFile':new winston[(a97_0x587c06(0x1cf))][(a97_0x587c06(0x1e6))]({'filename':path[a97_0x587c06(0x1a4)](logDir,'/sdk-cli-debug.log'),'level':a97_0x587c06(0x1be)})},automationTransports={};process['env']['BROWSERSTACK_AUTOMATION_LOGS']===a97_0x587c06(0x1bb)&&(automationTransports[a97_0x587c06(0x1e1)]=new winston[(a97_0x587c06(0x1cf))]['File']({'filename':path[a97_0x587c06(0x1a4)](logDir,a97_0x587c06(0x1d5)),'level':'silly'}));transports[a97_0x587c06(0x1c5)]['on'](a97_0x587c06(0x1b4),_0x1f791d=>{const _0x1e71be=a97_0x587c06,_0x2081f2={};_0x2081f2['AmKFv']=function(_0x2d5a96,_0x4cf992){return _0x2d5a96===_0x4cf992;},_0x2081f2[_0x1e71be(0x1e7)]=_0x1e71be(0x1a9),_0x2081f2[_0x1e71be(0x1b0)]='EPIPE\x20error\x20occurred\x20in\x20loggerConsole:';const _0x3081bf=_0x2081f2;if(_0x3081bf[_0x1e71be(0x1df)](_0x1f791d[_0x1e71be(0x1af)],_0x3081bf[_0x1e71be(0x1e7)])){console[_0x1e71be(0x1b5)](_0x3081bf[_0x1e71be(0x1b0)],_0x1f791d['message']);return;}throw _0x1f791d;});const a97_0x31ad2b={};a97_0x31ad2b[a97_0x587c06(0x1b3)]=a97_0x587c06(0x1b6);const a97_0x49c3b2={};function a97_0x1b2b(){const _0x1be438=['debug','winstonLogger','add','BROWSERSTACK_AUTOMATION_LOGS','warn','code','bgSdq','stringify','eHcQS','format','error','log','YYYY-MM-DD\x20HH:mm:ss','[REDACTED]','37807baeoxt','10UVSlLN','584bkRgmj','true','name','fileLogger','silly','timestamp','getLogDir','message','createLogger','jpfFJ','http','loggerConsole','2293284bNsBWe','BROWSERSTACK_INTERNAL_LOG_DIR','colorize','145293LOqwqk','session','4|3|0|5|1|2','env','puEar','11iufKcz','transports','/usage-debug.log','loggerFile','XELIh','XwqDn','mkdirSync','automation.log','split','15701570TmJLlG','6ifOHXN','\x20-\x20','uncolorize','QcnLX','printf','existsSync','config','AmKFv','/usage.log','automationLoggerFile','level','3NPtnTK','debugLoggerFile','Console','File','qUEMP','Aorlt','string','3063716CBeOlC','6813610KjQsXB','11238183IUdisb','logDir','replace','join','info','combine','../bin/utils/constants','userName','EPIPE'];a97_0x1b2b=function(){return _0x1be438;};return a97_0x1b2b();}a97_0x49c3b2[a97_0x587c06(0x1e2)]=!![];const winstonLoggerParams={'format':winston['format'][a97_0x587c06(0x1a6)](winston[a97_0x587c06(0x1b3)]['timestamp'](a97_0x31ad2b),winston[a97_0x587c06(0x1b3)][a97_0x587c06(0x1c8)](a97_0x49c3b2),winston[a97_0x587c06(0x1b3)][a97_0x587c06(0x1dc)](_0x2b0f31=>_0x2b0f31[a97_0x587c06(0x1bf)]+a97_0x587c06(0x1d9)+_0x2b0f31[a97_0x587c06(0x1e2)]+':\x20'+_0x2b0f31[a97_0x587c06(0x1c1)])),'transports':[transports[a97_0x587c06(0x1c5)]]},a97_0x1eb646={};a97_0x1eb646[a97_0x587c06(0x1b3)]=a97_0x587c06(0x1b6);const a97_0x596061={};a97_0x596061[a97_0x587c06(0x1e2)]=!![];const winstonFileLoggerParams={'format':winston[a97_0x587c06(0x1b3)]['combine'](winston[a97_0x587c06(0x1b3)][a97_0x587c06(0x1bf)](a97_0x1eb646),winston[a97_0x587c06(0x1b3)][a97_0x587c06(0x1c8)](a97_0x596061),winston['format'][a97_0x587c06(0x1dc)](_0x2e3873=>_0x2e3873[a97_0x587c06(0x1e2)]+':\x20'+_0x2e3873['message'])),'transports':[]},a97_0x18c066={};a97_0x18c066[a97_0x587c06(0x1c4)]=()=>{},a97_0x18c066[a97_0x587c06(0x1a5)]=()=>{},a97_0x18c066[a97_0x587c06(0x1ae)]=()=>{},a97_0x18c066[a97_0x587c06(0x1b4)]=()=>{},a97_0x18c066[a97_0x587c06(0x1aa)]=()=>{},a97_0x18c066[a97_0x587c06(0x1be)]=()=>{},exports['automationLogger']=process[a97_0x587c06(0x1cc)][a97_0x587c06(0x1ad)]===a97_0x587c06(0x1bb)?winston['createLogger']({'format':winston['format'][a97_0x587c06(0x1a6)](winston[a97_0x587c06(0x1b3)][a97_0x587c06(0x1da)](),winston['format'][a97_0x587c06(0x1bf)](),logFormat(),winston[a97_0x587c06(0x1b3)][a97_0x587c06(0x1dc)](_0x8f2e5a=>_0x8f2e5a[a97_0x587c06(0x1e2)]+':\x20'+_0x8f2e5a[a97_0x587c06(0x1c1)])),'transports':[automationTransports['automationLoggerFile']]}):a97_0x18c066;const initialize=()=>{const _0x2449c2=a97_0x587c06,_0x2fb04c={};_0x2fb04c[_0x2449c2(0x1db)]=_0x2449c2(0x1cb),_0x2fb04c[_0x2449c2(0x1d2)]='silly';const _0x80bcd7=_0x2fb04c,_0x2e0dba=_0x80bcd7[_0x2449c2(0x1db)][_0x2449c2(0x1d6)]('|');let _0xd79d0b=0x0;while(!![]){switch(_0x2e0dba[_0xd79d0b++]){case'0':exports[_0x2449c2(0x1ab)]['add'](transports[_0x2449c2(0x1d1)]);continue;case'1':exports['fileLogger']['add'](transports[_0x2449c2(0x1d1)]);continue;case'2':exports[_0x2449c2(0x1bd)][_0x2449c2(0x1ac)](transports[_0x2449c2(0x1e4)]);continue;case'3':transports[_0x2449c2(0x1e4)]=new winston[(_0x2449c2(0x1cf))][(_0x2449c2(0x1e6))]({'filename':path[_0x2449c2(0x1a4)](exports[_0x2449c2(0x1a2)],DEBUG_LOG_FILE_NAME),'level':_0x80bcd7[_0x2449c2(0x1d2)]});continue;case'4':transports[_0x2449c2(0x1d1)]=new winston[(_0x2449c2(0x1cf))]['File']({'filename':path['join'](exports['logDir'],LOG_FILE_NAME)});continue;case'5':exports[_0x2449c2(0x1ab)][_0x2449c2(0x1ac)](transports[_0x2449c2(0x1e4)]);continue;}break;}};exports[a97_0x587c06(0x1ab)]=new winston[(a97_0x587c06(0x1c2))](winstonLoggerParams),exports['fileLogger']=new winston[(a97_0x587c06(0x1c2))](winstonFileLoggerParams),exports[a97_0x587c06(0x1a2)]=logDir,exports[a97_0x587c06(0x1c0)]=()=>{const _0xa13a82=a97_0x587c06;return exports[_0xa13a82(0x1a2)];},exports[a97_0x587c06(0x1cf)]=transports,exports['initialize']=initialize;logDir&&initialize();
@@ -1 +1 @@
1
- function a98_0x4ded(_0x3f7074,_0x4e6c9d){const _0x1b838d=a98_0x1b83();return a98_0x4ded=function(_0x4ded48,_0x3d3521){_0x4ded48=_0x4ded48-0x11e;let _0x43e0d5=_0x1b838d[_0x4ded48];return _0x43e0d5;},a98_0x4ded(_0x3f7074,_0x4e6c9d);}const a98_0x59b75f=a98_0x4ded;(function(_0x234190,_0x324c74){const _0x144420=a98_0x4ded,_0x269785=_0x234190();while(!![]){try{const _0xdea84f=-parseInt(_0x144420(0x12d))/0x1+parseInt(_0x144420(0x131))/0x2+-parseInt(_0x144420(0x133))/0x3*(parseInt(_0x144420(0x138))/0x4)+parseInt(_0x144420(0x12b))/0x5+parseInt(_0x144420(0x125))/0x6*(-parseInt(_0x144420(0x139))/0x7)+parseInt(_0x144420(0x11e))/0x8*(parseInt(_0x144420(0x121))/0x9)+parseInt(_0x144420(0x12a))/0xa;if(_0xdea84f===_0x324c74)break;else _0x269785['push'](_0x269785['shift']());}catch(_0x37d02e){_0x269785['push'](_0x269785['shift']());}}}(a98_0x1b83,0x3e953));function a98_0x1b83(){const _0x1eee9a=['1908oRlbQv','identifier','usLIq','KTUPP','52014vFMgNc','SEumL','exports','testMeta','warn','7801720GhqBsx','395945fJbpGY','testMeta-','271757gzBgFT','get','lcnc','./logger','507476gHKtpW','./globals','179427GZrmXA','winstonLogger','KCgol','getGlobal','wwpri','32IcbGjo','161EjLSpb','length','./helper','vjcTE','The\x20metadata\x20object\x20is\x20not\x20valid.','setGlobal','3504AnyPme','EBZIl','getCentralUser'];a98_0x1b83=function(){return _0x1eee9a;};return a98_0x1b83();}const globals=require(a98_0x59b75f(0x132)),helper=require(a98_0x59b75f(0x13b)),logger=require(a98_0x59b75f(0x130))[a98_0x59b75f(0x134)];module[a98_0x59b75f(0x127)]=class TestMetadata{static['set'](_0x5a33af={}){const _0x310bc7=a98_0x59b75f,_0x5503b9={};_0x5503b9['KCgol']='testRunUUID',_0x5503b9[_0x310bc7(0x11f)]=function(_0x465e41,_0x53e666){return _0x465e41===_0x53e666;},_0x5503b9[_0x310bc7(0x123)]='string',_0x5503b9[_0x310bc7(0x137)]=function(_0x401df5,_0x38f563){return _0x401df5<=_0x38f563;},_0x5503b9['SEumL']=_0x310bc7(0x128),_0x5503b9['KTUPP']=_0x310bc7(0x13d);const _0x587f29=_0x5503b9,_0xd121f1=globals[_0x310bc7(0x136)](_0x587f29[_0x310bc7(0x135)]),_0x15defc=_0x5a33af[_0x310bc7(0x122)];helper[_0x310bc7(0x120)]()[_0x310bc7(0x12f)]&&(_0x587f29[_0x310bc7(0x11f)](typeof _0x15defc,_0x587f29['usLIq'])&&_0x587f29['wwpri'](_0x15defc[_0x310bc7(0x13a)],0x28)?_0xd121f1?globals['setGlobal'](_0x310bc7(0x12c)+_0xd121f1,_0x5a33af):globals[_0x310bc7(0x13e)](_0x587f29[_0x310bc7(0x126)],_0x5a33af):logger[_0x310bc7(0x129)](_0x587f29[_0x310bc7(0x124)]));}static[a98_0x59b75f(0x12e)](_0x188163){const _0x28ce9e=a98_0x59b75f,_0x1c867f={};_0x1c867f[_0x28ce9e(0x13c)]=_0x28ce9e(0x128);const _0x492ad1=_0x1c867f;if(helper[_0x28ce9e(0x120)]()[_0x28ce9e(0x12f)])return globals[_0x28ce9e(0x136)](_0x28ce9e(0x12c)+_0x188163)||globals['getGlobal'](_0x492ad1[_0x28ce9e(0x13c)])||{};return{};}};
1
+ const a98_0x30a483=a98_0x21c7;(function(_0x328e85,_0x5f2d5f){const _0x5d7369=a98_0x21c7,_0x4cda7b=_0x328e85();while(!![]){try{const _0x2f5427=-parseInt(_0x5d7369(0x19d))/0x1*(parseInt(_0x5d7369(0x197))/0x2)+parseInt(_0x5d7369(0x1b0))/0x3+parseInt(_0x5d7369(0x1a0))/0x4+-parseInt(_0x5d7369(0x1ac))/0x5+parseInt(_0x5d7369(0x1ab))/0x6+parseInt(_0x5d7369(0x1a2))/0x7+parseInt(_0x5d7369(0x1a8))/0x8;if(_0x2f5427===_0x5f2d5f)break;else _0x4cda7b['push'](_0x4cda7b['shift']());}catch(_0x25f180){_0x4cda7b['push'](_0x4cda7b['shift']());}}}(a98_0x5d95,0x3ce89));const globals=require(a98_0x30a483(0x19b)),helper=require(a98_0x30a483(0x1b6)),logger=require('./logger')[a98_0x30a483(0x19c)];function a98_0x21c7(_0x3a3650,_0x4a7953){const _0x5d9592=a98_0x5d95();return a98_0x21c7=function(_0x21c786,_0x3658d8){_0x21c786=_0x21c786-0x197;let _0x4980a9=_0x5d9592[_0x21c786];return _0x4980a9;},a98_0x21c7(_0x3a3650,_0x4a7953);}function a98_0x5d95(){const _0x5bfc20=['warn','getGlobal','2054800cRSbTl','identifier','getCentralUser','1511940dJkqng','2044550AzgIqI','string','xZcCP','get','328362MXYQtq','testMeta-','setGlobal','The\x20metadata\x20object\x20is\x20not\x20valid.','TUkqd','exports','./helper','30146SrCYTI','ECyjt','aCEnC','testRunUUID','./globals','winstonLogger','33MstlUr','TIpfz','set','555432nnJFDu','fbKao','2790536GOsFAF','testMeta','length','lcnc'];a98_0x5d95=function(){return _0x5bfc20;};return a98_0x5d95();}module[a98_0x30a483(0x1b5)]=class TestMetadata{static[a98_0x30a483(0x19f)](_0x1e8e59={}){const _0x75c2e0=a98_0x30a483,_0x120caf={};_0x120caf[_0x75c2e0(0x19e)]=_0x75c2e0(0x19a),_0x120caf[_0x75c2e0(0x199)]=function(_0x41d25f,_0x45bff6){return _0x41d25f===_0x45bff6;},_0x120caf[_0x75c2e0(0x1ae)]=_0x75c2e0(0x1ad),_0x120caf[_0x75c2e0(0x1b4)]=function(_0x58d518,_0x1b27f1){return _0x58d518<=_0x1b27f1;},_0x120caf[_0x75c2e0(0x198)]='testMeta',_0x120caf['iRoPJ']=_0x75c2e0(0x1b3);const _0x3cb61c=_0x120caf,_0x42926c=globals[_0x75c2e0(0x1a7)](_0x3cb61c[_0x75c2e0(0x19e)]),_0xec9068=_0x1e8e59[_0x75c2e0(0x1a9)];helper[_0x75c2e0(0x1aa)]()[_0x75c2e0(0x1a5)]&&(_0x3cb61c[_0x75c2e0(0x199)](typeof _0xec9068,_0x3cb61c[_0x75c2e0(0x1ae)])&&_0x3cb61c['TUkqd'](_0xec9068[_0x75c2e0(0x1a4)],0x28)?_0x42926c?globals[_0x75c2e0(0x1b2)](_0x75c2e0(0x1b1)+_0x42926c,_0x1e8e59):globals['setGlobal'](_0x3cb61c[_0x75c2e0(0x198)],_0x1e8e59):logger[_0x75c2e0(0x1a6)](_0x3cb61c['iRoPJ']));}static[a98_0x30a483(0x1af)](_0x1cb04b){const _0x56f94a=a98_0x30a483,_0x2e5ab1={};_0x2e5ab1[_0x56f94a(0x1a1)]=_0x56f94a(0x1a3);const _0x19f0df=_0x2e5ab1;if(helper[_0x56f94a(0x1aa)]()[_0x56f94a(0x1a5)])return globals[_0x56f94a(0x1a7)]('testMeta-'+_0x1cb04b)||globals['getGlobal'](_0x19f0df[_0x56f94a(0x1a1)])||{};return{};}};
@@ -1 +1 @@
1
- function a99_0x34ec(){const _0x2627b9=['ESmoF','5055FiiIVy','BtgAl','using','name_','./globals','findElement','parameters_','info','WWPzz','getSession','NJNvX','VZpwL','css\x20selector','YGncO','lLEdN','command','ZzjvJ','218iKwhBI','MRhdK','execute','./performance/performance-tester','ugGdK','rZbAr','handleFailure','aiHeal:findElementSuccess','kXBMI','JSaEp','63490180NfUooW','setAiSessionTimeStamp','xWYKb','Hwdmj','aiHeal_isAuthenticated','XlqPw','measureWrapper','aiHeal:setToken','10001772wgoYlv','sIixh','11qVOGZb','POST_EXECUTE','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','WGFLi','Healing\x20failed\x20for\x20command\x20using\x20','handleSuccess','find','error','1216255jtNLEy','xVUBJ','isSelfHealEnabled','NoSuchElementError','Hbkke','ISTdo','GyRgc','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','iSzLP','getGlobal','getTcgTokenStatus','initExecute','findElement\x20command\x20failed\x20with\x20','capability','GrSwX','getId','findElement\x20command\x20failed\x20with\x20cssPath:\x20','jCgdn','winstonLogger','Successfully\x20healed\x20command\x20using\x20new\x20','7cYiAVD','axOyE','CGfCI','value','kdWjG','olmbu','649770aQLowJ','qxmey','oudhK','LYODo','aiHeal_isHealingEnabled','setTcgToken','name','./ai-sdk/aiSdkWrapper','overrideExecute','browserstack.local','XfNMN','ptNFk','Laubh','nestedKeyValue','toString','4VUXscl','PRE_EXECUTE','KmwPd','./ai-sdk/autoHealHelper','jfwqY','6272615IpeklH','eLRvV','patchExecute','url','Error\x20in\x20handling\x20TCG\x20Auth:\x20','tqkEm','aiSdk_defaultLogDataEnabled',';\x20Trying\x20to\x20heal','local','12028192cwvKAv','includes'];a99_0x34ec=function(){return _0x2627b9;};return a99_0x34ec();}const a99_0x20e1f3=a99_0x4cf7;(function(_0x1c3868,_0xe3ad8){const _0x4ea4eb=a99_0x4cf7,_0x5a342b=_0x1c3868();while(!![]){try{const _0x350ab6=-parseInt(_0x4ea4eb(0x107))/0x1+parseInt(_0x4ea4eb(0xeb))/0x2*(-parseInt(_0x4ea4eb(0xda))/0x3)+parseInt(_0x4ea4eb(0x130))/0x4*(-parseInt(_0x4ea4eb(0x135))/0x5)+-parseInt(_0x4ea4eb(0x121))/0x6+parseInt(_0x4ea4eb(0x11b))/0x7*(-parseInt(_0x4ea4eb(0xd7))/0x8)+-parseInt(_0x4ea4eb(0xfd))/0x9+-parseInt(_0x4ea4eb(0xf5))/0xa*(-parseInt(_0x4ea4eb(0xff))/0xb);if(_0x350ab6===_0xe3ad8)break;else _0x5a342b['push'](_0x5a342b['shift']());}catch(_0x422f7a){_0x5a342b['push'](_0x5a342b['shift']());}}}(a99_0x34ec,0xed2b8));const {aiSdkWrapper}=require(a99_0x20e1f3(0x128)),{commandRepository}=require(a99_0x20e1f3(0x133)),PerformanceTester=require(a99_0x20e1f3(0xee)),globals=require(a99_0x20e1f3(0xde)),logger=require('./logger')[a99_0x20e1f3(0x119)],helper=require('./helper'),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require('./performance/constants');function a99_0x4cf7(_0x80619,_0x3425b4){const _0x34ec49=a99_0x34ec();return a99_0x4cf7=function(_0x4cf7b9,_0x46964f){_0x4cf7b9=_0x4cf7b9-0xd3;let _0x1ef4a1=_0x34ec49[_0x4cf7b9];return _0x1ef4a1;},a99_0x4cf7(_0x80619,_0x3425b4);}exports[a99_0x20e1f3(0x129)]=(_0x916424,_0x54570a)=>{const _0x48a340=a99_0x20e1f3,_0x5e0576={'FdtwQ':'Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','JSaEp':function(_0x1c5a5d,_0x10cbe1){return _0x1c5a5d===_0x10cbe1;},'dgCOx':_0x48a340(0x10a),'wDRre':'JavascriptError','WGFLi':function(_0x36888f,_0x197dc1){return _0x36888f===_0x197dc1;},'eLRvV':_0x48a340(0xdf),'WWPzz':_0x48a340(0xf9),'XfNMN':_0x48a340(0x125),'YGncO':function(_0x525f13,_0x39be54){return _0x525f13===_0x39be54;},'ZzjvJ':_0x48a340(0xe6),'KmwPd':function(_0x46239b,_0x400872){return _0x46239b+_0x400872;},'VDhxE':_0x48a340(0x117),'NJNvX':_0x48a340(0xd5),'xWYKb':function(_0x40f6d5,_0x333551){return _0x40f6d5+_0x333551;},'GrSwX':function(_0x552fdc,_0x2ad0c2){return _0x552fdc+_0x2ad0c2;},'GyRgc':_0x48a340(0x113),'ESmoF':'aiHeal:findElementFailure','olmbu':function(_0x57fd1e){return _0x57fd1e();},'VZpwL':function(_0x21e403,_0x3603d3){return _0x21e403&&_0x3603d3;},'IwQfE':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','CGfCI':function(_0x16852a,_0x3d62b5){return _0x16852a+_0x3d62b5;},'NbBgK':_0x48a340(0x11a),'axOyE':_0x48a340(0x10e),'LYODo':function(_0x273a28,_0xfcac06){return _0x273a28+_0xfcac06;},'kdWjG':_0x48a340(0x103),'XlqPw':'get','jCgdn':'parameters_','rZbAr':_0x48a340(0x138),'BtgAl':_0x48a340(0x101),'Laubh':_0x48a340(0xfc),'ptNFk':_0x48a340(0xd4),'GKiPI':function(_0x2481b2,_0xe06723){return _0x2481b2===_0xe06723;},'oudhK':_0x48a340(0xf2),'iSzLP':function(_0xd360fa){return _0xd360fa();},'qxmey':_0x48a340(0x114),'xVUBJ':_0x48a340(0x12a),'MRhdK':'bstack:options','kXBMI':_0x48a340(0xd6)},_0x4c434f=_0x916424[_0x48a340(0x137)]||(helper['nestedKeyValue'](_0x54570a,[_0x5e0576['qxmey'],_0x5e0576[_0x48a340(0x108)]])||helper['nestedKeyValue'](_0x54570a,[_0x5e0576[_0x48a340(0x122)],_0x5e0576[_0x48a340(0xec)],_0x5e0576[_0x48a340(0xf3)]]));if(!globals[_0x48a340(0x110)](_0x5e0576[_0x48a340(0xe2)])&&!globals[_0x48a340(0x110)](_0x5e0576[_0x48a340(0x12b)])&&_0x4c434f)return;_0x916424['patchExecute']=!![],_0x916424[_0x48a340(0x112)]=_0x916424[_0x48a340(0xed)],_0x916424[_0x48a340(0xed)]=async _0x188229=>{const _0x451e0f=_0x48a340,_0x58b256={'ugGdK':_0x5e0576[_0x451e0f(0xe2)],'tqkEm':_0x5e0576[_0x451e0f(0x12d)],'Hbkke':function(_0x308a58){const _0x3a9de4=_0x451e0f;return _0x5e0576[_0x3a9de4(0x120)](_0x308a58);},'BXWdy':_0x5e0576[_0x451e0f(0x12c)],'lLEdN':function(_0x432f07,_0x5aa2a1){return _0x5e0576['GKiPI'](_0x432f07,_0x5aa2a1);},'ISTdo':_0x5e0576[_0x451e0f(0x136)],'sIixh':_0x5e0576[_0x451e0f(0x12b)],'DtbCn':_0x5e0576[_0x451e0f(0x123)],'Hwdmj':function(_0x240b56){const _0x4fe152=_0x451e0f;return _0x5e0576[_0x4fe152(0x10f)](_0x240b56);}};try{const _0x4f67ca={};_0x4f67ca[_0x451e0f(0xe9)]=_0x188229[_0x451e0f(0xdd)],await PerformanceTester[_0x451e0f(0xfb)](PerformanceDriverEvents[_0x451e0f(0x131)],async()=>{const _0xce6446=_0x451e0f,_0x1d24e5={};_0x1d24e5[_0xce6446(0x134)]=_0x58b256[_0xce6446(0xef)];const _0x108870=_0x1d24e5;if(!commandRepository[_0xce6446(0x111)]()&&globals[_0xce6446(0x110)](_0x58b256['ugGdK'])){const _0x3dc603=PerformanceTester['measureWrapper'](_0x58b256[_0xce6446(0xd3)],async()=>{const _0x14c994=_0xce6446;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper[_0x14c994(0x126)]((await _0x916424['getSession']())[_0x14c994(0x116)]());const _0x3b0506=globals['getGlobal'](_0x108870[_0x14c994(0x134)]);_0x3b0506&&commandRepository[_0x14c994(0xf6)]((await _0x916424[_0x14c994(0xe3)]())[_0x14c994(0x116)]());}catch(_0x3e631f){logger[_0x14c994(0x106)](_0x14c994(0x139)+_0x3e631f);}});await _0x58b256[_0xce6446(0x10b)](_0x3dc603);}},_0x4f67ca)();const _0x4d20cf=await _0x916424[_0x451e0f(0x112)](_0x188229);return await PerformanceTester[_0x451e0f(0xfb)](PerformanceDriverEvents[_0x451e0f(0x100)],async()=>{const _0x423fe0=_0x451e0f;if(!helper['isBrowserstackInfra']()&&(commandRepository[_0x423fe0(0x109)]()||globals[_0x423fe0(0x110)](_0x58b256['BXWdy']))&&_0x58b256[_0x423fe0(0xe8)](_0x188229[_0x423fe0(0xdd)],_0x58b256[_0x423fe0(0x10c)])&&!_0x188229['skipHealingSuccess']&&globals[_0x423fe0(0x110)](_0x58b256[_0x423fe0(0xef)])&&globals[_0x423fe0(0x110)](_0x58b256[_0x423fe0(0xfe)])){const _0x2ad17d=new Date(),_0x541d85=PerformanceTester[_0x423fe0(0xfb)](_0x58b256['DtbCn'],async()=>{const _0x13a234=_0x423fe0;return await aiSdkWrapper[_0x13a234(0x104)](_0x54570a,_0x916424,_0x188229);});await _0x58b256[_0x423fe0(0xf8)](_0x541d85);}},{'command':_0x188229[_0x451e0f(0xdd)]})(),_0x4d20cf;}catch(_0x2a0fff){await PerformanceTester[_0x451e0f(0xfb)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x27ab5a=_0x451e0f;logger['debug'](_0x5e0576['FdtwQ']);try{if(!helper['isBrowserstackInfra']()&&(_0x5e0576['JSaEp'](_0x2a0fff[_0x27ab5a(0x127)],_0x5e0576['dgCOx'])||_0x5e0576[_0x27ab5a(0xf4)](_0x2a0fff[_0x27ab5a(0x127)],_0x5e0576['wDRre']))&&_0x5e0576[_0x27ab5a(0x102)](_0x188229[_0x27ab5a(0xdd)],_0x5e0576[_0x27ab5a(0x136)])&&commandRepository[_0x27ab5a(0x109)]()&&globals[_0x27ab5a(0x110)](_0x5e0576[_0x27ab5a(0xe2)])&&globals[_0x27ab5a(0x110)](_0x5e0576[_0x27ab5a(0x12b)])){_0x5e0576[_0x27ab5a(0xe7)](_0x188229[_0x27ab5a(0xe0)]['using'],_0x5e0576[_0x27ab5a(0xea)])?logger[_0x27ab5a(0xe1)](_0x5e0576[_0x27ab5a(0x132)](_0x5e0576[_0x27ab5a(0x132)](_0x5e0576['VDhxE'],_0x188229[_0x27ab5a(0xe0)][_0x27ab5a(0x11e)]),_0x5e0576[_0x27ab5a(0xe4)])):logger[_0x27ab5a(0xe1)](_0x5e0576[_0x27ab5a(0x132)](_0x5e0576['xWYKb'](_0x5e0576[_0x27ab5a(0x132)](_0x5e0576['GrSwX'](_0x5e0576[_0x27ab5a(0x10d)],_0x188229[_0x27ab5a(0xe0)][_0x27ab5a(0xdc)]),':\x20'),_0x188229[_0x27ab5a(0xe0)][_0x27ab5a(0x11e)]),_0x5e0576[_0x27ab5a(0xe4)]));const _0x1de057=PerformanceTester['measureWrapper'](_0x5e0576[_0x27ab5a(0xd9)],async()=>{const _0x23706f=_0x27ab5a;return await aiSdkWrapper[_0x23706f(0xf1)](_0x54570a,_0x916424,_0x188229);}),_0x1f2f68=new Date(),{locatorType:_0x50570a,locatorValue:_0x5c3d78,commandHealed:_0x23c6ea}=await _0x5e0576[_0x27ab5a(0x120)](_0x1de057);if(_0x5e0576[_0x27ab5a(0xe5)](_0x50570a,_0x5c3d78)){_0x188229[_0x27ab5a(0xe0)][_0x27ab5a(0xdc)]=_0x50570a,_0x188229[_0x27ab5a(0xe0)]['value']=_0x5c3d78,_0x188229['skipHealingSuccess']=!![];const _0x4be965=_0x916424[_0x27ab5a(0xed)](_0x188229);return _0x5e0576[_0x27ab5a(0x102)](_0x50570a,_0x5e0576[_0x27ab5a(0xea)])?logger[_0x27ab5a(0xe1)](_0x5e0576[_0x27ab5a(0xf7)](_0x5e0576['IwQfE'],_0x5c3d78)):logger[_0x27ab5a(0xe1)](_0x5e0576['CGfCI'](_0x5e0576['CGfCI'](_0x5e0576[_0x27ab5a(0x115)](_0x5e0576['NbBgK'],_0x50570a),':\x20'),_0x5c3d78)),_0x4be965;}else!_0x23c6ea&&(_0x5e0576[_0x27ab5a(0x102)](_0x50570a,_0x5e0576[_0x27ab5a(0xea)])?logger[_0x27ab5a(0xe1)](_0x5e0576[_0x27ab5a(0x115)](_0x5e0576[_0x27ab5a(0x11c)],_0x188229['parameters_'][_0x27ab5a(0x11e)])):logger[_0x27ab5a(0xe1)](_0x5e0576[_0x27ab5a(0x11d)](_0x5e0576[_0x27ab5a(0x11d)](_0x5e0576[_0x27ab5a(0x124)](_0x5e0576[_0x27ab5a(0x11f)],_0x188229[_0x27ab5a(0xe0)][_0x27ab5a(0xdc)]),':\x20'),_0x188229[_0x27ab5a(0xe0)][_0x27ab5a(0x11e)])));}!_0x4c434f&&_0x5e0576[_0x27ab5a(0xe7)](_0x188229[_0x27ab5a(0xdd)],_0x5e0576[_0x27ab5a(0xfa)])&&helper[_0x27ab5a(0x12e)](_0x188229,[_0x5e0576[_0x27ab5a(0x118)],_0x5e0576[_0x27ab5a(0xf0)]])&&!!constants['NUDGE_LOCAL_ERRORS'][_0x27ab5a(0x105)](_0x53d520=>{const _0x373ed1=_0x27ab5a;return _0x2a0fff[_0x373ed1(0x12f)]()[_0x373ed1(0xd8)](_0x53d520);})&&helper['getNudgeLocalNotSetError'](_0x188229['parameters_'][_0x27ab5a(0x138)],!![]);}catch(_0x444600){logger['debug'](_0x5e0576[_0x27ab5a(0xdb)],_0x444600);}},{'success':![],'failure':_0x2a0fff})();throw _0x2a0fff;}};};
1
+ const a99_0x1a5ac3=a99_0x60a2;(function(_0x3f3dc7,_0x178964){const _0xcc35ab=a99_0x60a2,_0x438a19=_0x3f3dc7();while(!![]){try{const _0x58c6f0=-parseInt(_0xcc35ab(0x1e3))/0x1+-parseInt(_0xcc35ab(0x1b4))/0x2*(-parseInt(_0xcc35ab(0x1ac))/0x3)+parseInt(_0xcc35ab(0x1a5))/0x4*(-parseInt(_0xcc35ab(0x19c))/0x5)+-parseInt(_0xcc35ab(0x193))/0x6*(parseInt(_0xcc35ab(0x1b5))/0x7)+-parseInt(_0xcc35ab(0x1e9))/0x8*(-parseInt(_0xcc35ab(0x1a2))/0x9)+parseInt(_0xcc35ab(0x1fa))/0xa+parseInt(_0xcc35ab(0x1c5))/0xb;if(_0x58c6f0===_0x178964)break;else _0x438a19['push'](_0x438a19['shift']());}catch(_0x4e708c){_0x438a19['push'](_0x438a19['shift']());}}}(a99_0x4e06,0x7c355));function a99_0x60a2(_0x179731,_0x224a76){const _0x4e06ca=a99_0x4e06();return a99_0x60a2=function(_0x60a216,_0x5759f1){_0x60a216=_0x60a216-0x192;let _0x5121ab=_0x4e06ca[_0x60a216];return _0x5121ab;},a99_0x60a2(_0x179731,_0x224a76);}const {aiSdkWrapper}=require('./ai-sdk/aiSdkWrapper'),{commandRepository}=require(a99_0x1a5ac3(0x202)),PerformanceTester=require(a99_0x1a5ac3(0x1d0)),globals=require(a99_0x1a5ac3(0x194)),logger=require(a99_0x1a5ac3(0x1c2))['winstonLogger'],helper=require(a99_0x1a5ac3(0x1be)),constants=require(a99_0x1a5ac3(0x1f8)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a99_0x1a5ac3(0x1cb));function a99_0x4e06(){const _0x5f51f2=['HpSiy','QpheY','NUDGE_LOCAL_ERRORS','includes','JavascriptError','../bin/utils/constants','utKtP','3157110QMFsxL','kvBcR','Qhapk','vqdLo','QYrgq','Lweff','rUtFS','hgbxK','./ai-sdk/autoHealHelper','Healing\x20failed\x20for\x20command\x20using\x20','12354FDFFtI','./globals','findElement\x20command\x20failed\x20with\x20','getNudgeLocalNotSetError','IWCdJ','POST_EXECUTE','aiHeal:findElementFailure','setTcgTokenStatus','getSession','1090385byfxeb','JIIlo','getGlobal','aiHeal:findElementSuccess','aiHeal_isHealingEnabled','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','4716ZIJLHR','isSelfHealEnabled','aiHeal_isAuthenticated','4utKUuO','parameters_','findElement\x20command\x20failed\x20with\x20cssPath:\x20','DTwou','using','beyNA','ysHvl','68907lAvlGb','mkFsg','KcmbU','get','aiHeal:setToken','value','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','NoSuchElementError','10JByxXa','1407MRfFZb','OqFak','css\x20selector','PRE_EXECUTE','handleSuccess','AhqJx','measureWrapper','lFzCF','aiSdk_defaultLogDataEnabled','./helper','BoCKI','initExecute','KtzEV','./logger','AeXdt','UlxRy','10460725HAiIrl','skipHealingSuccess','HpsjT','nestedKeyValue','Error\x20in\x20handling\x20TCG\x20Auth:\x20','command','./performance/constants','getId','gqAlw','dHYHm','XrBnM','./performance/performance-tester','info','wFCUl','setAiSessionTimeStamp','name_','bstack:options',';\x20Trying\x20to\x20heal','hyPSp','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','handleFailure','RsTyU','BrvZy','Njmee','errDH','name','getTcgTokenStatus','isBrowserstackInfra','hronn','url','713486ysQIrN','XyicF','kzHmn','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','debug','adErN','7216wJvVaM','skpcU','execute','patchExecute','overrideExecute','kSZSw','VvxAs','Successfully\x20healed\x20command\x20using\x20new\x20','tdgeB','STVyR'];a99_0x4e06=function(){return _0x5f51f2;};return a99_0x4e06();}exports[a99_0x1a5ac3(0x1ed)]=(_0x2eb512,_0x4cb917)=>{const _0x47b16e=a99_0x1a5ac3,_0x427981={'dHYHm':_0x47b16e(0x1a4),'AhqJx':_0x47b16e(0x1b0),'QpheY':function(_0x2922e2){return _0x2922e2();},'kzHmn':_0x47b16e(0x1d8),'errDH':function(_0x15c178,_0x228bea){return _0x15c178===_0x228bea;},'KQjnu':_0x47b16e(0x1b3),'XrBnM':function(_0x4f77c1,_0x532b1e){return _0x4f77c1===_0x532b1e;},'JIIlo':_0x47b16e(0x1f7),'AeXdt':'findElement','Qhapk':_0x47b16e(0x1a0),'rUtFS':function(_0x30344e,_0x484452){return _0x30344e===_0x484452;},'BoCKI':_0x47b16e(0x1b7),'DTwou':function(_0x3a3920,_0x5d7123){return _0x3a3920+_0x5d7123;},'hyPSp':_0x47b16e(0x1a7),'mkFsg':_0x47b16e(0x1d6),'vqdLo':function(_0x15fbf9,_0x4acf77){return _0x15fbf9+_0x4acf77;},'UlxRy':_0x47b16e(0x195),'RsTyU':_0x47b16e(0x199),'lFzCF':function(_0x5e6baa,_0x3d84f3){return _0x5e6baa&&_0x3d84f3;},'BrvZy':function(_0x41a966,_0x5c4d98){return _0x41a966===_0x5c4d98;},'utKtP':function(_0x459c33,_0x418a5d){return _0x459c33+_0x418a5d;},'EEuBk':_0x47b16e(0x1b2),'kSZSw':_0x47b16e(0x1f0),'RagCV':function(_0x38216f,_0x4368b6){return _0x38216f+_0x4368b6;},'OqFak':_0x47b16e(0x1a1),'Njmee':function(_0x3c8cca,_0x284e8f){return _0x3c8cca+_0x284e8f;},'kvBcR':function(_0x223ea9,_0x522aed){return _0x223ea9+_0x522aed;},'QYrgq':function(_0x2e54dd,_0x1370ab){return _0x2e54dd+_0x1370ab;},'ysHvl':_0x47b16e(0x192),'beyNA':function(_0x598741,_0x472116){return _0x598741===_0x472116;},'nlRwy':_0x47b16e(0x1af),'HpSiy':_0x47b16e(0x1a6),'KcmbU':_0x47b16e(0x1e2),'skpcU':_0x47b16e(0x1e6),'hronn':_0x47b16e(0x1bd),'XyicF':function(_0x1c475a,_0x31bc98){return _0x1c475a===_0x31bc98;},'HpsjT':_0x47b16e(0x19f),'tdgeB':function(_0x4f2f63){return _0x4f2f63();},'STVyR':'capability','gqAlw':'browserstack.local','hgbxK':_0x47b16e(0x1d5),'adErN':'local'},_0x3155a3=_0x2eb512[_0x47b16e(0x1ec)]||(helper['nestedKeyValue'](_0x4cb917,[_0x427981[_0x47b16e(0x1f2)],_0x427981[_0x47b16e(0x1cd)]])||helper['nestedKeyValue'](_0x4cb917,[_0x427981[_0x47b16e(0x1f2)],_0x427981[_0x47b16e(0x201)],_0x427981[_0x47b16e(0x1e8)]]));if(!globals[_0x47b16e(0x19e)](_0x427981[_0x47b16e(0x1ce)])&&!globals['getGlobal'](_0x427981['Qhapk'])&&_0x3155a3)return;_0x2eb512[_0x47b16e(0x1ec)]=!![],_0x2eb512[_0x47b16e(0x1c0)]=_0x2eb512[_0x47b16e(0x1eb)],_0x2eb512[_0x47b16e(0x1eb)]=async _0xa46f5a=>{const _0x997834=_0x47b16e,_0x4a418f={'XgVyg':_0x427981[_0x997834(0x1e1)],'IWCdJ':function(_0x5c9d8d,_0x8b31d){const _0x3bc455=_0x997834;return _0x427981[_0x3bc455(0x1e4)](_0x5c9d8d,_0x8b31d);},'VvxAs':_0x427981[_0x997834(0x1c3)],'iiney':_0x427981['dHYHm'],'wFCUl':_0x427981[_0x997834(0x1fc)],'Lweff':_0x427981[_0x997834(0x1c7)],'eaEKA':function(_0x34e1e2){const _0x37ffc2=_0x997834;return _0x427981[_0x37ffc2(0x1f1)](_0x34e1e2);}};try{const _0x4c5a38={};_0x4c5a38[_0x997834(0x1ca)]=_0xa46f5a['name_'],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x997834(0x1b8)],async()=>{const _0x38c9e3=_0x997834,_0x1e4b71={};_0x1e4b71[_0x38c9e3(0x1c1)]=_0x427981['dHYHm'];const _0x34b1c5=_0x1e4b71;if(!commandRepository[_0x38c9e3(0x1df)]()&&globals[_0x38c9e3(0x19e)](_0x427981[_0x38c9e3(0x1ce)])){const _0x96241b=PerformanceTester[_0x38c9e3(0x1bb)](_0x427981[_0x38c9e3(0x1ba)],async()=>{const _0x19db63=_0x38c9e3;try{commandRepository[_0x19db63(0x19a)](!![]),await aiSdkWrapper['setTcgToken']((await _0x2eb512[_0x19db63(0x19b)]())[_0x19db63(0x1cc)]());const _0x5b820d=globals['getGlobal'](_0x34b1c5[_0x19db63(0x1c1)]);_0x5b820d&&commandRepository[_0x19db63(0x1d3)]((await _0x2eb512['getSession']())['getId']());}catch(_0x463559){logger['error'](_0x19db63(0x1c9)+_0x463559);}});await _0x427981['QpheY'](_0x96241b);}},_0x4c5a38)();const _0x3e54af=await _0x2eb512[_0x997834(0x1c0)](_0xa46f5a);return await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x997834(0x198)],async()=>{const _0x151367=_0x997834;if(!helper['isBrowserstackInfra']()&&(commandRepository['isSelfHealEnabled']()||globals[_0x151367(0x19e)](_0x4a418f['XgVyg']))&&_0x4a418f[_0x151367(0x197)](_0xa46f5a[_0x151367(0x1d4)],_0x4a418f[_0x151367(0x1ef)])&&!_0xa46f5a['skipHealingSuccess']&&globals[_0x151367(0x19e)](_0x4a418f['iiney'])&&globals[_0x151367(0x19e)](_0x4a418f[_0x151367(0x1d2)])){const _0x28be64=new Date(),_0x1fae49=PerformanceTester['measureWrapper'](_0x4a418f[_0x151367(0x1ff)],async()=>{const _0x451475=_0x151367;return await aiSdkWrapper[_0x451475(0x1b9)](_0x4cb917,_0x2eb512,_0xa46f5a);});await _0x4a418f['eaEKA'](_0x1fae49);}},{'command':_0xa46f5a[_0x997834(0x1d4)]})(),_0x3e54af;}catch(_0x209542){await PerformanceTester[_0x997834(0x1bb)](PerformanceDriverEvents[_0x997834(0x198)],async()=>{const _0x3971ba=_0x997834;logger[_0x3971ba(0x1e7)](_0x427981[_0x3971ba(0x1e5)]);try{if(!helper[_0x3971ba(0x1e0)]()&&(_0x427981[_0x3971ba(0x1dd)](_0x209542[_0x3971ba(0x1de)],_0x427981['KQjnu'])||_0x427981[_0x3971ba(0x1cf)](_0x209542[_0x3971ba(0x1de)],_0x427981[_0x3971ba(0x19d)]))&&_0x427981['errDH'](_0xa46f5a[_0x3971ba(0x1d4)],_0x427981[_0x3971ba(0x1c3)])&&commandRepository[_0x3971ba(0x1a3)]()&&globals[_0x3971ba(0x19e)](_0x427981['dHYHm'])&&globals['getGlobal'](_0x427981[_0x3971ba(0x1fc)])){_0x427981[_0x3971ba(0x200)](_0xa46f5a[_0x3971ba(0x1a6)][_0x3971ba(0x1a9)],_0x427981[_0x3971ba(0x1bf)])?logger[_0x3971ba(0x1d1)](_0x427981[_0x3971ba(0x1a8)](_0x427981[_0x3971ba(0x1a8)](_0x427981[_0x3971ba(0x1d7)],_0xa46f5a[_0x3971ba(0x1a6)][_0x3971ba(0x1b1)]),_0x427981[_0x3971ba(0x1ad)])):logger[_0x3971ba(0x1d1)](_0x427981[_0x3971ba(0x1a8)](_0x427981['DTwou'](_0x427981[_0x3971ba(0x1fd)](_0x427981['vqdLo'](_0x427981[_0x3971ba(0x1c4)],_0xa46f5a['parameters_'][_0x3971ba(0x1a9)]),':\x20'),_0xa46f5a[_0x3971ba(0x1a6)][_0x3971ba(0x1b1)]),_0x427981[_0x3971ba(0x1ad)]));const _0x51a32d=PerformanceTester[_0x3971ba(0x1bb)](_0x427981[_0x3971ba(0x1da)],async()=>{const _0xe898d4=_0x3971ba;return await aiSdkWrapper[_0xe898d4(0x1d9)](_0x4cb917,_0x2eb512,_0xa46f5a);}),_0x14e084=new Date(),{locatorType:_0x5d7a35,locatorValue:_0x17a031,commandHealed:_0x4a4814}=await _0x427981[_0x3971ba(0x1f4)](_0x51a32d);if(_0x427981[_0x3971ba(0x1bc)](_0x5d7a35,_0x17a031)){_0xa46f5a[_0x3971ba(0x1a6)]['using']=_0x5d7a35,_0xa46f5a[_0x3971ba(0x1a6)][_0x3971ba(0x1b1)]=_0x17a031,_0xa46f5a[_0x3971ba(0x1c6)]=!![];const _0x218425=_0x2eb512[_0x3971ba(0x1eb)](_0xa46f5a);return _0x427981[_0x3971ba(0x1db)](_0x5d7a35,_0x427981[_0x3971ba(0x1bf)])?logger[_0x3971ba(0x1d1)](_0x427981[_0x3971ba(0x1f9)](_0x427981['EEuBk'],_0x17a031)):logger[_0x3971ba(0x1d1)](_0x427981['vqdLo'](_0x427981[_0x3971ba(0x1a8)](_0x427981[_0x3971ba(0x1f9)](_0x427981[_0x3971ba(0x1ee)],_0x5d7a35),':\x20'),_0x17a031)),_0x218425;}else!_0x4a4814&&(_0x427981[_0x3971ba(0x200)](_0x5d7a35,_0x427981[_0x3971ba(0x1bf)])?logger[_0x3971ba(0x1d1)](_0x427981['RagCV'](_0x427981[_0x3971ba(0x1b6)],_0xa46f5a['parameters_']['value'])):logger[_0x3971ba(0x1d1)](_0x427981[_0x3971ba(0x1dc)](_0x427981[_0x3971ba(0x1fb)](_0x427981[_0x3971ba(0x1fe)](_0x427981[_0x3971ba(0x1ab)],_0xa46f5a[_0x3971ba(0x1a6)][_0x3971ba(0x1a9)]),':\x20'),_0xa46f5a['parameters_']['value'])));}!_0x3155a3&&_0x427981[_0x3971ba(0x1aa)](_0xa46f5a[_0x3971ba(0x1d4)],_0x427981['nlRwy'])&&helper[_0x3971ba(0x1c8)](_0xa46f5a,[_0x427981[_0x3971ba(0x1f3)],_0x427981[_0x3971ba(0x1ae)]])&&!!constants[_0x3971ba(0x1f5)]['find'](_0x40249d=>{const _0x158ed3=_0x3971ba;return _0x209542['toString']()[_0x158ed3(0x1f6)](_0x40249d);})&&helper[_0x3971ba(0x196)](_0xa46f5a[_0x3971ba(0x1a6)][_0x3971ba(0x1e2)],!![]);}catch(_0x22896c){logger['debug'](_0x427981[_0x3971ba(0x1ea)],_0x22896c);}},{'success':![],'failure':_0x209542})();throw _0x209542;}};};
@@ -1 +1 @@
1
- const a100_0x1d7664=a100_0x3103;(function(_0x56267f,_0x1fa3b3){const _0x45950e=a100_0x3103,_0x18b810=_0x56267f();while(!![]){try{const _0x54d3ec=-parseInt(_0x45950e(0xef))/0x1+parseInt(_0x45950e(0xd1))/0x2*(parseInt(_0x45950e(0xe1))/0x3)+-parseInt(_0x45950e(0xd9))/0x4*(parseInt(_0x45950e(0xe3))/0x5)+-parseInt(_0x45950e(0xe4))/0x6+-parseInt(_0x45950e(0xda))/0x7+-parseInt(_0x45950e(0xe2))/0x8+parseInt(_0x45950e(0xeb))/0x9;if(_0x54d3ec===_0x1fa3b3)break;else _0x18b810['push'](_0x18b810['shift']());}catch(_0x1b4a09){_0x18b810['push'](_0x18b810['shift']());}}}(a100_0x8e01,0xe0b76));function a100_0x3103(_0x31921a,_0xbf97d0){const _0x8e01e5=a100_0x8e01();return a100_0x3103=function(_0x310380,_0x37ba3a){_0x310380=_0x310380-0xd1;let _0x37d24d=_0x8e01e5[_0x310380];return _0x37d24d;},a100_0x3103(_0x31921a,_0xbf97d0);}const PerformanceTester=require(a100_0x1d7664(0xd4)),O11yEvents=require(a100_0x1d7664(0xde))[a100_0x1d7664(0xe7)];function a100_0x8e01(){const _0xe2259c=['true','22166946fXIcvI','wtZHF','emit','kLcFT','197743ZIuLgX','overrideQuit','TAKE_SCREENSHOT','xKGYy','TEST_SCREENSHOT','kqbOA','229492lzqRml','cEtFn','dbDON','./performance/performance-tester','catch','quitCount_','quit','initQuit','1464FfLWoy','3766189EAXcxK','toISOString','env','initScreenshot','./performance/constants','bs:addLog:','patchQuit','6IcfaNa','2249768eEvwAr','5685ZWYubI','2033490FEGWpO','end','EDTgA','O11y_EVENTS','takeScreenshot','jcQSc'];a100_0x8e01=function(){return _0xe2259c;};return a100_0x8e01();}exports['overrideTakeScreenshot']=_0x93ecf=>{const _0x489f17=a100_0x1d7664,_0x683c0f={'wtZHF':_0x489f17(0xf3),'kqikb':function(_0xb08bd1,_0x3d9b21){return _0xb08bd1(_0x3d9b21);},'tujSM':function(_0x32ac99,_0xa438e9){return _0x32ac99(_0xa438e9);},'dbDON':function(_0x57f8a0,_0x59093c){return _0x57f8a0!==_0x59093c;},'kqbOA':_0x489f17(0xea)};if(_0x683c0f[_0x489f17(0xd3)](process[_0x489f17(0xdc)]['BS_TESTOPS_ALLOW_SCREENSHOTS'],_0x683c0f[_0x489f17(0xf4)]))return;if(_0x93ecf['patchScreenshot'])return;_0x93ecf['patchScreenshot']=!![],_0x93ecf[_0x489f17(0xdd)]=_0x93ecf[_0x489f17(0xe8)],_0x93ecf[_0x489f17(0xe8)]=()=>{const _0x5daedf=_0x489f17,_0x341deb={'lQDsk':_0x683c0f[_0x5daedf(0xec)],'kLcFT':function(_0x26f4d,_0x258ea4){return _0x683c0f['kqikb'](_0x26f4d,_0x258ea4);},'cEtFn':function(_0x307871,_0x3662d1){return _0x683c0f['tujSM'](_0x307871,_0x3662d1);}};return new Promise(function(_0x4c278a,_0x43d606){const _0x101f84=_0x5daedf;_0x93ecf[_0x101f84(0xdd)]()['then'](_0x5d21ac=>{const _0x140606=_0x101f84;PerformanceTester['start'](O11yEvents[_0x140606(0xf1)]),process[_0x140606(0xed)](_0x140606(0xdf)+process['pid'],{'timestamp':new Date()[_0x140606(0xdb)](),'message':_0x5d21ac,'kind':_0x341deb['lQDsk']}),_0x341deb[_0x140606(0xee)](_0x4c278a,_0x5d21ac),PerformanceTester[_0x140606(0xe5)](O11yEvents['TAKE_SCREENSHOT']);})[_0x101f84(0xd5)](_0x238a7a=>{const _0x3199af=_0x101f84;PerformanceTester[_0x3199af(0xe5)](O11yEvents[_0x3199af(0xf1)]),_0x341deb[_0x3199af(0xd2)](_0x43d606,_0x238a7a);});});};},exports[a100_0x1d7664(0xf0)]=(_0x54c74e,_0x1a088d=null)=>{const _0x32c95f=a100_0x1d7664,_0x50b259={'xKGYy':function(_0x36c6dc){return _0x36c6dc();},'TrFoz':function(_0x1b1235,_0x2d03ef){return _0x1b1235>_0x2d03ef;},'jcQSc':function(_0xcfdb6c,_0x461afa){return _0xcfdb6c>_0x461afa;}};if(_0x54c74e[_0x32c95f(0xe0)])return;_0x54c74e[_0x32c95f(0xe0)]=!![],_0x54c74e[_0x32c95f(0xd8)]=_0x54c74e[_0x32c95f(0xd7)],_0x54c74e['quit']=()=>{const _0x4cd362=_0x32c95f,_0x372725={'EDTgA':function(_0xaa6923){const _0x126f60=a100_0x3103;return _0x50b259[_0x126f60(0xf2)](_0xaa6923);}};if(_0x1a088d){_0x1a088d[_0x4cd362(0xd6)]+=0x1;if(_0x50b259['TrFoz'](_0x1a088d[_0x4cd362(0xd6)],0x1))return _0x54c74e['initQuit']();}else{_0x54c74e[_0x4cd362(0xd6)]+=0x1;if(_0x50b259[_0x4cd362(0xe9)](_0x54c74e[_0x4cd362(0xd6)],0x1))return _0x54c74e['initQuit']();}return new Promise(function(_0x42d126){const _0x3c57e2=_0x4cd362;_0x372725[_0x3c57e2(0xe6)](_0x42d126);});};};
1
+ function a100_0x3d10(_0x15ba3e,_0x6a2aff){const _0x440b70=a100_0x440b();return a100_0x3d10=function(_0x3d10c8,_0x1cd654){_0x3d10c8=_0x3d10c8-0x9c;let _0x2d0e02=_0x440b70[_0x3d10c8];return _0x2d0e02;},a100_0x3d10(_0x15ba3e,_0x6a2aff);}function a100_0x440b(){const _0x3bb8e4=['30xTcSAM','emit','bs:addLog:','gTuQh','end','overrideQuit','2aicRLd','146724ioiuFl','patchScreenshot','catch','then','2565720DVirhe','./performance/performance-tester','TAKE_SCREENSHOT','overrideTakeScreenshot','patchQuit','WsmCV','2776487FyrOMg','./performance/constants','137177lJDETV','202077oSVeYv','BS_TESTOPS_ALLOW_SCREENSHOTS','1054254eMnJJm','quit','MAsmI','bFBIz','MUYqy','wbkIf','initScreenshot','qINRt','start','6451362okifyP','env','quitCount_','initQuit','O11y_EVENTS','takeScreenshot','TEST_SCREENSHOT','true'];a100_0x440b=function(){return _0x3bb8e4;};return a100_0x440b();}const a100_0x41a06f=a100_0x3d10;(function(_0x53f676,_0x51f6fe){const _0x43388a=a100_0x3d10,_0x230b80=_0x53f676();while(!![]){try{const _0x320118=parseInt(_0x43388a(0xc1))/0x1+-parseInt(_0x43388a(0xb4))/0x2*(-parseInt(_0x43388a(0xc2))/0x3)+-parseInt(_0x43388a(0xb5))/0x4*(-parseInt(_0x43388a(0xae))/0x5)+-parseInt(_0x43388a(0x9d))/0x6+parseInt(_0x43388a(0xbf))/0x7+parseInt(_0x43388a(0xb9))/0x8+-parseInt(_0x43388a(0xa6))/0x9;if(_0x320118===_0x51f6fe)break;else _0x230b80['push'](_0x230b80['shift']());}catch(_0x29b290){_0x230b80['push'](_0x230b80['shift']());}}}(a100_0x440b,0x3ce6b));const PerformanceTester=require(a100_0x41a06f(0xba)),O11yEvents=require(a100_0x41a06f(0xc0))[a100_0x41a06f(0xaa)];exports[a100_0x41a06f(0xbc)]=_0x532b70=>{const _0x243208=a100_0x41a06f,_0x11b7f9={'CZhMD':_0x243208(0xac),'qINRt':function(_0x4846ce,_0x3bba68){return _0x4846ce(_0x3bba68);},'MAsmI':function(_0x32d39b,_0x3c8a00){return _0x32d39b!==_0x3c8a00;},'fiFXa':_0x243208(0xad)};if(_0x11b7f9[_0x243208(0x9f)](process[_0x243208(0xa7)][_0x243208(0x9c)],_0x11b7f9['fiFXa']))return;if(_0x532b70[_0x243208(0xb6)])return;_0x532b70[_0x243208(0xb6)]=!![],_0x532b70['initScreenshot']=_0x532b70[_0x243208(0xab)],_0x532b70[_0x243208(0xab)]=()=>{const _0x13475b={'wbkIf':_0x11b7f9['CZhMD'],'bFBIz':function(_0x591ff0,_0x4d3d42){const _0x4f788d=a100_0x3d10;return _0x11b7f9[_0x4f788d(0xa4)](_0x591ff0,_0x4d3d42);}};return new Promise(function(_0x440f50,_0x99a75c){const _0xa95ec6=a100_0x3d10,_0x2efc51={'aDmiX':function(_0x10c3f7,_0x554148){const _0x3eac21=a100_0x3d10;return _0x13475b[_0x3eac21(0xa0)](_0x10c3f7,_0x554148);}};_0x532b70[_0xa95ec6(0xa3)]()[_0xa95ec6(0xb8)](_0x1dd756=>{const _0x269709=_0xa95ec6;PerformanceTester[_0x269709(0xa5)](O11yEvents[_0x269709(0xbb)]),process[_0x269709(0xaf)](_0x269709(0xb0)+process['pid'],{'timestamp':new Date()['toISOString'](),'message':_0x1dd756,'kind':_0x13475b[_0x269709(0xa2)]}),_0x13475b[_0x269709(0xa0)](_0x440f50,_0x1dd756),PerformanceTester[_0x269709(0xb2)](O11yEvents[_0x269709(0xbb)]);})[_0xa95ec6(0xb7)](_0xb4de23=>{const _0x2faa9e=_0xa95ec6;PerformanceTester[_0x2faa9e(0xb2)](O11yEvents['TAKE_SCREENSHOT']),_0x2efc51['aDmiX'](_0x99a75c,_0xb4de23);});});};},exports[a100_0x41a06f(0xb3)]=(_0x40a096,_0x5aa699=null)=>{const _0x262a59=a100_0x41a06f,_0x1c3d5d={'MUYqy':function(_0xca79e5){return _0xca79e5();},'gTuQh':function(_0x20a284,_0x888c18){return _0x20a284>_0x888c18;},'nrFpI':function(_0x3cfd52,_0x34b58d){return _0x3cfd52>_0x34b58d;}};if(_0x40a096[_0x262a59(0xbd)])return;_0x40a096[_0x262a59(0xbd)]=!![],_0x40a096['initQuit']=_0x40a096[_0x262a59(0x9e)],_0x40a096['quit']=()=>{const _0x155aff=_0x262a59,_0xa802b7={'WsmCV':function(_0x17d974){const _0x5b4178=a100_0x3d10;return _0x1c3d5d[_0x5b4178(0xa1)](_0x17d974);}};if(_0x5aa699){_0x5aa699[_0x155aff(0xa8)]+=0x1;if(_0x1c3d5d[_0x155aff(0xb1)](_0x5aa699[_0x155aff(0xa8)],0x1))return _0x40a096['initQuit']();}else{_0x40a096[_0x155aff(0xa8)]+=0x1;if(_0x1c3d5d['nrFpI'](_0x40a096['quitCount_'],0x1))return _0x40a096[_0x155aff(0xa9)]();}return new Promise(function(_0x3a391b){const _0x5e0988=_0x155aff;_0xa802b7[_0x5e0988(0xbe)](_0x3a391b);});};};
@@ -1 +1 @@
1
- const a101_0x63409e=a101_0x4646;function a101_0x32fc(){const _0x93452=['7764417CIRCov','stringify','../logger','isProcessRunning','flags','start','wMWFP','error','1197712vFtTDZ','createPercyConfig','42PUvhCQ','percy.json','data','token','app','Percy\x20config\x20created\x20at\x20','pipe','stderr','DOWNLOAD','./PercyBinary','PkzHB','join','version','app:exec','Error\x20creating\x20percy\x20config:\x20','QsBst','path','QLJOe','fetchPercyToken','nodeRequest','wcVYK','606024pccnHQ','isRunning','exec','GkaAA','writeFile','maAYI','ENV_VAR','child_process','percy/healthcheck','1013592ksguNE','debug','env','GET','stop','evHtz','Binvg','vqqdp','DVRSA','createWriteStream','close','kHZlh','2380970nGTKnu','stdout','&type=','4aTWyHZ','winstonLogger','536402HxCUyz','xtRoI','BROWSERSTACK_TESTHUB_UUID','Percy\x20fetch\x20token\x20success','healthcheck','2471148DIocvY','eudGz','hiHkt','api/app_percy/get_project_token?name=','exec:stop','percy.log','PERCY_SERVER_ADDRESS','../helper','getBinaryPath','end','../../helpers/testhub/constants','../../helpers/performance/constants'];a101_0x32fc=function(){return _0x93452;};return a101_0x32fc();}(function(_0x2f54dd,_0x39e5f1){const _0x2edde2=a101_0x4646,_0x22adbf=_0x2f54dd();while(!![]){try{const _0x488f78=-parseInt(_0x2edde2(0xfe))/0x1+-parseInt(_0x2edde2(0x117))/0x2+parseInt(_0x2edde2(0xed))/0x3+-parseInt(_0x2edde2(0xfc))/0x4*(-parseInt(_0x2edde2(0xf9))/0x5)+parseInt(_0x2edde2(0x103))/0x6+parseInt(_0x2edde2(0xcf))/0x7*(-parseInt(_0x2edde2(0xe4))/0x8)+parseInt(_0x2edde2(0x10f))/0x9;if(_0x488f78===_0x39e5f1)break;else _0x22adbf['push'](_0x22adbf['shift']());}catch(_0x5bcf98){_0x22adbf['push'](_0x22adbf['shift']());}}}(a101_0x32fc,0x79ca5));const fs=require('fs'),path=require(a101_0x63409e(0xdf)),os=require('os'),{spawn}=require(a101_0x63409e(0xeb)),helper=require(a101_0x63409e(0x10a)),logger=require(a101_0x63409e(0x111))[a101_0x63409e(0xfd)],{getLogDir}=require(a101_0x63409e(0x111)),testHubConstants=require(a101_0x63409e(0x10d)),PerformanceTester=require('../../helpers/performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a101_0x63409e(0x10e)),PercyBinary=require(a101_0x63409e(0xd8));class Percy{#logfile=path[a101_0x63409e(0xda)](getLogDir(),a101_0x63409e(0x108));#address=process['env'][a101_0x63409e(0x109)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#isApp=![];[a101_0x63409e(0x112)]=![];constructor(_0xdc29fd){const _0x4760ca=a101_0x63409e;this.#config=_0xdc29fd,!!_0xdc29fd[_0x4760ca(0xd3)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x480c46=a101_0x63409e;if(!this.#binaryPath){const _0x551a21=new PercyBinary();PerformanceTester[_0x480c46(0x114)](PerformanceEvents[_0x480c46(0xd7)]),this.#binaryPath=await _0x551a21[_0x480c46(0x10b)](this.#config),PerformanceTester[_0x480c46(0x10c)](PerformanceEvents[_0x480c46(0xd7)]);}return this.#binaryPath;}async #sleep(_0x1766c4){return new Promise(_0x5219ea=>setTimeout(_0x5219ea,_0x1766c4));}async['healthcheck'](){const _0x4830a7=a101_0x63409e,_0x5dcba8={};_0x5dcba8[_0x4830a7(0xf5)]=_0x4830a7(0xf0),_0x5dcba8[_0x4830a7(0xd9)]=_0x4830a7(0xec);const _0x15bfad=_0x5dcba8;try{const _0x522241=await helper['nodeRequest'](_0x15bfad[_0x4830a7(0xf5)],_0x15bfad[_0x4830a7(0xd9)],null,null,this.#address);if(_0x522241)return!![];}catch(_0x5561de){return![];}}async[a101_0x63409e(0x114)](){const _0x1c6f0a=a101_0x63409e,_0xad7676={'dkbYd':_0x1c6f0a(0xdc),'QLJOe':_0x1c6f0a(0xe6),'cmCUy':function(_0x760e5,_0x5f2a35,_0x3eadb1,_0x21698d){return _0x760e5(_0x5f2a35,_0x3eadb1,_0x21698d);},'GkaAA':_0x1c6f0a(0xf7),'vqqdp':'Percy\x20healthcheck\x20successful'},_0x4d3afb=await this.#getBinaryPath(),_0x451e74={};_0x451e74[_0x1c6f0a(0x113)]='a';const _0x5a2b0c=fs[_0x1c6f0a(0xf6)](this.#logfile,_0x451e74),_0x5dc03f=await this['fetchPercyToken'](),_0x5f30ac=await this[_0x1c6f0a(0x118)]();if(!_0x5dc03f)return![];const _0x155c60=[(this.#isApp?_0xad7676['dkbYd']:_0xad7676[_0x1c6f0a(0xe0)])+':start'];_0x5f30ac&&_0x155c60['push']('-c',_0x5f30ac);this.#proc=_0xad7676['cmCUy'](spawn,_0x4d3afb,_0x155c60,{'env':Object['assign'](process[_0x1c6f0a(0xef)],{'PERCY_TOKEN':_0x5dc03f,'TH_BUILD_UUID':process[_0x1c6f0a(0xef)][testHubConstants[_0x1c6f0a(0xea)][_0x1c6f0a(0x100)]]})}),this.#proc[_0x1c6f0a(0xfa)][_0x1c6f0a(0xd5)](_0x5a2b0c),this.#proc[_0x1c6f0a(0xd6)][_0x1c6f0a(0xd5)](_0x5a2b0c),this['isProcessRunning']=!![];var _0x4900a1=this;this.#proc['on'](_0xad7676[_0x1c6f0a(0xe7)],function(_0x50d67b){const _0x312847=_0x1c6f0a;_0x4900a1[_0x312847(0x112)]=![];});do{const _0x11ffa2=await this[_0x1c6f0a(0x102)]();if(_0x11ffa2)return logger[_0x1c6f0a(0xee)](_0xad7676[_0x1c6f0a(0xf4)]),!![];await this.#sleep(0x3e8);}while(this[_0x1c6f0a(0x112)]);return![];}async[a101_0x63409e(0xf1)](){const _0x3a5bc1=a101_0x63409e,_0xe0fd6d={'evHtz':function(_0x537dd1,_0x4f7881){return _0x537dd1(_0x4f7881);},'maAYI':function(_0x1f5b01,_0x3b46d7,_0x4e0bf6){return _0x1f5b01(_0x3b46d7,_0x4e0bf6);},'wcVYK':_0x3a5bc1(0x107),'QsBst':_0x3a5bc1(0xf7)},_0x5ac8bb=await this.#getBinaryPath();return new Promise((_0x5eddff,_0xe55f4a)=>{const _0x54ce3f=_0x3a5bc1,_0x2b9263={'IzaED':function(_0x2626c8,_0x98fbc0){const _0x1b1426=a101_0x4646;return _0xe0fd6d[_0x1b1426(0xf2)](_0x2626c8,_0x98fbc0);}},_0x2e689e=_0xe0fd6d[_0x54ce3f(0xe9)](spawn,_0x5ac8bb,[_0xe0fd6d[_0x54ce3f(0xe3)]]);_0x2e689e['on'](_0xe0fd6d[_0x54ce3f(0xde)],_0x463d28=>{const _0x50b862=_0x54ce3f;this[_0x50b862(0x112)]=![],_0x2b9263['IzaED'](_0x5eddff,_0x463d28);});});}[a101_0x63409e(0xe5)](){const _0x3c27b8=a101_0x63409e;return this[_0x3c27b8(0x112)];}async[a101_0x63409e(0xe1)](){const _0x1b5f7f=a101_0x63409e,_0xb69598={};_0xb69598[_0x1b5f7f(0xff)]=_0x1b5f7f(0xd3),_0xb69598[_0x1b5f7f(0xf3)]='automate',_0xb69598[_0x1b5f7f(0x104)]='GET',_0xb69598[_0x1b5f7f(0x115)]=_0x1b5f7f(0x101);const _0x2dd8f9=_0xb69598,_0x25c3ec=this.#config['projectName'];try{const _0x154425=this.#isApp?_0x2dd8f9[_0x1b5f7f(0xff)]:_0x2dd8f9[_0x1b5f7f(0xf3)],_0x7e9a87=await helper[_0x1b5f7f(0xe2)](_0x2dd8f9[_0x1b5f7f(0x104)],_0x1b5f7f(0x106)+_0x25c3ec+_0x1b5f7f(0xfb)+_0x154425,{},this.#config),_0x253fa9=_0x7e9a87[_0x1b5f7f(0xd1)];return logger['debug'](_0x2dd8f9[_0x1b5f7f(0x115)]),_0x253fa9[_0x1b5f7f(0xd2)];}catch(_0x5e9591){return logger[_0x1b5f7f(0x116)]('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x5e9591),null;}}async[a101_0x63409e(0x118)](){const _0xdba5ba=a101_0x63409e,_0x5722f8={'mLGrO':function(_0x363712,_0xf7609a){return _0x363712(_0xf7609a);},'hiHkt':function(_0x1d3516,_0x6bfd25){return _0x1d3516+_0x6bfd25;},'gGUiw':_0xdba5ba(0xd4),'kHZlh':function(_0x220a66,_0xc88f3a){return _0x220a66(_0xc88f3a);},'MdUJw':_0xdba5ba(0xd0)};if(!this.#config['percyOptions'])return null;const _0x59974b=path[_0xdba5ba(0xda)](os['tmpdir'](),_0x5722f8['MdUJw']),_0x1c6a6a=this.#config['percyOptions'];return!_0x1c6a6a[_0xdba5ba(0xdb)]&&(_0x1c6a6a[_0xdba5ba(0xdb)]='2'),new Promise((_0x1dc4a8,_0x1b93df)=>{const _0x22b38e=_0xdba5ba;fs[_0x22b38e(0xe8)](_0x59974b,JSON[_0x22b38e(0x110)](_0x1c6a6a),_0x4393b1=>{const _0x9985c4=_0x22b38e;_0x4393b1&&(logger[_0x9985c4(0x116)](_0x9985c4(0xdd)+_0x4393b1),_0x5722f8['mLGrO'](_0x1dc4a8,null)),logger[_0x9985c4(0xee)](_0x5722f8[_0x9985c4(0x105)](_0x5722f8['gGUiw'],_0x59974b)),_0x5722f8[_0x9985c4(0xf8)](_0x1dc4a8,_0x59974b);});});}}function a101_0x4646(_0x4f8db6,_0x230cc1){const _0x32fceb=a101_0x32fc();return a101_0x4646=function(_0x464696,_0x51e69d){_0x464696=_0x464696-0xcf;let _0xc7bf7b=_0x32fceb[_0x464696];return _0xc7bf7b;},a101_0x4646(_0x4f8db6,_0x230cc1);}module['exports']=Percy;
1
+ const a101_0x3ec90f=a101_0x159c;function a101_0x3030(){const _0x403e58=['app','api/app_percy/get_project_token?name=','Percy\x20healthcheck\x20successful','3380tFUTjg','../../helpers/performance/performance-tester','exec:stop','writeFile','error','GET','exec','./PercyBinary','../logger','cvXLP','15PjqGCM','ENV_VAR','winstonLogger','percyOptions','isProcessRunning','http://localhost:5338','start','version','37qtlGjs','PUEkU','1195748VScdeS','percy/healthcheck','9048550VTcBwY','PERCY_SERVER_ADDRESS','healthcheck','24xAuCMy','../helper','Error\x20creating\x20percy\x20config:\x20','iGbNP','fetchPercyToken','Glpxm','getBinaryPath','createPercyConfig','sDsmT','14FUyRzf','data','18MRctAx','tNxfb','Percy\x20fetch\x20token\x20success','OfEkZ','ojUxz','8074418LTNLLA','percy.json','2254272yydXOI','20bqFIet','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','Jeivs','exports','VNEhf','child_process','push','createWriteStream','kzJCj','pipe','nodeRequest','app:exec','debug','2736544zQmkYU','&type=','path','UagTP','EcYNE','../../helpers/performance/constants','tmpdir','assign','GpDnY','env','13006YuwFwh','isRunning','IGvSA','gxdPD','iyTeX','sErfJ','Percy\x20config\x20created\x20at\x20','aDuZa','41230DpSTjg'];a101_0x3030=function(){return _0x403e58;};return a101_0x3030();}(function(_0x4c664f,_0x14e479){const _0x370dd2=a101_0x159c,_0x3631ef=_0x4c664f();while(!![]){try{const _0x18664d=parseInt(_0x370dd2(0x1ff))/0x1*(parseInt(_0x370dd2(0x1e9))/0x2)+-parseInt(_0x370dd2(0x1f7))/0x3*(-parseInt(_0x370dd2(0x201))/0x4)+parseInt(_0x370dd2(0x219))/0x5*(parseInt(_0x370dd2(0x218))/0x6)+-parseInt(_0x370dd2(0x20f))/0x7*(-parseInt(_0x370dd2(0x1d7))/0x8)+parseInt(_0x370dd2(0x211))/0x9*(-parseInt(_0x370dd2(0x203))/0xa)+-parseInt(_0x370dd2(0x216))/0xb*(parseInt(_0x370dd2(0x206))/0xc)+-parseInt(_0x370dd2(0x1ed))/0xd*(parseInt(_0x370dd2(0x1e1))/0xe);if(_0x18664d===_0x14e479)break;else _0x3631ef['push'](_0x3631ef['shift']());}catch(_0x5f5411){_0x3631ef['push'](_0x3631ef['shift']());}}}(a101_0x3030,0xe1daa));const fs=require('fs'),path=require(a101_0x3ec90f(0x1d9)),os=require('os'),{spawn}=require(a101_0x3ec90f(0x1cf)),helper=require(a101_0x3ec90f(0x207)),logger=require(a101_0x3ec90f(0x1f5))[a101_0x3ec90f(0x1f9)],{getLogDir}=require(a101_0x3ec90f(0x1f5)),testHubConstants=require('../../helpers/testhub/constants'),PerformanceTester=require(a101_0x3ec90f(0x1ee)),{PERCY_EVENTS:PerformanceEvents}=require(a101_0x3ec90f(0x1dc)),PercyBinary=require(a101_0x3ec90f(0x1f4));class Percy{#logfile=path['join'](getLogDir(),'percy.log');#address=process[a101_0x3ec90f(0x1e0)][a101_0x3ec90f(0x204)]||a101_0x3ec90f(0x1fc);#binaryPath=null;#config=null;#proc=null;#isApp=![];['isProcessRunning']=![];constructor(_0x281ef6){const _0x216fab=a101_0x3ec90f;this.#config=_0x281ef6,!!_0x281ef6[_0x216fab(0x1ea)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x4f38fe=a101_0x3ec90f;if(!this.#binaryPath){const _0x1ac22e=new PercyBinary();PerformanceTester[_0x4f38fe(0x1fd)](PerformanceEvents['DOWNLOAD']),this.#binaryPath=await _0x1ac22e[_0x4f38fe(0x20c)](this.#config),PerformanceTester['end'](PerformanceEvents['DOWNLOAD']);}return this.#binaryPath;}async #sleep(_0x2b2401){return new Promise(_0x21fbbd=>setTimeout(_0x21fbbd,_0x2b2401));}async[a101_0x3ec90f(0x205)](){const _0x325c05=a101_0x3ec90f,_0x54cced={};_0x54cced[_0x325c05(0x212)]=_0x325c05(0x1f2),_0x54cced[_0x325c05(0x1ce)]=_0x325c05(0x202);const _0x31f16f=_0x54cced;try{const _0x59029f=await helper[_0x325c05(0x1d4)](_0x31f16f[_0x325c05(0x212)],_0x31f16f[_0x325c05(0x1ce)],null,null,this.#address);if(_0x59029f)return!![];}catch(_0x46a0d5){return![];}}async['start'](){const _0x47758c=a101_0x3ec90f,_0x447efb={'sErfJ':_0x47758c(0x1d5),'EcYNE':_0x47758c(0x1f3),'GpDnY':function(_0x3aac40,_0xee847d,_0x11744a,_0x55772b){return _0x3aac40(_0xee847d,_0x11744a,_0x55772b);},'aDuZa':'close','OfEkZ':_0x47758c(0x1ec)},_0x4a66fa=await this.#getBinaryPath(),_0x2ce9d0={};_0x2ce9d0['flags']='a';const _0x57fe74=fs[_0x47758c(0x1d1)](this.#logfile,_0x2ce9d0),_0x42ff87=await this['fetchPercyToken'](),_0x3bf1d6=await this[_0x47758c(0x20d)]();if(!_0x42ff87)return![];const _0x5ead6a=[(this.#isApp?_0x447efb[_0x47758c(0x1e6)]:_0x447efb[_0x47758c(0x1db)])+':start'];_0x3bf1d6&&_0x5ead6a[_0x47758c(0x1d0)]('-c',_0x3bf1d6);this.#proc=_0x447efb[_0x47758c(0x1df)](spawn,_0x4a66fa,_0x5ead6a,{'env':Object[_0x47758c(0x1de)](process[_0x47758c(0x1e0)],{'PERCY_TOKEN':_0x42ff87,'TH_BUILD_UUID':process[_0x47758c(0x1e0)][testHubConstants[_0x47758c(0x1f8)]['BROWSERSTACK_TESTHUB_UUID']]})}),this.#proc['stdout']['pipe'](_0x57fe74),this.#proc['stderr'][_0x47758c(0x1d3)](_0x57fe74),this[_0x47758c(0x1fb)]=!![];var _0x4a02e1=this;this.#proc['on'](_0x447efb[_0x47758c(0x1e8)],function(_0x1a63f7){const _0x1f5734=_0x47758c;_0x4a02e1[_0x1f5734(0x1fb)]=![];});do{const _0x3003bb=await this['healthcheck']();if(_0x3003bb)return logger[_0x47758c(0x1d6)](_0x447efb[_0x47758c(0x214)]),!![];await this.#sleep(0x3e8);}while(this['isProcessRunning']);return![];}async['stop'](){const _0x4707a1=a101_0x3ec90f,_0x59a127={'kzJCj':function(_0xf16683,_0x4ba92a){return _0xf16683(_0x4ba92a);},'iyTeX':function(_0x29cba3,_0x4e32bd,_0x5e7913){return _0x29cba3(_0x4e32bd,_0x5e7913);},'sDsmT':_0x4707a1(0x1ef),'IGvSA':'close'},_0x21c393=await this.#getBinaryPath();return new Promise((_0x45c551,_0x2f3423)=>{const _0x759405=_0x4707a1,_0x17d5c8=_0x59a127[_0x759405(0x1e5)](spawn,_0x21c393,[_0x59a127[_0x759405(0x20e)]]);_0x17d5c8['on'](_0x59a127[_0x759405(0x1e3)],_0x467674=>{const _0x1f9736=_0x759405;this['isProcessRunning']=![],_0x59a127[_0x1f9736(0x1d2)](_0x45c551,_0x467674);});});}[a101_0x3ec90f(0x1e2)](){const _0x40dfc8=a101_0x3ec90f;return this[_0x40dfc8(0x1fb)];}async[a101_0x3ec90f(0x20a)](){const _0xa0ed5a=a101_0x3ec90f,_0x1119b6={};_0x1119b6[_0xa0ed5a(0x1da)]=_0xa0ed5a(0x1ea),_0x1119b6[_0xa0ed5a(0x1f6)]='automate',_0x1119b6[_0xa0ed5a(0x1e4)]='GET',_0x1119b6['PUEkU']=_0xa0ed5a(0x213);const _0xe863f4=_0x1119b6,_0x53169c=this.#config['projectName'];try{const _0x4f0a15=this.#isApp?_0xe863f4[_0xa0ed5a(0x1da)]:_0xe863f4[_0xa0ed5a(0x1f6)],_0x2ebfc6=await helper[_0xa0ed5a(0x1d4)](_0xe863f4[_0xa0ed5a(0x1e4)],_0xa0ed5a(0x1eb)+_0x53169c+_0xa0ed5a(0x1d8)+_0x4f0a15,{},this.#config),_0x2ad378=_0x2ebfc6[_0xa0ed5a(0x210)];return logger[_0xa0ed5a(0x1d6)](_0xe863f4[_0xa0ed5a(0x200)]),_0x2ad378['token'];}catch(_0x1a2033){return logger[_0xa0ed5a(0x1f1)](_0xa0ed5a(0x21a)+_0x1a2033),null;}}async[a101_0x3ec90f(0x20d)](){const _0x4c6e1d=a101_0x3ec90f,_0x46dc9f={'eIIvc':function(_0x2c0aad,_0x3252ed){return _0x2c0aad(_0x3252ed);},'Jeivs':function(_0x33b267,_0x2f2169){return _0x33b267+_0x2f2169;},'iGbNP':_0x4c6e1d(0x1e7),'ojUxz':function(_0xbb37e8,_0x39d414){return _0xbb37e8(_0x39d414);},'Glpxm':_0x4c6e1d(0x217)};if(!this.#config[_0x4c6e1d(0x1fa)])return null;const _0x2f3aff=path['join'](os[_0x4c6e1d(0x1dd)](),_0x46dc9f[_0x4c6e1d(0x20b)]),_0x31cb04=this.#config[_0x4c6e1d(0x1fa)];return!_0x31cb04[_0x4c6e1d(0x1fe)]&&(_0x31cb04[_0x4c6e1d(0x1fe)]='2'),new Promise((_0x47c474,_0x45f719)=>{const _0x4b7f6c=_0x4c6e1d,_0x57429d={'xSlRZ':function(_0x525a6c,_0x4ec1ca){return _0x46dc9f['eIIvc'](_0x525a6c,_0x4ec1ca);},'VADLz':function(_0x5b7642,_0x106d94){const _0x58be6e=a101_0x159c;return _0x46dc9f[_0x58be6e(0x21b)](_0x5b7642,_0x106d94);},'BWYzM':_0x46dc9f[_0x4b7f6c(0x209)],'rMPkQ':function(_0x2bc55f,_0x5abfc8){const _0x26ebf4=_0x4b7f6c;return _0x46dc9f[_0x26ebf4(0x215)](_0x2bc55f,_0x5abfc8);}};fs[_0x4b7f6c(0x1f0)](_0x2f3aff,JSON['stringify'](_0x31cb04),_0x35fa36=>{const _0x4b4cfd=_0x4b7f6c;_0x35fa36&&(logger[_0x4b4cfd(0x1f1)](_0x4b4cfd(0x208)+_0x35fa36),_0x57429d['xSlRZ'](_0x47c474,null)),logger[_0x4b4cfd(0x1d6)](_0x57429d['VADLz'](_0x57429d['BWYzM'],_0x2f3aff)),_0x57429d['rMPkQ'](_0x47c474,_0x2f3aff);});});}}function a101_0x159c(_0x311c60,_0x46696f){const _0x3030fe=a101_0x3030();return a101_0x159c=function(_0x159cad,_0x2a45b1){_0x159cad=_0x159cad-0x1cd;let _0x28bfc4=_0x3030fe[_0x159cad];return _0x28bfc4;},a101_0x159c(_0x311c60,_0x46696f);}module[a101_0x3ec90f(0x1cd)]=Percy;
@@ -1 +1 @@
1
- const a102_0x4f7346=a102_0x5bc2;(function(_0x2fd02b,_0x5eaab7){const _0x197154=a102_0x5bc2,_0x2d2e8c=_0x2fd02b();while(!![]){try{const _0x21a9c5=parseInt(_0x197154(0x1b4))/0x1*(parseInt(_0x197154(0x1d9))/0x2)+parseInt(_0x197154(0x194))/0x3+-parseInt(_0x197154(0x1d5))/0x4+parseInt(_0x197154(0x1f9))/0x5*(parseInt(_0x197154(0x1b3))/0x6)+-parseInt(_0x197154(0x190))/0x7+parseInt(_0x197154(0x1b1))/0x8*(-parseInt(_0x197154(0x202))/0x9)+-parseInt(_0x197154(0x174))/0xa*(-parseInt(_0x197154(0x1c0))/0xb);if(_0x21a9c5===_0x5eaab7)break;else _0x2d2e8c['push'](_0x2d2e8c['shift']());}catch(_0x273791){_0x2d2e8c['push'](_0x2d2e8c['shift']());}}}(a102_0x7901,0x5f2cf));const {https}=require('follow-redirects'),url=require('url'),yauzl=require(a102_0x4f7346(0x1bd)),fs=require('fs'),path=require(a102_0x4f7346(0x1ab)),os=require('os'),{spawn}=require(a102_0x4f7346(0x178)),HttpsProxyAgent=require(a102_0x4f7346(0x16e)),logger=require(a102_0x4f7346(0x1fc))[a102_0x4f7346(0x1b6)];function a102_0x5bc2(_0x424ce1,_0x33885c){const _0x79017b=a102_0x7901();return a102_0x5bc2=function(_0x5bc222,_0x20163a){_0x5bc222=_0x5bc222-0x165;let _0x3c95de=_0x79017b[_0x5bc222];return _0x3c95de;},a102_0x5bc2(_0x424ce1,_0x33885c);}class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a102_0x4f7346(0x1bc);#orderedPaths=[path[a102_0x4f7346(0x200)](this.#homedir(),a102_0x4f7346(0x187)),process[a102_0x4f7346(0x16f)](),os[a102_0x4f7346(0x1e9)]()];constructor(){const _0x45baa5=a102_0x4f7346,_0x178e15={};_0x178e15['CeZck']=_0x45baa5(0x19e),_0x178e15[_0x45baa5(0x1a6)]=function(_0x529d79,_0x150b47){return _0x529d79+_0x150b47;},_0x178e15[_0x45baa5(0x1e8)]=_0x45baa5(0x1e1),_0x178e15[_0x45baa5(0x19a)]=_0x45baa5(0x1f3),_0x178e15[_0x45baa5(0x1ae)]=_0x45baa5(0x1fa),_0x178e15[_0x45baa5(0x205)]=function(_0x174bad,_0x15a2d8){return _0x174bad+_0x15a2d8;},_0x178e15[_0x45baa5(0x168)]='/percy-linux.zip';const _0x1d07f=_0x178e15,_0x172037=_0x1d07f[_0x45baa5(0x172)];if(this.#hostOS['match'](/darwin|mac os/i))this.#httpPath=_0x1d07f['yBsKg'](_0x172037,_0x1d07f[_0x45baa5(0x1e8)]);else this.#hostOS[_0x45baa5(0x1b0)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x1d07f[_0x45baa5(0x1a6)](_0x172037,_0x1d07f[_0x45baa5(0x19a)]),this.#binaryName=_0x1d07f[_0x45baa5(0x1ae)]):this.#httpPath=_0x1d07f[_0x45baa5(0x205)](_0x172037,_0x1d07f[_0x45baa5(0x168)]);}#getAvailableDirs(){const _0x1ad394=a102_0x4f7346,_0x40b598={};_0x40b598['MalOl']=function(_0x488973,_0x2ef49a){return _0x488973<_0x2ef49a;},_0x40b598['cbmxb']=_0x1ad394(0x1cb);const _0x37cd0e=_0x40b598;for(var _0x46d774=0x0;_0x37cd0e[_0x1ad394(0x165)](_0x46d774,this.#orderedPaths[_0x1ad394(0x199)]);_0x46d774++){var _0x5b1da7=this.#orderedPaths[_0x46d774];if(this.#makePath(_0x5b1da7))return _0x5b1da7;}throw new Error(_0x37cd0e['cbmxb']);}#makePath(_0x352d1f){const _0x50d281=a102_0x4f7346;try{return _0x352d1f&&!this.#checkPath(_0x352d1f)&&fs[_0x50d281(0x1ac)](_0x352d1f),!![];}catch{return![];}}#checkPath(_0x9c40f9,_0x435d94){const _0x4ec34a=a102_0x4f7346,_0x51e72b={};_0x51e72b['LnnWg']=function(_0x28d27b,_0xbc63cd){return _0x28d27b|_0xbc63cd;},_0x51e72b[_0x4ec34a(0x17d)]=function(_0x467719,_0x35123c){return _0x467719!==_0x35123c;},_0x51e72b[_0x4ec34a(0x1a1)]='undefined';const _0x494aa5=_0x51e72b;_0x435d94=_0x435d94||_0x494aa5[_0x4ec34a(0x1fe)](fs['R_OK'],fs['W_OK']);try{return fs[_0x4ec34a(0x17c)](_0x9c40f9,_0x435d94),!![];}catch(_0x432872){if(_0x494aa5[_0x4ec34a(0x17d)](typeof fs[_0x4ec34a(0x17c)],_0x494aa5[_0x4ec34a(0x1a1)]))return![];try{return fs[_0x4ec34a(0x1c7)](_0x9c40f9),!![];}catch(_0xa9f929){return![];}}}#getETagPath(_0x226f80){const _0x213b69=a102_0x4f7346;return path[_0x213b69(0x200)](_0x226f80,this.#binaryName+_0x213b69(0x1ff));}#loadETag(_0x19830a){const _0x32a656=a102_0x4f7346,_0x2691ec={};_0x2691ec['bPLrd']=_0x32a656(0x182);const _0x54f136=_0x2691ec,_0x547e52=this.#getETagPath(_0x19830a);if(this.#checkPath(_0x547e52))try{return fs[_0x32a656(0x186)](_0x547e52,_0x54f136[_0x32a656(0x1fd)])[_0x32a656(0x1f7)]();}catch(_0x193522){logger[_0x32a656(0x167)]('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x193522);}return null;}#saveETag(_0x1ac89b,_0x21bf58){const _0x1f575b=a102_0x4f7346,_0x4fa107={};_0x4fa107[_0x1f575b(0x1f0)]=_0x1f575b(0x19f);const _0x1b782e=_0x4fa107;if(!_0x21bf58)return;try{const _0x16109d=this.#getETagPath(_0x1ac89b);fs[_0x1f575b(0x18d)](_0x16109d,_0x21bf58),logger[_0x1f575b(0x204)](_0x1b782e[_0x1f575b(0x1f0)]);}catch(_0x1819d8){logger[_0x1f575b(0x167)](_0x1f575b(0x1df)+_0x1819d8);}}async #handleBinaryDownload(_0x33ec7d,_0x558a65,_0x5cbbf4){const _0x20f0eb=a102_0x4f7346,_0x19c9d1={};_0x19c9d1[_0x20f0eb(0x1f8)]=_0x20f0eb(0x176);const _0x464988=_0x19c9d1,_0x2c0581=await this[_0x20f0eb(0x1d7)](_0x33ec7d[_0x20f0eb(0x1cd)]);if(!_0x2c0581){logger[_0x20f0eb(0x1d3)](_0x464988[_0x20f0eb(0x1f8)]);const _0x4281aa=await this[_0x20f0eb(0x17b)](_0x558a65,_0x5cbbf4);return _0x4281aa[_0x20f0eb(0x1cd)];}return _0x33ec7d[_0x20f0eb(0x1cd)];}async[a102_0x4f7346(0x180)](_0x30c504){const _0x1c0c0f=a102_0x4f7346,_0x57f7db={};_0x57f7db[_0x1c0c0f(0x1c9)]='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x57f7db[_0x1c0c0f(0x1d8)]=_0x1c0c0f(0x1ef);const _0x10110a=_0x57f7db,_0x2644d4=this.#getAvailableDirs(),_0x1be58e=path['join'](_0x2644d4,this.#binaryName);if(this.#checkPath(_0x1be58e,fs['X_OK'])){const _0x45c488=this.#loadETag(_0x2644d4);if(_0x45c488)try{const _0x4eee9e=await this['download'](_0x30c504,_0x2644d4,_0x45c488);if(!_0x4eee9e[_0x1c0c0f(0x1b9)])return logger[_0x1c0c0f(0x204)](_0x10110a[_0x1c0c0f(0x1c9)]),_0x1be58e;return logger[_0x1c0c0f(0x204)](_0x10110a[_0x1c0c0f(0x1d8)]),await this.#handleBinaryDownload(_0x4eee9e,_0x30c504,_0x2644d4);}catch(_0x5a61d9){return logger[_0x1c0c0f(0x167)](_0x1c0c0f(0x171)+_0x5a61d9),_0x1be58e;}}const _0x1f4bcf=await this[_0x1c0c0f(0x17b)](_0x30c504,_0x2644d4);return await this.#handleBinaryDownload(_0x1f4bcf,_0x30c504,_0x2644d4);}[a102_0x4f7346(0x17b)](_0x1e3bae,_0x3df920,_0x44602f=null){const _0x4cc59c=a102_0x4f7346,_0x3f21b4={'fGwFa':function(_0x5b1d6a,_0x4a0cca){return _0x5b1d6a(_0x4a0cca);},'oMuUt':function(_0x1fed64,_0x51314a){return _0x1fed64===_0x51314a;},'aMkvE':function(_0x540867,_0x220b74){return _0x540867(_0x220b74);},'YYsix':_0x4cc59c(0x1d3),'eGNRR':'close','OFPeS':function(_0x552ff5,_0x4c54a5){return _0x552ff5(_0x4c54a5);},'qBJak':function(_0x3a5132,_0x4817f6){return _0x3a5132+_0x4817f6;},'GnXMD':_0x4cc59c(0x1a2)};_0x3df920&&!this.#checkPath(_0x3df920)&&fs['mkdirSync'](_0x3df920);const _0x5d60a1=this.#binaryName,_0x1538c8=path['join'](_0x3df920,_0x3f21b4[_0x4cc59c(0x1c8)](_0x5d60a1,_0x3f21b4['GnXMD'])),_0x46502b=fs[_0x4cc59c(0x1a4)](_0x1538c8),_0x44ba31=url[_0x4cc59c(0x188)](this.#httpPath);if(_0x1e3bae['proxyHost']&&_0x1e3bae[_0x4cc59c(0x1b7)]){const _0x31c401={};_0x31c401[_0x4cc59c(0x1ea)]=_0x1e3bae[_0x4cc59c(0x18c)],_0x31c401[_0x4cc59c(0x1ba)]=_0x1e3bae[_0x4cc59c(0x1b7)],_0x44ba31['agent']=new HttpsProxyAgent(_0x31c401);}if(_0x1e3bae[_0x4cc59c(0x169)])try{_0x44ba31['ca']=fs[_0x4cc59c(0x186)](_0x1e3bae[_0x4cc59c(0x169)]);}catch(_0xee500f){logger[_0x4cc59c(0x1d3)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0xee500f);}if(_0x44602f){const _0x559280={};_0x559280[_0x4cc59c(0x1d1)]=_0x44602f,_0x44ba31['headers']=_0x559280;}return new Promise((_0x2c9c63,_0x495f3b)=>{const _0x5ec9c9=_0x4cc59c,_0x1e2673={'VOIyz':function(_0x48e46e,_0x12c502){const _0x57e7b5=a102_0x5bc2;return _0x3f21b4[_0x57e7b5(0x1a0)](_0x48e46e,_0x12c502);},'GXVRM':function(_0x14474e,_0x12852e){const _0x27e652=a102_0x5bc2;return _0x3f21b4[_0x27e652(0x1a0)](_0x14474e,_0x12852e);},'xYFGi':function(_0x547bef,_0x3de4b5){const _0x183ef7=a102_0x5bc2;return _0x3f21b4[_0x183ef7(0x1d6)](_0x547bef,_0x3de4b5);},'AbxJP':function(_0x3105b4,_0x598e59){const _0x182fd3=a102_0x5bc2;return _0x3f21b4[_0x182fd3(0x1e2)](_0x3105b4,_0x598e59);},'fvzmB':_0x3f21b4[_0x5ec9c9(0x197)],'Hbapf':_0x3f21b4[_0x5ec9c9(0x1a8)],'PWZIx':function(_0x29877b,_0x227f82){return _0x3f21b4['OFPeS'](_0x29877b,_0x227f82);}};https[_0x5ec9c9(0x17f)](_0x44ba31,_0x9494f6=>{const _0x35155e=_0x5ec9c9,_0x2f4eb3={'QJgjB':function(_0x12f14a,_0x11def2){const _0x7e6dfe=a102_0x5bc2;return _0x1e2673[_0x7e6dfe(0x184)](_0x12f14a,_0x11def2);},'arRsj':function(_0x4da8bc,_0x1ca7c5){const _0x4f13f1=a102_0x5bc2;return _0x1e2673[_0x4f13f1(0x1bb)](_0x4da8bc,_0x1ca7c5);}};if(_0x44602f&&_0x1e2673[_0x35155e(0x18f)](_0x9494f6['statusCode'],0x130)){const _0x25fe36={};_0x25fe36[_0x35155e(0x1b9)]=![],_0x1e2673[_0x35155e(0x18a)](_0x2c9c63,_0x25fe36);return;}const _0x3c83b1=_0x9494f6[_0x35155e(0x1f4)]['etag'];_0x3c83b1&&this.#saveETag(_0x3df920,_0x3c83b1),_0x9494f6[_0x35155e(0x1af)](_0x46502b),_0x9494f6['on'](_0x1e2673['fvzmB'],function(_0x4987ee){const _0xd49739=_0x35155e;logger['error'](_0xd49739(0x1eb)+_0x4987ee),_0x2f4eb3[_0xd49739(0x1dd)](_0x495f3b,_0x4987ee);}),_0x46502b['on'](_0x1e2673[_0x35155e(0x19c)],function(_0x36a6a6){const _0x4d5ad7=_0x35155e;logger[_0x4d5ad7(0x1d3)](_0x4d5ad7(0x16a)+_0x36a6a6),_0x2f4eb3[_0x4d5ad7(0x1a7)](_0x495f3b,_0x36a6a6);}),_0x46502b['on'](_0x1e2673[_0x35155e(0x1e6)],()=>{const _0x3a7773=_0x35155e;this[_0x3a7773(0x1f1)](_0x1538c8,_0x3df920)[_0x3a7773(0x17e)](_0x47e68b=>_0x2c9c63({'needsUpdate':!![],'binaryPath':_0x47e68b}))[_0x3a7773(0x1ad)](_0x495f3b);});})['on'](_0x3f21b4[_0x5ec9c9(0x197)],function(_0x4ef11c){const _0x260a33=_0x5ec9c9;logger[_0x260a33(0x1d3)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0x4ef11c),_0x1e2673[_0x260a33(0x1c2)](_0x495f3b,_0x4ef11c);});});}[a102_0x4f7346(0x1f1)](_0x547cc8,_0x44838f){const _0x388d23=a102_0x4f7346,_0x1cd3c9={'wJsoI':function(_0x2ffe7b,_0x413fa7){return _0x2ffe7b(_0x413fa7);},'gSrbA':'0755','DTRDY':_0x388d23(0x1d4),'RInmP':function(_0x384c75,_0x258f06){return _0x384c75===_0x258f06;},'LcsnL':function(_0x5667c6,_0x425eeb){return _0x5667c6(_0x425eeb);},'mNWre':_0x388d23(0x1fb),'xbgXP':_0x388d23(0x1d3)},_0xfb02fc=this.#binaryName,_0x2a0dba=path[_0x388d23(0x200)](_0x44838f,_0xfb02fc);return new Promise((_0x539081,_0x336e63)=>{const _0x3fda2f=_0x388d23,_0x588e58={'CICVd':function(_0x294b2e,_0x285ea1){return _0x1cd3c9['wJsoI'](_0x294b2e,_0x285ea1);},'ueIPy':_0x1cd3c9[_0x3fda2f(0x19b)],'UOUEw':function(_0x55a9af,_0x42047f){const _0x2fe780=_0x3fda2f;return _0x1cd3c9[_0x2fe780(0x18b)](_0x55a9af,_0x42047f);},'ZPYoy':_0x1cd3c9[_0x3fda2f(0x1dc)],'lQovq':function(_0x5b63d3,_0x5f3862){const _0x514a7f=_0x3fda2f;return _0x1cd3c9[_0x514a7f(0x1ec)](_0x5b63d3,_0x5f3862);},'sWfvC':function(_0x1c91c1,_0x556c77){const _0x403f49=_0x3fda2f;return _0x1cd3c9[_0x403f49(0x175)](_0x1c91c1,_0x556c77);},'XFkTm':function(_0x3e6914,_0x36d677){const _0x2d20e6=_0x3fda2f;return _0x1cd3c9[_0x2d20e6(0x18b)](_0x3e6914,_0x36d677);},'wivyV':_0x1cd3c9[_0x3fda2f(0x1d0)],'rTJRj':_0x1cd3c9[_0x3fda2f(0x1f2)]},_0xf00e35={};_0xf00e35[_0x3fda2f(0x1e3)]=!![],yauzl[_0x3fda2f(0x203)](_0x547cc8,_0xf00e35,function(_0x2e811e,_0x648949){const _0x4940f7=_0x3fda2f,_0x3c9a7b={'oOMxZ':function(_0x4c9d36,_0x4ea86a){return _0x588e58['UOUEw'](_0x4c9d36,_0x4ea86a);},'xbSUY':_0x588e58[_0x4940f7(0x179)],'WaDsp':function(_0x55191f,_0x2e9b0b){const _0xf0a89c=_0x4940f7;return _0x588e58[_0xf0a89c(0x1a5)](_0x55191f,_0x2e9b0b);},'GMAYk':function(_0x18d069,_0xa8447b){return _0x588e58['sWfvC'](_0x18d069,_0xa8447b);}};_0x2e811e&&_0x588e58['XFkTm'](_0x336e63,_0x2e811e),_0x648949['readEntry'](),_0x648949['on'](_0x588e58[_0x4940f7(0x1d2)],_0x50f3c6=>{const _0x4282e5=_0x4940f7,_0x32b9cf={'unRXi':function(_0x298743,_0x11e0af){const _0x39969c=a102_0x5bc2;return _0x3c9a7b[_0x39969c(0x18e)](_0x298743,_0x11e0af);},'VWtwT':_0x3c9a7b['xbSUY']};if(/\/$/['test'](_0x50f3c6[_0x4282e5(0x1e4)]))_0x648949[_0x4282e5(0x1cc)]();else{const _0x5cdaa9=fs['createWriteStream'](path[_0x4282e5(0x200)](_0x44838f,_0x50f3c6['fileName']));_0x648949['openReadStream'](_0x50f3c6,function(_0x3a759c,_0x71598a){const _0x255af6=_0x4282e5;_0x3a759c&&_0x32b9cf['unRXi'](_0x336e63,_0x2e811e),_0x71598a['on'](_0x32b9cf[_0x255af6(0x1ed)],function(){const _0x507dae=_0x255af6;_0x5cdaa9[_0x507dae(0x1c3)](),_0x648949[_0x507dae(0x1cc)]();}),_0x71598a['pipe'](_0x5cdaa9);}),_0x3c9a7b[_0x4282e5(0x189)](_0x50f3c6[_0x4282e5(0x1e4)],_0xfb02fc)&&_0x648949[_0x4282e5(0x1c3)]();}}),_0x648949['on'](_0x588e58[_0x4940f7(0x193)],_0x582ec1=>{_0x3c9a7b['GMAYk'](_0x336e63,_0x582ec1);}),_0x648949[_0x4940f7(0x16c)](_0x588e58['ZPYoy'],()=>{const _0x5c308b=_0x4940f7,_0x4165f0={'kQrOi':function(_0x3e8abe,_0x1e05a4){const _0x295b66=a102_0x5bc2;return _0x588e58[_0x295b66(0x1b8)](_0x3e8abe,_0x1e05a4);}};fs[_0x5c308b(0x1ce)](_0x2a0dba,_0x588e58[_0x5c308b(0x191)],function(_0x47ebd0){const _0x20c234=_0x5c308b;_0x47ebd0&&_0x4165f0[_0x20c234(0x183)](_0x336e63,_0x47ebd0),_0x4165f0[_0x20c234(0x183)](_0x539081,_0x2a0dba);}),_0x648949[_0x5c308b(0x1c3)]();});});});}async['validateBinary'](_0x17357d){const _0x3a4876=a102_0x4f7346,_0x57116c={'Sstln':function(_0x3885f2,_0x16e10c){return _0x3885f2(_0x16e10c);},'fObiu':function(_0x198e44,_0x8efd62,_0x567a34,_0x2a27bf){return _0x198e44(_0x8efd62,_0x567a34,_0x2a27bf);},'obSok':'--version','kPwba':_0x3a4876(0x1bf),'HUnsc':'close'},_0x180a2d=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x2976f4,_0x4b0670)=>{const _0x44e341=_0x3a4876,_0x1a51a6={'xFaAb':function(_0x219601,_0x2c4f2e){const _0x329e14=a102_0x5bc2;return _0x57116c[_0x329e14(0x1b5)](_0x219601,_0x2c4f2e);}},_0x3eb439={};_0x3eb439[_0x44e341(0x185)]=process['env'];const _0x718594=_0x57116c[_0x44e341(0x1e5)](spawn,_0x17357d,[_0x57116c['obSok']],_0x3eb439);_0x718594[_0x44e341(0x1c4)]['on'](_0x57116c['kPwba'],_0x4bb436=>{const _0x4c9ea4=_0x44e341;_0x180a2d['test'](_0x4bb436)&&_0x57116c[_0x4c9ea4(0x1b5)](_0x2976f4,!![]);}),_0x718594['on'](_0x57116c[_0x44e341(0x16d)],()=>{_0x1a51a6['xFaAb'](_0x2976f4,![]);});});}#homedir(){const _0x31299e=a102_0x4f7346,_0x2c9b37={};_0x2c9b37[_0x31299e(0x1a9)]=function(_0x590ad0,_0x28b30){return _0x590ad0===_0x28b30;},_0x2c9b37[_0x31299e(0x1c5)]=_0x31299e(0x177),_0x2c9b37['CvJPl']=_0x31299e(0x1c6),_0x2c9b37[_0x31299e(0x1e0)]=function(_0x1d3caf,_0x37cfb9){return _0x1d3caf+_0x37cfb9;},_0x2c9b37[_0x31299e(0x19d)]=function(_0x138e7b,_0x32d601){return _0x138e7b===_0x32d601;},_0x2c9b37['BPQCa']='darwin',_0x2c9b37[_0x31299e(0x192)]=function(_0x252fbd,_0x4fb151){return _0x252fbd+_0x4fb151;},_0x2c9b37[_0x31299e(0x1c1)]=_0x31299e(0x1cf),_0x2c9b37[_0x31299e(0x1a3)]=function(_0x46c785,_0x3eaaa5){return _0x46c785===_0x3eaaa5;},_0x2c9b37[_0x31299e(0x1be)]=_0x31299e(0x166),_0x2c9b37[_0x31299e(0x1ca)]=function(_0x2af1ab,_0x140eee){return _0x2af1ab===_0x140eee;},_0x2c9b37[_0x31299e(0x170)]=_0x31299e(0x1aa),_0x2c9b37[_0x31299e(0x198)]=_0x31299e(0x1f5),_0x2c9b37[_0x31299e(0x195)]=function(_0x4fbd90,_0x331a1e){return _0x4fbd90||_0x331a1e;};const _0x2f4a4d=_0x2c9b37;if(_0x2f4a4d[_0x31299e(0x1a9)](typeof os[_0x31299e(0x196)],_0x2f4a4d[_0x31299e(0x1c5)]))return os[_0x31299e(0x196)]();const _0x2d22b5=process[_0x31299e(0x185)],_0x438b=_0x2d22b5[_0x31299e(0x1db)],_0x455a5e=_0x2d22b5[_0x31299e(0x1f6)]||_0x2d22b5[_0x31299e(0x1e7)]||_0x2d22b5[_0x31299e(0x1b2)]||_0x2d22b5[_0x31299e(0x173)];if(_0x2f4a4d[_0x31299e(0x1a9)](process[_0x31299e(0x1ee)],_0x2f4a4d[_0x31299e(0x16b)]))return _0x2d22b5[_0x31299e(0x181)]||_0x2f4a4d[_0x31299e(0x1e0)](_0x2d22b5[_0x31299e(0x1da)],_0x2d22b5[_0x31299e(0x1de)])||_0x438b||null;if(_0x2f4a4d['YXrlk'](process[_0x31299e(0x1ee)],_0x2f4a4d[_0x31299e(0x201)]))return _0x438b||(_0x455a5e?_0x2f4a4d[_0x31299e(0x192)](_0x2f4a4d[_0x31299e(0x1c1)],_0x455a5e):null);if(_0x2f4a4d[_0x31299e(0x1a3)](process[_0x31299e(0x1ee)],_0x2f4a4d[_0x31299e(0x1be)]))return _0x438b||(_0x2f4a4d[_0x31299e(0x1ca)](process[_0x31299e(0x17a)](),0x0)?_0x2f4a4d['rtPUz']:_0x455a5e?_0x2f4a4d['rxIcf'](_0x2f4a4d[_0x31299e(0x198)],_0x455a5e):null);return _0x2f4a4d['VYqut'](_0x438b,null);}}function a102_0x7901(){const _0x456dc0=['CvJPl','once','HUnsc','https-proxy-agent','cwd','rtPUz','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','CeZck','USERNAME','3297170aSolaq','LcsnL','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','function','child_process','ZPYoy','getuid','download','accessSync','iqtdw','then','get','getBinaryPath','USERPROFILE','utf8','kQrOi','VOIyz','env','readFileSync','.browserstack','parse','WaDsp','AbxJP','wJsoI','proxyHost','writeFileSync','oOMxZ','xYFGi','548744ipMPMo','ueIPy','rxIcf','rTJRj','756675QbqxVl','VYqut','homedir','YYsix','PabOu','length','itRRp','gSrbA','fvzmB','YXrlk','https://github.com/percy/cli/releases/latest/download','Saved\x20new\x20ETag\x20for\x20percy\x20binary','fGwFa','loIqP','.zip','IZSdB','createWriteStream','lQovq','yBsKg','arRsj','eGNRR','gOLfN','/root','path','mkdirSync','catch','Ipddb','pipe','match','6424FZNvSM','LNAME','642juYYZC','224207KfQXQe','Sstln','winstonLogger','proxyPort','CICVd','needsUpdate','port','GXVRM','percy','yauzl','InwpG','data','11cRHTCy','TdEJw','PWZIx','close','stdout','iOage','win32','statSync','qBJak','HEycH','edbOY','Error\x20trying\x20to\x20download\x20percy\x20binary','readEntry','binaryPath','chmod','/Users/','mNWre','If-None-Match','wivyV','error','end','2793592Iyagpz','oMuUt','validateBinary','FdgOC','4nZgnNg','HOMEDRIVE','HOME','DTRDY','QJgjB','HOMEPATH','Failed\x20to\x20save\x20ETag\x20file:\x20','HWHdi','/percy-osx.zip','aMkvE','lazyEntries','fileName','fObiu','Hbapf','USER','iYvnQ','tmpdir','host','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','RInmP','VWtwT','platform','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','HNwkQ','extractAndSaveBinary','xbgXP','/percy-win.zip','headers','/home/','LOGNAME','trim','AoMAZ','33835bsJMdC','percy.exe','entry','../logger','bPLrd','LnnWg','.etag','join','BPQCa','6588wMaosD','open','debug','wtkfF','MalOl','linux','warn','ecmJt','useCaCertificate','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20'];a102_0x7901=function(){return _0x456dc0;};return a102_0x7901();}module['exports']=PercyBinary;
1
+ function a102_0x257c(_0x5b790b,_0x38e92d){const _0x11914f=a102_0x1191();return a102_0x257c=function(_0x257c49,_0x21bc5e){_0x257c49=_0x257c49-0x90;let _0x75d3ba=_0x11914f[_0x257c49];return _0x75d3ba;},a102_0x257c(_0x5b790b,_0x38e92d);}const a102_0x96f91b=a102_0x257c;(function(_0x659703,_0x5728ae){const _0x3dc986=a102_0x257c,_0x3f90bf=_0x659703();while(!![]){try{const _0x387c0f=parseInt(_0x3dc986(0xa8))/0x1+parseInt(_0x3dc986(0x10c))/0x2+parseInt(_0x3dc986(0xe7))/0x3+parseInt(_0x3dc986(0xd9))/0x4+-parseInt(_0x3dc986(0x121))/0x5+parseInt(_0x3dc986(0x109))/0x6*(-parseInt(_0x3dc986(0x108))/0x7)+-parseInt(_0x3dc986(0x9b))/0x8;if(_0x387c0f===_0x5728ae)break;else _0x3f90bf['push'](_0x3f90bf['shift']());}catch(_0x1dfb66){_0x3f90bf['push'](_0x3f90bf['shift']());}}}(a102_0x1191,0x7e32e));const {https}=require('follow-redirects'),url=require('url'),yauzl=require(a102_0x96f91b(0xc8)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require(a102_0x96f91b(0x9c)),logger=require('../logger')[a102_0x96f91b(0xbb)];class PercyBinary{#hostOS=process[a102_0x96f91b(0x11b)];#httpPath=null;#binaryName='percy';#orderedPaths=[path[a102_0x96f91b(0x11e)](this.#homedir(),a102_0x96f91b(0x10a)),process['cwd'](),os[a102_0x96f91b(0xd6)]()];constructor(){const _0x355774=a102_0x96f91b,_0x50412a={};_0x50412a[_0x355774(0xf3)]=_0x355774(0xe1),_0x50412a[_0x355774(0xcb)]=function(_0x2ebcc4,_0x2d7776){return _0x2ebcc4+_0x2d7776;},_0x50412a[_0x355774(0x105)]='/percy-osx.zip',_0x50412a[_0x355774(0xde)]=_0x355774(0xa9),_0x50412a[_0x355774(0xc5)]=_0x355774(0x123),_0x50412a['KhWbD']=_0x355774(0xf2);const _0x57752e=_0x50412a,_0x50caf3=_0x57752e[_0x355774(0xf3)];if(this.#hostOS[_0x355774(0xce)](/darwin|mac os/i))this.#httpPath=_0x57752e[_0x355774(0xcb)](_0x50caf3,_0x57752e[_0x355774(0x105)]);else this.#hostOS[_0x355774(0xce)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x57752e[_0x355774(0xcb)](_0x50caf3,_0x57752e[_0x355774(0xde)]),this.#binaryName=_0x57752e['pjodV']):this.#httpPath=_0x57752e[_0x355774(0xcb)](_0x50caf3,_0x57752e[_0x355774(0x114)]);}#getAvailableDirs(){const _0x3ed358=a102_0x96f91b,_0x3796ec={};_0x3796ec[_0x3ed358(0xc0)]=function(_0x516ae9,_0x29ad35){return _0x516ae9<_0x29ad35;},_0x3796ec[_0x3ed358(0xfb)]=_0x3ed358(0xd0);const _0x5e5a04=_0x3796ec;for(var _0x3a1ed4=0x0;_0x5e5a04[_0x3ed358(0xc0)](_0x3a1ed4,this.#orderedPaths[_0x3ed358(0xdb)]);_0x3a1ed4++){var _0x2a3ce3=this.#orderedPaths[_0x3a1ed4];if(this.#makePath(_0x2a3ce3))return _0x2a3ce3;}throw new Error(_0x5e5a04[_0x3ed358(0xfb)]);}#makePath(_0x2aa7a9){const _0x5daa8b=a102_0x96f91b;try{return _0x2aa7a9&&!this.#checkPath(_0x2aa7a9)&&fs[_0x5daa8b(0xff)](_0x2aa7a9),!![];}catch{return![];}}#checkPath(_0x42ff14,_0x22307d){const _0x348c42=a102_0x96f91b,_0xaf40c0={};_0xaf40c0[_0x348c42(0xeb)]=function(_0x19c333,_0x15d959){return _0x19c333|_0x15d959;},_0xaf40c0[_0x348c42(0x10d)]=function(_0x5272b4,_0x41e1cb){return _0x5272b4!==_0x41e1cb;},_0xaf40c0[_0x348c42(0xed)]=_0x348c42(0xac);const _0x23cfd2=_0xaf40c0;_0x22307d=_0x22307d||_0x23cfd2[_0x348c42(0xeb)](fs[_0x348c42(0xd3)],fs[_0x348c42(0xdc)]);try{return fs[_0x348c42(0xdd)](_0x42ff14,_0x22307d),!![];}catch(_0x58d6db){if(_0x23cfd2[_0x348c42(0x10d)](typeof fs[_0x348c42(0xdd)],_0x23cfd2[_0x348c42(0xed)]))return![];try{return fs[_0x348c42(0x11a)](_0x42ff14),!![];}catch(_0x1d7d89){return![];}}}#getETagPath(_0x2f5071){return path['join'](_0x2f5071,this.#binaryName+'.etag');}#loadETag(_0x3fec93){const _0x35c85e=a102_0x96f91b,_0xfdd07a={};_0xfdd07a[_0x35c85e(0xcc)]=_0x35c85e(0xb2);const _0x2c8bed=_0xfdd07a,_0x39a77b=this.#getETagPath(_0x3fec93);if(this.#checkPath(_0x39a77b))try{return fs['readFileSync'](_0x39a77b,_0x2c8bed[_0x35c85e(0xcc)])['trim']();}catch(_0xe77c00){logger[_0x35c85e(0xd8)](_0x35c85e(0xe3)+_0xe77c00);}return null;}#saveETag(_0x1c2ea8,_0x486ba4){const _0xf08db7=a102_0x96f91b,_0x281f5b={};_0x281f5b[_0xf08db7(0xf6)]='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x20a02b=_0x281f5b;if(!_0x486ba4)return;try{const _0x2edb22=this.#getETagPath(_0x1c2ea8);fs[_0xf08db7(0x9d)](_0x2edb22,_0x486ba4),logger[_0xf08db7(0x9e)](_0x20a02b['dJUvs']);}catch(_0x2b53c1){logger['warn'](_0xf08db7(0xfa)+_0x2b53c1);}}async #handleBinaryDownload(_0x46c96b,_0x4d2a37,_0x2a9db5){const _0x33ed3b=a102_0x96f91b,_0x1d67b8={};_0x1d67b8[_0x33ed3b(0xa6)]='Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying';const _0x38bc55=_0x1d67b8,_0x253288=await this[_0x33ed3b(0xe2)](_0x46c96b[_0x33ed3b(0xcd)]);if(!_0x253288){logger[_0x33ed3b(0xa5)](_0x38bc55[_0x33ed3b(0xa6)]);const _0x479a9b=await this['download'](_0x4d2a37,_0x2a9db5);return _0x479a9b[_0x33ed3b(0xcd)];}return _0x46c96b[_0x33ed3b(0xcd)];}async[a102_0x96f91b(0x113)](_0x2ce298){const _0x147d40=a102_0x96f91b,_0x2f1426={};_0x2f1426['EnEyn']=_0x147d40(0xb7),_0x2f1426['nLNZp']=_0x147d40(0xb4);const _0x16f94f=_0x2f1426,_0x1c6103=this.#getAvailableDirs(),_0x1b398e=path[_0x147d40(0x11e)](_0x1c6103,this.#binaryName);if(this.#checkPath(_0x1b398e,fs[_0x147d40(0x101)])){const _0x2d182c=this.#loadETag(_0x1c6103);if(_0x2d182c)try{const _0x488fb8=await this['download'](_0x2ce298,_0x1c6103,_0x2d182c);if(!_0x488fb8[_0x147d40(0x117)])return logger['debug'](_0x16f94f[_0x147d40(0xa4)]),_0x1b398e;return logger[_0x147d40(0x9e)](_0x16f94f[_0x147d40(0xbf)]),await this.#handleBinaryDownload(_0x488fb8,_0x2ce298,_0x1c6103);}catch(_0x516454){return logger[_0x147d40(0xd8)](_0x147d40(0xb3)+_0x516454),_0x1b398e;}}const _0x219f10=await this[_0x147d40(0x99)](_0x2ce298,_0x1c6103);return await this.#handleBinaryDownload(_0x219f10,_0x2ce298,_0x1c6103);}['download'](_0x153eff,_0x1e75be,_0x545051=null){const _0x374a50=a102_0x96f91b,_0x5cb914={'vimxE':function(_0x335ddb,_0x2df401){return _0x335ddb(_0x2df401);},'GZwAi':function(_0xc122e9,_0x5ac0fc){return _0xc122e9===_0x5ac0fc;},'XEzME':function(_0x302757,_0x85d87d){return _0x302757(_0x85d87d);},'VAnKH':'error','FxAnZ':'close','Vihsb':function(_0x251656,_0x303a42){return _0x251656+_0x303a42;},'mRqGv':'.zip'};_0x1e75be&&!this.#checkPath(_0x1e75be)&&fs[_0x374a50(0xff)](_0x1e75be);const _0x32ac87=this.#binaryName,_0x22cf69=path[_0x374a50(0x11e)](_0x1e75be,_0x5cb914[_0x374a50(0xe0)](_0x32ac87,_0x5cb914['mRqGv'])),_0x3683e8=fs[_0x374a50(0xef)](_0x22cf69),_0x56ab2e=url[_0x374a50(0x95)](this.#httpPath);if(_0x153eff['proxyHost']&&_0x153eff[_0x374a50(0xd7)]){const _0x441563={};_0x441563['host']=_0x153eff[_0x374a50(0xae)],_0x441563[_0x374a50(0xc6)]=_0x153eff[_0x374a50(0xd7)],_0x56ab2e[_0x374a50(0xd4)]=new HttpsProxyAgent(_0x441563);}if(_0x153eff['useCaCertificate'])try{_0x56ab2e['ca']=fs['readFileSync'](_0x153eff[_0x374a50(0x11d)]);}catch(_0x55ac42){logger[_0x374a50(0xa5)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x55ac42);}if(_0x545051){const _0x946498={};_0x946498[_0x374a50(0xfd)]=_0x545051,_0x56ab2e[_0x374a50(0x118)]=_0x946498;}return new Promise((_0x43ea7d,_0x20233f)=>{const _0x217c9e=_0x374a50;https[_0x217c9e(0xad)](_0x56ab2e,_0x14b238=>{const _0x3d5eea=_0x217c9e,_0x44c124={'snxCI':function(_0x44a0ab,_0x2874b4){const _0x58c308=a102_0x257c;return _0x5cb914[_0x58c308(0x122)](_0x44a0ab,_0x2874b4);},'DxaNT':function(_0x1f714e,_0x3a5266){const _0x21594c=a102_0x257c;return _0x5cb914[_0x21594c(0x122)](_0x1f714e,_0x3a5266);}};if(_0x545051&&_0x5cb914[_0x3d5eea(0xa7)](_0x14b238[_0x3d5eea(0x106)],0x130)){const _0x551b66={};_0x551b66[_0x3d5eea(0x117)]=![],_0x5cb914[_0x3d5eea(0x10f)](_0x43ea7d,_0x551b66);return;}const _0x2ce901=_0x14b238[_0x3d5eea(0x118)][_0x3d5eea(0xf4)];_0x2ce901&&this.#saveETag(_0x1e75be,_0x2ce901),_0x14b238[_0x3d5eea(0xa1)](_0x3683e8),_0x14b238['on'](_0x5cb914[_0x3d5eea(0x10b)],function(_0x4f5d29){const _0x461e2=_0x3d5eea;logger[_0x461e2(0xa5)](_0x461e2(0x104)+_0x4f5d29),_0x44c124[_0x461e2(0xca)](_0x20233f,_0x4f5d29);}),_0x3683e8['on'](_0x5cb914[_0x3d5eea(0x10b)],function(_0x479e4b){const _0x2afd4e=_0x3d5eea;logger['error'](_0x2afd4e(0xc1)+_0x479e4b),_0x44c124['DxaNT'](_0x20233f,_0x479e4b);}),_0x3683e8['on'](_0x5cb914[_0x3d5eea(0xf0)],()=>{const _0x4ecf1b=_0x3d5eea;this[_0x4ecf1b(0x92)](_0x22cf69,_0x1e75be)['then'](_0x29ef7d=>_0x43ea7d({'needsUpdate':!![],'binaryPath':_0x29ef7d}))[_0x4ecf1b(0x116)](_0x20233f);});})['on'](_0x5cb914[_0x217c9e(0x10b)],function(_0x328eef){const _0xdf6bba=_0x217c9e;logger[_0xdf6bba(0xa5)](_0xdf6bba(0xc4)+_0x328eef),_0x5cb914[_0xdf6bba(0x10f)](_0x20233f,_0x328eef);});});}[a102_0x96f91b(0x92)](_0x5f49a9,_0x4007d7){const _0x18ff0d=a102_0x96f91b,_0x5cad78={'hgZYJ':function(_0x1a96cd,_0x148283){return _0x1a96cd(_0x148283);},'bbXGo':'0755','MyhxA':_0x18ff0d(0x111),'wmABf':function(_0x2a11ae,_0x51cc6f){return _0x2a11ae===_0x51cc6f;},'FsCsV':_0x18ff0d(0xe9),'psWkm':_0x18ff0d(0xa5)},_0x1bc070=this.#binaryName,_0x50a061=path[_0x18ff0d(0x11e)](_0x4007d7,_0x1bc070);return new Promise((_0x15a677,_0x4fd858)=>{const _0x1fd096=_0x18ff0d,_0x424691={'tliEp':function(_0x397f14,_0xe4041f){const _0x598fff=a102_0x257c;return _0x5cad78[_0x598fff(0x10e)](_0x397f14,_0xe4041f);},'cSpwD':function(_0x59c734,_0x5e8b24){const _0x6ae003=a102_0x257c;return _0x5cad78[_0x6ae003(0x10e)](_0x59c734,_0x5e8b24);},'tfvho':_0x5cad78[_0x1fd096(0x120)],'kEiyg':function(_0xb24ea6,_0x21d061){const _0x46e242=_0x1fd096;return _0x5cad78[_0x46e242(0x10e)](_0xb24ea6,_0x21d061);},'AuJap':_0x5cad78[_0x1fd096(0x91)],'VOugO':function(_0x28e67a,_0x47f4d9){const _0x168ae7=_0x1fd096;return _0x5cad78[_0x168ae7(0xcf)](_0x28e67a,_0x47f4d9);},'GSiVN':function(_0xd595f3,_0x5a8ce9){const _0x1ff506=_0x1fd096;return _0x5cad78[_0x1ff506(0x10e)](_0xd595f3,_0x5a8ce9);},'TysDr':_0x5cad78[_0x1fd096(0x96)],'qOiUg':_0x5cad78[_0x1fd096(0xb9)]},_0x30a344={};_0x30a344[_0x1fd096(0x115)]=!![],yauzl[_0x1fd096(0xbd)](_0x5f49a9,_0x30a344,function(_0x3e4512,_0x1c8b98){const _0x514403=_0x1fd096,_0x5abae0={'DQqHv':function(_0x55becd,_0x296d42){const _0xb57e4e=a102_0x257c;return _0x424691[_0xb57e4e(0xea)](_0x55becd,_0x296d42);},'aXKPE':_0x424691[_0x514403(0xb5)],'qOiBa':function(_0x413714,_0x31edce){const _0xf09e55=_0x514403;return _0x424691[_0xf09e55(0x98)](_0x413714,_0x31edce);}};_0x3e4512&&_0x424691[_0x514403(0xf7)](_0x4fd858,_0x3e4512),_0x1c8b98[_0x514403(0x107)](),_0x1c8b98['on'](_0x424691[_0x514403(0xa0)],_0x3caa52=>{const _0x22d79=_0x514403,_0x913df9={'ELREz':function(_0x411f1d,_0x1760b5){return _0x5abae0['DQqHv'](_0x411f1d,_0x1760b5);},'eryiO':_0x5abae0[_0x22d79(0x102)]};if(/\/$/[_0x22d79(0xe8)](_0x3caa52[_0x22d79(0xda)]))_0x1c8b98[_0x22d79(0x107)]();else{const _0x4cb7e8=fs['createWriteStream'](path['join'](_0x4007d7,_0x3caa52[_0x22d79(0xda)]));_0x1c8b98[_0x22d79(0xba)](_0x3caa52,function(_0x54a2a4,_0x57dc56){const _0x114192=_0x22d79;_0x54a2a4&&_0x913df9[_0x114192(0x93)](_0x4fd858,_0x3e4512),_0x57dc56['on'](_0x913df9[_0x114192(0xf1)],function(){const _0x1c6206=_0x114192;_0x4cb7e8['close'](),_0x1c8b98[_0x1c6206(0x107)]();}),_0x57dc56['pipe'](_0x4cb7e8);}),_0x5abae0['qOiBa'](_0x3caa52['fileName'],_0x1bc070)&&_0x1c8b98['close']();}}),_0x1c8b98['on'](_0x424691[_0x514403(0xee)],_0x5ef2b6=>{_0x5abae0['DQqHv'](_0x4fd858,_0x5ef2b6);}),_0x1c8b98[_0x514403(0xf8)](_0x424691[_0x514403(0xb5)],()=>{const _0xe52672=_0x514403,_0x31dd04={'qIThg':function(_0x420cd6,_0x5b8595){const _0x744e0f=a102_0x257c;return _0x424691[_0x744e0f(0xa2)](_0x420cd6,_0x5b8595);},'aIcHD':function(_0x3aeaf9,_0x508a3b){return _0x424691['cSpwD'](_0x3aeaf9,_0x508a3b);}};fs[_0xe52672(0xc9)](_0x50a061,_0x424691[_0xe52672(0xc3)],function(_0x299263){const _0x1cc992=_0xe52672;_0x299263&&_0x31dd04[_0x1cc992(0xe5)](_0x4fd858,_0x299263),_0x31dd04[_0x1cc992(0x9a)](_0x15a677,_0x50a061);}),_0x1c8b98[_0xe52672(0xb6)]();});});});}async[a102_0x96f91b(0xe2)](_0x34b371){const _0x282d24=a102_0x96f91b,_0x4c6195={'zajAo':function(_0x248fd9,_0x588165){return _0x248fd9(_0x588165);},'piDmN':function(_0xded161,_0xb94bcb,_0x46872e,_0x5a7072){return _0xded161(_0xb94bcb,_0x46872e,_0x5a7072);},'XYyYA':_0x282d24(0xa3),'RoqSK':'data','eCFsx':_0x282d24(0xb6)},_0xba38a5=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x2f7c9b,_0x39b2c5)=>{const _0x4dc230=_0x282d24,_0x4048bb={'GPojL':function(_0x47efb8,_0x2d24d2){const _0x344c26=a102_0x257c;return _0x4c6195[_0x344c26(0xb1)](_0x47efb8,_0x2d24d2);}},_0x38418b={};_0x38418b[_0x4dc230(0xaf)]=process['env'];const _0x58b3c0=_0x4c6195[_0x4dc230(0xd5)](spawn,_0x34b371,[_0x4c6195[_0x4dc230(0x11f)]],_0x38418b);_0x58b3c0[_0x4dc230(0x112)]['on'](_0x4c6195[_0x4dc230(0x110)],_0x2593b8=>{const _0x14596e=_0x4dc230;_0xba38a5[_0x14596e(0xe8)](_0x2593b8)&&_0x4c6195['zajAo'](_0x2f7c9b,!![]);}),_0x58b3c0['on'](_0x4c6195[_0x4dc230(0xc2)],()=>{const _0x3e9681=_0x4dc230;_0x4048bb[_0x3e9681(0x11c)](_0x2f7c9b,![]);});});}#homedir(){const _0x441773=a102_0x96f91b,_0x7c5c8e={};_0x7c5c8e[_0x441773(0xd1)]=function(_0x15258c,_0x5e3377){return _0x15258c===_0x5e3377;},_0x7c5c8e[_0x441773(0xf9)]=_0x441773(0xbe),_0x7c5c8e[_0x441773(0xab)]=function(_0x244af6,_0x51c7fc){return _0x244af6===_0x51c7fc;},_0x7c5c8e['RLORg']='win32',_0x7c5c8e[_0x441773(0xb0)]=function(_0xc3f860,_0x1763ac){return _0xc3f860+_0x1763ac;},_0x7c5c8e['sLoXH']=function(_0x4e9f9b,_0x1adfa0){return _0x4e9f9b===_0x1adfa0;},_0x7c5c8e[_0x441773(0xb8)]=_0x441773(0xec),_0x7c5c8e[_0x441773(0x9f)]=_0x441773(0x94),_0x7c5c8e[_0x441773(0xe6)]=function(_0x45151f,_0x279ff8){return _0x45151f===_0x279ff8;},_0x7c5c8e['KGJDk']=_0x441773(0xd2),_0x7c5c8e[_0x441773(0xaa)]='/root',_0x7c5c8e[_0x441773(0xc7)]='/home/',_0x7c5c8e[_0x441773(0xbc)]=function(_0x2feeb4,_0x505795){return _0x2feeb4||_0x505795;};const _0x13dcca=_0x7c5c8e;if(_0x13dcca[_0x441773(0xd1)](typeof os[_0x441773(0x119)],_0x13dcca['GTgvS']))return os[_0x441773(0x119)]();const _0x4e666d=process['env'],_0x53cd29=_0x4e666d['HOME'],_0x465ae8=_0x4e666d['LOGNAME']||_0x4e666d[_0x441773(0xdf)]||_0x4e666d[_0x441773(0xf5)]||_0x4e666d[_0x441773(0xfc)];if(_0x13dcca[_0x441773(0xab)](process[_0x441773(0x11b)],_0x13dcca[_0x441773(0x100)]))return _0x4e666d['USERPROFILE']||_0x13dcca[_0x441773(0xb0)](_0x4e666d[_0x441773(0x97)],_0x4e666d[_0x441773(0xe4)])||_0x53cd29||null;if(_0x13dcca['sLoXH'](process[_0x441773(0x11b)],_0x13dcca[_0x441773(0xb8)]))return _0x53cd29||(_0x465ae8?_0x13dcca[_0x441773(0xb0)](_0x13dcca[_0x441773(0x9f)],_0x465ae8):null);if(_0x13dcca[_0x441773(0xe6)](process[_0x441773(0x11b)],_0x13dcca['KGJDk']))return _0x53cd29||(_0x13dcca[_0x441773(0x103)](process[_0x441773(0x90)](),0x0)?_0x13dcca['EoisR']:_0x465ae8?_0x13dcca[_0x441773(0xb0)](_0x13dcca[_0x441773(0xc7)],_0x465ae8):null);return _0x13dcca[_0x441773(0xbc)](_0x53cd29,null);}}function a102_0x1191(){const _0x4dcb37=['getuid','MyhxA','extractAndSaveBinary','ELREz','/Users/','parse','FsCsV','HOMEDRIVE','VOugO','download','aIcHD','3742080EiuXxK','https-proxy-agent','writeFileSync','debug','bjgJH','TysDr','pipe','tliEp','--version','EnEyn','error','tEXSR','GZwAi','223234NwbbrX','/percy-win.zip','EoisR','JBbAX','undefined','get','proxyHost','env','OMOhe','zajAo','utf8','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','AuJap','close','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','hYgmJ','psWkm','openReadStream','winstonLogger','rGNmY','open','function','nLNZp','VzFSS','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','eCFsx','tfvho','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','pjodV','port','GrkaB','yauzl','chmod','snxCI','LTroF','hAhHG','binaryPath','match','wmABf','Error\x20trying\x20to\x20download\x20percy\x20binary','RTzzj','linux','R_OK','agent','piDmN','tmpdir','proxyPort','warn','1066428wvjDPL','fileName','length','W_OK','accessSync','RRiHO','USER','Vihsb','https://github.com/percy/cli/releases/latest/download','validateBinary','Failed\x20to\x20read\x20ETag\x20file:\x20','HOMEPATH','qIThg','hkfnm','1848480ErmSRE','test','entry','kEiyg','TEHzQ','darwin','rLSVy','qOiUg','createWriteStream','FxAnZ','eryiO','/percy-linux.zip','Zmfaw','etag','LNAME','dJUvs','GSiVN','once','GTgvS','Failed\x20to\x20save\x20ETag\x20file:\x20','siaYL','USERNAME','If-None-Match','exports','mkdirSync','RLORg','X_OK','aXKPE','sLoXH','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','dfFOf','statusCode','readEntry','1120007xvIWCH','18CXzQYf','.browserstack','VAnKH','1856906dJJEQv','qQCPz','hgZYJ','XEzME','RoqSK','end','stdout','getBinaryPath','KhWbD','lazyEntries','catch','needsUpdate','headers','homedir','statSync','platform','GPojL','useCaCertificate','join','XYyYA','bbXGo','2848905eEiNwW','vimxE','percy.exe'];a102_0x1191=function(){return _0x4dcb37;};return a102_0x1191();}module[a102_0x96f91b(0xfe)]=PercyBinary;
@@ -1 +1 @@
1
- var a103_0x41c4a6=a103_0x2897;(function(_0x415849,_0xcf4bae){var _0x4f6c6b=a103_0x2897,_0x1005ed=_0x415849();while(!![]){try{var _0x55b323=-parseInt(_0x4f6c6b(0x14f))/0x1*(-parseInt(_0x4f6c6b(0x157))/0x2)+parseInt(_0x4f6c6b(0x155))/0x3*(parseInt(_0x4f6c6b(0x14d))/0x4)+parseInt(_0x4f6c6b(0x152))/0x5+-parseInt(_0x4f6c6b(0x158))/0x6+-parseInt(_0x4f6c6b(0x154))/0x7*(-parseInt(_0x4f6c6b(0x153))/0x8)+parseInt(_0x4f6c6b(0x156))/0x9+-parseInt(_0x4f6c6b(0x151))/0xa;if(_0x55b323===_0xcf4bae)break;else _0x1005ed['push'](_0x1005ed['shift']());}catch(_0x339c2a){_0x1005ed['push'](_0x1005ed['shift']());}}}(a103_0x34c2,0x54324));class PercyCaptureMap{#map={};[a103_0x41c4a6(0x150)](_0x13eae8,_0x56de28){!this.#map[_0x13eae8]&&(this.#map[_0x13eae8]={}),!this.#map[_0x13eae8][_0x56de28]&&(this.#map[_0x13eae8][_0x56de28]=0x0),this.#map[_0x13eae8][_0x56de28]++;}[a103_0x41c4a6(0x159)](_0x37af95,_0x3aba82){return _0x37af95+'-'+_0x3aba82+'-'+this['get'](_0x37af95,_0x3aba82);}[a103_0x41c4a6(0x15a)](_0x25bb58,_0x45ce13){if(!this.#map[_0x25bb58])return 0x0;if(!this.#map[_0x25bb58][_0x45ce13])return 0x0;return this.#map[_0x25bb58][_0x45ce13];}}function a103_0x34c2(){var _0x17781a=['3qAkNVx','1054107rkJIYM','793736SSpzVE','312300WIwcLp','getName','get','2547052rqSXIJ','exports','1cReSZi','increment','9407850KGxNzz','297895ISxVsE','1880MqPqqN','3794NNEgmG'];a103_0x34c2=function(){return _0x17781a;};return a103_0x34c2();}function a103_0x2897(_0x2cfed7,_0x1549e3){var _0x34c2c3=a103_0x34c2();return a103_0x2897=function(_0x28977a,_0x4c0acc){_0x28977a=_0x28977a-0x14d;var _0x3afab4=_0x34c2c3[_0x28977a];return _0x3afab4;},a103_0x2897(_0x2cfed7,_0x1549e3);}module[a103_0x41c4a6(0x14e)]=PercyCaptureMap;
1
+ function a103_0x6b9c(_0x3ea173,_0x4df1ff){var _0x10de36=a103_0x10de();return a103_0x6b9c=function(_0x6b9c5d,_0x564163){_0x6b9c5d=_0x6b9c5d-0xea;var _0x300ba2=_0x10de36[_0x6b9c5d];return _0x300ba2;},a103_0x6b9c(_0x3ea173,_0x4df1ff);}var a103_0x15c487=a103_0x6b9c;function a103_0x10de(){var _0x2507da=['14230IFvBtB','36547BWjsJE','increment','22mwgQBb','2259SpjoMF','3vLudNH','exports','1339920bnEsjX','12lTyZly','349044tGWXxq','194330KdhedJ','552agKWXB','591084yjsnNA','get','181641idfNML'];a103_0x10de=function(){return _0x2507da;};return a103_0x10de();}(function(_0x5106fd,_0x4151f3){var _0x18632b=a103_0x6b9c,_0x8af6b3=_0x5106fd();while(!![]){try{var _0x46dd4f=parseInt(_0x18632b(0xeb))/0x1+parseInt(_0x18632b(0xf5))/0x2+parseInt(_0x18632b(0xf1))/0x3*(parseInt(_0x18632b(0xf8))/0x4)+-parseInt(_0x18632b(0xf6))/0x5*(-parseInt(_0x18632b(0xf4))/0x6)+parseInt(_0x18632b(0xed))/0x7*(parseInt(_0x18632b(0xf7))/0x8)+parseInt(_0x18632b(0xf0))/0x9*(-parseInt(_0x18632b(0xec))/0xa)+-parseInt(_0x18632b(0xef))/0xb*(parseInt(_0x18632b(0xf3))/0xc);if(_0x46dd4f===_0x4151f3)break;else _0x8af6b3['push'](_0x8af6b3['shift']());}catch(_0x1c6b87){_0x8af6b3['push'](_0x8af6b3['shift']());}}}(a103_0x10de,0x583ce));class PercyCaptureMap{#map={};[a103_0x15c487(0xee)](_0x2ae5cc,_0x2cda0a){!this.#map[_0x2ae5cc]&&(this.#map[_0x2ae5cc]={}),!this.#map[_0x2ae5cc][_0x2cda0a]&&(this.#map[_0x2ae5cc][_0x2cda0a]=0x0),this.#map[_0x2ae5cc][_0x2cda0a]++;}['getName'](_0x57a5f3,_0x376f2f){var _0x3f1225=a103_0x15c487;return _0x57a5f3+'-'+_0x376f2f+'-'+this[_0x3f1225(0xea)](_0x57a5f3,_0x376f2f);}[a103_0x15c487(0xea)](_0x611fc2,_0x2421a1){if(!this.#map[_0x611fc2])return 0x0;if(!this.#map[_0x611fc2][_0x2421a1])return 0x0;return this.#map[_0x611fc2][_0x2421a1];}}module[a103_0x15c487(0xf2)]=PercyCaptureMap;
@@ -1 +1 @@
1
- var a104_0xba2f08=a104_0x1b70;function a104_0x37a7(){var _0x5645c8=['4040760Zjfacg','testcase','takeScreenshot','4Pwazik','click','screenshot','driver','473910qsBWzT','288vURAku','auto','sendKeys','3505416zOaxlC','12868dsmaqG','27ejKAIi','exports','manual','1225004duzogP','35573270OQBSqC','1973559yYZMDR'];a104_0x37a7=function(){return _0x5645c8;};return a104_0x37a7();}(function(_0x4a51fc,_0x53ccb2){var _0x5d81bf=a104_0x1b70,_0x1dda20=_0x4a51fc();while(!![]){try{var _0x427580=-parseInt(_0x5d81bf(0x97))/0x1+-parseInt(_0x5d81bf(0x93))/0x2*(parseInt(_0x5d81bf(0x8f))/0x3)+-parseInt(_0x5d81bf(0x8a))/0x4*(parseInt(_0x5d81bf(0x8e))/0x5)+parseInt(_0x5d81bf(0x92))/0x6+parseInt(_0x5d81bf(0x99))/0x7+-parseInt(_0x5d81bf(0x9a))/0x8*(parseInt(_0x5d81bf(0x94))/0x9)+parseInt(_0x5d81bf(0x98))/0xa;if(_0x427580===_0x53ccb2)break;else _0x1dda20['push'](_0x1dda20['shift']());}catch(_0x827929){_0x1dda20['push'](_0x1dda20['shift']());}}}(a104_0x37a7,0xed00d));var a104_0x1b62fa={};a104_0x1b62fa[a104_0xba2f08(0x8d)]=['takeScreenshot'],a104_0x1b62fa['element']=[a104_0xba2f08(0x8b),a104_0xba2f08(0x91)];var a104_0x473f13={};a104_0x473f13[a104_0xba2f08(0x8d)]=[a104_0xba2f08(0x89)];var a104_0x45bb9f={};a104_0x45bb9f['element']=['click'];var a104_0x2f6ee8={};function a104_0x1b70(_0x317b54,_0x1be9ee){var _0x37a763=a104_0x37a7();return a104_0x1b70=function(_0x1b7010,_0x4730bf){_0x1b7010=_0x1b7010-0x89;var _0x40f243=_0x37a763[_0x1b7010];return _0x40f243;},a104_0x1b70(_0x317b54,_0x1be9ee);}a104_0x2f6ee8[a104_0xba2f08(0x90)]=a104_0x1b62fa,a104_0x2f6ee8[a104_0xba2f08(0x8c)]=a104_0x473f13,a104_0x2f6ee8[a104_0xba2f08(0x8b)]=a104_0x45bb9f,a104_0x2f6ee8[a104_0xba2f08(0x9b)]={},a104_0x2f6ee8[a104_0xba2f08(0x96)]={},module[a104_0xba2f08(0x95)]=a104_0x2f6ee8;
1
+ function a104_0x55bf(){var _0x2a965d=['213372rlzJPX','36bTRlou','sendKeys','auto','196qdMLXI','click','517909axuwiR','1556390GLxGfL','4yAIYty','driver','40928dJGETX','element','exports','2854wuaMDy','takeScreenshot','988361GonIjY','testcase','24tENtIq','65ILjrEE','1311918Jeundb','screenshot'];a104_0x55bf=function(){return _0x2a965d;};return a104_0x55bf();}var a104_0x30968f=a104_0x2e2a;(function(_0x4fec5b,_0x5c1dd9){var _0x2ad387=a104_0x2e2a,_0x35f844=_0x4fec5b();while(!![]){try{var _0x56ce74=-parseInt(_0x2ad387(0x7e))/0x1*(-parseInt(_0x2ad387(0x75))/0x2)+parseInt(_0x2ad387(0x84))/0x3*(-parseInt(_0x2ad387(0x79))/0x4)+parseInt(_0x2ad387(0x83))/0x5*(parseInt(_0x2ad387(0x86))/0x6)+parseInt(_0x2ad387(0x77))/0x7+parseInt(_0x2ad387(0x7b))/0x8*(parseInt(_0x2ad387(0x72))/0x9)+-parseInt(_0x2ad387(0x78))/0xa+-parseInt(_0x2ad387(0x80))/0xb*(-parseInt(_0x2ad387(0x82))/0xc);if(_0x56ce74===_0x5c1dd9)break;else _0x35f844['push'](_0x35f844['shift']());}catch(_0x5c27ad){_0x35f844['push'](_0x35f844['shift']());}}}(a104_0x55bf,0x67526));var a104_0x2dec3={};a104_0x2dec3['driver']=[a104_0x30968f(0x7f)],a104_0x2dec3[a104_0x30968f(0x7c)]=[a104_0x30968f(0x76),a104_0x30968f(0x73)];var a104_0x2adb99={};function a104_0x2e2a(_0x487516,_0x2c6ca1){var _0x55bf47=a104_0x55bf();return a104_0x2e2a=function(_0x2e2aff,_0x2bb8fa){_0x2e2aff=_0x2e2aff-0x72;var _0x4f4eb4=_0x55bf47[_0x2e2aff];return _0x4f4eb4;},a104_0x2e2a(_0x487516,_0x2c6ca1);}a104_0x2adb99[a104_0x30968f(0x7a)]=[a104_0x30968f(0x7f)];var a104_0x17c075={};a104_0x17c075[a104_0x30968f(0x7c)]=[a104_0x30968f(0x76)];var a104_0x2addb7={};a104_0x2addb7[a104_0x30968f(0x74)]=a104_0x2dec3,a104_0x2addb7[a104_0x30968f(0x85)]=a104_0x2adb99,a104_0x2addb7[a104_0x30968f(0x76)]=a104_0x17c075,a104_0x2addb7[a104_0x30968f(0x81)]={},a104_0x2addb7['manual']={},module[a104_0x30968f(0x7d)]=a104_0x2addb7;
@@ -1 +1 @@
1
- function a105_0x4ee2(_0x5886cf,_0x37b6ca){const _0x441250=a105_0x4412();return a105_0x4ee2=function(_0x4ee263,_0x3c5d5a){_0x4ee263=_0x4ee263-0x1bc;let _0x3d899d=_0x441250[_0x4ee263];return _0x3d899d;},a105_0x4ee2(_0x5886cf,_0x37b6ca);}const a105_0x7f462f=a105_0x4ee2;(function(_0x200ac5,_0x320a2f){const _0x3f8076=a105_0x4ee2,_0x453981=_0x200ac5();while(!![]){try{const _0x126974=-parseInt(_0x3f8076(0x1d1))/0x1+parseInt(_0x3f8076(0x1e2))/0x2*(-parseInt(_0x3f8076(0x1d4))/0x3)+-parseInt(_0x3f8076(0x1bf))/0x4*(parseInt(_0x3f8076(0x1e3))/0x5)+-parseInt(_0x3f8076(0x1c1))/0x6*(-parseInt(_0x3f8076(0x1e5))/0x7)+-parseInt(_0x3f8076(0x1e4))/0x8*(parseInt(_0x3f8076(0x1ca))/0x9)+-parseInt(_0x3f8076(0x1da))/0xa*(-parseInt(_0x3f8076(0x1d2))/0xb)+-parseInt(_0x3f8076(0x1e1))/0xc*(-parseInt(_0x3f8076(0x1d3))/0xd);if(_0x126974===_0x320a2f)break;else _0x453981['push'](_0x453981['shift']());}catch(_0x483278){_0x453981['push'](_0x453981['shift']());}}}(a105_0x4412,0x93f8b));function a105_0x4412(){const _0x517fc5=['wLFwN','ipcsF','SNAPSHOT','apply','9fIGiAQ','screenshot','browserstackPlatformIndex','Unsupported\x20driver\x20for\x20percy','RLQUi','phTjf','LXvrD','781407zmvDDt','11KWHgBh','2756YZbRIO','3uTpdsz','platformIndex','../performance/constants','KrgUB','KHFWj','name','548740lRgXSJ','testCase','screenshotApp','winstonLogger','@percy/selenium-webdriver','snapshot','measure','95100fNoSLY','589534jThHyN','35XFoWYE','7195024FPiExx','560SqbaAC','SCREENSHOT','../performance/performance-tester','uuid','95572BjSxCC','browserstackPercyBestPlatform','76044FhrERk','error','thTestCaseExecutionId','length','../logger'];a105_0x4412=function(){return _0x517fc5;};return a105_0x4412();}const tryRequire=function(_0x21bc1e,_0x429ebc){const _0x488e40={'dAWUn':function(_0xefde33,_0x2d9e4c){return _0xefde33(_0x2d9e4c);}};try{return _0x488e40['dAWUn'](require,_0x21bc1e);}catch{return _0x429ebc;}},percySnapshot=tryRequire(a105_0x7f462f(0x1de),null),{percyScreenshot}=tryRequire(a105_0x7f462f(0x1de),{}),percyAppScreenshot=require('@percy/appium-app'),{getCurrentTestData}=require('../../helpers/testhub/utils'),PerformanceTester=require(a105_0x7f462f(0x1bd)),{PERCY_EVENTS:PerformanceEvents}=require(a105_0x7f462f(0x1d6)),logger=require(a105_0x7f462f(0x1c5))[a105_0x7f462f(0x1dd)];percySnapshot&&(exports[a105_0x7f462f(0x1df)]=async function(){const _0x2fa216=a105_0x7f462f,_0xbe9765={'wLFwN':function(_0x384532,_0x30de06){return _0x384532!==_0x30de06;},'KHFWj':function(_0x246faa,_0x5cbbe6){return _0x246faa>=_0x5cbbe6;},'LXvrD':function(_0x3c61f5){return _0x3c61f5();}};if(global[_0x2fa216(0x1cc)]&&_0xbe9765[_0x2fa216(0x1c6)](global['browserstackPlatformIndex'],global[_0x2fa216(0x1c0)]))return;const _0x326680=_0xbe9765[_0x2fa216(0x1d8)](arguments[_0x2fa216(0x1c4)],0x2)?arguments[0x1]:'',_0x5f110c=_0xbe9765[_0x2fa216(0x1d0)](getCurrentTestData),_0x621bce={};return _0x621bce[_0x2fa216(0x1d9)]=_0x326680,_0x621bce[_0x2fa216(0x1db)]=_0x5f110c[_0x2fa216(0x1d9)]||'',_0x621bce[_0x2fa216(0x1c3)]=_0x5f110c[_0x2fa216(0x1be)]||'',_0x621bce[_0x2fa216(0x1d5)]=global[_0x2fa216(0x1cc)],await PerformanceTester['measure'](PerformanceEvents[_0x2fa216(0x1c8)],()=>percySnapshot[_0x2fa216(0x1c9)](null,arguments),_0x621bce);});percyScreenshot?exports[a105_0x7f462f(0x1cb)]=async function(){const _0x2aa995=a105_0x7f462f,_0x5fa0c4={'jtdmJ':function(_0x4d4448,_0x449f71){return _0x4d4448>=_0x449f71;},'ipcsF':function(_0x363efb){return _0x363efb();}},_0x1e6631=_0x5fa0c4['jtdmJ'](arguments[_0x2aa995(0x1c4)],0x2)?arguments[0x1]:'',_0x5b6dc5=_0x5fa0c4[_0x2aa995(0x1c7)](getCurrentTestData),_0xee5b78={};return _0xee5b78[_0x2aa995(0x1d9)]=_0x1e6631,_0xee5b78[_0x2aa995(0x1db)]=_0x5b6dc5[_0x2aa995(0x1d9)]||'',_0xee5b78[_0x2aa995(0x1c3)]=_0x5b6dc5[_0x2aa995(0x1be)]||'',_0xee5b78['platformIndex']=global[_0x2aa995(0x1cc)],await PerformanceTester[_0x2aa995(0x1e0)](PerformanceEvents[_0x2aa995(0x1bc)],()=>percyScreenshot['apply'](null,arguments),_0xee5b78);}:exports[a105_0x7f462f(0x1cb)]=()=>{const _0x17781f=a105_0x7f462f,_0xc52b9c={};_0xc52b9c[_0x17781f(0x1ce)]=_0x17781f(0x1cd);const _0xa827c5=_0xc52b9c;logger[_0x17781f(0x1c2)](_0xa827c5['RLQUi']);};exports[a105_0x7f462f(0x1dc)]=async function(){const _0x47d597=a105_0x7f462f,_0x2248b1={'phTjf':function(_0x22cbd4,_0x13789){return _0x22cbd4>=_0x13789;},'KrgUB':function(_0x508553){return _0x508553();}},_0x4e274d=_0x2248b1[_0x47d597(0x1cf)](arguments[_0x47d597(0x1c4)],0x2)?arguments[0x1]:'',_0x160461=_0x2248b1[_0x47d597(0x1d7)](getCurrentTestData),_0x24832c={};return _0x24832c[_0x47d597(0x1d9)]=_0x4e274d,_0x24832c[_0x47d597(0x1db)]=_0x160461[_0x47d597(0x1d9)]||'',_0x24832c[_0x47d597(0x1c3)]=_0x160461['uuid']||'',_0x24832c[_0x47d597(0x1d5)]=global['browserstackPlatformIndex'],await PerformanceTester['measure'](PerformanceEvents['SCREENSHOT_APP'],()=>percyAppScreenshot[_0x47d597(0x1c9)](null,arguments),_0x24832c);};
1
+ function a105_0x12a2(){const _0x202ecc=['@percy/selenium-webdriver','2826822oOlCuu','VkGLz','uyHwW','245cCtgmA','578470FDUVzS','platformIndex','screenshotApp','ETmNl','snapshot','screenshot','8QhIvWQ','length','118886qAUQzE','browserstackPlatformIndex','2188736RcqDtO','name','dCVrO','FtpkH','measure','uuid','184824FgnNcf','../performance/performance-tester','browserstackPercyBestPlatform','3480KaxXaj','@percy/appium-app','testCase','3YHtiAA','apply','1558685NPkQhR','vamnL','SCREENSHOT','../../helpers/testhub/utils','error','TCIRf','UJTVn','27pjYCcm','thTestCaseExecutionId','winstonLogger'];a105_0x12a2=function(){return _0x202ecc;};return a105_0x12a2();}const a105_0x520bf2=a105_0x167e;function a105_0x167e(_0x5c0d25,_0x7bab78){const _0x12a24f=a105_0x12a2();return a105_0x167e=function(_0x167eca,_0x565900){_0x167eca=_0x167eca-0xdd;let _0x2ba969=_0x12a24f[_0x167eca];return _0x2ba969;},a105_0x167e(_0x5c0d25,_0x7bab78);}(function(_0x4eb982,_0x5c096){const _0x58bb71=a105_0x167e,_0x10b5fd=_0x4eb982();while(!![]){try{const _0x2bcd76=-parseInt(_0x58bb71(0xfe))/0x1*(parseInt(_0x58bb71(0x100))/0x2)+-parseInt(_0x58bb71(0xe7))/0x3*(parseInt(_0x58bb71(0xe1))/0x4)+parseInt(_0x58bb71(0xe9))/0x5+parseInt(_0x58bb71(0xf4))/0x6+-parseInt(_0x58bb71(0xf7))/0x7*(parseInt(_0x58bb71(0xe4))/0x8)+-parseInt(_0x58bb71(0xf0))/0x9*(parseInt(_0x58bb71(0xf8))/0xa)+parseInt(_0x58bb71(0x102))/0xb;if(_0x2bcd76===_0x5c096)break;else _0x10b5fd['push'](_0x10b5fd['shift']());}catch(_0x657f60){_0x10b5fd['push'](_0x10b5fd['shift']());}}}(a105_0x12a2,0x423e6));const tryRequire=function(_0xef64fa,_0x10978e){const _0x1a17ad={'JTdCG':function(_0xa6cec6,_0x235139){return _0xa6cec6(_0x235139);}};try{return _0x1a17ad['JTdCG'](require,_0xef64fa);}catch{return _0x10978e;}},percySnapshot=tryRequire('@percy/selenium-webdriver',null),{percyScreenshot}=tryRequire(a105_0x520bf2(0xf3),{}),percyAppScreenshot=require(a105_0x520bf2(0xe5)),{getCurrentTestData}=require(a105_0x520bf2(0xec)),PerformanceTester=require(a105_0x520bf2(0xe2)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants'),logger=require('../logger')[a105_0x520bf2(0xf2)];percySnapshot&&(exports[a105_0x520bf2(0xfc)]=async function(){const _0x3946f9=a105_0x520bf2,_0x9f9470={'ETmNl':function(_0x20b2fd,_0x579685){return _0x20b2fd!==_0x579685;},'UJTVn':function(_0x16f45a,_0x4a1245){return _0x16f45a>=_0x4a1245;},'VkGLz':function(_0x31b19d){return _0x31b19d();}};if(global[_0x3946f9(0x101)]&&_0x9f9470[_0x3946f9(0xfb)](global[_0x3946f9(0x101)],global[_0x3946f9(0xe3)]))return;const _0x5d6f3d=_0x9f9470[_0x3946f9(0xef)](arguments['length'],0x2)?arguments[0x1]:'',_0x3389a6=_0x9f9470[_0x3946f9(0xf5)](getCurrentTestData),_0x43396d={};return _0x43396d['name']=_0x5d6f3d,_0x43396d[_0x3946f9(0xe6)]=_0x3389a6[_0x3946f9(0x103)]||'',_0x43396d[_0x3946f9(0xf1)]=_0x3389a6[_0x3946f9(0xe0)]||'',_0x43396d[_0x3946f9(0xf9)]=global[_0x3946f9(0x101)],await PerformanceTester['measure'](PerformanceEvents['SNAPSHOT'],()=>percySnapshot[_0x3946f9(0xe8)](null,arguments),_0x43396d);});percyScreenshot?exports[a105_0x520bf2(0xfd)]=async function(){const _0x398be7=a105_0x520bf2,_0x17b6ef={'uyHwW':function(_0x90475d,_0x4a7474){return _0x90475d>=_0x4a7474;},'vamnL':function(_0x27b035){return _0x27b035();}},_0x54c72a=_0x17b6ef[_0x398be7(0xf6)](arguments[_0x398be7(0xff)],0x2)?arguments[0x1]:'',_0x31614b=_0x17b6ef[_0x398be7(0xea)](getCurrentTestData),_0xdd87f9={};return _0xdd87f9[_0x398be7(0x103)]=_0x54c72a,_0xdd87f9[_0x398be7(0xe6)]=_0x31614b[_0x398be7(0x103)]||'',_0xdd87f9[_0x398be7(0xf1)]=_0x31614b[_0x398be7(0xe0)]||'',_0xdd87f9[_0x398be7(0xf9)]=global[_0x398be7(0x101)],await PerformanceTester[_0x398be7(0xdf)](PerformanceEvents[_0x398be7(0xeb)],()=>percyScreenshot[_0x398be7(0xe8)](null,arguments),_0xdd87f9);}:exports[a105_0x520bf2(0xfd)]=()=>{const _0xe2e510=a105_0x520bf2,_0x26113d={};_0x26113d[_0xe2e510(0xde)]='Unsupported\x20driver\x20for\x20percy';const _0x837b02=_0x26113d;logger[_0xe2e510(0xed)](_0x837b02[_0xe2e510(0xde)]);};exports[a105_0x520bf2(0xfa)]=async function(){const _0x18c268=a105_0x520bf2,_0x4e9fe5={'TCIRf':function(_0x3e146a,_0x3062e2){return _0x3e146a>=_0x3062e2;},'dCVrO':function(_0x57120d){return _0x57120d();}},_0x19006e=_0x4e9fe5[_0x18c268(0xee)](arguments[_0x18c268(0xff)],0x2)?arguments[0x1]:'',_0x1ac1a3=_0x4e9fe5[_0x18c268(0xdd)](getCurrentTestData),_0x58cfeb={};return _0x58cfeb[_0x18c268(0x103)]=_0x19006e,_0x58cfeb[_0x18c268(0xe6)]=_0x1ac1a3[_0x18c268(0x103)]||'',_0x58cfeb[_0x18c268(0xf1)]=_0x1ac1a3[_0x18c268(0xe0)]||'',_0x58cfeb[_0x18c268(0xf9)]=global['browserstackPlatformIndex'],await PerformanceTester[_0x18c268(0xdf)](PerformanceEvents['SCREENSHOT_APP'],()=>percyAppScreenshot['apply'](null,arguments),_0x58cfeb);};
@@ -1 +1 @@
1
- function a106_0x4ab7(_0x22b512,_0x2355d2){var _0x5e7f33=a106_0x5e7f();return a106_0x4ab7=function(_0x4ab751,_0x87f7ee){_0x4ab751=_0x4ab751-0x7d;var _0x1f8c6c=_0x5e7f33[_0x4ab751];return _0x1f8c6c;},a106_0x4ab7(_0x22b512,_0x2355d2);}function a106_0x5e7f(){var _0x545033=['341rwNGKM','1273256ECGZqY','318VebPBt','1015160HIEhiL','5095350frnZXS','exports','2520GDVnbC','11631402IWCzOY','42PcHYFR','449432Mabfgj','138gfejtK','./Percy','181835hJhuDB'];a106_0x5e7f=function(){return _0x545033;};return a106_0x5e7f();}var a106_0xa6e970=a106_0x4ab7;(function(_0x255a96,_0x36f55f){var _0x560c17=a106_0x4ab7,_0x4f2bcf=_0x255a96();while(!![]){try{var _0x31dc24=parseInt(_0x560c17(0x7e))/0x1*(-parseInt(_0x560c17(0x87))/0x2)+parseInt(_0x560c17(0x89))/0x3+parseInt(_0x560c17(0x86))/0x4+parseInt(_0x560c17(0x84))/0x5*(parseInt(_0x560c17(0x82))/0x6)+parseInt(_0x560c17(0x80))/0x7*(parseInt(_0x560c17(0x81))/0x8)+parseInt(_0x560c17(0x7f))/0x9+parseInt(_0x560c17(0x88))/0xa*(-parseInt(_0x560c17(0x85))/0xb);if(_0x31dc24===_0x36f55f)break;else _0x4f2bcf['push'](_0x4f2bcf['shift']());}catch(_0x1a417d){_0x4f2bcf['push'](_0x4f2bcf['shift']());}}}(a106_0x5e7f,0xe4445),module[a106_0xa6e970(0x7d)]=require(a106_0xa6e970(0x83)));
1
+ var a106_0x12285f=a106_0x38cc;(function(_0xb303d4,_0x482509){var _0x3a360a=a106_0x38cc,_0x2c2d8a=_0xb303d4();while(!![]){try{var _0x38274a=-parseInt(_0x3a360a(0x1f4))/0x1*(parseInt(_0x3a360a(0x1f0))/0x2)+-parseInt(_0x3a360a(0x1ec))/0x3+parseInt(_0x3a360a(0x1ee))/0x4*(parseInt(_0x3a360a(0x1eb))/0x5)+-parseInt(_0x3a360a(0x1f2))/0x6+-parseInt(_0x3a360a(0x1f1))/0x7+parseInt(_0x3a360a(0x1f3))/0x8+parseInt(_0x3a360a(0x1ed))/0x9*(parseInt(_0x3a360a(0x1e9))/0xa);if(_0x38274a===_0x482509)break;else _0x2c2d8a['push'](_0x2c2d8a['shift']());}catch(_0x1ab334){_0x2c2d8a['push'](_0x2c2d8a['shift']());}}}(a106_0x4f8d,0xe964e),module[a106_0x12285f(0x1ef)]=require(a106_0x12285f(0x1ea)));function a106_0x38cc(_0x3a3f63,_0x449a89){var _0x4f8ded=a106_0x4f8d();return a106_0x38cc=function(_0x38cc97,_0x504600){_0x38cc97=_0x38cc97-0x1e9;var _0x5a4ef9=_0x4f8ded[_0x38cc97];return _0x5a4ef9;},a106_0x38cc(_0x3a3f63,_0x449a89);}function a106_0x4f8d(){var _0x233388=['965qSMFNc','4909005vHjBjM','3249EvARLU','5988rMMAHh','exports','4CUmFqb','7944272AtZOGR','9105312qKsAiq','9283672CqNQLG','13622pBrAOy','105890vGvjJp','./Percy'];a106_0x4f8d=function(){return _0x233388;};return a106_0x4f8d();}
@@ -1 +1 @@
1
- function a107_0x11aa(_0x345654,_0x4ccd86){const _0x2781ec=a107_0x2781();return a107_0x11aa=function(_0x11aac0,_0x323e87){_0x11aac0=_0x11aac0-0x1a5;let _0xbb2c8c=_0x2781ec[_0x11aac0];return _0xbb2c8c;},a107_0x11aa(_0x345654,_0x4ccd86);}function a107_0x2781(){const _0x19c7ea=['element','960112TeWfpW','percyCaptureMode','TIwWf','browserStackPercyOptions','percy','measureWrapper','browserName','545442sEgWnO','../performance/constants','AUTO_CAPTURE','isUndefined','safari','nestedKeyValue','browser','debug','increment','browserstackSessionName','./PercyCaptureModes','IFReV','patch','reduce','ckPuv','chrome','browserstackPercyMap','813688zQaKAT','./Percy','getBestPlatformForPercySnapshot','getName','yIyvT','stopPercy','195LXoTzh','manual','Stopping\x20percy','apply','stqyX','auto','forEach','screenshot','getDriver','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','init','Error\x20patching\x20','YrGQI','error','iDaTk','9EEsINX','browserstackPercyBestPlatform','3814356PHWZgT','\x20for\x20percy\x20','platforms','sDICv','268354isLPUv','../helper','driver','app','edge','747085Gryxev','firefox','../logger','STOP','toLowerCase','emaOl','winstonLogger','QSVYU','startPercy','Starting\x20percy','then','screenshotApp','patchDriverPercy','../performance/performance-tester','percyAutoCapture','START','PRsbk','qhoQx','prototype','33052tYlMNp','overrideXforPercy','getPercyOptions'];a107_0x2781=function(){return _0x19c7ea;};return a107_0x2781();}const a107_0x462552=a107_0x11aa;(function(_0x4166ce,_0x236dcf){const _0x49a065=a107_0x11aa,_0x5cfadc=_0x4166ce();while(!![]){try{const _0x3002a5=-parseInt(_0x49a065(0x1df))/0x1+-parseInt(_0x49a065(0x1ac))/0x2+-parseInt(_0x49a065(0x1ca))/0x3*(-parseInt(_0x49a065(0x1a8))/0x4)+parseInt(_0x49a065(0x1e4))/0x5+-parseInt(_0x49a065(0x1b3))/0x6+parseInt(_0x49a065(0x1db))/0x7+parseInt(_0x49a065(0x1c4))/0x8*(-parseInt(_0x49a065(0x1d9))/0x9);if(_0x3002a5===_0x236dcf)break;else _0x5cfadc['push'](_0x5cfadc['shift']());}catch(_0x398e0b){_0x5cfadc['push'](_0x5cfadc['shift']());}}}(a107_0x2781,0x46e58));const Percy=require(a107_0x462552(0x1c5)),PercySDK=require('./PercySDK'),PercyCaptureModes=require(a107_0x462552(0x1bd)),PercyCaptureMap=require('./PercyCaptureMap'),logger=require(a107_0x462552(0x1e6))[a107_0x462552(0x1ea)],helper=require(a107_0x462552(0x1e0)),PerformanceTester=require(a107_0x462552(0x1f1)),{PERCY_EVENTS:PerformanceEvents}=require(a107_0x462552(0x1b4));exports[a107_0x462552(0x1ec)]=PerformanceTester[a107_0x462552(0x1b1)](PerformanceEvents[a107_0x462552(0x1f3)],async _0x3e9aae=>{const _0x5ce6aa=a107_0x462552,_0x20bdb0={};_0x20bdb0[_0x5ce6aa(0x1a5)]=_0x5ce6aa(0x1ed);const _0x19822b=_0x20bdb0;logger[_0x5ce6aa(0x1ba)](_0x19822b['PRsbk']);const _0x3125c4=new Percy(_0x3e9aae),_0x567f95=await _0x3125c4['start']();if(_0x567f95)return _0x3125c4;return null;}),exports[a107_0x462552(0x1c9)]=PerformanceTester[a107_0x462552(0x1b1)](PerformanceEvents[a107_0x462552(0x1e7)],async _0x44d8af=>{const _0x37b02a=a107_0x462552,_0x1cb8ee={};_0x1cb8ee['QSVYU']=_0x37b02a(0x1cc);const _0x14c73d=_0x1cb8ee;return logger[_0x37b02a(0x1ba)](_0x14c73d[_0x37b02a(0x1eb)]),_0x44d8af['stop']();}),exports[a107_0x462552(0x1c6)]=_0x1dafe9=>{const _0x1fec07=a107_0x462552,_0x990be8={};_0x990be8[_0x1fec07(0x1de)]=function(_0x36d818,_0xb71fdf){return _0x36d818<_0xb71fdf;};const _0x3fa31d=_0x990be8,_0x5d8488={};_0x5d8488[_0x1fec07(0x1c2)]=0x0,_0x5d8488[_0x1fec07(0x1e5)]=0x1,_0x5d8488[_0x1fec07(0x1e3)]=0x2,_0x5d8488[_0x1fec07(0x1b7)]=0x3;const _0x4b7651=_0x5d8488;return _0x1dafe9[_0x1fec07(0x1c0)]((_0x304518,_0x42bbea,_0x359104)=>{const _0x5c2349=_0x1fec07,_0x405d80=_0x1dafe9[_0x304518];if(_0x42bbea['deviceName'])return _0x304518;if(_0x405d80['deviceName'])return _0x359104;const _0x2ed910=_0x42bbea[_0x5c2349(0x1b9)]?_0x42bbea['browser']:_0x42bbea[_0x5c2349(0x1b2)];if(_0x2ed910&&_0x3fa31d['sDICv'](_0x4b7651[_0x2ed910[_0x5c2349(0x1e8)]()],_0x4b7651[_0x2ed910[_0x5c2349(0x1e8)]()]))return _0x359104;return _0x304518;},0x0);},exports[a107_0x462552(0x1f2)]=PerformanceTester[a107_0x462552(0x1b1)](PerformanceEvents[a107_0x462552(0x1b5)],async(_0x4cd3c1,_0x4e040c,_0x8f9841)=>{const _0x37bd2b=a107_0x462552,_0x49869f={};_0x49869f[_0x37bd2b(0x1ce)]=_0x37bd2b(0x1d3);const _0x16b76e=_0x49869f,_0x4aabda=_0x4cd3c1[_0x37bd2b(0x1c3)];if(helper[_0x37bd2b(0x1b6)](_0x4cd3c1[_0x37bd2b(0x1bc)])){logger[_0x37bd2b(0x1ba)](_0x16b76e[_0x37bd2b(0x1ce)]);return;}const _0x234ddf=_0x4aabda[_0x37bd2b(0x1c7)](_0x4cd3c1[_0x37bd2b(0x1bc)],_0x4e040c);_0x8f9841[_0x37bd2b(0x1e2)]?await PercySDK[_0x37bd2b(0x1ef)](_0x4cd3c1,_0x234ddf):await PercySDK[_0x37bd2b(0x1d1)](_0x4cd3c1,_0x234ddf),_0x4aabda[_0x37bd2b(0x1bb)](_0x4cd3c1[_0x37bd2b(0x1bc)],_0x4e040c);}),exports[a107_0x462552(0x1f0)]=(_0x149289,_0x36c592,_0x66b385)=>{const _0x1945e3=a107_0x462552,_0x197326={};_0x197326[_0x1945e3(0x1c1)]=_0x1945e3(0x1af),_0x197326[_0x1945e3(0x1c8)]=_0x1945e3(0x1b0),_0x197326['HuQTv']=function(_0x1fe23c,_0x7997b4){return _0x1fe23c!==_0x7997b4;},_0x197326[_0x1945e3(0x1a6)]=_0x1945e3(0x1cb);const _0x7399c1=_0x197326;if(!helper[_0x1945e3(0x1b8)](_0x66b385,[_0x7399c1[_0x1945e3(0x1c1)],_0x7399c1[_0x1945e3(0x1c8)]]))return;if(_0x66b385[_0x1945e3(0x1af)][_0x1945e3(0x1b0)]&&_0x66b385[_0x1945e3(0x1af)][_0x1945e3(0x1ad)]&&_0x7399c1['HuQTv'](_0x66b385['browserStackPercyOptions'][_0x1945e3(0x1ad)],_0x7399c1[_0x1945e3(0x1a6)])&&!_0x149289[_0x1945e3(0x1c3)]){global[_0x1945e3(0x1bc)]&&(_0x149289[_0x1945e3(0x1bc)]=global[_0x1945e3(0x1bc)]),_0x149289[_0x1945e3(0x1c3)]=new PercyCaptureMap();const _0x4e28ee=PercyCaptureModes[_0x66b385[_0x1945e3(0x1af)][_0x1945e3(0x1ad)]];_0x4e28ee[_0x1945e3(0x1e1)]&&_0x4e28ee[_0x1945e3(0x1e1)][_0x1945e3(0x1d0)](_0x7f7651=>this[_0x1945e3(0x1a9)](_0x149289,_0x7f7651,_0x66b385)),_0x4e28ee[_0x1945e3(0x1ab)]&&_0x4e28ee[_0x1945e3(0x1ab)][_0x1945e3(0x1d0)](_0xb12ccc=>{const _0x2a4d82=_0x1945e3;if(_0x36c592['prototype'][_0x2a4d82(0x1bf)+_0xb12ccc])return;_0x36c592[_0x2a4d82(0x1a7)][_0x2a4d82(0x1bf)+_0xb12ccc]=!![];const _0x74b47a=_0x36c592[_0x2a4d82(0x1a7)][_0xb12ccc];_0x36c592[_0x2a4d82(0x1a7)][_0xb12ccc]=async function(){const _0x258973=_0x2a4d82;let _0x37eb20=_0x74b47a[_0x258973(0x1cd)](this,arguments);_0x37eb20&&_0x37eb20[_0x258973(0x1ee)]&&(_0x37eb20=await _0x37eb20);try{const _0x32853c=this[_0x258973(0x1d2)]();await exports['percyAutoCapture'](_0x32853c,_0xb12ccc,_0x66b385);}catch(_0x3d06c9){logger[_0x258973(0x1d7)]('Error\x20patching\x20'+_0xb12ccc+_0x258973(0x1dc)+_0x3d06c9);}return _0x37eb20;};});}},exports[a107_0x462552(0x1a9)]=function(_0x10d9da,_0x3dd5d8,_0x347fcc){const _0x32f25c=a107_0x462552,_0x531ea5={};_0x531ea5[_0x32f25c(0x1d6)]=function(_0x13f266,_0x1a7e7e){return _0x13f266+_0x1a7e7e;},_0x531ea5['iDaTk']=_0x32f25c(0x1bf),_0x531ea5[_0x32f25c(0x1e9)]=function(_0x534722,_0x2b6126){return _0x534722+_0x2b6126;},_0x531ea5[_0x32f25c(0x1be)]=_0x32f25c(0x1d4);const _0x49748b=_0x531ea5,_0x395884=_0x49748b[_0x32f25c(0x1d6)](_0x49748b[_0x32f25c(0x1d8)],_0x3dd5d8),_0x3d1af4=_0x49748b[_0x32f25c(0x1e9)](_0x49748b[_0x32f25c(0x1be)],_0x3dd5d8),_0x5902a5=this;if(_0x10d9da[_0x395884]||!_0x10d9da[_0x3dd5d8])return;_0x10d9da[_0x395884]=!![],_0x10d9da[_0x3d1af4]=_0x10d9da[_0x3dd5d8],_0x10d9da[_0x3dd5d8]=async()=>{const _0x5063d7=_0x32f25c;try{await _0x5902a5['percyAutoCapture'](_0x10d9da,_0x3dd5d8,_0x347fcc);}catch(_0x5555e8){logger[_0x5063d7(0x1d7)](_0x5063d7(0x1d5)+_0x3dd5d8+'\x20for\x20percy\x20'+_0x5555e8);}return await _0x10d9da[_0x3d1af4][_0x5063d7(0x1cd)](_0x10d9da,arguments);};},exports[a107_0x462552(0x1aa)]=_0xdd4793=>{const _0x57ae68=a107_0x462552,_0x27b428={};_0x27b428[_0x57ae68(0x1ae)]=_0x57ae68(0x1cf);const _0x25c824=_0x27b428,_0x1aaddb={};_0x1aaddb[_0x57ae68(0x1b0)]=_0xdd4793[_0x57ae68(0x1b0)],_0x1aaddb[_0x57ae68(0x1ad)]=_0xdd4793[_0x57ae68(0x1ad)]||_0x25c824[_0x57ae68(0x1ae)];const _0x3077eb=_0x1aaddb;_0xdd4793['percy']&&(_0x3077eb[_0x57ae68(0x1da)]=exports[_0x57ae68(0x1c6)](_0xdd4793[_0x57ae68(0x1dd)]));;return _0x3077eb;};
1
+ function a107_0x543f(_0x2e6679,_0x14b762){const _0x4c834e=a107_0x4c83();return a107_0x543f=function(_0x543f99,_0x3407ae){_0x543f99=_0x543f99-0xf4;let _0x2a7c75=_0x4c834e[_0x543f99];return _0x2a7c75;},a107_0x543f(_0x2e6679,_0x14b762);}const a107_0x355e23=a107_0x543f;(function(_0x33f4c9,_0x3079b1){const _0x28c06b=a107_0x543f,_0x3c6021=_0x33f4c9();while(!![]){try{const _0x1397a5=-parseInt(_0x28c06b(0x123))/0x1*(parseInt(_0x28c06b(0x10b))/0x2)+parseInt(_0x28c06b(0x138))/0x3+parseInt(_0x28c06b(0xf5))/0x4+-parseInt(_0x28c06b(0x118))/0x5+-parseInt(_0x28c06b(0x128))/0x6+-parseInt(_0x28c06b(0x110))/0x7*(-parseInt(_0x28c06b(0x139))/0x8)+parseInt(_0x28c06b(0x130))/0x9*(parseInt(_0x28c06b(0x105))/0xa);if(_0x1397a5===_0x3079b1)break;else _0x3c6021['push'](_0x3c6021['shift']());}catch(_0x122921){_0x3c6021['push'](_0x3c6021['shift']());}}}(a107_0x4c83,0x315c3));const Percy=require('./Percy'),PercySDK=require(a107_0x355e23(0x137)),PercyCaptureModes=require(a107_0x355e23(0xfe)),PercyCaptureMap=require('./PercyCaptureMap'),logger=require('../logger')['winstonLogger'],helper=require('../helper'),PerformanceTester=require(a107_0x355e23(0x10e)),{PERCY_EVENTS:PerformanceEvents}=require(a107_0x355e23(0xfa));function a107_0x4c83(){const _0x449e51=['browserstackPercyMap','getBestPlatformForPercySnapshot','screenshotApp','XxwKT','HLayM','564365gwXXxq','Error\x20patching\x20','edge','browserstackSessionName','apply','percyAutoCapture','chrome','deviceName','percy','toLowerCase','\x20for\x20percy\x20','82DbPFAH','VKrXe','manual','overrideXforPercy','YCKZQ','2126760ZRzyUm','AUTO_CAPTURE','patchDriverPercy','browserStackPercyOptions','jMFLa','debug','Starting\x20percy','measureWrapper','6417zQuYNr','stop','STOP','screenshot','driver','startPercy','platforms','./PercySDK','429945WJqXjU','8JnMXWW','ScLeR','START','wOJdk','1554612tvrYCq','getDriver','increment','getPercyOptions','prototype','../performance/constants','getName','auto','then','./PercyCaptureModes','LOGTr','puFog','forEach','ZhGte','element','app','2520pVZJfR','isUndefined','error','nestedKeyValue','browserName','firefox','5606OajfFY','browser','percyCaptureMode','../performance/performance-tester','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','1313998foqfCT','foAkd','patch'];a107_0x4c83=function(){return _0x449e51;};return a107_0x4c83();}exports[a107_0x355e23(0x135)]=PerformanceTester[a107_0x355e23(0x12f)](PerformanceEvents[a107_0x355e23(0x13b)],async _0x5a3608=>{const _0x125694=a107_0x355e23,_0x4ee4c1={};_0x4ee4c1[_0x125694(0x102)]=_0x125694(0x12e);const _0x1253b2=_0x4ee4c1;logger['debug'](_0x1253b2[_0x125694(0x102)]);const _0x3f3ece=new Percy(_0x5a3608),_0x259244=await _0x3f3ece['start']();if(_0x259244)return _0x3f3ece;return null;}),exports['stopPercy']=PerformanceTester[a107_0x355e23(0x12f)](PerformanceEvents[a107_0x355e23(0x132)],async _0x196759=>{const _0x27d3ec=a107_0x355e23,_0xfae4={};_0xfae4[_0x27d3ec(0x12c)]='Stopping\x20percy';const _0x28e3ca=_0xfae4;return logger[_0x27d3ec(0x12d)](_0x28e3ca[_0x27d3ec(0x12c)]),_0x196759[_0x27d3ec(0x131)]();}),exports[a107_0x355e23(0x114)]=_0xccb9b4=>{const _0x434545=a107_0x355e23,_0x2b896c={};_0x2b896c[_0x434545(0x111)]=function(_0x2c4eae,_0x3a0d9c){return _0x2c4eae<_0x3a0d9c;};const _0x4003b9=_0x2b896c,_0x5492b3={};_0x5492b3[_0x434545(0x11e)]=0x0,_0x5492b3[_0x434545(0x10a)]=0x1,_0x5492b3[_0x434545(0x11a)]=0x2,_0x5492b3['safari']=0x3;const _0x1f9cdb=_0x5492b3;return _0xccb9b4['reduce']((_0x11c3b3,_0x172929,_0x572bce)=>{const _0x2bbc37=_0x434545,_0x4e66d5=_0xccb9b4[_0x11c3b3];if(_0x172929[_0x2bbc37(0x11f)])return _0x11c3b3;if(_0x4e66d5[_0x2bbc37(0x11f)])return _0x572bce;const _0x138b2c=_0x172929[_0x2bbc37(0x10c)]?_0x172929[_0x2bbc37(0x10c)]:_0x172929[_0x2bbc37(0x109)];if(_0x138b2c&&_0x4003b9[_0x2bbc37(0x111)](_0x1f9cdb[_0x138b2c[_0x2bbc37(0x121)]()],_0x1f9cdb[_0x138b2c[_0x2bbc37(0x121)]()]))return _0x572bce;return _0x11c3b3;},0x0);},exports[a107_0x355e23(0x11d)]=PerformanceTester[a107_0x355e23(0x12f)](PerformanceEvents[a107_0x355e23(0x129)],async(_0x58a8fe,_0x150b6c,_0x24a0ee)=>{const _0x1b9e57=a107_0x355e23,_0x58df0d={};_0x58df0d[_0x1b9e57(0x13a)]=_0x1b9e57(0x10f);const _0x5259da=_0x58df0d,_0x4a98c5=_0x58a8fe[_0x1b9e57(0x113)];if(helper[_0x1b9e57(0x106)](_0x58a8fe[_0x1b9e57(0x11b)])){logger[_0x1b9e57(0x12d)](_0x5259da[_0x1b9e57(0x13a)]);return;}const _0xe345b2=_0x4a98c5[_0x1b9e57(0xfb)](_0x58a8fe['browserstackSessionName'],_0x150b6c);_0x24a0ee[_0x1b9e57(0x104)]?await PercySDK[_0x1b9e57(0x115)](_0x58a8fe,_0xe345b2):await PercySDK[_0x1b9e57(0x133)](_0x58a8fe,_0xe345b2),_0x4a98c5[_0x1b9e57(0xf7)](_0x58a8fe['browserstackSessionName'],_0x150b6c);}),exports[a107_0x355e23(0x12a)]=(_0xb67294,_0x5c385c,_0x20b430)=>{const _0x30809f=a107_0x355e23,_0x5aed67={};_0x5aed67['wOJdk']=_0x30809f(0x12b),_0x5aed67[_0x30809f(0xff)]=_0x30809f(0x120),_0x5aed67[_0x30809f(0x116)]=function(_0x568b0c,_0x2abb9e){return _0x568b0c!==_0x2abb9e;},_0x5aed67[_0x30809f(0x127)]=_0x30809f(0x125);const _0x5ee54d=_0x5aed67;if(!helper[_0x30809f(0x108)](_0x20b430,[_0x5ee54d[_0x30809f(0xf4)],_0x5ee54d[_0x30809f(0xff)]]))return;if(_0x20b430['browserStackPercyOptions'][_0x30809f(0x120)]&&_0x20b430[_0x30809f(0x12b)][_0x30809f(0x10d)]&&_0x5ee54d[_0x30809f(0x116)](_0x20b430[_0x30809f(0x12b)]['percyCaptureMode'],_0x5ee54d[_0x30809f(0x127)])&&!_0xb67294[_0x30809f(0x113)]){global['browserstackSessionName']&&(_0xb67294[_0x30809f(0x11b)]=global[_0x30809f(0x11b)]),_0xb67294['browserstackPercyMap']=new PercyCaptureMap();const _0x53d4fd=PercyCaptureModes[_0x20b430['browserStackPercyOptions']['percyCaptureMode']];_0x53d4fd[_0x30809f(0x134)]&&_0x53d4fd[_0x30809f(0x134)][_0x30809f(0x101)](_0x2578b0=>this[_0x30809f(0x126)](_0xb67294,_0x2578b0,_0x20b430)),_0x53d4fd[_0x30809f(0x103)]&&_0x53d4fd[_0x30809f(0x103)][_0x30809f(0x101)](_0xb17abe=>{const _0x24ade0=_0x30809f;if(_0x5c385c['prototype'][_0x24ade0(0x112)+_0xb17abe])return;_0x5c385c[_0x24ade0(0xf9)][_0x24ade0(0x112)+_0xb17abe]=!![];const _0x599b7f=_0x5c385c[_0x24ade0(0xf9)][_0xb17abe];_0x5c385c[_0x24ade0(0xf9)][_0xb17abe]=async function(){const _0x53fc08=_0x24ade0;let _0x12c2ac=_0x599b7f['apply'](this,arguments);_0x12c2ac&&_0x12c2ac[_0x53fc08(0xfd)]&&(_0x12c2ac=await _0x12c2ac);try{const _0x1ef5ac=this[_0x53fc08(0xf6)]();await exports['percyAutoCapture'](_0x1ef5ac,_0xb17abe,_0x20b430);}catch(_0x4f379b){logger[_0x53fc08(0x107)](_0x53fc08(0x119)+_0xb17abe+_0x53fc08(0x122)+_0x4f379b);}return _0x12c2ac;};});}},exports['overrideXforPercy']=function(_0xdb977c,_0x2fff49,_0x5ce314){const _0x7eab66=a107_0x355e23,_0x247f03={};_0x247f03[_0x7eab66(0x117)]=function(_0x463324,_0x3e0f08){return _0x463324+_0x3e0f08;},_0x247f03['IYYlT']=_0x7eab66(0x112),_0x247f03[_0x7eab66(0x124)]='init';const _0x22a3c8=_0x247f03,_0x195b45=_0x22a3c8['HLayM'](_0x22a3c8['IYYlT'],_0x2fff49),_0x32c234=_0x22a3c8[_0x7eab66(0x117)](_0x22a3c8[_0x7eab66(0x124)],_0x2fff49),_0xd6dafd=this;if(_0xdb977c[_0x195b45]||!_0xdb977c[_0x2fff49])return;_0xdb977c[_0x195b45]=!![],_0xdb977c[_0x32c234]=_0xdb977c[_0x2fff49],_0xdb977c[_0x2fff49]=async()=>{const _0x2b3640=_0x7eab66;try{await _0xd6dafd[_0x2b3640(0x11d)](_0xdb977c,_0x2fff49,_0x5ce314);}catch(_0x976fdf){logger[_0x2b3640(0x107)](_0x2b3640(0x119)+_0x2fff49+'\x20for\x20percy\x20'+_0x976fdf);}return await _0xdb977c[_0x32c234][_0x2b3640(0x11c)](_0xdb977c,arguments);};},exports[a107_0x355e23(0xf8)]=_0x1ab8e5=>{const _0x278e3e=a107_0x355e23,_0x26e377={};_0x26e377[_0x278e3e(0x100)]=_0x278e3e(0xfc);const _0x4c2e5f=_0x26e377,_0x540c53={};_0x540c53['percy']=_0x1ab8e5['percy'],_0x540c53['percyCaptureMode']=_0x1ab8e5[_0x278e3e(0x10d)]||_0x4c2e5f['puFog'];const _0x3eb59e=_0x540c53;_0x1ab8e5['percy']&&(_0x3eb59e['browserstackPercyBestPlatform']=exports[_0x278e3e(0x114)](_0x1ab8e5[_0x278e3e(0x136)]));;return _0x3eb59e;};