browserstack-node-sdk 1.31.13 → 1.31.15
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/CFTemplates/aws-eks-cluster-dep.yaml +36 -1
- 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/start.js +1 -0
- package/ats/src/commands/start_commands/grid.js +1 -0
- package/ats/src/commands/stop.js +1 -0
- package/ats/src/commands/stop_commands/grid.js +1 -0
- 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/templates/autoscaler/deployment.yaml +2 -0
- package/ats/src/templates/gcpresources/gkecluster.json +37 -0
- package/ats/src/templates/vpc-cni-cm.yaml +8 -0
- 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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.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/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.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.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/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/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/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/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.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-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a36_0x128569=a36_0x561b;(function(_0x2708f7,_0x517153){const _0x3f2b12=a36_0x561b,_0x4c98c7=_0x2708f7();while(!![]){try{const _0x3bc6b4=parseInt(_0x3f2b12(0x102))/0x1+-parseInt(_0x3f2b12(0xb2))/0x2*(parseInt(_0x3f2b12(0x9e))/0x3)+parseInt(_0x3f2b12(0x115))/0x4*(parseInt(_0x3f2b12(0xbb))/0x5)+-parseInt(_0x3f2b12(0x109))/0x6+-parseInt(_0x3f2b12(0xc5))/0x7*(parseInt(_0x3f2b12(0x8c))/0x8)+-parseInt(_0x3f2b12(0x113))/0x9+parseInt(_0x3f2b12(0x96))/0xa;if(_0x3bc6b4===_0x517153)break;else _0x4c98c7['push'](_0x4c98c7['shift']());}catch(_0x1f6fc7){_0x4c98c7['push'](_0x4c98c7['shift']());}}}(a36_0x866e,0x1d0e6));const fs=require('fs'),path=require(a36_0x128569(0xe6)),util=require(a36_0x128569(0xa9)),{performance}=require(a36_0x128569(0xf0)),{requireModule}=require('../helpers/helper'),helper=require(a36_0x128569(0xa6)),captureError=async(_0x4362b9,_0xe59984,_0x255bbf=null)=>{const _0x41245d=a36_0x128569,_0x442edf={'cOBAp':_0x41245d(0xa3),'ciTnc':function(_0xb2c722,_0x1fe446,_0x153b49,_0x2f5ce9){return _0xb2c722(_0x1fe446,_0x153b49,_0x2f5ce9);},'ypFwY':function(_0x45586b,_0x5451c1){return _0x45586b(_0x5451c1);},'dtlWk':'./jest/command','Txjbh':'.local-not-set.json','ydiLy':function(_0x100e59,_0xceaa9b,_0x2e0cca,_0x5051e6){return _0x100e59(_0xceaa9b,_0x2e0cca,_0x5051e6);},'hbuKb':_0x41245d(0x98),'euhgX':function(_0x27d402,_0x16947c){return _0x27d402!==_0x16947c;},'FyMwx':'MVrhj','UNkUw':_0x41245d(0x93),'HgXMd':function(_0x1abadb,_0x4720c7,_0x2a3b7e){return _0x1abadb(_0x4720c7,_0x2a3b7e);},'syCan':function(_0x16536e,_0x4d81ac){return _0x16536e===_0x4d81ac;},'mQBCT':_0x41245d(0xe1),'zCJmE':_0x41245d(0x107),'YGwqD':_0x41245d(0xf5),'hcRXJ':_0x41245d(0xda),'tGUXm':_0x41245d(0x8d),'UvvXW':_0x41245d(0xc7),'LBzfI':_0x41245d(0xab),'ydvTk':'xoPiX'};try{_0x442edf[_0x41245d(0xdc)](_0x442edf[_0x41245d(0xcd)],_0x442edf['UNkUw'])?await _0x442edf[_0x41245d(0xd3)](_0x4362b9,_0xe59984,_0x255bbf):_0x2dd668[_0x41245d(0xd6)]['push'](_0x442edf[_0x41245d(0x106)]);}catch(_0x507d39){if(_0x442edf[_0x41245d(0x10e)](_0x442edf[_0x41245d(0xa0)],_0x442edf[_0x41245d(0xf1)])){_0x5ded6b['setTestObservabilityDisable'](),_0x4a935b['setBrowserStackAutomationDisable']();const _0x168ed1=_0x4c7929['argv']['slice'](0x2);return _0x442edf['ciTnc'](_0x5db4f9,_0x442edf['ypFwY'](_0x5f345b,_0x442edf[_0x41245d(0xfa)]),_0x484165[_0x41245d(0xd6)],_0x168ed1);}else{process[_0x41245d(0xd1)]=0x1,logger[_0x41245d(0xed)](util['format'](_0x507d39));const _0x3cdf6c={};_0x3cdf6c[_0x41245d(0xe0)]=_0x507d39[_0x41245d(0x92)];const _0x32dbea=_0x3cdf6c;if(helper[_0x41245d(0xbd)](global[_0x41245d(0x100)])&&helper[_0x41245d(0xbd)](global[_0x41245d(0xa1)])){if(_0x442edf[_0x41245d(0x10e)](_0x442edf[_0x41245d(0xf8)],_0x442edf[_0x41245d(0xf8)]))return;else{const _0x2db84f=_0x1dc2d0[_0x41245d(0x9a)](_0x488703,_0x442edf[_0x41245d(0xa2)]);_0x2bf10e[_0x41245d(0xfc)](_0x2db84f)&&_0x2dec52[_0x41245d(0xaf)](_0x2db84f);}}try{_0x442edf[_0x41245d(0x10e)](_0x442edf[_0x41245d(0x114)],_0x442edf['tGUXm'])?_0x302ef4[_0x41245d(0xfe)](_0x41245d(0xf6)+_0x547276):helper[_0x41245d(0xd7)](_0x442edf['UvvXW'],_0x32dbea,global[_0x41245d(0x100)],global['framework']);}catch(_0x153513){if(_0x442edf[_0x41245d(0x10e)](_0x442edf['LBzfI'],_0x442edf[_0x41245d(0xd0)])){const _0x4961d3=_0x1d2c81[_0x41245d(0xd6)][_0x41245d(0xb3)](0x2);return _0x442edf[_0x41245d(0x10c)](_0x405810,_0x442edf[_0x41245d(0xf7)](_0x1749cb,_0x442edf[_0x41245d(0xbf)]),_0x26673c[_0x41245d(0xd6)],_0x4961d3);}else logger[_0x41245d(0xfe)](_0x41245d(0xf6)+_0x153513);}}}};try{const browserstackFolderPath=path['join'](helper[a36_0x128569(0x10f)](),a36_0x128569(0x111));if(fs[a36_0x128569(0xfc)](browserstackFolderPath)){const filePath=path[a36_0x128569(0x9a)](browserstackFolderPath,a36_0x128569(0x9c));fs[a36_0x128569(0xfc)](filePath)&&fs[a36_0x128569(0xaf)](filePath);}}catch(a36_0x2ccf4d){logger[a36_0x128569(0xfe)](a36_0x128569(0xbc)+a36_0x2ccf4d['message']);}process[a36_0x128569(0xd6)][a36_0x128569(0xa5)](a36_0x128569(0xd2))&&(!process['argv']['includes'](a36_0x128569(0xd5))&&process[a36_0x128569(0xd6)][a36_0x128569(0xfd)](a36_0x128569(0xf4)),!process[a36_0x128569(0xd6)][a36_0x128569(0xa5)](a36_0x128569(0xef))&&process['argv'][a36_0x128569(0xfd)](a36_0x128569(0xa3)),!process[a36_0x128569(0xd6)][a36_0x128569(0xa5)](a36_0x128569(0xc4))&&process[a36_0x128569(0xd6)][a36_0x128569(0xfd)](a36_0x128569(0x110)));const yargs=require(a36_0x128569(0xb5)),Constants=require(a36_0x128569(0x116)),PerformanceTester=require(a36_0x128569(0xc8)),logger=require('../helpers/logger')['winstonLogger'];function a36_0x866e(){const _0x1543fc=['zCJmE','./playwright/command','YlKjo','--no-opts','hRRrU','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','ypFwY','YGwqD','../../ats/src/index','dtlWk','usage','existsSync','push','debug','run','config','PLAYWRIGHT','161661kxejtm','BrlMQ','alias','mark','cOBAp','nJVsD','parserConfiguration','22794Rgwyed','FJcDE','codeceptjs','ydiLy','fVoIs','syCan','homedir','--no-package','.browserstack','node','1413522CppYUx','hcRXJ','200bOsLhU','./utils/constants','command','CUCUMBER','16XEOwKf','hVVOx','Twphm','cQJZQ','MOCHA','NoIIM','message','lYVWv','jest','hOywf','1913650LMAVik','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','./codeceptjs/command','help','join','LJcOm','.local-not-set.json','kFJjz','3DnQgCB','showHelpOnFail','mQBCT','framework','Txjbh','--no-config','setTestObservabilityDisable','includes','../helpers/helper','mocha/lib/cli/cli.js','CODECEPTJS','util','nightwatch','ecNtZ','RQtZv','version','XuGal','unlinkSync','playwright','RDsmY','99118FvPumo','slice','usage:\x20$0\x20<command>\x20[args]','yargs','NvHPm','HST','JEST','dot-notation','mocha/lib/cli/run.js','6135jHlkVM','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','isUndefined','HELP','hbuKb','Lmwwr','Fqpbm','UtiUB','gtRpM','--package','297311rrcXUv','qxRIo','SDKTestSuccessful','../helpers/performance-tester','vdiZo','xbRSF','INFO','dSYWk','FyMwx','EAWXY','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','ydvTk','exitCode','mocha','HgXMd','ODKAV','--opts','argv','fireFunnelTestEvent','describe','NIGHTWATCH','SbLDr','jQUpC','euhgX','FZHgi','VLJHX','LFJTS','globalException','ASVwe','BERwW','KXURn','vpsbG','cucumber-js','path','ats','./jest/command','startMonitoring','cYCkD','sdk:setup-start','KMidU','error','dRywq','--config','perf_hooks'];a36_0x866e=function(){return _0x1543fc;};return a36_0x866e();}PerformanceTester[a36_0x128569(0xe9)](),performance[a36_0x128569(0x105)](a36_0x128569(0xeb));function a36_0x561b(_0x4b52b0,_0xd570e5){const _0x866eca=a36_0x866e();return a36_0x561b=function(_0x561bbe,_0x22468f){_0x561bbe=_0x561bbe-0x8b;let _0xad7a57=_0x866eca[_0x561bbe];return _0xad7a57;},a36_0x561b(_0x4b52b0,_0xd570e5);}const a36_0x3c58d5={};a36_0x3c58d5[a36_0x128569(0xb9)]=![];const argv=yargs[a36_0x128569(0x108)](a36_0x3c58d5)[a36_0x128569(0xfb)](a36_0x128569(0xb4))[a36_0x128569(0x104)]('v',a36_0x128569(0xad))[a36_0x128569(0xd8)]('v')['alias']('h',a36_0x128569(0x99))['help'](a36_0x128569(0x99))[a36_0x128569(0x9f)](!![],Constants['VERSION'][a36_0x128569(0xbe)])['command'](a36_0x128569(0x94),Constants[a36_0x128569(0xb8)][a36_0x128569(0xcb)],function(_0x4a4746){const _0x3ec9d2=a36_0x128569,_0x14e2ab={'hOywf':function(_0x5d42a7,_0x554831,_0x2c469f,_0x4d3a94){return _0x5d42a7(_0x554831,_0x2c469f,_0x4d3a94);},'KMidU':function(_0x53a7f3,_0x3111a3){return _0x53a7f3(_0x3111a3);},'BERwW':_0x3ec9d2(0xe8)};helper[_0x3ec9d2(0xa4)](),helper['setBrowserStackAutomationDisable']();const _0x53d6e5=process[_0x3ec9d2(0xd6)][_0x3ec9d2(0xb3)](0x2);return _0x14e2ab[_0x3ec9d2(0x95)](captureError,_0x14e2ab[_0x3ec9d2(0xec)](require,_0x14e2ab[_0x3ec9d2(0xe2)]),_0x4a4746[_0x3ec9d2(0xd6)],_0x53d6e5);})[a36_0x128569(0x117)](a36_0x128569(0xd2),Constants[a36_0x128569(0x90)][a36_0x128569(0xcb)],_0x4c622c=>{const _0x3fa099=a36_0x128569,_0x2053b0={'ODKAV':function(_0x54c66f,_0x175d9a,_0x2ce6ce){return _0x54c66f(_0x175d9a,_0x2ce6ce);},'cYCkD':function(_0x4aa10b,_0x592886){return _0x4aa10b(_0x592886);},'UtiUB':_0x3fa099(0xf9),'akHAT':function(_0x3e021d,_0x1d3df0){return _0x3e021d===_0x1d3df0;},'Lmwwr':_0x3fa099(0x9d),'dRywq':function(_0x22719b,_0x1e931){return _0x22719b(_0x1e931);},'NvHPm':'./mocha/command','KXURn':'Parsing\x20command\x20line\x20arguements','OBTLb':_0x3fa099(0xba),'dSYWk':function(_0x43cefd,_0x5e227b){return _0x43cefd(_0x5e227b);},'RQtZv':'mocha/lib/cli/commands.js','vpsbG':function(_0x57dcc4,_0x3c8c98){return _0x57dcc4(_0x3c8c98);},'Twphm':_0x3fa099(0xa7),'FJcDE':function(_0x5b22d9){return _0x5b22d9();}};logger[_0x3fa099(0xfe)](_0x2053b0[_0x3fa099(0xe3)]);const _0x23ca13=_0x2053b0[_0x3fa099(0xea)](requireModule,_0x2053b0['OBTLb']),_0xc1f9c6=_0x2053b0[_0x3fa099(0xcc)](requireModule,_0x2053b0[_0x3fa099(0xac)]);process['argv']=process['argv'][_0x3fa099(0xb3)](0x1),delete _0x23ca13['handler'],_0x23ca13['handler']=function(_0x260ef2){const _0x57fdb9=_0x3fa099,_0x225b3e={'LJcOm':function(_0x5178c0,_0x223d75,_0x48aa7e){const _0x4436a8=a36_0x561b;return _0x2053b0[_0x4436a8(0xd4)](_0x5178c0,_0x223d75,_0x48aa7e);},'cQJZQ':function(_0x42989c,_0x129871){return _0x2053b0['cYCkD'](_0x42989c,_0x129871);},'BrlMQ':_0x2053b0[_0x57fdb9(0xc2)]};if(_0x2053b0['akHAT'](_0x2053b0['Lmwwr'],_0x2053b0[_0x57fdb9(0xc0)]))return _0x2053b0['ODKAV'](captureError,_0x2053b0[_0x57fdb9(0xee)](require,_0x2053b0[_0x57fdb9(0xb6)]),_0x260ef2);else{const _0xeb38e2=_0x14b539[_0x57fdb9(0xd6)][_0x57fdb9(0xb3)](0x2);return _0x225b3e[_0x57fdb9(0x9b)](_0x206b47,_0x225b3e[_0x57fdb9(0x8f)](_0x1cf876,_0x225b3e[_0x57fdb9(0x103)]),_0x346ef2);}},_0xc1f9c6[_0x3fa099(0xff)]=_0x23ca13;const {main:_0x361ee7}=_0x2053b0[_0x3fa099(0xe4)](requireModule,_0x2053b0[_0x3fa099(0x8e)]);_0x2053b0[_0x3fa099(0x10a)](_0x361ee7);})[a36_0x128569(0x117)](a36_0x128569(0xe5),Constants[a36_0x128569(0x8b)]['INFO'],function(_0x394fea){const _0xa3caed=a36_0x128569,_0x7f81a1={'PTwPM':function(_0x30820f,_0xac13c2,_0x2b153e,_0x4abcff){return _0x30820f(_0xac13c2,_0x2b153e,_0x4abcff);},'RDsmY':function(_0x1e6664,_0x2af446){return _0x1e6664(_0x2af446);},'YlKjo':'./cucumber-js/command'},_0x29fb28=process['argv'][_0xa3caed(0xb3)](0x2);return _0x7f81a1['PTwPM'](captureError,_0x7f81a1[_0xa3caed(0xb1)](require,_0x7f81a1[_0xa3caed(0xf3)]),_0x394fea[_0xa3caed(0xd6)],_0x29fb28);})[a36_0x128569(0x117)](a36_0x128569(0x112),Constants['VANILLA'][a36_0x128569(0xcb)],function(_0x5656b4){const _0x5892d0=a36_0x128569,_0x30ae0f={'LFJTS':function(_0x140a63,_0x2f5551,_0x4d3e95,_0x6c8221){return _0x140a63(_0x2f5551,_0x4d3e95,_0x6c8221);},'xbRSF':function(_0x331fb6,_0x15673f){return _0x331fb6(_0x15673f);},'FZHgi':'./vanilla-js/command'},_0x1c1292=process['argv'][_0x5892d0(0xb3)](0x2);return _0x30ae0f[_0x5892d0(0xdf)](captureError,_0x30ae0f[_0x5892d0(0xca)](require,_0x30ae0f[_0x5892d0(0xdd)]),_0x5656b4[_0x5892d0(0xd6)],_0x1c1292);})['command'](a36_0x128569(0xaa),Constants[a36_0x128569(0xd9)][a36_0x128569(0xcb)],function(_0x20278e){const _0x286f0b=a36_0x128569,_0x565a91={'fVoIs':function(_0x2124ea,_0x1ba2f5,_0x8127c0,_0x1dfbcb){return _0x2124ea(_0x1ba2f5,_0x8127c0,_0x1dfbcb);},'jQUpC':function(_0x14ef36,_0x1238bb){return _0x14ef36(_0x1238bb);},'NoIIM':'./nightwatch/command'},_0x483e7c=process[_0x286f0b(0xd6)][_0x286f0b(0xb3)](0x2);return _0x565a91[_0x286f0b(0x10d)](captureError,_0x565a91[_0x286f0b(0xdb)](require,_0x565a91[_0x286f0b(0x91)]),_0x20278e[_0x286f0b(0xd6)],_0x483e7c);})[a36_0x128569(0x117)](a36_0x128569(0x10b),Constants[a36_0x128569(0xa8)][a36_0x128569(0xcb)],function(_0x471535){const _0x140908=a36_0x128569,_0xe27bd={'qxRIo':function(_0x4db538,_0xa13526,_0x142ddb,_0x55672a){return _0x4db538(_0xa13526,_0x142ddb,_0x55672a);},'Fqpbm':function(_0x23ea32,_0xe832d1){return _0x23ea32(_0xe832d1);},'nkHfS':_0x140908(0x98)},_0x4d7d25=process['argv']['slice'](0x2);return _0xe27bd[_0x140908(0xc6)](captureError,_0xe27bd[_0x140908(0xc1)](require,_0xe27bd['nkHfS']),_0x471535[_0x140908(0xd6)],_0x4d7d25);})[a36_0x128569(0x117)]('ats',Constants[a36_0x128569(0xb7)][a36_0x128569(0xcb)],function(_0x44a660){const _0x1610c8=a36_0x128569,_0x133ea0={'EAWXY':function(_0x553757,_0xb8a951,_0x4d89d3){return _0x553757(_0xb8a951,_0x4d89d3);},'bLnVZ':function(_0xa76d5d,_0x105918){return _0xa76d5d(_0x105918);},'VLJHX':_0x1610c8(0xf9)},_0x480018=process['argv'][_0x1610c8(0xb3)](0x2);return _0x133ea0[_0x1610c8(0xce)](captureError,_0x133ea0['bLnVZ'](require,_0x133ea0[_0x1610c8(0xde)]),_0x44a660);})[a36_0x128569(0x117)](a36_0x128569(0xb0),Constants[a36_0x128569(0x101)][a36_0x128569(0xcb)],function(_0x18fb83){const _0xbeda53=a36_0x128569,_0x56ed70={'vdiZo':function(_0x4fe3af,_0x55a93c,_0x154073,_0x3efcb5){return _0x4fe3af(_0x55a93c,_0x154073,_0x3efcb5);},'XuGal':function(_0x5543db,_0x45cbb7){return _0x5543db(_0x45cbb7);},'gtRpM':_0xbeda53(0xf2)},_0x431410=process[_0xbeda53(0xd6)][_0xbeda53(0xb3)](0x2);return _0x56ed70[_0xbeda53(0xc9)](captureError,_0x56ed70[_0xbeda53(0xae)](require,_0x56ed70[_0xbeda53(0xc3)]),_0x18fb83[_0xbeda53(0xd6)],_0x431410);})['demandCommand'](0x1,a36_0x128569(0x97))['wrap'](null)[a36_0x128569(0xd6)];!helper[a36_0x128569(0xbd)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a36_0x128569(0xe7)&&console[a36_0x128569(0xed)](a36_0x128569(0xcf));
|
|
2
|
+
'use strict';const a36_0x3bc8f6=a36_0x59d4;(function(_0x42f8a7,_0x373e13){const _0x46bdc5=a36_0x59d4,_0xd080a3=_0x42f8a7();while(!![]){try{const _0x6103e3=-parseInt(_0x46bdc5(0xe9))/0x1+parseInt(_0x46bdc5(0xcd))/0x2+-parseInt(_0x46bdc5(0xc4))/0x3*(parseInt(_0x46bdc5(0xcc))/0x4)+-parseInt(_0x46bdc5(0xb3))/0x5+parseInt(_0x46bdc5(0xba))/0x6*(parseInt(_0x46bdc5(0x8f))/0x7)+-parseInt(_0x46bdc5(0x81))/0x8*(-parseInt(_0x46bdc5(0xb0))/0x9)+parseInt(_0x46bdc5(0xda))/0xa;if(_0x6103e3===_0x373e13)break;else _0xd080a3['push'](_0xd080a3['shift']());}catch(_0x2caef2){_0xd080a3['push'](_0xd080a3['shift']());}}}(a36_0x5d07,0x60fa8));const fs=require('fs'),path=require(a36_0x3bc8f6(0xd8)),util=require(a36_0x3bc8f6(0xe6)),{performance}=require(a36_0x3bc8f6(0xbc)),{requireModule}=require('../helpers/helper'),helper=require(a36_0x3bc8f6(0xf2)),captureError=async(_0x4b6eca,_0x42237d,_0x25cba2=null)=>{const _0x417a8d=a36_0x3bc8f6,_0x457542={'GaEHy':_0x417a8d(0x82),'HTlAE':function(_0x477fb9,_0x25b799,_0x479f56){return _0x477fb9(_0x25b799,_0x479f56);},'sfpLS':function(_0x4fd8c8,_0x9ffb62){return _0x4fd8c8(_0x9ffb62);},'HVAtP':_0x417a8d(0xf6),'HarRY':_0x417a8d(0xb6),'SWeRa':function(_0x414097,_0x2b6060,_0x7bab0d,_0x16d695){return _0x414097(_0x2b6060,_0x7bab0d,_0x16d695);},'lmFlP':_0x417a8d(0x87),'CbaCc':_0x417a8d(0xa7),'nMXpn':function(_0x87f66e,_0x194bdf){return _0x87f66e!==_0x194bdf;},'ULToL':_0x417a8d(0x93),'FvYzc':_0x417a8d(0xc5),'HltGI':_0x417a8d(0xa2),'LxKDW':_0x417a8d(0xfa),'lObqz':_0x417a8d(0x91),'SUytM':function(_0x46a4d8,_0x302b22){return _0x46a4d8!==_0x302b22;},'miLhT':'KzhFH','PMtFU':'cdjaT','vAgsE':_0x417a8d(0x7e),'uVAJb':function(_0x458f49,_0x59f8e1){return _0x458f49!==_0x59f8e1;},'piFyN':_0x417a8d(0xb8)};try{if(_0x457542[_0x417a8d(0xee)](_0x457542[_0x417a8d(0xe1)],_0x457542[_0x417a8d(0xe1)])){const _0xee48ac=_0x34d0bc[_0x417a8d(0xf0)](_0x3d222f,_0x457542['GaEHy']);_0x3f7262[_0x417a8d(0xe7)](_0xee48ac)&&_0x558697[_0x417a8d(0x83)](_0xee48ac);}else await _0x457542[_0x417a8d(0xa1)](_0x4b6eca,_0x42237d,_0x25cba2);}catch(_0xb79c63){if(_0x457542['nMXpn'](_0x457542['FvYzc'],_0x457542['HltGI'])){process[_0x417a8d(0xa0)]=0x1,logger[_0x417a8d(0x86)](util[_0x417a8d(0xe4)](_0xb79c63));const _0x158a73={};_0x158a73[_0x417a8d(0xec)]=_0xb79c63['message'];const _0x16bc83=_0x158a73;if(helper['isUndefined'](global[_0x417a8d(0xc3)])&&helper['isUndefined'](global[_0x417a8d(0xe0)])){if(_0x457542['nMXpn'](_0x457542[_0x417a8d(0xa6)],_0x457542[_0x417a8d(0xd4)]))return;else return _0x457542[_0x417a8d(0xa1)](_0x4b3ff5,_0x457542[_0x417a8d(0xd0)](_0x1bde27,_0x457542[_0x417a8d(0xd3)]),_0x38f130);}try{_0x457542[_0x417a8d(0xdb)](_0x457542['miLhT'],_0x457542['PMtFU'])?helper[_0x417a8d(0xd1)](_0x457542[_0x417a8d(0xa9)],_0x16bc83,global[_0x417a8d(0xc3)],global[_0x417a8d(0xe0)]):_0x4c5706[_0x417a8d(0x94)][_0x417a8d(0xb9)](_0x457542[_0x417a8d(0x98)]);}catch(_0x42c03a){if(_0x457542['uVAJb'](_0x457542[_0x417a8d(0xab)],_0x457542['piFyN'])){_0x43c325['setTestObservabilityDisable'](),_0x2c3a3b[_0x417a8d(0xeb)]();const _0x53f1d8=_0x6e9cc3[_0x417a8d(0x94)][_0x417a8d(0xc8)](0x2);return _0x457542[_0x417a8d(0xd7)](_0x1913c7,_0x457542[_0x417a8d(0xd0)](_0x515f9a,_0x457542['lmFlP']),_0x2c256e[_0x417a8d(0x94)],_0x53f1d8);}else logger['debug'](_0x417a8d(0xe8)+_0x42c03a);}}else _0x5278d6['error'](_0x457542[_0x417a8d(0x9d)]);}};try{const browserstackFolderPath=path[a36_0x3bc8f6(0xf0)](helper['homedir'](),a36_0x3bc8f6(0x9c));if(fs[a36_0x3bc8f6(0xe7)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a36_0x3bc8f6(0x82));fs[a36_0x3bc8f6(0xe7)](filePath)&&fs[a36_0x3bc8f6(0x83)](filePath);}}catch(a36_0x39c57c){logger['debug'](a36_0x3bc8f6(0xce)+a36_0x39c57c['message']);}process['argv'][a36_0x3bc8f6(0x8e)]('mocha')&&(!process[a36_0x3bc8f6(0x94)][a36_0x3bc8f6(0x8e)](a36_0x3bc8f6(0x8a))&&process[a36_0x3bc8f6(0x94)]['push']('--no-opts'),!process[a36_0x3bc8f6(0x94)]['includes'](a36_0x3bc8f6(0xbe))&&process[a36_0x3bc8f6(0x94)]['push'](a36_0x3bc8f6(0xb6)),!process[a36_0x3bc8f6(0x94)]['includes'](a36_0x3bc8f6(0xe2))&&process[a36_0x3bc8f6(0x94)][a36_0x3bc8f6(0xb9)]('--no-package'));const yargs=require('yargs'),Constants=require('./utils/constants'),PerformanceTester=require(a36_0x3bc8f6(0x84)),logger=require(a36_0x3bc8f6(0xf1))[a36_0x3bc8f6(0x80)];PerformanceTester['startMonitoring'](),performance[a36_0x3bc8f6(0xdd)]('sdk:setup-start');const a36_0x59af41={};function a36_0x59d4(_0x13a4ae,_0x47cd6e){const _0x5d0751=a36_0x5d07();return a36_0x59d4=function(_0x59d44e,_0x2ea7e1){_0x59d44e=_0x59d44e-0x7e;let _0x2d8745=_0x5d0751[_0x59d44e];return _0x2d8745;},a36_0x59d4(_0x13a4ae,_0x47cd6e);}a36_0x59af41['dot-notation']=![];function a36_0x5d07(){const _0x5b15ac=['VERSION','slice','VANILLA','uiMjJ','./cucumber-js/command','1608WhZBuH','342316jOWaLw','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','WhrUG','sfpLS','fireFunnelTestEvent','hBZie','HVAtP','lObqz','EWsTe','parserConfiguration','SWeRa','path','playwright','6062580ixDyDk','SUytM','nightwatch','mark','eKrOC','../../ats/src/index','framework','ULToL','--package','ats','format','mQcPq','util','existsSync','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','149257yQtKhV','sDNLl','setBrowserStackAutomationDisable','globalException','hnKFO','nMXpn','wrap','join','../helpers/logger','../helpers/helper','cucumber-js','mocha','jest','./mocha/command','INFO','yKjaP','xoKbO','SuybX','SDKTestSuccessful','./vanilla-js/command','winstonLogger','42640xhckuT','.local-not-set.json','unlinkSync','../helpers/performance-tester','WHLqs','error','./jest/command','mocha/lib/cli/commands.js','run','--opts','Parsing\x20command\x20line\x20arguements','usage:\x20$0\x20<command>\x20[args]','vjVRa','includes','49YAKJpN','codeceptjs','rInBM','version','bzJRr','argv','demandCommand','command','FqODX','HarRY','HqHuM','bfohc','rZfct','.browserstack','CbaCc','describe','BtzGK','exitCode','HTlAE','NCCWV','./nightwatch/command','IYNZZ','isUndefined','LxKDW','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','jvRhF','vAgsE','mocha/lib/cli/cli.js','piFyN','CHQCU','./playwright/command','KnLYf','MOCHA','477nhHzcn','aDoEl','alias','1021515Jeezkl','help','KJLet','--no-config','PbdyJ','LSIdL','push','300480GGHBok','TYUig','perf_hooks','iFejw','--config','PLAYWRIGHT','NIGHTWATCH','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','handler','config','4923hCaUUU','zNMBE','JEST'];a36_0x5d07=function(){return _0x5b15ac;};return a36_0x5d07();}const argv=yargs[a36_0x3bc8f6(0xd6)](a36_0x59af41)['usage'](a36_0x3bc8f6(0x8c))[a36_0x3bc8f6(0xb2)]('v',a36_0x3bc8f6(0x92))[a36_0x3bc8f6(0x9e)]('v')[a36_0x3bc8f6(0xb2)]('h',a36_0x3bc8f6(0xb4))[a36_0x3bc8f6(0xb4)]('help')['showHelpOnFail'](!![],Constants[a36_0x3bc8f6(0xc7)]['HELP'])[a36_0x3bc8f6(0x96)](a36_0x3bc8f6(0xf5),Constants[a36_0x3bc8f6(0xc6)][a36_0x3bc8f6(0xf7)],function(_0x2a311c){const _0x1b356e=a36_0x3bc8f6,_0x209401={'eKrOC':function(_0x108ccc,_0x204a46,_0x2fdceb,_0x4b75b2){return _0x108ccc(_0x204a46,_0x2fdceb,_0x4b75b2);},'KJLet':function(_0x456b21,_0x256d69){return _0x456b21(_0x256d69);},'uiMjJ':'./jest/command'};helper['setTestObservabilityDisable'](),helper[_0x1b356e(0xeb)]();const _0xc0ffb7=process[_0x1b356e(0x94)][_0x1b356e(0xc8)](0x2);return _0x209401[_0x1b356e(0xde)](captureError,_0x209401[_0x1b356e(0xb5)](require,_0x209401[_0x1b356e(0xca)]),_0x2a311c['argv'],_0xc0ffb7);})['command'](a36_0x3bc8f6(0xf4),Constants[a36_0x3bc8f6(0xaf)]['INFO'],_0x20da57=>{const _0x24d5a5=a36_0x3bc8f6,_0x57574b={'jvRhF':function(_0x1b8ba1,_0x1e1d97){return _0x1b8ba1!==_0x1e1d97;},'iFejw':_0x24d5a5(0xe5),'hnKFO':function(_0x4d8bfe,_0x8e8162,_0x4ea160){return _0x4d8bfe(_0x8e8162,_0x4ea160);},'PbdyJ':function(_0x201da7,_0x6b65e2){return _0x201da7(_0x6b65e2);},'sDNLl':'./mocha/command','BtzGK':_0x24d5a5(0x8b),'mrnFo':'mocha/lib/cli/run.js','hAJcD':function(_0x2cf0ea,_0x25fd4e){return _0x2cf0ea(_0x25fd4e);},'DZiLd':_0x24d5a5(0x88),'TYUig':function(_0x52cdd8,_0x142830){return _0x52cdd8(_0x142830);},'vjVRa':_0x24d5a5(0xaa),'zJUMR':function(_0x15e2d3){return _0x15e2d3();}};logger['debug'](_0x57574b[_0x24d5a5(0x9f)]);const _0x5b3f5a=_0x57574b['PbdyJ'](requireModule,_0x57574b['mrnFo']),_0x7988b0=_0x57574b['hAJcD'](requireModule,_0x57574b['DZiLd']);process[_0x24d5a5(0x94)]=process[_0x24d5a5(0x94)]['slice'](0x1),delete _0x5b3f5a['handler'],_0x5b3f5a[_0x24d5a5(0xc2)]=function(_0x1fb596){const _0x902c5c=_0x24d5a5;if(_0x57574b[_0x902c5c(0xa8)](_0x57574b[_0x902c5c(0xbd)],_0x57574b[_0x902c5c(0xbd)]))_0x1f7b1d['debug']('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+_0x151726['message']);else return _0x57574b[_0x902c5c(0xed)](captureError,_0x57574b[_0x902c5c(0xb7)](require,_0x57574b[_0x902c5c(0xea)]),_0x1fb596);},_0x7988b0[_0x24d5a5(0x89)]=_0x5b3f5a;const {main:_0x309493}=_0x57574b[_0x24d5a5(0xbb)](requireModule,_0x57574b[_0x24d5a5(0x8d)]);_0x57574b['zJUMR'](_0x309493);})['command'](a36_0x3bc8f6(0xf3),Constants['CUCUMBER'][a36_0x3bc8f6(0xf7)],function(_0x1b28ef){const _0x1949f5=a36_0x3bc8f6,_0x3e9dea={'UsNzO':function(_0x30ba30,_0x530e03,_0x4e4af7,_0x6decea){return _0x30ba30(_0x530e03,_0x4e4af7,_0x6decea);},'xoKbO':function(_0xfa615,_0x30914a){return _0xfa615(_0x30914a);},'FqODX':_0x1949f5(0xcb)},_0x4df70c=process[_0x1949f5(0x94)][_0x1949f5(0xc8)](0x2);return _0x3e9dea['UsNzO'](captureError,_0x3e9dea[_0x1949f5(0xf9)](require,_0x3e9dea[_0x1949f5(0x97)]),_0x1b28ef['argv'],_0x4df70c);})[a36_0x3bc8f6(0x96)]('node',Constants[a36_0x3bc8f6(0xc9)][a36_0x3bc8f6(0xf7)],function(_0x5c8e76){const _0x37c545=a36_0x3bc8f6,_0x910e99={'aDoEl':function(_0x449a7c,_0x2296de,_0x1658e1,_0x4a84e9){return _0x449a7c(_0x2296de,_0x1658e1,_0x4a84e9);},'hBZie':function(_0x3b51c3,_0x21744a){return _0x3b51c3(_0x21744a);},'KnLYf':_0x37c545(0x7f)},_0xe4ccc5=process[_0x37c545(0x94)][_0x37c545(0xc8)](0x2);return _0x910e99[_0x37c545(0xb1)](captureError,_0x910e99[_0x37c545(0xd2)](require,_0x910e99[_0x37c545(0xae)]),_0x5c8e76[_0x37c545(0x94)],_0xe4ccc5);})[a36_0x3bc8f6(0x96)](a36_0x3bc8f6(0xdc),Constants[a36_0x3bc8f6(0xc0)][a36_0x3bc8f6(0xf7)],function(_0x669e6d){const _0x2db745=a36_0x3bc8f6,_0x7abffd={'WhrUG':function(_0x33b340,_0x5574cc,_0x169852,_0x2d2aef){return _0x33b340(_0x5574cc,_0x169852,_0x2d2aef);},'IYNZZ':function(_0x4d69c2,_0x327bde){return _0x4d69c2(_0x327bde);},'CmQvL':_0x2db745(0xa3)},_0x4e368e=process['argv'][_0x2db745(0xc8)](0x2);return _0x7abffd[_0x2db745(0xcf)](captureError,_0x7abffd[_0x2db745(0xa4)](require,_0x7abffd['CmQvL']),_0x669e6d[_0x2db745(0x94)],_0x4e368e);})[a36_0x3bc8f6(0x96)](a36_0x3bc8f6(0x90),Constants['CODECEPTJS'][a36_0x3bc8f6(0xf7)],function(_0x108ca7){const _0x388df4=a36_0x3bc8f6,_0x295a30={'yKjaP':function(_0x538a95,_0x35a145,_0x4bcb2e,_0xd2d538){return _0x538a95(_0x35a145,_0x4bcb2e,_0xd2d538);},'EWsTe':function(_0x33ccdb,_0x3fec48){return _0x33ccdb(_0x3fec48);},'LvSIb':'./codeceptjs/command'},_0x4696ad=process[_0x388df4(0x94)][_0x388df4(0xc8)](0x2);return _0x295a30[_0x388df4(0xf8)](captureError,_0x295a30[_0x388df4(0xd5)](require,_0x295a30['LvSIb']),_0x108ca7['argv'],_0x4696ad);})['command'](a36_0x3bc8f6(0xe3),Constants['HST'][a36_0x3bc8f6(0xf7)],function(_0x54ed0c){const _0x5486a3=a36_0x3bc8f6,_0x1e7a61={'HtPrN':function(_0x56856f,_0x4b7571,_0x4b8236){return _0x56856f(_0x4b7571,_0x4b8236);},'CHQCU':function(_0xf0765b,_0x58e7c2){return _0xf0765b(_0x58e7c2);},'HqHuM':_0x5486a3(0xdf)},_0x5d520a=process[_0x5486a3(0x94)][_0x5486a3(0xc8)](0x2);return _0x1e7a61['HtPrN'](captureError,_0x1e7a61[_0x5486a3(0xac)](require,_0x1e7a61[_0x5486a3(0x99)]),_0x54ed0c);})[a36_0x3bc8f6(0x96)](a36_0x3bc8f6(0xd9),Constants[a36_0x3bc8f6(0xbf)][a36_0x3bc8f6(0xf7)],function(_0x4d205b){const _0x5318d3=a36_0x3bc8f6,_0x2ae0dd={'WHLqs':function(_0x179d5b,_0x3195de,_0x20f8cb,_0x41f896){return _0x179d5b(_0x3195de,_0x20f8cb,_0x41f896);},'bfohc':function(_0x1293cb,_0x3a13fe){return _0x1293cb(_0x3a13fe);},'rZfct':_0x5318d3(0xad)},_0x2871f3=process[_0x5318d3(0x94)][_0x5318d3(0xc8)](0x2);return _0x2ae0dd[_0x5318d3(0x85)](captureError,_0x2ae0dd[_0x5318d3(0x9a)](require,_0x2ae0dd[_0x5318d3(0x9b)]),_0x4d205b['argv'],_0x2871f3);})[a36_0x3bc8f6(0x95)](0x1,a36_0x3bc8f6(0xc1))[a36_0x3bc8f6(0xef)](null)[a36_0x3bc8f6(0x94)];!helper[a36_0x3bc8f6(0xa5)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a36_0x3bc8f6(0xe3)&&console[a36_0x3bc8f6(0x86)](a36_0x3bc8f6(0xa7));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const a37_0x340ea9=a37_0x54c8;(function(_0x536546,_0x579a89){const _0x28ab05=a37_0x54c8,_0x284a1a=_0x536546();while(!![]){try{const _0x486b8b=parseInt(_0x28ab05(0xb2))/0x1*(parseInt(_0x28ab05(0x80))/0x2)+parseInt(_0x28ab05(0xfd))/0x3*(-parseInt(_0x28ab05(0xda))/0x4)+parseInt(_0x28ab05(0xdf))/0x5+parseInt(_0x28ab05(0x109))/0x6+-parseInt(_0x28ab05(0xba))/0x7+parseInt(_0x28ab05(0xf0))/0x8+-parseInt(_0x28ab05(0xc0))/0x9*(-parseInt(_0x28ab05(0x70))/0xa);if(_0x486b8b===_0x579a89)break;else _0x284a1a['push'](_0x284a1a['shift']());}catch(_0x73e3bb){_0x284a1a['push'](_0x284a1a['shift']());}}}(a37_0x415e,0xa88a9));const fs=require('fs'),helper=require(a37_0x340ea9(0xbb)),yaml=require('js-yaml'),yargs=require(a37_0x340ea9(0x93)),logger=require(a37_0x340ea9(0xfe))[a37_0x340ea9(0xb5)],configFileTemplate=__dirname+a37_0x340ea9(0xe8),configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a37_0x340ea9(0x7f)]()+a37_0x340ea9(0xb3),packageFile=process[a37_0x340ea9(0x7f)]()+a37_0x340ea9(0xf8),frameworks=[a37_0x340ea9(0x7a),a37_0x340ea9(0x74),'cucumber-js',a37_0x340ea9(0xe6),'nightwatch',a37_0x340ea9(0xc3),'playwright'];let config;function a37_0x54c8(_0x2cda9c,_0x331828){const _0x415e0a=a37_0x415e();return a37_0x54c8=function(_0x54c833,_0x1fbace){_0x54c833=_0x54c833-0x6f;let _0x2b8b1a=_0x415e0a[_0x54c833];return _0x2b8b1a;},a37_0x54c8(_0x2cda9c,_0x331828);}logger[a37_0x340ea9(0xde)](a37_0x340ea9(0xb6)),createConfigurationFile(yargs[a37_0x340ea9(0x84)][a37_0x340ea9(0xc6)],yargs[a37_0x340ea9(0x84)][a37_0x340ea9(0xac)],yargs[a37_0x340ea9(0x84)][a37_0x340ea9(0xee)]);try{sdkSetup();}catch(a37_0x345dfa){logger[a37_0x340ea9(0x8d)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a37_0x345dfa);}addScriptInPackageJson();function createConfigurationFile(_0x5bf0ea,_0x367978,_0x19f49a=![]){const _0x5f128f=a37_0x340ea9,_0x537750={'JxtRh':function(_0x5ac090,_0xc517a1){return _0x5ac090<_0xc517a1;},'LdeKS':'browserstack-node-sdk','gxlXj':function(_0x264ed6){return _0x264ed6();},'ajrhC':_0x5f128f(0xbd),'bPnTZ':function(_0x2c0732,_0x32a71a){return _0x2c0732===_0x32a71a;},'TGRZs':_0x5f128f(0xb1),'gwPaW':_0x5f128f(0xb4),'rbamj':function(_0x442ae6,_0x23051a){return _0x442ae6===_0x23051a;},'PAfSU':_0x5f128f(0xa4),'yUAAV':function(_0x2ab0aa,_0x2e394b){return _0x2ab0aa===_0x2e394b;},'KsbEW':_0x5f128f(0xa3),'aMFCX':'FMVwP','tiPPX':_0x5f128f(0x105),'cyOag':_0x5f128f(0x99),'crAJn':_0x5f128f(0xd0),'VzBTO':_0x5f128f(0xa2),'EjYVE':'ejDcy','unmJs':'YOUR_ACCESS_KEY','ikqYC':function(_0x3fd3e6,_0x23c3b7){return _0x3fd3e6!==_0x23c3b7;},'mxwAF':_0x5f128f(0x83)};try{if(_0x537750[_0x5f128f(0xa8)](_0x537750[_0x5f128f(0x97)],_0x537750[_0x5f128f(0xf7)])){const _0x3e3baf=[],_0x515876=_0x2b5a87[_0x5f128f(0x7e)](_0x4c72a1);for(let _0x38ed46=0x0;_0x537750[_0x5f128f(0xfa)](_0x38ed46,_0x515876[_0x5f128f(0x8c)]);_0x38ed46+=0x1){_0x515876[_0x38ed46][0x1][_0x5f128f(0x7c)](_0x2bfc14)&&!_0x515876[_0x38ed46][0x1][_0x5f128f(0x7c)](_0x537750[_0x5f128f(0x73)])&&_0x3e3baf[_0x5f128f(0x10b)](_0x515876[_0x38ed46][0x0]);}return _0x3e3baf;}else{let _0xb6c470=fs[_0x5f128f(0xa5)](_0x19f49a?configFileTemplatePW:configFileTemplate,_0x537750[_0x5f128f(0x82)]);_0x5bf0ea&&(_0x537750[_0x5f128f(0x87)](_0x537750[_0x5f128f(0x95)],_0x537750[_0x5f128f(0xd2)])?_0x4cba54&&_0x1e670e[_0x5f128f(0x6f)](_0x25fbdd):_0xb6c470=_0xb6c470['replace'](_0x537750[_0x5f128f(0xa1)],_0x5bf0ea)),_0x367978&&(_0x537750[_0x5f128f(0xed)](_0x537750[_0x5f128f(0xd5)],_0x537750['EjYVE'])?_0xb6c470=_0xb6c470[_0x5f128f(0x7d)](_0x537750['unmJs'],_0x367978):_0x3990cd[_0x5f128f(0x8d)](_0x5f128f(0x71)+_0x1afce7)),config=yaml[_0x5f128f(0x79)](_0xb6c470),fs[_0x5f128f(0x107)](configFile,_0xb6c470,_0x37e059=>{const _0xc12591=_0x5f128f,_0x1edf55={'BziMb':function(_0x45235b){const _0x134cfa=a37_0x54c8;return _0x537750[_0x134cfa(0x8a)](_0x45235b);},'EYUoj':_0x537750[_0xc12591(0xff)]};_0x537750[_0xc12591(0x87)](_0x537750['TGRZs'],_0x537750['gwPaW'])?_0x1edf55[_0xc12591(0xe5)](_0x505995):_0x37e059&&(_0x537750[_0xc12591(0xed)](_0x537750[_0xc12591(0xd6)],_0x537750[_0xc12591(0xd6)])?logger[_0xc12591(0x6f)](_0x37e059):(_0x4e6d57[_0xc12591(0xde)](_0x1edf55[_0xc12591(0x72)]),_0xdb78e7[_0xc12591(0xc1)]=_0x3f3a6d,_0x2178df[_0xc12591(0x107)](_0x28d50b,_0x389008[_0xc12591(0x9f)](_0x4d4da8,null,0x2),_0x53dc05=>{_0x53dc05&&_0x41e9fc['error'](_0x53dc05);})));});}}catch(_0x43a9ef){_0x537750['ikqYC'](_0x537750[_0x5f128f(0x9e)],_0x537750[_0x5f128f(0x9e)])?_0x355a68='browserstack-node-sdk\x20'+_0x5f2e6c:logger[_0x5f128f(0x6f)](_0x43a9ef);}}function addPostInstallScript(_0x3c183f,_0x2a4e0e){const _0x1d135b=a37_0x340ea9,_0x5d9679={'XsEog':function(_0x39762f,_0x228ff3,_0x56e62e){return _0x39762f(_0x228ff3,_0x56e62e);},'EaaqV':function(_0x1ba787,_0x10a6f7){return _0x1ba787<_0x10a6f7;},'Axaaq':_0x1d135b(0xa9),'esriI':'npm\x20update\x20browserstack-node-sdk','yJYOn':function(_0x5c6355,_0x1a19a1){return _0x5c6355===_0x1a19a1;},'APCZA':'FxzVu','sYWXj':function(_0x4d3e7b,_0x41ba8f){return _0x4d3e7b!==_0x41ba8f;},'vWMkS':'DiJkC','Fyqee':_0x1d135b(0xfb),'qfzak':_0x1d135b(0x102),'GBWeK':_0x1d135b(0x9b)};let _0x16619d=_0x3c183f[_0x5d9679['Axaaq']];if(_0x16619d&&_0x16619d[_0x1d135b(0x7c)](_0x5d9679[_0x1d135b(0x103)])){if(_0x5d9679['yJYOn'](_0x5d9679[_0x1d135b(0xaf)],_0x5d9679[_0x1d135b(0xaf)]))return;else{const _0x4f74b1=_0x5d9679['XsEog'](_0x2b4742,_0x453b0a[_0x1d135b(0xc1)],_0x12307e[_0x3471a0]);for(let _0x42208e=0x0;_0x5d9679[_0x1d135b(0x8f)](_0x42208e,_0x4f74b1[_0x1d135b(0x8c)]);_0x42208e+=0x1){_0x405a02['push'](_0x5d9679[_0x1d135b(0xca)](_0x1d998f,_0x5b890f['scripts'],_0x4f74b1[_0x42208e]));}_0x5d9679[_0x1d135b(0xca)](_0x4c5916,_0xf2cc04[_0x1d135b(0xc1)],_0x59f1f7);}}!_0x16619d?_0x5d9679[_0x1d135b(0xa6)](_0x5d9679[_0x1d135b(0x9c)],_0x5d9679[_0x1d135b(0x78)])?_0x16619d=_0x5d9679[_0x1d135b(0x103)]:_0x29b8a3[_0x300abf[_0x3481df][0x0]]=_0x5c38e0[_0x3ccf00][0x1]:_0x5d9679[_0x1d135b(0xa6)](_0x5d9679[_0x1d135b(0x90)],_0x5d9679[_0x1d135b(0x90)])?_0x5900c5[_0x1d135b(0x6f)](_0x36f221):_0x16619d+=_0x5d9679[_0x1d135b(0xf2)],_0x2a4e0e[_0x1d135b(0x10b)]([_0x5d9679[_0x1d135b(0xd8)],_0x16619d]);}function addScriptInPackageJson(){const _0x2f6792=a37_0x340ea9,_0x37818c={'QGwqX':_0x2f6792(0xfc),'UKIcl':function(_0x1c177a,_0x2fbdea){return _0x1c177a===_0x2fbdea;},'lPDgc':'qxyqO','JaFIu':_0x2f6792(0xdc),'yXYme':_0x2f6792(0xc9),'MLywp':_0x2f6792(0x105),'UjXdM':function(_0x4426ff,_0x3d48d7){return _0x4426ff<_0x3d48d7;},'qYlJe':function(_0x2d1af4,_0x3943df){return _0x2d1af4!==_0x3943df;},'YbvLQ':_0x2f6792(0xbc),'sHrVN':_0x2f6792(0x75),'DTSwr':function(_0x54ce05,_0x1439c6,_0x4d40c2){return _0x54ce05(_0x1439c6,_0x4d40c2);},'meXhu':function(_0x596448,_0x552a47){return _0x596448!==_0x552a47;},'hAndW':'CEbTO','UuoTD':_0x2f6792(0x8b),'HJOYe':function(_0x639e9e,_0x4369d0){return _0x639e9e<_0x4369d0;},'RCuzW':_0x2f6792(0xcb),'PpVor':_0x2f6792(0xf4),'WDipH':'CopnT','rSgAn':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x35d4c7=JSON[_0x2f6792(0xad)](fs['readFileSync'](packageFile,_0x37818c[_0x2f6792(0xc5)])),_0x544a96=[];for(let _0x5ab60e=0x0;_0x37818c[_0x2f6792(0xc4)](_0x5ab60e,frameworks[_0x2f6792(0x8c)]);_0x5ab60e+=0x1){if(_0x37818c[_0x2f6792(0xdd)](_0x37818c[_0x2f6792(0xeb)],_0x37818c[_0x2f6792(0x108)])){const _0x4110cd=_0x37818c[_0x2f6792(0x9d)](findScriptsWithFramework,_0x35d4c7[_0x2f6792(0xc1)],frameworks[_0x5ab60e]);for(let _0x3b69fc=0x0;_0x37818c[_0x2f6792(0xc4)](_0x3b69fc,_0x4110cd['length']);_0x3b69fc+=0x1){if(_0x37818c[_0x2f6792(0xc7)](_0x37818c[_0x2f6792(0xe3)],_0x37818c[_0x2f6792(0xb9)]))_0x544a96[_0x2f6792(0x10b)](_0x37818c[_0x2f6792(0x9d)](getUpdatedCommand,_0x35d4c7[_0x2f6792(0xc1)],_0x4110cd[_0x3b69fc]));else return;}_0x37818c[_0x2f6792(0x9d)](addPostInstallScript,_0x35d4c7[_0x2f6792(0xc1)],_0x544a96);}else return;}const _0x321bc0={..._0x35d4c7[_0x2f6792(0xc1)]},_0x4d2702=_0x321bc0;for(let _0x1684e8=0x0;_0x37818c[_0x2f6792(0xbf)](_0x1684e8,_0x544a96[_0x2f6792(0x8c)]);_0x1684e8+=0x1){_0x37818c[_0x2f6792(0xdd)](_0x37818c[_0x2f6792(0xd7)],_0x37818c['PpVor'])?_0x4d2702[_0x544a96[_0x1684e8][0x0]]=_0x544a96[_0x1684e8][0x1]:_0x868ff8=_0x37818c[_0x2f6792(0xe9)];}_0x37818c['meXhu'](JSON[_0x2f6792(0x9f)](_0x35d4c7[_0x2f6792(0xc1)]),JSON['stringify'](_0x4d2702))&&(_0x37818c[_0x2f6792(0xc7)](_0x37818c[_0x2f6792(0xd1)],_0x37818c[_0x2f6792(0xd1)])?_0x52bce1&&_0x542df9['error'](_0x29626a):(logger[_0x2f6792(0xde)](_0x37818c[_0x2f6792(0xce)]),_0x35d4c7[_0x2f6792(0xc1)]=_0x4d2702,fs[_0x2f6792(0x107)](packageFile,JSON[_0x2f6792(0x9f)](_0x35d4c7,null,0x2),_0x4e17ab=>{const _0x3f7e50=_0x2f6792;_0x37818c[_0x3f7e50(0xb7)](_0x37818c[_0x3f7e50(0xd3)],_0x37818c[_0x3f7e50(0xf3)])?_0x96833e[_0x3f7e50(0x6f)](_0x57f798):_0x4e17ab&&(_0x37818c[_0x3f7e50(0xb7)](_0x37818c[_0x3f7e50(0xae)],_0x37818c[_0x3f7e50(0xae)])?logger[_0x3f7e50(0x6f)](_0x4e17ab):_0x3ab89d[_0x3f7e50(0x6f)](_0x4139f9));})));};function findScriptsWithFramework(_0x218c64,_0x19a257){const _0x350fba=a37_0x340ea9,_0x2addb3={};_0x2addb3[_0x350fba(0xaa)]='YOUR_ACCESS_KEY',_0x2addb3['maSVe']=function(_0xc2069f,_0x11340e){return _0xc2069f<_0x11340e;},_0x2addb3[_0x350fba(0x86)]=function(_0x505492,_0x1df6bb){return _0x505492!==_0x1df6bb;},_0x2addb3[_0x350fba(0xa0)]=_0x350fba(0xd9),_0x2addb3[_0x350fba(0x77)]=_0x350fba(0xe0),_0x2addb3[_0x350fba(0x98)]=function(_0x42454d,_0x41c212){return _0x42454d===_0x41c212;},_0x2addb3[_0x350fba(0x7b)]=_0x350fba(0x96),_0x2addb3[_0x350fba(0xb8)]=_0x350fba(0x85);const _0x2a274f=_0x2addb3,_0x75809b=[],_0x5ac383=Object[_0x350fba(0x7e)](_0x218c64);for(let _0x573875=0x0;_0x2a274f['maSVe'](_0x573875,_0x5ac383[_0x350fba(0x8c)]);_0x573875+=0x1){_0x2a274f['JOsgV'](_0x2a274f[_0x350fba(0xa0)],_0x2a274f['zSaKb'])?_0x48289b=_0x2e8137[_0x350fba(0x7d)](_0x2a274f[_0x350fba(0xaa)],_0xa5b9f1):_0x5ac383[_0x573875][0x1][_0x350fba(0x7c)](_0x19a257)&&!_0x5ac383[_0x573875][0x1][_0x350fba(0x7c)](_0x2a274f[_0x350fba(0x77)])&&(_0x2a274f['clcxk'](_0x2a274f[_0x350fba(0x7b)],_0x2a274f['JZDEp'])?_0x4c8b15[_0x350fba(0x8d)](_0x350fba(0x71)+_0x328502):_0x75809b[_0x350fba(0x10b)](_0x5ac383[_0x573875][0x0]));}return _0x75809b;}function getUpdatedCommand(_0x4f5acc,_0x1d7996){const _0x80d0e3=a37_0x340ea9,_0x2806f6={};_0x2806f6[_0x80d0e3(0xe2)]=_0x80d0e3(0x89),_0x2806f6[_0x80d0e3(0xcf)]=_0x80d0e3(0xe0),_0x2806f6[_0x80d0e3(0x92)]=_0x80d0e3(0xa2),_0x2806f6[_0x80d0e3(0x94)]=function(_0xe84df3,_0x83b8a9){return _0xe84df3!==_0x83b8a9;},_0x2806f6[_0x80d0e3(0xf1)]=_0x80d0e3(0x101),_0x2806f6[_0x80d0e3(0x8e)]=_0x80d0e3(0xd4),_0x2806f6[_0x80d0e3(0xcd)]=function(_0x11fb23,_0x53c2ed){return _0x11fb23===_0x53c2ed;},_0x2806f6[_0x80d0e3(0x91)]=_0x80d0e3(0x76),_0x2806f6[_0x80d0e3(0xbe)]='UgQdQ',_0x2806f6[_0x80d0e3(0xc2)]=function(_0x5f0b24,_0x2498af){return _0x5f0b24===_0x2498af;},_0x2806f6[_0x80d0e3(0xdb)]=function(_0x510b2b,_0x1ad18f){return _0x510b2b!==_0x1ad18f;},_0x2806f6[_0x80d0e3(0xe4)]=_0x80d0e3(0xe7),_0x2806f6['UsNXt']=_0x80d0e3(0xea);const _0x58373c=_0x2806f6,_0x39fbd9=_0x1d7996+'-browserstack',_0x39086f=_0x4f5acc[_0x1d7996],_0x613e37=_0x39086f['split']('\x20');for(const _0x1c4f1e of frameworks){if(_0x58373c[_0x80d0e3(0x94)](_0x58373c['HCfIx'],_0x58373c[_0x80d0e3(0x8e)])){if(_0x58373c[_0x80d0e3(0x94)](_0x613e37[_0x80d0e3(0xf5)](_0x1c4f1e),-0x1)){if(_0x58373c[_0x80d0e3(0xcd)](_0x58373c[_0x80d0e3(0x91)],_0x58373c['qJkWu']))_0x550438[_0x80d0e3(0xef)](_0x58373c[_0x80d0e3(0xe2)],{},_0x3c0bc3,'');else{_0x613e37[_0x80d0e3(0xc8)](_0x613e37['indexOf'](_0x1c4f1e),0x0,_0x58373c[_0x80d0e3(0xcf)]);break;}}}else _0x47a74c[_0xf4e8cc][0x1][_0x80d0e3(0x7c)](_0x116976)&&!_0x357aae[_0x2e3903][0x1][_0x80d0e3(0x7c)](_0x58373c[_0x80d0e3(0xcf)])&&_0x2e1265[_0x80d0e3(0x10b)](_0x5aff82[_0x2d1390][0x0]);}let _0x279b7d=_0x613e37['join']('\x20');return _0x58373c['FZnOg'](_0x279b7d,_0x39086f)&&(_0x58373c[_0x80d0e3(0xdb)](_0x58373c[_0x80d0e3(0xe4)],_0x58373c[_0x80d0e3(0x9a)])?_0x279b7d='browserstack-node-sdk\x20'+_0x39086f:_0x271e45=_0x3bc9af[_0x80d0e3(0x7d)](_0x58373c[_0x80d0e3(0x92)],_0x458512)),[_0x39fbd9,_0x279b7d];}function a37_0x415e(){const _0x513691=['Axaaq','hcUAv','1777324eLfHAE','NaasQ','yKaAu','qYlJe','info','2778460KvedGl','browserstack-node-sdk','oWMHT','zHGsW','hAndW','ejUsx','BziMb','node','XbZUG','/../../browserstack.yml.sample','QGwqX','HitUt','YbvLQ','TXXyH','rbamj','playwright','fireFunnelTestEvent','2362408HiyVNd','HCfIx','GBWeK','JaFIu','DyCsd','indexOf','WdMEv','aMFCX','/package.json','VnGRH','JxtRh','TviLr','npm\x20update\x20browserstack-node-sdk','3pDkVFT','../helpers/logger','ajrhC','isUndefined','DuMeA','OqQTo','esriI','OcblE','utf8','WgKja','writeFileSync','sHrVN','339942VVmjhv','TaXZE','push','error','13510eYLGJa','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','EYUoj','LdeKS','jest','tmLYh','dsRGV','RjpZa','Fyqee','load','mocha','dkWni','includes','replace','entries','cwd','2966PkAjGt','Comqt','tiPPX','WMjbp','argv','fKGdI','JOsgV','bPnTZ','qDXMG','SDKSetup','gxlXj','rVPyu','length','debug','xapri','EaaqV','qfzak','ktDoA','DdcbN','yargs','DzEnB','cyOag','kfzKO','KsbEW','clcxk','bnIrY','UsNXt','\x20&&\x20npm\x20update\x20browserstack-node-sdk','vWMkS','DTSwr','mxwAF','stringify','zSaKb','VzBTO','YOUR_USERNAME','LaCPL','RAgAD','readFileSync','sYWXj','ASpmg','yUAAV','postinstall','VQeYi','ExxiX','key','parse','yXYme','APCZA','PgXHS','vOueK','334LcIexw','/browserstack.yml','sMQFJ','winstonLogger','Creating\x20configuration\x20file...','UKIcl','JZDEp','UuoTD','6549830CIpshD','../helpers/helper','TWfgx','Adding\x20new\x20script(s)\x20in\x20package.json...','qJkWu','HJOYe','4446SSYgPL','scripts','FZnOg','codeceptjs','UjXdM','MLywp','username','meXhu','splice','RLByQ','XsEog','ADsDq','TrDPB','XBJPf','rSgAn','wEfWo','iVolY','WDipH','crAJn','lPDgc','mXRiH','EjYVE','PAfSU','RCuzW'];a37_0x415e=function(){return _0x513691;};return a37_0x415e();}function sdkSetup(){const _0x1fd02a=a37_0x340ea9,_0x215283={'PgXHS':_0x1fd02a(0x9b),'YrCcU':function(_0x3195ec,_0x3addba,_0x58952f){return _0x3195ec(_0x3addba,_0x58952f);},'TrDPB':_0x1fd02a(0xa9),'TXXyH':_0x1fd02a(0xfc),'VnGRH':function(_0x3fc112,_0x52cea8){return _0x3fc112!==_0x52cea8;},'TaXZE':'aIFTR','ExxiX':'node-setup','oWMHT':function(_0xab01b,_0x4c0b97){return _0xab01b===_0x4c0b97;},'Comqt':_0x1fd02a(0xf6),'qDXMG':_0x1fd02a(0x89),'OcblE':function(_0x51f920,_0x1cfadf){return _0x51f920===_0x1cfadf;},'WgKja':_0x1fd02a(0xa7)};if(helper[_0x1fd02a(0x100)](config)){if(_0x215283[_0x1fd02a(0xf9)](_0x215283[_0x1fd02a(0x10a)],_0x215283[_0x1fd02a(0x10a)]))_0x18fe93+=_0x215283[_0x1fd02a(0xb0)];else return;}config['source']=_0x215283[_0x1fd02a(0xab)];try{_0x215283[_0x1fd02a(0xe1)](_0x215283[_0x1fd02a(0x81)],_0x215283[_0x1fd02a(0x81)])?helper['fireFunnelTestEvent'](_0x215283[_0x1fd02a(0x88)],{},config,''):_0x13e1a5[_0x1fd02a(0x10b)](_0x215283['YrCcU'](_0x3f6ec6,_0x27f5a4[_0x1fd02a(0xc1)],_0xc7259b[_0x56d90e]));}catch(_0x3027f1){if(_0x215283[_0x1fd02a(0x104)](_0x215283[_0x1fd02a(0x106)],_0x215283[_0x1fd02a(0x106)]))logger[_0x1fd02a(0x8d)](_0x1fd02a(0x71)+_0x3027f1);else{let _0x3eda68=_0x10ddfa[_0x215283[_0x1fd02a(0xcc)]];if(_0x3eda68&&_0x3eda68[_0x1fd02a(0x7c)](_0x215283[_0x1fd02a(0xec)]))return;!_0x3eda68?_0x3eda68=_0x215283['TXXyH']:_0x3eda68+=_0x215283[_0x1fd02a(0xb0)],_0x2553d4['push']([_0x215283[_0x1fd02a(0xcc)],_0x3eda68]);}}}logger[a37_0x340ea9(0xde)]('Setup\x20completed');
|
|
3
|
+
const a37_0x22da28=a37_0x4a21;(function(_0x4cc52b,_0x2164c7){const _0x1a272c=a37_0x4a21,_0x3378c0=_0x4cc52b();while(!![]){try{const _0x1c6c98=-parseInt(_0x1a272c(0xd4))/0x1*(-parseInt(_0x1a272c(0x100))/0x2)+parseInt(_0x1a272c(0xf0))/0x3+parseInt(_0x1a272c(0x13f))/0x4+parseInt(_0x1a272c(0x132))/0x5+parseInt(_0x1a272c(0x140))/0x6*(parseInt(_0x1a272c(0xbd))/0x7)+-parseInt(_0x1a272c(0xe1))/0x8+-parseInt(_0x1a272c(0xdb))/0x9;if(_0x1c6c98===_0x2164c7)break;else _0x3378c0['push'](_0x3378c0['shift']());}catch(_0xc9e46e){_0x3378c0['push'](_0x3378c0['shift']());}}}(a37_0x2a48,0xdc714));const fs=require('fs'),helper=require('../helpers/helper'),yaml=require(a37_0x22da28(0x12e)),yargs=require('yargs'),logger=require(a37_0x22da28(0xff))['winstonLogger'],configFileTemplate=__dirname+a37_0x22da28(0xc9),configFileTemplatePW=__dirname+a37_0x22da28(0x129),configFile=process[a37_0x22da28(0xf7)]()+'/browserstack.yml',packageFile=process[a37_0x22da28(0xf7)]()+a37_0x22da28(0x114),frameworks=['mocha',a37_0x22da28(0x102),'cucumber-js','node',a37_0x22da28(0x105),a37_0x22da28(0x131),a37_0x22da28(0xb0)];let config;logger[a37_0x22da28(0x116)](a37_0x22da28(0x112)),createConfigurationFile(yargs[a37_0x22da28(0xbf)][a37_0x22da28(0x123)],yargs['argv'][a37_0x22da28(0xfa)],yargs[a37_0x22da28(0xbf)]['playwright']);try{sdkSetup();}catch(a37_0x3897f1){logger[a37_0x22da28(0x128)](a37_0x22da28(0x10a)+a37_0x3897f1);}addScriptInPackageJson();function createConfigurationFile(_0xc9cfe4,_0x540cb2,_0x5b35d5=![]){const _0x177667=a37_0x22da28,_0x24b0f8={'njiXR':_0x177667(0x121),'Axbrc':function(_0x1c6cd2){return _0x1c6cd2();},'AnpuE':function(_0x523df4,_0x16bee4){return _0x523df4===_0x16bee4;},'RkawI':_0x177667(0xcf),'VhLBX':'UQxHl','VHUrd':function(_0x1f3051,_0x39d28f){return _0x1f3051!==_0x39d28f;},'vRXMm':_0x177667(0xfe),'ZvzTV':_0x177667(0x11c),'EgSTf':function(_0x30ddd2,_0xd0bef8){return _0x30ddd2===_0xd0bef8;},'Vjcmg':_0x177667(0x127),'WITjn':_0x177667(0xa0),'lVSDJ':_0x177667(0xd5),'TWiuq':function(_0x23b979,_0x5ab4e3){return _0x23b979!==_0x5ab4e3;},'pgLHq':'MKIca','LZTPO':_0x177667(0x10f),'qBqex':'YOUR_USERNAME','lsSap':_0x177667(0x12a),'GYYSB':_0x177667(0xf2),'sAJmR':_0x177667(0xf3),'hwARt':'iJYJv','CWlyQ':_0x177667(0xbc)};try{if(_0x24b0f8['EgSTf'](_0x24b0f8[_0x177667(0xce)],_0x24b0f8[_0x177667(0xec)]))_0x113f65[_0x177667(0x128)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x3af7e9);else{let _0x29c740=fs[_0x177667(0x10c)](_0x5b35d5?configFileTemplatePW:configFileTemplate,_0x24b0f8[_0x177667(0xbb)]);_0xc9cfe4&&(_0x24b0f8['TWiuq'](_0x24b0f8[_0x177667(0xcc)],_0x24b0f8[_0x177667(0x9f)])?_0x29c740=_0x29c740[_0x177667(0xfb)](_0x24b0f8[_0x177667(0xb9)],_0xc9cfe4):_0x1aec63[_0x177667(0xdd)](_0x4beb7f[_0x32a5a6][0x0])),_0x540cb2&&(_0x24b0f8['TWiuq'](_0x24b0f8[_0x177667(0xe3)],_0x24b0f8[_0x177667(0x136)])?_0x29c740=_0x29c740[_0x177667(0xfb)](_0x24b0f8[_0x177667(0x113)],_0x540cb2):_0x29244b=_0x24b0f8['njiXR']),config=yaml[_0x177667(0x125)](_0x29c740),fs[_0x177667(0x110)](configFile,_0x29c740,_0x304e17=>{const _0x1b0b7b=_0x177667;_0x24b0f8['AnpuE'](_0x24b0f8[_0x1b0b7b(0xed)],_0x24b0f8[_0x1b0b7b(0x13c)])?_0x479ba9[_0x1b0b7b(0x128)](_0x1b0b7b(0x10a)+_0x1e1102):_0x304e17&&(_0x24b0f8['VHUrd'](_0x24b0f8[_0x1b0b7b(0xfc)],_0x24b0f8['ZvzTV'])?logger['error'](_0x304e17):_0x24b0f8['Axbrc'](_0x2c8e3e));});}}catch(_0x3afcd6){_0x24b0f8[_0x177667(0x10d)](_0x24b0f8[_0x177667(0x11b)],_0x24b0f8[_0x177667(0xa3)])?logger[_0x177667(0xb7)](_0x3afcd6):_0x34ae7d='browserstack-node-sdk\x20'+_0x48fce3;}}function addPostInstallScript(_0x3cc950,_0x49cebe){const _0xea66be=a37_0x22da28,_0x3beae9={};_0x3beae9['Xvruy']=_0xea66be(0xe8),_0x3beae9[_0xea66be(0xf5)]=_0xea66be(0xe0),_0x3beae9[_0xea66be(0x10b)]=_0xea66be(0xf1),_0x3beae9[_0xea66be(0xa1)]=_0xea66be(0xd3),_0x3beae9[_0xea66be(0x126)]='npm\x20update\x20browserstack-node-sdk',_0x3beae9[_0xea66be(0xda)]=function(_0x3ded8c,_0x811af3){return _0x3ded8c===_0x811af3;},_0x3beae9['IYkaS']=_0xea66be(0xab),_0x3beae9[_0xea66be(0xc3)]=_0xea66be(0x139),_0x3beae9[_0xea66be(0xc4)]=_0xea66be(0x133),_0x3beae9[_0xea66be(0xd8)]=function(_0x2898,_0x40bc1a){return _0x2898!==_0x40bc1a;},_0x3beae9['TsTKq']=_0xea66be(0x135),_0x3beae9[_0xea66be(0xf9)]=_0xea66be(0x117);const _0x3e1326=_0x3beae9;let _0xb29c73=_0x3cc950[_0x3e1326[_0xea66be(0xa1)]];if(_0xb29c73&&_0xb29c73[_0xea66be(0xba)](_0x3e1326[_0xea66be(0x126)])){if(_0x3e1326[_0xea66be(0xda)](_0x3e1326[_0xea66be(0xad)],_0x3e1326[_0xea66be(0xad)]))return;else _0x28b154[_0xea66be(0x116)](_0x3e1326[_0xea66be(0x141)]),_0x58d361['scripts']=_0x30f291,_0x1be924[_0xea66be(0x110)](_0x5ca9c0,_0x52c7bb[_0xea66be(0xca)](_0x3d287b,null,0x2),_0x284bb1=>{const _0x20463f=_0xea66be;_0x284bb1&&_0x29d56b[_0x20463f(0xb7)](_0x284bb1);});}!_0xb29c73?_0x3e1326['CePud'](_0x3e1326['wGUzj'],_0x3e1326[_0xea66be(0xc4)])?_0x36c67e[_0x21cae1][0x1]['includes'](_0x65b1ff)&&!_0x52d185[_0x5a04c1][0x1]['includes'](_0x3e1326[_0xea66be(0xf5)])&&_0x1fb0fb[_0xea66be(0xdd)](_0x4b9cc2[_0x4312ff][0x0]):_0xb29c73=_0x3e1326[_0xea66be(0x126)]:_0x3e1326[_0xea66be(0xd8)](_0x3e1326[_0xea66be(0xc5)],_0x3e1326[_0xea66be(0xc5)])?_0x1e21c2[_0xea66be(0x104)](_0x3e1326[_0xea66be(0x10b)],{},_0x32fe93,''):_0xb29c73+=_0x3e1326[_0xea66be(0xf9)],_0x49cebe[_0xea66be(0xdd)]([_0x3e1326[_0xea66be(0xa1)],_0xb29c73]);}function addScriptInPackageJson(){const _0x50d10c=a37_0x22da28,_0x11d86d={'LcWms':'YOUR_USERNAME','AuMPp':_0x50d10c(0xf3),'yLlIr':function(_0x224bab,_0x28b9aa){return _0x224bab<_0x28b9aa;},'RRBQw':_0x50d10c(0xe0),'uKbhC':function(_0x214072,_0x4267ae){return _0x214072===_0x4267ae;},'PmqZo':_0x50d10c(0xf4),'RDlEY':_0x50d10c(0xc7),'uJLJt':_0x50d10c(0xd5),'NbgtW':function(_0x5f3f82,_0xe5b051){return _0x5f3f82<_0xe5b051;},'WaGUS':function(_0x5b14cf,_0x85ec1){return _0x5b14cf!==_0x85ec1;},'fFOnl':_0x50d10c(0x107),'CuEwm':_0x50d10c(0x137),'rQdMF':function(_0x359c89,_0x48c01f,_0x1c08b4){return _0x359c89(_0x48c01f,_0x1c08b4);},'qvViq':function(_0x50776d,_0x33d6e4){return _0x50776d<_0x33d6e4;},'MDxfq':_0x50d10c(0xe5),'rovvi':_0x50d10c(0x118),'nJgza':function(_0x426f49,_0x5b9c0f){return _0x426f49<_0x5b9c0f;},'NhGab':function(_0xfa1289,_0xc0f734){return _0xfa1289===_0xc0f734;},'FMNnI':_0x50d10c(0xdc),'aMWqP':_0x50d10c(0x10e),'sCfcm':_0x50d10c(0xbe),'vYabU':_0x50d10c(0xe8)},_0x3f0b49=JSON[_0x50d10c(0x130)](fs['readFileSync'](packageFile,_0x11d86d[_0x50d10c(0x13e)])),_0x4d814e=[];for(let _0x9046f7=0x0;_0x11d86d['NbgtW'](_0x9046f7,frameworks[_0x50d10c(0xac)]);_0x9046f7+=0x1){if(_0x11d86d['WaGUS'](_0x11d86d[_0x50d10c(0xf8)],_0x11d86d[_0x50d10c(0xdf)])){const _0x224ce2=_0x11d86d['rQdMF'](findScriptsWithFramework,_0x3f0b49[_0x50d10c(0x108)],frameworks[_0x9046f7]);for(let _0x301279=0x0;_0x11d86d[_0x50d10c(0x11a)](_0x301279,_0x224ce2[_0x50d10c(0xac)]);_0x301279+=0x1){_0x11d86d[_0x50d10c(0xa9)](_0x11d86d[_0x50d10c(0x11f)],_0x11d86d[_0x50d10c(0xe4)])?_0x4d814e['push'](_0x11d86d['rQdMF'](getUpdatedCommand,_0x3f0b49[_0x50d10c(0x108)],_0x224ce2[_0x301279])):_0x4d22b1['error'](_0x3e5fd7);}_0x11d86d[_0x50d10c(0xaa)](addPostInstallScript,_0x3f0b49[_0x50d10c(0x108)],_0x4d814e);}else _0x307115['error'](_0x3752ea);}const _0x141f28={..._0x3f0b49[_0x50d10c(0x108)]},_0x2ad55d=_0x141f28;for(let _0x68f08=0x0;_0x11d86d[_0x50d10c(0xe7)](_0x68f08,_0x4d814e[_0x50d10c(0xac)]);_0x68f08+=0x1){_0x11d86d['NhGab'](_0x11d86d[_0x50d10c(0xaf)],_0x11d86d['FMNnI'])?_0x2ad55d[_0x4d814e[_0x68f08][0x0]]=_0x4d814e[_0x68f08][0x1]:_0x176d54&&_0x166504[_0x50d10c(0xb7)](_0x446085);}_0x11d86d[_0x50d10c(0xa9)](JSON[_0x50d10c(0xca)](_0x3f0b49[_0x50d10c(0x108)]),JSON[_0x50d10c(0xca)](_0x2ad55d))&&(_0x11d86d[_0x50d10c(0x138)](_0x11d86d[_0x50d10c(0xb5)],_0x11d86d[_0x50d10c(0xfd)])?_0x185c9c=_0x61348d[_0x50d10c(0xfb)](_0x11d86d[_0x50d10c(0x13d)],_0x35ddf4):(logger[_0x50d10c(0x116)](_0x11d86d[_0x50d10c(0x12f)]),_0x3f0b49['scripts']=_0x2ad55d,fs[_0x50d10c(0x110)](packageFile,JSON['stringify'](_0x3f0b49,null,0x2),_0x4724c8=>{const _0x37ee50=_0x50d10c,_0x7f5779={'fhobF':function(_0x3f149a,_0x28c301){const _0xe6ba55=a37_0x4a21;return _0x11d86d[_0xe6ba55(0x142)](_0x3f149a,_0x28c301);},'lvxvo':_0x11d86d[_0x37ee50(0x101)]};if(_0x11d86d[_0x37ee50(0xb4)](_0x11d86d['PmqZo'],_0x11d86d[_0x37ee50(0xb3)])){if(_0x4724c8){if(_0x11d86d['uKbhC'](_0x11d86d[_0x37ee50(0xd6)],_0x11d86d[_0x37ee50(0xd6)]))logger[_0x37ee50(0xb7)](_0x4724c8);else{const _0x227564=[],_0x2e3237=_0x1d6ff5[_0x37ee50(0xb1)](_0x5ac1dd);for(let _0x2ed273=0x0;_0x7f5779[_0x37ee50(0x120)](_0x2ed273,_0x2e3237[_0x37ee50(0xac)]);_0x2ed273+=0x1){_0x2e3237[_0x2ed273][0x1][_0x37ee50(0xba)](_0xab96df)&&!_0x2e3237[_0x2ed273][0x1][_0x37ee50(0xba)](_0x7f5779[_0x37ee50(0xcd)])&&_0x227564[_0x37ee50(0xdd)](_0x2e3237[_0x2ed273][0x0]);}return _0x227564;}}}else _0x57dcce=_0x57b793[_0x37ee50(0xfb)](_0x11d86d[_0x37ee50(0x12d)],_0xff4d1d);})));};function a37_0x4a21(_0x3d5f76,_0x53f899){const _0x2a4861=a37_0x2a48();return a37_0x4a21=function(_0x4a2190,_0x3a2bda){_0x4a2190=_0x4a2190-0x9f;let _0x39123b=_0x2a4861[_0x4a2190];return _0x39123b;},a37_0x4a21(_0x3d5f76,_0x53f899);}function findScriptsWithFramework(_0x303bce,_0x1263cf){const _0x2bbd3d=a37_0x22da28,_0x5045a6={};_0x5045a6[_0x2bbd3d(0xa8)]=function(_0x52884b,_0x57f635){return _0x52884b<_0x57f635;},_0x5045a6['SRdIl']=function(_0x2de41a,_0x496ec1){return _0x2de41a===_0x496ec1;},_0x5045a6[_0x2bbd3d(0xc1)]=_0x2bbd3d(0xf6),_0x5045a6[_0x2bbd3d(0xd2)]=_0x2bbd3d(0xcb),_0x5045a6[_0x2bbd3d(0xa6)]=_0x2bbd3d(0xe0),_0x5045a6['igKrd']=function(_0x22fd81,_0x2627aa){return _0x22fd81!==_0x2627aa;},_0x5045a6['FIJzS']=_0x2bbd3d(0x12c);const _0x4cbfc6=_0x5045a6,_0x5d87cc=[],_0x1b4c0d=Object[_0x2bbd3d(0xb1)](_0x303bce);for(let _0x338971=0x0;_0x4cbfc6[_0x2bbd3d(0xa8)](_0x338971,_0x1b4c0d[_0x2bbd3d(0xac)]);_0x338971+=0x1){if(_0x4cbfc6[_0x2bbd3d(0xd0)](_0x4cbfc6[_0x2bbd3d(0xc1)],_0x4cbfc6[_0x2bbd3d(0xd2)]))return;else _0x1b4c0d[_0x338971][0x1][_0x2bbd3d(0xba)](_0x1263cf)&&!_0x1b4c0d[_0x338971][0x1][_0x2bbd3d(0xba)](_0x4cbfc6[_0x2bbd3d(0xa6)])&&(_0x4cbfc6[_0x2bbd3d(0xc6)](_0x4cbfc6['FIJzS'],_0x4cbfc6[_0x2bbd3d(0x124)])?_0x5a2965&&_0x1fd2a9[_0x2bbd3d(0xb7)](_0x3569b6):_0x5d87cc[_0x2bbd3d(0xdd)](_0x1b4c0d[_0x338971][0x0]));}return _0x5d87cc;}function getUpdatedCommand(_0x26807f,_0x3e472f){const _0x20ad63=a37_0x22da28,_0x32a80e={'myVDf':function(_0x2f2183,_0x16b88c,_0x541ecf){return _0x2f2183(_0x16b88c,_0x541ecf);},'imUei':function(_0x5771e2,_0x390a81){return _0x5771e2<_0x390a81;},'hkjoG':function(_0x3bffe4,_0x35b331,_0xe6f463){return _0x3bffe4(_0x35b331,_0xe6f463);},'tprVC':function(_0x5dc72f,_0x41b08e,_0x44af25){return _0x5dc72f(_0x41b08e,_0x44af25);},'KofUB':_0x20ad63(0xd3),'mlUoM':_0x20ad63(0x121),'JGIJU':_0x20ad63(0x117),'ZQVfI':function(_0x57e2e7,_0x203ead){return _0x57e2e7===_0x203ead;},'GCGbT':_0x20ad63(0xc0),'TsMaJ':function(_0x237223,_0x466961){return _0x237223!==_0x466961;},'alDvf':'LhvFl','SCQSg':_0x20ad63(0xe0),'frqKx':function(_0x31f89a,_0x3c6061){return _0x31f89a===_0x3c6061;},'fSXwa':function(_0x17cb36,_0xda87e1){return _0x17cb36!==_0xda87e1;},'EmQle':_0x20ad63(0x111)},_0x4935dc=_0x3e472f+'-browserstack',_0x3a5241=_0x26807f[_0x3e472f],_0x2ae26f=_0x3a5241[_0x20ad63(0xc2)]('\x20');for(const _0x1ee8eb of frameworks){if(_0x32a80e[_0x20ad63(0xea)](_0x32a80e[_0x20ad63(0x106)],_0x32a80e[_0x20ad63(0x106)])){if(_0x32a80e['TsMaJ'](_0x2ae26f[_0x20ad63(0x122)](_0x1ee8eb),-0x1)){if(_0x32a80e[_0x20ad63(0x13b)](_0x32a80e[_0x20ad63(0x103)],_0x32a80e[_0x20ad63(0x103)]))return;else{_0x2ae26f['splice'](_0x2ae26f['indexOf'](_0x1ee8eb),0x0,_0x32a80e[_0x20ad63(0x11d)]);break;}}}else{const _0xb9ce5e=_0x32a80e['myVDf'](_0x1555d4,_0x51a43a[_0x20ad63(0x108)],_0x2688ab[_0x2b7fa5]);for(let _0x5acaef=0x0;_0x32a80e[_0x20ad63(0xc8)](_0x5acaef,_0xb9ce5e[_0x20ad63(0xac)]);_0x5acaef+=0x1){_0x5cd0eb[_0x20ad63(0xdd)](_0x32a80e[_0x20ad63(0x12b)](_0x508587,_0x1ff03d[_0x20ad63(0x108)],_0xb9ce5e[_0x5acaef]));}_0x32a80e[_0x20ad63(0xae)](_0x5028d6,_0x6ce575[_0x20ad63(0x108)],_0x252b3b);}}let _0x4c5f61=_0x2ae26f[_0x20ad63(0x13a)]('\x20');if(_0x32a80e[_0x20ad63(0xb2)](_0x4c5f61,_0x3a5241)){if(_0x32a80e[_0x20ad63(0x134)](_0x32a80e[_0x20ad63(0x109)],_0x32a80e['EmQle'])){let _0x128b15=_0x3b1d5f[_0x32a80e[_0x20ad63(0xde)]];if(_0x128b15&&_0x128b15[_0x20ad63(0xba)](_0x32a80e[_0x20ad63(0xef)]))return;!_0x128b15?_0x128b15=_0x32a80e[_0x20ad63(0xef)]:_0x128b15+=_0x32a80e['JGIJU'],_0x581ceb['push']([_0x32a80e['KofUB'],_0x128b15]);}else _0x4c5f61=_0x20ad63(0xa4)+_0x3a5241;}return[_0x4935dc,_0x4c5f61];}function a37_0x2a48(){const _0x493001=['DVSmD','TQhUd','jaeOI','cwd','fFOnl','NlqJk','key','replace','vRXMm','sCfcm','eXQjz','../helpers/logger','68YzuwBs','RRBQw','jest','alDvf','fireFunnelTestEvent','nightwatch','GCGbT','bECNj','scripts','EmQle','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','LipKV','readFileSync','TWiuq','aBaNE','yRFwi','writeFileSync','lmmmV','Creating\x20configuration\x20file...','sAJmR','/package.json','DZLgb','info','\x20&&\x20npm\x20update\x20browserstack-node-sdk','PbStj','tFeql','qvViq','hwARt','PCLnP','SCQSg','JoBOq','MDxfq','fhobF','npm\x20update\x20browserstack-node-sdk','indexOf','username','FIJzS','load','UesLU','dOkHR','debug','/../../browserstack.pw.yml.sample','swmPy','hkjoG','ziGto','AuMPp','js-yaml','vYabU','parse','codeceptjs','5676535JzEcca','VnnYV','fSXwa','Qhmxm','GYYSB','qwvVa','NhGab','wZmGi','join','TsMaJ','VhLBX','LcWms','uJLJt','7126680utGpBs','2288706FMmAnZ','Xvruy','yLlIr','LZTPO','TGNoP','Spmcj','kumsq','CWlyQ','browserstack-node-sdk\x20','zZrlb','jQzmp','ZUyGG','dkZKv','WaGUS','rQdMF','AwEIV','length','IYkaS','tprVC','FMNnI','playwright','entries','frqKx','PmqZo','uKbhC','aMWqP','pTuZc','error','YPblg','qBqex','includes','lVSDJ','mKLdL','7toydLf','txSdd','argv','WxUYF','lxAeU','split','wGUzj','xPREy','TsTKq','igKrd','MvGkh','imUei','/../../browserstack.yml.sample','stringify','VjoRO','pgLHq','lvxvo','Vjcmg','PLyMG','SRdIl','isUndefined','xFVxs','postinstall','45823ElVRex','utf8','RDlEY','node-setup','TOqDp','CmQjg','CePud','36214128qEHdFl','HphoU','push','KofUB','CuEwm','browserstack-node-sdk','2854088RMcYrG','MpfCo','lsSap','rovvi','lwYYy','Apfux','nJgza','Adding\x20new\x20script(s)\x20in\x20package.json...','Setup\x20completed','ZQVfI','MveCA','WITjn','RkawI','iQgFe','mlUoM','1281225ssDBRs','SDKSetup','Dbnku','YOUR_ACCESS_KEY'];a37_0x2a48=function(){return _0x493001;};return a37_0x2a48();}function sdkSetup(){const _0x50268f=a37_0x22da28,_0xb85ab8={};_0xb85ab8['MveCA']='\x20&&\x20npm\x20update\x20browserstack-node-sdk',_0xb85ab8['Apfux']=function(_0x2ed21a,_0x5a8d1f){return _0x2ed21a===_0x5a8d1f;},_0xb85ab8[_0x50268f(0xa5)]=_0x50268f(0xa2),_0xb85ab8['tFeql']=_0x50268f(0xee),_0xb85ab8['BtRhR']=_0x50268f(0xd7),_0xb85ab8[_0x50268f(0xd9)]=function(_0x2bfc94,_0x4e236e){return _0x2bfc94===_0x4e236e;},_0xb85ab8['MpfCo']=_0x50268f(0x115),_0xb85ab8[_0x50268f(0xb6)]=_0x50268f(0xf1),_0xb85ab8['YPblg']=function(_0x3d4d56,_0x1beb94){return _0x3d4d56!==_0x1beb94;},_0xb85ab8[_0x50268f(0xa7)]=_0x50268f(0x11e);const _0x31f32c=_0xb85ab8;if(helper[_0x50268f(0xd1)](config)){if(_0x31f32c[_0x50268f(0xe6)](_0x31f32c[_0x50268f(0xa5)],_0x31f32c[_0x50268f(0x119)]))_0x3d17d7[_0x4cfad1[_0x417116][0x0]]=_0x45040d[_0x586477][0x1];else return;}config['source']=_0x31f32c['BtRhR'];try{_0x31f32c[_0x50268f(0xd9)](_0x31f32c[_0x50268f(0xe2)],_0x31f32c['MpfCo'])?helper[_0x50268f(0x104)](_0x31f32c['pTuZc'],{},config,''):_0x3490cb[_0x50268f(0xb7)](_0x212c01);}catch(_0x5d5d85){_0x31f32c[_0x50268f(0xb8)](_0x31f32c[_0x50268f(0xa7)],_0x31f32c[_0x50268f(0xa7)])?_0x4e0e7d+=_0x31f32c[_0x50268f(0xeb)]:logger[_0x50268f(0x128)](_0x50268f(0x10a)+_0x5d5d85);}}logger[a37_0x22da28(0x116)](a37_0x22da28(0xe9));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38_0x52265b=a38_0x3b53;(function(_0x4e7ecc,_0x35723c){const _0x306939=a38_0x3b53,_0x5075d4=_0x4e7ecc();while(!![]){try{const _0x366226=-parseInt(_0x306939(0x15a))/0x1+parseInt(_0x306939(0x13e))/0x2*(parseInt(_0x306939(0x15f))/0x3)+-parseInt(_0x306939(0xd3))/0x4+-parseInt(_0x306939(0x140))/0x5+parseInt(_0x306939(0x123))/0x6*(-parseInt(_0x306939(0xef))/0x7)+-parseInt(_0x306939(0x152))/0x8*(-parseInt(_0x306939(0xab))/0x9)+parseInt(_0x306939(0xd7))/0xa*(parseInt(_0x306939(0xd5))/0xb);if(_0x366226===_0x35723c)break;else _0x5075d4['push'](_0x5075d4['shift']());}catch(_0x5a2f1d){_0x5075d4['push'](_0x5075d4['shift']());}}}(a38_0x597d,0xd5b5d));function a38_0x597d(){const _0x211c5c=['uieHC','cucumberWorker','lLGWm','zVxSz','env','pipe','true','1192OQLodU','parallelTestRun','stderr','_child','log','pncaL','resolve','../../helpers/test-observability/utils','616564OELXob','vanillaWorker','AxOCc','Exception\x20in\x20stop\x20accessibility\x20test\x20run:\x20','format','3tVtTim','./testWorker.js','lWTHq','getStdout','mozUc','uXDRG','YGKQP','emittery','platform-run-success','TebWa','mLAom','iYhYo','bdCjM','85419tWAHoI','ExGLm','RqxVA','Tamtu','hlMVv','AtIBR','PNQac','KRyII','jest-worker','HYSdF','DDerT','bOPZe','stdout','aFsvp','DNpHJ','_workerPool','rrJcs','omEHp','test-file-success','SkHGb','platform-run-failure','pWdqD','bapUU','StAAn','LSueW','map','YIdGm','root_dir_path','getWorkers','vaWZm','platform-run-start','ravAW','GlqCs','PHiYD','fuVvc','sTeNK','MGLel','SNrjU','failureCount','JVYRf','1690680DxKjic','Running\x20','15829Dmgiqa','test-file-failure','10090szxpxd','BcRCa','IvZWM','EVODl','BS_A11Y_JWT','bGidu','Exception\x20in\x20stop\x20build\x20request\x20to\x20Observability\x20:\x20','aEJFh','QfglX','rybER','getStderr','stop','p-limit','RXVqu','CQiEr','platformCaps','DjTKu','kzJNl','KGSiY','RovBp','VMCDv','XiShu','send','umgAM','721PTAMVS','bLPkx','hcdTs','WdSrn','VBOYh','KcDXd','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','gMIzB','BuxcC','KfmAv','TJDeu','GSdCx','DzzSP','end','all','exitCode','ooLjf','qMBcD','length','configuration','yjlhE','sxxVh','json','worker','RgXBa','../../helpers/logger','hcYAQ','launch','error','ZccMP','cPpzc','info','efWMw','XjLrW','winstonLogger','test-file-start','\x20for','forEach','DnAeH','QzuIW','lCwPH','IHNNM','YDEPp','push','piutp','QPZuS','gjIDi','ZxtNh','lREjU','nzFKs','oWJQT','DalnL','70926NIWuoc','aIsCb','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','CkcoI','BS_A11Y_TEST_RUN_ID','catch','accessibility','then','results','JJwNj','QXDrw','JQfyd','nzcIW','NwKba','xiPin','ACheA','emit','halOa','Workers\x20failed\x20to\x20exit\x20gracefully','mhMLT','OkRnI','EJRJN','GQnSx','debug','jEMhz','platform','EckZM','2524318sjilme','ugDwZ','4980575wWQsAD','sgYpC','TdhFA','uAJyM','VYBsb','BPTNw','file','platforms','WfLNR','xCLEM','onwlr'];a38_0x597d=function(){return _0x211c5c;};return a38_0x597d();}function a38_0x3b53(_0x3d6b21,_0xdd598e){const _0x597d8e=a38_0x597d();return a38_0x3b53=function(_0x3b5304,_0x517da3){_0x3b5304=_0x3b5304-0xa3;let _0x21027c=_0x597d8e[_0x3b5304];return _0x21027c;},a38_0x3b53(_0x3d6b21,_0xdd598e);}const Worker=require(a38_0x52265b(0xb3))['Worker'],Emittery=require(a38_0x52265b(0xa5)),pLimit=require(a38_0x52265b(0xe3)),util=require('util'),logger=require(a38_0x52265b(0x108))[a38_0x52265b(0x111)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),SessionHandler=require('../../helpers/test-observability/sessionHandler'),{getFrameworkVersion,isTestObservabilitySession,debug}=require(a38_0x52265b(0x159)),checkAccessibility=_0x3a3c93=>{const _0x558e32=a38_0x52265b,_0x2ba273={};_0x2ba273[_0x558e32(0xdf)]=_0x558e32(0xd1),_0x2ba273[_0x558e32(0xdc)]='results',_0x2ba273['gMIzB']=function(_0x2d655b,_0x5c22f2){return _0x2d655b!==_0x5c22f2;},_0x2ba273['Zqcdc']=_0x558e32(0x142),_0x2ba273[_0x558e32(0x103)]='jQDQr',_0x2ba273[_0x558e32(0xe5)]=function(_0x21a56f,_0x3223fe){return _0x21a56f===_0x3223fe;},_0x2ba273[_0x558e32(0x122)]=_0x558e32(0x104),_0x2ba273['BPTNw']=_0x558e32(0xe0),_0x2ba273[_0x558e32(0x110)]=function(_0x37a13c,_0x5a6e7e){return _0x37a13c!==_0x5a6e7e;},_0x2ba273[_0x558e32(0x143)]='kmvaK',_0x2ba273[_0x558e32(0x14b)]=_0x558e32(0xec);const _0x5ed0a2=_0x2ba273;let _0x303d06=![];try{_0x5ed0a2['XjLrW'](_0x5ed0a2[_0x558e32(0x143)],_0x5ed0a2['uAJyM'])?_0x3950ab[_0x558e32(0x10b)](_0x558e32(0x15d)+_0x4062af[_0x558e32(0x15e)](_0x3982dc)):_0x3a3c93[_0x558e32(0x147)][_0x558e32(0x114)](_0x780a97=>{const _0x21ad39=_0x558e32,_0x4fb911={};_0x4fb911[_0x21ad39(0xf4)]=_0x5ed0a2[_0x21ad39(0xdf)],_0x4fb911[_0x21ad39(0xe8)]=_0x5ed0a2[_0x21ad39(0xdc)];const _0x2e949d=_0x4fb911;if(_0x5ed0a2[_0x21ad39(0xf6)](_0x5ed0a2['Zqcdc'],_0x5ed0a2[_0x21ad39(0x103)])){if(_0x5ed0a2['CQiEr'](_0x780a97[_0x21ad39(0x129)],!![])){if(_0x5ed0a2['CQiEr'](_0x5ed0a2[_0x21ad39(0x122)],_0x5ed0a2[_0x21ad39(0x145)])){const _0xa3eb86={};_0xa3eb86[_0x21ad39(0xd1)]=_0x3d8f1c[0x1][_0x2e949d[_0x21ad39(0xf4)]],_0xa3eb86[_0x21ad39(0x12b)]=[..._0x550f88[0x1][_0x2e949d[_0x21ad39(0xe8)]]],_0x1d3ea1[_0x4f6771[0x0]]=_0xa3eb86;}else return _0x303d06=!![],!![];}}else _0x3594f3[_0x21ad39(0x13a)](_0x21ad39(0xf5)+_0x2150e8);});}catch(_0x45b4be){if(_0x5ed0a2[_0x558e32(0x110)](_0x5ed0a2[_0x558e32(0x14b)],_0x5ed0a2[_0x558e32(0x14b)])){if(_0x5ed0a2[_0x558e32(0xe5)](_0x2ac437[_0x558e32(0x129)],!![]))return _0x627813=!![],!![];}else logger[_0x558e32(0x13a)](_0x558e32(0xf5)+_0x45b4be);}return _0x303d06;};exports[a38_0x52265b(0x153)]=(_0x22156d,_0x191e47,_0x3c730a)=>new Promise(async _0x8d1650=>{const _0x4bc3ef=a38_0x52265b,_0x1c2d69={'onwlr':_0x4bc3ef(0xd1),'rrJcs':function(_0x10c00c,_0x3a9d69){return _0x10c00c+_0x3a9d69;},'oWJQT':_0x4bc3ef(0x12b),'pWdqD':'Workers\x20failed\x20to\x20exit\x20gracefully','NwKba':function(_0x46b380,_0x28c2a2){return _0x46b380===_0x28c2a2;},'yvTeH':function(_0xa96fab,_0x25befa){return _0xa96fab!==_0x25befa;},'lCwPH':function(_0xc90491,_0x4d8ef4){return _0xc90491===_0x4d8ef4;},'AxOCc':_0x4bc3ef(0xcf),'CFUmf':'ZPQiH','xCLEM':function(_0x814da2,_0x230519){return _0x814da2!==_0x230519;},'YDEPp':_0x4bc3ef(0xf7),'IvZWM':function(_0x322b16,_0x353e02){return _0x322b16===_0x353e02;},'lLGWm':_0x4bc3ef(0xae),'kIJTb':_0x4bc3ef(0xa9),'mhMLT':function(_0x4becc8,_0x4a4731){return _0x4becc8===_0x4a4731;},'TebWa':'GPNng','LSueW':function(_0x56bc16,_0x5a9ff9){return _0x56bc16!==_0x5a9ff9;},'bOPZe':_0x4bc3ef(0xea),'KfmAv':_0x4bc3ef(0x124),'mozUc':function(_0x80accc,_0xc36062){return _0x80accc===_0xc36062;},'VhLzJ':_0x4bc3ef(0xaf),'yaqUY':_0x4bc3ef(0x10d),'piutp':function(_0x29f032){return _0x29f032();},'TQrMt':function(_0x201972,_0x1823f0){return _0x201972!==_0x1823f0;},'CkcoI':_0x4bc3ef(0x11c),'GQnSx':function(_0x11ee5b,_0x1b0bf9){return _0x11ee5b(_0x1b0bf9);},'KGSiY':function(_0x4d253e,_0x3c5c9f){return _0x4d253e===_0x3c5c9f;},'DNpHJ':_0x4bc3ef(0xc1),'JVYRf':_0x4bc3ef(0x13b),'OkRnI':function(_0x4a43e7,_0x470f31){return _0x4a43e7!==_0x470f31;},'JQfyd':'LmRGa','aEJFh':_0x4bc3ef(0xbc),'GWKsb':_0x4bc3ef(0xca),'DjTKu':_0x4bc3ef(0x112),'pncaL':function(_0x28d90c,_0x3c43dc){return _0x28d90c===_0x3c43dc;},'SkHGb':_0x4bc3ef(0xc2),'ooLjf':'mocha','yDzpU':function(_0x57b7ba,_0x160483){return _0x57b7ba(_0x160483);},'sTeNK':_0x4bc3ef(0x151),'fuVvc':function(_0x59f40b,_0x29b2b1){return _0x59f40b===_0x29b2b1;},'hcYAQ':function(_0x32ab97,_0x1452f8){return _0x32ab97===_0x1452f8;},'aFsvp':_0x4bc3ef(0xd8),'kcuvY':function(_0x4a7590,_0x1f4861,_0x19d606){return _0x4a7590(_0x1f4861,_0x19d606);},'qBrxY':_0x4bc3ef(0x160),'QzuIW':_0x4bc3ef(0x106),'DDerT':_0x4bc3ef(0x105),'nzFKs':'pipe','qMBcD':function(_0x3b4399,_0x5bd584){return _0x3b4399*_0x5bd584;},'xiPin':_0x4bc3ef(0xbd),'cOtcl':_0x4bc3ef(0xd6),'halOa':_0x4bc3ef(0xcb),'VYBsb':'GiMzX','FzMRc':function(_0x174f9c,_0x4cf042){return _0x174f9c===_0x4cf042;},'VBOYh':'XcJQI','SNrjU':_0x4bc3ef(0xf2)},_0xafd25e={};if(_0x1c2d69[_0x4bc3ef(0x11b)](isTestObservabilitySession)){if(_0x1c2d69[_0x4bc3ef(0x157)](_0x1c2d69[_0x4bc3ef(0xbe)],_0x1c2d69[_0x4bc3ef(0xbe)])){const _0x599e1c={..._0x3c730a};_0x599e1c[_0x4bc3ef(0xc6)]='',await SessionHandler[_0x4bc3ef(0x10a)](_0x599e1c,{'frameworkName':_0x1c2d69['ooLjf'],'frameworkVersion':_0x1c2d69['yDzpU'](getFrameworkVersion,_0x1c2d69['ooLjf'])});}else _0x5c0488[_0x520330[0x0]][_0x1c2d69['onwlr']]=_0x1c2d69[_0x4bc3ef(0xbb)](_0x4bc366[_0xb3d179[0x0]][_0x1c2d69[_0x4bc3ef(0x14a)]],_0x46632b[0x1][_0x1c2d69[_0x4bc3ef(0x14a)]]),_0x126deb[_0x16bf64[0x0]][_0x1c2d69[_0x4bc3ef(0x121)]]=[..._0x614ca9[_0x2ce9d8[0x0]][_0x1c2d69[_0x4bc3ef(0x121)]],..._0xf61347[0x1][_0x1c2d69[_0x4bc3ef(0x121)]]];}let _0x12ad97=_0x1c2d69[_0x4bc3ef(0x136)](process[_0x4bc3ef(0x14f)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x1c2d69['sTeNK']);process[_0x4bc3ef(0x14f)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x1c2d69[_0x4bc3ef(0x139)](checkAccessibility,_0x3c730a),_0x12ad97=_0x12ad97||_0x1c2d69[_0x4bc3ef(0xcd)](process[_0x4bc3ef(0x14f)][_0x4bc3ef(0x125)],_0x1c2d69[_0x4bc3ef(0xce)]);if(_0x12ad97){if(_0x1c2d69[_0x4bc3ef(0x109)](_0x1c2d69[_0x4bc3ef(0xb8)],_0x1c2d69[_0x4bc3ef(0xb8)])){const [_0x42ed5c,_0x45c5db]=await _0x1c2d69['kcuvY'](createAccessibilityTestRun,_0x3c730a,_0x1c2d69[_0x4bc3ef(0xff)]);logger[_0x4bc3ef(0x13a)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20'+_0x45c5db),process[_0x4bc3ef(0x14f)][_0x4bc3ef(0xdb)]=_0x42ed5c,process[_0x4bc3ef(0x14f)][_0x4bc3ef(0x127)]=_0x45c5db;}else _0x231828[0x0]&&_0x1fbaa7[_0x4bc3ef(0x10e)](_0x4bc3ef(0xd4)+_0x2654db[0x1]+_0x4bc3ef(0x113),_0x329ef5[0x0]);}const _0x293ad4=new Worker(require['resolve'](_0x1c2d69['qBrxY']),{'exposedMethods':[_0x1c2d69[_0x4bc3ef(0x116)]],'forkOptions':{'serialization':_0x1c2d69[_0x4bc3ef(0xb5)],'stdio':_0x1c2d69[_0x4bc3ef(0x120)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x1c2d69[_0x4bc3ef(0x100)](_0x191e47,0x1),'enableWorkerThreads':!![]}),_0x25984c=new Emittery();_0x25984c['on'](_0x1c2d69[_0x4bc3ef(0x131)],_0x518a03=>{const _0xe5568b=_0x4bc3ef,_0x18f605={'Jetbt':function(_0x1adf45,_0x51ccfd){const _0xb32fd2=a38_0x3b53;return _0x1c2d69[_0xb32fd2(0x130)](_0x1adf45,_0x51ccfd);},'RgXBa':function(_0x69b09c,_0x2da9c4){return _0x1c2d69['yvTeH'](_0x69b09c,_0x2da9c4);}};_0x1c2d69[_0xe5568b(0x117)](_0x1c2d69[_0xe5568b(0x15c)],_0x1c2d69['CFUmf'])?_0x7df149[_0xe5568b(0xe1)]()['pipe'](_0x44db59[_0xe5568b(0x154)]):_0xafd25e[_0x518a03[0x0]]?_0x1c2d69[_0xe5568b(0x149)](_0x1c2d69[_0xe5568b(0x119)],_0x1c2d69[_0xe5568b(0x119)])?_0x18f605['Jetbt'](_0x3f53bb,0x0)&&_0x18f605[_0xe5568b(0x107)](_0x199f73,0x0)&&(_0x439d3d=_0x5bf307):(_0xafd25e[_0x518a03[0x0]][_0x1c2d69[_0xe5568b(0x14a)]]=_0x1c2d69[_0xe5568b(0xbb)](_0xafd25e[_0x518a03[0x0]][_0x1c2d69[_0xe5568b(0x14a)]],_0x518a03[0x1][_0x1c2d69['onwlr']]),_0xafd25e[_0x518a03[0x0]][_0x1c2d69[_0xe5568b(0x121)]]=[..._0xafd25e[_0x518a03[0x0]][_0x1c2d69[_0xe5568b(0x121)]],..._0x518a03[0x1][_0x1c2d69[_0xe5568b(0x121)]]]):_0x1c2d69['IvZWM'](_0x1c2d69[_0xe5568b(0x14d)],_0x1c2d69['kIJTb'])?_0x710dcc[_0xe5568b(0x10b)](_0x1c2d69[_0xe5568b(0xc0)]):_0xafd25e[_0x518a03[0x0]]={'failureCount':_0x518a03[0x1][_0x1c2d69[_0xe5568b(0x14a)]],'results':[..._0x518a03[0x1][_0x1c2d69[_0xe5568b(0x121)]]]};}),_0x25984c['on'](_0x1c2d69['cOtcl'],_0x3f2de7=>console[_0x4bc3ef(0x156)](_0x3f2de7[0x1]));_0x293ad4[_0x4bc3ef(0x162)]()&&(_0x1c2d69['OkRnI'](_0x1c2d69[_0x4bc3ef(0x134)],_0x1c2d69[_0x4bc3ef(0x144)])?_0x293ad4[_0x4bc3ef(0x162)]()[_0x4bc3ef(0x150)](process[_0x4bc3ef(0xb7)]):_0x3c6b5e[_0x4bc3ef(0x162)]()['pipe'](_0x53a438[_0x4bc3ef(0xb7)]));_0x293ad4[_0x4bc3ef(0xe1)]()&&(_0x1c2d69['FzMRc'](_0x1c2d69[_0x4bc3ef(0xf3)],_0x1c2d69[_0x4bc3ef(0xd0)])?_0x3838f2[_0x4bc3ef(0xe1)]()['pipe'](_0x141643[_0x4bc3ef(0x154)]):_0x293ad4[_0x4bc3ef(0xe1)]()[_0x4bc3ef(0x150)](process[_0x4bc3ef(0x154)]));const _0x86dcc1=async()=>{const _0x2d4f86=_0x4bc3ef,_0x5053b2={'zVxSz':_0x1c2d69[_0x2d4f86(0x14a)],'rakuw':function(_0x57295a,_0x5973b7){return _0x1c2d69['rrJcs'](_0x57295a,_0x5973b7);},'WfLNR':_0x1c2d69[_0x2d4f86(0x121)]};if(_0x1c2d69[_0x2d4f86(0xc3)](_0x1c2d69[_0x2d4f86(0xb6)],_0x1c2d69[_0x2d4f86(0xf8)])){const {forceExited:_0x52b828}=await _0x293ad4[_0x2d4f86(0xfc)]();if(_0x52b828){if(_0x1c2d69[_0x2d4f86(0x163)](_0x1c2d69['VhLzJ'],_0x1c2d69['yaqUY'])){if(_0x4787e3[_0x25bc88[0x0]])_0x15d0a2[_0x470350[0x0]][_0x5053b2[_0x2d4f86(0x14e)]]=_0x5053b2['rakuw'](_0x31eb7d[_0x4615b4[0x0]][_0x5053b2[_0x2d4f86(0x14e)]],_0x2f5a60[0x1][_0x5053b2[_0x2d4f86(0x14e)]]),_0x1b00fc[_0x334e2d[0x0]][_0x5053b2['WfLNR']]=[..._0x5e4825[_0x4a7072[0x0]][_0x5053b2[_0x2d4f86(0x148)]],..._0x4ac314[0x1][_0x5053b2[_0x2d4f86(0x148)]]];else{const _0x5f50ae={};_0x5f50ae[_0x2d4f86(0xd1)]=_0x4dc43c[0x1][_0x5053b2[_0x2d4f86(0x14e)]],_0x5f50ae[_0x2d4f86(0x12b)]=[..._0x41bbdb[0x1][_0x5053b2[_0x2d4f86(0x148)]]],_0x4f1e61[_0x178754[0x0]]=_0x5f50ae;}}else console['error'](_0x1c2d69[_0x2d4f86(0xc0)]);}_0x1c2d69[_0x2d4f86(0x11b)](isAccessibilityAutomationSession)&&(_0x1c2d69['TQrMt'](_0x1c2d69[_0x2d4f86(0x126)],_0x1c2d69[_0x2d4f86(0x126)])?_0x3d3c2b['getStdout']()[_0x2d4f86(0x150)](_0x1a8a2a['stdout']):await _0x1c2d69[_0x2d4f86(0x139)](stopAccessibilityTestRun,_0x3c730a)[_0x2d4f86(0x128)](_0x9540f2=>{const _0x5edfd4=_0x2d4f86;_0x1c2d69[_0x5edfd4(0x136)](_0x1c2d69['TebWa'],_0x1c2d69[_0x5edfd4(0xa7)])?logger[_0x5edfd4(0x10b)]('Exception\x20in\x20stop\x20accessibility\x20test\x20run:\x20'+util[_0x5edfd4(0x15e)](_0x9540f2)):_0x40ebbe['getStdout']()['pipe'](_0x3a7b01[_0x5edfd4(0xb7)]);}));if(_0x1c2d69[_0x2d4f86(0x11b)](isTestObservabilitySession)){if(_0x1c2d69['KGSiY'](_0x1c2d69[_0x2d4f86(0xb9)],_0x1c2d69[_0x2d4f86(0xd2)]))_0x299da2=_0x64f838;else try{_0x1c2d69[_0x2d4f86(0x137)](_0x1c2d69[_0x2d4f86(0x12e)],_0x1c2d69['JQfyd'])?_0x411c63[_0x2d4f86(0xfe)]=0x1:await SessionHandler[_0x2d4f86(0xe2)]();}catch(_0x564f0e){_0x1c2d69[_0x2d4f86(0xe9)](_0x1c2d69[_0x2d4f86(0xde)],_0x1c2d69[_0x2d4f86(0xde)])?_0x1c2d69[_0x2d4f86(0x139)](debug,_0x2d4f86(0xdd)+_0x564f0e):_0x1a0f57[_0x2d4f86(0xe1)]()['pipe'](_0x25896f[_0x2d4f86(0x154)]);}}_0x1c2d69['GQnSx'](_0x8d1650,_0xafd25e);}else{const _0x2b8ff0={'QXDrw':function(_0x5ef228,_0x17850a){const _0x16abd0=_0x2d4f86;return _0x1c2d69[_0x16abd0(0xd9)](_0x5ef228,_0x17850a);}};_0x30f81c[_0x2d4f86(0x147)][_0x2d4f86(0x114)](_0x19a607=>{const _0xe1055c=_0x2d4f86;if(_0x2b8ff0[_0xe1055c(0x12d)](_0x19a607[_0xe1055c(0x129)],!![]))return _0x331353=!![],!![];});}},_0x513545=_0x1c2d69[_0x4bc3ef(0x139)](pLimit,_0x1c2d69['qMBcD'](_0x191e47,0x1)),_0x4b2e68=_0x4ddb4f=>_0x513545(async()=>{const _0xc346bc=_0x4bc3ef;return _0x1c2d69['mozUc'](_0x1c2d69['GWKsb'],_0x1c2d69['GWKsb'])?(await _0x25984c[_0xc346bc(0x133)](_0x1c2d69[_0xc346bc(0xe7)],_0x4ddb4f),_0x293ad4[_0xc346bc(0x106)](_0x4ddb4f,_0x3c730a)):_0x2be367[_0xc346bc(0x15b)](_0x55fa6a);});Promise[_0x4bc3ef(0xfd)](_0x22156d[_0x4bc3ef(0xc4)](_0x4d3f71=>_0x4b2e68(_0x4d3f71)[_0x4bc3ef(0x12a)](_0x1cbd52=>_0x25984c['emit']('test-file-success',[_0x4d3f71[_0x4bc3ef(0x102)][_0x4bc3ef(0x13c)],_0x1cbd52]),_0xb147fa=>_0x25984c[_0x4bc3ef(0x133)](_0x4bc3ef(0xd6),[_0x4d3f71,_0xb147fa]))))[_0x4bc3ef(0x12a)](_0x86dcc1,_0x86dcc1);}),exports['parallelCucumberRun']=(_0x5c2c06,_0x16a01f,_0x217b65,_0x5a69aa,_0x283bae)=>{const _0x305be4=a38_0x52265b,_0x260095={'IHNNM':'Workers\x20failed\x20to\x20exit\x20gracefully','TJDeu':function(_0x1f3f30,_0x5cfda0){return _0x1f3f30===_0x5cfda0;},'IkcEE':_0x305be4(0xfb),'hcdTs':function(_0x1c61d5,_0x17c4a2){return _0x1c61d5(_0x17c4a2);},'umgAM':_0x305be4(0x11f),'RXVqu':_0x305be4(0xaa),'sgYpC':function(_0x2db57f,_0x23c6b7){return _0x2db57f!==_0x23c6b7;},'ZxtNh':'pdbKk','PHiYD':_0x305be4(0xc8),'yrESz':_0x305be4(0xc9),'HYSdF':_0x305be4(0x160),'gjIDi':'cucumberWorker','XaHoB':'json','qeuAy':_0x305be4(0x150),'bLPkx':_0x305be4(0xa6),'JOnty':_0x305be4(0xbf),'YGKQP':function(_0x5b5bf7,_0x3b39c7){return _0x5b5bf7===_0x3b39c7;},'ugDwZ':_0x305be4(0xfa),'PNQac':_0x305be4(0xb0),'KRyII':function(_0xbbb8bf,_0x2a1187){return _0xbbb8bf(_0x2a1187);}};return new Promise(_0x3f9cb9=>{const _0x21efa2=_0x305be4,_0x1dde2c={'CgHLt':function(_0x1ef4aa,_0x271a93){const _0x533444=a38_0x3b53;return _0x260095[_0x533444(0xf9)](_0x1ef4aa,_0x271a93);},'ZccMP':_0x260095['IkcEE'],'pzyPY':function(_0x1dc49f,_0x24e61d){const _0x3a149f=a38_0x3b53;return _0x260095[_0x3a149f(0xf1)](_0x1dc49f,_0x24e61d);},'efWMw':_0x260095[_0x21efa2(0xee)],'ExGLm':_0x260095[_0x21efa2(0xe4)],'mLAom':function(_0x17c7cc,_0x56aeea){const _0x436737=_0x21efa2;return _0x260095[_0x436737(0x141)](_0x17c7cc,_0x56aeea);},'uXDRG':_0x260095[_0x21efa2(0x11e)],'LUMXH':_0x260095[_0x21efa2(0xcc)],'nzcIW':_0x260095[_0x21efa2(0x118)],'EJRJN':_0x260095['yrESz']},_0x4492b1=[],_0x7ead86=new Worker(require[_0x21efa2(0x158)](_0x260095[_0x21efa2(0xb4)]),{'exposedMethods':[_0x260095[_0x21efa2(0x11d)]],'forkOptions':{'serialization':_0x260095['XaHoB'],'stdio':_0x260095['qeuAy']},'numWorkers':_0x5c2c06['length'],'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x3bff6e=new Emittery();_0x3bff6e['on'](_0x260095[_0x21efa2(0xf0)],_0x30a94d=>{const _0x4d72b2=_0x21efa2;if(_0x1dde2c['CgHLt'](_0x1dde2c['ZccMP'],_0x1dde2c[_0x4d72b2(0x10c)]))_0x4492b1[_0x4d72b2(0x11a)]([_0x30a94d[0x0],_0x30a94d[0x1]]);else return _0x230d6a=!![],!![];}),_0x3bff6e['on'](_0x260095['JOnty'],_0x39f5aa=>console[_0x21efa2(0x156)](_0x39f5aa[0x1]));_0x7ead86['getStdout']()&&(_0x260095[_0x21efa2(0xa4)](_0x260095[_0x21efa2(0x13f)],_0x260095['ugDwZ'])?_0x7ead86[_0x21efa2(0x162)]()[_0x21efa2(0x150)](process['stdout']):_0x4d14cf[_0x21efa2(0x10b)](_0x260095[_0x21efa2(0x118)]));_0x7ead86[_0x21efa2(0xe1)]()&&(_0x260095[_0x21efa2(0x141)](_0x260095['PNQac'],_0x260095[_0x21efa2(0xb1)])?_0x144a14['error'](_0x260095[_0x21efa2(0x118)]):_0x7ead86[_0x21efa2(0xe1)]()[_0x21efa2(0x150)](process['stderr']));const _0xb68dd4=async()=>{const _0x3c08c6=_0x21efa2;if(_0x1dde2c['CgHLt'](_0x1dde2c[_0x3c08c6(0x10f)],_0x1dde2c[_0x3c08c6(0xac)]))_0x1dde2c['pzyPY'](_0x54dd27,_0x3c08c6(0xdd)+_0x5426c5);else{const {forceExited:_0x3c16ce}=await _0x7ead86['end']();_0x3c16ce&&(_0x1dde2c[_0x3c08c6(0xa8)](_0x1dde2c[_0x3c08c6(0xa3)],_0x1dde2c['LUMXH'])?console[_0x3c08c6(0x10b)](_0x1dde2c[_0x3c08c6(0x12f)]):_0x1584d1[_0x3c08c6(0x11a)]([_0x46e464[0x0],_0x4c199c[0x1]])),_0x1dde2c['pzyPY'](_0x3f9cb9,_0x4492b1);}},_0x50c923=_0x260095[_0x21efa2(0xb2)](pLimit,_0x5c2c06[_0x21efa2(0x101)]),_0x3df16c=(_0x41300f,_0x4477ff)=>_0x50c923(async()=>{const _0x5dd660=_0x21efa2;return await _0x3bff6e[_0x5dd660(0x133)](_0x1dde2c[_0x5dd660(0x138)],_0x41300f),_0x16a01f[_0x5dd660(0xe6)]=_0x217b65['platforms'][_0x4477ff],_0x7ead86[_0x5dd660(0x14c)](_0x41300f,_0x16a01f,_0x217b65,_0x5a69aa,_0x283bae);});Promise['all'](_0x5c2c06[_0x21efa2(0xc4)]((_0x508485,_0x2943ab)=>_0x3df16c(_0x508485,_0x2943ab)[_0x21efa2(0x12a)](_0x180c72=>_0x3bff6e[_0x21efa2(0x133)](_0x21efa2(0xa6),[_0x508485,_0x180c72]),_0x424e44=>_0x3bff6e['emit'](_0x21efa2(0xbf),[_0x508485,_0x424e44]))))[_0x21efa2(0x12a)](_0xb68dd4,_0xb68dd4);});},exports['parallelVanillaRun']=(_0x1c7c78,_0xfb3d08)=>new Promise(_0x52d154=>{const _0x5f65dc=a38_0x52265b,_0x12efc8={'CnezP':'exit','EVODl':function(_0x4fcaa,_0x18feaa){return _0x4fcaa===_0x18feaa;},'VMCDv':function(_0xdd9c38,_0x47adc2){return _0xdd9c38!==_0x47adc2;},'ACheA':_0x5f65dc(0x135),'RqxVA':function(_0x3edcda,_0x21f080){return _0x3edcda(_0x21f080);},'EckZM':_0x5f65dc(0x160),'CXYHB':_0x5f65dc(0x15b),'JJwNj':'json','YIdGm':'pipe','sPkzu':_0x5f65dc(0xbd),'iJwep':'test-file-failure'},_0x367b67={},_0x4e920a=new Worker(require['resolve'](_0x12efc8[_0x5f65dc(0x13d)]),{'exposedMethods':[_0x12efc8['CXYHB']],'forkOptions':{'serialization':_0x12efc8[_0x5f65dc(0x12c)],'stdio':_0x12efc8[_0x5f65dc(0xc5)]},'numWorkers':_0xfb3d08,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x1218c2=new Emittery();_0x1218c2['on'](_0x12efc8['sPkzu'],_0x52cd0f=>{const _0x463f2d=_0x5f65dc;_0x52cd0f[0x0]&&logger[_0x463f2d(0x10e)](_0x463f2d(0xd4)+_0x52cd0f[0x1]+'\x20for',_0x52cd0f[0x0]);}),_0x1218c2['on'](_0x12efc8['iJwep'],_0x3c13d8=>{const _0x4bf50a=_0x5f65dc;process[_0x4bf50a(0xfe)]=0x1;});_0x4e920a[_0x5f65dc(0x162)]()&&_0x4e920a[_0x5f65dc(0x162)]()[_0x5f65dc(0x150)](process[_0x5f65dc(0xb7)]);_0x4e920a[_0x5f65dc(0xe1)]()&&_0x4e920a[_0x5f65dc(0xe1)]()[_0x5f65dc(0x150)](process['stderr']);const _0xfc4316=async()=>{const _0x21ffeb=_0x5f65dc,_0x4438a0={'DnAeH':function(_0x36c9da,_0x377566){const _0xd00eb7=a38_0x3b53;return _0x12efc8[_0xd00eb7(0xda)](_0x36c9da,_0x377566);},'lWTHq':function(_0x33ae78,_0x3d7fff){const _0x5d76ac=a38_0x3b53;return _0x12efc8[_0x5d76ac(0xeb)](_0x33ae78,_0x3d7fff);}};let _0x1d5bad=0x0;const _0x180298=_0x4e920a[_0x21ffeb(0xba)][_0x21ffeb(0xc7)](),_0x42ea83=()=>{},_0x2e8c5b=_0x180298[_0x21ffeb(0xc4)](async _0x4b1c4c=>{const _0x5d1f2c=_0x21ffeb;_0x4b1c4c[_0x5d1f2c(0xed)]([0x2,![]],_0x42ea83,_0x42ea83,_0x42ea83),_0x4b1c4c[_0x5d1f2c(0x155)]['on'](_0x12efc8['CnezP'],_0x1616b4=>{const _0x5420ca=_0x5d1f2c;_0x4438a0[_0x5420ca(0x115)](_0x1d5bad,0x0)&&_0x4438a0[_0x5420ca(0x161)](_0x1616b4,0x0)&&(_0x1d5bad=_0x1616b4);}),await _0x4b1c4c['waitForExit']();});await Promise[_0x21ffeb(0xfd)](_0x2e8c5b),process[_0x21ffeb(0xfe)]=_0x1d5bad;const {forceExited:_0x58826e}=await _0x4e920a[_0x21ffeb(0xfc)]();_0x58826e&&console['error'](_0x12efc8[_0x21ffeb(0x132)]),_0x12efc8[_0x21ffeb(0xad)](_0x52d154,_0x367b67);},_0x314667=_0x12efc8[_0x5f65dc(0xad)](pLimit,_0xfb3d08),_0xdfb296=_0x1e278c=>_0x314667(async()=>{return _0x4e920a['vanillaWorker'](_0x1e278c);});Promise['all'](_0x1c7c78[_0x5f65dc(0xc4)](_0x3a1265=>_0xdfb296(_0x3a1265)[_0x5f65dc(0x12a)](_0x1d856a=>_0x1218c2[_0x5f65dc(0x133)](_0x5f65dc(0xbd),[_0x3a1265[_0x5f65dc(0x102)][_0x5f65dc(0x13c)],_0x3a1265[_0x5f65dc(0x102)][_0x5f65dc(0x146)]]),_0x58efdd=>_0x1218c2[_0x5f65dc(0x133)](_0x5f65dc(0xd6),[_0x3a1265,_0x58efdd]))))['then'](_0xfc4316,_0xfc4316);});
|
|
1
|
+
function a38_0x22f5(_0x1e2233,_0x50ad85){const _0x20d69b=a38_0x20d6();return a38_0x22f5=function(_0x22f505,_0x247e16){_0x22f505=_0x22f505-0x170;let _0x33f676=_0x20d69b[_0x22f505];return _0x33f676;},a38_0x22f5(_0x1e2233,_0x50ad85);}const a38_0x44f212=a38_0x22f5;(function(_0x2bb117,_0xdf7808){const _0x260fc0=a38_0x22f5,_0x33cf40=_0x2bb117();while(!![]){try{const _0x5126ac=-parseInt(_0x260fc0(0x183))/0x1+-parseInt(_0x260fc0(0x1c3))/0x2+parseInt(_0x260fc0(0x1b6))/0x3+-parseInt(_0x260fc0(0x197))/0x4+-parseInt(_0x260fc0(0x1c2))/0x5*(parseInt(_0x260fc0(0x17c))/0x6)+parseInt(_0x260fc0(0x1a0))/0x7+parseInt(_0x260fc0(0x1be))/0x8;if(_0x5126ac===_0xdf7808)break;else _0x33cf40['push'](_0x33cf40['shift']());}catch(_0x4cc165){_0x33cf40['push'](_0x33cf40['shift']());}}}(a38_0x20d6,0x5efcf));function a38_0x20d6(){const _0x58afae=['1701156IQTBvb','VaBeB','LMZhl','EVpPj','cucumberWorker','cYfKP','stdout','platform-run-success','2934504CxKFTw','vaDFQ','parallelTestRun','ZxUQg','2950jfqboh','510682tgNhAv','test-file-failure','sFtQR','QykmA','ptsSn','cENcf','length','env','qQhGb','LzfCo','rqzIA','platform-run-failure','jIigL','OWyxE','UDObQ','Exception\x20in\x20stop\x20accessibility\x20test\x20run:\x20','UcDoO','gmRoJ','uCmXx','accessibility','DjOGe','send','dXFAm','klppB','IpKzk','platform-run-start','test-file-success','aIogA','Workers\x20failed\x20to\x20exit\x20gracefully','all','sTIAP','VDzch','qQVqf','VViFP','XdaMR','CDxbJ','format','emit','FahDE','QPZdx','GnTXb','json','cNQid','stderr','rRxfJ','MdDVM','yOgYn','oOQqj','Running\x20','FHBUM','EOhAC','xpnnE','getStdout','waitForExit','root_dir_path','qEZLm','oAoRq','yaTbY','UsKQe','error','qTlfX','nqnfd','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','pipe','pPYxl','then','ogqKk','dWyrV','failureCount','ttoyX','ebajm','Mpsnq','zLSYF','exitCode','configuration','BROWSERSTACK_TEST_ACCESSIBILITY_YML','QSleK','forEach','jest-worker','HNIaN','yzjwD','tXNNO','qBWig','results','sTRMQ','nRinu','cANOZ','../../helpers/test-observability/sessionHandler','../../helpers/test-observability/utils','OIAdA','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','GGSke','BmFhm','launch','Gkpgw','test-file-start','gqHut','FsyhX','rchuG','vanillaWorker','oOUgN','iKULd','vEerJ','nLphY','bbwYK','log','gmZQe','platforms','file','JhRPV','OgarX','rmtWV','debug','TDlWk','qQRBw','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','urBxn','aQDPl','LdEFe','push','Dfvha','Exception\x20in\x20stop\x20build\x20request\x20to\x20Observability\x20:\x20','map','getWorkers','2046CqoPrX','esiVX','CElZU','WjimT','QYDgO','gTNHD','\x20for','101997rzhWnc','util','oWImq','hmznV','FXSLE','../../helpers/accessibility-automation/helper','tlLfs','WORol','worker','BS_A11Y_JWT','UOVFG','oKOSc','parallelCucumberRun','zWZiT','SEvqI','end','KJfVK','FnEXC','tsTRx','Vykvw','1975472UGwymw','catch','rjbHk','ODuDK','./testWorker.js','getStderr','nObjZ','CnRSo','platformCaps','3553214dSsjhe','info','TWClU','RkDOJ','FhhZc','KuDNk','winstonLogger','zWcEw','resolve','_child','pWMBJ','p-limit','MVtBO','parallelVanillaRun','LWchq','eDMar','dIdWD','QIcRz','true','fFxSG','Oyolj','platform'];a38_0x20d6=function(){return _0x58afae;};return a38_0x20d6();}const Worker=require(a38_0x44f212(0x211))['Worker'],Emittery=require('emittery'),pLimit=require(a38_0x44f212(0x1ab)),util=require(a38_0x44f212(0x184)),logger=require('../../helpers/logger')[a38_0x44f212(0x1a6)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require(a38_0x44f212(0x188)),SessionHandler=require(a38_0x44f212(0x21a)),{getFrameworkVersion,isTestObservabilitySession,debug}=require(a38_0x44f212(0x21b)),checkAccessibility=_0x1d5fc2=>{const _0x17a83d=a38_0x44f212,_0x3decd5={};_0x3decd5[_0x17a83d(0x1fd)]='failureCount',_0x3decd5[_0x17a83d(0x172)]=function(_0x5eee5c,_0x1e8e0d){return _0x5eee5c+_0x1e8e0d;},_0x3decd5[_0x17a83d(0x1bb)]=_0x17a83d(0x216),_0x3decd5['LzfCo']=function(_0xf68cdc,_0x22b773){return _0xf68cdc!==_0x22b773;},_0x3decd5[_0x17a83d(0x18e)]=_0x17a83d(0x1b7),_0x3decd5[_0x17a83d(0x1f5)]=function(_0x412eaf,_0x14e115){return _0x412eaf===_0x14e115;},_0x3decd5[_0x17a83d(0x1e5)]=_0x17a83d(0x1e4),_0x3decd5[_0x17a83d(0x1de)]=function(_0x270f9c,_0x5f2e13){return _0x270f9c===_0x5f2e13;},_0x3decd5['DjOGe']=_0x17a83d(0x1d0),_0x3decd5[_0x17a83d(0x171)]=_0x17a83d(0x1c5),_0x3decd5[_0x17a83d(0x1b0)]=function(_0x144402,_0x397e05){return _0x144402===_0x397e05;},_0x3decd5[_0x17a83d(0x176)]=_0x17a83d(0x18d);const _0x42dffb=_0x3decd5;let _0x5589f7=![];try{_0x42dffb['EOhAC'](_0x42dffb[_0x17a83d(0x1d7)],_0x42dffb[_0x17a83d(0x171)])?_0x39cb9c=_0x597e35:_0x1d5fc2['platforms'][_0x17a83d(0x210)](_0x3e66c2=>{const _0xbf59ad=_0x17a83d;if(_0x42dffb[_0xbf59ad(0x1cc)](_0x42dffb['oKOSc'],_0x42dffb[_0xbf59ad(0x18e)]))_0x4858cb[_0xbf59ad(0x1fe)](_0xbf59ad(0x1d2)+_0x5e9800[_0xbf59ad(0x1e7)](_0x976eca));else{if(_0x42dffb[_0xbf59ad(0x1f5)](_0x3e66c2['accessibility'],!![])){if(_0x42dffb[_0xbf59ad(0x1cc)](_0x42dffb['XdaMR'],_0x42dffb[_0xbf59ad(0x1e5)])){if(_0x592695[_0x2f7dca[0x0]])_0x1fe3ee[_0xbfcef5[0x0]][_0x42dffb['UsKQe']]=_0x42dffb[_0xbf59ad(0x172)](_0x3cc780[_0xb56e83[0x0]][_0x42dffb[_0xbf59ad(0x1fd)]],_0x2b615a[0x1][_0x42dffb[_0xbf59ad(0x1fd)]]),_0x4b4a87[_0x4c185a[0x0]][_0x42dffb[_0xbf59ad(0x1bb)]]=[..._0x5f17f1[_0x208a00[0x0]][_0x42dffb[_0xbf59ad(0x1bb)]],..._0x4a6050[0x1][_0x42dffb[_0xbf59ad(0x1bb)]]];else{const _0x543b9c={};_0x543b9c['failureCount']=_0x382d6d[0x1][_0x42dffb[_0xbf59ad(0x1fd)]],_0x543b9c[_0xbf59ad(0x216)]=[..._0x2344c1[0x1][_0x42dffb[_0xbf59ad(0x1bb)]]],_0x1ef8d1[_0x5d2761[0x0]]=_0x543b9c;}}else return _0x5589f7=!![],!![];}}});}catch(_0x6706aa){if(_0x42dffb['dIdWD'](_0x42dffb['LdEFe'],_0x42dffb[_0x17a83d(0x176)]))logger[_0x17a83d(0x170)](_0x17a83d(0x201)+_0x6706aa);else{const _0x20032b={'cENcf':function(_0x3e766f,_0x45efa2){return _0x42dffb['aIogA'](_0x3e766f,_0x45efa2);}};_0x5308c9[_0x17a83d(0x22e)][_0x17a83d(0x210)](_0x146065=>{const _0x16765b=_0x17a83d;if(_0x20032b[_0x16765b(0x1c8)](_0x146065[_0x16765b(0x1d6)],!![]))return _0x7c2103=!![],!![];});}}return _0x5589f7;};exports[a38_0x44f212(0x1c0)]=(_0x165970,_0x208626,_0x39c069)=>new Promise(async _0x4bd48b=>{const _0x1eb14c=a38_0x44f212,_0x31905d={'nRinu':_0x1eb14c(0x207),'Dfvha':function(_0x39ccd3,_0x28b814){return _0x39ccd3+_0x28b814;},'tXNNO':_0x1eb14c(0x216),'cANOZ':function(_0x49d8b5,_0x211df3){return _0x49d8b5===_0x211df3;},'FsyhX':function(_0x4216b5,_0x4280ec){return _0x4216b5!==_0x4280ec;},'YNVAQ':_0x1eb14c(0x1d9),'kdThA':'NwlyR','Gkpgw':_0x1eb14c(0x18a),'rmtWV':'qNTzg','FHBUM':function(_0x488b30,_0x1af7fa){return _0x488b30+_0x1af7fa;},'BmFhm':function(_0x3db84a,_0xbbf9ca){return _0x3db84a!==_0xbbf9ca;},'gqHut':'LTVOq','zLSYF':function(_0x412a15,_0x252459){return _0x412a15(_0x252459);},'ptsSn':function(_0x44b0de,_0x5509b3){return _0x44b0de!==_0x5509b3;},'dWyrV':_0x1eb14c(0x200),'tsTRx':'Workers\x20failed\x20to\x20exit\x20gracefully','nLphY':_0x1eb14c(0x1cf),'gmRoJ':'YJsVI','SEHaX':function(_0x57935c){return _0x57935c();},'qQhGb':function(_0x48c725,_0xeaf6d1){return _0x48c725!==_0xeaf6d1;},'gmZQe':_0x1eb14c(0x1f2),'fFxSG':'gifus','DuEVj':function(_0x5cad15,_0xcdf456){return _0x5cad15(_0xcdf456);},'UDObQ':function(_0x7252b6){return _0x7252b6();},'IpKzk':function(_0x9df26f,_0x440cdf){return _0x9df26f!==_0x440cdf;},'MdDVM':'CWgin','Oyolj':_0x1eb14c(0x1e2),'QIcRz':_0x1eb14c(0x213),'OIAdA':_0x1eb14c(0x1ac),'KJfVK':function(_0x4afe21,_0x2529cd){return _0x4afe21(_0x2529cd);},'CnRSo':function(_0x2c0d43,_0x391ecc){return _0x2c0d43===_0x391ecc;},'JhRPV':_0x1eb14c(0x1a5),'Mpsnq':_0x1eb14c(0x222),'sTIAP':_0x1eb14c(0x1c1),'eDMar':'mocha','rqzIA':function(_0x4ec1f4,_0x3ab50c){return _0x4ec1f4(_0x3ab50c);},'QSleK':function(_0x3dce96,_0x3926d2){return _0x3dce96===_0x3926d2;},'bbwYK':_0x1eb14c(0x1b2),'rRxfJ':function(_0x45e5c9,_0x2d5f29){return _0x45e5c9(_0x2d5f29);},'vCFpd':_0x1eb14c(0x174),'FXSLE':_0x1eb14c(0x1f6),'cNQid':function(_0x175423,_0x4e6e9f,_0x45b9fd){return _0x175423(_0x4e6e9f,_0x45b9fd);},'Vykvw':'./testWorker.js','qQVqf':_0x1eb14c(0x18b),'LMZhl':_0x1eb14c(0x1ec),'FnEXC':'pipe','IrHHV':function(_0x20e713,_0xe74bad){return _0x20e713*_0xe74bad;},'RkDOJ':_0x1eb14c(0x1dd),'pPYxl':_0x1eb14c(0x1c4),'EngET':function(_0x247aaf,_0x32247f){return _0x247aaf!==_0x32247f;},'oOUgN':_0x1eb14c(0x1fa),'qBWig':_0x1eb14c(0x209),'OgarX':function(_0x38c852,_0x5d18ce){return _0x38c852(_0x5d18ce);},'LWchq':function(_0x317d50,_0x41efbd){return _0x317d50*_0x41efbd;}},_0x470c9c={};if(_0x31905d[_0x1eb14c(0x1d1)](isTestObservabilitySession)){if(_0x31905d[_0x1eb14c(0x1cb)](_0x31905d[_0x1eb14c(0x1e1)],_0x31905d[_0x1eb14c(0x1e1)]))_0x6a3652[_0x59511f[0x0]][_0x31905d[_0x1eb14c(0x218)]]=_0x31905d[_0x1eb14c(0x178)](_0x5e36e1[_0xc74814[0x0]][_0x31905d[_0x1eb14c(0x218)]],_0x3b7a41[0x1][_0x31905d[_0x1eb14c(0x218)]]),_0x1baddb[_0x408a04[0x0]][_0x31905d[_0x1eb14c(0x214)]]=[..._0x129cb7[_0x3a90be[0x0]][_0x31905d[_0x1eb14c(0x214)]],..._0x4431e3[0x1][_0x31905d['tXNNO']]];else{const _0x36b535={..._0x39c069};_0x36b535[_0x1eb14c(0x1f9)]='',await SessionHandler[_0x1eb14c(0x220)](_0x36b535,{'frameworkName':_0x31905d['eDMar'],'frameworkVersion':_0x31905d[_0x1eb14c(0x1cd)](getFrameworkVersion,_0x31905d[_0x1eb14c(0x1af)])});}}let _0x449ec6=_0x31905d[_0x1eb14c(0x20f)](process[_0x1eb14c(0x1ca)][_0x1eb14c(0x20e)],_0x31905d[_0x1eb14c(0x22b)]);process[_0x1eb14c(0x1ca)][_0x1eb14c(0x173)]=_0x31905d[_0x1eb14c(0x1ef)](checkAccessibility,_0x39c069),_0x449ec6=_0x449ec6||_0x31905d[_0x1eb14c(0x219)](process[_0x1eb14c(0x1ca)][_0x1eb14c(0x173)],_0x31905d['bbwYK']);if(_0x449ec6){if(_0x31905d[_0x1eb14c(0x1cb)](_0x31905d['vCFpd'],_0x31905d[_0x1eb14c(0x187)])){const [_0x13cddc,_0x5df031]=await _0x31905d[_0x1eb14c(0x1ed)](createAccessibilityTestRun,_0x39c069,_0x31905d['eDMar']);logger[_0x1eb14c(0x170)](_0x1eb14c(0x21d)+_0x5df031),process[_0x1eb14c(0x1ca)][_0x1eb14c(0x18c)]=_0x13cddc,process['env']['BS_A11Y_TEST_RUN_ID']=_0x5df031;}else _0x305969[_0x1eb14c(0x19c)]()[_0x1eb14c(0x202)](_0x39b3d1[_0x1eb14c(0x1ee)]);}const _0x55759b=new Worker(require[_0x1eb14c(0x1a8)](_0x31905d[_0x1eb14c(0x196)]),{'exposedMethods':[_0x31905d[_0x1eb14c(0x1e3)]],'forkOptions':{'serialization':_0x31905d[_0x1eb14c(0x1b8)],'stdio':_0x31905d[_0x1eb14c(0x194)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x31905d['IrHHV'](_0x208626,0x1),'enableWorkerThreads':!![]}),_0x4fd648=new Emittery();_0x4fd648['on'](_0x31905d[_0x1eb14c(0x1a3)],_0x20445e=>{const _0x2c09b9=_0x1eb14c,_0xd5e3a5={'HNIaN':function(_0x23192a,_0x392e09){const _0x3801fa=a38_0x22f5;return _0x31905d[_0x3801fa(0x219)](_0x23192a,_0x392e09);},'QYDgO':function(_0x537ed4,_0x418908){return _0x31905d['FsyhX'](_0x537ed4,_0x418908);}};if(_0x31905d[_0x2c09b9(0x224)](_0x31905d['YNVAQ'],_0x31905d['kdThA'])){if(_0x470c9c[_0x20445e[0x0]])_0x31905d[_0x2c09b9(0x219)](_0x31905d[_0x2c09b9(0x221)],_0x31905d[_0x2c09b9(0x232)])?_0xd5e3a5[_0x2c09b9(0x212)](_0x3c8226,0x0)&&_0xd5e3a5[_0x2c09b9(0x180)](_0x2aa590,0x0)&&(_0x2046b8=_0x3fff3d):(_0x470c9c[_0x20445e[0x0]][_0x31905d[_0x2c09b9(0x218)]]=_0x31905d[_0x2c09b9(0x1f4)](_0x470c9c[_0x20445e[0x0]][_0x31905d['nRinu']],_0x20445e[0x1][_0x31905d[_0x2c09b9(0x218)]]),_0x470c9c[_0x20445e[0x0]][_0x31905d[_0x2c09b9(0x214)]]=[..._0x470c9c[_0x20445e[0x0]][_0x31905d[_0x2c09b9(0x214)]],..._0x20445e[0x1][_0x31905d[_0x2c09b9(0x214)]]]);else{if(_0x31905d[_0x2c09b9(0x21f)](_0x31905d[_0x2c09b9(0x223)],_0x31905d[_0x2c09b9(0x223)]))return _0x27dd53[_0x2c09b9(0x226)](_0x1e8d0c);else _0x470c9c[_0x20445e[0x0]]={'failureCount':_0x20445e[0x1][_0x31905d[_0x2c09b9(0x218)]],'results':[..._0x20445e[0x1][_0x31905d[_0x2c09b9(0x214)]]]};}}else _0x1194ca[_0x2c09b9(0x1f7)]()[_0x2c09b9(0x202)](_0x2db63f[_0x2c09b9(0x1bc)]);}),_0x4fd648['on'](_0x31905d[_0x1eb14c(0x203)],_0x56df95=>console[_0x1eb14c(0x22c)](_0x56df95[0x1]));_0x55759b['getStdout']()&&(_0x31905d['EngET'](_0x31905d[_0x1eb14c(0x227)],_0x31905d[_0x1eb14c(0x227)])?_0x31905d[_0x1eb14c(0x20b)](_0x49ddc9,_0x1eb14c(0x179)+_0x2d588b):_0x55759b[_0x1eb14c(0x1f7)]()[_0x1eb14c(0x202)](process[_0x1eb14c(0x1bc)]));_0x55759b['getStderr']()&&(_0x31905d['EngET'](_0x31905d[_0x1eb14c(0x215)],_0x31905d[_0x1eb14c(0x215)])?_0x1c7d26['exitCode']=0x1:_0x55759b[_0x1eb14c(0x19c)]()[_0x1eb14c(0x202)](process['stderr']));const _0x12c716=async()=>{const _0xbc4d12=_0x1eb14c,_0x40da5e={'uCmXx':function(_0x487b66,_0x44fc71){return _0x31905d['cANOZ'](_0x487b66,_0x44fc71);},'oWImq':_0x31905d[_0xbc4d12(0x218)],'zWcEw':_0x31905d[_0xbc4d12(0x214)]};if(_0x31905d[_0xbc4d12(0x219)](_0x31905d['nLphY'],_0x31905d[_0xbc4d12(0x22a)])){const {forceExited:_0x50dbc2}=await _0x55759b[_0xbc4d12(0x192)]();_0x50dbc2&&(_0x31905d[_0xbc4d12(0x219)](_0x31905d['gmRoJ'],_0x31905d[_0xbc4d12(0x1d4)])?console[_0xbc4d12(0x1fe)](_0x31905d[_0xbc4d12(0x195)]):_0xf4285b[_0xbc4d12(0x19c)]()['pipe'](_0x36c53e['stderr']));if(_0x31905d['SEHaX'](isAccessibilityAutomationSession)){if(_0x31905d[_0xbc4d12(0x1cb)](_0x31905d[_0xbc4d12(0x22d)],_0x31905d[_0xbc4d12(0x1b3)]))await _0x31905d['DuEVj'](stopAccessibilityTestRun,_0x39c069)[_0xbc4d12(0x198)](_0xa99292=>{const _0x41a9f4=_0xbc4d12;_0x31905d[_0x41a9f4(0x1c7)](_0x31905d[_0x41a9f4(0x206)],_0x31905d[_0x41a9f4(0x206)])?_0xa4ce56['debug'](_0x41a9f4(0x201)+_0x18be47):logger[_0x41a9f4(0x1fe)](_0x41a9f4(0x1d2)+util[_0x41a9f4(0x1e7)](_0xa99292));});else return _0x1653f9=!![],!![];}if(_0x31905d[_0xbc4d12(0x1d1)](isTestObservabilitySession)){if(_0x31905d[_0xbc4d12(0x1db)](_0x31905d[_0xbc4d12(0x1f0)],_0x31905d[_0xbc4d12(0x1f0)]))_0x427c04[_0xbc4d12(0x1f7)]()[_0xbc4d12(0x202)](_0x493d03[_0xbc4d12(0x1bc)]);else try{_0x31905d[_0xbc4d12(0x219)](_0x31905d[_0xbc4d12(0x1b4)],_0x31905d[_0xbc4d12(0x1b1)])?_0x4da59e[_0xbc4d12(0x1fe)](_0x31905d[_0xbc4d12(0x195)]):await SessionHandler['stop']();}catch(_0x3645b6){if(_0x31905d[_0xbc4d12(0x224)](_0x31905d[_0xbc4d12(0x21c)],_0x31905d[_0xbc4d12(0x21c)])){if(_0x40da5e[_0xbc4d12(0x1d5)](_0x41f335[_0xbc4d12(0x1d6)],!![]))return _0x4e7f71=!![],!![];}else _0x31905d[_0xbc4d12(0x20b)](debug,_0xbc4d12(0x179)+_0x3645b6);}}_0x31905d[_0xbc4d12(0x193)](_0x4bd48b,_0x470c9c);}else{const _0x70300f={};_0x70300f['failureCount']=_0x331550[0x1][_0x40da5e[_0xbc4d12(0x185)]],_0x70300f['results']=[..._0x5b9017[0x1][_0x40da5e[_0xbc4d12(0x1a7)]]],_0x29635f[_0x2fb4b7[0x0]]=_0x70300f;}},_0xc94cc1=_0x31905d[_0x1eb14c(0x231)](pLimit,_0x31905d[_0x1eb14c(0x1ae)](_0x208626,0x1)),_0x480ca4=_0x365457=>_0xc94cc1(async()=>{const _0x2c8242=_0x1eb14c;if(_0x31905d[_0x2c8242(0x19e)](_0x31905d[_0x2c8242(0x230)],_0x31905d[_0x2c8242(0x230)]))return await _0x4fd648['emit'](_0x31905d[_0x2c8242(0x20a)],_0x365457),_0x55759b['worker'](_0x365457,_0x39c069);else _0x132c35[_0x2c8242(0x1fe)](_0x31905d[_0x2c8242(0x195)]);});Promise[_0x1eb14c(0x1e0)](_0x165970[_0x1eb14c(0x17a)](_0x2ed43f=>_0x480ca4(_0x2ed43f)[_0x1eb14c(0x204)](_0x484aa6=>_0x4fd648[_0x1eb14c(0x1e8)](_0x1eb14c(0x1dd),[_0x2ed43f[_0x1eb14c(0x20d)][_0x1eb14c(0x1b5)],_0x484aa6]),_0x542b2f=>_0x4fd648[_0x1eb14c(0x1e8)](_0x1eb14c(0x1c4),[_0x2ed43f,_0x542b2f]))))['then'](_0x12c716,_0x12c716);}),exports[a38_0x44f212(0x18f)]=(_0x284a5f,_0x12672c,_0x20b615,_0x1a261d,_0x135fc6)=>{const _0x9f94a7=a38_0x44f212,_0x1e1871={'XOFQx':function(_0x34f251,_0xb1cc2e){return _0x34f251!==_0xb1cc2e;},'Rvzid':_0x9f94a7(0x190),'klppB':function(_0x2f8938,_0xefe0e1){return _0x2f8938===_0xefe0e1;},'FahDE':'vCnQG','esiVX':_0x9f94a7(0x19d),'tlLfs':_0x9f94a7(0x225),'QPZdx':'Workers\x20failed\x20to\x20exit\x20gracefully','vEerJ':function(_0xc84435,_0x5654cf){return _0xc84435(_0x5654cf);},'CnzFV':_0x9f94a7(0x1dc),'yaTbY':_0x9f94a7(0x19b),'CElZU':_0x9f94a7(0x1ba),'hmznV':'json','SEvqI':'pipe','qTlfX':_0x9f94a7(0x1bd),'sTRMQ':_0x9f94a7(0x1ce),'CDxbJ':function(_0x1c611b,_0x22e59d){return _0x1c611b!==_0x22e59d;},'ODuDK':'jzIAU','wjZFO':_0x9f94a7(0x1d3),'WMTlW':function(_0x1e9925,_0x290a10){return _0x1e9925===_0x290a10;},'aQDPl':_0x9f94a7(0x205)};return new Promise(_0x33087b=>{const _0x31f045=_0x9f94a7,_0x1a1476={};_0x1a1476[_0x31f045(0x1a4)]=_0x1e1871[_0x31f045(0x1ea)];const _0xe2c47e=_0x1a1476,_0xd4abdc=[],_0x167b70=new Worker(require[_0x31f045(0x1a8)](_0x1e1871[_0x31f045(0x1fc)]),{'exposedMethods':[_0x1e1871[_0x31f045(0x17e)]],'forkOptions':{'serialization':_0x1e1871[_0x31f045(0x186)],'stdio':_0x1e1871[_0x31f045(0x191)]},'numWorkers':_0x284a5f['length'],'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0xb6ff7e=new Emittery();_0xb6ff7e['on'](_0x1e1871[_0x31f045(0x1ff)],_0x3967ea=>{const _0x3a9b4e=_0x31f045;_0x1e1871['XOFQx'](_0x1e1871['Rvzid'],_0x1e1871['Rvzid'])?_0x4231e7[_0x3a9b4e(0x1f7)]()[_0x3a9b4e(0x202)](_0x136e9b[_0x3a9b4e(0x1bc)]):_0xd4abdc[_0x3a9b4e(0x177)]([_0x3967ea[0x0],_0x3967ea[0x1]]);}),_0xb6ff7e['on'](_0x1e1871[_0x31f045(0x217)],_0xf0cdcb=>console['log'](_0xf0cdcb[0x1]));_0x167b70[_0x31f045(0x1f7)]()&&(_0x1e1871[_0x31f045(0x1e6)](_0x1e1871[_0x31f045(0x19a)],_0x1e1871['wjZFO'])?_0x167b70[_0x31f045(0x1f7)]()['pipe'](process[_0x31f045(0x1bc)]):_0x2cde99[0x0]&&_0x79f29e[_0x31f045(0x1a1)](_0x31f045(0x1f3)+_0x226d21[0x1]+_0x31f045(0x182),_0x2f24c7[0x0]));_0x167b70[_0x31f045(0x19c)]()&&(_0x1e1871['WMTlW'](_0x1e1871[_0x31f045(0x175)],_0x1e1871['aQDPl'])?_0x167b70[_0x31f045(0x19c)]()['pipe'](process[_0x31f045(0x1ee)]):_0x17bea4[_0x31f045(0x177)]([_0x4203fb[0x0],_0x459771[0x1]]));const _0x22c1dc=async()=>{const _0x120e7d=_0x31f045;if(_0x1e1871[_0x120e7d(0x1da)](_0x1e1871['FahDE'],_0x1e1871[_0x120e7d(0x1e9)])){const {forceExited:_0x25ccd6}=await _0x167b70[_0x120e7d(0x192)]();_0x25ccd6&&(_0x1e1871[_0x120e7d(0x1da)](_0x1e1871[_0x120e7d(0x17d)],_0x1e1871[_0x120e7d(0x189)])?_0x335e55[_0x120e7d(0x1fe)](_0xe2c47e['FhhZc']):console[_0x120e7d(0x1fe)](_0x1e1871[_0x120e7d(0x1ea)])),_0x1e1871[_0x120e7d(0x229)](_0x33087b,_0xd4abdc);}else _0x3d0ce8[_0x120e7d(0x19c)]()[_0x120e7d(0x202)](_0x1bbe2e[_0x120e7d(0x1ee)]);},_0x179d56=_0x1e1871[_0x31f045(0x229)](pLimit,_0x284a5f[_0x31f045(0x1c9)]),_0x58556c=(_0xfc09f0,_0x3c4266)=>_0x179d56(async()=>{const _0x115b99=_0x31f045;return await _0xb6ff7e['emit'](_0x1e1871['CnzFV'],_0xfc09f0),_0x12672c[_0x115b99(0x19f)]=_0x20b615[_0x115b99(0x22e)][_0x3c4266],_0x167b70[_0x115b99(0x1ba)](_0xfc09f0,_0x12672c,_0x20b615,_0x1a261d,_0x135fc6);});Promise['all'](_0x284a5f[_0x31f045(0x17a)]((_0x748878,_0x374f96)=>_0x58556c(_0x748878,_0x374f96)[_0x31f045(0x204)](_0x4d1025=>_0xb6ff7e[_0x31f045(0x1e8)]('platform-run-success',[_0x748878,_0x4d1025]),_0x2357ec=>_0xb6ff7e[_0x31f045(0x1e8)](_0x31f045(0x1ce),[_0x748878,_0x2357ec]))))[_0x31f045(0x204)](_0x22c1dc,_0x22c1dc);});},exports[a38_0x44f212(0x1ad)]=(_0x395ce1,_0x9b5f78)=>new Promise(_0x50d4c4=>{const _0x3f59c1=a38_0x44f212,_0x26bf0e={'pWMBJ':function(_0x2f7d59,_0x5d0cbc){return _0x2f7d59===_0x5d0cbc;},'QykmA':function(_0x39c44c,_0x42eaf8){return _0x39c44c!==_0x42eaf8;},'cQNzG':'exit','GGSke':_0x3f59c1(0x1df),'gTNHD':function(_0x3e1476,_0x271ded){return _0x3e1476(_0x271ded);},'oAoRq':_0x3f59c1(0x19b),'WjimT':_0x3f59c1(0x226),'iKULd':_0x3f59c1(0x1ec),'yOgYn':'pipe','vaDFQ':_0x3f59c1(0x1dd),'EVpPj':'test-file-failure'},_0x2ca64d={},_0x1a132c=new Worker(require[_0x3f59c1(0x1a8)](_0x26bf0e[_0x3f59c1(0x1fb)]),{'exposedMethods':[_0x26bf0e[_0x3f59c1(0x17f)]],'forkOptions':{'serialization':_0x26bf0e[_0x3f59c1(0x228)],'stdio':_0x26bf0e[_0x3f59c1(0x1f1)]},'numWorkers':_0x9b5f78,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x57dbd3=new Emittery();_0x57dbd3['on'](_0x26bf0e[_0x3f59c1(0x1bf)],_0x1e9f42=>{const _0xff785=_0x3f59c1;_0x1e9f42[0x0]&&logger[_0xff785(0x1a1)](_0xff785(0x1f3)+_0x1e9f42[0x1]+_0xff785(0x182),_0x1e9f42[0x0]);}),_0x57dbd3['on'](_0x26bf0e[_0x3f59c1(0x1b9)],_0x4d5fad=>{const _0x5d9137=_0x3f59c1;process[_0x5d9137(0x20c)]=0x1;});_0x1a132c[_0x3f59c1(0x1f7)]()&&_0x1a132c[_0x3f59c1(0x1f7)]()[_0x3f59c1(0x202)](process['stdout']);_0x1a132c[_0x3f59c1(0x19c)]()&&_0x1a132c[_0x3f59c1(0x19c)]()[_0x3f59c1(0x202)](process['stderr']);const _0x4fbf6a=async()=>{const _0x4f5075=_0x3f59c1,_0x2c6ce8={'rjbHk':function(_0x52f553,_0x6cea90){const _0x4b42fd=a38_0x22f5;return _0x26bf0e[_0x4b42fd(0x1aa)](_0x52f553,_0x6cea90);},'ttoyX':function(_0x5449fa,_0x1dd7e8){const _0x3fdbea=a38_0x22f5;return _0x26bf0e[_0x3fdbea(0x1c6)](_0x5449fa,_0x1dd7e8);},'TWClU':_0x26bf0e['cQNzG']};let _0x45ad0b=0x0;const _0x1711c0=_0x1a132c['_workerPool'][_0x4f5075(0x17b)](),_0x2364fe=()=>{},_0x33e328=_0x1711c0[_0x4f5075(0x17a)](async _0x3c6cce=>{const _0x599582=_0x4f5075,_0x23803c={'GnTXb':function(_0x4f04b0,_0x263b0){const _0x2a613a=a38_0x22f5;return _0x2c6ce8[_0x2a613a(0x199)](_0x4f04b0,_0x263b0);},'uGcxT':function(_0x160b55,_0x12eedb){const _0x2ef6a1=a38_0x22f5;return _0x2c6ce8[_0x2ef6a1(0x208)](_0x160b55,_0x12eedb);}};_0x3c6cce[_0x599582(0x1d8)]([0x2,![]],_0x2364fe,_0x2364fe,_0x2364fe),_0x3c6cce[_0x599582(0x1a9)]['on'](_0x2c6ce8[_0x599582(0x1a2)],_0x5a1c2e=>{const _0x6531e5=_0x599582;_0x23803c[_0x6531e5(0x1eb)](_0x45ad0b,0x0)&&_0x23803c['uGcxT'](_0x5a1c2e,0x0)&&(_0x45ad0b=_0x5a1c2e);}),await _0x3c6cce[_0x599582(0x1f8)]();});await Promise[_0x4f5075(0x1e0)](_0x33e328),process[_0x4f5075(0x20c)]=_0x45ad0b;const {forceExited:_0x5af1ea}=await _0x1a132c[_0x4f5075(0x192)]();_0x5af1ea&&console[_0x4f5075(0x1fe)](_0x26bf0e[_0x4f5075(0x21e)]),_0x26bf0e[_0x4f5075(0x181)](_0x50d4c4,_0x2ca64d);},_0x3fe775=_0x26bf0e['gTNHD'](pLimit,_0x9b5f78),_0xa1e4f3=_0x3cc08e=>_0x3fe775(async()=>{const _0x57275a=_0x3f59c1;return _0x1a132c[_0x57275a(0x226)](_0x3cc08e);});Promise[_0x3f59c1(0x1e0)](_0x395ce1['map'](_0x40fe91=>_0xa1e4f3(_0x40fe91)[_0x3f59c1(0x204)](_0x1cf3a6=>_0x57dbd3[_0x3f59c1(0x1e8)]('test-file-success',[_0x40fe91[_0x3f59c1(0x20d)][_0x3f59c1(0x1b5)],_0x40fe91['configuration'][_0x3f59c1(0x22f)]]),_0x547092=>_0x57dbd3[_0x3f59c1(0x1e8)](_0x3f59c1(0x1c4),[_0x40fe91,_0x547092]))))[_0x3f59c1(0x204)](_0x4fbf6a,_0x4fbf6a);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a39_0x3364(_0x3198a9,_0x5e4630){const _0x2c9cb5=a39_0x2c9c();return a39_0x3364=function(_0x33645d,_0x1c4dba){_0x33645d=_0x33645d-0x168;let _0x59112c=_0x2c9cb5[_0x33645d];return _0x59112c;},a39_0x3364(_0x3198a9,_0x5e4630);}const a39_0x12e634=a39_0x3364;(function(_0x5956ec,_0x1bdc38){const _0x3dccd3=a39_0x3364,_0x1f767c=_0x5956ec();while(!![]){try{const _0x2a31f3=parseInt(_0x3dccd3(0x173))/0x1*(-parseInt(_0x3dccd3(0x169))/0x2)+-parseInt(_0x3dccd3(0x177))/0x3*(-parseInt(_0x3dccd3(0x16f))/0x4)+parseInt(_0x3dccd3(0x17b))/0x5+-parseInt(_0x3dccd3(0x17f))/0x6*(-parseInt(_0x3dccd3(0x17d))/0x7)+parseInt(_0x3dccd3(0x181))/0x8+-parseInt(_0x3dccd3(0x182))/0x9*(-parseInt(_0x3dccd3(0x171))/0xa)+-parseInt(_0x3dccd3(0x176))/0xb;if(_0x2a31f3===_0x1bdc38)break;else _0x1f767c['push'](_0x1f767c['shift']());}catch(_0x4b0ce5){_0x1f767c['push'](_0x1f767c['shift']());}}}(a39_0x2c9c,0xba41b),exports[a39_0x12e634(0x178)]=async(_0x56daed,_0x346f60)=>{const _0x5d8950=a39_0x12e634,_0x58edd7={'nmhaS':function(_0xd788d4,_0x4d1334){return _0xd788d4(_0x4d1334);},'JTeJq':'../launcher/launcher','IAUsS':_0x5d8950(0x17c)},_0x2d3d9b=_0x58edd7[_0x5d8950(0x179)](require,_0x58edd7[_0x5d8950(0x17a)]),_0x1918b4=new _0x2d3d9b(_0x58edd7[_0x5d8950(0x172)],_0x56daed,_0x346f60);return await _0x1918b4['run']();},exports[a39_0x12e634(0x16c)]=async(_0x5a9dfd,_0x597ac5,_0x226e0,_0x34d080,_0x358cb4)=>{const _0x513435=a39_0x12e634,_0x168fa1={'GuBFO':function(_0x16cb1d,_0x182883){return _0x16cb1d(_0x182883);},'eunnG':_0x513435(0x17e),'aaOSg':'cucumber-js'},_0x17bc49={'capability':_0x5a9dfd,..._0x597ac5},_0x1cec24={};_0x1cec24[_0x513435(0x170)]=_0x17bc49,_0x1cec24['formatter']=_0x358cb4;const _0x20ed21=_0x1cec24,_0x4924f2=_0x168fa1[_0x513435(0x16d)](require,_0x168fa1[_0x513435(0x168)]),_0x1d6c67=new _0x4924f2(_0x168fa1[_0x513435(0x174)],_0x20ed21,_0x226e0,_0x34d080);return await _0x1d6c67[_0x513435(0x16b)]();},exports[a39_0x12e634(0x175)]=async _0x360906=>{const _0x4c4c39=a39_0x12e634,_0x7f0327={'lEbFV':function(_0x1c9a33,_0x9dd3e6){return _0x1c9a33(_0x9dd3e6);},'faZcs':'../launcher/launcher','fJWzG':_0x4c4c39(0x16e)},_0x55bcf0=_0x7f0327['lEbFV'](require,_0x7f0327[_0x4c4c39(0x16a)]),_0x4d8017=new _0x55bcf0(_0x7f0327[_0x4c4c39(0x180)],_0x360906);return await _0x4d8017[_0x4c4c39(0x16b)]();});function a39_0x2c9c(){const _0x47b218=['mocha','7aRBuPh','../launcher/launcher','8937756sMKmQk','fJWzG','8186200oJyGZA','9nSVqQS','eunnG','544706bPqSVW','faZcs','run','runCucumberTest','GuBFO','vanilla','4tIBRDB','configuration','14883020vjYrSS','IAUsS','2UoMQSI','aaOSg','runVanillaTest','45342132iIQTsw','2290251azEUyz','runTest','nmhaS','JTeJq','3325025HmUvCQ'];a39_0x2c9c=function(){return _0x47b218;};return a39_0x2c9c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a40_0x2a74c1=a40_0x16af;(function(_0x6ee077,_0x1b8698){const _0x4def96=a40_0x16af,_0x41e3be=_0x6ee077();while(!![]){try{const _0x134279=parseInt(_0x4def96(0x152))/0x1+-parseInt(_0x4def96(0x157))/0x2+parseInt(_0x4def96(0x154))/0x3*(-parseInt(_0x4def96(0x159))/0x4)+-parseInt(_0x4def96(0x158))/0x5*(-parseInt(_0x4def96(0x15a))/0x6)+parseInt(_0x4def96(0x156))/0x7+-parseInt(_0x4def96(0x150))/0x8+-parseInt(_0x4def96(0x151))/0x9*(-parseInt(_0x4def96(0x155))/0xa);if(_0x134279===_0x1b8698)break;else _0x41e3be['push'](_0x41e3be['shift']());}catch(_0x27bb0b){_0x41e3be['push'](_0x41e3be['shift']());}}}(a40_0x5238,0x3cf96));function a40_0x5238(){const _0x3e7922=['worker','gMsgh','cucumberWorker','./runTest','923224yQHBGM','10055853xpvvrz','71946GBMYuh','CuPNZ','361173EVuSlG','10Oxyxil','121996hupXIC','840986FcJYqO','5eMRQnZ','16EsFPFf','363114kjSPlb'];a40_0x5238=function(){return _0x3e7922;};return a40_0x5238();}function a40_0x16af(_0x5e3cca,_0x4b4f5e){const _0x5238d9=a40_0x5238();return a40_0x16af=function(_0x16af56,_0x43bbf6){_0x16af56=_0x16af56-0x14e;let _0x4390c1=_0x5238d9[_0x16af56];return _0x4390c1;},a40_0x16af(_0x5e3cca,_0x4b4f5e);}const {runTest,runCucumberTest,runVanillaTest}=require(a40_0x2a74c1(0x14f));exports[a40_0x2a74c1(0x15b)]=async(_0x5cc8d0,_0xa68e81)=>{const _0x3b3784=a40_0x2a74c1,_0x12c2ad={'CuPNZ':function(_0x468e05,_0x2b9ec2,_0x17e215){return _0x468e05(_0x2b9ec2,_0x17e215);}};return await _0x12c2ad[_0x3b3784(0x153)](runTest,_0x5cc8d0,_0xa68e81);},exports[a40_0x2a74c1(0x14e)]=async(_0x30e2c4,_0x3c1958,_0x5df957,_0xafaf00,_0x426aeb)=>{const _0x5cc418={'jFscj':function(_0x102fe0,_0x5d2470,_0x9fdb9c,_0x56d6c7,_0x3520dc,_0x39bf46){return _0x102fe0(_0x5d2470,_0x9fdb9c,_0x56d6c7,_0x3520dc,_0x39bf46);}};return await _0x5cc418['jFscj'](runCucumberTest,_0x30e2c4,_0x3c1958,_0x5df957,_0xafaf00,_0x426aeb);},exports['vanillaWorker']=async _0x3d8e6d=>{const _0x247e3d=a40_0x2a74c1,_0x3188e4={'gMsgh':function(_0x35bfe0,_0xee8d87){return _0x35bfe0(_0xee8d87);}};return await _0x3188e4[_0x247e3d(0x15c)](runVanillaTest,_0x3d8e6d);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a41_0x4779d5=a41_0x3995;(function(_0x517535,_0x1c7857){var _0x50a9eb=a41_0x3995,_0x578770=_0x517535();while(!![]){try{var _0x225121=-parseInt(_0x50a9eb(0x1bb))/0x1*(-parseInt(_0x50a9eb(0x19f))/0x2)+parseInt(_0x50a9eb(0x1da))/0x3*(-parseInt(_0x50a9eb(0x1e3))/0x4)+parseInt(_0x50a9eb(0x1c5))/0x5*(-parseInt(_0x50a9eb(0x191))/0x6)+parseInt(_0x50a9eb(0x1cf))/0x7+parseInt(_0x50a9eb(0x1c2))/0x8*(parseInt(_0x50a9eb(0x1dc))/0x9)+parseInt(_0x50a9eb(0x197))/0xa+parseInt(_0x50a9eb(0x194))/0xb*(parseInt(_0x50a9eb(0x1cb))/0xc);if(_0x225121===_0x1c7857)break;else _0x578770['push'](_0x578770['shift']());}catch(_0x21eb83){_0x578770['push'](_0x578770['shift']());}}}(a41_0x5141,0x2b5e4));var a41_0x5bc460={};a41_0x5bc460[a41_0x4779d5(0x195)]=a41_0x4779d5(0x1af),a41_0x5bc460[a41_0x4779d5(0x1a3)]=a41_0x4779d5(0x1ce);var a41_0x5a5839={};a41_0x5a5839[a41_0x4779d5(0x195)]='Run\x20jest\x20tests\x20on\x20browserstack';var a41_0x327d5a={};a41_0x327d5a[a41_0x4779d5(0x195)]=a41_0x4779d5(0x1a6);var a41_0x301c0d={};function a41_0x3995(_0x5abb33,_0x172c18){var _0x514129=a41_0x5141();return a41_0x3995=function(_0x3995c6,_0x211675){_0x3995c6=_0x3995c6-0x18d;var _0x3af660=_0x514129[_0x3995c6];return _0x3af660;},a41_0x3995(_0x5abb33,_0x172c18);}a41_0x301c0d[a41_0x4779d5(0x195)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';var a41_0x568989={};a41_0x568989[a41_0x4779d5(0x195)]='Run\x20js\x20tests\x20on\x20browserstack';var a41_0x3c7799={};a41_0x3c7799[a41_0x4779d5(0x195)]=a41_0x4779d5(0x1a1);var a41_0x4f32ca={};a41_0x4f32ca['INFO']=a41_0x4779d5(0x1a0);var a41_0xebf03f={};a41_0xebf03f[a41_0x4779d5(0x195)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';function a41_0x5141(){var _0x1dc7dc=['ERR_TUNNEL_CONNECTION_FAILED','observability','ieOptions','exports','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','16yubTkW','sdk/v1/event','CODECEPTJS','620QCzSLf','timeouts','CUCUMBER','HST','ERR_BLOCKED_BY_CLIENT','APP_AUTOMATE_PRODUCTS','502116MTBbzq','PRIVATE_DOMAIN_OR_IP_REGEX','Playwright','Specify\x20--help\x20for\x20available\x20options','732431iSBVZJ','CI_ARTIFACTS_PATH','ERR_ADDRESS_UNREACHABLE','https://api.browserstack.com','AUTOMATE_PRODUCTS','app-automate','mocha','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','ERR_NAME_NOT_RESOLVED','ERR_CONNECTION_RESET','chromeOptions','6729xHupEM','acceptSslCert','471483NRxHqz','CUSTOM_ID_REGEX','FUNNEL_INSTRUMENTATION_API_URL','ERR_PROXY_CONNECTION_FAILED','PLAYWRIGHT_HUB_URL','JEST','hubUrl','236BrauUL','ERR_SOCKS_CONNECTION_FAILED','ERR_CONNECTION_TIMED_OUT','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','https://hub.browserstack.com/wd/hub','11352mfijsR','APP_UPLOAD_URL','ERR_CONNECTION_REFUSED','22FLACxF','INFO','VERSION','1525820WnlmfH','unhandledPromptBehavior','PERCY_SUPPORTED_FRAMEWORKS','SHAREABLE_ID_REGEX','https://api-cloud.browserstack.com','BSTACK_DELTA','ERR_TIMED_OUT','edgeOptions','11636JTnduC','Run\x20playwright\x20tests\x20on\x20Browserstack','Run\x20nightwatch\x20tests\x20on\x20browserstack','NUDGE_LOCAL_ERRORS','HELP','ERR_CONNECTION_FAILED','automate','Run\x20mocha\x20tests\x20on\x20browserstack','acceptSslCerts','jest','ERR_SOCKET_NOT_CONNECTED','BROWSERSTACK_API_URL','.apk','.ipa','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','^[a-zA-Z0-9_.-]*$','shows\x20version\x20information','strictFileInteractability','APP_AUTOMATE','ERR_CONNECTION_ABORTED','pageLoadStrategy','MOCHA','PLAYWRIGHT','ROOT_CAPS','OBSERVABILITY_SUPPORTED_FWS','ERR_NETWORK_CHANGED','VALID_APP_EXTENSION','ERR_NAME_RESOLUTION_FAILED','17Nhhqmt','FRAMEWORKS'];a41_0x5141=function(){return _0x1dc7dc;};return a41_0x5141();}var a41_0x5364aa={};a41_0x5364aa[a41_0x4779d5(0x195)]=a41_0x4779d5(0x18f);var a41_0x36d7f4={};a41_0x36d7f4[a41_0x4779d5(0x1b5)]=a41_0x4779d5(0x1cd),a41_0x36d7f4[a41_0x4779d5(0x1b4)]=a41_0x4779d5(0x1d5),a41_0x36d7f4[a41_0x4779d5(0x1e1)]='jest';var a41_0x1d2e06={};a41_0x1d2e06[a41_0x4779d5(0x196)]=a41_0x5bc460,a41_0x1d2e06[a41_0x4779d5(0x1e1)]=a41_0x5a5839,a41_0x1d2e06[a41_0x4779d5(0x1b4)]=a41_0x327d5a,a41_0x1d2e06[a41_0x4779d5(0x1c7)]=a41_0x301c0d,a41_0x1d2e06['VANILLA']=a41_0x568989,a41_0x1d2e06['NIGHTWATCH']=a41_0x3c7799,a41_0x1d2e06[a41_0x4779d5(0x1b5)]=a41_0x4f32ca,a41_0x1d2e06[a41_0x4779d5(0x1c4)]=a41_0xebf03f,a41_0x1d2e06[a41_0x4779d5(0x1c8)]=a41_0x5364aa,a41_0x1d2e06[a41_0x4779d5(0x19c)]=0xf*0x3c*0x3e8,a41_0x1d2e06[a41_0x4779d5(0x1e2)]=a41_0x4779d5(0x190),a41_0x1d2e06['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a41_0x1d2e06[a41_0x4779d5(0x1b6)]=['acceptInsecureCerts',a41_0x4779d5(0x1b3),a41_0x4779d5(0x1b0),a41_0x4779d5(0x198),a41_0x4779d5(0x1c6),'browserName','browserVersion',a41_0x4779d5(0x1a7),a41_0x4779d5(0x1db),a41_0x4779d5(0x1d9),'firefoxOptions',a41_0x4779d5(0x19e),a41_0x4779d5(0x1bf)],a41_0x1d2e06['ROOT_REGEX']=/^[\w-]+:.*$/,a41_0x1d2e06[a41_0x4779d5(0x1cc)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a41_0x1d2e06[a41_0x4779d5(0x1aa)]=a41_0x4779d5(0x1d2),a41_0x1d2e06[a41_0x4779d5(0x192)]=a41_0x4779d5(0x19b),a41_0x1d2e06[a41_0x4779d5(0x1de)]=a41_0x4779d5(0x1c3),a41_0x1d2e06[a41_0x4779d5(0x1d3)]=[a41_0x4779d5(0x1a5),'observability'],a41_0x1d2e06[a41_0x4779d5(0x1ca)]=['app-automate','observability'],a41_0x1d2e06[a41_0x4779d5(0x1c1)]=[a41_0x4779d5(0x1be)],a41_0x1d2e06[a41_0x4779d5(0x1b7)]=['mocha',a41_0x4779d5(0x1cd)],a41_0x1d2e06['AUTOMATE']=[a41_0x4779d5(0x1a5)],a41_0x1d2e06[a41_0x4779d5(0x1b1)]=[a41_0x4779d5(0x1d4)],a41_0x1d2e06[a41_0x4779d5(0x1a2)]=['ERR_FAILED',a41_0x4779d5(0x19d),a41_0x4779d5(0x1c9),a41_0x4779d5(0x1b8),a41_0x4779d5(0x1a9),'ERR_CONNECTION_CLOSED',a41_0x4779d5(0x1d8),a41_0x4779d5(0x193),a41_0x4779d5(0x1b2),a41_0x4779d5(0x1a4),a41_0x4779d5(0x1d7),'ERR_ADDRESS_INVALID',a41_0x4779d5(0x1d1),a41_0x4779d5(0x1bd),a41_0x4779d5(0x18e),a41_0x4779d5(0x18d),a41_0x4779d5(0x1ad),a41_0x4779d5(0x1df),a41_0x4779d5(0x1d7),a41_0x4779d5(0x1ba),'ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a41_0x1d2e06[a41_0x4779d5(0x1b9)]=[a41_0x4779d5(0x1ab),'.aab',a41_0x4779d5(0x1ac)],a41_0x1d2e06[a41_0x4779d5(0x1dd)]=a41_0x4779d5(0x1ae),a41_0x1d2e06[a41_0x4779d5(0x19a)]=a41_0x4779d5(0x1d6),a41_0x1d2e06[a41_0x4779d5(0x1d0)]='./browserstack-artifacts/',a41_0x1d2e06[a41_0x4779d5(0x1e0)]='wss://cdp.browserstack.com/playwright?caps=',a41_0x1d2e06[a41_0x4779d5(0x1bc)]=a41_0x36d7f4,a41_0x1d2e06[a41_0x4779d5(0x199)]=[a41_0x4779d5(0x1a8),'mocha'],module[a41_0x4779d5(0x1c0)]=a41_0x1d2e06;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a42_0x5874(_0xfea85c,_0x79626c){const _0x3c7afc=a42_0x3c7a();return a42_0x5874=function(_0x58749b,_0xc21537){_0x58749b=_0x58749b-0xd1;let _0x357a9f=_0x3c7afc[_0x58749b];return _0x357a9f;},a42_0x5874(_0xfea85c,_0x79626c);}function a42_0x3c7a(){const _0x38b915=['level','10545IzkweI','9HOuicm','join','226531ZnTRcZ','data','type','log','404iorrsL','2705703xajVGQ','2QVKgvz','8kZZVZn','ChGRC','layout','675409lsJXcb','2648670JLbsvD','10327284ZjTODg','473088sDHHmw'];a42_0x3c7a=function(){return _0x38b915;};return a42_0x3c7a();}(function(_0x23554a,_0x5d9d5a){const _0x29f593=a42_0x5874,_0x1e7562=_0x23554a();while(!![]){try{const _0xb1628f=-parseInt(_0x29f593(0xd8))/0x1*(parseInt(_0x29f593(0xde))/0x2)+-parseInt(_0x29f593(0xdd))/0x3+-parseInt(_0x29f593(0xdc))/0x4*(-parseInt(_0x29f593(0xd5))/0x5)+parseInt(_0x29f593(0xd3))/0x6+parseInt(_0x29f593(0xe2))/0x7*(parseInt(_0x29f593(0xdf))/0x8)+-parseInt(_0x29f593(0xd6))/0x9*(-parseInt(_0x29f593(0xd1))/0xa)+parseInt(_0x29f593(0xd2))/0xb;if(_0xb1628f===_0x5d9d5a)break;else _0x1e7562['push'](_0x1e7562['shift']());}catch(_0x5e8cf9){_0x1e7562['push'](_0x1e7562['shift']());}}}(a42_0x3c7a,0x71307));const logReportingAPI=require('./logReportingAPI'),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x5c4c50,_0x25901c){return _0x2e3578=>{const _0x885263=a42_0x5874;BSTestOpsLogger[_0x885263(0xdb)]({'level':_0x2e3578[_0x885263(0xd4)]?_0x2e3578[_0x885263(0xd4)]['levelStr']:null,'message':_0x2e3578[_0x885263(0xd9)]?_0x2e3578[_0x885263(0xd9)][_0x885263(0xd7)]('\x20'):null});};}exports['configure']=(_0x520313,_0x497aad)=>{const _0x2841f8=a42_0x5874,_0x11a1e0={'ChGRC':function(_0x593fc8,_0x7d8691,_0x56ecd0){return _0x593fc8(_0x7d8691,_0x56ecd0);}};let _0xdff862=_0x497aad['colouredLayout'];return _0x520313[_0x2841f8(0xe1)]&&(_0xdff862=_0x497aad[_0x2841f8(0xe1)](_0x520313[_0x2841f8(0xe1)][_0x2841f8(0xda)],_0x520313['layout'])),_0x11a1e0[_0x2841f8(0xe0)](BSTestOpsLog4JSAppender,_0xdff862,_0x520313['timezoneOffset']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a43_0x3c664a=a43_0x5cd8;function a43_0x5cd8(_0x51691d,_0x166e22){const _0x2221f1=a43_0x2221();return a43_0x5cd8=function(_0x5cd883,_0x33cd0e){_0x5cd883=_0x5cd883-0x19e;let _0x2bd952=_0x2221f1[_0x5cd883];return _0x2bd952;},a43_0x5cd8(_0x51691d,_0x166e22);}(function(_0x355e80,_0x44b4d0){const _0x1434ba=a43_0x5cd8,_0x4ff55b=_0x355e80();while(!![]){try{const _0x4f79e8=parseInt(_0x1434ba(0x1ae))/0x1*(parseInt(_0x1434ba(0x19e))/0x2)+parseInt(_0x1434ba(0x1a7))/0x3+-parseInt(_0x1434ba(0x1ac))/0x4*(parseInt(_0x1434ba(0x1b2))/0x5)+parseInt(_0x1434ba(0x1a1))/0x6*(-parseInt(_0x1434ba(0x1a8))/0x7)+parseInt(_0x1434ba(0x1b7))/0x8+-parseInt(_0x1434ba(0x1b8))/0x9*(-parseInt(_0x1434ba(0x19f))/0xa)+-parseInt(_0x1434ba(0x1aa))/0xb*(parseInt(_0x1434ba(0x1b3))/0xc);if(_0x4f79e8===_0x44b4d0)break;else _0x4ff55b['push'](_0x4ff55b['shift']());}catch(_0x25bcfe){_0x4ff55b['push'](_0x4ff55b['shift']());}}}(a43_0x2221,0xbe307));const Transport=require(a43_0x3c664a(0x1a3)),{consoleHolder}=require(a43_0x3c664a(0x1a0)),a43_0x2d28d9={};a43_0x2d28d9[a43_0x3c664a(0x1b5)]=a43_0x3c664a(0x1b5),a43_0x2d28d9[a43_0x3c664a(0x1ba)]=a43_0x3c664a(0x1ba),a43_0x2d28d9['DEBUG']=a43_0x3c664a(0x1a6),a43_0x2d28d9[a43_0x3c664a(0x1b9)]='TRACE',a43_0x2d28d9[a43_0x3c664a(0x1a2)]=a43_0x3c664a(0x1a2);const LOG_LEVELS=a43_0x2d28d9;function a43_0x2221(){const _0x523440=['2kvNtoY','40QQXzUd','../../helpers/test-observability/constants','114RQWeqf','WARN','winston-transport','trace','toLowerCase','DEBUG','2829117orDqRp','377783BZRQTK','toUpperCase','1103025whXIzU','info','436jZulsO','warn','1196311BIMSDd','error','join','toISOString','46555jSxIbU','132DCHXin','log','INFO','logToTestOps','11046304pDhysj','904977NalGVn','TRACE','ERROR'];a43_0x2221=function(){return _0x523440;};return a43_0x2221();}class logPatcher extends Transport{constructor(_0x283f35){super(_0x283f35);}['logToTestOps']=(_0x17254b=LOG_LEVELS[a43_0x3c664a(0x1b5)],_0x5b8174=[''])=>{const _0x524e30=a43_0x3c664a,_0x544ae0={};_0x544ae0['yCWnf']='TEST_LOG';const _0x198cd4=_0x544ae0;consoleHolder[_0x17254b[_0x524e30(0x1a5)]()](..._0x5b8174),process['emit']('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x524e30(0x1b1)](),'level':_0x17254b[_0x524e30(0x1a9)](),'message':'\x22'+_0x5b8174[_0x524e30(0x1b0)](',\x20')+'\x22','kind':_0x198cd4['yCWnf'],'http_response':{}});};[a43_0x3c664a(0x1a4)]=(..._0x29aef4)=>{this['logToTestOps'](LOG_LEVELS['TRACE'],_0x29aef4);};['debug']=(..._0x224883)=>{const _0x34f0b3=a43_0x3c664a;this[_0x34f0b3(0x1b6)](LOG_LEVELS[_0x34f0b3(0x1a6)],_0x224883);};[a43_0x3c664a(0x1ab)]=(..._0x2c4c33)=>{const _0x292795=a43_0x3c664a;this[_0x292795(0x1b6)](LOG_LEVELS[_0x292795(0x1b5)],_0x2c4c33);};[a43_0x3c664a(0x1ad)]=(..._0x5053a7)=>{const _0x196f80=a43_0x3c664a;this[_0x196f80(0x1b6)](LOG_LEVELS[_0x196f80(0x1a2)],_0x5053a7);};[a43_0x3c664a(0x1af)]=(..._0x4c505f)=>{const _0x430314=a43_0x3c664a;this[_0x430314(0x1b6)](LOG_LEVELS[_0x430314(0x1ba)],_0x4c505f);};[a43_0x3c664a(0x1b4)]=(..._0x16c7f5)=>{const _0x31a619=a43_0x3c664a;this[_0x31a619(0x1b6)](LOG_LEVELS[_0x31a619(0x1b5)],_0x16c7f5);};};module['exports']=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a44_0x45b640=a44_0x504e;function a44_0x504e(_0x2b970d,_0x29dc16){const _0x57647a=a44_0x5764();return a44_0x504e=function(_0x504e1f,_0x495f4f){_0x504e1f=_0x504e1f-0x7c;let _0x485172=_0x57647a[_0x504e1f];return _0x485172;},a44_0x504e(_0x2b970d,_0x29dc16);}(function(_0x5785b8,_0x463d2f){const _0x1a518d=a44_0x504e,_0x573cdc=_0x5785b8();while(!![]){try{const _0x14147b=-parseInt(_0x1a518d(0x98))/0x1*(parseInt(_0x1a518d(0x92))/0x2)+parseInt(_0x1a518d(0xa9))/0x3+parseInt(_0x1a518d(0xab))/0x4+parseInt(_0x1a518d(0x8b))/0x5*(parseInt(_0x1a518d(0x9c))/0x6)+parseInt(_0x1a518d(0x80))/0x7+parseInt(_0x1a518d(0xa4))/0x8+-parseInt(_0x1a518d(0xa0))/0x9;if(_0x14147b===_0x463d2f)break;else _0x573cdc['push'](_0x573cdc['shift']());}catch(_0x44fed0){_0x573cdc['push'](_0x573cdc['shift']());}}}(a44_0x5764,0xb4871));const Transport=require('winston-transport'),{consoleHolder}=require(a44_0x45b640(0xa6)),a44_0x4ac8c9={};a44_0x4ac8c9[a44_0x45b640(0xad)]=a44_0x45b640(0xad),a44_0x4ac8c9['ERROR']='ERROR',a44_0x4ac8c9[a44_0x45b640(0x85)]=a44_0x45b640(0x85),a44_0x4ac8c9[a44_0x45b640(0x9f)]=a44_0x45b640(0x9f),a44_0x4ac8c9['WARN']=a44_0x45b640(0xa5);const LOG_LEVELS=a44_0x4ac8c9;class logReportingAPI extends Transport{constructor(_0x3d2de3){super(_0x3d2de3);}[a44_0x45b640(0x95)](_0x133151,_0x13627b){const _0x3311f9=a44_0x45b640,_0x2069ab={'rOviR':function(_0x3c0c77,_0x1fab1d){return _0x3c0c77===_0x1fab1d;},'KIEGc':_0x3311f9(0x83),'CtzeP':_0x3311f9(0xa1),'pIoBT':'logged','pRVYZ':function(_0x7abf21,_0x2cc5d8){return _0x7abf21(_0x2cc5d8);},'IKdji':function(_0x25449b,_0x548fcb){return _0x25449b===_0x548fcb;},'FfQQG':_0x3311f9(0x7d),'uFXAN':_0x3311f9(0x8f),'pPlpD':'YrKis','WOUZb':function(_0x2a57b7,_0x1c834e){return _0x2a57b7===_0x1c834e;},'HzMKz':_0x3311f9(0x7f),'lUlYt':'LqSUU','GFIef':function(_0x27a456,_0x1bf22e){return _0x27a456===_0x1bf22e;},'ZpUAX':_0x3311f9(0x9b),'vKTHT':function(_0x235227){return _0x235227();}};_0x2069ab[_0x3311f9(0x9d)](setImmediate,()=>{const _0x40bccd=_0x3311f9;_0x2069ab[_0x40bccd(0x7c)](_0x2069ab[_0x40bccd(0x8c)],_0x2069ab['CtzeP'])?this[_0x40bccd(0x91)](_0x2fb0b6[_0x40bccd(0x9f)],_0x34a89a):this['emit'](_0x2069ab['pIoBT'],_0x133151);}),_0x2069ab[_0x3311f9(0x93)](typeof _0x133151,_0x2069ab['FfQQG'])?_0x2069ab[_0x3311f9(0x93)](_0x2069ab[_0x3311f9(0x86)],_0x2069ab[_0x3311f9(0x90)])?this[_0x3311f9(0x91)](_0x140841[_0x3311f9(0x85)],_0x4e3821):this[_0x3311f9(0x91)](_0x133151[_0x3311f9(0xa3)]||LOG_LEVELS[_0x3311f9(0xad)],_0x133151[_0x3311f9(0xa8)],![]):_0x2069ab[_0x3311f9(0xaa)](_0x2069ab[_0x3311f9(0x99)],_0x2069ab[_0x3311f9(0xb1)])?this[_0x3311f9(0x91)](_0x58686c[_0x3311f9(0xa5)],_0x141d7b):this['logToTestOps'](LOG_LEVELS['INFO'],_0x133151),_0x13627b&&(_0x2069ab[_0x3311f9(0x84)](_0x2069ab['ZpUAX'],_0x2069ab[_0x3311f9(0xac)])?_0x2069ab['vKTHT'](_0x13627b):this[_0x3311f9(0x97)](_0x2069ab[_0x3311f9(0x89)],_0x5bd0f0));}['logToTestOps']=(_0x158bcc=LOG_LEVELS['INFO'],_0x536187='',_0x70aa21=!![])=>{const _0x272c6c=a44_0x45b640,_0x2e18ad={'jduFr':function(_0x439d13){return _0x439d13();},'SFiKw':function(_0x33b27e,_0x201c56){return _0x33b27e===_0x201c56;},'LqaWQ':_0x272c6c(0x7e),'NuBrJ':_0x272c6c(0x8a),'qsQMw':_0x272c6c(0x8d)};_0x70aa21&&(_0x2e18ad[_0x272c6c(0x8e)](_0x2e18ad[_0x272c6c(0x81)],_0x2e18ad[_0x272c6c(0xae)])?_0x2e18ad[_0x272c6c(0x94)](_0x52c76):consoleHolder[_0x158bcc[_0x272c6c(0xa7)]()](_0x536187)),process[_0x272c6c(0x97)](_0x272c6c(0xb2)+process['pid'],{'timestamp':new Date()[_0x272c6c(0xaf)](),'level':_0x158bcc[_0x272c6c(0xb0)](),'message':_0x536187,'kind':_0x2e18ad[_0x272c6c(0x82)],'http_response':{}});};[a44_0x45b640(0xa2)]=(_0x7ca38,_0x100990)=>{const _0x171caf=a44_0x45b640;this[_0x171caf(0x91)](LOG_LEVELS[_0x171caf(0x9f)],_0x7ca38);};[a44_0x45b640(0x96)]=(_0x594564,_0x24b4aa)=>{const _0x1ed8c5=a44_0x45b640;this[_0x1ed8c5(0x91)](LOG_LEVELS[_0x1ed8c5(0x85)],_0x594564);};['info']=(_0x1c4afe,_0x1f815a)=>{const _0x2f79e5=a44_0x45b640;this[_0x2f79e5(0x91)](LOG_LEVELS[_0x2f79e5(0xad)],_0x1c4afe);};[a44_0x45b640(0x88)]=(_0x4ee6a9,_0x25238e)=>{const _0x3ab86a=a44_0x45b640;this['logToTestOps'](LOG_LEVELS[_0x3ab86a(0xa5)],_0x4ee6a9);};[a44_0x45b640(0x9a)]=(_0x3afc59,_0x1cac69)=>{const _0x2cfe84=a44_0x45b640;this[_0x2cfe84(0x91)](LOG_LEVELS[_0x2cfe84(0x9e)],_0x3afc59);};};function a44_0x5764(){const _0x391d54=['level','1677976vEnfAM','WARN','../../helpers/test-observability/constants','toLowerCase','message','1842543golGBH','WOUZb','1616448AOvJvc','ZpUAX','INFO','NuBrJ','toISOString','toUpperCase','lUlYt','bs:addLog:','rOviR','object','PnhJC','CaKia','373849rzuyGL','LqaWQ','qsQMw','dbcby','GFIef','DEBUG','uFXAN','exports','warn','pIoBT','VQUHZ','2195uJvhni','KIEGc','TEST_LOG','SFiKw','vIvld','pPlpD','logToTestOps','2pPVdKC','IKdji','jduFr','log','debug','emit','491789ODjFcd','HzMKz','error','QppiK','9738FsRRMQ','pRVYZ','ERROR','TRACE','6864426ZRibqA','hiMEA','trace'];a44_0x5764=function(){return _0x391d54;};return a44_0x5764();}module[a44_0x45b640(0x87)]=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a45_0x40460e=a45_0x2242;(function(_0x4c417b,_0x3cf882){const _0x4bb68e=a45_0x2242,_0x47721a=_0x4c417b();while(!![]){try{const _0x510ee9=parseInt(_0x4bb68e(0x19f))/0x1+parseInt(_0x4bb68e(0x1b0))/0x2*(-parseInt(_0x4bb68e(0x1cf))/0x3)+-parseInt(_0x4bb68e(0x1d7))/0x4*(-parseInt(_0x4bb68e(0x194))/0x5)+-parseInt(_0x4bb68e(0x1d1))/0x6+parseInt(_0x4bb68e(0x18d))/0x7*(-parseInt(_0x4bb68e(0x1c5))/0x8)+parseInt(_0x4bb68e(0x1c0))/0x9+parseInt(_0x4bb68e(0x1a6))/0xa*(parseInt(_0x4bb68e(0x1d8))/0xb);if(_0x510ee9===_0x3cf882)break;else _0x47721a['push'](_0x47721a['shift']());}catch(_0xa01d79){_0x47721a['push'](_0x47721a['shift']());}}}(a45_0x3404,0x403f6));function a45_0x2242(_0x4c349f,_0x2bee8c){const _0x34040b=a45_0x3404();return a45_0x2242=function(_0x22423b,_0x4c3c6a){_0x22423b=_0x22423b-0x18d;let _0x49e6ae=_0x34040b[_0x22423b];return _0x49e6ae;},a45_0x2242(_0x4c349f,_0x2bee8c);}const fs=require('fs'),path=require('path'),logger=require(a45_0x40460e(0x1cb))[a45_0x40460e(0x18f)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a45_0x40460e(0x1a4)),constants=require(a45_0x40460e(0x1ba)),{parallelVanillaRun}=require(a45_0x40460e(0x1bb));async function run(_0x913837,_0x4d475c){const _0x235328=a45_0x40460e,_0x586114={'YqcGq':_0x235328(0x197),'iCyMW':function(_0x4d5d4e,_0x700561){return _0x4d5d4e(_0x700561);},'eInAX':_0x235328(0x196),'BIVTn':function(_0x178648,_0x5d7e91){return _0x178648===_0x5d7e91;},'xCyLw':_0x235328(0x1cd),'DISqt':function(_0x3da517,_0x286822){return _0x3da517!==_0x286822;},'GPeco':_0x235328(0x1a7),'AqFHG':_0x235328(0x1c8),'eliEL':'ZFGKr','rXjHN':_0x235328(0x1a9),'LCbGn':function(_0x5627b9,_0x1a128b){return _0x5627b9(_0x1a128b);},'IxGRJ':'File\x20path\x20is\x20required','mFSdL':'qTlwt','OMaWC':_0x235328(0x1a1),'yuneu':_0x235328(0x195),'YVBiE':function(_0x593a2c,_0x5f2832){return _0x593a2c>_0x5f2832;},'xvWNW':'Zxucs','MRaeF':'LheMa','eCsng':'lAZSV','hAncD':function(_0x24cec0,_0x2914ab){return _0x24cec0===_0x2914ab;},'tyFke':_0x235328(0x1d9),'qTbAr':function(_0x57886c,_0x92921f){return _0x57886c===_0x92921f;},'UfKSR':_0x235328(0x1c4),'sPvXa':_0x235328(0x1c6),'ZWQZJ':_0x235328(0x1a8),'XOJCJ':_0x235328(0x1c9),'cueba':function(_0x1d86b4,_0x41f19f){return _0x1d86b4*_0x41f19f;},'eGqWZ':function(_0x4099e2,_0x90d149,_0x19bc2){return _0x4099e2(_0x90d149,_0x19bc2);}},_0x254df0=new BrowserStackSetup(_0x913837,_0x586114['YqcGq']);await _0x254df0[_0x235328(0x1b5)](),await helper[_0x235328(0x19a)](_0x254df0[_0x235328(0x1bc)]);const _0x1f55cf=[];if(helper[_0x235328(0x19e)](_0x913837['_'][0x1])){if(_0x586114[_0x235328(0x1b3)](_0x586114[_0x235328(0x1af)],_0x586114['mFSdL']))throw _0x586114[_0x235328(0x191)](Error,_0x586114[_0x235328(0x1d4)]);else _0x506d46[_0x235328(0x1bd)](_0x42ba22[_0x235328(0x1c7)](_0x57bb46['config'],_0x586114[_0x235328(0x1d6)],_0x5091de));}const _0x4c302a=path[_0x235328(0x1d5)](process[_0x235328(0x1b4)](),_0x913837['_'][0x1]);if(!fs['existsSync'](_0x4c302a)){if(_0x586114[_0x235328(0x1b3)](_0x586114[_0x235328(0x1b6)],_0x586114[_0x235328(0x1b6)]))throw _0x586114[_0x235328(0x1a5)](Error,_0x235328(0x1a3)+_0x913837['_'][0x1]+_0x235328(0x1ab));else _0x4529ca=_0x2cc6ee[_0x235328(0x1c7)](_0x7c7bee[_0x235328(0x1bc)],_0x586114[_0x235328(0x1d6)],0x0);}if(!_0x254df0[_0x235328(0x1bc)]){if(_0x586114['BIVTn'](_0x586114[_0x235328(0x199)],_0x586114[_0x235328(0x199)]))throw _0x586114[_0x235328(0x1a5)](Error,_0x586114[_0x235328(0x1b9)]);else throw _0x586114[_0x235328(0x1a5)](_0x209ce6,_0x586114[_0x235328(0x1b9)]);}const _0xbe2625=helper['useW3C'](_0x254df0[_0x235328(0x1bc)]);if(_0x254df0[_0x235328(0x1bc)][_0x235328(0x1d3)]&&_0x586114[_0x235328(0x1be)](_0x254df0['config']['platforms']['length'],0x0)){if(_0x586114['DISqt'](_0x586114[_0x235328(0x198)],_0x586114[_0x235328(0x198)])){let _0x555804;_0x50f71a?_0x555804=_0x1220d5[_0x235328(0x1c1)](_0x4acbe2[_0x235328(0x1bc)],_0x586114[_0x235328(0x1d6)],0x0):_0x555804=_0x4444bb[_0x235328(0x1c7)](_0x5eea88[_0x235328(0x1bc)],_0x586114[_0x235328(0x1d6)],0x0);_0x265cd5={'server':_0x5e7dea['getHubUrl'](_0x4f55cd[_0x235328(0x1bc)]),'proxySettings':_0x585d4d[_0x235328(0x1bc)][_0x235328(0x1d0)]};const _0xa207d4={'capability':_0x555804,..._0x2056dc};_0xa207d4['file']=_0x40dbb5,_0xa207d4[_0x235328(0x1ad)]=_0x3d0b40;const _0x262639={};_0x262639[_0x235328(0x1c2)]=_0xa207d4,_0x457724=_0x262639,_0x541348[_0x235328(0x1bd)](_0x106c55);}else _0x254df0[_0x235328(0x1bc)][_0x235328(0x1d3)][_0x235328(0x1ce)]((_0x188c0f,_0x268125)=>{const _0x27abaf=_0x235328;_0x586114['BIVTn'](_0x586114[_0x27abaf(0x1bf)],_0x586114[_0x27abaf(0x1bf)])?_0xbe2625?_0x586114[_0x27abaf(0x1cc)](_0x586114[_0x27abaf(0x1a0)],_0x586114[_0x27abaf(0x1a0)])?_0x2cfe2b=_0xc0d9f[_0x27abaf(0x1c1)](_0x2aa8c4[_0x27abaf(0x1bc)],_0x586114[_0x27abaf(0x1d6)],0x0):_0x1f55cf[_0x27abaf(0x1bd)](helper[_0x27abaf(0x1c1)](_0x254df0['config'],_0x586114['YqcGq'],_0x268125)):_0x586114[_0x27abaf(0x1cc)](_0x586114['AqFHG'],_0x586114[_0x27abaf(0x1d2)])?_0x3c3305[_0x27abaf(0x1bd)](_0x350a51[_0x27abaf(0x1c1)](_0x1dfddd[_0x27abaf(0x1bc)],_0x586114[_0x27abaf(0x1d6)],_0x4adbf4)):_0x1f55cf[_0x27abaf(0x1bd)](helper[_0x27abaf(0x1c7)](_0x254df0[_0x27abaf(0x1bc)],_0x586114[_0x27abaf(0x1d6)],_0x268125)):_0x336d30?_0x627521[_0x27abaf(0x1bd)](_0x289723['modifyBrowserStackW3CCaps'](_0x268073[_0x27abaf(0x1bc)],_0x586114[_0x27abaf(0x1d6)],_0x5bdea5)):_0x3a0b3e[_0x27abaf(0x1bd)](_0x3ef160['modifyBrowserStackCaps'](_0x3154ff['config'],_0x586114[_0x27abaf(0x1d6)],_0x224b60));});}let _0x260f3a,_0x3dc2b1;const _0x539ba2=[];if(_0x586114[_0x235328(0x1be)](_0x1f55cf['length'],0x0)){if(_0x586114['BIVTn'](_0x586114[_0x235328(0x193)],_0x586114[_0x235328(0x1b7)]))throw _0x586114[_0x235328(0x1a5)](_0x2213a3,'File\x20'+_0x371ce2['_'][0x1]+_0x235328(0x1ab));else _0x1f55cf[_0x235328(0x1ce)]((_0x2ef51c,_0x4da3d6)=>{const _0x2aa451=_0x235328;if(_0x586114[_0x2aa451(0x1b3)](_0x586114[_0x2aa451(0x19c)],_0x586114[_0x2aa451(0x1ae)])){_0x36b071={'server':_0x100502[_0x2aa451(0x1db)](_0x4715fc[_0x2aa451(0x1bc)]),'proxySettings':_0x4ff6f7['config']['proxySettings'],'platform':_0x45459c[_0x2aa451(0x19d)](_0x10600c),'platformCaps':_0x1ef7be['config'][_0x2aa451(0x1d3)][_0x3aa9da]};const _0xbd5f17={'capability':_0x46d1e3,..._0x388f15};_0xbd5f17[_0x2aa451(0x1da)]=_0xd06258,_0xbd5f17[_0x2aa451(0x1ad)]=_0x5cf64b;const _0x309aa7={};_0x309aa7[_0x2aa451(0x1c2)]=_0xbd5f17,_0x555f89=_0x309aa7,_0x2f6c50[_0x2aa451(0x1bd)](_0x3d14af);}else{_0x260f3a={'server':helper[_0x2aa451(0x1db)](_0x254df0[_0x2aa451(0x1bc)]),'proxySettings':_0x254df0['config'][_0x2aa451(0x1d0)],'platform':helper[_0x2aa451(0x19d)](_0x2ef51c),'platformCaps':_0x254df0[_0x2aa451(0x1bc)][_0x2aa451(0x1d3)][_0x4da3d6]};const _0x94266f={'capability':_0x2ef51c,..._0x260f3a};_0x94266f[_0x2aa451(0x1da)]=_0x4c302a,_0x94266f[_0x2aa451(0x1ad)]=_0x4d475c;const _0x1c1cf9={};_0x1c1cf9[_0x2aa451(0x1c2)]=_0x94266f,_0x3dc2b1=_0x1c1cf9,_0x539ba2[_0x2aa451(0x1bd)](_0x3dc2b1);}});}else{if(_0x586114[_0x235328(0x1b1)](_0x586114['tyFke'],_0x586114[_0x235328(0x1b2)])){let _0x50d649;if(_0xbe2625)_0x586114['qTbAr'](_0x586114[_0x235328(0x190)],_0x586114[_0x235328(0x1c3)])?_0x484211['forEach']((_0x6edde2,_0x231bdf)=>{const _0x256266=_0x235328;_0x47cbf1={'server':_0x4b52fd[_0x256266(0x1db)](_0x267674[_0x256266(0x1bc)]),'proxySettings':_0x4d211f[_0x256266(0x1bc)][_0x256266(0x1d0)],'platform':_0x127a19[_0x256266(0x19d)](_0x6edde2),'platformCaps':_0x423d5f[_0x256266(0x1bc)][_0x256266(0x1d3)][_0x231bdf]};const _0x501a30={'capability':_0x6edde2,..._0x14bb18};_0x501a30[_0x256266(0x1da)]=_0x5aeeda,_0x501a30['args']=_0x3389e3;const _0x3e5c39={};_0x3e5c39[_0x256266(0x1c2)]=_0x501a30,_0x5c6d58=_0x3e5c39,_0x437e50[_0x256266(0x1bd)](_0x48c946);}):_0x50d649=helper[_0x235328(0x1c1)](_0x254df0[_0x235328(0x1bc)],_0x586114[_0x235328(0x1d6)],0x0);else{if(_0x586114[_0x235328(0x1cc)](_0x586114[_0x235328(0x1ac)],_0x586114[_0x235328(0x1a2)]))_0x50d649=helper[_0x235328(0x1c7)](_0x254df0[_0x235328(0x1bc)],_0x586114[_0x235328(0x1d6)],0x0);else throw _0x586114[_0x235328(0x191)](_0x3ee1de,_0x586114['IxGRJ']);}_0x260f3a={'server':helper['getHubUrl'](_0x254df0[_0x235328(0x1bc)]),'proxySettings':_0x254df0[_0x235328(0x1bc)][_0x235328(0x1d0)]};const _0x38d2e6={'capability':_0x50d649,..._0x260f3a};_0x38d2e6[_0x235328(0x1da)]=_0x4c302a,_0x38d2e6[_0x235328(0x1ad)]=_0x4d475c;const _0x3e63d2={};_0x3e63d2[_0x235328(0x1c2)]=_0x38d2e6,_0x3dc2b1=_0x3e63d2,_0x539ba2[_0x235328(0x1bd)](_0x3dc2b1);}else _0x1766e0[_0x235328(0x1bc)][_0x235328(0x1d3)][_0x235328(0x1ce)]((_0x16552d,_0x510e0e)=>{const _0x497f5c=_0x235328;_0xb12496?_0x34655c[_0x497f5c(0x1bd)](_0x4c84b2[_0x497f5c(0x1c1)](_0x4e77c7[_0x497f5c(0x1bc)],_0x586114['YqcGq'],_0x510e0e)):_0xd3c25b[_0x497f5c(0x1bd)](_0x1e9576[_0x497f5c(0x1c7)](_0x1044d2[_0x497f5c(0x1bc)],_0x586114['YqcGq'],_0x510e0e));});}const _0x62e658=_0x586114[_0x235328(0x1aa)](_0x254df0['config'][_0x235328(0x1d3)][_0x235328(0x1ca)]||0x1,_0x254df0['config']['parallelsPerPlatform']);helper[_0x235328(0x19b)](),_0x586114[_0x235328(0x1dc)](parallelVanillaRun,_0x539ba2,_0x62e658)[_0x235328(0x1b8)](_0x40f522=>{})[_0x235328(0x18e)](async()=>{await helper['finalExecution'](_0x254df0);});}function a45_0x3404(){const _0x245e95=['AqFHG','platforms','IxGRJ','join','YqcGq','2372YDwRit','3602775Stbwjc','zkibK','file','getHubUrl','eGqWZ','52563OxtFFb','finally','winstonLogger','UfKSR','LCbGn','exports','MRaeF','1920iLFZNZ','voJmZ','Config\x20yml\x20is\x20required','vanilla','xvWNW','yuneu','handleApp','markSDKSetupComplete','eliEL','getPlatformName','isUndefined','218109Uzeyyu','GPeco','MLaYJ','XOJCJ','File\x20','../../helpers/helper','iCyMW','10SvwnJX','bYbHG','VyIdV','LEjPn','cueba','\x20doesn\x27t\x20exist','ZWQZJ','args','rXjHN','mFSdL','2122mWrKhl','hAncD','tyFke','BIVTn','cwd','initialize','OMaWC','eCsng','then','eInAX','../utils/constants','../test-runner','config','push','YVBiE','xCyLw','1861029hmsbjp','modifyBrowserStackW3CCaps','configuration','sPvXa','vitvP','488WLAIFg','HDXwd','modifyBrowserStackCaps','XdcLf','CETVR','length','../../helpers/logger','DISqt','Fbokm','forEach','177OltIAR','proxySettings','1177926TOGszY'];a45_0x3404=function(){return _0x245e95;};return a45_0x3404();}module[a45_0x40460e(0x192)]=run;
|
|
2
|
+
'use strict';function a45_0x2d36(){const _0x49c7e4=['../test-runner','then','PVIdo','aBHCm','EETWQ','AowqX','HMYDn','vanilla','1481796ggLHui','markSDKSetupComplete','vlROv','file','SQGGk','ETyks','cwd','mLOZp','proxySettings','PSuWw','HThxC','../../helpers/logger','pdFad','useW3C','lYNfj','AXlds','wvRSy','XkvlK','MAnDa','SmiwI','42936KXeLeh','File\x20','initialize','7GpcKVw','NCCRT','xkOsn','OkGSH','path','finalExecution','EHVhQ','getPlatformName','qZcLV','jBIVw','exports','Nuxmx','getHubUrl','PkUuA','../../helpers/helper','length','modifyBrowserStackCaps','OdJMN','430182lsVRdj','knQHB','args','config','configuration','9030825gPgDIZ','isBOU','kWEsA','forEach','60yNlgod','GimcN','enkeQ','3855855mupMib','DwOdE','fQDdF','stPuv','oXMTh','\x20doesn\x27t\x20exist','modifyBrowserStackW3CCaps','push','zIeAl','SxZsL','ULMzu','finally','platforms','KJgqK','join','3335LTbDTy','8618100RVwXLc'];a45_0x2d36=function(){return _0x49c7e4;};return a45_0x2d36();}const a45_0x26cbba=a45_0x12f2;(function(_0x38bd1a,_0x57b8a4){const _0x277956=a45_0x12f2,_0x55e3c9=_0x38bd1a();while(!![]){try{const _0x1da779=parseInt(_0x277956(0x111))/0x1+parseInt(_0x277956(0x13a))/0x2+-parseInt(_0x277956(0xf8))/0x3+parseInt(_0x277956(0xf5))/0x4*(-parseInt(_0x277956(0x107))/0x5)+parseInt(_0x277956(0x108))/0x6*(parseInt(_0x277956(0x128))/0x7)+-parseInt(_0x277956(0x125))/0x8+-parseInt(_0x277956(0x13f))/0x9;if(_0x1da779===_0x57b8a4)break;else _0x55e3c9['push'](_0x55e3c9['shift']());}catch(_0x1c7aaf){_0x55e3c9['push'](_0x55e3c9['shift']());}}}(a45_0x2d36,0xca6e3));const fs=require('fs'),path=require(a45_0x26cbba(0x12c)),logger=require(a45_0x26cbba(0x11c))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a45_0x26cbba(0x136)),constants=require('../utils/constants'),{parallelVanillaRun}=require(a45_0x26cbba(0x109));function a45_0x12f2(_0x28d740,_0x3220f6){const _0x2d364c=a45_0x2d36();return a45_0x12f2=function(_0x12f217,_0x4bd6db){_0x12f217=_0x12f217-0xf3;let _0x4cdaeb=_0x2d364c[_0x12f217];return _0x4cdaeb;},a45_0x12f2(_0x28d740,_0x3220f6);}async function run(_0x4fc332,_0x10881b){const _0x1af212=a45_0x26cbba,_0xb817d9={'Nuxmx':function(_0xe9d49c,_0x20f376){return _0xe9d49c(_0x20f376);},'SmiwI':'Config\x20yml\x20is\x20required','aBHCm':function(_0x333de1,_0x663c29){return _0x333de1(_0x663c29);},'OdJMN':_0x1af212(0x110),'enkeQ':function(_0x167e0c,_0x4739f8){return _0x167e0c!==_0x4739f8;},'zIeAl':'dIRXx','oXMTh':function(_0x2bb45c,_0x13307b){return _0x2bb45c===_0x13307b;},'kWEsA':'htWfp','XkvlK':'rNpCt','AXycU':_0x1af212(0x13b),'HMYDn':function(_0x5dfc4f,_0x438d21){return _0x5dfc4f(_0x438d21);},'mLOZp':'File\x20path\x20is\x20required','SQGGk':function(_0x32213c,_0x4c6ecb){return _0x32213c===_0x4c6ecb;},'gcxds':'oPAmp','OkGSH':'iMcqc','MAnDa':'dhrLY','AowqX':function(_0x10a8ab,_0x547089){return _0x10a8ab(_0x547089);},'ETyks':function(_0x285197,_0x4e957d){return _0x285197===_0x4e957d;},'EHVhQ':_0x1af212(0x102),'AXlds':function(_0x53ba98,_0x5281d7){return _0x53ba98===_0x5281d7;},'PVIdo':_0x1af212(0x11a),'jBIVw':function(_0xaca1fd,_0x2ea865){return _0xaca1fd(_0x2ea865);},'SxZsL':function(_0x543a66,_0x41a263){return _0x543a66>_0x41a263;},'HThxC':_0x1af212(0x130),'fQDdF':_0x1af212(0x12a),'zZEMv':function(_0x5510b2,_0x29de22){return _0x5510b2===_0x29de22;},'vlROv':_0x1af212(0x11d),'PkUuA':_0x1af212(0x140),'EETWQ':_0x1af212(0xfb),'wvRSy':'zidSz','NCCRT':function(_0x428ea7,_0x2be9f1){return _0x428ea7===_0x2be9f1;},'aJMhC':_0x1af212(0x105),'HMzJr':_0x1af212(0xf9),'AMiiM':function(_0x35e605,_0x40b355){return _0x35e605*_0x40b355;},'TVnJo':function(_0x5c021a,_0x5247e6,_0x46feaa){return _0x5c021a(_0x5247e6,_0x46feaa);}},_0x590bf9=new BrowserStackSetup(_0x4fc332,_0xb817d9['OdJMN']);await _0x590bf9[_0x1af212(0x127)](),await helper['handleApp'](_0x590bf9[_0x1af212(0x13d)]);const _0x264e72=[];if(helper['isUndefined'](_0x4fc332['_'][0x1])){if(_0xb817d9[_0x1af212(0xf7)](_0xb817d9[_0x1af212(0x123)],_0xb817d9[_0x1af212(0x123)]))throw _0xb817d9[_0x1af212(0x133)](_0x6c7503,_0xb817d9[_0x1af212(0x124)]);else throw _0xb817d9[_0x1af212(0x10e)](Error,_0xb817d9[_0x1af212(0x118)]);}const _0x29d4a2=path[_0x1af212(0x106)](process[_0x1af212(0x117)](),_0x4fc332['_'][0x1]);if(!fs['existsSync'](_0x29d4a2)){if(_0xb817d9[_0x1af212(0x116)](_0xb817d9[_0x1af212(0x12e)],_0xb817d9[_0x1af212(0x12e)]))throw _0xb817d9[_0x1af212(0x10e)](Error,_0x1af212(0x126)+_0x4fc332['_'][0x1]+_0x1af212(0xfd));else throw _0xb817d9[_0x1af212(0x10c)](_0x29d526,'File\x20'+_0x41c90b['_'][0x1]+_0x1af212(0xfd));}if(!_0x590bf9[_0x1af212(0x13d)]){if(_0xb817d9[_0x1af212(0x120)](_0xb817d9['PVIdo'],_0xb817d9[_0x1af212(0x10b)]))throw _0xb817d9[_0x1af212(0x131)](Error,_0xb817d9[_0x1af212(0x124)]);else{let _0x370317;_0x39da27?_0x370317=_0x6e8510['modifyBrowserStackW3CCaps'](_0x34fc00['config'],_0xb817d9[_0x1af212(0x139)],0x0):_0x370317=_0x2a0a9a[_0x1af212(0x138)](_0x463aaa[_0x1af212(0x13d)],_0xb817d9[_0x1af212(0x139)],0x0);_0x2743b7={'server':_0x38b33f[_0x1af212(0x134)](_0x280e41[_0x1af212(0x13d)]),'proxySettings':_0x3fc0ef[_0x1af212(0x13d)][_0x1af212(0x119)]};const _0x32d8d6={'capability':_0x370317,..._0x61e9ef};_0x32d8d6[_0x1af212(0x114)]=_0x5414da,_0x32d8d6[_0x1af212(0x13c)]=_0x27e594;const _0xbb1108={};_0xbb1108[_0x1af212(0x13e)]=_0x32d8d6,_0x129837=_0xbb1108,_0x114507[_0x1af212(0xff)](_0x1e209c);}}const _0x7f3549=helper[_0x1af212(0x11e)](_0x590bf9[_0x1af212(0x13d)]);_0x590bf9['config']['platforms']&&_0xb817d9[_0x1af212(0x101)](_0x590bf9[_0x1af212(0x13d)][_0x1af212(0x104)]['length'],0x0)&&(_0xb817d9[_0x1af212(0xf7)](_0xb817d9[_0x1af212(0x11b)],_0xb817d9['HThxC'])?_0x52e280[_0x1af212(0xf4)]((_0x2f8543,_0x4aacba)=>{const _0x405dde=_0x1af212;_0xe0310f={'server':_0x3ee2fa['getHubUrl'](_0x1f9c15[_0x405dde(0x13d)]),'proxySettings':_0x408ab7['config'][_0x405dde(0x119)],'platform':_0x13bc93[_0x405dde(0x12f)](_0x2f8543),'platformCaps':_0x53421c['config'][_0x405dde(0x104)][_0x4aacba]};const _0x47c2d0={'capability':_0x2f8543,..._0x1f51aa};_0x47c2d0['file']=_0x494e0a,_0x47c2d0[_0x405dde(0x13c)]=_0x2c9c1b;const _0x412ad6={};_0x412ad6[_0x405dde(0x13e)]=_0x47c2d0,_0x13cfc4=_0x412ad6,_0x563666[_0x405dde(0xff)](_0x3f6c02);}):_0x590bf9[_0x1af212(0x13d)][_0x1af212(0x104)][_0x1af212(0xf4)]((_0x1bd50f,_0x3ff568)=>{const _0xbffa1c=_0x1af212,_0x4b85d3={};_0x4b85d3[_0xbffa1c(0xf6)]=_0xb817d9['OdJMN'];const _0x15d932=_0x4b85d3;if(_0xb817d9[_0xbffa1c(0xf7)](_0xb817d9['zIeAl'],_0xb817d9[_0xbffa1c(0x100)]))_0x1ecd70[_0xbffa1c(0xff)](_0x52c404[_0xbffa1c(0x138)](_0x376ba9['config'],_0x15d932[_0xbffa1c(0xf6)],_0x23af43));else{if(_0x7f3549){if(_0xb817d9[_0xbffa1c(0xfc)](_0xb817d9[_0xbffa1c(0xf3)],_0xb817d9[_0xbffa1c(0xf3)]))_0x264e72[_0xbffa1c(0xff)](helper[_0xbffa1c(0xfe)](_0x590bf9[_0xbffa1c(0x13d)],_0xb817d9[_0xbffa1c(0x139)],_0x3ff568));else{_0x1a6613={'server':_0x4f0d75[_0xbffa1c(0x134)](_0x2dea3e[_0xbffa1c(0x13d)]),'proxySettings':_0x165636[_0xbffa1c(0x13d)][_0xbffa1c(0x119)],'platform':_0x572bbf['getPlatformName'](_0x1f3e0d),'platformCaps':_0x3b88f2[_0xbffa1c(0x13d)][_0xbffa1c(0x104)][_0x29ae63]};const _0x5f4c42={'capability':_0x25ef23,..._0x1490e3};_0x5f4c42[_0xbffa1c(0x114)]=_0x24cdca,_0x5f4c42[_0xbffa1c(0x13c)]=_0x456841;const _0x3dc9be={};_0x3dc9be[_0xbffa1c(0x13e)]=_0x5f4c42,_0x58b8e3=_0x3dc9be,_0x556796['push'](_0x42ee9d);}}else _0xb817d9['enkeQ'](_0xb817d9[_0xbffa1c(0x122)],_0xb817d9['AXycU'])?_0x264e72['push'](helper[_0xbffa1c(0x138)](_0x590bf9[_0xbffa1c(0x13d)],_0xb817d9[_0xbffa1c(0x139)],_0x3ff568)):_0x22cf78[_0xbffa1c(0x13d)][_0xbffa1c(0x104)]['forEach']((_0x58b1b8,_0x229671)=>{const _0x5ce401=_0xbffa1c;_0x192bc9?_0x5e027a[_0x5ce401(0xff)](_0x3888b9[_0x5ce401(0xfe)](_0x4329d7[_0x5ce401(0x13d)],_0x15d932[_0x5ce401(0xf6)],_0x229671)):_0x2c4207[_0x5ce401(0xff)](_0x3e7237[_0x5ce401(0x138)](_0x22e9ae[_0x5ce401(0x13d)],_0x15d932[_0x5ce401(0xf6)],_0x229671));});}}));let _0x3bf678,_0x1ad16e;const _0x57e8d8=[];if(_0xb817d9['SxZsL'](_0x264e72[_0x1af212(0x137)],0x0))_0xb817d9[_0x1af212(0xf7)](_0xb817d9[_0x1af212(0xfa)],_0xb817d9[_0x1af212(0xfa)])?_0x2782da=_0x4bdc52[_0x1af212(0xfe)](_0x4e2e1f[_0x1af212(0x13d)],_0xb817d9[_0x1af212(0x139)],0x0):_0x264e72[_0x1af212(0xf4)]((_0x291bb7,_0x2e6964)=>{const _0x52b1d1=_0x1af212,_0x542c90={'cPgIk':function(_0x397e91,_0x5df77c){const _0x1632d9=a45_0x12f2;return _0xb817d9[_0x1632d9(0x10f)](_0x397e91,_0x5df77c);},'lYNfj':_0xb817d9[_0x52b1d1(0x118)]};if(_0xb817d9[_0x52b1d1(0x115)](_0xb817d9['gcxds'],_0xb817d9[_0x52b1d1(0x12b)]))throw _0x542c90['cPgIk'](_0x231b9d,_0x542c90[_0x52b1d1(0x11f)]);else{_0x3bf678={'server':helper[_0x52b1d1(0x134)](_0x590bf9['config']),'proxySettings':_0x590bf9['config'][_0x52b1d1(0x119)],'platform':helper[_0x52b1d1(0x12f)](_0x291bb7),'platformCaps':_0x590bf9[_0x52b1d1(0x13d)][_0x52b1d1(0x104)][_0x2e6964]};const _0x19e9f2={'capability':_0x291bb7,..._0x3bf678};_0x19e9f2[_0x52b1d1(0x114)]=_0x29d4a2,_0x19e9f2['args']=_0x10881b;const _0x3322e5={};_0x3322e5[_0x52b1d1(0x13e)]=_0x19e9f2,_0x1ad16e=_0x3322e5,_0x57e8d8[_0x52b1d1(0xff)](_0x1ad16e);}});else{if(_0xb817d9['zZEMv'](_0xb817d9[_0x1af212(0x113)],_0xb817d9[_0x1af212(0x135)]))_0x4c7c63?_0x37496d[_0x1af212(0xff)](_0x12b95b[_0x1af212(0xfe)](_0x294b06[_0x1af212(0x13d)],_0xb817d9[_0x1af212(0x139)],_0x44692b)):_0x638bc0['push'](_0x3cd7d5['modifyBrowserStackCaps'](_0x29daad[_0x1af212(0x13d)],_0xb817d9[_0x1af212(0x139)],_0x4ff077));else{let _0x3fd39c;_0x7f3549?_0xb817d9[_0x1af212(0x115)](_0xb817d9[_0x1af212(0x10d)],_0xb817d9[_0x1af212(0x121)])?_0x329cf7[_0x1af212(0xff)](_0x2f918b['modifyBrowserStackW3CCaps'](_0x2b0332[_0x1af212(0x13d)],_0xb817d9[_0x1af212(0x139)],_0x3b18ea)):_0x3fd39c=helper[_0x1af212(0xfe)](_0x590bf9['config'],_0xb817d9[_0x1af212(0x139)],0x0):_0xb817d9[_0x1af212(0x129)](_0xb817d9['aJMhC'],_0xb817d9['HMzJr'])?_0x196b1b=_0x46dadd[_0x1af212(0x138)](_0x2a30e0[_0x1af212(0x13d)],_0xb817d9['OdJMN'],0x0):_0x3fd39c=helper[_0x1af212(0x138)](_0x590bf9[_0x1af212(0x13d)],_0xb817d9['OdJMN'],0x0);_0x3bf678={'server':helper[_0x1af212(0x134)](_0x590bf9['config']),'proxySettings':_0x590bf9[_0x1af212(0x13d)]['proxySettings']};const _0x8698c9={'capability':_0x3fd39c,..._0x3bf678};_0x8698c9['file']=_0x29d4a2,_0x8698c9[_0x1af212(0x13c)]=_0x10881b;const _0x353f30={};_0x353f30[_0x1af212(0x13e)]=_0x8698c9,_0x1ad16e=_0x353f30,_0x57e8d8['push'](_0x1ad16e);}}const _0xbdd270=_0xb817d9['AMiiM'](_0x590bf9['config']['platforms'][_0x1af212(0x137)]||0x1,_0x590bf9[_0x1af212(0x13d)]['parallelsPerPlatform']);helper[_0x1af212(0x112)](),_0xb817d9['TVnJo'](parallelVanillaRun,_0x57e8d8,_0xbdd270)[_0x1af212(0x10a)](_0x350e07=>{})[_0x1af212(0x103)](async()=>{const _0x3ee543=_0x1af212;await helper[_0x3ee543(0x12d)](_0x590bf9);});}module[a45_0x26cbba(0x132)]=run;
|