browserstack-node-sdk 1.32.12 → 1.32.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/integrations/command.js +1 -1
  47. package/src/bin/integrations/constants.js +1 -1
  48. package/src/bin/jest/command.js +1 -1
  49. package/src/bin/jest/customImplements/customCircus.js +1 -1
  50. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  51. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  52. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  53. package/src/bin/jest/jest.setup.js +1 -1
  54. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  55. package/src/bin/jest/test-observability/helper.js +1 -1
  56. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  57. package/src/bin/jest/test-observability/test-details.js +1 -1
  58. package/src/bin/jest/test_before.setup.js +1 -1
  59. package/src/bin/launcher/launcher.js +1 -1
  60. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  61. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  62. package/src/bin/mocha/command.js +1 -1
  63. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  64. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  65. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  66. package/src/bin/mocha/test.setup.js +1 -1
  67. package/src/bin/nightwatch/command.js +1 -1
  68. package/src/bin/playwright/accessibility-helper.js +1 -1
  69. package/src/bin/playwright/command.js +1 -1
  70. package/src/bin/playwright/globalSetup.js +1 -1
  71. package/src/bin/playwright/mock-process.js +1 -1
  72. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  73. package/src/bin/playwright/patches.js +1 -0
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/w3cMapping.js +1 -1
  116. package/src/hubAllocationMethods.js +1 -1
  117. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x2644bb=a29_0x4363;(function(_0x18f0ab,_0x2e768a){const _0x55e056=a29_0x4363,_0xa1db5f=_0x18f0ab();while(!![]){try{const _0x41360c=parseInt(_0x55e056(0x21f))/0x1+-parseInt(_0x55e056(0x213))/0x2*(-parseInt(_0x55e056(0x207))/0x3)+parseInt(_0x55e056(0x22b))/0x4+-parseInt(_0x55e056(0x20f))/0x5*(parseInt(_0x55e056(0x1fe))/0x6)+parseInt(_0x55e056(0x20e))/0x7+-parseInt(_0x55e056(0x211))/0x8+-parseInt(_0x55e056(0x1e4))/0x9*(-parseInt(_0x55e056(0x221))/0xa);if(_0x41360c===_0x2e768a)break;else _0xa1db5f['push'](_0xa1db5f['shift']());}catch(_0x5ee063){_0xa1db5f['push'](_0xa1db5f['shift']());}}}(a29_0x3ed6,0x596b8));const {v4:uuidv4}=require(a29_0x2644bb(0x1fa)),{name,version}=require(a29_0x2644bb(0x1f2)),logPatcher=require(a29_0x2644bb(0x22e)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x2644bb(0x1e7)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x2644bb(0x21c)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require('../../../helpers/helper');function a29_0x3ed6(){const _0x48fdf3=['suites','push','../../utils/logReportingAPI','toISOString','getBrowserVersion','SBYan','ssdLz','rOObk','JnECP','sendPlatformDetails','dNEDE','_afterAll','RuPWC','../../../../package.json','indexOf','GUxLU','GRWvz','unknown_grid','getBrowserName','QJpRo','js-','uuid','KawEu','__cloud_provider___','pending','948HnXROc','YAofF','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','map_','BWKfu','rMhcN','RzWFz','automate','state','596850qYrNSG','getHooksForTest','split','xJSCV','IRivW','JOaAk','failed','74697jGCFWo','19260cQljHy','qqwnz','2503808PwDRFM','hook','2UDIwKm','getHookDetails','getSession','getHookSkippedTests','tRwjD','gitUa','kytnO','NeEIV','mapTestHooks','../../../helpers/test-observability/utils','getPlatform','_beforeEach','29550ilPeug','parent','28160WJLGEm','forEach','markedStatus','DFtBf','mqBoZ','hook:','Uaqhp','app-automate','concat','fromEntries','2662836CHIXUy','tests','passed','../../utils/logPatcher','toJSON','iycXP','reduce','hookAnalyticsId','mQnPB','emit','WqocI','getCapabilities','TEST_PLATFORM','_afterEach','eVjuF','AtuHW','KPeca','slice','1224zNczwW'];a29_0x3ed6=function(){return _0x48fdf3;};return a29_0x3ed6();}function a29_0x4363(_0xd4402e,_0x373d4f){const _0x3ed645=a29_0x3ed6();return a29_0x4363=function(_0x436367,_0x2f4592){_0x436367=_0x436367-0x1d9;let _0x543146=_0x3ed645[_0x436367];return _0x543146;},a29_0x4363(_0xd4402e,_0x373d4f);}console={},Object['keys'](consoleHolder)[a29_0x2644bb(0x222)](_0x3fb31d=>{console[_0x3fb31d]=(..._0x465642)=>{BSTestOpsPatcher[_0x3fb31d](..._0x465642);};}),exports['getTestEnv']=()=>{const _0x3ab3d1=a29_0x2644bb,_0x2ba435={'aqQeq':'generic','KawEu':function(_0x3f4f18){return _0x3f4f18();}};return{'ci':_0x2ba435['aqQeq'],'key':_0x2ba435[_0x3ab3d1(0x1fb)](uuidv4),'version':version,'collector':_0x3ab3d1(0x1f9)+name};},exports[a29_0x2644bb(0x214)]=_0x286bed=>{const _0x2a5cd5=a29_0x2644bb,_0x1b3121={};_0x1b3121[_0x2a5cd5(0x217)]=function(_0x443711,_0x37f57c){return _0x443711!==_0x37f57c;},_0x1b3121[_0x2a5cd5(0x1ec)]='string',_0x1b3121[_0x2a5cd5(0x20b)]=function(_0x1827dc,_0x231d33){return _0x1827dc!==_0x231d33;},_0x1b3121[_0x2a5cd5(0x1eb)]=_0x2a5cd5(0x226),_0x1b3121['SBYan']=function(_0x382b92,_0x4dcfbc){return _0x382b92!==_0x4dcfbc;},_0x1b3121[_0x2a5cd5(0x1dc)]=_0x2a5cd5(0x212);const _0x11ee25=_0x1b3121;if(!_0x286bed||_0x11ee25['tRwjD'](typeof _0x286bed,_0x11ee25[_0x2a5cd5(0x1ec)]))return[null,null];if(_0x11ee25['IRivW'](_0x286bed[_0x2a5cd5(0x1f3)](_0x11ee25[_0x2a5cd5(0x1eb)]),-0x1)){const _0x335ffd=_0x286bed['split'](_0x11ee25[_0x2a5cd5(0x1eb)]);return[_0x335ffd[0x0]['slice'](0x0,-0x1)[_0x2a5cd5(0x209)]('\x22')[0x1],_0x335ffd[0x1]['substring'](0x1)];}else{if(_0x11ee25[_0x2a5cd5(0x1ea)](_0x286bed['indexOf'](_0x11ee25[_0x2a5cd5(0x1dc)]),-0x1)){const _0x48c846=_0x286bed['split'](_0x11ee25[_0x2a5cd5(0x1dc)]);return[_0x48c846[0x0][_0x2a5cd5(0x1e3)](0x0,-0x1)[_0x2a5cd5(0x209)]('\x22')[0x1],_0x286bed];}}return[null,null];},exports['getHooksForTest']=_0x3efe92=>{const _0x46e048=a29_0x2644bb,_0x144494={'dNEDE':function(_0x3ea949,_0x3a3b8b){return _0x3ea949(_0x3a3b8b);},'xFWdN':'_beforeAll','xJSCV':_0x46e048(0x1f0),'gitUa':_0x46e048(0x21e),'BWKfu':_0x46e048(0x1df)};if(!_0x3efe92||!_0x3efe92[_0x46e048(0x220)])return[];const _0x43e9d1=[];return[_0x144494['xFWdN'],_0x144494[_0x46e048(0x20a)],_0x144494[_0x46e048(0x218)],_0x144494[_0x46e048(0x202)]]['forEach'](_0x4ae466=>{const _0x1c2d9d=_0x46e048,_0x588527=_0x3efe92['parent'][_0x4ae466]||[];_0x588527[_0x1c2d9d(0x222)](_0x1cc127=>{const _0x30e691=_0x1c2d9d;_0x1cc127['hookAnalyticsId']&&!_0x144494[_0x30e691(0x1ef)](isInternalHook,_0x1cc127['fn'])&&_0x43e9d1[_0x30e691(0x1e6)](_0x1cc127[_0x30e691(0x1d9)]);});}),[..._0x43e9d1,...exports[_0x46e048(0x208)](_0x3efe92[_0x46e048(0x220)])];},exports[a29_0x2644bb(0x21b)]=_0x1a9e90=>{const _0x3cc532=a29_0x2644bb,_0x2c8076={'WFoFD':function(_0x187a8b){return _0x187a8b();},'QJpRo':function(_0x256e4a,_0x3d99b6){return _0x256e4a===_0x3d99b6;},'KPeca':_0x3cc532(0x1df),'RuPWC':function(_0x4610fc){return _0x4610fc();},'DFtBf':'_beforeAll','JUcLb':_0x3cc532(0x1f0),'wtwBc':_0x3cc532(0x21e)};if(!_0x1a9e90||!_0x1a9e90['parent'])return;[_0x2c8076[_0x3cc532(0x224)],_0x2c8076['JUcLb'],_0x2c8076['wtwBc'],_0x2c8076[_0x3cc532(0x1e2)]][_0x3cc532(0x222)](_0x19bcb5=>{const _0x1a91b1=_0x3cc532,_0xda9328={'rMhcN':function(_0x154118){return _0x2c8076['WFoFD'](_0x154118);},'GUxLU':function(_0x9e1872,_0x529e3e){const _0x2257e1=a29_0x4363;return _0x2c8076[_0x2257e1(0x1f8)](_0x9e1872,_0x529e3e);},'NeEIV':_0x2c8076['KPeca'],'AtuHW':function(_0x33b842){const _0x3c2440=a29_0x4363;return _0x2c8076[_0x3c2440(0x1f1)](_0x33b842);}},_0x656926=_0x1a9e90[_0x1a91b1(0x220)][_0x19bcb5]||[];_0x656926[_0x1a91b1(0x222)](_0x231f61=>{const _0x47d9af=_0x1a91b1;if(!_0x231f61[_0x47d9af(0x1d9)])_0x231f61['hookAnalyticsId']=_0xda9328[_0x47d9af(0x203)](uuidv4);else _0x231f61[_0x47d9af(0x223)]&&_0xda9328[_0x47d9af(0x1f4)](_0x19bcb5,_0xda9328[_0x47d9af(0x21a)])&&(_0x231f61[_0x47d9af(0x1d9)]=_0xda9328[_0x47d9af(0x1e1)](uuidv4),delete _0x231f61[_0x47d9af(0x223)]);});}),exports[_0x3cc532(0x21b)](_0x1a9e90['parent']);},exports[a29_0x2644bb(0x1ee)]=async(_0x5df2bf,_0x181d5b)=>{const _0x2b015f=a29_0x2644bb,_0x278021={'kytnO':function(_0x26c990){return _0x26c990();},'GRWvz':function(_0x58526c,_0x9b7f5){return _0x58526c===_0x9b7f5;},'YkGEP':'browserstack','qqwnz':'appium:app','cKbIu':'app','AUZaj':_0x2b015f(0x228),'YAofF':_0x2b015f(0x205),'RzWFz':function(_0x516767,_0x506cc2){return _0x516767(_0x506cc2);},'JnECP':function(_0xb07d95,_0x3ec1e0){return _0xb07d95===_0x3ec1e0;},'Uaqhp':_0x2b015f(0x1f6),'RdrJn':_0x2b015f(0x1de),'JOaAk':function(_0x42fe95,_0x26ba17){return _0x42fe95(_0x26ba17);}};try{if(!_0x278021[_0x2b015f(0x219)](isTestObservabilitySession))return;const _0x3496ff=await _0x5df2bf['getCapabilities'](),_0xfd394d=await _0x5df2bf[_0x2b015f(0x215)](),_0x278b07={},_0x38649b=Object[_0x2b015f(0x22a)](_0xfd394d[_0x2b015f(0x1dd)]()[_0x2b015f(0x201)]),_0x11a340={'product':_0x278021[_0x2b015f(0x1f5)](global[_0x2b015f(0x1fc)],_0x278021['YkGEP'])?_0x38649b[_0x278021[_0x2b015f(0x210)]]||_0x38649b[_0x278021['cKbIu']]?_0x278021['AUZaj']:_0x278021[_0x2b015f(0x1ff)]:null,'capabilities':_0x38649b,'platform':_0x3496ff[_0x2b015f(0x21d)](),'platform_version':_0x278021[_0x2b015f(0x204)](getPlatformVersion,_0x278021[_0x2b015f(0x1ed)](global[_0x2b015f(0x1fc)],_0x278021['YkGEP'])),'browser':_0x3496ff[_0x2b015f(0x1f7)](),'browser_version':_0x3496ff[_0x2b015f(0x1e9)](),'session_id':_0xfd394d[_0x2b015f(0x22f)]()};global['__cloud_provider___']?_0x278b07[global[_0x2b015f(0x1fc)]]=_0x11a340:_0x278b07[_0x278021[_0x2b015f(0x227)]]=_0x11a340,process[_0x2b015f(0x1db)]('bs:addPlatformDetails:'+process['pid'],{'timestamp':new Date()[_0x2b015f(0x1e8)](),'level':null,'message':null,'kind':_0x278021['RdrJn'],'http_response':_0x278b07,'uuid':_0x181d5b});}catch(_0x2af9fa){_0x278021[_0x2b015f(0x20c)](debug,_0x2b015f(0x200)+_0x2af9fa);}},exports[a29_0x2644bb(0x216)]=_0x375521=>{const _0x21dfaf=a29_0x2644bb,_0x2049ea={};_0x2049ea[_0x21dfaf(0x1da)]=function(_0x10a389,_0x47ae3e){return _0x10a389!==_0x47ae3e;},_0x2049ea[_0x21dfaf(0x225)]='hook',_0x2049ea['wzmyq']=_0x21dfaf(0x22d),_0x2049ea[_0x21dfaf(0x230)]=function(_0x3e91cb,_0x888e68){return _0x3e91cb!==_0x888e68;},_0x2049ea[_0x21dfaf(0x1e0)]=_0x21dfaf(0x20d);const _0x1ca534=_0x2049ea,_0x2a6b8d=_0x375521[_0x21dfaf(0x1e5)][_0x21dfaf(0x231)]((_0x35b6bf,_0xa5633b)=>{const _0x32cb1c=_0x21dfaf,_0x1b3ef5=exports[_0x32cb1c(0x216)](_0xa5633b);return _0x1b3ef5&&(_0x35b6bf=_0x35b6bf[_0x32cb1c(0x229)](_0x1b3ef5)),_0x35b6bf;},[]),_0x341cb2=_0x375521[_0x21dfaf(0x22c)]['filter'](_0xd59d6d=>{const _0x470216=_0x21dfaf,_0x4c3bb6=_0x1ca534[_0x470216(0x1da)](_0xd59d6d['type'],_0x1ca534[_0x470216(0x225)])&&!_0xd59d6d[_0x470216(0x223)]&&_0x1ca534['mQnPB'](_0xd59d6d[_0x470216(0x206)],_0x1ca534['wzmyq'])&&_0x1ca534[_0x470216(0x230)](_0xd59d6d['state'],_0x1ca534[_0x470216(0x1e0)])&&!_0xd59d6d[_0x470216(0x1fd)];return _0x4c3bb6;});return _0x341cb2['concat'](_0x2a6b8d);};
1
+ const a29_0x2fef54=a29_0x5e41;(function(_0x2bb88f,_0x8562b3){const _0x8bd323=a29_0x5e41,_0x24e087=_0x2bb88f();while(!![]){try{const _0x2a7c24=parseInt(_0x8bd323(0x155))/0x1*(-parseInt(_0x8bd323(0x198))/0x2)+parseInt(_0x8bd323(0x1a2))/0x3+-parseInt(_0x8bd323(0x173))/0x4*(parseInt(_0x8bd323(0x16e))/0x5)+parseInt(_0x8bd323(0x160))/0x6*(-parseInt(_0x8bd323(0x1a9))/0x7)+-parseInt(_0x8bd323(0x19a))/0x8*(parseInt(_0x8bd323(0x190))/0x9)+-parseInt(_0x8bd323(0x1aa))/0xa*(parseInt(_0x8bd323(0x19c))/0xb)+-parseInt(_0x8bd323(0x196))/0xc*(-parseInt(_0x8bd323(0x18a))/0xd);if(_0x2a7c24===_0x8562b3)break;else _0x24e087['push'](_0x24e087['shift']());}catch(_0x470564){_0x24e087['push'](_0x24e087['shift']());}}}(a29_0x24ce,0x4c75d));function a29_0x5e41(_0x15b91e,_0x5ab59d){const _0x24ce8=a29_0x24ce();return a29_0x5e41=function(_0x5e41e3,_0x436266){_0x5e41e3=_0x5e41e3-0x153;let _0x4ee20f=_0x24ce8[_0x5e41e3];return _0x4ee20f;},a29_0x5e41(_0x15b91e,_0x5ab59d);}const {v4:uuidv4}=require('uuid'),{name,version}=require(a29_0x2fef54(0x159)),logPatcher=require(a29_0x2fef54(0x195)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require('../../utils/logReportingAPI'),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x2fef54(0x17f)),{consoleHolder}=require(a29_0x2fef54(0x1a5)),{getPlatformVersion}=require('../../../helpers/helper');console={},Object[a29_0x2fef54(0x178)](consoleHolder)[a29_0x2fef54(0x188)](_0x5183f4=>{console[_0x5183f4]=(..._0xe6664e)=>{BSTestOpsPatcher[_0x5183f4](..._0xe6664e);};}),exports['getTestEnv']=()=>{const _0x2afcad={'pzQAC':'generic','DwPeR':function(_0x9d42){return _0x9d42();}};return{'ci':_0x2afcad['pzQAC'],'key':_0x2afcad['DwPeR'](uuidv4),'version':version,'collector':'js-'+name};},exports[a29_0x2fef54(0x18d)]=_0x303a87=>{const _0x3cc21e=a29_0x2fef54,_0x4330bb={};_0x4330bb[_0x3cc21e(0x167)]=function(_0x50e835,_0x3e80c8){return _0x50e835!==_0x3e80c8;},_0x4330bb['xYsEP']=_0x3cc21e(0x165),_0x4330bb[_0x3cc21e(0x154)]='hook:',_0x4330bb['qxAaz']=_0x3cc21e(0x1b0);const _0x4533b8=_0x4330bb;if(!_0x303a87||_0x4533b8[_0x3cc21e(0x167)](typeof _0x303a87,_0x4533b8[_0x3cc21e(0x19b)]))return[null,null];if(_0x4533b8['UrryE'](_0x303a87['indexOf'](_0x4533b8[_0x3cc21e(0x154)]),-0x1)){const _0x3ee176=_0x303a87[_0x3cc21e(0x18b)](_0x4533b8[_0x3cc21e(0x154)]);return[_0x3ee176[0x0][_0x3cc21e(0x1ae)](0x0,-0x1)['split']('\x22')[0x1],_0x3ee176[0x1]['substring'](0x1)];}else{if(_0x4533b8[_0x3cc21e(0x167)](_0x303a87[_0x3cc21e(0x1ab)](_0x4533b8[_0x3cc21e(0x192)]),-0x1)){const _0x460651=_0x303a87[_0x3cc21e(0x18b)](_0x4533b8[_0x3cc21e(0x192)]);return[_0x460651[0x0][_0x3cc21e(0x1ae)](0x0,-0x1)['split']('\x22')[0x1],_0x303a87];}}return[null,null];},exports['getHooksForTest']=_0x21a4bd=>{const _0x3eb063=a29_0x2fef54,_0x59508e={'FoqTb':function(_0x3cb7da,_0xe381f4){return _0x3cb7da(_0xe381f4);},'UJAFz':_0x3eb063(0x170),'iqtZs':_0x3eb063(0x164),'lIdrR':_0x3eb063(0x1ac),'VUCkq':'_afterEach'};if(!_0x21a4bd||!_0x21a4bd[_0x3eb063(0x187)])return[];const _0x269f7e=[];return[_0x59508e[_0x3eb063(0x17c)],_0x59508e[_0x3eb063(0x197)],_0x59508e[_0x3eb063(0x194)],_0x59508e[_0x3eb063(0x153)]][_0x3eb063(0x188)](_0xf56328=>{const _0x4491d2={'RfVQx':function(_0x229a5a,_0xce3c18){return _0x59508e['FoqTb'](_0x229a5a,_0xce3c18);}},_0x355dc1=_0x21a4bd['parent'][_0xf56328]||[];_0x355dc1['forEach'](_0x308921=>{const _0x1e658d=a29_0x5e41;_0x308921['hookAnalyticsId']&&!_0x4491d2[_0x1e658d(0x162)](isInternalHook,_0x308921['fn'])&&_0x269f7e[_0x1e658d(0x169)](_0x308921[_0x1e658d(0x183)]);});}),[..._0x269f7e,...exports[_0x3eb063(0x158)](_0x21a4bd[_0x3eb063(0x187)])];},exports[a29_0x2fef54(0x180)]=_0x1e10b2=>{const _0xb3465e=a29_0x2fef54,_0x18f56b={'RfVxl':function(_0x5a5df0){return _0x5a5df0();},'lfbdY':function(_0x561b6e,_0xf54537){return _0x561b6e===_0xf54537;},'XokDu':_0xb3465e(0x176),'alBCF':'_beforeAll','XrbQi':_0xb3465e(0x164),'xkvPN':_0xb3465e(0x1ac)};if(!_0x1e10b2||!_0x1e10b2[_0xb3465e(0x187)])return;[_0x18f56b['alBCF'],_0x18f56b[_0xb3465e(0x17b)],_0x18f56b[_0xb3465e(0x1a4)],_0x18f56b['XokDu']][_0xb3465e(0x188)](_0x35c6bd=>{const _0x22c9cf=_0xb3465e,_0x456f04=_0x1e10b2['parent'][_0x35c6bd]||[];_0x456f04[_0x22c9cf(0x188)](_0x399004=>{const _0x2d4d94=_0x22c9cf;if(!_0x399004[_0x2d4d94(0x183)])_0x399004[_0x2d4d94(0x183)]=_0x18f56b[_0x2d4d94(0x18c)](uuidv4);else _0x399004[_0x2d4d94(0x199)]&&_0x18f56b[_0x2d4d94(0x16f)](_0x35c6bd,_0x18f56b[_0x2d4d94(0x15b)])&&(_0x399004[_0x2d4d94(0x183)]=_0x18f56b[_0x2d4d94(0x18c)](uuidv4),delete _0x399004[_0x2d4d94(0x199)]);});}),exports[_0xb3465e(0x180)](_0x1e10b2[_0xb3465e(0x187)]);},exports[a29_0x2fef54(0x15f)]=async(_0x210e89,_0x7422eb)=>{const _0x1ff19e=a29_0x2fef54,_0x1d037a={'pUxWw':function(_0x2de337){return _0x2de337();},'IEsVH':function(_0xda12ea,_0x19936c){return _0xda12ea===_0x19936c;},'zVjfL':_0x1ff19e(0x171),'qvhrF':_0x1ff19e(0x18e),'QeHwP':'app','rBUPE':_0x1ff19e(0x157),'bPKnq':'automate','HnOVa':function(_0x196e61,_0x259625){return _0x196e61(_0x259625);},'zXoEG':_0x1ff19e(0x17d),'rvFrG':_0x1ff19e(0x15c)};try{if(!_0x1d037a[_0x1ff19e(0x177)](isTestObservabilitySession))return;const _0x57bde4=await _0x210e89[_0x1ff19e(0x1a8)](),_0xf3d85d=await _0x210e89[_0x1ff19e(0x166)](),_0x16e8a9={},_0x1656bb=Object[_0x1ff19e(0x19f)](_0xf3d85d[_0x1ff19e(0x1a8)]()[_0x1ff19e(0x172)]),_0xfdccdb={'product':_0x1d037a['IEsVH'](global[_0x1ff19e(0x1a6)],_0x1d037a[_0x1ff19e(0x1ad)])?_0x1656bb[_0x1d037a[_0x1ff19e(0x181)]]||_0x1656bb[_0x1d037a[_0x1ff19e(0x17e)]]?_0x1d037a[_0x1ff19e(0x168)]:_0x1d037a[_0x1ff19e(0x182)]:null,'capabilities':_0x1656bb,'platform':_0x57bde4['getPlatform'](),'platform_version':_0x1d037a[_0x1ff19e(0x16d)](getPlatformVersion,_0x1d037a[_0x1ff19e(0x179)](global['__cloud_provider___'],_0x1d037a[_0x1ff19e(0x1ad)])),'browser':_0x57bde4[_0x1ff19e(0x184)](),'browser_version':_0x57bde4[_0x1ff19e(0x156)](),'session_id':_0xf3d85d[_0x1ff19e(0x16b)]()};global[_0x1ff19e(0x1a6)]?_0x16e8a9[global[_0x1ff19e(0x1a6)]]=_0xfdccdb:_0x16e8a9[_0x1d037a[_0x1ff19e(0x1a3)]]=_0xfdccdb,process[_0x1ff19e(0x191)](_0x1ff19e(0x17a)+process[_0x1ff19e(0x16c)],{'timestamp':new Date()[_0x1ff19e(0x163)](),'level':null,'message':null,'kind':_0x1d037a[_0x1ff19e(0x19d)],'http_response':_0x16e8a9,'uuid':_0x7422eb});}catch(_0x453b0d){_0x1d037a['HnOVa'](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x453b0d);}},exports[a29_0x2fef54(0x1a0)]=_0x2bc49e=>{const _0x1ea3ef=a29_0x2fef54,_0x56e52f={};_0x56e52f[_0x1ea3ef(0x185)]=function(_0x4b3bc0,_0x35dee9){return _0x4b3bc0!==_0x35dee9;},_0x56e52f[_0x1ea3ef(0x15e)]='hook',_0x56e52f[_0x1ea3ef(0x1a7)]=function(_0x426768,_0x54aaf5){return _0x426768!==_0x54aaf5;},_0x56e52f[_0x1ea3ef(0x174)]=_0x1ea3ef(0x186),_0x56e52f[_0x1ea3ef(0x16a)]=function(_0x130bf9,_0x391e6d){return _0x130bf9!==_0x391e6d;},_0x56e52f[_0x1ea3ef(0x15a)]=_0x1ea3ef(0x1a1);const _0x5da904=_0x56e52f,_0x418236=_0x2bc49e[_0x1ea3ef(0x19e)][_0x1ea3ef(0x1af)]((_0x17ac94,_0x351530)=>{const _0x18235a=_0x1ea3ef,_0xf1be77=exports[_0x18235a(0x1a0)](_0x351530);return _0xf1be77&&(_0x17ac94=_0x17ac94[_0x18235a(0x18f)](_0xf1be77)),_0x17ac94;},[]),_0x3b216d=_0x2bc49e[_0x1ea3ef(0x193)][_0x1ea3ef(0x189)](_0x3271f8=>{const _0x53a82e=_0x1ea3ef,_0x598f51=_0x5da904[_0x53a82e(0x185)](_0x3271f8[_0x53a82e(0x15d)],_0x5da904[_0x53a82e(0x15e)])&&!_0x3271f8[_0x53a82e(0x199)]&&_0x5da904['IAeWP'](_0x3271f8[_0x53a82e(0x175)],_0x5da904[_0x53a82e(0x174)])&&_0x5da904[_0x53a82e(0x16a)](_0x3271f8[_0x53a82e(0x175)],_0x5da904['vYPZe'])&&!_0x3271f8[_0x53a82e(0x161)];return _0x598f51;});return _0x3b216d['concat'](_0x418236);};function a29_0x24ce(){const _0x1af80f=['getHookSkippedTests','failed','1125051tSFkhg','zXoEG','xkvPN','../../../helpers/test-observability/constants','__cloud_provider___','IAeWP','getCapabilities','3775051sDmgVG','1699910bjcTIt','indexOf','_beforeEach','zVjfL','slice','reduce','hook','VUCkq','USawt','10861XGFMhe','getBrowserVersion','app-automate','getHooksForTest','../../../../package.json','vYPZe','XokDu','TEST_PLATFORM','type','UiNPs','sendPlatformDetails','6KVgwBN','pending','RfVQx','toISOString','_afterAll','string','getSession','UrryE','rBUPE','push','pEOlT','toJSON','pid','HnOVa','5KOiMAl','lfbdY','_beforeAll','browserstack','map_','1322656FFqnHW','aroJZ','state','_afterEach','pUxWw','keys','IEsVH','bs:addPlatformDetails:','XrbQi','UJAFz','unknown_grid','QeHwP','../../../helpers/test-observability/utils','mapTestHooks','qvhrF','bPKnq','hookAnalyticsId','getBrowserName','VSbwg','passed','parent','forEach','filter','130MvHdHx','split','RfVxl','getHookDetails','appium:app','concat','2439qTFYbh','emit','qxAaz','tests','lIdrR','../../utils/logPatcher','2046180zfjRii','iqtZs','98HKlpGi','markedStatus','5752uZIMjB','xYsEP','11dvvaAs','rvFrG','suites','fromEntries'];a29_0x24ce=function(){return _0x1af80f;};return a29_0x24ce();}
@@ -1 +1 @@
1
- const a30_0x4c8c7a=a30_0x5a03;(function(_0x209321,_0x3ef48e){const _0x178bf7=a30_0x5a03,_0x5d0541=_0x209321();while(!![]){try{const _0x149e4b=parseInt(_0x178bf7(0x109))/0x1*(parseInt(_0x178bf7(0x154))/0x2)+-parseInt(_0x178bf7(0xf4))/0x3*(parseInt(_0x178bf7(0x11c))/0x4)+-parseInt(_0x178bf7(0x11e))/0x5+-parseInt(_0x178bf7(0x144))/0x6+-parseInt(_0x178bf7(0xe8))/0x7*(parseInt(_0x178bf7(0x134))/0x8)+parseInt(_0x178bf7(0x100))/0x9*(parseInt(_0x178bf7(0x131))/0xa)+-parseInt(_0x178bf7(0x114))/0xb*(-parseInt(_0x178bf7(0x108))/0xc);if(_0x149e4b===_0x3ef48e)break;else _0x5d0541['push'](_0x5d0541['shift']());}catch(_0x9cf18e){_0x5d0541['push'](_0x5d0541['shift']());}}}(a30_0x213c,0x8f4ca));function a30_0x5a03(_0x2167d9,_0x5aeb37){const _0x213c66=a30_0x213c();return a30_0x5a03=function(_0x5a03f4,_0x1bbe33){_0x5a03f4=_0x5a03f4-0xe5;let _0x3061bb=_0x213c66[_0x5a03f4];return _0x3061bb;},a30_0x5a03(_0x2167d9,_0x5aeb37);}const util=require(a30_0x4c8c7a(0x13b)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x4c8c7a(0x160)),{percyAutoCapture}=require(a30_0x4c8c7a(0xeb)),{sendPlatformDetails}=require(a30_0x4c8c7a(0x112)),{isBrowserstackInfra,markSessionStatus}=require(a30_0x4c8c7a(0xf9)),{isTestObservabilitySession}=require(a30_0x4c8c7a(0xea)),PerformanceTester=require(a30_0x4c8c7a(0x101)),scripts=require(a30_0x4c8c7a(0x12a)),globals=require('../../helpers/globals'),logger=require(a30_0x4c8c7a(0x12e))[a30_0x4c8c7a(0x14b)];function a30_0x213c(){const _0x12fe10=['../../helpers/logger','quitCount_','http:','10CLqzzZ','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','7941104UVzqmw','__error_messages__','Failed\x20to\x20store\x20session\x20name:\x20','Hhdeq','THCYZ','abfmw','LxSIm','util','ZvgBR','HTZFz','push','startMonitoring','now','debug','ViZgV','passed','3178158LQqaTa','Automate\x20test\x20case\x20execution\x20has\x20started.','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','SXLzT','getCurrentUrl','KzuCt','percyCaptureMode','winstonLogger','isArray','MfWQn','WuIDB',',\x22level\x22:\x20\x22','OtwNQ','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','JKdoi','shouldScanTestForAccessibility','922ZfGMeV','protocol','yTWfY','sessionNameSet__','vZaUM','session_','\x20-\x20','Passed','ObservabilitySync:','KsXOp','join','isAccessibilityPlatform','../../helpers/accessibility-automation/helper','capabilities','.\x20Error\x20:','BS_A11Y_TEST_RUN_ID','file','uIEZe','testAnalyticsId','7BOWRIA','vTyMi','../../helpers/test-observability/utils','../../helpers/percy/utils','then','driverCleanup','__sessionFailed','length','sGweB','CkgJv','saveTestResults','app','6qlrtqC','performScan','WZVRe','VGCEO','OrEdO','../../helpers/helper','executeAsyncScript','state','fKAgS','LDtas','titlePath','executeScript','3159693ufQxBk','../../helpers/performance-tester','ZTWCV','appium:app','tuQcN','iPJwp','WyubY','env','408XxxKoF','1304hOUWDa','stopMonitoring','oDKSZ','SvfbB','error','info','stringify','suZFb','rTQRD','./test-observability/mochaUtils','emFjh','915937IYdDID','currentTest','initQuit','rqYxS','shift','testcase','accessibilityScanStarted','__skipSessionName','1561856DHXQRo','format','4465430ZSWkve','timeout','ZiKaA','message','https:','__drivers','XSvpt','MzpeS','PFwDu','title','setGlobal','bstackA11yShouldScan','../../helpers/accessibility-automation/scripts','mochaHooks','OODIO','getGlobal'];a30_0x213c=function(){return _0x12fe10;};return a30_0x213c();}exports[a30_0x4c8c7a(0x12b)]={'beforeAll'(){const _0xef1905=a30_0x4c8c7a,_0xa039ef={'SvfbB':function(_0x22a0c0,_0x4fcc5a,_0x2b60e7,_0x287215){return _0x22a0c0(_0x4fcc5a,_0x2b60e7,_0x287215);},'Hhdeq':'failed','GoYKt':'\x20|\x20','KsXOp':function(_0x1bc1b9,_0x5ddc8e,_0x256dd1){return _0x1bc1b9(_0x5ddc8e,_0x256dd1);},'ViZgV':'passed','ZvgBR':function(_0x1989d1){return _0x1989d1();}};PerformanceTester[_0xef1905(0x13f)]();const _0x56eb15='browserstack internal helper hook';global[_0xef1905(0x135)]=[],global[_0xef1905(0xee)]=![],global[_0xef1905(0xed)]=async()=>{const _0x10fa5b=_0xef1905;let _0x543ae0=![];try{await global[_0x10fa5b(0x123)][0x0]['session_'],_0x543ae0=!![],global[_0x10fa5b(0xee)]?await _0xa039ef[_0x10fa5b(0x10c)](markSessionStatus,global[_0x10fa5b(0x123)][0x0],_0xa039ef[_0x10fa5b(0x137)],global[_0x10fa5b(0x135)][_0x10fa5b(0x15e)](_0xa039ef['GoYKt'])):await _0xa039ef[_0x10fa5b(0x15d)](markSessionStatus,global['__drivers'][0x0],_0xa039ef[_0x10fa5b(0x142)]);}catch(_0x35a2eb){}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x543ae0)try{try{_0xa039ef[_0x10fa5b(0x13c)](isTestObservabilitySession)&&(global[_0x10fa5b(0x123)][0x0]&&await _0xa039ef[_0x10fa5b(0x15d)](sendPlatformDetails,global['__drivers'][0x0],this[_0x10fa5b(0x115)]?this[_0x10fa5b(0x115)][_0x10fa5b(0xe7)]:null));}catch{}await global['__drivers'][0x0][_0x10fa5b(0x116)]();}catch(_0x193c8b){}};},'beforeEach'(_0x691c56){const _0x371e8c=a30_0x4c8c7a,_0x13c7c1={'suZFb':function(_0x54d90a,_0x6e1626){return _0x54d90a>_0x6e1626;},'oDKSZ':function(_0x183581,_0x434d1a){return _0x183581>_0x434d1a;},'ZiKaA':_0x371e8c(0x15a),'JKdoi':function(_0x433310,_0x34a8d9,_0x37b4d3){return _0x433310(_0x34a8d9,_0x37b4d3);},'sGweB':_0x371e8c(0x129),'VGCEO':function(_0x3d3e34){return _0x3d3e34();},'XSvpt':function(_0x5e2cb2,_0x33215c){return _0x5e2cb2>_0x33215c;},'WuIDB':_0x371e8c(0x15f),'fKAgS':function(_0x3bba51,_0x4e2c6b){return _0x3bba51===_0x4e2c6b;},'tuQcN':_0x371e8c(0x130),'WZVRe':_0x371e8c(0x122),'HTZFz':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','rTQRD':_0x371e8c(0x145)};new Promise(async _0x9937d8=>{const _0x25ba6e=_0x371e8c,_0x3105cc='browserstack internal helper hook';let _0x2ba6f9=!![];try{_0x13c7c1[_0x25ba6e(0x110)](global[_0x25ba6e(0x123)][_0x25ba6e(0xef)],0x1)&&(await global[_0x25ba6e(0xed)](),global[_0x25ba6e(0x123)][_0x25ba6e(0x118)]()),_0x13c7c1[_0x25ba6e(0x10b)](global[_0x25ba6e(0x123)][0x0][_0x25ba6e(0x12f)],0x0)&&(_0x2ba6f9=![],await global[_0x25ba6e(0xed)]());}catch{}try{Array[_0x25ba6e(0x14c)](global['__drivers'])&&global[_0x25ba6e(0x123)][0x0]&&(global[_0x25ba6e(0x123)][0x0]['browserstackSessionName']=this['currentTest'][_0x25ba6e(0xfe)]()['join'](_0x13c7c1[_0x25ba6e(0x120)])),global['browserstackSessionName']=this[_0x25ba6e(0x115)][_0x25ba6e(0xfe)]()[_0x25ba6e(0x15e)](_0x13c7c1[_0x25ba6e(0x120)]);}catch(_0x24b309){logger[_0x25ba6e(0x141)](_0x25ba6e(0x136)+_0x24b309);}this[_0x25ba6e(0x115)][_0x25ba6e(0x153)]=_0x13c7c1[_0x25ba6e(0x152)](shouldScanTestForAccessibility,this[_0x25ba6e(0x115)][_0x25ba6e(0xfe)](),!![]),globals[_0x25ba6e(0x128)](_0x13c7c1[_0x25ba6e(0xf0)],this[_0x25ba6e(0x115)][_0x25ba6e(0x153)]),this[_0x25ba6e(0x115)][_0x25ba6e(0x11a)]=!![];if(_0x13c7c1[_0x25ba6e(0xf7)](isAccessibilityAutomationSession)&&_0x2ba6f9&&Array[_0x25ba6e(0x14c)](global['__drivers'])&&_0x13c7c1[_0x25ba6e(0x124)](global[_0x25ba6e(0x123)][_0x25ba6e(0xef)],0x0)&&globals[_0x25ba6e(0x12d)](_0x13c7c1[_0x25ba6e(0x14e)]))try{const _0x587a3a=await global['__drivers'][0x0][_0x25ba6e(0x159)];if(_0x587a3a){let _0x1ffdfa=!![];const _0xfc75cc=await global[_0x25ba6e(0x123)][0x0][_0x25ba6e(0x148)]();let _0x5c7fe0;try{_0x5c7fe0=new URL(_0xfc75cc);}catch(_0x282fa8){_0x1ffdfa=![];}_0x1ffdfa=_0x13c7c1['fKAgS'](_0x5c7fe0[_0x25ba6e(0x155)],_0x13c7c1[_0x25ba6e(0x104)])||_0x13c7c1[_0x25ba6e(0xfc)](_0x5c7fe0['protocol'],_0x13c7c1[_0x25ba6e(0xf6)]),_0x1ffdfa&&(this[_0x25ba6e(0x115)][_0x25ba6e(0x153)]&&logger['info'](_0x13c7c1[_0x25ba6e(0x13d)])),this[_0x25ba6e(0x115)][_0x25ba6e(0x11a)]=this[_0x25ba6e(0x115)]['shouldScanTestForAccessibility'],this[_0x25ba6e(0x115)][_0x25ba6e(0x153)]&&logger[_0x25ba6e(0x10e)](_0x13c7c1[_0x25ba6e(0x111)]);}}catch(_0x1ab83e){logger[_0x25ba6e(0x10d)](_0x25ba6e(0x146)+util['format'](_0x1ab83e));}_0x13c7c1['VGCEO'](_0x9937d8);})['then'](_0x691c56);},'afterEach'(_0x86f02c){const _0x218bdb=a30_0x4c8c7a,_0x47a1d4={'OrEdO':function(_0x47b682,_0x25d402){return _0x47b682>_0x25d402;},'OODIO':function(_0x34aa52,_0x11ec3f){return _0x34aa52===_0x11ec3f;},'LDtas':_0x218bdb(0x119),'uIEZe':function(_0x4abfc0,_0x832018){return _0x4abfc0>_0x832018;},'MzpeS':_0x218bdb(0x103),'MfWQn':function(_0x9089e1,_0x2e4473,_0x447fb5,_0x33e0eb){return _0x9089e1(_0x2e4473,_0x447fb5,_0x33e0eb);},'vTyMi':_0x218bdb(0x15a),'ZTWCV':function(_0x49d9cd,_0x286f8b){return _0x49d9cd!==_0x286f8b;},'rqYxS':_0x218bdb(0x143),'THCYZ':function(_0x4c9b47,_0x2b4631,_0x52a3cd){return _0x4c9b47(_0x2b4631,_0x52a3cd);},'SXLzT':function(_0x3156f9,_0x234147){return _0x3156f9+_0x234147;},'iPJwp':'Failed:\x20','PFwDu':_0x218bdb(0x10d),'abfmw':function(_0x936f23,_0x7b5a8d,_0x37d436){return _0x936f23(_0x7b5a8d,_0x37d436);},'mwami':_0x218bdb(0x15b),'KzuCt':_0x218bdb(0x10e),'LxSIm':_0x218bdb(0x15f),'ofqwg':_0x218bdb(0x129),'OtwNQ':_0x218bdb(0x133),'pSLqu':function(_0x9c199b,_0x1640bb){return _0x9c199b(_0x1640bb);},'yTWfY':'Performing\x20scan\x20before\x20saving\x20results','emFjh':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','vZaUM':function(_0x387853){return _0x387853();},'JWZiV':_0x218bdb(0x141),'CkgJv':function(_0x202178,_0x1e913f){return _0x202178>_0x1e913f;},'WyubY':function(_0x5053f1){return _0x5053f1();}},_0x57d070='browserstack internal helper hook';this[_0x218bdb(0x11f)](0xfde8);const _0x11ab33=async(_0x2e163b,_0x495aaf)=>{const _0x1876b4=_0x218bdb;await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x2e163b+_0x1876b4(0x14f)+_0x495aaf+'\x22}}');};new Promise(async _0x443457=>{const _0x264958=_0x218bdb;try{_0x47a1d4[_0x264958(0xf8)](global[_0x264958(0x123)]['length'],0x1)&&(await global[_0x264958(0xed)](),global[_0x264958(0x123)][_0x264958(0x118)](),global['__error_messages__']=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x47a1d4[_0x264958(0x12c)](global[_0x264958(0x14a)],_0x47a1d4[_0x264958(0xfd)])&&global[_0x264958(0x123)][0x0]){const _0x16ebfa=_0x47a1d4[_0x264958(0xe6)](global[_0x264958(0x161)][_0x264958(0xef)],0x0)?!!global['capabilities'][0x0][_0x264958(0xf3)]||!!global['capabilities'][0x0][_0x47a1d4[_0x264958(0x125)]]:![],_0x59c7e0={};_0x59c7e0[_0x264958(0xf3)]=_0x16ebfa,await _0x47a1d4[_0x264958(0x14d)](percyAutoCapture,global['__drivers'][0x0],_0x47a1d4['LDtas'],_0x59c7e0);}}catch(_0x2b7d14){}!global[_0x264958(0x11b)]&&(await global[_0x264958(0x123)][0x0][_0x264958(0xff)](_0x264958(0x151)+JSON['stringify'](this['currentTest'][_0x264958(0xfe)]()[_0x264958(0x15e)](_0x47a1d4[_0x264958(0xe9)]))+'}}'),global[_0x264958(0x123)][0x0][_0x264958(0x157)]=!![]);const _0x4c78ee=_0x47a1d4[_0x264958(0x102)](this[_0x264958(0x115)][_0x264958(0xfb)],_0x47a1d4[_0x264958(0x117)]);_0x4c78ee?(global[_0x264958(0xee)]=!![],global[_0x264958(0x135)][_0x264958(0x13e)](this['currentTest']['err'][_0x264958(0x121)]),await _0x47a1d4[_0x264958(0x138)](_0x11ab33,JSON[_0x264958(0x10f)](_0x47a1d4[_0x264958(0x147)](_0x47a1d4[_0x264958(0x105)],this[_0x264958(0x115)]['err']['message'])),_0x47a1d4[_0x264958(0x126)])):await _0x47a1d4[_0x264958(0x139)](_0x11ab33,JSON[_0x264958(0x10f)](_0x47a1d4['mwami']),_0x47a1d4[_0x264958(0x149)]);}catch(_0x3d7116){}try{if(this[_0x264958(0x115)]['accessibilityScanStarted']&&globals[_0x264958(0x12d)](_0x47a1d4[_0x264958(0x13a)])&&globals[_0x264958(0x12d)](_0x47a1d4['ofqwg'])){logger[_0x264958(0x10e)](_0x47a1d4[_0x264958(0x150)]);const _0x2ff3fe={'saveResults':this[_0x264958(0x115)]['shouldScanTestForAccessibility'],'testDetails':{'name':this['currentTest'][_0x264958(0x127)],'testRunId':process[_0x264958(0x107)][_0x264958(0x163)],'filePath':this['currentTest'][_0x264958(0xe5)],'scopeList':this[_0x264958(0x115)][_0x264958(0xfe)]()},'platform':await _0x47a1d4['pSLqu'](fetchPlatformDetails,global['__drivers'][0x0])};logger['debug'](_0x47a1d4[_0x264958(0x156)]),logger[_0x264958(0x141)](util[_0x264958(0x11d)](await global['__drivers'][0x0][_0x264958(0xfa)](scripts[_0x264958(0xf5)],{'method':global['browserstackSessionName']}))),await global['__drivers'][0x0][_0x264958(0xfa)](scripts[_0x264958(0xf2)],_0x2ff3fe),logger[_0x264958(0x10e)](_0x47a1d4[_0x264958(0x113)]);}}catch(_0x4e34b2){logger[_0x264958(0x10d)](_0x264958(0x132)+this[_0x264958(0x115)][_0x264958(0xfe)]()+_0x264958(0x162),_0x4e34b2);}try{try{if(_0x47a1d4[_0x264958(0x158)](isTestObservabilitySession)){global[_0x264958(0x123)][0x0]&&await _0x47a1d4[_0x264958(0x138)](sendPlatformDetails,global[_0x264958(0x123)][0x0],this[_0x264958(0x115)]?this[_0x264958(0x115)][_0x264958(0xe7)]:null);if(_0x47a1d4[_0x264958(0x158)](isBrowserstackInfra)){const _0x1ef0c5=_0x264958(0x15c)+Date[_0x264958(0x140)]();await _0x47a1d4[_0x264958(0x138)](_0x11ab33,JSON[_0x264958(0x10f)](_0x1ef0c5),_0x47a1d4['JWZiV']);}}}catch{}_0x47a1d4[_0x264958(0xf1)](global[_0x264958(0x123)][0x0][_0x264958(0x12f)],0x0)&&await global['driverCleanup']();}catch(_0x252a62){}_0x47a1d4[_0x264958(0x106)](_0x443457);})[_0x218bdb(0xec)](()=>_0x86f02c());},'afterAll'(_0x4833dc){const _0x470f1e=a30_0x4c8c7a,_0xb0881e={'JbfdB':function(_0x7f9873){return _0x7f9873();}},_0x45716c='browserstack internal helper hook';this[_0x470f1e(0x11f)](0xfde8),new Promise(async _0x2377a4=>{const _0x2acdec=_0x470f1e;PerformanceTester[_0x2acdec(0x10a)](),await global[_0x2acdec(0xed)](),_0xb0881e['JbfdB'](_0x2377a4);})[_0x470f1e(0xec)](()=>_0x4833dc());}};
1
+ const a30_0x107a9b=a30_0xcd92;function a30_0xcd92(_0x99246c,_0x3355dd){const _0x529be9=a30_0x529b();return a30_0xcd92=function(_0xcd92bb,_0x2b4421){_0xcd92bb=_0xcd92bb-0x130;let _0x41736e=_0x529be9[_0xcd92bb];return _0x41736e;},a30_0xcd92(_0x99246c,_0x3355dd);}(function(_0x123c39,_0x71203c){const _0x1a564d=a30_0xcd92,_0x4e8044=_0x123c39();while(!![]){try{const _0x7ba3ea=parseInt(_0x1a564d(0x150))/0x1+parseInt(_0x1a564d(0x134))/0x2+parseInt(_0x1a564d(0x17d))/0x3+parseInt(_0x1a564d(0x196))/0x4+parseInt(_0x1a564d(0x185))/0x5*(-parseInt(_0x1a564d(0x188))/0x6)+parseInt(_0x1a564d(0x18b))/0x7+-parseInt(_0x1a564d(0x191))/0x8;if(_0x7ba3ea===_0x71203c)break;else _0x4e8044['push'](_0x4e8044['shift']());}catch(_0x1e8335){_0x4e8044['push'](_0x4e8044['shift']());}}}(a30_0x529b,0x64244));const util=require(a30_0x107a9b(0x19d)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x107a9b(0x170)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a30_0x107a9b(0x151)),{isBrowserstackInfra,markSessionStatus}=require(a30_0x107a9b(0x136)),{isTestObservabilitySession}=require(a30_0x107a9b(0x16c)),PerformanceTester=require(a30_0x107a9b(0x154)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a30_0x107a9b(0x159)),logger=require(a30_0x107a9b(0x175))[a30_0x107a9b(0x137)];exports['mochaHooks']={'beforeAll'(){const _0x28096b=a30_0x107a9b,_0x59c9b4={'hfReF':function(_0x37e16a,_0x43f998,_0x4696cb,_0x4fd0dc){return _0x37e16a(_0x43f998,_0x4696cb,_0x4fd0dc);},'dysCE':'failed','pziqO':_0x28096b(0x13d),'bOuJY':function(_0x483050,_0x362aa8,_0x5c9c44){return _0x483050(_0x362aa8,_0x5c9c44);},'UHjof':'passed','waqpC':function(_0x9606ec){return _0x9606ec();},'gQVpM':function(_0x2b279a,_0x2d761c,_0x2f31be){return _0x2b279a(_0x2d761c,_0x2f31be);}};PerformanceTester[_0x28096b(0x177)]();const _0x13eb3f='browserstack internal helper hook';global['__error_messages__']=[],global[_0x28096b(0x1a8)]=![],global[_0x28096b(0x146)]=async()=>{const _0x36f0da=_0x28096b;let _0x2cf718=![];try{await global[_0x36f0da(0x173)][0x0]['session_'],_0x2cf718=!![],global[_0x36f0da(0x1a8)]?await _0x59c9b4[_0x36f0da(0x19a)](markSessionStatus,global[_0x36f0da(0x173)][0x0],_0x59c9b4[_0x36f0da(0x1a2)],global['__error_messages__'][_0x36f0da(0x187)](_0x59c9b4[_0x36f0da(0x193)])):await _0x59c9b4[_0x36f0da(0x176)](markSessionStatus,global['__drivers'][0x0],_0x59c9b4[_0x36f0da(0x178)]);}catch(_0x4f387a){}global['__error_messages__']=[],global[_0x36f0da(0x1a8)]=![];if(_0x2cf718)try{try{_0x59c9b4['waqpC'](isTestObservabilitySession)&&(global[_0x36f0da(0x173)][0x0]&&await _0x59c9b4[_0x36f0da(0x18c)](sendPlatformDetails,global['__drivers'][0x0],this[_0x36f0da(0x198)]?this[_0x36f0da(0x198)][_0x36f0da(0x1a7)]:null));}catch{}await global[_0x36f0da(0x173)][0x0]['initQuit']();}catch(_0x3edb55){}};},'beforeEach'(_0x19a094){const _0x58d4c3=a30_0x107a9b,_0x5ef2e3={'TmzPX':function(_0x970f5b,_0x3e80dc){return _0x970f5b>_0x3e80dc;},'HSzKM':function(_0x4043d0,_0x23a4c8){return _0x4043d0>_0x23a4c8;},'oQFkO':'\x20-\x20','UQNLs':function(_0x161482,_0x34f145,_0x316eda){return _0x161482(_0x34f145,_0x316eda);},'bLihx':_0x58d4c3(0x17c),'wcUVv':function(_0x5091c1){return _0x5091c1();},'KBRbD':function(_0x2204d9,_0x33319a){return _0x2204d9>_0x33319a;},'BUjVv':_0x58d4c3(0x1a1),'fJjxS':function(_0x4e77fe,_0x1e6812){return _0x4e77fe===_0x1e6812;},'hKHnI':'http:','Kcocf':_0x58d4c3(0x18d),'TUnLk':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','outZw':_0x58d4c3(0x14e),'jKkUt':function(_0x3f3c41){return _0x3f3c41();}};new Promise(async _0x7a6b4a=>{const _0xb81d3f=_0x58d4c3,_0x3f6a5e='browserstack internal helper hook';let _0x35d153=!![];try{_0x5ef2e3['TmzPX'](global[_0xb81d3f(0x173)][_0xb81d3f(0x15d)],0x1)&&(await global[_0xb81d3f(0x146)](),global[_0xb81d3f(0x173)][_0xb81d3f(0x17b)]()),_0x5ef2e3[_0xb81d3f(0x153)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x35d153=![],await global[_0xb81d3f(0x146)]());}catch{}try{Array[_0xb81d3f(0x18e)](global[_0xb81d3f(0x173)])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0xb81d3f(0x149)]=this[_0xb81d3f(0x198)][_0xb81d3f(0x14a)]()[_0xb81d3f(0x187)](_0x5ef2e3[_0xb81d3f(0x172)])),global[_0xb81d3f(0x149)]=this['currentTest'][_0xb81d3f(0x14a)]()[_0xb81d3f(0x187)](_0x5ef2e3[_0xb81d3f(0x172)]);}catch(_0x53010f){logger[_0xb81d3f(0x164)](_0xb81d3f(0x138)+_0x53010f);}this[_0xb81d3f(0x198)][_0xb81d3f(0x179)]=_0x5ef2e3['UQNLs'](shouldScanTestForAccessibility,this[_0xb81d3f(0x198)][_0xb81d3f(0x14a)](),!![]),globals['setGlobal'](_0x5ef2e3[_0xb81d3f(0x168)],this[_0xb81d3f(0x198)][_0xb81d3f(0x179)]),this[_0xb81d3f(0x198)][_0xb81d3f(0x194)]=!![];if(_0x5ef2e3[_0xb81d3f(0x132)](isAccessibilityAutomationSession)&&_0x35d153&&Array[_0xb81d3f(0x18e)](global[_0xb81d3f(0x173)])&&_0x5ef2e3[_0xb81d3f(0x167)](global[_0xb81d3f(0x173)][_0xb81d3f(0x15d)],0x0)&&globals['getGlobal'](_0x5ef2e3[_0xb81d3f(0x157)]))try{const _0x5ca143=await global['__drivers'][0x0][_0xb81d3f(0x197)];if(_0x5ca143){let _0x45df01=!![];const _0x3249eb=await global['__drivers'][0x0][_0xb81d3f(0x16a)]();let _0x3b9d67;try{_0x3b9d67=new URL(_0x3249eb);}catch(_0x3084ff){_0x45df01=![];}_0x45df01=_0x5ef2e3[_0xb81d3f(0x144)](_0x3b9d67['protocol'],_0x5ef2e3[_0xb81d3f(0x15f)])||_0x5ef2e3['fJjxS'](_0x3b9d67[_0xb81d3f(0x148)],_0x5ef2e3[_0xb81d3f(0x143)]),_0x45df01&&(this[_0xb81d3f(0x198)][_0xb81d3f(0x179)]&&logger['info'](_0x5ef2e3[_0xb81d3f(0x166)])),this[_0xb81d3f(0x198)][_0xb81d3f(0x194)]=this[_0xb81d3f(0x198)][_0xb81d3f(0x179)],this['currentTest'][_0xb81d3f(0x179)]&&logger[_0xb81d3f(0x18a)](_0x5ef2e3[_0xb81d3f(0x195)]);}}catch(_0xe21122){logger[_0xb81d3f(0x152)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0xb81d3f(0x161)](_0xe21122));}_0x5ef2e3[_0xb81d3f(0x17f)](_0x7a6b4a);})[_0x58d4c3(0x189)](_0x19a094);},'afterEach'(_0x78cec2){const _0x3a77f1=a30_0x107a9b,_0x507529={'naJBt':function(_0xc9c620,_0x50eeae){return _0xc9c620>_0x50eeae;},'bIiSD':function(_0xe7c487,_0x376651){return _0xe7c487===_0x376651;},'tUkru':_0x3a77f1(0x13b),'bFOmh':_0x3a77f1(0x19f),'SCtZH':function(_0x35359d,_0x3cbb31,_0x263af0,_0x36be58){return _0x35359d(_0x3cbb31,_0x263af0,_0x36be58);},'UyHCz':_0x3a77f1(0x142),'JeqpF':function(_0x2cb20d,_0x1ca410){return _0x2cb20d!==_0x1ca410;},'DOsjm':'passed','SwcVd':function(_0x2a20b3,_0x156a4c,_0xc8842d){return _0x2a20b3(_0x156a4c,_0xc8842d);},'USuoc':function(_0x2ec10b,_0x177cf5){return _0x2ec10b+_0x177cf5;},'BMRRC':_0x3a77f1(0x16f),'quUGX':'error','XLHAD':function(_0x255d49,_0x421ac2,_0x22f8ee){return _0x255d49(_0x421ac2,_0x22f8ee);},'CiBWZ':_0x3a77f1(0x1a6),'qdAdk':'info','lGQiV':'isAccessibilityPlatform','rgcMC':'bstackA11yShouldScan','bCwjb':_0x3a77f1(0x19b),'wtvws':function(_0x10648a,_0x187632){return _0x10648a(_0x187632);},'mAHrl':'Performing\x20scan\x20before\x20saving\x20results','xduuB':_0x3a77f1(0x14b),'HqHKJ':function(_0x4a84cd){return _0x4a84cd();},'hTTIz':function(_0x482def){return _0x482def();},'drmVk':'debug','MSwru':function(_0x1f80b4,_0x5d3686){return _0x1f80b4>_0x5d3686;},'QzUbm':function(_0xf11264){return _0xf11264();}},_0x413f78='browserstack internal helper hook';this[_0x3a77f1(0x15a)](0xfde8);const _0x4ae162=async(_0x15e2b2,_0x215483)=>{const _0x3b50e1=_0x3a77f1;await global['__drivers'][0x0]['executeScript'](_0x3b50e1(0x156)+_0x15e2b2+_0x3b50e1(0x19e)+_0x215483+'\x22}}');};new Promise(async _0x52a340=>{const _0x570362=_0x3a77f1;try{_0x507529[_0x570362(0x140)](global['__drivers']['length'],0x1)&&(await global[_0x570362(0x146)](),global['__drivers'][_0x570362(0x17b)](),global[_0x570362(0x16d)]=[],global[_0x570362(0x1a8)]=![]);try{if(global[_0x570362(0x15e)]&&_0x507529['bIiSD'](global[_0x570362(0x1a3)],_0x507529['tUkru'])&&global[_0x570362(0x173)][0x0]){const _0x18a22f=_0x507529['naJBt'](global['capabilities']['length'],0x0)?!!global[_0x570362(0x13a)][0x0][_0x570362(0x169)]||!!global[_0x570362(0x13a)][0x0][_0x507529[_0x570362(0x16e)]]:![],_0xa6e07f={};_0xa6e07f[_0x570362(0x169)]=_0x18a22f,await _0x507529[_0x570362(0x13f)](percyAutoCapture,global[_0x570362(0x173)][0x0],_0x507529[_0x570362(0x1a0)],_0xa6e07f);}}catch(_0x389032){}!global[_0x570362(0x15c)]&&(await global['__drivers'][0x0][_0x570362(0x133)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this[_0x570362(0x198)]['titlePath']()[_0x570362(0x187)](_0x507529[_0x570362(0x13c)]))+'}}'),global[_0x570362(0x173)][0x0][_0x570362(0x139)]=!![]);const _0x2789bb=_0x507529['JeqpF'](this['currentTest'][_0x570362(0x130)],_0x507529[_0x570362(0x1a4)]);_0x2789bb?(global['__sessionFailed']=!![],global['__error_messages__'][_0x570362(0x162)](this[_0x570362(0x198)][_0x570362(0x184)][_0x570362(0x190)]),await _0x507529[_0x570362(0x14f)](_0x4ae162,JSON['stringify'](_0x507529[_0x570362(0x19c)](_0x507529[_0x570362(0x165)],this[_0x570362(0x198)][_0x570362(0x184)]['message'])),_0x507529['quUGX'])):await _0x507529[_0x570362(0x171)](_0x4ae162,JSON[_0x570362(0x15b)](_0x507529[_0x570362(0x183)]),_0x507529[_0x570362(0x1a5)]);}catch(_0x307f4c){}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x570362(0x192)](_0x507529[_0x570362(0x174)])&&globals[_0x570362(0x192)](_0x507529[_0x570362(0x147)])){logger['info'](_0x507529[_0x570362(0x17e)]);const _0x3e5cd6={'saveResults':this[_0x570362(0x198)][_0x570362(0x179)],'testDetails':{'name':this[_0x570362(0x198)]['title'],'testRunId':process[_0x570362(0x158)][_0x570362(0x181)],'filePath':this[_0x570362(0x198)][_0x570362(0x16b)],'scopeList':this[_0x570362(0x198)][_0x570362(0x14a)]()},'platform':await _0x507529[_0x570362(0x199)](fetchPlatformDetails,global[_0x570362(0x173)][0x0])};logger['debug'](_0x507529[_0x570362(0x163)]),logger['debug'](util[_0x570362(0x161)](await global[_0x570362(0x173)][0x0][_0x570362(0x180)](scripts['performScan'],{'method':global[_0x570362(0x149)]}))),await global[_0x570362(0x173)][0x0][_0x570362(0x180)](scripts[_0x570362(0x13e)],_0x3e5cd6),logger['info'](_0x507529['xduuB']);}}catch(_0x581f60){logger[_0x570362(0x152)](_0x570362(0x141)+this[_0x570362(0x198)][_0x570362(0x14a)]()+_0x570362(0x186),_0x581f60);}try{try{if(_0x507529[_0x570362(0x131)](isTestObservabilitySession)){global['__drivers'][0x0]&&await _0x507529[_0x570362(0x171)](sendPlatformDetails,global[_0x570362(0x173)][0x0],this['currentTest']?this[_0x570362(0x198)][_0x570362(0x1a7)]:null);if(_0x507529[_0x570362(0x145)](isBrowserstackInfra)){const _0x235a4e=_0x570362(0x18f)+Date[_0x570362(0x182)]();await _0x507529['XLHAD'](_0x4ae162,JSON[_0x570362(0x15b)](_0x235a4e),_0x507529[_0x570362(0x135)]);}}}catch{}_0x507529[_0x570362(0x14d)](global['__drivers'][0x0][_0x570362(0x17a)],0x0)&&await global[_0x570362(0x146)]();}catch(_0x4edfe3){}_0x507529[_0x570362(0x14c)](_0x52a340);})['then'](()=>_0x78cec2());},'afterAll'(_0x218dea){const _0x39cbda=a30_0x107a9b,_0x892c3c={'TEKRr':function(_0x5201b3){return _0x5201b3();}},_0x159bfb='browserstack internal helper hook';this[_0x39cbda(0x15a)](0xfde8),new Promise(async _0x3c25f4=>{const _0x5b9c41=_0x39cbda;PerformanceTester[_0x5b9c41(0x160)](),await global[_0x5b9c41(0x146)](),_0x892c3c[_0x5b9c41(0x155)](_0x3c25f4);})['then'](()=>_0x218dea());}};function a30_0x529b(){const _0x541363=['SCtZH','naJBt','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','\x20-\x20','Kcocf','fJjxS','hTTIz','driverCleanup','rgcMC','protocol','browserstackSessionName','titlePath','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','QzUbm','MSwru','Automate\x20test\x20case\x20execution\x20has\x20started.','SwcVd','253171QtipHU','./test-observability/mochaUtils','error','HSzKM','../../helpers/performance-tester','TEKRr','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','BUjVv','env','../../helpers/globals','timeout','stringify','__skipSessionName','length','percy','hKHnI','stopMonitoring','format','push','mAHrl','debug','BMRRC','TUnLk','KBRbD','bLihx','app','getCurrentUrl','file','../../helpers/test-observability/utils','__error_messages__','bFOmh','Failed:\x20','../../helpers/accessibility-automation/helper','XLHAD','oQFkO','__drivers','lGQiV','../../helpers/logger','bOuJY','startMonitoring','UHjof','shouldScanTestForAccessibility','quitCount_','shift','bstackA11yShouldScan','1530276SHsbfn','bCwjb','jKkUt','executeAsyncScript','BS_A11Y_TEST_RUN_ID','now','CiBWZ','err','35PNfpBQ','.\x20Error\x20:','join','514950WCyQds','then','info','2230123krzKfu','gQVpM','https:','isArray','ObservabilitySync:','message','12923808gfwKpI','getGlobal','pziqO','accessibilityScanStarted','outZw','3240596XafnVa','session_','currentTest','wtvws','hfReF','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','USuoc','util',',\x22level\x22:\x20\x22','appium:app','tUkru','isAccessibilityPlatform','dysCE','percyCaptureMode','DOsjm','qdAdk','Passed','testAnalyticsId','__sessionFailed','state','HqHKJ','wcUVv','executeScript','1468860JROmpz','drmVk','../../helpers/helper','winstonLogger','Failed\x20to\x20store\x20session\x20name:\x20','sessionNameSet__','capabilities','testcase','UyHCz','\x20|\x20','saveTestResults'];a30_0x529b=function(){return _0x541363;};return a30_0x529b();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a31_0x50bf35=a31_0x5dff;(function(_0x211809,_0x500ace){const _0x46e761=a31_0x5dff,_0x217135=_0x211809();while(!![]){try{const _0x248a0e=-parseInt(_0x46e761(0xfb))/0x1+parseInt(_0x46e761(0xff))/0x2*(-parseInt(_0x46e761(0xf5))/0x3)+-parseInt(_0x46e761(0xd3))/0x4*(-parseInt(_0x46e761(0xe7))/0x5)+parseInt(_0x46e761(0x108))/0x6+-parseInt(_0x46e761(0xc7))/0x7+-parseInt(_0x46e761(0xd5))/0x8*(parseInt(_0x46e761(0xe6))/0x9)+parseInt(_0x46e761(0xc5))/0xa;if(_0x248a0e===_0x500ace)break;else _0x217135['push'](_0x217135['shift']());}catch(_0x451bc5){_0x217135['push'](_0x217135['shift']());}}}(a31_0x1c16,0x4cc17));const fs=require('fs'),path=require(a31_0x50bf35(0x102)),{spawn}=require(a31_0x50bf35(0xec)),logger=require(a31_0x50bf35(0xbf))[a31_0x50bf35(0x10b)],{default:BrowserStackSetup}=require(a31_0x50bf35(0x10d)),helper=require(a31_0x50bf35(0xd7)),constants=require(a31_0x50bf35(0xde)),getUserNightwatchConfigs=(_0x180bb4,_0x32c978)=>{const _0xd29874=a31_0x50bf35,_0x3c1e6e={'VXOpW':_0xd29874(0x104),'MJWRn':_0xd29874(0x107),'oweFR':function(_0x3e4707,_0xa12f82){return _0x3e4707(_0xa12f82);},'DOyCb':_0xd29874(0xcb)};let _0x566ee4=null,_0x3ac862={};const _0x483ea5=_0x32c978[_0xd29874(0xc3)](_0x3460c=>_0x3460c===_0xd29874(0xe5));if(!helper[_0xd29874(0xe4)](_0x180bb4[_0xd29874(0xc1)])&&fs[_0xd29874(0x10e)](path[_0xd29874(0xc0)](process[_0xd29874(0xdd)](),_0x180bb4['config'])))_0x566ee4=path[_0xd29874(0xc0)](process[_0xd29874(0xdd)](),_0x180bb4[_0xd29874(0xc1)]),_0x32c978[_0xd29874(0xf2)](_0x483ea5,0x2);else{if(fs[_0xd29874(0x10e)](path[_0xd29874(0xc0)](process[_0xd29874(0xdd)](),_0x3c1e6e[_0xd29874(0xef)])))_0x566ee4=path[_0xd29874(0xc0)](process[_0xd29874(0xdd)](),_0x3c1e6e['VXOpW']);else fs[_0xd29874(0x10e)](path['join'](process[_0xd29874(0xdd)](),_0x3c1e6e[_0xd29874(0xce)]))&&(_0x566ee4=path['join'](process[_0xd29874(0xdd)](),_0x3c1e6e[_0xd29874(0xce)]));}return _0x566ee4?(logger[_0xd29874(0xcc)](_0xd29874(0xd6)+_0x566ee4),_0x3ac862=_0x3c1e6e[_0xd29874(0xcf)](require,_0x566ee4)):logger[_0xd29874(0xcc)](_0x3c1e6e['DOyCb']),_0x3ac862;},removeExistingEnvs=_0x1ad1b6=>{const _0x5d4b99=a31_0x50bf35,_0x136e05={};_0x136e05[_0x5d4b99(0xfc)]=function(_0x32eac6,_0x379d5a){return _0x32eac6>_0x379d5a;};const _0x45dcaf=_0x136e05;let _0x440063=_0x1ad1b6[_0x5d4b99(0xc3)](_0x599582=>_0x599582==='--env');_0x45dcaf[_0x5d4b99(0xfc)](_0x440063,-0x1)&&_0x1ad1b6[_0x5d4b99(0xf2)](_0x440063,0x2),_0x440063=_0x1ad1b6[_0x5d4b99(0xc3)](_0x3d5a20=>_0x3d5a20==='-e'),_0x45dcaf[_0x5d4b99(0xfc)](_0x440063,-0x1)&&_0x1ad1b6['splice'](_0x440063,0x2);};function run(_0x1ef54c,_0x28ff22){const _0x3f3bbe=a31_0x50bf35,_0x3fe478={'utAAu':_0x3f3bbe(0xf9),'cJRpY':function(_0x73bab8,_0x5b504a){return _0x73bab8+_0x5b504a;},'EtwJT':_0x3f3bbe(0xc2),'DhUmt':function(_0x55d2c3,_0x19f637,_0x4d157a){return _0x55d2c3(_0x19f637,_0x4d157a);},'KGXrf':'hub.browserstack.com','stUET':_0x3f3bbe(0xeb),'dMYys':function(_0x14106d,_0x5dd6ef){return _0x14106d===_0x5dd6ef;},'lTXNx':_0x3f3bbe(0xd0),'XUnGw':function(_0x3e7c2d,_0x3dd841){return _0x3e7c2d(_0x3dd841);},'jnePB':function(_0x35d5e7,_0x1a70d9,_0x7f9584,_0x19d886){return _0x35d5e7(_0x1a70d9,_0x7f9584,_0x19d886);},'vBRKG':_0x3f3bbe(0x109),'qrQDW':_0x3f3bbe(0xe5),'zHLsq':_0x3f3bbe(0xd9),'EYSmm':_0x3f3bbe(0xe3),'TAsPg':_0x3f3bbe(0xe8)},_0xd96161=new BrowserStackSetup(_0x1ef54c);if(!_0xd96161['config'])return;const _0x3e37dd=_0x3fe478[_0x3f3bbe(0xca)](getUserNightwatchConfigs,_0x1ef54c,_0x28ff22),_0x4bec0b={};_0x4bec0b[_0x3f3bbe(0xd8)]=![];const _0x494859={};_0x494859[_0x3f3bbe(0xc6)]=_0x3fe478[_0x3f3bbe(0x103)],_0x494859['port']=0x1bb;const _0x799330={};_0x799330[_0x3f3bbe(0x10a)]=_0x4bec0b,_0x799330['selenium']=_0x494859;const _0x156053=_0x799330;logger['info'](_0x3fe478['stUET']);const _0x164015={..._0x3e37dd},_0x5c91f1=_0x164015,_0x2a5198=helper[_0x3f3bbe(0xee)](_0xd96161[_0x3f3bbe(0xc1)]),_0x53aa41=[];_0xd96161[_0x3f3bbe(0xc1)][_0x3f3bbe(0xfd)]['forEach']((_0x53fd75,_0x2e83a5)=>{const _0x5d5db4=_0x3f3bbe;_0x2a5198?_0x53aa41['push'](helper[_0x5d5db4(0xd4)](_0xd96161['config'],_0x3fe478[_0x5d5db4(0xea)],_0x2e83a5)):_0x53aa41[_0x5d5db4(0xed)](helper[_0x5d5db4(0xf7)](_0xd96161[_0x5d5db4(0xc1)],_0x3fe478['utAAu'],_0x2e83a5));});const _0x49d54f={},_0x1ec3a5=[];_0x1ef54c[_0x3f3bbe(0x101)]=_0x1ef54c[_0x3f3bbe(0x101)]||_0x1ef54c['e'];const _0x1bf867=_0x1ef54c[_0x3f3bbe(0x101)]?_0x1ef54c['env'][_0x3f3bbe(0xe2)]()['split'](',')[_0x3f3bbe(0xcd)](_0x1e55f4=>_0x1e55f4['trim']())[_0x3f3bbe(0xd2)](_0x350e3a=>_0x350e3a!==''):[''];_0x3fe478[_0x3f3bbe(0xfe)](_0x1bf867[_0x3f3bbe(0xc8)],0x0)&&_0x1bf867[_0x3f3bbe(0xed)]('');_0x1bf867[_0x3f3bbe(0xe9)](_0x28d648=>{_0x53aa41['forEach'](_0x20b56f=>{const _0x4aeaf2=a31_0x5dff;let _0x4e3e76=_0x3fe478['cJRpY'](helper[_0x4aeaf2(0xdc)](_0x20b56f,'_'),'_'+Date[_0x4aeaf2(0xd1)]());_0x28d648&&(_0x4e3e76+='_'+_0x28d648);if(_0x28d648&&(!_0x3e37dd[_0x3fe478['EtwJT']]||!_0x3e37dd[_0x3fe478[_0x4aeaf2(0xc9)]][_0x28d648]))return;const _0x5db13a={..._0x156053};_0x5db13a[_0x4aeaf2(0xf1)]=_0x20b56f;const _0x1c954c=_0x5db13a;_0x49d54f[_0x4e3e76]=_0x28d648?helper[_0x4aeaf2(0xf8)](_0x3e37dd[_0x3fe478[_0x4aeaf2(0xc9)]][_0x28d648],_0x1c954c):_0x1c954c,_0x1ec3a5[_0x4aeaf2(0xed)](_0x4e3e76);});});!_0x5c91f1[_0x3f3bbe(0xc2)]&&(_0x5c91f1[_0x3f3bbe(0xc2)]={});_0x5c91f1['test_settings']={..._0x5c91f1[_0x3f3bbe(0xc2)],..._0x49d54f};const _0x42499e=path[_0x3f3bbe(0xc0)](__dirname,_0x3fe478[_0x3f3bbe(0xf4)]);fs[_0x3f3bbe(0xe1)](_0x42499e,JSON[_0x3f3bbe(0xda)](_0x5c91f1)),_0x3fe478[_0x3f3bbe(0x106)](removeExistingEnvs,_0x28ff22);const _0x3ca2f3=_0x3fe478[_0x3f3bbe(0x10c)](spawn,/^win/['test'](process[_0x3f3bbe(0xf0)])?_0x3fe478['vBRKG']:_0x3fe478['utAAu'],[_0x3fe478[_0x3f3bbe(0xf3)],_0x42499e,..._0x28ff22[_0x3f3bbe(0xfa)](0x1),_0x3fe478[_0x3f3bbe(0xdf)],_0x1ec3a5[_0x3f3bbe(0xc0)](',')],{'stdio':_0x3fe478['EYSmm']});_0x3ca2f3['on'](_0x3fe478[_0x3f3bbe(0xf6)],async _0x29e3a0=>{const _0x2e2728=_0x3f3bbe;logger[_0x2e2728(0xc4)](_0x2e2728(0xe0)+_0x29e3a0),logger[_0x2e2728(0xcc)](_0x2e2728(0x100)+_0x42499e),fs[_0x2e2728(0x105)](_0x42499e);});}function a31_0x1c16(){const _0x3421da=['TAsPg','modifyBrowserStackCaps','mergeDeep','nightwatch','slice','572021uWLJpk','gtQLJ','platforms','dMYys','2VhDagX','Deleting\x20','env','path','KGXrf','nightwatch.conf.js','unlinkSync','XUnGw','nightwatch.json','1894530dLChBQ','nightwatch.cmd','webdriver','winstonLogger','jnePB','../../helpers/BrowserStackSetup','existsSync','../../helpers/logger','join','config','test_settings','findIndex','debug','5016940WRcMYP','host','472031wabind','length','EtwJT','DhUmt','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','info','map','MJWRn','oweFR','nightwatch-browserstack.json','now','filter','4YUEIQe','modifyBrowserStackW3CCaps','8nATKXI','Getting\x20your\x20nightwatch\x20configs\x20from\x20','../../helpers/helper','start_process','--env','stringify','exports','getPlatformName','cwd','../utils/constants','zHLsq','child\x20process\x20exited\x20with\x20code\x20','writeFileSync','trim','inherit','isUndefined','--config','608148rRMRqf','1049155uGcbsp','close','forEach','utAAu','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','child_process','push','useW3C','VXOpW','platform','desiredCapabilities','splice','qrQDW','lTXNx','17589faJaLY'];a31_0x1c16=function(){return _0x3421da;};return a31_0x1c16();}function a31_0x5dff(_0x383b65,_0x324cf9){const _0x1c1643=a31_0x1c16();return a31_0x5dff=function(_0x5dff49,_0x15a7f4){_0x5dff49=_0x5dff49-0xbf;let _0xfc5045=_0x1c1643[_0x5dff49];return _0xfc5045;},a31_0x5dff(_0x383b65,_0x324cf9);}module[a31_0x50bf35(0xdb)]=run;
2
+ 'use strict';const a31_0x600bd7=a31_0x2af7;function a31_0x2af7(_0x2f8fa9,_0x465f86){const _0x236f1a=a31_0x236f();return a31_0x2af7=function(_0x2af7c4,_0x2d372b){_0x2af7c4=_0x2af7c4-0xb9;let _0x3dc3dc=_0x236f1a[_0x2af7c4];return _0x3dc3dc;},a31_0x2af7(_0x2f8fa9,_0x465f86);}(function(_0x5383c8,_0x2190ae){const _0x428fb1=a31_0x2af7,_0x5b30a5=_0x5383c8();while(!![]){try{const _0x2470be=-parseInt(_0x428fb1(0xc1))/0x1+-parseInt(_0x428fb1(0xe7))/0x2*(-parseInt(_0x428fb1(0xca))/0x3)+-parseInt(_0x428fb1(0xdf))/0x4+parseInt(_0x428fb1(0xed))/0x5+-parseInt(_0x428fb1(0xd0))/0x6*(parseInt(_0x428fb1(0xea))/0x7)+-parseInt(_0x428fb1(0xff))/0x8+parseInt(_0x428fb1(0xd2))/0x9;if(_0x2470be===_0x2190ae)break;else _0x5b30a5['push'](_0x5b30a5['shift']());}catch(_0x1e8e56){_0x5b30a5['push'](_0x5b30a5['shift']());}}}(a31_0x236f,0x1de31));function a31_0x236f(){const _0x92e1e5=['nightwatch.conf.js','qbahO','inherit','9yVceud','path','JmTqr','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','aKpKV','nightwatch.cmd','114978btqrcN','getPlatformName','1715544fjTPBL','close','UHkQK','stringify','../../helpers/helper','info','hftjQ','unlinkSync','forEach','eRSnb','BYQCA','host','platforms','642488IjMPQE','test_settings','nightwatch','XotMM','oUThI','cZJQv','qSXZx','Getting\x20your\x20nightwatch\x20configs\x20from\x20','154082VSQjtm','nmpLw','findIndex','21qsRdLn','child_process','isUndefined','932425HJBNFU','webdriver','cwd','--config','trim','selenium','desiredCapabilities','env','Deleting\x20','AprrF','config','mergeDeep','../../helpers/logger','length','now','hub.browserstack.com','fJSZD','debug','1854856EURbCO','push','--env','platform','join','existsSync','fKXNj','start_process','filter','splice','modifyBrowserStackW3CCaps','map','../../helpers/BrowserStackSetup','slice','35839TyWLnP','useW3C','port','modifyBrowserStackCaps','QcTyy','test'];a31_0x236f=function(){return _0x92e1e5;};return a31_0x236f();}const fs=require('fs'),path=require(a31_0x600bd7(0xcb)),{spawn}=require(a31_0x600bd7(0xeb)),logger=require(a31_0x600bd7(0xf9))['winstonLogger'],{default:BrowserStackSetup}=require(a31_0x600bd7(0xbf)),helper=require(a31_0x600bd7(0xd6)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x44185d,_0x289319)=>{const _0x5a4840=a31_0x600bd7,_0x48b128={'AprrF':_0x5a4840(0xc7),'XotMM':'nightwatch.json','qbahO':function(_0x4e670f,_0x1f712e){return _0x4e670f(_0x1f712e);},'UHkQK':_0x5a4840(0xcd)};let _0x15981d=null,_0x2ef439={};const _0x111d61=_0x289319[_0x5a4840(0xe9)](_0x34c753=>_0x34c753===_0x5a4840(0xf0));if(!helper[_0x5a4840(0xec)](_0x44185d[_0x5a4840(0xf7)])&&fs['existsSync'](path[_0x5a4840(0x103)](process[_0x5a4840(0xef)](),_0x44185d[_0x5a4840(0xf7)])))_0x15981d=path[_0x5a4840(0x103)](process[_0x5a4840(0xef)](),_0x44185d['config']),_0x289319[_0x5a4840(0xbc)](_0x111d61,0x2);else{if(fs[_0x5a4840(0x104)](path[_0x5a4840(0x103)](process[_0x5a4840(0xef)](),_0x48b128[_0x5a4840(0xf6)])))_0x15981d=path[_0x5a4840(0x103)](process['cwd'](),_0x48b128['AprrF']);else fs[_0x5a4840(0x104)](path[_0x5a4840(0x103)](process[_0x5a4840(0xef)](),_0x48b128['XotMM']))&&(_0x15981d=path[_0x5a4840(0x103)](process[_0x5a4840(0xef)](),_0x48b128[_0x5a4840(0xe2)]));}return _0x15981d?(logger[_0x5a4840(0xd7)](_0x5a4840(0xe6)+_0x15981d),_0x2ef439=_0x48b128[_0x5a4840(0xc8)](require,_0x15981d)):logger['info'](_0x48b128[_0x5a4840(0xd4)]),_0x2ef439;},removeExistingEnvs=_0x2a36c4=>{const _0x3dba52=a31_0x600bd7,_0x3a3b2e={};_0x3a3b2e[_0x3dba52(0xe5)]=function(_0x1cc371,_0x5842e0){return _0x1cc371>_0x5842e0;},_0x3a3b2e[_0x3dba52(0xd8)]=function(_0x1ca13e,_0x30eba9){return _0x1ca13e>_0x30eba9;};const _0x34ed04=_0x3a3b2e;let _0x47f008=_0x2a36c4[_0x3dba52(0xe9)](_0x5165a7=>_0x5165a7===_0x3dba52(0x101));_0x34ed04[_0x3dba52(0xe5)](_0x47f008,-0x1)&&_0x2a36c4[_0x3dba52(0xbc)](_0x47f008,0x2),_0x47f008=_0x2a36c4[_0x3dba52(0xe9)](_0x2e99d9=>_0x2e99d9==='-e'),_0x34ed04['hftjQ'](_0x47f008,-0x1)&&_0x2a36c4['splice'](_0x47f008,0x2);};function run(_0x5e39a9,_0x347e37){const _0x14e28c=a31_0x600bd7,_0x23e8f3={'nmpLw':_0x14e28c(0xe1),'jyimr':function(_0x21ca12,_0x3168c2){return _0x21ca12+_0x3168c2;},'fKXNj':_0x14e28c(0xe0),'oUThI':function(_0x4cfe59,_0x36d67c,_0x1e191e){return _0x4cfe59(_0x36d67c,_0x1e191e);},'aKpKV':_0x14e28c(0xfc),'qvacr':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','wclPX':function(_0x2f6097,_0x247427){return _0x2f6097===_0x247427;},'cZJQv':'nightwatch-browserstack.json','BYQCA':function(_0x374540,_0xdf557d){return _0x374540(_0xdf557d);},'fJSZD':function(_0x31e69d,_0x40a293,_0x2cf6c4,_0x31b945){return _0x31e69d(_0x40a293,_0x2cf6c4,_0x31b945);},'QcTyy':_0x14e28c(0xcf),'LLAAZ':_0x14e28c(0xf0),'JmTqr':_0x14e28c(0x101),'DFxze':_0x14e28c(0xc9),'eRSnb':_0x14e28c(0xd3)},_0x50157d=new BrowserStackSetup(_0x5e39a9);if(!_0x50157d[_0x14e28c(0xf7)])return;const _0x359990=_0x23e8f3[_0x14e28c(0xe3)](getUserNightwatchConfigs,_0x5e39a9,_0x347e37),_0x5eca40={};_0x5eca40[_0x14e28c(0xba)]=![];const _0x745381={};_0x745381[_0x14e28c(0xdd)]=_0x23e8f3[_0x14e28c(0xce)],_0x745381[_0x14e28c(0xc3)]=0x1bb;const _0x104305={};_0x104305[_0x14e28c(0xee)]=_0x5eca40,_0x104305[_0x14e28c(0xf2)]=_0x745381;const _0x45489a=_0x104305;logger[_0x14e28c(0xd7)](_0x23e8f3['qvacr']);const _0x7acad0={..._0x359990},_0x2ab72c=_0x7acad0,_0x9a7f5f=helper[_0x14e28c(0xc2)](_0x50157d[_0x14e28c(0xf7)]),_0x456a6c=[];_0x50157d[_0x14e28c(0xf7)][_0x14e28c(0xde)][_0x14e28c(0xda)]((_0x517d00,_0x2cad0e)=>{const _0x5f367e=_0x14e28c;_0x9a7f5f?_0x456a6c[_0x5f367e(0x100)](helper[_0x5f367e(0xbd)](_0x50157d[_0x5f367e(0xf7)],_0x23e8f3[_0x5f367e(0xe8)],_0x2cad0e)):_0x456a6c[_0x5f367e(0x100)](helper[_0x5f367e(0xc4)](_0x50157d[_0x5f367e(0xf7)],_0x23e8f3[_0x5f367e(0xe8)],_0x2cad0e));});const _0x249003={},_0x299304=[];_0x5e39a9['env']=_0x5e39a9[_0x14e28c(0xf4)]||_0x5e39a9['e'];const _0xfa5e67=_0x5e39a9[_0x14e28c(0xf4)]?_0x5e39a9[_0x14e28c(0xf4)][_0x14e28c(0xf1)]()['split'](',')[_0x14e28c(0xbe)](_0x317fa2=>_0x317fa2[_0x14e28c(0xf1)]())[_0x14e28c(0xbb)](_0x4558e5=>_0x4558e5!==''):[''];_0x23e8f3['wclPX'](_0xfa5e67[_0x14e28c(0xfa)],0x0)&&_0xfa5e67['push']('');_0xfa5e67[_0x14e28c(0xda)](_0x148759=>{const _0x586cb0=_0x14e28c;_0x456a6c[_0x586cb0(0xda)](_0x2c1896=>{const _0x5d5cc9=_0x586cb0;let _0x32c778=_0x23e8f3['jyimr'](helper[_0x5d5cc9(0xd1)](_0x2c1896,'_'),'_'+Date[_0x5d5cc9(0xfb)]());_0x148759&&(_0x32c778+='_'+_0x148759);if(_0x148759&&(!_0x359990[_0x23e8f3['fKXNj']]||!_0x359990[_0x23e8f3[_0x5d5cc9(0xb9)]][_0x148759]))return;const _0x12526f={..._0x45489a};_0x12526f[_0x5d5cc9(0xf3)]=_0x2c1896;const _0x2b76d0=_0x12526f;_0x249003[_0x32c778]=_0x148759?helper[_0x5d5cc9(0xf8)](_0x359990[_0x23e8f3[_0x5d5cc9(0xb9)]][_0x148759],_0x2b76d0):_0x2b76d0,_0x299304[_0x5d5cc9(0x100)](_0x32c778);});});!_0x2ab72c['test_settings']&&(_0x2ab72c[_0x14e28c(0xe0)]={});_0x2ab72c[_0x14e28c(0xe0)]={..._0x2ab72c[_0x14e28c(0xe0)],..._0x249003};const _0x463419=path[_0x14e28c(0x103)](__dirname,_0x23e8f3[_0x14e28c(0xe4)]);fs['writeFileSync'](_0x463419,JSON[_0x14e28c(0xd5)](_0x2ab72c)),_0x23e8f3[_0x14e28c(0xdc)](removeExistingEnvs,_0x347e37);const _0x4b76fd=_0x23e8f3[_0x14e28c(0xfd)](spawn,/^win/[_0x14e28c(0xc6)](process[_0x14e28c(0x102)])?_0x23e8f3[_0x14e28c(0xc5)]:_0x23e8f3[_0x14e28c(0xe8)],[_0x23e8f3['LLAAZ'],_0x463419,..._0x347e37[_0x14e28c(0xc0)](0x1),_0x23e8f3[_0x14e28c(0xcc)],_0x299304[_0x14e28c(0x103)](',')],{'stdio':_0x23e8f3['DFxze']});_0x4b76fd['on'](_0x23e8f3[_0x14e28c(0xdb)],async _0x15c230=>{const _0x431bd7=_0x14e28c;logger[_0x431bd7(0xfe)]('child\x20process\x20exited\x20with\x20code\x20'+_0x15c230),logger[_0x431bd7(0xd7)](_0x431bd7(0xf5)+_0x463419),fs[_0x431bd7(0xd9)](_0x463419);});}module['exports']=run;
@@ -1 +1 @@
1
- const a32_0xdcf527=a32_0x148c;(function(_0x98385d,_0x4e078d){const _0x49d607=a32_0x148c,_0x29dd85=_0x98385d();while(!![]){try{const _0xeae132=parseInt(_0x49d607(0x177))/0x1*(-parseInt(_0x49d607(0x16c))/0x2)+-parseInt(_0x49d607(0x14a))/0x3*(-parseInt(_0x49d607(0x15d))/0x4)+parseInt(_0x49d607(0x163))/0x5*(parseInt(_0x49d607(0x134))/0x6)+parseInt(_0x49d607(0x157))/0x7+-parseInt(_0x49d607(0x181))/0x8*(parseInt(_0x49d607(0x138))/0x9)+parseInt(_0x49d607(0x182))/0xa*(-parseInt(_0x49d607(0x143))/0xb)+-parseInt(_0x49d607(0x18e))/0xc;if(_0xeae132===_0x4e078d)break;else _0x29dd85['push'](_0x29dd85['shift']());}catch(_0x2e363f){_0x29dd85['push'](_0x29dd85['shift']());}}}(a32_0x1eae,0x52f2c));const util=require(a32_0xdcf527(0x18a)),logger=require(a32_0xdcf527(0x133))[a32_0xdcf527(0x12e)],{isAccessibilityAutomationSession}=require(a32_0xdcf527(0x16e)),{isUndefined}=require(a32_0xdcf527(0x156)),scripts=require('../../helpers/accessibility-automation/scripts');function a32_0x1eae(){const _0x5003ac=['browser_version','format','iQdLy','accessibilityOptions.authToken','sRavX','accessibilityPlatform','../../helpers/helper','3554691BcPWMj','accessibilityOptions','deviceName','accessibilityOptions.scannerVersion','dDbkz','testInfo','88vTxvga','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','env','BsDoS','evaluate','1787195AKXANR','constructor','RKBeu','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','oisuw','currentTest','bestPractice','XFnxV','IIoox','4HvJTTf','AKeYK','../../helpers/accessibility-automation/helper','latest','bstackSdkArgs','KrFVb','JbIyz','performScan','QbGHv','accessibilityOptions.includeIssueType.bestPractice','nCPVP','46381XaxuMA','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','No\x20accessibility\x20results\x20were\x20found.','nCwHz','FzCfX','tveSo','parse','wcagVersion','debug','method','96OaMDMP','41290KJVfQb','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','platformValidation','WebDriver','dlVCL','accessibilityOptions.includeIssueType.needsReview','cFSTO','scannerProcessingTimeout','util','project','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','lWNDH','6169848JFiFxI','scannerVersion','Playwright','playwright-chromium','warn','connectOptions','getAccessibilityResults','browserName','nuRxf','jqMlW','doEDN','winstonLogger','stringify','browserStackEvaluate','LCekU','executeAsyncScript','../../helpers/logger','6HJJhYQ','browser','Cizpt','accessibilityOptions.wcagVersion','223092XPtZFD','needsReview','name','includeIssueType','YMQoV','yNplz','Ftvam','fFTHC','BS_A11Y_JWT','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','rknor','22hsJEkv','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','XuIJD','aPXyd','getAccessibilityResultsSummary','yHuTq','52791RbIsEE','executeScript','TjOqT','replace','HDAOB','iFxVc'];a32_0x1eae=function(){return _0x5003ac;};return a32_0x1eae();}function a32_0x148c(_0x3d8aed,_0x5e5497){const _0x1eaeae=a32_0x1eae();return a32_0x148c=function(_0x148cee,_0x1de334){_0x148cee=_0x148cee-0x12e;let _0x1190fc=_0x1eaeae[_0x148cee];return _0x1190fc;},a32_0x148c(_0x3d8aed,_0x5e5497);}exports[a32_0xdcf527(0x130)]=async(_0x5d2b68,_0x1fb60b,_0x4ef8c3={})=>{const _0x4cd7db=a32_0xdcf527,_0x481d0b={};_0x481d0b[_0x4cd7db(0x13f)]=_0x4cd7db(0x170);const _0x32256f=_0x481d0b;return await _0x5d2b68[_0x4cd7db(0x162)](_0x4cd7db(0x141)+_0x1fb60b[_0x4cd7db(0x14d)](/arguments/g,_0x32256f[_0x4cd7db(0x13f)])+_0x4cd7db(0x15e)+JSON['stringify'](_0x4ef8c3)+')');},exports['browserStackExecuteDriver']=async(_0x3dfd2c,_0x16501c,_0x4703e5={})=>{const _0x477f65=a32_0xdcf527,_0x434692={};_0x434692[_0x477f65(0x147)]=function(_0x38a104,_0x1d3dc0){return _0x38a104===_0x1d3dc0;},_0x434692[_0x477f65(0x165)]=_0x477f65(0x185),_0x434692[_0x477f65(0x136)]=function(_0x266dd0,_0x5ab3f8){return _0x266dd0===_0x5ab3f8;},_0x434692[_0x477f65(0x174)]=_0x477f65(0x190),_0x434692['dDbkz']=_0x477f65(0x170);const _0x4f49d1=_0x434692;if(_0x4f49d1[_0x477f65(0x147)](_0x3dfd2c[_0x477f65(0x164)][_0x477f65(0x13a)],_0x4f49d1['RKBeu']))return await _0x3dfd2c[_0x477f65(0x132)](_0x16501c,_0x4703e5);else{if(_0x4f49d1['Cizpt'](_0x3dfd2c['constructor'][_0x477f65(0x13a)],_0x4f49d1[_0x477f65(0x174)]))return await _0x3dfd2c[_0x477f65(0x14b)](_0x477f65(0x183)+_0x16501c['replace'](/arguments/g,_0x4f49d1[_0x477f65(0x15b)])+_0x477f65(0x178)+JSON[_0x477f65(0x12f)](_0x4703e5)+')');}},exports['setAccessibilityCapabilities']=async _0x42a77a=>{const _0x4be217=a32_0xdcf527,_0x1f2fac={};_0x1f2fac[_0x4be217(0x17b)]=_0x4be217(0x137),_0x1f2fac['IIoox']='accessibilityOptions.scannerProcessingTimeout',_0x1f2fac['YMQoV']=_0x4be217(0x175),_0x1f2fac['cFSTO']=_0x4be217(0x187),_0x1f2fac[_0x4be217(0x154)]=_0x4be217(0x153),_0x1f2fac[_0x4be217(0x14e)]=_0x4be217(0x15a);const _0xbb44c0=_0x1f2fac;_0x42a77a[_0x4be217(0x158)]&&(_0x42a77a[_0x4be217(0x158)][_0x4be217(0x17e)]&&(_0x42a77a[_0xbb44c0['FzCfX']]=_0x42a77a[_0x4be217(0x158)][_0x4be217(0x17e)]),_0x42a77a[_0x4be217(0x158)][_0x4be217(0x189)]&&(_0x42a77a[_0xbb44c0[_0x4be217(0x16b)]]=_0x42a77a[_0x4be217(0x158)][_0x4be217(0x189)]),_0x42a77a[_0x4be217(0x158)][_0x4be217(0x13b)]&&(_0x42a77a[_0xbb44c0[_0x4be217(0x13c)]]=_0x42a77a[_0x4be217(0x158)][_0x4be217(0x13b)][_0x4be217(0x169)],_0x42a77a[_0xbb44c0[_0x4be217(0x188)]]=_0x42a77a['accessibilityOptions'][_0x4be217(0x13b)][_0x4be217(0x139)]));const _0x4e62eb=JSON[_0x4be217(0x17d)](process[_0x4be217(0x160)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x4be217(0x18f)];_0x42a77a[_0xbb44c0[_0x4be217(0x154)]]=process['env'][_0x4be217(0x140)],_0x42a77a[_0xbb44c0[_0x4be217(0x14e)]]=_0x4e62eb,delete _0x42a77a['accessibilityOptions'];},exports[a32_0xdcf527(0x194)]=async _0x4d84db=>{const _0x51488c=a32_0xdcf527,_0x5a8206={};_0x5a8206[_0x51488c(0x197)]=_0x51488c(0x179),_0x5a8206[_0x51488c(0x13e)]=_0x51488c(0x166);const _0x3d2085=_0x5a8206;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x4d84db,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x4d84db,scripts.getResults);return res;}catch{return logger['error'](_0x3d2085[_0x51488c(0x197)]),[];}else return logger[_0x51488c(0x192)](_0x3d2085[_0x51488c(0x13e)]),[];},exports[a32_0xdcf527(0x173)]=async(_0x21d428,_0x1fea36='')=>{const _0x4cfe35=a32_0xdcf527;if(global[_0x4cfe35(0x155)]){const _0x39ec4a={};return _0x39ec4a[_0x4cfe35(0x180)]=_0x1fea36,await exports[_0x4cfe35(0x130)](_0x21d428,scripts['performScan'],_0x39ec4a);}},exports[a32_0xdcf527(0x148)]=async _0x541e95=>{const _0x40ada3=a32_0xdcf527,_0x29625f={};_0x29625f[_0x40ada3(0x161)]='No\x20summaryResults\x20found.',_0x29625f[_0x40ada3(0x14c)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x131978=_0x29625f;if(global[_0x40ada3(0x155)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x541e95,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x541e95,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x40ada3(0x17f)](_0x131978[_0x40ada3(0x161)]),{};}else return logger[_0x40ada3(0x192)](_0x131978[_0x40ada3(0x14c)]),{};},exports[a32_0xdcf527(0x184)]=async _0xf9e463=>{const _0x185055=a32_0xdcf527,_0x158aa4={'nCPVP':function(_0x3b13de,_0x1dc014){return _0x3b13de!==_0x1dc014;},'KrFVb':_0x185055(0x145),'dlVCL':function(_0x427751,_0x5131a3){return _0x427751===_0x5131a3;},'tveSo':'chrome','tlMyj':_0x185055(0x191),'AKeYK':_0x185055(0x15f),'nuRxf':function(_0x488131,_0x2cb631){return _0x488131(_0x2cb631);},'rknor':'latest','nCwHz':function(_0x598d2c,_0x9b9062){return _0x598d2c>_0x9b9062;},'yHuTq':_0x185055(0x18c)};try{if(!_0x158aa4[_0x185055(0x176)](_0xf9e463[_0x185055(0x159)],''))return logger['warn'](_0x158aa4[_0x185055(0x171)]),![];const _0x46b14c=_0xf9e463[_0x185055(0x135)];if(!(_0x158aa4[_0x185055(0x186)](_0x46b14c,_0x158aa4[_0x185055(0x17c)])||_0x158aa4[_0x185055(0x186)](_0x46b14c,_0x158aa4['tlMyj'])))return logger[_0x185055(0x192)](_0x158aa4[_0x185055(0x16d)]),![];const _0x54d5be=_0x158aa4[_0x185055(0x196)](parseInt,_0xf9e463[_0x185055(0x150)]);if(!(_0x158aa4['dlVCL'](_0x54d5be,_0x158aa4[_0x185055(0x142)])||_0x158aa4[_0x185055(0x17a)](_0x54d5be,0x5e)))return logger[_0x185055(0x192)](_0x158aa4[_0x185055(0x149)]),![];}catch(_0x9c27ad){logger[_0x185055(0x17f)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x185055(0x151)](_0x9c27ad));}return!![];},exports['processAccessibilityCaps']=(_0x2f645a,_0x33aa18,_0x8b3727)=>{const _0x3063ac=a32_0xdcf527,_0x259824={'JbIyz':function(_0x505380){return _0x505380();},'iQdLy':'browserstack.accessibility','XuIJD':function(_0x41bf42,_0x183a4d){return _0x41bf42===_0x183a4d;},'lWNDH':_0x3063ac(0x144),'XFnxV':function(_0x59ca5f,_0x18378d){return _0x59ca5f===_0x18378d;},'ysKkW':_0x3063ac(0x191),'LCekU':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','oisuw':_0x3063ac(0x16f),'yNplz':function(_0x157ad7,_0x32f579){return _0x157ad7>_0x32f579;},'quydX':_0x3063ac(0x18c),'doEDN':function(_0x2a072d,_0x214ff7){return _0x2a072d(_0x214ff7);},'iFxVc':_0x3063ac(0x145),'CTNYA':function(_0x307913,_0x288c92){return _0x307913+_0x288c92;}};try{if(_0x259824[_0x3063ac(0x172)](isAccessibilityAutomationSession)){global[_0x3063ac(0x155)]=!![];!_0x2f645a[_0x259824['iQdLy']]&&(global[_0x3063ac(0x155)]=![]);!(_0x259824[_0x3063ac(0x146)](_0x2f645a['browserName'],_0x259824[_0x3063ac(0x18d)])||_0x259824[_0x3063ac(0x16a)](_0x2f645a[_0x3063ac(0x195)],_0x259824['ysKkW']))&&(logger[_0x3063ac(0x192)](_0x259824[_0x3063ac(0x131)]),global[_0x3063ac(0x155)]=![]);!(_0x259824['XuIJD'](_0x2f645a[_0x3063ac(0x150)],_0x259824[_0x3063ac(0x167)])||_0x259824[_0x3063ac(0x13d)](_0x2f645a[_0x3063ac(0x150)],0x5e))&&(logger[_0x3063ac(0x192)](_0x259824['quydX']),global[_0x3063ac(0x155)]=![]);!_0x259824[_0x3063ac(0x198)](isUndefined,_0x2f645a[_0x3063ac(0x159)])&&(logger['warn'](_0x259824[_0x3063ac(0x14f)]),global[_0x3063ac(0x155)]=![]);if(!global[_0x3063ac(0x155)]){_0x2f645a[_0x259824[_0x3063ac(0x152)]]=![];const _0x2bffd5=_0x259824['CTNYA'](_0x33aa18,_0x259824[_0x3063ac(0x198)](encodeURIComponent,JSON[_0x3063ac(0x12f)](_0x2f645a)));_0x8b3727&&(_0x8b3727[_0x3063ac(0x168)][_0x3063ac(0x15c)][_0x3063ac(0x18b)]['use'][_0x3063ac(0x193)]['wsEndpoint']=_0x2bffd5);}}}catch(_0xb35854){logger[_0x3063ac(0x17f)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0xb35854));}};
1
+ function a32_0x1069(_0x3917cc,_0x1139f9){const _0x2fa591=a32_0x2fa5();return a32_0x1069=function(_0x10694b,_0x2dce88){_0x10694b=_0x10694b-0x15b;let _0x1faaa6=_0x2fa591[_0x10694b];return _0x1faaa6;},a32_0x1069(_0x3917cc,_0x1139f9);}const a32_0x4d5f0a=a32_0x1069;(function(_0x4a2c0d,_0x776ec6){const _0x26d861=a32_0x1069,_0x5b08a8=_0x4a2c0d();while(!![]){try{const _0x40523e=parseInt(_0x26d861(0x17a))/0x1+parseInt(_0x26d861(0x15e))/0x2*(-parseInt(_0x26d861(0x190))/0x3)+parseInt(_0x26d861(0x165))/0x4*(-parseInt(_0x26d861(0x191))/0x5)+-parseInt(_0x26d861(0x179))/0x6*(parseInt(_0x26d861(0x170))/0x7)+-parseInt(_0x26d861(0x185))/0x8*(-parseInt(_0x26d861(0x183))/0x9)+parseInt(_0x26d861(0x17c))/0xa*(parseInt(_0x26d861(0x1b7))/0xb)+-parseInt(_0x26d861(0x1bc))/0xc*(-parseInt(_0x26d861(0x16a))/0xd);if(_0x40523e===_0x776ec6)break;else _0x5b08a8['push'](_0x5b08a8['shift']());}catch(_0x322c18){_0x5b08a8['push'](_0x5b08a8['shift']());}}}(a32_0x2fa5,0x8ffa5));const util=require('util'),logger=require('../../helpers/logger')[a32_0x4d5f0a(0x1ba)],{isAccessibilityAutomationSession}=require(a32_0x4d5f0a(0x17b)),{isUndefined}=require(a32_0x4d5f0a(0x161)),scripts=require(a32_0x4d5f0a(0x187));function a32_0x2fa5(){const _0x3e1066=['WKJHB','ftigJ','otblr','IgdHj','accessibilityOptions','nEDXL','browserName','DnchR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityPlatform','hIfzU','executeAsyncScript','QJGrT','UeNsc','kQLHo','testInfo','7317299QGgenI','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','FDJaE','winstonLogger','Playwright','1322976GkLVyP','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','vmiws','includeIssueType','scannerVersion','85910jgMBHN','jExpa','browserStackEvaluate','../../helpers/helper','bestPractice','error','bstackSdkArgs','404OCbOdX','browserstack.accessibility','NMqAb','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','tXGwr','143fPyLSC','NDYAV','playwright-chromium','name','accessibilityOptions.includeIssueType.bestPractice','sgzme','3960159SYmHwG','WfytB','scannerProcessingTimeout','ACsVO','WBFDf','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','env','schoS','ZcOAq','6VRxNAU','402179AlYczV','../../helpers/accessibility-automation/helper','10gMvqXd','format','chrome','constructor','accessibilityOptions.wcagVersion','latest','currentTest','1960092XNhJlH','browserStackExecuteDriver','8SeupDt','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../../helpers/accessibility-automation/scripts','buNoN','Ticyf','WebDriver','performScan','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','dRwIu','wcagVersion','CfxUR','75CvpTrT','13295GklMAs','setAccessibilityCapabilities','accessibilityOptions.scannerVersion','EuGZa','KUxEy','debug','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','replace','warn','YAHWd','browser_version','project','hxCdf','needsReview','accessibilityOptions.authToken','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','EQqbU','method','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','deviceName','JMzqB','OgVet'];a32_0x2fa5=function(){return _0x3e1066;};return a32_0x2fa5();}exports['browserStackEvaluate']=async(_0x31d1b1,_0x2aedcc,_0x1ad3a7={})=>{const _0xa490ae=a32_0x4d5f0a,_0x4c781c={};_0x4c781c[_0xa490ae(0x194)]='bstackSdkArgs';const _0x3143f1=_0x4c781c;return await _0x31d1b1['evaluate'](_0xa490ae(0x1b8)+_0x2aedcc[_0xa490ae(0x198)](/arguments/g,_0x3143f1[_0xa490ae(0x194)])+_0xa490ae(0x168)+JSON['stringify'](_0x1ad3a7)+')');},exports[a32_0x4d5f0a(0x184)]=async(_0x3a7e8d,_0x5aac51,_0x1e32d6={})=>{const _0x5253bf=a32_0x4d5f0a,_0x3d770e={};_0x3d770e[_0x5253bf(0x167)]=function(_0x36487e,_0x2d1e1d){return _0x36487e===_0x2d1e1d;},_0x3d770e['WKJHB']=_0x5253bf(0x18a),_0x3d770e[_0x5253bf(0x1b5)]=function(_0x295a1e,_0x24bf84){return _0x295a1e===_0x24bf84;},_0x3d770e[_0x5253bf(0x1a5)]=_0x5253bf(0x1bb),_0x3d770e['sgzme']=_0x5253bf(0x164);const _0x1e8da9=_0x3d770e;if(_0x1e8da9['NMqAb'](_0x3a7e8d[_0x5253bf(0x17f)][_0x5253bf(0x16d)],_0x1e8da9[_0x5253bf(0x1a7)]))return await _0x3a7e8d[_0x5253bf(0x1b2)](_0x5aac51,_0x1e32d6);else{if(_0x1e8da9[_0x5253bf(0x1b5)](_0x3a7e8d['constructor'][_0x5253bf(0x16d)],_0x1e8da9[_0x5253bf(0x1a5)]))return await _0x3a7e8d['executeScript'](_0x5253bf(0x1bd)+_0x5aac51[_0x5253bf(0x198)](/arguments/g,_0x1e8da9[_0x5253bf(0x16f)])+_0x5253bf(0x1a3)+JSON['stringify'](_0x1e32d6)+')');}},exports[a32_0x4d5f0a(0x192)]=async _0x4d38ec=>{const _0x17ee37=a32_0x4d5f0a,_0x434d74={};_0x434d74[_0x17ee37(0x1a1)]=_0x17ee37(0x180),_0x434d74[_0x17ee37(0x1ac)]='accessibilityOptions.scannerProcessingTimeout',_0x434d74[_0x17ee37(0x18f)]=_0x17ee37(0x16e),_0x434d74[_0x17ee37(0x178)]='accessibilityOptions.includeIssueType.needsReview',_0x434d74['yibZS']=_0x17ee37(0x19f),_0x434d74[_0x17ee37(0x18d)]=_0x17ee37(0x193);const _0x37cae4=_0x434d74;_0x4d38ec[_0x17ee37(0x1ab)]&&(_0x4d38ec[_0x17ee37(0x1ab)][_0x17ee37(0x18e)]&&(_0x4d38ec[_0x37cae4[_0x17ee37(0x1a1)]]=_0x4d38ec[_0x17ee37(0x1ab)][_0x17ee37(0x18e)]),_0x4d38ec[_0x17ee37(0x1ab)][_0x17ee37(0x172)]&&(_0x4d38ec[_0x37cae4[_0x17ee37(0x1ac)]]=_0x4d38ec[_0x17ee37(0x1ab)]['scannerProcessingTimeout']),_0x4d38ec[_0x17ee37(0x1ab)][_0x17ee37(0x15c)]&&(_0x4d38ec[_0x37cae4[_0x17ee37(0x18f)]]=_0x4d38ec[_0x17ee37(0x1ab)]['includeIssueType'][_0x17ee37(0x162)],_0x4d38ec[_0x37cae4['ZcOAq']]=_0x4d38ec[_0x17ee37(0x1ab)][_0x17ee37(0x15c)][_0x17ee37(0x19e)]));const _0x3e44aa=JSON['parse'](process[_0x17ee37(0x176)][_0x17ee37(0x18c)])[_0x17ee37(0x15d)];_0x4d38ec[_0x37cae4['yibZS']]=process[_0x17ee37(0x176)]['BS_A11Y_JWT'],_0x4d38ec[_0x37cae4[_0x17ee37(0x18d)]]=_0x3e44aa,delete _0x4d38ec[_0x17ee37(0x1ab)];},exports['getAccessibilityResults']=async _0x299166=>{const _0x355894=a32_0x4d5f0a,_0x121aa4={};_0x121aa4[_0x355894(0x1b4)]='No\x20accessibility\x20results\x20were\x20found.',_0x121aa4[_0x355894(0x188)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x10a1d1=_0x121aa4;if(global[_0x355894(0x1b0)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x299166,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x299166,scripts.getResults);return res;}catch{return logger[_0x355894(0x163)](_0x10a1d1[_0x355894(0x1b4)]),[];}else return logger[_0x355894(0x199)](_0x10a1d1[_0x355894(0x188)]),[];},exports[a32_0x4d5f0a(0x18b)]=async(_0x46c14f,_0x1c528d='')=>{const _0x3d96fd=a32_0x4d5f0a;if(global[_0x3d96fd(0x1b0)]){const _0x5a3287={};return _0x5a3287[_0x3d96fd(0x1a2)]=_0x1c528d,await exports[_0x3d96fd(0x160)](_0x46c14f,scripts[_0x3d96fd(0x18b)],_0x5a3287);}},exports['getAccessibilityResultsSummary']=async _0x6bba4b=>{const _0x2c474c=a32_0x4d5f0a,_0x302bb5={};_0x302bb5[_0x2c474c(0x1ae)]='No\x20summaryResults\x20found.',_0x302bb5[_0x2c474c(0x195)]=_0x2c474c(0x175);const _0x12562e=_0x302bb5;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x6bba4b,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x6bba4b,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x2c474c(0x196)](_0x12562e['DnchR']),{};}else return logger[_0x2c474c(0x199)](_0x12562e[_0x2c474c(0x195)]),{};},exports['platformValidation']=async _0x79518c=>{const _0x38b2f6=a32_0x4d5f0a,_0x7acc89={'hIfzU':function(_0x457689,_0x28b22e){return _0x457689!==_0x28b22e;},'QJGrT':_0x38b2f6(0x186),'schoS':function(_0x2d3a9f,_0x4524d5){return _0x2d3a9f===_0x4524d5;},'vmiws':_0x38b2f6(0x17e),'FDJaE':_0x38b2f6(0x16c),'TaMVz':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','hxCdf':function(_0x571728,_0x29e29f){return _0x571728(_0x29e29f);},'WfytB':_0x38b2f6(0x181),'GXSYa':function(_0x5ce613,_0x529433){return _0x5ce613>_0x529433;},'Ticyf':_0x38b2f6(0x1a0)};try{if(!_0x7acc89[_0x38b2f6(0x1b1)](_0x79518c[_0x38b2f6(0x1a4)],''))return logger['warn'](_0x7acc89[_0x38b2f6(0x1b3)]),![];const _0xe2829b=_0x79518c['browser'];if(!(_0x7acc89['schoS'](_0xe2829b,_0x7acc89[_0x38b2f6(0x15b)])||_0x7acc89[_0x38b2f6(0x177)](_0xe2829b,_0x7acc89[_0x38b2f6(0x1b9)])))return logger['warn'](_0x7acc89['TaMVz']),![];const _0x17730b=_0x7acc89[_0x38b2f6(0x19d)](parseInt,_0x79518c['browser_version']);if(!(_0x7acc89[_0x38b2f6(0x177)](_0x17730b,_0x7acc89[_0x38b2f6(0x171)])||_0x7acc89['GXSYa'](_0x17730b,0x5e)))return logger['warn'](_0x7acc89[_0x38b2f6(0x189)]),![];}catch(_0x4ce434){logger[_0x38b2f6(0x196)](_0x38b2f6(0x197)+util[_0x38b2f6(0x17d)](_0x4ce434));}return!![];},exports['processAccessibilityCaps']=(_0x50f5bc,_0x4095dd,_0x4b648c)=>{const _0x56665e=a32_0x4d5f0a,_0x3c9b09={'pwllt':function(_0xbc68da){return _0xbc68da();},'otblr':_0x56665e(0x166),'OgVet':function(_0xc949d5,_0x4bd65f){return _0xc949d5===_0x4bd65f;},'utqQN':_0x56665e(0x17e),'IgdHj':_0x56665e(0x16c),'YPbWw':_0x56665e(0x1af),'NDYAV':function(_0x450af5,_0x4385f9){return _0x450af5===_0x4385f9;},'kYigC':_0x56665e(0x181),'ACsVO':function(_0x514a55,_0x127416){return _0x514a55>_0x127416;},'jExpa':_0x56665e(0x1a0),'WBFDf':function(_0x4139c0,_0x3a3cc4){return _0x4139c0(_0x3a3cc4);},'tXGwr':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','ftigJ':function(_0x35d299,_0x266c48){return _0x35d299+_0x266c48;},'YAHWd':function(_0x3b78a8,_0x273cc6){return _0x3b78a8(_0x273cc6);}};try{if(_0x3c9b09['pwllt'](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x50f5bc[_0x3c9b09[_0x56665e(0x1a9)]]&&(global[_0x56665e(0x1b0)]=![]);!(_0x3c9b09[_0x56665e(0x1a6)](_0x50f5bc[_0x56665e(0x1ad)],_0x3c9b09['utqQN'])||_0x3c9b09[_0x56665e(0x1a6)](_0x50f5bc[_0x56665e(0x1ad)],_0x3c9b09[_0x56665e(0x1aa)]))&&(logger[_0x56665e(0x199)](_0x3c9b09['YPbWw']),global[_0x56665e(0x1b0)]=![]);!(_0x3c9b09[_0x56665e(0x16b)](_0x50f5bc[_0x56665e(0x19b)],_0x3c9b09['kYigC'])||_0x3c9b09[_0x56665e(0x173)](_0x50f5bc['browser_version'],0x5e))&&(logger['warn'](_0x3c9b09[_0x56665e(0x15f)]),global[_0x56665e(0x1b0)]=![]);!_0x3c9b09[_0x56665e(0x174)](isUndefined,_0x50f5bc[_0x56665e(0x1a4)])&&(logger[_0x56665e(0x199)](_0x3c9b09[_0x56665e(0x169)]),global[_0x56665e(0x1b0)]=![]);if(!global['accessibilityPlatform']){_0x50f5bc[_0x3c9b09['otblr']]=![];const _0x113604=_0x3c9b09[_0x56665e(0x1a8)](_0x4095dd,_0x3c9b09[_0x56665e(0x19a)](encodeURIComponent,JSON['stringify'](_0x50f5bc)));_0x4b648c&&(_0x4b648c[_0x56665e(0x182)][_0x56665e(0x1b6)][_0x56665e(0x19c)]['use']['connectOptions']['wsEndpoint']=_0x113604);}}}catch(_0x5d5852){logger[_0x56665e(0x196)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x56665e(0x17d)](_0x5d5852));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x5a8e48=a33_0x3f75;function a33_0x3f75(_0x9abc53,_0x2847e9){const _0x4ccb88=a33_0x4ccb();return a33_0x3f75=function(_0x3f750e,_0xbefef){_0x3f750e=_0x3f750e-0x1ad;let _0x19a3e4=_0x4ccb88[_0x3f750e];return _0x19a3e4;},a33_0x3f75(_0x9abc53,_0x2847e9);}(function(_0x21cf3c,_0x355ca8){const _0xa350db=a33_0x3f75,_0x3a544e=_0x21cf3c();while(!![]){try{const _0x13716a=-parseInt(_0xa350db(0x1be))/0x1*(-parseInt(_0xa350db(0x1ea))/0x2)+-parseInt(_0xa350db(0x251))/0x3+-parseInt(_0xa350db(0x1b7))/0x4+parseInt(_0xa350db(0x1b3))/0x5*(-parseInt(_0xa350db(0x24d))/0x6)+-parseInt(_0xa350db(0x25c))/0x7+-parseInt(_0xa350db(0x20d))/0x8*(-parseInt(_0xa350db(0x277))/0x9)+-parseInt(_0xa350db(0x1ce))/0xa*(-parseInt(_0xa350db(0x22b))/0xb);if(_0x13716a===_0x355ca8)break;else _0x3a544e['push'](_0x3a544e['shift']());}catch(_0x11d55b){_0x3a544e['push'](_0x3a544e['shift']());}}}(a33_0x4ccb,0x25191));const fs=require('fs'),path=require(a33_0x5a8e48(0x1d2)),os=require('os'),{spawn}=require('child_process'),{format}=require('util'),logger=require(a33_0x5a8e48(0x247))[a33_0x5a8e48(0x1d5)],{default:BrowserStackSetup}=require(a33_0x5a8e48(0x274)),helper=require(a33_0x5a8e48(0x267)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a33_0x5a8e48(0x236)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x5a8e48(0x272)),{CrashReporter,o11yErrorHandler}=require(a33_0x5a8e48(0x1af)),{getFrameworkVersion}=require(a33_0x5a8e48(0x209)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x5a8e48(0x1ec)),{setAccessibilityCapabilities}=require(a33_0x5a8e48(0x217)),SessionHandler=require(a33_0x5a8e48(0x232));async function requireOrImportDefaultObject(_0x52404a){const _0x7bc6c8=a33_0x5a8e48,_0x1224f1={'UhBJD':function(_0x1a6934){return _0x1a6934();},'fEFqh':function(_0x521e26,_0x4a15a8){return _0x521e26(_0x4a15a8);},'ttBpf':function(_0x2fb24d,_0x5ea55e){return _0x2fb24d===_0x5ea55e;},'NcHJi':_0x7bc6c8(0x1de),'mFKEe':function(_0x5e54ae,_0x185a21){return _0x5e54ae in _0x185a21;},'trdaa':'default'},{requireOrImport:_0x554d8e}=helper[_0x7bc6c8(0x225)][_0x7bc6c8(0x278)](null,_0x1224f1['UhBJD'](getTransformPath));let _0x29279b=await _0x1224f1[_0x7bc6c8(0x227)](_0x554d8e,_0x52404a);return _0x29279b&&_0x1224f1['ttBpf'](typeof _0x29279b,_0x1224f1[_0x7bc6c8(0x210)])&&_0x1224f1[_0x7bc6c8(0x1e9)](_0x1224f1[_0x7bc6c8(0x259)],_0x29279b)&&(_0x29279b=_0x29279b[_0x1224f1[_0x7bc6c8(0x259)]]),_0x29279b;}const getUserPlaywrightConfig=async(_0x45e9be,_0x1b7e8b)=>{const _0x1c9856=a33_0x5a8e48,_0x4e707a={'hgtMM':function(_0x24ebe4){return _0x24ebe4();},'EIYsY':function(_0x550e31,_0x5ab10c){return _0x550e31(_0x5ab10c);},'RWvDe':_0x1c9856(0x22a),'lDiBa':_0x1c9856(0x1f7),'xbpTv':_0x1c9856(0x1ae)},_0x4f20c9=!helper[_0x1c9856(0x1b0)](_0x45e9be[_0x1c9856(0x1dd)]),_0xa93f0=_0x4f20c9?path[_0x1c9856(0x23d)](process[_0x1c9856(0x229)](),_0x45e9be[_0x1c9856(0x1dd)]):process[_0x1c9856(0x229)](),{resolveConfigFile:_0x38cc67}=helper[_0x1c9856(0x225)][_0x1c9856(0x278)](null,_0x4e707a[_0x1c9856(0x252)](getConfigLoaderPath)),_0x30598f=_0x4e707a[_0x1c9856(0x1db)](_0x38cc67,_0xa93f0);let _0x362a02={};if(_0x30598f){logger['info'](_0x1c9856(0x1b9)+_0x30598f);try{_0x362a02=await _0x4e707a[_0x1c9856(0x1db)](requireOrImportDefaultObject,_0x30598f);}catch(_0x126b62){return logger[_0x1c9856(0x1d0)](_0x4e707a[_0x1c9856(0x24c)],_0x126b62),null;}}else logger[_0x1c9856(0x1d9)](_0x4e707a[_0x1c9856(0x1b8)]);if(_0x4f20c9){const _0x295aa2=_0x1b7e8b[_0x1c9856(0x208)](_0x325022=>_0x325022===_0x1c9856(0x23e)||_0x325022==='-c'||_0x325022[_0x1c9856(0x1f8)](_0x1c9856(0x1ae)));_0x1b7e8b[_0x1c9856(0x219)](_0x295aa2,_0x1b7e8b[_0x295aa2]['startsWith'](_0x4e707a[_0x1c9856(0x1b2)])?0x1:0x2);}const _0x583484={};return _0x583484[_0x1c9856(0x1d2)]=_0x30598f,_0x583484['config']=_0x362a02,_0x583484;},setGlobalSetup=(_0x179c5b,_0x46c812)=>{const _0x52d41e=a33_0x5a8e48,_0x258c29={'qgraD':_0x52d41e(0x26f),'KQvxk':_0x52d41e(0x1bc),'iWAZh':function(_0x4a44e5,_0xba4d94){return _0x4a44e5+_0xba4d94;},'PnFPV':_0x52d41e(0x268),'YDMUj':function(_0x498f4f,_0x5aa3a9){return _0x498f4f(_0x5aa3a9);},'LHBRa':_0x52d41e(0x26b)};if(!_0x179c5b)return![];try{if(_0x179c5b[_0x52d41e(0x26f)]){let _0x34b7da;const _0xf0de0c=path[_0x52d41e(0x23d)](_0x46c812,_0x179c5b[_0x258c29[_0x52d41e(0x1ff)]]);if(fs[_0x52d41e(0x215)](_0xf0de0c))_0x34b7da=_0xf0de0c;else{const _0x422de0={};_0x422de0[_0x52d41e(0x24f)]=[_0x46c812],_0x34b7da=require[_0x52d41e(0x23d)](_0x179c5b[_0x258c29['qgraD']],_0x422de0);}if(!_0x34b7da)throw new Error(_0x258c29[_0x52d41e(0x226)]);process[_0x52d41e(0x21d)][_0x52d41e(0x21b)]=_0x34b7da;}}catch(_0x2b20ca){logger['error'](_0x258c29['iWAZh'](_0x258c29['PnFPV'],_0x258c29[_0x52d41e(0x27d)](format,_0x2b20ca)));}return _0x179c5b['globalSetup']=require[_0x52d41e(0x23d)](_0x258c29['LHBRa']),!![];},addReporter=_0x3db690=>{const _0x57d278=a33_0x5a8e48,_0x4d366b={};_0x4d366b[_0x57d278(0x1c5)]=_0x57d278(0x249),_0x4d366b['yibpO']='reporter',_0x4d366b[_0x57d278(0x25b)]=function(_0x1647b2,_0x45eb72){return _0x1647b2===_0x45eb72;},_0x4d366b['nepTL']='string',_0x4d366b[_0x57d278(0x205)]=_0x57d278(0x1de);const _0x3b9746=_0x4d366b,_0x2d0be0=path[_0x57d278(0x1fc)](__dirname,_0x3b9746[_0x57d278(0x1c5)]),_0x52d56b=[_0x2d0be0];if(helper['isUndefined'](_0x3db690[_0x3b9746[_0x57d278(0x1e0)]]))_0x3db690[_0x3b9746[_0x57d278(0x1e0)]]=[_0x52d56b];else{if(_0x3b9746[_0x57d278(0x25b)](typeof _0x3db690[_0x3b9746[_0x57d278(0x1e0)]],_0x3b9746['nepTL']))_0x3db690[_0x3b9746['yibpO']]=[[_0x3db690[_0x3b9746['yibpO']]],_0x52d56b];else _0x3b9746['vONkF'](typeof _0x3db690[_0x3b9746[_0x57d278(0x1e0)]],_0x3b9746[_0x57d278(0x205)])&&_0x3db690[_0x3b9746['yibpO']][_0x57d278(0x27b)](_0x52d56b);}},handleO11yRerun=_0x2b52a7=>{const _0x530738=a33_0x5a8e48,_0x59c2c8={};_0x59c2c8[_0x530738(0x23b)]=function(_0xb86f77,_0x45eb7e){return _0xb86f77!==_0x45eb7e;},_0x59c2c8[_0x530738(0x1f5)]=_0x530738(0x26e),_0x59c2c8['EoTGs']=_0x530738(0x1c4);const _0xea622f=_0x59c2c8,_0x2bbbba=helper['isTrue'](process['env'][_0x530738(0x1b5)]);if(_0x2bbbba){const _0x1330b1=process[_0x530738(0x21d)][_0x530738(0x1ed)],_0x197262=[];if(_0xea622f[_0x530738(0x23b)](_0x1330b1,_0xea622f[_0x530738(0x1f5)])&&!helper[_0x530738(0x1b0)](_0x1330b1)){_0x1330b1[_0x530738(0x20b)](',')[_0x530738(0x212)](_0x44a029=>{const _0x251d22=_0x530738;_0x197262[_0x251d22(0x27b)]('('+_0x44a029[_0x251d22(0x237)]()+')');});const _0x8ecb1='^'+_0x197262[_0x530738(0x1fc)]('|')+'$';_0x2b52a7['push'](_0xea622f[_0x530738(0x1e1)],_0x8ecb1);}}},spawnOriginalProcess=_0x46c8fe=>{const _0x1ec684=a33_0x5a8e48,_0x594200={'iRdAR':function(_0x317754,_0x42d2ec,_0x39a821,_0x120ed2){return _0x317754(_0x42d2ec,_0x39a821,_0x120ed2);},'nWIXa':'npx','wZbfK':_0x1ec684(0x207),'NCvqx':function(_0x57eac8,_0x2410de){return _0x57eac8===_0x2410de;},'iyGMs':_0x1ec684(0x1da),'HhSfY':_0x1ec684(0x258)};_0x594200[_0x1ec684(0x26d)](spawn,_0x594200[_0x1ec684(0x243)],[_0x594200[_0x1ec684(0x22e)],..._0x46c8fe[_0x1ec684(0x279)](0x1)],{'shell':_0x594200[_0x1ec684(0x1bd)](process[_0x1ec684(0x260)],_0x594200[_0x1ec684(0x254)]),'stdio':_0x594200[_0x1ec684(0x246)],'cwd':process[_0x1ec684(0x229)]()});},isTestCommand=(_0x2733b3,_0x4c64a3)=>{const _0x5a9a62=a33_0x5a8e48,_0x2db66a={};_0x2db66a['IezAt']=function(_0x4a0b6d,_0x728baa){return _0x4a0b6d>_0x728baa;},_0x2db66a['etGqE']=function(_0x47d4f9,_0x9f4f77){return _0x47d4f9===_0x9f4f77;},_0x2db66a[_0x5a9a62(0x1f3)]='test';const _0x1e2f06=_0x2db66a;if(_0x1e2f06[_0x5a9a62(0x1f9)](_0x4c64a3[_0x5a9a62(0x264)],0x1)&&_0x1e2f06[_0x5a9a62(0x214)](_0x4c64a3[0x1],_0x1e2f06[_0x5a9a62(0x1f3)]))return!![];return![];},initO11yCrashReporter=(_0x5478db,_0x54f342)=>{const _0x204cc8=a33_0x5a8e48,_0x2b0b98={'EaXWH':function(_0x4029af,_0xd8a80e){return _0x4029af(_0xd8a80e);}},_0x320c53={'frameworkName':FRAMEWORKS[_0x204cc8(0x224)],'frameworkVersion':_0x2b0b98[_0x204cc8(0x262)](getFrameworkVersion,FRAMEWORKS[_0x204cc8(0x224)])};CrashReporter[_0x204cc8(0x1ba)](_0x320c53,_0x5478db,_0x54f342);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x4e5673){const _0x87114f=a33_0x5a8e48,_0x525d46={};_0x525d46['qXHUk']=function(_0x3bfb8b,_0x2aaa65){return _0x3bfb8b>_0x2aaa65;},_0x525d46[_0x87114f(0x25e)]=function(_0x43f94e,_0x2473cb){return _0x43f94e===_0x2473cb;};const _0x44b10c=_0x525d46;if(!_0x4e5673||_0x44b10c[_0x87114f(0x21e)](_0x4e5673['length'],0x1)&&_0x44b10c[_0x87114f(0x25e)](_0x4e5673[0x0],null))return process[_0x87114f(0x21d)][_0x87114f(0x200)]=![],![];return!![];});function a33_0x4ccb(){const _0x495fa6=['PhNja','BROWSERSTACK_AUTOMATION','hZuAW','yWaiS','zUqgb','39660qYVkgl','playwright-browserstack-sdk.config.cjs','error','filterBrowserstackConfig','path','QrHze','iGAPD','winstonLogger','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','concat','testIgnore','info','win32','EIYsY','argv','config','object','BouHq','yibpO','EoTGs','.browserstack','testContextOptions','SMNHA','cliConfig','qJybE','dPnRS','iyMmg','mFKEe','2wGRjGR','pw_result.json','../../helpers/accessibility-automation/helper','BROWSERSTACK_RERUN_TESTS','includes','mvUbF','isTrue','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','_internal','otgvg','accessibilityOptions','FyvQT','wWdmT','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','startsWith','IezAt','debug','true','join','UDfuU','unlinkSync','qgraD','BROWSERSTACK_TEST_OBSERVABILITY','oybPO','--disable-browserstack-automation','parse','browserstackSetupConfig.json','OCkaQ','0|6|8|5|4|1|3|2|7','playwright','findIndex','../../helpers/test-observability/utils','automation','split','RMAHY','24XnKbNb','Uwhqj','skipSessionName','NcHJi','FDmKx','map','errorMessage','etGqE','existsSync','clearTempPWConfig','./accessibility-helper','WvQco','splice','ugzlg','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','lgRab','env','qXHUk','rJNDC','SbiQZ','gEDhp','readFileSync','indexOf','PLAYWRIGHT','requirePWModule','KQvxk','fEFqh','getProxyUrl','cwd','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','2013PlTKGQ','getConfigPath','logLevel','wZbfK','vQzZn','testObservability','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/test-observability/sessionHandler','close','uDioX','coSls','../../helpers/test-observability/constants','trim','oXFEN','finalExecution','pMGlM','iLjXC','project','resolve','--config','accessibility','Playwright\x20process\x20exited\x20with\x20code\x20','BrowserStack\x20config\x20file\x20not\x20found.','HrJOe','nWIXa','nkOZz','yUhaC','HhSfY','../../helpers/logger','BROWSERSTACK_TEST_ACCESSIBILITY_YML','./reporter/reporter.js','uFksS','collectFilesForProject','RWvDe','171894GHGnsy','IALye','paths','false','304323OOhAJq','hgtMM','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','iyGMs','launch','isFalse','dirname','inherit','trdaa','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','vONkF','865270DuYouk','playwright-browserstack-sdk.config.js','Uwuhs','vmaRg','platform','WMzaR','EaXWH','stringify','length','Error\x20in\x20getting\x20funnel\x20data\x20results','test','../../helpers/helper','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','Error\x20in\x20deleting\x20playwright\x20results','BROWSERSTACK_PW_CONFIG_DIR','./globalSetup.js','getPackageType','iRdAR','null','globalSetup','homedir','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','./reporter/pwUtils','xrRKF','../../helpers/BrowserStackSetup','serializeToYamlString','Deleting\x20','222912sjqzEW','apply','slice','@playwright/test','push','yeAVJ','YDMUj','KCdYT','--config=','../../helpers/test-observability/error-handler','isUndefined','VYrVI','xbpTv','50lTzZrI','USER_CONFIG_DETAILS_PATH','BROWSERSTACK_RERUN','npx','811684zArUIP','lDiBa','Getting\x20your\x20playwright\x20config\x20from\x20','initialize','xzgDV','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','NCvqx','66333zbmCZu','filter','testMatch','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','AKPUE','testDir','--grep','mNxdH','writeFileSync','KqCmh','exports'];a33_0x4ccb=function(){return _0x495fa6;};return a33_0x4ccb();}async function run(_0x29391e,_0x49575b){const _0x8f1d45=a33_0x5a8e48,_0x1a34b5={'FDmKx':_0x8f1d45(0x1e2),'hZuAW':_0x8f1d45(0x1eb),'KqCmh':function(_0xd99831,_0x3ad527){return _0xd99831+_0x3ad527;},'wWdmT':_0x8f1d45(0x265),'AKPUE':_0x8f1d45(0x206),'yeAVJ':function(_0x49b73f){return _0x49b73f();},'oXFEN':function(_0x4928ef,_0x3c2f11){return _0x4928ef(_0x3c2f11);},'rJNDC':'Error\x20in\x20closing\x20playwright','xrRKF':_0x8f1d45(0x202),'xzgDV':_0x8f1d45(0x250),'SMNHA':'--disable-test-observability','coSls':function(_0x2d4e31,_0x1b50fa){return _0x2d4e31>=_0x1b50fa;},'BouHq':_0x8f1d45(0x269),'pMGlM':function(_0x12356c,_0xebb4b0,_0x48138e){return _0x12356c(_0xebb4b0,_0x48138e);},'Uwhqj':function(_0x5630a4,_0x1c2830){return _0x5630a4(_0x1c2830);},'SbiQZ':_0x8f1d45(0x241),'ugzlg':_0x8f1d45(0x20a),'KCdYT':function(_0x5beb75,_0x1520e4){return _0x5beb75!=_0x1520e4;},'oKALJ':'4|3|1|0|2','yWaiS':function(_0x387790,_0x5e42f3){return _0x387790(_0x5e42f3);},'gEDhp':function(_0x5427c6,_0xb8d210){return _0x5427c6(_0xb8d210);},'rXxfI':function(_0x3b0662,_0x4bfc46){return _0x3b0662(_0x4bfc46);},'qJybE':_0x8f1d45(0x271),'QrHze':function(_0x3e8846,_0x13c252){return _0x3e8846===_0x13c252;},'uDioX':_0x8f1d45(0x1fb),'NacrD':function(_0x3f7a1d,_0x143f79){return _0x3f7a1d(_0x143f79);},'uFksS':function(_0x4688b9,_0x4aebd9,_0x44eea4){return _0x4688b9(_0x4aebd9,_0x44eea4);},'zUqgb':_0x8f1d45(0x27a),'WDaHE':function(_0x4a8542,_0x2bebbf){return _0x4a8542(_0x2bebbf);},'tmdxk':function(_0x1c51d1,_0xadc92b){return _0x1c51d1===_0xadc92b;},'vmaRg':_0x8f1d45(0x204),'mvUbF':'testDir','oybPO':_0x8f1d45(0x1c0),'RMAHY':_0x8f1d45(0x1d8),'PhNja':_0x8f1d45(0x253),'UDfuU':function(_0x135359,_0x4a9a29){return _0x135359===_0x4a9a29;},'lgRab':_0x8f1d45(0x1cf),'dPnRS':_0x8f1d45(0x25d),'WMzaR':function(_0x5412af,_0xa2bd44){return _0x5412af>_0xa2bd44;},'yUhaC':function(_0x3a5410,_0x28f0fc){return _0x3a5410+_0x28f0fc;},'iyMmg':function(_0x5dd4e6,_0x18d2bd,_0x4d09ba,_0x36bc7b){return _0x5dd4e6(_0x18d2bd,_0x4d09ba,_0x36bc7b);},'nkOZz':_0x8f1d45(0x1b6),'vQzZn':'playwright','iGAPD':_0x8f1d45(0x266),'VYrVI':_0x8f1d45(0x23e),'HrJOe':_0x8f1d45(0x1da),'WvQco':_0x8f1d45(0x258),'IALye':_0x8f1d45(0x233)};!helper[_0x8f1d45(0x256)](process[_0x8f1d45(0x21d)][_0x8f1d45(0x1ca)])&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x8f1d45(0x1dc)][_0x8f1d45(0x1ee)](_0x1a34b5[_0x8f1d45(0x273)])&&(process[_0x8f1d45(0x21d)][_0x8f1d45(0x1ca)]=_0x1a34b5[_0x8f1d45(0x1bb)],_0x49575b=_0x49575b['filter'](_0x52d4b5=>_0x52d4b5!==_0x8f1d45(0x202)));const _0x1cd986=_0x49575b[_0x8f1d45(0x223)](_0x1a34b5[_0x8f1d45(0x1e4)]);_0x1a34b5[_0x8f1d45(0x235)](_0x1cd986,0x0)&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x1a34b5['xzgDV'],_0x49575b=_0x49575b[_0x8f1d45(0x1bf)](_0x58d7fe=>_0x58d7fe!=='--disable-test-observability'));try{const _0x3f0929=path[_0x8f1d45(0x1fc)](helper[_0x8f1d45(0x270)](),_0x1a34b5['FDmKx'],_0x1a34b5[_0x8f1d45(0x1cb)]);fs[_0x8f1d45(0x215)](_0x3f0929)&&fs['unlinkSync'](_0x3f0929);}catch(_0x452e56){logger[_0x8f1d45(0x1fa)](_0x1a34b5[_0x8f1d45(0x1c7)](_0x1a34b5[_0x8f1d45(0x1df)],_0x452e56));}if(!_0x1a34b5['pMGlM'](isTestCommand,_0x29391e,_0x49575b)){_0x1a34b5[_0x8f1d45(0x20e)](spawnOriginalProcess,_0x49575b);return;}const _0x532fec=new BrowserStackSetup(_0x29391e,FRAMEWORKS['PLAYWRIGHT']);if(!_0x532fec[_0x8f1d45(0x1dd)]){logger[_0x8f1d45(0x1d0)](_0x1a34b5[_0x8f1d45(0x220)]);return;}await _0x532fec['initialize']();!helper['isUndefined'](_0x532fec[_0x8f1d45(0x1e5)])&&_0x532fec['cliConfig']['has'](_0x1a34b5[_0x8f1d45(0x21a)])&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_AUTOMATION']=_0x532fec[_0x8f1d45(0x1e5)]['get'](_0x1a34b5[_0x8f1d45(0x21a)])||!![]);_0x1a34b5[_0x8f1d45(0x1ad)](_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x230)],null)&&!helper[_0x8f1d45(0x1f0)](process[_0x8f1d45(0x21d)][_0x8f1d45(0x200)])&&(process[_0x8f1d45(0x21d)][_0x8f1d45(0x200)]=process[_0x8f1d45(0x21d)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x230)]);const _0x4fa248=!helper[_0x8f1d45(0x256)](process[_0x8f1d45(0x21d)][_0x8f1d45(0x200)]);let _0x544676=![];_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x23f)]&&(_0x544676=!![],process[_0x8f1d45(0x21d)][_0x8f1d45(0x248)]=_0x532fec[_0x8f1d45(0x1dd)]['accessibility']);_0x532fec[_0x8f1d45(0x1dd)]['accessibilityOptions']&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x8f1d45(0x263)](_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x1f4)]));const _0x578064=_0x49575b[_0x8f1d45(0x1d7)](),_0x1c86e5=await _0x1a34b5[_0x8f1d45(0x23a)](getUserPlaywrightConfig,_0x29391e,_0x49575b);if(helper['isUndefined'](_0x1c86e5)){_0x1a34b5[_0x8f1d45(0x238)](spawnOriginalProcess,_0x578064);return;}const _0x1ffbc7={..._0x1c86e5[_0x8f1d45(0x1dd)]},_0x23561b=_0x1ffbc7,_0x4676a0=_0x1c86e5[_0x8f1d45(0x1d2)]?path['dirname'](_0x1c86e5[_0x8f1d45(0x1d2)]):process['cwd']();process['env'][_0x8f1d45(0x26a)]=_0x4676a0;if(!_0x1a34b5[_0x8f1d45(0x23a)](setGlobalSetup,_0x23561b,_0x4676a0)){_0x1a34b5[_0x8f1d45(0x238)](spawnOriginalProcess,_0x578064);return;}const _0x1c4bfc=await SessionHandler[_0x8f1d45(0x255)](_0x532fec['config'],{'frameworkName':FRAMEWORKS[_0x8f1d45(0x224)],'frameworkVersion':_0x1a34b5[_0x8f1d45(0x238)](getFrameworkVersion,FRAMEWORKS[_0x8f1d45(0x224)])});if(_0x4fa248){const _0x5e4cc2=_0x1a34b5['oKALJ'][_0x8f1d45(0x20b)]('|');let _0x158498=0x0;while(!![]){switch(_0x5e4cc2[_0x158498++]){case'0':_0x1a34b5[_0x8f1d45(0x1cc)](handleO11yRerun,_0x49575b);continue;case'1':_0x1a34b5[_0x8f1d45(0x221)](addReporter,_0x23561b);continue;case'2':await _0x1a34b5['rXxfI'](launchO11ySession,_0x1c4bfc);continue;case'3':_0x1a34b5[_0x8f1d45(0x23a)](initO11yCrashReporter,_0x23561b,_0x532fec[_0x8f1d45(0x1dd)]);continue;case'4':logger[_0x8f1d45(0x1d9)](_0x1a34b5[_0x8f1d45(0x1e6)]);continue;}break;}}let _0x5a9743=_0x1a34b5[_0x8f1d45(0x1d3)](process[_0x8f1d45(0x21d)][_0x8f1d45(0x248)],_0x1a34b5[_0x8f1d45(0x234)]);_0x5a9743=_0x5a9743||_0x1a34b5['NacrD'](checkAccessibilityPlatformConfig,_0x532fec[_0x8f1d45(0x1dd)]),process[_0x8f1d45(0x21d)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5a9743;if(_0x5a9743){const [_0x5d95d4,_0x327300]=await _0x1a34b5[_0x8f1d45(0x24a)](createAccessibilityTestRun,_0x532fec['config'],_0x1a34b5[_0x8f1d45(0x1cd)]);logger[_0x8f1d45(0x1fa)](_0x8f1d45(0x1d6)+_0x327300),process[_0x8f1d45(0x21d)]['BS_A11Y_JWT']=_0x5d95d4,process[_0x8f1d45(0x21d)]['BS_A11Y_TEST_RUN_ID']=_0x327300,_0x1a34b5['WDaHE'](setAccessibilityCapabilities,_0x532fec[_0x8f1d45(0x1dd)]);}(helper['isUndefined'](_0x532fec['config']['platforms'])||_0x1a34b5['tmdxk'](_0x532fec['config']['platforms'][_0x8f1d45(0x264)],0x0))&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_AUTOMATION']=![]);const _0x3cf8ee=path[_0x8f1d45(0x1fc)](_0x1c86e5['path']?path[_0x8f1d45(0x257)](_0x1c86e5[_0x8f1d45(0x1d2)]):process[_0x8f1d45(0x229)](),_0x1a34b5[_0x8f1d45(0x25f)]);fs['writeFileSync'](_0x3cf8ee,helper[_0x8f1d45(0x275)](_0x532fec[_0x8f1d45(0x1dd)])),process['env'][_0x8f1d45(0x231)]=_0x3cf8ee,helper[_0x8f1d45(0x216)]();if(helper[_0x8f1d45(0x1f0)](process[_0x8f1d45(0x21d)]['BROWSERSTACK_AUTOMATION'])){let _0x5d4ed8=[];try{const _0x183849=helper[_0x8f1d45(0x225)][_0x8f1d45(0x278)](null,_0x1a34b5[_0x8f1d45(0x27c)](getProjectUtilsPath)),_0x4a26d9={};_0x4a26d9['respectGitIgnore']=!![],_0x4a26d9[_0x8f1d45(0x1c3)]='',_0x4a26d9[_0x8f1d45(0x1c0)]='',_0x4a26d9[_0x8f1d45(0x1d8)]='';const _0x2d3130={};_0x2d3130['respectGitIgnore']=!![];const _0x559ba8={};_0x559ba8['project']=_0x4a26d9,_0x559ba8[_0x8f1d45(0x1f2)]=_0x2d3130;let _0x6aabbc=_0x559ba8;_0x23561b[_0x1a34b5[_0x8f1d45(0x1ef)]]&&(_0x6aabbc[_0x8f1d45(0x23c)][_0x1a34b5[_0x8f1d45(0x1ef)]]=_0x23561b[_0x1a34b5[_0x8f1d45(0x1ef)]]),_0x23561b[_0x1a34b5[_0x8f1d45(0x201)]]&&(_0x6aabbc[_0x8f1d45(0x23c)][_0x1a34b5[_0x8f1d45(0x201)]]=_0x23561b[_0x1a34b5[_0x8f1d45(0x201)]]),_0x23561b[_0x1a34b5['RMAHY']]&&(_0x6aabbc[_0x8f1d45(0x23c)][_0x1a34b5[_0x8f1d45(0x20c)]]=_0x23561b[_0x1a34b5['RMAHY']]),_0x6aabbc=Object['assign'](_0x6aabbc,_0x6aabbc[_0x8f1d45(0x23c)]),_0x5d4ed8=await _0x183849[_0x8f1d45(0x24b)](_0x6aabbc);}catch(_0x374ede){logger['debug'](_0x1a34b5[_0x8f1d45(0x1c7)](_0x1a34b5[_0x8f1d45(0x1c9)],_0x1a34b5[_0x8f1d45(0x1cc)](format,_0x374ede)));}}let _0x388445='';_0x1a34b5[_0x8f1d45(0x1fd)](helper[_0x8f1d45(0x26c)](),constants['PACKAGE_TYPE']['MODULE'])?_0x388445=_0x1a34b5[_0x8f1d45(0x21c)]:_0x388445=_0x1a34b5[_0x8f1d45(0x1e7)];const _0x58103a=path[_0x8f1d45(0x1fc)](_0x1c86e5[_0x8f1d45(0x1d2)]?path[_0x8f1d45(0x257)](_0x1c86e5[_0x8f1d45(0x1d2)]):process[_0x8f1d45(0x229)](),_0x388445);let _0x1a00ed=_0x1c86e5[_0x8f1d45(0x1d2)]?_0x1c86e5['path']:'';_0x1a00ed=_0x1a34b5[_0x8f1d45(0x261)](_0x1a00ed[_0x8f1d45(0x264)],0x0)?path[_0x8f1d45(0x23d)](_0x1a00ed):'',process[_0x8f1d45(0x21d)][_0x8f1d45(0x1b4)]=_0x1a00ed;let _0x485982=_0x8f1d45(0x1c1);const _0x37051d=helper[_0x8f1d45(0x228)](_0x532fec[_0x8f1d45(0x1dd)]);_0x37051d&&(_0x485982=_0x1a34b5[_0x8f1d45(0x245)](_0x8f1d45(0x1f1)+_0x37051d+_0x8f1d45(0x25a),_0x485982));helper[_0x8f1d45(0x1d1)]({},_0x49575b),fs[_0x8f1d45(0x1c6)](_0x58103a,_0x485982),helper['markSDKSetupComplete']();const _0x27334c=_0x1a34b5[_0x8f1d45(0x1e8)](spawn,_0x1a34b5[_0x8f1d45(0x244)],[_0x1a34b5[_0x8f1d45(0x22f)],_0x1a34b5[_0x8f1d45(0x1d4)],_0x1a34b5[_0x8f1d45(0x1b1)],_0x58103a,..._0x49575b[_0x8f1d45(0x279)](0x2)],{'shell':_0x1a34b5['UDfuU'](process[_0x8f1d45(0x260)],_0x1a34b5[_0x8f1d45(0x242)]),'stdio':_0x1a34b5[_0x8f1d45(0x218)],'cwd':process['cwd'](),'env':Object['assign']({},process[_0x8f1d45(0x21d)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x8f1d45(0x22c)](_0x29391e),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x1e3)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x532fec['config'][_0x8f1d45(0x1e3)][_0x8f1d45(0x20f)],'BROWSERSTACK_LOG_LEVEL':_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x22d)]})}),_0x4270b8=()=>{const _0x253715=_0x8f1d45;try{const _0x3f7499=path['join'](helper[_0x253715(0x270)](),_0x1a34b5[_0x253715(0x211)],_0x1a34b5[_0x253715(0x1cb)]);if(fs[_0x253715(0x215)](_0x3f7499)){let _0x316de1=fs[_0x253715(0x222)](_0x3f7499);_0x316de1=JSON[_0x253715(0x203)](_0x316de1),_0x532fec[_0x253715(0x213)]=_0x316de1,fs[_0x253715(0x1fe)](_0x3f7499);}}catch(_0x2f1168){logger[_0x253715(0x1fa)](_0x1a34b5[_0x253715(0x1c7)](_0x1a34b5[_0x253715(0x1f6)],_0x2f1168));}};_0x27334c['on'](_0x1a34b5[_0x8f1d45(0x24e)],async _0x36c54f=>{const _0x345d7d=_0x8f1d45;try{const _0x15bbb4=_0x1a34b5[_0x345d7d(0x1c2)][_0x345d7d(0x20b)]('|');let _0x28d68e=0x0;while(!![]){switch(_0x15bbb4[_0x28d68e++]){case'0':_0x1a34b5[_0x345d7d(0x27c)](_0x4270b8);continue;case'1':logger[_0x345d7d(0x1d9)]('Deleting\x20'+_0x58103a);continue;case'2':logger[_0x345d7d(0x1fa)](_0x345d7d(0x276)+_0x3cf8ee);continue;case'3':fs['unlinkSync'](_0x58103a);continue;case'4':logger[_0x345d7d(0x1fa)](_0x345d7d(0x240)+_0x36c54f);continue;case'5':process['exitCode']=_0x36c54f;continue;case'6':await helper[_0x345d7d(0x239)](_0x532fec);continue;case'7':fs[_0x345d7d(0x1fe)](_0x3cf8ee);continue;case'8':await _0x1a34b5['oXFEN'](stopAccessibilityTestRun,_0x532fec[_0x345d7d(0x1dd)]);continue;}break;}}catch(_0xe089fd){logger[_0x345d7d(0x1fa)](_0x1a34b5[_0x345d7d(0x1c7)](_0x1a34b5[_0x345d7d(0x21f)],_0xe089fd));}});}module[a33_0x5a8e48(0x1c8)]=run;
2
+ 'use strict';const a33_0x3e1458=a33_0x28b5;(function(_0x1baf6d,_0x196685){const _0x33a1d5=a33_0x28b5,_0x36b64f=_0x1baf6d();while(!![]){try{const _0x45be2a=parseInt(_0x33a1d5(0xcc))/0x1+-parseInt(_0x33a1d5(0x10b))/0x2+parseInt(_0x33a1d5(0x98))/0x3*(parseInt(_0x33a1d5(0x13c))/0x4)+-parseInt(_0x33a1d5(0xa6))/0x5+-parseInt(_0x33a1d5(0xa9))/0x6+parseInt(_0x33a1d5(0x135))/0x7*(-parseInt(_0x33a1d5(0x112))/0x8)+parseInt(_0x33a1d5(0x9f))/0x9;if(_0x45be2a===_0x196685)break;else _0x36b64f['push'](_0x36b64f['shift']());}catch(_0x5bff47){_0x36b64f['push'](_0x36b64f['shift']());}}}(a33_0x3c6f,0x9ab9d));const fs=require('fs'),path=require(a33_0x3e1458(0x81)),os=require('os'),{spawn}=require('child_process'),{format}=require('util'),logger=require(a33_0x3e1458(0x93))[a33_0x3e1458(0xd5)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x3e1458(0xd8)),constants=require(a33_0x3e1458(0x90)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x3e1458(0x116)),{CrashReporter,o11yErrorHandler}=require(a33_0x3e1458(0xbc)),{getFrameworkVersion}=require(a33_0x3e1458(0xfe)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x3e1458(0xcd)),{setAccessibilityCapabilities}=require(a33_0x3e1458(0x104)),SessionHandler=require('../../helpers/test-observability/sessionHandler');async function requireOrImportDefaultObject(_0x44850b){const _0x33210e=a33_0x3e1458,_0x2fd92e={'uLzfm':function(_0x5da151){return _0x5da151();},'uKuKx':function(_0x49571e,_0x4af742){return _0x49571e(_0x4af742);},'ZAyNG':function(_0x489f08,_0x2f52cd){return _0x489f08===_0x2f52cd;},'ptwXu':_0x33210e(0xec),'hmNcp':function(_0x197949,_0x13c18c){return _0x197949 in _0x13c18c;},'ZkNuR':_0x33210e(0x13b)},{requireOrImport:_0x5f1f6d}=helper['requirePWModule'][_0x33210e(0xf3)](null,_0x2fd92e[_0x33210e(0xcb)](getTransformPath));let _0x5625e4=await _0x2fd92e[_0x33210e(0x82)](_0x5f1f6d,_0x44850b);return _0x5625e4&&_0x2fd92e[_0x33210e(0x11f)](typeof _0x5625e4,_0x2fd92e[_0x33210e(0x12b)])&&_0x2fd92e[_0x33210e(0xd4)](_0x2fd92e[_0x33210e(0x97)],_0x5625e4)&&(_0x5625e4=_0x5625e4[_0x2fd92e[_0x33210e(0x97)]]),_0x5625e4;}function a33_0x28b5(_0x3483fb,_0x51db07){const _0x3c6f93=a33_0x3c6f();return a33_0x28b5=function(_0x28b524,_0x4d1a6b){_0x28b524=_0x28b524-0x7e;let _0x45867b=_0x3c6f93[_0x28b524];return _0x45867b;},a33_0x28b5(_0x3483fb,_0x51db07);}function a33_0x3c6f(){const _0x2945d0=['gyCzY','TvSrH','bTwEL','2282970UjdpYN','resolvedConfigFile','writeFileSync','BS_A11Y_JWT','qHIuh','Getting\x20your\x20playwright\x20config\x20from\x20','gAKqX','8PmKlrF','tRIuf','pqJiN','rZddE','./reporter/pwUtils','trim','lJMWA','FLJSd','XOcrs','cliConfig','tLwHC','debug','AIQJk','ZAyNG','UfiSF','kdWtf','launch','lMbvx','requirePWModule','assign','kfpss','GarWc','has','error','cRpxX','ptwXu','--config','resolve','HEPvs','bJtdC','playwright','OtbRu','initialize','testIgnore','playwright-browserstack-sdk.config.js','490105iaMiEN','PLAYWRIGHT','testObservability','split','YYlTU','join','default','5140svTaVF','cwd','DzLep','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','xswRq','getPackageType','BROWSERSTACK_RERUN_TESTS','accessibilityOptions','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','skipSessionName','reporter','BROWSERSTACK_AUTOMATION','path','uKuKx','includes','BROWSERSTACK_RERUN','asyMb','true','XLIOh','USER_CONFIG_DETAILS_PATH','test','rXdCH','NYfmd','platforms','lUOIV','markSDKSetupComplete','PrBiN','../utils/constants','BS_A11Y_TEST_RUN_ID','homedir','../../helpers/logger','VcvxH','logLevel','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','ZkNuR','321vdRCyx','mLzwg','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','XFJxy','close','existsSync','errorMessage','29202984wgnRwP','quEbA','length','platform','testContextOptions','BROWSERSTACK_TEST_OBSERVABILITY','info','4566865SXbEIj','4|0|2|3|1','xQtbo','4512978ZPMfhg','--disable-browserstack-automation','clearTempPWConfig','npx','testDir','testMatch','_internal','config','filterBrowserstackConfig','exitCode','UjsyN','get','collectFilesForProject','string','GWwms','OIUvL','XowkW','unlinkSync','QortW','../../helpers/test-observability/error-handler','Deleting\x20','FKGrI','respectGitIgnore','BrowserStack\x20config\x20file\x20not\x20found.','Error\x20in\x20deleting\x20playwright\x20results','QQETt','pw_result.json','./reporter/reporter.js','rYnoK','--disable-test-observability','EMzYG','stringify','lMgwd','isUndefined','uLzfm','128522scFdnA','../../helpers/accessibility-automation/helper','uyZSt','serializeToYamlString','MODULE','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','parse','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','hmNcp','winstonLogger','BROWSERSTACK_SETUP_CONFIG_PATH','project','../../helpers/helper','BmuLy','qVCnw','getConfigPath','accessibility','finalExecution','mBLUi','slice','hSEub','xYNIR','CpBGe','zLWqW','dirname','ROfvK','--config=','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','--grep','SkAPj','playwright-browserstack-sdk.config.cjs','RqYDh','object','@playwright/test','env','mtrty','hGobY','Ityji','globalSetup','apply','BROWSERSTACK_PW_CONFIG_DIR','veSYi','Error\x20in\x20getting\x20funnel\x20data\x20results','exports','push','spPVf','findIndex','isTrue','0|4|6|7|3|5|8|1|2','null','../../helpers/test-observability/utils','WgDbW','PzPSk','win32','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','filter','./accessibility-helper','startsWith','Uyfvr','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20'];a33_0x3c6f=function(){return _0x2945d0;};return a33_0x3c6f();}const getUserPlaywrightConfig=async(_0xdd9f13,_0x44f645)=>{const _0x10483e=a33_0x3e1458,_0x1160b0={'quEbA':function(_0x35ba01){return _0x35ba01();},'UjsyN':function(_0x4ddfcb,_0x465d3b){return _0x4ddfcb(_0x465d3b);},'gAKqX':function(_0x154969,_0x5a0cfd){return _0x154969(_0x5a0cfd);},'DzLep':_0x10483e(0x10c),'XFJxy':function(_0x5478ff,_0x209cf8){return _0x5478ff(_0x209cf8);},'QIlBe':_0x10483e(0xd1),'zUfUV':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','pqJiN':_0x10483e(0xe6)},_0xc8ec2=!helper['isUndefined'](_0xdd9f13['config']),_0xfa1585=_0xc8ec2?path['resolve'](process[_0x10483e(0x13d)](),_0xdd9f13['config']):process['cwd'](),{resolveConfigFile:_0x567220,resolveConfigLocation:_0x447ac4}=helper['requirePWModule'][_0x10483e(0xf3)](null,_0x1160b0[_0x10483e(0xa0)](getConfigLoaderPath)),_0x27e749=_0x567220?_0x1160b0[_0x10483e(0xb3)](_0x567220,_0xfa1585):helper['nestedKeyValue'](_0x1160b0[_0x10483e(0x111)](_0x447ac4,_0xfa1585),[_0x1160b0[_0x10483e(0x13e)]]);let _0x67e939={};if(_0x27e749){logger[_0x10483e(0xa5)](_0x10483e(0x110)+_0x27e749);try{_0x67e939=await _0x1160b0[_0x10483e(0x9b)](requireOrImportDefaultObject,_0x27e749);}catch(_0x21cb0a){return logger['error'](_0x1160b0['QIlBe'],_0x1160b0['UjsyN'](format,_0x21cb0a)),null;}}else logger[_0x10483e(0xa5)](_0x1160b0['zUfUV']);if(_0xc8ec2){const _0x34f3e4=_0x44f645[_0x10483e(0xfa)](_0x1678c9=>_0x1678c9===_0x10483e(0x12c)||_0x1678c9==='-c'||_0x1678c9[_0x10483e(0x105)](_0x10483e(0xe6)));_0x44f645['splice'](_0x34f3e4,_0x44f645[_0x34f3e4][_0x10483e(0x105)](_0x1160b0[_0x10483e(0x114)])?0x1:0x2);}const _0x476973={};return _0x476973[_0x10483e(0x81)]=_0x27e749,_0x476973[_0x10483e(0xb0)]=_0x67e939,_0x476973;},setGlobalSetup=(_0x4854e8,_0x1489b5)=>{const _0x100a6b=a33_0x3e1458,_0x4b69f2={'YYlTU':_0x100a6b(0xf2),'AIQJk':_0x100a6b(0x9a),'UfiSF':function(_0x34edc9,_0x1765ee){return _0x34edc9+_0x1765ee;},'hckJw':_0x100a6b(0x96),'WgDbW':function(_0x44f7b,_0x389db3){return _0x44f7b(_0x389db3);},'bQJXk':'./globalSetup.js'};if(!_0x4854e8)return![];try{if(_0x4854e8['globalSetup']){let _0x41100d;const _0x12ed92=path[_0x100a6b(0x12d)](_0x1489b5,_0x4854e8[_0x4b69f2[_0x100a6b(0x139)]]);if(fs[_0x100a6b(0x9d)](_0x12ed92))_0x41100d=_0x12ed92;else{const _0x369e48={};_0x369e48['paths']=[_0x1489b5],_0x41100d=require['resolve'](_0x4854e8[_0x4b69f2['YYlTU']],_0x369e48);}if(!_0x41100d)throw new Error(_0x4b69f2[_0x100a6b(0x11e)]);process[_0x100a6b(0xee)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']=_0x41100d;}}catch(_0x118f80){logger[_0x100a6b(0x129)](_0x4b69f2[_0x100a6b(0x120)](_0x4b69f2['hckJw'],_0x4b69f2[_0x100a6b(0xff)](format,_0x118f80)));}return _0x4854e8[_0x100a6b(0xf2)]=require[_0x100a6b(0x12d)](_0x4b69f2['bQJXk']),!![];},addReporter=_0x36cdeb=>{const _0x271791=a33_0x3e1458,_0x6cd764={};_0x6cd764['TvSrH']=_0x271791(0xc4),_0x6cd764[_0x271791(0x12e)]=_0x271791(0x7f),_0x6cd764[_0x271791(0x123)]=function(_0x1b1bac,_0xf8aecf){return _0x1b1bac===_0xf8aecf;},_0x6cd764['GarWc']=_0x271791(0xb6),_0x6cd764['kfpss']=function(_0x244af6,_0x26faa0){return _0x244af6===_0x26faa0;},_0x6cd764[_0x271791(0x8d)]=_0x271791(0xec);const _0xdbf1c8=_0x6cd764,_0x5239c7=path['join'](__dirname,_0xdbf1c8[_0x271791(0x109)]),_0x5e654a=[_0x5239c7];if(helper[_0x271791(0xca)](_0x36cdeb[_0xdbf1c8[_0x271791(0x12e)]]))_0x36cdeb[_0xdbf1c8[_0x271791(0x12e)]]=[_0x5e654a];else{if(_0xdbf1c8['lMbvx'](typeof _0x36cdeb[_0xdbf1c8[_0x271791(0x12e)]],_0xdbf1c8[_0x271791(0x127)]))_0x36cdeb[_0xdbf1c8['HEPvs']]=[[_0x36cdeb[_0xdbf1c8[_0x271791(0x12e)]]],_0x5e654a];else _0xdbf1c8[_0x271791(0x126)](typeof _0x36cdeb[_0xdbf1c8[_0x271791(0x12e)]],_0xdbf1c8['lUOIV'])&&_0x36cdeb[_0xdbf1c8[_0x271791(0x12e)]][_0x271791(0xf8)](_0x5e654a);}},handleO11yRerun=_0x133e8f=>{const _0x100777=a33_0x3e1458,_0x64e3ad={};_0x64e3ad[_0x100777(0xc2)]=function(_0x431d9f,_0x462630){return _0x431d9f!==_0x462630;},_0x64e3ad[_0x100777(0x118)]=_0x100777(0xfd),_0x64e3ad[_0x100777(0xe0)]=_0x100777(0xe8);const _0x13028c=_0x64e3ad,_0x5cb8ff=helper['isTrue'](process['env'][_0x100777(0x84)]);if(_0x5cb8ff){const _0x577c8b=process[_0x100777(0xee)][_0x100777(0x142)],_0x190ff6=[];if(_0x13028c[_0x100777(0xc2)](_0x577c8b,_0x13028c[_0x100777(0x118)])&&!helper[_0x100777(0xca)](_0x577c8b)){_0x577c8b[_0x100777(0x138)](',')['map'](_0x2ca587=>{const _0xf490e9=_0x100777;_0x190ff6[_0xf490e9(0xf8)]('('+_0x2ca587[_0xf490e9(0x117)]()+')');});const _0x111b32='^'+_0x190ff6[_0x100777(0x13a)]('|')+'$';_0x133e8f['push'](_0x13028c[_0x100777(0xe0)],_0x111b32);}}},spawnOriginalProcess=_0x78aeb5=>{const _0x589b6d=a33_0x3e1458,_0x44a3a9={'GWwms':function(_0x5cea04,_0x351d69,_0x1e4e5b,_0x3b8ba9){return _0x5cea04(_0x351d69,_0x1e4e5b,_0x3b8ba9);},'eWrAj':_0x589b6d(0xac),'NYfmd':'playwright','kdWtf':function(_0x3d401d,_0x27a0a5){return _0x3d401d===_0x27a0a5;},'XLIOh':'win32','qVCnw':'inherit'};_0x44a3a9[_0x589b6d(0xb7)](spawn,_0x44a3a9['eWrAj'],[_0x44a3a9[_0x589b6d(0x8b)],..._0x78aeb5[_0x589b6d(0xdf)](0x1)],{'shell':_0x44a3a9[_0x589b6d(0x121)](process[_0x589b6d(0xa2)],_0x44a3a9[_0x589b6d(0x87)]),'stdio':_0x44a3a9[_0x589b6d(0xda)],'cwd':process[_0x589b6d(0x13d)]()});},isTestCommand=(_0x2cd5a7,_0x3dfdd3)=>{const _0x524f05=a33_0x3e1458,_0x1769e3={};_0x1769e3[_0x524f05(0x12a)]=function(_0x49822f,_0x284ef7){return _0x49822f>_0x284ef7;},_0x1769e3['PzPSk']=function(_0x155eb5,_0x3bfbaf){return _0x155eb5===_0x3bfbaf;},_0x1769e3['oyUot']=_0x524f05(0x89);const _0x1bad22=_0x1769e3;if(_0x1bad22[_0x524f05(0x12a)](_0x3dfdd3[_0x524f05(0xa1)],0x1)&&_0x1bad22[_0x524f05(0x100)](_0x3dfdd3[0x1],_0x1bad22['oyUot']))return!![];return![];},initO11yCrashReporter=(_0xb41ef2,_0x2300b0)=>{const _0x483da3=a33_0x3e1458,_0x3070cf={'VcvxH':function(_0x5b2115,_0x570531){return _0x5b2115(_0x570531);}},_0x9e6055={'frameworkName':FRAMEWORKS['PLAYWRIGHT'],'frameworkVersion':_0x3070cf[_0x483da3(0x94)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT'])};CrashReporter[_0x483da3(0x132)](_0x9e6055,_0xb41ef2,_0x2300b0);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x5e3ea5){const _0x1720f0=a33_0x3e1458,_0x5212d7={};_0x5212d7[_0x1720f0(0xc9)]=function(_0x10551b,_0x457486){return _0x10551b>_0x457486;},_0x5212d7[_0x1720f0(0x12f)]=function(_0x2638e7,_0x51ac2a){return _0x2638e7===_0x51ac2a;};const _0x59c91b=_0x5212d7;if(!_0x5e3ea5||_0x59c91b[_0x1720f0(0xc9)](_0x5e3ea5['length'],0x1)&&_0x59c91b[_0x1720f0(0x12f)](_0x5e3ea5[0x0],null))return process['env'][_0x1720f0(0xa4)]=![],![];return!![];});async function run(_0x243f56,_0x4c98f7){const _0x34fbd1=a33_0x3e1458,_0x2dd025={'mLzwg':'.browserstack','tLwHC':_0x34fbd1(0xc3),'xQtbo':function(_0x4d108f,_0x3e5a27){return _0x4d108f+_0x3e5a27;},'rZddE':_0x34fbd1(0xf6),'XOcrs':_0x34fbd1(0xfc),'mBLUi':function(_0x83d1a2){return _0x83d1a2();},'ROfvK':function(_0x12a806,_0x57e356){return _0x12a806(_0x57e356);},'wnsWE':'Error\x20in\x20closing\x20playwright','cvxAn':_0x34fbd1(0xaa),'uyZSt':'false','ShILL':_0x34fbd1(0xc6),'FLJSd':function(_0x27d92c,_0x4be863){return _0x27d92c>=_0x4be863;},'njyKL':_0x34fbd1(0xc1),'Zusvl':function(_0x32fb0f,_0x4d74c4,_0x5cb0fb){return _0x32fb0f(_0x4d74c4,_0x5cb0fb);},'OIUvL':_0x34fbd1(0xc0),'veSYi':'automation','xYNIR':function(_0x499a3d,_0x54f25d){return _0x499a3d!=_0x54f25d;},'OtbRu':function(_0x5d403c,_0x45c888,_0x23b62f){return _0x5d403c(_0x45c888,_0x23b62f);},'PrBiN':function(_0x1cfd25,_0x5056aa,_0x2e96b7){return _0x1cfd25(_0x5056aa,_0x2e96b7);},'zLWqW':function(_0x26e4f4,_0x75bb83){return _0x26e4f4(_0x75bb83);},'qHIuh':function(_0x407fa6,_0x2f1c15){return _0x407fa6(_0x2f1c15);},'FKGrI':_0x34fbd1(0xa7),'vpdov':_0x34fbd1(0x13f),'bTwEL':function(_0x385751,_0x41aede){return _0x385751===_0x41aede;},'EMzYG':_0x34fbd1(0x86),'BmuLy':function(_0x7f9dc0,_0xa7edce){return _0x7f9dc0(_0xa7edce);},'XowkW':function(_0x1d5ce0,_0x3732eb,_0x45af5f){return _0x1d5ce0(_0x3732eb,_0x45af5f);},'vhgdD':_0x34fbd1(0xed),'CpBGe':'browserstackSetupConfig.json','SgcaX':function(_0x5268e1){return _0x5268e1();},'SkAPj':'testDir','QortW':_0x34fbd1(0xae),'RqYDh':'testIgnore','spPVf':function(_0x54fac1,_0x17e28a){return _0x54fac1+_0x17e28a;},'HXIWu':_0x34fbd1(0x144),'pTYHr':function(_0x3a2dce,_0x273b05){return _0x3a2dce(_0x273b05);},'hGobY':_0x34fbd1(0xea),'JPbgJ':_0x34fbd1(0x134),'gyCzY':function(_0x160708,_0x198ac4){return _0x160708>_0x198ac4;},'xswRq':function(_0x30d1d4,_0x236eef){return _0x30d1d4+_0x236eef;},'Ityji':function(_0x401a50,_0x362064,_0x2bf3b4,_0x24d5c0){return _0x401a50(_0x362064,_0x2bf3b4,_0x24d5c0);},'mtrty':'npx','smJds':_0x34fbd1(0x130),'rXdCH':_0x34fbd1(0x89),'rYnoK':_0x34fbd1(0x12c),'tRIuf':function(_0x4f04e8,_0x567bad){return _0x4f04e8===_0x567bad;},'asyMb':_0x34fbd1(0x101),'mNJEB':'inherit','Uyfvr':_0x34fbd1(0x9c)};!helper['isFalse'](process[_0x34fbd1(0xee)][_0x34fbd1(0x80)])&&(process[_0x34fbd1(0xee)]['BROWSERSTACK_AUTOMATION']=!![]);process['argv'][_0x34fbd1(0x83)](_0x2dd025['cvxAn'])&&(process[_0x34fbd1(0xee)][_0x34fbd1(0x80)]=_0x2dd025[_0x34fbd1(0xce)],_0x4c98f7=_0x4c98f7['filter'](_0x296016=>_0x296016!==_0x34fbd1(0xaa)));const _0x5ad0bf=_0x4c98f7['indexOf'](_0x2dd025['ShILL']);_0x2dd025[_0x34fbd1(0x119)](_0x5ad0bf,0x0)&&(process[_0x34fbd1(0xee)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x2dd025[_0x34fbd1(0xce)],_0x4c98f7=_0x4c98f7[_0x34fbd1(0x103)](_0x5068fe=>_0x5068fe!==_0x34fbd1(0xc6)));try{const _0x5c5610=path[_0x34fbd1(0x13a)](helper['homedir'](),_0x2dd025[_0x34fbd1(0x99)],_0x2dd025[_0x34fbd1(0x11c)]);fs['existsSync'](_0x5c5610)&&fs[_0x34fbd1(0xba)](_0x5c5610);}catch(_0x27b380){logger[_0x34fbd1(0x11d)](_0x2dd025[_0x34fbd1(0xa8)](_0x2dd025['njyKL'],_0x27b380));}if(!_0x2dd025['Zusvl'](isTestCommand,_0x243f56,_0x4c98f7)){_0x2dd025[_0x34fbd1(0xe5)](spawnOriginalProcess,_0x4c98f7);return;}const _0x314186=new BrowserStackSetup(_0x243f56,FRAMEWORKS['PLAYWRIGHT']);if(!_0x314186[_0x34fbd1(0xb0)]){logger[_0x34fbd1(0x129)](_0x2dd025[_0x34fbd1(0xb8)]);return;}await _0x314186[_0x34fbd1(0x132)]();!helper[_0x34fbd1(0xca)](_0x314186[_0x34fbd1(0x11b)])&&_0x314186[_0x34fbd1(0x11b)][_0x34fbd1(0x128)](_0x2dd025[_0x34fbd1(0xf5)])&&(process[_0x34fbd1(0xee)][_0x34fbd1(0x80)]=_0x314186[_0x34fbd1(0x11b)][_0x34fbd1(0xb4)](_0x2dd025['veSYi'])||!![]);_0x2dd025[_0x34fbd1(0xe1)](_0x314186['config'][_0x34fbd1(0x137)],null)&&!helper[_0x34fbd1(0xfb)](process['env'][_0x34fbd1(0xa4)])&&(process[_0x34fbd1(0xee)][_0x34fbd1(0xa4)]=process[_0x34fbd1(0xee)][_0x34fbd1(0xa4)]||_0x314186[_0x34fbd1(0xb0)][_0x34fbd1(0x137)]);const _0x19ccfc=!helper['isFalse'](process[_0x34fbd1(0xee)][_0x34fbd1(0xa4)]);let _0x113e90=![];_0x314186[_0x34fbd1(0xb0)][_0x34fbd1(0xdc)]&&(_0x113e90=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x314186[_0x34fbd1(0xb0)][_0x34fbd1(0xdc)]);_0x314186[_0x34fbd1(0xb0)][_0x34fbd1(0x143)]&&(process['env'][_0x34fbd1(0xe7)]=JSON[_0x34fbd1(0xc8)](_0x314186['config'][_0x34fbd1(0x143)]));const _0x1f3924=_0x4c98f7['concat'](),_0x17308b=await _0x2dd025[_0x34fbd1(0x131)](getUserPlaywrightConfig,_0x243f56,_0x4c98f7);if(helper[_0x34fbd1(0xca)](_0x17308b)){_0x2dd025['ROfvK'](spawnOriginalProcess,_0x1f3924);return;}const _0x413c7a={..._0x17308b[_0x34fbd1(0xb0)]},_0x28629c=_0x413c7a,_0x8e4b21=_0x17308b[_0x34fbd1(0x81)]?path[_0x34fbd1(0xe4)](_0x17308b[_0x34fbd1(0x81)]):process[_0x34fbd1(0x13d)]();process['env'][_0x34fbd1(0xf4)]=_0x8e4b21;if(!_0x2dd025[_0x34fbd1(0x8f)](setGlobalSetup,_0x28629c,_0x8e4b21)){_0x2dd025[_0x34fbd1(0xe3)](spawnOriginalProcess,_0x1f3924);return;}const _0x3374ab=await SessionHandler[_0x34fbd1(0x122)](_0x314186[_0x34fbd1(0xb0)],{'frameworkName':FRAMEWORKS[_0x34fbd1(0x136)],'frameworkVersion':_0x2dd025[_0x34fbd1(0x10f)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT'])});if(_0x19ccfc){const _0x23f4be=_0x2dd025[_0x34fbd1(0xbe)][_0x34fbd1(0x138)]('|');let _0x1433ad=0x0;while(!![]){switch(_0x23f4be[_0x1433ad++]){case'0':_0x2dd025[_0x34fbd1(0x131)](initO11yCrashReporter,_0x28629c,_0x314186['config']);continue;case'1':await _0x2dd025['ROfvK'](launchO11ySession,_0x3374ab);continue;case'2':_0x2dd025['zLWqW'](addReporter,_0x28629c);continue;case'3':_0x2dd025['ROfvK'](handleO11yRerun,_0x4c98f7);continue;case'4':logger[_0x34fbd1(0xa5)](_0x2dd025['vpdov']);continue;}break;}}let _0x60457d=_0x2dd025['bTwEL'](process[_0x34fbd1(0xee)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x2dd025[_0x34fbd1(0xc7)]);_0x60457d=_0x60457d||_0x2dd025[_0x34fbd1(0xd9)](checkAccessibilityPlatformConfig,_0x314186['config']),process[_0x34fbd1(0xee)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x60457d;if(_0x60457d){const [_0x51a83f,_0x344af9]=await _0x2dd025[_0x34fbd1(0xb9)](createAccessibilityTestRun,_0x314186[_0x34fbd1(0xb0)],_0x2dd025['vhgdD']);logger[_0x34fbd1(0x11d)](_0x34fbd1(0x107)+_0x344af9),process[_0x34fbd1(0xee)][_0x34fbd1(0x10e)]=_0x51a83f,process[_0x34fbd1(0xee)][_0x34fbd1(0x91)]=_0x344af9,_0x2dd025['qHIuh'](setAccessibilityCapabilities,_0x314186[_0x34fbd1(0xb0)]);}(helper[_0x34fbd1(0xca)](_0x314186[_0x34fbd1(0xb0)][_0x34fbd1(0x8c)])||_0x2dd025[_0x34fbd1(0x10a)](_0x314186[_0x34fbd1(0xb0)]['platforms'][_0x34fbd1(0xa1)],0x0))&&(process[_0x34fbd1(0xee)][_0x34fbd1(0x80)]=![]);const _0x5ea9da=path['join'](_0x17308b[_0x34fbd1(0x81)]?path[_0x34fbd1(0xe4)](_0x17308b['path']):process[_0x34fbd1(0x13d)](),_0x2dd025[_0x34fbd1(0xe2)]);fs[_0x34fbd1(0x10d)](_0x5ea9da,helper[_0x34fbd1(0xcf)](_0x314186['config'])),process['env'][_0x34fbd1(0xd6)]=_0x5ea9da,helper[_0x34fbd1(0xab)]();if(helper[_0x34fbd1(0xfb)](process[_0x34fbd1(0xee)][_0x34fbd1(0x80)])){let _0x119e64=[];try{const _0x8de115=helper[_0x34fbd1(0x124)]['apply'](null,_0x2dd025['SgcaX'](getProjectUtilsPath)),_0x467571={};_0x467571[_0x34fbd1(0xbf)]=!![],_0x467571[_0x34fbd1(0xad)]='',_0x467571[_0x34fbd1(0xae)]='',_0x467571[_0x34fbd1(0x133)]='';const _0x5558e7={};_0x5558e7[_0x34fbd1(0xbf)]=!![];const _0x4880d6={};_0x4880d6['project']=_0x467571,_0x4880d6[_0x34fbd1(0xaf)]=_0x5558e7;let _0x301195=_0x4880d6;_0x28629c[_0x2dd025[_0x34fbd1(0xe9)]]&&(_0x301195[_0x34fbd1(0xd7)][_0x2dd025['SkAPj']]=_0x28629c[_0x2dd025[_0x34fbd1(0xe9)]]),_0x28629c[_0x2dd025['QortW']]&&(_0x301195[_0x34fbd1(0xd7)][_0x2dd025[_0x34fbd1(0xbb)]]=_0x28629c[_0x2dd025[_0x34fbd1(0xbb)]]),_0x28629c[_0x2dd025[_0x34fbd1(0xeb)]]&&(_0x301195['project'][_0x2dd025[_0x34fbd1(0xeb)]]=_0x28629c[_0x2dd025[_0x34fbd1(0xeb)]]),_0x301195=Object[_0x34fbd1(0x125)](_0x301195,_0x301195['project']),_0x119e64=await _0x8de115[_0x34fbd1(0xb5)](_0x301195);}catch(_0x84d0e5){logger[_0x34fbd1(0x11d)](_0x2dd025[_0x34fbd1(0xf9)](_0x2dd025['HXIWu'],_0x2dd025['pTYHr'](format,_0x84d0e5)));}}let _0x11e5eb='';_0x2dd025[_0x34fbd1(0x10a)](helper[_0x34fbd1(0x141)](),constants['PACKAGE_TYPE'][_0x34fbd1(0xd0)])?_0x11e5eb=_0x2dd025[_0x34fbd1(0xf0)]:_0x11e5eb=_0x2dd025['JPbgJ'];const _0x4032ac=path[_0x34fbd1(0x13a)](_0x17308b[_0x34fbd1(0x81)]?path[_0x34fbd1(0xe4)](_0x17308b[_0x34fbd1(0x81)]):process['cwd'](),_0x11e5eb);let _0xc3b1=_0x17308b['path']?_0x17308b[_0x34fbd1(0x81)]:'';_0xc3b1=_0x2dd025[_0x34fbd1(0x108)](_0xc3b1[_0x34fbd1(0xa1)],0x0)?path[_0x34fbd1(0x12d)](_0xc3b1):'',process['env'][_0x34fbd1(0x88)]=_0xc3b1;let _0xeb23cb=_0x34fbd1(0xd3);const _0x4a79e5=helper['getProxyUrl'](_0x314186[_0x34fbd1(0xb0)]);_0x4a79e5&&(_0xeb23cb=_0x2dd025[_0x34fbd1(0x140)](_0x34fbd1(0x102)+_0x4a79e5+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0xeb23cb));helper[_0x34fbd1(0xb1)]({},_0x4c98f7),fs[_0x34fbd1(0x10d)](_0x4032ac,_0xeb23cb),helper[_0x34fbd1(0x8e)]();const _0x62d951=_0x2dd025[_0x34fbd1(0xf1)](spawn,_0x2dd025[_0x34fbd1(0xef)],[_0x2dd025['smJds'],_0x2dd025[_0x34fbd1(0x8a)],_0x2dd025[_0x34fbd1(0xc5)],_0x4032ac,..._0x4c98f7[_0x34fbd1(0xdf)](0x2)],{'shell':_0x2dd025[_0x34fbd1(0x113)](process[_0x34fbd1(0xa2)],_0x2dd025[_0x34fbd1(0x85)]),'stdio':_0x2dd025['mNJEB'],'cwd':process[_0x34fbd1(0x13d)](),'env':Object[_0x34fbd1(0x125)]({},process[_0x34fbd1(0xee)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x34fbd1(0xdb)](_0x243f56),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x314186[_0x34fbd1(0xb0)][_0x34fbd1(0xa3)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x314186[_0x34fbd1(0xb0)][_0x34fbd1(0xa3)][_0x34fbd1(0x7e)],'BROWSERSTACK_LOG_LEVEL':_0x314186[_0x34fbd1(0xb0)][_0x34fbd1(0x95)]})}),_0x40f703=()=>{const _0x4f2bfb=_0x34fbd1;try{const _0x139e98=path['join'](helper[_0x4f2bfb(0x92)](),_0x2dd025[_0x4f2bfb(0x99)],_0x2dd025[_0x4f2bfb(0x11c)]);if(fs[_0x4f2bfb(0x9d)](_0x139e98)){let _0x492320=fs['readFileSync'](_0x139e98);_0x492320=JSON[_0x4f2bfb(0xd2)](_0x492320),_0x314186[_0x4f2bfb(0x9e)]=_0x492320,fs[_0x4f2bfb(0xba)](_0x139e98);}}catch(_0x28cfb8){logger[_0x4f2bfb(0x11d)](_0x2dd025[_0x4f2bfb(0xa8)](_0x2dd025[_0x4f2bfb(0x115)],_0x28cfb8));}};_0x62d951['on'](_0x2dd025[_0x34fbd1(0x106)],async _0x314f18=>{const _0x34f31d=_0x34fbd1;try{const _0x54de89=_0x2dd025[_0x34f31d(0x11a)][_0x34f31d(0x138)]('|');let _0x3ab555=0x0;while(!![]){switch(_0x54de89[_0x3ab555++]){case'0':_0x2dd025[_0x34f31d(0xde)](_0x40f703);continue;case'1':logger[_0x34f31d(0x11d)](_0x34f31d(0xbd)+_0x5ea9da);continue;case'2':fs[_0x34f31d(0xba)](_0x5ea9da);continue;case'3':logger[_0x34f31d(0x11d)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x314f18);continue;case'4':await helper[_0x34f31d(0xdd)](_0x314186);continue;case'5':logger['info'](_0x34f31d(0xbd)+_0x4032ac);continue;case'6':await _0x2dd025[_0x34f31d(0xe5)](stopAccessibilityTestRun,_0x314186[_0x34f31d(0xb0)]);continue;case'7':process[_0x34f31d(0xb2)]=_0x314f18;continue;case'8':fs[_0x34f31d(0xba)](_0x4032ac);continue;}break;}}catch(_0x1e9fff){logger[_0x34f31d(0x11d)](_0x2dd025[_0x34f31d(0xa8)](_0x2dd025['wnsWE'],_0x1e9fff));}});}module[a33_0x3e1458(0xf7)]=run;
@@ -1 +1 @@
1
- const a34_0x328eee=a34_0x6289;function a34_0x6289(_0x119f07,_0x8d2651){const _0x1fb729=a34_0x1fb7();return a34_0x6289=function(_0x62896c,_0x3debc0){_0x62896c=_0x62896c-0xff;let _0x541a50=_0x1fb729[_0x62896c];return _0x541a50;},a34_0x6289(_0x119f07,_0x8d2651);}function a34_0x1fb7(){const _0x536bf9=['Running\x20existing\x20global\x20setup','218893MCxEtI','oLsxJ','7739251LcwJjt','nxIjL','Not\x20able\x20to\x20import\x20globalSetup','10bBwilG','resolve','294rmYfFc','\x20is\x20not\x20found','Call\x20to\x20child\x20fork\x20with\x20args\x20','env','toString','PLAYWRIGHT','88KlffGU','4FWzcIH','pzvgv','Path\x20','../../helpers/test-observability/constants','836232NEswNR','vYWgG','gLwyq','fork','1326978EuXBJr','./reporter/pwUtils','133OlWDsz','error','5GGEjcI','QFEbd','requirePWModule','compareVersions','includes','function','../../helpers/logger','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','child_process','../../helpers/helper','../../helpers/test-observability/utils','QdVgD','eQVAD','1428558XOZEWZ','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','28360lisHvM','./mock-process.js','316712yvWHVb','Oxnnw','apply'];a34_0x1fb7=function(){return _0x536bf9;};return a34_0x1fb7();}(function(_0x1c50a6,_0x13341a){const _0x289dc0=a34_0x6289,_0x5209d7=_0x1c50a6();while(!![]){try{const _0x3ce5c6=parseInt(_0x289dc0(0x117))/0x1*(parseInt(_0x289dc0(0x125))/0x2)+-parseInt(_0x289dc0(0x11e))/0x3*(-parseInt(_0x289dc0(0x111))/0x4)+parseInt(_0x289dc0(0x102))/0x5*(parseInt(_0x289dc0(0x10f))/0x6)+parseInt(_0x289dc0(0x100))/0x7*(-parseInt(_0x289dc0(0x113))/0x8)+-parseInt(_0x289dc0(0x12d))/0x9*(parseInt(_0x289dc0(0x11c))/0xa)+parseInt(_0x289dc0(0x124))/0xb*(parseInt(_0x289dc0(0x129))/0xc)+-parseInt(_0x289dc0(0x119))/0xd;if(_0x3ce5c6===_0x13341a)break;else _0x5209d7['push'](_0x5209d7['shift']());}catch(_0x20ae14){_0x5209d7['push'](_0x5209d7['shift']());}}}(a34_0x1fb7,0x69c4b));const child_process=require(a34_0x328eee(0x10a)),{FRAMEWORKS}=require(a34_0x328eee(0x128)),{getFrameworkVersion,debug}=require(a34_0x328eee(0x10c)),helper=require(a34_0x328eee(0x10b)),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x328eee(0xff)),logger=require(a34_0x328eee(0x108))['winstonLogger'];module['exports']=async function(_0x474843){const _0x2dcd6c=a34_0x328eee,_0x52001b={'gLwyq':function(_0x1e5cd0,_0x46f0ce){return _0x1e5cd0(_0x46f0ce);},'QdVgD':function(_0x574ee9){return _0x574ee9();},'oLsxJ':_0x2dcd6c(0x112),'eWfaR':function(_0x325283,_0x534701){return _0x325283(_0x534701);},'QFEbd':_0x2dcd6c(0x116),'pzvgv':function(_0x47e545){return _0x47e545();},'qLBXd':function(_0x10051b,_0x16acf7){return _0x10051b>=_0x16acf7;},'kKZqu':'1.33.0','Oxnnw':function(_0x4e77d0,_0x59ff25,_0x225aba){return _0x4e77d0(_0x59ff25,_0x225aba);},'eQVAD':function(_0x5ea84e,_0x33545d){return _0x5ea84e!==_0x33545d;},'nxIjL':_0x2dcd6c(0x107),'cqNeY':_0x2dcd6c(0x11b),'vYWgG':function(_0x4a330a,_0x4808a9){return _0x4a330a(_0x4808a9);}},_0x19cbf3=child_process[_0x2dcd6c(0x12c)];child_process['fork']=function(){const _0x20956e=_0x2dcd6c;return _0x52001b[_0x20956e(0x12b)](debug,_0x20956e(0x120)+arguments[0x0]),arguments[0x0][_0x20956e(0x106)](_0x52001b['QdVgD'](getForkProcessPath))?arguments[0x0]=require[_0x20956e(0x11d)](_0x52001b[_0x20956e(0x118)]):logger[_0x20956e(0x101)](_0x20956e(0x127)+_0x52001b[_0x20956e(0x10d)](getForkProcessPath)+_0x20956e(0x11f)),_0x19cbf3[_0x20956e(0x115)](null,arguments);};if(process[_0x2dcd6c(0x121)][_0x2dcd6c(0x110)]){_0x52001b['eWfaR'](debug,_0x52001b[_0x2dcd6c(0x103)]);try{const {loadGlobalHook:_0x176a66}=helper[_0x2dcd6c(0x104)][_0x2dcd6c(0x115)](null,_0x52001b[_0x2dcd6c(0x126)](getLoadUtilsPath)),_0xab6040=_0x52001b['gLwyq'](getFrameworkVersion,FRAMEWORKS[_0x2dcd6c(0x123)]);let _0x5ecfe0=_0x474843;if(_0x52001b['qLBXd'](helper[_0x2dcd6c(0x105)](_0xab6040,_0x52001b['kKZqu']),0x0)){const _0x1b832d={};_0x1b832d['config']=_0x474843,_0x5ecfe0=_0x1b832d;}const _0x15ca84=await _0x52001b[_0x2dcd6c(0x114)](_0x176a66,_0x5ecfe0,process['env'][_0x2dcd6c(0x110)]);if(_0x52001b[_0x2dcd6c(0x10e)](typeof _0x15ca84,_0x52001b[_0x2dcd6c(0x11a)]))throw new Error(_0x52001b['cqNeY']);return _0x15ca84[_0x2dcd6c(0x115)](null,arguments);}catch(_0xd2d6f5){_0x52001b[_0x2dcd6c(0x12a)](debug,_0x2dcd6c(0x109)+_0xd2d6f5[_0x2dcd6c(0x122)]());}}};
1
+ const a34_0x35bbad=a34_0x1b8b;(function(_0x1bc991,_0x374478){const _0x35d2c8=a34_0x1b8b,_0x3a62b1=_0x1bc991();while(!![]){try{const _0x58164d=parseInt(_0x35d2c8(0x7e))/0x1*(parseInt(_0x35d2c8(0x77))/0x2)+parseInt(_0x35d2c8(0x71))/0x3+parseInt(_0x35d2c8(0x87))/0x4*(parseInt(_0x35d2c8(0x90))/0x5)+-parseInt(_0x35d2c8(0x7f))/0x6+parseInt(_0x35d2c8(0x88))/0x7+-parseInt(_0x35d2c8(0x7b))/0x8+-parseInt(_0x35d2c8(0x7d))/0x9;if(_0x58164d===_0x374478)break;else _0x3a62b1['push'](_0x3a62b1['shift']());}catch(_0x658214){_0x3a62b1['push'](_0x3a62b1['shift']());}}}(a34_0x9aa7,0x400e5));const child_process=require(a34_0x35bbad(0x7c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a34_0x35bbad(0x84)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x35bbad(0x73)),logger=require(a34_0x35bbad(0x86))[a34_0x35bbad(0x79)];function a34_0x1b8b(_0x4883d3,_0x2ff7e3){const _0x9aa7c4=a34_0x9aa7();return a34_0x1b8b=function(_0x1b8b04,_0x4051c3){_0x1b8b04=_0x1b8b04-0x6f;let _0x316621=_0x9aa7c4[_0x1b8b04];return _0x316621;},a34_0x1b8b(_0x4883d3,_0x2ff7e3);}module[a34_0x35bbad(0x8d)]=async function(_0x1e3a62){const _0x275ad8=a34_0x35bbad,_0x1f2fb5={'lQzjB':function(_0x5c06bf,_0x188de8){return _0x5c06bf(_0x188de8);},'TTwto':function(_0x2c578a){return _0x2c578a();},'mxhJu':_0x275ad8(0x89),'PskXx':function(_0x182f7a){return _0x182f7a();},'NhYVs':function(_0x174a9b,_0x283d5d){return _0x174a9b(_0x283d5d);},'IYpTJ':'Running\x20existing\x20global\x20setup','PUwPw':function(_0x5a2efe,_0x458b3c){return _0x5a2efe(_0x458b3c);},'yudvx':function(_0x45ca9b,_0x579f13){return _0x45ca9b>=_0x579f13;},'gqcWC':'1.33.0','CuNbI':function(_0x304c35,_0x22586e,_0x325b8d){return _0x304c35(_0x22586e,_0x325b8d);},'OIBLe':function(_0x196734,_0x4d8cd9){return _0x196734!==_0x4d8cd9;},'eyHPc':'function','QXYlj':_0x275ad8(0x8a)},_0x133315=child_process['fork'];child_process[_0x275ad8(0x85)]=function(){const _0x1692aa=_0x275ad8;return _0x1f2fb5['lQzjB'](debug,_0x1692aa(0x8f)+arguments[0x0]),arguments[0x0][_0x1692aa(0x91)](_0x1f2fb5[_0x1692aa(0x92)](getForkProcessPath))?arguments[0x0]=require[_0x1692aa(0x82)](_0x1f2fb5[_0x1692aa(0x70)]):logger['error']('Path\x20'+_0x1f2fb5['PskXx'](getForkProcessPath)+_0x1692aa(0x74)),_0x133315[_0x1692aa(0x7a)](null,arguments);};if(process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x1f2fb5[_0x275ad8(0x6f)](debug,_0x1f2fb5[_0x275ad8(0x80)]);try{const {loadGlobalHook:_0x468f22}=helper[_0x275ad8(0x72)]['apply'](null,_0x1f2fb5['TTwto'](getLoadUtilsPath)),_0x51fb06=_0x1f2fb5[_0x275ad8(0x8c)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0xa45ebf=_0x1e3a62;if(_0x1f2fb5[_0x275ad8(0x81)](helper['compareVersions'](_0x51fb06,_0x1f2fb5['gqcWC']),0x0)){const _0x188c67={};_0x188c67[_0x275ad8(0x8b)]=_0x1e3a62,_0xa45ebf=_0x188c67;}const _0x4c71e4=await _0x1f2fb5['CuNbI'](_0x468f22,_0xa45ebf,process[_0x275ad8(0x76)][_0x275ad8(0x8e)]);if(_0x1f2fb5[_0x275ad8(0x83)](typeof _0x4c71e4,_0x1f2fb5['eyHPc']))throw new Error(_0x1f2fb5[_0x275ad8(0x78)]);return _0x4c71e4[_0x275ad8(0x7a)](null,arguments);}catch(_0x1c4327){_0x1f2fb5[_0x275ad8(0x8c)](debug,_0x275ad8(0x75)+_0x1c4327['toString']());}}};function a34_0x9aa7(){const _0x2e1f16=['yudvx','resolve','OIBLe','../../helpers/test-observability/utils','fork','../../helpers/logger','12EJYKqr','2309398wJEFgc','./mock-process.js','Not\x20able\x20to\x20import\x20globalSetup','config','PUwPw','exports','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Call\x20to\x20child\x20fork\x20with\x20args\x20','278105vWAUul','includes','TTwto','NhYVs','mxhJu','536946smWaeo','requirePWModule','./reporter/pwUtils','\x20is\x20not\x20found','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','env','14Vkrwfl','QXYlj','winstonLogger','apply','3128192LYWWGO','child_process','1626750ElejzG','57191vAoNCp','1451694rzCaId','IYpTJ'];a34_0x9aa7=function(){return _0x2e1f16;};return a34_0x9aa7();}