browserstack-node-sdk 1.62.0 → 1.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/load/index.js +193 -12
- package/src/bin/load/load/loadErrors.js +248 -0
- package/src/bin/load/loadErrors.js +1 -0
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -0
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x3349a9=a10_0x29f9;function a10_0x3c80(){const _0x59e604=['2ksqRUU','__skipSessionName','yXaiH','331504cfBMku','tDiIL','Inside\x20browserstack\x20After','__platformCaps','688219Ssffvm','../../index','dxVSP','2823000avzgDz','../../helpers/logger','__driver','Inside\x20browserstack\x20Before','__error_messages__','setDefaultTimeout','join','1254888pVsHys','platformCaps','Lagph','883566xcjlWf','setSessionName','then','winstonLogger','pickle','session_','stringify','../../helpers/setKeepAlive','aJnpV','Error:\x20setting\x20status\x20at\x20After:\x20','skipSessionStatus','\x20|\x20','fwExO','cucumber/lib/index.js','VTtDc','skipSessionName','6zbAqeV','parse','__skipSessionStatus','name','arguments','env','result','initQuit','debug','browserstack_executor:\x20','__timeout','5049828lsiUAu','browserstackAgentV2','status','CONFIG','qFTZl','executeScript','dJOnj','bstack','toLowerCase','31390YSMOMj','../../helpers/helper','timeout'];a10_0x3c80=function(){return _0x59e604;};return a10_0x3c80();}(function(_0x31e0ed,_0x3265c0){const _0x546c9e=a10_0x29f9,_0x2d20e9=_0x31e0ed();while(!![]){try{const _0x3e78a7=parseInt(_0x546c9e(0xa7))/0x1*(parseInt(_0x546c9e(0xaa))/0x2)+-parseInt(_0x546c9e(0xbb))/0x3+parseInt(_0x546c9e(0xb8))/0x4+parseInt(_0x546c9e(0xa4))/0x5+-parseInt(_0x546c9e(0x90))/0x6*(-parseInt(_0x546c9e(0xae))/0x7)+parseInt(_0x546c9e(0xb1))/0x8+-parseInt(_0x546c9e(0x9b))/0x9;if(_0x3e78a7===_0x3265c0)break;else _0x2d20e9['push'](_0x2d20e9['shift']());}catch(_0x1bb252){_0x2d20e9['push'](_0x2d20e9['shift']());}}}(a10_0x3c80,0x3c52a));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x3349a9(0xa5)),setKeepAlive=require(a10_0x3349a9(0xc2)),cucumberModule=requireModule(a10_0x3349a9(0x8d),'cucumber'),logger=require(a10_0x3349a9(0xb2))[a10_0x3349a9(0xbe)];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule['After'],configuration=process[a10_0x3349a9(0x95)][a10_0x3349a9(0x9e)];if(configuration!==undefined){const config=JSON[a10_0x3349a9(0x91)](configuration);isTrue(config[a10_0x3349a9(0x8f)])&&(global[a10_0x3349a9(0xa8)]=!![]),global[a10_0x3349a9(0x92)]=isTrue(config[a10_0x3349a9(0xc5)]),require(a10_0x3349a9(0xaf))[a10_0x3349a9(0x9c)](config),global[a10_0x3349a9(0xad)]=config[a10_0x3349a9(0xb9)]||{};}global['__timeout']=0x0;function a10_0x29f9(_0x1e684a,_0x4830b0){const _0x3c80c6=a10_0x3c80();return a10_0x29f9=function(_0x29f9eb,_0xe80e06){_0x29f9eb=_0x29f9eb-0x8c;let _0x370a05=_0x3c80c6[_0x29f9eb];return _0x370a05;},a10_0x29f9(_0x1e684a,_0x4830b0);}const __setDefaultTimeout=cucumberModule[a10_0x3349a9(0xb6)];cucumberModule[a10_0x3349a9(0xb6)]=_0x10a28d=>{const _0x45a303=a10_0x3349a9,_0x2f1ae5={'aJnpV':function(_0x23b32c,_0x32cd77){return _0x23b32c(_0x32cd77);}};global[_0x45a303(0x9a)]=_0x10a28d,_0x2f1ae5[_0x45a303(0xc3)](__setDefaultTimeout,_0x10a28d);};const a10_0xd134bd={};a10_0xd134bd[a10_0x3349a9(0x93)]=a10_0x3349a9(0xa2),Before(a10_0xd134bd,function(){const _0x3bcb19=a10_0x3349a9,_0x2573d7={};_0x2573d7[_0x3bcb19(0x8c)]=_0x3bcb19(0xb4);const _0x1b478d=_0x2573d7;logger['debug'](_0x1b478d[_0x3bcb19(0x8c)]),global[_0x3bcb19(0xb5)]=[];});const a10_0x498c61={};a10_0x498c61['name']=a10_0x3349a9(0xa2),a10_0x498c61[a10_0x3349a9(0xa6)]=0x2710,After(a10_0x498c61,function(_0x5df30f,_0xf63728){const _0x5f33c6=a10_0x3349a9,_0x351445={'dJOnj':_0x5f33c6(0xbc),'tDiIL':function(_0x23db14,_0x572cd2){return _0x23db14===_0x572cd2;},'VTtDc':'failed','vtWjf':function(_0x1e281a,_0x5a9387,_0x452b2c,_0x798cac){return _0x1e281a(_0x5a9387,_0x452b2c,_0x798cac);},'XrNhy':_0x5f33c6(0xc6),'yXaiH':function(_0x162e80,_0xc7f515,_0x81e712){return _0x162e80(_0xc7f515,_0x81e712);},'dxVSP':'passed','qFTZl':function(_0x5a41ae){return _0x5a41ae();},'Lagph':function(_0x3e70c7,_0x42fe5a){return _0x3e70c7(_0x42fe5a);},'NbvWS':function(_0x2f733b){return _0x2f733b();},'Khvog':_0x5f33c6(0xac)};logger[_0x5f33c6(0x98)](_0x351445['Khvog']),new Promise(async(_0x3ba64a,_0x23f9fa)=>{const _0x38bfb5=_0x5f33c6;let _0x1dee64=![];try{await global[_0x38bfb5(0xb3)][_0x38bfb5(0xc0)],_0x1dee64=!![];if(!global[_0x38bfb5(0xa8)]){const _0x10ea20={};_0x10ea20[_0x38bfb5(0x93)]=_0x5df30f[_0x38bfb5(0xbf)][_0x38bfb5(0x93)];const _0x10afbf={};_0x10afbf['action']=_0x351445[_0x38bfb5(0xa1)],_0x10afbf[_0x38bfb5(0x94)]=_0x10ea20;const _0x5bbcdc=_0x10afbf;await global[_0x38bfb5(0xb3)][_0x38bfb5(0xa0)](_0x38bfb5(0x99)+JSON[_0x38bfb5(0xc1)](_0x5bbcdc));}_0x351445[_0x38bfb5(0xab)](_0x5df30f[_0x38bfb5(0x96)][_0x38bfb5(0x9d)][_0x38bfb5(0xa3)](),_0x351445[_0x38bfb5(0x8e)])?await _0x351445['vtWjf'](markSessionStatus,global[_0x38bfb5(0xb3)],_0x351445['VTtDc'],global[_0x38bfb5(0xb5)][_0x38bfb5(0xb7)](_0x351445['XrNhy'])):await _0x351445[_0x38bfb5(0xa9)](markSessionStatus,global[_0x38bfb5(0xb3)],_0x351445[_0x38bfb5(0xb0)]);}catch(_0x229fd4){logger[_0x38bfb5(0x98)](_0x38bfb5(0xc4)+_0x229fd4);}if(_0x1dee64)try{await global[_0x38bfb5(0xb3)][_0x38bfb5(0x97)](),_0x351445[_0x38bfb5(0x9f)](_0x3ba64a);}catch(_0x4f5ce5){logger['debug']('Error:\x20quiting\x20at\x20After:\x20'+_0x4f5ce5),_0x351445[_0x38bfb5(0xba)](_0x23f9fa,_0x4f5ce5);}else _0x351445['NbvWS'](_0x23f9fa);})[_0x5f33c6(0xbd)](()=>_0xf63728());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x2b8fc7=a11_0x37ad;(function(_0x337bde,_0x26463b){const _0x2227fc=a11_0x37ad,_0x10bb7f=_0x337bde();while(!![]){try{const _0x5b7eea=parseInt(_0x2227fc(0x1e7))/0x1+parseInt(_0x2227fc(0x1da))/0x2+parseInt(_0x2227fc(0x1de))/0x3*(parseInt(_0x2227fc(0x1e8))/0x4)+parseInt(_0x2227fc(0x1e5))/0x5*(-parseInt(_0x2227fc(0x1e6))/0x6)+parseInt(_0x2227fc(0x1e4))/0x7+-parseInt(_0x2227fc(0x1e1))/0x8+-parseInt(_0x2227fc(0x1db))/0x9;if(_0x5b7eea===_0x26463b)break;else _0x10bb7f['push'](_0x10bb7f['shift']());}catch(_0x436364){_0x10bb7f['push'](_0x10bb7f['shift']());}}}(a11_0x26ca,0xb1298));const {requireModule}=require('../../helpers/helper'),constants=require(a11_0x2b8fc7(0x1e2));let cucumberModule=null;try{cucumberModule=requireModule(a11_0x2b8fc7(0x1dc),a11_0x2b8fc7(0x1e3));}catch(a11_0x1061e9){cucumberModule=requireModule(a11_0x2b8fc7(0x1df),a11_0x2b8fc7(0x1e0));}const userValue=global['__timeout']||0x0;(userValue===0x0||userValue<constants[a11_0x2b8fc7(0x1dd)])&&cucumberModule['setDefaultTimeout'](constants[a11_0x2b8fc7(0x1dd)]);function a11_0x37ad(_0x5b985a,_0x1651eb){const _0x26cac4=a11_0x26ca();return a11_0x37ad=function(_0x37ad5b,_0x6726e){_0x37ad5b=_0x37ad5b-0x1da;let _0x407a9a=_0x26cac4[_0x37ad5b];return _0x407a9a;},a11_0x37ad(_0x5b985a,_0x1651eb);}function a11_0x26ca(){const _0x47d510=['1991922WdTIrk','12475179wnLyUt','@cucumber/cucumber/lib/index.js','BSTACK_DELTA','3eQUSTd','cucumber/lib/index.js','cucumber','8933832KbPfow','../utils/constants','@cucumber/cucumber','7896644iaAwyq','15lVrNcS','322908izSTIk','1001376AqQVnR','1058164RsjsGq'];a11_0x26ca=function(){return _0x47d510;};return a11_0x26ca();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x1f836e=a12_0x141c;(function(_0x54900c,_0x594ddb){const _0x333a23=a12_0x141c,_0x216726=_0x54900c();while(!![]){try{const _0x533591=-parseInt(_0x333a23(0xbe))/0x1*(-parseInt(_0x333a23(0xbc))/0x2)+-parseInt(_0x333a23(0xc7))/0x3+-parseInt(_0x333a23(0xc1))/0x4*(parseInt(_0x333a23(0xc3))/0x5)+parseInt(_0x333a23(0xd6))/0x6*(-parseInt(_0x333a23(0xdb))/0x7)+-parseInt(_0x333a23(0xbb))/0x8*(-parseInt(_0x333a23(0xda))/0x9)+parseInt(_0x333a23(0xa4))/0xa*(parseInt(_0x333a23(0x99))/0xb)+-parseInt(_0x333a23(0xd2))/0xc;if(_0x533591===_0x594ddb)break;else _0x216726['push'](_0x216726['shift']());}catch(_0x57a67e){_0x216726['push'](_0x216726['shift']());}}}(a12_0x57cc,0xaff39));const {default:BrowserStackSetup}=require(a12_0x1f836e(0xb8)),logger=require(a12_0x1f836e(0xb4))['winstonLogger'],{URL}=require(a12_0x1f836e(0xb3)),helper=require(a12_0x1f836e(0xb1)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x1f836e(0xb7)),validHosts=function(_0x2be449){const _0x496b70=a12_0x1f836e;return _0x2be449['split'](',')[_0x496b70(0xd4)](_0xfb8f32=>{const _0x62159e=_0x496b70;try{new URL(_0xfb8f32[_0x62159e(0xa9)]());}catch(_0x50dd21){return![];}return!![];});},parseOnPremHosts=function(_0x3cfb2b){const _0x54a697=a12_0x1f836e,_0x303729={};_0x303729[_0x54a697(0x9e)]=function(_0xfb2c01,_0x553a95){return _0xfb2c01===_0x553a95;},_0x303729['jLFQR']=_0x54a697(0xc8),_0x303729[_0x54a697(0x9f)]='443',_0x303729[_0x54a697(0xb5)]=_0x54a697(0xcd);const _0x11e325=_0x303729;return _0x3cfb2b[_0x54a697(0x9a)](',')[_0x54a697(0x9b)](_0x46c00f=>{const _0x48190e=_0x54a697,_0x106d83=new URL(_0x46c00f['trim']()),_0x498f22=_0x106d83['hostname'],_0x1ee865=_0x106d83[_0x48190e(0xd5)]||(_0x11e325[_0x48190e(0x9e)](_0x106d83['protocol'],_0x11e325[_0x48190e(0xac)])?_0x11e325[_0x48190e(0x9f)]:'80'),_0x24ba7e=_0x106d83[_0x48190e(0xc6)][_0x48190e(0xdc)](':',''),_0x57e039=_0x11e325['ofKRB'](_0x24ba7e,_0x11e325[_0x48190e(0xb5)])?0x1:0x0;return _0x498f22+','+_0x1ee865+','+_0x57e039;});},connectCommandBuilder=function(_0x48e5ba){const _0x52cf29=a12_0x1f836e,_0x1acb94={};_0x1acb94[_0x52cf29(0xcf)]=_0x52cf29(0xd1);const _0x4cb981=_0x1acb94,_0x2d30bc={};_0x2d30bc[_0x52cf29(0xa6)]=HELP_MESSAGES[_0x52cf29(0xb0)][_0x52cf29(0xaf)],_0x2d30bc[_0x52cf29(0xd9)]=_0x4cb981[_0x52cf29(0xcf)];const _0x301ce1={};_0x301ce1[_0x52cf29(0xa6)]=HELP_MESSAGES[_0x52cf29(0xb0)][_0x52cf29(0xad)],_0x301ce1[_0x52cf29(0xd9)]=_0x4cb981[_0x52cf29(0xcf)],_0x301ce1['demandOption']=!![];const _0x44bcd8={};return _0x44bcd8[_0x52cf29(0xa8)]=_0x2d30bc,_0x44bcd8[_0x52cf29(0xad)]=_0x301ce1,_0x48e5ba[_0x52cf29(0xb0)](_0x44bcd8);},connectCommandHandler=async function(_0x5903d2){const _0x181a7c=a12_0x1f836e,_0x412eec={'XSKiN':_0x181a7c(0x9d),'MEoaP':function(_0x332b5f,_0x379063){return _0x332b5f===_0x379063;},'zNbuj':_0x181a7c(0xce),'ffSEH':_0x181a7c(0xca),'MLyrG':function(_0x450aaf,_0x17d507){return _0x450aaf===_0x17d507;},'PmoMv':_0x181a7c(0xc5),'VIkzf':function(_0x58a6a1,_0x2d6659){return _0x58a6a1(_0x2d6659);},'yXMSE':'Hosts\x20not\x20valid','JvJmw':function(_0x43ef8b,_0xda6150){return _0x43ef8b(_0xda6150);},'ZMrOD':'integrations-repeater','JcZBN':_0x181a7c(0xd3),'whPrr':_0x181a7c(0xa3)};try{const _0x532928=new BrowserStackSetup(_0x5903d2,_0x412eec[_0x181a7c(0xa2)]);_0x5903d2['bstackAccesskey']&&(_0x532928[_0x181a7c(0xa5)]['accessKey']=_0x5903d2[_0x181a7c(0xc2)]);if(_0x412eec['MEoaP'](typeof _0x532928[_0x181a7c(0xa5)][_0x181a7c(0xa1)],_0x412eec[_0x181a7c(0x98)])){logger[_0x181a7c(0x9c)](_0x412eec[_0x181a7c(0xb2)]);throw new Error(ERROR_MESSAGES[_0x181a7c(0xaf)][_0x181a7c(0xae)]);}const _0x2854a4=_0x5903d2['hosts'];if(_0x412eec['MLyrG'](typeof _0x2854a4,_0x412eec[_0x181a7c(0x98)])){logger[_0x181a7c(0x9c)](_0x412eec['PmoMv']);throw new Error(ERROR_MESSAGES[_0x181a7c(0xad)][_0x181a7c(0xae)]);}if(!_0x412eec[_0x181a7c(0xdd)](validHosts,_0x2854a4)){logger['error'](_0x412eec[_0x181a7c(0xba)]);throw new Error(ERROR_MESSAGES[_0x181a7c(0xad)]['invalid']);}const _0x14e94e=_0x412eec[_0x181a7c(0xcc)](parseOnPremHosts,_0x2854a4);_0x532928[_0x181a7c(0xa5)]['browserstackLocal']=!![],_0x532928[_0x181a7c(0xa5)]['browserStackLocalOptions'][_0x181a7c(0xbd)]=_0x412eec[_0x181a7c(0xab)],_0x532928['config'][_0x181a7c(0xbf)][_0x181a7c(0xcb)]=_0x14e94e[_0x181a7c(0xc4)](','),helper['setProxySettings'](_0x532928[_0x181a7c(0xa5)]),await _0x532928[_0x181a7c(0xc0)](),logger[_0x181a7c(0xa0)](_0x412eec['JcZBN']);}catch(_0x3705c6){logger['error'](_0x412eec['whPrr']);throw new Error(_0x3705c6[_0x181a7c(0xc9)]());}};function run(_0x42ffde){const _0x4573e7=a12_0x1f836e,_0x2620b9={};_0x2620b9['xpXGy']=_0x4573e7(0xb6),_0x2620b9[_0x4573e7(0xd8)]=_0x4573e7(0xa7);const _0x159135=_0x2620b9;_0x42ffde['usage'](HELP_MESSAGES[_0x4573e7(0xd7)][_0x4573e7(0xde)])[_0x4573e7(0xd7)](_0x159135[_0x4573e7(0xaa)],HELP_MESSAGES[_0x4573e7(0xd7)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x4573e7(0xd0)]()[_0x4573e7(0xa7)](_0x159135[_0x4573e7(0xd8)])['epilogue'](HELP_MESSAGES['command'][_0x4573e7(0xb9)]);}function a12_0x141c(_0x51ed61,_0x259a16){const _0x57cc77=a12_0x57cc();return a12_0x141c=function(_0x141cc6,_0x510d36){_0x141cc6=_0x141cc6-0x98;let _0x1078d9=_0x57cc77[_0x141cc6];return _0x1078d9;},a12_0x141c(_0x51ed61,_0x259a16);}function a12_0x57cc(){const _0x16802d=['help','bstack-accesskey','trim','xpXGy','ZMrOD','jLFQR','hosts','missing','bstackAccessKey','options','../../helpers/helper','ffSEH','url','../../helpers/logger','sgcOQ','connect','./constants','../../helpers/BrowserStackSetup','footer','yXMSE','2125400sTEqRG','451160wfwLpT','localIdentifier','2LngTYa','browserStackLocalOptions','setupBrowserstackLocal','3268lbiLbW','bstackAccesskey','1225VzeWxM','join','Integration\x20hosts\x20missing.','protocol','2147403AuuMvs','https:','toString','BrowserStack\x20access\x20key\x20missing.','only','JvJmw','https','undefined','WYpfb','demandCommand','string','1270224kIxCZi','Connection\x20established\x20successfully.','every','port','7188AuNCmI','command','FeXCZ','type','18SqDOoY','3703eJTKoU','replace','VIkzf','root','zNbuj','7601XoOITO','split','map','error','integrations','ofKRB','XYXBO','info','accessKey','XSKiN','Failed\x20to\x20establish\x20connection.','20170FlaJEr','config','describe'];a12_0x57cc=function(){return _0x16802d;};return a12_0x57cc();}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x3b4bf5=a13_0x3f34;(function(_0x3d33ea,_0x5bb600){var _0x246a8e=a13_0x3f34,_0x444f2b=_0x3d33ea();while(!![]){try{var _0x42f4a3=-parseInt(_0x246a8e(0x132))/0x1+parseInt(_0x246a8e(0x135))/0x2*(parseInt(_0x246a8e(0x146))/0x3)+parseInt(_0x246a8e(0x147))/0x4+parseInt(_0x246a8e(0x145))/0x5+-parseInt(_0x246a8e(0x142))/0x6*(-parseInt(_0x246a8e(0x13a))/0x7)+-parseInt(_0x246a8e(0x133))/0x8+-parseInt(_0x246a8e(0x137))/0x9;if(_0x42f4a3===_0x5bb600)break;else _0x444f2b['push'](_0x444f2b['shift']());}catch(_0x55f5da){_0x444f2b['push'](_0x444f2b['shift']());}}}(a13_0x5d0c,0x18b80));var a13_0x28e10b={};a13_0x28e10b[a13_0x3b4bf5(0x13e)]=a13_0x3b4bf5(0x13b),a13_0x28e10b['hosts']=a13_0x3b4bf5(0x13c);var a13_0x411ed2={};a13_0x411ed2[a13_0x3b4bf5(0x143)]=a13_0x3b4bf5(0x148),a13_0x411ed2[a13_0x3b4bf5(0x144)]=a13_0x3b4bf5(0x140),a13_0x411ed2['footer']=a13_0x3b4bf5(0x141);function a13_0x5d0c(){var _0x1ea846=['Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','bstackAccessKey','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','276sqSWWb','root','connect','968435XktUfL','3nqVkkb','446884uEiwAE','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','ERROR_MESSAGES','14325cgMxNj','170400CYJNqu','invalid','127924IYDrwn','options','2393037VbGlSE','missing','hosts','5082SrWomt'];a13_0x5d0c=function(){return _0x1ea846;};return a13_0x5d0c();}var a13_0x2eaaa8={};a13_0x2eaaa8[a13_0x3b4bf5(0x136)]=a13_0x28e10b,a13_0x2eaaa8['command']=a13_0x411ed2,exports['HELP_MESSAGES']=a13_0x2eaaa8;var a13_0xe3369d={};function a13_0x3f34(_0x4f1575,_0x3d093c){var _0x5d0c07=a13_0x5d0c();return a13_0x3f34=function(_0x3f349e,_0xbb380a){_0x3f349e=_0x3f349e-0x132;var _0x482f7c=_0x5d0c07[_0x3f349e];return _0x482f7c;},a13_0x3f34(_0x4f1575,_0x3d093c);}a13_0xe3369d[a13_0x3b4bf5(0x138)]=a13_0x3b4bf5(0x13d);var a13_0xf1ac02={};a13_0xf1ac02['missing']='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0xf1ac02[a13_0x3b4bf5(0x134)]=a13_0x3b4bf5(0x13f);var a13_0x3fb707={};a13_0x3fb707['bstackAccessKey']=a13_0xe3369d,a13_0x3fb707[a13_0x3b4bf5(0x139)]=a13_0xf1ac02,exports[a13_0x3b4bf5(0x149)]=a13_0x3fb707;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a14_0x2436(_0x2fe4ce,_0x556df4){const _0x5f163b=a14_0x5f16();return a14_0x2436=function(_0x243699,_0xcfecbc){_0x243699=_0x243699-0x14f;let _0x1f6e76=_0x5f163b[_0x243699];return _0x1f6e76;},a14_0x2436(_0x2fe4ce,_0x556df4);}const a14_0x880290=a14_0x2436;(function(_0xe8a6c6,_0x27acdb){const _0x10585e=a14_0x2436,_0x358950=_0xe8a6c6();while(!![]){try{const _0x34826a=parseInt(_0x10585e(0x1bf))/0x1*(-parseInt(_0x10585e(0x190))/0x2)+parseInt(_0x10585e(0x1b8))/0x3*(-parseInt(_0x10585e(0x1bd))/0x4)+parseInt(_0x10585e(0x1a6))/0x5*(-parseInt(_0x10585e(0x1c2))/0x6)+-parseInt(_0x10585e(0x160))/0x7*(parseInt(_0x10585e(0x15f))/0x8)+-parseInt(_0x10585e(0x16b))/0x9*(-parseInt(_0x10585e(0x196))/0xa)+parseInt(_0x10585e(0x1c4))/0xb+parseInt(_0x10585e(0x1b0))/0xc;if(_0x34826a===_0x27acdb)break;else _0x358950['push'](_0x358950['shift']());}catch(_0x339f2e){_0x358950['push'](_0x358950['shift']());}}}(a14_0x5f16,0x5ef58));function a14_0x5f16(){const _0x517b46=['AssertionError','specStarted','passed','ybscN','kuGTC','Spec\x20failed','hWGdc','keys','XnKdV','dstvr','filename','appendTesthubParams','isArray','sep','prefixTestPath','dLVNH','NFwFH','lang','QbbTP','lpWDI','WefOO','join','failure_backtrace','err','setCurrentTestData','cJSra','length','add','_scopes','remove','PfXmZ','../testRunMap','6536dObeou','Jasmine','get','geqNt','TestRunSkipped','FKPfH','3832810gXTiMz','bnhWz','KUeAn','../../../helpers/testhub/utils','../../../helpers/test-observability/sessionHandler','GcGAV','ZFUkc','ZRYLO','failure_reason_expanded','toISOString','relative','chpnb','JASMINE','../../../helpers/test-observability/constants','push','TSOKS','1713785VxWkCm','FnvtI','path','expected','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','excluded','BtCHJ','failed','duration','ZzfJr','9353616Ydlnaj','UnhandledError','TestRunFinished','_collapseFailedExpectations','otsyj','\x20:\x20','XTlCQ','shouldProcessEventForTesthub','24NAZiCR','HwTlU','matcherName','_suitesById','_paths','159996XqTCJU','startsWith','128jRomdL','split','_sendSpecEvent','6RTShvC','message','6844475iciqUv','actual','PzjcE','_findGitConfig','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','AjBpp','gczEP','VmpQI','_fileNameByFullName','failedExpectations','pending','dirname','XKkAw','fullName','zkEhk','status','uLFWX','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','uuid','jasmineStarted','expanded','slice','bmGHn','number','_resolveFilePath','config','fileNameByFullName','set','HMWYO','VxEbc','TwWQf','PiUEZ','uTbnq','voyhP','aUdgU','code','wSECK','TestRunStarted','cwd','232akobDT','76027clQsGP','statSync','Jksiv','match','suiteDone','fRAHo','skipped','VGxLz','cSXBX','uJASJ','description','9ECymJo','parentSuiteId','stack','MRvmX','jasmineDone'];a14_0x5f16=function(){return _0x517b46;};return a14_0x5f16();}const path=require(a14_0x880290(0x1a8)),fs=require('fs'),{v4:uuidv4}=require(a14_0x880290(0x1d6)),testhubUtils=require(a14_0x880290(0x199)),{FRAMEWORKS}=require(a14_0x880290(0x1a3)),SessionHandler=require(a14_0x880290(0x19a)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a14_0x880290(0x18f)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x880290(0x191),a14_0x215cf3={};a14_0x215cf3[a14_0x880290(0x172)]=a14_0x880290(0x172),a14_0x215cf3[a14_0x880290(0x1ad)]=a14_0x880290(0x1ad),a14_0x215cf3[a14_0x880290(0x1ce)]=a14_0x880290(0x1ce),a14_0x215cf3[a14_0x880290(0x1ab)]=a14_0x880290(0x166);const STATUS_MAP=a14_0x215cf3;class BrowserStackJasmineReporter{constructor(_0x3820cd={}){const _0x4b3432=a14_0x880290,_0x33b2af={'KFXUO':function(_0x2cb6b5){return _0x2cb6b5();}};this['testObservability']=_0x33b2af['KFXUO'](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x4b3432(0x15e)]()},undefined),this[_0x4b3432(0x1cc)]=_0x3820cd&&_0x3820cd[_0x4b3432(0x152)]||{},this[_0x4b3432(0x1bb)]=new Map();}[a14_0x880290(0x1d7)](){}['suiteStarted'](_0x139f94){const _0x41593b=a14_0x880290,_0xde13d2={'IeAuH':function(_0x48a2c1,_0xc86ef5){return _0x48a2c1!==_0xc86ef5;},'WefOO':function(_0xf8cb27,_0x4bce3a){return _0xf8cb27!==_0x4bce3a;},'NFwFH':function(_0x263566,_0x25bd3b){return _0x263566(_0x25bd3b);}};try{_0x139f94&&_0xde13d2['IeAuH'](_0x139f94['id'],undefined)&&_0xde13d2[_0x41593b(0x184)](_0x139f94['id'],null)&&this[_0x41593b(0x1bb)][_0x41593b(0x153)](_0x139f94['id'],{'description':_0x139f94['description'],'parentSuiteId':_0x139f94[_0x41593b(0x16c)]});}catch(_0x52b37e){_0xde13d2[_0x41593b(0x180)](debug,_0x41593b(0x1d5)+(_0x139f94&&_0x139f94['fullName'])+_0x41593b(0x1b5)+_0x52b37e);}}[a14_0x880290(0x171)](_0x3e73b2){const _0x4e180f=a14_0x880290,_0x53e119={'QbbTP':function(_0x37f51a,_0x1eba99){return _0x37f51a!==_0x1eba99;},'lpWDI':function(_0x237f75){return _0x237f75();},'rsivL':'TestRunStarted','HMWYO':function(_0x40a186,_0x2b70cb){return _0x40a186(_0x2b70cb);}};try{if(_0x53e119[_0x4e180f(0x182)](testhubUtils[_0x4e180f(0x1b7)](),!![]))return;const _0x193dbe=_0x53e119[_0x4e180f(0x183)](uuidv4);testRunMap[_0x4e180f(0x153)](_0x3e73b2['id'],_0x193dbe),this[_0x4e180f(0x1c1)](_0x3e73b2,_0x193dbe,_0x53e119['rsivL']);}catch(_0xf1c272){_0x53e119[_0x4e180f(0x154)](debug,_0x4e180f(0x1c8)+(_0x3e73b2&&_0x3e73b2['fullName'])+_0x4e180f(0x1b5)+_0xf1c272);}}['specDone'](_0x5c2b8c){const _0x82c59f=a14_0x880290,_0x36ea2c={'bmGHn':function(_0x1cbea9,_0x30bb9b){return _0x1cbea9!==_0x30bb9b;},'uJASJ':function(_0x4db9d5){return _0x4db9d5();},'XTlCQ':function(_0x263af7,_0x248bc2){return _0x263af7===_0x248bc2;},'AjBpp':'excluded','XKkAw':_0x82c59f(0x194),'kuGTC':'TestRunFinished','MRvmX':function(_0x5d3ded,_0xe4ebb3){return _0x5d3ded(_0xe4ebb3);}};try{if(_0x36ea2c[_0x82c59f(0x1da)](testhubUtils[_0x82c59f(0x1b7)](),!![]))return;const _0x544ac3=testRunMap[_0x82c59f(0x192)](_0x5c2b8c['id'])||_0x36ea2c[_0x82c59f(0x169)](uuidv4),_0x5555f2=_0x36ea2c[_0x82c59f(0x1b6)](_0x5c2b8c[_0x82c59f(0x1d3)],_0x36ea2c[_0x82c59f(0x1c9)])?_0x36ea2c[_0x82c59f(0x1d0)]:_0x36ea2c[_0x82c59f(0x174)];this[_0x82c59f(0x1c1)](_0x5c2b8c,_0x544ac3,_0x5555f2);}catch(_0x1d30f6){_0x36ea2c[_0x82c59f(0x16e)](debug,'Exception\x20in\x20jasmine\x20specDone\x20for\x20'+(_0x5c2b8c&&_0x5c2b8c[_0x82c59f(0x1d1)])+_0x82c59f(0x1b5)+_0x1d30f6);}finally{_0x5c2b8c&&(testRunMap[_0x82c59f(0x18d)](_0x5c2b8c['id']),_specStartTimes['delete'](_0x5c2b8c['id']));}}[a14_0x880290(0x164)](){}[a14_0x880290(0x16f)](){}['_sendSpecEvent'](_0x2295c9,_0x57e5c0,_0x8a2c5d){const _0x577efb=a14_0x880290,_0x17586b={'PfXmZ':function(_0x4aedfc,_0x3c3edf){return _0x4aedfc===_0x3c3edf;},'otsyj':_0x577efb(0x1b2),'geqNt':_0x577efb(0x194),'fRAHo':'File\x20path\x20could\x20not\x20be\x20found','PzjcE':function(_0x4b4ded,_0x1efe5,_0x427e52){return _0x4b4ded(_0x1efe5,_0x427e52);},'VGxLz':_0x577efb(0x187),'ZzfJr':function(_0x33143e,_0x5d5f61){return _0x33143e===_0x5d5f61;},'cJSra':_0x577efb(0x15d),'chpnb':function(_0x300d58,_0x3eacd3){return _0x300d58!==_0x3eacd3;},'RnCHh':function(_0x5464b0,_0x4c8085){return _0x5464b0!==_0x4c8085;},'FnvtI':function(_0x3f4ec1,_0x17bb28){return _0x3f4ec1===_0x17bb28;},'PiUEZ':'javascript','hWGdc':function(_0x57c086,_0x1fcafa){return _0x57c086&&_0x1fcafa;},'VxEbc':_0x577efb(0x166),'voyhP':_0x577efb(0x172),'NBQCA':function(_0x3ef8d1,_0xdc4b1d){return _0x3ef8d1===_0xdc4b1d;},'wSECK':_0x577efb(0x14f),'cSXBX':_0x577efb(0x170),'XnKdV':_0x577efb(0x1b1),'dstvr':'started_at','VmpQI':'finished_at','ZFUkc':'failure','KUeAn':_0x577efb(0x186),'uLFWX':'backtrace','zkEhk':_0x577efb(0x19e),'aUdgU':_0x577efb(0x1d8),'Jksiv':function(_0x5e5732,_0x161262){return _0x5e5732===_0x161262;},'bnhWz':function(_0x4f8026,_0x14b98a){return _0x4f8026(_0x14b98a);}};try{const _0x5546da=_0x17586b[_0x577efb(0x18e)](_0x8a2c5d,_0x17586b['otsyj'])||_0x17586b[_0x577efb(0x18e)](_0x8a2c5d,_0x17586b[_0x577efb(0x193)]),_0x52f785=this[_0x577efb(0x150)](_0x2295c9),_0x2ebac1=_0x52f785?this[_0x577efb(0x1bc)][_0x577efb(0x17e)](_0x52f785):_0x17586b[_0x577efb(0x165)],_0x41a8ee=_0x52f785?this[_0x577efb(0x1c7)](path['dirname'](_0x52f785)):null,_0x343249=this[_0x577efb(0x1b3)](_0x2295c9[_0x577efb(0x1cd)]),_0x40faea=_0x343249?_0x343249[_0x577efb(0x1c3)]:undefined,_0x1b026e=_0x343249?_0x17586b[_0x577efb(0x1c6)](failureData,_0x343249,_0x17586b[_0x577efb(0x167)]):[],_0x29767d=new Date()[_0x577efb(0x19f)](),_0x274700=this['_scopes'](_0x2295c9);_0x17586b['ZzfJr'](_0x8a2c5d,_0x17586b['cJSra'])&&_0x2295c9&&_0x17586b[_0x577efb(0x1a1)](_0x2295c9['id'],undefined)&&_0x17586b['RnCHh'](_0x2295c9['id'],null)&&_specStartTimes[_0x577efb(0x153)](_0x2295c9['id'],_0x29767d);const _0x3f4383=_0x17586b[_0x577efb(0x1a7)](_0x8a2c5d,_0x17586b[_0x577efb(0x189)])?_0x29767d:_0x2295c9&&_specStartTimes['get'](_0x2295c9['id'])||null,_0x574ce9={};_0x574ce9[_0x577efb(0x181)]=_0x17586b[_0x577efb(0x157)],_0x574ce9[_0x577efb(0x15b)]=null;const _0x420936={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x57e5c0,'name':_0x2295c9[_0x577efb(0x16a)],'body':_0x574ce9,'scope':_0x274700[_0x577efb(0x185)]('\x20'),'scopes':_0x274700,'identifier':_0x2295c9['fullName'],'file_name':_0x2ebac1,'vc_filepath':_0x17586b[_0x577efb(0x176)](_0x41a8ee,_0x52f785)?path[_0x577efb(0x1a0)](_0x41a8ee,_0x52f785):null,'location':_0x2ebac1,'result':_0x17586b[_0x577efb(0x1af)](_0x8a2c5d,_0x17586b['geqNt'])?_0x17586b[_0x577efb(0x155)]:STATUS_MAP[_0x2295c9[_0x577efb(0x1d3)]]||_0x17586b[_0x577efb(0x159)],'failure_reason':_0x40faea,'duration_in_ms':_0x17586b['NBQCA'](typeof _0x2295c9[_0x577efb(0x1ae)],_0x17586b[_0x577efb(0x15c)])?_0x2295c9[_0x577efb(0x1ae)]:null,'started_at':_0x3f4383,'finished_at':_0x5546da?_0x29767d:null,'failure':_0x1b026e,'failure_type':!_0x40faea?null:_0x40faea[_0x577efb(0x163)](/AssertionError/)?_0x17586b[_0x577efb(0x168)]:_0x17586b[_0x577efb(0x178)],'retry_of':null};_0x17586b[_0x577efb(0x1af)](_0x8a2c5d,_0x17586b[_0x577efb(0x193)])&&!_0x420936[_0x17586b[_0x577efb(0x179)]]&&(_0x420936[_0x17586b[_0x577efb(0x179)]]=_0x420936[_0x17586b[_0x577efb(0x1cb)]]);const _0x4cc008=_0x420936[_0x17586b[_0x577efb(0x19c)]][0x0];_0x4cc008&&(_0x420936[_0x17586b[_0x577efb(0x198)]]=_0x4cc008[_0x17586b[_0x577efb(0x1d4)]],_0x420936[_0x17586b[_0x577efb(0x1d2)]]=_0x4cc008[_0x17586b[_0x577efb(0x15a)]]);testhubUtils[_0x577efb(0x17b)](_0x420936,_0x8a2c5d,_0x2295c9,FRAMEWORKS[_0x577efb(0x1a2)]);const _0x1f33a4={'event_type':_0x17586b[_0x577efb(0x162)](_0x8a2c5d,_0x17586b[_0x577efb(0x193)])?_0x17586b[_0x577efb(0x1b4)]:_0x8a2c5d,'test_run':_0x420936};return testhubUtils[_0x577efb(0x188)](FRAMEWORKS[_0x577efb(0x1a2)],_0x1f33a4),SessionHandler['uploadEventData'](_0x1f33a4);}catch(_0x502539){_0x17586b[_0x577efb(0x197)](debug,_0x577efb(0x1aa)+_0x8a2c5d+_0x577efb(0x1b5)+_0x502539);}}[a14_0x880290(0x18c)](_0x412c82){const _0x24534a=a14_0x880290,_0x1abef1={'zxKOE':function(_0x5ba836,_0x301526){return _0x5ba836!==_0x301526;},'zjFhe':function(_0x2ed746,_0x2675c4){return _0x2ed746!==_0x2675c4;},'ryhEC':function(_0x2d346c,_0x4aeea0){return _0x2d346c>_0x4aeea0;},'TwWQf':function(_0x47d782,_0x34bb26){return _0x47d782(_0x34bb26);},'HwTlU':function(_0x106405,_0x30db70){return _0x106405-_0x30db70;}};try{const _0x4dd0e0=[];let _0x22c456=_0x412c82&&_0x412c82[_0x24534a(0x16c)];const _0x3eafc1=new Set();while(_0x1abef1['zxKOE'](_0x22c456,undefined)&&_0x1abef1['zjFhe'](_0x22c456,null)&&this[_0x24534a(0x1bb)]['has'](_0x22c456)&&!_0x3eafc1['has'](_0x22c456)){_0x3eafc1[_0x24534a(0x18b)](_0x22c456);const _0x5264aa=this['_suitesById'][_0x24534a(0x192)](_0x22c456);_0x5264aa&&_0x5264aa[_0x24534a(0x16a)]&&_0x4dd0e0[_0x24534a(0x1a4)](_0x5264aa[_0x24534a(0x16a)]),_0x22c456=_0x5264aa?_0x5264aa['parentSuiteId']:null;}if(_0x1abef1['ryhEC'](_0x4dd0e0['length'],0x0))return _0x4dd0e0['reverse']();}catch(_0x2f5d04){_0x1abef1[_0x24534a(0x156)](debug,'Exception\x20deriving\x20jasmine\x20scopes\x20for\x20'+(_0x412c82&&_0x412c82[_0x24534a(0x1d1)])+'\x20:\x20'+_0x2f5d04);}const _0x63e455=_0x412c82&&_0x412c82['fullName']||'',_0x502c3c=_0x412c82&&_0x412c82['description']||'';let _0x2bd703=_0x63e455;return _0x502c3c&&_0x63e455['endsWith'](_0x502c3c)&&(_0x2bd703=_0x63e455[_0x24534a(0x1d9)](0x0,_0x1abef1[_0x24534a(0x1b9)](_0x63e455[_0x24534a(0x18a)],_0x502c3c[_0x24534a(0x18a)]))['trim']()),_0x2bd703?_0x2bd703[_0x24534a(0x1c0)](/\s+/):[];}[a14_0x880290(0x150)](_0x471d07){const _0x468d5e=a14_0x880290,_0x15ff5f={};_0x15ff5f[_0x468d5e(0x19b)]=function(_0xb5a3f3,_0x23364d){return _0xb5a3f3===_0x23364d;},_0x15ff5f[_0x468d5e(0x173)]=function(_0x46c1e6,_0x249571){return _0x46c1e6+_0x249571;},_0x15ff5f[_0x468d5e(0x17f)]=function(_0x57c83b,_0x4c8d93){return _0x57c83b>_0x4c8d93;};const _0x3912d7=_0x15ff5f;if(_0x471d07&&_0x471d07[_0x468d5e(0x17a)])return _0x471d07[_0x468d5e(0x17a)];if(_0x471d07&&_0x471d07[_0x468d5e(0x1d1)]){if(this[_0x468d5e(0x1cc)][_0x471d07['fullName']])return this[_0x468d5e(0x1cc)][_0x471d07[_0x468d5e(0x1d1)]];let _0x35f8d5=null,_0x5ee401=-0x1;for(const _0x42ab6a of Object[_0x468d5e(0x177)](this[_0x468d5e(0x1cc)])){(_0x3912d7['GcGAV'](_0x471d07[_0x468d5e(0x1d1)],_0x42ab6a)||_0x471d07[_0x468d5e(0x1d1)][_0x468d5e(0x1be)](_0x3912d7[_0x468d5e(0x173)](_0x42ab6a,'\x20')))&&_0x3912d7[_0x468d5e(0x17f)](_0x42ab6a[_0x468d5e(0x18a)],_0x5ee401)&&(_0x35f8d5=this[_0x468d5e(0x1cc)][_0x42ab6a],_0x5ee401=_0x42ab6a[_0x468d5e(0x18a)]);}if(_0x35f8d5)return _0x35f8d5;}return null;}[a14_0x880290(0x1b3)](_0x51d62b){const _0x233bd2=a14_0x880290,_0x47eae8={};_0x47eae8[_0x233bd2(0x1ca)]=function(_0x2a026b,_0x334a89){return _0x2a026b===_0x334a89;},_0x47eae8[_0x233bd2(0x195)]=_0x233bd2(0x175);const _0x172f7c=_0x47eae8;if(!Array[_0x233bd2(0x17c)](_0x51d62b)||_0x172f7c[_0x233bd2(0x1ca)](_0x51d62b['length'],0x0))return undefined;const _0x476732=[],_0x487b52=[];for(const _0x337ac5 of _0x51d62b){_0x337ac5&&_0x337ac5[_0x233bd2(0x1c3)]&&_0x476732[_0x233bd2(0x1a4)](_0x337ac5[_0x233bd2(0x1c3)]),_0x337ac5&&_0x337ac5[_0x233bd2(0x16d)]&&_0x487b52[_0x233bd2(0x1a4)](_0x337ac5[_0x233bd2(0x16d)]);}const _0x541014=_0x51d62b[0x0]||{},_0x443fe8=_0x476732[_0x233bd2(0x185)]('\x0a')||_0x541014['message']||_0x172f7c['FKPfH'],_0x44329a=_0x487b52['join']('\x0a\x0a')||_0x541014[_0x233bd2(0x16d)]||_0x443fe8,_0x502056={};return _0x502056[_0x233bd2(0x1c3)]=_0x443fe8,_0x502056[_0x233bd2(0x16d)]=_0x44329a,_0x502056[_0x233bd2(0x1ba)]=_0x541014[_0x233bd2(0x1ba)],_0x502056[_0x233bd2(0x1a9)]=_0x541014[_0x233bd2(0x1a9)],_0x502056[_0x233bd2(0x1c5)]=_0x541014[_0x233bd2(0x1c5)],_0x502056;}[a14_0x880290(0x1c7)](_0x34913f){const _0x1703ae=a14_0x880290,_0x770bbc={};_0x770bbc[_0x1703ae(0x158)]=function(_0x1970c6,_0x5a439b){return _0x1970c6===_0x5a439b;},_0x770bbc[_0x1703ae(0x1ac)]=function(_0x1b4e2f,_0x59d3d2){return _0x1b4e2f===_0x59d3d2;},_0x770bbc[_0x1703ae(0x19d)]='.git',_0x770bbc[_0x1703ae(0x1a5)]=_0x1703ae(0x151);const _0x4235c6=_0x770bbc,_0xc509d=path[_0x1703ae(0x17d)];if(_0x4235c6[_0x1703ae(0x158)](_0x34913f,null)||_0x4235c6[_0x1703ae(0x158)](_0x34913f,'')||_0x4235c6[_0x1703ae(0x158)](_0x34913f,_0xc509d)||_0x4235c6[_0x1703ae(0x1ac)](_0x34913f,path[_0x1703ae(0x1cf)](_0x34913f)))return null;try{return fs[_0x1703ae(0x161)](path[_0x1703ae(0x185)](_0x34913f,_0x4235c6[_0x1703ae(0x19d)],_0x4235c6[_0x1703ae(0x1a5)])),_0x34913f;}catch(_0x43007e){return this['_findGitConfig'](path[_0x1703ae(0x1cf)](_0x34913f));}}}module['exports']=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a14_0x4169c2=a14_0x4fd5;(function(_0x46e6d7,_0x4e7c53){const _0xb48d27=a14_0x4fd5,_0x3f24f7=_0x46e6d7();while(!![]){try{const _0x560d9b=parseInt(_0xb48d27(0x1d2))/0x1+-parseInt(_0xb48d27(0x1a3))/0x2*(-parseInt(_0xb48d27(0x17d))/0x3)+-parseInt(_0xb48d27(0x182))/0x4*(parseInt(_0xb48d27(0x163))/0x5)+-parseInt(_0xb48d27(0x19d))/0x6*(-parseInt(_0xb48d27(0x15f))/0x7)+parseInt(_0xb48d27(0x1a2))/0x8*(parseInt(_0xb48d27(0x17b))/0x9)+-parseInt(_0xb48d27(0x1af))/0xa+parseInt(_0xb48d27(0x1cc))/0xb*(-parseInt(_0xb48d27(0x196))/0xc);if(_0x560d9b===_0x4e7c53)break;else _0x3f24f7['push'](_0x3f24f7['shift']());}catch(_0x281c6d){_0x3f24f7['push'](_0x3f24f7['shift']());}}}(a14_0x3d59,0x7df91));function a14_0x3d59(){const _0x14c58d=['cCsfd','skipped','specDone','DZrDa','198012LfbSxA','TestRunStarted','JuMSI','zFMfq','config','861688zRdgWT','1367674ggoAPj','passed','_fileNameByFullName','jFlPx','qyxmZ','trim','vPkZZ','oNwJc','FyRWW','testObservability','message','TestRunSkipped','8157700gpxEEP','cwd','status','Klbfr','toren','gImof','started_at','WHXBv','match','VJXXl','duration','path','PukHb','FwUfN','code','keys','TestRunFinished','../../../helpers/test-observability/constants','endsWith','../../../helpers/test-observability/sessionHandler','isArray','jasmineDone','Jasmine','.git','javascript','jbHrd','_findGitConfig','COpkb','fullName','48169lOFrIG','nbHtF','relative','parentSuiteId','QOTJj','dpwkT','230693ytwPeE','push','_sendSpecEvent','JxTQU','sep','shouldProcessEventForTesthub','Rewmz','exports','failure_backtrace','sXoil','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','Tfxsl','GXhOm','../testRunMap','statSync','split','JASMINE','pending','jasmineStarted','join','delete','zlBxd','setCurrentTestData','133XMUsro','has','number','failure_reason_expanded','592345fiiIiQ','excluded','add','set','_scopes','hiAwV','rbdrM','Exception\x20in\x20jasmine\x20specDone\x20for\x20','UnhandledError','dirname','SwpsD','File\x20path\x20could\x20not\x20be\x20found','filename','ZbUYk','slice','hhZjL','AssertionError','failed','_suitesById','appendTesthubParams','jpZxz','get','description','TVKKZ','18EWppJA','dJtLC','3gYVNqs','prefixTestPath','RjJYo','err','XbTma','8mqoxJe','TAuWr','reverse','suiteDone','CCxzy','TyZBt','suiteStarted','actual','uploadEventData','toISOString','\x20:\x20','ZkKgN','fileNameByFullName','_resolveFilePath','_collapseFailedExpectations','stack','_paths','YtyLE','backtrace','length','516yWmbHo','../../../helpers/testhub/utils','remove'];a14_0x3d59=function(){return _0x14c58d;};return a14_0x3d59();}const path=require(a14_0x4169c2(0x1ba)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a14_0x4169c2(0x197)),{FRAMEWORKS}=require(a14_0x4169c2(0x1c0)),SessionHandler=require(a14_0x4169c2(0x1c2)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a14_0x4169c2(0x155)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x4169c2(0x1c5),a14_0x388b3d={};a14_0x388b3d[a14_0x4169c2(0x1a4)]=a14_0x4169c2(0x1a4),a14_0x388b3d[a14_0x4169c2(0x174)]=a14_0x4169c2(0x174),a14_0x388b3d[a14_0x4169c2(0x159)]=a14_0x4169c2(0x159),a14_0x388b3d[a14_0x4169c2(0x164)]=a14_0x4169c2(0x19a);function a14_0x4fd5(_0x383fe4,_0x2f9ce6){const _0x3d5968=a14_0x3d59();return a14_0x4fd5=function(_0x4fd599,_0x497825){_0x4fd599=_0x4fd599-0x14e;let _0x467a35=_0x3d5968[_0x4fd599];return _0x467a35;},a14_0x4fd5(_0x383fe4,_0x2f9ce6);}const STATUS_MAP=a14_0x388b3d;class BrowserStackJasmineReporter{constructor(_0x517989={}){const _0x2b0510=a14_0x4169c2,_0x1493ca={'jFlPx':function(_0x7aa916){return _0x7aa916();}};this[_0x2b0510(0x1ac)]=_0x1493ca[_0x2b0510(0x1a6)](isTestObservabilitySession),this[_0x2b0510(0x192)]=new PathHelper({'cwd':process[_0x2b0510(0x1b0)]()},undefined),this[_0x2b0510(0x1a5)]=_0x517989&&_0x517989[_0x2b0510(0x18e)]||{},this[_0x2b0510(0x175)]=new Map();}[a14_0x4169c2(0x15a)](){}[a14_0x4169c2(0x188)](_0x3ea0f1){const _0xf5ca2f=a14_0x4169c2,_0x5606a5={'JuMSI':function(_0x1c2484,_0x1f260b){return _0x1c2484!==_0x1f260b;},'nbHtF':function(_0x3d3c7c,_0x59bb42){return _0x3d3c7c(_0x59bb42);}};try{_0x3ea0f1&&_0x5606a5[_0xf5ca2f(0x19f)](_0x3ea0f1['id'],undefined)&&_0x5606a5[_0xf5ca2f(0x19f)](_0x3ea0f1['id'],null)&&this[_0xf5ca2f(0x175)][_0xf5ca2f(0x166)](_0x3ea0f1['id'],{'description':_0x3ea0f1[_0xf5ca2f(0x179)],'parentSuiteId':_0x3ea0f1['parentSuiteId']});}catch(_0x197a5e){_0x5606a5[_0xf5ca2f(0x1cd)](debug,_0xf5ca2f(0x152)+(_0x3ea0f1&&_0x3ea0f1[_0xf5ca2f(0x1cb)])+_0xf5ca2f(0x18c)+_0x197a5e);}}['specStarted'](_0x31c8f9){const _0x21609b=a14_0x4169c2,_0x5481e8={'gImof':function(_0x2ffed9,_0x103fa1){return _0x2ffed9!==_0x103fa1;},'PukHb':function(_0x3d9c8a){return _0x3d9c8a();},'wfMgR':_0x21609b(0x19e),'CfYRW':function(_0x4cdc8c,_0x4239f5){return _0x4cdc8c(_0x4239f5);}};try{if(_0x5481e8[_0x21609b(0x1b4)](testhubUtils[_0x21609b(0x1d7)](),!![]))return;const _0x2f0210=_0x5481e8[_0x21609b(0x1bb)](uuidv4);testRunMap['set'](_0x31c8f9['id'],_0x2f0210),this[_0x21609b(0x1d4)](_0x31c8f9,_0x2f0210,_0x5481e8['wfMgR']);}catch(_0x1d0750){_0x5481e8['CfYRW'](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x31c8f9&&_0x31c8f9[_0x21609b(0x1cb)])+_0x21609b(0x18c)+_0x1d0750);}}[a14_0x4169c2(0x19b)](_0x1db8af){const _0x25bf9b=a14_0x4169c2,_0x5daca9={'JxTQU':function(_0x55ae82,_0x113d33){return _0x55ae82!==_0x113d33;},'zFMfq':function(_0x2645ab){return _0x2645ab();},'HGzft':function(_0x132561,_0xdeaa49){return _0x132561===_0xdeaa49;},'jpZxz':_0x25bf9b(0x164),'sXoil':_0x25bf9b(0x1ae),'YtyLE':'TestRunFinished','ZkKgN':function(_0x206b3c,_0x1194cc){return _0x206b3c(_0x1194cc);}};try{if(_0x5daca9[_0x25bf9b(0x1d5)](testhubUtils[_0x25bf9b(0x1d7)](),!![]))return;const _0x24d331=testRunMap[_0x25bf9b(0x178)](_0x1db8af['id'])||_0x5daca9[_0x25bf9b(0x1a0)](uuidv4),_0x40711b=_0x5daca9['HGzft'](_0x1db8af[_0x25bf9b(0x1b1)],_0x5daca9[_0x25bf9b(0x177)])?_0x5daca9[_0x25bf9b(0x151)]:_0x5daca9[_0x25bf9b(0x193)];this[_0x25bf9b(0x1d4)](_0x1db8af,_0x24d331,_0x40711b);}catch(_0x28010e){_0x5daca9[_0x25bf9b(0x18d)](debug,_0x25bf9b(0x16a)+(_0x1db8af&&_0x1db8af[_0x25bf9b(0x1cb)])+_0x25bf9b(0x18c)+_0x28010e);}finally{_0x1db8af&&(testRunMap[_0x25bf9b(0x198)](_0x1db8af['id']),_specStartTimes[_0x25bf9b(0x15c)](_0x1db8af['id']));}}[a14_0x4169c2(0x185)](){}[a14_0x4169c2(0x1c4)](){}[a14_0x4169c2(0x1d4)](_0x33433e,_0x210782,_0x3a63a1){const _0x4d1d42=a14_0x4169c2,_0x5d4249={'FwUfN':function(_0x54226b,_0x1ad5ad){return _0x54226b===_0x1ad5ad;},'toren':_0x4d1d42(0x1bf),'CCxzy':_0x4d1d42(0x1ae),'vPkZZ':_0x4d1d42(0x16e),'RjJYo':function(_0xbdea7b,_0xf6d7df,_0x7fe4eb){return _0xbdea7b(_0xf6d7df,_0x7fe4eb);},'WHXBv':_0x4d1d42(0x180),'GXhOm':function(_0xedafa,_0x417951){return _0xedafa===_0x417951;},'COpkb':_0x4d1d42(0x19e),'Tfxsl':function(_0x1d59f0,_0x124181){return _0x1d59f0!==_0x124181;},'XbTma':function(_0x286026,_0x414cd9){return _0x286026!==_0x414cd9;},'FyRWW':_0x4d1d42(0x1c7),'rbdrM':function(_0x143158,_0x14aa59){return _0x143158&&_0x14aa59;},'qyxmZ':function(_0x2625dd,_0x4efb13){return _0x2625dd===_0x4efb13;},'ZbUYk':_0x4d1d42(0x19a),'dpwkT':_0x4d1d42(0x1a4),'pjZiD':_0x4d1d42(0x161),'oNwJc':_0x4d1d42(0x173),'zlBxd':_0x4d1d42(0x16b),'TyZBt':_0x4d1d42(0x1b5),'phBHA':'finished_at','BDXqK':'failure','hiAwV':_0x4d1d42(0x150),'Klbfr':_0x4d1d42(0x194),'TVKKZ':_0x4d1d42(0x162),'atbre':'expanded','NSAie':function(_0x3029d2,_0x348cfb){return _0x3029d2(_0x348cfb);}};try{const _0x49780f=_0x5d4249[_0x4d1d42(0x1bc)](_0x3a63a1,_0x5d4249['toren'])||_0x5d4249[_0x4d1d42(0x1bc)](_0x3a63a1,_0x5d4249['CCxzy']),_0x421a97=this[_0x4d1d42(0x18f)](_0x33433e),_0x4861ca=_0x421a97?this[_0x4d1d42(0x192)][_0x4d1d42(0x17e)](_0x421a97):_0x5d4249[_0x4d1d42(0x1a9)],_0xc4f6ad=_0x421a97?this[_0x4d1d42(0x1c9)](path[_0x4d1d42(0x16c)](_0x421a97)):null,_0xafe29d=this[_0x4d1d42(0x190)](_0x33433e['failedExpectations']),_0x55b8d5=_0xafe29d?_0xafe29d['message']:undefined,_0x141143=_0xafe29d?_0x5d4249[_0x4d1d42(0x17f)](failureData,_0xafe29d,_0x5d4249[_0x4d1d42(0x1b6)]):[],_0x4f4b33=new Date()[_0x4d1d42(0x18b)](),_0x5dec72=this[_0x4d1d42(0x167)](_0x33433e);_0x5d4249[_0x4d1d42(0x154)](_0x3a63a1,_0x5d4249['COpkb'])&&_0x33433e&&_0x5d4249[_0x4d1d42(0x153)](_0x33433e['id'],undefined)&&_0x5d4249[_0x4d1d42(0x181)](_0x33433e['id'],null)&&_specStartTimes[_0x4d1d42(0x166)](_0x33433e['id'],_0x4f4b33);const _0x45f37c=_0x5d4249[_0x4d1d42(0x154)](_0x3a63a1,_0x5d4249[_0x4d1d42(0x1ca)])?_0x4f4b33:_0x33433e&&_specStartTimes[_0x4d1d42(0x178)](_0x33433e['id'])||null,_0x1b226e={};_0x1b226e['lang']=_0x5d4249[_0x4d1d42(0x1ab)],_0x1b226e[_0x4d1d42(0x1bd)]=null;const _0x51039e={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x210782,'name':_0x33433e[_0x4d1d42(0x179)],'body':_0x1b226e,'scope':_0x5dec72[_0x4d1d42(0x15b)]('\x20'),'scopes':_0x5dec72,'identifier':_0x33433e[_0x4d1d42(0x1cb)],'file_name':_0x4861ca,'vc_filepath':_0x5d4249[_0x4d1d42(0x169)](_0xc4f6ad,_0x421a97)?path[_0x4d1d42(0x1ce)](_0xc4f6ad,_0x421a97):null,'location':_0x4861ca,'result':_0x5d4249['qyxmZ'](_0x3a63a1,_0x5d4249[_0x4d1d42(0x186)])?_0x5d4249[_0x4d1d42(0x170)]:STATUS_MAP[_0x33433e[_0x4d1d42(0x1b1)]]||_0x5d4249[_0x4d1d42(0x1d1)],'failure_reason':_0x55b8d5,'duration_in_ms':_0x5d4249['FwUfN'](typeof _0x33433e[_0x4d1d42(0x1b9)],_0x5d4249['pjZiD'])?_0x33433e[_0x4d1d42(0x1b9)]:null,'started_at':_0x45f37c,'finished_at':_0x49780f?_0x4f4b33:null,'failure':_0x141143,'failure_type':!_0x55b8d5?null:_0x55b8d5[_0x4d1d42(0x1b7)](/AssertionError/)?_0x5d4249[_0x4d1d42(0x1aa)]:_0x5d4249[_0x4d1d42(0x15d)],'retry_of':null};_0x5d4249[_0x4d1d42(0x1a7)](_0x3a63a1,_0x5d4249[_0x4d1d42(0x186)])&&!_0x51039e[_0x5d4249[_0x4d1d42(0x187)]]&&(_0x51039e[_0x5d4249['TyZBt']]=_0x51039e[_0x5d4249['phBHA']]);const _0x5c1cfd=_0x51039e[_0x5d4249['BDXqK']][0x0];_0x5c1cfd&&(_0x51039e[_0x5d4249[_0x4d1d42(0x168)]]=_0x5c1cfd[_0x5d4249[_0x4d1d42(0x1b2)]],_0x51039e[_0x5d4249[_0x4d1d42(0x17a)]]=_0x5c1cfd[_0x5d4249['atbre']]);testhubUtils[_0x4d1d42(0x176)](_0x51039e,_0x3a63a1,_0x33433e,FRAMEWORKS[_0x4d1d42(0x158)]);const _0x535e80={'event_type':_0x5d4249[_0x4d1d42(0x1a7)](_0x3a63a1,_0x5d4249[_0x4d1d42(0x186)])?_0x5d4249[_0x4d1d42(0x1b3)]:_0x3a63a1,'test_run':_0x51039e};return testhubUtils[_0x4d1d42(0x15e)](FRAMEWORKS[_0x4d1d42(0x158)],_0x535e80),SessionHandler[_0x4d1d42(0x18a)](_0x535e80);}catch(_0x217674){_0x5d4249['NSAie'](debug,'Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20'+_0x3a63a1+'\x20:\x20'+_0x217674);}}['_scopes'](_0x18cb65){const _0x42ba3a=a14_0x4169c2,_0x4042c8={'jbHrd':function(_0x111d85,_0x5e18bf){return _0x111d85!==_0x5e18bf;},'Rewmz':function(_0x44ff9e,_0x4941f5){return _0x44ff9e!==_0x4941f5;},'yawrf':function(_0x294245,_0x3f970a){return _0x294245>_0x3f970a;},'vPJhi':function(_0x7cb745,_0x1a82c6){return _0x7cb745(_0x1a82c6);},'DiPnJ':function(_0x463e5c,_0x388d1d){return _0x463e5c-_0x388d1d;}};try{const _0x1da4be=[];let _0x176c23=_0x18cb65&&_0x18cb65['parentSuiteId'];const _0x5351df=new Set();while(_0x4042c8[_0x42ba3a(0x1c8)](_0x176c23,undefined)&&_0x4042c8[_0x42ba3a(0x14e)](_0x176c23,null)&&this[_0x42ba3a(0x175)][_0x42ba3a(0x160)](_0x176c23)&&!_0x5351df[_0x42ba3a(0x160)](_0x176c23)){_0x5351df[_0x42ba3a(0x165)](_0x176c23);const _0x275e1f=this[_0x42ba3a(0x175)][_0x42ba3a(0x178)](_0x176c23);_0x275e1f&&_0x275e1f[_0x42ba3a(0x179)]&&_0x1da4be[_0x42ba3a(0x1d3)](_0x275e1f[_0x42ba3a(0x179)]),_0x176c23=_0x275e1f?_0x275e1f[_0x42ba3a(0x1cf)]:null;}if(_0x4042c8['yawrf'](_0x1da4be['length'],0x0))return _0x1da4be[_0x42ba3a(0x184)]();}catch(_0x6047b){_0x4042c8['vPJhi'](debug,'Exception\x20deriving\x20jasmine\x20scopes\x20for\x20'+(_0x18cb65&&_0x18cb65['fullName'])+_0x42ba3a(0x18c)+_0x6047b);}const _0x4452d8=_0x18cb65&&_0x18cb65[_0x42ba3a(0x1cb)]||'',_0x64be57=_0x18cb65&&_0x18cb65['description']||'';let _0x27e868=_0x4452d8;return _0x64be57&&_0x4452d8[_0x42ba3a(0x1c1)](_0x64be57)&&(_0x27e868=_0x4452d8[_0x42ba3a(0x171)](0x0,_0x4042c8['DiPnJ'](_0x4452d8[_0x42ba3a(0x195)],_0x64be57[_0x42ba3a(0x195)]))[_0x42ba3a(0x1a8)]()),_0x27e868?_0x27e868[_0x42ba3a(0x157)](/\s+/):[];}['_resolveFilePath'](_0x4b4185){const _0x3db2b9=a14_0x4169c2,_0x1da28e={};_0x1da28e['WpxTM']=function(_0xb4cba0,_0x597332){return _0xb4cba0===_0x597332;},_0x1da28e[_0x3db2b9(0x16d)]=function(_0x3f9b36,_0xc78089){return _0x3f9b36+_0xc78089;},_0x1da28e[_0x3db2b9(0x199)]=function(_0x555e88,_0x4710a8){return _0x555e88>_0x4710a8;};const _0xe1987a=_0x1da28e;if(_0x4b4185&&_0x4b4185[_0x3db2b9(0x16f)])return _0x4b4185[_0x3db2b9(0x16f)];if(_0x4b4185&&_0x4b4185[_0x3db2b9(0x1cb)]){if(this['_fileNameByFullName'][_0x4b4185[_0x3db2b9(0x1cb)]])return this[_0x3db2b9(0x1a5)][_0x4b4185[_0x3db2b9(0x1cb)]];let _0x2d1275=null,_0x13d384=-0x1;for(const _0x5a38eb of Object[_0x3db2b9(0x1be)](this['_fileNameByFullName'])){(_0xe1987a['WpxTM'](_0x4b4185[_0x3db2b9(0x1cb)],_0x5a38eb)||_0x4b4185['fullName']['startsWith'](_0xe1987a[_0x3db2b9(0x16d)](_0x5a38eb,'\x20')))&&_0xe1987a[_0x3db2b9(0x199)](_0x5a38eb[_0x3db2b9(0x195)],_0x13d384)&&(_0x2d1275=this[_0x3db2b9(0x1a5)][_0x5a38eb],_0x13d384=_0x5a38eb[_0x3db2b9(0x195)]);}if(_0x2d1275)return _0x2d1275;}return null;}[a14_0x4169c2(0x190)](_0x4fcdad){const _0x46c56c=a14_0x4169c2,_0xfdec2b={};_0xfdec2b['XyDcT']=function(_0x51f66c,_0x565b4b){return _0x51f66c===_0x565b4b;},_0xfdec2b[_0x46c56c(0x17c)]='Spec\x20failed';const _0x5f39a6=_0xfdec2b;if(!Array[_0x46c56c(0x1c3)](_0x4fcdad)||_0x5f39a6['XyDcT'](_0x4fcdad[_0x46c56c(0x195)],0x0))return undefined;const _0x4c803f=[],_0x397de9=[];for(const _0x2be4a2 of _0x4fcdad){_0x2be4a2&&_0x2be4a2[_0x46c56c(0x1ad)]&&_0x4c803f[_0x46c56c(0x1d3)](_0x2be4a2[_0x46c56c(0x1ad)]),_0x2be4a2&&_0x2be4a2[_0x46c56c(0x191)]&&_0x397de9[_0x46c56c(0x1d3)](_0x2be4a2['stack']);}const _0x183cd5=_0x4fcdad[0x0]||{},_0x458c85=_0x4c803f[_0x46c56c(0x15b)]('\x0a')||_0x183cd5[_0x46c56c(0x1ad)]||_0x5f39a6['dJtLC'],_0x125357=_0x397de9['join']('\x0a\x0a')||_0x183cd5[_0x46c56c(0x191)]||_0x458c85,_0x53d4a3={};return _0x53d4a3['message']=_0x458c85,_0x53d4a3[_0x46c56c(0x191)]=_0x125357,_0x53d4a3['matcherName']=_0x183cd5['matcherName'],_0x53d4a3['expected']=_0x183cd5['expected'],_0x53d4a3['actual']=_0x183cd5[_0x46c56c(0x189)],_0x53d4a3;}[a14_0x4169c2(0x1c9)](_0xac57ad){const _0x5e4f09=a14_0x4169c2,_0x562623={};_0x562623[_0x5e4f09(0x19c)]=function(_0x273ede,_0x913b02){return _0x273ede===_0x913b02;},_0x562623[_0x5e4f09(0x172)]=function(_0x441527,_0x36bea3){return _0x441527===_0x36bea3;},_0x562623[_0x5e4f09(0x1d0)]=function(_0x3a41b7,_0x1a86b7){return _0x3a41b7===_0x1a86b7;},_0x562623[_0x5e4f09(0x1b8)]=_0x5e4f09(0x1c6),_0x562623[_0x5e4f09(0x183)]=_0x5e4f09(0x1a1);const _0x53b192=_0x562623,_0xfa459f=path[_0x5e4f09(0x1d6)];if(_0x53b192[_0x5e4f09(0x19c)](_0xac57ad,null)||_0x53b192[_0x5e4f09(0x172)](_0xac57ad,'')||_0x53b192[_0x5e4f09(0x19c)](_0xac57ad,_0xfa459f)||_0x53b192[_0x5e4f09(0x1d0)](_0xac57ad,path[_0x5e4f09(0x16c)](_0xac57ad)))return null;try{return fs[_0x5e4f09(0x156)](path[_0x5e4f09(0x15b)](_0xac57ad,_0x53b192[_0x5e4f09(0x1b8)],_0x53b192['TAuWr'])),_0xac57ad;}catch(_0x228689){return this[_0x5e4f09(0x1c9)](path[_0x5e4f09(0x16c)](_0xac57ad));}}}module[a14_0x4169c2(0x14f)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a15_0x196bf0=a15_0x5b38;(function(_0x4b1e1e,_0x34f03a){const _0x1b1815=a15_0x5b38,_0x17c0bc=_0x4b1e1e();while(!![]){try{const _0x460660=-parseInt(_0x1b1815(0x18a))/0x1*(-parseInt(_0x1b1815(0x1c0))/0x2)+-parseInt(_0x1b1815(0x1dd))/0x3+-parseInt(_0x1b1815(0x1c1))/0x4+parseInt(_0x1b1815(0x184))/0x5*(parseInt(_0x1b1815(0x190))/0x6)+-parseInt(_0x1b1815(0x1c8))/0x7+-parseInt(_0x1b1815(0x1ad))/0x8*(-parseInt(_0x1b1815(0x1b1))/0x9)+-parseInt(_0x1b1815(0x187))/0xa;if(_0x460660===_0x34f03a)break;else _0x17c0bc['push'](_0x17c0bc['shift']());}catch(_0x315c7a){_0x17c0bc['push'](_0x17c0bc['shift']());}}}(a15_0x4a91,0xae851));const fs=require('fs'),path=require(a15_0x196bf0(0x131)),util=require(a15_0x196bf0(0x194)),{spawn}=require('child_process'),glob=require(a15_0x196bf0(0x15c)),pLimit=require(a15_0x196bf0(0x14f)),logger=require('../../helpers/logger')[a15_0x196bf0(0x160)],helper=require(a15_0x196bf0(0x1a4)),utilities=require(a15_0x196bf0(0x13a)),constants=require('../utils/constants'),TestHubHandler=require(a15_0x196bf0(0x1a1)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a15_0x196bf0(0x19d)),{FRAMEWORKS}=require(a15_0x196bf0(0x1aa)),PerformanceTester=require(a15_0x196bf0(0x1a2)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],BrowserstackCLI=require(a15_0x196bf0(0x142)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),getMaxWorkers=(_0x442e73,_0x31485e)=>{const _0x183be7=a15_0x196bf0,_0x4b5330={'fPWEn':function(_0x30e687,_0x234578){return _0x30e687(_0x234578);}};let _0x361f16=0x1;if(!helper[_0x183be7(0x1c5)](_0x31485e[_0x183be7(0x185)]))_0x361f16=_0x4b5330[_0x183be7(0x132)](parseInt,_0x31485e[_0x183be7(0x185)]);else!helper[_0x183be7(0x1c5)](_0x442e73[_0x183be7(0x156)])&&(_0x361f16=_0x442e73[_0x183be7(0x156)]);return _0x361f16;},resolveJasmineConfigPath=()=>{const _0x50524e=a15_0x196bf0,_0x277850={};_0x277850[_0x50524e(0x17c)]='spec/support/jasmine.json';const _0x4eb2f7=_0x277850,_0x2922b0=[];process[_0x50524e(0x165)][_0x50524e(0x154)]&&_0x2922b0[_0x50524e(0x167)](path[_0x50524e(0x138)](process['cwd'](),process[_0x50524e(0x165)][_0x50524e(0x154)]));_0x2922b0[_0x50524e(0x167)](path[_0x50524e(0x138)](process[_0x50524e(0x164)](),_0x4eb2f7['GdgKS']));for(const _0x56ebc5 of _0x2922b0){try{if(fs[_0x50524e(0x192)](_0x56ebc5))return _0x56ebc5;}catch(_0x324505){}}return null;},enumerateSpecFiles=_0x342709=>{const _0x26b782=a15_0x196bf0,_0x294814={'WSMvd':function(_0x302a0a,_0x5564c7){return _0x302a0a(_0x5564c7);},'EKDcE':function(_0x609fd8,_0x155d2c){return _0x609fd8>_0x155d2c;},'mnpDf':function(_0x4d9ca3,_0x33132a){return _0x4d9ca3(_0x33132a);},'TpLQx':function(_0x193851,_0x225508){return _0x193851<_0x225508;},'KLovt':function(_0x4cf6f8,_0x2f79a7){return _0x4cf6f8===_0x2f79a7;},'FidGW':_0x26b782(0x176),'NwsYo':function(_0x36ee15,_0x3662e9){return _0x36ee15>_0x3662e9;},'QlglK':function(_0x11f4f3,_0x124ee8,_0x3300c7){return _0x11f4f3(_0x124ee8,_0x3300c7);},'EKCsS':function(_0x4d2f11){return _0x4d2f11();},'UnfWi':_0x26b782(0x1d3),'xecdk':_0x26b782(0x16a),'jQSTX':function(_0x226c8d,_0x546ef2){return _0x226c8d>_0x546ef2;},'DjHFk':_0x26b782(0x14d),'hUfOk':function(_0x1d9813,_0x1cb864,_0xf78707){return _0x1d9813(_0x1cb864,_0xf78707);},'etQdl':function(_0x2ed9d2,_0x4e114a){return _0x2ed9d2>_0x4e114a;}};try{if(testOpsHelper[_0x26b782(0x149)]()){const _0x1e4bd9=testOpsHelper['parseFileNames'](process[_0x26b782(0x165)][_0x26b782(0x18f)]);if(Array[_0x26b782(0x1b3)](_0x1e4bd9)&&_0x294814[_0x26b782(0x158)](_0x1e4bd9[_0x26b782(0x14c)],0x0))return _0x1e4bd9[_0x26b782(0x150)](_0x4c8f51=>path[_0x26b782(0x138)](process[_0x26b782(0x164)](),_0x4c8f51[_0x26b782(0x175)]()))['filter'](Boolean);}}catch(_0x28d83b){_0x294814[_0x26b782(0x1d2)](debug,'Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20'+util['format'](_0x28d83b));}const _0xecc2ed=[];try{for(let _0x156ed7=0x1;_0x294814['TpLQx'](_0x156ed7,_0x342709[_0x26b782(0x14c)]);_0x156ed7++){const _0x51116d=_0x342709[_0x156ed7];_0x294814['KLovt'](typeof _0x51116d,_0x294814['FidGW'])&&!_0x51116d[_0x26b782(0x133)]('-')&&_0xecc2ed[_0x26b782(0x167)](_0x51116d);}}catch(_0x1dd0d8){}const _0x588ace={'cwd':process[_0x26b782(0x164)](),'absolute':!![],'nodir':!![]},_0x5e70f4=(_0x502593,_0x24a045)=>{const _0x5a649d=_0x26b782,_0x4faaec=[];for(const _0x551d97 of _0x502593){try{const _0x30b115=_0x24a045?path[_0x5a649d(0x171)][_0x5a649d(0x13f)](_0x24a045,_0x551d97):_0x551d97,_0x1c14ce=glob['globSync'](_0x30b115,_0x588ace);Array[_0x5a649d(0x1b3)](_0x1c14ce)&&_0x4faaec[_0x5a649d(0x167)](..._0x1c14ce);}catch(_0x331f0f){_0x294814[_0x5a649d(0x135)](debug,'Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27'+_0x551d97+_0x5a649d(0x1c6)+util[_0x5a649d(0x1b2)](_0x331f0f));}}return _0x4faaec;};if(_0x294814[_0x26b782(0x183)](_0xecc2ed['length'],0x0)){const _0x1ebf44=_0x294814[_0x26b782(0x1a0)](_0x5e70f4,_0xecc2ed,null);if(_0x294814['EKDcE'](_0x1ebf44[_0x26b782(0x14c)],0x0))return Array['from'](new Set(_0x1ebf44));return _0xecc2ed['map'](_0x543419=>path[_0x26b782(0x138)](process[_0x26b782(0x164)](),_0x543419));}try{const _0x1f2343=_0x294814[_0x26b782(0x148)](resolveJasmineConfigPath);if(_0x1f2343){const _0x5b0c1e=JSON[_0x26b782(0x169)](fs[_0x26b782(0x1a7)](_0x1f2343,_0x294814[_0x26b782(0x1b0)])),_0x271891=_0x5b0c1e[_0x26b782(0x1af)]||_0x294814[_0x26b782(0x157)],_0x453702=Array[_0x26b782(0x1b3)](_0x5b0c1e['spec_files'])&&_0x294814[_0x26b782(0x191)](_0x5b0c1e[_0x26b782(0x15e)][_0x26b782(0x14c)],0x0)?_0x5b0c1e[_0x26b782(0x15e)]:[_0x294814[_0x26b782(0x16c)]],_0x160db7=_0x294814[_0x26b782(0x144)](_0x5e70f4,_0x453702,_0x271891);if(_0x294814[_0x26b782(0x195)](_0x160db7[_0x26b782(0x14c)],0x0))return Array[_0x26b782(0x1c7)](new Set(_0x160db7));}}catch(_0x55c2b1){_0x294814[_0x26b782(0x1d2)](debug,_0x26b782(0x146)+util[_0x26b782(0x1b2)](_0x55c2b1));}return null;};function a15_0x4a91(){const _0x126d00=['trim','string','GCDxm','PogdE','specArgs','slice','end','GdgKS','xWCYU','poxhc','ookYM','getHubUrl','IcXIk','error\x20removing\x20tcg\x20config\x20file','NwsYo','155mXWPuK','parallelsPerPlatform','jasmine\x20child\x20(platformIndex=','1803020bGHUxv','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','JwZRP','206289jsqcef','isCLIEnabled','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','stringify','BROWSERSTACK_RERUN_TESTS','133404VlZSzK','jQSTX','existsSync','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','util','etQdl','exports','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','qtnQp','wqcoX','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','config','test.setup.js','../../helpers/test-observability/utils','close','\x20platform(s),\x20parallelsPerPlatform=','QlglK','../../helpers/testhub/testhubHandler','../../helpers/performance/performance-tester','error','../../helpers/helper','validPlatformsPresent','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','readFileSync','assign','yQMag','../../helpers/test-observability/constants','platform','find','8luGrko','Running\x20your\x20Jasmine\x20tests\x20across\x20','spec_dir','UnfWi','4133214XzwzjA','format','isArray','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','getPackageVersion','exitCode','finalExecution','\x20:\x20','KrEPm','vUVSV','AjSZd','npx','start','ognED','aYSyn','10QqpvTh','3503924zQtjcV','\x20work-item(s),\x20max\x20','useW3C','printBuildLink','isUndefined','\x27\x20:\x20','from','374024eewSkb','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','true','handleApp','SSrPd','UuOHq','SDK_SETUP','testObservability','wjZer','initialize','mnpDf','utf8','yyHTS','QeeJO','platformIndex','rPrfr','JbKYp','ZprDt',',\x20specs=','info','jWfLA','1066191ksGQMf','debug','all','path','fPWEn','startsWith','stop','WSMvd','eTJcI','BROWSERSTACK_JASMINE_PARALLELS','resolve','--helper=','../../helpers/utilities',';\x20proceeding\x20without\x20injection','getInstance','BROWSERSTACK_CLI_BIN_SESSION_ID','nOYfV','join','launchBuild','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','../v2/browserstackCLI','xBOWR','hUfOk','binSessionId','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','setupTCGAuth','EKCsS','shouldReRunObservabilityTests','jasmine','\x20concurrent)','length','**/*[sS]pec.?(m)js','LOpRr','p-limit','map','xpcUu','JBftK',')\x20:\x20','JASMINE_CONFIG_PATH','@playwright/test','maxWorkers','xecdk','EKDcE','HuDCy','BROWSERSTACK_TEST_OBSERVABILITY_YML','getTCGConfigFilePaths','glob','jGaZJ','spec_files','platforms','winstonLogger','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','GUAeo','capability','cwd','env','proxySettings','push','win32','parse','spec','BROWSERSTACK_CAPABILITIES','DjHFk','inherit','Dxagk','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','FRAMEWORKS','posix',')\x20exited\x20with\x20code\x20','JASMINE','filter'];a15_0x4a91=function(){return _0x126d00;};return a15_0x4a91();}function a15_0x5b38(_0x42fb58,_0x340563){const _0x4a91cb=a15_0x4a91();return a15_0x5b38=function(_0x5b38f8,_0x1e9f82){_0x5b38f8=_0x5b38f8-0x12f;let _0x564e62=_0x4a91cb[_0x5b38f8];return _0x564e62;},a15_0x5b38(_0x42fb58,_0x340563);}async function run(_0x159b38,_0x510627,_0x4d1943){const _0x2bbfc3=a15_0x196bf0,_0x2cfabe={'xpcUu':function(_0x501541,_0xe0ded3){return _0x501541>_0xe0ded3;},'QeeJO':function(_0x52fc2b,_0x50f320){return _0x52fc2b>_0x50f320;},'gNmvF':_0x2bbfc3(0x130),'wjZer':function(_0x536d01,_0x3d8de7){return _0x536d01(_0x3d8de7);},'wqcoX':function(_0x437985,_0x3eebf4){return _0x437985||_0x3eebf4;},'KrEPm':function(_0x5504ee,_0x256a47,_0x3159a5,_0x4a45ba){return _0x5504ee(_0x256a47,_0x3159a5,_0x4a45ba);},'eTJcI':_0x2bbfc3(0x1bc),'xWCYU':_0x2bbfc3(0x14a),'yyHTS':function(_0x3e335c,_0x2b77cf){return _0x3e335c===_0x2b77cf;},'IcXIk':_0x2bbfc3(0x168),'yQMag':_0x2bbfc3(0x16d),'aYSyn':_0x2bbfc3(0x19e),'mEoaf':_0x2bbfc3(0x1a3),'Dxagk':function(_0x30f466,_0x43f3af){return _0x30f466(_0x43f3af);},'kpkCW':_0x2bbfc3(0x155),'tUiSA':function(_0x266e97){return _0x266e97();},'qtnQp':function(_0x46d16f,_0x4bccc8,_0x3c0745,_0x34ae62){return _0x46d16f(_0x4bccc8,_0x3c0745,_0x34ae62);},'ognED':function(_0xbbb3d9,_0x35e0b7,_0x34b697,_0x51e56d){return _0xbbb3d9(_0x35e0b7,_0x34b697,_0x51e56d);},'poxhc':function(_0x20414f,_0x20c212){return _0x20414f!=_0x20c212;},'ZprDt':_0x2bbfc3(0x1ca),'UuOHq':function(_0xd2009,_0x444d24){return _0xd2009(_0x444d24);},'vUVSV':function(_0x32d454,_0x17d387){return _0x32d454(_0x17d387);},'xBOWR':function(_0x234fba,_0x35a629,_0x1d7181){return _0x234fba(_0x35a629,_0x1d7181);},'rPrfr':function(_0x3970a5,_0x2a6c58){return _0x3970a5*_0x2a6c58;},'OCcqY':function(_0x51b438,_0x191d57){return _0x51b438(_0x191d57);},'NFuoD':function(_0x20b21f,_0x23d7f3){return _0x20b21f(_0x23d7f3);},'ookYM':_0x2bbfc3(0x19c),'HuDCy':function(_0x49d2f8,_0x5bf43b){return _0x49d2f8(_0x5bf43b);},'GUAeo':function(_0x2e4252,_0xe882f6){return _0x2e4252(_0xe882f6);},'nOYfV':function(_0x5ed854,_0x1190fd){return _0x5ed854(_0x1190fd);},'SSrPd':function(_0x3e0dbe,_0x17b352){return _0x3e0dbe<_0x17b352;},'jGaZJ':function(_0x324b1c,_0x59c02c){return _0x324b1c>_0x59c02c;},'JbKYp':function(_0x472eab,_0x1dba17){return _0x472eab(_0x1dba17);},'yXkmD':function(_0xe21770,_0x4d7402){return _0xe21770>_0x4d7402;},'JwZRP':function(_0x5d9399,_0x483e6a){return _0x5d9399(_0x483e6a);},'JBftK':_0x2bbfc3(0x182)},_0x553bcc=helper[_0x2bbfc3(0x1b5)](_0x2cfabe['kpkCW']);global['__isPlaywrightInstalled']=!!_0x553bcc;const _0xac6bd4=_0x2cfabe['tUiSA'](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0xac6bd4;helper['isBrowserstackInfra']()?(await _0x4d1943[_0x2bbfc3(0x1d1)](_0x159b38),await helper[_0x2bbfc3(0x1cb)](_0x4d1943[_0x2bbfc3(0x19b)])):await _0x4d1943[_0x2bbfc3(0x147)]();if(_0x553bcc)await _0x2cfabe[_0x2bbfc3(0x198)](checkPwandBootstrapCli,_0x553bcc,constants['FRAMEWORKS'][_0x2bbfc3(0x173)],_0x4d1943);else _0xac6bd4&&await _0x2cfabe[_0x2bbfc3(0x1be)](checkPuppeteerAndBootstrapCli,_0xac6bd4,constants[_0x2bbfc3(0x170)][_0x2bbfc3(0x173)],_0x4d1943);if(!_0x4d1943[_0x2bbfc3(0x19b)])return;_0x2cfabe[_0x2bbfc3(0x17e)](_0x4d1943['config']['testObservability'],null)?process['env'][_0x2bbfc3(0x15a)]=_0x4d1943[_0x2bbfc3(0x19b)][_0x2bbfc3(0x1cf)]:process[_0x2bbfc3(0x165)][_0x2bbfc3(0x15a)]=_0x2cfabe[_0x2bbfc3(0x1d9)];!helper[_0x2bbfc3(0x1c5)](_0x4d1943[_0x2bbfc3(0x19b)]['accessibilityOptions'])&&(process['env'][_0x2bbfc3(0x1a6)]=JSON['stringify'](_0x4d1943['config']['accessibilityOptions']));try{await TestHubHandler[_0x2bbfc3(0x140)](FRAMEWORKS[_0x2bbfc3(0x173)],_0x4d1943);}catch(_0xc4e54f){logger[_0x2bbfc3(0x1a3)](_0x2bbfc3(0x18c)+util[_0x2bbfc3(0x1b2)](_0xc4e54f)),_0x2cfabe[_0x2bbfc3(0x1cd)](debug,_0x2bbfc3(0x16f)+util[_0x2bbfc3(0x1b2)](_0xc4e54f));}let _0x4b719d=![],_0x2612b5=[];try{_0x4b719d=helper[_0x2bbfc3(0x1c3)](_0x4d1943['config']),_0x2612b5=helper['prepareCapabilities'](_0x4d1943['config'],_0x4b719d,constants[_0x2bbfc3(0x170)][_0x2bbfc3(0x173)]),process[_0x2bbfc3(0x165)][_0x2bbfc3(0x16b)]=JSON[_0x2bbfc3(0x18e)](_0x2612b5);}catch(_0x86c08d){_0x2cfabe[_0x2bbfc3(0x1ba)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util['format'](_0x86c08d));}let _0x2f983c=null,_0x595f29=![];try{_0x2f983c=helper[_0x2bbfc3(0x180)](_0x4d1943[_0x2bbfc3(0x19b)]),_0x595f29=helper[_0x2bbfc3(0x1a5)](_0x4d1943[_0x2bbfc3(0x19b)]);}catch(_0x1379c4){_0x2cfabe[_0x2bbfc3(0x16e)](debug,_0x2bbfc3(0x161)+util[_0x2bbfc3(0x1b2)](_0x1379c4));}const _0x7b4c57=_0x5eb030=>{const _0x4604ee=_0x2bbfc3,_0x19efd5=Array[_0x4604ee(0x1b3)](_0x2612b5)&&_0x2cfabe[_0x4604ee(0x151)](_0x2612b5[_0x4604ee(0x14c)],_0x5eb030)?_0x2612b5[_0x5eb030]:Array[_0x4604ee(0x1b3)](_0x2612b5)&&_0x2cfabe[_0x4604ee(0x1d5)](_0x2612b5['length'],0x0)?_0x2612b5[0x0]:{};return{'server':_0x2f983c,'capability':_0x19efd5,'proxySettings':_0x4d1943['config'][_0x4604ee(0x166)],'platform':helper['getPlatformName'](_0x19efd5),'browserStackLogLevel':_0x4d1943[_0x4604ee(0x19b)]['logLevel'],'platformIndex':_0x5eb030,'framework':constants[_0x4604ee(0x170)][_0x4604ee(0x173)],'platformCaps':_0x595f29?Object[_0x4604ee(0x1a8)]({'index':_0x5eb030},_0x4d1943['config'][_0x4604ee(0x15f)][_0x5eb030]):{'index':_0x5eb030}};};let _0x25a6ce=0x1,_0x4ecc4b=0x1,_0x4ddc53=0x1;try{_0x25a6ce=_0x2cfabe[_0x2bbfc3(0x143)](getMaxWorkers,_0x159b38,_0x4d1943[_0x2bbfc3(0x19b)]),_0x4ecc4b=_0x595f29?_0x4d1943[_0x2bbfc3(0x19b)][_0x2bbfc3(0x15f)]['length']:0x1,_0x4ddc53=_0x2cfabe[_0x2bbfc3(0x1d7)](_0x4ecc4b,_0x25a6ce),process[_0x2bbfc3(0x165)][_0x2bbfc3(0x137)]=_0x2cfabe[_0x2bbfc3(0x1ba)](String,_0x4ddc53);}catch(_0x10c92c){_0x2cfabe['OCcqY'](debug,_0x2bbfc3(0x193)+util['format'](_0x10c92c));}try{BrowserstackCLI['getInstance']()[_0x2bbfc3(0x145)]&&(process[_0x2bbfc3(0x165)][_0x2bbfc3(0x13d)]=BrowserstackCLI[_0x2bbfc3(0x13c)]()[_0x2bbfc3(0x145)]);}catch(_0xfff9b1){_0x2cfabe['NFuoD'](debug,_0x2bbfc3(0x1c9)+util[_0x2bbfc3(0x1b2)](_0xfff9b1));}const _0xdb304d=[];try{const _0x57cb17=path[_0x2bbfc3(0x138)](__dirname,_0x2cfabe[_0x2bbfc3(0x17f)]);fs[_0x2bbfc3(0x192)](_0x57cb17)?_0xdb304d[_0x2bbfc3(0x167)](_0x2bbfc3(0x139)+_0x57cb17):_0x2cfabe[_0x2bbfc3(0x159)](debug,_0x2bbfc3(0x188)+_0x57cb17+_0x2bbfc3(0x13b));}catch(_0x4ef760){_0x2cfabe[_0x2bbfc3(0x162)](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util['format'](_0x4ef760));}const _0x41b6b9=_0x510627[_0x2bbfc3(0x17a)](0x1),_0x33fac7=_0x2cfabe[_0x2bbfc3(0x13e)](enumerateSpecFiles,_0x510627),_0x17e95e=[];for(let _0x152902=0x0;_0x2cfabe[_0x2bbfc3(0x1cc)](_0x152902,_0x4ecc4b);_0x152902++){if(_0x2cfabe[_0x2bbfc3(0x15d)](_0x25a6ce,0x1)&&Array['isArray'](_0x33fac7)&&_0x2cfabe[_0x2bbfc3(0x1d5)](_0x33fac7[_0x2bbfc3(0x14c)],0x0))for(const _0x160bbd of _0x33fac7){const _0x47a880={};_0x47a880[_0x2bbfc3(0x1d6)]=_0x152902,_0x47a880[_0x2bbfc3(0x179)]=[_0x160bbd],_0x17e95e[_0x2bbfc3(0x167)](_0x47a880);}else{const _0x12123f={};_0x12123f[_0x2bbfc3(0x1d6)]=_0x152902,_0x12123f[_0x2bbfc3(0x179)]=_0x33fac7,_0x17e95e['push'](_0x12123f);}}logger[_0x2bbfc3(0x1db)](_0x2bbfc3(0x1ae)+_0x4ecc4b+_0x2bbfc3(0x19f)+_0x25a6ce+'\x20('+_0x17e95e[_0x2bbfc3(0x14c)]+_0x2bbfc3(0x1c2)+_0x4ddc53+_0x2bbfc3(0x14b)),PerformanceTester[_0x2bbfc3(0x17b)](PerformanceEvents[_0x2bbfc3(0x1ce)]);const _0x379a1e=_0x167f0e=>new Promise(_0x48d0f3=>{const _0x14ed53=_0x2bbfc3,_0x26f52c={'PogdE':_0x2cfabe['gNmvF'],'GCDxm':function(_0x20eb88,_0x1469c1){const _0x1b19c2=a15_0x5b38;return _0x2cfabe[_0x1b19c2(0x1d0)](_0x20eb88,_0x1469c1);},'LOpRr':function(_0x5dbe65,_0x5e997f){const _0x505050=a15_0x5b38;return _0x2cfabe[_0x505050(0x199)](_0x5dbe65,_0x5e997f);},'AjSZd':function(_0x1c45d0,_0x3c5363){const _0x5f0c66=a15_0x5b38;return _0x2cfabe[_0x5f0c66(0x1d0)](_0x1c45d0,_0x3c5363);},'jWfLA':function(_0x360ed1,_0x1eb374){return _0x2cfabe['wjZer'](_0x360ed1,_0x1eb374);}};let _0x2cec78;try{const _0x54182b=_0x2cfabe[_0x14ed53(0x1d0)](_0x7b4c57,_0x167f0e['platformIndex']);_0x2cec78=Object[_0x14ed53(0x1a8)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x54182b),'BROWSERSTACK_CAPABILITIES':JSON[_0x14ed53(0x18e)]([_0x54182b[_0x14ed53(0x163)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x1fb128){_0x2cfabe[_0x14ed53(0x1d0)](debug,_0x14ed53(0x1b4)+_0x167f0e[_0x14ed53(0x1d6)]+_0x14ed53(0x1b8)+util[_0x14ed53(0x1b2)](_0x1fb128)),_0x2cec78=Object['assign']({},process[_0x14ed53(0x165)]);}const _0x286145=Array['isArray'](_0x167f0e[_0x14ed53(0x179)])?_0x167f0e[_0x14ed53(0x179)]:[],_0xae4c70=_0x2cfabe[_0x14ed53(0x151)](_0x286145['length'],0x0)?_0x41b6b9[_0x14ed53(0x174)](_0x1affae=>typeof _0x1affae===_0x14ed53(0x176)&&_0x1affae['startsWith']('-')):_0x41b6b9,_0x2d53cc=[..._0xdb304d,..._0xae4c70,..._0x286145];try{const _0xe37bd=_0x2cfabe[_0x14ed53(0x1b9)](spawn,_0x2cfabe[_0x14ed53(0x136)],[_0x2cfabe[_0x14ed53(0x17d)],..._0x2d53cc],{'shell':_0x2cfabe[_0x14ed53(0x1d4)](process[_0x14ed53(0x1ab)],_0x2cfabe[_0x14ed53(0x181)]),'stdio':_0x2cfabe[_0x14ed53(0x1a9)],'env':_0x2cec78});_0xe37bd['on'](_0x2cfabe[_0x14ed53(0x1bf)],_0x242423=>{const _0x21d44b=_0x14ed53;logger[_0x21d44b(0x12f)](_0x21d44b(0x186)+_0x167f0e[_0x21d44b(0x1d6)]+_0x21d44b(0x1da)+(_0x286145['length']?_0x286145[_0x21d44b(0x13f)](','):_0x26f52c[_0x21d44b(0x178)])+_0x21d44b(0x172)+_0x242423),_0x26f52c[_0x21d44b(0x177)](_0x48d0f3,_0x26f52c[_0x21d44b(0x14e)](_0x242423,0x0));}),_0xe37bd['on'](_0x2cfabe['mEoaf'],_0x3b3682=>{const _0x2811dd=_0x14ed53;_0x26f52c[_0x2811dd(0x1bb)](debug,_0x2811dd(0x19a)+_0x167f0e[_0x2811dd(0x1d6)]+_0x2811dd(0x153)+util[_0x2811dd(0x1b2)](_0x3b3682)),_0x26f52c[_0x2811dd(0x1dc)](_0x48d0f3,0x1);});}catch(_0x1cb5bd){_0x2cfabe[_0x14ed53(0x1d0)](debug,_0x14ed53(0x18d)+_0x167f0e[_0x14ed53(0x1d6)]+_0x14ed53(0x153)+util[_0x14ed53(0x1b2)](_0x1cb5bd)),_0x2cfabe[_0x14ed53(0x16e)](_0x48d0f3,0x1);}}),_0x39c8da=_0x2cfabe[_0x2bbfc3(0x1d8)](pLimit,_0x2cfabe['yXkmD'](_0x4ddc53,0x0)?_0x4ddc53:0x1),_0x4cbca5=await Promise[_0x2bbfc3(0x130)](_0x17e95e[_0x2bbfc3(0x150)](_0x50b137=>_0x39c8da(()=>_0x379a1e(_0x50b137))));PerformanceTester[_0x2bbfc3(0x1bd)](PerformanceEvents['SDK_CLEANUP']);const _0x245a27=_0x4cbca5[_0x2bbfc3(0x1ac)](_0x5f481e=>_0x5f481e!==0x0)||0x0;process[_0x2bbfc3(0x1b6)]=_0x245a27,logger[_0x2bbfc3(0x12f)](_0x2bbfc3(0x141)+_0x245a27);const _0xcdf06f=BrowserstackCLI[_0x2bbfc3(0x18b)]();try{await TestHubHandler[_0x2bbfc3(0x134)](),await BrowserstackCLI['getInstance']()[_0x2bbfc3(0x134)]();}catch(_0x4cd3c8){_0x2cfabe[_0x2bbfc3(0x189)](debug,_0x2bbfc3(0x197)+util[_0x2bbfc3(0x1b2)](_0x4cd3c8));}try{const {browserstackFolderPath:_0x15dc78,tcgConfigPath:_0x5652da}=helper[_0x2bbfc3(0x15b)]();fs['unlinkSync'](_0x5652da),fs['rmdirSync'](_0x15dc78);}catch(_0x26b56c){logger[_0x2bbfc3(0x12f)](_0x2cfabe[_0x2bbfc3(0x152)],_0x26b56c);}testOpsHelper[_0x2bbfc3(0x1c4)](),await utilities[_0x2bbfc3(0x1b7)](_0x4d1943,_0xcdf06f);}module[a15_0x196bf0(0x196)]=run;
|
|
2
|
+
'use strict';const a15_0xf67c4=a15_0x1bd4;(function(_0x403573,_0x274e58){const _0x875e2b=a15_0x1bd4,_0x4b7556=_0x403573();while(!![]){try{const _0x13bffe=-parseInt(_0x875e2b(0x17a))/0x1*(-parseInt(_0x875e2b(0x10e))/0x2)+-parseInt(_0x875e2b(0x11b))/0x3*(parseInt(_0x875e2b(0x182))/0x4)+-parseInt(_0x875e2b(0xf3))/0x5*(parseInt(_0x875e2b(0x16b))/0x6)+parseInt(_0x875e2b(0xff))/0x7+-parseInt(_0x875e2b(0x10b))/0x8+-parseInt(_0x875e2b(0x125))/0x9+parseInt(_0x875e2b(0x11f))/0xa*(parseInt(_0x875e2b(0x162))/0xb);if(_0x13bffe===_0x274e58)break;else _0x4b7556['push'](_0x4b7556['shift']());}catch(_0x1c93ec){_0x4b7556['push'](_0x4b7556['shift']());}}}(a15_0x3125,0x89f3d));function a15_0x3125(){const _0x20aac7=['../../helpers/utilities','__isPlaywrightInstalled','TSOqA','ebqbW','env','15532DJWmlx','yUZNJ','shouldReRunObservabilityTests','isUndefined','cMngy','JASMINE','--helper=','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','BROWSERSTACK_CAPABILITIES','20436zaimsB','kckOY','spec_files','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','end','../utils/constants','format','startsWith','map','UjyQh','length','validPlatformsPresent','isCLIEnabled','BROWSERSTACK_CLI_BIN_SESSION_ID','PTzQh','457817mhOxKE','initialize','exitCode','printBuildLink','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','getPackageVersion','gAGwi','../../helpers/test-observability/utils','1397524hnnUaA','GXhtp','AwBUu','path','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','../../helpers/helper','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','Running\x20your\x20Jasmine\x20tests\x20across\x20','IPSKr','true','PacpW','ObVxp','izsEy','kZhFP','isArray','FdhRj','platform','getTCGConfigFilePaths','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','push','XZyYm','getInstance','accessibilityOptions','test.setup.js','error','platforms','useW3C','prepareCapabilities','info','55AZlqUo','qIXjw','FRAMEWORKS','p-limit','lXqda','exports','win32',',\x20specs=',';\x20proceeding\x20without\x20injection','\x20concurrent)','config','\x27\x20:\x20','4302564wfHIub','rmdirSync','../../helpers/test-observability/constants','__isPuppeteerInstalled','BROWSERSTACK_TEST_OBSERVABILITY_YML','SDK_SETUP','sKkzs','slice','sQcow','../v2/browserstackCLI','error\x20removing\x20tcg\x20config\x20file','hIsFv','5424752YjRyKX','parse','lSUJD','2lPVmJl','stringify','spec_dir','QpahJ','jeYEM','IsMxG','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','stop','SDK_CLEANUP','parallelsPerPlatform','iMzFs','specArgs','**/*[sS]pec.?(m)js','3oaKOfi','setupTCGAuth','NSzEK','binSessionId','6050dRWsnG','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','join','BROWSERSTACK_RERUN_TESTS','YbIcL','EVENTS','2670615LAKeVG','string','../../helpers/puppeteer-helper','UQvRs','nubwL','ibJUw','launchBuild','existsSync','../../helpers/performance/performance-tester','glob','resolve','\x20platform(s),\x20parallelsPerPlatform=','start','jasmine\x20child\x20(platformIndex=','cwd','../../helpers/performance/constants','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','from','mEFUf','Jsyqy','finalExecution','child_process','isBrowserstackInfra','platformIndex','proxySettings','capability','CtBso','CszoS','assign','nFDOF','npx','\x20:\x20','getHubUrl','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','handleApp','zoZIU','BUJsO','globSync','parseFileNames','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testObservability','fgfMG','debug','yMlwW','TLhAd','WtVLz','HGNfz','maxWorkers','JASMINE_CONFIG_PATH','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','MmgYu',')\x20:\x20','filter','doEXA','readFileSync','\x20work-item(s),\x20max\x20'];a15_0x3125=function(){return _0x20aac7;};return a15_0x3125();}function a15_0x1bd4(_0x1d0e10,_0x3bf96d){const _0x31256a=a15_0x3125();return a15_0x1bd4=function(_0x1bd40c,_0x124b22){_0x1bd40c=_0x1bd40c-0xd6;let _0x16c8bd=_0x31256a[_0x1bd40c];return _0x16c8bd;},a15_0x1bd4(_0x1d0e10,_0x3bf96d);}const fs=require('fs'),path=require(a15_0xf67c4(0xd8)),util=require('util'),{spawn}=require(a15_0xf67c4(0x13a)),glob=require(a15_0xf67c4(0x12e)),pLimit=require(a15_0xf67c4(0xf6)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a15_0xf67c4(0xdb)),utilities=require(a15_0xf67c4(0x15d)),constants=require(a15_0xf67c4(0x170)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a15_0xf67c4(0x181)),{debug}=require(a15_0xf67c4(0x181)),{FRAMEWORKS}=require(a15_0xf67c4(0x101)),PerformanceTester=require(a15_0xf67c4(0x12d)),PerformanceEvents=require(a15_0xf67c4(0x134))[a15_0xf67c4(0x124)],BrowserstackCLI=require(a15_0xf67c4(0x108)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0xf67c4(0x127)),getMaxWorkers=(_0x3693ab,_0x27b089)=>{const _0x427f09=a15_0xf67c4,_0x5d5225={'TLhAd':function(_0x331524,_0x266ebc){return _0x331524(_0x266ebc);}};let _0x419e37=0x1;if(!helper['isUndefined'](_0x27b089['parallelsPerPlatform']))_0x419e37=_0x5d5225[_0x427f09(0x151)](parseInt,_0x27b089[_0x427f09(0x117)]);else!helper['isUndefined'](_0x3693ab[_0x427f09(0x154)])&&(_0x419e37=_0x3693ab[_0x427f09(0x154)]);return _0x419e37;},resolveJasmineConfigPath=()=>{const _0x3e0f87=a15_0xf67c4,_0xaf08a0={};_0xaf08a0['PTzQh']='spec/support/jasmine.json';const _0x37283f=_0xaf08a0,_0x585557=[];process[_0x3e0f87(0x161)][_0x3e0f87(0x155)]&&_0x585557[_0x3e0f87(0xe9)](path['resolve'](process[_0x3e0f87(0x133)](),process[_0x3e0f87(0x161)][_0x3e0f87(0x155)]));_0x585557['push'](path['resolve'](process[_0x3e0f87(0x133)](),_0x37283f[_0x3e0f87(0x179)]));for(const _0x252fe5 of _0x585557){try{if(fs[_0x3e0f87(0x12c)](_0x252fe5))return _0x252fe5;}catch(_0x20703b){}}return null;},enumerateSpecFiles=_0x1691cb=>{const _0x34877d=a15_0xf67c4,_0x466e9f={'sQcow':function(_0x3b2ae7,_0x7bc586){return _0x3b2ae7(_0x7bc586);},'doEXA':function(_0x4faac6,_0x55058f){return _0x4faac6>_0x55058f;},'AwBUu':function(_0x1f8e0a,_0x1b49c6){return _0x1f8e0a<_0x1b49c6;},'ObVxp':function(_0x112c59,_0xedc18c){return _0x112c59===_0xedc18c;},'QpahJ':_0x34877d(0x126),'lSUJD':function(_0x1e7e58,_0x4c7ba8,_0x354683){return _0x1e7e58(_0x4c7ba8,_0x354683);},'izsEy':function(_0x248712,_0x5ebaae){return _0x248712>_0x5ebaae;},'fgfMG':function(_0x3b0b93){return _0x3b0b93();},'mMTBk':'utf8','XZyYm':'spec','HGNfz':function(_0x2e47b7,_0x1a57d0){return _0x2e47b7>_0x1a57d0;},'SrvHa':_0x34877d(0x11a),'kZhFP':function(_0x5ecd13,_0x5b4e27,_0x79ee77){return _0x5ecd13(_0x5b4e27,_0x79ee77);},'jeYEM':function(_0x19b16f,_0x73bb0b){return _0x19b16f>_0x73bb0b;}};try{if(testOpsHelper[_0x34877d(0x164)]()){const _0x212c5e=testOpsHelper[_0x34877d(0x14b)](process[_0x34877d(0x161)][_0x34877d(0x122)]);if(Array[_0x34877d(0xe4)](_0x212c5e)&&_0x466e9f[_0x34877d(0x15a)](_0x212c5e['length'],0x0))return _0x212c5e[_0x34877d(0x173)](_0x3754d6=>path[_0x34877d(0x12f)](process[_0x34877d(0x133)](),_0x3754d6['trim']()))['filter'](Boolean);}}catch(_0x8d176b){_0x466e9f[_0x34877d(0x107)](debug,_0x34877d(0x146)+util[_0x34877d(0x171)](_0x8d176b));}const _0x2773d1=[];try{for(let _0x44aa6e=0x1;_0x466e9f[_0x34877d(0xd7)](_0x44aa6e,_0x1691cb[_0x34877d(0x175)]);_0x44aa6e++){const _0x1ad244=_0x1691cb[_0x44aa6e];_0x466e9f[_0x34877d(0xe1)](typeof _0x1ad244,_0x466e9f[_0x34877d(0x111)])&&!_0x1ad244['startsWith']('-')&&_0x2773d1[_0x34877d(0xe9)](_0x1ad244);}}catch(_0x262050){}const _0x1377c2={'cwd':process[_0x34877d(0x133)](),'absolute':!![],'nodir':!![]},_0x1a99b7=(_0x9b93e4,_0x2a9905)=>{const _0x5c03ad=_0x34877d,_0x16a735=[];for(const _0x4f09e7 of _0x9b93e4){try{const _0x5cb0de=_0x2a9905?path['posix']['join'](_0x2a9905,_0x4f09e7):_0x4f09e7,_0x480bd2=glob[_0x5c03ad(0x14a)](_0x5cb0de,_0x1377c2);Array[_0x5c03ad(0xe4)](_0x480bd2)&&_0x16a735[_0x5c03ad(0xe9)](..._0x480bd2);}catch(_0x3686e3){_0x466e9f[_0x5c03ad(0x107)](debug,_0x5c03ad(0xd9)+_0x4f09e7+_0x5c03ad(0xfe)+util[_0x5c03ad(0x171)](_0x3686e3));}}return _0x16a735;};if(_0x466e9f[_0x34877d(0x15a)](_0x2773d1[_0x34877d(0x175)],0x0)){const _0x25458e=_0x466e9f[_0x34877d(0x10d)](_0x1a99b7,_0x2773d1,null);if(_0x466e9f[_0x34877d(0xe2)](_0x25458e[_0x34877d(0x175)],0x0))return Array[_0x34877d(0x136)](new Set(_0x25458e));return _0x2773d1[_0x34877d(0x173)](_0xcfb319=>path[_0x34877d(0x12f)](process[_0x34877d(0x133)](),_0xcfb319));}try{const _0x36fb58=_0x466e9f[_0x34877d(0x14e)](resolveJasmineConfigPath);if(_0x36fb58){const _0x5e174e=JSON[_0x34877d(0x10c)](fs[_0x34877d(0x15b)](_0x36fb58,_0x466e9f['mMTBk'])),_0x3d1d66=_0x5e174e[_0x34877d(0x110)]||_0x466e9f[_0x34877d(0xea)],_0x103586=Array['isArray'](_0x5e174e['spec_files'])&&_0x466e9f[_0x34877d(0x153)](_0x5e174e['spec_files'][_0x34877d(0x175)],0x0)?_0x5e174e[_0x34877d(0x16d)]:[_0x466e9f['SrvHa']],_0x54ce8e=_0x466e9f[_0x34877d(0xe3)](_0x1a99b7,_0x103586,_0x3d1d66);if(_0x466e9f[_0x34877d(0x112)](_0x54ce8e[_0x34877d(0x175)],0x0))return Array[_0x34877d(0x136)](new Set(_0x54ce8e));}}catch(_0x1dbef3){_0x466e9f['sQcow'](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util['format'](_0x1dbef3));}return null;};async function run(_0x33e7e0,_0x49d2e3,_0x4369fb){const _0x24cf72=a15_0xf67c4,_0x1f07dc={'NSzEK':function(_0x1b1c19,_0x20ae9d){return _0x1b1c19>_0x20ae9d;},'ebqbW':function(_0x111ab8,_0x194059){return _0x111ab8>_0x194059;},'lXqda':'all','RgEON':function(_0x49472d,_0x393bdf){return _0x49472d(_0x393bdf);},'nubwL':function(_0x488a9e,_0x576589){return _0x488a9e||_0x576589;},'Jsyqy':function(_0x1207c4,_0x4d4f8f){return _0x1207c4(_0x4d4f8f);},'mEFUf':function(_0xaa3fc,_0x1ee0ae){return _0xaa3fc(_0x1ee0ae);},'qIXjw':function(_0x1abf37,_0x4b0d0c){return _0x1abf37(_0x4b0d0c);},'BUJsO':function(_0x4dd3dd,_0x204004){return _0x4dd3dd(_0x204004);},'ibJUw':function(_0x526269,_0xd30081,_0x204a51,_0x5631fb){return _0x526269(_0xd30081,_0x204a51,_0x5631fb);},'MmgYu':_0x24cf72(0x143),'TRHqN':'jasmine','oEfHK':function(_0x3639bb,_0x13a2b1){return _0x3639bb===_0x13a2b1;},'zoZIU':_0x24cf72(0xf9),'hIsFv':'inherit','ygHTq':'close','TSOqA':_0x24cf72(0xee),'sKkzs':function(_0x20655a,_0x3e243c){return _0x20655a(_0x3e243c);},'UjyQh':'@playwright/test','yMlwW':function(_0xfa6b90){return _0xfa6b90();},'FdhRj':function(_0x5e53a5,_0x442982,_0x35ef89,_0x51de50){return _0x5e53a5(_0x442982,_0x35ef89,_0x51de50);},'CszoS':function(_0x4993ce,_0x2b8250){return _0x4993ce!=_0x2b8250;},'iMzFs':_0x24cf72(0xdf),'WtVLz':function(_0xf1c80e,_0x6d164){return _0xf1c80e(_0x6d164);},'GXhtp':function(_0x3db2f5,_0x3ba782){return _0x3db2f5(_0x3ba782);},'UQvRs':function(_0x216166,_0x5e4798,_0x34efec){return _0x216166(_0x5e4798,_0x34efec);},'DYgxF':function(_0x451ba9,_0x5d85a5){return _0x451ba9*_0x5d85a5;},'nFDOF':function(_0x3e8df3,_0x3c1183){return _0x3e8df3(_0x3c1183);},'gAGwi':function(_0x15250c,_0x52e6f6){return _0x15250c(_0x52e6f6);},'cMngy':_0x24cf72(0xed),'yUZNJ':function(_0x418e50,_0x2fe638){return _0x418e50(_0x2fe638);},'PacpW':function(_0x6fea33,_0xccbf7d){return _0x6fea33(_0xccbf7d);},'IPSKr':function(_0x4a75f5,_0x59553a){return _0x4a75f5(_0x59553a);},'YbIcL':function(_0x2d2b98,_0xec51f){return _0x2d2b98<_0xec51f;},'CxKAU':function(_0x436408,_0x341810){return _0x436408>_0x341810;},'CtBso':function(_0x12fc7b,_0x153023){return _0x12fc7b>_0x153023;},'kckOY':function(_0x538514,_0x44d8e2){return _0x538514(_0x44d8e2);},'mTChb':function(_0x56086a,_0x27977d){return _0x56086a>_0x27977d;},'IsMxG':_0x24cf72(0x109)},_0x5b480e=helper[_0x24cf72(0x17f)](_0x1f07dc[_0x24cf72(0x174)]);global[_0x24cf72(0x15e)]=!!_0x5b480e;const _0x397757=_0x1f07dc[_0x24cf72(0x150)](getPuppeteerVersion);global[_0x24cf72(0x102)]=!!_0x397757;helper[_0x24cf72(0x13b)]()?(await _0x4369fb[_0x24cf72(0x17b)](_0x33e7e0),await helper[_0x24cf72(0x147)](_0x4369fb['config'])):await _0x4369fb[_0x24cf72(0x11c)]();if(_0x5b480e)await _0x1f07dc[_0x24cf72(0xe5)](checkPwandBootstrapCli,_0x5b480e,constants[_0x24cf72(0xf5)][_0x24cf72(0x167)],_0x4369fb);else _0x397757&&await _0x1f07dc[_0x24cf72(0x12a)](checkPuppeteerAndBootstrapCli,_0x397757,constants[_0x24cf72(0xf5)][_0x24cf72(0x167)],_0x4369fb);if(!_0x4369fb[_0x24cf72(0xfd)])return;_0x1f07dc[_0x24cf72(0x140)](_0x4369fb['config'][_0x24cf72(0x14d)],null)?process['env'][_0x24cf72(0x103)]=_0x4369fb[_0x24cf72(0xfd)][_0x24cf72(0x14d)]:process['env'][_0x24cf72(0x103)]=_0x1f07dc[_0x24cf72(0x118)];!helper[_0x24cf72(0x165)](_0x4369fb[_0x24cf72(0xfd)][_0x24cf72(0xec)])&&(process[_0x24cf72(0x161)][_0x24cf72(0x14c)]=JSON[_0x24cf72(0x10f)](_0x4369fb['config'][_0x24cf72(0xec)]));try{await TestHubHandler[_0x24cf72(0x12b)](FRAMEWORKS[_0x24cf72(0x167)],_0x4369fb);}catch(_0x10aed3){logger[_0x24cf72(0xee)](_0x24cf72(0x169)+util['format'](_0x10aed3)),_0x1f07dc[_0x24cf72(0x152)](debug,_0x24cf72(0x135)+util[_0x24cf72(0x171)](_0x10aed3));}let _0x2ee920=![],_0xbc082=[];try{_0x2ee920=helper[_0x24cf72(0xf0)](_0x4369fb[_0x24cf72(0xfd)]),_0xbc082=helper[_0x24cf72(0xf1)](_0x4369fb[_0x24cf72(0xfd)],_0x2ee920,constants[_0x24cf72(0xf5)][_0x24cf72(0x167)]),process[_0x24cf72(0x161)][_0x24cf72(0x16a)]=JSON[_0x24cf72(0x10f)](_0xbc082);}catch(_0x4dec68){_0x1f07dc[_0x24cf72(0x138)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util[_0x24cf72(0x171)](_0x4dec68));}let _0x1469b4=null,_0x593148=![];try{_0x1469b4=helper[_0x24cf72(0x145)](_0x4369fb[_0x24cf72(0xfd)]),_0x593148=helper[_0x24cf72(0x176)](_0x4369fb[_0x24cf72(0xfd)]);}catch(_0x199062){_0x1f07dc[_0x24cf72(0xd6)](debug,_0x24cf72(0x17e)+util[_0x24cf72(0x171)](_0x199062));}const _0x5a4ccd=_0x13c5d0=>{const _0x35bc8f=_0x24cf72,_0xe94453=Array[_0x35bc8f(0xe4)](_0xbc082)&&_0x1f07dc[_0x35bc8f(0x11d)](_0xbc082['length'],_0x13c5d0)?_0xbc082[_0x13c5d0]:Array['isArray'](_0xbc082)&&_0x1f07dc[_0x35bc8f(0x160)](_0xbc082[_0x35bc8f(0x175)],0x0)?_0xbc082[0x0]:{};return{'server':_0x1469b4,'capability':_0xe94453,'proxySettings':_0x4369fb[_0x35bc8f(0xfd)][_0x35bc8f(0x13d)],'platform':helper['getPlatformName'](_0xe94453),'browserStackLogLevel':_0x4369fb[_0x35bc8f(0xfd)]['logLevel'],'platformIndex':_0x13c5d0,'framework':constants[_0x35bc8f(0xf5)][_0x35bc8f(0x167)],'platformCaps':_0x593148?Object[_0x35bc8f(0x141)]({'index':_0x13c5d0},_0x4369fb['config'][_0x35bc8f(0xef)][_0x13c5d0]):{'index':_0x13c5d0}};};let _0x1ad0ad=0x1,_0x2ac684=0x1,_0x3fb587=0x1;try{_0x1ad0ad=_0x1f07dc[_0x24cf72(0x128)](getMaxWorkers,_0x33e7e0,_0x4369fb[_0x24cf72(0xfd)]),_0x2ac684=_0x593148?_0x4369fb[_0x24cf72(0xfd)][_0x24cf72(0xef)]['length']:0x1,_0x3fb587=_0x1f07dc['DYgxF'](_0x2ac684,_0x1ad0ad),process[_0x24cf72(0x161)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x1f07dc[_0x24cf72(0x142)](String,_0x3fb587);}catch(_0x2427b6){_0x1f07dc[_0x24cf72(0x149)](debug,_0x24cf72(0x156)+util[_0x24cf72(0x171)](_0x2427b6));}try{BrowserstackCLI['getInstance']()[_0x24cf72(0x11e)]&&(process[_0x24cf72(0x161)][_0x24cf72(0x178)]=BrowserstackCLI[_0x24cf72(0xeb)]()[_0x24cf72(0x11e)]);}catch(_0x4e2f65){_0x1f07dc[_0x24cf72(0x180)](debug,_0x24cf72(0xe8)+util[_0x24cf72(0x171)](_0x4e2f65));}const _0x3253b4=[];try{const _0x104a91=path['resolve'](__dirname,_0x1f07dc[_0x24cf72(0x166)]);fs['existsSync'](_0x104a91)?_0x3253b4['push'](_0x24cf72(0x168)+_0x104a91):_0x1f07dc[_0x24cf72(0x163)](debug,_0x24cf72(0x120)+_0x104a91+_0x24cf72(0xfb));}catch(_0x211231){_0x1f07dc[_0x24cf72(0xe0)](debug,_0x24cf72(0x16e)+util[_0x24cf72(0x171)](_0x211231));}const _0xec0ed2=_0x49d2e3[_0x24cf72(0x106)](0x1),_0x572cf6=_0x1f07dc[_0x24cf72(0xde)](enumerateSpecFiles,_0x49d2e3),_0x57b04a=[];for(let _0x6d1c31=0x0;_0x1f07dc[_0x24cf72(0x123)](_0x6d1c31,_0x2ac684);_0x6d1c31++){if(_0x1f07dc['CxKAU'](_0x1ad0ad,0x1)&&Array['isArray'](_0x572cf6)&&_0x1f07dc[_0x24cf72(0x13f)](_0x572cf6[_0x24cf72(0x175)],0x0))for(const _0x163126 of _0x572cf6){const _0x15ff07={};_0x15ff07[_0x24cf72(0x13c)]=_0x6d1c31,_0x15ff07[_0x24cf72(0x119)]=[_0x163126],_0x57b04a[_0x24cf72(0xe9)](_0x15ff07);}else{const _0x3d0e78={};_0x3d0e78[_0x24cf72(0x13c)]=_0x6d1c31,_0x3d0e78['specArgs']=_0x572cf6,_0x57b04a[_0x24cf72(0xe9)](_0x3d0e78);}}logger[_0x24cf72(0xf2)](_0x24cf72(0xdd)+_0x2ac684+_0x24cf72(0x130)+_0x1ad0ad+'\x20('+_0x57b04a[_0x24cf72(0x175)]+_0x24cf72(0x15c)+_0x3fb587+_0x24cf72(0xfc)),PerformanceTester[_0x24cf72(0x16f)](PerformanceEvents[_0x24cf72(0x104)]);const _0x307cf1=_0x39f30a=>new Promise(_0x38abed=>{const _0x4ef5fd=_0x24cf72;let _0x48153f;try{const _0x1b0b0a=_0x1f07dc[_0x4ef5fd(0xf4)](_0x5a4ccd,_0x39f30a[_0x4ef5fd(0x13c)]);_0x48153f=Object['assign']({},process[_0x4ef5fd(0x161)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x4ef5fd(0x10f)](_0x1b0b0a),'BROWSERSTACK_CAPABILITIES':JSON[_0x4ef5fd(0x10f)]([_0x1b0b0a[_0x4ef5fd(0x13e)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0xb9408a){_0x1f07dc['BUJsO'](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x39f30a[_0x4ef5fd(0x13c)]+_0x4ef5fd(0x144)+util[_0x4ef5fd(0x171)](_0xb9408a)),_0x48153f=Object[_0x4ef5fd(0x141)]({},process[_0x4ef5fd(0x161)]);}const _0x817790=Array[_0x4ef5fd(0xe4)](_0x39f30a[_0x4ef5fd(0x119)])?_0x39f30a['specArgs']:[],_0x571f98=_0x1f07dc[_0x4ef5fd(0x11d)](_0x817790[_0x4ef5fd(0x175)],0x0)?_0xec0ed2[_0x4ef5fd(0x159)](_0x4fafd0=>typeof _0x4fafd0===_0x4ef5fd(0x126)&&_0x4fafd0[_0x4ef5fd(0x172)]('-')):_0xec0ed2,_0x59e4cf=[..._0x3253b4,..._0x571f98,..._0x817790];try{const _0x5e5088=_0x1f07dc[_0x4ef5fd(0x12a)](spawn,_0x1f07dc[_0x4ef5fd(0x157)],[_0x1f07dc['TRHqN'],..._0x59e4cf],{'shell':_0x1f07dc['oEfHK'](process[_0x4ef5fd(0xe6)],_0x1f07dc[_0x4ef5fd(0x148)]),'stdio':_0x1f07dc[_0x4ef5fd(0x10a)],'env':_0x48153f});_0x5e5088['on'](_0x1f07dc['ygHTq'],_0x110cd0=>{const _0x1e6efa=_0x4ef5fd;logger[_0x1e6efa(0x14f)](_0x1e6efa(0x132)+_0x39f30a[_0x1e6efa(0x13c)]+_0x1e6efa(0xfa)+(_0x817790[_0x1e6efa(0x175)]?_0x817790[_0x1e6efa(0x121)](','):_0x1f07dc[_0x1e6efa(0xf7)])+')\x20exited\x20with\x20code\x20'+_0x110cd0),_0x1f07dc['RgEON'](_0x38abed,_0x1f07dc[_0x1e6efa(0x129)](_0x110cd0,0x0));}),_0x5e5088['on'](_0x1f07dc[_0x4ef5fd(0x15f)],_0x4ac349=>{const _0x30c05f=_0x4ef5fd;_0x1f07dc[_0x30c05f(0x138)](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x39f30a[_0x30c05f(0x13c)]+_0x30c05f(0x158)+util[_0x30c05f(0x171)](_0x4ac349)),_0x1f07dc[_0x30c05f(0x137)](_0x38abed,0x1);});}catch(_0x5bbde9){_0x1f07dc[_0x4ef5fd(0x105)](debug,_0x4ef5fd(0x114)+_0x39f30a[_0x4ef5fd(0x13c)]+')\x20:\x20'+util[_0x4ef5fd(0x171)](_0x5bbde9)),_0x1f07dc[_0x4ef5fd(0x138)](_0x38abed,0x1);}}),_0x51bb6a=_0x1f07dc[_0x24cf72(0x16c)](pLimit,_0x1f07dc['mTChb'](_0x3fb587,0x0)?_0x3fb587:0x1),_0x12d00b=await Promise['all'](_0x57b04a['map'](_0x32356a=>_0x51bb6a(()=>_0x307cf1(_0x32356a))));PerformanceTester[_0x24cf72(0x131)](PerformanceEvents[_0x24cf72(0x116)]);const _0x44e605=_0x12d00b['find'](_0x21f8b2=>_0x21f8b2!==0x0)||0x0;process[_0x24cf72(0x17c)]=_0x44e605,logger[_0x24cf72(0x14f)](_0x24cf72(0xdc)+_0x44e605);const _0x28956f=BrowserstackCLI[_0x24cf72(0x177)]();try{await TestHubHandler[_0x24cf72(0x115)](),await BrowserstackCLI[_0x24cf72(0xeb)]()[_0x24cf72(0x115)]();}catch(_0x302577){_0x1f07dc['PacpW'](debug,_0x24cf72(0xda)+util['format'](_0x302577));}try{const {browserstackFolderPath:_0x36461f,tcgConfigPath:_0xa62a17}=helper[_0x24cf72(0xe7)]();fs['unlinkSync'](_0xa62a17),fs[_0x24cf72(0x100)](_0x36461f);}catch(_0x38dbea){logger[_0x24cf72(0x14f)](_0x1f07dc[_0x24cf72(0x113)],_0x38dbea);}testOpsHelper[_0x24cf72(0x17d)](),await utilities[_0x24cf72(0x139)](_0x4369fb,_0x28956f);}module[a15_0xf67c4(0xf8)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a16_0x15f098=a16_0x386e;function a16_0x386e(_0x3f811a,_0x5f0d34){const _0x382055=a16_0x3820();return a16_0x386e=function(_0x386e51,_0x1830cc){_0x386e51=_0x386e51-0x1c4;let _0x2317bd=_0x382055[_0x386e51];return _0x2317bd;},a16_0x386e(_0x3f811a,_0x5f0d34);}(function(_0xfd332a,_0x5f48e7){const _0x5f012c=a16_0x386e,_0x392bbf=_0xfd332a();while(!![]){try{const _0x2043e2=-parseInt(_0x5f012c(0x23c))/0x1*(-parseInt(_0x5f012c(0x221))/0x2)+parseInt(_0x5f012c(0x1c4))/0x3+-parseInt(_0x5f012c(0x226))/0x4*(parseInt(_0x5f012c(0x204))/0x5)+parseInt(_0x5f012c(0x235))/0x6+-parseInt(_0x5f012c(0x1fe))/0x7*(parseInt(_0x5f012c(0x202))/0x8)+-parseInt(_0x5f012c(0x1c7))/0x9+parseInt(_0x5f012c(0x1ca))/0xa;if(_0x2043e2===_0x5f48e7)break;else _0x392bbf['push'](_0x392bbf['shift']());}catch(_0x4d4b1c){_0x392bbf['push'](_0x392bbf['shift']());}}}(a16_0x3820,0x33d4f));const util=require(a16_0x15f098(0x216)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a16_0x15f098(0x215)),globals=require(a16_0x15f098(0x1e9)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a16_0x15f098(0x20d)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x15f098(0x234)),accessibilityRetryHelper=require(a16_0x15f098(0x214)),testRunMap=require(a16_0x15f098(0x219));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x15f098(0x217)][a16_0x15f098(0x1c9)]||process[a16_0x15f098(0x217)][a16_0x15f098(0x1d2)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x15f098(0x1dc)](rawConfig));}catch(a16_0x50ab72){logger[a16_0x15f098(0x1f5)](a16_0x15f098(0x1e0)+util[a16_0x15f098(0x1e4)](a16_0x50ab72));}function a16_0x3820(){const _0x595dd6=['OZvql','node:','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','CONFIG','getPackageVersion','is_mobile_session','\x22}}','push','Failed:\x20','fileNameByFullName','euGMd','@playwright/test','keys','parse','Gffmz','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','exports','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','includes','__skipSessionName','executeScript','format','CfWip','mIPzQ','undefined','isArray','../../helpers/globals','jasmine-core','prepareStackTrace','sessionNameSet__','../../index','SPsME','performScanWithRetry','thJwtToken','EulAD','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','bstackA11yScanOptions','debug','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','AeerR','jasmine','describe','split','join','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','4|3|1|0|2','3423xhgxpo','BROWSERSTACK_TESTHUB_UUID','dYYht','LbtXL','2480VNCuGY','browserstackSessionName','5DAsgwe','getGlobal','setGlobal','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','getEnv','__skipSessionStatus','wGqNE','CRykP','../../helpers/testhub/constants','Spec\x20failed','isAccessibilityPlatform','uiFPf','./bstack-reporter/customReporter','thTestRunUuid','ENV_VAR','../../helpers/accessibility-automation/accessibilityRetryHelper','../../helpers/helper','util','env','eorrD','./testRunMap','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','Passed','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','browserstackAgentV2','warn','function','19034JGEUZM','TqjLb','sep','fvNyi','error','1209508aJQaRK','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','ARzmb','length','thBuildUuid','info','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','addReporter','skipSessionName','fxIkl','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','stringify','passed','message','../../helpers/accessibility-automation/helper','719082Ieoxsu','bin','xfRLy','Prpga','RSkde','autoScanning','__drivers','43PPhKta','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20',',\x22level\x22:\x20\x22','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','oMoeI','UTxEU','failedExpectations','576342aRETbd','bstackA11yShouldScan','yMWxo','3451554oMeliM','stack','BROWSERSTACK_JASMINE_CONFIG','3285840AkyRNV','forEach','__sessionFailed','startsWith','getFileName'];a16_0x3820=function(){return _0x595dd6;};return a16_0x3820();}try{if(_bstackConfig&&!helper[a16_0x15f098(0x1d3)](a16_0x15f098(0x1da))){const MgWRsz=a16_0x15f098(0x1fd)[a16_0x15f098(0x1fa)]('|');let HpvbtT=0x0;while(!![]){switch(MgWRsz[HpvbtT++]){case'0':global['browserstackPlatformIndex']=_bstackConfig['platformIndex'];continue;case'1':global['__platformCaps']=_bstackConfig['platformCaps']||{};continue;case'2':helper['isBrowserstackInfra']()?(global[a16_0x15f098(0x1e2)]=helper['isTrue'](_bstackConfig[a16_0x15f098(0x22e)]),global['__skipSessionStatus']=helper['isTrue'](_bstackConfig['skipSessionStatus'])):(global[a16_0x15f098(0x1e2)]=!![],global[a16_0x15f098(0x20a)]=!![]);continue;case'3':shouldProcessEventForTesthub()?require(a16_0x15f098(0x1ed))[a16_0x15f098(0x21e)](_bstackConfig,null,!![]):require(a16_0x15f098(0x1ed))[a16_0x15f098(0x21e)](_bstackConfig);continue;case'4':logger['debug'](a16_0x15f098(0x1f2));continue;}break;}}}catch(a16_0x11e861){logger[a16_0x15f098(0x1f5)](a16_0x15f098(0x23f)+util['format'](a16_0x11e861));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x48977a=a16_0x15f098,_0x1dcbb9={'euGMd':function(_0x113fea,_0x4b16c4){return _0x113fea(_0x4b16c4);},'EulAD':'path','OhkDM':_0x48977a(0x1d0),'LbtXL':_0x48977a(0x1ea)},_0x4006df=Error[_0x48977a(0x1eb)];try{const _0x503111=new Error();Error[_0x48977a(0x1eb)]=(_0x5a1107,_0x42f62b)=>_0x42f62b;const _0x2c1d2c=_0x503111[_0x48977a(0x1c8)];Error[_0x48977a(0x1eb)]=_0x4006df;if(Array[_0x48977a(0x1e8)](_0x2c1d2c))for(const _0x32c187 of _0x2c1d2c){const _0x3ace27=_0x32c187[_0x48977a(0x1ce)]&&_0x32c187['getFileName']();if(_0x3ace27&&!_0x3ace27['includes'](_0x48977a(0x236)+_0x1dcbb9['euGMd'](require,_0x1dcbb9[_0x48977a(0x1f1)])[_0x48977a(0x223)]+_0x48977a(0x1f8)+_0x1dcbb9[_0x48977a(0x1d9)](require,_0x1dcbb9[_0x48977a(0x1f1)])[_0x48977a(0x223)])&&!_0x3ace27[_0x48977a(0x1cd)](_0x1dcbb9['OhkDM'])&&!_0x3ace27[_0x48977a(0x1e1)](_0x1dcbb9[_0x48977a(0x201)]))return _0x3ace27;}}catch(_0x17d50c){Error[_0x48977a(0x1eb)]=_0x4006df;}return null;},_wrappedDescribe=function(_0xba01d1,_0x3472dc){const _0x3bb6e2=a16_0x15f098,_0x4648df={'fvNyi':function(_0x4630e5){return _0x4630e5();},'Gffmz':function(_0xbeeadc,_0x27db42){return _0xbeeadc&&_0x27db42;},'nLMhO':function(_0x2c14e5,_0xd8bc09,_0x5b07b6){return _0x2c14e5(_0xd8bc09,_0x5b07b6);}};let _0x347bd8=null;try{_0x347bd8=_0x4648df[_0x3bb6e2(0x224)](_resolveCallerFile);}catch(_0x55e5a9){}_describeTitleStack[_0x3bb6e2(0x1d6)](_0xba01d1);const _0x5646f7=_describeTitleStack[_0x3bb6e2(0x1fb)]('\x20');_0x4648df[_0x3bb6e2(0x1dd)](_0x347bd8,_0x5646f7)&&(_fileNameByFullName[_0x5646f7]=_0x347bd8);try{return _0x4648df['nLMhO'](_origDescribe,_0xba01d1,_0x3472dc);}finally{_describeTitleStack['pop']();}};Object[a16_0x15f098(0x1db)](_origDescribe)[a16_0x15f098(0x1cb)](_0x83eda=>{_wrappedDescribe[_0x83eda]=_origDescribe[_0x83eda];}),global[a16_0x15f098(0x1f9)]=_wrappedDescribe;}}catch(a16_0x3e394f){logger[a16_0x15f098(0x1f5)](a16_0x15f098(0x22c)+util[a16_0x15f098(0x1e4)](a16_0x3e394f));}try{if(typeof jasmine!=='undefined'&&jasmine[a16_0x15f098(0x209)]){const BrowserStackJasmineReporter=require(a16_0x15f098(0x211)),a16_0x4cc534={};a16_0x4cc534[a16_0x15f098(0x1d8)]=_fileNameByFullName,jasmine[a16_0x15f098(0x209)]()[a16_0x15f098(0x22d)](new BrowserStackJasmineReporter(a16_0x4cc534)),logger['debug'](a16_0x15f098(0x207));}else logger[a16_0x15f098(0x1f5)](a16_0x15f098(0x1fc));}catch(a16_0x1d42c0){logger[a16_0x15f098(0x1f5)]('[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20'+util[a16_0x15f098(0x1e4)](a16_0x1d42c0));}try{typeof jasmine!==a16_0x15f098(0x1e7)&&jasmine['getEnv']&&jasmine[a16_0x15f098(0x209)]()[a16_0x15f098(0x22d)]({'specStarted'(_0x12e2df){const _0x499bd3=a16_0x15f098,_0x3c6333={};_0x3c6333[_0x499bd3(0x239)]=function(_0x58adfe,_0x68c145){return _0x58adfe||_0x68c145;};const _0x3b9bd3=_0x3c6333;_activeResultId=_0x12e2df&&_0x12e2df['id'],_activeFullName=_0x12e2df&&_0x12e2df['fullName'],_activeResultRef=_0x3b9bd3['RSkde'](_0x12e2df,null);},'specDone'(){}});}catch(a16_0x3f01da){logger[a16_0x15f098(0x1f5)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20'+util[a16_0x15f098(0x1e4)](a16_0x3f01da));}const _resolveAutoScanning=()=>{const _0x28e097=a16_0x15f098,_0x5dd02c={};_0x5dd02c[_0x28e097(0x241)]=function(_0x3d02d4,_0x572d1f){return _0x3d02d4===_0x572d1f;};const _0x45a17b=_0x5dd02c;let _0x13c73c=!![];try{const _0x30944f=JSON[_0x28e097(0x1dc)](process[_0x28e097(0x217)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x45a17b[_0x28e097(0x241)](_0x30944f[_0x28e097(0x23a)],![])&&(_0x13c73c=![]);}catch(_0x1dde4e){logger[_0x28e097(0x1f5)](_0x28e097(0x21d)+_0x1dde4e[_0x28e097(0x233)]);}return _0x13c73c;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x282287=a16_0x15f098,_0x2f885c={'WDeem':function(_0x4bfe4c){return _0x4bfe4c();},'OZvql':function(_0x1d20b1,_0x23ed3b,_0x4db296){return _0x1d20b1(_0x23ed3b,_0x4db296);},'yWxgF':function(_0x3b6032,_0x2a010b){return _0x3b6032&&_0x2a010b;},'GffCz':_0x282287(0x1c5),'uDHRS':_0x282287(0x1f4)};try{const _0x187d00=_0x2f885c['WDeem'](_resolveAutoScanning),_0xc4e415=_0x2f885c[_0x282287(0x1cf)](shouldScanTestForAccessibility,null,![]),_0x29167f=_0x2f885c['yWxgF'](_0x187d00,_0xc4e415);globals[_0x282287(0x206)](_0x2f885c['GffCz'],_0x29167f),globals[_0x282287(0x206)](_0x2f885c['uDHRS'],null);}catch(_0x2ba73e){logger[_0x282287(0x1f5)](_0x282287(0x1d1)+util[_0x282287(0x1e4)](_0x2ba73e));}}),typeof afterEach===a16_0x15f098(0x220)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x4a0e4b=a16_0x15f098,_0x4e4ae1={'CRykP':function(_0x3f0150,_0x5958db){return _0x3f0150>_0x5958db;},'CfWip':function(_0x23c8a7,_0x333ab0){return _0x23c8a7>_0x333ab0;},'ARzmb':_0x4a0e4b(0x20e),'yMWxo':function(_0x2438a2,_0x13f011){return _0x2438a2+_0x13f011;},'eorrD':_0x4a0e4b(0x1d7),'TqjLb':_0x4a0e4b(0x21b),'Prpga':_0x4a0e4b(0x225),'OQrHb':_0x4a0e4b(0x22b),'MMqMy':'failed','dYYht':_0x4a0e4b(0x232),'AeerR':function(_0xe17713){return _0xe17713();},'KEujt':_0x4a0e4b(0x20f),'fxIkl':function(_0x53d956,_0x11e2a5){return _0x53d956>_0x11e2a5;},'uiFPf':_0x4a0e4b(0x1c5),'BBGkx':'[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','mIPzQ':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','wGqNE':_0x4a0e4b(0x1de),'DAQiN':_0x4a0e4b(0x21a),'SPsME':'isMobilePlatform','oMoeI':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','xfRLy':_0x4a0e4b(0x21c)};try{if(Array[_0x4a0e4b(0x1e8)](global[_0x4a0e4b(0x23b)])&&_0x4e4ae1[_0x4a0e4b(0x20c)](global[_0x4a0e4b(0x23b)]['length'],0x0)&&global[_0x4a0e4b(0x23b)][0x0]){const _0x27ccf4=_activeFullName||global['sessionName'];if(!global[_0x4a0e4b(0x1e2)]&&_0x27ccf4){global['sessionName']=_0x27ccf4;try{await global[_0x4a0e4b(0x23b)][0x0]['executeScript'](_0x4a0e4b(0x208)+JSON[_0x4a0e4b(0x231)](_0x27ccf4)+'}}'),global[_0x4a0e4b(0x23b)][0x0][_0x4a0e4b(0x1ec)]=!![];}catch(_0x4c2434){logger[_0x4a0e4b(0x1f5)](_0x4a0e4b(0x1f3)+util['format'](_0x4c2434));}}if(!global[_0x4a0e4b(0x20a)])try{const _0x5111f4=_activeResultRef&&Array[_0x4a0e4b(0x1e8)](_activeResultRef[_0x4a0e4b(0x242)])?_activeResultRef['failedExpectations']:[],_0x4693fe=_0x4e4ae1[_0x4a0e4b(0x1e5)](_0x5111f4[_0x4a0e4b(0x229)],0x0),_0x12cede=_0x4693fe?_0x5111f4[0x0]&&_0x5111f4[0x0]['message']||_0x4e4ae1[_0x4a0e4b(0x228)]:null;try{await global[_0x4a0e4b(0x23b)][0x0][_0x4a0e4b(0x1e3)](_0x4a0e4b(0x227)+JSON['stringify'](_0x4693fe?_0x4e4ae1[_0x4a0e4b(0x1c6)](_0x4e4ae1[_0x4a0e4b(0x218)],_0x12cede):_0x4e4ae1[_0x4a0e4b(0x222)])+_0x4a0e4b(0x23e)+(_0x4693fe?_0x4e4ae1[_0x4a0e4b(0x238)]:_0x4e4ae1['OQrHb'])+_0x4a0e4b(0x1d5));}catch(_0x5ea7a8){logger['debug'](_0x4a0e4b(0x1f6)+util[_0x4a0e4b(0x1e4)](_0x5ea7a8));}_0x4693fe&&(global[_0x4a0e4b(0x1cc)]=!![]),await helper['markSessionStatus'](global[_0x4a0e4b(0x23b)][0x0],_0x4693fe?_0x4e4ae1['MMqMy']:_0x4e4ae1[_0x4a0e4b(0x200)],_0x12cede);}catch(_0x2b21cf){logger[_0x4a0e4b(0x1f5)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x4a0e4b(0x1e4)](_0x2b21cf));}}}catch(_0x3385d0){logger[_0x4a0e4b(0x1f5)](_0x4a0e4b(0x23d)+util[_0x4a0e4b(0x1e4)](_0x3385d0));}try{if(_0x4e4ae1[_0x4a0e4b(0x1f7)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x4e4ae1['KEujt'])&&Array[_0x4a0e4b(0x1e8)](global[_0x4a0e4b(0x23b)])&&_0x4e4ae1[_0x4a0e4b(0x22f)](global[_0x4a0e4b(0x23b)][_0x4a0e4b(0x229)],0x0)&&global['__drivers'][0x0]){const _0x581d4a=testRunMap['get'](_activeResultId),_0x31f6b5={};_0x31f6b5[_0x4a0e4b(0x212)]=_0x581d4a,_0x31f6b5[_0x4a0e4b(0x22a)]=process[_0x4a0e4b(0x217)][testHubConstants[_0x4a0e4b(0x213)][_0x4a0e4b(0x1ff)]],_0x31f6b5[_0x4a0e4b(0x1f0)]=process[_0x4a0e4b(0x217)][testHubConstants[_0x4a0e4b(0x213)]['BROWSERSTACK_TESTHUB_JWT']];const _0x2779dd=_0x31f6b5;logger[_0x4a0e4b(0x1f5)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x4a0e4b(0x231)](_0x2779dd));if(globals[_0x4a0e4b(0x205)](_0x4e4ae1[_0x4a0e4b(0x210)])){logger[_0x4a0e4b(0x1f5)](_0x4e4ae1['BBGkx']);const _0x18e43a=await accessibilityRetryHelper[_0x4a0e4b(0x1ef)](global['__drivers'][0x0],global[_0x4a0e4b(0x203)]);_0x18e43a?logger[_0x4a0e4b(0x1f5)](_0x4e4ae1[_0x4a0e4b(0x1e6)]):logger['warn'](_0x4e4ae1[_0x4a0e4b(0x20b)]);}else logger[_0x4a0e4b(0x1f5)](_0x4e4ae1['DAQiN']);globals['getGlobal'](_0x4e4ae1[_0x4a0e4b(0x1ee)])&&(_0x2779dd[_0x4a0e4b(0x1d4)]=!![]);const _0x2797e7=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x4a0e4b(0x23b)][0x0],_0x2779dd);_0x2797e7?logger[_0x4a0e4b(0x1f5)](_0x4e4ae1[_0x4a0e4b(0x240)]):logger[_0x4a0e4b(0x21f)](_0x4e4ae1[_0x4a0e4b(0x237)]);}}catch(_0x10aacb){logger['error'](_0x4a0e4b(0x230)+util[_0x4a0e4b(0x1e4)](_0x10aacb));}});}catch(a16_0x6db120){logger['debug']('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util['format'](a16_0x6db120));}module[a16_0x15f098(0x1df)]={};
|
|
1
|
+
'use strict';const a16_0x4f97e6=a16_0x3671;(function(_0x550a2d,_0x302fb6){const _0x265357=a16_0x3671,_0x4fd313=_0x550a2d();while(!![]){try{const _0x952d2=parseInt(_0x265357(0x231))/0x1+-parseInt(_0x265357(0x215))/0x2*(-parseInt(_0x265357(0x1e8))/0x3)+-parseInt(_0x265357(0x216))/0x4+parseInt(_0x265357(0x1fc))/0x5+-parseInt(_0x265357(0x205))/0x6*(-parseInt(_0x265357(0x1f7))/0x7)+parseInt(_0x265357(0x1fb))/0x8+-parseInt(_0x265357(0x230))/0x9;if(_0x952d2===_0x302fb6)break;else _0x4fd313['push'](_0x4fd313['shift']());}catch(_0x31d44a){_0x4fd313['push'](_0x4fd313['shift']());}}}(a16_0x8724,0x8b304));const util=require(a16_0x4f97e6(0x23e)),logger=require(a16_0x4f97e6(0x1fd))[a16_0x4f97e6(0x207)],helper=require(a16_0x4f97e6(0x22c)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a16_0x4f97e6(0x21b)),testHubConstants=require(a16_0x4f97e6(0x22f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a16_0x4f97e6(0x21a)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x4f97e6(0x1e7)][a16_0x4f97e6(0x25c)]||process[a16_0x4f97e6(0x1e7)][a16_0x4f97e6(0x210)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x4f97e6(0x21c)](rawConfig));}catch(a16_0x2b2978){logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x212)+util[a16_0x4f97e6(0x211)](a16_0x2b2978));}try{if(_bstackConfig&&!helper['getPackageVersion'](a16_0x4f97e6(0x224))){const xlwZlZ=a16_0x4f97e6(0x244)[a16_0x4f97e6(0x1f1)]('|');let LlZhnf=0x0;while(!![]){switch(xlwZlZ[LlZhnf++]){case'0':shouldProcessEventForTesthub()?require(a16_0x4f97e6(0x1ed))['browserstackAgentV2'](_bstackConfig,null,!![]):require(a16_0x4f97e6(0x1ed))[a16_0x4f97e6(0x251)](_bstackConfig);continue;case'1':global[a16_0x4f97e6(0x264)]=_bstackConfig[a16_0x4f97e6(0x1f2)]||{};continue;case'2':logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x201));continue;case'3':global[a16_0x4f97e6(0x256)]=_bstackConfig['platformIndex'];continue;case'4':helper['isBrowserstackInfra']()?(global[a16_0x4f97e6(0x239)]=helper['isTrue'](_bstackConfig[a16_0x4f97e6(0x24f)]),global[a16_0x4f97e6(0x1ef)]=helper['isTrue'](_bstackConfig[a16_0x4f97e6(0x1f9)])):(global[a16_0x4f97e6(0x239)]=!![],global['__skipSessionStatus']=!![]);continue;}break;}}}catch(a16_0x1a45eb){logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x22e)+util[a16_0x4f97e6(0x211)](a16_0x1a45eb));}const _fileNameByFullName={};try{if(typeof describe===a16_0x4f97e6(0x21f)&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x3a8704=a16_0x4f97e6,_0x5a14b7={'kHjmJ':function(_0x4320b4,_0x21ecdd){return _0x4320b4(_0x21ecdd);},'HjgVn':_0x3a8704(0x25a),'Mqalh':function(_0x1ab255,_0x3d1d38){return _0x1ab255(_0x3d1d38);},'qgzMo':_0x3a8704(0x266),'XGrsK':'jasmine-core'},_0x24823d=Error[_0x3a8704(0x25b)];try{const _0x373292=new Error();Error[_0x3a8704(0x25b)]=(_0x387836,_0x4336f1)=>_0x4336f1;const _0x4bc9cc=_0x373292['stack'];Error[_0x3a8704(0x25b)]=_0x24823d;if(Array[_0x3a8704(0x226)](_0x4bc9cc))for(const _0x18ad14 of _0x4bc9cc){const _0x3b8414=_0x18ad14['getFileName']&&_0x18ad14['getFileName']();if(_0x3b8414&&!_0x3b8414[_0x3a8704(0x203)](_0x3a8704(0x24e)+_0x5a14b7[_0x3a8704(0x1e3)](require,_0x5a14b7[_0x3a8704(0x22b)])[_0x3a8704(0x204)]+_0x3a8704(0x23c)+_0x5a14b7[_0x3a8704(0x265)](require,_0x5a14b7['HjgVn'])[_0x3a8704(0x204)])&&!_0x3b8414[_0x3a8704(0x223)](_0x5a14b7[_0x3a8704(0x250)])&&!_0x3b8414[_0x3a8704(0x203)](_0x5a14b7[_0x3a8704(0x21d)]))return _0x3b8414;}}catch(_0x47cb13){Error[_0x3a8704(0x25b)]=_0x24823d;}return null;},_wrappedDescribe=function(_0x519c73,_0x126989){const _0x197ce9=a16_0x4f97e6,_0x4b7ef2={'vDDvw':function(_0x2ac3db){return _0x2ac3db();},'LLSta':function(_0x531f63,_0x3e5423){return _0x531f63&&_0x3e5423;},'BzKcv':function(_0x5693cf,_0xefb585,_0x53a816){return _0x5693cf(_0xefb585,_0x53a816);}};let _0x365de7=null;try{_0x365de7=_0x4b7ef2[_0x197ce9(0x243)](_resolveCallerFile);}catch(_0x133d5d){}_describeTitleStack[_0x197ce9(0x254)](_0x519c73);const _0x1f27b1=_describeTitleStack['join']('\x20');_0x4b7ef2['LLSta'](_0x365de7,_0x1f27b1)&&(_fileNameByFullName[_0x1f27b1]=_0x365de7);try{return _0x4b7ef2[_0x197ce9(0x232)](_origDescribe,_0x519c73,_0x126989);}finally{_describeTitleStack[_0x197ce9(0x253)]();}};Object[a16_0x4f97e6(0x1ea)](_origDescribe)[a16_0x4f97e6(0x227)](_0x54056d=>{_wrappedDescribe[_0x54056d]=_origDescribe[_0x54056d];}),global[a16_0x4f97e6(0x25f)]=_wrappedDescribe;}}catch(a16_0x237211){logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x229)+util['format'](a16_0x237211));}try{if(typeof jasmine!==a16_0x4f97e6(0x200)&&jasmine[a16_0x4f97e6(0x24b)]){const BrowserStackJasmineReporter=require(a16_0x4f97e6(0x234)),a16_0x216866={};a16_0x216866[a16_0x4f97e6(0x20f)]=_fileNameByFullName,jasmine[a16_0x4f97e6(0x24b)]()[a16_0x4f97e6(0x262)](new BrowserStackJasmineReporter(a16_0x216866)),logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x1fe));}else logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x217));}catch(a16_0xa37209){logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x228)+util[a16_0x4f97e6(0x211)](a16_0xa37209));}try{typeof jasmine!==a16_0x4f97e6(0x200)&&jasmine[a16_0x4f97e6(0x24b)]&&jasmine[a16_0x4f97e6(0x24b)]()[a16_0x4f97e6(0x262)]({'specStarted'(_0x3b554d){const _0x571caa=a16_0x4f97e6,_0x5e444f={};_0x5e444f['xtbRV']=function(_0x1ec1ba,_0x3fd6b1){return _0x1ec1ba||_0x3fd6b1;};const _0x41c6bd=_0x5e444f;_activeResultId=_0x3b554d&&_0x3b554d['id'],_activeFullName=_0x3b554d&&_0x3b554d[_0x571caa(0x1f0)],_activeResultRef=_0x41c6bd['xtbRV'](_0x3b554d,null);},'specDone'(){}});}catch(a16_0x148935){logger[a16_0x4f97e6(0x1ff)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20'+util[a16_0x4f97e6(0x211)](a16_0x148935));}const _resolveAutoScanning=()=>{const _0x40fd19=a16_0x4f97e6,_0x32d34c={};_0x32d34c[_0x40fd19(0x237)]=function(_0x4c67c9,_0xa96f0f){return _0x4c67c9===_0xa96f0f;};const _0x1eab2f=_0x32d34c;let _0x542ad1=!![];try{const _0x15b47a=JSON['parse'](process[_0x40fd19(0x1e7)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x1eab2f[_0x40fd19(0x237)](_0x15b47a[_0x40fd19(0x1e5)],![])&&(_0x542ad1=![]);}catch(_0x2d7aac){logger['debug'](_0x40fd19(0x242)+_0x2d7aac[_0x40fd19(0x1e4)]);}return _0x542ad1;};try{typeof beforeEach===a16_0x4f97e6(0x21f)&&beforeEach(function bstackA11yBeforeEach(){const _0x5cbf15=a16_0x4f97e6,_0x53c7bc={'cJYga':function(_0x1a212c){return _0x1a212c();},'Pqpad':function(_0x1ec453,_0x2a8d0a,_0x3a03fa){return _0x1ec453(_0x2a8d0a,_0x3a03fa);},'AyYkD':function(_0x58b108,_0x43f6a0){return _0x58b108&&_0x43f6a0;},'BiIAo':_0x5cbf15(0x238),'gjNZg':_0x5cbf15(0x23a)};try{const _0x35472a=_0x53c7bc[_0x5cbf15(0x20c)](_resolveAutoScanning),_0x186ff9=_0x53c7bc[_0x5cbf15(0x261)](shouldScanTestForAccessibility,null,![]),_0x4cadeb=_0x53c7bc[_0x5cbf15(0x20b)](_0x35472a,_0x186ff9);globals['setGlobal'](_0x53c7bc[_0x5cbf15(0x257)],_0x4cadeb),globals[_0x5cbf15(0x1f3)](_0x53c7bc[_0x5cbf15(0x206)],null);}catch(_0x27b60f){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'+util[_0x5cbf15(0x211)](_0x27b60f));}}),typeof afterEach===a16_0x4f97e6(0x21f)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x369457=a16_0x4f97e6,_0x22ebab={'DEOxg':function(_0x4e60a9,_0x2b1539){return _0x4e60a9>_0x2b1539;},'wjfMP':function(_0x180985,_0x4f93b4){return _0x180985>_0x4f93b4;},'EhZOE':'Spec\x20failed','SgFTk':function(_0x5b51c0,_0x45571f){return _0x5b51c0+_0x45571f;},'CzhFR':_0x369457(0x263),'QlZuU':_0x369457(0x241),'cjYod':_0x369457(0x249),'pfMGf':_0x369457(0x20d),'AeCEz':_0x369457(0x236),'wpuYP':_0x369457(0x1f5),'nllRg':function(_0x514c68){return _0x514c68();},'WuQDl':'isAccessibilityPlatform','dvXGz':'bstackA11yShouldScan','StQqp':_0x369457(0x23f),'JrGUw':_0x369457(0x246),'aQLOU':'[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','paPRp':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','KBGYE':_0x369457(0x25e),'LgZld':_0x369457(0x220),'mIviF':_0x369457(0x24c)};try{if(Array[_0x369457(0x226)](global[_0x369457(0x24a)])&&_0x22ebab[_0x369457(0x1e6)](global['__drivers']['length'],0x0)&&global['__drivers'][0x0]){const _0x2fd0fc=_activeFullName||global[_0x369457(0x245)];if(!global['__skipSessionName']&&_0x2fd0fc){global[_0x369457(0x245)]=_0x2fd0fc;try{await global[_0x369457(0x24a)][0x0][_0x369457(0x1f6)](_0x369457(0x1f4)+JSON[_0x369457(0x221)](_0x2fd0fc)+'}}'),global['__drivers'][0x0]['sessionNameSet__']=!![];}catch(_0x59a29f){logger[_0x369457(0x1ff)](_0x369457(0x218)+util[_0x369457(0x211)](_0x59a29f));}}if(!global[_0x369457(0x1ef)])try{const _0x407c1b=_activeResultRef&&Array[_0x369457(0x226)](_activeResultRef[_0x369457(0x22d)])?_activeResultRef[_0x369457(0x22d)]:[],_0x50a519=_0x22ebab[_0x369457(0x233)](_0x407c1b[_0x369457(0x1fa)],0x0),_0x53e54c=_0x50a519?_0x407c1b[0x0]&&_0x407c1b[0x0][_0x369457(0x1e4)]||_0x22ebab[_0x369457(0x219)]:null;try{await global['__drivers'][0x0][_0x369457(0x1f6)](_0x369457(0x214)+JSON[_0x369457(0x221)](_0x50a519?_0x22ebab[_0x369457(0x24d)](_0x22ebab[_0x369457(0x247)],_0x53e54c):_0x22ebab['QlZuU'])+_0x369457(0x1ee)+(_0x50a519?_0x22ebab[_0x369457(0x259)]:_0x22ebab[_0x369457(0x208)])+_0x369457(0x252));}catch(_0x3b960f){logger[_0x369457(0x1ff)]('[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20'+util[_0x369457(0x211)](_0x3b960f));}_0x50a519&&(global['__sessionFailed']=!![]),await helper['markSessionStatus'](global[_0x369457(0x24a)][0x0],_0x50a519?_0x22ebab[_0x369457(0x258)]:_0x22ebab[_0x369457(0x240)],_0x53e54c);}catch(_0x38c311){logger[_0x369457(0x1ff)](_0x369457(0x23b)+util[_0x369457(0x211)](_0x38c311));}}}catch(_0x253f5e){logger[_0x369457(0x1ff)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util['format'](_0x253f5e));}try{if(_0x22ebab[_0x369457(0x213)](isAccessibilityAutomationSession)&&globals[_0x369457(0x1e9)](_0x22ebab[_0x369457(0x23d)])&&Array['isArray'](global[_0x369457(0x24a)])&&_0x22ebab[_0x369457(0x1e6)](global[_0x369457(0x24a)][_0x369457(0x1fa)],0x0)&&global[_0x369457(0x24a)][0x0]){const _0x31ec6d=testRunMap[_0x369457(0x248)](_activeResultId),_0xb3999b={};_0xb3999b[_0x369457(0x1eb)]=_0x31ec6d,_0xb3999b['thBuildUuid']=process[_0x369457(0x1e7)][testHubConstants['ENV_VAR'][_0x369457(0x235)]],_0xb3999b['thJwtToken']=process[_0x369457(0x1e7)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x281fe6=_0xb3999b;logger['debug'](_0x369457(0x1ec)+JSON[_0x369457(0x221)](_0x281fe6));if(globals['getGlobal'](_0x22ebab[_0x369457(0x209)])){logger[_0x369457(0x1ff)](_0x22ebab['StQqp']);const _0x27f1d1=await accessibilityRetryHelper[_0x369457(0x25d)](global[_0x369457(0x24a)][0x0],global['browserstackSessionName']);_0x27f1d1?logger[_0x369457(0x1ff)](_0x22ebab[_0x369457(0x260)]):logger['warn'](_0x22ebab[_0x369457(0x20e)]);}else logger['debug'](_0x22ebab[_0x369457(0x202)]);globals[_0x369457(0x1e9)](_0x22ebab[_0x369457(0x222)])&&(_0x281fe6[_0x369457(0x1f8)]=!![]);const _0x194ed5=await accessibilityRetryHelper[_0x369457(0x22a)](global['__drivers'][0x0],_0x281fe6);_0x194ed5?logger[_0x369457(0x1ff)](_0x22ebab['LgZld']):logger[_0x369457(0x21e)](_0x22ebab[_0x369457(0x255)]);}}catch(_0xfaabe5){logger['error'](_0x369457(0x225)+util['format'](_0xfaabe5));}});}catch(a16_0x474324){logger[a16_0x4f97e6(0x1ff)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util[a16_0x4f97e6(0x211)](a16_0x474324));}function a16_0x8724(){const _0x578671=['cjYod','path','prepareStackTrace','BROWSERSTACK_JASMINE_CONFIG','performScanWithRetry','isMobilePlatform','describe','JrGUw','Pqpad','addReporter','Failed:\x20','__platformCaps','Mqalh','node:','kHjmJ','message','autoScanning','DEOxg','env','36RkSdLu','getGlobal','keys','thTestRunUuid','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','../../index',',\x22level\x22:\x20\x22','__skipSessionStatus','fullName','split','platformCaps','setGlobal','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','passed','executeScript','1061221PiCjlW','is_mobile_session','skipSessionStatus','length','5584160isPcYP','1083380GHjDRp','../../helpers/logger','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','debug','undefined','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','paPRp','includes','sep','18VrCnvp','gjNZg','winstonLogger','pfMGf','dvXGz','exports','AyYkD','cJYga','info','aQLOU','fileNameByFullName','CONFIG','format','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','nllRg','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','4868kMHFLJ','85780OCWxcU','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','EhZOE','../../helpers/accessibility-automation/accessibilityRetryHelper','../../helpers/testhub/utils','parse','XGrsK','warn','function','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','stringify','KBGYE','startsWith','@playwright/test','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','isArray','forEach','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','saveAccessibilityResultsWithRetry','HjgVn','../../helpers/helper','failedExpectations','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','../../helpers/testhub/constants','12044799GMAwzo','531159VHIrTo','BzKcv','wjfMP','./bstack-reporter/customReporter','BROWSERSTACK_TESTHUB_UUID','failed','BeuOh','bstackA11yShouldScan','__skipSessionName','bstackA11yScanOptions','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','jasmine','WuQDl','util','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','wpuYP','Passed','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','vDDvw','2|0|1|3|4','sessionName','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','CzhFR','get','error','__drivers','getEnv','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','SgFTk','bin','skipSessionName','qgzMo','browserstackAgentV2','\x22}}','pop','push','mIviF','browserstackPlatformIndex','BiIAo','AeCEz'];a16_0x8724=function(){return _0x578671;};return a16_0x8724();}function a16_0x3671(_0x222ffa,_0x5ee4d6){const _0x87246a=a16_0x8724();return a16_0x3671=function(_0x3671af,_0x58500b){_0x3671af=_0x3671af-0x1e3;let _0x542c47=_0x87246a[_0x3671af];return _0x542c47;},a16_0x3671(_0x222ffa,_0x5ee4d6);}module[a16_0x4f97e6(0x20a)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a17_0xc54a(){const _0x471e6c=['djIRP','mdwno','_size','3250xtSnNN','size','get','70xsQlle','1727NBWuKz','9Nuqxop','remove','21427AXRJCa','294kritxx','591684nDabkz','zHPnX','2737356ampddg','336496Xfdorr','50906WCdpHJ','VOxYE','26680aUmPDy','set','kGxfd','2rVhKGj'];a17_0xc54a=function(){return _0x471e6c;};return a17_0xc54a();}const a17_0x2acbdd=a17_0x4d65;(function(_0x462ebc,_0x44d027){const _0x132010=a17_0x4d65,_0x3c42cf=_0x462ebc();while(!![]){try{const _0x30319b=-parseInt(_0x132010(0x14c))/0x1*(parseInt(_0x132010(0x147))/0x2)+parseInt(_0x132010(0x143))/0x3+parseInt(_0x132010(0x149))/0x4*(-parseInt(_0x132010(0x13d))/0x5)+parseInt(_0x132010(0x142))/0x6*(-parseInt(_0x132010(0x141))/0x7)+parseInt(_0x132010(0x146))/0x8*(parseInt(_0x132010(0x13f))/0x9)+parseInt(_0x132010(0x13a))/0xa*(-parseInt(_0x132010(0x13e))/0xb)+parseInt(_0x132010(0x145))/0xc;if(_0x30319b===_0x44d027)break;else _0x3c42cf['push'](_0x3c42cf['shift']());}catch(_0x1faf29){_0x3c42cf['push'](_0x3c42cf['shift']());}}}(a17_0xc54a,0x1dcf7));const _specUuidById=new Map();function a17_0x4d65(_0x44f818,_0x18757e){const _0xc54ad8=a17_0xc54a();return a17_0x4d65=function(_0x4d6543,_0x37d43f){_0x4d6543=_0x4d6543-0x13a;let _0x4eb5da=_0xc54ad8[_0x4d6543];return _0x4eb5da;},a17_0x4d65(_0x44f818,_0x18757e);}exports[a17_0x2acbdd(0x14a)]=(_0x1b0f31,_0x56e1a9)=>{const _0x33d3b4=a17_0x2acbdd,_0x259bb2={};_0x259bb2['djIRP']=function(_0x2f197a,_0x47dd4f){return _0x2f197a===_0x47dd4f;};const _0x3738b5=_0x259bb2;if(_0x3738b5['djIRP'](_0x1b0f31,undefined)||_0x3738b5[_0x33d3b4(0x14d)](_0x1b0f31,null))return;_specUuidById[_0x33d3b4(0x14a)](_0x1b0f31,_0x56e1a9);},exports[a17_0x2acbdd(0x13c)]=_0xe1122f=>{const _0x3fd263=a17_0x2acbdd,_0x5097f0={};_0x5097f0[_0x3fd263(0x14b)]=function(_0x18c3a7,_0x4cb587){return _0x18c3a7===_0x4cb587;},_0x5097f0[_0x3fd263(0x148)]=function(_0x182353,_0x19e4d5){return _0x182353===_0x19e4d5;};const _0x4bd859=_0x5097f0;if(_0x4bd859[_0x3fd263(0x14b)](_0xe1122f,undefined)||_0x4bd859[_0x3fd263(0x148)](_0xe1122f,null))return undefined;return _specUuidById[_0x3fd263(0x13c)](_0xe1122f);},exports[a17_0x2acbdd(0x140)]=_0x127832=>{const _0x1840be=a17_0x2acbdd,_0x495d1b={};_0x495d1b[_0x1840be(0x144)]=function(_0x42d5b4,_0x20fad8){return _0x42d5b4===_0x20fad8;},_0x495d1b[_0x1840be(0x14e)]=function(_0x4b4e5c,_0x14e38f){return _0x4b4e5c===_0x14e38f;};const _0x4260bf=_0x495d1b;if(_0x4260bf[_0x1840be(0x144)](_0x127832,undefined)||_0x4260bf[_0x1840be(0x14e)](_0x127832,null))return;_specUuidById['delete'](_0x127832);},exports[a17_0x2acbdd(0x14f)]=()=>_specUuidById[a17_0x2acbdd(0x13b)];
|