browserstack-node-sdk 1.40.5 → 1.40.6
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_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/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/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/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/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/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.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/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.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/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.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/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/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/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.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
|
-
'use strict';const a30_0x14bc0c=a30_0x2d2c;function a30_0x2d2c(_0x4a0ae7,_0x37ca03){const _0x2fbf8e=a30_0x2fbf();return a30_0x2d2c=function(_0x2d2cd5,_0x3356ac){_0x2d2cd5=_0x2d2cd5-0x17c;let _0x38bd07=_0x2fbf8e[_0x2d2cd5];return _0x38bd07;},a30_0x2d2c(_0x4a0ae7,_0x37ca03);}function a30_0x2fbf(){const _0x4be72b=['\x20\x20<dt\x20class=\x22error\x22>','KZzXS','\x20\x20<dt>','pid','TKfDu','testAnalyticsId','get','</code></pre></dd>','slice','now','titlePath','current_test','fkiJZ','CBTSessionCreated','WWmEG','_currentRetry','dpudU','dwsSu','../../../helpers/metadata','ZKgqp','</dl>','File\x20path\x20could\x20not\x20be\x20found','mocha/lib/runnable.js','zbHlO','parent','finalResults','WwMnE','CNAtk','fail','<section\x20class=\x22suite\x22>','</dd>','join','EpjJk','10176696sVfyaL','currentTest','nvMDo','../../../helpers/helper','err','iLFaz','ptBKD','nzQaB','removeAllListeners','4746155WYqsZU','Mocha','doc','83WpNaqb','ystcD','HookFinished','hook_type','increaseIndent','ifrvG','Dgtxu','getInstance','BqrKh','\x20(%dms)','started_at','test','wATMT','AFTER_ALL','stdout','ctx','prefixTestPath','5412960cMLJHK','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','ZaBeq','wKGwb','type','lcnc','relative','decreaseIndent','../../../helpers/globals','Failed\x20to\x20load\x20reporter\x20','fullTitle','</section>','\x20\x20%d)\x20%s','AssertionError','dBNPg','juxBF','expanded','bxXoN','body','Euqrr','xunit','currentRetry','split','../../../helpers/central-scanner/helpers','EOIIy','suiteCount','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','indent','responseCode','appendTesthubParams','mocha/lib/utils.js','findGitConfig','_testResults','cqODN','dLViE','rovdQ','../../../helpers/testhub/utils','../../../helpers/testhub/constants','SmTFK','AroPK','YSkqW','ZmbJq','dRYaK','test_run_uuid','mocha/lib/reporters/','FVhvX','TestRunSkipped','vPvtm','ySEIR','eZUzn','getRootParentFile','fyocU','avklf','result','once','hookAnalyticsId','MbCFN','GMEVa','duration','_buildCreated','IByoY','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','jpllH','MOCHA','length','isPending','passed','color','FvtTP','consoleLog','../test-observability/mochaUtils','BEFORE_EACH','failureCount','dVHHM','VxbFk','failCount','runner','title','before\x20each','BEFORE_ALL','VFnKJ','includes','hook_run_uuid','call','docHtml','mocha/lib/reporters/base.js','setCurrentTestData','ENqjn','path','results','dot','fXMRs','EVENT','name','backtrace','oDpIa','ugPtc','apply','qDrnL','byTUz','vEnWo','registerListeners','EAbWN','suites','AEMIC','match','originalTitle','uploadEventData','1435658QlGivl','.git','reporterOptions','\x20\x20<dd><pre><code>','sendTestRunEvent','aEMgm','wpwIH','dirname','OgUSD','26618bNIeRL','\x20-\x20','__platform__','../../../helpers/test-observability/utils','1403409PvMAuX','\x20with\x20error\x20:\x20','0|1|4|3|2','Runner','vOmQP','shutdown','event_type','aixDZ','assign','pass','TestRunStarted','inspect','constants','RUNNING','SWCKV','IuTva','forEach','_upstreamConfig','</dt>','bind','mocha','state','test_run','agpSv','RZhgl','setCentralScannerData','appendTestItemLog','file','write','dTlEa','QlhlE','fimsG','Reporter','exports','VMIZw','util','appendTestPlatform','scopes','current_hook','getTime','reporterOption','eYXHL','clean','root','kAqwV','\x20\x20<dd\x20class=\x22error\x22>','Jvkgh','pending','%s\x20-\x20%s','ymvRp','VniSk','GgIka','elIKK','fast','escape','qBKdL','toISOString','toString','GIOdT','euzDI','after\x20all','analyticsResult','lAYsc','MsyOj','TcYxN','dXGXx','HookStarted','_testEnv','redirectUrl','GLZvy','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','16FVgReB','comma','BGGAA','GrKRk','ysUlP','foDxX','Curkv','shouldProcessEventForTesthub','GmblF','bs:addLog:','push','__indents','skipped','oDDwH','wrjPm','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','docAppend','PGSjx','kSBML','huJHu','../../../helpers/test-observability/constants','markedStatus','scope','jQonV','rPJAA','UictE','jLvtZ','../../../helpers/test-observability/requestQueueHandler','fpTGR','JtMrf','bright\x20yellow','bFNDm','UhrSM','failure_reason_expanded','YmFgw','HookRunFinished','DwosR','uuid','yfITg','speed','config','retryOf','symbols','iEKjS','2734372RsOZIx','hooks','failed','uVGNW','testStarted','_indents','TestRunFinished'];a30_0x2fbf=function(){return _0x4be72b;};return a30_0x2fbf();}(function(_0x27cd4c,_0x1119ae){const _0x1b37fe=a30_0x2d2c,_0x422d93=_0x27cd4c();while(!![]){try{const _0x3d8a23=-parseInt(_0x1b37fe(0x25a))/0x1*(-parseInt(_0x1b37fe(0x1af))/0x2)+-parseInt(_0x1b37fe(0x1b3))/0x3+-parseInt(_0x1b37fe(0x226))/0x4+parseInt(_0x1b37fe(0x257))/0x5+-parseInt(_0x1b37fe(0x26b))/0x6+parseInt(_0x1b37fe(0x1a6))/0x7*(-parseInt(_0x1b37fe(0x1fa))/0x8)+parseInt(_0x1b37fe(0x24e))/0x9;if(_0x3d8a23===_0x1119ae)break;else _0x422d93['push'](_0x422d93['shift']());}catch(_0x3b499e){_0x422d93['push'](_0x422d93['shift']());}}}(a30_0x2fbf,0xaffee));const util=require(a30_0x14bc0c(0x1d6)),fs=require('fs'),path=require(a30_0x14bc0c(0x192)),{requireModule,getCentralUser}=require('../../../helpers/helper'),Base=requireModule(a30_0x14bc0c(0x18f),a30_0x14bc0c(0x1c7)),utils=requireModule(a30_0x14bc0c(0x289),a30_0x14bc0c(0x1c7)),color=Base[a30_0x14bc0c(0x17d)],Mocha=requireModule(a30_0x14bc0c(0x1c7)),Runnable=requireModule(a30_0x14bc0c(0x243),a30_0x14bc0c(0x1c7)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require(a30_0x14bc0c(0x251)),testhubUtils=require(a30_0x14bc0c(0x28f)),centralScannerUtils=require(a30_0x14bc0c(0x282)),testHubConstants=require(a30_0x14bc0c(0x290)),{FRAMEWORKS}=require(a30_0x14bc0c(0x20e)),globals=require(a30_0x14bc0c(0x273)),logger=require('../../../helpers/logger')['winstonLogger'],TestMetadata=require(a30_0x14bc0c(0x23f)),a30_0x531e8e={};a30_0x531e8e['before\x20all']=a30_0x14bc0c(0x189),a30_0x531e8e[a30_0x14bc0c(0x1ef)]=a30_0x14bc0c(0x267),a30_0x531e8e[a30_0x14bc0c(0x188)]=a30_0x14bc0c(0x181),a30_0x531e8e['after\x20each']='AFTER_EACH';const HOOK_TYPES_MAP=a30_0x531e8e,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a30_0x14bc0c(0x1b6)][a30_0x14bc0c(0x1bf)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a30_0x14bc0c(0x1bf)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a30_0x14bc0c(0x180)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a30_0x14bc0c(0x1b2)),RequestQueueHandler=require(a30_0x14bc0c(0x215)),requestQueueHandler=RequestQueueHandler[a30_0x14bc0c(0x261)]();class MyReporter{constructor(_0x1e322a,_0x28a59a){const _0x1e127e=a30_0x14bc0c,_0x2f1436={'DwosR':function(_0x2f9d65,_0x6a3790){return _0x2f9d65===_0x6a3790;},'aixDZ':'spec','Jvkgh':function(_0x579c4d,_0x35ac4c){return _0x579c4d===_0x35ac4c;},'IByoY':function(_0x3dc31c,_0x5ebc8a){return _0x3dc31c+_0x5ebc8a;},'FvtTP':function(_0x24ca0f,_0x567e39){return _0x24ca0f+_0x567e39;},'SmTFK':function(_0x7823e1,_0x32abb6,_0x14227b){return _0x7823e1(_0x32abb6,_0x14227b);},'zbHlO':'green','fkiJZ':'%s\x20','GmblF':function(_0x42d2d0,_0x4de86f,_0x46071d){return _0x42d2d0(_0x4de86f,_0x46071d);},'EmaCe':'light','nvMDo':_0x1e127e(0x1e3),'Euqrr':_0x1e127e(0x1c0),'GrKRk':function(_0x22c3f8,_0x3aeb60){return _0x22c3f8===_0x3aeb60;},'byTUz':_0x1e127e(0x259),'oDpIa':function(_0x1d8264,_0x49e904){return _0x1d8264===_0x49e904;},'AEMIC':function(_0x508aa9){return _0x508aa9();},'kSBML':function(_0x2f2554){return _0x2f2554();},'KZzXS':'HookRunStarted','foDxX':_0x1e127e(0x21d),'xaguE':function(_0x5979f2,_0x41f251){return _0x5979f2===_0x41f251;},'VMIZw':'passed','UhrSM':function(_0x17726f,_0x537b95){return _0x17726f===_0x537b95;},'pDxQh':_0x1e127e(0x1e8),'eYXHL':function(_0xd4f8c,_0x26c9a8){return _0xd4f8c+_0x26c9a8;},'fyocU':function(_0x262b35,_0x2cc74a){return _0x262b35+_0x2cc74a;},'wKGwb':function(_0x41b750,_0x4b84b3,_0x15fdf8){return _0x41b750(_0x4b84b3,_0x15fdf8);},'jQonV':'checkmark','ystcD':function(_0x37395a,_0x712d93){return _0x37395a+_0x712d93;},'vPvtm':_0x1e127e(0x1bc),'FVhvX':'\x20%s','bxXoN':_0x1e127e(0x263),'lAYsc':_0x1e127e(0x249),'FnJLb':_0x1e127e(0x277),'bFNDm':function(_0x47c1fa,_0x2c9780){return _0x47c1fa===_0x2c9780;},'GgIka':function(_0xd8eb4a,_0x5145b8){return _0xd8eb4a+_0x5145b8;},'IwgSM':function(_0x2b0ece,_0x39951d){return _0x2b0ece+_0x39951d;},'EAbWN':_0x1e127e(0x218),'VFnKJ':'COMPLETED','iLFaz':_0x1e127e(0x194),'vOmQP':function(_0xeb871f,_0x51ad5e){return _0xeb871f===_0x51ad5e;},'YmFgw':'slow','GMEVa':function(_0x559c0a,_0xb4069a){return _0x559c0a===_0xb4069a;},'xHJiq':_0x1e127e(0x1b5),'ymvRp':'pending','dVHHM':_0x1e127e(0x299),'YSkqW':function(_0xb27246,_0x2a4b2e){return _0xb27246===_0x2a4b2e;},'jpllH':function(_0x1611ad,_0x56e773){return _0x1611ad===_0x56e773;},'Curkv':function(_0x140903,_0x5560fc){return _0x140903(_0x5560fc);},'WwMnE':function(_0x330bd2,_0x560bd2){return _0x330bd2(_0x560bd2);},'vEnWo':function(_0x4809f1){return _0x4809f1();},'MbCFN':_0x1e127e(0x27f),'qBKdL':function(_0x1acea0,_0x44f1e0,_0x2a69ab){return _0x1acea0(_0x44f1e0,_0x2a69ab);},'QlhlE':_0x1e127e(0x1c7),'RyZnU':function(_0x20621e,_0x103f77){return _0x20621e(_0x103f77);},'rPJAA':function(_0x2b75e0,_0xf307b3){return _0x2b75e0(_0xf307b3);},'avklf':function(_0x3c8d94,_0x10f28e){return _0x3c8d94!==_0x10f28e;}};this['type']=_0x28a59a[_0x1e127e(0x1db)][_0x1e127e(0x26f)],this['testObservability']=_0x2f1436['kSBML'](isTestObservabilitySession),Base[_0x1e127e(0x18d)](this,_0x1e322a,_0x28a59a),this[_0x1e127e(0x22b)]=0x0,this[_0x1e127e(0x185)]=0x0,this[_0x1e127e(0x193)]=[],this[_0x1e127e(0x246)]=[],this[_0x1e127e(0x284)]=0x0,this[_0x1e127e(0x2a6)]=![],this[_0x1e127e(0x28b)]=[],this[_0x1e127e(0x1f6)]=_0x2f1436[_0x1e127e(0x19e)](getTestEnv),this['_paths']=new PathHelper({'cwd':process['cwd']()},this['_testEnv']['location_prefix']),this[_0x1e127e(0x1c4)]=_0x28a59a[_0x1e127e(0x1db)]['bsConfig'],this['registerListeners']();_0x2f1436['YSkqW'](this[_0x1e127e(0x26f)],_0x2f1436['byTUz'])&&(this['docHtml']='',this[_0x1e127e(0x205)]=0x2);_0x1e322a[_0x1e127e(0x2a1)](EVENT_RUN_BEGIN,async()=>{const _0x58b5af=_0x1e127e;_0x2f1436[_0x58b5af(0x21e)](this[_0x58b5af(0x26f)],_0x2f1436[_0x58b5af(0x1ba)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x539e83=>{const _0xae3e04=_0x1e127e;if(_0x539e83['root'])return;if(_0x2f1436[_0xae3e04(0x1e1)](this[_0xae3e04(0x26f)],_0x2f1436[_0xae3e04(0x1ba)]))this['increaseIndent'](),Base[_0xae3e04(0x17f)](_0x2f1436[_0xae3e04(0x2a7)](_0x2f1436[_0xae3e04(0x17e)](this[_0xae3e04(0x286)](),_0x2f1436[_0xae3e04(0x291)](color,_0x2f1436[_0xae3e04(0x244)],_0x2f1436['fkiJZ'])),_0x2f1436[_0xae3e04(0x202)](color,_0x2f1436['EmaCe'],_0x2f1436[_0xae3e04(0x250)])),_0x2f1436[_0xae3e04(0x27e)],_0x539e83[_0xae3e04(0x187)],global[_0xae3e04(0x1b1)]);else _0x2f1436[_0xae3e04(0x1fd)](this[_0xae3e04(0x26f)],_0x2f1436[_0xae3e04(0x19d)])&&(this[_0xae3e04(0x20a)](this[_0xae3e04(0x286)]()+_0xae3e04(0x24a)),++this[_0xae3e04(0x205)],this[_0xae3e04(0x20a)](this[_0xae3e04(0x286)]()+'<h1>'+utils[_0xae3e04(0x1e9)](_0x539e83['title']+_0xae3e04(0x1b0)+global[_0xae3e04(0x1b1)])+'</h1>'),this[_0xae3e04(0x20a)](this['indent']()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x46ff19=>{const _0xe3af5=_0x1e127e;if(_0x2f1436[_0xe3af5(0x199)](testhubUtils[_0xe3af5(0x201)](testHubConstants[_0xe3af5(0x196)][_0xe3af5(0x1f5)]),!![])){if(!_0x46ff19[_0xe3af5(0x2a2)])_0x46ff19[_0xe3af5(0x2a2)]=_0x2f1436[_0xe3af5(0x1a2)](uuidv4);else _0x46ff19['markedStatus']&&(_0x46ff19[_0xe3af5(0x2a2)]=_0x2f1436[_0xe3af5(0x20c)](uuidv4),delete _0x46ff19[_0xe3af5(0x20f)]);_0x46ff19['started_at']=new Date()[_0xe3af5(0x1eb)](),this[_0xe3af5(0x1d9)]=_0x46ff19,await this[_0xe3af5(0x1aa)](_0x46ff19,undefined,![],_0x2f1436[_0xe3af5(0x22e)]);}})['on'](EVENT_HOOK_END,async _0xa8deac=>{const _0x50cc61=_0x1e127e;_0x2f1436[_0x50cc61(0x21e)](testhubUtils[_0x50cc61(0x201)](testHubConstants[_0x50cc61(0x196)][_0x50cc61(0x25c)]),!![])&&(!_0xa8deac[_0x50cc61(0x20f)]&&(_0xa8deac[_0x50cc61(0x20f)]=!![],await this[_0x50cc61(0x1aa)](_0xa8deac,undefined,![],_0x2f1436[_0x50cc61(0x1ff)])));})['on'](EVENT_SUITE_END,_0x2e4cf9=>{const _0x43cbe=_0x1e127e,_0x3a5b56={'RQltx':function(_0x55c45f,_0xebd101){return _0x2f1436['xaguE'](_0x55c45f,_0xebd101);},'wzAGZ':_0x2f1436[_0x43cbe(0x1d5)],'jeBtZ':function(_0x50efac,_0x27eec9){const _0x1c5d54=_0x43cbe;return _0x2f1436[_0x1c5d54(0x21a)](_0x50efac,_0x27eec9);},'euzDI':_0x2f1436['pDxQh'],'VniSk':function(_0x126385,_0x335494){const _0x5b427b=_0x43cbe;return _0x2f1436[_0x5b427b(0x1dc)](_0x126385,_0x335494);},'jLvtZ':function(_0x33021b,_0x36dbb6){const _0xeb87b3=_0x43cbe;return _0x2f1436[_0xeb87b3(0x29e)](_0x33021b,_0x36dbb6);},'yfITg':function(_0x8f6d9e,_0x3e602f,_0x525b3d){const _0x3e340b=_0x43cbe;return _0x2f1436[_0x3e340b(0x26e)](_0x8f6d9e,_0x3e602f,_0x525b3d);},'ZhfjV':_0x2f1436[_0x43cbe(0x211)],'ENqjn':function(_0x9c6d6c,_0x1b7cb0){const _0x412f0f=_0x43cbe;return _0x2f1436[_0x412f0f(0x25b)](_0x9c6d6c,_0x1b7cb0);},'juxBF':_0x2f1436[_0x43cbe(0x29a)],'PGSjx':_0x2f1436[_0x43cbe(0x298)],'JtMrf':function(_0x190a54,_0x2ea653,_0x577b20){return _0x2f1436['wKGwb'](_0x190a54,_0x2ea653,_0x577b20);},'tLDot':_0x2f1436[_0x43cbe(0x27c)],'dTlEa':_0x2f1436['lAYsc'],'wSHqh':_0x2f1436['FnJLb']};if(_0x2e4cf9[_0x43cbe(0x1de)])return;if(_0x2f1436[_0x43cbe(0x219)](this[_0x43cbe(0x26f)],_0x2f1436[_0x43cbe(0x1ba)]))Base[_0x43cbe(0x17f)](),Base[_0x43cbe(0x17f)](_0x2f1436[_0x43cbe(0x1e6)](_0x2f1436['IwgSM'](this[_0x43cbe(0x286)](),_0x2f1436['wKGwb'](color,_0x2f1436[_0x43cbe(0x1a0)],_0x2f1436[_0x43cbe(0x239)])),_0x2f1436[_0x43cbe(0x202)](color,_0x2f1436['EmaCe'],_0x2f1436[_0x43cbe(0x250)])),_0x2f1436[_0x43cbe(0x18a)],_0x2e4cf9['title'],global[_0x43cbe(0x1b1)]),this[_0x43cbe(0x193)][_0x43cbe(0x1c3)](_0x24afcc=>{const _0x3509eb=_0x43cbe;if(_0x3a5b56['RQltx'](_0x24afcc['state'],_0x3a5b56['wzAGZ'])){var _0xef6098;_0x3a5b56['jeBtZ'](_0x24afcc[_0x3509eb(0x221)],_0x3a5b56[_0x3509eb(0x1ee)])?(_0xef6098=_0x3a5b56['VniSk'](_0x3a5b56[_0x3509eb(0x214)](this['indent'](),_0x3a5b56[_0x3509eb(0x220)](color,_0x3a5b56['ZhfjV'],_0x3a5b56[_0x3509eb(0x191)]('\x20\x20',Base[_0x3509eb(0x224)]['ok']))),_0x3a5b56[_0x3509eb(0x220)](color,_0x3a5b56[_0x3509eb(0x27a)],_0x3a5b56[_0x3509eb(0x20b)])),Base[_0x3509eb(0x17f)](_0xef6098,_0x24afcc[_0x3509eb(0x187)])):(_0xef6098=_0x3a5b56[_0x3509eb(0x1e5)](_0x3a5b56['ENqjn'](_0x3a5b56[_0x3509eb(0x214)](this[_0x3509eb(0x286)](),_0x3a5b56[_0x3509eb(0x220)](color,_0x3a5b56['ZhfjV'],_0x3a5b56[_0x3509eb(0x1e5)]('\x20\x20',Base[_0x3509eb(0x224)]['ok']))),_0x3a5b56[_0x3509eb(0x220)](color,_0x3a5b56[_0x3509eb(0x27a)],_0x3a5b56['PGSjx'])),_0x3a5b56['JtMrf'](color,_0x24afcc[_0x3509eb(0x221)],_0x3a5b56['tLDot'])),Base['consoleLog'](_0xef6098,_0x24afcc[_0x3509eb(0x187)],_0x24afcc[_0x3509eb(0x2a5)]));}else Base['consoleLog'](_0x3a5b56['VniSk'](this[_0x3509eb(0x286)](),_0x3a5b56[_0x3509eb(0x217)](color,_0x3a5b56[_0x3509eb(0x1d0)],_0x3a5b56['wSHqh'])),++this['failCount'],_0x24afcc['title']);}),this[_0x43cbe(0x272)]();else _0x2f1436['Jvkgh'](this[_0x43cbe(0x26f)],_0x2f1436['byTUz'])&&(this['docAppend'](this[_0x43cbe(0x286)]()+_0x43cbe(0x241)),--this[_0x43cbe(0x205)],this[_0x43cbe(0x20a)](this[_0x43cbe(0x286)]()+_0x43cbe(0x276)),--this[_0x43cbe(0x205)]);Array['prototype'][_0x43cbe(0x204)][_0x43cbe(0x19b)](this[_0x43cbe(0x246)],this['results']),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x57f144=>{const _0x185136=_0x1e127e;this[_0x185136(0x193)][_0x185136(0x204)]({'speed':_0x57f144['speed'],'suite':_0x57f144[_0x185136(0x245)][_0x185136(0x187)],'title':_0x57f144['title'],'fullTitle':_0x57f144[_0x185136(0x275)](),'duration':_0x57f144[_0x185136(0x2a5)],'state':_0x57f144['state'],'err':{},'currentRetry':_0x57f144[_0x185136(0x280)](),'titlePathV':_0x57f144[_0x185136(0x237)](),'isPending':_0x57f144[_0x185136(0x2ac)]()});if(_0x2f1436[_0x185136(0x21a)](this[_0x185136(0x26f)],_0x2f1436[_0x185136(0x253)]))_0x2f1436[_0x185136(0x1b7)](_0x57f144['speed'],_0x2f1436[_0x185136(0x21c)])?process[_0x185136(0x268)][_0x185136(0x1cf)](Base[_0x185136(0x17d)](_0x2f1436[_0x185136(0x1a0)],Base[_0x185136(0x224)][_0x185136(0x194)])):process[_0x185136(0x268)][_0x185136(0x1cf)](Base[_0x185136(0x17d)](_0x57f144[_0x185136(0x221)],Base[_0x185136(0x224)][_0x185136(0x194)]));else{if(_0x2f1436[_0x185136(0x2a4)](this['type'],_0x2f1436[_0x185136(0x19d)])){this[_0x185136(0x20a)](this[_0x185136(0x286)]()+_0x185136(0x22f)+utils[_0x185136(0x1e9)](_0x57f144[_0x185136(0x187)])+_0x185136(0x1c5)),this[_0x185136(0x20a)](this[_0x185136(0x286)]()+_0x185136(0x22f)+utils['escape'](_0x57f144[_0x185136(0x1ce)])+_0x185136(0x1c5));var _0x4e6882=utils[_0x185136(0x1e9)](utils['clean'](_0x57f144['body']));this[_0x185136(0x20a)](this['indent']()+_0x185136(0x1a9)+_0x4e6882+_0x185136(0x234));}}_0x2f1436[_0x185136(0x1b7)](testhubUtils[_0x185136(0x201)](),!![])&&(!_0x57f144[_0x185136(0x20f)]&&(_0x57f144['markedStatus']=!![],await this['sendTestRunEvent'](_0x57f144)));})['on'](EVENT_TEST_FAIL,async(_0x161a91,_0x3ccdca)=>{const _0x32b81a=_0x1e127e;this[_0x32b81a(0x193)][_0x32b81a(0x204)]({'title':_0x161a91[_0x32b81a(0x187)],'suite':_0x161a91['parent'][_0x32b81a(0x187)],'state':_0x161a91['state'],'err':{'message':util[_0x32b81a(0x1be)](_0x3ccdca)},'fullTitle':_0x161a91['fullTitle'](),'speed':_0x161a91[_0x32b81a(0x221)],'currentRetry':_0x161a91[_0x32b81a(0x280)](),'titlePathV':_0x161a91[_0x32b81a(0x237)]()});if(_0x2f1436['xaguE'](this['type'],_0x2f1436['iLFaz']))process['stdout']['write'](Base[_0x32b81a(0x17d)](_0x2f1436[_0x32b81a(0x1f1)],Base[_0x32b81a(0x224)]['bang']));else{if(_0x2f1436[_0x32b81a(0x219)](this[_0x32b81a(0x26f)],_0x2f1436['byTUz'])){const _0x41b929=_0x2f1436['xHJiq'][_0x32b81a(0x281)]('|');let _0x2b3423=0x0;while(!![]){switch(_0x41b929[_0x2b3423++]){case'0':this[_0x32b81a(0x20a)](this[_0x32b81a(0x286)]()+_0x32b81a(0x22d)+utils[_0x32b81a(0x1e9)](_0x161a91[_0x32b81a(0x187)])+_0x32b81a(0x1c5));continue;case'1':this[_0x32b81a(0x20a)](this[_0x32b81a(0x286)]()+_0x32b81a(0x22d)+utils[_0x32b81a(0x1e9)](_0x161a91['file'])+_0x32b81a(0x1c5));continue;case'2':this[_0x32b81a(0x20a)](this['indent']()+_0x32b81a(0x1e0)+utils['escape'](_0x161a91[_0x32b81a(0x252)])+_0x32b81a(0x24b));continue;case'3':this[_0x32b81a(0x20a)](this[_0x32b81a(0x286)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x330d86+_0x32b81a(0x234));continue;case'4':var _0x330d86=utils['escape'](utils[_0x32b81a(0x1dd)](_0x161a91['body']));continue;}break;}}}if(_0x2f1436[_0x32b81a(0x2a4)](testhubUtils[_0x32b81a(0x201)](testHubConstants[_0x32b81a(0x196)][_0x32b81a(0x25c)]),!![])){if(!_0x161a91[_0x32b81a(0x20f)]){_0x161a91[_0x32b81a(0x20f)]=!![];if(_0x161a91[_0x32b81a(0x232)])await this[_0x32b81a(0x1aa)](_0x161a91,_0x3ccdca);else _0x161a91['hookAnalyticsId']&&await this[_0x32b81a(0x1aa)](_0x161a91,_0x3ccdca,![],_0x2f1436[_0x32b81a(0x1ff)]);}}})['on'](EVENT_TEST_PENDING,async _0x1d6c0c=>{const _0xe92c4a=_0x1e127e;this[_0xe92c4a(0x193)][_0xe92c4a(0x204)]({'title':_0x1d6c0c[_0xe92c4a(0x187)],'suite':_0x1d6c0c[_0xe92c4a(0x245)][_0xe92c4a(0x187)],'state':_0x1d6c0c[_0xe92c4a(0x1c8)],'err':{},'fullTitle':_0x1d6c0c[_0xe92c4a(0x275)](),'speed':_0x1d6c0c[_0xe92c4a(0x221)],'currentRetry':_0x1d6c0c[_0xe92c4a(0x280)](),'titlePathV':_0x1d6c0c[_0xe92c4a(0x237)]()}),_0x2f1436['xaguE'](this[_0xe92c4a(0x26f)],_0x2f1436[_0xe92c4a(0x253)])&&process['stdout'][_0xe92c4a(0x1cf)](Base[_0xe92c4a(0x17d)](_0x2f1436[_0xe92c4a(0x1e4)],Base[_0xe92c4a(0x224)][_0xe92c4a(0x1fb)])),_0x2f1436[_0xe92c4a(0x21a)](testhubUtils[_0xe92c4a(0x201)](),!![])&&(!_0x1d6c0c[_0xe92c4a(0x232)]&&(_0x1d6c0c[_0xe92c4a(0x232)]=_0x2f1436[_0xe92c4a(0x20c)](uuidv4)),!_0x1d6c0c[_0xe92c4a(0x20f)]&&(_0x1d6c0c[_0xe92c4a(0x20f)]=!![],await this[_0xe92c4a(0x1aa)](_0x1d6c0c,undefined,![],_0x2f1436[_0xe92c4a(0x183)])));})['on'](EVENT_TEST_BEGIN,async _0x33d100=>{const _0x8b9e0c=_0x1e127e;_0x2f1436[_0x8b9e0c(0x293)](testhubUtils[_0x8b9e0c(0x201)](),!![])&&await this[_0x8b9e0c(0x22a)](_0x33d100);})['on'](EVENT_TEST_END,async _0x1d5e89=>{const _0x329ba9=_0x1e127e;_0x2f1436[_0x329ba9(0x21a)](testhubUtils[_0x329ba9(0x201)](),!![])&&(!_0x1d5e89[_0x329ba9(0x20f)]&&(_0x1d5e89[_0x329ba9(0x20f)]=!![],await this[_0x329ba9(0x1aa)](_0x1d5e89)));})[_0x1e127e(0x2a1)](EVENT_RUN_END,async()=>{const _0x472970=_0x1e127e;try{if(_0x2f1436[_0x472970(0x2a9)](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x44666a=_0x2f1436[_0x472970(0x200)](getHookSkippedTests,this[_0x472970(0x186)]['suite']);for(const _0x4c063a of _0x44666a){!_0x4c063a[_0x472970(0x232)]&&(_0x4c063a[_0x472970(0x232)]=_0x2f1436[_0x472970(0x1a2)](uuidv4)),await this[_0x472970(0x1aa)](_0x4c063a,undefined,![],_0x2f1436[_0x472970(0x183)]);}}}catch(_0xcabae){_0x2f1436[_0x472970(0x247)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0xcabae);}await requestQueueHandler[_0x472970(0x1b8)](),_0x2f1436[_0x472970(0x21a)](this[_0x472970(0x26f)],_0x2f1436['byTUz'])&&Base['consoleLog'](this['docHtml']);});if(this[_0x1e127e(0x26f)]&&![_0x2f1436[_0x1e127e(0x19d)],_0x2f1436[_0x1e127e(0x2a3)],_0x2f1436[_0x1e127e(0x1ba)],_0x2f1436[_0x1e127e(0x253)]]['includes'](this[_0x1e127e(0x26f)])){const _0x3d5308=this['type']['trim']();this[_0x1e127e(0x1d3)]=null;try{this[_0x1e127e(0x1d3)]=_0x2f1436[_0x1e127e(0x1ea)](requireModule,_0x1e127e(0x297)+_0x3d5308+'.js',_0x2f1436[_0x1e127e(0x1d1)]);}catch(_0x11e53c){_0x2f1436['RyZnU'](debug,_0x1e127e(0x2a8)+_0x11e53c);}if(_0x2f1436['oDpIa'](this[_0x1e127e(0x1d3)],null))try{this[_0x1e127e(0x1d3)]=_0x2f1436[_0x1e127e(0x212)](require,_0x3d5308);}catch(_0x2623e3){console['error'](_0x1e127e(0x274)+_0x3d5308);}if(_0x2f1436[_0x1e127e(0x29f)](this['Reporter'],null)){const _0x190914={};_0x190914[_0x1e127e(0x1a8)]=_0x28a59a[_0x1e127e(0x1db)],this['Reporter']=new this['Reporter'](_0x1e322a,_0x190914);}}}[a30_0x14bc0c(0x286)](){const _0x1d8721=a30_0x14bc0c,_0x13a7cc={'VxbFk':function(_0x319e29,_0x682d8e){return _0x319e29(_0x682d8e);}};return _0x13a7cc[_0x1d8721(0x184)](Array,this['_indents'])[_0x1d8721(0x24c)]('\x20\x20');}[a30_0x14bc0c(0x25e)](){const _0x252c98=a30_0x14bc0c;this[_0x252c98(0x22b)]++;}[a30_0x14bc0c(0x272)](){const _0x2ddad0=a30_0x14bc0c;this[_0x2ddad0(0x22b)]--;}[a30_0x14bc0c(0x20a)](_0x1a30cf){const _0x3897fb=a30_0x14bc0c;this[_0x3897fb(0x18e)]+=_0x1a30cf;}['done'](_0x4c3dd7,_0x5116d8){const _0x27de4d=a30_0x14bc0c,_0x545564={'cqODN':function(_0x42f136,_0x5d7e99){return _0x42f136(_0x5d7e99);}},_0x35ffdf={};_0x35ffdf[_0x27de4d(0x182)]=_0x4c3dd7,_0x35ffdf['results']=this[_0x27de4d(0x246)],_0x545564[_0x27de4d(0x28c)](_0x5116d8,_0x35ffdf);}[a30_0x14bc0c(0x19f)](){const _0xb026c3=a30_0x14bc0c;process[_0xb026c3(0x256)](_0xb026c3(0x203)+process[_0xb026c3(0x230)]),process['on'](_0xb026c3(0x203)+process[_0xb026c3(0x230)],this[_0xb026c3(0x1cd)]['bind'](this)),process['removeAllListeners']('bs:addPlatformDetails:'+process[_0xb026c3(0x230)]),process['on']('bs:addPlatformDetails:'+process[_0xb026c3(0x230)],this[_0xb026c3(0x1d7)][_0xb026c3(0x1c6)](this));}[a30_0x14bc0c(0x22a)]=async _0x21616e=>{const _0x8396a1=a30_0x14bc0c,_0x35e0b9={'fJaEr':function(_0x9e74a0){return _0x9e74a0();},'ojnKx':'testRunUUID','eZUzn':function(_0x52d960,_0x5d80b6){return _0x52d960>_0x5d80b6;},'CNAtk':function(_0x2b5097,_0x2092d2){return _0x2b5097===_0x2092d2;},'uVGNW':_0x8396a1(0x1bd),'AroPK':function(_0x38838d,_0x35e906){return _0x38838d(_0x35e906);}};try{const _0x3ca252=this[_0x8396a1(0x238)];this['current_test']=_0x21616e,_0x21616e[_0x8396a1(0x223)]=null,_0x21616e[_0x8396a1(0x232)]=_0x35e0b9['fJaEr'](uuidv4),globals['setGlobal'](_0x35e0b9['ojnKx'],_0x21616e[_0x8396a1(0x232)]),_0x21616e['started_at']=new Date()['toISOString'](),_0x35e0b9[_0x8396a1(0x29c)](_0x21616e[_0x8396a1(0x23c)],0x0)&&_0x3ca252&&_0x35e0b9[_0x8396a1(0x248)](_0x3ca252['title'],_0x21616e[_0x8396a1(0x187)])?(_0x21616e[_0x8396a1(0x223)]=_0x3ca252[_0x8396a1(0x232)],await this['sendTestRunEvent'](_0x21616e,undefined,![],_0x35e0b9[_0x8396a1(0x229)]),_0x3ca252['state']=STATE_FAILED,await this[_0x8396a1(0x1aa)](_0x3ca252,undefined,!![])):await this[_0x8396a1(0x1aa)](_0x21616e,undefined,![],_0x35e0b9[_0x8396a1(0x229)]);}catch(_0x5a8a95){_0x35e0b9[_0x8396a1(0x292)](debug,_0x8396a1(0x1f9)+_0x5a8a95);}};[a30_0x14bc0c(0x1aa)]=async(_0xb94fc2,_0x246521=undefined,_0x33d1b6=![],_0x154735=a30_0x14bc0c(0x22c))=>{const _0x50a398=a30_0x14bc0c,_0x2bc1d3={'fimsG':function(_0x2188ff,_0x5e95a0){return _0x2188ff===_0x5e95a0;},'ZaBeq':function(_0x3652ec,_0x597c41){return _0x3652ec!==_0x597c41;},'TcYxN':_0x50a398(0x265),'ivyin':_0x50a398(0x252),'RbmTn':function(_0x4f6a9c,_0x5ce1e6){return _0x4f6a9c!==_0x5ce1e6;},'llEwz':_0x50a398(0x242),'EOIIy':_0x50a398(0x258),'fXMRs':'javascript','ySEIR':_0x50a398(0x299),'ifrvG':_0x50a398(0x206),'TKfDu':function(_0x1707a3,_0x54c66e){return _0x1707a3-_0x54c66e;},'iEKjS':_0x50a398(0x278),'SWCKV':'UnhandledError','OgUSD':_0x50a398(0x22c),'dLViE':'TestRunStarted','wrjPm':function(_0x2562b4){return _0x2562b4();},'ptBKD':_0x50a398(0x264),'wATMT':'finished_at','aEMgm':function(_0x13113b,_0x1cc3cc){return _0x13113b(_0x1cc3cc);},'huJHu':_0x50a398(0x21d),'GLZvy':function(_0x191aaf,_0x5f38a8){return _0x191aaf!==_0x5f38a8;},'tPtVt':_0x50a398(0x228),'BGGAA':_0x50a398(0x17c),'dXGXx':function(_0x35f4a3,_0x20ff77){return _0x35f4a3===_0x20ff77;},'wpwIH':_0x50a398(0x188),'ZKgqp':function(_0x49d699,_0x348882){return _0x49d699(_0x348882);},'vZDbv':'failure','iNhUu':'failure_backtrace','ysUlP':_0x50a398(0x198),'dRYaK':_0x50a398(0x21b),'ugPtc':_0x50a398(0x27b),'oDDwH':function(_0x30e27c,_0x1f46c9){return _0x30e27c(_0x1f46c9);},'nzQaB':function(_0x430130,_0x48a4b2){return _0x430130===_0x48a4b2;},'IuTva':_0x50a398(0x25d),'EpjJk':'hook_run','WWmEG':_0x50a398(0x1c9),'agpSv':function(_0x304440,_0x28d023){return _0x304440(_0x28d023);}};try{if(_0xb94fc2[_0x50a398(0x27d)]&&_0xb94fc2[_0x50a398(0x27d)][_0x50a398(0x1a3)](/browserstack internal helper hook/))return;let _0x572e24=[];if(_0x2bc1d3[_0x50a398(0x1d2)](_0xb94fc2[_0x50a398(0x1c8)],STATE_FAILED)){if(_0x2bc1d3[_0x50a398(0x26d)](_0xb94fc2[_0x50a398(0x252)],undefined))_0x572e24=_0xb94fc2[_0x50a398(0x252)]['multiple']?[_0xb94fc2[_0x50a398(0x252)]['multiple'],_0x2bc1d3[_0x50a398(0x1f3)]]:[_0xb94fc2[_0x50a398(0x252)],_0x2bc1d3['ivyin']];else _0x2bc1d3[_0x50a398(0x26d)](_0x246521,undefined)?_0x572e24=[_0x246521,_0x2bc1d3['ivyin']]:_0x572e24=[];}const _0x4dfdeb=_0x2bc1d3[_0x50a398(0x26d)](_0xb94fc2[_0x50a398(0x252)],undefined)?_0xb94fc2[_0x50a398(0x252)][_0x50a398(0x1ec)]():_0x2bc1d3['RbmTn'](_0x246521,undefined)?_0x246521[_0x50a398(0x1ec)]():undefined;let _0x4c1729;try{_0x4c1729=this['getRootParentFile'](_0xb94fc2);}catch(_0x46ad24){_0x4c1729=null;}const _0x3578b7=_0x4c1729?this['findGitConfig'](_0x4c1729):null,_0x2743ac=_0x4c1729?this['_paths'][_0x50a398(0x26a)](this[_0x50a398(0x29d)](_0xb94fc2)):_0x2bc1d3['llEwz'],_0x59c34c={'framework':_0x2bc1d3[_0x50a398(0x283)],'uuid':_0xb94fc2[_0x50a398(0x232)]||_0xb94fc2['hookAnalyticsId'],'name':_0xb94fc2[_0x50a398(0x187)],'body':{'lang':_0x2bc1d3[_0x50a398(0x195)],'code':_0xb94fc2['body']},'scope':this[_0x50a398(0x210)](_0xb94fc2),'scopes':this[_0x50a398(0x1d8)](_0xb94fc2),'identifier':_0xb94fc2['fullTitle'](),'file_name':_0x2743ac,'vc_filepath':_0x3578b7?path[_0x50a398(0x271)](_0x3578b7,_0x4c1729):null,'location':_0x2743ac,'result':_0x2bc1d3[_0x50a398(0x1d2)](_0x154735,_0x2bc1d3[_0x50a398(0x29b)])?_0x2bc1d3[_0x50a398(0x25f)]:this[_0x50a398(0x1f0)](_0xb94fc2['state']),'failure_reason':_0x4dfdeb,'duration_in_ms':_0xb94fc2[_0x50a398(0x2a5)]||(_0x154735[_0x50a398(0x1a3)](/Finished/)||_0x154735[_0x50a398(0x1a3)](/Skipped/)?_0x2bc1d3[_0x50a398(0x231)](Date[_0x50a398(0x236)](),new Date(_0xb94fc2[_0x50a398(0x264)])[_0x50a398(0x1da)]()):null),'started_at':_0xb94fc2[_0x50a398(0x264)],'finished_at':_0x154735[_0x50a398(0x1a3)](/Finished/)||_0x154735[_0x50a398(0x1a3)](/Skipped/)?new Date()[_0x50a398(0x1eb)]():null,'failure':failureData[_0x50a398(0x19b)](null,_0x572e24),'failure_type':!_0x4dfdeb?null:_0x4dfdeb[_0x50a398(0x1a3)](/AssertionError/)?_0x2bc1d3[_0x50a398(0x225)]:_0x2bc1d3[_0x50a398(0x1c1)],'retry_of':_0xb94fc2[_0x50a398(0x223)]};if([_0x2bc1d3[_0x50a398(0x29b)],_0x2bc1d3[_0x50a398(0x1ae)],_0x2bc1d3[_0x50a398(0x28d)]][_0x50a398(0x18b)](_0x154735)){if(_0x2bc1d3[_0x50a398(0x208)](getCentralUser)[_0x50a398(0x270)]){const _0x1c4202=TestMetadata[_0x50a398(0x233)](_0xb94fc2[_0x50a398(0x232)]);if(_0x1c4202){const _0xe4a6fc={};_0xe4a6fc[_0x50a398(0x270)]=_0x1c4202,Object[_0x50a398(0x1bb)](_0x59c34c,_0xe4a6fc);}}}testhubUtils[_0x50a398(0x288)](_0x59c34c,_0x154735,_0xb94fc2,FRAMEWORKS[_0x50a398(0x2aa)]);(_0xb94fc2['responseCode']||_0xb94fc2[_0x50a398(0x1f7)])&¢ralScannerUtils[_0x50a398(0x1cc)](_0x59c34c,_0xb94fc2[_0x50a398(0x287)],_0xb94fc2[_0x50a398(0x1f7)]);_0x2bc1d3[_0x50a398(0x1d2)](_0x154735,_0x2bc1d3[_0x50a398(0x29b)])&&!_0x59c34c[_0x2bc1d3['ptBKD']]&&(_0x59c34c[_0x2bc1d3[_0x50a398(0x254)]]=_0x59c34c[_0x2bc1d3[_0x50a398(0x266)]]);if(_0x154735['match'](/HookRun/))[_0x59c34c[_0x50a398(0x25d)],_0x59c34c[_0x50a398(0x197)]]=_0x2bc1d3[_0x50a398(0x1ab)](getHookDetails,_0xb94fc2[_0x50a398(0x275)]()||_0xb94fc2[_0x50a398(0x1a4)]||_0xb94fc2[_0x50a398(0x187)]),_0x2bc1d3[_0x50a398(0x1d2)](_0x154735,_0x2bc1d3[_0x50a398(0x20d)])&&(_0x2bc1d3[_0x50a398(0x1f8)](_0x59c34c['result'],_0x2bc1d3['tPtVt'])&&(_0x59c34c[_0x50a398(0x2a0)]=_0x2bc1d3[_0x50a398(0x1fc)]),_0x2bc1d3[_0x50a398(0x1f4)](_0x59c34c[_0x50a398(0x25d)],_0x2bc1d3[_0x50a398(0x1ac)])&&_0x2bc1d3[_0x50a398(0x1f4)](_0x59c34c[_0x50a398(0x2a0)],_0x2bc1d3['tPtVt'])&&!_0xb94fc2[_0x50a398(0x269)]['currentTest']['markedStatus']&&(_0xb94fc2[_0x50a398(0x269)]['currentTest']['markedStatus']=!![],_0xb94fc2[_0x50a398(0x269)][_0x50a398(0x24f)][_0x50a398(0x1c8)]=STATE_FAILED,await this[_0x50a398(0x1aa)](_0xb94fc2[_0x50a398(0x269)][_0x50a398(0x24f)],undefined,!![])));else _0x154735[_0x50a398(0x1a3)](/TestRun/)&&_0x2bc1d3[_0x50a398(0x240)](mapTestHooks,_0xb94fc2);const _0x423b14=_0x59c34c[_0x2bc1d3['vZDbv']][0x0];_0x423b14&&(_0x59c34c[_0x2bc1d3['iNhUu']]=_0x423b14[_0x2bc1d3[_0x50a398(0x1fe)]],_0x59c34c[_0x2bc1d3[_0x50a398(0x295)]]=_0x423b14[_0x2bc1d3[_0x50a398(0x19a)]]);[_0x2bc1d3['OgUSD'],_0x2bc1d3[_0x50a398(0x29b)]][_0x50a398(0x18b)](_0x154735)&&(this[_0x50a398(0x28b)][_0x50a398(0x204)](_0x59c34c),_0x59c34c[_0x50a398(0x227)]=_0x2bc1d3[_0x50a398(0x207)](getHooksForTest,_0xb94fc2));const _0x38130f={'event_type':_0x2bc1d3[_0x50a398(0x255)](_0x154735,_0x2bc1d3[_0x50a398(0x29b)])?_0x2bc1d3[_0x50a398(0x1ae)]:_0x154735};_0x154735[_0x50a398(0x1a3)](/HookRun/)?(_0x59c34c[_0x2bc1d3[_0x50a398(0x1c2)]]=HOOK_TYPES_MAP[_0x59c34c[_0x2bc1d3[_0x50a398(0x1c2)]]],_0x38130f[_0x2bc1d3[_0x50a398(0x24d)]]=_0x59c34c):_0x38130f[_0x2bc1d3[_0x50a398(0x23b)]]=_0x59c34c,testhubUtils[_0x50a398(0x190)](FRAMEWORKS[_0x50a398(0x2aa)],_0x38130f),await SessionHandler[_0x50a398(0x1a5)](_0x38130f);}catch(_0x1a64c6){_0x2bc1d3[_0x50a398(0x1ca)](debug,_0x50a398(0x285)+_0x154735+_0x50a398(0x1b4)+_0x1a64c6);}};[a30_0x14bc0c(0x28a)](_0x14d8b3){const _0x57a91=a30_0x14bc0c,_0x2563b4={};_0x2563b4[_0x57a91(0x1f2)]=function(_0x6cd9dc,_0xa74b99){return _0x6cd9dc===_0xa74b99;},_0x2563b4[_0x57a91(0x216)]=function(_0x9e2e10,_0x3787e7){return _0x9e2e10===_0x3787e7;},_0x2563b4[_0x57a91(0x279)]=_0x57a91(0x1a7),_0x2563b4['RZhgl']=_0x57a91(0x222);const _0x239dab=_0x2563b4,_0x385110=path['sep'];if(_0x239dab['MsyOj'](_0x14d8b3,null)||_0x239dab[_0x57a91(0x1f2)](_0x14d8b3,'')||_0x239dab['fpTGR'](_0x14d8b3,_0x385110)||_0x239dab['fpTGR'](_0x14d8b3,path[_0x57a91(0x1ad)](_0x14d8b3)))return null;try{return fs['statSync'](path[_0x57a91(0x24c)](_0x14d8b3,_0x239dab[_0x57a91(0x279)],_0x239dab[_0x57a91(0x1cb)])),_0x14d8b3;}catch(_0x535381){const _0x44ba44=path[_0x57a91(0x1ad)](_0x14d8b3);return this[_0x57a91(0x28a)](_0x44ba44);}}[a30_0x14bc0c(0x1cd)]=async _0x251051=>{const _0x3b9c48=a30_0x14bc0c,_0x107452={'ZmbJq':'LogCreated','rovdQ':function(_0x45160b,_0x391da1){return _0x45160b(_0x391da1);}};try{this[_0x3b9c48(0x1d9)]&&!this[_0x3b9c48(0x1d9)][_0x3b9c48(0x20f)]&&(_0x251051[_0x3b9c48(0x18c)]=this[_0x3b9c48(0x1d9)][_0x3b9c48(0x2a2)]);!_0x251051[_0x3b9c48(0x18c)]&&this[_0x3b9c48(0x238)]&&!this['current_test'][_0x3b9c48(0x20f)]&&(_0x251051['test_run_uuid']=this[_0x3b9c48(0x238)]['testAnalyticsId']);if(_0x251051[_0x3b9c48(0x18c)]||_0x251051[_0x3b9c48(0x296)]){const _0x4b140a={};_0x4b140a['event_type']=_0x107452[_0x3b9c48(0x294)],_0x4b140a['logs']=[_0x251051],await SessionHandler[_0x3b9c48(0x1a5)](_0x4b140a);}}catch(_0x692108){_0x107452[_0x3b9c48(0x28e)](debug,_0x3b9c48(0x209)+_0x692108);}};['appendTestPlatform']=async _0x29bad8=>{const _0x39c9e8=a30_0x14bc0c,_0x55da8f={'BqrKh':'http_response','qDrnL':_0x39c9e8(0x23a),'dwsSu':function(_0x1151c3,_0xbf59eb){return _0x1151c3(_0xbf59eb);}};try{const _0x38023d={};_0x38023d[_0x39c9e8(0x21f)]=_0x29bad8['uuid']||this[_0x39c9e8(0x238)][_0x39c9e8(0x232)],_0x38023d['integrations']=_0x29bad8[_0x55da8f[_0x39c9e8(0x262)]];const _0x4e0753=_0x38023d,_0x5ac85a={};_0x5ac85a[_0x39c9e8(0x1b9)]=_0x55da8f[_0x39c9e8(0x19c)],_0x5ac85a[_0x39c9e8(0x1c9)]=_0x4e0753,await SessionHandler[_0x39c9e8(0x1a5)](_0x5ac85a);}catch(_0x171433){_0x55da8f[_0x39c9e8(0x23e)](debug,_0x39c9e8(0x26c)+_0x171433);}};[a30_0x14bc0c(0x1f0)](_0x54aca9){const _0x26c665=a30_0x14bc0c,_0x8781c6={};_0x8781c6[_0x26c665(0x1ed)]=_0x26c665(0x17c),_0x8781c6[_0x26c665(0x1df)]=_0x26c665(0x1e2),_0x8781c6['elIKK']=_0x26c665(0x228);const _0x54c0d0=_0x8781c6,_0x929833={};return _0x929833[STATE_PASSED]=_0x54c0d0[_0x26c665(0x1ed)],_0x929833[STATE_PENDING]=_0x54c0d0[_0x26c665(0x1df)],_0x929833[STATE_FAILED]=_0x54c0d0[_0x26c665(0x1e7)],_0x929833[_0x54aca9];}[a30_0x14bc0c(0x210)](_0x33045d){const _0x12dec9=a30_0x14bc0c,_0x31c820={};_0x31c820[_0x12dec9(0x213)]=function(_0xb0431a,_0x1bce30){return _0xb0431a-_0x1bce30;};const _0x20a043=_0x31c820,_0x538b02=_0x33045d['titlePath']();return _0x538b02[_0x12dec9(0x235)](0x0,_0x20a043['UictE'](_0x538b02['length'],0x1))[_0x12dec9(0x24c)]('\x20');}[a30_0x14bc0c(0x1d8)](_0x5574d9){const _0x1934a0=a30_0x14bc0c,_0x13d87e={};_0x13d87e[_0x1934a0(0x260)]=function(_0x2d3e82,_0x2528d1){return _0x2d3e82-_0x2528d1;};const _0x41554b=_0x13d87e,_0x3c7d37=_0x5574d9[_0x1934a0(0x237)]();return _0x3c7d37[_0x1934a0(0x235)](0x0,_0x41554b['Dgtxu'](_0x3c7d37[_0x1934a0(0x2ab)],0x1));}[a30_0x14bc0c(0x29d)](_0xa08538){const _0x4de53d=a30_0x14bc0c,_0x22f2e2={};_0x22f2e2[_0x4de53d(0x23d)]=function(_0x2f5d0b,_0x48bdef){return _0x2f5d0b>_0x48bdef;};const _0xce125a=_0x22f2e2;if(_0xa08538[_0x4de53d(0x1ce)])return _0xa08538[_0x4de53d(0x1ce)];if(_0xa08538[_0x4de53d(0x269)]){const _0x139c20=_0xa08538[_0x4de53d(0x269)][_0x4de53d(0x24f)]?this['getRootParentFile'](_0xa08538['ctx'][_0x4de53d(0x24f)]):null;if(_0x139c20)return _0x139c20;}if(_0xa08538[_0x4de53d(0x245)]){const _0x31a794=this[_0x4de53d(0x29d)](_0xa08538[_0x4de53d(0x245)])||(_0xa08538[_0x4de53d(0x245)][_0x4de53d(0x269)]&&_0xa08538[_0x4de53d(0x245)][_0x4de53d(0x269)][_0x4de53d(0x24f)]?this[_0x4de53d(0x29d)](_0xa08538[_0x4de53d(0x245)]['ctx'][_0x4de53d(0x24f)]):null);if(_0x31a794)return _0x31a794;_0xa08538['parent'][_0x4de53d(0x1a1)]&&_0xce125a[_0x4de53d(0x23d)](_0xa08538['parent'][_0x4de53d(0x1a1)][_0x4de53d(0x2ab)],0x0)&&_0xa08538[_0x4de53d(0x245)][_0x4de53d(0x1a1)][_0x4de53d(0x1c3)](_0x238bb0=>{const _0x1be4ca=_0x4de53d,_0x5b0b06=_0x238bb0['ctx']?this[_0x1be4ca(0x29d)](_0x238bb0[_0x1be4ca(0x269)]):null;if(_0x5b0b06)return _0x5b0b06;});}return null;}}module[a30_0x14bc0c(0x1d4)]=MyReporter;
|
|
1
|
+
'use strict';const a30_0x1015bc=a30_0x1ef0;(function(_0x48e753,_0x55c907){const _0x22125e=a30_0x1ef0,_0x38d93c=_0x48e753();while(!![]){try{const _0x3d116a=parseInt(_0x22125e(0x25f))/0x1*(-parseInt(_0x22125e(0x242))/0x2)+-parseInt(_0x22125e(0x2ac))/0x3+parseInt(_0x22125e(0x28a))/0x4+parseInt(_0x22125e(0x298))/0x5*(-parseInt(_0x22125e(0x1e4))/0x6)+-parseInt(_0x22125e(0x2ec))/0x7+parseInt(_0x22125e(0x2dd))/0x8*(parseInt(_0x22125e(0x23a))/0x9)+parseInt(_0x22125e(0x2c9))/0xa;if(_0x3d116a===_0x55c907)break;else _0x38d93c['push'](_0x38d93c['shift']());}catch(_0xc280ca){_0x38d93c['push'](_0x38d93c['shift']());}}}(a30_0x582c,0xe40a7));const util=require('util'),fs=require('fs'),path=require('path'),{requireModule,getCentralUser}=require('../../../helpers/helper'),Base=requireModule('mocha/lib/reporters/base.js',a30_0x1015bc(0x263)),utils=requireModule(a30_0x1015bc(0x257),'mocha'),color=Base[a30_0x1015bc(0x2ef)],Mocha=requireModule('mocha'),Runnable=requireModule(a30_0x1015bc(0x2cc),'mocha'),{v4:uuidv4}=require(a30_0x1015bc(0x2c5)),bsSetupHelper=require(a30_0x1015bc(0x27b)),testhubUtils=require(a30_0x1015bc(0x239)),centralScannerUtils=require(a30_0x1015bc(0x226)),testHubConstants=require(a30_0x1015bc(0x319)),{FRAMEWORKS}=require(a30_0x1015bc(0x22b)),globals=require('../../../helpers/globals'),logger=require(a30_0x1015bc(0x29e))[a30_0x1015bc(0x314)],TestMetadata=require(a30_0x1015bc(0x252)),a30_0x201273={};a30_0x201273[a30_0x1015bc(0x309)]=a30_0x1015bc(0x254),a30_0x201273[a30_0x1015bc(0x20f)]=a30_0x1015bc(0x1ef),a30_0x201273[a30_0x1015bc(0x2d6)]=a30_0x1015bc(0x302),a30_0x201273['after\x20each']=a30_0x1015bc(0x2f8);function a30_0x1ef0(_0x5f54b8,_0x49acd5){const _0x582c6c=a30_0x582c();return a30_0x1ef0=function(_0x1ef0e0,_0x9ce2bb){_0x1ef0e0=_0x1ef0e0-0x1da;let _0x3a3976=_0x582c6c[_0x1ef0e0];return _0x3a3976;},a30_0x1ef0(_0x5f54b8,_0x49acd5);}const HOOK_TYPES_MAP=a30_0x201273,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a30_0x1015bc(0x2c3)][a30_0x1015bc(0x26e)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a30_0x1015bc(0x26e)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a30_0x1015bc(0x20e)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a30_0x1015bc(0x2a5)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a30_0x1015bc(0x31e)),requestQueueHandler=RequestQueueHandler[a30_0x1015bc(0x25d)]();function a30_0x582c(){const _0x2e00b2=['relative','exports','originalTitle','wfbSX','failureCount','</dt>','<dl>','getRootParentFile','dirname','escape','xofLq','dlpbA','QfVHC','suiteCount','hook_type','KmxIT','reporterOptions','ctx','body','done','Runner','xaxAq','uuid','_upstreamConfig','ECTwk','\x20\x20<dt>','42435290kUXrnh','uFjNy','bs:addLog:','mocha/lib/runnable.js','ncAIy','SpbfC','findGitConfig','root','BpnjA','fullTitle','IEEzI','sLyxc','QFXYh','before\x20each','HNBed','inspect','DkwGL','\x20\x20<dd\x20class=\x22error\x22>','write','current_test','344kvappX','Zijax','uEUuN','HookRunFinished','finalResults','speed','aNZuo','spec','AssertionError','xunit','test_run','CkyFN','Aphpn','toString','TINBk','5803084JrixSO','cwd','\x20\x20<dt\x20class=\x22error\x22>','color','push','fRcTd','hook_run_uuid','results','jHRue','zdttB','%s\x20-\x20%s','doc','AFTER_EACH','pnwFr','OSAuZ','shouldProcessEventForTesthub','</dd>','retryOf','stdout','Qmvbw','bright\x20yellow','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','BEFORE_EACH','</section>','testAnalyticsId','sMnFB','backtrace','indent','\x20\x20%d)\x20%s','before\x20all','SzOew','HookStarted','TMHFX','_indents','hookAnalyticsId','HookFinished','FFaLr','MLWeH','uBOxo','scopes','winstonLogger','fFjPF','\x20%s','RSyGl','Vmjgh','../../../helpers/testhub/constants','state','hook_run','Urnej','zzReN','../../../helpers/test-observability/requestQueueHandler','DNdOX','_testEnv','ajZdq','hwPHt','plqsE','parent','mzawY','__platform__','</h1>','IUNuX','gnFHD','1734396yFnOCs','expanded','length','currentRetry','markedStatus','Obvlh','QpjWm','MLHZK','fail','iEBzb','setGlobal','AFTER_ALL','VNDZc','location_prefix','event_type','vdbTx','BYVtN','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','nixFR','now','SamGr','fqfzd','LogCreated','EVENT','Pibab','Reporter','sep','finished_at','title','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','logs','join','apply','jXybE','javascript','TkkBy','TestRunStarted','titlePath','_buildCreated','\x20(%dms)','symbols','../test-observability/mochaUtils','after\x20all','currentTest','YnaUN','toISOString','testRunUUID','Failed\x20to\x20load\x20reporter\x20','MHDof','yEoyS','.git','bind','lGzjB','forEach','clean','COMPLETED','gZQQw','EcQkr','dfOYp','integrations','checkmark','.js','Utnbf','_paths','ItaXi','../../../helpers/central-scanner/helpers','result','runner','JseXX','hyiXh','../../../helpers/test-observability/constants','bang','bsConfig','file','cMZTQ','UfTJR','maHpW','bJHPE','type','skipped','UnhandledError','dot','OHOGD','dbNxX','../../../helpers/testhub/utils','73449uloldk','tCJZE','</code></pre></dd>','current_hook','MVfpg','hJiWv','appendTestPlatform','mocha/lib/reporters/','676112KqhVyu','wXAFd','includes','\x20\x20<dd\x20class=\x22error\x22><pre><code>','gpgaH','\x20with\x20error\x20:\x20','failure_backtrace','docAppend','AwYIa','TestRunSkipped','pass','slice','once','decreaseIndent','XGyJD','test_run_uuid','../../../helpers/metadata','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','BEFORE_ALL','gyvzD','WKdVZ','mocha/lib/utils.js','kserB','slow','ahhzA','isPending','PjTSi','getInstance','docHtml','2EuZECb','appendTesthubParams','WgYoU','pqNDz','mocha','Fhlsn','QuBnf','removeAllListeners','fast','started_at','test','pid','green','GGIjO','increaseIndent','constants','analyticsResult','sQaRE','NrXRS','lcnc','Mocha','suites','gMuin','testStarted','err','redirectUrl','failCount','QGIVu','../../../helpers/helper','bVFqu','SrybR','duration','reporterOption','ZOmdb','MHADZ','pending','hooks','CBTSessionCreated','call','split','QWRVF','failure','trim','2706760DOzTgK','consoleLog','appendTestItemLog','_testResults','RdsaN','passed','sendTestRunEvent','assign','scope','nEDOC','nLNiJ','HaCkF','FBaYR','ExmCl','25GlSvLh','name','registerListeners','multiple','statSync','__indents','../../../helpers/logger','shutdown','eRdMr','setCurrentTestData','prefixTestPath','bs:addPlatformDetails:','uploadEventData','../../../helpers/test-observability/sessionHandler','MOCHA','responseCode','liGbg','iadBn','match','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','4159899DRJbJq','oqUew','rDNXP'];a30_0x582c=function(){return _0x2e00b2;};return a30_0x582c();}class MyReporter{constructor(_0x11af74,_0x12efc7){const _0x5f4e4e=a30_0x1015bc,_0x16766e={'TMHFX':function(_0x2a973d,_0x1e625f){return _0x2a973d===_0x1e625f;},'nLNiJ':_0x5f4e4e(0x2e4),'UfTJR':function(_0xf3ca22,_0x36a2ad){return _0xf3ca22+_0x36a2ad;},'XGyJD':function(_0x226a7e,_0x405488){return _0x226a7e+_0x405488;},'dlpbA':function(_0x3b9afd,_0x4b5ee1,_0x2af71d){return _0x3b9afd(_0x4b5ee1,_0x2af71d);},'BgFpO':_0x5f4e4e(0x26b),'BYVtN':'%s\x20','RSyGl':'light','dbNxX':_0x5f4e4e(0x2f6),'WgYoU':'RUNNING','Zijax':function(_0x2ca663,_0x4f3875){return _0x2ca663===_0x4f3875;},'MLWeH':_0x5f4e4e(0x2f7),'EcQkr':function(_0x4cbb6e){return _0x4cbb6e();},'hJiWv':function(_0x204a37){return _0x204a37();},'HNBed':'HookRunStarted','wfbSX':_0x5f4e4e(0x2e0),'BpnjA':function(_0x19e30d,_0x32d401){return _0x19e30d===_0x32d401;},'RdsaN':'passed','SamGr':_0x5f4e4e(0x267),'qtDfo':function(_0x4c73e1,_0x4dd98e){return _0x4c73e1+_0x4dd98e;},'OHOGD':function(_0x2f7c5e,_0x475ca9,_0x9f22f4){return _0x2f7c5e(_0x475ca9,_0x9f22f4);},'MLHZK':_0x5f4e4e(0x221),'QFXYh':function(_0x353b8b,_0x547318,_0x3916bd){return _0x353b8b(_0x547318,_0x3916bd);},'iEBzb':_0x5f4e4e(0x24c),'SrybR':_0x5f4e4e(0x316),'ZOmdb':function(_0x1d97df,_0x34340a,_0x26261b){return _0x1d97df(_0x34340a,_0x26261b);},'hyiXh':function(_0x5d9404,_0x46b967){return _0x5d9404+_0x46b967;},'Zvpih':_0x5f4e4e(0x20c),'sQaRE':_0x5f4e4e(0x1ec),'CkyFN':_0x5f4e4e(0x308),'QuBnf':function(_0x21effe,_0x33a9f9){return _0x21effe+_0x33a9f9;},'IEEzI':_0x5f4e4e(0x300),'zzReN':_0x5f4e4e(0x21c),'ahhzA':function(_0x4cae8c,_0x737ac6){return _0x4cae8c===_0x737ac6;},'aNZuo':function(_0x2595a2,_0x1ac691){return _0x2595a2===_0x1ac691;},'AwYIa':_0x5f4e4e(0x236),'oqUew':function(_0x110f59,_0x4e3776){return _0x110f59===_0x4e3776;},'vdbTx':_0x5f4e4e(0x259),'fHLbs':function(_0x3e3c0d,_0x597b8f){return _0x3e3c0d===_0x597b8f;},'SzOew':'1|0|2|4|3','nixFR':'pending','GZQRV':function(_0x1069c8,_0x3f9267){return _0x1069c8===_0x3f9267;},'Fhlsn':_0x5f4e4e(0x24b),'dfOYp':function(_0x1a6937,_0x4d32ee){return _0x1a6937===_0x4d32ee;},'QWRVF':function(_0x423c72,_0x2da6d7){return _0x423c72(_0x2da6d7);},'fRcTd':function(_0x4d9144,_0x34a0f1){return _0x4d9144(_0x34a0f1);},'QfVHC':function(_0x3fd9bd){return _0x3fd9bd();},'sLyxc':function(_0x552056){return _0x552056();},'kserB':function(_0x1e2a4f,_0x2bbf10){return _0x1e2a4f===_0x2bbf10;},'lGzjB':_0x5f4e4e(0x2e6),'SpbfC':function(_0xf79e1e,_0x29f4bc,_0x2d2114){return _0xf79e1e(_0x29f4bc,_0x2d2114);},'NrXRS':'mocha','cAQpc':function(_0x10c10c,_0x5e893f){return _0x10c10c(_0x5e893f);},'NspFo':function(_0x341801,_0x1214bb){return _0x341801===_0x1214bb;},'tCJZE':function(_0x386028,_0x3bf28b){return _0x386028!==_0x3bf28b;}};this[_0x5f4e4e(0x233)]=_0x12efc7[_0x5f4e4e(0x27f)][_0x5f4e4e(0x233)],this['testObservability']=_0x16766e[_0x5f4e4e(0x2bb)](isTestObservabilitySession),Base[_0x5f4e4e(0x285)](this,_0x11af74,_0x12efc7),this[_0x5f4e4e(0x30d)]=0x0,this[_0x5f4e4e(0x279)]=0x0,this['results']=[],this[_0x5f4e4e(0x2e1)]=[],this[_0x5f4e4e(0x2bc)]=0x0,this[_0x5f4e4e(0x20b)]=![],this[_0x5f4e4e(0x28d)]=[],this[_0x5f4e4e(0x1da)]=_0x16766e[_0x5f4e4e(0x2d4)](getTestEnv),this['_paths']=new PathHelper({'cwd':process[_0x5f4e4e(0x2ed)]()},this[_0x5f4e4e(0x1da)][_0x5f4e4e(0x1f1)]),this[_0x5f4e4e(0x2c6)]=_0x12efc7[_0x5f4e4e(0x27f)][_0x5f4e4e(0x22d)],this[_0x5f4e4e(0x29a)]();_0x16766e[_0x5f4e4e(0x258)](this[_0x5f4e4e(0x233)],_0x16766e[_0x5f4e4e(0x311)])&&(this[_0x5f4e4e(0x25e)]='',this[_0x5f4e4e(0x29d)]=0x2);_0x11af74[_0x5f4e4e(0x24e)](EVENT_RUN_BEGIN,async()=>{const _0x47a3ff=_0x5f4e4e;_0x16766e[_0x47a3ff(0x30c)](this[_0x47a3ff(0x233)],_0x16766e[_0x47a3ff(0x294)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x5d675c=>{const _0x3cb8d1=_0x5f4e4e;if(_0x5d675c[_0x3cb8d1(0x2d0)])return;if(_0x16766e['TMHFX'](this['type'],_0x16766e['nLNiJ']))this['increaseIndent'](),Base['consoleLog'](_0x16766e[_0x3cb8d1(0x230)](_0x16766e[_0x3cb8d1(0x250)](this[_0x3cb8d1(0x307)](),_0x16766e[_0x3cb8d1(0x2ba)](color,_0x16766e['BgFpO'],_0x16766e[_0x3cb8d1(0x1f4)])),_0x16766e[_0x3cb8d1(0x2ba)](color,_0x16766e[_0x3cb8d1(0x317)],_0x16766e[_0x3cb8d1(0x238)])),_0x16766e[_0x3cb8d1(0x261)],_0x5d675c[_0x3cb8d1(0x201)],global[_0x3cb8d1(0x1e0)]);else _0x16766e[_0x3cb8d1(0x2de)](this[_0x3cb8d1(0x233)],_0x16766e[_0x3cb8d1(0x311)])&&(this[_0x3cb8d1(0x249)](this[_0x3cb8d1(0x307)]()+'<section\x20class=\x22suite\x22>'),++this[_0x3cb8d1(0x29d)],this['docAppend'](this['indent']()+'<h1>'+utils[_0x3cb8d1(0x2b8)](_0x5d675c['title']+'\x20-\x20'+global[_0x3cb8d1(0x1e0)])+_0x3cb8d1(0x1e1)),this[_0x3cb8d1(0x249)](this['indent']()+_0x3cb8d1(0x2b5)));})['on'](EVENT_HOOK_BEGIN,async _0x284db3=>{const _0x3d9470=_0x5f4e4e;if(_0x16766e[_0x3d9470(0x30c)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0x3d9470(0x30b)]),!![])){if(!_0x284db3[_0x3d9470(0x30e)])_0x284db3[_0x3d9470(0x30e)]=_0x16766e['EcQkr'](uuidv4);else _0x284db3[_0x3d9470(0x1e8)]&&(_0x284db3['hookAnalyticsId']=_0x16766e[_0x3d9470(0x23f)](uuidv4),delete _0x284db3[_0x3d9470(0x1e8)]);_0x284db3['started_at']=new Date()[_0x3d9470(0x212)](),this['current_hook']=_0x284db3,await this[_0x3d9470(0x290)](_0x284db3,undefined,![],_0x16766e[_0x3d9470(0x2d7)]);}})['on'](EVENT_HOOK_END,async _0x4af6ff=>{const _0x550555=_0x5f4e4e;_0x16766e[_0x550555(0x2de)](testhubUtils[_0x550555(0x2fb)](testHubConstants[_0x550555(0x1fc)][_0x550555(0x30f)]),!![])&&(!_0x4af6ff['markedStatus']&&(_0x4af6ff[_0x550555(0x1e8)]=!![],await this[_0x550555(0x290)](_0x4af6ff,undefined,![],_0x16766e[_0x550555(0x2b2)])));})['on'](EVENT_SUITE_END,_0x14e2a0=>{const _0x357cab=_0x5f4e4e,_0x3091c7={'bVFqu':function(_0xc048bc,_0xb2e6ce){const _0x282f31=a30_0x1ef0;return _0x16766e[_0x282f31(0x2d1)](_0xc048bc,_0xb2e6ce);},'uEUuN':_0x16766e[_0x357cab(0x28e)],'jHRue':_0x16766e[_0x357cab(0x1f9)],'sMnFB':function(_0x287b96,_0x5760b9){return _0x16766e['qtDfo'](_0x287b96,_0x5760b9);},'Pibab':function(_0x3a554b,_0x4fabbe,_0x4d77e0){return _0x16766e['OHOGD'](_0x3a554b,_0x4fabbe,_0x4d77e0);},'MHDof':_0x16766e[_0x357cab(0x1eb)],'JseXX':function(_0x22bbd5,_0x23ac0e,_0x3b1ce4){const _0x1c440e=_0x357cab;return _0x16766e[_0x1c440e(0x2d5)](_0x22bbd5,_0x23ac0e,_0x3b1ce4);},'FFaLr':_0x16766e[_0x357cab(0x1ed)],'Qmvbw':_0x16766e[_0x357cab(0x27d)],'MJjnN':function(_0x477eac,_0x4bd179){const _0x32a7a7=_0x357cab;return _0x16766e[_0x32a7a7(0x230)](_0x477eac,_0x4bd179);},'DkwGL':function(_0xb0316e,_0x48de03,_0x33f0a1){const _0x2c1564=_0x357cab;return _0x16766e[_0x2c1564(0x280)](_0xb0316e,_0x48de03,_0x33f0a1);},'nEDOC':function(_0x3fe7b0,_0x50bf99){const _0x3af3cc=_0x357cab;return _0x16766e[_0x3af3cc(0x22a)](_0x3fe7b0,_0x50bf99);},'KmxIT':function(_0x84bd90,_0x2f259a,_0x4d7007){const _0x53253e=_0x357cab;return _0x16766e[_0x53253e(0x237)](_0x84bd90,_0x2f259a,_0x4d7007);},'liGbg':_0x16766e['Zvpih'],'ajZdq':_0x16766e[_0x357cab(0x270)],'oCyqm':_0x16766e[_0x357cab(0x2e8)]};if(_0x14e2a0[_0x357cab(0x2d0)])return;if(_0x16766e[_0x357cab(0x30c)](this[_0x357cab(0x233)],_0x16766e[_0x357cab(0x294)]))Base['consoleLog'](),Base[_0x357cab(0x28b)](_0x16766e[_0x357cab(0x230)](_0x16766e[_0x357cab(0x265)](this[_0x357cab(0x307)](),_0x16766e[_0x357cab(0x280)](color,_0x16766e[_0x357cab(0x2d3)],_0x16766e[_0x357cab(0x1f4)])),_0x16766e[_0x357cab(0x2ba)](color,_0x16766e[_0x357cab(0x317)],_0x16766e[_0x357cab(0x238)])),_0x16766e[_0x357cab(0x31d)],_0x14e2a0['title'],global[_0x357cab(0x1e0)]),this[_0x357cab(0x2f3)][_0x357cab(0x21a)](_0x4f8da7=>{const _0x26a343=_0x357cab;if(_0x3091c7[_0x26a343(0x27c)](_0x4f8da7[_0x26a343(0x31a)],_0x3091c7[_0x26a343(0x2df)])){var _0x556187;_0x3091c7[_0x26a343(0x27c)](_0x4f8da7[_0x26a343(0x2e2)],_0x3091c7[_0x26a343(0x2f4)])?(_0x556187=_0x3091c7[_0x26a343(0x305)](_0x3091c7['sMnFB'](this[_0x26a343(0x307)](),_0x3091c7['Pibab'](color,_0x3091c7[_0x26a343(0x215)],_0x3091c7[_0x26a343(0x305)]('\x20\x20',Base['symbols']['ok']))),_0x3091c7[_0x26a343(0x229)](color,_0x3091c7[_0x26a343(0x310)],_0x3091c7[_0x26a343(0x2ff)])),Base[_0x26a343(0x28b)](_0x556187,_0x4f8da7[_0x26a343(0x201)])):(_0x556187=_0x3091c7['sMnFB'](_0x3091c7[_0x26a343(0x305)](_0x3091c7['MJjnN'](this[_0x26a343(0x307)](),_0x3091c7[_0x26a343(0x2d9)](color,_0x3091c7[_0x26a343(0x215)],_0x3091c7[_0x26a343(0x293)]('\x20\x20',Base[_0x26a343(0x20d)]['ok']))),_0x3091c7[_0x26a343(0x1fd)](color,_0x3091c7[_0x26a343(0x310)],_0x3091c7[_0x26a343(0x2ff)])),_0x3091c7[_0x26a343(0x2be)](color,_0x4f8da7[_0x26a343(0x2e2)],_0x3091c7[_0x26a343(0x2a8)])),Base['consoleLog'](_0x556187,_0x4f8da7['title'],_0x4f8da7[_0x26a343(0x27e)]));}else Base['consoleLog'](_0x3091c7[_0x26a343(0x305)](this[_0x26a343(0x307)](),_0x3091c7[_0x26a343(0x2d9)](color,_0x3091c7[_0x26a343(0x1db)],_0x3091c7['oCyqm'])),++this[_0x26a343(0x279)],_0x4f8da7[_0x26a343(0x201)]);}),this[_0x357cab(0x24f)]();else _0x16766e['ahhzA'](this[_0x357cab(0x233)],_0x16766e[_0x357cab(0x311)])&&(this[_0x357cab(0x249)](this['indent']()+'</dl>'),--this['__indents'],this['docAppend'](this[_0x357cab(0x307)]()+_0x357cab(0x303)),--this[_0x357cab(0x29d)]);Array['prototype'][_0x357cab(0x2f0)][_0x357cab(0x205)](this[_0x357cab(0x2e1)],this['results']),this[_0x357cab(0x2f3)]=[];})['on'](EVENT_TEST_PASS,async _0x53d564=>{const _0x1eabd=_0x5f4e4e;this[_0x1eabd(0x2f3)][_0x1eabd(0x2f0)]({'speed':_0x53d564[_0x1eabd(0x2e2)],'suite':_0x53d564[_0x1eabd(0x1de)][_0x1eabd(0x201)],'title':_0x53d564['title'],'fullTitle':_0x53d564[_0x1eabd(0x2d2)](),'duration':_0x53d564[_0x1eabd(0x27e)],'state':_0x53d564[_0x1eabd(0x31a)],'err':{},'currentRetry':_0x53d564['currentRetry'](),'titlePathV':_0x53d564['titlePath'](),'isPending':_0x53d564[_0x1eabd(0x25b)]()});if(_0x16766e['aNZuo'](this[_0x1eabd(0x233)],_0x16766e[_0x1eabd(0x24a)]))_0x16766e[_0x1eabd(0x2ad)](_0x53d564['speed'],_0x16766e[_0x1eabd(0x1f3)])?process[_0x1eabd(0x2fe)]['write'](Base[_0x1eabd(0x2ef)](_0x16766e['IEEzI'],Base[_0x1eabd(0x20d)][_0x1eabd(0x236)])):process[_0x1eabd(0x2fe)][_0x1eabd(0x2db)](Base[_0x1eabd(0x2ef)](_0x53d564[_0x1eabd(0x2e2)],Base['symbols'][_0x1eabd(0x236)]));else{if(_0x16766e[_0x1eabd(0x2d1)](this[_0x1eabd(0x233)],_0x16766e[_0x1eabd(0x311)])){this[_0x1eabd(0x249)](this[_0x1eabd(0x307)]()+_0x1eabd(0x2c8)+utils[_0x1eabd(0x2b8)](_0x53d564[_0x1eabd(0x201)])+_0x1eabd(0x2b4)),this['docAppend'](this[_0x1eabd(0x307)]()+_0x1eabd(0x2c8)+utils[_0x1eabd(0x2b8)](_0x53d564[_0x1eabd(0x22e)])+_0x1eabd(0x2b4));var _0x4729fb=utils[_0x1eabd(0x2b8)](utils[_0x1eabd(0x21b)](_0x53d564['body']));this[_0x1eabd(0x249)](this[_0x1eabd(0x307)]()+'\x20\x20<dd><pre><code>'+_0x4729fb+_0x1eabd(0x23c));}}_0x16766e[_0x1eabd(0x2d1)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x53d564[_0x1eabd(0x1e8)]&&(_0x53d564[_0x1eabd(0x1e8)]=!![],await this[_0x1eabd(0x290)](_0x53d564)));})['on'](EVENT_TEST_FAIL,async(_0x2697dc,_0x541d21)=>{const _0x5d1e1a=_0x5f4e4e;this[_0x5d1e1a(0x2f3)][_0x5d1e1a(0x2f0)]({'title':_0x2697dc[_0x5d1e1a(0x201)],'suite':_0x2697dc['parent'][_0x5d1e1a(0x201)],'state':_0x2697dc[_0x5d1e1a(0x31a)],'err':{'message':util[_0x5d1e1a(0x2d8)](_0x541d21)},'fullTitle':_0x2697dc['fullTitle'](),'speed':_0x2697dc[_0x5d1e1a(0x2e2)],'currentRetry':_0x2697dc[_0x5d1e1a(0x1e7)](),'titlePathV':_0x2697dc[_0x5d1e1a(0x20a)]()});if(_0x16766e[_0x5d1e1a(0x25a)](this[_0x5d1e1a(0x233)],_0x16766e[_0x5d1e1a(0x24a)]))process[_0x5d1e1a(0x2fe)][_0x5d1e1a(0x2db)](Base[_0x5d1e1a(0x2ef)](_0x16766e[_0x5d1e1a(0x270)],Base[_0x5d1e1a(0x20d)][_0x5d1e1a(0x22c)]));else{if(_0x16766e['fHLbs'](this[_0x5d1e1a(0x233)],_0x16766e[_0x5d1e1a(0x311)])){const _0x3f25ba=_0x16766e[_0x5d1e1a(0x30a)][_0x5d1e1a(0x286)]('|');let _0x580920=0x0;while(!![]){switch(_0x3f25ba[_0x580920++]){case'0':this[_0x5d1e1a(0x249)](this['indent']()+_0x5d1e1a(0x2ee)+utils['escape'](_0x2697dc[_0x5d1e1a(0x22e)])+_0x5d1e1a(0x2b4));continue;case'1':this[_0x5d1e1a(0x249)](this[_0x5d1e1a(0x307)]()+_0x5d1e1a(0x2ee)+utils[_0x5d1e1a(0x2b8)](_0x2697dc[_0x5d1e1a(0x201)])+_0x5d1e1a(0x2b4));continue;case'2':var _0x42b313=utils[_0x5d1e1a(0x2b8)](utils[_0x5d1e1a(0x21b)](_0x2697dc[_0x5d1e1a(0x2c1)]));continue;case'3':this[_0x5d1e1a(0x249)](this['indent']()+_0x5d1e1a(0x2da)+utils[_0x5d1e1a(0x2b8)](_0x2697dc[_0x5d1e1a(0x277)])+_0x5d1e1a(0x2fc));continue;case'4':this[_0x5d1e1a(0x249)](this[_0x5d1e1a(0x307)]()+_0x5d1e1a(0x245)+_0x42b313+_0x5d1e1a(0x23c));continue;}break;}}}if(_0x16766e[_0x5d1e1a(0x2ad)](testhubUtils[_0x5d1e1a(0x2fb)](testHubConstants[_0x5d1e1a(0x1fc)][_0x5d1e1a(0x30f)]),!![])){if(!_0x2697dc[_0x5d1e1a(0x1e8)]){_0x2697dc['markedStatus']=!![];if(_0x2697dc['testAnalyticsId'])await this[_0x5d1e1a(0x290)](_0x2697dc,_0x541d21);else _0x2697dc['hookAnalyticsId']&&await this[_0x5d1e1a(0x290)](_0x2697dc,_0x541d21,![],_0x16766e[_0x5d1e1a(0x2b2)]);}}})['on'](EVENT_TEST_PENDING,async _0x580c6b=>{const _0x9f54cf=_0x5f4e4e;this[_0x9f54cf(0x2f3)][_0x9f54cf(0x2f0)]({'title':_0x580c6b['title'],'suite':_0x580c6b[_0x9f54cf(0x1de)][_0x9f54cf(0x201)],'state':_0x580c6b[_0x9f54cf(0x31a)],'err':{},'fullTitle':_0x580c6b[_0x9f54cf(0x2d2)](),'speed':_0x580c6b[_0x9f54cf(0x2e2)],'currentRetry':_0x580c6b[_0x9f54cf(0x1e7)](),'titlePathV':_0x580c6b[_0x9f54cf(0x20a)]()}),_0x16766e[_0x9f54cf(0x2e3)](this[_0x9f54cf(0x233)],_0x16766e[_0x9f54cf(0x24a)])&&process['stdout'][_0x9f54cf(0x2db)](Base['color'](_0x16766e[_0x9f54cf(0x1f7)],Base[_0x9f54cf(0x20d)]['comma'])),_0x16766e['GZQRV'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x580c6b[_0x9f54cf(0x304)]&&(_0x580c6b[_0x9f54cf(0x304)]=_0x16766e['EcQkr'](uuidv4)),!_0x580c6b[_0x9f54cf(0x1e8)]&&(_0x580c6b[_0x9f54cf(0x1e8)]=!![],await this['sendTestRunEvent'](_0x580c6b,undefined,![],_0x16766e[_0x9f54cf(0x264)])));})['on'](EVENT_TEST_BEGIN,async _0x2b8c57=>{const _0x53974c=_0x5f4e4e;_0x16766e[_0x53974c(0x21f)](testhubUtils[_0x53974c(0x2fb)](),!![])&&await this[_0x53974c(0x276)](_0x2b8c57);})['on'](EVENT_TEST_END,async _0x214c2e=>{const _0x1b1433=_0x5f4e4e;_0x16766e['aNZuo'](testhubUtils[_0x1b1433(0x2fb)](),!![])&&(!_0x214c2e[_0x1b1433(0x1e8)]&&(_0x214c2e[_0x1b1433(0x1e8)]=!![],await this[_0x1b1433(0x290)](_0x214c2e)));})[_0x5f4e4e(0x24e)](EVENT_RUN_END,async()=>{const _0x49e264=_0x5f4e4e;try{if(_0x16766e[_0x49e264(0x21f)](testhubUtils[_0x49e264(0x2fb)](),!![])){const _0x41dd99=_0x16766e[_0x49e264(0x287)](getHookSkippedTests,this[_0x49e264(0x228)]['suite']);for(const _0x1902c5 of _0x41dd99){!_0x1902c5[_0x49e264(0x304)]&&(_0x1902c5[_0x49e264(0x304)]=_0x16766e[_0x49e264(0x21e)](uuidv4)),await this[_0x49e264(0x290)](_0x1902c5,undefined,![],_0x16766e['Fhlsn']);}}}catch(_0x4307da){_0x16766e[_0x49e264(0x2f1)](debug,_0x49e264(0x1f6)+_0x4307da);}await requestQueueHandler[_0x49e264(0x29f)](),_0x16766e[_0x49e264(0x2ad)](this[_0x49e264(0x233)],_0x16766e[_0x49e264(0x311)])&&Base[_0x49e264(0x28b)](this['docHtml']);});if(this['type']&&![_0x16766e[_0x5f4e4e(0x311)],_0x16766e[_0x5f4e4e(0x219)],_0x16766e[_0x5f4e4e(0x294)],_0x16766e[_0x5f4e4e(0x24a)]]['includes'](this[_0x5f4e4e(0x233)])){const _0x4774a0=this[_0x5f4e4e(0x233)][_0x5f4e4e(0x289)]();this['Reporter']=null;try{this[_0x5f4e4e(0x1fe)]=_0x16766e[_0x5f4e4e(0x2ce)](requireModule,_0x5f4e4e(0x241)+_0x4774a0+_0x5f4e4e(0x222),_0x16766e[_0x5f4e4e(0x271)]);}catch(_0x474c08){_0x16766e['cAQpc'](debug,_0x5f4e4e(0x253)+_0x474c08);}if(_0x16766e['NspFo'](this[_0x5f4e4e(0x1fe)],null))try{this[_0x5f4e4e(0x1fe)]=_0x16766e['fRcTd'](require,_0x4774a0);}catch(_0x51155f){console['error'](_0x5f4e4e(0x214)+_0x4774a0);}if(_0x16766e[_0x5f4e4e(0x23b)](this[_0x5f4e4e(0x1fe)],null)){const _0x5574cd={};_0x5574cd[_0x5f4e4e(0x2bf)]=_0x12efc7[_0x5f4e4e(0x27f)],this[_0x5f4e4e(0x1fe)]=new this[(_0x5f4e4e(0x1fe))](_0x11af74,_0x5574cd);}}}[a30_0x1015bc(0x307)](){const _0x42f873=a30_0x1015bc,_0x1a5191={'Obvlh':function(_0x55cb17,_0x1a603e){return _0x55cb17(_0x1a603e);}};return _0x1a5191[_0x42f873(0x1e9)](Array,this[_0x42f873(0x30d)])[_0x42f873(0x204)]('\x20\x20');}[a30_0x1015bc(0x26d)](){const _0x4ae441=a30_0x1015bc;this[_0x4ae441(0x30d)]++;}['decreaseIndent'](){const _0x2e8636=a30_0x1015bc;this[_0x2e8636(0x30d)]--;}['docAppend'](_0x287582){const _0x277d4c=a30_0x1015bc;this[_0x277d4c(0x25e)]+=_0x287582;}[a30_0x1015bc(0x2c2)](_0x2f2ac6,_0x13df62){const _0x469141=a30_0x1015bc,_0x350751={'wJDak':function(_0x464e28,_0x5920dd){return _0x464e28(_0x5920dd);}},_0x3d4192={};_0x3d4192[_0x469141(0x2b3)]=_0x2f2ac6,_0x3d4192[_0x469141(0x2f3)]=this[_0x469141(0x2e1)],_0x350751['wJDak'](_0x13df62,_0x3d4192);}[a30_0x1015bc(0x29a)](){const _0x260e98=a30_0x1015bc;process[_0x260e98(0x266)](_0x260e98(0x2cb)+process[_0x260e98(0x26a)]),process['on'](_0x260e98(0x2cb)+process[_0x260e98(0x26a)],this[_0x260e98(0x28c)][_0x260e98(0x218)](this)),process['removeAllListeners'](_0x260e98(0x2a3)+process['pid']),process['on'](_0x260e98(0x2a3)+process[_0x260e98(0x26a)],this[_0x260e98(0x240)][_0x260e98(0x218)](this));}[a30_0x1015bc(0x276)]=async _0x5d24e5=>{const _0x407702=a30_0x1015bc,_0x3e4273={'maHpW':function(_0xcbb547){return _0xcbb547();},'kTWBM':_0x407702(0x213),'hwPHt':function(_0x547547,_0x3f26b6){return _0x547547>_0x3f26b6;},'gMuin':function(_0x39b879,_0x511ec3){return _0x39b879===_0x511ec3;},'MVfpg':_0x407702(0x209),'zdttB':function(_0x59f6b6,_0x324d6d){return _0x59f6b6(_0x324d6d);}};try{const _0x15380d=this['current_test'];this['current_test']=_0x5d24e5,_0x5d24e5['retryOf']=null,_0x5d24e5['testAnalyticsId']=_0x3e4273[_0x407702(0x231)](uuidv4),globals[_0x407702(0x1ee)](_0x3e4273['kTWBM'],_0x5d24e5['testAnalyticsId']),_0x5d24e5[_0x407702(0x268)]=new Date()[_0x407702(0x212)](),_0x3e4273[_0x407702(0x1dc)](_0x5d24e5['_currentRetry'],0x0)&&_0x15380d&&_0x3e4273[_0x407702(0x275)](_0x15380d[_0x407702(0x201)],_0x5d24e5[_0x407702(0x201)])?(_0x5d24e5['retryOf']=_0x15380d[_0x407702(0x304)],await this[_0x407702(0x290)](_0x5d24e5,undefined,![],_0x3e4273[_0x407702(0x23e)]),_0x15380d[_0x407702(0x31a)]=STATE_FAILED,await this[_0x407702(0x290)](_0x15380d,undefined,!![])):await this[_0x407702(0x290)](_0x5d24e5,undefined,![],_0x3e4273[_0x407702(0x23e)]);}catch(_0x33e76c){_0x3e4273[_0x407702(0x2f5)](debug,_0x407702(0x1f5)+_0x33e76c);}};[a30_0x1015bc(0x290)]=async(_0xf81975,_0x292ed2=undefined,_0x1babe1=![],_0x2dd42a='TestRunFinished')=>{const _0x2eb9ee=a30_0x1015bc,_0x5e013a={'YnaUN':function(_0x35d71e,_0x21cd61){return _0x35d71e===_0x21cd61;},'ItaXi':function(_0x385381,_0x5b789b){return _0x385381!==_0x5b789b;},'tBBJj':_0x2eb9ee(0x269),'Vmjgh':_0x2eb9ee(0x277),'xofLq':function(_0x400666,_0x3a9e28){return _0x400666!==_0x3a9e28;},'jXybE':'File\x20path\x20could\x20not\x20be\x20found','GGIjO':_0x2eb9ee(0x273),'lWftZ':_0x2eb9ee(0x207),'uFjNy':_0x2eb9ee(0x24b),'ncAIy':_0x2eb9ee(0x234),'cMZTQ':function(_0x488e9f,_0x3ccc11){return _0x488e9f-_0x3ccc11;},'fFjPF':_0x2eb9ee(0x2e5),'plqsE':_0x2eb9ee(0x235),'VNDZc':'TestRunFinished','ECTwk':_0x2eb9ee(0x209),'gZQQw':function(_0x1e5518){return _0x1e5518();},'gnFHD':function(_0x55cbb5,_0x3c1f9c){return _0x55cbb5===_0x3c1f9c;},'WKdVZ':_0x2eb9ee(0x268),'ExmCl':_0x2eb9ee(0x200),'pqNDz':function(_0x2e096f,_0x4c6c68){return _0x2e096f(_0x4c6c68);},'PBpCh':_0x2eb9ee(0x2e0),'QpjWm':function(_0x416642,_0x27e99d){return _0x416642!==_0x27e99d;},'DNdOX':'failed','FBaYR':_0x2eb9ee(0x28f),'OSAuZ':function(_0x153f2c,_0x2ab417){return _0x153f2c===_0x2ab417;},'pnwFr':_0x2eb9ee(0x2d6),'PjTSi':_0x2eb9ee(0x288),'HaCkF':_0x2eb9ee(0x248),'xaxAq':_0x2eb9ee(0x306),'TkkBy':'failure_reason_expanded','IUNuX':_0x2eb9ee(0x1e5),'yEoyS':_0x2eb9ee(0x2bd),'wXAFd':_0x2eb9ee(0x31b),'Utnbf':_0x2eb9ee(0x2e7),'QGIVu':function(_0x478967,_0x12d0be){return _0x478967(_0x12d0be);}};try{if(_0xf81975['body']&&_0xf81975[_0x2eb9ee(0x2c1)][_0x2eb9ee(0x2aa)](/browserstack internal helper hook/))return;let _0x8c8b64=[];if(_0x5e013a[_0x2eb9ee(0x211)](_0xf81975[_0x2eb9ee(0x31a)],STATE_FAILED)){if(_0x5e013a[_0x2eb9ee(0x225)](_0xf81975[_0x2eb9ee(0x277)],undefined))_0x8c8b64=_0xf81975[_0x2eb9ee(0x277)][_0x2eb9ee(0x29b)]?[_0xf81975['err']['multiple'],_0x5e013a['tBBJj']]:[_0xf81975[_0x2eb9ee(0x277)],_0x5e013a[_0x2eb9ee(0x318)]];else _0x5e013a[_0x2eb9ee(0x225)](_0x292ed2,undefined)?_0x8c8b64=[_0x292ed2,_0x5e013a['Vmjgh']]:_0x8c8b64=[];}const _0x1479fb=_0x5e013a[_0x2eb9ee(0x2b9)](_0xf81975[_0x2eb9ee(0x277)],undefined)?_0xf81975[_0x2eb9ee(0x277)]['toString']():_0x5e013a[_0x2eb9ee(0x2b9)](_0x292ed2,undefined)?_0x292ed2[_0x2eb9ee(0x2ea)]():undefined;let _0x1c8da9;try{_0x1c8da9=this['getRootParentFile'](_0xf81975);}catch(_0x5ad777){_0x1c8da9=null;}const _0x325e7f=_0x1c8da9?this['findGitConfig'](_0x1c8da9):null,_0x588058=_0x1c8da9?this[_0x2eb9ee(0x224)][_0x2eb9ee(0x2a2)](this[_0x2eb9ee(0x2b6)](_0xf81975)):_0x5e013a[_0x2eb9ee(0x206)],_0x389951={'framework':_0x5e013a[_0x2eb9ee(0x26c)],'uuid':_0xf81975[_0x2eb9ee(0x304)]||_0xf81975[_0x2eb9ee(0x30e)],'name':_0xf81975[_0x2eb9ee(0x201)],'body':{'lang':_0x5e013a['lWftZ'],'code':_0xf81975['body']},'scope':this[_0x2eb9ee(0x292)](_0xf81975),'scopes':this[_0x2eb9ee(0x313)](_0xf81975),'identifier':_0xf81975[_0x2eb9ee(0x2d2)](),'file_name':_0x588058,'vc_filepath':_0x325e7f?path[_0x2eb9ee(0x2af)](_0x325e7f,_0x1c8da9):null,'location':_0x588058,'result':_0x5e013a[_0x2eb9ee(0x211)](_0x2dd42a,_0x5e013a[_0x2eb9ee(0x2ca)])?_0x5e013a[_0x2eb9ee(0x2cd)]:this['analyticsResult'](_0xf81975[_0x2eb9ee(0x31a)]),'failure_reason':_0x1479fb,'duration_in_ms':_0xf81975[_0x2eb9ee(0x27e)]||(_0x2dd42a[_0x2eb9ee(0x2aa)](/Finished/)||_0x2dd42a['match'](/Skipped/)?_0x5e013a[_0x2eb9ee(0x22f)](Date[_0x2eb9ee(0x1f8)](),new Date(_0xf81975['started_at'])['getTime']()):null),'started_at':_0xf81975[_0x2eb9ee(0x268)],'finished_at':_0x2dd42a['match'](/Finished/)||_0x2dd42a[_0x2eb9ee(0x2aa)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x2eb9ee(0x205)](null,_0x8c8b64),'failure_type':!_0x1479fb?null:_0x1479fb[_0x2eb9ee(0x2aa)](/AssertionError/)?_0x5e013a[_0x2eb9ee(0x315)]:_0x5e013a[_0x2eb9ee(0x1dd)],'retry_of':_0xf81975[_0x2eb9ee(0x2fd)]};if([_0x5e013a[_0x2eb9ee(0x2ca)],_0x5e013a[_0x2eb9ee(0x1f0)],_0x5e013a[_0x2eb9ee(0x2c7)]][_0x2eb9ee(0x244)](_0x2dd42a)){if(_0x5e013a[_0x2eb9ee(0x21d)](getCentralUser)[_0x2eb9ee(0x272)]){const _0x185b16=TestMetadata['get'](_0xf81975[_0x2eb9ee(0x304)]);if(_0x185b16){const _0x14ed17={};_0x14ed17[_0x2eb9ee(0x272)]=_0x185b16,Object[_0x2eb9ee(0x291)](_0x389951,_0x14ed17);}}}testhubUtils[_0x2eb9ee(0x260)](_0x389951,_0x2dd42a,_0xf81975,FRAMEWORKS[_0x2eb9ee(0x2a6)]);(_0xf81975[_0x2eb9ee(0x2a7)]||_0xf81975[_0x2eb9ee(0x278)])&¢ralScannerUtils['setCentralScannerData'](_0x389951,_0xf81975[_0x2eb9ee(0x2a7)],_0xf81975[_0x2eb9ee(0x278)]);_0x5e013a[_0x2eb9ee(0x1e3)](_0x2dd42a,_0x5e013a[_0x2eb9ee(0x2ca)])&&!_0x389951[_0x5e013a[_0x2eb9ee(0x256)]]&&(_0x389951[_0x5e013a['WKdVZ']]=_0x389951[_0x5e013a[_0x2eb9ee(0x297)]]);if(_0x2dd42a[_0x2eb9ee(0x2aa)](/HookRun/))[_0x389951[_0x2eb9ee(0x2bd)],_0x389951[_0x2eb9ee(0x299)]]=_0x5e013a[_0x2eb9ee(0x262)](getHookDetails,_0xf81975[_0x2eb9ee(0x2d2)]()||_0xf81975[_0x2eb9ee(0x2b1)]||_0xf81975[_0x2eb9ee(0x201)]),_0x5e013a['gnFHD'](_0x2dd42a,_0x5e013a['PBpCh'])&&(_0x5e013a[_0x2eb9ee(0x1ea)](_0x389951['result'],_0x5e013a[_0x2eb9ee(0x31f)])&&(_0x389951[_0x2eb9ee(0x227)]=_0x5e013a[_0x2eb9ee(0x296)]),_0x5e013a[_0x2eb9ee(0x2fa)](_0x389951[_0x2eb9ee(0x2bd)],_0x5e013a[_0x2eb9ee(0x2f9)])&&_0x5e013a[_0x2eb9ee(0x211)](_0x389951[_0x2eb9ee(0x227)],_0x5e013a[_0x2eb9ee(0x31f)])&&!_0xf81975['ctx'][_0x2eb9ee(0x210)][_0x2eb9ee(0x1e8)]&&(_0xf81975[_0x2eb9ee(0x2c0)][_0x2eb9ee(0x210)][_0x2eb9ee(0x1e8)]=!![],_0xf81975[_0x2eb9ee(0x2c0)][_0x2eb9ee(0x210)]['state']=STATE_FAILED,await this[_0x2eb9ee(0x290)](_0xf81975[_0x2eb9ee(0x2c0)][_0x2eb9ee(0x210)],undefined,!![])));else _0x2dd42a[_0x2eb9ee(0x2aa)](/TestRun/)&&_0x5e013a[_0x2eb9ee(0x262)](mapTestHooks,_0xf81975);const _0x186050=_0x389951[_0x5e013a[_0x2eb9ee(0x25c)]][0x0];_0x186050&&(_0x389951[_0x5e013a[_0x2eb9ee(0x295)]]=_0x186050[_0x5e013a[_0x2eb9ee(0x2c4)]],_0x389951[_0x5e013a[_0x2eb9ee(0x208)]]=_0x186050[_0x5e013a[_0x2eb9ee(0x1e2)]]);[_0x5e013a[_0x2eb9ee(0x1f0)],_0x5e013a['uFjNy']]['includes'](_0x2dd42a)&&(this[_0x2eb9ee(0x28d)]['push'](_0x389951),_0x389951[_0x2eb9ee(0x283)]=_0x5e013a[_0x2eb9ee(0x262)](getHooksForTest,_0xf81975));const _0x42ce71={'event_type':_0x5e013a[_0x2eb9ee(0x1e3)](_0x2dd42a,_0x5e013a['uFjNy'])?_0x5e013a['VNDZc']:_0x2dd42a};_0x2dd42a[_0x2eb9ee(0x2aa)](/HookRun/)?(_0x389951[_0x5e013a[_0x2eb9ee(0x216)]]=HOOK_TYPES_MAP[_0x389951[_0x5e013a[_0x2eb9ee(0x216)]]],_0x42ce71[_0x5e013a[_0x2eb9ee(0x243)]]=_0x389951):_0x42ce71[_0x5e013a[_0x2eb9ee(0x223)]]=_0x389951,testhubUtils[_0x2eb9ee(0x2a1)](FRAMEWORKS['MOCHA'],_0x42ce71),await SessionHandler['uploadEventData'](_0x42ce71);}catch(_0x59eb2e){_0x5e013a[_0x2eb9ee(0x27a)](debug,_0x2eb9ee(0x2ab)+_0x2dd42a+_0x2eb9ee(0x247)+_0x59eb2e);}};['findGitConfig'](_0x49a893){const _0x584887=a30_0x1015bc,_0x403ca5={};_0x403ca5['fqfzd']=function(_0x3a386f,_0x6aba87){return _0x3a386f===_0x6aba87;},_0x403ca5[_0x584887(0x255)]=_0x584887(0x217),_0x403ca5[_0x584887(0x2a0)]='config';const _0x3d7558=_0x403ca5,_0x2525ec=path[_0x584887(0x1ff)];if(_0x3d7558[_0x584887(0x1fa)](_0x49a893,null)||_0x3d7558[_0x584887(0x1fa)](_0x49a893,'')||_0x3d7558[_0x584887(0x1fa)](_0x49a893,_0x2525ec)||_0x3d7558[_0x584887(0x1fa)](_0x49a893,path[_0x584887(0x2b7)](_0x49a893)))return null;try{return fs[_0x584887(0x29c)](path[_0x584887(0x204)](_0x49a893,_0x3d7558[_0x584887(0x255)],_0x3d7558[_0x584887(0x2a0)])),_0x49a893;}catch(_0xdd32bd){const _0x4f4cf1=path['dirname'](_0x49a893);return this[_0x584887(0x2cf)](_0x4f4cf1);}}[a30_0x1015bc(0x28c)]=async _0x16cf16=>{const _0x2692ba=a30_0x1015bc,_0x22040f={'XyKcu':_0x2692ba(0x1fb),'uBOxo':function(_0x1bec58,_0x5772ad){return _0x1bec58(_0x5772ad);}};try{this[_0x2692ba(0x23d)]&&!this[_0x2692ba(0x23d)]['markedStatus']&&(_0x16cf16[_0x2692ba(0x2f2)]=this[_0x2692ba(0x23d)][_0x2692ba(0x30e)]);!_0x16cf16[_0x2692ba(0x2f2)]&&this[_0x2692ba(0x2dc)]&&!this[_0x2692ba(0x2dc)][_0x2692ba(0x1e8)]&&(_0x16cf16['test_run_uuid']=this[_0x2692ba(0x2dc)][_0x2692ba(0x304)]);if(_0x16cf16[_0x2692ba(0x2f2)]||_0x16cf16[_0x2692ba(0x251)]){const _0x305c2f={};_0x305c2f[_0x2692ba(0x1f2)]=_0x22040f['XyKcu'],_0x305c2f[_0x2692ba(0x203)]=[_0x16cf16],await SessionHandler[_0x2692ba(0x2a4)](_0x305c2f);}}catch(_0x29fdc7){_0x22040f[_0x2692ba(0x312)](debug,_0x2692ba(0x301)+_0x29fdc7);}};[a30_0x1015bc(0x240)]=async _0x5b6e25=>{const _0x4a8052=a30_0x1015bc,_0x55040e={'MHADZ':'http_response','rDNXP':_0x4a8052(0x284),'TINBk':function(_0x5da325,_0x4e4e33){return _0x5da325(_0x4e4e33);}};try{const _0x85b3c={};_0x85b3c[_0x4a8052(0x2c5)]=_0x5b6e25[_0x4a8052(0x2c5)]||this['current_test'][_0x4a8052(0x304)],_0x85b3c[_0x4a8052(0x220)]=_0x5b6e25[_0x55040e[_0x4a8052(0x281)]];const _0x503924=_0x85b3c,_0x5a5ab9={};_0x5a5ab9[_0x4a8052(0x1f2)]=_0x55040e[_0x4a8052(0x2ae)],_0x5a5ab9['test_run']=_0x503924,await SessionHandler[_0x4a8052(0x2a4)](_0x5a5ab9);}catch(_0x21306f){_0x55040e[_0x4a8052(0x2eb)](debug,_0x4a8052(0x202)+_0x21306f);}};[a30_0x1015bc(0x26f)](_0x56621a){const _0x5ae9cc=a30_0x1015bc,_0x277489={};_0x277489[_0x5ae9cc(0x31c)]=_0x5ae9cc(0x28f),_0x277489[_0x5ae9cc(0x232)]=_0x5ae9cc(0x282),_0x277489[_0x5ae9cc(0x246)]='failed';const _0x3c449b=_0x277489,_0x35197e={};return _0x35197e[STATE_PASSED]=_0x3c449b[_0x5ae9cc(0x31c)],_0x35197e[STATE_PENDING]=_0x3c449b[_0x5ae9cc(0x232)],_0x35197e[STATE_FAILED]=_0x3c449b['gpgaH'],_0x35197e[_0x56621a];}[a30_0x1015bc(0x292)](_0x412d0e){const _0x415a1f=a30_0x1015bc,_0x35395a={};_0x35395a[_0x415a1f(0x1df)]=function(_0x94f8e,_0x4aa7bc){return _0x94f8e-_0x4aa7bc;};const _0x4a3de0=_0x35395a,_0x181959=_0x412d0e[_0x415a1f(0x20a)]();return _0x181959[_0x415a1f(0x24d)](0x0,_0x4a3de0[_0x415a1f(0x1df)](_0x181959[_0x415a1f(0x1e6)],0x1))[_0x415a1f(0x204)]('\x20');}[a30_0x1015bc(0x313)](_0x1842de){const _0x1af0b4=a30_0x1015bc,_0x2b348c={};_0x2b348c[_0x1af0b4(0x2a9)]=function(_0x82830a,_0x3c2331){return _0x82830a-_0x3c2331;};const _0x24ae13=_0x2b348c,_0x4a6411=_0x1842de[_0x1af0b4(0x20a)]();return _0x4a6411['slice'](0x0,_0x24ae13['iadBn'](_0x4a6411[_0x1af0b4(0x1e6)],0x1));}[a30_0x1015bc(0x2b6)](_0xe67ea8){const _0x30f8b6=a30_0x1015bc,_0x1138cf={};_0x1138cf[_0x30f8b6(0x2e9)]=function(_0x1364b3,_0x15db47){return _0x1364b3>_0x15db47;};const _0x52db9b=_0x1138cf;if(_0xe67ea8['file'])return _0xe67ea8[_0x30f8b6(0x22e)];if(_0xe67ea8[_0x30f8b6(0x2c0)]){const _0x1d2e8c=_0xe67ea8[_0x30f8b6(0x2c0)][_0x30f8b6(0x210)]?this[_0x30f8b6(0x2b6)](_0xe67ea8['ctx'][_0x30f8b6(0x210)]):null;if(_0x1d2e8c)return _0x1d2e8c;}if(_0xe67ea8[_0x30f8b6(0x1de)]){const _0x19a540=this['getRootParentFile'](_0xe67ea8[_0x30f8b6(0x1de)])||(_0xe67ea8[_0x30f8b6(0x1de)][_0x30f8b6(0x2c0)]&&_0xe67ea8['parent'][_0x30f8b6(0x2c0)]['currentTest']?this[_0x30f8b6(0x2b6)](_0xe67ea8[_0x30f8b6(0x1de)][_0x30f8b6(0x2c0)]['currentTest']):null);if(_0x19a540)return _0x19a540;_0xe67ea8[_0x30f8b6(0x1de)][_0x30f8b6(0x274)]&&_0x52db9b[_0x30f8b6(0x2e9)](_0xe67ea8[_0x30f8b6(0x1de)][_0x30f8b6(0x274)]['length'],0x0)&&_0xe67ea8['parent'][_0x30f8b6(0x274)][_0x30f8b6(0x21a)](_0x4e5030=>{const _0xda9f86=_0x30f8b6,_0x239d9c=_0x4e5030[_0xda9f86(0x2c0)]?this[_0xda9f86(0x2b6)](_0x4e5030['ctx']):null;if(_0x239d9c)return _0x239d9c;});}return null;}}module[a30_0x1015bc(0x2b0)]=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a31_0x559e8d=a31_0x4388;(function(_0x249bcf,_0x34cecf){const _0x9ac08c=a31_0x4388,_0x3f2443=_0x249bcf();while(!![]){try{const _0x2ec2d9=-parseInt(_0x9ac08c(0x7b))/0x1*(parseInt(_0x9ac08c(0x177))/0x2)+-parseInt(_0x9ac08c(0x148))/0x3*(parseInt(_0x9ac08c(0x154))/0x4)+parseInt(_0x9ac08c(0x104))/0x5+-parseInt(_0x9ac08c(0x14b))/0x6*(-parseInt(_0x9ac08c(0x92))/0x7)+-parseInt(_0x9ac08c(0x11d))/0x8+parseInt(_0x9ac08c(0xba))/0x9+-parseInt(_0x9ac08c(0x96))/0xa*(parseInt(_0x9ac08c(0x87))/0xb);if(_0x2ec2d9===_0x34cecf)break;else _0x3f2443['push'](_0x3f2443['shift']());}catch(_0x35dde8){_0x3f2443['push'](_0x3f2443['shift']());}}}(a31_0x3a39,0x62739));const chalk=require(a31_0x559e8d(0x138)),logger=require('../../helpers/logger')[a31_0x559e8d(0x81)],helper=require(a31_0x559e8d(0x134)),utilities=require(a31_0x559e8d(0xfb)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a31_0x559e8d(0xde)),{requireModule,nestedKeyValue}=require(a31_0x559e8d(0x134)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a31_0x559e8d(0x72),a31_0x559e8d(0x173)),collectFiles=requireModule(a31_0x559e8d(0xe3),a31_0x559e8d(0x173)),constants=require(a31_0x559e8d(0x160)),PerformanceTester=require(a31_0x559e8d(0xb1)),PerformanceEvents=require(a31_0x559e8d(0x89))['EVENTS'],centralScannerConstants=require('../../helpers/central-scanner/constants'),{FRAMEWORKS}=require(a31_0x559e8d(0x97)),TestHubHandler=require(a31_0x559e8d(0x15a));function a31_0x4388(_0x1bb1ed,_0x4c7686){const _0x3a39b9=a31_0x3a39();return a31_0x4388=function(_0x43884d,_0x30f5f3){_0x43884d=_0x43884d-0x68;let _0x613908=_0x3a39b9[_0x43884d];return _0x613908;},a31_0x4388(_0x1bb1ed,_0x4c7686);}function tag(_0x22212d,_0x577e75,_0x7b5801,_0x4c66cf){const _0x55223b=a31_0x559e8d,_0x355600={'jUOLu':function(_0x1fc001,_0x14c710){return _0x1fc001+_0x14c710;},'tfUVx':function(_0x21dca3,_0x257f8f){return _0x21dca3+_0x257f8f;},'OEqTL':function(_0x5b01c1,_0x5d08a4){return _0x5b01c1(_0x5d08a4);},'IXAWY':function(_0x45e578,_0x2fd9c5){return _0x45e578+_0x2fd9c5;},'mbXhc':function(_0x817a65,_0x1d2ae3){return _0x817a65+_0x1d2ae3;},'fVFsD':function(_0x507d6a,_0x3aa187){return _0x507d6a+_0x3aa187;},'GwFCl':function(_0x342955,_0x31d268){return _0x342955+_0x31d268;},'ezits':function(_0x11495f,_0x42a047){return _0x11495f+_0x42a047;}},_0x597ebc=_0x7b5801?'/>':'>',_0x4f603f=[];let _0x482f8b;for(const _0x153618 in _0x577e75){Object[_0x55223b(0x13d)]['hasOwnProperty'][_0x55223b(0x14a)](_0x577e75,_0x153618)&&_0x4f603f['push'](_0x355600['jUOLu'](_0x355600['jUOLu'](_0x355600['tfUVx'](_0x153618,'=\x22'),_0x355600[_0x55223b(0x7e)](escape,_0x577e75[_0x153618])),'\x22'));}return _0x482f8b=_0x355600['IXAWY'](_0x355600['mbXhc'](_0x355600['fVFsD']('<',_0x22212d),_0x4f603f[_0x55223b(0x137)]?_0x355600[_0x55223b(0x144)]('\x20',_0x4f603f[_0x55223b(0xce)]('\x20')):''),_0x597ebc),_0x4c66cf&&(_0x482f8b+=_0x355600['ezits'](_0x355600['tfUVx'](_0x355600['mbXhc'](_0x4c66cf,'</'),_0x22212d),_0x597ebc)),_0x482f8b;}let xunitContent='';function xunitWrite(_0x570ce4){xunitContent+=_0x570ce4;}function xunitTest(_0x410b35,_0x11199e){const _0x4bed92=a31_0x559e8d,_0x3c010b={'aGzcK':function(_0x30c8b0,_0x300823){return _0x30c8b0/_0x300823;},'LseHE':function(_0x32ef4e,_0x325f48){return _0x32ef4e===_0x325f48;},'aWqJY':_0x4bed92(0xe2),'XsIlp':function(_0x3e509a,_0x2bcfd5){return _0x3e509a+_0x2bcfd5;},'BcrQG':function(_0x38c30d,_0x5b4ac1){return _0x38c30d(_0x5b4ac1);},'FGeEr':function(_0xe4f64e,_0x388e29,_0x3e49cb,_0x5bcc3f,_0x5b4a6f){return _0xe4f64e(_0x388e29,_0x3e49cb,_0x5bcc3f,_0x5b4a6f);},'murJm':_0x4bed92(0x129),'PfMuM':_0x4bed92(0x7a),'Lsjvm':function(_0x295671,_0x281256){return _0x295671+_0x281256;},'epgLJ':function(_0x4d37bc,_0x355f99){return _0x4d37bc(_0x355f99);},'GQPsa':function(_0xaf227c,_0xcee3ff){return _0xaf227c(_0xcee3ff);},'bwCvu':function(_0x2177f1,_0x5b6302,_0xbef062,_0x4909a9,_0x320de3){return _0x2177f1(_0x5b6302,_0xbef062,_0x4909a9,_0x320de3);},'hyrDf':function(_0x5641d5,_0x5ebc36,_0x35dd97,_0x5c823c){return _0x5641d5(_0x5ebc36,_0x35dd97,_0x5c823c);},'pJdHo':_0x4bed92(0x133),'iAPyT':function(_0xc39cf3,_0x4892fc){return _0xc39cf3(_0x4892fc);},'xYOOm':function(_0xc239b4,_0x1c6de5,_0x3e8c32,_0x5e4ce4){return _0xc239b4(_0x1c6de5,_0x3e8c32,_0x5e4ce4);}};Base['useColors']=![];var _0x22a6b9={'classname':_0x410b35[_0x4bed92(0x122)],'name':_0x410b35[_0x4bed92(0x12e)],'time':_0x3c010b[_0x4bed92(0x115)](_0x410b35['duration'],0x3e8)||0x0,'platform':_0x11199e};if(_0x3c010b[_0x4bed92(0x10b)](_0x410b35[_0x4bed92(0xda)],_0x3c010b[_0x4bed92(0x112)])){var _0x5365d9=_0x410b35['err'],_0x1732d2=!Base[_0x4bed92(0x150)]&&Base[_0x4bed92(0x88)](_0x5365d9)?_0x3c010b[_0x4bed92(0xc7)]('\x0a',Base['generateDiff'](_0x5365d9['actual'],_0x5365d9[_0x4bed92(0xb3)])):'';_0x3c010b[_0x4bed92(0xc2)](xunitWrite,_0x3c010b['FGeEr'](tag,_0x3c010b[_0x4bed92(0xc3)],_0x22a6b9,![],_0x3c010b[_0x4bed92(0x73)](tag,_0x3c010b[_0x4bed92(0xe4)],{},![],_0x3c010b[_0x4bed92(0xc7)](_0x3c010b[_0x4bed92(0xc7)](_0x3c010b['Lsjvm'](_0x3c010b['epgLJ'](escape,_0x5365d9[_0x4bed92(0x10f)]),_0x3c010b['GQPsa'](escape,_0x1732d2)),'\x0a'),_0x3c010b[_0x4bed92(0xc2)](escape,_0x5365d9[_0x4bed92(0x103)])))));}else _0x410b35[_0x4bed92(0x15c)]?_0x3c010b['GQPsa'](xunitWrite,_0x3c010b[_0x4bed92(0x79)](tag,_0x3c010b[_0x4bed92(0xc3)],_0x22a6b9,![],_0x3c010b[_0x4bed92(0x6a)](tag,_0x3c010b[_0x4bed92(0x156)],{},!![]))):_0x3c010b[_0x4bed92(0xc8)](xunitWrite,_0x3c010b[_0x4bed92(0x86)](tag,_0x3c010b['murJm'],_0x22a6b9,!![]));}function a31_0x3a39(){const _0x3aeb4c=['file','XUMAs','state','useW3C','excludeTagsInTestingScope','unlinkSync','../test-runner','prepareCapabilities','kRLmT','Couldn\x27t\x20write\x20json\x20result\x20to','failed','mocha/lib/cli/collect-files.js','PfMuM','mjs','setupTCGAuth','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','TlUzd','LTJXO','exitCode','CzoyJ','vJMWB','parse','configuration','passed','Couldn\x27t\x20write\x20xunit\x20result\x20to','xlJXP','rmdirSync','isNotUndefined','then','size','testSuites','ZLJtP','test','writeFileSync','duration','../../helpers/utilities','Eoaih','isBrowserstackInfra','FmPWq','getPlatformName','NeKGh','pzhAf','capability','stack','3710925vpzuEc','fmfDF','FULjO','fireFunnelTestEvent','assign','has','add','LseHE','\x0a\x0a\x0a','rnWCp','getTCGConfigFilePaths','message','hYwDL','suiteName','aWqJY','Writing\x20xunit\x20result\x20to\x20file','smWRf','aGzcK','finally','extension','bstack:options','\x20platforms','Writing\x20json\x20result\x20to\x20file','rerunTests','bgRedBright','529544sBmqsu','EVefX','spec','platforms','stats','fullTitle','aVzyq','coMcX','SDKTestSuccessful','YVhPP','SDK_CLEANUP','WAwMN','testcase','launchBuild','NTEAJ','\x20total','BROWSERSTACK_RERUN_TESTS','title','BROWSERSTACK_TEST_OBSERVABILITY_YML','xpCLX','getCentralUser','keys','skipped','../../helpers/helper','isEmpty','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','length','chalk','cuQgy','Ttexr','forEach','env','prototype','push','\x20skipped','pKCiO','getErrorMessageFromResults','oPqkw','akPCA','GwFCl','MOCHA','hcBAq','FRAMEWORKS','237MTssyn','ieFBs','call','6wfUffg','fZcfT','green','cliConfig','Yoijt','hideDiff','LxlGz','getOwnPropertyNames','testsPassed','14524TwXxnB','lqKmG','pJdHo','speed','error','testObservability','../../helpers/testhub/testhubHandler','jjpim','isPending','Now,\x20showing\x20logs\x20from\x20mocha','notifyUpdate','opaqn','../utils/constants','Running\x20your\x20mocha\x20tests\x20across\x20','getUserWorkerCount','cWmFL','bold','Total\x20Suites:\x20','RtaQf','qEYDc','proxySettings','maxRetries','accessibilityOptions','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cjs','mNKOk','suite','ignore','pcRhC','printBuildLink','titlePath','mocha','map','XbpGn','ZpnvK','2eqUAMi','pmODZ','hKHKa','hyrDf','framework','sdrXI','logLevel','FIhNm','stringify','isUndefined','Total\x20Platforms:\x20','mocha/lib/reporters/base.js','FGeEr','debug','Setting\x20non\x20exit\x20code\x20for\x20failures','****\x20FAILURES\x20****','tCeOx','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','bwCvu','failure','48701ISmAUm','err','setUserConfigPath','OEqTL','AtvrH','Running\x20your\x20mocha\x20tests','winstonLogger','rpvIy','accessibility','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','results','xYOOm','11759TQvaEU','showDiff','../../helpers/performance/constants','retryTestsOnFailure','totalTests','parseTestOrchestrationOptions','fWPjb','log','reporter-option','titlePathV','NBsRt','1263514zwjtie','VChpc','pgwKM','fbJfW','4350FtTHRy','../../helpers/test-observability/constants','min','validPlatformsPresent','platform','kocVv','kyxBP','JAUZV','rABIm','IuhAF','passes','Listing\x20all\x20the\x20failures','testsPending','getHubUrl','Lgacx','Printing\x20stats\x20of\x20tests','SIdYT','</testsuite>','json','includeEncodedExtension','buUvs','RjmwU','error\x20removing\x20tcg\x20config\x20file','indexOf','qqscG','info','NsddX','../../helpers/performance/performance-tester','list','expected','qiuPx','files','recursive','ZQMYP','currentRetry','finalExecution','3125952fcVkda','testsFailed','reporterOptions','exports','testsuite','parallelsPerPlatform','SHjmS','GGwAe','BcrQG','murJm','start','QucPm','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','XsIlp','iAPyT','DFQXN','GGXnH','shouldReRunObservabilityTests','IereR','config','join','isTestObservabilitySession','YZWZB','oySFJ','Tests:\x20\x20\x20\x20\x20\x20\x20','ZbYTJ','output','includeTagsInTestingScope','hEuCO','vuySU'];a31_0x3a39=function(){return _0x3aeb4c;};return a31_0x3a39();};function getStats(_0x5e8868){const _0x156ef1=a31_0x559e8d,_0x2dcab1={};_0x2dcab1[_0x156ef1(0x155)]=_0x156ef1(0x16e),_0x2dcab1[_0x156ef1(0xb4)]=_0x156ef1(0xef),_0x2dcab1[_0x156ef1(0x14c)]=_0x156ef1(0xe2),_0x2dcab1['ZLJtP']=_0x156ef1(0x85);const _0x4cc1ff=_0x2dcab1,_0x28dd66=Object[_0x156ef1(0x132)](_0x5e8868);let _0x1bf494=0x0,_0x4a0478=0x0,_0x1b4d82=0x0,_0x3f6f75=0x0;const _0x4e1231=new Set();_0x28dd66['forEach'](_0xb9fbba=>{const _0x2afd94=_0x156ef1;_0x5e8868[_0xb9fbba][_0x4cc1ff[_0x2afd94(0xf7)]][_0x2afd94(0x13b)](_0x4a914d=>{const _0x2d7fdb=_0x2afd94;_0x4e1231[_0x2d7fdb(0x10a)](_0x4a914d[_0x4cc1ff[_0x2d7fdb(0x155)]]),_0x1bf494++;switch(_0x4a914d['state']){case _0x4cc1ff['qiuPx']:_0x1b4d82++;break;case _0x4cc1ff['fZcfT']:_0x4a0478++;break;default:_0x3f6f75++;}});});const _0x36f5d1={};return _0x36f5d1[_0x156ef1(0xf6)]=_0x4e1231[_0x156ef1(0xf5)],_0x36f5d1[_0x156ef1(0x120)]=_0x28dd66,_0x36f5d1[_0x156ef1(0x8b)]=_0x1bf494,_0x36f5d1[_0x156ef1(0xbb)]=_0x4a0478,_0x36f5d1[_0x156ef1(0x153)]=_0x1b4d82,_0x36f5d1[_0x156ef1(0xa2)]=_0x3f6f75,_0x36f5d1;}function errorJSON(_0x41b42d){const _0xfe50d=a31_0x559e8d;var _0x1698ab={};return Object[_0xfe50d(0x152)](_0x41b42d)[_0xfe50d(0x13b)](function(_0x2c292d){_0x1698ab[_0x2c292d]=_0x41b42d[_0x2c292d];},_0x41b42d),_0x1698ab;}function cleanCycles(_0x3d0d85){const _0x3ea7d3=a31_0x559e8d,_0x1e6dae={};_0x1e6dae['ETXHb']=function(_0xaf46c7,_0x5680da){return _0xaf46c7===_0x5680da;},_0x1e6dae[_0x3ea7d3(0x69)]='object',_0x1e6dae[_0x3ea7d3(0x101)]=function(_0x2a2903,_0x35dfed){return _0x2a2903!==_0x35dfed;},_0x1e6dae[_0x3ea7d3(0x15f)]=function(_0x37a982,_0x115797){return _0x37a982!==_0x115797;},_0x1e6dae['XbpGn']=function(_0x28fdce,_0x31bfde){return _0x28fdce+_0x31bfde;};const _0xed3aa0=_0x1e6dae;var _0x437cf7=[];return JSON[_0x3ea7d3(0xed)](JSON['stringify'](_0x3d0d85,function(_0x5a796a,_0x45d78f){const _0x407731=_0x3ea7d3;if(_0xed3aa0['ETXHb'](typeof _0x45d78f,_0xed3aa0[_0x407731(0x69)])&&_0xed3aa0[_0x407731(0x101)](_0x45d78f,null)){if(_0xed3aa0[_0x407731(0x15f)](_0x437cf7[_0x407731(0xad)](_0x45d78f),-0x1))return _0xed3aa0[_0x407731(0x175)]('',_0x45d78f);_0x437cf7[_0x407731(0x13e)](_0x45d78f);}return _0x45d78f;}));}function clean(_0x5bf18f){const _0x576499=a31_0x559e8d,_0x180fb8={'FULjO':function(_0xc63360,_0xc7d8d1){return _0xc63360 instanceof _0xc7d8d1;},'CzoyJ':function(_0x50665c,_0x5994d0){return _0x50665c(_0x5994d0);},'coMcX':function(_0x4244d8,_0x4add23){return _0x4244d8(_0x4add23);}};var _0x1e966c=_0x5bf18f[_0x576499(0x7c)]||{};return _0x180fb8[_0x576499(0x106)](_0x1e966c,Error)&&(_0x1e966c=_0x180fb8[_0x576499(0xeb)](errorJSON,_0x1e966c)),{'title':_0x5bf18f[_0x576499(0x12e)],'fullTitle':_0x5bf18f[_0x576499(0x122)],'file':_0x5bf18f[_0x576499(0xd8)],'duration':_0x5bf18f[_0x576499(0xfa)],'currentRetry':_0x5bf18f[_0x576499(0xb8)],'speed':_0x5bf18f[_0x576499(0x157)],'err':_0x180fb8[_0x576499(0x124)](cleanCycles,_0x1e966c)};}function printStats(_0x58edd8,_0x2f0460='spec',_0x5c053b={}){const _0x477bea=a31_0x559e8d,_0x22d99d={'EVefX':function(_0x1b918c,_0x3a2065){return _0x1b918c(_0x3a2065);},'RtaQf':function(_0x1951e8,_0x58da03){return _0x1951e8===_0x58da03;},'SIdYT':_0x477bea(0xef),'HRhbh':_0x477bea(0xa0),'NTEAJ':function(_0x1d0ff6,_0x40537c){return _0x1d0ff6(_0x40537c);},'QIhmd':function(_0x4909e9,_0x323c37){return _0x4909e9===_0x323c37;},'Lgacx':_0x477bea(0xe2),'GGXnH':'failures','Ttexr':'pending','qEYDc':'results','WAwMN':function(_0x56170f,_0x3ed375){return _0x56170f===_0x3ed375;},'qLWdl':function(_0x4b330a,_0x2a9480){return _0x4b330a*_0x2a9480;},'NBsRt':function(_0x14d47e,_0x21b7ab,_0x579e07){return _0x14d47e(_0x21b7ab,_0x579e07);},'qcGFa':function(_0x1bdd0f,_0x35cfc5){return _0x1bdd0f===_0x35cfc5;},'QucPm':function(_0x2e4d70,_0x25b1be){return _0x2e4d70>_0x25b1be;},'smWRf':function(_0x2a757a){return _0x2a757a();},'ZpnvK':'doc','SHjmS':_0x477bea(0x75),'fWPjb':_0x477bea(0xa5),'cuQgy':function(_0x492061,_0x17ad6f){return _0x492061+_0x17ad6f;},'IuhAF':_0x477bea(0x71),'rnWCp':function(_0x6900d2,_0x48aa73){return _0x6900d2+_0x48aa73;},'esBqF':_0x477bea(0x165),'EZZca':function(_0xaded8d,_0x5bdc6f){return _0xaded8d+_0x5bdc6f;},'ieFBs':_0x477bea(0xd2),'qqscG':function(_0x430bce,_0x4e3dbd){return _0x430bce>_0x4e3dbd;},'vuySU':function(_0x17156a,_0x3db750){return _0x17156a>_0x3db750;},'vJMWB':function(_0x3cc5b3,_0x1e4a80){return _0x3cc5b3+_0x1e4a80;},'pKCiO':function(_0x1ea3a0,_0x1191e4){return _0x1ea3a0+_0x1191e4;},'YWnqz':function(_0x1535d8,_0x169731){return _0x1535d8+_0x169731;},'FmPWq':_0x477bea(0x10c),'CEPED':function(_0x38ca49,_0xb4e089){return _0x38ca49===_0xb4e089;},'xlJXP':_0x477bea(0xa8),'hYwDL':_0x477bea(0x11a),'AUWpL':_0x477bea(0xe1),'aVzyq':_0x477bea(0x84),'NeKGh':function(_0x53efca,_0x52c0f8){return _0x53efca===_0x52c0f8;},'DVoZa':'xunit','KxyVx':'Mocha\x20Tests','kRLmT':function(_0xdfd839,_0x5c8324){return _0xdfd839||_0x5c8324;},'hcBAq':function(_0x360ed5,_0x58b161,_0x4124d5,_0x58992d){return _0x360ed5(_0x58b161,_0x4124d5,_0x58992d);},'FIhNm':_0x477bea(0xbe),'IereR':function(_0xd20c08,_0x4f9041){return _0xd20c08-_0x4f9041;},'NsddX':function(_0x34294f,_0x24e50f){return _0x34294f-_0x24e50f;},'JAUZV':function(_0x35b903,_0x458524){return _0x35b903/_0x458524;},'RjmwU':_0x477bea(0xa7),'pcRhC':_0x477bea(0x113),'sdrXI':_0x477bea(0xf0),'akPCA':_0x477bea(0xe7),'LTJXO':function(_0xa0f1ba,_0x404d5b){return _0xa0f1ba===_0x404d5b;},'oPqkw':_0x477bea(0xa1),'TABba':_0x477bea(0x76)};if(_0x22d99d['QIhmd'](_0x2f0460,_0x22d99d[_0x477bea(0x176)]))return;const _0xd9c97f=0x0,_0x1e1f4e=()=>{const _0x285641=_0x477bea;return _0x22d99d[_0x285641(0x11e)](Array,_0xd9c97f)['join']('\x20\x20');},{testSuites:_0x310ff9,platforms:_0x38f516,totalTests:_0x4254f2,testsFailed:_0x3cba7a,testsPassed:_0x22b7ad,testsPending:_0x40e0ae}=_0x22d99d[_0x477bea(0x12b)](getStats,_0x58edd8);_0x22d99d[_0x477bea(0xc5)](_0x3cba7a,0x0)&&(logger[_0x477bea(0x74)](_0x22d99d[_0x477bea(0xc0)]),process[_0x477bea(0xea)]=Math[_0x477bea(0x98)](_0x3cba7a,0xff));logger[_0x477bea(0x74)](_0x22d99d[_0x477bea(0x8d)]);const _0x2a1a42=''+_0x22d99d['cuQgy'](chalk[_0x477bea(0x164)](_0x22d99d[_0x477bea(0x9f)]),_0x38f516[_0x477bea(0x137)]),_0xaf86a6=''+_0x22d99d[_0x477bea(0x10d)](chalk[_0x477bea(0x164)](_0x22d99d['esBqF']),_0x310ff9),_0x4f8cf5=''+_0x22d99d['cuQgy'](_0x22d99d[_0x477bea(0x10d)](_0x22d99d['EZZca'](chalk[_0x477bea(0x164)](_0x22d99d[_0x477bea(0x149)]),_0x22d99d[_0x477bea(0xae)](_0x3cba7a,0x0)?chalk[_0x477bea(0x164)]['red'](_0x3cba7a+'\x20failed')+',\x20':''),_0x22d99d[_0x477bea(0xae)](_0x40e0ae,0x0)?chalk[_0x477bea(0x164)]['yellow'](_0x40e0ae+_0x477bea(0x13f))+',\x20':''),_0x22d99d[_0x477bea(0xd7)](_0x22b7ad,0x0)?chalk[_0x477bea(0x164)][_0x477bea(0x14d)](_0x22b7ad+'\x20passed')+',\x20':'')+_0x4254f2+_0x477bea(0x12c);console[_0x477bea(0x8e)](_0x22d99d[_0x477bea(0x139)](_0x22d99d[_0x477bea(0xec)](_0x22d99d[_0x477bea(0x10d)](_0x22d99d[_0x477bea(0x140)](_0x22d99d['YWnqz'](_0x22d99d[_0x477bea(0xfe)],_0x2a1a42),'\x0a'),_0xaf86a6),'\x0a'),_0x4f8cf5));if(_0x22d99d['CEPED'](_0x2f0460,_0x22d99d[_0x477bea(0xf1)])){const _0x458d83={},_0x186198={};_0x186198[_0x477bea(0xf6)]=_0x310ff9,_0x186198[_0x477bea(0x120)]=_0x38f516,_0x186198[_0x477bea(0xbb)]=_0x3cba7a,_0x186198[_0x477bea(0x153)]=_0x22b7ad,_0x186198[_0x477bea(0xa2)]=_0x40e0ae,_0x458d83[_0x477bea(0x121)]=_0x186198,_0x38f516[_0x477bea(0x13b)](_0x329b5e=>{const _0x3aad50=_0x477bea,_0x2de862={'GGwAe':function(_0x4cdd3a,_0x228572){const _0x35deda=a31_0x4388;return _0x22d99d[_0x35deda(0x166)](_0x4cdd3a,_0x228572);},'kyxBP':_0x22d99d[_0x3aad50(0xa6)],'jjpim':_0x22d99d['HRhbh'],'hEuCO':function(_0x24ac89,_0x2e695d){const _0x490998=_0x3aad50;return _0x22d99d[_0x490998(0x12b)](_0x24ac89,_0x2e695d);},'KJqMA':function(_0x2b0a77,_0x3f3b3e){return _0x22d99d['QIhmd'](_0x2b0a77,_0x3f3b3e);},'cWmFL':_0x22d99d[_0x3aad50(0xa4)],'rpvIy':_0x22d99d[_0x3aad50(0xca)],'XUMAs':function(_0x161edc,_0x2b6c69){const _0x72ffae=_0x3aad50;return _0x22d99d[_0x72ffae(0x11e)](_0x161edc,_0x2b6c69);},'DFQXN':_0x22d99d[_0x3aad50(0x13a)],'ePxrS':function(_0x46cf44,_0xe73bc1){const _0xd3e26a=_0x3aad50;return _0x22d99d[_0xd3e26a(0x12b)](_0x46cf44,_0xe73bc1);}};_0x458d83[_0x329b5e]={'pending':[],'failures':[],'passes':[],'tests':_0x58edd8[_0x329b5e][_0x22d99d[_0x3aad50(0x167)]][_0x3aad50(0x174)](clean)},_0x58edd8[_0x329b5e][_0x22d99d['qEYDc']][_0x3aad50(0x13b)](_0x39bed1=>{const _0x5253dc=_0x3aad50;if(_0x2de862[_0x5253dc(0xc1)](_0x39bed1[_0x5253dc(0xda)],_0x2de862[_0x5253dc(0x9c)]))_0x458d83[_0x329b5e][_0x2de862[_0x5253dc(0x15b)]][_0x5253dc(0x13e)](_0x2de862[_0x5253dc(0xd6)](clean,_0x39bed1));else _0x2de862['KJqMA'](_0x39bed1[_0x5253dc(0xda)],_0x2de862[_0x5253dc(0x163)])?_0x458d83[_0x329b5e][_0x2de862[_0x5253dc(0x82)]]['push'](_0x2de862[_0x5253dc(0xd9)](clean,_0x39bed1)):_0x458d83[_0x329b5e][_0x2de862[_0x5253dc(0xc9)]][_0x5253dc(0x13e)](_0x2de862['ePxrS'](clean,_0x39bed1));});});if(_0x5c053b[_0x477bea(0xd4)])try{logger[_0x477bea(0x74)](_0x22d99d[_0x477bea(0x110)],_0x5c053b[_0x477bea(0xd4)]),fs[_0x477bea(0xf9)](_0x5c053b[_0x477bea(0xd4)],JSON[_0x477bea(0x6f)](_0x458d83,null,0x3));}catch(_0x474025){logger['error'](_0x22d99d['AUWpL'],_0x5c053b[_0x477bea(0xd4)]),logger[_0x477bea(0x74)](_0x474025);}else logger[_0x477bea(0x74)](_0x22d99d[_0x477bea(0x123)]),console[_0x477bea(0x8e)](JSON[_0x477bea(0x6f)](_0x458d83,null,0x3));}else{if(_0x22d99d[_0x477bea(0x100)](_0x2f0460,_0x22d99d['DVoZa'])){let _0x38fdbf;const _0x446d56=_0x22d99d['KxyVx'];_0x5c053b&&(_0x38fdbf=_0x5c053b[_0x477bea(0x111)]);_0x38fdbf=_0x22d99d[_0x477bea(0xe0)](_0x38fdbf,_0x446d56);let _0x328384=0x0,_0x47b682=0x0,_0x371ced=0x0,_0x15f0c7=0x0;_0x38f516[_0x477bea(0x13b)](_0x3e2063=>{const _0x5ea3f7=_0x477bea;_0x58edd8[_0x3e2063][_0x22d99d[_0x5ea3f7(0x167)]][_0x5ea3f7(0x13b)](_0x4749a6=>{const _0x2626e5=_0x5ea3f7;if(_0x22d99d[_0x2626e5(0x166)](_0x4749a6[_0x2626e5(0xda)],_0x22d99d[_0x2626e5(0xa6)]))_0x328384++;else _0x22d99d[_0x2626e5(0x128)](_0x4749a6[_0x2626e5(0xda)],_0x22d99d[_0x2626e5(0xa4)])&&_0x47b682++;_0x371ced++,_0x15f0c7+=_0x22d99d['qLWdl'](_0x4749a6['duration'],0x1);});}),_0x22d99d[_0x477bea(0x11e)](xunitWrite,_0x22d99d[_0x477bea(0x146)](tag,_0x22d99d[_0x477bea(0x6e)],{'name':_0x38fdbf,'tests':_0x371ced,'failures':0x0,'errors':_0x47b682,'skipped':_0x22d99d[_0x477bea(0xcc)](_0x22d99d[_0x477bea(0xb0)](_0x371ced,_0x47b682),_0x328384),'timestamp':new Date()['toUTCString'](),'time':_0x22d99d[_0x477bea(0x9d)](_0x15f0c7,0x3e8)||0x0},![])),_0x38f516[_0x477bea(0x13b)](_0x2eba4a=>{const _0x587a07=_0x477bea;_0x58edd8[_0x2eba4a][_0x22d99d[_0x587a07(0x167)]]['forEach'](_0x4706b3=>{const _0x1efe0b=_0x587a07;_0x22d99d[_0x1efe0b(0x91)](xunitTest,_0x4706b3,_0x2eba4a);});}),_0x22d99d[_0x477bea(0x12b)](xunitWrite,_0x22d99d[_0x477bea(0xab)]);if(_0x5c053b[_0x477bea(0xd4)])try{logger['debug'](_0x22d99d[_0x477bea(0x170)],_0x5c053b[_0x477bea(0xd4)]),fs[_0x477bea(0xf9)](_0x5c053b[_0x477bea(0xd4)],xunitContent);}catch(_0x3beb73){logger[_0x477bea(0x158)](_0x22d99d[_0x477bea(0x6c)],_0x5c053b[_0x477bea(0xd4)]),logger['debug'](_0x3beb73);}else logger[_0x477bea(0x74)](_0x22d99d[_0x477bea(0x143)]),console['log'](xunitContent);}else{if(_0x22d99d[_0x477bea(0xe9)](_0x3cba7a,0x0))return;console['log'](),logger[_0x477bea(0x74)](_0x22d99d[_0x477bea(0x142)]),console[_0x477bea(0x8e)](chalk[_0x477bea(0x164)][_0x477bea(0x11c)](_0x22d99d['TABba'])),_0x38f516[_0x477bea(0x13b)](_0x209d20=>{const _0x1157ca=_0x477bea,_0x392097={'iAFIg':function(_0x5e3c27,_0x30b883){return _0x22d99d['qcGFa'](_0x5e3c27,_0x30b883);},'Eoaih':_0x22d99d[_0x1157ca(0xa4)]},_0x1e754a=[];_0x58edd8[_0x209d20][_0x22d99d['qEYDc']][_0x1157ca(0x13b)](_0x4b654f=>{const _0x34d906=_0x1157ca;_0x392097['iAFIg'](_0x4b654f[_0x34d906(0xda)],_0x392097[_0x34d906(0xfc)])&&(_0x4b654f[_0x34d906(0x172)]=()=>_0x4b654f[_0x34d906(0x90)],_0x1e754a[_0x34d906(0x13e)](_0x4b654f));}),_0x22d99d['QucPm'](_0x1e754a[_0x1157ca(0x137)],0x0)&&(Base['consoleLog'](),Base['consoleLog'](_0x22d99d[_0x1157ca(0x114)](_0x1e1f4e),chalk['bold']['bgBlueBright'](_0x209d20)),Base[_0x1157ca(0xb2)](_0x1e754a));});}}}async function run(_0x45b728,_0x243f5d,_0x16b47b){const _0x11fe4b=a31_0x559e8d,_0x4208b8={'YVhPP':function(_0x430145,_0xc7f039,_0x48bfba,_0x43a96b){return _0x430145(_0xc7f039,_0x48bfba,_0x43a96b);},'tCeOx':_0x11fe4b(0x8f),'pmODZ':_0x11fe4b(0xac),'xpCLX':_0x11fe4b(0x125),'ZbYTJ':'mocha','Yoijt':function(_0x119eec,_0x18c9d0){return _0x119eec!=_0x18c9d0;},'buUvs':_0x11fe4b(0x16c),'pgwKM':_0x11fe4b(0xe5),'YjvCp':_0x11fe4b(0xf8),'oySFJ':_0x11fe4b(0x11b),'AtvrH':function(_0x3772b9,_0x16b237){return _0x3772b9(_0x16b237);},'LxlGz':function(_0x8e5b1d,_0x581299,_0x25823a){return _0x8e5b1d(_0x581299,_0x25823a);},'yNqra':_0x11fe4b(0xb5),'ZQMYP':function(_0x248663,_0xe006c2){return _0x248663!=_0xe006c2;},'fmfDF':_0x11fe4b(0xd5),'rABIm':_0x11fe4b(0xdc),'YZWZB':_0x11fe4b(0xa9),'TlUzd':_0x11fe4b(0x80),'fbJfW':_0x11fe4b(0x15d),'dQuKo':function(_0x3ec304,_0x3469b3,_0x17f641,_0x530ccf){return _0x3ec304(_0x3469b3,_0x17f641,_0x530ccf);},'VChpc':function(_0xc8aed5,_0x4b8788){return _0xc8aed5*_0x4b8788;},'mNKOk':function(_0x2c0970,_0x312bd4){return _0x2c0970!==_0x312bd4;},'kocVv':function(_0x56a260,_0x43a6a9,_0x11c077,_0x5d7f37){return _0x56a260(_0x43a6a9,_0x11c077,_0x5d7f37);}};helper[_0x11fe4b(0x7d)](_0x16b47b[_0x11fe4b(0x6b)],_0x45b728),await _0x16b47b['initialize'](_0x45b728);helper[_0x11fe4b(0xfd)]()?await helper['handleApp'](_0x16b47b['config']):await _0x16b47b[_0x11fe4b(0xe6)]();const _0x45817f=[];let _0x515292=[];if(!_0x16b47b[_0x11fe4b(0xcd)])return;!helper[_0x11fe4b(0x70)](_0x16b47b[_0x11fe4b(0xcd)][_0x11fe4b(0x16a)])&&(process['env'][_0x11fe4b(0x136)]=JSON[_0x11fe4b(0x6f)](_0x16b47b[_0x11fe4b(0xcd)]['accessibilityOptions']));const _0x3b306a=await TestHubHandler[_0x11fe4b(0x12a)](FRAMEWORKS['MOCHA'],_0x16b47b);_0x4208b8[_0x11fe4b(0x14f)](_0x16b47b['config']['testObservability'],null)&&(process[_0x11fe4b(0x13c)][_0x11fe4b(0x12f)]=_0x16b47b[_0x11fe4b(0xcd)][_0x11fe4b(0x159)]);!helper[_0x11fe4b(0x70)](_0x16b47b[_0x11fe4b(0xcd)][_0x11fe4b(0x83)])&&(process[_0x11fe4b(0x13c)][_0x11fe4b(0x16b)]=_0x16b47b[_0x11fe4b(0xcd)]['accessibility']);const {extension:extension=['js',_0x4208b8[_0x11fe4b(0xaa)],_0x4208b8[_0x11fe4b(0x94)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4208b8['YjvCp']]}=_0x45b728,_0x251a9a={..._0x45b728};_0x251a9a['rootHooks']=null;const _0x5b15a8=_0x251a9a;let _0x54438d;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x5575a1=process[_0x11fe4b(0x13c)][_0x11fe4b(0x12d)];!helper[_0x11fe4b(0x70)](_0x16b47b[_0x11fe4b(0x14e)])&&_0x16b47b[_0x11fe4b(0x14e)][_0x11fe4b(0x109)](_0x4208b8['oySFJ'])&&(_0x5575a1=_0x16b47b[_0x11fe4b(0x14e)]['get'](_0x4208b8[_0x11fe4b(0xd1)])),_0x54438d=testOpsHelper['parseFileNames'](_0x5575a1);}if(helper[_0x11fe4b(0x70)](_0x54438d)){const _0x34c484={};_0x34c484[_0x11fe4b(0x16f)]=ignore,_0x34c484[_0x11fe4b(0x117)]=extension,_0x34c484[_0x11fe4b(0xd8)]=file,_0x34c484[_0x11fe4b(0xb6)]=recursive,_0x34c484['sort']=sort,_0x34c484['spec']=spec,_0x54438d=_0x4208b8[_0x11fe4b(0x7f)](collectFiles,_0x34c484),_0x4208b8[_0x11fe4b(0x151)](nestedKeyValue,_0x54438d,[_0x4208b8['yNqra']])&&(_0x54438d=_0x54438d[_0x11fe4b(0xb5)]);}const _0xd0a876=helper[_0x11fe4b(0x8c)](_0x16b47b['config']);!helper[_0x11fe4b(0x135)](_0xd0a876)&&helper[_0x11fe4b(0xf3)](_0xd0a876[_0x11fe4b(0x8a)])&&(_0x5b15a8['retries']=_0xd0a876[_0x11fe4b(0x8a)][_0x11fe4b(0x169)]);if(!helper[_0x11fe4b(0xfd)]()){const _0x50bac0=0x1,_0x1f3b43={..._0x5b15a8};_0x1f3b43['spec']=[..._0x54438d],_0x45817f['push']({'mochaOpts':_0x1f3b43,'configuration':{'platform':os[_0x11fe4b(0x9a)]()}});if(_0x16b47b['config'][_0x11fe4b(0x83)]){const _0x3add3a={};_0x3add3a['accessibility']=!![];const _0x22778a=_0x3add3a;_0x4208b8[_0x11fe4b(0xb7)](_0x16b47b[_0x11fe4b(0xcd)][_0x11fe4b(0x16a)],null)&&(_0x22778a[_0x11fe4b(0x16a)]=_0x16b47b['config'][_0x11fe4b(0x16a)],delete _0x22778a[_0x11fe4b(0x16a)][_0x4208b8[_0x11fe4b(0x105)]],delete _0x22778a['accessibilityOptions'][_0x4208b8[_0x11fe4b(0x9e)]],delete _0x22778a[_0x11fe4b(0x16a)][_0x4208b8[_0x11fe4b(0xd0)]]);const _0x2211f5={};_0x2211f5[_0x11fe4b(0x118)]=_0x22778a,_0x45817f[0x0][_0x11fe4b(0xee)][_0x11fe4b(0x102)]=_0x2211f5;}logger[_0x11fe4b(0xaf)](_0x4208b8[_0x11fe4b(0xe8)]),logger[_0x11fe4b(0xaf)](_0x4208b8[_0x11fe4b(0x95)]),_0x4208b8['dQuKo'](parallelTestRun,_0x45817f,_0x50bac0,_0x16b47b)[_0x11fe4b(0xf4)](_0x63458=>{const _0x471220=_0x11fe4b;PerformanceTester[_0x471220(0xc4)](PerformanceEvents[_0x471220(0x127)]),_0x4208b8['YVhPP'](printStats,_0x63458,_0x45b728['reporter'],_0x45b728[_0x471220(0xbc)]||_0x45b728[_0x4208b8[_0x471220(0x77)]]);})[_0x11fe4b(0x116)](()=>{const _0x2a3934=_0x11fe4b;PerformanceTester['start'](PerformanceEvents[_0x2a3934(0x127)]);try{const {browserstackFolderPath:_0x3a8ffc,tcgConfigPath:_0x3006df}=helper[_0x2a3934(0x10e)]();fs[_0x2a3934(0xdd)](_0x3006df),fs[_0x2a3934(0xf2)](_0x3a8ffc);}catch(_0x17486d){logger['debug'](_0x4208b8[_0x2a3934(0x68)],_0x17486d);}try{utilities[_0x2a3934(0x107)](_0x4208b8[_0x2a3934(0x130)],{},_0x16b47b[_0x2a3934(0xcd)],_0x16b47b[_0x2a3934(0x6b)]);}catch(_0x284550){logger[_0x2a3934(0x74)](_0x2a3934(0x78)+_0x284550[_0x2a3934(0x103)]);}try{helper[_0x2a3934(0x15e)]();}catch(_0x1554f2){logger[_0x2a3934(0x74)](_0x2a3934(0xc6)+_0x1554f2);}testOpsHelper['printBuildLink']();});}else{const _0x139ece=helper[_0x11fe4b(0xdb)](_0x16b47b[_0x11fe4b(0xcd)]);let _0x2112e8=helper[_0x11fe4b(0xa3)](_0x16b47b['config']);_0x515292=helper[_0x11fe4b(0xdf)](_0x16b47b[_0x11fe4b(0xcd)],_0x139ece,constants[_0x11fe4b(0x147)][_0x11fe4b(0x145)]);helper[_0x11fe4b(0x131)]()['central_scanner']&&(_0x2112e8=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0x33966f;const _0x5e8d84=_0x16b47b[_0x11fe4b(0xcd)][_0x11fe4b(0xbf)]||helper[_0x11fe4b(0x162)](_0x45b728,_0x243f5d,_0x16b47b['config'],constants[_0x11fe4b(0x147)][_0x11fe4b(0x145)])||0x1;helper[_0x11fe4b(0x99)](_0x16b47b[_0x11fe4b(0xcd)])?_0x33966f=_0x4208b8[_0x11fe4b(0x93)](_0x16b47b['config'][_0x11fe4b(0x120)][_0x11fe4b(0x137)],_0x5e8d84):_0x33966f=_0x5e8d84;const _0x5296e1=_0x4208b8[_0x11fe4b(0x7f)](getPercyOptions,_0x16b47b[_0x11fe4b(0xcd)]);if(_0x4208b8[_0x11fe4b(0x16d)](_0x16b47b[_0x11fe4b(0xcd)][_0x11fe4b(0xbf)],0x1))_0x54438d[_0x11fe4b(0x13b)](_0x4deaed=>{const _0x4f6bc6=_0x11fe4b,_0x48a7a3=[];_0x515292[_0x4f6bc6(0x13b)]((_0x5dcac8,_0x4150f2)=>{const _0xd20e76=_0x4f6bc6,_0x2482d9={};_0x2482d9[_0xd20e76(0x11f)]=[_0x4deaed],_0x48a7a3[_0xd20e76(0x13e)]({'mochaOpts':Object[_0xd20e76(0x108)]({},_0x5b15a8,_0x2482d9),'configuration':{'server':_0x2112e8,'capability':_0x5dcac8,'proxySettings':_0x16b47b[_0xd20e76(0xcd)]['proxySettings'],'platform':helper[_0xd20e76(0xff)](_0x5dcac8),'browserStackLogLevel':_0x16b47b[_0xd20e76(0xcd)]['logLevel'],'platformIndex':_0x4150f2,'browserStackPercyOptions':_0x5296e1,'platformCaps':Object['assign']({'index':_0x4150f2},_0x16b47b[_0xd20e76(0xcd)][_0xd20e76(0x120)][_0x4150f2])}});}),_0x45817f[_0x4f6bc6(0x13e)](..._0x48a7a3);});else{const _0x191439=[];_0x515292[_0x11fe4b(0x13b)]((_0x1f918d,_0x31e070)=>{const _0x4b0859=_0x11fe4b;let _0x3732da=Object[_0x4b0859(0x108)]({},_0x5b15a8);testOpsHelper[_0x4b0859(0xcf)]()&&testOpsHelper[_0x4b0859(0xcb)]()&&(_0x3732da={..._0x3732da,'spec':[..._0x54438d]}),_0x191439['push']({'mochaOpts':_0x3732da,'configuration':{'server':_0x2112e8,'capability':_0x1f918d,'proxySettings':_0x16b47b[_0x4b0859(0xcd)][_0x4b0859(0x168)],'platform':helper[_0x4b0859(0xff)](_0x1f918d),'browserStackLogLevel':_0x16b47b[_0x4b0859(0xcd)][_0x4b0859(0x6d)],'platformIndex':_0x31e070,'browserStackPercyOptions':_0x5296e1,'platformCaps':Object[_0x4b0859(0x108)]({'index':_0x31e070},_0x16b47b[_0x4b0859(0xcd)][_0x4b0859(0x120)][_0x31e070])}});}),_0x45817f[_0x11fe4b(0x13e)](..._0x191439);}logger['info'](_0x11fe4b(0x161)+_0x16b47b[_0x11fe4b(0xcd)][_0x11fe4b(0x120)]['length']+_0x11fe4b(0x119)),logger[_0x11fe4b(0xaf)](_0x4208b8[_0x11fe4b(0x95)]);let _0x666b04;_0x4208b8[_0x11fe4b(0x9b)](parallelTestRun,_0x45817f,_0x33966f,_0x16b47b)[_0x11fe4b(0xf4)](_0x47e462=>{const _0x21af4b=_0x11fe4b;PerformanceTester[_0x21af4b(0xc4)](PerformanceEvents[_0x21af4b(0x127)]),_0x666b04=_0x47e462,_0x4208b8[_0x21af4b(0x126)](printStats,_0x47e462,_0x45b728['reporter'],_0x45b728[_0x21af4b(0xbc)]||_0x45b728[_0x4208b8['tCeOx']]);})[_0x11fe4b(0x116)](async()=>{const _0x10bbbc=_0x11fe4b;PerformanceTester['start'](PerformanceEvents[_0x10bbbc(0x127)]),_0x16b47b['errorMessage']=helper[_0x10bbbc(0x141)](_0x666b04,_0x4208b8[_0x10bbbc(0xd3)]),await utilities[_0x10bbbc(0xb9)](_0x16b47b),testOpsHelper[_0x10bbbc(0x171)]();});}}module[a31_0x559e8d(0xbd)]=run;
|
|
2
|
+
'use strict';const a31_0x3602ed=a31_0x4ce0;(function(_0x49f824,_0x38be16){const _0x2c2a52=a31_0x4ce0,_0x2f802b=_0x49f824();while(!![]){try{const _0x5a7348=-parseInt(_0x2c2a52(0x1ac))/0x1*(parseInt(_0x2c2a52(0x148))/0x2)+-parseInt(_0x2c2a52(0x1a7))/0x3+parseInt(_0x2c2a52(0x208))/0x4*(parseInt(_0x2c2a52(0x14b))/0x5)+-parseInt(_0x2c2a52(0x23b))/0x6*(-parseInt(_0x2c2a52(0x211))/0x7)+parseInt(_0x2c2a52(0x241))/0x8*(-parseInt(_0x2c2a52(0x240))/0x9)+-parseInt(_0x2c2a52(0x14c))/0xa*(-parseInt(_0x2c2a52(0x17a))/0xb)+-parseInt(_0x2c2a52(0x21d))/0xc*(-parseInt(_0x2c2a52(0x232))/0xd);if(_0x5a7348===_0x38be16)break;else _0x2f802b['push'](_0x2f802b['shift']());}catch(_0x26aa0c){_0x2f802b['push'](_0x2f802b['shift']());}}}(a31_0x4076,0x666d0));const chalk=require(a31_0x3602ed(0x1f2)),logger=require(a31_0x3602ed(0x243))['winstonLogger'],helper=require(a31_0x3602ed(0x1b2)),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a31_0x3602ed(0x171)),{requireModule,nestedKeyValue}=require(a31_0x3602ed(0x1b2)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a31_0x3602ed(0x17f),a31_0x3602ed(0x185)),collectFiles=requireModule(a31_0x3602ed(0x1f4),a31_0x3602ed(0x185)),constants=require(a31_0x3602ed(0x22b)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a31_0x3602ed(0x157))[a31_0x3602ed(0x190)],centralScannerConstants=require(a31_0x3602ed(0x1ed)),{FRAMEWORKS}=require(a31_0x3602ed(0x142)),TestHubHandler=require(a31_0x3602ed(0x23f));function a31_0x4076(){const _0x1fb465=['finalExecution','dPWNl','ujoXt','YGxmU','LYPDh','info','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','central_scanner','passes','yMxgw','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../utils/constants','Couldn\x27t\x20write\x20xunit\x20result\x20to','Writing\x20xunit\x20result\x20to\x20file','launchBuild','GWEgQ','getErrorMessageFromResults','get','8399183HDsHQV','printBuildLink','zoJlq','test','testSuites','lAGTZ','****\x20FAILURES\x20****','getOwnPropertyNames','shouldReRunObservabilityTests','6ohmcfc','dpuIV','Total\x20Platforms:\x20','red','../../helpers/testhub/testhubHandler','18bowFqw','2019616ekmTGB','nQTGy','../../helpers/logger','SRWTK','stringify','platforms','../../helpers/test-observability/constants','files','json','Couldn\x27t\x20write\x20json\x20result\x20to','logLevel','testsFailed','1337370pXgjbN','tzCnY','DmbiN','10MzwCxf','60goPWAE','hasOwnProperty','reporter-option','\x0a\x0a\x0a','excludeTagsInTestingScope','Listing\x20all\x20the\x20failures','fuZsy','testObservability','yellow','list','uYvET','../../helpers/performance/constants','bJyMe','HQWbD','state','consoleLog','mpeqH','oVnPk','speed','Ntchu','nqouG','KCaMs','bgRedBright','keys','handleApp','cObMk','min','stack','tLTIn','skipped','QULcC','duration','dPpIN','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','getHubUrl','LwEgY','add','../test-runner','fullTitle','iyNUv','error\x20removing\x20tcg\x20config\x20file','SnfJb','bold','ikOXe','LhUHZ','</testsuite>','158576ZKSeUe','biwTi','testsuite','FZkyc','finally','mocha/lib/reporters/base.js','length','\x20platforms','testsPassed','Running\x20your\x20mocha\x20tests\x20across\x20','pwSFu','mocha','retries','JXjaC','qjLwv','MOCHA','maxRetries','setUserConfigPath','PdVIu','isBrowserstackInfra','MPZdx','currentRetry','EVENTS','kiBDo','VOlMR','CDuNK','mjs','push','SDKTestSuccessful','Fuyrf','TdfMU','log','DSVOs','getPlatformName','NyXuH','JYjFb','rrTtm','toUTCString','BaCGy','title','jLDBL','forEach','parse','errorMessage','Total\x20Suites:\x20','961734WcRfbn','\x20total','BROWSERSTACK_RERUN_TESTS','output','tpzXl','1hwDSjx','failed','framework','actual','extension','\x20skipped','../../helpers/helper','crEHg','nitXW','start','prepareCapabilities','reporterOptions','testsPending','accessibility','vZtiX','error','YBwnR','platform','getUserWorkerCount','useColors','hideDiff','cliConfig','bwPAr','doc','klAus','nTUBl','eiWNt','mBiBu','fireFunnelTestEvent','rmdirSync','accessibilityOptions','ECERo','then','testcase','join','titlePath','retryTestsOnFailure','object','totalTests','BHolu','iXVTG','generateDiff','VgwIy','writeFileSync','IzUbP','EZKrC','getTCGConfigFilePaths','FHYgc','eAxVp','FRAMEWORKS','isUndefined','pending','xanXr','debug','mezjh','message','includeTagsInTestingScope','rerunTests','dlZLQ','sort','results','Yqqyc','indexOf','failure','parallelsPerPlatform','../../helpers/central-scanner/constants','configuration','UBlqc','size','bkYHX','chalk','ZZQkc','mocha/lib/cli/collect-files.js','Running\x20your\x20mocha\x20tests','SDK_CLEANUP','assign','isPending','uzGBS','Tests:\x20\x20\x20\x20\x20\x20\x20','showDiff','Printing\x20stats\x20of\x20tests','passed','expected','tDIVh','ignore','NMXWh','Now,\x20showing\x20logs\x20from\x20mocha','BNmWF','Mocha\x20Tests','JsUjY','config','parseTestOrchestrationOptions','834196EYTOcA','has','bgBlueBright','suiteName','reporter','BbKND','lJsJH','isTestObservabilitySession','spec','5348126PFbKSX','proxySettings','err','gBoYA','green','cRIDX','WrVRQ','PRGiY','notifyUpdate','cdRTj','PitDu','QDhZQ','12uzOLzu','env','file'];a31_0x4076=function(){return _0x1fb465;};return a31_0x4076();}function tag(_0x34b910,_0x5cadc3,_0x51daba,_0x3017d5){const _0x3d3652=a31_0x3602ed,_0x25eade={'SRWTK':function(_0x54a1a6,_0x23e78f){return _0x54a1a6+_0x23e78f;},'PdVIu':function(_0x211f4a,_0x195a2e){return _0x211f4a+_0x195a2e;},'JmiSl':function(_0x29bca5,_0x3d9b2b){return _0x29bca5(_0x3d9b2b);},'cRIDX':function(_0x300bb8,_0x489235){return _0x300bb8+_0x489235;},'qjLwv':function(_0x2ddf1d,_0x1a3600){return _0x2ddf1d+_0x1a3600;}},_0x75fe4f=_0x51daba?'/>':'>',_0x5b69d8=[];let _0x47099c;for(const _0xe0b080 in _0x5cadc3){Object['prototype'][_0x3d3652(0x14d)]['call'](_0x5cadc3,_0xe0b080)&&_0x5b69d8['push'](_0x25eade['SRWTK'](_0x25eade[_0x3d3652(0x13f)](_0x25eade[_0x3d3652(0x18c)](_0xe0b080,'=\x22'),_0x25eade['JmiSl'](escape,_0x5cadc3[_0xe0b080])),'\x22'));}return _0x47099c=_0x25eade['SRWTK'](_0x25eade[_0x3d3652(0x18c)](_0x25eade[_0x3d3652(0x18c)]('<',_0x34b910),_0x5b69d8[_0x3d3652(0x180)]?_0x25eade[_0x3d3652(0x18c)]('\x20',_0x5b69d8[_0x3d3652(0x1ce)]('\x20')):''),_0x75fe4f),_0x3017d5&&(_0x47099c+=_0x25eade[_0x3d3652(0x13f)](_0x25eade[_0x3d3652(0x216)](_0x25eade[_0x3d3652(0x188)](_0x3017d5,'</'),_0x34b910),_0x75fe4f)),_0x47099c;}let xunitContent='';function xunitWrite(_0x59ca5f){xunitContent+=_0x59ca5f;}function a31_0x4ce0(_0x97d3ad,_0x73a6f3){const _0x407618=a31_0x4076();return a31_0x4ce0=function(_0x4ce004,_0x30543f){_0x4ce004=_0x4ce004-0x13f;let _0x21b812=_0x407618[_0x4ce004];return _0x21b812;},a31_0x4ce0(_0x97d3ad,_0x73a6f3);}function xunitTest(_0x41181b,_0x30b5b7){const _0x29184b=a31_0x3602ed,_0x177002={'tDIVh':function(_0x5a4c97,_0x310e78){return _0x5a4c97/_0x310e78;},'ikOXe':function(_0x221aa2,_0x22ad7a){return _0x221aa2===_0x22ad7a;},'DmbiN':_0x29184b(0x1ad),'QULcC':function(_0x2f3f9b,_0x53b37d){return _0x2f3f9b+_0x53b37d;},'LwEgY':function(_0x347939,_0x3f63da){return _0x347939(_0x3f63da);},'bJyMe':function(_0x5417a1,_0x240ee7,_0x40c7c5,_0x1f4050,_0x3bf419){return _0x5417a1(_0x240ee7,_0x40c7c5,_0x1f4050,_0x3bf419);},'BaCGy':_0x29184b(0x1cd),'JYjFb':_0x29184b(0x1eb),'OOviK':function(_0x2f5f7e,_0x509b1c){return _0x2f5f7e+_0x509b1c;},'cdRTj':function(_0x3124a7,_0x38ed58){return _0x3124a7+_0x38ed58;},'tLTIn':function(_0x2a9e77,_0x45092e){return _0x2a9e77(_0x45092e);},'kiBDo':function(_0x1efba1,_0x5310b2,_0x402e8e,_0x29f9ef){return _0x1efba1(_0x5310b2,_0x402e8e,_0x29f9ef);},'LAZQr':_0x29184b(0x169),'IzUbP':function(_0x4e7611,_0x157378){return _0x4e7611(_0x157378);}};Base[_0x29184b(0x1bf)]=![];var _0x4f3763={'classname':_0x41181b[_0x29184b(0x172)],'name':_0x41181b[_0x29184b(0x1a1)],'time':_0x177002[_0x29184b(0x1ff)](_0x41181b[_0x29184b(0x16b)],0x3e8)||0x0,'platform':_0x30b5b7};if(_0x177002[_0x29184b(0x177)](_0x41181b[_0x29184b(0x15a)],_0x177002[_0x29184b(0x14a)])){var _0x56260d=_0x41181b[_0x29184b(0x213)],_0x2a47a5=!Base[_0x29184b(0x1c0)]&&Base[_0x29184b(0x1fb)](_0x56260d)?_0x177002[_0x29184b(0x16a)]('\x0a',Base[_0x29184b(0x1d5)](_0x56260d[_0x29184b(0x1af)],_0x56260d[_0x29184b(0x1fe)])):'';_0x177002[_0x29184b(0x16f)](xunitWrite,_0x177002['bJyMe'](tag,_0x177002[_0x29184b(0x1a0)],_0x4f3763,![],_0x177002[_0x29184b(0x158)](tag,_0x177002[_0x29184b(0x19d)],{},![],_0x177002[_0x29184b(0x16a)](_0x177002['OOviK'](_0x177002[_0x29184b(0x21a)](_0x177002[_0x29184b(0x168)](escape,_0x56260d[_0x29184b(0x1e3)]),_0x177002[_0x29184b(0x16f)](escape,_0x2a47a5)),'\x0a'),_0x177002[_0x29184b(0x168)](escape,_0x56260d['stack'])))));}else _0x41181b[_0x29184b(0x1f8)]?_0x177002[_0x29184b(0x16f)](xunitWrite,_0x177002[_0x29184b(0x158)](tag,_0x177002[_0x29184b(0x1a0)],_0x4f3763,![],_0x177002[_0x29184b(0x191)](tag,_0x177002['LAZQr'],{},!![]))):_0x177002[_0x29184b(0x1d8)](xunitWrite,_0x177002[_0x29184b(0x191)](tag,_0x177002[_0x29184b(0x1a0)],_0x4f3763,!![]));};function getStats(_0x29900b){const _0x469b8d=a31_0x3602ed,_0x2047b5={};_0x2047b5['MNdnD']='suite',_0x2047b5['JsUjY']=_0x469b8d(0x1fd),_0x2047b5[_0x469b8d(0x1f9)]='failed',_0x2047b5[_0x469b8d(0x1d6)]=_0x469b8d(0x1e8);const _0x258205=_0x2047b5,_0xcfc958=Object[_0x469b8d(0x163)](_0x29900b);let _0x4aa3f4=0x0,_0x4d9b21=0x0,_0xde94f7=0x0,_0x4e95e1=0x0;const _0x48d287=new Set();_0xcfc958[_0x469b8d(0x1a3)](_0x45ff89=>{_0x29900b[_0x45ff89][_0x258205['VgwIy']]['forEach'](_0x457f99=>{const _0x174413=a31_0x4ce0;_0x48d287[_0x174413(0x170)](_0x457f99[_0x258205['MNdnD']]),_0x4aa3f4++;switch(_0x457f99[_0x174413(0x15a)]){case _0x258205[_0x174413(0x205)]:_0xde94f7++;break;case _0x258205[_0x174413(0x1f9)]:_0x4d9b21++;break;default:_0x4e95e1++;}});});const _0x7ef6da={};return _0x7ef6da[_0x469b8d(0x236)]=_0x48d287[_0x469b8d(0x1f0)],_0x7ef6da[_0x469b8d(0x141)]=_0xcfc958,_0x7ef6da[_0x469b8d(0x1d2)]=_0x4aa3f4,_0x7ef6da[_0x469b8d(0x147)]=_0x4d9b21,_0x7ef6da[_0x469b8d(0x182)]=_0xde94f7,_0x7ef6da[_0x469b8d(0x1b8)]=_0x4e95e1,_0x7ef6da;}function errorJSON(_0x3eb26d){const _0x4ec0e3=a31_0x3602ed;var _0x3d925d={};return Object[_0x4ec0e3(0x239)](_0x3eb26d)[_0x4ec0e3(0x1a3)](function(_0x157559){_0x3d925d[_0x157559]=_0x3eb26d[_0x157559];},_0x3eb26d),_0x3d925d;}function cleanCycles(_0x4b0f83){const _0x566971=a31_0x3602ed,_0x114522={};_0x114522[_0x566971(0x1cb)]=function(_0x1bd9c1,_0x3e39ae){return _0x1bd9c1===_0x3e39ae;},_0x114522[_0x566971(0x1ba)]=_0x566971(0x1d1),_0x114522['AJuCS']=function(_0x4fae3c,_0x439cbe){return _0x4fae3c!==_0x439cbe;},_0x114522[_0x566971(0x1c7)]=function(_0x44b591,_0x291426){return _0x44b591!==_0x291426;},_0x114522['jLDBL']=function(_0x277bf8,_0x547874){return _0x277bf8+_0x547874;};const _0x58c586=_0x114522;var _0x393a46=[];return JSON[_0x566971(0x1a4)](JSON[_0x566971(0x140)](_0x4b0f83,function(_0x1c8aff,_0xf04b8b){const _0x15e385=_0x566971;if(_0x58c586['ECERo'](typeof _0xf04b8b,_0x58c586[_0x15e385(0x1ba)])&&_0x58c586['AJuCS'](_0xf04b8b,null)){if(_0x58c586[_0x15e385(0x1c7)](_0x393a46[_0x15e385(0x1ea)](_0xf04b8b),-0x1))return _0x58c586[_0x15e385(0x1a2)]('',_0xf04b8b);_0x393a46[_0x15e385(0x195)](_0xf04b8b);}return _0xf04b8b;}));}function clean(_0x4f4330){const _0x34aabf=a31_0x3602ed,_0x10723c={'rrTtm':function(_0x30d50c,_0x19bb3c){return _0x30d50c instanceof _0x19bb3c;},'biwTi':function(_0x2a00c2,_0x146354){return _0x2a00c2(_0x146354);},'uYvET':function(_0x48f69a,_0x3a9136){return _0x48f69a(_0x3a9136);}};var _0x2fd25d=_0x4f4330['err']||{};return _0x10723c[_0x34aabf(0x19e)](_0x2fd25d,Error)&&(_0x2fd25d=_0x10723c[_0x34aabf(0x17b)](errorJSON,_0x2fd25d)),{'title':_0x4f4330[_0x34aabf(0x1a1)],'fullTitle':_0x4f4330['fullTitle'],'file':_0x4f4330['file'],'duration':_0x4f4330[_0x34aabf(0x16b)],'currentRetry':_0x4f4330[_0x34aabf(0x18f)],'speed':_0x4f4330[_0x34aabf(0x15e)],'err':_0x10723c[_0x34aabf(0x156)](cleanCycles,_0x2fd25d)};}function printStats(_0x4cbbad,_0x3630d9=a31_0x3602ed(0x210),_0x4ca94b={}){const _0x3780b0=a31_0x3602ed,_0x45389c={'PitDu':function(_0x1e6438,_0x5dd2a4){return _0x1e6438(_0x5dd2a4);},'YBwnR':function(_0x90e7bd,_0x59e51e){return _0x90e7bd===_0x59e51e;},'xanXr':_0x3780b0(0x1fd),'nQTGy':_0x3780b0(0x228),'LhUHZ':_0x3780b0(0x1ad),'dlZLQ':'failures','Yqqyc':function(_0x314eaf,_0x3012ed){return _0x314eaf(_0x3012ed);},'oVnPk':_0x3780b0(0x1df),'dpuIV':function(_0x1026f7,_0xdb6d30){return _0x1026f7(_0xdb6d30);},'NMXWh':_0x3780b0(0x1e8),'ygtla':function(_0xd81e88,_0x20a2ca){return _0xd81e88*_0x20a2ca;},'fcaut':function(_0x4bc7bc,_0x18763a,_0x352db2){return _0x4bc7bc(_0x18763a,_0x352db2);},'JXjaC':function(_0x1741a0,_0x18930d){return _0x1741a0===_0x18930d;},'bwPAr':function(_0x59c111,_0x2f525c){return _0x59c111>_0x2f525c;},'iXVTG':function(_0x1e8b81){return _0x1e8b81();},'nTUBl':function(_0x58db3f,_0x333292){return _0x58db3f===_0x333292;},'nitXW':_0x3780b0(0x1c3),'SnfJb':function(_0x431a8a,_0x465e5f){return _0x431a8a>_0x465e5f;},'KCaMs':'Setting\x20non\x20exit\x20code\x20for\x20failures','BHolu':_0x3780b0(0x1fc),'EjMGN':function(_0x83083a,_0x11d49d){return _0x83083a+_0x11d49d;},'ujoXt':_0x3780b0(0x23d),'nqouG':function(_0xd50882,_0x4c69ad){return _0xd50882+_0x4c69ad;},'UBlqc':_0x3780b0(0x1a6),'Aydqn':function(_0x4a763d,_0x36282d){return _0x4a763d+_0x36282d;},'fuZsy':function(_0x5181c0,_0x24700a){return _0x5181c0+_0x24700a;},'LYPDh':_0x3780b0(0x1fa),'tpzXl':function(_0x2761ab,_0x1bf178){return _0x2761ab>_0x1bf178;},'QDhZQ':function(_0x271c75,_0x4067de){return _0x271c75>_0x4067de;},'eAxVp':function(_0x363cea,_0x3ffff7){return _0x363cea+_0x3ffff7;},'klAus':function(_0x3d1d01,_0xd271cc){return _0x3d1d01+_0xd271cc;},'CDuNK':_0x3780b0(0x14f),'LzHOS':_0x3780b0(0x144),'iyNUv':'Writing\x20json\x20result\x20to\x20file','GWEgQ':_0x3780b0(0x145),'PRGiY':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','FZkyc':'xunit','mpeqH':_0x3780b0(0x204),'bkYHX':function(_0x569460,_0x159694){return _0x569460||_0x159694;},'xskGd':function(_0x18c859,_0x431aaf,_0x151bb4,_0x22c43b){return _0x18c859(_0x431aaf,_0x151bb4,_0x22c43b);},'gBoYA':_0x3780b0(0x17c),'mezjh':function(_0x400fea,_0x3db333){return _0x400fea-_0x3db333;},'crEHg':function(_0xa7f955,_0x52a206){return _0xa7f955-_0x52a206;},'tzCnY':function(_0x25b8b4,_0x5e2938){return _0x25b8b4/_0x5e2938;},'BNmWF':_0x3780b0(0x179),'YGxmU':_0x3780b0(0x22d),'HesfF':_0x3780b0(0x22c),'pwSFu':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','TdfMU':_0x3780b0(0x151),'dPpIN':_0x3780b0(0x238)};if(_0x45389c[_0x3780b0(0x1c5)](_0x3630d9,_0x45389c[_0x3780b0(0x1b4)]))return;const _0x1f7f99=0x0,_0xb11eaf=()=>{const _0x4b5474=_0x3780b0;return _0x45389c[_0x4b5474(0x21b)](Array,_0x1f7f99)[_0x4b5474(0x1ce)]('\x20\x20');},{testSuites:_0x48ec30,platforms:_0x26063b,totalTests:_0x4cacf9,testsFailed:_0xe9edc,testsPassed:_0x70f960,testsPending:_0x18b534}=_0x45389c['dpuIV'](getStats,_0x4cbbad);_0x45389c['SnfJb'](_0xe9edc,0x0)&&(logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x161)]),process['exitCode']=Math[_0x3780b0(0x166)](_0xe9edc,0xff));logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x1d3)]);const _0x2bf475=''+_0x45389c['EjMGN'](chalk[_0x3780b0(0x176)](_0x45389c[_0x3780b0(0x222)]),_0x26063b['length']),_0x52700c=''+_0x45389c['nqouG'](chalk[_0x3780b0(0x176)](_0x45389c[_0x3780b0(0x1ef)]),_0x48ec30),_0x326108=''+_0x45389c['Aydqn'](_0x45389c['nqouG'](_0x45389c[_0x3780b0(0x152)](chalk[_0x3780b0(0x176)](_0x45389c[_0x3780b0(0x224)]),_0x45389c[_0x3780b0(0x1ab)](_0xe9edc,0x0)?chalk['bold'][_0x3780b0(0x23e)](_0xe9edc+'\x20failed')+',\x20':''),_0x45389c[_0x3780b0(0x175)](_0x18b534,0x0)?chalk[_0x3780b0(0x176)][_0x3780b0(0x154)](_0x18b534+_0x3780b0(0x1b1))+',\x20':''),_0x45389c[_0x3780b0(0x21c)](_0x70f960,0x0)?chalk[_0x3780b0(0x176)][_0x3780b0(0x215)](_0x70f960+'\x20passed')+',\x20':'')+_0x4cacf9+_0x3780b0(0x1a8);console[_0x3780b0(0x199)](_0x45389c[_0x3780b0(0x160)](_0x45389c[_0x3780b0(0x160)](_0x45389c[_0x3780b0(0x160)](_0x45389c[_0x3780b0(0x1dc)](_0x45389c[_0x3780b0(0x1c4)](_0x45389c[_0x3780b0(0x193)],_0x2bf475),'\x0a'),_0x52700c),'\x0a'),_0x326108));if(_0x45389c[_0x3780b0(0x1c5)](_0x3630d9,_0x45389c['LzHOS'])){const _0x3a5fc0={},_0x41ea3c={};_0x41ea3c['testSuites']=_0x48ec30,_0x41ea3c[_0x3780b0(0x141)]=_0x26063b,_0x41ea3c[_0x3780b0(0x147)]=_0xe9edc,_0x41ea3c['testsPassed']=_0x70f960,_0x41ea3c[_0x3780b0(0x1b8)]=_0x18b534,_0x3a5fc0['stats']=_0x41ea3c,_0x26063b[_0x3780b0(0x1a3)](_0x5e2377=>{const _0x3af7d5=_0x3780b0;_0x3a5fc0[_0x5e2377]={'pending':[],'failures':[],'passes':[],'tests':_0x4cbbad[_0x5e2377][_0x45389c['NMXWh']]['map'](clean)},_0x4cbbad[_0x5e2377][_0x45389c[_0x3af7d5(0x201)]][_0x3af7d5(0x1a3)](_0x165be8=>{const _0x384f64=_0x3af7d5;if(_0x45389c[_0x384f64(0x1bc)](_0x165be8[_0x384f64(0x15a)],_0x45389c[_0x384f64(0x1e0)]))_0x3a5fc0[_0x5e2377][_0x45389c[_0x384f64(0x242)]]['push'](_0x45389c[_0x384f64(0x21b)](clean,_0x165be8));else _0x45389c['YBwnR'](_0x165be8['state'],_0x45389c[_0x384f64(0x178)])?_0x3a5fc0[_0x5e2377][_0x45389c[_0x384f64(0x1e6)]][_0x384f64(0x195)](_0x45389c[_0x384f64(0x1e9)](clean,_0x165be8)):_0x3a5fc0[_0x5e2377][_0x45389c[_0x384f64(0x15d)]]['push'](_0x45389c['dpuIV'](clean,_0x165be8));});});if(_0x4ca94b[_0x3780b0(0x1aa)])try{logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x173)],_0x4ca94b['output']),fs['writeFileSync'](_0x4ca94b[_0x3780b0(0x1aa)],JSON[_0x3780b0(0x140)](_0x3a5fc0,null,0x3));}catch(_0x40fa63){logger[_0x3780b0(0x1bb)](_0x45389c[_0x3780b0(0x22f)],_0x4ca94b['output']),logger[_0x3780b0(0x1e1)](_0x40fa63);}else logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x218)]),console['log'](JSON[_0x3780b0(0x140)](_0x3a5fc0,null,0x3));}else{if(_0x45389c[_0x3780b0(0x1c5)](_0x3630d9,_0x45389c[_0x3780b0(0x17d)])){let _0x4cea2c;const _0x2906e1=_0x45389c[_0x3780b0(0x15c)];_0x4ca94b&&(_0x4cea2c=_0x4ca94b[_0x3780b0(0x20b)]);_0x4cea2c=_0x45389c[_0x3780b0(0x1f1)](_0x4cea2c,_0x2906e1);let _0x2ccdbd=0x0,_0x3ae81e=0x0,_0x1471a5=0x0,_0x3be0be=0x0;_0x26063b[_0x3780b0(0x1a3)](_0x1f9b96=>{const _0x588e3e=_0x3780b0;_0x4cbbad[_0x1f9b96][_0x45389c[_0x588e3e(0x201)]]['forEach'](_0x1da7f9=>{const _0xf31115=_0x588e3e;if(_0x45389c[_0xf31115(0x1bc)](_0x1da7f9[_0xf31115(0x15a)],_0x45389c[_0xf31115(0x1e0)]))_0x2ccdbd++;else _0x45389c[_0xf31115(0x1bc)](_0x1da7f9[_0xf31115(0x15a)],_0x45389c[_0xf31115(0x178)])&&_0x3ae81e++;_0x1471a5++,_0x3be0be+=_0x45389c['ygtla'](_0x1da7f9[_0xf31115(0x16b)],0x1);});}),_0x45389c[_0x3780b0(0x23c)](xunitWrite,_0x45389c['xskGd'](tag,_0x45389c[_0x3780b0(0x214)],{'name':_0x4cea2c,'tests':_0x1471a5,'failures':0x0,'errors':_0x3ae81e,'skipped':_0x45389c[_0x3780b0(0x1e2)](_0x45389c[_0x3780b0(0x1b3)](_0x1471a5,_0x3ae81e),_0x2ccdbd),'timestamp':new Date()[_0x3780b0(0x19f)](),'time':_0x45389c[_0x3780b0(0x149)](_0x3be0be,0x3e8)||0x0},![])),_0x26063b['forEach'](_0x2de146=>{const _0x38f4c9=_0x3780b0,_0x331676={'VOlMR':function(_0x24dd26,_0x39c304,_0x2c5c8d){return _0x45389c['fcaut'](_0x24dd26,_0x39c304,_0x2c5c8d);}};_0x4cbbad[_0x2de146][_0x45389c[_0x38f4c9(0x201)]]['forEach'](_0x42e77d=>{const _0x57aaa8=_0x38f4c9;_0x331676[_0x57aaa8(0x192)](xunitTest,_0x42e77d,_0x2de146);});}),_0x45389c[_0x3780b0(0x1e9)](xunitWrite,_0x45389c[_0x3780b0(0x203)]);if(_0x4ca94b[_0x3780b0(0x1aa)])try{logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x223)],_0x4ca94b[_0x3780b0(0x1aa)]),fs[_0x3780b0(0x1d7)](_0x4ca94b['output'],xunitContent);}catch(_0x31e040){logger[_0x3780b0(0x1bb)](_0x45389c['HesfF'],_0x4ca94b[_0x3780b0(0x1aa)]),logger[_0x3780b0(0x1e1)](_0x31e040);}else logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x184)]),console[_0x3780b0(0x199)](xunitContent);}else{if(_0x45389c[_0x3780b0(0x1c5)](_0xe9edc,0x0))return;console[_0x3780b0(0x199)](),logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x198)]),console[_0x3780b0(0x199)](chalk['bold'][_0x3780b0(0x162)](_0x45389c[_0x3780b0(0x16c)])),_0x26063b[_0x3780b0(0x1a3)](_0x3e67e7=>{const _0x16fcdc=_0x3780b0,_0x3b743a=[];_0x4cbbad[_0x3e67e7][_0x45389c[_0x16fcdc(0x201)]][_0x16fcdc(0x1a3)](_0x32e279=>{const _0x3f3776=_0x16fcdc;_0x45389c[_0x3f3776(0x187)](_0x32e279['state'],_0x45389c['LhUHZ'])&&(_0x32e279[_0x3f3776(0x1cf)]=()=>_0x32e279['titlePathV'],_0x3b743a['push'](_0x32e279));}),_0x45389c[_0x16fcdc(0x1c2)](_0x3b743a[_0x16fcdc(0x180)],0x0)&&(Base[_0x16fcdc(0x15b)](),Base['consoleLog'](_0x45389c[_0x16fcdc(0x1d4)](_0xb11eaf),chalk['bold'][_0x16fcdc(0x20a)](_0x3e67e7)),Base[_0x16fcdc(0x155)](_0x3b743a));});}}}async function run(_0x2aa100,_0x44b980,_0x4ffc04){const _0x2a8831=a31_0x3602ed,_0x52b303={'lJsJH':function(_0x231a38,_0x542869,_0x26c517,_0x31b258){return _0x231a38(_0x542869,_0x26c517,_0x31b258);},'zoJlq':_0x2a8831(0x14e),'lAGTZ':_0x2a8831(0x174),'BbKND':_0x2a8831(0x196),'EZKrC':_0x2a8831(0x185),'MPZdx':function(_0x1e7957,_0x14d598){return _0x1e7957!=_0x14d598;},'wxVgZ':'cjs','NyXuH':_0x2a8831(0x194),'DSVOs':_0x2a8831(0x235),'WrVRQ':_0x2a8831(0x1e5),'cObMk':function(_0x43c522,_0x44ecc2){return _0x43c522(_0x44ecc2);},'eiWNt':function(_0x2ba7e8,_0x36130a,_0x570eb8){return _0x2ba7e8(_0x36130a,_0x570eb8);},'HQWbD':_0x2a8831(0x143),'SZYQo':function(_0xd02cbb,_0x138f1b){return _0xd02cbb!=_0x138f1b;},'ZZQkc':_0x2a8831(0x1e4),'yMxgw':_0x2a8831(0x150),'FHYgc':'includeEncodedExtension','itBIW':_0x2a8831(0x1f5),'Ntchu':_0x2a8831(0x202),'QodhH':function(_0x565062,_0x4e94df){return _0x565062*_0x4e94df;},'Fuyrf':function(_0x42fc52,_0xacf3e1){return _0x42fc52(_0xacf3e1);},'BsMsg':function(_0x4a2175,_0x62827e){return _0x4a2175!==_0x62827e;},'dPWNl':function(_0x21646e,_0x4bbe65,_0x228aba,_0x3a6c0d){return _0x21646e(_0x4bbe65,_0x228aba,_0x3a6c0d);}};helper[_0x2a8831(0x18b)](_0x4ffc04['framework'],_0x2aa100),await _0x4ffc04['initialize'](_0x2aa100);helper[_0x2a8831(0x18d)]()?await helper[_0x2a8831(0x164)](_0x4ffc04['config']):await _0x4ffc04['setupTCGAuth']();const _0x3c508d=[];let _0x2f749a=[];if(!_0x4ffc04[_0x2a8831(0x206)])return;!helper[_0x2a8831(0x1de)](_0x4ffc04['config']['accessibilityOptions'])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2a8831(0x140)](_0x4ffc04[_0x2a8831(0x206)]['accessibilityOptions']));const _0x329e19=await TestHubHandler[_0x2a8831(0x22e)](FRAMEWORKS[_0x2a8831(0x189)],_0x4ffc04);_0x52b303[_0x2a8831(0x18e)](_0x4ffc04[_0x2a8831(0x206)][_0x2a8831(0x153)],null)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4ffc04[_0x2a8831(0x206)][_0x2a8831(0x153)]);!helper[_0x2a8831(0x1de)](_0x4ffc04[_0x2a8831(0x206)][_0x2a8831(0x1b9)])&&(process[_0x2a8831(0x21e)][_0x2a8831(0x22a)]=_0x4ffc04[_0x2a8831(0x206)]['accessibility']);const {extension:extension=['js',_0x52b303['wxVgZ'],_0x52b303[_0x2a8831(0x19c)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x52b303[_0x2a8831(0x19a)]]}=_0x2aa100,_0x2d27b3={..._0x2aa100};_0x2d27b3['rootHooks']=null;const _0x27a4dc=_0x2d27b3;let _0x5725ae;if(testOpsHelper[_0x2a8831(0x20f)]()&&testOpsHelper[_0x2a8831(0x23a)]()){let _0x12ac54=process['env'][_0x2a8831(0x1a9)];!helper['isUndefined'](_0x4ffc04[_0x2a8831(0x1c1)])&&_0x4ffc04[_0x2a8831(0x1c1)][_0x2a8831(0x209)](_0x52b303[_0x2a8831(0x217)])&&(_0x12ac54=_0x4ffc04['cliConfig'][_0x2a8831(0x231)](_0x52b303[_0x2a8831(0x217)])),_0x5725ae=testOpsHelper['parseFileNames'](_0x12ac54);}if(helper[_0x2a8831(0x1de)](_0x5725ae)){const _0x2051ff={};_0x2051ff[_0x2a8831(0x200)]=ignore,_0x2051ff[_0x2a8831(0x1b0)]=extension,_0x2051ff[_0x2a8831(0x21f)]=file,_0x2051ff['recursive']=recursive,_0x2051ff[_0x2a8831(0x1e7)]=sort,_0x2051ff[_0x2a8831(0x210)]=spec,_0x5725ae=_0x52b303[_0x2a8831(0x165)](collectFiles,_0x2051ff),_0x52b303[_0x2a8831(0x1c6)](nestedKeyValue,_0x5725ae,[_0x52b303[_0x2a8831(0x159)]])&&(_0x5725ae=_0x5725ae[_0x2a8831(0x143)]);}const _0x496ab9=helper[_0x2a8831(0x207)](_0x4ffc04[_0x2a8831(0x206)]);!helper['isEmpty'](_0x496ab9)&&helper['isNotUndefined'](_0x496ab9[_0x2a8831(0x1d0)])&&(_0x27a4dc[_0x2a8831(0x186)]=_0x496ab9[_0x2a8831(0x1d0)][_0x2a8831(0x18a)]);if(!helper[_0x2a8831(0x18d)]()){const _0xc8ade2=0x1,_0x81cac9={..._0x27a4dc};_0x81cac9['spec']=[..._0x5725ae],_0x3c508d[_0x2a8831(0x195)]({'mochaOpts':_0x81cac9,'configuration':{'platform':os[_0x2a8831(0x1bd)]()}});if(_0x4ffc04[_0x2a8831(0x206)][_0x2a8831(0x1b9)]){const _0x1f99aa={};_0x1f99aa[_0x2a8831(0x1b9)]=!![];const _0x28a005=_0x1f99aa;_0x52b303['SZYQo'](_0x4ffc04[_0x2a8831(0x206)][_0x2a8831(0x1ca)],null)&&(_0x28a005[_0x2a8831(0x1ca)]=_0x4ffc04['config'][_0x2a8831(0x1ca)],delete _0x28a005[_0x2a8831(0x1ca)][_0x52b303[_0x2a8831(0x1f3)]],delete _0x28a005[_0x2a8831(0x1ca)][_0x52b303[_0x2a8831(0x229)]],delete _0x28a005[_0x2a8831(0x1ca)][_0x52b303[_0x2a8831(0x1db)]]);const _0x1e5dc1={};_0x1e5dc1['bstack:options']=_0x28a005,_0x3c508d[0x0][_0x2a8831(0x1ee)]['capability']=_0x1e5dc1;}logger[_0x2a8831(0x225)](_0x52b303['itBIW']),logger['info'](_0x52b303[_0x2a8831(0x15f)]),_0x52b303[_0x2a8831(0x20e)](parallelTestRun,_0x3c508d,_0xc8ade2,_0x4ffc04)[_0x2a8831(0x1cc)](_0x314984=>{const _0x525109=_0x2a8831;PerformanceTester[_0x525109(0x1b5)](PerformanceEvents[_0x525109(0x1f6)]),_0x52b303[_0x525109(0x20e)](printStats,_0x314984,_0x2aa100[_0x525109(0x20c)],_0x2aa100['reporterOptions']||_0x2aa100[_0x52b303[_0x525109(0x234)]]);})[_0x2a8831(0x17e)](()=>{const _0x340586=_0x2a8831;PerformanceTester[_0x340586(0x1b5)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0xa0fd8d,tcgConfigPath:_0x3eabc4}=helper[_0x340586(0x1da)]();fs['unlinkSync'](_0x3eabc4),fs[_0x340586(0x1c9)](_0xa0fd8d);}catch(_0x162cc7){logger[_0x340586(0x1e1)](_0x52b303[_0x340586(0x237)],_0x162cc7);}try{utilities[_0x340586(0x1c8)](_0x52b303[_0x340586(0x20d)],{},_0x4ffc04[_0x340586(0x206)],_0x4ffc04[_0x340586(0x1ae)]);}catch(_0x5ada2a){logger[_0x340586(0x1e1)](_0x340586(0x16d)+_0x5ada2a[_0x340586(0x167)]);}try{helper[_0x340586(0x219)]();}catch(_0x4c5cb1){logger[_0x340586(0x1e1)](_0x340586(0x226)+_0x4c5cb1);}testOpsHelper[_0x340586(0x233)]();});}else{const _0x4b11ab=helper['useW3C'](_0x4ffc04[_0x2a8831(0x206)]);let _0x16ebd4=helper[_0x2a8831(0x16e)](_0x4ffc04[_0x2a8831(0x206)]);_0x2f749a=helper[_0x2a8831(0x1b6)](_0x4ffc04[_0x2a8831(0x206)],_0x4b11ab,constants[_0x2a8831(0x1dd)][_0x2a8831(0x189)]);helper['getCentralUser']()[_0x2a8831(0x227)]&&(_0x16ebd4=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0xd7334e;const _0x22eede=_0x4ffc04['config']['parallelsPerPlatform']||helper[_0x2a8831(0x1be)](_0x2aa100,_0x44b980,_0x4ffc04['config'],constants[_0x2a8831(0x1dd)]['MOCHA'])||0x1;helper['validPlatformsPresent'](_0x4ffc04[_0x2a8831(0x206)])?_0xd7334e=_0x52b303['QodhH'](_0x4ffc04[_0x2a8831(0x206)]['platforms']['length'],_0x22eede):_0xd7334e=_0x22eede;const _0xf485a1=_0x52b303[_0x2a8831(0x197)](getPercyOptions,_0x4ffc04[_0x2a8831(0x206)]);if(_0x52b303['BsMsg'](_0x4ffc04['config'][_0x2a8831(0x1ec)],0x1))_0x5725ae['forEach'](_0x2e28e1=>{const _0x4c1c30=_0x2a8831,_0x4cd630=[];_0x2f749a[_0x4c1c30(0x1a3)]((_0x1218b3,_0x4c831c)=>{const _0x5d1b32=_0x4c1c30,_0x401621={};_0x401621['spec']=[_0x2e28e1],_0x4cd630['push']({'mochaOpts':Object['assign']({},_0x27a4dc,_0x401621),'configuration':{'server':_0x16ebd4,'capability':_0x1218b3,'proxySettings':_0x4ffc04[_0x5d1b32(0x206)][_0x5d1b32(0x212)],'platform':helper[_0x5d1b32(0x19b)](_0x1218b3),'browserStackLogLevel':_0x4ffc04['config'][_0x5d1b32(0x146)],'platformIndex':_0x4c831c,'browserStackPercyOptions':_0xf485a1,'platformCaps':Object[_0x5d1b32(0x1f7)]({'index':_0x4c831c},_0x4ffc04[_0x5d1b32(0x206)][_0x5d1b32(0x141)][_0x4c831c])}});}),_0x3c508d['push'](..._0x4cd630);});else{const _0x26f6da=[];_0x2f749a[_0x2a8831(0x1a3)]((_0x5b1df7,_0x41d38d)=>{const _0x583a7a=_0x2a8831;let _0x346744=Object['assign']({},_0x27a4dc);testOpsHelper[_0x583a7a(0x20f)]()&&testOpsHelper[_0x583a7a(0x23a)]()&&(_0x346744={..._0x346744,'spec':[..._0x5725ae]}),_0x26f6da['push']({'mochaOpts':_0x346744,'configuration':{'server':_0x16ebd4,'capability':_0x5b1df7,'proxySettings':_0x4ffc04[_0x583a7a(0x206)]['proxySettings'],'platform':helper[_0x583a7a(0x19b)](_0x5b1df7),'browserStackLogLevel':_0x4ffc04[_0x583a7a(0x206)][_0x583a7a(0x146)],'platformIndex':_0x41d38d,'browserStackPercyOptions':_0xf485a1,'platformCaps':Object[_0x583a7a(0x1f7)]({'index':_0x41d38d},_0x4ffc04[_0x583a7a(0x206)]['platforms'][_0x41d38d])}});}),_0x3c508d['push'](..._0x26f6da);}logger[_0x2a8831(0x225)](_0x2a8831(0x183)+_0x4ffc04[_0x2a8831(0x206)][_0x2a8831(0x141)]['length']+_0x2a8831(0x181)),logger[_0x2a8831(0x225)](_0x52b303[_0x2a8831(0x15f)]);let _0x4d60ef;_0x52b303[_0x2a8831(0x221)](parallelTestRun,_0x3c508d,_0xd7334e,_0x4ffc04)[_0x2a8831(0x1cc)](_0x38aed2=>{const _0x3dde76=_0x2a8831;PerformanceTester[_0x3dde76(0x1b5)](PerformanceEvents[_0x3dde76(0x1f6)]),_0x4d60ef=_0x38aed2,_0x52b303[_0x3dde76(0x20e)](printStats,_0x38aed2,_0x2aa100[_0x3dde76(0x20c)],_0x2aa100[_0x3dde76(0x1b7)]||_0x2aa100[_0x52b303['zoJlq']]);})[_0x2a8831(0x17e)](async()=>{const _0x378ea4=_0x2a8831;PerformanceTester[_0x378ea4(0x1b5)](PerformanceEvents[_0x378ea4(0x1f6)]),_0x4ffc04[_0x378ea4(0x1a5)]=helper[_0x378ea4(0x230)](_0x4d60ef,_0x52b303[_0x378ea4(0x1d9)]),await utilities[_0x378ea4(0x220)](_0x4ffc04),testOpsHelper[_0x378ea4(0x233)]();});}}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a32_0x1894b8=a32_0x473c;(function(_0x34e3cc,_0x2d0c8b){const _0x164213=a32_0x473c,_0x3c7729=_0x34e3cc();while(!![]){try{const _0x16ff41=-parseInt(_0x164213(0x17d))/0x1*(-parseInt(_0x164213(0x12c))/0x2)+-parseInt(_0x164213(0x152))/0x3+-parseInt(_0x164213(0x179))/0x4+parseInt(_0x164213(0x13c))/0x5*(-parseInt(_0x164213(0x157))/0x6)+parseInt(_0x164213(0x198))/0x7+parseInt(_0x164213(0x16a))/0x8+parseInt(_0x164213(0x1a2))/0x9;if(_0x16ff41===_0x2d0c8b)break;else _0x3c7729['push'](_0x3c7729['shift']());}catch(_0x3a2397){_0x3c7729['push'](_0x3c7729['shift']());}}}(a32_0x1b6e,0x343e6));function a32_0x473c(_0x16a649,_0x159774){const _0x1b6e5c=a32_0x1b6e();return a32_0x473c=function(_0x473c6f,_0x5951c3){_0x473c6f=_0x473c6f-0x12c;let _0x103b75=_0x1b6e5c[_0x473c6f];return _0x103b75;},a32_0x473c(_0x16a649,_0x159774);}const logger=require(a32_0x1894b8(0x19f))[a32_0x1894b8(0x16f)],helper=require(a32_0x1894b8(0x1a1)),constants=require(a32_0x1894b8(0x156)),hubAllocator=require(a32_0x1894b8(0x181)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a32_0x1894b8(0x139)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a32_0x1894b8(0x17e)),globals=require(a32_0x1894b8(0x1a5)),{overrideExecute}=require(a32_0x1894b8(0x13b)),modify=(_0x526922,_0x1350e2=null,_0x193aae=![])=>{const _0x537f93=a32_0x1894b8,_0x4ba3d8={'pRVoV':function(_0x345e2d,_0xcda491){return _0x345e2d!==_0xcda491;},'QcyJd':_0x537f93(0x18f),'fktWo':function(_0x383072,_0x53b6fa){return _0x383072!==_0x53b6fa;},'dYxqG':function(_0x40eb12,_0x1bfd2d){return _0x40eb12+_0x1bfd2d;},'Hprce':function(_0x2b79d3,_0x45553d){return _0x2b79d3+_0x45553d;},'rvipW':_0x537f93(0x163),'phJbF':'/wd/hub','MnBfq':_0x537f93(0x174),'bzsRf':'chromeOptions','oiwgT':_0x537f93(0x143),'XGAKV':_0x537f93(0x184),'WvDIP':_0x537f93(0x172),'CvWqI':_0x537f93(0x130),'ihsbV':_0x537f93(0x166),'KrjGf':'se:ieOptions','xwnir':_0x537f93(0x13f),'aRKjc':function(_0x4215c5,_0x4d741c){return _0x4215c5===_0x4d741c;},'KBdjE':'object','SDOxM':_0x537f93(0x14a),'bKqOu':_0x537f93(0x19c),'rFWFq':_0x537f93(0x12e),'dCcfe':function(_0x3916f1,_0x55239e,_0x21f6b0){return _0x3916f1(_0x55239e,_0x21f6b0);},'HshaU':function(_0x67a67e,_0x151737){return _0x67a67e(_0x151737);},'jYmUO':function(_0x397209,_0x4ddee3,_0xd953c8){return _0x397209(_0x4ddee3,_0xd953c8);},'gBAhf':function(_0x1fa8cf,_0x494394,_0x3e0b2c){return _0x1fa8cf(_0x494394,_0x3e0b2c);},'SpwLl':_0x537f93(0x12d),'zOxRp':'isAccessibilityPlatform','htRJT':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','fCniW':function(_0x49d1a7){return _0x49d1a7();},'wZskE':function(_0x4f71dd,_0x5cb584){return _0x4f71dd(_0x5cb584);},'lYsHq':function(_0x11955a,_0x2785f9,_0x32365c){return _0x11955a(_0x2785f9,_0x32365c);},'sNABF':function(_0x42602c,_0x715853){return _0x42602c!==_0x715853;},'oTvYU':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','cjjIv':_0x537f93(0x149)},_0x195ba5=helper['requireHttpClient']();let _0x3bac06;try{_0x3bac06=helper[_0x537f93(0x18a)](),_0x3bac06[_0x537f93(0x176)]&&(_0x3bac06[_0x537f93(0x188)]=_0x3bac06[_0x537f93(0x176)]);}catch(_0x2c9c67){return;}if(helper[_0x537f93(0x177)]()){const _0x59ca94={};_0x59ca94['logLevel']=_0x526922[_0x537f93(0x18e)],helper[_0x537f93(0x15a)](_0x59ca94,new Map(),new Map()),logger[_0x537f93(0x16b)](_0x4ba3d8[_0x537f93(0x183)]),logger[_0x537f93(0x189)](_0x4ba3d8[_0x537f93(0x193)]);}class _0x21a042 extends _0x195ba5[_0x537f93(0x13e)]{[_0x537f93(0x12f)](_0x160c2e){const _0x6fa74b=_0x537f93;if(_0x4ba3d8[_0x6fa74b(0x16c)](_0x160c2e[_0x6fa74b(0x1a3)],_0x4ba3d8[_0x6fa74b(0x170)])&&_0x4ba3d8[_0x6fa74b(0x15e)](global['newHubUrl'],''))try{global['newHubUrl']=_0x4ba3d8['dYxqG'](_0x4ba3d8['Hprce'](_0x4ba3d8['rvipW'],global[_0x6fa74b(0x13d)]),_0x4ba3d8[_0x6fa74b(0x134)]),this[_0x6fa74b(0x18c)]=hubAllocator[_0x6fa74b(0x19a)](global['newHubUrl']),logger[_0x6fa74b(0x189)](_0x6fa74b(0x161)+global[_0x6fa74b(0x13d)]),global['newHubUrl']='';}catch(_0x22328c){logger[_0x6fa74b(0x165)](_0x22328c);}return super[_0x6fa74b(0x12f)](_0x160c2e);}}class _0x5d466a extends _0x3bac06[_0x537f93(0x188)]{[_0x537f93(0x148)](){const _0x40c874=_0x537f93;return this['url_']=helper[_0x40c874(0x150)](_0x526922),logger['debug'](_0x40c874(0x133)+this[_0x40c874(0x17f)]),this;}[_0x537f93(0x132)](_0x39cf00){const _0xf4fae1=_0x537f93;let _0x2c955d={};for(const _0x827e4 in _0x39cf00){switch(_0x827e4){case _0x4ba3d8[_0xf4fae1(0x154)]:case _0x4ba3d8['bzsRf']:this['chromeOptions_']&&(_0x2c955d=this[_0xf4fae1(0x167)][_0xf4fae1(0x195)](this[_0xf4fae1(0x167)][_0xf4fae1(0x192)])||{},this['chromeOptions_'][_0xf4fae1(0x19e)](this[_0xf4fae1(0x167)][_0xf4fae1(0x192)],helper[_0xf4fae1(0x17c)](_0x2c955d,_0x39cf00[_0x827e4])));break;case _0x4ba3d8[_0xf4fae1(0x14d)]:case _0x4ba3d8[_0xf4fae1(0x199)]:this[_0xf4fae1(0x14f)]&&(_0x2c955d=this[_0xf4fae1(0x14f)][_0xf4fae1(0x195)](this[_0xf4fae1(0x14f)][_0xf4fae1(0x192)])||{},this[_0xf4fae1(0x14f)][_0xf4fae1(0x19e)](this[_0xf4fae1(0x14f)]['CAPABILITY_KEY'],helper[_0xf4fae1(0x17c)](_0x2c955d,_0x39cf00[_0x827e4])));break;case _0x4ba3d8[_0xf4fae1(0x182)]:case _0x4ba3d8[_0xf4fae1(0x144)]:this[_0xf4fae1(0x191)]&&(_0x2c955d=this[_0xf4fae1(0x191)][_0xf4fae1(0x195)](this[_0xf4fae1(0x191)][_0xf4fae1(0x192)])||{},this[_0xf4fae1(0x191)][_0xf4fae1(0x19e)](this[_0xf4fae1(0x191)]['CAPABILITY_KEY'],helper[_0xf4fae1(0x17c)](_0x2c955d,_0x39cf00[_0x827e4])));break;case _0x4ba3d8[_0xf4fae1(0x19b)]:this[_0xf4fae1(0x1a4)]&&(_0x2c955d=this[_0xf4fae1(0x1a4)][_0xf4fae1(0x195)](this[_0xf4fae1(0x1a4)]['CAPABILITY_KEY'])||{},this[_0xf4fae1(0x1a4)][_0xf4fae1(0x19e)](this[_0xf4fae1(0x1a4)]['CAPABILITY_KEY'],helper[_0xf4fae1(0x17c)](_0x2c955d,_0x39cf00[_0x827e4])));break;case _0x4ba3d8[_0xf4fae1(0x153)]:case _0x4ba3d8[_0xf4fae1(0x18d)]:this[_0xf4fae1(0x194)]&&(_0x2c955d=this[_0xf4fae1(0x194)][_0xf4fae1(0x195)](this[_0xf4fae1(0x194)][_0xf4fae1(0x192)])||{},this['ieOptions_'][_0xf4fae1(0x19e)](this[_0xf4fae1(0x194)][_0xf4fae1(0x192)],helper['mergeDeep'](_0x2c955d,_0x39cf00[_0x827e4])));break;}}}['setCapabilities'](){const _0x26a417=_0x537f93,_0x569b95={'vVTkz':function(_0x532431,_0x140f89){const _0x4f1842=a32_0x473c;return _0x4ba3d8[_0x4f1842(0x14c)](_0x532431,_0x140f89);},'ISMAu':_0x4ba3d8[_0x26a417(0x15c)]};return logger[_0x26a417(0x189)](_0x4ba3d8[_0x26a417(0x146)]),this[_0x26a417(0x132)](_0x526922[_0x26a417(0x186)]),Object[_0x26a417(0x196)](_0x526922[_0x26a417(0x186)])[_0x26a417(0x15f)](_0xd959f3=>{const _0x12c1c1=_0x26a417,_0x5ac47c=this[_0x12c1c1(0x175)][_0x12c1c1(0x195)](_0xd959f3);_0x569b95['vVTkz'](typeof _0x5ac47c,_0x569b95[_0x12c1c1(0x147)])?this[_0x12c1c1(0x175)][_0x12c1c1(0x19e)](_0xd959f3,helper[_0x12c1c1(0x17c)](_0x5ac47c,_0x526922[_0x12c1c1(0x186)][_0xd959f3])):this[_0x12c1c1(0x175)][_0x12c1c1(0x19e)](_0xd959f3,_0x526922[_0x12c1c1(0x186)][_0xd959f3]);}),this;}['build'](){const _0x5640f5=_0x537f93,_0x1c54d2={'QJZON':function(_0x56f489,_0x1cae0d,_0x49ac3c){const _0x3d4a04=a32_0x473c;return _0x4ba3d8[_0x3d4a04(0x131)](_0x56f489,_0x1cae0d,_0x49ac3c);}};if(helper['isBrowserstackInfra']()){const _0x1d0578=_0x4ba3d8[_0x5640f5(0x135)][_0x5640f5(0x15d)]('|');let _0x350dab=0x0;while(!![]){switch(_0x1d0578[_0x350dab++]){case'0':if(helper[_0x5640f5(0x151)](_0x526922['proxySettings'][_0x5640f5(0x187)]))this['agent_']=helper[_0x5640f5(0x141)](_0x526922[_0x5640f5(0x168)][_0x5640f5(0x187)]);else _0x526922[_0x5640f5(0x168)][_0x5640f5(0x187)]&&(this[_0x5640f5(0x1a6)]=_0x526922['proxySettings']['proxyUrl'],logger[_0x5640f5(0x189)](_0x5640f5(0x17b)+this[_0x5640f5(0x1a6)]));continue;case'1':globals[_0x5640f5(0x171)](_0x4ba3d8['zOxRp'])&&(!_0x4ba3d8['dCcfe'](setExtension,this,_0x526922)&&globals[_0x5640f5(0x17a)](_0x4ba3d8[_0x5640f5(0x15b)],![]));continue;case'2':this[_0x5640f5(0x158)]();continue;case'3':this[_0x5640f5(0x148)]();continue;case'4':logger['debug'](_0x4ba3d8[_0x5640f5(0x169)]);continue;case'5':_0x4ba3d8['fCniW'](isAccessibilityAutomationSession)&&_0x4ba3d8[_0x5640f5(0x1a0)](setAccessibilityCapabilities,_0x526922);continue;}break;}}const _0x39261a=super[_0x5640f5(0x145)]();return _0x39261a['session_'][_0x5640f5(0x155)](_0x1c078f=>{const _0xb9b957=_0x5640f5;try{const _0x4f8a0e=_0x1c078f[_0xb9b957(0x164)][_0xb9b957(0x195)](_0x4ba3d8[_0xb9b957(0x185)]);_0x4f8a0e?(logger[_0xb9b957(0x189)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x4f8a0e),hubAllocator['updateHubUrl'](_0x4f8a0e),helper[_0xb9b957(0x197)](_0x4f8a0e)):logger[_0xb9b957(0x189)](_0x4ba3d8[_0xb9b957(0x19d)]);}catch(_0x449cf1){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x449cf1);}}),_0x39261a[_0x5640f5(0x140)]=0x0,_0x39261a['then']&&_0x39261a[_0x5640f5(0x155)](_0x3c781b=>{const _0x450561=_0x5640f5,_0x36326a={'IIRrz':function(_0x5b1680,_0x374a55,_0x1e10aa){const _0xb1066b=a32_0x473c;return _0x4ba3d8[_0xb1066b(0x173)](_0x5b1680,_0x374a55,_0x1e10aa);}};_0x4ba3d8[_0x450561(0x173)](overrideQuit,_0x3c781b,_0x39261a),_0x4ba3d8['HshaU'](overrideTakeScreenshot,_0x3c781b),helper[_0x450561(0x180)](_0x3c781b,_0x526922),_0x4ba3d8['dCcfe'](overrideExecute,_0x3c781b,_0x526922),_0x3c781b['getAccessibilityResultsSummary']=async()=>{const _0x4b2902=_0x450561;return await _0x1c54d2[_0x4b2902(0x14e)](getAccessibilityResultsSummary,_0x3c781b,global);},_0x3c781b[_0x450561(0x190)]=async()=>{const _0x29bf5b=_0x450561;return await _0x36326a[_0x29bf5b(0x142)](getAccessibilityResults,_0x3c781b,global);};}),_0x39261a[_0x5640f5(0x178)]=async()=>{return await _0x4ba3d8['dCcfe'](getAccessibilityResultsSummary,_0x39261a,global);},_0x39261a[_0x5640f5(0x190)]=async()=>{const _0x404ea9=_0x5640f5;return await _0x4ba3d8[_0x404ea9(0x16e)](getAccessibilityResults,_0x39261a,global);},_0x4ba3d8[_0x5640f5(0x16d)](overrideTakeScreenshot,_0x39261a),_0x4ba3d8[_0x5640f5(0x1a0)](overrideQuit,_0x39261a),helper['overrideGet'](_0x39261a,_0x526922),_0x4ba3d8[_0x5640f5(0x160)](overrideExecute,_0x39261a,_0x526922),helper[_0x5640f5(0x13a)](global[_0x5640f5(0x159)])&&(global[_0x5640f5(0x159)]=[]),helper['isUndefined'](global['__drivers'])&&(global[_0x5640f5(0x136)]=[]),global[_0x5640f5(0x159)][_0x5640f5(0x137)](_0x39261a),global[_0x5640f5(0x18b)]=_0x39261a,_0x4ba3d8['fktWo'](global['__drivers'],undefined)&&global[_0x5640f5(0x136)][_0x5640f5(0x137)](_0x39261a),_0x1350e2&&helper[_0x5640f5(0x13a)](_0x1350e2[_0x5640f5(0x138)][_0x5640f5(0x159)])&&(_0x1350e2[_0x5640f5(0x138)][_0x5640f5(0x159)]=[]),_0x1350e2&&_0x4ba3d8[_0x5640f5(0x162)](_0x1350e2[_0x5640f5(0x138)]['__drivers'],undefined)&&(_0x1350e2[_0x5640f5(0x138)]['__drivers']['push'](_0x39261a),_0x1350e2['global']['__driversArray'][_0x5640f5(0x137)](_0x39261a)),_0x39261a;}}return _0x3bac06['originalBuilder']=_0x3bac06[_0x537f93(0x188)],_0x3bac06[_0x537f93(0x188)]=_0x5d466a,_0x195ba5['HttpClient']=_0x21a042,_0x3bac06;};module['exports'][a32_0x1894b8(0x14b)]=modify;function a32_0x1b6e(){const _0x3c06e5=['jYmUO','winstonLogger','QcyJd','getGlobal','moz:firefoxOptions','dCcfe','goog:chromeOptions','capabilities_','originalBuilder','isBrowserstackInfra','getAccessibilityResultsSummary','1609352HswAVS','setGlobal','Proxy\x20set\x20to\x20','mergeDeep','9cNzEtY','../../../helpers/accessibility-automation/helper','url_','overrideGet','../../../hubAllocationMethods','WvDIP','oTvYU','edgeOptions','bKqOu','capability','proxyUrl','Builder','debug','requireSeleniumWebdriver','__driver','options_','xwnir','browserStackLogLevel','/session','getAccessibilityResults','firefoxOptions_','CAPABILITY_KEY','cjjIv','ieOptions_','get','keys','storeOptimalHubUrl','16884cbbIUt','XGAKV','getRequestOptions','ihsbV','optimalHubUrl','rFWFq','set','../../../helpers/logger','HshaU','../../../helpers/helper','9404523XQsEVa','path','safariOptions_','../../../helpers/globals','proxy_','32534ZibzDV','5|3|2|0|1|4','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','send','firefoxOptions','gBAhf','__setBrowserOptions','Hub\x20url\x20set\x20to\x20','phJbF','SpwLl','__drivers','push','global','../../../helpers/patchHelpers','isUndefined','./helpers/patchHelper','1805QCKSXx','newHubUrl','HttpClient','ieOptions','quitCount_','getHttpAgent','IIRrz','ms:edgeOptions','CvWqI','build','SDOxM','ISMAu','setServer','Modifying\x20webdriver\x20builder','Setting\x20Browserstack\x20capabilities','browserstackAgentObservability','aRKjc','oiwgT','QJZON','edgeOptions_','getHubUrl','isPacProxy','806133vZIFQG','KrjGf','MnBfq','then','../../../bin/utils/constants','5862siPZED','setCapabilities','__driversArray','setLogLevel','zOxRp','KBdjE','split','fktWo','forEach','lYsHq','New\x20hub\x20url\x20set\x20to\x20','sNABF','https://','caps_','error','safari.options','chromeOptions_','proxySettings','htRJT','351792MtzPtx','info','pRVoV','wZskE'];a32_0x1b6e=function(){return _0x3c06e5;};return a32_0x1b6e();}
|
|
1
|
+
const a32_0x3b4dcd=a32_0x1d77;(function(_0x242091,_0x5bd711){const _0x11955a=a32_0x1d77,_0x241575=_0x242091();while(!![]){try{const _0x300d3e=parseInt(_0x11955a(0x1d6))/0x1+parseInt(_0x11955a(0x197))/0x2+parseInt(_0x11955a(0x1bf))/0x3+-parseInt(_0x11955a(0x1a3))/0x4*(-parseInt(_0x11955a(0x198))/0x5)+parseInt(_0x11955a(0x191))/0x6+parseInt(_0x11955a(0x1e9))/0x7*(-parseInt(_0x11955a(0x1dd))/0x8)+-parseInt(_0x11955a(0x18d))/0x9;if(_0x300d3e===_0x5bd711)break;else _0x241575['push'](_0x241575['shift']());}catch(_0xbd3e16){_0x241575['push'](_0x241575['shift']());}}}(a32_0x4111,0x799aa));const logger=require(a32_0x3b4dcd(0x1fa))['winstonLogger'],helper=require(a32_0x3b4dcd(0x1aa)),constants=require(a32_0x3b4dcd(0x1d3)),hubAllocator=require(a32_0x3b4dcd(0x1cf)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a32_0x3b4dcd(0x190)),{setAccessibilityCapabilities,setExtension}=require(a32_0x3b4dcd(0x1e4)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x43e0d3,_0x10720b=null,_0x317297=![])=>{const _0x3aea55=a32_0x3b4dcd,_0x5676ec={'acqGA':function(_0x2c51f9,_0x17f98f){return _0x2c51f9!==_0x17f98f;},'LgqBy':_0x3aea55(0x1a9),'HSgTh':function(_0x231694,_0x52875d){return _0x231694+_0x52875d;},'qDbdR':_0x3aea55(0x205),'WGjlQ':_0x3aea55(0x1a6),'LuSHM':'goog:chromeOptions','NliNU':_0x3aea55(0x1d2),'iGFeB':_0x3aea55(0x1a5),'bTcWq':_0x3aea55(0x1dc),'ruUII':_0x3aea55(0x1fd),'qBMFd':_0x3aea55(0x1a7),'prtUv':_0x3aea55(0x1bc),'aouem':_0x3aea55(0x19d),'TIwaC':_0x3aea55(0x1d8),'IXNpn':function(_0x31f5b7,_0x52be2d){return _0x31f5b7===_0x52be2d;},'ufPyp':_0x3aea55(0x1c9),'cSqaB':_0x3aea55(0x1eb),'uYSTR':function(_0xe0e1a2,_0x4e8e2b,_0x18f640){return _0xe0e1a2(_0x4e8e2b,_0x18f640);},'YvaDW':_0x3aea55(0x1b8),'vzKeq':_0x3aea55(0x200),'vKgue':function(_0xef74ad,_0x4bd9e3,_0x3492da){return _0xef74ad(_0x4bd9e3,_0x3492da);},'iSycz':function(_0x4c0f16,_0x349a4f,_0x540146){return _0x4c0f16(_0x349a4f,_0x540146);},'Rtded':function(_0x31cf2b,_0x4a6db5){return _0x31cf2b(_0x4a6db5);},'pbbff':_0x3aea55(0x1d0),'EvfmD':_0x3aea55(0x1e0),'aTnPZ':_0x3aea55(0x18f),'Gvney':function(_0x5f2dd9){return _0x5f2dd9();},'Qhmyq':function(_0x54464c,_0x242c6a,_0x17f9ec){return _0x54464c(_0x242c6a,_0x17f9ec);},'xcejc':function(_0xfccf3a,_0x2d1866){return _0xfccf3a!==_0x2d1866;},'TsThY':function(_0x3e19c7,_0x559785){return _0x3e19c7!==_0x559785;},'NLRsJ':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','PLfZu':_0x3aea55(0x1b3)},_0x2f27e6=helper['requireHttpClient']();let _0x499466;try{_0x499466=helper[_0x3aea55(0x1a4)](),_0x499466[_0x3aea55(0x1ae)]&&(_0x499466[_0x3aea55(0x1c1)]=_0x499466['originalBuilder']);}catch(_0x2b1683){return;}if(helper[_0x3aea55(0x1ea)]()){const _0x343d8e={};_0x343d8e[_0x3aea55(0x1da)]=_0x43e0d3['browserStackLogLevel'],helper[_0x3aea55(0x1f0)](_0x343d8e,new Map(),new Map()),logger['info'](_0x5676ec[_0x3aea55(0x1e7)]),logger[_0x3aea55(0x1ef)](_0x5676ec[_0x3aea55(0x1f2)]);}class _0x2ea3b8 extends _0x2f27e6['HttpClient']{[_0x3aea55(0x1c6)](_0x361cc8){const _0x3277b0=_0x3aea55;if(_0x5676ec[_0x3277b0(0x1d1)](_0x361cc8['path'],_0x5676ec[_0x3277b0(0x1fb)])&&_0x5676ec[_0x3277b0(0x1d1)](global[_0x3277b0(0x1b4)],''))try{global[_0x3277b0(0x1b4)]=_0x5676ec[_0x3277b0(0x1f5)](_0x5676ec[_0x3277b0(0x1f5)](_0x5676ec[_0x3277b0(0x1cd)],global[_0x3277b0(0x1b4)]),_0x5676ec[_0x3277b0(0x1ac)]),this['options_']=hubAllocator[_0x3277b0(0x18e)](global['newHubUrl']),logger[_0x3277b0(0x1ef)](_0x3277b0(0x1b0)+global[_0x3277b0(0x1b4)]),global[_0x3277b0(0x1b4)]='';}catch(_0x4c2756){logger['error'](_0x4c2756);}return super['send'](_0x361cc8);}}class _0x41c74f extends _0x499466[_0x3aea55(0x1c1)]{[_0x3aea55(0x1a0)](){const _0x3a16d2=_0x3aea55;return this[_0x3a16d2(0x1d7)]=helper[_0x3a16d2(0x1f1)](_0x43e0d3),logger[_0x3a16d2(0x1ef)](_0x3a16d2(0x1e6)+this['url_']),this;}['__setBrowserOptions'](_0x28080a){const _0xd6eb7c=_0x3aea55;let _0x529038={};for(const _0x53bce7 in _0x28080a){switch(_0x53bce7){case _0x5676ec[_0xd6eb7c(0x1b5)]:case _0x5676ec[_0xd6eb7c(0x1be)]:this['chromeOptions_']&&(_0x529038=this[_0xd6eb7c(0x19c)][_0xd6eb7c(0x1f4)](this[_0xd6eb7c(0x19c)][_0xd6eb7c(0x1ec)])||{},this[_0xd6eb7c(0x19c)][_0xd6eb7c(0x19f)](this['chromeOptions_'][_0xd6eb7c(0x1ec)],helper[_0xd6eb7c(0x1f3)](_0x529038,_0x28080a[_0x53bce7])));break;case _0x5676ec[_0xd6eb7c(0x1a8)]:case _0x5676ec[_0xd6eb7c(0x206)]:this[_0xd6eb7c(0x1b6)]&&(_0x529038=this['edgeOptions_'][_0xd6eb7c(0x1f4)](this['edgeOptions_'][_0xd6eb7c(0x1ec)])||{},this[_0xd6eb7c(0x1b6)][_0xd6eb7c(0x19f)](this[_0xd6eb7c(0x1b6)]['CAPABILITY_KEY'],helper[_0xd6eb7c(0x1f3)](_0x529038,_0x28080a[_0x53bce7])));break;case _0x5676ec['ruUII']:case _0x5676ec['qBMFd']:this[_0xd6eb7c(0x196)]&&(_0x529038=this[_0xd6eb7c(0x196)][_0xd6eb7c(0x1f4)](this[_0xd6eb7c(0x196)][_0xd6eb7c(0x1ec)])||{},this[_0xd6eb7c(0x196)][_0xd6eb7c(0x19f)](this[_0xd6eb7c(0x196)][_0xd6eb7c(0x1ec)],helper[_0xd6eb7c(0x1f3)](_0x529038,_0x28080a[_0x53bce7])));break;case _0x5676ec['prtUv']:this[_0xd6eb7c(0x204)]&&(_0x529038=this[_0xd6eb7c(0x204)][_0xd6eb7c(0x1f4)](this[_0xd6eb7c(0x204)][_0xd6eb7c(0x1ec)])||{},this[_0xd6eb7c(0x204)][_0xd6eb7c(0x19f)](this['safariOptions_']['CAPABILITY_KEY'],helper[_0xd6eb7c(0x1f3)](_0x529038,_0x28080a[_0x53bce7])));break;case _0x5676ec[_0xd6eb7c(0x1f7)]:case _0x5676ec[_0xd6eb7c(0x1b2)]:this[_0xd6eb7c(0x1bd)]&&(_0x529038=this[_0xd6eb7c(0x1bd)][_0xd6eb7c(0x1f4)](this[_0xd6eb7c(0x1bd)][_0xd6eb7c(0x1ec)])||{},this[_0xd6eb7c(0x1bd)][_0xd6eb7c(0x19f)](this[_0xd6eb7c(0x1bd)][_0xd6eb7c(0x1ec)],helper['mergeDeep'](_0x529038,_0x28080a[_0x53bce7])));break;}}}[_0x3aea55(0x19b)](){const _0x4f4f24=_0x3aea55,_0x4c4777={'qNjSc':function(_0x2e799f,_0x922443){return _0x5676ec['IXNpn'](_0x2e799f,_0x922443);},'KVGzI':_0x5676ec['ufPyp']};return logger[_0x4f4f24(0x1ef)](_0x5676ec[_0x4f4f24(0x1c2)]),this[_0x4f4f24(0x1f9)](_0x43e0d3['capability']),Object['keys'](_0x43e0d3[_0x4f4f24(0x1db)])[_0x4f4f24(0x202)](_0x41d7bd=>{const _0x26fac9=_0x4f4f24,_0x44c2f1=this['capabilities_'][_0x26fac9(0x1f4)](_0x41d7bd);_0x4c4777['qNjSc'](typeof _0x44c2f1,_0x4c4777[_0x26fac9(0x1ad)])?this[_0x26fac9(0x203)][_0x26fac9(0x19f)](_0x41d7bd,helper[_0x26fac9(0x1f3)](_0x44c2f1,_0x43e0d3[_0x26fac9(0x1db)][_0x41d7bd])):this[_0x26fac9(0x203)][_0x26fac9(0x19f)](_0x41d7bd,_0x43e0d3[_0x26fac9(0x1db)][_0x41d7bd]);}),this;}[_0x3aea55(0x1f8)](){const _0x48ed4c=_0x3aea55,_0x2c5c6f={'vJHmt':_0x5676ec['YvaDW'],'FoOtU':_0x5676ec[_0x48ed4c(0x1c8)],'RftxL':function(_0x42b010,_0x1ed2db,_0x5ce05a){const _0x201266=_0x48ed4c;return _0x5676ec[_0x201266(0x207)](_0x42b010,_0x1ed2db,_0x5ce05a);},'VLRgV':function(_0x36fce5,_0x518b70,_0x572eab){const _0x1f977e=_0x48ed4c;return _0x5676ec[_0x1f977e(0x1ee)](_0x36fce5,_0x518b70,_0x572eab);},'bdFRS':function(_0xe0d9bb,_0x212aee){const _0x39ade2=_0x48ed4c;return _0x5676ec[_0x39ade2(0x201)](_0xe0d9bb,_0x212aee);},'zVxWF':function(_0x356e48,_0x10b723,_0x4c38cd){const _0x21a271=_0x48ed4c;return _0x5676ec[_0x21a271(0x1e2)](_0x356e48,_0x10b723,_0x4c38cd);}};if(helper['isBrowserstackInfra']()){const _0x558f52=_0x5676ec[_0x48ed4c(0x1cb)][_0x48ed4c(0x19a)]('|');let _0x13f3c8=0x0;while(!![]){switch(_0x558f52[_0x13f3c8++]){case'0':if(helper[_0x48ed4c(0x199)](_0x43e0d3[_0x48ed4c(0x194)][_0x48ed4c(0x1b1)]))this[_0x48ed4c(0x1bb)]=helper[_0x48ed4c(0x1d4)](_0x43e0d3['proxySettings'][_0x48ed4c(0x1b1)]);else _0x43e0d3[_0x48ed4c(0x194)][_0x48ed4c(0x1b1)]&&(this[_0x48ed4c(0x1df)]=_0x43e0d3[_0x48ed4c(0x194)][_0x48ed4c(0x1b1)],logger['debug'](_0x48ed4c(0x1ca)+this[_0x48ed4c(0x1df)]));continue;case'1':this[_0x48ed4c(0x1a0)]();continue;case'2':this[_0x48ed4c(0x19b)]();continue;case'3':globals['getGlobal'](_0x5676ec['EvfmD'])&&(!_0x5676ec['vKgue'](setExtension,this,_0x43e0d3)&&globals[_0x48ed4c(0x1de)](_0x5676ec['EvfmD'],![]));continue;case'4':logger[_0x48ed4c(0x1ef)](_0x5676ec['aTnPZ']);continue;case'5':_0x5676ec[_0x48ed4c(0x1b7)](isAccessibilityAutomationSession)&&_0x5676ec[_0x48ed4c(0x201)](setAccessibilityCapabilities,_0x43e0d3);continue;}break;}}const _0x4b6f12=super[_0x48ed4c(0x1f8)]();return _0x4b6f12[_0x48ed4c(0x1f6)][_0x48ed4c(0x1fc)](_0x493b49=>{const _0x3eb5cf=_0x48ed4c;try{const _0x4b892d=_0x493b49[_0x3eb5cf(0x19e)][_0x3eb5cf(0x1f4)](_0x2c5c6f[_0x3eb5cf(0x1d9)]);_0x4b892d?(logger[_0x3eb5cf(0x1ef)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x4b892d),hubAllocator[_0x3eb5cf(0x1e5)](_0x4b892d),helper[_0x3eb5cf(0x1e3)](_0x4b892d)):logger[_0x3eb5cf(0x1ef)](_0x2c5c6f[_0x3eb5cf(0x1c3)]);}catch(_0x49b2a2){logger[_0x3eb5cf(0x1ef)](_0x3eb5cf(0x193)+_0x49b2a2);}}),_0x4b6f12[_0x48ed4c(0x1b9)]=0x0,_0x4b6f12[_0x48ed4c(0x1fc)]&&_0x4b6f12[_0x48ed4c(0x1fc)](_0x1fa65b=>{const _0x1f94a6=_0x48ed4c,_0x263590={'lFpgI':function(_0x46d3a1,_0x1a26da,_0x35239b){const _0x3c7b15=a32_0x1d77;return _0x2c5c6f[_0x3c7b15(0x192)](_0x46d3a1,_0x1a26da,_0x35239b);}};_0x2c5c6f[_0x1f94a6(0x1ff)](overrideQuit,_0x1fa65b,_0x4b6f12),_0x2c5c6f[_0x1f94a6(0x1ab)](overrideTakeScreenshot,_0x1fa65b),helper[_0x1f94a6(0x1c5)](_0x1fa65b,_0x43e0d3),_0x2c5c6f[_0x1f94a6(0x1af)](overrideExecute,_0x1fa65b,_0x43e0d3),_0x1fa65b['getAccessibilityResultsSummary']=async()=>{const _0x56c0c5=_0x1f94a6;return await _0x263590[_0x56c0c5(0x1fe)](getAccessibilityResultsSummary,_0x1fa65b,global);},_0x1fa65b[_0x1f94a6(0x1a2)]=async()=>{const _0xd96d34=_0x1f94a6;return await _0x2c5c6f[_0xd96d34(0x1ff)](getAccessibilityResults,_0x1fa65b,global);};}),_0x4b6f12[_0x48ed4c(0x1a1)]=async()=>{const _0x5e9926=_0x48ed4c;return await _0x5676ec[_0x5e9926(0x1e2)](getAccessibilityResultsSummary,_0x4b6f12,global);},_0x4b6f12[_0x48ed4c(0x1a2)]=async()=>{const _0x3299de=_0x48ed4c;return await _0x5676ec[_0x3299de(0x1e2)](getAccessibilityResults,_0x4b6f12,global);},_0x5676ec['Rtded'](overrideTakeScreenshot,_0x4b6f12),_0x5676ec[_0x48ed4c(0x201)](overrideQuit,_0x4b6f12),helper[_0x48ed4c(0x1c5)](_0x4b6f12,_0x43e0d3),_0x5676ec[_0x48ed4c(0x1d5)](overrideExecute,_0x4b6f12,_0x43e0d3),helper['isUndefined'](global[_0x48ed4c(0x195)])&&(global[_0x48ed4c(0x195)]=[]),helper['isUndefined'](global[_0x48ed4c(0x1c7)])&&(global[_0x48ed4c(0x1c7)]=[]),global[_0x48ed4c(0x195)][_0x48ed4c(0x1c4)](_0x4b6f12),global['__driver']=_0x4b6f12,_0x5676ec[_0x48ed4c(0x1ed)](global[_0x48ed4c(0x1c7)],undefined)&&global[_0x48ed4c(0x1c7)]['push'](_0x4b6f12),_0x10720b&&helper[_0x48ed4c(0x1ba)](_0x10720b[_0x48ed4c(0x1e1)][_0x48ed4c(0x195)])&&(_0x10720b[_0x48ed4c(0x1e1)][_0x48ed4c(0x195)]=[]),_0x10720b&&_0x5676ec[_0x48ed4c(0x1cc)](_0x10720b['global'][_0x48ed4c(0x1c7)],undefined)&&(_0x10720b['global']['__drivers']['push'](_0x4b6f12),_0x10720b[_0x48ed4c(0x1e1)][_0x48ed4c(0x195)][_0x48ed4c(0x1c4)](_0x4b6f12)),_0x4b6f12;}}return _0x499466[_0x3aea55(0x1ae)]=_0x499466[_0x3aea55(0x1c1)],_0x499466[_0x3aea55(0x1c1)]=_0x41c74f,_0x2f27e6[_0x3aea55(0x1ce)]=_0x2ea3b8,_0x499466;};function a32_0x1d77(_0x97f80,_0xfe3abc){const _0x4111b8=a32_0x4111();return a32_0x1d77=function(_0x1d77fd,_0xbf381){_0x1d77fd=_0x1d77fd-0x18d;let _0x58ea70=_0x4111b8[_0x1d77fd];return _0x58ea70;},a32_0x1d77(_0x97f80,_0xfe3abc);}module[a32_0x3b4dcd(0x1c0)][a32_0x3b4dcd(0x1e8)]=modify;function a32_0x4111(){const _0x4e3a2f=['ieOptions_','NliNU','1197201eNSAot','exports','Builder','cSqaB','FoOtU','push','overrideGet','send','__drivers','vzKeq','object','Proxy\x20set\x20to\x20','pbbff','TsThY','qDbdR','HttpClient','../../../hubAllocationMethods','5|1|2|0|3|4','acqGA','chromeOptions','../../../bin/utils/constants','getHttpAgent','Qhmyq','629524aSBsNl','url_','ieOptions','vJHmt','logLevel','capability','edgeOptions','128iSinEM','setGlobal','proxy_','isAccessibilityPlatform','global','uYSTR','storeOptimalHubUrl','../accessibility-automation/helper','updateHubUrl','Hub\x20url\x20set\x20to\x20','NLRsJ','browserstackAgentObservability','34433UzYerg','isBrowserstackInfra','Setting\x20Browserstack\x20capabilities','CAPABILITY_KEY','xcejc','iSycz','debug','setLogLevel','getHubUrl','PLfZu','mergeDeep','get','HSgTh','session_','aouem','build','__setBrowserOptions','../../../helpers/logger','LgqBy','then','moz:firefoxOptions','lFpgI','RftxL','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','Rtded','forEach','capabilities_','safariOptions_','https://','bTcWq','vKgue','14267286sucPlf','getRequestOptions','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','../../../helpers/patchHelpers','446112fcZBEl','VLRgV','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','proxySettings','__driversArray','firefoxOptions_','1754572UdVuAd','55hixSUS','isPacProxy','split','setCapabilities','chromeOptions_','se:ieOptions','caps_','set','setServer','getAccessibilityResultsSummary','getAccessibilityResults','66116UDDBjq','requireSeleniumWebdriver','ms:edgeOptions','/wd/hub','firefoxOptions','iGFeB','/session','../../../helpers/helper','bdFRS','WGjlQ','KVGzI','originalBuilder','zVxWF','New\x20hub\x20url\x20set\x20to\x20','proxyUrl','TIwaC','Modifying\x20webdriver\x20builder','newHubUrl','LuSHM','edgeOptions_','Gvney','optimalHubUrl','quitCount_','isUndefined','agent_','safari.options'];a32_0x4111=function(){return _0x4e3a2f;};return a32_0x4111();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a33_0x330f20=a33_0x1f58;(function(_0x1e3c1,_0x29f401){const _0x119914=a33_0x1f58,_0x2d3e93=_0x1e3c1();while(!![]){try{const _0x29784a=-parseInt(_0x119914(0xcb))/0x1+-parseInt(_0x119914(0xc2))/0x2*(parseInt(_0x119914(0xcf))/0x3)+-parseInt(_0x119914(0xc8))/0x4+-parseInt(_0x119914(0xc3))/0x5+-parseInt(_0x119914(0xcc))/0x6*(-parseInt(_0x119914(0xcd))/0x7)+-parseInt(_0x119914(0xc7))/0x8*(parseInt(_0x119914(0xc0))/0x9)+-parseInt(_0x119914(0xc4))/0xa*(-parseInt(_0x119914(0xc6))/0xb);if(_0x29784a===_0x29f401)break;else _0x2d3e93['push'](_0x2d3e93['shift']());}catch(_0x4f51ee){_0x2d3e93['push'](_0x2d3e93['shift']());}}}(a33_0x1b95,0xbd580));function a33_0x1f58(_0x17d0fa,_0x379d3d){const _0x1b95e3=a33_0x1b95();return a33_0x1f58=function(_0x1f589a,_0x4db654){_0x1f589a=_0x1f589a-0xc0;let _0x9a4715=_0x1b95e3[_0x1f589a];return _0x9a4715;},a33_0x1f58(_0x17d0fa,_0x379d3d);}const requestSpy=require(a33_0x330f20(0xca)),constants=require(a33_0x330f20(0xc9)),{addRequestSpy}=require(a33_0x330f20(0xc5));function a33_0x1b95(){const _0x406fc2=['7744900CkIEXg','93250MuNpbX','../../../helpers/test-observability/utils','6358lBQgRH','64ZjuPVC','5723872WlRdOk','../../../bin/utils/constants','../../../helpers/request-spy','1283714laCPCr','876vNuTyQ','55258vtLeBT','mochaHooks','1253712wiVglI','DxBUw','timeout','280629oqBdGz','restore','6aZKPrO'];a33_0x1b95=function(){return _0x406fc2;};return a33_0x1b95();}exports[a33_0x330f20(0xce)]={'beforeAll'(){const _0xe69032=a33_0x330f20,_0xb29f7a={'DxBUw':function(_0x581305){return _0x581305();}},_0x1001c7='browserstack internal helper hook';_0xb29f7a[_0xe69032(0xd0)](addRequestSpy);},'afterAll'(){const _0x4a84ed=a33_0x330f20,_0x93c305='browserstack internal helper hook';this[_0x4a84ed(0xd1)](0xea60),requestSpy[_0x4a84ed(0xc1)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a34_0x2382d0=a34_0x523d;(function(_0x1123bd,_0x18dc85){const _0x6d2689=a34_0x523d,_0x50c204=_0x1123bd();while(!![]){try{const _0x3662d3=parseInt(_0x6d2689(0x10e))/0x1*(-parseInt(_0x6d2689(0x11c))/0x2)+-parseInt(_0x6d2689(0xee))/0x3*(-parseInt(_0x6d2689(0x117))/0x4)+-parseInt(_0x6d2689(0xdb))/0x5+parseInt(_0x6d2689(0x120))/0x6*(parseInt(_0x6d2689(0x105))/0x7)+parseInt(_0x6d2689(0xd8))/0x8*(-parseInt(_0x6d2689(0xea))/0x9)+-parseInt(_0x6d2689(0xf8))/0xa*(parseInt(_0x6d2689(0x10c))/0xb)+-parseInt(_0x6d2689(0xd3))/0xc*(-parseInt(_0x6d2689(0x113))/0xd);if(_0x3662d3===_0x18dc85)break;else _0x50c204['push'](_0x50c204['shift']());}catch(_0x39adeb){_0x50c204['push'](_0x50c204['shift']());}}}(a34_0x6f2f,0xe7dc1));function a34_0x6f2f(){const _0x2851f2=['toJSON','getTestEnv','faRcL','TAnYp','getHookSkippedTests','forEach','slice','7NCTRvI','get','_beforeEach','XzxPg','getSession','HWzqB','vhUNL','242wSLnBh','_afterEach','1656260aSYHzW','type','rULul','__cloud_provider___','vDmqw','13Cmctjw','platformVersion','fuyNQ','substring','1839028OaLfIb','../../../helpers/test-observability/constants','nWasU','HwlWQ','../../../helpers/testhub/utils','2MRBSzE','tscJj','Gqoum','TEST_PLATFORM','3544998pCADkH','fromEntries','uuid','_beforeAll','mapTestHooks','reduce','getBrowserName','getHooksForTest','string','GVXYo','_afterAll','suites','markedStatus','hookAnalyticsId','split','bs:addPlatformDetails:','jkJGV','getPlatform','VJUfV','42425976bcHctu','pid','qEZqD','browserstack','UWkrt','8yuJpic','REndo','BETFo','700115TevltC','passed','bkxYj','wICfL','emit','getHookDetails','getCapabilities','aBmEy','../../utils/logPatcher','js-','LjpMq','lodash','../../../../package.json','concat','IRDns','10851246phsxRX','mYOSu','map_','state','3XDaQPU','NYAfR','pending','TnLWI','tests','sendPlatformDetails','indexOf','PVudZ','hook','EDvXW','288370pKMNxd','failed','parent','../../../helpers/test-observability/utils','filter','RtlMb'];a34_0x6f2f=function(){return _0x2851f2;};return a34_0x6f2f();}function a34_0x523d(_0x19f7f0,_0x3e8f2b){const _0x6f2fe7=a34_0x6f2f();return a34_0x523d=function(_0x523d1e,_0x3a918b){_0x523d1e=_0x523d1e-0xd2;let _0x3c4c2c=_0x6f2fe7[_0x523d1e];return _0x3c4c2c;},a34_0x523d(_0x19f7f0,_0x3e8f2b);}const {v4:uuidv4}=require(a34_0x2382d0(0x122)),{name,version}=require(a34_0x2382d0(0xe7)),logPatcher=require(a34_0x2382d0(0xe3)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a34_0x2382d0(0xfb)),{consoleHolder}=require(a34_0x2382d0(0x118)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a34_0x2382d0(0x11b)),{isFunction}=require(a34_0x2382d0(0xe6)),{patchConsoleLogger}=require(a34_0x2382d0(0xfb));patchConsoleLogger(),exports[a34_0x2382d0(0xff)]=()=>{const _0x3b4b49=a34_0x2382d0,_0x31fab7={'HWzqB':'generic','mYOSu':function(_0x34d61c){return _0x34d61c();}};return{'ci':_0x31fab7[_0x3b4b49(0x10a)],'key':_0x31fab7[_0x3b4b49(0xeb)](uuidv4),'version':version,'collector':_0x3b4b49(0xe4)+name};},exports[a34_0x2382d0(0xe0)]=_0x2ae0b4=>{const _0x11943f=a34_0x2382d0,_0xe8086a={};_0xe8086a[_0x11943f(0xe2)]=function(_0x43af51,_0x46080b){return _0x43af51!==_0x46080b;},_0xe8086a[_0x11943f(0x108)]=_0x11943f(0x128),_0xe8086a[_0x11943f(0xd5)]='hook:',_0xe8086a[_0x11943f(0xd2)]=function(_0x13e6fd,_0x14001e){return _0x13e6fd!==_0x14001e;},_0xe8086a[_0x11943f(0xf1)]=_0x11943f(0xf6);const _0x63fe99=_0xe8086a;if(!_0x2ae0b4||_0x63fe99['aBmEy'](typeof _0x2ae0b4,_0x63fe99['XzxPg']))return[null,null];if(_0x63fe99['aBmEy'](_0x2ae0b4[_0x11943f(0xf4)](_0x63fe99[_0x11943f(0xd5)]),-0x1)){const _0x3bc3ee=_0x2ae0b4[_0x11943f(0x12e)](_0x63fe99[_0x11943f(0xd5)]);return[_0x3bc3ee[0x0][_0x11943f(0x104)](0x0,-0x1)[_0x11943f(0x12e)]('\x22')[0x1],_0x3bc3ee[0x1][_0x11943f(0x116)](0x1)];}else{if(_0x63fe99[_0x11943f(0xd2)](_0x2ae0b4[_0x11943f(0xf4)](_0x63fe99[_0x11943f(0xf1)]),-0x1)){const _0x5356f9=_0x2ae0b4[_0x11943f(0x12e)](_0x63fe99[_0x11943f(0xf1)]);return[_0x5356f9[0x0][_0x11943f(0x104)](0x0,-0x1)[_0x11943f(0x12e)]('\x22')[0x1],_0x2ae0b4];}}return[null,null];},exports['getHooksForTest']=_0x5bd29e=>{const _0x244b7a=a34_0x2382d0,_0x3e9a66={'rULul':function(_0x484848,_0x59f4e8){return _0x484848(_0x59f4e8);},'SQfVA':_0x244b7a(0x123),'wICfL':_0x244b7a(0x12a),'tNebF':_0x244b7a(0x107),'udtVx':_0x244b7a(0x10d)};if(!_0x5bd29e||!_0x5bd29e['parent'])return[];const _0x10339e=[];return[_0x3e9a66['SQfVA'],_0x3e9a66[_0x244b7a(0xde)],_0x3e9a66['tNebF'],_0x3e9a66['udtVx']][_0x244b7a(0x103)](_0x2b263f=>{const _0x584941=_0x244b7a,_0x147515={'REndo':function(_0x57dba6,_0x2237d2){const _0x33cedb=a34_0x523d;return _0x3e9a66[_0x33cedb(0x110)](_0x57dba6,_0x2237d2);}},_0x2921fa=_0x5bd29e[_0x584941(0xfa)][_0x2b263f]||[];_0x2921fa['forEach'](_0x5d53b1=>{const _0x3dab34=_0x584941;_0x5d53b1[_0x3dab34(0x12d)]&&!_0x147515[_0x3dab34(0xd9)](isInternalHook,_0x5d53b1['fn'])&&_0x10339e['push'](_0x5d53b1['hookAnalyticsId']);});}),[..._0x10339e,...exports[_0x244b7a(0x127)](_0x5bd29e[_0x244b7a(0xfa)])];},exports[a34_0x2382d0(0x124)]=_0x2f35ed=>{const _0x36a7c2=a34_0x2382d0,_0x9d9dc5={'fuyNQ':function(_0xb7b373){return _0xb7b373();},'faRcL':function(_0x211700,_0x16e99e){return _0x211700===_0x16e99e;},'LjpMq':_0x36a7c2(0x10d),'GVXYo':'_beforeAll','NYAfR':_0x36a7c2(0x12a),'tscJj':_0x36a7c2(0x107)};if(!_0x2f35ed||!_0x2f35ed[_0x36a7c2(0xfa)])return;[_0x9d9dc5[_0x36a7c2(0x129)],_0x9d9dc5[_0x36a7c2(0xef)],_0x9d9dc5[_0x36a7c2(0x11d)],_0x9d9dc5[_0x36a7c2(0xe5)]][_0x36a7c2(0x103)](_0x4a54b8=>{const _0x463c6f=_0x36a7c2,_0x36442c={'EDvXW':function(_0x565235){const _0x5f319c=a34_0x523d;return _0x9d9dc5[_0x5f319c(0x115)](_0x565235);},'BETFo':function(_0x86d6fa,_0x10de05){const _0x31ffb5=a34_0x523d;return _0x9d9dc5[_0x31ffb5(0x100)](_0x86d6fa,_0x10de05);},'ywYqQ':_0x9d9dc5[_0x463c6f(0xe5)]},_0x1f8139=_0x2f35ed[_0x463c6f(0xfa)][_0x4a54b8]||[];_0x1f8139[_0x463c6f(0x103)](_0x477414=>{const _0x47150a=_0x463c6f;if(!_0x477414[_0x47150a(0x12d)])_0x477414[_0x47150a(0x12d)]=_0x36442c[_0x47150a(0xf7)](uuidv4);else _0x477414[_0x47150a(0x12c)]&&_0x36442c[_0x47150a(0xda)](_0x4a54b8,_0x36442c['ywYqQ'])&&(_0x477414[_0x47150a(0x12d)]=_0x36442c['EDvXW'](uuidv4),delete _0x477414[_0x47150a(0x12c)]);});}),exports[_0x36a7c2(0x124)](_0x2f35ed['parent']);},exports[a34_0x2382d0(0xf3)]=async(_0x24910b,_0x2d6b3d)=>{const _0x4d2ca3=a34_0x2382d0,_0x1b8fa3={'rxieZ':function(_0x260573){return _0x260573();},'Gqoum':function(_0x137f8c,_0x185b52){return _0x137f8c(_0x185b52);},'bkxYj':_0x4d2ca3(0x114),'UWkrt':function(_0x12a87a,_0x3d08ff){return _0x12a87a===_0x3d08ff;},'IRDns':_0x4d2ca3(0xd6),'PVudZ':'unknown_grid','RtlMb':_0x4d2ca3(0x11f),'vDmqw':function(_0x1f94a2,_0x4a314a){return _0x1f94a2(_0x4a314a);}};try{if(!_0x1b8fa3['rxieZ'](shouldProcessEventForTesthub))return;const _0x2df81b=await _0x24910b[_0x4d2ca3(0xe1)](),_0x53b950=await _0x24910b[_0x4d2ca3(0x109)](),_0x28220e={},_0x5332c=Object[_0x4d2ca3(0x121)](_0x53b950['getCapabilities']()[_0x4d2ca3(0xec)]),_0x4899f5={'product':_0x1b8fa3[_0x4d2ca3(0x11e)](getObservabilityLinkedProductName,_0x5332c),'capabilities':_0x5332c,'platform':_0x2df81b[_0x4d2ca3(0x131)](),'platform_version':_0x2df81b[_0x4d2ca3(0x106)](_0x1b8fa3['bkxYj'])?_0x2df81b['get'](_0x1b8fa3[_0x4d2ca3(0xdd)]):_0x1b8fa3[_0x4d2ca3(0x11e)](getPlatformVersion,_0x1b8fa3[_0x4d2ca3(0xd7)](global[_0x4d2ca3(0x111)],_0x1b8fa3[_0x4d2ca3(0xe9)])),'browser':_0x2df81b[_0x4d2ca3(0x126)](),'browser_version':_0x2df81b['getBrowserVersion'](),'session_id':_0x53b950[_0x4d2ca3(0xfe)]()};global[_0x4d2ca3(0x111)]?_0x28220e[global[_0x4d2ca3(0x111)]]=_0x4899f5:_0x28220e[_0x1b8fa3[_0x4d2ca3(0xf5)]]=_0x4899f5,process[_0x4d2ca3(0xdf)](_0x4d2ca3(0x12f)+process[_0x4d2ca3(0xd4)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x1b8fa3[_0x4d2ca3(0xfd)],'http_response':_0x28220e,'uuid':_0x2d6b3d});}catch(_0x219e7f){_0x1b8fa3[_0x4d2ca3(0x112)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x219e7f);}},exports['getHookSkippedTests']=_0x5eff56=>{const _0x247bb8=a34_0x2382d0,_0xa8d24c={};_0xa8d24c[_0x247bb8(0x10b)]=function(_0xde8f14,_0x3525c4){return _0xde8f14!==_0x3525c4;},_0xa8d24c[_0x247bb8(0x11a)]='hook',_0xa8d24c['jkJGV']=_0x247bb8(0xdc),_0xa8d24c[_0x247bb8(0x101)]=function(_0x206cc8,_0x49f89b){return _0x206cc8!==_0x49f89b;},_0xa8d24c[_0x247bb8(0x119)]=_0x247bb8(0xf9);const _0x1719ab=_0xa8d24c,_0x19dab5=_0x5eff56[_0x247bb8(0x12b)][_0x247bb8(0x125)]((_0x24a723,_0xc052df)=>{const _0x1d646c=_0x247bb8,_0x4061ad=exports[_0x1d646c(0x102)](_0xc052df);return _0x4061ad&&(_0x24a723=_0x24a723[_0x1d646c(0xe8)](_0x4061ad)),_0x24a723;},[]),_0x2f6006=_0x5eff56[_0x247bb8(0xf2)][_0x247bb8(0xfc)](_0x3ffcd3=>{const _0x2c1560=_0x247bb8,_0x5d17c9=_0x1719ab[_0x2c1560(0x10b)](_0x3ffcd3[_0x2c1560(0x10f)],_0x1719ab[_0x2c1560(0x11a)])&&!_0x3ffcd3[_0x2c1560(0x12c)]&&_0x1719ab[_0x2c1560(0x10b)](_0x3ffcd3[_0x2c1560(0xed)],_0x1719ab[_0x2c1560(0x130)])&&_0x1719ab['TAnYp'](_0x3ffcd3[_0x2c1560(0xed)],_0x1719ab[_0x2c1560(0x119)])&&!_0x3ffcd3[_0x2c1560(0xf0)];return _0x5d17c9;});return _0x2f6006[_0x247bb8(0xe8)](_0x19dab5);};
|