browserstack-node-sdk 1.36.7 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) 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 -66
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -0
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test_before.setup.js +1 -1
  67. package/src/bin/launcher/launcher.js +1 -1
  68. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  69. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  70. package/src/bin/mocha/command.js +1 -1
  71. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  72. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  73. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  74. package/src/bin/mocha/test.setup.js +1 -1
  75. package/src/bin/nightwatch/command.js +1 -1
  76. package/src/bin/playwright/accessibility-helper.js +1 -1
  77. package/src/bin/playwright/command.js +1 -1
  78. package/src/bin/playwright/globalSetup.js +1 -1
  79. package/src/bin/playwright/mock-process.js +1 -1
  80. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  81. package/src/bin/playwright/patches.js +1 -1
  82. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  83. package/src/bin/playwright/reporter/reporter.js +1 -1
  84. package/src/bin/playwright/reporter/test-details.js +1 -1
  85. package/src/bin/playwright/sessionDetails.js +1 -1
  86. package/src/bin/runner.js +1 -1
  87. package/src/bin/setup.js +1 -1
  88. package/src/bin/test-runner/index.js +1 -1
  89. package/src/bin/test-runner/runTest.js +1 -1
  90. package/src/bin/test-runner/testWorker.js +1 -1
  91. package/src/bin/utils/constants.js +1 -1
  92. package/src/bin/utils/log4jsAppender.js +1 -1
  93. package/src/bin/utils/logPatcher.js +1 -1
  94. package/src/bin/utils/logReportingAPI.js +1 -1
  95. package/src/bin/v2/TestInfo.js +1 -1
  96. package/src/bin/v2/browserstackCLI.js +1 -1
  97. package/src/bin/v2/cliUtils.js +1 -1
  98. package/src/bin/v2/customTagManager.js +1 -1
  99. package/src/bin/v2/eventDispatcher.js +1 -1
  100. package/src/bin/v2/framework/automationFramework.js +1 -1
  101. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  102. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  103. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  104. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  105. package/src/bin/v2/framework/testFramework.js +1 -1
  106. package/src/bin/v2/grpcClient.js +1 -1
  107. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  108. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  109. package/src/bin/v2/instances/trackedContext.js +1 -1
  110. package/src/bin/v2/instances/trackedInstance.js +1 -1
  111. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  112. package/src/bin/v2/modules/baseModule.js +1 -1
  113. package/src/bin/v2/modules/observabilityModule.js +1 -1
  114. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  115. package/src/bin/v2/modules/testhubModule.js +1 -1
  116. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  117. package/src/bin/v2/state/hookState.js +1 -1
  118. package/src/bin/v2/state/testFrameworkState.js +1 -1
  119. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  120. package/src/bin/vanilla-js/command.js +1 -1
  121. package/src/browserStackSdk.js +1 -1
  122. package/src/helpers/BrowserStackSetup.js +1 -1
  123. package/src/helpers/accessibility-automation/constants.js +1 -1
  124. package/src/helpers/accessibility-automation/helper.js +1 -1
  125. package/src/helpers/accessibility-automation/scripts.js +1 -1
  126. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  127. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  128. package/src/helpers/ats/constants.js +1 -1
  129. package/src/helpers/ats/helper.js +1 -1
  130. package/src/helpers/capsMapping.js +1 -1
  131. package/src/helpers/central-scanner/constants.js +1 -1
  132. package/src/helpers/central-scanner/helpers.js +1 -1
  133. package/src/helpers/classLogger.js +1 -1
  134. package/src/helpers/globals.js +1 -1
  135. package/src/helpers/helper.js +1 -1
  136. package/src/helpers/logger.js +1 -1
  137. package/src/helpers/metadata.js +1 -1
  138. package/src/helpers/patchHelper.js +1 -1
  139. package/src/helpers/patchHelpers.js +1 -1
  140. package/src/helpers/percy/Percy.js +1 -1
  141. package/src/helpers/percy/PercyBinary.js +1 -1
  142. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  143. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  144. package/src/helpers/percy/PercySDK.js +1 -1
  145. package/src/helpers/percy/index.js +1 -1
  146. package/src/helpers/percy/utils.js +1 -1
  147. package/src/helpers/performance/constants.js +1 -1
  148. package/src/helpers/performance/performance-tester.js +1 -1
  149. package/src/helpers/processHelper.js +1 -1
  150. package/src/helpers/request-spy.js +1 -1
  151. package/src/helpers/setKeepAlive.js +1 -1
  152. package/src/helpers/test-observability/constants.js +1 -1
  153. package/src/helpers/test-observability/error-handler.js +1 -1
  154. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  155. package/src/helpers/test-observability/sessionHandler.js +1 -1
  156. package/src/helpers/test-observability/utils.js +1 -1
  157. package/src/helpers/test-orchestration/constants.js +1 -0
  158. package/src/helpers/test-orchestration/failfastManager.js +1 -0
  159. package/src/helpers/test-orchestration/fileHelper.js +1 -0
  160. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -0
  161. package/src/helpers/test-orchestration/requestUtils.js +1 -0
  162. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -0
  163. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -0
  164. package/src/helpers/testhub/constants.js +1 -1
  165. package/src/helpers/testhub/testhubHandler.js +1 -1
  166. package/src/helpers/testhub/utils.js +1 -1
  167. package/src/helpers/timeoutPromise.js +1 -1
  168. package/src/helpers/utilities.js +1 -1
  169. package/src/helpers/w3cMapping.js +1 -1
  170. package/src/hubAllocationMethods.js +1 -1
  171. package/src/index.js +1 -1
  172. package/src/helpers/test-orchestration/fail-fast/fileHelper.js +0 -1
  173. package/src/helpers/test-orchestration/fail-fast/jest.js +0 -1
  174. package/src/helpers/test-orchestration/fail-fast/requestUtils.js +0 -1
@@ -1 +1 @@
1
- const a43_0x3ac0de=a43_0x5754;(function(_0x4a685a,_0x2016d1){const _0x1942c8=a43_0x5754,_0x53e26d=_0x4a685a();while(!![]){try{const _0x3c17e5=-parseInt(_0x1942c8(0x259))/0x1*(parseInt(_0x1942c8(0x22f))/0x2)+-parseInt(_0x1942c8(0x275))/0x3*(-parseInt(_0x1942c8(0x267))/0x4)+-parseInt(_0x1942c8(0x1e8))/0x5+parseInt(_0x1942c8(0x273))/0x6*(-parseInt(_0x1942c8(0x222))/0x7)+parseInt(_0x1942c8(0x221))/0x8+parseInt(_0x1942c8(0x20e))/0x9+-parseInt(_0x1942c8(0x265))/0xa*(-parseInt(_0x1942c8(0x234))/0xb);if(_0x3c17e5===_0x2016d1)break;else _0x53e26d['push'](_0x53e26d['shift']());}catch(_0x5ce1ad){_0x53e26d['push'](_0x53e26d['shift']());}}}(a43_0x2ad5,0x32de5));const path=require('path'),url=require(a43_0x3ac0de(0x22c)),util=require(a43_0x3ac0de(0x1e5)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x3ac0de(0x1e1)),{o11yErrorHandler}=require(a43_0x3ac0de(0x1fd)),{debug,getPlatformDetails}=require(a43_0x3ac0de(0x1da)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x3ac0de(0x21e)),logger=require(a43_0x3ac0de(0x244))[a43_0x3ac0de(0x20f)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a43_0x3ac0de(0x220)),constants=require(a43_0x3ac0de(0x24f)),BrowserstackCLI=require(a43_0x3ac0de(0x1f6)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a43_0x3ac0de(0x205)),getBrowserNameFromChannel=_0x411e35=>{const _0x3f412d=a43_0x3ac0de,_0x43d9b3={};_0x43d9b3[_0x3f412d(0x20d)]=_0x3f412d(0x206),_0x43d9b3[_0x3f412d(0x1d8)]=_0x3f412d(0x276),_0x43d9b3[_0x3f412d(0x218)]=_0x3f412d(0x21c),_0x43d9b3[_0x3f412d(0x231)]='safari';const _0x5db43c=_0x43d9b3;if(_0x411e35['includes'](_0x5db43c['EEgtZ']))return _0x5db43c[_0x3f412d(0x20d)];if(_0x411e35['includes'](_0x5db43c[_0x3f412d(0x1d8)]))return _0x5db43c[_0x3f412d(0x1d8)];if(_0x411e35[_0x3f412d(0x1c5)](_0x5db43c[_0x3f412d(0x218)]))return _0x5db43c[_0x3f412d(0x218)];if(_0x411e35[_0x3f412d(0x1c5)](_0x5db43c[_0x3f412d(0x231)]))return _0x5db43c['UtvLH'];},getBrowserFromWSEndpoint=_0x176260=>{const _0x197d25=a43_0x3ac0de,_0x344ce5={'IAzEt':_0x197d25(0x206),'qcggn':function(_0x596d20,_0x2160d5){return _0x596d20(_0x2160d5);}};try{const _0x539238=url[_0x197d25(0x1d2)](_0x176260),_0x4b7339=new URLSearchParams(_0x539238['query']),_0x1e2ad4=Object[_0x197d25(0x217)](_0x4b7339['entries']()),_0x3d9148=JSON[_0x197d25(0x1d2)](_0x1e2ad4[_0x197d25(0x1d9)]);if(_0x3d9148&&(_0x3d9148['browser']||_0x3d9148[_0x197d25(0x254)]))return _0x3d9148[_0x197d25(0x24b)]||_0x3d9148[_0x197d25(0x254)];return _0x344ce5[_0x197d25(0x25d)];}catch(_0x33da7d){_0x344ce5[_0x197d25(0x278)](debug,_0x197d25(0x1f0)+_0x33da7d[_0x197d25(0x268)]());}},getCloudProviderFromWsEndpoint=_0x28b6d8=>{const _0x3b99d8=a43_0x3ac0de,_0x4d789a={};_0x4d789a[_0x3b99d8(0x1d4)]=_0x3b99d8(0x23a),_0x4d789a[_0x3b99d8(0x1d0)]=_0x3b99d8(0x250),_0x4d789a[_0x3b99d8(0x202)]=_0x3b99d8(0x1de),_0x4d789a[_0x3b99d8(0x1be)]=_0x3b99d8(0x269);const _0x4dc2b3=_0x4d789a;if(_0x28b6d8[_0x3b99d8(0x1c5)](_0x4dc2b3[_0x3b99d8(0x1d4)])||_0x28b6d8[_0x3b99d8(0x1c5)](_0x4dc2b3['JnzMM']))return _0x4dc2b3[_0x3b99d8(0x202)];return _0x4dc2b3[_0x3b99d8(0x1be)];},a43_0x5c25a6={};function a43_0x2ad5(){const _0x4f0f1b=['oPBJs','../utils/constants','browserstack-ats.com','version','sendMessageToServer','mgIGC','browserName','connection.js','isRunning','getInstance','qOvVN','24359fQOgLJ','platformVersion','tJuqx','ukiYY','IAzEt','server','BWXZm','format','bStackParams','rhpfF','__workerDetails','message','890buKExH','HbGnV','52vOXawl','toString','unknown_grid','performScan','trackEvent','POST','eWydx','dispatch','xJgkR','__driver','SuLhv','sessionId','2036862eZhaln','bGhrd','48357hAUIaK','edge','patchCRConnection','qcggn','pScPX','TDTgB','VqVAD','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','HIQqD','defineProperty','Setting\x20session\x20id\x20received\x20from\x20BS\x20','lib','includes','ytpik','Error\x20in\x20finding\x20platform\x20details\x20','BROWSERSTACK_TEST_OBSERVABILITY','patchConnection','WlmpB','method','CARFW','params','MGemV','SrVVX','JnzMM','VphoZ','parse','aDgKB','ncYJD','patch','iSGog','use','EeDVG','caps','../../helpers/test-observability/utils','_defaultConnectOptions','crConnection.js','Rmijq','browserstack','Failed\x20to\x20perform\x20scan\x20','SZvDb','../../helpers/helper','platformName','getAutomationFramework','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','util','cloudProvider','GskIY','603975GnPoIy','iSsJT','browser_version','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','pvCkD','qHevY','_name','deviceModel','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','titlePath','QJQuz','ldIBj','tciUv','bstackPerformA11yScan','../v2/browserstackCLI','dwLxv','capabilities','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','uphCO','shouldWrapCommand','Device\x20Model\x20is\x20not\x20available','../../helpers/test-observability/error-handler','WCslr','sessionError','testInfo','vcDxN','YJSCS','env','project','../v2/state/hookState.js','chrome','toLowerCase','model','DKxsL','vkqsZ','bsParams','Page','EEgtZ','2625777UoSDaw','winstonLogger','channel','xDArx','LDddQ','Driver\x20Scan\x20result=','setupBrowserDetails','automate','YNLxg','fromEntries','CRhQi','currentSessionDetails','bsSessionId','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','firefox','Error\x20in\x20importing\x20connection\x20','../../helpers/accessibility-automation/helper','fzhpO','./accessibility-helper','411176lnPxCF','7WplceB','MTRQi','DmDDN','client','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','accessibilityPlatform','KlRKg','ShIxE','product','getDetails','url','turboscale','_onMessage','4TEGeJw','Connection','UtvLH','debug','prototype','20350fdnvvl','NoXIf','DTJok','pwPage','_type','platform_version','browserstack.com','info','currentTest','platform','HLuDM','ATS_WSS_URL_REGEX','playwright-','local_grid','apply','PLAYWRIGHT_DISPATCH','../../helpers/logger','PUecL','_browserType','platformDetails','Performing\x20scan\x20for\x20','gSSeW','KLZte','browser','isRemote','assign'];a43_0x2ad5=function(){return _0x4f0f1b;};return a43_0x2ad5();}a43_0x5c25a6[a43_0x3ac0de(0x1e6)]=undefined,a43_0x5c25a6[a43_0x3ac0de(0x21a)]=undefined,a43_0x5c25a6[a43_0x3ac0de(0x24b)]=undefined,a43_0x5c25a6[a43_0x3ac0de(0x1ea)]=undefined,a43_0x5c25a6['platform']=undefined,a43_0x5c25a6[a43_0x3ac0de(0x239)]=undefined,a43_0x5c25a6[a43_0x3ac0de(0x22a)]=undefined,a43_0x5c25a6[a43_0x3ac0de(0x1f8)]={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a43_0x5c25a6;constructor(){const _0xac48=a43_0x3ac0de,_0x37583d={};_0x37583d[_0xac48(0x1d1)]=_0xac48(0x1eb);const _0x2e9fea=_0x37583d;throw new Error(_0x2e9fea['VphoZ']);}static [a43_0x3ac0de(0x1ff)]=null;static['setupBrowserDetails'](_0x4a4a5f,_0x114971,_0x13e657=null){const _0xf220eb=a43_0x3ac0de,_0x30a254={'uphCO':function(_0x52302b,_0x1e360e){return _0x52302b===_0x1e360e;},'MGemV':'function','ShIxE':_0xf220eb(0x1c0),'oPBJs':_0xf220eb(0x1fc),'QJQuz':_0xf220eb(0x241),'vkqsZ':function(_0x414b3b,_0x84e7ce,_0x4aa3aa){return _0x414b3b(_0x84e7ce,_0x4aa3aa);},'pvCkD':_0xf220eb(0x246),'WlmpB':_0xf220eb(0x1db),'uOTGc':_0xf220eb(0x204),'eWydx':_0xf220eb(0x1d7),'PUecL':'connectOptions','rhpfF':function(_0x5d7adf,_0x50b333){return _0x5d7adf(_0x50b333);},'Rmijq':_0xf220eb(0x1de),'WCslr':_0xf220eb(0x22d),'ukiYY':_0xf220eb(0x215),'SrVVX':function(_0x4f4139,_0x4bae47){return _0x4f4139(_0x4bae47);},'tJuqx':function(_0x109f23,_0x2159c9){return _0x109f23+_0x2159c9;},'HbGnV':_0xf220eb(0x240),'KlRKg':function(_0x6fbdb0){return _0x6fbdb0();},'xkFnc':function(_0xdd5048,_0x5b227e,_0x599455){return _0xdd5048(_0x5b227e,_0x599455);},'tciUv':_0xf220eb(0x214)},_0x1010ff=this;return _0x30a254['xkFnc'](o11yErrorHandler,async function _0x3d1841(_0x5dc0d5,_0x8c5ffb,_0x30b02e=null){const _0x294853=_0xf220eb;let _0x58598e=_0x5dc0d5[_0x294853(0x1ee)],_0x5c8edc=null;_0x5dc0d5&&_0x30a254[_0x294853(0x1fa)](typeof _0x5dc0d5[_0x294853(0x251)],_0x30a254[_0x294853(0x1ce)])?_0x5c8edc=_0x5dc0d5[_0x294853(0x251)]():logger[_0x294853(0x232)](_0x30a254[_0x294853(0x229)]);let _0x339d41=null;_0x5dc0d5&&_0x30a254['uphCO'](typeof _0x5dc0d5['model'],_0x30a254['MGemV'])?_0x339d41=_0x5dc0d5[_0x294853(0x208)]():logger['debug'](_0x30a254[_0x294853(0x24e)]);let _0x9149af=null,_0xf6587b=null,_0x3f9773=null,_0x2872b6=_0x30a254[_0x294853(0x1f2)];if(_0x5dc0d5['_connection'][_0x294853(0x24c)]()||global[_0x294853(0x227)]){let _0x1efab2=null;_0x30a254[_0x294853(0x20a)](nestedKeyValue,_0x5dc0d5,[_0x30a254[_0x294853(0x1ec)],_0x30a254[_0x294853(0x1ca)]])?_0x1efab2=_0x5dc0d5[_0x294853(0x246)]['_defaultConnectOptions']:_0x1efab2=_0x30a254[_0x294853(0x20a)](nestedKeyValue,_0x8c5ffb,[_0x30a254['uOTGc'],_0x30a254[_0x294853(0x26d)],_0x30a254[_0x294853(0x245)]]);const _0x4a6bf1=_0x30b02e||_0x1efab2&&_0x1efab2['wsEndpoint'];_0x4a6bf1&&(_0x2872b6=_0x30a254[_0x294853(0x262)](getCloudProviderFromWsEndpoint,_0x4a6bf1),_0x30a254['uphCO'](_0x2872b6,_0x30a254[_0x294853(0x1dd)])&&(_0x3f9773=constants[_0x294853(0x23f)]['test'](_0x4a6bf1)?_0x30a254[_0x294853(0x1fe)]:_0x30a254[_0x294853(0x25c)],_0x58598e=_0x30a254[_0x294853(0x1cf)](getBrowserFromWSEndpoint,_0x4a6bf1)||_0x58598e,_0x9149af=_0x1010ff[_0x294853(0x219)][_0x294853(0x23d)],_0xf6587b=_0x1010ff[_0x294853(0x219)][_0x294853(0x239)]));}else{_0x8c5ffb&&_0x8c5ffb[_0x294853(0x204)]['use'][_0x294853(0x210)]?_0x58598e=_0x30a254[_0x294853(0x1cf)](getBrowserNameFromChannel,_0x8c5ffb[_0x294853(0x204)][_0x294853(0x1d7)]['channel']):_0x58598e=_0x30a254[_0x294853(0x25b)](_0x30a254[_0x294853(0x266)],_0x58598e[_0x294853(0x207)]());const _0x1f0d21=await _0x30a254[_0x294853(0x228)](getPlatformDetails);_0x9149af=_0x1f0d21[_0x294853(0x1e2)],_0xf6587b=_0x1f0d21[_0x294853(0x25a)];}const _0xb10556={};_0xb10556[_0x294853(0x24b)]=_0x58598e,_0xb10556['browser_version']=_0x5c8edc,_0xb10556[_0x294853(0x1f8)]={},_0xb10556[_0x294853(0x23d)]=_0x9149af,_0xb10556['platform_version']=_0xf6587b,_0xb10556['product']=_0x3f9773;const _0x3e8c9a=_0xb10556;_0x339d41&&(_0x3e8c9a['capabilities'][_0x294853(0x1ef)]=_0x339d41);const _0x5c5217={};_0x5c5217['cloudProvider']=_0x2872b6,_0x1010ff['currentSessionDetails']=Object[_0x294853(0x24d)]({},_0x1010ff[_0x294853(0x219)],_0x5c5217,_0x3e8c9a);},_0x30a254[_0xf220eb(0x1f4)])(_0x4a4a5f,_0x114971,_0x13e657);}static[a43_0x3ac0de(0x1d5)](){const _0x373f13=a43_0x3ac0de;this[_0x373f13(0x1c9)](),this[_0x373f13(0x277)]();}static[a43_0x3ac0de(0x1c9)](){const _0x95c521=a43_0x3ac0de,_0x5a4ee4={'RssSz':function(_0x1911a5,_0x2d9355,_0x36fb45){return _0x1911a5(_0x2d9355,_0x36fb45);},'HIQqD':'currentTest','yGdtM':_0x95c521(0x200),'dwLxv':_0x95c521(0x1f1),'xbbwj':function(_0x2a06fc,_0x1808c0,_0x5765a5){return _0x2a06fc(_0x1808c0,_0x5765a5);},'gSSeW':_0x95c521(0x263),'VqVAD':_0x95c521(0x237),'qOvVN':function(_0x4e7147,_0x1b7c2d){return _0x4e7147===_0x1b7c2d;},'mwwqB':_0x95c521(0x20c),'SuLhv':function(_0x1aa799,_0x25b150,_0x3318dd,_0x4398fb){return _0x1aa799(_0x25b150,_0x3318dd,_0x4398fb);},'YNLxg':function(_0x32678d,_0x38dc36){return _0x32678d(_0x38dc36);},'KLZte':'lib','ytpik':_0x95c521(0x225),'xJgkR':_0x95c521(0x255),'ldIBj':function(_0x113da3,_0x5a6bd1){return _0x113da3(_0x5a6bd1);},'CARFW':'Not\x20able\x20to\x20import\x20Connection','LDddQ':function(_0x179859,_0x3a525e){return _0x179859!=_0x3a525e;},'pScPX':function(_0x265fff){return _0x265fff();},'DKxsL':_0x95c521(0x252),'cVvrq':_0x95c521(0x26e)},_0x2dac28=this;if(!this[_0x95c521(0x230)])try{const _0x727b95=path['join'](_0x5a4ee4[_0x95c521(0x24a)],_0x5a4ee4[_0x95c521(0x1c6)],_0x5a4ee4[_0x95c521(0x26f)]),_0x3ffda7=_0x5a4ee4[_0x95c521(0x1f3)](importFileFromPWCore,_0x727b95);!_0x3ffda7?_0x5a4ee4[_0x95c521(0x216)](debug,_0x5a4ee4[_0x95c521(0x1cc)]):this['Connection']=_0x3ffda7[_0x95c521(0x230)];}catch(_0x1fb3e4){_0x5a4ee4[_0x95c521(0x1f3)](debug,_0x95c521(0x21d)+_0x1fb3e4[_0x95c521(0x268)]());}const _0x42d2aa=this[_0x95c521(0x230)];try{if(_0x5a4ee4[_0x95c521(0x212)](_0x42d2aa,null)){const _0x20b7b3=_0x42d2aa[_0x95c521(0x233)][_0x95c521(0x26e)],_0x1c8508=_0x42d2aa[_0x95c521(0x233)][_0x95c521(0x252)];_0x5a4ee4[_0x95c521(0x279)](isAccessibilityAutomationSession)&&Object[_0x95c521(0x1c2)](_0x42d2aa[_0x95c521(0x233)],_0x5a4ee4[_0x95c521(0x209)],{'get':function(){const _0x1cb0dd=_0x95c521,_0x13e10b={'qHevY':function(_0x1a01b6,_0x5a79eb,_0x2f3050){return _0x5a4ee4['RssSz'](_0x1a01b6,_0x5a79eb,_0x2f3050);},'mTjNc':_0x5a4ee4[_0x1cb0dd(0x1c1)],'DTJok':_0x5a4ee4['yGdtM'],'NGVOT':_0x5a4ee4[_0x1cb0dd(0x1f7)],'cYEmI':function(_0x1eb83e,_0x15e69a,_0x47582d){return _0x5a4ee4['xbbwj'](_0x1eb83e,_0x15e69a,_0x47582d);},'DmDDN':_0x5a4ee4[_0x1cb0dd(0x249)],'fzhpO':_0x5a4ee4[_0x1cb0dd(0x1bf)],'BWXZm':function(_0x5471c1,_0x5c0e88){const _0x39cdb4=_0x1cb0dd;return _0x5a4ee4[_0x39cdb4(0x258)](_0x5471c1,_0x5c0e88);},'tqNXa':_0x5a4ee4['mwwqB'],'MTRQi':function(_0x414c8c,_0x5bc7c5,_0x4fb26f,_0x2e8e19){const _0x3366b5=_0x1cb0dd;return _0x5a4ee4[_0x3366b5(0x271)](_0x414c8c,_0x5bc7c5,_0x4fb26f,_0x2e8e19);}};return async function(){const _0x2bf708=_0x1cb0dd;try{if(!global[_0x2bf708(0x1f5)]&&global[_0x2bf708(0x227)]&&_0x13e10b['qHevY'](nestedKeyValue,global['__workerDetails'],[_0x13e10b['mTjNc'],_0x13e10b[_0x2bf708(0x236)],_0x13e10b['NGVOT']])&&_0x13e10b[_0x2bf708(0x1ed)](shouldScanTestForAccessibility,global[_0x2bf708(0x263)][_0x2bf708(0x23c)]['testInfo']['titlePath'],!![])&&scripts[_0x2bf708(0x1fb)](arguments[0x1])){logger[_0x2bf708(0x232)](_0x2bf708(0x248)+arguments[0x1]),global[_0x2bf708(0x1f5)]=!![];const _0x125e06=_0x13e10b['cYEmI'](nestedKeyValue,global,[_0x13e10b[_0x2bf708(0x224)],_0x13e10b[_0x2bf708(0x21f)]]);if(_0x125e06){const _0x3f1783={};_0x3f1783[_0x2bf708(0x1cb)]=arguments[0x1],logger[_0x2bf708(0x23b)]('Page\x20Scan\x20result='+util[_0x2bf708(0x260)](await AccessibilityHelper[_0x2bf708(0x26a)](_0x125e06,_0x3f1783)));}if(_0x13e10b[_0x2bf708(0x25f)](arguments[0x0][_0x2bf708(0x238)],_0x13e10b['tqNXa'])&&global[_0x2bf708(0x270)]){const _0x2352f0={};_0x2352f0['method']=arguments[0x1],logger['info'](_0x2bf708(0x213)+util[_0x2bf708(0x260)](await _0x13e10b[_0x2bf708(0x223)](browserStackExecuteDriver,global['__driver'],scripts['performScan'],_0x2352f0)));}}}catch(_0x50e2a2){logger[_0x2bf708(0x232)](_0x2bf708(0x1df)+util[_0x2bf708(0x260)](_0x50e2a2));}return global[_0x2bf708(0x1f5)]=![],_0x1c8508['apply'](this,arguments);};}}),!_0x5a4ee4[_0x95c521(0x1f3)](isFalse,process[_0x95c521(0x203)][_0x95c521(0x1c8)])&&Object['defineProperty'](_0x42d2aa['prototype'],_0x5a4ee4['cVvrq'],{'get':function(){return async function _0x2d67fc(_0xe2716){const _0x16ce2f=a43_0x5754;if(BrowserstackCLI[_0x16ce2f(0x257)]()[_0x16ce2f(0x256)]()){const _0x2ecdc1={};_0x2ecdc1[_0x16ce2f(0x264)]=_0xe2716,await BrowserstackCLI[_0x16ce2f(0x257)]()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState[_0x16ce2f(0x243)],HookState[_0x16ce2f(0x26c)],_0x2ecdc1);}else{const _0xadda9c=_0xe2716&&_0xe2716[_0x16ce2f(0x1cd)]&&_0xe2716[_0x16ce2f(0x1cd)][_0x16ce2f(0x20b)];if(_0xadda9c){const _0x1b59a8=_0xadda9c['sessionId'],_0x18772a=_0xadda9c['platformDetails'];_0x18772a&&(_0x5a4ee4[_0x16ce2f(0x216)](debug,_0x16ce2f(0x21b)+_0x18772a[_0x16ce2f(0x268)]()),_0x2dac28[_0x16ce2f(0x219)][_0x16ce2f(0x23d)]=_0x18772a['platformName'],_0x2dac28[_0x16ce2f(0x219)][_0x16ce2f(0x239)]=_0x18772a[_0x16ce2f(0x25a)]),_0x1b59a8&&(_0x5a4ee4[_0x16ce2f(0x216)](debug,_0x16ce2f(0x1c3)+_0x1b59a8),_0x2dac28['currentSessionDetails'][_0x16ce2f(0x21a)]=_0x1b59a8);}}return _0x20b7b3[_0x16ce2f(0x242)](this,arguments);};}});}}catch(_0x23d427){_0x5a4ee4[_0x95c521(0x1f3)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x23d427),_0x2dac28[_0x95c521(0x1ff)]=_0x23d427[_0x95c521(0x268)]();}}static[a43_0x3ac0de(0x277)](){const _0x800b21=a43_0x3ac0de,_0x38dcf5={'mgIGC':function(_0x38c4f4,_0x5a467c){return _0x38c4f4(_0x5a467c);},'HLuDM':function(_0x4a3c88){return _0x4a3c88();},'NoXIf':_0x800b21(0x1c4),'iSGog':_0x800b21(0x25e),'GskIY':'chromium','tGTkk':_0x800b21(0x1dc),'aDgKB':function(_0x5c4fd0,_0xe16fbb){return _0x5c4fd0(_0xe16fbb);},'SZvDb':'Not\x20able\x20to\x20import\x20crConnection','bGhrd':function(_0x464397,_0x23567e){return _0x464397(_0x23567e);},'xDArx':'Error\x20in\x20importing\x20crConnection','GaQoW':function(_0x3c81c5,_0x4a3cb2){return _0x3c81c5!=_0x4a3cb2;},'iSsJT':_0x800b21(0x22e),'XdAdG':function(_0x286d56,_0x3965c5){return _0x286d56(_0x3965c5);}},_0x4443f3=this;if(_0x38dcf5[_0x800b21(0x23e)](isAccessibilityAutomationSession)){let _0x570892=null;try{const _0x5129eb=path['join'](_0x38dcf5[_0x800b21(0x235)],_0x38dcf5[_0x800b21(0x1d6)],_0x38dcf5[_0x800b21(0x1e7)],_0x38dcf5['tGTkk']),_0x4d062e=_0x38dcf5[_0x800b21(0x1d3)](importFileFromPWCore,_0x5129eb);!_0x4d062e?_0x38dcf5['aDgKB'](debug,_0x38dcf5[_0x800b21(0x1e0)]):_0x570892=_0x4d062e['CRConnection'];}catch(_0x27411e){_0x38dcf5[_0x800b21(0x274)](debug,_0x38dcf5[_0x800b21(0x211)]);}try{if(_0x38dcf5['GaQoW'](_0x570892,null)){const _0x154e9f=_0x570892['prototype'][_0x800b21(0x22e)];Object['defineProperty'](_0x570892[_0x800b21(0x233)],_0x38dcf5[_0x800b21(0x1e9)],{'get':function(){const _0x113817={'EHqMB':function(_0x349d3a,_0x51cdc4){const _0x2c1c8e=a43_0x5754;return _0x38dcf5[_0x2c1c8e(0x253)](_0x349d3a,_0x51cdc4);},'vcDxN':function(_0x4c4a8e,_0x40ca42){const _0x30c445=a43_0x5754;return _0x38dcf5[_0x30c445(0x253)](_0x4c4a8e,_0x40ca42);}};return async function _0x313982(_0x5527d2){const _0x5c2be1=a43_0x5754;try{if(BrowserstackCLI[_0x5c2be1(0x257)]()[_0x5c2be1(0x256)]()){const _0x1559a8={};_0x1559a8[_0x5c2be1(0x264)]=_0x5527d2,await BrowserstackCLI[_0x5c2be1(0x257)]()[_0x5c2be1(0x1e3)]()[_0x5c2be1(0x26b)](AutomationFrameworkState[_0x5c2be1(0x243)],HookState[_0x5c2be1(0x26c)],_0x1559a8),delete _0x5527d2[_0x5c2be1(0x261)];}else{const _0x337fb3=_0x5527d2[_0x5c2be1(0x261)];if(_0x337fb3){delete _0x5527d2[_0x5c2be1(0x261)];const _0x1f5a4f=_0x337fb3[_0x5c2be1(0x272)],_0x2c0c04=_0x337fb3[_0x5c2be1(0x247)];_0x2c0c04&&(_0x113817['EHqMB'](debug,_0x5c2be1(0x1e4)+_0x2c0c04[_0x5c2be1(0x268)]()),_0x4443f3[_0x5c2be1(0x219)][_0x5c2be1(0x23d)]=_0x2c0c04[_0x5c2be1(0x1e2)],_0x4443f3['currentSessionDetails'][_0x5c2be1(0x239)]=_0x2c0c04[_0x5c2be1(0x25a)]),_0x1f5a4f&&(_0x113817['EHqMB'](debug,_0x5c2be1(0x226)+_0x1f5a4f),_0x4443f3['currentSessionDetails'][_0x5c2be1(0x21a)]=_0x1f5a4f);}}}catch(_0x19fa76){_0x113817[_0x5c2be1(0x201)](debug,_0x5c2be1(0x1c7)+_0x19fa76['toString']());}return _0x154e9f[_0x5c2be1(0x242)](this,arguments);};}});}}catch(_0x16c64d){_0x38dcf5['XdAdG'](debug,_0x800b21(0x1f9)+_0x16c64d),_0x4443f3['sessionError']=_0x16c64d['toString']();}}}static[a43_0x3ac0de(0x22b)](){return this['currentSessionDetails'];}}function a43_0x5754(_0x5f1c60,_0x452345){const _0x2ad5e5=a43_0x2ad5();return a43_0x5754=function(_0x5754c1,_0x4fcfca){_0x5754c1=_0x5754c1-0x1be;let _0x4667ed=_0x2ad5e5[_0x5754c1];return _0x4667ed;},a43_0x5754(_0x5f1c60,_0x452345);}module['exports']=PlaywrightSessionDetails;
1
+ const a44_0x247138=a44_0x48c7;(function(_0x2060d7,_0x4e091a){const _0x320df7=a44_0x48c7,_0x546e6b=_0x2060d7();while(!![]){try{const _0x50b0ef=parseInt(_0x320df7(0x193))/0x1+parseInt(_0x320df7(0x196))/0x2*(-parseInt(_0x320df7(0x10e))/0x3)+-parseInt(_0x320df7(0x1a0))/0x4*(-parseInt(_0x320df7(0x110))/0x5)+-parseInt(_0x320df7(0x116))/0x6+-parseInt(_0x320df7(0x117))/0x7*(parseInt(_0x320df7(0x178))/0x8)+parseInt(_0x320df7(0x184))/0x9+parseInt(_0x320df7(0x172))/0xa;if(_0x50b0ef===_0x4e091a)break;else _0x546e6b['push'](_0x546e6b['shift']());}catch(_0x4df9be){_0x546e6b['push'](_0x546e6b['shift']());}}}(a44_0x1ba6,0x74e2e));const path=require(a44_0x247138(0x160)),url=require(a44_0x247138(0x1b9)),util=require(a44_0x247138(0x176)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a44_0x247138(0x127)),{o11yErrorHandler}=require(a44_0x247138(0x1b8)),{debug,getPlatformDetails}=require(a44_0x247138(0x18a)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a44_0x247138(0x1bb)),logger=require('../../helpers/logger')[a44_0x247138(0x114)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a44_0x247138(0x155)),AccessibilityHelper=require(a44_0x247138(0x16e)),constants=require('../utils/constants'),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a44_0x247138(0x182)),getBrowserNameFromChannel=_0x591452=>{const _0x9bcec6=a44_0x247138,_0x6326ef={};_0x6326ef[_0x9bcec6(0x1b3)]=_0x9bcec6(0x12e),_0x6326ef[_0x9bcec6(0x1b0)]=_0x9bcec6(0x1aa),_0x6326ef[_0x9bcec6(0x131)]=_0x9bcec6(0x194),_0x6326ef['QHTsv']='safari';const _0x31afa9=_0x6326ef;if(_0x591452[_0x9bcec6(0x14b)](_0x31afa9[_0x9bcec6(0x1b3)]))return _0x31afa9[_0x9bcec6(0x1b3)];if(_0x591452[_0x9bcec6(0x14b)](_0x31afa9['pemgr']))return _0x31afa9[_0x9bcec6(0x1b0)];if(_0x591452[_0x9bcec6(0x14b)](_0x31afa9['hTNQi']))return _0x31afa9[_0x9bcec6(0x131)];if(_0x591452[_0x9bcec6(0x14b)](_0x31afa9[_0x9bcec6(0x14f)]))return _0x31afa9[_0x9bcec6(0x14f)];},getBrowserFromWSEndpoint=_0x3c130b=>{const _0x38592e=a44_0x247138,_0x1ce3d4={'IEjng':_0x38592e(0x12e),'joRqd':function(_0x31e5bf,_0x5405be){return _0x31e5bf(_0x5405be);}};try{const _0x5209e6=url['parse'](_0x3c130b),_0x42c3e0=new URLSearchParams(_0x5209e6['query']),_0x4b7a54=Object[_0x38592e(0x13c)](_0x42c3e0[_0x38592e(0x11a)]()),_0x520948=JSON[_0x38592e(0x15d)](_0x4b7a54[_0x38592e(0x112)]);if(_0x520948&&(_0x520948[_0x38592e(0x173)]||_0x520948[_0x38592e(0x11d)]))return _0x520948[_0x38592e(0x173)]||_0x520948[_0x38592e(0x11d)];return _0x1ce3d4['IEjng'];}catch(_0x3e9cc1){_0x1ce3d4['joRqd'](debug,_0x38592e(0x157)+_0x3e9cc1[_0x38592e(0x171)]());}},getCloudProviderFromWsEndpoint=_0x210564=>{const _0x50d3d7=a44_0x247138,_0xbeeac={};_0xbeeac[_0x50d3d7(0x15a)]=_0x50d3d7(0x17a),_0xbeeac['hsFXu']=_0x50d3d7(0x11f);const _0x3b5eb9=_0xbeeac;if(_0x210564[_0x50d3d7(0x14b)](constants[_0x50d3d7(0x124)])||_0x210564[_0x50d3d7(0x14b)](constants[_0x50d3d7(0x198)]))return _0x3b5eb9[_0x50d3d7(0x15a)];return _0x3b5eb9[_0x50d3d7(0x13f)];},a44_0x8a4a10={};function a44_0x48c7(_0xa844fb,_0x467d97){const _0x1ba644=a44_0x1ba6();return a44_0x48c7=function(_0x48c73b,_0x39a1e2){_0x48c73b=_0x48c73b-0x10e;let _0x285750=_0x1ba644[_0x48c73b];return _0x285750;},a44_0x48c7(_0xa844fb,_0x467d97);}a44_0x8a4a10[a44_0x247138(0x16b)]=undefined,a44_0x8a4a10['bsSessionId']=undefined,a44_0x8a4a10[a44_0x247138(0x173)]=undefined,a44_0x8a4a10[a44_0x247138(0x183)]=undefined,a44_0x8a4a10[a44_0x247138(0x1b7)]=undefined,a44_0x8a4a10['platform_version']=undefined,a44_0x8a4a10[a44_0x247138(0x128)]=undefined,a44_0x8a4a10['capabilities']={};function a44_0x1ba6(){const _0x21e640=['bsSessionId','deviceModel','local_grid','capabilities','IwriB','../../helpers/test-observability/utils','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','gJxwY','aYRWl','currentTest','trackEvent','RKwMe','defineProperty','__driver','944818jddmYx','firefox','Error\x20in\x20finding\x20platform\x20details\x20','1626GGwVrs','function','BSTACK_ATS_URL','MPMCr','connection.js','format','DgHSy','playwright-','prototype','currentSessionDetails','311408CJoPuy','lib','hHnjz','FxcDl','wsEndpoint','LdebX','zNFpu','_browserType','mSpNT','titlePath','edge','patchCRConnection','message','_connection','xjVXy','lUAAi','pemgr','POST','JUttd','qrBjl','TzEEi','BROWSERSTACK_TEST_OBSERVABILITY','MbxDx','platform','../../helpers/test-observability/error-handler','url','Connection','../../helpers/accessibility-automation/helper','2517gepUPe','ATS_WSS_URL_REGEX','5SCPcUr','LjZgb','caps','getInstance','winstonLogger','platformName','2079492wwjhxN','112AwFDWx','assign','elMSv','entries','channel','shouldWrapCommand','browserName','performScan','unknown_grid','rmVyS','exports','SNTDd','chromium','BSTACK_URL','platformVersion','Page\x20Scan\x20result=','../../helpers/helper','product','Driver\x20Scan\x20result=','patchConnection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','platform_version','debug','chrome','eSpCs','Jcchi','hTNQi','__workerDetails','bstackPerformA11yScan','QzbME','accessibilityPlatform','Setting\x20session\x20id\x20received\x20from\x20BS\x20','patch','testInfo','method','sendMessageToServer','VeniO','fromEntries','xVALX','GEaLX','hsFXu','pAxIJ','Page','toLowerCase','HkhsR','OqWIu','env','lAYeg','eGJTS','EShbU','dispatch','sessionId','includes','tLMUM','sessionError','getDetails','QHTsv','setupBrowserDetails','uIAjg','project','vyBtK','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','../../bin/playwright/accessibility-helper','XbLxe','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','oNADW','zOznT','CXLdQ','getAutomationFramework','parse','automate','pRcKs','path','apply','isRunning','use','Acttd','Performing\x20scan\x20for\x20','StzPz','isRemote','version','_defaultConnectOptions','eUImh','cloudProvider','IvSTc','CRConnection','./accessibility-helper','bStackParams','MgQYx','toString','9273570TDEAyf','browser','TogSb','model','util','WeFhO','423392uYWNga','kVknP','browserstack','client','XgsRR','_name','PLAYWRIGHT_DISPATCH','server','platformDetails','info','../v2/state/hookState.js','browser_version','3637908sXfrpJ'];a44_0x1ba6=function(){return _0x21e640;};return a44_0x1ba6();}class PlaywrightSessionDetails{static ['currentSessionDetails']=a44_0x8a4a10;constructor(){const _0x55e2f4=a44_0x247138,_0xf266ec={};_0xf266ec[_0x55e2f4(0x177)]=_0x55e2f4(0x12b);const _0x4a984e=_0xf266ec;throw new Error(_0x4a984e[_0x55e2f4(0x177)]);}static [a44_0x247138(0x14d)]=null;static[a44_0x247138(0x150)](_0x4eb73a,_0x5ace12,_0x437090=null){const _0x24aeff=a44_0x247138,_0x2039f6={'JUttd':function(_0x5adaaf,_0x4c5483){return _0x5adaaf===_0x4c5483;},'QzbME':_0x24aeff(0x197),'gJxwY':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','LdebX':'Device\x20Model\x20is\x20not\x20available','kVknP':_0x24aeff(0x187),'hHnjz':function(_0x4021e7,_0x266a29,_0x19f4c9){return _0x4021e7(_0x266a29,_0x19f4c9);},'Acttd':_0x24aeff(0x1a7),'sQiQH':'_defaultConnectOptions','tLMUM':function(_0x16045e,_0x56d678,_0x3dd561){return _0x16045e(_0x56d678,_0x3dd561);},'xjVXy':_0x24aeff(0x152),'fayri':_0x24aeff(0x163),'SNTDd':'connectOptions','aYRWl':function(_0x4d6d90,_0x5dac12){return _0x4d6d90(_0x5dac12);},'uIAjg':'browserstack','rmVyS':'turboscale','VeniO':_0x24aeff(0x15e),'mbylk':function(_0x36dc64,_0x411e63){return _0x36dc64(_0x411e63);},'iVOwz':function(_0xe0d41f,_0x3b6a61){return _0xe0d41f(_0x3b6a61);},'eUImh':function(_0x1a5c24,_0x1a530e){return _0x1a5c24+_0x1a530e;},'elMSv':_0x24aeff(0x19d),'pRcKs':function(_0x3fac61){return _0x3fac61();},'xVALX':_0x24aeff(0x150)},_0x335b24=this;return _0x2039f6[_0x24aeff(0x1a2)](o11yErrorHandler,async function _0x31c212(_0x443152,_0x54d765,_0x2bedea=null){const _0x543a7e=_0x24aeff;let _0x4d6eb1=_0x443152[_0x543a7e(0x17d)],_0x59c4ce=null;_0x443152&&_0x2039f6[_0x543a7e(0x1b2)](typeof _0x443152[_0x543a7e(0x168)],_0x2039f6[_0x543a7e(0x134)])?_0x59c4ce=_0x443152[_0x543a7e(0x168)]():logger[_0x543a7e(0x12d)](_0x2039f6[_0x543a7e(0x18c)]);let _0x2aaa90=null;_0x443152&&_0x2039f6[_0x543a7e(0x1b2)](typeof _0x443152[_0x543a7e(0x175)],_0x2039f6[_0x543a7e(0x134)])?_0x2aaa90=_0x443152[_0x543a7e(0x175)]():logger[_0x543a7e(0x12d)](_0x2039f6[_0x543a7e(0x1a5)]);let _0x222db6=null,_0x10fe77=null,_0x14fad8=null,_0x1de2e3=_0x2039f6[_0x543a7e(0x179)];if(_0x443152[_0x543a7e(0x1ad)][_0x543a7e(0x167)]()||global['accessibilityPlatform']){let _0x250d3e=null;_0x2039f6[_0x543a7e(0x1a2)](nestedKeyValue,_0x443152,[_0x2039f6[_0x543a7e(0x164)],_0x2039f6['sQiQH']])?_0x250d3e=_0x443152[_0x543a7e(0x1a7)][_0x543a7e(0x169)]:_0x250d3e=_0x2039f6[_0x543a7e(0x14c)](nestedKeyValue,_0x54d765,[_0x2039f6[_0x543a7e(0x1ae)],_0x2039f6['fayri'],_0x2039f6[_0x543a7e(0x122)]]);const _0x20f26b=_0x2bedea||_0x250d3e&&_0x250d3e[_0x543a7e(0x1a4)];_0x20f26b&&(_0x1de2e3=_0x2039f6[_0x543a7e(0x18d)](getCloudProviderFromWsEndpoint,_0x20f26b),_0x2039f6[_0x543a7e(0x1b2)](_0x1de2e3,_0x2039f6[_0x543a7e(0x151)])&&(_0x14fad8=constants[_0x543a7e(0x10f)]['test'](_0x20f26b)?_0x2039f6[_0x543a7e(0x120)]:_0x2039f6[_0x543a7e(0x13b)],_0x4d6eb1=_0x2039f6['mbylk'](getBrowserFromWSEndpoint,_0x20f26b)||_0x4d6eb1,_0x222db6=_0x335b24['currentSessionDetails'][_0x543a7e(0x1b7)],_0x10fe77=_0x335b24[_0x543a7e(0x19f)][_0x543a7e(0x12c)]));}else{_0x54d765&&_0x54d765[_0x543a7e(0x152)]['use'][_0x543a7e(0x11b)]?_0x4d6eb1=_0x2039f6['iVOwz'](getBrowserNameFromChannel,_0x54d765[_0x543a7e(0x152)][_0x543a7e(0x163)]['channel']):_0x4d6eb1=_0x2039f6[_0x543a7e(0x16a)](_0x2039f6[_0x543a7e(0x119)],_0x4d6eb1[_0x543a7e(0x142)]());const _0x501bd5=await _0x2039f6[_0x543a7e(0x15f)](getPlatformDetails);_0x222db6=_0x501bd5[_0x543a7e(0x115)],_0x10fe77=_0x501bd5[_0x543a7e(0x125)];}const _0x43eaf0={};_0x43eaf0[_0x543a7e(0x173)]=_0x4d6eb1,_0x43eaf0[_0x543a7e(0x183)]=_0x59c4ce,_0x43eaf0['capabilities']={},_0x43eaf0['platform']=_0x222db6,_0x43eaf0[_0x543a7e(0x12c)]=_0x10fe77,_0x43eaf0[_0x543a7e(0x128)]=_0x14fad8;const _0x595337=_0x43eaf0;_0x2aaa90&&(_0x595337[_0x543a7e(0x188)][_0x543a7e(0x186)]=_0x2aaa90);const _0x39c4ee={};_0x39c4ee[_0x543a7e(0x16b)]=_0x1de2e3,_0x335b24[_0x543a7e(0x19f)]=Object[_0x543a7e(0x118)]({},_0x335b24[_0x543a7e(0x19f)],_0x39c4ee,_0x595337);},_0x2039f6[_0x24aeff(0x13d)])(_0x4eb73a,_0x5ace12,_0x437090);}static[a44_0x247138(0x137)](){const _0x11f86c=a44_0x247138;this[_0x11f86c(0x12a)](),this[_0x11f86c(0x1ab)]();}static[a44_0x247138(0x12a)](){const _0x4d6654=a44_0x247138,_0x2f7a22={'EShbU':function(_0x48cfc9,_0x501878,_0x2f37b3){return _0x48cfc9(_0x501878,_0x2f37b3);},'lAYeg':_0x4d6654(0x18e),'eSpCs':_0x4d6654(0x138),'MgQYx':_0x4d6654(0x1a9),'TogSb':_0x4d6654(0x132),'KMzRA':'pwPage','pAxIJ':function(_0x20ad88,_0x2eae02){return _0x20ad88===_0x2eae02;},'TzEEi':_0x4d6654(0x141),'OqWIu':function(_0x77e4b4,_0x5c6b5a,_0x207e9d,_0x330edc){return _0x77e4b4(_0x5c6b5a,_0x207e9d,_0x330edc);},'MbxDx':function(_0x43caf8,_0x3d1794){return _0x43caf8(_0x3d1794);},'OAQDR':_0x4d6654(0x1a1),'HkhsR':_0x4d6654(0x17b),'mkDbP':_0x4d6654(0x19a),'lUAAi':function(_0x228a8,_0x2f93d7){return _0x228a8(_0x2f93d7);},'DgHSy':function(_0x4c17c4,_0x2dd411){return _0x4c17c4(_0x2dd411);},'CXLdQ':'Not\x20able\x20to\x20import\x20Connection','oNADW':function(_0x42f456,_0x1c0622){return _0x42f456(_0x1c0622);},'XgsRR':function(_0x4704ba,_0x295696){return _0x4704ba!=_0x295696;},'mSpNT':function(_0x4c36f){return _0x4c36f();},'MPMCr':_0x4d6654(0x13a),'qkfgW':_0x4d6654(0x149)},_0x37caa2=this;if(!this[_0x4d6654(0x1ba)])try{const _0x245140=path['join'](_0x2f7a22['OAQDR'],_0x2f7a22[_0x4d6654(0x143)],_0x2f7a22['mkDbP']),_0x5024ff=_0x2f7a22['lUAAi'](importFileFromPWCore,_0x245140);!_0x5024ff?_0x2f7a22[_0x4d6654(0x19c)](debug,_0x2f7a22[_0x4d6654(0x15b)]):this[_0x4d6654(0x1ba)]=_0x5024ff[_0x4d6654(0x1ba)];}catch(_0x45ca44){_0x2f7a22[_0x4d6654(0x159)](debug,'Error\x20in\x20importing\x20connection\x20'+_0x45ca44[_0x4d6654(0x171)]());}const _0x2db5d6=this[_0x4d6654(0x1ba)];try{if(_0x2f7a22[_0x4d6654(0x17c)](_0x2db5d6,null)){const _0x5cf45e=_0x2db5d6[_0x4d6654(0x19e)][_0x4d6654(0x149)],_0x3f8f2a=_0x2db5d6[_0x4d6654(0x19e)]['sendMessageToServer'];_0x2f7a22[_0x4d6654(0x1a8)](isAccessibilityAutomationSession)&&Object[_0x4d6654(0x191)](_0x2db5d6[_0x4d6654(0x19e)],_0x2f7a22[_0x4d6654(0x199)],{'get':function(){return async function(){const _0x8e8bf0=a44_0x48c7;try{if(!global[_0x8e8bf0(0x133)]&&global[_0x8e8bf0(0x135)]&&_0x2f7a22[_0x8e8bf0(0x148)](nestedKeyValue,global[_0x8e8bf0(0x132)],[_0x2f7a22[_0x8e8bf0(0x146)],_0x2f7a22[_0x8e8bf0(0x12f)],_0x2f7a22[_0x8e8bf0(0x170)]])&&_0x2f7a22[_0x8e8bf0(0x148)](shouldScanTestForAccessibility,global[_0x8e8bf0(0x132)][_0x8e8bf0(0x18e)][_0x8e8bf0(0x138)][_0x8e8bf0(0x1a9)],!![])&&scripts[_0x8e8bf0(0x11c)](arguments[0x1])){logger[_0x8e8bf0(0x12d)](_0x8e8bf0(0x165)+arguments[0x1]),global[_0x8e8bf0(0x133)]=!![];const _0x1d71d8=_0x2f7a22[_0x8e8bf0(0x148)](nestedKeyValue,global,[_0x2f7a22[_0x8e8bf0(0x174)],_0x2f7a22['KMzRA']]);if(_0x1d71d8){const _0x52d0ad={};_0x52d0ad[_0x8e8bf0(0x139)]=arguments[0x1],logger[_0x8e8bf0(0x181)](_0x8e8bf0(0x126)+util['format'](await AccessibilityHelper[_0x8e8bf0(0x11e)](_0x1d71d8,_0x52d0ad)));}if(_0x2f7a22[_0x8e8bf0(0x140)](arguments[0x0]['_type'],_0x2f7a22[_0x8e8bf0(0x1b4)])&&global[_0x8e8bf0(0x192)]){const _0x91e2cb={};_0x91e2cb[_0x8e8bf0(0x139)]=arguments[0x1],logger['info'](_0x8e8bf0(0x129)+util[_0x8e8bf0(0x19b)](await _0x2f7a22[_0x8e8bf0(0x144)](browserStackExecuteDriver,global[_0x8e8bf0(0x192)],scripts[_0x8e8bf0(0x11e)],_0x91e2cb)));}}}catch(_0x472776){logger[_0x8e8bf0(0x12d)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x8e8bf0(0x19b)](_0x472776));}return global[_0x8e8bf0(0x133)]=![],_0x3f8f2a[_0x8e8bf0(0x161)](this,arguments);};}}),!_0x2f7a22['MbxDx'](isFalse,process[_0x4d6654(0x145)][_0x4d6654(0x1b5)])&&Object[_0x4d6654(0x191)](_0x2db5d6['prototype'],_0x2f7a22['qkfgW'],{'get':function(){return async function _0x1abfef(_0x4fec27){const _0x948ae8=a44_0x48c7;if(BrowserstackCLI[_0x948ae8(0x113)]()[_0x948ae8(0x162)]()){const _0x10d1a5={};_0x10d1a5[_0x948ae8(0x1ac)]=_0x4fec27,await BrowserstackCLI[_0x948ae8(0x113)]()[_0x948ae8(0x15c)]()[_0x948ae8(0x18f)](AutomationFrameworkState[_0x948ae8(0x17e)],HookState[_0x948ae8(0x1b1)],_0x10d1a5);}else{const _0x57830c=_0x4fec27&&_0x4fec27['params']&&_0x4fec27['params']['bsParams'];if(_0x57830c){const _0x2083f4=_0x57830c[_0x948ae8(0x14a)],_0x508122=_0x57830c[_0x948ae8(0x180)];_0x508122&&(_0x2f7a22['MbxDx'](debug,_0x948ae8(0x158)+_0x508122[_0x948ae8(0x171)]()),_0x37caa2[_0x948ae8(0x19f)]['platform']=_0x508122[_0x948ae8(0x115)],_0x37caa2['currentSessionDetails'][_0x948ae8(0x12c)]=_0x508122['platformVersion']),_0x2083f4&&(_0x2f7a22[_0x948ae8(0x1b6)](debug,_0x948ae8(0x136)+_0x2083f4),_0x37caa2[_0x948ae8(0x19f)][_0x948ae8(0x185)]=_0x2083f4);}}return _0x5cf45e[_0x948ae8(0x161)](this,arguments);};}});}}catch(_0x3dfc23){_0x2f7a22[_0x4d6654(0x1af)](debug,_0x4d6654(0x18b)+_0x3dfc23),_0x37caa2[_0x4d6654(0x14d)]=_0x3dfc23['toString']();}}static['patchCRConnection'](){const _0x36a02e=a44_0x247138,_0x513d56={'nTbuh':function(_0x1399fd,_0x221e22){return _0x1399fd(_0x221e22);},'IvSTc':function(_0x4e081f,_0x5e867f){return _0x4e081f(_0x5e867f);},'zNFpu':function(_0x57b343){return _0x57b343();},'Sfiiq':'lib','XbLxe':_0x36a02e(0x17f),'RKwMe':_0x36a02e(0x123),'Jcchi':'crConnection.js','FxcDl':function(_0xa9e100,_0x1757b0){return _0xa9e100(_0x1757b0);},'StzPz':function(_0xe7029e,_0x31d2ed){return _0xe7029e(_0x31d2ed);},'GEaLX':'Not\x20able\x20to\x20import\x20crConnection','puQbi':function(_0x12945b,_0x3f5dfc){return _0x12945b(_0x3f5dfc);},'eGJTS':'Error\x20in\x20importing\x20crConnection','IwriB':function(_0x512bea,_0x35f52a){return _0x512bea!=_0x35f52a;},'LjZgb':'_onMessage','vyBtK':function(_0x268241,_0x562410){return _0x268241(_0x562410);}},_0x47e668=this;if(_0x513d56[_0x36a02e(0x1a6)](isAccessibilityAutomationSession)){let _0x2d80ef=null;try{const _0x23b745=path['join'](_0x513d56['Sfiiq'],_0x513d56[_0x36a02e(0x156)],_0x513d56[_0x36a02e(0x190)],_0x513d56[_0x36a02e(0x130)]),_0x3d75ec=_0x513d56[_0x36a02e(0x1a3)](importFileFromPWCore,_0x23b745);!_0x3d75ec?_0x513d56[_0x36a02e(0x166)](debug,_0x513d56[_0x36a02e(0x13e)]):_0x2d80ef=_0x3d75ec[_0x36a02e(0x16d)];}catch(_0x189e50){_0x513d56['puQbi'](debug,_0x513d56[_0x36a02e(0x147)]);}try{if(_0x513d56[_0x36a02e(0x189)](_0x2d80ef,null)){const _0xac998a=_0x2d80ef[_0x36a02e(0x19e)]['_onMessage'];Object[_0x36a02e(0x191)](_0x2d80ef[_0x36a02e(0x19e)],_0x513d56[_0x36a02e(0x111)],{'get':function(){return async function _0x1cb983(_0x5f287b){const _0x434c91=a44_0x48c7;try{if(BrowserstackCLI['getInstance']()[_0x434c91(0x162)]()){const _0x32f950={};_0x32f950[_0x434c91(0x1ac)]=_0x5f287b,await BrowserstackCLI[_0x434c91(0x113)]()[_0x434c91(0x15c)]()['trackEvent'](AutomationFrameworkState[_0x434c91(0x17e)],HookState['POST'],_0x32f950),delete _0x5f287b[_0x434c91(0x16f)];}else{const _0x42119d=_0x5f287b['bStackParams'];if(_0x42119d){delete _0x5f287b[_0x434c91(0x16f)];const _0x2f9ed2=_0x42119d[_0x434c91(0x14a)],_0x290870=_0x42119d[_0x434c91(0x180)];_0x290870&&(_0x513d56['nTbuh'](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x290870['toString']()),_0x47e668['currentSessionDetails'][_0x434c91(0x1b7)]=_0x290870[_0x434c91(0x115)],_0x47e668['currentSessionDetails'][_0x434c91(0x12c)]=_0x290870['platformVersion']),_0x2f9ed2&&(_0x513d56[_0x434c91(0x16c)](debug,_0x434c91(0x154)+_0x2f9ed2),_0x47e668['currentSessionDetails'][_0x434c91(0x185)]=_0x2f9ed2);}}}catch(_0x20a4a7){_0x513d56[_0x434c91(0x16c)](debug,_0x434c91(0x195)+_0x20a4a7[_0x434c91(0x171)]());}return _0xac998a[_0x434c91(0x161)](this,arguments);};}});}}catch(_0x221ecc){_0x513d56[_0x36a02e(0x153)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x221ecc),_0x47e668[_0x36a02e(0x14d)]=_0x221ecc[_0x36a02e(0x171)]();}}}static[a44_0x247138(0x14e)](){const _0xad2171=a44_0x247138;return this[_0xad2171(0x19f)];}}module[a44_0x247138(0x121)]=PlaywrightSessionDetails;
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a44_0x160749=a44_0x4adf;(function(_0x330399,_0xe1cb31){const _0x12c798=a44_0x4adf,_0x2a4411=_0x330399();while(!![]){try{const _0x216669=-parseInt(_0x12c798(0x1b1))/0x1*(-parseInt(_0x12c798(0x1a7))/0x2)+parseInt(_0x12c798(0x1ac))/0x3*(-parseInt(_0x12c798(0x1b3))/0x4)+-parseInt(_0x12c798(0x18f))/0x5+-parseInt(_0x12c798(0x195))/0x6+-parseInt(_0x12c798(0x19f))/0x7+parseInt(_0x12c798(0x152))/0x8+parseInt(_0x12c798(0x17b))/0x9;if(_0x216669===_0xe1cb31)break;else _0x2a4411['push'](_0x2a4411['shift']());}catch(_0x5cb384){_0x2a4411['push'](_0x2a4411['shift']());}}}(a44_0x1cb5,0x4f91c));function a44_0x4adf(_0x5f4574,_0x5dd59a){const _0x1cb5c7=a44_0x1cb5();return a44_0x4adf=function(_0x4adf59,_0x463391){_0x4adf59=_0x4adf59-0x14b;let _0x4ce5da=_0x1cb5c7[_0x4adf59];return _0x4ce5da;},a44_0x4adf(_0x5f4574,_0x5dd59a);}const fs=require('fs'),path=require('path'),util=require('util'),{requireModule}=require(a44_0x160749(0x1a5)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a44_0x160749(0x155))[a44_0x160749(0x199)],helper=require('../helpers/helper'),utilities=require(a44_0x160749(0x158)),{default:BrowserStackSetup}=require(a44_0x160749(0x1ab)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a44_0x160749(0x191)),yargs=require('yargs'),Constants=require('./utils/constants'),BrowserstackCLI=require(a44_0x160749(0x1b7)),logger=require(a44_0x160749(0x1b5))[a44_0x160749(0x177)],origArgs=Object[a44_0x160749(0x164)]([],process['argv']),captureError=async(_0x209405,_0x587e14,_0x4e0be7,_0x5d6296=null)=>{const _0x2347da=a44_0x160749,_0x21dd76={'IZWfy':function(_0x24d8c9,_0x166662,_0x5dce15,_0x332ca5){return _0x24d8c9(_0x166662,_0x5dce15,_0x332ca5);},'OUnRI':_0x2347da(0x1bd)};try{logger[_0x2347da(0x153)](_0x2347da(0x1ba)+origArgs['join']('\x20')),await _0x21dd76[_0x2347da(0x1c5)](_0x209405,_0x587e14,_0x5d6296,_0x4e0be7);}catch(_0x112039){process[_0x2347da(0x1b9)]=0x1,logger[_0x2347da(0x1c8)](util[_0x2347da(0x197)](_0x112039));const _0x1f3255={'globalException':util['format']('%j',_0x112039)};PerformanceTester[_0x2347da(0x170)](PerformanceEvents[_0x2347da(0x1c2)],![],util['format'](_0x112039));if(helper[_0x2347da(0x184)](global[_0x2347da(0x198)])&&helper[_0x2347da(0x184)](global['framework']))return;try{utilities[_0x2347da(0x169)](_0x21dd76[_0x2347da(0x190)],_0x1f3255,global[_0x2347da(0x198)],global['framework']);}catch(_0x12386c){logger['debug'](_0x2347da(0x1bb)+_0x12386c['stack']);}try{await helper[_0x2347da(0x180)](global[_0x2347da(0x198)]);}catch(_0x515703){logger[_0x2347da(0x174)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x515703['stack']);}await BrowserstackCLI[_0x2347da(0x176)]()[_0x2347da(0x15f)](),PerformanceTester['end'](PerformanceEvents[_0x2347da(0x1c2)],![],util[_0x2347da(0x197)](_0x112039));}finally{PerformanceTester[_0x2347da(0x196)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path['join'](helper[a44_0x160749(0x179)](),a44_0x160749(0x168));if(fs[a44_0x160749(0x151)](browserstackFolderPath)){const filePath=path[a44_0x160749(0x157)](browserstackFolderPath,a44_0x160749(0x1c6));fs[a44_0x160749(0x151)](filePath)&&fs[a44_0x160749(0x162)](filePath);}}catch(a44_0x581384){logger[a44_0x160749(0x174)](a44_0x160749(0x15b)+a44_0x581384[a44_0x160749(0x1b0)]);}function a44_0x1cb5(){const _0x112a9e=['Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','assign','usage','parserConfiguration','mocha','.browserstack','fireFunnelTestEvent','Parsing\x20command\x20line\x20arguments','sjoTs','push','describe','dyVzK','NIGHTWATCH','end','demandCommand','--require','BupsA','debug','./jest/command','getInstance','winstonLogger','./codeceptjs/command','homedir','MOCHA','12122289JEXUQf','VANILLA','hpmrb','codeceptjs','legtP','sendLogs','XDyna','CUCUMBER','mocha/lib/cli/run.js','isUndefined','--config','RSwBY','gXsZp','help','alias','setBrowserStackAutomationDisable','zyeyM','FkyKe','setTestObservabilityDisable','JUgRc','3168970lEJtIZ','OUnRI','./integrations/command','--opts','CODECEPTJS','WYusS','2567640OemuPo','start','format','config','EVENTS','--no-config','node','hFkmt','find','./vanilla-js/command','4312777YOjfAi','../../ats/src/index','hDfXG','./nightwatch/command','vanilla','nightwatch','../helpers/helper','./cucumber-js/command','2fTNKlR','HELP','--package','argv','../helpers/BrowserStackSetup','671253FlCbLP','UUohX','showHelpOnFail','wtNQz','message','534161pgSwmh','./playwright/command','8HprXYX','rYFJO','../helpers/logger','handler','./v2/browserstackCLI','WVwsl','exitCode','Running\x20SDK\x20with\x20args\x20','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','PLAYWRIGHT','SDKTestSuccessful','cucumber-js','HST','VERSION','command','SDK_SETUP','MWgXs','--mochaRequire','IZWfy','.local-not-set.json','QIdkP','error','includes','INFO','dot-notation','bmCiY','aYFsL','Qyjwe','jest','wrap','existsSync','4561448DHfSXx','info','ZBsuK','../helpers/performance/constants','QnvTj','join','../helpers/utilities','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','run','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','fySNf','BcEDM','mocha/lib/cli/commands.js','stop','--no-opts','slice','unlinkSync'];a44_0x1cb5=function(){return _0x112a9e;};return a44_0x1cb5();}process[a44_0x160749(0x1aa)][a44_0x160749(0x1c9)]('mocha')&&(!process['argv'][a44_0x160749(0x1c9)](a44_0x160749(0x192))&&process['argv'][a44_0x160749(0x16c)](a44_0x160749(0x160)),!process[a44_0x160749(0x1aa)][a44_0x160749(0x19d)](_0x1be868=>_0x1be868[a44_0x160749(0x1c9)](a44_0x160749(0x185)))&&process[a44_0x160749(0x1aa)]['push'](a44_0x160749(0x19a)),!process[a44_0x160749(0x1aa)][a44_0x160749(0x1c9)](a44_0x160749(0x1a9))&&process[a44_0x160749(0x1aa)][a44_0x160749(0x16c)]('--no-package'),helper['findAndReplace'](process['argv'],a44_0x160749(0x172),a44_0x160749(0x1c4)));PerformanceTester['start'](PerformanceEvents['SDK_SETUP']);const a44_0x561a06={};a44_0x561a06[a44_0x160749(0x14b)]=![];const argv=yargs[a44_0x160749(0x166)](a44_0x561a06)[a44_0x160749(0x165)]('usage:\x20$0\x20<command>\x20[args]')[a44_0x160749(0x189)]('v','version')[a44_0x160749(0x16d)]('v')['alias']('h',a44_0x160749(0x188))['help']('help')[a44_0x160749(0x1ae)](!![],Constants[a44_0x160749(0x1c0)][a44_0x160749(0x1a8)])[a44_0x160749(0x1c1)](a44_0x160749(0x14f),Constants['JEST'][a44_0x160749(0x1ca)],function(_0x55e078){const _0xe85983=a44_0x160749,_0x220a42={'UUohX':_0xe85983(0x14f),'bmCiY':function(_0x5580f1,_0x185a1e,_0xad4da6,_0x18fd2a,_0xb85afd){return _0x5580f1(_0x185a1e,_0xad4da6,_0x18fd2a,_0xb85afd);},'UMmgY':function(_0x6b25cc,_0x57ad8f){return _0x6b25cc(_0x57ad8f);},'QnvTj':_0xe85983(0x175)},_0x20b5dd=process[_0xe85983(0x1aa)][_0xe85983(0x161)](0x2);helper[_0xe85983(0x18d)](),helper[_0xe85983(0x18a)]();const _0x22cd41=new BrowserStackSetup(_0x55e078[_0xe85983(0x1aa)],_0x220a42[_0xe85983(0x1ad)]);return _0x220a42[_0xe85983(0x14c)](captureError,_0x220a42['UMmgY'](require,_0x220a42[_0xe85983(0x156)]),_0x55e078[_0xe85983(0x1aa)],_0x22cd41,_0x20b5dd);})['command'](a44_0x160749(0x167),Constants[a44_0x160749(0x17a)]['INFO'],_0x26347a=>{const _0x10275c=a44_0x160749,_0x47022c={'CORNo':function(_0x5c3602,_0x1857ab,_0x404815,_0xe45aa4){return _0x5c3602(_0x1857ab,_0x404815,_0xe45aa4);},'LIeJW':function(_0x21d31e,_0x3a6408){return _0x21d31e(_0x3a6408);},'QmOxu':'./mocha/command','rYFJO':_0x10275c(0x167),'zyeyM':_0x10275c(0x16a),'aYFsL':function(_0x5f43e3,_0x20cfd6,_0x4f73ae){return _0x5f43e3(_0x20cfd6,_0x4f73ae);},'XDyna':_0x10275c(0x183),'QIdkP':_0x10275c(0x15e),'JVutY':function(_0x39014c,_0x569f21,_0x58d3fb){return _0x39014c(_0x569f21,_0x58d3fb);},'MWgXs':'mocha/lib/cli/cli.js','MZfTV':function(_0x46d9bd){return _0x46d9bd();}};process['argv']=process[_0x10275c(0x1aa)][_0x10275c(0x161)](0x1),helper[_0x10275c(0x18d)](),helper[_0x10275c(0x18a)]();const _0x55bba6=new BrowserStackSetup(_0x26347a[_0x10275c(0x1aa)],_0x47022c['rYFJO']);logger[_0x10275c(0x174)](_0x47022c[_0x10275c(0x18b)]);const _0x55eddb=_0x47022c[_0x10275c(0x14d)](requireModule,_0x47022c[_0x10275c(0x181)],_0x47022c[_0x10275c(0x1b4)]),_0x11b702=_0x47022c[_0x10275c(0x14d)](requireModule,_0x47022c[_0x10275c(0x1c7)],_0x47022c[_0x10275c(0x1b4)]);delete _0x55eddb[_0x10275c(0x1b6)],_0x55eddb['handler']=function(_0x17833b){return _0x47022c['CORNo'](captureError,_0x47022c['LIeJW'](require,_0x47022c['QmOxu']),_0x17833b,_0x55bba6);},_0x11b702[_0x10275c(0x15a)]=_0x55eddb;const {main:_0x53715c}=_0x47022c['JVutY'](requireModule,_0x47022c[_0x10275c(0x1c3)],_0x47022c[_0x10275c(0x1b4)]);_0x47022c['MZfTV'](_0x53715c);})['command'](a44_0x160749(0x1be),Constants[a44_0x160749(0x182)]['INFO'],function(_0x2384bf){const _0x21e623=a44_0x160749,_0x3629f8={'RSwBY':_0x21e623(0x1be),'JUgRc':function(_0x1215a1,_0x246ba7,_0x46de38,_0x11da4a,_0xe6ffc8){return _0x1215a1(_0x246ba7,_0x46de38,_0x11da4a,_0xe6ffc8);},'hDfXG':function(_0x3cab73,_0x1ec579){return _0x3cab73(_0x1ec579);},'BupsA':_0x21e623(0x1a6)},_0x1786ef=process[_0x21e623(0x1aa)]['slice'](0x2),_0x574642=new BrowserStackSetup(_0x2384bf['argv'],_0x3629f8[_0x21e623(0x186)]);return _0x3629f8[_0x21e623(0x18e)](captureError,_0x3629f8[_0x21e623(0x1a1)](require,_0x3629f8[_0x21e623(0x173)]),_0x2384bf[_0x21e623(0x1aa)],_0x574642,_0x1786ef);})['command'](a44_0x160749(0x19b),Constants[a44_0x160749(0x17c)][a44_0x160749(0x1ca)],function(_0x3b6414){const _0x256348=a44_0x160749,_0x3985f4={'wtNQz':_0x256348(0x1a3),'ReTHj':function(_0x37845c,_0x150fda,_0x503da8,_0x4b8188,_0x1fa3b8){return _0x37845c(_0x150fda,_0x503da8,_0x4b8188,_0x1fa3b8);},'Qyjwe':function(_0x49f23b,_0x2c4ec8){return _0x49f23b(_0x2c4ec8);},'sjoTs':_0x256348(0x19e)},_0x507d7d=process[_0x256348(0x1aa)][_0x256348(0x161)](0x2),_0x17432d=new BrowserStackSetup(_0x3b6414[_0x256348(0x1aa)],_0x3985f4[_0x256348(0x1af)]);return _0x3985f4['ReTHj'](captureError,_0x3985f4[_0x256348(0x14e)](require,_0x3985f4[_0x256348(0x16b)]),_0x3b6414[_0x256348(0x1aa)],_0x17432d,_0x507d7d);})[a44_0x160749(0x1c1)](a44_0x160749(0x1a4),Constants[a44_0x160749(0x16f)]['INFO'],function(_0x1b9901){const _0x457f1a=a44_0x160749,_0x126091={'GTIIZ':function(_0x184a7a,_0x50d57e,_0x492877,_0x40357e,_0xd559ce){return _0x184a7a(_0x50d57e,_0x492877,_0x40357e,_0xd559ce);},'Kwdvs':function(_0x3f614f,_0x4c7637){return _0x3f614f(_0x4c7637);},'dyVzK':_0x457f1a(0x1a2)},_0x40e0a0=process[_0x457f1a(0x1aa)]['slice'](0x2),_0x2bebc8=new BrowserStackSetup(_0x1b9901[_0x457f1a(0x1aa)]);return _0x126091['GTIIZ'](captureError,_0x126091['Kwdvs'](require,_0x126091[_0x457f1a(0x16e)]),_0x1b9901[_0x457f1a(0x1aa)],_0x2bebc8,_0x40e0a0);})[a44_0x160749(0x1c1)](a44_0x160749(0x17e),Constants[a44_0x160749(0x193)][a44_0x160749(0x1ca)],function(_0x1edb97){const _0x19bcd3=a44_0x160749,_0x257ade={'WYusS':_0x19bcd3(0x17e),'sqzmm':function(_0x5ab1c5,_0x5db9a8,_0x31006b,_0x5da824,_0x472ee6){return _0x5ab1c5(_0x5db9a8,_0x31006b,_0x5da824,_0x472ee6);},'BcEDM':function(_0x338e03,_0x38bdf5){return _0x338e03(_0x38bdf5);},'FkyKe':_0x19bcd3(0x178)},_0x4973cf=process[_0x19bcd3(0x1aa)][_0x19bcd3(0x161)](0x2),_0x264b9e=new BrowserStackSetup(_0x1edb97[_0x19bcd3(0x1aa)],_0x257ade[_0x19bcd3(0x194)]);return _0x257ade['sqzmm'](captureError,_0x257ade[_0x19bcd3(0x15d)](require,_0x257ade[_0x19bcd3(0x18c)]),_0x1edb97[_0x19bcd3(0x1aa)],_0x264b9e,_0x4973cf);})[a44_0x160749(0x1c1)]('ats',Constants[a44_0x160749(0x1bf)]['INFO'],function(_0x7570b){const _0x44f629=a44_0x160749,_0x3efa0e={'hFkmt':function(_0x5d59ef,_0x4fa4ed,_0x4a72df){return _0x5d59ef(_0x4fa4ed,_0x4a72df);},'legtP':function(_0x38dc31,_0x4d5437){return _0x38dc31(_0x4d5437);},'WVwsl':_0x44f629(0x1a0)},_0x14b292=process[_0x44f629(0x1aa)][_0x44f629(0x161)](0x2);return _0x3efa0e[_0x44f629(0x19c)](captureError,_0x3efa0e[_0x44f629(0x17f)](require,_0x3efa0e[_0x44f629(0x1b8)]),_0x7570b);})['command']('integrations',Constants['INTEGRATIONS'][a44_0x160749(0x1ca)],function(_0x3264c8){const _0x5ce5b6=a44_0x160749,_0x52c6b8={'ZBsuK':function(_0x1f6417,_0x2263ce){return _0x1f6417(_0x2263ce);}};return _0x52c6b8[_0x5ce5b6(0x154)](runIntegrations,_0x3264c8);})['command']('playwright',Constants[a44_0x160749(0x1bc)]['INFO'],function(_0x522ec7){const _0x311923=a44_0x160749,_0x529bd4={'fySNf':function(_0x3696f8,_0x3b391a,_0xb66486,_0x36a025,_0x5864a1){return _0x3696f8(_0x3b391a,_0xb66486,_0x36a025,_0x5864a1);},'hpmrb':function(_0x42fecb,_0x47f976){return _0x42fecb(_0x47f976);},'gXsZp':_0x311923(0x1b2)},_0x1af176=process['argv'][_0x311923(0x161)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x329b9b=new BrowserStackSetup(_0x522ec7[_0x311923(0x1aa)],FRAMEWORKS[_0x311923(0x1bc)]);return _0x529bd4[_0x311923(0x15c)](captureError,_0x529bd4[_0x311923(0x17d)](require,_0x529bd4[_0x311923(0x187)]),_0x522ec7[_0x311923(0x1aa)],_0x329b9b,_0x1af176);})[a44_0x160749(0x171)](0x1,a44_0x160749(0x159))[a44_0x160749(0x150)](null)[a44_0x160749(0x1aa)];!helper[a44_0x160749(0x184)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a44_0x160749(0x1c8)](a44_0x160749(0x163));
2
+ 'use strict';function a45_0x2c47(){const _0x5c9cef=['debug','alias','hzQQu','mocha','../helpers/helper','describe','--no-config','./vanilla-js/command','89559iswNlp','uNRzM','2840118kbLfKu','./v2/browserstackCLI','stack','200990YcGIow','cucumber-js','vanilla','codeceptjs','OPmmA','sendLogs','playwright','winstonLogger','VTVwk','handler','message','SDK_SETUP','.browserstack','path','isUndefined','--opts','command','findAndReplace','showHelpOnFail','--package','10ENkxhf','exitCode','usage','util','ibdXp','552IvQWsn','44986872ZZTXHJ','EnDEF','MinCf','./cucumber-js/command','push','help','wUJxI','boJJi','error','format','pFbzT','end','existsSync','SDK_CLEANUP','kuivQ','mocha/lib/cli/cli.js','yargs','BROWSERSTACK_CONFIG_FILE_PATH','./playwright/command','getInstance','demandCommand','../helpers/logger','VrtDE','PLAYWRIGHT','Ycehn','UqTCn','NIGHTWATCH','ats','setBrowserStackAutomationDisable','CUCUMBER','yaduX','--no-opts','--config','argv','./nightwatch/command','MfNFE','framework','jKBvJ','./codeceptjs/command','SDKTestSuccessful','unlinkSync','2oBeIKv','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','../helpers/utilities','phafb','Parsing\x20command\x20line\x20arguments','mocha/lib/cli/run.js','parserConfiguration','config','kPHXI','pgaUh','dwrNT','--no-package','ogusU','HELP','../helpers/performance/performance-tester','rbltF','3549069SNRCUP','TNfAu','pJuHz','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','includes','FfoVM','1797388nFnOcK','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','jest','7QrnhXG','homedir','../helpers/test-observability/constants','fireFunnelTestEvent','./utils/constants','CODECEPTJS','654779vvJbHk','join','version','../../ats/src/index','mocha/lib/cli/commands.js','node','dot-notation','NJhxl','IAaER','setTestObservabilityDisable','MOCHA','121RkFqoM','VERSION','tMwZp','Running\x20SDK\x20with\x20args\x20','start','KbdSi','slice','INFO'];a45_0x2c47=function(){return _0x5c9cef;};return a45_0x2c47();}const a45_0x1d9e18=a45_0x3779;(function(_0x3e5083,_0x348c73){const _0x5291be=a45_0x3779,_0x1da303=_0x3e5083();while(!![]){try{const _0x5dfd18=parseInt(_0x5291be(0x1e9))/0x1*(parseInt(_0x5291be(0x1ca))/0x2)+-parseInt(_0x5291be(0x1da))/0x3+-parseInt(_0x5291be(0x1e0))/0x4*(parseInt(_0x5291be(0x19b))/0x5)+-parseInt(_0x5291be(0x206))/0x6*(parseInt(_0x5291be(0x1e3))/0x7)+-parseInt(_0x5291be(0x1a0))/0x8*(parseInt(_0x5291be(0x204))/0x9)+-parseInt(_0x5291be(0x209))/0xa*(parseInt(_0x5291be(0x1f4))/0xb)+parseInt(_0x5291be(0x1a1))/0xc;if(_0x5dfd18===_0x348c73)break;else _0x1da303['push'](_0x1da303['shift']());}catch(_0x6f7c11){_0x1da303['push'](_0x1da303['shift']());}}}(a45_0x2c47,0xe5b6b));const fs=require('fs'),path=require(a45_0x1d9e18(0x194)),util=require(a45_0x1d9e18(0x19e)),{requireModule}=require(a45_0x1d9e18(0x200)),PerformanceTester=require(a45_0x1d9e18(0x1d8)),PerformanceEvents=require('../helpers/performance/constants')['EVENTS'],helper=require(a45_0x1d9e18(0x200)),utilities=require(a45_0x1d9e18(0x1cc)),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require(a45_0x1d9e18(0x1e5)),runIntegrations=require('./integrations/command'),yargs=require(a45_0x1d9e18(0x1b1)),Constants=require(a45_0x1d9e18(0x1e7)),BrowserstackCLI=require(a45_0x1d9e18(0x207)),logger=require(a45_0x1d9e18(0x1b6))[a45_0x1d9e18(0x18e)],origArgs=Object['assign']([],process[a45_0x1d9e18(0x1c2)]),captureError=async(_0x4ed181,_0x505a1b,_0x345313,_0x421b08=null)=>{const _0xbb78ea=a45_0x1d9e18,_0xa813bd={'LMtYf':function(_0x114901,_0x729163,_0x333437,_0x4b1ee1){return _0x114901(_0x729163,_0x333437,_0x4b1ee1);},'ogusU':_0xbb78ea(0x1c8)};try{logger['info'](_0xbb78ea(0x1f7)+origArgs[_0xbb78ea(0x1ea)]('\x20')),await _0xa813bd['LMtYf'](_0x4ed181,_0x505a1b,_0x421b08,_0x345313);}catch(_0x855722){process[_0xbb78ea(0x19c)]=0x1,logger[_0xbb78ea(0x1a9)](util[_0xbb78ea(0x1aa)](_0x855722));const _0x2b62fb={'globalException':util[_0xbb78ea(0x1aa)]('%j',_0x855722)};PerformanceTester[_0xbb78ea(0x1ac)](PerformanceEvents[_0xbb78ea(0x192)],![],util[_0xbb78ea(0x1aa)](_0x855722));if(helper['isUndefined'](global[_0xbb78ea(0x1d1)])&&helper[_0xbb78ea(0x195)](global[_0xbb78ea(0x1c5)]))return;try{utilities[_0xbb78ea(0x1e6)](_0xa813bd[_0xbb78ea(0x1d6)],_0x2b62fb,global[_0xbb78ea(0x1d1)],global['framework']);}catch(_0x369285){logger[_0xbb78ea(0x1fc)](_0xbb78ea(0x1cb)+_0x369285[_0xbb78ea(0x208)]);}try{await helper[_0xbb78ea(0x18c)](global[_0xbb78ea(0x1d1)]);}catch(_0x572976){logger[_0xbb78ea(0x1fc)](_0xbb78ea(0x1e1)+_0x572976[_0xbb78ea(0x208)]);}await BrowserstackCLI[_0xbb78ea(0x1b4)]()['stop'](),PerformanceTester[_0xbb78ea(0x1ac)](PerformanceEvents['SDK_SETUP'],![],util[_0xbb78ea(0x1aa)](_0x855722));}finally{PerformanceTester[_0xbb78ea(0x1f8)](PerformanceEvents[_0xbb78ea(0x1ae)]);}};try{const browserstackFolderPath=path['join'](helper[a45_0x1d9e18(0x1e4)](),a45_0x1d9e18(0x193));if(fs[a45_0x1d9e18(0x1ad)](browserstackFolderPath)){const filePath=path[a45_0x1d9e18(0x1ea)](browserstackFolderPath,'.local-not-set.json');fs[a45_0x1d9e18(0x1ad)](filePath)&&fs[a45_0x1d9e18(0x1c9)](filePath);}}catch(a45_0x171046){logger[a45_0x1d9e18(0x1fc)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a45_0x171046[a45_0x1d9e18(0x191)]);}process[a45_0x1d9e18(0x1c2)][a45_0x1d9e18(0x1de)](a45_0x1d9e18(0x1ff))&&(!process[a45_0x1d9e18(0x1c2)][a45_0x1d9e18(0x1de)](a45_0x1d9e18(0x196))&&process[a45_0x1d9e18(0x1c2)][a45_0x1d9e18(0x1a5)](a45_0x1d9e18(0x1c0)),!process[a45_0x1d9e18(0x1c2)]['find'](_0x45c370=>_0x45c370[a45_0x1d9e18(0x1de)](a45_0x1d9e18(0x1c1)))&&process[a45_0x1d9e18(0x1c2)][a45_0x1d9e18(0x1a5)](a45_0x1d9e18(0x202)),!process[a45_0x1d9e18(0x1c2)][a45_0x1d9e18(0x1de)](a45_0x1d9e18(0x19a))&&process[a45_0x1d9e18(0x1c2)][a45_0x1d9e18(0x1a5)](a45_0x1d9e18(0x1d5)),helper[a45_0x1d9e18(0x198)](process['argv'],'--require','--mochaRequire'));PerformanceTester[a45_0x1d9e18(0x1f8)](PerformanceEvents['SDK_SETUP']);const a45_0x5941fa={};function a45_0x3779(_0x175db8,_0x2ca8ff){const _0x2c47dd=a45_0x2c47();return a45_0x3779=function(_0x3779d2,_0x29ab31){_0x3779d2=_0x3779d2-0x188;let _0x234bb3=_0x2c47dd[_0x3779d2];return _0x234bb3;},a45_0x3779(_0x175db8,_0x2ca8ff);}a45_0x5941fa[a45_0x1d9e18(0x1ef)]=![];const argv=yargs[a45_0x1d9e18(0x1d0)](a45_0x5941fa)[a45_0x1d9e18(0x19d)]('usage:\x20$0\x20<command>\x20[args]')[a45_0x1d9e18(0x1fd)]('v',a45_0x1d9e18(0x1eb))[a45_0x1d9e18(0x201)]('v')[a45_0x1d9e18(0x1fd)]('h','help')[a45_0x1d9e18(0x1a6)](a45_0x1d9e18(0x1a6))[a45_0x1d9e18(0x199)](!![],Constants[a45_0x1d9e18(0x1f5)][a45_0x1d9e18(0x1d7)])['command'](a45_0x1d9e18(0x1e2),Constants['JEST']['INFO'],function(_0x3e1ab1){const _0x41625b=a45_0x1d9e18,_0x4c2551={'kPKNR':_0x41625b(0x1e2),'pFbzT':function(_0x2b1f57,_0x333bd0,_0x538d09,_0x214ec4,_0x59e10c){return _0x2b1f57(_0x333bd0,_0x538d09,_0x214ec4,_0x59e10c);},'rrAXq':function(_0x42d80b,_0x42179b){return _0x42d80b(_0x42179b);},'IAaER':'./jest/command'},_0x473dc7=process[_0x41625b(0x1c2)][_0x41625b(0x1fa)](0x2);helper[_0x41625b(0x1f2)](),helper[_0x41625b(0x1bd)]();const _0x4f42c3=new BrowserStackSetup(_0x3e1ab1[_0x41625b(0x1c2)],_0x4c2551['kPKNR']);return _0x4c2551[_0x41625b(0x1ab)](captureError,_0x4c2551['rrAXq'](require,_0x4c2551[_0x41625b(0x1f1)]),_0x3e1ab1[_0x41625b(0x1c2)],_0x4f42c3,_0x473dc7);})[a45_0x1d9e18(0x197)](a45_0x1d9e18(0x1ff),Constants[a45_0x1d9e18(0x1f3)][a45_0x1d9e18(0x1fb)],_0x1491cc=>{const _0x5ec257=a45_0x1d9e18,_0x52d1e8={'OSykG':function(_0x54ef39,_0x2c28a0,_0x57632a,_0x30b3e4){return _0x54ef39(_0x2c28a0,_0x57632a,_0x30b3e4);},'dIjDk':function(_0x20ee55,_0x4e5b15){return _0x20ee55(_0x4e5b15);},'tMwZp':'./mocha/command','jKBvJ':'mocha','boJJi':_0x5ec257(0x1ce),'kuivQ':function(_0x241b78,_0x590ae0,_0x3741e1){return _0x241b78(_0x590ae0,_0x3741e1);},'dwrNT':_0x5ec257(0x1cf),'hYUCv':function(_0x3263c5,_0x58319f,_0x153303){return _0x3263c5(_0x58319f,_0x153303);},'KbdSi':_0x5ec257(0x1ed),'rbltF':function(_0x265544,_0x5580d7,_0x3a1efb){return _0x265544(_0x5580d7,_0x3a1efb);},'VrtDE':_0x5ec257(0x1b0),'OPmmA':function(_0x21b67f){return _0x21b67f();}};process[_0x5ec257(0x1c2)]=process[_0x5ec257(0x1c2)]['slice'](0x1),helper[_0x5ec257(0x1f2)](),helper['setBrowserStackAutomationDisable']();const _0x2148fa=new BrowserStackSetup(_0x1491cc[_0x5ec257(0x1c2)],_0x52d1e8[_0x5ec257(0x1c6)]);logger[_0x5ec257(0x1fc)](_0x52d1e8[_0x5ec257(0x1a8)]);const _0x3e8bfa=_0x52d1e8[_0x5ec257(0x1af)](requireModule,_0x52d1e8[_0x5ec257(0x1d4)],_0x52d1e8[_0x5ec257(0x1c6)]),_0x2b5747=_0x52d1e8['hYUCv'](requireModule,_0x52d1e8[_0x5ec257(0x1f9)],_0x52d1e8['jKBvJ']);delete _0x3e8bfa[_0x5ec257(0x190)],_0x3e8bfa['handler']=function(_0xafc9b8){const _0x19b0a1=_0x5ec257;return _0x52d1e8['OSykG'](captureError,_0x52d1e8['dIjDk'](require,_0x52d1e8[_0x19b0a1(0x1f6)]),_0xafc9b8,_0x2148fa);},_0x2b5747['run']=_0x3e8bfa;const {main:_0x30f09c}=_0x52d1e8[_0x5ec257(0x1d9)](requireModule,_0x52d1e8[_0x5ec257(0x1b7)],_0x52d1e8[_0x5ec257(0x1c6)]);_0x52d1e8[_0x5ec257(0x18b)](_0x30f09c);})[a45_0x1d9e18(0x197)](a45_0x1d9e18(0x188),Constants[a45_0x1d9e18(0x1be)][a45_0x1d9e18(0x1fb)],function(_0x1f69a7){const _0x2ac1f1=a45_0x1d9e18,_0x4c030b={'iVvlx':_0x2ac1f1(0x188),'FfoVM':function(_0x574be9,_0x963bc4,_0x51f07b,_0x55bd98,_0x3c77be){return _0x574be9(_0x963bc4,_0x51f07b,_0x55bd98,_0x3c77be);},'NJhxl':function(_0x3581ec,_0x26da47){return _0x3581ec(_0x26da47);},'MinCf':_0x2ac1f1(0x1a4)},_0x2b0a15=process[_0x2ac1f1(0x1c2)]['slice'](0x2),_0x104cd3=new BrowserStackSetup(_0x1f69a7[_0x2ac1f1(0x1c2)],_0x4c030b['iVvlx']);return _0x4c030b[_0x2ac1f1(0x1df)](captureError,_0x4c030b[_0x2ac1f1(0x1f0)](require,_0x4c030b[_0x2ac1f1(0x1a3)]),_0x1f69a7[_0x2ac1f1(0x1c2)],_0x104cd3,_0x2b0a15);})[a45_0x1d9e18(0x197)](a45_0x1d9e18(0x1ee),Constants['VANILLA'][a45_0x1d9e18(0x1fb)],function(_0x463f01){const _0x4488bf=a45_0x1d9e18,_0x3df047={'ibdXp':_0x4488bf(0x189),'yaduX':function(_0x390ed2,_0x4dcbe8,_0x208199,_0x5d23d9,_0x515cf8){return _0x390ed2(_0x4dcbe8,_0x208199,_0x5d23d9,_0x515cf8);},'ohUUz':function(_0x536d2d,_0x59ab25){return _0x536d2d(_0x59ab25);},'phafb':_0x4488bf(0x203)},_0x5d314f=process[_0x4488bf(0x1c2)][_0x4488bf(0x1fa)](0x2),_0x4ec868=new BrowserStackSetup(_0x463f01[_0x4488bf(0x1c2)],_0x3df047[_0x4488bf(0x19f)]);return _0x3df047[_0x4488bf(0x1bf)](captureError,_0x3df047['ohUUz'](require,_0x3df047[_0x4488bf(0x1cd)]),_0x463f01[_0x4488bf(0x1c2)],_0x4ec868,_0x5d314f);})[a45_0x1d9e18(0x197)]('nightwatch',Constants[a45_0x1d9e18(0x1bb)][a45_0x1d9e18(0x1fb)],function(_0x637cdf){const _0x10ef8f=a45_0x1d9e18,_0x3edb5e={'uNRzM':function(_0x37529e,_0x481567,_0x53abc3,_0x4e2aab,_0x27ce19){return _0x37529e(_0x481567,_0x53abc3,_0x4e2aab,_0x27ce19);},'pgaUh':function(_0x58d5fd,_0x3704b5){return _0x58d5fd(_0x3704b5);},'EnDEF':_0x10ef8f(0x1c3)},_0x33cc1c=process[_0x10ef8f(0x1c2)][_0x10ef8f(0x1fa)](0x2),_0x29e795=new BrowserStackSetup(_0x637cdf['argv']);return _0x3edb5e[_0x10ef8f(0x205)](captureError,_0x3edb5e[_0x10ef8f(0x1d3)](require,_0x3edb5e[_0x10ef8f(0x1a2)]),_0x637cdf[_0x10ef8f(0x1c2)],_0x29e795,_0x33cc1c);})[a45_0x1d9e18(0x197)](a45_0x1d9e18(0x18a),Constants[a45_0x1d9e18(0x1e8)][a45_0x1d9e18(0x1fb)],function(_0x4c1a5d){const _0x477c21=a45_0x1d9e18,_0x36e1c5={'uqwZD':_0x477c21(0x18a),'TNfAu':function(_0x579d94,_0x295549,_0x182da4,_0x351936,_0x3af26c){return _0x579d94(_0x295549,_0x182da4,_0x351936,_0x3af26c);},'kPHXI':function(_0x54d075,_0x49729b){return _0x54d075(_0x49729b);},'hzQQu':_0x477c21(0x1c7)},_0x100047=process[_0x477c21(0x1c2)][_0x477c21(0x1fa)](0x2),_0x265afc=new BrowserStackSetup(_0x4c1a5d[_0x477c21(0x1c2)],_0x36e1c5['uqwZD']);return _0x36e1c5[_0x477c21(0x1db)](captureError,_0x36e1c5[_0x477c21(0x1d2)](require,_0x36e1c5[_0x477c21(0x1fe)]),_0x4c1a5d[_0x477c21(0x1c2)],_0x265afc,_0x100047);})['command']('ats',Constants['HST'][a45_0x1d9e18(0x1fb)],function(_0x426d50){const _0x1eb0a2=a45_0x1d9e18,_0x236574={'wOXOE':function(_0x27d49c,_0x5af3c9,_0x278397){return _0x27d49c(_0x5af3c9,_0x278397);},'pJuHz':function(_0x293553,_0x17226f){return _0x293553(_0x17226f);},'MfNFE':_0x1eb0a2(0x1ec)},_0x4fcbf3=process['argv'][_0x1eb0a2(0x1fa)](0x2);return _0x236574['wOXOE'](captureError,_0x236574[_0x1eb0a2(0x1dc)](require,_0x236574[_0x1eb0a2(0x1c4)]),_0x426d50);})[a45_0x1d9e18(0x197)]('integrations',Constants['INTEGRATIONS'][a45_0x1d9e18(0x1fb)],function(_0x1f6ed5){const _0x30b80b=a45_0x1d9e18,_0x65c4f8={'Ycehn':function(_0x5a9839,_0x2e7613){return _0x5a9839(_0x2e7613);}};return _0x65c4f8[_0x30b80b(0x1b9)](runIntegrations,_0x1f6ed5);})['command'](a45_0x1d9e18(0x18d),Constants[a45_0x1d9e18(0x1b8)]['INFO'],function(_0x2a1d79){const _0x2b0fe4=a45_0x1d9e18,_0x2c3e24={'wUJxI':function(_0x47d510,_0x4acd7e,_0x28e496,_0x388a5a,_0x59d1f8){return _0x47d510(_0x4acd7e,_0x28e496,_0x388a5a,_0x59d1f8);},'VTVwk':function(_0x450b82,_0x3ef576){return _0x450b82(_0x3ef576);},'UqTCn':_0x2b0fe4(0x1b3)},_0x5848fa=process[_0x2b0fe4(0x1c2)][_0x2b0fe4(0x1fa)](0x2);helper['getConfigPath'](process[_0x2b0fe4(0x1c2)])&&(process['env'][_0x2b0fe4(0x1b2)]=helper['getConfigPath'](process[_0x2b0fe4(0x1c2)]));helper[_0x2b0fe4(0x1f2)](),helper['setBrowserStackAutomationDisable']();const _0x2e4eb9=new BrowserStackSetup(_0x2a1d79[_0x2b0fe4(0x1c2)],FRAMEWORKS[_0x2b0fe4(0x1b8)]);return _0x2c3e24[_0x2b0fe4(0x1a7)](captureError,_0x2c3e24[_0x2b0fe4(0x18f)](require,_0x2c3e24[_0x2b0fe4(0x1ba)]),_0x2a1d79['argv'],_0x2e4eb9,_0x5848fa);})[a45_0x1d9e18(0x1b5)](0x1,a45_0x1d9e18(0x1dd))['wrap'](null)[a45_0x1d9e18(0x1c2)];!helper[a45_0x1d9e18(0x195)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a45_0x1d9e18(0x1bc)&&console[a45_0x1d9e18(0x1a9)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a45_0x118375=a45_0x7baf;(function(_0x352e39,_0x177783){const _0x53fa22=a45_0x7baf,_0x309a8f=_0x352e39();while(!![]){try{const _0xdc4f29=-parseInt(_0x53fa22(0x108))/0x1+parseInt(_0x53fa22(0xe2))/0x2+-parseInt(_0x53fa22(0xcc))/0x3*(-parseInt(_0x53fa22(0xde))/0x4)+-parseInt(_0x53fa22(0xe5))/0x5+-parseInt(_0x53fa22(0xc9))/0x6+-parseInt(_0x53fa22(0xc7))/0x7*(parseInt(_0x53fa22(0xe1))/0x8)+parseInt(_0x53fa22(0xf4))/0x9*(parseInt(_0x53fa22(0x114))/0xa);if(_0xdc4f29===_0x177783)break;else _0x309a8f['push'](_0x309a8f['shift']());}catch(_0x59d772){_0x309a8f['push'](_0x309a8f['shift']());}}}(a45_0x14ec,0xd611c));function a45_0x14ec(){const _0x5be0e9=['stringify','/../../browserstack.pw.yml.sample','length','hAjKA','YnPCL','key','codeceptjs','93340pVBbeQ','../helpers/logger','/package.json','7nudirY','postinstall','8117940nBtDYg','username','Adding\x20new\x20script(s)\x20in\x20package.json...','4911yuQvDr','yargs','WVUtm','source','join','AaWVx','load','ysUqv','winstonLogger','utf8','/browserstack.yml','argv','-browserstack','scripts','YHXdS','includes','Creating\x20configuration\x20file...','nightwatch','3992hufxEM','mocha','RljHH','9714416UkSafZ','1119678piLcZd','vySoJ','fireFunnelTestEvent','7080535SKyxww','debug','WjbCa','writeFileSync','SDKSetup','bbFiq','CgBtt','isUndefined','node-setup','rSQZD','VOTFc','../helpers/helper','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','RmCnT','info','4104LwjRcH','xpvDZ','push','cwd','sgxcG','npm\x20update\x20browserstack-node-sdk','browserstack-node-sdk','YOUR_USERNAME','splice','replace','parse','split','entries','DplMJ','js-yaml','Setup\x20completed','readFileSync','node','playwright','\x20&&\x20npm\x20update\x20browserstack-node-sdk','1589642rzXNVF','jest','YOUR_ACCESS_KEY','WxLpD','IELgI'];a45_0x14ec=function(){return _0x5be0e9;};return a45_0x14ec();}const fs=require('fs'),helper=require(a45_0x118375(0xf0)),utilities=require('../helpers/utilities'),yaml=require(a45_0x118375(0x102)),yargs=require(a45_0x118375(0xcd)),logger=require(a45_0x118375(0xc5))[a45_0x118375(0xd4)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a45_0x118375(0x10e),configFile=process['cwd']()+a45_0x118375(0xd6),packageFile=process[a45_0x118375(0xf7)]()+a45_0x118375(0xc6),frameworks=[a45_0x118375(0xdf),a45_0x118375(0x109),'cucumber-js',a45_0x118375(0x105),a45_0x118375(0xdd),a45_0x118375(0x113),a45_0x118375(0x106)];let config;logger['info'](a45_0x118375(0xdc)),createConfigurationFile(yargs['argv'][a45_0x118375(0xca)],yargs[a45_0x118375(0xd7)][a45_0x118375(0x112)],yargs['argv'][a45_0x118375(0x106)]);try{sdkSetup();}catch(a45_0x3fd8e7){logger['debug'](a45_0x118375(0xf1)+a45_0x3fd8e7);}addScriptInPackageJson();function createConfigurationFile(_0x15215f,_0x41e4f4,_0xec5d3f=![]){const _0x10c42b=a45_0x118375,_0x3d17b4={};_0x3d17b4[_0x10c42b(0xea)]='utf8',_0x3d17b4[_0x10c42b(0x10b)]=_0x10c42b(0xfb),_0x3d17b4['AaWVx']=_0x10c42b(0x10a);const _0x3c686f=_0x3d17b4;try{let _0x3ff0d2=fs[_0x10c42b(0x104)](_0xec5d3f?configFileTemplatePW:configFileTemplate,_0x3c686f['bbFiq']);_0x15215f&&(_0x3ff0d2=_0x3ff0d2['replace'](_0x3c686f[_0x10c42b(0x10b)],_0x15215f)),_0x41e4f4&&(_0x3ff0d2=_0x3ff0d2[_0x10c42b(0xfd)](_0x3c686f[_0x10c42b(0xd1)],_0x41e4f4)),config=yaml[_0x10c42b(0xd2)](_0x3ff0d2),fs[_0x10c42b(0xe8)](configFile,_0x3ff0d2,_0x1d8f1c=>{_0x1d8f1c&&logger['error'](_0x1d8f1c);});}catch(_0xfd552f){logger['error'](_0xfd552f);}}function addPostInstallScript(_0x3a147f,_0x115814){const _0x265150=a45_0x118375,_0x26be2={};_0x26be2[_0x265150(0xee)]=_0x265150(0xc8),_0x26be2[_0x265150(0xf2)]=_0x265150(0xf9),_0x26be2[_0x265150(0x111)]=_0x265150(0x107);const _0x2e0f8e=_0x26be2;let _0x5be55b=_0x3a147f[_0x2e0f8e[_0x265150(0xee)]];if(_0x5be55b&&_0x5be55b[_0x265150(0xdb)](_0x2e0f8e[_0x265150(0xf2)]))return;!_0x5be55b?_0x5be55b=_0x2e0f8e[_0x265150(0xf2)]:_0x5be55b+=_0x2e0f8e[_0x265150(0x111)],_0x115814[_0x265150(0xf6)]([_0x2e0f8e[_0x265150(0xee)],_0x5be55b]);}function addScriptInPackageJson(){const _0x35f90a=a45_0x118375,_0x1cc286={'IELgI':_0x35f90a(0xd5),'WjbCa':function(_0x104387,_0x22b851){return _0x104387<_0x22b851;},'iNAPa':function(_0x71f70d,_0x598f0a,_0x5b0639){return _0x71f70d(_0x598f0a,_0x5b0639);},'GkVBb':function(_0x4db1fa,_0x3d1473){return _0x4db1fa<_0x3d1473;},'vySoJ':function(_0x38276e,_0x53194d,_0x39ff9a){return _0x38276e(_0x53194d,_0x39ff9a);},'CgBtt':function(_0x4702ab,_0x487695){return _0x4702ab<_0x487695;},'YHXdS':function(_0x4faf3a,_0x52b82c){return _0x4faf3a!==_0x52b82c;},'xpvDZ':_0x35f90a(0xcb)},_0x37b9e2=JSON[_0x35f90a(0xfe)](fs[_0x35f90a(0x104)](packageFile,_0x1cc286[_0x35f90a(0x10c)])),_0x59b9aa=[];for(let _0x4203e1=0x0;_0x1cc286[_0x35f90a(0xe7)](_0x4203e1,frameworks[_0x35f90a(0x10f)]);_0x4203e1+=0x1){const _0x4a5d56=_0x1cc286['iNAPa'](findScriptsWithFramework,_0x37b9e2[_0x35f90a(0xd9)],frameworks[_0x4203e1]);for(let _0x3181ad=0x0;_0x1cc286['GkVBb'](_0x3181ad,_0x4a5d56[_0x35f90a(0x10f)]);_0x3181ad+=0x1){_0x59b9aa[_0x35f90a(0xf6)](_0x1cc286[_0x35f90a(0xe3)](getUpdatedCommand,_0x37b9e2[_0x35f90a(0xd9)],_0x4a5d56[_0x3181ad]));}_0x1cc286[_0x35f90a(0xe3)](addPostInstallScript,_0x37b9e2[_0x35f90a(0xd9)],_0x59b9aa);}const _0x18e831={..._0x37b9e2[_0x35f90a(0xd9)]},_0x1507fa=_0x18e831;for(let _0x45765b=0x0;_0x1cc286[_0x35f90a(0xeb)](_0x45765b,_0x59b9aa[_0x35f90a(0x10f)]);_0x45765b+=0x1){_0x1507fa[_0x59b9aa[_0x45765b][0x0]]=_0x59b9aa[_0x45765b][0x1];}_0x1cc286[_0x35f90a(0xda)](JSON[_0x35f90a(0x10d)](_0x37b9e2[_0x35f90a(0xd9)]),JSON['stringify'](_0x1507fa))&&(logger[_0x35f90a(0xf3)](_0x1cc286[_0x35f90a(0xf5)]),_0x37b9e2['scripts']=_0x1507fa,fs[_0x35f90a(0xe8)](packageFile,JSON['stringify'](_0x37b9e2,null,0x2),_0x4d56de=>{_0x4d56de&&logger['error'](_0x4d56de);}));}function a45_0x7baf(_0x122d95,_0x243f5f){const _0x14ec2e=a45_0x14ec();return a45_0x7baf=function(_0x7baf11,_0x4244fc){_0x7baf11=_0x7baf11-0xc5;let _0x4084ef=_0x14ec2e[_0x7baf11];return _0x4084ef;},a45_0x7baf(_0x122d95,_0x243f5f);};function findScriptsWithFramework(_0x14cdd3,_0x54a44e){const _0x32c1f1=a45_0x118375,_0x4cb1f0={};_0x4cb1f0[_0x32c1f1(0xe0)]=function(_0x30ee9b,_0x156d57){return _0x30ee9b<_0x156d57;},_0x4cb1f0[_0x32c1f1(0x101)]='browserstack-node-sdk';const _0x18930a=_0x4cb1f0,_0x5892f3=[],_0x57ca36=Object[_0x32c1f1(0x100)](_0x14cdd3);for(let _0x2da276=0x0;_0x18930a[_0x32c1f1(0xe0)](_0x2da276,_0x57ca36[_0x32c1f1(0x10f)]);_0x2da276+=0x1){_0x57ca36[_0x2da276][0x1]['includes'](_0x54a44e)&&!_0x57ca36[_0x2da276][0x1][_0x32c1f1(0xdb)](_0x18930a['DplMJ'])&&_0x5892f3[_0x32c1f1(0xf6)](_0x57ca36[_0x2da276][0x0]);}return _0x5892f3;}function getUpdatedCommand(_0x217694,_0x6418cc){const _0xc152e8=a45_0x118375,_0x3c4687={};_0x3c4687['hAjKA']=function(_0x2347ea,_0x15025c){return _0x2347ea!==_0x15025c;},_0x3c4687[_0xc152e8(0xd3)]=_0xc152e8(0xfa),_0x3c4687['WVUtm']=function(_0x48645e,_0x69825c){return _0x48645e===_0x69825c;};const _0x5a5b78=_0x3c4687,_0x3fed0f=_0x6418cc+_0xc152e8(0xd8),_0x5b2b33=_0x217694[_0x6418cc],_0x428604=_0x5b2b33[_0xc152e8(0xff)]('\x20');for(const _0x222535 of frameworks){if(_0x5a5b78[_0xc152e8(0x110)](_0x428604['indexOf'](_0x222535),-0x1)){_0x428604[_0xc152e8(0xfc)](_0x428604['indexOf'](_0x222535),0x0,_0x5a5b78[_0xc152e8(0xd3)]);break;}}let _0x12604b=_0x428604[_0xc152e8(0xd0)]('\x20');return _0x5a5b78[_0xc152e8(0xce)](_0x12604b,_0x5b2b33)&&(_0x12604b='browserstack-node-sdk\x20'+_0x5b2b33),[_0x3fed0f,_0x12604b];}function sdkSetup(){const _0x950c42=a45_0x118375,_0xf65252={};_0xf65252[_0x950c42(0xef)]=_0x950c42(0xed),_0xf65252[_0x950c42(0xf8)]=_0x950c42(0xe9);const _0x2e8a91=_0xf65252;if(helper[_0x950c42(0xec)](config))return;config[_0x950c42(0xcf)]=_0x2e8a91['VOTFc'];try{utilities[_0x950c42(0xe4)](_0x2e8a91[_0x950c42(0xf8)],{},config,'');}catch(_0x3311e7){logger[_0x950c42(0xe6)](_0x950c42(0xf1)+_0x3311e7);}}logger[a45_0x118375(0xf3)](a45_0x118375(0x103));
3
+ const a46_0x232a37=a46_0x46eb;(function(_0x4f801d,_0x47ad24){const _0x44b561=a46_0x46eb,_0x1a3f22=_0x4f801d();while(!![]){try{const _0xa6eb88=-parseInt(_0x44b561(0x1d6))/0x1*(-parseInt(_0x44b561(0x1b9))/0x2)+-parseInt(_0x44b561(0x1ec))/0x3*(parseInt(_0x44b561(0x1d8))/0x4)+-parseInt(_0x44b561(0x1cf))/0x5*(parseInt(_0x44b561(0x1b7))/0x6)+parseInt(_0x44b561(0x1f1))/0x7*(-parseInt(_0x44b561(0x1be))/0x8)+-parseInt(_0x44b561(0x1d9))/0x9+-parseInt(_0x44b561(0x1bb))/0xa+parseInt(_0x44b561(0x1cc))/0xb;if(_0xa6eb88===_0x47ad24)break;else _0x1a3f22['push'](_0x1a3f22['shift']());}catch(_0x5eb6c2){_0x1a3f22['push'](_0x1a3f22['shift']());}}}(a46_0x11d0,0x683d4));const fs=require('fs'),helper=require('../helpers/helper'),utilities=require(a46_0x232a37(0x1de)),yaml=require('js-yaml'),yargs=require(a46_0x232a37(0x1b3)),logger=require('../helpers/logger')[a46_0x232a37(0x1c7)],configFileTemplate=__dirname+a46_0x232a37(0x1b0),configFileTemplatePW=__dirname+a46_0x232a37(0x1c3),configFile=process[a46_0x232a37(0x1d3)]()+'/browserstack.yml',packageFile=process[a46_0x232a37(0x1d3)]()+a46_0x232a37(0x1b1),frameworks=[a46_0x232a37(0x1b8),'jest',a46_0x232a37(0x1ed),a46_0x232a37(0x1e2),a46_0x232a37(0x1c2),a46_0x232a37(0x1c8),a46_0x232a37(0x1c9)];function a46_0x46eb(_0x5b6d0e,_0x3af1a0){const _0x11d08a=a46_0x11d0();return a46_0x46eb=function(_0x46ebcf,_0x39d7d9){_0x46ebcf=_0x46ebcf-0x1af;let _0x3ba33c=_0x11d08a[_0x46ebcf];return _0x3ba33c;},a46_0x46eb(_0x5b6d0e,_0x3af1a0);}let config;logger[a46_0x232a37(0x1f0)](a46_0x232a37(0x1e0)),createConfigurationFile(yargs[a46_0x232a37(0x1ea)]['username'],yargs[a46_0x232a37(0x1ea)][a46_0x232a37(0x1c6)],yargs[a46_0x232a37(0x1ea)]['playwright']);try{sdkSetup();}catch(a46_0x28731f){logger[a46_0x232a37(0x1d4)](a46_0x232a37(0x1c5)+a46_0x28731f);}addScriptInPackageJson();function createConfigurationFile(_0x327789,_0xc1d258,_0x4a40f4=![]){const _0x612c5d=a46_0x232a37,_0x3f64fa={};_0x3f64fa[_0x612c5d(0x1bf)]=_0x612c5d(0x1e3),_0x3f64fa['MrEBf']=_0x612c5d(0x1ce),_0x3f64fa['HYLUz']='YOUR_ACCESS_KEY';const _0x4627e8=_0x3f64fa;try{let _0x3068d6=fs[_0x612c5d(0x1c0)](_0x4a40f4?configFileTemplatePW:configFileTemplate,_0x4627e8[_0x612c5d(0x1bf)]);_0x327789&&(_0x3068d6=_0x3068d6[_0x612c5d(0x1f3)](_0x4627e8[_0x612c5d(0x1bc)],_0x327789)),_0xc1d258&&(_0x3068d6=_0x3068d6[_0x612c5d(0x1f3)](_0x4627e8['HYLUz'],_0xc1d258)),config=yaml[_0x612c5d(0x1c1)](_0x3068d6),fs['writeFileSync'](configFile,_0x3068d6,_0x47c876=>{const _0x4a441c=_0x612c5d;_0x47c876&&logger[_0x4a441c(0x1e7)](_0x47c876);});}catch(_0x26570b){logger[_0x612c5d(0x1e7)](_0x26570b);}}function addPostInstallScript(_0xa0765f,_0x1aa23f){const _0x450fb0=a46_0x232a37,_0x1e05c4={};_0x1e05c4[_0x450fb0(0x1c4)]=_0x450fb0(0x1af),_0x1e05c4[_0x450fb0(0x1b4)]='npm\x20update\x20browserstack-node-sdk',_0x1e05c4[_0x450fb0(0x1dc)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x1babad=_0x1e05c4;let _0x1a5d45=_0xa0765f[_0x1babad[_0x450fb0(0x1c4)]];if(_0x1a5d45&&_0x1a5d45['includes'](_0x1babad['Fklby']))return;!_0x1a5d45?_0x1a5d45=_0x1babad[_0x450fb0(0x1b4)]:_0x1a5d45+=_0x1babad['VSyjj'],_0x1aa23f[_0x450fb0(0x1f7)]([_0x1babad[_0x450fb0(0x1c4)],_0x1a5d45]);}function addScriptInPackageJson(){const _0x1f1fce=a46_0x232a37,_0x21bf96={'BEZtw':'utf8','ckwMm':function(_0x3c6f41,_0x14b439){return _0x3c6f41<_0x14b439;},'pnDRj':function(_0x4f9c76,_0x15175e,_0x46a271){return _0x4f9c76(_0x15175e,_0x46a271);},'iKrZK':function(_0x2c95f5,_0x4091e6,_0x2c9fa7){return _0x2c95f5(_0x4091e6,_0x2c9fa7);},'DCDgL':function(_0x1bc499,_0x5ca332){return _0x1bc499<_0x5ca332;},'dbDae':function(_0x4f602c,_0x1fd576){return _0x4f602c!==_0x1fd576;},'SdNjg':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x5cdc34=JSON[_0x1f1fce(0x1ca)](fs['readFileSync'](packageFile,_0x21bf96[_0x1f1fce(0x1eb)])),_0x52ac21=[];for(let _0x436278=0x0;_0x21bf96[_0x1f1fce(0x1d2)](_0x436278,frameworks[_0x1f1fce(0x1d1)]);_0x436278+=0x1){const _0x55c0de=_0x21bf96[_0x1f1fce(0x1e9)](findScriptsWithFramework,_0x5cdc34[_0x1f1fce(0x1df)],frameworks[_0x436278]);for(let _0x5b44bf=0x0;_0x21bf96[_0x1f1fce(0x1d2)](_0x5b44bf,_0x55c0de[_0x1f1fce(0x1d1)]);_0x5b44bf+=0x1){_0x52ac21['push'](_0x21bf96['iKrZK'](getUpdatedCommand,_0x5cdc34[_0x1f1fce(0x1df)],_0x55c0de[_0x5b44bf]));}_0x21bf96[_0x1f1fce(0x1e4)](addPostInstallScript,_0x5cdc34[_0x1f1fce(0x1df)],_0x52ac21);}const _0x8600f6={..._0x5cdc34[_0x1f1fce(0x1df)]},_0x10abda=_0x8600f6;for(let _0x4907be=0x0;_0x21bf96['DCDgL'](_0x4907be,_0x52ac21[_0x1f1fce(0x1d1)]);_0x4907be+=0x1){_0x10abda[_0x52ac21[_0x4907be][0x0]]=_0x52ac21[_0x4907be][0x1];}_0x21bf96['dbDae'](JSON[_0x1f1fce(0x1f2)](_0x5cdc34['scripts']),JSON[_0x1f1fce(0x1f2)](_0x10abda))&&(logger['info'](_0x21bf96[_0x1f1fce(0x1b5)]),_0x5cdc34[_0x1f1fce(0x1df)]=_0x10abda,fs[_0x1f1fce(0x1e6)](packageFile,JSON['stringify'](_0x5cdc34,null,0x2),_0x3c3cc7=>{_0x3c3cc7&&logger['error'](_0x3c3cc7);}));}function a46_0x11d0(){const _0x3a155a=['cucumber-js','includes','split','info','2807Ewrcqv','stringify','replace','fWyxr','source','-browserstack','push','postinstall','/../../browserstack.yml.sample','/package.json','rvfDK','yargs','Fklby','SdNjg','fireFunnelTestEvent','54714ijkDKg','mocha','14200kqSNHz','browserstack-node-sdk\x20','5183550NvFoDe','MrEBf','join','944cPQZHj','JnqPb','readFileSync','load','nightwatch','/../../browserstack.pw.yml.sample','oZObm','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','key','winstonLogger','codeceptjs','playwright','parse','SDKSetup','18296267JfrbiF','entries','YOUR_USERNAME','5akZxSE','qTYOc','length','ckwMm','cwd','debug','bzAbW','106xUdFFf','Guvzp','599232yLrTWn','5985909tmmlqN','eRfAn','browserstack-node-sdk','VSyjj','Setup\x20completed','../helpers/utilities','scripts','Creating\x20configuration\x20file...','splice','node','utf8','iKrZK','TFtTy','writeFileSync','error','indexOf','pnDRj','argv','BEZtw','15xcgBFM'];a46_0x11d0=function(){return _0x3a155a;};return a46_0x11d0();};function findScriptsWithFramework(_0x493727,_0x129220){const _0x1cf1bd=a46_0x232a37,_0x4b2762={};_0x4b2762[_0x1cf1bd(0x1f4)]=function(_0x27da10,_0x2e44e5){return _0x27da10<_0x2e44e5;},_0x4b2762[_0x1cf1bd(0x1da)]=_0x1cf1bd(0x1db);const _0x57439b=_0x4b2762,_0x92a02e=[],_0xdd4d52=Object[_0x1cf1bd(0x1cd)](_0x493727);for(let _0xff5a86=0x0;_0x57439b[_0x1cf1bd(0x1f4)](_0xff5a86,_0xdd4d52[_0x1cf1bd(0x1d1)]);_0xff5a86+=0x1){_0xdd4d52[_0xff5a86][0x1][_0x1cf1bd(0x1ee)](_0x129220)&&!_0xdd4d52[_0xff5a86][0x1]['includes'](_0x57439b['eRfAn'])&&_0x92a02e[_0x1cf1bd(0x1f7)](_0xdd4d52[_0xff5a86][0x0]);}return _0x92a02e;}function getUpdatedCommand(_0x3565d0,_0x3707aa){const _0x2889c1=a46_0x232a37,_0xe82b0d={};_0xe82b0d[_0x2889c1(0x1d7)]=function(_0x313e9d,_0x13f1cf){return _0x313e9d!==_0x13f1cf;},_0xe82b0d[_0x2889c1(0x1e5)]=_0x2889c1(0x1db),_0xe82b0d[_0x2889c1(0x1d0)]=function(_0x2e3d28,_0x3512f1){return _0x2e3d28===_0x3512f1;};const _0x3b13a6=_0xe82b0d,_0x37e1fe=_0x3707aa+_0x2889c1(0x1f6),_0x1ac491=_0x3565d0[_0x3707aa],_0x3f4290=_0x1ac491[_0x2889c1(0x1ef)]('\x20');for(const _0x678355 of frameworks){if(_0x3b13a6[_0x2889c1(0x1d7)](_0x3f4290[_0x2889c1(0x1e8)](_0x678355),-0x1)){_0x3f4290[_0x2889c1(0x1e1)](_0x3f4290[_0x2889c1(0x1e8)](_0x678355),0x0,_0x3b13a6[_0x2889c1(0x1e5)]);break;}}let _0x1ed554=_0x3f4290[_0x2889c1(0x1bd)]('\x20');return _0x3b13a6[_0x2889c1(0x1d0)](_0x1ed554,_0x1ac491)&&(_0x1ed554=_0x2889c1(0x1ba)+_0x1ac491),[_0x37e1fe,_0x1ed554];}function sdkSetup(){const _0x1e9bc6=a46_0x232a37,_0x1501c5={};_0x1501c5[_0x1e9bc6(0x1d5)]='node-setup',_0x1501c5[_0x1e9bc6(0x1b2)]=_0x1e9bc6(0x1cb);const _0x1fe761=_0x1501c5;if(helper['isUndefined'](config))return;config[_0x1e9bc6(0x1f5)]=_0x1fe761[_0x1e9bc6(0x1d5)];try{utilities[_0x1e9bc6(0x1b6)](_0x1fe761[_0x1e9bc6(0x1b2)],{},config,'');}catch(_0x1debd8){logger['debug'](_0x1e9bc6(0x1c5)+_0x1debd8);}}logger[a46_0x232a37(0x1f0)](a46_0x232a37(0x1dd));
@@ -1 +1 @@
1
- function a46_0x13bc(_0x500f07,_0x5e5ff2){const _0x195127=a46_0x1951();return a46_0x13bc=function(_0x13bc47,_0x33d52d){_0x13bc47=_0x13bc47-0x96;let _0x5b1648=_0x195127[_0x13bc47];return _0x5b1648;},a46_0x13bc(_0x500f07,_0x5e5ff2);}function a46_0x1951(){const _0x2c55fc=['getStdout','EgOxw','_workerPool','map','8PkSLbc','getStderr','json','debug','resolve','Exception\x20in\x20sending\x20worker\x20message\x20','stderr','XAwIJ','then','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','13077130roANio','BWTuJ','parallelCucumberRun','postMessage','11KzUBkt','rySxd','worker','LzKdv','EPurH','1729052fBYtHB','length','dNXzl','parallelVanillaRun','pouPm','format','end','\x20for','gxABd','VxHQL','../../helpers/test-observability/utils','GVtnl','Running\x20','kzwXc','142988UdgSea','./testWorker.js','OtkOs','file','AFmyR','send','waitForExit','exitCode','vPwJJ','../../helpers/testhub/testhubHandler','4835LHjiqo','372zJqACE','jest-worker','EXaPZ','2355507tOfQbr','platform-run-success','qIqIU','worker_threads','platform-run-start','cucumberWorker','platform-run-failure','util','stdout','tQqSD','../../helpers/logger','uPonv','results','../../helpers/performance/constants','test-file-start','emit','fzHuY','hIEaw','configuration','vanillaWorker','platform','HstCd','9IciCCT','emittery','p-limit','winstonLogger','PyncM','pipe','YCSgY','eRYWQ','EVENTS','3587248EkfKTR','bycXq','test-file-failure','xWagj','ydNrW','Ifruw','bijpn','stop','URNPa','Workers\x20failed\x20to\x20exit\x20gracefully','3910802YAQGwR','test-file-success','fdwXp','platformCaps','_child','yDniy','jhnAd','error','all','QAIZa'];a46_0x1951=function(){return _0x2c55fc;};return a46_0x1951();}const a46_0x302617=a46_0x13bc;(function(_0x51edae,_0x2e20c3){const _0x2b6083=a46_0x13bc,_0x230d6e=_0x51edae();while(!![]){try{const _0x9081b0=parseInt(_0x2b6083(0xfb))/0x1*(parseInt(_0x2b6083(0xb6))/0x2)+-parseInt(_0x2b6083(0xc4))/0x3+-parseInt(_0x2b6083(0xa8))/0x4+parseInt(_0x2b6083(0xc0))/0x5*(-parseInt(_0x2b6083(0xc1))/0x6)+-parseInt(_0x2b6083(0xed))/0x7+-parseInt(_0x2b6083(0xe3))/0x8*(-parseInt(_0x2b6083(0xda))/0x9)+parseInt(_0x2b6083(0x9f))/0xa*(parseInt(_0x2b6083(0xa3))/0xb);if(_0x9081b0===_0x2e20c3)break;else _0x230d6e['push'](_0x230d6e['shift']());}catch(_0x4f7e5d){_0x230d6e['push'](_0x230d6e['shift']());}}}(a46_0x1951,0x781df));const Worker=require(a46_0x302617(0xc2))['Worker'],Emittery=require(a46_0x302617(0xdb)),pLimit=require(a46_0x302617(0xdc)),{parentPort}=require(a46_0x302617(0xc7)),util=require(a46_0x302617(0xcb)),logger=require(a46_0x302617(0xce))[a46_0x302617(0xdd)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a46_0x302617(0xd1))[a46_0x302617(0xe2)],{debug}=require(a46_0x302617(0xb2)),TestHubHandler=require(a46_0x302617(0xbf));exports['parallelTestRun']=(_0x178a23,_0xe032e2,_0x5d1ebb)=>new Promise(async _0x234000=>{const _0x2694a0=a46_0x302617,_0x2f323c={'jhnAd':'failureCount','mjnLv':function(_0xca7059,_0xbd7b6f){return _0xca7059+_0xbd7b6f;},'OtkOs':_0x2694a0(0xd0),'Ifruw':_0x2694a0(0xec),'hIEaw':function(_0x2e5654,_0x32b500){return _0x2e5654(_0x32b500);},'uPonv':_0x2694a0(0xd2),'EgOxw':_0x2694a0(0xb7),'SNvoU':_0x2694a0(0xa5),'dNXzl':_0x2694a0(0x97),'HstCd':_0x2694a0(0xdf),'AFmyR':function(_0x442640,_0x4569ba){return _0x442640*_0x4569ba;},'tQqSD':'test-file-success','XAwIJ':_0x2694a0(0xe5),'xWagj':function(_0x2ac8e3,_0x318270){return _0x2ac8e3*_0x318270;}},_0x4bddea=_0x5d1ebb['config'],_0x577ba={},_0x59d6a8=new Worker(require['resolve'](_0x2f323c[_0x2694a0(0xf8)]),{'exposedMethods':[_0x2f323c['SNvoU']],'forkOptions':{'serialization':_0x2f323c[_0x2694a0(0xaa)],'stdio':_0x2f323c[_0x2694a0(0xd9)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x2f323c[_0x2694a0(0xba)](_0xe032e2,0x1),'enableWorkerThreads':!![]}),_0x13edf1=new Emittery();_0x13edf1['on'](_0x2f323c[_0x2694a0(0xcd)],_0x219422=>{const _0x20061e=_0x2694a0;_0x577ba[_0x219422[0x0]]?(_0x577ba[_0x219422[0x0]][_0x2f323c[_0x20061e(0xf3)]]=_0x2f323c['mjnLv'](_0x577ba[_0x219422[0x0]][_0x2f323c[_0x20061e(0xf3)]],_0x219422[0x1][_0x2f323c[_0x20061e(0xf3)]]),_0x577ba[_0x219422[0x0]][_0x2f323c[_0x20061e(0xb8)]]=[..._0x577ba[_0x219422[0x0]][_0x2f323c[_0x20061e(0xb8)]],..._0x219422[0x1][_0x2f323c['OtkOs']]]):_0x577ba[_0x219422[0x0]]={'failureCount':_0x219422[0x1][_0x2f323c[_0x20061e(0xf3)]],'results':[..._0x219422[0x1][_0x2f323c[_0x20061e(0xb8)]]]};}),_0x13edf1['on'](_0x2f323c[_0x2694a0(0x9c)],_0x1867e9=>console['log'](_0x1867e9[0x1]));_0x59d6a8[_0x2694a0(0xf7)]()&&_0x59d6a8['getStdout']()[_0x2694a0(0xdf)](process['stdout']);_0x59d6a8['getStderr']()&&_0x59d6a8[_0x2694a0(0x96)]()[_0x2694a0(0xdf)](process[_0x2694a0(0x9b)]);const _0xc56d9e=async()=>{const _0x563adc=_0x2694a0,{forceExited:_0x51410c}=await _0x59d6a8[_0x563adc(0xae)]();_0x51410c&&console[_0x563adc(0xf4)](_0x2f323c[_0x563adc(0xe8)]);try{await TestHubHandler[_0x563adc(0xea)]();}catch(_0x507732){_0x2f323c[_0x563adc(0xd5)](debug,_0x563adc(0x9e)+_0x507732);}_0x2f323c[_0x563adc(0xd5)](_0x234000,_0x577ba);},_0x4738d9=_0x2f323c['hIEaw'](pLimit,_0x2f323c[_0x2694a0(0xe6)](_0xe032e2,0x1)),_0x18a837=_0x2a2b7a=>_0x4738d9(async()=>{const _0x41079c=_0x2694a0;await _0x13edf1[_0x41079c(0xd3)](_0x2f323c[_0x41079c(0xcf)],_0x2a2b7a);const _0x24218e=_0x59d6a8['worker'](_0x2a2b7a,_0x4bddea);try{parentPort&&_0x24218e['UNSTABLE_onCustomMessage'](_0x57980b=>{const _0x4386c2=_0x41079c;try{parentPort[_0x4386c2(0xa2)](_0x57980b);}catch(_0x50555a){logger[_0x4386c2(0x98)](_0x4386c2(0x9a)+util[_0x4386c2(0xad)](_0x50555a));}});}catch(_0x5414f4){logger['debug']('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x41079c(0xad)](_0x5414f4));}return _0x24218e;});PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),Promise[_0x2694a0(0xf5)](_0x178a23[_0x2694a0(0xfa)](_0x5b3546=>_0x18a837(_0x5b3546)[_0x2694a0(0x9d)](_0x24cd79=>_0x13edf1[_0x2694a0(0xd3)](_0x2694a0(0xee),[_0x5b3546['configuration'][_0x2694a0(0xd8)],_0x24cd79]),_0x32cbe9=>_0x13edf1[_0x2694a0(0xd3)](_0x2694a0(0xe5),[_0x5b3546,_0x32cbe9]))))['then'](_0xc56d9e,_0xc56d9e);}),exports[a46_0x302617(0xa1)]=(_0x4323a0,_0x10d099,_0x25a961,_0x359300,_0x40033f)=>{const _0x2332b4=a46_0x302617,_0x22670c={'fdwXp':_0x2332b4(0xec),'wNXPI':function(_0x113a4c,_0x279605){return _0x113a4c(_0x279605);},'GVtnl':_0x2332b4(0xc8),'qIqIU':_0x2332b4(0xb7),'eRYWQ':_0x2332b4(0xc9),'VxHQL':_0x2332b4(0x97),'HhsPZ':_0x2332b4(0xdf),'EPurH':_0x2332b4(0xc5),'PyncM':_0x2332b4(0xca)};return new Promise(_0x430f9f=>{const _0x12dfc0=_0x2332b4,_0x5db010={'EXaPZ':_0x22670c[_0x12dfc0(0xef)],'gxABd':function(_0x67a22f,_0x2619b2){return _0x22670c['wNXPI'](_0x67a22f,_0x2619b2);},'kzwXc':_0x22670c[_0x12dfc0(0xb3)]},_0x158ff5=[],_0x465bc7=new Worker(require['resolve'](_0x22670c[_0x12dfc0(0xc6)]),{'exposedMethods':[_0x22670c[_0x12dfc0(0xe1)]],'forkOptions':{'serialization':_0x22670c[_0x12dfc0(0xb1)],'stdio':_0x22670c['HhsPZ']},'numWorkers':_0x4323a0[_0x12dfc0(0xa9)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2f9d70=new Emittery();_0x2f9d70['on'](_0x22670c[_0x12dfc0(0xa7)],_0x4bb47a=>{_0x158ff5['push']([_0x4bb47a[0x0],_0x4bb47a[0x1]]);}),_0x2f9d70['on'](_0x22670c[_0x12dfc0(0xde)],_0x228f5c=>console['log'](_0x228f5c[0x1]));_0x465bc7[_0x12dfc0(0xf7)]()&&_0x465bc7[_0x12dfc0(0xf7)]()['pipe'](process[_0x12dfc0(0xcc)]);_0x465bc7[_0x12dfc0(0x96)]()&&_0x465bc7[_0x12dfc0(0x96)]()[_0x12dfc0(0xdf)](process['stderr']);const _0x1ab185=async()=>{const _0x569aed=_0x12dfc0,{forceExited:_0x3f3785}=await _0x465bc7[_0x569aed(0xae)]();_0x3f3785&&console[_0x569aed(0xf4)](_0x5db010[_0x569aed(0xc3)]),_0x5db010[_0x569aed(0xb0)](_0x430f9f,_0x158ff5);},_0x3182ad=_0x22670c['wNXPI'](pLimit,_0x4323a0['length']||0x1),_0x2c1683=(_0x21426d,_0x38bbdf)=>_0x3182ad(async()=>{const _0x57b7c8=_0x12dfc0;return await _0x2f9d70['emit'](_0x5db010[_0x57b7c8(0xb5)],_0x21426d),_0x10d099[_0x57b7c8(0xf0)]=_0x25a961['platforms'][_0x38bbdf],_0x465bc7[_0x57b7c8(0xc9)](_0x21426d,_0x10d099,_0x25a961,_0x359300,_0x40033f);});Promise[_0x12dfc0(0xf5)](_0x4323a0['map']((_0x4981a1,_0x2b870b)=>_0x2c1683(_0x4981a1,_0x2b870b)[_0x12dfc0(0x9d)](_0x4edb9f=>_0x2f9d70[_0x12dfc0(0xd3)](_0x12dfc0(0xc5),[_0x4981a1,_0x4edb9f]),_0x1a352a=>_0x2f9d70['emit']('platform-run-failure',[_0x4981a1,_0x1a352a]))))[_0x12dfc0(0x9d)](_0x1ab185,_0x1ab185);});},exports[a46_0x302617(0xab)]=(_0x2eb706,_0x5b4ddd)=>new Promise(_0x570bc3=>{const _0x45c471=a46_0x302617,_0x4ddff1={'bijpn':function(_0x37f0a0,_0x1516ea){return _0x37f0a0===_0x1516ea;},'pouPm':function(_0x308cc0,_0x3f77cc){return _0x308cc0!==_0x3f77cc;},'bycXq':'exit','vPwJJ':_0x45c471(0xec),'BWTuJ':function(_0x35edc8,_0x39ca6b){return _0x35edc8(_0x39ca6b);},'fzHuY':_0x45c471(0xb7),'URNPa':'vanillaWorker','YCSgY':_0x45c471(0x97),'kfItm':_0x45c471(0xdf),'fGBVt':_0x45c471(0xee),'LzKdv':_0x45c471(0xe5)},_0x8c622a={},_0xca2318=new Worker(require[_0x45c471(0x99)](_0x4ddff1[_0x45c471(0xd4)]),{'exposedMethods':[_0x4ddff1[_0x45c471(0xeb)]],'forkOptions':{'serialization':_0x4ddff1[_0x45c471(0xe0)],'stdio':_0x4ddff1['kfItm']},'numWorkers':_0x5b4ddd,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x23949c=new Emittery();_0x23949c['on'](_0x4ddff1['fGBVt'],_0x4a73ee=>{const _0x3bcde1=_0x45c471;_0x4a73ee[0x0]&&logger['info'](_0x3bcde1(0xb4)+_0x4a73ee[0x1]+_0x3bcde1(0xaf),_0x4a73ee[0x0]);}),_0x23949c['on'](_0x4ddff1[_0x45c471(0xa6)],_0xf9cae7=>{const _0xaa5c0f=_0x45c471;process[_0xaa5c0f(0xbd)]=0x1;});_0xca2318[_0x45c471(0xf7)]()&&_0xca2318[_0x45c471(0xf7)]()[_0x45c471(0xdf)](process[_0x45c471(0xcc)]);_0xca2318[_0x45c471(0x96)]()&&_0xca2318['getStderr']()[_0x45c471(0xdf)](process[_0x45c471(0x9b)]);const _0x4782e3=async()=>{const _0x4fb528=_0x45c471,_0x27bea9={'ydNrW':function(_0x12c988,_0x9cfa39){const _0x3d80df=a46_0x13bc;return _0x4ddff1[_0x3d80df(0xe9)](_0x12c988,_0x9cfa39);},'fCBYM':function(_0x17081a,_0x182c03){const _0x29100f=a46_0x13bc;return _0x4ddff1[_0x29100f(0xac)](_0x17081a,_0x182c03);},'rySxd':_0x4ddff1[_0x4fb528(0xe4)]};let _0x55114f=0x0;const _0x29a425=_0xca2318[_0x4fb528(0xf9)]['getWorkers'](),_0x132ded=()=>{},_0x2a85bd=_0x29a425[_0x4fb528(0xfa)](async _0x291e13=>{const _0x21c9da=_0x4fb528,_0x363888={'yDniy':function(_0x8c11ce,_0x233659){const _0x388dc2=a46_0x13bc;return _0x27bea9[_0x388dc2(0xe7)](_0x8c11ce,_0x233659);},'QAIZa':function(_0x5ba63c,_0x81e699){return _0x27bea9['fCBYM'](_0x5ba63c,_0x81e699);}};_0x291e13[_0x21c9da(0xbb)]([0x2,![]],_0x132ded,_0x132ded,_0x132ded),_0x291e13[_0x21c9da(0xf1)]['on'](_0x27bea9[_0x21c9da(0xa4)],_0x13eb34=>{const _0x522a6a=_0x21c9da;_0x363888[_0x522a6a(0xf2)](_0x55114f,0x0)&&_0x363888[_0x522a6a(0xf6)](_0x13eb34,0x0)&&(_0x55114f=_0x13eb34);}),await _0x291e13[_0x21c9da(0xbc)]();});await Promise[_0x4fb528(0xf5)](_0x2a85bd),process[_0x4fb528(0xbd)]=_0x55114f;const {forceExited:_0x48e1c0}=await _0xca2318[_0x4fb528(0xae)]();_0x48e1c0&&console[_0x4fb528(0xf4)](_0x4ddff1[_0x4fb528(0xbe)]),_0x4ddff1[_0x4fb528(0xa0)](_0x570bc3,_0x8c622a);},_0x5687dd=_0x4ddff1['BWTuJ'](pLimit,_0x5b4ddd),_0x372873=_0x14a7bf=>_0x5687dd(async()=>{const _0x41b9b5=_0x45c471;return _0xca2318[_0x41b9b5(0xd7)](_0x14a7bf);});Promise[_0x45c471(0xf5)](_0x2eb706['map'](_0x402a42=>_0x372873(_0x402a42)[_0x45c471(0x9d)](_0x5e2e57=>_0x23949c[_0x45c471(0xd3)]('test-file-success',[_0x402a42[_0x45c471(0xd6)][_0x45c471(0xd8)],_0x402a42[_0x45c471(0xd6)][_0x45c471(0xb9)]]),_0x10b300=>_0x23949c[_0x45c471(0xd3)](_0x45c471(0xe5),[_0x402a42,_0x10b300]))))['then'](_0x4782e3,_0x4782e3);});
1
+ const a47_0x245c73=a47_0x4439;function a47_0x4439(_0x329363,_0x531c46){const _0x471605=a47_0x4716();return a47_0x4439=function(_0x443957,_0x47cbd4){_0x443957=_0x443957-0x1b1;let _0x12a217=_0x471605[_0x443957];return _0x12a217;},a47_0x4439(_0x329363,_0x531c46);}function a47_0x4716(){const _0x35866c=['Exception\x20in\x20sending\x20worker\x20message\x20','QGUcN','SDK_SETUP','../../helpers/performance/performance-tester','5306574YGCJcQ','417431BYtxRB','abgwV','Ljeyz','CsiyD','map','resolve','2900466CMrZYV','lMprZ','Qxqpu','Worker','pipe','getStderr','Running\x20','parallelVanillaRun','vanillaWorker','waitForExit','getWorkers','Workers\x20failed\x20to\x20exit\x20gracefully','_workerPool','EVENTS','jest-worker','emittery','platform-run-failure','error','../../helpers/testhub/testhubHandler','util','stop','results','exit','../../helpers/test-observability/utils','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','winstonLogger','eyOSU','4RUMDkg','xMXiB','then','file','grcKP','BqPSq','all','platforms','KLTbi','stderr','RpLHd','p-limit','postMessage','4572755lVxyEa','498492aTcJhL','yIznC','configuration','debug','send','leEeA','log','end','cucumberWorker','emit','test-file-failure','MKcOL','BsNYq','sCbsN','zPSIT','\x20for','length','EjigR','platform','klRIZ','test-file-success','../../helpers/performance/constants','TxvCG','znslg','zFSGp','1695261OfcHBr','ZMFKm','exitCode','format','./testWorker.js','../../helpers/logger','Tfgpb','getStdout','UNSTABLE_onCustomMessage','platform-run-success','worker','wyWip','14883472rRlxVV','json','_child','stdout','parallelCucumberRun','nhTJd','aqeta'];a47_0x4716=function(){return _0x35866c;};return a47_0x4716();}(function(_0x2316ae,_0x3f5a5f){const _0x414389=a47_0x4439,_0x28f6d3=_0x2316ae();while(!![]){try{const _0x4a3cbf=parseInt(_0x414389(0x1ce))/0x1+parseInt(_0x414389(0x1ef))/0x2*(-parseInt(_0x414389(0x1b6))/0x3)+parseInt(_0x414389(0x1fd))/0x4+-parseInt(_0x414389(0x1fc))/0x5+-parseInt(_0x414389(0x1d4))/0x6+parseInt(_0x414389(0x1cd))/0x7+parseInt(_0x414389(0x1c2))/0x8;if(_0x4a3cbf===_0x3f5a5f)break;else _0x28f6d3['push'](_0x28f6d3['shift']());}catch(_0x530597){_0x28f6d3['push'](_0x28f6d3['shift']());}}}(a47_0x4716,0x9a672));const Worker=require(a47_0x245c73(0x1e2))[a47_0x245c73(0x1d7)],Emittery=require(a47_0x245c73(0x1e3)),pLimit=require(a47_0x245c73(0x1fa)),{parentPort}=require('worker_threads'),util=require(a47_0x245c73(0x1e7)),logger=require(a47_0x245c73(0x1bb))[a47_0x245c73(0x1ed)],PerformanceTester=require(a47_0x245c73(0x1cc)),PerformanceEvents=require(a47_0x245c73(0x1b2))[a47_0x245c73(0x1e1)],{debug}=require(a47_0x245c73(0x1eb)),TestHubHandler=require(a47_0x245c73(0x1e6));exports['parallelTestRun']=(_0x89e932,_0xf8a9bc,_0x5f2710)=>new Promise(async _0xa97712=>{const _0x2bbe26=a47_0x245c73,_0x16cd64={'grcKP':'failureCount','RpLHd':function(_0x91aac3,_0x2f5950){return _0x91aac3+_0x2f5950;},'znslg':_0x2bbe26(0x1e9),'wNykR':_0x2bbe26(0x1df),'jyulo':function(_0x1b9a34,_0x35d5c3){return _0x1b9a34(_0x35d5c3);},'nPaRi':'test-file-start','eyOSU':_0x2bbe26(0x1ba),'sCbsN':_0x2bbe26(0x1c0),'BsNYq':_0x2bbe26(0x1c3),'lMprZ':_0x2bbe26(0x1d8),'nhTJd':function(_0x59d511,_0x5d528e){return _0x59d511*_0x5d528e;},'EcZMu':_0x2bbe26(0x1b1),'XBuvZ':_0x2bbe26(0x207),'yIznC':function(_0x191512,_0x2ce4c0){return _0x191512(_0x2ce4c0);}},_0x313b5a=_0x5f2710['config'],_0x34b754={},_0x4fedae=new Worker(require['resolve'](_0x16cd64[_0x2bbe26(0x1ee)]),{'exposedMethods':[_0x16cd64[_0x2bbe26(0x20a)]],'forkOptions':{'serialization':_0x16cd64[_0x2bbe26(0x209)],'stdio':_0x16cd64[_0x2bbe26(0x1d5)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x16cd64['nhTJd'](_0xf8a9bc,0x1),'enableWorkerThreads':!![]}),_0x436b03=new Emittery();_0x436b03['on'](_0x16cd64['EcZMu'],_0x56d44d=>{const _0x2b3ffd=_0x2bbe26;_0x34b754[_0x56d44d[0x0]]?(_0x34b754[_0x56d44d[0x0]][_0x16cd64[_0x2b3ffd(0x1f3)]]=_0x16cd64[_0x2b3ffd(0x1f9)](_0x34b754[_0x56d44d[0x0]][_0x16cd64[_0x2b3ffd(0x1f3)]],_0x56d44d[0x1][_0x16cd64[_0x2b3ffd(0x1f3)]]),_0x34b754[_0x56d44d[0x0]][_0x16cd64[_0x2b3ffd(0x1b4)]]=[..._0x34b754[_0x56d44d[0x0]][_0x16cd64[_0x2b3ffd(0x1b4)]],..._0x56d44d[0x1][_0x16cd64[_0x2b3ffd(0x1b4)]]]):_0x34b754[_0x56d44d[0x0]]={'failureCount':_0x56d44d[0x1][_0x16cd64['grcKP']],'results':[..._0x56d44d[0x1][_0x16cd64[_0x2b3ffd(0x1b4)]]]};}),_0x436b03['on'](_0x16cd64['XBuvZ'],_0x2f0505=>console['log'](_0x2f0505[0x1]));_0x4fedae[_0x2bbe26(0x1bd)]()&&_0x4fedae[_0x2bbe26(0x1bd)]()[_0x2bbe26(0x1d8)](process[_0x2bbe26(0x1c5)]);_0x4fedae['getStderr']()&&_0x4fedae[_0x2bbe26(0x1d9)]()['pipe'](process[_0x2bbe26(0x1f8)]);const _0x54e443=async()=>{const _0xb2e212=_0x2bbe26,{forceExited:_0x3e9409}=await _0x4fedae[_0xb2e212(0x204)]();_0x3e9409&&console[_0xb2e212(0x1e5)](_0x16cd64['wNykR']);try{await TestHubHandler[_0xb2e212(0x1e8)]();}catch(_0x2e4bd2){_0x16cd64['jyulo'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x2e4bd2);}_0x16cd64['jyulo'](_0xa97712,_0x34b754);},_0x4d53de=_0x16cd64[_0x2bbe26(0x1fe)](pLimit,_0x16cd64[_0x2bbe26(0x1c7)](_0xf8a9bc,0x1)),_0x2f5ea7=_0x278677=>_0x4d53de(async()=>{const _0x3bf04a=_0x2bbe26;await _0x436b03[_0x3bf04a(0x206)](_0x16cd64['nPaRi'],_0x278677);const _0x55c3f6=_0x4fedae[_0x3bf04a(0x1c0)](_0x278677,_0x313b5a);try{parentPort&&_0x55c3f6[_0x3bf04a(0x1be)](_0xb638d5=>{const _0x20644a=_0x3bf04a;try{parentPort[_0x20644a(0x1fb)](_0xb638d5);}catch(_0x95fb33){logger[_0x20644a(0x200)](_0x20644a(0x1c9)+util[_0x20644a(0x1b9)](_0x95fb33));}});}catch(_0x2d8283){logger[_0x3bf04a(0x200)](_0x3bf04a(0x1ec)+util['format'](_0x2d8283));}return _0x55c3f6;});PerformanceTester[_0x2bbe26(0x204)](PerformanceEvents[_0x2bbe26(0x1cb)]),Promise[_0x2bbe26(0x1f5)](_0x89e932[_0x2bbe26(0x1d2)](_0x2317d9=>_0x2f5ea7(_0x2317d9)[_0x2bbe26(0x1f1)](_0x1a81a6=>_0x436b03[_0x2bbe26(0x206)]('test-file-success',[_0x2317d9[_0x2bbe26(0x1ff)][_0x2bbe26(0x20f)],_0x1a81a6]),_0x1d3ea3=>_0x436b03[_0x2bbe26(0x206)](_0x2bbe26(0x207),[_0x2317d9,_0x1d3ea3]))))[_0x2bbe26(0x1f1)](_0x54e443,_0x54e443);}),exports[a47_0x245c73(0x1c6)]=(_0x3cfee6,_0x4926dd,_0x1fa480,_0x14e599,_0x390fb6)=>{const _0x322f17=a47_0x245c73,_0x2c7823={'ZMFKm':'platform-run-start','TxvCG':_0x322f17(0x1df),'rxSUy':function(_0x40562f,_0x29f151){return _0x40562f(_0x29f151);},'KLTbi':_0x322f17(0x1ba),'leEeA':_0x322f17(0x205),'YWDSB':'json','zFSGp':_0x322f17(0x1d8),'klRIZ':_0x322f17(0x1bf),'BSaBb':'platform-run-failure','ZAEmL':function(_0x1963e6,_0xe82875){return _0x1963e6(_0xe82875);}};return new Promise(_0x4e8312=>{const _0x20bfce=_0x322f17,_0x5e90e7={'EjigR':_0x2c7823[_0x20bfce(0x1b3)],'QGUcN':function(_0x17466f,_0x7fff04){return _0x2c7823['rxSUy'](_0x17466f,_0x7fff04);}},_0x100edb=[],_0x46643c=new Worker(require[_0x20bfce(0x1d3)](_0x2c7823[_0x20bfce(0x1f7)]),{'exposedMethods':[_0x2c7823[_0x20bfce(0x202)]],'forkOptions':{'serialization':_0x2c7823['YWDSB'],'stdio':_0x2c7823[_0x20bfce(0x1b5)]},'numWorkers':_0x3cfee6[_0x20bfce(0x20d)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x1f7e6d=new Emittery();_0x1f7e6d['on'](_0x2c7823[_0x20bfce(0x210)],_0x41d1fb=>{_0x100edb['push']([_0x41d1fb[0x0],_0x41d1fb[0x1]]);}),_0x1f7e6d['on'](_0x2c7823['BSaBb'],_0x134e13=>console[_0x20bfce(0x203)](_0x134e13[0x1]));_0x46643c[_0x20bfce(0x1bd)]()&&_0x46643c[_0x20bfce(0x1bd)]()['pipe'](process[_0x20bfce(0x1c5)]);_0x46643c[_0x20bfce(0x1d9)]()&&_0x46643c[_0x20bfce(0x1d9)]()[_0x20bfce(0x1d8)](process[_0x20bfce(0x1f8)]);const _0x307b39=async()=>{const _0x3ad482=_0x20bfce,{forceExited:_0x49210f}=await _0x46643c[_0x3ad482(0x204)]();_0x49210f&&console[_0x3ad482(0x1e5)](_0x5e90e7[_0x3ad482(0x20e)]),_0x5e90e7[_0x3ad482(0x1ca)](_0x4e8312,_0x100edb);},_0x5c8c04=_0x2c7823['ZAEmL'](pLimit,_0x3cfee6[_0x20bfce(0x20d)]||0x1),_0x1641b4=(_0x20aaca,_0x3a1a9b)=>_0x5c8c04(async()=>{const _0x4e099c=_0x20bfce;return await _0x1f7e6d[_0x4e099c(0x206)](_0x2c7823[_0x4e099c(0x1b7)],_0x20aaca),_0x4926dd['platformCaps']=_0x1fa480[_0x4e099c(0x1f6)][_0x3a1a9b],_0x46643c[_0x4e099c(0x205)](_0x20aaca,_0x4926dd,_0x1fa480,_0x14e599,_0x390fb6);});Promise[_0x20bfce(0x1f5)](_0x3cfee6[_0x20bfce(0x1d2)]((_0x477556,_0x40f4de)=>_0x1641b4(_0x477556,_0x40f4de)[_0x20bfce(0x1f1)](_0x473f85=>_0x1f7e6d[_0x20bfce(0x206)](_0x20bfce(0x1bf),[_0x477556,_0x473f85]),_0x21382d=>_0x1f7e6d[_0x20bfce(0x206)](_0x20bfce(0x1e4),[_0x477556,_0x21382d]))))[_0x20bfce(0x1f1)](_0x307b39,_0x307b39);});},exports[a47_0x245c73(0x1db)]=(_0x325491,_0x25a59c)=>new Promise(_0xe5b134=>{const _0xae05a7=a47_0x245c73,_0x71753a={'wyWip':function(_0x17c16,_0x3e641b){return _0x17c16===_0x3e641b;},'Tfgpb':function(_0x596922,_0x98dc8c){return _0x596922!==_0x98dc8c;},'CsiyD':_0xae05a7(0x1ea),'xMXiB':_0xae05a7(0x1df),'BqPSq':function(_0x1e8d88,_0x58aa1a){return _0x1e8d88(_0x58aa1a);},'aqeta':_0xae05a7(0x1ba),'abgwV':_0xae05a7(0x1dc),'MKcOL':_0xae05a7(0x1c3),'zPSIT':_0xae05a7(0x1d8),'iloFO':'test-file-success','Qxqpu':'test-file-failure'},_0xa16a73={},_0x2f49ae=new Worker(require['resolve'](_0x71753a[_0xae05a7(0x1c8)]),{'exposedMethods':[_0x71753a[_0xae05a7(0x1cf)]],'forkOptions':{'serialization':_0x71753a[_0xae05a7(0x208)],'stdio':_0x71753a[_0xae05a7(0x20b)]},'numWorkers':_0x25a59c,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x1bc06f=new Emittery();_0x1bc06f['on'](_0x71753a['iloFO'],_0x56fb93=>{const _0x281a2b=_0xae05a7;_0x56fb93[0x0]&&logger['info'](_0x281a2b(0x1da)+_0x56fb93[0x1]+_0x281a2b(0x20c),_0x56fb93[0x0]);}),_0x1bc06f['on'](_0x71753a[_0xae05a7(0x1d6)],_0x4d05bd=>{const _0x47e7d5=_0xae05a7;process[_0x47e7d5(0x1b8)]=0x1;});_0x2f49ae[_0xae05a7(0x1bd)]()&&_0x2f49ae[_0xae05a7(0x1bd)]()[_0xae05a7(0x1d8)](process[_0xae05a7(0x1c5)]);_0x2f49ae[_0xae05a7(0x1d9)]()&&_0x2f49ae[_0xae05a7(0x1d9)]()[_0xae05a7(0x1d8)](process[_0xae05a7(0x1f8)]);const _0x2368f3=async()=>{const _0x1a18a0=_0xae05a7;let _0x2b9342=0x0;const _0x4ddbd3=_0x2f49ae[_0x1a18a0(0x1e0)][_0x1a18a0(0x1de)](),_0x2a4e51=()=>{},_0x50e001=_0x4ddbd3[_0x1a18a0(0x1d2)](async _0x337d36=>{const _0x1bfe87=_0x1a18a0,_0x558bcf={'Pooqe':function(_0x7eb97d,_0x19a2bc){const _0x4ce835=a47_0x4439;return _0x71753a[_0x4ce835(0x1c1)](_0x7eb97d,_0x19a2bc);},'Ljeyz':function(_0x1753bf,_0x54fdef){const _0x477222=a47_0x4439;return _0x71753a[_0x477222(0x1bc)](_0x1753bf,_0x54fdef);}};_0x337d36[_0x1bfe87(0x201)]([0x2,![]],_0x2a4e51,_0x2a4e51,_0x2a4e51),_0x337d36[_0x1bfe87(0x1c4)]['on'](_0x71753a[_0x1bfe87(0x1d1)],_0x58a701=>{const _0x227569=_0x1bfe87;_0x558bcf['Pooqe'](_0x2b9342,0x0)&&_0x558bcf[_0x227569(0x1d0)](_0x58a701,0x0)&&(_0x2b9342=_0x58a701);}),await _0x337d36[_0x1bfe87(0x1dd)]();});await Promise[_0x1a18a0(0x1f5)](_0x50e001),process[_0x1a18a0(0x1b8)]=_0x2b9342;const {forceExited:_0x33598d}=await _0x2f49ae[_0x1a18a0(0x204)]();_0x33598d&&console['error'](_0x71753a[_0x1a18a0(0x1f0)]),_0x71753a[_0x1a18a0(0x1f4)](_0xe5b134,_0xa16a73);},_0x5c2017=_0x71753a['BqPSq'](pLimit,_0x25a59c),_0x4d1332=_0x527fc5=>_0x5c2017(async()=>{const _0x14156e=_0xae05a7;return _0x2f49ae[_0x14156e(0x1dc)](_0x527fc5);});Promise[_0xae05a7(0x1f5)](_0x325491[_0xae05a7(0x1d2)](_0x25952d=>_0x4d1332(_0x25952d)[_0xae05a7(0x1f1)](_0x3352fd=>_0x1bc06f['emit'](_0xae05a7(0x1b1),[_0x25952d[_0xae05a7(0x1ff)][_0xae05a7(0x20f)],_0x25952d[_0xae05a7(0x1ff)][_0xae05a7(0x1f2)]]),_0x6e715b=>_0x1bc06f[_0xae05a7(0x206)](_0xae05a7(0x207),[_0x25952d,_0x6e715b]))))['then'](_0x2368f3,_0x2368f3);});
@@ -1 +1 @@
1
- const a47_0xbcded=a47_0x24a0;function a47_0x24a0(_0x5644ca,_0x577575){const _0x503a73=a47_0x503a();return a47_0x24a0=function(_0x24a040,_0x56cc2a){_0x24a040=_0x24a040-0xb8;let _0x49ca00=_0x503a73[_0x24a040];return _0x49ca00;},a47_0x24a0(_0x5644ca,_0x577575);}function a47_0x503a(){const _0x1d3b6f=['1008asDUfr','runVanillaTest','39996quslQT','2CtquLy','formatter','run','../launcher/launcher','jlRWU','1847111CIdcqH','cDMms','configuration','cucumber-js','stopMonitoring','189417dlzyHJ','FVymg','yAdmY','13045zJIjLf','../../helpers/test-observability/utils','wCLuR','2457lZrGlg','runCucumberTest','../../helpers/performance/performance-tester','lbpwn','OTgMH','fZboW','../../helpers/performance/constants','1124519BGuaIQ','10zNCeEJ','840psCpWL','24KwpiiA','1428BkHYPE','EVENTS','mocha','ZENUk','939553bxAmLb','end'];a47_0x503a=function(){return _0x1d3b6f;};return a47_0x503a();}(function(_0x4b1870,_0x455a07){const _0xb10f6d=a47_0x24a0,_0x3adc2a=_0x4b1870();while(!![]){try{const _0x33cb21=parseInt(_0xb10f6d(0xc8))/0x1*(parseInt(_0xb10f6d(0xcd))/0x2)+parseInt(_0xb10f6d(0xd7))/0x3+parseInt(_0xb10f6d(0xc4))/0x4*(-parseInt(_0xb10f6d(0xda))/0x5)+parseInt(_0xb10f6d(0xc3))/0x6*(parseInt(_0xb10f6d(0xd2))/0x7)+parseInt(_0xb10f6d(0xc2))/0x8*(-parseInt(_0xb10f6d(0xca))/0x9)+-parseInt(_0xb10f6d(0xc1))/0xa*(-parseInt(_0xb10f6d(0xc0))/0xb)+-parseInt(_0xb10f6d(0xcc))/0xc*(parseInt(_0xb10f6d(0xb9))/0xd);if(_0x33cb21===_0x455a07)break;else _0x3adc2a['push'](_0x3adc2a['shift']());}catch(_0x3eb64d){_0x3adc2a['push'](_0x3adc2a['shift']());}}}(a47_0x503a,0x8f627));const PerformanceEvents=require(a47_0xbcded(0xbf))[a47_0xbcded(0xc5)],PerformanceTester=require(a47_0xbcded(0xbb)),{sleep}=require(a47_0xbcded(0xdb));exports['runTest']=async(_0x78f0c5,_0x17afe8)=>{const _0x1e86a9=a47_0xbcded,_0x365f00={'yAdmY':function(_0x176c4b,_0x10e6f7){return _0x176c4b(_0x10e6f7);},'wCLuR':_0x1e86a9(0xd0),'jlRWU':_0x1e86a9(0xc6),'fZboW':function(_0x1a9cc8,_0x8824d7){return _0x1a9cc8(_0x8824d7);}};PerformanceTester['startMonitoring']();const _0x36a925=_0x365f00[_0x1e86a9(0xd9)](require,_0x365f00[_0x1e86a9(0xb8)]),_0x5cf1fd=new _0x36a925(_0x365f00[_0x1e86a9(0xd1)],_0x78f0c5,_0x17afe8),_0x51de05=await _0x5cf1fd[_0x1e86a9(0xcf)]();return PerformanceTester[_0x1e86a9(0xc9)](PerformanceEvents['SDK_POST_TEST']),await _0x365f00[_0x1e86a9(0xbe)](sleep,0x3e8),PerformanceTester[_0x1e86a9(0xd6)](),_0x51de05;},exports[a47_0xbcded(0xba)]=async(_0xd93f09,_0x2a55c4,_0x194e81,_0x23fb29,_0x4c5ef1)=>{const _0xa51342=a47_0xbcded,_0x58281c={'lbpwn':function(_0x432e1c,_0x49ffd8){return _0x432e1c(_0x49ffd8);},'cDMms':_0xa51342(0xd0),'LYhxx':_0xa51342(0xd5)},_0x4652fd={'capability':_0xd93f09,..._0x2a55c4},_0x520fde={};_0x520fde[_0xa51342(0xd4)]=_0x4652fd,_0x520fde[_0xa51342(0xce)]=_0x4c5ef1;const _0x142946=_0x520fde,_0x577563=_0x58281c[_0xa51342(0xbc)](require,_0x58281c[_0xa51342(0xd3)]),_0x29304d=new _0x577563(_0x58281c['LYhxx'],_0x142946,_0x194e81,_0x23fb29);return await _0x29304d[_0xa51342(0xcf)]();},exports[a47_0xbcded(0xcb)]=async _0x4bd591=>{const _0x53b98f=a47_0xbcded,_0xb53072={'ZENUk':function(_0x5200b3,_0x353484){return _0x5200b3(_0x353484);},'OTgMH':'../launcher/launcher','FVymg':'vanilla'},_0x4c98e6=_0xb53072[_0x53b98f(0xc7)](require,_0xb53072[_0x53b98f(0xbd)]),_0x254f7a=new _0x4c98e6(_0xb53072[_0x53b98f(0xd8)],_0x4bd591);return await _0x254f7a[_0x53b98f(0xcf)]();};
1
+ function a48_0x3d0f(){const _0x20b73b=['mocha','6350124sxZUuX','BgtAi','2265723NJJMEc','end','1167416CEUhRe','../../helpers/test-observability/utils','7226784NLCElg','21wRNEbn','2471712hjlkoY','stopMonitoring','formatter','run','runTest','15GhJsYa','../launcher/launcher','TrYrS','startMonitoring','../../helpers/performance/performance-tester','44890sMxvsU','ixiXF','TQTMI','aVlWQ','cucumber-js','vanilla','runCucumberTest','runVanillaTest','3042WVqhjs','hQMus','EVENTS','898wKfunH','251qVVfbT','../../helpers/performance/constants','configuration'];a48_0x3d0f=function(){return _0x20b73b;};return a48_0x3d0f();}function a48_0x5c77(_0x263b0a,_0x5885c2){const _0x3d0fdc=a48_0x3d0f();return a48_0x5c77=function(_0x5c7738,_0x2c544a){_0x5c7738=_0x5c7738-0x8a;let _0x2c95ea=_0x3d0fdc[_0x5c7738];return _0x2c95ea;},a48_0x5c77(_0x263b0a,_0x5885c2);}const a48_0x429a83=a48_0x5c77;(function(_0x4bbbb9,_0x59482e){const _0x1b5764=a48_0x5c77,_0x2fcfcf=_0x4bbbb9();while(!![]){try{const _0x159913=-parseInt(_0x1b5764(0x8a))/0x1*(-parseInt(_0x1b5764(0xab))/0x2)+-parseInt(_0x1b5764(0x90))/0x3+-parseInt(_0x1b5764(0x92))/0x4*(-parseInt(_0x1b5764(0x9b))/0x5)+-parseInt(_0x1b5764(0x94))/0x6+parseInt(_0x1b5764(0x95))/0x7*(parseInt(_0x1b5764(0x96))/0x8)+parseInt(_0x1b5764(0xa8))/0x9*(parseInt(_0x1b5764(0xa0))/0xa)+-parseInt(_0x1b5764(0x8e))/0xb;if(_0x159913===_0x59482e)break;else _0x2fcfcf['push'](_0x2fcfcf['shift']());}catch(_0x5bc118){_0x2fcfcf['push'](_0x2fcfcf['shift']());}}}(a48_0x3d0f,0xda9d6));const PerformanceEvents=require(a48_0x429a83(0x8b))[a48_0x429a83(0xaa)],PerformanceTester=require(a48_0x429a83(0x9f)),{sleep}=require(a48_0x429a83(0x93));exports[a48_0x429a83(0x9a)]=async(_0x50fd39,_0x1df709)=>{const _0x2db737=a48_0x429a83,_0x1523ae={'BgtAi':function(_0x3aa255,_0x3c5f45){return _0x3aa255(_0x3c5f45);},'jkaKP':_0x2db737(0x9c),'TrYrS':_0x2db737(0x8d),'iQpaV':function(_0x21ae4a,_0x2faed3){return _0x21ae4a(_0x2faed3);}};PerformanceTester[_0x2db737(0x9e)]();const _0x1755f5=_0x1523ae[_0x2db737(0x8f)](require,_0x1523ae['jkaKP']),_0x28d03d=new _0x1755f5(_0x1523ae[_0x2db737(0x9d)],_0x50fd39,_0x1df709),_0x21c6ae=await _0x28d03d[_0x2db737(0x99)]();return PerformanceTester[_0x2db737(0x91)](PerformanceEvents['SDK_POST_TEST']),await _0x1523ae['iQpaV'](sleep,0x3e8),PerformanceTester[_0x2db737(0x97)](),_0x21c6ae;},exports[a48_0x429a83(0xa6)]=async(_0x16ff9f,_0x2b89ed,_0x5d13bb,_0x1639af,_0x3ef10b)=>{const _0x5c92b1=a48_0x429a83,_0x32747c={'aVlWQ':function(_0x32047f,_0x32d8f7){return _0x32047f(_0x32d8f7);},'hQMus':_0x5c92b1(0x9c),'TQTMI':_0x5c92b1(0xa4)},_0x4cad8d={'capability':_0x16ff9f,..._0x2b89ed},_0x3bb7c5={};_0x3bb7c5[_0x5c92b1(0x8c)]=_0x4cad8d,_0x3bb7c5[_0x5c92b1(0x98)]=_0x3ef10b;const _0x2dbe57=_0x3bb7c5,_0x48238a=_0x32747c[_0x5c92b1(0xa3)](require,_0x32747c[_0x5c92b1(0xa9)]),_0x58d75e=new _0x48238a(_0x32747c[_0x5c92b1(0xa2)],_0x2dbe57,_0x5d13bb,_0x1639af);return await _0x58d75e[_0x5c92b1(0x99)]();},exports[a48_0x429a83(0xa7)]=async _0xecd05e=>{const _0x1164da=a48_0x429a83,_0x219699={'SqZJR':function(_0x344027,_0x54545d){return _0x344027(_0x54545d);},'ixiXF':'../launcher/launcher','ElEmD':_0x1164da(0xa5)},_0x3e7f4f=_0x219699['SqZJR'](require,_0x219699[_0x1164da(0xa1)]),_0x233dc9=new _0x3e7f4f(_0x219699['ElEmD'],_0xecd05e);return await _0x233dc9[_0x1164da(0x99)]();};
@@ -1 +1 @@
1
- const a48_0x14974e=a48_0x2e9b;(function(_0x5a26c9,_0x5a7d4a){const _0x36f0ef=a48_0x2e9b,_0x46f6d7=_0x5a26c9();while(!![]){try{const _0x4ffc18=parseInt(_0x36f0ef(0x196))/0x1*(-parseInt(_0x36f0ef(0x197))/0x2)+parseInt(_0x36f0ef(0x18e))/0x3+-parseInt(_0x36f0ef(0x190))/0x4+parseInt(_0x36f0ef(0x192))/0x5*(-parseInt(_0x36f0ef(0x19c))/0x6)+-parseInt(_0x36f0ef(0x191))/0x7+parseInt(_0x36f0ef(0x18f))/0x8+parseInt(_0x36f0ef(0x195))/0x9*(parseInt(_0x36f0ef(0x199))/0xa);if(_0x4ffc18===_0x5a7d4a)break;else _0x46f6d7['push'](_0x46f6d7['shift']());}catch(_0x3d28c4){_0x46f6d7['push'](_0x46f6d7['shift']());}}}(a48_0x74a8,0x88a12));function a48_0x2e9b(_0x1606fd,_0x1eb471){const _0x74a859=a48_0x74a8();return a48_0x2e9b=function(_0x2e9b05,_0xd81bd6){_0x2e9b05=_0x2e9b05-0x18e;let _0x1518a2=_0x74a859[_0x2e9b05];return _0x1518a2;},a48_0x2e9b(_0x1606fd,_0x1eb471);}function a48_0x74a8(){const _0x8e4231=['1dKQvkn','2037778IaclLG','mvHHH','2300IOsTQs','vanillaWorker','cucumberWorker','7464QmAven','2030622DulTOq','722152SgqGJH','682876VxMklf','1473325lCepKB','745ScNUco','LJuSe','worker','53919zyzNJJ'];a48_0x74a8=function(){return _0x8e4231;};return a48_0x74a8();}const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');exports[a48_0x14974e(0x194)]=async(_0x8ff67a,_0x269cca)=>{const _0x4e4c2d=a48_0x14974e,_0x39c4d6={'mvHHH':function(_0x21ee76,_0x3559ad,_0xb0213d){return _0x21ee76(_0x3559ad,_0xb0213d);}};return await _0x39c4d6[_0x4e4c2d(0x198)](runTest,_0x8ff67a,_0x269cca);},exports[a48_0x14974e(0x19b)]=async(_0x447a,_0x4457b5,_0x3085c3,_0x38ce71,_0x511fd5)=>{const _0x73c194=a48_0x14974e,_0x55eea4={'LJuSe':function(_0xf543ae,_0x2aa383,_0x41d545,_0x592d06,_0x49de62,_0x4495f8){return _0xf543ae(_0x2aa383,_0x41d545,_0x592d06,_0x49de62,_0x4495f8);}};return await _0x55eea4[_0x73c194(0x193)](runCucumberTest,_0x447a,_0x4457b5,_0x3085c3,_0x38ce71,_0x511fd5);},exports[a48_0x14974e(0x19a)]=async _0x3c7898=>{const _0x4712de={'PQwtR':function(_0x456708,_0x4e79a5){return _0x456708(_0x4e79a5);}};return await _0x4712de['PQwtR'](runVanillaTest,_0x3c7898);};
1
+ const a49_0x65713f=a49_0x2532;(function(_0x3feb44,_0x2f5f44){const _0x410e34=a49_0x2532,_0xfdc8b9=_0x3feb44();while(!![]){try{const _0x3fa73e=parseInt(_0x410e34(0x8c))/0x1+-parseInt(_0x410e34(0x82))/0x2+-parseInt(_0x410e34(0x87))/0x3+parseInt(_0x410e34(0x89))/0x4*(parseInt(_0x410e34(0x84))/0x5)+parseInt(_0x410e34(0x88))/0x6*(parseInt(_0x410e34(0x8a))/0x7)+parseInt(_0x410e34(0x8d))/0x8*(parseInt(_0x410e34(0x8b))/0x9)+parseInt(_0x410e34(0x86))/0xa*(-parseInt(_0x410e34(0x83))/0xb);if(_0x3fa73e===_0x2f5f44)break;else _0xfdc8b9['push'](_0xfdc8b9['shift']());}catch(_0x7af1cc){_0xfdc8b9['push'](_0xfdc8b9['shift']());}}}(a49_0x1f22,0x38315));function a49_0x1f22(){const _0xc020b3=['656614suCBFN','4104mNQjpV','318646vMXAlt','3264dxbdEI','eDTvS','./runTest','lAcdT','vanillaWorker','288596fjkjwA','935BYHLpQ','10Byvlyc','tRDej','32090KbOyRJ','1011228SctYch','24xqolEt','208804DSrOpq'];a49_0x1f22=function(){return _0xc020b3;};return a49_0x1f22();}const {runTest,runCucumberTest,runVanillaTest}=require(a49_0x65713f(0x8f));function a49_0x2532(_0xab08bd,_0xad9eb5){const _0x1f2230=a49_0x1f22();return a49_0x2532=function(_0x253228,_0x47b37f){_0x253228=_0x253228-0x81;let _0x39c228=_0x1f2230[_0x253228];return _0x39c228;},a49_0x2532(_0xab08bd,_0xad9eb5);}exports['worker']=async(_0x4f5294,_0x33eb30)=>{const _0xd57d36=a49_0x65713f,_0x3395ae={'tRDej':function(_0x395af8,_0x4a1474,_0x57771b){return _0x395af8(_0x4a1474,_0x57771b);}};return await _0x3395ae[_0xd57d36(0x85)](runTest,_0x4f5294,_0x33eb30);},exports['cucumberWorker']=async(_0x1a1a1a,_0x5b5d9c,_0x2e67cb,_0x23dc3e,_0xc8d2c9)=>{const _0x55d89c=a49_0x65713f,_0xf0444b={'eDTvS':function(_0x1ad614,_0x4f7b26,_0x3a151b,_0x225491,_0x5b08b7,_0x1fe3d){return _0x1ad614(_0x4f7b26,_0x3a151b,_0x225491,_0x5b08b7,_0x1fe3d);}};return await _0xf0444b[_0x55d89c(0x8e)](runCucumberTest,_0x1a1a1a,_0x5b5d9c,_0x2e67cb,_0x23dc3e,_0xc8d2c9);},exports[a49_0x65713f(0x81)]=async _0x39c756=>{const _0x34d29f=a49_0x65713f,_0x116ce8={'lAcdT':function(_0x3a77d6,_0x69c10b){return _0x3a77d6(_0x69c10b);}};return await _0x116ce8[_0x34d29f(0x90)](runVanillaTest,_0x39c756);};
@@ -1 +1 @@
1
- var a49_0x283bae=a49_0x5364;(function(_0x36df9a,_0x478ea4){var _0x331ebb=a49_0x5364,_0x16a029=_0x36df9a();while(!![]){try{var _0x568d15=-parseInt(_0x331ebb(0x213))/0x1*(-parseInt(_0x331ebb(0x1f4))/0x2)+parseInt(_0x331ebb(0x1d8))/0x3*(-parseInt(_0x331ebb(0x218))/0x4)+parseInt(_0x331ebb(0x1e4))/0x5+parseInt(_0x331ebb(0x1cd))/0x6*(parseInt(_0x331ebb(0x1d0))/0x7)+-parseInt(_0x331ebb(0x253))/0x8*(-parseInt(_0x331ebb(0x1e5))/0x9)+-parseInt(_0x331ebb(0x259))/0xa*(parseInt(_0x331ebb(0x266))/0xb)+-parseInt(_0x331ebb(0x261))/0xc*(parseInt(_0x331ebb(0x1fc))/0xd);if(_0x568d15===_0x478ea4)break;else _0x16a029['push'](_0x16a029['shift']());}catch(_0x3abd20){_0x16a029['push'](_0x16a029['shift']());}}}(a49_0x5477,0x9a5b9));var a49_0x11060e={};a49_0x11060e[a49_0x283bae(0x26a)]=a49_0x283bae(0x24e),a49_0x11060e[a49_0x283bae(0x237)]=a49_0x283bae(0x277);var a49_0x560a62={};a49_0x560a62[a49_0x283bae(0x26a)]='Run\x20jest\x20tests\x20on\x20browserstack';var a49_0x509a45={};a49_0x509a45[a49_0x283bae(0x26a)]=a49_0x283bae(0x202);var a49_0x3805dd={};a49_0x3805dd['INFO']=a49_0x283bae(0x1d2);var a49_0x330205={};function a49_0x5477(){var _0x12112a=['ERR_CONNECTION_TIMED_OUT','PLAYWRIGHT_HUB_URL','rerunTests','ERR_SOCKET_NOT_CONNECTED','1553019gHonIC','testContextOptions','turboScale','PLAYWRIGHT','AUTOMATE_PRODUCTS','jest','Run\x20mocha\x20tests\x20on\x20browserstack','ERR_CONNECTION_ABORTED','.ipa','HST','ERR_BLOCKED_BY_CLIENT','proxyUrl','accessibilityOptions','percy','vanilla','SDKTestTcgtInitSuccessful','ROOT_CAPS','FRAMEWORKS','PACKAGE_TYPE','framework','VERSION','BROWSERSTACK_API_URL','ATS_WSS_URL_REGEX','2fgWxLx','httpsProxy','BROWSERSTACK_AUTOMATE_URL','SDKTestInvalidTcgAuthResponseWithUserImpact','logLevel','3436raaZnq','AUTOLOGCAPTURE_NOTIFICATION','https://hub.browserstack.com/wd/hub','browserstack.userName','ROOT_REGEX','HEALING_LOG_DATA_TIMEOUT','app-automate','ERR_ADDRESS_UNREACHABLE','turboScaleOptions','percyOptions','hubUrl','ERR_NAME_NOT_RESOLVED','proxyUser','INTEGRATIONS','SHAREABLE_ID_REGEX','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','BSTACK_DELTA','CUSTOM_ID_REGEX','https://eds.browserstack.com','PLAYWRIGHT_TRACE_LOGS','CLI_SUPPORTED_FRAMEWORKS','browserVersion','https://upload-observability.browserstack.com','.aab','AI_PROXY_FAILURE','...[TRUNCATED]','ERR_PROXY_CONNECTION_FAILED','MAX_GIT_META_DATA_SIZE_IN_BYTES','NUDGE_LOCAL_ERRORS','localProxyPass','Run\x20js\x20tests\x20on\x20browserstack','HELP','observability','accessKey','JEST','localOptions','sdk/v1/event','MOCHA','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','platforms','EDS_URL','chromeOptions','ATS_HUB_URL_REGEX','SDK_INSTRUMENTATION_CONFIG','percyCaptureMode','codeceptjs-cucumber','ERR_FAILED','module','INVALID_INIT_RESP_WITH_USER_IMPACT','proxySettings','browserstackLocal','ERR_CONNECTION_FAILED','use','UPDATED_CLI_ENDPOINT','shows\x20version\x20information','GIT_META_DATA_TRUNCATED','FUNNEL_INSTRUMENTATION_API_URL','disableAutoCaptureLogs','localProxyUser','3488mDxUtp','ERR_CONNECTION_CLOSED','ERR_SOCKS_CONNECTION_FAILED','customVariables','ERR_TUNNEL_CONNECTION_FAILED','APP_AUTOMATE_PRODUCTS','830JTVUQL','ERR_TIMED_OUT','Upgrade\x20required','httpProxy','OBSERVABILITY_SUPPORTED_FWS','mocha','TCG_AUTH_TIMEOUT','https://api-cloud.browserstack.com','48SzLFin','playwright','strictFileInteractability','TCG_DOWN','AI_INIT_SUCCESSFUL','64163INasUg','userName','.apk','unhandledPromptBehavior','INFO','timeouts','UPGRADE_REQUIRED','SET_TCG_TOKEN_TIMEOUT','Run\x20codeceptjs\x20tests\x20on\x20browserstack','PERCY_SUPPORTED_FRAMEWORKS','firefoxOptions','proxyPass','CODECEPT_CUCUMBER','browserstackAutomation','TCG_REGION','commonjs','invalidTestInputType','Specify\x20--help\x20for\x20available\x20options','AUTOMATE','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','PLAYWRIGHT_CONFIG_OPTION_ERRORS','^[a-zA-Z0-9_.-]*$','ERR_NAME_RESOLUTION_FAILED','Run\x20playwright\x20tests\x20on\x20Browserstack','acceptSslCert','browserStackLocalOptions','27450mcHiuL','accessibility','/usage.log','203kIsLwC','ERR_ADDRESS_INVALID','Run\x20cucumber-js\x20tests\x20on\x20browserstack','automate','browserName','acceptSslCerts','SDKTestTcgProxyFailure','APP_AUTOMATE','123hVFZJa','NIGHTWATCH','Playwright','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','TCG_URL','ERR_NETWORK_CHANGED','COMMONJS','edgeOptions','CODECEPT','SDKTestTcgDownResponse','codeceptjs','authToken','4095200MUFBUy','1629GejdlS','ieOptions','Run\x20nightwatch\x20tests\x20on\x20browserstack','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','testObservability','POLL_HEALING_RESULT_TIMEOUT','SDKTestTcgAuthFailure','/usage-debug.log','PRIVATE_DOMAIN_OR_IP_REGEX','uniqueDependency','automation','testOrchestrationOptions','parallelsPerPlatform','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','598828IdHjiI','ERR_CONNECTION_RESET','testObservabilityOptions','mandatoryDependency'];a49_0x5477=function(){return _0x12112a;};return a49_0x5477();}a49_0x330205[a49_0x283bae(0x26a)]=a49_0x283bae(0x236);var a49_0x4ccbab={};a49_0x4ccbab[a49_0x283bae(0x26a)]=a49_0x283bae(0x1e7);var a49_0x2b369c={};a49_0x2b369c[a49_0x283bae(0x26a)]=a49_0x283bae(0x1ca);var a49_0x49ed04={};function a49_0x5364(_0x42c06e,_0x504cb9){var _0x5477a1=a49_0x5477();return a49_0x5364=function(_0x53640a,_0x26b5d6){_0x53640a=_0x53640a-0x1c8;var _0x40e4ce=_0x5477a1[_0x53640a];return _0x40e4ce;},a49_0x5364(_0x42c06e,_0x504cb9);}a49_0x49ed04['INFO']=a49_0x283bae(0x26e);var a49_0x5f4f79={};a49_0x5f4f79['INFO']='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';var a49_0x1ae8b0={};a49_0x1ae8b0['INFO']=a49_0x283bae(0x1e8);var a49_0x56f020={};a49_0x56f020[a49_0x283bae(0x1ff)]=a49_0x283bae(0x1da),a49_0x56f020[a49_0x283bae(0x23d)]=a49_0x283bae(0x25e),a49_0x56f020[a49_0x283bae(0x23a)]=a49_0x283bae(0x201),a49_0x56f020[a49_0x283bae(0x1e0)]=a49_0x283bae(0x1e2),a49_0x56f020[a49_0x283bae(0x272)]=a49_0x283bae(0x245),a49_0x56f020['CUCUMBER']='cucumber';var a49_0x451a2c={};a49_0x451a2c['invalidKeys']=a49_0x283bae(0x23e),a49_0x451a2c[a49_0x283bae(0x1ef)]='name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x451a2c[a49_0x283bae(0x1f7)]='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x451a2c[a49_0x283bae(0x276)]=a49_0x283bae(0x227);var a49_0x447e5e={};a49_0x447e5e[a49_0x283bae(0x1de)]=a49_0x283bae(0x275),a49_0x447e5e['MODULE']=a49_0x283bae(0x247);var a49_0x3eee05={};a49_0x3eee05['root']=[a49_0x283bae(0x267),a49_0x283bae(0x239),a49_0x283bae(0x25c),a49_0x283bae(0x214),a49_0x283bae(0x256),a49_0x283bae(0x21b),'browserstack.accessKey','proxyPassword',a49_0x283bae(0x1e3),a49_0x283bae(0x207),'browserstack.overridelocalInfo.userAuthToken'],a49_0x3eee05[a49_0x283bae(0x1cc)]=[a49_0x283bae(0x224),a49_0x283bae(0x271),a49_0x283bae(0x252),a49_0x283bae(0x235)];var a49_0x90de1e={};a49_0x90de1e['browserstackLocal']=a49_0x283bae(0x24a),a49_0x90de1e['browserStackLocalOptions']=a49_0x283bae(0x1cc),a49_0x90de1e[a49_0x283bae(0x23b)]=a49_0x283bae(0x1cc),a49_0x90de1e[a49_0x283bae(0x1f2)]=a49_0x283bae(0x1f2),a49_0x90de1e[a49_0x283bae(0x23f)]=a49_0x283bae(0x23f),a49_0x90de1e['logLevel']=a49_0x283bae(0x217),a49_0x90de1e['httpProxy']=a49_0x283bae(0x25c),a49_0x90de1e[a49_0x283bae(0x214)]=a49_0x283bae(0x214),a49_0x90de1e[a49_0x283bae(0x20f)]=a49_0x283bae(0x20f),a49_0x90de1e[a49_0x283bae(0x1fd)]=a49_0x283bae(0x1fd),a49_0x90de1e[a49_0x283bae(0x1ea)]=a49_0x283bae(0x1ea),a49_0x90de1e[a49_0x283bae(0x1f6)]=a49_0x283bae(0x1f6),a49_0x90de1e['customVariables']=a49_0x283bae(0x256),a49_0x90de1e[a49_0x283bae(0x1f0)]=a49_0x283bae(0x273),a49_0x90de1e[a49_0x283bae(0x273)]=a49_0x283bae(0x273),a49_0x90de1e['rerunTests']=a49_0x283bae(0x1fa),a49_0x90de1e[a49_0x283bae(0x209)]='percy',a49_0x90de1e[a49_0x283bae(0x221)]=a49_0x283bae(0x221),a49_0x90de1e['percyCaptureMode']=a49_0x283bae(0x244),a49_0x90de1e[a49_0x283bae(0x251)]=a49_0x283bae(0x251),a49_0x90de1e['accessibility']=a49_0x283bae(0x1ce),a49_0x90de1e[a49_0x283bae(0x208)]=a49_0x283bae(0x208),a49_0x90de1e[a49_0x283bae(0x1fe)]='turboScale',a49_0x90de1e['turboScaleOptions']=a49_0x283bae(0x220),a49_0x90de1e[a49_0x283bae(0x249)]=a49_0x283bae(0x249),a49_0x90de1e[a49_0x283bae(0x1f1)]=a49_0x283bae(0x1f1);var a49_0x1cf161={};a49_0x1cf161[a49_0x283bae(0x210)]=a49_0x11060e,a49_0x1cf161[a49_0x283bae(0x23a)]=a49_0x560a62,a49_0x1cf161['MOCHA']=a49_0x509a45,a49_0x1cf161['CUCUMBER']=a49_0x3805dd,a49_0x1cf161['VANILLA']=a49_0x330205,a49_0x1cf161[a49_0x283bae(0x1d9)]=a49_0x4ccbab,a49_0x1cf161[a49_0x283bae(0x1ff)]=a49_0x2b369c,a49_0x1cf161['CODECEPTJS']=a49_0x49ed04,a49_0x1cf161[a49_0x283bae(0x205)]=a49_0x5f4f79,a49_0x1cf161[a49_0x283bae(0x225)]=a49_0x1ae8b0,a49_0x1cf161[a49_0x283bae(0x228)]=0xf*0x3c*0x3e8,a49_0x1cf161[a49_0x283bae(0x222)]=a49_0x283bae(0x21a),a49_0x1cf161[a49_0x283bae(0x1dc)]='https://tcg.browserstack.com',a49_0x1cf161[a49_0x283bae(0x274)]=a49_0x283bae(0x24c),a49_0x1cf161['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x1cf161[a49_0x283bae(0x242)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x1cf161[a49_0x283bae(0x212)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a49_0x1cf161[a49_0x283bae(0x20c)]=['acceptInsecureCerts','pageLoadStrategy',a49_0x283bae(0x263),a49_0x283bae(0x269),a49_0x283bae(0x26b),a49_0x283bae(0x1d4),a49_0x283bae(0x22d),a49_0x283bae(0x1d5),a49_0x283bae(0x1cb),a49_0x283bae(0x241),a49_0x283bae(0x270),a49_0x283bae(0x1df),a49_0x283bae(0x1e6)],a49_0x1cf161[a49_0x283bae(0x21c)]=/^[\w-]+:.*$/,a49_0x1cf161[a49_0x283bae(0x1ee)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x1cf161[a49_0x283bae(0x240)]=a49_0x283bae(0x22a),a49_0x1cf161[a49_0x283bae(0x211)]='https://api.browserstack.com',a49_0x1cf161['APP_UPLOAD_URL']=a49_0x283bae(0x260),a49_0x1cf161[a49_0x283bae(0x24d)]='sdk/v1/update_cli',a49_0x1cf161[a49_0x283bae(0x250)]=a49_0x283bae(0x23c),a49_0x1cf161[a49_0x283bae(0x200)]=[a49_0x283bae(0x1d3),a49_0x283bae(0x238)],a49_0x1cf161[a49_0x283bae(0x258)]=[a49_0x283bae(0x21e),'observability'],a49_0x1cf161[a49_0x283bae(0x1f3)]=['observability'],a49_0x1cf161['OBSERVABILITY_UPLOAD_URL']=a49_0x283bae(0x22e),a49_0x1cf161[a49_0x283bae(0x25d)]=[a49_0x283bae(0x25e),a49_0x283bae(0x1da)],a49_0x1cf161[a49_0x283bae(0x278)]=[a49_0x283bae(0x1d3)],a49_0x1cf161[a49_0x283bae(0x215)]='https://automate.browserstack.com/dashboard/v2/builds/',a49_0x1cf161['BROWSERSTACK_APP_AUTOMATE_URL']='https://app-automate.browserstack.com/dashboard/v2/builds/',a49_0x1cf161[a49_0x283bae(0x1d7)]=[a49_0x283bae(0x21e)],a49_0x1cf161[a49_0x283bae(0x234)]=[a49_0x283bae(0x246),a49_0x283bae(0x25a),a49_0x283bae(0x206),a49_0x283bae(0x1dd),a49_0x283bae(0x1fb),a49_0x283bae(0x254),a49_0x283bae(0x1f5),'ERR_CONNECTION_REFUSED',a49_0x283bae(0x203),a49_0x283bae(0x24b),a49_0x283bae(0x223),a49_0x283bae(0x1d1),a49_0x283bae(0x21f),a49_0x283bae(0x257),a49_0x283bae(0x1f8),a49_0x283bae(0x255),a49_0x283bae(0x1e9),a49_0x283bae(0x232),'ERR_NAME_NOT_RESOLVED',a49_0x283bae(0x1c9),'ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a49_0x1cf161['VALID_APP_EXTENSION']=[a49_0x283bae(0x268),a49_0x283bae(0x22f),a49_0x283bae(0x204)],a49_0x1cf161[a49_0x283bae(0x229)]=a49_0x283bae(0x1c8),a49_0x1cf161[a49_0x283bae(0x226)]=a49_0x283bae(0x1db),a49_0x1cf161['CI_ARTIFACTS_PATH']='./browserstack-artifacts/',a49_0x1cf161[a49_0x283bae(0x1f9)]='wss://cdp.browserstack.com/playwright?caps=',a49_0x1cf161[a49_0x283bae(0x20d)]=a49_0x56f020,a49_0x1cf161[a49_0x283bae(0x26f)]=[a49_0x283bae(0x201),a49_0x283bae(0x25e)],a49_0x1cf161[a49_0x283bae(0x27a)]=a49_0x451a2c,a49_0x1cf161[a49_0x283bae(0x219)]=a49_0x283bae(0x279),a49_0x1cf161[a49_0x283bae(0x20e)]=a49_0x447e5e,a49_0x1cf161[a49_0x283bae(0x233)]=0x40*0x400,a49_0x1cf161[a49_0x283bae(0x24f)]=a49_0x283bae(0x231),a49_0x1cf161[a49_0x283bae(0x26c)]=a49_0x283bae(0x25b),a49_0x1cf161[a49_0x283bae(0x264)]=a49_0x283bae(0x1e1),a49_0x1cf161[a49_0x283bae(0x248)]=a49_0x283bae(0x216),a49_0x1cf161['TCG_AUTH_FAILURE']=a49_0x283bae(0x1ec),a49_0x1cf161[a49_0x283bae(0x265)]=a49_0x283bae(0x20b),a49_0x1cf161['AI_INIT_FAILURE']='SDKTestInitFailedResponse',a49_0x1cf161[a49_0x283bae(0x230)]=a49_0x283bae(0x1d6),a49_0x1cf161[a49_0x283bae(0x25f)]=0x1388,a49_0x1cf161[a49_0x283bae(0x26d)]=0x1388,a49_0x1cf161[a49_0x283bae(0x21d)]=0x1388,a49_0x1cf161['HEALING_FAILURE_TIMEOUT']=0x1388,a49_0x1cf161[a49_0x283bae(0x1eb)]=0xc350,a49_0x1cf161['REDACTED_KEYS']=a49_0x3eee05,a49_0x1cf161['AI_ENABLED_FRAMEWORK']=[a49_0x283bae(0x20a),'codeceptjs'],a49_0x1cf161[a49_0x283bae(0x243)]=a49_0x90de1e,a49_0x1cf161['LOG_FILE_NAME']=a49_0x283bae(0x1cf),a49_0x1cf161['DEBUG_LOG_FILE_NAME']=a49_0x283bae(0x1ed),a49_0x1cf161[a49_0x283bae(0x22c)]=[a49_0x283bae(0x262)],a49_0x1cf161[a49_0x283bae(0x22b)]=a49_0x283bae(0x22b),module['exports']=a49_0x1cf161;
1
+ const a50_0x303e24=a50_0x1488;(function(_0x4b6363,_0x45ea93){const _0x591bb0=a50_0x1488,_0x316d4b=_0x4b6363();while(!![]){try{const _0x1fb525=parseInt(_0x591bb0(0x87))/0x1*(-parseInt(_0x591bb0(0xc4))/0x2)+-parseInt(_0x591bb0(0xb4))/0x3+-parseInt(_0x591bb0(0xdb))/0x4+parseInt(_0x591bb0(0x12d))/0x5*(-parseInt(_0x591bb0(0x9a))/0x6)+-parseInt(_0x591bb0(0xc9))/0x7*(-parseInt(_0x591bb0(0xb9))/0x8)+parseInt(_0x591bb0(0xb3))/0x9+parseInt(_0x591bb0(0xee))/0xa;if(_0x1fb525===_0x45ea93)break;else _0x316d4b['push'](_0x316d4b['shift']());}catch(_0x26c483){_0x316d4b['push'](_0x316d4b['shift']());}}}(a50_0x1722,0x225c8));const a50_0x176c8a={};a50_0x176c8a[a50_0x303e24(0xa0)]=a50_0x303e24(0xad),a50_0x176c8a[a50_0x303e24(0x7a)]=a50_0x303e24(0x89);const a50_0x6029aa={};a50_0x6029aa[a50_0x303e24(0xa0)]=a50_0x303e24(0x11e);const a50_0x12b3ea={};a50_0x12b3ea['INFO']='Run\x20mocha\x20tests\x20on\x20browserstack';const a50_0xee19ac={};a50_0xee19ac[a50_0x303e24(0xa0)]=a50_0x303e24(0x13a);const a50_0x122666={};a50_0x122666[a50_0x303e24(0xa0)]=a50_0x303e24(0x7e);const a50_0xf2ce47={};a50_0xf2ce47[a50_0x303e24(0xa0)]=a50_0x303e24(0x112);const a50_0x3b55c6={};a50_0x3b55c6[a50_0x303e24(0xa0)]='Run\x20playwright\x20tests\x20on\x20Browserstack';const a50_0xa4d272={};a50_0xa4d272[a50_0x303e24(0xa0)]=a50_0x303e24(0xa9);const a50_0x2c5237={};function a50_0x1488(_0x2d068c,_0x3890c1){const _0x17228c=a50_0x1722();return a50_0x1488=function(_0x148805,_0x2b80e9){_0x148805=_0x148805-0x73;let _0x636cc8=_0x17228c[_0x148805];return _0x636cc8;},a50_0x1488(_0x2d068c,_0x3890c1);}a50_0x2c5237['INFO']='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';const a50_0x11aab5={};a50_0x11aab5['INFO']=a50_0x303e24(0xaa);const a50_0x447916={};a50_0x447916[a50_0x303e24(0x7d)]=a50_0x303e24(0xae),a50_0x447916[a50_0x303e24(0xe7)]=a50_0x303e24(0x93),a50_0x447916[a50_0x303e24(0xd0)]='jest',a50_0x447916[a50_0x303e24(0xe8)]=a50_0x303e24(0xe4),a50_0x447916[a50_0x303e24(0xb7)]=a50_0x303e24(0xa7),a50_0x447916[a50_0x303e24(0xcf)]=a50_0x303e24(0x11b);const a50_0x345eae={};a50_0x345eae[a50_0x303e24(0xe6)]=a50_0x303e24(0x131),a50_0x345eae[a50_0x303e24(0x8d)]=a50_0x303e24(0xcd),a50_0x345eae[a50_0x303e24(0x90)]=a50_0x303e24(0x122),a50_0x345eae[a50_0x303e24(0x86)]=a50_0x303e24(0xb1);const a50_0x2833df={};function a50_0x1722(){const _0x811d96=['https://api-cloud-devtestops.bsstag.com','turboScaleOptions','APP_UPLOAD_URL','ERR_TIMED_OUT','HELP','acceptSslCerts','percyOptions','PLAYWRIGHT','Run\x20js\x20tests\x20on\x20browserstack','testObservability','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','PACKAGE_TYPE','proxyPassword','GIT_META_DATA_TRUNCATED','ERR_ADDRESS_UNREACHABLE','SDKTestInvalidTcgAuthResponseWithUserImpact','invalidTestInputType','1jKOqhl','prod','Specify\x20--help\x20for\x20available\x20options','browserStackLocalOptions','platforms','UPDATED_CLI_ENDPOINT','uniqueDependency','FRAMEWORKS','LOG_FILE_NAME','mandatoryDependency','hubUrl','wss://cdp-preprod.bsstag.com/playwright?caps=','mocha','observability','CUSTOM_ID_REGEX','httpsProxy','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','accessibilityOptions','HEALING_FAILURE_TIMEOUT','18ynHUic','ERR_CONNECTION_REFUSED','https://upload-observability-preprod.bsstag.com','proxyUser','testContextOptions','https://observability-devtestops.bsstag.com','INFO','playwright','.aab','AI_PROXY_FAILURE','accessibility','BROWSERSTACK_APP_AUTOMATE_URL','COMMONJS','codeceptjs-cucumber','SDKTestTcgProxyFailure','Run\x20codeceptjs\x20tests\x20on\x20browserstack','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','browserVersion','https://hub-devtestops.bsstag.com/wd/hub','shows\x20version\x20information','Playwright','testOrchestrationOptions','https://edsstaging.bsstag.com','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','acceptSslCert','2350557JnHyYq','265293CWGcdo','acceptInsecureCerts','chromeOptions','CODECEPT_CUCUMBER','BROWSERSTACK_AUTOMATE_URL','407752lmPWdW','ATS_HUB_URL_REGEX','preprod','customVariables','SHAREABLE_ID_REGEX','browserstack.userName','PLAYWRIGHT_CONFIG_OPTION_ERRORS','TCG_AUTH_FAILURE','PLAYWRIGHT_HUB_URL','BSTACK_DELTA','edgeOptions','193938McYfIS','SDKTestTcgAuthFailure','MAX_GIT_META_DATA_SIZE_IN_BYTES','exports','browserstack.accessKey','14DHeUgU','automation','proxyPass','SET_TCG_TOKEN_TIMEOUT','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','split','CUCUMBER','JEST','ERR_CONNECTION_FAILED','APP_AUTOMATE_PRODUCTS','proxyUrl','PLAYWRIGHT_TRACE_LOGS','browserstackLocal','https://upload-observability.browserstack.com','ERR_SOCKS_CONNECTION_FAILED','VERSION','CLI_SUPPORTED_FRAMEWORKS','TCG_REGION','131928vRAfVI','./browserstack-artifacts/','AI_ENABLED_FRAMEWORK','ERR_PROXY_CONNECTION_FAILED','bsstag.com','unhandledPromptBehavior','browserstack','firefoxOptions','percy','codeceptjs','ERR_CONNECTION_RESET','invalidKeys','MOCHA','CODECEPT','AUTOMATE','localProxyPass','ERR_BLOCKED_BY_CLIENT','https://observability.browserstack.com','https://api.browserstack.com','995480VWKYmx','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','root','SDK_INSTRUMENTATION_CONFIG','AUTOLOGCAPTURE_NOTIFICATION','INTEGRATIONS','toLowerCase','logLevel','commonjs','vanilla','parallelsPerPlatform','BROWSERSTACK','REDACTED_KEYS','HEALING_LOG_DATA_TIMEOUT','TCG_AUTH_TIMEOUT','BSTACK_URL','percyCaptureMode','https://tcg.browserstack.com','AI_INIT_SUCCESSFUL','framework','VALID_APP_EXTENSION','authToken','sdk/v1/event','CODECEPTJS','automate','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','/usage-debug.log','ERR_SOCKET_NOT_CONNECTED','ERR_CONNECTION_ABORTED','HUB_URL_REGEX','https://automate.browserstack.com/dashboard/v2/builds/','userName','PRIVATE_DOMAIN_OR_IP_REGEX','browserstack.overridelocalInfo.userAuthToken','rerunTests','browserstackAutomation','Run\x20nightwatch\x20tests\x20on\x20browserstack','BROWSERSTACK_API_URL','TCG_URL','httpProxy','SDKTestTcgtInitSuccessful','https://apidevtestops.bsstag.com','use','proxySettings','accessKey','cucumber','ATS_WSS_URL_REGEX','timeouts','Run\x20jest\x20tests\x20on\x20browserstack','app-automate','https://tcg.bsstag.com','turboScale','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','CI_ARTIFACTS_PATH','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','O11Y_URL','EDS_URL','ERR_NAME_NOT_RESOLVED','OBSERVABILITY_UPLOAD_URL','https://eds.browserstack.com','.apk','POLL_HEALING_RESULT_TIMEOUT','https://hub-preprod.bsstag.com/wd/hub','172555fWeHEi','MODULE','testObservabilityOptions','localProxyUser','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','NUDGE_LOCAL_ERRORS','localOptions','SDKTestInitFailedResponse','...[TRUNCATED]','https://app-automate.browserstack.com/dashboard/v2/builds/','https://observability-preprod.bsstag.com','0|10|8|11|1|5|9|3|7|2|4|12|6','2|1|9|11|7|3|8|4|12|0|5|6|10','Run\x20cucumber-js\x20tests\x20on\x20browserstack','ROOT_REGEX','ERR_CONNECTION_CLOSED','strictFileInteractability','AUTOMATE_PRODUCTS','disableAutoCaptureLogs','bsstag','ROOT_CAPS'];a50_0x1722=function(){return _0x811d96;};return a50_0x1722();}a50_0x2833df[a50_0x303e24(0xa6)]=a50_0x303e24(0xf6),a50_0x2833df[a50_0x303e24(0x12e)]='module';const a50_0x81b2be={};a50_0x81b2be[a50_0x303e24(0xf0)]=[a50_0x303e24(0x10d),a50_0x303e24(0x11a),a50_0x303e24(0x115),a50_0x303e24(0x96),'customVariables',a50_0x303e24(0xbe),a50_0x303e24(0xc8),a50_0x303e24(0x82),a50_0x303e24(0x103),a50_0x303e24(0xd3),a50_0x303e24(0x10f)],a50_0x81b2be[a50_0x303e24(0x8a)]=[a50_0x303e24(0x9d),a50_0x303e24(0xcb),a50_0x303e24(0x130),a50_0x303e24(0xea)];const a50_0x5dc133={};a50_0x5dc133[a50_0x303e24(0xd5)]='browserstackLocal',a50_0x5dc133[a50_0x303e24(0x8a)]='browserStackLocalOptions',a50_0x5dc133[a50_0x303e24(0x133)]=a50_0x303e24(0x8a),a50_0x5dc133[a50_0x303e24(0xf8)]=a50_0x303e24(0xf8),a50_0x5dc133[a50_0x303e24(0x8b)]=a50_0x303e24(0x8b),a50_0x5dc133['logLevel']=a50_0x303e24(0xf5),a50_0x5dc133['httpProxy']=a50_0x303e24(0x115),a50_0x5dc133[a50_0x303e24(0x96)]=a50_0x303e24(0x96),a50_0x5dc133[a50_0x303e24(0x101)]=a50_0x303e24(0x101),a50_0x5dc133[a50_0x303e24(0x9e)]=a50_0x303e24(0x9e),a50_0x5dc133[a50_0x303e24(0x7f)]=a50_0x303e24(0x7f),a50_0x5dc133['testObservabilityOptions']=a50_0x303e24(0x12f),a50_0x5dc133[a50_0x303e24(0xbc)]=a50_0x303e24(0xbc),a50_0x5dc133[a50_0x303e24(0xca)]=a50_0x303e24(0x111),a50_0x5dc133['browserstackAutomation']=a50_0x303e24(0x111),a50_0x5dc133[a50_0x303e24(0x110)]=a50_0x303e24(0x110),a50_0x5dc133[a50_0x303e24(0xe3)]=a50_0x303e24(0xe3),a50_0x5dc133[a50_0x303e24(0x7c)]=a50_0x303e24(0x7c),a50_0x5dc133[a50_0x303e24(0xfe)]=a50_0x303e24(0xfe),a50_0x5dc133[a50_0x303e24(0x73)]='disableAutoCaptureLogs',a50_0x5dc133[a50_0x303e24(0xa4)]=a50_0x303e24(0xa4),a50_0x5dc133[a50_0x303e24(0x98)]='accessibilityOptions',a50_0x5dc133[a50_0x303e24(0x121)]='turboScale',a50_0x5dc133[a50_0x303e24(0x77)]=a50_0x303e24(0x77),a50_0x5dc133[a50_0x303e24(0x119)]=a50_0x303e24(0x119),a50_0x5dc133['testOrchestrationOptions']=a50_0x303e24(0xaf);const a50_0x44e19b={};a50_0x44e19b[a50_0x303e24(0xd8)]=a50_0x176c8a,a50_0x44e19b['JEST']=a50_0x6029aa,a50_0x44e19b[a50_0x303e24(0xe7)]=a50_0x12b3ea,a50_0x44e19b['CUCUMBER']=a50_0xee19ac,a50_0x44e19b['VANILLA']=a50_0x122666,a50_0x44e19b['NIGHTWATCH']=a50_0xf2ce47,a50_0x44e19b[a50_0x303e24(0x7d)]=a50_0x3b55c6,a50_0x44e19b[a50_0x303e24(0x105)]=a50_0xa4d272,a50_0x44e19b['HST']=a50_0x2c5237,a50_0x44e19b[a50_0x303e24(0xf3)]=a50_0x11aab5,a50_0x44e19b[a50_0x303e24(0xc2)]=0xf*0x3c*0x3e8,a50_0x44e19b[a50_0x303e24(0x91)]='https://hub.browserstack.com/wd/hub',a50_0x44e19b[a50_0x303e24(0x114)]=a50_0x303e24(0xff),a50_0x44e19b[a50_0x303e24(0xda)]=a50_0x303e24(0x118),a50_0x44e19b[a50_0x303e24(0x10b)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a50_0x44e19b[a50_0x303e24(0xba)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a50_0x44e19b[a50_0x303e24(0x11c)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a50_0x44e19b[a50_0x303e24(0x75)]=[a50_0x303e24(0xb5),'pageLoadStrategy',a50_0x303e24(0x13d),a50_0x303e24(0xe0),a50_0x303e24(0x11d),'browserName',a50_0x303e24(0xab),a50_0x303e24(0x7b),a50_0x303e24(0xb2),a50_0x303e24(0xb6),a50_0x303e24(0xe2),a50_0x303e24(0xc3),'ieOptions'],a50_0x44e19b[a50_0x303e24(0x13b)]=/^[\w-]+:.*$/,a50_0x44e19b[a50_0x303e24(0x10e)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a50_0x44e19b[a50_0x303e24(0x126)]=a50_0x303e24(0x129),a50_0x44e19b['BROWSERSTACK_API_URL']=a50_0x303e24(0xed),a50_0x44e19b['APP_UPLOAD_URL']='https://api-cloud.browserstack.com',a50_0x44e19b[a50_0x303e24(0x8c)]='sdk/v1/update_cli',a50_0x44e19b['FUNNEL_INSTRUMENTATION_API_URL']=a50_0x303e24(0x104),a50_0x44e19b[a50_0x303e24(0x13e)]=[a50_0x303e24(0x106),a50_0x303e24(0x94)],a50_0x44e19b[a50_0x303e24(0xd2)]=[a50_0x303e24(0x11f),'observability'],a50_0x44e19b['PRODUCT_IF_NOT_BROWSERSTACK_INFRA']=[a50_0x303e24(0x94)],a50_0x44e19b['OBSERVABILITY_UPLOAD_URL']=a50_0x303e24(0xd6),a50_0x44e19b['OBSERVABILITY_SUPPORTED_FWS']=[a50_0x303e24(0x93),a50_0x303e24(0xae)],a50_0x44e19b[a50_0x303e24(0xe9)]=[a50_0x303e24(0x106)],a50_0x44e19b[a50_0x303e24(0xb8)]=a50_0x303e24(0x10c),a50_0x44e19b[a50_0x303e24(0xa5)]=a50_0x303e24(0x136),a50_0x44e19b['APP_AUTOMATE']=['app-automate'],a50_0x44e19b[a50_0x303e24(0x132)]=['ERR_FAILED',a50_0x303e24(0x79),a50_0x303e24(0xeb),'ERR_NETWORK_CHANGED',a50_0x303e24(0x109),a50_0x303e24(0x13c),a50_0x303e24(0xe5),a50_0x303e24(0x9b),a50_0x303e24(0x10a),a50_0x303e24(0xd1),'ERR_NAME_NOT_RESOLVED','ERR_ADDRESS_INVALID',a50_0x303e24(0x84),'ERR_TUNNEL_CONNECTION_FAILED','ERR_CONNECTION_TIMED_OUT',a50_0x303e24(0xd7),a50_0x303e24(0xef),a50_0x303e24(0xde),a50_0x303e24(0x127),'ERR_NAME_RESOLUTION_FAILED',a50_0x303e24(0x80)],a50_0x44e19b[a50_0x303e24(0x102)]=[a50_0x303e24(0x12a),a50_0x303e24(0xa2),'.ipa'],a50_0x44e19b[a50_0x303e24(0x95)]='^[a-zA-Z0-9_.-]*$',a50_0x44e19b[a50_0x303e24(0xbd)]='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a50_0x44e19b[a50_0x303e24(0x123)]=a50_0x303e24(0xdc),a50_0x44e19b[a50_0x303e24(0xc1)]='wss://cdp.browserstack.com/playwright?caps=',a50_0x44e19b[a50_0x303e24(0x8e)]=a50_0x447916,a50_0x44e19b['PERCY_SUPPORTED_FRAMEWORKS']=['jest',a50_0x303e24(0x93)],a50_0x44e19b[a50_0x303e24(0xbf)]=a50_0x345eae,a50_0x44e19b[a50_0x303e24(0xf2)]=a50_0x303e24(0x107),a50_0x44e19b[a50_0x303e24(0x81)]=a50_0x2833df,a50_0x44e19b[a50_0x303e24(0xc6)]=0x40*0x400,a50_0x44e19b[a50_0x303e24(0x83)]=a50_0x303e24(0x135),a50_0x44e19b['UPGRADE_REQUIRED']='Upgrade\x20required',a50_0x44e19b['TCG_DOWN']='SDKTestTcgDownResponse',a50_0x44e19b['INVALID_INIT_RESP_WITH_USER_IMPACT']=a50_0x303e24(0x85),a50_0x44e19b[a50_0x303e24(0xc0)]=a50_0x303e24(0xc5),a50_0x44e19b[a50_0x303e24(0x100)]=a50_0x303e24(0x116),a50_0x44e19b['AI_INIT_FAILURE']=a50_0x303e24(0x134),a50_0x44e19b[a50_0x303e24(0xa3)]=a50_0x303e24(0xa8),a50_0x44e19b[a50_0x303e24(0xfc)]=0x1388,a50_0x44e19b[a50_0x303e24(0xcc)]=0x1388,a50_0x44e19b[a50_0x303e24(0xfb)]=0x1388,a50_0x44e19b[a50_0x303e24(0x99)]=0x1388,a50_0x44e19b[a50_0x303e24(0x12b)]=0xc350,a50_0x44e19b[a50_0x303e24(0xfa)]=a50_0x81b2be,a50_0x44e19b[a50_0x303e24(0xdd)]=[a50_0x303e24(0xf7),a50_0x303e24(0xe4)],a50_0x44e19b[a50_0x303e24(0xf1)]=a50_0x5dc133,a50_0x44e19b[a50_0x303e24(0x8f)]='/usage.log',a50_0x44e19b['DEBUG_LOG_FILE_NAME']=a50_0x303e24(0x108),a50_0x44e19b[a50_0x303e24(0xfd)]='browserstack.com',a50_0x44e19b['BSTACK_ATS_URL']='browserstack-ats.com',a50_0x44e19b[a50_0x303e24(0x125)]=a50_0x303e24(0xec),a50_0x44e19b[a50_0x303e24(0xf9)]=a50_0x303e24(0xe1),a50_0x44e19b[a50_0x303e24(0xd9)]=[a50_0x303e24(0xa1)],a50_0x44e19b[a50_0x303e24(0xd4)]='PLAYWRIGHT_TRACE_LOGS',module[a50_0x303e24(0xc7)]=a50_0x44e19b;const _env=(process['env']['BROWSERSTACK_ENV']||a50_0x303e24(0x88))[a50_0x303e24(0xf4)]();if(_env==='staging'||_env==='stag'){const EFxTDb=a50_0x303e24(0x138)[a50_0x303e24(0xce)]('|');let SMXJpT=0x0;while(!![]){switch(EFxTDb[SMXJpT++]){case'0':module['exports']['hubUrl']=a50_0x303e24(0xac);continue;case'1':module[a50_0x303e24(0xc7)][a50_0x303e24(0xb8)]='https://automate-devtestops.bsstag.com/dashboard/v2/builds/';continue;case'2':module[a50_0x303e24(0xc7)]['O11Y_URL']=a50_0x303e24(0x9f);continue;case'3':module[a50_0x303e24(0xc7)][a50_0x303e24(0xc1)]='wss://cdp-devtestops.bsstag.com/playwright?caps=';continue;case'4':module[a50_0x303e24(0xc7)][a50_0x303e24(0x128)]='https://upload-observability-devtestops-ssi.bsstag.com';continue;case'5':module[a50_0x303e24(0xc7)]['BROWSERSTACK_APP_AUTOMATE_URL']=a50_0x303e24(0x124);continue;case'6':module[a50_0x303e24(0xc7)]['BROWSERSTACK']=a50_0x303e24(0x74);continue;case'7':module[a50_0x303e24(0xc7)][a50_0x303e24(0xfd)]='bsstag.com';continue;case'8':module['exports'][a50_0x303e24(0x114)]=a50_0x303e24(0x120);continue;case'9':module[a50_0x303e24(0xc7)][a50_0x303e24(0x78)]=a50_0x303e24(0x76);continue;case'10':module[a50_0x303e24(0xc7)][a50_0x303e24(0x113)]=a50_0x303e24(0x117);continue;case'11':module['exports'][a50_0x303e24(0x10b)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'12':module[a50_0x303e24(0xc7)]['EDS_URL']='https://edsstaging.bsstag.com';continue;}break;}}else{if(_env===a50_0x303e24(0xbb)||_env==='pre-prod'){const vcxBlK=a50_0x303e24(0x139)[a50_0x303e24(0xce)]('|');let kobjrz=0x0;while(!![]){switch(vcxBlK[kobjrz++]){case'0':module['exports'][a50_0x303e24(0x125)]=a50_0x303e24(0x137);continue;case'1':module[a50_0x303e24(0xc7)][a50_0x303e24(0x113)]='https://api-preprod.bsstag.com';continue;case'2':module['exports'][a50_0x303e24(0x91)]=a50_0x303e24(0x12c);continue;case'3':module[a50_0x303e24(0xc7)][a50_0x303e24(0xa5)]=a50_0x303e24(0x97);continue;case'4':module['exports'][a50_0x303e24(0xc1)]=a50_0x303e24(0x92);continue;case'5':module[a50_0x303e24(0xc7)]['OBSERVABILITY_UPLOAD_URL']=a50_0x303e24(0x9c);continue;case'6':module['exports']['EDS_URL']=a50_0x303e24(0xb0);continue;case'7':module[a50_0x303e24(0xc7)][a50_0x303e24(0xb8)]='https://automate-preprod.bsstag.com/dashboard/v2/builds/';continue;case'8':module[a50_0x303e24(0xc7)]['APP_UPLOAD_URL']='https://api-preprod.bsstag.com';continue;case'9':module[a50_0x303e24(0xc7)][a50_0x303e24(0x114)]='https://tcg-preprod.bsstag.com';continue;case'10':module[a50_0x303e24(0xc7)][a50_0x303e24(0xf9)]=a50_0x303e24(0x74);continue;case'11':module[a50_0x303e24(0xc7)][a50_0x303e24(0x10b)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'12':module[a50_0x303e24(0xc7)][a50_0x303e24(0xfd)]=a50_0x303e24(0xdf);continue;}break;}}}
@@ -1 +1 @@
1
- function a50_0x29a1(){const _0x155b7d=['8631wIZxLu','410zXJZem','440yJygcx','911990BOZfFL','level','log','1931paoRrv','data','./logReportingAPI','54457XJRTJi','6WSwtZe','timezoneOffset','colouredLayout','670998YWjphc','1119560YsXOny','77dDgPKW','DraUZ','levelStr','6276RPxpvf','20aYmbTU','3258437kHvSGW','configure','layout'];a50_0x29a1=function(){return _0x155b7d;};return a50_0x29a1();}const a50_0x4713b0=a50_0x30b6;(function(_0x3ded91,_0x551417){const _0x556694=a50_0x30b6,_0x56bbcc=_0x3ded91();while(!![]){try{const _0x50e937=parseInt(_0x556694(0x1b2))/0x1*(parseInt(_0x556694(0x1ad))/0x2)+-parseInt(_0x556694(0x1a2))/0x3*(-parseInt(_0x556694(0x1a8))/0x4)+parseInt(_0x556694(0x1a3))/0x5+parseInt(_0x556694(0x19f))/0x6*(parseInt(_0x556694(0x1a9))/0x7)+-parseInt(_0x556694(0x1ae))/0x8*(parseInt(_0x556694(0x1ac))/0x9)+parseInt(_0x556694(0x1af))/0xa*(parseInt(_0x556694(0x1a4))/0xb)+-parseInt(_0x556694(0x1a7))/0xc*(parseInt(_0x556694(0x19e))/0xd);if(_0x50e937===_0x551417)break;else _0x56bbcc['push'](_0x56bbcc['shift']());}catch(_0x2177a1){_0x56bbcc['push'](_0x56bbcc['shift']());}}}(a50_0x29a1,0x92175));const logReportingAPI=require(a50_0x4713b0(0x1b4)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x2ddaae,_0x1a9d9f){return _0x108e99=>{const _0x5b2d66=a50_0x30b6;BSTestOpsLogger[_0x5b2d66(0x1b1)]({'level':_0x108e99[_0x5b2d66(0x1b0)]?_0x108e99['level'][_0x5b2d66(0x1a6)]:null,'message':_0x108e99[_0x5b2d66(0x1b3)]?_0x108e99[_0x5b2d66(0x1b3)]['join']('\x20'):null});};}function a50_0x30b6(_0x12cace,_0x1b1734){const _0x29a12d=a50_0x29a1();return a50_0x30b6=function(_0x30b604,_0x574ff2){_0x30b604=_0x30b604-0x19e;let _0x23c260=_0x29a12d[_0x30b604];return _0x23c260;},a50_0x30b6(_0x12cace,_0x1b1734);}exports[a50_0x4713b0(0x1aa)]=(_0x5e220e,_0x551b40)=>{const _0x31b698=a50_0x4713b0,_0x46afeb={'DraUZ':function(_0x20abb6,_0x49a29a,_0x398da6){return _0x20abb6(_0x49a29a,_0x398da6);}};let _0x2d114e=_0x551b40[_0x31b698(0x1a1)];return _0x5e220e[_0x31b698(0x1ab)]&&(_0x2d114e=_0x551b40[_0x31b698(0x1ab)](_0x5e220e[_0x31b698(0x1ab)]['type'],_0x5e220e['layout'])),_0x46afeb[_0x31b698(0x1a5)](BSTestOpsLog4JSAppender,_0x2d114e,_0x5e220e[_0x31b698(0x1a0)]);};
1
+ function a51_0x3963(){const _0x222a21=['join','143FcRelR','121494RZxnPT','30560qOifjM','456kUioWh','configure','level','135GTixGT','type','timezoneOffset','log','levelStr','./logReportingAPI','1802785mILZbX','layout','5006cJXENs','5280884CPDirq','10861407btKzfr','10AFkeVP','colouredLayout','231cyNRfV','data','943848gJNWYK'];a51_0x3963=function(){return _0x222a21;};return a51_0x3963();}const a51_0x1d898=a51_0x37a7;(function(_0x141a60,_0x17eeda){const _0x4649c8=a51_0x37a7,_0x595d7b=_0x141a60();while(!![]){try{const _0x53d226=parseInt(_0x4649c8(0x7f))/0x1+parseInt(_0x4649c8(0x81))/0x2*(-parseInt(_0x4649c8(0x76))/0x3)+parseInt(_0x4649c8(0x82))/0x4+-parseInt(_0x4649c8(0x79))/0x5*(-parseInt(_0x4649c8(0x74))/0x6)+parseInt(_0x4649c8(0x6f))/0x7*(-parseInt(_0x4649c8(0x75))/0x8)+parseInt(_0x4649c8(0x83))/0x9*(-parseInt(_0x4649c8(0x84))/0xa)+-parseInt(_0x4649c8(0x73))/0xb*(parseInt(_0x4649c8(0x71))/0xc);if(_0x53d226===_0x17eeda)break;else _0x595d7b['push'](_0x595d7b['shift']());}catch(_0x5ddb69){_0x595d7b['push'](_0x595d7b['shift']());}}}(a51_0x3963,0xe4000));function a51_0x37a7(_0xb168b9,_0x2bb41){const _0x396351=a51_0x3963();return a51_0x37a7=function(_0x37a783,_0xa15430){_0x37a783=_0x37a783-0x6f;let _0x3ffff6=_0x396351[_0x37a783];return _0x3ffff6;},a51_0x37a7(_0xb168b9,_0x2bb41);}const logReportingAPI=require(a51_0x1d898(0x7e)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x43763e,_0x126ec7){return _0x1353b9=>{const _0x4d4607=a51_0x37a7;BSTestOpsLogger[_0x4d4607(0x7c)]({'level':_0x1353b9[_0x4d4607(0x78)]?_0x1353b9['level'][_0x4d4607(0x7d)]:null,'message':_0x1353b9[_0x4d4607(0x70)]?_0x1353b9[_0x4d4607(0x70)][_0x4d4607(0x72)]('\x20'):null});};}exports[a51_0x1d898(0x77)]=(_0x1dae1f,_0x426a10)=>{const _0x2fc18f=a51_0x1d898,_0x165c17={'iSqsy':function(_0x52aaf8,_0x4e5b04,_0x2b45fb){return _0x52aaf8(_0x4e5b04,_0x2b45fb);}};let _0xef91af=_0x426a10[_0x2fc18f(0x85)];return _0x1dae1f[_0x2fc18f(0x80)]&&(_0xef91af=_0x426a10['layout'](_0x1dae1f[_0x2fc18f(0x80)][_0x2fc18f(0x7a)],_0x1dae1f[_0x2fc18f(0x80)])),_0x165c17['iSqsy'](BSTestOpsLog4JSAppender,_0xef91af,_0x1dae1f[_0x2fc18f(0x7b)]);};
@@ -1 +1 @@
1
- const a51_0x95fc4=a51_0xf9c9;(function(_0x5310f7,_0x316c24){const _0x13fd45=a51_0xf9c9,_0x71581d=_0x5310f7();while(!![]){try{const _0xcd0f7c=parseInt(_0x13fd45(0x144))/0x1*(parseInt(_0x13fd45(0x147))/0x2)+-parseInt(_0x13fd45(0x14f))/0x3+-parseInt(_0x13fd45(0x150))/0x4+parseInt(_0x13fd45(0x154))/0x5+parseInt(_0x13fd45(0x159))/0x6*(parseInt(_0x13fd45(0x14d))/0x7)+-parseInt(_0x13fd45(0x14e))/0x8*(-parseInt(_0x13fd45(0x15a))/0x9)+-parseInt(_0x13fd45(0x149))/0xa;if(_0xcd0f7c===_0x316c24)break;else _0x71581d['push'](_0x71581d['shift']());}catch(_0x5bd4c6){_0x71581d['push'](_0x71581d['shift']());}}}(a51_0x10b6,0xd4064));const Transport=require(a51_0x95fc4(0x158)),{consoleHolder}=require(a51_0x95fc4(0x15b)),a51_0x478136={};function a51_0xf9c9(_0x2eb1b4,_0x54d63f){const _0x10b697=a51_0x10b6();return a51_0xf9c9=function(_0xf9c921,_0x43209e){_0xf9c921=_0xf9c921-0x144;let _0x34fac8=_0x10b697[_0xf9c921];return _0x34fac8;},a51_0xf9c9(_0x2eb1b4,_0x54d63f);}a51_0x478136[a51_0x95fc4(0x151)]=a51_0x95fc4(0x151),a51_0x478136['ERROR']='ERROR',a51_0x478136[a51_0x95fc4(0x15e)]=a51_0x95fc4(0x15e),a51_0x478136[a51_0x95fc4(0x156)]=a51_0x95fc4(0x156),a51_0x478136[a51_0x95fc4(0x146)]=a51_0x95fc4(0x146);const LOG_LEVELS=a51_0x478136;class logPatcher extends Transport{constructor(_0x4a5502){super(_0x4a5502);}[a51_0x95fc4(0x157)]=(_0x278cd0=LOG_LEVELS[a51_0x95fc4(0x151)],_0x5ae905=[''])=>{const _0x19d71d=a51_0x95fc4,_0x4a1bb9={};_0x4a1bb9[_0x19d71d(0x152)]=_0x19d71d(0x15d);const _0x2e217e=_0x4a1bb9;consoleHolder[_0x278cd0['toLowerCase']()](..._0x5ae905),process['emit'](_0x19d71d(0x153)+process[_0x19d71d(0x15c)],{'timestamp':new Date()[_0x19d71d(0x14a)](),'level':_0x278cd0[_0x19d71d(0x145)](),'message':'\x22'+_0x5ae905[_0x19d71d(0x14c)](',\x20')+'\x22','kind':_0x2e217e[_0x19d71d(0x152)],'http_response':{}});};['trace']=(..._0x4abdd0)=>{const _0x325505=a51_0x95fc4;this[_0x325505(0x157)](LOG_LEVELS['TRACE'],_0x4abdd0);};['debug']=(..._0x58b7b3)=>{const _0x213b2e=a51_0x95fc4;this[_0x213b2e(0x157)](LOG_LEVELS[_0x213b2e(0x15e)],_0x58b7b3);};['info']=(..._0x5efe5c)=>{const _0x4df967=a51_0x95fc4;this['logToTestOps'](LOG_LEVELS[_0x4df967(0x151)],_0x5efe5c);};[a51_0x95fc4(0x14b)]=(..._0x442aff)=>{const _0x52779f=a51_0x95fc4;this[_0x52779f(0x157)](LOG_LEVELS['WARN'],_0x442aff);};['error']=(..._0x30f1f1)=>{const _0x3e232e=a51_0x95fc4;this[_0x3e232e(0x157)](LOG_LEVELS[_0x3e232e(0x148)],_0x30f1f1);};[a51_0x95fc4(0x155)]=(..._0x143a37)=>{const _0x29b1c9=a51_0x95fc4;this[_0x29b1c9(0x157)](LOG_LEVELS[_0x29b1c9(0x151)],_0x143a37);};};function a51_0x10b6(){const _0x782357=['6759380MWpVFA','INFO','abPNH','bs:addLog:','5475745KBCLUT','log','TRACE','logToTestOps','winston-transport','96wqjcfM','185391qnDuHC','../../helpers/test-observability/constants','pid','TEST_LOG','DEBUG','1fWECVo','toUpperCase','WARN','19732lJBqcO','ERROR','12787550OgIkMr','toISOString','warn','join','674114AmZzgV','464qzVFKA','10611pKSStz'];a51_0x10b6=function(){return _0x782357;};return a51_0x10b6();}module['exports']=logPatcher;
1
+ const a52_0x528227=a52_0x5946;function a52_0x5946(_0x2cf9cc,_0x58e389){const _0x7438b9=a52_0x7438();return a52_0x5946=function(_0x594671,_0x3c6acc){_0x594671=_0x594671-0x1e4;let _0x12a49c=_0x7438b9[_0x594671];return _0x12a49c;},a52_0x5946(_0x2cf9cc,_0x58e389);}(function(_0x19e847,_0x1987bb){const _0x589a54=a52_0x5946,_0x186016=_0x19e847();while(!![]){try{const _0x353a98=-parseInt(_0x589a54(0x1e8))/0x1+parseInt(_0x589a54(0x1ec))/0x2+-parseInt(_0x589a54(0x1ee))/0x3*(parseInt(_0x589a54(0x1f1))/0x4)+-parseInt(_0x589a54(0x203))/0x5*(-parseInt(_0x589a54(0x1f3))/0x6)+-parseInt(_0x589a54(0x1fc))/0x7*(-parseInt(_0x589a54(0x1f0))/0x8)+-parseInt(_0x589a54(0x1f2))/0x9*(-parseInt(_0x589a54(0x1e4))/0xa)+-parseInt(_0x589a54(0x1eb))/0xb;if(_0x353a98===_0x1987bb)break;else _0x186016['push'](_0x186016['shift']());}catch(_0x989a76){_0x186016['push'](_0x186016['shift']());}}}(a52_0x7438,0x513e7));const Transport=require(a52_0x528227(0x204)),{consoleHolder}=require(a52_0x528227(0x1e5)),a52_0x5b2e71={};a52_0x5b2e71[a52_0x528227(0x1e7)]='INFO',a52_0x5b2e71[a52_0x528227(0x1ef)]='ERROR',a52_0x5b2e71[a52_0x528227(0x1ff)]=a52_0x528227(0x1ff),a52_0x5b2e71[a52_0x528227(0x1fd)]=a52_0x528227(0x1fd),a52_0x5b2e71[a52_0x528227(0x1e6)]='WARN';const LOG_LEVELS=a52_0x5b2e71;class logPatcher extends Transport{constructor(_0x1c8c27){super(_0x1c8c27);}[a52_0x528227(0x201)]=(_0x1d61b3=LOG_LEVELS['INFO'],_0x42f34f=[''])=>{const _0x4affab=a52_0x528227,_0x4c4834={};_0x4c4834[_0x4affab(0x1fa)]=_0x4affab(0x1f9);const _0x3451fb=_0x4c4834;consoleHolder[_0x1d61b3[_0x4affab(0x202)]()](..._0x42f34f),process[_0x4affab(0x1e9)](_0x4affab(0x1f5)+process[_0x4affab(0x1f8)],{'timestamp':new Date()[_0x4affab(0x1ea)](),'level':_0x1d61b3[_0x4affab(0x1fb)](),'message':'\x22'+_0x42f34f['join'](',\x20')+'\x22','kind':_0x3451fb[_0x4affab(0x1fa)],'http_response':{}});};[a52_0x528227(0x1f4)]=(..._0xdf4a7c)=>{this['logToTestOps'](LOG_LEVELS['TRACE'],_0xdf4a7c);};['debug']=(..._0x15eba2)=>{const _0x4ffdc8=a52_0x528227;this['logToTestOps'](LOG_LEVELS[_0x4ffdc8(0x1ff)],_0x15eba2);};[a52_0x528227(0x1f7)]=(..._0x52276b)=>{const _0x5a4533=a52_0x528227;this[_0x5a4533(0x201)](LOG_LEVELS[_0x5a4533(0x1e7)],_0x52276b);};[a52_0x528227(0x1ed)]=(..._0x30f077)=>{const _0x530375=a52_0x528227;this[_0x530375(0x201)](LOG_LEVELS[_0x530375(0x1e6)],_0x30f077);};[a52_0x528227(0x1fe)]=(..._0x5b1f4e)=>{const _0x34f1ed=a52_0x528227;this[_0x34f1ed(0x201)](LOG_LEVELS[_0x34f1ed(0x1ef)],_0x5b1f4e);};[a52_0x528227(0x1f6)]=(..._0x421703)=>{const _0x3f457b=a52_0x528227;this[_0x3f457b(0x201)](LOG_LEVELS[_0x3f457b(0x1e7)],_0x421703);};};function a52_0x7438(){const _0x376dad=['UXxhf','toUpperCase','228991qzdxHk','TRACE','error','DEBUG','exports','logToTestOps','toLowerCase','261955DAUyRm','winston-transport','110tAgGxS','../../helpers/test-observability/constants','WARN','INFO','615413VtbEsO','emit','toISOString','1968175bYMFoO','742534mGBNKK','warn','158901wAVaaV','ERROR','24CwpydF','4jzJjeG','281403dwsYVr','42tZnpMU','trace','bs:addLog:','log','info','pid','TEST_LOG'];a52_0x7438=function(){return _0x376dad;};return a52_0x7438();}module[a52_0x528227(0x200)]=logPatcher;
@@ -1 +1 @@
1
- const a52_0x559b67=a52_0x20e2;(function(_0x260e3d,_0x34c4e8){const _0x2f224c=a52_0x20e2,_0x4126bf=_0x260e3d();while(!![]){try{const _0x62cf80=-parseInt(_0x2f224c(0x148))/0x1+parseInt(_0x2f224c(0x147))/0x2*(-parseInt(_0x2f224c(0x133))/0x3)+-parseInt(_0x2f224c(0x146))/0x4+parseInt(_0x2f224c(0x14e))/0x5+-parseInt(_0x2f224c(0x153))/0x6+parseInt(_0x2f224c(0x14d))/0x7+parseInt(_0x2f224c(0x151))/0x8*(parseInt(_0x2f224c(0x130))/0x9);if(_0x62cf80===_0x34c4e8)break;else _0x4126bf['push'](_0x4126bf['shift']());}catch(_0x5bdf06){_0x4126bf['push'](_0x4126bf['shift']());}}}(a52_0xd490,0x668d6));const Transport=require(a52_0x559b67(0x143)),{consoleHolder}=require(a52_0x559b67(0x152)),a52_0x2879fb={};a52_0x2879fb[a52_0x559b67(0x145)]='INFO',a52_0x2879fb['ERROR']=a52_0x559b67(0x141),a52_0x2879fb[a52_0x559b67(0x132)]=a52_0x559b67(0x132),a52_0x2879fb['TRACE']=a52_0x559b67(0x131),a52_0x2879fb['WARN']=a52_0x559b67(0x14f);const LOG_LEVELS=a52_0x2879fb;class logReportingAPI extends Transport{constructor(_0x261271){super(_0x261271);}[a52_0x559b67(0x138)](_0x36e300,_0xaeb70d){const _0x5c146b=a52_0x559b67,_0x65f89c={'rGTdc':_0x5c146b(0x137),'nAmJE':function(_0x4a2e6a,_0x3611c5){return _0x4a2e6a(_0x3611c5);},'KboQB':function(_0x294cd3,_0x27f79e){return _0x294cd3===_0x27f79e;},'iFGIk':_0x5c146b(0x14b),'eFXrT':function(_0x2cc3cc){return _0x2cc3cc();}};_0x65f89c[_0x5c146b(0x150)](setImmediate,()=>{const _0x309cef=_0x5c146b;this[_0x309cef(0x13d)](_0x65f89c[_0x309cef(0x13f)],_0x36e300);}),_0x65f89c[_0x5c146b(0x14a)](typeof _0x36e300,_0x65f89c[_0x5c146b(0x139)])?this[_0x5c146b(0x13a)](_0x36e300[_0x5c146b(0x144)]||LOG_LEVELS[_0x5c146b(0x145)],_0x36e300[_0x5c146b(0x135)],![]):this[_0x5c146b(0x13a)](LOG_LEVELS[_0x5c146b(0x145)],_0x36e300),_0xaeb70d&&_0x65f89c[_0x5c146b(0x140)](_0xaeb70d);}[a52_0x559b67(0x13a)]=(_0x531a98=LOG_LEVELS['INFO'],_0x4acb30='',_0x501523=!![])=>{const _0x144ec4=a52_0x559b67,_0x471f2c={};_0x471f2c[_0x144ec4(0x136)]='TEST_LOG';const _0x112271=_0x471f2c;_0x501523&&consoleHolder[_0x531a98['toLowerCase']()](_0x4acb30),process['emit'](_0x144ec4(0x13c)+process[_0x144ec4(0x14c)],{'timestamp':new Date()[_0x144ec4(0x13b)](),'level':_0x531a98[_0x144ec4(0x142)](),'message':_0x4acb30,'kind':_0x112271[_0x144ec4(0x136)],'http_response':{}});};[a52_0x559b67(0x13e)]=(_0x3d4a5,_0x14f85c)=>{const _0x116df3=a52_0x559b67;this[_0x116df3(0x13a)](LOG_LEVELS[_0x116df3(0x131)],_0x3d4a5);};[a52_0x559b67(0x149)]=(_0x386727,_0x12f156)=>{const _0x34357a=a52_0x559b67;this['logToTestOps'](LOG_LEVELS[_0x34357a(0x132)],_0x386727);};['info']=(_0x206de0,_0x242839)=>{const _0x42d66c=a52_0x559b67;this[_0x42d66c(0x13a)](LOG_LEVELS[_0x42d66c(0x145)],_0x206de0);};['warn']=(_0x5c6079,_0x102876)=>{const _0x5d8a6e=a52_0x559b67;this[_0x5d8a6e(0x13a)](LOG_LEVELS[_0x5d8a6e(0x14f)],_0x5c6079);};[a52_0x559b67(0x134)]=(_0x50f20d,_0x2d3cbe)=>{const _0xda3e88=a52_0x559b67;this[_0xda3e88(0x13a)](LOG_LEVELS[_0xda3e88(0x141)],_0x50f20d);};}function a52_0xd490(){const _0x222fc7=['error','message','IgQTQ','logged','log','iFGIk','logToTestOps','toISOString','bs:addLog:','emit','trace','rGTdc','eFXrT','ERROR','toUpperCase','winston-transport','level','INFO','2825060SPuQRJ','2UTOlqH','65511WKWwUA','debug','KboQB','object','pid','2993382DBVvUn','1025145NRQFZT','WARN','nAmJE','5368232BjQbaB','../../helpers/test-observability/constants','4124664BdrYAU','27HhsrYw','TRACE','DEBUG','2299404ZhNuWY'];a52_0xd490=function(){return _0x222fc7;};return a52_0xd490();};function a52_0x20e2(_0x1fcc8d,_0x290370){const _0xd490ea=a52_0xd490();return a52_0x20e2=function(_0x20e228,_0x17513a){_0x20e228=_0x20e228-0x130;let _0x4de764=_0xd490ea[_0x20e228];return _0x4de764;},a52_0x20e2(_0x1fcc8d,_0x290370);}module['exports']=logReportingAPI;
1
+ function a53_0xf1c0(_0x23b73b,_0x40ba72){const _0x6cd600=a53_0x6cd6();return a53_0xf1c0=function(_0xf1c01e,_0x2837e0){_0xf1c01e=_0xf1c01e-0x64;let _0x2c5456=_0x6cd600[_0xf1c01e];return _0x2c5456;},a53_0xf1c0(_0x23b73b,_0x40ba72);}const a53_0x24cd4c=a53_0xf1c0;function a53_0x6cd6(){const _0x37b18f=['2843YnXTph','debug','1236tbFECj','cPNWt','2123raIAxn','TDNun','exports','TEST_LOG','pid','toISOString','logToTestOps','level','7UgEKAD','hTABq','23410dXSfkh','ytASP','trace','logged','info','WARN','DEBUG','647998SJQCrG','winston-transport','object','error','5342244tSOeWq','8dKXPaT','ERROR','HxILC','KiDCO','warn','INFO','516VTLJmT','1408nXCAhS','2741913MyKxYD','log','358LMlZRY','2679655xdbdTx','TRACE'];a53_0x6cd6=function(){return _0x37b18f;};return a53_0x6cd6();}(function(_0x184f6e,_0x3b55bd){const _0x4b7e45=a53_0xf1c0,_0x1d78cc=_0x184f6e();while(!![]){try{const _0x31ea29=-parseInt(_0x4b7e45(0x73))/0x1*(parseInt(_0x4b7e45(0x70))/0x2)+parseInt(_0x4b7e45(0x75))/0x3*(parseInt(_0x4b7e45(0x6d))/0x4)+-parseInt(_0x4b7e45(0x71))/0x5+-parseInt(_0x4b7e45(0x65))/0x6*(parseInt(_0x4b7e45(0x7f))/0x7)+parseInt(_0x4b7e45(0x66))/0x8*(-parseInt(_0x4b7e45(0x6e))/0x9)+-parseInt(_0x4b7e45(0x81))/0xa*(-parseInt(_0x4b7e45(0x77))/0xb)+parseInt(_0x4b7e45(0x6c))/0xc*(parseInt(_0x4b7e45(0x88))/0xd);if(_0x31ea29===_0x3b55bd)break;else _0x1d78cc['push'](_0x1d78cc['shift']());}catch(_0x24d753){_0x1d78cc['push'](_0x1d78cc['shift']());}}}(a53_0x6cd6,0x7a284));const Transport=require(a53_0x24cd4c(0x89)),{consoleHolder}=require('../../helpers/test-observability/constants'),a53_0x5671cc={};a53_0x5671cc[a53_0x24cd4c(0x6b)]=a53_0x24cd4c(0x6b),a53_0x5671cc[a53_0x24cd4c(0x67)]=a53_0x24cd4c(0x67),a53_0x5671cc[a53_0x24cd4c(0x87)]=a53_0x24cd4c(0x87),a53_0x5671cc[a53_0x24cd4c(0x72)]=a53_0x24cd4c(0x72),a53_0x5671cc[a53_0x24cd4c(0x86)]=a53_0x24cd4c(0x86);const LOG_LEVELS=a53_0x5671cc;class logReportingAPI extends Transport{constructor(_0x2916d6){super(_0x2916d6);}[a53_0x24cd4c(0x6f)](_0x29e3ba,_0x32d7e3){const _0x139542=a53_0x24cd4c,_0x489ed5={'TDNun':_0x139542(0x84),'cPNWt':function(_0x22ec3c,_0x2f0778){return _0x22ec3c(_0x2f0778);},'KiDCO':function(_0x858b55,_0x3d84c2){return _0x858b55===_0x3d84c2;},'ytASP':_0x139542(0x8a),'hTABq':function(_0x567fdd){return _0x567fdd();}};_0x489ed5[_0x139542(0x76)](setImmediate,()=>{const _0x17b3d6=_0x139542;this['emit'](_0x489ed5[_0x17b3d6(0x78)],_0x29e3ba);}),_0x489ed5[_0x139542(0x69)](typeof _0x29e3ba,_0x489ed5[_0x139542(0x82)])?this['logToTestOps'](_0x29e3ba[_0x139542(0x7e)]||LOG_LEVELS[_0x139542(0x6b)],_0x29e3ba['message'],![]):this[_0x139542(0x7d)](LOG_LEVELS[_0x139542(0x6b)],_0x29e3ba),_0x32d7e3&&_0x489ed5[_0x139542(0x80)](_0x32d7e3);}[a53_0x24cd4c(0x7d)]=(_0xeb6b87=LOG_LEVELS[a53_0x24cd4c(0x6b)],_0x9edaf7='',_0x3bc5f8=!![])=>{const _0x3f49dc=a53_0x24cd4c,_0x3e5093={};_0x3e5093[_0x3f49dc(0x68)]=_0x3f49dc(0x7a);const _0x189c1a=_0x3e5093;_0x3bc5f8&&consoleHolder[_0xeb6b87['toLowerCase']()](_0x9edaf7),process['emit']('bs:addLog:'+process[_0x3f49dc(0x7b)],{'timestamp':new Date()[_0x3f49dc(0x7c)](),'level':_0xeb6b87['toUpperCase'](),'message':_0x9edaf7,'kind':_0x189c1a[_0x3f49dc(0x68)],'http_response':{}});};[a53_0x24cd4c(0x83)]=(_0x3a9aac,_0x4225f0)=>{const _0x4de09f=a53_0x24cd4c;this[_0x4de09f(0x7d)](LOG_LEVELS[_0x4de09f(0x72)],_0x3a9aac);};[a53_0x24cd4c(0x74)]=(_0x332f5d,_0x20bf6c)=>{const _0x3717c0=a53_0x24cd4c;this[_0x3717c0(0x7d)](LOG_LEVELS[_0x3717c0(0x87)],_0x332f5d);};[a53_0x24cd4c(0x85)]=(_0x54d57c,_0x711fd2)=>{const _0x407de1=a53_0x24cd4c;this['logToTestOps'](LOG_LEVELS[_0x407de1(0x6b)],_0x54d57c);};[a53_0x24cd4c(0x6a)]=(_0x3ffdea,_0x1f96e8)=>{const _0x200ec3=a53_0x24cd4c;this[_0x200ec3(0x7d)](LOG_LEVELS[_0x200ec3(0x86)],_0x3ffdea);};[a53_0x24cd4c(0x64)]=(_0x36b963,_0xebc234)=>{const _0x2b2b0e=a53_0x24cd4c;this[_0x2b2b0e(0x7d)](LOG_LEVELS[_0x2b2b0e(0x67)],_0x36b963);};};module[a53_0x24cd4c(0x79)]=logReportingAPI;