browserstack-node-sdk 1.56.2 → 1.56.3
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.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101_0x3bbb5c=a101_0x31e4;function a101_0x5e14(){const _0x55dac8=['WnWxH','rule','result','947228BMTLUm','jauDi','getTestUUID','relative','../TestInfo.js','nQgga','BEFORE_EACH','7832562irdcdO','dgUcF','muTYA','sendHook','xrFnn','pywkx','UnhandledError','2863930kojogd','map','7jEtkhE','createTestFrameworkData','path','children','scenario','pending','HookRunFinished','format','forEach','bhVRt','getHookResult','finished_at','getHookRunEventData','2616320eRvQGM','failure_reason','wRILk','test','testCaseFinished','push','aAeux','JICQr','vCHby','WCMSJ','filter','RSEmM','YihrO','wnpiM','zJUgD','bvJDB','3slCYgx','skipped','feature','configureGit','failure_type','toISOString','FAILED','sourceReference','hookId','iWbVQ','split','sendTestRunEventForCucumber','HookRunStarted','WREfr','ecxRQ','duration_in_ms','uGFYU','finishedAt','hooks','unknown','getCucumberHookType','iQeJc','status','name','../../../helpers/logger.js','getScenarioExamples','examples','kuUJI','value','320264kxYoqi','failed','3400555EUsLLB','toLowerCase','pusQZ','includes','JXNJH','cells','AssertionError','HFczT','Exception\x20in\x20getHookRunEventData:\x20','failure','129861vwVfZu','tags','JJJJW','strip-ansi','AFTER_EACH','find','iDxDo','eWrCJ','_gitConfigured','astNodeIds','testStepResult','jtWLF','uri','11HmCkKA','HlpLP','javascript','Uqjtq','328gkJMRZ','tableBody','ysopn','ssexP','ZdWEX','toString','root','passed','SOgCy','Exception\x20in\x20createHookData:\x20','flatMap','bevfB','uuid','KysST','PpnPN','debug','failureType','message','tagExpression','ZGhKY','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','match','length','YRBpC','timestamp','_gitConfigPath','every','nanos','pickleStepId','../../../helpers/helper.js'];a101_0x5e14=function(){return _0x55dac8;};return a101_0x5e14();}function a101_0x31e4(_0x81ab6d,_0x8894c){const _0x5e1493=a101_0x5e14();return a101_0x31e4=function(_0x31e4f2,_0x37e824){_0x31e4f2=_0x31e4f2-0x122;let _0xc4617e=_0x5e1493[_0x31e4f2];return _0xc4617e;},a101_0x31e4(_0x81ab6d,_0x8894c);}(function(_0x3dd55f,_0x122685){const _0x209d81=a101_0x31e4,_0x86654f=_0x3dd55f();while(!![]){try{const _0x5b466b=-parseInt(_0x209d81(0x13a))/0x1+-parseInt(_0x209d81(0x184))/0x2*(-parseInt(_0x209d81(0x167))/0x3)+-parseInt(_0x209d81(0x157))/0x4+parseInt(_0x209d81(0x186))/0x5+parseInt(_0x209d81(0x141))/0x6*(parseInt(_0x209d81(0x14a))/0x7)+-parseInt(_0x209d81(0x1a1))/0x8*(-parseInt(_0x209d81(0x190))/0x9)+-parseInt(_0x209d81(0x148))/0xa*(parseInt(_0x209d81(0x19d))/0xb);if(_0x5b466b===_0x122685)break;else _0x86654f['push'](_0x86654f['shift']());}catch(_0x311339){_0x86654f['push'](_0x86654f['shift']());}}}(a101_0x5e14,0xcf696));const path=require(a101_0x3bbb5c(0x14c)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a101_0x3bbb5c(0x136)),logger=require(a101_0x3bbb5c(0x17f))['winstonLogger'],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a101_0x3bbb5c(0x13e)),hooksMap={};class CucumberUtils{constructor(){const _0x52bbde=a101_0x3bbb5c;this[_0x52bbde(0x198)]=![],this[_0x52bbde(0x132)]=null;}async['createTestFrameworkData'](_0x31abf4,_0x57fe66,_0xd58070,_0x1b6847,_0x3edbdf,_0x2b0fe8){const _0x156a4f=a101_0x3bbb5c,_0x2c1ccc={'YRBpC':function(_0x1a1e00,_0x2dbdab){return _0x1a1e00===_0x2dbdab;},'bvJDB':_0x156a4f(0x16d),'WREfr':_0x156a4f(0x185),'PbKtn':'SKIPPED','KysST':_0x156a4f(0x168),'pusQZ':function(_0x50dbf2,_0xdc69c1){return _0x50dbf2||_0xdc69c1;},'plsrD':function(_0x3bd704,_0xbb10a5){return _0x3bd704+_0xbb10a5;},'KVsDv':function(_0x29c2ef,_0x19cc0f){return _0x29c2ef+_0x19cc0f;},'JJJJW':_0x156a4f(0x15a),'PPriK':_0x156a4f(0x19f),'ZGhKY':'cucumber','pywkx':_0x156a4f(0x14f),'iQeJc':_0x156a4f(0x1a8),'JNAJN':function(_0x582784,_0x33d2e8){return _0x582784!==_0x33d2e8;},'FhlHq':function(_0x1ad01e,_0xff6a2d){return _0x1ad01e/_0xff6a2d;},'yCTcs':function(_0x4e9e39,_0x1f32f3){return _0x4e9e39===_0x1f32f3;},'znpjG':_0x156a4f(0x193),'aAeux':function(_0x5f54e5,_0x398e07){return _0x5f54e5(_0x398e07);},'zYDpA':_0x156a4f(0x17a),'wZEdN':function(_0x31c71a,_0x769ba3){return _0x31c71a(_0x769ba3);},'uGFYU':_0x156a4f(0x18c),'ssexP':'UnhandledError'},{feature:_0x1152f7,scenario:_0x103306,steps:_0x1489a2,uuid:_0x1c695b,startedAt:_0x344a3d,finishedAt:_0x2f3eec}=_0x2c1ccc[_0x156a4f(0x188)](_0x31abf4,{}),_0x48d7e6=this['getScenarioExamples'](_0x1b6847,_0x57fe66);await this[_0x156a4f(0x16a)]();const _0x19bd24=_0x48d7e6?_0x2c1ccc['plsrD'](_0x2c1ccc['KVsDv'](_0x2c1ccc['KVsDv'](_0x57fe66[_0x156a4f(0x17e)],'\x20('),_0x48d7e6['join'](',\x20')),')'):_0x57fe66[_0x156a4f(0x17e)],_0x4c1db3={'id':_0x3edbdf,'uuid':_0x3edbdf,'startedAt':_0x344a3d,'finishedAt':_0x2f3eec,'type':_0x2c1ccc[_0x156a4f(0x192)],'body':{'lang':_0x2c1ccc['PPriK'],'code':null},'name':_0x19bd24,'scopes':[_0x1152f7&&_0x1152f7['name']?_0x1152f7[_0x156a4f(0x17e)]:''],'tags':_0x57fe66[_0x156a4f(0x191)]?_0x57fe66[_0x156a4f(0x191)][_0x156a4f(0x149)](({name:_0x51657f})=>_0x51657f):[],'file_name':_0x57fe66['uri'],'location':_0x57fe66[_0x156a4f(0x19c)],'vc_filepath':this['_gitConfigPath']&&_0x57fe66[_0x156a4f(0x19c)]?path[_0x156a4f(0x13d)](this[_0x156a4f(0x132)],_0x57fe66['uri']):null,'framework':_0x2c1ccc[_0x156a4f(0x12c)],'result':_0x2c1ccc[_0x156a4f(0x146)],'meta':{'feature':_0x1152f7,'scenario':_0x103306,'steps':_0x1489a2,'examples':_0x48d7e6},'customRerunParam':{'rerun_name':_0x19bd24}};if(_0xd58070[_0x156a4f(0x15b)]&&_0x1489a2){const _0x5df3aa=_0xd58070['testCaseFinished'];let _0x199b49=_0x2c1ccc[_0x156a4f(0x17c)];_0x1489a2[_0x156a4f(0x133)](_0x547c29=>{const _0x1b2ad3=_0x156a4f;if(_0x2c1ccc[_0x1b2ad3(0x130)](_0x547c29['result'],_0x2c1ccc[_0x1b2ad3(0x166)]))return _0x199b49=_0x2c1ccc['WREfr'],_0x5df3aa[_0x1b2ad3(0x18f)]=_0x547c29[_0x1b2ad3(0x18f)],_0x5df3aa[_0x1b2ad3(0x129)]=_0x547c29[_0x1b2ad3(0x129)],![];else{if(_0x2c1ccc[_0x1b2ad3(0x130)](_0x547c29[_0x1b2ad3(0x139)],_0x2c1ccc['PbKtn']))return _0x199b49=_0x2c1ccc[_0x1b2ad3(0x126)],![];}return!![];}),_0x4c1db3[_0x156a4f(0x178)]=new Date()[_0x156a4f(0x16c)](),_0x4c1db3[_0x156a4f(0x139)]=_0x199b49;_0x5df3aa[_0x156a4f(0x131)]&&_0x2c1ccc['JNAJN'](_0x5df3aa[_0x156a4f(0x131)][_0x156a4f(0x134)],undefined)?_0x4c1db3[_0x156a4f(0x176)]=_0x2c1ccc['FhlHq'](_0x5df3aa[_0x156a4f(0x131)][_0x156a4f(0x134)],0xf4240):_0x4c1db3['duration_in_ms']=undefined;if(_0x2c1ccc['yCTcs'](_0x199b49,_0x2c1ccc[_0x156a4f(0x174)])){const {default:_0x25745e}=await import(_0x2c1ccc['znpjG']);_0x4c1db3[_0x156a4f(0x18f)]=[{'backtrace':[_0x5df3aa['failure']?_0x2c1ccc[_0x156a4f(0x15d)](_0x25745e,_0x5df3aa['failure']):_0x2c1ccc['zYDpA']]}],_0x4c1db3[_0x156a4f(0x158)]=_0x5df3aa[_0x156a4f(0x18f)]?_0x2c1ccc['wZEdN'](_0x25745e,_0x5df3aa[_0x156a4f(0x18f)]):_0x5df3aa['message'],_0x5df3aa[_0x156a4f(0x129)]&&(_0x4c1db3[_0x156a4f(0x16b)]=_0x5df3aa[_0x156a4f(0x129)][_0x156a4f(0x12e)](/AssertError/)?_0x2c1ccc[_0x156a4f(0x177)]:_0x2c1ccc[_0x156a4f(0x1a4)]);}}return _0x4c1db3;}[a101_0x3bbb5c(0x156)](_0x2de609,_0x497808,_0x44dfbf,_0x3ecbf3,_0x5549ad,_0x349673){const _0x430dcf=a101_0x3bbb5c,_0x36d683={'wnpiM':function(_0x276d6d,_0x191181){return _0x276d6d===_0x191181;},'xrFnn':_0x430dcf(0x150),'kuUJI':function(_0x204299,_0x5e778f,_0x28d973){return _0x204299(_0x5e778f,_0x28d973);},'RSEmM':_0x430dcf(0x16e),'PpnPN':'uri','zJUgD':'pending','dgUcF':'hook','JICQr':_0x430dcf(0x19f),'vCHby':_0x430dcf(0x169),'WnWxH':_0x430dcf(0x17e),'fhxYL':'cucumber'};try{if(_0x36d683[_0x430dcf(0x164)](_0x44dfbf,_0x36d683[_0x430dcf(0x145)])){const _0x36036a=new Date()[_0x430dcf(0x16c)](),_0x1fbacb=hooksMap[_0x497808];if(!_0x1fbacb)return;const _0x10911b=_0x1fbacb[_0x430dcf(0x195)](_0x53fc89=>_0x53fc89[_0x430dcf(0x125)]===_0x3ecbf3['id']);if(!_0x10911b)return;const _0x2acaea=this[_0x430dcf(0x154)](_0x2de609,_0x497808);_0x10911b[_0x430dcf(0x139)]=_0x2acaea[_0x430dcf(0x17d)],_0x10911b[_0x430dcf(0x155)]=_0x36036a,_0x10911b[_0x430dcf(0x16b)]=_0x2acaea[_0x430dcf(0x129)];const _0x32c98e={};return _0x32c98e['backtrace']=_0x2acaea['failureData'],_0x10911b['failure_data']=[_0x32c98e],_0x10911b;}const _0x45154b=TestInfo[_0x430dcf(0x13c)](_0x497808),_0x2afa93=_0x2de609['hooks']['find'](_0x47a51a=>_0x47a51a['id']===_0x3ecbf3[_0x430dcf(0x16f)]),_0x2bfe69=_0x36d683[_0x430dcf(0x182)](nestedKeyValue,_0x2afa93,[_0x36d683[_0x430dcf(0x162)],_0x36d683[_0x430dcf(0x127)]]),_0x23a285=new Date()['toISOString'](),_0x517d34=_0x36d683[_0x430dcf(0x165)],_0x784009=_0x2afa93[_0x430dcf(0x12b)]?_0x2afa93[_0x430dcf(0x12b)][_0x430dcf(0x171)]('\x20')[_0x430dcf(0x161)](_0x2b420d=>_0x2b420d[_0x430dcf(0x189)]('@')):[],_0x3f11b3={'uuid':_0x3ecbf3['id'],'type':_0x36d683[_0x430dcf(0x142)],'hook_type':_0x349673,'name':_0x2afa93[_0x430dcf(0x17e)],'body':{'lang':_0x36d683[_0x430dcf(0x15e)],'code':null},'tags':_0x784009,'test_run_id':_0x45154b,'scope':_0x36d683[_0x430dcf(0x182)](nestedKeyValue,_0x5549ad,[_0x36d683[_0x430dcf(0x15f)],_0x36d683[_0x430dcf(0x137)]]),'scopes':[_0x36d683[_0x430dcf(0x182)](nestedKeyValue,_0x5549ad,[_0x36d683['vCHby'],_0x36d683[_0x430dcf(0x137)]])||''],'file_name':_0x2bfe69,'location':_0x2bfe69,'vc_filepath':this[_0x430dcf(0x132)]?path[_0x430dcf(0x13d)](this[_0x430dcf(0x132)],_0x2bfe69):null,'result':_0x517d34,'started_at':_0x23a285,'framework':_0x36d683['fhxYL']};return _0x3f11b3;}catch(_0x44b6b6){logger['debug'](_0x430dcf(0x18e)+util['format'](_0x44b6b6)+'\x20');}}async['createHookData'](_0xe67cc5,_0x31ed31,_0x19e5da,_0x430d9c,_0xafd7cc,_0x336b8a){const _0x5302d4=a101_0x3bbb5c,_0x416d8b={'bhVRt':function(_0x158061,_0x1c98bf){return _0x158061===_0x1c98bf;},'bevfB':_0x5302d4(0x173),'YihrO':function(_0x2809bc,_0x236f47,_0x4f7d6f){return _0x2809bc(_0x236f47,_0x4f7d6f);},'ZdWEX':_0x5302d4(0x16e),'JXNJH':_0x5302d4(0x19c),'eWrCJ':_0x5302d4(0x12d),'wRILk':function(_0x573ac8,_0x329799){return _0x573ac8===_0x329799;},'iDxDo':'bstack'};try{const _0x283d8b=_0x430d9c[_0x5302d4(0x195)](_0x297488=>_0x297488['id']===_0xafd7cc);if(!_0x283d8b['hookId'])return;const _0x71e7bf=this[_0x5302d4(0x17b)](_0x430d9c,_0x283d8b),_0x1d74bb=this[_0x5302d4(0x156)](_0xe67cc5,_0x31ed31,_0x19e5da,_0x283d8b,_0x336b8a,_0x71e7bf);if(!_0x1d74bb)return;_0x416d8b[_0x5302d4(0x153)](_0x19e5da,_0x416d8b[_0x5302d4(0x124)])&&(hooksMap[_0x31ed31]?hooksMap[_0x31ed31][_0x5302d4(0x15c)](_0x1d74bb):hooksMap[_0x31ed31]=[_0x1d74bb]);const _0x21d0d5=_0xe67cc5[_0x5302d4(0x179)][_0x5302d4(0x195)](_0x49334e=>_0x49334e['id']===_0x283d8b[_0x5302d4(0x16f)]),_0x3e8d56=_0x416d8b[_0x5302d4(0x163)](nestedKeyValue,_0x21d0d5,[_0x416d8b[_0x5302d4(0x1a5)],_0x416d8b[_0x5302d4(0x18a)]]);if(!_0x3e8d56)return;else{if(_0x3e8d56[_0x5302d4(0x189)](_0x416d8b[_0x5302d4(0x197)]))return;}if(_0x416d8b[_0x5302d4(0x159)](_0x1d74bb[_0x5302d4(0x17e)],_0x416d8b[_0x5302d4(0x196)]))return;return _0x1d74bb;}catch(_0x1447ad){logger[_0x5302d4(0x128)](_0x5302d4(0x122)+util[_0x5302d4(0x151)](_0x1447ad)+'\x20');}}['getHookResult'](_0x56d298,_0x1c4f49){const _0x5d5333=a101_0x3bbb5c,_0x48a195={};_0x48a195[_0x5d5333(0x175)]=function(_0x745040,_0x40c459){return _0x745040===_0x40c459;},_0x48a195[_0x5d5333(0x19b)]='failed',_0x48a195[_0x5d5333(0x1a3)]=function(_0x477459,_0xc75d5a){return _0x477459===_0xc75d5a;},_0x48a195['SOgCy']=_0x5d5333(0x147),_0x48a195['YmmuG']=_0x5d5333(0x18c),_0x48a195[_0x5d5333(0x160)]=function(_0x5a5642,_0x2c43bc){return _0x5a5642||_0x2c43bc;};const _0x1753d8=_0x48a195,_0x2cd4c9=_0x56d298['testStepFinished'][_0x1c4f49][_0x5d5333(0x19a)];let _0x141a13,_0x1c1f0f;return _0x2cd4c9&&_0x1753d8[_0x5d5333(0x175)](_0x2cd4c9[_0x5d5333(0x17d)][_0x5d5333(0x1a6)]()['toLowerCase'](),_0x1753d8['jtWLF'])&&(_0x141a13=_0x1753d8[_0x5d5333(0x1a3)](_0x2cd4c9['exception'],undefined)?_0x2cd4c9[_0x5d5333(0x12a)]:_0x2cd4c9['exception'][_0x5d5333(0x12a)],_0x1c1f0f=_0x1753d8['ysopn'](_0x2cd4c9['exception'],undefined)?_0x1753d8[_0x5d5333(0x1a9)]:_0x2cd4c9['message']['match'](/Assert/)?_0x1753d8['YmmuG']:_0x1753d8[_0x5d5333(0x1a9)]),{'status':_0x2cd4c9[_0x5d5333(0x17d)][_0x5d5333(0x187)](),'failureType':_0x1753d8['WCMSJ'](_0x1c1f0f,null),'failureData':!_0x141a13?null:[_0x141a13]};}[a101_0x3bbb5c(0x17b)](_0x401596,_0xad5c7b){const _0x89960=a101_0x3bbb5c,_0x34da07={};_0x34da07[_0x89960(0x18d)]=function(_0x50528b,_0xab68c1){return _0x50528b===_0xab68c1;},_0x34da07[_0x89960(0x13b)]=_0x89960(0x194),_0x34da07[_0x89960(0x170)]=_0x89960(0x140);const _0x2e3e75=_0x34da07;let _0x257ef7=![];for(const _0x54d62d of _0x401596){_0x54d62d[_0x89960(0x135)]&&(_0x257ef7=!![]);if(_0x2e3e75['HFczT'](_0xad5c7b['id'],_0x54d62d['id']))return _0x257ef7?_0x2e3e75[_0x89960(0x13b)]:_0x2e3e75['iWbVQ'];}}[a101_0x3bbb5c(0x180)]=(_0x422d96,_0x52a562)=>{const _0x42139c=a101_0x3bbb5c,_0x3a973c={};_0x3a973c[_0x42139c(0x1a0)]=function(_0x2a7f64,_0x26be25){return _0x2a7f64===_0x26be25;},_0x3a973c[_0x42139c(0x19e)]=function(_0x5f2c0f,_0x2dd54d){return _0x5f2c0f===_0x2dd54d;},_0x3a973c[_0x42139c(0x13f)]=function(_0x23b3bb,_0x4022aa){return _0x23b3bb>_0x4022aa;};const _0x347e32=_0x3a973c;if(!(_0x52a562[_0x42139c(0x199)]&&_0x347e32[_0x42139c(0x13f)](_0x52a562[_0x42139c(0x199)][_0x42139c(0x12f)],0x1)))return;const _0x298b54=_0x52a562[_0x42139c(0x199)][0x0],_0x4687e2=_0x52a562[_0x42139c(0x199)][0x1],_0x31e4c3=_0x422d96[_0x42139c(0x169)]&&_0x422d96[_0x42139c(0x169)][_0x42139c(0x14d)]?_0x422d96[_0x42139c(0x169)][_0x42139c(0x14d)]:undefined;let _0x2d2bbd=[];_0x31e4c3&&_0x31e4c3['forEach'](_0x4bdafd=>{const _0x27da87=_0x42139c;if(_0x4bdafd[_0x27da87(0x138)])_0x4bdafd['rule'][_0x27da87(0x14d)][_0x27da87(0x152)](_0x3d52b4=>{const _0x31d1b8=_0x27da87;if(_0x3d52b4[_0x31d1b8(0x14e)]&&_0x347e32['Uqjtq'](_0x3d52b4['scenario']['id'],_0x298b54)&&_0x3d52b4[_0x31d1b8(0x14e)]['examples']){const _0x213f32=_0x3d52b4[_0x31d1b8(0x14e)][_0x31d1b8(0x181)][_0x31d1b8(0x123)](_0x559f97=>_0x559f97[_0x31d1b8(0x1a2)])[_0x31d1b8(0x195)](_0x546cc6=>_0x546cc6['id']===_0x4687e2);let _0x4d0589;_0x213f32&&_0x213f32[_0x31d1b8(0x18b)]?_0x4d0589=_0x213f32[_0x31d1b8(0x18b)][_0x31d1b8(0x149)](_0x4dcac5=>_0x4dcac5[_0x31d1b8(0x183)]):_0x4d0589=[],_0x4d0589&&(_0x2d2bbd=_0x4d0589);}});else{if(_0x4bdafd[_0x27da87(0x14e)]&&_0x347e32[_0x27da87(0x19e)](_0x4bdafd[_0x27da87(0x14e)]['id'],_0x298b54)&&_0x4bdafd[_0x27da87(0x14e)][_0x27da87(0x181)]){const _0x5c62ff=_0x4bdafd[_0x27da87(0x14e)][_0x27da87(0x181)][_0x27da87(0x123)](_0x20e08d=>_0x20e08d[_0x27da87(0x1a2)])[_0x27da87(0x195)](_0x2620d3=>_0x2620d3['id']===_0x4687e2);let _0x208a1f;_0x5c62ff&&_0x5c62ff['cells']?_0x208a1f=_0x5c62ff['cells'][_0x27da87(0x149)](_0x4ea98e=>_0x4ea98e['value']):_0x208a1f=[],_0x208a1f&&(_0x2d2bbd=_0x208a1f);}}});if(_0x2d2bbd[_0x42139c(0x12f)])return _0x2d2bbd;return;};async[a101_0x3bbb5c(0x16a)](){const _0x167f8d=a101_0x3bbb5c,_0x49d03d={'muTYA':function(_0x15c021){return _0x15c021();}};if(this[_0x167f8d(0x198)])return this[_0x167f8d(0x132)];const _0x48cdfb=await _0x49d03d[_0x167f8d(0x143)](getGitMetaData);_0x48cdfb&&(this[_0x167f8d(0x132)]=_0x48cdfb[_0x167f8d(0x1a7)]),this[_0x167f8d(0x198)]=!![];}}module['exports']=o11yClassErrorHandler(CucumberUtils,[a101_0x3bbb5c(0x16a),a101_0x3bbb5c(0x180),a101_0x3bbb5c(0x17b),'getHookResult',a101_0x3bbb5c(0x144),a101_0x3bbb5c(0x156),a101_0x3bbb5c(0x172),a101_0x3bbb5c(0x14b)]);
|
|
1
|
+
const a101_0x11cd0d=a101_0x4db3;function a101_0x4db3(_0x3e7386,_0x198d9e){const _0x4b5586=a101_0x4b55();return a101_0x4db3=function(_0x4db3d5,_0x175ac7){_0x4db3d5=_0x4db3d5-0xed;let _0x4a98f3=_0x4b5586[_0x4db3d5];return _0x4a98f3;},a101_0x4db3(_0x3e7386,_0x198d9e);}function a101_0x4b55(){const _0x599f08=['ExqcP','finishedAt','wOWGL','getTestUUID','../../../helpers/logger.js','1110537jePxdf','split','569739tJVDIq','relative','hook','forEach','util','cells','zuRJw','toLowerCase','scenario','HookRunStarted','astNodeIds','5954988fTvRrA','format','pickleStepId','uri','GltDH','toISOString','sourceReference','tableBody','jUroJ','testCaseFinished','tags','Exception\x20in\x20getHookRunEventData:\x20','getHookResult','Lfmbx','48vQeIau','oVVGC','duration_in_ms','failure','kMKlz','UnhandledError','examples','strip-ansi','BEFORE_EACH','195760GHFWio','AssertionError','configureGit','push','sendHook','dxzQo','children','length','ZeieM','exception','message','timestamp','failureType','createTestFrameworkData','../../../helpers/helper.js','pending','uuid','status','failure_data','map','name','96523dsQwYO','SGvMk','finished_at','KWPrc','XNVsn','ewjrh','PPVVk','getCucumberHookType','_gitConfigured','every','includes','11GDAnhj','testStepResult','tagExpression','sIJLv','failed','7263rVkjgQ','getScenarioExamples','noGGT','unknown','MJZys','filter','343235tWZbiw','_gitConfigPath','PPJBS','javascript','woMkC','BbtUm','failure_type','debug','find','FAILED','failureData','backtrace','createHookData','BplEr','aUWAD','hWFAs','eYHcY','Exception\x20in\x20createHookData:\x20','path','FdcNW','NyMww','value','toString','join','xIQkz','cLwwe','rule','bstack','phThU','gTYXY','cucumber','jFVSQ','hookId','528LjglSd','getHookRunEventData','GjhKy','4890FCwJzC','MRCay','vqKlK','result','8MPhEJF','sendTestRunEventForCucumber','MosZW','feature'];a101_0x4b55=function(){return _0x599f08;};return a101_0x4b55();}(function(_0x93b245,_0xed6100){const _0x51041f=a101_0x4db3,_0x347734=_0x93b245();while(!![]){try{const _0x53e7c1=parseInt(_0x51041f(0xfb))/0x1+parseInt(_0x51041f(0x11d))/0x2+parseInt(_0x51041f(0xf9))/0x3*(-parseInt(_0x51041f(0xf0))/0x4)+-parseInt(_0x51041f(0x148))/0x5*(-parseInt(_0x51041f(0x114))/0x6)+-parseInt(_0x51041f(0x132))/0x7*(parseInt(_0x51041f(0x169))/0x8)+parseInt(_0x51041f(0x142))/0x9*(parseInt(_0x51041f(0x16c))/0xa)+-parseInt(_0x51041f(0x13d))/0xb*(-parseInt(_0x51041f(0x106))/0xc);if(_0x53e7c1===_0xed6100)break;else _0x347734['push'](_0x347734['shift']());}catch(_0x203feb){_0x347734['push'](_0x347734['shift']());}}}(a101_0x4b55,0x6fa13));const path=require(a101_0x11cd0d(0x15a)),util=require(a101_0x11cd0d(0xff)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a101_0x11cd0d(0x12b)),logger=require(a101_0x11cd0d(0xf8))['winstonLogger'],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require('../TestInfo.js'),hooksMap={};class CucumberUtils{constructor(){const _0xd78a43=a101_0x11cd0d;this[_0xd78a43(0x13a)]=![],this[_0xd78a43(0x149)]=null;}async[a101_0x11cd0d(0x12a)](_0x54e39f,_0x47ddea,_0x3d007c,_0x359071,_0x4ff040,_0xd240b1){const _0x4ad8a6=a101_0x11cd0d,_0x1b22f4={'lfTNb':function(_0x1528f8,_0x1063e5){return _0x1528f8===_0x1063e5;},'ExqcP':_0x4ad8a6(0x151),'dxzQo':_0x4ad8a6(0x141),'vADbk':'SKIPPED','PPVVk':'skipped','aUWAD':function(_0x1f29e0,_0x2494fc){return _0x1f29e0||_0x2494fc;},'ucjlu':function(_0x10dab8,_0x1b128c){return _0x10dab8+_0x1b128c;},'PJDjM':function(_0x3fb743,_0x305b26){return _0x3fb743+_0x305b26;},'KWPrc':function(_0x39ff1d,_0x12a2da){return _0x39ff1d+_0x12a2da;},'GltDH':'test','BbtUm':_0x4ad8a6(0x14b),'kMKlz':'cucumber','XBlKC':'pending','GjhKy':'passed','wHdoI':function(_0x3dd0da,_0x3d6d31){return _0x3dd0da!==_0x3d6d31;},'vqKlK':function(_0xafb8c0,_0x4523ca){return _0xafb8c0/_0x4523ca;},'Kbhnu':function(_0x4fd4a0,_0x5e380b){return _0x4fd4a0===_0x5e380b;},'wOWGL':_0x4ad8a6(0x11b),'meFFI':function(_0x190a23,_0x12b0c2){return _0x190a23(_0x12b0c2);},'DPeqr':_0x4ad8a6(0x145),'kkJQj':function(_0x50b378,_0x9fb3d5){return _0x50b378(_0x9fb3d5);},'oVVGC':_0x4ad8a6(0x11e),'SGvMk':_0x4ad8a6(0x119)},{feature:_0x277e9b,scenario:_0x430002,steps:_0x57e37a,uuid:_0x58a17c,startedAt:_0x430790,finishedAt:_0xad4ddc}=_0x1b22f4[_0x4ad8a6(0x156)](_0x54e39f,{}),_0x36c1af=this[_0x4ad8a6(0x143)](_0x359071,_0x47ddea);await this[_0x4ad8a6(0x11f)]();const _0x98d14e=_0x36c1af?_0x1b22f4['ucjlu'](_0x1b22f4['PJDjM'](_0x1b22f4[_0x4ad8a6(0x135)](_0x47ddea[_0x4ad8a6(0x131)],'\x20('),_0x36c1af[_0x4ad8a6(0x15f)](',\x20')),')'):_0x47ddea[_0x4ad8a6(0x131)],_0xb23a7f={'id':_0x4ff040,'uuid':_0x4ff040,'startedAt':_0x430790,'finishedAt':_0xad4ddc,'type':_0x1b22f4[_0x4ad8a6(0x10a)],'body':{'lang':_0x1b22f4[_0x4ad8a6(0x14d)],'code':null},'name':_0x98d14e,'scopes':[_0x277e9b&&_0x277e9b['name']?_0x277e9b[_0x4ad8a6(0x131)]:''],'tags':_0x47ddea[_0x4ad8a6(0x110)]?_0x47ddea[_0x4ad8a6(0x110)][_0x4ad8a6(0x130)](({name:_0x28f789})=>_0x28f789):[],'file_name':_0x47ddea[_0x4ad8a6(0x109)],'location':_0x47ddea['uri'],'vc_filepath':this['_gitConfigPath']&&_0x47ddea['uri']?path[_0x4ad8a6(0xfc)](this[_0x4ad8a6(0x149)],_0x47ddea[_0x4ad8a6(0x109)]):null,'framework':_0x1b22f4[_0x4ad8a6(0x118)],'result':_0x1b22f4['XBlKC'],'meta':{'feature':_0x277e9b,'scenario':_0x430002,'steps':_0x57e37a,'examples':_0x36c1af},'customRerunParam':{'rerun_name':_0x98d14e}};if(_0x3d007c[_0x4ad8a6(0x10f)]&&_0x57e37a){const _0x42c004=_0x3d007c[_0x4ad8a6(0x10f)];let _0x491ee9=_0x1b22f4[_0x4ad8a6(0x16b)];_0x57e37a[_0x4ad8a6(0x13b)](_0x41443c=>{const _0x5722ab=_0x4ad8a6;if(_0x1b22f4['lfTNb'](_0x41443c[_0x5722ab(0xef)],_0x1b22f4[_0x5722ab(0xf4)]))return _0x491ee9=_0x1b22f4[_0x5722ab(0x122)],_0x42c004[_0x5722ab(0x117)]=_0x41443c['failure'],_0x42c004['failureType']=_0x41443c['failureType'],![];else{if(_0x1b22f4['lfTNb'](_0x41443c['result'],_0x1b22f4['vADbk']))return _0x491ee9=_0x1b22f4[_0x5722ab(0x138)],![];}return!![];}),_0xb23a7f[_0x4ad8a6(0xf5)]=new Date()[_0x4ad8a6(0x10b)](),_0xb23a7f[_0x4ad8a6(0xef)]=_0x491ee9;_0x42c004[_0x4ad8a6(0x128)]&&_0x1b22f4['wHdoI'](_0x42c004[_0x4ad8a6(0x128)]['nanos'],undefined)?_0xb23a7f[_0x4ad8a6(0x116)]=_0x1b22f4[_0x4ad8a6(0xee)](_0x42c004[_0x4ad8a6(0x128)]['nanos'],0xf4240):_0xb23a7f[_0x4ad8a6(0x116)]=undefined;if(_0x1b22f4['Kbhnu'](_0x491ee9,_0x1b22f4[_0x4ad8a6(0x122)])){const {default:_0x254ffd}=await import(_0x1b22f4[_0x4ad8a6(0xf6)]);_0xb23a7f[_0x4ad8a6(0x117)]=[{'backtrace':[_0x42c004[_0x4ad8a6(0x117)]?_0x1b22f4['meFFI'](_0x254ffd,_0x42c004[_0x4ad8a6(0x117)]):_0x1b22f4['DPeqr']]}],_0xb23a7f['failure_reason']=_0x42c004['failure']?_0x1b22f4['kkJQj'](_0x254ffd,_0x42c004[_0x4ad8a6(0x117)]):_0x42c004[_0x4ad8a6(0x127)],_0x42c004[_0x4ad8a6(0x129)]&&(_0xb23a7f[_0x4ad8a6(0x14e)]=_0x42c004[_0x4ad8a6(0x129)]['match'](/AssertError/)?_0x1b22f4[_0x4ad8a6(0x115)]:_0x1b22f4[_0x4ad8a6(0x133)]);}}return _0xb23a7f;}[a101_0x11cd0d(0x16a)](_0xa4b954,_0x3abe53,_0x3a1fb3,_0x5cea1f,_0x5b4f96,_0x45a1e4){const _0x49e3d2=a101_0x11cd0d,_0x36be07={'ZeieM':function(_0x3ee8e9,_0x2600f3){return _0x3ee8e9===_0x2600f3;},'MosZW':'HookRunFinished','XwmBQ':function(_0x1b1c52,_0x25a31f,_0x8919ee){return _0x1b1c52(_0x25a31f,_0x8919ee);},'ewjrh':'sourceReference','phThU':_0x49e3d2(0x109),'kJZNn':_0x49e3d2(0x12c),'gTYXY':_0x49e3d2(0xfd),'SUZYZ':'javascript','XNVsn':function(_0x43135c,_0x3d91a9,_0x39a9b8){return _0x43135c(_0x3d91a9,_0x39a9b8);},'PPJBS':_0x49e3d2(0xf3),'MJZys':_0x49e3d2(0x131),'hWFAs':function(_0x5a5a22,_0x534c6d,_0x1a47d2){return _0x5a5a22(_0x534c6d,_0x1a47d2);},'mfYoO':_0x49e3d2(0x166)};try{if(_0x36be07[_0x49e3d2(0x125)](_0x3a1fb3,_0x36be07[_0x49e3d2(0xf2)])){const _0x18e155=new Date()[_0x49e3d2(0x10b)](),_0x4148b7=hooksMap[_0x3abe53];if(!_0x4148b7)return;const _0xe8e78d=_0x4148b7[_0x49e3d2(0x150)](_0x3adce6=>_0x3adce6[_0x49e3d2(0x12d)]===_0x5cea1f['id']);if(!_0xe8e78d)return;const _0x4b938e=this[_0x49e3d2(0x112)](_0xa4b954,_0x3abe53);_0xe8e78d[_0x49e3d2(0xef)]=_0x4b938e[_0x49e3d2(0x12e)],_0xe8e78d[_0x49e3d2(0x134)]=_0x18e155,_0xe8e78d[_0x49e3d2(0x14e)]=_0x4b938e[_0x49e3d2(0x129)];const _0x24cfef={};return _0x24cfef[_0x49e3d2(0x153)]=_0x4b938e[_0x49e3d2(0x152)],_0xe8e78d[_0x49e3d2(0x12f)]=[_0x24cfef],_0xe8e78d;}const _0x343476=TestInfo[_0x49e3d2(0xf7)](_0x3abe53),_0x5339f9=_0xa4b954['hooks'][_0x49e3d2(0x150)](_0x35ae4b=>_0x35ae4b['id']===_0x5cea1f[_0x49e3d2(0x168)]),_0x33482a=_0x36be07['XwmBQ'](nestedKeyValue,_0x5339f9,[_0x36be07[_0x49e3d2(0x137)],_0x36be07[_0x49e3d2(0x164)]]),_0x45df43=new Date()[_0x49e3d2(0x10b)](),_0x252ae7=_0x36be07['kJZNn'],_0x303890=_0x5339f9[_0x49e3d2(0x13f)]?_0x5339f9[_0x49e3d2(0x13f)][_0x49e3d2(0xfa)]('\x20')[_0x49e3d2(0x147)](_0x3c9f1c=>_0x3c9f1c[_0x49e3d2(0x13c)]('@')):[],_0x1eaa70={'uuid':_0x5cea1f['id'],'type':_0x36be07[_0x49e3d2(0x165)],'hook_type':_0x45a1e4,'name':_0x5339f9[_0x49e3d2(0x131)],'body':{'lang':_0x36be07['SUZYZ'],'code':null},'tags':_0x303890,'test_run_id':_0x343476,'scope':_0x36be07[_0x49e3d2(0x136)](nestedKeyValue,_0x5b4f96,[_0x36be07[_0x49e3d2(0x14a)],_0x36be07[_0x49e3d2(0x146)]]),'scopes':[_0x36be07[_0x49e3d2(0x157)](nestedKeyValue,_0x5b4f96,[_0x36be07['PPJBS'],_0x36be07[_0x49e3d2(0x146)]])||''],'file_name':_0x33482a,'location':_0x33482a,'vc_filepath':this[_0x49e3d2(0x149)]?path[_0x49e3d2(0xfc)](this[_0x49e3d2(0x149)],_0x33482a):null,'result':_0x252ae7,'started_at':_0x45df43,'framework':_0x36be07['mfYoO']};return _0x1eaa70;}catch(_0x1ffc5e){logger[_0x49e3d2(0x14f)](_0x49e3d2(0x111)+util[_0x49e3d2(0x107)](_0x1ffc5e)+'\x20');}}async[a101_0x11cd0d(0x154)](_0x48df96,_0x5ee1b0,_0x5a20fe,_0x2c3299,_0x3f651a,_0x43b18b){const _0x130928=a101_0x11cd0d,_0x27b233={'BplEr':function(_0x3471e1,_0x18962d){return _0x3471e1===_0x18962d;},'jUroJ':_0x130928(0x104),'YLnPK':function(_0x2952a8,_0x4c27d9,_0x4a567f){return _0x2952a8(_0x4c27d9,_0x4a567f);},'UKIGR':_0x130928(0x10c),'noGGT':_0x130928(0x109),'FdcNW':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','TpLlq':_0x130928(0x163)};try{const _0x5ba9f1=_0x2c3299[_0x130928(0x150)](_0x53e036=>_0x53e036['id']===_0x3f651a);if(!_0x5ba9f1[_0x130928(0x168)])return;const _0x4704e0=this[_0x130928(0x139)](_0x2c3299,_0x5ba9f1),_0x4623b5=this['getHookRunEventData'](_0x48df96,_0x5ee1b0,_0x5a20fe,_0x5ba9f1,_0x43b18b,_0x4704e0);if(!_0x4623b5)return;_0x27b233['BplEr'](_0x5a20fe,_0x27b233[_0x130928(0x10e)])&&(hooksMap[_0x5ee1b0]?hooksMap[_0x5ee1b0][_0x130928(0x120)](_0x4623b5):hooksMap[_0x5ee1b0]=[_0x4623b5]);const _0xb73c01=_0x48df96['hooks'][_0x130928(0x150)](_0x55d26b=>_0x55d26b['id']===_0x5ba9f1['hookId']),_0x534e7d=_0x27b233['YLnPK'](nestedKeyValue,_0xb73c01,[_0x27b233['UKIGR'],_0x27b233[_0x130928(0x144)]]);if(!_0x534e7d)return;else{if(_0x534e7d[_0x130928(0x13c)](_0x27b233[_0x130928(0x15b)]))return;}if(_0x27b233[_0x130928(0x155)](_0x4623b5[_0x130928(0x131)],_0x27b233['TpLlq']))return;return _0x4623b5;}catch(_0x300160){logger[_0x130928(0x14f)](_0x130928(0x159)+util[_0x130928(0x107)](_0x300160)+'\x20');}}[a101_0x11cd0d(0x112)](_0x333d16,_0x260126){const _0x1586cc=a101_0x11cd0d,_0x47c14a={};_0x47c14a[_0x1586cc(0x113)]=function(_0x400c1b,_0x5658ac){return _0x400c1b===_0x5658ac;},_0x47c14a['MRCay']=_0x1586cc(0x141),_0x47c14a['eYHcY']=function(_0x3dc0c1,_0x4c37e6){return _0x3dc0c1===_0x4c37e6;},_0x47c14a['zuRJw']=_0x1586cc(0x119),_0x47c14a['jFVSQ']=_0x1586cc(0x11e),_0x47c14a['xWNMt']=function(_0x18e3b0,_0x2c6936){return _0x18e3b0||_0x2c6936;};const _0x46b6d9=_0x47c14a,_0x3ebabe=_0x333d16['testStepFinished'][_0x260126][_0x1586cc(0x13e)];let _0x48ed99,_0x5a342f;return _0x3ebabe&&_0x46b6d9[_0x1586cc(0x113)](_0x3ebabe[_0x1586cc(0x12e)][_0x1586cc(0x15e)]()[_0x1586cc(0x102)](),_0x46b6d9[_0x1586cc(0xed)])&&(_0x48ed99=_0x46b6d9[_0x1586cc(0x158)](_0x3ebabe[_0x1586cc(0x126)],undefined)?_0x3ebabe[_0x1586cc(0x127)]:_0x3ebabe[_0x1586cc(0x126)]['message'],_0x5a342f=_0x46b6d9['Lfmbx'](_0x3ebabe[_0x1586cc(0x126)],undefined)?_0x46b6d9[_0x1586cc(0x101)]:_0x3ebabe[_0x1586cc(0x127)]['match'](/Assert/)?_0x46b6d9[_0x1586cc(0x167)]:_0x46b6d9['zuRJw']),{'status':_0x3ebabe[_0x1586cc(0x12e)][_0x1586cc(0x102)](),'failureType':_0x46b6d9['xWNMt'](_0x5a342f,null),'failureData':!_0x48ed99?null:[_0x48ed99]};}['getCucumberHookType'](_0x231109,_0x33c5c8){const _0x175751=a101_0x11cd0d,_0x4c9188={};_0x4c9188[_0x175751(0x14c)]=function(_0x395be6,_0x22af2d){return _0x395be6===_0x22af2d;},_0x4c9188[_0x175751(0x15c)]='AFTER_EACH',_0x4c9188[_0x175751(0x160)]=_0x175751(0x11c);const _0x57a454=_0x4c9188;let _0x58a4cc=![];for(const _0x37048f of _0x231109){_0x37048f[_0x175751(0x108)]&&(_0x58a4cc=!![]);if(_0x57a454['woMkC'](_0x33c5c8['id'],_0x37048f['id']))return _0x58a4cc?_0x57a454[_0x175751(0x15c)]:_0x57a454[_0x175751(0x160)];}}['getScenarioExamples']=(_0x1fb3af,_0x1fd8f1)=>{const _0x3258c3=a101_0x11cd0d,_0x1a853d={};_0x1a853d['MqHtK']=function(_0xce1279,_0x377181){return _0xce1279===_0x377181;},_0x1a853d[_0x3258c3(0x161)]=function(_0x1f0605,_0x27a876){return _0x1f0605===_0x27a876;},_0x1a853d[_0x3258c3(0x140)]=function(_0x44d3e7,_0x586bae){return _0x44d3e7>_0x586bae;};const _0x59084f=_0x1a853d;if(!(_0x1fd8f1[_0x3258c3(0x105)]&&_0x59084f[_0x3258c3(0x140)](_0x1fd8f1[_0x3258c3(0x105)][_0x3258c3(0x124)],0x1)))return;const _0x22d209=_0x1fd8f1[_0x3258c3(0x105)][0x0],_0x39a551=_0x1fd8f1['astNodeIds'][0x1],_0x470b42=_0x1fb3af[_0x3258c3(0xf3)]&&_0x1fb3af['feature'][_0x3258c3(0x123)]?_0x1fb3af[_0x3258c3(0xf3)][_0x3258c3(0x123)]:undefined;let _0x3e0810=[];_0x470b42&&_0x470b42[_0x3258c3(0xfe)](_0x5de532=>{const _0x23cb98=_0x3258c3;if(_0x5de532[_0x23cb98(0x162)])_0x5de532[_0x23cb98(0x162)][_0x23cb98(0x123)][_0x23cb98(0xfe)](_0x95de54=>{const _0x3e8b5b=_0x23cb98;if(_0x95de54[_0x3e8b5b(0x103)]&&_0x59084f['MqHtK'](_0x95de54[_0x3e8b5b(0x103)]['id'],_0x22d209)&&_0x95de54['scenario'][_0x3e8b5b(0x11a)]){const _0x670a4c=_0x95de54[_0x3e8b5b(0x103)][_0x3e8b5b(0x11a)]['flatMap'](_0xa1db6b=>_0xa1db6b['tableBody'])[_0x3e8b5b(0x150)](_0x2e03e0=>_0x2e03e0['id']===_0x39a551);let _0x317c64;_0x670a4c&&_0x670a4c[_0x3e8b5b(0x100)]?_0x317c64=_0x670a4c[_0x3e8b5b(0x100)][_0x3e8b5b(0x130)](_0x41bacc=>_0x41bacc[_0x3e8b5b(0x15d)]):_0x317c64=[],_0x317c64&&(_0x3e0810=_0x317c64);}});else{if(_0x5de532[_0x23cb98(0x103)]&&_0x59084f[_0x23cb98(0x161)](_0x5de532[_0x23cb98(0x103)]['id'],_0x22d209)&&_0x5de532['scenario'][_0x23cb98(0x11a)]){const _0x5c3acb=_0x5de532[_0x23cb98(0x103)][_0x23cb98(0x11a)]['flatMap'](_0x40fe00=>_0x40fe00[_0x23cb98(0x10d)])['find'](_0x4a46a4=>_0x4a46a4['id']===_0x39a551);let _0x13d678;_0x5c3acb&&_0x5c3acb[_0x23cb98(0x100)]?_0x13d678=_0x5c3acb[_0x23cb98(0x100)][_0x23cb98(0x130)](_0x5e71b2=>_0x5e71b2[_0x23cb98(0x15d)]):_0x13d678=[],_0x13d678&&(_0x3e0810=_0x13d678);}}});if(_0x3e0810[_0x3258c3(0x124)])return _0x3e0810;return;};async[a101_0x11cd0d(0x11f)](){const _0x52e093=a101_0x11cd0d,_0x3d4b10={'oyYoP':function(_0x22815b){return _0x22815b();}};if(this[_0x52e093(0x13a)])return this['_gitConfigPath'];const _0x594989=await _0x3d4b10['oyYoP'](getGitMetaData);_0x594989&&(this[_0x52e093(0x149)]=_0x594989['root']),this['_gitConfigured']=!![];}}module['exports']=o11yClassErrorHandler(CucumberUtils,[a101_0x11cd0d(0x11f),a101_0x11cd0d(0x143),a101_0x11cd0d(0x139),a101_0x11cd0d(0x112),a101_0x11cd0d(0x121),a101_0x11cd0d(0x16a),a101_0x11cd0d(0xf1),a101_0x11cd0d(0x12a)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a102_0x5b4fe9=a102_0x247f;(function(_0x464715,_0x34ee49){const _0x5b0652=a102_0x247f,_0x4a2547=_0x464715();while(!![]){try{const _0x3f1fff=parseInt(_0x5b0652(0x24e))/0x1*(-parseInt(_0x5b0652(0x202))/0x2)+-parseInt(_0x5b0652(0x226))/0x3*(parseInt(_0x5b0652(0x210))/0x4)+parseInt(_0x5b0652(0x236))/0x5*(-parseInt(_0x5b0652(0x1a6))/0x6)+parseInt(_0x5b0652(0x214))/0x7+-parseInt(_0x5b0652(0x22b))/0x8*(-parseInt(_0x5b0652(0x1c2))/0x9)+-parseInt(_0x5b0652(0x205))/0xa+parseInt(_0x5b0652(0x225))/0xb*(parseInt(_0x5b0652(0x19d))/0xc);if(_0x3f1fff===_0x34ee49)break;else _0x4a2547['push'](_0x4a2547['shift']());}catch(_0x5e0a21){_0x4a2547['push'](_0x4a2547['shift']());}}}(a102_0x2970,0x682c4));const path=require(a102_0x5b4fe9(0x1e1)),util=require(a102_0x5b4fe9(0x1aa)),crypto=require(a102_0x5b4fe9(0x21c)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a102_0x5b4fe9(0x1ed)),logger=require('../../../helpers/logger.js')[a102_0x5b4fe9(0x231)],{o11yClassErrorHandler}=require(a102_0x5b4fe9(0x1d7)),TestInfo=require(a102_0x5b4fe9(0x1b6)),{failureData,getFailureType}=require(a102_0x5b4fe9(0x219)),stackTrace=require(a102_0x5b4fe9(0x21e)),{pickUserFrameFile}=require(a102_0x5b4fe9(0x1de)),a102_0x6f9e50={};function a102_0x247f(_0x5775c8,_0xd149c8){const _0x2970d0=a102_0x2970();return a102_0x247f=function(_0x247fd6,_0x520c82){_0x247fd6=_0x247fd6-0x19b;let _0xf2fc83=_0x2970d0[_0x247fd6];return _0xf2fc83;},a102_0x247f(_0x5775c8,_0xd149c8);}a102_0x6f9e50[a102_0x5b4fe9(0x1cb)]=a102_0x5b4fe9(0x211),a102_0x6f9e50[a102_0x5b4fe9(0x1c8)]=a102_0x5b4fe9(0x1a8),a102_0x6f9e50[a102_0x5b4fe9(0x1e4)]='BEFORE_EACH',a102_0x6f9e50['afterEach']=a102_0x5b4fe9(0x23f);const HOOK_TYPES_MAP=a102_0x6f9e50,hooksMap={};function a102_0x2970(){const _0x37c2d0=['48KXDDjz','PzvlV','DLDHQ','err','Mdszd','getState','error','createHookData','getName','1350306HyzzCn','kgsuP','AFTER_ALL','now','util','file','getHierarchy','QitJg','title','nlkbu','EDmMY','OKtck','UCnXx','Creating\x20hook\x20data\x20for\x20eventType:\x20','find','apply','../TestInfo.js','toISOString','getHookRunEventData','digest','testAnalyticsId','XIpIT',',\x20testIdentifier:\x20','getTestIdentifier','pxXDJ','includes',',\x20testRunId:\x20','duration','6874911XKdXZp','foIYv','md5','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','hCJNf','currentTest','afterAll','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','XXGHx','beforeAll','toString','asvCp','CkcZK','olysk','failure_reason_expanded','pending','reverse','eLvwN','configureGit','asyncError','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','../../../helpers/test-observability/error-handler.js','parse','failure_backtrace','pid','debug','match','lctaP','../../../helpers/stackFrameUtils','failure_type','xpGfg','path','test','[jestUtils]\x20Created\x20identifier:\x20','beforeEach','GkHPx','relative','WFTgZ','qCOEM','format','expanded','failure','exports','../../../helpers/helper.js','CRrou','__workerDetails','testPath','hSptQ','jest-circus','toUpperCase','Exception\x20in\x20getHookRunEventData:\x20','update','KeODN','YQAeV','getTime','ubwos','PEQmF','Exception\x20in\x20createTestFrameworkData:\x20','createJestTestIdentifier',':jest-','UDhpV','displayName','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','getFileName','4680SbPEOv','hooks','recreateIdentifierFromTestInfo','8492480PBkOXc','zjHMp','RCXpy','split','vHnfL','passed','startedAt','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','hook','isJestInternalHook','GpYuj','4BCGXJf','BEFORE_ALL','errorsDetailed','finished_at','3660419mPUWQB','clearHooksMap','javascript','ROOT_DESCRIBE_BLOCK','NjCbm','../../../helpers/test-observability/utils','inspect','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','crypto','hex','stack-trace','result','name','QLuuy','\x20from\x20compositeKey:\x20','backtrace','qGEZf','3739681KgniXA','50961CegKcP','skipped','[jestUtils]\x20Error\x20creating\x20identifier:\x20','xmbnp','oJoUR','8lEMeVN','Unknown\x20Test','RfQVr','kJNrF','retryOf','DkYCo','winstonLogger','JIOus','length','xFHVK','tGPTe','15yAbUYn','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','getRootParentFile','_gitConfigPath',',\x20hookUUID:\x20','TestRunFinished','parent','createTestFrameworkData','stack','AFTER_EACH','EDdjw','File\x20path\x20could\x20not\x20be\x20found','IxFaz','XhxJY','vtsqU','root','testIdentifier','fullName','Exception\x20in\x20createHookData:\x20','browserstack-node-agent/src/bin/jest','errors','extractTestFilePath','wUkHu','createHash','290ijMpJx','HftNv','failure_data','push','type','TestRunSkipped','failed','IybpK','DyrvI','YKzoE','failure_reason','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','jest','__jestCurrentTestIdentifier','RMDJv','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','unknown','started_at'];a102_0x2970=function(){return _0x37c2d0;};return a102_0x2970();}class JestUtils{constructor(){const _0x20032a=a102_0x5b4fe9;this['_gitConfigured']=![],this[_0x20032a(0x239)]=null;}async[a102_0x5b4fe9(0x23d)](_0x34cf13,_0x5500ea,_0x55cf0f=a102_0x5b4fe9(0x23b),_0x34f6ff=undefined){const _0x4a663b=a102_0x5b4fe9,_0xf8f10b={'IxFaz':_0x4a663b(0x1d6),'qGEZf':_0x4a663b(0x1f2),'fdSzc':function(_0xa45ba,_0x59cc8d){return _0xa45ba||_0x59cc8d;},'QLuuy':_0x4a663b(0x241),'RfQVr':function(_0x34459e,_0x45f195){return _0x34459e!==_0x45f195;},'olysk':_0x4a663b(0x1e2),'qeKSR':_0x4a663b(0x1a0),'OKtck':function(_0x406ec5,_0x273395){return _0x406ec5!==_0x273395;},'YKzoE':'pending','DLDHQ':function(_0x511718,_0x3c74c0){return _0x511718===_0x3c74c0;},'hCJNf':_0x4a663b(0x253),'xmbnp':_0x4a663b(0x227),'tDPDZ':function(_0x4f6334,_0x785c3a){return _0x4f6334>_0x785c3a;},'XXGHx':_0x4a663b(0x254),'IybpK':_0x4a663b(0x20a),'WFTgZ':function(_0x5d053e,_0x2f7e25){return _0x5d053e-_0x2f7e25;},'asvCp':_0x4a663b(0x216),'XIpIT':function(_0x18c7b3,_0x5dc34f){return _0x18c7b3>_0x5dc34f;},'nlkbu':_0x4a663b(0x25a),'EDmMY':function(_0x561d1e,_0x5406af){return _0x561d1e(_0x5406af);},'vqbcY':function(_0x21f240,_0x24b273){return _0x21f240===_0x24b273;},'XhxJY':'TestRunFinished'};logger[_0x4a663b(0x1db)]('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x55cf0f+_0x4a663b(0x1bc)+_0x5500ea);try{if(!_0x34cf13)return logger[_0x4a663b(0x1db)](_0xf8f10b[_0x4a663b(0x242)]),null;if(_0x34cf13['fn']&&_0x34cf13['fn'][_0x4a663b(0x1cc)]()[_0x4a663b(0x1dc)](/browserstack internal helper hook/))return null;await this[_0x4a663b(0x1d4)]();let _0x159341;try{_0x159341=this['getRootParentFile'](_0x34cf13);if(_0x159341&&_0x159341[_0x4a663b(0x1bf)](_0xf8f10b[_0x4a663b(0x224)]))return null;}catch(_0x5d7741){logger['debug']('Failed\x20to\x20get\x20root\x20parent\x20file:\x20'+util['format'](_0x5d7741)),_0x159341=null;}const _0x39f432=this[_0x4a663b(0x1ac)](_0x34cf13),_0x3d479f=this[_0x4a663b(0x1a5)](_0x34cf13),_0x14f2ff=_0xf8f10b['fdSzc'](_0x159341,_0xf8f10b[_0x4a663b(0x221)]);let _0x52ba03=[];const _0x133f59=_0x34cf13[_0x4a663b(0x212)]||_0x34cf13[_0x4a663b(0x24a)];if(_0xf8f10b[_0x4a663b(0x22d)](_0x133f59,undefined))_0x52ba03=[_0x133f59,_0xf8f10b[_0x4a663b(0x1cf)]];else _0xf8f10b[_0x4a663b(0x22d)](_0x34f6ff,undefined)&&(_0x52ba03=[_0x34f6ff,_0xf8f10b['qeKSR']]);const _0x539188=_0xf8f10b[_0x4a663b(0x1b1)](_0x133f59,undefined)?util[_0x4a663b(0x21a)](_0x133f59[0x0]):_0xf8f10b['OKtck'](_0x34f6ff,undefined)?_0x34f6ff[_0x4a663b(0x1cc)]():undefined;let _0x3a56d4=_0xf8f10b[_0x4a663b(0x257)];if(_0xf8f10b[_0x4a663b(0x19f)](_0x55cf0f,_0xf8f10b[_0x4a663b(0x1c6)]))_0x3a56d4=_0xf8f10b[_0x4a663b(0x229)];else _0x133f59&&_0xf8f10b['tDPDZ'](_0x133f59['length'],0x0)?_0x3a56d4=_0xf8f10b[_0x4a663b(0x1ca)]:_0x3a56d4=_0xf8f10b[_0x4a663b(0x255)];let _0x1dccdf=null;if(_0xf8f10b[_0x4a663b(0x1b1)](_0x34cf13[_0x4a663b(0x1c1)],undefined))_0x1dccdf=_0x34cf13[_0x4a663b(0x1c1)];else(_0x55cf0f['match'](/Finished/)||_0x55cf0f['match'](/Skipped/))&&(_0x34cf13[_0x4a663b(0x19c)]&&(_0x1dccdf=_0xf8f10b[_0x4a663b(0x1e7)](Date[_0x4a663b(0x1a9)](),new Date(_0x34cf13[_0x4a663b(0x19c)])[_0x4a663b(0x1f8)]())));const _0x154ffa=_0x34cf13['fn']?_0x34cf13['fn'][_0x4a663b(0x1cc)]():null,_0x891a87={'id':_0x5500ea,'uuid':_0x5500ea,'startedAt':_0x34cf13[_0x4a663b(0x19c)]||new Date()[_0x4a663b(0x1b7)](),'finishedAt':_0x55cf0f[_0x4a663b(0x1dc)](/Finished/)||_0x55cf0f[_0x4a663b(0x1dc)](/Skipped/)?new Date()[_0x4a663b(0x1b7)]():null,'type':_0xf8f10b[_0x4a663b(0x1cf)],'body':{'lang':_0xf8f10b[_0x4a663b(0x1cd)],'code':_0x154ffa},'name':_0x3d479f,'errorsDetailed':_0xf8f10b[_0x4a663b(0x1bb)](_0x133f59?.[_0x4a663b(0x233)],0x0)?_0x133f59[0x0]:_0x133f59?_0x133f59:undefined,'scopes':_0x39f432,'file_name':_0x14f2ff,'location':_0x14f2ff,'vc_filepath':this[_0x4a663b(0x239)]&&_0x159341?path['relative'](this[_0x4a663b(0x239)],_0x159341):null,'framework':_0xf8f10b[_0x4a663b(0x1af)],'result':_0x3a56d4,'failure_reason':_0x539188,'duration_in_ms':_0x1dccdf,'failure':failureData['apply'](null,_0x52ba03),'failure_type':!_0x539188?null:_0xf8f10b[_0x4a663b(0x1b0)](getFailureType,_0x539188),'retry_of':_0x34cf13[_0x4a663b(0x22f)]||null,'customRerunParam':{'rerun_name':_0x3d479f}};_0xf8f10b[_0x4a663b(0x19f)](_0x55cf0f,_0xf8f10b[_0x4a663b(0x1c6)])&&!_0x891a87[_0x4a663b(0x20b)]&&(_0x891a87['startedAt']=_0x891a87['finishedAt']);const _0x58d41d=_0x891a87['failure']&&_0x891a87[_0x4a663b(0x1eb)][0x0];return _0x58d41d&&(_0x891a87[_0x4a663b(0x1d9)]=_0x58d41d[_0x4a663b(0x223)],_0x891a87[_0x4a663b(0x1d0)]=_0x58d41d[_0x4a663b(0x1ea)]),(_0xf8f10b['vqbcY'](_0x55cf0f,_0xf8f10b[_0x4a663b(0x243)])||_0xf8f10b[_0x4a663b(0x19f)](_0x55cf0f,_0xf8f10b[_0x4a663b(0x1c6)]))&&(_0x34cf13[_0x4a663b(0x203)]&&(_0x891a87[_0x4a663b(0x203)]=_0x34cf13[_0x4a663b(0x203)])),_0x891a87;}catch(_0x4d856b){return logger[_0x4a663b(0x1db)](_0x4a663b(0x1fb)+util['format'](_0x4d856b)),null;}}async[a102_0x5b4fe9(0x1a4)](_0xf9f355,_0x387a13,_0x2c6188,_0x4a8905){const _0x32518f=a102_0x5b4fe9,_0x142747={'eLvwN':_0x32518f(0x259),'pxXDJ':_0x32518f(0x1f2),'NjCbm':_0x32518f(0x249),'CkcZK':_0x32518f(0x19b),'tGPTe':_0x32518f(0x1d1),'PzvlV':function(_0x70be63,_0xec1d9b){return _0x70be63===_0xec1d9b;},'BWFEL':'HookRunFinished','DNSjU':function(_0x55a678,_0x29673e){return _0x55a678>_0x29673e;},'QitJg':'failed','foIYv':function(_0x29c938,_0x1f4321){return _0x29c938(_0x1f4321);},'EDdjw':_0x32518f(0x1e2),'YQAeV':'passed','CRrou':_0x32518f(0x20d),'zjHMp':'javascript','UCnXx':_0x32518f(0x25a),'Mdszd':function(_0x1548e9,_0x19c159){return _0x1548e9===_0x19c159;},'kJNrF':'HookRunStarted'};logger[_0x32518f(0x1db)](_0x32518f(0x1b3)+_0x2c6188+_0x32518f(0x23a)+_0x387a13+_0x32518f(0x1c0)+_0x4a8905);try{if(!_0xf9f355)return logger[_0x32518f(0x1db)](_0x142747[_0x32518f(0x1d3)]),null;if(this[_0x32518f(0x20e)](_0xf9f355))return null;await this[_0x32518f(0x1d4)]();let _0x5e7ff2=null;try{_0x5e7ff2=this[_0x32518f(0x238)](_0xf9f355);if(_0x5e7ff2&&_0x5e7ff2[_0x32518f(0x1bf)](_0x142747[_0x32518f(0x1be)]))return null;if(_0x5e7ff2&&_0x5e7ff2['includes'](_0x142747[_0x32518f(0x218)]))return null;}catch(_0x2ebd2f){logger[_0x32518f(0x1db)](_0x32518f(0x25d)+util['format'](_0x2ebd2f));}const _0x45ba7e=this[_0x32518f(0x1a5)](_0xf9f355),_0x3a5f11=_0xf9f355['type']||_0x142747[_0x32518f(0x1ce)],_0x4e1846=HOOK_TYPES_MAP[_0x3a5f11]||_0x3a5f11[_0x32518f(0x1f3)](),_0x5e6f32=_0xf9f355['parent']&&_0xf9f355[_0x32518f(0x23c)][_0x32518f(0x220)]?_0xf9f355[_0x32518f(0x23c)][_0x32518f(0x220)]:'';let _0x2c9762=_0x142747[_0x32518f(0x235)],_0x5451ad=null,_0x8f80c7=null,_0x5beb53=null,_0x159414=null;_0x142747[_0x32518f(0x19e)](_0x2c6188,_0x142747['BWFEL'])&&(_0x159414=new Date()['toISOString'](),_0xf9f355[_0x32518f(0x212)]&&_0x142747['DNSjU'](_0xf9f355[_0x32518f(0x212)][_0x32518f(0x233)],0x0)?(_0x2c9762=_0x142747[_0x32518f(0x1ad)],_0x8f80c7=util[_0x32518f(0x21a)](_0xf9f355[_0x32518f(0x212)][0x0]),_0x5451ad=_0x142747[_0x32518f(0x1c3)](getFailureType,_0x8f80c7),_0x5beb53=failureData[_0x32518f(0x1b5)](null,[_0xf9f355[_0x32518f(0x212)],_0x142747[_0x32518f(0x240)]])):_0x2c9762=_0x142747[_0x32518f(0x1f7)]);const _0x3c824c={'uuid':_0x387a13,'type':_0x142747[_0x32518f(0x1ee)],'hook_type':_0x4e1846,'name':_0x45ba7e,'body':{'lang':_0x142747[_0x32518f(0x206)],'code':_0xf9f355['fn']?_0xf9f355['fn']['toString']():null},'tags':[],'test_run_id':_0x4a8905,'scope':_0x5e6f32,'scopes':[_0x5e6f32],'file_name':_0x5e7ff2,'location':_0x5e7ff2,'vc_filepath':this[_0x32518f(0x239)]&&_0x5e7ff2?path[_0x32518f(0x1e6)](this[_0x32518f(0x239)],_0x5e7ff2):null,'result':_0x2c9762,'started_at':_0xf9f355['started_at']||new Date()[_0x32518f(0x1b7)](),'finished_at':_0x159414,'failure_type':_0x5451ad,'failure_reason':_0x8f80c7,'failure_data':_0x5beb53,'framework':_0x142747[_0x32518f(0x1b2)]};return _0x142747[_0x32518f(0x1a1)](_0x2c6188,_0x142747[_0x32518f(0x22e)])&&(hooksMap[_0x4a8905]?hooksMap[_0x4a8905][_0x32518f(0x251)](_0x3c824c):hooksMap[_0x4a8905]=[_0x3c824c]),_0x3c824c;}catch(_0x3c8f94){return logger[_0x32518f(0x1db)](_0x32518f(0x248)+util[_0x32518f(0x1e9)](_0x3c8f94)),null;}}[a102_0x5b4fe9(0x1b8)](_0x5ca746,_0x24dd94,_0x2e86ca){const _0x5abb97=a102_0x5b4fe9,_0x14acc1={'TBMaK':function(_0x3b202f,_0x4cc49c){return _0x3b202f>_0x4cc49c;},'HftNv':_0x5abb97(0x254),'UDhpV':function(_0x3b076d,_0x14717e){return _0x3b076d(_0x14717e);},'CRZVd':'test','qCOEM':_0x5abb97(0x20a)};try{const _0x40e292=hooksMap[_0x5ca746];if(!_0x40e292)return null;const _0x3aeef1=_0x40e292[_0x5abb97(0x1b4)](_0x2029af=>_0x2029af['uuid']===_0x24dd94);if(!_0x3aeef1)return null;return _0x3aeef1[_0x5abb97(0x213)]=new Date()[_0x5abb97(0x1b7)](),_0x2e86ca[_0x5abb97(0x212)]&&_0x14acc1['TBMaK'](_0x2e86ca[_0x5abb97(0x212)][_0x5abb97(0x233)],0x0)?(_0x3aeef1[_0x5abb97(0x21f)]=_0x14acc1[_0x5abb97(0x24f)],_0x3aeef1[_0x5abb97(0x258)]=util[_0x5abb97(0x21a)](_0x2e86ca[_0x5abb97(0x212)][0x0]),_0x3aeef1[_0x5abb97(0x1df)]=_0x14acc1[_0x5abb97(0x1fe)](getFailureType,_0x3aeef1[_0x5abb97(0x258)]),_0x3aeef1[_0x5abb97(0x250)]=failureData[_0x5abb97(0x1b5)](null,[_0x2e86ca[_0x5abb97(0x212)],_0x14acc1['CRZVd']])):_0x3aeef1[_0x5abb97(0x21f)]=_0x14acc1[_0x5abb97(0x1e8)],_0x3aeef1;}catch(_0x194b08){return logger[_0x5abb97(0x1db)](_0x5abb97(0x1f4)+util[_0x5abb97(0x1e9)](_0x194b08)),null;}}[a102_0x5b4fe9(0x1a5)](_0x2597a){const _0x21d079=a102_0x5b4fe9,_0x560d8b={};_0x560d8b[_0x21d079(0x209)]=function(_0x3a20e5,_0x11c3b0){return _0x3a20e5!==_0x11c3b0;},_0x560d8b[_0x21d079(0x1a7)]=_0x21d079(0x1e2),_0x560d8b[_0x21d079(0x230)]=_0x21d079(0x22c);const _0x4c8ff5=_0x560d8b;if(_0x4c8ff5[_0x21d079(0x209)](_0x2597a[_0x21d079(0x252)],_0x4c8ff5[_0x21d079(0x1a7)]))return'\x22'+_0x2597a['type']+'\x22\x20hook\x20for\x20\x22'+(_0x2597a[_0x21d079(0x23c)]&&_0x2597a[_0x21d079(0x23c)]['name'])+'\x22';return _0x2597a['name']||_0x4c8ff5['DkYCo'];}['getHierarchy'](_0x477e32){const _0x50d351=a102_0x5b4fe9,_0x51f739={};_0x51f739[_0x50d351(0x24c)]=function(_0x38e73f,_0x3c55e3){return _0x38e73f!==_0x3c55e3;},_0x51f739[_0x50d351(0x1fa)]=function(_0x243f7b,_0x2575a6){return _0x243f7b!==_0x2575a6;},_0x51f739[_0x50d351(0x25c)]='ROOT_DESCRIBE_BLOCK';const _0xfc9a20=_0x51f739,_0x17c8b4=[];if(_0x477e32&&_0x477e32[_0x50d351(0x23c)]){let _0x365796=_0x477e32[_0x50d351(0x23c)];while(_0x365796&&_0x365796[_0x50d351(0x220)]&&_0xfc9a20[_0x50d351(0x24c)](_0x365796[_0x50d351(0x220)],'')&&_0xfc9a20[_0x50d351(0x1fa)](_0x365796[_0x50d351(0x220)],_0xfc9a20['RMDJv'])){_0x17c8b4['push'](_0x365796[_0x50d351(0x220)]),_0x365796=_0x365796[_0x50d351(0x23c)];}}return _0x17c8b4[_0x50d351(0x1d2)](),_0x17c8b4;}['getRootParentFile'](_0x395ef6){const _0x31cb06=a102_0x5b4fe9,_0x5658d3={'zykdu':function(_0x4c2368,_0x4b8286){return _0x4c2368(_0x4b8286);}};if(_0x395ef6[_0x31cb06(0x1ab)])return _0x395ef6[_0x31cb06(0x1ab)];if(_0x395ef6[_0x31cb06(0x1d5)])try{const _0x21f2f2=stackTrace[_0x31cb06(0x1d8)]['call'](stackTrace,_0x395ef6[_0x31cb06(0x1d5)]),_0x5cde55=_0x5658d3['zykdu'](pickUserFrameFile,_0x21f2f2);if(_0x5cde55)return _0x5cde55;logger[_0x31cb06(0x1db)](_0x31cb06(0x1c9)+_0x21f2f2[_0x31cb06(0x233)]+')');}catch(_0x29babe){logger[_0x31cb06(0x1db)]('Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util['format'](_0x29babe));}return null;}[a102_0x5b4fe9(0x20e)](_0x368d70){const _0x220eb3=a102_0x5b4fe9,_0x4014a0={};_0x4014a0[_0x220eb3(0x1f6)]=_0x220eb3(0x1f2);const _0x1b4d65=_0x4014a0;try{const _0x49c8c2=this[_0x220eb3(0x238)](_0x368d70);if(!_0x49c8c2||_0x49c8c2['includes'](_0x1b4d65[_0x220eb3(0x1f6)]))return!![];}catch(_0xe8e52){logger['debug'](_0x220eb3(0x200)+util[_0x220eb3(0x1e9)](_0xe8e52));}return![];}[a102_0x5b4fe9(0x1bd)](_0x2edcf3=null){const _0x5c6a93=a102_0x5b4fe9;try{const _0x17bfca=_0x2edcf3||global[_0x5c6a93(0x1ef)]||{};if(global[_0x5c6a93(0x25b)])return global['__jestCurrentTestIdentifier'];if(_0x17bfca?.['currentTest']?.[_0x5c6a93(0x1ba)])return _0x17bfca[_0x5c6a93(0x1c7)][_0x5c6a93(0x1ba)];if(_0x17bfca?.[_0x5c6a93(0x1c7)]?.['id'])return _0x17bfca['currentTest']['id'];return null;}catch(_0x63d6c){return logger['debug'](_0x5c6a93(0x237)+util[_0x5c6a93(0x1e9)](_0x63d6c)),null;}}async['configureGit'](){const _0x511f74=a102_0x5b4fe9,_0x1364f7={'DyrvI':function(_0x1bf68d){return _0x1bf68d();}};if(this['_gitConfigured'])return this[_0x511f74(0x239)];const _0x13551f=await _0x1364f7[_0x511f74(0x256)](getGitMetaData);_0x13551f&&(this[_0x511f74(0x239)]=_0x13551f[_0x511f74(0x245)]),this['_gitConfigured']=!![];}[a102_0x5b4fe9(0x215)](_0xeea886){hooksMap[_0xeea886]&&delete hooksMap[_0xeea886];}[a102_0x5b4fe9(0x24b)](_0x354fe7){const _0x2b516e=a102_0x5b4fe9,_0x223811={'xpGfg':_0x2b516e(0x1f2),'lctaP':function(_0x4b5270,_0x38b0bd){return _0x4b5270(_0x38b0bd);},'GpYuj':'expect'};if(_0x354fe7[_0x2b516e(0x1ab)])return _0x354fe7[_0x2b516e(0x1ab)];if(_0x354fe7['asyncError']){try{const _0x22ae92=stackTrace[_0x2b516e(0x1d8)](_0x354fe7['asyncError']);if(_0x22ae92[0x0]&&_0x22ae92[0x0][_0x2b516e(0x201)]){const _0x34843c=_0x22ae92[0x0][_0x2b516e(0x201)]();if(_0x34843c&&!_0x34843c[_0x2b516e(0x1bf)](_0x223811[_0x2b516e(0x1e0)]))return _0x34843c;}}catch(_0x431635){logger[_0x2b516e(0x1db)](_0x2b516e(0x20c)+util[_0x2b516e(0x1e9)](_0x431635));}if(_0x354fe7['asyncError'][_0x2b516e(0x23e)]){const _0x29b54c=_0x354fe7[_0x2b516e(0x1d5)]['stack'][_0x2b516e(0x208)]('\x0a');for(const _0x151dac of _0x29b54c){const _0x5d5fb6=_0x151dac[_0x2b516e(0x1dc)](/at (.+?):\d+:\d+/);if(_0x5d5fb6&&_0x5d5fb6[0x1]&&!_0x5d5fb6[0x1][_0x2b516e(0x1bf)](_0x223811[_0x2b516e(0x1e0)]))return _0x5d5fb6[0x1];}}}let _0x56cac6=_0x354fe7['parent'];while(_0x56cac6){if(_0x56cac6['file'])return _0x56cac6['file'];if(_0x56cac6['asyncError'])try{const _0x335c71=stackTrace[_0x2b516e(0x1d8)](_0x56cac6[_0x2b516e(0x1d5)]);if(_0x335c71[0x0]&&_0x335c71[0x0][_0x2b516e(0x201)]){const _0x3b4b49=_0x335c71[0x0][_0x2b516e(0x201)]();if(_0x3b4b49&&!_0x3b4b49['includes'](_0x223811[_0x2b516e(0x1e0)]))return _0x3b4b49;}}catch(_0x450e5e){}_0x56cac6=_0x56cac6[_0x2b516e(0x23c)];}try{const _0x35c6d1=_0x223811[_0x2b516e(0x1dd)](require,_0x223811[_0x2b516e(0x20f)]);if(_0x35c6d1&&_0x35c6d1[_0x2b516e(0x1a2)]){const _0x4ff450=_0x35c6d1['getState']();if(_0x4ff450&&_0x4ff450[_0x2b516e(0x1f0)])return _0x4ff450[_0x2b516e(0x1f0)];}}catch(_0x47edde){logger['debug']('[jestUtils]\x20expect.getState()\x20not\x20available:\x20'+util[_0x2b516e(0x1e9)](_0x47edde));}return null;}[a102_0x5b4fe9(0x1fc)](_0x40beee){const _0x1b138c=a102_0x5b4fe9,_0x423fa5={};_0x423fa5['oJoUR']=_0x1b138c(0x21b),_0x423fa5[_0x1b138c(0x232)]=function(_0x46f206,_0x2dc476){return _0x46f206!==_0x2dc476;},_0x423fa5['vtsqU']=_0x1b138c(0x217),_0x423fa5[_0x1b138c(0x234)]=_0x1b138c(0x1f2),_0x423fa5[_0x1b138c(0x1f1)]=_0x1b138c(0x1c4),_0x423fa5[_0x1b138c(0x1f9)]=_0x1b138c(0x21d);const _0x265772=_0x423fa5;try{if(!_0x40beee)return logger[_0x1b138c(0x1a3)](_0x265772[_0x1b138c(0x22a)]),null;const _0x17230b=_0x40beee[_0x1b138c(0x247)]||_0x40beee['name']||_0x40beee[_0x1b138c(0x1ae)]||_0x40beee[_0x1b138c(0x1ff)];let _0x407ce0=_0x17230b;if(_0x40beee[_0x1b138c(0x23c)]&&_0x40beee['parent'][_0x1b138c(0x220)]&&_0x265772[_0x1b138c(0x232)](_0x40beee[_0x1b138c(0x23c)][_0x1b138c(0x220)],_0x265772[_0x1b138c(0x244)])){const _0x5e6f08=_0x40beee[_0x1b138c(0x220)]||_0x40beee[_0x1b138c(0x1ae)];_0x5e6f08&&(_0x407ce0=_0x40beee[_0x1b138c(0x23c)][_0x1b138c(0x220)]+'\x20'+_0x5e6f08);}let _0x4cdd41=_0x40beee[_0x1b138c(0x1f0)];if(!_0x4cdd41&&_0x40beee[_0x1b138c(0x1d5)]){try{const _0x2ad7ea=stackTrace[_0x1b138c(0x1d8)](_0x40beee[_0x1b138c(0x1d5)]);if(_0x2ad7ea[0x0]&&_0x2ad7ea[0x0][_0x1b138c(0x201)]){const _0x13ae41=_0x2ad7ea[0x0][_0x1b138c(0x201)]();_0x13ae41&&!_0x13ae41[_0x1b138c(0x1bf)](_0x265772['xFHVK'])&&(_0x4cdd41=_0x13ae41);}}catch(_0x1c9a50){logger[_0x1b138c(0x1db)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x1b138c(0x1e9)](_0x1c9a50));}if(!_0x4cdd41&&_0x40beee['asyncError'][_0x1b138c(0x23e)]){const _0xf01829=_0x40beee['asyncError']['stack']['split']('\x0a');for(const _0x514455 of _0xf01829){const _0x49deaa=_0x514455[_0x1b138c(0x1dc)](/at (.+?):\d+:\d+/);if(_0x49deaa&&_0x49deaa[0x1]&&!_0x49deaa[0x1]['includes'](_0x265772['xFHVK'])){_0x4cdd41=_0x49deaa[0x1];break;}}}}const _0x5b4c5c=_0x4cdd41+'::'+_0x407ce0,_0x468227=crypto[_0x1b138c(0x24d)](_0x265772[_0x1b138c(0x1f1)])[_0x1b138c(0x1f5)](_0x5b4c5c)[_0x1b138c(0x1b9)](_0x265772[_0x1b138c(0x1f9)])['substring'](0x0,0x8),_0x426b5b=process[_0x1b138c(0x1da)]+_0x1b138c(0x1fd)+_0x468227;return logger[_0x1b138c(0x1db)](_0x1b138c(0x1e3)+_0x426b5b+_0x1b138c(0x222)+_0x5b4c5c),_0x426b5b;}catch(_0x5dbb3a){return logger[_0x1b138c(0x1a3)](_0x1b138c(0x228)+util[_0x1b138c(0x1e9)](_0x5dbb3a)),null;}}['createIdentifierFromJestTest'](_0x5cd373){const _0xa726d0=a102_0x5b4fe9,_0x5d973b={};_0x5d973b[_0xa726d0(0x207)]='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x599e8e=_0x5d973b;if(!_0x5cd373)return logger[_0xa726d0(0x1db)](_0x599e8e[_0xa726d0(0x207)]),null;const _0xc81fd6=this['extractTestFilePath'](_0x5cd373),_0x34b0e5={};_0x34b0e5[_0xa726d0(0x220)]=_0x5cd373['name']||_0x5cd373[_0xa726d0(0x1ae)],_0x34b0e5['parent']=_0x5cd373[_0xa726d0(0x23c)],_0x34b0e5['testPath']=_0xc81fd6,_0x34b0e5[_0xa726d0(0x1d5)]=_0x5cd373[_0xa726d0(0x1d5)];const _0x1ed1c7=_0x34b0e5;return this[_0xa726d0(0x1fc)](_0x1ed1c7);}[a102_0x5b4fe9(0x204)](_0x421258,_0x160163=null){const _0x5256f2=a102_0x5b4fe9,_0xde6284={};_0xde6284[_0x5256f2(0x1e5)]='[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation';const _0x4eadee=_0xde6284;if(!_0x421258)return logger[_0x5256f2(0x1db)](_0x4eadee[_0x5256f2(0x1e5)]),_0x160163;if(_0x421258[_0x5256f2(0x246)])return logger[_0x5256f2(0x1db)](_0x5256f2(0x1c5)+_0x421258['testIdentifier']),_0x421258['testIdentifier'];return this[_0x5256f2(0x1fc)](_0x421258)||_0x160163;}}module[a102_0x5b4fe9(0x1ec)]=o11yClassErrorHandler(JestUtils,['configureGit',a102_0x5b4fe9(0x1ac),a102_0x5b4fe9(0x238),a102_0x5b4fe9(0x1a5),a102_0x5b4fe9(0x20e),a102_0x5b4fe9(0x1bd),a102_0x5b4fe9(0x23d),a102_0x5b4fe9(0x1a4),'getHookRunEventData',a102_0x5b4fe9(0x215),a102_0x5b4fe9(0x24b),a102_0x5b4fe9(0x1fc),'createIdentifierFromJestTest','recreateIdentifierFromTestInfo']);
|
|
1
|
+
const a102_0x311024=a102_0x368a;(function(_0x1c82da,_0x5a5b88){const _0x29d969=a102_0x368a,_0x1ee9a3=_0x1c82da();while(!![]){try{const _0x473afd=parseInt(_0x29d969(0x14a))/0x1*(parseInt(_0x29d969(0x149))/0x2)+parseInt(_0x29d969(0xbe))/0x3*(parseInt(_0x29d969(0x10f))/0x4)+-parseInt(_0x29d969(0x142))/0x5+-parseInt(_0x29d969(0xd7))/0x6+parseInt(_0x29d969(0xb8))/0x7*(parseInt(_0x29d969(0x120))/0x8)+parseInt(_0x29d969(0x14b))/0x9*(-parseInt(_0x29d969(0x105))/0xa)+-parseInt(_0x29d969(0x9d))/0xb*(-parseInt(_0x29d969(0xc1))/0xc);if(_0x473afd===_0x5a5b88)break;else _0x1ee9a3['push'](_0x1ee9a3['shift']());}catch(_0x1ae14d){_0x1ee9a3['push'](_0x1ee9a3['shift']());}}}(a102_0x1eae,0x4b381));function a102_0x368a(_0x23b6a5,_0x359695){const _0x1eae67=a102_0x1eae();return a102_0x368a=function(_0x368a09,_0x147e50){_0x368a09=_0x368a09-0x91;let _0x588047=_0x1eae67[_0x368a09];return _0x588047;},a102_0x368a(_0x23b6a5,_0x359695);}const path=require(a102_0x311024(0x128)),util=require(a102_0x311024(0x11e)),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a102_0x311024(0xf8)),logger=require(a102_0x311024(0x14c))[a102_0x311024(0x12d)],{o11yClassErrorHandler}=require(a102_0x311024(0xa9)),TestInfo=require(a102_0x311024(0xaa)),{failureData,getFailureType}=require('../../../helpers/test-observability/utils'),stackTrace=require(a102_0x311024(0xf7)),{pickUserFrameFile}=require(a102_0x311024(0xea)),a102_0x19c9bc={};a102_0x19c9bc[a102_0x311024(0xa7)]=a102_0x311024(0x12f),a102_0x19c9bc[a102_0x311024(0x11a)]='AFTER_ALL',a102_0x19c9bc[a102_0x311024(0xf3)]=a102_0x311024(0x99),a102_0x19c9bc['afterEach']=a102_0x311024(0x110);const HOOK_TYPES_MAP=a102_0x19c9bc,hooksMap={};class JestUtils{constructor(){const _0x55b7ef=a102_0x311024;this[_0x55b7ef(0xf1)]=![],this[_0x55b7ef(0x118)]=null;}async[a102_0x311024(0x13d)](_0x2c2592,_0x2de0eb,_0x2f9ca4=a102_0x311024(0xb1),_0x2b73ea=undefined){const _0x234d49=a102_0x311024,_0x4798be={'GJUAp':_0x234d49(0x144),'ELbIc':_0x234d49(0xef),'FmAXO':function(_0x52d461,_0x18ebb5){return _0x52d461||_0x18ebb5;},'vLSPv':'File\x20path\x20could\x20not\x20be\x20found','XBuka':function(_0x257b57,_0x541c13){return _0x257b57!==_0x541c13;},'qnKje':_0x234d49(0xf6),'ehRbJ':_0x234d49(0xc0),'nBQqv':function(_0x55fd4d,_0x3c9679){return _0x55fd4d!==_0x3c9679;},'Kcuhn':_0x234d49(0x145),'SRfyj':function(_0x2d0f9d,_0x14dcac){return _0x2d0f9d===_0x14dcac;},'DXNPy':_0x234d49(0xdc),'cAUzL':_0x234d49(0xd1),'OHpkl':function(_0x3bcdab,_0x11af12){return _0x3bcdab>_0x11af12;},'ARSEW':_0x234d49(0xdd),'FJehy':_0x234d49(0x9c),'stJMg':function(_0x3c4446,_0x44c7cc){return _0x3c4446-_0x44c7cc;},'hKvzz':_0x234d49(0x9b),'wVJwM':function(_0x576a18,_0x38567a){return _0x576a18>_0x38567a;},'wPZNB':'jest','Vgcew':function(_0x39763c,_0x52aa43){return _0x39763c(_0x52aa43);},'WPSaJ':function(_0x33b2bb,_0x30f063){return _0x33b2bb===_0x30f063;},'hWkto':_0x234d49(0xb1)};logger['debug'](_0x234d49(0x135)+_0x2f9ca4+_0x234d49(0x111)+_0x2de0eb);try{if(!_0x2c2592)return logger[_0x234d49(0xd6)](_0x4798be['GJUAp']),null;if(_0x2c2592['fn']&&_0x2c2592['fn'][_0x234d49(0xb2)]()[_0x234d49(0x13f)](/browserstack internal helper hook/))return null;await this[_0x234d49(0xad)]();let _0x528d84;try{_0x528d84=this[_0x234d49(0xd5)](_0x2c2592);if(_0x528d84&&_0x528d84[_0x234d49(0x132)](_0x4798be[_0x234d49(0x12b)]))return null;}catch(_0x1f917f){logger[_0x234d49(0xd6)](_0x234d49(0x10e)+util[_0x234d49(0xfd)](_0x1f917f)),_0x528d84=null;}const _0x342980=this[_0x234d49(0xba)](_0x2c2592),_0x429504=this[_0x234d49(0x98)](_0x2c2592),_0x5b19ba=_0x4798be['FmAXO'](_0x528d84,_0x4798be[_0x234d49(0xc6)]);let _0x9dca32=[];const _0x2f07cd=_0x2c2592[_0x234d49(0xdb)]||_0x2c2592[_0x234d49(0x139)];if(_0x4798be[_0x234d49(0x10d)](_0x2f07cd,undefined))_0x9dca32=[_0x2f07cd,_0x4798be[_0x234d49(0x93)]];else _0x4798be[_0x234d49(0x10d)](_0x2b73ea,undefined)&&(_0x9dca32=[_0x2b73ea,_0x4798be[_0x234d49(0x10b)]]);const _0x23c999=_0x4798be[_0x234d49(0xbb)](_0x2f07cd,undefined)?util[_0x234d49(0xc5)](_0x2f07cd[0x0]):_0x4798be['XBuka'](_0x2b73ea,undefined)?_0x2b73ea[_0x234d49(0xb2)]():undefined;let _0x6a7027=_0x4798be[_0x234d49(0xfc)];if(_0x4798be['SRfyj'](_0x2f9ca4,_0x4798be['DXNPy']))_0x6a7027=_0x4798be[_0x234d49(0xf0)];else _0x2f07cd&&_0x4798be[_0x234d49(0x94)](_0x2f07cd[_0x234d49(0x138)],0x0)?_0x6a7027=_0x4798be[_0x234d49(0xd0)]:_0x6a7027=_0x4798be[_0x234d49(0xed)];let _0x4e09d6=null;if(_0x4798be['XBuka'](_0x2c2592[_0x234d49(0xcb)],undefined))_0x4e09d6=_0x2c2592[_0x234d49(0xcb)];else(_0x2f9ca4[_0x234d49(0x13f)](/Finished/)||_0x2f9ca4['match'](/Skipped/))&&(_0x2c2592[_0x234d49(0xe0)]&&(_0x4e09d6=_0x4798be['stJMg'](Date[_0x234d49(0x116)](),new Date(_0x2c2592['started_at'])[_0x234d49(0xe7)]())));const _0x34daa6=_0x2c2592['fn']?_0x2c2592['fn'][_0x234d49(0xb2)]():null,_0x3a04b2={'id':_0x2de0eb,'uuid':_0x2de0eb,'startedAt':_0x2c2592[_0x234d49(0xe0)]||new Date()[_0x234d49(0xee)](),'finishedAt':_0x2f9ca4['match'](/Finished/)||_0x2f9ca4[_0x234d49(0x13f)](/Skipped/)?new Date()['toISOString']():null,'type':_0x4798be[_0x234d49(0x93)],'body':{'lang':_0x4798be[_0x234d49(0x122)],'code':_0x34daa6},'name':_0x429504,'errorsDetailed':_0x4798be['wVJwM'](_0x2f07cd?.[_0x234d49(0x138)],0x0)?_0x2f07cd[0x0]:_0x2f07cd?_0x2f07cd:undefined,'scopes':_0x342980,'file_name':_0x5b19ba,'location':_0x5b19ba,'vc_filepath':this['_gitConfigPath']&&_0x528d84?path['relative'](this[_0x234d49(0x118)],_0x528d84):null,'framework':_0x4798be[_0x234d49(0x121)],'result':_0x6a7027,'failure_reason':_0x23c999,'duration_in_ms':_0x4e09d6,'failure':failureData[_0x234d49(0xe1)](null,_0x9dca32),'failure_type':!_0x23c999?null:_0x4798be[_0x234d49(0x9e)](getFailureType,_0x23c999),'retry_of':_0x2c2592['retryOf']||null,'customRerunParam':{'rerun_name':_0x429504}};_0x4798be['SRfyj'](_0x2f9ca4,_0x4798be[_0x234d49(0x13c)])&&!_0x3a04b2[_0x234d49(0x101)]&&(_0x3a04b2['startedAt']=_0x3a04b2['finishedAt']);const _0x44cd74=_0x3a04b2[_0x234d49(0xe4)]&&_0x3a04b2[_0x234d49(0xe4)][0x0];return _0x44cd74&&(_0x3a04b2[_0x234d49(0x136)]=_0x44cd74[_0x234d49(0xa3)],_0x3a04b2[_0x234d49(0x126)]=_0x44cd74[_0x234d49(0xcf)]),(_0x4798be[_0x234d49(0x95)](_0x2f9ca4,_0x4798be[_0x234d49(0xff)])||_0x4798be[_0x234d49(0xc3)](_0x2f9ca4,_0x4798be[_0x234d49(0x13c)]))&&(_0x2c2592[_0x234d49(0x141)]&&(_0x3a04b2[_0x234d49(0x141)]=_0x2c2592[_0x234d49(0x141)])),_0x3a04b2;}catch(_0x42e0db){return logger[_0x234d49(0xd6)](_0x234d49(0xf4)+util['format'](_0x42e0db)),null;}}async[a102_0x311024(0xc8)](_0x4660e7,_0x32d9c2,_0x19bcc3,_0x49ad59){const _0x18da52=a102_0x311024,_0x338824={'CIeUG':_0x18da52(0x131),'MwmVF':_0x18da52(0xef),'ZvbBc':'browserstack-node-agent/src/bin/jest','NvgMP':_0x18da52(0x143),'jfERt':_0x18da52(0x145),'rxxgJ':function(_0x4626e9,_0x3cf05f){return _0x4626e9===_0x3cf05f;},'dETdV':_0x18da52(0xb9),'EAwPu':function(_0x50a619,_0x3b441c){return _0x50a619>_0x3b441c;},'hBdwQ':_0x18da52(0xdd),'kHbud':function(_0x550f9b,_0x20c6ff){return _0x550f9b(_0x20c6ff);},'xrUAI':_0x18da52(0xf6),'aJQOz':'passed','XNTOe':_0x18da52(0x10a),'MAwom':_0x18da52(0x9b),'dBGbw':_0x18da52(0xfa),'XERaY':function(_0x3dfd55,_0x2b375a){return _0x3dfd55===_0x2b375a;},'ghCWv':_0x18da52(0xd9)};logger['debug']('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x19bcc3+_0x18da52(0xa2)+_0x32d9c2+_0x18da52(0x107)+_0x49ad59);try{if(!_0x4660e7)return logger[_0x18da52(0xd6)](_0x338824['CIeUG']),null;if(this[_0x18da52(0xcd)](_0x4660e7))return null;await this['configureGit']();let _0xa3f89a=null;try{_0xa3f89a=this['getRootParentFile'](_0x4660e7);if(_0xa3f89a&&_0xa3f89a['includes'](_0x338824[_0x18da52(0x123)]))return null;if(_0xa3f89a&&_0xa3f89a['includes'](_0x338824['ZvbBc']))return null;}catch(_0x564496){logger[_0x18da52(0xd6)](_0x18da52(0xb7)+util[_0x18da52(0xfd)](_0x564496));}const _0x2fac30=this[_0x18da52(0x98)](_0x4660e7),_0x5566af=_0x4660e7['type']||_0x338824[_0x18da52(0x134)],_0x2dc2c9=HOOK_TYPES_MAP[_0x5566af]||_0x5566af[_0x18da52(0x92)](),_0xad2b8e=_0x4660e7[_0x18da52(0xa0)]&&_0x4660e7[_0x18da52(0xa0)][_0x18da52(0xd8)]?_0x4660e7['parent'][_0x18da52(0xd8)]:'';let _0x25d611=_0x338824[_0x18da52(0xd2)],_0x3b0e52=null,_0xc3f90b=null,_0x42e95a=null,_0x54903a=null;_0x338824[_0x18da52(0x124)](_0x19bcc3,_0x338824[_0x18da52(0xd4)])&&(_0x54903a=new Date()[_0x18da52(0xee)](),_0x4660e7[_0x18da52(0xdb)]&&_0x338824[_0x18da52(0xde)](_0x4660e7[_0x18da52(0xdb)][_0x18da52(0x138)],0x0)?(_0x25d611=_0x338824['hBdwQ'],_0xc3f90b=util['inspect'](_0x4660e7[_0x18da52(0xdb)][0x0]),_0x3b0e52=_0x338824[_0x18da52(0xfb)](getFailureType,_0xc3f90b),_0x42e95a=failureData['apply'](null,[_0x4660e7['errorsDetailed'],_0x338824[_0x18da52(0x96)]])):_0x25d611=_0x338824['aJQOz']);const _0x382eec={'uuid':_0x32d9c2,'type':_0x338824[_0x18da52(0x114)],'hook_type':_0x2dc2c9,'name':_0x2fac30,'body':{'lang':_0x338824[_0x18da52(0xab)],'code':_0x4660e7['fn']?_0x4660e7['fn'][_0x18da52(0xb2)]():null},'tags':[],'test_run_id':_0x49ad59,'scope':_0xad2b8e,'scopes':[_0xad2b8e],'file_name':_0xa3f89a,'location':_0xa3f89a,'vc_filepath':this['_gitConfigPath']&&_0xa3f89a?path[_0x18da52(0x9a)](this['_gitConfigPath'],_0xa3f89a):null,'result':_0x25d611,'started_at':_0x4660e7['started_at']||new Date()[_0x18da52(0xee)](),'finished_at':_0x54903a,'failure_type':_0x3b0e52,'failure_reason':_0xc3f90b,'failure_data':_0x42e95a,'framework':_0x338824[_0x18da52(0x148)]};return _0x338824['XERaY'](_0x19bcc3,_0x338824[_0x18da52(0x100)])&&(hooksMap[_0x49ad59]?hooksMap[_0x49ad59][_0x18da52(0xa8)](_0x382eec):hooksMap[_0x49ad59]=[_0x382eec]),_0x382eec;}catch(_0x3b368d){return logger[_0x18da52(0xd6)](_0x18da52(0xda)+util[_0x18da52(0xfd)](_0x3b368d)),null;}}[a102_0x311024(0x11d)](_0x106151,_0x87c417,_0x1d93a7){const _0x4b6879=a102_0x311024,_0x459cab={'CIemQ':function(_0x27d558,_0x4cd2fd){return _0x27d558>_0x4cd2fd;},'SHlsb':_0x4b6879(0xdd),'VHXkU':function(_0x2e0cfc,_0x106f74){return _0x2e0cfc(_0x106f74);},'CQumd':_0x4b6879(0xf6),'CgAvX':_0x4b6879(0x9c)};try{const _0x189bd4=hooksMap[_0x106151];if(!_0x189bd4)return null;const _0x53ae8c=_0x189bd4['find'](_0x2fd5a4=>_0x2fd5a4[_0x4b6879(0x130)]===_0x87c417);if(!_0x53ae8c)return null;return _0x53ae8c[_0x4b6879(0xa6)]=new Date()[_0x4b6879(0xee)](),_0x1d93a7[_0x4b6879(0xdb)]&&_0x459cab['CIemQ'](_0x1d93a7[_0x4b6879(0xdb)][_0x4b6879(0x138)],0x0)?(_0x53ae8c[_0x4b6879(0xb0)]=_0x459cab['SHlsb'],_0x53ae8c['failure_reason']=util['inspect'](_0x1d93a7[_0x4b6879(0xdb)][0x0]),_0x53ae8c[_0x4b6879(0xf5)]=_0x459cab['VHXkU'](getFailureType,_0x53ae8c['failure_reason']),_0x53ae8c['failure_data']=failureData[_0x4b6879(0xe1)](null,[_0x1d93a7['errorsDetailed'],_0x459cab[_0x4b6879(0x11b)]])):_0x53ae8c['result']=_0x459cab[_0x4b6879(0x108)],_0x53ae8c;}catch(_0x1adb8d){return logger['debug'](_0x4b6879(0xc9)+util[_0x4b6879(0xfd)](_0x1adb8d)),null;}}[a102_0x311024(0x98)](_0x3eb4bf){const _0x70b452=a102_0x311024,_0x5d6c2f={};_0x5d6c2f['LaNIY']=function(_0x44c7ce,_0x2aa84c){return _0x44c7ce!==_0x2aa84c;},_0x5d6c2f[_0x70b452(0xca)]=_0x70b452(0xf6),_0x5d6c2f[_0x70b452(0x129)]=_0x70b452(0xd3);const _0x3cf6a4=_0x5d6c2f;if(_0x3cf6a4[_0x70b452(0x117)](_0x3eb4bf[_0x70b452(0x119)],_0x3cf6a4[_0x70b452(0xca)]))return'\x22'+_0x3eb4bf[_0x70b452(0x119)]+_0x70b452(0x11c)+(_0x3eb4bf[_0x70b452(0xa0)]&&_0x3eb4bf[_0x70b452(0xa0)][_0x70b452(0xd8)])+'\x22';return _0x3eb4bf[_0x70b452(0xd8)]||_0x3cf6a4[_0x70b452(0x129)];}[a102_0x311024(0xba)](_0x20ba54){const _0x3e4a22=a102_0x311024,_0x126e91={};_0x126e91[_0x3e4a22(0xa1)]=function(_0x1af3c6,_0xe57687){return _0x1af3c6!==_0xe57687;},_0x126e91[_0x3e4a22(0xe2)]=_0x3e4a22(0xcc);const _0x2d3cb5=_0x126e91,_0x5409b4=[];if(_0x20ba54&&_0x20ba54[_0x3e4a22(0xa0)]){let _0x3273d7=_0x20ba54[_0x3e4a22(0xa0)];while(_0x3273d7&&_0x3273d7[_0x3e4a22(0xd8)]&&_0x2d3cb5[_0x3e4a22(0xa1)](_0x3273d7[_0x3e4a22(0xd8)],'')&&_0x2d3cb5[_0x3e4a22(0xa1)](_0x3273d7['name'],_0x2d3cb5[_0x3e4a22(0xe2)])){_0x5409b4[_0x3e4a22(0xa8)](_0x3273d7[_0x3e4a22(0xd8)]),_0x3273d7=_0x3273d7[_0x3e4a22(0xa0)];}}return _0x5409b4['reverse'](),_0x5409b4;}[a102_0x311024(0xd5)](_0x57bc04){const _0x26f588=a102_0x311024,_0x11d042={'elspE':function(_0x4c2f85,_0x51cfe9){return _0x4c2f85(_0x51cfe9);}};if(_0x57bc04['file'])return _0x57bc04[_0x26f588(0x109)];if(_0x57bc04[_0x26f588(0x9f)])try{const _0x11e60b=stackTrace['parse'][_0x26f588(0x146)](stackTrace,_0x57bc04[_0x26f588(0x9f)]),_0x4c731c=_0x11d042['elspE'](pickUserFrameFile,_0x11e60b);if(_0x4c731c)return _0x4c731c;logger[_0x26f588(0xd6)](_0x26f588(0x97)+_0x11e60b[_0x26f588(0x138)]+')');}catch(_0x5311ef){logger[_0x26f588(0xd6)](_0x26f588(0x125)+util[_0x26f588(0xfd)](_0x5311ef));}return null;}[a102_0x311024(0xcd)](_0xaec7f5){const _0x167480=a102_0x311024,_0x5312fe={};_0x5312fe[_0x167480(0xdf)]=_0x167480(0xef);const _0x241008=_0x5312fe;try{const _0x404565=this[_0x167480(0xd5)](_0xaec7f5);if(!_0x404565||_0x404565[_0x167480(0x132)](_0x241008[_0x167480(0xdf)]))return!![];}catch(_0x2cd225){logger['debug'](_0x167480(0x103)+util[_0x167480(0xfd)](_0x2cd225));}return![];}[a102_0x311024(0xf2)](_0x233c1b=null){const _0x320e7d=a102_0x311024;try{const _0x15aa19=_0x233c1b||global[_0x320e7d(0x13b)]||{};if(global[_0x320e7d(0xbd)])return global['__jestCurrentTestIdentifier'];if(_0x15aa19?.['currentTest']?.[_0x320e7d(0xaf)])return _0x15aa19['currentTest'][_0x320e7d(0xaf)];if(_0x15aa19?.[_0x320e7d(0xb6)]?.['id'])return _0x15aa19[_0x320e7d(0xb6)]['id'];return null;}catch(_0x2ffe16){return logger[_0x320e7d(0xd6)](_0x320e7d(0x106)+util[_0x320e7d(0xfd)](_0x2ffe16)),null;}}async['configureGit'](){const _0x4994a4=a102_0x311024,_0x956c3b={'seKsV':function(_0x1eb4df){return _0x1eb4df();}};if(this['_gitConfigured'])return this['_gitConfigPath'];const _0x1ee22c=await _0x956c3b[_0x4994a4(0xae)](getGitMetaData);_0x1ee22c&&(this[_0x4994a4(0x118)]=_0x1ee22c[_0x4994a4(0xa4)]),this[_0x4994a4(0xf1)]=!![];}[a102_0x311024(0xbf)](_0x54e72d){hooksMap[_0x54e72d]&&delete hooksMap[_0x54e72d];}[a102_0x311024(0xce)](_0x41bf30){const _0x3b80f6=a102_0x311024,_0x39d0f9={'ggjev':_0x3b80f6(0xef),'LOsDt':function(_0x1c1759,_0x50d5e3){return _0x1c1759(_0x50d5e3);},'JGDbr':_0x3b80f6(0xb5)};if(_0x41bf30[_0x3b80f6(0x109)])return _0x41bf30[_0x3b80f6(0x109)];if(_0x41bf30['asyncError']){try{const _0x1698d0=stackTrace[_0x3b80f6(0x104)](_0x41bf30['asyncError']);if(_0x1698d0[0x0]&&_0x1698d0[0x0][_0x3b80f6(0x127)]){const _0x29de99=_0x1698d0[0x0]['getFileName']();if(_0x29de99&&!_0x29de99[_0x3b80f6(0x132)](_0x39d0f9[_0x3b80f6(0x12e)]))return _0x29de99;}}catch(_0x4a1bc5){logger['debug'](_0x3b80f6(0xeb)+util[_0x3b80f6(0xfd)](_0x4a1bc5));}if(_0x41bf30['asyncError'][_0x3b80f6(0xe9)]){const _0x44a365=_0x41bf30[_0x3b80f6(0x9f)][_0x3b80f6(0xe9)][_0x3b80f6(0x13e)]('\x0a');for(const _0x455319 of _0x44a365){const _0x54e75d=_0x455319[_0x3b80f6(0x13f)](/at (.+?):\d+:\d+/);if(_0x54e75d&&_0x54e75d[0x1]&&!_0x54e75d[0x1]['includes'](_0x39d0f9['ggjev']))return _0x54e75d[0x1];}}}let _0x249188=_0x41bf30['parent'];while(_0x249188){if(_0x249188[_0x3b80f6(0x109)])return _0x249188[_0x3b80f6(0x109)];if(_0x249188[_0x3b80f6(0x9f)])try{const _0x4828d6=stackTrace['parse'](_0x249188[_0x3b80f6(0x9f)]);if(_0x4828d6[0x0]&&_0x4828d6[0x0][_0x3b80f6(0x127)]){const _0x5a584a=_0x4828d6[0x0][_0x3b80f6(0x127)]();if(_0x5a584a&&!_0x5a584a['includes'](_0x39d0f9[_0x3b80f6(0x12e)]))return _0x5a584a;}}catch(_0x325d89){}_0x249188=_0x249188[_0x3b80f6(0xa0)];}try{const _0x44d105=_0x39d0f9['LOsDt'](require,_0x39d0f9[_0x3b80f6(0x112)]);if(_0x44d105&&_0x44d105[_0x3b80f6(0xec)]){const _0x197e75=_0x44d105[_0x3b80f6(0xec)]();if(_0x197e75&&_0x197e75[_0x3b80f6(0x113)])return _0x197e75[_0x3b80f6(0x113)];}}catch(_0x35524d){logger['debug'](_0x3b80f6(0xe6)+util[_0x3b80f6(0xfd)](_0x35524d));}return null;}[a102_0x311024(0x102)](_0xa1f9f2){const _0x404a20=a102_0x311024,_0x4df01c={};_0x4df01c['RnOeM']=_0x404a20(0x11f),_0x4df01c['MddyL']=function(_0x458343,_0x2edcbf){return _0x458343!==_0x2edcbf;},_0x4df01c[_0x404a20(0x133)]=_0x404a20(0xcc),_0x4df01c[_0x404a20(0x115)]='jest-circus',_0x4df01c['efwTa']=_0x404a20(0xe5),_0x4df01c[_0x404a20(0xa5)]=_0x404a20(0x10c);const _0xadb21c=_0x4df01c;try{if(!_0xa1f9f2)return logger[_0x404a20(0xe8)](_0xadb21c[_0x404a20(0xfe)]),null;const _0x4b5af5=_0xa1f9f2[_0x404a20(0xc2)]||_0xa1f9f2[_0x404a20(0xd8)]||_0xa1f9f2[_0x404a20(0x13a)]||_0xa1f9f2[_0x404a20(0x140)];let _0x26811a=_0x4b5af5;if(_0xa1f9f2[_0x404a20(0xa0)]&&_0xa1f9f2[_0x404a20(0xa0)][_0x404a20(0xd8)]&&_0xadb21c['MddyL'](_0xa1f9f2['parent'][_0x404a20(0xd8)],_0xadb21c['zoHtW'])){const _0x531ea6=_0xa1f9f2[_0x404a20(0xd8)]||_0xa1f9f2[_0x404a20(0x13a)];_0x531ea6&&(_0x26811a=_0xa1f9f2['parent'][_0x404a20(0xd8)]+'\x20'+_0x531ea6);}let _0x271b96=_0xa1f9f2[_0x404a20(0x113)];if(!_0x271b96&&_0xa1f9f2[_0x404a20(0x9f)]){try{const _0x5ccd3a=stackTrace[_0x404a20(0x104)](_0xa1f9f2[_0x404a20(0x9f)]);if(_0x5ccd3a[0x0]&&_0x5ccd3a[0x0][_0x404a20(0x127)]){const _0x266c89=_0x5ccd3a[0x0][_0x404a20(0x127)]();_0x266c89&&!_0x266c89[_0x404a20(0x132)](_0xadb21c[_0x404a20(0x115)])&&(_0x271b96=_0x266c89);}}catch(_0x1cd89a){logger['debug'](_0x404a20(0xeb)+util[_0x404a20(0xfd)](_0x1cd89a));}if(!_0x271b96&&_0xa1f9f2['asyncError']['stack']){const _0x2da68f=_0xa1f9f2['asyncError'][_0x404a20(0xe9)]['split']('\x0a');for(const _0x15d3b6 of _0x2da68f){const _0x24739c=_0x15d3b6[_0x404a20(0x13f)](/at (.+?):\d+:\d+/);if(_0x24739c&&_0x24739c[0x1]&&!_0x24739c[0x1][_0x404a20(0x132)](_0xadb21c[_0x404a20(0x115)])){_0x271b96=_0x24739c[0x1];break;}}}}const _0x8262ef=_0x271b96+'::'+_0x26811a,_0x56abb3=crypto['createHash'](_0xadb21c[_0x404a20(0xbc)])['update'](_0x8262ef)[_0x404a20(0x91)](_0xadb21c['wVwDN'])['substring'](0x0,0x8),_0x98cc=process[_0x404a20(0x137)]+_0x404a20(0xc4)+_0x56abb3;return logger[_0x404a20(0xd6)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x98cc+'\x20from\x20compositeKey:\x20'+_0x8262ef),_0x98cc;}catch(_0x626a68){return logger[_0x404a20(0xe8)](_0x404a20(0xe3)+util['format'](_0x626a68)),null;}}[a102_0x311024(0x12a)](_0x48daa4){const _0x2c0941=a102_0x311024,_0x5e4ab8={};_0x5e4ab8[_0x2c0941(0xc7)]='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x565155=_0x5e4ab8;if(!_0x48daa4)return logger['debug'](_0x565155['qjtRT']),null;const _0x177fc7=this[_0x2c0941(0xce)](_0x48daa4),_0x204b33={};_0x204b33['name']=_0x48daa4[_0x2c0941(0xd8)]||_0x48daa4[_0x2c0941(0x13a)],_0x204b33[_0x2c0941(0xa0)]=_0x48daa4[_0x2c0941(0xa0)],_0x204b33[_0x2c0941(0x113)]=_0x177fc7,_0x204b33[_0x2c0941(0x9f)]=_0x48daa4[_0x2c0941(0x9f)];const _0x48593e=_0x204b33;return this['createJestTestIdentifier'](_0x48593e);}[a102_0x311024(0xb4)](_0x2c5f30,_0x1533dd=null){const _0x4cc5b1=a102_0x311024,_0x4d0cbb={};_0x4d0cbb[_0x4cc5b1(0xac)]=_0x4cc5b1(0xf9);const _0x185f46=_0x4d0cbb;if(!_0x2c5f30)return logger['debug'](_0x185f46[_0x4cc5b1(0xac)]),_0x1533dd;if(_0x2c5f30[_0x4cc5b1(0x12c)])return logger[_0x4cc5b1(0xd6)](_0x4cc5b1(0xb3)+_0x2c5f30[_0x4cc5b1(0x12c)]),_0x2c5f30[_0x4cc5b1(0x12c)];return this['createJestTestIdentifier'](_0x2c5f30)||_0x1533dd;}}module[a102_0x311024(0x147)]=o11yClassErrorHandler(JestUtils,[a102_0x311024(0xad),'getHierarchy',a102_0x311024(0xd5),a102_0x311024(0x98),'isJestInternalHook',a102_0x311024(0xf2),a102_0x311024(0x13d),a102_0x311024(0xc8),a102_0x311024(0x11d),a102_0x311024(0xbf),a102_0x311024(0xce),a102_0x311024(0x102),'createIdentifierFromJestTest','recreateIdentifierFromTestInfo']);function a102_0x1eae(){const _0xf9dae8=['stack-trace','../../../helpers/helper.js','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','jest','kHbud','Kcuhn','format','RnOeM','hWkto','ghCWv','startedAt','createJestTestIdentifier','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','parse','10gkOvkB','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20',',\x20testRunId:\x20','CgAvX','file','hook','ehRbJ','hex','XBuka','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','8884JTVIBq','AFTER_EACH',',\x20testIdentifier:\x20','JGDbr','testPath','XNTOe','glomt','now','LaNIY','_gitConfigPath','type','afterAll','CQumd','\x22\x20hook\x20for\x20\x22','getHookRunEventData','util','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','136JFtWfY','wPZNB','hKvzz','MwmVF','rxxgJ','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','failure_reason_expanded','getFileName','path','XPTeL','createIdentifierFromJestTest','ELbIc','testIdentifier','winstonLogger','ggjev','BEFORE_ALL','uuid','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','includes','zoHtW','NvgMP','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','failure_backtrace','pid','length','errors','title','__workerDetails','DXNPy','createTestFrameworkData','split','match','displayName','hooks','2000220hpCufu','unknown','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','pending','call','exports','dBGbw','6kbNVhd','162897GneTDU','2608173OkDFcV','../../../helpers/logger.js','digest','toUpperCase','qnKje','OHpkl','WPSaJ','xrUAI','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','getName','BEFORE_EACH','relative','javascript','passed','352LjGwUe','Vgcew','asyncError','parent','UdKNX',',\x20hookUUID:\x20','backtrace','root','wVwDN','finished_at','beforeAll','push','../../../helpers/test-observability/error-handler.js','../TestInfo.js','MAwom','JlniE','configureGit','seKsV','testAnalyticsId','result','TestRunFinished','toString','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','recreateIdentifierFromTestInfo','expect','currentTest','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','171311ILydbw','HookRunFinished','getHierarchy','nBQqv','efwTa','__jestCurrentTestIdentifier','501tKBRCB','clearHooksMap','err','13788CpfHdm','fullName','SRfyj',':jest-','inspect','vLSPv','qjtRT','createHookData','Exception\x20in\x20getHookRunEventData:\x20','ilNoF','duration','ROOT_DESCRIBE_BLOCK','isJestInternalHook','extractTestFilePath','expanded','ARSEW','skipped','jfERt','Unknown\x20Test','dETdV','getRootParentFile','debug','1886814LqCZIt','name','HookRunStarted','Exception\x20in\x20createHookData:\x20','errorsDetailed','TestRunSkipped','failed','EAwPu','yDxtH','started_at','apply','MrHcv','[jestUtils]\x20Error\x20creating\x20identifier:\x20','failure','md5','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','getTime','error','stack','../../../helpers/stackFrameUtils','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','getState','FJehy','toISOString','jest-circus','cAUzL','_gitConfigured','getTestIdentifier','beforeEach','Exception\x20in\x20createTestFrameworkData:\x20','failure_type','test'];a102_0x1eae=function(){return _0xf9dae8;};return a102_0x1eae();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a103_0x301e10=a103_0x152b;(function(_0x2cad70,_0x96bc98){const _0x20bb8a=a103_0x152b,_0x132c61=_0x2cad70();while(!![]){try{const _0x31d0be=parseInt(_0x20bb8a(0x164))/0x1+-parseInt(_0x20bb8a(0x15f))/0x2+-parseInt(_0x20bb8a(0x15a))/0x3+parseInt(_0x20bb8a(0x169))/0x4*(-parseInt(_0x20bb8a(0x175))/0x5)+-parseInt(_0x20bb8a(0x155))/0x6+-parseInt(_0x20bb8a(0x14d))/0x7+-parseInt(_0x20bb8a(0x16a))/0x8*(-parseInt(_0x20bb8a(0x154))/0x9);if(_0x31d0be===_0x96bc98)break;else _0x132c61['push'](_0x132c61['shift']());}catch(_0x22ece9){_0x132c61['push'](_0x132c61['shift']());}}}(a103_0x50cc,0xe1ba8));const fs=require('fs'),path=require(a103_0x301e10(0x152)),{default:BrowserStackSetup}=require(a103_0x301e10(0x14e)),helper=require('../../helpers/helper'),PerformanceTester=require(a103_0x301e10(0x16c)),PerformanceEvents=require(a103_0x301e10(0x15c))['EVENTS'],utilities=require(a103_0x301e10(0x14a)),{parallelVanillaRun}=require(a103_0x301e10(0x153)),TestHubHandler=require(a103_0x301e10(0x174));async function run(_0x54acc1,_0xdda233,_0x33b0c4){const _0x197986=a103_0x301e10,_0x2a8075={'DsNGj':_0x197986(0x15e),'cEmDy':function(_0xafa910,_0x20f10f){return _0xafa910(_0x20f10f);},'wkpam':_0x197986(0x16e),'aHgUn':function(_0x138ab7,_0x30a680){return _0x138ab7(_0x30a680);},'BwLhe':function(_0x47e4e9,_0x2517c2){return _0x47e4e9(_0x2517c2);},'MFAEv':'Config\x20yml\x20is\x20required','YdEpx':function(_0x3302c0,_0xa90f94){return _0x3302c0>_0xa90f94;},'BeWBu':function(_0xecb84e,_0x21a4a7){return _0xecb84e*_0x21a4a7;},'hxhvY':function(_0x22e200,_0x48ef34,_0x4e03f9){return _0x22e200(_0x48ef34,_0x4e03f9);}};await _0x33b0c4[_0x197986(0x15b)](_0x54acc1),await helper[_0x197986(0x145)](_0x33b0c4[_0x197986(0x158)]);const _0x223552=[];if(helper['isUndefined'](_0x54acc1['_'][0x1]))throw _0x2a8075['cEmDy'](Error,_0x2a8075[_0x197986(0x147)]);const _0x431a80=path['join'](process[_0x197986(0x162)](),_0x54acc1['_'][0x1]);if(!fs[_0x197986(0x167)](_0x431a80))throw _0x2a8075[_0x197986(0x14b)](Error,_0x197986(0x16b)+_0x54acc1['_'][0x1]+_0x197986(0x15d));if(!_0x33b0c4['config'])throw _0x2a8075[_0x197986(0x17c)](Error,_0x2a8075['MFAEv']);const _0x41a20d=helper[_0x197986(0x179)](_0x33b0c4[_0x197986(0x158)]);_0x33b0c4[_0x197986(0x158)]['platforms']&&_0x2a8075[_0x197986(0x172)](_0x33b0c4['config'][_0x197986(0x148)][_0x197986(0x16f)],0x0)&&_0x33b0c4[_0x197986(0x158)][_0x197986(0x148)][_0x197986(0x166)]((_0x24672b,_0x1f62d8)=>{const _0x2ceb18=_0x197986;_0x41a20d?_0x223552['push'](helper[_0x2ceb18(0x173)](_0x33b0c4[_0x2ceb18(0x158)],_0x2a8075[_0x2ceb18(0x156)],_0x1f62d8)):_0x223552[_0x2ceb18(0x146)](helper[_0x2ceb18(0x14f)](_0x33b0c4[_0x2ceb18(0x158)],_0x2a8075[_0x2ceb18(0x156)],_0x1f62d8));});let _0xec6220,_0xca8f7d;const _0xafe958=[];if(_0x2a8075[_0x197986(0x172)](_0x223552[_0x197986(0x16f)],0x0))_0x223552['forEach']((_0x3a11a7,_0x570714)=>{const _0x3257cf=_0x197986,_0x5d67e8={};_0x5d67e8[_0x3257cf(0x17b)]=_0x570714,_0xec6220={'server':helper[_0x3257cf(0x150)](_0x33b0c4[_0x3257cf(0x158)]),'proxySettings':_0x33b0c4[_0x3257cf(0x158)]['proxySettings'],'platform':helper[_0x3257cf(0x159)](_0x3a11a7),'platformCaps':Object[_0x3257cf(0x157)](_0x5d67e8,_0x33b0c4[_0x3257cf(0x158)][_0x3257cf(0x148)][_0x570714])};const _0xdcac88={'capability':_0x3a11a7,..._0xec6220};_0xdcac88[_0x3257cf(0x165)]=_0x431a80,_0xdcac88[_0x3257cf(0x16d)]=_0xdda233;const _0x56288d={};_0x56288d[_0x3257cf(0x178)]=_0xdcac88,_0xca8f7d=_0x56288d,_0xafe958[_0x3257cf(0x146)](_0xca8f7d);});else{let _0x4500f3;_0x41a20d?_0x4500f3=helper[_0x197986(0x173)](_0x33b0c4[_0x197986(0x158)],_0x2a8075[_0x197986(0x156)],0x0):_0x4500f3=helper[_0x197986(0x14f)](_0x33b0c4[_0x197986(0x158)],_0x2a8075[_0x197986(0x156)],0x0);_0xec6220={'server':helper[_0x197986(0x150)](_0x33b0c4[_0x197986(0x158)]),'proxySettings':_0x33b0c4[_0x197986(0x158)]['proxySettings']};const _0x37bdb5={'capability':_0x4500f3,..._0xec6220};_0x37bdb5[_0x197986(0x165)]=_0x431a80,_0x37bdb5[_0x197986(0x16d)]=_0xdda233;const _0x38e759={};_0x38e759[_0x197986(0x178)]=_0x37bdb5,_0xca8f7d=_0x38e759,_0xafe958['push'](_0xca8f7d);}const _0x50b1f9=await TestHubHandler[_0x197986(0x171)](_0x2a8075[_0x197986(0x156)],_0x33b0c4),_0x2d4ffe=_0x2a8075[_0x197986(0x151)](_0x33b0c4[_0x197986(0x158)][_0x197986(0x148)][_0x197986(0x16f)]||0x1,_0x33b0c4[_0x197986(0x158)][_0x197986(0x17a)]||0x1);PerformanceTester[_0x197986(0x163)](PerformanceEvents[_0x197986(0x176)]),_0x2a8075[_0x197986(0x177)](parallelVanillaRun,_0xafe958,_0x2d4ffe)[_0x197986(0x161)](_0x41f141=>{})[_0x197986(0x160)](async()=>{const _0xe1d6e6=_0x197986;PerformanceTester[_0xe1d6e6(0x14c)](PerformanceEvents[_0xe1d6e6(0x149)]),await utilities[_0xe1d6e6(0x168)](_0x33b0c4);});}function a103_0x50cc(){const _0x44acfe=['873324TIzAvX','DsNGj','assign','config','getPlatformName','5045430QGriMs','initialize','../../helpers/performance/constants','\x20doesn\x27t\x20exist','vanilla','1621952UHUXcm','finally','then','cwd','end','1789990Xdyvpd','file','forEach','existsSync','finalExecution','3675376kPUrOV','8CPGWYT','File\x20','../../helpers/performance/performance-tester','args','File\x20path\x20is\x20required','length','exports','launchBuild','YdEpx','modifyBrowserStackW3CCaps','../../helpers/testhub/testhubHandler','5dEUtsw','SDK_SETUP','hxhvY','configuration','useW3C','parallelsPerPlatform','index','BwLhe','handleApp','push','wkpam','platforms','SDK_CLEANUP','../../helpers/utilities','aHgUn','start','372414ezuuOp','../../helpers/BrowserStackSetup','modifyBrowserStackCaps','getHubUrl','BeWBu','path','../test-runner','24704820iVphFG'];a103_0x50cc=function(){return _0x44acfe;};return a103_0x50cc();}function a103_0x152b(_0xaeb435,_0x3240da){const _0x50cc0d=a103_0x50cc();return a103_0x152b=function(_0x152bb7,_0x583555){_0x152bb7=_0x152bb7-0x145;let _0x2bc588=_0x50cc0d[_0x152bb7];return _0x2bc588;},a103_0x152b(_0xaeb435,_0x3240da);}module[a103_0x301e10(0x170)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a104_0x6b686e=a104_0x4bbd;function a104_0x30c1(){const _0x826b3d=['979346jtJKaY','browserName','oVnrU','browserVersion','exports','set','5fyTBhp','710RBVJRk','msdmv','getCurrentPlatform','wzhMI','customVariables','sesGV','354rZSRuD','./helpers/metadata','BVZtq','8EDnMcW','KUKDS','PXwJM','browser_version','XpepV','__platformCaps','162768jaePiI','kYyvL','mRjwV','platform_version','auzmV','deviceName','117468CQWfKB','6549631atejVy','ECpJT','29864JllwRc','2112334yjLwWu','setTestMetadata','browser','8170926fYlcGA','osVersion','os_version','gPNQZ','platformName'];a104_0x30c1=function(){return _0x826b3d;};return a104_0x30c1();}(function(_0x403b5d,_0x145ec0){const _0x2b3042=a104_0x4bbd,_0x48d154=_0x403b5d();while(!![]){try{const _0x25da4f=-parseInt(_0x2b3042(0x185))/0x1+parseInt(_0x2b3042(0x173))/0x2+parseInt(_0x2b3042(0x192))/0x3*(parseInt(_0x2b3042(0x17c))/0x4)+-parseInt(_0x2b3042(0x18b))/0x5*(-parseInt(_0x2b3042(0x180))/0x6)+-parseInt(_0x2b3042(0x17d))/0x7*(parseInt(_0x2b3042(0x195))/0x8)+parseInt(_0x2b3042(0x179))/0x9*(-parseInt(_0x2b3042(0x18c))/0xa)+parseInt(_0x2b3042(0x17a))/0xb;if(_0x25da4f===_0x145ec0)break;else _0x48d154['push'](_0x48d154['shift']());}catch(_0x579dcb){_0x48d154['push'](_0x48d154['shift']());}}}(a104_0x30c1,0xadc86));function a104_0x4bbd(_0x5c7189,_0x2aec31){const _0x30c1dd=a104_0x30c1();return a104_0x4bbd=function(_0x4bbdb1,_0x149047){_0x4bbdb1=_0x4bbdb1-0x172;let _0x23b9fe=_0x30c1dd[_0x4bbdb1];return _0x23b9fe;},a104_0x4bbd(_0x5c7189,_0x2aec31);}const TestMetadata=require(a104_0x6b686e(0x193));class BrowserStackSdk{static[a104_0x6b686e(0x18e)](){const _0x4d58ad=a104_0x6b686e,_0x3a3141={};_0x3a3141[_0x4d58ad(0x175)]=_0x4d58ad(0x182),_0x3a3141['wzhMI']=_0x4d58ad(0x181),_0x3a3141['ECpJT']=_0x4d58ad(0x17f),_0x3a3141[_0x4d58ad(0x199)]=_0x4d58ad(0x186),_0x3a3141[_0x4d58ad(0x197)]=_0x4d58ad(0x198),_0x3a3141[_0x4d58ad(0x196)]=_0x4d58ad(0x188),_0x3a3141[_0x4d58ad(0x191)]='device',_0x3a3141['gPNQZ']=_0x4d58ad(0x178),_0x3a3141[_0x4d58ad(0x174)]='platform',_0x3a3141[_0x4d58ad(0x194)]=_0x4d58ad(0x184),_0x3a3141[_0x4d58ad(0x18d)]=_0x4d58ad(0x176),_0x3a3141[_0x4d58ad(0x187)]='platformVersion',_0x3a3141[_0x4d58ad(0x177)]=_0x4d58ad(0x190);const _0x5e1371=_0x3a3141,_0x30a93f={};if(global['__platformCaps']){const _0x1b3d62=global[_0x4d58ad(0x172)],_0x3e11f1=_0x1b3d62[_0x5e1371['mRjwV']]||_0x1b3d62[_0x5e1371[_0x4d58ad(0x18f)]],_0x559db4=_0x1b3d62[_0x5e1371[_0x4d58ad(0x17b)]]||_0x1b3d62[_0x5e1371[_0x4d58ad(0x199)]],_0x2a5067=_0x1b3d62[_0x5e1371['PXwJM']]||_0x1b3d62[_0x5e1371['KUKDS']],_0x4c73e8=_0x1b3d62[_0x5e1371['sesGV']]||_0x1b3d62[_0x5e1371[_0x4d58ad(0x183)]],_0xf724ba=_0x1b3d62[_0x5e1371[_0x4d58ad(0x174)]]||_0x1b3d62[_0x5e1371['BVZtq']],_0x3a018e=_0x1b3d62[_0x5e1371['msdmv']]||_0x1b3d62[_0x5e1371[_0x4d58ad(0x187)]];_0x1b3d62['os']&&(_0x30a93f['os']=_0x1b3d62['os']),_0x3e11f1&&(_0x30a93f[_0x5e1371['wzhMI']]=_0x3e11f1),_0x559db4&&(_0x30a93f[_0x5e1371[_0x4d58ad(0x199)]]=_0x559db4),_0x2a5067&&(_0x30a93f[_0x5e1371['KUKDS']]=_0x2a5067),_0x4c73e8&&(_0x30a93f[_0x5e1371[_0x4d58ad(0x183)]]=_0x4c73e8),_0xf724ba&&(_0x30a93f[_0x5e1371[_0x4d58ad(0x194)]]=_0xf724ba),_0x3a018e&&(_0x30a93f[_0x5e1371[_0x4d58ad(0x187)]]=_0x3a018e),_0x1b3d62[_0x5e1371[_0x4d58ad(0x177)]]&&(_0x30a93f[_0x5e1371[_0x4d58ad(0x177)]]=_0x1b3d62[_0x5e1371[_0x4d58ad(0x177)]]);}return _0x30a93f;}static[a104_0x6b686e(0x17e)](_0x285769={}){const _0x3e511f=a104_0x6b686e;TestMetadata[_0x3e511f(0x18a)](_0x285769);}}module[a104_0x6b686e(0x189)]=BrowserStackSdk;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a105_0x3c34(_0x2a7b50,_0x3a5cf8){const _0x738757=a105_0x7387();return a105_0x3c34=function(_0x3c3444,_0x55fab7){_0x3c3444=_0x3c3444-0x1d2;let _0x266bb2=_0x738757[_0x3c3444];return _0x266bb2;},a105_0x3c34(_0x2a7b50,_0x3a5cf8);}const a105_0x10371d=a105_0x3c34;(function(_0x2a6d60,_0x54afd7){const _0x599fcf=a105_0x3c34,_0x547d8e=_0x2a6d60();while(!![]){try{const _0x27ec36=parseInt(_0x599fcf(0x268))/0x1+parseInt(_0x599fcf(0x225))/0x2+parseInt(_0x599fcf(0x250))/0x3+-parseInt(_0x599fcf(0x211))/0x4*(-parseInt(_0x599fcf(0x23a))/0x5)+parseInt(_0x599fcf(0x29a))/0x6*(parseInt(_0x599fcf(0x2bf))/0x7)+-parseInt(_0x599fcf(0x23e))/0x8*(-parseInt(_0x599fcf(0x1fd))/0x9)+parseInt(_0x599fcf(0x292))/0xa*(-parseInt(_0x599fcf(0x2ba))/0xb);if(_0x27ec36===_0x54afd7)break;else _0x547d8e['push'](_0x547d8e['shift']());}catch(_0x465015){_0x547d8e['push'](_0x547d8e['shift']());}}}(a105_0x7387,0x44470));const util=require(a105_0x10371d(0x2d7)),os=require('os'),path=require(a105_0x10371d(0x26e)),{v4:uuidv4}=require(a105_0x10371d(0x1f2)),fs=require('fs'),constants=require(a105_0x10371d(0x212)),logger=require(a105_0x10371d(0x290))['winstonLogger'],fileLogger=require('./logger')[a105_0x10371d(0x258)],{getLogDir}=require(a105_0x10371d(0x290)),helper=require(a105_0x10371d(0x2a0)),utilities=require(a105_0x10371d(0x209)),percyHelper=require(a105_0x10371d(0x26d)),hubAllocator=require(a105_0x10371d(0x266)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a105_0x10371d(0x284)),{setPercyFlag}=require(a105_0x10371d(0x254)),TestHubHandler=require(a105_0x10371d(0x2c0)),timeoutPromise=require(a105_0x10371d(0x206)),BrowserstackCLI=require(a105_0x10371d(0x2e1)),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require('../bin/utils/apiUtilityMethods'),ClientTroubleShootingService=require(a105_0x10371d(0x28a));class BrowserStackSetup{constructor(_0xe6e3d3,_0x5becb9){const _0x4efd7b=a105_0x10371d,_0x137910={'MTwYp':_0x4efd7b(0x2e6),'UmllI':function(_0x22e0b9){return _0x22e0b9();},'gTAwe':_0x4efd7b(0x2e4),'uCRKD':function(_0x488aa8,_0x22f138){return _0x488aa8(_0x22f138);},'CdrOa':'./caCertHelper'},_0x47d733=_0x137910[_0x4efd7b(0x1fb)][_0x4efd7b(0x238)]('|');let _0x339992=0x0;while(!![]){switch(_0x47d733[_0x339992++]){case'0':this['config']['platforms']=this['config'][_0x4efd7b(0x2b8)]||[];continue;case'1':helper[_0x4efd7b(0x2d2)]();continue;case'2':helper[_0x4efd7b(0x253)](this[_0x4efd7b(0x26f)],this[_0x4efd7b(0x255)],this[_0x4efd7b(0x2d5)]);continue;case'3':PerformanceTester[_0x4efd7b(0x2c9)]();continue;case'4':helper['setLogDir'](this[_0x4efd7b(0x26f)]);continue;case'5':this[_0x4efd7b(0x255)]=helper[_0x4efd7b(0x1e2)](_0xe6e3d3);continue;case'6':this[_0x4efd7b(0x26a)]=_0x137910[_0x4efd7b(0x280)](uuidv4);continue;case'7':helper[_0x4efd7b(0x2c3)](this[_0x4efd7b(0x26f)],this[_0x4efd7b(0x255)]);continue;case'8':this[_0x4efd7b(0x24d)]=null;continue;case'9':this[_0x4efd7b(0x277)]=null;continue;case'10':this['configPath']=helper[_0x4efd7b(0x2bc)](_0xe6e3d3);continue;case'11':this['config'][_0x4efd7b(0x20f)]=this['config'][_0x4efd7b(0x20f)]||{};continue;case'12':if(this['config'][_0x4efd7b(0x2aa)])throw new Error(this[_0x4efd7b(0x26f)][_0x4efd7b(0x2aa)]);continue;case'13':if(helper[_0x4efd7b(0x247)](this['config']))throw new Error(_0x137910[_0x4efd7b(0x2c7)]);continue;case'14':this['unhandledErrors']=[];continue;case'15':this[_0x4efd7b(0x26f)][_0x4efd7b(0x20f)][_0x4efd7b(0x21c)]=!helper[_0x4efd7b(0x272)]()||helper['isTrue'](this[_0x4efd7b(0x26f)][_0x4efd7b(0x20f)][_0x4efd7b(0x21c)]);continue;case'16':this[_0x4efd7b(0x2d5)]=helper['setEnvCaps']();continue;case'17':global[_0x4efd7b(0x221)]=_0x5becb9;continue;case'18':this[_0x4efd7b(0x26f)]['testContextOptions'][_0x4efd7b(0x1d7)]=!helper[_0x4efd7b(0x272)]()||helper['isTrue'](this['config'][_0x4efd7b(0x20f)]['skipSessionName']);continue;case'19':helper[_0x4efd7b(0x2ac)](this[_0x4efd7b(0x26f)]);continue;case'20':this[_0x4efd7b(0x2e3)]={};continue;case'21':try{_0x137910[_0x4efd7b(0x232)](require,_0x137910[_0x4efd7b(0x1f8)])['setupCaCertificate'](this['config'],logger);}catch(_0x3544ae){}continue;case'22':helper[_0x4efd7b(0x2c5)](this[_0x4efd7b(0x26f)],this[_0x4efd7b(0x255)],this[_0x4efd7b(0x2d5)]);continue;case'23':helper[_0x4efd7b(0x216)](this[_0x4efd7b(0x26f)],this['cliConfig'],this[_0x4efd7b(0x2d5)]);continue;case'24':this['config']=helper[_0x4efd7b(0x22f)](this[_0x4efd7b(0x2cc)]);continue;case'25':this[_0x4efd7b(0x221)]=_0x5becb9;continue;}break;}}[a105_0x10371d(0x2a7)](_0x3f81d1){const _0x1c8692=a105_0x10371d,_0x119b0b={'cfzKT':_0x1c8692(0x2a3),'jFUoV':function(_0x3981f9,_0x44cb79){return _0x3981f9===_0x44cb79;},'aebcA':function(_0x4584df,_0x2681ba){return _0x4584df===_0x2681ba;},'AbrHh':_0x1c8692(0x267),'dfzYe':_0x1c8692(0x1f4),'bmFxK':function(_0x490987,_0x58920d){return _0x490987<_0x58920d;},'YwviD':function(_0x2d43ec,_0x14dc62){return _0x2d43ec(_0x14dc62);},'AXAND':_0x1c8692(0x29e),'WcAIG':function(_0x452016,_0x3b9bec){return _0x452016===_0x3b9bec;},'KYPOS':'4.5.0','kQXvM':_0x1c8692(0x265),'YiTmF':_0x1c8692(0x1e7),'QNRDQ':_0x1c8692(0x214),'yxCNG':_0x1c8692(0x274),'MXkXT':_0x1c8692(0x286),'iRqfp':function(_0x58878e,_0x48ff31){return _0x58878e!==_0x48ff31;},'uBNlv':_0x1c8692(0x20c),'SvqOS':_0x1c8692(0x22e),'NCbvb':_0x1c8692(0x29b),'qvdfV':_0x1c8692(0x269),'gmlwW':_0x1c8692(0x2e7)},_0x41acb8=this['framework'];global[_0x1c8692(0x26f)]=this[_0x1c8692(0x26f)],helper[_0x1c8692(0x233)](this['config']),this[_0x1c8692(0x203)]=null,global[_0x1c8692(0x26a)]=this[_0x1c8692(0x26a)],logger[_0x1c8692(0x20e)](_0x1c8692(0x2ad)+this['sdkRunId']),!this[_0x1c8692(0x26f)][_0x1c8692(0x22d)]&&(this[_0x1c8692(0x26f)][_0x1c8692(0x22d)]=this[_0x1c8692(0x26f)][_0x1c8692(0x2a5)]||{});if(helper[_0x1c8692(0x247)](helper['getUserName'](this[_0x1c8692(0x26f)]))||helper['isUndefined'](helper[_0x1c8692(0x1f9)](this[_0x1c8692(0x26f)])))throw new Error(_0x119b0b['cfzKT']);helper[_0x1c8692(0x2cb)](this[_0x1c8692(0x26f)])&&helper['isUndefined'](helper['getLocalIdentifier'](this[_0x1c8692(0x26f)]))&&(!helper['isUndefined'](this[_0x1c8692(0x26f)][_0x1c8692(0x22d)])&&_0x119b0b['jFUoV'](this[_0x1c8692(0x26f)][_0x1c8692(0x22d)]['constructor'],Object)?!helper['isTrue'](this[_0x1c8692(0x26f)][_0x1c8692(0x22d)]['skipBinaryInitialisation'])&&(this[_0x1c8692(0x26f)]['browserStackLocalOptions']['localIdentifier']=helper[_0x1c8692(0x2a4)]()):this[_0x1c8692(0x26f)][_0x1c8692(0x22d)]={'localIdentifier':helper[_0x1c8692(0x2a4)]()});this[_0x1c8692(0x26f)][_0x1c8692(0x22d)][_0x1c8692(0x24f)]=helper[_0x1c8692(0x20a)](this['config']['browserStackLocalOptions']['skipBinaryInitialisation']),helper[_0x1c8692(0x242)](this[_0x1c8692(0x26f)]);if(_0x119b0b[_0x1c8692(0x27d)](_0x41acb8,_0x119b0b[_0x1c8692(0x246)]))return;this[_0x1c8692(0x1e9)]();process[_0x1c8692(0x2c8)][_0x1c8692(0x2b4)]&&(this[_0x1c8692(0x26f)]['turboScale']=helper[_0x1c8692(0x20a)](process['env'][_0x1c8692(0x2b4)]),this['config'][_0x1c8692(0x2dd)]=this[_0x1c8692(0x26f)][_0x1c8692(0x2dd)]||{});helper[_0x1c8692(0x1db)](this[_0x1c8692(0x26f)])&&(process['env']['BROWSERSTACK_TURBOSCALE']=!![]);LoadTestModule[_0x1c8692(0x1d9)](this['config'])&&logger['debug'](_0x1c8692(0x239)+this[_0x1c8692(0x26a)]);if(!helper['isBrowserstackInfra']()){try{process[_0x1c8692(0x2c8)][_0x1c8692(0x2b9)]=_0x41acb8,utilities[_0x1c8692(0x1d6)](_0x119b0b[_0x1c8692(0x256)],{},this[_0x1c8692(0x26f)],this[_0x1c8692(0x221)]);}catch(_0x30dabc){logger[_0x1c8692(0x2df)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x30dabc);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x41acb8)){if(global[_0x1c8692(0x296)]||global[_0x1c8692(0x21b)])return;_0x119b0b[_0x1c8692(0x25d)](_0x119b0b['YwviD'](parseInt,helper[_0x1c8692(0x28c)](_0x119b0b['AXAND'])),0x3)&&(this[_0x1c8692(0x26f)][_0x1c8692(0x2c6)]=![]),_0x119b0b[_0x1c8692(0x2d6)](helper['compareVersions'](helper[_0x1c8692(0x28c)](_0x119b0b[_0x1c8692(0x1e0)]),_0x119b0b[_0x1c8692(0x2b7)]),0x1)&&(this[_0x1c8692(0x26f)]['useW3C']=!![]);}(helper['isUndefined'](this[_0x1c8692(0x26f)]['platforms'])||helper['isUndefined'](this[_0x1c8692(0x26f)][_0x1c8692(0x2b8)]['length']))&&(helper['isUndefined'](this[_0x1c8692(0x26f)][_0x1c8692(0x27e)])?logger[_0x1c8692(0x20e)](_0x119b0b[_0x1c8692(0x2c1)]):logger['warn'](_0x119b0b[_0x1c8692(0x2b6)]),this[_0x1c8692(0x26f)][_0x1c8692(0x2b8)]=[]);!this['config'][_0x1c8692(0x20f)]&&(this[_0x1c8692(0x26f)]['testContextOptions']={});try{process[_0x1c8692(0x2c8)][_0x1c8692(0x2b9)]=_0x3f81d1['_'][0x0],utilities[_0x1c8692(0x1d6)](_0x119b0b['dfzYe'],{},this['config'],this[_0x1c8692(0x221)]);}catch(_0x560799){logger[_0x1c8692(0x2df)](_0x1c8692(0x2cf)+_0x560799);}!this['config'][_0x1c8692(0x1d3)]&&logger[_0x1c8692(0x20e)](constants[_0x1c8692(0x293)]),this[_0x1c8692(0x271)]=this[_0x1c8692(0x271)][_0x1c8692(0x228)](this),process['on'](_0x119b0b['QNRDQ'],this[_0x1c8692(0x271)]),process['on'](_0x119b0b[_0x1c8692(0x226)],this[_0x1c8692(0x271)]),process['on'](_0x119b0b[_0x1c8692(0x26b)],this['intExitHandler']),_0x119b0b[_0x1c8692(0x2dc)](process[_0x1c8692(0x1ff)],_0x119b0b[_0x1c8692(0x289)])?(process['on'](_0x119b0b['SvqOS'],this['intExitHandler']),process['on'](_0x119b0b['NCbvb'],this['intExitHandler'])):process['on'](_0x119b0b['qvdfV'],this[_0x1c8692(0x271)]),process['on'](_0x119b0b['gmlwW'],this['exitHandler']());}async[a105_0x10371d(0x2ce)](_0x29901d){const _0x4c3973=a105_0x10371d,_0x2d6e54={'uAqiP':_0x4c3973(0x270),'Xvqoe':_0x4c3973(0x2d0),'FRLSq':_0x4c3973(0x2ca),'mxBFa':function(_0xb6564,_0x480b67){return _0xb6564===_0x480b67;},'uhnxI':_0x4c3973(0x235),'asAGZ':function(_0x2469d2,_0x4dc51f){return _0x2469d2+_0x4dc51f;},'vqXcc':_0x4c3973(0x249),'DxqHC':function(_0x14b583,_0x2f7882){return _0x14b583(_0x2f7882);},'bSSWi':'codeceptjs'};this[_0x4c3973(0x2a7)](_0x29901d);if(helper[_0x4c3973(0x1db)](this[_0x4c3973(0x26f)])){const _0x2e61e8=await helper[_0x4c3973(0x28f)](this[_0x4c3973(0x26f)]);this['config']['turboScaleGridDetails']=_0x2e61e8,_0x2e61e8[_0x4c3973(0x223)]&&helper[_0x4c3973(0x279)](this[_0x4c3973(0x26f)][_0x4c3973(0x277)])&&helper[_0x4c3973(0x20a)](this[_0x4c3973(0x26f)][_0x4c3973(0x277)])&&(this[_0x4c3973(0x26f)]['browserStackLocalOptions'][_0x4c3973(0x295)]=_0x2d6e54[_0x4c3973(0x1e3)],this['config'][_0x4c3973(0x22d)][_0x2d6e54[_0x4c3973(0x1e8)]]=_0x2e61e8[_0x4c3973(0x241)][_0x4c3973(0x252)](','),this[_0x4c3973(0x26f)][_0x4c3973(0x22d)][_0x4c3973(0x207)]=_0x2d6e54[_0x4c3973(0x1ed)]),this['config'][_0x4c3973(0x245)]=_0x2e61e8[_0x4c3973(0x1e6)],this['framework']&&_0x2d6e54[_0x4c3973(0x231)](this[_0x4c3973(0x221)][_0x4c3973(0x294)](),_0x2d6e54[_0x4c3973(0x23c)])?this[_0x4c3973(0x26f)][_0x4c3973(0x245)]=_0x2d6e54[_0x4c3973(0x200)](_0x2e61e8[_0x4c3973(0x2af)],_0x2d6e54['vqXcc']):constants['hubUrl']=helper[_0x4c3973(0x1de)](this[_0x4c3973(0x26f)]),logger[_0x4c3973(0x2df)]('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants[_0x4c3973(0x2a6)]);}helper['setProxySettings'](this[_0x4c3973(0x26f)]),this[_0x4c3973(0x21a)](),_0x2d6e54[_0x4c3973(0x2d3)](setPercyFlag,this),await this[_0x4c3973(0x282)](),![_0x2d6e54[_0x4c3973(0x25f)],_0x2d6e54['uhnxI']][_0x4c3973(0x240)](this[_0x4c3973(0x221)])&&!helper['isTurboScaleSession'](this['config'])&&!helper['getCentralUser']()['central_scanner']&&await this['setUpHubUrl']();}async[a105_0x10371d(0x21d)](){const _0xa02b4c=a105_0x10371d,_0x2d1b5d={};_0x2d1b5d['lOyRK']=function(_0x2a6dac,_0x35ca55){return _0x2a6dac===_0x35ca55;},_0x2d1b5d[_0xa02b4c(0x224)]=_0xa02b4c(0x281),_0x2d1b5d[_0xa02b4c(0x24b)]=_0xa02b4c(0x217),_0x2d1b5d['ozHIR']='Percy\x20started\x20successfully',_0x2d1b5d[_0xa02b4c(0x2bb)]=_0xa02b4c(0x2ca),_0x2d1b5d[_0xa02b4c(0x23d)]='beforeExit';const _0xec70eb=_0x2d1b5d;if(helper[_0xa02b4c(0x20a)](this[_0xa02b4c(0x26f)]['percy'])&&(!this[_0xa02b4c(0x24d)]||!this[_0xa02b4c(0x24d)][_0xa02b4c(0x244)]()))try{this[_0xa02b4c(0x24d)]=await percyHelper[_0xa02b4c(0x1e1)](this[_0xa02b4c(0x26f)]);if(!this[_0xa02b4c(0x24d)]){process[_0xa02b4c(0x2c8)][_0xa02b4c(0x291)]=_0xec70eb[_0xa02b4c(0x224)];throw new Error(_0xec70eb[_0xa02b4c(0x24b)]);}logger[_0xa02b4c(0x20e)](_0xec70eb[_0xa02b4c(0x219)]),process[_0xa02b4c(0x2c8)][_0xa02b4c(0x291)]=_0xec70eb['FfJhh'];let _0x294580=0x0;const _0x2d58e6=async()=>{const _0x31361c=_0xa02b4c;_0x294580++,_0xec70eb[_0x31361c(0x261)](_0x294580,0x1)&&await this[_0x31361c(0x288)]();};process['on'](_0xec70eb[_0xa02b4c(0x23d)],_0x2d58e6);}catch(_0x376ed7){process[_0xa02b4c(0x2c8)][_0xa02b4c(0x291)]=_0xec70eb[_0xa02b4c(0x224)],logger[_0xa02b4c(0x2df)](_0xa02b4c(0x259)+_0x376ed7);throw new Error(_0x376ed7[_0xa02b4c(0x262)]());}}async['stopPercy'](){const _0x16979d=a105_0x10371d,_0x1cbb32={};_0x1cbb32['UVxsl']='Percy\x20stopped',_0x1cbb32[_0x16979d(0x1df)]=_0x16979d(0x243);const _0x540366=_0x1cbb32;if(this[_0x16979d(0x24d)]&&this['percy']['isRunning']())try{await percyHelper['stopPercy'](this[_0x16979d(0x24d)]),logger[_0x16979d(0x20e)](_0x540366[_0x16979d(0x2c4)]);}catch(_0x4c48ed){logger[_0x16979d(0x2aa)](_0x540366[_0x16979d(0x1df)],_0x4c48ed[_0x16979d(0x1eb)]);}}async[a105_0x10371d(0x282)](){const _0x1e024a=a105_0x10371d,_0x35f17f={};_0x35f17f[_0x1e024a(0x248)]=_0x1e024a(0x220),_0x35f17f[_0x1e024a(0x28b)]=_0x1e024a(0x27a);const _0x2fe7f1=_0x35f17f;if(helper[_0x1e024a(0x272)]()&&helper[_0x1e024a(0x20a)](this['config'][_0x1e024a(0x277)])&&(!this['browserstackLocal']||!this[_0x1e024a(0x277)]['isRunning']()))try{if(this[_0x1e024a(0x26f)][_0x1e024a(0x22d)][_0x1e024a(0x24f)]){logger[_0x1e024a(0x2df)](_0x2fe7f1[_0x1e024a(0x248)]);return;}this[_0x1e024a(0x277)]=await helper['startLocalBinary'](this[_0x1e024a(0x26f)]),logger[_0x1e024a(0x20e)](_0x2fe7f1[_0x1e024a(0x28b)]);}catch(_0x5e4b83){logger[_0x1e024a(0x2df)](_0x5e4b83);throw new Error(_0x5e4b83['toString']());}}async['stopBrowserstackLocal'](){const _0x2dc169=a105_0x10371d,_0x110f7b={};_0x110f7b['FjPdW']=_0x2dc169(0x237),_0x110f7b[_0x2dc169(0x1d2)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x398509=_0x110f7b;if(this[_0x2dc169(0x277)]&&this[_0x2dc169(0x277)][_0x2dc169(0x244)]())try{await helper[_0x2dc169(0x28e)](this['browserstackLocal']),logger[_0x2dc169(0x20e)](_0x398509['FjPdW']);}catch(_0x5bc473){logger[_0x2dc169(0x2aa)](_0x398509['VjJky'],_0x5bc473[_0x2dc169(0x1eb)]);}}async[a105_0x10371d(0x263)](){const _0x244d4d=a105_0x10371d;return PerformanceTester[_0x244d4d(0x230)](PerformanceAutEvents[_0x244d4d(0x205)],async()=>{const _0x45a9ca=_0x244d4d;await hubAllocator[_0x45a9ca(0x20d)](this[_0x45a9ca(0x26f)]);})();}async[a105_0x10371d(0x21e)](){const _0x2b0e69=a105_0x10371d,_0x45d791={'AzOtP':function(_0x10e6bf,_0x64332a){return _0x10e6bf(_0x64332a);},'lloWR':'../ai-sdk-node/bundle','LnZRQ':function(_0x117085,_0x38b005,_0x39f4f7,_0x38f299,_0xdebb66,_0x4275da,_0x1aa3a7){return _0x117085(_0x38b005,_0x39f4f7,_0x38f299,_0xdebb66,_0x4275da,_0x1aa3a7);},'zNcQk':_0x2b0e69(0x24c),'vacnf':_0x2b0e69(0x1fc),'bIjgh':function(_0x1e0b8c,_0x3511d4){return _0x1e0b8c(_0x3511d4);},'yEtgC':_0x2b0e69(0x22c),'nfSms':_0x2b0e69(0x278),'NZrir':function(_0x57a191,_0x2e52fe){return _0x57a191===_0x2e52fe;},'rfBgY':_0x2b0e69(0x2ca),'qcGdx':function(_0x16ea78,_0xba85f8){return _0x16ea78===_0xba85f8;},'WVCAa':function(_0x28c3b5,_0x26c287){return _0x28c3b5===_0x26c287;},'yBEyl':function(_0x4182a3,_0x59acd1){return _0x4182a3===_0x59acd1;},'UkpSW':_0x2b0e69(0x1d8),'exRlO':_0x2b0e69(0x2b3),'DnLvb':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','Ckhzu':function(_0x2aa6b0,_0x287aad){return _0x2aa6b0(_0x287aad);},'khRnf':_0x2b0e69(0x1f7),'peqIN':function(_0x4f6b05,_0x522e6b){return _0x4f6b05>=_0x522e6b;},'tVHSK':function(_0x49342f,_0x2af059){return _0x49342f<_0x2af059;},'MREvV':function(_0x2f56b9,_0x4d4531){return _0x2f56b9>=_0x4d4531;},'caOVI':_0x2b0e69(0x1f5),'HzSGD':_0x2b0e69(0x251),'QaJoL':function(_0x476610){return _0x476610();}},_0x2f5752=PerformanceTester[_0x2b0e69(0x230)](_0x45d791[_0x2b0e69(0x229)],async()=>{const _0x173eb9=_0x2b0e69;try{const _0x45c371=new Date(),_0x137fda=helper[_0x173eb9(0x24e)](this['config']),_0x254e04=_0x45d791[_0x173eb9(0x24a)](require,path[_0x173eb9(0x252)](__dirname,_0x45d791[_0x173eb9(0x222)])),_0x4df7e4=_0x45d791['LnZRQ'](timeoutPromise,constants[_0x173eb9(0x2e0)],_0x45d791[_0x173eb9(0x297)],_0x45d791[_0x173eb9(0x1d4)],_0x45c371,this['config'],this[_0x173eb9(0x221)]),_0x434bc8={'tcgUrl':constants[_0x173eb9(0x204)],'sdkVersion':_0x45d791['bIjgh'](require,_0x45d791[_0x173eb9(0x1ec)])[_0x173eb9(0x25e)],'methodUsed':_0x45d791['nfSms'],'proxyConfig':_0x137fda,'os':os[_0x173eb9(0x1ff)]()};if(_0x137fda&&_0x137fda[_0x173eb9(0x202)]){utilities['fireFunnelTestEvent'](constants[_0x173eb9(0x1e4)],_0x434bc8,this[_0x173eb9(0x26f)],this[_0x173eb9(0x221)]);return;}const _0x59d535={};_0x59d535['proxy']=_0x137fda;const _0x2cdd63=await Promise[_0x173eb9(0x26c)]([_0x254e04[_0x173eb9(0x283)](this['config']['accessKey'],this[_0x173eb9(0x26f)][_0x173eb9(0x2bd)],constants[_0x173eb9(0x204)],_0x45d791[_0x173eb9(0x2a2)](require,_0x45d791[_0x173eb9(0x1ec)])[_0x173eb9(0x25e)],_0x59d535)['then'](_0x39b0b0=>{const _0x4e69fd=_0x173eb9;return _0x4df7e4[_0x4e69fd(0x285)](),_0x39b0b0;}),_0x4df7e4]);_0x2cdd63[_0x173eb9(0x1fe)]=_0x45d791[_0x173eb9(0x2d1)](_0x2cdd63[_0x173eb9(0x1fe)],_0x45d791['rfBgY'])||_0x45d791['qcGdx'](_0x2cdd63[_0x173eb9(0x1fe)],!![]);const _0x19b456=_0x45d791[_0x173eb9(0x273)](this[_0x173eb9(0x26f)][_0x173eb9(0x21f)],!![])||_0x45d791[_0x173eb9(0x2d1)](this[_0x173eb9(0x26f)][_0x173eb9(0x21f)],_0x45d791[_0x173eb9(0x22b)]);if(_0x45d791['yBEyl'](_0x2cdd63[_0x173eb9(0x1eb)],constants[_0x173eb9(0x2e2)])&&_0x19b456)logger[_0x173eb9(0x20e)](_0x45d791['UkpSW']);else{if(!_0x2cdd63['isAuthenticated']&&_0x45d791[_0x173eb9(0x2b2)](_0x2cdd63[_0x173eb9(0x2d8)],0x1f7)&&_0x19b456)logger[_0x173eb9(0x20e)](_0x45d791[_0x173eb9(0x1e5)]),utilities['fireFunnelTestEvent'](constants[_0x173eb9(0x210)],_0x434bc8,this[_0x173eb9(0x26f)],this[_0x173eb9(0x221)]);else{if(!_0x2cdd63[_0x173eb9(0x227)]&&_0x19b456){logger['info'](_0x45d791['DnLvb']);const _0x51271c={'tcgUrl':constants[_0x173eb9(0x204)],'sdkVersion':_0x45d791[_0x173eb9(0x260)](require,_0x45d791[_0x173eb9(0x1ec)])[_0x173eb9(0x25e)],'methodUsed':_0x45d791[_0x173eb9(0x28d)],'proxyConfig':_0x137fda,'os':os[_0x173eb9(0x1ff)]()};utilities[_0x173eb9(0x1d6)](constants[_0x173eb9(0x29f)],_0x51271c,this[_0x173eb9(0x26f)],this[_0x173eb9(0x221)]);}else{if(_0x2cdd63[_0x173eb9(0x227)]&&!_0x2cdd63[_0x173eb9(0x1fe)]&&_0x19b456)logger[_0x173eb9(0x20e)](_0x45d791[_0x173eb9(0x2cd)]);else{if(_0x45d791[_0x173eb9(0x22a)](_0x2cdd63[_0x173eb9(0x2d8)],0xc8)&&_0x45d791[_0x173eb9(0x25c)](_0x2cdd63[_0x173eb9(0x2d8)],0x12c))utilities[_0x173eb9(0x1d6)](constants[_0x173eb9(0x2db)],_0x434bc8,this[_0x173eb9(0x26f)],this[_0x173eb9(0x221)]);else{if(_0x45d791[_0x173eb9(0x27f)](_0x2cdd63['status'],0x190))_0x434bc8[_0x173eb9(0x2d8)]=_0x2cdd63['status'],utilities[_0x173eb9(0x1d6)](constants[_0x173eb9(0x213)],_0x434bc8,this[_0x173eb9(0x26f)],this[_0x173eb9(0x221)]);else!_0x2cdd63[_0x173eb9(0x2d8)]&&utilities[_0x173eb9(0x1d6)](constants[_0x173eb9(0x2b5)],_0x434bc8,this[_0x173eb9(0x26f)],this[_0x173eb9(0x221)]);}}}}}if(_0x2cdd63[_0x173eb9(0x227)]&&_0x2cdd63[_0x173eb9(0x1fe)]){const _0x1f9d40={};_0x1f9d40['tcgAuthConfig']=_0x2cdd63;const _0x30467d=_0x1f9d40;_0x137fda&&(_0x30467d[_0x173eb9(0x2a8)]=_0x137fda),_0x30467d['framework']=this[_0x173eb9(0x221)],_0x30467d[_0x173eb9(0x23f)]=this[_0x173eb9(0x26f)],helper[_0x173eb9(0x2ab)](_0x30467d),logger['debug'](_0x45d791[_0x173eb9(0x29d)]);}}catch(_0xf21595){logger[_0x173eb9(0x2df)](_0x173eb9(0x29c)+(_0xf21595[_0x173eb9(0x1eb)]?_0xf21595[_0x173eb9(0x1eb)]:''));}});await _0x45d791['QaJoL'](_0x2f5752);}[a105_0x10371d(0x21a)](){const _0xd1d8e3=a105_0x10371d,_0x288b14={'zVsUN':function(_0x5b7ab1,_0x41056c){return _0x5b7ab1(_0x41056c);},'FHHpw':_0xd1d8e3(0x236)};_0x288b14[_0xd1d8e3(0x299)](require,_0x288b14['FHHpw'])();}['handleExceptions'](){const _0x33ac40=a105_0x10371d,_0x3d3be1={};_0x3d3be1[_0x33ac40(0x201)]='4|2|1|0|3',_0x3d3be1[_0x33ac40(0x215)]=_0x33ac40(0x2d4),_0x3d3be1[_0x33ac40(0x2ae)]='uncaughtException';const _0x240c43=_0x3d3be1,_0x45e78f=_0x399c98=>{const _0x3bb27d=_0x33ac40,_0x183115=_0x240c43[_0x3bb27d(0x201)]['split']('|');let _0xd46a84=0x0;while(!![]){switch(_0x183115[_0xd46a84++]){case'0':PerformanceTester[_0x3bb27d(0x2c2)](_0x399c98);continue;case'1':this['unhandledErrors'][_0x3bb27d(0x1ef)](util[_0x3bb27d(0x276)]('%j',_0x399c98));continue;case'2':logger[_0x3bb27d(0x2df)](util['format'](_0x399c98));continue;case'3':ClientTroubleShootingService[_0x3bb27d(0x2be)]();continue;case'4':logger[_0x3bb27d(0x2aa)](_0x399c98[_0x3bb27d(0x1eb)]);continue;}break;}};process['on'](_0x240c43[_0x33ac40(0x215)],_0x45e78f),process['on'](_0x240c43[_0x33ac40(0x2ae)],_0x45e78f);}async[a105_0x10371d(0x271)](_0x4f8880){const _0x257f0d=a105_0x10371d,_0x274876={};_0x274876[_0x257f0d(0x257)]='7|0|1|3|4|6|2|5',_0x274876['UPNkV']=function(_0x4cc5b6,_0x19ecef){return _0x4cc5b6+_0x19ecef;},_0x274876[_0x257f0d(0x25a)]='handled',_0x274876['nkKYM']=function(_0x1c5bd3,_0x46c3cd){return _0x1c5bd3+_0x46c3cd;},_0x274876[_0x257f0d(0x1da)]=_0x257f0d(0x2d9);const _0x5383d4=_0x274876,_0x15b84e=_0x5383d4[_0x257f0d(0x257)][_0x257f0d(0x238)]('|');let _0x8a70d2=0x0;while(!![]){switch(_0x15b84e[_0x8a70d2++]){case'0':this[_0x5383d4[_0x257f0d(0x234)](_0x5383d4['YaNpG'],_0x4f8880)]=!![];continue;case'1':logger['info'](_0x5383d4[_0x257f0d(0x2de)](_0x5383d4[_0x257f0d(0x1da)],_0x4f8880));continue;case'2':await ClientTroubleShootingService[_0x257f0d(0x2be)]();continue;case'3':this['killSignal']=_0x4f8880;continue;case'4':await ClientTroubleShootingService[_0x257f0d(0x275)](_0x4f8880);continue;case'5':await BrowserstackCLI[_0x257f0d(0x1fa)]()[_0x257f0d(0x287)]();continue;case'6':await TestHubHandler[_0x257f0d(0x287)](_0x4f8880);continue;case'7':if(this[_0x5383d4[_0x257f0d(0x234)](_0x5383d4[_0x257f0d(0x25a)],_0x4f8880)])return;continue;}break;}}[a105_0x10371d(0x1f3)](){const _0xac9799=a105_0x10371d,_0x42e753={'ecFiz':function(_0x1ec086,_0x363414){return _0x1ec086===_0x363414;},'TDncE':_0xac9799(0x23b),'dROri':function(_0x3081bc,_0x43a32c){return _0x3081bc>_0x43a32c;},'OhojY':function(_0x2cef27,_0x5a747d){return _0x2cef27(_0x5a747d);},'lAQGZ':function(_0x5936b0){return _0x5936b0();},'YlPtX':_0xac9799(0x2e5)};let _0x4fb0e7=0x0;return async()=>{const _0xea11cf=_0xac9799;_0x4fb0e7++;if(_0x42e753[_0xea11cf(0x1f0)](_0x4fb0e7,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0xea11cf(0x221)])&&await this['stopBrowserstackLocal']();try{logger['debug'](_0x42e753[_0xea11cf(0x2a1)]),await TestHubHandler[_0xea11cf(0x287)](_0x4fb0e7),await ClientTroubleShootingService[_0xea11cf(0x2be)](),await BrowserstackCLI[_0xea11cf(0x1fa)]()[_0xea11cf(0x287)]('1');}catch(_0x41b890){logger[_0xea11cf(0x2df)](_0xea11cf(0x25b)+util[_0xea11cf(0x276)](_0x41b890));}PerformanceTester[_0xea11cf(0x2da)](PerformanceEvents[_0xea11cf(0x298)]);if(PerformanceTester[_0xea11cf(0x1dd)]()){const {measures:_0x6d17e2,errors:_0x5e71a2}=await PerformanceTester[_0xea11cf(0x1d5)](),_0x2a8e6c={};if(_0x6d17e2&&_0x42e753[_0xea11cf(0x2b1)](_0x6d17e2[_0xea11cf(0x2a9)],0x0)||_0x5e71a2&&_0x42e753[_0xea11cf(0x2b1)](_0x5e71a2['length'],0x0)){const _0x1e4464={};_0x1e4464['measures']=_0x6d17e2,_0x1e4464[_0xea11cf(0x1f1)]=_0x5e71a2,Object[_0xea11cf(0x264)](_0x2a8e6c,_0x1e4464);}try{const _0x2f7200=await helper['sendToEDS'](_0x2a8e6c,this['config']);logger[_0xea11cf(0x2df)](_0xea11cf(0x2b0)+_0x42e753[_0xea11cf(0x27c)](getEdsInstrumentationAPIUrl,'')+_0xea11cf(0x208)+_0x2f7200[_0xea11cf(0x1ea)]);}catch(_0xf3b7c5){logger[_0xea11cf(0x2df)](_0xea11cf(0x20b)+_0x42e753[_0xea11cf(0x27c)](getEdsInstrumentationAPIUrl,'')+_0xea11cf(0x1ee)+util[_0xea11cf(0x276)](_0xf3b7c5));}try{fs['writeFileSync'](path[_0xea11cf(0x252)](_0x42e753['lAQGZ'](getLogDir),_0x42e753[_0xea11cf(0x27b)]),JSON['stringify'](_0x2a8e6c));}catch(_0x1e76f5){logger[_0xea11cf(0x2df)](_0xea11cf(0x218)+_0x1e76f5);}}}logger&&logger[_0xea11cf(0x1dc)](),fileLogger&&fileLogger[_0xea11cf(0x1dc)]();};}}exports[a105_0x10371d(0x1f6)]=BrowserStackSetup;function a105_0x7387(){const _0x542f54=['Local\x20binary\x20stopped','split','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','320iFfLiW','Calling\x20Build\x20Stop\x20from\x20ExitHandler','uhnxI','rcPYS','89888IosLdD','bstackConfig','includes','customRepeaters','setHandlePWError','Error\x20occured\x20while\x20stopping\x20percy','isRunning','turboScaleUrl','AbrHh','isUndefined','NTxKB','?caps=','AzOtP','rvNTH','BrowserstackHealing.init\x20method\x20timed\x20out','percy','getProxyConfigForTcg','skipBinaryInitialisation','175428vXTYNN','aiHeal:tcgAuth','join','getFinalCaps','./testhub/utils','cliConfig','dfzYe','YiWiw','fileLogger','Error\x20in\x20percy\x20setup\x20','YaNpG','Error\x20in\x20sending\x20testhub\x20stop:\x20','tVHSK','bmFxK','version','bSSWi','Ckhzu','lOyRK','toString','setUpHubUrl','assign','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','../hubAllocationMethods','integrations','4257PVhOTO','SIGBREAK','sdkRunId','MXkXT','race','./percy/utils','path','config','ats-repeater','intExitHandler','isBrowserstackInfra','WVCAa','SIGINT','reportProcessInterruptionSituation','format','browserstackLocal','BrowserstackHealing.init','isNotUndefined','Local\x20binary\x20started\x20successfully','YlPtX','OhojY','aebcA','parallelsPerPlatform','MREvV','UmllI','false','setupBrowserstackLocal','init','./performance/constants','cancel','SIGHUP','stop','stopPercy','uBNlv','../bin/utils/clientTroubleshootingService','xsPRZ','getPackageVersion','nfSms','stopLocalBinary','getTurboScaleGridDetails','./logger','BROWSERSTACK_PERCY','10BukCXu','AUTOLOGCAPTURE_NOTIFICATION','toLowerCase','localIdentifier','__isPlaywrightInstalled','zNcQk','SDK_CLEANUP','zVsUN','6AHVKIj','SIGQUIT','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','caOVI','selenium-webdriver','TCG_AUTH_FAILURE','./helper','TDncE','bIjgh','userName\x20or\x20accessKey\x20is\x20not\x20defined','generateLocalIdentifier','localOptions','hubUrl','preInitialize','proxyConfig','length','error','setupTcgConfigFile','setCredentialsFromYmlConfig','SDK\x20run\x20started\x20with\x20id:\x20','akDgU','playwrightUrl','Data\x20sent\x20successfully\x20to\x20','dROri','yBEyl','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','BROWSERSTACK_TURBOSCALE','INVALID_INIT_RESP_WITH_USER_IMPACT','YiTmF','KYPOS','platforms','FRAMEWORK','4293509SGkNqh','FfJhh','getConfigPath','userName','reportFinalDetectionState','698551MzNfgC','./testhub/testhubHandler','kQXvM','captureError','setBrowserstackInfraFromConfig','UVxsl','setSmartTestSelectionFeatureBranchesConfig','useW3C','gTAwe','env','startMonitoring','true','getLocalConfig','configPath','khRnf','initialize','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','custom-repeater','NZrir','normalizeTestReportingEnvVars','DxqHC','unhandledRejection','envConfig','WcAIG','util','status','Shutdown\x20triggered\x20by\x20','end','AI_INIT_SUCCESSFUL','iRqfp','turboScaleOptions','nkKYM','debug','TCG_AUTH_TIMEOUT','../bin/v2/browserstackCLI','UPGRADE_REQUIRED','errorMessage','No\x20config\x20provided.','events.json','14|1|16|9|8|10|24|5|0|11|20|6|25|17|13|12|7|19|15|18|2|22|4|23|3|21','beforeExit','VjJky','disableAutoCaptureLogs','vacnf','finalize','fireFunnelTestEvent','skipSessionName','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','isLTSSession','GAZZA','isTurboScaleSession','close','isEnabled','getHubUrl','kiFUM','AXAND','startPercy','setCLICaps','uAqiP','AI_PROXY_FAILURE','exRlO','url','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','Xvqoe','handleExceptions','statusCode','message','yEtgC','FRLSq','\x20with\x20error\x20','push','ecFiz','exceptions','uuid','exitHandler','SDKTestAttempted','tcg\x20config\x20setup\x20successful.','default','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','CdrOa','getAccessKey','getInstance','MTwYp','BrowserstackHealingInitFailed','45cqlaNj','isHealingEnabled','platform','asAGZ','NUHtm','proxyUrl','killSignal','TCG_URL','HUB_MANAGEMENT','./timeoutPromise','forceLocal','\x20with\x20response\x20','./utilities','isTrue','Failed\x20to\x20send\x20data\x20to\x20','win32','allocateHub','info','testContextOptions','TCG_DOWN','7084OGbTbG','../bin/utils/constants','AI_INIT_FAILURE','SIGTERM','vWpcO','setLogLevel','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','Error\x20in\x20writing\x20events\x20to\x20file\x20','ozHIR','setupKeepAlive','__isPuppeteerInstalled','skipSessionStatus','setupPercy','setupTCGAuth','selfHeal','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','framework','lloWR','isTrialGrid','XKbCi','675866zcxlnJ','yxCNG','isAuthenticated','bind','HzSGD','peqIN','rfBgY','../../package.json','browserStackLocalOptions','SIGABRT','readConfig','measureWrapper','mxBFa','uCRKD','sanitizeCaps','UPNkV','playwright','./setKeepAlive'];a105_0x7387=function(){return _0x542f54;};return a105_0x7387();}
|
|
1
|
+
function a105_0x193b(_0x5650f8,_0x5db1e4){const _0x34ba3a=a105_0x34ba();return a105_0x193b=function(_0x193b14,_0x5a1ee1){_0x193b14=_0x193b14-0xa6;let _0x33a7c8=_0x34ba3a[_0x193b14];return _0x33a7c8;},a105_0x193b(_0x5650f8,_0x5db1e4);}const a105_0x4f2fe2=a105_0x193b;(function(_0x478c09,_0x2353e1){const _0xd2ce89=a105_0x193b,_0x5c50a6=_0x478c09();while(!![]){try{const _0x44f8a8=parseInt(_0xd2ce89(0x101))/0x1+parseInt(_0xd2ce89(0x124))/0x2+-parseInt(_0xd2ce89(0x15e))/0x3+-parseInt(_0xd2ce89(0x18a))/0x4+parseInt(_0xd2ce89(0xb4))/0x5*(-parseInt(_0xd2ce89(0x130))/0x6)+parseInt(_0xd2ce89(0xa7))/0x7+parseInt(_0xd2ce89(0x189))/0x8*(-parseInt(_0xd2ce89(0x151))/0x9);if(_0x44f8a8===_0x2353e1)break;else _0x5c50a6['push'](_0x5c50a6['shift']());}catch(_0x4e4f86){_0x5c50a6['push'](_0x5c50a6['shift']());}}}(a105_0x34ba,0x641df));const util=require(a105_0x4f2fe2(0xec)),os=require('os'),path=require('path'),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a105_0x4f2fe2(0x14f))[a105_0x4f2fe2(0x173)],fileLogger=require('./logger')['fileLogger'],{getLogDir}=require(a105_0x4f2fe2(0x14f)),helper=require(a105_0x4f2fe2(0x179)),utilities=require(a105_0x4f2fe2(0xd9)),percyHelper=require(a105_0x4f2fe2(0x12e)),hubAllocator=require(a105_0x4f2fe2(0x188)),PerformanceTester=require(a105_0x4f2fe2(0x10f)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a105_0x4f2fe2(0x181)),{setPercyFlag}=require(a105_0x4f2fe2(0x182)),TestHubHandler=require(a105_0x4f2fe2(0xad)),timeoutPromise=require(a105_0x4f2fe2(0x10d)),BrowserstackCLI=require(a105_0x4f2fe2(0xea)),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require(a105_0x4f2fe2(0xf9)),ClientTroubleShootingService=require(a105_0x4f2fe2(0x1a4));function a105_0x34ba(){const _0xdf18f5=['BROWSERSTACK_PERCY','../bin/v2/browserstackCLI','quklZ','util','codeceptjs','LeRUU','TCG_AUTH_FAILURE','UiibG','aMlLS','measures','getTurboScaleGridDetails','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','isEnabled','then','assign','message','../bin/utils/apiUtilityMethods','FRAMEWORK','setUpHubUrl','UPGRADE_REQUIRED','hYYZq','requireSeleniumWebdriverCheck','rznit','SDKTestAttempted','555464bmRQdt','BrowserstackHealing.init','central_scanner','useW3C','MyQxj','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','turboScaleUrl','skipBinaryInitialisation','turboScaleGridDetails','intExitHandler','znNOu','Percy\x20started\x20successfully','./timeoutPromise','SKidX','./performance/performance-tester','CedkD','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','Percy\x20stopped','isRunning','startMonitoring','SIGINT','SblTt','setHandlePWError','chkyn','SIGQUIT','BOlue','userName','preInitialize','BROWSERSTACK_TURBOSCALE','EWYMw','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','ZkukD','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','forceLocal','1625896SrOlNw','MYyds','length','lztws','TCG_AUTH_TIMEOUT','AUTOLOGCAPTURE_NOTIFICATION','proxy','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','status','EEYQn','./percy/utils','akLLq','24gVMemF','skipSessionStatus','UeUFI','skipSessionName','kuTwB','constructor','handleExceptions','end','BmNLx','stopLocalBinary','setupBrowserstackLocal','normalizeTestReportingEnvVars','exitHandler','AI_INIT_FAILURE','killSignal','zZPns','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','Error\x20in\x20percy\x20setup\x20','includes','setLogDir','isHealingEnabled','tBSCx','selenium-webdriver','YDhoi','browserstackLocal','isTurboScaleSession','mZWnQ','klRai','isNotUndefined','BTNpG','unhandledErrors','./logger','format','4545RfOclC','config','alQnY','getInstance','auUtb','setCredentialsFromYmlConfig','sdkRunId','debug','setBrowserstackInfraFromConfig','setLogLevel','BmJXH','initialize','envConfig','2241165TwiFOJ','split','reportProcessInterruptionSituation','Qenil','JLReC','true','tcg\x20config\x20setup\x20successful.','SIGBREAK','cGsxS','\x20with\x20error\x20','EywhU','getLocalConfig','stringify','GClFv','toString','checkStopLocalBinaryOnExit','finalize','stopBrowserstackLocal','uqKpp','Mpxrk','4.5.0','winstonLogger','customRepeaters','info','platform','CcnME','Local\x20binary\x20stopped','./helper','prvbG','ats-repeater','BOmMZ','Xmpvh','selfHeal','setupPercy','isBrowserstackInfra','./performance/constants','./testhub/utils','writeFileSync','sendToEDS','iMorT','isTrialGrid','allocateHub','../hubAllocationMethods','5816JQPfWr','35204oRgGWx','__isPuppeteerInstalled','parallelsPerPlatform','disableAutoCaptureLogs','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','setProxySettings','proxyUrl','error','playwright','CjQVy','RdZOp','llNoo','TCG_DOWN','errorMessage','startLocalBinary','TCG_URL','getLocalIdentifier','Error\x20occured\x20while\x20stopping\x20local\x20binary','compareVersions','captureError','generateLocalIdentifier','AirQw','uvIhE','version','framework','RmSzr','../bin/utils/clientTroubleshootingService','../../package.json','cliConfig','unhandledRejection','Failed\x20to\x20send\x20data\x20to\x20','evnYY','Calling\x20Build\x20Stop\x20from\x20ExitHandler','Local\x20binary\x20started\x20successfully','reportFinalDetectionState','XzZia','ZSxUn','3|1|0|2|4','join','bind','setupTcgConfigFile','3047002sNZSPb','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','getFinalCaps','turboScaleOptions','testContextOptions','isUndefined','./testhub/testhubHandler','close','UuyIs','setupKeepAlive','platforms','win32','turboScale','338285bvbpAC','url','custom-repeater','aiHeal:tcgAuth','stop','getProxyConfigForTcg','MIzHb','integrations','hubUrl','stopPercy','__isPlaywrightInstalled','proxyConfig','setSmartTestSelectionFeatureBranchesConfig','SqVOo','oFkXM','LaLBU','12|17|22|3|7|16|9|11|1|15|2|19|4|8|13|23|20|14|24|6|25|18|21|0|5|10','isAuthenticated','Error\x20in\x20sending\x20testhub\x20stop:\x20','getPackageVersion','readConfig','userName\x20or\x20accessKey\x20is\x20not\x20defined','env','AEZVp','localIdentifier','fireFunnelTestEvent','getConfigPath','DQXPM','KFLHw','PJXZi','isTrue','init','uvFCy','klCNl','setCLICaps','OfzPN','WlFeB','./utilities','browserStackLocalOptions','playwrightUrl','percy','fvMkJ','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','BrowserstackHealing.init\x20method\x20timed\x20out','statusCode','HUB_MANAGEMENT','qwgfW','getAccessKey','uhfJp','sJLSN','kjyWr','beforeExit','measureWrapper'];a105_0x34ba=function(){return _0xdf18f5;};return a105_0x34ba();}class BrowserStackSetup{constructor(_0x207aa5,_0x5055d8){const _0x2a2fc5=a105_0x4f2fe2,_0x38545a={'hYYZq':_0x2a2fc5(0xc4),'oFkXM':function(_0x271bd3,_0x3ca847){return _0x271bd3(_0x3ca847);},'evnYY':'./caCertHelper','pXLEz':'No\x20config\x20provided.','AEZVp':function(_0x37a15c){return _0x37a15c();}},_0x5a1a45=_0x38545a[_0x2a2fc5(0xfd)][_0x2a2fc5(0x15f)]('|');let _0x122bc9=0x0;while(!![]){switch(_0x5a1a45[_0x122bc9++]){case'0':helper[_0x2a2fc5(0x15a)](this[_0x2a2fc5(0x152)],this[_0x2a2fc5(0x1a6)],this['envConfig']);continue;case'1':this['config'][_0x2a2fc5(0xb1)]=this[_0x2a2fc5(0x152)][_0x2a2fc5(0xb1)]||[];continue;case'2':this[_0x2a2fc5(0x197)]={};continue;case'3':this[_0x2a2fc5(0x148)]=null;continue;case'4':this[_0x2a2fc5(0x1a2)]=_0x5055d8;continue;case'5':PerformanceTester[_0x2a2fc5(0x114)]();continue;case'6':this[_0x2a2fc5(0x152)][_0x2a2fc5(0xab)][_0x2a2fc5(0x133)]=!helper[_0x2a2fc5(0x180)]()||helper['isTrue'](this[_0x2a2fc5(0x152)][_0x2a2fc5(0xab)][_0x2a2fc5(0x133)]);continue;case'7':this['percy']=null;continue;case'8':global[_0x2a2fc5(0x1a2)]=_0x5055d8;continue;case'9':this[_0x2a2fc5(0x152)]=helper[_0x2a2fc5(0xc8)](this['configPath']);continue;case'10':try{_0x38545a[_0x2a2fc5(0xc2)](require,_0x38545a[_0x2a2fc5(0x1a9)])['setupCaCertificate'](this['config'],logger);}catch(_0x13e48a){}continue;case'11':this[_0x2a2fc5(0x1a6)]=helper[_0x2a2fc5(0xd6)](_0x207aa5);continue;case'12':this[_0x2a2fc5(0x14e)]=[];continue;case'13':if(helper[_0x2a2fc5(0xac)](this[_0x2a2fc5(0x152)]))throw new Error(_0x38545a['pXLEz']);continue;case'14':helper[_0x2a2fc5(0x156)](this['config']);continue;case'15':this[_0x2a2fc5(0x152)][_0x2a2fc5(0xab)]=this[_0x2a2fc5(0x152)]['testContextOptions']||{};continue;case'16':this['configPath']=helper[_0x2a2fc5(0xce)](_0x207aa5);continue;case'17':helper[_0x2a2fc5(0x13b)]();continue;case'18':helper[_0x2a2fc5(0xc0)](this[_0x2a2fc5(0x152)],this['cliConfig'],this['envConfig']);continue;case'19':this[_0x2a2fc5(0x157)]=_0x38545a[_0x2a2fc5(0xcb)](uuidv4);continue;case'20':helper[_0x2a2fc5(0x159)](this[_0x2a2fc5(0x152)],this[_0x2a2fc5(0x1a6)]);continue;case'21':helper[_0x2a2fc5(0x143)](this['config']);continue;case'22':this[_0x2a2fc5(0x15d)]=helper['setEnvCaps']();continue;case'23':if(this[_0x2a2fc5(0x152)][_0x2a2fc5(0x191)])throw new Error(this[_0x2a2fc5(0x152)]['error']);continue;case'24':this['config'][_0x2a2fc5(0xab)][_0x2a2fc5(0x131)]=!helper[_0x2a2fc5(0x180)]()||helper[_0x2a2fc5(0xd2)](this['config'][_0x2a2fc5(0xab)][_0x2a2fc5(0x131)]);continue;case'25':helper[_0x2a2fc5(0xa9)](this[_0x2a2fc5(0x152)],this[_0x2a2fc5(0x1a6)],this[_0x2a2fc5(0x15d)]);continue;}break;}}[a105_0x4f2fe2(0x11c)](_0x402d97){const _0x4c1508=a105_0x4f2fe2,_0x8b5b5f={'dozQV':_0x4c1508(0xc9),'Mpxrk':function(_0x39ec42,_0x3d97c2){return _0x39ec42===_0x3d97c2;},'iMorT':function(_0x45ec57,_0x4cb19d){return _0x45ec57===_0x4cb19d;},'fvMkJ':_0x4c1508(0xbb),'GClFv':_0x4c1508(0x100),'CedkD':function(_0x488634,_0x360995){return _0x488634<_0x360995;},'OfzPN':function(_0x53cdfe,_0x511365){return _0x53cdfe(_0x511365);},'uvFCy':_0x4c1508(0x146),'BOlue':_0x4c1508(0x172),'SblTt':_0x4c1508(0x140),'ZkukD':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','CjQVy':'SIGTERM','CcnME':_0x4c1508(0x115),'ORnCs':'SIGHUP','Iaxag':function(_0x1f34e6,_0x2e249a){return _0x1f34e6!==_0x2e249a;},'WlFeB':_0x4c1508(0xb2),'xUsKu':'SIGABRT','aMlLS':_0x4c1508(0x119),'quklZ':_0x4c1508(0x165),'tBSCx':_0x4c1508(0xe7)},_0x2481c2=this[_0x4c1508(0x1a2)];global[_0x4c1508(0x152)]=this[_0x4c1508(0x152)],helper['sanitizeCaps'](this[_0x4c1508(0x152)]),this['killSignal']=null,global[_0x4c1508(0x157)]=this['sdkRunId'],logger[_0x4c1508(0x175)]('SDK\x20run\x20started\x20with\x20id:\x20'+this[_0x4c1508(0x157)]),!this[_0x4c1508(0x152)][_0x4c1508(0xda)]&&(this[_0x4c1508(0x152)][_0x4c1508(0xda)]=this['config']['localOptions']||{});if(helper['isUndefined'](helper['getUserName'](this[_0x4c1508(0x152)]))||helper['isUndefined'](helper[_0x4c1508(0xe3)](this[_0x4c1508(0x152)])))throw new Error(_0x8b5b5f['dozQV']);helper[_0x4c1508(0x169)](this[_0x4c1508(0x152)])&&helper[_0x4c1508(0xac)](helper[_0x4c1508(0x19a)](this[_0x4c1508(0x152)]))&&(!helper['isUndefined'](this[_0x4c1508(0x152)][_0x4c1508(0xda)])&&_0x8b5b5f[_0x4c1508(0x171)](this['config'][_0x4c1508(0xda)][_0x4c1508(0x135)],Object)?!helper['isTrue'](this[_0x4c1508(0x152)][_0x4c1508(0xda)]['skipBinaryInitialisation'])&&(this[_0x4c1508(0x152)][_0x4c1508(0xda)][_0x4c1508(0xcc)]=helper[_0x4c1508(0x19e)]()):this[_0x4c1508(0x152)][_0x4c1508(0xda)]={'localIdentifier':helper[_0x4c1508(0x19e)]()});this[_0x4c1508(0x152)][_0x4c1508(0xda)][_0x4c1508(0x108)]=helper['isTrue'](this[_0x4c1508(0x152)][_0x4c1508(0xda)][_0x4c1508(0x108)]),helper[_0x4c1508(0x117)](this[_0x4c1508(0x152)]);if(_0x8b5b5f[_0x4c1508(0x185)](_0x2481c2,_0x8b5b5f[_0x4c1508(0xdd)]))return;this[_0x4c1508(0x136)]();process['env'][_0x4c1508(0x11d)]&&(this[_0x4c1508(0x152)][_0x4c1508(0xb3)]=helper[_0x4c1508(0xd2)](process[_0x4c1508(0xca)][_0x4c1508(0x11d)]),this[_0x4c1508(0x152)]['turboScaleOptions']=this[_0x4c1508(0x152)][_0x4c1508(0xaa)]||{});helper[_0x4c1508(0x149)](this['config'])&&(process['env'][_0x4c1508(0x11d)]=!![]);LoadTestModule['isLTSSession'](this[_0x4c1508(0x152)])&&logger[_0x4c1508(0x158)](_0x4c1508(0x12b)+this[_0x4c1508(0x157)]);if(!helper[_0x4c1508(0x180)]()){try{process[_0x4c1508(0xca)]['FRAMEWORK']=_0x2481c2,utilities['fireFunnelTestEvent'](_0x8b5b5f[_0x4c1508(0x16b)],{},this[_0x4c1508(0x152)],this[_0x4c1508(0x1a2)]);}catch(_0x21519c){logger[_0x4c1508(0x158)](_0x4c1508(0xf4)+_0x21519c);}return;}if(helper[_0x4c1508(0xfe)](_0x2481c2)){if(global[_0x4c1508(0xbe)]||global[_0x4c1508(0x18b)])return;_0x8b5b5f[_0x4c1508(0x110)](_0x8b5b5f[_0x4c1508(0xd7)](parseInt,helper['getPackageVersion'](_0x8b5b5f[_0x4c1508(0xd4)])),0x3)&&(this[_0x4c1508(0x152)][_0x4c1508(0x104)]=![]),_0x8b5b5f[_0x4c1508(0x185)](helper[_0x4c1508(0x19c)](helper[_0x4c1508(0xc7)](_0x8b5b5f[_0x4c1508(0xd4)]),_0x8b5b5f[_0x4c1508(0x11a)]),0x1)&&(this[_0x4c1508(0x152)][_0x4c1508(0x104)]=!![]);}(helper[_0x4c1508(0xac)](this[_0x4c1508(0x152)][_0x4c1508(0xb1)])||helper[_0x4c1508(0xac)](this['config'][_0x4c1508(0xb1)][_0x4c1508(0x126)]))&&(helper['isUndefined'](this[_0x4c1508(0x152)][_0x4c1508(0x18c)])?logger[_0x4c1508(0x175)](_0x8b5b5f[_0x4c1508(0x116)]):logger['warn'](_0x8b5b5f[_0x4c1508(0x120)]),this[_0x4c1508(0x152)]['platforms']=[]);!this[_0x4c1508(0x152)][_0x4c1508(0xab)]&&(this[_0x4c1508(0x152)][_0x4c1508(0xab)]={});try{process[_0x4c1508(0xca)][_0x4c1508(0xfa)]=_0x402d97['_'][0x0],utilities[_0x4c1508(0xcd)](_0x8b5b5f[_0x4c1508(0x16b)],{},this['config'],this[_0x4c1508(0x1a2)]);}catch(_0x1c7d6b){logger[_0x4c1508(0x158)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x1c7d6b);}!this[_0x4c1508(0x152)][_0x4c1508(0x18d)]&&logger[_0x4c1508(0x175)](constants[_0x4c1508(0x129)]),this[_0x4c1508(0x10a)]=this[_0x4c1508(0x10a)][_0x4c1508(0x1b1)](this),process['on'](_0x8b5b5f[_0x4c1508(0x193)],this[_0x4c1508(0x10a)]),process['on'](_0x8b5b5f[_0x4c1508(0x177)],this[_0x4c1508(0x10a)]),process['on'](_0x8b5b5f['ORnCs'],this[_0x4c1508(0x10a)]),_0x8b5b5f['Iaxag'](process[_0x4c1508(0x176)],_0x8b5b5f[_0x4c1508(0xd8)])?(process['on'](_0x8b5b5f['xUsKu'],this[_0x4c1508(0x10a)]),process['on'](_0x8b5b5f[_0x4c1508(0xf1)],this[_0x4c1508(0x10a)])):process['on'](_0x8b5b5f[_0x4c1508(0xeb)],this[_0x4c1508(0x10a)]),process['on'](_0x8b5b5f[_0x4c1508(0x145)],this['exitHandler']());}async[a105_0x4f2fe2(0x15c)](_0x1e49d3){const _0x2dada3=a105_0x4f2fe2,_0x385b98={'Qenil':_0x2dada3(0x17b),'LaLBU':_0x2dada3(0xb6),'mZWnQ':'true','CpAYY':function(_0x1dfac9,_0x27e5b2){return _0x1dfac9===_0x27e5b2;},'lztws':_0x2dada3(0x192),'EWYMw':function(_0x2a797e,_0x567422){return _0x2a797e+_0x567422;},'zZPns':'?caps=','kuTwB':function(_0x1fff34,_0x7f6c6b){return _0x1fff34(_0x7f6c6b);},'AirQw':_0x2dada3(0xed)};this[_0x2dada3(0x11c)](_0x1e49d3);if(helper[_0x2dada3(0x149)](this['config'])){const _0x4f5117=await helper[_0x2dada3(0xf3)](this[_0x2dada3(0x152)]);this[_0x2dada3(0x152)][_0x2dada3(0x109)]=_0x4f5117,_0x4f5117[_0x2dada3(0x186)]&&helper[_0x2dada3(0x14c)](this[_0x2dada3(0x152)][_0x2dada3(0x148)])&&helper['isTrue'](this[_0x2dada3(0x152)][_0x2dada3(0x148)])&&(this[_0x2dada3(0x152)]['browserStackLocalOptions']['localIdentifier']=_0x385b98[_0x2dada3(0x161)],this['config'][_0x2dada3(0xda)][_0x385b98[_0x2dada3(0xc3)]]=_0x4f5117[_0x2dada3(0x174)]['join'](','),this[_0x2dada3(0x152)]['browserStackLocalOptions'][_0x2dada3(0x123)]=_0x385b98[_0x2dada3(0x14a)]),this[_0x2dada3(0x152)][_0x2dada3(0x107)]=_0x4f5117[_0x2dada3(0xb5)],this['framework']&&_0x385b98['CpAYY'](this[_0x2dada3(0x1a2)]['toLowerCase'](),_0x385b98[_0x2dada3(0x127)])?this[_0x2dada3(0x152)][_0x2dada3(0x107)]=_0x385b98[_0x2dada3(0x11e)](_0x4f5117[_0x2dada3(0xdb)],_0x385b98[_0x2dada3(0x13f)]):constants[_0x2dada3(0xbc)]=helper['getHubUrl'](this[_0x2dada3(0x152)]),logger[_0x2dada3(0x158)](_0x2dada3(0xde)+constants[_0x2dada3(0xbc)]);}helper[_0x2dada3(0x18f)](this[_0x2dada3(0x152)]),this[_0x2dada3(0xb0)](),_0x385b98[_0x2dada3(0x134)](setPercyFlag,this),await this[_0x2dada3(0x13a)](),![_0x385b98[_0x2dada3(0x19f)],_0x385b98[_0x2dada3(0x127)]][_0x2dada3(0x142)](this[_0x2dada3(0x1a2)])&&!helper['isTurboScaleSession'](this[_0x2dada3(0x152)])&&!helper['getCentralUser']()[_0x2dada3(0x103)]&&await this[_0x2dada3(0xfb)]();}async[a105_0x4f2fe2(0x17f)](){const _0x5ca5de=a105_0x4f2fe2,_0x93b7f2={};_0x93b7f2['SqVOo']=function(_0x2c8eaf,_0x1d63db){return _0x2c8eaf===_0x1d63db;},_0x93b7f2[_0x5ca5de(0x132)]='false',_0x93b7f2[_0x5ca5de(0xe6)]=_0x5ca5de(0x121),_0x93b7f2[_0x5ca5de(0x17d)]=_0x5ca5de(0x10c),_0x93b7f2[_0x5ca5de(0x12f)]='true',_0x93b7f2['uvIhE']=_0x5ca5de(0xe7);const _0x16f233=_0x93b7f2;if(helper[_0x5ca5de(0xd2)](this[_0x5ca5de(0x152)][_0x5ca5de(0xdc)])&&(!this[_0x5ca5de(0xdc)]||!this[_0x5ca5de(0xdc)][_0x5ca5de(0x113)]()))try{this[_0x5ca5de(0xdc)]=await percyHelper['startPercy'](this[_0x5ca5de(0x152)]);if(!this[_0x5ca5de(0xdc)]){process[_0x5ca5de(0xca)][_0x5ca5de(0xe9)]=_0x16f233[_0x5ca5de(0x132)];throw new Error(_0x16f233['kjyWr']);}logger[_0x5ca5de(0x175)](_0x16f233[_0x5ca5de(0x17d)]),process[_0x5ca5de(0xca)][_0x5ca5de(0xe9)]=_0x16f233[_0x5ca5de(0x12f)];let _0x188637=0x0;const _0xfcfdcf=async()=>{const _0x1883cb=_0x5ca5de;_0x188637++,_0x16f233[_0x1883cb(0xc1)](_0x188637,0x1)&&await this['stopPercy']();};process['on'](_0x16f233[_0x5ca5de(0x1a0)],_0xfcfdcf);}catch(_0xeb499a){process[_0x5ca5de(0xca)][_0x5ca5de(0xe9)]=_0x16f233[_0x5ca5de(0x132)],logger[_0x5ca5de(0x158)](_0x5ca5de(0x141)+_0xeb499a);throw new Error(_0xeb499a[_0x5ca5de(0x16c)]());}}async[a105_0x4f2fe2(0xbd)](){const _0x24b87a=a105_0x4f2fe2,_0x2b3691={};_0x2b3691[_0x24b87a(0x12d)]=_0x24b87a(0x112),_0x2b3691['DQXPM']='Error\x20occured\x20while\x20stopping\x20percy';const _0x516642=_0x2b3691;if(this[_0x24b87a(0xdc)]&&this[_0x24b87a(0xdc)][_0x24b87a(0x113)]())try{await percyHelper[_0x24b87a(0xbd)](this['percy']),logger[_0x24b87a(0x175)](_0x516642[_0x24b87a(0x12d)]);}catch(_0x58daee){logger[_0x24b87a(0x191)](_0x516642[_0x24b87a(0xcf)],_0x58daee[_0x24b87a(0xf8)]);}}async[a105_0x4f2fe2(0x13a)](){const _0x28ba99=a105_0x4f2fe2,_0x493c8e={};_0x493c8e[_0x28ba99(0xba)]=_0x28ba99(0x18e),_0x493c8e[_0x28ba99(0x125)]=_0x28ba99(0x1ab);const _0xb8cf22=_0x493c8e;if(helper[_0x28ba99(0x180)]()&&helper['isTrue'](this[_0x28ba99(0x152)][_0x28ba99(0x148)])&&(!this['browserstackLocal']||!this[_0x28ba99(0x148)]['isRunning']()))try{if(this[_0x28ba99(0x152)][_0x28ba99(0xda)]['skipBinaryInitialisation']){logger[_0x28ba99(0x158)](_0xb8cf22[_0x28ba99(0xba)]);return;}this[_0x28ba99(0x148)]=await helper[_0x28ba99(0x198)](this[_0x28ba99(0x152)]),logger[_0x28ba99(0x175)](_0xb8cf22[_0x28ba99(0x125)]);}catch(_0x37a560){logger['debug'](_0x37a560);throw new Error(_0x37a560[_0x28ba99(0x16c)]());}}async[a105_0x4f2fe2(0x16f)](){const _0x1e5ad2=a105_0x4f2fe2,_0x404c45={};_0x404c45['uhfJp']=_0x1e5ad2(0x178),_0x404c45[_0x1e5ad2(0xd5)]=_0x1e5ad2(0x19b);const _0x572ef0=_0x404c45;if(this['browserstackLocal']&&this[_0x1e5ad2(0x148)]['isRunning']())try{await helper[_0x1e5ad2(0x139)](this[_0x1e5ad2(0x148)]),logger[_0x1e5ad2(0x175)](_0x572ef0[_0x1e5ad2(0xe4)]);}catch(_0x300a1e){logger['error'](_0x572ef0['klCNl'],_0x300a1e[_0x1e5ad2(0xf8)]);}}async['setUpHubUrl'](){const _0x436ec8=a105_0x4f2fe2;return PerformanceTester[_0x436ec8(0xe8)](PerformanceAutEvents[_0x436ec8(0xe1)],async()=>{const _0xbc7557=_0x436ec8;await hubAllocator[_0xbc7557(0x187)](this[_0xbc7557(0x152)]);})();}async['setupTCGAuth'](){const _0x1cd6a6=a105_0x4f2fe2,_0x5c037c={'YDhoi':function(_0x4600f5,_0x58987c){return _0x4600f5(_0x58987c);},'XzZia':'../ai-sdk-node/bundle','BmNLx':function(_0x1698ae,_0x41d7cc,_0xa70bef,_0x2c179f,_0x512ee6,_0x5579fb,_0x455c90){return _0x1698ae(_0x41d7cc,_0xa70bef,_0x2c179f,_0x512ee6,_0x5579fb,_0x455c90);},'JLReC':_0x1cd6a6(0xdf),'auUtb':'BrowserstackHealingInitFailed','rznit':_0x1cd6a6(0x1a5),'uqKpp':_0x1cd6a6(0x102),'KFLHw':function(_0x4185b2,_0x5b58b8){return _0x4185b2(_0x5b58b8);},'MyQxj':function(_0x439a0,_0x4c4d19){return _0x439a0===_0x4c4d19;},'llNoo':_0x1cd6a6(0x163),'cGsxS':function(_0x16fa68,_0x37cfa5){return _0x16fa68===_0x37cfa5;},'sJLSN':_0x1cd6a6(0x111),'BOmMZ':_0x1cd6a6(0x122),'SKidX':_0x1cd6a6(0xa8),'UuyIs':function(_0x52d337,_0x2770ab){return _0x52d337(_0x2770ab);},'jgATM':_0x1cd6a6(0x106),'RmSzr':function(_0x820299,_0x128732){return _0x820299>=_0x128732;},'BTNpG':function(_0x5bb607,_0x312847){return _0x5bb607<_0x312847;},'HgVpt':_0x1cd6a6(0x164),'ZSgnr':_0x1cd6a6(0xb7),'EywhU':function(_0x49a3c8){return _0x49a3c8();}},_0x4b66c4=PerformanceTester['measureWrapper'](_0x5c037c['ZSgnr'],async()=>{const _0x50858a=_0x1cd6a6;try{const _0x23fa28=new Date(),_0xca1b9a=helper[_0x50858a(0xb9)](this[_0x50858a(0x152)]),_0x4e7074=_0x5c037c['YDhoi'](require,path[_0x50858a(0x1b0)](__dirname,_0x5c037c[_0x50858a(0x1ad)])),_0x1a1d21=_0x5c037c[_0x50858a(0x138)](timeoutPromise,constants[_0x50858a(0x128)],_0x5c037c[_0x50858a(0x162)],_0x5c037c[_0x50858a(0x155)],_0x23fa28,this[_0x50858a(0x152)],this[_0x50858a(0x1a2)]),_0x527acb={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x5c037c[_0x50858a(0x147)](require,_0x5c037c[_0x50858a(0xff)])[_0x50858a(0x1a1)],'methodUsed':_0x5c037c[_0x50858a(0x170)],'proxyConfig':_0xca1b9a,'os':os[_0x50858a(0x176)]()};if(_0xca1b9a&&_0xca1b9a[_0x50858a(0x190)]){utilities[_0x50858a(0xcd)](constants['AI_PROXY_FAILURE'],_0x527acb,this['config'],this[_0x50858a(0x1a2)]);return;}const _0x1bfbf0={};_0x1bfbf0[_0x50858a(0x12a)]=_0xca1b9a;const _0x4f1d90=await Promise['race']([_0x4e7074[_0x50858a(0xd3)](this[_0x50858a(0x152)]['accessKey'],this[_0x50858a(0x152)][_0x50858a(0x11b)],constants[_0x50858a(0x199)],_0x5c037c[_0x50858a(0xd0)](require,_0x5c037c[_0x50858a(0xff)])['version'],_0x1bfbf0)[_0x50858a(0xf6)](_0x254620=>{return _0x1a1d21['cancel'](),_0x254620;}),_0x1a1d21]);_0x4f1d90[_0x50858a(0x144)]=_0x5c037c[_0x50858a(0x105)](_0x4f1d90[_0x50858a(0x144)],_0x5c037c[_0x50858a(0x195)])||_0x5c037c['MyQxj'](_0x4f1d90[_0x50858a(0x144)],!![]);const _0x2b4cf5=_0x5c037c[_0x50858a(0x105)](this[_0x50858a(0x152)]['selfHeal'],!![])||_0x5c037c['MyQxj'](this[_0x50858a(0x152)][_0x50858a(0x17e)],_0x5c037c[_0x50858a(0x195)]);if(_0x5c037c[_0x50858a(0x166)](_0x4f1d90['message'],constants[_0x50858a(0xfc)])&&_0x2b4cf5)logger[_0x50858a(0x175)](_0x5c037c[_0x50858a(0xe5)]);else{if(!_0x4f1d90[_0x50858a(0xc5)]&&_0x5c037c[_0x50858a(0x105)](_0x4f1d90[_0x50858a(0x12c)],0x1f7)&&_0x2b4cf5)logger[_0x50858a(0x175)](_0x5c037c[_0x50858a(0x17c)]),utilities['fireFunnelTestEvent'](constants[_0x50858a(0x196)],_0x527acb,this['config'],this[_0x50858a(0x1a2)]);else{if(!_0x4f1d90[_0x50858a(0xc5)]&&_0x2b4cf5){logger[_0x50858a(0x175)](_0x5c037c[_0x50858a(0x10e)]);const _0x110413={'tcgUrl':constants[_0x50858a(0x199)],'sdkVersion':_0x5c037c[_0x50858a(0xaf)](require,_0x5c037c[_0x50858a(0xff)])[_0x50858a(0x1a1)],'methodUsed':_0x5c037c['uqKpp'],'proxyConfig':_0xca1b9a,'os':os['platform']()};utilities[_0x50858a(0xcd)](constants[_0x50858a(0xef)],_0x110413,this['config'],this[_0x50858a(0x1a2)]);}else{if(_0x4f1d90[_0x50858a(0xc5)]&&!_0x4f1d90[_0x50858a(0x144)]&&_0x2b4cf5)logger[_0x50858a(0x175)](_0x5c037c['jgATM']);else{if(_0x5c037c[_0x50858a(0x1a3)](_0x4f1d90[_0x50858a(0x12c)],0xc8)&&_0x5c037c[_0x50858a(0x14d)](_0x4f1d90['status'],0x12c))utilities[_0x50858a(0xcd)](constants['AI_INIT_SUCCESSFUL'],_0x527acb,this[_0x50858a(0x152)],this['framework']);else{if(_0x5c037c[_0x50858a(0x1a3)](_0x4f1d90[_0x50858a(0x12c)],0x190))_0x527acb[_0x50858a(0x12c)]=_0x4f1d90['status'],utilities[_0x50858a(0xcd)](constants[_0x50858a(0x13d)],_0x527acb,this[_0x50858a(0x152)],this[_0x50858a(0x1a2)]);else!_0x4f1d90[_0x50858a(0x12c)]&&utilities[_0x50858a(0xcd)](constants['INVALID_INIT_RESP_WITH_USER_IMPACT'],_0x527acb,this[_0x50858a(0x152)],this[_0x50858a(0x1a2)]);}}}}}if(_0x4f1d90[_0x50858a(0xc5)]&&_0x4f1d90['isHealingEnabled']){const _0x3a8bb9={};_0x3a8bb9['tcgAuthConfig']=_0x4f1d90;const _0x445382=_0x3a8bb9;_0xca1b9a&&(_0x445382[_0x50858a(0xbf)]=_0xca1b9a),_0x445382[_0x50858a(0x1a2)]=this[_0x50858a(0x1a2)],_0x445382['bstackConfig']=this['config'],helper[_0x50858a(0xa6)](_0x445382),logger['debug'](_0x5c037c['HgVpt']);}}catch(_0x5264b6){logger['debug'](_0x50858a(0x11f)+(_0x5264b6[_0x50858a(0xf8)]?_0x5264b6['message']:''));}});await _0x5c037c[_0x1cd6a6(0x168)](_0x4b66c4);}['setupKeepAlive'](){const _0x3c37ad={'uNXVs':function(_0x48e5e5,_0x46f488){return _0x48e5e5(_0x46f488);},'DsaXp':'./setKeepAlive'};_0x3c37ad['uNXVs'](require,_0x3c37ad['DsaXp'])();}[a105_0x4f2fe2(0x136)](){const _0x1732c6=a105_0x4f2fe2,_0x59c580={};_0x59c580['JCPAM']=_0x1732c6(0x1af),_0x59c580[_0x1732c6(0x1ae)]=_0x1732c6(0x1a7),_0x59c580[_0x1732c6(0xd1)]='uncaughtException';const _0x2721d5=_0x59c580,_0x116466=_0x3c1639=>{const _0xf5ca27=_0x1732c6,_0x14aad9=_0x2721d5['JCPAM'][_0xf5ca27(0x15f)]('|');let _0x36ac0e=0x0;while(!![]){switch(_0x14aad9[_0x36ac0e++]){case'0':this[_0xf5ca27(0x14e)]['push'](util[_0xf5ca27(0x150)]('%j',_0x3c1639));continue;case'1':logger[_0xf5ca27(0x158)](util[_0xf5ca27(0x150)](_0x3c1639));continue;case'2':PerformanceTester[_0xf5ca27(0x19d)](_0x3c1639);continue;case'3':logger[_0xf5ca27(0x191)](_0x3c1639[_0xf5ca27(0xf8)]);continue;case'4':ClientTroubleShootingService[_0xf5ca27(0x1ac)]();continue;}break;}};process['on'](_0x2721d5[_0x1732c6(0x1ae)],_0x116466),process['on'](_0x2721d5[_0x1732c6(0xd1)],_0x116466);}async[a105_0x4f2fe2(0x10a)](_0x105890){const _0xe7dcd3=a105_0x4f2fe2,_0x3ed8bd={};_0x3ed8bd[_0xe7dcd3(0xe2)]='6|4|1|5|0|2|7|3',_0x3ed8bd[_0xe7dcd3(0x194)]=function(_0x2dd697,_0x4f678f){return _0x2dd697+_0x4f678f;},_0x3ed8bd[_0xe7dcd3(0xee)]='Shutdown\x20triggered\x20by\x20',_0x3ed8bd[_0xe7dcd3(0x118)]='handled';const _0x4b8b09=_0x3ed8bd,_0x4bda6a=_0x4b8b09['qwgfW'][_0xe7dcd3(0x15f)]('|');let _0xe1e790=0x0;while(!![]){switch(_0x4bda6a[_0xe1e790++]){case'0':await ClientTroubleShootingService[_0xe7dcd3(0x160)](_0x105890);continue;case'1':logger[_0xe7dcd3(0x175)](_0x4b8b09[_0xe7dcd3(0x194)](_0x4b8b09[_0xe7dcd3(0xee)],_0x105890));continue;case'2':await TestHubHandler['stop'](_0x105890);continue;case'3':await BrowserstackCLI[_0xe7dcd3(0x154)]()[_0xe7dcd3(0xb8)]();continue;case'4':this[_0x4b8b09[_0xe7dcd3(0x194)](_0x4b8b09[_0xe7dcd3(0x118)],_0x105890)]=!![];continue;case'5':this[_0xe7dcd3(0x13e)]=_0x105890;continue;case'6':if(this[_0x4b8b09[_0xe7dcd3(0x194)](_0x4b8b09[_0xe7dcd3(0x118)],_0x105890)])return;continue;case'7':await ClientTroubleShootingService[_0xe7dcd3(0x1ac)]();continue;}break;}}[a105_0x4f2fe2(0x13c)](){const _0x39137b=a105_0x4f2fe2,_0x3d6670={'BmJXH':function(_0x3d3346,_0x2eb5f8){return _0x3d3346===_0x2eb5f8;},'klRai':_0x39137b(0x1aa),'JuBBW':function(_0x4218ba,_0xe6d2e4){return _0x4218ba>_0xe6d2e4;},'alQnY':function(_0x38923d,_0x1711e0){return _0x38923d>_0x1711e0;},'znNOu':function(_0x369386,_0x3fbb45){return _0x369386(_0x3fbb45);},'otUdS':function(_0x3fd10c,_0x356452){return _0x3fd10c(_0x356452);},'prvbG':function(_0x2dea57){return _0x2dea57();},'UiibG':'events.json'};let _0x3e3106=0x0;return async()=>{const _0x50c6ce=_0x39137b;_0x3e3106++;if(_0x3d6670[_0x50c6ce(0x15b)](_0x3e3106,0x1)){helper[_0x50c6ce(0x16d)](this[_0x50c6ce(0x1a2)])&&await this['stopBrowserstackLocal']();try{logger[_0x50c6ce(0x158)](_0x3d6670[_0x50c6ce(0x14b)]),await TestHubHandler[_0x50c6ce(0xb8)](_0x3e3106),await ClientTroubleShootingService[_0x50c6ce(0x1ac)](),await BrowserstackCLI[_0x50c6ce(0x154)]()[_0x50c6ce(0xb8)]('1');}catch(_0x564bef){logger['debug'](_0x50c6ce(0xc6)+util[_0x50c6ce(0x150)](_0x564bef));}PerformanceTester[_0x50c6ce(0x137)](PerformanceEvents['SDK_CLEANUP']);if(PerformanceTester[_0x50c6ce(0xf5)]()){const {measures:_0x26af1b,errors:_0x589044}=await PerformanceTester[_0x50c6ce(0x16e)](),_0x2944e4={};if(_0x26af1b&&_0x3d6670['JuBBW'](_0x26af1b[_0x50c6ce(0x126)],0x0)||_0x589044&&_0x3d6670[_0x50c6ce(0x153)](_0x589044[_0x50c6ce(0x126)],0x0)){const _0xc12ea5={};_0xc12ea5[_0x50c6ce(0xf2)]=_0x26af1b,_0xc12ea5['exceptions']=_0x589044,Object[_0x50c6ce(0xf7)](_0x2944e4,_0xc12ea5);}try{const _0x544846=await helper[_0x50c6ce(0x184)](_0x2944e4,this[_0x50c6ce(0x152)]);logger[_0x50c6ce(0x158)]('Data\x20sent\x20successfully\x20to\x20'+_0x3d6670[_0x50c6ce(0x10b)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20response\x20'+_0x544846[_0x50c6ce(0xe0)]);}catch(_0x15c58a){logger[_0x50c6ce(0x158)](_0x50c6ce(0x1a8)+_0x3d6670['otUdS'](getEdsInstrumentationAPIUrl,'')+_0x50c6ce(0x167)+util[_0x50c6ce(0x150)](_0x15c58a));}try{fs[_0x50c6ce(0x183)](path[_0x50c6ce(0x1b0)](_0x3d6670[_0x50c6ce(0x17a)](getLogDir),_0x3d6670[_0x50c6ce(0xf0)]),JSON[_0x50c6ce(0x16a)](_0x2944e4));}catch(_0x3a2ec7){logger[_0x50c6ce(0x158)]('Error\x20in\x20writing\x20events\x20to\x20file\x20'+_0x3a2ec7);}}}logger&&logger[_0x50c6ce(0xae)](),fileLogger&&fileLogger[_0x50c6ce(0xae)]();};}}exports['default']=BrowserStackSetup;
|