browserstack-node-sdk 1.43.0 → 1.43.1

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 (177) 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/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  128. package/src/helpers/accessibility-automation/constants.js +1 -1
  129. package/src/helpers/accessibility-automation/helper.js +1 -1
  130. package/src/helpers/accessibility-automation/scripts.js +1 -1
  131. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  132. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  133. package/src/helpers/ats/constants.js +1 -1
  134. package/src/helpers/ats/helper.js +1 -1
  135. package/src/helpers/capsMapping.js +1 -1
  136. package/src/helpers/central-scanner/constants.js +1 -1
  137. package/src/helpers/central-scanner/helpers.js +1 -1
  138. package/src/helpers/classLogger.js +1 -1
  139. package/src/helpers/globals.js +1 -1
  140. package/src/helpers/helper.js +1 -1
  141. package/src/helpers/logger.js +1 -1
  142. package/src/helpers/metadata.js +1 -1
  143. package/src/helpers/patchHelper.js +1 -1
  144. package/src/helpers/patchHelpers.js +1 -1
  145. package/src/helpers/percy/Percy.js +1 -1
  146. package/src/helpers/percy/PercyBinary.js +1 -1
  147. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  148. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  149. package/src/helpers/percy/PercySDK.js +1 -1
  150. package/src/helpers/percy/index.js +1 -1
  151. package/src/helpers/percy/utils.js +1 -1
  152. package/src/helpers/performance/constants.js +1 -1
  153. package/src/helpers/performance/performance-tester.js +1 -1
  154. package/src/helpers/playwright-helper.js +1 -1
  155. package/src/helpers/processHelper.js +1 -1
  156. package/src/helpers/request-spy.js +1 -1
  157. package/src/helpers/setKeepAlive.js +1 -1
  158. package/src/helpers/test-observability/constants.js +1 -1
  159. package/src/helpers/test-observability/error-handler.js +1 -1
  160. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  161. package/src/helpers/test-observability/sessionHandler.js +1 -1
  162. package/src/helpers/test-observability/utils.js +1 -1
  163. package/src/helpers/test-orchestration/constants.js +1 -1
  164. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  165. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  166. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  167. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  168. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  169. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  170. package/src/helpers/testhub/constants.js +1 -1
  171. package/src/helpers/testhub/testhubHandler.js +1 -1
  172. package/src/helpers/testhub/utils.js +1 -1
  173. package/src/helpers/timeoutPromise.js +1 -1
  174. package/src/helpers/utilities.js +1 -1
  175. package/src/helpers/w3cMapping.js +1 -1
  176. package/src/hubAllocationMethods.js +1 -1
  177. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a100_0x1d4ebd=a100_0x5666;(function(_0x5b769b,_0x264a41){const _0xde97fe=a100_0x5666,_0x57aa10=_0x5b769b();while(!![]){try{const _0xded70=parseInt(_0xde97fe(0xc5))/0x1*(parseInt(_0xde97fe(0xb0))/0x2)+-parseInt(_0xde97fe(0xd7))/0x3+parseInt(_0xde97fe(0xaf))/0x4*(parseInt(_0xde97fe(0x9a))/0x5)+-parseInt(_0xde97fe(0xc2))/0x6*(-parseInt(_0xde97fe(0xd1))/0x7)+parseInt(_0xde97fe(0x9d))/0x8*(-parseInt(_0xde97fe(0x93))/0x9)+parseInt(_0xde97fe(0xb7))/0xa+parseInt(_0xde97fe(0x9c))/0xb;if(_0xded70===_0x264a41)break;else _0x57aa10['push'](_0x57aa10['shift']());}catch(_0x2a263a){_0x57aa10['push'](_0x57aa10['shift']());}}}(a100_0x4c75,0x93389));const winston=require(a100_0x1d4ebd(0xa7)),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a100_0x1d4ebd(0xa4)),tempLogDir='log',logFormat=winston['format'](_0x1baef4=>{const _0x1fc65f=a100_0x1d4ebd,_0x4e1c26={};_0x4e1c26[_0x1fc65f(0xc1)]=function(_0x587a49,_0x25f65a){return _0x587a49!==_0x25f65a;},_0x4e1c26['MyhCk']=_0x1fc65f(0xbf),_0x4e1c26[_0x1fc65f(0xb8)]=function(_0xfa6b7c,_0x287528){return _0xfa6b7c===_0x287528;},_0x4e1c26[_0x1fc65f(0xd0)]=_0x1fc65f(0xcc),_0x4e1c26[_0x1fc65f(0x9e)]=function(_0x5e2861,_0x3c730b){return _0x5e2861===_0x3c730b;};const _0x408e73=_0x4e1c26;return _0x408e73[_0x1fc65f(0xc1)](typeof _0x1baef4[_0x1fc65f(0xce)],_0x408e73['MyhCk'])&&(_0x1baef4[_0x1fc65f(0xce)]=JSON[_0x1fc65f(0x97)](_0x1baef4[_0x1fc65f(0xce)])),global[_0x1fc65f(0xcb)]?.['config']?.[_0x1fc65f(0xa9)]&&_0x408e73[_0x1fc65f(0xb8)](typeof _0x1baef4[_0x1fc65f(0xce)],_0x408e73[_0x1fc65f(0x90)])&&(_0x1baef4['message']=_0x1baef4[_0x1fc65f(0xce)]['replace'](new RegExp(global['session'][_0x1fc65f(0xd2)][_0x1fc65f(0xa9)],'g'),_0x408e73[_0x1fc65f(0xd0)])),global[_0x1fc65f(0xcb)]?.[_0x1fc65f(0xd2)]?.[_0x1fc65f(0x9b)]&&_0x408e73[_0x1fc65f(0x9e)](typeof _0x1baef4[_0x1fc65f(0xce)],_0x408e73[_0x1fc65f(0x90)])&&(_0x1baef4['message']=_0x1baef4[_0x1fc65f(0xce)][_0x1fc65f(0x8f)](new RegExp(global[_0x1fc65f(0xcb)][_0x1fc65f(0xd2)][_0x1fc65f(0x9b)],'g'),_0x408e73[_0x1fc65f(0xd0)])),_0x1baef4;}),fetchLogDir=()=>{const _0x35fd35=a100_0x1d4ebd;if(process['env'][_0x35fd35(0xd9)])return process['env'][_0x35fd35(0xd9)];else!fs[_0x35fd35(0xd6)](tempLogDir)&&fs[_0x35fd35(0xc0)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),a100_0x47b83d={};a100_0x47b83d['name']=a100_0x1d4ebd(0x8e);const transports={'loggerConsole':new winston[(a100_0x1d4ebd(0x92))][(a100_0x1d4ebd(0xd5))](a100_0x47b83d),'loggerFile':new winston[(a100_0x1d4ebd(0x92))]['File']({'filename':path[a100_0x1d4ebd(0xbb)](logDir,a100_0x1d4ebd(0xab))}),'debugLoggerFile':new winston[(a100_0x1d4ebd(0x92))]['File']({'filename':path[a100_0x1d4ebd(0xbb)](logDir,'/usage-debug.log'),'level':'silly'}),'debugCliLoggerFile':new winston['transports'][(a100_0x1d4ebd(0xb5))]({'filename':path['join'](logDir,a100_0x1d4ebd(0xb1)),'level':a100_0x1d4ebd(0xc7)}),'buildLinkTransport':new winston[(a100_0x1d4ebd(0x92))]['File']({'filename':path['join'](logDir,a100_0x1d4ebd(0xab)),'level':a100_0x1d4ebd(0xc7)})},automationTransports={};process[a100_0x1d4ebd(0xa5)][a100_0x1d4ebd(0xa8)]==='true'&&(automationTransports[a100_0x1d4ebd(0xa2)]=new winston[(a100_0x1d4ebd(0x92))][(a100_0x1d4ebd(0xb5))]({'filename':path[a100_0x1d4ebd(0xbb)](logDir,'automation.log'),'level':a100_0x1d4ebd(0xc7)}));transports[a100_0x1d4ebd(0xd4)]['on'](a100_0x1d4ebd(0xba),_0x530e70=>{const _0x2a4857=a100_0x1d4ebd,_0x25b2ad={};_0x25b2ad['Xwzsj']=function(_0x5bf384,_0x2278ad){return _0x5bf384===_0x2278ad;},_0x25b2ad[_0x2a4857(0xbe)]=_0x2a4857(0xc6),_0x25b2ad[_0x2a4857(0xd8)]=_0x2a4857(0xc4);const _0x2a51a7=_0x25b2ad;if(_0x2a51a7[_0x2a4857(0xae)](_0x530e70[_0x2a4857(0xc3)],_0x2a51a7[_0x2a4857(0xbe)])){console[_0x2a4857(0x99)](_0x2a51a7[_0x2a4857(0xd8)],_0x530e70['message']);return;}throw _0x530e70;});const a100_0x1a0497={};a100_0x1a0497[a100_0x1d4ebd(0xbc)]=a100_0x1d4ebd(0xa0);const a100_0x1a3614={};a100_0x1a3614[a100_0x1d4ebd(0xaa)]=!![];const winstonLoggerParams={'format':winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xa6)](winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xbd)](a100_0x1a0497),winston[a100_0x1d4ebd(0xbc)]['colorize'](a100_0x1a3614),winston['format'][a100_0x1d4ebd(0x95)](_0x31016c=>_0x31016c[a100_0x1d4ebd(0xbd)]+'\x20-\x20'+_0x31016c[a100_0x1d4ebd(0xaa)]+':\x20'+_0x31016c['message'])),'transports':[transports[a100_0x1d4ebd(0xd4)]]},a100_0x5ad2de={};a100_0x5ad2de[a100_0x1d4ebd(0xbc)]='YYYY-MM-DD\x20HH:mm:ss';function a100_0x4c75(){const _0x30e78b=['replace','MyhCk','buildLogger','transports','9890811vVCWMz','http','printf','vubfW','stringify','info','log','989540DsMmEV','accessKey','1590644gSkxvU','8iPzeZC','zUWTo','debug','YYYY-MM-DD\x20HH:mm:ss','debugLoggerFile','automationLoggerFile','add','../bin/utils/constants','env','combine','winston','BROWSERSTACK_AUTOMATION_LOGS','userName','level','/usage.log','getLogDir','createLogger','Xwzsj','8lkLpYK','38398Djwoat','/sdk-cli-debug.log','uncolorize','loggerFile','fileLogger','File','winstonLogger','7712660FcfMDn','JBcSF','initialize','error','join','format','timestamp','lbKlq','string','mkdirSync','wvykw','48HTjUpF','code','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','8qwoyqs','EPIPE','silly','0|1|5|2|3|4','UltvQ','colorize','session','[REDACTED]','logDir','message','warn','xnEOc','582533VepRYE','config','buildLinkTransport','loggerConsole','Console','existsSync','1287102zsbSfy','yrfxJ','BROWSERSTACK_INTERNAL_LOG_DIR','true','console.info'];a100_0x4c75=function(){return _0x30e78b;};return a100_0x4c75();}function a100_0x5666(_0x2701d5,_0x60d1bc){const _0x4c75fd=a100_0x4c75();return a100_0x5666=function(_0x56669e,_0x48b743){_0x56669e=_0x56669e-0x8e;let _0x2283f0=_0x4c75fd[_0x56669e];return _0x2283f0;},a100_0x5666(_0x2701d5,_0x60d1bc);}const a100_0x59fbca={};a100_0x59fbca[a100_0x1d4ebd(0xaa)]=!![];const winstonFileLoggerParams={'format':winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xa6)](winston[a100_0x1d4ebd(0xbc)]['timestamp'](a100_0x5ad2de),winston['format'][a100_0x1d4ebd(0xca)](a100_0x59fbca),winston['format'][a100_0x1d4ebd(0x95)](_0x26df8f=>_0x26df8f[a100_0x1d4ebd(0xaa)]+':\x20'+_0x26df8f[a100_0x1d4ebd(0xce)])),'transports':[]},a100_0x26d354={};a100_0x26d354[a100_0x1d4ebd(0xbc)]=a100_0x1d4ebd(0xa0);const a100_0x4faf7b={};a100_0x4faf7b[a100_0x1d4ebd(0xaa)]=!![];const a100_0x235630={};a100_0x235630[a100_0x1d4ebd(0xaa)]=a100_0x1d4ebd(0xc7);const BuildLoggerParams={'format':winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xa6)](winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xbd)](a100_0x26d354),winston[a100_0x1d4ebd(0xbc)]['colorize'](a100_0x4faf7b),winston[a100_0x1d4ebd(0xbc)]['printf'](_0x3768c9=>_0x3768c9['timestamp']+'\x20-\x20'+_0x3768c9[a100_0x1d4ebd(0xaa)]+':\x20'+_0x3768c9[a100_0x1d4ebd(0xce)])),'transports':[transports[a100_0x1d4ebd(0xd3)],new winston[(a100_0x1d4ebd(0x92))][(a100_0x1d4ebd(0xd5))](a100_0x235630)]},a100_0x3788b9={};a100_0x3788b9[a100_0x1d4ebd(0x94)]=()=>{},a100_0x3788b9[a100_0x1d4ebd(0x98)]=()=>{},a100_0x3788b9[a100_0x1d4ebd(0xcf)]=()=>{},a100_0x3788b9[a100_0x1d4ebd(0xba)]=()=>{},a100_0x3788b9[a100_0x1d4ebd(0x9f)]=()=>{},a100_0x3788b9[a100_0x1d4ebd(0xc7)]=()=>{},exports['automationLogger']=process[a100_0x1d4ebd(0xa5)][a100_0x1d4ebd(0xa8)]===a100_0x1d4ebd(0xda)?winston[a100_0x1d4ebd(0xad)]({'format':winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xa6)](winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xb2)](),winston['format'][a100_0x1d4ebd(0xbd)](),logFormat(),winston[a100_0x1d4ebd(0xbc)]['printf'](_0x1bb860=>_0x1bb860[a100_0x1d4ebd(0xaa)]+':\x20'+_0x1bb860['message'])),'transports':[automationTransports[a100_0x1d4ebd(0xa2)]]}):a100_0x3788b9;const initialize=()=>{const _0x17d5fc=a100_0x1d4ebd,_0x6aa7f8={};_0x6aa7f8[_0x17d5fc(0xc9)]=_0x17d5fc(0xc8),_0x6aa7f8['vubfW']=_0x17d5fc(0xc7);const _0x3d4878=_0x6aa7f8,_0x26d6c3=_0x3d4878['UltvQ']['split']('|');let _0x5d24b2=0x0;while(!![]){switch(_0x26d6c3[_0x5d24b2++]){case'0':transports[_0x17d5fc(0xb3)]=new winston[(_0x17d5fc(0x92))][(_0x17d5fc(0xb5))]({'filename':path[_0x17d5fc(0xbb)](exports[_0x17d5fc(0xcd)],LOG_FILE_NAME)});continue;case'1':transports[_0x17d5fc(0xa1)]=new winston[(_0x17d5fc(0x92))][(_0x17d5fc(0xb5))]({'filename':path['join'](exports[_0x17d5fc(0xcd)],DEBUG_LOG_FILE_NAME),'level':_0x3d4878[_0x17d5fc(0x96)]});continue;case'2':exports[_0x17d5fc(0xb6)][_0x17d5fc(0xa3)](transports[_0x17d5fc(0xa1)]);continue;case'3':exports[_0x17d5fc(0xb4)][_0x17d5fc(0xa3)](transports['loggerFile']);continue;case'4':exports[_0x17d5fc(0xb4)][_0x17d5fc(0xa3)](transports['debugLoggerFile']);continue;case'5':exports['winstonLogger'][_0x17d5fc(0xa3)](transports[_0x17d5fc(0xb3)]);continue;}break;}};exports[a100_0x1d4ebd(0xb6)]=new winston[(a100_0x1d4ebd(0xad))](winstonLoggerParams),exports[a100_0x1d4ebd(0xb4)]=new winston['createLogger'](winstonFileLoggerParams),exports[a100_0x1d4ebd(0x91)]=new winston[(a100_0x1d4ebd(0xad))](BuildLoggerParams),exports[a100_0x1d4ebd(0xcd)]=logDir,exports[a100_0x1d4ebd(0xac)]=()=>{const _0x11c204=a100_0x1d4ebd;return exports[_0x11c204(0xcd)];},exports[a100_0x1d4ebd(0x92)]=transports,exports[a100_0x1d4ebd(0xb9)]=initialize;logDir&&initialize();
1
+ const a100_0x571078=a100_0x1abb;(function(_0x133d89,_0x67050f){const _0x33080d=a100_0x1abb,_0x37dd39=_0x133d89();while(!![]){try{const _0x45b086=parseInt(_0x33080d(0x1e7))/0x1*(parseInt(_0x33080d(0x1dd))/0x2)+parseInt(_0x33080d(0x1d4))/0x3+parseInt(_0x33080d(0x1de))/0x4+parseInt(_0x33080d(0x1e4))/0x5*(parseInt(_0x33080d(0x1c2))/0x6)+parseInt(_0x33080d(0x1f2))/0x7*(parseInt(_0x33080d(0x1f6))/0x8)+parseInt(_0x33080d(0x1cf))/0x9*(-parseInt(_0x33080d(0x1d3))/0xa)+-parseInt(_0x33080d(0x1e8))/0xb;if(_0x45b086===_0x67050f)break;else _0x37dd39['push'](_0x37dd39['shift']());}catch(_0x1a55e5){_0x37dd39['push'](_0x37dd39['shift']());}}}(a100_0x260d,0x8c46b));const winston=require(a100_0x571078(0x1ce)),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a100_0x571078(0x1c7)),tempLogDir=a100_0x571078(0x1c0),logFormat=winston[a100_0x571078(0x1c9)](_0x19a41=>{const _0x514271=a100_0x571078,_0x50a434={};_0x50a434['UzxlH']=function(_0x1c9f73,_0x22932b){return _0x1c9f73!==_0x22932b;},_0x50a434[_0x514271(0x1b9)]=_0x514271(0x1f3),_0x50a434[_0x514271(0x1ba)]=function(_0x310d3f,_0x519735){return _0x310d3f===_0x519735;},_0x50a434[_0x514271(0x1c1)]=_0x514271(0x1bc);const _0x50004e=_0x50a434;return _0x50004e[_0x514271(0x200)](typeof _0x19a41[_0x514271(0x201)],_0x50004e[_0x514271(0x1b9)])&&(_0x19a41['message']=JSON[_0x514271(0x1c5)](_0x19a41[_0x514271(0x201)])),global[_0x514271(0x1bb)]?.[_0x514271(0x1eb)]?.[_0x514271(0x1f9)]&&_0x50004e[_0x514271(0x1ba)](typeof _0x19a41['message'],_0x50004e[_0x514271(0x1b9)])&&(_0x19a41[_0x514271(0x201)]=_0x19a41[_0x514271(0x201)]['replace'](new RegExp(global[_0x514271(0x1bb)][_0x514271(0x1eb)][_0x514271(0x1f9)],'g'),_0x50004e[_0x514271(0x1c1)])),global['session']?.[_0x514271(0x1eb)]?.[_0x514271(0x1ed)]&&_0x50004e['WYMnu'](typeof _0x19a41[_0x514271(0x201)],_0x50004e[_0x514271(0x1b9)])&&(_0x19a41['message']=_0x19a41[_0x514271(0x201)]['replace'](new RegExp(global[_0x514271(0x1bb)][_0x514271(0x1eb)][_0x514271(0x1ed)],'g'),_0x50004e[_0x514271(0x1c1)])),_0x19a41;}),fetchLogDir=()=>{const _0x1e668d=a100_0x571078;if(process[_0x1e668d(0x1f4)][_0x1e668d(0x1e9)])return process[_0x1e668d(0x1f4)][_0x1e668d(0x1e9)];else!fs[_0x1e668d(0x1d1)](tempLogDir)&&fs[_0x1e668d(0x1fa)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),a100_0x201a7d={};a100_0x201a7d['name']=a100_0x571078(0x1ff);const transports={'loggerConsole':new winston['transports'][(a100_0x571078(0x1dc))](a100_0x201a7d),'loggerFile':new winston[(a100_0x571078(0x1be))]['File']({'filename':path[a100_0x571078(0x1fd)](logDir,'/usage.log')}),'debugLoggerFile':new winston['transports'][(a100_0x571078(0x1f5))]({'filename':path[a100_0x571078(0x1fd)](logDir,a100_0x571078(0x1db)),'level':a100_0x571078(0x1ec)}),'debugCliLoggerFile':new winston[(a100_0x571078(0x1be))][(a100_0x571078(0x1f5))]({'filename':path['join'](logDir,a100_0x571078(0x1fe)),'level':a100_0x571078(0x1ec)}),'buildLinkTransport':new winston['transports']['File']({'filename':path[a100_0x571078(0x1fd)](logDir,a100_0x571078(0x1d6)),'level':a100_0x571078(0x1ec)})},automationTransports={};function a100_0x1abb(_0x541d1f,_0x63bd6){const _0x260d69=a100_0x260d();return a100_0x1abb=function(_0x1abbba,_0x16351f){_0x1abbba=_0x1abbba-0x1b9;let _0x6b6755=_0x260d69[_0x1abbba];return _0x6b6755;},a100_0x1abb(_0x541d1f,_0x63bd6);}process[a100_0x571078(0x1f4)][a100_0x571078(0x1f1)]==='true'&&(automationTransports['automationLoggerFile']=new winston[(a100_0x571078(0x1be))]['File']({'filename':path[a100_0x571078(0x1fd)](logDir,a100_0x571078(0x1cb)),'level':a100_0x571078(0x1ec)}));transports[a100_0x571078(0x1fb)]['on'](a100_0x571078(0x1e5),_0x1e18e9=>{const _0x456511=a100_0x571078,_0x2710a6={};_0x2710a6[_0x456511(0x1f8)]=function(_0x5603e1,_0x170637){return _0x5603e1===_0x170637;},_0x2710a6[_0x456511(0x1d0)]=_0x456511(0x1e3),_0x2710a6[_0x456511(0x1cd)]=_0x456511(0x1c3);const _0x2b1040=_0x2710a6;if(_0x2b1040[_0x456511(0x1f8)](_0x1e18e9['code'],_0x2b1040[_0x456511(0x1d0)])){console[_0x456511(0x1c0)](_0x2b1040[_0x456511(0x1cd)],_0x1e18e9['message']);return;}throw _0x1e18e9;});const a100_0x377521={};function a100_0x260d(){const _0x3b161d=['YBWeK','winston','153UHnjni','yPhQx','existsSync','initialize','278170DPFgnm','2102685mAGxVw','\x20-\x20','/usage.log','debug','split','fileLogger','info','/usage-debug.log','Console','30GRYNmX','2401148vLLOnC','buildLinkTransport','logDir','warn','level','EPIPE','494345vtCJXY','error','colorize','48516sxdWxy','22326392EbFYlu','BROWSERSTACK_INTERNAL_LOG_DIR','combine','config','silly','accessKey','debugLoggerFile','printf','createLogger','BROWSERSTACK_AUTOMATION_LOGS','14rjADVB','string','env','File','1029032PxTPUo','buildLogger','TKnNi','userName','mkdirSync','loggerConsole','timestamp','join','/sdk-cli-debug.log','console.info','UzxlH','message','ozmBP','WYMnu','session','[REDACTED]','YYYY-MM-DD\x20HH:mm:ss','transports','AJySg','log','xTivc','48sjfCRM','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','qqThk','stringify','winstonLogger','../bin/utils/constants','true','format','loggerFile','automation.log','add'];a100_0x260d=function(){return _0x3b161d;};return a100_0x260d();}a100_0x377521['format']=a100_0x571078(0x1bd);const a100_0x5c53df={};a100_0x5c53df[a100_0x571078(0x1e2)]=!![];const winstonLoggerParams={'format':winston['format'][a100_0x571078(0x1ea)](winston['format'][a100_0x571078(0x1fc)](a100_0x377521),winston[a100_0x571078(0x1c9)][a100_0x571078(0x1e6)](a100_0x5c53df),winston[a100_0x571078(0x1c9)][a100_0x571078(0x1ef)](_0x1d6752=>_0x1d6752[a100_0x571078(0x1fc)]+a100_0x571078(0x1d5)+_0x1d6752[a100_0x571078(0x1e2)]+':\x20'+_0x1d6752[a100_0x571078(0x201)])),'transports':[transports[a100_0x571078(0x1fb)]]},a100_0x372217={};a100_0x372217[a100_0x571078(0x1c9)]=a100_0x571078(0x1bd);const a100_0x47bfb9={};a100_0x47bfb9[a100_0x571078(0x1e2)]=!![];const winstonFileLoggerParams={'format':winston['format']['combine'](winston[a100_0x571078(0x1c9)][a100_0x571078(0x1fc)](a100_0x372217),winston[a100_0x571078(0x1c9)][a100_0x571078(0x1e6)](a100_0x47bfb9),winston['format'][a100_0x571078(0x1ef)](_0x239064=>_0x239064[a100_0x571078(0x1e2)]+':\x20'+_0x239064[a100_0x571078(0x201)])),'transports':[]},a100_0x486a90={};a100_0x486a90[a100_0x571078(0x1c9)]=a100_0x571078(0x1bd);const a100_0x171cdd={};a100_0x171cdd[a100_0x571078(0x1e2)]=!![];const a100_0x137212={};a100_0x137212[a100_0x571078(0x1e2)]=a100_0x571078(0x1ec);const BuildLoggerParams={'format':winston[a100_0x571078(0x1c9)][a100_0x571078(0x1ea)](winston[a100_0x571078(0x1c9)][a100_0x571078(0x1fc)](a100_0x486a90),winston[a100_0x571078(0x1c9)][a100_0x571078(0x1e6)](a100_0x171cdd),winston['format'][a100_0x571078(0x1ef)](_0x41384d=>_0x41384d[a100_0x571078(0x1fc)]+'\x20-\x20'+_0x41384d[a100_0x571078(0x1e2)]+':\x20'+_0x41384d['message'])),'transports':[transports[a100_0x571078(0x1df)],new winston[(a100_0x571078(0x1be))]['Console'](a100_0x137212)]},a100_0x38b45d={};a100_0x38b45d['http']=()=>{},a100_0x38b45d[a100_0x571078(0x1da)]=()=>{},a100_0x38b45d[a100_0x571078(0x1e1)]=()=>{},a100_0x38b45d['error']=()=>{},a100_0x38b45d[a100_0x571078(0x1d7)]=()=>{},a100_0x38b45d['silly']=()=>{},exports['automationLogger']=process[a100_0x571078(0x1f4)][a100_0x571078(0x1f1)]===a100_0x571078(0x1c8)?winston[a100_0x571078(0x1f0)]({'format':winston[a100_0x571078(0x1c9)][a100_0x571078(0x1ea)](winston[a100_0x571078(0x1c9)]['uncolorize'](),winston[a100_0x571078(0x1c9)][a100_0x571078(0x1fc)](),logFormat(),winston['format']['printf'](_0x164e51=>_0x164e51[a100_0x571078(0x1e2)]+':\x20'+_0x164e51[a100_0x571078(0x201)])),'transports':[automationTransports['automationLoggerFile']]}):a100_0x38b45d;const initialize=()=>{const _0x55456d=a100_0x571078,_0x12cf45={};_0x12cf45['AJySg']='0|5|2|3|4|1',_0x12cf45[_0x55456d(0x1c4)]=_0x55456d(0x1ec);const _0x2096e8=_0x12cf45,_0x1744e5=_0x2096e8[_0x55456d(0x1bf)][_0x55456d(0x1d8)]('|');let _0x1d3104=0x0;while(!![]){switch(_0x1744e5[_0x1d3104++]){case'0':transports[_0x55456d(0x1ca)]=new winston[(_0x55456d(0x1be))]['File']({'filename':path[_0x55456d(0x1fd)](exports[_0x55456d(0x1e0)],LOG_FILE_NAME)});continue;case'1':exports[_0x55456d(0x1d9)][_0x55456d(0x1cc)](transports['debugLoggerFile']);continue;case'2':exports[_0x55456d(0x1c6)]['add'](transports[_0x55456d(0x1ca)]);continue;case'3':exports['winstonLogger'][_0x55456d(0x1cc)](transports['debugLoggerFile']);continue;case'4':exports[_0x55456d(0x1d9)]['add'](transports[_0x55456d(0x1ca)]);continue;case'5':transports[_0x55456d(0x1ee)]=new winston['transports'][(_0x55456d(0x1f5))]({'filename':path[_0x55456d(0x1fd)](exports[_0x55456d(0x1e0)],DEBUG_LOG_FILE_NAME),'level':_0x2096e8[_0x55456d(0x1c4)]});continue;}break;}};exports['winstonLogger']=new winston[(a100_0x571078(0x1f0))](winstonLoggerParams),exports[a100_0x571078(0x1d9)]=new winston[(a100_0x571078(0x1f0))](winstonFileLoggerParams),exports[a100_0x571078(0x1f7)]=new winston[(a100_0x571078(0x1f0))](BuildLoggerParams),exports[a100_0x571078(0x1e0)]=logDir,exports['getLogDir']=()=>{const _0xaab518=a100_0x571078;return exports[_0xaab518(0x1e0)];},exports[a100_0x571078(0x1be)]=transports,exports[a100_0x571078(0x1d2)]=initialize;logDir&&initialize();
@@ -1 +1 @@
1
- function a101_0x34cc(_0x965a94,_0x8ebe59){const _0x33d323=a101_0x33d3();return a101_0x34cc=function(_0x34ccd9,_0x350726){_0x34ccd9=_0x34ccd9-0x1ae;let _0x4b7dc7=_0x33d323[_0x34ccd9];return _0x4b7dc7;},a101_0x34cc(_0x965a94,_0x8ebe59);}const a101_0x196541=a101_0x34cc;(function(_0x763436,_0x59f5e8){const _0x22e565=a101_0x34cc,_0x26efc8=_0x763436();while(!![]){try{const _0x6c0ea4=-parseInt(_0x22e565(0x1cb))/0x1+parseInt(_0x22e565(0x1c5))/0x2*(-parseInt(_0x22e565(0x1bc))/0x3)+parseInt(_0x22e565(0x1c3))/0x4*(-parseInt(_0x22e565(0x1b9))/0x5)+parseInt(_0x22e565(0x1c1))/0x6*(-parseInt(_0x22e565(0x1b0))/0x7)+-parseInt(_0x22e565(0x1b7))/0x8*(parseInt(_0x22e565(0x1bb))/0x9)+parseInt(_0x22e565(0x1cf))/0xa*(parseInt(_0x22e565(0x1c6))/0xb)+parseInt(_0x22e565(0x1b8))/0xc;if(_0x6c0ea4===_0x59f5e8)break;else _0x26efc8['push'](_0x26efc8['shift']());}catch(_0x138cd1){_0x26efc8['push'](_0x26efc8['shift']());}}}(a101_0x33d3,0xd8852));function a101_0x33d3(){const _0x51e208=['string','25328YfAbzg','22MjqDzu','get','lcnc','XuCnn','qFeiC','499572KawGrg','testMeta','jNyGk','setGlobal','7078690iChRtw','winstonLogger','testMeta-','getGlobal','203jkyPoE','vHDwP','The\x20metadata\x20object\x20is\x20not\x20valid.','BkDir','bEXMf','identifier','testRunUUID','213296dVQWaq','21665400VFBALW','5XxkMWg','./logger','153TYDGbJ','21sudKPl','./helper','aIHcI','exports','getCentralUser','206016kAOwZQ','./globals','1188416JlJYJD'];a101_0x33d3=function(){return _0x51e208;};return a101_0x33d3();}const globals=require(a101_0x196541(0x1c2)),helper=require(a101_0x196541(0x1bd)),logger=require(a101_0x196541(0x1ba))[a101_0x196541(0x1d0)];module[a101_0x196541(0x1bf)]=class TestMetadata{static['set'](_0x41f72a={}){const _0x2573c1=a101_0x196541,_0x30a9b9={};_0x30a9b9[_0x2573c1(0x1cd)]=_0x2573c1(0x1b6),_0x30a9b9[_0x2573c1(0x1c9)]=function(_0x4937f6,_0x27bfc1){return _0x4937f6===_0x27bfc1;},_0x30a9b9['BkDir']=_0x2573c1(0x1c4),_0x30a9b9['aIHcI']=function(_0x1ab136,_0x396dec){return _0x1ab136<=_0x396dec;},_0x30a9b9[_0x2573c1(0x1ca)]=_0x2573c1(0x1cc),_0x30a9b9['bEXMf']=_0x2573c1(0x1b2);const _0x4815ad=_0x30a9b9,_0x1831f3=globals[_0x2573c1(0x1af)](_0x4815ad[_0x2573c1(0x1cd)]),_0x26a2ea=_0x41f72a[_0x2573c1(0x1b5)];helper['getCentralUser']()[_0x2573c1(0x1c8)]&&(_0x4815ad[_0x2573c1(0x1c9)](typeof _0x26a2ea,_0x4815ad[_0x2573c1(0x1b3)])&&_0x4815ad[_0x2573c1(0x1be)](_0x26a2ea['length'],0x28)?_0x1831f3?globals['setGlobal']('testMeta-'+_0x1831f3,_0x41f72a):globals[_0x2573c1(0x1ce)](_0x4815ad[_0x2573c1(0x1ca)],_0x41f72a):logger['warn'](_0x4815ad[_0x2573c1(0x1b4)]));}static[a101_0x196541(0x1c7)](_0x26a7d2){const _0x22ccda=a101_0x196541,_0x38a63d={};_0x38a63d['vHDwP']=_0x22ccda(0x1cc);const _0x42b13d=_0x38a63d;if(helper[_0x22ccda(0x1c0)]()[_0x22ccda(0x1c8)])return globals[_0x22ccda(0x1af)](_0x22ccda(0x1ae)+_0x26a7d2)||globals[_0x22ccda(0x1af)](_0x42b13d[_0x22ccda(0x1b1)])||{};return{};}};
1
+ function a101_0x7b1e(_0x691396,_0x357e22){const _0x11ed0a=a101_0x11ed();return a101_0x7b1e=function(_0x7b1e6e,_0x5d21c1){_0x7b1e6e=_0x7b1e6e-0x127;let _0x57d82b=_0x11ed0a[_0x7b1e6e];return _0x57d82b;},a101_0x7b1e(_0x691396,_0x357e22);}const a101_0x22e883=a101_0x7b1e;function a101_0x11ed(){const _0x1a4515=['./logger','PRiKZ','12112705VPkTLo','./globals','63hdYyKr','NEGZn','256172eAXKSr','102272mDSVyD','exports','9tAhIbH','warn','testMeta-','7UAaUFn','getGlobal','GNqpg','UGppH','winstonLogger','19122qNZKZF','set','1021400Hwyvnh','testMeta','qOTRe','setGlobal','24NZhtXX','get','lcnc','identifier','tNLVI','273525AszNuo','smkrD','testRunUUID','The\x20metadata\x20object\x20is\x20not\x20valid.','1485320idhQRR','length','string'];a101_0x11ed=function(){return _0x1a4515;};return a101_0x11ed();}(function(_0x299f8c,_0x13d958){const _0x2f1fe1=a101_0x7b1e,_0x3d337d=_0x299f8c();while(!![]){try{const _0x24f0fd=-parseInt(_0x2f1fe1(0x13d))/0x1+parseInt(_0x2f1fe1(0x148))/0x2*(-parseInt(_0x2f1fe1(0x13b))/0x3)+parseInt(_0x2f1fe1(0x13e))/0x4+-parseInt(_0x2f1fe1(0x130))/0x5*(parseInt(_0x2f1fe1(0x12b))/0x6)+parseInt(_0x2f1fe1(0x143))/0x7*(-parseInt(_0x2f1fe1(0x134))/0x8)+-parseInt(_0x2f1fe1(0x140))/0x9*(parseInt(_0x2f1fe1(0x127))/0xa)+parseInt(_0x2f1fe1(0x139))/0xb;if(_0x24f0fd===_0x13d958)break;else _0x3d337d['push'](_0x3d337d['shift']());}catch(_0xd994f){_0x3d337d['push'](_0x3d337d['shift']());}}}(a101_0x11ed,0x27d49));const globals=require(a101_0x22e883(0x13a)),helper=require('./helper'),logger=require(a101_0x22e883(0x137))[a101_0x22e883(0x147)];module[a101_0x22e883(0x13f)]=class TestMetadata{static[a101_0x22e883(0x149)](_0x1c7d48={}){const _0x4f991d=a101_0x22e883,_0x28158c={};_0x28158c[_0x4f991d(0x145)]=_0x4f991d(0x132),_0x28158c[_0x4f991d(0x146)]=function(_0x7299bc,_0x5566a5){return _0x7299bc===_0x5566a5;},_0x28158c[_0x4f991d(0x12f)]=_0x4f991d(0x136),_0x28158c[_0x4f991d(0x13c)]=function(_0x35c222,_0x56b860){return _0x35c222<=_0x56b860;},_0x28158c[_0x4f991d(0x129)]=_0x4f991d(0x128),_0x28158c[_0x4f991d(0x138)]=_0x4f991d(0x133);const _0x2e0175=_0x28158c,_0x159ace=globals[_0x4f991d(0x144)](_0x2e0175[_0x4f991d(0x145)]),_0x54124a=_0x1c7d48[_0x4f991d(0x12e)];helper['getCentralUser']()[_0x4f991d(0x12d)]&&(_0x2e0175[_0x4f991d(0x146)](typeof _0x54124a,_0x2e0175[_0x4f991d(0x12f)])&&_0x2e0175[_0x4f991d(0x13c)](_0x54124a[_0x4f991d(0x135)],0x28)?_0x159ace?globals[_0x4f991d(0x12a)](_0x4f991d(0x142)+_0x159ace,_0x1c7d48):globals[_0x4f991d(0x12a)](_0x2e0175[_0x4f991d(0x129)],_0x1c7d48):logger[_0x4f991d(0x141)](_0x2e0175[_0x4f991d(0x138)]));}static[a101_0x22e883(0x12c)](_0x3ff716){const _0x461c6c=a101_0x22e883,_0x3f940a={};_0x3f940a[_0x461c6c(0x131)]=_0x461c6c(0x128);const _0x5c333c=_0x3f940a;if(helper['getCentralUser']()[_0x461c6c(0x12d)])return globals[_0x461c6c(0x144)](_0x461c6c(0x142)+_0x3ff716)||globals[_0x461c6c(0x144)](_0x5c333c['smkrD'])||{};return{};}};
@@ -1 +1 @@
1
- const a102_0x4e52fa=a102_0x49bd;(function(_0x398d01,_0x38ffcd){const _0x24cb7e=a102_0x49bd,_0x24d24d=_0x398d01();while(!![]){try{const _0x3e010f=parseInt(_0x24cb7e(0x1d0))/0x1*(-parseInt(_0x24cb7e(0x1dd))/0x2)+-parseInt(_0x24cb7e(0x21b))/0x3+parseInt(_0x24cb7e(0x1fd))/0x4*(parseInt(_0x24cb7e(0x200))/0x5)+-parseInt(_0x24cb7e(0x20d))/0x6*(parseInt(_0x24cb7e(0x1ff))/0x7)+parseInt(_0x24cb7e(0x1e5))/0x8+-parseInt(_0x24cb7e(0x1e6))/0x9+parseInt(_0x24cb7e(0x1ce))/0xa;if(_0x3e010f===_0x38ffcd)break;else _0x24d24d['push'](_0x24d24d['shift']());}catch(_0x45f75d){_0x24d24d['push'](_0x24d24d['shift']());}}}(a102_0x5058,0xb8b3d));const {aiSdkWrapper}=require(a102_0x4e52fa(0x1fe)),{commandRepository}=require(a102_0x4e52fa(0x1aa)),PerformanceTester=require(a102_0x4e52fa(0x1f3)),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require('./logger'),helper=require(a102_0x4e52fa(0x1ee)),constants=require(a102_0x4e52fa(0x225)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a102_0x4e52fa(0x226)),util=require(a102_0x4e52fa(0x209));exports['overrideExecute']=(_0x403dcf,_0x1b4d28)=>{const _0x2cee9e=a102_0x4e52fa,_0x436fb0={'gsSJc':_0x2cee9e(0x1a0),'scrwn':_0x2cee9e(0x1c3),'jGXMy':function(_0x9e0c29){return _0x9e0c29();},'JjiIF':_0x2cee9e(0x1c9),'kkLLZ':function(_0x34e9a7,_0x16c3f9){return _0x34e9a7===_0x16c3f9;},'BGeuM':'findElement','uaKcn':'aiHeal_isHealingEnabled','SmtVt':_0x2cee9e(0x1e0),'khpfv':_0x2cee9e(0x1a6),'WFPBK':_0x2cee9e(0x1f0),'kCDXq':'JavascriptError','KziQB':function(_0x1ee745,_0x510c05){return _0x1ee745===_0x510c05;},'NmgoI':_0x2cee9e(0x222),'GdXBi':function(_0x2176bb,_0x3d23a9){return _0x2176bb+_0x3d23a9;},'UcxCs':_0x2cee9e(0x1db),'YsHtM':_0x2cee9e(0x1a5),'MAgDu':function(_0x22bfec,_0x6103aa){return _0x22bfec+_0x6103aa;},'buiff':function(_0x469bbf,_0x2de53d){return _0x469bbf+_0x2de53d;},'eyfHA':_0x2cee9e(0x212),'xLKZv':_0x2cee9e(0x1d6),'Xftum':function(_0x28044b,_0x2f4e2a){return _0x28044b&&_0x2f4e2a;},'ivdoK':function(_0x47147c,_0x2ed5bd){return _0x47147c===_0x2ed5bd;},'EvVGx':function(_0x56901c,_0x2b76de){return _0x56901c+_0x2b76de;},'ailmP':_0x2cee9e(0x1da),'aXHkH':_0x2cee9e(0x1fa),'kJzzI':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','hlMdd':_0x2cee9e(0x214),'ZycoX':_0x2cee9e(0x1ab),'DuqtX':_0x2cee9e(0x1d4),'cTVew':_0x2cee9e(0x1d9),'xPVri':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','XXkHC':_0x2cee9e(0x207),'OLbiq':_0x2cee9e(0x1c6),'CPFZB':function(_0x594063,_0x30e07e){return _0x594063===_0x30e07e;},'gEhfx':'string','ydThq':'capability','FKwTl':'browserstack.local','HhRud':_0x2cee9e(0x1c8),'ocRdk':_0x2cee9e(0x1d5)},_0x145105=_0x403dcf[_0x2cee9e(0x1ea)]||(helper[_0x2cee9e(0x1fc)](_0x1b4d28,[_0x436fb0[_0x2cee9e(0x1eb)],_0x436fb0[_0x2cee9e(0x1ef)]])||helper[_0x2cee9e(0x1fc)](_0x1b4d28,[_0x436fb0['ydThq'],_0x436fb0[_0x2cee9e(0x20e)],_0x436fb0[_0x2cee9e(0x1d7)]]));if(!globals[_0x2cee9e(0x1b7)](_0x436fb0['gsSJc'])&&!globals['getGlobal'](_0x436fb0['uaKcn'])&&_0x145105)return;_0x403dcf[_0x2cee9e(0x1ea)]=!![],_0x403dcf[_0x2cee9e(0x1a3)]=_0x403dcf[_0x2cee9e(0x1b0)],_0x403dcf['execute']=async _0x3c3ab0=>{const _0xc1fff6=_0x2cee9e,_0x41cc21={'nlEUr':_0x436fb0[_0xc1fff6(0x208)],'qdICL':_0x436fb0[_0xc1fff6(0x1e8)],'SOwXR':function(_0x2af478,_0x5ec4cf){return _0x436fb0['kkLLZ'](_0x2af478,_0x5ec4cf);},'VEpWv':_0x436fb0[_0xc1fff6(0x217)],'zxNMv':_0x436fb0[_0xc1fff6(0x1d2)],'aacVx':_0x436fb0['SmtVt'],'ZcPtP':function(_0x3ba6e1){const _0x2b1e9a=_0xc1fff6;return _0x436fb0[_0x2b1e9a(0x221)](_0x3ba6e1);},'ZavMF':_0x436fb0[_0xc1fff6(0x1cc)],'YoAkX':_0x436fb0[_0xc1fff6(0x1c0)],'Kqqmq':function(_0x3c2092,_0x48802f){return _0x436fb0['kkLLZ'](_0x3c2092,_0x48802f);},'DwuKM':_0x436fb0['kCDXq'],'sdPrc':function(_0x7dd210,_0x2e5194){const _0x392cfc=_0xc1fff6;return _0x436fb0[_0x392cfc(0x20b)](_0x7dd210,_0x2e5194);},'aSlVg':function(_0x13ecf6,_0x102a5f){const _0x463a2e=_0xc1fff6;return _0x436fb0[_0x463a2e(0x1ae)](_0x13ecf6,_0x102a5f);},'lLhGm':_0x436fb0[_0xc1fff6(0x1ec)],'IEuVD':function(_0x76afb7,_0xd18de7){return _0x436fb0['GdXBi'](_0x76afb7,_0xd18de7);},'boYQe':_0x436fb0[_0xc1fff6(0x1b3)],'tMXOt':_0x436fb0[_0xc1fff6(0x1de)],'jFXaJ':function(_0x33ea74,_0x46cb8e){const _0x10d80c=_0xc1fff6;return _0x436fb0[_0x10d80c(0x213)](_0x33ea74,_0x46cb8e);},'dVJTi':function(_0x2cb459,_0x2d8f22){const _0x2cdad9=_0xc1fff6;return _0x436fb0[_0x2cdad9(0x1b9)](_0x2cb459,_0x2d8f22);},'TXekM':function(_0xeba52,_0x5de7f6){const _0x28a7e6=_0xc1fff6;return _0x436fb0[_0x28a7e6(0x1a1)](_0xeba52,_0x5de7f6);},'UojqR':_0x436fb0[_0xc1fff6(0x1c4)],'MSOIi':_0x436fb0[_0xc1fff6(0x201)],'auMYR':function(_0x1d492e){const _0x24bf46=_0xc1fff6;return _0x436fb0[_0x24bf46(0x221)](_0x1d492e);},'Qexqi':function(_0x438ba2,_0x1220e4){const _0x3c32b9=_0xc1fff6;return _0x436fb0[_0x3c32b9(0x1a2)](_0x438ba2,_0x1220e4);},'BLGoT':function(_0x282f8c,_0xfbf502){return _0x436fb0['ivdoK'](_0x282f8c,_0xfbf502);},'zIGhZ':function(_0x5b6923,_0xc49ba5){return _0x436fb0['EvVGx'](_0x5b6923,_0xc49ba5);},'AQtVN':_0x436fb0[_0xc1fff6(0x1af)],'bAdiA':_0x436fb0['aXHkH'],'XfrhY':_0x436fb0[_0xc1fff6(0x1b6)],'pEjGn':function(_0xbf356e,_0x5606d4){const _0x53b2d8=_0xc1fff6;return _0x436fb0[_0x53b2d8(0x1b9)](_0xbf356e,_0x5606d4);},'BgwkN':function(_0x1879ec,_0x29b497){const _0x3bb956=_0xc1fff6;return _0x436fb0[_0x3bb956(0x1b9)](_0x1879ec,_0x29b497);},'UTkrW':_0x436fb0[_0xc1fff6(0x1cd)],'vlGZE':function(_0x114cf4,_0x324ee5){const _0x4d9562=_0xc1fff6;return _0x436fb0[_0x4d9562(0x1d1)](_0x114cf4,_0x324ee5);},'YIaGh':_0x436fb0[_0xc1fff6(0x1c5)],'AErBG':_0x436fb0[_0xc1fff6(0x1b8)],'ogcBV':_0x436fb0[_0xc1fff6(0x1f1)],'UScpX':_0x436fb0[_0xc1fff6(0x1a4)]};try{const _0x178ddf={};_0x178ddf['command']=_0x3c3ab0[_0xc1fff6(0x19d)],await PerformanceTester[_0xc1fff6(0x1ed)](PerformanceDriverEvents['PRE_EXECUTE'],async()=>{const _0x267ce9=_0xc1fff6;if(!commandRepository[_0x267ce9(0x1e4)]()&&globals[_0x267ce9(0x1b7)](_0x436fb0['gsSJc'])){const _0x3618d7=PerformanceTester[_0x267ce9(0x1ed)](_0x436fb0[_0x267ce9(0x1ca)],async()=>{const _0x317b70=_0x267ce9;try{commandRepository[_0x317b70(0x21c)](!![]),await aiSdkWrapper[_0x317b70(0x1b2)]((await _0x403dcf['getSession']())[_0x317b70(0x20c)]());const _0x2a2775=globals[_0x317b70(0x1b7)](_0x41cc21[_0x317b70(0x1e9)]);_0x2a2775&&commandRepository['setAiSessionTimeStamp']((await _0x403dcf[_0x317b70(0x1c7)]())[_0x317b70(0x20c)]());}catch(_0x467104){logger['error']('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x467104);}});await _0x436fb0['jGXMy'](_0x3618d7);}},_0x178ddf)();const _0x32edc5=await _0x403dcf[_0xc1fff6(0x1a3)](_0x3c3ab0);try{if(_0x436fb0[_0xc1fff6(0x1d1)](_0x3c3ab0['name_'],_0x436fb0[_0xc1fff6(0x1e1)])||_0x436fb0[_0xc1fff6(0x20b)](_0x3c3ab0[_0xc1fff6(0x19d)],_0x436fb0[_0xc1fff6(0x1f8)])){const _0x3d7cfd=_0x3c3ab0[_0xc1fff6(0x1d4)]&&_0x3c3ab0['parameters_']['script'],_0x2b0476=_0x3c3ab0[_0xc1fff6(0x1d4)]&&_0x3c3ab0['parameters_']['args'],_0x34fc86=_0x2b0476&&util[_0xc1fff6(0x1f7)]('%j',_0x2b0476);if(_0x3d7cfd&&_0x436fb0[_0xc1fff6(0x1bd)](typeof _0x3d7cfd,_0x436fb0['gEhfx'])){const _0x368595=constants[_0xc1fff6(0x1a9)][_0xc1fff6(0x20f)](_0x3d6a21=>_0x3d7cfd['includes'](_0x3d6a21)||_0x34fc86&&_0x34fc86[_0xc1fff6(0x21a)](_0x3d6a21));if(_0x368595){const _0x301e15={};_0x301e15[_0xc1fff6(0x1f2)]=_0x368595,_0x301e15['parameters']=_0x2b0476;const _0xf8b473={};_0xf8b473[_0xc1fff6(0x1b5)]=_0x32edc5;const _0x4f1c00={};_0x4f1c00['request']=_0x301e15,_0x4f1c00[_0xc1fff6(0x220)]=_0xf8b473,automationLogger['silly']('['+new Date()[_0xc1fff6(0x1bf)]()+_0xc1fff6(0x1f6)+util[_0xc1fff6(0x1f7)]('%j',_0x4f1c00));}}}}catch(_0x208b86){logger[_0xc1fff6(0x216)](_0xc1fff6(0x1d3)+_0x208b86[_0xc1fff6(0x1f9)]);}return await PerformanceTester['measureWrapper'](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x43a4a8=_0xc1fff6;if(!helper[_0x43a4a8(0x223)]()&&(commandRepository['isSelfHealEnabled']()||globals[_0x43a4a8(0x1b7)](_0x41cc21[_0x43a4a8(0x1ac)]))&&_0x41cc21['SOwXR'](_0x3c3ab0[_0x43a4a8(0x19d)],_0x41cc21[_0x43a4a8(0x1b4)])&&!_0x3c3ab0[_0x43a4a8(0x1a7)]&&globals['getGlobal'](_0x41cc21[_0x43a4a8(0x1e9)])&&globals[_0x43a4a8(0x1b7)](_0x41cc21['zxNMv'])){const _0x6b8205=new Date(),_0x17561b=PerformanceTester[_0x43a4a8(0x1ed)](_0x41cc21[_0x43a4a8(0x211)],async()=>{const _0x3892df=_0x43a4a8;return await aiSdkWrapper[_0x3892df(0x19e)](_0x1b4d28,_0x403dcf,_0x3c3ab0);});await _0x41cc21[_0x43a4a8(0x21f)](_0x17561b);}},{'command':_0x3c3ab0[_0xc1fff6(0x19d)]})(),_0x32edc5;}catch(_0x291f56){await PerformanceTester[_0xc1fff6(0x1ed)](PerformanceDriverEvents[_0xc1fff6(0x1dc)],async()=>{const _0x40cc22=_0xc1fff6;logger[_0x40cc22(0x206)](_0x41cc21[_0x40cc22(0x1d8)]);try{if(!helper['isBrowserstackInfra']()&&(_0x41cc21['SOwXR'](_0x291f56['name'],_0x41cc21[_0x40cc22(0x19f)])||_0x41cc21[_0x40cc22(0x1e7)](_0x291f56[_0x40cc22(0x1bc)],_0x41cc21['DwuKM']))&&_0x41cc21[_0x40cc22(0x202)](_0x3c3ab0['name_'],_0x41cc21[_0x40cc22(0x1b4)])&&commandRepository[_0x40cc22(0x218)]()&&globals[_0x40cc22(0x1b7)](_0x41cc21[_0x40cc22(0x1e9)])&&globals['getGlobal'](_0x41cc21['zxNMv'])){_0x41cc21[_0x40cc22(0x1cb)](_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x21d)],_0x41cc21[_0x40cc22(0x1b1)])?logger['info'](_0x41cc21['IEuVD'](_0x41cc21[_0x40cc22(0x1df)](_0x41cc21[_0x40cc22(0x205)],_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x210)]),_0x41cc21['tMXOt'])):logger['info'](_0x41cc21['jFXaJ'](_0x41cc21[_0x40cc22(0x20a)](_0x41cc21[_0x40cc22(0x1a8)](_0x41cc21[_0x40cc22(0x1f5)](_0x41cc21[_0x40cc22(0x215)],_0x3c3ab0[_0x40cc22(0x1d4)]['using']),':\x20'),_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x210)]),_0x41cc21[_0x40cc22(0x1cf)]));const _0x5213ad=PerformanceTester[_0x40cc22(0x1ed)](_0x41cc21['MSOIi'],async()=>{const _0x5154a6=_0x40cc22;return await aiSdkWrapper[_0x5154a6(0x1c1)](_0x1b4d28,_0x403dcf,_0x3c3ab0);}),_0x5a01c9=new Date(),{locatorType:_0x297adf,locatorValue:_0x5b1508,commandHealed:_0x549707}=await _0x41cc21[_0x40cc22(0x21e)](_0x5213ad);if(_0x41cc21['Qexqi'](_0x297adf,_0x5b1508)){_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x21d)]=_0x297adf,_0x3c3ab0['parameters_'][_0x40cc22(0x210)]=_0x5b1508,_0x3c3ab0[_0x40cc22(0x1a7)]=!![];const _0x5cecf8=_0x403dcf[_0x40cc22(0x1b0)](_0x3c3ab0);return _0x41cc21[_0x40cc22(0x204)](_0x297adf,_0x41cc21[_0x40cc22(0x1b1)])?logger[_0x40cc22(0x1f4)](_0x41cc21[_0x40cc22(0x203)](_0x41cc21[_0x40cc22(0x1e3)],_0x5b1508)):logger['info'](_0x41cc21['dVJTi'](_0x41cc21[_0x40cc22(0x1a8)](_0x41cc21[_0x40cc22(0x1df)](_0x41cc21['bAdiA'],_0x297adf),':\x20'),_0x5b1508)),_0x5cecf8;}else!_0x549707&&(_0x41cc21[_0x40cc22(0x202)](_0x297adf,_0x41cc21['lLhGm'])?logger['info'](_0x41cc21['TXekM'](_0x41cc21[_0x40cc22(0x1ad)],_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x210)])):logger[_0x40cc22(0x1f4)](_0x41cc21['pEjGn'](_0x41cc21['jFXaJ'](_0x41cc21['BgwkN'](_0x41cc21[_0x40cc22(0x1be)],_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x21d)]),':\x20'),_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x210)])));}!_0x145105&&_0x41cc21[_0x40cc22(0x224)](_0x3c3ab0[_0x40cc22(0x19d)],_0x41cc21[_0x40cc22(0x1bb)])&&helper['nestedKeyValue'](_0x3c3ab0,[_0x41cc21[_0x40cc22(0x1e2)],_0x41cc21[_0x40cc22(0x219)]])&&!!constants['NUDGE_LOCAL_ERRORS'][_0x40cc22(0x20f)](_0x2d560d=>{const _0x36079f=_0x40cc22;return _0x291f56[_0x36079f(0x1fb)]()[_0x36079f(0x21a)](_0x2d560d);})&&helper[_0x40cc22(0x1c2)](_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x1d9)],!![]);}catch(_0x29c678){logger['debug'](_0x41cc21[_0x40cc22(0x1ba)],_0x29c678);}},{'success':![],'failure':_0x291f56})();throw _0x291f56;}};};function a102_0x49bd(_0x46a2e4,_0x500933){const _0x5058e4=a102_0x5058();return a102_0x49bd=function(_0x49bd83,_0x225830){_0x49bd83=_0x49bd83-0x19d;let _0x1a8f35=_0x5058e4[_0x49bd83];return _0x1a8f35;},a102_0x49bd(_0x46a2e4,_0x500933);}function a102_0x5058(){const _0x427406=['message','Successfully\x20healed\x20command\x20using\x20new\x20','toString','nestedKeyValue','8EwHuYn','./ai-sdk/aiSdkWrapper','7VvQujA','1350255RlirnX','xLKZv','sdPrc','zIGhZ','BLGoT','boYQe','debug','executeAsyncScript','gsSJc','util','dVJTi','KziQB','getId','8290488dcihjP','HhRud','find','value','aacVx','findElement\x20command\x20failed\x20with\x20','GdXBi','Healing\x20failed\x20for\x20command\x20using\x20','UojqR','silly','BGeuM','isSelfHealEnabled','ogcBV','includes','3692211rlxEQu','setTcgTokenStatus','using','auMYR','ZcPtP','response','jGXMy','css\x20selector','isBrowserstackInfra','vlGZE','../bin/utils/constants','./performance/constants','name_','handleSuccess','YoAkX','aiHeal_isAuthenticated','buiff','Xftum','initExecute','xPVri',';\x20Trying\x20to\x20heal','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','skipHealingSuccess','jFXaJ','AUTOMATION_LOG_COMMANDS','./ai-sdk/autoHealHelper','get','qdICL','XfrhY','kkLLZ','ailmP','execute','lLhGm','setTcgToken','UcxCs','VEpWv','body','kJzzI','getGlobal','DuqtX','MAgDu','UScpX','YIaGh','name','CPFZB','UTkrW','toISOString','WFPBK','handleFailure','getNudgeLocalNotSetError','aiHeal:setToken','eyfHA','ZycoX','executeScript','getSession','bstack:options','aiSdk_defaultLogDataEnabled','scrwn','aSlVg','khpfv','hlMdd','40503960QCxiVq','tMXOt','16KwyYrH','ivdoK','uaKcn','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','parameters_','local','aiHeal:findElementFailure','ocRdk','ZavMF','url','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','findElement\x20command\x20failed\x20with\x20cssPath:\x20','POST_EXECUTE','182656gukTgY','YsHtM','IEuVD','aiHeal:findElementSuccess','XXkHC','AErBG','AQtVN','getTcgTokenStatus','7613368ZIerLs','6407055HnHtXI','Kqqmq','JjiIF','nlEUr','patchExecute','ydThq','NmgoI','measureWrapper','./helper','FKwTl','NoSuchElementError','cTVew','command','./performance/performance-tester','info','TXekM','][\x20SDK-AUTOMATION\x20]\x20','format','OLbiq'];a102_0x5058=function(){return _0x427406;};return a102_0x5058();}
1
+ const a102_0x3091a4=a102_0x320b;(function(_0x47e942,_0xb0a514){const _0x20bffb=a102_0x320b,_0x3d8859=_0x47e942();while(!![]){try{const _0x1fc2c0=-parseInt(_0x20bffb(0x186))/0x1*(parseInt(_0x20bffb(0x123))/0x2)+-parseInt(_0x20bffb(0x168))/0x3+-parseInt(_0x20bffb(0x129))/0x4+parseInt(_0x20bffb(0x14e))/0x5*(-parseInt(_0x20bffb(0x157))/0x6)+-parseInt(_0x20bffb(0x195))/0x7+-parseInt(_0x20bffb(0x193))/0x8*(-parseInt(_0x20bffb(0x18b))/0x9)+parseInt(_0x20bffb(0x155))/0xa;if(_0x1fc2c0===_0xb0a514)break;else _0x3d8859['push'](_0x3d8859['shift']());}catch(_0x4783bd){_0x3d8859['push'](_0x3d8859['shift']());}}}(a102_0xcce6,0xa1191));function a102_0x320b(_0x598500,_0x3b3385){const _0xcce68=a102_0xcce6();return a102_0x320b=function(_0x320b6d,_0x270277){_0x320b6d=_0x320b6d-0x122;let _0x1288f1=_0xcce68[_0x320b6d];return _0x1288f1;},a102_0x320b(_0x598500,_0x3b3385);}const {aiSdkWrapper}=require(a102_0x3091a4(0x198)),{commandRepository}=require(a102_0x3091a4(0x15d)),PerformanceTester=require(a102_0x3091a4(0x14c)),globals=require(a102_0x3091a4(0x191)),{winstonLogger:logger,automationLogger}=require(a102_0x3091a4(0x161)),helper=require(a102_0x3091a4(0x13c)),constants=require(a102_0x3091a4(0x138)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a102_0x3091a4(0x131)),util=require(a102_0x3091a4(0x143));exports[a102_0x3091a4(0x127)]=(_0x4c7fa7,_0x5d7c61)=>{const _0x4abf4a=a102_0x3091a4,_0x218eb3={'CdQoy':_0x4abf4a(0x13a),'WCwGZ':_0x4abf4a(0x15e),'JPSZD':function(_0x330f46){return _0x330f46();},'hWMwO':_0x4abf4a(0x192),'yoksd':function(_0xfc4726,_0x3019e5){return _0xfc4726===_0x3019e5;},'joKFv':_0x4abf4a(0x18a),'byLzm':_0x4abf4a(0x124),'wucfe':_0x4abf4a(0x18c),'HKwHd':_0x4abf4a(0x13e),'fVijk':function(_0xd3b572,_0x266d75){return _0xd3b572===_0x266d75;},'vhieK':_0x4abf4a(0x15f),'UnTmA':function(_0x482ff6,_0x6fef8){return _0x482ff6===_0x6fef8;},'zrNHD':_0x4abf4a(0x185),'NwsGm':function(_0x2e9571,_0x53f3ae){return _0x2e9571===_0x53f3ae;},'IZSrP':_0x4abf4a(0x128),'PjYOy':function(_0x4ce782,_0x5ad11f){return _0x4ce782+_0x5ad11f;},'iCQfQ':function(_0xf226a4,_0x74e50e){return _0xf226a4+_0x74e50e;},'DwXYW':_0x4abf4a(0x190),'EVfnN':';\x20Trying\x20to\x20heal','TuCZT':function(_0x52ba84,_0x28c55c){return _0x52ba84+_0x28c55c;},'cqEqL':function(_0x474505,_0x4235d7){return _0x474505+_0x4235d7;},'obUcd':'findElement\x20command\x20failed\x20with\x20','KHswQ':_0x4abf4a(0x19a),'inBys':function(_0x51e56f,_0x21b8c4){return _0x51e56f&&_0x21b8c4;},'RXvVz':function(_0x5bc0fd,_0x2aacf9){return _0x5bc0fd===_0x2aacf9;},'tRTHi':_0x4abf4a(0x175),'abwkQ':function(_0xcd588a,_0x3b08e5){return _0xcd588a+_0x3b08e5;},'hPAwq':function(_0x44b881,_0x59454c){return _0x44b881+_0x59454c;},'ePUdJ':function(_0x2521cd,_0xc13597){return _0x2521cd+_0xc13597;},'UVIJW':'Successfully\x20healed\x20command\x20using\x20new\x20','yxzKn':function(_0x18de11,_0x92e264){return _0x18de11===_0x92e264;},'GDTmF':function(_0x539165,_0x817617){return _0x539165+_0x817617;},'gaNwq':_0x4abf4a(0x18d),'ESxEY':function(_0x50aecf,_0x1d3f5d){return _0x50aecf+_0x1d3f5d;},'nQSgf':_0x4abf4a(0x167),'pQAry':function(_0x293679,_0x5343a1){return _0x293679===_0x5343a1;},'iFTVj':'get','okwmr':_0x4abf4a(0x122),'ntQzk':_0x4abf4a(0x156),'XIoBt':_0x4abf4a(0x134),'xKofY':'executeAsyncScript','TCkKo':_0x4abf4a(0x133),'uFmtT':'string','rqDQt':_0x4abf4a(0x15c),'GbSfz':_0x4abf4a(0x189),'jVoCZ':_0x4abf4a(0x18f),'WbbnN':_0x4abf4a(0x179)},_0x3710f1=_0x4c7fa7['patchExecute']||(helper[_0x4abf4a(0x154)](_0x5d7c61,[_0x218eb3[_0x4abf4a(0x137)],_0x218eb3[_0x4abf4a(0x147)]])||helper[_0x4abf4a(0x154)](_0x5d7c61,[_0x218eb3[_0x4abf4a(0x137)],_0x218eb3['jVoCZ'],_0x218eb3[_0x4abf4a(0x12e)]]));if(!globals[_0x4abf4a(0x149)](_0x218eb3[_0x4abf4a(0x164)])&&!globals[_0x4abf4a(0x149)](_0x218eb3['byLzm'])&&_0x3710f1)return;_0x4c7fa7[_0x4abf4a(0x14f)]=!![],_0x4c7fa7[_0x4abf4a(0x184)]=_0x4c7fa7[_0x4abf4a(0x17b)],_0x4c7fa7['execute']=async _0x4ccdb4=>{const _0x35ddce=_0x4abf4a,_0x40b3ed={};_0x40b3ed[_0x35ddce(0x182)]=_0x218eb3[_0x35ddce(0x164)];const _0x1bfa62=_0x40b3ed;try{const _0xa92ea1={};_0xa92ea1[_0x35ddce(0x17a)]=_0x4ccdb4[_0x35ddce(0x194)],await PerformanceTester[_0x35ddce(0x16a)](PerformanceDriverEvents[_0x35ddce(0x16f)],async()=>{const _0x377854=_0x35ddce;if(!commandRepository['getTcgTokenStatus']()&&globals[_0x377854(0x149)](_0x218eb3[_0x377854(0x164)])){const _0x65aa95=PerformanceTester['measureWrapper'](_0x218eb3[_0x377854(0x12f)],async()=>{const _0x5c2331=_0x377854;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper[_0x5c2331(0x199)]((await _0x4c7fa7[_0x5c2331(0x140)]())[_0x5c2331(0x145)]());const _0x984d06=globals[_0x5c2331(0x149)](_0x1bfa62[_0x5c2331(0x182)]);_0x984d06&&commandRepository[_0x5c2331(0x130)]((await _0x4c7fa7[_0x5c2331(0x140)]())[_0x5c2331(0x145)]());}catch(_0x3631fa){logger[_0x5c2331(0x172)](_0x5c2331(0x17c)+_0x3631fa);}});await _0x218eb3[_0x377854(0x16e)](_0x65aa95);}},_0xa92ea1)();const _0x33f0d2=await _0x4c7fa7['initExecute'](_0x4ccdb4);try{if(_0x218eb3['yxzKn'](_0x4ccdb4['name_'],_0x218eb3[_0x35ddce(0x173)])||_0x218eb3['NwsGm'](_0x4ccdb4['name_'],_0x218eb3['TCkKo'])){const _0x4d3eb0=_0x4ccdb4[_0x35ddce(0x122)]&&_0x4ccdb4[_0x35ddce(0x122)][_0x35ddce(0x13f)],_0x4868ac=_0x4ccdb4[_0x35ddce(0x122)]&&_0x4ccdb4[_0x35ddce(0x122)][_0x35ddce(0x136)],_0x1ad4c2=_0x4868ac&&util[_0x35ddce(0x170)]('%j',_0x4868ac);if(_0x4d3eb0&&_0x218eb3[_0x35ddce(0x17e)](typeof _0x4d3eb0,_0x218eb3[_0x35ddce(0x14d)])){const _0xd9966c=constants[_0x35ddce(0x16d)]['find'](_0x174472=>_0x4d3eb0['includes'](_0x174472)||_0x1ad4c2&&_0x1ad4c2['includes'](_0x174472));if(_0xd9966c){const _0xf0069b={};_0xf0069b[_0x35ddce(0x17a)]=_0xd9966c,_0xf0069b[_0x35ddce(0x174)]=_0x4868ac;const _0x4a6f27={};_0x4a6f27[_0x35ddce(0x181)]=_0x33f0d2;const _0x480d5a={};_0x480d5a['request']=_0xf0069b,_0x480d5a[_0x35ddce(0x178)]=_0x4a6f27,automationLogger[_0x35ddce(0x12d)]('['+new Date()[_0x35ddce(0x176)]()+_0x35ddce(0x146)+util[_0x35ddce(0x170)]('%j',_0x480d5a));}}}}catch(_0x340b9c){logger[_0x35ddce(0x12d)]('Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20'+_0x340b9c[_0x35ddce(0x158)]);}return await PerformanceTester[_0x35ddce(0x16a)](PerformanceDriverEvents[_0x35ddce(0x165)],async()=>{const _0x4e1801=_0x35ddce;if(!helper[_0x4e1801(0x162)]()&&(commandRepository[_0x4e1801(0x148)]()||globals[_0x4e1801(0x149)](_0x218eb3[_0x4e1801(0x15b)]))&&_0x218eb3[_0x4e1801(0x163)](_0x4ccdb4[_0x4e1801(0x194)],_0x218eb3[_0x4e1801(0x14a)])&&!_0x4ccdb4[_0x4e1801(0x18e)]&&globals[_0x4e1801(0x149)](_0x218eb3[_0x4e1801(0x164)])&&globals[_0x4e1801(0x149)](_0x218eb3[_0x4e1801(0x169)])){const _0x397ad2=new Date(),_0x4d6a07=PerformanceTester[_0x4e1801(0x16a)](_0x218eb3['wucfe'],async()=>{return await aiSdkWrapper['handleSuccess'](_0x5d7c61,_0x4c7fa7,_0x4ccdb4);});await _0x218eb3[_0x4e1801(0x16e)](_0x4d6a07);}},{'command':_0x4ccdb4['name_']})(),_0x33f0d2;}catch(_0x460643){await PerformanceTester[_0x35ddce(0x16a)](PerformanceDriverEvents[_0x35ddce(0x165)],async()=>{const _0x37643d=_0x35ddce;logger[_0x37643d(0x159)](_0x218eb3['HKwHd']);try{if(!helper['isBrowserstackInfra']()&&(_0x218eb3[_0x37643d(0x150)](_0x460643[_0x37643d(0x17f)],_0x218eb3['vhieK'])||_0x218eb3[_0x37643d(0x141)](_0x460643[_0x37643d(0x17f)],_0x218eb3[_0x37643d(0x13b)]))&&_0x218eb3[_0x37643d(0x142)](_0x4ccdb4[_0x37643d(0x194)],_0x218eb3['joKFv'])&&commandRepository[_0x37643d(0x148)]()&&globals[_0x37643d(0x149)](_0x218eb3['CdQoy'])&&globals[_0x37643d(0x149)](_0x218eb3['byLzm'])){_0x218eb3[_0x37643d(0x142)](_0x4ccdb4[_0x37643d(0x122)][_0x37643d(0x187)],_0x218eb3[_0x37643d(0x135)])?logger['info'](_0x218eb3[_0x37643d(0x16c)](_0x218eb3[_0x37643d(0x188)](_0x218eb3['DwXYW'],_0x4ccdb4['parameters_'][_0x37643d(0x125)]),_0x218eb3[_0x37643d(0x144)])):logger[_0x37643d(0x126)](_0x218eb3[_0x37643d(0x171)](_0x218eb3['TuCZT'](_0x218eb3[_0x37643d(0x197)](_0x218eb3[_0x37643d(0x171)](_0x218eb3[_0x37643d(0x183)],_0x4ccdb4[_0x37643d(0x122)][_0x37643d(0x187)]),':\x20'),_0x4ccdb4[_0x37643d(0x122)]['value']),_0x218eb3['EVfnN']));const _0x2710aa=PerformanceTester[_0x37643d(0x16a)](_0x218eb3[_0x37643d(0x166)],async()=>{const _0x581eda=_0x37643d;return await aiSdkWrapper[_0x581eda(0x17d)](_0x5d7c61,_0x4c7fa7,_0x4ccdb4);}),_0x80cc54=new Date(),{locatorType:_0x37a2e1,locatorValue:_0xe14604,commandHealed:_0x5173d1}=await _0x218eb3[_0x37643d(0x16e)](_0x2710aa);if(_0x218eb3[_0x37643d(0x132)](_0x37a2e1,_0xe14604)){_0x4ccdb4[_0x37643d(0x122)]['using']=_0x37a2e1,_0x4ccdb4[_0x37643d(0x122)][_0x37643d(0x125)]=_0xe14604,_0x4ccdb4['skipHealingSuccess']=!![];const _0x558f2e=_0x4c7fa7['execute'](_0x4ccdb4);return _0x218eb3[_0x37643d(0x17e)](_0x37a2e1,_0x218eb3[_0x37643d(0x135)])?logger[_0x37643d(0x126)](_0x218eb3[_0x37643d(0x16c)](_0x218eb3[_0x37643d(0x14b)],_0xe14604)):logger[_0x37643d(0x126)](_0x218eb3[_0x37643d(0x139)](_0x218eb3[_0x37643d(0x12a)](_0x218eb3['ePUdJ'](_0x218eb3[_0x37643d(0x16b)],_0x37a2e1),':\x20'),_0xe14604)),_0x558f2e;}else!_0x5173d1&&(_0x218eb3[_0x37643d(0x180)](_0x37a2e1,_0x218eb3['IZSrP'])?logger[_0x37643d(0x126)](_0x218eb3[_0x37643d(0x160)](_0x218eb3['gaNwq'],_0x4ccdb4['parameters_'][_0x37643d(0x125)])):logger[_0x37643d(0x126)](_0x218eb3[_0x37643d(0x16c)](_0x218eb3[_0x37643d(0x13d)](_0x218eb3[_0x37643d(0x139)](_0x218eb3['nQSgf'],_0x4ccdb4[_0x37643d(0x122)]['using']),':\x20'),_0x4ccdb4['parameters_'][_0x37643d(0x125)])));}!_0x3710f1&&_0x218eb3[_0x37643d(0x152)](_0x4ccdb4['name_'],_0x218eb3[_0x37643d(0x196)])&&helper[_0x37643d(0x154)](_0x4ccdb4,[_0x218eb3['okwmr'],_0x218eb3['ntQzk']])&&!!constants[_0x37643d(0x177)][_0x37643d(0x12c)](_0x5e5333=>{const _0x1e0702=_0x37643d;return _0x460643[_0x1e0702(0x12b)]()[_0x1e0702(0x151)](_0x5e5333);})&&helper[_0x37643d(0x15a)](_0x4ccdb4[_0x37643d(0x122)][_0x37643d(0x156)],!![]);}catch(_0x179a31){logger[_0x37643d(0x159)](_0x218eb3[_0x37643d(0x153)],_0x179a31);}},{'success':![],'failure':_0x460643})();throw _0x460643;}};};function a102_0xcce6(){const _0x581044=['378063kPXSik','iFTVj','cqEqL','./ai-sdk/aiSdkWrapper','setTcgToken','aiHeal:findElementFailure','parameters_','1335132rdWUTZ','aiHeal_isHealingEnabled','value','info','overrideExecute','css\x20selector','4623772bzCOwU','hPAwq','toString','find','silly','WbbnN','WCwGZ','setAiSessionTimeStamp','./performance/constants','inBys','executeScript','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','IZSrP','args','rqDQt','../bin/utils/constants','abwkQ','aiHeal_isAuthenticated','zrNHD','./helper','ESxEY','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','script','getSession','UnTmA','NwsGm','util','EVfnN','getId','][\x20SDK-AUTOMATION\x20]\x20','GbSfz','isSelfHealEnabled','getGlobal','joKFv','tRTHi','./performance/performance-tester','uFmtT','205HPoUlV','patchExecute','fVijk','includes','pQAry','XIoBt','nestedKeyValue','29749600oznPaC','url','52506QSwkLk','message','debug','getNudgeLocalNotSetError','hWMwO','capability','./ai-sdk/autoHealHelper','aiHeal:setToken','NoSuchElementError','GDTmF','./logger','isBrowserstackInfra','yoksd','CdQoy','POST_EXECUTE','KHswQ','Healing\x20failed\x20for\x20command\x20using\x20','2338047MiGhmV','byLzm','measureWrapper','UVIJW','PjYOy','AUTOMATION_LOG_COMMANDS','JPSZD','PRE_EXECUTE','format','TuCZT','error','xKofY','parameters','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','toISOString','NUDGE_LOCAL_ERRORS','response','local','command','execute','Error\x20in\x20handling\x20TCG\x20Auth:\x20','handleFailure','RXvVz','name','yxzKn','body','LNNSO','obUcd','initExecute','JavascriptError','1eNkPXf','using','iCQfQ','browserstack.local','findElement','45NhcUEQ','aiHeal:findElementSuccess','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','skipHealingSuccess','bstack:options','findElement\x20command\x20failed\x20with\x20cssPath:\x20','./globals','aiSdk_defaultLogDataEnabled','1120888Pmrlbn','name_'];a102_0xcce6=function(){return _0x581044;};return a102_0xcce6();}
@@ -1 +1 @@
1
- function a103_0x3e09(_0x1499d7,_0x39daaf){const _0x3e758a=a103_0x3e75();return a103_0x3e09=function(_0x3e0912,_0x142d91){_0x3e0912=_0x3e0912-0x153;let _0x19ad2f=_0x3e758a[_0x3e0912];return _0x19ad2f;},a103_0x3e09(_0x1499d7,_0x39daaf);}function a103_0x3e75(){const _0x49c6f3=['BS_TESTOPS_ALLOW_SCREENSHOTS','quit','./performance/constants','overrideQuit','2103764DQgKKb','quitCount_','uXFtC','613713ysrzEt','6424506EehSuj','toISOString','3749172wThcAD','env','5FtYBzJ','initQuit','BpLgY','pid','./performance/performance-tester','true','end','initScreenshot','patchQuit','catch','gujjp','365773pZdNmC','pqxvG','emit','KuSTe','TAKE_SCREENSHOT','8vZKOAD','O11y_EVENTS','bs:addLog:','5544595GPoCWn','gUlLD','20oFpdWz','takeScreenshot','4909112laFmpY','wKbgc','NGeXG','iVszR','xWBzh','vTlSL'];a103_0x3e75=function(){return _0x49c6f3;};return a103_0x3e75();}const a103_0x25fc70=a103_0x3e09;(function(_0x12fd0d,_0x815b1b){const _0x118b45=a103_0x3e09,_0x2427e8=_0x12fd0d();while(!![]){try{const _0x306973=-parseInt(_0x118b45(0x159))/0x1+-parseInt(_0x118b45(0x15e))/0x2*(-parseInt(_0x118b45(0x172))/0x3)+-parseInt(_0x118b45(0x16f))/0x4+parseInt(_0x118b45(0x177))/0x5*(parseInt(_0x118b45(0x175))/0x6)+parseInt(_0x118b45(0x161))/0x7+parseInt(_0x118b45(0x165))/0x8+-parseInt(_0x118b45(0x173))/0x9*(parseInt(_0x118b45(0x163))/0xa);if(_0x306973===_0x815b1b)break;else _0x2427e8['push'](_0x2427e8['shift']());}catch(_0xe699f3){_0x2427e8['push'](_0x2427e8['shift']());}}}(a103_0x3e75,0x81450));const PerformanceTester=require(a103_0x25fc70(0x17b)),O11yEvents=require(a103_0x25fc70(0x16d))[a103_0x25fc70(0x15f)];exports['overrideTakeScreenshot']=_0x33a613=>{const _0x3b7abc=a103_0x25fc70,_0x41cc71={'iVszR':'TEST_SCREENSHOT','pqxvG':function(_0x6e9c3e,_0x54cc19){return _0x6e9c3e(_0x54cc19);},'KuSTe':function(_0xe8dea6,_0x439f23){return _0xe8dea6(_0x439f23);},'NGeXG':function(_0x50138a,_0x18bdc1){return _0x50138a!==_0x18bdc1;},'uXFtC':_0x3b7abc(0x153)};if(_0x41cc71[_0x3b7abc(0x167)](process[_0x3b7abc(0x176)][_0x3b7abc(0x16b)],_0x41cc71[_0x3b7abc(0x171)]))return;if(_0x33a613['patchScreenshot'])return;_0x33a613['patchScreenshot']=!![],_0x33a613['initScreenshot']=_0x33a613['takeScreenshot'],_0x33a613[_0x3b7abc(0x164)]=()=>{const _0x160a7c=_0x3b7abc,_0x3c9f71={'BpLgY':_0x41cc71[_0x160a7c(0x168)],'xWBzh':function(_0xf4fe9,_0x51cb5f){const _0x29f215=_0x160a7c;return _0x41cc71[_0x29f215(0x15a)](_0xf4fe9,_0x51cb5f);},'gujjp':function(_0xc94f97,_0x3459f8){const _0x499b28=_0x160a7c;return _0x41cc71[_0x499b28(0x15c)](_0xc94f97,_0x3459f8);}};return new Promise(function(_0x5f1381,_0x213f6c){const _0x17addd=_0x160a7c;_0x33a613[_0x17addd(0x155)]()['then'](_0x1b4810=>{const _0x2f87c5=_0x17addd;PerformanceTester['start'](O11yEvents['TAKE_SCREENSHOT']),process[_0x2f87c5(0x15b)](_0x2f87c5(0x160)+process[_0x2f87c5(0x17a)],{'timestamp':new Date()[_0x2f87c5(0x174)](),'message':_0x1b4810,'kind':_0x3c9f71[_0x2f87c5(0x179)]}),_0x3c9f71[_0x2f87c5(0x169)](_0x5f1381,_0x1b4810),PerformanceTester[_0x2f87c5(0x154)](O11yEvents[_0x2f87c5(0x15d)]);})[_0x17addd(0x157)](_0x359460=>{const _0x51bfdc=_0x17addd;PerformanceTester[_0x51bfdc(0x154)](O11yEvents[_0x51bfdc(0x15d)]),_0x3c9f71[_0x51bfdc(0x158)](_0x213f6c,_0x359460);});});};},exports[a103_0x25fc70(0x16e)]=(_0x554730,_0x123d95=null)=>{const _0x45e488=a103_0x25fc70,_0x2a5a53={'wKbgc':function(_0x5ef5b4){return _0x5ef5b4();},'gUlLD':function(_0x59b6da,_0x3d0900){return _0x59b6da>_0x3d0900;}};if(_0x554730[_0x45e488(0x156)])return;_0x554730['patchQuit']=!![],_0x554730['initQuit']=_0x554730['quit'],_0x554730[_0x45e488(0x16c)]=()=>{const _0x43f73c=_0x45e488,_0x497aa4={'vTlSL':function(_0x45e42e){const _0x5179bb=a103_0x3e09;return _0x2a5a53[_0x5179bb(0x166)](_0x45e42e);}};if(_0x123d95){_0x123d95[_0x43f73c(0x170)]+=0x1;if(_0x2a5a53[_0x43f73c(0x162)](_0x123d95[_0x43f73c(0x170)],0x1))return _0x554730[_0x43f73c(0x178)]();}else{_0x554730[_0x43f73c(0x170)]+=0x1;if(_0x2a5a53[_0x43f73c(0x162)](_0x554730[_0x43f73c(0x170)],0x1))return _0x554730[_0x43f73c(0x178)]();}return new Promise(function(_0xc82cee){const _0x563836=_0x43f73c;_0x497aa4[_0x563836(0x16a)](_0xc82cee);});};};
1
+ const a103_0x53c258=a103_0x4126;function a103_0x4126(_0xc5502f,_0x4c1828){const _0x422f2c=a103_0x422f();return a103_0x4126=function(_0x4126c0,_0x4d76b3){_0x4126c0=_0x4126c0-0xe2;let _0x4951ca=_0x422f2c[_0x4126c0];return _0x4951ca;},a103_0x4126(_0xc5502f,_0x4c1828);}function a103_0x422f(){const _0x110b52=['4735840iycOeg','189egxMDy','bs:addLog:','toISOString','overrideTakeScreenshot','nGvMi','patchScreenshot','BS_TESTOPS_ALLOW_SCREENSHOTS','2570391VGcWtz','start','initScreenshot','then','end','quitCount_','HrdQi','true','quit','pid','RWBvN','iumrz','./performance/constants','xNcQX','631704GylBEW','541006FjOeBo','overrideQuit','env','TAKE_SCREENSHOT','47352NnQdOp','patchQuit','3077404ZkenDL','./performance/performance-tester','reDIN','1080744kkVgsz','initQuit','O11y_EVENTS','469OVLMqd','takeScreenshot'];a103_0x422f=function(){return _0x110b52;};return a103_0x422f();}(function(_0x4c0fa2,_0x41aa1e){const _0x4f02ce=a103_0x4126,_0x3d665d=_0x4c0fa2();while(!![]){try{const _0x1603da=-parseInt(_0x4f02ce(0xeb))/0x1+-parseInt(_0x4f02ce(0xec))/0x2+parseInt(_0x4f02ce(0x102))/0x3+-parseInt(_0x4f02ce(0xf2))/0x4+-parseInt(_0x4f02ce(0xfa))/0x5+-parseInt(_0x4f02ce(0xf0))/0x6*(parseInt(_0x4f02ce(0xf8))/0x7)+parseInt(_0x4f02ce(0xf5))/0x8*(parseInt(_0x4f02ce(0xfb))/0x9);if(_0x1603da===_0x41aa1e)break;else _0x3d665d['push'](_0x3d665d['shift']());}catch(_0x15e380){_0x3d665d['push'](_0x3d665d['shift']());}}}(a103_0x422f,0x855d4));const PerformanceTester=require(a103_0x53c258(0xf3)),O11yEvents=require(a103_0x53c258(0xe9))[a103_0x53c258(0xf7)];exports[a103_0x53c258(0xfe)]=_0x4f7ab8=>{const _0x1de315=a103_0x53c258,_0x1f8878={'RWBvN':'TEST_SCREENSHOT','xNcQX':function(_0x468fda,_0x5e50db){return _0x468fda(_0x5e50db);},'HrdQi':function(_0x2380f7,_0x28a65a){return _0x2380f7!==_0x28a65a;},'ZrXuH':_0x1de315(0xe4)};if(_0x1f8878[_0x1de315(0xe3)](process[_0x1de315(0xee)][_0x1de315(0x101)],_0x1f8878['ZrXuH']))return;if(_0x4f7ab8[_0x1de315(0x100)])return;_0x4f7ab8[_0x1de315(0x100)]=!![],_0x4f7ab8[_0x1de315(0x104)]=_0x4f7ab8['takeScreenshot'],_0x4f7ab8[_0x1de315(0xf9)]=()=>{const _0x36f11d=_0x1de315,_0x4028e6={'jZxIB':_0x1f8878[_0x36f11d(0xe7)],'PqhcF':function(_0x1a70f8,_0x1494b9){const _0x31ebc7=_0x36f11d;return _0x1f8878[_0x31ebc7(0xea)](_0x1a70f8,_0x1494b9);},'nGvMi':function(_0x299242,_0x21db33){const _0x1bc69c=_0x36f11d;return _0x1f8878[_0x1bc69c(0xea)](_0x299242,_0x21db33);}};return new Promise(function(_0x36eef5,_0x1403d6){const _0x3c5c31=_0x36f11d;_0x4f7ab8['initScreenshot']()[_0x3c5c31(0x105)](_0x2742fb=>{const _0x3f2d13=_0x3c5c31;PerformanceTester[_0x3f2d13(0x103)](O11yEvents[_0x3f2d13(0xef)]),process['emit'](_0x3f2d13(0xfc)+process[_0x3f2d13(0xe6)],{'timestamp':new Date()[_0x3f2d13(0xfd)](),'message':_0x2742fb,'kind':_0x4028e6['jZxIB']}),_0x4028e6['PqhcF'](_0x36eef5,_0x2742fb),PerformanceTester[_0x3f2d13(0x106)](O11yEvents[_0x3f2d13(0xef)]);})['catch'](_0xa1f8ae=>{const _0x269538=_0x3c5c31;PerformanceTester[_0x269538(0x106)](O11yEvents['TAKE_SCREENSHOT']),_0x4028e6[_0x269538(0xff)](_0x1403d6,_0xa1f8ae);});});};},exports[a103_0x53c258(0xed)]=(_0x3ae99e,_0x4253bc=null)=>{const _0x102a13=a103_0x53c258,_0x4db7a5={'iumrz':function(_0x2a3903){return _0x2a3903();},'reDIN':function(_0x4ff842,_0x4b68ba){return _0x4ff842>_0x4b68ba;},'PxXcB':function(_0x1a8916,_0x1bb842){return _0x1a8916>_0x1bb842;}};if(_0x3ae99e['patchQuit'])return;_0x3ae99e[_0x102a13(0xf1)]=!![],_0x3ae99e[_0x102a13(0xf6)]=_0x3ae99e[_0x102a13(0xe5)],_0x3ae99e[_0x102a13(0xe5)]=()=>{const _0x415ef6=_0x102a13;if(_0x4253bc){_0x4253bc['quitCount_']+=0x1;if(_0x4db7a5[_0x415ef6(0xf4)](_0x4253bc[_0x415ef6(0xe2)],0x1))return _0x3ae99e[_0x415ef6(0xf6)]();}else{_0x3ae99e[_0x415ef6(0xe2)]+=0x1;if(_0x4db7a5['PxXcB'](_0x3ae99e[_0x415ef6(0xe2)],0x1))return _0x3ae99e[_0x415ef6(0xf6)]();}return new Promise(function(_0x4e9807){const _0x3f754a=_0x415ef6;_0x4db7a5[_0x3f754a(0xe8)](_0x4e9807);});};};
@@ -1 +1 @@
1
- const a104_0x519981=a104_0xb9c3;(function(_0x24f813,_0x4994d2){const _0x4fb8ad=a104_0xb9c3,_0x969c17=_0x24f813();while(!![]){try{const _0x5137b6=-parseInt(_0x4fb8ad(0x176))/0x1*(parseInt(_0x4fb8ad(0x16a))/0x2)+parseInt(_0x4fb8ad(0x153))/0x3*(-parseInt(_0x4fb8ad(0x171))/0x4)+parseInt(_0x4fb8ad(0x166))/0x5*(parseInt(_0x4fb8ad(0x188))/0x6)+-parseInt(_0x4fb8ad(0x18a))/0x7*(parseInt(_0x4fb8ad(0x161))/0x8)+-parseInt(_0x4fb8ad(0x159))/0x9*(parseInt(_0x4fb8ad(0x14b))/0xa)+-parseInt(_0x4fb8ad(0x17a))/0xb*(parseInt(_0x4fb8ad(0x157))/0xc)+parseInt(_0x4fb8ad(0x147))/0xd;if(_0x5137b6===_0x4994d2)break;else _0x969c17['push'](_0x969c17['shift']());}catch(_0x32242b){_0x969c17['push'](_0x969c17['shift']());}}}(a104_0x10ea,0x5851c));const fs=require('fs'),path=require(a104_0x519981(0x189)),os=require('os'),{spawn}=require('child_process'),helper=require(a104_0x519981(0x18f)),logger=require('../logger')[a104_0x519981(0x156)],{getLogDir}=require(a104_0x519981(0x15f)),testHubConstants=require(a104_0x519981(0x177)),PerformanceTester=require(a104_0x519981(0x14c)),{PERCY_EVENTS:PerformanceEvents}=require(a104_0x519981(0x160)),PercyBinary=require('./PercyBinary');function a104_0xb9c3(_0x3a14a2,_0x94275e){const _0x10ea7d=a104_0x10ea();return a104_0xb9c3=function(_0xb9c3e4,_0x218cb7){_0xb9c3e4=_0xb9c3e4-0x13b;let _0x5d2b5a=_0x10ea7d[_0xb9c3e4];return _0x5d2b5a;},a104_0xb9c3(_0x3a14a2,_0x94275e);}class Percy{#logfile=path[a104_0x519981(0x18e)](getLogDir(),a104_0x519981(0x165));#address=process[a104_0x519981(0x15a)][a104_0x519981(0x16b)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#isApp=![];[a104_0x519981(0x17e)]=![];constructor(_0x1d1625){const _0x5aafb7=a104_0x519981;this.#config=_0x1d1625,!!_0x1d1625[_0x5aafb7(0x163)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x1be4af=a104_0x519981;if(!this.#binaryPath){const _0x360c03=new PercyBinary();PerformanceTester[_0x1be4af(0x18b)](PerformanceEvents[_0x1be4af(0x158)]),this.#binaryPath=await _0x360c03['getBinaryPath'](this.#config),PerformanceTester[_0x1be4af(0x167)](PerformanceEvents['DOWNLOAD']);}return this.#binaryPath;}async #sleep(_0x6498ad){return new Promise(_0x322eb0=>setTimeout(_0x322eb0,_0x6498ad));}async[a104_0x519981(0x164)](){const _0x24615e=a104_0x519981,_0x1d91d2={};_0x1d91d2[_0x24615e(0x14e)]=_0x24615e(0x15b),_0x1d91d2[_0x24615e(0x178)]=_0x24615e(0x145);const _0x56a65d=_0x1d91d2;try{const _0x114234=await helper[_0x24615e(0x15e)](_0x56a65d[_0x24615e(0x14e)],_0x56a65d[_0x24615e(0x178)],null,null,this.#address);if(_0x114234)return!![];}catch(_0x4e9a96){return![];}}async['start'](){const _0x9ad6d4=a104_0x519981,_0x47363c={'tSUcK':_0x9ad6d4(0x151),'ekZck':'exec','UzOGX':function(_0x9ee90f,_0x399024,_0x2760a5,_0x450ba9){return _0x9ee90f(_0x399024,_0x2760a5,_0x450ba9);},'PCBvz':'close','IJdVL':_0x9ad6d4(0x172)},_0x34c8bd=await this.#getBinaryPath(),_0x2603e0={};_0x2603e0[_0x9ad6d4(0x174)]='a';const _0xbe46a0=fs[_0x9ad6d4(0x17f)](this.#logfile,_0x2603e0),_0x3af5bc=await this[_0x9ad6d4(0x152)](),_0x2ee8ad=await this['createPercyConfig']();if(!_0x3af5bc)return![];const _0x4ce8b1=[(this.#isApp?_0x47363c[_0x9ad6d4(0x17c)]:_0x47363c[_0x9ad6d4(0x144)])+_0x9ad6d4(0x179)];_0x2ee8ad&&_0x4ce8b1[_0x9ad6d4(0x16c)]('-c',_0x2ee8ad);this.#proc=_0x47363c['UzOGX'](spawn,_0x34c8bd,_0x4ce8b1,{'env':Object[_0x9ad6d4(0x169)](process['env'],{'PERCY_TOKEN':_0x3af5bc,'TH_BUILD_UUID':process[_0x9ad6d4(0x15a)][testHubConstants[_0x9ad6d4(0x17b)][_0x9ad6d4(0x14f)]]})}),this.#proc['stdout'][_0x9ad6d4(0x181)](_0xbe46a0),this.#proc['stderr'][_0x9ad6d4(0x181)](_0xbe46a0),this[_0x9ad6d4(0x17e)]=!![];var _0x345410=this;this.#proc['on'](_0x47363c[_0x9ad6d4(0x17d)],function(_0x4679b8){const _0x209501=_0x9ad6d4;_0x345410[_0x209501(0x17e)]=![];});do{const _0x4959eb=await this[_0x9ad6d4(0x164)]();if(_0x4959eb)return logger[_0x9ad6d4(0x150)](_0x47363c[_0x9ad6d4(0x142)]),!![];await this.#sleep(0x3e8);}while(this[_0x9ad6d4(0x17e)]);return![];}async['stop'](){const _0x501a93=a104_0x519981,_0x460bd5={'WIsZQ':function(_0x316d2f,_0x2e761f){return _0x316d2f(_0x2e761f);},'biUWf':function(_0x459674,_0xc2dc2a,_0x54d9f0){return _0x459674(_0xc2dc2a,_0x54d9f0);},'RPoPv':_0x501a93(0x183),'GNIyu':_0x501a93(0x16f)},_0x231bee=await this.#getBinaryPath();return new Promise((_0x1895f2,_0x3677b6)=>{const _0xd82310=_0x501a93,_0x57b2ac=_0x460bd5['biUWf'](spawn,_0x231bee,[_0x460bd5[_0xd82310(0x173)]]);_0x57b2ac['on'](_0x460bd5[_0xd82310(0x13b)],_0x23d149=>{const _0x377959=_0xd82310;this[_0x377959(0x17e)]=![],_0x460bd5[_0x377959(0x190)](_0x1895f2,_0x23d149);});});}[a104_0x519981(0x13f)](){const _0x1c5a30=a104_0x519981;return this[_0x1c5a30(0x17e)];}async[a104_0x519981(0x152)](){const _0x41755d=a104_0x519981,_0x4d79a9={};_0x4d79a9[_0x41755d(0x184)]='app',_0x4d79a9[_0x41755d(0x170)]=_0x41755d(0x182),_0x4d79a9[_0x41755d(0x148)]='GET',_0x4d79a9[_0x41755d(0x186)]=_0x41755d(0x13d);const _0x3d4ab3=_0x4d79a9,_0x3c568d=this.#config[_0x41755d(0x180)];try{const _0x5f2c55=this.#isApp?_0x3d4ab3[_0x41755d(0x184)]:_0x3d4ab3[_0x41755d(0x170)],_0x154d44=await helper[_0x41755d(0x15e)](_0x3d4ab3[_0x41755d(0x148)],'api/app_percy/get_project_token?name='+_0x3c568d+_0x41755d(0x18c)+_0x5f2c55,{},this.#config),_0x35782b=_0x154d44[_0x41755d(0x155)];return logger[_0x41755d(0x150)](_0x3d4ab3[_0x41755d(0x186)]),_0x35782b[_0x41755d(0x140)];}catch(_0x2f1e5f){return logger['error'](_0x41755d(0x149)+_0x2f1e5f),null;}}async[a104_0x519981(0x16d)](){const _0x1c6aa6=a104_0x519981,_0x247259={'PcudP':function(_0x4b15a0,_0x56d458){return _0x4b15a0(_0x56d458);},'FdLFo':function(_0x39307e,_0x3504ce){return _0x39307e+_0x3504ce;},'IqJpO':_0x1c6aa6(0x15c),'iVIwI':_0x1c6aa6(0x14d)};if(!this.#config['percyOptions'])return null;const _0xae6610=path['join'](os[_0x1c6aa6(0x154)](),_0x247259[_0x1c6aa6(0x18d)]),_0x43bcd8=this.#config[_0x1c6aa6(0x143)];return!_0x43bcd8[_0x1c6aa6(0x146)]&&(_0x43bcd8[_0x1c6aa6(0x146)]='2'),new Promise((_0x361d65,_0x4e33f7)=>{const _0x2b8cf9=_0x1c6aa6,_0x2f0730={'QXHEL':function(_0x346a99,_0x281a8e){const _0x2d0037=a104_0xb9c3;return _0x247259[_0x2d0037(0x13e)](_0x346a99,_0x281a8e);},'sWIaF':function(_0x1d9e5a,_0x42f6d3){const _0x212a14=a104_0xb9c3;return _0x247259[_0x212a14(0x16e)](_0x1d9e5a,_0x42f6d3);},'NNzxx':_0x247259[_0x2b8cf9(0x168)]};fs[_0x2b8cf9(0x185)](_0xae6610,JSON[_0x2b8cf9(0x141)](_0x43bcd8),_0x4a8fc8=>{const _0x4b8e8b=_0x2b8cf9;_0x4a8fc8&&(logger[_0x4b8e8b(0x14a)](_0x4b8e8b(0x13c)+_0x4a8fc8),_0x2f0730[_0x4b8e8b(0x175)](_0x361d65,null)),logger[_0x4b8e8b(0x150)](_0x2f0730[_0x4b8e8b(0x162)](_0x2f0730[_0x4b8e8b(0x15d)],_0xae6610)),_0x2f0730[_0x4b8e8b(0x175)](_0x361d65,_0xae6610);});});}}module[a104_0x519981(0x187)]=Percy;function a104_0x10ea(){const _0x4c8369=['healthcheck','percy.log','2099315RYsQtH','end','IqJpO','assign','22FiDzqK','PERCY_SERVER_ADDRESS','push','createPercyConfig','FdLFo','close','bKEGo','772KKDWQq','Percy\x20healthcheck\x20successful','RPoPv','flags','QXHEL','13736ksOfna','../../helpers/testhub/constants','InANW',':start','11OCmfOI','ENV_VAR','tSUcK','PCBvz','isProcessRunning','createWriteStream','projectName','pipe','automate','exec:stop','OIDtC','writeFile','APMcT','exports','6UcVqRZ','path','42399CydNKs','start','&type=','iVIwI','join','../helper','WIsZQ','GNIyu','Error\x20creating\x20percy\x20config:\x20','Percy\x20fetch\x20token\x20success','PcudP','isRunning','token','stringify','IJdVL','percyOptions','ekZck','percy/healthcheck','version','15335398alNuIr','ZbBAW','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','error','10ncldyb','../../helpers/performance/performance-tester','percy.json','GgyLO','BROWSERSTACK_TESTHUB_UUID','debug','app:exec','fetchPercyToken','2370ETYkCN','tmpdir','data','winstonLogger','7363716JulWRK','DOWNLOAD','976941LTyyjl','env','GET','Percy\x20config\x20created\x20at\x20','NNzxx','nodeRequest','../logger','../../helpers/performance/constants','280sGUBQB','sWIaF','app'];a104_0x10ea=function(){return _0x4c8369;};return a104_0x10ea();}
1
+ function a104_0x468b(_0x44a2c4,_0x48bd8d){const _0xe70ec=a104_0xe70e();return a104_0x468b=function(_0x468b0e,_0x13886a){_0x468b0e=_0x468b0e-0xe0;let _0x339ef8=_0xe70ec[_0x468b0e];return _0x339ef8;},a104_0x468b(_0x44a2c4,_0x48bd8d);}const a104_0x1436c4=a104_0x468b;(function(_0x8634f7,_0x54460e){const _0x567397=a104_0x468b,_0x384a7a=_0x8634f7();while(!![]){try{const _0x1d08e5=parseInt(_0x567397(0xfa))/0x1+-parseInt(_0x567397(0x114))/0x2*(parseInt(_0x567397(0xe5))/0x3)+-parseInt(_0x567397(0x126))/0x4*(parseInt(_0x567397(0x104))/0x5)+-parseInt(_0x567397(0x102))/0x6+parseInt(_0x567397(0x108))/0x7*(-parseInt(_0x567397(0xe7))/0x8)+-parseInt(_0x567397(0x112))/0x9+parseInt(_0x567397(0xe0))/0xa;if(_0x1d08e5===_0x54460e)break;else _0x384a7a['push'](_0x384a7a['shift']());}catch(_0x40d697){_0x384a7a['push'](_0x384a7a['shift']());}}}(a104_0xe70e,0xd4266));function a104_0xe70e(){const _0x4348c2=['UNQsS','createWriteStream','stop','Percy\x20config\x20created\x20at\x20','path','XQuYs','VaFqa','createPercyConfig','1152047gzYthX','SHrei','app:exec','join','BROWSERSTACK_TESTHUB_UUID','../../helpers/performance/constants','kOieT','pipe','7419450tEyUvz','nodeRequest','125XXcQFv','exec','fetchPercyToken','flags','7enWOxE','isRunning','DOWNLOAD','close','tneLP','token','IyYKv','AGkcW',':start','child_process','5337432BsNzBZ','debug','36fIKIBI','exec:stop','hVzKH','fJjYB','VAdMz','push','automate','SmAoW','end','./PercyBinary','version','hTfyA','VYUlo','stderr','Percy\x20fetch\x20token\x20success','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','percy.log','percy/healthcheck','91144TGFxej','projectName','winstonLogger','Error\x20creating\x20percy\x20config:\x20','WbGOZ','cCiMz','percyOptions','getBinaryPath','jmyei','ENV_VAR','http://localhost:5338','error','isProcessRunning','tqUjV','46826670gNjYgm','writeFile','GET','PERCY_SERVER_ADDRESS','usBDN','284781PwJiuh','../logger','6862312mrQfxW','SpQPJ','pgtVo','data','../../helpers/testhub/constants','../helper','env','JyCTr','api/app_percy/get_project_token?name=','stringify','exports'];a104_0xe70e=function(){return _0x4348c2;};return a104_0xe70e();}const fs=require('fs'),path=require(a104_0x1436c4(0xf6)),os=require('os'),{spawn}=require(a104_0x1436c4(0x111)),helper=require(a104_0x1436c4(0xec)),logger=require(a104_0x1436c4(0xe6))[a104_0x1436c4(0x128)],{getLogDir}=require(a104_0x1436c4(0xe6)),testHubConstants=require(a104_0x1436c4(0xeb)),PerformanceTester=require('../../helpers/performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a104_0x1436c4(0xff)),PercyBinary=require(a104_0x1436c4(0x11d));class Percy{#logfile=path[a104_0x1436c4(0xfd)](getLogDir(),a104_0x1436c4(0x124));#address=process[a104_0x1436c4(0xed)][a104_0x1436c4(0xe3)]||a104_0x1436c4(0x130);#binaryPath=null;#config=null;#proc=null;#isApp=![];['isProcessRunning']=![];constructor(_0x495248){this.#config=_0x495248,!!_0x495248['app']&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x45125e=a104_0x1436c4;if(!this.#binaryPath){const _0x231883=new PercyBinary();PerformanceTester['start'](PerformanceEvents[_0x45125e(0x10a)]),this.#binaryPath=await _0x231883[_0x45125e(0x12d)](this.#config),PerformanceTester[_0x45125e(0x11c)](PerformanceEvents[_0x45125e(0x10a)]);}return this.#binaryPath;}async #sleep(_0x559703){return new Promise(_0x2eeafb=>setTimeout(_0x2eeafb,_0x559703));}async['healthcheck'](){const _0x45e956=a104_0x1436c4,_0x2dc2b5={};_0x2dc2b5[_0x45e956(0x10f)]='GET',_0x2dc2b5[_0x45e956(0xee)]=_0x45e956(0x125);const _0x1ba6b8=_0x2dc2b5;try{const _0x30ba14=await helper[_0x45e956(0x103)](_0x1ba6b8[_0x45e956(0x10f)],_0x1ba6b8[_0x45e956(0xee)],null,null,this.#address);if(_0x30ba14)return!![];}catch(_0x41ba8d){return![];}}async['start'](){const _0x2bd2e6=a104_0x1436c4,_0x54c0e0={'VAdMz':_0x2bd2e6(0xfc),'UNQsS':_0x2bd2e6(0x105),'VYUlo':function(_0x3a8e1f,_0xb3a5e1,_0x45c776,_0x594908){return _0x3a8e1f(_0xb3a5e1,_0x45c776,_0x594908);},'tneLP':'close','IiBWN':'Percy\x20healthcheck\x20successful'},_0x3430e5=await this.#getBinaryPath(),_0x27ac05={};_0x27ac05[_0x2bd2e6(0x107)]='a';const _0x59d4c9=fs[_0x2bd2e6(0xf3)](this.#logfile,_0x27ac05),_0x4d35fc=await this[_0x2bd2e6(0x106)](),_0x2eb078=await this['createPercyConfig']();if(!_0x4d35fc)return![];const _0x4db39c=[(this.#isApp?_0x54c0e0[_0x2bd2e6(0x118)]:_0x54c0e0[_0x2bd2e6(0xf2)])+_0x2bd2e6(0x110)];_0x2eb078&&_0x4db39c[_0x2bd2e6(0x119)]('-c',_0x2eb078);this.#proc=_0x54c0e0[_0x2bd2e6(0x120)](spawn,_0x3430e5,_0x4db39c,{'env':Object['assign'](process[_0x2bd2e6(0xed)],{'PERCY_TOKEN':_0x4d35fc,'TH_BUILD_UUID':process[_0x2bd2e6(0xed)][testHubConstants[_0x2bd2e6(0x12f)][_0x2bd2e6(0xfe)]]})}),this.#proc['stdout'][_0x2bd2e6(0x101)](_0x59d4c9),this.#proc[_0x2bd2e6(0x121)][_0x2bd2e6(0x101)](_0x59d4c9),this[_0x2bd2e6(0x132)]=!![];var _0x4057f2=this;this.#proc['on'](_0x54c0e0[_0x2bd2e6(0x10c)],function(_0x5db63a){_0x4057f2['isProcessRunning']=![];});do{const _0x3d91b1=await this['healthcheck']();if(_0x3d91b1)return logger['debug'](_0x54c0e0['IiBWN']),!![];await this.#sleep(0x3e8);}while(this['isProcessRunning']);return![];}async[a104_0x1436c4(0xf4)](){const _0x3ce807=a104_0x1436c4,_0x362870={'IyYKv':function(_0x59386b,_0x561274){return _0x59386b(_0x561274);},'WbGOZ':function(_0x1e0919,_0x1f4a4b,_0x1a868a){return _0x1e0919(_0x1f4a4b,_0x1a868a);},'kOieT':_0x3ce807(0x115),'usBDN':_0x3ce807(0x10b)},_0x436c3b=await this.#getBinaryPath();return new Promise((_0x521485,_0x196a13)=>{const _0x41f4ba=_0x3ce807,_0x11bcbf={'VaFqa':function(_0x908d5a,_0x3893d5){const _0x1ab5e3=a104_0x468b;return _0x362870[_0x1ab5e3(0x10e)](_0x908d5a,_0x3893d5);}},_0x5dbbcf=_0x362870[_0x41f4ba(0x12a)](spawn,_0x436c3b,[_0x362870[_0x41f4ba(0x100)]]);_0x5dbbcf['on'](_0x362870[_0x41f4ba(0xe4)],_0x204f75=>{const _0x28b937=_0x41f4ba;this[_0x28b937(0x132)]=![],_0x11bcbf[_0x28b937(0xf8)](_0x521485,_0x204f75);});});}[a104_0x1436c4(0x109)](){return this['isProcessRunning'];}async[a104_0x1436c4(0x106)](){const _0x120e96=a104_0x1436c4,_0x4f0b4a={};_0x4f0b4a[_0x120e96(0x117)]='app',_0x4f0b4a[_0x120e96(0x11b)]=_0x120e96(0x11a),_0x4f0b4a[_0x120e96(0xfb)]=_0x120e96(0xe2),_0x4f0b4a[_0x120e96(0xe8)]=_0x120e96(0x122);const _0x36b7bf=_0x4f0b4a,_0x4e5f4c=this.#config[_0x120e96(0x127)];try{const _0x1e5450=this.#isApp?_0x36b7bf[_0x120e96(0x117)]:_0x36b7bf[_0x120e96(0x11b)],_0x4a9221=await helper[_0x120e96(0x103)](_0x36b7bf[_0x120e96(0xfb)],_0x120e96(0xef)+_0x4e5f4c+'&type='+_0x1e5450,{},this.#config),_0x114695=_0x4a9221[_0x120e96(0xea)];return logger[_0x120e96(0x113)](_0x36b7bf[_0x120e96(0xe8)]),_0x114695[_0x120e96(0x10d)];}catch(_0x145c3d){return logger[_0x120e96(0x131)](_0x120e96(0x123)+_0x145c3d),null;}}async[a104_0x1436c4(0xf9)](){const _0x51e4f4=a104_0x1436c4,_0x46902b={'tqUjV':function(_0x4a3c9a,_0x4c16ad){return _0x4a3c9a(_0x4c16ad);},'jmyei':function(_0x3c0a3c,_0x3a57c7){return _0x3c0a3c+_0x3a57c7;},'hTfyA':_0x51e4f4(0xf5),'MJktm':'percy.json'};if(!this.#config[_0x51e4f4(0x12c)])return null;const _0x363f1f=path[_0x51e4f4(0xfd)](os['tmpdir'](),_0x46902b['MJktm']),_0x565e40=this.#config[_0x51e4f4(0x12c)];return!_0x565e40[_0x51e4f4(0x11e)]&&(_0x565e40[_0x51e4f4(0x11e)]='2'),new Promise((_0x1aaa23,_0x2b3cea)=>{const _0x1fd941=_0x51e4f4,_0x276c94={'pgtVo':function(_0x2f0ecb,_0x450a55){const _0x12353c=a104_0x468b;return _0x46902b[_0x12353c(0x133)](_0x2f0ecb,_0x450a55);},'cCiMz':function(_0x1127a7,_0x179e5e){const _0xa5c8c9=a104_0x468b;return _0x46902b[_0xa5c8c9(0x12e)](_0x1127a7,_0x179e5e);},'hVzKH':_0x46902b[_0x1fd941(0x11f)],'XQuYs':function(_0x2ffda4,_0x4df61e){const _0x51a836=_0x1fd941;return _0x46902b[_0x51a836(0x133)](_0x2ffda4,_0x4df61e);}};fs[_0x1fd941(0xe1)](_0x363f1f,JSON[_0x1fd941(0xf0)](_0x565e40),_0x177c0a=>{const _0x4f6186=_0x1fd941;_0x177c0a&&(logger[_0x4f6186(0x131)](_0x4f6186(0x129)+_0x177c0a),_0x276c94[_0x4f6186(0xe9)](_0x1aaa23,null)),logger[_0x4f6186(0x113)](_0x276c94[_0x4f6186(0x12b)](_0x276c94[_0x4f6186(0x116)],_0x363f1f)),_0x276c94[_0x4f6186(0xf7)](_0x1aaa23,_0x363f1f);});});}}module[a104_0x1436c4(0xf1)]=Percy;
@@ -1 +1 @@
1
- const a105_0x39309a=a105_0x38b6;(function(_0x4880e0,_0xbaaef9){const _0x1c7fc0=a105_0x38b6,_0x390ab1=_0x4880e0();while(!![]){try{const _0x17f9cd=parseInt(_0x1c7fc0(0x1cd))/0x1+parseInt(_0x1c7fc0(0x222))/0x2*(parseInt(_0x1c7fc0(0x22e))/0x3)+-parseInt(_0x1c7fc0(0x24a))/0x4+parseInt(_0x1c7fc0(0x25d))/0x5*(-parseInt(_0x1c7fc0(0x215))/0x6)+-parseInt(_0x1c7fc0(0x256))/0x7*(-parseInt(_0x1c7fc0(0x1ff))/0x8)+parseInt(_0x1c7fc0(0x1fa))/0x9*(parseInt(_0x1c7fc0(0x21a))/0xa)+-parseInt(_0x1c7fc0(0x207))/0xb*(parseInt(_0x1c7fc0(0x25e))/0xc);if(_0x17f9cd===_0xbaaef9)break;else _0x390ab1['push'](_0x390ab1['shift']());}catch(_0x46ea0b){_0x390ab1['push'](_0x390ab1['shift']());}}}(a105_0x73e7,0x79623));const {https}=require('follow-redirects'),url=require(a105_0x39309a(0x1fe)),yauzl=require(a105_0x39309a(0x1f8)),fs=require('fs'),path=require(a105_0x39309a(0x22b)),os=require('os'),{spawn}=require(a105_0x39309a(0x1dc)),HttpsProxyAgent=require(a105_0x39309a(0x23e)),logger=require('../logger')[a105_0x39309a(0x1f0)];class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a105_0x39309a(0x258);#orderedPaths=[path[a105_0x39309a(0x1e6)](this.#homedir(),a105_0x39309a(0x220)),process[a105_0x39309a(0x1fd)](),os['tmpdir']()];constructor(){const _0x5c3d03=a105_0x39309a,_0x354dcf={};_0x354dcf[_0x5c3d03(0x1d5)]=_0x5c3d03(0x1d9),_0x354dcf[_0x5c3d03(0x22d)]=function(_0x5131c2,_0x5443c4){return _0x5131c2+_0x5443c4;},_0x354dcf[_0x5c3d03(0x225)]='/percy-osx.zip',_0x354dcf[_0x5c3d03(0x236)]=_0x5c3d03(0x1f9),_0x354dcf[_0x5c3d03(0x24b)]=_0x5c3d03(0x1d0),_0x354dcf[_0x5c3d03(0x1f6)]=function(_0x406afc,_0x39be56){return _0x406afc+_0x39be56;},_0x354dcf[_0x5c3d03(0x219)]=_0x5c3d03(0x1ce);const _0xf565b2=_0x354dcf,_0x14884f=_0xf565b2[_0x5c3d03(0x1d5)];if(this.#hostOS['match'](/darwin|mac os/i))this.#httpPath=_0xf565b2[_0x5c3d03(0x22d)](_0x14884f,_0xf565b2['thnuN']);else this.#hostOS[_0x5c3d03(0x23a)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0xf565b2['DpoEl'](_0x14884f,_0xf565b2[_0x5c3d03(0x236)]),this.#binaryName=_0xf565b2[_0x5c3d03(0x24b)]):this.#httpPath=_0xf565b2[_0x5c3d03(0x1f6)](_0x14884f,_0xf565b2[_0x5c3d03(0x219)]);}#getAvailableDirs(){const _0x3cfd05=a105_0x39309a,_0x4b0212={};_0x4b0212[_0x3cfd05(0x241)]=function(_0x2ffc17,_0x3e58e0){return _0x2ffc17<_0x3e58e0;},_0x4b0212[_0x3cfd05(0x1e0)]=_0x3cfd05(0x22a);const _0x60c74c=_0x4b0212;for(var _0x57510c=0x0;_0x60c74c['ryrrM'](_0x57510c,this.#orderedPaths[_0x3cfd05(0x209)]);_0x57510c++){var _0x33334a=this.#orderedPaths[_0x57510c];if(this.#makePath(_0x33334a))return _0x33334a;}throw new Error(_0x60c74c[_0x3cfd05(0x1e0)]);}#makePath(_0x404d97){const _0x9af7cc=a105_0x39309a;try{return _0x404d97&&!this.#checkPath(_0x404d97)&&fs[_0x9af7cc(0x1f2)](_0x404d97),!![];}catch{return![];}}#checkPath(_0x19742b,_0xc443dd){const _0x400265=a105_0x39309a,_0x1606f2={};_0x1606f2[_0x400265(0x20c)]=function(_0x401452,_0x898706){return _0x401452|_0x898706;},_0x1606f2[_0x400265(0x21b)]=function(_0x1f7e3c,_0x1e4bc5){return _0x1f7e3c!==_0x1e4bc5;},_0x1606f2[_0x400265(0x1e1)]=_0x400265(0x201);const _0x2eb200=_0x1606f2;_0xc443dd=_0xc443dd||_0x2eb200[_0x400265(0x20c)](fs[_0x400265(0x1ed)],fs[_0x400265(0x20f)]);try{return fs[_0x400265(0x1eb)](_0x19742b,_0xc443dd),!![];}catch(_0x1a4d77){if(_0x2eb200[_0x400265(0x21b)](typeof fs['accessSync'],_0x2eb200[_0x400265(0x1e1)]))return![];try{return fs[_0x400265(0x255)](_0x19742b),!![];}catch(_0x294ee3){return![];}}}#getETagPath(_0x4a379d){const _0x46b4fe=a105_0x39309a;return path[_0x46b4fe(0x1e6)](_0x4a379d,this.#binaryName+_0x46b4fe(0x1cc));}#loadETag(_0x3a85bd){const _0x418547=a105_0x39309a,_0x574ef5={};_0x574ef5[_0x418547(0x240)]='utf8';const _0x4b2716=_0x574ef5,_0x49bec7=this.#getETagPath(_0x3a85bd);if(this.#checkPath(_0x49bec7))try{return fs['readFileSync'](_0x49bec7,_0x4b2716['xYGpU'])[_0x418547(0x238)]();}catch(_0x40c028){logger['warn']('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x40c028);}return null;}#saveETag(_0x14253a,_0x36b206){const _0x56fc6e=a105_0x39309a,_0x4486b0={};_0x4486b0['NNuYy']=_0x56fc6e(0x1e4);const _0x3b47e3=_0x4486b0;if(!_0x36b206)return;try{const _0x5ad964=this.#getETagPath(_0x14253a);fs[_0x56fc6e(0x246)](_0x5ad964,_0x36b206),logger[_0x56fc6e(0x243)](_0x3b47e3['NNuYy']);}catch(_0x588630){logger[_0x56fc6e(0x1e7)](_0x56fc6e(0x24d)+_0x588630);}}async #handleBinaryDownload(_0xc484c0,_0x2cc2b0,_0x499afe){const _0x2c2df1=a105_0x39309a,_0x349a6e={};_0x349a6e[_0x2c2df1(0x200)]=_0x2c2df1(0x1e2);const _0x288b58=_0x349a6e,_0x4a4b99=await this['validateBinary'](_0xc484c0['binaryPath']);if(!_0x4a4b99){logger[_0x2c2df1(0x232)](_0x288b58[_0x2c2df1(0x200)]);const _0x595543=await this[_0x2c2df1(0x25b)](_0x2cc2b0,_0x499afe);return _0x595543['binaryPath'];}return _0xc484c0[_0x2c2df1(0x212)];}async[a105_0x39309a(0x217)](_0x5cd5fd){const _0x180c88=a105_0x39309a,_0x2d07da={};_0x2d07da['XkXTA']='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x2d07da[_0x180c88(0x202)]=_0x180c88(0x1d2);const _0x52b536=_0x2d07da,_0xa6ab91=this.#getAvailableDirs(),_0x60ae38=path[_0x180c88(0x1e6)](_0xa6ab91,this.#binaryName);if(this.#checkPath(_0x60ae38,fs[_0x180c88(0x1d4)])){const _0x4b0d3b=this.#loadETag(_0xa6ab91);if(_0x4b0d3b)try{const _0x24400a=await this['download'](_0x5cd5fd,_0xa6ab91,_0x4b0d3b);if(!_0x24400a[_0x180c88(0x1f7)])return logger['debug'](_0x52b536['XkXTA']),_0x60ae38;return logger['debug'](_0x52b536[_0x180c88(0x202)]),await this.#handleBinaryDownload(_0x24400a,_0x5cd5fd,_0xa6ab91);}catch(_0x1a8cd6){return logger['warn'](_0x180c88(0x230)+_0x1a8cd6),_0x60ae38;}}const _0x2a3fef=await this[_0x180c88(0x25b)](_0x5cd5fd,_0xa6ab91);return await this.#handleBinaryDownload(_0x2a3fef,_0x5cd5fd,_0xa6ab91);}['download'](_0x211645,_0x214646,_0x161a56=null){const _0x16ff7d=a105_0x39309a,_0x500904={'oocQe':function(_0x1bdded,_0x5a567d){return _0x1bdded(_0x5a567d);},'AGKZZ':function(_0x9ae7e6,_0x197798){return _0x9ae7e6(_0x197798);},'nPPwj':function(_0x2b5b29,_0x5a91b2){return _0x2b5b29===_0x5a91b2;},'rBtxD':_0x16ff7d(0x232),'CTKhu':_0x16ff7d(0x22f),'alpHS':function(_0x4daa95,_0x191733){return _0x4daa95+_0x191733;},'cQsVx':_0x16ff7d(0x21d)};_0x214646&&!this.#checkPath(_0x214646)&&fs[_0x16ff7d(0x1f2)](_0x214646);const _0x2fd711=this.#binaryName,_0x13a479=path[_0x16ff7d(0x1e6)](_0x214646,_0x500904[_0x16ff7d(0x206)](_0x2fd711,_0x500904[_0x16ff7d(0x23c)])),_0xa2b96b=fs[_0x16ff7d(0x203)](_0x13a479),_0x2b01c7=url['parse'](this.#httpPath);if(_0x211645[_0x16ff7d(0x214)]&&_0x211645['proxyPort']){const _0x3a3208={};_0x3a3208[_0x16ff7d(0x23b)]=_0x211645['proxyHost'],_0x3a3208[_0x16ff7d(0x257)]=_0x211645['proxyPort'],_0x2b01c7['agent']=new HttpsProxyAgent(_0x3a3208);}if(_0x211645[_0x16ff7d(0x24f)])try{_0x2b01c7['ca']=fs['readFileSync'](_0x211645[_0x16ff7d(0x24f)]);}catch(_0xb0a80b){logger[_0x16ff7d(0x232)](_0x16ff7d(0x1de)+_0xb0a80b);}if(_0x161a56){const _0x4672e4={};_0x4672e4[_0x16ff7d(0x1dd)]=_0x161a56,_0x2b01c7['headers']=_0x4672e4;}return new Promise((_0x5c4972,_0x372696)=>{const _0xd56d9f=_0x16ff7d,_0x5ca33c={'ZCPDl':function(_0x23cb5e,_0x1ec072){const _0x43b980=a105_0x38b6;return _0x500904[_0x43b980(0x20a)](_0x23cb5e,_0x1ec072);},'QFwHn':function(_0x457a82,_0x2e896b){const _0x44e06e=a105_0x38b6;return _0x500904[_0x44e06e(0x1e5)](_0x457a82,_0x2e896b);},'vMRPH':function(_0x30a0b0,_0x142087){return _0x500904['nPPwj'](_0x30a0b0,_0x142087);},'KTApq':function(_0x3c68f4,_0x5e5d54){const _0x44d65c=a105_0x38b6;return _0x500904[_0x44d65c(0x1e5)](_0x3c68f4,_0x5e5d54);},'mLBcT':_0x500904[_0xd56d9f(0x1f5)],'brpuN':_0x500904[_0xd56d9f(0x1ec)],'FzAsj':function(_0x1d2dc7,_0xd72b6a){const _0x1c097c=_0xd56d9f;return _0x500904[_0x1c097c(0x20a)](_0x1d2dc7,_0xd72b6a);}};https[_0xd56d9f(0x1e9)](_0x2b01c7,_0x2a46bc=>{const _0x2a2005=_0xd56d9f,_0x424913={'ChdgF':function(_0x482b8d,_0x5ba055){const _0x4c958b=a105_0x38b6;return _0x5ca33c[_0x4c958b(0x208)](_0x482b8d,_0x5ba055);}};if(_0x161a56&&_0x5ca33c[_0x2a2005(0x205)](_0x2a46bc['statusCode'],0x130)){const _0x1cb369={};_0x1cb369['needsUpdate']=![],_0x5ca33c[_0x2a2005(0x265)](_0x5c4972,_0x1cb369);return;}const _0x4c1244=_0x2a46bc[_0x2a2005(0x248)][_0x2a2005(0x1e8)];_0x4c1244&&this.#saveETag(_0x214646,_0x4c1244),_0x2a46bc[_0x2a2005(0x259)](_0xa2b96b),_0x2a46bc['on'](_0x5ca33c[_0x2a2005(0x1ef)],function(_0x27f857){const _0x4f1e6a=_0x2a2005;logger[_0x4f1e6a(0x232)](_0x4f1e6a(0x1f4)+_0x27f857),_0x5ca33c[_0x4f1e6a(0x21e)](_0x372696,_0x27f857);}),_0xa2b96b['on'](_0x5ca33c[_0x2a2005(0x1ef)],function(_0x44353c){const _0x30a895=_0x2a2005;logger[_0x30a895(0x232)](_0x30a895(0x1e3)+_0x44353c),_0x424913[_0x30a895(0x22c)](_0x372696,_0x44353c);}),_0xa2b96b['on'](_0x5ca33c[_0x2a2005(0x1ea)],()=>{const _0x24f527=_0x2a2005;this[_0x24f527(0x1cf)](_0x13a479,_0x214646)[_0x24f527(0x213)](_0x46968d=>_0x5c4972({'needsUpdate':!![],'binaryPath':_0x46968d}))['catch'](_0x372696);});})['on'](_0x500904[_0xd56d9f(0x1f5)],function(_0x2e79cd){const _0x261b49=_0xd56d9f;logger[_0x261b49(0x232)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0x2e79cd),_0x5ca33c[_0x261b49(0x210)](_0x372696,_0x2e79cd);});});}[a105_0x39309a(0x1cf)](_0x2bd659,_0x33a2d7){const _0x3c8f19=a105_0x39309a,_0x256640={'AKRZz':function(_0x5b467c,_0x16ad22){return _0x5b467c(_0x16ad22);},'tjZcw':'end','iUbNq':function(_0x3186be,_0x3edd43){return _0x3186be===_0x3edd43;},'qJPiH':_0x3c8f19(0x1fc),'bselR':function(_0x27b3a6,_0xcb4aa5){return _0x27b3a6(_0xcb4aa5);},'fJfJQ':_0x3c8f19(0x204),'cenZH':_0x3c8f19(0x232)},_0x383800=this.#binaryName,_0x22227c=path[_0x3c8f19(0x1e6)](_0x33a2d7,_0x383800);return new Promise((_0x2ed96a,_0x416cac)=>{const _0x23c25a=_0x3c8f19,_0x5d2285={'FdQfc':function(_0x4e3018,_0x51c274){const _0x3a2a0a=a105_0x38b6;return _0x256640[_0x3a2a0a(0x250)](_0x4e3018,_0x51c274);},'bgXbt':_0x256640[_0x23c25a(0x1d1)],'xnSiw':function(_0x1a07eb,_0x3733ba){const _0x1b4275=_0x23c25a;return _0x256640[_0x1b4275(0x216)](_0x1a07eb,_0x3733ba);},'Lvjee':_0x256640[_0x23c25a(0x242)],'AZutf':function(_0x5c93c,_0x5309d2){const _0x45badb=_0x23c25a;return _0x256640[_0x45badb(0x250)](_0x5c93c,_0x5309d2);},'zlWRG':function(_0x1a7425,_0x3a3187){const _0x58138b=_0x23c25a;return _0x256640[_0x58138b(0x224)](_0x1a7425,_0x3a3187);},'wAtOC':function(_0x445663,_0x2bb082){const _0x3bb205=_0x23c25a;return _0x256640[_0x3bb205(0x224)](_0x445663,_0x2bb082);},'MhmlX':_0x256640[_0x23c25a(0x25a)],'wsPnv':_0x256640[_0x23c25a(0x1d7)]},_0x1c21d1={};_0x1c21d1[_0x23c25a(0x25f)]=!![],yauzl[_0x23c25a(0x244)](_0x2bd659,_0x1c21d1,function(_0x5d2487,_0x420955){const _0x23ed29=_0x23c25a,_0xf7c9a8={'JEiij':function(_0x28776c,_0x3d5cf2){const _0x4dbedc=a105_0x38b6;return _0x5d2285[_0x4dbedc(0x24e)](_0x28776c,_0x3d5cf2);},'FWqyV':function(_0x2dbc6e,_0x3b4ad7){const _0x1489fc=a105_0x38b6;return _0x5d2285[_0x1489fc(0x25c)](_0x2dbc6e,_0x3b4ad7);}};_0x5d2487&&_0x5d2285['wAtOC'](_0x416cac,_0x5d2487),_0x420955[_0x23ed29(0x1d3)](),_0x420955['on'](_0x5d2285['MhmlX'],_0x5987a8=>{const _0x3f00a3=_0x23ed29,_0x1102f1={'XkoUD':function(_0x94a8f3,_0x2297ac){return _0x5d2285['FdQfc'](_0x94a8f3,_0x2297ac);},'PGlsi':_0x5d2285['bgXbt']};if(/\/$/[_0x3f00a3(0x21f)](_0x5987a8[_0x3f00a3(0x254)]))_0x420955[_0x3f00a3(0x1d3)]();else{const _0x3d104e=fs[_0x3f00a3(0x203)](path[_0x3f00a3(0x1e6)](_0x33a2d7,_0x5987a8[_0x3f00a3(0x254)]));_0x420955['openReadStream'](_0x5987a8,function(_0x54cf23,_0xab587f){_0x54cf23&&_0x1102f1['XkoUD'](_0x416cac,_0x5d2487),_0xab587f['on'](_0x1102f1['PGlsi'],function(){const _0x553056=a105_0x38b6;_0x3d104e['close'](),_0x420955[_0x553056(0x1d3)]();}),_0xab587f['pipe'](_0x3d104e);}),_0x5d2285[_0x3f00a3(0x262)](_0x5987a8[_0x3f00a3(0x254)],_0x383800)&&_0x420955[_0x3f00a3(0x22f)]();}}),_0x420955['on'](_0x5d2285[_0x23ed29(0x1df)],_0x44ba9b=>{const _0x356512=_0x23ed29;_0x5d2285[_0x356512(0x261)](_0x416cac,_0x44ba9b);}),_0x420955['once'](_0x5d2285[_0x23ed29(0x233)],()=>{const _0x355a21=_0x23ed29;fs[_0x355a21(0x23d)](_0x22227c,_0x5d2285[_0x355a21(0x234)],function(_0x521024){const _0x4c9bb5=_0x355a21;_0x521024&&_0xf7c9a8[_0x4c9bb5(0x264)](_0x416cac,_0x521024),_0xf7c9a8['FWqyV'](_0x2ed96a,_0x22227c);}),_0x420955[_0x355a21(0x22f)]();});});});}async[a105_0x39309a(0x1d8)](_0x10660c){const _0x25953f=a105_0x39309a,_0x2bd5bd={'oQjBb':function(_0x58f0d4,_0xba79a9){return _0x58f0d4(_0xba79a9);},'nHitB':function(_0x452101,_0x6a8afc,_0x1ae1a5,_0x31f478){return _0x452101(_0x6a8afc,_0x1ae1a5,_0x31f478);},'INaMu':'--version','TDoig':'data','JAsYY':_0x25953f(0x22f)},_0x569739=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x2dcec0,_0x22ae96)=>{const _0x2169f0=_0x25953f,_0x154fca={};_0x154fca[_0x2169f0(0x1da)]=process['env'];const _0x49a3e8=_0x2bd5bd[_0x2169f0(0x245)](spawn,_0x10660c,[_0x2bd5bd[_0x2169f0(0x1d6)]],_0x154fca);_0x49a3e8[_0x2169f0(0x251)]['on'](_0x2bd5bd[_0x2169f0(0x252)],_0x133dce=>{const _0x149767=_0x2169f0;_0x569739[_0x149767(0x21f)](_0x133dce)&&_0x2bd5bd[_0x149767(0x223)](_0x2dcec0,!![]);}),_0x49a3e8['on'](_0x2bd5bd['JAsYY'],()=>{const _0x504307=_0x2169f0;_0x2bd5bd[_0x504307(0x223)](_0x2dcec0,![]);});});}#homedir(){const _0x21d47b=a105_0x39309a,_0x5549ed={};_0x5549ed[_0x21d47b(0x20e)]=function(_0x3c4016,_0x3d77ba){return _0x3c4016===_0x3d77ba;},_0x5549ed[_0x21d47b(0x263)]=_0x21d47b(0x253),_0x5549ed[_0x21d47b(0x218)]=_0x21d47b(0x235),_0x5549ed[_0x21d47b(0x237)]=function(_0x17a68c,_0x427ed4){return _0x17a68c+_0x427ed4;},_0x5549ed[_0x21d47b(0x228)]='darwin',_0x5549ed[_0x21d47b(0x21c)]=_0x21d47b(0x1ee),_0x5549ed[_0x21d47b(0x1db)]=function(_0x31fce8,_0x4195d0){return _0x31fce8===_0x4195d0;},_0x5549ed[_0x21d47b(0x211)]=_0x21d47b(0x239),_0x5549ed[_0x21d47b(0x1f1)]=_0x21d47b(0x231),_0x5549ed[_0x21d47b(0x23f)]=function(_0x24319d,_0x3cd989){return _0x24319d+_0x3cd989;},_0x5549ed['FcvUp']='/home/',_0x5549ed[_0x21d47b(0x1fb)]=function(_0x571e00,_0x594c7e){return _0x571e00||_0x594c7e;};const _0x37b5a4=_0x5549ed;if(_0x37b5a4['zzBNi'](typeof os[_0x21d47b(0x20d)],_0x37b5a4[_0x21d47b(0x263)]))return os[_0x21d47b(0x20d)]();const _0x11fb40=process[_0x21d47b(0x1da)],_0x17ec85=_0x11fb40[_0x21d47b(0x227)],_0x19f1f3=_0x11fb40[_0x21d47b(0x226)]||_0x11fb40[_0x21d47b(0x221)]||_0x11fb40[_0x21d47b(0x249)]||_0x11fb40['USERNAME'];if(_0x37b5a4[_0x21d47b(0x20e)](process[_0x21d47b(0x260)],_0x37b5a4['sQtpL']))return _0x11fb40[_0x21d47b(0x247)]||_0x37b5a4[_0x21d47b(0x237)](_0x11fb40[_0x21d47b(0x24c)],_0x11fb40[_0x21d47b(0x229)])||_0x17ec85||null;if(_0x37b5a4[_0x21d47b(0x20e)](process['platform'],_0x37b5a4[_0x21d47b(0x228)]))return _0x17ec85||(_0x19f1f3?_0x37b5a4['CnoiJ'](_0x37b5a4[_0x21d47b(0x21c)],_0x19f1f3):null);if(_0x37b5a4[_0x21d47b(0x1db)](process[_0x21d47b(0x260)],_0x37b5a4[_0x21d47b(0x211)]))return _0x17ec85||(_0x37b5a4[_0x21d47b(0x20e)](process[_0x21d47b(0x1f3)](),0x0)?_0x37b5a4[_0x21d47b(0x1f1)]:_0x19f1f3?_0x37b5a4[_0x21d47b(0x23f)](_0x37b5a4[_0x21d47b(0x1cb)],_0x19f1f3):null);return _0x37b5a4[_0x21d47b(0x1fb)](_0x17ec85,null);}}module[a105_0x39309a(0x20b)]=PercyBinary;function a105_0x38b6(_0xb8d00f,_0x281a68){const _0x73e76=a105_0x73e7();return a105_0x38b6=function(_0x38b657,_0x5bb45){_0x38b657=_0x38b657-0x1cb;let _0x242a5f=_0x73e76[_0x38b657];return _0x242a5f;},a105_0x38b6(_0xb8d00f,_0x281a68);}function a105_0x73e7(){const _0x487995=['INaMu','cenZH','validateBinary','https://github.com/percy/cli/releases/latest/download','env','RUgBY','child_process','If-None-Match','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','wsPnv','CPqKS','zuQrM','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','Saved\x20new\x20ETag\x20for\x20percy\x20binary','AGKZZ','join','warn','etag','get','brpuN','accessSync','CTKhu','R_OK','/Users/','mLBcT','winstonLogger','ipCqj','mkdirSync','getuid','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','rBtxD','nGEqI','needsUpdate','yauzl','/percy-win.zip','657YnISBQ','uyLVc','0755','cwd','url','40OxEWCQ','BRUtF','undefined','vqXTc','createWriteStream','entry','vMRPH','alpHS','7799kAPJWl','QFwHn','length','oocQe','exports','UOxCP','homedir','zzBNi','W_OK','FzAsj','DXxia','binaryPath','then','proxyHost','18LnFMJg','iUbNq','getBinaryPath','sQtpL','zovKD','130570VcLrhQ','ZnMwA','XlqHA','.zip','ZCPDl','test','.browserstack','USER','132ZsnymW','oQjBb','bselR','thnuN','LOGNAME','HOME','CTfKw','HOMEPATH','Error\x20trying\x20to\x20download\x20percy\x20binary','path','ChdgF','DpoEl','32388bRUEDw','close','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','/root','error','bgXbt','Lvjee','win32','gfKJk','CnoiJ','trim','linux','match','host','cQsVx','chmod','https-proxy-agent','lSDak','xYGpU','ryrrM','qJPiH','debug','open','nHitB','writeFileSync','USERPROFILE','headers','LNAME','2154488pNxsfJ','qlERx','HOMEDRIVE','Failed\x20to\x20save\x20ETag\x20file:\x20','AZutf','useCaCertificate','AKRZz','stdout','TDoig','function','fileName','statSync','386428DecPUz','port','percy','pipe','fJfJQ','download','zlWRG','750445dRfTMc','15060oQBqTn','lazyEntries','platform','FdQfc','xnSiw','oCPJR','JEiij','KTApq','FcvUp','.etag','434154rDYlIt','/percy-linux.zip','extractAndSaveBinary','percy.exe','tjZcw','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','readEntry','X_OK','BIEwm'];a105_0x73e7=function(){return _0x487995;};return a105_0x73e7();}
1
+ function a105_0x40ed(_0x250993,_0x530c47){const _0x353ca6=a105_0x353c();return a105_0x40ed=function(_0x40edd0,_0x568b2f){_0x40edd0=_0x40edd0-0x10e;let _0x45c73b=_0x353ca6[_0x40edd0];return _0x45c73b;},a105_0x40ed(_0x250993,_0x530c47);}const a105_0x4537eb=a105_0x40ed;(function(_0xe9f83f,_0x3647c0){const _0x90a2f3=a105_0x40ed,_0xd10132=_0xe9f83f();while(!![]){try{const _0x1de5b7=-parseInt(_0x90a2f3(0x10f))/0x1*(-parseInt(_0x90a2f3(0x168))/0x2)+parseInt(_0x90a2f3(0x197))/0x3*(parseInt(_0x90a2f3(0x127))/0x4)+parseInt(_0x90a2f3(0x181))/0x5+parseInt(_0x90a2f3(0x123))/0x6*(parseInt(_0x90a2f3(0x164))/0x7)+parseInt(_0x90a2f3(0x199))/0x8+-parseInt(_0x90a2f3(0x18b))/0x9*(-parseInt(_0x90a2f3(0x11f))/0xa)+-parseInt(_0x90a2f3(0x13e))/0xb*(parseInt(_0x90a2f3(0x194))/0xc);if(_0x1de5b7===_0x3647c0)break;else _0xd10132['push'](_0xd10132['shift']());}catch(_0x56f7a6){_0xd10132['push'](_0xd10132['shift']());}}}(a105_0x353c,0xa4e32));const {https}=require(a105_0x4537eb(0x16b)),url=require(a105_0x4537eb(0x13d)),yauzl=require(a105_0x4537eb(0x140)),fs=require('fs'),path=require(a105_0x4537eb(0x133)),os=require('os'),{spawn}=require(a105_0x4537eb(0x12f)),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a105_0x4537eb(0x121))[a105_0x4537eb(0x19e)];class PercyBinary{#hostOS=process[a105_0x4537eb(0x177)];#httpPath=null;#binaryName=a105_0x4537eb(0x147);#orderedPaths=[path[a105_0x4537eb(0x1a0)](this.#homedir(),'.browserstack'),process[a105_0x4537eb(0x119)](),os['tmpdir']()];constructor(){const _0x16f0ab=a105_0x4537eb,_0x639214={};_0x639214[_0x16f0ab(0x114)]=_0x16f0ab(0x16a),_0x639214[_0x16f0ab(0x120)]=function(_0x73483c,_0x378533){return _0x73483c+_0x378533;},_0x639214['bUJmP']=_0x16f0ab(0x14c),_0x639214[_0x16f0ab(0x13f)]='/percy-win.zip',_0x639214[_0x16f0ab(0x196)]=_0x16f0ab(0x185),_0x639214['lnvnp']=function(_0x3ce583,_0x456c0a){return _0x3ce583+_0x456c0a;},_0x639214[_0x16f0ab(0x18f)]=_0x16f0ab(0x198);const _0x12dbb7=_0x639214,_0x19c8fe=_0x12dbb7[_0x16f0ab(0x114)];if(this.#hostOS[_0x16f0ab(0x154)](/darwin|mac os/i))this.#httpPath=_0x12dbb7[_0x16f0ab(0x120)](_0x19c8fe,_0x12dbb7[_0x16f0ab(0x128)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x12dbb7[_0x16f0ab(0x120)](_0x19c8fe,_0x12dbb7['jzwJz']),this.#binaryName=_0x12dbb7[_0x16f0ab(0x196)]):this.#httpPath=_0x12dbb7[_0x16f0ab(0x111)](_0x19c8fe,_0x12dbb7[_0x16f0ab(0x18f)]);}#getAvailableDirs(){const _0xcb2599=a105_0x4537eb,_0x547fae={};_0x547fae['npNmc']=function(_0x4a0dd6,_0x1d8eb2){return _0x4a0dd6<_0x1d8eb2;},_0x547fae['wpxjF']=_0xcb2599(0x11a);const _0x3806d7=_0x547fae;for(var _0x1fbfdf=0x0;_0x3806d7[_0xcb2599(0x193)](_0x1fbfdf,this.#orderedPaths['length']);_0x1fbfdf++){var _0x1c4a81=this.#orderedPaths[_0x1fbfdf];if(this.#makePath(_0x1c4a81))return _0x1c4a81;}throw new Error(_0x3806d7[_0xcb2599(0x15d)]);}#makePath(_0x243bdb){const _0x50d54c=a105_0x4537eb;try{return _0x243bdb&&!this.#checkPath(_0x243bdb)&&fs[_0x50d54c(0x152)](_0x243bdb),!![];}catch{return![];}}#checkPath(_0x2dcbaf,_0x35b6d2){const _0x9627fa=a105_0x4537eb,_0x663f60={};_0x663f60[_0x9627fa(0x160)]=function(_0x3df071,_0x3dde96){return _0x3df071|_0x3dde96;},_0x663f60[_0x9627fa(0x136)]=function(_0x121723,_0x1fd69a){return _0x121723!==_0x1fd69a;},_0x663f60[_0x9627fa(0x150)]=_0x9627fa(0x19d);const _0x4806fe=_0x663f60;_0x35b6d2=_0x35b6d2||_0x4806fe[_0x9627fa(0x160)](fs[_0x9627fa(0x137)],fs[_0x9627fa(0x167)]);try{return fs[_0x9627fa(0x14a)](_0x2dcbaf,_0x35b6d2),!![];}catch(_0x1b0435){if(_0x4806fe[_0x9627fa(0x136)](typeof fs['accessSync'],_0x4806fe[_0x9627fa(0x150)]))return![];try{return fs[_0x9627fa(0x131)](_0x2dcbaf),!![];}catch(_0x32b2a2){return![];}}}#getETagPath(_0x128d7f){const _0x5653d7=a105_0x4537eb;return path[_0x5653d7(0x1a0)](_0x128d7f,this.#binaryName+_0x5653d7(0x16d));}#loadETag(_0xb05035){const _0x21d71f=a105_0x4537eb,_0x45c85d={};_0x45c85d[_0x21d71f(0x13a)]=_0x21d71f(0x161);const _0x461053=_0x45c85d,_0x245a58=this.#getETagPath(_0xb05035);if(this.#checkPath(_0x245a58))try{return fs['readFileSync'](_0x245a58,_0x461053[_0x21d71f(0x13a)])['trim']();}catch(_0x12a3fa){logger[_0x21d71f(0x183)](_0x21d71f(0x124)+_0x12a3fa);}return null;}#saveETag(_0x26d27e,_0x4434b8){const _0x48b5e8=a105_0x4537eb,_0x2de861={};_0x2de861[_0x48b5e8(0x16e)]=_0x48b5e8(0x10e);const _0x1a685d=_0x2de861;if(!_0x4434b8)return;try{const _0x2047a4=this.#getETagPath(_0x26d27e);fs[_0x48b5e8(0x134)](_0x2047a4,_0x4434b8),logger[_0x48b5e8(0x12c)](_0x1a685d['Ildbd']);}catch(_0x4ca0ec){logger[_0x48b5e8(0x183)](_0x48b5e8(0x171)+_0x4ca0ec);}}async #handleBinaryDownload(_0x4b146d,_0x1b649e,_0xcf4fa1){const _0x396a90=a105_0x4537eb,_0x52a26f={};_0x52a26f[_0x396a90(0x11b)]='Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying';const _0x5e9d1e=_0x52a26f,_0x158bad=await this[_0x396a90(0x184)](_0x4b146d[_0x396a90(0x149)]);if(!_0x158bad){logger[_0x396a90(0x18d)](_0x5e9d1e['OXMrI']);const _0x49961b=await this['download'](_0x1b649e,_0xcf4fa1);return _0x49961b[_0x396a90(0x149)];}return _0x4b146d['binaryPath'];}async[a105_0x4537eb(0x165)](_0x57351a){const _0x204d28=a105_0x4537eb,_0xae0ca9={};_0xae0ca9[_0x204d28(0x125)]=_0x204d28(0x12b),_0xae0ca9['zXXDh']=_0x204d28(0x15c);const _0x168b9d=_0xae0ca9,_0x377dd7=this.#getAvailableDirs(),_0x4d73b8=path['join'](_0x377dd7,this.#binaryName);if(this.#checkPath(_0x4d73b8,fs[_0x204d28(0x17f)])){const _0x2d6770=this.#loadETag(_0x377dd7);if(_0x2d6770)try{const _0x47f392=await this[_0x204d28(0x190)](_0x57351a,_0x377dd7,_0x2d6770);if(!_0x47f392[_0x204d28(0x16f)])return logger[_0x204d28(0x12c)](_0x168b9d['zDRRb']),_0x4d73b8;return logger[_0x204d28(0x12c)](_0x168b9d['zXXDh']),await this.#handleBinaryDownload(_0x47f392,_0x57351a,_0x377dd7);}catch(_0x9d02fd){return logger['warn'](_0x204d28(0x169)+_0x9d02fd),_0x4d73b8;}}const _0x102890=await this['download'](_0x57351a,_0x377dd7);return await this.#handleBinaryDownload(_0x102890,_0x57351a,_0x377dd7);}[a105_0x4537eb(0x190)](_0x36dbf7,_0x3fc54c,_0x17f7de=null){const _0x2efd8a=a105_0x4537eb,_0x42b758={'ChHwe':function(_0x5827c5,_0x11e8ce){return _0x5827c5===_0x11e8ce;},'qesRQ':function(_0x12aa26,_0x3109f5){return _0x12aa26(_0x3109f5);},'rgVcM':_0x2efd8a(0x18d),'iJWvk':'close','rBLDG':function(_0x5725c5,_0x2527b7){return _0x5725c5(_0x2527b7);},'iivVy':function(_0x1afb24,_0xca8eb9){return _0x1afb24(_0xca8eb9);},'aQCQb':function(_0x5d9373,_0x1d4ead){return _0x5d9373+_0x1d4ead;},'zXFiI':_0x2efd8a(0x172)};_0x3fc54c&&!this.#checkPath(_0x3fc54c)&&fs['mkdirSync'](_0x3fc54c);const _0x16ba6b=this.#binaryName,_0x110d3c=path[_0x2efd8a(0x1a0)](_0x3fc54c,_0x42b758[_0x2efd8a(0x159)](_0x16ba6b,_0x42b758[_0x2efd8a(0x162)])),_0x2671c6=fs[_0x2efd8a(0x191)](_0x110d3c),_0x561f34=url[_0x2efd8a(0x15f)](this.#httpPath);if(_0x36dbf7[_0x2efd8a(0x116)]&&_0x36dbf7['proxyPort']){const _0x56bfee={};_0x56bfee[_0x2efd8a(0x12d)]=_0x36dbf7[_0x2efd8a(0x116)],_0x56bfee[_0x2efd8a(0x13b)]=_0x36dbf7[_0x2efd8a(0x182)],_0x561f34['agent']=new HttpsProxyAgent(_0x56bfee);}if(_0x36dbf7['useCaCertificate'])try{_0x561f34['ca']=fs[_0x2efd8a(0x132)](_0x36dbf7['useCaCertificate']);}catch(_0x189e5e){logger[_0x2efd8a(0x18d)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x189e5e);}if(_0x17f7de){const _0x576c09={};_0x576c09[_0x2efd8a(0x175)]=_0x17f7de,_0x561f34['headers']=_0x576c09;}return new Promise((_0x5839c0,_0x34d07d)=>{const _0x42ffcc=_0x2efd8a,_0x59c0ce={'TOJaa':function(_0xaf5fb9,_0x2f3b87){return _0x42b758['rBLDG'](_0xaf5fb9,_0x2f3b87);},'FBZnW':function(_0x456450,_0x4ae8e5){const _0x41417b=a105_0x40ed;return _0x42b758[_0x41417b(0x148)](_0x456450,_0x4ae8e5);}};https[_0x42ffcc(0x130)](_0x561f34,_0x38ae63=>{const _0x5f526a=_0x42ffcc;if(_0x17f7de&&_0x42b758[_0x5f526a(0x15e)](_0x38ae63[_0x5f526a(0x129)],0x130)){const _0x440b2f={};_0x440b2f[_0x5f526a(0x16f)]=![],_0x42b758[_0x5f526a(0x126)](_0x5839c0,_0x440b2f);return;}const _0x59b29d=_0x38ae63[_0x5f526a(0x17b)]['etag'];_0x59b29d&&this.#saveETag(_0x3fc54c,_0x59b29d),_0x38ae63['pipe'](_0x2671c6),_0x38ae63['on'](_0x42b758['rgVcM'],function(_0x39a594){const _0x55bfda=_0x5f526a;logger['error'](_0x55bfda(0x176)+_0x39a594),_0x59c0ce[_0x55bfda(0x173)](_0x34d07d,_0x39a594);}),_0x2671c6['on'](_0x42b758[_0x5f526a(0x146)],function(_0x3a63e4){const _0x175d1f=_0x5f526a;logger[_0x175d1f(0x18d)](_0x175d1f(0x189)+_0x3a63e4),_0x59c0ce[_0x175d1f(0x173)](_0x34d07d,_0x3a63e4);}),_0x2671c6['on'](_0x42b758['iJWvk'],()=>{const _0x5ab49=_0x5f526a;this[_0x5ab49(0x166)](_0x110d3c,_0x3fc54c)[_0x5ab49(0x113)](_0x51b2ad=>_0x5839c0({'needsUpdate':!![],'binaryPath':_0x51b2ad}))['catch'](_0x34d07d);});})['on'](_0x42b758[_0x42ffcc(0x146)],function(_0xb334b6){const _0x1b6776=_0x42ffcc;logger[_0x1b6776(0x18d)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0xb334b6),_0x59c0ce[_0x1b6776(0x138)](_0x34d07d,_0xb334b6);});});}[a105_0x4537eb(0x166)](_0x38ff0c,_0x2e7704){const _0x5911ef=a105_0x4537eb,_0x36f9f6={'OvBCE':function(_0x1c3d1c,_0x2c2331){return _0x1c3d1c(_0x2c2331);},'MQYPx':_0x5911ef(0x174),'PRgcw':function(_0x5c8569,_0x3a8179){return _0x5c8569===_0x3a8179;},'ECtur':function(_0x28a314,_0x3eec21){return _0x28a314(_0x3eec21);},'Pavhv':function(_0x23f2f9,_0xbe32c1){return _0x23f2f9(_0xbe32c1);},'rmRzd':_0x5911ef(0x157),'GpOcx':function(_0x1e93f6,_0x3b1f16){return _0x1e93f6(_0x3b1f16);},'eRAdr':'entry','vMxHd':_0x5911ef(0x18d)},_0x1ca465=this.#binaryName,_0x50e6b4=path[_0x5911ef(0x1a0)](_0x2e7704,_0x1ca465);return new Promise((_0x229f44,_0x5ccffc)=>{const _0x4334a4={};_0x4334a4['lazyEntries']=!![],yauzl['open'](_0x38ff0c,_0x4334a4,function(_0x351d55,_0x30ce7d){const _0x161c18=a105_0x40ed,_0x24e91e={'VHidb':function(_0x1165ea,_0x26f444){const _0x3e3001=a105_0x40ed;return _0x36f9f6[_0x3e3001(0x163)](_0x1165ea,_0x26f444);},'TmXwQ':_0x36f9f6[_0x161c18(0x112)],'ukqFt':function(_0x1cf2e8,_0x362864){const _0x36c2d7=_0x161c18;return _0x36f9f6[_0x36c2d7(0x188)](_0x1cf2e8,_0x362864);},'LNLcG':function(_0x49347c,_0x4a77ef){const _0x3b3842=_0x161c18;return _0x36f9f6[_0x3b3842(0x144)](_0x49347c,_0x4a77ef);},'laemM':function(_0x1153e9,_0x192d45){return _0x36f9f6['Pavhv'](_0x1153e9,_0x192d45);},'DOamB':_0x36f9f6[_0x161c18(0x1a2)]};_0x351d55&&_0x36f9f6[_0x161c18(0x145)](_0x5ccffc,_0x351d55),_0x30ce7d[_0x161c18(0x186)](),_0x30ce7d['on'](_0x36f9f6[_0x161c18(0x11e)],_0x52da4e=>{const _0x6d7286=_0x161c18,_0x1a3d35={'FDKkU':function(_0x553822,_0x5b4e36){const _0xebe87d=a105_0x40ed;return _0x24e91e[_0xebe87d(0x19b)](_0x553822,_0x5b4e36);},'Htesz':_0x24e91e[_0x6d7286(0x158)]};if(/\/$/[_0x6d7286(0x17c)](_0x52da4e[_0x6d7286(0x19a)]))_0x30ce7d[_0x6d7286(0x186)]();else{const _0x41d428=fs[_0x6d7286(0x191)](path[_0x6d7286(0x1a0)](_0x2e7704,_0x52da4e[_0x6d7286(0x19a)]));_0x30ce7d[_0x6d7286(0x195)](_0x52da4e,function(_0x393841,_0x32a006){const _0x5191fc=_0x6d7286;_0x393841&&_0x1a3d35[_0x5191fc(0x180)](_0x5ccffc,_0x351d55),_0x32a006['on'](_0x1a3d35[_0x5191fc(0x155)],function(){const _0x437e27=_0x5191fc;_0x41d428['close'](),_0x30ce7d[_0x437e27(0x186)]();}),_0x32a006[_0x5191fc(0x118)](_0x41d428);}),_0x24e91e[_0x6d7286(0x178)](_0x52da4e[_0x6d7286(0x19a)],_0x1ca465)&&_0x30ce7d[_0x6d7286(0x153)]();}}),_0x30ce7d['on'](_0x36f9f6[_0x161c18(0x122)],_0xa63e5a=>{_0x24e91e['LNLcG'](_0x5ccffc,_0xa63e5a);}),_0x30ce7d[_0x161c18(0x135)](_0x36f9f6[_0x161c18(0x112)],()=>{const _0x2f6353=_0x161c18;fs[_0x2f6353(0x187)](_0x50e6b4,_0x24e91e[_0x2f6353(0x14f)],function(_0x5a567f){const _0x15a135=_0x2f6353;_0x5a567f&&_0x24e91e['laemM'](_0x5ccffc,_0x5a567f),_0x24e91e[_0x15a135(0x19b)](_0x229f44,_0x50e6b4);}),_0x30ce7d[_0x2f6353(0x153)]();});});});}async[a105_0x4537eb(0x184)](_0x26825a){const _0x3bcb30=a105_0x4537eb,_0x529bf5={'Vkfxl':function(_0x5e1fb4,_0x16d233){return _0x5e1fb4(_0x16d233);},'IqfCg':function(_0x4cedd3,_0x42a149,_0x42b45f,_0x5ddcf0){return _0x4cedd3(_0x42a149,_0x42b45f,_0x5ddcf0);},'WmFBh':_0x3bcb30(0x15a),'zFDrn':_0x3bcb30(0x12a),'fVpSU':_0x3bcb30(0x153)},_0x52636d=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x5819b9,_0x468fdb)=>{const _0x5b9689=_0x3bcb30,_0x516646={'YaIzk':function(_0x4efc1d,_0x2bcbd1){return _0x529bf5['Vkfxl'](_0x4efc1d,_0x2bcbd1);}},_0x4d0898={};_0x4d0898['env']=process['env'];const _0x1239ae=_0x529bf5[_0x5b9689(0x117)](spawn,_0x26825a,[_0x529bf5['WmFBh']],_0x4d0898);_0x1239ae['stdout']['on'](_0x529bf5['zFDrn'],_0x2d726f=>{const _0x4ec2b8=_0x5b9689;_0x52636d[_0x4ec2b8(0x17c)](_0x2d726f)&&_0x529bf5[_0x4ec2b8(0x179)](_0x5819b9,!![]);}),_0x1239ae['on'](_0x529bf5[_0x5b9689(0x17a)],()=>{_0x516646['YaIzk'](_0x5819b9,![]);});});}#homedir(){const _0x317c6d=a105_0x4537eb,_0x517c61={};_0x517c61[_0x317c6d(0x11c)]=function(_0x147920,_0x3ede30){return _0x147920===_0x3ede30;},_0x517c61[_0x317c6d(0x16c)]=_0x317c6d(0x13c),_0x517c61['Bjple']=_0x317c6d(0x19c),_0x517c61['Mrmun']=function(_0x43487a,_0x56676a){return _0x43487a+_0x56676a;},_0x517c61[_0x317c6d(0x18e)]=_0x317c6d(0x141),_0x517c61[_0x317c6d(0x19f)]=_0x317c6d(0x11d),_0x517c61[_0x317c6d(0x12e)]=function(_0x2bf6a0,_0x489b3d){return _0x2bf6a0===_0x489b3d;},_0x517c61['VCYwM']=_0x317c6d(0x14b),_0x517c61[_0x317c6d(0x156)]=function(_0x2daff0,_0x5c47b5){return _0x2daff0===_0x5c47b5;},_0x517c61[_0x317c6d(0x151)]=_0x317c6d(0x143),_0x517c61[_0x317c6d(0x170)]=_0x317c6d(0x14d),_0x517c61[_0x317c6d(0x18c)]=function(_0x3d100e,_0x3f4d6d){return _0x3d100e||_0x3f4d6d;};const _0x3338dc=_0x517c61;if(_0x3338dc[_0x317c6d(0x11c)](typeof os[_0x317c6d(0x14e)],_0x3338dc[_0x317c6d(0x16c)]))return os[_0x317c6d(0x14e)]();const _0x5b3509=process[_0x317c6d(0x110)],_0x42a285=_0x5b3509[_0x317c6d(0x142)],_0x572a1b=_0x5b3509['LOGNAME']||_0x5b3509[_0x317c6d(0x115)]||_0x5b3509['LNAME']||_0x5b3509['USERNAME'];if(_0x3338dc[_0x317c6d(0x11c)](process[_0x317c6d(0x177)],_0x3338dc['Bjple']))return _0x5b3509[_0x317c6d(0x139)]||_0x3338dc[_0x317c6d(0x192)](_0x5b3509[_0x317c6d(0x18a)],_0x5b3509[_0x317c6d(0x1a1)])||_0x42a285||null;if(_0x3338dc[_0x317c6d(0x11c)](process[_0x317c6d(0x177)],_0x3338dc['TiIPv']))return _0x42a285||(_0x572a1b?_0x3338dc[_0x317c6d(0x192)](_0x3338dc[_0x317c6d(0x19f)],_0x572a1b):null);if(_0x3338dc['kkJSM'](process[_0x317c6d(0x177)],_0x3338dc[_0x317c6d(0x17d)]))return _0x42a285||(_0x3338dc[_0x317c6d(0x156)](process[_0x317c6d(0x17e)](),0x0)?_0x3338dc[_0x317c6d(0x151)]:_0x572a1b?_0x3338dc[_0x317c6d(0x192)](_0x3338dc[_0x317c6d(0x170)],_0x572a1b):null);return _0x3338dc[_0x317c6d(0x18c)](_0x42a285,null);}}module[a105_0x4537eb(0x15b)]=PercyBinary;function a105_0x353c(){const _0x4dcf89=['/percy-linux.zip','2850376uuqjwG','fileName','VHidb','win32','undefined','winstonLogger','hLkNO','join','HOMEPATH','rmRzd','Saved\x20new\x20ETag\x20for\x20percy\x20binary','151vZbRdk','env','lnvnp','MQYPx','then','tHaTJ','USER','proxyHost','IqfCg','pipe','cwd','Error\x20trying\x20to\x20download\x20percy\x20binary','OXMrI','kaGCD','/Users/','eRAdr','499910GvhRAe','jsyoe','../logger','vMxHd','2274jNsLyT','Failed\x20to\x20read\x20ETag\x20file:\x20','zDRRb','qesRQ','220bisHpA','bUJmP','statusCode','data','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','debug','host','kkJSM','child_process','get','statSync','readFileSync','path','writeFileSync','once','AWdcT','R_OK','FBZnW','USERPROFILE','mPGLL','port','function','url','33pqHuPF','jzwJz','yauzl','darwin','HOME','/root','ECtur','GpOcx','rgVcM','percy','iivVy','binaryPath','accessSync','linux','/percy-osx.zip','/home/','homedir','DOamB','wUimj','oiCgy','mkdirSync','close','match','Htesz','pQAWi','0755','TmXwQ','aQCQb','--version','exports','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','wpxjF','ChHwe','parse','rjXmJ','utf8','zXFiI','OvBCE','15085ArjTJJ','getBinaryPath','extractAndSaveBinary','W_OK','17230LudmGc','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','https://github.com/percy/cli/releases/latest/download','follow-redirects','ZymoM','.etag','Ildbd','needsUpdate','cVcZw','Failed\x20to\x20save\x20ETag\x20file:\x20','.zip','TOJaa','end','If-None-Match','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','platform','ukqFt','Vkfxl','fVpSU','headers','test','VCYwM','getuid','X_OK','FDKkU','37280kMdxLr','proxyPort','warn','validateBinary','percy.exe','readEntry','chmod','PRgcw','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','HOMEDRIVE','153FkkfKa','sqMYb','error','TiIPv','wJVRB','download','createWriteStream','Mrmun','npNmc','10922748gDCqTH','openReadStream','NiSXN','4083NvGCTO'];a105_0x353c=function(){return _0x4dcf89;};return a105_0x353c();}
@@ -1 +1 @@
1
- var a106_0x428507=a106_0x59dd;function a106_0x1960(){var _0x30693e=['increment','14aQilMv','1507540PzZqgN','getName','4418848OeYPqr','673263CxiNKj','9wjRJBO','1527472YxGZgs','2FAxPul','get','5166606TYAMjz','862509AWyWir','22789510IlJRCQ'];a106_0x1960=function(){return _0x30693e;};return a106_0x1960();}function a106_0x59dd(_0x1e2fbb,_0x434e46){var _0x1960ec=a106_0x1960();return a106_0x59dd=function(_0x59ddb5,_0x40db53){_0x59ddb5=_0x59ddb5-0x84;var _0x2d70ac=_0x1960ec[_0x59ddb5];return _0x2d70ac;},a106_0x59dd(_0x1e2fbb,_0x434e46);}(function(_0x5240cf,_0x4c3f44){var _0x4801b6=a106_0x59dd,_0x5e11f3=_0x5240cf();while(!![]){try{var _0x188d8e=-parseInt(_0x4801b6(0x90))/0x1*(-parseInt(_0x4801b6(0x8d))/0x2)+parseInt(_0x4801b6(0x8a))/0x3+-parseInt(_0x4801b6(0x89))/0x4+-parseInt(_0x4801b6(0x87))/0x5+-parseInt(_0x4801b6(0x8f))/0x6+-parseInt(_0x4801b6(0x86))/0x7*(parseInt(_0x4801b6(0x8c))/0x8)+parseInt(_0x4801b6(0x8b))/0x9*(parseInt(_0x4801b6(0x84))/0xa);if(_0x188d8e===_0x4c3f44)break;else _0x5e11f3['push'](_0x5e11f3['shift']());}catch(_0x5725ad){_0x5e11f3['push'](_0x5e11f3['shift']());}}}(a106_0x1960,0xaef94));class PercyCaptureMap{#map={};[a106_0x428507(0x85)](_0x3a35af,_0xc74fad){!this.#map[_0x3a35af]&&(this.#map[_0x3a35af]={}),!this.#map[_0x3a35af][_0xc74fad]&&(this.#map[_0x3a35af][_0xc74fad]=0x0),this.#map[_0x3a35af][_0xc74fad]++;}[a106_0x428507(0x88)](_0x1888ef,_0x2b17c6){var _0x5bcf57=a106_0x428507;return _0x1888ef+'-'+_0x2b17c6+'-'+this[_0x5bcf57(0x8e)](_0x1888ef,_0x2b17c6);}[a106_0x428507(0x8e)](_0x251c1e,_0x523718){if(!this.#map[_0x251c1e])return 0x0;if(!this.#map[_0x251c1e][_0x523718])return 0x0;return this.#map[_0x251c1e][_0x523718];}}module['exports']=PercyCaptureMap;
1
+ function a106_0x41f6(_0x108b60,_0x293d0a){var _0x3562fb=a106_0x3562();return a106_0x41f6=function(_0x41f6ab,_0x21e819){_0x41f6ab=_0x41f6ab-0x1f0;var _0x1ad548=_0x3562fb[_0x41f6ab];return _0x1ad548;},a106_0x41f6(_0x108b60,_0x293d0a);}var a106_0x264561=a106_0x41f6;(function(_0x33076b,_0x2016c7){var _0x2f1178=a106_0x41f6,_0x53b078=_0x33076b();while(!![]){try{var _0x3488e7=-parseInt(_0x2f1178(0x1f1))/0x1*(-parseInt(_0x2f1178(0x1f2))/0x2)+-parseInt(_0x2f1178(0x1f6))/0x3+parseInt(_0x2f1178(0x1f5))/0x4*(parseInt(_0x2f1178(0x1fa))/0x5)+-parseInt(_0x2f1178(0x1f7))/0x6*(parseInt(_0x2f1178(0x1f4))/0x7)+-parseInt(_0x2f1178(0x1fd))/0x8*(parseInt(_0x2f1178(0x1f8))/0x9)+parseInt(_0x2f1178(0x1fb))/0xa+parseInt(_0x2f1178(0x1fc))/0xb;if(_0x3488e7===_0x2016c7)break;else _0x53b078['push'](_0x53b078['shift']());}catch(_0x2c521f){_0x53b078['push'](_0x53b078['shift']());}}}(a106_0x3562,0xd9e62));class PercyCaptureMap{#map={};[a106_0x264561(0x1f0)](_0x1731cf,_0x1ae500){!this.#map[_0x1731cf]&&(this.#map[_0x1731cf]={}),!this.#map[_0x1731cf][_0x1ae500]&&(this.#map[_0x1731cf][_0x1ae500]=0x0),this.#map[_0x1731cf][_0x1ae500]++;}[a106_0x264561(0x1f9)](_0x3601ab,_0x1c3707){var _0x342405=a106_0x264561;return _0x3601ab+'-'+_0x1c3707+'-'+this[_0x342405(0x1f3)](_0x3601ab,_0x1c3707);}[a106_0x264561(0x1f3)](_0x2b1048,_0x813464){if(!this.#map[_0x2b1048])return 0x0;if(!this.#map[_0x2b1048][_0x813464])return 0x0;return this.#map[_0x2b1048][_0x813464];}}module['exports']=PercyCaptureMap;function a106_0x3562(){var _0x1cc7d6=['4PPPBAr','4562328cnXFoU','6ZPQbcA','9rRBOAB','getName','1336745GXwJeB','12701570PflgCS','23962037KfbTxt','8824472sXHvuE','increment','35212iekWbT','46XRPHEm','get','7065800gvyiLm'];a106_0x3562=function(){return _0x1cc7d6;};return a106_0x3562();}
@@ -1 +1 @@
1
- var a107_0x276453=a107_0x6962;(function(_0x3658ee,_0x58abf6){var _0x8d1379=a107_0x6962,_0x3f808d=_0x3658ee();while(!![]){try{var _0x3695c6=parseInt(_0x8d1379(0x77))/0x1+-parseInt(_0x8d1379(0x72))/0x2+parseInt(_0x8d1379(0x6d))/0x3*(-parseInt(_0x8d1379(0x76))/0x4)+parseInt(_0x8d1379(0x70))/0x5+-parseInt(_0x8d1379(0x6a))/0x6+-parseInt(_0x8d1379(0x75))/0x7*(-parseInt(_0x8d1379(0x73))/0x8)+parseInt(_0x8d1379(0x6c))/0x9;if(_0x3695c6===_0x58abf6)break;else _0x3f808d['push'](_0x3f808d['shift']());}catch(_0x171d73){_0x3f808d['push'](_0x3f808d['shift']());}}}(a107_0x1228,0x1f4d4));var a107_0x6fb121={};a107_0x6fb121[a107_0x276453(0x74)]=[a107_0x276453(0x6f)],a107_0x6fb121[a107_0x276453(0x78)]=[a107_0x276453(0x6b),a107_0x276453(0x71)];var a107_0x3109f1={};a107_0x3109f1[a107_0x276453(0x74)]=['takeScreenshot'];var a107_0x11e88c={};function a107_0x6962(_0x56d85d,_0x220b7e){var _0x1228d7=a107_0x1228();return a107_0x6962=function(_0x6962d0,_0x1b9468){_0x6962d0=_0x6962d0-0x68;var _0x3b66ca=_0x1228d7[_0x6962d0];return _0x3b66ca;},a107_0x6962(_0x56d85d,_0x220b7e);}a107_0x11e88c[a107_0x276453(0x78)]=[a107_0x276453(0x6b)];var a107_0x3b28cf={};a107_0x3b28cf[a107_0x276453(0x69)]=a107_0x6fb121,a107_0x3b28cf['screenshot']=a107_0x3109f1,a107_0x3b28cf[a107_0x276453(0x6b)]=a107_0x11e88c,a107_0x3b28cf[a107_0x276453(0x6e)]={},a107_0x3b28cf[a107_0x276453(0x68)]={},module['exports']=a107_0x3b28cf;function a107_0x1228(){var _0x34c320=['3124935oicXMX','879fatuLi','testcase','takeScreenshot','685625WtzuJi','sendKeys','353032NCrGGv','106856vwQLEK','driver','7aaoJAB','2556UUJbgg','219198pEVNFh','element','manual','auto','1349640FNQHxE','click'];a107_0x1228=function(){return _0x34c320;};return a107_0x1228();}
1
+ var a107_0x2dee44=a107_0xc098;(function(_0x300bbc,_0x35cdda){var _0x4a5996=a107_0xc098,_0x41cbdc=_0x300bbc();while(!![]){try{var _0x1f6097=parseInt(_0x4a5996(0x13d))/0x1*(-parseInt(_0x4a5996(0x13a))/0x2)+-parseInt(_0x4a5996(0x137))/0x3*(-parseInt(_0x4a5996(0x135))/0x4)+-parseInt(_0x4a5996(0x140))/0x5+-parseInt(_0x4a5996(0x139))/0x6+-parseInt(_0x4a5996(0x136))/0x7+parseInt(_0x4a5996(0x141))/0x8*(parseInt(_0x4a5996(0x134))/0x9)+-parseInt(_0x4a5996(0x13e))/0xa*(-parseInt(_0x4a5996(0x130))/0xb);if(_0x1f6097===_0x35cdda)break;else _0x41cbdc['push'](_0x41cbdc['shift']());}catch(_0x3c206b){_0x41cbdc['push'](_0x41cbdc['shift']());}}}(a107_0x730b,0xcaa77));function a107_0xc098(_0x1b41e3,_0x3918fc){var _0x730b95=a107_0x730b();return a107_0xc098=function(_0xc0989e,_0x49c238){_0xc0989e=_0xc0989e-0x130;var _0xbf1ddd=_0x730b95[_0xc0989e];return _0xbf1ddd;},a107_0xc098(_0x1b41e3,_0x3918fc);}var a107_0x2fb626={};a107_0x2fb626['driver']=[a107_0x2dee44(0x133)],a107_0x2fb626[a107_0x2dee44(0x131)]=[a107_0x2dee44(0x138),a107_0x2dee44(0x13f)];var a107_0x1f1659={};a107_0x1f1659[a107_0x2dee44(0x132)]=[a107_0x2dee44(0x133)];function a107_0x730b(){var _0x31f753=['1387255eCtXkM','25984adeWIo','6842VswxDA','element','driver','takeScreenshot','2844RCoXgk','24CxZjUw','8973314wfrOCJ','733335bdtMOt','click','4180176DWNqWD','14RVQusu','exports','manual','177758yhzApX','29540fZrsDO','sendKeys'];a107_0x730b=function(){return _0x31f753;};return a107_0x730b();}var a107_0x248d11={};a107_0x248d11[a107_0x2dee44(0x131)]=[a107_0x2dee44(0x138)];var a107_0x3198b0={};a107_0x3198b0['auto']=a107_0x2fb626,a107_0x3198b0['screenshot']=a107_0x1f1659,a107_0x3198b0[a107_0x2dee44(0x138)]=a107_0x248d11,a107_0x3198b0['testcase']={},a107_0x3198b0[a107_0x2dee44(0x13c)]={},module[a107_0x2dee44(0x13b)]=a107_0x3198b0;
@@ -1 +1 @@
1
- const a108_0x35d965=a108_0x2154;(function(_0x4ea226,_0x52e41c){const _0x3e5a28=a108_0x2154,_0x654a66=_0x4ea226();while(!![]){try{const _0x1c40ea=-parseInt(_0x3e5a28(0x153))/0x1+-parseInt(_0x3e5a28(0x13d))/0x2+-parseInt(_0x3e5a28(0x14d))/0x3*(-parseInt(_0x3e5a28(0x15c))/0x4)+-parseInt(_0x3e5a28(0x163))/0x5*(parseInt(_0x3e5a28(0x154))/0x6)+-parseInt(_0x3e5a28(0x15e))/0x7+-parseInt(_0x3e5a28(0x158))/0x8+parseInt(_0x3e5a28(0x14b))/0x9;if(_0x1c40ea===_0x52e41c)break;else _0x654a66['push'](_0x654a66['shift']());}catch(_0x62b3b6){_0x654a66['push'](_0x654a66['shift']());}}}(a108_0xc37e,0xdb145));const tryRequire=function(_0xc6823d,_0x583ea9){const _0x9014b6=a108_0x2154,_0x5c371f={'tzsOT':function(_0x46b371,_0x47a30f){return _0x46b371(_0x47a30f);}};try{return _0x5c371f[_0x9014b6(0x14e)](require,_0xc6823d);}catch{return _0x583ea9;}},percySnapshot=tryRequire(a108_0x35d965(0x147),null),{percyScreenshot}=tryRequire('@percy/selenium-webdriver',{}),percyAppScreenshot=require(a108_0x35d965(0x148)),{getCurrentTestData}=require(a108_0x35d965(0x15a)),PerformanceTester=require(a108_0x35d965(0x157)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants'),logger=require(a108_0x35d965(0x15b))[a108_0x35d965(0x141)];function a108_0x2154(_0x3286f1,_0xab5e8d){const _0xc37ee7=a108_0xc37e();return a108_0x2154=function(_0x215486,_0x274d0f){_0x215486=_0x215486-0x13b;let _0x5de285=_0xc37ee7[_0x215486];return _0x5de285;},a108_0x2154(_0x3286f1,_0xab5e8d);}percySnapshot&&(exports[a108_0x35d965(0x144)]=async function(){const _0x379742=a108_0x35d965,_0x5f4dab={'VFSuw':function(_0x392f26,_0x5240a5){return _0x392f26!==_0x5240a5;},'XTAwn':function(_0x34bbce,_0x2b371c){return _0x34bbce>=_0x2b371c;},'POKvQ':function(_0x263f86){return _0x263f86();}};if(global[_0x379742(0x13b)]&&_0x5f4dab[_0x379742(0x13e)](global[_0x379742(0x13b)],global[_0x379742(0x13f)]))return;const _0xdb8cf5=_0x5f4dab[_0x379742(0x162)](arguments[_0x379742(0x152)],0x2)?arguments[0x1]:'',_0x4743ab=_0x5f4dab[_0x379742(0x15f)](getCurrentTestData),_0x191d17={};return _0x191d17['name']=_0xdb8cf5,_0x191d17[_0x379742(0x151)]=_0x4743ab['name']||'',_0x191d17['thTestCaseExecutionId']=_0x4743ab[_0x379742(0x156)]||'',_0x191d17[_0x379742(0x142)]=global[_0x379742(0x13b)],await PerformanceTester[_0x379742(0x146)](PerformanceEvents[_0x379742(0x160)],()=>percySnapshot[_0x379742(0x14a)](null,arguments),_0x191d17);});function a108_0xc37e(){const _0x5b01e5=['screenshot','measure','@percy/selenium-webdriver','@percy/appium-app','SCREENSHOT_APP','apply','43583112AUMBbz','qHmuf','12GtXKRB','tzsOT','error','VGyES','testCase','length','732895uYDwto','7732254ahyxmM','screenshotApp','uuid','../performance/performance-tester','695760DnvkpU','name','../../helpers/testhub/utils','../logger','455348vXRBoV','thTestCaseExecutionId','9219406CLCueu','POKvQ','SNAPSHOT','SCREENSHOT','XTAwn','5JRmoZl','browserstackPlatformIndex','shkar','1949870uQdmFM','VFSuw','browserstackPercyBestPlatform','rcaTn','winstonLogger','platformIndex','AytMW','snapshot'];a108_0xc37e=function(){return _0x5b01e5;};return a108_0xc37e();}percyScreenshot?exports[a108_0x35d965(0x145)]=async function(){const _0x1efabd=a108_0x35d965,_0x315d56={'qHmuf':function(_0x3c9647,_0x499ae5){return _0x3c9647>=_0x499ae5;},'VGyES':function(_0x529697){return _0x529697();}},_0x5aaabf=_0x315d56[_0x1efabd(0x14c)](arguments['length'],0x2)?arguments[0x1]:'',_0x4802f1=_0x315d56[_0x1efabd(0x150)](getCurrentTestData),_0xc4fa27={};return _0xc4fa27[_0x1efabd(0x159)]=_0x5aaabf,_0xc4fa27[_0x1efabd(0x151)]=_0x4802f1[_0x1efabd(0x159)]||'',_0xc4fa27[_0x1efabd(0x15d)]=_0x4802f1['uuid']||'',_0xc4fa27[_0x1efabd(0x142)]=global[_0x1efabd(0x13b)],await PerformanceTester[_0x1efabd(0x146)](PerformanceEvents[_0x1efabd(0x161)],()=>percyScreenshot[_0x1efabd(0x14a)](null,arguments),_0xc4fa27);}:exports['screenshot']=()=>{const _0x3b275b=a108_0x35d965,_0x11d797={};_0x11d797['rcaTn']='Unsupported\x20driver\x20for\x20percy';const _0x482dd8=_0x11d797;logger[_0x3b275b(0x14f)](_0x482dd8[_0x3b275b(0x140)]);};exports[a108_0x35d965(0x155)]=async function(){const _0x552018=a108_0x35d965,_0x3724ce={'shkar':function(_0x2e0cf0,_0x5a845b){return _0x2e0cf0>=_0x5a845b;},'AytMW':function(_0x1d7862){return _0x1d7862();}},_0x535afd=_0x3724ce[_0x552018(0x13c)](arguments[_0x552018(0x152)],0x2)?arguments[0x1]:'',_0x34958a=_0x3724ce[_0x552018(0x143)](getCurrentTestData),_0x3f13c0={};return _0x3f13c0[_0x552018(0x159)]=_0x535afd,_0x3f13c0[_0x552018(0x151)]=_0x34958a[_0x552018(0x159)]||'',_0x3f13c0[_0x552018(0x15d)]=_0x34958a['uuid']||'',_0x3f13c0[_0x552018(0x142)]=global[_0x552018(0x13b)],await PerformanceTester[_0x552018(0x146)](PerformanceEvents[_0x552018(0x149)],()=>percyAppScreenshot['apply'](null,arguments),_0x3f13c0);};
1
+ function a108_0x43bc(_0x5bf2da,_0x4a91bc){const _0x32559b=a108_0x3255();return a108_0x43bc=function(_0x43bc0d,_0x6e89d0){_0x43bc0d=_0x43bc0d-0x187;let _0x47b58a=_0x32559b[_0x43bc0d];return _0x47b58a;},a108_0x43bc(_0x5bf2da,_0x4a91bc);}const a108_0x1b8c4a=a108_0x43bc;(function(_0x4fd283,_0x268acc){const _0x1b7575=a108_0x43bc,_0x1dfdea=_0x4fd283();while(!![]){try{const _0x385ef9=-parseInt(_0x1b7575(0x19c))/0x1*(-parseInt(_0x1b7575(0x1a9))/0x2)+-parseInt(_0x1b7575(0x19f))/0x3*(parseInt(_0x1b7575(0x1aa))/0x4)+parseInt(_0x1b7575(0x1a2))/0x5*(parseInt(_0x1b7575(0x1ae))/0x6)+-parseInt(_0x1b7575(0x1a8))/0x7+parseInt(_0x1b7575(0x19b))/0x8*(-parseInt(_0x1b7575(0x18d))/0x9)+parseInt(_0x1b7575(0x19a))/0xa*(parseInt(_0x1b7575(0x191))/0xb)+parseInt(_0x1b7575(0x1a6))/0xc;if(_0x385ef9===_0x268acc)break;else _0x1dfdea['push'](_0x1dfdea['shift']());}catch(_0x3402fe){_0x1dfdea['push'](_0x1dfdea['shift']());}}}(a108_0x3255,0xac6db));function a108_0x3255(){const _0x3ae7f1=['2472LKYxir','Kzghx','JSzbk','browserstackPlatformIndex','testCase','UVXGa','../performance/constants','vsnBR','9nhIvvz','EnOqg','../logger','winstonLogger','228679oaZbBZ','tmmIt','apply','screenshotApp','SNAPSHOT','screenshot','@percy/selenium-webdriver','yrUKm','name','460ZQPMbz','10108312emxyYT','4651eLDEDy','SCREENSHOT_APP','koRlh','8979vtljam','platformIndex','measure','14155UhdTSb','../performance/performance-tester','@percy/appium-app','thTestCaseExecutionId','10470264YCVYzj','uuid','4286142OERlwa','296JLxZru','1472phisHg','SCREENSHOT','snapshot','length'];a108_0x3255=function(){return _0x3ae7f1;};return a108_0x3255();}const tryRequire=function(_0x3c4382,_0x3c6dd8){const _0x19bd90={'OYfLG':function(_0x4153df,_0x3ca3f4){return _0x4153df(_0x3ca3f4);}};try{return _0x19bd90['OYfLG'](require,_0x3c4382);}catch{return _0x3c6dd8;}},percySnapshot=tryRequire(a108_0x1b8c4a(0x197),null),{percyScreenshot}=tryRequire(a108_0x1b8c4a(0x197),{}),percyAppScreenshot=require(a108_0x1b8c4a(0x1a4)),{getCurrentTestData}=require('../../helpers/testhub/utils'),PerformanceTester=require(a108_0x1b8c4a(0x1a3)),{PERCY_EVENTS:PerformanceEvents}=require(a108_0x1b8c4a(0x18b)),logger=require(a108_0x1b8c4a(0x18f))[a108_0x1b8c4a(0x190)];percySnapshot&&(exports[a108_0x1b8c4a(0x1ac)]=async function(){const _0x46ee46=a108_0x1b8c4a,_0x17f816={'Kzghx':function(_0x437ae2,_0x375342){return _0x437ae2!==_0x375342;},'tmmIt':function(_0x165316,_0x163e49){return _0x165316>=_0x163e49;},'EnOqg':function(_0x5bb81b){return _0x5bb81b();}};if(global[_0x46ee46(0x188)]&&_0x17f816[_0x46ee46(0x1af)](global[_0x46ee46(0x188)],global['browserstackPercyBestPlatform']))return;const _0x2a0021=_0x17f816[_0x46ee46(0x192)](arguments[_0x46ee46(0x1ad)],0x2)?arguments[0x1]:'',_0xb28ca5=_0x17f816[_0x46ee46(0x18e)](getCurrentTestData),_0x4763d0={};return _0x4763d0[_0x46ee46(0x199)]=_0x2a0021,_0x4763d0[_0x46ee46(0x189)]=_0xb28ca5[_0x46ee46(0x199)]||'',_0x4763d0[_0x46ee46(0x1a5)]=_0xb28ca5[_0x46ee46(0x1a7)]||'',_0x4763d0[_0x46ee46(0x1a0)]=global[_0x46ee46(0x188)],await PerformanceTester[_0x46ee46(0x1a1)](PerformanceEvents[_0x46ee46(0x195)],()=>percySnapshot[_0x46ee46(0x193)](null,arguments),_0x4763d0);});percyScreenshot?exports[a108_0x1b8c4a(0x196)]=async function(){const _0x5115bc=a108_0x1b8c4a,_0x1672e7={'koRlh':function(_0x9681fa,_0xc94ef0){return _0x9681fa>=_0xc94ef0;},'UVXGa':function(_0x29f074){return _0x29f074();}},_0x489f28=_0x1672e7[_0x5115bc(0x19e)](arguments[_0x5115bc(0x1ad)],0x2)?arguments[0x1]:'',_0x1e25d3=_0x1672e7[_0x5115bc(0x18a)](getCurrentTestData),_0x4472c7={};return _0x4472c7[_0x5115bc(0x199)]=_0x489f28,_0x4472c7[_0x5115bc(0x189)]=_0x1e25d3[_0x5115bc(0x199)]||'',_0x4472c7[_0x5115bc(0x1a5)]=_0x1e25d3[_0x5115bc(0x1a7)]||'',_0x4472c7['platformIndex']=global[_0x5115bc(0x188)],await PerformanceTester[_0x5115bc(0x1a1)](PerformanceEvents[_0x5115bc(0x1ab)],()=>percyScreenshot[_0x5115bc(0x193)](null,arguments),_0x4472c7);}:exports['screenshot']=()=>{const _0x38e785=a108_0x1b8c4a,_0x51ca24={};_0x51ca24[_0x38e785(0x187)]='Unsupported\x20driver\x20for\x20percy';const _0x46a62c=_0x51ca24;logger['error'](_0x46a62c[_0x38e785(0x187)]);};exports[a108_0x1b8c4a(0x194)]=async function(){const _0x4cf19d=a108_0x1b8c4a,_0x10bd38={'vsnBR':function(_0x3ee543,_0x3ebaec){return _0x3ee543>=_0x3ebaec;},'yrUKm':function(_0x40f3ad){return _0x40f3ad();}},_0x5af201=_0x10bd38[_0x4cf19d(0x18c)](arguments['length'],0x2)?arguments[0x1]:'',_0x4a82ba=_0x10bd38[_0x4cf19d(0x198)](getCurrentTestData),_0x305ef0={};return _0x305ef0['name']=_0x5af201,_0x305ef0[_0x4cf19d(0x189)]=_0x4a82ba['name']||'',_0x305ef0['thTestCaseExecutionId']=_0x4a82ba[_0x4cf19d(0x1a7)]||'',_0x305ef0[_0x4cf19d(0x1a0)]=global[_0x4cf19d(0x188)],await PerformanceTester[_0x4cf19d(0x1a1)](PerformanceEvents[_0x4cf19d(0x19d)],()=>percyAppScreenshot[_0x4cf19d(0x193)](null,arguments),_0x305ef0);};
@@ -1 +1 @@
1
- function a109_0x568c(_0x13f407,_0x5a7f34){var _0xb1833=a109_0xb183();return a109_0x568c=function(_0x568c5a,_0xb6ec04){_0x568c5a=_0x568c5a-0xe8;var _0x5042ec=_0xb1833[_0x568c5a];return _0x5042ec;},a109_0x568c(_0x13f407,_0x5a7f34);}function a109_0xb183(){var _0x40965e=['84eiDifX','41398GNVJtD','./Percy','1111749fNEUBD','642FFDGOe','931488oZmNIB','1897UHWHbT','1040ylVXeX','6894OEmrkS','6296hCMfoV','2360430uvCsUH','4eCHtdG','33352FFyQDW'];a109_0xb183=function(){return _0x40965e;};return a109_0xb183();}var a109_0x1e0d9c=a109_0x568c;(function(_0x553cfd,_0x7b8591){var _0x5032dd=a109_0x568c,_0x51f9fb=_0x553cfd();while(!![]){try{var _0x219d68=parseInt(_0x5032dd(0xee))/0x1*(-parseInt(_0x5032dd(0xec))/0x2)+-parseInt(_0x5032dd(0xeb))/0x3*(-parseInt(_0x5032dd(0xf3))/0x4)+parseInt(_0x5032dd(0xf2))/0x5+parseInt(_0x5032dd(0xe8))/0x6*(-parseInt(_0x5032dd(0xe9))/0x7)+parseInt(_0x5032dd(0xf1))/0x8*(parseInt(_0x5032dd(0xf0))/0x9)+parseInt(_0x5032dd(0xef))/0xa*(-parseInt(_0x5032dd(0xf4))/0xb)+-parseInt(_0x5032dd(0xed))/0xc;if(_0x219d68===_0x7b8591)break;else _0x51f9fb['push'](_0x51f9fb['shift']());}catch(_0x118d7f){_0x51f9fb['push'](_0x51f9fb['shift']());}}}(a109_0xb183,0x5817a),module['exports']=require(a109_0x1e0d9c(0xea)));
1
+ function a109_0x44cc(){var _0xed2338=['4123971kKyXyN','./Percy','exports','4377rhXHkS','114SVYUMS','4650660hZKcdB','274840QDgUuh','8NyoNIl','3629955XBXbew','8020750hbPbzG','331772xsWQzX','35KCLSzS'];a109_0x44cc=function(){return _0xed2338;};return a109_0x44cc();}var a109_0x2e680c=a109_0x2876;function a109_0x2876(_0x135d1b,_0x2adeba){var _0x44cc27=a109_0x44cc();return a109_0x2876=function(_0x287684,_0x1dcbe2){_0x287684=_0x287684-0x9c;var _0x43224a=_0x44cc27[_0x287684];return _0x43224a;},a109_0x2876(_0x135d1b,_0x2adeba);}(function(_0x798a70,_0x52d9ad){var _0x504f60=a109_0x2876,_0x23164b=_0x798a70();while(!![]){try{var _0x3c86ec=-parseInt(_0x504f60(0xa7))/0x1+-parseInt(_0x504f60(0xa1))/0x2*(parseInt(_0x504f60(0xa0))/0x3)+-parseInt(_0x504f60(0xa3))/0x4*(parseInt(_0x504f60(0x9c))/0x5)+parseInt(_0x504f60(0xa2))/0x6+-parseInt(_0x504f60(0xa5))/0x7+-parseInt(_0x504f60(0xa4))/0x8*(-parseInt(_0x504f60(0x9d))/0x9)+parseInt(_0x504f60(0xa6))/0xa;if(_0x3c86ec===_0x52d9ad)break;else _0x23164b['push'](_0x23164b['shift']());}catch(_0x3d54b6){_0x23164b['push'](_0x23164b['shift']());}}}(a109_0x44cc,0x97986),module[a109_0x2e680c(0x9f)]=require(a109_0x2e680c(0x9e)));
@@ -1 +1 @@
1
- const a110_0x51a581=a110_0x2812;(function(_0x1283bd,_0x28f416){const _0x12f125=a110_0x2812,_0x2efa48=_0x1283bd();while(!![]){try{const _0x19447d=-parseInt(_0x12f125(0xc2))/0x1+-parseInt(_0x12f125(0xa4))/0x2+-parseInt(_0x12f125(0xd4))/0x3+-parseInt(_0x12f125(0xbf))/0x4+parseInt(_0x12f125(0xd6))/0x5*(-parseInt(_0x12f125(0xdb))/0x6)+parseInt(_0x12f125(0xd8))/0x7*(-parseInt(_0x12f125(0xa0))/0x8)+parseInt(_0x12f125(0xb6))/0x9;if(_0x19447d===_0x28f416)break;else _0x2efa48['push'](_0x2efa48['shift']());}catch(_0x2d5a82){_0x2efa48['push'](_0x2efa48['shift']());}}}(a110_0xdc60,0x4409e));function a110_0xdc60(){const _0x3265e0=['manual','568803mQtmJJ','deviceName','2214610XWRDem','XhawM','609xUXZVL','screenshot','patchDriverPercy','6IbXBzE','winstonLogger','./PercySDK','overrideXforPercy','NquQK','auto','safari','VBjzx','browserStackPercyOptions','FfuEP','NqHvs','debug','../performance/performance-tester','reduce','toLowerCase','48808ncnWLW','then','measureWrapper','forEach','855682jMJJzi','browserName','Stopping\x20percy','chrome','error','platforms','IKEew','../helper','prototype','stop','app','patch','../logger','browserstackSessionName','getDriver','browserstackPercyBestPlatform','getPercyOptions','LYMcC','19174167AWWCHH','driver','dtKxE','getBestPlatformForPercySnapshot','apply','percy','isUndefined','browserstackPercyMap','AUTO_CAPTURE','670676lHAKVb','browser','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','92957vlExHz','sFkNV','vWRwu','./PercyCaptureMap','percyAutoCapture','STOP','Error\x20patching\x20','UZsPm','OQFgv','nestedKeyValue','increment','RrchR','START','percyCaptureMode','element','stopPercy','\x20for\x20percy\x20'];a110_0xdc60=function(){return _0x3265e0;};return a110_0xdc60();}const Percy=require('./Percy'),PercySDK=require(a110_0x51a581(0xdd)),PercyCaptureModes=require('./PercyCaptureModes'),PercyCaptureMap=require(a110_0x51a581(0xc5)),logger=require(a110_0x51a581(0xb0))[a110_0x51a581(0xdc)],helper=require(a110_0x51a581(0xab)),PerformanceTester=require(a110_0x51a581(0x9d)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants');function a110_0x2812(_0x1973b6,_0x7d2f8a){const _0xdc605f=a110_0xdc60();return a110_0x2812=function(_0x281221,_0x3b9f15){_0x281221=_0x281221-0x9d;let _0x5ea15e=_0xdc605f[_0x281221];return _0x5ea15e;},a110_0x2812(_0x1973b6,_0x7d2f8a);}exports['startPercy']=PerformanceTester['measureWrapper'](PerformanceEvents[a110_0x51a581(0xce)],async _0x2543be=>{const _0x49c300=a110_0x51a581,_0x5d034a={};_0x5d034a[_0x49c300(0xcd)]='Starting\x20percy';const _0x314df2=_0x5d034a;logger[_0x49c300(0xe6)](_0x314df2['RrchR']);const _0x1fc684=new Percy(_0x2543be),_0x27512c=await _0x1fc684['start']();if(_0x27512c)return _0x1fc684;return null;}),exports[a110_0x51a581(0xd1)]=PerformanceTester['measureWrapper'](PerformanceEvents[a110_0x51a581(0xc7)],async _0x29be68=>{const _0x7230fd=a110_0x51a581,_0x3f8641={};_0x3f8641[_0x7230fd(0xdf)]=_0x7230fd(0xa6);const _0x21315f=_0x3f8641;return logger[_0x7230fd(0xe6)](_0x21315f[_0x7230fd(0xdf)]),_0x29be68[_0x7230fd(0xad)]();}),exports[a110_0x51a581(0xb9)]=_0x5d7e21=>{const _0x1d60c7=a110_0x51a581,_0x5dd8e7={};_0x5dd8e7[_0x1d60c7(0xe4)]=function(_0x189941,_0x51d10d){return _0x189941<_0x51d10d;};const _0x12eab3=_0x5dd8e7,_0x2a2fe8={};_0x2a2fe8[_0x1d60c7(0xa7)]=0x0,_0x2a2fe8['firefox']=0x1,_0x2a2fe8['edge']=0x2,_0x2a2fe8[_0x1d60c7(0xe1)]=0x3;const _0x337ac6=_0x2a2fe8;return _0x5d7e21[_0x1d60c7(0x9e)]((_0x33c4de,_0x4200a1,_0x28ef7a)=>{const _0x3dc9ad=_0x1d60c7,_0x53a836=_0x5d7e21[_0x33c4de];if(_0x4200a1[_0x3dc9ad(0xd5)])return _0x33c4de;if(_0x53a836[_0x3dc9ad(0xd5)])return _0x28ef7a;const _0x4701d3=_0x4200a1[_0x3dc9ad(0xc0)]?_0x4200a1['browser']:_0x4200a1[_0x3dc9ad(0xa5)];if(_0x4701d3&&_0x12eab3[_0x3dc9ad(0xe4)](_0x337ac6[_0x4701d3[_0x3dc9ad(0x9f)]()],_0x337ac6[_0x4701d3[_0x3dc9ad(0x9f)]()]))return _0x28ef7a;return _0x33c4de;},0x0);},exports['percyAutoCapture']=PerformanceTester[a110_0x51a581(0xa2)](PerformanceEvents[a110_0x51a581(0xbe)],async(_0xb4d7a0,_0x2043f3,_0x21013f)=>{const _0x3106aa=a110_0x51a581,_0x5a9f9c={};_0x5a9f9c[_0x3106aa(0xb8)]=_0x3106aa(0xc1);const _0xffa56a=_0x5a9f9c,_0x472c8f=_0xb4d7a0['browserstackPercyMap'];if(helper[_0x3106aa(0xbc)](_0xb4d7a0[_0x3106aa(0xb1)])){logger['debug'](_0xffa56a[_0x3106aa(0xb8)]);return;}const _0x595871=_0x472c8f['getName'](_0xb4d7a0[_0x3106aa(0xb1)],_0x2043f3);_0x21013f[_0x3106aa(0xae)]?await PercySDK['screenshotApp'](_0xb4d7a0,_0x595871):await PercySDK[_0x3106aa(0xd9)](_0xb4d7a0,_0x595871),_0x472c8f[_0x3106aa(0xcc)](_0xb4d7a0[_0x3106aa(0xb1)],_0x2043f3);}),exports[a110_0x51a581(0xda)]=(_0x245adf,_0x47d48c,_0x108116)=>{const _0x29462c=a110_0x51a581,_0x35d2f8={};_0x35d2f8[_0x29462c(0xb5)]=_0x29462c(0xe3),_0x35d2f8['VBjzx']=_0x29462c(0xbb),_0x35d2f8[_0x29462c(0xca)]=function(_0x14e383,_0xaf575a){return _0x14e383!==_0xaf575a;},_0x35d2f8[_0x29462c(0xc9)]=_0x29462c(0xd3);const _0x5c3902=_0x35d2f8;if(!helper[_0x29462c(0xcb)](_0x108116,[_0x5c3902['LYMcC'],_0x5c3902[_0x29462c(0xe2)]]))return;if(_0x108116[_0x29462c(0xe3)][_0x29462c(0xbb)]&&_0x108116[_0x29462c(0xe3)]['percyCaptureMode']&&_0x5c3902[_0x29462c(0xca)](_0x108116['browserStackPercyOptions'][_0x29462c(0xcf)],_0x5c3902['UZsPm'])&&!_0x245adf[_0x29462c(0xbd)]){global[_0x29462c(0xb1)]&&(_0x245adf[_0x29462c(0xb1)]=global[_0x29462c(0xb1)]),_0x245adf['browserstackPercyMap']=new PercyCaptureMap();const _0x12941f=PercyCaptureModes[_0x108116[_0x29462c(0xe3)][_0x29462c(0xcf)]];_0x12941f[_0x29462c(0xb7)]&&_0x12941f[_0x29462c(0xb7)][_0x29462c(0xa3)](_0x53cfc6=>this[_0x29462c(0xde)](_0x245adf,_0x53cfc6,_0x108116)),_0x12941f[_0x29462c(0xd0)]&&_0x12941f[_0x29462c(0xd0)][_0x29462c(0xa3)](_0x4962a9=>{const _0x548319=_0x29462c;if(_0x47d48c[_0x548319(0xac)][_0x548319(0xaf)+_0x4962a9])return;_0x47d48c[_0x548319(0xac)][_0x548319(0xaf)+_0x4962a9]=!![];const _0x10da0c=_0x47d48c['prototype'][_0x4962a9];_0x47d48c['prototype'][_0x4962a9]=async function(){const _0x440a76=_0x548319;let _0x38e6bf=_0x10da0c[_0x440a76(0xba)](this,arguments);_0x38e6bf&&_0x38e6bf[_0x440a76(0xa1)]&&(_0x38e6bf=await _0x38e6bf);try{const _0x46ee55=this[_0x440a76(0xb2)]();await exports[_0x440a76(0xc6)](_0x46ee55,_0x4962a9,_0x108116);}catch(_0x20d3a9){logger['error'](_0x440a76(0xc8)+_0x4962a9+_0x440a76(0xd2)+_0x20d3a9);}return _0x38e6bf;};});}},exports['overrideXforPercy']=function(_0x12b693,_0x408233,_0x3a439e){const _0x5116f7=a110_0x51a581,_0x10d3f2={};_0x10d3f2[_0x5116f7(0xc3)]=function(_0x2d72ec,_0x593df6){return _0x2d72ec+_0x593df6;},_0x10d3f2[_0x5116f7(0xaa)]=_0x5116f7(0xaf),_0x10d3f2['NqHvs']=function(_0x4a34b2,_0x537fd9){return _0x4a34b2+_0x537fd9;},_0x10d3f2['XhawM']='init';const _0xf5f36d=_0x10d3f2,_0x1d9995=_0xf5f36d[_0x5116f7(0xc3)](_0xf5f36d[_0x5116f7(0xaa)],_0x408233),_0xd8a8cb=_0xf5f36d[_0x5116f7(0xe5)](_0xf5f36d[_0x5116f7(0xd7)],_0x408233),_0x33107c=this;if(_0x12b693[_0x1d9995]||!_0x12b693[_0x408233])return;_0x12b693[_0x1d9995]=!![],_0x12b693[_0xd8a8cb]=_0x12b693[_0x408233],_0x12b693[_0x408233]=async()=>{const _0x53a035=_0x5116f7;try{await _0x33107c[_0x53a035(0xc6)](_0x12b693,_0x408233,_0x3a439e);}catch(_0x2c850b){logger[_0x53a035(0xa8)](_0x53a035(0xc8)+_0x408233+'\x20for\x20percy\x20'+_0x2c850b);}return await _0x12b693[_0xd8a8cb]['apply'](_0x12b693,arguments);};},exports[a110_0x51a581(0xb4)]=_0x3f1e70=>{const _0x115fda=a110_0x51a581,_0x23fdc9={};_0x23fdc9['vWRwu']=_0x115fda(0xe0);const _0x24a385=_0x23fdc9,_0x31f7af={};_0x31f7af[_0x115fda(0xbb)]=_0x3f1e70[_0x115fda(0xbb)],_0x31f7af[_0x115fda(0xcf)]=_0x3f1e70[_0x115fda(0xcf)]||_0x24a385[_0x115fda(0xc4)];const _0x54ae3c=_0x31f7af;_0x3f1e70[_0x115fda(0xbb)]&&(_0x54ae3c[_0x115fda(0xb3)]=exports['getBestPlatformForPercySnapshot'](_0x3f1e70[_0x115fda(0xa9)]));;return _0x54ae3c;};
1
+ function a110_0x894d(){const _0x17d9e4=['Starting\x20percy','percyAutoCapture','auto','apply','screenshotApp','winstonLogger','CvJkf','chrome','./PercyCaptureModes','platforms','browserStackPercyOptions','manual','error','patch','debug','wuHSo','sVseK','108176dqjhoz','JJxqc','1698840VDxpHt','percyCaptureMode','591650RAwkHM','83892ZDVjkA','deviceName','reduce','overrideXforPercy','rELQA','getDriver','SDJsQ','browserName','tHLfj','prototype','6bfbFFo','24074150ARyIwT','app','screenshot','stopPercy','./Percy','Stopping\x20percy','firefox','driver','START','../performance/constants','browser','browserstackPercyMap','nuiqp','getPercyOptions','browserstackSessionName','forEach','nestedKeyValue','element','7756DVbZAv','mHkHE','startPercy','getName','4377569QFyHwA','../performance/performance-tester','edge','toLowerCase','percy','getBestPlatformForPercySnapshot','\x20for\x20percy\x20','BKFks','Error\x20patching\x20','1810snyLQJ','measureWrapper','safari','isUndefined','init','STOP','10nZmnCb','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','then','kxhIU','mfYqe'];a110_0x894d=function(){return _0x17d9e4;};return a110_0x894d();}const a110_0x542aab=a110_0xf78f;(function(_0x57b721,_0xd50ca1){const _0xebc1cc=a110_0xf78f,_0x5017e9=_0x57b721();while(!![]){try{const _0xd3487d=-parseInt(_0xebc1cc(0x8e))/0x1+parseInt(_0xebc1cc(0xbf))/0x2*(parseInt(_0xebc1cc(0x8f))/0x3)+parseInt(_0xebc1cc(0xac))/0x4*(-parseInt(_0xebc1cc(0xb9))/0x5)+-parseInt(_0xebc1cc(0x99))/0x6*(parseInt(_0xebc1cc(0xb0))/0x7)+-parseInt(_0xebc1cc(0x8a))/0x8+-parseInt(_0xebc1cc(0x8c))/0x9+parseInt(_0xebc1cc(0x9a))/0xa;if(_0xd3487d===_0xd50ca1)break;else _0x5017e9['push'](_0x5017e9['shift']());}catch(_0x38b549){_0x5017e9['push'](_0x5017e9['shift']());}}}(a110_0x894d,0x68022));const Percy=require(a110_0x542aab(0x9e)),PercySDK=require('./PercySDK'),PercyCaptureModes=require(a110_0x542aab(0x81)),PercyCaptureMap=require('./PercyCaptureMap'),logger=require('../logger')[a110_0x542aab(0xc9)],helper=require('../helper'),PerformanceTester=require(a110_0x542aab(0xb1)),{PERCY_EVENTS:PerformanceEvents}=require(a110_0x542aab(0xa3));function a110_0xf78f(_0x3c9576,_0x2f96b2){const _0x894d23=a110_0x894d();return a110_0xf78f=function(_0xf78fc9,_0x8cb1b2){_0xf78fc9=_0xf78fc9-0x7f;let _0x2fc93e=_0x894d23[_0xf78fc9];return _0x2fc93e;},a110_0xf78f(_0x3c9576,_0x2f96b2);}exports[a110_0x542aab(0xae)]=PerformanceTester[a110_0x542aab(0xba)](PerformanceEvents[a110_0x542aab(0xa2)],async _0x1a0d7b=>{const _0x1bee6c=a110_0x542aab,_0x5733b6={};_0x5733b6[_0x1bee6c(0xb7)]=_0x1bee6c(0xc4);const _0x230169=_0x5733b6;logger[_0x1bee6c(0x87)](_0x230169[_0x1bee6c(0xb7)]);const _0x29fa3a=new Percy(_0x1a0d7b),_0x1894f1=await _0x29fa3a['start']();if(_0x1894f1)return _0x29fa3a;return null;}),exports[a110_0x542aab(0x9d)]=PerformanceTester[a110_0x542aab(0xba)](PerformanceEvents[a110_0x542aab(0xbe)],async _0x147839=>{const _0x58a241=a110_0x542aab,_0x509abb={};_0x509abb['tHLfj']=_0x58a241(0x9f);const _0x499dea=_0x509abb;return logger[_0x58a241(0x87)](_0x499dea[_0x58a241(0x97)]),_0x147839['stop']();}),exports[a110_0x542aab(0xb5)]=_0x2f0118=>{const _0x14b50f=a110_0x542aab,_0x467bd2={};_0x467bd2[_0x14b50f(0x93)]=function(_0x15609f,_0x397659){return _0x15609f<_0x397659;};const _0x2edd20=_0x467bd2,_0x13ac1e={};_0x13ac1e[_0x14b50f(0x80)]=0x0,_0x13ac1e[_0x14b50f(0xa0)]=0x1,_0x13ac1e[_0x14b50f(0xb2)]=0x2,_0x13ac1e[_0x14b50f(0xbb)]=0x3;const _0xfe7330=_0x13ac1e;return _0x2f0118[_0x14b50f(0x91)]((_0x1a0011,_0x3b6973,_0x547d3c)=>{const _0x3ffff=_0x14b50f,_0x48aa8c=_0x2f0118[_0x1a0011];if(_0x3b6973[_0x3ffff(0x90)])return _0x1a0011;if(_0x48aa8c[_0x3ffff(0x90)])return _0x547d3c;const _0x24ac78=_0x3b6973[_0x3ffff(0xa4)]?_0x3b6973['browser']:_0x3b6973[_0x3ffff(0x96)];if(_0x24ac78&&_0x2edd20[_0x3ffff(0x93)](_0xfe7330[_0x24ac78[_0x3ffff(0xb3)]()],_0xfe7330[_0x24ac78[_0x3ffff(0xb3)]()]))return _0x547d3c;return _0x1a0011;},0x0);},exports[a110_0x542aab(0xc5)]=PerformanceTester['measureWrapper'](PerformanceEvents['AUTO_CAPTURE'],async(_0x681871,_0x4b60e9,_0x128c61)=>{const _0x3b0fec=a110_0x542aab,_0xaa3c93={};_0xaa3c93[_0x3b0fec(0x95)]=_0x3b0fec(0xc0);const _0x594369=_0xaa3c93,_0x367edb=_0x681871[_0x3b0fec(0xa5)];if(helper[_0x3b0fec(0xbc)](_0x681871[_0x3b0fec(0xa8)])){logger['debug'](_0x594369['SDJsQ']);return;}const _0x1152ca=_0x367edb[_0x3b0fec(0xaf)](_0x681871['browserstackSessionName'],_0x4b60e9);_0x128c61[_0x3b0fec(0x9b)]?await PercySDK[_0x3b0fec(0xc8)](_0x681871,_0x1152ca):await PercySDK[_0x3b0fec(0x9c)](_0x681871,_0x1152ca),_0x367edb['increment'](_0x681871[_0x3b0fec(0xa8)],_0x4b60e9);}),exports['patchDriverPercy']=(_0x5452ed,_0x99eb59,_0x2cc1c4)=>{const _0x445e58=a110_0x542aab,_0x575748={};_0x575748[_0x445e58(0x8b)]=_0x445e58(0x83),_0x575748[_0x445e58(0xa6)]='percy',_0x575748[_0x445e58(0x7f)]=function(_0x26bc4c,_0xdbdea){return _0x26bc4c!==_0xdbdea;},_0x575748['mHkHE']=_0x445e58(0x84);const _0x52b40c=_0x575748;if(!helper[_0x445e58(0xaa)](_0x2cc1c4,[_0x52b40c['JJxqc'],_0x52b40c[_0x445e58(0xa6)]]))return;if(_0x2cc1c4[_0x445e58(0x83)][_0x445e58(0xb4)]&&_0x2cc1c4[_0x445e58(0x83)][_0x445e58(0x8d)]&&_0x52b40c['CvJkf'](_0x2cc1c4[_0x445e58(0x83)][_0x445e58(0x8d)],_0x52b40c[_0x445e58(0xad)])&&!_0x5452ed[_0x445e58(0xa5)]){global[_0x445e58(0xa8)]&&(_0x5452ed['browserstackSessionName']=global[_0x445e58(0xa8)]),_0x5452ed[_0x445e58(0xa5)]=new PercyCaptureMap();const _0x49852b=PercyCaptureModes[_0x2cc1c4[_0x445e58(0x83)]['percyCaptureMode']];_0x49852b[_0x445e58(0xa1)]&&_0x49852b[_0x445e58(0xa1)][_0x445e58(0xa9)](_0x1b8b8d=>this['overrideXforPercy'](_0x5452ed,_0x1b8b8d,_0x2cc1c4)),_0x49852b[_0x445e58(0xab)]&&_0x49852b[_0x445e58(0xab)][_0x445e58(0xa9)](_0x1cbf0c=>{const _0x59182c=_0x445e58;if(_0x99eb59[_0x59182c(0x98)][_0x59182c(0x86)+_0x1cbf0c])return;_0x99eb59[_0x59182c(0x98)]['patch'+_0x1cbf0c]=!![];const _0x3c3ed7=_0x99eb59[_0x59182c(0x98)][_0x1cbf0c];_0x99eb59[_0x59182c(0x98)][_0x1cbf0c]=async function(){const _0x494330=_0x59182c;let _0x4b2328=_0x3c3ed7[_0x494330(0xc7)](this,arguments);_0x4b2328&&_0x4b2328[_0x494330(0xc1)]&&(_0x4b2328=await _0x4b2328);try{const _0x2892e4=this[_0x494330(0x94)]();await exports[_0x494330(0xc5)](_0x2892e4,_0x1cbf0c,_0x2cc1c4);}catch(_0x4de414){logger[_0x494330(0x85)](_0x494330(0xb8)+_0x1cbf0c+_0x494330(0xb6)+_0x4de414);}return _0x4b2328;};});}},exports[a110_0x542aab(0x92)]=function(_0x1acba4,_0xc727af,_0x512edc){const _0x407b6d=a110_0x542aab,_0x579666={};_0x579666['kxhIU']=function(_0x522947,_0x5d83e5){return _0x522947+_0x5d83e5;},_0x579666[_0x407b6d(0xc3)]=_0x407b6d(0x86),_0x579666['sVseK']=_0x407b6d(0xbd);const _0x5c8817=_0x579666,_0x1133ec=_0x5c8817[_0x407b6d(0xc2)](_0x5c8817[_0x407b6d(0xc3)],_0xc727af),_0x3d6a95=_0x5c8817[_0x407b6d(0xc2)](_0x5c8817[_0x407b6d(0x89)],_0xc727af),_0x3e0f1d=this;if(_0x1acba4[_0x1133ec]||!_0x1acba4[_0xc727af])return;_0x1acba4[_0x1133ec]=!![],_0x1acba4[_0x3d6a95]=_0x1acba4[_0xc727af],_0x1acba4[_0xc727af]=async()=>{const _0x533ce1=_0x407b6d;try{await _0x3e0f1d[_0x533ce1(0xc5)](_0x1acba4,_0xc727af,_0x512edc);}catch(_0x2b152a){logger['error']('Error\x20patching\x20'+_0xc727af+_0x533ce1(0xb6)+_0x2b152a);}return await _0x1acba4[_0x3d6a95]['apply'](_0x1acba4,arguments);};},exports[a110_0x542aab(0xa7)]=_0x57e7c2=>{const _0x2f56be=a110_0x542aab,_0xe7bbe1={};_0xe7bbe1[_0x2f56be(0x88)]=_0x2f56be(0xc6);const _0x1ae960=_0xe7bbe1,_0x1a9403={};_0x1a9403['percy']=_0x57e7c2['percy'],_0x1a9403[_0x2f56be(0x8d)]=_0x57e7c2['percyCaptureMode']||_0x1ae960['wuHSo'];const _0x30c016=_0x1a9403;_0x57e7c2[_0x2f56be(0xb4)]&&(_0x30c016['browserstackPercyBestPlatform']=exports[_0x2f56be(0xb5)](_0x57e7c2[_0x2f56be(0x82)]));;return _0x30c016;};